nuxt-link-checker 3.1.3 → 3.2.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/LICENSE.md +9 -0
- package/README.md +26 -17
- package/dist/client/200.html +90 -85
- package/dist/client/404.html +90 -85
- package/dist/client/_nuxt/{CE0v8NN9.js → 0qbUsQ6_.js} +1 -1
- package/dist/client/_nuxt/2aygx1xg.js +1 -0
- package/dist/client/_nuxt/{DBxrVw_D.js → 5Vw9JATd.js} +1 -1
- package/dist/client/_nuxt/6RUVFG9U.js +1 -0
- package/dist/client/_nuxt/B1Z2YEe0.js +1 -0
- package/dist/client/_nuxt/{OiuHoWY5.js → B1rsb5QC.js} +1 -1
- package/dist/client/_nuxt/B2uSYIFn.js +1 -0
- package/dist/client/_nuxt/BA1ndEPy.js +1 -0
- package/dist/client/_nuxt/BCUAspaU.js +41 -0
- package/dist/client/_nuxt/{p-youoOz.js → BCawSwWi.js} +1 -1
- package/dist/client/_nuxt/{rAPcFIiw.js → BYqZ7etr.js} +1 -1
- package/dist/client/_nuxt/{BjE2mIY4.js → BbalPOsb.js} +1 -1
- package/dist/client/_nuxt/{DwFwdhDE.js → Bcw97oti.js} +1 -1
- package/dist/client/_nuxt/{aPBkmDv4.js → BfjtVDDH.js} +1 -1
- package/dist/client/_nuxt/{CiXlrwC7.js → BhC5s0V7.js} +1 -1
- package/dist/client/_nuxt/{BVLG6Y-w.js → Bmb0A568.js} +1 -1
- package/dist/client/_nuxt/{DpVQgTom.js → BoZcIFWd.js} +1 -1
- package/dist/client/_nuxt/BqtQrzRp.js +1 -0
- package/dist/client/_nuxt/BrbOHqWv.js +1 -0
- package/dist/client/_nuxt/{BWgb8Pxw.js → Bv_sPlCv.js} +1 -1
- package/dist/client/_nuxt/BwpQXVS2.js +1 -0
- package/dist/client/_nuxt/BzaEo2Du.js +1 -0
- package/dist/client/_nuxt/C-_shW-Y.js +1 -0
- package/dist/client/_nuxt/{nkNqggyT.js → CBzZD_Xh.js} +1 -1
- package/dist/client/_nuxt/CD_QflpE.js +1 -0
- package/dist/client/_nuxt/{Bpo8LMpD.js → CI15r38m.js} +1 -1
- package/dist/client/_nuxt/{JbneklYT.js → CK7S-5jS.js} +1 -1
- package/dist/client/_nuxt/{B9hcNGex.js → CKfqYE_r.js} +1 -1
- package/dist/client/_nuxt/CLXkKSjS.js +1 -0
- package/dist/client/_nuxt/CM4fc1WH.js +1 -0
- package/dist/client/_nuxt/CVESyXxo.js +1 -0
- package/dist/client/_nuxt/{vFtNXPBc.js → CWJejSyX.js} +1 -1
- package/dist/client/_nuxt/{Bt50SWsh.js → CY2R9RuK.js} +1 -1
- package/dist/client/_nuxt/{Ckz-YMxz.js → CeZwWGti.js} +1 -1
- package/dist/client/_nuxt/CjDtw9vr.js +1 -0
- package/dist/client/_nuxt/{BhLNiG9c.js → ClV7KpCc.js} +1 -1
- package/dist/client/_nuxt/{D7z58M2W.js → Cm25um3E.js} +1 -1
- package/dist/client/_nuxt/CmCqftbK.js +1 -0
- package/dist/client/_nuxt/Cmhojp3q.js +1 -0
- package/dist/client/_nuxt/{BwojPDJW.js → CnsmiicP.js} +1 -1
- package/dist/client/_nuxt/{DCRAZVCM.js → CodIOJDM.js} +1 -1
- package/dist/client/_nuxt/{0e7srHXh.js → Csvi84BS.js} +1 -1
- package/dist/client/_nuxt/{CHZeBJpW.js → CuIYtGag.js} +1 -1
- package/dist/client/_nuxt/{cVkK16_y.js → Cuk6v7N8.js} +1 -1
- package/dist/client/_nuxt/{I1uqSxRv.js → Cv3cJnDV.js} +1 -1
- package/dist/client/_nuxt/Cv7ZOjGq.js +1 -0
- package/dist/client/_nuxt/{Da_8ueAw.js → CyEc264g.js} +1 -1
- package/dist/client/_nuxt/{3sscvOTR.js → CyIlscnE.js} +1 -1
- package/dist/client/_nuxt/{Bx0W9Nc2.js → D0xWnrgR.js} +1 -1
- package/dist/client/_nuxt/{CRR3mLlZ.js → D2O4HAMr.js} +1 -1
- package/dist/client/_nuxt/{B7-uoU3n.js → D7oLnXFd.js} +1 -1
- package/dist/client/_nuxt/{Bexp5DGn.js → DFQ4Xr-4.js} +1 -1
- package/dist/client/_nuxt/{DLSxEyHP.js → DH5Ifo-i.js} +1 -1
- package/dist/client/_nuxt/DMFdBl0X.js +1 -0
- package/dist/client/_nuxt/DNgb01dh.js +1 -0
- package/dist/client/_nuxt/DRW-0cLl.js +1 -0
- package/dist/client/_nuxt/{Xse1gjxk.js → DRhUEtVu.js} +1 -1
- package/dist/client/_nuxt/{BGdveAQA.js → DUdzsfxe.js} +1 -1
- package/dist/client/_nuxt/{CYyBA3kJ.js → Db-JQHi3.js} +1 -1
- package/dist/client/_nuxt/DepYB8Ml.js +1 -0
- package/dist/client/_nuxt/{ChEme8PX.js → DhG9BCpW.js} +1 -1
- package/dist/client/_nuxt/{BxJadH_W.js → DhqJCFIX.js} +1 -1
- package/dist/client/_nuxt/DqpEK-75.js +1 -0
- package/dist/client/_nuxt/Ds-gbosJ.js +1 -0
- package/dist/client/_nuxt/{D4O64OTH.js → DvA-6Bhw.js} +1 -1
- package/dist/client/_nuxt/{CV1i-Amj.js → E3gJ1_iC.js} +1 -1
- package/dist/client/_nuxt/{B66eQrDP.js → FMvz1E70.js} +1 -1
- package/dist/client/_nuxt/GBQ2dnAY.js +1 -0
- package/dist/client/_nuxt/{CJrM-UL-.js → JJNjxVar.js} +1 -1
- package/dist/client/_nuxt/{D_QQB6Yv.js → KUYRHWK4.js} +1 -1
- package/dist/client/_nuxt/LGGdnPYs.js +1 -0
- package/dist/client/_nuxt/Lp17StYA.js +1 -0
- package/dist/client/_nuxt/RXHOmnpW.js +1 -0
- package/dist/client/_nuxt/{4NJYcRSJ.js → W2lx4xae.js} +1 -1
- package/dist/client/_nuxt/YurBl9Qv.js +1 -0
- package/dist/client/_nuxt/{qPKfeiLE.js → aDoct50J.js} +1 -1
- package/dist/client/_nuxt/builds/latest.json +1 -1
- package/dist/client/_nuxt/builds/meta/2259ca4d-d009-41be-acfd-fea8f1d19525.json +1 -0
- package/dist/client/_nuxt/{D0ybgVpa.js → dwbxrGt_.js} +1 -1
- package/dist/client/_nuxt/{D3CL8VSI.js → eACALr6E.js} +1 -1
- package/dist/client/_nuxt/error-404.fx_5-qn-.css +1 -0
- package/dist/client/_nuxt/error-500.dWWWhQqD.css +1 -0
- package/dist/client/_nuxt/{B8E_5cfo.js → gOa3Yz9U.js} +1 -1
- package/dist/client/_nuxt/{BbzkbZ9e.js → i22b9gbM.js} +1 -1
- package/dist/client/_nuxt/{D4-7YDmO.js → mDBYJdpO.js} +1 -1
- package/dist/client/_nuxt/{g_GSZ1hr.js → u4bm_LMz.js} +1 -1
- package/dist/client/_nuxt/{A13Lx_ye.js → vocl-2a6.js} +1 -1
- package/dist/client/_nuxt/{CN6rGqjK.js → xfgw03QH.js} +1 -1
- package/dist/client/_nuxt/zchoCBdH.js +1 -0
- package/dist/client/index.html +90 -85
- package/dist/module.json +1 -1
- package/dist/module.mjs +13 -12
- package/dist/runtime/{nuxt/plugin → app/plugins}/view/client.js +3 -2
- package/dist/runtime/{nitro → server}/routes/__link-checker__/inspect.js +1 -1
- package/dist/runtime/{pure → shared}/inspect.js +26 -15
- package/dist/runtime/shared/inspections/no-baseless.d.ts +1 -0
- package/dist/runtime/{pure → shared}/inspections/no-baseless.js +3 -2
- package/dist/runtime/shared/inspections/no-double-slashes.d.ts +1 -0
- package/dist/runtime/shared/inspections/no-double-slashes.js +25 -0
- package/dist/runtime/shared/inspections/no-duplicate-query-params.d.ts +1 -0
- package/dist/runtime/shared/inspections/no-duplicate-query-params.js +28 -0
- package/dist/runtime/shared/inspections/no-missing-href.d.ts +1 -0
- package/dist/runtime/shared/inspections/no-missing-href.js +17 -0
- package/dist/runtime/shared/inspections/no-non-ascii-chars.d.ts +1 -0
- package/dist/runtime/shared/inspections/no-non-ascii-chars.js +18 -0
- package/dist/runtime/shared/inspections/no-underscores.d.ts +1 -0
- package/dist/runtime/shared/inspections/no-underscores.js +17 -0
- package/dist/runtime/shared/inspections/no-uppercase-chars.d.ts +1 -0
- package/dist/runtime/shared/inspections/no-uppercase-chars.js +17 -0
- package/dist/runtime/shared/inspections/no-whitespace.d.ts +1 -0
- package/dist/runtime/shared/inspections/no-whitespace.js +25 -0
- package/dist/runtime/types.d.ts +2 -1
- package/package.json +17 -17
- package/dist/client/_nuxt/35JD59R_.js +0 -1
- package/dist/client/_nuxt/9xzcv9xf.js +0 -1
- package/dist/client/_nuxt/B-GI89LT.js +0 -1
- package/dist/client/_nuxt/BStEqDGx.js +0 -1
- package/dist/client/_nuxt/BT8b6B_-.js +0 -1
- package/dist/client/_nuxt/BTo9ix6S.js +0 -1
- package/dist/client/_nuxt/BeSffZBD.js +0 -1
- package/dist/client/_nuxt/Begb3drz.js +0 -1
- package/dist/client/_nuxt/C3t61SNw.js +0 -1
- package/dist/client/_nuxt/C8UtRc_0.js +0 -1
- package/dist/client/_nuxt/COtMjVi7.js +0 -1
- package/dist/client/_nuxt/C_OO3DVV.js +0 -1
- package/dist/client/_nuxt/D5gt1ch3.js +0 -1
- package/dist/client/_nuxt/D6HQHXJE.js +0 -1
- package/dist/client/_nuxt/DIvA8ll9.js +0 -1
- package/dist/client/_nuxt/DQJjjPvk.js +0 -1
- package/dist/client/_nuxt/DWt6wkI-.js +0 -1
- package/dist/client/_nuxt/DanlQboj.js +0 -1
- package/dist/client/_nuxt/DateCQAz.js +0 -1
- package/dist/client/_nuxt/Dt1_zKdO.js +0 -1
- package/dist/client/_nuxt/Jwd9j1ay.js +0 -1
- package/dist/client/_nuxt/NfFGm2lL.js +0 -1
- package/dist/client/_nuxt/S_yhxdK1.js +0 -1
- package/dist/client/_nuxt/builds/meta/a7c8a30a-3ea4-4de2-86d6-222b22c319d7.json +0 -1
- package/dist/client/_nuxt/eCoydtrh.js +0 -1
- package/dist/client/_nuxt/error-404.Duvxb_5r.css +0 -1
- package/dist/client/_nuxt/error-500.Z382q3xB.css +0 -1
- package/dist/client/_nuxt/keK8bHwS.js +0 -1
- package/dist/client/_nuxt/r6G1lJlc.js +0 -40
- package/dist/runtime/pure/inspections/no-baseless.d.ts +0 -1
- /package/dist/client/_nuxt/{entry.BbNPsueF.css → entry.CzbW4W9L.css} +0 -0
- /package/dist/runtime/{nuxt/plugin → app/plugins}/ui.client.d.ts +0 -0
- /package/dist/runtime/{nuxt/plugin → app/plugins}/ui.client.js +0 -0
- /package/dist/runtime/{nuxt/plugin → app/plugins}/view/Main.vue +0 -0
- /package/dist/runtime/{nuxt/plugin → app/plugins}/view/Squiggle.vue +0 -0
- /package/dist/runtime/{nuxt/plugin → app/plugins}/view/client.d.ts +0 -0
- /package/dist/runtime/{nuxt/plugin → app/plugins}/view/state.d.ts +0 -0
- /package/dist/runtime/{nuxt/plugin → app/plugins}/view/state.js +0 -0
- /package/dist/runtime/{nuxt/plugin → app/plugins}/view/utils.d.ts +0 -0
- /package/dist/runtime/{nuxt/plugin → app/plugins}/view/utils.js +0 -0
- /package/dist/runtime/{nitro → server}/composables/content-mock.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/composables/content-mock.js +0 -0
- /package/dist/runtime/{nitro → server}/routes/__link-checker__/debug.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/routes/__link-checker__/debug.js +0 -0
- /package/dist/runtime/{nitro → server}/routes/__link-checker__/inspect.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/routes/__link-checker__/links.d.ts +0 -0
- /package/dist/runtime/{nitro → server}/routes/__link-checker__/links.js +0 -0
- /package/dist/runtime/{nitro → server}/tsconfig.json +0 -0
- /package/dist/runtime/{pure → shared}/crawl.d.ts +0 -0
- /package/dist/runtime/{pure → shared}/crawl.js +0 -0
- /package/dist/runtime/{pure → shared}/diff.d.ts +0 -0
- /package/dist/runtime/{pure → shared}/diff.js +0 -0
- /package/dist/runtime/{pure → shared}/index.d.ts +0 -0
- /package/dist/runtime/{pure → shared}/index.js +0 -0
- /package/dist/runtime/{pure → shared}/inspect.d.ts +0 -0
- /package/dist/runtime/{pure → shared}/inspections/absolute-site-urls.d.ts +0 -0
- /package/dist/runtime/{pure → shared}/inspections/absolute-site-urls.js +0 -0
- /package/dist/runtime/{pure/inspections/descriptive-link-text.d.ts → shared/inspections/link-text.d.ts} +0 -0
- /package/dist/runtime/{pure/inspections/descriptive-link-text.js → shared/inspections/link-text.js} +0 -0
- /package/dist/runtime/{pure → shared}/inspections/missing-hash.d.ts +0 -0
- /package/dist/runtime/{pure → shared}/inspections/missing-hash.js +0 -0
- /package/dist/runtime/{pure/inspections/no-error-response-status.d.ts → shared/inspections/no-error-response.d.ts} +0 -0
- /package/dist/runtime/{pure/inspections/no-error-response-status.js → shared/inspections/no-error-response.js} +0 -0
- /package/dist/runtime/{pure → shared}/inspections/no-javascript.d.ts +0 -0
- /package/dist/runtime/{pure → shared}/inspections/no-javascript.js +0 -0
- /package/dist/runtime/{pure → shared}/inspections/trailing-slash.d.ts +0 -0
- /package/dist/runtime/{pure → shared}/inspections/trailing-slash.js +0 -0
- /package/dist/runtime/{pure → shared}/inspections/util.d.ts +0 -0
- /package/dist/runtime/{pure → shared}/inspections/util.js +0 -0
- /package/dist/runtime/{pure → shared}/redirects.d.ts +0 -0
- /package/dist/runtime/{pure → shared}/redirects.js +0 -0
- /package/dist/runtime/{pure → shared}/sharedUtils.d.ts +0 -0
- /package/dist/runtime/{pure → shared}/sharedUtils.js +0 -0
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./OiuHoWY5.js","./D0ybgVpa.js","./Begb3drz.js","./g_GSZ1hr.js","./B8E_5cfo.js","./D3CL8VSI.js","./Da_8ueAw.js","./CkqQx3Va.js","./BN40hmum.js","./DWmkr0yC.js","./A13Lx_ye.js","./BeSffZBD.js","./DmF4-xLG.js","./BVLG6Y-w.js","./D8nBeWSR.js","./C3t61SNw.js","./I1uqSxRv.js","./CcPoRNJz.js","./DoiKbUTj.js","./CbUnruJU.js","./BhsLqr-4.js","./4NJYcRSJ.js","./HNM5thJl.js","./BWgb8Pxw.js","./B66eQrDP.js","./BxJadH_W.js","./BzAMEn9Z.js","./DBxrVw_D.js","./ChEme8PX.js","./BKbjiiqg.js","./IqKf4WGj.js","./B3Z_eaxm.js","./BaLI2h1d.js","./CNXuF1yM.js","./CE0v8NN9.js","./BSHf-0eb.js","./C_OO3DVV.js","./BSPpinrx.js","./Dnfm4U7b.js","./s1PdnzAn.js","./CiXlrwC7.js","./D4O64OTH.js","./BhLNiG9c.js","./NfFGm2lL.js","./keK8bHwS.js","./Ckz-YMxz.js","./BjE2mIY4.js","./rAPcFIiw.js","./CIiI48o2.js","./Xse1gjxk.js","./L9-HYnaW.js","./BgqZeg96.js","./DpVQgTom.js","./p-youoOz.js","./JbneklYT.js","./BGdveAQA.js","./CK56Z9cH.js","./Cqv5JV-q.js","./DFW6HATB.js","./BJNXdUBN.js","./D7z58M2W.js","./DCRAZVCM.js","./Dk1rBueR.js","./BStEqDGx.js","./BjXeLqNd.js","./CHZeBJpW.js","./CRR3mLlZ.js","./Bpo8LMpD.js","./BbzkbZ9e.js","./CN6rGqjK.js","./D_QQB6Yv.js","./D7v6OrNy.js","./BwojPDJW.js","./DbXoA79R.js","./i5HCB2tm.js","./bGS5FTDY.js","./DkpUthgY.js","./BTbGKmhu.js","./Bt50SWsh.js","./8Uu6eIa-.js","./C0hdQUNN.js","./-ALZ4IvE.js","./CJrM-UL-.js","./0e7srHXh.js","./DWt6wkI-.js","./CYyBA3kJ.js","./vFtNXPBc.js","./nkNqggyT.js","./B9hcNGex.js","./Bnbw1zOw.js","./3sscvOTR.js","./D4-7YDmO.js","./error-404.Duvxb_5r.css","./qPKfeiLE.js","./error-500.Z382q3xB.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
var uh=Object.defineProperty;var fh=(e,t,n)=>t in e?uh(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;var Re=(e,t,n)=>fh(e,typeof t!="symbol"?t+"":t,n);/**
|
|
3
|
-
* @vue/shared v3.5.10
|
|
4
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
|
-
* @license MIT
|
|
6
|
-
**//*! #__NO_SIDE_EFFECTS__ */function ba(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const _e={},zn=[],Et=()=>{},dh=()=>!1,Yr=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),wa=e=>e.startsWith("onUpdate:"),Oe=Object.assign,Ea=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ph=Object.prototype.hasOwnProperty,de=(e,t)=>ph.call(e,t),Z=Array.isArray,qn=e=>Qr(e)==="[object Map]",xu=e=>Qr(e)==="[object Set]",wl=e=>Qr(e)==="[object Date]",te=e=>typeof e=="function",Ee=e=>typeof e=="string",St=e=>typeof e=="symbol",ge=e=>e!==null&&typeof e=="object",Ta=e=>(ge(e)||te(e))&&te(e.then)&&te(e.catch),Au=Object.prototype.toString,Qr=e=>Au.call(e),hh=e=>Qr(e).slice(8,-1),Pu=e=>Qr(e)==="[object Object]",Ca=e=>Ee(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kn=ba(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xi=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},mh=/-(\w)/g,at=xi(e=>e.replace(mh,(t,n)=>n?n.toUpperCase():"")),gh=/\B([A-Z])/g,on=xi(e=>e.replace(gh,"-$1").toLowerCase()),Ai=xi(e=>e.charAt(0).toUpperCase()+e.slice(1)),Xi=xi(e=>e?`on${Ai(e)}`:""),en=(e,t)=>!Object.is(e,t),Lo=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Ru=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},_h=e=>{const t=parseFloat(e);return isNaN(t)?e:t},ku=e=>{const t=Ee(e)?Number(e):NaN;return isNaN(t)?e:t};let El;const Lu=()=>El||(El=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function $t(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=Ee(r)?wh(r):$t(r);if(o)for(const i in o)t[i]=o[i]}return t}else if(Ee(e)||ge(e))return e}const yh=/;(?![^(]*\))/g,vh=/:([^]+)/,bh=/\/\*[^]*?\*\//g;function wh(e){const t={};return e.replace(bh,"").split(yh).forEach(n=>{if(n){const r=n.split(vh);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Ae(e){let t="";if(Ee(e))t=e;else if(Z(e))for(let n=0;n<e.length;n++){const r=Ae(e[n]);r&&(t+=r+" ")}else if(ge(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function Ou(e){if(!e)return null;let{class:t,style:n}=e;return t&&!Ee(t)&&(e.class=Ae(t)),n&&(e.style=$t(n)),e}const Eh="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Th=ba(Eh);function Iu(e){return!!e||e===""}function Ch(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=Uo(e[r],t[r]);return n}function Uo(e,t){if(e===t)return!0;let n=wl(e),r=wl(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=St(e),r=St(t),n||r)return e===t;if(n=Z(e),r=Z(t),n||r)return n&&r?Ch(e,t):!1;if(n=ge(e),r=ge(t),n||r){if(!n||!r)return!1;const o=Object.keys(e).length,i=Object.keys(t).length;if(o!==i)return!1;for(const s in e){const a=e.hasOwnProperty(s),l=t.hasOwnProperty(s);if(a&&!l||!a&&l||!Uo(e[s],t[s]))return!1}}return String(e)===String(t)}const Nu=e=>!!(e&&e.__v_isRef===!0),Ce=e=>Ee(e)?e:e==null?"":Z(e)||ge(e)&&(e.toString===Au||!te(e.toString))?Nu(e)?Ce(e.value):JSON.stringify(e,Du,2):String(e),Du=(e,t)=>Nu(t)?Du(e,t.value):qn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[r,o],i)=>(n[Yi(r,i)+" =>"]=o,n),{})}:xu(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Yi(n))}:St(t)?Yi(t):ge(t)&&!Z(t)&&!Pu(t)?String(t):t,Yi=(e,t="")=>{var n;return St(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
7
|
-
* @vue/reactivity v3.5.10
|
|
8
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9
|
-
* @license MIT
|
|
10
|
-
**/let ze;class $u{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ze,!t&&ze&&(this.index=(ze.scopes||(ze.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=ze;try{return ze=this,t()}finally{ze=n}}}on(){ze=this}off(){ze=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 Sh(e){return new $u(e)}function Pi(){return ze}function Mu(e,t=!1){ze&&ze.cleanups.push(e)}let be;const Qi=new WeakSet;class Vu{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,ze&&ze.active&&ze.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Qi.has(this)&&(Qi.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Fu(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Tl(this),Bu(this);const t=be,n=dt;be=this,dt=!0;try{return this.fn()}finally{ju(this),be=t,dt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Aa(t);this.deps=this.depsTail=void 0,Tl(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Qi.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ss(this)&&this.run()}get dirty(){return Ss(this)}}let Hu=0,Un;function Fu(e){e.flags|=8,e.next=Un,Un=e}function Sa(){Hu++}function xa(){if(--Hu>0)return;let e;for(;Un;){let t=Un,n;for(;t;)t.flags&1||(t.flags&=-9),t=t.next;for(t=Un,Un=void 0;t;){if(n=t.next,t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Bu(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ju(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Aa(r),xh(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Ss(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Uu(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Uu(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===$r))return;e.globalVersion=$r;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!Ss(e)){e.flags&=-3;return}const n=be,r=dt;be=e,dt=!0;try{Bu(e);const o=e.fn(e._value);(t.version===0||en(o,e._value))&&(e._value=o,t.version++)}catch(o){throw t.version++,o}finally{be=n,dt=r,ju(e),e.flags&=-3}}function Aa(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r),!n.subs&&n.computed){n.computed.flags&=-5;for(let i=n.computed.deps;i;i=i.nextDep)Aa(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function xh(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let dt=!0;const Wu=[];function sn(){Wu.push(dt),dt=!1}function an(){const e=Wu.pop();dt=e===void 0?!0:e}function Tl(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=be;be=void 0;try{t()}finally{be=n}}}let $r=0;class Ah{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Pa{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.target=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(t){if(!be||!dt||be===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==be)n=this.activeLink=new Ah(be,this),be.deps?(n.prevDep=be.depsTail,be.depsTail.nextDep=n,be.depsTail=n):be.deps=be.depsTail=n,Gu(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=be.depsTail,n.nextDep=void 0,be.depsTail.nextDep=n,be.depsTail=n,be.deps===n&&(be.deps=r)}return n}trigger(t){this.version++,$r++,this.notify(t)}notify(t){Sa();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{xa()}}}function Gu(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Gu(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Wo=new WeakMap,Sn=Symbol(""),xs=Symbol(""),Mr=Symbol("");function We(e,t,n){if(dt&&be){let r=Wo.get(e);r||Wo.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Pa),o.target=e,o.map=r,o.key=n),o.track()}}function Mt(e,t,n,r,o,i){const s=Wo.get(e);if(!s){$r++;return}const a=l=>{l&&l.trigger()};if(Sa(),t==="clear")s.forEach(a);else{const l=Z(e),c=l&&Ca(n);if(l&&n==="length"){const u=Number(r);s.forEach((f,d)=>{(d==="length"||d===Mr||!St(d)&&d>=u)&&a(f)})}else switch(n!==void 0&&a(s.get(n)),c&&a(s.get(Mr)),t){case"add":l?c&&a(s.get("length")):(a(s.get(Sn)),qn(e)&&a(s.get(xs)));break;case"delete":l||(a(s.get(Sn)),qn(e)&&a(s.get(xs)));break;case"set":qn(e)&&a(s.get(Sn));break}}xa()}function Ph(e,t){const n=Wo.get(e);return n&&n.get(t)}function Mn(e){const t=fe(e);return t===e?t:(We(t,"iterate",Mr),st(e)?t:t.map(Ue))}function Ri(e){return We(e=fe(e),"iterate",Mr),e}const Rh={__proto__:null,[Symbol.iterator](){return Zi(this,Symbol.iterator,Ue)},concat(...e){return Mn(this).concat(...e.map(t=>Z(t)?Mn(t):t))},entries(){return Zi(this,"entries",e=>(e[1]=Ue(e[1]),e))},every(e,t){return Rt(this,"every",e,t,void 0,arguments)},filter(e,t){return Rt(this,"filter",e,t,n=>n.map(Ue),arguments)},find(e,t){return Rt(this,"find",e,t,Ue,arguments)},findIndex(e,t){return Rt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Rt(this,"findLast",e,t,Ue,arguments)},findLastIndex(e,t){return Rt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Rt(this,"forEach",e,t,void 0,arguments)},includes(...e){return es(this,"includes",e)},indexOf(...e){return es(this,"indexOf",e)},join(e){return Mn(this).join(e)},lastIndexOf(...e){return es(this,"lastIndexOf",e)},map(e,t){return Rt(this,"map",e,t,void 0,arguments)},pop(){return hr(this,"pop")},push(...e){return hr(this,"push",e)},reduce(e,...t){return Cl(this,"reduce",e,t)},reduceRight(e,...t){return Cl(this,"reduceRight",e,t)},shift(){return hr(this,"shift")},some(e,t){return Rt(this,"some",e,t,void 0,arguments)},splice(...e){return hr(this,"splice",e)},toReversed(){return Mn(this).toReversed()},toSorted(e){return Mn(this).toSorted(e)},toSpliced(...e){return Mn(this).toSpliced(...e)},unshift(...e){return hr(this,"unshift",e)},values(){return Zi(this,"values",Ue)}};function Zi(e,t,n){const r=Ri(e),o=r[t]();return r!==e&&!st(e)&&(o._next=o.next,o.next=()=>{const i=o._next();return i.value&&(i.value=n(i.value)),i}),o}const kh=Array.prototype;function Rt(e,t,n,r,o,i){const s=Ri(e),a=s!==e&&!st(e),l=s[t];if(l!==kh[t]){const f=l.apply(e,i);return a?Ue(f):f}let c=n;s!==e&&(a?c=function(f,d){return n.call(this,Ue(f),d,e)}:n.length>2&&(c=function(f,d){return n.call(this,f,d,e)}));const u=l.call(s,c,r);return a&&o?o(u):u}function Cl(e,t,n,r){const o=Ri(e);let i=n;return o!==e&&(st(e)?n.length>3&&(i=function(s,a,l){return n.call(this,s,a,l,e)}):i=function(s,a,l){return n.call(this,s,Ue(a),l,e)}),o[t](i,...r)}function es(e,t,n){const r=fe(e);We(r,"iterate",Mr);const o=r[t](...n);return(o===-1||o===!1)&&Ia(n[0])?(n[0]=fe(n[0]),r[t](...n)):o}function hr(e,t,n=[]){sn(),Sa();const r=fe(e)[t].apply(e,n);return xa(),an(),r}const Lh=ba("__proto__,__v_isRef,__isVue"),zu=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(St));function Oh(e){St(e)||(e=String(e));const t=fe(this);return We(t,"has",e),t.hasOwnProperty(e)}class qu{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){const o=this._isReadonly,i=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return i;if(n==="__v_raw")return r===(o?i?Gh:Yu:i?Xu:Ju).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const s=Z(t);if(!o){let l;if(s&&(l=Rh[n]))return l;if(n==="hasOwnProperty")return Oh}const a=Reflect.get(t,n,Fe(t)?t:r);return(St(n)?zu.has(n):Lh(n))||(o||We(t,"get",n),i)?a:Fe(a)?s&&Ca(n)?a:a.value:ge(a)?o?La(a):tn(a):a}}class Ku extends qu{constructor(t=!1){super(!1,t)}set(t,n,r,o){let i=t[n];if(!this._isShallow){const l=nn(i);if(!st(r)&&!nn(r)&&(i=fe(i),r=fe(r)),!Z(t)&&Fe(i)&&!Fe(r))return l?!1:(i.value=r,!0)}const s=Z(t)&&Ca(n)?Number(n)<t.length:de(t,n),a=Reflect.set(t,n,r,Fe(t)?t:o);return t===fe(o)&&(s?en(r,i)&&Mt(t,"set",n,r):Mt(t,"add",n,r)),a}deleteProperty(t,n){const r=de(t,n);t[n];const o=Reflect.deleteProperty(t,n);return o&&r&&Mt(t,"delete",n,void 0),o}has(t,n){const r=Reflect.has(t,n);return(!St(n)||!zu.has(n))&&We(t,"has",n),r}ownKeys(t){return We(t,"iterate",Z(t)?"length":Sn),Reflect.ownKeys(t)}}class Ih extends qu{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Nh=new Ku,Dh=new Ih,$h=new Ku(!0);const Ra=e=>e,ki=e=>Reflect.getPrototypeOf(e);function so(e,t,n=!1,r=!1){e=e.__v_raw;const o=fe(e),i=fe(t);n||(en(t,i)&&We(o,"get",t),We(o,"get",i));const{has:s}=ki(o),a=r?Ra:n?Na:Ue;if(s.call(o,t))return a(e.get(t));if(s.call(o,i))return a(e.get(i));e!==o&&e.get(t)}function ao(e,t=!1){const n=this.__v_raw,r=fe(n),o=fe(e);return t||(en(e,o)&&We(r,"has",e),We(r,"has",o)),e===o?n.has(e):n.has(e)||n.has(o)}function lo(e,t=!1){return e=e.__v_raw,!t&&We(fe(e),"iterate",Sn),Reflect.get(e,"size",e)}function Sl(e,t=!1){!t&&!st(e)&&!nn(e)&&(e=fe(e));const n=fe(this);return ki(n).has.call(n,e)||(n.add(e),Mt(n,"add",e,e)),this}function xl(e,t,n=!1){!n&&!st(t)&&!nn(t)&&(t=fe(t));const r=fe(this),{has:o,get:i}=ki(r);let s=o.call(r,e);s||(e=fe(e),s=o.call(r,e));const a=i.call(r,e);return r.set(e,t),s?en(t,a)&&Mt(r,"set",e,t):Mt(r,"add",e,t),this}function Al(e){const t=fe(this),{has:n,get:r}=ki(t);let o=n.call(t,e);o||(e=fe(e),o=n.call(t,e)),r&&r.call(t,e);const i=t.delete(e);return o&&Mt(t,"delete",e,void 0),i}function Pl(){const e=fe(this),t=e.size!==0,n=e.clear();return t&&Mt(e,"clear",void 0,void 0),n}function co(e,t){return function(r,o){const i=this,s=i.__v_raw,a=fe(s),l=t?Ra:e?Na:Ue;return!e&&We(a,"iterate",Sn),s.forEach((c,u)=>r.call(o,l(c),l(u),i))}}function uo(e,t,n){return function(...r){const o=this.__v_raw,i=fe(o),s=qn(i),a=e==="entries"||e===Symbol.iterator&&s,l=e==="keys"&&s,c=o[e](...r),u=n?Ra:t?Na:Ue;return!t&&We(i,"iterate",l?xs:Sn),{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 Wt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Mh(){const e={get(i){return so(this,i)},get size(){return lo(this)},has:ao,add:Sl,set:xl,delete:Al,clear:Pl,forEach:co(!1,!1)},t={get(i){return so(this,i,!1,!0)},get size(){return lo(this)},has:ao,add(i){return Sl.call(this,i,!0)},set(i,s){return xl.call(this,i,s,!0)},delete:Al,clear:Pl,forEach:co(!1,!0)},n={get(i){return so(this,i,!0)},get size(){return lo(this,!0)},has(i){return ao.call(this,i,!0)},add:Wt("add"),set:Wt("set"),delete:Wt("delete"),clear:Wt("clear"),forEach:co(!0,!1)},r={get(i){return so(this,i,!0,!0)},get size(){return lo(this,!0)},has(i){return ao.call(this,i,!0)},add:Wt("add"),set:Wt("set"),delete:Wt("delete"),clear:Wt("clear"),forEach:co(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{e[i]=uo(i,!1,!1),n[i]=uo(i,!0,!1),t[i]=uo(i,!1,!0),r[i]=uo(i,!0,!0)}),[e,n,t,r]}const[Vh,Hh,Fh,Bh]=Mh();function ka(e,t){const n=t?e?Bh:Fh:e?Hh:Vh;return(r,o,i)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(de(n,o)&&o in r?n:r,o,i)}const jh={get:ka(!1,!1)},Uh={get:ka(!1,!0)},Wh={get:ka(!0,!1)};const Ju=new WeakMap,Xu=new WeakMap,Yu=new WeakMap,Gh=new WeakMap;function zh(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function qh(e){return e.__v_skip||!Object.isExtensible(e)?0:zh(hh(e))}function tn(e){return nn(e)?e:Oa(e,!1,Nh,jh,Ju)}function En(e){return Oa(e,!1,$h,Uh,Xu)}function La(e){return Oa(e,!0,Dh,Wh,Yu)}function Oa(e,t,n,r,o){if(!ge(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=o.get(e);if(i)return i;const s=qh(e);if(s===0)return e;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function xn(e){return nn(e)?xn(e.__v_raw):!!(e&&e.__v_isReactive)}function nn(e){return!!(e&&e.__v_isReadonly)}function st(e){return!!(e&&e.__v_isShallow)}function Ia(e){return e?!!e.__v_raw:!1}function fe(e){const t=e&&e.__v_raw;return t?fe(t):e}function Kh(e){return!de(e,"__v_skip")&&Object.isExtensible(e)&&Ru(e,"__v_skip",!0),e}const Ue=e=>ge(e)?tn(e):e,Na=e=>ge(e)?La(e):e;function Fe(e){return e?e.__v_isRef===!0:!1}function ae(e){return Qu(e,!1)}function As(e){return Qu(e,!0)}function Qu(e,t){return Fe(e)?e:new Jh(e,t)}class Jh{constructor(t,n){this.dep=new Pa,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:fe(t),this._value=n?t:Ue(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||st(t)||nn(t);t=r?t:fe(t),en(t,n)&&(this._rawValue=t,this._value=r?t:Ue(t),this.dep.trigger())}}function se(e){return Fe(e)?e.value:e}function Xh(e){return te(e)?e():se(e)}const Yh={get:(e,t,n)=>t==="__v_raw"?e:se(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const o=e[t];return Fe(o)&&!Fe(n)?(o.value=n,!0):Reflect.set(e,t,n,r)}};function Zu(e){return xn(e)?e:new Proxy(e,Yh)}class Qh{constructor(t,n,r){this._object=t,this._key=n,this._defaultValue=r,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Ph(fe(this._object),this._key)}}class Zh{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function em(e,t,n){return Fe(e)?e:te(e)?new Zh(e):ge(e)&&arguments.length>1?tm(e,t,n):ae(e)}function tm(e,t,n){const r=e[t];return Fe(r)?r:new Qh(e,t,n)}class nm{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Pa(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=$r-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&be!==this)return Fu(this),!0}get value(){const t=this.dep.track();return Uu(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function rm(e,t,n=!1){let r,o;return te(e)?r=e:(r=e.get,o=e.set),new nm(r,o,n)}const fo={},Go=new WeakMap;let _n;function om(e,t=!1,n=_n){if(n){let r=Go.get(n);r||Go.set(n,r=[]),r.push(e)}}function im(e,t,n=_e){const{immediate:r,deep:o,once:i,scheduler:s,augmentJob:a,call:l}=n,c=w=>o?w:st(w)||o===!1||o===0?Ot(w,1):Ot(w);let u,f,d,p,h=!1,m=!1;if(Fe(e)?(f=()=>e.value,h=st(e)):xn(e)?(f=()=>c(e),h=!0):Z(e)?(m=!0,h=e.some(w=>xn(w)||st(w)),f=()=>e.map(w=>{if(Fe(w))return w.value;if(xn(w))return c(w);if(te(w))return l?l(w,2):w()})):te(e)?t?f=l?()=>l(e,2):e:f=()=>{if(d){sn();try{d()}finally{an()}}const w=_n;_n=u;try{return l?l(e,3,[p]):e(p)}finally{_n=w}}:f=Et,t&&o){const w=f,C=o===!0?1/0:o;f=()=>Ot(w(),C)}const y=Pi(),b=()=>{u.stop(),y&&Ea(y.effects,u)};if(i&&t){const w=t;t=(...C)=>{w(...C),b()}}let E=m?new Array(e.length).fill(fo):fo;const g=w=>{if(!(!(u.flags&1)||!u.dirty&&!w))if(t){const C=u.run();if(o||h||(m?C.some((P,D)=>en(P,E[D])):en(C,E))){d&&d();const P=_n;_n=u;try{const D=[C,E===fo?void 0:m&&E[0]===fo?[]:E,p];l?l(t,3,D):t(...D),E=C}finally{_n=P}}}else u.run()};return a&&a(g),u=new Vu(f),u.scheduler=s?()=>s(g,!1):g,p=w=>om(w,!1,u),d=u.onStop=()=>{const w=Go.get(u);if(w){if(l)l(w,4);else for(const C of w)C();Go.delete(u)}},t?r?g(!0):E=u.run():s?s(g.bind(null,!0),!0):u.run(),b.pause=u.pause.bind(u),b.resume=u.resume.bind(u),b.stop=b,b}function Ot(e,t=1/0,n){if(t<=0||!ge(e)||e.__v_skip||(n=n||new Set,n.has(e)))return e;if(n.add(e),t--,Fe(e))Ot(e.value,t,n);else if(Z(e))for(let r=0;r<e.length;r++)Ot(e[r],t,n);else if(xu(e)||qn(e))e.forEach(r=>{Ot(r,t,n)});else if(Pu(e)){for(const r in e)Ot(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&Ot(e[r],t,n)}return e}/**
|
|
11
|
-
* @vue/runtime-core v3.5.10
|
|
12
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
13
|
-
* @license MIT
|
|
14
|
-
**/function Zr(e,t,n,r){try{return r?e(...r):e()}catch(o){ur(o,t,n)}}function gt(e,t,n,r){if(te(e)){const o=Zr(e,t,n,r);return o&&Ta(o)&&o.catch(i=>{ur(i,t,n)}),o}if(Z(e)){const o=[];for(let i=0;i<e.length;i++)o.push(gt(e[i],t,n,r));return o}}function ur(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||_e;if(t){let a=t.parent;const l=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const u=a.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,l,c)===!1)return}a=a.parent}if(i){sn(),Zr(i,null,10,[e,l,c]),an();return}}sm(e,n,o,r,s)}function sm(e,t,n,r=!0,o=!1){if(o)throw e;console.error(e)}let Vr=!1,Ps=!1;const qe=[];let bt=0;const Jn=[];let Jt=null,Bn=0;const ef=Promise.resolve();let Da=null;function Ht(e){const t=Da||ef;return e?t.then(this?e.bind(this):e):t}function am(e){let t=Vr?bt+1:0,n=qe.length;for(;t<n;){const r=t+n>>>1,o=qe[r],i=Hr(o);i<e||i===e&&o.flags&2?t=r+1:n=r}return t}function $a(e){if(!(e.flags&1)){const t=Hr(e),n=qe[qe.length-1];!n||!(e.flags&2)&&t>=Hr(n)?qe.push(e):qe.splice(am(t),0,e),e.flags|=1,tf()}}function tf(){!Vr&&!Ps&&(Ps=!0,Da=ef.then(nf))}function Rs(e){Z(e)?Jn.push(...e):Jt&&e.id===-1?Jt.splice(Bn+1,0,e):e.flags&1||(Jn.push(e),e.flags|=1),tf()}function Rl(e,t,n=Vr?bt+1:0){for(;n<qe.length;n++){const r=qe[n];if(r&&r.flags&2){if(e&&r.id!==e.uid)continue;qe.splice(n,1),n--,r.flags&4&&(r.flags&=-2),r(),r.flags&4||(r.flags&=-2)}}}function zo(e){if(Jn.length){const t=[...new Set(Jn)].sort((n,r)=>Hr(n)-Hr(r));if(Jn.length=0,Jt){Jt.push(...t);return}for(Jt=t,Bn=0;Bn<Jt.length;Bn++){const n=Jt[Bn];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Jt=null,Bn=0}}const Hr=e=>e.id==null?e.flags&2?-1:1/0:e.id;function nf(e){Ps=!1,Vr=!0;try{for(bt=0;bt<qe.length;bt++){const t=qe[bt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Zr(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;bt<qe.length;bt++){const t=qe[bt];t&&(t.flags&=-2)}bt=0,qe.length=0,zo(),Vr=!1,Da=null,(qe.length||Jn.length)&&nf()}}let De=null,Li=null;function qo(e){const t=De;return De=e,Li=e&&e.type.__scopeId||null,t}function lm(e){Li=e}function cm(){Li=null}const um=e=>oe;function oe(e,t=De,n){if(!t||e._n)return e;const r=(...o)=>{r._d&&Wl(-1);const i=qo(t);let s;try{s=e(...o)}finally{qo(i),r._d&&Wl(1)}return s};return r._n=!0,r._c=!0,r._d=!0,r}function rf(e,t){if(De===null)return e;const n=Di(De),r=e.dirs||(e.dirs=[]);for(let o=0;o<t.length;o++){let[i,s,a,l=_e]=t[o];i&&(te(i)&&(i={mounted:i,updated:i}),i.deep&&Ot(s),r.push({dir:i,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l}))}return e}function wt(e,t,n,r){const o=e.dirs,i=t&&t.dirs;for(let s=0;s<o.length;s++){const a=o[s];i&&(a.oldValue=i[s].value);let l=a.dir[r];l&&(sn(),gt(l,n,8,[e.el,a,e,t]),an())}}const of=Symbol("_vte"),fm=e=>e.__isTeleport,Tr=e=>e&&(e.disabled||e.disabled===""),dm=e=>e&&(e.defer||e.defer===""),kl=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Ll=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,ks=(e,t)=>{const n=e&&e.to;return Ee(n)?t?t(n):null:n},pm={name:"Teleport",__isTeleport:!0,process(e,t,n,r,o,i,s,a,l,c){const{mc:u,pc:f,pbc:d,o:{insert:p,querySelector:h,createText:m,createComment:y}}=c,b=Tr(t.props);let{shapeFlag:E,children:g,dynamicChildren:w}=t;if(e==null){const C=t.el=m(""),P=t.anchor=m("");p(C,n,r),p(P,n,r);const D=(L,S)=>{E&16&&(o&&o.isCE&&(o.ce._teleportTarget=L),u(g,L,S,o,i,s,a,l))},W=()=>{const L=t.target=ks(t.props,h),S=sf(L,t,m,p);L&&(s!=="svg"&&kl(L)?s="svg":s!=="mathml"&&Ll(L)&&(s="mathml"),b||(D(L,S),Oo(t)))};b&&(D(n,P),Oo(t)),dm(t.props)?Je(W,i):W()}else{t.el=e.el,t.targetStart=e.targetStart;const C=t.anchor=e.anchor,P=t.target=e.target,D=t.targetAnchor=e.targetAnchor,W=Tr(e.props),L=W?n:P,S=W?C:D;if(s==="svg"||kl(P)?s="svg":(s==="mathml"||Ll(P))&&(s="mathml"),w?(d(e.dynamicChildren,w,L,o,i,s,a),ja(e,t,!0)):l||f(e,t,L,S,o,i,s,a,!1),b)W?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):po(t,n,C,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const O=t.target=ks(t.props,h);O&&po(t,O,null,c,0)}else W&&po(t,P,D,c,1);Oo(t)}},remove(e,t,n,{um:r,o:{remove:o}},i){const{shapeFlag:s,children:a,anchor:l,targetStart:c,targetAnchor:u,target:f,props:d}=e;if(f&&(o(c),o(u)),i&&o(l),s&16){const p=i||!Tr(d);for(let h=0;h<a.length;h++){const m=a[h];r(m,t,n,p,!!m.dynamicChildren)}}},move:po,hydrate:hm};function po(e,t,n,{o:{insert:r},m:o},i=2){i===0&&r(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=e,f=i===2;if(f&&r(s,t,n),(!f||Tr(u))&&l&16)for(let d=0;d<c.length;d++)o(c[d],t,n,2);f&&r(a,t,n)}function hm(e,t,n,r,o,i,{o:{nextSibling:s,parentNode:a,querySelector:l,insert:c,createText:u}},f){const d=t.target=ks(t.props,l);if(d){const p=d._lpa||d.firstChild;if(t.shapeFlag&16)if(Tr(t.props))t.anchor=f(s(e),t,a(e),n,r,o,i),t.targetStart=p,t.targetAnchor=p&&s(p);else{t.anchor=s(e);let h=p;for(;h;){if(h&&h.nodeType===8){if(h.data==="teleport start anchor")t.targetStart=h;else if(h.data==="teleport anchor"){t.targetAnchor=h,d._lpa=t.targetAnchor&&s(t.targetAnchor);break}}h=s(h)}t.targetAnchor||sf(d,t,u,c),f(p&&s(p),t,d,n,r,o,i)}Oo(t)}return t.anchor&&s(t.anchor)}const mm=pm;function Oo(e){const t=e.ctx;if(t&&t.ut){let n=e.targetStart;for(;n&&n!==e.targetAnchor;)n.nodeType===1&&n.setAttribute("data-v-owner",t.uid),n=n.nextSibling;t.ut()}}function sf(e,t,n,r){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[of]=i,e&&(r(o,e),r(i,e)),i}const Vn=Symbol("_leaveCb"),ho=Symbol("_enterCb");function gm(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ii(()=>{e.isMounted=!0}),Ha(()=>{e.isUnmounting=!0}),e}const nt=[Function,Array],_m={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:nt,onEnter:nt,onAfterEnter:nt,onEnterCancelled:nt,onBeforeLeave:nt,onLeave:nt,onAfterLeave:nt,onLeaveCancelled:nt,onBeforeAppear:nt,onAppear:nt,onAfterAppear:nt,onAppearCancelled:nt};function ym(e,t){const{leavingVNodes:n}=e;let r=n.get(t.type);return r||(r=Object.create(null),n.set(t.type,r)),r}function Ls(e,t,n,r,o){const{appear:i,mode:s,persisted:a=!1,onBeforeEnter:l,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:d,onLeave:p,onAfterLeave:h,onLeaveCancelled:m,onBeforeAppear:y,onAppear:b,onAfterAppear:E,onAppearCancelled:g}=t,w=String(e.key),C=ym(n,e),P=(L,S)=>{L&>(L,r,9,S)},D=(L,S)=>{const O=S[1];P(L,S),Z(L)?L.every(R=>R.length<=1)&&O():L.length<=1&&O()},W={mode:s,persisted:a,beforeEnter(L){let S=l;if(!n.isMounted)if(i)S=y||l;else return;L[Vn]&&L[Vn](!0);const O=C[w];O&&Nt(e,O)&&O.el[Vn]&&O.el[Vn](),P(S,[L])},enter(L){let S=c,O=u,R=f;if(!n.isMounted)if(i)S=b||c,O=E||u,R=g||f;else return;let x=!1;const A=L[ho]=F=>{x||(x=!0,F?P(R,[L]):P(O,[L]),W.delayedLeave&&W.delayedLeave(),L[ho]=void 0)};S?D(S,[L,A]):A()},leave(L,S){const O=String(e.key);if(L[ho]&&L[ho](!0),n.isUnmounting)return S();P(d,[L]);let R=!1;const x=L[Vn]=A=>{R||(R=!0,S(),A?P(m,[L]):P(h,[L]),L[Vn]=void 0,C[O]===e&&delete C[O])};C[O]=e,p?D(p,[L,x]):x()},clone(L){return Ls(L,t,n,r)}};return W}function Fr(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Fr(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 af(e,t=!1,n){let r=[],o=0;for(let i=0;i<e.length;i++){let s=e[i];const a=n==null?s.key:String(n)+String(s.key!=null?s.key:i);s.type===me?(s.patchFlag&128&&o++,r=r.concat(af(s.children,t,a))):(t||s.type!==lt)&&r.push(a!=null?kn(s,{key:a}):s)}if(o>1)for(let i=0;i<r.length;i++)r[i].patchFlag=-2;return r}/*! #__NO_SIDE_EFFECTS__ */function Pe(e,t){return te(e)?Oe({name:e.name},t,{setup:e}):e}function Ma(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ko(e,t,n,r,o=!1){if(Z(e)){e.forEach((h,m)=>Ko(h,t&&(Z(t)?t[m]:t),n,r,o));return}if(An(r)&&!o)return;const i=r.shapeFlag&4?Di(r.component):r.el,s=o?null:i,{i:a,r:l}=e,c=t&&t.r,u=a.refs===_e?a.refs={}:a.refs,f=a.setupState,d=fe(f),p=f===_e?()=>!1:h=>de(d,h);if(c!=null&&c!==l&&(Ee(c)?(u[c]=null,p(c)&&(f[c]=null)):Fe(c)&&(c.value=null)),te(l))Zr(l,a,12,[s,u]);else{const h=Ee(l),m=Fe(l);if(h||m){const y=()=>{if(e.f){const b=h?p(l)?f[l]:u[l]:l.value;o?Z(b)&&Ea(b,i):Z(b)?b.includes(i)||b.push(i):h?(u[l]=[i],p(l)&&(f[l]=u[l])):(l.value=[i],e.k&&(u[e.k]=l.value))}else h?(u[l]=s,p(l)&&(f[l]=s)):m&&(l.value=s,e.k&&(u[e.k]=s))};s?(y.id=-1,Je(y,n)):y()}}}let Ol=!1;const Hn=()=>{Ol||(console.error("Hydration completed but contains mismatches."),Ol=!0)},vm=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",bm=e=>e.namespaceURI.includes("MathML"),mo=e=>{if(e.nodeType===1){if(vm(e))return"svg";if(bm(e))return"mathml"}},Wn=e=>e.nodeType===8;function wm(e){const{mt:t,p:n,o:{patchProp:r,createText:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:c}}=e,u=(g,w)=>{if(!w.hasChildNodes()){n(null,g,w),zo(),w._vnode=g;return}f(w.firstChild,g,null,null,null),zo(),w._vnode=g},f=(g,w,C,P,D,W=!1)=>{W=W||!!w.dynamicChildren;const L=Wn(g)&&g.data==="[",S=()=>m(g,w,C,P,D,L),{type:O,ref:R,shapeFlag:x,patchFlag:A}=w;let F=g.nodeType;w.el=g,A===-2&&(W=!1,w.dynamicChildren=null);let I=null;switch(O){case Rn:F!==3?w.children===""?(l(w.el=o(""),s(g),g),I=g):I=S():(g.data!==w.children&&(Hn(),g.data=w.children),I=i(g));break;case lt:E(g)?(I=i(g),b(w.el=g.content.firstChild,g,C)):F!==8||L?I=S():I=i(g);break;case Sr:if(L&&(g=i(g),F=g.nodeType),F===1||F===3){I=g;const q=!w.children.length;for(let U=0;U<w.staticCount;U++)q&&(w.children+=I.nodeType===1?I.outerHTML:I.data),U===w.staticCount-1&&(w.anchor=I),I=i(I);return L?i(I):I}else S();break;case me:L?I=h(g,w,C,P,D,W):I=S();break;default:if(x&1)(F!==1||w.type.toLowerCase()!==g.tagName.toLowerCase())&&!E(g)?I=S():I=d(g,w,C,P,D,W);else if(x&6){w.slotScopeIds=D;const q=s(g);if(L?I=y(g):Wn(g)&&g.data==="teleport start"?I=y(g,g.data,"teleport end"):I=i(g),t(w,q,null,C,P,mo(q),W),An(w)){let U;L?(U=J(me),U.anchor=I?I.previousSibling:q.lastChild):U=g.nodeType===3?ue(""):J("div"),U.el=g,w.component.subTree=U}}else x&64?F!==8?I=S():I=w.type.hydrate(g,w,C,P,D,W,e,p):x&128&&(I=w.type.hydrate(g,w,C,P,mo(s(g)),D,W,e,f))}return R!=null&&Ko(R,null,P,w),I},d=(g,w,C,P,D,W)=>{W=W||!!w.dynamicChildren;const{type:L,props:S,patchFlag:O,shapeFlag:R,dirs:x,transition:A}=w,F=L==="input"||L==="option";if(F||O!==-1){x&&wt(w,null,C,"created");let I=!1;if(E(g)){I=Lf(P,A)&&C&&C.vnode.props&&C.vnode.props.appear;const U=g.content.firstChild;I&&A.beforeEnter(U),b(U,g,C),w.el=g=U}if(R&16&&!(S&&(S.innerHTML||S.textContent))){let U=p(g.firstChild,w,g,C,P,D,W);for(;U;){go(g,1)||Hn();const ne=U;U=U.nextSibling,a(ne)}}else if(R&8){let U=w.children;U[0]===`
|
|
15
|
-
`&&(g.tagName==="PRE"||g.tagName==="TEXTAREA")&&(U=U.slice(1)),g.textContent!==U&&(go(g,0)||Hn(),g.textContent=w.children)}if(S){if(F||!W||O&48){const U=g.tagName.includes("-");for(const ne in S)(F&&(ne.endsWith("value")||ne==="indeterminate")||Yr(ne)&&!Kn(ne)||ne[0]==="."||U)&&r(g,ne,null,S[ne],void 0,C)}else if(S.onClick)r(g,"onClick",null,S.onClick,void 0,C);else if(O&4&&xn(S.style))for(const U in S.style)S.style[U]}let q;(q=S&&S.onVnodeBeforeMount)&&ot(q,C,w),x&&wt(w,null,C,"beforeMount"),((q=S&&S.onVnodeMounted)||x||I)&&Mf(()=>{q&&ot(q,C,w),I&&A.enter(g),x&&wt(w,null,C,"mounted")},P)}return g.nextSibling},p=(g,w,C,P,D,W,L)=>{L=L||!!w.dynamicChildren;const S=w.children,O=S.length;for(let R=0;R<O;R++){const x=L?S[R]:S[R]=tt(S[R]),A=x.type===Rn;g?(A&&!L&&R+1<O&&tt(S[R+1]).type===Rn&&(l(o(g.data.slice(x.children.length)),C,i(g)),g.data=x.children),g=f(g,x,P,D,W,L)):A&&!x.children?l(x.el=o(""),C):(go(C,1)||Hn(),n(null,x,C,null,P,D,mo(C),W))}return g},h=(g,w,C,P,D,W)=>{const{slotScopeIds:L}=w;L&&(D=D?D.concat(L):L);const S=s(g),O=p(i(g),w,S,C,P,D,W);return O&&Wn(O)&&O.data==="]"?i(w.anchor=O):(Hn(),l(w.anchor=c("]"),S,O),O)},m=(g,w,C,P,D,W)=>{if(go(g.parentElement,1)||Hn(),w.el=null,W){const O=y(g);for(;;){const R=i(g);if(R&&R!==O)a(R);else break}}const L=i(g),S=s(g);return a(g),n(null,w,S,L,C,P,mo(S),D),L},y=(g,w="[",C="]")=>{let P=0;for(;g;)if(g=i(g),g&&Wn(g)&&(g.data===w&&P++,g.data===C)){if(P===0)return i(g);P--}return g},b=(g,w,C)=>{const P=w.parentNode;P&&P.replaceChild(g,w);let D=C;for(;D;)D.vnode.el===w&&(D.vnode.el=D.subTree.el=g),D=D.parent},E=g=>g.nodeType===1&&g.tagName==="TEMPLATE";return[u,f]}const Il="data-allow-mismatch",Em={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function go(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(Il);)e=e.parentElement;const n=e&&e.getAttribute(Il);if(n==null)return!1;if(n==="")return!0;{const r=n.split(",");return t===0&&r.includes("children")?!0:n.split(",").includes(Em[t])}}function Tm(e,t){if(Wn(e)&&e.data==="["){let n=1,r=e.nextSibling;for(;r;){if(r.nodeType===1){if(t(r)===!1)break}else if(Wn(r))if(r.data==="]"){if(--n===0)break}else r.data==="["&&n++;r=r.nextSibling}}else t(e)}const An=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function Nl(e){te(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:r,delay:o=200,hydrate:i,timeout:s,suspensible:a=!0,onError:l}=e;let c=null,u,f=0;const d=()=>(f++,c=null,p()),p=()=>{let h;return c||(h=c=t().catch(m=>{if(m=m instanceof Error?m:new Error(String(m)),l)return new Promise((y,b)=>{l(m,()=>y(d()),()=>b(m),f+1)});throw m}).then(m=>h!==c&&c?c:(m&&(m.__esModule||m[Symbol.toStringTag]==="Module")&&(m=m.default),u=m,m)))};return Pe({name:"AsyncComponentWrapper",__asyncLoader:p,__asyncHydrate(h,m,y){const b=i?()=>{const E=i(y,g=>Tm(h,g));E&&(m.bum||(m.bum=[])).push(E)}:y;u?b():p().then(()=>!m.isUnmounted&&b())},get __asyncResolved(){return u},setup(){const h=Ne;if(Ma(h),u)return()=>ts(u,h);const m=g=>{c=null,ur(g,h,13,!r)};if(a&&h.suspense||eo)return p().then(g=>()=>ts(g,h)).catch(g=>(m(g),()=>r?J(r,{error:g}):null));const y=ae(!1),b=ae(),E=ae(!!o);return o&&setTimeout(()=>{E.value=!1},o),s!=null&&setTimeout(()=>{if(!y.value&&!b.value){const g=new Error(`Async component timed out after ${s}ms.`);m(g),b.value=g}},s),p().then(()=>{y.value=!0,h.parent&&Va(h.parent.vnode)&&h.parent.update()}).catch(g=>{m(g),b.value=g}),()=>{if(y.value&&u)return ts(u,h);if(b.value&&r)return J(r,{error:b.value});if(n&&!E.value)return J(n)}}})}function ts(e,t){const{ref:n,props:r,children:o,ce:i}=t.vnode,s=J(e,r,o);return s.ref=n,s.ce=i,delete t.vnode.ce,s}const Va=e=>e.type.__isKeepAlive;function Cm(e,t){lf(e,"a",t)}function Sm(e,t){lf(e,"da",t)}function lf(e,t,n=Ne){const r=e.__wdc||(e.__wdc=()=>{let o=n;for(;o;){if(o.isDeactivated)return;o=o.parent}return e()});if(Oi(t,r,n),n){let o=n.parent;for(;o&&o.parent;)Va(o.parent.vnode)&&xm(r,t,n,o),o=o.parent}}function xm(e,t,n,r){const o=Oi(t,e,r,!0);uf(()=>{Ea(r[t],o)},n)}function Oi(e,t,n=Ne,r=!1){if(n){const o=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...s)=>{sn();const a=Ln(n),l=gt(t,n,e,s);return a(),an(),l});return r?o.unshift(i):o.push(i),i}}const Ft=e=>(t,n=Ne)=>{(!eo||e==="sp")&&Oi(e,(...r)=>t(...r),n)},Am=Ft("bm"),Ii=Ft("m"),Pm=Ft("bu"),cf=Ft("u"),Ha=Ft("bum"),uf=Ft("um"),Rm=Ft("sp"),km=Ft("rtg"),Lm=Ft("rtc");function ff(e,t=Ne){Oi("ec",e,t)}const df="components";function Vt(e,t){return mf(df,e,!0,t)||e}const pf=Symbol.for("v-ndc");function hf(e){return Ee(e)?mf(df,e,!1)||e:e||pf}function mf(e,t,n=!0,r=!1){const o=De||Ne;if(o){const i=o.type;{const a=Eg(i,!1);if(a&&(a===t||a===at(t)||a===Ai(at(t))))return i}const s=Dl(o[e]||i[e],t)||Dl(o.appContext[e],t);return!s&&r?i:s}}function Dl(e,t){return e&&(e[t]||e[at(t)]||e[Ai(at(t))])}function It(e,t,n,r){let o;const i=n,s=Z(e);if(s||Ee(e)){const a=s&&xn(e);let l=!1;a&&(l=!st(e),e=Ri(e)),o=new Array(e.length);for(let c=0,u=e.length;c<u;c++)o[c]=t(l?Ue(e[c]):e[c],c,void 0,i)}else if(typeof e=="number"){o=new Array(e);for(let a=0;a<e;a++)o[a]=t(a+1,a,void 0,i)}else if(ge(e))if(e[Symbol.iterator])o=Array.from(e,(a,l)=>t(a,l,void 0,i));else{const a=Object.keys(e);o=new Array(a.length);for(let l=0,c=a.length;l<c;l++){const u=a[l];o[l]=t(e[u],u,l,i)}}else o=[];return o}function Le(e,t,n={},r,o){if(De.ce||De.parent&&An(De.parent)&&De.parent.ce)return t!=="default"&&(n.name=t),j(),pe(me,null,[J("slot",n,r&&r())],64);let i=e[t];i&&i._c&&(i._d=!1),j();const s=i&&gf(i(n)),a=pe(me,{key:(n.key||s&&s.key||`_${t}`)+(!s&&r?"_fb":"")},s||(r?r():[]),s&&e._===1?64:-2);return!o&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function gf(e){return e.some(t=>nr(t)?!(t.type===lt||t.type===me&&!gf(t.children)):!0)?e:null}const Os=e=>e?Bf(e)?Di(e):Os(e.parent):null,Cr=Oe(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=>Os(e.parent),$root:e=>Os(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Fa(e),$forceUpdate:e=>e.f||(e.f=()=>{$a(e.update)}),$nextTick:e=>e.n||(e.n=Ht.bind(e.proxy)),$watch:e=>Zm.bind(e)}),ns=(e,t)=>e!==_e&&!e.__isScriptSetup&&de(e,t),Om={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:r,data:o,props:i,accessCache:s,type:a,appContext:l}=e;let c;if(t[0]!=="$"){const p=s[t];if(p!==void 0)switch(p){case 1:return r[t];case 2:return o[t];case 4:return n[t];case 3:return i[t]}else{if(ns(r,t))return s[t]=1,r[t];if(o!==_e&&de(o,t))return s[t]=2,o[t];if((c=e.propsOptions[0])&&de(c,t))return s[t]=3,i[t];if(n!==_e&&de(n,t))return s[t]=4,n[t];Is&&(s[t]=0)}}const u=Cr[t];let f,d;if(u)return t==="$attrs"&&We(e.attrs,"get",""),u(e);if((f=a.__cssModules)&&(f=f[t]))return f;if(n!==_e&&de(n,t))return s[t]=4,n[t];if(d=l.config.globalProperties,de(d,t))return d[t]},set({_:e},t,n){const{data:r,setupState:o,ctx:i}=e;return ns(o,t)?(o[t]=n,!0):r!==_e&&de(r,t)?(r[t]=n,!0):de(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:r,appContext:o,propsOptions:i}},s){let a;return!!n[s]||e!==_e&&de(e,s)||ns(t,s)||(a=i[0])&&de(a,s)||de(r,s)||de(Cr,s)||de(o.config.globalProperties,s)},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:de(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function $l(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function Im(e){const t=fr();let n=e();return Vs(),Ta(n)&&(n=n.catch(r=>{throw Ln(t),r})),[n,()=>Ln(t)]}let Is=!0;function Nm(e){const t=Fa(e),n=e.proxy,r=e.ctx;Is=!1,t.beforeCreate&&Ml(t.beforeCreate,e,"bc");const{data:o,computed:i,methods:s,watch:a,provide:l,inject:c,created:u,beforeMount:f,mounted:d,beforeUpdate:p,updated:h,activated:m,deactivated:y,beforeDestroy:b,beforeUnmount:E,destroyed:g,unmounted:w,render:C,renderTracked:P,renderTriggered:D,errorCaptured:W,serverPrefetch:L,expose:S,inheritAttrs:O,components:R,directives:x,filters:A}=t;if(c&&Dm(c,r,null),s)for(const q in s){const U=s[q];te(U)&&(r[q]=U.bind(n))}if(o){const q=o.call(n,n);ge(q)&&(e.data=tn(q))}if(Is=!0,i)for(const q in i){const U=i[q],ne=te(U)?U.bind(n,n):te(U.get)?U.get.bind(n,n):Et,Se=!te(U)&&te(U.set)?U.set.bind(n):Et,we=xe({get:ne,set:Se});Object.defineProperty(r,q,{enumerable:!0,configurable:!0,get:()=>we.value,set:Me=>we.value=Me})}if(a)for(const q in a)_f(a[q],r,n,q);if(l){const q=te(l)?l.call(n):l;Reflect.ownKeys(q).forEach(U=>{vf(U,q[U])})}u&&Ml(u,e,"c");function I(q,U){Z(U)?U.forEach(ne=>q(ne.bind(n))):U&&q(U.bind(n))}if(I(Am,f),I(Ii,d),I(Pm,p),I(cf,h),I(Cm,m),I(Sm,y),I(ff,W),I(Lm,P),I(km,D),I(Ha,E),I(uf,w),I(Rm,L),Z(S))if(S.length){const q=e.exposed||(e.exposed={});S.forEach(U=>{Object.defineProperty(q,U,{get:()=>n[U],set:ne=>n[U]=ne})})}else e.exposed||(e.exposed={});C&&e.render===Et&&(e.render=C),O!=null&&(e.inheritAttrs=O),R&&(e.components=R),x&&(e.directives=x),L&&Ma(e)}function Dm(e,t,n=Et){Z(e)&&(e=Ns(e));for(const r in e){const o=e[r];let i;ge(o)?"default"in o?i=Xn(o.from||r,o.default,!0):i=Xn(o.from||r):i=Xn(o),Fe(i)?Object.defineProperty(t,r,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):t[r]=i}}function Ml(e,t,n){gt(Z(e)?e.map(r=>r.bind(t.proxy)):e.bind(t.proxy),t,n)}function _f(e,t,n,r){let o=r.includes(".")?If(n,r):()=>n[r];if(Ee(e)){const i=t[e];te(i)&&pt(o,i)}else if(te(e))pt(o,e.bind(n));else if(ge(e))if(Z(e))e.forEach(i=>_f(i,t,n,r));else{const i=te(e.handler)?e.handler.bind(n):t[e.handler];te(i)&&pt(o,i,e)}}function Fa(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:o,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:!o.length&&!n&&!r?l=t:(l={},o.length&&o.forEach(c=>Jo(l,c,s,!0)),Jo(l,t,s)),ge(t)&&i.set(t,l),l}function Jo(e,t,n,r=!1){const{mixins:o,extends:i}=t;i&&Jo(e,i,n,!0),o&&o.forEach(s=>Jo(e,s,n,!0));for(const s in t)if(!(r&&s==="expose")){const a=$m[s]||n&&n[s];e[s]=a?a(e[s],t[s]):t[s]}return e}const $m={data:Vl,props:Hl,emits:Hl,methods:br,computed:br,beforeCreate:Ge,created:Ge,beforeMount:Ge,mounted:Ge,beforeUpdate:Ge,updated:Ge,beforeDestroy:Ge,beforeUnmount:Ge,destroyed:Ge,unmounted:Ge,activated:Ge,deactivated:Ge,errorCaptured:Ge,serverPrefetch:Ge,components:br,directives:br,watch:Vm,provide:Vl,inject:Mm};function Vl(e,t){return t?e?function(){return Oe(te(e)?e.call(this,this):e,te(t)?t.call(this,this):t)}:t:e}function Mm(e,t){return br(Ns(e),Ns(t))}function Ns(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ge(e,t){return e?[...new Set([].concat(e,t))]:t}function br(e,t){return e?Oe(Object.create(null),e,t):t}function Hl(e,t){return e?Z(e)&&Z(t)?[...new Set([...e,...t])]:Oe(Object.create(null),$l(e),$l(t??{})):t}function Vm(e,t){if(!e)return t;if(!t)return e;const n=Oe(Object.create(null),e);for(const r in t)n[r]=Ge(e[r],t[r]);return n}function yf(){return{app:null,config:{isNativeTag:dh,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 Hm=0;function Fm(e,t){return function(r,o=null){te(r)||(r=Oe({},r)),o!=null&&!ge(o)&&(o=null);const i=yf(),s=new WeakSet,a=[];let l=!1;const c=i.app={_uid:Hm++,_component:r,_props:o,_container:null,_context:i,_instance:null,version:Uf,get config(){return i.config},set config(u){},use(u,...f){return s.has(u)||(u&&te(u.install)?(s.add(u),u.install(c,...f)):te(u)&&(s.add(u),u(c,...f))),c},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),c},component(u,f){return f?(i.components[u]=f,c):i.components[u]},directive(u,f){return f?(i.directives[u]=f,c):i.directives[u]},mount(u,f,d){if(!l){const p=c._ceVNode||J(r,o);return p.appContext=i,d===!0?d="svg":d===!1&&(d=void 0),f&&t?t(p,u):e(p,u,d),l=!0,c._container=u,u.__vue_app__=c,Di(p.component)}},onUnmount(u){a.push(u)},unmount(){l&&(gt(a,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return i.provides[u]=f,c},runWithContext(u){const f=Pn;Pn=c;try{return u()}finally{Pn=f}}};return c}}let Pn=null;function vf(e,t){if(Ne){let n=Ne.provides;const r=Ne.parent&&Ne.parent.provides;r===n&&(n=Ne.provides=Object.create(r)),n[e]=t}}function Xn(e,t,n=!1){const r=Ne||De;if(r||Pn){const o=Pn?Pn._context.provides:r?r.parent==null?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&te(t)?t.call(r&&r.proxy):t}}function bf(){return!!(Ne||De||Pn)}const wf={},Ef=()=>Object.create(wf),Tf=e=>Object.getPrototypeOf(e)===wf;function Bm(e,t,n,r=!1){const o={},i=Ef();e.propsDefaults=Object.create(null),Cf(e,t,o,i);for(const s in e.propsOptions[0])s in o||(o[s]=void 0);n?e.props=r?o:En(o):e.type.props?e.props=o:e.props=i,e.attrs=i}function jm(e,t,n,r){const{props:o,attrs:i,vnode:{patchFlag:s}}=e,a=fe(o),[l]=e.propsOptions;let c=!1;if((r||s>0)&&!(s&16)){if(s&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let d=u[f];if(Ni(e.emitsOptions,d))continue;const p=t[d];if(l)if(de(i,d))p!==i[d]&&(i[d]=p,c=!0);else{const h=at(d);o[h]=Ds(l,a,h,p,e,!1)}else p!==i[d]&&(i[d]=p,c=!0)}}}else{Cf(e,t,o,i)&&(c=!0);let u;for(const f in a)(!t||!de(t,f)&&((u=on(f))===f||!de(t,u)))&&(l?n&&(n[f]!==void 0||n[u]!==void 0)&&(o[f]=Ds(l,a,f,void 0,e,!0)):delete o[f]);if(i!==a)for(const f in i)(!t||!de(t,f))&&(delete i[f],c=!0)}c&&Mt(e.attrs,"set","")}function Cf(e,t,n,r){const[o,i]=e.propsOptions;let s=!1,a;if(t)for(let l in t){if(Kn(l))continue;const c=t[l];let u;o&&de(o,u=at(l))?!i||!i.includes(u)?n[u]=c:(a||(a={}))[u]=c:Ni(e.emitsOptions,l)||(!(l in r)||c!==r[l])&&(r[l]=c,s=!0)}if(i){const l=fe(n),c=a||_e;for(let u=0;u<i.length;u++){const f=i[u];n[f]=Ds(o,l,f,c[f],e,!de(c,f))}}return s}function Ds(e,t,n,r,o,i){const s=e[n];if(s!=null){const a=de(s,"default");if(a&&r===void 0){const l=s.default;if(s.type!==Function&&!s.skipFactory&&te(l)){const{propsDefaults:c}=o;if(n in c)r=c[n];else{const u=Ln(o);r=c[n]=l.call(null,t),u()}}else r=l;o.ce&&o.ce._setProp(n,r)}s[0]&&(i&&!a?r=!1:s[1]&&(r===""||r===on(n))&&(r=!0))}return r}const Um=new WeakMap;function Sf(e,t,n=!1){const r=n?Um:t.propsCache,o=r.get(e);if(o)return o;const i=e.props,s={},a=[];let l=!1;if(!te(e)){const u=f=>{l=!0;const[d,p]=Sf(f,t,!0);Oe(s,d),p&&a.push(...p)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!l)return ge(e)&&r.set(e,zn),zn;if(Z(i))for(let u=0;u<i.length;u++){const f=at(i[u]);Fl(f)&&(s[f]=_e)}else if(i)for(const u in i){const f=at(u);if(Fl(f)){const d=i[u],p=s[f]=Z(d)||te(d)?{type:d}:Oe({},d),h=p.type;let m=!1,y=!0;if(Z(h))for(let b=0;b<h.length;++b){const E=h[b],g=te(E)&&E.name;if(g==="Boolean"){m=!0;break}else g==="String"&&(y=!1)}else m=te(h)&&h.name==="Boolean";p[0]=m,p[1]=y,(m||de(p,"default"))&&a.push(f)}}const c=[s,a];return ge(e)&&r.set(e,c),c}function Fl(e){return e[0]!=="$"&&!Kn(e)}const xf=e=>e[0]==="_"||e==="$stable",Ba=e=>Z(e)?e.map(tt):[tt(e)],Wm=(e,t,n)=>{if(t._n)return t;const r=oe((...o)=>Ba(t(...o)),n);return r._c=!1,r},Af=(e,t,n)=>{const r=e._ctx;for(const o in e){if(xf(o))continue;const i=e[o];if(te(i))t[o]=Wm(o,i,r);else if(i!=null){const s=Ba(i);t[o]=()=>s}}},Pf=(e,t)=>{const n=Ba(t);e.slots.default=()=>n},Rf=(e,t,n)=>{for(const r in t)(n||r!=="_")&&(e[r]=t[r])},Gm=(e,t,n)=>{const r=e.slots=Ef();if(e.vnode.shapeFlag&32){const o=t._;o?(Rf(r,t,n),n&&Ru(r,"_",o,!0)):Af(t,r)}else t&&Pf(e,t)},zm=(e,t,n)=>{const{vnode:r,slots:o}=e;let i=!0,s=_e;if(r.shapeFlag&32){const a=t._;a?n&&a===1?i=!1:Rf(o,t,n):(i=!t.$stable,Af(t,o)),s=t}else t&&(Pf(e,t),s={default:1});if(i)for(const a in o)!xf(a)&&s[a]==null&&delete o[a]},Je=Mf;function qm(e){return kf(e)}function Km(e){return kf(e,wm)}function kf(e,t){const n=Lu();n.__VUE__=!0;const{insert:r,remove:o,patchProp:i,createElement:s,createText:a,createComment:l,setText:c,setElementText:u,parentNode:f,nextSibling:d,setScopeId:p=Et,insertStaticContent:h}=e,m=(v,T,k,V=null,N=null,$=null,K=void 0,z=null,G=!!T.dynamicChildren)=>{if(v===T)return;v&&!Nt(v,T)&&(V=Ut(v),Me(v,N,$,!0),v=null),T.patchFlag===-2&&(G=!1,T.dynamicChildren=null);const{type:H,ref:ee,shapeFlag:X}=T;switch(H){case Rn:y(v,T,k,V);break;case lt:b(v,T,k,V);break;case Sr:v==null&&E(T,k,V,K);break;case me:R(v,T,k,V,N,$,K,z,G);break;default:X&1?C(v,T,k,V,N,$,K,z,G):X&6?x(v,T,k,V,N,$,K,z,G):(X&64||X&128)&&H.process(v,T,k,V,N,$,K,z,G,$n)}ee!=null&&N&&Ko(ee,v&&v.ref,$,T||v,!T)},y=(v,T,k,V)=>{if(v==null)r(T.el=a(T.children),k,V);else{const N=T.el=v.el;T.children!==v.children&&c(N,T.children)}},b=(v,T,k,V)=>{v==null?r(T.el=l(T.children||""),k,V):T.el=v.el},E=(v,T,k,V)=>{[v.el,v.anchor]=h(v.children,T,k,V,v.el,v.anchor)},g=({el:v,anchor:T},k,V)=>{let N;for(;v&&v!==T;)N=d(v),r(v,k,V),v=N;r(T,k,V)},w=({el:v,anchor:T})=>{let k;for(;v&&v!==T;)k=d(v),o(v),v=k;o(T)},C=(v,T,k,V,N,$,K,z,G)=>{T.type==="svg"?K="svg":T.type==="math"&&(K="mathml"),v==null?P(T,k,V,N,$,K,z,G):L(v,T,N,$,K,z,G)},P=(v,T,k,V,N,$,K,z)=>{let G,H;const{props:ee,shapeFlag:X,transition:Q,dirs:re}=v;if(G=v.el=s(v.type,$,ee&&ee.is,ee),X&8?u(G,v.children):X&16&&W(v.children,G,null,V,N,rs(v,$),K,z),re&&wt(v,null,V,"created"),D(G,v,v.scopeId,K,V),ee){for(const ye in ee)ye!=="value"&&!Kn(ye)&&i(G,ye,null,ee[ye],$,V);"value"in ee&&i(G,"value",null,ee.value,$),(H=ee.onVnodeBeforeMount)&&ot(H,V,v)}re&&wt(v,null,V,"beforeMount");const le=Lf(N,Q);le&&Q.beforeEnter(G),r(G,T,k),((H=ee&&ee.onVnodeMounted)||le||re)&&Je(()=>{H&&ot(H,V,v),le&&Q.enter(G),re&&wt(v,null,V,"mounted")},N)},D=(v,T,k,V,N)=>{if(k&&p(v,k),V)for(let $=0;$<V.length;$++)p(v,V[$]);if(N){let $=N.subTree;if(T===$||Df($.type)&&($.ssContent===T||$.ssFallback===T)){const K=N.vnode;D(v,K,K.scopeId,K.slotScopeIds,N.parent)}}},W=(v,T,k,V,N,$,K,z,G=0)=>{for(let H=G;H<v.length;H++){const ee=v[H]=z?Xt(v[H]):tt(v[H]);m(null,ee,T,k,V,N,$,K,z)}},L=(v,T,k,V,N,$,K)=>{const z=T.el=v.el;let{patchFlag:G,dynamicChildren:H,dirs:ee}=T;G|=v.patchFlag&16;const X=v.props||_e,Q=T.props||_e;let re;if(k&&dn(k,!1),(re=Q.onVnodeBeforeUpdate)&&ot(re,k,T,v),ee&&wt(T,v,k,"beforeUpdate"),k&&dn(k,!0),(X.innerHTML&&Q.innerHTML==null||X.textContent&&Q.textContent==null)&&u(z,""),H?S(v.dynamicChildren,H,z,k,V,rs(T,N),$):K||U(v,T,z,null,k,V,rs(T,N),$,!1),G>0){if(G&16)O(z,X,Q,k,N);else if(G&2&&X.class!==Q.class&&i(z,"class",null,Q.class,N),G&4&&i(z,"style",X.style,Q.style,N),G&8){const le=T.dynamicProps;for(let ye=0;ye<le.length;ye++){const he=le[ye],Ye=X[he],Be=Q[he];(Be!==Ye||he==="value")&&i(z,he,Ye,Be,N,k)}}G&1&&v.children!==T.children&&u(z,T.children)}else!K&&H==null&&O(z,X,Q,k,N);((re=Q.onVnodeUpdated)||ee)&&Je(()=>{re&&ot(re,k,T,v),ee&&wt(T,v,k,"updated")},V)},S=(v,T,k,V,N,$,K)=>{for(let z=0;z<T.length;z++){const G=v[z],H=T[z],ee=G.el&&(G.type===me||!Nt(G,H)||G.shapeFlag&70)?f(G.el):k;m(G,H,ee,null,V,N,$,K,!0)}},O=(v,T,k,V,N)=>{if(T!==k){if(T!==_e)for(const $ in T)!Kn($)&&!($ in k)&&i(v,$,T[$],null,N,V);for(const $ in k){if(Kn($))continue;const K=k[$],z=T[$];K!==z&&$!=="value"&&i(v,$,z,K,N,V)}"value"in k&&i(v,"value",T.value,k.value,N)}},R=(v,T,k,V,N,$,K,z,G)=>{const H=T.el=v?v.el:a(""),ee=T.anchor=v?v.anchor:a("");let{patchFlag:X,dynamicChildren:Q,slotScopeIds:re}=T;re&&(z=z?z.concat(re):re),v==null?(r(H,k,V),r(ee,k,V),W(T.children||[],k,ee,N,$,K,z,G)):X>0&&X&64&&Q&&v.dynamicChildren?(S(v.dynamicChildren,Q,k,N,$,K,z),(T.key!=null||N&&T===N.subTree)&&ja(v,T,!0)):U(v,T,k,ee,N,$,K,z,G)},x=(v,T,k,V,N,$,K,z,G)=>{T.slotScopeIds=z,v==null?T.shapeFlag&512?N.ctx.activate(T,k,V,K,G):A(T,k,V,N,$,K,G):F(v,T,G)},A=(v,T,k,V,N,$,K)=>{const z=v.component=_g(v,V,N);if(Va(v)&&(z.ctx.renderer=$n),yg(z,!1,K),z.asyncDep){if(N&&N.registerDep(z,I,K),!v.el){const G=z.subTree=J(lt);b(null,G,T,k)}}else I(z,v,T,k,N,$,K)},F=(v,T,k)=>{const V=T.component=v.component;if(ig(v,T,k))if(V.asyncDep&&!V.asyncResolved){q(V,T,k);return}else V.next=T,V.update();else T.el=v.el,V.vnode=T},I=(v,T,k,V,N,$,K)=>{const z=()=>{if(v.isMounted){let{next:X,bu:Q,u:re,parent:le,vnode:ye}=v;{const Qe=Of(v);if(Qe){X&&(X.el=ye.el,q(v,X,K)),Qe.asyncDep.then(()=>{v.isUnmounted||z()});return}}let he=X,Ye;dn(v,!1),X?(X.el=ye.el,q(v,X,K)):X=ye,Q&&Lo(Q),(Ye=X.props&&X.props.onVnodeBeforeUpdate)&&ot(Ye,le,X,ye),dn(v,!0);const Be=os(v),ut=v.subTree;v.subTree=Be,m(ut,Be,f(ut.el),Ut(ut),v,N,$),X.el=Be.el,he===null&&Wa(v,Be.el),re&&Je(re,N),(Ye=X.props&&X.props.onVnodeUpdated)&&Je(()=>ot(Ye,le,X,ye),N)}else{let X;const{el:Q,props:re}=T,{bm:le,m:ye,parent:he,root:Ye,type:Be}=v,ut=An(T);if(dn(v,!1),le&&Lo(le),!ut&&(X=re&&re.onVnodeBeforeMount)&&ot(X,he,T),dn(v,!0),Q&&Ji){const Qe=()=>{v.subTree=os(v),Ji(Q,v.subTree,v,N,null)};ut&&Be.__asyncHydrate?Be.__asyncHydrate(Q,v,Qe):Qe()}else{Ye.ce&&Ye.ce._injectChildStyle(Be);const Qe=v.subTree=os(v);m(null,Qe,k,V,v,N,$),T.el=Qe.el}if(ye&&Je(ye,N),!ut&&(X=re&&re.onVnodeMounted)){const Qe=T;Je(()=>ot(X,he,Qe),N)}(T.shapeFlag&256||he&&An(he.vnode)&&he.vnode.shapeFlag&256)&&v.a&&Je(v.a,N),v.isMounted=!0,T=k=V=null}};v.scope.on();const G=v.effect=new Vu(z);v.scope.off();const H=v.update=G.run.bind(G),ee=v.job=G.runIfDirty.bind(G);ee.i=v,ee.id=v.uid,G.scheduler=()=>$a(ee),dn(v,!0),H()},q=(v,T,k)=>{T.component=v;const V=v.vnode.props;v.vnode=T,v.next=null,jm(v,T.props,V,k),zm(v,T.children,k),sn(),Rl(v),an()},U=(v,T,k,V,N,$,K,z,G=!1)=>{const H=v&&v.children,ee=v?v.shapeFlag:0,X=T.children,{patchFlag:Q,shapeFlag:re}=T;if(Q>0){if(Q&128){Se(H,X,k,V,N,$,K,z,G);return}else if(Q&256){ne(H,X,k,V,N,$,K,z,G);return}}re&8?(ee&16&&jt(H,N,$),X!==H&&u(k,X)):ee&16?re&16?Se(H,X,k,V,N,$,K,z,G):jt(H,N,$,!0):(ee&8&&u(k,""),re&16&&W(X,k,V,N,$,K,z,G))},ne=(v,T,k,V,N,$,K,z,G)=>{v=v||zn,T=T||zn;const H=v.length,ee=T.length,X=Math.min(H,ee);let Q;for(Q=0;Q<X;Q++){const re=T[Q]=G?Xt(T[Q]):tt(T[Q]);m(v[Q],re,k,null,N,$,K,z,G)}H>ee?jt(v,N,$,!0,!1,X):W(T,k,V,N,$,K,z,G,X)},Se=(v,T,k,V,N,$,K,z,G)=>{let H=0;const ee=T.length;let X=v.length-1,Q=ee-1;for(;H<=X&&H<=Q;){const re=v[H],le=T[H]=G?Xt(T[H]):tt(T[H]);if(Nt(re,le))m(re,le,k,null,N,$,K,z,G);else break;H++}for(;H<=X&&H<=Q;){const re=v[X],le=T[Q]=G?Xt(T[Q]):tt(T[Q]);if(Nt(re,le))m(re,le,k,null,N,$,K,z,G);else break;X--,Q--}if(H>X){if(H<=Q){const re=Q+1,le=re<ee?T[re].el:V;for(;H<=Q;)m(null,T[H]=G?Xt(T[H]):tt(T[H]),k,le,N,$,K,z,G),H++}}else if(H>Q)for(;H<=X;)Me(v[H],N,$,!0),H++;else{const re=H,le=H,ye=new Map;for(H=le;H<=Q;H++){const Ze=T[H]=G?Xt(T[H]):tt(T[H]);Ze.key!=null&&ye.set(Ze.key,H)}let he,Ye=0;const Be=Q-le+1;let ut=!1,Qe=0;const pr=new Array(Be);for(H=0;H<Be;H++)pr[H]=0;for(H=re;H<=X;H++){const Ze=v[H];if(Ye>=Be){Me(Ze,N,$,!0);continue}let yt;if(Ze.key!=null)yt=ye.get(Ze.key);else for(he=le;he<=Q;he++)if(pr[he-le]===0&&Nt(Ze,T[he])){yt=he;break}yt===void 0?Me(Ze,N,$,!0):(pr[yt-le]=H+1,yt>=Qe?Qe=yt:ut=!0,m(Ze,T[yt],k,null,N,$,K,z,G),Ye++)}const vl=ut?Jm(pr):zn;for(he=vl.length-1,H=Be-1;H>=0;H--){const Ze=le+H,yt=T[Ze],bl=Ze+1<ee?T[Ze+1].el:V;pr[H]===0?m(null,yt,k,bl,N,$,K,z,G):ut&&(he<0||H!==vl[he]?we(yt,k,bl,2):he--)}}},we=(v,T,k,V,N=null)=>{const{el:$,type:K,transition:z,children:G,shapeFlag:H}=v;if(H&6){we(v.component.subTree,T,k,V);return}if(H&128){v.suspense.move(T,k,V);return}if(H&64){K.move(v,T,k,$n);return}if(K===me){r($,T,k);for(let X=0;X<G.length;X++)we(G[X],T,k,V);r(v.anchor,T,k);return}if(K===Sr){g(v,T,k);return}if(V!==2&&H&1&&z)if(V===0)z.beforeEnter($),r($,T,k),Je(()=>z.enter($),N);else{const{leave:X,delayLeave:Q,afterLeave:re}=z,le=()=>r($,T,k),ye=()=>{X($,()=>{le(),re&&re()})};Q?Q($,le,ye):ye()}else r($,T,k)},Me=(v,T,k,V=!1,N=!1)=>{const{type:$,props:K,ref:z,children:G,dynamicChildren:H,shapeFlag:ee,patchFlag:X,dirs:Q,cacheIndex:re}=v;if(X===-2&&(N=!1),z!=null&&Ko(z,null,k,v,!0),re!=null&&(T.renderCache[re]=void 0),ee&256){T.ctx.deactivate(v);return}const le=ee&1&&Q,ye=!An(v);let he;if(ye&&(he=K&&K.onVnodeBeforeUnmount)&&ot(he,T,v),ee&6)un(v.component,k,V);else{if(ee&128){v.suspense.unmount(k,V);return}le&&wt(v,null,T,"beforeUnmount"),ee&64?v.type.remove(v,T,k,$n,V):H&&!H.hasOnce&&($!==me||X>0&&X&64)?jt(H,T,k,!1,!0):($===me&&X&384||!N&&ee&16)&&jt(G,T,k),V&&Bt(v)}(ye&&(he=K&&K.onVnodeUnmounted)||le)&&Je(()=>{he&&ot(he,T,v),le&&wt(v,null,T,"unmounted")},k)},Bt=v=>{const{type:T,el:k,anchor:V,transition:N}=v;if(T===me){_t(k,V);return}if(T===Sr){w(v);return}const $=()=>{o(k),N&&!N.persisted&&N.afterLeave&&N.afterLeave()};if(v.shapeFlag&1&&N&&!N.persisted){const{leave:K,delayLeave:z}=N,G=()=>K(k,$);z?z(v.el,$,G):G()}else $()},_t=(v,T)=>{let k;for(;v!==T;)k=d(v),o(v),v=k;o(T)},un=(v,T,k)=>{const{bum:V,scope:N,job:$,subTree:K,um:z,m:G,a:H}=v;Bl(G),Bl(H),V&&Lo(V),N.stop(),$&&($.flags|=8,Me(K,v,T,k)),z&&Je(z,T),Je(()=>{v.isUnmounted=!0},T),T&&T.pendingBranch&&!T.isUnmounted&&v.asyncDep&&!v.asyncResolved&&v.suspenseId===T.pendingId&&(T.deps--,T.deps===0&&T.resolve())},jt=(v,T,k,V=!1,N=!1,$=0)=>{for(let K=$;K<v.length;K++)Me(v[K],T,k,V,N)},Ut=v=>{if(v.shapeFlag&6)return Ut(v.component.subTree);if(v.shapeFlag&128)return v.suspense.next();const T=d(v.anchor||v.el),k=T&&T[of];return k?d(k):T};let fn=!1;const yl=(v,T,k)=>{v==null?T._vnode&&Me(T._vnode,null,null,!0):m(T._vnode||null,v,T,null,null,null,k),T._vnode=v,fn||(fn=!0,Rl(),zo(),fn=!1)},$n={p:m,um:Me,m:we,r:Bt,mt:A,mc:W,pc:U,pbc:S,n:Ut,o:e};let Ki,Ji;return t&&([Ki,Ji]=t($n)),{render:yl,hydrate:Ki,createApp:Fm(yl,Ki)}}function rs({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 dn({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Lf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ja(e,t,n=!1){const r=e.children,o=t.children;if(Z(r)&&Z(o))for(let i=0;i<r.length;i++){const s=r[i];let a=o[i];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=o[i]=Xt(o[i]),a.el=s.el),!n&&a.patchFlag!==-2&&ja(s,a)),a.type===Rn&&(a.el=s.el)}}function Jm(e){const t=e.slice(),n=[0];let r,o,i,s,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(i=0,s=n.length-1;i<s;)a=i+s>>1,e[n[a]]<c?i=a+1:s=a;c<e[n[i]]&&(i>0&&(t[r]=n[i-1]),n[i]=r)}}for(i=n.length,s=n[i-1];i-- >0;)n[i]=s,s=t[s];return n}function Of(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Of(t)}function Bl(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Xm=Symbol.for("v-scx"),Ym=()=>Xn(Xm);function Qm(e,t){return Ua(e,null,t)}function pt(e,t,n){return Ua(e,t,n)}function Ua(e,t,n=_e){const{immediate:r,deep:o,flush:i,once:s}=n,a=Oe({},n);let l;if(eo)if(i==="sync"){const d=Ym();l=d.__watcherHandles||(d.__watcherHandles=[])}else if(!t||r)a.once=!0;else{const d=()=>{};return d.stop=Et,d.resume=Et,d.pause=Et,d}const c=Ne;a.call=(d,p,h)=>gt(d,c,p,h);let u=!1;i==="post"?a.scheduler=d=>{Je(d,c&&c.suspense)}:i!=="sync"&&(u=!0,a.scheduler=(d,p)=>{p?d():$a(d)}),a.augmentJob=d=>{t&&(d.flags|=4),u&&(d.flags|=2,c&&(d.id=c.uid,d.i=c))};const f=im(e,t,a);return l&&l.push(f),f}function Zm(e,t,n){const r=this.proxy,o=Ee(e)?e.includes(".")?If(r,e):()=>r[e]:e.bind(r,r);let i;te(t)?i=t:(i=t.handler,n=t);const s=Ln(this),a=Ua(o,i.bind(r),n);return s(),a}function If(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}}const eg=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${at(t)}Modifiers`]||e[`${on(t)}Modifiers`];function tg(e,t,...n){if(e.isUnmounted)return;const r=e.vnode.props||_e;let o=n;const i=t.startsWith("update:"),s=i&&eg(r,t.slice(7));s&&(s.trim&&(o=n.map(u=>Ee(u)?u.trim():u)),s.number&&(o=n.map(_h)));let a,l=r[a=Xi(t)]||r[a=Xi(at(t))];!l&&i&&(l=r[a=Xi(on(t))]),l&>(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,gt(c,e,6,o)}}function Nf(e,t,n=!1){const r=t.emitsCache,o=r.get(e);if(o!==void 0)return o;const i=e.emits;let s={},a=!1;if(!te(e)){const l=c=>{const u=Nf(c,t,!0);u&&(a=!0,Oe(s,u))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!a?(ge(e)&&r.set(e,null),null):(Z(i)?i.forEach(l=>s[l]=null):Oe(s,i),ge(e)&&r.set(e,s),s)}function Ni(e,t){return!e||!Yr(t)?!1:(t=t.slice(2).replace(/Once$/,""),de(e,t[0].toLowerCase()+t.slice(1))||de(e,on(t))||de(e,t))}function os(e){const{type:t,vnode:n,proxy:r,withProxy:o,propsOptions:[i],slots:s,attrs:a,emit:l,render:c,renderCache:u,props:f,data:d,setupState:p,ctx:h,inheritAttrs:m}=e,y=qo(e);let b,E;try{if(n.shapeFlag&4){const w=o||r,C=w;b=tt(c.call(C,w,u,f,p,d,h)),E=a}else{const w=t;b=tt(w.length>1?w(f,{attrs:a,slots:s,emit:l}):w(f,null)),E=t.props?a:rg(a)}}catch(w){xr.length=0,ur(w,e,1),b=J(lt)}let g=b;if(E&&m!==!1){const w=Object.keys(E),{shapeFlag:C}=g;w.length&&C&7&&(i&&w.some(wa)&&(E=og(E,i)),g=kn(g,E,!1,!0))}return n.dirs&&(g=kn(g,null,!1,!0),g.dirs=g.dirs?g.dirs.concat(n.dirs):n.dirs),n.transition&&Fr(g,n.transition),b=g,qo(y),b}function ng(e,t=!0){let n;for(let r=0;r<e.length;r++){const o=e[r];if(nr(o)){if(o.type!==lt||o.children==="v-if"){if(n)return;n=o}}else return}return n}const rg=e=>{let t;for(const n in e)(n==="class"||n==="style"||Yr(n))&&((t||(t={}))[n]=e[n]);return t},og=(e,t)=>{const n={};for(const r in e)(!wa(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function ig(e,t,n){const{props:r,children:o,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return r?jl(r,s,c):!!s;if(l&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const d=u[f];if(s[d]!==r[d]&&!Ni(c,d))return!0}}}else return(o||a)&&(!a||!a.$stable)?!0:r===s?!1:r?s?jl(r,s,c):!0:!!s;return!1}function jl(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 i=r[o];if(t[i]!==e[i]&&!Ni(n,i))return!0}return!1}function Wa({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 Df=e=>e.__isSuspense;let $s=0;const sg={name:"Suspense",__isSuspense:!0,process(e,t,n,r,o,i,s,a,l,c){if(e==null)lg(t,n,r,o,i,s,a,l,c);else{if(i&&i.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}cg(e,t,n,r,o,s,a,l,c)}},hydrate:ug,normalize:fg},ag=sg;function Br(e,t){const n=e.props&&e.props[t];te(n)&&n()}function lg(e,t,n,r,o,i,s,a,l){const{p:c,o:{createElement:u}}=l,f=u("div"),d=e.suspense=$f(e,o,r,t,f,n,i,s,a,l);c(null,d.pendingBranch=e.ssContent,f,null,r,d,i,s),d.deps>0?(Br(e,"onPending"),Br(e,"onFallback"),c(null,e.ssFallback,t,n,r,null,i,s),Yn(d,e.ssFallback)):d.resolve(!1,!0)}function cg(e,t,n,r,o,i,s,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,p=t.ssFallback,{activeBranch:h,pendingBranch:m,isInFallback:y,isHydrating:b}=f;if(m)f.pendingBranch=d,Nt(d,m)?(l(m,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():y&&(b||(l(h,p,n,r,o,null,i,s,a),Yn(f,p)))):(f.pendingId=$s++,b?(f.isHydrating=!1,f.activeBranch=m):c(m,o,f),f.deps=0,f.effects.length=0,f.hiddenContainer=u("div"),y?(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0?f.resolve():(l(h,p,n,r,o,null,i,s,a),Yn(f,p))):h&&Nt(d,h)?(l(h,d,n,r,o,f,i,s,a),f.resolve(!0)):(l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0&&f.resolve()));else if(h&&Nt(d,h))l(h,d,n,r,o,f,i,s,a),Yn(f,d);else if(Br(t,"onPending"),f.pendingBranch=d,d.shapeFlag&512?f.pendingId=d.component.suspenseId:f.pendingId=$s++,l(null,d,f.hiddenContainer,null,o,f,i,s,a),f.deps<=0)f.resolve();else{const{timeout:E,pendingId:g}=f;E>0?setTimeout(()=>{f.pendingId===g&&f.fallback(p)},E):E===0&&f.fallback(p)}}function $f(e,t,n,r,o,i,s,a,l,c,u=!1){const{p:f,m:d,um:p,n:h,o:{parentNode:m,remove:y}}=c;let b;const E=dg(e);E&&t&&t.pendingBranch&&(b=t.pendingId,t.deps++);const g=e.props?ku(e.props.timeout):void 0,w=i,C={vnode:e,parent:t,parentComponent:n,namespace:s,container:r,hiddenContainer:o,deps:0,pendingId:$s++,timeout:typeof g=="number"?g:-1,activeBranch:null,pendingBranch:null,isInFallback:!u,isHydrating:u,isUnmounted:!1,effects:[],resolve(P=!1,D=!1){const{vnode:W,activeBranch:L,pendingBranch:S,pendingId:O,effects:R,parentComponent:x,container:A}=C;let F=!1;C.isHydrating?C.isHydrating=!1:P||(F=L&&S.transition&&S.transition.mode==="out-in",F&&(L.transition.afterLeave=()=>{O===C.pendingId&&(d(S,A,i===w?h(L):i,0),Rs(R))}),L&&(m(L.el)===A&&(i=h(L)),p(L,x,C,!0)),F||d(S,A,i,0)),Yn(C,S),C.pendingBranch=null,C.isInFallback=!1;let I=C.parent,q=!1;for(;I;){if(I.pendingBranch){I.effects.push(...R),q=!0;break}I=I.parent}!q&&!F&&Rs(R),C.effects=[],E&&t&&t.pendingBranch&&b===t.pendingId&&(t.deps--,t.deps===0&&!D&&t.resolve()),Br(W,"onResolve")},fallback(P){if(!C.pendingBranch)return;const{vnode:D,activeBranch:W,parentComponent:L,container:S,namespace:O}=C;Br(D,"onFallback");const R=h(W),x=()=>{C.isInFallback&&(f(null,P,S,R,L,null,O,a,l),Yn(C,P))},A=P.transition&&P.transition.mode==="out-in";A&&(W.transition.afterLeave=x),C.isInFallback=!0,p(W,L,null,!0),A||x()},move(P,D,W){C.activeBranch&&d(C.activeBranch,P,D,W),C.container=P},next(){return C.activeBranch&&h(C.activeBranch)},registerDep(P,D,W){const L=!!C.pendingBranch;L&&C.deps++;const S=P.vnode.el;P.asyncDep.catch(O=>{ur(O,P,0)}).then(O=>{if(P.isUnmounted||C.isUnmounted||C.pendingId!==P.suspenseId)return;P.asyncResolved=!0;const{vnode:R}=P;Hs(P,O,!1),S&&(R.el=S);const x=!S&&P.subTree.el;D(P,R,m(S||P.subTree.el),S?null:h(P.subTree),C,s,W),x&&y(x),Wa(P,R.el),L&&--C.deps===0&&C.resolve()})},unmount(P,D){C.isUnmounted=!0,C.activeBranch&&p(C.activeBranch,n,P,D),C.pendingBranch&&p(C.pendingBranch,n,P,D)}};return C}function ug(e,t,n,r,o,i,s,a,l){const c=t.suspense=$f(t,r,n,e.parentNode,document.createElement("div"),null,o,i,s,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,s);return c.deps===0&&c.resolve(!1,!0),u}function fg(e){const{shapeFlag:t,children:n}=e,r=t&32;e.ssContent=Ul(r?n.default:n),e.ssFallback=r?Ul(n.fallback):J(lt)}function Ul(e){let t;if(te(e)){const n=tr&&e._c;n&&(e._d=!1,j()),e=e(),n&&(e._d=!0,t=Xe,Vf())}return Z(e)&&(e=ng(e)),e=tt(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(n=>n!==e)),e}function Mf(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):Rs(e)}function Yn(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,Wa(r,o))}function dg(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const me=Symbol.for("v-fgt"),Rn=Symbol.for("v-txt"),lt=Symbol.for("v-cmt"),Sr=Symbol.for("v-stc"),xr=[];let Xe=null;function j(e=!1){xr.push(Xe=e?null:[])}function Vf(){xr.pop(),Xe=xr[xr.length-1]||null}let tr=1;function Wl(e){tr+=e,e<0&&Xe&&(Xe.hasOnce=!0)}function Hf(e){return e.dynamicChildren=tr>0?Xe||zn:null,Vf(),tr>0&&Xe&&Xe.push(e),e}function Y(e,t,n,r,o,i){return Hf(M(e,t,n,r,o,i,!0))}function pe(e,t,n,r,o){return Hf(J(e,t,n,r,o,!0))}function nr(e){return e?e.__v_isVNode===!0:!1}function Nt(e,t){return e.type===t.type&&e.key===t.key}const Ff=({key:e})=>e??null,Io=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?Ee(e)||Fe(e)||te(e)?{i:De,r:e,k:t,f:!!n}:e:null);function M(e,t=null,n=null,r=0,o=null,i=e===me?0:1,s=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ff(t),ref:t&&Io(t),scopeId:Li,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:De};return a?(za(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=Ee(n)?8:16),tr>0&&!s&&Xe&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&Xe.push(l),l}const J=pg;function pg(e,t=null,n=null,r=0,o=null,i=!1){if((!e||e===pf)&&(e=lt),nr(e)){const a=kn(e,t,!0);return n&&za(a,n),tr>0&&!i&&Xe&&(a.shapeFlag&6?Xe[Xe.indexOf(e)]=a:Xe.push(a)),a.patchFlag=-2,a}if(Tg(e)&&(e=e.__vccOpts),t){t=Ga(t);let{class:a,style:l}=t;a&&!Ee(a)&&(t.class=Ae(a)),ge(l)&&(Ia(l)&&!Z(l)&&(l=Oe({},l)),t.style=$t(l))}const s=Ee(e)?1:Df(e)?128:fm(e)?64:ge(e)?4:te(e)?2:0;return M(e,t,n,r,o,s,i,!0)}function Ga(e){return e?Ia(e)||Tf(e)?Oe({},e):e:null}function kn(e,t,n=!1,r=!1){const{props:o,ref:i,patchFlag:s,children:a,transition:l}=e,c=t?ln(o||{},t):o,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ff(c),ref:t&&t.ref?n&&i?Z(i)?i.concat(Io(t)):[i,Io(t)]:Io(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==me?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&kn(e.ssContent),ssFallback:e.ssFallback&&kn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Fr(u,l.clone(u)),u}function ue(e=" ",t=0){return J(Rn,null,e,t)}function hg(e,t){const n=J(Sr,null,e);return n.staticCount=t,n}function Te(e="",t=!1){return t?(j(),pe(lt,null,e)):J(lt,null,e)}function tt(e){return e==null||typeof e=="boolean"?J(lt):Z(e)?J(me,null,e.slice()):nr(e)?Xt(e):J(Rn,null,String(e))}function Xt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:kn(e)}function za(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),za(e,o()),o._c&&(o._d=!0));return}else{n=32;const o=t._;!o&&!Tf(t)?t._ctx=De:o===3&&De&&(De.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else te(t)?(t={default:t,_ctx:De},n=32):(t=String(t),r&64?(n=16,t=[ue(t)]):n=8);e.children=t,e.shapeFlag|=n}function ln(...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=Ae([t.class,r.class]));else if(o==="style")t.style=$t([t.style,r.style]);else if(Yr(o)){const i=t[o],s=r[o];s&&i!==s&&!(Z(i)&&i.includes(s))&&(t[o]=i?[].concat(i,s):s)}else o!==""&&(t[o]=r[o])}return t}function ot(e,t,n,r=null){gt(e,t,7,[n,r])}const mg=yf();let gg=0;function _g(e,t,n){const r=e.type,o=(t?t.appContext:e.appContext)||mg,i={uid:gg++,vnode:e,type:r,parent:t,appContext:o,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new $u(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(o.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Sf(r,o),emitsOptions:Nf(r,o),emit:null,emitted:null,propsDefaults:_e,inheritAttrs:r.inheritAttrs,ctx:_e,data:_e,props:_e,attrs:_e,slots:_e,refs:_e,setupState:_e,setupContext: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 i.ctx={_:i},i.root=t?t.root:i,i.emit=tg.bind(null,i),e.ce&&e.ce(i),i}let Ne=null;const fr=()=>Ne||De;let Xo,Ms;{const e=Lu(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),i=>{o.length>1?o.forEach(s=>s(i)):o[0](i)}};Xo=t("__VUE_INSTANCE_SETTERS__",n=>Ne=n),Ms=t("__VUE_SSR_SETTERS__",n=>eo=n)}const Ln=e=>{const t=Ne;return Xo(e),e.scope.on(),()=>{e.scope.off(),Xo(t)}},Vs=()=>{Ne&&Ne.scope.off(),Xo(null)};function Bf(e){return e.vnode.shapeFlag&4}let eo=!1;function yg(e,t=!1,n=!1){t&&Ms(t);const{props:r,children:o}=e.vnode,i=Bf(e);Bm(e,r,i,t),Gm(e,o,n);const s=i?vg(e,t):void 0;return t&&Ms(!1),s}function vg(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Om);const{setup:r}=n;if(r){const o=e.setupContext=r.length>1?wg(e):null,i=Ln(e);sn();const s=Zr(r,e,0,[e.props,o]);if(an(),i(),Ta(s)){if(An(e)||Ma(e),s.then(Vs,Vs),t)return s.then(a=>{Hs(e,a,t)}).catch(a=>{ur(a,e,0)});e.asyncDep=s}else Hs(e,s,t)}else jf(e,t)}function Hs(e,t,n){te(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ge(t)&&(e.setupState=Zu(t)),jf(e,n)}let Gl;function jf(e,t,n){const r=e.type;if(!e.render){if(!t&&Gl&&!r.render){const o=r.template||Fa(e).template;if(o){const{isCustomElement:i,compilerOptions:s}=e.appContext.config,{delimiters:a,compilerOptions:l}=r,c=Oe(Oe({isCustomElement:i,delimiters:a},s),l);r.render=Gl(o,c)}}e.render=r.render||Et}{const o=Ln(e);sn();try{Nm(e)}finally{an(),o()}}}const bg={get(e,t){return We(e,"get",""),e[t]}};function wg(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,bg),slots:e.slots,emit:e.emit,expose:t}}function Di(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Zu(Kh(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Cr)return Cr[n](e)},has(t,n){return n in t||n in Cr}})):e.proxy}function Eg(e,t=!0){return te(e)?e.displayName||e.name:e.name||t&&e.__name}function Tg(e){return te(e)&&"__vccOpts"in e}const xe=(e,t)=>rm(e,t,eo);function rr(e,t,n){const r=arguments.length;return r===2?ge(t)&&!Z(t)?nr(t)?J(e,null,[t]):J(e,t):J(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&nr(n)&&(n=[n]),J(e,t,n))}const Uf="3.5.10";/**
|
|
16
|
-
* @vue/runtime-dom v3.5.10
|
|
17
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
18
|
-
* @license MIT
|
|
19
|
-
**/let Fs;const zl=typeof window<"u"&&window.trustedTypes;if(zl)try{Fs=zl.createPolicy("vue",{createHTML:e=>e})}catch{}const Wf=Fs?e=>Fs.createHTML(e):e=>e,Cg="http://www.w3.org/2000/svg",Sg="http://www.w3.org/1998/Math/MathML",Lt=typeof document<"u"?document:null,ql=Lt&&Lt.createElement("template"),xg={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"?Lt.createElementNS(Cg,e):t==="mathml"?Lt.createElementNS(Sg,e):n?Lt.createElement(e,{is:n}):Lt.createElement(e);return e==="select"&&r&&r.multiple!=null&&o.setAttribute("multiple",r.multiple),o},createText:e=>Lt.createTextNode(e),createComment:e=>Lt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Lt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,r,o,i){const s=n?n.previousSibling:t.lastChild;if(o&&(o===i||o.nextSibling))for(;t.insertBefore(o.cloneNode(!0),n),!(o===i||!(o=o.nextSibling)););else{ql.innerHTML=Wf(r==="svg"?`<svg>${e}</svg>`:r==="mathml"?`<math>${e}</math>`:e);const a=ql.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[s?s.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Gt="transition",mr="animation",or=Symbol("_vtc"),Gf={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},Ag=Oe({},_m,Gf),pn=(e,t=[])=>{Z(e)?e.forEach(n=>n(...t)):e&&e(...t)},Kl=e=>e?Z(e)?e.some(t=>t.length>1):e.length>1:!1;function Pg(e){const t={};for(const R in e)R in Gf||(t[R]=e[R]);if(e.css===!1)return t;const{name:n="v",type:r,duration:o,enterFromClass:i=`${n}-enter-from`,enterActiveClass:s=`${n}-enter-active`,enterToClass:a=`${n}-enter-to`,appearFromClass:l=i,appearActiveClass:c=s,appearToClass:u=a,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:d=`${n}-leave-active`,leaveToClass:p=`${n}-leave-to`}=e,h=Rg(o),m=h&&h[0],y=h&&h[1],{onBeforeEnter:b,onEnter:E,onEnterCancelled:g,onLeave:w,onLeaveCancelled:C,onBeforeAppear:P=b,onAppear:D=E,onAppearCancelled:W=g}=t,L=(R,x,A)=>{zt(R,x?u:a),zt(R,x?c:s),A&&A()},S=(R,x)=>{R._isLeaving=!1,zt(R,f),zt(R,p),zt(R,d),x&&x()},O=R=>(x,A)=>{const F=R?D:E,I=()=>L(x,R,A);pn(F,[x,I]),Jl(()=>{zt(x,R?l:i),kt(x,R?u:a),Kl(F)||Xl(x,r,m,I)})};return Oe(t,{onBeforeEnter(R){pn(b,[R]),kt(R,i),kt(R,s)},onBeforeAppear(R){pn(P,[R]),kt(R,l),kt(R,c)},onEnter:O(!1),onAppear:O(!0),onLeave(R,x){R._isLeaving=!0;const A=()=>S(R,x);kt(R,f),kt(R,d),qf(),Jl(()=>{R._isLeaving&&(zt(R,f),kt(R,p),Kl(w)||Xl(R,r,y,A))}),pn(w,[R,A])},onEnterCancelled(R){L(R,!1),pn(g,[R])},onAppearCancelled(R){L(R,!0),pn(W,[R])},onLeaveCancelled(R){S(R),pn(C,[R])}})}function Rg(e){if(e==null)return null;if(ge(e))return[is(e.enter),is(e.leave)];{const t=is(e);return[t,t]}}function is(e){return ku(e)}function kt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[or]||(e[or]=new Set)).add(t)}function zt(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.remove(r));const n=e[or];n&&(n.delete(t),n.size||(e[or]=void 0))}function Jl(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let kg=0;function Xl(e,t,n,r){const o=e._endId=++kg,i=()=>{o===e._endId&&r()};if(n!=null)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=zf(e,t);if(!s)return r();const c=s+"end";let u=0;const f=()=>{e.removeEventListener(c,d),i()},d=p=>{p.target===e&&++u>=l&&f()};setTimeout(()=>{u<l&&f()},a+1),e.addEventListener(c,d)}function zf(e,t){const n=window.getComputedStyle(e),r=h=>(n[h]||"").split(", "),o=r(`${Gt}Delay`),i=r(`${Gt}Duration`),s=Yl(o,i),a=r(`${mr}Delay`),l=r(`${mr}Duration`),c=Yl(a,l);let u=null,f=0,d=0;t===Gt?s>0&&(u=Gt,f=s,d=i.length):t===mr?c>0&&(u=mr,f=c,d=l.length):(f=Math.max(s,c),u=f>0?s>c?Gt:mr:null,d=u?u===Gt?i.length:l.length:0);const p=u===Gt&&/\b(transform|all)(,|$)/.test(r(`${Gt}Property`).toString());return{type:u,timeout:f,propCount:d,hasTransform:p}}function Yl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,r)=>Ql(n)+Ql(e[r])))}function Ql(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function qf(){return document.body.offsetHeight}function Lg(e,t,n){const r=e[or];r&&(t=(t?[t,...r]:[...r]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Yo=Symbol("_vod"),Kf=Symbol("_vsh"),Og={beforeMount(e,{value:t},{transition:n}){e[Yo]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):gr(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),gr(e,!0),r.enter(e)):r.leave(e,()=>{gr(e,!1)}):gr(e,t))},beforeUnmount(e,{value:t}){gr(e,t)}};function gr(e,t){e.style.display=t?e[Yo]:"none",e[Kf]=!t}const Ig=Symbol(""),Ng=/(^|;)\s*display\s*:/;function Dg(e,t,n){const r=e.style,o=Ee(n);let i=!1;if(n&&!o){if(t)if(Ee(t))for(const s of t.split(";")){const a=s.slice(0,s.indexOf(":")).trim();n[a]==null&&No(r,a,"")}else for(const s in t)n[s]==null&&No(r,s,"");for(const s in n)s==="display"&&(i=!0),No(r,s,n[s])}else if(o){if(t!==n){const s=r[Ig];s&&(n+=";"+s),r.cssText=n,i=Ng.test(n)}}else t&&e.removeAttribute("style");Yo in e&&(e[Yo]=i?r.display:"",e[Kf]&&(r.display="none"))}const Zl=/\s*!important$/;function No(e,t,n){if(Z(n))n.forEach(r=>No(e,t,r));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const r=$g(e,t);Zl.test(n)?e.setProperty(on(r),n.replace(Zl,""),"important"):e[r]=n}}const ec=["Webkit","Moz","ms"],ss={};function $g(e,t){const n=ss[t];if(n)return n;let r=at(t);if(r!=="filter"&&r in e)return ss[t]=r;r=Ai(r);for(let o=0;o<ec.length;o++){const i=ec[o]+r;if(i in e)return ss[t]=i}return t}const tc="http://www.w3.org/1999/xlink";function nc(e,t,n,r,o,i=Th(t)){r&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(tc,t.slice(6,t.length)):e.setAttributeNS(tc,t,n):n==null||i&&!Iu(n)?e.removeAttribute(t):e.setAttribute(t,i?"":St(n)?String(n):n)}function rc(e,t,n,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Wf(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const s=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(s!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const s=typeof e[t];s==="boolean"?n=Iu(n):n==null&&s==="string"?(n="",i=!0):s==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(t)}function Jf(e,t,n,r){e.addEventListener(t,n,r)}function Mg(e,t,n,r){e.removeEventListener(t,n,r)}const oc=Symbol("_vei");function Vg(e,t,n,r,o=null){const i=e[oc]||(e[oc]={}),s=i[t];if(r&&s)s.value=r;else{const[a,l]=Hg(t);if(r){const c=i[t]=jg(r,o);Jf(e,a,c,l)}else s&&(Mg(e,a,s,l),i[t]=void 0)}}const ic=/(?:Once|Passive|Capture)$/;function Hg(e){let t;if(ic.test(e)){t={};let r;for(;r=e.match(ic);)e=e.slice(0,e.length-r[0].length),t[r[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):on(e.slice(2)),t]}let as=0;const Fg=Promise.resolve(),Bg=()=>as||(Fg.then(()=>as=0),as=Date.now());function jg(e,t){const n=r=>{if(!r._vts)r._vts=Date.now();else if(r._vts<=n.attached)return;gt(Ug(r,n.value),t,5,[r])};return n.value=e,n.attached=Bg(),n}function Ug(e,t){if(Z(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 sc=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wg=(e,t,n,r,o,i)=>{const s=o==="svg";t==="class"?Lg(e,r,s):t==="style"?Dg(e,n,r):Yr(t)?wa(t)||Vg(e,t,n,r,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Gg(e,t,r,s))?(rc(e,t,r),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&nc(e,t,r,s,i,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Ee(r))?rc(e,at(t),r):(t==="true-value"?e._trueValue=r:t==="false-value"&&(e._falseValue=r),nc(e,t,r,s))};function Gg(e,t,n,r){if(r)return!!(t==="innerHTML"||t==="textContent"||t in e&&sc(t)&&te(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 sc(t)&&Ee(n)?!1:t in e}const Xf=new WeakMap,Yf=new WeakMap,Qo=Symbol("_moveCb"),ac=Symbol("_enterCb"),zg=e=>(delete e.props.mode,e),qg=zg({name:"TransitionGroup",props:Oe({},Ag,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=fr(),r=gm();let o,i;return cf(()=>{if(!o.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!Qg(o[0].el,n.vnode.el,s))return;o.forEach(Jg),o.forEach(Xg);const a=o.filter(Yg);qf(),a.forEach(l=>{const c=l.el,u=c.style;kt(c,s),u.transform=u.webkitTransform=u.transitionDuration="";const f=c[Qo]=d=>{d&&d.target!==c||(!d||/transform$/.test(d.propertyName))&&(c.removeEventListener("transitionend",f),c[Qo]=null,zt(c,s))};c.addEventListener("transitionend",f)})}),()=>{const s=fe(e),a=Pg(s);let l=s.tag||me;if(o=[],i)for(let c=0;c<i.length;c++){const u=i[c];u.el&&u.el instanceof Element&&(o.push(u),Fr(u,Ls(u,a,r,n)),Xf.set(u,u.el.getBoundingClientRect()))}i=t.default?af(t.default()):[];for(let c=0;c<i.length;c++){const u=i[c];u.key!=null&&Fr(u,Ls(u,a,r,n))}return J(l,null,i)}}}),Kg=qg;function Jg(e){const t=e.el;t[Qo]&&t[Qo](),t[ac]&&t[ac]()}function Xg(e){Yf.set(e,e.el.getBoundingClientRect())}function Yg(e){const t=Xf.get(e),n=Yf.get(e),r=t.left-n.left,o=t.top-n.top;if(r||o){const i=e.el.style;return i.transform=i.webkitTransform=`translate(${r}px,${o}px)`,i.transitionDuration="0s",e}}function Qg(e,t,n){const r=e.cloneNode(),o=e[or];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 i=t.nodeType===1?t:t.parentNode;i.appendChild(r);const{hasTransform:s}=zf(r);return i.removeChild(r),s}const lc=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Z(t)?n=>Lo(t,n):t},ls=Symbol("_assign"),Zg={created(e,{value:t},n){e.checked=Uo(t,n.props.value),e[ls]=lc(n),Jf(e,"change",()=>{e[ls](e_(e))})},beforeUpdate(e,{value:t,oldValue:n},r){e[ls]=lc(r),t!==n&&(e.checked=Uo(t,r.props.value))}};function e_(e){return"_value"in e?e._value:e.value}const t_=["ctrl","shift","alt","meta"],n_={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)=>t_.some(n=>e[`${n}Key`]&&!t.includes(n))},r_=(e,t)=>{const n=e._withMods||(e._withMods={}),r=t.join(".");return n[r]||(n[r]=(o,...i)=>{for(let s=0;s<t.length;s++){const a=n_[t[s]];if(a&&a(o,t))return}return e(o,...i)})},o_={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},i_=(e,t)=>{const n=e._withKeys||(e._withKeys={}),r=t.join(".");return n[r]||(n[r]=o=>{if(!("key"in o))return;const i=on(o.key);if(t.some(s=>s===i||o_[s]===i))return e(o)})},Qf=Oe({patchProp:Wg},xg);let Ar,cc=!1;function s_(){return Ar||(Ar=qm(Qf))}function a_(){return Ar=cc?Ar:Km(Qf),cc=!0,Ar}const Zf=(...e)=>{const t=s_().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=td(r);if(!o)return;const i=t._component;!te(i)&&!i.render&&!i.template&&(i.template=o.innerHTML),o.nodeType===1&&(o.textContent="");const s=n(o,!1,ed(o));return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},l_=(...e)=>{const t=a_().createApp(...e),{mount:n}=t;return t.mount=r=>{const o=td(r);if(o)return n(o,!0,ed(o))},t};function ed(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function td(e){return Ee(e)?document.querySelector(e):e}const c_=/"(?:_|\\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*:/,u_=/"(?: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*:/,f_=/^\s*["[{]|^\s*-?\d{1,16}(\.\d{1,17})?([Ee][+-]?\d+)?\s*$/;function d_(e,t){if(e==="__proto__"||e==="constructor"&&t&&typeof t=="object"&&"prototype"in t){p_(e);return}return t}function p_(e){console.warn(`[destr] Dropping "${e}" key to prevent prototype pollution.`)}function Zo(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(!f_.test(e)){if(t.strict)throw new SyntaxError("[destr] Invalid JSON");return e}try{if(c_.test(e)||u_.test(e)){if(t.strict)throw new Error("[destr] Possible prototype pollution");return JSON.parse(e,d_)}return JSON.parse(e)}catch(r){if(t.strict)throw r;return e}}const h_=/#/g,m_=/&/g,g_=/\//g,__=/=/g,qa=/\+/g,y_=/%5e/gi,v_=/%60/gi,b_=/%7c/gi,w_=/%20/gi;function E_(e){return encodeURI(""+e).replace(b_,"|")}function Bs(e){return E_(typeof e=="string"?e:JSON.stringify(e)).replace(qa,"%2B").replace(w_,"+").replace(h_,"%23").replace(m_,"%26").replace(v_,"`").replace(y_,"^").replace(g_,"%2F")}function cs(e){return Bs(e).replace(__,"%3D")}function ei(e=""){try{return decodeURIComponent(""+e)}catch{return""+e}}function T_(e){return ei(e.replace(qa," "))}function C_(e){return ei(e.replace(qa," "))}function $i(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=T_(r[1]);if(o==="__proto__"||o==="constructor")continue;const i=C_(r[2]||"");t[o]===void 0?t[o]=i:Array.isArray(t[o])?t[o].push(i):t[o]=[t[o],i]}return t}function S_(e,t){return(typeof t=="number"||typeof t=="boolean")&&(t=String(t)),t?Array.isArray(t)?t.map(n=>`${cs(e)}=${Bs(n)}`).join("&"):`${cs(e)}=${Bs(t)}`:cs(e)}function nd(e){return Object.keys(e).filter(t=>e[t]!==void 0).map(t=>S_(t,e[t])).filter(Boolean).join("&")}const x_=/^[\s\w\0+.-]{2,}:([/\\]{1,2})/,A_=/^[\s\w\0+.-]{2,}:([/\\]{2})?/,P_=/^([/\\]\s*){2,}[^/\\]/,R_=/^[\s\0]*(blob|data|javascript|vbscript):$/i,k_=/\/$|\/\?|\/#/,L_=/^\.?\//;function cn(e,t={}){return typeof t=="boolean"&&(t={acceptRelative:t}),t.strict?x_.test(e):A_.test(e)||(t.acceptRelative?P_.test(e):!1)}function O_(e){return!!e&&R_.test(e)}function js(e="",t){return t?k_.test(e):e.endsWith("/")}function Mi(e="",t){if(!t)return(js(e)?e.slice(0,-1):e)||"/";if(!js(e,!0))return e||"/";let n=e,r="";const o=e.indexOf("#");o>=0&&(n=e.slice(0,o),r=e.slice(o));const[i,...s]=n.split("?");return((i.endsWith("/")?i.slice(0,-1):i)||"/")+(s.length>0?`?${s.join("?")}`:"")+r}function ti(e="",t){if(!t)return e.endsWith("/")?e:e+"/";if(js(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[i,...s]=n.split("?");return i+"/"+(s.length>0?`?${s.join("?")}`:"")+r}function I_(e=""){return e.startsWith("/")}function uc(e=""){return I_(e)?e:"/"+e}function N_(e,t){if(od(t)||cn(e))return e;const n=Mi(t);return e.startsWith(n)?e:to(n,e)}function D_(e,t){if(od(t))return e;const n=Mi(t);if(!e.startsWith(n))return e;const r=e.slice(n.length);return r[0]==="/"?r:"/"+r}function rd(e,t){const n=Ka(e),r={...$i(n.search),...t};return n.search=nd(r),ad(n)}function $_(e){return $i(Ka(e).search)}function od(e){return!e||e==="/"}function M_(e){return e&&e!=="/"}function to(e,...t){let n=e||"";for(const r of t.filter(o=>M_(o)))if(n){const o=r.replace(L_,"");n=ti(n)+o}else n=r;return n}function id(...e){var s,a,l,c;const t=/\/(?!\/)/,n=e.filter(Boolean),r=[];let o=0;for(const u of n)if(!(!u||u==="/")){for(const[f,d]of u.split(t).entries())if(!(!d||d===".")){if(d===".."){if(r.length===1&&cn(r[0]))continue;r.pop(),o--;continue}if(f===1&&((s=r[r.length-1])!=null&&s.endsWith(":/"))){r[r.length-1]+="/"+d;continue}r.push(d),o++}}let i=r.join("/");return o>=0?(a=n[0])!=null&&a.startsWith("/")&&!i.startsWith("/")?i="/"+i:(l=n[0])!=null&&l.startsWith("./")&&!i.startsWith("./")&&(i="./"+i):i="../".repeat(-1*o)+i,(c=n[n.length-1])!=null&&c.endsWith("/")&&!i.endsWith("/")&&(i+="/"),i}function V_(e,t,n={}){return n.trailingSlash||(e=ti(e),t=ti(t)),n.leadingSlash||(e=uc(e),t=uc(t)),n.encoding||(e=ei(e),t=ei(t)),e===t}const sd=Symbol.for("ufo:protocolRelative");function Ka(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(!cn(e,{acceptRelative:!0}))return t?Ka(t+e):fc(e);const[,r="",o,i=""]=e.replace(/\\/g,"/").match(/^[\s\0]*([\w+.-]{2,}:)?\/\/([^/@]+@)?(.*)/)||[];let[,s="",a=""]=i.match(/([^#/?]*)(.*)?/)||[];r==="file:"&&(a=a.replace(/\/(?=[A-Za-z]:)/,""));const{pathname:l,search:c,hash:u}=fc(a);return{protocol:r.toLowerCase(),auth:o?o.slice(0,Math.max(0,o.length-1)):"",host:s,pathname:l,search:c,hash:u,[sd]:!r}}function fc(e=""){const[t="",n="",r=""]=(e.match(/([^#?]*)(\?[^#]*)?(#.*)?/)||[]).splice(1);return{pathname:t,search:n,hash:r}}function ad(e){const t=e.pathname||"",n=e.search?(e.search.startsWith("?")?"":"?")+e.search:"",r=e.hash||"",o=e.auth?e.auth+"@":"",i=e.host||"";return(e.protocol||e[sd]?(e.protocol||"")+"//":"")+o+i+t+n+r}class H_ extends Error{constructor(t,n){super(t,n),this.name="FetchError",n!=null&&n.cause&&!this.cause&&(this.cause=n.cause)}}function F_(e){var l,c,u,f,d;const t=((l=e.error)==null?void 0:l.message)||((c=e.error)==null?void 0:c.toString())||"",n=((u=e.request)==null?void 0:u.method)||((f=e.options)==null?void 0:f.method)||"GET",r=((d=e.request)==null?void 0:d.url)||String(e.request)||"/",o=`[${n}] ${JSON.stringify(r)}`,i=e.response?`${e.response.status} ${e.response.statusText}`:"<no response>",s=`${o}: ${i}${t?` ${t}`:""}`,a=new H_(s,e.error?{cause:e.error}:void 0);for(const p of["request","options","response"])Object.defineProperty(a,p,{get(){return e[p]}});for(const[p,h]of[["data","_data"],["status","status"],["statusCode","status"],["statusText","statusText"],["statusMessage","statusText"]])Object.defineProperty(a,p,{get(){return e.response&&e.response[h]}});return a}const B_=new Set(Object.freeze(["PATCH","POST","PUT","DELETE"]));function dc(e="GET"){return B_.has(e.toUpperCase())}function j_(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 U_=new Set(["image/svg","application/xml","application/xhtml","application/html"]),W_=/^application\/(?:[\w!#$%&*.^`~-]*\+)?json(;.+)?$/i;function G_(e=""){if(!e)return"json";const t=e.split(";").shift()||"";return W_.test(t)?"json":U_.has(t)||t.startsWith("text/")?"text":"blob"}function z_(e,t,n,r){const o=q_((t==null?void 0:t.headers)??(e==null?void 0:e.headers),n==null?void 0:n.headers,r);let i;return(n!=null&&n.query||n!=null&&n.params||t!=null&&t.params||t!=null&&t.query)&&(i={...n==null?void 0:n.params,...n==null?void 0:n.query,...t==null?void 0:t.params,...t==null?void 0:t.query}),{...n,...t,query:i,params:i,headers:o}}function q_(e,t,n){if(!t)return new n(e);const r=new n(t);if(e)for(const[o,i]of Symbol.iterator in e||Array.isArray(e)?e:new n(e))r.set(o,i);return r}async function _o(e,t){if(t)if(Array.isArray(t))for(const n of t)await n(e);else await t(e)}const K_=new Set([408,409,425,429,500,502,503,504]),J_=new Set([101,204,205,304]);function ld(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=dc(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):K_.has(f))){const d=typeof a.options.retryDelay=="function"?a.options.retryDelay(a):a.options.retryDelay||0;return d>0&&await new Promise(p=>setTimeout(p,d)),i(a.request,{...a.options,retry:u-1})}}const c=F_(a);throw Error.captureStackTrace&&Error.captureStackTrace(c,i),c}const i=async function(l,c={}){const u={request:l,options:z_(l,c,e.defaults,n),response:void 0,error:void 0};u.options.method&&(u.options.method=u.options.method.toUpperCase()),u.options.onRequest&&await _o(u,u.options.onRequest),typeof u.request=="string"&&(u.options.baseURL&&(u.request=N_(u.request,u.options.baseURL)),u.options.query&&(u.request=rd(u.request,u.options.query),delete u.options.query),"query"in u.options&&delete u.options.query,"params"in u.options&&delete u.options.params),u.options.body&&dc(u.options.method)&&(j_(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 p=new r;f=setTimeout(()=>{const h=new Error("[TimeoutError]: The operation was aborted due to timeout");h.name="TimeoutError",h.code=23,p.abort(h)},u.options.timeout),u.options.signal=p.signal}try{u.response=await t(u.request,u.options)}catch(p){return u.error=p,u.options.onRequestError&&await _o(u,u.options.onRequestError),await o(u)}finally{f&&clearTimeout(f)}if((u.response.body||u.response._bodyInit)&&!J_.has(u.response.status)&&u.options.method!=="HEAD"){const p=(u.options.parseResponse?"json":u.options.responseType)||G_(u.response.headers.get("content-type")||"");switch(p){case"json":{const h=await u.response.text(),m=u.options.parseResponse||Zo;u.response._data=m(h);break}case"stream":{u.response._data=u.response.body||u.response._bodyInit;break}default:u.response._data=await u.response[p]()}}return u.options.onResponse&&await _o(u,u.options.onResponse),!u.options.ignoreResponseError&&u.response.status>=400&&u.response.status<600?(u.options.onResponseError&&await _o(u,u.options.onResponseError),await o(u)):u.response},s=async function(l,c){return(await i(l,c))._data};return s.raw=i,s.native=(...a)=>t(...a),s.create=(a={},l={})=>ld({...e,...l,defaults:{...e.defaults,...l.defaults,...a}}),s}const ni=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")}(),X_=ni.fetch?(...e)=>ni.fetch(...e):()=>Promise.reject(new Error("[ofetch] global.fetch is not supported!")),Y_=ni.Headers,Q_=ni.AbortController,Z_=ld({fetch:X_,Headers:Y_,AbortController:Q_}),e0=Z_,t0=()=>{var e;return((e=window==null?void 0:window.__NUXT__)==null?void 0:e.config)||{}},ri=t0().app,n0=()=>ri.baseURL,r0=()=>ri.buildAssetsDir,Ja=(...e)=>id(cd(),r0(),...e),cd=(...e)=>{const t=ri.cdnURL||ri.baseURL;return e.length?id(t,...e):t};globalThis.__buildAssetsURL=Ja,globalThis.__publicAssetsURL=cd;globalThis.$fetch||(globalThis.$fetch=e0.create({baseURL:n0()}));function Us(e,t={},n){for(const r in e){const o=e[r],i=n?`${n}:${r}`:r;typeof o=="object"&&o!==null?Us(o,t,i):typeof o=="function"&&(t[i]=o)}return t}const o0={run:e=>e()},i0=()=>o0,ud=typeof console.createTask<"u"?console.createTask:i0;function s0(e,t){const n=t.shift(),r=ud(n);return e.reduce((o,i)=>o.then(()=>r.run(()=>i(...t))),Promise.resolve())}function a0(e,t){const n=t.shift(),r=ud(n);return Promise.all(e.map(o=>r.run(()=>o(...t))))}function us(e,t){for(const n of[...e])n(t)}class l0{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 i;for(;this._deprecatedHooks[t];)i=this._deprecatedHooks[t],t=i.to;if(i&&!r.allowDeprecated){let s=i.message;s||(s=`${o} hook has been deprecated`+(i.to?`, please use ${i.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(s)||(console.warn(s),this._deprecatedMessages.add(s))}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=(...i)=>(typeof r=="function"&&r(),r=void 0,o=void 0,n(...i));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=Us(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=Us(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(s0,t,...n)}callHookParallel(t,...n){return n.unshift(t),this.callHookWith(a0,t,...n)}callHookWith(t,n,...r){const o=this._before||this._after?{name:n,args:r,context:{}}:void 0;this._before&&us(this._before,o);const i=t(n in this._hooks?[...this._hooks[n]]:[],r);return i instanceof Promise?i.finally(()=>{this._after&&o&&us(this._after,o)}):(this._after&&o&&us(this._after,o),i)}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 fd(){return new l0}function c0(e={}){let t,n=!1;const r=s=>{if(t&&t!==s)throw new Error("Context conflict")};let o;if(e.asyncContext){const s=e.AsyncLocalStorage||globalThis.AsyncLocalStorage;s?o=new s:console.warn("[unctx] `AsyncLocalStorage` is not provided.")}const i=()=>{if(o&&t===void 0){const s=o.getStore();if(s!==void 0)return s}return t};return{use:()=>{const s=i();if(s===void 0)throw new Error("Context is not available");return s},tryUse:()=>i(),set:(s,a)=>{a||r(s),t=s,n=!0},unset:()=>{t=void 0,n=!1},call:(s,a)=>{r(s),t=s;try{return o?o.run(s,a):a()}finally{n||(t=void 0)}},async callAsync(s,a){t=s;const l=()=>{t=s},c=()=>t===s?l:void 0;Ws.add(c);try{const u=o?o.run(s,a):a();return n||(t=void 0),await u}finally{Ws.delete(c)}}}}function u0(e={}){const t={};return{get(n,r={}){return t[n]||(t[n]=c0({...e,...r})),t[n],t[n]}}}const oi=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof global<"u"?global:typeof window<"u"?window:{},pc="__unctx__",f0=oi[pc]||(oi[pc]=u0()),d0=(e,t={})=>f0.get(e,t),hc="__unctx_async_handlers__",Ws=oi[hc]||(oi[hc]=new Set);function dd(e){const t=[];for(const o of Ws){const i=o();i&&t.push(i)}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 p0={componentName:"NuxtLink",prefetch:!0,prefetchOn:{visibility:!0}},h0=null,m0="#__nuxt",pd="nuxt-app",mc=36e5,g0="vite:preloadError";function hd(e=pd){return d0(e,{asyncContext:!1})}const _0="__nuxt_plugin";function y0(e){var o;let t=0;const n={_id:e.id||pd||"nuxt-app",_scope:Sh(),provide:void 0,globalName:"nuxt",versions:{get nuxt(){return"3.13.2"},get vue(){return n.vueApp.version}},payload:En({...((o=e.ssrContext)==null?void 0:o.payload)||{},data:En({}),state:tn({}),once:new Set,_errors:En({})}),static:{data:{}},runWithContext(i){return n._scope.active&&!Pi()?n._scope.run(()=>gc(n,i)):gc(n,i)},isHydrating:!0,deferHydration(){if(!n.isHydrating)return()=>{};t++;let i=!1;return()=>{if(!i&&(i=!0,t--,t===0))return n.isHydrating=!1,n.callHook("app:suspense:resolve")}},_asyncDataPromises:{},_asyncData:En({}),_payloadRevivers:{},...e};{const i=window.__NUXT__;if(i)for(const s in i)switch(s){case"data":case"state":case"_errors":Object.assign(n.payload[s],i[s]);break;default:n.payload[s]=i[s]}}n.hooks=fd(),n.hook=n.hooks.hook,n.callHook=n.hooks.callHook,n.provide=(i,s)=>{const a="$"+i;yo(n,a,s),yo(n.vueApp.config.globalProperties,a,s)},yo(n.vueApp,"$nuxt",n),yo(n.vueApp.config.globalProperties,"$nuxt",n);{window.addEventListener(g0,s=>{n.callHook("app:chunkError",{error:s.payload}),(n.isHydrating||s.payload.message.includes("Unable to preload CSS"))&&s.preventDefault()}),window.useNuxtApp=window.useNuxtApp||Ie;const i=n.hook("app:error",(...s)=>{console.error("[nuxt] error caught during app initialization",...s)});n.hook("app:mounted",i)}const r=n.payload.config;return n.provide("config",r),n}function v0(e,t){t.hooks&&e.hooks.addHooks(t.hooks)}async function b0(e,t){if(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 w0(e,t){const n=[],r=[],o=[],i=[];let s=0;async function a(l){var u;const c=((u=l.dependsOn)==null?void 0:u.filter(f=>t.some(d=>d._name===f)&&!n.includes(f)))??[];if(c.length>0)r.push([new Set(c),l]);else{const f=b0(e,l).then(async()=>{l._name&&(n.push(l._name),await Promise.all(r.map(async([d,p])=>{d.has(l._name)&&(d.delete(l._name),d.size===0&&(s++,await a(p)))})))});l.parallel?o.push(f.catch(d=>i.push(d))):await f}}for(const l of t)v0(e,l);for(const l of t)await a(l);if(await Promise.all(o),s)for(let l=0;l<s;l++)await Promise.all(o);if(i.length)throw i[0]}function Pt(e){if(typeof e=="function")return e;const t=e._name||e.name;return delete e.name,Object.assign(e.setup||(()=>{}),e,{[_0]:!0,_name:t})}function gc(e,t,n){const r=()=>t();return hd(e._id).set(e),e.vueApp.runWithContext(r)}function E0(e){var n;let t;return bf()&&(t=(n=fr())==null?void 0:n.appContext.app.$nuxt),t=t||hd(e).tryUse(),t||null}function Ie(e){const t=E0(e);if(!t)throw new Error("[nuxt] instance unavailable");return t}function ir(e){return Ie().$config}function yo(e,t,n){Object.defineProperty(e,t,{get:()=>n})}function T0(e,t){return{ctx:{table:e},matchAll:n=>gd(n,e)}}function md(e){const t={};for(const n in e)t[n]=n==="dynamic"?new Map(Object.entries(e[n]).map(([r,o])=>[r,md(o)])):new Map(Object.entries(e[n]));return t}function C0(e){return T0(md(e))}function gd(e,t,n){e.endsWith("/")&&(e=e.slice(0,-1)||"/");const r=[];for(const[i,s]of _c(t.wildcard))(e===i||e.startsWith(i+"/"))&&r.push(s);for(const[i,s]of _c(t.dynamic))if(e.startsWith(i+"/")){const a="/"+e.slice(i.length).split("/").splice(2).join("/");r.push(...gd(a,s))}const o=t.static.get(e);return o&&r.push(o),r.filter(Boolean)}function _c(e){return[...e.entries()].sort((t,n)=>t[0].length-n[0].length)}function fs(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 Gs(e,t,n=".",r){if(!fs(t))return Gs(e,{},n,r);const o=Object.assign({},t);for(const i in e){if(i==="__proto__"||i==="constructor")continue;const s=e[i];s!=null&&(r&&r(o,i,s,n)||(Array.isArray(s)&&Array.isArray(o[i])?o[i]=[...s,...o[i]]:fs(s)&&fs(o[i])?o[i]=Gs(s,o[i],(n?`${n}.`:"")+i.toString(),r):o[i]=s))}return o}function S0(e){return(...t)=>t.reduce((n,r)=>Gs(n,r,"",e),{})}const x0=S0();function A0(e,t){try{return t in e}catch{return!1}}var P0=Object.defineProperty,R0=(e,t,n)=>t in e?P0(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,yn=(e,t,n)=>(R0(e,typeof t!="symbol"?t+"":t,n),n);class zs extends Error{constructor(t,n={}){super(t,n),yn(this,"statusCode",500),yn(this,"fatal",!1),yn(this,"unhandled",!1),yn(this,"statusMessage"),yn(this,"data"),yn(this,"cause"),n.cause&&!this.cause&&(this.cause=n.cause)}toJSON(){const t={message:this.message,statusCode:qs(this.statusCode,500)};return this.statusMessage&&(t.statusMessage=_d(this.statusMessage)),this.data!==void 0&&(t.data=this.data),t}}yn(zs,"__h3_error__",!0);function k0(e){if(typeof e=="string")return new zs(e);if(L0(e))return e;const t=new zs(e.message??e.statusMessage??"",{cause:e.cause||e});if(A0(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=qs(e.statusCode,t.statusCode):e.status&&(t.statusCode=qs(e.status,t.statusCode)),e.statusMessage?t.statusMessage=e.statusMessage:e.statusText&&(t.statusMessage=e.statusText),t.statusMessage){const n=t.statusMessage;_d(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 L0(e){var t;return((t=e==null?void 0:e.constructor)==null?void 0:t.__h3_error__)===!0}const O0=/[^\u0009\u0020-\u007E]/g;function _d(e=""){return e.replace(O0,"")}function qs(e,t=200){return!e||(typeof e=="string"&&(e=Number.parseInt(e,10)),e<100||e>999)?t:e}const yd=Symbol("route"),xt=()=>{var e;return(e=Ie())==null?void 0:e.$router},vd=()=>bf()?Xn(yd,Ie()._route):Ie()._route;const I0=()=>{try{if(Ie()._processingMiddleware)return!0}catch{return!1}return!1},bd=(e,t)=>{e||(e="/");const n=typeof e=="string"?e:"path"in e?Ks(e):xt().resolve(e).href;if(t!=null&&t.open){const{target:l="_blank",windowFeatures:c={}}=t.open,u=Object.entries(c).filter(([f,d])=>d!==void 0).map(([f,d])=>`${f.toLowerCase()}=${d}`).join(", ");return open(n,l,u),Promise.resolve()}const r=cn(n,{acceptRelative:!0}),o=(t==null?void 0:t.external)||r;if(o){if(!(t!=null&&t.external))throw new Error("Navigating to an external URL is not allowed by default. Use `navigateTo(url, { external: true })`.");const{protocol:l}=new URL(n,window.location.href);if(l&&O_(l))throw new Error(`Cannot navigate to a URL with '${l}' protocol.`)}const i=I0();if(!o&&i)return e;const s=xt(),a=Ie();return o?(a._scope.stop(),t!=null&&t.replace?location.replace(n):location.href=n,i?a.isHydrating?new Promise(()=>{}):!1:Promise.resolve()):t!=null&&t.replace?s.replace(e):s.push(e)};function Ks(e){return rd(e.path||"",e.query||{})+(e.hash||"")}const wd="__nuxt_error",Xa=()=>em(Ie().payload,"error"),N0=e=>{const t=Ya(e);try{const n=Ie(),r=Xa();n.hooks.callHook("app:error",t),r.value=r.value||t}catch{throw t}return t},D0=async(e={})=>{const t=Ie(),n=Xa();t.callHook("app:error:cleared",e),e.redirect&&await xt().replace(e.redirect),n.value=h0},$0=e=>!!e&&typeof e=="object"&&wd in e,Ya=e=>{const t=k0(e);return Object.defineProperty(t,wd,{value:!0,configurable:!1,writable:!1}),t};function yc(e){const t=V0(e),n=new ArrayBuffer(t.length),r=new DataView(n);for(let o=0;o<n.byteLength;o++)r.setUint8(o,t.charCodeAt(o));return n}const M0="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function V0(e){e.length%4===0&&(e=e.replace(/==?$/,""));let t="",n=0,r=0;for(let o=0;o<e.length;o++)n<<=6,n|=M0.indexOf(e[o]),r+=6,r===24&&(t+=String.fromCharCode((n&16711680)>>16),t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255),n=r=0);return r===12?(n>>=4,t+=String.fromCharCode(n)):r===18&&(n>>=2,t+=String.fromCharCode((n&65280)>>8),t+=String.fromCharCode(n&255)),t}const H0=-1,F0=-2,B0=-3,j0=-4,U0=-5,W0=-6;function G0(e,t){return z0(JSON.parse(e),t)}function z0(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(i,s=!1){if(i===H0)return;if(i===B0)return NaN;if(i===j0)return 1/0;if(i===U0)return-1/0;if(i===W0)return-0;if(s)throw new Error("Invalid input");if(i in r)return r[i];const a=n[i];if(!a||typeof a!="object")r[i]=a;else if(Array.isArray(a))if(typeof a[0]=="string"){const l=a[0],c=t==null?void 0:t[l];if(c)return r[i]=c(o(a[1]));switch(l){case"Date":r[i]=new Date(a[1]);break;case"Set":const u=new Set;r[i]=u;for(let p=1;p<a.length;p+=1)u.add(o(a[p]));break;case"Map":const f=new Map;r[i]=f;for(let p=1;p<a.length;p+=2)f.set(o(a[p]),o(a[p+1]));break;case"RegExp":r[i]=new RegExp(a[1],a[2]);break;case"Object":r[i]=Object(a[1]);break;case"BigInt":r[i]=BigInt(a[1]);break;case"null":const d=Object.create(null);r[i]=d;for(let p=1;p<a.length;p+=2)d[a[p]]=o(a[p+1]);break;case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":{const p=globalThis[l],h=a[1],m=yc(h),y=new p(m);r[i]=y;break}case"ArrayBuffer":{const p=a[1],h=yc(p);r[i]=h;break}default:throw new Error(`Unknown type ${l}`)}}else{const l=new Array(a.length);r[i]=l;for(let c=0;c<a.length;c+=1){const u=a[c];u!==F0&&(l[c]=o(u))}}else{const l={};r[i]=l;for(const c in a){const u=a[c];l[c]=o(u)}}return r[i]}return o(0)}const q0=new Set(["title","titleTemplate","script","style","noscript"]),Do=new Set(["base","meta","link","style","script","noscript"]),K0=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),J0=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),Ed=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),X0=typeof window<"u";function ii(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 Js(e){if(e._h)return e._h;if(e._d)return ii(e._d);let t=`${e.tag}:${e.textContent||e.innerHTML||""}:`;for(const n in e.props)t+=`${n}:${String(e.props[n])},`;return ii(t)}function Y0(e,t){return e instanceof Promise?e.then(t):t(e)}function Xs(e,t,n,r){const o=r||Cd(typeof t=="object"&&typeof t!="function"&&!(t instanceof Promise)?{...t}:{[e==="script"||e==="noscript"||e==="style"?"innerHTML":"textContent"]:t},e==="templateParams"||e==="titleTemplate");if(o instanceof Promise)return o.then(s=>Xs(e,t,n,s));const i={tag:e,props:o};for(const s of Ed){const a=i.props[s]!==void 0?i.props[s]:n[s];a!==void 0&&((!(s==="innerHTML"||s==="textContent"||s==="children")||q0.has(i.tag))&&(i[s==="children"?"innerHTML":s]=a),delete i.props[s])}return i.props.body&&(i.tagPosition="bodyClose",delete i.props.body),i.tag==="script"&&typeof i.innerHTML=="object"&&(i.innerHTML=JSON.stringify(i.innerHTML),i.props.type=i.props.type||"application/json"),Array.isArray(i.props.content)?i.props.content.map(s=>({...i,props:{...i.props,content:s}})):i}function Q0(e,t){var r;const n=e==="class"?" ":";";return t&&typeof t=="object"&&!Array.isArray(t)&&(t=Object.entries(t).filter(([,o])=>o).map(([o,i])=>e==="style"?`${o}:${i}`:o)),(r=String(Array.isArray(t)?t.join(n):t))==null?void 0:r.split(n).filter(o=>!!o.trim()).join(n)}function Td(e,t,n,r){for(let o=r;o<n.length;o+=1){const i=n[o];if(i==="class"||i==="style"){e[i]=Q0(i,e[i]);continue}if(e[i]instanceof Promise)return e[i].then(s=>(e[i]=s,Td(e,t,n,o)));if(!t&&!Ed.has(i)){const s=String(e[i]),a=i.startsWith("data-");s==="true"||s===""?e[i]=a?"true":!0:e[i]||(a&&s==="false"?e[i]="false":delete e[i])}}}function Cd(e,t=!1){const n=Td(e,t,Object.keys(e),0);return n instanceof Promise?n.then(()=>e):e}const Z0=10;function Sd(e,t,n){for(let r=n;r<t.length;r+=1){const o=t[r];if(o instanceof Promise)return o.then(i=>(t[r]=i,Sd(e,t,r)));Array.isArray(o)?e.push(...o):e.push(o)}}function ey(e){const t=[],n=e.resolvedInput;for(const o in n){if(!Object.prototype.hasOwnProperty.call(n,o))continue;const i=n[o];if(!(i===void 0||!K0.has(o))){if(Array.isArray(i)){for(const s of i)t.push(Xs(o,s,e));continue}t.push(Xs(o,i,e))}}if(t.length===0)return[];const r=[];return Y0(Sd(r,t,0),()=>r.map((o,i)=>(o._e=e._i,e.mode&&(o._m=e.mode),o._p=(e._i<<Z0)+i,o)))}const vc=new Set(["onload","onerror","onabort","onprogress","onloadstart"]),bc={base:-10,title:10},wc={critical:-80,high:-10,low:20};function si(e){const t=e.tagPriority;if(typeof t=="number")return t;let n=100;return e.tag==="meta"?e.props["http-equiv"]==="content-security-policy"?n=-30:e.props.charset?n=-20:e.props.name==="viewport"&&(n=-15):e.tag==="link"&&e.props.rel==="preconnect"?n=20:e.tag in bc&&(n=bc[e.tag]),t&&t in wc?n+wc[t]:n}const ty=[{prefix:"before:",offset:-1},{prefix:"after:",offset:1}],ny=["name","property","http-equiv"];function xd(e){const{props:t,tag:n}=e;if(J0.has(n))return n;if(n==="link"&&t.rel==="canonical")return"canonical";if(t.charset)return"charset";if(t.id)return`${n}:id:${t.id}`;for(const r of ny)if(t[r]!==void 0)return`${n}:${r}:${t[r]}`;return!1}const Yt="%separator";function ry(e,t){var r;let n;if(t==="s"||t==="pageTitle")n=e.pageTitle;else if(t.includes(".")){const o=t.indexOf(".");n=(r=e[t.substring(0,o)])==null?void 0:r[t.substring(o+1)]}else n=e[t];return n!==void 0?(n||"").replace(/"/g,'\\"'):void 0}const oy=new RegExp(`${Yt}(?:\\s*${Yt})*`,"g");function vo(e,t,n){if(typeof e!="string"||!e.includes("%"))return e;let r=e;try{r=decodeURI(e)}catch{}const o=r.match(/%\w+(?:\.\w+)?/g);if(!o)return e;const i=e.includes(Yt);return e=e.replace(/%\w+(?:\.\w+)?/g,s=>{if(s===Yt||!o.includes(s))return s;const a=ry(t,s.slice(1));return a!==void 0?a:s}).trim(),i&&(e.endsWith(Yt)&&(e=e.slice(0,-Yt.length)),e.startsWith(Yt)&&(e=e.slice(Yt.length)),e=e.replace(oy,n).trim()),e}function Ec(e,t){return e==null?t||null:typeof e=="function"?e(t):e}async function Ad(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 e._domUpdatePromise||(e._domUpdatePromise=new Promise(async o=>{var f;const i=(await e.resolveTags()).map(d=>({tag:d,id:Do.has(d.tag)?Js(d):d.tag,shouldRender:!0}));let s=e._dom;if(!s){s={elMap:{htmlAttrs:n.documentElement,bodyAttrs:n.body}};const d=new Set;for(const p of["body","head"]){const h=(f=n[p])==null?void 0:f.children;for(const m of h){const y=m.tagName.toLowerCase();if(!Do.has(y))continue;const b={tag:y,props:await Cd(m.getAttributeNames().reduce((C,P)=>({...C,[P]:m.getAttribute(P)}),{})),innerHTML:m.innerHTML},E=xd(b);let g=E,w=1;for(;g&&d.has(g);)g=`${E}:${w++}`;g&&(b._d=g,d.add(g)),s.elMap[m.getAttribute("data-hid")||Js(b)]=m}}}s.pendingSideEffects={...s.sideEffects},s.sideEffects={};function a(d,p,h){const m=`${d}:${p}`;s.sideEffects[m]=h,delete s.pendingSideEffects[m]}function l({id:d,$el:p,tag:h}){const m=h.tag.endsWith("Attrs");if(s.elMap[d]=p,m||(h.textContent&&h.textContent!==p.textContent&&(p.textContent=h.textContent),h.innerHTML&&h.innerHTML!==p.innerHTML&&(p.innerHTML=h.innerHTML),a(d,"el",()=>{var y;(y=s.elMap[d])==null||y.remove(),delete s.elMap[d]})),h._eventHandlers)for(const y in h._eventHandlers)Object.prototype.hasOwnProperty.call(h._eventHandlers,y)&&p.getAttribute(`data-${y}`)!==""&&((h.tag==="bodyAttrs"?n.defaultView:p).addEventListener(y.substring(2),h._eventHandlers[y].bind(p)),p.setAttribute(`data-${y}`,""));for(const y in h.props){if(!Object.prototype.hasOwnProperty.call(h.props,y))continue;const b=h.props[y],E=`attr:${y}`;if(y==="class"){if(!b)continue;for(const g of b.split(" "))m&&a(d,`${E}:${g}`,()=>p.classList.remove(g)),!p.classList.contains(g)&&p.classList.add(g)}else if(y==="style"){if(!b)continue;for(const g of b.split(";")){const w=g.indexOf(":"),C=g.substring(0,w).trim(),P=g.substring(w+1).trim();a(d,`${E}:${C}`,()=>{p.style.removeProperty(C)}),p.style.setProperty(C,P)}}else p.getAttribute(y)!==b&&p.setAttribute(y,b===!0?"":String(b)),m&&a(d,E,()=>p.removeAttribute(y))}}const c=[],u={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const d of i){const{tag:p,shouldRender:h,id:m}=d;if(h){if(p.tag==="title"){n.title=p.textContent;continue}d.$el=d.$el||s.elMap[m],d.$el?l(d):Do.has(p.tag)&&c.push(d)}}for(const d of c){const p=d.tag.tagPosition||"head";d.$el=n.createElement(d.tag.tag),l(d),u[p]=u[p]||n.createDocumentFragment(),u[p].appendChild(d.$el)}for(const d of i)await e.hooks.callHook("dom:renderTag",d,n,a);u.head&&n.head.appendChild(u.head),u.bodyOpen&&n.body.insertBefore(u.bodyOpen,n.body.firstChild),u.bodyClose&&n.body.appendChild(u.bodyClose);for(const d in s.pendingSideEffects)s.pendingSideEffects[d]();e._dom=s,await e.hooks.callHook("dom:rendered",{renders:i}),o()}).finally(()=>{e._domUpdatePromise=void 0,e.dirty=!1})),e._domUpdatePromise}function iy(e,t={}){const n=t.delayFn||(r=>setTimeout(r,10));return e._domDebouncedUpdatePromise=e._domDebouncedUpdatePromise||new Promise(r=>n(()=>Ad(e,t).then(()=>{delete e._domDebouncedUpdatePromise,r()})))}function sy(e){return t=>{var r,o;const n=((o=(r=t.resolvedOptions.document)==null?void 0:r.head.querySelector('script[id="unhead:payload"]'))==null?void 0:o.innerHTML)||!1;return n&&t.push(JSON.parse(n)),{mode:"client",hooks:{"entries:updated":i=>{iy(i,e)}}}}}const ay=new Set(["templateParams","htmlAttrs","bodyAttrs"]),ly={hooks:{"tag:normalise":({tag:e})=>{e.props.hid&&(e.key=e.props.hid,delete e.props.hid),e.props.vmid&&(e.key=e.props.vmid,delete e.props.vmid),e.props.key&&(e.key=e.props.key,delete e.props.key);const t=xd(e);t&&!t.startsWith("meta:og:")&&!t.startsWith("meta:twitter:")&&delete e.key;const n=t||(e.key?`${e.tag}:${e.key}`:!1);n&&(e._d=n)},"tags:resolve":e=>{const t=Object.create(null);for(const r of e.tags){const o=(r.key?`${r.tag}:${r.key}`:r._d)||Js(r),i=t[o];if(i){let a=r==null?void 0:r.tagDuplicateStrategy;if(!a&&ay.has(r.tag)&&(a="merge"),a==="merge"){const l=i.props;l.style&&r.props.style&&(l.style[l.style.length-1]!==";"&&(l.style+=";"),r.props.style=`${l.style} ${r.props.style}`),l.class&&r.props.class?r.props.class=`${l.class} ${r.props.class}`:l.class&&(r.props.class=l.class),t[o].props={...l,...r.props};continue}else if(r._e===i._e){i._duped=i._duped||[],r._d=`${i._d}:${i._duped.length+1}`,i._duped.push(r);continue}else if(si(r)>si(i))continue}if(!(r.innerHTML||r.textContent||Object.keys(r.props).length!==0)&&Do.has(r.tag)){delete t[o];continue}t[o]=r}const n=[];for(const r in t){const o=t[r],i=o._duped;n.push(o),i&&(delete o._duped,n.push(...i))}e.tags=n,e.tags=e.tags.filter(r=>!(r.tag==="meta"&&(r.props.name||r.props.property)&&!r.props.content))}}},cy=new Set(["script","link","bodyAttrs"]),uy=e=>({hooks:{"tags:resolve":t=>{for(const n of t.tags){if(!cy.has(n.tag))continue;const r=n.props;for(const o in r){if(o[0]!=="o"||o[1]!=="n"||!Object.prototype.hasOwnProperty.call(r,o))continue;const i=r[o];typeof i=="function"&&(e.ssr&&vc.has(o)?r[o]=`this.dataset.${o}fired = true`:delete r[o],n._eventHandlers=n._eventHandlers||{},n._eventHandlers[o]=i)}e.ssr&&n._eventHandlers&&(n.props.src||n.props.href)&&(n.key=n.key||ii(n.props.src||n.props.href))}},"dom:renderTag":({$el:t,tag:n})=>{var o,i;const r=t==null?void 0:t.dataset;if(r)for(const s in r){if(!s.endsWith("fired"))continue;const a=s.slice(0,-5);vc.has(a)&&((i=(o=n._eventHandlers)==null?void 0:o[a])==null||i.call(t,new Event(a.substring(2))))}}}}),fy=new Set(["link","style","script","noscript"]),dy={hooks:{"tag:normalise":({tag:e})=>{e.key&&fy.has(e.tag)&&(e.props["data-hid"]=e._h=ii(e.key))}}},py={mode:"server",hooks:{"tags:beforeResolve":e=>{const t={};let n=!1;for(const r of e.tags)r._m!=="server"||r.tag!=="titleTemplate"&&r.tag!=="templateParams"&&r.tag!=="title"||(t[r.tag]=r.tag==="title"||r.tag==="titleTemplate"?r.textContent:r.props,n=!0);n&&e.tags.push({tag:"script",innerHTML:JSON.stringify(t),props:{id:"unhead:payload",type:"application/json"}})}}},hy={hooks:{"tags:resolve":e=>{var t;for(const n of e.tags)if(typeof n.tagPriority=="string")for(const{prefix:r,offset:o}of ty){if(!n.tagPriority.startsWith(r))continue;const i=n.tagPriority.substring(r.length),s=(t=e.tags.find(a=>a._d===i))==null?void 0:t._p;if(s!==void 0){n._p=s+o;break}}e.tags.sort((n,r)=>{const o=si(n),i=si(r);return o<i?-1:o>i?1:n._p-r._p})}}},my={meta:"content",link:"href",htmlAttrs:"lang"},gy=["innerHTML","textContent"],_y=e=>({hooks:{"tags:resolve":t=>{var s;const{tags:n}=t;let r;for(let a=0;a<n.length;a+=1)n[a].tag==="templateParams"&&(r=t.tags.splice(a,1)[0].props,a-=1);const o=r||{},i=o.separator||"|";delete o.separator,o.pageTitle=vo(o.pageTitle||((s=n.find(a=>a.tag==="title"))==null?void 0:s.textContent)||"",o,i);for(const a of n){if(a.processTemplateParams===!1)continue;const l=my[a.tag];if(l&&typeof a.props[l]=="string")a.props[l]=vo(a.props[l],o,i);else if(a.processTemplateParams||a.tag==="titleTemplate"||a.tag==="title")for(const c of gy)typeof a[c]=="string"&&(a[c]=vo(a[c],o,i))}e._templateParams=o,e._separator=i},"tags:afterResolve":({tags:t})=>{let n;for(let r=0;r<t.length;r+=1){const o=t[r];o.tag==="title"&&o.processTemplateParams!==!1&&(n=o)}n!=null&&n.textContent&&(n.textContent=vo(n.textContent,e._templateParams,e._separator))}}}),yy={hooks:{"tags:resolve":e=>{const{tags:t}=e;let n,r;for(let o=0;o<t.length;o+=1){const i=t[o];i.tag==="title"?n=i:i.tag==="titleTemplate"&&(r=i)}if(r&&n){const o=Ec(r.textContent,n.textContent);o!==null?n.textContent=o||n.textContent:e.tags.splice(e.tags.indexOf(n),1)}else if(r){const o=Ec(r.textContent);o!==null&&(r.textContent=o,r.tag="title",r=void 0)}r&&e.tags.splice(e.tags.indexOf(r),1)}}},vy={hooks:{"tags:afterResolve":e=>{for(const t of e.tags)typeof t.innerHTML=="string"&&(t.innerHTML&&(t.props.type==="application/ld+json"||t.props.type==="application/json")?t.innerHTML=t.innerHTML.replace(/</g,"\\u003C"):t.innerHTML=t.innerHTML.replace(new RegExp(`</${t.tag}`,"g"),`<\\/${t.tag}`))}}};let Pd;function by(e={}){const t=wy(e);return t.use(sy()),Pd=t}function Tc(e,t){return!e||e==="server"&&t||e==="client"&&!t}function wy(e={}){const t=fd();t.addHooks(e.hooks||{}),e.document=e.document||(X0?document:void 0);const n=!e.document,r=()=>{a.dirty=!0,t.callHook("entries:updated",a)};let o=0,i=[];const s=[],a={plugins:s,dirty:!1,resolvedOptions:e,hooks:t,headEntries(){return i},use(l){const c=typeof l=="function"?l(a):l;(!c.key||!s.some(u=>u.key===c.key))&&(s.push(c),Tc(c.mode,n)&&t.addHooks(c.hooks||{}))},push(l,c){c==null||delete c.head;const u={_i:o++,input:l,...c};return Tc(u.mode,n)&&(i.push(u),r()),{dispose(){i=i.filter(f=>f._i!==u._i),r()},patch(f){for(const d of i)d._i===u._i&&(d.input=u.input=f);r()}}},async resolveTags(){const l={tags:[],entries:[...i]};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 ey(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[ly,py,uy,dy,hy,_y,yy,vy,...(e==null?void 0:e.plugins)||[]].forEach(l=>a.use(l)),a.hooks.callHook("init",a),a}function Ey(){return Pd}const Ty=Uf[0]==="3";function Cy(e){return typeof e=="function"?e():se(e)}function Ys(e){if(e instanceof Promise||e instanceof Date||e instanceof RegExp)return e;const t=Cy(e);if(!e||!t)return t;if(Array.isArray(t))return t.map(n=>Ys(n));if(typeof t=="object"){const n={};for(const r in t)if(Object.prototype.hasOwnProperty.call(t,r)){if(r==="titleTemplate"||r[0]==="o"&&r[1]==="n"){n[r]=se(t[r]);continue}n[r]=Ys(t[r])}return n}return t}const Sy={hooks:{"entries:resolve":e=>{for(const t of e.entries)t.resolvedInput=Ys(t.input)}}},Rd="usehead";function xy(e){return{install(n){Ty&&(n.config.globalProperties.$unhead=e,n.config.globalProperties.$head=e,n.provide(Rd,e))}}.install}function Ay(e={}){e.domDelayFn=e.domDelayFn||(n=>Ht(()=>setTimeout(()=>n(),0)));const t=by(e);return t.use(Sy),t.install=xy(t),t}const Qs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Zs="__unhead_injection_handler__";function Py(e){Qs[Zs]=e}function wS(){if(Zs in Qs)return Qs[Zs]();const e=Xn(Rd);return e||Ey()}let $o,Mo;function Ry(){return $o=$fetch(Ja(`builds/meta/${ir().app.buildId}.json`),{responseType:"json"}),$o.then(e=>{Mo=C0(e.matcher)}).catch(e=>{console.error("[nuxt] Error fetching app manifest.",e)}),$o}function Vi(){return $o||Ry()}async function Qa(e){if(await Vi(),!Mo)return console.error("[nuxt] Error creating app manifest matcher.",Mo),{};try{return x0({},...Mo.matchAll(e).reverse())}catch(t){return console.error("[nuxt] Error matching route rules.",t),{}}}async function Cc(e,t={}){const n=await Ly(e,t),r=Ie(),o=r._payloadCache=r._payloadCache||{};return n in o||(o[n]=Ld(e).then(i=>i?kd(n).then(s=>s||(delete o[n],null)):(o[n]=null,null))),o[n]}const ky="_payload.json";async function Ly(e,t={}){const n=new URL(e,"http://localhost");if(n.host!=="localhost"||cn(n.pathname,{acceptRelative:!0}))throw new Error("Payload URL must not include hostname: "+e);const r=ir(),o=t.hash||(t.fresh?Date.now():r.app.buildId),i=r.app.cdnURL,s=i&&await Ld(e)?i:r.app.baseURL;return to(s,n.pathname,ky+(o?`?${o}`:""))}async function kd(e){const t=fetch(e).then(n=>n.text().then(Od));try{return await t}catch(n){console.warn("[nuxt] Cannot load payload ",e,n)}return null}async function Ld(e=vd().path){if(e=Mi(e),(await Vi()).prerendered.includes(e))return!0;const n=await Qa(e);return!!n.prerender&&!n.redirect}let hn=null;async function Oy(){var r;if(hn)return hn;const e=document.getElementById("__NUXT_DATA__");if(!e)return{};const t=await Od(e.textContent||""),n=e.dataset.src?await kd(e.dataset.src):void 0;return hn={...t,...n,...window.__NUXT__},(r=hn.config)!=null&&r.public&&(hn.config.public=tn(hn.config.public)),hn}async function Od(e){return await G0(e,Ie()._payloadRevivers)}function Iy(e,t){Ie()._payloadRevivers[e]=t}const Sc={NuxtError:e=>Ya(e),EmptyShallowRef:e=>As(e==="_"?void 0:e==="0n"?BigInt(0):Zo(e)),EmptyRef:e=>ae(e==="_"?void 0:e==="0n"?BigInt(0):Zo(e)),ShallowRef:e=>As(e),ShallowReactive:e=>En(e),Ref:e=>ae(e),Reactive:e=>tn(e)},Ny=Pt({name:"nuxt:revive-payload:client",order:-30,async setup(e){let t,n;for(const r in Sc)Iy(r,Sc[r]);Object.assign(e.payload,([t,n]=dd(()=>e.runWithContext(Oy)),t=await t,n(),t)),window.__NUXT__=e.payload}}),Dy=[],$y=Pt({name:"nuxt:head",enforce:"pre",setup(e){const t=Ay({plugins:Dy});Py(()=>Ie().vueApp._context.provides.usehead),e.vueApp.use(t);{let n=!0;const r=async()=>{n=!1,await Ad(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)}}}),My=async e=>{let t,n;const r=([t,n]=dd(()=>Qa(e.path)),t=await t,n(),t);if(r.redirect)return cn(r.redirect,{acceptRelative:!0})?(window.location.href=r.redirect,!1):r.redirect},Vy=[My];function ds(e){typeof e=="object"&&(e=ad({pathname:e.path||"",search:nd(e.query||{}),hash:e.hash||""}));const t=new URL(e.toString(),window.location.href);return{path:t.pathname,fullPath:e,query:$i(t.search),hash:t.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:e}}const Hy=Pt({name:"nuxt:router",enforce:"pre",setup(e){const t=D_(window.location.pathname,ir().app.baseURL)+window.location.search+window.location.hash,n=[],r={"navigate:before":[],"resolve:before":[],"navigate:after":[],error:[]},o=(f,d)=>(r[f].push(d),()=>r[f].splice(r[f].indexOf(d),1)),i=ir().app.baseURL,s=tn(ds(t));async function a(f,d){try{const p=ds(f);for(const h of r["navigate:before"]){const m=await h(p,s);if(m===!1||m instanceof Error)return;if(typeof m=="string"&&m.length)return a(m,!0)}for(const h of r["resolve:before"])await h(p,s);Object.assign(s,p),window.history[d?"replaceState":"pushState"]({},"",to(i,p.fullPath)),e.isHydrating||await e.runWithContext(D0);for(const h of r["navigate:after"])await h(p,s)}catch(p){for(const h of r.error)await h(p)}}const c={currentRoute:xe(()=>s),isReady:()=>Promise.resolve(),options:{},install:()=>Promise.resolve(),push:f=>a(f,!1),replace:f=>a(f,!0),back:()=>window.history.go(-1),go:f=>window.history.go(f),forward:()=>window.history.go(1),beforeResolve:f=>o("resolve:before",f),beforeEach:f=>o("navigate:before",f),afterEach:f=>o("navigate:after",f),onError:f=>o("error",f),resolve:ds,addRoute:(f,d)=>{n.push(d)},getRoutes:()=>n,hasRoute:f=>n.some(d=>d.name===f),removeRoute:f=>{const d=n.findIndex(p=>p.name===f);d!==-1&&n.splice(d,1)}};e.vueApp.component("RouterLink",Pe({functional:!0,props:{to:{type:String,required:!0},custom:Boolean,replace:Boolean,activeClass:String,exactActiveClass:String,ariaCurrentValue:String},setup:(f,{slots:d})=>{const p=()=>a(f.to,f.replace);return()=>{var m;const h=c.resolve(f.to);return f.custom?(m=d.default)==null?void 0:m.call(d,{href:f.to,navigate:p,route:h}):rr("a",{href:f.to,onClick:y=>(y.preventDefault(),p())},d)}}})),window.addEventListener("popstate",f=>{const d=f.target.location;c.replace(d.href.replace(d.origin,""))}),e._route=s,e._middleware=e._middleware||{global:[],named:{}};const u=e.payload.state._layout;return e.hooks.hookOnce("app:created",async()=>{c.beforeEach(async(f,d)=>{f.meta=tn(f.meta||{}),e.isHydrating&&u&&!nn(f.meta.layout)&&(f.meta.layout=u),e._processingMiddleware=!0;{const p=new Set([...Vy,...e._middleware.global]);{const h=await e.runWithContext(()=>Qa(f.path));if(h.appMiddleware)for(const m in h.appMiddleware){const y=e._middleware.named[m];if(!y)return;h.appMiddleware[m]?p.add(y):p.delete(y)}}for(const h of p){const m=await e.runWithContext(()=>h(f,d));if(m!==!0&&(m||m===!1))return m}}}),c.afterEach(()=>{delete e._processingMiddleware}),await c.replace(t),V_(s.fullPath,t)||await e.runWithContext(()=>bd(s.fullPath))}),{provide:{route:s,router:c}}}}),ea=globalThis.requestIdleCallback||(e=>{const t=Date.now(),n={didTimeout:!1,timeRemaining:()=>Math.max(0,50-(Date.now()-t))};return setTimeout(()=>{e(n)},1)}),Fy=globalThis.cancelIdleCallback||(e=>{clearTimeout(e)}),Hi=e=>{const t=Ie();t.isHydrating?t.hooks.hookOnce("app:suspense:resolve",()=>{ea(()=>e())}):ea(()=>e())},By=Pt({name:"nuxt:payload",setup(e){xt().beforeResolve(async(t,n)=>{if(t.path===n.path)return;const r=await Cc(t.path);r&&Object.assign(e.static.data,r.data)}),Hi(()=>{var t;e.hooks.hook("link:prefetch",async n=>{const{hostname:r}=new URL(n,window.location.href);r===window.location.hostname&&await Cc(n)}),((t=navigator.connection)==null?void 0:t.effectiveType)!=="slow-2g"&&setTimeout(Vi,1e3)})}}),jy=Pt(()=>{const e=xt();Hi(()=>{e.beforeResolve(async()=>{await new Promise(t=>{setTimeout(t,100),requestAnimationFrame(()=>{setTimeout(t,0)})})})})}),Uy=Pt(e=>{let t;async function n(){const r=await Vi();t&&clearTimeout(t),t=setTimeout(n,mc);try{const o=await $fetch(Ja("builds/latest.json")+`?${Date.now()}`);o.id!==r.id&&e.hooks.callHook("app:manifest:update",o)}catch{}}Hi(()=>{t=setTimeout(n,mc)})});function Wy(e={}){const t=e.path||window.location.pathname;let n={};try{n=Zo(sessionStorage.getItem("nuxt:reload")||"{}")}catch{}if(e.force||(n==null?void 0:n.path)!==t||(n==null?void 0:n.expires)<Date.now()){try{sessionStorage.setItem("nuxt:reload",JSON.stringify({path:t,expires:Date.now()+(e.ttl??1e4)}))}catch{}if(e.persistState)try{sessionStorage.setItem("nuxt:reload:state",JSON.stringify({state:Ie().payload.state}))}catch{}window.location.pathname!==t?window.location.href=t:window.location.reload()}}const Gy=Pt({name:"nuxt:chunk-reload",setup(e){const t=xt(),n=ir(),r=new Set;t.beforeEach(()=>{r.clear()}),e.hook("app:chunkError",({error:i})=>{r.add(i)});function o(i){const a="href"in i&&i.href[0]==="#"?n.app.baseURL+i.href:to(n.app.baseURL,i.fullPath);Wy({path:a,persistState:!0})}e.hook("app:manifest:update",()=>{t.beforeResolve(o)}),t.onError((i,s)=>{r.has(i)&&o(s)})}}),zy=Pt({name:"nuxt:global-components"}),qy=Pt(()=>{}),Ky=["top","right","bottom","left"],xc=["start","end"],Ac=Ky.reduce((e,t)=>e.concat(t,t+"-"+xc[0],t+"-"+xc[1]),[]),jr=Math.min,vn=Math.max,Jy={left:"right",right:"left",bottom:"top",top:"bottom"},Xy={start:"end",end:"start"};function ta(e,t,n){return vn(e,jr(t,n))}function Nn(e,t){return typeof e=="function"?e(t):e}function At(e){return e.split("-")[0]}function ht(e){return e.split("-")[1]}function Id(e){return e==="x"?"y":"x"}function Za(e){return e==="y"?"height":"width"}function On(e){return["top","bottom"].includes(At(e))?"y":"x"}function el(e){return Id(On(e))}function Nd(e,t,n){n===void 0&&(n=!1);const r=ht(e),o=el(e),i=Za(o);let s=o==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(s=li(s)),[s,li(s)]}function Yy(e){const t=li(e);return[ai(e),t,ai(t)]}function ai(e){return e.replace(/start|end/g,t=>Xy[t])}function Qy(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],s=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:s;default:return[]}}function Zy(e,t,n,r){const o=ht(e);let i=Qy(At(e),n==="start",r);return o&&(i=i.map(s=>s+"-"+o),t&&(i=i.concat(i.map(ai)))),i}function li(e){return e.replace(/left|right|bottom|top/g,t=>Jy[t])}function ev(e){return{top:0,right:0,bottom:0,left:0,...e}}function Dd(e){return typeof e!="number"?ev(e):{top:e,right:e,bottom:e,left:e}}function Pr(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}function Pc(e,t,n){let{reference:r,floating:o}=e;const i=On(t),s=el(t),a=Za(s),l=At(t),c=i==="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 p;switch(l){case"top":p={x:u,y:r.y-o.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(ht(t)){case"start":p[s]-=d*(n&&c?-1:1);break;case"end":p[s]+=d*(n&&c?-1:1);break}return p}const tv=async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:s}=n,a=i.filter(Boolean),l=await(s.isRTL==null?void 0:s.isRTL(t));let c=await s.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:f}=Pc(c,r,l),d=r,p={},h=0;for(let m=0;m<a.length;m++){const{name:y,fn:b}=a[m],{x:E,y:g,data:w,reset:C}=await b({x:u,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:c,platform:s,elements:{reference:e,floating:t}});u=E??u,f=g??f,p={...p,[y]:{...p[y],...w}},C&&h<=50&&(h++,typeof C=="object"&&(C.placement&&(d=C.placement),C.rects&&(c=C.rects===!0?await s.getElementRects({reference:e,floating:t,strategy:o}):C.rects),{x:u,y:f}=Pc(c,d,l)),m=-1)}return{x:u,y:f,placement:d,strategy:o,middlewareData:p}};async function Fi(e,t){var n;t===void 0&&(t={});const{x:r,y:o,platform:i,rects:s,elements:a,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=Nn(t,e),h=Dd(p),y=a[d?f==="floating"?"reference":"floating":f],b=Pr(await i.getClippingRect({element:(n=await(i.isElement==null?void 0:i.isElement(y)))==null||n?y:y.contextElement||await(i.getDocumentElement==null?void 0:i.getDocumentElement(a.floating)),boundary:c,rootBoundary:u,strategy:l})),E=f==="floating"?{x:r,y:o,width:s.floating.width,height:s.floating.height}:s.reference,g=await(i.getOffsetParent==null?void 0:i.getOffsetParent(a.floating)),w=await(i.isElement==null?void 0:i.isElement(g))?await(i.getScale==null?void 0:i.getScale(g))||{x:1,y:1}:{x:1,y:1},C=Pr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:a,rect:E,offsetParent:g,strategy:l}):E);return{top:(b.top-C.top+h.top)/w.y,bottom:(C.bottom-b.bottom+h.bottom)/w.y,left:(b.left-C.left+h.left)/w.x,right:(C.right-b.right+h.right)/w.x}}const nv=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:s,elements:a,middlewareData:l}=t,{element:c,padding:u=0}=Nn(e,t)||{};if(c==null)return{};const f=Dd(u),d={x:n,y:r},p=el(o),h=Za(p),m=await s.getDimensions(c),y=p==="y",b=y?"top":"left",E=y?"bottom":"right",g=y?"clientHeight":"clientWidth",w=i.reference[h]+i.reference[p]-d[p]-i.floating[h],C=d[p]-i.reference[p],P=await(s.getOffsetParent==null?void 0:s.getOffsetParent(c));let D=P?P[g]:0;(!D||!await(s.isElement==null?void 0:s.isElement(P)))&&(D=a.floating[g]||i.floating[h]);const W=w/2-C/2,L=D/2-m[h]/2-1,S=jr(f[b],L),O=jr(f[E],L),R=S,x=D-m[h]-O,A=D/2-m[h]/2+W,F=ta(R,A,x),I=!l.arrow&&ht(o)!=null&&A!==F&&i.reference[h]/2-(A<R?S:O)-m[h]/2<0,q=I?A<R?A-R:A-x:0;return{[p]:d[p]+q,data:{[p]:F,centerOffset:A-F-q,...I&&{alignmentOffset:q}},reset:I}}});function rv(e,t,n){return(e?[...n.filter(o=>ht(o)===e),...n.filter(o=>ht(o)!==e)]:n.filter(o=>At(o)===o)).filter(o=>e?ht(o)===e||(t?ai(o)!==o:!1):!0)}const ov=function(e){return e===void 0&&(e={}),{name:"autoPlacement",options:e,async fn(t){var n,r,o;const{rects:i,middlewareData:s,placement:a,platform:l,elements:c}=t,{crossAxis:u=!1,alignment:f,allowedPlacements:d=Ac,autoAlignment:p=!0,...h}=Nn(e,t),m=f!==void 0||d===Ac?rv(f||null,p,d):d,y=await Fi(t,h),b=((n=s.autoPlacement)==null?void 0:n.index)||0,E=m[b];if(E==null)return{};const g=Nd(E,i,await(l.isRTL==null?void 0:l.isRTL(c.floating)));if(a!==E)return{reset:{placement:m[0]}};const w=[y[At(E)],y[g[0]],y[g[1]]],C=[...((r=s.autoPlacement)==null?void 0:r.overflows)||[],{placement:E,overflows:w}],P=m[b+1];if(P)return{data:{index:b+1,overflows:C},reset:{placement:P}};const D=C.map(S=>{const O=ht(S.placement);return[S.placement,O&&u?S.overflows.slice(0,2).reduce((R,x)=>R+x,0):S.overflows[0],S.overflows]}).sort((S,O)=>S[1]-O[1]),L=((o=D.filter(S=>S[2].slice(0,ht(S[0])?2:3).every(O=>O<=0))[0])==null?void 0:o[0])||D[0][0];return L!==a?{data:{index:b+1,overflows:C},reset:{placement:L}}:{}}}},iv=function(e){return e===void 0&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:s,initialPlacement:a,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:f=!0,fallbackPlacements:d,fallbackStrategy:p="bestFit",fallbackAxisSideDirection:h="none",flipAlignment:m=!0,...y}=Nn(e,t);if((n=i.arrow)!=null&&n.alignmentOffset)return{};const b=At(o),E=On(a),g=At(a)===a,w=await(l.isRTL==null?void 0:l.isRTL(c.floating)),C=d||(g||!m?[li(a)]:Yy(a)),P=h!=="none";!d&&P&&C.push(...Zy(a,m,h,w));const D=[a,...C],W=await Fi(t,y),L=[];let S=((r=i.flip)==null?void 0:r.overflows)||[];if(u&&L.push(W[b]),f){const A=Nd(o,s,w);L.push(W[A[0]],W[A[1]])}if(S=[...S,{placement:o,overflows:L}],!L.every(A=>A<=0)){var O,R;const A=(((O=i.flip)==null?void 0:O.index)||0)+1,F=D[A];if(F)return{data:{index:A,overflows:S},reset:{placement:F}};let I=(R=S.filter(q=>q.overflows[0]<=0).sort((q,U)=>q.overflows[1]-U.overflows[1])[0])==null?void 0:R.placement;if(!I)switch(p){case"bestFit":{var x;const q=(x=S.filter(U=>{if(P){const ne=On(U.placement);return ne===E||ne==="y"}return!0}).map(U=>[U.placement,U.overflows.filter(ne=>ne>0).reduce((ne,Se)=>ne+Se,0)]).sort((U,ne)=>U[1]-ne[1])[0])==null?void 0:x[0];q&&(I=q);break}case"initialPlacement":I=a;break}if(o!==I)return{reset:{placement:I}}}return{}}}};async function sv(e,t){const{placement:n,platform:r,elements:o}=e,i=await(r.isRTL==null?void 0:r.isRTL(o.floating)),s=At(n),a=ht(n),l=On(n)==="y",c=["left","top"].includes(s)?-1:1,u=i&&l?-1:1,f=Nn(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:h}=typeof f=="number"?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:f.mainAxis||0,crossAxis:f.crossAxis||0,alignmentAxis:f.alignmentAxis};return a&&typeof h=="number"&&(p=a==="end"?h*-1:h),l?{x:p*u,y:d*c}:{x:d*c,y:p*u}}const av=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:s,middlewareData:a}=t,l=await sv(t,e);return s===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:s}}}}},lv=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:s=!1,limiter:a={fn:y=>{let{x:b,y:E}=y;return{x:b,y:E}}},...l}=Nn(e,t),c={x:n,y:r},u=await Fi(t,l),f=On(At(o)),d=Id(f);let p=c[d],h=c[f];if(i){const y=d==="y"?"top":"left",b=d==="y"?"bottom":"right",E=p+u[y],g=p-u[b];p=ta(E,p,g)}if(s){const y=f==="y"?"top":"left",b=f==="y"?"bottom":"right",E=h+u[y],g=h-u[b];h=ta(E,h,g)}const m=a.fn({...t,[d]:p,[f]:h});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[d]:i,[f]:s}}}}}},cv=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:s,elements:a}=t,{apply:l=()=>{},...c}=Nn(e,t),u=await Fi(t,c),f=At(o),d=ht(o),p=On(o)==="y",{width:h,height:m}=i.floating;let y,b;f==="top"||f==="bottom"?(y=f,b=d===(await(s.isRTL==null?void 0:s.isRTL(a.floating))?"start":"end")?"left":"right"):(b=f,y=d==="end"?"top":"bottom");const E=m-u.top-u.bottom,g=h-u.left-u.right,w=jr(m-u[y],E),C=jr(h-u[b],g),P=!t.middlewareData.shift;let D=w,W=C;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(W=g),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(D=E),P&&!d){const S=vn(u.left,0),O=vn(u.right,0),R=vn(u.top,0),x=vn(u.bottom,0);p?W=h-2*(S!==0||O!==0?S+O:vn(u.left,u.right)):D=m-2*(R!==0||x!==0?R+x:vn(u.top,u.bottom))}await l({...t,availableWidth:W,availableHeight:D});const L=await s.getDimensions(a.floating);return h!==L.width||m!==L.height?{reset:{rects:!0}}:{}}}};function it(e){var t;return((t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Tt(e){return it(e).getComputedStyle(e)}const Rc=Math.min,Rr=Math.max,ci=Math.round;function $d(e){const t=Tt(e);let n=parseFloat(t.width),r=parseFloat(t.height);const o=e.offsetWidth,i=e.offsetHeight,s=ci(n)!==o||ci(r)!==i;return s&&(n=o,r=i),{width:n,height:r,fallback:s}}function rn(e){return Vd(e)?(e.nodeName||"").toLowerCase():""}let bo;function Md(){if(bo)return bo;const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?(bo=e.brands.map(t=>t.brand+"/"+t.version).join(" "),bo):navigator.userAgent}function Ct(e){return e instanceof it(e).HTMLElement}function Qt(e){return e instanceof it(e).Element}function Vd(e){return e instanceof it(e).Node}function kc(e){return typeof ShadowRoot>"u"?!1:e instanceof it(e).ShadowRoot||e instanceof ShadowRoot}function Bi(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Tt(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function uv(e){return["table","td","th"].includes(rn(e))}function na(e){const t=/firefox/i.test(Md()),n=Tt(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 i=n.contain;return i!=null&&i.includes(o)})}function Hd(){return!/^((?!chrome|android).)*safari/i.test(Md())}function tl(e){return["html","body","#document"].includes(rn(e))}function Fd(e){return Qt(e)?e:e.contextElement}const Bd={x:1,y:1};function Qn(e){const t=Fd(e);if(!Ct(t))return Bd;const n=t.getBoundingClientRect(),{width:r,height:o,fallback:i}=$d(t);let s=(i?ci(n.width):n.width)/r,a=(i?ci(n.height):n.height)/o;return s&&Number.isFinite(s)||(s=1),a&&Number.isFinite(a)||(a=1),{x:s,y:a}}function Ur(e,t,n,r){var o,i;t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),a=Fd(e);let l=Bd;t&&(r?Qt(r)&&(l=Qn(r)):l=Qn(e));const c=a?it(a):window,u=!Hd()&&n;let f=(s.left+(u&&((o=c.visualViewport)==null?void 0:o.offsetLeft)||0))/l.x,d=(s.top+(u&&((i=c.visualViewport)==null?void 0:i.offsetTop)||0))/l.y,p=s.width/l.x,h=s.height/l.y;if(a){const m=it(a),y=r&&Qt(r)?it(r):r;let b=m.frameElement;for(;b&&r&&y!==m;){const E=Qn(b),g=b.getBoundingClientRect(),w=getComputedStyle(b);g.x+=(b.clientLeft+parseFloat(w.paddingLeft))*E.x,g.y+=(b.clientTop+parseFloat(w.paddingTop))*E.y,f*=E.x,d*=E.y,p*=E.x,h*=E.y,f+=g.x,d+=g.y,b=it(b).frameElement}}return{width:p,height:h,top:d,right:f+p,bottom:d+h,left:f,x:f,y:d}}function Zt(e){return((Vd(e)?e.ownerDocument:e.document)||window.document).documentElement}function ji(e){return Qt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function jd(e){return Ur(Zt(e)).left+ji(e).scrollLeft}function Wr(e){if(rn(e)==="html")return e;const t=e.assignedSlot||e.parentNode||kc(e)&&e.host||Zt(e);return kc(t)?t.host:t}function Ud(e){const t=Wr(e);return tl(t)?t.ownerDocument.body:Ct(t)&&Bi(t)?t:Ud(t)}function ui(e,t){var n;t===void 0&&(t=[]);const r=Ud(e),o=r===((n=e.ownerDocument)==null?void 0:n.body),i=it(r);return o?t.concat(i,i.visualViewport||[],Bi(r)?r:[]):t.concat(r,ui(r))}function Lc(e,t,n){return t==="viewport"?Pr(function(r,o){const i=it(r),s=Zt(r),a=i.visualViewport;let l=s.clientWidth,c=s.clientHeight,u=0,f=0;if(a){l=a.width,c=a.height;const d=Hd();(d||!d&&o==="fixed")&&(u=a.offsetLeft,f=a.offsetTop)}return{width:l,height:c,x:u,y:f}}(e,n)):Qt(t)?Pr(function(r,o){const i=Ur(r,!0,o==="fixed"),s=i.top+r.clientTop,a=i.left+r.clientLeft,l=Ct(r)?Qn(r):{x:1,y:1};return{width:r.clientWidth*l.x,height:r.clientHeight*l.y,x:a*l.x,y:s*l.y}}(t,n)):Pr(function(r){const o=Zt(r),i=ji(r),s=r.ownerDocument.body,a=Rr(o.scrollWidth,o.clientWidth,s.scrollWidth,s.clientWidth),l=Rr(o.scrollHeight,o.clientHeight,s.scrollHeight,s.clientHeight);let c=-i.scrollLeft+jd(r);const u=-i.scrollTop;return Tt(s).direction==="rtl"&&(c+=Rr(o.clientWidth,s.clientWidth)-a),{width:a,height:l,x:c,y:u}}(Zt(e)))}function Oc(e){return Ct(e)&&Tt(e).position!=="fixed"?e.offsetParent:null}function Ic(e){const t=it(e);let n=Oc(e);for(;n&&uv(n)&&Tt(n).position==="static";)n=Oc(n);return n&&(rn(n)==="html"||rn(n)==="body"&&Tt(n).position==="static"&&!na(n))?t:n||function(r){let o=Wr(r);for(;Ct(o)&&!tl(o);){if(na(o))return o;o=Wr(o)}return null}(e)||t}function fv(e,t,n){const r=Ct(t),o=Zt(t),i=Ur(e,!0,n==="fixed",t);let s={scrollLeft:0,scrollTop:0};const a={x:0,y:0};if(r||!r&&n!=="fixed")if((rn(t)!=="body"||Bi(o))&&(s=ji(t)),Ct(t)){const l=Ur(t,!0);a.x=l.x+t.clientLeft,a.y=l.y+t.clientTop}else o&&(a.x=jd(o));return{x:i.left+s.scrollLeft-a.x,y:i.top+s.scrollTop-a.y,width:i.width,height:i.height}}const dv={getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=n==="clippingAncestors"?function(c,u){const f=u.get(c);if(f)return f;let d=ui(c).filter(y=>Qt(y)&&rn(y)!=="body"),p=null;const h=Tt(c).position==="fixed";let m=h?Wr(c):c;for(;Qt(m)&&!tl(m);){const y=Tt(m),b=na(m);(h?b||p:b||y.position!=="static"||!p||!["absolute","fixed"].includes(p.position))?p=y:d=d.filter(E=>E!==m),m=Wr(m)}return u.set(c,d),d}(t,this._c):[].concat(n),s=[...i,r],a=s[0],l=s.reduce((c,u)=>{const f=Lc(t,u,o);return c.top=Rr(f.top,c.top),c.right=Rc(f.right,c.right),c.bottom=Rc(f.bottom,c.bottom),c.left=Rr(f.left,c.left),c},Lc(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=Ct(n),i=Zt(n);if(n===i)return t;let s={scrollLeft:0,scrollTop:0},a={x:1,y:1};const l={x:0,y:0};if((o||!o&&r!=="fixed")&&((rn(n)!=="body"||Bi(i))&&(s=ji(n)),Ct(n))){const c=Ur(n);a=Qn(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-s.scrollLeft*a.x+l.x,y:t.y*a.y-s.scrollTop*a.y+l.y}},isElement:Qt,getDimensions:function(e){return Ct(e)?$d(e):e.getBoundingClientRect()},getOffsetParent:Ic,getDocumentElement:Zt,getScale:Qn,async getElementRects(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||Ic,i=this.getDimensions;return{reference:fv(t,await o(n),r),floating:{x:0,y:0,...await i(n)}}},getClientRects:e=>Array.from(e.getClientRects()),isRTL:e=>Tt(e).direction==="rtl"},pv=(e,t,n)=>{const r=new Map,o={platform:dv,...n},i={...o.platform,_c:r};return tv(e,t,{...o,platform:i})};function Wd(e,t){for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(typeof t[n]=="object"&&e[n]?Wd(e[n],t[n]):e[n]=t[n])}const mt={disabled:!1,distance:5,skidding:0,container:"body",boundary:void 0,instantMove:!1,disposeTimeout:150,popperTriggers:[],strategy:"absolute",preventOverflow:!0,flip:!0,shift:!0,overflowPadding:0,arrowPadding:0,arrowOverflow:!0,autoHideOnMousedown:!1,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 Gr(e,t){let n=mt.themes[e]||{},r;do r=n[t],typeof r>"u"?n.$extend?n=mt.themes[n.$extend]||{}:(n=null,r=mt[t]):n=null;while(n);return r}function hv(e){const t=[e];let n=mt.themes[e]||{};do n.$extend&&!n.$resetCss?(t.push(n.$extend),n=mt.themes[n.$extend]||{}):n=null;while(n);return t.map(r=>`v-popper--theme-${r}`)}function Nc(e){const t=[e];let n=mt.themes[e]||{};do n.$extend?(t.push(n.$extend),n=mt.themes[n.$extend]||{}):n=null;while(n);return t}let sr=!1;if(typeof window<"u"){sr=!1;try{const e=Object.defineProperty({},"passive",{get(){sr=!0}});window.addEventListener("test",null,e)}catch{}}let Gd=!1;typeof window<"u"&&typeof navigator<"u"&&(Gd=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream);const zd=["auto","top","bottom","left","right"].reduce((e,t)=>e.concat([t,`${t}-start`,`${t}-end`]),[]),Dc={hover:"mouseenter",focus:"focus",click:"click",touch:"touchstart",pointer:"pointerdown"},$c={hover:"mouseleave",focus:"blur",click:"click",touch:"touchend",pointer:"pointerup"};function Mc(e,t){const n=e.indexOf(t);n!==-1&&e.splice(n,1)}function ps(){return new Promise(e=>requestAnimationFrame(()=>{requestAnimationFrame(e)}))}const ft=[];let mn=null;const Vc={};function Hc(e){let t=Vc[e];return t||(t=Vc[e]=[]),t}let ra=function(){};typeof window<"u"&&(ra=window.Element);function ce(e){return function(t){return Gr(t.theme,e)}}const hs="__floating-vue__popper",qd=()=>Pe({name:"VPopper",provide(){return{[hs]:{parentPopper:this}}},inject:{[hs]:{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:ce("disabled")},positioningDisabled:{type:Boolean,default:ce("positioningDisabled")},placement:{type:String,default:ce("placement"),validator:e=>zd.includes(e)},delay:{type:[String,Number,Object],default:ce("delay")},distance:{type:[Number,String],default:ce("distance")},skidding:{type:[Number,String],default:ce("skidding")},triggers:{type:Array,default:ce("triggers")},showTriggers:{type:[Array,Function],default:ce("showTriggers")},hideTriggers:{type:[Array,Function],default:ce("hideTriggers")},popperTriggers:{type:Array,default:ce("popperTriggers")},popperShowTriggers:{type:[Array,Function],default:ce("popperShowTriggers")},popperHideTriggers:{type:[Array,Function],default:ce("popperHideTriggers")},container:{type:[String,Object,ra,Boolean],default:ce("container")},boundary:{type:[String,ra],default:ce("boundary")},strategy:{type:String,validator:e=>["absolute","fixed"].includes(e),default:ce("strategy")},autoHide:{type:[Boolean,Function],default:ce("autoHide")},handleResize:{type:Boolean,default:ce("handleResize")},instantMove:{type:Boolean,default:ce("instantMove")},eagerMount:{type:Boolean,default:ce("eagerMount")},popperClass:{type:[String,Array,Object],default:ce("popperClass")},computeTransformOrigin:{type:Boolean,default:ce("computeTransformOrigin")},autoMinSize:{type:Boolean,default:ce("autoMinSize")},autoSize:{type:[Boolean,String],default:ce("autoSize")},autoMaxSize:{type:Boolean,default:ce("autoMaxSize")},autoBoundaryMaxSize:{type:Boolean,default:ce("autoBoundaryMaxSize")},preventOverflow:{type:Boolean,default:ce("preventOverflow")},overflowPadding:{type:[Number,String],default:ce("overflowPadding")},arrowPadding:{type:[Number,String],default:ce("arrowPadding")},arrowOverflow:{type:Boolean,default:ce("arrowOverflow")},flip:{type:Boolean,default:ce("flip")},shift:{type:Boolean,default:ce("shift")},shiftCrossAxis:{type:Boolean,default:ce("shiftCrossAxis")},noAutoFocus:{type:Boolean,default:ce("noAutoFocus")},disposeTimeout:{type:Number,default:ce("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},randomId:`popper_${[Math.random(),Date.now()].map(e=>e.toString(36).substring(2,10)).join("_")}`,shownChildren:new Set,lastAutoHide:!0,pendingHide:!1,containsGlobalTarget:!1,isDisposed:!0,mouseDownContains:!1}},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[hs])==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:{handler:"$_refreshListeners",deep:!0},positioningDisabled:"$_refreshListeners",...["placement","distance","skidding","boundary","strategy","overflowPadding","arrowPadding","preventOverflow","shift","shiftCrossAxis","flip"].reduce((e,t)=>(e[t]="$_computePosition",e),{})},created(){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(av({mainAxis:this.distance,crossAxis:this.skidding}));const t=this.placement.startsWith("auto");if(t?e.middleware.push(ov({alignment:this.placement.split("-")[1]??""})):e.placement=this.placement,this.preventOverflow&&(this.shift&&e.middleware.push(lv({padding:this.overflowPadding,boundary:this.boundary,crossAxis:this.shiftCrossAxis})),!t&&this.flip&&e.middleware.push(iv({padding:this.overflowPadding,boundary:this.boundary}))),e.middleware.push(nv({element:this.$_arrowNode,padding:this.arrowPadding})),this.arrowOverflow&&e.middleware.push({name:"arrowOverflow",fn:({placement:r,rects:o,middlewareData:i})=>{let s;const{centerOffset:a}=i.arrow;return r.startsWith("top")||r.startsWith("bottom")?s=Math.abs(a)>o.reference.width/2:s=Math.abs(a)>o.reference.height/2,{data:{overflow:s}}}}),this.autoMinSize||this.autoSize){const r=this.autoSize?this.autoSize:this.autoMinSize?"min":null;e.middleware.push({name:"autoSize",fn:({rects:o,placement:i,middlewareData:s})=>{var a;if((a=s.autoSize)!=null&&a.skip)return{};let l,c;return i.startsWith("top")||i.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(cv({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 pv(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,t=!1){if(this.$_updateParentShownChildren(!0),this.$_hideInProgress=!1,clearTimeout(this.$_scheduleTimer),mn&&this.instantMove&&mn.instantMove&&mn!==this.parentPopper){mn.$_applyHide(!0),this.$_applyShow(!0);return}t?this.$_applyShow():this.$_scheduleTimer=setTimeout(this.$_applyShow.bind(this),this.$_computeDelay("show"))},$_scheduleHide(e,t=!1){if(this.shownChildren.size>0){this.pendingHide=!0;return}this.$_updateParentShownChildren(!1),this.$_hideInProgress=!0,clearTimeout(this.$_scheduleTimer),this.isShown&&(mn=this),t?this.$_applyHide():this.$_scheduleTimer=setTimeout(this.$_applyHide.bind(this),this.$_computeDelay("hide"))},$_computeDelay(e){const t=this.delay;return parseInt(t&&t[e]||t||0)},async $_applyShow(e=!1){clearTimeout(this.$_disposeTimer),clearTimeout(this.$_scheduleTimer),this.skipTransition=e,!this.isShown&&(this.$_ensureTeleport(),await ps(),await this.$_computePosition(),await this.$_applyShowEffect(),this.positioningDisabled||this.$_registerEventListeners([...ui(this.$_referenceNode),...ui(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),i=t.y+t.height/2-(r.top+n.offsetTop);this.result.transformOrigin=`${o}px ${i}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<ft.length;n++)t=ft[n],t.showGroup!==e&&(t.hide(),t.$emit("close-group"))}ft.push(this),document.body.classList.add("v-popper--some-open");for(const t of Nc(this.theme))Hc(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 ps(),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,Mc(ft,this),ft.length===0&&document.body.classList.remove("v-popper--some-open");for(const n of Nc(this.theme)){const r=Hc(n);Mc(r,this),r.length===0&&document.body.classList.remove(`v-popper--some-open--${n}`)}mn===this&&(mn=null),this.isShown=!1,this.$_applyAttrsToTarget({"aria-describedby":void 0,"data-popper-shown":void 0}),clearTimeout(this.$_disposeTimer);const t=this.disposeTimeout;t!==null&&(this.$_disposeTimer=setTimeout(()=>{this.$_popperNode&&(this.$_detachPopperNode(),this.isMounted=!1)},t)),this.$_removeEventListeners("scroll"),this.$emit("apply-hide"),this.classes.showFrom=!1,this.classes.showTo=!1,this.classes.hideFrom=!0,this.classes.hideTo=!1,await ps(),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,Dc,this.triggers,this.showTriggers,e),this.$_registerTriggerListeners([this.$_popperNode],Dc,this.popperTriggers,this.popperShowTriggers,e);const t=n=>{n.usedByTooltip||this.hide({event:n})};this.$_registerTriggerListeners(this.$_targetNodes,$c,this.triggers,this.hideTriggers,t),this.$_registerTriggerListeners([this.$_popperNode],$c,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,sr?{passive:!0}:void 0))},$_registerTriggerListeners(e,t,n,r,o){let i=n;r!=null&&(i=typeof r=="function"?r(i):r),i.forEach(s=>{const a=t[s];a&&this.$_registerEventListeners(e,a,o)})},$_removeEventListeners(e){const t=[];this.$_events.forEach(n=>{const{targetNodes:r,eventType:o,handler:i}=n;!e||e===o?r.forEach(s=>s.removeEventListener(o,i)):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(kr>=e.left&&kr<=e.right&&Lr>=e.top&&Lr<=e.bottom){const t=this.$_popperNode.getBoundingClientRect(),n=kr-qt,r=Lr-Kt,o=t.left+t.width/2-qt+(t.top+t.height/2)-Kt+t.width+t.height,i=qt+n*o,s=Kt+r*o;return wo(qt,Kt,i,s,t.left,t.top,t.left,t.bottom)||wo(qt,Kt,i,s,t.left,t.top,t.right,t.top)||wo(qt,Kt,i,s,t.right,t.top,t.right,t.bottom)||wo(qt,Kt,i,s,t.left,t.bottom,t.right,t.bottom)}return!1}},render(){return this.$slots.default(this.slotData)}});if(typeof document<"u"&&typeof window<"u"){if(Gd){const e=sr?{passive:!0,capture:!0}:!0;document.addEventListener("touchstart",t=>Fc(t,!0),e),document.addEventListener("touchend",t=>Bc(t,!0),e)}else window.addEventListener("mousedown",e=>Fc(e,!1),!0),window.addEventListener("click",e=>Bc(e,!1),!0);window.addEventListener("resize",gv)}function Fc(e,t){if(mt.autoHideOnMousedown)Kd(e,t);else for(let n=0;n<ft.length;n++){const r=ft[n];try{r.mouseDownContains=r.popperNode().contains(e.target)}catch{}}}function Bc(e,t){mt.autoHideOnMousedown||Kd(e,t)}function Kd(e,t){const n={};for(let r=ft.length-1;r>=0;r--){const o=ft[r];try{const i=o.containsGlobalTarget=o.mouseDownContains||o.popperNode().contains(e.target);o.pendingHide=!1,requestAnimationFrame(()=>{if(o.pendingHide=!1,!n[o.randomId]&&jc(o,i,e)){if(o.$_handleGlobalClose(e,t),!e.closeAllPopover&&e.closePopover&&i){let a=o.parentPopper;for(;a;)n[a.randomId]=!0,a=a.parentPopper;return}let s=o.parentPopper;for(;s&&jc(s,s.containsGlobalTarget,e);)s.$_handleGlobalClose(e,t),s=s.parentPopper}})}catch{}}}function jc(e,t,n){return n.closeAllPopover||n.closePopover&&t||mv(e,n)&&!t}function mv(e,t){if(typeof e.autoHide=="function"){const n=e.autoHide(t);return e.lastAutoHide=n,n}return e.autoHide}function gv(){for(let e=0;e<ft.length;e++)ft[e].$_computePosition()}let qt=0,Kt=0,kr=0,Lr=0;typeof window<"u"&&window.addEventListener("mousemove",e=>{qt=kr,Kt=Lr,kr=e.clientX,Lr=e.clientY},sr?{passive:!0}:void 0);function wo(e,t,n,r,o,i,s,a){const l=((s-o)*(t-i)-(a-i)*(e-o))/((a-i)*(n-e)-(s-o)*(r-t)),c=((n-e)*(t-i)-(r-t)*(e-o))/((a-i)*(n-e)-(s-o)*(r-t));return l>=0&&l<=1&&c>=0&&c<=1}const _v={extends:qd()},Ui=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n};function yv(e,t,n,r,o,i){return j(),Y("div",{ref:"reference",class:Ae(["v-popper",{"v-popper--shown":e.slotData.isShown}])},[Le(e.$slots,"default",Ou(Ga(e.slotData)))],2)}const vv=Ui(_v,[["render",yv]]);function bv(){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 Vo;function oa(){oa.init||(oa.init=!0,Vo=bv()!==-1)}var Wi={name:"ResizeObserver",props:{emitOnMount:{type:Boolean,default:!1},ignoreWidth:{type:Boolean,default:!1},ignoreHeight:{type:Boolean,default:!1}},emits:["notify"],mounted(){oa(),Ht(()=>{this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitOnMount&&this.emitSize()});const e=document.createElement("object");this._resizeObject=e,e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex",-1),e.onload=this.addResizeHandlers,e.type="text/html",Vo&&this.$el.appendChild(e),e.data="about:blank",Vo||this.$el.appendChild(e)},beforeUnmount(){this.removeResizeHandlers()},methods:{compareAndNotify(){(!this.ignoreWidth&&this._w!==this.$el.offsetWidth||!this.ignoreHeight&&this._h!==this.$el.offsetHeight)&&(this._w=this.$el.offsetWidth,this._h=this.$el.offsetHeight,this.emitSize())},emitSize(){this.$emit("notify",{width:this._w,height:this._h})},addResizeHandlers(){this._resizeObject.contentDocument.defaultView.addEventListener("resize",this.compareAndNotify),this.compareAndNotify()},removeResizeHandlers(){this._resizeObject&&this._resizeObject.onload&&(!Vo&&this._resizeObject.contentDocument&&this._resizeObject.contentDocument.defaultView.removeEventListener("resize",this.compareAndNotify),this.$el.removeChild(this._resizeObject),this._resizeObject.onload=null,this._resizeObject=null)}}};const wv=um();lm("data-v-b329ee4c");const Ev={class:"resize-observer",tabindex:"-1"};cm();const Tv=wv((e,t,n,r,o,i)=>(j(),pe("div",Ev)));Wi.render=Tv;Wi.__scopeId="data-v-b329ee4c";Wi.__file="src/components/ResizeObserver.vue";const Jd=(e="theme")=>({computed:{themeClass(){return hv(this[e])}}}),Cv=Pe({name:"VPopperContent",components:{ResizeObserver:Wi},mixins:[Jd()],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}}}),Sv=["id","aria-hidden","tabindex","data-popper-placement"],xv={ref:"inner",class:"v-popper__inner"},Av=M("div",{class:"v-popper__arrow-outer"},null,-1),Pv=M("div",{class:"v-popper__arrow-inner"},null,-1),Rv=[Av,Pv];function kv(e,t,n,r,o,i){const s=Vt("ResizeObserver");return j(),Y("div",{id:e.popperId,ref:"popover",class:Ae(["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:$t(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]=i_(a=>e.autoHide&&e.$emit("hide"),["esc"]))},[M("div",{class:"v-popper__backdrop",onClick:t[0]||(t[0]=a=>e.autoHide&&e.$emit("hide"))}),M("div",{class:"v-popper__wrapper",style:$t(e.result?{transformOrigin:e.result.transformOrigin}:void 0)},[M("div",xv,[e.mounted?(j(),Y(me,{key:0},[M("div",null,[Le(e.$slots,"default")]),e.handleResize?(j(),pe(s,{key:0,onNotify:t[1]||(t[1]=a=>e.$emit("resize",a))})):Te("",!0)],64)):Te("",!0)],512),M("div",{ref:"arrow",class:"v-popper__arrow-container",style:$t(e.result?{left:e.toPx(e.result.arrow.x),top:e.toPx(e.result.arrow.y)}:void 0)},Rv,4)],4)],46,Sv)}const Xd=Ui(Cv,[["render",kv]]),Yd={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 ia=function(){};typeof window<"u"&&(ia=window.Element);const Lv=Pe({name:"VPopperWrapper",components:{Popper:vv,PopperContent:Xd},mixins:[Yd,Jd("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,ia,Boolean],default:void 0},boundary:{type:[String,ia],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 Ov(e,t,n,r,o,i){const s=Vt("PopperContent"),a=Vt("Popper");return j(),pe(a,ln({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:oe(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,show:p,hide:h,handleResize:m,onResize:y,classes:b,result:E})=>[Le(e.$slots,"default",{shown:c,show:p,hide:h}),J(s,{ref:"popperContent","popper-id":l,theme:e.finalTheme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":m,classes:b,result:E,onHide:h,onResize:y},{default:oe(()=>[Le(e.$slots,"popper",{shown:c,hide:h})]),_: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 nl=Ui(Lv,[["render",Ov]]),Iv={...nl,name:"VDropdown",vPopperTheme:"dropdown"},Nv={...nl,name:"VMenu",vPopperTheme:"menu"},Dv={...nl,name:"VTooltip",vPopperTheme:"tooltip"},$v=Pe({name:"VTooltipDirective",components:{Popper:qd(),PopperContent:Xd},mixins:[Yd],inheritAttrs:!1,props:{theme:{type:String,default:"tooltip"},html:{type:Boolean,default:e=>Gr(e.theme,"html")},content:{type:[String,Number,Function],default:null},loadingContent:{type:String,default:e=>Gr(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}}}),Mv=["innerHTML"],Vv=["textContent"];function Hv(e,t,n,r,o,i){const s=Vt("PopperContent"),a=Vt("Popper");return j(),pe(a,ln({ref:"popper"},e.$attrs,{theme:e.theme,"target-nodes":e.targetNodes,"popper-node":()=>e.$refs.popperContent.$el,onApplyShow:e.onShow,onApplyHide:e.onHide}),{default:oe(({popperId:l,isShown:c,shouldMountContent:u,skipTransition:f,autoHide:d,hide:p,handleResize:h,onResize:m,classes:y,result:b})=>[J(s,{ref:"popperContent",class:Ae({"v-popper--tooltip-loading":e.loading}),"popper-id":l,theme:e.theme,shown:c,mounted:u,"skip-transition":f,"auto-hide":d,"handle-resize":h,classes:y,result:b,onHide:p,onResize:m},{default:oe(()=>[e.html?(j(),Y("div",{key:0,innerHTML:e.finalContent},null,8,Mv)):(j(),Y("div",{key:1,textContent:Ce(e.finalContent)},null,8,Vv))]),_: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 Fv=Ui($v,[["render",Hv]]),Qd="v-popper--has-tooltip";function Bv(e,t){let n=e.placement;if(!n&&t)for(const r of zd)t[r]&&(n=r);return n||(n=Gr(e.theme||"tooltip","placement")),n}function Zd(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=Bv(r,n),r.targetNodes=()=>[e],r.referenceNode=()=>e,r}let ms,zr,jv=0;function Uv(){if(ms)return;zr=ae([]),ms=Zf({name:"VTooltipDirectiveApp",setup(){return{directives:zr}},render(){return this.directives.map(t=>rr(Fv,{...t.options,shown:t.shown||t.options.shown,key:t.id}))},devtools:{hide:!0}});const e=document.createElement("div");document.body.appendChild(e),ms.mount(e)}function Wv(e,t,n){Uv();const r=ae(Zd(e,t,n)),o=ae(!1),i={id:jv++,options:r,shown:o};return zr.value.push(i),e.classList&&e.classList.add(Qd),e.$_popper={options:r,item:i,show(){o.value=!0},hide(){o.value=!1}}}function ep(e){if(e.$_popper){const t=zr.value.indexOf(e.$_popper.item);t!==-1&&zr.value.splice(t,1),delete e.$_popper,delete e.$_popperOldShown,delete e.$_popperMountTarget}e.classList&&e.classList.remove(Qd)}function Uc(e,{value:t,modifiers:n}){const r=Zd(e,t,n);if(!r.content||Gr(r.theme||"tooltip","disabled"))ep(e);else{let o;e.$_popper?(o=e.$_popper,o.options.value=r):o=Wv(e,t,n),typeof t.shown<"u"&&t.shown!==e.$_popperOldShown&&(e.$_popperOldShown=t.shown,t.shown?o.show():o.hide())}}const Gv={beforeMount:Uc,updated:Uc,beforeUnmount(e){ep(e)}};function Wc(e){e.addEventListener("mousedown",fi),e.addEventListener("click",fi),e.addEventListener("touchstart",tp,sr?{passive:!0}:!1)}function Gc(e){e.removeEventListener("mousedown",fi),e.removeEventListener("click",fi),e.removeEventListener("touchstart",tp),e.removeEventListener("touchend",np),e.removeEventListener("touchcancel",rp)}function fi(e){const t=e.currentTarget;e.closePopover=!t.$_vclosepopover_touch,e.closeAllPopover=t.$_closePopoverModifiers&&!!t.$_closePopoverModifiers.all}function tp(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",np),t.addEventListener("touchcancel",rp)}}function np(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 rp(e){const t=e.currentTarget;t.$_vclosepopover_touch=!1}const zv={beforeMount(e,{value:t,modifiers:n}){e.$_closePopoverModifiers=n,(typeof t>"u"||t)&&Wc(e)},updated(e,{value:t,oldValue:n,modifiers:r}){e.$_closePopoverModifiers=r,t!==n&&(typeof t>"u"||t?Wc(e):Gc(e))},beforeUnmount(e){Gc(e)}};function qv(e,t={}){e.$_vTooltipInstalled||(e.$_vTooltipInstalled=!0,Wd(mt,t),e.directive("tooltip",Gv),e.directive("close-popper",zv),e.component("VTooltip",Dv),e.component("VDropdown",Iv),e.component("VMenu",Nv))}const Kv={version:"5.2.2",install:qv,options:mt},Jv=Pt(e=>{e.vueApp.use(Kv)}),Xv=[Ny,$y,Hy,By,jy,Uy,Gy,zy,qy,Jv],Yv="modulepreload",Qv=function(e,t){return new URL(e,t).href},zc={},_=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){const s=document.getElementsByTagName("link"),a=document.querySelector("meta[property=csp-nonce]"),l=(a==null?void 0:a.nonce)||(a==null?void 0:a.getAttribute("nonce"));o=Promise.allSettled(n.map(c=>{if(c=Qv(c,r),c in zc)return;zc[c]=!0;const u=c.endsWith(".css"),f=u?'[rel="stylesheet"]':"";if(!!r)for(let h=s.length-1;h>=0;h--){const m=s[h];if(m.href===c&&(!u||m.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${c}"]${f}`))return;const p=document.createElement("link");if(p.rel=u?"stylesheet":Yv,u||(p.as="script"),p.crossOrigin="",p.href=c,l&&p.setAttribute("nonce",l),document.head.appendChild(p),u)return new Promise((h,m)=>{p.addEventListener("load",h),p.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(s){const a=new Event("vite:preloadError",{cancelable:!0});if(a.payload=s,window.dispatchEvent(a),!a.defaultPrevented)throw s}return o.then(s=>{for(const a of s||[])a.status==="rejected"&&i(a.reason);return t().catch(i)})},no=Pe({__name:"NIcon",props:{icon:{}},setup(e){return(t,n)=>(j(),Y("div",{class:Ae(["n-icon",t.icon])},null,2))}}),ro=(e,t)=>{const n=e.__vccOpts||e;for(const[r,o]of t)n[r]=o;return n},Zv={},eb={class:"n-badge"};function tb(e,t){return j(),Y("span",eb,[Le(e.$slots,"default")])}const nb=ro(Zv,[["render",tb]]);async function op(e,t=xt()){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(()=>op(e,t));t._routePreloaded.add(n);const i=r.map(s=>{var a;return(a=s.components)==null?void 0:a.default}).filter(s=>typeof s=="function");for(const s of i){const a=Promise.resolve(s()).catch(()=>{}).finally(()=>o.splice(o.indexOf(a)));o.push(a)}await Promise.all(o)}const rb=(...e)=>e.find(t=>t!==void 0);function ob(e){const t=e.componentName||"NuxtLink";function n(o,i){if(!o||e.trailingSlash!=="append"&&e.trailingSlash!=="remove")return o;if(typeof o=="string")return qc(o,e.trailingSlash);const s="path"in o&&o.path!==void 0?o.path:i(o).path;return{...o,name:void 0,path:qc(s,e.trailingSlash)}}function r(o){const i=xt(),s=ir(),a=xe(()=>!!o.target&&o.target!=="_self"),l=xe(()=>{const m=o.to||o.href||"";return typeof m=="string"&&cn(m,{acceptRelative:!0})}),c=Vt("RouterLink"),u=c&&typeof c!="string"?c.useLink:void 0,f=xe(()=>{if(o.external)return!0;const m=o.to||o.href||"";return typeof m=="object"?!1:m===""||l.value}),d=xe(()=>{const m=o.to||o.href||"";return f.value?m:n(m,i.resolve)}),p=f.value||u==null?void 0:u({...o,to:d}),h=xe(()=>{var m;if(!d.value||l.value)return d.value;if(f.value){const y=typeof d.value=="object"&&"path"in d.value?Ks(d.value):d.value,b=typeof y=="object"?i.resolve(y).href:y;return n(b,i.resolve)}return typeof d.value=="object"?((m=i.resolve(d.value))==null?void 0:m.href)??null:n(to(s.app.baseURL,d.value),i.resolve)});return{to:d,hasTarget:a,isAbsoluteUrl:l,isExternal:f,href:h,isActive:(p==null?void 0:p.isActive)??xe(()=>d.value===i.currentRoute.value.path),isExactActive:(p==null?void 0:p.isExactActive)??xe(()=>d.value===i.currentRoute.value.path),route:(p==null?void 0:p.route)??xe(()=>i.resolve(d.value)),async navigate(){await bd(h.value,{replace:o.replace,external:f.value||a.value})}}}return Pe({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},prefetchOn:{type:[String,Object],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}},useLink:r,setup(o,{slots:i}){const s=xt(),{to:a,href:l,navigate:c,isExternal:u,hasTarget:f,isAbsoluteUrl:d}=r(o),p=ae(!1),h=ae(null),m=E=>{var g;h.value=o.custom?(g=E==null?void 0:E.$el)==null?void 0:g.nextElementSibling:E==null?void 0:E.$el};function y(E){var g,w;return!p.value&&(typeof o.prefetchOn=="string"?o.prefetchOn===E:((g=o.prefetchOn)==null?void 0:g[E])??((w=e.prefetchOn)==null?void 0:w[E]))&&(o.prefetch??e.prefetch)!==!1&&o.noPrefetch!==!0&&o.target!=="_blank"&&!sb()}async function b(E=Ie()){if(p.value)return;p.value=!0;const g=typeof a.value=="string"?a.value:u.value?Ks(a.value):s.resolve(a.value).fullPath;await Promise.all([E.hooks.callHook("link:prefetch",g).catch(()=>{}),!u.value&&!f.value&&op(a.value,s).catch(()=>{})])}if(y("visibility")){const E=Ie();let g,w=null;Ii(()=>{const C=ib();Hi(()=>{g=ea(()=>{var P;(P=h==null?void 0:h.value)!=null&&P.tagName&&(w=C.observe(h.value,async()=>{w==null||w(),w=null,await b(E)}))})})}),Ha(()=>{g&&Fy(g),w==null||w(),w=null})}return()=>{var w;if(!u.value&&!f.value){const C={ref:m,to:a.value,activeClass:o.activeClass||e.activeClass,exactActiveClass:o.exactActiveClass||e.exactActiveClass,replace:o.replace,ariaCurrentValue:o.ariaCurrentValue,custom:o.custom};return o.custom||(y("interaction")&&(C.onPointerenter=b.bind(null,void 0),C.onFocus=b.bind(null,void 0)),p.value&&(C.class=o.prefetchedClass||e.prefetchedClass),C.rel=o.rel||void 0),rr(Vt("RouterLink"),C,i.default)}const E=o.target||null,g=rb(o.noRel?"":o.rel,e.externalRelAttribute,d.value||f.value?"noopener noreferrer":"")||null;return o.custom?i.default?i.default({href:l.value,navigate:c,prefetch:b,get route(){if(!l.value)return;const C=new URL(l.value,window.location.href);return{path:C.pathname,fullPath:C.pathname,get query(){return $i(C.search)},hash:C.hash,params:{},name:void 0,matched:[],redirectedFrom:void 0,meta:{},href:l.value}},rel:g,target:E,isExternal:u.value||f.value,isActive:!1,isExactActive:!1}):null:rr("a",{ref:h,href:l.value||null,rel:g,target:E},(w=i.default)==null?void 0:w.call(i))}}})}const ip=ob(p0);function qc(e,t){const n=t==="append"?ti:Mi;return cn(e)&&!e.startsWith("http")?e:n(e,!0)}function ib(){const e=Ie();if(e._observer)return e._observer;let t=null;const n=new Map,r=(i,s)=>(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(i,s),t.observe(i),()=>{n.delete(i),t.unobserve(i),n.size===0&&(t.disconnect(),t=null)});return e._observer={observe:r}}function sb(){const e=navigator.connection;return!!(e&&(e.saveData||/2g/.test(e.effectiveType)))}const ab={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},rl=Pe({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){const t=e,n=xe(()=>t.href||t.to);return(r,o)=>{const i=ip;return j(),pe(i,ln(n.value?{href:n.value,target:r.target,rel:r.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||r.underline}}),{default:oe(()=>[Le(r.$slots,"default"),n.value&&r.target==="_blank"?(j(),Y("div",ab)):Te("",!0)]),_:3},16,["class"])}}}),lb={},cb={height:"22",viewBox:"0 0 1204 200",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function ub(e,t){return j(),Y("svg",cb,t[0]||(t[0]=[hg('<path d="M377 200C379.16 200 381 198.209 381 196V103C381 103 386 112 395 127L434 194C435.785 197.74 439.744 200 443 200H470V50H443C441.202 50 439 51.4941 439 54V148L421 116L385 55C383.248 51.8912 379.479 50 376 50H350V200H377Z" fill="currentColor"></path><path d="M726 92H739C742.314 92 745 89.3137 745 86V60H773V92H800V116H773V159C773 169.5 778.057 174 787 174H800V200H783C759.948 200 745 185.071 745 160V116H726V92Z" fill="currentColor"></path><path d="M591 92V154C591 168.004 585.742 179.809 578 188C570.258 196.191 559.566 200 545 200C530.434 200 518.742 196.191 511 188C503.389 179.809 498 168.004 498 154V92H514C517.412 92 520.769 92.622 523 95C525.231 97.2459 526 98.5652 526 102V154C526 162.059 526.457 167.037 530 171C533.543 174.831 537.914 176 545 176C552.217 176 555.457 174.831 559 171C562.543 167.037 563 162.059 563 154V102C563 98.5652 563.769 96.378 566 94C567.96 91.9107 570.028 91.9599 573 92C573.411 92.0055 574.586 92 575 92H591Z" fill="currentColor"></path><path d="M676 144L710 92H684C680.723 92 677.812 93.1758 676 96L660 120L645 97C643.188 94.1758 639.277 92 636 92H611L645 143L608 200H634C637.25 200 640.182 196.787 642 194L660 167L679 195C680.818 197.787 683.75 200 687 200H713L676 144Z" fill="currentColor"></path><path d="M168 200H279C282.542 200 285.932 198.756 289 197C292.068 195.244 295.23 193.041 297 190C298.77 186.959 300.002 183.51 300 179.999C299.998 176.488 298.773 173.04 297 170.001L222 41C220.23 37.96 218.067 35.7552 215 34C211.933 32.2448 207.542 31 204 31C200.458 31 197.067 32.2448 194 34C190.933 35.7552 188.77 37.96 187 41L168 74L130 9.99764C128.228 6.95784 126.068 3.75491 123 2C119.932 0.245087 116.542 0 113 0C109.458 0 106.068 0.245087 103 2C99.9323 3.75491 96.7717 6.95784 95 9.99764L2 170.001C0.226979 173.04 0.00154312 176.488 1.90993e-06 179.999C-0.0015393 183.51 0.229648 186.959 2 190C3.77035 193.04 6.93245 195.244 10 197C13.0675 198.756 16.4578 200 20 200H90C117.737 200 137.925 187.558 152 164L186 105L204 74L259 168H186L168 200ZM89 168H40L113 42L150 105L125.491 147.725C116.144 163.01 105.488 168 89 168Z" fill="#00DC82"></path><path d="M892 200C881.746 200 873.788 197.911 866 194C858.212 189.959 851.543 184.169 847 177C842.587 169.7 840.389 161.646 840 152H868C868.649 159.039 870.717 163.959 875 168C879.413 172.041 885.861 174 893 174C899.62 174 904.106 172.737 908 170C912.024 167.263 914 164.084 914 159C914 155.48 913.336 152.086 911 150C908.793 147.784 906.375 146.173 903 145C899.625 143.827 894.23 142.564 888 141C878.784 138.784 870.971 136.477 865 134C859.159 131.393 854.283 127.605 850 122C845.717 116.395 844 108.777 844 99C844 91.5698 845.976 84.8659 850 79C854.024 73.1341 859.861 68.2589 867 65C874.139 61.6108 881.914 60 891 60C900.735 60 909.601 61.4805 917 65C924.528 68.5196 929.846 73.4823 934 80C938.283 86.5177 940.74 94.3967 941 103H913C912.481 97.5251 910.894 93.1285 907 90C903.106 86.7411 897.49 85 891 85C885.289 85 880.375 86.5233 877 89C873.625 91.4767 872 94.959 872 99C872 102.78 873.664 105.784 876 108C878.336 110.216 881.366 111.696 885 113C888.634 114.173 893.64 115.566 900 117C909.346 119.216 916.159 121.654 922 124C927.841 126.346 932.846 130.395 937 136C941.283 141.475 944 148.354 944 158C944 166.473 941.283 173.743 937 180C932.717 186.257 926.788 191.611 919 195C911.342 198.389 902.124 200 892 200Z" fill="#00DC82"></path><path d="M1056 200H961V60H1054V87H990V116H1041V141H990V173H1056V200Z" fill="#00DC82"></path><path d="M1134 200C1120.76 200 1108.64 196.996 1098 191C1087.49 184.873 1080.1 176.559 1074 166C1068.03 155.311 1065 143.296 1065 130C1065 116.704 1068.03 104.559 1074 94C1080.1 83.311 1088.49 74.9963 1099 69C1109.64 62.8734 1120.76 60 1134 60C1147.11 60 1159.49 62.8734 1170 69C1180.64 74.9963 1189.03 83.311 1195 94C1201.1 104.559 1204 116.704 1204 130C1204 143.296 1201.1 155.311 1195 166C1189.03 176.559 1180.64 184.873 1170 191C1159.49 196.996 1147.11 200 1134 200ZM1134 174C1141.66 174 1148.9 172.78 1155 169C1161.23 165.089 1165.63 159.778 1169 153C1172.5 146.222 1174 138.473 1174 130C1174 121.527 1172.5 113.778 1169 107C1165.63 100.222 1161.23 94.9106 1155 91C1148.9 87.0894 1141.66 85 1134 85C1126.34 85 1120.1 87.0894 1114 91C1107.9 94.9106 1102.5 100.222 1099 107C1095.63 113.778 1094 121.527 1094 130C1094 138.473 1095.63 146.222 1099 153C1102.5 159.778 1107.9 165.089 1114 169C1120.1 172.78 1126.34 174 1134 174Z" fill="#00DC82"></path>',8)]))}const fb=ro(lb,[["render",ub]]),db={},pb={class:"n-loading n-panel-grids-center"},hb={class:"flex flex-col animate-pulse items-center text-lg"};function mb(e,t){return j(),Y("div",pb,[M("div",hb,[t[1]||(t[1]=M("div",{class:"i-carbon-circle-dash animate-spin text-4xl op50"},null,-1)),Le(e.$slots,"default",{},()=>[t[0]||(t[0]=ue(" Loading... "))])])])}const gb=ro(db,[["render",mb]]),sp=Pe({__name:"NButton",props:{to:{},icon:{},border:{type:Boolean,default:!0},disabled:{type:Boolean},type:{default:"button"}},setup(e){return(t,n)=>{const r=no;return j(),pe(hf(t.to?se(ip):"button"),ln({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:oe(()=>[Le(t.$slots,"icon",{},()=>[t.icon?(j(),pe(r,{key:0,icon:t.icon,class:Ae({"n-button-icon":t.$slots.default})},null,8,["icon","class"])):Te("",!0)]),Le(t.$slots,"default")]),_:3},16,["to","class"])}}}),ap=[{id:"abap",name:"ABAP",import:()=>_(()=>import("./35JD59R_.js"),[],import.meta.url)},{id:"actionscript-3",name:"ActionScript",import:()=>_(()=>import("./Ci-La1BS.js"),[],import.meta.url)},{id:"ada",name:"Ada",import:()=>_(()=>import("./DOAn35dn.js"),[],import.meta.url)},{id:"angular-html",name:"Angular HTML",import:()=>_(()=>import("./OiuHoWY5.js").then(e=>e.f),__vite__mapDeps([0,1,2,3]),import.meta.url)},{id:"angular-ts",name:"Angular TypeScript",import:()=>_(()=>import("./B8E_5cfo.js"),__vite__mapDeps([4,0,1,2,3,5]),import.meta.url)},{id:"apache",name:"Apache Conf",import:()=>_(()=>import("./Dn00JSTd.js"),[],import.meta.url)},{id:"apex",name:"Apex",import:()=>_(()=>import("./BzwtH5UL.js"),[],import.meta.url)},{id:"apl",name:"APL",import:()=>_(()=>import("./Da_8ueAw.js"),__vite__mapDeps([6,1,2,3,7,8,9]),import.meta.url)},{id:"applescript",name:"AppleScript",import:()=>_(()=>import("./DIt9OTko.js"),[],import.meta.url)},{id:"ara",name:"Ara",import:()=>_(()=>import("./CJxt7p29.js"),[],import.meta.url)},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>_(()=>import("./CcSEeikT.js"),[],import.meta.url)},{id:"asm",name:"Assembly",import:()=>_(()=>import("./DPTZissz.js"),[],import.meta.url)},{id:"astro",name:"Astro",import:()=>_(()=>import("./A13Lx_ye.js"),__vite__mapDeps([10,9,2,11,3,12]),import.meta.url)},{id:"awk",name:"AWK",import:()=>_(()=>import("./BINKOAKH.js"),[],import.meta.url)},{id:"ballerina",name:"Ballerina",import:()=>_(()=>import("./DCcCncrU.js"),[],import.meta.url)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>_(()=>import("./B9Vj0mJK.js"),[],import.meta.url)},{id:"beancount",name:"Beancount",import:()=>_(()=>import("./DDUKAZWS.js"),[],import.meta.url)},{id:"berry",name:"Berry",aliases:["be"],import:()=>_(()=>import("./DnyWjya5.js"),[],import.meta.url)},{id:"bibtex",name:"BibTeX",import:()=>_(()=>import("./CpWBKVjh.js"),[],import.meta.url)},{id:"bicep",name:"Bicep",import:()=>_(()=>import("./BWkuYGGO.js"),[],import.meta.url)},{id:"blade",name:"Blade",import:()=>_(()=>import("./BVLG6Y-w.js"),__vite__mapDeps([13,1,2,3,7,8,14,9]),import.meta.url)},{id:"c",name:"C",import:()=>_(()=>import("./BhsLqr-4.js"),[],import.meta.url)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>_(()=>import("./CEjiMJLT.js"),[],import.meta.url)},{id:"clarity",name:"Clarity",import:()=>_(()=>import("./CXmV_HiI.js"),[],import.meta.url)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>_(()=>import("./mLcCfA0-.js"),[],import.meta.url)},{id:"cmake",name:"CMake",import:()=>_(()=>import("./DbXoA79R.js"),[],import.meta.url)},{id:"cobol",name:"COBOL",import:()=>_(()=>import("./C3t61SNw.js"),__vite__mapDeps([15,1,2,3,8]),import.meta.url)},{id:"codeowners",name:"CODEOWNERS",import:()=>_(()=>import("./Bp6g37R7.js"),[],import.meta.url)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>_(()=>import("./Bdprqoiu.js"),[],import.meta.url)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>_(()=>import("./I1uqSxRv.js"),__vite__mapDeps([16,2]),import.meta.url)},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>_(()=>import("./CQO4gZEw.js"),[],import.meta.url)},{id:"coq",name:"Coq",import:()=>_(()=>import("./DQJjjPvk.js"),[],import.meta.url)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>_(()=>import("./CcPoRNJz.js"),__vite__mapDeps([17,18,19,20,14]),import.meta.url)},{id:"crystal",name:"Crystal",import:()=>_(()=>import("./4NJYcRSJ.js"),__vite__mapDeps([21,1,2,3,14,20,22]),import.meta.url)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>_(()=>import("./D7v6OrNy.js"),[],import.meta.url)},{id:"css",name:"CSS",import:()=>_(()=>import("./g_GSZ1hr.js"),[],import.meta.url)},{id:"csv",name:"CSV",import:()=>_(()=>import("./B0qRVHPH.js"),[],import.meta.url)},{id:"cue",name:"CUE",import:()=>_(()=>import("./DmZ-uG0V.js"),[],import.meta.url)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>_(()=>import("./DfpIq38s.js"),[],import.meta.url)},{id:"d",name:"D",import:()=>_(()=>import("./B5L7zzq-.js"),[],import.meta.url)},{id:"dart",name:"Dart",import:()=>_(()=>import("./D9W_gRNE.js"),[],import.meta.url)},{id:"dax",name:"DAX",import:()=>_(()=>import("./yA8e6OR-.js"),[],import.meta.url)},{id:"desktop",name:"Desktop",import:()=>_(()=>import("./DEIpsLCJ.js"),[],import.meta.url)},{id:"diff",name:"Diff",import:()=>_(()=>import("./Dnfm4U7b.js"),[],import.meta.url)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>_(()=>import("./BHpzmqOf.js"),[],import.meta.url)},{id:"dotenv",name:"dotEnv",import:()=>_(()=>import("./DQxx3LPD.js"),[],import.meta.url)},{id:"dream-maker",name:"Dream Maker",import:()=>_(()=>import("./BMwgFBEQ.js"),[],import.meta.url)},{id:"edge",name:"Edge",import:()=>_(()=>import("./BWgb8Pxw.js"),__vite__mapDeps([23,11,1,2,3,24]),import.meta.url)},{id:"elixir",name:"Elixir",import:()=>_(()=>import("./BxJadH_W.js"),__vite__mapDeps([25,1,2,3]),import.meta.url)},{id:"elm",name:"Elm",import:()=>_(()=>import("./BzAMEn9Z.js"),__vite__mapDeps([26,19,20]),import.meta.url)},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>_(()=>import("./CMz7PuSU.js"),[],import.meta.url)},{id:"erb",name:"ERB",import:()=>_(()=>import("./DBxrVw_D.js"),__vite__mapDeps([27,1,2,3,28,7,8,14,20,22,29]),import.meta.url)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>_(()=>import("./CMOi41r9.js"),[],import.meta.url)},{id:"fennel",name:"Fennel",import:()=>_(()=>import("./dZn0vQkf.js"),[],import.meta.url)},{id:"fish",name:"Fish",import:()=>_(()=>import("./CQzXS8_C.js"),[],import.meta.url)},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>_(()=>import("./CNRQ974Q.js"),[],import.meta.url)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>_(()=>import("./IqKf4WGj.js"),__vite__mapDeps([30,31]),import.meta.url)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>_(()=>import("./B3Z_eaxm.js"),[],import.meta.url)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>_(()=>import("./BaLI2h1d.js"),__vite__mapDeps([32,33]),import.meta.url)},{id:"gdresource",name:"GDResource",import:()=>_(()=>import("./CE0v8NN9.js"),__vite__mapDeps([34,35,36]),import.meta.url)},{id:"gdscript",name:"GDScript",import:()=>_(()=>import("./C_OO3DVV.js"),[],import.meta.url)},{id:"gdshader",name:"GDShader",import:()=>_(()=>import("./BSHf-0eb.js"),[],import.meta.url)},{id:"genie",name:"Genie",import:()=>_(()=>import("./DJEtsjbi.js"),[],import.meta.url)},{id:"gherkin",name:"Gherkin",import:()=>_(()=>import("./-30QC5Em.js"),[],import.meta.url)},{id:"git-commit",name:"Git Commit Message",import:()=>_(()=>import("./BSPpinrx.js"),__vite__mapDeps([37,38]),import.meta.url)},{id:"git-rebase",name:"Git Rebase Message",import:()=>_(()=>import("./s1PdnzAn.js"),__vite__mapDeps([39,22]),import.meta.url)},{id:"gleam",name:"Gleam",import:()=>_(()=>import("./C30t_gpS.js"),[],import.meta.url)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>_(()=>import("./CiXlrwC7.js"),__vite__mapDeps([40,2,11,3,1]),import.meta.url)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>_(()=>import("./D4O64OTH.js"),__vite__mapDeps([41,11,3,2,1]),import.meta.url)},{id:"glsl",name:"GLSL",import:()=>_(()=>import("./CbUnruJU.js"),__vite__mapDeps([19,20]),import.meta.url)},{id:"gnuplot",name:"Gnuplot",import:()=>_(()=>import("./CmWLV2bY.js"),[],import.meta.url)},{id:"go",name:"Go",import:()=>_(()=>import("./DWt6wkI-.js"),[],import.meta.url)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>_(()=>import("./BhLNiG9c.js"),__vite__mapDeps([42,2,11,43,44]),import.meta.url)},{id:"groovy",name:"Groovy",import:()=>_(()=>import("./BWslPs4p.js"),[],import.meta.url)},{id:"hack",name:"Hack",import:()=>_(()=>import("./Ckz-YMxz.js"),__vite__mapDeps([45,1,2,3,14]),import.meta.url)},{id:"haml",name:"Ruby Haml",import:()=>_(()=>import("./BjE2mIY4.js"),__vite__mapDeps([46,2,3]),import.meta.url)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>_(()=>import("./rAPcFIiw.js"),__vite__mapDeps([47,1,2,3,48]),import.meta.url)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>_(()=>import("./ChDww4um.js"),[],import.meta.url)},{id:"haxe",name:"Haxe",import:()=>_(()=>import("./BgqZeg96.js"),[],import.meta.url)},{id:"hcl",name:"HashiCorp HCL",import:()=>_(()=>import("./Cztwc-HH.js"),[],import.meta.url)},{id:"hjson",name:"Hjson",import:()=>_(()=>import("./D9Bn7OQI.js"),[],import.meta.url)},{id:"hlsl",name:"HLSL",import:()=>_(()=>import("./DkpUthgY.js"),[],import.meta.url)},{id:"html",name:"HTML",import:()=>_(()=>import("./D0ybgVpa.js"),__vite__mapDeps([1,2,3]),import.meta.url)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>_(()=>import("./B66eQrDP.js"),__vite__mapDeps([24,1,2,3]),import.meta.url)},{id:"http",name:"HTTP",import:()=>_(()=>import("./Xse1gjxk.js"),__vite__mapDeps([49,22,9,7,8,42,2,11,43,44]),import.meta.url)},{id:"hxml",name:"HXML",import:()=>_(()=>import("./L9-HYnaW.js"),__vite__mapDeps([50,51]),import.meta.url)},{id:"hy",name:"Hy",import:()=>_(()=>import("./C8UtRc_0.js"),[],import.meta.url)},{id:"imba",name:"Imba",import:()=>_(()=>import("./DpVQgTom.js"),__vite__mapDeps([52,11]),import.meta.url)},{id:"ini",name:"INI",aliases:["properties"],import:()=>_(()=>import("./BjABl1g7.js"),[],import.meta.url)},{id:"java",name:"Java",import:()=>_(()=>import("./BN40hmum.js"),[],import.meta.url)},{id:"javascript",name:"JavaScript",aliases:["js"],import:()=>_(()=>import("./Begb3drz.js"),[],import.meta.url)},{id:"jinja",name:"Jinja",import:()=>_(()=>import("./p-youoOz.js"),__vite__mapDeps([53,1,2,3]),import.meta.url)},{id:"jison",name:"Jison",import:()=>_(()=>import("./JbneklYT.js"),__vite__mapDeps([54,2]),import.meta.url)},{id:"json",name:"JSON",import:()=>_(()=>import("./DWmkr0yC.js"),[],import.meta.url)},{id:"json5",name:"JSON5",import:()=>_(()=>import("./BDjtpMT8.js"),[],import.meta.url)},{id:"jsonc",name:"JSON with Comments",import:()=>_(()=>import("./B8E-_56i.js"),[],import.meta.url)},{id:"jsonl",name:"JSON Lines",import:()=>_(()=>import("./NKd-Y1zG.js"),[],import.meta.url)},{id:"jsonnet",name:"Jsonnet",import:()=>_(()=>import("./CpRrwcwt.js"),[],import.meta.url)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>_(()=>import("./DlYXzDlu.js"),[],import.meta.url)},{id:"jsx",name:"JSX",import:()=>_(()=>import("./NfFGm2lL.js"),[],import.meta.url)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>_(()=>import("./BGdveAQA.js"),__vite__mapDeps([55,17,18,19,20,14,56,2,57]),import.meta.url)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>_(()=>import("./BZRbnyjI.js"),[],import.meta.url)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>_(()=>import("./plSVBvJQ.js"),[],import.meta.url)},{id:"latex",name:"LaTeX",import:()=>_(()=>import("./DFW6HATB.js"),__vite__mapDeps([58,59,57]),import.meta.url)},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>_(()=>import("./yLioyJ2E.js"),[],import.meta.url)},{id:"less",name:"Less",import:()=>_(()=>import("./Dk1rBueR.js"),[],import.meta.url)},{id:"liquid",name:"Liquid",import:()=>_(()=>import("./D7z58M2W.js"),__vite__mapDeps([60,1,2,3,9]),import.meta.url)},{id:"log",name:"Log file",import:()=>_(()=>import("./B4_rEpOs.js"),[],import.meta.url)},{id:"logo",name:"Logo",import:()=>_(()=>import("./Dtn98rcr.js"),[],import.meta.url)},{id:"lua",name:"Lua",import:()=>_(()=>import("./BKbjiiqg.js"),__vite__mapDeps([29,20]),import.meta.url)},{id:"luau",name:"Luau",import:()=>_(()=>import("./B-GI89LT.js"),[],import.meta.url)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>_(()=>import("./DNDvMORL.js"),[],import.meta.url)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>_(()=>import("./CNXuF1yM.js"),[],import.meta.url)},{id:"marko",name:"Marko",import:()=>_(()=>import("./DCRAZVCM.js"),__vite__mapDeps([61,3,62,5,2]),import.meta.url)},{id:"matlab",name:"MATLAB",import:()=>_(()=>import("./Kxp7UmFj.js"),[],import.meta.url)},{id:"mdc",name:"MDC",import:()=>_(()=>import("./BStEqDGx.js"),__vite__mapDeps([63,33,48,24,1,2,3]),import.meta.url)},{id:"mdx",name:"MDX",import:()=>_(()=>import("./DwFwdhDE.js"),[],import.meta.url)},{id:"mermaid",name:"Mermaid",import:()=>_(()=>import("./Bx0W9Nc2.js"),[],import.meta.url)},{id:"mojo",name:"Mojo",import:()=>_(()=>import("./B2bjgU-v.js"),[],import.meta.url)},{id:"move",name:"Move",import:()=>_(()=>import("./EZUUsui8.js"),[],import.meta.url)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>_(()=>import("./DLbgOhZU.js"),[],import.meta.url)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>_(()=>import("./BT8b6B_-.js"),[],import.meta.url)},{id:"nginx",name:"Nginx",import:()=>_(()=>import("./BjXeLqNd.js"),__vite__mapDeps([64,29,20]),import.meta.url)},{id:"nim",name:"Nim",import:()=>_(()=>import("./CHZeBJpW.js"),__vite__mapDeps([65,20,1,2,3,7,8,19,33]),import.meta.url)},{id:"nix",name:"Nix",import:()=>_(()=>import("./DVWcdiGS.js"),[],import.meta.url)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>_(()=>import("./ZJvK9Z2N.js"),[],import.meta.url)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>_(()=>import("./B6NdQBKR.js"),[],import.meta.url)},{id:"objective-cpp",name:"Objective-C++",import:()=>_(()=>import("./BkG9CdHo.js"),[],import.meta.url)},{id:"ocaml",name:"OCaml",import:()=>_(()=>import("./CLmbwNS9.js"),[],import.meta.url)},{id:"pascal",name:"Pascal",import:()=>_(()=>import("./JqZropPD.js"),[],import.meta.url)},{id:"perl",name:"Perl",import:()=>_(()=>import("./CRR3mLlZ.js"),__vite__mapDeps([66,1,2,3,7,8,14]),import.meta.url)},{id:"php",name:"PHP",import:()=>_(()=>import("./Bpo8LMpD.js"),__vite__mapDeps([67,1,2,3,7,8,14,9]),import.meta.url)},{id:"plsql",name:"PL/SQL",import:()=>_(()=>import("./LKU2TuZ1.js"),[],import.meta.url)},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>_(()=>import("./BFLt1xDp.js"),[],import.meta.url)},{id:"postcss",name:"PostCSS",import:()=>_(()=>import("./DmF4-xLG.js"),[],import.meta.url)},{id:"powerquery",name:"PowerQuery",import:()=>_(()=>import("./ByY1Guvr.js"),[],import.meta.url)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>_(()=>import("./DES0gjzB.js"),[],import.meta.url)},{id:"prisma",name:"Prisma",import:()=>_(()=>import("./DFIOpqzz.js"),[],import.meta.url)},{id:"prolog",name:"Prolog",import:()=>_(()=>import("./BNxDCkIA.js"),[],import.meta.url)},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>_(()=>import("./hdsyEllQ.js"),[],import.meta.url)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>_(()=>import("./BbzkbZ9e.js"),__vite__mapDeps([68,2,3,1]),import.meta.url)},{id:"puppet",name:"Puppet",import:()=>_(()=>import("./DWMP3yrW.js"),[],import.meta.url)},{id:"purescript",name:"PureScript",import:()=>_(()=>import("./DvQyZZSe.js"),[],import.meta.url)},{id:"python",name:"Python",aliases:["py"],import:()=>_(()=>import("./CK56Z9cH.js"),[],import.meta.url)},{id:"qml",name:"QML",import:()=>_(()=>import("./CN6rGqjK.js"),__vite__mapDeps([69,2]),import.meta.url)},{id:"qmldir",name:"QML Directory",import:()=>_(()=>import("./C8lEn-DE.js"),[],import.meta.url)},{id:"qss",name:"Qt Style Sheets",import:()=>_(()=>import("./DhMKtDLN.js"),[],import.meta.url)},{id:"r",name:"R",import:()=>_(()=>import("./Cqv5JV-q.js"),[],import.meta.url)},{id:"racket",name:"Racket",import:()=>_(()=>import("./CwIbMU3B.js"),[],import.meta.url)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>_(()=>import("./DZ4hUExO.js"),[],import.meta.url)},{id:"razor",name:"ASP.NET Razor",import:()=>_(()=>import("./D_QQB6Yv.js"),__vite__mapDeps([70,1,2,3,71]),import.meta.url)},{id:"reg",name:"Windows Registry Script",import:()=>_(()=>import("./CrOfvjVs.js"),[],import.meta.url)},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>_(()=>import("./DoiKbUTj.js"),[],import.meta.url)},{id:"rel",name:"Rel",import:()=>_(()=>import("./Dzwn3p-3.js"),[],import.meta.url)},{id:"riscv",name:"RISC-V",import:()=>_(()=>import("./BGct0Hx7.js"),[],import.meta.url)},{id:"rst",name:"reStructuredText",import:()=>_(()=>import("./BwojPDJW.js"),__vite__mapDeps([72,24,1,2,3,17,18,19,20,14,56,22,48,73,28,7,8,29]),import.meta.url)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>_(()=>import("./ChEme8PX.js"),__vite__mapDeps([28,1,2,3,7,8,14,20,22,29]),import.meta.url)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>_(()=>import("./Bjs2cL5p.js"),[],import.meta.url)},{id:"sas",name:"SAS",import:()=>_(()=>import("./i5HCB2tm.js"),__vite__mapDeps([74,14]),import.meta.url)},{id:"sass",name:"Sass",import:()=>_(()=>import("./DateCQAz.js"),[],import.meta.url)},{id:"scala",name:"Scala",import:()=>_(()=>import("./DanlQboj.js"),[],import.meta.url)},{id:"scheme",name:"Scheme",import:()=>_(()=>import("./BbccZ3y2.js"),[],import.meta.url)},{id:"scss",name:"SCSS",import:()=>_(()=>import("./D3CL8VSI.js"),__vite__mapDeps([5,3]),import.meta.url)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>_(()=>import("./bGS5FTDY.js"),__vite__mapDeps([75,76]),import.meta.url)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>_(()=>import("./HNM5thJl.js"),[],import.meta.url)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>_(()=>import("./BTbGKmhu.js"),__vite__mapDeps([77,22]),import.meta.url)},{id:"smalltalk",name:"Smalltalk",import:()=>_(()=>import("./DsCg8CPl.js"),[],import.meta.url)},{id:"solidity",name:"Solidity",import:()=>_(()=>import("./DymQr0nX.js"),[],import.meta.url)},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>_(()=>import("./Bt50SWsh.js"),__vite__mapDeps([78,1,2,3]),import.meta.url)},{id:"sparql",name:"SPARQL",import:()=>_(()=>import("./8Uu6eIa-.js"),__vite__mapDeps([79,80]),import.meta.url)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>_(()=>import("./j_FrBdja.js"),[],import.meta.url)},{id:"sql",name:"SQL",import:()=>_(()=>import("./D8nBeWSR.js"),[],import.meta.url)},{id:"ssh-config",name:"SSH Config",import:()=>_(()=>import("./D-RymO5g.js"),[],import.meta.url)},{id:"stata",name:"Stata",import:()=>_(()=>import("./-ALZ4IvE.js"),__vite__mapDeps([81,14]),import.meta.url)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>_(()=>import("./DwU8c_yx.js"),[],import.meta.url)},{id:"svelte",name:"Svelte",import:()=>_(()=>import("./CJrM-UL-.js"),__vite__mapDeps([82,2,11,3,12]),import.meta.url)},{id:"swift",name:"Swift",import:()=>_(()=>import("./D2TqM893.js"),[],import.meta.url)},{id:"system-verilog",name:"SystemVerilog",import:()=>_(()=>import("./Bexp5DGn.js"),[],import.meta.url)},{id:"systemd",name:"Systemd Units",import:()=>_(()=>import("./DA0ESIWO.js"),[],import.meta.url)},{id:"tasl",name:"Tasl",import:()=>_(()=>import("./CQjiPCtT.js"),[],import.meta.url)},{id:"tcl",name:"Tcl",import:()=>_(()=>import("./NUI3YrRW.js"),[],import.meta.url)},{id:"templ",name:"Templ",import:()=>_(()=>import("./0e7srHXh.js"),__vite__mapDeps([83,84,2,3]),import.meta.url)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>_(()=>import("./rf8nNrOk.js"),[],import.meta.url)},{id:"tex",name:"TeX",import:()=>_(()=>import("./BJNXdUBN.js"),__vite__mapDeps([59,57]),import.meta.url)},{id:"toml",name:"TOML",import:()=>_(()=>import("./Dwo6uFCY.js"),[],import.meta.url)},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>_(()=>import("./CYyBA3kJ.js"),__vite__mapDeps([85,11,3,2,19,20,1,14,7,8]),import.meta.url)},{id:"tsv",name:"TSV",import:()=>_(()=>import("./B_m7g4N7.js"),[],import.meta.url)},{id:"tsx",name:"TSX",import:()=>_(()=>import("./keK8bHwS.js"),[],import.meta.url)},{id:"turtle",name:"Turtle",import:()=>_(()=>import("./C0hdQUNN.js"),[],import.meta.url)},{id:"twig",name:"Twig",import:()=>_(()=>import("./vFtNXPBc.js"),__vite__mapDeps([86,3,2,5,67,1,7,8,14,9,56,28,20,22,29]),import.meta.url)},{id:"typescript",name:"TypeScript",aliases:["ts"],import:()=>_(()=>import("./BeSffZBD.js"),[],import.meta.url)},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>_(()=>import("./B_R80ZlN.js"),[],import.meta.url)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>_(()=>import("./F89DG-fP.js"),[],import.meta.url)},{id:"v",name:"V",import:()=>_(()=>import("./DH4N8IuU.js"),[],import.meta.url)},{id:"vala",name:"Vala",import:()=>_(()=>import("./C8pgRvQH.js"),[],import.meta.url)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>_(()=>import("./Bv-mwDEg.js"),[],import.meta.url)},{id:"verilog",name:"Verilog",import:()=>_(()=>import("./COtMjVi7.js"),[],import.meta.url)},{id:"vhdl",name:"VHDL",import:()=>_(()=>import("./IBB5Tl9j.js"),[],import.meta.url)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>_(()=>import("./CIxipgmy.js"),[],import.meta.url)},{id:"vue",name:"Vue",import:()=>_(()=>import("./nkNqggyT.js"),__vite__mapDeps([87,1,2,3,11,9,24]),import.meta.url)},{id:"vue-html",name:"Vue HTML",import:()=>_(()=>import("./B9hcNGex.js"),__vite__mapDeps([88,87,1,2,3,11,9,24]),import.meta.url)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>_(()=>import("./DzaHHFTY.js"),[],import.meta.url)},{id:"wasm",name:"WebAssembly",import:()=>_(()=>import("./sH2JAGjN.js"),[],import.meta.url)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>_(()=>import("./7A4Fjokl.js"),[],import.meta.url)},{id:"wgsl",name:"WGSL",import:()=>_(()=>import("./CSoQzgif.js"),[],import.meta.url)},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>_(()=>import("./S_yhxdK1.js"),[],import.meta.url)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>_(()=>import("./aeT0-ak7.js"),[],import.meta.url)},{id:"xml",name:"XML",import:()=>_(()=>import("./CkqQx3Va.js"),__vite__mapDeps([7,8]),import.meta.url)},{id:"xsl",name:"XSL",import:()=>_(()=>import("./Bnbw1zOw.js"),__vite__mapDeps([89,7,8]),import.meta.url)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>_(()=>import("./CIiI48o2.js"),[],import.meta.url)},{id:"zenscript",name:"ZenScript",import:()=>_(()=>import("./NgWrSVUg.js"),[],import.meta.url)},{id:"zig",name:"Zig",import:()=>_(()=>import("./D44NvAEk.js"),[],import.meta.url)}],_b=Object.fromEntries(ap.map(e=>[e.id,e.import])),yb=Object.fromEntries(ap.flatMap(e=>{var t;return((t=e.aliases)==null?void 0:t.map(n=>[n,e.import]))||[]})),vb={..._b,...yb},bb=[{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>_(()=>import("./C3khCPGq.js"),[],import.meta.url)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>_(()=>import("./D-2ljcwZ.js"),[],import.meta.url)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>_(()=>import("./Cv9koXgw.js"),[],import.meta.url)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>_(()=>import("./Jwd9j1ay.js"),[],import.meta.url)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>_(()=>import("./DIvA8ll9.js"),[],import.meta.url)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>_(()=>import("./eCoydtrh.js"),[],import.meta.url)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>_(()=>import("./BTo9ix6S.js"),[],import.meta.url)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>_(()=>import("./B74Y8nHz.js"),[],import.meta.url)},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>_(()=>import("./BzJJZx-M.js"),[],import.meta.url)},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>_(()=>import("./BXkSAIEj.js"),[],import.meta.url)},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>_(()=>import("./BgDCqdQA.js"),[],import.meta.url)},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>_(()=>import("./C8M2exoo.js"),[],import.meta.url)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>_(()=>import("./DHJKELXO.js"),[],import.meta.url)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>_(()=>import("./cVkK16_y.js"),[],import.meta.url)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>_(()=>import("./DLSxEyHP.js"),[],import.meta.url)},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>_(()=>import("./CV1i-Amj.js"),[],import.meta.url)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>_(()=>import("./DAi9KRSo.js"),[],import.meta.url)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>_(()=>import("./B7-uoU3n.js"),[],import.meta.url)},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>_(()=>import("./aPBkmDv4.js"),[],import.meta.url)},{id:"houston",displayName:"Houston",type:"dark",import:()=>_(()=>import("./DnULxvSX.js"),[],import.meta.url)},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>_(()=>import("./DUszq2jm.js"),[],import.meta.url)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>_(()=>import("./w1el_4yc.js"),[],import.meta.url)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>_(()=>import("./D5KoaKCx.js"),[],import.meta.url)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>_(()=>import("./BfHTSMKl.js"),[],import.meta.url)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>_(()=>import("./B0m2ddpp.js"),[],import.meta.url)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>_(()=>import("./CyktbL80.js"),[],import.meta.url)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>_(()=>import("./Csfq5Kiy.js"),[],import.meta.url)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>_(()=>import("./CafNBF8u.js"),[],import.meta.url)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>_(()=>import("./CTRr51gU.js"),[],import.meta.url)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>_(()=>import("./CQWsIgnU.js"),[],import.meta.url)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>_(()=>import("./C6J8XiCD.js"),[],import.meta.url)},{id:"nord",displayName:"Nord",type:"dark",import:()=>_(()=>import("./Ddv68eIx.js"),[],import.meta.url)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>_(()=>import("./D5gt1ch3.js"),[],import.meta.url)},{id:"one-light",displayName:"One Light",type:"light",import:()=>_(()=>import("./PoHY5YXO.js"),[],import.meta.url)},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>_(()=>import("./3e1v2bzS.js"),[],import.meta.url)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>_(()=>import("./CS3Unz2-.js"),[],import.meta.url)},{id:"red",displayName:"Red",type:"dark",import:()=>_(()=>import("./2pWuV6-S.js"),[],import.meta.url)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>_(()=>import("./9xzcv9xf.js"),[],import.meta.url)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>_(()=>import("./Dt1_zKdO.js"),[],import.meta.url)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>_(()=>import("./D6HQHXJE.js"),[],import.meta.url)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>_(()=>import("./BthQWCQV.js"),[],import.meta.url)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>_(()=>import("./DqwNpetd.js"),[],import.meta.url)},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>_(()=>import("./Bw305WKR.js"),[],import.meta.url)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>_(()=>import("./CmY0Y6Yh.js"),[],import.meta.url)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>_(()=>import("./DZQMDcrx.js"),[],import.meta.url)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>_(()=>import("./CbfX1IO0.js"),[],import.meta.url)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>_(()=>import("./DBQeEorK.js"),[],import.meta.url)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>_(()=>import("./BEBZ7ncR.js"),[],import.meta.url)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>_(()=>import("./Bkuqu6BP.js"),[],import.meta.url)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>_(()=>import("./D0r3Knsf.js"),[],import.meta.url)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>_(()=>import("./CVO1_9PV.js"),[],import.meta.url)}],wb=Object.fromEntries(bb.map(e=>[e.id,e.import]));let ar=class extends Error{constructor(t){super(t),this.name="ShikiError"}},ol=class extends Error{constructor(t){super(t),this.name="ShikiError"}};function Eb(){return 2147483648}function Tb(){return typeof performance<"u"?performance.now():Date.now()}const Cb=(e,t)=>e+(t-e%t)%t;async function Sb(e){let t,n;const r={};function o(p){n=p,r.HEAPU8=new Uint8Array(p),r.HEAPU32=new Uint32Array(p)}function i(p,h,m){r.HEAPU8.copyWithin(p,h,h+m)}function s(p){try{return t.grow(p-n.byteLength+65535>>>16),o(t.buffer),1}catch{}}function a(p){const h=r.HEAPU8.length;p=p>>>0;const m=Eb();if(p>m)return!1;for(let y=1;y<=4;y*=2){let b=h*(1+.2/y);b=Math.min(b,p+100663296);const E=Math.min(m,Cb(Math.max(p,b),65536));if(s(E))return!0}return!1}const l=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function c(p,h,m=1024){const y=h+m;let b=h;for(;p[b]&&!(b>=y);)++b;if(b-h>16&&p.buffer&&l)return l.decode(p.subarray(h,b));let E="";for(;h<b;){let g=p[h++];if(!(g&128)){E+=String.fromCharCode(g);continue}const w=p[h++]&63;if((g&224)===192){E+=String.fromCharCode((g&31)<<6|w);continue}const C=p[h++]&63;if((g&240)===224?g=(g&15)<<12|w<<6|C:g=(g&7)<<18|w<<12|C<<6|p[h++]&63,g<65536)E+=String.fromCharCode(g);else{const P=g-65536;E+=String.fromCharCode(55296|P>>10,56320|P&1023)}}return E}function u(p,h){return p?c(r.HEAPU8,p,h):""}const f={emscripten_get_now:Tb,emscripten_memcpy_big:i,emscripten_resize_heap:a,fd_write:()=>0};async function d(){const h=await e({env:f,wasi_snapshot_preview1:f});t=h.memory,o(t.buffer),Object.assign(r,h),r.UTF8ToString=u}return await d(),r}let Ve=null;function xb(e){throw new ol(e.UTF8ToString(e.getLastOnigError()))}class Gi{constructor(t){Re(this,"utf16Length");Re(this,"utf8Length");Re(this,"utf16Value");Re(this,"utf8Value");Re(this,"utf16OffsetToUtf8");Re(this,"utf8OffsetToUtf16");const n=t.length,r=Gi._utf8ByteLength(t),o=r!==n,i=o?new Uint32Array(n+1):null;o&&(i[n]=r);const s=o?new Uint32Array(r+1):null;o&&(s[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 p=t.charCodeAt(c+1);p>=56320&&p<=57343&&(f=(u-55296<<10)+65536|p-56320,d=!0)}o&&(i[c]=l,d&&(i[c+1]=l),f<=127?s[l+0]=c:f<=2047?(s[l+0]=c,s[l+1]=c):f<=65535?(s[l+0]=c,s[l+1]=c,s[l+2]=c):(s[l+0]=c,s[l+1]=c,s[l+2]=c,s[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=i,this.utf8OffsetToUtf16=s}static _utf8ByteLength(t){let n=0;for(let r=0,o=t.length;r<o;r++){const i=t.charCodeAt(r);let s=i,a=!1;if(i>=55296&&i<=56319&&r+1<o){const l=t.charCodeAt(r+1);l>=56320&&l<=57343&&(s=(i-55296<<10)+65536|l-56320,a=!0)}s<=127?n+=1:s<=2047?n+=2:s<=65535?n+=3:n+=4,a&&r++}return n}createString(t){const n=t.omalloc(this.utf8Length);return t.HEAPU8.set(this.utf8Value,n),n}}const Ke=class Ke{constructor(t){Re(this,"id",++Ke.LAST_ID);Re(this,"_onigBinding");Re(this,"content");Re(this,"utf16Length");Re(this,"utf8Length");Re(this,"utf16OffsetToUtf8");Re(this,"utf8OffsetToUtf16");Re(this,"ptr");if(!Ve)throw new ol("Must invoke loadWasm first.");this._onigBinding=Ve,this.content=t;const n=new Gi(t);this.utf16Length=n.utf16Length,this.utf8Length=n.utf8Length,this.utf16OffsetToUtf8=n.utf16OffsetToUtf8,this.utf8OffsetToUtf16=n.utf8OffsetToUtf16,this.utf8Length<1e4&&!Ke._sharedPtrInUse?(Ke._sharedPtr||(Ke._sharedPtr=Ve.omalloc(1e4)),Ke._sharedPtrInUse=!0,Ve.HEAPU8.set(n.utf8Value,Ke._sharedPtr),this.ptr=Ke._sharedPtr):this.ptr=n.createString(Ve)}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===Ke._sharedPtr?Ke._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};Re(Ke,"LAST_ID",0),Re(Ke,"_sharedPtr",0),Re(Ke,"_sharedPtrInUse",!1);let di=Ke;class Ab{constructor(t){Re(this,"_onigBinding");Re(this,"_ptr");if(!Ve)throw new ol("Must invoke loadWasm first.");const n=[],r=[];for(let a=0,l=t.length;a<l;a++){const c=new Gi(t[a]);n[a]=c.createString(Ve),r[a]=c.utf8Length}const o=Ve.omalloc(4*t.length);Ve.HEAPU32.set(n,o/4);const i=Ve.omalloc(4*t.length);Ve.HEAPU32.set(r,i/4);const s=Ve.createOnigScanner(o,i,t.length);for(let a=0,l=t.length;a<l;a++)Ve.ofree(n[a]);Ve.ofree(i),Ve.ofree(o),s===0&&xb(Ve),this._onigBinding=Ve,this._ptr=s}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(t,n,r){let o=0;if(typeof r=="number"&&(o=r),typeof t=="string"){t=new di(t);const i=this._findNextMatchSync(t,n,!1,o);return t.dispose(),i}return this._findNextMatchSync(t,n,!1,o)}_findNextMatchSync(t,n,r,o){const i=this._onigBinding,s=i.findNextOnigScannerMatch(this._ptr,t.id,t.ptr,t.utf8Length,t.convertUtf16OffsetToUtf8(n),o);if(s===0)return null;const a=i.HEAPU32;let l=s/4;const c=a[l++],u=a[l++],f=[];for(let d=0;d<u;d++){const p=t.convertUtf8OffsetToUtf16(a[l++]),h=t.convertUtf8OffsetToUtf16(a[l++]);f[d]={start:p,end:h,length:h-p}}return{index:c,captureIndices:f}}}function Pb(e){return typeof e.instantiator=="function"}function Rb(e){return typeof e.default=="function"}function kb(e){return typeof e.data<"u"}function Lb(e){return typeof Response<"u"&&e instanceof Response}function Ob(e){var t;return typeof ArrayBuffer<"u"&&(e instanceof ArrayBuffer||ArrayBuffer.isView(e))||typeof Buffer<"u"&&((t=Buffer.isBuffer)==null?void 0:t.call(Buffer,e))||typeof SharedArrayBuffer<"u"&&e instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&e instanceof Uint32Array}let Eo;function Ib(e){if(Eo)return Eo;async function t(){Ve=await Sb(async n=>{let r=e;return r=await r,typeof r=="function"&&(r=await r(n)),typeof r=="function"&&(r=await r(n)),Pb(r)?r=await r.instantiator(n):Rb(r)?r=await r.default(n):(kb(r)&&(r=r.data),Lb(r)?typeof WebAssembly.instantiateStreaming=="function"?r=await Nb(r)(n):r=await Db(r)(n):Ob(r)?r=await gs(r)(n):r instanceof WebAssembly.Module?r=await gs(r)(n):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await gs(r.default)(n))),"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}return Eo=t(),Eo}function gs(e){return t=>WebAssembly.instantiate(e,t)}function Nb(e){return t=>WebAssembly.instantiateStreaming(e,t)}function Db(e){return async t=>{const n=await e.arrayBuffer();return WebAssembly.instantiate(n,t)}}let $b;function Mb(){return $b}async function lp(e){return e&&await Ib(e),{createScanner(t){return new Ab(t)},createString(t){return new di(t)}}}function Vb(e){return il(e)}function il(e){return Array.isArray(e)?Hb(e):typeof e=="object"?Fb(e):e}function Hb(e){let t=[];for(let n=0,r=e.length;n<r;n++)t[n]=il(e[n]);return t}function Fb(e){let t={};for(let n in e)t[n]=il(e[n]);return t}function cp(e,...t){return t.forEach(n=>{for(let r in n)e[r]=n[r]}),e}function up(e){const t=~e.lastIndexOf("/")||~e.lastIndexOf("\\");return t===0?e:~t===e.length-1?up(e.substring(0,e.length-1)):e.substr(~t+1)}var _s=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,To=class{static hasCaptures(e){return e===null?!1:(_s.lastIndex=0,_s.test(e))}static replaceCaptures(e,t,n){return e.replace(_s,(r,o,i,s)=>{let a=n[parseInt(o||i,10)];if(a){let l=t.substring(a.start,a.end);for(;l[0]===".";)l=l.substring(1);switch(s){case"downcase":return l.toLowerCase();case"upcase":return l.toUpperCase();default:return l}}else return r})}};function fp(e,t){return e<t?-1:e>t?1:0}function dp(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 i=fp(e[o],t[o]);if(i!==0)return i}return 0}return n-r}function Kc(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 pp(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var hp=class{constructor(e){this.fn=e,this.cache=new Map}get(e){if(this.cache.has(e))return this.cache.get(e);const t=this.fn(e);return this.cache.set(e,t),t}},pi=class{constructor(e,t,n){this._colorMap=e,this._defaults=t,this._root=n,this._cachedMatchRoot=new hp(r=>this._root.match(r))}static createFromRawTheme(e,t){return this.createFromParsedTheme(Ub(e),t)}static createFromParsedTheme(e,t){return Gb(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(e===null)return this._defaults;const t=e.scopeName,r=this._cachedMatchRoot.get(t).find(o=>Bb(e.parent,o.parentScopes));return r?new mp(r.fontStyle,r.foreground,r.background):null}},ys=class Ho{constructor(t,n){this.parent=t,this.scopeName=n}static push(t,n){for(const r of n)t=new Ho(t,r);return t}static from(...t){let n=null;for(let r=0;r<t.length;r++)n=new Ho(n,t[r]);return n}push(t){return new Ho(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 Bb(e,t){if(t.length===0)return!0;for(let n=0;n<t.length;n++){let r=t[n],o=!1;if(r===">"){if(n===t.length-1)return!1;r=t[++n],o=!0}for(;e&&!jb(e.scopeName,r);){if(o)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0}function jb(e,t){return t===e||e.startsWith(t)&&e[t.length]==="."}var mp=class{constructor(e,t,n){this.fontStyle=e,this.foregroundId=t,this.backgroundId=n}};function Ub(e){if(!e)return[];if(!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,n=[],r=0;for(let o=0,i=t.length;o<i;o++){let s=t[o];if(!s.settings)continue;let a;if(typeof s.scope=="string"){let f=s.scope;f=f.replace(/^[,]+/,""),f=f.replace(/[,]+$/,""),a=f.split(",")}else Array.isArray(s.scope)?a=s.scope:a=[""];let l=-1;if(typeof s.settings.fontStyle=="string"){l=0;let f=s.settings.fontStyle.split(" ");for(let d=0,p=f.length;d<p;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 s.settings.foreground=="string"&&Kc(s.settings.foreground)&&(c=s.settings.foreground);let u=null;typeof s.settings.background=="string"&&Kc(s.settings.background)&&(u=s.settings.background);for(let f=0,d=a.length;f<d;f++){let h=a[f].trim().split(" "),m=h[h.length-1],y=null;h.length>1&&(y=h.slice(0,h.length-1),y.reverse()),n[r++]=new Wb(m,y,o,l,c,u)}}return n}var Wb=class{constructor(e,t,n,r,o,i){this.scope=e,this.parentScopes=t,this.index=n,this.fontStyle=r,this.foreground=o,this.background=i}},Dt=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(Dt||{});function Gb(e,t){e.sort((l,c)=>{let u=fp(l.scope,c.scope);return u!==0||(u=dp(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 i=new zb(t),s=new mp(n,i.getId(r),i.getId(o)),a=new Kb(new sa(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,i.getId(u.foreground),i.getId(u.background))}return new pi(i,s,a)}var zb=class{constructor(e){if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,n=e.length;t<n;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}getId(e){if(e===null)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw new Error(`Missing color in color map - ${e}`);return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}},qb=Object.freeze([]),sa=class gp{constructor(t,n,r,o,i){this.scopeDepth=t,this.parentScopes=n||qb,this.fontStyle=r,this.foreground=o,this.background=i}clone(){return new gp(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)}},Kb=class aa{constructor(t,n=[],r={}){this._mainRule=t,this._children=r,this._rulesWithParentScopes=n}static _cmpBySpecificity(t,n){if(t.scopeDepth!==n.scopeDepth)return n.scopeDepth-t.scopeDepth;let r=0,o=0;for(;t.parentScopes[r]===">"&&r++,n.parentScopes[o]===">"&&o++,!(r>=t.parentScopes.length||o>=n.parentScopes.length);){const i=n.parentScopes[o].length-t.parentScopes[r].length;if(i!==0)return i;r++,o++}return n.parentScopes.length-t.parentScopes.length}match(t){if(t!==""){let r=t.indexOf("."),o,i;if(r===-1?(o=t,i=""):(o=t.substring(0,r),i=t.substring(r+1)),this._children.hasOwnProperty(o))return this._children[o].match(i)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(aa._cmpBySpecificity),n}insert(t,n,r,o,i,s){if(n===""){this._doInsertHere(t,r,o,i,s);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 aa(this._mainRule.clone(),sa.cloneArr(this._rulesWithParentScopes)),this._children[l]=u),u.insert(t+1,c,r,o,i,s)}_doInsertHere(t,n,r,o,i){if(n===null){this._mainRule.acceptOverwrite(t,r,o,i);return}for(let s=0,a=this._rulesWithParentScopes.length;s<a;s++){let l=this._rulesWithParentScopes[s];if(dp(l.parentScopes,n)===0){l.acceptOverwrite(t,r,o,i);return}}r===-1&&(r=this._mainRule.fontStyle),o===0&&(o=this._mainRule.foreground),i===0&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new sa(t,n,r,o,i))}},lr=class rt{static toBinaryStr(t){return t.toString(2).padStart(32,"0")}static print(t){const n=rt.getLanguageId(t),r=rt.getTokenType(t),o=rt.getFontStyle(t),i=rt.getForeground(t),s=rt.getBackground(t);console.log({languageId:n,tokenType:r,fontStyle:o,foreground:i,background:s})}static getLanguageId(t){return(t&255)>>>0}static getTokenType(t){return(t&768)>>>8}static containsBalancedBrackets(t){return(t&1024)!==0}static getFontStyle(t){return(t&30720)>>>11}static getForeground(t){return(t&16744448)>>>15}static getBackground(t){return(t&4278190080)>>>24}static set(t,n,r,o,i,s,a){let l=rt.getLanguageId(t),c=rt.getTokenType(t),u=rt.containsBalancedBrackets(t)?1:0,f=rt.getFontStyle(t),d=rt.getForeground(t),p=rt.getBackground(t);return n!==0&&(l=n),r!==8&&(c=r),o!==null&&(u=o?1:0),i!==-1&&(f=i),s!==0&&(d=s),a!==0&&(p=a),(l<<0|c<<8|u<<10|f<<11|d<<15|p<<24)>>>0}};function hi(e,t){const n=[],r=Jb(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=s();if(n.push({matcher:c,priority:l}),o!==",")break;o=r.next()}return n;function i(){if(o==="-"){o=r.next();const l=i();return c=>!!l&&!l(c)}if(o==="("){o=r.next();const l=a();return o===")"&&(o=r.next()),l}if(Jc(o)){const l=[];do l.push(o),o=r.next();while(Jc(o));return c=>t(l,c)}return null}function s(){const l=[];let c=i();for(;c;)l.push(c),c=i();return u=>l.every(f=>f(u))}function a(){const l=[];let c=s();for(;c&&(l.push(c),o==="|"||o===",");){do o=r.next();while(o==="|"||o===",");c=s()}return u=>l.some(f=>f(u))}}function Jc(e){return!!e&&!!e.match(/[\w\.:]+/)}function Jb(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 _p(e){typeof e.dispose=="function"&&e.dispose()}var qr=class{constructor(e){this.scopeName=e}toKey(){return this.scopeName}},Xb=class{constructor(e,t){this.scopeName=e,this.ruleName=t}toKey(){return`${this.scopeName}#${this.ruleName}`}},Yb=class{constructor(){this._references=[],this._seenReferenceKeys=new Set,this.visitedRule=new Set}get references(){return this._references}add(e){const t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}},Qb=class{constructor(e,t){this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests=new Set,this.seenPartialScopeRequests=new Set,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new qr(this.initialScopeName)]}processQueue(){const e=this.Q;this.Q=[];const t=new Yb;for(const n of e)Zb(n,this.initialScopeName,this.repo,t);for(const n of t.references)if(n instanceof qr){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function Zb(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 i=n.lookup(t);e instanceof qr?Fo({baseGrammar:i,selfGrammar:o},r):la(e.ruleName,{baseGrammar:i,selfGrammar:o,repository:o.repository},r);const s=n.injections(e.scopeName);if(s)for(const a of s)r.add(new qr(a))}function la(e,t,n){if(t.repository&&t.repository[e]){const r=t.repository[e];mi([r],t,n)}}function Fo(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&mi(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&mi(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function mi(e,t,n){for(const r of e){if(n.visitedRule.has(r))continue;n.visitedRule.add(r);const o=r.repository?cp({},t.repository,r.repository):t.repository;Array.isArray(r.patterns)&&mi(r.patterns,{...t,repository:o},n);const i=r.include;if(!i)continue;const s=yp(i);switch(s.kind){case 0:Fo({...t,selfGrammar:t.baseGrammar},n);break;case 1:Fo(t,n);break;case 2:la(s.ruleName,{...t,repository:o},n);break;case 3:case 4:const a=s.scopeName===t.selfGrammar.scopeName?t.selfGrammar:s.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(a){const l={baseGrammar:t.baseGrammar,selfGrammar:a,repository:o};s.kind===4?la(s.ruleName,l,n):Fo(l,n)}else s.kind===4?n.add(new Xb(s.scopeName,s.ruleName)):n.add(new qr(s.scopeName));break}}}var ew=class{constructor(){this.kind=0}},tw=class{constructor(){this.kind=1}},nw=class{constructor(e){this.ruleName=e,this.kind=2}},rw=class{constructor(e){this.scopeName=e,this.kind=3}},ow=class{constructor(e,t){this.scopeName=e,this.ruleName=t,this.kind=4}};function yp(e){if(e==="$base")return new ew;if(e==="$self")return new tw;const t=e.indexOf("#");if(t===-1)return new rw(e);if(t===0)return new nw(e.substring(1));{const n=e.substring(0,t),r=e.substring(t+1);return new ow(n,r)}}var iw=/\\(\d+)/,Xc=/\\(\d+)/g,sw=-1,vp=-2;var oo=class{constructor(e,t,n,r){this.$location=e,this.id=t,this._name=n||null,this._nameIsCapturing=To.hasCaptures(this._name),this._contentName=r||null,this._contentNameIsCapturing=To.hasCaptures(this._contentName)}get debugName(){const e=this.$location?`${up(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${e}`}getName(e,t){return!this._nameIsCapturing||this._name===null||e===null||t===null?this._name:To.replaceCaptures(this._name,e,t)}getContentName(e,t){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:To.replaceCaptures(this._contentName,e,t)}},aw=class extends oo{constructor(e,t,n,r,o){super(e,t,n,r),this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(e,t){throw new Error("Not supported!")}compile(e,t){throw new Error("Not supported!")}compileAG(e,t,n,r){throw new Error("Not supported!")}},lw=class extends oo{constructor(e,t,n,r,o){super(e,t,n,null),this._match=new Kr(r,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Jr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Yc=class extends oo{constructor(e,t,n,r,o){super(e,t,n,r),this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(const n of this.patterns)e.getRule(n).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new Jr,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},ca=class extends oo{constructor(e,t,n,r,o,i,s,a,l,c){super(e,t,n,r),this._begin=new Kr(o,this.id),this.beginCaptures=i,this._end=new Kr(s||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=a,this.applyEndPatternLast=l||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.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(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e,t).compileAG(e,n,r)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Jr;for(const n of this.patterns)e.getRule(n).collectPatterns(e,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,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}},gi=class extends oo{constructor(e,t,n,r,o,i,s,a,l){super(e,t,n,r),this._begin=new Kr(o,this.id),this.beginCaptures=i,this.whileCaptures=a,this._while=new Kr(s,vp),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=l.patterns,this.hasMissingPatterns=l.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(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,n,r){return this._getCachedCompiledPatterns(e).compileAG(e,n,r)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new Jr;for(const t of this.patterns)e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,n,r){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,n,r)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new Jr,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||""),this._cachedCompiledWhilePatterns}},bp=class je{static createCaptureRule(t,n,r,o,i){return t.registerRule(s=>new aw(n,s,r,o,i))}static getCompiledRuleId(t,n,r){return t.id||n.registerRule(o=>{if(t.id=o,t.match)return new lw(t.$vscodeTextmateLocation,t.id,t.name,t.match,je._compileCaptures(t.captures,n,r));if(typeof t.begin>"u"){t.repository&&(r=cp({},r,t.repository));let i=t.patterns;return typeof i>"u"&&t.include&&(i=[{include:t.include}]),new Yc(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,je._compilePatterns(i,n,r))}return t.while?new gi(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,je._compileCaptures(t.beginCaptures||t.captures,n,r),t.while,je._compileCaptures(t.whileCaptures||t.captures,n,r),je._compilePatterns(t.patterns,n,r)):new ca(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,je._compileCaptures(t.beginCaptures||t.captures,n,r),t.end,je._compileCaptures(t.endCaptures||t.captures,n,r),t.applyEndPatternLast,je._compilePatterns(t.patterns,n,r))}),t.id}static _compileCaptures(t,n,r){let o=[];if(t){let i=0;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const a=parseInt(s,10);a>i&&(i=a)}for(let s=0;s<=i;s++)o[s]=null;for(const s in t){if(s==="$vscodeTextmateLocation")continue;const a=parseInt(s,10);let l=0;t[s].patterns&&(l=je.getCompiledRuleId(t[s],n,r)),o[a]=je.createCaptureRule(n,t[s].$vscodeTextmateLocation,t[s].name,t[s].contentName,l)}}return o}static _compilePatterns(t,n,r){let o=[];if(t)for(let i=0,s=t.length;i<s;i++){const a=t[i];let l=-1;if(a.include){const c=yp(a.include);switch(c.kind){case 0:case 1:l=je.getCompiledRuleId(r[a.include],n,r);break;case 2:let u=r[c.ruleName];u&&(l=je.getCompiledRuleId(u,n,r));break;case 3:case 4:const f=c.scopeName,d=c.kind===4?c.ruleName:null,p=n.getExternalGrammar(f,r);if(p)if(d){let h=p.repository[d];h&&(l=je.getCompiledRuleId(h,n,p.repository))}else l=je.getCompiledRuleId(p.repository.$self,n,p.repository);break}}else l=je.getCompiledRuleId(a,n,r);if(l!==-1){const c=n.getRule(l);let u=!1;if((c instanceof Yc||c instanceof ca||c instanceof gi)&&c.hasMissingPatterns&&c.patterns.length===0&&(u=!0),u)continue;o.push(l)}}return{patterns:o,hasMissingPatterns:(t?t.length:0)!==o.length}}},Kr=class wp{constructor(t,n){if(t){const r=t.length;let o=0,i=[],s=!1;for(let a=0;a<r;a++)if(t.charAt(a)==="\\"&&a+1<r){const c=t.charAt(a+1);c==="z"?(i.push(t.substring(o,a)),i.push("$(?!\\n)(?<!\\n)"),o=a+2):(c==="A"||c==="G")&&(s=!0),a++}this.hasAnchor=s,o===0?this.source=t:(i.push(t.substring(o,r)),this.source=i.join(""))}else this.hasAnchor=!1,this.source=t;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,this.hasBackReferences=iw.test(this.source)}clone(){return new wp(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 Xc.lastIndex=0,this.source.replace(Xc,(o,i)=>pp(r[parseInt(i,10)]||""))}_buildAnchorCache(){let t=[],n=[],r=[],o=[],i,s,a,l;for(i=0,s=this.source.length;i<s;i++)a=this.source.charAt(i),t[i]=a,n[i]=a,r[i]=a,o[i]=a,a==="\\"&&i+1<s&&(l=this.source.charAt(i+1),l==="A"?(t[i+1]="",n[i+1]="",r[i+1]="A",o[i+1]="A"):l==="G"?(t[i+1]="",n[i+1]="G",r[i+1]="",o[i+1]="G"):(t[i+1]=l,n[i+1]=l,r[i+1]=l,o[i+1]=l),i++);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}},Jr=class{constructor(){this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(n=>n.source);this._cached=new Qc(e,t,this._items.map(n=>n.ruleId))}return this._cached}compileAG(e,t,n){return this._hasAnchors?t?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,n)),this._anchorCache.A0_G0):this.compile(e)}_resolveAnchors(e,t,n){let r=this._items.map(o=>o.resolveAnchors(t,n));return new Qc(e,r,this._items.map(o=>o.ruleId))}},Qc=class{constructor(e,t,n){this.regExps=t,this.rules=n,this.scanner=e.createOnigScanner(t)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const e=[];for(let t=0,n=this.rules.length;t<n;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join(`
|
|
20
|
-
`)}findNextMatchSync(e,t,n){const r=this.scanner.findNextMatchSync(e,t,n);return r?{ruleId:this.rules[r.index],captureIndices:r.captureIndices}:null}},ua=class{constructor(e,t){this.languageId=e,this.tokenType=t}},sl=class fa{constructor(t,n){this._getBasicScopeAttributes=new hp(r=>{const o=this._scopeToLanguage(r),i=this._toStandardTokenType(r);return new ua(o,i)}),this._defaultAttributes=new ua(t,8),this._embeddedLanguagesMatcher=new uw(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return t===null?fa._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(t){return this._embeddedLanguagesMatcher.match(t)||0}_toStandardTokenType(t){const n=t.match(fa.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!")}};sl._NULL_SCOPE_METADATA=new ua(0,0);sl.STANDARD_TOKEN_TYPE_REGEXP=/\b(comment|string|regex|meta\.embedded)\b/;var cw=sl,uw=class{constructor(e){if(e.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);const t=e.map(([n,r])=>pp(n));t.sort(),t.reverse(),this.scopesRegExp=new RegExp(`^((${t.join(")|(")}))($|\\.)`,"")}}match(e){if(!this.scopesRegExp)return;const t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}},Zc=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function Ep(e,t,n,r,o,i,s,a){const l=t.content.length;let c=!1,u=-1;if(s){const p=fw(e,t,n,r,o,i);o=p.stack,r=p.linePos,n=p.isFirstLine,u=p.anchorPosition}const f=Date.now();for(;!c;){if(a!==0&&Date.now()-f>a)return new Zc(o,!0);d()}return new Zc(o,!1);function d(){const p=dw(e,t,n,r,o,u);if(!p){i.produce(o,l),c=!0;return}const h=p.captureIndices,m=p.matchedRuleId,y=h&&h.length>0?h[0].end>r:!1;if(m===sw){const b=o.getRule(e);i.produce(o,h[0].start),o=o.withContentNameScopesList(o.nameScopesList),wr(e,t,n,o,i,b.endCaptures,h),i.produce(o,h[0].end);const E=o;if(o=o.parent,u=E.getAnchorPos(),!y&&E.getEnterPos()===r){o=E,i.produce(o,l),c=!0;return}}else{const b=e.getRule(m);i.produce(o,h[0].start);const E=o,g=b.getName(t.content,h),w=o.contentNameScopesList.pushAttributed(g,e);if(o=o.push(m,r,u,h[0].end===l,null,w,w),b instanceof ca){const C=b;wr(e,t,n,o,i,C.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const P=C.getContentName(t.content,h),D=w.pushAttributed(P,e);if(o=o.withContentNameScopesList(D),C.endHasBackReferences&&(o=o.withEndRule(C.getEndWithResolvedBackReferences(t.content,h))),!y&&E.hasSameRuleAs(o)){o=o.pop(),i.produce(o,l),c=!0;return}}else if(b instanceof gi){const C=b;wr(e,t,n,o,i,C.beginCaptures,h),i.produce(o,h[0].end),u=h[0].end;const P=C.getContentName(t.content,h),D=w.pushAttributed(P,e);if(o=o.withContentNameScopesList(D),C.whileHasBackReferences&&(o=o.withEndRule(C.getWhileWithResolvedBackReferences(t.content,h))),!y&&E.hasSameRuleAs(o)){o=o.pop(),i.produce(o,l),c=!0;return}}else if(wr(e,t,n,o,i,b.captures,h),i.produce(o,h[0].end),o=o.pop(),!y){o=o.safePop(),i.produce(o,l),c=!0;return}}h[0].end>r&&(r=h[0].end,n=!1)}}function fw(e,t,n,r,o,i){let s=o.beginRuleCapturedEOL?0:-1;const a=[];for(let l=o;l;l=l.pop()){const c=l.getRule(e);c instanceof gi&&a.push({rule:c,stack:l})}for(let l=a.pop();l;l=a.pop()){const{ruleScanner:c,findOptions:u}=mw(l.rule,e,l.stack.endRule,n,r===s),f=c.findNextMatchSync(t,r,u);if(f){if(f.ruleId!==vp){o=l.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(i.produce(l.stack,f.captureIndices[0].start),wr(e,t,n,l.stack,i,l.rule.whileCaptures,f.captureIndices),i.produce(l.stack,f.captureIndices[0].end),s=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:s,isFirstLine:n}}function dw(e,t,n,r,o,i){const s=pw(e,t,n,r,o,i),a=e.getInjections();if(a.length===0)return s;const l=hw(a,e,t,n,r,o,i);if(!l)return s;if(!s)return l;const c=s.captureIndices[0].start,u=l.captureIndices[0].start;return u<c||l.priorityMatch&&u===c?l:s}function pw(e,t,n,r,o,i){const s=o.getRule(e),{ruleScanner:a,findOptions:l}=Tp(s,e,o.endRule,n,r===i),c=a.findNextMatchSync(t,r,l);return c?{captureIndices:c.captureIndices,matchedRuleId:c.ruleId}:null}function hw(e,t,n,r,o,i,s){let a=Number.MAX_VALUE,l=null,c,u=0;const f=i.contentNameScopesList.getScopeNames();for(let d=0,p=e.length;d<p;d++){const h=e[d];if(!h.matcher(f))continue;const m=t.getRule(h.ruleId),{ruleScanner:y,findOptions:b}=Tp(m,t,null,r,o===s),E=y.findNextMatchSync(n,o,b);if(!E)continue;const g=E.captureIndices[0].start;if(!(g>=a)&&(a=g,l=E.captureIndices,c=E.ruleId,u=h.priority,a===o))break}return l?{priorityMatch:u===-1,captureIndices:l,matchedRuleId:c}:null}function Tp(e,t,n,r,o){return{ruleScanner:e.compileAG(t,n,r,o),findOptions:0}}function mw(e,t,n,r,o){return{ruleScanner:e.compileWhileAG(t,n,r,o),findOptions:0}}function wr(e,t,n,r,o,i,s){if(i.length===0)return;const a=t.content,l=Math.min(i.length,s.length),c=[],u=s[0].end;for(let f=0;f<l;f++){const d=i[f];if(d===null)continue;const p=s[f];if(p.length===0)continue;if(p.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=p.start;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?o.produceFromScopes(c[c.length-1].scopes,p.start):o.produce(r,p.start),d.retokenizeCapturedWithRuleId){const m=d.getName(a,s),y=r.contentNameScopesList.pushAttributed(m,e),b=d.getContentName(a,s),E=y.pushAttributed(b,e),g=r.push(d.retokenizeCapturedWithRuleId,p.start,-1,!1,null,y,E),w=e.createOnigString(a.substring(0,p.end));Ep(e,w,n&&p.start===0,p.start,g,o,!1,0),_p(w);continue}const h=d.getName(a,s);if(h!==null){const y=(c.length>0?c[c.length-1].scopes:r.contentNameScopesList).pushAttributed(h,e);c.push(new gw(y,p.end))}}for(;c.length>0;)o.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var gw=class{constructor(e,t){this.scopes=e,this.endPos=t}};function _w(e,t,n,r,o,i,s,a){return new vw(e,t,n,r,o,i,s,a)}function eu(e,t,n,r,o){const i=hi(t,_i),s=bp.getCompiledRuleId(n,r,o.repository);for(const a of i)e.push({debugSelector:t,matcher:a.matcher,ruleId:s,grammar:o,priority:a.priority})}function _i(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(yw(t[o],r))return n=o+1,!0;return!1})}function yw(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]==="."}var vw=class{constructor(e,t,n,r,o,i,s,a){if(this._rootScopeName=e,this.balancedBracketSelectors=i,this._onigLib=a,this._basicScopeAttributesProvider=new cw(n,r),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=s,this._grammar=tu(t,null),this._injections=null,this._tokenTypeMatchers=[],o)for(const l of Object.keys(o)){const c=hi(l,_i);for(const u of c)this._tokenTypeMatchers.push({matcher:u.matcher,type:o[l]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){const e={lookup:o=>o===this._rootScopeName?this._grammar:this.getExternalGrammar(o),injections:o=>this._grammarRepository.injections(o)},t=[],n=this._rootScopeName,r=e.lookup(n);if(r){const o=r.injections;if(o)for(let s in o)eu(t,s,o[s],this,r);const i=this._grammarRepository.injections(n);i&&i.forEach(s=>{const a=this.getExternalGrammar(s);if(a){const l=a.injectionSelector;l&&eu(t,l,a,this,a)}})}return t.sort((o,i)=>o.priority-i.priority),t}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(e){const t=++this._lastRuleId,n=e(t);return this._ruleId2desc[t]=n,n}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){const n=this._grammarRepository.lookup(e);if(n)return this._includedGrammars[e]=tu(n,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t,n=0){const r=this._tokenize(e,t,!1,n);return{tokens:r.lineTokens.getResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}tokenizeLine2(e,t,n=0){const r=this._tokenize(e,t,!0,n);return{tokens:r.lineTokens.getBinaryResult(r.ruleStack,r.lineLength),ruleStack:r.ruleStack,stoppedEarly:r.stoppedEarly}}_tokenize(e,t,n,r){this._rootId===-1&&(this._rootId=bp.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let o;if(!t||t===pa.NULL){o=!0;const c=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),f=lr.set(0,c.languageId,c.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),d=this.getRule(this._rootId).getName(null,null);let p;d?p=Or.createRootAndLookUpScopeName(d,f,this):p=Or.createRoot("unknown",f),t=new pa(null,this._rootId,-1,-1,!1,null,p,p)}else o=!1,t.reset();e=e+`
|
|
21
|
-
`;const i=this.createOnigString(e),s=i.content.length,a=new ww(n,e,this._tokenTypeMatchers,this.balancedBracketSelectors),l=Ep(this,i,o,0,t,a,!0,r);return _p(i),{lineLength:s,lineTokens:a,ruleStack:l.stack,stoppedEarly:l.stoppedEarly}}};function tu(e,t){return e=Vb(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}var Or=class vt{constructor(t,n,r){this.parent=t,this.scopePath=n,this.tokenAttributes=r}static fromExtension(t,n){let r=t,o=(t==null?void 0:t.scopePath)??null;for(const i of n)o=ys.push(o,i.scopeNames),r=new vt(r,o,i.encodedTokenAttributes);return r}static createRoot(t,n){return new vt(null,new ys(null,t),n)}static createRootAndLookUpScopeName(t,n,r){const o=r.getMetadataForScope(t),i=new ys(null,t),s=r.themeProvider.themeMatch(i),a=vt.mergeAttributes(n,o,s);return new vt(null,i,a)}get scopeName(){return this.scopePath.scopeName}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,i=0,s=0;return r!==null&&(o=r.fontStyle,i=r.foregroundId,s=r.backgroundId),lr.set(t,n.languageId,n.tokenType,null,o,i,s)}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 i of r)o=vt._pushAttributed(o,i,n);return o}static _pushAttributed(t,n,r){const o=r.getMetadataForScope(n),i=t.scopePath.push(n),s=r.themeProvider.themeMatch(i),a=vt.mergeAttributes(t.tokenAttributes,o,s);return new vt(t,i,a)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(t){var o;const n=[];let r=this;for(;r&&r!==t;)n.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(((o=r.parent)==null?void 0:o.scopePath)??null)}),r=r.parent;return r===t?n.reverse():void 0}},da=class jn{constructor(t,n,r,o,i,s,a,l){this.parent=t,this.ruleId=n,this.beginRuleCapturedEOL=i,this.endRule=s,this.nameScopesList=a,this.contentNameScopesList=l,this._stackElementBrand=void 0,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=o}equals(t){return t===null?!1:jn._equals(this,t)}static _equals(t,n){return t===n?!0:this._structuralEquals(t,n)?Or.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(){jn._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,n,r,o,i,s,a){return new jn(this,t,n,r,o,i,s,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){var r,o;return this.parent&&(n=this.parent._writeString(t,n)),t[n++]=`(${this.ruleId}, ${(r=this.nameScopesList)==null?void 0:r.toString()}, ${(o=this.contentNameScopesList)==null?void 0:o.toString()})`,n}withContentNameScopesList(t){return this.contentNameScopesList===t?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,t)}withEndRule(t){return this.endRule===t?this:new jn(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(t){let n=this;for(;n&&n._enterPos===t._enterPos;){if(n.ruleId===t.ruleId)return!0;n=n.parent}return!1}toStateStackFrame(){var t,n,r;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:((n=this.nameScopesList)==null?void 0:n.getExtensionIfDefined(((t=this.parent)==null?void 0:t.nameScopesList)??null))??[],contentNameScopesList:((r=this.contentNameScopesList)==null?void 0:r.getExtensionIfDefined(this.nameScopesList))??[]}}static pushFrame(t,n){const r=Or.fromExtension((t==null?void 0:t.nameScopesList)??null,n.nameScopesList);return new jn(t,n.ruleId,n.enterPos??-1,n.anchorPos??-1,n.beginRuleCapturedEOL,n.endRule,r,Or.fromExtension(r,n.contentNameScopesList))}};da.NULL=new da(null,0,0,0,!1,null,null,null);var pa=da,bw=class{constructor(e,t){this.allowAny=!1,this.balancedBracketScopes=e.flatMap(n=>n==="*"?(this.allowAny=!0,[]):hi(n,_i).map(r=>r.matcher)),this.unbalancedBracketScopes=t.flatMap(n=>hi(n,_i).map(r=>r.matcher))}get matchesAlways(){return this.allowAny&&this.unbalancedBracketScopes.length===0}get matchesNever(){return this.balancedBracketScopes.length===0&&!this.allowAny}match(e){for(const t of this.unbalancedBracketScopes)if(t(e))return!1;for(const t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}},ww=class{constructor(e,t,n,r){this.balancedBracketSelectors=r,this._emitBinaryTokens=e,this._tokenTypeOverrides=n,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var r;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let o=(e==null?void 0:e.tokenAttributes)??0,i=!1;if((r=this.balancedBracketSelectors)!=null&&r.matchesAlways&&(i=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){const s=(e==null?void 0:e.getScopeNames())??[];for(const a of this._tokenTypeOverrides)a.matcher(s)&&(o=lr.set(o,0,a.type,null,-1,0,0));this.balancedBracketSelectors&&(i=this.balancedBracketSelectors.match(s))}if(i&&(o=lr.set(o,0,8,i,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===o){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(o),this._lastTokenEndIndex=t;return}const n=(e==null?void 0:e.getScopeNames())??[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:n}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),this._tokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),this._binaryTokens.length===0&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);const n=new Uint32Array(this._binaryTokens.length);for(let r=0,o=this._binaryTokens.length;r<o;r++)n[r]=this._binaryTokens[r];return n}},Ew=class{constructor(e,t){this._onigLib=t,this._grammars=new Map,this._rawGrammars=new Map,this._injectionGrammars=new Map,this._theme=e}dispose(){for(const e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,n,r,o){if(!this._grammars.has(e)){let i=this._rawGrammars.get(e);if(!i)return null;this._grammars.set(e,_w(e,i,t,n,r,o,this,this._onigLib))}return this._grammars.get(e)}},Tw=class{constructor(t){this._options=t,this._syncRegistry=new Ew(pi.createFromRawTheme(t.theme,t.colorMap),t.onigLib),this._ensureGrammarCache=new Map}dispose(){this._syncRegistry.dispose()}setTheme(t,n){this._syncRegistry.setTheme(pi.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 bw(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(t){return this._loadGrammar(t,0,null,null,null)}_loadGrammar(t,n,r,o,i){const s=new Qb(this._syncRegistry,t);for(;s.Q.length>0;)s.Q.map(a=>this._loadSingleGrammar(a.scopeName)),s.processQueue();return this._grammarForScopeName(t,n,r,o,i)}_loadSingleGrammar(t){this._ensureGrammarCache.has(t)||(this._doLoadSingleGrammar(t),this._ensureGrammarCache.set(t,!0))}_doLoadSingleGrammar(t){const n=this._options.loadGrammar(t);if(n){const r=typeof this._options.getInjections=="function"?this._options.getInjections(t):void 0;this._syncRegistry.addGrammar(n,r)}}addGrammar(t,n=[],r=0,o=null){return this._syncRegistry.addGrammar(t,n),this._grammarForScopeName(t.scopeName,r,o)}_grammarForScopeName(t,n=0,r=null,o=null,i=null){return this._syncRegistry.grammarForScopeName(t,n,r,o,i)}},Cp=pa.NULL;const Cw=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"];class io{constructor(t,n,r){this.property=t,this.normal=n,r&&(this.space=r)}}io.prototype.property={};io.prototype.normal={};io.prototype.space=null;function Sp(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 io(n,r,t)}function ha(e){return e.toLowerCase()}class ct{constructor(t,n){this.property=t,this.attribute=n}}ct.prototype.space=null;ct.prototype.boolean=!1;ct.prototype.booleanish=!1;ct.prototype.overloadedBoolean=!1;ct.prototype.number=!1;ct.prototype.commaSeparated=!1;ct.prototype.spaceSeparated=!1;ct.prototype.commaOrSpaceSeparated=!1;ct.prototype.mustUseProperty=!1;ct.prototype.defined=!1;let Sw=0;const ie=Dn(),ke=Dn(),xp=Dn(),B=Dn(),ve=Dn(),Zn=Dn(),et=Dn();function Dn(){return 2**++Sw}const ma=Object.freeze(Object.defineProperty({__proto__:null,boolean:ie,booleanish:ke,commaOrSpaceSeparated:et,commaSeparated:Zn,number:B,overloadedBoolean:xp,spaceSeparated:ve},Symbol.toStringTag,{value:"Module"})),vs=Object.keys(ma);class al extends ct{constructor(t,n,r,o){let i=-1;if(super(t,n),nu(this,"space",o),typeof r=="number")for(;++i<vs.length;){const s=vs[i];nu(this,vs[i],(r&ma[s])===ma[s])}}}al.prototype.defined=!0;function nu(e,t,n){n&&(e[t]=n)}const xw={}.hasOwnProperty;function dr(e){const t={},n={};let r;for(r in e.properties)if(xw.call(e.properties,r)){const o=e.properties[r],i=new al(r,e.transform(e.attributes||{},r),o,e.space);e.mustUseProperty&&e.mustUseProperty.includes(r)&&(i.mustUseProperty=!0),t[r]=i,n[ha(r)]=r,n[ha(i.attribute)]=r}return new io(t,n,e.space)}const Ap=dr({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}}),Pp=dr({space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()},properties:{xmlLang:null,xmlBase:null,xmlSpace:null}});function Rp(e,t){return t in e?e[t]:t}function kp(e,t){return Rp(e,t.toLowerCase())}const Lp=dr({space:"xmlns",attributes:{xmlnsxlink:"xmlns:xlink"},transform:kp,properties:{xmlns:null,xmlnsXLink:null}}),Op=dr({transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()},properties:{ariaActiveDescendant:null,ariaAtomic:ke,ariaAutoComplete:null,ariaBusy:ke,ariaChecked:ke,ariaColCount:B,ariaColIndex:B,ariaColSpan:B,ariaControls:ve,ariaCurrent:null,ariaDescribedBy:ve,ariaDetails:null,ariaDisabled:ke,ariaDropEffect:ve,ariaErrorMessage:null,ariaExpanded:ke,ariaFlowTo:ve,ariaGrabbed:ke,ariaHasPopup:null,ariaHidden:ke,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ve,ariaLevel:B,ariaLive:null,ariaModal:ke,ariaMultiLine:ke,ariaMultiSelectable:ke,ariaOrientation:null,ariaOwns:ve,ariaPlaceholder:null,ariaPosInSet:B,ariaPressed:ke,ariaReadOnly:ke,ariaRelevant:null,ariaRequired:ke,ariaRoleDescription:ve,ariaRowCount:B,ariaRowIndex:B,ariaRowSpan:B,ariaSelected:ke,ariaSetSize:B,ariaSort:null,ariaValueMax:B,ariaValueMin:B,ariaValueNow:B,ariaValueText:null,role:null}}),Aw=dr({space:"html",attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},transform:kp,mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Zn,acceptCharset:ve,accessKey:ve,action:null,allow:null,allowFullScreen:ie,allowPaymentRequest:ie,allowUserMedia:ie,alt:null,as:null,async:ie,autoCapitalize:null,autoComplete:ve,autoFocus:ie,autoPlay:ie,blocking:ve,capture:null,charSet:null,checked:ie,cite:null,className:ve,cols:B,colSpan:null,content:null,contentEditable:ke,controls:ie,controlsList:ve,coords:B|Zn,crossOrigin:null,data:null,dateTime:null,decoding:null,default:ie,defer:ie,dir:null,dirName:null,disabled:ie,download:xp,draggable:ke,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:ie,formTarget:null,headers:ve,height:B,hidden:ie,high:B,href:null,hrefLang:null,htmlFor:ve,httpEquiv:ve,id:null,imageSizes:null,imageSrcSet:null,inert:ie,inputMode:null,integrity:null,is:null,isMap:ie,itemId:null,itemProp:ve,itemRef:ve,itemScope:ie,itemType:ve,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:ie,low:B,manifest:null,max:null,maxLength:B,media:null,method:null,min:null,minLength:B,multiple:ie,muted:ie,name:null,nonce:null,noModule:ie,noValidate:ie,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:ie,optimum:B,pattern:null,ping:ve,placeholder:null,playsInline:ie,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:ie,referrerPolicy:null,rel:ve,required:ie,reversed:ie,rows:B,rowSpan:B,sandbox:ve,scope:null,scoped:ie,seamless:ie,selected:ie,shadowRootClonable:ie,shadowRootDelegatesFocus:ie,shadowRootMode:null,shape:null,size:B,sizes:null,slot:null,span:B,spellCheck:ke,src:null,srcDoc:null,srcLang:null,srcSet:null,start:B,step:null,style:null,tabIndex:B,target:null,title:null,translate:null,type:null,typeMustMatch:ie,useMap:null,value:ke,width:B,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ve,axis:null,background:null,bgColor:null,border:B,borderColor:null,bottomMargin:B,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:ie,declare:ie,event:null,face:null,frame:null,frameBorder:null,hSpace:B,leftMargin:B,link:null,longDesc:null,lowSrc:null,marginHeight:B,marginWidth:B,noResize:ie,noHref:ie,noShade:ie,noWrap:ie,object:null,profile:null,prompt:null,rev:null,rightMargin:B,rules:null,scheme:null,scrolling:ke,standby:null,summary:null,text:null,topMargin:B,valueType:null,version:null,vAlign:null,vLink:null,vSpace:B,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:ie,disableRemotePlayback:ie,prefix:null,property:null,results:B,security:null,unselectable:null}}),Pw=dr({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:Rp,properties:{about:et,accentHeight:B,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:B,amplitude:B,arabicForm:null,ascent:B,attributeName:null,attributeType:null,azimuth:B,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:B,by:null,calcMode:null,capHeight:B,className:ve,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:B,diffuseConstant:B,direction:null,display:null,dur:null,divisor:B,dominantBaseline:null,download:ie,dx:null,dy:null,edgeMode:null,editable:null,elevation:B,enableBackground:null,end:null,event:null,exponent:B,externalResourcesRequired:null,fill:null,fillOpacity:B,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:Zn,g2:Zn,glyphName:Zn,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:B,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:B,horizOriginX:B,horizOriginY:B,id:null,ideographic:B,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:B,k:B,k1:B,k2:B,k3:B,k4:B,kernelMatrix:et,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:B,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:B,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:B,overlineThickness:B,paintOrder:null,panose1:null,path:null,pathLength:B,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ve,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:B,pointsAtY:B,pointsAtZ:B,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:et,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:et,rev:et,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:et,requiredFeatures:et,requiredFonts:et,requiredFormats:et,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:B,specularExponent:B,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:B,strikethroughThickness:B,string:null,stroke:null,strokeDashArray:et,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:B,strokeOpacity:B,strokeWidth:null,style:null,surfaceScale:B,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:et,tabIndex:B,tableValues:null,target:null,targetX:B,targetY:B,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:et,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:B,underlineThickness:B,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:B,values:null,vAlphabetic:B,vMathematical:B,vectorEffect:null,vHanging:B,vIdeographic:B,version:null,vertAdvY:B,vertOriginX:B,vertOriginY:B,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:B,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null}}),Rw=/^data[-\w.:]+$/i,ru=/-[a-z]/g,kw=/[A-Z]/g;function Lw(e,t){const n=ha(t);let r=t,o=ct;if(n in e.normal)return e.property[e.normal[n]];if(n.length>4&&n.slice(0,4)==="data"&&Rw.test(t)){if(t.charAt(4)==="-"){const i=t.slice(5).replace(ru,Iw);r="data"+i.charAt(0).toUpperCase()+i.slice(1)}else{const i=t.slice(4);if(!ru.test(i)){let s=i.replace(kw,Ow);s.charAt(0)!=="-"&&(s="-"+s),t="data"+s}}o=al}return new o(r,t)}function Ow(e){return"-"+e.toLowerCase()}function Iw(e){return e.charAt(1).toUpperCase()}const Nw=Sp([Pp,Ap,Lp,Op,Aw],"html"),Ip=Sp([Pp,Ap,Lp,Op,Pw],"svg"),ou={}.hasOwnProperty;function Dw(e,t){const n=t||{};function r(o,...i){let s=r.invalid;const a=r.handlers;if(o&&ou.call(o,e)){const l=String(o[e]);s=ou.call(a,l)?a[l]:r.unknown}if(s)return s.call(this,o,...i)}return r.handlers=n.handlers||{},r.invalid=n.invalid,r.unknown=n.unknown,r}const $w=/["&'<>`]/g,Mw=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,Vw=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,Hw=/[|\\{}()[\]^$+*?.]/g,iu=new WeakMap;function Fw(e,t){if(e=e.replace(t.subset?Bw(t.subset):$w,r),t.subset||t.escapeOnly)return e;return e.replace(Mw,n).replace(Vw,r);function n(o,i,s){return t.format((o.charCodeAt(0)-55296)*1024+o.charCodeAt(1)-56320+65536,s.charCodeAt(i+2),t)}function r(o,i,s){return t.format(o.charCodeAt(0),s.charCodeAt(i+1),t)}}function Bw(e){let t=iu.get(e);return t||(t=jw(e),iu.set(e,t)),t}function jw(e){const t=[];let n=-1;for(;++n<e.length;)t.push(e[n].replace(Hw,"\\$&"));return new RegExp("(?:"+t.join("|")+")","g")}const Uw=/[\dA-Fa-f]/;function Ww(e,t,n){const r="&#x"+e.toString(16).toUpperCase();return n&&t&&!Uw.test(String.fromCharCode(t))?r:r+";"}const Gw=/\d/;function zw(e,t,n){const r="&#"+String(e);return n&&t&&!Gw.test(String.fromCharCode(t))?r:r+";"}const qw=["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"],bs={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:"€"},Kw=["cent","copy","divide","gt","lt","not","para","times"],Np={}.hasOwnProperty,ga={};let Co;for(Co in bs)Np.call(bs,Co)&&(ga[bs[Co]]=Co);const Jw=/[^\dA-Za-z]/;function Xw(e,t,n,r){const o=String.fromCharCode(e);if(Np.call(ga,o)){const i=ga[o],s="&"+i;return n&&qw.includes(i)&&!Kw.includes(i)&&(!r||t&&t!==61&&Jw.test(String.fromCharCode(t)))?s:s+";"}return""}function Yw(e,t,n){let r=Ww(e,t,n.omitOptionalSemicolons),o;if((n.useNamedReferences||n.useShortestReferences)&&(o=Xw(e,t,n.omitOptionalSemicolons,n.attribute)),(n.useShortestReferences||!o)&&n.useShortestReferences){const i=zw(e,t,n.omitOptionalSemicolons);i.length<r.length&&(r=i)}return o&&(!n.useShortestReferences||o.length<r.length)?o:r}function er(e,t){return Fw(e,Object.assign({format:Yw},t))}const Qw=/^>|^->|<!--|-->|--!>|<!-$/g,Zw=[">"],e1=["<",">"];function t1(e,t,n,r){return r.settings.bogusComments?"<?"+er(e.value,Object.assign({},r.settings.characterReferences,{subset:Zw}))+">":"<!--"+e.value.replace(Qw,o)+"-->";function o(i){return er(i,Object.assign({},r.settings.characterReferences,{subset:e1}))}}function n1(e,t,n,r){return"<!"+(r.settings.upperDoctype?"DOCTYPE":"doctype")+(r.settings.tightDoctype?"":" ")+"html>"}function su(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 r1(e,t){const n=t||{};return(e[e.length-1]===""?[...e,""]:e).join((n.padRight?" ":"")+","+(n.padLeft===!1?"":" ")).trim()}function o1(e){return e.join(" ").trim()}const i1=/[ \t\n\f\r]/g;function ll(e){return typeof e=="object"?e.type==="text"?au(e.value):!1:au(e)}function au(e){return e.replace(i1,"")===""}const $e=$p(1),Dp=$p(-1),s1=[];function $p(e){return t;function t(n,r,o){const i=n?n.children:s1;let s=(r||0)+e,a=i[s];if(!o)for(;a&&ll(a);)s+=e,a=i[s];return a}}const a1={}.hasOwnProperty;function Mp(e){return t;function t(n,r,o){return a1.call(e,n.tagName)&&e[n.tagName](n,r,o)}}const cl=Mp({body:c1,caption:ws,colgroup:ws,dd:p1,dt:d1,head:ws,html:l1,li:f1,optgroup:h1,option:m1,p:u1,rp:lu,rt:lu,tbody:_1,td:cu,tfoot:y1,th:cu,thead:g1,tr:v1});function ws(e,t,n){const r=$e(n,t,!0);return!r||r.type!=="comment"&&!(r.type==="text"&&ll(r.value.charAt(0)))}function l1(e,t,n){const r=$e(n,t);return!r||r.type!=="comment"}function c1(e,t,n){const r=$e(n,t);return!r||r.type!=="comment"}function u1(e,t,n){const r=$e(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 f1(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&r.tagName==="li"}function d1(e,t,n){const r=$e(n,t);return!!(r&&r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd"))}function p1(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&(r.tagName==="dt"||r.tagName==="dd")}function lu(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&(r.tagName==="rp"||r.tagName==="rt")}function h1(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&r.tagName==="optgroup"}function m1(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&(r.tagName==="option"||r.tagName==="optgroup")}function g1(e,t,n){const r=$e(n,t);return!!(r&&r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot"))}function _1(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&(r.tagName==="tbody"||r.tagName==="tfoot")}function y1(e,t,n){return!$e(n,t)}function v1(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&r.tagName==="tr"}function cu(e,t,n){const r=$e(n,t);return!r||r.type==="element"&&(r.tagName==="td"||r.tagName==="th")}const b1=Mp({body:T1,colgroup:C1,head:E1,html:w1,tbody:S1});function w1(e){const t=$e(e,-1);return!t||t.type!=="comment"}function E1(e){const t=new Set;for(const r of e.children)if(r.type==="element"&&(r.tagName==="base"||r.tagName==="title")){if(t.has(r.tagName))return!1;t.add(r.tagName)}const n=e.children[0];return!n||n.type==="element"}function T1(e){const t=$e(e,-1,!0);return!t||t.type!=="comment"&&!(t.type==="text"&&ll(t.value.charAt(0)))&&!(t.type==="element"&&(t.tagName==="meta"||t.tagName==="link"||t.tagName==="script"||t.tagName==="style"||t.tagName==="template"))}function C1(e,t,n){const r=Dp(n,t),o=$e(e,-1,!0);return n&&r&&r.type==="element"&&r.tagName==="colgroup"&&cl(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="col")}function S1(e,t,n){const r=Dp(n,t),o=$e(e,-1);return n&&r&&r.type==="element"&&(r.tagName==="thead"||r.tagName==="tbody")&&cl(r,n.children.indexOf(r),n)?!1:!!(o&&o.type==="element"&&o.tagName==="tr")}const So={name:[[`
|
|
22
|
-
\f\r &/=>`.split(""),`
|
|
23
|
-
\f\r "&'/=>\``.split("")],[`\0
|
|
24
|
-
\f\r "&'/<=>`.split(""),`\0
|
|
25
|
-
\f\r "&'/<=>\``.split("")]],unquoted:[[`
|
|
26
|
-
\f\r &>`.split(""),`\0
|
|
27
|
-
\f\r "&'<=>\``.split("")],[`\0
|
|
28
|
-
\f\r "&'<=>\``.split(""),`\0
|
|
29
|
-
\f\r "&'<=>\``.split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]};function x1(e,t,n,r){const o=r.schema,i=o.space==="svg"?!1:r.settings.omitOptionalTags;let s=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=Ip);const c=A1(r,e.properties),u=r.all(o.space==="html"&&e.tagName==="template"?e.content:e);return r.schema=o,u&&(s=!1),(c||!i||!b1(e,t,n))&&(a.push("<",e.tagName,c?" "+c:""),s&&(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),!s&&(!i||!cl(e,t,n))&&a.push("</"+e.tagName+">"),a.join("")}function A1(e,t){const n=[];let r=-1,o;if(t){for(o in t)if(t[o]!==null&&t[o]!==void 0){const i=P1(e,o,t[o]);i&&n.push(i)}}for(;++r<n.length;){const i=e.settings.tightAttributes?n[r].charAt(n[r].length-1):void 0;r!==n.length-1&&i!=='"'&&i!=="'"&&(n[r]+=" ")}return n.join("")}function P1(e,t,n){const r=Lw(e.schema,t),o=e.settings.allowParseErrors&&e.schema.space==="html"?0:1,i=e.settings.allowDangerousCharacters?0:1;let s=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=er(r.attribute,Object.assign({},e.settings.characterReferences,{subset:So.name[o][i]}));return n===!0||(n=Array.isArray(n)?(r.commaSeparated?r1:o1)(n,{padLeft:!e.settings.tightCommaSeparatedLists}):String(n),e.settings.collapseEmptyAttributes&&!n)?l:(e.settings.preferUnquoted&&(a=er(n,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:So.unquoted[o][i]}))),a!==n&&(e.settings.quoteSmart&&su(n,s)>su(n,e.alternative)&&(s=e.alternative),a=s+er(n,Object.assign({},e.settings.characterReferences,{subset:(s==="'"?So.single:So.double)[o][i],attribute:!0}))+s),l+(a&&"="+a))}const R1=["<","&"];function Vp(e,t,n,r){return n&&n.type==="element"&&(n.tagName==="script"||n.tagName==="style")?e.value:er(e.value,Object.assign({},r.settings.characterReferences,{subset:R1}))}function k1(e,t,n,r){return r.settings.allowDangerousHtml?e.value:Vp(e,t,n,r)}function L1(e,t,n,r){return r.all(e)}const O1=Dw("type",{invalid:I1,unknown:N1,handlers:{comment:t1,doctype:n1,element:x1,raw:k1,root:L1,text:Vp}});function I1(e){throw new Error("Expected node, not `"+e+"`")}function N1(e){const t=e;throw new Error("Cannot compile unknown node `"+t.type+"`")}const D1={},$1={},M1=[];function V1(e,t){const n=D1,r=n.quote||'"',o=r==='"'?"'":'"';if(r!=='"'&&r!=="'")throw new Error("Invalid quote `"+r+"`, expected `'` or `\"`");return{one:H1,all:F1,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||Cw,characterReferences:n.characterReferences||$1,closeSelfClosing:n.closeSelfClosing||!1,closeEmptyElements:n.closeEmptyElements||!1},schema:n.space==="svg"?Ip:Nw,quote:r,alternative:o}.one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)}function H1(e,t,n){return O1(e,t,n,this)}function F1(e){const t=[],n=e&&e.children||M1;let r=-1;for(;++r<n.length;)t[r]=this.one(n[r],r,e);return t.join("")}function zi(e,t=!1){var i;const n=e.split(/(\r?\n)/g);let r=0;const o=[];for(let s=0;s<n.length;s+=2){const a=t?n[s]+(n[s+1]||""):n[s];o.push([a,r]),r+=n[s].length,r+=((i=n[s+1])==null?void 0:i.length)||0}return o}function ul(e){return!e||["plaintext","txt","text","plain"].includes(e)}function Hp(e){return e==="ansi"||ul(e)}function fl(e){return e==="none"}function Fp(e){return fl(e)}function Bp(e,t){var n;if(!t)return e;e.properties||(e.properties={}),(n=e.properties).class||(n.class=[]),typeof e.properties.class=="string"&&(e.properties.class=e.properties.class.split(/\s+/g)),Array.isArray(e.properties.class)||(e.properties.class=[]);const r=Array.isArray(t)?t:t.split(/\s+/g);for(const o of r)o&&!e.properties.class.includes(o)&&e.properties.class.push(o);return e}function B1(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 j1(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 i=n.filter(s=>o.offset<s&&s<o.offset+o.content.length).map(s=>s-o.offset).sort((s,a)=>s-a);return i.length?B1(o,i):o})):e}async function jp(e){return Promise.resolve(typeof e=="function"?e():e).then(t=>t.default||t)}function yi(e,t){const n=typeof e=="string"?{}:{...e.colorReplacements},r=typeof e=="string"?e:e.name;for(const[o,i]of Object.entries((t==null?void 0:t.colorReplacements)||{}))typeof i=="string"?n[o]=i:o===r&&Object.assign(n,i);return n}function Tn(e,t){return e&&((t==null?void 0:t[e==null?void 0:e.toLowerCase()])||e)}function Up(e){const t={};return e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle&&(e.fontStyle&Dt.Italic&&(t["font-style"]="italic"),e.fontStyle&Dt.Bold&&(t["font-weight"]="bold"),e.fontStyle&Dt.Underline&&(t["text-decoration"]="underline")),t}function U1(e){return typeof e=="string"?e:Object.entries(e).map(([t,n])=>`${t}:${n}`).join(";")}function W1(e){const t=zi(e,!0).map(([o])=>o);function n(o){if(o===e.length)return{line:t.length-1,character:t[t.length-1].length};let i=o,s=0;for(const a of t){if(i<a.length)break;i-=a.length,s++}return{line:s,character:i}}function r(o,i){let s=0;for(let a=0;a<o;a++)s+=t[a].length;return s+=i,s}return{lines:t,indexToPos:n,posToIndex:r}}class He extends Error{constructor(t){super(t),this.name="ShikiError"}}function G1(){const e=new WeakMap;function t(n){if(!e.has(n.meta)){let r=function(s){if(typeof s=="number"){if(s<0||s>n.source.length)throw new He(`Invalid decoration offset: ${s}. Code length: ${n.source.length}`);return{...o.indexToPos(s),offset:s}}else{const a=o.lines[s.line];if(a===void 0)throw new He(`Invalid decoration position ${JSON.stringify(s)}. Lines length: ${o.lines.length}`);if(s.character<0||s.character>a.length)throw new He(`Invalid decoration position ${JSON.stringify(s)}. Line ${s.line} length: ${a.length}`);return{...s,offset:o.posToIndex(s.line,s.character)}}};const o=W1(n.source),i=(n.options.decorations||[]).map(s=>({...s,start:r(s.start),end:r(s.end)}));z1(i),e.set(n.meta,{decorations:i,converter:o,source:n.source})}return e.get(n.meta)}return{name:"shiki:decorations",tokens(n){var s;if(!((s=this.options.decorations)!=null&&s.length))return;const o=t(this).decorations.flatMap(a=>[a.start.offset,a.end.offset]);return j1(n,o)},code(n){var u;if(!((u=this.options.decorations)!=null&&u.length))return;const r=t(this),o=Array.from(n.children).filter(f=>f.type==="element"&&f.tagName==="span");if(o.length!==r.converter.lines.length)throw new He(`Number of lines in code element (${o.length}) does not match the number of lines in the source (${r.converter.lines.length}). Failed to apply decorations.`);function i(f,d,p,h){const m=o[f];let y="",b=-1,E=-1;if(d===0&&(b=0),p===0&&(E=0),p===Number.POSITIVE_INFINITY&&(E=m.children.length),b===-1||E===-1)for(let w=0;w<m.children.length;w++)y+=Wp(m.children[w]),b===-1&&y.length===d&&(b=w+1),E===-1&&y.length===p&&(E=w+1);if(b===-1)throw new He(`Failed to find start index for decoration ${JSON.stringify(h.start)}`);if(E===-1)throw new He(`Failed to find end index for decoration ${JSON.stringify(h.end)}`);const g=m.children.slice(b,E);if(!h.alwaysWrap&&g.length===m.children.length)a(m,h,"line");else if(!h.alwaysWrap&&g.length===1&&g[0].type==="element")a(g[0],h,"token");else{const w={type:"element",tagName:"span",properties:{},children:g};a(w,h,"wrapper"),m.children.splice(b,g.length,w)}}function s(f,d){o[f]=a(o[f],d,"line")}function a(f,d,p){var y;const h=d.properties||{},m=d.transform||(b=>b);return f.tagName=d.tagName||"span",f.properties={...f.properties,...h,class:f.properties.class},(y=d.properties)!=null&&y.class&&Bp(f,d.properties.class),f=m(f,p)||f,f}const l=[],c=r.decorations.sort((f,d)=>d.start.offset-f.start.offset);for(const f of c){const{start:d,end:p}=f;if(d.line===p.line)i(d.line,d.character,p.character,f);else if(d.line<p.line){i(d.line,d.character,Number.POSITIVE_INFINITY,f);for(let h=d.line+1;h<p.line;h++)l.unshift(()=>s(h,f));i(p.line,0,p.character,f)}}l.forEach(f=>f())}}}function z1(e){for(let t=0;t<e.length;t++){const n=e[t];if(n.start.offset>n.end.offset)throw new He(`Invalid decoration range: ${JSON.stringify(n.start)} - ${JSON.stringify(n.end)}`);for(let r=t+1;r<e.length;r++){const o=e[r],i=n.start.offset<o.start.offset&&o.start.offset<n.end.offset,s=n.start.offset<o.end.offset&&o.end.offset<n.end.offset,a=o.start.offset<n.start.offset&&n.start.offset<o.end.offset,l=o.start.offset<n.end.offset&&n.end.offset<o.end.offset;if(i||s||a||l){if(s&&s||a&&l)continue;throw new He(`Decorations ${JSON.stringify(n.start)} and ${JSON.stringify(o.start)} intersect.`)}}}}function Wp(e){return e.type==="text"?e.value:e.type==="element"?e.children.map(Wp).join(""):""}const q1=[G1()];function vi(e){return[...e.transformers||[],...q1]}class qi{constructor(t,n,r){this._stack=t,this.lang=n,this.theme=r}static initial(t,n){return new qi(Cp,t,n)}get scopes(){return K1(this._stack)}toJSON(){return{lang:this.lang,theme:this.theme,scopes:this.scopes}}}function K1(e){const t=[],n=new Set;function r(o){var s;if(n.has(o))return;n.add(o);const i=(s=o==null?void 0:o.nameScopesList)==null?void 0:s.scopeName;i&&t.push(i),o.parent&&r(o.parent)}return r(e),t}function J1(e){if(!(e instanceof qi))throw new He("Invalid grammar state");return e._stack}var Cn=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],Es={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",9:"strikethrough"};function X1(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 uu(e,t){let n=1;const r=e[t+n++];let o;if(r==="2"){const i=[e[t+n++],e[t+n++],e[t+n]].map(s=>Number.parseInt(s));i.length===3&&!i.some(s=>Number.isNaN(s))&&(o={type:"rgb",rgb:i})}else if(r==="5"){const i=Number.parseInt(e[t+n]);Number.isNaN(i)||(o={type:"table",index:Number(i)})}return[n,o]}function Y1(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)Es[o]&&t.push({type:"setDecoration",value:Es[o]});else if(o<=29){const i=Es[o-20];i&&t.push({type:"resetDecoration",value:i})}else if(o<=37)t.push({type:"setForegroundColor",value:{type:"named",name:Cn[o-30]}});else if(o===38){const[i,s]=uu(e,n);s&&t.push({type:"setForegroundColor",value:s}),n+=i}else if(o===39)t.push({type:"resetForegroundColor"});else if(o<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:Cn[o-40]}});else if(o===48){const[i,s]=uu(e,n);s&&t.push({type:"setBackgroundColor",value:s}),n+=i}else o===49?t.push({type:"resetBackgroundColor"}):o>=90&&o<=97?t.push({type:"setForegroundColor",value:{type:"named",name:Cn[o-90+8]}}):o>=100&&o<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:Cn[o-100+8]}})}return t}function Q1(){let e=null,t=null,n=new Set;return{parse(r){const o=[];let i=0;do{const s=X1(r,i),a=s.sequence?r.substring(i,s.startPosition):r.substring(i);if(a.length>0&&o.push({value:a,foreground:e,background:t,decorations:new Set(n)}),s.sequence){const l=Y1(s.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)}i=s.position}while(i<r.length);return o}}}var Z1={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 eE(e=Z1){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<Cn.length;c++)r.push(t(Cn[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 i(a){return o()[a]}function s(a){switch(a.type){case"named":return t(a.name);case"rgb":return n(a.rgb);case"table":return i(a.index)}}return{value:s}}function tE(e,t,n){const r=yi(e,n),o=zi(t),i=eE(Object.fromEntries(Cn.map(a=>{var l;return[a,(l=e.colors)==null?void 0:l[`terminal.ansi${a[0].toUpperCase()}${a.substring(1)}`]]}))),s=Q1();return o.map(a=>s.parse(a[0]).map(l=>{let c,u;l.decorations.has("reverse")?(c=l.background?i.value(l.background):e.bg,u=l.foreground?i.value(l.foreground):e.fg):(c=l.foreground?i.value(l.foreground):e.fg,u=l.background?i.value(l.background):void 0),c=Tn(c,r),u=Tn(u,r),l.decorations.has("dim")&&(c=nE(c));let f=Dt.None;return l.decorations.has("bold")&&(f|=Dt.Bold),l.decorations.has("italic")&&(f|=Dt.Italic),l.decorations.has("underline")&&(f|=Dt.Underline),{content:l.value,offset:a[1],color:c,bgColor:u,fontStyle:f}}))}function nE(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 dl(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(ul(r)||fl(o))return zi(t).map(l=>[{content:l[0],offset:l[1]}]);const{theme:i,colorMap:s}=e.setTheme(o);if(r==="ansi")return tE(i,t,n);const a=e.getLanguage(r);if(n.grammarState){if(n.grammarState.lang!==a.name)throw new ar(`Grammar state language "${n.grammarState.lang}" does not match highlight language "${a.name}"`);if(n.grammarState.theme!==o)throw new ar(`Grammar state theme "${n.grammarState.theme}" does not match highlight theme "${o}"`)}return oE(t,a,i,s,n)}function rE(e,t,n={}){const{lang:r="text",theme:o=e.getLoadedThemes()[0]}=n;if(ul(r)||fl(o))throw new ar("Plain language does not have grammar state");if(r==="ansi")throw new ar("ANSI language does not have grammar state");const{theme:i,colorMap:s}=e.setTheme(o),a=e.getLanguage(r);return new qi(pl(t,a,i,s,n).stateStack,a.name,i.name)}function oE(e,t,n,r,o){return pl(e,t,n,r,o).tokens}function pl(e,t,n,r,o){const i=yi(n,o),{tokenizeMaxLineLength:s=0,tokenizeTimeLimit:a=500}=o,l=zi(e);let c=o.grammarState?J1(o.grammarState):o.grammarContextCode!=null?pl(o.grammarContextCode,t,n,r,{...o,grammarState:void 0,grammarContextCode:void 0}).stateStack:Cp,u=[];const f=[];for(let d=0,p=l.length;d<p;d++){const[h,m]=l[d];if(h===""){u=[],f.push([]);continue}if(s>0&&h.length>=s){u=[],f.push([{content:h,offset:m,color:"",fontStyle:0}]);continue}let y,b,E;o.includeExplanation&&(y=t.tokenizeLine(h,c),b=y.tokens,E=0);const g=t.tokenizeLine2(h,c,a),w=g.tokens.length/2;for(let C=0;C<w;C++){const P=g.tokens[2*C],D=C+1<w?g.tokens[2*C+2]:h.length;if(P===D)continue;const W=g.tokens[2*C+1],L=Tn(r[lr.getForeground(W)],i),S=lr.getFontStyle(W),O={content:h.substring(P,D),offset:m+P,color:L,fontStyle:S};if(o.includeExplanation){const R=[];if(o.includeExplanation!=="scopeName")for(const A of n.settings){let F;switch(typeof A.scope){case"string":F=A.scope.split(/,/).map(I=>I.trim());break;case"object":F=A.scope;break;default:continue}R.push({settings:A,selectors:F.map(I=>I.split(/ /))})}O.explanation=[];let x=0;for(;P+x<D;){const A=b[E],F=h.substring(A.startIndex,A.endIndex);x+=F.length,O.explanation.push({content:F,scopes:o.includeExplanation==="scopeName"?iE(A.scopes):sE(R,A.scopes)}),E+=1}}u.push(O)}f.push(u),u=[],c=g.ruleStack}return{tokens:f,stateStack:c}}function iE(e){return e.map(t=>({scopeName:t}))}function sE(e,t){const n=[];for(let r=0,o=t.length;r<o;r++){const i=t[r];n[r]={scopeName:i,themeMatches:lE(e,i,t.slice(0,r))}}return n}function fu(e,t){return e===t||t.substring(0,e.length)===e&&t[e.length]==="."}function aE(e,t,n){if(!fu(e[e.length-1],t))return!1;let r=e.length-2,o=n.length-1;for(;r>=0&&o>=0;)fu(e[r],n[o])&&(r-=1),o-=1;return r===-1}function lE(e,t,n){const r=[];for(const{selectors:o,settings:i}of e)for(const s of o)if(aE(s,t,n)){r.push(i);break}return r}function Gp(e,t,n){const r=Object.entries(n.themes).filter(s=>s[1]).map(s=>({color:s[0],theme:s[1]})),o=cE(...r.map(s=>dl(e,t,{...n,theme:s.theme})));return o[0].map((s,a)=>s.map((l,c)=>{const u={content:l.content,variants:{},offset:l.offset};return"includeExplanation"in n&&n.includeExplanation&&(u.explanation=l.explanation),o.forEach((f,d)=>{const{content:p,explanation:h,offset:m,...y}=f[a][c];u.variants[r[d].color]=y}),u}))}function cE(...e){const t=e.map(()=>[]),n=e.length;for(let r=0;r<e[0].length;r++){const o=e.map(l=>l[r]),i=t.map(()=>[]);t.forEach((l,c)=>l.push(i[c]));const s=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?(i[c].push(u),s[c]+=1,a[c]=o[c][s[c]]):(i[c].push({...u,content:u.content.slice(0,l)}),a[c]={...u,content:u.content.slice(l),offset:u.offset+l})}}}return t}function bi(e,t,n){let r,o,i,s,a;if("themes"in n){const{defaultColor:l="light",cssVariablePrefix:c="--shiki-"}=n,u=Object.entries(n.themes).filter(m=>m[1]).map(m=>({color:m[0],theme:m[1]})).sort((m,y)=>m.color===l?-1:y.color===l?1:0);if(u.length===0)throw new He("`themes` option must not be empty");const f=Gp(e,t,n);if(l&&!u.find(m=>m.color===l))throw new He(`\`themes\` option must contain the defaultColor key \`${l}\``);const d=u.map(m=>e.getTheme(m.theme)),p=u.map(m=>m.color);i=f.map(m=>m.map(y=>uE(y,p,c,l)));const h=u.map(m=>yi(m.theme,n));o=u.map((m,y)=>(y===0&&l?"":`${c+m.color}:`)+(Tn(d[y].fg,h[y])||"inherit")).join(";"),r=u.map((m,y)=>(y===0&&l?"":`${c+m.color}-bg:`)+(Tn(d[y].bg,h[y])||"inherit")).join(";"),s=`shiki-themes ${d.map(m=>m.name).join(" ")}`,a=l?void 0:[o,r].join(";")}else if("theme"in n){const l=yi(n.theme,n);i=dl(e,t,n);const c=e.getTheme(n.theme);r=Tn(c.bg,l),o=Tn(c.fg,l),s=c.name}else throw new He("Invalid options, either `theme` or `themes` must be provided");return{tokens:i,fg:o,bg:r,themeName:s,rootStyle:a}}function uE(e,t,n,r){const o={content:e.content,explanation:e.explanation,offset:e.offset},i=t.map(l=>Up(e.variants[l])),s=new Set(i.flatMap(l=>Object.keys(l))),a={};return i.forEach((l,c)=>{for(const u of s){const f=l[u]||"inherit";if(c===0&&r)a[u]=f;else{const d=u==="color"?"":u==="background-color"?"-bg":`-${u}`,p=n+t[c]+(u==="color"?"":d);a[p]=f}}}),o.htmlStyle=a,o}function wi(e,t,n,r={meta:{},options:n,codeToHast:(o,i)=>wi(e,o,i),codeToTokens:(o,i)=>bi(e,o,i)}){var d,p;let o=t;for(const h of vi(n))o=((d=h.preprocess)==null?void 0:d.call(r,o,n))||o;let{tokens:i,fg:s,bg:a,themeName:l,rootStyle:c}=bi(e,o,n);const{mergeWhitespaces:u=!0}=n;u===!0?i=dE(i):u==="never"&&(i=pE(i));const f={...r,get source(){return o}};for(const h of vi(n))i=((p=h.tokens)==null?void 0:p.call(f,i))||i;return fE(i,{...n,fg:s,bg:a,themeName:l,rootStyle:c},f)}function fE(e,t,n){var p,h,m;const r=vi(t),o=[],i={type:"root",children:[]},{structure:s="classic",tabindex:a="0"}=t;let l={type:"element",tagName:"pre",properties:{class:`shiki ${t.themeName||""}`,style:t.rootStyle||`background-color:${t.bg};color:${t.fg}`,...a!==!1&&a!=null?{tabindex:a.toString()}:{},...Object.fromEntries(Array.from(Object.entries(t.meta||{})).filter(([y])=>!y.startsWith("_")))},children:[]},c={type:"element",tagName:"code",properties:{},children:o};const u=[],f={...n,structure:s,addClassToHast:Bp,get source(){return n.source},get tokens(){return e},get options(){return t},get root(){return i},get pre(){return l},get code(){return c},get lines(){return u}};if(e.forEach((y,b)=>{var w,C;b&&(s==="inline"?i.children.push({type:"element",tagName:"br",properties:{},children:[]}):s==="classic"&&o.push({type:"text",value:`
|
|
30
|
-
`}));let E={type:"element",tagName:"span",properties:{class:"line"},children:[]},g=0;for(const P of y){let D={type:"element",tagName:"span",properties:{...P.htmlAttrs},children:[{type:"text",value:P.content}]};P.htmlStyle;const W=U1(P.htmlStyle||Up(P));W&&(D.properties.style=W);for(const L of r)D=((w=L==null?void 0:L.span)==null?void 0:w.call(f,D,b+1,g,E,P))||D;s==="inline"?i.children.push(D):s==="classic"&&E.children.push(D),g+=P.content.length}if(s==="classic"){for(const P of r)E=((C=P==null?void 0:P.line)==null?void 0:C.call(f,E,b+1))||E;u.push(E),o.push(E)}}),s==="classic"){for(const y of r)c=((p=y==null?void 0:y.code)==null?void 0:p.call(f,c))||c;l.children.push(c);for(const y of r)l=((h=y==null?void 0:y.pre)==null?void 0:h.call(f,l))||l;i.children.push(l)}let d=i;for(const y of r)d=((m=y==null?void 0:y.root)==null?void 0:m.call(f,d))||d;return d}function dE(e){return e.map(t=>{const n=[];let r="",o=0;return t.forEach((i,s)=>{const l=!(i.fontStyle&&i.fontStyle&Dt.Underline);l&&i.content.match(/^\s+$/)&&t[s+1]?(o||(o=i.offset),r+=i.content):r?(l?n.push({...i,offset:o,content:r+i.content}):n.push({content:r,offset:o},i),o=0,r=""):n.push(i)}),n})}function pE(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,i,s]=r;if(!o&&!s)return n;const a=[{...n,offset:n.offset+o.length,content:i}];return o&&a.unshift({content:o,offset:n.offset}),s&&a.push({content:s,offset:n.offset+o.length+i.length}),a}))}function hE(e,t,n){var i;const r={meta:{},options:n,codeToHast:(s,a)=>wi(e,s,a),codeToTokens:(s,a)=>bi(e,s,a)};let o=V1(wi(e,t,n,r));for(const s of vi(n))o=((i=s.postprocess)==null?void 0:i.call(r,o,n))||o;return o}const du={light:"#333333",dark:"#bbbbbb"},pu={light:"#fffffe",dark:"#1e1e1e"},hu="__shiki_resolved";function hl(e){var a,l,c,u,f;if(e!=null&&e[hu])return e;const t={...e};t.tokenColors&&!t.settings&&(t.settings=t.tokenColors,delete t.tokenColors),t.type||(t.type="dark"),t.colorReplacements={...t.colorReplacements},t.settings||(t.settings=[]);let{bg:n,fg:r}=t;if(!n||!r){const d=t.settings?t.settings.find(p=>!p.name&&!p.scope):void 0;(a=d==null?void 0:d.settings)!=null&&a.foreground&&(r=d.settings.foreground),(l=d==null?void 0:d.settings)!=null&&l.background&&(n=d.settings.background),!r&&((c=t==null?void 0:t.colors)!=null&&c["editor.foreground"])&&(r=t.colors["editor.foreground"]),!n&&((u=t==null?void 0:t.colors)!=null&&u["editor.background"])&&(n=t.colors["editor.background"]),r||(r=t.type==="light"?du.light:du.dark),n||(n=t.type==="light"?pu.light:pu.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 i=new Map;function s(d){var h;if(i.has(d))return i.get(d);o+=1;const p=`#${o.toString(16).padStart(8,"0").toLowerCase()}`;return(h=t.colorReplacements)!=null&&h[`#${p}`]?s(d):(i.set(d,p),p)}t.settings=t.settings.map(d=>{var y,b;const p=((y=d.settings)==null?void 0:y.foreground)&&!d.settings.foreground.startsWith("#"),h=((b=d.settings)==null?void 0:b.background)&&!d.settings.background.startsWith("#");if(!p&&!h)return d;const m={...d,settings:{...d.settings}};if(p){const E=s(d.settings.foreground);t.colorReplacements[E]=d.settings.foreground,m.settings.foreground=E}if(h){const E=s(d.settings.background);t.colorReplacements[E]=d.settings.background,m.settings.background=E}return m});for(const d of Object.keys(t.colors||{}))if((d==="editor.foreground"||d==="editor.background"||d.startsWith("terminal.ansi"))&&!((f=t.colors[d])!=null&&f.startsWith("#"))){const p=s(t.colors[d]);t.colorReplacements[p]=t.colors[d],t.colors[d]=p}return Object.defineProperty(t,hu,{enumerable:!1,writable:!1,value:!0}),t}async function zp(e){return Array.from(new Set((await Promise.all(e.filter(t=>!Hp(t)).map(async t=>await jp(t).then(n=>Array.isArray(n)?n:[n])))).flat()))}async function qp(e){return(await Promise.all(e.map(async n=>Fp(n)?null:hl(await jp(n))))).filter(n=>!!n)}var mE=Object.defineProperty,gE=(e,t,n)=>t in e?mE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,gn=(e,t,n)=>(gE(e,typeof t!="symbol"?t+"":t,n),n);class _E extends Tw{constructor(t,n,r,o={}){super(t),this._resolver=t,this._themes=n,this._langs=r,this._alias=o,gn(this,"_resolvedThemes",new Map),gn(this,"_resolvedGrammars",new Map),gn(this,"_langMap",new Map),gn(this,"_langGraph",new Map),gn(this,"_textmateThemeCache",new WeakMap),gn(this,"_loadedThemesCache",null),gn(this,"_loadedLanguagesCache",null),this._themes.map(i=>this.loadTheme(i)),this.loadLanguages(this._langs)}getTheme(t){return typeof t=="string"?this._resolvedThemes.get(t):this.loadTheme(t)}loadTheme(t){const n=hl(t);return n.name&&(this._resolvedThemes.set(n.name,n),this._loadedThemesCache=null),n}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(t){let n=this._textmateThemeCache.get(t);n||(n=pi.createFromRawTheme(t),this._textmateThemeCache.set(t,n)),this._syncRegistry.setTheme(n)}getGrammar(t){if(this._alias[t]){const n=new Set([t]);for(;this._alias[t];){if(t=this._alias[t],n.has(t))throw new He(`Circular alias \`${Array.from(n).join(" -> ")} -> ${t}\``);n.add(t)}}return this._resolvedGrammars.get(t)}loadLanguage(t){var i,s,a,l;if(this.getGrammar(t.name))return;const n=new Set([...this._langMap.values()].filter(c=>{var u;return(u=c.embeddedLangsLazy)==null?void 0:u.includes(t.name)}));this._resolver.addLanguage(t);const r={balancedBracketSelectors:t.balancedBracketSelectors||["*"],unbalancedBracketSelectors:t.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(t.scopeName,t);const o=this.loadGrammarWithConfiguration(t.scopeName,1,r);if(o.name=t.name,this._resolvedGrammars.set(t.name,o),t.aliases&&t.aliases.forEach(c=>{this._alias[c]=t.name}),this._loadedLanguagesCache=null,n.size)for(const c of n)this._resolvedGrammars.delete(c.name),this._loadedLanguagesCache=null,(s=(i=this._syncRegistry)==null?void 0:i._injectionGrammars)==null||s.delete(c.scopeName),(l=(a=this._syncRegistry)==null?void 0:a._grammars)==null||l.delete(c.scopeName),this.loadLanguage(this._langMap.get(c.name))}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(t){for(const o of t)this.resolveEmbeddedLanguages(o);const n=Array.from(this._langGraph.entries()),r=n.filter(([o,i])=>!i);if(r.length){const o=n.filter(([i,s])=>{var a;return s&&((a=s.embeddedLangs)==null?void 0:a.some(l=>r.map(([c])=>c).includes(l)))}).filter(i=>!r.includes(i));throw new He(`Missing languages ${r.map(([i])=>`\`${i}\``).join(", ")}, required by ${o.map(([i])=>`\`${i}\``).join(", ")}`)}for(const[o,i]of n)this._resolver.addLanguage(i);for(const[o,i]of n)this.loadLanguage(i)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(t){if(this._langMap.set(t.name,t),this._langGraph.set(t.name,t),t.embeddedLangs)for(const n of t.embeddedLangs)this._langGraph.set(n,this._langMap.get(n))}}var yE=Object.defineProperty,vE=(e,t,n)=>t in e?yE(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xo=(e,t,n)=>(vE(e,typeof t!="symbol"?t+"":t,n),n);class bE{constructor(t,n){xo(this,"_langs",new Map),xo(this,"_scopeToLang",new Map),xo(this,"_injections",new Map),xo(this,"_onigLib"),this._onigLib={createOnigScanner:r=>t.createScanner(r),createOnigString:r=>t.createString(r)},n.forEach(r=>this.addLanguage(r))}get onigLib(){return this._onigLib}getLangRegistration(t){return this._langs.get(t)}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 i=n.slice(0,o).join(".");r=[...r,...this._injections.get(i)||[]]}return r}}let _r=0;function wE(e){_r+=1,e.warnings!==!1&&_r>=10&&_r%10===0&&console.warn(`[Shiki] ${_r} instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call \`highlighter.dispose()\` to release unused instances.`);let t=!1;if(!e.engine)throw new He("`engine` option is required for synchronous mode");const n=(e.langs||[]).flat(1),r=(e.themes||[]).flat(1).map(hl),o=new bE(e.engine,n),i=new _E(o,r,n,e.langAlias);let s;function a(E){y();const g=i.getGrammar(typeof E=="string"?E:E.name);if(!g)throw new He(`Language \`${E}\` not found, you may need to load it first`);return g}function l(E){if(E==="none")return{bg:"",fg:"",name:"none",settings:[],type:"dark"};y();const g=i.getTheme(E);if(!g)throw new He(`Theme \`${E}\` not found, you may need to load it first`);return g}function c(E){y();const g=l(E);s!==E&&(i.setTheme(g),s=E);const w=i.getColorMap();return{theme:g,colorMap:w}}function u(){return y(),i.getLoadedThemes()}function f(){return y(),i.getLoadedLanguages()}function d(...E){y(),i.loadLanguages(E.flat(1))}async function p(...E){return d(await zp(E))}function h(...E){y();for(const g of E.flat(1))i.loadTheme(g)}async function m(...E){return y(),h(await qp(E))}function y(){if(t)throw new He("Shiki instance has been disposed")}function b(){t||(t=!0,i.dispose(),_r-=1)}return{setTheme:c,getTheme:l,getLanguage:a,getLoadedThemes:u,getLoadedLanguages:f,loadLanguage:p,loadLanguageSync:d,loadTheme:m,loadThemeSync:h,dispose:b,[Symbol.dispose]:b}}async function EE(e={}){e.loadWasm;const[t,n,r]=await Promise.all([qp(e.themes||[]),zp(e.langs||[]),e.engine||lp(e.loadWasm||Mb())]);return wE({...e,loadWasm:void 0,themes:t,langs:n,engine:r})}async function TE(e={}){const t=await EE(e);return{getLastGrammarState:(n,r)=>rE(t,n,r),codeToTokensBase:(n,r)=>dl(t,n,r),codeToTokensWithThemes:(n,r)=>Gp(t,n,r),codeToTokens:(n,r)=>bi(t,n,r),codeToHast:(n,r)=>wi(t,n,r),codeToHtml:(n,r)=>hE(t,n,r),...t,getInternalContext:()=>t}}function CE(e,t,n){let r,o,i;{const a=e;r=a.langs,o=a.themes,i=a.engine}async function s(a){function l(p){if(typeof p=="string"){if(Hp(p))return[];const h=r[p];if(!h)throw new ar(`Language \`${p}\` is not included in this bundle. You may want to load it from external source.`);return h}return p}function c(p){if(Fp(p))return"none";if(typeof p=="string"){const h=o[p];if(!h)throw new ar(`Theme \`${p}\` is not included in this bundle. You may want to load it from external source.`);return h}return p}const u=(a.themes??[]).map(p=>c(p)),f=(a.langs??[]).map(p=>l(p)),d=await TE({engine:i(),...a,themes:u,langs:f});return{...d,loadLanguage(...p){return d.loadLanguage(...p.map(l))},loadTheme(...p){return d.loadTheme(...p.map(c))}}}return s}const SE=CE({langs:vb,themes:wb,engine:()=>lp(_(()=>import("./CG6Dc4jp.js"),[],import.meta.url))}),xE=e=>SE(e);let AE;const yr=[];function PE(e){if(yr.push(e),!(typeof window>"u"))return window.__NUXT_DEVTOOLS__&&yr.forEach(t=>t(window.__NUXT_DEVTOOLS__)),Object.defineProperty(window,"__NUXT_DEVTOOLS__",{set(t){t&&yr.forEach(n=>n(t))},get(){return AE.value},configurable:!0}),()=>{yr.splice(yr.indexOf(e),1)}}function RE(e){return Pi()?(Mu(e),!0):!1}function ml(e){return typeof e=="function"?e():se(e)}const kE=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const LE=e=>typeof e<"u",OE=Object.prototype.toString,IE=e=>OE.call(e)==="[object Object]",NE=()=>{};function DE(e,t){function n(...r){return new Promise((o,i)=>{Promise.resolve(e(()=>t.apply(this,r),{fn:t,thisArg:this,args:r})).then(o).catch(i)})}return n}const Kp=e=>e();function $E(e=Kp){const t=ae(!0);function n(){t.value=!1}function r(){t.value=!0}const o=(...i)=>{t.value&&e(...i)};return{isActive:La(t),pause:n,resume:r,eventFilter:o}}function ME(e){return fr()}function VE(e,t,n={}){const{eventFilter:r=Kp,...o}=n;return pt(e,DE(r,t),o)}function HE(e,t,n={}){const{eventFilter:r,...o}=n,{eventFilter:i,pause:s,resume:a,isActive:l}=$E(r);return{stop:VE(e,t,{...o,eventFilter:i}),pause:s,resume:a,isActive:l}}function FE(e,t=!0,n){ME()?Ii(e,n):t?e():Ht(e)}function BE(e={}){let t=0;const n=ae([]);function r(...s){const a=En({key:t++,args:s,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(...s){return e.singleton&&n.value.length>0?n.value[0].promise:r(...s)}const i=Pe((s,{slots:a})=>{const l=()=>n.value.map(c=>{var u;return rr(me,{key:c.key},(u=a.default)==null?void 0:u.call(a,c))});return e.transition?()=>rr(Kg,e.transition,l):l});return i.start=o,i}const _a=kE?window:void 0;function jE(e){var t;const n=ml(e);return(t=n==null?void 0:n.$el)!=null?t:n}function mu(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=_a):[t,n,r,o]=e,!t)return NE;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},a=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),l=pt(()=>[jE(t),ml(o)],([u,f])=>{if(s(),!u)return;const d=IE(f)?{...f}:f;i.push(...n.flatMap(p=>r.map(h=>a(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return RE(c),c}function UE(e){return JSON.parse(JSON.stringify(e))}const Ao=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},Po="__vueuse_ssr_handlers__",WE=GE();function GE(){return Po in Ao||(Ao[Po]=Ao[Po]||{}),Ao[Po]}function zE(e,t){return WE[e]||t}function qE(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 KE={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()}},gu="vueuse-storage";function JE(e,t,n,r={}){var o;const{flush:i="pre",deep:s=!0,listenToStorageChanges:a=!0,writeDefaults:l=!0,mergeDefaults:c=!1,shallow:u,window:f=_a,eventFilter:d,onError:p=S=>{console.error(S)},initOnMounted:h}=r,m=(u?As:ae)(t);if(!n)try{n=zE("getDefaultStorage",()=>{var S;return(S=_a)==null?void 0:S.localStorage})()}catch(S){p(S)}if(!n)return m;const y=ml(t),b=qE(y),E=(o=r.serializer)!=null?o:KE[b],{pause:g,resume:w}=HE(m,()=>P(m.value),{flush:i,deep:s,eventFilter:d});f&&a&&FE(()=>{n instanceof Storage?mu(f,"storage",W):mu(f,gu,L),h&&W()}),h||W();function C(S,O){if(f){const R={key:e,oldValue:S,newValue:O,storageArea:n};f.dispatchEvent(n instanceof Storage?new StorageEvent("storage",R):new CustomEvent(gu,{detail:R}))}}function P(S){try{const O=n.getItem(e);if(S==null)C(O,null),n.removeItem(e);else{const R=E.write(S);O!==R&&(n.setItem(e,R),C(O,R))}}catch(O){p(O)}}function D(S){const O=S?S.newValue:n.getItem(e);if(O==null)return l&&y!=null&&n.setItem(e,E.write(y)),y;if(!S&&c){const R=E.read(O);return typeof c=="function"?c(R,y):b==="object"&&!Array.isArray(R)?{...y,...R}:R}else return typeof O!="string"?O:E.read(O)}function W(S){if(!(S&&S.storageArea!==n)){if(S&&S.key==null){m.value=y;return}if(!(S&&S.key!==e)){g();try{(S==null?void 0:S.newValue)!==E.write(m.value)&&(m.value=D(S))}catch(O){p(O)}finally{S?Ht(w):w()}}}}function L(S){W(S.detail)}return m}function XE(e,t,n,r={}){var o,i,s;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,p=fr(),h=(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let m=c;m=m||`update:${t.toString()}`;const y=g=>a?typeof a=="function"?a(g):UE(g):g,b=()=>LE(e[t])?y(e[t]):f,E=g=>{d?d(g)&&h(m,g):h(m,g)};if(l){const g=b(),w=ae(g);let C=!1;return pt(()=>e[t],P=>{C||(C=!0,w.value=y(P),Ht(()=>C=!1))}),pt(w,P=>{!C&&(P!==e[t]||u)&&E(P)},{deep:u}),w}else return xe({get(){return b()},set(g){E(g)}})}const Ir=ae([]),Ro=JE("nuxt-link-checker:show-live-inspections",!0),Nr=ae([]),Er=ae(0),bn=ae(""),Bo=ae(null);async function Jp(){ya.value&&(Bo.value=await ya.value("/__link-checker__/debug.json"))}const YE="nuxt-link-checker-rpc",ya=ae(),Xp=ae(),cr=ae(),gl=ae();PE(async e=>{var r,o;ya.value=e.host.app.$fetch;const n=(r=e.host.nuxt.vueApp._instance)==null?void 0:r.appContext.provides.linkChecker;Ir.value=n.linkDb.value,Nr.value=[...n.visibleLinks],gl.value=e.devtools.rpc,Xp.value=e.devtools,bn.value=$_(((o=e.host.getIframe())==null?void 0:o.src)||"").link,cr.value=e.devtools.extendClientRpc(YE,{queueWorking(i){Er.value=i.queueLength,Ir.value=se(n.linkDb),Nr.value=[...n.visibleLinks]},updated(){Ir.value=se(n.linkDb),Nr.value=[...n.visibleLinks]},filter(i){bn.value=i.link}}),cr.value.connected(),Jp()});const Yp=ae();function QE(){return xE({themes:["vitesse-dark","vitesse-light"],langs:["css","javascript","typescript","html","vue","vue-html","bash","diff"]}).then(e=>{Yp.value=e})}function Qp(e,t){return xe(()=>{var r;const n=((r=Xp.value)==null?void 0:r.colorMode)||"light";return Yp.value.codeToHtml(Xh(e),{lang:t||"text",theme:n==="dark"?"vitesse-dark":"vitesse-light"})||""})}const ZE=["innerHTML"],Zp=Pe({__name:"OCodeBlock",props:{code:{},lang:{},lines:{type:Boolean,default:!0},transformRendered:{}},setup(e){const t=e,n=xe(()=>{const r=Qp(t.code,t.lang);return t.transformRendered?t.transformRendered(r.value||""):r.value});return(r,o)=>(j(),Y("pre",{class:Ae(["n-code-block w-full",r.lines?"n-code-block-lines":""]),innerHTML:n.value},null,10,ZE))}}),eT=Pe({__name:"CodeHighlight",props:{code:{},lang:{},link:{}},setup(e){const t=e;function n(o){return o.replace(t.link,`<span class="highlight">${t.link}</span>`)}const r=ae();return(o,i)=>{const s=Zp;return j(),pe(s,ln({ref_key:"elRef",ref:r,code:o.code,lang:o.lang,"transform-rendered":n},o.$attrs),null,16,["code","lang"])}}}),tT={},nT={class:"n-card n-card-base"};function rT(e,t){return j(),Y("div",nT,[Le(e.$slots,"default")])}const _l=ro(tT,[["render",rT]]),eh=BE(),oT={key:0,"text-sm":"",class:"lg:flex w-full gap-5"},iT={class:"flex-shrink"},sT={style:{"min-width":"600px"}},aT={class:"flex space-x-2"},lT={class:"opacity-90 truncate",style:{"max-width":"150px"}},cT={class:""},uT={class:"flex gap-2 w-full"},fT={style:{"min-width":"150px","margin-top":"1px"}},dT={key:0,class:"text-red-800 text-xs flex items-center font-medium dark:text-red-300"},pT={key:1,class:"text-yellow-800 flex items-center text-xs font-medium dark:text-yellow-300"},hT={class:"text-gray-500"},mT={class:"flex-grow"},gT={key:0},_T={op60:""},yT={key:0},vT={key:0,class:"flex gap-2 items-center w-full"},bT={key:1,class:"flex flex-col w-full"},wT={key:0},ET={flex:"",mb1:"","items-center":""},TT=Pe({__name:"LinkInspection",props:{item:{}},setup(e){const t=e;function n(i){var s;(s=gl.value)==null||s.openInEditor(i)}async function r(){await eh.start(t.item)&&await cr.value.applyLinkFixes(t.item.diff,t.item.link,t.item.fix)}async function o(){await cr.value.scrollToLink(t.item.link)}return(i,s)=>{var p;const a=no,l=sp,c=Vt("VTooltip"),u=rl,f=eT,d=_l;return i.item?(j(),Y("div",oT,[M("div",iT,[J(l,{class:"px-2 py-1",onClick:o},{default:oe(()=>[J(a,{icon:"carbon:cursor-2",class:"text-gray-500"})]),_:1})]),M("div",sT,[M("div",aT,[J(c,null,{popper:oe(()=>[ue(Ce(i.item.textContent),1)]),default:oe(()=>[M("div",lT,Ce(i.item.textContent),1)]),_:1}),J(u,{external:"",target:"_blank",to:i.item.link,"font-mono":"",mb3:"",class:"truncate"},{default:oe(()=>[ue(Ce(i.item.link),1)]),_:1},8,["to"])]),M("div",cT,[(j(!0),Y(me,null,It([...i.item.error,...i.item.warning],(h,m)=>(j(),Y("div",{key:m,flex:"~ row gap-2 items-center",mb2:""},[M("div",uT,[M("div",fT,[h.scope==="error"?(j(),Y("div",dT,s[0]||(s[0]=[M("span",{"i-carbon-error":"","mr-1":"","text-xs":""},null,-1),ue(" Error ")]))):(j(),Y("div",pT,s[1]||(s[1]=[M("span",{"i-carbon-warning":"","mr-1":"","text-xs":""},null,-1),ue(" Warning ")]))),M("span",hT,Ce(h.name),1)]),M("div",mT,[M("div",null,Ce(h.message),1),h.tip?(j(),Y("div",gT,[M("span",_T,Ce(h.tip),1)])):Te("",!0),h.fix?(j(),Y("button",{key:1,class:"hover:shadow-lg transition mt-2 items-center gap-2 inline-flex border-green-500/50 border-1 rounded-lg shadow-sm px-3 py-1",onClick:r},[J(a,{icon:"carbon:magic-wand"}),h.fixDescription?(j(),Y("div",yT,Ce(h.fixDescription),1)):Te("",!0)])):Te("",!0)])])]))),128))])]),i.item.passes?(j(),Y("div",vT,s[2]||(s[2]=[M("div",{style:{"flex-basis":"4rem"}},[M("span",{class:"text-green-800 text-xs flex items-center font-medium dark:text-green-300"},[M("span",{"i-carbon-checkmark-outline":"","mr-1":"","text-xs":""}),ue(" Pass ")])],-1)]))):(j(),Y("div",bT,[(p=i.item.sources)!=null&&p.length?Te("",!0):(j(),Y("div",wT,s[3]||(s[3]=[M("div",{class:"text-gray-500"}," No source code found. ",-1)]))),(j(!0),Y(me,null,It(i.item.sources,(h,m)=>(j(),Y("div",{key:m,mb4:""},[M("div",ET,[J(u,{external:"",type:"button",op50:"","text-xs":"","font-mono":"",link:h.filepath,class:"cursor-pointer",onClick:r_(y=>n(h.filepath),["prevent"])},{default:oe(()=>[ue(Ce(h.filepath),1)]),_:2},1032,["link","onClick"])]),(j(!0),Y(me,null,It(h.previews,(y,b)=>(j(),pe(d,{key:b,"items-center":"","justify-between":"","of-hidden":""},{default:oe(()=>[J(f,{link:i.item.link,code:y.code,lang:"vue-html",class:"overflow-auto",style:$t({"--start":Math.max(y.lineNumber-2,1)})},null,8,["link","code","style"])]),_:2},1024))),128))]))),128))]))])):Te("",!0)}}}),CT={"text-sm":"",class:"flex w-full gap-5"},ST={style:{"min-width":"600px"}},xT=Pe({__name:"LinkPassing",props:{item:{}},setup(e){return(t,n)=>{const r=rl;return j(),Y("div",CT,[M("div",ST,[J(r,{external:"",target:"_blank",to:t.item.link,"font-mono":"",mb3:""},{default:oe(()=>[ue(Ce(t.item.link),1)]),_:1},8,["to"])]),n[0]||(n[0]=M("div",{class:"flex gap-2 items-center w-full"},[M("div",{style:{"flex-basis":"4rem"}},[M("span",{class:"text-green-800 text-xs flex items-center font-medium dark:text-green-300"},[M("span",{"i-carbon-checkmark-outline":"","mr-1":"","text-xs":""}),ue(" Pass ")])])],-1))])}}}),AT={flex:"~ gap-3","items-center":""},PT=Pe({__name:"NIconTitle",props:{icon:{},text:{}},setup(e){return(t,n)=>(j(),Y("div",AT,[t.icon?(j(),Y("div",{key:0,class:Ae(t.icon)},null,2)):Te("",!0),Le(t.$slots,"default",{},()=>[M("div",null,Ce(t.text),1)])]))}}),RT=["open"],kT={"text-base":""},LT={key:0,"text-sm":"",op50:""},OT=Pe({__name:"OSectionBlock",props:{icon:{},text:{},description:{},containerClass:{default:""},headerClass:{},collapse:{type:Boolean,default:!0},open:{type:Boolean,default:!0},padding:{type:[Boolean,String],default:!0}},setup(e){const n=XE(e,"open");function r(o){n.value=o.target.open}return(o,i)=>{const s=no,a=PT;return j(),Y(me,null,[M("details",{open:se(n),onToggle:r},[M("summary",{class:Ae(["cursor-pointer select-none n-bg-active hover:bg-active p4 rounded transition-all",o.collapse?"":"pointer-events-none"])},[J(a,{icon:o.icon,text:o.text,"text-xl":"",transition:"",class:Ae([se(n)?"op100":"op60",o.headerClass])},{default:oe(()=>[M("div",null,[M("div",kT,[Le(o.$slots,"text",{},()=>[ue(Ce(o.text),1)],!0)]),o.description||o.$slots.description?(j(),Y("div",LT,[Le(o.$slots,"description",{},()=>[ue(Ce(o.description),1)],!0)])):Te("",!0)]),i[0]||(i[0]=M("div",{class:"flex-auto"},null,-1)),Le(o.$slots,"actions",{},void 0,!0),o.collapse?(j(),pe(s,{key:0,icon:"carbon-chevron-down",class:"chevron","cursor-pointer":"","place-self-start":"","text-base":"",op75:"",transition:"","duration-500":""})):Te("",!0)]),_:3},8,["icon","text","class"])],2),M("div",{class:Ae(["flex flex-col flex-gap2 pb6 pt2",typeof o.padding=="string"?o.padding:o.padding?"px4":""])},[Le(o.$slots,"details",{},void 0,!0),M("div",{class:Ae([o.containerClass,"mt1"])},[Le(o.$slots,"default",{},void 0,!0)],2),Le(o.$slots,"footer",{},void 0,!0)],2)],40,RT),i[1]||(i[1]=M("div",{class:"x-divider"},null,-1))],64)}}}),IT=ro(OT,[["__scopeId","data-v-348c1d92"]]),NT=Pe({__name:"CodeDiff",props:{code:{},lang:{},diff:{}},setup(e){const t=e,n=ae(t.diff.added[0]-2);function r(i){let s=0;const a=new Set;return i.replace(/class="shiki/,'class="shiki diff').replace(/class="line"/g,c=>{s++;const u=t.diff.added.includes(s-1),f=t.diff.removed.includes(s-1);if(u||f)for(let d=s-3;d<s+3;d++)d>=0&&a.add(d);return u?'class="line line-added"':f?'class="line line-removed"':c}).replace(/<code>([\s\S]*)<\/code>/,(c,u)=>`<code>${u.split(`
|
|
31
|
-
`).filter((p,h)=>a.has(h+1)).join(`
|
|
32
|
-
`)}</code>`)}const o=ae();return(i,s)=>{const a=Zp;return j(),pe(a,{ref_key:"elRef",ref:o,code:i.diff.result,lang:i.lang,"transform-rendered":r,style:$t(`--start: ${n.value};`)},null,8,["code","lang","style"])}}}),DT={class:"n-tip n-tip-base"},$T=Pe({__name:"NTip",props:{icon:{}},setup(e){return(t,n)=>{const r=no;return j(),Y("div",DT,[Le(t.$slots,"icon",{},()=>[t.icon?(j(),pe(r,{key:0,icon:t.icon,class:"n-tip-icon"},null,8,["icon"])):Te("",!0)]),M("div",null,[Le(t.$slots,"default")])])}}});function th(e){return Pi()?(Mu(e),!0):!1}function Xr(e){return typeof e=="function"?e():se(e)}const nh=typeof window<"u"&&typeof document<"u";typeof WorkerGlobalScope<"u"&&globalThis instanceof WorkerGlobalScope;const MT=e=>typeof e<"u",VT=e=>e!=null,HT=Object.prototype.toString,FT=e=>HT.call(e)==="[object Object]",jo=()=>{},BT=jT();function jT(){var e,t;return nh&&((e=window==null?void 0:window.navigator)==null?void 0:e.userAgent)&&(/iP(?:ad|hone|od)/.test(window.navigator.userAgent)||((t=window==null?void 0:window.navigator)==null?void 0:t.maxTouchPoints)>2&&/iPad|Macintosh/.test(window==null?void 0:window.navigator.userAgent))}const rh=nh?window:void 0;function Gn(e){var t;const n=Xr(e);return(t=n==null?void 0:n.$el)!=null?t:n}function Ts(...e){let t,n,r,o;if(typeof e[0]=="string"||Array.isArray(e[0])?([n,r,o]=e,t=rh):[t,n,r,o]=e,!t)return jo;Array.isArray(n)||(n=[n]),Array.isArray(r)||(r=[r]);const i=[],s=()=>{i.forEach(u=>u()),i.length=0},a=(u,f,d,p)=>(u.addEventListener(f,d,p),()=>u.removeEventListener(f,d,p)),l=pt(()=>[Gn(t),Xr(o)],([u,f])=>{if(s(),!u)return;const d=FT(f)?{...f}:f;i.push(...n.flatMap(p=>r.map(h=>a(u,p,h,d))))},{immediate:!0,flush:"post"}),c=()=>{l(),s()};return th(c),c}let _u=!1;function UT(e,t,n={}){const{window:r=rh,ignore:o=[],capture:i=!0,detectIframe:s=!1}=n;if(!r)return jo;BT&&!_u&&(_u=!0,Array.from(r.document.body.children).forEach(p=>p.addEventListener("click",jo)),r.document.documentElement.addEventListener("click",jo));let a=!0;const l=p=>Xr(o).some(h=>{if(typeof h=="string")return Array.from(r.document.querySelectorAll(h)).some(m=>m===p.target||p.composedPath().includes(m));{const m=Gn(h);return m&&(p.target===m||p.composedPath().includes(m))}}),c=p=>{const h=Gn(e);if(!(!h||h===p.target||p.composedPath().includes(h))){if(p.detail===0&&(a=!l(p)),!a){a=!0;return}t(p)}};let u=!1;const f=[Ts(r,"click",p=>{u||(u=!0,setTimeout(()=>{u=!1},0),c(p))},{passive:!0,capture:i}),Ts(r,"pointerdown",p=>{const h=Gn(e);a=!l(p)&&!!(h&&!p.composedPath().includes(h))},{passive:!0}),s&&Ts(r,"blur",p=>{setTimeout(()=>{var h;const m=Gn(e);((h=r.document.activeElement)==null?void 0:h.tagName)==="IFRAME"&&!(m!=null&&m.contains(r.document.activeElement))&&t(p)},0)})].filter(Boolean);return()=>f.forEach(p=>p())}function WT(e){return JSON.parse(JSON.stringify(e))}function GT(e,t,n,r={}){var o,i,s;const{clone:a=!1,passive:l=!1,eventName:c,deep:u=!1,defaultValue:f,shouldEmit:d}=r,p=fr(),h=n||(p==null?void 0:p.emit)||((o=p==null?void 0:p.$emit)==null?void 0:o.bind(p))||((s=(i=p==null?void 0:p.proxy)==null?void 0:i.$emit)==null?void 0:s.bind(p==null?void 0:p.proxy));let m=c;m=m||`update:${t.toString()}`;const y=g=>a?typeof a=="function"?a(g):WT(g):g,b=()=>MT(e[t])?y(e[t]):f,E=g=>{d?d(g)&&h(m,g):h(m,g)};if(l){const g=b(),w=ae(g);let C=!1;return pt(()=>e[t],P=>{C||(C=!0,w.value=y(P),Ht(()=>C=!1))}),pt(w,P=>{!C&&(P!==e[t]||u)&&E(P)},{deep:u}),w}else return xe({get(){return b()},set(g){E(g)}})}/*!
|
|
33
|
-
* tabbable 6.2.0
|
|
34
|
-
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
35
|
-
*/var oh=["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])"],Ei=oh.join(","),ih=typeof Element>"u",In=ih?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,Ti=!ih&&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==null?void 0:e.ownerDocument},Ci=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"),i=o===""||o==="true",s=i||n&&t&&e(t.parentNode);return s},zT=function(t){var n,r=t==null||(n=t.getAttribute)===null||n===void 0?void 0:n.call(t,"contenteditable");return r===""||r==="true"},sh=function(t,n,r){if(Ci(t))return[];var o=Array.prototype.slice.apply(t.querySelectorAll(Ei));return n&&In.call(t,Ei)&&o.unshift(t),o=o.filter(r),o},ah=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var s=i.shift();if(!Ci(s,!1))if(s.tagName==="SLOT"){var a=s.assignedElements(),l=a.length?a:s.children,c=e(l,!0,r);r.flatten?o.push.apply(o,c):o.push({scopeParent:s,candidates:c})}else{var u=In.call(s,Ei);u&&r.filter(s)&&(n||!t.includes(s))&&o.push(s);var f=s.shadowRoot||typeof r.getShadowRoot=="function"&&r.getShadowRoot(s),d=!Ci(f,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(s));if(f&&d){var p=e(f===!0?s.children:f.children,!0,r);r.flatten?o.push.apply(o,p):o.push({scopeParent:s,candidates:p})}else i.unshift.apply(i,s.children)}}return o},lh=function(t){return!isNaN(parseInt(t.getAttribute("tabindex"),10))},wn=function(t){if(!t)throw new Error("No node provided");return t.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName)||zT(t))&&!lh(t)?0:t.tabIndex},qT=function(t,n){var r=wn(t);return r<0&&n&&!lh(t)?0:r},KT=function(t,n){return t.tabIndex===n.tabIndex?t.documentOrder-n.documentOrder:t.tabIndex-n.tabIndex},ch=function(t){return t.tagName==="INPUT"},JT=function(t){return ch(t)&&t.type==="hidden"},XT=function(t){var n=t.tagName==="DETAILS"&&Array.prototype.slice.apply(t.children).some(function(r){return r.tagName==="SUMMARY"});return n},YT=function(t,n){for(var r=0;r<t.length;r++)if(t[r].checked&&t[r].form===n)return t[r]},QT=function(t){if(!t.name)return!0;var n=t.form||Ti(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(s){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",s.message),!1}var i=YT(o,t.form);return!i||i===t},ZT=function(t){return ch(t)&&t.type==="radio"},eC=function(t){return ZT(t)&&!QT(t)},tC=function(t){var n,r=t&&Ti(t),o=(n=r)===null||n===void 0?void 0:n.host,i=!1;if(r&&r!==t){var s,a,l;for(i=!!((s=o)!==null&&s!==void 0&&(a=s.ownerDocument)!==null&&a!==void 0&&a.contains(o)||t!=null&&(l=t.ownerDocument)!==null&&l!==void 0&&l.contains(t));!i&&o;){var c,u,f;r=Ti(o),o=(c=r)===null||c===void 0?void 0:c.host,i=!!((u=o)!==null&&u!==void 0&&(f=u.ownerDocument)!==null&&f!==void 0&&f.contains(o))}}return i},yu=function(t){var n=t.getBoundingClientRect(),r=n.width,o=n.height;return r===0&&o===0},nC=function(t,n){var r=n.displayCheck,o=n.getShadowRoot;if(getComputedStyle(t).visibility==="hidden")return!0;var i=In.call(t,"details>summary:first-of-type"),s=i?t.parentElement:t;if(In.call(s,"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=Ti(t);if(l&&!l.shadowRoot&&o(l)===!0)return yu(t);t.assignedSlot?t=t.assignedSlot:!l&&c!==t.ownerDocument?t=c.host:t=l}t=a}if(tC(t))return!t.getClientRects().length;if(r!=="legacy-full")return!0}else if(r==="non-zero-area")return yu(t);return!1},rC=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 In.call(n,"fieldset[disabled] *")?!0:!o.contains(t)}return!0}n=n.parentElement}return!1},Si=function(t,n){return!(n.disabled||Ci(n)||JT(n)||nC(n,t)||XT(n)||rC(n))},va=function(t,n){return!(eC(n)||wn(n)<0||!Si(t,n))},oC=function(t){var n=parseInt(t.getAttribute("tabindex"),10);return!!(isNaN(n)||n>=0)},iC=function e(t){var n=[],r=[];return t.forEach(function(o,i){var s=!!o.scopeParent,a=s?o.scopeParent:o,l=qT(a,s),c=s?e(o.candidates):a;l===0?s?n.push.apply(n,c):n.push(a):r.push({documentOrder:i,tabIndex:l,item:o,isScope:s,content:c})}),r.sort(KT).reduce(function(o,i){return i.isScope?o.push.apply(o,i.content):o.push(i.content),o},[]).concat(n)},sC=function(t,n){n=n||{};var r;return n.getShadowRoot?r=ah([t],n.includeContainer,{filter:va.bind(null,n),flatten:!1,getShadowRoot:n.getShadowRoot,shadowRootFilter:oC}):r=sh(t,n.includeContainer,va.bind(null,n)),iC(r)},aC=function(t,n){n=n||{};var r;return n.getShadowRoot?r=ah([t],n.includeContainer,{filter:Si.bind(null,n),flatten:!0,getShadowRoot:n.getShadowRoot}):r=sh(t,n.includeContainer,Si.bind(null,n)),r},Fn=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return In.call(t,Ei)===!1?!1:va(n,t)},lC=oh.concat("iframe").join(","),Cs=function(t,n){if(n=n||{},!t)throw new Error("No node provided");return In.call(t,lC)===!1?!1:Si(n,t)};/*!
|
|
36
|
-
* focus-trap 7.6.0
|
|
37
|
-
* @license MIT, https://github.com/focus-trap/focus-trap/blob/master/LICENSE
|
|
38
|
-
*/function cC(e,t,n){return(t=fC(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vu(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 bu(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?vu(Object(n),!0).forEach(function(r){cC(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):vu(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function uC(e,t){if(typeof e!="object"||!e)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 fC(e){var t=uC(e,"string");return typeof t=="symbol"?t:t+""}var wu={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()}},dC=function(t){return t.tagName&&t.tagName.toLowerCase()==="input"&&typeof t.select=="function"},pC=function(t){return(t==null?void 0:t.key)==="Escape"||(t==null?void 0:t.key)==="Esc"||(t==null?void 0:t.keyCode)===27},Dr=function(t){return(t==null?void 0:t.key)==="Tab"||(t==null?void 0:t.keyCode)===9},hC=function(t){return Dr(t)&&!t.shiftKey},mC=function(t){return Dr(t)&&t.shiftKey},Eu=function(t){return setTimeout(t,0)},Tu=function(t,n){var r=-1;return t.every(function(o,i){return n(o)?(r=i,!1):!0}),r},vr=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},ko=function(t){return t.target.shadowRoot&&typeof t.composedPath=="function"?t.composedPath()[0]:t.target},gC=[],_C=function(t,n){var r=(n==null?void 0:n.document)||document,o=(n==null?void 0:n.trapStack)||gC,i=bu({returnFocusOnDeactivate:!0,escapeDeactivates:!0,delayInitialFocus:!0,isKeyForward:hC,isKeyBackward:mC},n),s={containers:[],containerGroups:[],tabbableGroups:[],nodeFocusedBeforeActivation:null,mostRecentlyFocusedNode:null,active:!1,paused:!1,delayInitialFocusTimer:void 0,recentNavEvent:void 0},a,l=function(x,A,F){return x&&x[A]!==void 0?x[A]:i[F||A]},c=function(x,A){var F=typeof(A==null?void 0:A.composedPath)=="function"?A.composedPath():void 0;return s.containerGroups.findIndex(function(I){var q=I.container,U=I.tabbableNodes;return q.contains(x)||(F==null?void 0:F.includes(q))||U.find(function(ne){return ne===x})})},u=function(x){var A=i[x];if(typeof A=="function"){for(var F=arguments.length,I=new Array(F>1?F-1:0),q=1;q<F;q++)I[q-1]=arguments[q];A=A.apply(void 0,I)}if(A===!0&&(A=void 0),!A){if(A===void 0||A===!1)return A;throw new Error("`".concat(x,"` was specified but was not a node, or did not return a node"))}var U=A;if(typeof A=="string"&&(U=r.querySelector(A),!U))throw new Error("`".concat(x,"` as selector refers to no known node"));return U},f=function(){var x=u("initialFocus");if(x===!1)return!1;if(x===void 0||!Cs(x,i.tabbableOptions))if(c(r.activeElement)>=0)x=r.activeElement;else{var A=s.tabbableGroups[0],F=A&&A.firstTabbableNode;x=F||u("fallbackFocus")}if(!x)throw new Error("Your focus-trap needs to have at least one focusable element");return x},d=function(){if(s.containerGroups=s.containers.map(function(x){var A=sC(x,i.tabbableOptions),F=aC(x,i.tabbableOptions),I=A.length>0?A[0]:void 0,q=A.length>0?A[A.length-1]:void 0,U=F.find(function(we){return Fn(we)}),ne=F.slice().reverse().find(function(we){return Fn(we)}),Se=!!A.find(function(we){return wn(we)>0});return{container:x,tabbableNodes:A,focusableNodes:F,posTabIndexesFound:Se,firstTabbableNode:I,lastTabbableNode:q,firstDomTabbableNode:U,lastDomTabbableNode:ne,nextTabbableNode:function(Me){var Bt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!0,_t=A.indexOf(Me);return _t<0?Bt?F.slice(F.indexOf(Me)+1).find(function(un){return Fn(un)}):F.slice(0,F.indexOf(Me)).reverse().find(function(un){return Fn(un)}):A[_t+(Bt?1:-1)]}}}),s.tabbableGroups=s.containerGroups.filter(function(x){return x.tabbableNodes.length>0}),s.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(s.containerGroups.find(function(x){return x.posTabIndexesFound})&&s.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.")},p=function(x){var A=x.activeElement;if(A)return A.shadowRoot&&A.shadowRoot.activeElement!==null?p(A.shadowRoot):A},h=function(x){if(x!==!1&&x!==p(document)){if(!x||!x.focus){h(f());return}x.focus({preventScroll:!!i.preventScroll}),s.mostRecentlyFocusedNode=x,dC(x)&&x.select()}},m=function(x){var A=u("setReturnFocus",x);return A||(A===!1?!1:x)},y=function(x){var A=x.target,F=x.event,I=x.isBackward,q=I===void 0?!1:I;A=A||ko(F),d();var U=null;if(s.tabbableGroups.length>0){var ne=c(A,F),Se=ne>=0?s.containerGroups[ne]:void 0;if(ne<0)q?U=s.tabbableGroups[s.tabbableGroups.length-1].lastTabbableNode:U=s.tabbableGroups[0].firstTabbableNode;else if(q){var we=Tu(s.tabbableGroups,function(Ut){var fn=Ut.firstTabbableNode;return A===fn});if(we<0&&(Se.container===A||Cs(A,i.tabbableOptions)&&!Fn(A,i.tabbableOptions)&&!Se.nextTabbableNode(A,!1))&&(we=ne),we>=0){var Me=we===0?s.tabbableGroups.length-1:we-1,Bt=s.tabbableGroups[Me];U=wn(A)>=0?Bt.lastTabbableNode:Bt.lastDomTabbableNode}else Dr(F)||(U=Se.nextTabbableNode(A,!1))}else{var _t=Tu(s.tabbableGroups,function(Ut){var fn=Ut.lastTabbableNode;return A===fn});if(_t<0&&(Se.container===A||Cs(A,i.tabbableOptions)&&!Fn(A,i.tabbableOptions)&&!Se.nextTabbableNode(A))&&(_t=ne),_t>=0){var un=_t===s.tabbableGroups.length-1?0:_t+1,jt=s.tabbableGroups[un];U=wn(A)>=0?jt.firstTabbableNode:jt.firstDomTabbableNode}else Dr(F)||(U=Se.nextTabbableNode(A))}}else U=u("fallbackFocus");return U},b=function(x){var A=ko(x);if(!(c(A,x)>=0)){if(vr(i.clickOutsideDeactivates,x)){a.deactivate({returnFocus:i.returnFocusOnDeactivate});return}vr(i.allowOutsideClick,x)||x.preventDefault()}},E=function(x){var A=ko(x),F=c(A,x)>=0;if(F||A instanceof Document)F&&(s.mostRecentlyFocusedNode=A);else{x.stopImmediatePropagation();var I,q=!0;if(s.mostRecentlyFocusedNode)if(wn(s.mostRecentlyFocusedNode)>0){var U=c(s.mostRecentlyFocusedNode),ne=s.containerGroups[U].tabbableNodes;if(ne.length>0){var Se=ne.findIndex(function(we){return we===s.mostRecentlyFocusedNode});Se>=0&&(i.isKeyForward(s.recentNavEvent)?Se+1<ne.length&&(I=ne[Se+1],q=!1):Se-1>=0&&(I=ne[Se-1],q=!1))}}else s.containerGroups.some(function(we){return we.tabbableNodes.some(function(Me){return wn(Me)>0})})||(q=!1);else q=!1;q&&(I=y({target:s.mostRecentlyFocusedNode,isBackward:i.isKeyBackward(s.recentNavEvent)})),h(I||s.mostRecentlyFocusedNode||f())}s.recentNavEvent=void 0},g=function(x){var A=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;s.recentNavEvent=x;var F=y({event:x,isBackward:A});F&&(Dr(x)&&x.preventDefault(),h(F))},w=function(x){(i.isKeyForward(x)||i.isKeyBackward(x))&&g(x,i.isKeyBackward(x))},C=function(x){pC(x)&&vr(i.escapeDeactivates,x)!==!1&&(x.preventDefault(),a.deactivate())},P=function(x){var A=ko(x);c(A,x)>=0||vr(i.clickOutsideDeactivates,x)||vr(i.allowOutsideClick,x)||(x.preventDefault(),x.stopImmediatePropagation())},D=function(){if(s.active)return wu.activateTrap(o,a),s.delayInitialFocusTimer=i.delayInitialFocus?Eu(function(){h(f())}):h(f()),r.addEventListener("focusin",E,!0),r.addEventListener("mousedown",b,{capture:!0,passive:!1}),r.addEventListener("touchstart",b,{capture:!0,passive:!1}),r.addEventListener("click",P,{capture:!0,passive:!1}),r.addEventListener("keydown",w,{capture:!0,passive:!1}),r.addEventListener("keydown",C),a},W=function(){if(s.active)return r.removeEventListener("focusin",E,!0),r.removeEventListener("mousedown",b,!0),r.removeEventListener("touchstart",b,!0),r.removeEventListener("click",P,!0),r.removeEventListener("keydown",w,!0),r.removeEventListener("keydown",C),a},L=function(x){var A=x.some(function(F){var I=Array.from(F.removedNodes);return I.some(function(q){return q===s.mostRecentlyFocusedNode})});A&&h(f())},S=typeof window<"u"&&"MutationObserver"in window?new MutationObserver(L):void 0,O=function(){S&&(S.disconnect(),s.active&&!s.paused&&s.containers.map(function(x){S.observe(x,{subtree:!0,childList:!0})}))};return a={get active(){return s.active},get paused(){return s.paused},activate:function(x){if(s.active)return this;var A=l(x,"onActivate"),F=l(x,"onPostActivate"),I=l(x,"checkCanFocusTrap");I||d(),s.active=!0,s.paused=!1,s.nodeFocusedBeforeActivation=r.activeElement,A==null||A();var q=function(){I&&d(),D(),O(),F==null||F()};return I?(I(s.containers.concat()).then(q,q),this):(q(),this)},deactivate:function(x){if(!s.active)return this;var A=bu({onDeactivate:i.onDeactivate,onPostDeactivate:i.onPostDeactivate,checkCanReturnFocus:i.checkCanReturnFocus},x);clearTimeout(s.delayInitialFocusTimer),s.delayInitialFocusTimer=void 0,W(),s.active=!1,s.paused=!1,O(),wu.deactivateTrap(o,a);var F=l(A,"onDeactivate"),I=l(A,"onPostDeactivate"),q=l(A,"checkCanReturnFocus"),U=l(A,"returnFocus","returnFocusOnDeactivate");F==null||F();var ne=function(){Eu(function(){U&&h(m(s.nodeFocusedBeforeActivation)),I==null||I()})};return U&&q?(q(m(s.nodeFocusedBeforeActivation)).then(ne,ne),this):(ne(),this)},pause:function(x){if(s.paused||!s.active)return this;var A=l(x,"onPause"),F=l(x,"onPostPause");return s.paused=!0,A==null||A(),W(),O(),F==null||F(),this},unpause:function(x){if(!s.paused||!s.active)return this;var A=l(x,"onUnpause"),F=l(x,"onPostUnpause");return s.paused=!1,A==null||A(),d(),D(),O(),F==null||F(),this},updateContainerElements:function(x){var A=[].concat(x).filter(Boolean);return s.containers=A.map(function(F){return typeof F=="string"?r.querySelector(F):F}),s.active&&d(),O(),this}},a.updateContainerElements(t),a};function yC(e,t={}){let n;const{immediate:r,...o}=t,i=ae(!1),s=ae(!1),a=d=>n&&n.activate(d),l=d=>n&&n.deactivate(d),c=()=>{n&&(n.pause(),s.value=!0)},u=()=>{n&&(n.unpause(),s.value=!1)},f=xe(()=>{const d=Xr(e);return(Array.isArray(d)?d:[d]).map(p=>{const h=Xr(p);return typeof h=="string"?h:Gn(h)}).filter(VT)});return pt(f,d=>{d.length&&(n=_C(d,{...o,onActivate(){i.value=!0,t.onActivate&&t.onActivate()},onDeactivate(){i.value=!1,t.onDeactivate&&t.onDeactivate()}}),r&&a())},{flush:"post"}),th(()=>l()),{hasFocus:i,isPaused:s,activate:a,deactivate:l,pause:c,unpause:u}}const vC={inheritAttrs:!1},bC=Pe({...vC,__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=GT(n,"modelValue",r,{passive:!0}),i=ae(null),s=ae(!1),{activate:a,deactivate:l}=yC(xe(()=>i.value||document.body),{immediate:!1});return Qm(()=>{!s.value&&o.value&&(s.value=!0),o.value&&i.value?Ht(a):l()}),UT(i,()=>{n.modelValue&&n.autoClose&&(o.value=!1,r("close"))},{ignore:["a","button","summary"]}),(c,u)=>{const f=_l;return s.value?(j(),pe(mm,{key:0,to:"body"},[rf(M("div",{class:Ae(["fixed inset-0 z-100 flex items-center justify-center n-transition n-glass-effect",[se(o)?"":"op0 pointer-events-none visibility-none"]]),role:"dialog","aria-modal":"true"},[M("div",{class:Ae(["absolute inset-0 -z-1",[c.dim?"glass-effect":""]])},null,2),J(f,ln(c.$attrs,{ref_key:"card",ref:i,class:"max-h-screen of-auto"}),{default:oe(()=>[Le(c.$slots,"default")]),_:3},16)],2),[[Og,se(o)]])])):Te("",!0)}}}),wC={"my-10":""},EC={flex:"~ col gap-2","w-200":"",p4:"",border:"t base"},TC={flex:"","items-center":"","gap-2":"",mb1:""},CC={"text-sm":"","gap-2":"",flex:"","flex-row":"",mb1:"","justify-end":""},SC={class:"text-green-500"},xC={class:"text-red-500"},AC=["onClick"],PC={flex:"~ col gap-1 items-start",px4:"",py2:""},RC={flex:"~ gap-3",mt2:"","justify-end":""},kC=Pe({__name:"FixActionDialog",setup(e){function t(r){var o;(o=gl.value)==null||o.openInEditor(r)}function n(r,o){o(!1)}return(r,o)=>{const i=NT,s=_l,a=$T,l=sp,c=bC;return j(),pe(se(eh),null,{default:oe(({resolve:u,args:f})=>[M("div",wC,[J(c,{"model-value":!0,style:{"max-height":"80vh"},"onUpdate:modelValue":d=>n("a",u),onClose:d=>n("b",u)},{default:oe(()=>[M("div",EC,[o[3]||(o[3]=M("h2",{"text-xl":"",class:"text-primary"}," Confirm Code Diff ",-1)),(j(!0),Y(me,null,It(f[0].diff,(d,p)=>(j(),Y("div",{key:p},[M("div",TC,[M("div",CC,[M("span",SC,"+"+Ce(d.diff.added.length),1),M("span",xC,"-"+Ce(d.diff.removed.length),1)]),M("button",{type:"button",op50:"","text-xs":"","font-mono":"",onClick:h=>t(d.filepath)},Ce(d.filepath),9,AC)]),(j(),pe(s,{key:p,"items-center":"","justify-between":"","of-hidden":"","max-h-50":"",style:{overflow:"auto"}},{default:oe(()=>[M("div",PC,[J(i,ln({ref_for:!0},d,{lang:"vue-html",class:"overflow-auto"}),null,16)])]),_:2},1024))]))),128)),M("div",RC,[J(a,{n:"sm purple","flex-auto":"",icon:"carbon-chemistry"},{default:oe(()=>o[0]||(o[0]=[ue(" Experimental. ")])),_:1}),J(l,{onClick:d=>u(!1)},{default:oe(()=>o[1]||(o[1]=[ue(" Cancel ")])),_:2},1032,["onClick"]),J(l,{n:"solid",capitalize:"",class:"n-blue",onClick:d=>u(!0)},{default:oe(()=>o[2]||(o[2]=[ue(" Apply Fix ")])),_:2},1032,["onClick"])])])]),_:2},1032,["onUpdate:modelValue","onClose"])])]),_:1})}}}),LC=window.setInterval,OC={class:"relative n-bg-base flex flex-col"},IC={class:"sticky top-0 z-2 px-4 pt-4"},NC={class:"flex justify-between items-start",mb2:""},DC={class:"flex space-x-5"},$C={"text-xl":"",flex:"","items-center":"","gap-2":""},MC={class:"flex items-center space-x-3 text-xl"},VC={class:"n-select-tabs flex flex-inline flex-wrap items-center border n-border-base rounded-lg n-bg-base"},HC={class:"px-5 py-2"},FC={"text-lg":"",flex:"","items-center":""},BC={class:"px-5 py-2"},jC={"text-lg":"",flex:"","items-center":""},UC={class:"px-5 py-2"},WC={"text-lg":"",flex:"","items-center":""},GC={class:"px-5 py-2"},zC={"text-lg":"",flex:"","items-center":""},qC=["value","title"],KC={class:"items-center space-x-3 hidden lg:flex"},JC={class:"opacity-80 text-sm"},XC={class:"opacity-80 text-sm"},YC={href:"https://nuxtseo.com",target:"_blank",class:"flex items-end gap-1.5 font-semibold text-xl dark:text-white font-title"},QC={class:"flex-row flex p4 h-full",style:{"min-height":"calc(100vh - 64px)"}},ZC={class:"mx-auto flex flex-col w-full bg-white dark:bg-black dark:bg-dark-700 bg-light-200"},eS={key:1},tS={key:0,"text-sm":"",flex:"","items-center":"","gap-1":"",mb6:""},nS={key:1,class:""},rS={flex:"","items-center":"",p3:"","gap-3":"","text-sm":""},oS={key:0,mr5:""},iS={key:1,"text-xs":"",flex:"","items-center":"","gap-1":""},sS={key:2,"text-xs":"",flex:"","items-center":"","gap-1":""},aS={key:3,class:"flex items-center gap-1"},lS={key:2},cS={key:2},uS={class:"opacity-80 text-base mb-1"},fS={class:"opacity-80 text-base mb-1"},dS={key:3},pS={class:"opacity-80 text-base mb-1"},hS={class:"px-3 py-2 space-y-5"},mS=["innerHTML"],gS={key:4,class:"h-full max-h-full overflow-hidden"},_S=Pe({__name:"app",async setup(e){let t,n;[t,n]=Im(()=>QE()),await t,n();const r=ae(0),o=LC(()=>{r.value++,r.value>=3&&clearInterval(o)},2e3),i=xe(()=>{const m=Nr.value;let y=[...Ir.value];return bn.value?y=y.filter(b=>b.link===bn.value):y=y.filter(b=>m.includes(b.link)),y.sort((b,E)=>b.fix&&!E.fix?1:-1)}),s=xe(()=>{let m=0;return i.value.map(y=>y.error.length).forEach(y=>{m+=y}),m}),a=xe(()=>{let m=0;return i.value.map(y=>y.warning.length).forEach(y=>{m+=y}),m}),l=xe(()=>Nr.value.length),c=xe(()=>i.value.filter(m=>m.passes).length);async function u(){Ir.value=[],Er.value=0,await cr.value.reset()}async function f(){Ro.value=!Ro.value,await cr.value.toggleLiveInspections(Ro.value)}const d=ae("inspections"),p=ae(!1);async function h(){p.value=!0,Bo.value=null,await u(),await Jp(),setTimeout(()=>{p.value=!1},300)}return(m,y)=>{const b=no,E=nb,g=Vt("VTooltip"),w=rl,C=fb,P=gb,D=TT,W=xT,L=IT;return j(),Y("div",OC,[M("header",IC,[M("div",NC,[M("div",DC,[M("h1",$C,[J(b,{icon:"carbon:cloud-satellite-link",class:"text-blue-300 hidden md:block"}),y[2]||(y[2]=ue(" Link Checker ")),J(E,{class:"hidden md:block text-sm"},{default:oe(()=>{var S,O;return[ue(Ce((O=(S=se(Bo))==null?void 0:S.runtimeConfig)==null?void 0:O.version),1)]}),_:1})])]),M("div",MC,[M("fieldset",VC,[(j(),Y(me,null,It(["inspections","links","debug","docs"],(S,O)=>M("label",{key:O,class:Ae(["relative n-border-base hover:n-bg-active cursor-pointer",[O?"border-l n-border-base ml--1px":"",S===d.value?"n-bg-active":""]])},[S==="inspections"?(j(),Y("div",{key:0,class:Ae([S===d.value?"":"op35"])},[J(g,null,{popper:oe(()=>y[3]||(y[3]=[ue(" Inspections ")])),default:oe(()=>[M("div",HC,[M("h2",FC,[J(b,{icon:"carbon:warning-diamond opacity-50"}),J(E,{class:"text-sm"},{default:oe(()=>[ue(Ce(s.value+a.value),1)]),_:1})])])]),_:1})],2)):Te("",!0),S==="links"?(j(),Y("div",{key:1,class:Ae([S===d.value?"":"op35"])},[J(g,null,{popper:oe(()=>y[4]||(y[4]=[ue(" Valid Links ")])),default:oe(()=>[M("div",BC,[M("h2",jC,[J(b,{icon:"carbon:checkmark-outline opacity-50"}),J(E,{class:"text-sm"},{default:oe(()=>[ue(Ce(c.value),1)]),_:1})])])]),_:1})],2)):S==="debug"?(j(),Y("div",{key:2,class:Ae([S===d.value?"":"op35"])},[J(g,null,{popper:oe(()=>y[5]||(y[5]=[ue(" Debug ")])),default:oe(()=>[M("div",UC,[M("h2",WC,[J(b,{icon:"carbon:debug opacity-50"})])])]),_:1})],2)):S==="docs"?(j(),Y("div",{key:3,class:Ae([S===d.value?"":"op35"])},[J(g,null,{popper:oe(()=>y[6]||(y[6]=[ue(" Documentation ")])),default:oe(()=>[M("div",GC,[M("h2",zC,[J(b,{icon:"carbon:book opacity-50"})])])]),_:1})],2)):Te("",!0),rf(M("input",{"onUpdate:modelValue":y[0]||(y[0]=R=>d.value=R),type:"radio",value:S,title:S,class:"absolute cursor-pointer pointer-events-none inset-0 op-0.1"},null,8,qC),[[Zg,d.value]])],2)),64))]),J(g,null,{popper:oe(()=>y[7]||(y[7]=[ue(" Refresh ")])),default:oe(()=>[M("button",{"text-lg":"",type:"button",class:"n-icon-button n-button n-transition n-disabled:n-disabled",onClick:h},[J(b,{icon:"carbon:reset",class:"group-hover:text-green-500"})])]),_:1}),M("button",{class:"mr-5 hover:shadow-lg text-sm transition items-center gap-2 inline-flex border-green-500/50 border-1 rounded-lg shadow-sm px-3 py-1",onClick:f},[J(b,{icon:`${se(Ro)?"carbon:view-off":"carbon:view"}`},null,8,["icon"]),y[8]||(y[8]=M("div",{class:"hidden md:block"}," Inspections ",-1))])]),M("div",KC,[M("div",JC,[J(w,{href:"https://github.com/sponsors/harlan-zw",target:"_blank"},{default:oe(()=>[J(b,{icon:"carbon:favorite",class:"mr-[2px]"}),y[9]||(y[9]=ue(" Sponsor "))]),_:1})]),M("div",XC,[J(w,{href:"https://github.com/harlan-zw/nuxt-link-checker",target:"_blank"},{default:oe(()=>[J(b,{icon:"logos:github-icon",class:"mr-[2px]"}),y[10]||(y[10]=ue(" Submit an issue "))]),_:1})]),M("a",YC,[J(C)])])])]),M("div",QC,[M("main",ZC,[p.value?(j(),pe(P,{key:0})):d.value==="inspections"?(j(),Y("div",eS,[se(bn)?(j(),Y("p",tS,[se(Er)?(j(),pe(b,{key:0,icon:"carbon:progress-bar-round",class:"animated animate-spin op50 text-xs"})):Te("",!0),J(b,{icon:"carbon:filter"}),y[11]||(y[11]=ue(" Filtering Results. ")),M("button",{type:"button",underline:"",onClick:y[1]||(y[1]=S=>bn.value=!1)}," Show All ")])):Te("",!0),se(bn)?(j(),Y("div",lS,[(j(!0),Y(me,null,It(i.value,(S,O)=>(j(),pe(D,{key:O,item:S},null,8,["item"]))),128))])):(j(),Y("div",nS,[M("div",rS,[se(Er)?(j(),Y("div",oS,[J(b,{icon:"carbon:progress-bar-round",class:"animated animate-spin op50 text-xs"}),ue(" "+Ce(Math.round(Math.abs(se(Er)-l.value)/l.value*100))+"% ",1)])):Te("",!0),s.value?(j(),Y("div",iS,[J(b,{icon:"carbon:error","h-4":"","w-4":"","text-red-500":""}),M("div",null,Ce(s.value)+" Errors ",1)])):Te("",!0),a.value?(j(),Y("div",sS,[J(b,{icon:"carbon:warning","h-4":"","w-4":"","text-yellow-500":""}),M("div",null,Ce(a.value)+" Warnings ",1)])):Te("",!0),!a.value&&!s.value?(j(),Y("div",aS,[J(b,{icon:"carbon:checkmark-outline","h-4":"","w-4":"","text-green-500":""}),y[12]||(y[12]=M("div",null,"All links passing",-1))])):Te("",!0)]),M("div",null,[(j(!0),Y(me,null,It([...i.value.filter(S=>S.error.length),...i.value.filter(S=>S.warning.length)],(S,O)=>(j(),pe(D,{key:O,item:S,class:"odd:bg-white dark:odd:bg-[#151515] even:bg-slate-50 dark:even:bg-[#222223] p-2"},null,8,["item"]))),128))])])),J(kC)])):d.value==="links"?(j(),Y("div",cS,[J(L,null,{text:oe(()=>[M("h3",uS,[J(b,{icon:"carbon:chart-network",class:"mr-1"}),y[13]||(y[13]=ue(" Internal Links "))])]),default:oe(()=>[(j(!0),Y(me,null,It(i.value.filter(S=>S.passes&&S.link.startsWith("/")),(S,O)=>(j(),pe(W,{key:O,item:S},null,8,["item"]))),128))]),_:1}),J(L,null,{text:oe(()=>[M("h3",fS,[J(b,{icon:"carbon:launch",class:"mr-1"}),y[14]||(y[14]=ue(" External Links "))])]),default:oe(()=>[(j(!0),Y(me,null,It(i.value.filter(S=>S.passes&&!S.link.startsWith("/")),(S,O)=>(j(),pe(W,{key:O,item:S},null,8,["item"]))),128))]),_:1})])):d.value==="debug"?(j(),Y("div",dS,[J(L,null,{text:oe(()=>[M("h3",pS,[J(b,{icon:"carbon:settings",class:"mr-1"}),y[15]||(y[15]=ue(" Runtime Config "))])]),default:oe(()=>{var S;return[M("div",hS,[M("pre",{"of-auto":"","h-full":"","text-sm":"",style:{"white-space":"break-spaces"},innerHTML:se(Qp)(JSON.stringify(((S=se(Bo))==null?void 0:S.runtimeConfig)||{},null,2),"json").value},null,8,mS)])]}),_:1})])):d.value==="docs"?(j(),Y("div",gS,y[16]||(y[16]=[M("iframe",{src:"https://nuxtseo.com/link-checker",class:"w-full h-full border-none",style:{"min-height":"calc(100vh - 100px)"}},null,-1)]))):Te("",!0),y[17]||(y[17]=M("div",{class:"flex-auto"},null,-1))])])])}}}),yS={__name:"nuxt-error-page",props:{error:Object},setup(e){const n=e.error;n.stack&&n.stack.split(`
|
|
39
|
-
`).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(`
|
|
40
|
-
`);const r=Number(n.statusCode||500),o=r===404,i=n.statusMessage??(o?"Page Not Found":"Internal Server Error"),s=n.message||n.toString(),a=void 0,u=o?Nl(()=>_(()=>import("./3sscvOTR.js"),__vite__mapDeps([90,91,92]),import.meta.url)):Nl(()=>_(()=>import("./qPKfeiLE.js"),__vite__mapDeps([93,91,94]),import.meta.url));return(f,d)=>(j(),pe(se(u),Ou(Ga({statusCode:se(r),statusMessage:se(i),description:se(s),stack:se(a)})),null,16))}},vS={key:0},Cu={__name:"nuxt-root",setup(e){const t=()=>null,n=Ie(),r=n.deferHydration();if(n.isHydrating){const l=n.hooks.hookOnce("app:error",r);xt().beforeEach(l)}const o=!1;vf(yd,vd()),n.hooks.callHookWith(l=>l.map(c=>c()),"vue:setup");const i=Xa(),s=!1;ff((l,c,u)=>{if(n.hooks.callHook("vue:error",l,c,u).catch(f=>console.error("[nuxt] Error in `vue:error` hook",f)),$0(l)&&(l.fatal||l.unhandled))return n.runWithContext(()=>N0(l)),!1});const a=!1;return(l,c)=>(j(),pe(ag,{onResolve:se(r)},{default:oe(()=>[se(s)?(j(),Y("div",vS)):se(i)?(j(),pe(se(yS),{key:1,error:se(i)},null,8,["error"])):se(a)?(j(),pe(se(t),{key:2,context:se(a)},null,8,["context"])):se(o)?(j(),pe(hf(se(o)),{key:3})):(j(),pe(se(_S),{key:4}))]),_:1},8,["onResolve"]))}};let Su;{let e;Su=async function(){var s,a;if(e)return e;const r=!!(((s=window.__NUXT__)==null?void 0:s.serverRendered)??((a=document.getElementById("__NUXT_DATA__"))==null?void 0:a.dataset.ssr)==="true")?l_(Cu):Zf(Cu),o=y0({vueApp:r});async function i(l){await o.callHook("app:error",l),o.payload.error=o.payload.error||Ya(l)}r.config.errorHandler=i;try{await w0(o,Xv)}catch(l){i(l)}try{await o.hooks.callHook("app:created",r),await o.hooks.callHook("app:beforeMount",r),r.mount(m0),await o.hooks.callHook("app:mounted",r),await Ht()}catch(l){i(l)}return r.config.errorHandler===i&&(r.config.errorHandler=void 0),r},e=Su().catch(t=>{throw console.error("Error while mounting app:",t),t})}export{ro as _,M as a,J as b,Y as c,ue as d,ip as e,Qm as f,Ys as g,pt as h,wS as i,Ha as j,Sm as k,Cm as l,fr as m,j as o,ae as r,Ce as t,oe as w};
|