@waelio/cli 0.1.1

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.
@@ -0,0 +1,53 @@
1
+ import assert from "node:assert/strict";
2
+ import test from "node:test";
3
+ import { DEFAULT_SITEFORGE_REPO, createBuildPlan, formatBuildPlan, formatDoctorReport } from "./siteforge.js";
4
+ test("createBuildPlan clones and builds when no source path is provided", () => {
5
+ const plan = createBuildPlan({
6
+ repoUrl: DEFAULT_SITEFORGE_REPO,
7
+ projectDir: "/tmp/siteforge-build",
8
+ });
9
+ assert.equal(plan.projectDir, "/tmp/siteforge-build");
10
+ assert.equal(plan.usesExistingSource, false);
11
+ assert.deepEqual(plan.requiredTools, ["npm", "go", "git"]);
12
+ assert.equal(plan.steps.length, 3);
13
+ assert.equal(plan.steps[0]?.command, "git");
14
+ assert.deepEqual(plan.steps[0]?.args, ["clone", DEFAULT_SITEFORGE_REPO, "/tmp/siteforge-build"]);
15
+ assert.equal(plan.steps[1]?.command, "npm");
16
+ assert.deepEqual(plan.steps[1]?.args, ["ci"]);
17
+ assert.equal(plan.steps[2]?.command, "npm");
18
+ assert.deepEqual(plan.steps[2]?.args, ["run", "build"]);
19
+ });
20
+ test("createBuildPlan skips clone when a source path is provided", () => {
21
+ const plan = createBuildPlan({
22
+ repoUrl: DEFAULT_SITEFORGE_REPO,
23
+ source: "../siteforge",
24
+ ref: "main",
25
+ projectDir: "/tmp/existing-siteforge",
26
+ });
27
+ assert.equal(plan.usesExistingSource, true);
28
+ assert.equal(plan.steps.length, 3);
29
+ assert.equal(plan.steps[0]?.command, "git");
30
+ assert.deepEqual(plan.steps[0]?.args, ["checkout", "main"]);
31
+ assert.equal(plan.steps[0]?.cwd, "/tmp/existing-siteforge");
32
+ assert.deepEqual(plan.steps[1]?.args, ["ci"]);
33
+ assert.deepEqual(plan.steps[2]?.args, ["run", "build"]);
34
+ });
35
+ test("formatBuildPlan renders the planned steps", () => {
36
+ const plan = createBuildPlan({
37
+ repoUrl: DEFAULT_SITEFORGE_REPO,
38
+ projectDir: "/tmp/siteforge-build",
39
+ });
40
+ const output = formatBuildPlan(plan);
41
+ assert.match(output, /Repository directory: \/tmp\/siteforge-build/);
42
+ assert.match(output, /1\. Clone siteforge/);
43
+ assert.match(output, /2\. Install dependencies/);
44
+ assert.match(output, /3\. Build website/);
45
+ });
46
+ test("formatDoctorReport renders success and failure rows", () => {
47
+ const output = formatDoctorReport([
48
+ { tool: "git", ok: true, details: "git version 2.x" },
49
+ { tool: "go", ok: false, details: "Command not found: go" },
50
+ ]);
51
+ assert.match(output, /✔ git: git version 2\.x/);
52
+ assert.match(output, /✘ go: Command not found: go/);
53
+ });
package/package.json ADDED
@@ -0,0 +1,52 @@
1
+ {
2
+ "name": "@waelio/cli",
3
+ "version": "0.1.1",
4
+ "description": "CLI for building the waelio/siteforge website",
5
+ "type": "module",
6
+ "bin": {
7
+ "waelio": "./dist/index.js"
8
+ },
9
+ "files": [
10
+ "dist",
11
+ "ui/dist",
12
+ "README.md",
13
+ "LICENSE"
14
+ ],
15
+ "engines": {
16
+ "node": ">=20"
17
+ },
18
+ "scripts": {
19
+ "build:cli": "tsc -p tsconfig.json",
20
+ "build:ui": "vite build",
21
+ "build": "npm run build:cli && npm run build:ui",
22
+ "dev:cli": "tsx src/index.ts",
23
+ "dev:server": "tsx src/server.ts",
24
+ "dev:ui": "vite",
25
+ "dev": "concurrently -k -n API,UI -c magenta,cyan \"npm:dev:server\" \"npm:dev:ui\"",
26
+ "start": "node dist/server.js",
27
+ "typecheck": "tsc -p tsconfig.json --noEmit && vue-tsc -p tsconfig.ui.json --noEmit",
28
+ "test": "tsx --test src/**/*.test.ts",
29
+ "check": "npm run typecheck && npm run test"
30
+ },
31
+ "keywords": [
32
+ "cli",
33
+ "siteforge",
34
+ "vite",
35
+ "typescript"
36
+ ],
37
+ "license": "MIT",
38
+ "dependencies": {
39
+ "commander": "^14.0.0",
40
+ "socket.io-client": "^4.8.3",
41
+ "vue": "^3.5.13"
42
+ },
43
+ "devDependencies": {
44
+ "@types/node": "^24.0.0",
45
+ "@vitejs/plugin-vue": "^5.2.1",
46
+ "concurrently": "^9.1.2",
47
+ "tsx": "^4.20.0",
48
+ "typescript": "^5.8.3",
49
+ "vite": "^5.4.21",
50
+ "vue-tsc": "^2.2.0"
51
+ }
52
+ }
@@ -0,0 +1 @@
1
+ .app-header[data-v-fc5029fd]{display:flex;align-items:center;justify-content:space-between;padding:1.25rem 1.5rem;border-bottom:1px solid var(--fg);color:var(--fg)}.app-title[data-v-fc5029fd]{margin:0;font-size:1.5rem;font-weight:600;letter-spacing:.02em;color:var(--fg)}.theme-toggle[data-v-fc5029fd]{padding:.4rem .9rem;font:inherit;color:var(--fg);background:transparent;border:1px solid var(--fg);border-radius:.375rem;cursor:pointer}.theme-toggle[data-v-fc5029fd]:hover{opacity:.75}.app-main[data-v-fc5029fd]{padding:1.5rem;color:var(--fg);display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.25rem}.group[data-v-fc5029fd]{border:1px solid var(--fg);border-radius:.5rem;padding:1rem 1.25rem}.group-title[data-v-fc5029fd]{margin:0 0 .75rem;font-size:1rem;font-weight:600}.group-list[data-v-fc5029fd]{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:.4rem}.check[data-v-fc5029fd]{display:flex;align-items:center;gap:.5rem;cursor:pointer;font-size:.95rem}.check input[data-v-fc5029fd]{accent-color:var(--fg)}.required-tag[data-v-fc5029fd]{margin-left:auto;font-size:.75rem;opacity:.65}.app-footer[data-v-fc5029fd]{padding:1.5rem;border-top:1px solid var(--fg);color:var(--fg)}.actions[data-v-fc5029fd]{display:flex;gap:.75rem;flex-wrap:wrap}.btn[data-v-fc5029fd]{padding:.5rem 1rem;font:inherit;color:var(--fg);background:transparent;border:1px solid var(--fg);border-radius:.375rem;cursor:pointer}.btn[data-v-fc5029fd]:disabled{opacity:.4;cursor:not-allowed}.btn[data-v-fc5029fd]:hover:not(:disabled){opacity:.75}.preview[data-v-fc5029fd]{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-fc5029fd]{margin-top:1.25rem}.build-state[data-v-fc5029fd]{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}
@@ -0,0 +1,18 @@
1
+ (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function n(i){if(i.ep)return;i.ep=!0;const r=s(i);fetch(i.href,r)}})();/**
2
+ * @vue/shared v3.5.34
3
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
+ * @license MIT
5
+ **/function Rs(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const J={},rt=[],Re=()=>{},Fn=()=>!1,Yt=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),zt=e=>e.startsWith("onUpdate:"),ne=Object.assign,Ms=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},Ui=Object.prototype.hasOwnProperty,K=(e,t)=>Ui.call(e,t),R=Array.isArray,ot=e=>Mt(e)==="[object Map]",Dn=e=>Mt(e)==="[object Set]",tn=e=>Mt(e)==="[object Date]",F=e=>typeof e=="function",z=e=>typeof e=="string",Me=e=>typeof e=="symbol",V=e=>e!==null&&typeof e=="object",Ln=e=>(V(e)||F(e))&&F(e.then)&&F(e.catch),jn=Object.prototype.toString,Mt=e=>jn.call(e),Ki=e=>Mt(e).slice(8,-1),Nn=e=>Mt(e)==="[object Object]",Is=e=>z(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,yt=Rs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Xt=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},Vi=/-\w/g,ge=Xt(e=>e.replace(Vi,t=>t.slice(1).toUpperCase())),ki=/\B([A-Z])/g,et=Xt(e=>e.replace(ki,"-$1").toLowerCase()),$n=Xt(e=>e.charAt(0).toUpperCase()+e.slice(1)),ls=Xt(e=>e?`on${$n(e)}`:""),Ae=(e,t)=>!Object.is(e,t),cs=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Hn=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Wi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let sn;const Qt=()=>sn||(sn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fs(e){if(R(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],i=z(n)?Yi(n):Fs(n);if(i)for(const r in i)t[r]=i[r]}return t}else if(z(e)||V(e))return e}const qi=/;(?![^(]*\))/g,Gi=/:([^]+)/,Ji=/\/\*[^]*?\*\//g;function Yi(e){const t={};return e.replace(Ji,"").split(qi).forEach(s=>{if(s){const n=s.split(Gi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function Ds(e){let t="";if(z(e))t=e;else if(R(e))for(let s=0;s<e.length;s++){const n=Ds(e[s]);n&&(t+=n+" ")}else if(V(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const zi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Xi=Rs(zi);function Bn(e){return!!e||e===""}function Qi(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=Ls(e[n],t[n]);return s}function Ls(e,t){if(e===t)return!0;let s=tn(e),n=tn(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=Me(e),n=Me(t),s||n)return e===t;if(s=R(e),n=R(t),s||n)return s&&n?Qi(e,t):!1;if(s=V(e),n=V(t),s||n){if(!s||!n)return!1;const i=Object.keys(e).length,r=Object.keys(t).length;if(i!==r)return!1;for(const o in e){const l=e.hasOwnProperty(o),f=t.hasOwnProperty(o);if(l&&!f||!l&&f||!Ls(e[o],t[o]))return!1}}return String(e)===String(t)}const Un=e=>!!(e&&e.__v_isRef===!0),Ve=e=>z(e)?e:e==null?"":R(e)||V(e)&&(e.toString===jn||!F(e.toString))?Un(e)?Ve(e.value):JSON.stringify(e,Kn,2):String(e),Kn=(e,t)=>Un(t)?Kn(e,t.value):ot(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,i],r)=>(s[fs(n,r)+" =>"]=i,s),{})}:Dn(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>fs(s))}:Me(t)?fs(t):V(t)&&!R(t)&&!Nn(t)?String(t):t,fs=(e,t="")=>{var s;return Me(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
6
+ * @vue/reactivity v3.5.34
7
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
8
+ * @license MIT
9
+ **/let se;class Zi{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&se&&(se.active?(this.parent=se,this.index=(se.scopes||(se.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=se;try{return se=this,t()}finally{se=s}}}on(){++this._on===1&&(this.prevScope=se,se=this)}off(){if(this._on>0&&--this._on===0){if(se===this)se=this.prevScope;else{let t=se;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function er(){return se}let G;const us=new WeakSet;class Vn{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,se&&(se.active?se.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,us.has(this)&&(us.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Wn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,nn(this),qn(this);const t=G,s=_e;G=this,_e=!0;try{return this.fn()}finally{Gn(this),G=t,_e=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)$s(t);this.deps=this.depsTail=void 0,nn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?us.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ys(this)&&this.run()}get dirty(){return ys(this)}}let kn=0,vt,xt;function Wn(e,t=!1){if(e.flags|=8,t){e.next=xt,xt=e;return}e.next=vt,vt=e}function js(){kn++}function Ns(){if(--kn>0)return;if(xt){let t=xt;for(xt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;vt;){let t=vt;for(vt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function qn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Gn(e){let t,s=e.depsTail,n=s;for(;n;){const i=n.prevDep;n.version===-1?(n===s&&(s=i),$s(n),tr(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=s}function ys(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Jn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Jn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Ot)||(e.globalVersion=Ot,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ys(e))))return;e.flags|=2;const t=e.dep,s=G,n=_e;G=e,_e=!0;try{qn(e);const i=e.fn(e._value);(t.version===0||Ae(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{G=s,_e=n,Gn(e),e.flags&=-3}}function $s(e,t=!1){const{dep:s,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let r=s.computed.deps;r;r=r.nextDep)$s(r,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function tr(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let _e=!0;const Yn=[];function He(){Yn.push(_e),_e=!1}function Be(){const e=Yn.pop();_e=e===void 0?!0:e}function nn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=G;G=void 0;try{t()}finally{G=s}}}let Ot=0;class sr{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Hs{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(!G||!_e||G===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==G)s=this.activeLink=new sr(G,this),G.deps?(s.prevDep=G.depsTail,G.depsTail.nextDep=s,G.depsTail=s):G.deps=G.depsTail=s,zn(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=G.depsTail,s.nextDep=void 0,G.depsTail.nextDep=s,G.depsTail=s,G.deps===s&&(G.deps=n)}return s}trigger(t){this.version++,Ot++,this.notify(t)}notify(t){js();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Ns()}}}function zn(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)zn(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const vs=new WeakMap,Qe=Symbol(""),xs=Symbol(""),Et=Symbol("");function ie(e,t,s){if(_e&&G){let n=vs.get(e);n||vs.set(e,n=new Map);let i=n.get(s);i||(n.set(s,i=new Hs),i.map=n,i.key=s),i.track()}}function Ne(e,t,s,n,i,r){const o=vs.get(e);if(!o){Ot++;return}const l=f=>{f&&f.trigger()};if(js(),t==="clear")o.forEach(l);else{const f=R(e),d=f&&Is(s);if(f&&s==="length"){const a=Number(n);o.forEach((p,w)=>{(w==="length"||w===Et||!Me(w)&&w>=a)&&l(p)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),d&&l(o.get(Et)),t){case"add":f?d&&l(o.get("length")):(l(o.get(Qe)),ot(e)&&l(o.get(xs)));break;case"delete":f||(l(o.get(Qe)),ot(e)&&l(o.get(xs)));break;case"set":ot(e)&&l(o.get(Qe));break}}Ns()}function st(e){const t=U(e);return t===e?t:(ie(t,"iterate",Et),pe(e)?t:t.map(me))}function Zt(e){return ie(e=U(e),"iterate",Et),e}function Oe(e,t){return Ue(e)?ft(Ze(e)?me(t):t):me(t)}const nr={__proto__:null,[Symbol.iterator](){return as(this,Symbol.iterator,e=>Oe(this,e))},concat(...e){return st(this).concat(...e.map(t=>R(t)?st(t):t))},entries(){return as(this,"entries",e=>(e[1]=Oe(this,e[1]),e))},every(e,t){return Fe(this,"every",e,t,void 0,arguments)},filter(e,t){return Fe(this,"filter",e,t,s=>s.map(n=>Oe(this,n)),arguments)},find(e,t){return Fe(this,"find",e,t,s=>Oe(this,s),arguments)},findIndex(e,t){return Fe(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Fe(this,"findLast",e,t,s=>Oe(this,s),arguments)},findLastIndex(e,t){return Fe(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Fe(this,"forEach",e,t,void 0,arguments)},includes(...e){return ds(this,"includes",e)},indexOf(...e){return ds(this,"indexOf",e)},join(e){return st(this).join(e)},lastIndexOf(...e){return ds(this,"lastIndexOf",e)},map(e,t){return Fe(this,"map",e,t,void 0,arguments)},pop(){return pt(this,"pop")},push(...e){return pt(this,"push",e)},reduce(e,...t){return rn(this,"reduce",e,t)},reduceRight(e,...t){return rn(this,"reduceRight",e,t)},shift(){return pt(this,"shift")},some(e,t){return Fe(this,"some",e,t,void 0,arguments)},splice(...e){return pt(this,"splice",e)},toReversed(){return st(this).toReversed()},toSorted(e){return st(this).toSorted(e)},toSpliced(...e){return st(this).toSpliced(...e)},unshift(...e){return pt(this,"unshift",e)},values(){return as(this,"values",e=>Oe(this,e))}};function as(e,t,s){const n=Zt(e),i=n[t]();return n!==e&&!pe(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=s(r.value)),r}),i}const ir=Array.prototype;function Fe(e,t,s,n,i,r){const o=Zt(e),l=o!==e&&!pe(e),f=o[t];if(f!==ir[t]){const p=f.apply(e,r);return l?me(p):p}let d=s;o!==e&&(l?d=function(p,w){return s.call(this,Oe(e,p),w,e)}:s.length>2&&(d=function(p,w){return s.call(this,p,w,e)}));const a=f.call(o,d,n);return l&&i?i(a):a}function rn(e,t,s,n){const i=Zt(e),r=i!==e&&!pe(e);let o=s,l=!1;i!==e&&(r?(l=n.length===0,o=function(d,a,p){return l&&(l=!1,d=Oe(e,d)),s.call(this,d,Oe(e,a),p,e)}):s.length>3&&(o=function(d,a,p){return s.call(this,d,a,p,e)}));const f=i[t](o,...n);return l?Oe(e,f):f}function ds(e,t,s){const n=U(e);ie(n,"iterate",Et);const i=n[t](...s);return(i===-1||i===!1)&&Ks(s[0])?(s[0]=U(s[0]),n[t](...s)):i}function pt(e,t,s=[]){He(),js();const n=U(e)[t].apply(e,s);return Ns(),Be(),n}const rr=Rs("__proto__,__v_isRef,__isVue"),Xn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Me));function or(e){Me(e)||(e=String(e));const t=U(this);return ie(t,"has",e),t.hasOwnProperty(e)}class Qn{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(s==="__v_isReactive")return!i;if(s==="__v_isReadonly")return i;if(s==="__v_isShallow")return r;if(s==="__v_raw")return n===(i?r?_r:si:r?ti:ei).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=R(t);if(!i){let f;if(o&&(f=nr[s]))return f;if(s==="hasOwnProperty")return or}const l=Reflect.get(t,s,re(t)?t:n);if((Me(s)?Xn.has(s):rr(s))||(i||ie(t,"get",s),r))return l;if(re(l)){const f=o&&Is(s)?l:l.value;return i&&V(f)?ws(f):f}return V(l)?i?ws(l):es(l):l}}class Zn extends Qn{constructor(t=!1){super(!1,t)}set(t,s,n,i){let r=t[s];const o=R(t)&&Is(s);if(!this._isShallow){const d=Ue(r);if(!pe(n)&&!Ue(n)&&(r=U(r),n=U(n)),!o&&re(r)&&!re(n))return d||(r.value=n),!0}const l=o?Number(s)<t.length:K(t,s),f=Reflect.set(t,s,n,re(t)?t:i);return t===U(i)&&(l?Ae(n,r)&&Ne(t,"set",s,n):Ne(t,"add",s,n)),f}deleteProperty(t,s){const n=K(t,s);t[s];const i=Reflect.deleteProperty(t,s);return i&&n&&Ne(t,"delete",s,void 0),i}has(t,s){const n=Reflect.has(t,s);return(!Me(s)||!Xn.has(s))&&ie(t,"has",s),n}ownKeys(t){return ie(t,"iterate",R(t)?"length":Qe),Reflect.ownKeys(t)}}class lr extends Qn{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const cr=new Zn,fr=new lr,ur=new Zn(!0);const Ss=e=>e,$t=e=>Reflect.getPrototypeOf(e);function ar(e,t,s){return function(...n){const i=this.__v_raw,r=U(i),o=ot(r),l=e==="entries"||e===Symbol.iterator&&o,f=e==="keys"&&o,d=i[e](...n),a=s?Ss:t?ft:me;return!t&&ie(r,"iterate",f?xs:Qe),ne(Object.create(d),{next(){const{value:p,done:w}=d.next();return w?{value:p,done:w}:{value:l?[a(p[0]),a(p[1])]:a(p),done:w}}})}}function Ht(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function dr(e,t){const s={get(i){const r=this.__v_raw,o=U(r),l=U(i);e||(Ae(i,l)&&ie(o,"get",i),ie(o,"get",l));const{has:f}=$t(o),d=t?Ss:e?ft:me;if(f.call(o,i))return d(r.get(i));if(f.call(o,l))return d(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&ie(U(i),"iterate",Qe),i.size},has(i){const r=this.__v_raw,o=U(r),l=U(i);return e||(Ae(i,l)&&ie(o,"has",i),ie(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,f=U(l),d=t?Ss:e?ft:me;return!e&&ie(f,"iterate",Qe),l.forEach((a,p)=>i.call(r,d(a),d(p),o))}};return ne(s,e?{add:Ht("add"),set:Ht("set"),delete:Ht("delete"),clear:Ht("clear")}:{add(i){const r=U(this),o=$t(r),l=U(i),f=!t&&!pe(i)&&!Ue(i)?l:i;return o.has.call(r,f)||Ae(i,f)&&o.has.call(r,i)||Ae(l,f)&&o.has.call(r,l)||(r.add(f),Ne(r,"add",f,f)),this},set(i,r){!t&&!pe(r)&&!Ue(r)&&(r=U(r));const o=U(this),{has:l,get:f}=$t(o);let d=l.call(o,i);d||(i=U(i),d=l.call(o,i));const a=f.call(o,i);return o.set(i,r),d?Ae(r,a)&&Ne(o,"set",i,r):Ne(o,"add",i,r),this},delete(i){const r=U(this),{has:o,get:l}=$t(r);let f=o.call(r,i);f||(i=U(i),f=o.call(r,i)),l&&l.call(r,i);const d=r.delete(i);return f&&Ne(r,"delete",i,void 0),d},clear(){const i=U(this),r=i.size!==0,o=i.clear();return r&&Ne(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{s[i]=ar(i,e,t)}),s}function Bs(e,t){const s=dr(e,t);return(n,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(K(s,i)&&i in n?s:n,i,r)}const hr={get:Bs(!1,!1)},pr={get:Bs(!1,!0)},gr={get:Bs(!0,!1)};const ei=new WeakMap,ti=new WeakMap,si=new WeakMap,_r=new WeakMap;function mr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function br(e){return e.__v_skip||!Object.isExtensible(e)?0:mr(Ki(e))}function es(e){return Ue(e)?e:Us(e,!1,cr,hr,ei)}function yr(e){return Us(e,!1,ur,pr,ti)}function ws(e){return Us(e,!0,fr,gr,si)}function Us(e,t,s,n,i){if(!V(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=br(e);if(r===0)return e;const o=i.get(e);if(o)return o;const l=new Proxy(e,r===2?n:s);return i.set(e,l),l}function Ze(e){return Ue(e)?Ze(e.__v_raw):!!(e&&e.__v_isReactive)}function Ue(e){return!!(e&&e.__v_isReadonly)}function pe(e){return!!(e&&e.__v_isShallow)}function Ks(e){return e?!!e.__v_raw:!1}function U(e){const t=e&&e.__v_raw;return t?U(t):e}function vr(e){return!K(e,"__v_skip")&&Object.isExtensible(e)&&Hn(e,"__v_skip",!0),e}const me=e=>V(e)?es(e):e,ft=e=>V(e)?ws(e):e;function re(e){return e?e.__v_isRef===!0:!1}function nt(e){return xr(e,!1)}function xr(e,t){return re(e)?e:new Sr(e,t)}class Sr{constructor(t,s){this.dep=new Hs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:U(t),this._value=s?t:me(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||pe(t)||Ue(t);t=n?t:U(t),Ae(t,s)&&(this._rawValue=t,this._value=n?t:me(t),this.dep.trigger())}}function wr(e){return re(e)?e.value:e}const Cr={get:(e,t,s)=>t==="__v_raw"?e:wr(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const i=e[t];return re(i)&&!re(s)?(i.value=s,!0):Reflect.set(e,t,s,n)}};function ni(e){return Ze(e)?e:new Proxy(e,Cr)}class Tr{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Hs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ot-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&G!==this)return Wn(this,!0),!0}get value(){const t=this.dep.track();return Jn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Or(e,t,s=!1){let n,i;return F(e)?n=e:(n=e.get,i=e.set),new Tr(n,i,s)}const Bt={},Vt=new WeakMap;let Xe;function Er(e,t=!1,s=Xe){if(s){let n=Vt.get(s);n||Vt.set(s,n=[]),n.push(e)}}function Ar(e,t,s=J){const{immediate:n,deep:i,once:r,scheduler:o,augmentJob:l,call:f}=s,d=E=>i?E:pe(E)||i===!1||i===0?We(E,1):We(E);let a,p,w,C,$=!1,P=!1;if(re(e)?(p=()=>e.value,$=pe(e)):Ze(e)?(p=()=>d(e),$=!0):R(e)?(P=!0,$=e.some(E=>Ze(E)||pe(E)),p=()=>e.map(E=>{if(re(E))return E.value;if(Ze(E))return d(E);if(F(E))return f?f(E,2):E()})):F(e)?t?p=f?()=>f(e,2):e:p=()=>{if(w){He();try{w()}finally{Be()}}const E=Xe;Xe=a;try{return f?f(e,3,[C]):e(C)}finally{Xe=E}}:p=Re,t&&i){const E=p,X=i===!0?1/0:i;p=()=>We(E(),X)}const N=er(),H=()=>{a.stop(),N&&N.active&&Ms(N.effects,a)};if(r&&t){const E=t;t=(...X)=>{E(...X),H()}}let M=P?new Array(e.length).fill(Bt):Bt;const B=E=>{if(!(!(a.flags&1)||!a.dirty&&!E))if(t){const X=a.run();if(i||$||(P?X.some((be,I)=>Ae(be,M[I])):Ae(X,M))){w&&w();const be=Xe;Xe=a;try{const I=[X,M===Bt?void 0:P&&M[0]===Bt?[]:M,C];M=X,f?f(t,3,I):t(...I)}finally{Xe=be}}}else a.run()};return l&&l(B),a=new Vn(p),a.scheduler=o?()=>o(B,!1):B,C=E=>Er(E,!1,a),w=a.onStop=()=>{const E=Vt.get(a);if(E){if(f)f(E,4);else for(const X of E)X();Vt.delete(a)}},t?n?B(!0):M=a.run():o?o(B.bind(null,!0),!0):a.run(),H.pause=a.pause.bind(a),H.resume=a.resume.bind(a),H.stop=H,H}function We(e,t=1/0,s){if(t<=0||!V(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,re(e))We(e.value,t,s);else if(R(e))for(let n=0;n<e.length;n++)We(e[n],t,s);else if(Dn(e)||ot(e))e.forEach(n=>{We(n,t,s)});else if(Nn(e)){for(const n in e)We(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&We(e[n],t,s)}return e}/**
10
+ * @vue/runtime-core v3.5.34
11
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
12
+ * @license MIT
13
+ **/function It(e,t,s,n){try{return n?e(...n):e()}catch(i){ts(i,t,s)}}function Ie(e,t,s,n){if(F(e)){const i=It(e,t,s,n);return i&&Ln(i)&&i.catch(r=>{ts(r,t,s)}),i}if(R(e)){const i=[];for(let r=0;r<e.length;r++)i.push(Ie(e[r],t,s,n));return i}}function ts(e,t,s,n=!0){const i=t?t.vnode:null,{errorHandler:r,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||J;if(t){let l=t.parent;const f=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](e,f,d)===!1)return}l=l.parent}if(r){He(),It(r,null,10,[e,f,d]),Be();return}}Pr(e,s,i,n,o)}function Pr(e,t,s,n=!0,i=!1){if(i)throw e;console.error(e)}const ce=[];let Te=-1;const lt=[];let ke=null,it=0;const ii=Promise.resolve();let kt=null;function Rr(e){const t=kt||ii;return e?t.then(this?e.bind(this):e):t}function Mr(e){let t=Te+1,s=ce.length;for(;t<s;){const n=t+s>>>1,i=ce[n],r=At(i);r<e||r===e&&i.flags&2?t=n+1:s=n}return t}function Vs(e){if(!(e.flags&1)){const t=At(e),s=ce[ce.length-1];!s||!(e.flags&2)&&t>=At(s)?ce.push(e):ce.splice(Mr(t),0,e),e.flags|=1,ri()}}function ri(){kt||(kt=ii.then(li))}function Ir(e){R(e)?lt.push(...e):ke&&e.id===-1?ke.splice(it+1,0,e):e.flags&1||(lt.push(e),e.flags|=1),ri()}function on(e,t,s=Te+1){for(;s<ce.length;s++){const n=ce[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;ce.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function oi(e){if(lt.length){const t=[...new Set(lt)].sort((s,n)=>At(s)-At(n));if(lt.length=0,ke){ke.push(...t);return}for(ke=t,it=0;it<ke.length;it++){const s=ke[it];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ke=null,it=0}}const At=e=>e.id==null?e.flags&2?-1:1/0:e.id;function li(e){try{for(Te=0;Te<ce.length;Te++){const t=ce[Te];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),It(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Te<ce.length;Te++){const t=ce[Te];t&&(t.flags&=-2)}Te=-1,ce.length=0,oi(),kt=null,(ce.length||lt.length)&&li()}}let Pe=null,ci=null;function Wt(e){const t=Pe;return Pe=e,ci=e&&e.type.__scopeId||null,t}function Fr(e,t=Pe,s){if(!t||e._n)return e;const n=(...i)=>{n._d&&bn(-1);const r=Wt(t);let o;try{o=e(...i)}finally{Wt(r),n._d&&bn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function Ye(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let o=0;o<i.length;o++){const l=i[o];r&&(l.oldValue=r[o].value);let f=l.dir[n];f&&(He(),Ie(f,s,8,[e.el,l,e,t]),Be())}}function Dr(e,t){if(fe){let s=fe.provides;const n=fe.parent&&fe.parent.provides;n===s&&(s=fe.provides=Object.create(n)),s[e]=t}}function Ut(e,t,s=!1){const n=jo();if(n||ct){let i=ct?ct._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return s&&F(t)?t.call(n&&n.proxy):t}}const Lr=Symbol.for("v-scx"),jr=()=>Ut(Lr);function hs(e,t,s){return fi(e,t,s)}function fi(e,t,s=J){const{immediate:n,deep:i,flush:r,once:o}=s,l=ne({},s),f=t&&n||!t&&r!=="post";let d;if(Rt){if(r==="sync"){const C=jr();d=C.__watcherHandles||(C.__watcherHandles=[])}else if(!f){const C=()=>{};return C.stop=Re,C.resume=Re,C.pause=Re,C}}const a=fe;l.call=(C,$,P)=>Ie(C,a,$,P);let p=!1;r==="post"?l.scheduler=C=>{ue(C,a&&a.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(C,$)=>{$?C():Vs(C)}),l.augmentJob=C=>{t&&(C.flags|=4),p&&(C.flags|=2,a&&(C.id=a.uid,C.i=a))};const w=Ar(e,t,l);return Rt&&(d?d.push(w):f&&w()),w}function Nr(e,t,s){const n=this.proxy,i=z(e)?e.includes(".")?ui(n,e):()=>n[e]:e.bind(n,n);let r;F(t)?r=t:(r=t.handler,s=t);const o=Ft(this),l=fi(i,r.bind(n),s);return o(),l}function ui(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;i<s.length&&n;i++)n=n[s[i]];return n}}const $r=Symbol("_vte"),Hr=e=>e.__isTeleport,Br=Symbol("_leaveCb");function ks(e,t){e.shapeFlag&6&&e.component?(e.transition=t,ks(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 Ur(e,t){return F(e)?ne({name:e.name},t,{setup:e}):e}function ai(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ln(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const qt=new WeakMap;function St(e,t,s,n,i=!1){if(R(e)){e.forEach((P,N)=>St(P,t&&(R(t)?t[N]:t),s,n,i));return}if(wt(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&St(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?Js(n.component):n.el,o=i?null:r,{i:l,r:f}=e,d=t&&t.r,a=l.refs===J?l.refs={}:l.refs,p=l.setupState,w=U(p),C=p===J?Fn:P=>ln(a,P)?!1:K(w,P),$=(P,N)=>!(N&&ln(a,N));if(d!=null&&d!==f){if(cn(t),z(d))a[d]=null,C(d)&&(p[d]=null);else if(re(d)){const P=t;$(d,P.k)&&(d.value=null),P.k&&(a[P.k]=null)}}if(F(f))It(f,l,12,[o,a]);else{const P=z(f),N=re(f);if(P||N){const H=()=>{if(e.f){const M=P?C(f)?p[f]:a[f]:$()||!e.k?f.value:a[e.k];if(i)R(M)&&Ms(M,r);else if(R(M))M.includes(r)||M.push(r);else if(P)a[f]=[r],C(f)&&(p[f]=a[f]);else{const B=[r];$(f,e.k)&&(f.value=B),e.k&&(a[e.k]=B)}}else P?(a[f]=o,C(f)&&(p[f]=o)):N&&($(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const M=()=>{H(),qt.delete(e)};M.id=-1,qt.set(e,M),ue(M,s)}else cn(e),H()}}}function cn(e){const t=qt.get(e);t&&(t.flags|=8,qt.delete(e))}Qt().requestIdleCallback;Qt().cancelIdleCallback;const wt=e=>!!e.type.__asyncLoader,di=e=>e.type.__isKeepAlive;function Kr(e,t){hi(e,"a",t)}function Vr(e,t){hi(e,"da",t)}function hi(e,t,s=fe){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(ss(t,n,s),s){let i=s.parent;for(;i&&i.parent;)di(i.parent.vnode)&&kr(n,t,s,i),i=i.parent}}function kr(e,t,s,n){const i=ss(t,e,n,!0);gi(()=>{Ms(n[t],i)},s)}function ss(e,t,s=fe,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{He();const l=Ft(s),f=Ie(t,s,e,o);return l(),Be(),f});return n?i.unshift(r):i.push(r),r}}const Ke=e=>(t,s=fe)=>{(!Rt||e==="sp")&&ss(e,(...n)=>t(...n),s)},Wr=Ke("bm"),pi=Ke("m"),qr=Ke("bu"),Gr=Ke("u"),Jr=Ke("bum"),gi=Ke("um"),Yr=Ke("sp"),zr=Ke("rtg"),Xr=Ke("rtc");function Qr(e,t=fe){ss("ec",e,t)}const Zr=Symbol.for("v-ndc");function fn(e,t,s,n){let i;const r=s,o=R(e);if(o||z(e)){const l=o&&Ze(e);let f=!1,d=!1;l&&(f=!pe(e),d=Ue(e),e=Zt(e)),i=new Array(e.length);for(let a=0,p=e.length;a<p;a++)i[a]=t(f?d?ft(me(e[a])):me(e[a]):e[a],a,void 0,r)}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,r)}else if(V(e))if(e[Symbol.iterator])i=Array.from(e,(l,f)=>t(l,f,void 0,r));else{const l=Object.keys(e);i=new Array(l.length);for(let f=0,d=l.length;f<d;f++){const a=l[f];i[f]=t(e[a],a,f,r)}}else i=[];return i}const Cs=e=>e?ji(e)?Js(e):Cs(e.parent):null,Ct=ne(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=>Cs(e.parent),$root:e=>Cs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>mi(e),$forceUpdate:e=>e.f||(e.f=()=>{Vs(e.update)}),$nextTick:e=>e.n||(e.n=Rr.bind(e.proxy)),$watch:e=>Nr.bind(e)}),ps=(e,t)=>e!==J&&!e.__isScriptSetup&&K(e,t),eo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const w=o[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(ps(n,t))return o[t]=1,n[t];if(i!==J&&K(i,t))return o[t]=2,i[t];if(K(r,t))return o[t]=3,r[t];if(s!==J&&K(s,t))return o[t]=4,s[t];Ts&&(o[t]=0)}}const d=Ct[t];let a,p;if(d)return t==="$attrs"&&ie(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==J&&K(s,t))return o[t]=4,s[t];if(p=f.config.globalProperties,K(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return ps(i,t)?(i[t]=s,!0):n!==J&&K(n,t)?(n[t]=s,!0):K(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:r,type:o}},l){let f;return!!(s[l]||e!==J&&l[0]!=="$"&&K(e,l)||ps(t,l)||K(r,l)||K(n,l)||K(Ct,l)||K(i.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:K(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function un(e){return R(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Ts=!0;function to(e){const t=mi(e),s=e.proxy,n=e.ctx;Ts=!1,t.beforeCreate&&an(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:f,inject:d,created:a,beforeMount:p,mounted:w,beforeUpdate:C,updated:$,activated:P,deactivated:N,beforeDestroy:H,beforeUnmount:M,destroyed:B,unmounted:E,render:X,renderTracked:be,renderTriggered:I,errorCaptured:L,serverPrefetch:D,expose:ee,inheritAttrs:tt,components:Dt,directives:Lt,filters:rs}=t;if(d&&so(d,n,null),o)for(const Y in o){const W=o[Y];F(W)&&(n[Y]=W.bind(s))}if(i){const Y=i.call(s,s);V(Y)&&(e.data=es(Y))}if(Ts=!0,r)for(const Y in r){const W=r[Y],Ge=F(W)?W.bind(s,s):F(W.get)?W.get.bind(s,s):Re,jt=!F(W)&&F(W.set)?W.set.bind(s):Re,Je=Ko({get:Ge,set:jt});Object.defineProperty(n,Y,{enumerable:!0,configurable:!0,get:()=>Je.value,set:ye=>Je.value=ye})}if(l)for(const Y in l)_i(l[Y],n,s,Y);if(f){const Y=F(f)?f.call(s):f;Reflect.ownKeys(Y).forEach(W=>{Dr(W,Y[W])})}a&&an(a,e,"c");function oe(Y,W){R(W)?W.forEach(Ge=>Y(Ge.bind(s))):W&&Y(W.bind(s))}if(oe(Wr,p),oe(pi,w),oe(qr,C),oe(Gr,$),oe(Kr,P),oe(Vr,N),oe(Qr,L),oe(Xr,be),oe(zr,I),oe(Jr,M),oe(gi,E),oe(Yr,D),R(ee))if(ee.length){const Y=e.exposed||(e.exposed={});ee.forEach(W=>{Object.defineProperty(Y,W,{get:()=>s[W],set:Ge=>s[W]=Ge,enumerable:!0})})}else e.exposed||(e.exposed={});X&&e.render===Re&&(e.render=X),tt!=null&&(e.inheritAttrs=tt),Dt&&(e.components=Dt),Lt&&(e.directives=Lt),D&&ai(e)}function so(e,t,s=Re){R(e)&&(e=Os(e));for(const n in e){const i=e[n];let r;V(i)?"default"in i?r=Ut(i.from||n,i.default,!0):r=Ut(i.from||n):r=Ut(i),re(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function an(e,t,s){Ie(R(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function _i(e,t,s,n){let i=n.includes(".")?ui(s,n):()=>s[n];if(z(e)){const r=t[e];F(r)&&hs(i,r)}else if(F(e))hs(i,e.bind(s));else if(V(e))if(R(e))e.forEach(r=>_i(r,t,s,n));else{const r=F(e.handler)?e.handler.bind(s):t[e.handler];F(r)&&hs(i,r,e)}}function mi(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let f;return l?f=l:!i.length&&!s&&!n?f=t:(f={},i.length&&i.forEach(d=>Gt(f,d,o,!0)),Gt(f,t,o)),V(t)&&r.set(t,f),f}function Gt(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&Gt(e,r,s,!0),i&&i.forEach(o=>Gt(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=no[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const no={data:dn,props:hn,emits:hn,methods:mt,computed:mt,beforeCreate:le,created:le,beforeMount:le,mounted:le,beforeUpdate:le,updated:le,beforeDestroy:le,beforeUnmount:le,destroyed:le,unmounted:le,activated:le,deactivated:le,errorCaptured:le,serverPrefetch:le,components:mt,directives:mt,watch:ro,provide:dn,inject:io};function dn(e,t){return t?e?function(){return ne(F(e)?e.call(this,this):e,F(t)?t.call(this,this):t)}:t:e}function io(e,t){return mt(Os(e),Os(t))}function Os(e){if(R(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function le(e,t){return e?[...new Set([].concat(e,t))]:t}function mt(e,t){return e?ne(Object.create(null),e,t):t}function hn(e,t){return e?R(e)&&R(t)?[...new Set([...e,...t])]:ne(Object.create(null),un(e),un(t??{})):t}function ro(e,t){if(!e)return t;if(!t)return e;const s=ne(Object.create(null),e);for(const n in t)s[n]=le(e[n],t[n]);return s}function bi(){return{app:null,config:{isNativeTag:Fn,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 oo=0;function lo(e,t){return function(n,i=null){F(n)||(n=ne({},n)),i!=null&&!V(i)&&(i=null);const r=bi(),o=new WeakSet,l=[];let f=!1;const d=r.app={_uid:oo++,_component:n,_props:i,_container:null,_context:r,_instance:null,version:Vo,get config(){return r.config},set config(a){},use(a,...p){return o.has(a)||(a&&F(a.install)?(o.add(a),a.install(d,...p)):F(a)&&(o.add(a),a(d,...p))),d},mixin(a){return r.mixins.includes(a)||r.mixins.push(a),d},component(a,p){return p?(r.components[a]=p,d):r.components[a]},directive(a,p){return p?(r.directives[a]=p,d):r.directives[a]},mount(a,p,w){if(!f){const C=d._ceVNode||$e(n,i);return C.appContext=r,w===!0?w="svg":w===!1&&(w=void 0),e(C,a,w),f=!0,d._container=a,a.__vue_app__=d,Js(C.component)}},onUnmount(a){l.push(a)},unmount(){f&&(Ie(l,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,p){return r.provides[a]=p,d},runWithContext(a){const p=ct;ct=d;try{return a()}finally{ct=p}}};return d}}let ct=null;const co=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ge(t)}Modifiers`]||e[`${et(t)}Modifiers`];function fo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||J;let i=s;const r=t.startsWith("update:"),o=r&&co(n,t.slice(7));o&&(o.trim&&(i=s.map(a=>z(a)?a.trim():a)),o.number&&(i=s.map(Wi)));let l,f=n[l=ls(t)]||n[l=ls(ge(t))];!f&&r&&(f=n[l=ls(et(t))]),f&&Ie(f,e,6,i);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ie(d,e,6,i)}}const uo=new WeakMap;function yi(e,t,s=!1){const n=s?uo:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!F(e)){const f=d=>{const a=yi(d,t,!0);a&&(l=!0,ne(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!r&&!l?(V(e)&&n.set(e,null),null):(R(r)?r.forEach(f=>o[f]=null):ne(o,r),V(e)&&n.set(e,o),o)}function ns(e,t){return!e||!Yt(t)?!1:(t=t.slice(2).replace(/Once$/,""),K(e,t[0].toLowerCase()+t.slice(1))||K(e,et(t))||K(e,t))}function pn(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:f,render:d,renderCache:a,props:p,data:w,setupState:C,ctx:$,inheritAttrs:P}=e,N=Wt(e);let H,M;try{if(s.shapeFlag&4){const E=i||n,X=E;H=Ee(d.call(X,E,a,p,C,w,$)),M=l}else{const E=t;H=Ee(E.length>1?E(p,{attrs:l,slots:o,emit:f}):E(p,null)),M=t.props?l:ao(l)}}catch(E){Tt.length=0,ts(E,e,1),H=$e(qe)}let B=H;if(M&&P!==!1){const E=Object.keys(M),{shapeFlag:X}=B;E.length&&X&7&&(r&&E.some(zt)&&(M=ho(M,r)),B=ut(B,M,!1,!0))}return s.dirs&&(B=ut(B,null,!1,!0),B.dirs=B.dirs?B.dirs.concat(s.dirs):s.dirs),s.transition&&ks(B,s.transition),H=B,Wt(N),H}const ao=e=>{let t;for(const s in e)(s==="class"||s==="style"||Yt(s))&&((t||(t={}))[s]=e[s]);return t},ho=(e,t)=>{const s={};for(const n in e)(!zt(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function po(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:l,patchFlag:f}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?gn(n,o,d):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const w=a[p];if(vi(o,n,w)&&!ns(d,w))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?gn(n,o,d):!0:!!o;return!1}function gn(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const r=n[i];if(vi(t,e,r)&&!ns(s,r))return!0}return!1}function vi(e,t,s){const n=e[s],i=t[s];return s==="style"&&V(n)&&V(i)?!Ls(n,i):n!==i}function go({vnode:e,parent:t,suspense:s},n){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=n,e=i),i===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const xi={},Si=()=>Object.create(xi),wi=e=>Object.getPrototypeOf(e)===xi;function _o(e,t,s,n=!1){const i={},r=Si();e.propsDefaults=Object.create(null),Ci(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:yr(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function mo(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=U(i),[f]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let w=a[p];if(ns(e.emitsOptions,w))continue;const C=t[w];if(f)if(K(r,w))C!==r[w]&&(r[w]=C,d=!0);else{const $=ge(w);i[$]=Es(f,l,$,C,e,!1)}else C!==r[w]&&(r[w]=C,d=!0)}}}else{Ci(e,t,i,r)&&(d=!0);let a;for(const p in l)(!t||!K(t,p)&&((a=et(p))===p||!K(t,a)))&&(f?s&&(s[p]!==void 0||s[a]!==void 0)&&(i[p]=Es(f,l,p,void 0,e,!0)):delete i[p]);if(r!==l)for(const p in r)(!t||!K(t,p))&&(delete r[p],d=!0)}d&&Ne(e.attrs,"set","")}function Ci(e,t,s,n){const[i,r]=e.propsOptions;let o=!1,l;if(t)for(let f in t){if(yt(f))continue;const d=t[f];let a;i&&K(i,a=ge(f))?!r||!r.includes(a)?s[a]=d:(l||(l={}))[a]=d:ns(e.emitsOptions,f)||(!(f in n)||d!==n[f])&&(n[f]=d,o=!0)}if(r){const f=U(s),d=l||J;for(let a=0;a<r.length;a++){const p=r[a];s[p]=Es(i,f,p,d[p],e,!K(d,p))}}return o}function Es(e,t,s,n,i,r){const o=e[s];if(o!=null){const l=K(o,"default");if(l&&n===void 0){const f=o.default;if(o.type!==Function&&!o.skipFactory&&F(f)){const{propsDefaults:d}=i;if(s in d)n=d[s];else{const a=Ft(i);n=d[s]=f.call(null,t),a()}}else n=f;i.ce&&i.ce._setProp(s,n)}o[0]&&(r&&!l?n=!1:o[1]&&(n===""||n===et(s))&&(n=!0))}return n}const bo=new WeakMap;function Ti(e,t,s=!1){const n=s?bo:t.propsCache,i=n.get(e);if(i)return i;const r=e.props,o={},l=[];let f=!1;if(!F(e)){const a=p=>{f=!0;const[w,C]=Ti(p,t,!0);ne(o,w),C&&l.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!r&&!f)return V(e)&&n.set(e,rt),rt;if(R(r))for(let a=0;a<r.length;a++){const p=ge(r[a]);_n(p)&&(o[p]=J)}else if(r)for(const a in r){const p=ge(a);if(_n(p)){const w=r[a],C=o[p]=R(w)||F(w)?{type:w}:ne({},w),$=C.type;let P=!1,N=!0;if(R($))for(let H=0;H<$.length;++H){const M=$[H],B=F(M)&&M.name;if(B==="Boolean"){P=!0;break}else B==="String"&&(N=!1)}else P=F($)&&$.name==="Boolean";C[0]=P,C[1]=N,(P||K(C,"default"))&&l.push(p)}}const d=[o,l];return V(e)&&n.set(e,d),d}function _n(e){return e[0]!=="$"&&!yt(e)}const Ws=e=>e==="_"||e==="_ctx"||e==="$stable",qs=e=>R(e)?e.map(Ee):[Ee(e)],yo=(e,t,s)=>{if(t._n)return t;const n=Fr((...i)=>qs(t(...i)),s);return n._c=!1,n},Oi=(e,t,s)=>{const n=e._ctx;for(const i in e){if(Ws(i))continue;const r=e[i];if(F(r))t[i]=yo(i,r,n);else if(r!=null){const o=qs(r);t[i]=()=>o}}},Ei=(e,t)=>{const s=qs(t);e.slots.default=()=>s},Ai=(e,t,s)=>{for(const n in t)(s||!Ws(n))&&(e[n]=t[n])},vo=(e,t,s)=>{const n=e.slots=Si();if(e.vnode.shapeFlag&32){const i=t._;i?(Ai(n,t,s),s&&Hn(n,"_",i,!0)):Oi(t,n)}else t&&Ei(e,t)},xo=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=J;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:Ai(i,t,s):(r=!t.$stable,Oi(t,i)),o=t}else t&&(Ei(e,t),o={default:1});if(r)for(const l in i)!Ws(l)&&o[l]==null&&delete i[l]},ue=Oo;function So(e){return wo(e)}function wo(e,t){const s=Qt();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:p,nextSibling:w,setScopeId:C=Re,insertStaticContent:$}=e,P=(c,u,h,b=null,g=null,_=null,x=void 0,v=null,y=!!u.dynamicChildren)=>{if(c===u)return;c&&!gt(c,u)&&(b=Nt(c),ye(c,g,_,!0),c=null),u.patchFlag===-2&&(y=!1,u.dynamicChildren=null);const{type:m,ref:O,shapeFlag:S}=u;switch(m){case is:N(c,u,h,b);break;case qe:H(c,u,h,b);break;case _s:c==null&&M(u,h,b,x);break;case he:Dt(c,u,h,b,g,_,x,v,y);break;default:S&1?X(c,u,h,b,g,_,x,v,y):S&6?Lt(c,u,h,b,g,_,x,v,y):(S&64||S&128)&&m.process(c,u,h,b,g,_,x,v,y,dt)}O!=null&&g?St(O,c&&c.ref,_,u||c,!u):O==null&&c&&c.ref!=null&&St(c.ref,null,_,c,!0)},N=(c,u,h,b)=>{if(c==null)n(u.el=l(u.children),h,b);else{const g=u.el=c.el;u.children!==c.children&&d(g,u.children)}},H=(c,u,h,b)=>{c==null?n(u.el=f(u.children||""),h,b):u.el=c.el},M=(c,u,h,b)=>{[c.el,c.anchor]=$(c.children,u,h,b,c.el,c.anchor)},B=({el:c,anchor:u},h,b)=>{let g;for(;c&&c!==u;)g=w(c),n(c,h,b),c=g;n(u,h,b)},E=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=w(c),i(c),c=h;i(u)},X=(c,u,h,b,g,_,x,v,y)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),c==null)be(u,h,b,g,_,x,v,y);else{const m=c.el&&c.el._isVueCE?c.el:null;try{m&&m._beginPatch(),D(c,u,g,_,x,v,y)}finally{m&&m._endPatch()}}},be=(c,u,h,b,g,_,x,v)=>{let y,m;const{props:O,shapeFlag:S,transition:T,dirs:A}=c;if(y=c.el=o(c.type,_,O&&O.is,O),S&8?a(y,c.children):S&16&&L(c.children,y,null,b,g,gs(c,_),x,v),A&&Ye(c,null,b,"created"),I(y,c,c.scopeId,x,b),O){for(const k in O)k!=="value"&&!yt(k)&&r(y,k,null,O[k],_,b);"value"in O&&r(y,"value",null,O.value,_),(m=O.onVnodeBeforeMount)&&we(m,b,c)}A&&Ye(c,null,b,"beforeMount");const j=Co(g,T);j&&T.beforeEnter(y),n(y,u,h),((m=O&&O.onVnodeMounted)||j||A)&&ue(()=>{try{m&&we(m,b,c),j&&T.enter(y),A&&Ye(c,null,b,"mounted")}finally{}},g)},I=(c,u,h,b,g)=>{if(h&&C(c,h),b)for(let _=0;_<b.length;_++)C(c,b[_]);if(g){let _=g.subTree;if(u===_||Ii(_.type)&&(_.ssContent===u||_.ssFallback===u)){const x=g.vnode;I(c,x,x.scopeId,x.slotScopeIds,g.parent)}}},L=(c,u,h,b,g,_,x,v,y=0)=>{for(let m=y;m<c.length;m++){const O=c[m]=v?je(c[m]):Ee(c[m]);P(null,O,u,h,b,g,_,x,v)}},D=(c,u,h,b,g,_,x)=>{const v=u.el=c.el;let{patchFlag:y,dynamicChildren:m,dirs:O}=u;y|=c.patchFlag&16;const S=c.props||J,T=u.props||J;let A;if(h&&ze(h,!1),(A=T.onVnodeBeforeUpdate)&&we(A,h,u,c),O&&Ye(u,c,h,"beforeUpdate"),h&&ze(h,!0),(S.innerHTML&&T.innerHTML==null||S.textContent&&T.textContent==null)&&a(v,""),m?ee(c.dynamicChildren,m,v,h,b,gs(u,g),_):x||W(c,u,v,null,h,b,gs(u,g),_,!1),y>0){if(y&16)tt(v,S,T,h,g);else if(y&2&&S.class!==T.class&&r(v,"class",null,T.class,g),y&4&&r(v,"style",S.style,T.style,g),y&8){const j=u.dynamicProps;for(let k=0;k<j.length;k++){const q=j[k],Z=S[q],te=T[q];(te!==Z||q==="value")&&r(v,q,Z,te,g,h)}}y&1&&c.children!==u.children&&a(v,u.children)}else!x&&m==null&&tt(v,S,T,h,g);((A=T.onVnodeUpdated)||O)&&ue(()=>{A&&we(A,h,u,c),O&&Ye(u,c,h,"updated")},b)},ee=(c,u,h,b,g,_,x)=>{for(let v=0;v<u.length;v++){const y=c[v],m=u[v],O=y.el&&(y.type===he||!gt(y,m)||y.shapeFlag&198)?p(y.el):h;P(y,m,O,null,b,g,_,x,!0)}},tt=(c,u,h,b,g)=>{if(u!==h){if(u!==J)for(const _ in u)!yt(_)&&!(_ in h)&&r(c,_,u[_],null,g,b);for(const _ in h){if(yt(_))continue;const x=h[_],v=u[_];x!==v&&_!=="value"&&r(c,_,v,x,g,b)}"value"in h&&r(c,"value",u.value,h.value,g)}},Dt=(c,u,h,b,g,_,x,v,y)=>{const m=u.el=c?c.el:l(""),O=u.anchor=c?c.anchor:l("");let{patchFlag:S,dynamicChildren:T,slotScopeIds:A}=u;A&&(v=v?v.concat(A):A),c==null?(n(m,h,b),n(O,h,b),L(u.children||[],h,O,g,_,x,v,y)):S>0&&S&64&&T&&c.dynamicChildren&&c.dynamicChildren.length===T.length?(ee(c.dynamicChildren,T,h,g,_,x,v),(u.key!=null||g&&u===g.subTree)&&Pi(c,u,!0)):W(c,u,h,O,g,_,x,v,y)},Lt=(c,u,h,b,g,_,x,v,y)=>{u.slotScopeIds=v,c==null?u.shapeFlag&512?g.ctx.activate(u,h,b,x,y):rs(u,h,b,g,_,x,y):Ys(c,u,y)},rs=(c,u,h,b,g,_,x)=>{const v=c.component=Lo(c,b,g);if(di(c)&&(v.ctx.renderer=dt),No(v,!1,x),v.asyncDep){if(g&&g.registerDep(v,oe,x),!c.el){const y=v.subTree=$e(qe);H(null,y,u,h),c.placeholder=y.el}}else oe(v,c,u,h,g,_,x)},Ys=(c,u,h)=>{const b=u.component=c.component;if(po(c,u,h))if(b.asyncDep&&!b.asyncResolved){Y(b,u,h);return}else b.next=u,b.update();else u.el=c.el,b.vnode=u},oe=(c,u,h,b,g,_,x)=>{const v=()=>{if(c.isMounted){let{next:S,bu:T,u:A,parent:j,vnode:k}=c;{const xe=Ri(c);if(xe){S&&(S.el=k.el,Y(c,S,x)),xe.asyncDep.then(()=>{ue(()=>{c.isUnmounted||m()},g)});return}}let q=S,Z;ze(c,!1),S?(S.el=k.el,Y(c,S,x)):S=k,T&&cs(T),(Z=S.props&&S.props.onVnodeBeforeUpdate)&&we(Z,j,S,k),ze(c,!0);const te=pn(c),ve=c.subTree;c.subTree=te,P(ve,te,p(ve.el),Nt(ve),c,g,_),S.el=te.el,q===null&&go(c,te.el),A&&ue(A,g),(Z=S.props&&S.props.onVnodeUpdated)&&ue(()=>we(Z,j,S,k),g)}else{let S;const{el:T,props:A}=u,{bm:j,m:k,parent:q,root:Z,type:te}=c,ve=wt(u);ze(c,!1),j&&cs(j),!ve&&(S=A&&A.onVnodeBeforeMount)&&we(S,q,u),ze(c,!0);{Z.ce&&Z.ce._hasShadowRoot()&&Z.ce._injectChildStyle(te,c.parent?c.parent.type:void 0);const xe=c.subTree=pn(c);P(null,xe,h,b,c,g,_),u.el=xe.el}if(k&&ue(k,g),!ve&&(S=A&&A.onVnodeMounted)){const xe=u;ue(()=>we(S,q,xe),g)}(u.shapeFlag&256||q&&wt(q.vnode)&&q.vnode.shapeFlag&256)&&c.a&&ue(c.a,g),c.isMounted=!0,u=h=b=null}};c.scope.on();const y=c.effect=new Vn(v);c.scope.off();const m=c.update=y.run.bind(y),O=c.job=y.runIfDirty.bind(y);O.i=c,O.id=c.uid,y.scheduler=()=>Vs(O),ze(c,!0),m()},Y=(c,u,h)=>{u.component=c;const b=c.vnode.props;c.vnode=u,c.next=null,mo(c,u.props,b,h),xo(c,u.children,h),He(),on(c),Be()},W=(c,u,h,b,g,_,x,v,y=!1)=>{const m=c&&c.children,O=c?c.shapeFlag:0,S=u.children,{patchFlag:T,shapeFlag:A}=u;if(T>0){if(T&128){jt(m,S,h,b,g,_,x,v,y);return}else if(T&256){Ge(m,S,h,b,g,_,x,v,y);return}}A&8?(O&16&&at(m,g,_),S!==m&&a(h,S)):O&16?A&16?jt(m,S,h,b,g,_,x,v,y):at(m,g,_,!0):(O&8&&a(h,""),A&16&&L(S,h,b,g,_,x,v,y))},Ge=(c,u,h,b,g,_,x,v,y)=>{c=c||rt,u=u||rt;const m=c.length,O=u.length,S=Math.min(m,O);let T;for(T=0;T<S;T++){const A=u[T]=y?je(u[T]):Ee(u[T]);P(c[T],A,h,null,g,_,x,v,y)}m>O?at(c,g,_,!0,!1,S):L(u,h,b,g,_,x,v,y,S)},jt=(c,u,h,b,g,_,x,v,y)=>{let m=0;const O=u.length;let S=c.length-1,T=O-1;for(;m<=S&&m<=T;){const A=c[m],j=u[m]=y?je(u[m]):Ee(u[m]);if(gt(A,j))P(A,j,h,null,g,_,x,v,y);else break;m++}for(;m<=S&&m<=T;){const A=c[S],j=u[T]=y?je(u[T]):Ee(u[T]);if(gt(A,j))P(A,j,h,null,g,_,x,v,y);else break;S--,T--}if(m>S){if(m<=T){const A=T+1,j=A<O?u[A].el:b;for(;m<=T;)P(null,u[m]=y?je(u[m]):Ee(u[m]),h,j,g,_,x,v,y),m++}}else if(m>T)for(;m<=S;)ye(c[m],g,_,!0),m++;else{const A=m,j=m,k=new Map;for(m=j;m<=T;m++){const ae=u[m]=y?je(u[m]):Ee(u[m]);ae.key!=null&&k.set(ae.key,m)}let q,Z=0;const te=T-j+1;let ve=!1,xe=0;const ht=new Array(te);for(m=0;m<te;m++)ht[m]=0;for(m=A;m<=S;m++){const ae=c[m];if(Z>=te){ye(ae,g,_,!0);continue}let Se;if(ae.key!=null)Se=k.get(ae.key);else for(q=j;q<=T;q++)if(ht[q-j]===0&&gt(ae,u[q])){Se=q;break}Se===void 0?ye(ae,g,_,!0):(ht[Se-j]=m+1,Se>=xe?xe=Se:ve=!0,P(ae,u[Se],h,null,g,_,x,v,y),Z++)}const Qs=ve?To(ht):rt;for(q=Qs.length-1,m=te-1;m>=0;m--){const ae=j+m,Se=u[ae],Zs=u[ae+1],en=ae+1<O?Zs.el||Mi(Zs):b;ht[m]===0?P(null,Se,h,en,g,_,x,v,y):ve&&(q<0||m!==Qs[q]?Je(Se,h,en,2):q--)}}},Je=(c,u,h,b,g=null)=>{const{el:_,type:x,transition:v,children:y,shapeFlag:m}=c;if(m&6){Je(c.component.subTree,u,h,b);return}if(m&128){c.suspense.move(u,h,b);return}if(m&64){x.move(c,u,h,dt);return}if(x===he){n(_,u,h);for(let S=0;S<y.length;S++)Je(y[S],u,h,b);n(c.anchor,u,h);return}if(x===_s){B(c,u,h);return}if(b!==2&&m&1&&v)if(b===0)v.beforeEnter(_),n(_,u,h),ue(()=>v.enter(_),g);else{const{leave:S,delayLeave:T,afterLeave:A}=v,j=()=>{c.ctx.isUnmounted?i(_):n(_,u,h)},k=()=>{_._isLeaving&&_[Br](!0),S(_,()=>{j(),A&&A()})};T?T(_,j,k):k()}else n(_,u,h)},ye=(c,u,h,b=!1,g=!1)=>{const{type:_,props:x,ref:v,children:y,dynamicChildren:m,shapeFlag:O,patchFlag:S,dirs:T,cacheIndex:A,memo:j}=c;if(S===-2&&(g=!1),v!=null&&(He(),St(v,null,h,c,!0),Be()),A!=null&&(u.renderCache[A]=void 0),O&256){u.ctx.deactivate(c);return}const k=O&1&&T,q=!wt(c);let Z;if(q&&(Z=x&&x.onVnodeBeforeUnmount)&&we(Z,u,c),O&6)Bi(c.component,h,b);else{if(O&128){c.suspense.unmount(h,b);return}k&&Ye(c,null,u,"beforeUnmount"),O&64?c.type.remove(c,u,h,dt,b):m&&!m.hasOnce&&(_!==he||S>0&&S&64)?at(m,u,h,!1,!0):(_===he&&S&384||!g&&O&16)&&at(y,u,h),b&&zs(c)}const te=j!=null&&A==null;(q&&(Z=x&&x.onVnodeUnmounted)||k||te)&&ue(()=>{Z&&we(Z,u,c),k&&Ye(c,null,u,"unmounted"),te&&(c.el=null)},h)},zs=c=>{const{type:u,el:h,anchor:b,transition:g}=c;if(u===he){Hi(h,b);return}if(u===_s){E(c);return}const _=()=>{i(h),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(c.shapeFlag&1&&g&&!g.persisted){const{leave:x,delayLeave:v}=g,y=()=>x(h,_);v?v(c.el,_,y):y()}else _()},Hi=(c,u)=>{let h;for(;c!==u;)h=w(c),i(c),c=h;i(u)},Bi=(c,u,h)=>{const{bum:b,scope:g,job:_,subTree:x,um:v,m:y,a:m}=c;mn(y),mn(m),b&&cs(b),g.stop(),_&&(_.flags|=8,ye(x,c,u,h)),v&&ue(v,u),ue(()=>{c.isUnmounted=!0},u)},at=(c,u,h,b=!1,g=!1,_=0)=>{for(let x=_;x<c.length;x++)ye(c[x],u,h,b,g)},Nt=c=>{if(c.shapeFlag&6)return Nt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=w(c.anchor||c.el),h=u&&u[$r];return h?w(h):u};let os=!1;const Xs=(c,u,h)=>{let b;c==null?u._vnode&&(ye(u._vnode,null,null,!0),b=u._vnode.component):P(u._vnode||null,c,u,null,null,null,h),u._vnode=c,os||(os=!0,on(b),oi(),os=!1)},dt={p:P,um:ye,m:Je,r:zs,mt:rs,mc:L,pc:W,pbc:ee,n:Nt,o:e};return{render:Xs,hydrate:void 0,createApp:lo(Xs)}}function gs({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function ze({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Co(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Pi(e,t,s=!1){const n=e.children,i=t.children;if(R(n)&&R(i))for(let r=0;r<n.length;r++){const o=n[r];let l=i[r];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[r]=je(i[r]),l.el=o.el),!s&&l.patchFlag!==-2&&Pi(o,l)),l.type===is&&(l.patchFlag===-1&&(l=i[r]=je(l)),l.el=o.el),l.type===qe&&!l.el&&(l.el=o.el)}}function To(e){const t=e.slice(),s=[0];let n,i,r,o,l;const f=e.length;for(n=0;n<f;n++){const d=e[n];if(d!==0){if(i=s[s.length-1],e[i]<d){t[n]=i,s.push(n);continue}for(r=0,o=s.length-1;r<o;)l=r+o>>1,e[s[l]]<d?r=l+1:o=l;d<e[s[r]]&&(r>0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}function Ri(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ri(t)}function mn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Mi(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Mi(t.subTree):null}const Ii=e=>e.__isSuspense;function Oo(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):Ir(e)}const he=Symbol.for("v-fgt"),is=Symbol.for("v-txt"),qe=Symbol.for("v-cmt"),_s=Symbol.for("v-stc"),Tt=[];let de=null;function Ce(e=!1){Tt.push(de=e?null:[])}function Eo(){Tt.pop(),de=Tt[Tt.length-1]||null}let Pt=1;function bn(e,t=!1){Pt+=e,e<0&&de&&t&&(de.hasOnce=!0)}function Fi(e){return e.dynamicChildren=Pt>0?de||rt:null,Eo(),Pt>0&&de&&de.push(e),e}function De(e,t,s,n,i,r){return Fi(Q(e,t,s,n,i,r,!0))}function Ao(e,t,s,n,i){return Fi($e(e,t,s,n,i,!0))}function Di(e){return e?e.__v_isVNode===!0:!1}function gt(e,t){return e.type===t.type&&e.key===t.key}const Li=({key:e})=>e??null,Kt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?z(e)||re(e)||F(e)?{i:Pe,r:e,k:t,f:!!s}:e:null);function Q(e,t=null,s=null,n=0,i=null,r=e===he?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Li(t),ref:t&&Kt(t),scopeId:ci,slotScopeIds:null,children:s,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:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:Pe};return l?(Gs(f,s),r&128&&e.normalize(f)):s&&(f.shapeFlag|=z(s)?8:16),Pt>0&&!o&&de&&(f.patchFlag>0||r&6)&&f.patchFlag!==32&&de.push(f),f}const $e=Po;function Po(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===Zr)&&(e=qe),Di(e)){const l=ut(e,t,!0);return s&&Gs(l,s),Pt>0&&!r&&de&&(l.shapeFlag&6?de[de.indexOf(e)]=l:de.push(l)),l.patchFlag=-2,l}if(Uo(e)&&(e=e.__vccOpts),t){t=Ro(t);let{class:l,style:f}=t;l&&!z(l)&&(t.class=Ds(l)),V(f)&&(Ks(f)&&!R(f)&&(f=ne({},f)),t.style=Fs(f))}const o=z(e)?1:Ii(e)?128:Hr(e)?64:V(e)?4:F(e)?2:0;return Q(e,t,s,n,i,o,r,!0)}function Ro(e){return e?Ks(e)||wi(e)?ne({},e):e:null}function ut(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:f}=e,d=t?Io(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Li(d),ref:t&&t.ref?s&&r?R(r)?r.concat(Kt(t)):[r,Kt(t)]:Kt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==he?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ut(e.ssContent),ssFallback:e.ssFallback&&ut(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&ks(a,f.clone(a)),a}function Mo(e=" ",t=0){return $e(is,null,e,t)}function _t(e="",t=!1){return t?(Ce(),Ao(qe,null,e)):$e(qe,null,e)}function Ee(e){return e==null||typeof e=="boolean"?$e(qe):R(e)?$e(he,null,e.slice()):Di(e)?je(e):$e(is,null,String(e))}function je(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ut(e)}function Gs(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(R(t))s=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),Gs(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!wi(t)?t._ctx=Pe:i===3&&Pe&&(Pe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else F(t)?(t={default:t,_ctx:Pe},s=32):(t=String(t),n&64?(s=16,t=[Mo(t)]):s=8);e.children=t,e.shapeFlag|=s}function Io(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=Ds([t.class,n.class]));else if(i==="style")t.style=Fs([t.style,n.style]);else if(Yt(i)){const r=t[i],o=n[i];o&&r!==o&&!(R(r)&&r.includes(o))?t[i]=r?[].concat(r,o):o:o==null&&r==null&&!zt(i)&&(t[i]=o)}else i!==""&&(t[i]=n[i])}return t}function we(e,t,s,n=null){Ie(e,t,7,[s,n])}const Fo=bi();let Do=0;function Lo(e,t,s){const n=e.type,i=(t?t.appContext:e.appContext)||Fo,r={uid:Do++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Zi(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Ti(n,i),emitsOptions:yi(n,i),emit:null,emitted:null,propsDefaults:J,inheritAttrs:n.inheritAttrs,ctx:J,data:J,props:J,attrs:J,slots:J,refs:J,setupState:J,setupContext:null,suspense:s,suspenseId:s?s.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 r.ctx={_:r},r.root=t?t.root:r,r.emit=fo.bind(null,r),e.ce&&e.ce(r),r}let fe=null;const jo=()=>fe||Pe;let Jt,As;{const e=Qt(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Jt=t("__VUE_INSTANCE_SETTERS__",s=>fe=s),As=t("__VUE_SSR_SETTERS__",s=>Rt=s)}const Ft=e=>{const t=fe;return Jt(e),e.scope.on(),()=>{e.scope.off(),Jt(t)}},yn=()=>{fe&&fe.scope.off(),Jt(null)};function ji(e){return e.vnode.shapeFlag&4}let Rt=!1;function No(e,t=!1,s=!1){t&&As(t);const{props:n,children:i}=e.vnode,r=ji(e);_o(e,n,r,t),vo(e,i,s||t);const o=r?$o(e,t):void 0;return t&&As(!1),o}function $o(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,eo);const{setup:n}=s;if(n){He();const i=e.setupContext=n.length>1?Bo(e):null,r=Ft(e),o=It(n,e,0,[e.props,i]),l=Ln(o);if(Be(),r(),(l||e.sp)&&!wt(e)&&ai(e),l){if(o.then(yn,yn),t)return o.then(f=>{vn(e,f)}).catch(f=>{ts(f,e,0)});e.asyncDep=o}else vn(e,o)}else Ni(e)}function vn(e,t,s){F(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:V(t)&&(e.setupState=ni(t)),Ni(e)}function Ni(e,t,s){const n=e.type;e.render||(e.render=n.render||Re);{const i=Ft(e);He();try{to(e)}finally{Be(),i()}}}const Ho={get(e,t){return ie(e,"get",""),e[t]}};function Bo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Ho),slots:e.slots,emit:e.emit,expose:t}}function Js(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ni(vr(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Ct)return Ct[s](e)},has(t,s){return s in t||s in Ct}})):e.proxy}function Uo(e){return F(e)&&"__vccOpts"in e}const Ko=(e,t)=>Or(e,t,Rt),Vo="3.5.34";/**
14
+ * @vue/runtime-dom v3.5.34
15
+ * (c) 2018-present Yuxi (Evan) You and Vue contributors
16
+ * @license MIT
17
+ **/let Ps;const xn=typeof window<"u"&&window.trustedTypes;if(xn)try{Ps=xn.createPolicy("vue",{createHTML:e=>e})}catch{}const $i=Ps?e=>Ps.createHTML(e):e=>e,ko="http://www.w3.org/2000/svg",Wo="http://www.w3.org/1998/Math/MathML",Le=typeof document<"u"?document:null,Sn=Le&&Le.createElement("template"),qo={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const i=t==="svg"?Le.createElementNS(ko,e):t==="mathml"?Le.createElementNS(Wo,e):s?Le.createElement(e,{is:s}):Le.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Le.createTextNode(e),createComment:e=>Le.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Le.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const o=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{Sn.innerHTML=$i(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Sn.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},Go=Symbol("_vtc");function Jo(e,t,s){const n=e[Go];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const wn=Symbol("_vod"),Yo=Symbol("_vsh"),zo=Symbol(""),Xo=/(?:^|;)\s*display\s*:/;function Qo(e,t,s){const n=e.style,i=z(s);let r=!1;if(s&&!i){if(t)if(z(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&bt(n,l,"")}else for(const o in t)s[o]==null&&bt(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?el(e,o,!z(t)&&t?t[o]:void 0,l)||bt(n,o,l):bt(n,o,"")}}else if(i){if(t!==s){const o=n[zo];o&&(s+=";"+o),n.cssText=s,r=Xo.test(s)}}else t&&e.removeAttribute("style");wn in e&&(e[wn]=r?n.display:"",e[Yo]&&(n.display="none"))}const Cn=/\s*!important$/;function bt(e,t,s){if(R(s))s.forEach(n=>bt(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=Zo(e,t);Cn.test(s)?e.setProperty(et(n),s.replace(Cn,""),"important"):e[n]=s}}const Tn=["Webkit","Moz","ms"],ms={};function Zo(e,t){const s=ms[t];if(s)return s;let n=ge(t);if(n!=="filter"&&n in e)return ms[t]=n;n=$n(n);for(let i=0;i<Tn.length;i++){const r=Tn[i]+n;if(r in e)return ms[t]=r}return t}function el(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&z(n)&&s===n}const On="http://www.w3.org/1999/xlink";function En(e,t,s,n,i,r=Xi(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(On,t.slice(6,t.length)):e.setAttributeNS(On,t,s):s==null||r&&!Bn(s)?e.removeAttribute(t):e.setAttribute(t,r?"":Me(s)?String(s):s)}function An(e,t,s,n,i){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?$i(s):s);return}const r=e.tagName;if(t==="value"&&r!=="PROGRESS"&&!r.includes("-")){const l=r==="OPTION"?e.getAttribute("value")||"":e.value,f=s==null?e.type==="checkbox"?"on":"":String(s);(l!==f||!("_value"in e))&&(e.value=f),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=Bn(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(i||t)}function tl(e,t,s,n){e.addEventListener(t,s,n)}function sl(e,t,s,n){e.removeEventListener(t,s,n)}const Pn=Symbol("_vei");function nl(e,t,s,n,i=null){const r=e[Pn]||(e[Pn]={}),o=r[t];if(n&&o)o.value=n;else{const[l,f]=il(t);if(n){const d=r[t]=ll(n,i);tl(e,l,d,f)}else o&&(sl(e,l,o,f),r[t]=void 0)}}const Rn=/(?:Once|Passive|Capture)$/;function il(e){let t;if(Rn.test(e)){t={};let n;for(;n=e.match(Rn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):et(e.slice(2)),t]}let bs=0;const rl=Promise.resolve(),ol=()=>bs||(rl.then(()=>bs=0),bs=Date.now());function ll(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ie(cl(n,s.value),t,5,[n])};return s.value=e,s.attached=ol(),s}function cl(e,t){if(R(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Mn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,fl=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?Jo(e,n,o):t==="style"?Qo(e,s,n):Yt(t)?zt(t)||nl(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ul(e,t,n,o))?(An(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&En(e,t,n,o,r,t!=="value")):e._isVueCE&&(al(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!z(n)))?An(e,ge(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),En(e,t,n,o))};function ul(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Mn(t)&&F(s));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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Mn(t)&&z(s)?!1:t in e}function al(e,t){const s=e._def.props;if(!s)return!1;const n=ge(t);return Array.isArray(s)?s.some(i=>ge(i)===n):Object.keys(s).some(i=>ge(i)===n)}const dl=ne({patchProp:fl},qo);let In;function hl(){return In||(In=So(dl))}const pl=(...e)=>{const t=hl().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=_l(n);if(!i)return;const r=t._component;!F(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,gl(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function gl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function _l(e){return z(e)?document.querySelector(e):e}const ml={class:"app-header"},bl=["aria-label"],yl={class:"app-main"},vl=["aria-labelledby"],xl=["id"],Sl={class:"group-list"},wl={class:"check"},Cl=["checked","disabled","onChange"],Tl={key:0,class:"required-tag"},Ol={class:"app-footer"},El={class:"actions"},Al=["disabled"],Pl=["disabled"],Rl=["disabled"],Ml=["disabled"],Il={key:0,class:"preview"},Fl={key:1,class:"build-status"},Dl={class:"build-state"},Ll={key:0,class:"preview"},jl={key:1,class:"preview"},Nl=Ur({__name:"App",setup(e){const t=nt("light");function s(I){t.value=I,document.documentElement.dataset.theme=I,localStorage.setItem("waelio-theme",I)}function n(){s(t.value==="light"?"dark":"light")}const i=[{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"]}],r=es(Object.fromEntries(i.map(I=>[I.key,new Set(I.required??[])])));function o(I,L){const D=r[I];D&&(D.has(L)?D.delete(L):D.add(L))}function l(I,L){var D;return((D=I.required)==null?void 0:D.includes(L))??!1}function f(I,L){var D;return((D=r[I])==null?void 0:D.has(L))??!1}const d=nt(""),a=nt(!1),p={pages:"selectedPages",features:"selectedFeatures",integrations:"selectedIntegrations",locales:"selectedLocales",roles:"selectedRoles",brandTones:"selectedBrandTones",visualStyles:"selectedVisualStyles",contentModels:"selectedContentModels",seoFocuses:"selectedSEOFocuses"};function w(){const I={};for(const D of i){const ee=p[D.key]??D.key;I[ee]=Array.from(r[D.key]??[])}const L={$schema:"https://waelio.dev/schemas/blueprint/v1.json",generator:{name:"waelio-cli",version:"0.1.0",url:"https://github.com/waelio/cli"},id:crypto.randomUUID(),createdAt:new Date().toISOString(),selections:I};d.value=JSON.stringify(L,null,2),a.value=!1}function C(){d.value||w(),a.value=!0}function $(){d.value||w();const I=new Blob([d.value],{type:"application/json"}),L=URL.createObjectURL(I),D=document.createElement("a");D.href=L,D.download="blueprint.json",D.click(),URL.revokeObjectURL(L)}const P="https://siteforge.waelio.com",N=nt("idle"),H=nt([]),M=nt("");function B(I){H.value.push(`[${new Date().toLocaleTimeString()}] ${I}`)}async function E(){d.value||w(),H.value=[],M.value="",N.value="sending";const I=`${P.replace(/\/$/,"")}/api/generate`;B(`POST ${I}`);try{const L=await fetch(I,{method:"POST",headers:{"Content-Type":"application/json"},body:d.value});if(!L.ok){const ee=await L.text();B(`error: ${L.status} ${ee}`),N.value="error";return}const D=await L.json();M.value=JSON.stringify(D,null,2),N.value="done",B("build completed")}catch(L){B(`network error: ${L.message}`),N.value="error"}}function X(){if(!M.value)return;const I=new Blob([M.value],{type:"application/json"}),L=URL.createObjectURL(I),D=document.createElement("a");D.href=L,D.download="siteforge-package.json",D.click(),URL.revokeObjectURL(L)}function be(){for(const I of i)r[I.key]=new Set(I.required??[]);d.value="",a.value=!1,H.value=[],M.value="",N.value="idle"}return pi(()=>{const I=localStorage.getItem("waelio-theme"),L=window.matchMedia("(prefers-color-scheme: dark)").matches;s(I??(L?"dark":"light"))}),(I,L)=>(Ce(),De(he,null,[Q("header",ml,[L[0]||(L[0]=Q("h1",{class:"app-title"},"waelio/cli",-1)),Q("button",{type:"button",class:"theme-toggle","aria-label":t.value==="light"?"Switch to dark mode":"Switch to light mode",onClick:n},Ve(t.value==="light"?"Dark":"Light"),9,bl)]),Q("main",yl,[(Ce(),De(he,null,fn(i,D=>Q("section",{key:D.key,class:"group","aria-labelledby":`group-${D.key}`},[Q("h2",{id:`group-${D.key}`,class:"group-title"},Ve(D.title),9,xl),Q("ul",Sl,[(Ce(!0),De(he,null,fn(D.items,ee=>(Ce(),De("li",{key:ee},[Q("label",wl,[Q("input",{type:"checkbox",checked:f(D.key,ee),disabled:l(D,ee),onChange:tt=>o(D.key,ee)},null,40,Cl),Q("span",null,Ve(ee),1),l(D,ee)?(Ce(),De("span",Tl," required ")):_t("",!0)])]))),128))])],8,vl)),64))]),Q("footer",Ol,[Q("div",El,[Q("button",{type:"button",class:"btn",onClick:w}," Generate "),Q("button",{type:"button",class:"btn",onClick:be},"Reset"),Q("button",{type:"button",class:"btn",disabled:!d.value,onClick:C}," View ",8,Al),Q("button",{type:"button",class:"btn",disabled:!d.value,onClick:$}," Download ",8,Pl),Q("button",{type:"button",class:"btn",disabled:N.value==="connecting"||N.value==="sending"||N.value==="running",onClick:E}," Build ",8,Rl),Q("button",{type:"button",class:"btn",disabled:!M.value,onClick:X}," Download package ",8,Ml)]),a.value&&d.value?(Ce(),De("pre",Il,Ve(d.value),1)):_t("",!0),N.value!=="idle"?(Ce(),De("section",Fl,[Q("p",Dl,"Build: "+Ve(N.value),1),H.value.length?(Ce(),De("pre",Ll,Ve(H.value.join(`
18
+ `)),1)):_t("",!0),M.value?(Ce(),De("pre",jl,Ve(M.value),1)):_t("",!0)])):_t("",!0)])],64))}}),$l=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},Hl=$l(Nl,[["__scopeId","data-v-fc5029fd"]]);pl(Hl).mount("#app");
@@ -0,0 +1,4 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" role="img" aria-label="waelio CLI favicon">
2
+ <rect width="64" height="64" rx="14" fill="#111827" />
3
+ <path d="M14 16L22 48L32 26L42 48L50 16H43.5L38.5 37.5L32 21L25.5 37.5L20.5 16H14Z" fill="#ffffff" />
4
+ </svg>
@@ -0,0 +1,44 @@
1
+ <!doctype html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0" />
6
+ <meta name="theme-color" content="#ffffff" />
7
+ <title>waelio/cli</title>
8
+ <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
9
+ <meta
10
+ name="description"
11
+ content="Build waelio/siteforge from a Vite + TypeScript + Vue browser interface."
12
+ />
13
+ <style>
14
+ :root {
15
+ --bg: #ffffff;
16
+ --fg: #000000;
17
+ }
18
+ :root[data-theme="dark"] {
19
+ --bg: #000000;
20
+ --fg: #ffffff;
21
+ }
22
+ html,
23
+ body,
24
+ #app {
25
+ margin: 0;
26
+ min-height: 100%;
27
+ background: var(--bg);
28
+ color: var(--fg);
29
+ }
30
+ body {
31
+ min-height: 100vh;
32
+ font-family:
33
+ system-ui,
34
+ -apple-system,
35
+ sans-serif;
36
+ }
37
+ </style>
38
+ <script type="module" crossorigin src="/assets/index-DS_pYwiX.js"></script>
39
+ <link rel="stylesheet" crossorigin href="/assets/index-BJ1Dzrgp.css">
40
+ </head>
41
+ <body>
42
+ <div id="app"></div>
43
+ </body>
44
+ </html>