@ganglion/xacpx-relay 0.2.2 → 0.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +0,0 @@
1
- import{d as p,u as m,c as r,a as e,b as g,w as v,v as x,e as n,f as i,t as l,g as y,h,r as c,i as _,o as d}from"./index-DE2bTqBl.js";import{_ as w}from"./BrandLogo.vue_vue_type_script_setup_true_lang-CSPZDDtK.js";const k={class:"flex h-screen items-center justify-center bg-bg"},V={class:"mb-2 flex justify-center"},S=["disabled"],N={key:0,class:"text-sm text-danger"},A=["disabled"],M=p({__name:"LoginView",setup(B){const o=m(),u=_(),a=c(""),t=c(!1);async function f(){if(!t.value){t.value=!0;try{await o.login(a.value)&&u.replace("/")}finally{t.value=!1}}}return(j,s)=>(d(),r("div",k,[e("form",{class:"w-80 space-y-3 rounded-lg border border-border bg-surface p-6 shadow-xl",onSubmit:h(f,["prevent"])},[e("div",V,[g(w)]),s[1]||(s[1]=e("label",{for:"access-token",class:"sr-only"},"Access token",-1)),v(e("input",{id:"access-token","onUpdate:modelValue":s[0]||(s[0]=b=>a.value=b),type:"password",autocomplete:"off","aria-describedby":"token-hint",class:"w-full rounded border border-border bg-bg px-3 py-2 text-fg placeholder:text-fg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent disabled:opacity-50",placeholder:"Access token",disabled:t.value},null,8,S),[[x,a.value]]),s[2]||(s[2]=e("p",{id:"token-hint",class:"text-sm text-fg-muted"},[n("Paste the access token from "),e("code",null,"xacpx-relay user new"),n(".")],-1)),i(o).error?(d(),r("p",N,l(i(o).error),1)):y("",!0),e("button",{class:"w-full rounded bg-accent px-3 py-2 text-white hover:bg-accent-hover disabled:opacity-50",type:"submit",disabled:t.value},l(t.value?"Signing in…":"Sign in"),9,A)],32)]))}});export{M as default};
@@ -1,6 +0,0 @@
1
- import{j as S,d as _,u as V,n as N,l as p,c as x,a as e,b,J as L,f as o,q as f,w as A,v as B,t as u,g as M,e as n,r as g,C as j,N as D,i as H,o as v}from"./index-DE2bTqBl.js";import{u as R}from"./theme-CaepIjgl.js";/**
2
- * @license lucide-vue-next v1.0.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const T=S("log-out",[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]]),z={class:"mx-auto max-w-2xl p-6"},P={class:"mb-6 flex items-center justify-between"},$={"data-test":"theme-setting",class:"mb-8"},q={class:"inline-flex gap-1 rounded-lg border border-border bg-bg p-1"},E={class:"mb-8"},G={class:"flex gap-2"},I={key:0,class:"mt-2 rounded bg-bg border border-border p-2 text-xs text-fg"},J={class:"block break-all"},K={class:"mb-8"},O={class:"text-sm text-fg-muted"},U={class:"text-fg"},Y={class:"text-fg"},X=_({__name:"SettingsView",setup(F){const h=V(),a=R(),k=H(),r=g(null),i=g(""),d=g("");N(async()=>{try{const s=await p.get("/api/config");r.value=s.historyRetention}catch{}});async function y(){const s=await p.post("/api/instances/pairing-token",{name:d.value});i.value=s.token}async function w(){await j({title:"Sign out?",message:"You'll need to sign in again to access the dashboard.",confirmLabel:"Sign out",tone:"default"})&&(await h.logout(),k.push({name:"login"}))}return(s,t)=>{var m,c;const C=D("router-link");return v(),x("div",z,[e("header",P,[t[4]||(t[4]=e("h1",{class:"text-lg font-semibold text-fg"},"Settings",-1)),b(C,{to:"/",class:"text-sm text-fg-muted hover:underline"},{default:L(()=>[...t[3]||(t[3]=[n("← Back",-1)])]),_:1})]),e("section",$,[t[5]||(t[5]=e("h2",{class:"mb-2 text-sm font-semibold uppercase text-fg-muted"},"Appearance",-1)),e("div",q,[e("button",{"data-test":"theme-dark",class:f(["rounded-md px-3 py-1 text-sm",o(a).mode==="dark"?"bg-accent/10 text-accent":"text-fg-muted hover:bg-fg/5"]),onClick:t[0]||(t[0]=l=>o(a).set("dark"))},"Dark",2),e("button",{"data-test":"theme-light",class:f(["rounded-md px-3 py-1 text-sm",o(a).mode==="light"?"bg-accent/10 text-accent":"text-fg-muted hover:bg-fg/5"]),onClick:t[1]||(t[1]=l=>o(a).set("light"))},"Light",2)])]),e("section",E,[t[7]||(t[7]=e("h2",{class:"mb-2 text-sm font-semibold uppercase text-fg-muted"},"Add an instance",-1)),e("div",G,[A(e("input",{"onUpdate:modelValue":t[2]||(t[2]=l=>d.value=l),placeholder:"instance name (optional)",class:"flex-1 rounded border border-border bg-bg px-2 py-1 text-sm text-fg placeholder:text-fg-muted focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-accent"},null,512),[[B,d.value]]),e("button",{"data-test":"gen-pairing",class:"rounded bg-accent px-3 py-1 text-sm text-white hover:bg-accent-hover",onClick:y},"Generate token")]),i.value?(v(),x("div",I,[t[6]||(t[6]=e("div",null,"Run on the xacpx host:",-1)),e("code",J,"xacpx channel add relay --url <this-relay-ws-url> --token "+u(i.value),1)])):M("",!0)]),e("section",K,[t[11]||(t[11]=e("h2",{class:"mb-2 text-sm font-semibold uppercase text-fg-muted"},"History retention",-1)),e("p",O,[t[8]||(t[8]=n(" Keeps the newest ",-1)),e("strong",U,u(((m=r.value)==null?void 0:m.maxPerSession)??"—"),1),t[9]||(t[9]=n(" messages per session, for up to ",-1)),e("strong",Y,u(((c=r.value)==null?void 0:c.days)??"—"),1),t[10]||(t[10]=n(" days. Configured server-side. ",-1))])]),e("section",null,[t[13]||(t[13]=e("h2",{class:"mb-2 text-sm font-semibold uppercase text-fg-muted"},"Account",-1)),e("button",{"data-test":"logout",class:"inline-flex items-center gap-2 rounded-lg border border-border px-3 py-1.5 text-sm text-fg-muted transition-colors hover:border-danger/40 hover:bg-danger/10 hover:text-danger",onClick:w},[b(o(T),{size:15}),t[12]||(t[12]=n("Sign out ",-1))])])])}}});export{X as default};
@@ -1,80 +0,0 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-CYhQnBi-.js","assets/BrandLogo.vue_vue_type_script_setup_true_lang-CSPZDDtK.js","assets/DashboardView-Bhx2FJSv.js","assets/theme-CaepIjgl.js","assets/DashboardView-AMivJ-D8.css","assets/SettingsView-hmSvIsKD.js"])))=>i.map(i=>d[i]);
2
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const 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.35
4
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
5
- * @license MIT
6
- **/function fr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const le={},Kt=[],tt=()=>{},Hi=()=>!1,rs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),is=e=>e.startsWith("onUpdate:"),_e=Object.assign,ar=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},wl=Object.prototype.hasOwnProperty,ne=(e,t)=>wl.call(e,t),k=Array.isArray,Gt=e=>Nn(e)==="[object Map]",os=e=>Nn(e)==="[object Set]",Nr=e=>Nn(e)==="[object Date]",W=e=>typeof e=="function",ue=e=>typeof e=="string",De=e=>typeof e=="symbol",se=e=>e!==null&&typeof e=="object",ki=e=>(se(e)||W(e))&&W(e.then)&&W(e.catch),Ui=Object.prototype.toString,Nn=e=>Ui.call(e),Cl=e=>Nn(e).slice(8,-1),Ki=e=>Nn(e)==="[object Object]",ls=e=>ue(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,an=fr(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),cs=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},xl=/-\w/g,Oe=cs(e=>e.replace(xl,t=>t.slice(1).toUpperCase())),Rl=/\B([A-Z])/g,St=cs(e=>e.replace(Rl,"-$1").toLowerCase()),us=cs(e=>e.charAt(0).toUpperCase()+e.slice(1)),Cs=cs(e=>e?`on${us(e)}`:""),et=(e,t)=>!Object.is(e,t),Un=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Gi=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},fs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Tl=e=>{const t=ue(e)?Number(e):NaN;return isNaN(t)?e:t};let Mr;const as=()=>Mr||(Mr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function dr(e){if(k(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=ue(s)?Nl(s):dr(s);if(r)for(const i in r)t[i]=r[i]}return t}else if(ue(e)||se(e))return e}const Ol=/;(?![^(]*\))/g,Pl=/:([^]+)/,Il=/\/\*[^]*?\*\//g;function Nl(e){const t={};return e.replace(Il,"").split(Ol).forEach(n=>{if(n){const s=n.split(Pl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function bn(e){let t="";if(ue(e))t=e;else if(k(e))for(let n=0;n<e.length;n++){const s=bn(e[n]);s&&(t+=s+" ")}else if(se(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Ml="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Ll=fr(Ml);function $i(e){return!!e||e===""}function Dl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=Mn(e[s],t[s]);return n}function Mn(e,t){if(e===t)return!0;let n=Nr(e),s=Nr(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=De(e),s=De(t),n||s)return e===t;if(n=k(e),s=k(t),n||s)return n&&s?Dl(e,t):!1;if(n=se(e),s=se(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 l=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(l&&!c||!l&&c||!Mn(e[o],t[o]))return!1}}return String(e)===String(t)}function Fl(e,t){return e.findIndex(n=>Mn(n,t))}const Wi=e=>!!(e&&e.__v_isRef===!0),ln=e=>ue(e)?e:e==null?"":k(e)||se(e)&&(e.toString===Ui||!W(e.toString))?Wi(e)?ln(e.value):JSON.stringify(e,qi,2):String(e),qi=(e,t)=>Wi(t)?qi(e,t.value):Gt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],i)=>(n[xs(s,i)+" =>"]=r,n),{})}:os(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>xs(n))}:De(t)?xs(t):se(t)&&!k(t)&&!Ki(t)?String(t):t,xs=(e,t="")=>{var n;return De(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/**
7
- * @vue/reactivity v3.5.35
8
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
9
- * @license MIT
10
- **/let me;class Ji{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&&me&&(me.active?(this.parent=me,this.index=(me.scopes||(me.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=me;try{return me=this,t()}finally{me=n}}}on(){++this._on===1&&(this.prevScope=me,me=this)}off(){if(this._on>0&&--this._on===0){if(me===this)me=this.prevScope;else{let t=me;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 zi(e){return new Ji(e)}function Qi(){return me}function Vl(e,t=!1){me&&me.cleanups.push(e)}let ce;const Rs=new WeakSet;class Yi{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,me&&(me.active?me.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Rs.has(this)&&(Rs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Zi(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Lr(this),eo(this);const t=ce,n=Ue;ce=this,Ue=!0;try{return this.fn()}finally{to(this),ce=t,Ue=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)gr(t);this.deps=this.depsTail=void 0,Lr(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Rs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Ks(this)&&this.run()}get dirty(){return Ks(this)}}let Xi=0,dn,hn;function Zi(e,t=!1){if(e.flags|=8,t){e.next=hn,hn=e;return}e.next=dn,dn=e}function hr(){Xi++}function pr(){if(--Xi>0)return;if(hn){let t=hn;for(hn=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;dn;){let t=dn;for(dn=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 eo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function to(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),gr(s),jl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Ks(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(no(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function no(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===En)||(e.globalVersion=En,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ks(e))))return;e.flags|=2;const t=e.dep,n=ce,s=Ue;ce=e,Ue=!0;try{eo(e);const r=e.fn(e._value);(t.version===0||et(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{ce=n,Ue=s,to(e),e.flags&=-3}}function gr(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)gr(i,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function jl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ue=!0;const so=[];function at(){so.push(Ue),Ue=!1}function dt(){const e=so.pop();Ue=e===void 0?!0:e}function Lr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ce;ce=void 0;try{t()}finally{ce=n}}}let En=0;class Bl{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 mr{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(!ce||!Ue||ce===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ce)n=this.activeLink=new Bl(ce,this),ce.deps?(n.prevDep=ce.depsTail,ce.depsTail.nextDep=n,ce.depsTail=n):ce.deps=ce.depsTail=n,ro(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=ce.depsTail,n.nextDep=void 0,ce.depsTail.nextDep=n,ce.depsTail=n,ce.deps===n&&(ce.deps=s)}return n}trigger(t){this.version++,En++,this.notify(t)}notify(t){hr();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{pr()}}}function ro(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)ro(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Wn=new WeakMap,Lt=Symbol(""),Gs=Symbol(""),An=Symbol("");function Ee(e,t,n){if(Ue&&ce){let s=Wn.get(e);s||Wn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new mr),r.map=s,r.key=n),r.track()}}function ct(e,t,n,s,r,i){const o=Wn.get(e);if(!o){En++;return}const l=c=>{c&&c.trigger()};if(hr(),t==="clear")o.forEach(l);else{const c=k(e),f=c&&ls(n);if(c&&n==="length"){const u=Number(s);o.forEach((a,p)=>{(p==="length"||p===An||!De(p)&&p>=u)&&l(a)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),f&&l(o.get(An)),t){case"add":c?f&&l(o.get("length")):(l(o.get(Lt)),Gt(e)&&l(o.get(Gs)));break;case"delete":c||(l(o.get(Lt)),Gt(e)&&l(o.get(Gs)));break;case"set":Gt(e)&&l(o.get(Lt));break}}pr()}function Hl(e,t){const n=Wn.get(e);return n&&n.get(t)}function Bt(e){const t=X(e);return t===e?t:(Ee(t,"iterate",An),Le(e)?t:t.map(Ge))}function ds(e){return Ee(e=X(e),"iterate",An),e}function Xe(e,t){return ht(e)?Jt(ft(e)?Ge(t):t):Ge(t)}const kl={__proto__:null,[Symbol.iterator](){return Ts(this,Symbol.iterator,e=>Xe(this,e))},concat(...e){return Bt(this).concat(...e.map(t=>k(t)?Bt(t):t))},entries(){return Ts(this,"entries",e=>(e[1]=Xe(this,e[1]),e))},every(e,t){return st(this,"every",e,t,void 0,arguments)},filter(e,t){return st(this,"filter",e,t,n=>n.map(s=>Xe(this,s)),arguments)},find(e,t){return st(this,"find",e,t,n=>Xe(this,n),arguments)},findIndex(e,t){return st(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return st(this,"findLast",e,t,n=>Xe(this,n),arguments)},findLastIndex(e,t){return st(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return st(this,"forEach",e,t,void 0,arguments)},includes(...e){return Os(this,"includes",e)},indexOf(...e){return Os(this,"indexOf",e)},join(e){return Bt(this).join(e)},lastIndexOf(...e){return Os(this,"lastIndexOf",e)},map(e,t){return st(this,"map",e,t,void 0,arguments)},pop(){return Zt(this,"pop")},push(...e){return Zt(this,"push",e)},reduce(e,...t){return Dr(this,"reduce",e,t)},reduceRight(e,...t){return Dr(this,"reduceRight",e,t)},shift(){return Zt(this,"shift")},some(e,t){return st(this,"some",e,t,void 0,arguments)},splice(...e){return Zt(this,"splice",e)},toReversed(){return Bt(this).toReversed()},toSorted(e){return Bt(this).toSorted(e)},toSpliced(...e){return Bt(this).toSpliced(...e)},unshift(...e){return Zt(this,"unshift",e)},values(){return Ts(this,"values",e=>Xe(this,e))}};function Ts(e,t,n){const s=ds(e),r=s[t]();return s!==e&&!Le(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=n(i.value)),i}),r}const Ul=Array.prototype;function st(e,t,n,s,r,i){const o=ds(e),l=o!==e&&!Le(e),c=o[t];if(c!==Ul[t]){const a=c.apply(e,i);return l?Ge(a):a}let f=n;o!==e&&(l?f=function(a,p){return n.call(this,Xe(e,a),p,e)}:n.length>2&&(f=function(a,p){return n.call(this,a,p,e)}));const u=c.call(o,f,s);return l&&r?r(u):u}function Dr(e,t,n,s){const r=ds(e),i=r!==e&&!Le(e);let o=n,l=!1;r!==e&&(i?(l=s.length===0,o=function(f,u,a){return l&&(l=!1,f=Xe(e,f)),n.call(this,f,Xe(e,u),a,e)}):n.length>3&&(o=function(f,u,a){return n.call(this,f,u,a,e)}));const c=r[t](o,...s);return l?Xe(e,c):c}function Os(e,t,n){const s=X(e);Ee(s,"iterate",An);const r=s[t](...n);return(r===-1||r===!1)&&hs(n[0])?(n[0]=X(n[0]),s[t](...n)):r}function Zt(e,t,n=[]){at(),hr();const s=X(e)[t].apply(e,n);return pr(),dt(),s}const Kl=fr("__proto__,__v_isRef,__isVue"),io=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(De));function Gl(e){De(e)||(e=String(e));const t=X(this);return Ee(t,"has",e),t.hasOwnProperty(e)}class oo{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?ec:fo:i?uo:co).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=k(t);if(!r){let c;if(o&&(c=kl[n]))return c;if(n==="hasOwnProperty")return Gl}const l=Reflect.get(t,n,de(t)?t:s);if((De(n)?io.has(n):Kl(n))||(r||Ee(t,"get",n),i))return l;if(de(l)){const c=o&&ls(n)?l:l.value;return r&&se(c)?Ws(c):c}return se(l)?r?Ws(l):Ln(l):l}}class lo extends oo{constructor(t=!1){super(!1,t)}set(t,n,s,r){let i=t[n];const o=k(t)&&ls(n);if(!this._isShallow){const f=ht(i);if(!Le(s)&&!ht(s)&&(i=X(i),s=X(s)),!o&&de(i)&&!de(s))return f||(i.value=s),!0}const l=o?Number(n)<t.length:ne(t,n),c=Reflect.set(t,n,s,de(t)?t:r);return t===X(r)&&(l?et(s,i)&&ct(t,"set",n,s):ct(t,"add",n,s)),c}deleteProperty(t,n){const s=ne(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&ct(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!De(n)||!io.has(n))&&Ee(t,"has",n),s}ownKeys(t){return Ee(t,"iterate",k(t)?"length":Lt),Reflect.ownKeys(t)}}class $l extends oo{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Wl=new lo,ql=new $l,Jl=new lo(!0);const $s=e=>e,Vn=e=>Reflect.getPrototypeOf(e);function zl(e,t,n){return function(...s){const r=this.__v_raw,i=X(r),o=Gt(i),l=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,f=r[e](...s),u=n?$s:t?Jt:Ge;return!t&&Ee(i,"iterate",c?Gs:Lt),_e(Object.create(f),{next(){const{value:a,done:p}=f.next();return p?{value:a,done:p}:{value:l?[u(a[0]),u(a[1])]:u(a),done:p}}})}}function jn(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ql(e,t){const n={get(r){const i=this.__v_raw,o=X(i),l=X(r);e||(et(r,l)&&Ee(o,"get",r),Ee(o,"get",l));const{has:c}=Vn(o),f=t?$s:e?Jt:Ge;if(c.call(o,r))return f(i.get(r));if(c.call(o,l))return f(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&Ee(X(r),"iterate",Lt),r.size},has(r){const i=this.__v_raw,o=X(i),l=X(r);return e||(et(r,l)&&Ee(o,"has",r),Ee(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,c=X(l),f=t?$s:e?Jt:Ge;return!e&&Ee(c,"iterate",Lt),l.forEach((u,a)=>r.call(i,f(u),f(a),o))}};return _e(n,e?{add:jn("add"),set:jn("set"),delete:jn("delete"),clear:jn("clear")}:{add(r){const i=X(this),o=Vn(i),l=X(r),c=!t&&!Le(r)&&!ht(r)?l:r;return o.has.call(i,c)||et(r,c)&&o.has.call(i,r)||et(l,c)&&o.has.call(i,l)||(i.add(c),ct(i,"add",c,c)),this},set(r,i){!t&&!Le(i)&&!ht(i)&&(i=X(i));const o=X(this),{has:l,get:c}=Vn(o);let f=l.call(o,r);f||(r=X(r),f=l.call(o,r));const u=c.call(o,r);return o.set(r,i),f?et(i,u)&&ct(o,"set",r,i):ct(o,"add",r,i),this},delete(r){const i=X(this),{has:o,get:l}=Vn(i);let c=o.call(i,r);c||(r=X(r),c=o.call(i,r)),l&&l.call(i,r);const f=i.delete(r);return c&&ct(i,"delete",r,void 0),f},clear(){const r=X(this),i=r.size!==0,o=r.clear();return i&&ct(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=zl(r,e,t)}),n}function _r(e,t){const n=Ql(e,t);return(s,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ne(n,r)&&r in s?n:s,r,i)}const Yl={get:_r(!1,!1)},Xl={get:_r(!1,!0)},Zl={get:_r(!0,!1)};const co=new WeakMap,uo=new WeakMap,fo=new WeakMap,ec=new WeakMap;function tc(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ln(e){return ht(e)?e:yr(e,!1,Wl,Yl,co)}function ao(e){return yr(e,!1,Jl,Xl,uo)}function Ws(e){return yr(e,!0,ql,Zl,fo)}function yr(e,t,n,s,r){if(!se(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const i=r.get(e);if(i)return i;const o=tc(Cl(e));if(o===0)return e;const l=new Proxy(e,o===2?s:n);return r.set(e,l),l}function ft(e){return ht(e)?ft(e.__v_raw):!!(e&&e.__v_isReactive)}function ht(e){return!!(e&&e.__v_isReadonly)}function Le(e){return!!(e&&e.__v_isShallow)}function hs(e){return e?!!e.__v_raw:!1}function X(e){const t=e&&e.__v_raw;return t?X(t):e}function vr(e){return!ne(e,"__v_skip")&&Object.isExtensible(e)&&Gi(e,"__v_skip",!0),e}const Ge=e=>se(e)?Ln(e):e,Jt=e=>se(e)?Ws(e):e;function de(e){return e?e.__v_isRef===!0:!1}function Sn(e){return ho(e,!1)}function nc(e){return ho(e,!0)}function ho(e,t){return de(e)?e:new sc(e,t)}class sc{constructor(t,n){this.dep=new mr,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:X(t),this._value=n?t:Ge(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Le(t)||ht(t);t=s?t:X(t),et(t,n)&&(this._rawValue=t,this._value=s?t:Ge(t),this.dep.trigger())}}function pe(e){return de(e)?e.value:e}const rc={get:(e,t,n)=>t==="__v_raw"?e:pe(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return de(r)&&!de(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function po(e){return ft(e)?e:new Proxy(e,rc)}function ic(e){const t=k(e)?new Array(e.length):{};for(const n in e)t[n]=lc(e,n);return t}class oc{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=De(n)?n:String(n),this._raw=X(t);let r=!0,i=t;if(!k(t)||De(this._key)||!ls(this._key))do r=!hs(i)||Le(i);while(r&&(i=i.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=pe(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&de(this._raw[this._key])){const n=this._object[this._key];if(de(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return Hl(this._raw,this._key)}}function lc(e,t,n){return new oc(e,t,n)}class cc{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new mr(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=En-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ce!==this)return Zi(this,!0),!0}get value(){const t=this.dep.track();return no(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function uc(e,t,n=!1){let s,r;return W(e)?s=e:(s=e.get,r=e.set),new cc(s,r,n)}const Bn={},qn=new WeakMap;let Ot;function fc(e,t=!1,n=Ot){if(n){let s=qn.get(n);s||qn.set(n,s=[]),s.push(e)}}function ac(e,t,n=le){const{immediate:s,deep:r,once:i,scheduler:o,augmentJob:l,call:c}=n,f=I=>r?I:Le(I)||r===!1||r===0?ut(I,1):ut(I);let u,a,p,m,A=!1,S=!1;if(de(e)?(a=()=>e.value,A=Le(e)):ft(e)?(a=()=>f(e),A=!0):k(e)?(S=!0,A=e.some(I=>ft(I)||Le(I)),a=()=>e.map(I=>{if(de(I))return I.value;if(ft(I))return f(I);if(W(I))return c?c(I,2):I()})):W(e)?t?a=c?()=>c(e,2):e:a=()=>{if(p){at();try{p()}finally{dt()}}const I=Ot;Ot=u;try{return c?c(e,3,[m]):e(m)}finally{Ot=I}}:a=tt,t&&r){const I=a,K=r===!0?1/0:r;a=()=>ut(I(),K)}const M=Qi(),F=()=>{u.stop(),M&&M.active&&ar(M.effects,u)};if(i&&t){const I=t;t=(...K)=>{I(...K),F()}}let C=S?new Array(e.length).fill(Bn):Bn;const L=I=>{if(!(!(u.flags&1)||!u.dirty&&!I))if(t){const K=u.run();if(r||A||(S?K.some((Z,V)=>et(Z,C[V])):et(K,C))){p&&p();const Z=Ot;Ot=u;try{const V=[K,C===Bn?void 0:S&&C[0]===Bn?[]:C,m];C=K,c?c(t,3,V):t(...V)}finally{Ot=Z}}}else u.run()};return l&&l(L),u=new Yi(a),u.scheduler=o?()=>o(L,!1):L,m=I=>fc(I,!1,u),p=u.onStop=()=>{const I=qn.get(u);if(I){if(c)c(I,4);else for(const K of I)K();qn.delete(u)}},t?s?L(!0):C=u.run():o?o(L.bind(null,!0),!0):u.run(),F.pause=u.pause.bind(u),F.resume=u.resume.bind(u),F.stop=F,F}function ut(e,t=1/0,n){if(t<=0||!se(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,de(e))ut(e.value,t,n);else if(k(e))for(let s=0;s<e.length;s++)ut(e[s],t,n);else if(os(e)||Gt(e))e.forEach(s=>{ut(s,t,n)});else if(Ki(e)){for(const s in e)ut(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ut(e[s],t,n)}return e}/**
11
- * @vue/runtime-core v3.5.35
12
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
13
- * @license MIT
14
- **/function Dn(e,t,n,s){try{return s?e(...s):e()}catch(r){ps(r,t,n)}}function He(e,t,n,s){if(W(e)){const r=Dn(e,t,n,s);return r&&ki(r)&&r.catch(i=>{ps(i,t,n)}),r}if(k(e)){const r=[];for(let i=0;i<e.length;i++)r.push(He(e[i],t,n,s));return r}}function ps(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||le;if(t){let l=t.parent;const c=t.proxy,f=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let a=0;a<u.length;a++)if(u[a](e,c,f)===!1)return}l=l.parent}if(i){at(),Dn(i,null,10,[e,c,f]),dt();return}}dc(e,n,r,s,o)}function dc(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const Te=[];let Ye=-1;const $t=[];let bt=null,kt=0;const go=Promise.resolve();let Jn=null;function gs(e){const t=Jn||go;return e?t.then(this?e.bind(this):e):t}function hc(e){let t=Ye+1,n=Te.length;for(;t<n;){const s=t+n>>>1,r=Te[s],i=wn(r);i<e||i===e&&r.flags&2?t=s+1:n=s}return t}function br(e){if(!(e.flags&1)){const t=wn(e),n=Te[Te.length-1];!n||!(e.flags&2)&&t>=wn(n)?Te.push(e):Te.splice(hc(t),0,e),e.flags|=1,mo()}}function mo(){Jn||(Jn=go.then(yo))}function pc(e){k(e)?$t.push(...e):bt&&e.id===-1?bt.splice(kt+1,0,e):e.flags&1||($t.push(e),e.flags|=1),mo()}function Fr(e,t,n=Ye+1){for(;n<Te.length;n++){const s=Te[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Te.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function _o(e){if($t.length){const t=[...new Set($t)].sort((n,s)=>wn(n)-wn(s));if($t.length=0,bt){bt.push(...t);return}for(bt=t,kt=0;kt<bt.length;kt++){const n=bt[kt];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}bt=null,kt=0}}const wn=e=>e.id==null?e.flags&2?-1:1/0:e.id;function yo(e){try{for(Ye=0;Ye<Te.length;Ye++){const t=Te[Ye];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Dn(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ye<Te.length;Ye++){const t=Te[Ye];t&&(t.flags&=-2)}Ye=-1,Te.length=0,_o(),Jn=null,(Te.length||$t.length)&&yo()}}let be=null,vo=null;function zn(e){const t=be;return be=e,vo=e&&e.type.__scopeId||null,t}function gc(e,t=be,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Xn(-1);const i=zn(t);let o;try{o=e(...r)}finally{zn(i),s._d&&Xn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function Ba(e,t){if(be===null)return e;const n=Es(be),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,c=le]=t[r];i&&(W(i)&&(i={mounted:i,updated:i}),i.deep&&ut(o),s.push({dir:i,instance:n,value:o,oldValue:void 0,arg:l,modifiers:c}))}return e}function Ct(e,t,n,s){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let c=l.dir[s];c&&(at(),He(c,n,8,[e.el,l,e,t]),dt())}}function Kn(e,t){if(Se){let n=Se.provides;const s=Se.parent&&Se.parent.provides;s===n&&(n=Se.provides=Object.create(s)),n[e]=t}}function Ke(e,t,n=!1){const s=Rr();if(s||Dt){let r=Dt?Dt._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&&W(t)?t.call(s&&s.proxy):t}}function mc(){return!!(Rr()||Dt)}const _c=Symbol.for("v-scx"),yc=()=>Ke(_c);function pn(e,t,n){return bo(e,t,n)}function bo(e,t,n=le){const{immediate:s,deep:r,flush:i,once:o}=n,l=_e({},n),c=t&&s||!t&&i!=="post";let f;if(Tn){if(i==="sync"){const m=yc();f=m.__watcherHandles||(m.__watcherHandles=[])}else if(!c){const m=()=>{};return m.stop=tt,m.resume=tt,m.pause=tt,m}}const u=Se;l.call=(m,A,S)=>He(m,u,A,S);let a=!1;i==="post"?l.scheduler=m=>{xe(m,u&&u.suspense)}:i!=="sync"&&(a=!0,l.scheduler=(m,A)=>{A?m():br(m)}),l.augmentJob=m=>{t&&(m.flags|=4),a&&(m.flags|=2,u&&(m.id=u.uid,m.i=u))};const p=ac(e,t,l);return Tn&&(f?f.push(p):c&&p()),p}function vc(e,t,n){const s=this.proxy,r=ue(e)?e.includes(".")?Eo(s,e):()=>s[e]:e.bind(s,s);let i;W(t)?i=t:(i=t.handler,n=t);const o=Fn(this),l=bo(r,i.bind(s),n);return o(),l}function Eo(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 yt=new WeakMap,Ao=Symbol("_vte"),So=e=>e.__isTeleport,Pt=e=>e&&(e.disabled||e.disabled===""),bc=e=>e&&(e.defer||e.defer===""),Vr=e=>typeof SVGElement<"u"&&e instanceof SVGElement,jr=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,qs=(e,t)=>{const n=e&&e.to;return ue(n)?t?t(n):null:n},Ec={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,i,o,l,c,f){const{mc:u,pc:a,pbc:p,o:{insert:m,querySelector:A,createText:S,createComment:M,parentNode:F}}=f,C=Pt(t.props);let{dynamicChildren:L}=t;const I=(V,j,w)=>{V.shapeFlag&16&&u(V.children,j,w,r,i,o,l,c)},K=(V=t)=>{const j=Pt(V.props),w=V.target=qs(V.props,A),G=Js(w,V,S,m);w&&(o!=="svg"&&Vr(w)?o="svg":o!=="mathml"&&jr(w)&&(o="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(w),j||(I(V,w,G),cn(V,!1)))},Z=V=>{const j=()=>{if(yt.get(V)===j){if(yt.delete(V),Pt(V.props)){const w=F(V.el)||n;I(V,w,V.anchor),cn(V,!0)}K(V)}};yt.set(V,j),xe(j,i)};if(e==null){const V=t.el=S(""),j=t.anchor=S("");if(m(V,n,s),m(j,n,s),bc(t.props)||i&&i.pendingBranch){Z(t);return}C&&(I(t,n,j),cn(t,!0)),K()}else{t.el=e.el;const V=t.anchor=e.anchor,j=yt.get(e);if(j){j.flags|=8,yt.delete(e),Z(t);return}t.targetStart=e.targetStart;const w=t.target=e.target,G=t.targetAnchor=e.targetAnchor,J=Pt(e.props),T=J?n:w,z=J?V:G;if(o==="svg"||Vr(w)?o="svg":(o==="mathml"||jr(w))&&(o="mathml"),L?(p(e.dynamicChildren,L,T,r,i,o,l),Cr(e,t,!0)):c||a(e,t,T,z,r,i,o,l,!1),C)J?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Hn(t,n,V,f,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const fe=t.target=qs(t.props,A);fe&&Hn(t,fe,null,f,0)}else J&&Hn(t,w,G,f,1);cn(t,C)}},remove(e,t,n,{um:s,o:{remove:r}},i){const{shapeFlag:o,children:l,anchor:c,targetStart:f,targetAnchor:u,target:a,props:p}=e,m=i||!Pt(p),A=yt.get(e);if(A&&(A.flags|=8,yt.delete(e)),a&&(r(f),r(u)),i&&r(c),!A&&o&16)for(let S=0;S<l.length;S++){const M=l[S];s(M,t,n,m,!!M.dynamicChildren)}},move:Hn,hydrate:Ac};function Hn(e,t,n,{o:{insert:s},m:r},i=2){i===0&&s(e.targetAnchor,t,n);const{el:o,anchor:l,shapeFlag:c,children:f,props:u}=e,a=i===2;if(a&&s(o,t,n),!yt.has(e)&&(!a||Pt(u))&&c&16)for(let p=0;p<f.length;p++)r(f[p],t,n,2);a&&s(l,t,n)}function Ac(e,t,n,s,r,i,{o:{nextSibling:o,parentNode:l,querySelector:c,insert:f,createText:u}},a){function p(M,F){let C=F;for(;C;){if(C&&C.nodeType===8){if(C.data==="teleport start anchor")t.targetStart=C;else if(C.data==="teleport anchor"){t.targetAnchor=C,M._lpa=t.targetAnchor&&o(t.targetAnchor);break}}C=o(C)}}function m(M,F){F.anchor=a(o(M),F,l(M),n,s,r,i)}const A=t.target=qs(t.props,c),S=Pt(t.props);if(A){const M=A._lpa||A.firstChild;t.shapeFlag&16&&(S?(m(e,t),p(A,M),t.targetAnchor||Js(A,t,u,f,l(e)===A?e:null)):(t.anchor=o(e),p(A,M),t.targetAnchor||Js(A,t,u,f),a(M&&o(M),t,A,n,s,r,i))),cn(t,S)}else S&&t.shapeFlag&16&&(m(e,t),t.targetStart=e,t.targetAnchor=o(e));return t.anchor&&o(t.anchor)}const Sc=Ec;function cn(e,t){const n=e.ctx;if(n&&n.ut){let s,r;for(t?(s=e.el,r=e.anchor):(s=e.targetStart,r=e.targetAnchor);s&&s!==r;)s.nodeType===1&&s.setAttribute("data-v-owner",n.uid),s=s.nextSibling;n.ut()}}function Js(e,t,n,s,r=null){const i=t.targetStart=n(""),o=t.targetAnchor=n("");return i[Ao]=o,e&&(s(i,e,r),s(o,e,r)),o}const je=Symbol("_leaveCb"),en=Symbol("_enterCb");function wc(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Er(()=>{e.isMounted=!0}),Ar(()=>{e.isUnmounting=!0}),e}const Ve=[Function,Array],wo={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Ve,onEnter:Ve,onAfterEnter:Ve,onEnterCancelled:Ve,onBeforeLeave:Ve,onLeave:Ve,onAfterLeave:Ve,onLeaveCancelled:Ve,onBeforeAppear:Ve,onAppear:Ve,onAfterAppear:Ve,onAppearCancelled:Ve},Co=e=>{const t=e.subTree;return t.component?Co(t.component):t},Cc={name:"BaseTransition",props:wo,setup(e,{slots:t}){const n=Rr(),s=wc();return()=>{const r=t.default&&To(t.default(),!0),i=r&&r.length?xo(r):n.subTree?tr():void 0;if(!i)return;const o=X(e),{mode:l}=o;if(s.isLeaving)return Ps(i);const c=Br(i);if(!c)return Ps(i);let f=zs(c,o,s,n,a=>f=a);c.type!==Ae&&Cn(c,f);let u=n.subTree&&Br(n.subTree);if(u&&u.type!==Ae&&!It(u,c)&&Co(n).type!==Ae){let a=zs(u,o,s,n);if(Cn(u,a),l==="out-in"&&c.type!==Ae)return s.isLeaving=!0,a.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete a.afterLeave,u=void 0},Ps(i);l==="in-out"&&c.type!==Ae?a.delayLeave=(p,m,A)=>{const S=Ro(s,u);S[String(u.key)]=u,p[je]=()=>{m(),p[je]=void 0,delete f.delayedLeave,u=void 0},f.delayedLeave=()=>{A(),delete f.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return i}}};function xo(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==Ae){t=n;break}}return t}const xc=Cc;function Ro(e,t){const{leavingVNodes:n}=e;let s=n.get(t.type);return s||(s=Object.create(null),n.set(t.type,s)),s}function zs(e,t,n,s,r){const{appear:i,mode:o,persisted:l=!1,onBeforeEnter:c,onEnter:f,onAfterEnter:u,onEnterCancelled:a,onBeforeLeave:p,onLeave:m,onAfterLeave:A,onLeaveCancelled:S,onBeforeAppear:M,onAppear:F,onAfterAppear:C,onAppearCancelled:L}=t,I=String(e.key),K=Ro(n,e),Z=(w,G)=>{w&&He(w,s,9,G)},V=(w,G)=>{const J=G[1];Z(w,G),k(w)?w.every(T=>T.length<=1)&&J():w.length<=1&&J()},j={mode:o,persisted:l,beforeEnter(w){let G=c;if(!n.isMounted)if(i)G=M||c;else return;w[je]&&w[je](!0);const J=K[I];J&&It(e,J)&&J.el[je]&&J.el[je](),Z(G,[w])},enter(w){if(K[I]===e)return;let G=f,J=u,T=a;if(!n.isMounted)if(i)G=F||f,J=C||u,T=L||a;else return;let z=!1;w[en]=we=>{z||(z=!0,we?Z(T,[w]):Z(J,[w]),j.delayedLeave&&j.delayedLeave(),w[en]=void 0)};const fe=w[en].bind(null,!1);G?V(G,[w,fe]):fe()},leave(w,G){const J=String(e.key);if(w[en]&&w[en](!0),n.isUnmounting)return G();Z(p,[w]);let T=!1;w[je]=fe=>{T||(T=!0,G(),fe?Z(S,[w]):Z(A,[w]),w[je]=void 0,K[J]===e&&delete K[J])};const z=w[je].bind(null,!1);K[J]=e,m?V(m,[w,z]):z()},clone(w){const G=zs(w,t,n,s,r);return r&&r(G),G}};return j}function Ps(e){if(_s(e))return e=At(e),e.children=null,e}function Br(e){if(!_s(e))return So(e.type)&&e.children?xo(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:n}=e;if(n){if(t&16)return n[0];if(t&32&&W(n.default))return n.default()}}function Cn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Cn(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 To(e,t=!1,n){let s=[],r=0;for(let i=0;i<e.length;i++){let o=e[i];const l=n==null?o.key:String(n)+String(o.key!=null?o.key:i);o.type===Ie?(o.patchFlag&128&&r++,s=s.concat(To(o.children,t,l))):(t||o.type!==Ae)&&s.push(l!=null?At(o,{key:l}):o)}if(r>1)for(let i=0;i<s.length;i++)s[i].patchFlag=-2;return s}function ms(e,t){return W(e)?_e({name:e.name},t,{setup:e}):e}function Oo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Hr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Qn=new WeakMap;function gn(e,t,n,s,r=!1){if(k(e)){e.forEach((S,M)=>gn(S,t&&(k(t)?t[M]:t),n,s,r));return}if(Wt(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&gn(e,t,n,s.component.subTree);return}const i=s.shapeFlag&4?Es(s.component):s.el,o=r?null:i,{i:l,r:c}=e,f=t&&t.r,u=l.refs===le?l.refs={}:l.refs,a=l.setupState,p=X(a),m=a===le?Hi:S=>Hr(u,S)?!1:ne(p,S),A=(S,M)=>!(M&&Hr(u,M));if(f!=null&&f!==c){if(kr(t),ue(f))u[f]=null,m(f)&&(a[f]=null);else if(de(f)){const S=t;A(f,S.k)&&(f.value=null),S.k&&(u[S.k]=null)}}if(W(c))Dn(c,l,12,[o,u]);else{const S=ue(c),M=de(c);if(S||M){const F=()=>{if(e.f){const C=S?m(c)?a[c]:u[c]:A()||!e.k?c.value:u[e.k];if(r)k(C)&&ar(C,i);else if(k(C))C.includes(i)||C.push(i);else if(S)u[c]=[i],m(c)&&(a[c]=u[c]);else{const L=[i];A(c,e.k)&&(c.value=L),e.k&&(u[e.k]=L)}}else S?(u[c]=o,m(c)&&(a[c]=o)):M&&(A(c,e.k)&&(c.value=o),e.k&&(u[e.k]=o))};if(o){const C=()=>{F(),Qn.delete(e)};C.id=-1,Qn.set(e,C),xe(C,n)}else kr(e),F()}}}function kr(e){const t=Qn.get(e);t&&(t.flags|=8,Qn.delete(e))}as().requestIdleCallback;as().cancelIdleCallback;const Wt=e=>!!e.type.__asyncLoader,_s=e=>e.type.__isKeepAlive;function Rc(e,t){Po(e,"a",t)}function Tc(e,t){Po(e,"da",t)}function Po(e,t,n=Se){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ys(t,s,n),n){let r=n.parent;for(;r&&r.parent;)_s(r.parent.vnode)&&Oc(s,t,n,r),r=r.parent}}function Oc(e,t,n,s){const r=ys(t,e,s,!0);Io(()=>{ar(s[t],r)},n)}function ys(e,t,n=Se,s=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{at();const l=Fn(n),c=He(t,n,e,o);return l(),dt(),c});return s?r.unshift(i):r.push(i),i}}const pt=e=>(t,n=Se)=>{(!Tn||e==="sp")&&ys(e,(...s)=>t(...s),n)},Pc=pt("bm"),Er=pt("m"),Ic=pt("bu"),Nc=pt("u"),Ar=pt("bum"),Io=pt("um"),Mc=pt("sp"),Lc=pt("rtg"),Dc=pt("rtc");function Fc(e,t=Se){ys("ec",e,t)}const No="components";function Vc(e,t){return Lo(No,e,!0,t)||e}const Mo=Symbol.for("v-ndc");function Ha(e){return ue(e)?Lo(No,e,!1)||e:e||Mo}function Lo(e,t,n=!0,s=!1){const r=be||Se;if(r){const i=r.type;{const l=Au(i,!1);if(l&&(l===t||l===Oe(t)||l===us(Oe(t))))return i}const o=Ur(r[e]||i[e],t)||Ur(r.appContext[e],t);return!o&&s?i:o}}function Ur(e,t){return e&&(e[t]||e[Oe(t)]||e[us(Oe(t))])}function ka(e,t,n,s){let r;const i=n,o=k(e);if(o||ue(e)){const l=o&&ft(e);let c=!1,f=!1;l&&(c=!Le(e),f=ht(e),e=ds(e)),r=new Array(e.length);for(let u=0,a=e.length;u<a;u++)r[u]=t(c?f?Jt(Ge(e[u])):Ge(e[u]):e[u],u,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(se(e))if(e[Symbol.iterator])r=Array.from(e,(l,c)=>t(l,c,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let c=0,f=l.length;c<f;c++){const u=l[c];r[c]=t(e[u],u,c,i)}}else r=[];return r}function Ua(e,t,n={},s,r){if(be.ce||be.parent&&Wt(be.parent)&&be.parent.ce){const f=Object.keys(n).length>0;return Ft(),Zn(Ie,null,[ye("slot",n,s)],f?-2:64)}let i=e[t];i&&i._c&&(i._d=!1),Ft();const o=i&&Do(i(n)),l=n.key||o&&o.key,c=Zn(Ie,{key:(l&&!De(l)?l:`_${t}`)+(!o&&s?"_fb":"")},o||[],o&&e._===1?64:-2);return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),i&&i._c&&(i._d=!0),c}function Do(e){return e.some(t=>Rn(t)?!(t.type===Ae||t.type===Ie&&!Do(t.children)):!0)?e:null}const Qs=e=>e?el(e)?Es(e):Qs(e.parent):null,mn=_e(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=>Qs(e.parent),$root:e=>Qs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vo(e),$forceUpdate:e=>e.f||(e.f=()=>{br(e.update)}),$nextTick:e=>e.n||(e.n=gs.bind(e.proxy)),$watch:e=>vc.bind(e)}),Is=(e,t)=>e!==le&&!e.__isScriptSetup&&ne(e,t),jc={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:i,accessCache:o,type:l,appContext:c}=e;if(t[0]!=="$"){const p=o[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return i[t]}else{if(Is(s,t))return o[t]=1,s[t];if(r!==le&&ne(r,t))return o[t]=2,r[t];if(ne(i,t))return o[t]=3,i[t];if(n!==le&&ne(n,t))return o[t]=4,n[t];Ys&&(o[t]=0)}}const f=mn[t];let u,a;if(f)return t==="$attrs"&&Ee(e.attrs,"get",""),f(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==le&&ne(n,t))return o[t]=4,n[t];if(a=c.config.globalProperties,ne(a,t))return a[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:i}=e;return Is(r,t)?(r[t]=n,!0):s!==le&&ne(s,t)?(s[t]=n,!0):ne(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}},l){let c;return!!(n[l]||e!==le&&l[0]!=="$"&&ne(e,l)||Is(t,l)||ne(i,l)||ne(s,l)||ne(mn,l)||ne(r.config.globalProperties,l)||(c=o.__cssModules)&&c[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ne(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Kr(e){return k(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ys=!0;function Bc(e){const t=Vo(e),n=e.proxy,s=e.ctx;Ys=!1,t.beforeCreate&&Gr(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:c,inject:f,created:u,beforeMount:a,mounted:p,beforeUpdate:m,updated:A,activated:S,deactivated:M,beforeDestroy:F,beforeUnmount:C,destroyed:L,unmounted:I,render:K,renderTracked:Z,renderTriggered:V,errorCaptured:j,serverPrefetch:w,expose:G,inheritAttrs:J,components:T,directives:z,filters:fe}=t;if(f&&Hc(f,s,null),o)for(const q in o){const ee=o[q];W(ee)&&(s[q]=ee.bind(n))}if(r){const q=r.call(n,n);se(q)&&(e.data=Ln(q))}if(Ys=!0,i)for(const q in i){const ee=i[q],nt=W(ee)?ee.bind(n,n):W(ee.get)?ee.get.bind(n,n):tt,gt=!W(ee)&&W(ee.set)?ee.set.bind(n):tt,We=Be({get:nt,set:gt});Object.defineProperty(s,q,{enumerable:!0,configurable:!0,get:()=>We.value,set:Pe=>We.value=Pe})}if(l)for(const q in l)Fo(l[q],s,n,q);if(c){const q=W(c)?c.call(n):c;Reflect.ownKeys(q).forEach(ee=>{Kn(ee,q[ee])})}u&&Gr(u,e,"c");function ie(q,ee){k(ee)?ee.forEach(nt=>q(nt.bind(n))):ee&&q(ee.bind(n))}if(ie(Pc,a),ie(Er,p),ie(Ic,m),ie(Nc,A),ie(Rc,S),ie(Tc,M),ie(Fc,j),ie(Dc,Z),ie(Lc,V),ie(Ar,C),ie(Io,I),ie(Mc,w),k(G))if(G.length){const q=e.exposed||(e.exposed={});G.forEach(ee=>{Object.defineProperty(q,ee,{get:()=>n[ee],set:nt=>n[ee]=nt,enumerable:!0})})}else e.exposed||(e.exposed={});K&&e.render===tt&&(e.render=K),J!=null&&(e.inheritAttrs=J),T&&(e.components=T),z&&(e.directives=z),w&&Oo(e)}function Hc(e,t,n=tt){k(e)&&(e=Xs(e));for(const s in e){const r=e[s];let i;se(r)?"default"in r?i=Ke(r.from||s,r.default,!0):i=Ke(r.from||s):i=Ke(r),de(i)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[s]=i}}function Gr(e,t,n){He(k(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Fo(e,t,n,s){let r=s.includes(".")?Eo(n,s):()=>n[s];if(ue(e)){const i=t[e];W(i)&&pn(r,i)}else if(W(e))pn(r,e.bind(n));else if(se(e))if(k(e))e.forEach(i=>Fo(i,t,n,s));else{const i=W(e.handler)?e.handler.bind(n):t[e.handler];W(i)&&pn(r,i,e)}}function Vo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let c;return l?c=l:!r.length&&!n&&!s?c=t:(c={},r.length&&r.forEach(f=>Yn(c,f,o,!0)),Yn(c,t,o)),se(t)&&i.set(t,c),c}function Yn(e,t,n,s=!1){const{mixins:r,extends:i}=t;i&&Yn(e,i,n,!0),r&&r.forEach(o=>Yn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=kc[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const kc={data:$r,props:Wr,emits:Wr,methods:un,computed:un,beforeCreate:Ce,created:Ce,beforeMount:Ce,mounted:Ce,beforeUpdate:Ce,updated:Ce,beforeDestroy:Ce,beforeUnmount:Ce,destroyed:Ce,unmounted:Ce,activated:Ce,deactivated:Ce,errorCaptured:Ce,serverPrefetch:Ce,components:un,directives:un,watch:Kc,provide:$r,inject:Uc};function $r(e,t){return t?e?function(){return _e(W(e)?e.call(this,this):e,W(t)?t.call(this,this):t)}:t:e}function Uc(e,t){return un(Xs(e),Xs(t))}function Xs(e){if(k(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ce(e,t){return e?[...new Set([].concat(e,t))]:t}function un(e,t){return e?_e(Object.create(null),e,t):t}function Wr(e,t){return e?k(e)&&k(t)?[...new Set([...e,...t])]:_e(Object.create(null),Kr(e),Kr(t??{})):t}function Kc(e,t){if(!e)return t;if(!t)return e;const n=_e(Object.create(null),e);for(const s in t)n[s]=Ce(e[s],t[s]);return n}function jo(){return{app:null,config:{isNativeTag:Hi,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 Gc=0;function $c(e,t){return function(s,r=null){W(s)||(s=_e({},s)),r!=null&&!se(r)&&(r=null);const i=jo(),o=new WeakSet,l=[];let c=!1;const f=i.app={_uid:Gc++,_component:s,_props:r,_container:null,_context:i,_instance:null,version:wu,get config(){return i.config},set config(u){},use(u,...a){return o.has(u)||(u&&W(u.install)?(o.add(u),u.install(f,...a)):W(u)&&(o.add(u),u(f,...a))),f},mixin(u){return i.mixins.includes(u)||i.mixins.push(u),f},component(u,a){return a?(i.components[u]=a,f):i.components[u]},directive(u,a){return a?(i.directives[u]=a,f):i.directives[u]},mount(u,a,p){if(!c){const m=f._ceVNode||ye(s,r);return m.appContext=i,p===!0?p="svg":p===!1&&(p=void 0),e(m,u,p),c=!0,f._container=u,u.__vue_app__=f,Es(m.component)}},onUnmount(u){l.push(u)},unmount(){c&&(He(l,f._instance,16),e(null,f._container),delete f._container.__vue_app__)},provide(u,a){return i.provides[u]=a,f},runWithContext(u){const a=Dt;Dt=f;try{return u()}finally{Dt=a}}};return f}}let Dt=null;const Wc=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Oe(t)}Modifiers`]||e[`${St(t)}Modifiers`];function qc(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||le;let r=n;const i=t.startsWith("update:"),o=i&&Wc(s,t.slice(7));o&&(o.trim&&(r=n.map(u=>ue(u)?u.trim():u)),o.number&&(r=n.map(fs)));let l,c=s[l=Cs(t)]||s[l=Cs(Oe(t))];!c&&i&&(c=s[l=Cs(St(t))]),c&&He(c,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,He(f,e,6,r)}}const Jc=new WeakMap;function Bo(e,t,n=!1){const s=n?Jc:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!W(e)){const c=f=>{const u=Bo(f,t,!0);u&&(l=!0,_e(o,u))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!i&&!l?(se(e)&&s.set(e,null),null):(k(i)?i.forEach(c=>o[c]=null):_e(o,i),se(e)&&s.set(e,o),o)}function vs(e,t){return!e||!rs(t)?!1:(t=t.slice(2).replace(/Once$/,""),ne(e,t[0].toLowerCase()+t.slice(1))||ne(e,St(t))||ne(e,t))}function qr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:c,render:f,renderCache:u,props:a,data:p,setupState:m,ctx:A,inheritAttrs:S}=e,M=zn(e);let F,C;try{if(n.shapeFlag&4){const I=r||s,K=I;F=Ze(f.call(K,I,u,a,m,p,A)),C=l}else{const I=t;F=Ze(I.length>1?I(a,{attrs:l,slots:o,emit:c}):I(a,null)),C=t.props?l:zc(l)}}catch(I){_n.length=0,ps(I,e,1),F=ye(Ae)}let L=F;if(C&&S!==!1){const I=Object.keys(C),{shapeFlag:K}=L;I.length&&K&7&&(i&&I.some(is)&&(C=Qc(C,i)),L=At(L,C,!1,!0))}return n.dirs&&(L=At(L,null,!1,!0),L.dirs=L.dirs?L.dirs.concat(n.dirs):n.dirs),n.transition&&Cn(L,n.transition),F=L,zn(M),F}const zc=e=>{let t;for(const n in e)(n==="class"||n==="style"||rs(n))&&((t||(t={}))[n]=e[n]);return t},Qc=(e,t)=>{const n={};for(const s in e)(!is(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Yc(e,t,n){const{props:s,children:r,component:i}=e,{props:o,children:l,patchFlag:c}=t,f=i.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Jr(s,o,f):!!o;if(c&8){const u=t.dynamicProps;for(let a=0;a<u.length;a++){const p=u[a];if(Ho(o,s,p)&&!vs(f,p))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===o?!1:s?o?Jr(s,o,f):!0:!!o;return!1}function Jr(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(Ho(t,e,i)&&!vs(n,i))return!0}return!1}function Ho(e,t,n){const s=e[n],r=t[n];return n==="style"&&se(s)&&se(r)?!Mn(s,r):s!==r}function Xc({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 ko={},Uo=()=>Object.create(ko),Ko=e=>Object.getPrototypeOf(e)===ko;function Zc(e,t,n,s=!1){const r={},i=Uo();e.propsDefaults=Object.create(null),Go(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);n?e.props=s?r:ao(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function eu(e,t,n,s){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=X(r),[c]=e.propsOptions;let f=!1;if((s||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let a=0;a<u.length;a++){let p=u[a];if(vs(e.emitsOptions,p))continue;const m=t[p];if(c)if(ne(i,p))m!==i[p]&&(i[p]=m,f=!0);else{const A=Oe(p);r[A]=Zs(c,l,A,m,e,!1)}else m!==i[p]&&(i[p]=m,f=!0)}}}else{Go(e,t,r,i)&&(f=!0);let u;for(const a in l)(!t||!ne(t,a)&&((u=St(a))===a||!ne(t,u)))&&(c?n&&(n[a]!==void 0||n[u]!==void 0)&&(r[a]=Zs(c,l,a,void 0,e,!0)):delete r[a]);if(i!==l)for(const a in i)(!t||!ne(t,a))&&(delete i[a],f=!0)}f&&ct(e.attrs,"set","")}function Go(e,t,n,s){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let c in t){if(an(c))continue;const f=t[c];let u;r&&ne(r,u=Oe(c))?!i||!i.includes(u)?n[u]=f:(l||(l={}))[u]=f:vs(e.emitsOptions,c)||(!(c in s)||f!==s[c])&&(s[c]=f,o=!0)}if(i){const c=X(n),f=l||le;for(let u=0;u<i.length;u++){const a=i[u];n[a]=Zs(r,c,a,f[a],e,!ne(f,a))}}return o}function Zs(e,t,n,s,r,i){const o=e[n];if(o!=null){const l=ne(o,"default");if(l&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&W(c)){const{propsDefaults:f}=r;if(n in f)s=f[n];else{const u=Fn(r);s=f[n]=c.call(null,t),u()}}else s=c;r.ce&&r.ce._setProp(n,s)}o[0]&&(i&&!l?s=!1:o[1]&&(s===""||s===St(n))&&(s=!0))}return s}const tu=new WeakMap;function $o(e,t,n=!1){const s=n?tu:t.propsCache,r=s.get(e);if(r)return r;const i=e.props,o={},l=[];let c=!1;if(!W(e)){const u=a=>{c=!0;const[p,m]=$o(a,t,!0);_e(o,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!c)return se(e)&&s.set(e,Kt),Kt;if(k(i))for(let u=0;u<i.length;u++){const a=Oe(i[u]);zr(a)&&(o[a]=le)}else if(i)for(const u in i){const a=Oe(u);if(zr(a)){const p=i[u],m=o[a]=k(p)||W(p)?{type:p}:_e({},p),A=m.type;let S=!1,M=!0;if(k(A))for(let F=0;F<A.length;++F){const C=A[F],L=W(C)&&C.name;if(L==="Boolean"){S=!0;break}else L==="String"&&(M=!1)}else S=W(A)&&A.name==="Boolean";m[0]=S,m[1]=M,(S||ne(m,"default"))&&l.push(a)}}const f=[o,l];return se(e)&&s.set(e,f),f}function zr(e){return e[0]!=="$"&&!an(e)}const Sr=e=>e==="_"||e==="_ctx"||e==="$stable",wr=e=>k(e)?e.map(Ze):[Ze(e)],nu=(e,t,n)=>{if(t._n)return t;const s=gc((...r)=>wr(t(...r)),n);return s._c=!1,s},Wo=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Sr(r))continue;const i=e[r];if(W(i))t[r]=nu(r,i,s);else if(i!=null){const o=wr(i);t[r]=()=>o}}},qo=(e,t)=>{const n=wr(t);e.slots.default=()=>n},Jo=(e,t,n)=>{for(const s in t)(n||!Sr(s))&&(e[s]=t[s])},su=(e,t,n)=>{const s=e.slots=Uo();if(e.vnode.shapeFlag&32){const r=t._;r?(Jo(s,t,n),n&&Gi(s,"_",r,!0)):Wo(t,s)}else t&&qo(e,t)},ru=(e,t,n)=>{const{vnode:s,slots:r}=e;let i=!0,o=le;if(s.shapeFlag&32){const l=t._;l?n&&l===1?i=!1:Jo(r,t,n):(i=!t.$stable,Wo(t,r)),o=t}else t&&(qo(e,t),o={default:1});if(i)for(const l in r)!Sr(l)&&o[l]==null&&delete r[l]},xe=uu;function iu(e){return ou(e)}function ou(e,t){const n=as();n.__VUE__=!0;const{insert:s,remove:r,patchProp:i,createElement:o,createText:l,createComment:c,setText:f,setElementText:u,parentNode:a,nextSibling:p,setScopeId:m=tt,insertStaticContent:A}=e,S=(d,h,g,y=null,b=null,_=null,O=void 0,R=null,x=!!h.dynamicChildren)=>{if(d===h)return;d&&!It(d,h)&&(y=v(d),Pe(d,b,_,!0),d=null),h.patchFlag===-2&&(x=!1,h.dynamicChildren=null);const{type:E,ref:U,shapeFlag:N}=h;switch(E){case bs:M(d,h,g,y);break;case Ae:F(d,h,g,y);break;case Gn:d==null&&C(h,g,y,O);break;case Ie:T(d,h,g,y,b,_,O,R,x);break;default:N&1?K(d,h,g,y,b,_,O,R,x):N&6?z(d,h,g,y,b,_,O,R,x):(N&64||N&128)&&E.process(d,h,g,y,b,_,O,R,x,B)}U!=null&&b?gn(U,d&&d.ref,_,h||d,!h):U==null&&d&&d.ref!=null&&gn(d.ref,null,_,d,!0)},M=(d,h,g,y)=>{if(d==null)s(h.el=l(h.children),g,y);else{const b=h.el=d.el;h.children!==d.children&&f(b,h.children)}},F=(d,h,g,y)=>{d==null?s(h.el=c(h.children||""),g,y):h.el=d.el},C=(d,h,g,y)=>{[d.el,d.anchor]=A(d.children,h,g,y,d.el,d.anchor)},L=({el:d,anchor:h},g,y)=>{let b;for(;d&&d!==h;)b=p(d),s(d,g,y),d=b;s(h,g,y)},I=({el:d,anchor:h})=>{let g;for(;d&&d!==h;)g=p(d),r(d),d=g;r(h)},K=(d,h,g,y,b,_,O,R,x)=>{if(h.type==="svg"?O="svg":h.type==="math"&&(O="mathml"),d==null)Z(h,g,y,b,_,O,R,x);else{const E=d.el&&d.el._isVueCE?d.el:null;try{E&&E._beginPatch(),w(d,h,b,_,O,R,x)}finally{E&&E._endPatch()}}},Z=(d,h,g,y,b,_,O,R)=>{let x,E;const{props:U,shapeFlag:N,transition:H,dirs:$}=d;if(x=d.el=o(d.type,_,U&&U.is,U),N&8?u(x,d.children):N&16&&j(d.children,x,null,y,b,Ns(d,_),O,R),$&&Ct(d,null,y,"created"),V(x,d,d.scopeId,O,y),U){for(const oe in U)oe!=="value"&&!an(oe)&&i(x,oe,null,U[oe],_,y);"value"in U&&i(x,"value",null,U.value,_),(E=U.onVnodeBeforeMount)&&Qe(E,y,d)}$&&Ct(d,null,y,"beforeMount");const Y=lu(b,H);Y&&H.beforeEnter(x),s(x,h,g),((E=U&&U.onVnodeMounted)||Y||$)&&xe(()=>{try{E&&Qe(E,y,d),Y&&H.enter(x),$&&Ct(d,null,y,"mounted")}finally{}},b)},V=(d,h,g,y,b)=>{if(g&&m(d,g),y)for(let _=0;_<y.length;_++)m(d,y[_]);if(b){let _=b.subTree;if(h===_||Yo(_.type)&&(_.ssContent===h||_.ssFallback===h)){const O=b.vnode;V(d,O,O.scopeId,O.slotScopeIds,b.parent)}}},j=(d,h,g,y,b,_,O,R,x=0)=>{for(let E=x;E<d.length;E++){const U=d[E]=R?lt(d[E]):Ze(d[E]);S(null,U,h,g,y,b,_,O,R)}},w=(d,h,g,y,b,_,O)=>{const R=h.el=d.el;let{patchFlag:x,dynamicChildren:E,dirs:U}=h;x|=d.patchFlag&16;const N=d.props||le,H=h.props||le;let $;if(g&&xt(g,!1),($=H.onVnodeBeforeUpdate)&&Qe($,g,h,d),U&&Ct(h,d,g,"beforeUpdate"),g&&xt(g,!0),(N.innerHTML&&H.innerHTML==null||N.textContent&&H.textContent==null)&&u(R,""),E?G(d.dynamicChildren,E,R,g,y,Ns(h,b),_):O||ee(d,h,R,null,g,y,Ns(h,b),_,!1),x>0){if(x&16)J(R,N,H,g,b);else if(x&2&&N.class!==H.class&&i(R,"class",null,H.class,b),x&4&&i(R,"style",N.style,H.style,b),x&8){const Y=h.dynamicProps;for(let oe=0;oe<Y.length;oe++){const re=Y[oe],he=N[re],ve=H[re];(ve!==he||re==="value")&&i(R,re,he,ve,b,g)}}x&1&&d.children!==h.children&&u(R,h.children)}else!O&&E==null&&J(R,N,H,g,b);(($=H.onVnodeUpdated)||U)&&xe(()=>{$&&Qe($,g,h,d),U&&Ct(h,d,g,"updated")},y)},G=(d,h,g,y,b,_,O)=>{for(let R=0;R<h.length;R++){const x=d[R],E=h[R],U=x.el&&(x.type===Ie||!It(x,E)||x.shapeFlag&198)?a(x.el):g;S(x,E,U,null,y,b,_,O,!0)}},J=(d,h,g,y,b)=>{if(h!==g){if(h!==le)for(const _ in h)!an(_)&&!(_ in g)&&i(d,_,h[_],null,b,y);for(const _ in g){if(an(_))continue;const O=g[_],R=h[_];O!==R&&_!=="value"&&i(d,_,R,O,b,y)}"value"in g&&i(d,"value",h.value,g.value,b)}},T=(d,h,g,y,b,_,O,R,x)=>{const E=h.el=d?d.el:l(""),U=h.anchor=d?d.anchor:l("");let{patchFlag:N,dynamicChildren:H,slotScopeIds:$}=h;$&&(R=R?R.concat($):$),d==null?(s(E,g,y),s(U,g,y),j(h.children||[],g,U,b,_,O,R,x)):N>0&&N&64&&H&&d.dynamicChildren&&d.dynamicChildren.length===H.length?(G(d.dynamicChildren,H,g,b,_,O,R),(h.key!=null||b&&h===b.subTree)&&Cr(d,h,!0)):ee(d,h,g,U,b,_,O,R,x)},z=(d,h,g,y,b,_,O,R,x)=>{h.slotScopeIds=R,d==null?h.shapeFlag&512?b.ctx.activate(h,g,y,O,x):fe(h,g,y,b,_,O,x):we(d,h,x)},fe=(d,h,g,y,b,_,O)=>{const R=d.component=_u(d,y,b);if(_s(d)&&(R.ctx.renderer=B),yu(R,!1,O),R.asyncDep){if(b&&b.registerDep(R,ie,O),!d.el){const x=R.subTree=ye(Ae);F(null,x,h,g),d.placeholder=x.el}}else ie(R,d,h,g,b,_,O)},we=(d,h,g)=>{const y=h.component=d.component;if(Yc(d,h,g))if(y.asyncDep&&!y.asyncResolved){q(y,h,g);return}else y.next=h,y.update();else h.el=d.el,y.vnode=h},ie=(d,h,g,y,b,_,O)=>{const R=()=>{if(d.isMounted){let{next:N,bu:H,u:$,parent:Y,vnode:oe}=d;{const Je=zo(d);if(Je){N&&(N.el=oe.el,q(d,N,O)),Je.asyncDep.then(()=>{xe(()=>{d.isUnmounted||E()},b)});return}}let re=N,he;xt(d,!1),N?(N.el=oe.el,q(d,N,O)):N=oe,H&&Un(H),(he=N.props&&N.props.onVnodeBeforeUpdate)&&Qe(he,Y,N,oe),xt(d,!0);const ve=qr(d),qe=d.subTree;d.subTree=ve,S(qe,ve,a(qe.el),v(qe),d,b,_),N.el=ve.el,re===null&&Xc(d,ve.el),$&&xe($,b),(he=N.props&&N.props.onVnodeUpdated)&&xe(()=>Qe(he,Y,N,oe),b)}else{let N;const{el:H,props:$}=h,{bm:Y,m:oe,parent:re,root:he,type:ve}=d,qe=Wt(h);xt(d,!1),Y&&Un(Y),!qe&&(N=$&&$.onVnodeBeforeMount)&&Qe(N,re,h),xt(d,!0);{he.ce&&he.ce._hasShadowRoot()&&he.ce._injectChildStyle(ve,d.parent?d.parent.type:void 0);const Je=d.subTree=qr(d);S(null,Je,g,y,d,b,_),h.el=Je.el}if(oe&&xe(oe,b),!qe&&(N=$&&$.onVnodeMounted)){const Je=h;xe(()=>Qe(N,re,Je),b)}(h.shapeFlag&256||re&&Wt(re.vnode)&&re.vnode.shapeFlag&256)&&d.a&&xe(d.a,b),d.isMounted=!0,h=g=y=null}};d.scope.on();const x=d.effect=new Yi(R);d.scope.off();const E=d.update=x.run.bind(x),U=d.job=x.runIfDirty.bind(x);U.i=d,U.id=d.uid,x.scheduler=()=>br(U),xt(d,!0),E()},q=(d,h,g)=>{h.component=d;const y=d.vnode.props;d.vnode=h,d.next=null,eu(d,h.props,y,g),ru(d,h.children,g),at(),Fr(d),dt()},ee=(d,h,g,y,b,_,O,R,x=!1)=>{const E=d&&d.children,U=d?d.shapeFlag:0,N=h.children,{patchFlag:H,shapeFlag:$}=h;if(H>0){if(H&128){gt(E,N,g,y,b,_,O,R,x);return}else if(H&256){nt(E,N,g,y,b,_,O,R,x);return}}$&8?(U&16&&Fe(E,b,_),N!==E&&u(g,N)):U&16?$&16?gt(E,N,g,y,b,_,O,R,x):Fe(E,b,_,!0):(U&8&&u(g,""),$&16&&j(N,g,y,b,_,O,R,x))},nt=(d,h,g,y,b,_,O,R,x)=>{d=d||Kt,h=h||Kt;const E=d.length,U=h.length,N=Math.min(E,U);let H;for(H=0;H<N;H++){const $=h[H]=x?lt(h[H]):Ze(h[H]);S(d[H],$,g,null,b,_,O,R,x)}E>U?Fe(d,b,_,!0,!1,N):j(h,g,y,b,_,O,R,x,N)},gt=(d,h,g,y,b,_,O,R,x)=>{let E=0;const U=h.length;let N=d.length-1,H=U-1;for(;E<=N&&E<=H;){const $=d[E],Y=h[E]=x?lt(h[E]):Ze(h[E]);if(It($,Y))S($,Y,g,null,b,_,O,R,x);else break;E++}for(;E<=N&&E<=H;){const $=d[N],Y=h[H]=x?lt(h[H]):Ze(h[H]);if(It($,Y))S($,Y,g,null,b,_,O,R,x);else break;N--,H--}if(E>N){if(E<=H){const $=H+1,Y=$<U?h[$].el:y;for(;E<=H;)S(null,h[E]=x?lt(h[E]):Ze(h[E]),g,Y,b,_,O,R,x),E++}}else if(E>H)for(;E<=N;)Pe(d[E],b,_,!0),E++;else{const $=E,Y=E,oe=new Map;for(E=Y;E<=H;E++){const Ne=h[E]=x?lt(h[E]):Ze(h[E]);Ne.key!=null&&oe.set(Ne.key,E)}let re,he=0;const ve=H-Y+1;let qe=!1,Je=0;const Xt=new Array(ve);for(E=0;E<ve;E++)Xt[E]=0;for(E=$;E<=N;E++){const Ne=d[E];if(he>=ve){Pe(Ne,b,_,!0);continue}let ze;if(Ne.key!=null)ze=oe.get(Ne.key);else for(re=Y;re<=H;re++)if(Xt[re-Y]===0&&It(Ne,h[re])){ze=re;break}ze===void 0?Pe(Ne,b,_,!0):(Xt[ze-Y]=E+1,ze>=Je?Je=ze:qe=!0,S(Ne,h[ze],g,null,b,_,O,R,x),he++)}const Or=qe?cu(Xt):Kt;for(re=Or.length-1,E=ve-1;E>=0;E--){const Ne=Y+E,ze=h[Ne],Pr=h[Ne+1],Ir=Ne+1<U?Pr.el||Qo(Pr):y;Xt[E]===0?S(null,ze,g,Ir,b,_,O,R,x):qe&&(re<0||E!==Or[re]?We(ze,g,Ir,2):re--)}}},We=(d,h,g,y,b=null)=>{const{el:_,type:O,transition:R,children:x,shapeFlag:E}=d;if(E&6){We(d.component.subTree,h,g,y);return}if(E&128){d.suspense.move(h,g,y);return}if(E&64){O.move(d,h,g,B);return}if(O===Ie){s(_,h,g);for(let N=0;N<x.length;N++)We(x[N],h,g,y);s(d.anchor,h,g);return}if(O===Gn){L(d,h,g);return}if(y!==2&&E&1&&R)if(y===0)R.persisted&&!_[je]?s(_,h,g):(R.beforeEnter(_),s(_,h,g),xe(()=>R.enter(_),b));else{const{leave:N,delayLeave:H,afterLeave:$}=R,Y=()=>{d.ctx.isUnmounted?r(_):s(_,h,g)},oe=()=>{const re=_._isLeaving||!!_[je];_._isLeaving&&_[je](!0),R.persisted&&!re?Y():N(_,()=>{Y(),$&&$()})};H?H(_,Y,oe):oe()}else s(_,h,g)},Pe=(d,h,g,y=!1,b=!1)=>{const{type:_,props:O,ref:R,children:x,dynamicChildren:E,shapeFlag:U,patchFlag:N,dirs:H,cacheIndex:$,memo:Y}=d;if(N===-2&&(b=!1),R!=null&&(at(),gn(R,null,g,d,!0),dt()),$!=null&&(h.renderCache[$]=void 0),U&256){h.ctx.deactivate(d);return}const oe=U&1&&H,re=!Wt(d);let he;if(re&&(he=O&&O.onVnodeBeforeUnmount)&&Qe(he,h,d),U&6)wt(d.component,g,y);else{if(U&128){d.suspense.unmount(g,y);return}oe&&Ct(d,null,h,"beforeUnmount"),U&64?d.type.remove(d,h,g,B,y):E&&!E.hasOnce&&(_!==Ie||N>0&&N&64)?Fe(E,h,g,!1,!0):(_===Ie&&N&384||!b&&U&16)&&Fe(x,h,g),y&&Vt(d)}const ve=Y!=null&&$==null;(re&&(he=O&&O.onVnodeUnmounted)||oe||ve)&&xe(()=>{he&&Qe(he,h,d),oe&&Ct(d,null,h,"unmounted"),ve&&(d.el=null)},g)},Vt=d=>{const{type:h,el:g,anchor:y,transition:b}=d;if(h===Ie){jt(g,y);return}if(h===Gn){I(d);return}const _=()=>{r(g),b&&!b.persisted&&b.afterLeave&&b.afterLeave()};if(d.shapeFlag&1&&b&&!b.persisted){const{leave:O,delayLeave:R}=b,x=()=>O(g,_);R?R(d.el,_,x):x()}else _()},jt=(d,h)=>{let g;for(;d!==h;)g=p(d),r(d),d=g;r(h)},wt=(d,h,g)=>{const{bum:y,scope:b,job:_,subTree:O,um:R,m:x,a:E}=d;Qr(x),Qr(E),y&&Un(y),b.stop(),_&&(_.flags|=8,Pe(O,d,h,g)),R&&xe(R,h),xe(()=>{d.isUnmounted=!0},h)},Fe=(d,h,g,y=!1,b=!1,_=0)=>{for(let O=_;O<d.length;O++)Pe(d[O],h,g,y,b)},v=d=>{if(d.shapeFlag&6)return v(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const h=p(d.anchor||d.el),g=h&&h[Ao];return g?p(g):h};let D=!1;const P=(d,h,g)=>{let y;d==null?h._vnode&&(Pe(h._vnode,null,null,!0),y=h._vnode.component):S(h._vnode||null,d,h,null,null,null,g),h._vnode=d,D||(D=!0,Fr(y),_o(),D=!1)},B={p:S,um:Pe,m:We,r:Vt,mt:fe,mc:j,pc:ee,pbc:G,n:v,o:e};return{render:P,hydrate:void 0,createApp:$c(P)}}function Ns({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 xt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function lu(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Cr(e,t,n=!1){const s=e.children,r=t.children;if(k(s)&&k(r))for(let i=0;i<s.length;i++){const o=s[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=lt(r[i]),l.el=o.el),!n&&l.patchFlag!==-2&&Cr(o,l)),l.type===bs&&(l.patchFlag===-1&&(l=r[i]=lt(l)),l.el=o.el),l.type===Ae&&!l.el&&(l.el=o.el)}}function cu(e){const t=e.slice(),n=[0];let s,r,i,o,l;const c=e.length;for(s=0;s<c;s++){const f=e[s];if(f!==0){if(r=n[n.length-1],e[r]<f){t[s]=r,n.push(s);continue}for(i=0,o=n.length-1;i<o;)l=i+o>>1,e[n[l]]<f?i=l+1:o=l;f<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 zo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:zo(t)}function Qr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Qo(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Qo(t.subTree):null}const Yo=e=>e.__isSuspense;function uu(e,t){t&&t.pendingBranch?k(e)?t.effects.push(...e):t.effects.push(e):pc(e)}const Ie=Symbol.for("v-fgt"),bs=Symbol.for("v-txt"),Ae=Symbol.for("v-cmt"),Gn=Symbol.for("v-stc"),_n=[];let Me=null;function Ft(e=!1){_n.push(Me=e?null:[])}function fu(){_n.pop(),Me=_n[_n.length-1]||null}let xn=1;function Xn(e,t=!1){xn+=e,e<0&&Me&&t&&(Me.hasOnce=!0)}function Xo(e){return e.dynamicChildren=xn>0?Me||Kt:null,fu(),xn>0&&Me&&Me.push(e),e}function er(e,t,n,s,r,i){return Xo(ke(e,t,n,s,r,i,!0))}function Zn(e,t,n,s,r){return Xo(ye(e,t,n,s,r,!0))}function Rn(e){return e?e.__v_isVNode===!0:!1}function It(e,t){return e.type===t.type&&e.key===t.key}const Zo=({key:e})=>e??null,$n=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ue(e)||de(e)||W(e)?{i:be,r:e,k:t,f:!!n}:e:null);function ke(e,t=null,n=null,s=0,r=null,i=e===Ie?0:1,o=!1,l=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Zo(t),ref:t&&$n(t),scopeId:vo,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:be};return l?(xr(c,n),i&128&&e.normalize(c)):n&&(c.shapeFlag|=ue(n)?8:16),xn>0&&!o&&Me&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&Me.push(c),c}const ye=au;function au(e,t=null,n=null,s=0,r=null,i=!1){if((!e||e===Mo)&&(e=Ae),Rn(e)){const l=At(e,t,!0);return n&&xr(l,n),xn>0&&!i&&Me&&(l.shapeFlag&6?Me[Me.indexOf(e)]=l:Me.push(l)),l.patchFlag=-2,l}if(Su(e)&&(e=e.__vccOpts),t){t=du(t);let{class:l,style:c}=t;l&&!ue(l)&&(t.class=bn(l)),se(c)&&(hs(c)&&!k(c)&&(c=_e({},c)),t.style=dr(c))}const o=ue(e)?1:Yo(e)?128:So(e)?64:se(e)?4:W(e)?2:0;return ke(e,t,n,s,r,o,i,!0)}function du(e){return e?hs(e)||Ko(e)?_e({},e):e:null}function At(e,t,n=!1,s=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:c}=e,f=t?pu(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Zo(f),ref:t&&t.ref?n&&i?k(i)?i.concat($n(t)):[i,$n(t)]:$n(t):i,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!==Ie?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&&At(e.ssContent),ssFallback:e.ssFallback&&At(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Cn(u,c.clone(u)),u}function hu(e=" ",t=0){return ye(bs,null,e,t)}function Ka(e,t){const n=ye(Gn,null,e);return n.staticCount=t,n}function tr(e="",t=!1){return t?(Ft(),Zn(Ae,null,e)):ye(Ae,null,e)}function Ze(e){return e==null||typeof e=="boolean"?ye(Ae):k(e)?ye(Ie,null,e.slice()):Rn(e)?lt(e):ye(bs,null,String(e))}function lt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:At(e)}function xr(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(k(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),xr(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ko(t)?t._ctx=be:r===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else W(t)?(t={default:t,_ctx:be},n=32):(t=String(t),s&64?(n=16,t=[hu(t)]):n=8);e.children=t,e.shapeFlag|=n}function pu(...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=bn([t.class,s.class]));else if(r==="style")t.style=dr([t.style,s.style]);else if(rs(r)){const i=t[r],o=s[r];o&&i!==o&&!(k(i)&&i.includes(o))?t[r]=i?[].concat(i,o):o:o==null&&i==null&&!is(r)&&(t[r]=o)}else r!==""&&(t[r]=s[r])}return t}function Qe(e,t,n,s=null){He(e,t,7,[n,s])}const gu=jo();let mu=0;function _u(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||gu,i={uid:mu++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ji(!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:$o(s,r),emitsOptions:Bo(s,r),emit:null,emitted:null,propsDefaults:le,inheritAttrs:s.inheritAttrs,ctx:le,data:le,props:le,attrs:le,slots:le,refs:le,setupState:le,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=qc.bind(null,i),e.ce&&e.ce(i),i}let Se=null;const Rr=()=>Se||be;let es,nr;{const e=as(),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)}};es=t("__VUE_INSTANCE_SETTERS__",n=>Se=n),nr=t("__VUE_SSR_SETTERS__",n=>Tn=n)}const Fn=e=>{const t=Se;return es(e),e.scope.on(),()=>{e.scope.off(),es(t)}},Yr=()=>{Se&&Se.scope.off(),es(null)};function el(e){return e.vnode.shapeFlag&4}let Tn=!1;function yu(e,t=!1,n=!1){t&&nr(t);const{props:s,children:r}=e.vnode,i=el(e);Zc(e,s,i,t),su(e,r,n||t);const o=i?vu(e,t):void 0;return t&&nr(!1),o}function vu(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,jc);const{setup:s}=n;if(s){at();const r=e.setupContext=s.length>1?Eu(e):null,i=Fn(e),o=Dn(s,e,0,[e.props,r]),l=ki(o);if(dt(),i(),(l||e.sp)&&!Wt(e)&&Oo(e),l){if(o.then(Yr,Yr),t)return o.then(c=>{Xr(e,c)}).catch(c=>{ps(c,e,0)});e.asyncDep=o}else Xr(e,o)}else tl(e)}function Xr(e,t,n){W(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:se(t)&&(e.setupState=po(t)),tl(e)}function tl(e,t,n){const s=e.type;e.render||(e.render=s.render||tt);{const r=Fn(e);at();try{Bc(e)}finally{dt(),r()}}}const bu={get(e,t){return Ee(e,"get",""),e[t]}};function Eu(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,bu),slots:e.slots,emit:e.emit,expose:t}}function Es(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(po(vr(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in mn)return mn[n](e)},has(t,n){return n in t||n in mn}})):e.proxy}function Au(e,t=!0){return W(e)?e.displayName||e.name:e.name||t&&e.__name}function Su(e){return W(e)&&"__vccOpts"in e}const Be=(e,t)=>uc(e,t,Tn);function zt(e,t,n){try{Xn(-1);const s=arguments.length;return s===2?se(t)&&!k(t)?Rn(t)?ye(e,null,[t]):ye(e,t):ye(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Rn(n)&&(n=[n]),ye(e,t,n))}finally{Xn(1)}}const wu="3.5.35";/**
15
- * @vue/runtime-dom v3.5.35
16
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
17
- * @license MIT
18
- **/let sr;const Zr=typeof window<"u"&&window.trustedTypes;if(Zr)try{sr=Zr.createPolicy("vue",{createHTML:e=>e})}catch{}const nl=sr?e=>sr.createHTML(e):e=>e,Cu="http://www.w3.org/2000/svg",xu="http://www.w3.org/1998/Math/MathML",ot=typeof document<"u"?document:null,ei=ot&&ot.createElement("template"),Ru={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"?ot.createElementNS(Cu,e):t==="mathml"?ot.createElementNS(xu,e):n?ot.createElement(e,{is:n}):ot.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ot.createTextNode(e),createComment:e=>ot.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ot.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{ei.innerHTML=nl(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=ei.content;if(s==="svg"||s==="mathml"){const c=l.firstChild;for(;c.firstChild;)l.appendChild(c.firstChild);l.removeChild(c)}t.insertBefore(l,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},mt="transition",tn="animation",On=Symbol("_vtc"),sl={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},Tu=_e({},wo,sl),Ou=e=>(e.displayName="Transition",e.props=Tu,e),Ga=Ou((e,{slots:t})=>zt(xc,Pu(e),t)),Rt=(e,t=[])=>{k(e)?e.forEach(n=>n(...t)):e&&e(...t)},ti=e=>e?k(e)?e.some(t=>t.length>1):e.length>1:!1;function Pu(e){const t={};for(const T in e)T in sl||(t[T]=e[T]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:i=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=i,appearActiveClass:f=o,appearToClass:u=l,leaveFromClass:a=`${n}-leave-from`,leaveActiveClass:p=`${n}-leave-active`,leaveToClass:m=`${n}-leave-to`}=e,A=Iu(r),S=A&&A[0],M=A&&A[1],{onBeforeEnter:F,onEnter:C,onEnterCancelled:L,onLeave:I,onLeaveCancelled:K,onBeforeAppear:Z=F,onAppear:V=C,onAppearCancelled:j=L}=t,w=(T,z,fe,we)=>{T._enterCancelled=we,Tt(T,z?u:l),Tt(T,z?f:o),fe&&fe()},G=(T,z)=>{T._isLeaving=!1,Tt(T,a),Tt(T,m),Tt(T,p),z&&z()},J=T=>(z,fe)=>{const we=T?V:C,ie=()=>w(z,T,fe);Rt(we,[z,ie]),ni(()=>{Tt(z,T?c:i),rt(z,T?u:l),ti(we)||si(z,s,S,ie)})};return _e(t,{onBeforeEnter(T){Rt(F,[T]),rt(T,i),rt(T,o)},onBeforeAppear(T){Rt(Z,[T]),rt(T,c),rt(T,f)},onEnter:J(!1),onAppear:J(!0),onLeave(T,z){T._isLeaving=!0;const fe=()=>G(T,z);rt(T,a),T._enterCancelled?(rt(T,p),oi(T)):(oi(T),rt(T,p)),ni(()=>{T._isLeaving&&(Tt(T,a),rt(T,m),ti(I)||si(T,s,M,fe))}),Rt(I,[T,fe])},onEnterCancelled(T){w(T,!1,void 0,!0),Rt(L,[T])},onAppearCancelled(T){w(T,!0,void 0,!0),Rt(j,[T])},onLeaveCancelled(T){G(T),Rt(K,[T])}})}function Iu(e){if(e==null)return null;if(se(e))return[Ms(e.enter),Ms(e.leave)];{const t=Ms(e);return[t,t]}}function Ms(e){return Tl(e)}function rt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[On]||(e[On]=new Set)).add(t)}function Tt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[On];n&&(n.delete(t),n.size||(e[On]=void 0))}function ni(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Nu=0;function si(e,t,n,s){const r=e._endId=++Nu,i=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(i,n);const{type:o,timeout:l,propCount:c}=Mu(e,t);if(!o)return s();const f=o+"end";let u=0;const a=()=>{e.removeEventListener(f,p),i()},p=m=>{m.target===e&&++u>=c&&a()};setTimeout(()=>{u<c&&a()},l+1),e.addEventListener(f,p)}function Mu(e,t){const n=window.getComputedStyle(e),s=A=>(n[A]||"").split(", "),r=s(`${mt}Delay`),i=s(`${mt}Duration`),o=ri(r,i),l=s(`${tn}Delay`),c=s(`${tn}Duration`),f=ri(l,c);let u=null,a=0,p=0;t===mt?o>0&&(u=mt,a=o,p=i.length):t===tn?f>0&&(u=tn,a=f,p=c.length):(a=Math.max(o,f),u=a>0?o>f?mt:tn:null,p=u?u===mt?i.length:c.length:0);const m=u===mt&&/\b(?:transform|all)(?:,|$)/.test(s(`${mt}Property`).toString());return{type:u,timeout:a,propCount:p,hasTransform:m}}function ri(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>ii(n)+ii(e[s])))}function ii(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function oi(e){return(e?e.ownerDocument:document).body.offsetHeight}function Lu(e,t,n){const s=e[On];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const ts=Symbol("_vod"),rl=Symbol("_vsh"),$a={name:"show",beforeMount(e,{value:t},{transition:n}){e[ts]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):nn(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:s}){!t!=!n&&(s?t?(s.beforeEnter(e),nn(e,!0),s.enter(e)):s.leave(e,()=>{nn(e,!1)}):nn(e,t))},beforeUnmount(e,{value:t}){nn(e,t)}};function nn(e,t){e.style.display=t?e[ts]:"none",e[rl]=!t}const Du=Symbol(""),Fu=/(?:^|;)\s*display\s*:/;function Vu(e,t,n){const s=e.style,r=ue(n);let i=!1;if(n&&!r){if(t)if(ue(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&fn(s,l,"")}else for(const o in t)n[o]==null&&fn(s,o,"");for(const o in n){o==="display"&&(i=!0);const l=n[o];l!=null?Bu(e,o,!ue(t)&&t?t[o]:void 0,l)||fn(s,o,l):fn(s,o,"")}}else if(r){if(t!==n){const o=s[Du];o&&(n+=";"+o),s.cssText=n,i=Fu.test(n)}}else t&&e.removeAttribute("style");ts in e&&(e[ts]=i?s.display:"",e[rl]&&(s.display="none"))}const li=/\s*!important$/;function fn(e,t,n){if(k(n))n.forEach(s=>fn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=ju(e,t);li.test(n)?e.setProperty(St(s),n.replace(li,""),"important"):e[s]=n}}const ci=["Webkit","Moz","ms"],Ls={};function ju(e,t){const n=Ls[t];if(n)return n;let s=Oe(t);if(s!=="filter"&&s in e)return Ls[t]=s;s=us(s);for(let r=0;r<ci.length;r++){const i=ci[r]+s;if(i in e)return Ls[t]=i}return t}function Bu(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&ue(s)&&n===s}const ui="http://www.w3.org/1999/xlink";function fi(e,t,n,s,r,i=Ll(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ui,t.slice(6,t.length)):e.setAttributeNS(ui,t,n):n==null||i&&!$i(n)?e.removeAttribute(t):e.setAttribute(t,i?"":De(n)?String(n):n)}function ai(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?nl(n):n);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(l!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=$i(n):n==null&&l==="string"?(n="",o=!0):l==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(r||t)}function Nt(e,t,n,s){e.addEventListener(t,n,s)}function Hu(e,t,n,s){e.removeEventListener(t,n,s)}const di=Symbol("_vei");function ku(e,t,n,s,r=null){const i=e[di]||(e[di]={}),o=i[t];if(s&&o)o.value=s;else{const[l,c]=Uu(t);if(s){const f=i[t]=$u(s,r);Nt(e,l,f,c)}else o&&(Hu(e,l,o,c),i[t]=void 0)}}const hi=/(?:Once|Passive|Capture)$/;function Uu(e){let t;if(hi.test(e)){t={};let s;for(;s=e.match(hi);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):St(e.slice(2)),t]}let Ds=0;const Ku=Promise.resolve(),Gu=()=>Ds||(Ku.then(()=>Ds=0),Ds=Date.now());function $u(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(k(r)){const i=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{i.call(s),s._stopped=!0};const o=r.slice(),l=[s];for(let c=0;c<o.length&&!s._stopped;c++){const f=o[c];f&&He(f,t,5,l)}}else He(r,t,5,[s])};return n.value=e,n.attached=Gu(),n}const pi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Wu=(e,t,n,s,r,i)=>{const o=r==="svg";t==="class"?Lu(e,s,o):t==="style"?Vu(e,n,s):rs(t)?is(t)||ku(e,t,n,s,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):qu(e,t,s,o))?(ai(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&fi(e,t,s,o,i,t!=="value")):e._isVueCE&&(Ju(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ue(s)))?ai(e,Oe(t),s,i,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),fi(e,t,s,o))};function qu(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&pi(t)&&W(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 pi(t)&&ue(n)?!1:t in e}function Ju(e,t){const n=e._def.props;if(!n)return!1;const s=Oe(t);return Array.isArray(n)?n.some(r=>Oe(r)===s):Object.keys(n).some(r=>Oe(r)===s)}const ns=e=>{const t=e.props["onUpdate:modelValue"]||!1;return k(t)?n=>Un(t,n):t};function zu(e){e.target.composing=!0}function gi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const qt=Symbol("_assign");function mi(e,t,n){return t&&(e=e.trim()),n&&(e=fs(e)),e}const Wa={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[qt]=ns(r);const i=s||r.props&&r.props.type==="number";Nt(e,t?"change":"input",o=>{o.target.composing||e[qt](mi(e.value,n,i))}),(n||i)&&Nt(e,"change",()=>{e.value=mi(e.value,n,i)}),t||(Nt(e,"compositionstart",zu),Nt(e,"compositionend",gi),Nt(e,"change",gi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:i}},o){if(e[qt]=ns(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?fs(e.value):e.value,c=t??"";if(l===c)return;const f=e.getRootNode();(f instanceof Document||f instanceof ShadowRoot)&&f.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===c)||(e.value=c)}},qa={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=os(t);Nt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>n?fs(ss(o)):ss(o));e[qt](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,gs(()=>{e._assigning=!1})}),e[qt]=ns(s)},mounted(e,{value:t}){_i(e,t)},beforeUpdate(e,t,n){e[qt]=ns(n)},updated(e,{value:t}){e._assigning||_i(e,t)}};function _i(e,t){const n=e.multiple,s=k(t);if(!(n&&!s&&!os(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=ss(o);if(n)if(s){const c=typeof l;c==="string"||c==="number"?o.selected=t.some(f=>String(f)===String(l)):o.selected=Fl(t,l)>-1}else o.selected=t.has(l);else if(Mn(ss(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ss(e){return"_value"in e?e._value:e.value}const Qu=["ctrl","shift","alt","meta"],Yu={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Qu.some(n=>e[`${n}Key`]&&!t.includes(n))},Ja=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...i)=>{for(let o=0;o<t.length;o++){const l=Yu[t[o]];if(l&&l(r,t))return}return e(r,...i)})},Xu={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},za=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const i=St(r.key);if(t.some(o=>o===i||Xu[o]===i))return e(r)})},Zu=_e({patchProp:Wu},Ru);let yi;function ef(){return yi||(yi=iu(Zu))}const tf=(...e)=>{const t=ef().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=sf(s);if(!r)return;const i=t._component;!W(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=n(r,!1,nf(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t};function nf(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function sf(e){return ue(e)?document.querySelector(e):e}/*!
19
- * pinia v2.3.1
20
- * (c) 2025 Eduardo San Martin Morote
21
- * @license MIT
22
- */let il;const As=e=>il=e,ol=Symbol();function rr(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var yn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(yn||(yn={}));function rf(){const e=zi(!0),t=e.run(()=>Sn({}));let n=[],s=[];const r=vr({install(i){As(r),r._a=i,i.provide(ol,r),i.config.globalProperties.$pinia=r,s.forEach(o=>n.push(o)),s=[]},use(i){return this._a?n.push(i):s.push(i),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const ll=()=>{};function vi(e,t,n,s=ll){e.push(t);const r=()=>{const i=e.indexOf(t);i>-1&&(e.splice(i,1),s())};return!n&&Qi()&&Vl(r),r}function Ht(e,...t){e.slice().forEach(n=>{n(...t)})}const of=e=>e(),bi=Symbol(),Fs=Symbol();function ir(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];rr(r)&&rr(s)&&e.hasOwnProperty(n)&&!de(s)&&!ft(s)?e[n]=ir(r,s):e[n]=s}return e}const lf=Symbol();function cf(e){return!rr(e)||!e.hasOwnProperty(lf)}const{assign:vt}=Object;function uf(e){return!!(de(e)&&e.effect)}function ff(e,t,n,s){const{state:r,actions:i,getters:o}=t,l=n.state.value[e];let c;function f(){l||(n.state.value[e]=r?r():{});const u=ic(n.state.value[e]);return vt(u,i,Object.keys(o||{}).reduce((a,p)=>(a[p]=vr(Be(()=>{As(n);const m=n._s.get(e);return o[p].call(m,m)})),a),{}))}return c=cl(e,f,t,n,s,!0),c}function cl(e,t,n={},s,r,i){let o;const l=vt({actions:{}},n),c={deep:!0};let f,u,a=[],p=[],m;const A=s.state.value[e];!i&&!A&&(s.state.value[e]={});let S;function M(j){let w;f=u=!1,typeof j=="function"?(j(s.state.value[e]),w={type:yn.patchFunction,storeId:e,events:m}):(ir(s.state.value[e],j),w={type:yn.patchObject,payload:j,storeId:e,events:m});const G=S=Symbol();gs().then(()=>{S===G&&(f=!0)}),u=!0,Ht(a,w,s.state.value[e])}const F=i?function(){const{state:w}=n,G=w?w():{};this.$patch(J=>{vt(J,G)})}:ll;function C(){o.stop(),a=[],p=[],s._s.delete(e)}const L=(j,w="")=>{if(bi in j)return j[Fs]=w,j;const G=function(){As(s);const J=Array.from(arguments),T=[],z=[];function fe(q){T.push(q)}function we(q){z.push(q)}Ht(p,{args:J,name:G[Fs],store:K,after:fe,onError:we});let ie;try{ie=j.apply(this&&this.$id===e?this:K,J)}catch(q){throw Ht(z,q),q}return ie instanceof Promise?ie.then(q=>(Ht(T,q),q)).catch(q=>(Ht(z,q),Promise.reject(q))):(Ht(T,ie),ie)};return G[bi]=!0,G[Fs]=w,G},I={_p:s,$id:e,$onAction:vi.bind(null,p),$patch:M,$reset:F,$subscribe(j,w={}){const G=vi(a,j,w.detached,()=>J()),J=o.run(()=>pn(()=>s.state.value[e],T=>{(w.flush==="sync"?u:f)&&j({storeId:e,type:yn.direct,events:m},T)},vt({},c,w)));return G},$dispose:C},K=Ln(I);s._s.set(e,K);const V=(s._a&&s._a.runWithContext||of)(()=>s._e.run(()=>(o=zi()).run(()=>t({action:L}))));for(const j in V){const w=V[j];if(de(w)&&!uf(w)||ft(w))i||(A&&cf(w)&&(de(w)?w.value=A[j]:ir(w,A[j])),s.state.value[e][j]=w);else if(typeof w=="function"){const G=L(w,j);V[j]=G,l.actions[j]=w}}return vt(K,V),vt(X(K),V),Object.defineProperty(K,"$state",{get:()=>s.state.value[e],set:j=>{M(w=>{vt(w,j)})}}),s._p.forEach(j=>{vt(K,o.run(()=>j({store:K,app:s._a,pinia:s,options:l})))}),A&&i&&n.hydrate&&n.hydrate(K.$state,A),f=!0,u=!0,K}/*! #__NO_SIDE_EFFECTS__ */function af(e,t,n){let s,r;const i=typeof t=="function";typeof e=="string"?(s=e,r=i?n:t):(r=e,s=e.id);function o(l,c){const f=mc();return l=l||(f?Ke(ol,null):null),l&&As(l),l=il,l._s.has(s)||(i?cl(s,t,r,l):ff(s,r,l)),l._s.get(s)}return o.$id=s,o}/**
23
- * @license lucide-vue-next v1.0.0 - ISC
24
- *
25
- * This source code is licensed under the ISC license.
26
- * See the LICENSE file in the root directory of this source tree.
27
- */const df=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};/**
28
- * @license lucide-vue-next v1.0.0 - ISC
29
- *
30
- * This source code is licensed under the ISC license.
31
- * See the LICENSE file in the root directory of this source tree.
32
- */const Ei=e=>e==="";/**
33
- * @license lucide-vue-next v1.0.0 - ISC
34
- *
35
- * This source code is licensed under the ISC license.
36
- * See the LICENSE file in the root directory of this source tree.
37
- */const hf=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim();/**
38
- * @license lucide-vue-next v1.0.0 - ISC
39
- *
40
- * This source code is licensed under the ISC license.
41
- * See the LICENSE file in the root directory of this source tree.
42
- */const Ai=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
43
- * @license lucide-vue-next v1.0.0 - ISC
44
- *
45
- * This source code is licensed under the ISC license.
46
- * See the LICENSE file in the root directory of this source tree.
47
- */const pf=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,s)=>s?s.toUpperCase():n.toLowerCase());/**
48
- * @license lucide-vue-next v1.0.0 - ISC
49
- *
50
- * This source code is licensed under the ISC license.
51
- * See the LICENSE file in the root directory of this source tree.
52
- */const gf=e=>{const t=pf(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
53
- * @license lucide-vue-next v1.0.0 - ISC
54
- *
55
- * This source code is licensed under the ISC license.
56
- * See the LICENSE file in the root directory of this source tree.
57
- */var sn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/**
58
- * @license lucide-vue-next v1.0.0 - ISC
59
- *
60
- * This source code is licensed under the ISC license.
61
- * See the LICENSE file in the root directory of this source tree.
62
- */const mf=({name:e,iconNode:t,absoluteStrokeWidth:n,"absolute-stroke-width":s,strokeWidth:r,"stroke-width":i,size:o=sn.width,color:l=sn.stroke,...c},{slots:f})=>zt("svg",{...sn,...c,width:o,height:o,stroke:l,"stroke-width":Ei(n)||Ei(s)||n===!0||s===!0?Number(r||i||sn["stroke-width"])*24/Number(o):r||i||sn["stroke-width"],class:hf("lucide",c.class,...e?[`lucide-${Ai(gf(e))}-icon`,`lucide-${Ai(e)}`]:["lucide-icon"]),...!f.default&&!df(c)&&{"aria-hidden":"true"}},[...t.map(u=>zt(...u)),...f.default?[f.default()]:[]]);/**
63
- * @license lucide-vue-next v1.0.0 - ISC
64
- *
65
- * This source code is licensed under the ISC license.
66
- * See the LICENSE file in the root directory of this source tree.
67
- */const _f=(e,t)=>(n,{slots:s,attrs:r})=>zt(mf,{...r,...n,iconNode:t,name:e},s);/**
68
- * @license lucide-vue-next v1.0.0 - ISC
69
- *
70
- * This source code is licensed under the ISC license.
71
- * See the LICENSE file in the root directory of this source tree.
72
- */const yf=_f("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),Pn=Sn(null);function vf(){return Pn}function Qa(e){var t;return(t=Pn.value)==null||t.resolve(!1),new Promise(n=>{Pn.value={...e,resolve:n}})}function rn(e){const t=Pn.value;Pn.value=null,t==null||t.resolve(e)}const bf={key:0,class:"fixed inset-0 z-[100] flex items-center justify-center p-4"},Ef=["aria-label"],Af={class:"flex items-start gap-3"},Sf={class:"min-w-0 flex-1 pt-0.5"},wf={class:"text-[15px] font-semibold text-fg"},Cf={key:0,class:"mt-1 whitespace-pre-wrap text-[13px] leading-relaxed text-fg-muted"},xf={class:"mt-5 flex justify-end gap-2"},Rf=ms({__name:"ConfirmDialog",setup(e){const t=vf();function n(s){t.value&&(s.key==="Escape"?(s.preventDefault(),rn(!1)):s.key==="Enter"&&(s.preventDefault(),rn(!0)))}return Er(()=>window.addEventListener("keydown",n)),Ar(()=>window.removeEventListener("keydown",n)),(s,r)=>(Ft(),Zn(Sc,{to:"body"},[pe(t)?(Ft(),er("div",bf,[ke("div",{class:"absolute inset-0 bg-black/50 backdrop-blur-sm",onClick:r[0]||(r[0]=i=>pe(rn)(!1))}),ke("div",{role:"alertdialog","aria-modal":"true","data-test":"confirm-dialog","aria-label":pe(t).title,class:"relative w-full max-w-sm rounded-xl border border-border bg-surface p-5 shadow-e3"},[ke("div",Af,[ke("div",{class:bn(["grid h-9 w-9 shrink-0 place-items-center rounded-lg",pe(t).tone==="default"?"bg-accent/10 text-accent":"bg-danger/10 text-danger"])},[ye(pe(yf),{size:18})],2),ke("div",Sf,[ke("h2",wf,ln(pe(t).title),1),pe(t).message?(Ft(),er("p",Cf,ln(pe(t).message),1)):tr("",!0)])]),ke("div",xf,[ke("button",{"data-test":"confirm-cancel",type:"button",class:"rounded-lg px-3 py-1.5 text-[13px] font-medium text-fg-muted transition-colors hover:bg-fg/5",onClick:r[1]||(r[1]=i=>pe(rn)(!1))},ln(pe(t).cancelLabel??"Cancel"),1),ke("button",{"data-test":"confirm-ok",type:"button",class:bn(["rounded-lg px-3 py-1.5 text-[13px] font-semibold text-white transition-opacity hover:opacity-90",pe(t).tone==="default"?"bg-accent":"bg-danger"]),onClick:r[2]||(r[2]=i=>pe(rn)(!0))},ln(pe(t).confirmLabel??"Confirm"),3)])],8,Ef)])):tr("",!0)]))}}),Tf=ms({__name:"App",setup(e){return(t,n)=>{const s=Vc("RouterView");return Ft(),er(Ie,null,[ye(s),ye(Rf)],64)}}}),Of="modulepreload",Pf=function(e){return"/"+e},Si={},Vs=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),l=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));r=Promise.allSettled(n.map(c=>{if(c=Pf(c),c in Si)return;Si[c]=!0;const f=c.endsWith(".css"),u=f?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${c}"]${u}`))return;const a=document.createElement("link");if(a.rel=f?"stylesheet":Of,f||(a.as="script"),a.crossOrigin="",a.href=c,l&&a.setAttribute("nonce",l),document.head.appendChild(a),f)return new Promise((p,m)=>{a.addEventListener("load",p),a.addEventListener("error",()=>m(new Error(`Unable to preload CSS for ${c}`)))})}))}function i(o){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=o,window.dispatchEvent(l),!l.defaultPrevented)throw o}return r.then(o=>{for(const l of o||[])l.status==="rejected"&&i(l.reason);return t().catch(i)})};/*!
73
- * vue-router v4.6.4
74
- * (c) 2025 Eduardo San Martin Morote
75
- * @license MIT
76
- */const Ut=typeof document<"u";function ul(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function If(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ul(e.default)}const te=Object.assign;function js(e,t){const n={};for(const s in t){const r=t[s];n[s]=$e(r)?r.map(e):e(r)}return n}const vn=()=>{},$e=Array.isArray;function wi(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const fl=/#/g,Nf=/&/g,Mf=/\//g,Lf=/=/g,Df=/\?/g,al=/\+/g,Ff=/%5B/g,Vf=/%5D/g,dl=/%5E/g,jf=/%60/g,hl=/%7B/g,Bf=/%7C/g,pl=/%7D/g,Hf=/%20/g;function Tr(e){return e==null?"":encodeURI(""+e).replace(Bf,"|").replace(Ff,"[").replace(Vf,"]")}function kf(e){return Tr(e).replace(hl,"{").replace(pl,"}").replace(dl,"^")}function or(e){return Tr(e).replace(al,"%2B").replace(Hf,"+").replace(fl,"%23").replace(Nf,"%26").replace(jf,"`").replace(hl,"{").replace(pl,"}").replace(dl,"^")}function Uf(e){return or(e).replace(Lf,"%3D")}function Kf(e){return Tr(e).replace(fl,"%23").replace(Df,"%3F")}function Gf(e){return Kf(e).replace(Mf,"%2F")}function In(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const $f=/\/$/,Wf=e=>e.replace($f,"");function Bs(e,t,n="/"){let s,r={},i="",o="";const l=t.indexOf("#");let c=t.indexOf("?");return c=l>=0&&c>l?-1:c,c>=0&&(s=t.slice(0,c),i=t.slice(c,l>0?l:t.length),r=e(i.slice(1))),l>=0&&(s=s||t.slice(0,l),o=t.slice(l,t.length)),s=Qf(s??t,n),{fullPath:s+i+o,path:s,query:r,hash:In(o)}}function qf(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Ci(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Jf(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Qt(t.matched[s],n.matched[r])&&gl(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Qt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function gl(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!zf(e[n],t[n]))return!1;return!0}function zf(e,t){return $e(e)?xi(e,t):$e(t)?xi(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function xi(e,t){return $e(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Qf(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,l;for(o=0;o<s.length;o++)if(l=s[o],l!==".")if(l==="..")i>1&&i--;else break;return n.slice(0,i).join("/")+"/"+s.slice(o).join("/")}const _t={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let lr=function(e){return e.pop="pop",e.push="push",e}({}),Hs=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Yf(e){if(!e)if(Ut){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Wf(e)}const Xf=/^[^#]+#/;function Zf(e,t){return e.replace(Xf,"#")+t}function ea(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 Ss=()=>({left:window.scrollX,top:window.scrollY});function ta(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=ea(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 Ri(e,t){return(history.state?history.state.position-t:-1)+e}const cr=new Map;function na(e,t){cr.set(e,t)}function sa(e){const t=cr.get(e);return cr.delete(e),t}function ra(e){return typeof e=="string"||e&&typeof e=="object"}function ml(e){return typeof e=="string"||typeof e=="symbol"}let ae=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 _l=Symbol("");ae.MATCHER_NOT_FOUND+"",ae.NAVIGATION_GUARD_REDIRECT+"",ae.NAVIGATION_ABORTED+"",ae.NAVIGATION_CANCELLED+"",ae.NAVIGATION_DUPLICATED+"";function Yt(e,t){return te(new Error,{type:e,[_l]:!0},t)}function it(e,t){return e instanceof Error&&_l in e&&(t==null||!!(e.type&t))}const ia=["params","query","hash"];function oa(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of ia)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function la(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(al," "),i=r.indexOf("="),o=In(i<0?r:r.slice(0,i)),l=i<0?null:In(r.slice(i+1));if(o in t){let c=t[o];$e(c)||(c=t[o]=[c]),c.push(l)}else t[o]=l}return t}function Ti(e){let t="";for(let n in e){const s=e[n];if(n=Uf(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}($e(s)?s.map(r=>r&&or(r)):[s&&or(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function ca(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=$e(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const ua=Symbol(""),Oi=Symbol(""),ws=Symbol(""),yl=Symbol(""),ur=Symbol("");function on(){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 Et(e,t,n,s,r,i=o=>o()){const o=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,c)=>{const f=p=>{p===!1?c(Yt(ae.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?c(p):ra(p)?c(Yt(ae.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(o&&s.enterCallbacks[r]===o&&typeof p=="function"&&o.push(p),l())},u=i(()=>e.call(s&&s.instances[r],t,n,f));let a=Promise.resolve(u);e.length<3&&(a=a.then(f)),a.catch(p=>c(p))})}function ks(e,t,n,s,r=i=>i()){const i=[];for(const o of e)for(const l in o.components){let c=o.components[l];if(!(t!=="beforeRouteEnter"&&!o.instances[l]))if(ul(c)){const f=(c.__vccOpts||c)[t];f&&i.push(Et(f,n,s,o,l,r))}else{let f=c();i.push(()=>f.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${o.path}"`);const a=If(u)?u.default:u;o.mods[l]=u,o.components[l]=a;const p=(a.__vccOpts||a)[t];return p&&Et(p,n,s,o,l,r)()}))}}return i}function fa(e,t){const n=[],s=[],r=[],i=Math.max(t.matched.length,e.matched.length);for(let o=0;o<i;o++){const l=t.matched[o];l&&(e.matched.find(f=>Qt(f,l))?s.push(l):n.push(l));const c=e.matched[o];c&&(t.matched.find(f=>Qt(f,c))||r.push(c))}return[n,s,r]}/*!
77
- * vue-router v4.6.4
78
- * (c) 2025 Eduardo San Martin Morote
79
- * @license MIT
80
- */let aa=()=>location.protocol+"//"+location.host;function vl(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,l=r.slice(o);return l[0]!=="/"&&(l="/"+l),Ci(l,"")}return Ci(n,e)+s+r}function da(e,t,n,s){let r=[],i=[],o=null;const l=({state:p})=>{const m=vl(e,location),A=n.value,S=t.value;let M=0;if(p){if(n.value=m,t.value=p,o&&o===A){o=null;return}M=S?p.position-S.position:0}else s(m);r.forEach(F=>{F(n.value,A,{delta:M,type:lr.pop,direction:M?M>0?Hs.forward:Hs.back:Hs.unknown})})};function c(){o=n.value}function f(p){r.push(p);const m=()=>{const A=r.indexOf(p);A>-1&&r.splice(A,1)};return i.push(m),m}function u(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(te({},p.state,{scroll:Ss()}),"")}}function a(){for(const p of i)p();i=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",u),document.removeEventListener("visibilitychange",u)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",u),document.addEventListener("visibilitychange",u),{pauseListeners:c,listen:f,destroy:a}}function Pi(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?Ss():null}}function ha(e){const{history:t,location:n}=window,s={value:vl(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(c,f,u){const a=e.indexOf("#"),p=a>-1?(n.host&&document.querySelector("base")?e:e.slice(a))+c:aa()+e+c;try{t[u?"replaceState":"pushState"](f,"",p),r.value=f}catch(m){console.error(m),n[u?"replace":"assign"](p)}}function o(c,f){i(c,te({},t.state,Pi(r.value.back,c,r.value.forward,!0),f,{position:r.value.position}),!0),s.value=c}function l(c,f){const u=te({},r.value,t.state,{forward:c,scroll:Ss()});i(u.current,u,!0),i(c,te({},Pi(s.value,c,null),{position:u.position+1},f),!1),s.value=c}return{location:s,state:r,push:l,replace:o}}function pa(e){e=Yf(e);const t=ha(e),n=da(e,t.state,t.location,t.replace);function s(i,o=!0){o||n.pauseListeners(),history.go(i)}const r=te({location:"",base:e,go:s,createHref:Zf.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 Mt=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var ge=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}(ge||{});const ga={type:Mt.Static,value:""},ma=/[a-zA-Z0-9_]/;function _a(e){if(!e)return[[]];if(e==="/")return[[ga]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${f}": ${m}`)}let n=ge.Static,s=n;const r=[];let i;function o(){i&&r.push(i),i=[]}let l=0,c,f="",u="";function a(){f&&(n===ge.Static?i.push({type:Mt.Static,value:f}):n===ge.Param||n===ge.ParamRegExp||n===ge.ParamRegExpEnd?(i.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),i.push({type:Mt.Param,value:f,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),f="")}function p(){f+=c}for(;l<e.length;){if(c=e[l++],c==="\\"&&n!==ge.ParamRegExp){s=n,n=ge.EscapeNext;continue}switch(n){case ge.Static:c==="/"?(f&&a(),o()):c===":"?(a(),n=ge.Param):p();break;case ge.EscapeNext:p(),n=s;break;case ge.Param:c==="("?n=ge.ParamRegExp:ma.test(c)?p():(a(),n=ge.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--);break;case ge.ParamRegExp:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:n=ge.ParamRegExpEnd:u+=c;break;case ge.ParamRegExpEnd:a(),n=ge.Static,c!=="*"&&c!=="?"&&c!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===ge.ParamRegExp&&t(`Unfinished custom RegExp for param "${f}"`),a(),o(),r}const Ii="[^/]+?",ya={sensitive:!1,strict:!1,start:!0,end:!0};var Re=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}(Re||{});const va=/[.+*?^${}()[\]/\\]/g;function ba(e,t){const n=te({},ya,t),s=[];let r=n.start?"^":"";const i=[];for(const f of e){const u=f.length?[]:[Re.Root];n.strict&&!f.length&&(r+="/");for(let a=0;a<f.length;a++){const p=f[a];let m=Re.Segment+(n.sensitive?Re.BonusCaseSensitive:0);if(p.type===Mt.Static)a||(r+="/"),r+=p.value.replace(va,"\\$&"),m+=Re.Static;else if(p.type===Mt.Param){const{value:A,repeatable:S,optional:M,regexp:F}=p;i.push({name:A,repeatable:S,optional:M});const C=F||Ii;if(C!==Ii){m+=Re.BonusCustomRegExp;try{`${C}`}catch(I){throw new Error(`Invalid custom RegExp for param "${A}" (${C}): `+I.message)}}let L=S?`((?:${C})(?:/(?:${C}))*)`:`(${C})`;a||(L=M&&f.length<2?`(?:/${L})`:"/"+L),M&&(L+="?"),r+=L,m+=Re.Dynamic,M&&(m+=Re.BonusOptional),S&&(m+=Re.BonusRepeatable),C===".*"&&(m+=Re.BonusWildcard)}u.push(m)}s.push(u)}if(n.strict&&n.end){const f=s.length-1;s[f][s[f].length-1]+=Re.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const o=new RegExp(r,n.sensitive?"":"i");function l(f){const u=f.match(o),a={};if(!u)return null;for(let p=1;p<u.length;p++){const m=u[p]||"",A=i[p-1];a[A.name]=m&&A.repeatable?m.split("/"):m}return a}function c(f){let u="",a=!1;for(const p of e){(!a||!u.endsWith("/"))&&(u+="/"),a=!1;for(const m of p)if(m.type===Mt.Static)u+=m.value;else if(m.type===Mt.Param){const{value:A,repeatable:S,optional:M}=m,F=A in f?f[A]:"";if($e(F)&&!S)throw new Error(`Provided param "${A}" is an array but it is not repeatable (* or + modifiers)`);const C=$e(F)?F.join("/"):F;if(!C)if(M)p.length<2&&(u.endsWith("/")?u=u.slice(0,-1):a=!0);else throw new Error(`Missing required param "${A}"`);u+=C}}return u||"/"}return{re:o,score:s,keys:i,parse:l,stringify:c}}function Ea(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]===Re.Static+Re.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Re.Static+Re.Segment?1:-1:0}function bl(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const i=Ea(s[n],r[n]);if(i)return i;n++}if(Math.abs(r.length-s.length)===1){if(Ni(s))return 1;if(Ni(r))return-1}return r.length-s.length}function Ni(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Aa={strict:!1,end:!0,sensitive:!1};function Sa(e,t,n){const s=ba(_a(e.path),n),r=te(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function wa(e,t){const n=[],s=new Map;t=wi(Aa,t);function r(a){return s.get(a)}function i(a,p,m){const A=!m,S=Li(a);S.aliasOf=m&&m.record;const M=wi(t,a),F=[S];if("alias"in a){const I=typeof a.alias=="string"?[a.alias]:a.alias;for(const K of I)F.push(Li(te({},S,{components:m?m.record.components:S.components,path:K,aliasOf:m?m.record:S})))}let C,L;for(const I of F){const{path:K}=I;if(p&&K[0]!=="/"){const Z=p.record.path,V=Z[Z.length-1]==="/"?"":"/";I.path=p.record.path+(K&&V+K)}if(C=Sa(I,p,M),m?m.alias.push(C):(L=L||C,L!==C&&L.alias.push(C),A&&a.name&&!Di(C)&&o(a.name)),El(C)&&c(C),S.children){const Z=S.children;for(let V=0;V<Z.length;V++)i(Z[V],C,m&&m.children[V])}m=m||C}return L?()=>{o(L)}:vn}function o(a){if(ml(a)){const p=s.get(a);p&&(s.delete(a),n.splice(n.indexOf(p),1),p.children.forEach(o),p.alias.forEach(o))}else{const p=n.indexOf(a);p>-1&&(n.splice(p,1),a.record.name&&s.delete(a.record.name),a.children.forEach(o),a.alias.forEach(o))}}function l(){return n}function c(a){const p=Ra(a,n);n.splice(p,0,a),a.record.name&&!Di(a)&&s.set(a.record.name,a)}function f(a,p){let m,A={},S,M;if("name"in a&&a.name){if(m=s.get(a.name),!m)throw Yt(ae.MATCHER_NOT_FOUND,{location:a});M=m.record.name,A=te(Mi(p.params,m.keys.filter(L=>!L.optional).concat(m.parent?m.parent.keys.filter(L=>L.optional):[]).map(L=>L.name)),a.params&&Mi(a.params,m.keys.map(L=>L.name))),S=m.stringify(A)}else if(a.path!=null)S=a.path,m=n.find(L=>L.re.test(S)),m&&(A=m.parse(S),M=m.record.name);else{if(m=p.name?s.get(p.name):n.find(L=>L.re.test(p.path)),!m)throw Yt(ae.MATCHER_NOT_FOUND,{location:a,currentLocation:p});M=m.record.name,A=te({},p.params,a.params),S=m.stringify(A)}const F=[];let C=m;for(;C;)F.unshift(C.record),C=C.parent;return{name:M,path:S,params:A,matched:F,meta:xa(F)}}e.forEach(a=>i(a));function u(){n.length=0,s.clear()}return{addRoute:i,resolve:f,removeRoute:o,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Mi(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Li(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Ca(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 Ca(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 Di(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function xa(e){return e.reduce((t,n)=>te(t,n.meta),{})}function Ra(e,t){let n=0,s=t.length;for(;n!==s;){const i=n+s>>1;bl(e,t[i])<0?s=i:n=i+1}const r=Ta(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function Ta(e){let t=e;for(;t=t.parent;)if(El(t)&&bl(e,t)===0)return t}function El({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Fi(e){const t=Ke(ws),n=Ke(yl),s=Be(()=>{const c=pe(e.to);return t.resolve(c)}),r=Be(()=>{const{matched:c}=s.value,{length:f}=c,u=c[f-1],a=n.matched;if(!u||!a.length)return-1;const p=a.findIndex(Qt.bind(null,u));if(p>-1)return p;const m=Vi(c[f-2]);return f>1&&Vi(u)===m&&a[a.length-1].path!==m?a.findIndex(Qt.bind(null,c[f-2])):p}),i=Be(()=>r.value>-1&&Ma(n.params,s.value.params)),o=Be(()=>r.value>-1&&r.value===n.matched.length-1&&gl(n.params,s.value.params));function l(c={}){if(Na(c)){const f=t[pe(e.replace)?"replace":"push"](pe(e.to)).catch(vn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:Be(()=>s.value.href),isActive:i,isExactActive:o,navigate:l}}function Oa(e){return e.length===1?e[0]:e}const Pa=ms({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:Fi,setup(e,{slots:t}){const n=Ln(Fi(e)),{options:s}=Ke(ws),r=Be(()=>({[ji(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[ji(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const i=t.default&&Oa(t.default(n));return e.custom?i:zt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},i)}}}),Ia=Pa;function Na(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 Ma(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(!$e(r)||r.length!==s.length||s.some((i,o)=>i.valueOf()!==r[o].valueOf()))return!1}return!0}function Vi(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const ji=(e,t,n)=>e??t??n,La=ms({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=Ke(ur),r=Be(()=>e.route||s.value),i=Ke(Oi,0),o=Be(()=>{let f=pe(i);const{matched:u}=r.value;let a;for(;(a=u[f])&&!a.components;)f++;return f}),l=Be(()=>r.value.matched[o.value]);Kn(Oi,Be(()=>o.value+1)),Kn(ua,l),Kn(ur,r);const c=Sn();return pn(()=>[c.value,l.value,e.name],([f,u,a],[p,m,A])=>{u&&(u.instances[a]=f,m&&m!==u&&f&&f===p&&(u.leaveGuards.size||(u.leaveGuards=m.leaveGuards),u.updateGuards.size||(u.updateGuards=m.updateGuards))),f&&u&&(!m||!Qt(u,m)||!p)&&(u.enterCallbacks[a]||[]).forEach(S=>S(f))},{flush:"post"}),()=>{const f=r.value,u=e.name,a=l.value,p=a&&a.components[u];if(!p)return Bi(n.default,{Component:p,route:f});const m=a.props[u],A=m?m===!0?f.params:typeof m=="function"?m(f):m:null,M=zt(p,te({},A,t,{onVnodeUnmounted:F=>{F.component.isUnmounted&&(a.instances[u]=null)},ref:c}));return Bi(n.default,{Component:M,route:f})||M}}});function Bi(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const Da=La;function Fa(e){const t=wa(e.routes,e),n=e.parseQuery||la,s=e.stringifyQuery||Ti,r=e.history,i=on(),o=on(),l=on(),c=nc(_t);let f=_t;Ut&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=js.bind(null,v=>""+v),a=js.bind(null,Gf),p=js.bind(null,In);function m(v,D){let P,B;return ml(v)?(P=t.getRecordMatcher(v),B=D):B=v,t.addRoute(B,P)}function A(v){const D=t.getRecordMatcher(v);D&&t.removeRoute(D)}function S(){return t.getRoutes().map(v=>v.record)}function M(v){return!!t.getRecordMatcher(v)}function F(v,D){if(D=te({},D||c.value),typeof v=="string"){const g=Bs(n,v,D.path),y=t.resolve({path:g.path},D),b=r.createHref(g.fullPath);return te(g,y,{params:p(y.params),hash:In(g.hash),redirectedFrom:void 0,href:b})}let P;if(v.path!=null)P=te({},v,{path:Bs(n,v.path,D.path).path});else{const g=te({},v.params);for(const y in g)g[y]==null&&delete g[y];P=te({},v,{params:a(g)}),D.params=a(D.params)}const B=t.resolve(P,D),Q=v.hash||"";B.params=u(p(B.params));const d=qf(s,te({},v,{hash:kf(Q),path:B.path})),h=r.createHref(d);return te({fullPath:d,hash:Q,query:s===Ti?ca(v.query):v.query||{}},B,{redirectedFrom:void 0,href:h})}function C(v){return typeof v=="string"?Bs(n,v,c.value.path):te({},v)}function L(v,D){if(f!==v)return Yt(ae.NAVIGATION_CANCELLED,{from:D,to:v})}function I(v){return V(v)}function K(v){return I(te(C(v),{replace:!0}))}function Z(v,D){const P=v.matched[v.matched.length-1];if(P&&P.redirect){const{redirect:B}=P;let Q=typeof B=="function"?B(v,D):B;return typeof Q=="string"&&(Q=Q.includes("?")||Q.includes("#")?Q=C(Q):{path:Q},Q.params={}),te({query:v.query,hash:v.hash,params:Q.path!=null?{}:v.params},Q)}}function V(v,D){const P=f=F(v),B=c.value,Q=v.state,d=v.force,h=v.replace===!0,g=Z(P,B);if(g)return V(te(C(g),{state:typeof g=="object"?te({},Q,g.state):Q,force:d,replace:h}),D||P);const y=P;y.redirectedFrom=D;let b;return!d&&Jf(s,B,P)&&(b=Yt(ae.NAVIGATION_DUPLICATED,{to:y,from:B}),We(B,B,!0,!1)),(b?Promise.resolve(b):G(y,B)).catch(_=>it(_)?it(_,ae.NAVIGATION_GUARD_REDIRECT)?_:gt(_):ee(_,y,B)).then(_=>{if(_){if(it(_,ae.NAVIGATION_GUARD_REDIRECT))return V(te({replace:h},C(_.to),{state:typeof _.to=="object"?te({},Q,_.to.state):Q,force:d}),D||y)}else _=T(y,B,!0,h,Q);return J(y,B,_),_})}function j(v,D){const P=L(v,D);return P?Promise.reject(P):Promise.resolve()}function w(v){const D=jt.values().next().value;return D&&typeof D.runWithContext=="function"?D.runWithContext(v):v()}function G(v,D){let P;const[B,Q,d]=fa(v,D);P=ks(B.reverse(),"beforeRouteLeave",v,D);for(const g of B)g.leaveGuards.forEach(y=>{P.push(Et(y,v,D))});const h=j.bind(null,v,D);return P.push(h),Fe(P).then(()=>{P=[];for(const g of i.list())P.push(Et(g,v,D));return P.push(h),Fe(P)}).then(()=>{P=ks(Q,"beforeRouteUpdate",v,D);for(const g of Q)g.updateGuards.forEach(y=>{P.push(Et(y,v,D))});return P.push(h),Fe(P)}).then(()=>{P=[];for(const g of d)if(g.beforeEnter)if($e(g.beforeEnter))for(const y of g.beforeEnter)P.push(Et(y,v,D));else P.push(Et(g.beforeEnter,v,D));return P.push(h),Fe(P)}).then(()=>(v.matched.forEach(g=>g.enterCallbacks={}),P=ks(d,"beforeRouteEnter",v,D,w),P.push(h),Fe(P))).then(()=>{P=[];for(const g of o.list())P.push(Et(g,v,D));return P.push(h),Fe(P)}).catch(g=>it(g,ae.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function J(v,D,P){l.list().forEach(B=>w(()=>B(v,D,P)))}function T(v,D,P,B,Q){const d=L(v,D);if(d)return d;const h=D===_t,g=Ut?history.state:{};P&&(B||h?r.replace(v.fullPath,te({scroll:h&&g&&g.scroll},Q)):r.push(v.fullPath,Q)),c.value=v,We(v,D,P,h),gt()}let z;function fe(){z||(z=r.listen((v,D,P)=>{if(!wt.listening)return;const B=F(v),Q=Z(B,wt.currentRoute.value);if(Q){V(te(Q,{replace:!0,force:!0}),B).catch(vn);return}f=B;const d=c.value;Ut&&na(Ri(d.fullPath,P.delta),Ss()),G(B,d).catch(h=>it(h,ae.NAVIGATION_ABORTED|ae.NAVIGATION_CANCELLED)?h:it(h,ae.NAVIGATION_GUARD_REDIRECT)?(V(te(C(h.to),{force:!0}),B).then(g=>{it(g,ae.NAVIGATION_ABORTED|ae.NAVIGATION_DUPLICATED)&&!P.delta&&P.type===lr.pop&&r.go(-1,!1)}).catch(vn),Promise.reject()):(P.delta&&r.go(-P.delta,!1),ee(h,B,d))).then(h=>{h=h||T(B,d,!1),h&&(P.delta&&!it(h,ae.NAVIGATION_CANCELLED)?r.go(-P.delta,!1):P.type===lr.pop&&it(h,ae.NAVIGATION_ABORTED|ae.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),J(B,d,h)}).catch(vn)}))}let we=on(),ie=on(),q;function ee(v,D,P){gt(v);const B=ie.list();return B.length?B.forEach(Q=>Q(v,D,P)):console.error(v),Promise.reject(v)}function nt(){return q&&c.value!==_t?Promise.resolve():new Promise((v,D)=>{we.add([v,D])})}function gt(v){return q||(q=!v,fe(),we.list().forEach(([D,P])=>v?P(v):D()),we.reset()),v}function We(v,D,P,B){const{scrollBehavior:Q}=e;if(!Ut||!Q)return Promise.resolve();const d=!P&&sa(Ri(v.fullPath,0))||(B||!P)&&history.state&&history.state.scroll||null;return gs().then(()=>Q(v,D,d)).then(h=>h&&ta(h)).catch(h=>ee(h,v,D))}const Pe=v=>r.go(v);let Vt;const jt=new Set,wt={currentRoute:c,listening:!0,addRoute:m,removeRoute:A,clearRoutes:t.clearRoutes,hasRoute:M,getRoutes:S,resolve:F,options:e,push:I,replace:K,go:Pe,back:()=>Pe(-1),forward:()=>Pe(1),beforeEach:i.add,beforeResolve:o.add,afterEach:l.add,onError:ie.add,isReady:nt,install(v){v.component("RouterLink",Ia),v.component("RouterView",Da),v.config.globalProperties.$router=wt,Object.defineProperty(v.config.globalProperties,"$route",{enumerable:!0,get:()=>pe(c)}),Ut&&!Vt&&c.value===_t&&(Vt=!0,I(r.location).catch(B=>{}));const D={};for(const B in _t)Object.defineProperty(D,B,{get:()=>c.value[B],enumerable:!0});v.provide(ws,wt),v.provide(yl,ao(D)),v.provide(ur,c);const P=v.unmount;jt.add(v),v.unmount=function(){jt.delete(v),jt.size<1&&(f=_t,z&&z(),z=null,c.value=_t,Vt=!1,q=!1),P()}}};function Fe(v){return v.reduce((D,P)=>D.then(()=>w(P)),Promise.resolve())}return wt}function Ya(){return Ke(ws)}class Al extends Error{constructor(t,n){super(t),this.code=t,this.status=n}}async function kn(e,t,n){const r=await fetch(t,{method:e,credentials:"include",headers:e==="GET"?{}:{"content-type":"application/json"},body:n===void 0?void 0:JSON.stringify(n)}),i=r.status===204?void 0:await r.json().catch(()=>{});if(!r.ok)throw new Al((i==null?void 0:i.error)??"request-failed",r.status);return i}const Us={get:e=>kn("GET",e),post:(e,t)=>kn("POST",e,t),del:e=>kn("DELETE",e),rpc:(e,t,n={})=>kn("POST",`/api/instances/${e}/rpc`,{type:t,payload:n}).then(s=>s.result)},Va=af("auth",()=>{const e=Sn(null),t=Sn("");async function n(i){t.value="";try{return e.value=await Us.post("/api/login",{token:i}),!0}catch(o){return t.value=o instanceof Al?o.code:"request-failed",e.value=null,!1}}async function s(){try{return e.value=await Us.get("/api/me"),!0}catch{return e.value=null,!1}}async function r(){await Us.post("/api/logout").catch(()=>{}),e.value=null}return{account:e,error:t,login:n,fetchMe:s,logout:r}}),ja=[{path:"/login",name:"login",component:()=>Vs(()=>import("./LoginView-CYhQnBi-.js"),__vite__mapDeps([0,1]))},{path:"/",name:"dashboard",component:()=>Vs(()=>import("./DashboardView-Bhx2FJSv.js"),__vite__mapDeps([2,1,3,4]))},{path:"/settings",name:"settings",component:()=>Vs(()=>import("./SettingsView-hmSvIsKD.js"),__vite__mapDeps([5,3]))}],Sl=Fa({history:pa(),routes:ja});Sl.beforeEach(async e=>{if(e.name==="login")return!0;const t=Va();return t.account||await t.fetchMe()?!0:{name:"login"}});tf(Tf).use(rf()).use(Sl).mount("#app");export{Al as A,dr as B,Qa as C,qa as D,Io as E,Ie as F,gs as G,Ua as H,Ha as I,gc as J,Sc as K,$a as L,Ga as M,Vc as N,Ka as O,yf as T,ke as a,ye as b,er as c,ms as d,hu as e,pe as f,tr as g,Ja as h,Ya as i,_f as j,af as k,Us as l,Be as m,Er as n,Ft as o,Ar as p,bn as q,Sn as r,ka as s,ln as t,Va as u,Wa as v,Ba as w,Zn as x,pn as y,za as z};