@samyx/preview-stacks-ui 0.18.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ActionButton.vue_vue_type_script_setup_true_lang-BCYIjIMR.js → ActionButton.vue_vue_type_script_setup_true_lang-C0iLjBml.js} +2 -2
- package/dist/assets/{ActionButton.vue_vue_type_script_setup_true_lang-BCYIjIMR.js.map → ActionButton.vue_vue_type_script_setup_true_lang-C0iLjBml.js.map} +1 -1
- package/dist/assets/{AxesTab-DOL8988q.js → AxesTab-COaSNzrG.js} +2 -2
- package/dist/assets/{AxesTab-DOL8988q.js.map → AxesTab-COaSNzrG.js.map} +1 -1
- package/dist/assets/{ConfigTab-C2kKDMhx.js → ConfigTab-XGvUbd66.js} +2 -2
- package/dist/assets/{ConfigTab-C2kKDMhx.js.map → ConfigTab-XGvUbd66.js.map} +1 -1
- package/dist/assets/{ConflictNote.vue_vue_type_script_setup_true_lang-DsSczT71.js → ConflictNote.vue_vue_type_script_setup_true_lang-DrzDcr4X.js} +2 -2
- package/dist/assets/{ConflictNote.vue_vue_type_script_setup_true_lang-DsSczT71.js.map → ConflictNote.vue_vue_type_script_setup_true_lang-DrzDcr4X.js.map} +1 -1
- package/dist/assets/{DangerTab-DGaHMJol.js → DangerTab-DsSJqxzj.js} +2 -2
- package/dist/assets/{DangerTab-DGaHMJol.js.map → DangerTab-DsSJqxzj.js.map} +1 -1
- package/dist/assets/{DashboardView-BfF38T9O.js → DashboardView-0BLBDth-.js} +2 -2
- package/dist/assets/{DashboardView-BfF38T9O.js.map → DashboardView-0BLBDth-.js.map} +1 -1
- package/dist/assets/{DeploymentDetailView-BGjBFfU4.js → DeploymentDetailView-dJjqob1P.js} +2 -2
- package/dist/assets/{DeploymentDetailView-BGjBFfU4.js.map → DeploymentDetailView-dJjqob1P.js.map} +1 -1
- package/dist/assets/{DeploymentsView-BH6-KpUe.js → DeploymentsView-BM9LVpU-.js} +2 -2
- package/dist/assets/{DeploymentsView-BH6-KpUe.js.map → DeploymentsView-BM9LVpU-.js.map} +1 -1
- package/dist/assets/{EquivalentCommand-BXiEpLtI.js → EquivalentCommand-DyCAI1Cy.js} +2 -2
- package/dist/assets/{EquivalentCommand-BXiEpLtI.js.map → EquivalentCommand-DyCAI1Cy.js.map} +1 -1
- package/dist/assets/{ErrorNote.vue_vue_type_script_setup_true_lang-BxEb711Y.js → ErrorNote.vue_vue_type_script_setup_true_lang-DjEWoD0O.js} +2 -2
- package/dist/assets/{ErrorNote.vue_vue_type_script_setup_true_lang-BxEb711Y.js.map → ErrorNote.vue_vue_type_script_setup_true_lang-DjEWoD0O.js.map} +1 -1
- package/dist/assets/{HelpModal.vue_vue_type_script_setup_true_lang-BQluOWdQ.js → HelpModal.vue_vue_type_script_setup_true_lang-CACw-lfW.js} +2 -2
- package/dist/assets/{HelpModal.vue_vue_type_script_setup_true_lang-BQluOWdQ.js.map → HelpModal.vue_vue_type_script_setup_true_lang-CACw-lfW.js.map} +1 -1
- package/dist/assets/{JobDetailView-BcE107xE.js → JobDetailView-DsYfLQUd.js} +2 -2
- package/dist/assets/{JobDetailView-BcE107xE.js.map → JobDetailView-DsYfLQUd.js.map} +1 -1
- package/dist/assets/{JobsView-Dm_Loiq8.js → JobsView-UUwzBG2c.js} +2 -2
- package/dist/assets/{JobsView-Dm_Loiq8.js.map → JobsView-UUwzBG2c.js.map} +1 -1
- package/dist/assets/{LogViewer.vue_vue_type_script_setup_true_lang-CJJilqst.js → LogViewer.vue_vue_type_script_setup_true_lang-DYfYw8_a.js} +2 -2
- package/dist/assets/{LogViewer.vue_vue_type_script_setup_true_lang-CJJilqst.js.map → LogViewer.vue_vue_type_script_setup_true_lang-DYfYw8_a.js.map} +1 -1
- package/dist/assets/{LoginView-XoomyWtl.js → LoginView-cKuF7PhJ.js} +2 -2
- package/dist/assets/{LoginView-XoomyWtl.js.map → LoginView-cKuF7PhJ.js.map} +1 -1
- package/dist/assets/{LogsTab-PetxKgUF.js → LogsTab-QEuDGrG2.js} +2 -2
- package/dist/assets/{LogsTab-PetxKgUF.js.map → LogsTab-QEuDGrG2.js.map} +1 -1
- package/dist/assets/{NotFoundView-BcVYUxAo.js → NotFoundView-Bpcd3Ptj.js} +2 -2
- package/dist/assets/{NotFoundView-BcVYUxAo.js.map → NotFoundView-Bpcd3Ptj.js.map} +1 -1
- package/dist/assets/{NotifiersView-5xtub30J.js → NotifiersView-B1xAKTwU.js} +2 -2
- package/dist/assets/{NotifiersView-5xtub30J.js.map → NotifiersView-B1xAKTwU.js.map} +1 -1
- package/dist/assets/{OverviewTab-DUEg-y_z.js → OverviewTab-B2aCu4e0.js} +2 -2
- package/dist/assets/{OverviewTab-DUEg-y_z.js.map → OverviewTab-B2aCu4e0.js.map} +1 -1
- package/dist/assets/{RegistriesView-BVFGjxi7.js → RegistriesView-CfblUxVo.js} +2 -2
- package/dist/assets/{RegistriesView-BVFGjxi7.js.map → RegistriesView-CfblUxVo.js.map} +1 -1
- package/dist/assets/{RelativeTime.vue_vue_type_script_setup_true_lang-D0buom1m.js → RelativeTime.vue_vue_type_script_setup_true_lang-Dx90hw4F.js} +2 -2
- package/dist/assets/{RelativeTime.vue_vue_type_script_setup_true_lang-D0buom1m.js.map → RelativeTime.vue_vue_type_script_setup_true_lang-Dx90hw4F.js.map} +1 -1
- package/dist/assets/{RequiresTab-D02oLAp-.js → RequiresTab-DKFeob92.js} +2 -2
- package/dist/assets/{RequiresTab-D02oLAp-.js.map → RequiresTab-DKFeob92.js.map} +1 -1
- package/dist/assets/{RoutingView-1bDbTXbH.js → RoutingView-7SWVlOx8.js} +2 -2
- package/dist/assets/{RoutingView-1bDbTXbH.js.map → RoutingView-7SWVlOx8.js.map} +1 -1
- package/dist/assets/{RuntimeTab-DR6kK7VS.js → RuntimeTab-CiSAV3D0.js} +2 -2
- package/dist/assets/{RuntimeTab-DR6kK7VS.js.map → RuntimeTab-CiSAV3D0.js.map} +1 -1
- package/dist/assets/{SelectMenu.vue_vue_type_script_setup_true_lang-CoNJMygb.js → SelectMenu.vue_vue_type_script_setup_true_lang-B-DTK242.js} +2 -2
- package/dist/assets/{SelectMenu.vue_vue_type_script_setup_true_lang-CoNJMygb.js.map → SelectMenu.vue_vue_type_script_setup_true_lang-B-DTK242.js.map} +1 -1
- package/dist/assets/{SettingsView-CNnikDTC.js → SettingsView-BEha1Bt3.js} +2 -2
- package/dist/assets/{SettingsView-CNnikDTC.js.map → SettingsView-BEha1Bt3.js.map} +1 -1
- package/dist/assets/{SkeletonList.vue_vue_type_script_setup_true_lang-BjPZSNt1.js → SkeletonList.vue_vue_type_script_setup_true_lang-DiCGtn2a.js} +2 -2
- package/dist/assets/{SkeletonList.vue_vue_type_script_setup_true_lang-BjPZSNt1.js.map → SkeletonList.vue_vue_type_script_setup_true_lang-DiCGtn2a.js.map} +1 -1
- package/dist/assets/{SpecDetailView-CobNJfyA.js → SpecDetailView-l86eWf2v.js} +2 -2
- package/dist/assets/{SpecDetailView-CobNJfyA.js.map → SpecDetailView-l86eWf2v.js.map} +1 -1
- package/dist/assets/{SpecsView-CtE6K2qH.js → SpecsView-BfWq69K5.js} +2 -2
- package/dist/assets/{SpecsView-CtE6K2qH.js.map → SpecsView-BfWq69K5.js.map} +1 -1
- package/dist/assets/{StateBadge.vue_vue_type_script_setup_true_lang-CjYFKoV9.js → StateBadge.vue_vue_type_script_setup_true_lang-DMzCGltO.js} +2 -2
- package/dist/assets/{StateBadge.vue_vue_type_script_setup_true_lang-CjYFKoV9.js.map → StateBadge.vue_vue_type_script_setup_true_lang-DMzCGltO.js.map} +1 -1
- package/dist/assets/{SubmitView-BdQ2pmUr.js → SubmitView-6cqvVYlz.js} +2 -2
- package/dist/assets/{SubmitView-BdQ2pmUr.js.map → SubmitView-6cqvVYlz.js.map} +1 -1
- package/dist/assets/{Teleport-DXtRNc70.js → Teleport-SesEhfqH.js} +3 -3
- package/dist/assets/{Teleport-DXtRNc70.js.map → Teleport-SesEhfqH.js.map} +1 -1
- package/dist/assets/{TerminalTab-ChiTxP-4.js → TerminalTab-gDAKYgTX.js} +2 -2
- package/dist/assets/{TerminalTab-ChiTxP-4.js.map → TerminalTab-gDAKYgTX.js.map} +1 -1
- package/dist/assets/{UsersView-Ci3lY3mC.js → UsersView-Bvs30U8o.js} +2 -2
- package/dist/assets/{UsersView-Ci3lY3mC.js.map → UsersView-Bvs30U8o.js.map} +1 -1
- package/dist/assets/{VarEditor.vue_vue_type_script_setup_true_lang-PNLLh1AH.js → VarEditor.vue_vue_type_script_setup_true_lang-UEG5poOe.js} +2 -2
- package/dist/assets/{VarEditor.vue_vue_type_script_setup_true_lang-PNLLh1AH.js.map → VarEditor.vue_vue_type_script_setup_true_lang-UEG5poOe.js.map} +1 -1
- package/dist/assets/VariablesView-Xn79UX3b.js +2 -0
- package/dist/assets/VariablesView-Xn79UX3b.js.map +1 -0
- package/dist/assets/VariablesView-m1RjJR-x.css +1 -0
- package/dist/assets/index-jLPJ82ve.js +139 -0
- package/dist/assets/index-jLPJ82ve.js.map +1 -0
- package/dist/assets/{useDeployment-BFsbmcLi.js → useDeployment-Bgo0U4-I.js} +2 -2
- package/dist/assets/{useDeployment-BFsbmcLi.js.map → useDeployment-Bgo0U4-I.js.map} +1 -1
- package/dist/index.html +1 -1
- package/package.json +1 -1
- package/dist/assets/index-m4JghVue.js +0 -134
- package/dist/assets/index-m4JghVue.js.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{S as n,C as i,A as d,B as l,J as p,U as c}from"./index-
|
|
2
|
-
//# sourceMappingURL=useDeployment-
|
|
1
|
+
import{S as n,C as i,A as d,B as l,J as p,U as c}from"./index-jLPJ82ve.js";import{w as u,r as y}from"./useVars-VN9gYdR6.js";const e=n({id:"",detail:null,error:"",loading:!1,vars:[]}),f=i(()=>p(e.vars)),k=i(()=>c(e.id)),b=i(()=>{var a;return((a=e.detail)==null?void 0:a.kind)==="shared"}),h=i(()=>{var a;return(((a=e.detail)==null?void 0:a.axes)??[]).filter(s=>!s.verifiable).map(s=>s.name)});async function t(){const a=e.id;e.loading=!0;const s=await d.get(`/api/deployments/${encodeURIComponent(a)}${f.value}`);if(e.id!==a)return;if(e.loading=!1,!s.ok){e.detail=null,e.error=l(s,`GET /api/deployments/${a}`);return}e.error="";const r=s.body;e.detail={id:r.id??a,kind:r.kind==="shared"?"shared":"isolated",createdAt:r.createdAt,updatedAt:r.updatedAt,stack:typeof r.stack=="string"?r.stack:"",busy:r.busy??null,compose:r.compose?{file:r.compose.file??"?",profiles:r.compose.profiles??[],overlays:r.compose.overlays??[]}:null,requires:Array.isArray(r.requires)?r.requires:[],axes:(Array.isArray(r.axes)?r.axes:[]).map(o=>({name:o.name,hooks:Array.isArray(o.hooks)?o.hooks:[],verifiable:o.verifiable??(Array.isArray(o.hooks)&&o.hooks.includes("assert_gone"))})),env:Array.isArray(r.env)?r.env:[]}}function g(a){e.id===a&&(e.detail||e.error)||(e.id=a,e.detail=null,e.error="",e.vars=y(a),t())}function m(){u(e.id,e.vars)}function x(){m(),t()}export{x as a,e as d,b as i,g as o,m as p,k as r,h as u,f as v};
|
|
2
|
+
//# sourceMappingURL=useDeployment-Bgo0U4-I.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDeployment-
|
|
1
|
+
{"version":3,"file":"useDeployment-Bgo0U4-I.js","sources":["../../src/composables/useDeployment.ts"],"sourcesContent":["/**\n * The deployment currently open in the detail view.\n *\n * A module singleton rather than provide/inject, because the six tabs are CHILD ROUTES: they are\n * siblings of each other and are mounted and unmounted independently, so passing the loaded\n * deployment down as a prop would mean re-fetching it on every tab change. Switching tabs must not\n * re-fetch or blank the panel — only opening a DIFFERENT deployment does.\n *\n * `vars` here are REQUEST-TIME variables, sent as `?query` on every route that resolves this\n * deployment. See `useVars.ts` for why they matter and what they can get wrong.\n */\n\nimport { computed, reactive } from 'vue';\nimport { api, problem, query } from '../api/client';\nimport type { Deployment, VarPair } from '../api/types';\nimport { readVars, writeVars } from './useVars';\nimport { rowFor } from './useControlPlane';\n\nexport const dep = reactive({\n id: '',\n detail: null as Deployment | null,\n /** The resolve failure, verbatim. It is a 400 that NAMES the missing variable. */\n error: '',\n loading: false,\n vars: [] as VarPair[],\n});\n\nexport const varsQuery = computed(() => query(dep.vars));\n\n/** The list row, which is the only place the server exposes stored `vars` and `specName` today. */\nexport const row = computed(() => rowFor(dep.id));\n\nexport const isShared = computed(() => dep.detail?.kind === 'shared');\n\nexport const unverifiableAxes = computed(() =>\n (dep.detail?.axes ?? []).filter((a) => !a.verifiable).map((a) => a.name),\n);\n\nexport async function loadDetail(): Promise<void> {\n const id = dep.id;\n dep.loading = true;\n const r = await api.get<Deployment>(`/api/deployments/${encodeURIComponent(id)}${varsQuery.value}`);\n // Navigated to another deployment while this was in flight: drop the answer rather than render\n // one deployment's spec under another's id.\n if (dep.id !== id) return;\n dep.loading = false;\n\n if (!r.ok) {\n dep.detail = null;\n dep.error = problem(r, `GET /api/deployments/${id}`);\n return;\n }\n dep.error = '';\n const b = r.body;\n dep.detail = {\n id: b.id ?? id,\n kind: b.kind === 'shared' ? 'shared' : 'isolated',\n createdAt: b.createdAt,\n updatedAt: b.updatedAt,\n stack: typeof b.stack === 'string' ? b.stack : '',\n busy: b.busy ?? null,\n compose: b.compose\n ? {\n file: b.compose.file ?? '?',\n profiles: b.compose.profiles ?? [],\n overlays: b.compose.overlays ?? [],\n }\n : null,\n requires: Array.isArray(b.requires) ? b.requires : [],\n axes: (Array.isArray(b.axes) ? b.axes : []).map((a) => ({\n name: a.name,\n hooks: Array.isArray(a.hooks) ? a.hooks : [],\n // Derive it if an older build omits the field. Defaulting to `false` would claim an axis is\n // unverifiable when it may define a perfectly good `assert_gone`.\n verifiable: a.verifiable ?? (Array.isArray(a.hooks) && a.hooks.includes('assert_gone')),\n })),\n env: Array.isArray(b.env) ? b.env : [],\n };\n}\n\n/** Point the singleton at a deployment. Resets everything a stale id could leak into the new one. */\nexport function openDeployment(id: string): void {\n if (dep.id === id && (dep.detail || dep.error)) return; // a tab change, not a navigation\n dep.id = id;\n dep.detail = null;\n dep.error = '';\n dep.vars = readVars(id);\n void loadDetail();\n}\n\nexport function persistVars(): void {\n writeVars(dep.id, dep.vars);\n}\n\nexport function applyVars(): void {\n persistVars();\n void loadDetail();\n}\n"],"names":["dep","reactive","varsQuery","computed","query","row","rowFor","isShared","_a","unverifiableAxes","a","loadDetail","id","r","api","problem","b","openDeployment","readVars","persistVars","writeVars","applyVars"],"mappings":"4HAkBO,MAAMA,EAAMC,EAAS,CAC1B,GAAI,GACJ,OAAQ,KAER,MAAO,GACP,QAAS,GACT,KAAM,CAAA,CACR,CAAC,EAEYC,EAAYC,EAAS,IAAMC,EAAMJ,EAAI,IAAI,CAAC,EAG1CK,EAAMF,EAAS,IAAMG,EAAON,EAAI,EAAE,CAAC,EAEnCO,EAAWJ,EAAS,IAAA,OAAM,QAAAK,EAAAR,EAAI,SAAJ,YAAAQ,EAAY,QAAS,SAAQ,EAEvDC,EAAmBN,EAAS,IAAA,OACtC,SAAAK,EAAAR,EAAI,SAAJ,YAAAQ,EAAY,OAAQ,CAAA,GAAI,OAAQE,GAAM,CAACA,EAAE,UAAU,EAAE,IAAKA,GAAMA,EAAE,IAAI,EACzE,EAEA,eAAsBC,GAA4B,CAChD,MAAMC,EAAKZ,EAAI,GACfA,EAAI,QAAU,GACd,MAAMa,EAAI,MAAMC,EAAI,IAAgB,oBAAoB,mBAAmBF,CAAE,CAAC,GAAGV,EAAU,KAAK,EAAE,EAGlG,GAAIF,EAAI,KAAOY,EAAI,OAGnB,GAFAZ,EAAI,QAAU,GAEV,CAACa,EAAE,GAAI,CACTb,EAAI,OAAS,KACbA,EAAI,MAAQe,EAAQF,EAAG,wBAAwBD,CAAE,EAAE,EACnD,MACF,CACAZ,EAAI,MAAQ,GACZ,MAAMgB,EAAIH,EAAE,KACZb,EAAI,OAAS,CACX,GAAIgB,EAAE,IAAMJ,EACZ,KAAMI,EAAE,OAAS,SAAW,SAAW,WACvC,UAAWA,EAAE,UACb,UAAWA,EAAE,UACb,MAAO,OAAOA,EAAE,OAAU,SAAWA,EAAE,MAAQ,GAC/C,KAAMA,EAAE,MAAQ,KAChB,QAASA,EAAE,QACP,CACE,KAAMA,EAAE,QAAQ,MAAQ,IACxB,SAAUA,EAAE,QAAQ,UAAY,CAAA,EAChC,SAAUA,EAAE,QAAQ,UAAY,CAAA,CAAC,EAEnC,KACJ,SAAU,MAAM,QAAQA,EAAE,QAAQ,EAAIA,EAAE,SAAW,CAAA,EACnD,MAAO,MAAM,QAAQA,EAAE,IAAI,EAAIA,EAAE,KAAO,CAAA,GAAI,IAAKN,IAAO,CACtD,KAAMA,EAAE,KACR,MAAO,MAAM,QAAQA,EAAE,KAAK,EAAIA,EAAE,MAAQ,CAAA,EAG1C,WAAYA,EAAE,aAAe,MAAM,QAAQA,EAAE,KAAK,GAAKA,EAAE,MAAM,SAAS,aAAa,EAAA,EACrF,EACF,IAAK,MAAM,QAAQM,EAAE,GAAG,EAAIA,EAAE,IAAM,CAAA,CAAC,CAEzC,CAGO,SAASC,EAAeL,EAAkB,CAC3CZ,EAAI,KAAOY,IAAOZ,EAAI,QAAUA,EAAI,SACxCA,EAAI,GAAKY,EACTZ,EAAI,OAAS,KACbA,EAAI,MAAQ,GACZA,EAAI,KAAOkB,EAASN,CAAE,EACjBD,EAAA,EACP,CAEO,SAASQ,GAAoB,CAClCC,EAAUpB,EAAI,GAAIA,EAAI,IAAI,CAC5B,CAEO,SAASqB,GAAkB,CAChCF,EAAA,EACKR,EAAA,CACP"}
|
package/dist/index.html
CHANGED
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
/* private mode: fall through to the OS preference */
|
|
28
28
|
}
|
|
29
29
|
</script>
|
|
30
|
-
<script type="module" crossorigin src="/assets/index-
|
|
30
|
+
<script type="module" crossorigin src="/assets/index-jLPJ82ve.js"></script>
|
|
31
31
|
<link rel="stylesheet" crossorigin href="/assets/index-WMJXAtiA.css">
|
|
32
32
|
</head>
|
|
33
33
|
<body>
|
package/package.json
CHANGED
|
@@ -1,134 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-XoomyWtl.js","assets/ActionButton.vue_vue_type_script_setup_true_lang-BCYIjIMR.js","assets/EquivalentCommand-BXiEpLtI.js","assets/_plugin-vue_export-helper-DlAUqK2U.js","assets/EquivalentCommand-BFnZRfDg.css","assets/LoginView-BFIG7vGw.css","assets/DashboardView-BfF38T9O.js","assets/useFormat-CKJxQp_i.js","assets/StateBadge.vue_vue_type_script_setup_true_lang-CjYFKoV9.js","assets/SkeletonList.vue_vue_type_script_setup_true_lang-BjPZSNt1.js","assets/DeploymentsView-BH6-KpUe.js","assets/RelativeTime.vue_vue_type_script_setup_true_lang-D0buom1m.js","assets/SelectMenu.vue_vue_type_script_setup_true_lang-CoNJMygb.js","assets/Teleport-DXtRNc70.js","assets/DeploymentDetailView-BGjBFfU4.js","assets/useDeployment-BFsbmcLi.js","assets/useVars-VN9gYdR6.js","assets/ConflictNote.vue_vue_type_script_setup_true_lang-DsSczT71.js","assets/ErrorNote.vue_vue_type_script_setup_true_lang-BxEb711Y.js","assets/OverviewTab-DUEg-y_z.js","assets/ConfigTab-C2kKDMhx.js","assets/VarEditor.vue_vue_type_script_setup_true_lang-PNLLh1AH.js","assets/HelpModal.vue_vue_type_script_setup_true_lang-BQluOWdQ.js","assets/RuntimeTab-DR6kK7VS.js","assets/AxesTab-DOL8988q.js","assets/RequiresTab-D02oLAp-.js","assets/LogsTab-PetxKgUF.js","assets/LogViewer.vue_vue_type_script_setup_true_lang-CJJilqst.js","assets/TerminalTab-ChiTxP-4.js","assets/TerminalTab-4vbfGB2S.css","assets/DangerTab-DGaHMJol.js","assets/RoutingView-1bDbTXbH.js","assets/RegistriesView-BVFGjxi7.js","assets/NotifiersView-5xtub30J.js","assets/SpecsView-CtE6K2qH.js","assets/SpecDetailView-CobNJfyA.js","assets/SubmitView-BdQ2pmUr.js","assets/JobsView-Dm_Loiq8.js","assets/JobDetailView-BcE107xE.js","assets/UsersView-Ci3lY3mC.js","assets/UsersView-DZhhpsnX.css","assets/SettingsView-CNnikDTC.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
|
|
3
|
-
* @vue/shared v3.5.40
|
|
4
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
|
-
* @license MIT
|
|
6
|
-
**/function xr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ne={},un=[],ht=()=>{},ri=()=>!1,As=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Cs=e=>e.startsWith("onUpdate:"),Ee=Object.assign,Rr=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Jl=Object.prototype.hasOwnProperty,le=(e,t)=>Jl.call(e,t),F=Array.isArray,fn=e=>Jn(e)==="[object Map]",Ss=e=>Jn(e)==="[object Set]",qr=e=>Jn(e)==="[object Date]",G=e=>typeof e=="function",he=e=>typeof e=="string",qe=e=>typeof e=="symbol",re=e=>e!==null&&typeof e=="object",oi=e=>(re(e)||G(e))&&G(e.then)&&G(e.catch),ii=Object.prototype.toString,Jn=e=>ii.call(e),Yl=e=>Jn(e).slice(8,-1),li=e=>Jn(e)==="[object Object]",xs=e=>he(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Nn=xr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Rs=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Ql=/-\w/g,Le=Rs(e=>e.replace(Ql,t=>t.slice(1).toUpperCase())),Xl=/\B([A-Z])/g,$t=Rs(e=>e.replace(Xl,"-$1").toLowerCase()),Ts=Rs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Ks=Rs(e=>e?`on${Ts(e)}`:""),Te=(e,t)=>!Object.is(e,t),os=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ai=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Tr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Zl=e=>{const t=he(e)?Number(e):NaN;return isNaN(t)?e:t};let zr;const ks=()=>zr||(zr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ps(e){if(F(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=he(s)?sa(s):Ps(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(he(e)||re(e))return e}const ea=/;(?![^(]*\))/g,ta=/:([^]+)/,na=/\/\*[^]*?\*\//g;function sa(e){const t={};return e.replace(na,"").split(ea).forEach(n=>{if(n){const s=n.split(ta);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Ft(e){let t="";if(he(e))t=e;else if(F(e))for(let n=0;n<e.length;n++){const s=Ft(e[n]);s&&(t+=s+" ")}else if(re(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function $d(e){if(!e)return null;let{class:t,style:n}=e;return t&&!he(t)&&(e.class=Ft(t)),n&&(e.style=Ps(n)),e}const ra="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",oa=xr(ra);function ci(e){return!!e||e===""}function ia(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=en(e[s],t[s]);return n}function en(e,t){if(e===t)return!0;let n=qr(e),s=qr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=qe(e),s=qe(t),n||s)return e===t;if(n=F(e),s=F(t),n||s)return n&&s?ia(e,t):!1;if(n=re(e),s=re(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!en(e[i],t[i]))return!1}}return String(e)===String(t)}function ui(e,t){return e.findIndex(n=>en(n,t))}const fi=e=>!!(e&&e.__v_isRef===!0),Pe=e=>he(e)?e:e==null?"":F(e)||re(e)&&(e.toString===ii||!G(e.toString))?fi(e)?Pe(e.value):JSON.stringify(e,di,2):String(e),di=(e,t)=>fi(t)?di(e,t.value):fn(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Ws(s,o)+" =>"]=r,n),{})}:Ss(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Ws(n))}:qe(t)?Ws(t):re(t)&&!F(t)&&!li(t)?String(t):t,Ws=(e,t="")=>{var n;return qe(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
|
|
7
|
-
* @vue/reactivity v3.5.40
|
|
8
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
9
|
-
* @license MIT
|
|
10
|
-
**/let Se;class hi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Se&&(Se.active?(this.parent=Se,this.index=(Se.scopes||(Se.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t<n;t++)s[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){const r=this.scopes.slice();for(t=0,n=r.length;t<n;t++)r[t].resume()}const s=this.effects.slice();for(t=0,n=s.length;t<n;t++)s[t].resume()}}run(t){if(this._active){const n=Se;try{return Se=this,t()}finally{Se=n}}}on(){++this._on===1&&(this.prevScope=Se,Se=this)}off(){if(this._on>0&&--this._on===0){if(Se===this)Se=this.prevScope;else{let t=Se;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){const r=this.scopes.slice();for(n=0,s=r.length;n<s;n++)r[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Ud(e){return new hi(e)}function la(){return Se}function Gd(e,t=!1){Se&&Se.cleanups.push(e)}let de;const qs=new WeakSet;class pi{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,Se&&(Se.active?Se.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,qs.has(this)&&(qs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||mi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Jr(this),yi(this);const t=de,n=et;de=this,et=!0;try{return this.fn()}finally{vi(this),de=t,et=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Or(t);this.deps=this.depsTail=void 0,Jr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?qs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ar(this)&&this.run()}get dirty(){return ar(this)}}let gi=0,Mn,Ln;function mi(e,t=!1){if(e.flags|=8,t){e.next=Ln,Ln=e;return}e.next=Mn,Mn=e}function kr(){gi++}function Pr(){if(--gi>0)return;if(Ln){let t=Ln;for(Ln=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Mn;){let t=Mn;for(Mn=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(s){e||(e=s)}t=n}}if(e)throw e}function yi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function vi(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Or(s),aa(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ar(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(_i(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function _i(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===jn)||(e.globalVersion=jn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ar(e))))return;e.flags|=2;const t=e.dep,n=de,s=et;de=e,et=!0;try{yi(e);const r=e.fn(e._value);(t.version===0||Te(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{de=n,et=s,vi(e),e.flags&=-3}}function Or(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Or(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function aa(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let et=!0;const bi=[];function St(){bi.push(et),et=!1}function xt(){const e=bi.pop();et=e===void 0?!0:e}function Jr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=de;de=void 0;try{t()}finally{de=n}}}let jn=0;class ca{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 Os{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!de||!et||de===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==de)n=this.activeLink=new ca(de,this),de.deps?(n.prevDep=de.depsTail,de.depsTail.nextDep=n,de.depsTail=n):de.deps=de.depsTail=n,Ei(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const s=n.nextDep;s.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=s),n.prevDep=de.depsTail,n.nextDep=void 0,de.depsTail.nextDep=n,de.depsTail=n,de.deps===n&&(de.deps=s)}return n}trigger(t){this.version++,jn++,this.notify(t)}notify(t){kr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Pr()}}}function Ei(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let s=t.deps;s;s=s.nextDep)Ei(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const us=new WeakMap,Xt=Symbol(""),cr=Symbol(""),Bn=Symbol("");function Oe(e,t,n){if(et&&de){let s=us.get(e);s||us.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Os),r.map=s,r.key=n),r.track()}}function bt(e,t,n,s,r,o){const i=us.get(e);if(!i){jn++;return}const l=a=>{a&&a.trigger()};if(kr(),t==="clear")i.forEach(l);else{const a=F(e),u=a&&xs(n);if(a&&n==="length"){const c=Number(s);i.forEach((f,p)=>{(p==="length"||p===Bn||!qe(p)&&p>=c)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),u&&l(i.get(Bn)),t){case"add":a?u&&l(i.get("length")):(l(i.get(Xt)),fn(e)&&l(i.get(cr)));break;case"delete":a||(l(i.get(Xt)),fn(e)&&l(i.get(cr)));break;case"set":fn(e)&&l(i.get(Xt));break}}Pr()}function ua(e,t){const n=us.get(e);return n&&n.get(t)}function on(e){const t=X(e);return t===e?t:(Oe(t,"iterate",Bn),We(e)?t:t.map(nt))}function Is(e){return Oe(e=X(e),"iterate",Bn),e}function ft(e,t){return Rt(e)?mn(Zt(e)?nt(t):t):nt(t)}const fa={__proto__:null,[Symbol.iterator](){return zs(this,Symbol.iterator,e=>ft(this,e))},concat(...e){return on(this).concat(...e.map(t=>F(t)?on(t):t))},entries(){return zs(this,"entries",e=>(e[1]=ft(this,e[1]),e))},every(e,t){return mt(this,"every",e,t,void 0,arguments)},filter(e,t){return mt(this,"filter",e,t,n=>n.map(s=>ft(this,s)),arguments)},find(e,t){return mt(this,"find",e,t,n=>ft(this,n),arguments)},findIndex(e,t){return mt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return mt(this,"findLast",e,t,n=>ft(this,n),arguments)},findLastIndex(e,t){return mt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return mt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Js(this,"includes",e)},indexOf(...e){return Js(this,"indexOf",e)},join(e){return on(this).join(e)},lastIndexOf(...e){return Js(this,"lastIndexOf",e)},map(e,t){return mt(this,"map",e,t,void 0,arguments)},pop(){return Sn(this,"pop")},push(...e){return Sn(this,"push",e)},reduce(e,...t){return Yr(this,"reduce",e,t)},reduceRight(e,...t){return Yr(this,"reduceRight",e,t)},shift(){return Sn(this,"shift")},some(e,t){return mt(this,"some",e,t,void 0,arguments)},splice(...e){return Sn(this,"splice",e)},toReversed(){return on(this).toReversed()},toSorted(e){return on(this).toSorted(e)},toSpliced(...e){return on(this).toSpliced(...e)},unshift(...e){return Sn(this,"unshift",e)},values(){return zs(this,"values",e=>ft(this,e))}};function zs(e,t,n){const s=Is(e),r=s[t]();return s!==e&&!We(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const da=Array.prototype;function mt(e,t,n,s,r,o){const i=Is(e),l=i!==e&&!We(e),a=i[t];if(a!==da[t]){const f=a.apply(e,o);return l?nt(f):f}let u=n;i!==e&&(l?u=function(f,p){return n.call(this,ft(e,f),p,e)}:n.length>2&&(u=function(f,p){return n.call(this,f,p,e)}));const c=a.call(i,u,s);return l&&r?r(c):c}function Yr(e,t,n,s){const r=Is(e),o=r!==e&&!We(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(u,c,f){return l&&(l=!1,u=ft(e,u)),n.call(this,u,ft(e,c),f,e)}):n.length>3&&(i=function(u,c,f){return n.call(this,u,c,f,e)}));const a=r[t](i,...s);return l?ft(e,a):a}function Js(e,t,n){const s=X(e);Oe(s,"iterate",Bn);const r=s[t](...n);return(r===-1||r===!1)&&Ls(n[0])?(n[0]=X(n[0]),s[t](...n)):r}function Sn(e,t,n=[]){St(),kr();const s=X(e)[t].apply(e,n);return Pr(),xt(),s}const ha=xr("__proto__,__v_isRef,__isVue"),wi=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(qe));function pa(e){qe(e)||(e=String(e));const t=X(this);return Oe(t,"has",e),t.hasOwnProperty(e)}class Ai{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?ki:Ti:o?Ri:xi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=F(t);if(!r){let a;if(i&&(a=fa[n]))return a;if(n==="hasOwnProperty")return pa}const l=Reflect.get(t,n,xe(t)?t:s);if((qe(n)?wi.has(n):ha(n))||(r||Oe(t,"get",n),o))return l;if(xe(l)){const a=i&&xs(n)?l:l.value;return r&&re(a)?fr(a):a}return re(l)?r?fr(l):Ut(l):l}}class Ci extends Ai{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=F(t)&&xs(n);if(!this._isShallow){const u=Rt(o);if(!We(s)&&!Rt(s)&&(o=X(o),s=X(s)),!i&&xe(o)&&!xe(s))return u||(o.value=s),!0}const l=i?Number(n)<t.length:le(t,n),a=Reflect.set(t,n,s,xe(t)?t:r);return t===X(r)&&a&&(l?Te(s,o)&&bt(t,"set",n,s):bt(t,"add",n,s)),a}deleteProperty(t,n){const s=le(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&bt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!qe(n)||!wi.has(n))&&Oe(t,"has",n),s}ownKeys(t){return Oe(t,"iterate",F(t)?"length":Xt),Reflect.ownKeys(t)}}class Si extends Ai{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const ga=new Ci,ma=new Si,ya=new Ci(!0),va=new Si(!0),ur=e=>e,ts=e=>Reflect.getPrototypeOf(e);function _a(e,t,n){return function(...s){const r=this.__v_raw,o=X(r),i=fn(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,u=r[e](...s),c=n?ur:t?mn:nt;return!t&&Oe(o,"iterate",a?cr:Xt),Ee(Object.create(u),{next(){const{value:f,done:p}=u.next();return p?{value:f,done:p}:{value:l?[c(f[0]),c(f[1])]:c(f),done:p}}})}}function ns(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ba(e,t){const n={get(r){const o=this.__v_raw,i=X(o),l=X(r);e||(Te(r,l)&&Oe(i,"get",r),Oe(i,"get",l));const{has:a}=ts(i),u=t?ur:e?mn:nt;if(a.call(i,r))return u(o.get(r));if(a.call(i,l))return u(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Oe(X(r),"iterate",Xt),r.size},has(r){const o=this.__v_raw,i=X(o),l=X(r);return e||(Te(r,l)&&Oe(i,"has",r),Oe(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,a=X(l),u=t?ur:e?mn:nt;return!e&&Oe(a,"iterate",Xt),l.forEach((c,f)=>r.call(o,u(c),u(f),i))}};return Ee(n,e?{add:ns("add"),set:ns("set"),delete:ns("delete"),clear:ns("clear")}:{add(r){const o=X(this),i=ts(o),l=X(r),a=!t&&!We(r)&&!Rt(r)?l:r;return i.has.call(o,a)||Te(r,a)&&i.has.call(o,r)||Te(l,a)&&i.has.call(o,l)||(o.add(a),bt(o,"add",a,a)),this},set(r,o){!t&&!We(o)&&!Rt(o)&&(o=X(o));const i=X(this),{has:l,get:a}=ts(i);let u=l.call(i,r);u||(r=X(r),u=l.call(i,r));const c=a.call(i,r);return i.set(r,o),u?Te(o,c)&&bt(i,"set",r,o):bt(i,"add",r,o),this},delete(r){const o=X(this),{has:i,get:l}=ts(o);let a=i.call(o,r);a||(r=X(r),a=i.call(o,r)),l&&l.call(o,r);const u=o.delete(r);return a&&bt(o,"delete",r,void 0),u},clear(){const r=X(this),o=r.size!==0,i=r.clear();return o&&bt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=_a(r,e,t)}),n}function Ns(e,t){const n=ba(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(le(n,r)&&r in s?n:s,r,o)}const Ea={get:Ns(!1,!1)},wa={get:Ns(!1,!0)},Aa={get:Ns(!0,!1)},Ca={get:Ns(!0,!0)},xi=new WeakMap,Ri=new WeakMap,Ti=new WeakMap,ki=new WeakMap;function Sa(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ut(e){return Rt(e)?e:Ms(e,!1,ga,Ea,xi)}function Pi(e){return Ms(e,!1,ya,wa,Ri)}function fr(e){return Ms(e,!0,ma,Aa,Ti)}function Kd(e){return Ms(e,!0,va,Ca,ki)}function Ms(e,t,n,s,r){if(!re(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=r.get(e);if(o)return o;const i=Sa(Yl(e));if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Zt(e){return Rt(e)?Zt(e.__v_raw):!!(e&&e.__v_isReactive)}function Rt(e){return!!(e&&e.__v_isReadonly)}function We(e){return!!(e&&e.__v_isShallow)}function Ls(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function xa(e){return!le(e,"__v_skip")&&Object.isExtensible(e)&&ai(e,"__v_skip",!0),e}const nt=e=>re(e)?Ut(e):e,mn=e=>re(e)?fr(e):e;function xe(e){return e?e.__v_isRef===!0:!1}function Qe(e){return Oi(e,!1)}function Ra(e){return Oi(e,!0)}function Oi(e,t){return xe(e)?e:new Ta(e,t)}class Ta{constructor(t,n){this.dep=new Os,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:X(t),this._value=n?t:nt(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||We(t)||Rt(t);t=s?t:X(t),Te(t,n)&&(this._rawValue=t,this._value=s?t:nt(t),this.dep.trigger())}}function Wd(e){e.dep&&e.dep.trigger()}function q(e){return xe(e)?e.value:e}function qd(e){return G(e)?e():q(e)}const ka={get:(e,t,n)=>t==="__v_raw"?e:q(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return xe(r)&&!xe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Ii(e){return Zt(e)?e:new Proxy(e,ka)}class Pa{constructor(t){this.__v_isRef=!0,this._value=void 0;const n=this.dep=new Os,{get:s,set:r}=t(n.track.bind(n),n.trigger.bind(n));this._get=s,this._set=r}get value(){return this._value=this._get()}set value(t){this._set(t)}}function Oa(e){return new Pa(e)}function zd(e){const t=F(e)?new Array(e.length):{};for(const n in e)t[n]=Ni(e,n);return t}class Ia{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=qe(n)?n:String(n),this._raw=X(t);let r=!0,o=t;if(!F(t)||qe(this._key)||!xs(this._key))do r=!Ls(o)||We(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=q(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&xe(this._raw[this._key])){const n=this._object[this._key];if(xe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return ua(this._raw,this._key)}}class Na{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 Jd(e,t,n){return xe(e)?e:G(e)?new Na(e):re(e)&&arguments.length>1?Ni(e,t,n):Qe(e)}function Ni(e,t,n){return new Ia(e,t,n)}class Ma{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Os(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=jn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&de!==this)return mi(this,!0),!0}get value(){const t=this.dep.track();return _i(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function La(e,t,n=!1){let s,r;return G(e)?s=e:(s=e.get,r=e.set),new Ma(s,r,n)}const ss={},fs=new WeakMap;let zt;function Da(e,t=!1,n=zt){if(n){let s=fs.get(n);s||fs.set(n,s=[]),s.push(e)}}function Va(e,t,n=ne){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:a}=n,u=x=>r?x:We(x)||r===!1||r===0?Et(x,1):Et(x);let c,f,p,g,C=!1,w=!1;if(xe(e)?(f=()=>e.value,C=We(e)):Zt(e)?(f=()=>u(e),C=!0):F(e)?(w=!0,C=e.some(x=>Zt(x)||We(x)),f=()=>e.map(x=>{if(xe(x))return x.value;if(Zt(x))return u(x);if(G(x))return a?a(x,2):x()})):G(e)?t?f=a?()=>a(e,2):e:f=()=>{if(p){St();try{p()}finally{xt()}}const x=zt;zt=c;try{return a?a(e,3,[g]):e(g)}finally{zt=x}}:f=ht,t&&r){const x=f,$=r===!0?1/0:r;f=()=>Et(x(),$)}const I=la(),S=()=>{c.stop(),I&&I.active&&Rr(I.effects,c)};if(o&&t){const x=t;t=(...$)=>{const z=x(...$);return S(),z}}let _=w?new Array(e.length).fill(ss):ss;const k=x=>{if(!(!(c.flags&1)||!c.dirty&&!x))if(t){const $=c.run();if(x||r||C||(w?$.some((z,V)=>Te(z,_[V])):Te($,_))){p&&p();const z=zt;zt=c;try{const V=[$,_===ss?void 0:w&&_[0]===ss?[]:_,g];_=$,a?a(t,3,V):t(...V)}finally{zt=z}}}else c.run()};return l&&l(k),c=new pi(f),c.scheduler=i?()=>i(k,!1):k,g=x=>Da(x,!1,c),p=c.onStop=()=>{const x=fs.get(c);if(x){if(a)a(x,4);else for(const $ of x)$();fs.delete(c)}},t?s?k(!0):_=c.run():i?i(k.bind(null,!0),!0):c.run(),S.pause=c.pause.bind(c),S.resume=c.resume.bind(c),S.stop=S,S}function Et(e,t=1/0,n){if(t<=0||!re(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,xe(e))Et(e.value,t,n);else if(F(e))for(let s=0;s<e.length;s++)Et(e[s],t,n);else if(Ss(e)||fn(e))e.forEach(s=>{Et(s,t,n)});else if(li(e)){for(const s in e)Et(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Et(e[s],t,n)}return e}/**
|
|
11
|
-
* @vue/runtime-core v3.5.40
|
|
12
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
13
|
-
* @license MIT
|
|
14
|
-
**/function Yn(e,t,n,s){try{return s?e(...s):e()}catch(r){Ds(r,t,n)}}function Xe(e,t,n,s){if(G(e)){const r=Yn(e,t,n,s);return r&&oi(r)&&r.catch(o=>{Ds(o,t,n)}),r}if(F(e)){const r=[];for(let o=0;o<e.length;o++)r.push(Xe(e[o],t,n,s));return r}}function Ds(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ne;if(t){let l=t.parent;const a=t.proxy,u=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const c=l.ec;if(c){for(let f=0;f<c.length;f++)if(c[f](e,a,u)===!1)return}l=l.parent}if(o){St(),Yn(o,null,10,[e,a,u]),xt();return}}Fa(e,n,r,s,i)}function Fa(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const je=[];let ut=-1;const dn=[];let Mt=null,an=0;const Mi=Promise.resolve();let ds=null;function Hn(e){const t=ds||Mi;return e?t.then(this?e.bind(this):e):t}function ja(e){let t=ut+1,n=je.length;for(;t<n;){const s=t+n>>>1,r=je[s],o=$n(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function Ir(e){if(!(e.flags&1)){const t=$n(e),n=je[je.length-1];!n||!(e.flags&2)&&t>=$n(n)?je.push(e):je.splice(ja(t),0,e),e.flags|=1,Li()}}function Li(){ds||(ds=Mi.then(Vi))}function Ba(e){F(e)?dn.push(...e):Mt&&e.id===-1?Mt.splice(an+1,0,e):e.flags&1||(dn.push(e),e.flags|=1),Li()}function Qr(e,t,n=ut+1){for(;n<je.length;n++){const s=je[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;je.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Di(e){if(dn.length){const t=[...new Set(dn)].sort((n,s)=>$n(n)-$n(s));if(dn.length=0,Mt){Mt.push(...t);return}for(Mt=t,an=0;an<Mt.length;an++){const n=Mt[an];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Mt=null,an=0}}const $n=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Vi(e){try{for(ut=0;ut<je.length;ut++){const t=je[ut];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Yn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ut<je.length;ut++){const t=je[ut];t&&(t.flags&=-2)}ut=-1,je.length=0,Di(),ds=null,(je.length||dn.length)&&Vi()}}let ke=null,Fi=null;function hs(e){const t=ke;return ke=e,Fi=e&&e.type.__scopeId||null,t}function Ae(e,t=ke,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&ys(-1);const o=hs(t),i=wt.length;let l;try{l=e(...r)}finally{for(let a=wt.length;a>i;a--)Fr();hs(o),s._d&&ys(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function Ha(e,t){if(ke===null)return e;const n=Hs(ke),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,a=ne]=t[r];o&&(G(o)&&(o={mounted:o,updated:o}),o.deep&&Et(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function Kt(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let a=l.dir[s];a&&(St(),Xe(a,n,8,[e.el,l,e,t]),xt())}}function is(e,t){if(Ne){let n=Ne.provides;const s=Ne.parent&&Ne.parent.provides;s===n&&(n=Ne.provides=Object.create(s)),n[e]=t}}function tt(e,t,n=!1){const s=Zn();if(s||pn){let r=pn?pn._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return n&&G(t)?t.call(s&&s.proxy):t}}const $a=Symbol.for("v-scx"),Ua=()=>tt($a);function Yd(e,t){return Qn(e,null,t)}function Qd(e,t){return Qn(e,null,{flush:"post"})}function Ga(e,t){return Qn(e,null,{flush:"sync"})}function pt(e,t,n){return Qn(e,t,n)}function Qn(e,t,n=ne){const{immediate:s,deep:r,flush:o,once:i}=n,l=Ee({},n),a=t&&s||!t&&o!=="post";let u;if(qn){if(o==="sync"){const g=Ua();u=g.__watcherHandles||(g.__watcherHandles=[])}else if(!a){const g=()=>{};return g.stop=ht,g.resume=ht,g.pause=ht,g}}const c=Ne;l.call=(g,C,w)=>Xe(g,c,C,w);let f=!1;o==="post"?l.scheduler=g=>{Ve(g,c&&c.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(g,C)=>{C?g():Ir(g)}),l.augmentJob=g=>{t&&(g.flags|=4),f&&(g.flags|=2,c&&(g.id=c.uid,g.i=c))};const p=Va(e,t,l);return qn&&(u?u.push(p):a&&p()),p}function Ka(e,t,n){const s=this.proxy,r=he(e)?e.includes(".")?ji(s,e):()=>s[e]:e.bind(s,s);let o;G(t)?o=t:(o=t.handler,n=t);const i=es(this),l=Qn(r,o.bind(s),n);return i(),l}function ji(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;r<n.length&&s;r++)s=s[n[r]];return s}}const It=new WeakMap,Bi=Symbol("_vte"),Hi=e=>e.__isTeleport,Jt=e=>e&&(e.disabled||e.disabled===""),Wa=e=>e&&(e.defer||e.defer===""),Xr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,Zr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,dr=(e,t)=>{const n=e&&e.to;return he(n)?t?t(n):null:n},qa={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,a,u){const{mc:c,pc:f,pbc:p,o:{insert:g,querySelector:C,createText:w,createComment:I,parentNode:S}}=u,_=Jt(t.props);let{dynamicChildren:k}=t;const x=(V,ee,L)=>{V.shapeFlag&16&&c(V.children,ee,L,r,o,i,l,a)},$=(V=t)=>{const ee=Jt(V.props),L=V.target=dr(V.props,C),J=hr(L,V,w,g);L&&(i!=="svg"&&Xr(L)?i="svg":i!=="mathml"&&Zr(L)&&(i="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(L),ee||(x(V,L,J),Pn(V,!1)))},z=V=>{const ee=()=>{if(It.get(V)===ee){if(It.delete(V),Jt(V.props)){const L=S(V.el)||n;x(V,L,V.anchor),Pn(V,!0)}$(V)}};It.set(V,ee),Ve(ee,o)};if(e==null){const V=t.el=w(""),ee=t.anchor=w("");if(g(V,n,s),g(ee,n,s),Wa(t.props)||o&&o.pendingBranch){z(t);return}_&&(x(t,n,ee),Pn(t,!0)),$()}else{t.el=e.el;const V=t.anchor=e.anchor,ee=It.get(e);if(ee){ee.flags|=8,It.delete(e),z(t);return}t.targetStart=e.targetStart;const L=t.target=e.target,J=t.targetAnchor=e.targetAnchor,se=Jt(e.props),M=se?n:L,te=se?V:J;if(i==="svg"||Xr(L)?i="svg":(i==="mathml"||Zr(L))&&(i="mathml"),k?(p(e.dynamicChildren,k,M,r,o,i,l),Vr(e,t,!0)):a||f(e,t,M,te,r,o,i,l,!1),_)se?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):rs(t,n,V,u,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const ye=dr(t.props,C);ye&&(t.target=ye,rs(t,ye,null,u,0))}else se&&rs(t,L,J,u,1);Pn(t,_)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:a,targetStart:u,targetAnchor:c,target:f,props:p}=e,g=Jt(p),C=o||!g,w=It.get(e);if(w&&(w.flags|=8,It.delete(e)),f&&(r(u),r(c)),o&&r(a),!w&&(g||f)&&i&16)for(let I=0;I<l.length;I++){const S=l[I];s(S,t,n,C,!!S.dynamicChildren)}},move:rs,hydrate:za};function rs(e,t,n,{o:{insert:s},m:r},o=2){o===0&&s(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:a,children:u,props:c}=e,f=o===2;if(f&&s(i,t,n),!It.has(e)&&(!f||Jt(c))&&a&16)for(let p=0;p<u.length;p++)r(u[p],t,n,2);f&&s(l,t,n)}function za(e,t,n,s,r,o,{o:{nextSibling:i,parentNode:l,querySelector:a,insert:u,createText:c}},f){function p(I,S){let _=S;for(;_;){if(_&&_.nodeType===8){if(_.data==="teleport start anchor")t.targetStart=_;else if(_.data==="teleport anchor"){t.targetAnchor=_,I._lpa=t.targetAnchor&&i(t.targetAnchor);break}}_=i(_)}}function g(I,S){S.anchor=f(i(I),S,l(I),n,s,r,o)}const C=t.target=dr(t.props,a),w=Jt(t.props);if(C){const I=C._lpa||C.firstChild;t.shapeFlag&16&&(w?(g(e,t),p(C,I),t.targetAnchor||hr(C,t,c,u,l(e)===C?e:null)):(t.anchor=i(e),p(C,I),t.targetAnchor||hr(C,t,c,u),f(I&&i(I),t,C,n,s,r,o))),Pn(t,w)}else w&&t.shapeFlag&16&&(g(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const Xd=qa;function Pn(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function hr(e,t,n,s,r=null){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[Bi]=i,e&&(s(o,e,r),s(i,e,r)),i}const Ye=Symbol("_leaveCb"),xn=Symbol("_enterCb");function $i(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return An(()=>{e.isMounted=!0}),Mr(()=>{e.isUnmounting=!0}),e}const Je=[Function,Array],Ui={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Je,onEnter:Je,onAfterEnter:Je,onEnterCancelled:Je,onBeforeLeave:Je,onLeave:Je,onAfterLeave:Je,onLeaveCancelled:Je,onBeforeAppear:Je,onAppear:Je,onAfterAppear:Je,onAppearCancelled:Je},Gi=e=>{const t=e.subTree;return t.component?Gi(t.component):t},Ja={name:"BaseTransition",props:Ui,setup(e,{slots:t}){const n=Zn(),s=$i();return()=>{const r=t.default&&Nr(t.default(),!0),o=r&&r.length?Ki(r):n.subTree?Ge():void 0;if(!o)return;const i=X(e),{mode:l}=i;if(s.isLeaving)return Ys(o);const a=eo(o);if(!a)return Ys(o);let u=Un(a,i,s,n,f=>u=f);a.type!==Ie&&tn(a,u);let c=n.subTree&&eo(n.subTree);if(c&&c.type!==Ie&&!Yt(c,a)&&Gi(n).type!==Ie){let f=Un(c,i,s,n);if(tn(c,f),l==="out-in"&&a.type!==Ie)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,c=void 0},Ys(o);l==="in-out"&&a.type!==Ie?f.delayLeave=(p,g,C)=>{const w=Wi(s,c);w[String(c.key)]=c,p[Ye]=()=>{g(),p[Ye]=void 0,delete u.delayedLeave,c=void 0},u.delayedLeave=()=>{C(),delete u.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return o}}};function Ki(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ie){t=n;break}}return t}const Ya=Ja;function Wi(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function Un(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:u,onAfterEnter:c,onEnterCancelled:f,onBeforeLeave:p,onLeave:g,onAfterLeave:C,onLeaveCancelled:w,onBeforeAppear:I,onAppear:S,onAfterAppear:_,onAppearCancelled:k}=t,x=String(e.key),$=Wi(n,e),z=(L,J)=>{L&&Xe(L,s,9,J)},V=(L,J)=>{const se=J[1];z(L,J),F(L)?L.every(M=>M.length<=1)&&se():L.length<=1&&se()},ee={mode:i,persisted:l,beforeEnter(L){let J=a;if(!n.isMounted)if(o)J=I||a;else return;L[Ye]&&L[Ye](!0);const se=$[x];se&&Yt(e,se)&&se.el[Ye]&&se.el[Ye](),z(J,[L])},enter(L){if($[x]===e)return;let J=u,se=c,M=f;if(!n.isMounted)if(o)J=S||u,se=_||c,M=k||f;else return;let te=!1;L[xn]=$e=>{te||(te=!0,$e?z(M,[L]):z(se,[L]),ee.delayedLeave&&ee.delayedLeave(),L[xn]=void 0)};const ye=L[xn].bind(null,!1);J?V(J,[L,ye]):ye()},leave(L,J){const se=String(e.key);if(L[xn]&&L[xn](!0),n.isUnmounting)return J();z(p,[L]);let M=!1;L[Ye]=ye=>{M||(M=!0,J(),ye?z(w,[L]):z(C,[L]),L[Ye]=void 0,$[se]===e&&delete $[se])};const te=L[Ye].bind(null,!1);$[se]=e,g?V(g,[L,te]):te()},clone(L){const J=Un(L,t,n,s,r);return r&&r(J),J}};return ee}function Ys(e){if(Vs(e))return e=jt(e),e.children=null,e}function eo(e){if(!Vs(e))return Hi(e.type)&&e.children?Ki(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&G(n.default))return n.default()}}function tn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,tn(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 Nr(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===_e?(i.patchFlag&128&&r++,s=s.concat(Nr(i.children,t,l))):(t||i.type!==Ie)&&s.push(l!=null?jt(i,{key:l}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function nn(e,t){return G(e)?Ee({name:e.name},t,{setup:e}):e}function Zd(){const e=Zn();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function qi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function to(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const ps=new WeakMap;function Dn(e,t,n,s,r=!1){if(F(e)){e.forEach((w,I)=>Dn(w,t&&(F(t)?t[I]:t),n,s,r));return}if(hn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Dn(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?Hs(s.component):s.el,i=r?null:o,{i:l,r:a}=e,u=t&&t.r,c=l.refs===ne?l.refs={}:l.refs,f=l.setupState,p=X(f),g=f===ne?ri:w=>to(c,w)?!1:le(p,w),C=(w,I)=>!(I&&to(c,I));if(u!=null&&u!==a){if(no(t),he(u))c[u]=null,g(u)&&(f[u]=null);else if(xe(u)){const w=t;C(u,w.k)&&(u.value=null),w.k&&(c[w.k]=null)}}if(G(a))Yn(a,l,12,[i,c]);else{const w=he(a),I=xe(a);if(w||I){const S=()=>{if(e.f){const _=w?g(a)?f[a]:c[a]:C()||!e.k?a.value:c[e.k];if(r)F(_)&&Rr(_,o);else if(F(_))_.includes(o)||_.push(o);else if(w)c[a]=[o],g(a)&&(f[a]=c[a]);else{const k=[o];C(a,e.k)&&(a.value=k),e.k&&(c[e.k]=k)}}else w?(c[a]=i,g(a)&&(f[a]=i)):I&&(C(a,e.k)&&(a.value=i),e.k&&(c[e.k]=i))};if(i){const _=()=>{S(),ps.delete(e)};_.id=-1,ps.set(e,_),Ve(_,n)}else no(e),S()}}}function no(e){const t=ps.get(e);t&&(t.flags|=8,ps.delete(e))}ks().requestIdleCallback;ks().cancelIdleCallback;const hn=e=>!!e.type.__asyncLoader,Vs=e=>e.type.__isKeepAlive;function Qa(e,t){zi(e,"a",t)}function Xa(e,t){zi(e,"da",t)}function zi(e,t,n=Ne){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Fs(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Vs(r.parent.vnode)&&Za(s,t,n,r),r=r.parent}}function Za(e,t,n,s){const r=Fs(t,e,s,!0);Xn(()=>{Rr(s[t],r)},n)}function Fs(e,t,n=Ne,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{St();const l=es(n),a=Xe(t,n,e,i);return l(),xt(),a});return s?r.unshift(o):r.push(o),o}}const Tt=e=>(t,n=Ne)=>{(!qn||e==="sp")&&Fs(e,(...s)=>t(...s),n)},ec=Tt("bm"),An=Tt("m"),tc=Tt("bu"),Ji=Tt("u"),Mr=Tt("bum"),Xn=Tt("um"),nc=Tt("sp"),sc=Tt("rtg"),rc=Tt("rtc");function oc(e,t=Ne){Fs("ec",e,t)}const Yi="components";function pr(e,t){return Xi(Yi,e,!0,t)||e}const Qi=Symbol.for("v-ndc");function so(e){return he(e)?Xi(Yi,e,!1)||e:e||Qi}function Xi(e,t,n=!0,s=!1){const r=ke||Ne;if(r){const o=r.type;{const l=$c(o,!1);if(l&&(l===t||l===Le(t)||l===Ts(Le(t))))return o}const i=ro(r[e]||o[e],t)||ro(r.appContext[e],t);return!i&&s?o:i}}function ro(e,t){return e&&(e[t]||e[Le(t)]||e[Ts(Le(t))])}function gs(e,t,n,s){let r;const o=n,i=F(e);if(i||he(e)){const l=i&&Zt(e);let a=!1,u=!1;l&&(a=!We(e),u=Rt(e),e=Is(e)),r=new Array(e.length);for(let c=0,f=e.length;c<f;c++)r[c]=t(a?u?mn(nt(e[c])):nt(e[c]):e[c],c,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,o)}else if(re(e))if(e[Symbol.iterator])r=Array.from(e,(l,a)=>t(l,a,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let a=0,u=l.length;a<u;a++){const c=l[a];r[a]=t(e[c],c,a,o)}}else r=[];return r}function ic(e,t,n={},s,r,o){if(ke.ce||ke.parent&&hn(ke.parent)&&ke.parent.ce){const u=n,c=Object.keys(u).length>0;return t!=="default"&&(u.name=t),Z(),At(_e,null,[W("slot",u,s)],c?-2:64)}let i=e[t];i&&i._c&&(i._d=!1);const l=wt.length;Z();let a;try{const u=i&&Zi(i(n)),c=n.key||o||u&&u.key;a=At(_e,{key:(c&&!qe(c)?c:`_${t}`)+(!u&&s?"_fb":"")},u||(s?s():[]),u&&e._===1?64:-2)}catch(u){for(let c=wt.length;c>l;c--)Fr();throw u}finally{i&&i._c&&(i._d=!0)}return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),a}function Zi(e){return e.some(t=>Wn(t)?!(t.type===Ie||t.type===_e&&!Zi(t.children)):!0)?e:null}const gr=e=>e?_l(e)?Hs(e):gr(e.parent):null,Vn=Ee(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=>gr(e.parent),$root:e=>gr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>tl(e),$forceUpdate:e=>e.f||(e.f=()=>{Ir(e.update)}),$nextTick:e=>e.n||(e.n=Hn.bind(e.proxy)),$watch:e=>Ka.bind(e)}),Qs=(e,t)=>e!==ne&&!e.__isScriptSetup&&le(e,t),lc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Qs(s,t))return i[t]=1,s[t];if(r!==ne&&le(r,t))return i[t]=2,r[t];if(le(o,t))return i[t]=3,o[t];if(n!==ne&&le(n,t))return i[t]=4,n[t];mr&&(i[t]=0)}}const u=Vn[t];let c,f;if(u)return t==="$attrs"&&Oe(e.attrs,"get",""),u(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==ne&&le(n,t))return i[t]=4,n[t];if(f=a.config.globalProperties,le(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Qs(r,t)?(r[t]=n,!0):s!==ne&&le(s,t)?(s[t]=n,!0):le(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:o,type:i}},l){let a;return!!(n[l]||e!==ne&&l[0]!=="$"&&le(e,l)||Qs(t,l)||le(o,l)||le(s,l)||le(Vn,l)||le(r.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:le(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Gn(e){return F(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}function eh(e,t){const n=Gn(e);for(const s in t){if(s.startsWith("__skip"))continue;let r=n[s];r?F(r)||G(r)?r=n[s]={type:r,default:t[s]}:r.default=t[s]:r===null&&(r=n[s]={default:t[s]}),r&&t[`__skip_${s}`]&&(r.skipFactory=!0)}return n}function th(e,t){return!e||!t?e||t:F(e)&&F(t)?e.concat(t):Ee({},Gn(e),Gn(t))}let mr=!0;function ac(e){const t=tl(e),n=e.proxy,s=e.ctx;mr=!1,t.beforeCreate&&oo(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:u,created:c,beforeMount:f,mounted:p,beforeUpdate:g,updated:C,activated:w,deactivated:I,beforeDestroy:S,beforeUnmount:_,destroyed:k,unmounted:x,render:$,renderTracked:z,renderTriggered:V,errorCaptured:ee,serverPrefetch:L,expose:J,inheritAttrs:se,components:M,directives:te,filters:ye}=t;if(u&&cc(u,s,null),i)for(const ce in i){const oe=i[ce];G(oe)&&(s[ce]=oe.bind(n))}if(r){const ce=r.call(n,n);re(ce)&&(e.data=Ut(ce))}if(mr=!0,o)for(const ce in o){const oe=o[ce],gt=G(oe)?oe.bind(n,n):G(oe.get)?oe.get.bind(n,n):ht,kt=!G(oe)&&G(oe.set)?oe.set.bind(n):ht,rt=Me({get:gt,set:kt});Object.defineProperty(s,ce,{enumerable:!0,configurable:!0,get:()=>rt.value,set:He=>rt.value=He})}if(l)for(const ce in l)el(l[ce],s,n,ce);if(a){const ce=G(a)?a.call(n):a;Reflect.ownKeys(ce).forEach(oe=>{is(oe,ce[oe])})}c&&oo(c,e,"c");function be(ce,oe){F(oe)?oe.forEach(gt=>ce(gt.bind(n))):oe&&ce(oe.bind(n))}if(be(ec,f),be(An,p),be(tc,g),be(Ji,C),be(Qa,w),be(Xa,I),be(oc,ee),be(rc,z),be(sc,V),be(Mr,_),be(Xn,x),be(nc,L),F(J))if(J.length){const ce=e.exposed||(e.exposed={});J.forEach(oe=>{Object.defineProperty(ce,oe,{get:()=>n[oe],set:gt=>n[oe]=gt,enumerable:!0})})}else e.exposed||(e.exposed={});$&&e.render===ht&&(e.render=$),se!=null&&(e.inheritAttrs=se),M&&(e.components=M),te&&(e.directives=te),L&&qi(e)}function cc(e,t,n=ht){F(e)&&(e=yr(e));for(const s in e){const r=e[s];let o;re(r)?"default"in r?o=tt(r.from||s,r.default,!0):o=tt(r.from||s):o=tt(r),xe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function oo(e,t,n){Xe(F(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function el(e,t,n,s){let r=s.includes(".")?ji(n,s):()=>n[s];if(he(e)){const o=t[e];G(o)&&pt(r,o)}else if(G(e))pt(r,e.bind(n));else if(re(e))if(F(e))e.forEach(o=>el(o,t,n,s));else{const o=G(e.handler)?e.handler.bind(n):t[e.handler];G(o)&&pt(r,o,e)}}function tl(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(u=>ms(a,u,i,!0)),ms(a,t,i)),re(t)&&o.set(t,a),a}function ms(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&ms(e,o,n,!0),r&&r.forEach(i=>ms(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=uc[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const uc={data:io,props:lo,emits:lo,methods:On,computed:On,beforeCreate:De,created:De,beforeMount:De,mounted:De,beforeUpdate:De,updated:De,beforeDestroy:De,beforeUnmount:De,destroyed:De,unmounted:De,activated:De,deactivated:De,errorCaptured:De,serverPrefetch:De,components:On,directives:On,watch:dc,provide:io,inject:fc};function io(e,t){return t?e?function(){return Ee(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function fc(e,t){return On(yr(e),yr(t))}function yr(e){if(F(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function De(e,t){return e?[...new Set([].concat(e,t))]:t}function On(e,t){return e?Ee(Object.create(null),e,t):t}function lo(e,t){return e?F(e)&&F(t)?[...new Set([...e,...t])]:Ee(Object.create(null),Gn(e),Gn(t??{})):t}function dc(e,t){if(!e)return t;if(!t)return e;const n=Ee(Object.create(null),e);for(const s in t)n[s]=De(e[s],t[s]);return n}function nl(){return{app:null,config:{isNativeTag:ri,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 hc=0;function pc(e,t){return function(s,r=null){G(s)||(s=Ee({},s)),r!=null&&!re(r)&&(r=null);const o=nl(),i=new WeakSet,l=[];let a=!1;const u=o.app={_uid:hc++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:Gc,get config(){return o.config},set config(c){},use(c,...f){return i.has(c)||(c&&G(c.install)?(i.add(c),c.install(u,...f)):G(c)&&(i.add(c),c(u,...f))),u},mixin(c){return o.mixins.includes(c)||o.mixins.push(c),u},component(c,f){return f?(o.components[c]=f,u):o.components[c]},directive(c,f){return f?(o.directives[c]=f,u):o.directives[c]},mount(c,f,p){if(!a){const g=u._ceVNode||W(s,r);return g.appContext=o,p===!0?p="svg":p===!1&&(p=void 0),e(g,c,p),a=!0,u._container=c,c.__vue_app__=u,Hs(g.component)}},onUnmount(c){l.push(c)},unmount(){a&&(Xe(l,u._instance,16),e(null,u._container),delete u._container.__vue_app__)},provide(c,f){return o.provides[c]=f,u},runWithContext(c){const f=pn;pn=u;try{return c()}finally{pn=f}}};return u}}let pn=null;function nh(e,t,n=ne){const s=Zn(),r=Le(t),o=$t(t),i=sl(e,r),l=Oa((a,u)=>{let c,f=ne,p;return Ga(()=>{const g=e[r];Te(c,g)&&(c=g,u())}),{get(){return a(),n.get?n.get(c):c},set(g){const C=n.set?n.set(g):g;if(!Te(C,c)&&!(f!==ne&&Te(g,f)))return;const w=s.vnode.props,I=!!(w&&(t in w||r in w||o in w)&&(`onUpdate:${t}`in w||`onUpdate:${r}`in w||`onUpdate:${o}`in w));I||(c=g,u()),s.emit(`update:${t}`,C),Te(g,f)&&(Te(g,C)&&!Te(C,p)||I&&f!==ne&&!Te(C,c))&&u(),f=g,p=C}}});return l[Symbol.iterator]=()=>{let a=0;return{next(){return a<2?{value:a++?i||ne:l,done:!1}:{done:!0}}}},l}const sl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Le(t)}Modifiers`]||e[`${$t(t)}Modifiers`];function gc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||ne;let r=n;const o=t.startsWith("update:"),i=o&&sl(s,t.slice(7));i&&(i.trim&&(r=n.map(c=>he(c)?c.trim():c)),i.number&&(r=n.map(Tr)));let l,a=s[l=Ks(t)]||s[l=Ks(Le(t))];!a&&o&&(a=s[l=Ks($t(t))]),a&&Xe(a,e,6,r);const u=s[l+"Once"];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Xe(u,e,6,r)}}const mc=new WeakMap;function rl(e,t,n=!1){const s=n?mc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!G(e)){const a=u=>{const c=rl(u,t,!0);c&&(l=!0,Ee(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(re(e)&&s.set(e,null),null):(F(o)?o.forEach(a=>i[a]=null):Ee(i,o),re(e)&&s.set(e,i),i)}function js(e,t){return!e||!As(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),le(e,t[0].toLowerCase()+t.slice(1))||le(e,$t(t))||le(e,t))}function ao(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:a,render:u,renderCache:c,props:f,data:p,setupState:g,ctx:C,inheritAttrs:w}=e,I=hs(e);let S,_;try{if(n.shapeFlag&4){const x=r||s,$=x;S=dt(u.call($,x,c,f,g,p,C)),_=l}else{const x=t;S=dt(x.length>1?x(f,{attrs:l,slots:i,emit:a}):x(f,null)),_=t.props?l:yc(l)}}catch(x){wt.length=0,Ds(x,e,1),S=W(Ie)}let k=S;if(_&&w!==!1){const x=Object.keys(_),{shapeFlag:$}=k;x.length&&$&7&&(o&&x.some(Cs)&&(_=vc(_,o)),k=jt(k,_,!1,!0))}return n.dirs&&(k=jt(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(n.dirs):n.dirs),n.transition&&tn(k,n.transition),S=k,hs(I),S}const yc=e=>{let t;for(const n in e)(n==="class"||n==="style"||As(n))&&((t||(t={}))[n]=e[n]);return t},vc=(e,t)=>{const n={};for(const s in e)(!Cs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function _c(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:a}=t,u=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?co(s,i,u):!!i;if(a&8){const c=t.dynamicProps;for(let f=0;f<c.length;f++){const p=c[f];if(ol(i,s,p)&&!js(u,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?co(s,i,u):!0:!!i;return!1}function co(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(ol(t,e,o)&&!js(n,o))return!0}return!1}function ol(e,t,n){const s=e[n],r=t[n];return n==="style"&&re(s)&&re(r)?!en(s,r):s!==r}function bc({vnode:e,parent:t,suspense:n},s){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=s,e=r),r===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const il={},ll=()=>Object.create(il),al=e=>Object.getPrototypeOf(e)===il;function Ec(e,t,n,s=!1){const r={},o=ll();e.propsDefaults=Object.create(null),cl(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:Pi(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function wc(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=X(r),[a]=e.propsOptions;let u=!1;if((s||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let f=0;f<c.length;f++){let p=c[f];if(js(e.emitsOptions,p))continue;const g=t[p];if(a)if(le(o,p))g!==o[p]&&(o[p]=g,u=!0);else{const C=Le(p);r[C]=vr(a,l,C,g,e,!1)}else g!==o[p]&&(o[p]=g,u=!0)}}}else{cl(e,t,r,o)&&(u=!0);let c;for(const f in l)(!t||!le(t,f)&&((c=$t(f))===f||!le(t,c)))&&(a?n&&(n[f]!==void 0||n[c]!==void 0)&&(r[f]=vr(a,l,f,void 0,e,!0)):delete r[f]);if(o!==l)for(const f in o)(!t||!le(t,f))&&(delete o[f],u=!0)}u&&bt(e.attrs,"set","")}function cl(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(Nn(a))continue;const u=t[a];let c;r&&le(r,c=Le(a))?!o||!o.includes(c)?n[c]=u:(l||(l={}))[c]=u:js(e.emitsOptions,a)||(!(a in s)||u!==s[a])&&(s[a]=u,i=!0)}if(o){const a=X(n),u=l||ne;for(let c=0;c<o.length;c++){const f=o[c];n[f]=vr(r,a,f,u[f],e,!le(u,f))}}return i}function vr(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=le(i,"default");if(l&&s===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&G(a)){const{propsDefaults:u}=r;if(n in u)s=u[n];else{const c=es(r);s=u[n]=a.call(null,t),c()}}else s=a;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===$t(n))&&(s=!0))}return s}const Ac=new WeakMap;function ul(e,t,n=!1){const s=n?Ac:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let a=!1;if(!G(e)){const c=f=>{a=!0;const[p,g]=ul(f,t,!0);Ee(i,p),g&&l.push(...g)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!a)return re(e)&&s.set(e,un),un;if(F(o))for(let c=0;c<o.length;c++){const f=Le(o[c]);uo(f)&&(i[f]=ne)}else if(o)for(const c in o){const f=Le(c);if(uo(f)){const p=o[c],g=i[f]=F(p)||G(p)?{type:p}:Ee({},p),C=g.type;let w=!1,I=!0;if(F(C))for(let S=0;S<C.length;++S){const _=C[S],k=G(_)&&_.name;if(k==="Boolean"){w=!0;break}else k==="String"&&(I=!1)}else w=G(C)&&C.name==="Boolean";g[0]=w,g[1]=I,(w||le(g,"default"))&&l.push(f)}}const u=[i,l];return re(e)&&s.set(e,u),u}function uo(e){return e[0]!=="$"&&!Nn(e)}const Lr=e=>e==="_"||e==="_ctx"||e==="$stable",Dr=e=>F(e)?e.map(dt):[dt(e)],Cc=(e,t,n)=>{if(t._n)return t;const s=Ae((...r)=>Dr(t(...r)),n);return s._c=!1,s},fl=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Lr(r))continue;const o=e[r];if(G(o))t[r]=Cc(r,o,s);else if(o!=null){const i=Dr(o);t[r]=()=>i}}},dl=(e,t)=>{const n=Dr(t);e.slots.default=()=>n},hl=(e,t,n)=>{for(const s in t)(n||!Lr(s))&&(e[s]=t[s])},Sc=(e,t,n)=>{const s=e.slots=ll();if(e.vnode.shapeFlag&32){const r=t._;r?(hl(s,t,n),n&&ai(s,"_",r,!0)):fl(t,s)}else t&&dl(e,t)},xc=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=ne;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:hl(r,t,n):(o=!t.$stable,fl(t,r)),i=t}else t&&(dl(e,t),i={default:1});if(o)for(const l in r)!Lr(l)&&i[l]==null&&delete r[l]},Ve=Oc;function Rc(e){return Tc(e)}function Tc(e,t){const n=ks();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:a,setText:u,setElementText:c,parentNode:f,nextSibling:p,setScopeId:g=ht,insertStaticContent:C}=e,w=(d,h,m,v=null,E=null,y=null,P=void 0,T=null,R=!!h.dynamicChildren)=>{if(d===h)return;d&&!Yt(d,h)&&(v=b(d),He(d,E,y,!0),d=null),h.patchFlag===-2&&(R=!1,h.dynamicChildren=null);const{type:A,ref:U,shapeFlag:N}=h;switch(A){case Bs:I(d,h,m,v);break;case Ie:S(d,h,m,v);break;case ls:d==null&&_(h,m,v,P);break;case _e:M(d,h,m,v,E,y,P,T,R);break;default:N&1?$(d,h,m,v,E,y,P,T,R):N&6?te(d,h,m,v,E,y,P,T,R):(N&64||N&128)&&A.process(d,h,m,v,E,y,P,T,R,j)}U!=null&&E?Dn(U,d&&d.ref,y,h||d,!h):U==null&&d&&d.ref!=null&&Dn(d.ref,null,y,d,!0)},I=(d,h,m,v)=>{if(d==null)s(h.el=l(h.children),m,v);else{const E=h.el=d.el;h.children!==d.children&&u(E,h.children)}},S=(d,h,m,v)=>{d==null?s(h.el=a(h.children||""),m,v):h.el=d.el},_=(d,h,m,v)=>{[d.el,d.anchor]=C(d.children,h,m,v,d.el,d.anchor)},k=({el:d,anchor:h},m,v)=>{let E;for(;d&&d!==h;)E=p(d),s(d,m,v),d=E;s(h,m,v)},x=({el:d,anchor:h})=>{let m;for(;d&&d!==h;)m=p(d),r(d),d=m;r(h)},$=(d,h,m,v,E,y,P,T,R)=>{if(h.type==="svg"?P="svg":h.type==="math"&&(P="mathml"),d==null)z(h,m,v,E,y,P,T,R);else{const A=d.el&&d.el._isVueCE?d.el:null;try{A&&A._beginPatch(),L(d,h,E,y,P,T,R)}finally{A&&A._endPatch()}}},z=(d,h,m,v,E,y,P,T)=>{let R,A;const{props:U,shapeFlag:N,transition:B,dirs:K}=d;if(R=d.el=i(d.type,y,U&&U.is,U),N&8?c(R,d.children):N&16&&ee(d.children,R,null,v,E,Xs(d,y),P,T),K&&Kt(d,null,v,"created"),V(R,d,d.scopeId,P,v),U){for(const fe in U)fe!=="value"&&!Nn(fe)&&o(R,fe,null,U[fe],y,v);"value"in U&&o(R,"value",null,U.value,y),(A=U.onVnodeBeforeMount)&&at(A,v,d)}K&&Kt(d,null,v,"beforeMount");const Q=kc(E,B);Q&&B.beforeEnter(R),s(R,h,m),((A=U&&U.onVnodeMounted)||Q||K)&&Ve(()=>{try{A&&at(A,v,d),Q&&B.enter(R),K&&Kt(d,null,v,"mounted")}finally{}},E)},V=(d,h,m,v,E)=>{if(m&&g(d,m),v)for(let y=0;y<v.length;y++)g(d,v[y]);if(E){let y=E.subTree;if(h===y||ml(y.type)&&(y.ssContent===h||y.ssFallback===h)){const P=E.vnode;V(d,P,P.scopeId,P.slotScopeIds,E.parent)}}},ee=(d,h,m,v,E,y,P,T,R=0)=>{for(let A=R;A<d.length;A++){const U=d[A]=T?_t(d[A]):dt(d[A]);w(null,U,h,m,v,E,y,P,T)}},L=(d,h,m,v,E,y,P)=>{const T=h.el=d.el;let{patchFlag:R,dynamicChildren:A,dirs:U}=h;R|=d.patchFlag&16;const N=d.props||ne,B=h.props||ne;let K;if(m&&Wt(m,!1),(K=B.onVnodeBeforeUpdate)&&at(K,m,h,d),U&&Kt(h,d,m,"beforeUpdate"),m&&Wt(m,!0),A&&(!d.dynamicChildren||d.dynamicChildren.length!==A.length)&&(R=0,P=!1,A=null),(N.innerHTML&&B.innerHTML==null||N.textContent&&B.textContent==null)&&c(T,""),A?J(d.dynamicChildren,A,T,m,v,Xs(h,E),y):P||oe(d,h,T,null,m,v,Xs(h,E),y,!1),R>0){if(R&16)se(T,N,B,m,E);else if(R&2&&N.class!==B.class&&o(T,"class",null,B.class,E),R&4&&o(T,"style",N.style,B.style,E),R&8){const Q=h.dynamicProps;for(let fe=0;fe<Q.length;fe++){const ue=Q[fe],we=N[ue],Re=B[ue];(Re!==we||ue==="value")&&o(T,ue,we,Re,E,m)}}R&1&&d.children!==h.children&&c(T,h.children)}else!P&&A==null&&se(T,N,B,m,E);((K=B.onVnodeUpdated)||U)&&Ve(()=>{K&&at(K,m,h,d),U&&Kt(h,d,m,"updated")},v)},J=(d,h,m,v,E,y,P)=>{for(let T=0;T<h.length;T++){const R=d[T],A=h[T],U=R.el&&(R.type===_e||!Yt(R,A)||R.shapeFlag&198)?f(R.el):m;w(R,A,U,null,v,E,y,P,!0)}},se=(d,h,m,v,E)=>{if(h!==m){if(h!==ne)for(const y in h)!Nn(y)&&!(y in m)&&o(d,y,h[y],null,E,v);for(const y in m){if(Nn(y))continue;const P=m[y],T=h[y];P!==T&&y!=="value"&&o(d,y,T,P,E,v)}"value"in m&&o(d,"value",h.value,m.value,E)}},M=(d,h,m,v,E,y,P,T,R)=>{const A=h.el=d?d.el:l(""),U=h.anchor=d?d.anchor:l("");let{patchFlag:N,dynamicChildren:B,slotScopeIds:K}=h;K&&(T=T?T.concat(K):K),d==null?(s(A,m,v),s(U,m,v),ee(h.children||[],m,U,E,y,P,T,R)):N>0&&N&64&&B&&d.dynamicChildren&&d.dynamicChildren.length===B.length?(J(d.dynamicChildren,B,m,E,y,P,T),(h.key!=null||E&&h===E.subTree)&&Vr(d,h,!0)):oe(d,h,m,U,E,y,P,T,R)},te=(d,h,m,v,E,y,P,T,R)=>{h.slotScopeIds=T,d==null?h.shapeFlag&512?E.ctx.activate(h,m,v,P,R):ye(h,m,v,E,y,P,R):$e(d,h,R)},ye=(d,h,m,v,E,y,P)=>{const T=d.component=Vc(d,v,E);if(Vs(d)&&(T.ctx.renderer=j),Fc(T,!1,P),T.asyncDep){if(E&&E.registerDep(T,be,P),!d.el){const R=T.subTree=W(Ie);S(null,R,h,m),d.placeholder=R.el}}else be(T,d,h,m,E,y,P)},$e=(d,h,m)=>{const v=h.component=d.component;if(_c(d,h,m))if(v.asyncDep&&!v.asyncResolved){ce(v,h,m);return}else v.next=h,v.update();else h.el=d.el,v.vnode=h},be=(d,h,m,v,E,y,P)=>{const T=()=>{if(d.isMounted){let{next:N,bu:B,u:K,parent:Q,vnode:fe}=d;{const it=pl(d);if(it){N&&(N.el=fe.el,ce(d,N,P)),it.asyncDep.then(()=>{Ve(()=>{d.isUnmounted||A()},E)});return}}let ue=N,we;Wt(d,!1),N?(N.el=fe.el,ce(d,N,P)):N=fe,B&&os(B),(we=N.props&&N.props.onVnodeBeforeUpdate)&&at(we,Q,N,fe),Wt(d,!0);const Re=ao(d),ot=d.subTree;d.subTree=Re,w(ot,Re,f(ot.el),b(ot),d,E,y),N.el=Re.el,ue===null&&bc(d,Re.el),K&&Ve(K,E),(we=N.props&&N.props.onVnodeUpdated)&&Ve(()=>at(we,Q,N,fe),E)}else{let N;const{el:B,props:K}=h,{bm:Q,m:fe,parent:ue,root:we,type:Re}=d,ot=hn(h);Wt(d,!1),Q&&os(Q),!ot&&(N=K&&K.onVnodeBeforeMount)&&at(N,ue,h),Wt(d,!0);{we.ce&&we.ce._hasShadowRoot()&&we.ce._injectChildStyle(Re,d.parent?d.parent.type:void 0);const it=d.subTree=ao(d);w(null,it,m,v,d,E,y),h.el=it.el}if(fe&&Ve(fe,E),!ot&&(N=K&&K.onVnodeMounted)){const it=h;Ve(()=>at(N,ue,it),E)}(h.shapeFlag&256||ue&&hn(ue.vnode)&&ue.vnode.shapeFlag&256)&&d.a&&Ve(d.a,E),d.isMounted=!0,h=m=v=null}};d.scope.on();const R=d.effect=new pi(T);d.scope.off();const A=d.update=R.run.bind(R),U=d.job=R.runIfDirty.bind(R);U.i=d,U.id=d.uid,R.scheduler=()=>Ir(U),Wt(d,!0),A()},ce=(d,h,m)=>{h.component=d;const v=d.vnode.props;d.vnode=h,d.next=null,wc(d,h.props,v,m),xc(d,h.children,m),St(),Qr(d),xt()},oe=(d,h,m,v,E,y,P,T,R=!1)=>{const A=d&&d.children,U=d?d.shapeFlag:0,N=h.children,{patchFlag:B,shapeFlag:K}=h;if(B>0){if(B&128){kt(A,N,m,v,E,y,P,T,R);return}else if(B&256){gt(A,N,m,v,E,y,P,T,R);return}}K&8?(U&16&&ze(A,E,y),N!==A&&c(m,N)):U&16?K&16?kt(A,N,m,v,E,y,P,T,R):ze(A,E,y,!0):(U&8&&c(m,""),K&16&&ee(N,m,v,E,y,P,T,R))},gt=(d,h,m,v,E,y,P,T,R)=>{d=d||un,h=h||un;const A=d.length,U=h.length,N=Math.min(A,U);let B;for(B=0;B<N;B++){const K=h[B]=R?_t(h[B]):dt(h[B]);w(d[B],K,m,null,E,y,P,T,R)}A>U?ze(d,E,y,!0,!1,N):ee(h,m,v,E,y,P,T,R,N)},kt=(d,h,m,v,E,y,P,T,R)=>{let A=0;const U=h.length;let N=d.length-1,B=U-1;for(;A<=N&&A<=B;){const K=d[A],Q=h[A]=R?_t(h[A]):dt(h[A]);if(Yt(K,Q))w(K,Q,m,null,E,y,P,T,R);else break;A++}for(;A<=N&&A<=B;){const K=d[N],Q=h[B]=R?_t(h[B]):dt(h[B]);if(Yt(K,Q))w(K,Q,m,null,E,y,P,T,R);else break;N--,B--}if(A>N){if(A<=B){const K=B+1,Q=K<U?h[K].el:v;for(;A<=B;)w(null,h[A]=R?_t(h[A]):dt(h[A]),m,Q,E,y,P,T,R),A++}}else if(A>B)for(;A<=N;)He(d[A],E,y,!0),A++;else{const K=A,Q=A,fe=new Map;for(A=Q;A<=B;A++){const Ue=h[A]=R?_t(h[A]):dt(h[A]);Ue.key!=null&&fe.set(Ue.key,A)}let ue,we=0;const Re=B-Q+1;let ot=!1,it=0;const Cn=new Array(Re);for(A=0;A<Re;A++)Cn[A]=0;for(A=K;A<=N;A++){const Ue=d[A];if(we>=Re){He(Ue,E,y,!0);continue}let lt;if(Ue.key!=null)lt=fe.get(Ue.key);else for(ue=Q;ue<=B;ue++)if(Cn[ue-Q]===0&&Yt(Ue,h[ue])){lt=ue;break}lt===void 0?He(Ue,E,y,!0):(Cn[lt-Q]=A+1,lt>=it?it=lt:ot=!0,w(Ue,h[lt],m,null,E,y,P,T,R),we++)}const Gr=ot?Pc(Cn):un;for(ue=Gr.length-1,A=Re-1;A>=0;A--){const Ue=Q+A,lt=h[Ue],Kr=h[Ue+1],Wr=Ue+1<U?Kr.el||gl(Kr):v;Cn[A]===0?w(null,lt,m,Wr,E,y,P,T,R):ot&&(ue<0||A!==Gr[ue]?rt(lt,m,Wr,2):ue--)}}},rt=(d,h,m,v,E=null)=>{const{el:y,type:P,transition:T,children:R,shapeFlag:A}=d;if(A&6){rt(d.component.subTree,h,m,v);return}if(A&128){d.suspense.move(h,m,v);return}if(A&64){P.move(d,h,m,j);return}if(P===_e){s(y,h,m);for(let N=0;N<R.length;N++)rt(R[N],h,m,v);s(d.anchor,h,m);return}if(P===ls){k(d,h,m);return}if(v!==2&&A&1&&T)if(v===0)T.persisted&&!y[Ye]?s(y,h,m):(T.beforeEnter(y),s(y,h,m),Ve(()=>T.enter(y),E));else{const{leave:N,delayLeave:B,afterLeave:K}=T,Q=()=>{d.ctx.isUnmounted?r(y):s(y,h,m)},fe=()=>{const ue=y._isLeaving||!!y[Ye];y._isLeaving&&y[Ye](!0),T.persisted&&!ue?Q():N(y,()=>{Q(),K&&K()})};B?B(y,Q,fe):fe()}else s(y,h,m)},He=(d,h,m,v=!1,E=!1)=>{const{type:y,props:P,ref:T,children:R,dynamicChildren:A,shapeFlag:U,patchFlag:N,dirs:B,cacheIndex:K,memo:Q}=d;if(N===-2&&(E=!1),T!=null&&(St(),Dn(T,null,m,d,!0),xt()),K!=null&&(h.renderCache[K]=void 0),U&256){h.ctx.deactivate(d);return}const fe=U&1&&B,ue=!hn(d);let we;if(ue&&(we=P&&P.onVnodeBeforeUnmount)&&at(we,h,d),U&6)Gt(d.component,m,v);else{if(U&128){d.suspense.unmount(m,v);return}fe&&Kt(d,null,h,"beforeUnmount"),U&64?d.type.remove(d,h,m,j,v):A&&!A.hasOnce&&(y!==_e||N>0&&N&64)?ze(A,h,m,!1,!0):(y===_e&&N&384||!E&&U&16)&&ze(R,h,m),v&&sn(d)}const Re=Q!=null&&K==null;(ue&&(we=P&&P.onVnodeUnmounted)||fe||Re)&&Ve(()=>{we&&at(we,h,d),fe&&Kt(d,null,h,"unmounted"),Re&&(d.el=null)},m)},sn=d=>{const{type:h,el:m,anchor:v,transition:E}=d;if(h===_e){rn(m,v);return}if(h===ls){x(d);return}const y=()=>{r(m),E&&!E.persisted&&E.afterLeave&&E.afterLeave()};if(d.shapeFlag&1&&E&&!E.persisted){const{leave:P,delayLeave:T}=E,R=()=>P(m,y);T?T(d.el,y,R):R()}else y()},rn=(d,h)=>{let m;for(;d!==h;)m=p(d),r(d),d=m;r(h)},Gt=(d,h,m)=>{const{bum:v,scope:E,job:y,subTree:P,um:T,m:R,a:A}=d;fo(R),fo(A),v&&os(v),E.stop(),y&&(y.flags|=8,He(P,d,h,m)),T&&Ve(T,h),Ve(()=>{d.isUnmounted=!0},h)},ze=(d,h,m,v=!1,E=!1,y=0)=>{for(let P=y;P<d.length;P++)He(d[P],h,m,v,E)},b=d=>{if(d.shapeFlag&6)return b(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),m=h&&h[Bi];return m?p(m):h};let D=!1;const O=(d,h,m)=>{let v;d==null?h._vnode&&(He(h._vnode,null,null,!0),v=h._vnode.component):w(h._vnode||null,d,h,null,null,null,m),h._vnode=d,D||(D=!0,Qr(v),Di(),D=!1)},j={p:w,um:He,m:rt,r:sn,mt:ye,mc:ee,pc:oe,pbc:J,n:b,o:e};return{render:O,hydrate:void 0,createApp:pc(O)}}function Xs({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 Wt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function kc(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Vr(e,t,n=!1){const s=e.children,r=t.children;if(F(s)&&F(r))for(let o=0;o<s.length;o++){const i=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=_t(r[o]),l.el=i.el),!n&&l.patchFlag!==-2&&Vr(i,l)),l.type===Bs&&(l.patchFlag===-1&&(l=r[o]=_t(l)),l.el=i.el),l.type===Ie&&!l.el&&(l.el=i.el)}}function Pc(e){const t=e.slice(),n=[0];let s,r,o,i,l;const a=e.length;for(s=0;s<a;s++){const u=e[s];if(u!==0){if(r=n[n.length-1],e[r]<u){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<u?o=l+1:i=l;u<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function pl(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:pl(t)}function fo(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function gl(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?gl(t.subTree):null}const ml=e=>e.__isSuspense;function Oc(e,t){t&&t.pendingBranch?F(e)?t.effects.push(...e):t.effects.push(e):Ba(e)}const _e=Symbol.for("v-fgt"),Bs=Symbol.for("v-txt"),Ie=Symbol.for("v-cmt"),ls=Symbol.for("v-stc"),wt=[];let Ke=null;function Z(e=!1){wt.push(Ke=e?null:[])}function Fr(){wt.pop(),Ke=wt[wt.length-1]||null}let Kn=1;function ys(e,t=!1){Kn+=e,e<0&&Ke&&t&&(Ke.hasOnce=!0)}function yl(e){return e.dynamicChildren=Kn>0?Ke||un:null,Fr(),Kn>0&&Ke&&Ke.push(e),e}function ge(e,t,n,s,r,o){return yl(H(e,t,n,s,r,o,!0))}function At(e,t,n,s,r){return yl(W(e,t,n,s,r,!0))}function Wn(e){return e?e.__v_isVNode===!0:!1}function Yt(e,t){return e.type===t.type&&e.key===t.key}const vl=({key:e})=>e??null,as=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?he(e)||xe(e)||G(e)?{i:ke,r:e,k:t,f:!!n}:e:null);function H(e,t=null,n=null,s=0,r=null,o=e===_e?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vl(t),ref:t&&as(t),scopeId:Fi,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:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:ke};return l?(vs(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=he(n)?8:16),Kn>0&&!i&&Ke&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Ke.push(a),a}const W=Ic;function Ic(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Qi)&&(e=Ie),Wn(e)){const l=jt(e,t,!0);return n&&vs(l,n),Kn>0&&!o&&Ke&&(l.shapeFlag&6?Ke[Ke.indexOf(e)]=l:Ke.push(l)),l.patchFlag=-2,l}if(Uc(e)&&(e=e.__vccOpts),t){t=Nc(t);let{class:l,style:a}=t;l&&!he(l)&&(t.class=Ft(l)),re(a)&&(Ls(a)&&!F(a)&&(a=Ee({},a)),t.style=Ps(a))}const i=he(e)?1:ml(e)?128:Hi(e)?64:re(e)?4:G(e)?2:0;return H(e,t,n,s,r,i,o,!0)}function Nc(e){return e?Ls(e)||al(e)?Ee({},e):e:null}function jt(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:a}=e,u=t?Mc(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&vl(u),ref:t&&t.ref?n&&o?F(o)?o.concat(as(t)):[o,as(t)]:as(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&jt(e.ssContent),ssFallback:e.ssFallback&&jt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&tn(c,a.clone(c)),c}function Vt(e=" ",t=0){return W(Bs,null,e,t)}function sh(e,t){const n=W(ls,null,e);return n.staticCount=t,n}function Ge(e="",t=!1){return t?(Z(),At(Ie,null,e)):W(Ie,null,e)}function dt(e){return e==null||typeof e=="boolean"?W(Ie):F(e)?W(_e,null,e.slice()):Wn(e)?_t(e):W(Bs,null,String(e))}function _t(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:jt(e)}function vs(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(F(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),vs(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!al(t)?t._ctx=ke:r===3&&ke&&(ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(G(t)){if(s&65){vs(e,{default:t});return}t={default:t,_ctx:ke},n=32}else t=String(t),s&64?(n=16,t=[Vt(t)]):n=8;e.children=t,e.shapeFlag|=n}function Mc(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const r in s)if(r==="class")t.class!==s.class&&(t.class=Ft([t.class,s.class]));else if(r==="style")t.style=Ps([t.style,s.style]);else if(As(r)){const o=t[r],i=s[r];i&&o!==i&&!(F(o)&&o.includes(i))?t[r]=o?[].concat(o,i):i:i==null&&o==null&&!Cs(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function at(e,t,n,s=null){Xe(e,t,7,[n,s])}const Lc=nl();let Dc=0;function Vc(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Lc,o={uid:Dc++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new hi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ul(s,r),emitsOptions:rl(s,r),emit:null,emitted:null,propsDefaults:ne,inheritAttrs:s.inheritAttrs,ctx:ne,data:ne,props:ne,attrs:ne,slots:ne,refs:ne,setupState:ne,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 o.ctx={_:o},o.root=t?t.root:o,o.emit=gc.bind(null,o),e.ce&&e.ce(o),o}let Ne=null;const Zn=()=>Ne||ke;let _s,_r;{const e=ks(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};_s=t("__VUE_INSTANCE_SETTERS__",n=>Ne=n),_r=t("__VUE_SSR_SETTERS__",n=>qn=n)}const es=e=>{const t=Ne;return _s(e),e.scope.on(),()=>{e.scope.off(),_s(t)}},ho=()=>{Ne&&Ne.scope.off(),_s(null)};function _l(e){return e.vnode.shapeFlag&4}let qn=!1;function Fc(e,t=!1,n=!1){t&&_r(t);const{props:s,children:r}=e.vnode,o=_l(e);Ec(e,s,o,t),Sc(e,r,n||t);const i=o?jc(e,t):void 0;return t&&_r(!1),i}function jc(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,lc);const{setup:s}=n;if(s){St();const r=e.setupContext=s.length>1?Hc(e):null,o=es(e),i=Yn(s,e,0,[e.props,r]),l=oi(i);if(xt(),o(),(l||e.sp)&&!hn(e)&&qi(e),l){if(i.then(ho,ho),t)return i.then(a=>{po(e,a)}).catch(a=>{Ds(a,e,0)});e.asyncDep=i}else po(e,i)}else bl(e)}function po(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:re(t)&&(e.setupState=Ii(t)),bl(e)}function bl(e,t,n){const s=e.type;e.render||(e.render=s.render||ht);{const r=es(e);St();try{ac(e)}finally{xt(),r()}}}const Bc={get(e,t){return Oe(e,"get",""),e[t]}};function Hc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Bc),slots:e.slots,emit:e.emit,expose:t}}function Hs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ii(xa(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Vn)return Vn[n](e)},has(t,n){return n in t||n in Vn}})):e.proxy}function $c(e,t=!0){return G(e)?e.displayName||e.name:e.name||t&&e.__name}function Uc(e){return G(e)&&"__vccOpts"in e}const Me=(e,t)=>La(e,t,qn);function yn(e,t,n){try{ys(-1);const s=arguments.length;return s===2?re(t)&&!F(t)?Wn(t)?W(e,null,[t]):W(e,t):W(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Wn(n)&&(n=[n]),W(e,t,n))}finally{ys(1)}}const Gc="3.5.40";/**
|
|
15
|
-
* @vue/runtime-dom v3.5.40
|
|
16
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
17
|
-
* @license MIT
|
|
18
|
-
**/let br;const go=typeof window<"u"&&window.trustedTypes;if(go)try{br=go.createPolicy("vue",{createHTML:e=>e})}catch{}const El=br?e=>br.createHTML(e):e=>e,Kc="http://www.w3.org/2000/svg",Wc="http://www.w3.org/1998/Math/MathML",vt=typeof document<"u"?document:null,mo=vt&&vt.createElement("template"),qc={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?vt.createElementNS(Kc,e):t==="mathml"?vt.createElementNS(Wc,e):n?vt.createElement(e,{is:n}):vt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>vt.createTextNode(e),createComment:e=>vt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>vt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{mo.innerHTML=El(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=mo.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Pt="transition",Rn="animation",vn=Symbol("_vtc"),wl={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},Al=Ee({},Ui,wl),zc=e=>(e.displayName="Transition",e.props=Al,e),$s=zc((e,{slots:t})=>yn(Ya,Cl(e),t)),qt=(e,t=[])=>{F(e)?e.forEach(n=>n(...t)):e&&e(...t)},yo=e=>e?F(e)?e.some(t=>t.length>1):e.length>1:!1;function Cl(e){const t={};for(const M in e)M in wl||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:u=i,appearToClass:c=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:g=`${n}-leave-to`}=e,C=Jc(r),w=C&&C[0],I=C&&C[1],{onBeforeEnter:S,onEnter:_,onEnterCancelled:k,onLeave:x,onLeaveCancelled:$,onBeforeAppear:z=S,onAppear:V=_,onAppearCancelled:ee=k}=t,L=(M,te,ye,$e)=>{M._enterCancelled=$e,Nt(M,te?c:l),Nt(M,te?u:i),ye&&ye()},J=(M,te)=>{M._isLeaving=!1,Nt(M,f),Nt(M,g),Nt(M,p),te&&te()},se=M=>(te,ye)=>{const $e=M?V:_,be=()=>L(te,M,ye);qt($e,[te,be]),vo(()=>{Nt(te,M?a:o),ct(te,M?c:l),yo($e)||_o(te,s,w,be)})};return Ee(t,{onBeforeEnter(M){qt(S,[M]),ct(M,o),ct(M,i)},onBeforeAppear(M){qt(z,[M]),ct(M,a),ct(M,u)},onEnter:se(!1),onAppear:se(!0),onLeave(M,te){M._isLeaving=!0;const ye=()=>J(M,te);ct(M,f),M._enterCancelled?(ct(M,p),Er(M)):(Er(M),ct(M,p)),vo(()=>{M._isLeaving&&(Nt(M,f),ct(M,g),yo(x)||_o(M,s,I,ye))}),qt(x,[M,ye])},onEnterCancelled(M){L(M,!1,void 0,!0),qt(k,[M])},onAppearCancelled(M){L(M,!0,void 0,!0),qt(ee,[M])},onLeaveCancelled(M){J(M),qt($,[M])}})}function Jc(e){if(e==null)return null;if(re(e))return[Zs(e.enter),Zs(e.leave)];{const t=Zs(e);return[t,t]}}function Zs(e){return Zl(e)}function ct(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[vn]||(e[vn]=new Set)).add(t)}function Nt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[vn];n&&(n.delete(t),n.size||(e[vn]=void 0))}function vo(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Yc=0;function _o(e,t,n,s){const r=e._endId=++Yc,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:a}=Sl(e,t);if(!i)return s();const u=i+"end";let c=0;const f=()=>{e.removeEventListener(u,p),o()},p=g=>{g.target===e&&++c>=a&&f()};setTimeout(()=>{c<a&&f()},l+1),e.addEventListener(u,p)}function Sl(e,t){const n=window.getComputedStyle(e),s=C=>(n[C]||"").split(", "),r=s(`${Pt}Delay`),o=s(`${Pt}Duration`),i=bo(r,o),l=s(`${Rn}Delay`),a=s(`${Rn}Duration`),u=bo(l,a);let c=null,f=0,p=0;t===Pt?i>0&&(c=Pt,f=i,p=o.length):t===Rn?u>0&&(c=Rn,f=u,p=a.length):(f=Math.max(i,u),c=f>0?i>u?Pt:Rn:null,p=c?c===Pt?o.length:a.length:0);const g=c===Pt&&/\b(?:transform|all)(?:,|$)/.test(s(`${Pt}Property`).toString());return{type:c,timeout:f,propCount:p,hasTransform:g}}function bo(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Eo(n)+Eo(e[s])))}function Eo(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Er(e){return(e?e.ownerDocument:document).body.offsetHeight}function Qc(e,t,n){const s=e[vn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const wo=Symbol("_vod"),xl=Symbol("_vsh"),Xc=Symbol(""),Zc=/(?:^|;)\s*display\s*:/;function eu(e,t,n){const s=e.style,r=he(n);let o=!1;if(n&&!r){if(t)if(he(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&In(s,l,"")}else for(const i in t)n[i]==null&&In(s,i,"");for(const i in n){i==="display"&&(o=!0);const l=n[i];l!=null?nu(e,i,!he(t)&&t?t[i]:void 0,l)||In(s,i,l):In(s,i,"")}}else if(r){if(t!==n){const i=s[Xc];i&&(n+=";"+i),s.cssText=n,o=Zc.test(n)}}else t&&e.removeAttribute("style");wo in e&&(e[wo]=o?s.display:"",e[xl]&&(s.display="none"))}const Ao=/\s*!important$/;function In(e,t,n){if(F(n))n.forEach(s=>In(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=tu(e,t);Ao.test(n)?e.setProperty($t(s),n.replace(Ao,""),"important"):e[s]=n}}const Co=["Webkit","Moz","ms"],er={};function tu(e,t){const n=er[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return er[t]=s;s=Ts(s);for(let r=0;r<Co.length;r++){const o=Co[r]+s;if(o in e)return er[t]=o}return t}function nu(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&he(s)&&n===s}const So="http://www.w3.org/1999/xlink";function xo(e,t,n,s,r,o=oa(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(So,t.slice(6,t.length)):e.setAttributeNS(So,t,n):n==null||o&&!ci(n)?e.removeAttribute(t):e.setAttribute(t,o?"":qe(n)?String(n):n)}function Ro(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?El(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=ci(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function Dt(e,t,n,s){e.addEventListener(t,n,s)}function su(e,t,n,s){e.removeEventListener(t,n,s)}const To=Symbol("_vei");function ru(e,t,n,s,r=null){const o=e[To]||(e[To]={}),i=o[t];if(s&&i)i.value=s;else{const[l,a]=lu(t);if(s){const u=o[t]=uu(s,r);Dt(e,l,u,a)}else i&&(su(e,l,i,a),o[t]=void 0)}}const ou=/(Once|Passive|Capture)$/,iu=/^on:?(?:Once|Passive|Capture)$/;function lu(e){let t,n;for(;(n=e.match(ou))&&!iu.test(e);)t||(t={}),e=e.slice(0,e.length-n[1].length),t[n[1].toLowerCase()]=!0;return[e[2]===":"?e.slice(3):$t(e.slice(2)),t]}let tr=0;const au=Promise.resolve(),cu=()=>tr||(au.then(()=>tr=0),tr=Date.now());function uu(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(F(r)){const o=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{o.call(s),s._stopped=!0};const i=r.slice(),l=[s];for(let a=0;a<i.length&&!s._stopped;a++){const u=i[a];u&&Xe(u,t,5,l)}}else Xe(r,t,5,[s])};return n.value=e,n.attached=cu(),n}const ko=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,fu=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Qc(e,s,i):t==="style"?eu(e,n,s):As(t)?Cs(t)||ru(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):du(e,t,s,i))?(Ro(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&xo(e,t,s,i,o,t!=="value")):e._isVueCE&&(hu(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!he(s)))?Ro(e,Le(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),xo(e,t,s,i))};function du(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&ko(t)&&G(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return ko(t)&&he(n)?!1:t in e}function hu(e,t){const n=e._def.props;if(!n)return!1;const s=Le(t);return Array.isArray(n)?n.some(r=>Le(r)===s):Object.keys(n).some(r=>Le(r)===s)}const Rl=new WeakMap,Tl=new WeakMap,bs=Symbol("_moveCb"),Po=Symbol("_enterCb"),pu=e=>(delete e.props.mode,e),gu=pu({name:"TransitionGroup",props:Ee({},Al,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=Zn(),s=$i();let r,o;return Ji(()=>{if(!r.length)return;const i=e.moveClass||`${e.name||"v"}-move`;if(!bu(r[0].el,n.vnode.el,i)){r=[];return}r.forEach(yu),r.forEach(vu);const l=r.filter(_u);Er(n.vnode.el),l.forEach(a=>{const u=a.el,c=u.style;ct(u,i),c.transform=c.webkitTransform=c.transitionDuration="";const f=u[bs]=p=>{p&&p.target!==u||(!p||p.propertyName.endsWith("transform"))&&(u.removeEventListener("transitionend",f),u[bs]=null,Nt(u,i))};u.addEventListener("transitionend",f)}),r=[]}),()=>{const i=X(e),l=Cl(i);let a=i.tag||_e;if(r=[],o)for(let u=0;u<o.length;u++){const c=o[u];c.el&&c.el instanceof Element&&!c.el[xl]&&(r.push(c),tn(c,Un(c,l,s,n)),Rl.set(c,kl(c.el)))}o=t.default?Nr(t.default()):[];for(let u=0;u<o.length;u++){const c=o[u];c.key!=null&&tn(c,Un(c,l,s,n))}return W(a,null,o)}}}),mu=gu;function yu(e){const t=e.el;t[bs]&&t[bs](),t[Po]&&t[Po]()}function vu(e){Tl.set(e,kl(e.el))}function _u(e){const t=Rl.get(e),n=Tl.get(e),s=t.left-n.left,r=t.top-n.top;if(s||r){const o=e.el,i=o.style,l=o.getBoundingClientRect();let a=1,u=1;return o.offsetWidth&&(a=l.width/o.offsetWidth),o.offsetHeight&&(u=l.height/o.offsetHeight),(!Number.isFinite(a)||a===0)&&(a=1),(!Number.isFinite(u)||u===0)&&(u=1),Math.abs(a-1)<.01&&(a=1),Math.abs(u-1)<.01&&(u=1),i.transform=i.webkitTransform=`translate(${s/a}px,${r/u}px)`,i.transitionDuration="0s",e}}function kl(e){const t=e.getBoundingClientRect();return{left:t.left,top:t.top}}function bu(e,t,n){const s=e.cloneNode(),r=e[vn];r&&r.forEach(l=>{l.split(/\s+/).forEach(a=>a&&s.classList.remove(a))}),n.split(/\s+/).forEach(l=>l&&s.classList.add(l)),s.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(s);const{hasTransform:i}=Sl(s);return o.removeChild(s),i}const _n=e=>{const t=e.props["onUpdate:modelValue"]||!1;return F(t)?n=>os(t,n):t};function Eu(e){e.target.composing=!0}function Oo(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Ct=Symbol("_assign");function Io(e,t,n){return t&&(e=e.trim()),n&&(e=Tr(e)),e}const wu={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Ct]=_n(r);const o=s||r.props&&r.props.type==="number";Dt(e,t?"change":"input",i=>{i.target.composing||e[Ct](Io(e.value,n,o))}),(n||o)&&Dt(e,"change",()=>{e.value=Io(e.value,n,o)}),t||(Dt(e,"compositionstart",Eu),Dt(e,"compositionend",Oo),Dt(e,"change",Oo))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[Ct]=_n(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Tr(e.value):e.value,a=t??"";if(l===a)return;const u=e.getRootNode();(u instanceof Document||u instanceof ShadowRoot)&&u.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===a)||(e.value=a)}},rh={deep:!0,created(e,t,n){e[Ct]=_n(n),Dt(e,"change",()=>{const s=e._modelValue,r=Pl(e),o=e.checked,i=e[Ct];if(F(s)){const l=ui(s,r),a=l!==-1;if(o&&!a)i(s.concat(r));else if(!o&&a){const u=[...s];u.splice(l,1),i(u)}}else if(Ss(s)){const l=new Set(s);o?l.add(r):l.delete(r),i(l)}else i(Ol(e,o))})},mounted:No,beforeUpdate(e,t,n){e[Ct]=_n(n),No(e,t,n)}};function No(e,{value:t,oldValue:n},s){e._modelValue=t;let r;if(F(t))r=ui(t,s.props.value)>-1;else if(Ss(t))r=t.has(s.props.value);else{if(t===n)return;r=en(t,Ol(e,!0))}e.checked!==r&&(e.checked=r)}const oh={created(e,{value:t},n){e.checked=en(t,n.props.value),e[Ct]=_n(n),Dt(e,"change",()=>{e[Ct](Pl(e))})},beforeUpdate(e,{value:t,oldValue:n},s){e[Ct]=_n(s),t!==n&&(e.checked=en(t,s.props.value))}};function Pl(e){return"_value"in e?e._value:e.value}function Ol(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Au=["ctrl","shift","alt","meta"],Cu={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)=>Au.some(n=>e[`${n}Key`]&&!t.includes(n))},Il=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...o)=>{for(let i=0;i<t.length;i++){const l=Cu[t[i]];if(l&&l(r,t))return}return e(r,...o)}))},Su=Ee({patchProp:fu},qc);let Mo;function xu(){return Mo||(Mo=Rc(Su))}const Ru=((...e)=>{const t=xu().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=ku(s);if(!r)return;const o=t._component;!G(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Tu(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t});function Tu(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function ku(e){return he(e)?document.querySelector(e):e}const Pu="modulepreload",Ou=function(e){return"/"+e},Lo={},pe=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){let i=function(u){return Promise.all(u.map(c=>Promise.resolve(c).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};document.getElementsByTagName("link");const l=document.querySelector("meta[property=csp-nonce]"),a=(l==null?void 0:l.nonce)||(l==null?void 0:l.getAttribute("nonce"));r=i(n.map(u=>{if(u=Ou(u),u in Lo)return;Lo[u]=!0;const c=u.endsWith(".css"),f=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${f}`))return;const p=document.createElement("link");if(p.rel=c?"stylesheet":Pu,c||(p.as="script"),p.crossOrigin="",p.href=u,a&&p.setAttribute("nonce",a),document.head.appendChild(p),c)return new Promise((g,C)=>{p.addEventListener("load",g),p.addEventListener("error",()=>C(new Error(`Unable to preload CSS for ${u}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})};/*!
|
|
19
|
-
* vue-router v4.6.4
|
|
20
|
-
* (c) 2025 Eduardo San Martin Morote
|
|
21
|
-
* @license MIT
|
|
22
|
-
*/const cn=typeof document<"u";function Nl(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Iu(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Nl(e.default)}const ie=Object.assign;function nr(e,t){const n={};for(const s in t){const r=t[s];n[s]=st(r)?r.map(e):e(r)}return n}const Fn=()=>{},st=Array.isArray;function Do(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const Ml=/#/g,Nu=/&/g,Mu=/\//g,Lu=/=/g,Du=/\?/g,Ll=/\+/g,Vu=/%5B/g,Fu=/%5D/g,Dl=/%5E/g,ju=/%60/g,Vl=/%7B/g,Bu=/%7C/g,Fl=/%7D/g,Hu=/%20/g;function jr(e){return e==null?"":encodeURI(""+e).replace(Bu,"|").replace(Vu,"[").replace(Fu,"]")}function $u(e){return jr(e).replace(Vl,"{").replace(Fl,"}").replace(Dl,"^")}function wr(e){return jr(e).replace(Ll,"%2B").replace(Hu,"+").replace(Ml,"%23").replace(Nu,"%26").replace(ju,"`").replace(Vl,"{").replace(Fl,"}").replace(Dl,"^")}function Uu(e){return wr(e).replace(Lu,"%3D")}function Gu(e){return jr(e).replace(Ml,"%23").replace(Du,"%3F")}function Ku(e){return Gu(e).replace(Mu,"%2F")}function zn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Wu=/\/$/,qu=e=>e.replace(Wu,"");function sr(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(s=t.slice(0,a),o=t.slice(a,l>0?l:t.length),r=e(o.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Qu(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:zn(i)}}function zu(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Vo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Ju(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&bn(t.matched[s],n.matched[r])&&jl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function bn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function jl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Yu(e[n],t[n]))return!1;return!0}function Yu(e,t){return st(e)?Fo(e,t):st(t)?Fo(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Fo(e,t){return st(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Qu(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i<s.length;i++)if(l=s[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const Ot={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Ar=(function(e){return e.pop="pop",e.push="push",e})({}),rr=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Xu(e){if(!e)if(cn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),qu(e)}const Zu=/^[^#]+#/;function ef(e,t){return e.replace(Zu,"#")+t}function tf(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const Us=()=>({left:window.scrollX,top:window.scrollY});function nf(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=tf(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function jo(e,t){return(history.state?history.state.position-t:-1)+e}const Cr=new Map;function sf(e,t){Cr.set(e,t)}function rf(e){const t=Cr.get(e);return Cr.delete(e),t}function of(e){return typeof e=="string"||e&&typeof e=="object"}function Bl(e){return typeof e=="string"||typeof e=="symbol"}let ve=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Hl=Symbol("");ve.MATCHER_NOT_FOUND+"",ve.NAVIGATION_GUARD_REDIRECT+"",ve.NAVIGATION_ABORTED+"",ve.NAVIGATION_CANCELLED+"",ve.NAVIGATION_DUPLICATED+"";function En(e,t){return ie(new Error,{type:e,[Hl]:!0},t)}function yt(e,t){return e instanceof Error&&Hl in e&&(t==null||!!(e.type&t))}const lf=["params","query","hash"];function af(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of lf)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function cf(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;s<n.length;++s){const r=n[s].replace(Ll," "),o=r.indexOf("="),i=zn(o<0?r:r.slice(0,o)),l=o<0?null:zn(r.slice(o+1));if(i in t){let a=t[i];st(a)||(a=t[i]=[a]),a.push(l)}else t[i]=l}return t}function Bo(e){let t="";for(let n in e){const s=e[n];if(n=Uu(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(st(s)?s.map(r=>r&&wr(r)):[s&&wr(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function uf(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=st(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const ff=Symbol(""),Ho=Symbol(""),Gs=Symbol(""),Br=Symbol(""),Sr=Symbol("");function Tn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Lt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const u=p=>{p===!1?a(En(ve.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?a(p):of(p)?a(En(ve.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},c=o(()=>e.call(s&&s.instances[r],t,n,u));let f=Promise.resolve(c);e.length<3&&(f=f.then(u)),f.catch(p=>a(p))})}function or(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Nl(a)){const u=(a.__vccOpts||a)[t];u&&o.push(Lt(u,n,s,i,l,r))}else{let u=a();o.push(()=>u.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=Iu(c)?c.default:c;i.mods[l]=c,i.components[l]=f;const p=(f.__vccOpts||f)[t];return p&&Lt(p,n,s,i,l,r)()}))}}return o}function df(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(u=>bn(u,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(u=>bn(u,a))||r.push(a))}return[n,s,r]}/*!
|
|
23
|
-
* vue-router v4.6.4
|
|
24
|
-
* (c) 2025 Eduardo San Martin Morote
|
|
25
|
-
* @license MIT
|
|
26
|
-
*/let hf=()=>location.protocol+"//"+location.host;function $l(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),Vo(l,"")}return Vo(n,e)+s+r}function pf(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const g=$l(e,location),C=n.value,w=t.value;let I=0;if(p){if(n.value=g,t.value=p,i&&i===C){i=null;return}I=w?p.position-w.position:0}else s(g);r.forEach(S=>{S(n.value,C,{delta:I,type:Ar.pop,direction:I?I>0?rr.forward:rr.back:rr.unknown})})};function a(){i=n.value}function u(p){r.push(p);const g=()=>{const C=r.indexOf(p);C>-1&&r.splice(C,1)};return o.push(g),g}function c(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(ie({},p.state,{scroll:Us()}),"")}}function f(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:a,listen:u,destroy:f}}function $o(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Us():null}}function gf(e){const{history:t,location:n}=window,s={value:$l(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,u,c){const f=e.indexOf("#"),p=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:hf()+e+a;try{t[c?"replaceState":"pushState"](u,"",p),r.value=u}catch(g){console.error(g),n[c?"replace":"assign"](p)}}function i(a,u){o(a,ie({},t.state,$o(r.value.back,a,r.value.forward,!0),u,{position:r.value.position}),!0),s.value=a}function l(a,u){const c=ie({},r.value,t.state,{forward:a,scroll:Us()});o(c.current,c,!0),o(a,ie({},$o(s.value,a,null),{position:c.position+1},u),!1),s.value=a}return{location:s,state:r,push:l,replace:i}}function mf(e){e=Xu(e);const t=gf(e),n=pf(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ie({location:"",base:e,go:s,createHref:ef.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let Qt=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Ce=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Ce||{});const yf={type:Qt.Static,value:""},vf=/[a-zA-Z0-9_]/;function _f(e){if(!e)return[[]];if(e==="/")return[[yf]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(g){throw new Error(`ERR (${n})/"${u}": ${g}`)}let n=Ce.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,a,u="",c="";function f(){u&&(n===Ce.Static?o.push({type:Qt.Static,value:u}):n===Ce.Param||n===Ce.ParamRegExp||n===Ce.ParamRegExpEnd?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${u}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Qt.Param,value:u,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),u="")}function p(){u+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==Ce.ParamRegExp){s=n,n=Ce.EscapeNext;continue}switch(n){case Ce.Static:a==="/"?(u&&f(),i()):a===":"?(f(),n=Ce.Param):p();break;case Ce.EscapeNext:p(),n=s;break;case Ce.Param:a==="("?n=Ce.ParamRegExp:vf.test(a)?p():(f(),n=Ce.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case Ce.ParamRegExp:a===")"?c[c.length-1]=="\\"?c=c.slice(0,-1)+a:n=Ce.ParamRegExpEnd:c+=a;break;case Ce.ParamRegExpEnd:f(),n=Ce.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--,c="";break;default:t("Unknown state");break}}return n===Ce.ParamRegExp&&t(`Unfinished custom RegExp for param "${u}"`),f(),i(),r}const Uo="[^/]+?",bf={sensitive:!1,strict:!1,start:!0,end:!0};var Fe=(function(e){return e[e._multiplier=10]="_multiplier",e[e.Root=90]="Root",e[e.Segment=40]="Segment",e[e.SubSegment=30]="SubSegment",e[e.Static=40]="Static",e[e.Dynamic=20]="Dynamic",e[e.BonusCustomRegExp=10]="BonusCustomRegExp",e[e.BonusWildcard=-50]="BonusWildcard",e[e.BonusRepeatable=-20]="BonusRepeatable",e[e.BonusOptional=-8]="BonusOptional",e[e.BonusStrict=.7000000000000001]="BonusStrict",e[e.BonusCaseSensitive=.25]="BonusCaseSensitive",e})(Fe||{});const Ef=/[.+*?^${}()[\]/\\]/g;function wf(e,t){const n=ie({},bf,t),s=[];let r=n.start?"^":"";const o=[];for(const u of e){const c=u.length?[]:[Fe.Root];n.strict&&!u.length&&(r+="/");for(let f=0;f<u.length;f++){const p=u[f];let g=Fe.Segment+(n.sensitive?Fe.BonusCaseSensitive:0);if(p.type===Qt.Static)f||(r+="/"),r+=p.value.replace(Ef,"\\$&"),g+=Fe.Static;else if(p.type===Qt.Param){const{value:C,repeatable:w,optional:I,regexp:S}=p;o.push({name:C,repeatable:w,optional:I});const _=S||Uo;if(_!==Uo){g+=Fe.BonusCustomRegExp;try{`${_}`}catch(x){throw new Error(`Invalid custom RegExp for param "${C}" (${_}): `+x.message)}}let k=w?`((?:${_})(?:/(?:${_}))*)`:`(${_})`;f||(k=I&&u.length<2?`(?:/${k})`:"/"+k),I&&(k+="?"),r+=k,g+=Fe.Dynamic,I&&(g+=Fe.BonusOptional),w&&(g+=Fe.BonusRepeatable),_===".*"&&(g+=Fe.BonusWildcard)}c.push(g)}s.push(c)}if(n.strict&&n.end){const u=s.length-1;s[u][s[u].length-1]+=Fe.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(u){const c=u.match(i),f={};if(!c)return null;for(let p=1;p<c.length;p++){const g=c[p]||"",C=o[p-1];f[C.name]=g&&C.repeatable?g.split("/"):g}return f}function a(u){let c="",f=!1;for(const p of e){(!f||!c.endsWith("/"))&&(c+="/"),f=!1;for(const g of p)if(g.type===Qt.Static)c+=g.value;else if(g.type===Qt.Param){const{value:C,repeatable:w,optional:I}=g,S=C in u?u[C]:"";if(st(S)&&!w)throw new Error(`Provided param "${C}" is an array but it is not repeatable (* or + modifiers)`);const _=st(S)?S.join("/"):S;if(!_)if(I)p.length<2&&(c.endsWith("/")?c=c.slice(0,-1):f=!0);else throw new Error(`Missing required param "${C}"`);c+=_}}return c||"/"}return{re:i,score:s,keys:o,parse:l,stringify:a}}function Af(e,t){let n=0;for(;n<e.length&&n<t.length;){const s=t[n]-e[n];if(s)return s;n++}return e.length<t.length?e.length===1&&e[0]===Fe.Static+Fe.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Fe.Static+Fe.Segment?1:-1:0}function Ul(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=Af(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Go(s))return 1;if(Go(r))return-1}return r.length-s.length}function Go(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Cf={strict:!1,end:!0,sensitive:!1};function Sf(e,t,n){const s=wf(_f(e.path),n),r=ie(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function xf(e,t){const n=[],s=new Map;t=Do(Cf,t);function r(f){return s.get(f)}function o(f,p,g){const C=!g,w=Wo(f);w.aliasOf=g&&g.record;const I=Do(t,f),S=[w];if("alias"in f){const x=typeof f.alias=="string"?[f.alias]:f.alias;for(const $ of x)S.push(Wo(ie({},w,{components:g?g.record.components:w.components,path:$,aliasOf:g?g.record:w})))}let _,k;for(const x of S){const{path:$}=x;if(p&&$[0]!=="/"){const z=p.record.path,V=z[z.length-1]==="/"?"":"/";x.path=p.record.path+($&&V+$)}if(_=Sf(x,p,I),g?g.alias.push(_):(k=k||_,k!==_&&k.alias.push(_),C&&f.name&&!qo(_)&&i(f.name)),Gl(_)&&a(_),w.children){const z=w.children;for(let V=0;V<z.length;V++)o(z[V],_,g&&g.children[V])}g=g||_}return k?()=>{i(k)}:Fn}function i(f){if(Bl(f)){const p=s.get(f);p&&(s.delete(f),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(f);p>-1&&(n.splice(p,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function a(f){const p=kf(f,n);n.splice(p,0,f),f.record.name&&!qo(f)&&s.set(f.record.name,f)}function u(f,p){let g,C={},w,I;if("name"in f&&f.name){if(g=s.get(f.name),!g)throw En(ve.MATCHER_NOT_FOUND,{location:f});I=g.record.name,C=ie(Ko(p.params,g.keys.filter(k=>!k.optional).concat(g.parent?g.parent.keys.filter(k=>k.optional):[]).map(k=>k.name)),f.params&&Ko(f.params,g.keys.map(k=>k.name))),w=g.stringify(C)}else if(f.path!=null)w=f.path,g=n.find(k=>k.re.test(w)),g&&(C=g.parse(w),I=g.record.name);else{if(g=p.name?s.get(p.name):n.find(k=>k.re.test(p.path)),!g)throw En(ve.MATCHER_NOT_FOUND,{location:f,currentLocation:p});I=g.record.name,C=ie({},p.params,f.params),w=g.stringify(C)}const S=[];let _=g;for(;_;)S.unshift(_.record),_=_.parent;return{name:I,path:w,params:C,matched:S,meta:Tf(S)}}e.forEach(f=>o(f));function c(){n.length=0,s.clear()}return{addRoute:o,resolve:u,removeRoute:i,clearRoutes:c,getRoutes:l,getRecordMatcher:r}}function Ko(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Wo(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Rf(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function Rf(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function qo(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Tf(e){return e.reduce((t,n)=>ie(t,n.meta),{})}function kf(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Ul(e,t[o])<0?s=o:n=o+1}const r=Pf(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Pf(e){let t=e;for(;t=t.parent;)if(Gl(t)&&Ul(e,t)===0)return t}function Gl({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function zo(e){const t=tt(Gs),n=tt(Br),s=Me(()=>{const a=q(e.to);return t.resolve(a)}),r=Me(()=>{const{matched:a}=s.value,{length:u}=a,c=a[u-1],f=n.matched;if(!c||!f.length)return-1;const p=f.findIndex(bn.bind(null,c));if(p>-1)return p;const g=Jo(a[u-2]);return u>1&&Jo(c)===g&&f[f.length-1].path!==g?f.findIndex(bn.bind(null,a[u-2])):p}),o=Me(()=>r.value>-1&&Lf(n.params,s.value.params)),i=Me(()=>r.value>-1&&r.value===n.matched.length-1&&jl(n.params,s.value.params));function l(a={}){if(Mf(a)){const u=t[q(e.replace)?"replace":"push"](q(e.to)).catch(Fn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>u),u}return Promise.resolve()}return{route:s,href:Me(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function Of(e){return e.length===1?e[0]:e}const If=nn({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:zo,setup(e,{slots:t}){const n=Ut(zo(e)),{options:s}=tt(Gs),r=Me(()=>({[Yo(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Yo(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&Of(t.default(n));return e.custom?o:yn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Nf=If;function Mf(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Lf(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!st(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function Jo(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Yo=(e,t,n)=>e??t??n,Df=nn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=tt(Sr),r=Me(()=>e.route||s.value),o=tt(Ho,0),i=Me(()=>{let u=q(o);const{matched:c}=r.value;let f;for(;(f=c[u])&&!f.components;)u++;return u}),l=Me(()=>r.value.matched[i.value]);is(Ho,Me(()=>i.value+1)),is(ff,l),is(Sr,r);const a=Qe();return pt(()=>[a.value,l.value,e.name],([u,c,f],[p,g,C])=>{c&&(c.instances[f]=u,g&&g!==c&&u&&u===p&&(c.leaveGuards.size||(c.leaveGuards=g.leaveGuards),c.updateGuards.size||(c.updateGuards=g.updateGuards))),u&&c&&(!g||!bn(c,g)||!p)&&(c.enterCallbacks[f]||[]).forEach(w=>w(u))},{flush:"post"}),()=>{const u=r.value,c=e.name,f=l.value,p=f&&f.components[c];if(!p)return Qo(n.default,{Component:p,route:u});const g=f.props[c],C=g?g===!0?u.params:typeof g=="function"?g(u):g:null,I=yn(p,ie({},C,t,{onVnodeUnmounted:S=>{S.component.isUnmounted&&(f.instances[c]=null)},ref:a}));return Qo(n.default,{Component:I,route:u})||I}}});function Qo(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Vf=Df;function Ff(e){const t=xf(e.routes,e),n=e.parseQuery||cf,s=e.stringifyQuery||Bo,r=e.history,o=Tn(),i=Tn(),l=Tn(),a=Ra(Ot);let u=Ot;cn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=nr.bind(null,b=>""+b),f=nr.bind(null,Ku),p=nr.bind(null,zn);function g(b,D){let O,j;return Bl(b)?(O=t.getRecordMatcher(b),j=D):j=b,t.addRoute(j,O)}function C(b){const D=t.getRecordMatcher(b);D&&t.removeRoute(D)}function w(){return t.getRoutes().map(b=>b.record)}function I(b){return!!t.getRecordMatcher(b)}function S(b,D){if(D=ie({},D||a.value),typeof b=="string"){const m=sr(n,b,D.path),v=t.resolve({path:m.path},D),E=r.createHref(m.fullPath);return ie(m,v,{params:p(v.params),hash:zn(m.hash),redirectedFrom:void 0,href:E})}let O;if(b.path!=null)O=ie({},b,{path:sr(n,b.path,D.path).path});else{const m=ie({},b.params);for(const v in m)m[v]==null&&delete m[v];O=ie({},b,{params:f(m)}),D.params=f(D.params)}const j=t.resolve(O,D),Y=b.hash||"";j.params=c(p(j.params));const d=zu(s,ie({},b,{hash:$u(Y),path:j.path})),h=r.createHref(d);return ie({fullPath:d,hash:Y,query:s===Bo?uf(b.query):b.query||{}},j,{redirectedFrom:void 0,href:h})}function _(b){return typeof b=="string"?sr(n,b,a.value.path):ie({},b)}function k(b,D){if(u!==b)return En(ve.NAVIGATION_CANCELLED,{from:D,to:b})}function x(b){return V(b)}function $(b){return x(ie(_(b),{replace:!0}))}function z(b,D){const O=b.matched[b.matched.length-1];if(O&&O.redirect){const{redirect:j}=O;let Y=typeof j=="function"?j(b,D):j;return typeof Y=="string"&&(Y=Y.includes("?")||Y.includes("#")?Y=_(Y):{path:Y},Y.params={}),ie({query:b.query,hash:b.hash,params:Y.path!=null?{}:b.params},Y)}}function V(b,D){const O=u=S(b),j=a.value,Y=b.state,d=b.force,h=b.replace===!0,m=z(O,j);if(m)return V(ie(_(m),{state:typeof m=="object"?ie({},Y,m.state):Y,force:d,replace:h}),D||O);const v=O;v.redirectedFrom=D;let E;return!d&&Ju(s,j,O)&&(E=En(ve.NAVIGATION_DUPLICATED,{to:v,from:j}),rt(j,j,!0,!1)),(E?Promise.resolve(E):J(v,j)).catch(y=>yt(y)?yt(y,ve.NAVIGATION_GUARD_REDIRECT)?y:kt(y):oe(y,v,j)).then(y=>{if(y){if(yt(y,ve.NAVIGATION_GUARD_REDIRECT))return V(ie({replace:h},_(y.to),{state:typeof y.to=="object"?ie({},Y,y.to.state):Y,force:d}),D||v)}else y=M(v,j,!0,h,Y);return se(v,j,y),y})}function ee(b,D){const O=k(b,D);return O?Promise.reject(O):Promise.resolve()}function L(b){const D=rn.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(b):b()}function J(b,D){let O;const[j,Y,d]=df(b,D);O=or(j.reverse(),"beforeRouteLeave",b,D);for(const m of j)m.leaveGuards.forEach(v=>{O.push(Lt(v,b,D))});const h=ee.bind(null,b,D);return O.push(h),ze(O).then(()=>{O=[];for(const m of o.list())O.push(Lt(m,b,D));return O.push(h),ze(O)}).then(()=>{O=or(Y,"beforeRouteUpdate",b,D);for(const m of Y)m.updateGuards.forEach(v=>{O.push(Lt(v,b,D))});return O.push(h),ze(O)}).then(()=>{O=[];for(const m of d)if(m.beforeEnter)if(st(m.beforeEnter))for(const v of m.beforeEnter)O.push(Lt(v,b,D));else O.push(Lt(m.beforeEnter,b,D));return O.push(h),ze(O)}).then(()=>(b.matched.forEach(m=>m.enterCallbacks={}),O=or(d,"beforeRouteEnter",b,D,L),O.push(h),ze(O))).then(()=>{O=[];for(const m of i.list())O.push(Lt(m,b,D));return O.push(h),ze(O)}).catch(m=>yt(m,ve.NAVIGATION_CANCELLED)?m:Promise.reject(m))}function se(b,D,O){l.list().forEach(j=>L(()=>j(b,D,O)))}function M(b,D,O,j,Y){const d=k(b,D);if(d)return d;const h=D===Ot,m=cn?history.state:{};O&&(j||h?r.replace(b.fullPath,ie({scroll:h&&m&&m.scroll},Y)):r.push(b.fullPath,Y)),a.value=b,rt(b,D,O,h),kt()}let te;function ye(){te||(te=r.listen((b,D,O)=>{if(!Gt.listening)return;const j=S(b),Y=z(j,Gt.currentRoute.value);if(Y){V(ie(Y,{replace:!0,force:!0}),j).catch(Fn);return}u=j;const d=a.value;cn&&sf(jo(d.fullPath,O.delta),Us()),J(j,d).catch(h=>yt(h,ve.NAVIGATION_ABORTED|ve.NAVIGATION_CANCELLED)?h:yt(h,ve.NAVIGATION_GUARD_REDIRECT)?(V(ie(_(h.to),{force:!0}),j).then(m=>{yt(m,ve.NAVIGATION_ABORTED|ve.NAVIGATION_DUPLICATED)&&!O.delta&&O.type===Ar.pop&&r.go(-1,!1)}).catch(Fn),Promise.reject()):(O.delta&&r.go(-O.delta,!1),oe(h,j,d))).then(h=>{h=h||M(j,d,!1),h&&(O.delta&&!yt(h,ve.NAVIGATION_CANCELLED)?r.go(-O.delta,!1):O.type===Ar.pop&&yt(h,ve.NAVIGATION_ABORTED|ve.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),se(j,d,h)}).catch(Fn)}))}let $e=Tn(),be=Tn(),ce;function oe(b,D,O){kt(b);const j=be.list();return j.length?j.forEach(Y=>Y(b,D,O)):console.error(b),Promise.reject(b)}function gt(){return ce&&a.value!==Ot?Promise.resolve():new Promise((b,D)=>{$e.add([b,D])})}function kt(b){return ce||(ce=!b,ye(),$e.list().forEach(([D,O])=>b?O(b):D()),$e.reset()),b}function rt(b,D,O,j){const{scrollBehavior:Y}=e;if(!cn||!Y)return Promise.resolve();const d=!O&&rf(jo(b.fullPath,0))||(j||!O)&&history.state&&history.state.scroll||null;return Hn().then(()=>Y(b,D,d)).then(h=>h&&nf(h)).catch(h=>oe(h,b,D))}const He=b=>r.go(b);let sn;const rn=new Set,Gt={currentRoute:a,listening:!0,addRoute:g,removeRoute:C,clearRoutes:t.clearRoutes,hasRoute:I,getRoutes:w,resolve:S,options:e,push:x,replace:$,go:He,back:()=>He(-1),forward:()=>He(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:be.add,isReady:gt,install(b){b.component("RouterLink",Nf),b.component("RouterView",Vf),b.config.globalProperties.$router=Gt,Object.defineProperty(b.config.globalProperties,"$route",{enumerable:!0,get:()=>q(a)}),cn&&!sn&&a.value===Ot&&(sn=!0,x(r.location).catch(j=>{}));const D={};for(const j in Ot)Object.defineProperty(D,j,{get:()=>a.value[j],enumerable:!0});b.provide(Gs,Gt),b.provide(Br,Pi(D)),b.provide(Sr,a);const O=b.unmount;rn.add(b),b.unmount=function(){rn.delete(b),rn.size<1&&(u=Ot,te&&te(),te=null,a.value=Ot,sn=!1,ce=!1),O()}}};function ze(b){return b.reduce((D,O)=>D.then(()=>L(O)),Promise.resolve())}return Gt}function Hr(){return tt(Gs)}function ih(e){return tt(Br)}const jf=[{path:"/login",name:"login",component:()=>pe(()=>import("./LoginView-XoomyWtl.js"),__vite__mapDeps([0,1,2,3,4,5]))},{path:"/",name:"dashboard",component:()=>pe(()=>import("./DashboardView-BfF38T9O.js"),__vite__mapDeps([6,7,8,9]))},{path:"/deployments",name:"deployments",component:()=>pe(()=>import("./DeploymentsView-BH6-KpUe.js"),__vite__mapDeps([10,9,11,7,12,13]))},{path:"/deployments/:id",component:()=>pe(()=>import("./DeploymentDetailView-BGjBFfU4.js"),__vite__mapDeps([14,15,16,17,7,1,18])),props:!0,children:[{path:"",name:"deployment",redirect:e=>`/deployments/${e.params.id}/overview`},{path:"overview",name:"d.overview",component:()=>pe(()=>import("./OverviewTab-DUEg-y_z.js"),__vite__mapDeps([19,15,16,7,9]))},{path:"config",name:"d.config",component:()=>pe(()=>import("./ConfigTab-C2kKDMhx.js"),__vite__mapDeps([20,15,16,21,22,13]))},{path:"runtime",name:"d.runtime",component:()=>pe(()=>import("./RuntimeTab-DR6kK7VS.js"),__vite__mapDeps([23,15,16,9,18]))},{path:"axes",name:"d.axes",component:()=>pe(()=>import("./AxesTab-DOL8988q.js"),__vite__mapDeps([24,15,16]))},{path:"requires",name:"d.requires",component:()=>pe(()=>import("./RequiresTab-D02oLAp-.js"),__vite__mapDeps([25,15,16]))},{path:"logs",name:"d.logs",component:()=>pe(()=>import("./LogsTab-PetxKgUF.js"),__vite__mapDeps([26,15,16,12,13,27]))},{path:"terminal",name:"d.terminal",component:()=>pe(()=>import("./TerminalTab-ChiTxP-4.js"),__vite__mapDeps([28,18,12,13,3,29]))},{path:"danger",name:"d.danger",component:()=>pe(()=>import("./DangerTab-DGaHMJol.js"),__vite__mapDeps([30,15,16,17,7,1,18]))}]},{path:"/routing",name:"routing",component:()=>pe(()=>import("./RoutingView-1bDbTXbH.js"),__vite__mapDeps([31,7,1,18,9,22,13]))},{path:"/registries",name:"registries",component:()=>pe(()=>import("./RegistriesView-BVFGjxi7.js"),__vite__mapDeps([32,1,18,9,22,13]))},{path:"/notifiers",name:"notifiers",component:()=>pe(()=>import("./NotifiersView-5xtub30J.js"),__vite__mapDeps([33,7,1,18,9,11,12,13]))},{path:"/specs",name:"specs",component:()=>pe(()=>import("./SpecsView-CtE6K2qH.js"),__vite__mapDeps([34,9,18,11,7,2,3,4]))},{path:"/specs/:name",name:"spec",component:()=>pe(()=>import("./SpecDetailView-CobNJfyA.js"),__vite__mapDeps([35,7,9,18])),props:!0},{path:"/submit/:id?",name:"submit",component:()=>pe(()=>import("./SubmitView-BdQ2pmUr.js"),__vite__mapDeps([36,16,1,18,21,12,13])),props:!0},{path:"/jobs",name:"jobs",component:()=>pe(()=>import("./JobsView-Dm_Loiq8.js"),__vite__mapDeps([37,7,8,9,11,12,13]))},{path:"/jobs/:jobId",name:"job",component:()=>pe(()=>import("./JobDetailView-BcE107xE.js"),__vite__mapDeps([38,7,27,8,18])),props:!0},{path:"/users",name:"users",component:()=>pe(()=>import("./UsersView-Ci3lY3mC.js"),__vite__mapDeps([39,1,2,3,4,18,11,7,9,40]))},{path:"/settings",name:"settings",component:()=>pe(()=>import("./SettingsView-CNnikDTC.js"),__vite__mapDeps([41,12,13]))},{path:"/:pathMatch(.*)*",name:"not-found",component:()=>pe(()=>import("./NotFoundView-BcVYUxAo.js"),[])}],wn=Ff({history:mf(),routes:jf,scrollBehavior:(e,t,n)=>n??{top:0}});wn.beforeEach(async e=>{const{authState:t,checkAuth:n}=await pe(async()=>{const{authState:s,checkAuth:r}=await Promise.resolve().then(()=>cd);return{authState:s,checkAuth:r}},void 0);return t.checked||await n(),e.name==="login"?t.authed?{path:"/"}:!0:t.authed?!0:{name:"login",query:e.fullPath!=="/"?{next:e.fullPath}:{}}});const $r=typeof document<"u"&&typeof document.startViewTransition=="function";$r&&(document.documentElement.dataset.vt="on");if($r){let e=null;wn.beforeResolve(()=>new Promise(t=>{document.startViewTransition(()=>(t(),new Promise(n=>{e=n,setTimeout(()=>{e==null||e(),e=null},400)})))})),wn.afterEach(async()=>{await Hn(),e==null||e(),e=null})}let Bf=0;const gn=Ut([]);function Kl(e){const t=gn.findIndex(n=>n.id===e);t>=0&&gn.splice(t,1)}function lh(e,t,n={}){const s=++Bf;gn.push({id:s,kind:e,text:t,to:n.to,toLabel:n.toLabel});const r=n.ms??(e==="error"?0:6e3);for(r>0&&setTimeout(()=>Kl(s),r);gn.length>5;)gn.shift();return s}const Hf={class:"toasts","aria-live":"polite","aria-atomic":"false"},$f=["aria-label","onClick"],Uf=nn({__name:"ToastHost",setup(e){return(t,n)=>{const s=pr("RouterLink");return Z(),ge("div",Hf,[W(mu,{name:"toast"},{default:Ae(()=>[(Z(!0),ge(_e,null,gs(q(gn),r=>(Z(),ge("div",{key:r.id,class:Ft(["toast",r.kind])},[H("div",null,[H("div",null,Pe(r.text),1),r.to?(Z(),At(s,{key:0,to:r.to},{default:Ae(()=>[Vt(Pe(r.toLabel??"Open")+" →",1)]),_:2},1032,["to"])):Ge("",!0)]),H("button",{class:"x","aria-label":`dismiss: ${r.text}`,onClick:o=>q(Kl)(r.id)},"✕",8,$f)],2))),128))]),_:1})])}}}),Gf=900;function Xo(e){const t=e;if(!t)return!1;const n=t.tagName;return n==="INPUT"||n==="TEXTAREA"||n==="SELECT"||t.isContentEditable===!0}function Kf(){const e=Hr(),t=Qe(!1);let n=0,s="";const r=o=>{if(o.key==="Escape"){t.value&&(t.value=!1,o.preventDefault()),Xo(o.target)&&o.target.blur();return}if(o.metaKey||o.ctrlKey||o.altKey||Xo(o.target))return;const i=Date.now();if(s==="g"&&i-n<Gf){s="";const l={d:"/deployments",j:"/jobs",h:"/",s:"/settings",n:"/submit"}[o.key];l&&(o.preventDefault(),e.push(l));return}if(o.key==="g"){s="g",n=i;return}if(s="",o.key==="?"){o.preventDefault(),t.value=!t.value;return}if(o.key==="/"){const l=document.querySelector("[data-search]");l&&(o.preventDefault(),l.focus(),l.select())}};return An(()=>document.addEventListener("keydown",r)),Xn(()=>document.removeEventListener("keydown",r)),{sheetOpen:t}}const Wf=[{keys:"⌘K / Ctrl-K",what:"Open the command palette — jump to any deployment or page"},{keys:"?",what:"Open or close this sheet"},{keys:"g h",what:"Go to the dashboard"},{keys:"g d",what:"Go to deployments"},{keys:"g j",what:"Go to jobs"},{keys:"g n",what:"Go to submit"},{keys:"g s",what:"Go to settings"},{keys:"/",what:"Focus the search box on this view"},{keys:"Esc",what:"Close this sheet, or leave the field you are typing in"}],qf={class:"sheet"},zf={class:"row"},Jf=nn({__name:"ShortcutSheet",props:{open:{type:Boolean}},emits:["close"],setup(e,{emit:t}){const n=t;return(s,r)=>(Z(),At($s,{name:"fade"},{default:Ae(()=>[e.open?(Z(),ge("div",{key:0,class:"scrim",role:"dialog","aria-modal":"true","aria-label":"Keyboard shortcuts",onClick:r[1]||(r[1]=Il(o=>n("close"),["self"]))},[H("div",qf,[H("div",zf,[r[2]||(r[2]=H("h2",{style:{"font-size":"var(--t-lg)","font-weight":"650"}},"Keyboard shortcuts",-1)),r[3]||(r[3]=H("span",{class:"grow"},null,-1)),H("button",{class:"ghost sm",onClick:r[0]||(r[0]=o=>n("close"))},"Close")]),H("dl",null,[(Z(!0),ge(_e,null,gs(q(Wf),o=>(Z(),ge(_e,{key:o.keys},[H("dt",null,[(Z(!0),ge(_e,null,gs(o.keys.split(" "),i=>(Z(),ge("kbd",{key:i,style:{"margin-left":"4px"}},Pe(i),1))),128))]),H("dd",null,Pe(o.what),1)],64))),128))])])])):Ge("",!0)]),_:1}))}}),Bt={token:"pstack.ui.token",apiBase:"pstack.ui.apiBase",theme:"pstack.ui.theme",motion:"pstack.ui.motion"};function Es(e,t){try{return localStorage.getItem(e)??t}catch{return t}}function ws(e,t){try{t?localStorage.setItem(e,t):localStorage.removeItem(e)}catch{}}const ir=Es(Bt.theme,"system"),lr=Es(Bt.motion,"system"),Be=Ut({token:Es(Bt.token,""),apiBase:Es(Bt.apiBase,""),theme:ir==="dark"||ir==="light"?ir:"system",motion:lr==="full"||lr==="none"?lr:"system"});function Wl(){const e=document.documentElement;Be.theme==="system"?delete e.dataset.theme:e.dataset.theme=Be.theme,Be.motion==="system"?delete e.dataset.motion:e.dataset.motion=Be.motion}pt(()=>Be.token,e=>ws(Bt.token,e));pt(()=>Be.apiBase,e=>ws(Bt.apiBase,e));pt(()=>[Be.theme,Be.motion],()=>{ws(Bt.theme,Be.theme==="system"?"":Be.theme),ws(Bt.motion,Be.motion==="system"?"":Be.motion),Wl()});Wl();function ah(e,t={}){const n=new URLSearchParams;for(const r of e)r.k&&n.set(r.k,r.v??"");for(const[r,o]of Object.entries(t))n.set(r,String(o));const s=n.toString();return s?`?${s}`:""}function ql(e){const t=Be.apiBase.replace(/\/$/,"");return t?t+e:e}let cs=null;function Yf(e){cs=e}async function ln(e,t,n,s=!1){const r={};e!=="GET"&&(r["content-type"]="application/json"),Be.token&&(r.authorization=`Bearer ${Be.token}`);try{const o=await fetch(ql(t),{method:e,headers:r,body:n===void 0?void 0:JSON.stringify(n)}),i=await o.text();let l=null;try{l=i?JSON.parse(i):null}catch{}return o.status===401&&!t.startsWith("/api/auth/")&&(cs==null||cs()),l===null&&i?{status:o.status,ok:o.ok,body:{},raw:i,notJson:!0}:{status:o.status,ok:o.ok,body:l??{},raw:i,notJson:!1}}catch(o){return{status:0,ok:!1,body:{error:`unreachable: ${o.message}`},raw:"",notJson:!1}}}const Ht={get:e=>ln("GET",e),getAuthed:e=>ln("GET",e,void 0,!0),post:(e,t)=>ln("POST",e,t??{}),put:(e,t)=>ln("PUT",e,t),patch:(e,t)=>ln("PATCH",e,t),del:e=>ln("DELETE",e),url:ql};function Ur(e,t){if(e.status===0)return e.body.error??"unreachable";if(e.status===401)return`${t}: 401 unauthorized — set the bearer token in Settings.`;if(e.notJson)return`${t}: HTTP ${e.status}, and the response was not JSON. Something other than the pstack API answered — a proxy, or an error page.
|
|
27
|
-
|
|
28
|
-
${e.raw.slice(0,400)}`;const n=e.body.error;return e.status===404&&(!n||n==="not found")?`${t}: 404 — no such resource, or this build of the API has no such route yet.`:n?`${t}: ${n}`:`${t}: HTTP ${e.status}`}function ch(e){const t=e.error??"HTTP 409 (no message)",n=e.stack??"";return e.kind?{kind:"shared",text:t,stack:n,deployments:[]}:e.containers!==void 0?{kind:"containers",text:t,stack:n,deployments:[]}:e.deployments?{kind:"referenced",text:t,stack:n,deployments:e.deployments}:{kind:"other",text:t,stack:n,deployments:[]}}const Qf={class:"palette",role:"dialog","aria-modal":"true","aria-label":"Command palette"},Xf={class:"palette-q"},Zf={key:0,class:"palette-empty"},ed={key:0,class:"palette-group"},td=["data-on","onClick","onMousemove"],nd={class:"palette-label"},sd={key:0,class:"palette-hint"},rd={class:"palette-foot"},od=nn({__name:"CommandPalette",setup(e,{expose:t}){const n=Hr(),s=Qe(!1),r=Qe(""),o=Qe(0),i=Qe([]),l=Qe(null),a=Qe(null),u=[{id:"p.dash",label:"Dashboard",hint:"g h",group:"Go to",to:"/",base:9},{id:"p.dep",label:"Deployments",hint:"g d",group:"Go to",to:"/deployments",base:8},{id:"p.jobs",label:"Jobs",hint:"g j",group:"Go to",to:"/jobs",base:7},{id:"p.specs",label:"Specs",group:"Go to",to:"/specs",base:6},{id:"p.routing",label:"Routing",group:"Go to",to:"/routing",base:5},{id:"p.reg",label:"Registries",group:"Go to",to:"/registries",base:4},{id:"p.notif",label:"Notifiers",group:"Go to",to:"/notifiers",base:3},{id:"p.users",label:"Users & access",group:"Go to",to:"/users",base:2.5},{id:"p.set",label:"Settings",hint:"g s",group:"Go to",to:"/settings",base:2},{id:"a.submit",label:"Submit a spec",hint:"g n",group:"Actions",to:"/submit",base:1}];function c(S,_){if(!_)return 0;const k=S.toLowerCase(),x=_.toLowerCase();let $=0,z=0,V=0;for(const ee of x){const L=k.indexOf(ee,$);if(L===-1)return null;V=L===$&&$>0?V+1:0,z+=10+V*12-Math.min(L-$,8),L===0&&(z+=25),$=L+1}return z-k.length*.4}const f=Me(()=>{const S=i.value.map(x=>({id:`d.${x.id}`,label:x.id,hint:x.stack??void 0,group:"Deployments",to:`/deployments/${encodeURIComponent(x.id)}/overview`,base:0})),_=[...u,...S],k=r.value.trim();return k?_.map(x=>({it:x,s:c(`${x.label} ${x.hint??""}`,k)})).filter(x=>x.s!==null).sort((x,$)=>$.s-x.s||$.it.base-x.it.base).map(x=>x.it):_.slice().sort((x,$)=>$.base-x.base)}),p=Me(()=>f.value.map((S,_)=>({it:S,head:_===0||f.value[_-1].group!==S.group})));async function g(){var _;s.value=!0,r.value="",o.value=0,await Hn(),(_=l.value)==null||_.focus();const S=await Ht.get("/api/deployments");S.ok&&(i.value=S.body.deployments)}function C(){s.value=!1}function w(S){S&&(C(),n.push(S.to))}pt(o,async()=>{var S,_;await Hn(),(_=(S=a.value)==null?void 0:S.querySelector('[data-on="true"]'))==null||_.scrollIntoView({block:"nearest"})}),pt(r,()=>o.value=0);function I(S){if((S.metaKey||S.ctrlKey)&&S.key.toLowerCase()==="k"){S.preventDefault(),s.value?C():g();return}s.value&&(S.key==="Escape"?(S.preventDefault(),C()):S.key==="ArrowDown"||S.key==="n"&&S.ctrlKey?(S.preventDefault(),o.value=Math.min(o.value+1,f.value.length-1)):S.key==="ArrowUp"||S.key==="p"&&S.ctrlKey?(S.preventDefault(),o.value=Math.max(o.value-1,0)):S.key==="Enter"&&(S.preventDefault(),w(f.value[o.value])))}return An(()=>document.addEventListener("keydown",I)),Xn(()=>document.removeEventListener("keydown",I)),t({show:g}),(S,_)=>(Z(),At($s,{name:"fade"},{default:Ae(()=>[s.value?(Z(),ge("div",{key:0,class:"scrim palette-scrim",onClick:Il(C,["self"])},[H("div",Qf,[H("div",Xf,[_[1]||(_[1]=H("svg",{viewBox:"0 0 24 24",width:"16",height:"16","aria-hidden":"true"},[H("circle",{cx:"11",cy:"11",r:"7",fill:"none",stroke:"currentColor","stroke-width":"2"}),H("path",{d:"M16.5 16.5 21 21",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"})],-1)),Ha(H("input",{ref_key:"input",ref:l,"onUpdate:modelValue":_[0]||(_[0]=k=>r.value=k),type:"text",placeholder:"Go to a deployment, a page, an action…","aria-label":"Search",autocomplete:"off",spellcheck:"false"},null,512),[[wu,r.value]]),_[2]||(_[2]=H("kbd",null,"esc",-1))]),H("div",{ref_key:"listEl",ref:a,class:"palette-list"},[p.value.length?Ge("",!0):(Z(),ge("p",Zf," Nothing matches “"+Pe(r.value)+"”. ",1)),(Z(!0),ge(_e,null,gs(p.value,(k,x)=>(Z(),ge(_e,{key:k.it.id},[k.head?(Z(),ge("div",ed,Pe(k.it.group),1)):Ge("",!0),H("button",{class:"palette-row","data-on":x===o.value,onClick:$=>w(k.it),onMousemove:$=>o.value=x},[H("span",nd,Pe(k.it.label),1),k.it.hint?(Z(),ge("span",sd,Pe(k.it.hint),1)):Ge("",!0)],40,td)],64))),128))],512),H("div",rd,[_[3]||(_[3]=H("span",null,[H("kbd",null,"↑"),H("kbd",null,"↓"),Vt(" move")],-1)),_[4]||(_[4]=H("span",null,[H("kbd",null,"↵"),Vt(" open")],-1)),_[5]||(_[5]=H("span",{class:"grow"},null,-1)),H("span",null,Pe(f.value.length)+" result"+Pe(f.value.length===1?"":"s"),1)])])])):Ge("",!0)]),_:1}))}});function id(e,t=6e3){let n;const s=()=>{n!==void 0&&clearInterval(n),n=void 0},r=()=>{s(),n=setInterval(e,t)},o=()=>{document.visibilityState==="visible"?(e(),r()):s()};An(()=>{e(),document.visibilityState==="visible"&&r(),document.addEventListener("visibilitychange",o)}),Xn(()=>{s(),document.removeEventListener("visibilitychange",o)})}const me=Ut({health:null,healthError:"",deployments:[],deploymentsError:"",deploymentsLoaded:!1,jobs:[],jobsError:"",jobsLoaded:!1});async function Zo(){const e=await Ht.get("/api/health");e.ok?(me.health=e.body,me.healthError=""):(me.health=null,me.healthError=Ur(e,"GET /api/health"))}async function ei(){const e=await Ht.get("/api/deployments");if(me.deploymentsLoaded=!0,!e.ok){me.deploymentsError=Ur(e,"GET /api/deployments");return}me.deploymentsError="",me.deployments=(e.body.deployments??[]).map(t=>({...t,kind:t.kind==="shared"?"shared":"isolated",busy:t.busy??null,running:t.running??null,stack:t.stack??null}))}async function ti(){const e=await Ht.get("/api/jobs");if(me.jobsLoaded=!0,!e.ok){me.jobsError=Ur(e,"GET /api/jobs");return}me.jobsError="",me.jobs=e.body.jobs??[]}const uh=Me(()=>{const e={total:0,isolated:0,shared:0,running:0,busy:0,unknown:0,unresolved:0};for(const t of me.deployments)e.total++,t.kind==="shared"?e.shared++:e.isolated++,t.busy===!0&&e.busy++,t.running===!0&&e.running++,(t.busy===null||t.running===null)&&e.unknown++,t.unresolved&&e.unresolved++;return e}),fh=Me(()=>me.jobs.filter(e=>e.state==="leaked"));function dh(e){return me.deployments.find(t=>t.id===e)}const ae=Ut({checked:!1,authed:!1,root:!1,user:null,hasUsers:null});async function ld(){const e=await Ht.get("/api/health");e.ok&&(ae.hasUsers=e.body.hasUsers??null);const t=await Ht.getAuthed("/api/auth/me");t.status!==0&&(ae.checked=!0,t.ok?(ae.authed=!0,ae.root=t.body.root===!0,ae.user=t.body.user??null):(ae.authed=!1,ae.root=!1,ae.user=null))}async function ad(e,t){const n=await Ht.post("/api/auth/login",{username:e,password:t});return n.ok?(ae.authed=!0,ae.root=!1,ae.user=n.body.user,null):n.body.error??"login failed"}async function zl(){await Ht.post("/api/auth/logout",{}),ae.authed=!1,ae.root=!1,ae.user=null}Yf(()=>{if(!ae.checked)return;const e=ae.authed;ae.authed=!1,ae.user=null,ae.root=!1;const t=wn.currentRoute.value;e&&t.name!=="login"&&wn.replace({name:"login",query:t.fullPath!=="/"?{next:t.fullPath}:{}})});const cd=Object.freeze(Object.defineProperty({__proto__:null,authState:ae,checkAuth:ld,login:ad,logout:zl},Symbol.toStringTag,{value:"Module"}));/**
|
|
29
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
30
|
-
*
|
|
31
|
-
* This source code is licensed under the ISC license.
|
|
32
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
33
|
-
*/const ud=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};/**
|
|
34
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
35
|
-
*
|
|
36
|
-
* This source code is licensed under the ISC license.
|
|
37
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
38
|
-
*/const ni=e=>e==="";/**
|
|
39
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
40
|
-
*
|
|
41
|
-
* This source code is licensed under the ISC license.
|
|
42
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
43
|
-
*/const fd=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim();/**
|
|
44
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
45
|
-
*
|
|
46
|
-
* This source code is licensed under the ISC license.
|
|
47
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
48
|
-
*/const si=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
|
|
49
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
50
|
-
*
|
|
51
|
-
* This source code is licensed under the ISC license.
|
|
52
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
53
|
-
*/const dd=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,s)=>s?s.toUpperCase():n.toLowerCase());/**
|
|
54
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
55
|
-
*
|
|
56
|
-
* This source code is licensed under the ISC license.
|
|
57
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
58
|
-
*/const hd=e=>{const t=dd(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
|
|
59
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
60
|
-
*
|
|
61
|
-
* This source code is licensed under the ISC license.
|
|
62
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
63
|
-
*/var kn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
|
|
64
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
65
|
-
*
|
|
66
|
-
* This source code is licensed under the ISC license.
|
|
67
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
68
|
-
*/const pd=({name:e,iconNode:t,absoluteStrokeWidth:n,"absolute-stroke-width":s,strokeWidth:r,"stroke-width":o,size:i=kn.width,color:l=kn.stroke,...a},{slots:u})=>yn("svg",{...kn,...a,width:i,height:i,stroke:l,"stroke-width":ni(n)||ni(s)||n===!0||s===!0?Number(r||o||kn["stroke-width"])*24/Number(i):r||o||kn["stroke-width"],class:fd("lucide",a.class,...e?[`lucide-${si(hd(e))}-icon`,`lucide-${si(e)}`]:["lucide-icon"]),...!u.default&&!ud(a)&&{"aria-hidden":"true"}},[...t.map(c=>yn(...c)),...u.default?[u.default()]:[]]);/**
|
|
69
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
70
|
-
*
|
|
71
|
-
* This source code is licensed under the ISC license.
|
|
72
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
73
|
-
*/const Ze=(e,t)=>(n,{slots:s,attrs:r})=>yn(pd,{...r,...n,iconNode:t,name:e},s);/**
|
|
74
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
75
|
-
*
|
|
76
|
-
* This source code is licensed under the ISC license.
|
|
77
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
78
|
-
*/const gd=Ze("bell-ring",[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M22 8c0-2.3-.8-4.3-2-6",key:"5bb3ad"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}],["path",{d:"M4 2C2.8 3.7 2 5.7 2 8",key:"tap9e0"}]]);/**
|
|
79
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
80
|
-
*
|
|
81
|
-
* This source code is licensed under the ISC license.
|
|
82
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
83
|
-
*/const md=Ze("boxes",[["path",{d:"M2.97 12.92A2 2 0 0 0 2 14.63v3.24a2 2 0 0 0 .97 1.71l3 1.8a2 2 0 0 0 2.06 0L12 19v-5.5l-5-3-4.03 2.42Z",key:"lc1i9w"}],["path",{d:"m7 16.5-4.74-2.85",key:"1o9zyk"}],["path",{d:"m7 16.5 5-3",key:"va8pkn"}],["path",{d:"M7 16.5v5.17",key:"jnp8gn"}],["path",{d:"M12 13.5V19l3.97 2.38a2 2 0 0 0 2.06 0l3-1.8a2 2 0 0 0 .97-1.71v-3.24a2 2 0 0 0-.97-1.71L17 10.5l-5 3Z",key:"8zsnat"}],["path",{d:"m17 16.5-5-3",key:"8arw3v"}],["path",{d:"m17 16.5 4.74-2.85",key:"8rfmw"}],["path",{d:"M17 16.5v5.17",key:"k6z78m"}],["path",{d:"M7.97 4.42A2 2 0 0 0 7 6.13v4.37l5 3 5-3V6.13a2 2 0 0 0-.97-1.71l-3-1.8a2 2 0 0 0-2.06 0l-3 1.8Z",key:"1xygjf"}],["path",{d:"M12 8 7.26 5.15",key:"1vbdud"}],["path",{d:"m12 8 4.74-2.85",key:"3rx089"}],["path",{d:"M12 13.5V8",key:"1io7kd"}]]);/**
|
|
84
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
85
|
-
*
|
|
86
|
-
* This source code is licensed under the ISC license.
|
|
87
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
88
|
-
*/const yd=Ze("clock-fading",[["path",{d:"M12 2a10 10 0 0 1 7.38 16.75",key:"175t95"}],["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["path",{d:"M2.5 8.875a10 10 0 0 0-.5 3",key:"1vce0s"}],["path",{d:"M2.83 16a10 10 0 0 0 2.43 3.4",key:"o3fkw4"}],["path",{d:"M4.636 5.235a10 10 0 0 1 .891-.857",key:"1szpfk"}],["path",{d:"M8.644 21.42a10 10 0 0 0 7.631-.38",key:"9yhvd4"}]]);/**
|
|
89
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
90
|
-
*
|
|
91
|
-
* This source code is licensed under the ISC license.
|
|
92
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
93
|
-
*/const vd=Ze("file-code-corner",[["path",{d:"M4 12.15V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.706.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2h-3.35",key:"1wthlu"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"m5 16-3 3 3 3",key:"331omg"}],["path",{d:"m9 22 3-3-3-3",key:"lsp7cz"}]]);/**
|
|
94
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
95
|
-
*
|
|
96
|
-
* This source code is licensed under the ISC license.
|
|
97
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
98
|
-
*/const _d=Ze("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);/**
|
|
99
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
100
|
-
*
|
|
101
|
-
* This source code is licensed under the ISC license.
|
|
102
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
103
|
-
*/const bd=Ze("key-round",[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]]);/**
|
|
104
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
105
|
-
*
|
|
106
|
-
* This source code is licensed under the ISC license.
|
|
107
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
108
|
-
*/const Ed=Ze("layout-dashboard",[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]]);/**
|
|
109
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
110
|
-
*
|
|
111
|
-
* This source code is licensed under the ISC license.
|
|
112
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
113
|
-
*/const wd=Ze("package",[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]]);/**
|
|
114
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
115
|
-
*
|
|
116
|
-
* This source code is licensed under the ISC license.
|
|
117
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
118
|
-
*/const Ad=Ze("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
|
|
119
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
120
|
-
*
|
|
121
|
-
* This source code is licensed under the ISC license.
|
|
122
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
123
|
-
*/const Cd=Ze("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]]);/**
|
|
124
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
125
|
-
*
|
|
126
|
-
* This source code is licensed under the ISC license.
|
|
127
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
128
|
-
*/const Sd=Ze("users",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]]);/**
|
|
129
|
-
* @license lucide-vue-next v0.577.0 - ISC
|
|
130
|
-
*
|
|
131
|
-
* This source code is licensed under the ISC license.
|
|
132
|
-
* See the LICENSE file in the root directory of this source tree.
|
|
133
|
-
*/const xd=Ze("waypoints",[["path",{d:"m10.586 5.414-5.172 5.172",key:"4mc350"}],["path",{d:"m18.586 13.414-5.172 5.172",key:"8c96vv"}],["path",{d:"M6 12h12",key:"8npq4p"}],["circle",{cx:"12",cy:"20",r:"2",key:"144qzu"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}],["circle",{cx:"20",cy:"12",r:"2",key:"1xzzfp"}],["circle",{cx:"4",cy:"12",r:"2",key:"1hvhnz"}]]),Rd=["aria-label","aria-expanded"],Td=nn({__name:"InfoHint",props:{label:{},align:{},side:{}},setup(e){const t=e,n=Qe(!1),s=Qe(!1),r=Qe(null);function o(l){n.value&&r.value&&!r.value.contains(l.target)&&(n.value=!1)}function i(l){l.key==="Escape"&&n.value&&(n.value=!1)}return An(()=>{document.addEventListener("pointerdown",o),document.addEventListener("keydown",i)}),Mr(()=>{document.removeEventListener("pointerdown",o),document.removeEventListener("keydown",i)}),(l,a)=>(Z(),ge("span",{ref_key:"root",ref:r,class:"hint-wrap"},[H("button",{type:"button",class:Ft(["hint-btn",{on:n.value}]),"aria-label":t.label??"More information","aria-expanded":n.value||s.value,onClick:a[0]||(a[0]=u=>n.value=!n.value),onPointerenter:a[1]||(a[1]=u=>s.value=!0),onPointerleave:a[2]||(a[2]=u=>s.value=!1),onFocus:a[3]||(a[3]=u=>s.value=!0),onBlur:a[4]||(a[4]=u=>s.value=!1)},[W(q(_d),{size:15,"stroke-width":2,"aria-hidden":"true"})],42,Rd),W($s,{name:"hint"},{default:Ae(()=>[n.value||s.value?(Z(),ge("span",{key:0,class:Ft(["hint-bub",[t.align==="end"?"to-end":"to-start",t.side==="top"?"above":"below"]]),role:"tooltip"},[ic(l.$slots,"default")],2)):Ge("",!0)]),_:3})],512))}}),kd={key:0,class:"rail"},Pd={"aria-label":"Sections"},Od={class:"count"},Id={class:"count"},Nd={class:"foot"},Md={key:0,class:"s-failed"},Ld={key:1,class:"row",style:{gap:"4px"}},Dd={key:0,class:"foot-who"},Vd={key:1,class:"foot-who"},Fd={class:"mute"},jd={class:"row",style:{gap:"var(--s1)"}},Bd={id:"main",class:"view"},Hd=nn({__name:"App",setup(e){const{sheetOpen:t}=Kf();id(()=>{ae.authed&&(ei(),ti())},7e3),pt(()=>ae.authed,o=>{o&&(ei(),ti(),Zo())});const n=Hr();async function s(){await zl(),n.push("/login")}Zo();const r=Me(()=>me.jobs.filter(o=>o.state==="running").length);return(o,i)=>{const l=pr("RouterLink"),a=pr("RouterView");return Z(),ge(_e,null,[i[15]||(i[15]=H("a",{class:"skip",href:"#main"},"Skip to content",-1)),H("div",{class:Ft(["shell",{"no-rail":!q(ae).authed}])},[q(ae).authed?(Z(),ge("aside",kd,[W(l,{to:"/",class:"brand"},{default:Ae(()=>[W(q(wd),{size:20,"aria-hidden":"true"}),i[2]||(i[2]=Vt(" pstack ",-1))]),_:1}),H("nav",Pd,[W(l,{to:"/",class:"navlink",title:"g h"},{default:Ae(()=>[W(q(Ed),{size:17,"aria-hidden":"true"}),i[3]||(i[3]=H("span",null,"Dashboard",-1))]),_:1}),W(l,{to:"/deployments",class:"navlink",title:"g d"},{default:Ae(()=>[W(q(md),{size:17,"aria-hidden":"true"}),i[4]||(i[4]=H("span",null,"Deployments",-1)),H("span",Od,Pe(q(me).deployments.length),1)]),_:1}),W(l,{to:"/specs",class:"navlink"},{default:Ae(()=>[W(q(vd),{size:17,"aria-hidden":"true"}),i[5]||(i[5]=H("span",null,"Specs",-1))]),_:1}),W(l,{to:"/routing",class:"navlink"},{default:Ae(()=>[W(q(xd),{size:17,"aria-hidden":"true"}),i[6]||(i[6]=H("span",null,"Routing",-1))]),_:1}),W(l,{to:"/registries",class:"navlink"},{default:Ae(()=>[W(q(bd),{size:17,"aria-hidden":"true"}),i[7]||(i[7]=H("span",null,"Registries",-1))]),_:1}),W(l,{to:"/notifiers",class:"navlink"},{default:Ae(()=>[W(q(gd),{size:17,"aria-hidden":"true"}),i[8]||(i[8]=H("span",null,"Notifiers",-1))]),_:1}),W(l,{to:"/jobs",class:"navlink",title:"g j"},{default:Ae(()=>[W(q(yd),{size:17,"aria-hidden":"true"}),i[9]||(i[9]=H("span",null,"Jobs",-1)),H("span",Id,Pe(r.value?`${r.value}▸`:q(me).jobs.length),1)]),_:1}),W(l,{to:"/submit",class:"navlink",title:"g n"},{default:Ae(()=>[W(q(Ad),{size:17,"aria-hidden":"true"}),i[10]||(i[10]=H("span",null,"Submit",-1))]),_:1}),W(l,{to:"/users",class:"navlink"},{default:Ae(()=>[W(q(Sd),{size:17,"aria-hidden":"true"}),i[11]||(i[11]=H("span",null,"Users",-1))]),_:1}),W(l,{to:"/settings",class:"navlink",title:"g s"},{default:Ae(()=>[W(q(Cd),{size:17,"aria-hidden":"true"}),i[12]||(i[12]=H("span",null,"Settings",-1))]),_:1})]),H("div",Nd,[q(me).healthError?(Z(),ge("div",Md,"Can't reach the server")):q(me).health?(Z(),ge("div",Ld,[q(ae).user?(Z(),ge("span",Dd,Pe(q(ae).user.username),1)):q(ae).root&&q(ae).checked?(Z(),ge("span",Vd,"token access")):Ge("",!0),H("span",Fd,"· v"+Pe(q(me).health.version),1),W(Td,{label:"server details",side:"top"},{default:Ae(()=>[i[13]||(i[13]=Vt(" Data is stored in ",-1)),H("code",null,Pe(q(me).health.dataDir),1),i[14]||(i[14]=Vt(" on the host. ",-1)),q(me).health.authEnforced===!1?(Z(),ge(_e,{key:0},[Vt(" This server accepts connections from this machine only, so it does not ask for a token. ")],64)):Ge("",!0)]),_:1})])):Ge("",!0),H("div",jd,[H("button",{class:"ghost sm",onClick:i[0]||(i[0]=u=>t.value=!0)},"Shortcuts"),q(ae).user?(Z(),ge("button",{key:0,class:"ghost sm",onClick:s},"Sign out")):Ge("",!0)])])])):Ge("",!0),H("main",Bd,[W(a,null,{default:Ae(({Component:u})=>[q($r)?(Z(),At(so(u),{key:0})):(Z(),At($s,{key:1,name:"view",mode:"out-in"},{default:Ae(()=>[(Z(),At(so(u)))]),_:2},1024))]),_:1})])],2),W(Uf),W(od),W(Jf,{open:q(t),onClose:i[1]||(i[1]=u=>t.value=!1)},null,8,["open"])],64)}}});Ru(Hd).use(wn).mount("#app");export{Nc as $,Ht as A,Ur as B,Me as C,Ps as D,Ft as E,_e as F,rh as G,pt as H,so as I,ah as J,Mr as K,pe as L,Ra as M,lh as N,ei as O,wn as P,ch as Q,Be as R,Ut as S,$s as T,dh as U,zd as V,ic as W,Mc as X,An as Y,$d as Z,Td as _,H as a,oh as a0,sh as a1,Hn as a2,Xn as a3,Zo as a4,Yd as a5,qd as a6,Zn as a7,Le as a8,Jd as a9,tt as aa,yn as ab,xa as ac,is as ad,Qd as ae,Kd as af,la as ag,Gd as ah,eh as ai,Xd as aj,nh as ak,th as al,Oa as am,Ud as an,fr as ao,Ks as ap,Ji as aq,Wd as ar,Zd as as,Ie as at,jt as au,ae as b,ge as c,nn as d,W as e,Vt as f,Ge as g,Il as h,Ha as i,pr as j,Hr as k,ih as l,ad as m,ld as n,Z as o,id as p,fh as q,Qe as r,gs as s,Pe as t,q as u,wu as v,Ae as w,At as x,me as y,uh as z};
|
|
134
|
-
//# sourceMappingURL=index-m4JghVue.js.map
|