@waelio/cli 0.1.9 → 0.1.10

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/scaffold.js CHANGED
@@ -308,6 +308,58 @@ ${list(sel.selectedLocales)}
308
308
  ${list(sel.selectedRoles)}
309
309
  `;
310
310
  }
311
+ function rootIndexHtml(name, slug) {
312
+ return `<!doctype html>
313
+ <html lang="en">
314
+ <head>
315
+ <meta charset="UTF-8" />
316
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
317
+ <title>${name}</title>
318
+ <style>
319
+ :root { color-scheme: light dark; }
320
+ body {
321
+ font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
322
+ margin: 0;
323
+ min-height: 100vh;
324
+ display: grid;
325
+ place-items: center;
326
+ background: #0b1220;
327
+ color: #e5e7eb;
328
+ }
329
+ main {
330
+ width: min(760px, calc(100% - 2rem));
331
+ background: rgba(17, 24, 39, 0.92);
332
+ border: 1px solid rgba(148, 163, 184, 0.35);
333
+ border-radius: 14px;
334
+ padding: 1.2rem 1.25rem;
335
+ }
336
+ h1 { margin: 0 0 0.4rem; font-size: 1.25rem; }
337
+ p { margin: 0.35rem 0; line-height: 1.45; }
338
+ code {
339
+ background: rgba(148, 163, 184, 0.18);
340
+ padding: 0.12rem 0.4rem;
341
+ border-radius: 0.4rem;
342
+ }
343
+ ul { margin: 0.8rem 0 0; padding-left: 1.1rem; }
344
+ a { color: #93c5fd; }
345
+ </style>
346
+ </head>
347
+ <body>
348
+ <main>
349
+ <h1>${name}</h1>
350
+ <p>This scaffold was generated by <code>@waelio/cli</code>.</p>
351
+ <p>Project slug: <code>${slug}</code></p>
352
+ <p>Run the generated apps locally:</p>
353
+ <ul>
354
+ <li>Frontend source: <code>frontend/</code> (Next.js, port 3001)</li>
355
+ <li>Backend source: <code>backend/</code> (NestJS, port 3002)</li>
356
+ <li>Details: <a href="./README.md">README.md</a></li>
357
+ </ul>
358
+ </main>
359
+ </body>
360
+ </html>
361
+ `;
362
+ }
311
363
  const ROOT_GITIGNORE = `node_modules/
312
364
  dist/
313
365
  .next/
@@ -428,6 +480,7 @@ async function writeScaffold(blueprint, projectName, slug, outDir, initGit) {
428
480
  }
429
481
  // Root
430
482
  await writeFileEnsured(path.join(outDir, "README.md"), rootReadme(projectName, slug, blueprint));
483
+ await writeFileEnsured(path.join(outDir, "index.html"), rootIndexHtml(projectName, slug));
431
484
  await writeFileEnsured(path.join(outDir, ".gitignore"), ROOT_GITIGNORE);
432
485
  await writeFileEnsured(path.join(outDir, "blueprint.json"), JSON.stringify(blueprint, null, 2));
433
486
  if (initGit !== false) {
package/dist/server.d.ts CHANGED
@@ -1,4 +1,18 @@
1
1
  import { type Server as HttpServer } from "node:http";
2
+ import { type Blueprint } from "./scaffold.js";
3
+ interface ResolvedScaffoldRequest {
4
+ blueprint: Blueprint;
5
+ outRoot: string;
6
+ initGit: boolean;
7
+ }
8
+ interface ScaffoldPayloadResolution {
9
+ mode: "none" | "scaffold" | "invalid";
10
+ request?: ResolvedScaffoldRequest;
11
+ error?: string;
12
+ }
13
+ export declare function resolveScaffoldRequestPayload(payload: unknown, defaultOutRoot?: string): ScaffoldPayloadResolution;
2
14
  export declare function startServer(options?: {
3
15
  port?: number;
4
16
  }): Promise<HttpServer>;
17
+ export declare function listPublicSites(rootDirectory?: string): Promise<string[]>;
18
+ export {};
package/dist/server.js CHANGED
@@ -1,40 +1,7 @@
1
1
  // Serve static files from public-sites directory under /public-sites/*
2
2
  import { createReadStream } from "node:fs";
3
- async function handlePublicSitesRequest(request, response) {
4
- // Remove "/public-sites" prefix and normalize
5
- const url = new URL(request.url ?? "/", "http://localhost");
6
- let relPath = url.pathname.replace(/^\/public-sites\/?/, "");
7
- // Prevent directory traversal
8
- relPath = relPath.replace(/\.\.+/g, "");
9
- let filePath = path.join(publicSitesDir, relPath);
10
- // If path is a directory or ends with /, serve index.html
11
- let statInfo;
12
- try {
13
- statInfo = await stat(filePath);
14
- if (statInfo.isDirectory()) {
15
- filePath = path.join(filePath, "index.html");
16
- }
17
- }
18
- catch {
19
- // If file does not exist, try index.html
20
- filePath = path.join(filePath, "index.html");
21
- }
22
- // Check if file exists
23
- try {
24
- statInfo = await stat(filePath);
25
- if (!statInfo.isFile())
26
- throw new Error();
27
- }
28
- catch {
29
- sendJson(response, 404, { error: `Public site file not found: ${relPath}` });
30
- return;
31
- }
32
- // Serve the file
33
- response.writeHead(200, { "Content-Type": getContentType(filePath) });
34
- createReadStream(filePath).pipe(response);
35
- }
36
3
  import { createServer } from "node:http";
37
- import { readFile, stat, readdir } from "node:fs/promises";
4
+ import { readFile, readdir, stat } from "node:fs/promises";
38
5
  import path from "node:path";
39
6
  import { fileURLToPath } from "node:url";
40
7
  import { io } from "socket.io-client";
@@ -73,6 +40,80 @@ const projectRoot = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "
73
40
  const uiDistDir = path.join(projectRoot, "ui", "dist");
74
41
  const publicSitesDir = path.join(projectRoot, "public-sites");
75
42
  let buildInProgress = false;
43
+ export function resolveScaffoldRequestPayload(payload, defaultOutRoot = publicSitesDir) {
44
+ if (!isRecord(payload)) {
45
+ return { mode: "none" };
46
+ }
47
+ const hasWrappedBlueprint = Object.hasOwn(payload, "blueprint");
48
+ const blueprintCandidate = hasWrappedBlueprint ? payload.blueprint : payload;
49
+ const looksLikeDirectBlueprint = !hasWrappedBlueprint && (Object.hasOwn(payload, "$schema")
50
+ || Object.hasOwn(payload, "projectName")
51
+ || Object.hasOwn(payload, "slug")
52
+ || Object.hasOwn(payload, "selections"));
53
+ if (!hasWrappedBlueprint && !looksLikeDirectBlueprint) {
54
+ return { mode: "none" };
55
+ }
56
+ if (!isRecord(blueprintCandidate)) {
57
+ return {
58
+ mode: "invalid",
59
+ error: "Blueprint payload must be a JSON object.",
60
+ };
61
+ }
62
+ const projectName = typeof blueprintCandidate.projectName === "string"
63
+ ? blueprintCandidate.projectName.trim()
64
+ : "";
65
+ if (!projectName) {
66
+ return {
67
+ mode: "invalid",
68
+ error: "Blueprint must include a non-empty projectName.",
69
+ };
70
+ }
71
+ return {
72
+ mode: "scaffold",
73
+ request: {
74
+ blueprint: blueprintCandidate,
75
+ outRoot: normalizeString(payload.outRoot) ?? defaultOutRoot,
76
+ initGit: payload.initGit !== false,
77
+ },
78
+ };
79
+ }
80
+ async function handlePublicSitesRequest(request, response) {
81
+ // Remove "/public-sites" prefix and normalize
82
+ const url = new URL(request.url ?? "/", "http://localhost");
83
+ let relPath = url.pathname.replace(/^\/public-sites\/?/, "");
84
+ // Prevent directory traversal
85
+ relPath = relPath.replace(/\.\.+/g, "");
86
+ let filePath = path.join(publicSitesDir, relPath);
87
+ // If path is a directory or ends with /, serve index.html
88
+ let statInfo;
89
+ try {
90
+ statInfo = await stat(filePath);
91
+ if (statInfo.isDirectory()) {
92
+ filePath = path.join(filePath, "index.html");
93
+ }
94
+ }
95
+ catch {
96
+ // If file does not exist, try index.html
97
+ filePath = path.join(filePath, "index.html");
98
+ }
99
+ // Check if file exists
100
+ try {
101
+ statInfo = await stat(filePath);
102
+ if (!statInfo.isFile())
103
+ throw new Error();
104
+ }
105
+ catch {
106
+ sendJson(response, 404, { error: `Public site file not found: ${relPath}` });
107
+ return;
108
+ }
109
+ // Serve the file
110
+ response.writeHead(200, {
111
+ "Cache-Control": "no-store, no-cache, must-revalidate",
112
+ "Content-Type": getContentType(filePath),
113
+ Pragma: "no-cache",
114
+ });
115
+ createReadStream(filePath).pipe(response);
116
+ }
76
117
  export async function startServer(options = {}) {
77
118
  const port = options.port ?? Number(process.env.PORT ?? 3000);
78
119
  const server = createServer((request, response) => {
@@ -101,8 +142,17 @@ async function handleRequest(request, response) {
101
142
  sendNoContent(response);
102
143
  return;
103
144
  }
104
- // Serve static public sites
105
- if (request.url && request.url.startsWith("/public-sites/")) {
145
+ if (request.method === "GET"
146
+ && (requestUrl.pathname === "/public"
147
+ || requestUrl.pathname === "/public/"
148
+ || requestUrl.pathname === "/publi-sites"
149
+ || requestUrl.pathname === "/publi-sites/")) {
150
+ response.writeHead(302, { Location: "/public-sites" });
151
+ response.end();
152
+ return;
153
+ }
154
+ // Serve static public sites for nested paths like /public-sites/<site>/...
155
+ if (/^\/public-sites\/[^/]+(?:\/.*)?$/.test(requestUrl.pathname)) {
106
156
  await handlePublicSitesRequest(request, response);
107
157
  return;
108
158
  }
@@ -120,10 +170,8 @@ async function handleRequest(request, response) {
120
170
  }
121
171
  async function handleApiRequest(request, response, requestUrl) {
122
172
  if (request.method === "GET" && requestUrl.pathname === "/api/public-sites") {
123
- // List all top-level directories in public-sites/
124
173
  try {
125
- const entries = await readdir(publicSitesDir, { withFileTypes: true });
126
- const sites = entries.filter(e => e.isDirectory()).map(e => e.name);
174
+ const sites = await listPublicSites(publicSitesDir);
127
175
  sendJson(response, 200, { sites });
128
176
  }
129
177
  catch (error) {
@@ -191,21 +239,15 @@ async function handleApiRequest(request, response, requestUrl) {
191
239
  sendJson(response, 400, { error: "Request body must be a JSON object." });
192
240
  return;
193
241
  }
194
- const blueprint = (isRecord(payload.blueprint) ? payload.blueprint : payload);
195
- if (!blueprint.projectName || !blueprint.projectName.trim()) {
242
+ const scaffoldRequest = resolveScaffoldRequestPayload(payload, publicSitesDir);
243
+ if (scaffoldRequest.mode !== "scaffold" || !scaffoldRequest.request) {
196
244
  sendJson(response, 400, {
197
- error: "Blueprint must include a non-empty projectName.",
245
+ error: scaffoldRequest.error ?? "Blueprint payload must be a JSON object.",
198
246
  });
199
247
  return;
200
248
  }
201
- const outRoot = normalizeString(payload.outRoot);
202
- const initGit = payload.initGit !== false;
203
249
  try {
204
- const result = await scaffoldFromBlueprint({
205
- blueprint,
206
- outRoot,
207
- initGit,
208
- });
250
+ const result = await scaffoldFromBlueprint(scaffoldRequest.request);
209
251
  sendJson(response, 200, result);
210
252
  }
211
253
  catch (error) {
@@ -290,14 +332,42 @@ async function handleWebhookBuild(request, response) {
290
332
  return;
291
333
  }
292
334
  const payload = await readJsonBody(request);
335
+ const scaffoldRequest = resolveScaffoldRequestPayload(payload, publicSitesDir);
336
+ if (scaffoldRequest.mode === "invalid") {
337
+ sendJson(response, 400, {
338
+ error: scaffoldRequest.error ?? "Invalid blueprint payload.",
339
+ });
340
+ return;
341
+ }
293
342
  const options = normalizeBuildOptions(payload);
294
343
  const messagingUrl = isRecord(payload) && typeof payload.messagingUrl === "string"
295
344
  ? payload.messagingUrl
296
345
  : "http://localhost:3030"; // Default FeathersJS/waelio-messaging port
297
346
  const socket = io(messagingUrl);
298
347
  buildInProgress = true;
299
- sendJson(response, 202, { message: "Build triggered via webhook.", messagingUrl });
348
+ sendJson(response, 202, {
349
+ message: scaffoldRequest.mode === "scaffold"
350
+ ? "Blueprint scaffold triggered via webhook."
351
+ : "Build triggered via webhook.",
352
+ messagingUrl,
353
+ mode: scaffoldRequest.mode === "scaffold" ? "scaffold" : "build",
354
+ });
300
355
  try {
356
+ if (scaffoldRequest.mode === "scaffold" && scaffoldRequest.request) {
357
+ socket.emit("build-event", {
358
+ type: "info",
359
+ data: `Scaffolding blueprint \"${scaffoldRequest.request.blueprint.projectName?.trim()}\"`,
360
+ });
361
+ const result = await scaffoldFromBlueprint(scaffoldRequest.request);
362
+ socket.emit("build-event", {
363
+ type: "complete",
364
+ data: {
365
+ mode: "scaffold",
366
+ result,
367
+ },
368
+ });
369
+ return;
370
+ }
301
371
  const plan = await runBuild(options, {
302
372
  onPlan: (nextPlan) => socket.emit("build-event", { type: "plan", data: nextPlan }),
303
373
  onInfo: (message) => socket.emit("build-event", { type: "info", data: message }),
@@ -353,7 +423,9 @@ async function handleUiRequest(response, pathname) {
353
423
  }
354
424
  const fileContents = await readFile(assetPath);
355
425
  response.writeHead(200, {
426
+ "Cache-Control": "no-store, no-cache, must-revalidate",
356
427
  "Content-Type": getContentType(assetPath),
428
+ Pragma: "no-cache",
357
429
  });
358
430
  response.end(fileContents);
359
431
  }
@@ -375,6 +447,23 @@ async function resolveUiAssetPath(pathname) {
375
447
  const indexFile = path.join(uiDistDir, "index.html");
376
448
  return (await pathExists(indexFile)) ? indexFile : null;
377
449
  }
450
+ export async function listPublicSites(rootDirectory = publicSitesDir) {
451
+ const entries = await readdir(rootDirectory, { withFileTypes: true });
452
+ const candidates = entries.filter((entry) => entry.isDirectory());
453
+ const sites = await Promise.all(candidates.map(async (entry) => {
454
+ const indexPath = path.join(rootDirectory, entry.name, "index.html");
455
+ try {
456
+ const details = await stat(indexPath);
457
+ return details.isFile() ? entry.name : null;
458
+ }
459
+ catch {
460
+ return null;
461
+ }
462
+ }));
463
+ return sites
464
+ .filter((siteName) => siteName !== null)
465
+ .sort((left, right) => left.localeCompare(right));
466
+ }
378
467
  function buildOptionsFromSearchParams(searchParams) {
379
468
  const dryRunValue = normalizeString(searchParams.get("dryRun"));
380
469
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@waelio/cli",
3
- "version": "0.1.9",
3
+ "version": "0.1.10",
4
4
  "description": "CLI for building the waelio/siteforge website",
5
5
  "author": "Waelio <waelio@waelio.com> (https://waelio.com)",
6
6
  "homepage": "https://github.com/waelio/cli#readme",
@@ -57,7 +57,7 @@
57
57
  "concurrently": "^9.1.2",
58
58
  "tsx": "^4.20.0",
59
59
  "typescript": "^5.8.3",
60
- "vite": "^5.4.21",
60
+ "vite": "^8.0.12",
61
61
  "vue-tsc": "^2.2.0"
62
62
  }
63
63
  }
@@ -0,0 +1 @@
1
+ import{a as e,c as t,d as n,i as r,l as i,n as a,o,r as s,s as c,t as l,u}from"./index-DP7Yrd8J.js";var d={class:`app-main`},f={class:`group`},p={class:`group-head`},m=[`disabled`],h={class:`summary-row`},g={class:`pill`},_={class:`pill`},v={key:0,class:`status-msg`},y={key:1,class:`error-msg`},b={key:2,class:`site-list`},x=[`href`],S={class:`site-state`},C={key:3,class:`status-msg`},w=l(e({__name:`PublicSitesView`,setup(e){let l=i([]),w=i(``),T=i(!0),E=i(`checking`),D=i({});function O(e){let t={};for(let n of e)t[n]=`checking`;D.value=t}async function k(e){try{let t=await fetch(`/public-sites/${encodeURIComponent(e)}/`,{cache:`no-store`,redirect:`manual`});D.value[e]=t.ok||t.status===302?`online`:`offline`}catch{D.value[e]=`offline`}}let A=()=>Object.values(D.value).filter(e=>e===`online`).length;async function j(){T.value=!0,w.value=``,E.value=`checking`;try{let e=await fetch(`/api/public-sites`,{cache:`no-store`});if(!e.ok)throw Error(`Error: ${e.status}`);E.value=`online`;let t=(await e.json()).sites||[];l.value=t,O(t),await Promise.all(t.map(e=>k(e)))}catch(e){E.value=`offline`,w.value=e.message||`Failed to load public sites`}finally{T.value=!1}}return o(j),(e,i)=>(c(),r(`main`,d,[s(`section`,f,[s(`div`,p,[i[0]||=s(`h2`,{class:`group-title`},`Public Sites`,-1),s(`button`,{type:`button`,class:`refresh-btn`,disabled:T.value,onClick:j},n(T.value?`Refreshing...`:`Refresh`),9,m)]),s(`div`,h,[s(`span`,{class:u([`pill`,`is-${E.value}`])},` Service: `+n(E.value),3),s(`span`,g,` Sites: `+n(l.value.length),1),s(`span`,_,` Online: `+n(A()),1)]),T.value?(c(),r(`div`,v,`Loading...`)):w.value?(c(),r(`div`,y,n(w.value),1)):l.value.length>0?(c(),r(`ul`,b,[(c(!0),r(a,null,t(l.value,e=>(c(),r(`li`,{key:e,class:`site-item`},[s(`span`,{class:u([`site-dot`,`is-${D.value[e]||`checking`}`])},null,2),s(`a`,{href:`/public-sites/${e}/`,target:`_blank`,class:`site-link`},n(e),9,x),s(`span`,S,n(D.value[e]||`checking`),1)]))),128))])):(c(),r(`div`,C,`No public sites found.`))])]))}}),[[`__scopeId`,`data-v-e1932d17`]]);export{w as default};
@@ -0,0 +1 @@
1
+ .app-main[data-v-e1932d17]{color:var(--fg);padding:1.5rem}.group[data-v-e1932d17]{border:1px solid var(--fg);border-radius:.5rem;max-width:800px;margin:0 auto;padding:1rem 1.25rem}.group-title[data-v-e1932d17]{margin:0 0 1rem;font-size:1.25rem;font-weight:600}.group-head[data-v-e1932d17]{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.group-head .group-title[data-v-e1932d17]{margin:0}.refresh-btn[data-v-e1932d17]{border:1px solid var(--fg);color:var(--fg);cursor:pointer;font:inherit;background:0 0;border-radius:.375rem;padding:.35rem .65rem}.refresh-btn[data-v-e1932d17]:disabled{opacity:.6;cursor:not-allowed}.status-msg[data-v-e1932d17],.error-msg[data-v-e1932d17]{opacity:.8;padding:1rem 0}.summary-row[data-v-e1932d17]{flex-wrap:wrap;align-items:center;gap:.5rem;margin-bottom:.8rem;display:flex}.pill[data-v-e1932d17]{opacity:.95;border:1px solid #ffffff40;border-radius:999px;padding:.18rem .6rem;font-size:.8rem}.pill.is-online[data-v-e1932d17]{color:#22c55e;border-color:#22c55e}.pill.is-offline[data-v-e1932d17]{color:#ef4444;border-color:#ef4444}.pill.is-checking[data-v-e1932d17]{color:#f59e0b;border-color:#f59e0b}.error-msg[data-v-e1932d17]{color:#ef4444}.site-list[data-v-e1932d17]{flex-direction:column;gap:.5rem;margin:0;padding:0;list-style:none;display:flex}.site-item[data-v-e1932d17]{background:#ffffff08;border:1px solid #ffffff1a;border-radius:.375rem;align-items:center;gap:.65rem;padding:.75rem 1rem;transition:background .2s;display:flex}.site-dot[data-v-e1932d17]{background:#f59e0b;border-radius:999px;flex:none;width:.55rem;height:.55rem}.site-dot.is-online[data-v-e1932d17]{background:#22c55e}.site-dot.is-offline[data-v-e1932d17]{background:#ef4444}.site-item[data-v-e1932d17]:hover{background:#ffffff14}.site-link[data-v-e1932d17]{color:var(--fg);flex:1;font-weight:500;text-decoration:none;display:block}.site-link[data-v-e1932d17]:hover{text-decoration:underline}.site-state[data-v-e1932d17]{opacity:.8;text-transform:capitalize;font-size:.78rem}
@@ -0,0 +1 @@
1
+ .app-header[data-v-7c4c82e0]{border-bottom:1px solid var(--fg);color:var(--fg);justify-content:space-between;align-items:center;padding:1.25rem 1.5rem;display:flex}.header-left[data-v-7c4c82e0]{align-items:center;gap:1.5rem;display:flex}.app-title[data-v-7c4c82e0]{letter-spacing:.02em;color:var(--fg);margin:0;font-size:1.5rem;font-weight:600}.app-nav[data-v-7c4c82e0]{gap:1rem;display:flex}.app-nav a[data-v-7c4c82e0]{color:var(--fg);opacity:.7;font-weight:500;text-decoration:none}.app-nav a.router-link-exact-active[data-v-7c4c82e0]{opacity:1;text-decoration:underline}.app-nav a[data-v-7c4c82e0]:hover{opacity:1}.theme-toggle[data-v-7c4c82e0]{font:inherit;color:var(--fg);border:1px solid var(--fg);cursor:pointer;background:0 0;border-radius:.375rem;padding:.4rem .9rem}.theme-toggle[data-v-7c4c82e0]:hover{opacity:.75}.app-main[data-v-5e6ed138]{color:var(--fg);grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem;padding:1.5rem;display:grid}.group[data-v-5e6ed138]{border:1px solid var(--fg);border-radius:.5rem;padding:1rem 1.25rem}.group-title[data-v-5e6ed138]{margin:0 0 .75rem;font-size:1rem;font-weight:600}.group-list[data-v-5e6ed138]{flex-direction:column;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.check[data-v-5e6ed138]{cursor:pointer;align-items:center;gap:.5rem;font-size:.95rem;display:flex}.check input[data-v-5e6ed138]{accent-color:var(--fg)}.required-tag[data-v-5e6ed138]{opacity:.65;margin-left:auto;font-size:.75rem}.app-footer[data-v-5e6ed138]{border-top:1px solid var(--fg);color:var(--fg);padding:1.5rem}.actions[data-v-5e6ed138]{flex-wrap:wrap;gap:.75rem;display:flex}.btn[data-v-5e6ed138]{font:inherit;color:var(--fg);border:1px solid var(--fg);cursor:pointer;background:0 0;border-radius:.375rem;padding:.5rem 1rem}.btn[data-v-5e6ed138]:disabled{opacity:.4;cursor:not-allowed}.btn[data-v-5e6ed138]:hover:not(:disabled){opacity:.75}.preview[data-v-5e6ed138]{border:1px solid var(--fg);white-space:pre-wrap;word-break:break-word;border-radius:.375rem;max-height:24rem;margin-top:1rem;padding:1rem;font-size:.85rem;overflow:auto}.build-status[data-v-5e6ed138]{margin-top:1.25rem}.build-state[data-v-5e6ed138]{text-transform:uppercase;letter-spacing:.05em;margin:0 0 .5rem;font-size:.9rem}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;--bg:#fff;--fg:#000}:root[data-theme=dark]{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#000;--fg:#fff}*{box-sizing:border-box}html,body,#app{background:var(--bg);min-height:100%;color:var(--fg);margin:0}body{min-height:100vh;font-family:system-ui,-apple-system,sans-serif}
@@ -0,0 +1,3 @@
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/PublicSitesView-BONa1Zoj.js","assets/PublicSitesView-EfFQbc8j.css"])))=>i.map(i=>d[i]);
2
+ (function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();function e(e){let t=Object.create(null);for(let n of e.split(`,`))t[n]=1;return e=>e in t}var t={},n=[],r=()=>{},i=()=>!1,a=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),o=e=>e.startsWith(`onUpdate:`),s=Object.assign,c=(e,t)=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)},l=Object.prototype.hasOwnProperty,u=(e,t)=>l.call(e,t),d=Array.isArray,f=e=>x(e)===`[object Map]`,p=e=>x(e)===`[object Set]`,m=e=>x(e)===`[object Date]`,h=e=>typeof e==`function`,g=e=>typeof e==`string`,_=e=>typeof e==`symbol`,v=e=>typeof e==`object`&&!!e,y=e=>(v(e)||h(e))&&h(e.then)&&h(e.catch),b=Object.prototype.toString,x=e=>b.call(e),S=e=>x(e).slice(8,-1),C=e=>x(e)===`[object Object]`,w=e=>g(e)&&e!==`NaN`&&e[0]!==`-`&&``+parseInt(e,10)===e,ee=e(`,key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted`),te=e=>{let t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},ne=/-\w/g,T=te(e=>e.replace(ne,e=>e.slice(1).toUpperCase())),re=/\B([A-Z])/g,E=te(e=>e.replace(re,`-$1`).toLowerCase()),ie=te(e=>e.charAt(0).toUpperCase()+e.slice(1)),ae=te(e=>e?`on${ie(e)}`:``),D=(e,t)=>!Object.is(e,t),oe=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},O=(e,t,n,r=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:r,value:n})},se=e=>{let t=parseFloat(e);return isNaN(t)?e:t},ce,le=()=>ce||=typeof globalThis<`u`?globalThis:typeof self<`u`?self:typeof window<`u`?window:typeof global<`u`?global:{};function ue(e){if(d(e)){let t={};for(let n=0;n<e.length;n++){let r=e[n],i=g(r)?me(r):ue(r);if(i)for(let e in i)t[e]=i[e]}return t}else if(g(e)||v(e))return e}var de=/;(?![^(]*\))/g,fe=/:([^]+)/,pe=/\/\*[^]*?\*\//g;function me(e){let t={};return e.replace(pe,``).split(de).forEach(e=>{if(e){let n=e.split(fe);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function k(e){let t=``;if(g(e))t=e;else if(d(e))for(let n=0;n<e.length;n++){let r=k(e[n]);r&&(t+=r+` `)}else if(v(e))for(let n in e)e[n]&&(t+=n+` `);return t.trim()}var he=`itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly`,ge=e(he);he+``;function _e(e){return!!e||e===``}function ve(e,t){if(e.length!==t.length)return!1;let n=!0;for(let r=0;n&&r<e.length;r++)n=ye(e[r],t[r]);return n}function ye(e,t){if(e===t)return!0;let n=m(e),r=m(t);if(n||r)return n&&r?e.getTime()===t.getTime():!1;if(n=_(e),r=_(t),n||r)return e===t;if(n=d(e),r=d(t),n||r)return n&&r?ve(e,t):!1;if(n=v(e),r=v(t),n||r){if(!n||!r||Object.keys(e).length!==Object.keys(t).length)return!1;for(let n in e){let r=e.hasOwnProperty(n),i=t.hasOwnProperty(n);if(r&&!i||!r&&i||!ye(e[n],t[n]))return!1}}return String(e)===String(t)}var be=e=>!!(e&&e.__v_isRef===!0),xe=e=>g(e)?e:e==null?``:d(e)||v(e)&&(e.toString===b||!h(e.toString))?be(e)?xe(e.value):JSON.stringify(e,Se,2):String(e),Se=(e,t)=>be(t)?Se(e,t.value):f(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((e,[t,n],r)=>(e[Ce(t,r)+` =>`]=n,e),{})}:p(t)?{[`Set(${t.size})`]:[...t.values()].map(e=>Ce(e))}:_(t)?Ce(t):v(t)&&!d(t)&&!C(t)?String(t):t,Ce=(e,t=``)=>_(e)?`Symbol(${e.description??t})`:e,A,we=class{constructor(e=!1){this.detached=e,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!e&&A&&(A.active?(this.parent=A,this.index=(A.scopes||=[]).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].pause();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let e,t;if(this.scopes)for(e=0,t=this.scopes.length;e<t;e++)this.scopes[e].resume();for(e=0,t=this.effects.length;e<t;e++)this.effects[e].resume()}}run(e){if(this._active){let t=A;try{return A=this,e()}finally{A=t}}}on(){++this._on===1&&(this.prevScope=A,A=this)}off(){if(this._on>0&&--this._on===0){if(A===this)A=this.prevScope;else{let e=A;for(;e;){if(e.prevScope===this){e.prevScope=this.prevScope;break}e=e.prevScope}}this.prevScope=void 0}}stop(e){if(this._active){this._active=!1;let t,n;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].stop();for(this.effects.length=0,t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.cleanups.length=0,this.scopes){for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!e){let e=this.parent.scopes.pop();e&&e!==this&&(this.parent.scopes[this.index]=e,e.index=this.index)}this.parent=void 0}}};function Te(){return A}var j,Ee=new WeakSet,De=class{constructor(e){this.fn=e,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,A&&(A.active?A.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ee.has(this)&&(Ee.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||je(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ue(this),Pe(this);let e=j,t=M;j=this,M=!0;try{return this.fn()}finally{Fe(this),j=e,M=t,this.flags&=-3}}stop(){if(this.flags&1){for(let e=this.deps;e;e=e.nextDep)Re(e);this.deps=this.depsTail=void 0,Ue(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ee.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ie(this)&&this.run()}get dirty(){return Ie(this)}},Oe=0,ke,Ae;function je(e,t=!1){if(e.flags|=8,t){e.next=Ae,Ae=e;return}e.next=ke,ke=e}function Me(){Oe++}function Ne(){if(--Oe>0)return;if(Ae){let e=Ae;for(Ae=void 0;e;){let t=e.next;e.next=void 0,e.flags&=-9,e=t}}let e;for(;ke;){let t=ke;for(ke=void 0;t;){let n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(t){e||=t}t=n}}if(e)throw e}function Pe(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Fe(e){let t,n=e.depsTail,r=n;for(;r;){let e=r.prevDep;r.version===-1?(r===n&&(n=e),Re(r),ze(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=e}e.deps=t,e.depsTail=n}function Ie(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Le(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Le(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===We)||(e.globalVersion=We,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ie(e))))return;e.flags|=2;let t=e.dep,n=j,r=M;j=e,M=!0;try{Pe(e);let n=e.fn(e._value);(t.version===0||D(n,e._value))&&(e.flags|=128,e._value=n,t.version++)}catch(e){throw t.version++,e}finally{j=n,M=r,Fe(e),e.flags&=-3}}function Re(e,t=!1){let{dep:n,prevSub:r,nextSub:i}=e;if(r&&(r.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=r,e.nextSub=void 0),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let e=n.computed.deps;e;e=e.nextDep)Re(e,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ze(e){let{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}var M=!0,Be=[];function Ve(){Be.push(M),M=!1}function He(){let e=Be.pop();M=e===void 0?!0:e}function Ue(e){let{cleanup:t}=e;if(e.cleanup=void 0,t){let e=j;j=void 0;try{t()}finally{j=e}}}var We=0,Ge=class{constructor(e,t){this.sub=e,this.dep=t,this.version=t.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}},Ke=class{constructor(e){this.computed=e,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(e){if(!j||!M||j===this.computed)return;let t=this.activeLink;if(t===void 0||t.sub!==j)t=this.activeLink=new Ge(j,this),j.deps?(t.prevDep=j.depsTail,j.depsTail.nextDep=t,j.depsTail=t):j.deps=j.depsTail=t,qe(t);else if(t.version===-1&&(t.version=this.version,t.nextDep)){let e=t.nextDep;e.prevDep=t.prevDep,t.prevDep&&(t.prevDep.nextDep=e),t.prevDep=j.depsTail,t.nextDep=void 0,j.depsTail.nextDep=t,j.depsTail=t,j.deps===t&&(j.deps=e)}return t}trigger(e){this.version++,We++,this.notify(e)}notify(e){Me();try{for(let e=this.subs;e;e=e.prevSub)e.sub.notify()&&e.sub.dep.notify()}finally{Ne()}}};function qe(e){if(e.dep.sc++,e.sub.flags&4){let t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let e=t.deps;e;e=e.nextDep)qe(e)}let n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}var Je=new WeakMap,Ye=Symbol(``),Xe=Symbol(``),Ze=Symbol(``);function N(e,t,n){if(M&&j){let t=Je.get(e);t||Je.set(e,t=new Map);let r=t.get(n);r||(t.set(n,r=new Ke),r.map=t,r.key=n),r.track()}}function Qe(e,t,n,r,i,a){let o=Je.get(e);if(!o){We++;return}let s=e=>{e&&e.trigger()};if(Me(),t===`clear`)o.forEach(s);else{let i=d(e),a=i&&w(n);if(i&&n===`length`){let e=Number(r);o.forEach((t,n)=>{(n===`length`||n===Ze||!_(n)&&n>=e)&&s(t)})}else switch((n!==void 0||o.has(void 0))&&s(o.get(n)),a&&s(o.get(Ze)),t){case`add`:i?a&&s(o.get(`length`)):(s(o.get(Ye)),f(e)&&s(o.get(Xe)));break;case`delete`:i||(s(o.get(Ye)),f(e)&&s(o.get(Xe)));break;case`set`:f(e)&&s(o.get(Ye));break}}Ne()}function $e(e){let t=F(e);return t===e?t:(N(t,`iterate`,Ze),P(e)?t:t.map(Vt))}function et(e){return N(e=F(e),`iterate`,Ze),e}function tt(e,t){return Rt(e)?Ht(Lt(e)?Vt(t):t):Vt(t)}var nt={__proto__:null,[Symbol.iterator](){return rt(this,Symbol.iterator,e=>tt(this,e))},concat(...e){return $e(this).concat(...e.map(e=>d(e)?$e(e):e))},entries(){return rt(this,`entries`,e=>(e[1]=tt(this,e[1]),e))},every(e,t){return at(this,`every`,e,t,void 0,arguments)},filter(e,t){return at(this,`filter`,e,t,e=>e.map(e=>tt(this,e)),arguments)},find(e,t){return at(this,`find`,e,t,e=>tt(this,e),arguments)},findIndex(e,t){return at(this,`findIndex`,e,t,void 0,arguments)},findLast(e,t){return at(this,`findLast`,e,t,e=>tt(this,e),arguments)},findLastIndex(e,t){return at(this,`findLastIndex`,e,t,void 0,arguments)},forEach(e,t){return at(this,`forEach`,e,t,void 0,arguments)},includes(...e){return st(this,`includes`,e)},indexOf(...e){return st(this,`indexOf`,e)},join(e){return $e(this).join(e)},lastIndexOf(...e){return st(this,`lastIndexOf`,e)},map(e,t){return at(this,`map`,e,t,void 0,arguments)},pop(){return ct(this,`pop`)},push(...e){return ct(this,`push`,e)},reduce(e,...t){return ot(this,`reduce`,e,t)},reduceRight(e,...t){return ot(this,`reduceRight`,e,t)},shift(){return ct(this,`shift`)},some(e,t){return at(this,`some`,e,t,void 0,arguments)},splice(...e){return ct(this,`splice`,e)},toReversed(){return $e(this).toReversed()},toSorted(e){return $e(this).toSorted(e)},toSpliced(...e){return $e(this).toSpliced(...e)},unshift(...e){return ct(this,`unshift`,e)},values(){return rt(this,`values`,e=>tt(this,e))}};function rt(e,t,n){let r=et(e),i=r[t]();return r!==e&&!P(e)&&(i._next=i.next,i.next=()=>{let e=i._next();return e.done||(e.value=n(e.value)),e}),i}var it=Array.prototype;function at(e,t,n,r,i,a){let o=et(e),s=o!==e&&!P(e),c=o[t];if(c!==it[t]){let t=c.apply(e,a);return s?Vt(t):t}let l=n;o!==e&&(s?l=function(t,r){return n.call(this,tt(e,t),r,e)}:n.length>2&&(l=function(t,r){return n.call(this,t,r,e)}));let u=c.call(o,l,r);return s&&i?i(u):u}function ot(e,t,n,r){let i=et(e),a=i!==e&&!P(e),o=n,s=!1;i!==e&&(a?(s=r.length===0,o=function(t,r,i){return s&&(s=!1,t=tt(e,t)),n.call(this,t,tt(e,r),i,e)}):n.length>3&&(o=function(t,r,i){return n.call(this,t,r,i,e)}));let c=i[t](o,...r);return s?tt(e,c):c}function st(e,t,n){let r=F(e);N(r,`iterate`,Ze);let i=r[t](...n);return(i===-1||i===!1)&&zt(n[0])?(n[0]=F(n[0]),r[t](...n)):i}function ct(e,t,n=[]){Ve(),Me();let r=F(e)[t].apply(e,n);return Ne(),He(),r}var lt=e(`__proto__,__v_isRef,__isVue`),ut=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!==`arguments`&&e!==`caller`).map(e=>Symbol[e]).filter(_));function dt(e){_(e)||(e=String(e));let t=F(this);return N(t,`has`,e),t.hasOwnProperty(e)}var ft=class{constructor(e=!1,t=!1){this._isReadonly=e,this._isShallow=t}get(e,t,n){if(t===`__v_skip`)return e.__v_skip;let r=this._isReadonly,i=this._isShallow;if(t===`__v_isReactive`)return!r;if(t===`__v_isReadonly`)return r;if(t===`__v_isShallow`)return i;if(t===`__v_raw`)return n===(r?i?At:kt:i?Ot:Dt).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;let a=d(e);if(!r){let e;if(a&&(e=nt[t]))return e;if(t===`hasOwnProperty`)return dt}let o=Reflect.get(e,t,I(e)?e:n);if((_(t)?ut.has(t):lt(t))||(r||N(e,`get`,t),i))return o;if(I(o)){let e=a&&w(t)?o:o.value;return r&&v(e)?Ft(e):e}return v(o)?r?Ft(o):Nt(o):o}},pt=class extends ft{constructor(e=!1){super(!1,e)}set(e,t,n,r){let i=e[t],a=d(e)&&w(t);if(!this._isShallow){let e=Rt(i);if(!P(n)&&!Rt(n)&&(i=F(i),n=F(n)),!a&&I(i)&&!I(n))return e||(i.value=n),!0}let o=a?Number(t)<e.length:u(e,t),s=Reflect.set(e,t,n,I(e)?e:r);return e===F(r)&&(o?D(n,i)&&Qe(e,`set`,t,n,i):Qe(e,`add`,t,n)),s}deleteProperty(e,t){let n=u(e,t),r=e[t],i=Reflect.deleteProperty(e,t);return i&&n&&Qe(e,`delete`,t,void 0,r),i}has(e,t){let n=Reflect.has(e,t);return(!_(t)||!ut.has(t))&&N(e,`has`,t),n}ownKeys(e){return N(e,`iterate`,d(e)?`length`:Ye),Reflect.ownKeys(e)}},mt=class extends ft{constructor(e=!1){super(!0,e)}set(e,t){return!0}deleteProperty(e,t){return!0}},ht=new pt,gt=new mt,_t=new pt(!0),vt=e=>e,yt=e=>Reflect.getPrototypeOf(e);function bt(e,t,n){return function(...r){let i=this.__v_raw,a=F(i),o=f(a),c=e===`entries`||e===Symbol.iterator&&o,l=e===`keys`&&o,u=i[e](...r),d=n?vt:t?Ht:Vt;return!t&&N(a,`iterate`,l?Xe:Ye),s(Object.create(u),{next(){let{value:e,done:t}=u.next();return t?{value:e,done:t}:{value:c?[d(e[0]),d(e[1])]:d(e),done:t}}})}}function xt(e){return function(...t){return e===`delete`?!1:e===`clear`?void 0:this}}function St(e,t){let n={get(n){let r=this.__v_raw,i=F(r),a=F(n);e||(D(n,a)&&N(i,`get`,n),N(i,`get`,a));let{has:o}=yt(i),s=t?vt:e?Ht:Vt;if(o.call(i,n))return s(r.get(n));if(o.call(i,a))return s(r.get(a));r!==i&&r.get(n)},get size(){let t=this.__v_raw;return!e&&N(F(t),`iterate`,Ye),t.size},has(t){let n=this.__v_raw,r=F(n),i=F(t);return e||(D(t,i)&&N(r,`has`,t),N(r,`has`,i)),t===i?n.has(t):n.has(t)||n.has(i)},forEach(n,r){let i=this,a=i.__v_raw,o=F(a),s=t?vt:e?Ht:Vt;return!e&&N(o,`iterate`,Ye),a.forEach((e,t)=>n.call(r,s(e),s(t),i))}};return s(n,e?{add:xt(`add`),set:xt(`set`),delete:xt(`delete`),clear:xt(`clear`)}:{add(e){let n=F(this),r=yt(n),i=F(e),a=!t&&!P(e)&&!Rt(e)?i:e;return r.has.call(n,a)||D(e,a)&&r.has.call(n,e)||D(i,a)&&r.has.call(n,i)||(n.add(a),Qe(n,`add`,a,a)),this},set(e,n){!t&&!P(n)&&!Rt(n)&&(n=F(n));let r=F(this),{has:i,get:a}=yt(r),o=i.call(r,e);o||=(e=F(e),i.call(r,e));let s=a.call(r,e);return r.set(e,n),o?D(n,s)&&Qe(r,`set`,e,n,s):Qe(r,`add`,e,n),this},delete(e){let t=F(this),{has:n,get:r}=yt(t),i=n.call(t,e);i||=(e=F(e),n.call(t,e));let a=r?r.call(t,e):void 0,o=t.delete(e);return i&&Qe(t,`delete`,e,void 0,a),o},clear(){let e=F(this),t=e.size!==0,n=e.clear();return t&&Qe(e,`clear`,void 0,void 0,void 0),n}}),[`keys`,`values`,`entries`,Symbol.iterator].forEach(r=>{n[r]=bt(r,e,t)}),n}function Ct(e,t){let n=St(e,t);return(t,r,i)=>r===`__v_isReactive`?!e:r===`__v_isReadonly`?e:r===`__v_raw`?t:Reflect.get(u(n,r)&&r in t?n:t,r,i)}var wt={get:Ct(!1,!1)},Tt={get:Ct(!1,!0)},Et={get:Ct(!0,!1)},Dt=new WeakMap,Ot=new WeakMap,kt=new WeakMap,At=new WeakMap;function jt(e){switch(e){case`Object`:case`Array`:return 1;case`Map`:case`Set`:case`WeakMap`:case`WeakSet`:return 2;default:return 0}}function Mt(e){return e.__v_skip||!Object.isExtensible(e)?0:jt(S(e))}function Nt(e){return Rt(e)?e:It(e,!1,ht,wt,Dt)}function Pt(e){return It(e,!1,_t,Tt,Ot)}function Ft(e){return It(e,!0,gt,Et,kt)}function It(e,t,n,r,i){if(!v(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;let a=Mt(e);if(a===0)return e;let o=i.get(e);if(o)return o;let s=new Proxy(e,a===2?r:n);return i.set(e,s),s}function Lt(e){return Rt(e)?Lt(e.__v_raw):!!(e&&e.__v_isReactive)}function Rt(e){return!!(e&&e.__v_isReadonly)}function P(e){return!!(e&&e.__v_isShallow)}function zt(e){return e?!!e.__v_raw:!1}function F(e){let t=e&&e.__v_raw;return t?F(t):e}function Bt(e){return!u(e,`__v_skip`)&&Object.isExtensible(e)&&O(e,`__v_skip`,!0),e}var Vt=e=>v(e)?Nt(e):e,Ht=e=>v(e)?Ft(e):e;function I(e){return e?e.__v_isRef===!0:!1}function Ut(e){return Gt(e,!1)}function Wt(e){return Gt(e,!0)}function Gt(e,t){return I(e)?e:new Kt(e,t)}var Kt=class{constructor(e,t){this.dep=new Ke,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=t?e:F(e),this._value=t?e:Vt(e),this.__v_isShallow=t}get value(){return this.dep.track(),this._value}set value(e){let t=this._rawValue,n=this.__v_isShallow||P(e)||Rt(e);e=n?e:F(e),D(e,t)&&(this._rawValue=e,this._value=n?e:Vt(e),this.dep.trigger())}};function qt(e){return I(e)?e.value:e}var Jt={get:(e,t,n)=>t===`__v_raw`?e:qt(Reflect.get(e,t,n)),set:(e,t,n,r)=>{let i=e[t];return I(i)&&!I(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function Yt(e){return Lt(e)?e:new Proxy(e,Jt)}var Xt=class{constructor(e,t,n){this.fn=e,this.setter=t,this._value=void 0,this.dep=new Ke(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=We-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!t,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&j!==this)return je(this,!0),!0}get value(){let e=this.dep.track();return Le(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}};function Zt(e,t,n=!1){let r,i;return h(e)?r=e:(r=e.get,i=e.set),new Xt(r,i,n)}var Qt={},$t=new WeakMap,en=void 0;function tn(e,t=!1,n=en){if(n){let t=$t.get(n);t||$t.set(n,t=[]),t.push(e)}}function nn(e,n,i=t){let{immediate:a,deep:o,once:s,scheduler:l,augmentJob:u,call:f}=i,p=e=>o?e:P(e)||o===!1||o===0?rn(e,1):rn(e),m,g,_,v,y=!1,b=!1;if(I(e)?(g=()=>e.value,y=P(e)):Lt(e)?(g=()=>p(e),y=!0):d(e)?(b=!0,y=e.some(e=>Lt(e)||P(e)),g=()=>e.map(e=>{if(I(e))return e.value;if(Lt(e))return p(e);if(h(e))return f?f(e,2):e()})):g=h(e)?n?f?()=>f(e,2):e:()=>{if(_){Ve();try{_()}finally{He()}}let t=en;en=m;try{return f?f(e,3,[v]):e(v)}finally{en=t}}:r,n&&o){let e=g,t=o===!0?1/0:o;g=()=>rn(e(),t)}let x=Te(),S=()=>{m.stop(),x&&x.active&&c(x.effects,m)};if(s&&n){let e=n;n=(...t)=>{e(...t),S()}}let C=b?Array(e.length).fill(Qt):Qt,w=e=>{if(!(!(m.flags&1)||!m.dirty&&!e))if(n){let e=m.run();if(o||y||(b?e.some((e,t)=>D(e,C[t])):D(e,C))){_&&_();let t=en;en=m;try{let t=[e,C===Qt?void 0:b&&C[0]===Qt?[]:C,v];C=e,f?f(n,3,t):n(...t)}finally{en=t}}}else m.run()};return u&&u(w),m=new De(g),m.scheduler=l?()=>l(w,!1):w,v=e=>tn(e,!1,m),_=m.onStop=()=>{let e=$t.get(m);if(e){if(f)f(e,4);else for(let t of e)t();$t.delete(m)}},n?a?w(!0):C=m.run():l?l(w.bind(null,!0),!0):m.run(),S.pause=m.pause.bind(m),S.resume=m.resume.bind(m),S.stop=S,S}function rn(e,t=1/0,n){if(t<=0||!v(e)||e.__v_skip||(n||=new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,I(e))rn(e.value,t,n);else if(d(e))for(let r=0;r<e.length;r++)rn(e[r],t,n);else if(p(e)||f(e))e.forEach(e=>{rn(e,t,n)});else if(C(e)){for(let r in e)rn(e[r],t,n);for(let r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&rn(e[r],t,n)}return e}function an(e,t,n,r){try{return r?e(...r):e()}catch(e){sn(e,t,n)}}function on(e,t,n,r){if(h(e)){let i=an(e,t,n,r);return i&&y(i)&&i.catch(e=>{sn(e,t,n)}),i}if(d(e)){let i=[];for(let a=0;a<e.length;a++)i.push(on(e[a],t,n,r));return i}}function sn(e,n,r,i=!0){let a=n?n.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=n&&n.appContext.config||t;if(n){let t=n.parent,i=n.proxy,a=`https://vuejs.org/error-reference/#runtime-${r}`;for(;t;){let n=t.ec;if(n){for(let t=0;t<n.length;t++)if(n[t](e,i,a)===!1)return}t=t.parent}if(o){Ve(),an(o,null,10,[e,i,a]),He();return}}cn(e,r,a,i,s)}function cn(e,t,n,r=!0,i=!1){if(i)throw e;console.error(e)}var L=[],ln=-1,un=[],dn=null,fn=0,pn=Promise.resolve(),mn=null;function hn(e){let t=mn||pn;return e?t.then(this?e.bind(this):e):t}function gn(e){let t=ln+1,n=L.length;for(;t<n;){let r=t+n>>>1,i=L[r],a=Sn(i);a<e||a===e&&i.flags&2?t=r+1:n=r}return t}function _n(e){if(!(e.flags&1)){let t=Sn(e),n=L[L.length-1];!n||!(e.flags&2)&&t>=Sn(n)?L.push(e):L.splice(gn(t),0,e),e.flags|=1,vn()}}function vn(){mn||=pn.then(Cn)}function yn(e){d(e)?un.push(...e):dn&&e.id===-1?dn.splice(fn+1,0,e):e.flags&1||(un.push(e),e.flags|=1),vn()}function bn(e,t,n=ln+1){for(;n<L.length;n++){let t=L[n];if(t&&t.flags&2){if(e&&t.id!==e.uid)continue;L.splice(n,1),n--,t.flags&4&&(t.flags&=-2),t(),t.flags&4||(t.flags&=-2)}}}function xn(e){if(un.length){let e=[...new Set(un)].sort((e,t)=>Sn(e)-Sn(t));if(un.length=0,dn){dn.push(...e);return}for(dn=e,fn=0;fn<dn.length;fn++){let e=dn[fn];e.flags&4&&(e.flags&=-2),e.flags&8||e(),e.flags&=-2}dn=null,fn=0}}var Sn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Cn(e){try{for(ln=0;ln<L.length;ln++){let e=L[ln];e&&!(e.flags&8)&&(e.flags&4&&(e.flags&=-2),an(e,e.i,e.i?15:14),e.flags&4||(e.flags&=-2))}}finally{for(;ln<L.length;ln++){let e=L[ln];e&&(e.flags&=-2)}ln=-1,L.length=0,xn(e),mn=null,(L.length||un.length)&&Cn(e)}}var R=null,wn=null;function Tn(e){let t=R;return R=e,wn=e&&e.type.__scopeId||null,t}function En(e,t=R,n){if(!t||e._n)return e;let r=(...n)=>{r._d&&Ai(-1);let i=Tn(t),a;try{a=e(...n)}finally{Tn(i),r._d&&Ai(1)}return a};return r._n=!0,r._c=!0,r._d=!0,r}function Dn(e,n){if(R===null)return e;let r=da(R),i=e.dirs||=[];for(let e=0;e<n.length;e++){let[a,o,s,c=t]=n[e];a&&(h(a)&&(a={mounted:a,updated:a}),a.deep&&rn(o),i.push({dir:a,instance:r,value:o,oldValue:void 0,arg:s,modifiers:c}))}return e}function On(e,t,n,r){let i=e.dirs,a=t&&t.dirs;for(let o=0;o<i.length;o++){let s=i[o];a&&(s.oldValue=a[o].value);let c=s.dir[r];c&&(Ve(),on(c,n,8,[e.el,s,e,t]),He())}}function kn(e,t){if(q){let n=q.provides,r=q.parent&&q.parent.provides;r===n&&(n=q.provides=Object.create(r)),n[e]=t}}function An(e,t,n=!1){let r=Xi();if(r||Fr){let i=Fr?Fr._context.provides:r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&h(t)?t.call(r&&r.proxy):t}}var jn=Symbol.for(`v-scx`),Mn=()=>An(jn);function Nn(e,t,n){return Pn(e,t,n)}function Pn(e,n,i=t){let{immediate:a,deep:o,flush:c,once:l}=i,u=s({},i),d=n&&a||!n&&c!==`post`,f;if(na){if(c===`sync`){let e=Mn();f=e.__watcherHandles||=[]}else if(!d){let e=()=>{};return e.stop=r,e.resume=r,e.pause=r,e}}let p=q;u.call=(e,t,n)=>on(e,p,t,n);let m=!1;c===`post`?u.scheduler=e=>{B(e,p&&p.suspense)}:c!==`sync`&&(m=!0,u.scheduler=(e,t)=>{t?e():_n(e)}),u.augmentJob=e=>{n&&(e.flags|=4),m&&(e.flags|=2,p&&(e.id=p.uid,e.i=p))};let h=nn(e,n,u);return na&&(f?f.push(h):d&&h()),h}function Fn(e,t,n){let r=this.proxy,i=g(e)?e.includes(`.`)?In(r,e):()=>r[e]:e.bind(r,r),a;h(t)?a=t:(a=t.handler,n=t);let o=$i(this),s=Pn(i,a.bind(r),n);return o(),s}function In(e,t){let n=t.split(`.`);return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}var Ln=Symbol(`_vte`),Rn=e=>e.__isTeleport,zn=Symbol(`_leaveCb`);function Bn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Bn(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 Vn(e,t){return h(e)?s({name:e.name},t,{setup:e}):e}function Hn(e){e.ids=[e.ids[0]+ e.ids[2]+++`-`,0,0]}function Un(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}var Wn=new WeakMap;function Gn(e,n,r,a,o=!1){if(d(e)){e.forEach((e,t)=>Gn(e,n&&(d(n)?n[t]:n),r,a,o));return}if(qn(a)&&!o){a.shapeFlag&512&&a.type.__asyncResolved&&a.component.subTree.component&&Gn(e,n,r,a.component.subTree);return}let s=a.shapeFlag&4?da(a.component):a.el,l=o?null:s,{i:f,r:p}=e,m=n&&n.r,_=f.refs===t?f.refs={}:f.refs,v=f.setupState,y=F(v),b=v===t?i:e=>Un(_,e)?!1:u(y,e),x=(e,t)=>!(t&&Un(_,t));if(m!=null&&m!==p){if(Kn(n),g(m))_[m]=null,b(m)&&(v[m]=null);else if(I(m)){let e=n;x(m,e.k)&&(m.value=null),e.k&&(_[e.k]=null)}}if(h(p))an(p,f,12,[l,_]);else{let t=g(p),n=I(p);if(t||n){let i=()=>{if(e.f){let n=t?b(p)?v[p]:_[p]:x(p)||!e.k?p.value:_[e.k];if(o)d(n)&&c(n,s);else if(d(n))n.includes(s)||n.push(s);else if(t)_[p]=[s],b(p)&&(v[p]=_[p]);else{let t=[s];x(p,e.k)&&(p.value=t),e.k&&(_[e.k]=t)}}else t?(_[p]=l,b(p)&&(v[p]=l)):n&&(x(p,e.k)&&(p.value=l),e.k&&(_[e.k]=l))};if(l){let t=()=>{i(),Wn.delete(e)};t.id=-1,Wn.set(e,t),B(t,r)}else Kn(e),i()}}}function Kn(e){let t=Wn.get(e);t&&(t.flags|=8,Wn.delete(e))}le().requestIdleCallback,le().cancelIdleCallback;var qn=e=>!!e.type.__asyncLoader,Jn=e=>e.type.__isKeepAlive;function Yn(e,t){Zn(e,`a`,t)}function Xn(e,t){Zn(e,`da`,t)}function Zn(e,t,n=q){let r=e.__wdc||=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}return e()};if($n(t,r,n),n){let e=n.parent;for(;e&&e.parent;)Jn(e.parent.vnode)&&Qn(r,t,n,e),e=e.parent}}function Qn(e,t,n,r){let i=$n(t,e,r,!0);or(()=>{c(r[t],i)},n)}function $n(e,t,n=q,r=!1){if(n){let i=n[e]||(n[e]=[]),a=t.__weh||=(...r)=>{Ve();let i=$i(n),a=on(t,n,e,r);return i(),He(),a};return r?i.unshift(a):i.push(a),a}}var er=e=>(t,n=q)=>{(!na||e===`sp`)&&$n(e,(...e)=>t(...e),n)},tr=er(`bm`),nr=er(`m`),rr=er(`bu`),ir=er(`u`),ar=er(`bum`),or=er(`um`),sr=er(`sp`),cr=er(`rtg`),lr=er(`rtc`);function ur(e,t=q){$n(`ec`,e,t)}var dr=Symbol.for(`v-ndc`);function fr(e,t,n,r){let i,a=n&&n[r],o=d(e);if(o||g(e)){let n=o&&Lt(e),r=!1,s=!1;n&&(r=!P(e),s=Rt(e),e=et(e)),i=Array(e.length);for(let n=0,o=e.length;n<o;n++)i[n]=t(r?s?Ht(Vt(e[n])):Vt(e[n]):e[n],n,void 0,a&&a[n])}else if(typeof e==`number`){i=Array(e);for(let n=0;n<e;n++)i[n]=t(n+1,n,void 0,a&&a[n])}else if(v(e))if(e[Symbol.iterator])i=Array.from(e,(e,n)=>t(e,n,void 0,a&&a[n]));else{let n=Object.keys(e);i=Array(n.length);for(let r=0,o=n.length;r<o;r++){let o=n[r];i[r]=t(e[o],o,r,a&&a[r])}}else i=[];return n&&(n[r]=i),i}var pr=e=>e?ta(e)?da(e):pr(e.parent):null,mr=s(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=>pr(e.parent),$root:e=>pr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Cr(e),$forceUpdate:e=>e.f||=()=>{_n(e.update)},$nextTick:e=>e.n||=hn.bind(e.proxy),$watch:e=>Fn.bind(e)}),hr=(e,n)=>e!==t&&!e.__isScriptSetup&&u(e,n),gr={get({_:e},n){if(n===`__v_skip`)return!0;let{ctx:r,setupState:i,data:a,props:o,accessCache:s,type:c,appContext:l}=e;if(n[0]!==`$`){let e=s[n];if(e!==void 0)switch(e){case 1:return i[n];case 2:return a[n];case 4:return r[n];case 3:return o[n]}else if(hr(i,n))return s[n]=1,i[n];else if(a!==t&&u(a,n))return s[n]=2,a[n];else if(u(o,n))return s[n]=3,o[n];else if(r!==t&&u(r,n))return s[n]=4,r[n];else vr&&(s[n]=0)}let d=mr[n],f,p;if(d)return n===`$attrs`&&N(e.attrs,`get`,``),d(e);if((f=c.__cssModules)&&(f=f[n]))return f;if(r!==t&&u(r,n))return s[n]=4,r[n];if(p=l.config.globalProperties,u(p,n))return p[n]},set({_:e},n,r){let{data:i,setupState:a,ctx:o}=e;return hr(a,n)?(a[n]=r,!0):i!==t&&u(i,n)?(i[n]=r,!0):u(e.props,n)||n[0]===`$`&&n.slice(1)in e?!1:(o[n]=r,!0)},has({_:{data:e,setupState:n,accessCache:r,ctx:i,appContext:a,props:o,type:s}},c){let l;return!!(r[c]||e!==t&&c[0]!==`$`&&u(e,c)||hr(n,c)||u(o,c)||u(i,c)||u(mr,c)||u(a.config.globalProperties,c)||(l=s.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get==null?u(n,`value`)&&this.set(e,t,n.value,null):e._.accessCache[t]=0,Reflect.defineProperty(e,t,n)}};function _r(e){return d(e)?e.reduce((e,t)=>(e[t]=null,e),{}):e}var vr=!0;function yr(e){let t=Cr(e),n=e.proxy,i=e.ctx;vr=!1,t.beforeCreate&&xr(t.beforeCreate,e,`bc`);let{data:a,computed:o,methods:s,watch:c,provide:l,inject:u,created:f,beforeMount:p,mounted:m,beforeUpdate:g,updated:_,activated:y,deactivated:b,beforeDestroy:x,beforeUnmount:S,destroyed:C,unmounted:w,render:ee,renderTracked:te,renderTriggered:ne,errorCaptured:T,serverPrefetch:re,expose:E,inheritAttrs:ie,components:ae,directives:D,filters:oe}=t;if(u&&br(u,i,null),s)for(let e in s){let t=s[e];h(t)&&(i[e]=t.bind(n))}if(a){let t=a.call(n,n);v(t)&&(e.data=Nt(t))}if(vr=!0,o)for(let e in o){let t=o[e],a=J({get:h(t)?t.bind(n,n):h(t.get)?t.get.bind(n,n):r,set:!h(t)&&h(t.set)?t.set.bind(n):r});Object.defineProperty(i,e,{enumerable:!0,configurable:!0,get:()=>a.value,set:e=>a.value=e})}if(c)for(let e in c)Sr(c[e],i,n,e);if(l){let e=h(l)?l.call(n):l;Reflect.ownKeys(e).forEach(t=>{kn(t,e[t])})}f&&xr(f,e,`c`);function O(e,t){d(t)?t.forEach(t=>e(t.bind(n))):t&&e(t.bind(n))}if(O(tr,p),O(nr,m),O(rr,g),O(ir,_),O(Yn,y),O(Xn,b),O(ur,T),O(lr,te),O(cr,ne),O(ar,S),O(or,w),O(sr,re),d(E))if(E.length){let t=e.exposed||={};E.forEach(e=>{Object.defineProperty(t,e,{get:()=>n[e],set:t=>n[e]=t,enumerable:!0})})}else e.exposed||={};ee&&e.render===r&&(e.render=ee),ie!=null&&(e.inheritAttrs=ie),ae&&(e.components=ae),D&&(e.directives=D),re&&Hn(e)}function br(e,t,n=r){d(e)&&(e=Or(e));for(let n in e){let r=e[n],i;i=v(r)?`default`in r?An(r.from||n,r.default,!0):An(r.from||n):An(r),I(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e}):t[n]=i}}function xr(e,t,n){on(d(e)?e.map(e=>e.bind(t.proxy)):e.bind(t.proxy),t,n)}function Sr(e,t,n,r){let i=r.includes(`.`)?In(n,r):()=>n[r];if(g(e)){let n=t[e];h(n)&&Nn(i,n)}else if(h(e))Nn(i,e.bind(n));else if(v(e))if(d(e))e.forEach(e=>Sr(e,t,n,r));else{let r=h(e.handler)?e.handler.bind(n):t[e.handler];h(r)&&Nn(i,r,e)}}function Cr(e){let t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:a,config:{optionMergeStrategies:o}}=e.appContext,s=a.get(t),c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(e=>wr(c,e,o,!0)),wr(c,t,o)),v(t)&&a.set(t,c),c}function wr(e,t,n,r=!1){let{mixins:i,extends:a}=t;a&&wr(e,a,n,!0),i&&i.forEach(t=>wr(e,t,n,!0));for(let i in t)if(!(r&&i===`expose`)){let r=Tr[i]||n&&n[i];e[i]=r?r(e[i],t[i]):t[i]}return e}var Tr={data:Er,props:Ar,emits:Ar,methods:kr,computed:kr,beforeCreate:z,created:z,beforeMount:z,mounted:z,beforeUpdate:z,updated:z,beforeDestroy:z,beforeUnmount:z,destroyed:z,unmounted:z,activated:z,deactivated:z,errorCaptured:z,serverPrefetch:z,components:kr,directives:kr,watch:jr,provide:Er,inject:Dr};function Er(e,t){return t?e?function(){return s(h(e)?e.call(this,this):e,h(t)?t.call(this,this):t)}:t:e}function Dr(e,t){return kr(Or(e),Or(t))}function Or(e){if(d(e)){let t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function z(e,t){return e?[...new Set([].concat(e,t))]:t}function kr(e,t){return e?s(Object.create(null),e,t):t}function Ar(e,t){return e?d(e)&&d(t)?[...new Set([...e,...t])]:s(Object.create(null),_r(e),_r(t??{})):t}function jr(e,t){if(!e)return t;if(!t)return e;let n=s(Object.create(null),e);for(let r in t)n[r]=z(e[r],t[r]);return n}function Mr(){return{app:null,config:{isNativeTag:i,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}}var Nr=0;function Pr(e,t){return function(n,r=null){h(n)||(n=s({},n)),r!=null&&!v(r)&&(r=null);let i=Mr(),a=new WeakSet,o=[],c=!1,l=i.app={_uid:Nr++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:ma,get config(){return i.config},set config(e){},use(e,...t){return a.has(e)||(e&&h(e.install)?(a.add(e),e.install(l,...t)):h(e)&&(a.add(e),e(l,...t))),l},mixin(e){return i.mixins.includes(e)||i.mixins.push(e),l},component(e,t){return t?(i.components[e]=t,l):i.components[e]},directive(e,t){return t?(i.directives[e]=t,l):i.directives[e]},mount(a,o,s){if(!c){let u=l._ceVNode||K(n,r);return u.appContext=i,s===!0?s=`svg`:s===!1&&(s=void 0),o&&t?t(u,a):e(u,a,s),c=!0,l._container=a,a.__vue_app__=l,da(u.component)}},onUnmount(e){o.push(e)},unmount(){c&&(on(o,l._instance,16),e(null,l._container),delete l._container.__vue_app__)},provide(e,t){return i.provides[e]=t,l},runWithContext(e){let t=Fr;Fr=l;try{return e()}finally{Fr=t}}};return l}}var Fr=null,Ir=(e,t)=>t===`modelValue`||t===`model-value`?e.modelModifiers:e[`${t}Modifiers`]||e[`${T(t)}Modifiers`]||e[`${E(t)}Modifiers`];function Lr(e,n,...r){if(e.isUnmounted)return;let i=e.vnode.props||t,a=r,o=n.startsWith(`update:`),s=o&&Ir(i,n.slice(7));s&&(s.trim&&(a=r.map(e=>g(e)?e.trim():e)),s.number&&(a=r.map(se)));let c,l=i[c=ae(n)]||i[c=ae(T(n))];!l&&o&&(l=i[c=ae(E(n))]),l&&on(l,e,6,a);let u=i[c+`Once`];if(u){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,on(u,e,6,a)}}var Rr=new WeakMap;function zr(e,t,n=!1){let r=n?Rr:t.emitsCache,i=r.get(e);if(i!==void 0)return i;let a=e.emits,o={},c=!1;if(!h(e)){let r=e=>{let n=zr(e,t,!0);n&&(c=!0,s(o,n))};!n&&t.mixins.length&&t.mixins.forEach(r),e.extends&&r(e.extends),e.mixins&&e.mixins.forEach(r)}return!a&&!c?(v(e)&&r.set(e,null),null):(d(a)?a.forEach(e=>o[e]=null):s(o,a),v(e)&&r.set(e,o),o)}function Br(e,t){return!e||!a(t)?!1:(t=t.slice(2).replace(/Once$/,``),u(e,t[0].toLowerCase()+t.slice(1))||u(e,E(t))||u(e,t))}function Vr(e){let{type:t,vnode:n,proxy:r,withProxy:i,propsOptions:[a],slots:s,attrs:c,emit:l,render:u,renderCache:d,props:f,data:p,setupState:m,ctx:h,inheritAttrs:g}=e,_=Tn(e),v,y;try{if(n.shapeFlag&4){let e=i||r,t=e;v=Hi(u.call(t,e,d,f,m,p,h)),y=c}else{let e=t;v=Hi(e.length>1?e(f,{attrs:c,slots:s,emit:l}):e(f,null)),y=t.props?c:Hr(c)}}catch(t){Di.length=0,sn(t,e,1),v=K(Ti)}let b=v;if(y&&g!==!1){let e=Object.keys(y),{shapeFlag:t}=b;e.length&&t&7&&(a&&e.some(o)&&(y=Ur(y,a)),b=zi(b,y,!1,!0))}return n.dirs&&(b=zi(b,null,!1,!0),b.dirs=b.dirs?b.dirs.concat(n.dirs):n.dirs),n.transition&&Bn(b,n.transition),v=b,Tn(_),v}var Hr=e=>{let t;for(let n in e)(n===`class`||n===`style`||a(n))&&((t||={})[n]=e[n]);return t},Ur=(e,t)=>{let n={};for(let r in e)(!o(r)||!(r.slice(9)in t))&&(n[r]=e[r]);return n};function Wr(e,t,n){let{props:r,children:i,component:a}=e,{props:o,children:s,patchFlag:c}=t,l=a.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return r?Gr(r,o,l):!!o;if(c&8){let e=t.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t];if(Kr(o,r,n)&&!Br(l,n))return!0}}}else return(i||s)&&(!s||!s.$stable)?!0:r===o?!1:r?o?Gr(r,o,l):!0:!!o;return!1}function Gr(e,t,n){let r=Object.keys(t);if(r.length!==Object.keys(e).length)return!0;for(let i=0;i<r.length;i++){let a=r[i];if(Kr(t,e,a)&&!Br(n,a))return!0}return!1}function Kr(e,t,n){let r=e[n],i=t[n];return n===`style`&&v(r)&&v(i)?!ye(r,i):r!==i}function qr({vnode:e,parent:t,suspense:n},r){for(;t;){let n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.suspense.vnode.el=n.el=r,e=n),n===e)(e=t.vnode).el=r,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=r)}var Jr={},Yr=()=>Object.create(Jr),Xr=e=>Object.getPrototypeOf(e)===Jr;function Zr(e,t,n,r=!1){let i={},a=Yr();e.propsDefaults=Object.create(null),$r(e,t,i,a);for(let t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=r?i:Pt(i):e.type.props?e.props=i:e.props=a,e.attrs=a}function Qr(e,t,n,r){let{props:i,attrs:a,vnode:{patchFlag:o}}=e,s=F(i),[c]=e.propsOptions,l=!1;if((r||o>0)&&!(o&16)){if(o&8){let n=e.vnode.dynamicProps;for(let r=0;r<n.length;r++){let o=n[r];if(Br(e.emitsOptions,o))continue;let d=t[o];if(c)if(u(a,o))d!==a[o]&&(a[o]=d,l=!0);else{let t=T(o);i[t]=ei(c,s,t,d,e,!1)}else d!==a[o]&&(a[o]=d,l=!0)}}}else{$r(e,t,i,a)&&(l=!0);let r;for(let a in s)(!t||!u(t,a)&&((r=E(a))===a||!u(t,r)))&&(c?n&&(n[a]!==void 0||n[r]!==void 0)&&(i[a]=ei(c,s,a,void 0,e,!0)):delete i[a]);if(a!==s)for(let e in a)(!t||!u(t,e))&&(delete a[e],l=!0)}l&&Qe(e.attrs,`set`,``)}function $r(e,n,r,i){let[a,o]=e.propsOptions,s=!1,c;if(n)for(let t in n){if(ee(t))continue;let l=n[t],d;a&&u(a,d=T(t))?!o||!o.includes(d)?r[d]=l:(c||={})[d]=l:Br(e.emitsOptions,t)||(!(t in i)||l!==i[t])&&(i[t]=l,s=!0)}if(o){let n=F(r),i=c||t;for(let t=0;t<o.length;t++){let s=o[t];r[s]=ei(a,n,s,i[s],e,!u(i,s))}}return s}function ei(e,t,n,r,i,a){let o=e[n];if(o!=null){let e=u(o,`default`);if(e&&r===void 0){let e=o.default;if(o.type!==Function&&!o.skipFactory&&h(e)){let{propsDefaults:a}=i;if(n in a)r=a[n];else{let o=$i(i);r=a[n]=e.call(null,t),o()}}else r=e;i.ce&&i.ce._setProp(n,r)}o[0]&&(a&&!e?r=!1:o[1]&&(r===``||r===E(n))&&(r=!0))}return r}var ti=new WeakMap;function ni(e,r,i=!1){let a=i?ti:r.propsCache,o=a.get(e);if(o)return o;let c=e.props,l={},f=[],p=!1;if(!h(e)){let t=e=>{p=!0;let[t,n]=ni(e,r,!0);s(l,t),n&&f.push(...n)};!i&&r.mixins.length&&r.mixins.forEach(t),e.extends&&t(e.extends),e.mixins&&e.mixins.forEach(t)}if(!c&&!p)return v(e)&&a.set(e,n),n;if(d(c))for(let e=0;e<c.length;e++){let n=T(c[e]);ri(n)&&(l[n]=t)}else if(c)for(let e in c){let t=T(e);if(ri(t)){let n=c[e],r=l[t]=d(n)||h(n)?{type:n}:s({},n),i=r.type,a=!1,o=!0;if(d(i))for(let e=0;e<i.length;++e){let t=i[e],n=h(t)&&t.name;if(n===`Boolean`){a=!0;break}else n===`String`&&(o=!1)}else a=h(i)&&i.name===`Boolean`;r[0]=a,r[1]=o,(a||u(r,`default`))&&f.push(t)}}let m=[l,f];return v(e)&&a.set(e,m),m}function ri(e){return e[0]!==`$`&&!ee(e)}var ii=e=>e===`_`||e===`_ctx`||e===`$stable`,ai=e=>d(e)?e.map(Hi):[Hi(e)],oi=(e,t,n)=>{if(t._n)return t;let r=En((...e)=>ai(t(...e)),n);return r._c=!1,r},si=(e,t,n)=>{let r=e._ctx;for(let n in e){if(ii(n))continue;let i=e[n];if(h(i))t[n]=oi(n,i,r);else if(i!=null){let e=ai(i);t[n]=()=>e}}},ci=(e,t)=>{let n=ai(t);e.slots.default=()=>n},li=(e,t,n)=>{for(let r in t)(n||!ii(r))&&(e[r]=t[r])},ui=(e,t,n)=>{let r=e.slots=Yr();if(e.vnode.shapeFlag&32){let e=t._;e?(li(r,t,n),n&&O(r,`_`,e,!0)):si(t,r)}else t&&ci(e,t)},di=(e,n,r)=>{let{vnode:i,slots:a}=e,o=!0,s=t;if(i.shapeFlag&32){let e=n._;e?r&&e===1?o=!1:li(a,n,r):(o=!n.$stable,si(n,a)),s=n}else n&&(ci(e,n),s={default:1});if(o)for(let e in a)!ii(e)&&s[e]==null&&delete a[e]},B=Ci;function fi(e){return pi(e)}function pi(e,i){let a=le();a.__VUE__=!0;let{insert:o,remove:s,patchProp:c,createElement:l,createText:u,createComment:d,setText:f,setElementText:p,parentNode:m,nextSibling:h,setScopeId:g=r,insertStaticContent:_}=e,v=(e,t,n,r=null,i=null,a=null,o=void 0,s=null,c=!!t.dynamicChildren)=>{if(e===t)return;e&&!Pi(e,t)&&(r=ye(e),k(e,i,a,!0),e=null),t.patchFlag===-2&&(c=!1,t.dynamicChildren=null);let{type:l,ref:u,shapeFlag:d}=t;switch(l){case wi:y(e,t,n,r);break;case Ti:b(e,t,n,r);break;case Ei:e??x(t,n,r,o);break;case V:ae(e,t,n,r,i,a,o,s,c);break;default:d&1?w(e,t,n,r,i,a,o,s,c):d&6?D(e,t,n,r,i,a,o,s,c):(d&64||d&128)&&l.process(e,t,n,r,i,a,o,s,c,Se)}u!=null&&i?Gn(u,e&&e.ref,a,t||e,!t):u==null&&e&&e.ref!=null&&Gn(e.ref,null,a,e,!0)},y=(e,t,n,r)=>{if(e==null)o(t.el=u(t.children),n,r);else{let n=t.el=e.el;t.children!==e.children&&f(n,t.children)}},b=(e,t,n,r)=>{e==null?o(t.el=d(t.children||``),n,r):t.el=e.el},x=(e,t,n,r)=>{[e.el,e.anchor]=_(e.children,t,n,r,e.el,e.anchor)},S=({el:e,anchor:t},n,r)=>{let i;for(;e&&e!==t;)i=h(e),o(e,n,r),e=i;o(t,n,r)},C=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=h(e),s(e),e=n;s(t)},w=(e,t,n,r,i,a,o,s,c)=>{if(t.type===`svg`?o=`svg`:t.type===`math`&&(o=`mathml`),e==null)te(t,n,r,i,a,o,s,c);else{let n=e.el&&e.el._isVueCE?e.el:null;try{n&&n._beginPatch(),re(e,t,i,a,o,s,c)}finally{n&&n._endPatch()}}},te=(e,t,n,r,i,a,s,u)=>{let d,f,{props:m,shapeFlag:h,transition:g,dirs:_}=e;if(d=e.el=l(e.type,a,m&&m.is,m),h&8?p(d,e.children):h&16&&T(e.children,d,null,r,i,mi(e,a),s,u),_&&On(e,null,r,`created`),ne(d,e,e.scopeId,s,r),m){for(let e in m)e!==`value`&&!ee(e)&&c(d,e,null,m[e],a,r);`value`in m&&c(d,`value`,null,m.value,a),(f=m.onVnodeBeforeMount)&&Ki(f,r,e)}_&&On(e,null,r,`beforeMount`);let v=gi(i,g);v&&g.beforeEnter(d),o(d,t,n),((f=m&&m.onVnodeMounted)||v||_)&&B(()=>{try{f&&Ki(f,r,e),v&&g.enter(d),_&&On(e,null,r,`mounted`)}finally{}},i)},ne=(e,t,n,r,i)=>{if(n&&g(e,n),r)for(let t=0;t<r.length;t++)g(e,r[t]);if(i){let n=i.subTree;if(t===n||Si(n.type)&&(n.ssContent===t||n.ssFallback===t)){let t=i.vnode;ne(e,t,t.scopeId,t.slotScopeIds,i.parent)}}},T=(e,t,n,r,i,a,o,s,c=0)=>{for(let l=c;l<e.length;l++)v(null,e[l]=s?Ui(e[l]):Hi(e[l]),t,n,r,i,a,o,s)},re=(e,n,r,i,a,o,s)=>{let l=n.el=e.el,{patchFlag:u,dynamicChildren:d,dirs:f}=n;u|=e.patchFlag&16;let m=e.props||t,h=n.props||t,g;if(r&&hi(r,!1),(g=h.onVnodeBeforeUpdate)&&Ki(g,r,n,e),f&&On(n,e,r,`beforeUpdate`),r&&hi(r,!0),(m.innerHTML&&h.innerHTML==null||m.textContent&&h.textContent==null)&&p(l,``),d?E(e.dynamicChildren,d,l,r,i,mi(n,a),o):s||de(e,n,l,null,r,i,mi(n,a),o,!1),u>0){if(u&16)ie(l,m,h,r,a);else if(u&2&&m.class!==h.class&&c(l,`class`,null,h.class,a),u&4&&c(l,`style`,m.style,h.style,a),u&8){let e=n.dynamicProps;for(let t=0;t<e.length;t++){let n=e[t],i=m[n],o=h[n];(o!==i||n===`value`)&&c(l,n,i,o,a,r)}}u&1&&e.children!==n.children&&p(l,n.children)}else !s&&d==null&&ie(l,m,h,r,a);((g=h.onVnodeUpdated)||f)&&B(()=>{g&&Ki(g,r,n,e),f&&On(n,e,r,`updated`)},i)},E=(e,t,n,r,i,a,o)=>{for(let s=0;s<t.length;s++){let c=e[s],l=t[s];v(c,l,c.el&&(c.type===V||!Pi(c,l)||c.shapeFlag&198)?m(c.el):n,null,r,i,a,o,!0)}},ie=(e,n,r,i,a)=>{if(n!==r){if(n!==t)for(let t in n)!ee(t)&&!(t in r)&&c(e,t,n[t],null,a,i);for(let t in r){if(ee(t))continue;let o=r[t],s=n[t];o!==s&&t!==`value`&&c(e,t,s,o,a,i)}`value`in r&&c(e,`value`,n.value,r.value,a)}},ae=(e,t,n,r,i,a,s,c,l)=>{let d=t.el=e?e.el:u(``),f=t.anchor=e?e.anchor:u(``),{patchFlag:p,dynamicChildren:m,slotScopeIds:h}=t;h&&(c=c?c.concat(h):h),e==null?(o(d,n,r),o(f,n,r),T(t.children||[],n,f,i,a,s,c,l)):p>0&&p&64&&m&&e.dynamicChildren&&e.dynamicChildren.length===m.length?(E(e.dynamicChildren,m,n,i,a,s,c),(t.key!=null||i&&t===i.subTree)&&_i(e,t,!0)):de(e,t,n,f,i,a,s,c,l)},D=(e,t,n,r,i,a,o,s,c)=>{t.slotScopeIds=s,e==null?t.shapeFlag&512?i.ctx.activate(t,n,r,o,c):O(t,n,r,i,a,o,c):se(e,t,c)},O=(e,t,n,r,i,a,o)=>{let s=e.component=Yi(e,r,i);if(Jn(e)&&(s.ctx.renderer=Se),ra(s,!1,o),s.asyncDep){if(i&&i.registerDep(s,ce,o),!e.el){let r=s.subTree=K(Ti);b(null,r,t,n),e.placeholder=r.el}}else ce(s,e,t,n,i,a,o)},se=(e,t,n)=>{let r=t.component=e.component;if(Wr(e,t,n))if(r.asyncDep&&!r.asyncResolved){ue(r,t,n);return}else r.next=t,r.update();else t.el=e.el,r.vnode=t},ce=(e,t,n,r,i,a,o)=>{let s=()=>{if(e.isMounted){let{next:t,bu:n,u:r,parent:s,vnode:c}=e;{let n=yi(e);if(n){t&&(t.el=c.el,ue(e,t,o)),n.asyncDep.then(()=>{B(()=>{e.isUnmounted||l()},i)});return}}let u=t,d;hi(e,!1),t?(t.el=c.el,ue(e,t,o)):t=c,n&&oe(n),(d=t.props&&t.props.onVnodeBeforeUpdate)&&Ki(d,s,t,c),hi(e,!0);let f=Vr(e),p=e.subTree;e.subTree=f,v(p,f,m(p.el),ye(p),e,i,a),t.el=f.el,u===null&&qr(e,f.el),r&&B(r,i),(d=t.props&&t.props.onVnodeUpdated)&&B(()=>Ki(d,s,t,c),i)}else{let o,{el:s,props:c}=t,{bm:l,m:u,parent:d,root:f,type:p}=e,m=qn(t);if(hi(e,!1),l&&oe(l),!m&&(o=c&&c.onVnodeBeforeMount)&&Ki(o,d,t),hi(e,!0),s&&A){let t=()=>{e.subTree=Vr(e),A(s,e.subTree,e,i,null)};m&&p.__asyncHydrate?p.__asyncHydrate(s,e,t):t()}else{f.ce&&f.ce._hasShadowRoot()&&f.ce._injectChildStyle(p,e.parent?e.parent.type:void 0);let o=e.subTree=Vr(e);v(null,o,n,r,e,i,a),t.el=o.el}if(u&&B(u,i),!m&&(o=c&&c.onVnodeMounted)){let e=t;B(()=>Ki(o,d,e),i)}(t.shapeFlag&256||d&&qn(d.vnode)&&d.vnode.shapeFlag&256)&&e.a&&B(e.a,i),e.isMounted=!0,t=n=r=null}};e.scope.on();let c=e.effect=new De(s);e.scope.off();let l=e.update=c.run.bind(c),u=e.job=c.runIfDirty.bind(c);u.i=e,u.id=e.uid,c.scheduler=()=>_n(u),hi(e,!0),l()},ue=(e,t,n)=>{t.component=e;let r=e.vnode.props;e.vnode=t,e.next=null,Qr(e,t.props,r,n),di(e,t.children,n),Ve(),bn(e),He()},de=(e,t,n,r,i,a,o,s,c=!1)=>{let l=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:f,shapeFlag:m}=t;if(f>0){if(f&128){pe(l,d,n,r,i,a,o,s,c);return}else if(f&256){fe(l,d,n,r,i,a,o,s,c);return}}m&8?(u&16&&ve(l,i,a),d!==l&&p(n,d)):u&16?m&16?pe(l,d,n,r,i,a,o,s,c):ve(l,i,a,!0):(u&8&&p(n,``),m&16&&T(d,n,r,i,a,o,s,c))},fe=(e,t,r,i,a,o,s,c,l)=>{e||=n,t||=n;let u=e.length,d=t.length,f=Math.min(u,d),p;for(p=0;p<f;p++){let n=t[p]=l?Ui(t[p]):Hi(t[p]);v(e[p],n,r,null,a,o,s,c,l)}u>d?ve(e,a,o,!0,!1,f):T(t,r,i,a,o,s,c,l,f)},pe=(e,t,r,i,a,o,s,c,l)=>{let u=0,d=t.length,f=e.length-1,p=d-1;for(;u<=f&&u<=p;){let n=e[u],i=t[u]=l?Ui(t[u]):Hi(t[u]);if(Pi(n,i))v(n,i,r,null,a,o,s,c,l);else break;u++}for(;u<=f&&u<=p;){let n=e[f],i=t[p]=l?Ui(t[p]):Hi(t[p]);if(Pi(n,i))v(n,i,r,null,a,o,s,c,l);else break;f--,p--}if(u>f){if(u<=p){let e=p+1,n=e<d?t[e].el:i;for(;u<=p;)v(null,t[u]=l?Ui(t[u]):Hi(t[u]),r,n,a,o,s,c,l),u++}}else if(u>p)for(;u<=f;)k(e[u],a,o,!0),u++;else{let m=u,h=u,g=new Map;for(u=h;u<=p;u++){let e=t[u]=l?Ui(t[u]):Hi(t[u]);e.key!=null&&g.set(e.key,u)}let _,y=0,b=p-h+1,x=!1,S=0,C=Array(b);for(u=0;u<b;u++)C[u]=0;for(u=m;u<=f;u++){let n=e[u];if(y>=b){k(n,a,o,!0);continue}let i;if(n.key!=null)i=g.get(n.key);else for(_=h;_<=p;_++)if(C[_-h]===0&&Pi(n,t[_])){i=_;break}i===void 0?k(n,a,o,!0):(C[i-h]=u+1,i>=S?S=i:x=!0,v(n,t[i],r,null,a,o,s,c,l),y++)}let w=x?vi(C):n;for(_=w.length-1,u=b-1;u>=0;u--){let e=h+u,n=t[e],f=t[e+1],p=e+1<d?f.el||xi(f):i;C[u]===0?v(null,n,r,p,a,o,s,c,l):x&&(_<0||u!==w[_]?me(n,r,p,2):_--)}}},me=(e,t,n,r,i=null)=>{let{el:a,type:c,transition:l,children:u,shapeFlag:d}=e;if(d&6){me(e.component.subTree,t,n,r);return}if(d&128){e.suspense.move(t,n,r);return}if(d&64){c.move(e,t,n,Se);return}if(c===V){o(a,t,n);for(let e=0;e<u.length;e++)me(u[e],t,n,r);o(e.anchor,t,n);return}if(c===Ei){S(e,t,n);return}if(r!==2&&d&1&&l)if(r===0)l.beforeEnter(a),o(a,t,n),B(()=>l.enter(a),i);else{let{leave:r,delayLeave:i,afterLeave:c}=l,u=()=>{e.ctx.isUnmounted?s(a):o(a,t,n)},d=()=>{a._isLeaving&&a[zn](!0),r(a,()=>{u(),c&&c()})};i?i(a,u,d):d()}else o(a,t,n)},k=(e,t,n,r=!1,i=!1)=>{let{type:a,props:o,ref:s,children:c,dynamicChildren:l,shapeFlag:u,patchFlag:d,dirs:f,cacheIndex:p,memo:m}=e;if(d===-2&&(i=!1),s!=null&&(Ve(),Gn(s,null,n,e,!0),He()),p!=null&&(t.renderCache[p]=void 0),u&256){t.ctx.deactivate(e);return}let h=u&1&&f,g=!qn(e),_;if(g&&(_=o&&o.onVnodeBeforeUnmount)&&Ki(_,t,e),u&6)_e(e.component,n,r);else{if(u&128){e.suspense.unmount(n,r);return}h&&On(e,null,t,`beforeUnmount`),u&64?e.type.remove(e,t,n,Se,r):l&&!l.hasOnce&&(a!==V||d>0&&d&64)?ve(l,t,n,!1,!0):(a===V&&d&384||!i&&u&16)&&ve(c,t,n),r&&he(e)}let v=m!=null&&p==null;(g&&(_=o&&o.onVnodeUnmounted)||h||v)&&B(()=>{_&&Ki(_,t,e),h&&On(e,null,t,`unmounted`),v&&(e.el=null)},n)},he=e=>{let{type:t,el:n,anchor:r,transition:i}=e;if(t===V){ge(n,r);return}if(t===Ei){C(e);return}let a=()=>{s(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(e.shapeFlag&1&&i&&!i.persisted){let{leave:t,delayLeave:r}=i,o=()=>t(n,a);r?r(e.el,a,o):o()}else a()},ge=(e,t)=>{let n;for(;e!==t;)n=h(e),s(e),e=n;s(t)},_e=(e,t,n)=>{let{bum:r,scope:i,job:a,subTree:o,um:s,m:c,a:l}=e;bi(c),bi(l),r&&oe(r),i.stop(),a&&(a.flags|=8,k(o,e,t,n)),s&&B(s,t),B(()=>{e.isUnmounted=!0},t)},ve=(e,t,n,r=!1,i=!1,a=0)=>{for(let o=a;o<e.length;o++)k(e[o],t,n,r,i)},ye=e=>{if(e.shapeFlag&6)return ye(e.component.subTree);if(e.shapeFlag&128)return e.suspense.next();let t=h(e.anchor||e.el),n=t&&t[Ln];return n?h(n):t},be=!1,xe=(e,t,n)=>{let r;e==null?t._vnode&&(k(t._vnode,null,null,!0),r=t._vnode.component):v(t._vnode||null,e,t,null,null,null,n),t._vnode=e,be||=(be=!0,bn(r),xn(),!1)},Se={p:v,um:k,m:me,r:he,mt:O,mc:T,pc:de,pbc:E,n:ye,o:e},Ce,A;return i&&([Ce,A]=i(Se)),{render:xe,hydrate:Ce,createApp:Pr(xe,Ce)}}function mi({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 hi({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function gi(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function _i(e,t,n=!1){let r=e.children,i=t.children;if(d(r)&&d(i))for(let e=0;e<r.length;e++){let t=r[e],a=i[e];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=i[e]=Ui(i[e]),a.el=t.el),!n&&a.patchFlag!==-2&&_i(t,a)),a.type===wi&&(a.patchFlag===-1&&(a=i[e]=Ui(a)),a.el=t.el),a.type===Ti&&!a.el&&(a.el=t.el)}}function vi(e){let t=e.slice(),n=[0],r,i,a,o,s,c=e.length;for(r=0;r<c;r++){let c=e[r];if(c!==0){if(i=n[n.length-1],e[i]<c){t[r]=i,n.push(r);continue}for(a=0,o=n.length-1;a<o;)s=a+o>>1,e[n[s]]<c?a=s+1:o=s;c<e[n[a]]&&(a>0&&(t[r]=n[a-1]),n[a]=r)}}for(a=n.length,o=n[a-1];a-- >0;)n[a]=o,o=t[o];return n}function yi(e){let t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:yi(t)}function bi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function xi(e){if(e.placeholder)return e.placeholder;let t=e.component;return t?xi(t.subTree):null}var Si=e=>e.__isSuspense;function Ci(e,t){t&&t.pendingBranch?d(e)?t.effects.push(...e):t.effects.push(e):yn(e)}var V=Symbol.for(`v-fgt`),wi=Symbol.for(`v-txt`),Ti=Symbol.for(`v-cmt`),Ei=Symbol.for(`v-stc`),Di=[],H=null;function U(e=!1){Di.push(H=e?null:[])}function Oi(){Di.pop(),H=Di[Di.length-1]||null}var ki=1;function Ai(e,t=!1){ki+=e,e<0&&H&&t&&(H.hasOnce=!0)}function ji(e){return e.dynamicChildren=ki>0?H||n:null,Oi(),ki>0&&H&&H.push(e),e}function W(e,t,n,r,i,a){return ji(G(e,t,n,r,i,a,!0))}function Mi(e,t,n,r,i){return ji(K(e,t,n,r,i,!0))}function Ni(e){return e?e.__v_isVNode===!0:!1}function Pi(e,t){return e.type===t.type&&e.key===t.key}var Fi=({key:e})=>e??null,Ii=({ref:e,ref_key:t,ref_for:n})=>(typeof e==`number`&&(e=``+e),e==null?null:g(e)||I(e)||h(e)?{i:R,r:e,k:t,f:!!n}:e);function G(e,t=null,n=null,r=0,i=null,a=e===V?0:1,o=!1,s=!1){let c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Fi(t),ref:t&&Ii(t),scopeId:wn,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:a,patchFlag:r,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:R};return s?(Wi(c,n),a&128&&e.normalize(c)):n&&(c.shapeFlag|=g(n)?8:16),ki>0&&!o&&H&&(c.patchFlag>0||a&6)&&c.patchFlag!==32&&H.push(c),c}var K=Li;function Li(e,t=null,n=null,r=0,i=null,a=!1){if((!e||e===dr)&&(e=Ti),Ni(e)){let r=zi(e,t,!0);return n&&Wi(r,n),ki>0&&!a&&H&&(r.shapeFlag&6?H[H.indexOf(e)]=r:H.push(r)),r.patchFlag=-2,r}if(fa(e)&&(e=e.__vccOpts),t){t=Ri(t);let{class:e,style:n}=t;e&&!g(e)&&(t.class=k(e)),v(n)&&(zt(n)&&!d(n)&&(n=s({},n)),t.style=ue(n))}let o=g(e)?1:Si(e)?128:Rn(e)?64:v(e)?4:h(e)?2:0;return G(e,t,n,r,i,o,a,!0)}function Ri(e){return e?zt(e)||Xr(e)?s({},e):e:null}function zi(e,t,n=!1,r=!1){let{props:i,ref:a,patchFlag:o,children:s,transition:c}=e,l=t?Gi(i||{},t):i,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Fi(l),ref:t&&t.ref?n&&a?d(a)?a.concat(Ii(t)):[a,Ii(t)]:Ii(t):a,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:s,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==V?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&zi(e.ssContent),ssFallback:e.ssFallback&&zi(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&r&&Bn(u,c.clone(u)),u}function Bi(e=` `,t=0){return K(wi,null,e,t)}function Vi(e=``,t=!1){return t?(U(),Mi(Ti,null,e)):K(Ti,null,e)}function Hi(e){return e==null||typeof e==`boolean`?K(Ti):d(e)?K(V,null,e.slice()):Ni(e)?Ui(e):K(wi,null,String(e))}function Ui(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:zi(e)}function Wi(e,t){let n=0,{shapeFlag:r}=e;if(t==null)t=null;else if(d(t))n=16;else if(typeof t==`object`)if(r&65){let n=t.default;n&&(n._c&&(n._d=!1),Wi(e,n()),n._c&&(n._d=!0));return}else{n=32;let r=t._;!r&&!Xr(t)?t._ctx=R:r===3&&R&&(R.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else h(t)?(t={default:t,_ctx:R},n=32):(t=String(t),r&64?(n=16,t=[Bi(t)]):n=8);e.children=t,e.shapeFlag|=n}function Gi(...e){let t={};for(let n=0;n<e.length;n++){let r=e[n];for(let e in r)if(e===`class`)t.class!==r.class&&(t.class=k([t.class,r.class]));else if(e===`style`)t.style=ue([t.style,r.style]);else if(a(e)){let n=t[e],i=r[e];i&&n!==i&&!(d(n)&&n.includes(i))?t[e]=n?[].concat(n,i):i:i==null&&n==null&&!o(e)&&(t[e]=i)}else e!==``&&(t[e]=r[e])}return t}function Ki(e,t,n,r=null){on(e,t,7,[n,r])}var qi=Mr(),Ji=0;function Yi(e,n,r){let i=e.type,a=(n?n.appContext:e.appContext)||qi,o={uid:Ji++,vnode:e,type:i,parent:n,appContext:a,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new we(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:n?n.provides:Object.create(a.provides),ids:n?n.ids:[``,0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ni(i,a),emitsOptions:zr(i,a),emit:null,emitted:null,propsDefaults:t,inheritAttrs:i.inheritAttrs,ctx:t,data:t,props:t,attrs:t,slots:t,refs:t,setupState:t,setupContext:null,suspense:r,suspenseId:r?r.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=n?n.root:o,o.emit=Lr.bind(null,o),e.ce&&e.ce(o),o}var q=null,Xi=()=>q||R,Zi,Qi;{let e=le(),t=(t,n)=>{let r;return(r=e[t])||(r=e[t]=[]),r.push(n),e=>{r.length>1?r.forEach(t=>t(e)):r[0](e)}};Zi=t(`__VUE_INSTANCE_SETTERS__`,e=>q=e),Qi=t(`__VUE_SSR_SETTERS__`,e=>na=e)}var $i=e=>{let t=q;return Zi(e),e.scope.on(),()=>{e.scope.off(),Zi(t)}},ea=()=>{q&&q.scope.off(),Zi(null)};function ta(e){return e.vnode.shapeFlag&4}var na=!1;function ra(e,t=!1,n=!1){t&&Qi(t);let{props:r,children:i}=e.vnode,a=ta(e);Zr(e,r,a,t),ui(e,i,n||t);let o=a?ia(e,t):void 0;return t&&Qi(!1),o}function ia(e,t){let n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gr);let{setup:r}=n;if(r){Ve();let n=e.setupContext=r.length>1?ua(e):null,i=$i(e),a=an(r,e,0,[e.props,n]),o=y(a);if(He(),i(),(o||e.sp)&&!qn(e)&&Hn(e),o){if(a.then(ea,ea),t)return a.then(n=>{aa(e,n,t)}).catch(t=>{sn(t,e,0)});e.asyncDep=a}else aa(e,a,t)}else ca(e,t)}function aa(e,t,n){h(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:v(t)&&(e.setupState=Yt(t)),ca(e,n)}var oa,sa;function ca(e,t,n){let i=e.type;if(!e.render){if(!t&&oa&&!i.render){let t=i.template||Cr(e).template;if(t){let{isCustomElement:n,compilerOptions:r}=e.appContext.config,{delimiters:a,compilerOptions:o}=i;i.render=oa(t,s(s({isCustomElement:n,delimiters:a},r),o))}}e.render=i.render||r,sa&&sa(e)}{let t=$i(e);Ve();try{yr(e)}finally{He(),t()}}}var la={get(e,t){return N(e,`get`,``),e[t]}};function ua(e){return{attrs:new Proxy(e.attrs,la),slots:e.slots,emit:e.emit,expose:t=>{e.exposed=t||{}}}}function da(e){return e.exposed?e.exposeProxy||=new Proxy(Yt(Bt(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mr)return mr[n](e)},has(e,t){return t in e||t in mr}}):e.proxy}function fa(e){return h(e)&&`__vccOpts`in e}var J=(e,t)=>Zt(e,t,na);function pa(e,t,n){try{Ai(-1);let r=arguments.length;return r===2?v(t)&&!d(t)?Ni(t)?K(e,null,[t]):K(e,t):K(e,null,t):(r>3?n=Array.prototype.slice.call(arguments,2):r===3&&Ni(n)&&(n=[n]),K(e,t,n))}finally{Ai(1)}}var ma=`3.5.34`,ha=void 0,ga=typeof window<`u`&&window.trustedTypes;if(ga)try{ha=ga.createPolicy(`vue`,{createHTML:e=>e})}catch{}var _a=ha?e=>ha.createHTML(e):e=>e,va=`http://www.w3.org/2000/svg`,ya=`http://www.w3.org/1998/Math/MathML`,ba=typeof document<`u`?document:null,xa=ba&&ba.createElement(`template`),Sa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{let t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,r)=>{let i=t===`svg`?ba.createElementNS(va,e):t===`mathml`?ba.createElementNS(ya,e):n?ba.createElement(e,{is:n}):ba.createElement(e);return e===`select`&&r&&r.multiple!=null&&i.setAttribute(`multiple`,r.multiple),i},createText:e=>ba.createTextNode(e),createComment:e=>ba.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ba.querySelector(e),setScopeId(e,t){e.setAttribute(t,``)},insertStaticContent(e,t,n,r,i,a){let o=n?n.previousSibling:t.lastChild;if(i&&(i===a||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===a||!(i=i.nextSibling)););else{xa.innerHTML=_a(r===`svg`?`<svg>${e}</svg>`:r===`mathml`?`<math>${e}</math>`:e);let i=xa.content;if(r===`svg`||r===`mathml`){let e=i.firstChild;for(;e.firstChild;)i.appendChild(e.firstChild);i.removeChild(e)}t.insertBefore(i,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ca=Symbol(`_vtc`);function wa(e,t,n){let r=e[Ca];r&&(t=(t?[t,...r]:[...r]).join(` `)),t==null?e.removeAttribute(`class`):n?e.setAttribute(`class`,t):e.className=t}var Ta=Symbol(`_vod`),Ea=Symbol(`_vsh`),Da=Symbol(``),Oa=/(?:^|;)\s*display\s*:/;function ka(e,t,n){let r=e.style,i=g(n),a=!1;if(n&&!i){if(t)if(g(t))for(let e of t.split(`;`)){let t=e.slice(0,e.indexOf(`:`)).trim();n[t]??ja(r,t,``)}else for(let e in t)n[e]??ja(r,e,``);for(let i in n){i===`display`&&(a=!0);let o=n[i];o==null?ja(r,i,``):Fa(e,i,!g(t)&&t?t[i]:void 0,o)||ja(r,i,o)}}else if(i){if(t!==n){let e=r[Da];e&&(n+=`;`+e),r.cssText=n,a=Oa.test(n)}}else t&&e.removeAttribute(`style`);Ta in e&&(e[Ta]=a?r.display:``,e[Ea]&&(r.display=`none`))}var Aa=/\s*!important$/;function ja(e,t,n){if(d(n))n.forEach(n=>ja(e,t,n));else if(n??=``,t.startsWith(`--`))e.setProperty(t,n);else{let r=Pa(e,t);Aa.test(n)?e.setProperty(E(r),n.replace(Aa,``),`important`):e[r]=n}}var Ma=[`Webkit`,`Moz`,`ms`],Na={};function Pa(e,t){let n=Na[t];if(n)return n;let r=T(t);if(r!==`filter`&&r in e)return Na[t]=r;r=ie(r);for(let n=0;n<Ma.length;n++){let i=Ma[n]+r;if(i in e)return Na[t]=i}return t}function Fa(e,t,n,r){return e.tagName===`TEXTAREA`&&(t===`width`||t===`height`)&&g(r)&&n===r}var Ia=`http://www.w3.org/1999/xlink`;function La(e,t,n,r,i,a=ge(t)){r&&t.startsWith(`xlink:`)?n==null?e.removeAttributeNS(Ia,t.slice(6,t.length)):e.setAttributeNS(Ia,t,n):n==null||a&&!_e(n)?e.removeAttribute(t):e.setAttribute(t,a?``:_(n)?String(n):n)}function Ra(e,t,n,r,i){if(t===`innerHTML`||t===`textContent`){n!=null&&(e[t]=t===`innerHTML`?_a(n):n);return}let a=e.tagName;if(t===`value`&&a!==`PROGRESS`&&!a.includes(`-`)){let r=a===`OPTION`?e.getAttribute(`value`)||``:e.value,i=n==null?e.type===`checkbox`?`on`:``:String(n);(r!==i||!(`_value`in e))&&(e.value=i),n??e.removeAttribute(t),e._value=n;return}let o=!1;if(n===``||n==null){let r=typeof e[t];r===`boolean`?n=_e(n):n==null&&r===`string`?(n=``,o=!0):r===`number`&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function za(e,t,n,r){e.addEventListener(t,n,r)}function Ba(e,t,n,r){e.removeEventListener(t,n,r)}var Va=Symbol(`_vei`);function Ha(e,t,n,r,i=null){let a=e[Va]||(e[Va]={}),o=a[t];if(r&&o)o.value=r;else{let[n,s]=Wa(t);r?za(e,n,a[t]=Ja(r,i),s):o&&(Ba(e,n,o,s),a[t]=void 0)}}var Ua=/(?:Once|Passive|Capture)$/;function Wa(e){let t;if(Ua.test(e)){t={};let n;for(;n=e.match(Ua);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===`:`?e.slice(3):E(e.slice(2)),t]}var Ga=0,Ka=Promise.resolve(),qa=()=>Ga||=(Ka.then(()=>Ga=0),Date.now());function Ja(e,t){let n=e=>{if(!e._vts)e._vts=Date.now();else if(e._vts<=n.attached)return;on(Ya(e,n.value),t,5,[e])};return n.value=e,n.attached=qa(),n}function Ya(e,t){if(d(t)){let n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(e=>t=>!t._stopped&&e&&e(t))}else return t}var Xa=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Za=(e,t,n,r,i,s)=>{let c=i===`svg`;t===`class`?wa(e,r,c):t===`style`?ka(e,n,r):a(t)?o(t)||Ha(e,t,n,r,s):(t[0]===`.`?(t=t.slice(1),!0):t[0]===`^`?(t=t.slice(1),!1):Qa(e,t,r,c))?(Ra(e,t,r),!e.tagName.includes(`-`)&&(t===`value`||t===`checked`||t===`selected`)&&La(e,t,r,c,s,t!==`value`)):e._isVueCE&&($a(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!g(r)))?Ra(e,T(t),r,s,t):(t===`true-value`?e._trueValue=r:t===`false-value`&&(e._falseValue=r),La(e,t,r,c))};function Qa(e,t,n,r){if(r)return!!(t===`innerHTML`||t===`textContent`||t in e&&Xa(t)&&h(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`){let t=e.tagName;if(t===`IMG`||t===`VIDEO`||t===`CANVAS`||t===`SOURCE`)return!1}return Xa(t)&&g(n)?!1:t in e}function $a(e,t){let n=e._def.props;if(!n)return!1;let r=T(t);return Array.isArray(n)?n.some(e=>T(e)===r):Object.keys(n).some(e=>T(e)===r)}var eo=e=>{let t=e.props[`onUpdate:modelValue`]||!1;return d(t)?e=>oe(t,e):t};function to(e){e.target.composing=!0}function no(e){let t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event(`input`)))}var ro=Symbol(`_assign`);function io(e,t,n){return t&&(e=e.trim()),n&&(e=se(e)),e}var ao={created(e,{modifiers:{lazy:t,trim:n,number:r}},i){e[ro]=eo(i);let a=r||i.props&&i.props.type===`number`;za(e,t?`change`:`input`,t=>{t.target.composing||e[ro](io(e.value,n,a))}),(n||a)&&za(e,`change`,()=>{e.value=io(e.value,n,a)}),t||(za(e,`compositionstart`,to),za(e,`compositionend`,no),za(e,`change`,no))},mounted(e,{value:t}){e.value=t??``},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:r,trim:i,number:a}},o){if(e[ro]=eo(o),e.composing)return;let s=(a||e.type===`number`)&&!/^0\d/.test(e.value)?se(e.value):e.value,c=t??``;if(s===c)return;let l=e.getRootNode();(l instanceof Document||l instanceof ShadowRoot)&&l.activeElement===e&&e.type!==`range`&&(r&&t===n||i&&e.value.trim()===c)||(e.value=c)}},oo=s({patchProp:Za},Sa),so;function co(){return so||=fi(oo)}var lo=((...e)=>{let t=co().createApp(...e),{mount:n}=t;return t.mount=e=>{let r=fo(e);if(!r)return;let i=t._component;!h(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent=``);let a=n(r,!1,uo(r));return r instanceof Element&&(r.removeAttribute(`v-cloak`),r.setAttribute(`data-v-app`,``)),a},t});function uo(e){if(e instanceof SVGElement)return`svg`;if(typeof MathMLElement==`function`&&e instanceof MathMLElement)return`mathml`}function fo(e){return g(e)?document.querySelector(e):e}var po=typeof document<`u`;function mo(e){return typeof e==`object`||`displayName`in e||`props`in e||`__vccOpts`in e}function ho(e){return e.__esModule||e[Symbol.toStringTag]===`Module`||e.default&&mo(e.default)}var Y=Object.assign;function go(e,t){let n={};for(let r in t){let i=t[r];n[r]=X(i)?i.map(e):e(i)}return n}var _o=()=>{},X=Array.isArray;function vo(e,t){let n={};for(let r in e)n[r]=r in t?t[r]:e[r];return n}var yo=/#/g,bo=/&/g,xo=/\//g,So=/=/g,Co=/\?/g,wo=/\+/g,To=/%5B/g,Eo=/%5D/g,Do=/%5E/g,Oo=/%60/g,ko=/%7B/g,Ao=/%7C/g,jo=/%7D/g,Mo=/%20/g;function No(e){return e==null?``:encodeURI(``+e).replace(Ao,`|`).replace(To,`[`).replace(Eo,`]`)}function Po(e){return No(e).replace(ko,`{`).replace(jo,`}`).replace(Do,`^`)}function Fo(e){return No(e).replace(wo,`%2B`).replace(Mo,`+`).replace(yo,`%23`).replace(bo,`%26`).replace(Oo,"`").replace(ko,`{`).replace(jo,`}`).replace(Do,`^`)}function Io(e){return Fo(e).replace(So,`%3D`)}function Lo(e){return No(e).replace(yo,`%23`).replace(Co,`%3F`)}function Ro(e){return Lo(e).replace(xo,`%2F`)}function zo(e){if(e==null)return null;try{return decodeURIComponent(``+e)}catch{}return``+e}var Bo=/\/$/,Vo=e=>e.replace(Bo,``);function Ho(e,t,n=`/`){let r,i={},a=``,o=``,s=t.indexOf(`#`),c=t.indexOf(`?`);return c=s>=0&&c>s?-1:c,c>=0&&(r=t.slice(0,c),a=t.slice(c,s>0?s:t.length),i=e(a.slice(1))),s>=0&&(r||=t.slice(0,s),o=t.slice(s,t.length)),r=Xo(r??t,n),{fullPath:r+a+o,path:r,query:i,hash:zo(o)}}function Uo(e,t){let n=t.query?e(t.query):``;return t.path+(n&&`?`)+n+(t.hash||``)}function Wo(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||`/`}function Go(e,t,n){let r=t.matched.length-1,i=n.matched.length-1;return r>-1&&r===i&&Ko(t.matched[r],n.matched[i])&&qo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Ko(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function qo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Jo(e[n],t[n]))return!1;return!0}function Jo(e,t){return X(e)?Yo(e,t):X(t)?Yo(t,e):e?.valueOf()===t?.valueOf()}function Yo(e,t){return X(t)?e.length===t.length&&e.every((e,n)=>e===t[n]):e.length===1&&e[0]===t}function Xo(e,t){if(e.startsWith(`/`))return e;if(!e)return t;let n=t.split(`/`),r=e.split(`/`),i=r[r.length-1];(i===`..`||i===`.`)&&r.push(``);let a=n.length-1,o,s;for(o=0;o<r.length;o++)if(s=r[o],s!==`.`)if(s===`..`)a>1&&a--;else break;return n.slice(0,a).join(`/`)+`/`+r.slice(o).join(`/`)}var Zo={path:`/`,name:void 0,params:{},query:{},hash:``,fullPath:`/`,matched:[],meta:{},redirectedFrom:void 0},Qo=function(e){return e.pop=`pop`,e.push=`push`,e}({}),$o=function(e){return e.back=`back`,e.forward=`forward`,e.unknown=``,e}({});function es(e){if(!e)if(po){let t=document.querySelector(`base`);e=t&&t.getAttribute(`href`)||`/`,e=e.replace(/^\w+:\/\/[^\/]+/,``)}else e=`/`;return e[0]!==`/`&&e[0]!==`#`&&(e=`/`+e),Vo(e)}var ts=/^[^#]+#/;function ns(e,t){return e.replace(ts,`#`)+t}function rs(e,t){let n=document.documentElement.getBoundingClientRect(),r=e.getBoundingClientRect();return{behavior:t.behavior,left:r.left-n.left-(t.left||0),top:r.top-n.top-(t.top||0)}}var is=()=>({left:window.scrollX,top:window.scrollY});function as(e){let t;if(`el`in e){let n=e.el,r=typeof n==`string`&&n.startsWith(`#`),i=typeof n==`string`?r?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!i)return;t=rs(i,e)}else t=e;`scrollBehavior`in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left==null?window.scrollX:t.left,t.top==null?window.scrollY:t.top)}function os(e,t){return(history.state?history.state.position-t:-1)+e}var ss=new Map;function cs(e,t){ss.set(e,t)}function ls(e){let t=ss.get(e);return ss.delete(e),t}function us(e){return typeof e==`string`||e&&typeof e==`object`}function ds(e){return typeof e==`string`||typeof e==`symbol`}var Z=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}({}),fs=Symbol(``);Z.MATCHER_NOT_FOUND,Z.NAVIGATION_GUARD_REDIRECT,Z.NAVIGATION_ABORTED,Z.NAVIGATION_CANCELLED,Z.NAVIGATION_DUPLICATED;function ps(e,t){return Y(Error(),{type:e,[fs]:!0},t)}function ms(e,t){return e instanceof Error&&fs in e&&(t==null||!!(e.type&t))}function hs(e){let t={};if(e===``||e===`?`)return t;let n=(e[0]===`?`?e.slice(1):e).split(`&`);for(let e=0;e<n.length;++e){let r=n[e].replace(wo,` `),i=r.indexOf(`=`),a=zo(i<0?r:r.slice(0,i)),o=i<0?null:zo(r.slice(i+1));if(a in t){let e=t[a];X(e)||(e=t[a]=[e]),e.push(o)}else t[a]=o}return t}function gs(e){let t=``;for(let n in e){let r=e[n];if(n=Io(n),r==null){r!==void 0&&(t+=(t.length?`&`:``)+n);continue}(X(r)?r.map(e=>e&&Fo(e)):[r&&Fo(r)]).forEach(e=>{e!==void 0&&(t+=(t.length?`&`:``)+n,e!=null&&(t+=`=`+e))})}return t}function _s(e){let t={};for(let n in e){let r=e[n];r!==void 0&&(t[n]=X(r)?r.map(e=>e==null?null:``+e):r==null?r:``+r)}return t}var vs=Symbol(``),ys=Symbol(``),bs=Symbol(``),xs=Symbol(``),Ss=Symbol(``);function Cs(){let e=[];function t(t){return e.push(t),()=>{let n=e.indexOf(t);n>-1&&e.splice(n,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function ws(e,t,n,r,i,a=e=>e()){let o=r&&(r.enterCallbacks[i]=r.enterCallbacks[i]||[]);return()=>new Promise((s,c)=>{let l=e=>{e===!1?c(ps(Z.NAVIGATION_ABORTED,{from:n,to:t})):e instanceof Error?c(e):us(e)?c(ps(Z.NAVIGATION_GUARD_REDIRECT,{from:t,to:e})):(o&&r.enterCallbacks[i]===o&&typeof e==`function`&&o.push(e),s())},u=a(()=>e.call(r&&r.instances[i],t,n,l)),d=Promise.resolve(u);e.length<3&&(d=d.then(l)),d.catch(e=>c(e))})}function Ts(e,t,n,r,i=e=>e()){let a=[];for(let o of e)for(let e in o.components){let s=o.components[e];if(!(t!==`beforeRouteEnter`&&!o.instances[e]))if(mo(s)){let c=(s.__vccOpts||s)[t];c&&a.push(ws(c,n,r,o,e,i))}else{let c=s();a.push(()=>c.then(a=>{if(!a)throw Error(`Couldn't resolve component "${e}" at "${o.path}"`);let s=ho(a)?a.default:a;o.mods[e]=a,o.components[e]=s;let c=(s.__vccOpts||s)[t];return c&&ws(c,n,r,o,e,i)()}))}}return a}function Es(e,t){let n=[],r=[],i=[],a=Math.max(t.matched.length,e.matched.length);for(let o=0;o<a;o++){let a=t.matched[o];a&&(e.matched.find(e=>Ko(e,a))?r.push(a):n.push(a));let s=e.matched[o];s&&(t.matched.find(e=>Ko(e,s))||i.push(s))}return[n,r,i]}var Ds=()=>location.protocol+`//`+location.host;function Os(e,t){let{pathname:n,search:r,hash:i}=t,a=e.indexOf(`#`);if(a>-1){let t=i.includes(e.slice(a))?e.slice(a).length:1,n=i.slice(t);return n[0]!==`/`&&(n=`/`+n),Wo(n,``)}return Wo(n,e)+r+i}function ks(e,t,n,r){let i=[],a=[],o=null,s=({state:a})=>{let s=Os(e,location),c=n.value,l=t.value,u=0;if(a){if(n.value=s,t.value=a,o&&o===c){o=null;return}u=l?a.position-l.position:0}else r(s);i.forEach(e=>{e(n.value,c,{delta:u,type:Qo.pop,direction:u?u>0?$o.forward:$o.back:$o.unknown})})};function c(){o=n.value}function l(e){i.push(e);let t=()=>{let t=i.indexOf(e);t>-1&&i.splice(t,1)};return a.push(t),t}function u(){if(document.visibilityState===`hidden`){let{history:e}=window;if(!e.state)return;e.replaceState(Y({},e.state,{scroll:is()}),``)}}function d(){for(let e of a)e();a=[],window.removeEventListener(`popstate`,s),window.removeEventListener(`pagehide`,u),document.removeEventListener(`visibilitychange`,u)}return window.addEventListener(`popstate`,s),window.addEventListener(`pagehide`,u),document.addEventListener(`visibilitychange`,u),{pauseListeners:c,listen:l,destroy:d}}function As(e,t,n,r=!1,i=!1){return{back:e,current:t,forward:n,replaced:r,position:window.history.length,scroll:i?is():null}}function js(e){let{history:t,location:n}=window,r={value:Os(e,n)},i={value:t.state};i.value||a(r.value,{back:null,current:r.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function a(r,a,o){let s=e.indexOf(`#`),c=s>-1?(n.host&&document.querySelector(`base`)?e:e.slice(s))+r:Ds()+e+r;try{t[o?`replaceState`:`pushState`](a,``,c),i.value=a}catch(e){console.error(e),n[o?`replace`:`assign`](c)}}function o(e,n){a(e,Y({},t.state,As(i.value.back,e,i.value.forward,!0),n,{position:i.value.position}),!0),r.value=e}function s(e,n){let o=Y({},i.value,t.state,{forward:e,scroll:is()});a(o.current,o,!0),a(e,Y({},As(r.value,e,null),{position:o.position+1},n),!1),r.value=e}return{location:r,state:i,push:s,replace:o}}function Ms(e){e=es(e);let t=js(e),n=ks(e,t.state,t.location,t.replace);function r(e,t=!0){t||n.pauseListeners(),history.go(e)}let i=Y({location:``,base:e,go:r,createHref:ns.bind(null,e)},t,n);return Object.defineProperty(i,`location`,{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(i,`state`,{enumerable:!0,get:()=>t.state.value}),i}var Ns=function(e){return e[e.Static=0]=`Static`,e[e.Param=1]=`Param`,e[e.Group=2]=`Group`,e}({}),Q=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}(Q||{}),Ps={type:Ns.Static,value:``},Fs=/[a-zA-Z0-9_]/;function Is(e){if(!e)return[[]];if(e===`/`)return[[Ps]];if(!e.startsWith(`/`))throw Error(`Invalid path "${e}"`);function t(e){throw Error(`ERR (${n})/"${l}": ${e}`)}let n=Q.Static,r=n,i=[],a;function o(){a&&i.push(a),a=[]}let s=0,c,l=``,u=``;function d(){l&&=(n===Q.Static?a.push({type:Ns.Static,value:l}):n===Q.Param||n===Q.ParamRegExp||n===Q.ParamRegExpEnd?(a.length>1&&(c===`*`||c===`+`)&&t(`A repeatable param (${l}) must be alone in its segment. eg: '/:ids+.`),a.push({type:Ns.Param,value:l,regexp:u,repeatable:c===`*`||c===`+`,optional:c===`*`||c===`?`})):t(`Invalid state to consume buffer`),``)}function f(){l+=c}for(;s<e.length;){if(c=e[s++],c===`\\`&&n!==Q.ParamRegExp){r=n,n=Q.EscapeNext;continue}switch(n){case Q.Static:c===`/`?(l&&d(),o()):c===`:`?(d(),n=Q.Param):f();break;case Q.EscapeNext:f(),n=r;break;case Q.Param:c===`(`?n=Q.ParamRegExp:Fs.test(c)?f():(d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--);break;case Q.ParamRegExp:c===`)`?u[u.length-1]==`\\`?u=u.slice(0,-1)+c:n=Q.ParamRegExpEnd:u+=c;break;case Q.ParamRegExpEnd:d(),n=Q.Static,c!==`*`&&c!==`?`&&c!==`+`&&s--,u=``;break;default:t(`Unknown state`);break}}return n===Q.ParamRegExp&&t(`Unfinished custom RegExp for param "${l}"`),d(),o(),i}var Ls=`[^/]+?`,Rs={sensitive:!1,strict:!1,start:!0,end:!0},$=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}($||{}),zs=/[.+*?^${}()[\]/\\]/g;function Bs(e,t){let n=Y({},Rs,t),r=[],i=n.start?`^`:``,a=[];for(let t of e){let e=t.length?[]:[$.Root];n.strict&&!t.length&&(i+=`/`);for(let r=0;r<t.length;r++){let o=t[r],s=$.Segment+(n.sensitive?$.BonusCaseSensitive:0);if(o.type===Ns.Static)r||(i+=`/`),i+=o.value.replace(zs,`\\$&`),s+=$.Static;else if(o.type===Ns.Param){let{value:e,repeatable:n,optional:c,regexp:l}=o;a.push({name:e,repeatable:n,optional:c});let u=l||Ls;if(u!==Ls){s+=$.BonusCustomRegExp;try{`${u}`}catch(t){throw Error(`Invalid custom RegExp for param "${e}" (${u}): `+t.message)}}let d=n?`((?:${u})(?:/(?:${u}))*)`:`(${u})`;r||(d=c&&t.length<2?`(?:/${d})`:`/`+d),c&&(d+=`?`),i+=d,s+=$.Dynamic,c&&(s+=$.BonusOptional),n&&(s+=$.BonusRepeatable),u===`.*`&&(s+=$.BonusWildcard)}e.push(s)}r.push(e)}if(n.strict&&n.end){let e=r.length-1;r[e][r[e].length-1]+=$.BonusStrict}n.strict||(i+=`/?`),n.end?i+=`$`:n.strict&&!i.endsWith(`/`)&&(i+=`(?:/|$)`);let o=new RegExp(i,n.sensitive?``:`i`);function s(e){let t=e.match(o),n={};if(!t)return null;for(let e=1;e<t.length;e++){let r=t[e]||``,i=a[e-1];n[i.name]=r&&i.repeatable?r.split(`/`):r}return n}function c(t){let n=``,r=!1;for(let i of e){(!r||!n.endsWith(`/`))&&(n+=`/`),r=!1;for(let e of i)if(e.type===Ns.Static)n+=e.value;else if(e.type===Ns.Param){let{value:a,repeatable:o,optional:s}=e,c=a in t?t[a]:``;if(X(c)&&!o)throw Error(`Provided param "${a}" is an array but it is not repeatable (* or + modifiers)`);let l=X(c)?c.join(`/`):c;if(!l)if(s)i.length<2&&(n.endsWith(`/`)?n=n.slice(0,-1):r=!0);else throw Error(`Missing required param "${a}"`);n+=l}}return n||`/`}return{re:o,score:r,keys:a,parse:s,stringify:c}}function Vs(e,t){let n=0;for(;n<e.length&&n<t.length;){let r=t[n]-e[n];if(r)return r;n++}return e.length<t.length?e.length===1&&e[0]===$.Static+$.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===$.Static+$.Segment?1:-1:0}function Hs(e,t){let n=0,r=e.score,i=t.score;for(;n<r.length&&n<i.length;){let e=Vs(r[n],i[n]);if(e)return e;n++}if(Math.abs(i.length-r.length)===1){if(Us(r))return 1;if(Us(i))return-1}return i.length-r.length}function Us(e){let t=e[e.length-1];return e.length>0&&t[t.length-1]<0}var Ws={strict:!1,end:!0,sensitive:!1};function Gs(e,t,n){let r=Y(Bs(Is(e.path),n),{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Ks(e,t){let n=[],r=new Map;t=vo(Ws,t);function i(e){return r.get(e)}function a(e,n,r){let i=!r,s=Js(e);s.aliasOf=r&&r.record;let l=vo(t,e),u=[s];if(`alias`in e){let t=typeof e.alias==`string`?[e.alias]:e.alias;for(let e of t)u.push(Js(Y({},s,{components:r?r.record.components:s.components,path:e,aliasOf:r?r.record:s})))}let d,f;for(let t of u){let{path:u}=t;if(n&&u[0]!==`/`){let e=n.record.path,r=e[e.length-1]===`/`?``:`/`;t.path=n.record.path+(u&&r+u)}if(d=Gs(t,n,l),r?r.alias.push(d):(f||=d,f!==d&&f.alias.push(d),i&&e.name&&!Xs(d)&&o(e.name)),ec(d)&&c(d),s.children){let e=s.children;for(let t=0;t<e.length;t++)a(e[t],d,r&&r.children[t])}r||=d}return f?()=>{o(f)}:_o}function o(e){if(ds(e)){let t=r.get(e);t&&(r.delete(e),n.splice(n.indexOf(t),1),t.children.forEach(o),t.alias.forEach(o))}else{let t=n.indexOf(e);t>-1&&(n.splice(t,1),e.record.name&&r.delete(e.record.name),e.children.forEach(o),e.alias.forEach(o))}}function s(){return n}function c(e){let t=Qs(e,n);n.splice(t,0,e),e.record.name&&!Xs(e)&&r.set(e.record.name,e)}function l(e,t){let i,a={},o,s;if(`name`in e&&e.name){if(i=r.get(e.name),!i)throw ps(Z.MATCHER_NOT_FOUND,{location:e});s=i.record.name,a=Y(qs(t.params,i.keys.filter(e=>!e.optional).concat(i.parent?i.parent.keys.filter(e=>e.optional):[]).map(e=>e.name)),e.params&&qs(e.params,i.keys.map(e=>e.name))),o=i.stringify(a)}else if(e.path!=null)o=e.path,i=n.find(e=>e.re.test(o)),i&&(a=i.parse(o),s=i.record.name);else{if(i=t.name?r.get(t.name):n.find(e=>e.re.test(t.path)),!i)throw ps(Z.MATCHER_NOT_FOUND,{location:e,currentLocation:t});s=i.record.name,a=Y({},t.params,e.params),o=i.stringify(a)}let c=[],l=i;for(;l;)c.unshift(l.record),l=l.parent;return{name:s,path:o,params:a,matched:c,meta:Zs(c)}}e.forEach(e=>a(e));function u(){n.length=0,r.clear()}return{addRoute:a,resolve:l,removeRoute:o,clearRoutes:u,getRoutes:s,getRecordMatcher:i}}function qs(e,t){let n={};for(let r of t)r in e&&(n[r]=e[r]);return n}function Js(e){let t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Ys(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 Ys(e){let t={},n=e.props||!1;if(`component`in e)t.default=n;else for(let r in e.components)t[r]=typeof n==`object`?n[r]:n;return t}function Xs(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Zs(e){return e.reduce((e,t)=>Y(e,t.meta),{})}function Qs(e,t){let n=0,r=t.length;for(;n!==r;){let i=n+r>>1;Hs(e,t[i])<0?r=i:n=i+1}let i=$s(e);return i&&(r=t.lastIndexOf(i,r-1)),r}function $s(e){let t=e;for(;t=t.parent;)if(ec(t)&&Hs(e,t)===0)return t}function ec({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function tc(e){let t=An(bs),n=An(xs),r=J(()=>{let n=qt(e.to);return t.resolve(n)}),i=J(()=>{let{matched:e}=r.value,{length:t}=e,i=e[t-1],a=n.matched;if(!i||!a.length)return-1;let o=a.findIndex(Ko.bind(null,i));if(o>-1)return o;let s=oc(e[t-2]);return t>1&&oc(i)===s&&a[a.length-1].path!==s?a.findIndex(Ko.bind(null,e[t-2])):o}),a=J(()=>i.value>-1&&ac(n.params,r.value.params)),o=J(()=>i.value>-1&&i.value===n.matched.length-1&&qo(n.params,r.value.params));function s(n={}){if(ic(n)){let n=t[qt(e.replace)?`replace`:`push`](qt(e.to)).catch(_o);return e.viewTransition&&typeof document<`u`&&`startViewTransition`in document&&document.startViewTransition(()=>n),n}return Promise.resolve()}return{route:r,href:J(()=>r.value.href),isActive:a,isExactActive:o,navigate:s}}function nc(e){return e.length===1?e[0]:e}var rc=Vn({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:tc,setup(e,{slots:t}){let n=Nt(tc(e)),{options:r}=An(bs),i=J(()=>({[sc(e.activeClass,r.linkActiveClass,`router-link-active`)]:n.isActive,[sc(e.exactActiveClass,r.linkExactActiveClass,`router-link-exact-active`)]:n.isExactActive}));return()=>{let r=t.default&&nc(t.default(n));return e.custom?r:pa(`a`,{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:i.value},r)}}});function ic(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){let t=e.currentTarget.getAttribute(`target`);if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function ac(e,t){for(let n in t){let r=t[n],i=e[n];if(typeof r==`string`){if(r!==i)return!1}else if(!X(i)||i.length!==r.length||r.some((e,t)=>e.valueOf()!==i[t].valueOf()))return!1}return!0}function oc(e){return e?e.aliasOf?e.aliasOf.path:e.path:``}var sc=(e,t,n)=>e??t??n,cc=Vn({name:`RouterView`,inheritAttrs:!1,props:{name:{type:String,default:`default`},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){let r=An(Ss),i=J(()=>e.route||r.value),a=An(ys,0),o=J(()=>{let e=qt(a),{matched:t}=i.value,n;for(;(n=t[e])&&!n.components;)e++;return e}),s=J(()=>i.value.matched[o.value]);kn(ys,J(()=>o.value+1)),kn(vs,s),kn(Ss,i);let c=Ut();return Nn(()=>[c.value,s.value,e.name],([e,t,n],[r,i,a])=>{t&&(t.instances[n]=e,i&&i!==t&&e&&e===r&&(t.leaveGuards.size||(t.leaveGuards=i.leaveGuards),t.updateGuards.size||(t.updateGuards=i.updateGuards))),e&&t&&(!i||!Ko(t,i)||!r)&&(t.enterCallbacks[n]||[]).forEach(t=>t(e))},{flush:`post`}),()=>{let r=i.value,a=e.name,o=s.value,l=o&&o.components[a];if(!l)return lc(n.default,{Component:l,route:r});let u=o.props[a],d=pa(l,Y({},u?u===!0?r.params:typeof u==`function`?u(r):u:null,t,{onVnodeUnmounted:e=>{e.component.isUnmounted&&(o.instances[a]=null)},ref:c}));return lc(n.default,{Component:d,route:r})||d}}});function lc(e,t){if(!e)return null;let n=e(t);return n.length===1?n[0]:n}var uc=cc;function dc(e){let t=Ks(e.routes,e),n=e.parseQuery||hs,r=e.stringifyQuery||gs,i=e.history,a=Cs(),o=Cs(),s=Cs(),c=Wt(Zo),l=Zo;po&&e.scrollBehavior&&`scrollRestoration`in history&&(history.scrollRestoration=`manual`);let u=go.bind(null,e=>``+e),d=go.bind(null,Ro),f=go.bind(null,zo);function p(e,n){let r,i;return ds(e)?(r=t.getRecordMatcher(e),i=n):i=e,t.addRoute(i,r)}function m(e){let n=t.getRecordMatcher(e);n&&t.removeRoute(n)}function h(){return t.getRoutes().map(e=>e.record)}function g(e){return!!t.getRecordMatcher(e)}function _(e,a){if(a=Y({},a||c.value),typeof e==`string`){let r=Ho(n,e,a.path),o=t.resolve({path:r.path},a),s=i.createHref(r.fullPath);return Y(r,o,{params:f(o.params),hash:zo(r.hash),redirectedFrom:void 0,href:s})}let o;if(e.path!=null)o=Y({},e,{path:Ho(n,e.path,a.path).path});else{let t=Y({},e.params);for(let e in t)t[e]??delete t[e];o=Y({},e,{params:d(t)}),a.params=d(a.params)}let s=t.resolve(o,a),l=e.hash||``;s.params=u(f(s.params));let p=Uo(r,Y({},e,{hash:Po(l),path:s.path})),m=i.createHref(p);return Y({fullPath:p,hash:l,query:r===gs?_s(e.query):e.query||{}},s,{redirectedFrom:void 0,href:m})}function v(e){return typeof e==`string`?Ho(n,e,c.value.path):Y({},e)}function y(e,t){if(l!==e)return ps(Z.NAVIGATION_CANCELLED,{from:t,to:e})}function b(e){return C(e)}function x(e){return b(Y(v(e),{replace:!0}))}function S(e,t){let n=e.matched[e.matched.length-1];if(n&&n.redirect){let{redirect:r}=n,i=typeof r==`function`?r(e,t):r;return typeof i==`string`&&(i=i.includes(`?`)||i.includes(`#`)?i=v(i):{path:i},i.params={}),Y({query:e.query,hash:e.hash,params:i.path==null?e.params:{}},i)}}function C(e,t){let n=l=_(e),i=c.value,a=e.state,o=e.force,s=e.replace===!0,u=S(n,i);if(u)return C(Y(v(u),{state:typeof u==`object`?Y({},a,u.state):a,force:o,replace:s}),t||n);let d=n;d.redirectedFrom=t;let f;return!o&&Go(r,i,n)&&(f=ps(Z.NAVIGATION_DUPLICATED,{to:d,from:i}),ce(i,i,!0,!1)),(f?Promise.resolve(f):te(d,i)).catch(e=>ms(e)?ms(e,Z.NAVIGATION_GUARD_REDIRECT)?e:se(e):oe(e,d,i)).then(e=>{if(e){if(ms(e,Z.NAVIGATION_GUARD_REDIRECT))return C(Y({replace:s},v(e.to),{state:typeof e.to==`object`?Y({},a,e.to.state):a,force:o}),t||d)}else e=T(d,i,!0,s,a);return ne(d,i,e),e})}function w(e,t){let n=y(e,t);return n?Promise.reject(n):Promise.resolve()}function ee(e){let t=de.values().next().value;return t&&typeof t.runWithContext==`function`?t.runWithContext(e):e()}function te(e,t){let n,[r,i,s]=Es(e,t);n=Ts(r.reverse(),`beforeRouteLeave`,e,t);for(let i of r)i.leaveGuards.forEach(r=>{n.push(ws(r,e,t))});let c=w.bind(null,e,t);return n.push(c),pe(n).then(()=>{n=[];for(let r of a.list())n.push(ws(r,e,t));return n.push(c),pe(n)}).then(()=>{n=Ts(i,`beforeRouteUpdate`,e,t);for(let r of i)r.updateGuards.forEach(r=>{n.push(ws(r,e,t))});return n.push(c),pe(n)}).then(()=>{n=[];for(let r of s)if(r.beforeEnter)if(X(r.beforeEnter))for(let i of r.beforeEnter)n.push(ws(i,e,t));else n.push(ws(r.beforeEnter,e,t));return n.push(c),pe(n)}).then(()=>(e.matched.forEach(e=>e.enterCallbacks={}),n=Ts(s,`beforeRouteEnter`,e,t,ee),n.push(c),pe(n))).then(()=>{n=[];for(let r of o.list())n.push(ws(r,e,t));return n.push(c),pe(n)}).catch(e=>ms(e,Z.NAVIGATION_CANCELLED)?e:Promise.reject(e))}function ne(e,t,n){s.list().forEach(r=>ee(()=>r(e,t,n)))}function T(e,t,n,r,a){let o=y(e,t);if(o)return o;let s=t===Zo,l=po?history.state:{};n&&(r||s?i.replace(e.fullPath,Y({scroll:s&&l&&l.scroll},a)):i.push(e.fullPath,a)),c.value=e,ce(e,t,n,s),se()}let re;function E(){re||=i.listen((e,t,n)=>{if(!fe.listening)return;let r=_(e),a=S(r,fe.currentRoute.value);if(a){C(Y(a,{replace:!0,force:!0}),r).catch(_o);return}l=r;let o=c.value;po&&cs(os(o.fullPath,n.delta),is()),te(r,o).catch(e=>ms(e,Z.NAVIGATION_ABORTED|Z.NAVIGATION_CANCELLED)?e:ms(e,Z.NAVIGATION_GUARD_REDIRECT)?(C(Y(v(e.to),{force:!0}),r).then(e=>{ms(e,Z.NAVIGATION_ABORTED|Z.NAVIGATION_DUPLICATED)&&!n.delta&&n.type===Qo.pop&&i.go(-1,!1)}).catch(_o),Promise.reject()):(n.delta&&i.go(-n.delta,!1),oe(e,r,o))).then(e=>{e||=T(r,o,!1),e&&(n.delta&&!ms(e,Z.NAVIGATION_CANCELLED)?i.go(-n.delta,!1):n.type===Qo.pop&&ms(e,Z.NAVIGATION_ABORTED|Z.NAVIGATION_DUPLICATED)&&i.go(-1,!1)),ne(r,o,e)}).catch(_o)})}let ie=Cs(),ae=Cs(),D;function oe(e,t,n){se(e);let r=ae.list();return r.length?r.forEach(r=>r(e,t,n)):console.error(e),Promise.reject(e)}function O(){return D&&c.value!==Zo?Promise.resolve():new Promise((e,t)=>{ie.add([e,t])})}function se(e){return D||(D=!e,E(),ie.list().forEach(([t,n])=>e?n(e):t()),ie.reset()),e}function ce(t,n,r,i){let{scrollBehavior:a}=e;if(!po||!a)return Promise.resolve();let o=!r&&ls(os(t.fullPath,0))||(i||!r)&&history.state&&history.state.scroll||null;return hn().then(()=>a(t,n,o)).then(e=>e&&as(e)).catch(e=>oe(e,t,n))}let le=e=>i.go(e),ue,de=new Set,fe={currentRoute:c,listening:!0,addRoute:p,removeRoute:m,clearRoutes:t.clearRoutes,hasRoute:g,getRoutes:h,resolve:_,options:e,push:b,replace:x,go:le,back:()=>le(-1),forward:()=>le(1),beforeEach:a.add,beforeResolve:o.add,afterEach:s.add,onError:ae.add,isReady:O,install(e){e.component(`RouterLink`,rc),e.component(`RouterView`,uc),e.config.globalProperties.$router=fe,Object.defineProperty(e.config.globalProperties,`$route`,{enumerable:!0,get:()=>qt(c)}),po&&!ue&&c.value===Zo&&(ue=!0,b(i.location).catch(e=>{}));let t={};for(let e in Zo)Object.defineProperty(t,e,{get:()=>c.value[e],enumerable:!0});e.provide(bs,fe),e.provide(xs,Pt(t)),e.provide(Ss,c);let n=e.unmount;de.add(e),e.unmount=function(){de.delete(e),de.size<1&&(l=Zo,re&&re(),re=null,c.value=Zo,ue=!1,D=!1),n()}}};function pe(e){return e.reduce((e,t)=>e.then(()=>ee(t)),Promise.resolve())}return fe}var fc={class:`app-header`},pc={class:`header-left`},mc={class:`app-nav`},hc=[`aria-label`],gc=Vn({__name:`App`,setup(e){let t=Ut(`light`);function n(e){t.value=e,document.documentElement.dataset.theme=e,localStorage.setItem(`waelio-theme`,e)}function r(){n(t.value===`light`?`dark`:`light`)}return nr(()=>{let e=localStorage.getItem(`waelio-theme`),t=window.matchMedia(`(prefers-color-scheme: dark)`).matches;n(e??(t?`dark`:`light`))}),(e,n)=>(U(),W(V,null,[G(`header`,fc,[G(`div`,pc,[n[2]||=G(`h1`,{class:`app-title`},`waelio/cli`,-1),G(`nav`,mc,[K(qt(rc),{to:`/`},{default:En(()=>[...n[0]||=[Bi(`Scaffold`,-1)]]),_:1}),K(qt(rc),{to:`/public-sites`},{default:En(()=>[...n[1]||=[Bi(`Public Sites`,-1)]]),_:1})])]),G(`button`,{type:`button`,class:`theme-toggle`,"aria-label":t.value===`light`?`Switch to dark mode`:`Switch to light mode`,onClick:r},xe(t.value===`light`?`Dark`:`Light`),9,hc)]),K(qt(uc))],64))}}),_c=(e,t)=>{let n=e.__vccOpts||e;for(let[e,r]of t)n[e]=r;return n},vc=_c(gc,[[`__scopeId`,`data-v-7c4c82e0`]]),yc={class:`app-main`},bc={class:`group`,"aria-labelledby":`group-project`},xc={class:`check`,style:{"flex-direction":`column`,"align-items":`stretch`}},Sc=[`aria-labelledby`],Cc=[`id`],wc={class:`group-list`},Tc={class:`check`},Ec=[`checked`,`disabled`,`onChange`],Dc={key:0,class:`required-tag`},Oc={class:`app-footer`},kc={class:`actions`},Ac=[`disabled`],jc=[`disabled`],Mc=[`disabled`],Nc=[`disabled`],Pc=[`disabled`],Fc={key:0,class:`preview`},Ic={key:1,class:`build-status`},Lc={class:`build-state`},Rc={key:0,class:`preview`},zc={key:1,class:`preview`},Bc=_c(Vn({__name:`ScaffoldView`,setup(e){let t=[{key:`pages`,title:`Pages`,required:[`Contact`,`Privacy`,`Terms & Conditions`,`Login`],items:[`Home`,`About`,`Services`,`Pricing`,`Contact`,`FAQ`,`Blog`,`Catalog`,`Product Detail`,`Cart`,`Checkout`,`Account`,`Dashboard`,`Booking`,`Practitioners`,`Docs`,`Login`,`Privacy`,`Terms & Conditions`]},{key:`features`,title:`Features`,required:[`SEO`,`Authentication`,`Publishing`,`Brand Assets`,`CASL Permissions`,`Local Database`,`NativeScript Ready`],items:[`SEO`,`Analytics`,`Authentication`,`Billing`,`Search`,`Booking`,`Notifications`,`Customer Portal`,`Lead Capture`,`Case Studies`,`Blog`,`Payments`,`Customer Accounts`,`Knowledge Base`,`Admin Dashboard`,`Content Management`,`Publishing`,`Brand Assets`,`CASL Permissions`,`Local Database`,`NativeScript Ready`]},{key:`integrations`,title:`Integrations`,items:[`Stripe`,`CRM`,`Email & SMS`,`Analytics`]},{key:`locales`,title:`Locales`,items:[`en`,`ar`,`de`,`es`,`fr`,`he`,`id`,`it`,`ru`,`sv`,`tr`,`zh`]},{key:`roles`,title:`Roles`,items:[`Admin`,`Editor`,`Operations`,`Support`,`Sales`,`Reception`,`Dentist`,`Hygienist`]},{key:`brandTones`,title:`Brand tone`,items:[`Trustworthy`,`Bold`,`Premium`,`Friendly`]},{key:`visualStyles`,title:`Visual style`,items:[`Premium Editorial`,`Friendly Clinical`]},{key:`contentModels`,title:`Content model`,items:[`Service pages + blog`,`Catalog + editorial`]},{key:`seoFocuses`,title:`SEO focus`,items:[`Local + service intent`,`Transactional intent`]}],n=Nt(Object.fromEntries(t.map(e=>[e.key,new Set(e.required??[])])));function r(e,t){let r=n[e];r&&(r.has(t)?r.delete(t):r.add(t))}function i(e,t){return e.required?.includes(t)??!1}function a(e,t){return n[e]?.has(t)??!1}let o=Ut(``),s=Ut(!1),c=Ut(``);function l(e){return e.toLowerCase().replace(/[^a-z0-9]+/g,`-`).replace(/^-+|-+$/g,``)||`site`}let u={pages:`selectedPages`,features:`selectedFeatures`,integrations:`selectedIntegrations`,locales:`selectedLocales`,roles:`selectedRoles`,brandTones:`selectedBrandTones`,visualStyles:`selectedVisualStyles`,contentModels:`selectedContentModels`,seoFocuses:`selectedSEOFocuses`};function d(){let e={};for(let r of t){let t=u[r.key]??r.key;e[t]=Array.from(n[r.key]??[])}let r=c.value.trim(),i={$schema:`https://waelio.dev/schemas/blueprint/v1.json`,generator:{name:`waelio-cli`,version:`0.1.2`,url:`https://github.com/waelio/cli`},id:crypto.randomUUID(),createdAt:new Date().toISOString(),projectName:r||`Siteforge Project`,slug:l(r||`Siteforge Project`),selections:e};o.value=JSON.stringify(i,null,2),s.value=!1}function f(){o.value||d(),s.value=!0}function p(){o.value||d();let e=new Blob([o.value],{type:`application/json`}),t=URL.createObjectURL(e),n=document.createElement(`a`);n.href=t,n.download=`blueprint.json`,n.click(),URL.revokeObjectURL(t)}let m=`https://siteforge.wahbehw.workers.dev`,h=`/api/scaffold`,g=Ut(`idle`),_=Ut([]),v=Ut(``);function y(e){_.value.push(`[${new Date().toLocaleTimeString()}] ${e}`)}async function b(){if(!c.value.trim()){y(`error: project name is required`),g.value=`error`;return}d(),_.value=[],v.value=``,g.value=`sending`,y(`POST ${h}`);try{let e=await fetch(h,{method:`POST`,headers:{"Content-Type":`application/json`},body:JSON.stringify({blueprint:JSON.parse(o.value)})});if(!e.ok){let t=await e.text();y(`error: ${e.status} ${t}`),g.value=`error`;return}let t=await e.json();v.value=JSON.stringify(t,null,2),g.value=`done`,y(`scaffolded "${t.slug}" at ${t.outDir}`)}catch(e){y(`network error: ${e.message}`),g.value=`error`}}async function x(){if(!c.value.trim()){y(`error: project name is required`),g.value=`error`;return}d(),_.value=[],v.value=``,g.value=`sending`;let e=`${m}/public-sites/`;y(`POST webhook to ${e}`);try{let t=await fetch(e,{method:`POST`,headers:{"Content-Type":`application/json`},body:o.value});if(!t.ok){let e=await t.text();y(`webhook error: ${t.status} ${e}`),g.value=`error`;return}let n=await t.json();v.value=JSON.stringify(n,null,2),g.value=`done`,y(`Success! Live at: ${m}${n.url}`)}catch(e){y(`webhook network error: ${e.message}`),g.value=`error`}}async function S(){if(!v.value)return;let e=new Blob([v.value],{type:`application/json`}),t=URL.createObjectURL(e),n=document.createElement(`a`);n.href=t,n.download=`siteforge-package.json`,n.click(),URL.revokeObjectURL(t),await x()}function C(){for(let e of t)n[e.key]=new Set(e.required??[]);c.value=``,o.value=``,s.value=!1,_.value=[],v.value=``,g.value=`idle`}return(e,n)=>(U(),W(V,null,[G(`main`,yc,[G(`section`,bc,[n[2]||=G(`h2`,{id:`group-project`,class:`group-title`},`Project`,-1),G(`label`,xc,[n[1]||=G(`span`,null,`Name`,-1),Dn(G(`input`,{"onUpdate:modelValue":n[0]||=e=>c.value=e,type:`text`,placeholder:`Acme Dental`,autocomplete:`off`,style:{"margin-top":`0.4rem`,padding:`0.4rem 0.6rem`,border:`1px solid var(--fg)`,"border-radius":`0.375rem`,background:`transparent`,color:`var(--fg)`,font:`inherit`}},null,512),[[ao,c.value]])])]),(U(),W(V,null,fr(t,e=>G(`section`,{key:e.key,class:`group`,"aria-labelledby":`group-${e.key}`},[G(`h2`,{id:`group-${e.key}`,class:`group-title`},xe(e.title),9,Cc),G(`ul`,wc,[(U(!0),W(V,null,fr(e.items,t=>(U(),W(`li`,{key:t},[G(`label`,Tc,[G(`input`,{type:`checkbox`,checked:a(e.key,t),disabled:i(e,t),onChange:n=>r(e.key,t)},null,40,Ec),G(`span`,null,xe(t),1),i(e,t)?(U(),W(`span`,Dc,` required `)):Vi(``,!0)])]))),128))])],8,Sc)),64))]),G(`footer`,Oc,[G(`div`,kc,[G(`button`,{type:`button`,class:`btn`,onClick:d},` Generate `),G(`button`,{type:`button`,class:`btn`,onClick:C},`Reset`),G(`button`,{type:`button`,class:`btn`,disabled:!o.value,onClick:f},` View `,8,Ac),G(`button`,{type:`button`,class:`btn`,disabled:!o.value,onClick:p},` Download `,8,jc),G(`button`,{type:`button`,class:`btn`,disabled:!c.value.trim()||g.value===`connecting`||g.value===`sending`||g.value===`running`,onClick:b},` Build `,8,Mc),G(`button`,{type:`button`,class:`btn`,disabled:!c.value.trim()||g.value===`connecting`||g.value===`sending`||g.value===`running`,onClick:x,style:{background:`var(--fg)`,color:`#111`}},` Deploy to Siteforge Webhook `,8,Nc),G(`button`,{type:`button`,class:`btn`,disabled:!v.value,onClick:S},` Download package `,8,Pc)]),s.value&&o.value?(U(),W(`pre`,Fc,xe(o.value),1)):Vi(``,!0),g.value===`idle`?Vi(``,!0):(U(),W(`section`,Ic,[G(`p`,Lc,`Build: `+xe(g.value),1),_.value.length?(U(),W(`pre`,Rc,xe(_.value.join(`
3
+ `)),1)):Vi(``,!0),v.value?(U(),W(`pre`,zc,xe(v.value),1)):Vi(``,!0)]))])],64))}}),[[`__scopeId`,`data-v-5e6ed138`]]),Vc=`modulepreload`,Hc=function(e){return`/`+e},Uc={},Wc=function(e,t,n){let r=Promise.resolve();if(t&&t.length>0){let e=document.getElementsByTagName(`link`),i=document.querySelector(`meta[property=csp-nonce]`),a=i?.nonce||i?.getAttribute(`nonce`);function o(e){return Promise.all(e.map(e=>Promise.resolve(e).then(e=>({status:`fulfilled`,value:e}),e=>({status:`rejected`,reason:e}))))}r=o(t.map(t=>{if(t=Hc(t,n),t in Uc)return;Uc[t]=!0;let r=t.endsWith(`.css`),i=r?`[rel="stylesheet"]`:``;if(n)for(let n=e.length-1;n>=0;n--){let i=e[n];if(i.href===t&&(!r||i.rel===`stylesheet`))return}else if(document.querySelector(`link[href="${t}"]${i}`))return;let o=document.createElement(`link`);if(o.rel=r?`stylesheet`:Vc,r||(o.as=`script`),o.crossOrigin=``,o.href=t,a&&o.setAttribute(`nonce`,a),document.head.appendChild(o),r)return new Promise((e,n)=>{o.addEventListener(`load`,e),o.addEventListener(`error`,()=>n(Error(`Unable to preload CSS for ${t}`)))})}))}function i(e){let t=new Event(`vite:preloadError`,{cancelable:!0});if(t.payload=e,window.dispatchEvent(t),!t.defaultPrevented)throw e}return r.then(t=>{for(let e of t||[])e.status===`rejected`&&i(e.reason);return e().catch(i)})},Gc=dc({history:Ms(),routes:[{path:`/`,name:`scaffold`,component:Bc},{path:`/public-sites`,name:`public-sites`,component:()=>Wc(()=>import(`./PublicSitesView-BONa1Zoj.js`),__vite__mapDeps([0,1]))}]});lo(vc).use(Gc).mount(`#app`);export{Vn as a,fr as c,xe as d,W as i,Ut as l,V as n,nr as o,G as r,U as s,_c as t,k as u};
@@ -35,8 +35,8 @@
35
35
  sans-serif;
36
36
  }
37
37
  </style>
38
- <script type="module" crossorigin src="/assets/index-BASEVOdG.js"></script>
39
- <link rel="stylesheet" crossorigin href="/assets/index-MlBRo6xM.css">
38
+ <script type="module" crossorigin src="/assets/index-DP7Yrd8J.js"></script>
39
+ <link rel="stylesheet" crossorigin href="/assets/index-BzotlfpW.css">
40
40
  </head>
41
41
  <body>
42
42
  <div id="app"></div>
@@ -1 +0,0 @@
1
- .app-main[data-v-cbb3722e]{padding:1.5rem;color:var(--fg)}.group[data-v-cbb3722e]{border:1px solid var(--fg);border-radius:.5rem;padding:1rem 1.25rem;max-width:800px;margin:0 auto}.group-title[data-v-cbb3722e]{margin:0 0 1rem;font-size:1.25rem;font-weight:600}.status-msg[data-v-cbb3722e],.error-msg[data-v-cbb3722e]{padding:1rem 0;opacity:.8}.error-msg[data-v-cbb3722e]{color:#ef4444}.site-list[data-v-cbb3722e]{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:.5rem}.site-item[data-v-cbb3722e]{padding:.75rem 1rem;border:1px solid rgba(255,255,255,.1);border-radius:.375rem;background:#ffffff08;transition:background .2s}.site-item[data-v-cbb3722e]:hover{background:#ffffff14}.site-link[data-v-cbb3722e]{color:var(--fg);text-decoration:none;font-weight:500;display:block}.site-link[data-v-cbb3722e]:hover{text-decoration:underline}
@@ -1 +0,0 @@
1
- import{d as _,o as d,c as s,a as c,t as u,F as p,r as m,b as n,e,_ as f}from"./index-BASEVOdG.js";const h={class:"app-main"},g={class:"group"},v={key:0,class:"status-msg"},b={key:1,class:"error-msg"},k={key:2,class:"site-list"},y=["href"],w={key:3,class:"status-msg"},S=_({__name:"PublicSitesView",setup(x){const o=n([]),i=n(""),r=n(!0);return d(async()=>{try{const t=await fetch("/api/public-sites");if(!t.ok)throw new Error(`Error: ${t.status}`);const a=await t.json();o.value=a.sites||[]}catch(t){i.value=t.message||"Failed to load public sites"}finally{r.value=!1}}),(t,a)=>(e(),s("main",h,[c("section",g,[a[0]||(a[0]=c("h2",{class:"group-title"},"Public Sites",-1)),r.value?(e(),s("div",v,"Loading...")):i.value?(e(),s("div",b,u(i.value),1)):o.value.length>0?(e(),s("ul",k,[(e(!0),s(p,null,m(o.value,l=>(e(),s("li",{key:l,class:"site-item"},[c("a",{href:`/public-sites/${l}/`,target:"_blank",class:"site-link"},u(l),9,y)]))),128))])):(e(),s("div",w,"No public sites found."))])]))}}),E=f(S,[["__scopeId","data-v-cbb3722e"]]);export{E as default};
@@ -1,27 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/PublicSitesView-DuDEMQT0.js","assets/PublicSitesView-DBnqmdMy.css"])))=>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 i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(r){if(r.ep)return;r.ep=!0;const i=n(r);fetch(r.href,i)}})();/**
3
- * @vue/shared v3.5.34
4
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
- * @license MIT
6
- **/function ys(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const te={},Nt=[],Je=()=>{},kr=()=>!1,On=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Pn=e=>e.startsWith("onUpdate:"),pe=Object.assign,bs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},uo=Object.prototype.hasOwnProperty,Q=(e,t)=>uo.call(e,t),V=Array.isArray,Dt=e=>un(e)==="[object Map]",Vr=e=>un(e)==="[object Set]",Gs=e=>un(e)==="[object Date]",G=e=>typeof e=="function",oe=e=>typeof e=="string",ze=e=>typeof e=="symbol",X=e=>e!==null&&typeof e=="object",Hr=e=>(X(e)||G(e))&&G(e.then)&&G(e.catch),Ur=Object.prototype.toString,un=e=>Ur.call(e),ao=e=>un(e).slice(8,-1),Gr=e=>un(e)==="[object Object]",Es=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Jt=ys(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},fo=/-\w/g,Ne=Tn(e=>e.replace(fo,t=>t.slice(1).toUpperCase())),ho=/\B([A-Z])/g,At=Tn(e=>e.replace(ho,"-$1").toLowerCase()),Kr=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vn=Tn(e=>e?`on${Kr(e)}`:""),qe=(e,t)=>!Object.is(e,t),mn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Wr=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Ss=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Ks;const In=()=>Ks||(Ks=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Rs(e){if(V(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=oe(s)?_o(s):Rs(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(oe(e)||X(e))return e}const po=/;(?![^(]*\))/g,go=/:([^]+)/,mo=/\/\*[^]*?\*\//g;function _o(e){const t={};return e.replace(mo,"").split(po).forEach(n=>{if(n){const s=n.split(go);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function As(e){let t="";if(oe(e))t=e;else if(V(e))for(let n=0;n<e.length;n++){const s=As(e[n]);s&&(t+=s+" ")}else if(X(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const vo="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",yo=ys(vo);function $r(e){return!!e||e===""}function bo(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=ws(e[s],t[s]);return n}function ws(e,t){if(e===t)return!0;let n=Gs(e),s=Gs(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=ze(e),s=ze(t),n||s)return e===t;if(n=V(e),s=V(t),n||s)return n&&s?bo(e,t):!1;if(n=X(e),s=X(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const c=e.hasOwnProperty(o),l=t.hasOwnProperty(o);if(c&&!l||!c&&l||!ws(e[o],t[o]))return!1}}return String(e)===String(t)}const qr=e=>!!(e&&e.__v_isRef===!0),dt=e=>oe(e)?e:e==null?"":V(e)||X(e)&&(e.toString===Ur||!G(e.toString))?qr(e)?dt(e.value):JSON.stringify(e,Jr,2):String(e),Jr=(e,t)=>qr(t)?Jr(e,t.value):Dt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[Hn(s,i)+" =>"]=r,n),{})}:Vr(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Hn(n))}:ze(t)?Hn(t):X(t)&&!V(t)&&!Gr(t)?String(t):t,Hn=(e,t="")=>{var n;return ze(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7
- * @vue/reactivity v3.5.34
8
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
9
- * @license MIT
10
- **/let he;class Eo{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&&he&&(he.active?(this.parent=he,this.index=(he.scopes||(he.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)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].pause();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,n;if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].resume();for(t=0,n=this.effects.length;t<n;t++)this.effects[t].resume()}}run(t){if(this._active){const n=he;try{return he=this,t()}finally{he=n}}}on(){++this._on===1&&(this.prevScope=he,he=this)}off(){if(this._on>0&&--this._on===0){if(he===this)he=this.prevScope;else{let t=he;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){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[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 So(){return he}let se;const Un=new WeakSet;class zr{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,he&&(he.active?he.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Un.has(this)&&(Un.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Yr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Ws(this),Xr(this);const t=se,n=De;se=this,De=!0;try{return this.fn()}finally{Zr(this),se=t,De=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Os(t);this.deps=this.depsTail=void 0,Ws(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Un.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ts(this)&&this.run()}get dirty(){return ts(this)}}let Qr=0,zt,Qt;function Yr(e,t=!1){if(e.flags|=8,t){e.next=Qt,Qt=e;return}e.next=zt,zt=e}function xs(){Qr++}function Cs(){if(--Qr>0)return;if(Qt){let t=Qt;for(Qt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;zt;){let t=zt;for(zt=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 Xr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Zr(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Os(s),Ro(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function ts(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ei(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ei(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===nn)||(e.globalVersion=nn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ts(e))))return;e.flags|=2;const t=e.dep,n=se,s=De;se=e,De=!0;try{Xr(e);const r=e.fn(e._value);(t.version===0||qe(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{se=n,De=s,Zr(e),e.flags&=-3}}function Os(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 i=n.computed.deps;i;i=i.nextDep)Os(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ro(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let De=!0;const ti=[];function ot(){ti.push(De),De=!1}function lt(){const e=ti.pop();De=e===void 0?!0:e}function Ws(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=se;se=void 0;try{t()}finally{se=n}}}let nn=0;class Ao{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 Ps{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(!se||!De||se===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==se)n=this.activeLink=new Ao(se,this),se.deps?(n.prevDep=se.depsTail,se.depsTail.nextDep=n,se.depsTail=n):se.deps=se.depsTail=n,ni(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=se.depsTail,n.nextDep=void 0,se.depsTail.nextDep=n,se.depsTail=n,se.deps===n&&(se.deps=s)}return n}trigger(t){this.version++,nn++,this.notify(t)}notify(t){xs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{Cs()}}}function ni(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)ni(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const ns=new WeakMap,St=Symbol(""),ss=Symbol(""),sn=Symbol("");function ge(e,t,n){if(De&&se){let s=ns.get(e);s||ns.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Ps),r.map=s,r.key=n),r.track()}}function nt(e,t,n,s,r,i){const o=ns.get(e);if(!o){nn++;return}const c=l=>{l&&l.trigger()};if(xs(),t==="clear")o.forEach(c);else{const l=V(e),h=l&&Es(n);if(l&&n==="length"){const a=Number(s);o.forEach((d,g)=>{(g==="length"||g===sn||!ze(g)&&g>=a)&&c(d)})}else switch((n!==void 0||o.has(void 0))&&c(o.get(n)),h&&c(o.get(sn)),t){case"add":l?h&&c(o.get("length")):(c(o.get(St)),Dt(e)&&c(o.get(ss)));break;case"delete":l||(c(o.get(St)),Dt(e)&&c(o.get(ss)));break;case"set":Dt(e)&&c(o.get(St));break}}Cs()}function Ot(e){const t=z(e);return t===e?t:(ge(t,"iterate",sn),Pe(e)?t:t.map(Me))}function Nn(e){return ge(e=z(e),"iterate",sn),e}function We(e,t){return ct(e)?Ft(Rt(e)?Me(t):t):Me(t)}const wo={__proto__:null,[Symbol.iterator](){return Gn(this,Symbol.iterator,e=>We(this,e))},concat(...e){return Ot(this).concat(...e.map(t=>V(t)?Ot(t):t))},entries(){return Gn(this,"entries",e=>(e[1]=We(this,e[1]),e))},every(e,t){return Xe(this,"every",e,t,void 0,arguments)},filter(e,t){return Xe(this,"filter",e,t,n=>n.map(s=>We(this,s)),arguments)},find(e,t){return Xe(this,"find",e,t,n=>We(this,n),arguments)},findIndex(e,t){return Xe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Xe(this,"findLast",e,t,n=>We(this,n),arguments)},findLastIndex(e,t){return Xe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Xe(this,"forEach",e,t,void 0,arguments)},includes(...e){return Kn(this,"includes",e)},indexOf(...e){return Kn(this,"indexOf",e)},join(e){return Ot(this).join(e)},lastIndexOf(...e){return Kn(this,"lastIndexOf",e)},map(e,t){return Xe(this,"map",e,t,void 0,arguments)},pop(){return Ut(this,"pop")},push(...e){return Ut(this,"push",e)},reduce(e,...t){return $s(this,"reduce",e,t)},reduceRight(e,...t){return $s(this,"reduceRight",e,t)},shift(){return Ut(this,"shift")},some(e,t){return Xe(this,"some",e,t,void 0,arguments)},splice(...e){return Ut(this,"splice",e)},toReversed(){return Ot(this).toReversed()},toSorted(e){return Ot(this).toSorted(e)},toSpliced(...e){return Ot(this).toSpliced(...e)},unshift(...e){return Ut(this,"unshift",e)},values(){return Gn(this,"values",e=>We(this,e))}};function Gn(e,t,n){const s=Nn(e),r=s[t]();return s!==e&&!Pe(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const xo=Array.prototype;function Xe(e,t,n,s,r,i){const o=Nn(e),c=o!==e&&!Pe(e),l=o[t];if(l!==xo[t]){const d=l.apply(e,i);return c?Me(d):d}let h=n;o!==e&&(c?h=function(d,g){return n.call(this,We(e,d),g,e)}:n.length>2&&(h=function(d,g){return n.call(this,d,g,e)}));const a=l.call(o,h,s);return c&&r?r(a):a}function $s(e,t,n,s){const r=Nn(e),i=r!==e&&!Pe(e);let o=n,c=!1;r!==e&&(i?(c=s.length===0,o=function(h,a,d){return c&&(c=!1,h=We(e,h)),n.call(this,h,We(e,a),d,e)}):n.length>3&&(o=function(h,a,d){return n.call(this,h,a,d,e)}));const l=r[t](o,...s);return c?We(e,l):l}function Kn(e,t,n){const s=z(e);ge(s,"iterate",sn);const r=s[t](...n);return(r===-1||r===!1)&&Ns(n[0])?(n[0]=z(n[0]),s[t](...n)):r}function Ut(e,t,n=[]){ot(),xs();const s=z(e)[t].apply(e,n);return Cs(),lt(),s}const Co=ys("__proto__,__v_isRef,__isVue"),si=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ze));function Oo(e){ze(e)||(e=String(e));const t=z(this);return ge(t,"has",e),t.hasOwnProperty(e)}class ri{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,i=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return i;if(n==="__v_raw")return s===(r?i?Bo:ci:i?li:oi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=V(t);if(!r){let l;if(o&&(l=wo[n]))return l;if(n==="hasOwnProperty")return Oo}const c=Reflect.get(t,n,_e(t)?t:s);if((ze(n)?si.has(n):Co(n))||(r||ge(t,"get",n),i))return c;if(_e(c)){const l=o&&Es(n)?c:c.value;return r&&X(l)?is(l):l}return X(c)?r?is(c):an(c):c}}class ii extends ri{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=V(t)&&Es(n);if(!this._isShallow){const h=ct(i);if(!Pe(s)&&!ct(s)&&(i=z(i),s=z(s)),!o&&_e(i)&&!_e(s))return h||(i.value=s),!0}const c=o?Number(n)<t.length:Q(t,n),l=Reflect.set(t,n,s,_e(t)?t:r);return t===z(r)&&(c?qe(s,i)&&nt(t,"set",n,s):nt(t,"add",n,s)),l}deleteProperty(t,n){const s=Q(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&nt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!ze(n)||!si.has(n))&&ge(t,"has",n),s}ownKeys(t){return ge(t,"iterate",V(t)?"length":St),Reflect.ownKeys(t)}}class Po extends ri{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const To=new ii,Io=new Po,No=new ii(!0);const rs=e=>e,hn=e=>Reflect.getPrototypeOf(e);function Do(e,t,n){return function(...s){const r=this.__v_raw,i=z(r),o=Dt(i),c=e==="entries"||e===Symbol.iterator&&o,l=e==="keys"&&o,h=r[e](...s),a=n?rs:t?Ft:Me;return!t&&ge(i,"iterate",l?ss:St),pe(Object.create(h),{next(){const{value:d,done:g}=h.next();return g?{value:d,done:g}:{value:c?[a(d[0]),a(d[1])]:a(d),done:g}}})}}function pn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Mo(e,t){const n={get(r){const i=this.__v_raw,o=z(i),c=z(r);e||(qe(r,c)&&ge(o,"get",r),ge(o,"get",c));const{has:l}=hn(o),h=t?rs:e?Ft:Me;if(l.call(o,r))return h(i.get(r));if(l.call(o,c))return h(i.get(c));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ge(z(r),"iterate",St),r.size},has(r){const i=this.__v_raw,o=z(i),c=z(r);return e||(qe(r,c)&&ge(o,"has",r),ge(o,"has",c)),r===c?i.has(r):i.has(r)||i.has(c)},forEach(r,i){const o=this,c=o.__v_raw,l=z(c),h=t?rs:e?Ft:Me;return!e&&ge(l,"iterate",St),c.forEach((a,d)=>r.call(i,h(a),h(d),o))}};return pe(n,e?{add:pn("add"),set:pn("set"),delete:pn("delete"),clear:pn("clear")}:{add(r){const i=z(this),o=hn(i),c=z(r),l=!t&&!Pe(r)&&!ct(r)?c:r;return o.has.call(i,l)||qe(r,l)&&o.has.call(i,r)||qe(c,l)&&o.has.call(i,c)||(i.add(l),nt(i,"add",l,l)),this},set(r,i){!t&&!Pe(i)&&!ct(i)&&(i=z(i));const o=z(this),{has:c,get:l}=hn(o);let h=c.call(o,r);h||(r=z(r),h=c.call(o,r));const a=l.call(o,r);return o.set(r,i),h?qe(i,a)&&nt(o,"set",r,i):nt(o,"add",r,i),this},delete(r){const i=z(this),{has:o,get:c}=hn(i);let l=o.call(i,r);l||(r=z(r),l=o.call(i,r)),c&&c.call(i,r);const h=i.delete(r);return l&&nt(i,"delete",r,void 0),h},clear(){const r=z(this),i=r.size!==0,o=r.clear();return i&&nt(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Do(r,e,t)}),n}function Ts(e,t){const n=Mo(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(Q(n,r)&&r in s?n:s,r,i)}const Lo={get:Ts(!1,!1)},Fo={get:Ts(!1,!0)},jo={get:Ts(!0,!1)};const oi=new WeakMap,li=new WeakMap,ci=new WeakMap,Bo=new WeakMap;function ko(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Vo(e){return e.__v_skip||!Object.isExtensible(e)?0:ko(ao(e))}function an(e){return ct(e)?e:Is(e,!1,To,Lo,oi)}function ui(e){return Is(e,!1,No,Fo,li)}function is(e){return Is(e,!0,Io,jo,ci)}function Is(e,t,n,s,r){if(!X(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Vo(e);if(i===0)return e;const o=r.get(e);if(o)return o;const c=new Proxy(e,i===2?s:n);return r.set(e,c),c}function Rt(e){return ct(e)?Rt(e.__v_raw):!!(e&&e.__v_isReactive)}function ct(e){return!!(e&&e.__v_isReadonly)}function Pe(e){return!!(e&&e.__v_isShallow)}function Ns(e){return e?!!e.__v_raw:!1}function z(e){const t=e&&e.__v_raw;return t?z(t):e}function Ho(e){return!Q(e,"__v_skip")&&Object.isExtensible(e)&&Wr(e,"__v_skip",!0),e}const Me=e=>X(e)?an(e):e,Ft=e=>X(e)?is(e):e;function _e(e){return e?e.__v_isRef===!0:!1}function ht(e){return ai(e,!1)}function Uo(e){return ai(e,!0)}function ai(e,t){return _e(e)?e:new Go(e,t)}class Go{constructor(t,n){this.dep=new Ps,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:z(t),this._value=n?t:Me(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Pe(t)||ct(t);t=s?t:z(t),qe(t,n)&&(this._rawValue=t,this._value=s?t:Me(t),this.dep.trigger())}}function rt(e){return _e(e)?e.value:e}const Ko={get:(e,t,n)=>t==="__v_raw"?e:rt(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return _e(r)&&!_e(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function fi(e){return Rt(e)?e:new Proxy(e,Ko)}class Wo{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Ps(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=nn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&se!==this)return Yr(this,!0),!0}get value(){const t=this.dep.track();return ei(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function $o(e,t,n=!1){let s,r;return G(e)?s=e:(s=e.get,r=e.set),new Wo(s,r,n)}const gn={},bn=new WeakMap;let bt;function qo(e,t=!1,n=bt){if(n){let s=bn.get(n);s||bn.set(n,s=[]),s.push(e)}}function Jo(e,t,n=te){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:c,call:l}=n,h=D=>r?D:Pe(D)||r===!1||r===0?st(D,1):st(D);let a,d,g,m,N=!1,w=!1;if(_e(e)?(d=()=>e.value,N=Pe(e)):Rt(e)?(d=()=>h(e),N=!0):V(e)?(w=!0,N=e.some(D=>Rt(D)||Pe(D)),d=()=>e.map(D=>{if(_e(D))return D.value;if(Rt(D))return h(D);if(G(D))return l?l(D,2):D()})):G(e)?t?d=l?()=>l(e,2):e:d=()=>{if(g){ot();try{g()}finally{lt()}}const D=bt;bt=a;try{return l?l(e,3,[m]):e(m)}finally{bt=D}}:d=Je,t&&r){const D=d,$=r===!0?1/0:r;d=()=>st(D(),$)}const P=So(),M=()=>{a.stop(),P&&P.active&&bs(P.effects,a)};if(i&&t){const D=t;t=(...$)=>{D(...$),M()}}let A=w?new Array(e.length).fill(gn):gn;const T=D=>{if(!(!(a.flags&1)||!a.dirty&&!D))if(t){const $=a.run();if(r||N||(w?$.some((ue,re)=>qe(ue,A[re])):qe($,A))){g&&g();const ue=bt;bt=a;try{const re=[$,A===gn?void 0:w&&A[0]===gn?[]:A,m];A=$,l?l(t,3,re):t(...re)}finally{bt=ue}}}else a.run()};return c&&c(T),a=new zr(d),a.scheduler=o?()=>o(T,!1):T,m=D=>qo(D,!1,a),g=a.onStop=()=>{const D=bn.get(a);if(D){if(l)l(D,4);else for(const $ of D)$();bn.delete(a)}},t?s?T(!0):A=a.run():o?o(T.bind(null,!0),!0):a.run(),M.pause=a.pause.bind(a),M.resume=a.resume.bind(a),M.stop=M,M}function st(e,t=1/0,n){if(t<=0||!X(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,_e(e))st(e.value,t,n);else if(V(e))for(let s=0;s<e.length;s++)st(e[s],t,n);else if(Vr(e)||Dt(e))e.forEach(s=>{st(s,t,n)});else if(Gr(e)){for(const s in e)st(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&st(e[s],t,n)}return e}/**
11
- * @vue/runtime-core v3.5.34
12
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
13
- * @license MIT
14
- **/function fn(e,t,n,s){try{return s?e(...s):e()}catch(r){Dn(r,t,n)}}function Qe(e,t,n,s){if(G(e)){const r=fn(e,t,n,s);return r&&Hr(r)&&r.catch(i=>{Dn(i,t,n)}),r}if(V(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Qe(e[i],t,n,s));return r}}function Dn(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||te;if(t){let c=t.parent;const l=t.proxy,h=`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const a=c.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,l,h)===!1)return}c=c.parent}if(i){ot(),fn(i,null,10,[e,l,h]),lt();return}}zo(e,n,r,s,o)}function zo(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const be=[];let Ke=-1;const Mt=[];let pt=null,Pt=0;const di=Promise.resolve();let En=null;function hi(e){const t=En||di;return e?t.then(this?e.bind(this):e):t}function Qo(e){let t=Ke+1,n=be.length;for(;t<n;){const s=t+n>>>1,r=be[s],i=rn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function Ds(e){if(!(e.flags&1)){const t=rn(e),n=be[be.length-1];!n||!(e.flags&2)&&t>=rn(n)?be.push(e):be.splice(Qo(t),0,e),e.flags|=1,pi()}}function pi(){En||(En=di.then(mi))}function Yo(e){V(e)?Mt.push(...e):pt&&e.id===-1?pt.splice(Pt+1,0,e):e.flags&1||(Mt.push(e),e.flags|=1),pi()}function qs(e,t,n=Ke+1){for(;n<be.length;n++){const s=be[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;be.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function gi(e){if(Mt.length){const t=[...new Set(Mt)].sort((n,s)=>rn(n)-rn(s));if(Mt.length=0,pt){pt.push(...t);return}for(pt=t,Pt=0;Pt<pt.length;Pt++){const n=pt[Pt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}pt=null,Pt=0}}const rn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function mi(e){try{for(Ke=0;Ke<be.length;Ke++){const t=be[Ke];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),fn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ke<be.length;Ke++){const t=be[Ke];t&&(t.flags&=-2)}Ke=-1,be.length=0,gi(),En=null,(be.length||Mt.length)&&mi()}}let Oe=null,_i=null;function Sn(e){const t=Oe;return Oe=e,_i=e&&e.type.__scopeId||null,t}function os(e,t=Oe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&wn(-1);const i=Sn(t);let o;try{o=e(...r)}finally{Sn(i),s._d&&wn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Xo(e,t){if(Oe===null)return e;const n=Bn(Oe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,c,l=te]=t[r];i&&(G(i)&&(i={mounted:i,updated:i}),i.deep&&st(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:c,modifiers:l}))}return e}function vt(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const c=r[o];i&&(c.oldValue=i[o].value);let l=c.dir[s];l&&(ot(),Qe(l,n,8,[e.el,c,e,t]),lt())}}function _n(e,t){if(Ee){let n=Ee.provides;const s=Ee.parent&&Ee.parent.provides;s===n&&(n=Ee.provides=Object.create(s)),n[e]=t}}function it(e,t,n=!1){const s=Yl();if(s||Lt){let r=Lt?Lt._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 Zo=Symbol.for("v-scx"),el=()=>it(Zo);function vn(e,t,n){return vi(e,t,n)}function vi(e,t,n=te){const{immediate:s,deep:r,flush:i,once:o}=n,c=pe({},n),l=t&&s||!t&&i!=="post";let h;if(ln){if(i==="sync"){const m=el();h=m.__watcherHandles||(m.__watcherHandles=[])}else if(!l){const m=()=>{};return m.stop=Je,m.resume=Je,m.pause=Je,m}}const a=Ee;c.call=(m,N,w)=>Qe(m,a,N,w);let d=!1;i==="post"?c.scheduler=m=>{Re(m,a&&a.suspense)}:i!=="sync"&&(d=!0,c.scheduler=(m,N)=>{N?m():Ds(m)}),c.augmentJob=m=>{t&&(m.flags|=4),d&&(m.flags|=2,a&&(m.id=a.uid,m.i=a))};const g=Jo(e,t,c);return ln&&(h?h.push(g):l&&g()),g}function tl(e,t,n){const s=this.proxy,r=oe(e)?e.includes(".")?yi(s,e):()=>s[e]:e.bind(s,s);let i;G(t)?i=t:(i=t.handler,n=t);const o=dn(this),c=vi(r,i.bind(s),n);return o(),c}function yi(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 nl=Symbol("_vte"),sl=e=>e.__isTeleport,rl=Symbol("_leaveCb");function Ms(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Ms(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 Mn(e,t){return G(e)?pe({name:e.name},t,{setup:e}):e}function bi(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Js(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Rn=new WeakMap;function Yt(e,t,n,s,r=!1){if(V(e)){e.forEach((w,P)=>Yt(w,t&&(V(t)?t[P]:t),n,s,r));return}if(Xt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Yt(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Bn(s.component):s.el,o=r?null:i,{i:c,r:l}=e,h=t&&t.r,a=c.refs===te?c.refs={}:c.refs,d=c.setupState,g=z(d),m=d===te?kr:w=>Js(a,w)?!1:Q(g,w),N=(w,P)=>!(P&&Js(a,P));if(h!=null&&h!==l){if(zs(t),oe(h))a[h]=null,m(h)&&(d[h]=null);else if(_e(h)){const w=t;N(h,w.k)&&(h.value=null),w.k&&(a[w.k]=null)}}if(G(l))fn(l,c,12,[o,a]);else{const w=oe(l),P=_e(l);if(w||P){const M=()=>{if(e.f){const A=w?m(l)?d[l]:a[l]:N()||!e.k?l.value:a[e.k];if(r)V(A)&&bs(A,i);else if(V(A))A.includes(i)||A.push(i);else if(w)a[l]=[i],m(l)&&(d[l]=a[l]);else{const T=[i];N(l,e.k)&&(l.value=T),e.k&&(a[e.k]=T)}}else w?(a[l]=o,m(l)&&(d[l]=o)):P&&(N(l,e.k)&&(l.value=o),e.k&&(a[e.k]=o))};if(o){const A=()=>{M(),Rn.delete(e)};A.id=-1,Rn.set(e,A),Re(A,n)}else zs(e),M()}}}function zs(e){const t=Rn.get(e);t&&(t.flags|=8,Rn.delete(e))}In().requestIdleCallback;In().cancelIdleCallback;const Xt=e=>!!e.type.__asyncLoader,Ei=e=>e.type.__isKeepAlive;function il(e,t){Si(e,"a",t)}function ol(e,t){Si(e,"da",t)}function Si(e,t,n=Ee){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ln(t,s,n),n){let r=n.parent;for(;r&&r.parent;)Ei(r.parent.vnode)&&ll(s,t,n,r),r=r.parent}}function ll(e,t,n,s){const r=Ln(t,e,s,!0);Ai(()=>{bs(s[t],r)},n)}function Ln(e,t,n=Ee,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{ot();const c=dn(n),l=Qe(t,n,e,o);return c(),lt(),l});return s?r.unshift(i):r.push(i),i}}const ut=e=>(t,n=Ee)=>{(!ln||e==="sp")&&Ln(e,(...s)=>t(...s),n)},cl=ut("bm"),Ri=ut("m"),ul=ut("bu"),al=ut("u"),fl=ut("bum"),Ai=ut("um"),dl=ut("sp"),hl=ut("rtg"),pl=ut("rtc");function gl(e,t=Ee){Ln("ec",e,t)}const ml=Symbol.for("v-ndc");function Qs(e,t,n,s){let r;const i=n,o=V(e);if(o||oe(e)){const c=o&&Rt(e);let l=!1,h=!1;c&&(l=!Pe(e),h=ct(e),e=Nn(e)),r=new Array(e.length);for(let a=0,d=e.length;a<d;a++)r[a]=t(l?h?Ft(Me(e[a])):Me(e[a]):e[a],a,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let c=0;c<e;c++)r[c]=t(c+1,c,void 0,i)}else if(X(e))if(e[Symbol.iterator])r=Array.from(e,(c,l)=>t(c,l,void 0,i));else{const c=Object.keys(e);r=new Array(c.length);for(let l=0,h=c.length;l<h;l++){const a=c[l];r[l]=t(e[a],a,l,i)}}else r=[];return r}const ls=e=>e?Ki(e)?Bn(e):ls(e.parent):null,Zt=pe(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=>ls(e.parent),$root:e=>ls(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>xi(e),$forceUpdate:e=>e.f||(e.f=()=>{Ds(e.update)}),$nextTick:e=>e.n||(e.n=hi.bind(e.proxy)),$watch:e=>tl.bind(e)}),Wn=(e,t)=>e!==te&&!e.__isScriptSetup&&Q(e,t),_l={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:c,appContext:l}=e;if(t[0]!=="$"){const g=o[t];if(g!==void 0)switch(g){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Wn(s,t))return o[t]=1,s[t];if(r!==te&&Q(r,t))return o[t]=2,r[t];if(Q(i,t))return o[t]=3,i[t];if(n!==te&&Q(n,t))return o[t]=4,n[t];cs&&(o[t]=0)}}const h=Zt[t];let a,d;if(h)return t==="$attrs"&&ge(e.attrs,"get",""),h(e);if((a=c.__cssModules)&&(a=a[t]))return a;if(n!==te&&Q(n,t))return o[t]=4,n[t];if(d=l.config.globalProperties,Q(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Wn(r,t)?(r[t]=n,!0):s!==te&&Q(s,t)?(s[t]=n,!0):Q(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:i,type:o}},c){let l;return!!(n[c]||e!==te&&c[0]!=="$"&&Q(e,c)||Wn(t,c)||Q(i,c)||Q(s,c)||Q(Zt,c)||Q(r.config.globalProperties,c)||(l=o.__cssModules)&&l[c])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:Q(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Ys(e){return V(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let cs=!0;function vl(e){const t=xi(e),n=e.proxy,s=e.ctx;cs=!1,t.beforeCreate&&Xs(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:c,provide:l,inject:h,created:a,beforeMount:d,mounted:g,beforeUpdate:m,updated:N,activated:w,deactivated:P,beforeDestroy:M,beforeUnmount:A,destroyed:T,unmounted:D,render:$,renderTracked:ue,renderTriggered:re,errorCaptured:H,serverPrefetch:U,expose:B,inheritAttrs:le,components:Fe,directives:je,filters:Vt}=t;if(h&&yl(h,s,null),o)for(const Z in o){const q=o[Z];G(q)&&(s[Z]=q.bind(n))}if(r){const Z=r.call(n,n);X(Z)&&(e.data=an(Z))}if(cs=!0,i)for(const Z in i){const q=i[Z],Ye=G(q)?q.bind(n,n):G(q.get)?q.get.bind(n,n):Je,at=!G(q)&&G(q.set)?q.set.bind(n):Je,Be=Ie({get:Ye,set:at});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>Be.value,set:Se=>Be.value=Se})}if(c)for(const Z in c)wi(c[Z],s,n,Z);if(l){const Z=G(l)?l.call(n):l;Reflect.ownKeys(Z).forEach(q=>{_n(q,Z[q])})}a&&Xs(a,e,"c");function fe(Z,q){V(q)?q.forEach(Ye=>Z(Ye.bind(n))):q&&Z(q.bind(n))}if(fe(cl,d),fe(Ri,g),fe(ul,m),fe(al,N),fe(il,w),fe(ol,P),fe(gl,H),fe(pl,ue),fe(hl,re),fe(fl,A),fe(Ai,D),fe(dl,U),V(B))if(B.length){const Z=e.exposed||(e.exposed={});B.forEach(q=>{Object.defineProperty(Z,q,{get:()=>n[q],set:Ye=>n[q]=Ye,enumerable:!0})})}else e.exposed||(e.exposed={});$&&e.render===Je&&(e.render=$),le!=null&&(e.inheritAttrs=le),Fe&&(e.components=Fe),je&&(e.directives=je),U&&bi(e)}function yl(e,t,n=Je){V(e)&&(e=us(e));for(const s in e){const r=e[s];let i;X(r)?"default"in r?i=it(r.from||s,r.default,!0):i=it(r.from||s):i=it(r),_e(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Xs(e,t,n){Qe(V(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function wi(e,t,n,s){let r=s.includes(".")?yi(n,s):()=>n[s];if(oe(e)){const i=t[e];G(i)&&vn(r,i)}else if(G(e))vn(r,e.bind(n));else if(X(e))if(V(e))e.forEach(i=>wi(i,t,n,s));else{const i=G(e.handler)?e.handler.bind(n):t[e.handler];G(i)&&vn(r,i,e)}}function xi(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,c=i.get(t);let l;return c?l=c:!r.length&&!n&&!s?l=t:(l={},r.length&&r.forEach(h=>An(l,h,o,!0)),An(l,t,o)),X(t)&&i.set(t,l),l}function An(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&An(e,i,n,!0),r&&r.forEach(o=>An(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const c=bl[o]||n&&n[o];e[o]=c?c(e[o],t[o]):t[o]}return e}const bl={data:Zs,props:er,emits:er,methods:$t,computed:$t,beforeCreate:ve,created:ve,beforeMount:ve,mounted:ve,beforeUpdate:ve,updated:ve,beforeDestroy:ve,beforeUnmount:ve,destroyed:ve,unmounted:ve,activated:ve,deactivated:ve,errorCaptured:ve,serverPrefetch:ve,components:$t,directives:$t,watch:Sl,provide:Zs,inject:El};function Zs(e,t){return t?e?function(){return pe(G(e)?e.call(this,this):e,G(t)?t.call(this,this):t)}:t:e}function El(e,t){return $t(us(e),us(t))}function us(e){if(V(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ve(e,t){return e?[...new Set([].concat(e,t))]:t}function $t(e,t){return e?pe(Object.create(null),e,t):t}function er(e,t){return e?V(e)&&V(t)?[...new Set([...e,...t])]:pe(Object.create(null),Ys(e),Ys(t??{})):t}function Sl(e,t){if(!e)return t;if(!t)return e;const n=pe(Object.create(null),e);for(const s in t)n[s]=ve(e[s],t[s]);return n}function Ci(){return{app:null,config:{isNativeTag:kr,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 Rl=0;function Al(e,t){return function(s,r=null){G(s)||(s=pe({},s)),r!=null&&!X(r)&&(r=null);const i=Ci(),o=new WeakSet,c=[];let l=!1;const h=i.app={_uid:Rl++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:sc,get config(){return i.config},set config(a){},use(a,...d){return o.has(a)||(a&&G(a.install)?(o.add(a),a.install(h,...d)):G(a)&&(o.add(a),a(h,...d))),h},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),h},component(a,d){return d?(i.components[a]=d,h):i.components[a]},directive(a,d){return d?(i.directives[a]=d,h):i.directives[a]},mount(a,d,g){if(!l){const m=h._ceVNode||me(s,r);return m.appContext=i,g===!0?g="svg":g===!1&&(g=void 0),e(m,a,g),l=!0,h._container=a,a.__vue_app__=h,Bn(m.component)}},onUnmount(a){c.push(a)},unmount(){l&&(Qe(c,h._instance,16),e(null,h._container),delete h._container.__vue_app__)},provide(a,d){return i.provides[a]=d,h},runWithContext(a){const d=Lt;Lt=h;try{return a()}finally{Lt=d}}};return h}}let Lt=null;const wl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ne(t)}Modifiers`]||e[`${At(t)}Modifiers`];function xl(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||te;let r=n;const i=t.startsWith("update:"),o=i&&wl(s,t.slice(7));o&&(o.trim&&(r=n.map(a=>oe(a)?a.trim():a)),o.number&&(r=n.map(Ss)));let c,l=s[c=Vn(t)]||s[c=Vn(Ne(t))];!l&&i&&(l=s[c=Vn(At(t))]),l&&Qe(l,e,6,r);const h=s[c+"Once"];if(h){if(!e.emitted)e.emitted={};else if(e.emitted[c])return;e.emitted[c]=!0,Qe(h,e,6,r)}}const Cl=new WeakMap;function Oi(e,t,n=!1){const s=n?Cl:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},c=!1;if(!G(e)){const l=h=>{const a=Oi(h,t,!0);a&&(c=!0,pe(o,a))};!n&&t.mixins.length&&t.mixins.forEach(l),e.extends&&l(e.extends),e.mixins&&e.mixins.forEach(l)}return!i&&!c?(X(e)&&s.set(e,null),null):(V(i)?i.forEach(l=>o[l]=null):pe(o,i),X(e)&&s.set(e,o),o)}function Fn(e,t){return!e||!On(t)?!1:(t=t.slice(2).replace(/Once$/,""),Q(e,t[0].toLowerCase()+t.slice(1))||Q(e,At(t))||Q(e,t))}function tr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:c,emit:l,render:h,renderCache:a,props:d,data:g,setupState:m,ctx:N,inheritAttrs:w}=e,P=Sn(e);let M,A;try{if(n.shapeFlag&4){const D=r||s,$=D;M=$e(h.call($,D,a,d,m,g,N)),A=c}else{const D=t;M=$e(D.length>1?D(d,{attrs:c,slots:o,emit:l}):D(d,null)),A=t.props?c:Ol(c)}}catch(D){en.length=0,Dn(D,e,1),M=me(mt)}let T=M;if(A&&w!==!1){const D=Object.keys(A),{shapeFlag:$}=T;D.length&&$&7&&(i&&D.some(Pn)&&(A=Pl(A,i)),T=jt(T,A,!1,!0))}return n.dirs&&(T=jt(T,null,!1,!0),T.dirs=T.dirs?T.dirs.concat(n.dirs):n.dirs),n.transition&&Ms(T,n.transition),M=T,Sn(P),M}const Ol=e=>{let t;for(const n in e)(n==="class"||n==="style"||On(n))&&((t||(t={}))[n]=e[n]);return t},Pl=(e,t)=>{const n={};for(const s in e)(!Pn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Tl(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:c,patchFlag:l}=t,h=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&l>=0){if(l&1024)return!0;if(l&16)return s?nr(s,o,h):!!o;if(l&8){const a=t.dynamicProps;for(let d=0;d<a.length;d++){const g=a[d];if(Pi(o,s,g)&&!Fn(h,g))return!0}}}else return(r||c)&&(!c||!c.$stable)?!0:s===o?!1:s?o?nr(s,o,h):!0:!!o;return!1}function nr(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 i=s[r];if(Pi(t,e,i)&&!Fn(n,i))return!0}return!1}function Pi(e,t,n){const s=e[n],r=t[n];return n==="style"&&X(s)&&X(r)?!ws(s,r):s!==r}function Il({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 Ti={},Ii=()=>Object.create(Ti),Ni=e=>Object.getPrototypeOf(e)===Ti;function Nl(e,t,n,s=!1){const r={},i=Ii();e.propsDefaults=Object.create(null),Di(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:ui(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Dl(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,c=z(r),[l]=e.propsOptions;let h=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let d=0;d<a.length;d++){let g=a[d];if(Fn(e.emitsOptions,g))continue;const m=t[g];if(l)if(Q(i,g))m!==i[g]&&(i[g]=m,h=!0);else{const N=Ne(g);r[N]=as(l,c,N,m,e,!1)}else m!==i[g]&&(i[g]=m,h=!0)}}}else{Di(e,t,r,i)&&(h=!0);let a;for(const d in c)(!t||!Q(t,d)&&((a=At(d))===d||!Q(t,a)))&&(l?n&&(n[d]!==void 0||n[a]!==void 0)&&(r[d]=as(l,c,d,void 0,e,!0)):delete r[d]);if(i!==c)for(const d in i)(!t||!Q(t,d))&&(delete i[d],h=!0)}h&&nt(e.attrs,"set","")}function Di(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,c;if(t)for(let l in t){if(Jt(l))continue;const h=t[l];let a;r&&Q(r,a=Ne(l))?!i||!i.includes(a)?n[a]=h:(c||(c={}))[a]=h:Fn(e.emitsOptions,l)||(!(l in s)||h!==s[l])&&(s[l]=h,o=!0)}if(i){const l=z(n),h=c||te;for(let a=0;a<i.length;a++){const d=i[a];n[d]=as(r,l,d,h[d],e,!Q(h,d))}}return o}function as(e,t,n,s,r,i){const o=e[n];if(o!=null){const c=Q(o,"default");if(c&&s===void 0){const l=o.default;if(o.type!==Function&&!o.skipFactory&&G(l)){const{propsDefaults:h}=r;if(n in h)s=h[n];else{const a=dn(r);s=h[n]=l.call(null,t),a()}}else s=l;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!c?s=!1:o[1]&&(s===""||s===At(n))&&(s=!0))}return s}const Ml=new WeakMap;function Mi(e,t,n=!1){const s=n?Ml:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},c=[];let l=!1;if(!G(e)){const a=d=>{l=!0;const[g,m]=Mi(d,t,!0);pe(o,g),m&&c.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!l)return X(e)&&s.set(e,Nt),Nt;if(V(i))for(let a=0;a<i.length;a++){const d=Ne(i[a]);sr(d)&&(o[d]=te)}else if(i)for(const a in i){const d=Ne(a);if(sr(d)){const g=i[a],m=o[d]=V(g)||G(g)?{type:g}:pe({},g),N=m.type;let w=!1,P=!0;if(V(N))for(let M=0;M<N.length;++M){const A=N[M],T=G(A)&&A.name;if(T==="Boolean"){w=!0;break}else T==="String"&&(P=!1)}else w=G(N)&&N.name==="Boolean";m[0]=w,m[1]=P,(w||Q(m,"default"))&&c.push(d)}}const h=[o,c];return X(e)&&s.set(e,h),h}function sr(e){return e[0]!=="$"&&!Jt(e)}const Ls=e=>e==="_"||e==="_ctx"||e==="$stable",Fs=e=>V(e)?e.map($e):[$e(e)],Ll=(e,t,n)=>{if(t._n)return t;const s=os((...r)=>Fs(t(...r)),n);return s._c=!1,s},Li=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Ls(r))continue;const i=e[r];if(G(i))t[r]=Ll(r,i,s);else if(i!=null){const o=Fs(i);t[r]=()=>o}}},Fi=(e,t)=>{const n=Fs(t);e.slots.default=()=>n},ji=(e,t,n)=>{for(const s in t)(n||!Ls(s))&&(e[s]=t[s])},Fl=(e,t,n)=>{const s=e.slots=Ii();if(e.vnode.shapeFlag&32){const r=t._;r?(ji(s,t,n),n&&Wr(s,"_",r,!0)):Li(t,s)}else t&&Fi(e,t)},jl=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=te;if(s.shapeFlag&32){const c=t._;c?n&&c===1?i=!1:ji(r,t,n):(i=!t.$stable,Li(t,r)),o=t}else t&&(Fi(e,t),o={default:1});if(i)for(const c in r)!Ls(c)&&o[c]==null&&delete r[c]},Re=Ul;function Bl(e){return kl(e)}function kl(e,t){const n=In();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:c,createComment:l,setText:h,setElementText:a,parentNode:d,nextSibling:g,setScopeId:m=Je,insertStaticContent:N}=e,w=(u,f,p,_=null,b=null,v=null,x=void 0,R=null,S=!!f.dynamicChildren)=>{if(u===f)return;u&&!Gt(u,f)&&(_=y(u),Se(u,b,v,!0),u=null),f.patchFlag===-2&&(S=!1,f.dynamicChildren=null);const{type:E,ref:j,shapeFlag:O}=f;switch(E){case jn:P(u,f,p,_);break;case mt:M(u,f,p,_);break;case qn:u==null&&A(f,p,_,x);break;case we:Fe(u,f,p,_,b,v,x,R,S);break;default:O&1?$(u,f,p,_,b,v,x,R,S):O&6?je(u,f,p,_,b,v,x,R,S):(O&64||O&128)&&E.process(u,f,p,_,b,v,x,R,S,L)}j!=null&&b?Yt(j,u&&u.ref,v,f||u,!f):j==null&&u&&u.ref!=null&&Yt(u.ref,null,v,u,!0)},P=(u,f,p,_)=>{if(u==null)s(f.el=c(f.children),p,_);else{const b=f.el=u.el;f.children!==u.children&&h(b,f.children)}},M=(u,f,p,_)=>{u==null?s(f.el=l(f.children||""),p,_):f.el=u.el},A=(u,f,p,_)=>{[u.el,u.anchor]=N(u.children,f,p,_,u.el,u.anchor)},T=({el:u,anchor:f},p,_)=>{let b;for(;u&&u!==f;)b=g(u),s(u,p,_),u=b;s(f,p,_)},D=({el:u,anchor:f})=>{let p;for(;u&&u!==f;)p=g(u),r(u),u=p;r(f)},$=(u,f,p,_,b,v,x,R,S)=>{if(f.type==="svg"?x="svg":f.type==="math"&&(x="mathml"),u==null)ue(f,p,_,b,v,x,R,S);else{const E=u.el&&u.el._isVueCE?u.el:null;try{E&&E._beginPatch(),U(u,f,b,v,x,R,S)}finally{E&&E._endPatch()}}},ue=(u,f,p,_,b,v,x,R)=>{let S,E;const{props:j,shapeFlag:O,transition:F,dirs:k}=u;if(S=u.el=o(u.type,v,j&&j.is,j),O&8?a(S,u.children):O&16&&H(u.children,S,null,_,b,$n(u,v),x,R),k&&vt(u,null,_,"created"),re(S,u,u.scopeId,x,_),j){for(const ee in j)ee!=="value"&&!Jt(ee)&&i(S,ee,null,j[ee],v,_);"value"in j&&i(S,"value",null,j.value,v),(E=j.onVnodeBeforeMount)&&Ue(E,_,u)}k&&vt(u,null,_,"beforeMount");const W=Vl(b,F);W&&F.beforeEnter(S),s(S,f,p),((E=j&&j.onVnodeMounted)||W||k)&&Re(()=>{try{E&&Ue(E,_,u),W&&F.enter(S),k&&vt(u,null,_,"mounted")}finally{}},b)},re=(u,f,p,_,b)=>{if(p&&m(u,p),_)for(let v=0;v<_.length;v++)m(u,_[v]);if(b){let v=b.subTree;if(f===v||Hi(v.type)&&(v.ssContent===f||v.ssFallback===f)){const x=b.vnode;re(u,x,x.scopeId,x.slotScopeIds,b.parent)}}},H=(u,f,p,_,b,v,x,R,S=0)=>{for(let E=S;E<u.length;E++){const j=u[E]=R?tt(u[E]):$e(u[E]);w(null,j,f,p,_,b,v,x,R)}},U=(u,f,p,_,b,v,x)=>{const R=f.el=u.el;let{patchFlag:S,dynamicChildren:E,dirs:j}=f;S|=u.patchFlag&16;const O=u.props||te,F=f.props||te;let k;if(p&&yt(p,!1),(k=F.onVnodeBeforeUpdate)&&Ue(k,p,f,u),j&&vt(f,u,p,"beforeUpdate"),p&&yt(p,!0),(O.innerHTML&&F.innerHTML==null||O.textContent&&F.textContent==null)&&a(R,""),E?B(u.dynamicChildren,E,R,p,_,$n(f,b),v):x||q(u,f,R,null,p,_,$n(f,b),v,!1),S>0){if(S&16)le(R,O,F,p,b);else if(S&2&&O.class!==F.class&&i(R,"class",null,F.class,b),S&4&&i(R,"style",O.style,F.style,b),S&8){const W=f.dynamicProps;for(let ee=0;ee<W.length;ee++){const ne=W[ee],ce=O[ne],de=F[ne];(de!==ce||ne==="value")&&i(R,ne,ce,de,b,p)}}S&1&&u.children!==f.children&&a(R,f.children)}else!x&&E==null&&le(R,O,F,p,b);((k=F.onVnodeUpdated)||j)&&Re(()=>{k&&Ue(k,p,f,u),j&&vt(f,u,p,"updated")},_)},B=(u,f,p,_,b,v,x)=>{for(let R=0;R<f.length;R++){const S=u[R],E=f[R],j=S.el&&(S.type===we||!Gt(S,E)||S.shapeFlag&198)?d(S.el):p;w(S,E,j,null,_,b,v,x,!0)}},le=(u,f,p,_,b)=>{if(f!==p){if(f!==te)for(const v in f)!Jt(v)&&!(v in p)&&i(u,v,f[v],null,b,_);for(const v in p){if(Jt(v))continue;const x=p[v],R=f[v];x!==R&&v!=="value"&&i(u,v,R,x,b,_)}"value"in p&&i(u,"value",f.value,p.value,b)}},Fe=(u,f,p,_,b,v,x,R,S)=>{const E=f.el=u?u.el:c(""),j=f.anchor=u?u.anchor:c("");let{patchFlag:O,dynamicChildren:F,slotScopeIds:k}=f;k&&(R=R?R.concat(k):k),u==null?(s(E,p,_),s(j,p,_),H(f.children||[],p,j,b,v,x,R,S)):O>0&&O&64&&F&&u.dynamicChildren&&u.dynamicChildren.length===F.length?(B(u.dynamicChildren,F,p,b,v,x,R),(f.key!=null||b&&f===b.subTree)&&Bi(u,f,!0)):q(u,f,p,j,b,v,x,R,S)},je=(u,f,p,_,b,v,x,R,S)=>{f.slotScopeIds=R,u==null?f.shapeFlag&512?b.ctx.activate(f,p,_,x,S):Vt(f,p,_,b,v,x,S):wt(u,f,S)},Vt=(u,f,p,_,b,v,x)=>{const R=u.component=Ql(u,_,b);if(Ei(u)&&(R.ctx.renderer=L),Xl(R,!1,x),R.asyncDep){if(b&&b.registerDep(R,fe,x),!u.el){const S=R.subTree=me(mt);M(null,S,f,p),u.placeholder=S.el}}else fe(R,u,f,p,b,v,x)},wt=(u,f,p)=>{const _=f.component=u.component;if(Tl(u,f,p))if(_.asyncDep&&!_.asyncResolved){Z(_,f,p);return}else _.next=f,_.update();else f.el=u.el,_.vnode=f},fe=(u,f,p,_,b,v,x)=>{const R=()=>{if(u.isMounted){let{next:O,bu:F,u:k,parent:W,vnode:ee}=u;{const Ve=ki(u);if(Ve){O&&(O.el=ee.el,Z(u,O,x)),Ve.asyncDep.then(()=>{Re(()=>{u.isUnmounted||E()},b)});return}}let ne=O,ce;yt(u,!1),O?(O.el=ee.el,Z(u,O,x)):O=ee,F&&mn(F),(ce=O.props&&O.props.onVnodeBeforeUpdate)&&Ue(ce,W,O,ee),yt(u,!0);const de=tr(u),ke=u.subTree;u.subTree=de,w(ke,de,d(ke.el),y(ke),u,b,v),O.el=de.el,ne===null&&Il(u,de.el),k&&Re(k,b),(ce=O.props&&O.props.onVnodeUpdated)&&Re(()=>Ue(ce,W,O,ee),b)}else{let O;const{el:F,props:k}=f,{bm:W,m:ee,parent:ne,root:ce,type:de}=u,ke=Xt(f);yt(u,!1),W&&mn(W),!ke&&(O=k&&k.onVnodeBeforeMount)&&Ue(O,ne,f),yt(u,!0);{ce.ce&&ce.ce._hasShadowRoot()&&ce.ce._injectChildStyle(de,u.parent?u.parent.type:void 0);const Ve=u.subTree=tr(u);w(null,Ve,p,_,u,b,v),f.el=Ve.el}if(ee&&Re(ee,b),!ke&&(O=k&&k.onVnodeMounted)){const Ve=f;Re(()=>Ue(O,ne,Ve),b)}(f.shapeFlag&256||ne&&Xt(ne.vnode)&&ne.vnode.shapeFlag&256)&&u.a&&Re(u.a,b),u.isMounted=!0,f=p=_=null}};u.scope.on();const S=u.effect=new zr(R);u.scope.off();const E=u.update=S.run.bind(S),j=u.job=S.runIfDirty.bind(S);j.i=u,j.id=u.uid,S.scheduler=()=>Ds(j),yt(u,!0),E()},Z=(u,f,p)=>{f.component=u;const _=u.vnode.props;u.vnode=f,u.next=null,Dl(u,f.props,_,p),jl(u,f.children,p),ot(),qs(u),lt()},q=(u,f,p,_,b,v,x,R,S=!1)=>{const E=u&&u.children,j=u?u.shapeFlag:0,O=f.children,{patchFlag:F,shapeFlag:k}=f;if(F>0){if(F&128){at(E,O,p,_,b,v,x,R,S);return}else if(F&256){Ye(E,O,p,_,b,v,x,R,S);return}}k&8?(j&16&&Ce(E,b,v),O!==E&&a(p,O)):j&16?k&16?at(E,O,p,_,b,v,x,R,S):Ce(E,b,v,!0):(j&8&&a(p,""),k&16&&H(O,p,_,b,v,x,R,S))},Ye=(u,f,p,_,b,v,x,R,S)=>{u=u||Nt,f=f||Nt;const E=u.length,j=f.length,O=Math.min(E,j);let F;for(F=0;F<O;F++){const k=f[F]=S?tt(f[F]):$e(f[F]);w(u[F],k,p,null,b,v,x,R,S)}E>j?Ce(u,b,v,!0,!1,O):H(f,p,_,b,v,x,R,S,O)},at=(u,f,p,_,b,v,x,R,S)=>{let E=0;const j=f.length;let O=u.length-1,F=j-1;for(;E<=O&&E<=F;){const k=u[E],W=f[E]=S?tt(f[E]):$e(f[E]);if(Gt(k,W))w(k,W,p,null,b,v,x,R,S);else break;E++}for(;E<=O&&E<=F;){const k=u[O],W=f[F]=S?tt(f[F]):$e(f[F]);if(Gt(k,W))w(k,W,p,null,b,v,x,R,S);else break;O--,F--}if(E>O){if(E<=F){const k=F+1,W=k<j?f[k].el:_;for(;E<=F;)w(null,f[E]=S?tt(f[E]):$e(f[E]),p,W,b,v,x,R,S),E++}}else if(E>F)for(;E<=O;)Se(u[E],b,v,!0),E++;else{const k=E,W=E,ee=new Map;for(E=W;E<=F;E++){const Ae=f[E]=S?tt(f[E]):$e(f[E]);Ae.key!=null&&ee.set(Ae.key,E)}let ne,ce=0;const de=F-W+1;let ke=!1,Ve=0;const Ht=new Array(de);for(E=0;E<de;E++)Ht[E]=0;for(E=k;E<=O;E++){const Ae=u[E];if(ce>=de){Se(Ae,b,v,!0);continue}let He;if(Ae.key!=null)He=ee.get(Ae.key);else for(ne=W;ne<=F;ne++)if(Ht[ne-W]===0&&Gt(Ae,f[ne])){He=ne;break}He===void 0?Se(Ae,b,v,!0):(Ht[He-W]=E+1,He>=Ve?Ve=He:ke=!0,w(Ae,f[He],p,null,b,v,x,R,S),ce++)}const Vs=ke?Hl(Ht):Nt;for(ne=Vs.length-1,E=de-1;E>=0;E--){const Ae=W+E,He=f[Ae],Hs=f[Ae+1],Us=Ae+1<j?Hs.el||Vi(Hs):_;Ht[E]===0?w(null,He,p,Us,b,v,x,R,S):ke&&(ne<0||E!==Vs[ne]?Be(He,p,Us,2):ne--)}}},Be=(u,f,p,_,b=null)=>{const{el:v,type:x,transition:R,children:S,shapeFlag:E}=u;if(E&6){Be(u.component.subTree,f,p,_);return}if(E&128){u.suspense.move(f,p,_);return}if(E&64){x.move(u,f,p,L);return}if(x===we){s(v,f,p);for(let O=0;O<S.length;O++)Be(S[O],f,p,_);s(u.anchor,f,p);return}if(x===qn){T(u,f,p);return}if(_!==2&&E&1&&R)if(_===0)R.beforeEnter(v),s(v,f,p),Re(()=>R.enter(v),b);else{const{leave:O,delayLeave:F,afterLeave:k}=R,W=()=>{u.ctx.isUnmounted?r(v):s(v,f,p)},ee=()=>{v._isLeaving&&v[rl](!0),O(v,()=>{W(),k&&k()})};F?F(v,W,ee):ee()}else s(v,f,p)},Se=(u,f,p,_=!1,b=!1)=>{const{type:v,props:x,ref:R,children:S,dynamicChildren:E,shapeFlag:j,patchFlag:O,dirs:F,cacheIndex:k,memo:W}=u;if(O===-2&&(b=!1),R!=null&&(ot(),Yt(R,null,p,u,!0),lt()),k!=null&&(f.renderCache[k]=void 0),j&256){f.ctx.deactivate(u);return}const ee=j&1&&F,ne=!Xt(u);let ce;if(ne&&(ce=x&&x.onVnodeBeforeUnmount)&&Ue(ce,f,u),j&6)_t(u.component,p,_);else{if(j&128){u.suspense.unmount(p,_);return}ee&&vt(u,null,f,"beforeUnmount"),j&64?u.type.remove(u,f,p,L,_):E&&!E.hasOnce&&(v!==we||O>0&&O&64)?Ce(E,f,p,!1,!0):(v===we&&O&384||!b&&j&16)&&Ce(S,f,p),_&&xt(u)}const de=W!=null&&k==null;(ne&&(ce=x&&x.onVnodeUnmounted)||ee||de)&&Re(()=>{ce&&Ue(ce,f,u),ee&&vt(u,null,f,"unmounted"),de&&(u.el=null)},p)},xt=u=>{const{type:f,el:p,anchor:_,transition:b}=u;if(f===we){Ct(p,_);return}if(f===qn){D(u);return}const v=()=>{r(p),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(u.shapeFlag&1&&b&&!b.persisted){const{leave:x,delayLeave:R}=b,S=()=>x(p,v);R?R(u.el,v,S):S()}else v()},Ct=(u,f)=>{let p;for(;u!==f;)p=g(u),r(u),u=p;r(f)},_t=(u,f,p)=>{const{bum:_,scope:b,job:v,subTree:x,um:R,m:S,a:E}=u;rr(S),rr(E),_&&mn(_),b.stop(),v&&(v.flags|=8,Se(x,u,f,p)),R&&Re(R,f),Re(()=>{u.isUnmounted=!0},f)},Ce=(u,f,p,_=!1,b=!1,v=0)=>{for(let x=v;x<u.length;x++)Se(u[x],f,p,_,b)},y=u=>{if(u.shapeFlag&6)return y(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=g(u.anchor||u.el),p=f&&f[nl];return p?g(p):f};let I=!1;const C=(u,f,p)=>{let _;u==null?f._vnode&&(Se(f._vnode,null,null,!0),_=f._vnode.component):w(f._vnode||null,u,f,null,null,null,p),f._vnode=u,I||(I=!0,qs(_),gi(),I=!1)},L={p:w,um:Se,m:Be,r:xt,mt:Vt,mc:H,pc:q,pbc:B,n:y,o:e};return{render:C,hydrate:void 0,createApp:Al(C)}}function $n({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 yt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Vl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Bi(e,t,n=!1){const s=e.children,r=t.children;if(V(s)&&V(r))for(let i=0;i<s.length;i++){const o=s[i];let c=r[i];c.shapeFlag&1&&!c.dynamicChildren&&((c.patchFlag<=0||c.patchFlag===32)&&(c=r[i]=tt(r[i]),c.el=o.el),!n&&c.patchFlag!==-2&&Bi(o,c)),c.type===jn&&(c.patchFlag===-1&&(c=r[i]=tt(c)),c.el=o.el),c.type===mt&&!c.el&&(c.el=o.el)}}function Hl(e){const t=e.slice(),n=[0];let s,r,i,o,c;const l=e.length;for(s=0;s<l;s++){const h=e[s];if(h!==0){if(r=n[n.length-1],e[r]<h){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)c=i+o>>1,e[n[c]]<h?i=c+1:o=c;h<e[n[i]]&&(i>0&&(t[s]=n[i-1]),n[i]=s)}}for(i=n.length,o=n[i-1];i-- >0;)n[i]=o,o=t[o];return n}function ki(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ki(t)}function rr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Vi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Vi(t.subTree):null}const Hi=e=>e.__isSuspense;function Ul(e,t){t&&t.pendingBranch?V(e)?t.effects.push(...e):t.effects.push(e):Yo(e)}const we=Symbol.for("v-fgt"),jn=Symbol.for("v-txt"),mt=Symbol.for("v-cmt"),qn=Symbol.for("v-stc"),en=[];let xe=null;function Te(e=!1){en.push(xe=e?null:[])}function Gl(){en.pop(),xe=en[en.length-1]||null}let on=1;function wn(e,t=!1){on+=e,e<0&&xe&&t&&(xe.hasOnce=!0)}function Ui(e){return e.dynamicChildren=on>0?xe||Nt:null,Gl(),on>0&&xe&&xe.push(e),e}function Ge(e,t,n,s,r,i){return Ui(Y(e,t,n,s,r,i,!0))}function Kl(e,t,n,s,r){return Ui(me(e,t,n,s,r,!0))}function xn(e){return e?e.__v_isVNode===!0:!1}function Gt(e,t){return e.type===t.type&&e.key===t.key}const Gi=({key:e})=>e??null,yn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?oe(e)||_e(e)||G(e)?{i:Oe,r:e,k:t,f:!!n}:e:null);function Y(e,t=null,n=null,s=0,r=null,i=e===we?0:1,o=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Gi(t),ref:t&&yn(t),scopeId:_i,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Oe};return c?(js(l,n),i&128&&e.normalize(l)):n&&(l.shapeFlag|=oe(n)?8:16),on>0&&!o&&xe&&(l.patchFlag>0||i&6)&&l.patchFlag!==32&&xe.push(l),l}const me=Wl;function Wl(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===ml)&&(e=mt),xn(e)){const c=jt(e,t,!0);return n&&js(c,n),on>0&&!i&&xe&&(c.shapeFlag&6?xe[xe.indexOf(e)]=c:xe.push(c)),c.patchFlag=-2,c}if(nc(e)&&(e=e.__vccOpts),t){t=$l(t);let{class:c,style:l}=t;c&&!oe(c)&&(t.class=As(c)),X(l)&&(Ns(l)&&!V(l)&&(l=pe({},l)),t.style=Rs(l))}const o=oe(e)?1:Hi(e)?128:sl(e)?64:X(e)?4:G(e)?2:0;return Y(e,t,n,s,r,o,i,!0)}function $l(e){return e?Ns(e)||Ni(e)?pe({},e):e:null}function jt(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:c,transition:l}=e,h=t?ql(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:h,key:h&&Gi(h),ref:t&&t.ref?n&&i?V(i)?i.concat(yn(t)):[i,yn(t)]:yn(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:c,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==we?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,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 l&&s&&Ms(a,l.clone(a)),a}function fs(e=" ",t=0){return me(jn,null,e,t)}function Kt(e="",t=!1){return t?(Te(),Kl(mt,null,e)):me(mt,null,e)}function $e(e){return e==null||typeof e=="boolean"?me(mt):V(e)?me(we,null,e.slice()):xn(e)?tt(e):me(jn,null,String(e))}function tt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:jt(e)}function js(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(V(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),js(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ni(t)?t._ctx=Oe:r===3&&Oe&&(Oe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else G(t)?(t={default:t,_ctx:Oe},n=32):(t=String(t),s&64?(n=16,t=[fs(t)]):n=8);e.children=t,e.shapeFlag|=n}function ql(...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=As([t.class,s.class]));else if(r==="style")t.style=Rs([t.style,s.style]);else if(On(r)){const i=t[r],o=s[r];o&&i!==o&&!(V(i)&&i.includes(o))?t[r]=i?[].concat(i,o):o:o==null&&i==null&&!Pn(r)&&(t[r]=o)}else r!==""&&(t[r]=s[r])}return t}function Ue(e,t,n,s=null){Qe(e,t,7,[n,s])}const Jl=Ci();let zl=0;function Ql(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Jl,i={uid:zl++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Eo(!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:Mi(s,r),emitsOptions:Oi(s,r),emit:null,emitted:null,propsDefaults:te,inheritAttrs:s.inheritAttrs,ctx:te,data:te,props:te,attrs:te,slots:te,refs:te,setupState:te,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return i.ctx={_:i},i.root=t?t.root:i,i.emit=xl.bind(null,i),e.ce&&e.ce(i),i}let Ee=null;const Yl=()=>Ee||Oe;let Cn,ds;{const e=In(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};Cn=t("__VUE_INSTANCE_SETTERS__",n=>Ee=n),ds=t("__VUE_SSR_SETTERS__",n=>ln=n)}const dn=e=>{const t=Ee;return Cn(e),e.scope.on(),()=>{e.scope.off(),Cn(t)}},ir=()=>{Ee&&Ee.scope.off(),Cn(null)};function Ki(e){return e.vnode.shapeFlag&4}let ln=!1;function Xl(e,t=!1,n=!1){t&&ds(t);const{props:s,children:r}=e.vnode,i=Ki(e);Nl(e,s,i,t),Fl(e,r,n||t);const o=i?Zl(e,t):void 0;return t&&ds(!1),o}function Zl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_l);const{setup:s}=n;if(s){ot();const r=e.setupContext=s.length>1?tc(e):null,i=dn(e),o=fn(s,e,0,[e.props,r]),c=Hr(o);if(lt(),i(),(c||e.sp)&&!Xt(e)&&bi(e),c){if(o.then(ir,ir),t)return o.then(l=>{or(e,l)}).catch(l=>{Dn(l,e,0)});e.asyncDep=o}else or(e,o)}else Wi(e)}function or(e,t,n){G(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:X(t)&&(e.setupState=fi(t)),Wi(e)}function Wi(e,t,n){const s=e.type;e.render||(e.render=s.render||Je);{const r=dn(e);ot();try{vl(e)}finally{lt(),r()}}}const ec={get(e,t){return ge(e,"get",""),e[t]}};function tc(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,ec),slots:e.slots,emit:e.emit,expose:t}}function Bn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(fi(Ho(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Zt)return Zt[n](e)},has(t,n){return n in t||n in Zt}})):e.proxy}function nc(e){return G(e)&&"__vccOpts"in e}const Ie=(e,t)=>$o(e,t,ln);function $i(e,t,n){try{wn(-1);const s=arguments.length;return s===2?X(t)&&!V(t)?xn(t)?me(e,null,[t]):me(e,t):me(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&xn(n)&&(n=[n]),me(e,t,n))}finally{wn(1)}}const sc="3.5.34";/**
15
- * @vue/runtime-dom v3.5.34
16
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
17
- * @license MIT
18
- **/let hs;const lr=typeof window<"u"&&window.trustedTypes;if(lr)try{hs=lr.createPolicy("vue",{createHTML:e=>e})}catch{}const qi=hs?e=>hs.createHTML(e):e=>e,rc="http://www.w3.org/2000/svg",ic="http://www.w3.org/1998/Math/MathML",et=typeof document<"u"?document:null,cr=et&&et.createElement("template"),oc={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"?et.createElementNS(rc,e):t==="mathml"?et.createElementNS(ic,e):n?et.createElement(e,{is:n}):et.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>et.createTextNode(e),createComment:e=>et.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>et.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,i){const o=n?n.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===i||!(r=r.nextSibling)););else{cr.innerHTML=qi(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const c=cr.content;if(s==="svg"||s==="mathml"){const l=c.firstChild;for(;l.firstChild;)c.appendChild(l.firstChild);c.removeChild(l)}t.insertBefore(c,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},lc=Symbol("_vtc");function cc(e,t,n){const s=e[lc];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ur=Symbol("_vod"),uc=Symbol("_vsh"),ac=Symbol(""),fc=/(?:^|;)\s*display\s*:/;function dc(e,t,n){const s=e.style,r=oe(n);let i=!1;if(n&&!r){if(t)if(oe(t))for(const o of t.split(";")){const c=o.slice(0,o.indexOf(":")).trim();n[c]==null&&qt(s,c,"")}else for(const o in t)n[o]==null&&qt(s,o,"");for(const o in n){o==="display"&&(i=!0);const c=n[o];c!=null?pc(e,o,!oe(t)&&t?t[o]:void 0,c)||qt(s,o,c):qt(s,o,"")}}else if(r){if(t!==n){const o=s[ac];o&&(n+=";"+o),s.cssText=n,i=fc.test(n)}}else t&&e.removeAttribute("style");ur in e&&(e[ur]=i?s.display:"",e[uc]&&(s.display="none"))}const ar=/\s*!important$/;function qt(e,t,n){if(V(n))n.forEach(s=>qt(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=hc(e,t);ar.test(n)?e.setProperty(At(s),n.replace(ar,""),"important"):e[s]=n}}const fr=["Webkit","Moz","ms"],Jn={};function hc(e,t){const n=Jn[t];if(n)return n;let s=Ne(t);if(s!=="filter"&&s in e)return Jn[t]=s;s=Kr(s);for(let r=0;r<fr.length;r++){const i=fr[r]+s;if(i in e)return Jn[t]=i}return t}function pc(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&oe(s)&&n===s}const dr="http://www.w3.org/1999/xlink";function hr(e,t,n,s,r,i=yo(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(dr,t.slice(6,t.length)):e.setAttributeNS(dr,t,n):n==null||i&&!$r(n)?e.removeAttribute(t):e.setAttribute(t,i?"":ze(n)?String(n):n)}function pr(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?qi(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const c=i==="OPTION"?e.getAttribute("value")||"":e.value,l=n==null?e.type==="checkbox"?"on":"":String(n);(c!==l||!("_value"in e))&&(e.value=l),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const c=typeof e[t];c==="boolean"?n=$r(n):n==null&&c==="string"?(n="",o=!0):c==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function Tt(e,t,n,s){e.addEventListener(t,n,s)}function gc(e,t,n,s){e.removeEventListener(t,n,s)}const gr=Symbol("_vei");function mc(e,t,n,s,r=null){const i=e[gr]||(e[gr]={}),o=i[t];if(s&&o)o.value=s;else{const[c,l]=_c(t);if(s){const h=i[t]=bc(s,r);Tt(e,c,h,l)}else o&&(gc(e,c,o,l),i[t]=void 0)}}const mr=/(?:Once|Passive|Capture)$/;function _c(e){let t;if(mr.test(e)){t={};let s;for(;s=e.match(mr);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):At(e.slice(2)),t]}let zn=0;const vc=Promise.resolve(),yc=()=>zn||(vc.then(()=>zn=0),zn=Date.now());function bc(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Qe(Ec(s,n.value),t,5,[s])};return n.value=e,n.attached=yc(),n}function Ec(e,t){if(V(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>r=>!r._stopped&&s&&s(r))}else return t}const _r=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Sc=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?cc(e,s,o):t==="style"?dc(e,n,s):On(t)?Pn(t)||mc(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Rc(e,t,s,o))?(pr(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&hr(e,t,s,o,i,t!=="value")):e._isVueCE&&(Ac(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!oe(s)))?pr(e,Ne(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),hr(e,t,s,o))};function Rc(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&_r(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 _r(t)&&oe(n)?!1:t in e}function Ac(e,t){const n=e._def.props;if(!n)return!1;const s=Ne(t);return Array.isArray(n)?n.some(r=>Ne(r)===s):Object.keys(n).some(r=>Ne(r)===s)}const vr=e=>{const t=e.props["onUpdate:modelValue"]||!1;return V(t)?n=>mn(t,n):t};function wc(e){e.target.composing=!0}function yr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Qn=Symbol("_assign");function br(e,t,n){return t&&(e=e.trim()),n&&(e=Ss(e)),e}const xc={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[Qn]=vr(r);const i=s||r.props&&r.props.type==="number";Tt(e,t?"change":"input",o=>{o.target.composing||e[Qn](br(e.value,n,i))}),(n||i)&&Tt(e,"change",()=>{e.value=br(e.value,n,i)}),t||(Tt(e,"compositionstart",wc),Tt(e,"compositionend",yr),Tt(e,"change",yr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[Qn]=vr(o),e.composing)return;const c=(i||e.type==="number")&&!/^0\d/.test(e.value)?Ss(e.value):e.value,l=t??"";if(c===l)return;const h=e.getRootNode();(h instanceof Document||h instanceof ShadowRoot)&&h.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===l)||(e.value=l)}},Cc=pe({patchProp:Sc},oc);let Er;function Oc(){return Er||(Er=Bl(Cc))}const Pc=(...e)=>{const t=Oc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Ic(s);if(!r)return;const i=t._component;!G(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,Tc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function Tc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Ic(e){return oe(e)?document.querySelector(e):e}/*!
19
- * vue-router v4.6.4
20
- * (c) 2025 Eduardo San Martin Morote
21
- * @license MIT
22
- */const It=typeof document<"u";function Ji(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Nc(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ji(e.default)}const J=Object.assign;function Yn(e,t){const n={};for(const s in t){const r=t[s];n[s]=Le(r)?r.map(e):e(r)}return n}const tn=()=>{},Le=Array.isArray;function Sr(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const zi=/#/g,Dc=/&/g,Mc=/\//g,Lc=/=/g,Fc=/\?/g,Qi=/\+/g,jc=/%5B/g,Bc=/%5D/g,Yi=/%5E/g,kc=/%60/g,Xi=/%7B/g,Vc=/%7C/g,Zi=/%7D/g,Hc=/%20/g;function Bs(e){return e==null?"":encodeURI(""+e).replace(Vc,"|").replace(jc,"[").replace(Bc,"]")}function Uc(e){return Bs(e).replace(Xi,"{").replace(Zi,"}").replace(Yi,"^")}function ps(e){return Bs(e).replace(Qi,"%2B").replace(Hc,"+").replace(zi,"%23").replace(Dc,"%26").replace(kc,"`").replace(Xi,"{").replace(Zi,"}").replace(Yi,"^")}function Gc(e){return ps(e).replace(Lc,"%3D")}function Kc(e){return Bs(e).replace(zi,"%23").replace(Fc,"%3F")}function Wc(e){return Kc(e).replace(Mc,"%2F")}function cn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const $c=/\/$/,qc=e=>e.replace($c,"");function Xn(e,t,n="/"){let s,r={},i="",o="";const c=t.indexOf("#");let l=t.indexOf("?");return l=c>=0&&l>c?-1:l,l>=0&&(s=t.slice(0,l),i=t.slice(l,c>0?c:t.length),r=e(i.slice(1))),c>=0&&(s=s||t.slice(0,c),o=t.slice(c,t.length)),s=Yc(s??t,n),{fullPath:s+i+o,path:s,query:r,hash:cn(o)}}function Jc(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Rr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function zc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Bt(t.matched[s],n.matched[r])&&eo(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Bt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function eo(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Qc(e[n],t[n]))return!1;return!0}function Qc(e,t){return Le(e)?Ar(e,t):Le(t)?Ar(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function Ar(e,t){return Le(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Yc(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 i=n.length-1,o,c;for(o=0;o<s.length;o++)if(c=s[o],c!==".")if(c==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const ft={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let gs=function(e){return e.pop="pop",e.push="push",e}({}),Zn=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Xc(e){if(!e)if(It){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),qc(e)}const Zc=/^[^#]+#/;function eu(e,t){return e.replace(Zc,"#")+t}function tu(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 kn=()=>({left:window.scrollX,top:window.scrollY});function nu(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=tu(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 wr(e,t){return(history.state?history.state.position-t:-1)+e}const ms=new Map;function su(e,t){ms.set(e,t)}function ru(e){const t=ms.get(e);return ms.delete(e),t}function iu(e){return typeof e=="string"||e&&typeof e=="object"}function to(e){return typeof e=="string"||typeof e=="symbol"}let ie=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 no=Symbol("");ie.MATCHER_NOT_FOUND+"",ie.NAVIGATION_GUARD_REDIRECT+"",ie.NAVIGATION_ABORTED+"",ie.NAVIGATION_CANCELLED+"",ie.NAVIGATION_DUPLICATED+"";function kt(e,t){return J(new Error,{type:e,[no]:!0},t)}function Ze(e,t){return e instanceof Error&&no in e&&(t==null||!!(e.type&t))}const ou=["params","query","hash"];function lu(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of ou)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function cu(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(Qi," "),i=r.indexOf("="),o=cn(i<0?r:r.slice(0,i)),c=i<0?null:cn(r.slice(i+1));if(o in t){let l=t[o];Le(l)||(l=t[o]=[l]),l.push(c)}else t[o]=c}return t}function xr(e){let t="";for(let n in e){const s=e[n];if(n=Gc(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Le(s)?s.map(r=>r&&ps(r)):[s&&ps(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function uu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Le(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const au=Symbol(""),Cr=Symbol(""),ks=Symbol(""),so=Symbol(""),_s=Symbol("");function Wt(){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 gt(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((c,l)=>{const h=g=>{g===!1?l(kt(ie.NAVIGATION_ABORTED,{from:n,to:t})):g instanceof Error?l(g):iu(g)?l(kt(ie.NAVIGATION_GUARD_REDIRECT,{from:t,to:g})):(o&&s.enterCallbacks[r]===o&&typeof g=="function"&&o.push(g),c())},a=i(()=>e.call(s&&s.instances[r],t,n,h));let d=Promise.resolve(a);e.length<3&&(d=d.then(h)),d.catch(g=>l(g))})}function es(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const c in o.components){let l=o.components[c];if(!(t!=="beforeRouteEnter"&&!o.instances[c]))if(Ji(l)){const h=(l.__vccOpts||l)[t];h&&i.push(gt(h,n,s,o,c,r))}else{let h=l();i.push(()=>h.then(a=>{if(!a)throw new Error(`Couldn't resolve component "${c}" at "${o.path}"`);const d=Nc(a)?a.default:a;o.mods[c]=a,o.components[c]=d;const g=(d.__vccOpts||d)[t];return g&&gt(g,n,s,o,c,r)()}))}}return i}function fu(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const c=t.matched[o];c&&(e.matched.find(h=>Bt(h,c))?s.push(c):n.push(c));const l=e.matched[o];l&&(t.matched.find(h=>Bt(h,l))||r.push(l))}return[n,s,r]}/*!
23
- * vue-router v4.6.4
24
- * (c) 2025 Eduardo San Martin Morote
25
- * @license MIT
26
- */let du=()=>location.protocol+"//"+location.host;function ro(e,t){const{pathname:n,search:s,hash:r}=t,i=e.indexOf("#");if(i>-1){let o=r.includes(e.slice(i))?e.slice(i).length:1,c=r.slice(o);return c[0]!=="/"&&(c="/"+c),Rr(c,"")}return Rr(n,e)+s+r}function hu(e,t,n,s){let r=[],i=[],o=null;const c=({state:g})=>{const m=ro(e,location),N=n.value,w=t.value;let P=0;if(g){if(n.value=m,t.value=g,o&&o===N){o=null;return}P=w?g.position-w.position:0}else s(m);r.forEach(M=>{M(n.value,N,{delta:P,type:gs.pop,direction:P?P>0?Zn.forward:Zn.back:Zn.unknown})})};function l(){o=n.value}function h(g){r.push(g);const m=()=>{const N=r.indexOf(g);N>-1&&r.splice(N,1)};return i.push(m),m}function a(){if(document.visibilityState==="hidden"){const{history:g}=window;if(!g.state)return;g.replaceState(J({},g.state,{scroll:kn()}),"")}}function d(){for(const g of i)g();i=[],window.removeEventListener("popstate",c),window.removeEventListener("pagehide",a),document.removeEventListener("visibilitychange",a)}return window.addEventListener("popstate",c),window.addEventListener("pagehide",a),document.addEventListener("visibilitychange",a),{pauseListeners:l,listen:h,destroy:d}}function Or(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?kn():null}}function pu(e){const{history:t,location:n}=window,s={value:ro(e,n)},r={value:t.state};r.value||i(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function i(l,h,a){const d=e.indexOf("#"),g=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+l:du()+e+l;try{t[a?"replaceState":"pushState"](h,"",g),r.value=h}catch(m){console.error(m),n[a?"replace":"assign"](g)}}function o(l,h){i(l,J({},t.state,Or(r.value.back,l,r.value.forward,!0),h,{position:r.value.position}),!0),s.value=l}function c(l,h){const a=J({},r.value,t.state,{forward:l,scroll:kn()});i(a.current,a,!0),i(l,J({},Or(s.value,l,null),{position:a.position+1},h),!1),s.value=l}return{location:s,state:r,push:c,replace:o}}function gu(e){e=Xc(e);const t=pu(e),n=hu(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=J({location:"",base:e,go:s,createHref:eu.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 Et=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var ae=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}(ae||{});const mu={type:Et.Static,value:""},_u=/[a-zA-Z0-9_]/;function vu(e){if(!e)return[[]];if(e==="/")return[[mu]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${h}": ${m}`)}let n=ae.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let c=0,l,h="",a="";function d(){h&&(n===ae.Static?i.push({type:Et.Static,value:h}):n===ae.Param||n===ae.ParamRegExp||n===ae.ParamRegExpEnd?(i.length>1&&(l==="*"||l==="+")&&t(`A repeatable param (${h}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Et.Param,value:h,regexp:a,repeatable:l==="*"||l==="+",optional:l==="*"||l==="?"})):t("Invalid state to consume buffer"),h="")}function g(){h+=l}for(;c<e.length;){if(l=e[c++],l==="\\"&&n!==ae.ParamRegExp){s=n,n=ae.EscapeNext;continue}switch(n){case ae.Static:l==="/"?(h&&d(),o()):l===":"?(d(),n=ae.Param):g();break;case ae.EscapeNext:g(),n=s;break;case ae.Param:l==="("?n=ae.ParamRegExp:_u.test(l)?g():(d(),n=ae.Static,l!=="*"&&l!=="?"&&l!=="+"&&c--);break;case ae.ParamRegExp:l===")"?a[a.length-1]=="\\"?a=a.slice(0,-1)+l:n=ae.ParamRegExpEnd:a+=l;break;case ae.ParamRegExpEnd:d(),n=ae.Static,l!=="*"&&l!=="?"&&l!=="+"&&c--,a="";break;default:t("Unknown state");break}}return n===ae.ParamRegExp&&t(`Unfinished custom RegExp for param "${h}"`),d(),o(),r}const Pr="[^/]+?",yu={sensitive:!1,strict:!1,start:!0,end:!0};var ye=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}(ye||{});const bu=/[.+*?^${}()[\]/\\]/g;function Eu(e,t){const n=J({},yu,t),s=[];let r=n.start?"^":"";const i=[];for(const h of e){const a=h.length?[]:[ye.Root];n.strict&&!h.length&&(r+="/");for(let d=0;d<h.length;d++){const g=h[d];let m=ye.Segment+(n.sensitive?ye.BonusCaseSensitive:0);if(g.type===Et.Static)d||(r+="/"),r+=g.value.replace(bu,"\\$&"),m+=ye.Static;else if(g.type===Et.Param){const{value:N,repeatable:w,optional:P,regexp:M}=g;i.push({name:N,repeatable:w,optional:P});const A=M||Pr;if(A!==Pr){m+=ye.BonusCustomRegExp;try{`${A}`}catch(D){throw new Error(`Invalid custom RegExp for param "${N}" (${A}): `+D.message)}}let T=w?`((?:${A})(?:/(?:${A}))*)`:`(${A})`;d||(T=P&&h.length<2?`(?:/${T})`:"/"+T),P&&(T+="?"),r+=T,m+=ye.Dynamic,P&&(m+=ye.BonusOptional),w&&(m+=ye.BonusRepeatable),A===".*"&&(m+=ye.BonusWildcard)}a.push(m)}s.push(a)}if(n.strict&&n.end){const h=s.length-1;s[h][s[h].length-1]+=ye.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function c(h){const a=h.match(o),d={};if(!a)return null;for(let g=1;g<a.length;g++){const m=a[g]||"",N=i[g-1];d[N.name]=m&&N.repeatable?m.split("/"):m}return d}function l(h){let a="",d=!1;for(const g of e){(!d||!a.endsWith("/"))&&(a+="/"),d=!1;for(const m of g)if(m.type===Et.Static)a+=m.value;else if(m.type===Et.Param){const{value:N,repeatable:w,optional:P}=m,M=N in h?h[N]:"";if(Le(M)&&!w)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const A=Le(M)?M.join("/"):M;if(!A)if(P)g.length<2&&(a.endsWith("/")?a=a.slice(0,-1):d=!0);else throw new Error(`Missing required param "${N}"`);a+=A}}return a||"/"}return{re:o,score:s,keys:i,parse:c,stringify:l}}function Su(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]===ye.Static+ye.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===ye.Static+ye.Segment?1:-1:0}function io(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=Su(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(Tr(s))return 1;if(Tr(r))return-1}return r.length-s.length}function Tr(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Ru={strict:!1,end:!0,sensitive:!1};function Au(e,t,n){const s=Eu(vu(e.path),n),r=J(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function wu(e,t){const n=[],s=new Map;t=Sr(Ru,t);function r(d){return s.get(d)}function i(d,g,m){const N=!m,w=Nr(d);w.aliasOf=m&&m.record;const P=Sr(t,d),M=[w];if("alias"in d){const D=typeof d.alias=="string"?[d.alias]:d.alias;for(const $ of D)M.push(Nr(J({},w,{components:m?m.record.components:w.components,path:$,aliasOf:m?m.record:w})))}let A,T;for(const D of M){const{path:$}=D;if(g&&$[0]!=="/"){const ue=g.record.path,re=ue[ue.length-1]==="/"?"":"/";D.path=g.record.path+($&&re+$)}if(A=Au(D,g,P),m?m.alias.push(A):(T=T||A,T!==A&&T.alias.push(A),N&&d.name&&!Dr(A)&&o(d.name)),oo(A)&&l(A),w.children){const ue=w.children;for(let re=0;re<ue.length;re++)i(ue[re],A,m&&m.children[re])}m=m||A}return T?()=>{o(T)}:tn}function o(d){if(to(d)){const g=s.get(d);g&&(s.delete(d),n.splice(n.indexOf(g),1),g.children.forEach(o),g.alias.forEach(o))}else{const g=n.indexOf(d);g>-1&&(n.splice(g,1),d.record.name&&s.delete(d.record.name),d.children.forEach(o),d.alias.forEach(o))}}function c(){return n}function l(d){const g=Ou(d,n);n.splice(g,0,d),d.record.name&&!Dr(d)&&s.set(d.record.name,d)}function h(d,g){let m,N={},w,P;if("name"in d&&d.name){if(m=s.get(d.name),!m)throw kt(ie.MATCHER_NOT_FOUND,{location:d});P=m.record.name,N=J(Ir(g.params,m.keys.filter(T=>!T.optional).concat(m.parent?m.parent.keys.filter(T=>T.optional):[]).map(T=>T.name)),d.params&&Ir(d.params,m.keys.map(T=>T.name))),w=m.stringify(N)}else if(d.path!=null)w=d.path,m=n.find(T=>T.re.test(w)),m&&(N=m.parse(w),P=m.record.name);else{if(m=g.name?s.get(g.name):n.find(T=>T.re.test(g.path)),!m)throw kt(ie.MATCHER_NOT_FOUND,{location:d,currentLocation:g});P=m.record.name,N=J({},g.params,d.params),w=m.stringify(N)}const M=[];let A=m;for(;A;)M.unshift(A.record),A=A.parent;return{name:P,path:w,params:N,matched:M,meta:Cu(M)}}e.forEach(d=>i(d));function a(){n.length=0,s.clear()}return{addRoute:i,resolve:h,removeRoute:o,clearRoutes:a,getRoutes:c,getRecordMatcher:r}}function Ir(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Nr(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:xu(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 xu(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 Dr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Cu(e){return e.reduce((t,n)=>J(t,n.meta),{})}function Ou(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;io(e,t[i])<0?s=i:n=i+1}const r=Pu(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Pu(e){let t=e;for(;t=t.parent;)if(oo(t)&&io(e,t)===0)return t}function oo({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Mr(e){const t=it(ks),n=it(so),s=Ie(()=>{const l=rt(e.to);return t.resolve(l)}),r=Ie(()=>{const{matched:l}=s.value,{length:h}=l,a=l[h-1],d=n.matched;if(!a||!d.length)return-1;const g=d.findIndex(Bt.bind(null,a));if(g>-1)return g;const m=Lr(l[h-2]);return h>1&&Lr(a)===m&&d[d.length-1].path!==m?d.findIndex(Bt.bind(null,l[h-2])):g}),i=Ie(()=>r.value>-1&&Du(n.params,s.value.params)),o=Ie(()=>r.value>-1&&r.value===n.matched.length-1&&eo(n.params,s.value.params));function c(l={}){if(Nu(l)){const h=t[rt(e.replace)?"replace":"push"](rt(e.to)).catch(tn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>h),h}return Promise.resolve()}return{route:s,href:Ie(()=>s.value.href),isActive:i,isExactActive:o,navigate:c}}function Tu(e){return e.length===1?e[0]:e}const Iu=Mn({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:Mr,setup(e,{slots:t}){const n=an(Mr(e)),{options:s}=it(ks),r=Ie(()=>({[Fr(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[Fr(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Tu(t.default(n));return e.custom?i:$i("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),vs=Iu;function Nu(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 Du(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(!Le(r)||r.length!==s.length||s.some((i,o)=>i.valueOf()!==r[o].valueOf()))return!1}return!0}function Lr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Fr=(e,t,n)=>e??t??n,Mu=Mn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=it(_s),r=Ie(()=>e.route||s.value),i=it(Cr,0),o=Ie(()=>{let h=rt(i);const{matched:a}=r.value;let d;for(;(d=a[h])&&!d.components;)h++;return h}),c=Ie(()=>r.value.matched[o.value]);_n(Cr,Ie(()=>o.value+1)),_n(au,c),_n(_s,r);const l=ht();return vn(()=>[l.value,c.value,e.name],([h,a,d],[g,m,N])=>{a&&(a.instances[d]=h,m&&m!==a&&h&&h===g&&(a.leaveGuards.size||(a.leaveGuards=m.leaveGuards),a.updateGuards.size||(a.updateGuards=m.updateGuards))),h&&a&&(!m||!Bt(a,m)||!g)&&(a.enterCallbacks[d]||[]).forEach(w=>w(h))},{flush:"post"}),()=>{const h=r.value,a=e.name,d=c.value,g=d&&d.components[a];if(!g)return jr(n.default,{Component:g,route:h});const m=d.props[a],N=m?m===!0?h.params:typeof m=="function"?m(h):m:null,P=$i(g,J({},N,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(d.instances[a]=null)},ref:l}));return jr(n.default,{Component:P,route:h})||P}}});function jr(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const lo=Mu;function Lu(e){const t=wu(e.routes,e),n=e.parseQuery||cu,s=e.stringifyQuery||xr,r=e.history,i=Wt(),o=Wt(),c=Wt(),l=Uo(ft);let h=ft;It&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const a=Yn.bind(null,y=>""+y),d=Yn.bind(null,Wc),g=Yn.bind(null,cn);function m(y,I){let C,L;return to(y)?(C=t.getRecordMatcher(y),L=I):L=y,t.addRoute(L,C)}function N(y){const I=t.getRecordMatcher(y);I&&t.removeRoute(I)}function w(){return t.getRoutes().map(y=>y.record)}function P(y){return!!t.getRecordMatcher(y)}function M(y,I){if(I=J({},I||l.value),typeof y=="string"){const p=Xn(n,y,I.path),_=t.resolve({path:p.path},I),b=r.createHref(p.fullPath);return J(p,_,{params:g(_.params),hash:cn(p.hash),redirectedFrom:void 0,href:b})}let C;if(y.path!=null)C=J({},y,{path:Xn(n,y.path,I.path).path});else{const p=J({},y.params);for(const _ in p)p[_]==null&&delete p[_];C=J({},y,{params:d(p)}),I.params=d(I.params)}const L=t.resolve(C,I),K=y.hash||"";L.params=a(g(L.params));const u=Jc(s,J({},y,{hash:Uc(K),path:L.path})),f=r.createHref(u);return J({fullPath:u,hash:K,query:s===xr?uu(y.query):y.query||{}},L,{redirectedFrom:void 0,href:f})}function A(y){return typeof y=="string"?Xn(n,y,l.value.path):J({},y)}function T(y,I){if(h!==y)return kt(ie.NAVIGATION_CANCELLED,{from:I,to:y})}function D(y){return re(y)}function $(y){return D(J(A(y),{replace:!0}))}function ue(y,I){const C=y.matched[y.matched.length-1];if(C&&C.redirect){const{redirect:L}=C;let K=typeof L=="function"?L(y,I):L;return typeof K=="string"&&(K=K.includes("?")||K.includes("#")?K=A(K):{path:K},K.params={}),J({query:y.query,hash:y.hash,params:K.path!=null?{}:y.params},K)}}function re(y,I){const C=h=M(y),L=l.value,K=y.state,u=y.force,f=y.replace===!0,p=ue(C,L);if(p)return re(J(A(p),{state:typeof p=="object"?J({},K,p.state):K,force:u,replace:f}),I||C);const _=C;_.redirectedFrom=I;let b;return!u&&zc(s,L,C)&&(b=kt(ie.NAVIGATION_DUPLICATED,{to:_,from:L}),Be(L,L,!0,!1)),(b?Promise.resolve(b):B(_,L)).catch(v=>Ze(v)?Ze(v,ie.NAVIGATION_GUARD_REDIRECT)?v:at(v):q(v,_,L)).then(v=>{if(v){if(Ze(v,ie.NAVIGATION_GUARD_REDIRECT))return re(J({replace:f},A(v.to),{state:typeof v.to=="object"?J({},K,v.to.state):K,force:u}),I||_)}else v=Fe(_,L,!0,f,K);return le(_,L,v),v})}function H(y,I){const C=T(y,I);return C?Promise.reject(C):Promise.resolve()}function U(y){const I=Ct.values().next().value;return I&&typeof I.runWithContext=="function"?I.runWithContext(y):y()}function B(y,I){let C;const[L,K,u]=fu(y,I);C=es(L.reverse(),"beforeRouteLeave",y,I);for(const p of L)p.leaveGuards.forEach(_=>{C.push(gt(_,y,I))});const f=H.bind(null,y,I);return C.push(f),Ce(C).then(()=>{C=[];for(const p of i.list())C.push(gt(p,y,I));return C.push(f),Ce(C)}).then(()=>{C=es(K,"beforeRouteUpdate",y,I);for(const p of K)p.updateGuards.forEach(_=>{C.push(gt(_,y,I))});return C.push(f),Ce(C)}).then(()=>{C=[];for(const p of u)if(p.beforeEnter)if(Le(p.beforeEnter))for(const _ of p.beforeEnter)C.push(gt(_,y,I));else C.push(gt(p.beforeEnter,y,I));return C.push(f),Ce(C)}).then(()=>(y.matched.forEach(p=>p.enterCallbacks={}),C=es(u,"beforeRouteEnter",y,I,U),C.push(f),Ce(C))).then(()=>{C=[];for(const p of o.list())C.push(gt(p,y,I));return C.push(f),Ce(C)}).catch(p=>Ze(p,ie.NAVIGATION_CANCELLED)?p:Promise.reject(p))}function le(y,I,C){c.list().forEach(L=>U(()=>L(y,I,C)))}function Fe(y,I,C,L,K){const u=T(y,I);if(u)return u;const f=I===ft,p=It?history.state:{};C&&(L||f?r.replace(y.fullPath,J({scroll:f&&p&&p.scroll},K)):r.push(y.fullPath,K)),l.value=y,Be(y,I,C,f),at()}let je;function Vt(){je||(je=r.listen((y,I,C)=>{if(!_t.listening)return;const L=M(y),K=ue(L,_t.currentRoute.value);if(K){re(J(K,{replace:!0,force:!0}),L).catch(tn);return}h=L;const u=l.value;It&&su(wr(u.fullPath,C.delta),kn()),B(L,u).catch(f=>Ze(f,ie.NAVIGATION_ABORTED|ie.NAVIGATION_CANCELLED)?f:Ze(f,ie.NAVIGATION_GUARD_REDIRECT)?(re(J(A(f.to),{force:!0}),L).then(p=>{Ze(p,ie.NAVIGATION_ABORTED|ie.NAVIGATION_DUPLICATED)&&!C.delta&&C.type===gs.pop&&r.go(-1,!1)}).catch(tn),Promise.reject()):(C.delta&&r.go(-C.delta,!1),q(f,L,u))).then(f=>{f=f||Fe(L,u,!1),f&&(C.delta&&!Ze(f,ie.NAVIGATION_CANCELLED)?r.go(-C.delta,!1):C.type===gs.pop&&Ze(f,ie.NAVIGATION_ABORTED|ie.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),le(L,u,f)}).catch(tn)}))}let wt=Wt(),fe=Wt(),Z;function q(y,I,C){at(y);const L=fe.list();return L.length?L.forEach(K=>K(y,I,C)):console.error(y),Promise.reject(y)}function Ye(){return Z&&l.value!==ft?Promise.resolve():new Promise((y,I)=>{wt.add([y,I])})}function at(y){return Z||(Z=!y,Vt(),wt.list().forEach(([I,C])=>y?C(y):I()),wt.reset()),y}function Be(y,I,C,L){const{scrollBehavior:K}=e;if(!It||!K)return Promise.resolve();const u=!C&&ru(wr(y.fullPath,0))||(L||!C)&&history.state&&history.state.scroll||null;return hi().then(()=>K(y,I,u)).then(f=>f&&nu(f)).catch(f=>q(f,y,I))}const Se=y=>r.go(y);let xt;const Ct=new Set,_t={currentRoute:l,listening:!0,addRoute:m,removeRoute:N,clearRoutes:t.clearRoutes,hasRoute:P,getRoutes:w,resolve:M,options:e,push:D,replace:$,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:i.add,beforeResolve:o.add,afterEach:c.add,onError:fe.add,isReady:Ye,install(y){y.component("RouterLink",vs),y.component("RouterView",lo),y.config.globalProperties.$router=_t,Object.defineProperty(y.config.globalProperties,"$route",{enumerable:!0,get:()=>rt(l)}),It&&!xt&&l.value===ft&&(xt=!0,D(r.location).catch(L=>{}));const I={};for(const L in ft)Object.defineProperty(I,L,{get:()=>l.value[L],enumerable:!0});y.provide(ks,_t),y.provide(so,ui(I)),y.provide(_s,l);const C=y.unmount;Ct.add(y),y.unmount=function(){Ct.delete(y),Ct.size<1&&(h=ft,je&&je(),je=null,l.value=ft,xt=!1,Z=!1),C()}}};function Ce(y){return y.reduce((I,C)=>I.then(()=>U(C)),Promise.resolve())}return _t}const Fu={class:"app-header"},ju={class:"header-left"},Bu={class:"app-nav"},ku=["aria-label"],Vu=Mn({__name:"App",setup(e){const t=ht("light");function n(r){t.value=r,document.documentElement.dataset.theme=r,localStorage.setItem("waelio-theme",r)}function s(){n(t.value==="light"?"dark":"light")}return Ri(()=>{const r=localStorage.getItem("waelio-theme"),i=window.matchMedia("(prefers-color-scheme: dark)").matches;n(r??(i?"dark":"light"))}),(r,i)=>(Te(),Ge(we,null,[Y("header",Fu,[Y("div",ju,[i[2]||(i[2]=Y("h1",{class:"app-title"},"waelio/cli",-1)),Y("nav",Bu,[me(rt(vs),{to:"/"},{default:os(()=>[...i[0]||(i[0]=[fs("Scaffold",-1)])]),_:1}),me(rt(vs),{to:"/public"},{default:os(()=>[...i[1]||(i[1]=[fs("Public Sites",-1)])]),_:1})])]),Y("button",{type:"button",class:"theme-toggle","aria-label":t.value==="light"?"Switch to dark mode":"Switch to light mode",onClick:s},dt(t.value==="light"?"Dark":"Light"),9,ku)]),me(rt(lo))],64))}}),co=(e,t)=>{const n=e.__vccOpts||e;for(const[s,r]of t)n[s]=r;return n},Hu=co(Vu,[["__scopeId","data-v-190e145e"]]),Uu="modulepreload",Gu=function(e){return"/"+e},Br={},Ku=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),c=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(n.map(l=>{if(l=Gu(l),l in Br)return;Br[l]=!0;const h=l.endsWith(".css"),a=h?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${l}"]${a}`))return;const d=document.createElement("link");if(d.rel=h?"stylesheet":Uu,h||(d.as="script"),d.crossOrigin="",d.href=l,c&&d.setAttribute("nonce",c),document.head.appendChild(d),h)return new Promise((g,m)=>{d.addEventListener("load",g),d.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${l}`)))})}))}function i(o){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=o,window.dispatchEvent(c),!c.defaultPrevented)throw o}return r.then(o=>{for(const c of o||[])c.status==="rejected"&&i(c.reason);return t().catch(i)})},Wu={class:"app-main"},$u={class:"group","aria-labelledby":"group-project"},qu={class:"check",style:{"flex-direction":"column","align-items":"stretch"}},Ju=["aria-labelledby"],zu=["id"],Qu={class:"group-list"},Yu={class:"check"},Xu=["checked","disabled","onChange"],Zu={key:0,class:"required-tag"},ea={class:"app-footer"},ta={class:"actions"},na=["disabled"],sa=["disabled"],ra=["disabled"],ia=["disabled"],oa=["disabled"],la={key:0,class:"preview"},ca={key:1,class:"build-status"},ua={class:"build-state"},aa={key:0,class:"preview"},fa={key:1,class:"preview"},da=Mn({__name:"ScaffoldView",setup(e){const t=[{key:"pages",title:"Pages",required:["Contact","Privacy","Terms & Conditions","Login"],items:["Home","About","Services","Pricing","Contact","FAQ","Blog","Catalog","Product Detail","Cart","Checkout","Account","Dashboard","Booking","Practitioners","Docs","Login","Privacy","Terms & Conditions"]},{key:"features",title:"Features",required:["SEO","Authentication","Publishing","Brand Assets","CASL Permissions","Local Database","NativeScript Ready"],items:["SEO","Analytics","Authentication","Billing","Search","Booking","Notifications","Customer Portal","Lead Capture","Case Studies","Blog","Payments","Customer Accounts","Knowledge Base","Admin Dashboard","Content Management","Publishing","Brand Assets","CASL Permissions","Local Database","NativeScript Ready"]},{key:"integrations",title:"Integrations",items:["Stripe","CRM","Email & SMS","Analytics"]},{key:"locales",title:"Locales",items:["en","ar","de","es","fr","he","id","it","ru","sv","tr","zh"]},{key:"roles",title:"Roles",items:["Admin","Editor","Operations","Support","Sales","Reception","Dentist","Hygienist"]},{key:"brandTones",title:"Brand tone",items:["Trustworthy","Bold","Premium","Friendly"]},{key:"visualStyles",title:"Visual style",items:["Premium Editorial","Friendly Clinical"]},{key:"contentModels",title:"Content model",items:["Service pages + blog","Catalog + editorial"]},{key:"seoFocuses",title:"SEO focus",items:["Local + service intent","Transactional intent"]}],n=an(Object.fromEntries(t.map(H=>[H.key,new Set(H.required??[])])));function s(H,U){const B=n[H];B&&(B.has(U)?B.delete(U):B.add(U))}function r(H,U){var B;return((B=H.required)==null?void 0:B.includes(U))??!1}function i(H,U){var B;return((B=n[H])==null?void 0:B.has(U))??!1}const o=ht(""),c=ht(!1),l=ht("");function h(H){return H.toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/^-+|-+$/g,"")||"site"}const a={pages:"selectedPages",features:"selectedFeatures",integrations:"selectedIntegrations",locales:"selectedLocales",roles:"selectedRoles",brandTones:"selectedBrandTones",visualStyles:"selectedVisualStyles",contentModels:"selectedContentModels",seoFocuses:"selectedSEOFocuses"};function d(){const H={};for(const le of t){const Fe=a[le.key]??le.key;H[Fe]=Array.from(n[le.key]??[])}const U=l.value.trim(),B={$schema:"https://waelio.dev/schemas/blueprint/v1.json",generator:{name:"waelio-cli",version:"0.1.2",url:"https://github.com/waelio/cli"},id:crypto.randomUUID(),createdAt:new Date().toISOString(),projectName:U||"Siteforge Project",slug:h(U||"Siteforge Project"),selections:H};o.value=JSON.stringify(B,null,2),c.value=!1}function g(){o.value||d(),c.value=!0}function m(){o.value||d();const H=new Blob([o.value],{type:"application/json"}),U=URL.createObjectURL(H),B=document.createElement("a");B.href=U,B.download="blueprint.json",B.click(),URL.revokeObjectURL(U)}const N="https://siteforge.wahbehw.workers.dev",w="/api/scaffold",P=ht("idle"),M=ht([]),A=ht("");function T(H){M.value.push(`[${new Date().toLocaleTimeString()}] ${H}`)}async function D(){if(!l.value.trim()){T("error: project name is required"),P.value="error";return}d(),M.value=[],A.value="",P.value="sending",T(`POST ${w}`);try{const H=await fetch(w,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({blueprint:JSON.parse(o.value)})});if(!H.ok){const B=await H.text();T(`error: ${H.status} ${B}`),P.value="error";return}const U=await H.json();A.value=JSON.stringify(U,null,2),P.value="done",T(`scaffolded "${U.slug}" at ${U.outDir}`)}catch(H){T(`network error: ${H.message}`),P.value="error"}}async function $(){if(!l.value.trim()){T("error: project name is required"),P.value="error";return}d(),M.value=[],A.value="",P.value="sending";const H=`${N}/public-sites/`;T(`POST webhook to ${H}`);try{const U=await fetch(H,{method:"POST",headers:{"Content-Type":"application/json"},body:o.value});if(!U.ok){const le=await U.text();T(`webhook error: ${U.status} ${le}`),P.value="error";return}const B=await U.json();A.value=JSON.stringify(B,null,2),P.value="done",T(`Success! Live at: ${N}${B.url}`)}catch(U){T(`webhook network error: ${U.message}`),P.value="error"}}async function ue(){if(!A.value)return;const H=new Blob([A.value],{type:"application/json"}),U=URL.createObjectURL(H),B=document.createElement("a");B.href=U,B.download="siteforge-package.json",B.click(),URL.revokeObjectURL(U),await $()}function re(){for(const H of t)n[H.key]=new Set(H.required??[]);l.value="",o.value="",c.value=!1,M.value=[],A.value="",P.value="idle"}return(H,U)=>(Te(),Ge(we,null,[Y("main",Wu,[Y("section",$u,[U[2]||(U[2]=Y("h2",{id:"group-project",class:"group-title"},"Project",-1)),Y("label",qu,[U[1]||(U[1]=Y("span",null,"Name",-1)),Xo(Y("input",{"onUpdate:modelValue":U[0]||(U[0]=B=>l.value=B),type:"text",placeholder:"Acme Dental",autocomplete:"off",style:{"margin-top":"0.4rem",padding:"0.4rem 0.6rem",border:"1px solid var(--fg)","border-radius":"0.375rem",background:"transparent",color:"var(--fg)",font:"inherit"}},null,512),[[xc,l.value]])])]),(Te(),Ge(we,null,Qs(t,B=>Y("section",{key:B.key,class:"group","aria-labelledby":`group-${B.key}`},[Y("h2",{id:`group-${B.key}`,class:"group-title"},dt(B.title),9,zu),Y("ul",Qu,[(Te(!0),Ge(we,null,Qs(B.items,le=>(Te(),Ge("li",{key:le},[Y("label",Yu,[Y("input",{type:"checkbox",checked:i(B.key,le),disabled:r(B,le),onChange:Fe=>s(B.key,le)},null,40,Xu),Y("span",null,dt(le),1),r(B,le)?(Te(),Ge("span",Zu," required ")):Kt("",!0)])]))),128))])],8,Ju)),64))]),Y("footer",ea,[Y("div",ta,[Y("button",{type:"button",class:"btn",onClick:d}," Generate "),Y("button",{type:"button",class:"btn",onClick:re},"Reset"),Y("button",{type:"button",class:"btn",disabled:!o.value,onClick:g}," View ",8,na),Y("button",{type:"button",class:"btn",disabled:!o.value,onClick:m}," Download ",8,sa),Y("button",{type:"button",class:"btn",disabled:!l.value.trim()||P.value==="connecting"||P.value==="sending"||P.value==="running",onClick:D}," Build ",8,ra),Y("button",{type:"button",class:"btn",disabled:!l.value.trim()||P.value==="connecting"||P.value==="sending"||P.value==="running",onClick:$,style:{background:"var(--fg)",color:"#111"}}," Deploy to Siteforge Webhook ",8,ia),Y("button",{type:"button",class:"btn",disabled:!A.value,onClick:ue}," Download package ",8,oa)]),c.value&&o.value?(Te(),Ge("pre",la,dt(o.value),1)):Kt("",!0),P.value!=="idle"?(Te(),Ge("section",ca,[Y("p",ua,"Build: "+dt(P.value),1),M.value.length?(Te(),Ge("pre",aa,dt(M.value.join(`
27
- `)),1)):Kt("",!0),A.value?(Te(),Ge("pre",fa,dt(A.value),1)):Kt("",!0)])):Kt("",!0)])],64))}}),ha=co(da,[["__scopeId","data-v-5e6ed138"]]),pa=Lu({history:gu(),routes:[{path:"/",name:"scaffold",component:ha},{path:"/public",name:"public",component:()=>Ku(()=>import("./PublicSitesView-DuDEMQT0.js"),__vite__mapDeps([0,1]))}]});Pc(Hu).use(pa).mount("#app");export{we as F,co as _,Y as a,ht as b,Ge as c,Mn as d,Te as e,Ri as o,Qs as r,dt as t};
@@ -1 +0,0 @@
1
- .app-header[data-v-190e145e]{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid var(--fg);color:var(--fg)}.header-left[data-v-190e145e]{display:flex;align-items:center;gap:1.5rem}.app-title[data-v-190e145e]{margin:0;font-size:1.5rem;font-weight:600;letter-spacing:.02em;color:var(--fg)}.app-nav[data-v-190e145e]{display:flex;gap:1rem}.app-nav a[data-v-190e145e]{color:var(--fg);text-decoration:none;font-weight:500;opacity:.7}.app-nav a.router-link-exact-active[data-v-190e145e]{opacity:1;text-decoration:underline}.app-nav a[data-v-190e145e]:hover{opacity:1}.theme-toggle[data-v-190e145e]{padding:.4rem .9rem;font:inherit;color:var(--fg);background:transparent;border:1px solid var(--fg);border-radius:.375rem;cursor:pointer}.theme-toggle[data-v-190e145e]:hover{opacity:.75}.app-main[data-v-5e6ed138]{padding:1.5rem;color:var(--fg);display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem}.group[data-v-5e6ed138]{border:1px solid var(--fg);border-radius:.5rem;padding:1rem 1.25rem}.group-title[data-v-5e6ed138]{margin:0 0 .75rem;font-size:1rem;font-weight:600}.group-list[data-v-5e6ed138]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}.check[data-v-5e6ed138]{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.95rem}.check input[data-v-5e6ed138]{accent-color:var(--fg)}.required-tag[data-v-5e6ed138]{margin-left:auto;font-size:.75rem;opacity:.65}.app-footer[data-v-5e6ed138]{padding:1.5rem;border-top:1px solid var(--fg);color:var(--fg)}.actions[data-v-5e6ed138]{display:flex;gap:.75rem;flex-wrap:wrap}.btn[data-v-5e6ed138]{padding:.5rem 1rem;font:inherit;color:var(--fg);background:transparent;border:1px solid var(--fg);border-radius:.375rem;cursor:pointer}.btn[data-v-5e6ed138]:disabled{opacity:.4;cursor:not-allowed}.btn[data-v-5e6ed138]:hover:not(:disabled){opacity:.75}.preview[data-v-5e6ed138]{margin-top:1rem;padding:1rem;border:1px solid var(--fg);border-radius:.375rem;max-height:24rem;overflow:auto;font-size:.85rem;white-space:pre-wrap;word-break:break-word}.build-status[data-v-5e6ed138]{margin-top:1.25rem}.build-state[data-v-5e6ed138]{margin:0 0 .5rem;font-size:.9rem;text-transform:uppercase;letter-spacing:.05em}:root{color-scheme:light;--bg: #ffffff;--fg: #000000}:root[data-theme=dark]{color-scheme:dark;--bg: #000000;--fg: #ffffff}*{box-sizing:border-box}html,body,#app{margin:0;min-height:100%;background:var(--bg);color:var(--fg)}body{min-height:100vh;font-family:system-ui,-apple-system,sans-serif}