@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.
- package/dist/cli.js +17 -0
- package/dist/relay-web/assets/{BrandLogo.vue_vue_type_script_setup_true_lang-CSPZDDtK.js → BrandLogo.vue_vue_type_script_setup_true_lang-XzbW2yS0.js} +1 -1
- package/dist/relay-web/assets/DashboardView-DRJKYEs5.js +271 -0
- package/dist/relay-web/assets/{DashboardView-AMivJ-D8.css → DashboardView-Di-qpvLF.css} +1 -1
- package/dist/relay-web/assets/LoginView-DNZBIoE-.js +1 -0
- package/dist/relay-web/assets/SettingsView-BUnfSfl7.js +6 -0
- package/dist/relay-web/assets/{index-DC1zO5jV.css → index-BD4N8wJc.css} +1 -1
- package/dist/relay-web/assets/index-CyMgv7-t.js +98 -0
- package/dist/relay-web/assets/{theme-CaepIjgl.js → theme-BYwU4uAb.js} +1 -1
- package/dist/relay-web/index.html +2 -2
- package/dist/stores/instances.d.ts +1 -0
- package/package.json +1 -1
- package/dist/relay-web/assets/DashboardView-Bhx2FJSv.js +0 -256
- package/dist/relay-web/assets/LoginView-CYhQnBi-.js +0 -1
- package/dist/relay-web/assets/SettingsView-hmSvIsKD.js +0 -6
- package/dist/relay-web/assets/index-DE2bTqBl.js +0 -80
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LoginView-DNZBIoE-.js","assets/BrandLogo.vue_vue_type_script_setup_true_lang-XzbW2yS0.js","assets/DashboardView-DRJKYEs5.js","assets/theme-BYwU4uAb.js","assets/DashboardView-Di-qpvLF.css","assets/SettingsView-BUnfSfl7.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/**
|
|
3
|
+
* @vue/shared v3.5.35
|
|
4
|
+
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
5
|
+
* @license MIT
|
|
6
|
+
**/function bo(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const pe={},In=[],Ct=()=>{},Vl=()=>!1,Qs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Zs=e=>e.startsWith("onUpdate:"),ke=Object.assign,yo=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},ru=Object.prototype.hasOwnProperty,fe=(e,t)=>ru.call(e,t),Z=Array.isArray,On=e=>bs(e)==="[object Map]",zs=e=>bs(e)==="[object Set]",Jo=e=>bs(e)==="[object Date]",ne=e=>typeof e=="function",be=e=>typeof e=="string",rt=e=>typeof e=="symbol",de=e=>e!==null&&typeof e=="object",Hl=e=>(de(e)||ne(e))&&ne(e.then)&&ne(e.catch),Wl=Object.prototype.toString,bs=e=>Wl.call(e),ou=e=>bs(e).slice(8,-1),$l=e=>bs(e)==="[object Object]",er=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zn=bo(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),tr=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},iu=/-\w/g,Je=tr(e=>e.replace(iu,t=>t.slice(1).toUpperCase())),lu=/\B([A-Z])/g,tn=tr(e=>e.replace(lu,"-$1").toLowerCase()),nr=tr(e=>e.charAt(0).toUpperCase()+e.slice(1)),Tr=tr(e=>e?`on${nr(e)}`:""),At=(e,t)=>!Object.is(e,t),ws=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},Bl=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},sr=e=>{const t=parseFloat(e);return isNaN(t)?e:t},au=e=>{const t=be(e)?Number(e):NaN;return isNaN(t)?e:t};let Qo;const rr=()=>Qo||(Qo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function To(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],r=be(s)?du(s):To(s);if(r)for(const o in r)t[o]=r[o]}return t}else if(be(e)||de(e))return e}const cu=/;(?![^(]*\))/g,uu=/:([^]+)/,fu=/\/\*[^]*?\*\//g;function du(e){const t={};return e.replace(fu,"").split(cu).forEach(n=>{if(n){const s=n.split(uu);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function is(e){let t="";if(be(e))t=e;else if(Z(e))for(let n=0;n<e.length;n++){const s=is(e[n]);s&&(t+=s+" ")}else if(de(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const hu="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",mu=bo(hu);function jl(e){return!!e||e===""}function pu(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=ys(e[s],t[s]);return n}function ys(e,t){if(e===t)return!0;let n=Jo(e),s=Jo(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=rt(e),s=rt(t),n||s)return e===t;if(n=Z(e),s=Z(t),n||s)return n&&s?pu(e,t):!1;if(n=de(e),s=de(t),n||s){if(!n||!s)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const l=e.hasOwnProperty(i),a=t.hasOwnProperty(i);if(l&&!a||!l&&a||!ys(e[i],t[i]))return!1}}return String(e)===String(t)}function gu(e,t){return e.findIndex(n=>ys(n,t))}const Gl=e=>!!(e&&e.__v_isRef===!0),Xn=e=>be(e)?e:e==null?"":Z(e)||de(e)&&(e.toString===Wl||!ne(e.toString))?Gl(e)?Xn(e.value):JSON.stringify(e,Kl,2):String(e),Kl=(e,t)=>Gl(t)?Kl(e,t.value):On(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[Sr(s,o)+" =>"]=r,n),{})}:zs(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Sr(n))}:rt(t)?Sr(t):de(t)&&!Z(t)&&!$l(t)?String(t):t,Sr=(e,t="")=>{var n;return rt(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 Re;class Yl{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&&Re&&(Re.active?(this.parent=Re,this.index=(Re.scopes||(Re.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=Re;try{return Re=this,t()}finally{Re=n}}}on(){++this._on===1&&(this.prevScope=Re,Re=this)}off(){if(this._on>0&&--this._on===0){if(Re===this)Re=this.prevScope;else{let t=Re;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n<s;n++)this.effects[n].stop();for(this.effects.length=0,n=0,s=this.cleanups.length;n<s;n++)this.cleanups[n]();if(this.cleanups.length=0,this.scopes){for(n=0,s=this.scopes.length;n<s;n++)this.scopes[n].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function So(e){return new Yl(e)}function Xl(){return Re}function _u(e,t=!1){Re&&Re.cleanups.push(e)}let _e;const Ar=new WeakSet;class ql{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,Re&&(Re.active?Re.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Ar.has(this)&&(Ar.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ql(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Zo(this),Zl(this);const t=_e,n=gt;_e=this,gt=!0;try{return this.fn()}finally{zl(this),_e=t,gt=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Co(t);this.deps=this.depsTail=void 0,Zo(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ar.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Br(this)&&this.run()}get dirty(){return Br(this)}}let Jl=0,zn,es;function Ql(e,t=!1){if(e.flags|=8,t){e.next=es,es=e;return}e.next=zn,zn=e}function Ao(){Jl++}function No(){if(--Jl>0)return;if(es){let t=es;for(es=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;zn;){let t=zn;for(zn=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 Zl(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function zl(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),Co(s),Eu(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Br(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ea(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ea(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ls)||(e.globalVersion=ls,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Br(e))))return;e.flags|=2;const t=e.dep,n=_e,s=gt;_e=e,gt=!0;try{Zl(e);const r=e.fn(e._value);(t.version===0||At(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{_e=n,gt=s,zl(e),e.flags&=-3}}function Co(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)Co(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Eu(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let gt=!0;const ta=[];function Vt(){ta.push(gt),gt=!1}function Ht(){const e=ta.pop();gt=e===void 0?!0:e}function Zo(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=_e;_e=void 0;try{t()}finally{_e=n}}}let ls=0;class vu{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 Lo{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(!_e||!gt||_e===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==_e)n=this.activeLink=new vu(_e,this),_e.deps?(n.prevDep=_e.depsTail,_e.depsTail.nextDep=n,_e.depsTail=n):_e.deps=_e.depsTail=n,na(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=_e.depsTail,n.nextDep=void 0,_e.depsTail.nextDep=n,_e.depsTail=n,_e.deps===n&&(_e.deps=s)}return n}trigger(t){this.version++,ls++,this.notify(t)}notify(t){Ao();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{No()}}}function na(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)na(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const xs=new WeakMap,En=Symbol(""),jr=Symbol(""),as=Symbol("");function Ve(e,t,n){if(gt&&_e){let s=xs.get(e);s||xs.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Lo),r.map=s,r.key=n),r.track()}}function Mt(e,t,n,s,r,o){const i=xs.get(e);if(!i){ls++;return}const l=a=>{a&&a.trigger()};if(Ao(),t==="clear")i.forEach(l);else{const a=Z(e),c=a&&er(n);if(a&&n==="length"){const u=Number(s);i.forEach((f,m)=>{(m==="length"||m===as||!rt(m)&&m>=u)&&l(f)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),c&&l(i.get(as)),t){case"add":a?c&&l(i.get("length")):(l(i.get(En)),On(e)&&l(i.get(jr)));break;case"delete":a||(l(i.get(En)),On(e)&&l(i.get(jr)));break;case"set":On(e)&&l(i.get(En));break}}No()}function bu(e,t){const n=xs.get(e);return n&&n.get(t)}function Tn(e){const t=ae(e);return t===e?t:(Ve(t,"iterate",as),st(e)?t:t.map(_t))}function or(e){return Ve(e=ae(e),"iterate",as),e}function Tt(e,t){return Wt(e)?kn(Ut(e)?_t(t):t):_t(t)}const yu={__proto__:null,[Symbol.iterator](){return Nr(this,Symbol.iterator,e=>Tt(this,e))},concat(...e){return Tn(this).concat(...e.map(t=>Z(t)?Tn(t):t))},entries(){return Nr(this,"entries",e=>(e[1]=Tt(this,e[1]),e))},every(e,t){return It(this,"every",e,t,void 0,arguments)},filter(e,t){return It(this,"filter",e,t,n=>n.map(s=>Tt(this,s)),arguments)},find(e,t){return It(this,"find",e,t,n=>Tt(this,n),arguments)},findIndex(e,t){return It(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return It(this,"findLast",e,t,n=>Tt(this,n),arguments)},findLastIndex(e,t){return It(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return It(this,"forEach",e,t,void 0,arguments)},includes(...e){return Cr(this,"includes",e)},indexOf(...e){return Cr(this,"indexOf",e)},join(e){return Tn(this).join(e)},lastIndexOf(...e){return Cr(this,"lastIndexOf",e)},map(e,t){return It(this,"map",e,t,void 0,arguments)},pop(){return Vn(this,"pop")},push(...e){return Vn(this,"push",e)},reduce(e,...t){return zo(this,"reduce",e,t)},reduceRight(e,...t){return zo(this,"reduceRight",e,t)},shift(){return Vn(this,"shift")},some(e,t){return It(this,"some",e,t,void 0,arguments)},splice(...e){return Vn(this,"splice",e)},toReversed(){return Tn(this).toReversed()},toSorted(e){return Tn(this).toSorted(e)},toSpliced(...e){return Tn(this).toSpliced(...e)},unshift(...e){return Vn(this,"unshift",e)},values(){return Nr(this,"values",e=>Tt(this,e))}};function Nr(e,t,n){const s=or(e),r=s[t]();return s!==e&&!st(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const Tu=Array.prototype;function It(e,t,n,s,r,o){const i=or(e),l=i!==e&&!st(e),a=i[t];if(a!==Tu[t]){const f=a.apply(e,o);return l?_t(f):f}let c=n;i!==e&&(l?c=function(f,m){return n.call(this,Tt(e,f),m,e)}:n.length>2&&(c=function(f,m){return n.call(this,f,m,e)}));const u=a.call(i,c,s);return l&&r?r(u):u}function zo(e,t,n,s){const r=or(e),o=r!==e&&!st(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(c,u,f){return l&&(l=!1,c=Tt(e,c)),n.call(this,c,Tt(e,u),f,e)}):n.length>3&&(i=function(c,u,f){return n.call(this,c,u,f,e)}));const a=r[t](i,...s);return l?Tt(e,a):a}function Cr(e,t,n){const s=ae(e);Ve(s,"iterate",as);const r=s[t](...n);return(r===-1||r===!1)&&ir(n[0])?(n[0]=ae(n[0]),s[t](...n)):r}function Vn(e,t,n=[]){Vt(),Ao();const s=ae(e)[t].apply(e,n);return No(),Ht(),s}const Su=bo("__proto__,__v_isRef,__isVue"),sa=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(rt));function Au(e){rt(e)||(e=String(e));const t=ae(this);return Ve(t,"has",e),t.hasOwnProperty(e)}class ra{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?Du:aa:o?la:ia).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=Z(t);if(!r){let a;if(i&&(a=yu[n]))return a;if(n==="hasOwnProperty")return Au}const l=Reflect.get(t,n,ye(t)?t:s);if((rt(n)?sa.has(n):Su(n))||(r||Ve(t,"get",n),o))return l;if(ye(l)){const a=i&&er(n)?l:l.value;return r&&de(a)?Kr(a):a}return de(l)?r?Kr(l):Ts(l):l}}class oa extends ra{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=Z(t)&&er(n);if(!this._isShallow){const c=Wt(o);if(!st(s)&&!Wt(s)&&(o=ae(o),s=ae(s)),!i&&ye(o)&&!ye(s))return c||(o.value=s),!0}const l=i?Number(n)<t.length:fe(t,n),a=Reflect.set(t,n,s,ye(t)?t:r);return t===ae(r)&&(l?At(s,o)&&Mt(t,"set",n,s):Mt(t,"add",n,s)),a}deleteProperty(t,n){const s=fe(t,n);t[n];const r=Reflect.deleteProperty(t,n);return r&&s&&Mt(t,"delete",n,void 0),r}has(t,n){const s=Reflect.has(t,n);return(!rt(n)||!sa.has(n))&&Ve(t,"has",n),s}ownKeys(t){return Ve(t,"iterate",Z(t)?"length":En),Reflect.ownKeys(t)}}class Nu extends ra{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Cu=new oa,Lu=new Nu,Iu=new oa(!0);const Gr=e=>e,Cs=e=>Reflect.getPrototypeOf(e);function Ou(e,t,n){return function(...s){const r=this.__v_raw,o=ae(r),i=On(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,c=r[e](...s),u=n?Gr:t?kn:_t;return!t&&Ve(o,"iterate",a?jr:En),ke(Object.create(c),{next(){const{value:f,done:m}=c.next();return m?{value:f,done:m}:{value:l?[u(f[0]),u(f[1])]:u(f),done:m}}})}}function Ls(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ru(e,t){const n={get(r){const o=this.__v_raw,i=ae(o),l=ae(r);e||(At(r,l)&&Ve(i,"get",r),Ve(i,"get",l));const{has:a}=Cs(i),c=t?Gr:e?kn:_t;if(a.call(i,r))return c(o.get(r));if(a.call(i,l))return c(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Ve(ae(r),"iterate",En),r.size},has(r){const o=this.__v_raw,i=ae(o),l=ae(r);return e||(At(r,l)&&Ve(i,"has",r),Ve(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,a=ae(l),c=t?Gr:e?kn:_t;return!e&&Ve(a,"iterate",En),l.forEach((u,f)=>r.call(o,c(u),c(f),i))}};return ke(n,e?{add:Ls("add"),set:Ls("set"),delete:Ls("delete"),clear:Ls("clear")}:{add(r){const o=ae(this),i=Cs(o),l=ae(r),a=!t&&!st(r)&&!Wt(r)?l:r;return i.has.call(o,a)||At(r,a)&&i.has.call(o,r)||At(l,a)&&i.has.call(o,l)||(o.add(a),Mt(o,"add",a,a)),this},set(r,o){!t&&!st(o)&&!Wt(o)&&(o=ae(o));const i=ae(this),{has:l,get:a}=Cs(i);let c=l.call(i,r);c||(r=ae(r),c=l.call(i,r));const u=a.call(i,r);return i.set(r,o),c?At(o,u)&&Mt(i,"set",r,o):Mt(i,"add",r,o),this},delete(r){const o=ae(this),{has:i,get:l}=Cs(o);let a=i.call(o,r);a||(r=ae(r),a=i.call(o,r)),l&&l.call(o,r);const c=o.delete(r);return a&&Mt(o,"delete",r,void 0),c},clear(){const r=ae(this),o=r.size!==0,i=r.clear();return o&&Mt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=Ou(r,e,t)}),n}function Io(e,t){const n=Ru(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(fe(n,r)&&r in s?n:s,r,o)}const Pu={get:Io(!1,!1)},wu={get:Io(!1,!0)},ku={get:Io(!0,!1)};const ia=new WeakMap,la=new WeakMap,aa=new WeakMap,Du=new WeakMap;function Mu(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ts(e){return Wt(e)?e:Oo(e,!1,Cu,Pu,ia)}function ca(e){return Oo(e,!1,Iu,wu,la)}function Kr(e){return Oo(e,!0,Lu,ku,aa)}function Oo(e,t,n,s,r){if(!de(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=r.get(e);if(o)return o;const i=Mu(ou(e));if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function Ut(e){return Wt(e)?Ut(e.__v_raw):!!(e&&e.__v_isReactive)}function Wt(e){return!!(e&&e.__v_isReadonly)}function st(e){return!!(e&&e.__v_isShallow)}function ir(e){return e?!!e.__v_raw:!1}function ae(e){const t=e&&e.__v_raw;return t?ae(t):e}function Ro(e){return!fe(e,"__v_skip")&&Object.isExtensible(e)&&Bl(e,"__v_skip",!0),e}const _t=e=>de(e)?Ts(e):e,kn=e=>de(e)?Kr(e):e;function ye(e){return e?e.__v_isRef===!0:!1}function ct(e){return ua(e,!1)}function Po(e){return ua(e,!0)}function ua(e,t){return ye(e)?e:new Fu(e,t)}class Fu{constructor(t,n){this.dep=new Lo,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ae(t),this._value=n?t:_t(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||st(t)||Wt(t);t=s?t:ae(t),At(t,n)&&(this._rawValue=t,this._value=s?t:_t(t),this.dep.trigger())}}function Ie(e){return ye(e)?e.value:e}const xu={get:(e,t,n)=>t==="__v_raw"?e:Ie(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return ye(r)&&!ye(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function fa(e){return Ut(e)?e:new Proxy(e,xu)}function Uu(e){const t=Z(e)?new Array(e.length):{};for(const n in e)t[n]=Hu(e,n);return t}class Vu{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=rt(n)?n:String(n),this._raw=ae(t);let r=!0,o=t;if(!Z(t)||rt(this._key)||!er(this._key))do r=!ir(o)||st(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=Ie(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&ye(this._raw[this._key])){const n=this._object[this._key];if(ye(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return bu(this._raw,this._key)}}function Hu(e,t,n){return new Vu(e,t,n)}class Wu{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Lo(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ls-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&_e!==this)return Ql(this,!0),!0}get value(){const t=this.dep.track();return ea(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function $u(e,t,n=!1){let s,r;return ne(e)?s=e:(s=e.get,r=e.set),new Wu(s,r,n)}const Is={},Us=new WeakMap;let hn;function Bu(e,t=!1,n=hn){if(n){let s=Us.get(n);s||Us.set(n,s=[]),s.push(e)}}function ju(e,t,n=pe){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:a}=n,c=b=>r?b:st(b)||r===!1||r===0?Ft(b,1):Ft(b);let u,f,m,_,N=!1,y=!1;if(ye(e)?(f=()=>e.value,N=st(e)):Ut(e)?(f=()=>c(e),N=!0):Z(e)?(y=!0,N=e.some(b=>Ut(b)||st(b)),f=()=>e.map(b=>{if(ye(b))return b.value;if(Ut(b))return c(b);if(ne(b))return a?a(b,2):b()})):ne(e)?t?f=a?()=>a(e,2):e:f=()=>{if(m){Vt();try{m()}finally{Ht()}}const b=hn;hn=u;try{return a?a(e,3,[_]):e(_)}finally{hn=b}}:f=Ct,t&&r){const b=f,I=r===!0?1/0:r;f=()=>Ft(b(),I)}const w=Xl(),M=()=>{u.stop(),w&&w.active&&yo(w.effects,u)};if(o&&t){const b=t;t=(...I)=>{b(...I),M()}}let R=y?new Array(e.length).fill(Is):Is;const v=b=>{if(!(!(u.flags&1)||!u.dirty&&!b))if(t){const I=u.run();if(r||N||(y?I.some((O,L)=>At(O,R[L])):At(I,R))){m&&m();const O=hn;hn=u;try{const L=[I,R===Is?void 0:y&&R[0]===Is?[]:R,_];R=I,a?a(t,3,L):t(...L)}finally{hn=O}}}else u.run()};return l&&l(v),u=new ql(f),u.scheduler=i?()=>i(v,!1):v,_=b=>Bu(b,!1,u),m=u.onStop=()=>{const b=Us.get(u);if(b){if(a)a(b,4);else for(const I of b)I();Us.delete(u)}},t?s?v(!0):R=u.run():i?i(v.bind(null,!0),!0):u.run(),M.pause=u.pause.bind(u),M.resume=u.resume.bind(u),M.stop=M,M}function Ft(e,t=1/0,n){if(t<=0||!de(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,ye(e))Ft(e.value,t,n);else if(Z(e))for(let s=0;s<e.length;s++)Ft(e[s],t,n);else if(zs(e)||On(e))e.forEach(s=>{Ft(s,t,n)});else if($l(e)){for(const s in e)Ft(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&Ft(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 Ss(e,t,n,s){try{return s?e(...s):e()}catch(r){lr(r,t,n)}}function ft(e,t,n,s){if(ne(e)){const r=Ss(e,t,n,s);return r&&Hl(r)&&r.catch(o=>{lr(o,t,n)}),r}if(Z(e)){const r=[];for(let o=0;o<e.length;o++)r.push(ft(e[o],t,n,s));return r}}function lr(e,t,n,s=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||pe;if(t){let l=t.parent;const a=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${n}`;for(;l;){const u=l.ec;if(u){for(let f=0;f<u.length;f++)if(u[f](e,a,c)===!1)return}l=l.parent}if(o){Vt(),Ss(o,null,10,[e,a,c]),Ht();return}}Gu(e,n,r,s,i)}function Gu(e,t,n,s=!0,r=!1){if(r)throw e;console.error(e)}const qe=[];let yt=-1;const Rn=[];let Xt=null,An=0;const da=Promise.resolve();let Vs=null;function ar(e){const t=Vs||da;return e?t.then(this?e.bind(this):e):t}function Ku(e){let t=yt+1,n=qe.length;for(;t<n;){const s=t+n>>>1,r=qe[s],o=cs(r);o<e||o===e&&r.flags&2?t=s+1:n=s}return t}function wo(e){if(!(e.flags&1)){const t=cs(e),n=qe[qe.length-1];!n||!(e.flags&2)&&t>=cs(n)?qe.push(e):qe.splice(Ku(t),0,e),e.flags|=1,ha()}}function ha(){Vs||(Vs=da.then(pa))}function Yu(e){Z(e)?Rn.push(...e):Xt&&e.id===-1?Xt.splice(An+1,0,e):e.flags&1||(Rn.push(e),e.flags|=1),ha()}function ei(e,t,n=yt+1){for(;n<qe.length;n++){const s=qe[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;qe.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function ma(e){if(Rn.length){const t=[...new Set(Rn)].sort((n,s)=>cs(n)-cs(s));if(Rn.length=0,Xt){Xt.push(...t);return}for(Xt=t,An=0;An<Xt.length;An++){const n=Xt[An];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}Xt=null,An=0}}const cs=e=>e.id==null?e.flags&2?-1:1/0:e.id;function pa(e){try{for(yt=0;yt<qe.length;yt++){const t=qe[yt];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ss(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;yt<qe.length;yt++){const t=qe[yt];t&&(t.flags&=-2)}yt=-1,qe.length=0,ma(),Vs=null,(qe.length||Rn.length)&&pa()}}let xe=null,ga=null;function Hs(e){const t=xe;return xe=e,ga=e&&e.type.__scopeId||null,t}function Xu(e,t=xe,n){if(!t||e._n)return e;const s=(...r)=>{s._d&&Bs(-1);const o=Hs(t);let i;try{i=e(...r)}finally{Hs(o),s._d&&Bs(1)}return i};return s._n=!0,s._c=!0,s._d=!0,s}function wg(e,t){if(xe===null)return e;const n=hr(xe),s=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,l,a=pe]=t[r];o&&(ne(o)&&(o={mounted:o,updated:o}),o.deep&&Ft(i),s.push({dir:o,instance:n,value:i,oldValue:void 0,arg:l,modifiers:a}))}return e}function ln(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const l=r[i];o&&(l.oldValue=o[i].value);let a=l.dir[s];a&&(Vt(),ft(a,n,8,[e.el,l,e,t]),Ht())}}function ks(e,t){if($e){let n=$e.provides;const s=$e.parent&&$e.parent.provides;s===n&&(n=$e.provides=Object.create(s)),n[e]=t}}function ut(e,t,n=!1){const s=Zt();if(s||vn){let r=vn?vn._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&&ne(t)?t.call(s&&s.proxy):t}}function qu(){return!!(Zt()||vn)}const Ju=Symbol.for("v-scx"),Qu=()=>ut(Ju);function Jt(e,t,n){return _a(e,t,n)}function _a(e,t,n=pe){const{immediate:s,deep:r,flush:o,once:i}=n,l=ke({},n),a=t&&s||!t&&o!=="post";let c;if(hs){if(o==="sync"){const _=Qu();c=_.__watcherHandles||(_.__watcherHandles=[])}else if(!a){const _=()=>{};return _.stop=Ct,_.resume=Ct,_.pause=Ct,_}}const u=$e;l.call=(_,N,y)=>ft(_,u,N,y);let f=!1;o==="post"?l.scheduler=_=>{Ke(_,u&&u.suspense)}:o!=="sync"&&(f=!0,l.scheduler=(_,N)=>{N?_():wo(_)}),l.augmentJob=_=>{t&&(_.flags|=4),f&&(_.flags|=2,u&&(_.id=u.uid,_.i=u))};const m=ju(e,t,l);return hs&&(c?c.push(m):a&&m()),m}function Zu(e,t,n){const s=this.proxy,r=be(e)?e.includes(".")?Ea(s,e):()=>s[e]:e.bind(s,s);let o;ne(t)?o=t:(o=t.handler,n=t);const i=Ns(this),l=_a(r,o.bind(s),n);return i(),l}function Ea(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 Kt=new WeakMap,va=Symbol("_vte"),ba=e=>e.__isTeleport,mn=e=>e&&(e.disabled||e.disabled===""),zu=e=>e&&(e.defer||e.defer===""),ti=e=>typeof SVGElement<"u"&&e instanceof SVGElement,ni=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,Yr=(e,t)=>{const n=e&&e.to;return be(n)?t?t(n):null:n},ef={name:"Teleport",__isTeleport:!0,process(e,t,n,s,r,o,i,l,a,c){const{mc:u,pc:f,pbc:m,o:{insert:_,querySelector:N,createText:y,createComment:w,parentNode:M}}=c,R=mn(t.props);let{dynamicChildren:v}=t;const b=(L,F,T)=>{L.shapeFlag&16&&u(L.children,F,T,r,o,i,l,a)},I=(L=t)=>{const F=mn(L.props),T=L.target=Yr(L.props,N),K=Xr(T,L,y,_);T&&(i!=="svg"&&ti(T)?i="svg":i!=="mathml"&&ni(T)&&(i="mathml"),r&&r.isCE&&(r.ce._teleportTargets||(r.ce._teleportTargets=new Set)).add(T),F||(b(L,T,K),qn(L,!1)))},O=L=>{const F=()=>{if(Kt.get(L)===F){if(Kt.delete(L),mn(L.props)){const T=M(L.el)||n;b(L,T,L.anchor),qn(L,!0)}I(L)}};Kt.set(L,F),Ke(F,o)};if(e==null){const L=t.el=y(""),F=t.anchor=y("");if(_(L,n,s),_(F,n,s),zu(t.props)||o&&o.pendingBranch){O(t);return}R&&(b(t,n,F),qn(t,!0)),I()}else{t.el=e.el;const L=t.anchor=e.anchor,F=Kt.get(e);if(F){F.flags|=8,Kt.delete(e),O(t);return}t.targetStart=e.targetStart;const T=t.target=e.target,K=t.targetAnchor=e.targetAnchor,Q=mn(e.props),V=Q?n:T,J=Q?L:K;if(i==="svg"||ti(T)?i="svg":(i==="mathml"||ni(T))&&(i="mathml"),v?(m(e.dynamicChildren,v,V,r,o,i,l),xo(e,t,!0)):a||f(e,t,V,J,r,o,i,l,!1),R)Q?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Os(t,n,L,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const he=t.target=Yr(t.props,N);he&&Os(t,he,null,c,0)}else Q&&Os(t,T,K,c,1);qn(t,R)}},remove(e,t,n,{um:s,o:{remove:r}},o){const{shapeFlag:i,children:l,anchor:a,targetStart:c,targetAnchor:u,target:f,props:m}=e,_=o||!mn(m),N=Kt.get(e);if(N&&(N.flags|=8,Kt.delete(e)),f&&(r(c),r(u)),o&&r(a),!N&&i&16)for(let y=0;y<l.length;y++){const w=l[y];s(w,t,n,_,!!w.dynamicChildren)}},move:Os,hydrate:tf};function Os(e,t,n,{o:{insert:s},m:r},o=2){o===0&&s(e.targetAnchor,t,n);const{el:i,anchor:l,shapeFlag:a,children:c,props:u}=e,f=o===2;if(f&&s(i,t,n),!Kt.has(e)&&(!f||mn(u))&&a&16)for(let m=0;m<c.length;m++)r(c[m],t,n,2);f&&s(l,t,n)}function tf(e,t,n,s,r,o,{o:{nextSibling:i,parentNode:l,querySelector:a,insert:c,createText:u}},f){function m(w,M){let R=M;for(;R;){if(R&&R.nodeType===8){if(R.data==="teleport start anchor")t.targetStart=R;else if(R.data==="teleport anchor"){t.targetAnchor=R,w._lpa=t.targetAnchor&&i(t.targetAnchor);break}}R=i(R)}}function _(w,M){M.anchor=f(i(w),M,l(w),n,s,r,o)}const N=t.target=Yr(t.props,a),y=mn(t.props);if(N){const w=N._lpa||N.firstChild;t.shapeFlag&16&&(y?(_(e,t),m(N,w),t.targetAnchor||Xr(N,t,u,c,l(e)===N?e:null)):(t.anchor=i(e),m(N,w),t.targetAnchor||Xr(N,t,u,c),f(w&&i(w),t,N,n,s,r,o))),qn(t,y)}else y&&t.shapeFlag&16&&(_(e,t),t.targetStart=e,t.targetAnchor=i(e));return t.anchor&&i(t.anchor)}const nf=ef;function qn(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 Xr(e,t,n,s,r=null){const o=t.targetStart=n(""),i=t.targetAnchor=n("");return o[va]=i,e&&(s(o,e,r),s(i,e,r)),i}const lt=Symbol("_leaveCb"),Hn=Symbol("_enterCb");function sf(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fr(()=>{e.isMounted=!0}),ko(()=>{e.isUnmounting=!0}),e}const it=[Function,Array],ya={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:it,onEnter:it,onAfterEnter:it,onEnterCancelled:it,onBeforeLeave:it,onLeave:it,onAfterLeave:it,onLeaveCancelled:it,onBeforeAppear:it,onAppear:it,onAfterAppear:it,onAppearCancelled:it},Ta=e=>{const t=e.subTree;return t.component?Ta(t.component):t},rf={name:"BaseTransition",props:ya,setup(e,{slots:t}){const n=Zt(),s=sf();return()=>{const r=t.default&&Na(t.default(),!0),o=r&&r.length?Sa(r):n.subTree?to():void 0;if(!o)return;const i=ae(e),{mode:l}=i;if(s.isLeaving)return Lr(o);const a=si(o);if(!a)return Lr(o);let c=qr(a,i,s,n,f=>c=f);a.type!==We&&us(a,c);let u=n.subTree&&si(n.subTree);if(u&&u.type!==We&&!pn(u,a)&&Ta(n).type!==We){let f=qr(u,i,s,n);if(us(u,f),l==="out-in"&&a.type!==We)return s.isLeaving=!0,f.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete f.afterLeave,u=void 0},Lr(o);l==="in-out"&&a.type!==We?f.delayLeave=(m,_,N)=>{const y=Aa(s,u);y[String(u.key)]=u,m[lt]=()=>{_(),m[lt]=void 0,delete c.delayedLeave,u=void 0},c.delayedLeave=()=>{N(),delete c.delayedLeave,u=void 0}}:u=void 0}else u&&(u=void 0);return o}}};function Sa(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==We){t=n;break}}return t}const of=rf;function Aa(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 qr(e,t,n,s,r){const{appear:o,mode:i,persisted:l=!1,onBeforeEnter:a,onEnter:c,onAfterEnter:u,onEnterCancelled:f,onBeforeLeave:m,onLeave:_,onAfterLeave:N,onLeaveCancelled:y,onBeforeAppear:w,onAppear:M,onAfterAppear:R,onAppearCancelled:v}=t,b=String(e.key),I=Aa(n,e),O=(T,K)=>{T&&ft(T,s,9,K)},L=(T,K)=>{const Q=K[1];O(T,K),Z(T)?T.every(V=>V.length<=1)&&Q():T.length<=1&&Q()},F={mode:i,persisted:l,beforeEnter(T){let K=a;if(!n.isMounted)if(o)K=w||a;else return;T[lt]&&T[lt](!0);const Q=I[b];Q&&pn(e,Q)&&Q.el[lt]&&Q.el[lt](),O(K,[T])},enter(T){if(I[b]===e)return;let K=c,Q=u,V=f;if(!n.isMounted)if(o)K=M||c,Q=R||u,V=v||f;else return;let J=!1;T[Hn]=Ce=>{J||(J=!0,Ce?O(V,[T]):O(Q,[T]),F.delayedLeave&&F.delayedLeave(),T[Hn]=void 0)};const he=T[Hn].bind(null,!1);K?L(K,[T,he]):he()},leave(T,K){const Q=String(e.key);if(T[Hn]&&T[Hn](!0),n.isUnmounting)return K();O(m,[T]);let V=!1;T[lt]=he=>{V||(V=!0,K(),he?O(y,[T]):O(N,[T]),T[lt]=void 0,I[Q]===e&&delete I[Q])};const J=T[lt].bind(null,!1);I[Q]=e,_?L(_,[T,J]):J()},clone(T){const K=qr(T,t,n,s,r);return r&&r(K),K}};return F}function Lr(e){if(cr(e))return e=Qt(e),e.children=null,e}function si(e){if(!cr(e))return ba(e.type)&&e.children?Sa(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&&ne(n.default))return n.default()}}function us(e,t){e.shapeFlag&6&&e.component?(e.transition=t,us(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 Na(e,t=!1,n){let s=[],r=0;for(let o=0;o<e.length;o++){let i=e[o];const l=n==null?i.key:String(n)+String(i.key!=null?i.key:o);i.type===He?(i.patchFlag&128&&r++,s=s.concat(Na(i.children,t,l))):(t||i.type!==We)&&s.push(l!=null?Qt(i,{key:l}):i)}if(r>1)for(let o=0;o<s.length;o++)s[o].patchFlag=-2;return s}function yn(e,t){return ne(e)?ke({name:e.name},t,{setup:e}):e}function Ca(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function ri(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Ws=new WeakMap;function ts(e,t,n,s,r=!1){if(Z(e)){e.forEach((y,w)=>ts(y,t&&(Z(t)?t[w]:t),n,s,r));return}if(Pn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&ts(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?hr(s.component):s.el,i=r?null:o,{i:l,r:a}=e,c=t&&t.r,u=l.refs===pe?l.refs={}:l.refs,f=l.setupState,m=ae(f),_=f===pe?Vl:y=>ri(u,y)?!1:fe(m,y),N=(y,w)=>!(w&&ri(u,w));if(c!=null&&c!==a){if(oi(t),be(c))u[c]=null,_(c)&&(f[c]=null);else if(ye(c)){const y=t;N(c,y.k)&&(c.value=null),y.k&&(u[y.k]=null)}}if(ne(a))Ss(a,l,12,[i,u]);else{const y=be(a),w=ye(a);if(y||w){const M=()=>{if(e.f){const R=y?_(a)?f[a]:u[a]:N()||!e.k?a.value:u[e.k];if(r)Z(R)&&yo(R,o);else if(Z(R))R.includes(o)||R.push(o);else if(y)u[a]=[o],_(a)&&(f[a]=u[a]);else{const v=[o];N(a,e.k)&&(a.value=v),e.k&&(u[e.k]=v)}}else y?(u[a]=i,_(a)&&(f[a]=i)):w&&(N(a,e.k)&&(a.value=i),e.k&&(u[e.k]=i))};if(i){const R=()=>{M(),Ws.delete(e)};R.id=-1,Ws.set(e,R),Ke(R,n)}else oi(e),M()}}}function oi(e){const t=Ws.get(e);t&&(t.flags|=8,Ws.delete(e))}rr().requestIdleCallback;rr().cancelIdleCallback;const Pn=e=>!!e.type.__asyncLoader,cr=e=>e.type.__isKeepAlive;function lf(e,t){La(e,"a",t)}function af(e,t){La(e,"da",t)}function La(e,t,n=$e){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ur(t,s,n),n){let r=n.parent;for(;r&&r.parent;)cr(r.parent.vnode)&&cf(s,t,n,r),r=r.parent}}function cf(e,t,n,s){const r=ur(t,e,s,!0);Do(()=>{yo(s[t],r)},n)}function ur(e,t,n=$e,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{Vt();const l=Ns(n),a=ft(t,n,e,i);return l(),Ht(),a});return s?r.unshift(o):r.push(o),o}}const $t=e=>(t,n=$e)=>{(!hs||e==="sp")&&ur(e,(...s)=>t(...s),n)},Ia=$t("bm"),fr=$t("m"),uf=$t("bu"),ff=$t("u"),ko=$t("bum"),Do=$t("um"),df=$t("sp"),hf=$t("rtg"),mf=$t("rtc");function pf(e,t=$e){ur("ec",e,t)}const Oa="components";function gf(e,t){return Pa(Oa,e,!0,t)||e}const Ra=Symbol.for("v-ndc");function kg(e){return be(e)?Pa(Oa,e,!1)||e:e||Ra}function Pa(e,t,n=!0,s=!1){const r=xe||$e;if(r){const o=r.type;{const l=td(o,!1);if(l&&(l===t||l===Je(t)||l===nr(Je(t))))return o}const i=ii(r[e]||o[e],t)||ii(r.appContext[e],t);return!i&&s?o:i}}function ii(e,t){return e&&(e[t]||e[Je(t)]||e[nr(Je(t))])}function Dg(e,t,n,s){let r;const o=n,i=Z(e);if(i||be(e)){const l=i&&Ut(e);let a=!1,c=!1;l&&(a=!st(e),c=Wt(e),e=or(e)),r=new Array(e.length);for(let u=0,f=e.length;u<f;u++)r[u]=t(a?c?kn(_t(e[u])):_t(e[u]):e[u],u,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,o)}else if(de(e))if(e[Symbol.iterator])r=Array.from(e,(l,a)=>t(l,a,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let a=0,c=l.length;a<c;a++){const u=l[a];r[a]=t(e[u],u,a,o)}}else r=[];return r}function Mg(e,t,n={},s,r){if(xe.ce||xe.parent&&Pn(xe.parent)&&xe.parent.ce){const c=Object.keys(n).length>0;return bn(),js(He,null,[Pe("slot",n,s)],c?-2:64)}let o=e[t];o&&o._c&&(o._d=!1),bn();const i=o&&wa(o(n)),l=n.key||i&&i.key,a=js(He,{key:(l&&!rt(l)?l:`_${t}`)+(!i&&s?"_fb":"")},i||[],i&&e._===1?64:-2);return a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),o&&o._c&&(o._d=!0),a}function wa(e){return e.some(t=>ds(t)?!(t.type===We||t.type===He&&!wa(t.children)):!0)?e:null}const Jr=e=>e?Qa(e)?hr(e):Jr(e.parent):null,ns=ke(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=>Jr(e.parent),$root:e=>Jr(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Da(e),$forceUpdate:e=>e.f||(e.f=()=>{wo(e.update)}),$nextTick:e=>e.n||(e.n=ar.bind(e.proxy)),$watch:e=>Zu.bind(e)}),Ir=(e,t)=>e!==pe&&!e.__isScriptSetup&&fe(e,t),_f={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const m=i[t];if(m!==void 0)switch(m){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(Ir(s,t))return i[t]=1,s[t];if(r!==pe&&fe(r,t))return i[t]=2,r[t];if(fe(o,t))return i[t]=3,o[t];if(n!==pe&&fe(n,t))return i[t]=4,n[t];Qr&&(i[t]=0)}}const c=ns[t];let u,f;if(c)return t==="$attrs"&&Ve(e.attrs,"get",""),c(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(n!==pe&&fe(n,t))return i[t]=4,n[t];if(f=a.config.globalProperties,fe(f,t))return f[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return Ir(r,t)?(r[t]=n,!0):s!==pe&&fe(s,t)?(s[t]=n,!0):fe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:o,type:i}},l){let a;return!!(n[l]||e!==pe&&l[0]!=="$"&&fe(e,l)||Ir(t,l)||fe(o,l)||fe(s,l)||fe(ns,l)||fe(r.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:fe(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function li(e){return Z(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Qr=!0;function Ef(e){const t=Da(e),n=e.proxy,s=e.ctx;Qr=!1,t.beforeCreate&&ai(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:c,created:u,beforeMount:f,mounted:m,beforeUpdate:_,updated:N,activated:y,deactivated:w,beforeDestroy:M,beforeUnmount:R,destroyed:v,unmounted:b,render:I,renderTracked:O,renderTriggered:L,errorCaptured:F,serverPrefetch:T,expose:K,inheritAttrs:Q,components:V,directives:J,filters:he}=t;if(c&&vf(c,s,null),i)for(const ee in i){const le=i[ee];ne(le)&&(s[ee]=le.bind(n))}if(r){const ee=r.call(n,n);de(ee)&&(e.data=Ts(ee))}if(Qr=!0,o)for(const ee in o){const le=o[ee],Be=ne(le)?le.bind(n,n):ne(le.get)?le.get.bind(n,n):Ct,Qe=!ne(le)&&ne(le.set)?le.set.bind(n):Ct,Te=Ne({get:Be,set:Qe});Object.defineProperty(s,ee,{enumerable:!0,configurable:!0,get:()=>Te.value,set:Se=>Te.value=Se})}if(l)for(const ee in l)ka(l[ee],s,n,ee);if(a){const ee=ne(a)?a.call(n):a;Reflect.ownKeys(ee).forEach(le=>{ks(le,ee[le])})}u&&ai(u,e,"c");function oe(ee,le){Z(le)?le.forEach(Be=>ee(Be.bind(n))):le&&ee(le.bind(n))}if(oe(Ia,f),oe(fr,m),oe(uf,_),oe(ff,N),oe(lf,y),oe(af,w),oe(pf,F),oe(mf,O),oe(hf,L),oe(ko,R),oe(Do,b),oe(df,T),Z(K))if(K.length){const ee=e.exposed||(e.exposed={});K.forEach(le=>{Object.defineProperty(ee,le,{get:()=>n[le],set:Be=>n[le]=Be,enumerable:!0})})}else e.exposed||(e.exposed={});I&&e.render===Ct&&(e.render=I),Q!=null&&(e.inheritAttrs=Q),V&&(e.components=V),J&&(e.directives=J),T&&Ca(e)}function vf(e,t,n=Ct){Z(e)&&(e=Zr(e));for(const s in e){const r=e[s];let o;de(r)?"default"in r?o=ut(r.from||s,r.default,!0):o=ut(r.from||s):o=ut(r),ye(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function ai(e,t,n){ft(Z(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ka(e,t,n,s){let r=s.includes(".")?Ea(n,s):()=>n[s];if(be(e)){const o=t[e];ne(o)&&Jt(r,o)}else if(ne(e))Jt(r,e.bind(n));else if(de(e))if(Z(e))e.forEach(o=>ka(o,t,n,s));else{const o=ne(e.handler)?e.handler.bind(n):t[e.handler];ne(o)&&Jt(r,o,e)}}function Da(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(c=>$s(a,c,i,!0)),$s(a,t,i)),de(t)&&o.set(t,a),a}function $s(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&$s(e,o,n,!0),r&&r.forEach(i=>$s(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=bf[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const bf={data:ci,props:ui,emits:ui,methods:Jn,computed:Jn,beforeCreate:Ge,created:Ge,beforeMount:Ge,mounted:Ge,beforeUpdate:Ge,updated:Ge,beforeDestroy:Ge,beforeUnmount:Ge,destroyed:Ge,unmounted:Ge,activated:Ge,deactivated:Ge,errorCaptured:Ge,serverPrefetch:Ge,components:Jn,directives:Jn,watch:Tf,provide:ci,inject:yf};function ci(e,t){return t?e?function(){return ke(ne(e)?e.call(this,this):e,ne(t)?t.call(this,this):t)}:t:e}function yf(e,t){return Jn(Zr(e),Zr(t))}function Zr(e){if(Z(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function Ge(e,t){return e?[...new Set([].concat(e,t))]:t}function Jn(e,t){return e?ke(Object.create(null),e,t):t}function ui(e,t){return e?Z(e)&&Z(t)?[...new Set([...e,...t])]:ke(Object.create(null),li(e),li(t??{})):t}function Tf(e,t){if(!e)return t;if(!t)return e;const n=ke(Object.create(null),e);for(const s in t)n[s]=Ge(e[s],t[s]);return n}function Ma(){return{app:null,config:{isNativeTag:Vl,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 Sf=0;function Af(e,t){return function(s,r=null){ne(s)||(s=ke({},s)),r!=null&&!de(r)&&(r=null);const o=Ma(),i=new WeakSet,l=[];let a=!1;const c=o.app={_uid:Sf++,_component:s,_props:r,_container:null,_context:o,_instance:null,version:sd,get config(){return o.config},set config(u){},use(u,...f){return i.has(u)||(u&&ne(u.install)?(i.add(u),u.install(c,...f)):ne(u)&&(i.add(u),u(c,...f))),c},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),c},component(u,f){return f?(o.components[u]=f,c):o.components[u]},directive(u,f){return f?(o.directives[u]=f,c):o.directives[u]},mount(u,f,m){if(!a){const _=c._ceVNode||Pe(s,r);return _.appContext=o,m===!0?m="svg":m===!1&&(m=void 0),e(_,u,m),a=!0,c._container=u,u.__vue_app__=c,hr(_.component)}},onUnmount(u){l.push(u)},unmount(){a&&(ft(l,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(u,f){return o.provides[u]=f,c},runWithContext(u){const f=vn;vn=c;try{return u()}finally{vn=f}}};return c}}let vn=null;const Nf=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Je(t)}Modifiers`]||e[`${tn(t)}Modifiers`];function Cf(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||pe;let r=n;const o=t.startsWith("update:"),i=o&&Nf(s,t.slice(7));i&&(i.trim&&(r=n.map(u=>be(u)?u.trim():u)),i.number&&(r=n.map(sr)));let l,a=s[l=Tr(t)]||s[l=Tr(Je(t))];!a&&o&&(a=s[l=Tr(tn(t))]),a&&ft(a,e,6,r);const c=s[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,ft(c,e,6,r)}}const Lf=new WeakMap;function Fa(e,t,n=!1){const s=n?Lf:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!ne(e)){const a=c=>{const u=Fa(c,t,!0);u&&(l=!0,ke(i,u))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(de(e)&&s.set(e,null),null):(Z(o)?o.forEach(a=>i[a]=null):ke(i,o),de(e)&&s.set(e,i),i)}function dr(e,t){return!e||!Qs(t)?!1:(t=t.slice(2).replace(/Once$/,""),fe(e,t[0].toLowerCase()+t.slice(1))||fe(e,tn(t))||fe(e,t))}function fi(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:a,render:c,renderCache:u,props:f,data:m,setupState:_,ctx:N,inheritAttrs:y}=e,w=Hs(e);let M,R;try{if(n.shapeFlag&4){const b=r||s,I=b;M=St(c.call(I,b,u,f,_,m,N)),R=l}else{const b=t;M=St(b.length>1?b(f,{attrs:l,slots:i,emit:a}):b(f,null)),R=t.props?l:If(l)}}catch(b){ss.length=0,lr(b,e,1),M=Pe(We)}let v=M;if(R&&y!==!1){const b=Object.keys(R),{shapeFlag:I}=v;b.length&&I&7&&(o&&b.some(Zs)&&(R=Of(R,o)),v=Qt(v,R,!1,!0))}return n.dirs&&(v=Qt(v,null,!1,!0),v.dirs=v.dirs?v.dirs.concat(n.dirs):n.dirs),n.transition&&us(v,n.transition),M=v,Hs(w),M}const If=e=>{let t;for(const n in e)(n==="class"||n==="style"||Qs(n))&&((t||(t={}))[n]=e[n]);return t},Of=(e,t)=>{const n={};for(const s in e)(!Zs(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function Rf(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:a}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?di(s,i,c):!!i;if(a&8){const u=t.dynamicProps;for(let f=0;f<u.length;f++){const m=u[f];if(xa(i,s,m)&&!dr(c,m))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:s===i?!1:s?i?di(s,i,c):!0:!!i;return!1}function di(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let r=0;r<s.length;r++){const o=s[r];if(xa(t,e,o)&&!dr(n,o))return!0}return!1}function xa(e,t,n){const s=e[n],r=t[n];return n==="style"&&de(s)&&de(r)?!ys(s,r):s!==r}function Pf({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 Ua={},Va=()=>Object.create(Ua),Ha=e=>Object.getPrototypeOf(e)===Ua;function wf(e,t,n,s=!1){const r={},o=Va();e.propsDefaults=Object.create(null),Wa(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:ca(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function kf(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=ae(r),[a]=e.propsOptions;let c=!1;if((s||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let f=0;f<u.length;f++){let m=u[f];if(dr(e.emitsOptions,m))continue;const _=t[m];if(a)if(fe(o,m))_!==o[m]&&(o[m]=_,c=!0);else{const N=Je(m);r[N]=zr(a,l,N,_,e,!1)}else _!==o[m]&&(o[m]=_,c=!0)}}}else{Wa(e,t,r,o)&&(c=!0);let u;for(const f in l)(!t||!fe(t,f)&&((u=tn(f))===f||!fe(t,u)))&&(a?n&&(n[f]!==void 0||n[u]!==void 0)&&(r[f]=zr(a,l,f,void 0,e,!0)):delete r[f]);if(o!==l)for(const f in o)(!t||!fe(t,f))&&(delete o[f],c=!0)}c&&Mt(e.attrs,"set","")}function Wa(e,t,n,s){const[r,o]=e.propsOptions;let i=!1,l;if(t)for(let a in t){if(Zn(a))continue;const c=t[a];let u;r&&fe(r,u=Je(a))?!o||!o.includes(u)?n[u]=c:(l||(l={}))[u]=c:dr(e.emitsOptions,a)||(!(a in s)||c!==s[a])&&(s[a]=c,i=!0)}if(o){const a=ae(n),c=l||pe;for(let u=0;u<o.length;u++){const f=o[u];n[f]=zr(r,a,f,c[f],e,!fe(c,f))}}return i}function zr(e,t,n,s,r,o){const i=e[n];if(i!=null){const l=fe(i,"default");if(l&&s===void 0){const a=i.default;if(i.type!==Function&&!i.skipFactory&&ne(a)){const{propsDefaults:c}=r;if(n in c)s=c[n];else{const u=Ns(r);s=c[n]=a.call(null,t),u()}}else s=a;r.ce&&r.ce._setProp(n,s)}i[0]&&(o&&!l?s=!1:i[1]&&(s===""||s===tn(n))&&(s=!0))}return s}const Df=new WeakMap;function $a(e,t,n=!1){const s=n?Df:t.propsCache,r=s.get(e);if(r)return r;const o=e.props,i={},l=[];let a=!1;if(!ne(e)){const u=f=>{a=!0;const[m,_]=$a(f,t,!0);ke(i,m),_&&l.push(..._)};!n&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!a)return de(e)&&s.set(e,In),In;if(Z(o))for(let u=0;u<o.length;u++){const f=Je(o[u]);hi(f)&&(i[f]=pe)}else if(o)for(const u in o){const f=Je(u);if(hi(f)){const m=o[u],_=i[f]=Z(m)||ne(m)?{type:m}:ke({},m),N=_.type;let y=!1,w=!0;if(Z(N))for(let M=0;M<N.length;++M){const R=N[M],v=ne(R)&&R.name;if(v==="Boolean"){y=!0;break}else v==="String"&&(w=!1)}else y=ne(N)&&N.name==="Boolean";_[0]=y,_[1]=w,(y||fe(_,"default"))&&l.push(f)}}const c=[i,l];return de(e)&&s.set(e,c),c}function hi(e){return e[0]!=="$"&&!Zn(e)}const Mo=e=>e==="_"||e==="_ctx"||e==="$stable",Fo=e=>Z(e)?e.map(St):[St(e)],Mf=(e,t,n)=>{if(t._n)return t;const s=Xu((...r)=>Fo(t(...r)),n);return s._c=!1,s},Ba=(e,t,n)=>{const s=e._ctx;for(const r in e){if(Mo(r))continue;const o=e[r];if(ne(o))t[r]=Mf(r,o,s);else if(o!=null){const i=Fo(o);t[r]=()=>i}}},ja=(e,t)=>{const n=Fo(t);e.slots.default=()=>n},Ga=(e,t,n)=>{for(const s in t)(n||!Mo(s))&&(e[s]=t[s])},Ff=(e,t,n)=>{const s=e.slots=Va();if(e.vnode.shapeFlag&32){const r=t._;r?(Ga(s,t,n),n&&Bl(s,"_",r,!0)):Ba(t,s)}else t&&ja(e,t)},xf=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=pe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:Ga(r,t,n):(o=!t.$stable,Ba(t,r)),i=t}else t&&(ja(e,t),i={default:1});if(o)for(const l in r)!Mo(l)&&i[l]==null&&delete r[l]},Ke=$f;function Uf(e){return Vf(e)}function Vf(e,t){const n=rr();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:a,setText:c,setElementText:u,parentNode:f,nextSibling:m,setScopeId:_=Ct,insertStaticContent:N}=e,y=(p,E,g,C=null,U=null,k=null,$=void 0,W=null,d=!!E.dynamicChildren)=>{if(p===E)return;p&&!pn(p,E)&&(C=x(p),Se(p,U,k,!0),p=null),E.patchFlag===-2&&(d=!1,E.dynamicChildren=null);const{type:h,ref:A,shapeFlag:P}=E;switch(h){case As:w(p,E,g,C);break;case We:M(p,E,g,C);break;case Ds:p==null&&R(E,g,C,$);break;case He:V(p,E,g,C,U,k,$,W,d);break;default:P&1?I(p,E,g,C,U,k,$,W,d):P&6?J(p,E,g,C,U,k,$,W,d):(P&64||P&128)&&h.process(p,E,g,C,U,k,$,W,d,X)}A!=null&&U?ts(A,p&&p.ref,k,E||p,!E):A==null&&p&&p.ref!=null&&ts(p.ref,null,k,p,!0)},w=(p,E,g,C)=>{if(p==null)s(E.el=l(E.children),g,C);else{const U=E.el=p.el;E.children!==p.children&&c(U,E.children)}},M=(p,E,g,C)=>{p==null?s(E.el=a(E.children||""),g,C):E.el=p.el},R=(p,E,g,C)=>{[p.el,p.anchor]=N(p.children,E,g,C,p.el,p.anchor)},v=({el:p,anchor:E},g,C)=>{let U;for(;p&&p!==E;)U=m(p),s(p,g,C),p=U;s(E,g,C)},b=({el:p,anchor:E})=>{let g;for(;p&&p!==E;)g=m(p),r(p),p=g;r(E)},I=(p,E,g,C,U,k,$,W,d)=>{if(E.type==="svg"?$="svg":E.type==="math"&&($="mathml"),p==null)O(E,g,C,U,k,$,W,d);else{const h=p.el&&p.el._isVueCE?p.el:null;try{h&&h._beginPatch(),T(p,E,U,k,$,W,d)}finally{h&&h._endPatch()}}},O=(p,E,g,C,U,k,$,W)=>{let d,h;const{props:A,shapeFlag:P,transition:B,dirs:H}=p;if(d=p.el=i(p.type,k,A&&A.is,A),P&8?u(d,p.children):P&16&&F(p.children,d,null,C,U,Or(p,k),$,W),H&&ln(p,null,C,"created"),L(d,p,p.scopeId,$,C),A){for(const D in A)D!=="value"&&!Zn(D)&&o(d,D,null,A[D],k,C);"value"in A&&o(d,"value",null,A.value,k),(h=A.onVnodeBeforeMount)&&bt(h,C,p)}H&&ln(p,null,C,"beforeMount");const S=Hf(U,B);S&&B.beforeEnter(d),s(d,E,g),((h=A&&A.onVnodeMounted)||S||H)&&Ke(()=>{try{h&&bt(h,C,p),S&&B.enter(d),H&&ln(p,null,C,"mounted")}finally{}},U)},L=(p,E,g,C,U)=>{if(g&&_(p,g),C)for(let k=0;k<C.length;k++)_(p,C[k]);if(U){let k=U.subTree;if(E===k||Xa(k.type)&&(k.ssContent===E||k.ssFallback===E)){const $=U.vnode;L(p,$,$.scopeId,$.slotScopeIds,U.parent)}}},F=(p,E,g,C,U,k,$,W,d=0)=>{for(let h=d;h<p.length;h++){const A=p[h]=W?Dt(p[h]):St(p[h]);y(null,A,E,g,C,U,k,$,W)}},T=(p,E,g,C,U,k,$)=>{const W=E.el=p.el;let{patchFlag:d,dynamicChildren:h,dirs:A}=E;d|=p.patchFlag&16;const P=p.props||pe,B=E.props||pe;let H;if(g&&an(g,!1),(H=B.onVnodeBeforeUpdate)&&bt(H,g,E,p),A&&ln(E,p,g,"beforeUpdate"),g&&an(g,!0),(P.innerHTML&&B.innerHTML==null||P.textContent&&B.textContent==null)&&u(W,""),h?K(p.dynamicChildren,h,W,g,C,Or(E,U),k):$||le(p,E,W,null,g,C,Or(E,U),k,!1),d>0){if(d&16)Q(W,P,B,g,U);else if(d&2&&P.class!==B.class&&o(W,"class",null,B.class,U),d&4&&o(W,"style",P.style,B.style,U),d&8){const S=E.dynamicProps;for(let D=0;D<S.length;D++){const q=S[D],se=P[q],ge=B[q];(ge!==se||q==="value")&&o(W,q,se,ge,U,g)}}d&1&&p.children!==E.children&&u(W,E.children)}else!$&&h==null&&Q(W,P,B,g,U);((H=B.onVnodeUpdated)||A)&&Ke(()=>{H&&bt(H,g,E,p),A&&ln(E,p,g,"updated")},C)},K=(p,E,g,C,U,k,$)=>{for(let W=0;W<E.length;W++){const d=p[W],h=E[W],A=d.el&&(d.type===He||!pn(d,h)||d.shapeFlag&198)?f(d.el):g;y(d,h,A,null,C,U,k,$,!0)}},Q=(p,E,g,C,U)=>{if(E!==g){if(E!==pe)for(const k in E)!Zn(k)&&!(k in g)&&o(p,k,E[k],null,U,C);for(const k in g){if(Zn(k))continue;const $=g[k],W=E[k];$!==W&&k!=="value"&&o(p,k,W,$,U,C)}"value"in g&&o(p,"value",E.value,g.value,U)}},V=(p,E,g,C,U,k,$,W,d)=>{const h=E.el=p?p.el:l(""),A=E.anchor=p?p.anchor:l("");let{patchFlag:P,dynamicChildren:B,slotScopeIds:H}=E;H&&(W=W?W.concat(H):H),p==null?(s(h,g,C),s(A,g,C),F(E.children||[],g,A,U,k,$,W,d)):P>0&&P&64&&B&&p.dynamicChildren&&p.dynamicChildren.length===B.length?(K(p.dynamicChildren,B,g,U,k,$,W),(E.key!=null||U&&E===U.subTree)&&xo(p,E,!0)):le(p,E,g,A,U,k,$,W,d)},J=(p,E,g,C,U,k,$,W,d)=>{E.slotScopeIds=W,p==null?E.shapeFlag&512?U.ctx.activate(E,g,C,$,d):he(E,g,C,U,k,$,d):Ce(p,E,d)},he=(p,E,g,C,U,k,$)=>{const W=p.component=Jf(p,C,U);if(cr(p)&&(W.ctx.renderer=X),Qf(W,!1,$),W.asyncDep){if(U&&U.registerDep(W,oe,$),!p.el){const d=W.subTree=Pe(We);M(null,d,E,g),p.placeholder=d.el}}else oe(W,p,E,g,U,k,$)},Ce=(p,E,g)=>{const C=E.component=p.component;if(Rf(p,E,g))if(C.asyncDep&&!C.asyncResolved){ee(C,E,g);return}else C.next=E,C.update();else E.el=p.el,C.vnode=E},oe=(p,E,g,C,U,k,$)=>{const W=()=>{if(p.isMounted){let{next:P,bu:B,u:H,parent:S,vnode:D}=p;{const Fe=Ka(p);if(Fe){P&&(P.el=D.el,ee(p,P,$)),Fe.asyncDep.then(()=>{Ke(()=>{p.isUnmounted||h()},U)});return}}let q=P,se;an(p,!1),P?(P.el=D.el,ee(p,P,$)):P=D,B&&ws(B),(se=P.props&&P.props.onVnodeBeforeUpdate)&&bt(se,S,P,D),an(p,!0);const ge=fi(p),je=p.subTree;p.subTree=ge,y(je,ge,f(je.el),x(je),p,U,k),P.el=ge.el,q===null&&Pf(p,ge.el),H&&Ke(H,U),(se=P.props&&P.props.onVnodeUpdated)&&Ke(()=>bt(se,S,P,D),U)}else{let P;const{el:B,props:H}=E,{bm:S,m:D,parent:q,root:se,type:ge}=p,je=Pn(E);an(p,!1),S&&ws(S),!je&&(P=H&&H.onVnodeBeforeMount)&&bt(P,q,E),an(p,!0);{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(ge,p.parent?p.parent.type:void 0);const Fe=p.subTree=fi(p);y(null,Fe,g,C,p,U,k),E.el=Fe.el}if(D&&Ke(D,U),!je&&(P=H&&H.onVnodeMounted)){const Fe=E;Ke(()=>bt(P,q,Fe),U)}(E.shapeFlag&256||q&&Pn(q.vnode)&&q.vnode.shapeFlag&256)&&p.a&&Ke(p.a,U),p.isMounted=!0,E=g=C=null}};p.scope.on();const d=p.effect=new ql(W);p.scope.off();const h=p.update=d.run.bind(d),A=p.job=d.runIfDirty.bind(d);A.i=p,A.id=p.uid,d.scheduler=()=>wo(A),an(p,!0),h()},ee=(p,E,g)=>{E.component=p;const C=p.vnode.props;p.vnode=E,p.next=null,kf(p,E.props,C,g),xf(p,E.children,g),Vt(),ei(p),Ht()},le=(p,E,g,C,U,k,$,W,d=!1)=>{const h=p&&p.children,A=p?p.shapeFlag:0,P=E.children,{patchFlag:B,shapeFlag:H}=E;if(B>0){if(B&128){Qe(h,P,g,C,U,k,$,W,d);return}else if(B&256){Be(h,P,g,C,U,k,$,W,d);return}}H&8?(A&16&&De(h,U,k),P!==h&&u(g,P)):A&16?H&16?Qe(h,P,g,C,U,k,$,W,d):De(h,U,k,!0):(A&8&&u(g,""),H&16&&F(P,g,C,U,k,$,W,d))},Be=(p,E,g,C,U,k,$,W,d)=>{p=p||In,E=E||In;const h=p.length,A=E.length,P=Math.min(h,A);let B;for(B=0;B<P;B++){const H=E[B]=d?Dt(E[B]):St(E[B]);y(p[B],H,g,null,U,k,$,W,d)}h>A?De(p,U,k,!0,!1,P):F(E,g,C,U,k,$,W,d,P)},Qe=(p,E,g,C,U,k,$,W,d)=>{let h=0;const A=E.length;let P=p.length-1,B=A-1;for(;h<=P&&h<=B;){const H=p[h],S=E[h]=d?Dt(E[h]):St(E[h]);if(pn(H,S))y(H,S,g,null,U,k,$,W,d);else break;h++}for(;h<=P&&h<=B;){const H=p[P],S=E[B]=d?Dt(E[B]):St(E[B]);if(pn(H,S))y(H,S,g,null,U,k,$,W,d);else break;P--,B--}if(h>P){if(h<=B){const H=B+1,S=H<A?E[H].el:C;for(;h<=B;)y(null,E[h]=d?Dt(E[h]):St(E[h]),g,S,U,k,$,W,d),h++}}else if(h>B)for(;h<=P;)Se(p[h],U,k,!0),h++;else{const H=h,S=h,D=new Map;for(h=S;h<=B;h++){const tt=E[h]=d?Dt(E[h]):St(E[h]);tt.key!=null&&D.set(tt.key,h)}let q,se=0;const ge=B-S+1;let je=!1,Fe=0;const on=new Array(ge);for(h=0;h<ge;h++)on[h]=0;for(h=H;h<=P;h++){const tt=p[h];if(se>=ge){Se(tt,U,k,!0);continue}let vt;if(tt.key!=null)vt=D.get(tt.key);else for(q=S;q<=B;q++)if(on[q-S]===0&&pn(tt,E[q])){vt=q;break}vt===void 0?Se(tt,U,k,!0):(on[vt-S]=h+1,vt>=Fe?Fe=vt:je=!0,y(tt,E[vt],g,null,U,k,$,W,d),se++)}const yr=je?Wf(on):In;for(q=yr.length-1,h=ge-1;h>=0;h--){const tt=S+h,vt=E[tt],Xo=E[tt+1],qo=tt+1<A?Xo.el||Ya(Xo):C;on[h]===0?y(null,vt,g,qo,U,k,$,W,d):je&&(q<0||h!==yr[q]?Te(vt,g,qo,2):q--)}}},Te=(p,E,g,C,U=null)=>{const{el:k,type:$,transition:W,children:d,shapeFlag:h}=p;if(h&6){Te(p.component.subTree,E,g,C);return}if(h&128){p.suspense.move(E,g,C);return}if(h&64){$.move(p,E,g,X);return}if($===He){s(k,E,g);for(let P=0;P<d.length;P++)Te(d[P],E,g,C);s(p.anchor,E,g);return}if($===Ds){v(p,E,g);return}if(C!==2&&h&1&&W)if(C===0)W.persisted&&!k[lt]?s(k,E,g):(W.beforeEnter(k),s(k,E,g),Ke(()=>W.enter(k),U));else{const{leave:P,delayLeave:B,afterLeave:H}=W,S=()=>{p.ctx.isUnmounted?r(k):s(k,E,g)},D=()=>{const q=k._isLeaving||!!k[lt];k._isLeaving&&k[lt](!0),W.persisted&&!q?S():P(k,()=>{S(),H&&H()})};B?B(k,S,D):D()}else s(k,E,g)},Se=(p,E,g,C=!1,U=!1)=>{const{type:k,props:$,ref:W,children:d,dynamicChildren:h,shapeFlag:A,patchFlag:P,dirs:B,cacheIndex:H,memo:S}=p;if(P===-2&&(U=!1),W!=null&&(Vt(),ts(W,null,g,p,!0),Ht()),H!=null&&(E.renderCache[H]=void 0),A&256){E.ctx.deactivate(p);return}const D=A&1&&B,q=!Pn(p);let se;if(q&&(se=$&&$.onVnodeBeforeUnmount)&&bt(se,E,p),A&6)et(p.component,g,C);else{if(A&128){p.suspense.unmount(g,C);return}D&&ln(p,null,E,"beforeUnmount"),A&64?p.type.remove(p,E,g,X,C):h&&!h.hasOnce&&(k!==He||P>0&&P&64)?De(h,E,g,!1,!0):(k===He&&P&384||!U&&A&16)&&De(d,E,g),C&&ot(p)}const ge=S!=null&&H==null;(q&&(se=$&&$.onVnodeUnmounted)||D||ge)&&Ke(()=>{se&&bt(se,E,p),D&&ln(p,null,E,"unmounted"),ge&&(p.el=null)},g)},ot=p=>{const{type:E,el:g,anchor:C,transition:U}=p;if(E===He){ze(g,C);return}if(E===Ds){b(p);return}const k=()=>{r(g),U&&!U.persisted&&U.afterLeave&&U.afterLeave()};if(p.shapeFlag&1&&U&&!U.persisted){const{leave:$,delayLeave:W}=U,d=()=>$(g,k);W?W(p.el,k,d):d()}else k()},ze=(p,E)=>{let g;for(;p!==E;)g=m(p),r(p),p=g;r(E)},et=(p,E,g)=>{const{bum:C,scope:U,job:k,subTree:$,um:W,m:d,a:h}=p;mi(d),mi(h),C&&ws(C),U.stop(),k&&(k.flags|=8,Se($,p,E,g)),W&&Ke(W,E),Ke(()=>{p.isUnmounted=!0},E)},De=(p,E,g,C=!1,U=!1,k=0)=>{for(let $=k;$<p.length;$++)Se(p[$],E,g,C,U)},x=p=>{if(p.shapeFlag&6)return x(p.component.subTree);if(p.shapeFlag&128)return p.suspense.next();const E=m(p.anchor||p.el),g=E&&E[va];return g?m(g):E};let Y=!1;const j=(p,E,g)=>{let C;p==null?E._vnode&&(Se(E._vnode,null,null,!0),C=E._vnode.component):y(E._vnode||null,p,E,null,null,null,g),E._vnode=p,Y||(Y=!0,ei(C),ma(),Y=!1)},X={p:y,um:Se,m:Te,r:ot,mt:he,mc:F,pc:le,pbc:K,n:x,o:e};return{render:j,hydrate:void 0,createApp:Af(j)}}function Or({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 an({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Hf(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function xo(e,t,n=!1){const s=e.children,r=t.children;if(Z(s)&&Z(r))for(let o=0;o<s.length;o++){const i=s[o];let l=r[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[o]=Dt(r[o]),l.el=i.el),!n&&l.patchFlag!==-2&&xo(i,l)),l.type===As&&(l.patchFlag===-1&&(l=r[o]=Dt(l)),l.el=i.el),l.type===We&&!l.el&&(l.el=i.el)}}function Wf(e){const t=e.slice(),n=[0];let s,r,o,i,l;const a=e.length;for(s=0;s<a;s++){const c=e[s];if(c!==0){if(r=n[n.length-1],e[r]<c){t[s]=r,n.push(s);continue}for(o=0,i=n.length-1;o<i;)l=o+i>>1,e[n[l]]<c?o=l+1:i=l;c<e[n[o]]&&(o>0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function Ka(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Ka(t)}function mi(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Ya(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Ya(t.subTree):null}const Xa=e=>e.__isSuspense;function $f(e,t){t&&t.pendingBranch?Z(e)?t.effects.push(...e):t.effects.push(e):Yu(e)}const He=Symbol.for("v-fgt"),As=Symbol.for("v-txt"),We=Symbol.for("v-cmt"),Ds=Symbol.for("v-stc"),ss=[];let nt=null;function bn(e=!1){ss.push(nt=e?null:[])}function Bf(){ss.pop(),nt=ss[ss.length-1]||null}let fs=1;function Bs(e,t=!1){fs+=e,e<0&&nt&&t&&(nt.hasOnce=!0)}function qa(e){return e.dynamicChildren=fs>0?nt||In:null,Bf(),fs>0&&nt&&nt.push(e),e}function eo(e,t,n,s,r,o){return qa(ht(e,t,n,s,r,o,!0))}function js(e,t,n,s,r){return qa(Pe(e,t,n,s,r,!0))}function ds(e){return e?e.__v_isVNode===!0:!1}function pn(e,t){return e.type===t.type&&e.key===t.key}const Ja=({key:e})=>e??null,Ms=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||ye(e)||ne(e)?{i:xe,r:e,k:t,f:!!n}:e:null);function ht(e,t=null,n=null,s=0,r=null,o=e===He?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Ja(t),ref:t&&Ms(t),scopeId:ga,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:xe};return l?(Uo(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=be(n)?8:16),fs>0&&!i&&nt&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&nt.push(a),a}const Pe=jf;function jf(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===Ra)&&(e=We),ds(e)){const l=Qt(e,t,!0);return n&&Uo(l,n),fs>0&&!o&&nt&&(l.shapeFlag&6?nt[nt.indexOf(e)]=l:nt.push(l)),l.patchFlag=-2,l}if(nd(e)&&(e=e.__vccOpts),t){t=Gf(t);let{class:l,style:a}=t;l&&!be(l)&&(t.class=is(l)),de(a)&&(ir(a)&&!Z(a)&&(a=ke({},a)),t.style=To(a))}const i=be(e)?1:Xa(e)?128:ba(e)?64:de(e)?4:ne(e)?2:0;return ht(e,t,n,s,r,i,o,!0)}function Gf(e){return e?ir(e)||Ha(e)?ke({},e):e:null}function Qt(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:a}=e,c=t?Yf(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&Ja(c),ref:t&&t.ref?n&&o?Z(o)?o.concat(Ms(t)):[o,Ms(t)]:Ms(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==He?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Qt(e.ssContent),ssFallback:e.ssFallback&&Qt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&us(u,a.clone(u)),u}function Kf(e=" ",t=0){return Pe(As,null,e,t)}function Fg(e,t){const n=Pe(Ds,null,e);return n.staticCount=t,n}function to(e="",t=!1){return t?(bn(),js(We,null,e)):Pe(We,null,e)}function St(e){return e==null||typeof e=="boolean"?Pe(We):Z(e)?Pe(He,null,e.slice()):ds(e)?Dt(e):Pe(As,null,String(e))}function Dt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Qt(e)}function Uo(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(Z(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),Uo(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!Ha(t)?t._ctx=xe:r===3&&xe&&(xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else ne(t)?(t={default:t,_ctx:xe},n=32):(t=String(t),s&64?(n=16,t=[Kf(t)]):n=8);e.children=t,e.shapeFlag|=n}function Yf(...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=is([t.class,s.class]));else if(r==="style")t.style=To([t.style,s.style]);else if(Qs(r)){const o=t[r],i=s[r];i&&o!==i&&!(Z(o)&&o.includes(i))?t[r]=o?[].concat(o,i):i:i==null&&o==null&&!Zs(r)&&(t[r]=i)}else r!==""&&(t[r]=s[r])}return t}function bt(e,t,n,s=null){ft(e,t,7,[n,s])}const Xf=Ma();let qf=0;function Jf(e,t,n){const s=e.type,r=(t?t.appContext:e.appContext)||Xf,o={uid:qf++,vnode:e,type:s,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Yl(!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:$a(s,r),emitsOptions:Fa(s,r),emit:null,emitted:null,propsDefaults:pe,inheritAttrs:s.inheritAttrs,ctx:pe,data:pe,props:pe,attrs:pe,slots:pe,refs:pe,setupState:pe,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Cf.bind(null,o),e.ce&&e.ce(o),o}let $e=null;const Zt=()=>$e||xe;let Gs,no;{const e=rr(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};Gs=t("__VUE_INSTANCE_SETTERS__",n=>$e=n),no=t("__VUE_SSR_SETTERS__",n=>hs=n)}const Ns=e=>{const t=$e;return Gs(e),e.scope.on(),()=>{e.scope.off(),Gs(t)}},pi=()=>{$e&&$e.scope.off(),Gs(null)};function Qa(e){return e.vnode.shapeFlag&4}let hs=!1;function Qf(e,t=!1,n=!1){t&&no(t);const{props:s,children:r}=e.vnode,o=Qa(e);wf(e,s,o,t),Ff(e,r,n||t);const i=o?Zf(e,t):void 0;return t&&no(!1),i}function Zf(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,_f);const{setup:s}=n;if(s){Vt();const r=e.setupContext=s.length>1?ed(e):null,o=Ns(e),i=Ss(s,e,0,[e.props,r]),l=Hl(i);if(Ht(),o(),(l||e.sp)&&!Pn(e)&&Ca(e),l){if(i.then(pi,pi),t)return i.then(a=>{gi(e,a)}).catch(a=>{lr(a,e,0)});e.asyncDep=i}else gi(e,i)}else Za(e)}function gi(e,t,n){ne(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:de(t)&&(e.setupState=fa(t)),Za(e)}function Za(e,t,n){const s=e.type;e.render||(e.render=s.render||Ct);{const r=Ns(e);Vt();try{Ef(e)}finally{Ht(),r()}}}const zf={get(e,t){return Ve(e,"get",""),e[t]}};function ed(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,zf),slots:e.slots,emit:e.emit,expose:t}}function hr(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(fa(Ro(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in ns)return ns[n](e)},has(t,n){return n in t||n in ns}})):e.proxy}function td(e,t=!0){return ne(e)?e.displayName||e.name:e.name||t&&e.__name}function nd(e){return ne(e)&&"__vccOpts"in e}const Ne=(e,t)=>$u(e,t,hs);function zt(e,t,n){try{Bs(-1);const s=arguments.length;return s===2?de(t)&&!Z(t)?ds(t)?Pe(e,null,[t]):Pe(e,t):Pe(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&ds(n)&&(n=[n]),Pe(e,t,n))}finally{Bs(1)}}const sd="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 so;const _i=typeof window<"u"&&window.trustedTypes;if(_i)try{so=_i.createPolicy("vue",{createHTML:e=>e})}catch{}const za=so?e=>so.createHTML(e):e=>e,rd="http://www.w3.org/2000/svg",od="http://www.w3.org/1998/Math/MathML",kt=typeof document<"u"?document:null,Ei=kt&&kt.createElement("template"),id={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"?kt.createElementNS(rd,e):t==="mathml"?kt.createElementNS(od,e):n?kt.createElement(e,{is:n}):kt.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>kt.createTextNode(e),createComment:e=>kt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>kt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Ei.innerHTML=za(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const l=Ei.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Bt="transition",Wn="animation",ms=Symbol("_vtc"),ec={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},ld=ke({},ya,ec),ad=e=>(e.displayName="Transition",e.props=ld,e),xg=ad((e,{slots:t})=>zt(of,cd(e),t)),cn=(e,t=[])=>{Z(e)?e.forEach(n=>n(...t)):e&&e(...t)},vi=e=>e?Z(e)?e.some(t=>t.length>1):e.length>1:!1;function cd(e){const t={};for(const V in e)V in ec||(t[V]=e[V]);if(e.css===!1)return t;const{name:n="v",type:s,duration:r,enterFromClass:o=`${n}-enter-from`,enterActiveClass:i=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=o,appearActiveClass:c=i,appearToClass:u=l,leaveFromClass:f=`${n}-leave-from`,leaveActiveClass:m=`${n}-leave-active`,leaveToClass:_=`${n}-leave-to`}=e,N=ud(r),y=N&&N[0],w=N&&N[1],{onBeforeEnter:M,onEnter:R,onEnterCancelled:v,onLeave:b,onLeaveCancelled:I,onBeforeAppear:O=M,onAppear:L=R,onAppearCancelled:F=v}=t,T=(V,J,he,Ce)=>{V._enterCancelled=Ce,un(V,J?u:l),un(V,J?c:i),he&&he()},K=(V,J)=>{V._isLeaving=!1,un(V,f),un(V,_),un(V,m),J&&J()},Q=V=>(J,he)=>{const Ce=V?L:R,oe=()=>T(J,V,he);cn(Ce,[J,oe]),bi(()=>{un(J,V?a:o),Ot(J,V?u:l),vi(Ce)||yi(J,s,y,oe)})};return ke(t,{onBeforeEnter(V){cn(M,[V]),Ot(V,o),Ot(V,i)},onBeforeAppear(V){cn(O,[V]),Ot(V,a),Ot(V,c)},onEnter:Q(!1),onAppear:Q(!0),onLeave(V,J){V._isLeaving=!0;const he=()=>K(V,J);Ot(V,f),V._enterCancelled?(Ot(V,m),Ai(V)):(Ai(V),Ot(V,m)),bi(()=>{V._isLeaving&&(un(V,f),Ot(V,_),vi(b)||yi(V,s,w,he))}),cn(b,[V,he])},onEnterCancelled(V){T(V,!1,void 0,!0),cn(v,[V])},onAppearCancelled(V){T(V,!0,void 0,!0),cn(F,[V])},onLeaveCancelled(V){K(V),cn(I,[V])}})}function ud(e){if(e==null)return null;if(de(e))return[Rr(e.enter),Rr(e.leave)];{const t=Rr(e);return[t,t]}}function Rr(e){return au(e)}function Ot(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[ms]||(e[ms]=new Set)).add(t)}function un(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[ms];n&&(n.delete(t),n.size||(e[ms]=void 0))}function bi(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let fd=0;function yi(e,t,n,s){const r=e._endId=++fd,o=()=>{r===e._endId&&s()};if(n!=null)return setTimeout(o,n);const{type:i,timeout:l,propCount:a}=dd(e,t);if(!i)return s();const c=i+"end";let u=0;const f=()=>{e.removeEventListener(c,m),o()},m=_=>{_.target===e&&++u>=a&&f()};setTimeout(()=>{u<a&&f()},l+1),e.addEventListener(c,m)}function dd(e,t){const n=window.getComputedStyle(e),s=N=>(n[N]||"").split(", "),r=s(`${Bt}Delay`),o=s(`${Bt}Duration`),i=Ti(r,o),l=s(`${Wn}Delay`),a=s(`${Wn}Duration`),c=Ti(l,a);let u=null,f=0,m=0;t===Bt?i>0&&(u=Bt,f=i,m=o.length):t===Wn?c>0&&(u=Wn,f=c,m=a.length):(f=Math.max(i,c),u=f>0?i>c?Bt:Wn:null,m=u?u===Bt?o.length:a.length:0);const _=u===Bt&&/\b(?:transform|all)(?:,|$)/.test(s(`${Bt}Property`).toString());return{type:u,timeout:f,propCount:m,hasTransform:_}}function Ti(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((n,s)=>Si(n)+Si(e[s])))}function Si(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Ai(e){return(e?e.ownerDocument:document).body.offsetHeight}function hd(e,t,n){const s=e[ms];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Ks=Symbol("_vod"),tc=Symbol("_vsh"),Ug={name:"show",beforeMount(e,{value:t},{transition:n}){e[Ks]=e.style.display==="none"?"":e.style.display,n&&t?n.beforeEnter(e):$n(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),$n(e,!0),s.enter(e)):s.leave(e,()=>{$n(e,!1)}):$n(e,t))},beforeUnmount(e,{value:t}){$n(e,t)}};function $n(e,t){e.style.display=t?e[Ks]:"none",e[tc]=!t}const md=Symbol(""),pd=/(?:^|;)\s*display\s*:/;function gd(e,t,n){const s=e.style,r=be(n);let o=!1;if(n&&!r){if(t)if(be(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&Qn(s,l,"")}else for(const i in t)n[i]==null&&Qn(s,i,"");for(const i in n){i==="display"&&(o=!0);const l=n[i];l!=null?Ed(e,i,!be(t)&&t?t[i]:void 0,l)||Qn(s,i,l):Qn(s,i,"")}}else if(r){if(t!==n){const i=s[md];i&&(n+=";"+i),s.cssText=n,o=pd.test(n)}}else t&&e.removeAttribute("style");Ks in e&&(e[Ks]=o?s.display:"",e[tc]&&(s.display="none"))}const Ni=/\s*!important$/;function Qn(e,t,n){if(Z(n))n.forEach(s=>Qn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=_d(e,t);Ni.test(n)?e.setProperty(tn(s),n.replace(Ni,""),"important"):e[s]=n}}const Ci=["Webkit","Moz","ms"],Pr={};function _d(e,t){const n=Pr[t];if(n)return n;let s=Je(t);if(s!=="filter"&&s in e)return Pr[t]=s;s=nr(s);for(let r=0;r<Ci.length;r++){const o=Ci[r]+s;if(o in e)return Pr[t]=o}return t}function Ed(e,t,n,s){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&be(s)&&n===s}const Li="http://www.w3.org/1999/xlink";function Ii(e,t,n,s,r,o=mu(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(Li,t.slice(6,t.length)):e.setAttributeNS(Li,t,n):n==null||o&&!jl(n)?e.removeAttribute(t):e.setAttribute(t,o?"":rt(n)?String(n):n)}function Oi(e,t,n,s,r){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?za(n):n);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,a=n==null?e.type==="checkbox"?"on":"":String(n);(l!==a||!("_value"in e))&&(e.value=a),n==null&&e.removeAttribute(t),e._value=n;return}let i=!1;if(n===""||n==null){const l=typeof e[t];l==="boolean"?n=jl(n):n==null&&l==="string"?(n="",i=!0):l==="number"&&(n=0,i=!0)}try{e[t]=n}catch{}i&&e.removeAttribute(r||t)}function gn(e,t,n,s){e.addEventListener(t,n,s)}function vd(e,t,n,s){e.removeEventListener(t,n,s)}const Ri=Symbol("_vei");function bd(e,t,n,s,r=null){const o=e[Ri]||(e[Ri]={}),i=o[t];if(s&&i)i.value=s;else{const[l,a]=yd(t);if(s){const c=o[t]=Ad(s,r);gn(e,l,c,a)}else i&&(vd(e,l,i,a),o[t]=void 0)}}const Pi=/(?:Once|Passive|Capture)$/;function yd(e){let t;if(Pi.test(e)){t={};let s;for(;s=e.match(Pi);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):tn(e.slice(2)),t]}let wr=0;const Td=Promise.resolve(),Sd=()=>wr||(Td.then(()=>wr=0),wr=Date.now());function Ad(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(Z(r)){const o=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{o.call(s),s._stopped=!0};const i=r.slice(),l=[s];for(let a=0;a<i.length&&!s._stopped;a++){const c=i[a];c&&ft(c,t,5,l)}}else ft(r,t,5,[s])};return n.value=e,n.attached=Sd(),n}const wi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Nd=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?hd(e,s,i):t==="style"?gd(e,n,s):Qs(t)?Zs(t)||bd(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Cd(e,t,s,i))?(Oi(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Ii(e,t,s,i,o,t!=="value")):e._isVueCE&&(Ld(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!be(s)))?Oi(e,Je(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Ii(e,t,s,i))};function Cd(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&wi(t)&&ne(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 wi(t)&&be(n)?!1:t in e}function Ld(e,t){const n=e._def.props;if(!n)return!1;const s=Je(t);return Array.isArray(n)?n.some(r=>Je(r)===s):Object.keys(n).some(r=>Je(r)===s)}const Ys=e=>{const t=e.props["onUpdate:modelValue"]||!1;return Z(t)?n=>ws(t,n):t};function Id(e){e.target.composing=!0}function ki(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const wn=Symbol("_assign");function Di(e,t,n){return t&&(e=e.trim()),n&&(e=sr(e)),e}const Vg={created(e,{modifiers:{lazy:t,trim:n,number:s}},r){e[wn]=Ys(r);const o=s||r.props&&r.props.type==="number";gn(e,t?"change":"input",i=>{i.target.composing||e[wn](Di(e.value,n,o))}),(n||o)&&gn(e,"change",()=>{e.value=Di(e.value,n,o)}),t||(gn(e,"compositionstart",Id),gn(e,"compositionend",ki),gn(e,"change",ki))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:r,number:o}},i){if(e[wn]=Ys(i),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?sr(e.value):e.value,a=t??"";if(l===a)return;const c=e.getRootNode();(c instanceof Document||c instanceof ShadowRoot)&&c.activeElement===e&&e.type!=="range"&&(s&&t===n||r&&e.value.trim()===a)||(e.value=a)}},Hg={deep:!0,created(e,{value:t,modifiers:{number:n}},s){const r=zs(t);gn(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>n?sr(Xs(i)):Xs(i));e[wn](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,ar(()=>{e._assigning=!1})}),e[wn]=Ys(s)},mounted(e,{value:t}){Mi(e,t)},beforeUpdate(e,t,n){e[wn]=Ys(n)},updated(e,{value:t}){e._assigning||Mi(e,t)}};function Mi(e,t){const n=e.multiple,s=Z(t);if(!(n&&!s&&!zs(t))){for(let r=0,o=e.options.length;r<o;r++){const i=e.options[r],l=Xs(i);if(n)if(s){const a=typeof l;a==="string"||a==="number"?i.selected=t.some(c=>String(c)===String(l)):i.selected=gu(t,l)>-1}else i.selected=t.has(l);else if(ys(Xs(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!n&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Xs(e){return"_value"in e?e._value:e.value}const Od=["ctrl","shift","alt","meta"],Rd={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)=>Od.some(n=>e[`${n}Key`]&&!t.includes(n))},Wg=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(r,...o)=>{for(let i=0;i<t.length;i++){const l=Rd[t[i]];if(l&&l(r,t))return}return e(r,...o)})},Pd={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},$g=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=r=>{if(!("key"in r))return;const o=tn(r.key);if(t.some(i=>i===o||Pd[i]===o))return e(r)})},wd=ke({patchProp:Nd},id);let Fi;function kd(){return Fi||(Fi=Uf(wd))}const Dd=(...e)=>{const t=kd().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=Fd(s);if(!r)return;const o=t._component;!ne(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,Md(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Md(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Fd(e){return be(e)?document.querySelector(e):e}/*!
|
|
19
|
+
* pinia v2.3.1
|
|
20
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
21
|
+
* @license MIT
|
|
22
|
+
*/let nc;const mr=e=>nc=e,sc=Symbol();function ro(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var rs;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(rs||(rs={}));function xd(){const e=So(!0),t=e.run(()=>ct({}));let n=[],s=[];const r=Ro({install(o){mr(r),r._a=o,o.provide(sc,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const rc=()=>{};function xi(e,t,n,s=rc){e.push(t);const r=()=>{const o=e.indexOf(t);o>-1&&(e.splice(o,1),s())};return!n&&Xl()&&_u(r),r}function Sn(e,...t){e.slice().forEach(n=>{n(...t)})}const Ud=e=>e(),Ui=Symbol(),kr=Symbol();function oo(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];ro(r)&&ro(s)&&e.hasOwnProperty(n)&&!ye(s)&&!Ut(s)?e[n]=oo(r,s):e[n]=s}return e}const Vd=Symbol();function Hd(e){return!ro(e)||!e.hasOwnProperty(Vd)}const{assign:Yt}=Object;function Wd(e){return!!(ye(e)&&e.effect)}function $d(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let a;function c(){l||(n.state.value[e]=r?r():{});const u=Uu(n.state.value[e]);return Yt(u,o,Object.keys(i||{}).reduce((f,m)=>(f[m]=Ro(Ne(()=>{mr(n);const _=n._s.get(e);return i[m].call(_,_)})),f),{}))}return a=oc(e,c,t,n,s,!0),a}function oc(e,t,n={},s,r,o){let i;const l=Yt({actions:{}},n),a={deep:!0};let c,u,f=[],m=[],_;const N=s.state.value[e];!o&&!N&&(s.state.value[e]={});let y;function w(F){let T;c=u=!1,typeof F=="function"?(F(s.state.value[e]),T={type:rs.patchFunction,storeId:e,events:_}):(oo(s.state.value[e],F),T={type:rs.patchObject,payload:F,storeId:e,events:_});const K=y=Symbol();ar().then(()=>{y===K&&(c=!0)}),u=!0,Sn(f,T,s.state.value[e])}const M=o?function(){const{state:T}=n,K=T?T():{};this.$patch(Q=>{Yt(Q,K)})}:rc;function R(){i.stop(),f=[],m=[],s._s.delete(e)}const v=(F,T="")=>{if(Ui in F)return F[kr]=T,F;const K=function(){mr(s);const Q=Array.from(arguments),V=[],J=[];function he(ee){V.push(ee)}function Ce(ee){J.push(ee)}Sn(m,{args:Q,name:K[kr],store:I,after:he,onError:Ce});let oe;try{oe=F.apply(this&&this.$id===e?this:I,Q)}catch(ee){throw Sn(J,ee),ee}return oe instanceof Promise?oe.then(ee=>(Sn(V,ee),ee)).catch(ee=>(Sn(J,ee),Promise.reject(ee))):(Sn(V,oe),oe)};return K[Ui]=!0,K[kr]=T,K},b={_p:s,$id:e,$onAction:xi.bind(null,m),$patch:w,$reset:M,$subscribe(F,T={}){const K=xi(f,F,T.detached,()=>Q()),Q=i.run(()=>Jt(()=>s.state.value[e],V=>{(T.flush==="sync"?u:c)&&F({storeId:e,type:rs.direct,events:_},V)},Yt({},a,T)));return K},$dispose:R},I=Ts(b);s._s.set(e,I);const L=(s._a&&s._a.runWithContext||Ud)(()=>s._e.run(()=>(i=So()).run(()=>t({action:v}))));for(const F in L){const T=L[F];if(ye(T)&&!Wd(T)||Ut(T))o||(N&&Hd(T)&&(ye(T)?T.value=N[F]:oo(T,N[F])),s.state.value[e][F]=T);else if(typeof T=="function"){const K=v(T,F);L[F]=K,l.actions[F]=T}}return Yt(I,L),Yt(ae(I),L),Object.defineProperty(I,"$state",{get:()=>s.state.value[e],set:F=>{w(T=>{Yt(T,F)})}}),s._p.forEach(F=>{Yt(I,i.run(()=>F({store:I,app:s._a,pinia:s,options:l})))}),N&&o&&n.hydrate&&n.hydrate(I.$state,N),c=!0,u=!0,I}/*! #__NO_SIDE_EFFECTS__ */function ic(e,t,n){let s,r;const o=typeof t=="function";typeof e=="string"?(s=e,r=o?n:t):(r=e,s=e.id);function i(l,a){const c=qu();return l=l||(c?ut(sc,null):null),l&&mr(l),l=nc,l._s.has(s)||(o?oc(s,t,r,l):$d(s,r,l)),l._s.get(s)}return i.$id=s,i}/**
|
|
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 Bd=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 Vi=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 jd=(...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 Hi=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 Gd=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 Kd=e=>{const t=Gd(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 Bn={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 Yd=({name:e,iconNode:t,absoluteStrokeWidth:n,"absolute-stroke-width":s,strokeWidth:r,"stroke-width":o,size:i=Bn.width,color:l=Bn.stroke,...a},{slots:c})=>zt("svg",{...Bn,...a,width:i,height:i,stroke:l,"stroke-width":Vi(n)||Vi(s)||n===!0||s===!0?Number(r||o||Bn["stroke-width"])*24/Number(i):r||o||Bn["stroke-width"],class:jd("lucide",a.class,...e?[`lucide-${Hi(Kd(e))}-icon`,`lucide-${Hi(e)}`]:["lucide-icon"]),...!c.default&&!Bd(a)&&{"aria-hidden":"true"}},[...t.map(u=>zt(...u)),...c.default?[c.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 Xd=(e,t)=>(n,{slots:s,attrs:r})=>zt(Yd,{...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 qd=Xd("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"}]]),ps=ct(null);function Jd(){return ps}function Bg(e){var t;return(t=ps.value)==null||t.resolve(!1),new Promise(n=>{ps.value={...e,resolve:n}})}function jn(e){const t=ps.value;ps.value=null,t==null||t.resolve(e)}const Qd={key:0,class:"fixed inset-0 z-[100] flex items-center justify-center p-4"},Zd=["aria-label"],zd={class:"flex items-start gap-3"},eh={class:"min-w-0 flex-1 pt-0.5"},th={class:"text-[15px] font-semibold text-fg"},nh={key:0,class:"mt-1 whitespace-pre-wrap text-[13px] leading-relaxed text-fg-muted"},sh={class:"mt-5 flex justify-end gap-2"},rh=yn({__name:"ConfirmDialog",setup(e){const t=Jd();function n(s){t.value&&(s.key==="Escape"?(s.preventDefault(),jn(!1)):s.key==="Enter"&&(s.preventDefault(),jn(!0)))}return fr(()=>window.addEventListener("keydown",n)),ko(()=>window.removeEventListener("keydown",n)),(s,r)=>(bn(),js(nf,{to:"body"},[Ie(t)?(bn(),eo("div",Qd,[ht("div",{class:"absolute inset-0 bg-black/50 backdrop-blur-sm",onClick:r[0]||(r[0]=o=>Ie(jn)(!1))}),ht("div",{role:"alertdialog","aria-modal":"true","data-test":"confirm-dialog","aria-label":Ie(t).title,class:"relative w-full max-w-sm rounded-xl border border-border bg-surface p-5 shadow-e3"},[ht("div",zd,[ht("div",{class:is(["grid h-9 w-9 shrink-0 place-items-center rounded-lg",Ie(t).tone==="default"?"bg-accent/10 text-accent":"bg-danger/10 text-danger"])},[Pe(Ie(qd),{size:18})],2),ht("div",eh,[ht("h2",th,Xn(Ie(t).title),1),Ie(t).message?(bn(),eo("p",nh,Xn(Ie(t).message),1)):to("",!0)])]),ht("div",sh,[ht("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]=o=>Ie(jn)(!1))},Xn(Ie(t).cancelLabel??s.$t("common.cancel")),1),ht("button",{"data-test":"confirm-ok",type:"button",class:is(["rounded-lg px-3 py-1.5 text-[13px] font-semibold text-white transition-opacity hover:opacity-90",Ie(t).tone==="default"?"bg-accent":"bg-danger"]),onClick:r[2]||(r[2]=o=>Ie(jn)(!0))},Xn(Ie(t).confirmLabel??s.$t("common.confirm")),3)])],8,Zd)])):to("",!0)]))}}),oh=yn({__name:"App",setup(e){return(t,n)=>{const s=gf("RouterView");return bn(),eo(He,null,[Pe(s),Pe(rh)],64)}}}),ih="modulepreload",lh=function(e){return"/"+e},Wi={},Dr=function(t,n,s){let r=Promise.resolve();if(n&&n.length>0){document.getElementsByTagName("link");const i=document.querySelector("meta[property=csp-nonce]"),l=(i==null?void 0:i.nonce)||(i==null?void 0:i.getAttribute("nonce"));r=Promise.allSettled(n.map(a=>{if(a=lh(a),a in Wi)return;Wi[a]=!0;const c=a.endsWith(".css"),u=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${a}"]${u}`))return;const f=document.createElement("link");if(f.rel=c?"stylesheet":ih,c||(f.as="script"),f.crossOrigin="",f.href=a,l&&f.setAttribute("nonce",l),document.head.appendChild(f),c)return new Promise((m,_)=>{f.addEventListener("load",m),f.addEventListener("error",()=>_(new Error(`Unable to preload CSS for ${a}`)))})}))}function o(i){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i}return r.then(i=>{for(const l of i||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})};/*!
|
|
73
|
+
* vue-router v4.6.4
|
|
74
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
75
|
+
* @license MIT
|
|
76
|
+
*/const Nn=typeof document<"u";function lc(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function ah(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&lc(e.default)}const ue=Object.assign;function Mr(e,t){const n={};for(const s in t){const r=t[s];n[s]=Et(r)?r.map(e):e(r)}return n}const os=()=>{},Et=Array.isArray;function $i(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const ac=/#/g,ch=/&/g,uh=/\//g,fh=/=/g,dh=/\?/g,cc=/\+/g,hh=/%5B/g,mh=/%5D/g,uc=/%5E/g,ph=/%60/g,fc=/%7B/g,gh=/%7C/g,dc=/%7D/g,_h=/%20/g;function Vo(e){return e==null?"":encodeURI(""+e).replace(gh,"|").replace(hh,"[").replace(mh,"]")}function Eh(e){return Vo(e).replace(fc,"{").replace(dc,"}").replace(uc,"^")}function io(e){return Vo(e).replace(cc,"%2B").replace(_h,"+").replace(ac,"%23").replace(ch,"%26").replace(ph,"`").replace(fc,"{").replace(dc,"}").replace(uc,"^")}function vh(e){return io(e).replace(fh,"%3D")}function bh(e){return Vo(e).replace(ac,"%23").replace(dh,"%3F")}function yh(e){return bh(e).replace(uh,"%2F")}function gs(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Th=/\/$/,Sh=e=>e.replace(Th,"");function Fr(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(s=t.slice(0,a),o=t.slice(a,l>0?l:t.length),r=e(o.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Lh(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:gs(i)}}function Ah(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Bi(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Nh(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Dn(t.matched[s],n.matched[r])&&hc(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Dn(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function hc(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Ch(e[n],t[n]))return!1;return!0}function Ch(e,t){return Et(e)?ji(e,t):Et(t)?ji(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function ji(e,t){return Et(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Lh(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i<s.length;i++)if(l=s[i],l!==".")if(l==="..")o>1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const jt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let lo=function(e){return e.pop="pop",e.push="push",e}({}),xr=function(e){return e.back="back",e.forward="forward",e.unknown="",e}({});function Ih(e){if(!e)if(Nn){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Sh(e)}const Oh=/^[^#]+#/;function Rh(e,t){return e.replace(Oh,"#")+t}function Ph(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 pr=()=>({left:window.scrollX,top:window.scrollY});function wh(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=Ph(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 Gi(e,t){return(history.state?history.state.position-t:-1)+e}const ao=new Map;function kh(e,t){ao.set(e,t)}function Dh(e){const t=ao.get(e);return ao.delete(e),t}function Mh(e){return typeof e=="string"||e&&typeof e=="object"}function mc(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 pc=Symbol("");Ae.MATCHER_NOT_FOUND+"",Ae.NAVIGATION_GUARD_REDIRECT+"",Ae.NAVIGATION_ABORTED+"",Ae.NAVIGATION_CANCELLED+"",Ae.NAVIGATION_DUPLICATED+"";function Mn(e,t){return ue(new Error,{type:e,[pc]:!0},t)}function Rt(e,t){return e instanceof Error&&pc in e&&(t==null||!!(e.type&t))}const Fh=["params","query","hash"];function xh(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Fh)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function Uh(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(cc," "),o=r.indexOf("="),i=gs(o<0?r:r.slice(0,o)),l=o<0?null:gs(r.slice(o+1));if(i in t){let a=t[i];Et(a)||(a=t[i]=[a]),a.push(l)}else t[i]=l}return t}function Ki(e){let t="";for(let n in e){const s=e[n];if(n=vh(n),s==null){s!==void 0&&(t+=(t.length?"&":"")+n);continue}(Et(s)?s.map(r=>r&&io(r)):[s&&io(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function Vh(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=Et(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const Hh=Symbol(""),Yi=Symbol(""),gr=Symbol(""),gc=Symbol(""),co=Symbol("");function Gn(){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 qt(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const c=m=>{m===!1?a(Mn(Ae.NAVIGATION_ABORTED,{from:n,to:t})):m instanceof Error?a(m):Mh(m)?a(Mn(Ae.NAVIGATION_GUARD_REDIRECT,{from:t,to:m})):(i&&s.enterCallbacks[r]===i&&typeof m=="function"&&i.push(m),l())},u=o(()=>e.call(s&&s.instances[r],t,n,c));let f=Promise.resolve(u);e.length<3&&(f=f.then(c)),f.catch(m=>a(m))})}function Ur(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(lc(a)){const c=(a.__vccOpts||a)[t];c&&o.push(qt(c,n,s,i,l,r))}else{let c=a();o.push(()=>c.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const f=ah(u)?u.default:u;i.mods[l]=u,i.components[l]=f;const m=(f.__vccOpts||f)[t];return m&&qt(m,n,s,i,l,r)()}))}}return o}function Wh(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const l=t.matched[i];l&&(e.matched.find(c=>Dn(c,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(c=>Dn(c,a))||r.push(a))}return[n,s,r]}/*!
|
|
77
|
+
* vue-router v4.6.4
|
|
78
|
+
* (c) 2025 Eduardo San Martin Morote
|
|
79
|
+
* @license MIT
|
|
80
|
+
*/let $h=()=>location.protocol+"//"+location.host;function _c(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),Bi(l,"")}return Bi(n,e)+s+r}function Bh(e,t,n,s){let r=[],o=[],i=null;const l=({state:m})=>{const _=_c(e,location),N=n.value,y=t.value;let w=0;if(m){if(n.value=_,t.value=m,i&&i===N){i=null;return}w=y?m.position-y.position:0}else s(_);r.forEach(M=>{M(n.value,N,{delta:w,type:lo.pop,direction:w?w>0?xr.forward:xr.back:xr.unknown})})};function a(){i=n.value}function c(m){r.push(m);const _=()=>{const N=r.indexOf(m);N>-1&&r.splice(N,1)};return o.push(_),_}function u(){if(document.visibilityState==="hidden"){const{history:m}=window;if(!m.state)return;m.replaceState(ue({},m.state,{scroll:pr()}),"")}}function f(){for(const m of o)m();o=[],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:a,listen:c,destroy:f}}function Xi(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?pr():null}}function jh(e){const{history:t,location:n}=window,s={value:_c(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,c,u){const f=e.indexOf("#"),m=f>-1?(n.host&&document.querySelector("base")?e:e.slice(f))+a:$h()+e+a;try{t[u?"replaceState":"pushState"](c,"",m),r.value=c}catch(_){console.error(_),n[u?"replace":"assign"](m)}}function i(a,c){o(a,ue({},t.state,Xi(r.value.back,a,r.value.forward,!0),c,{position:r.value.position}),!0),s.value=a}function l(a,c){const u=ue({},r.value,t.state,{forward:a,scroll:pr()});o(u.current,u,!0),o(a,ue({},Xi(s.value,a,null),{position:u.position+1},c),!1),s.value=a}return{location:s,state:r,push:l,replace:i}}function Gh(e){e=Ih(e);const t=jh(e),n=Bh(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=ue({location:"",base:e,go:s,createHref:Rh.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 _n=function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e}({});var Oe=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}(Oe||{});const Kh={type:_n.Static,value:""},Yh=/[a-zA-Z0-9_]/;function Xh(e){if(!e)return[[]];if(e==="/")return[[Kh]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(_){throw new Error(`ERR (${n})/"${c}": ${_}`)}let n=Oe.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,a,c="",u="";function f(){c&&(n===Oe.Static?o.push({type:_n.Static,value:c}):n===Oe.Param||n===Oe.ParamRegExp||n===Oe.ParamRegExpEnd?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`),o.push({type:_n.Param,value:c,regexp:u,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),c="")}function m(){c+=a}for(;l<e.length;){if(a=e[l++],a==="\\"&&n!==Oe.ParamRegExp){s=n,n=Oe.EscapeNext;continue}switch(n){case Oe.Static:a==="/"?(c&&f(),i()):a===":"?(f(),n=Oe.Param):m();break;case Oe.EscapeNext:m(),n=s;break;case Oe.Param:a==="("?n=Oe.ParamRegExp:Yh.test(a)?m():(f(),n=Oe.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--);break;case Oe.ParamRegExp:a===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+a:n=Oe.ParamRegExpEnd:u+=a;break;case Oe.ParamRegExpEnd:f(),n=Oe.Static,a!=="*"&&a!=="?"&&a!=="+"&&l--,u="";break;default:t("Unknown state");break}}return n===Oe.ParamRegExp&&t(`Unfinished custom RegExp for param "${c}"`),f(),i(),r}const qi="[^/]+?",qh={sensitive:!1,strict:!1,start:!0,end:!0};var Xe=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}(Xe||{});const Jh=/[.+*?^${}()[\]/\\]/g;function Qh(e,t){const n=ue({},qh,t),s=[];let r=n.start?"^":"";const o=[];for(const c of e){const u=c.length?[]:[Xe.Root];n.strict&&!c.length&&(r+="/");for(let f=0;f<c.length;f++){const m=c[f];let _=Xe.Segment+(n.sensitive?Xe.BonusCaseSensitive:0);if(m.type===_n.Static)f||(r+="/"),r+=m.value.replace(Jh,"\\$&"),_+=Xe.Static;else if(m.type===_n.Param){const{value:N,repeatable:y,optional:w,regexp:M}=m;o.push({name:N,repeatable:y,optional:w});const R=M||qi;if(R!==qi){_+=Xe.BonusCustomRegExp;try{`${R}`}catch(b){throw new Error(`Invalid custom RegExp for param "${N}" (${R}): `+b.message)}}let v=y?`((?:${R})(?:/(?:${R}))*)`:`(${R})`;f||(v=w&&c.length<2?`(?:/${v})`:"/"+v),w&&(v+="?"),r+=v,_+=Xe.Dynamic,w&&(_+=Xe.BonusOptional),y&&(_+=Xe.BonusRepeatable),R===".*"&&(_+=Xe.BonusWildcard)}u.push(_)}s.push(u)}if(n.strict&&n.end){const c=s.length-1;s[c][s[c].length-1]+=Xe.BonusStrict}n.strict||(r+="/?"),n.end?r+="$":n.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,n.sensitive?"":"i");function l(c){const u=c.match(i),f={};if(!u)return null;for(let m=1;m<u.length;m++){const _=u[m]||"",N=o[m-1];f[N.name]=_&&N.repeatable?_.split("/"):_}return f}function a(c){let u="",f=!1;for(const m of e){(!f||!u.endsWith("/"))&&(u+="/"),f=!1;for(const _ of m)if(_.type===_n.Static)u+=_.value;else if(_.type===_n.Param){const{value:N,repeatable:y,optional:w}=_,M=N in c?c[N]:"";if(Et(M)&&!y)throw new Error(`Provided param "${N}" is an array but it is not repeatable (* or + modifiers)`);const R=Et(M)?M.join("/"):M;if(!R)if(w)m.length<2&&(u.endsWith("/")?u=u.slice(0,-1):f=!0);else throw new Error(`Missing required param "${N}"`);u+=R}}return u||"/"}return{re:i,score:s,keys:o,parse:l,stringify:a}}function Zh(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]===Xe.Static+Xe.Segment?-1:1:e.length>t.length?t.length===1&&t[0]===Xe.Static+Xe.Segment?1:-1:0}function Ec(e,t){let n=0;const s=e.score,r=t.score;for(;n<s.length&&n<r.length;){const o=Zh(s[n],r[n]);if(o)return o;n++}if(Math.abs(r.length-s.length)===1){if(Ji(s))return 1;if(Ji(r))return-1}return r.length-s.length}function Ji(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const zh={strict:!1,end:!0,sensitive:!1};function em(e,t,n){const s=Qh(Xh(e.path),n),r=ue(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function tm(e,t){const n=[],s=new Map;t=$i(zh,t);function r(f){return s.get(f)}function o(f,m,_){const N=!_,y=Zi(f);y.aliasOf=_&&_.record;const w=$i(t,f),M=[y];if("alias"in f){const b=typeof f.alias=="string"?[f.alias]:f.alias;for(const I of b)M.push(Zi(ue({},y,{components:_?_.record.components:y.components,path:I,aliasOf:_?_.record:y})))}let R,v;for(const b of M){const{path:I}=b;if(m&&I[0]!=="/"){const O=m.record.path,L=O[O.length-1]==="/"?"":"/";b.path=m.record.path+(I&&L+I)}if(R=em(b,m,w),_?_.alias.push(R):(v=v||R,v!==R&&v.alias.push(R),N&&f.name&&!zi(R)&&i(f.name)),vc(R)&&a(R),y.children){const O=y.children;for(let L=0;L<O.length;L++)o(O[L],R,_&&_.children[L])}_=_||R}return v?()=>{i(v)}:os}function i(f){if(mc(f)){const m=s.get(f);m&&(s.delete(f),n.splice(n.indexOf(m),1),m.children.forEach(i),m.alias.forEach(i))}else{const m=n.indexOf(f);m>-1&&(n.splice(m,1),f.record.name&&s.delete(f.record.name),f.children.forEach(i),f.alias.forEach(i))}}function l(){return n}function a(f){const m=rm(f,n);n.splice(m,0,f),f.record.name&&!zi(f)&&s.set(f.record.name,f)}function c(f,m){let _,N={},y,w;if("name"in f&&f.name){if(_=s.get(f.name),!_)throw Mn(Ae.MATCHER_NOT_FOUND,{location:f});w=_.record.name,N=ue(Qi(m.params,_.keys.filter(v=>!v.optional).concat(_.parent?_.parent.keys.filter(v=>v.optional):[]).map(v=>v.name)),f.params&&Qi(f.params,_.keys.map(v=>v.name))),y=_.stringify(N)}else if(f.path!=null)y=f.path,_=n.find(v=>v.re.test(y)),_&&(N=_.parse(y),w=_.record.name);else{if(_=m.name?s.get(m.name):n.find(v=>v.re.test(m.path)),!_)throw Mn(Ae.MATCHER_NOT_FOUND,{location:f,currentLocation:m});w=_.record.name,N=ue({},m.params,f.params),y=_.stringify(N)}const M=[];let R=_;for(;R;)M.unshift(R.record),R=R.parent;return{name:w,path:y,params:N,matched:M,meta:sm(M)}}e.forEach(f=>o(f));function u(){n.length=0,s.clear()}return{addRoute:o,resolve:c,removeRoute:i,clearRoutes:u,getRoutes:l,getRecordMatcher:r}}function Qi(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function Zi(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:nm(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 nm(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 zi(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function sm(e){return e.reduce((t,n)=>ue(t,n.meta),{})}function rm(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Ec(e,t[o])<0?s=o:n=o+1}const r=om(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function om(e){let t=e;for(;t=t.parent;)if(vc(t)&&Ec(e,t)===0)return t}function vc({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function el(e){const t=ut(gr),n=ut(gc),s=Ne(()=>{const a=Ie(e.to);return t.resolve(a)}),r=Ne(()=>{const{matched:a}=s.value,{length:c}=a,u=a[c-1],f=n.matched;if(!u||!f.length)return-1;const m=f.findIndex(Dn.bind(null,u));if(m>-1)return m;const _=tl(a[c-2]);return c>1&&tl(u)===_&&f[f.length-1].path!==_?f.findIndex(Dn.bind(null,a[c-2])):m}),o=Ne(()=>r.value>-1&&um(n.params,s.value.params)),i=Ne(()=>r.value>-1&&r.value===n.matched.length-1&&hc(n.params,s.value.params));function l(a={}){if(cm(a)){const c=t[Ie(e.replace)?"replace":"push"](Ie(e.to)).catch(os);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>c),c}return Promise.resolve()}return{route:s,href:Ne(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function im(e){return e.length===1?e[0]:e}const lm=yn({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:el,setup(e,{slots:t}){const n=Ts(el(e)),{options:s}=ut(gr),r=Ne(()=>({[nl(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[nl(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&im(t.default(n));return e.custom?o:zt("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),am=lm;function cm(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 um(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(!Et(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function tl(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const nl=(e,t,n)=>e??t??n,fm=yn({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=ut(co),r=Ne(()=>e.route||s.value),o=ut(Yi,0),i=Ne(()=>{let c=Ie(o);const{matched:u}=r.value;let f;for(;(f=u[c])&&!f.components;)c++;return c}),l=Ne(()=>r.value.matched[i.value]);ks(Yi,Ne(()=>i.value+1)),ks(Hh,l),ks(co,r);const a=ct();return Jt(()=>[a.value,l.value,e.name],([c,u,f],[m,_,N])=>{u&&(u.instances[f]=c,_&&_!==u&&c&&c===m&&(u.leaveGuards.size||(u.leaveGuards=_.leaveGuards),u.updateGuards.size||(u.updateGuards=_.updateGuards))),c&&u&&(!_||!Dn(u,_)||!m)&&(u.enterCallbacks[f]||[]).forEach(y=>y(c))},{flush:"post"}),()=>{const c=r.value,u=e.name,f=l.value,m=f&&f.components[u];if(!m)return sl(n.default,{Component:m,route:c});const _=f.props[u],N=_?_===!0?c.params:typeof _=="function"?_(c):_:null,w=zt(m,ue({},N,t,{onVnodeUnmounted:M=>{M.component.isUnmounted&&(f.instances[u]=null)},ref:a}));return sl(n.default,{Component:w,route:c})||w}}});function sl(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const dm=fm;function hm(e){const t=tm(e.routes,e),n=e.parseQuery||Uh,s=e.stringifyQuery||Ki,r=e.history,o=Gn(),i=Gn(),l=Gn(),a=Po(jt);let c=jt;Nn&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=Mr.bind(null,x=>""+x),f=Mr.bind(null,yh),m=Mr.bind(null,gs);function _(x,Y){let j,X;return mc(x)?(j=t.getRecordMatcher(x),X=Y):X=x,t.addRoute(X,j)}function N(x){const Y=t.getRecordMatcher(x);Y&&t.removeRoute(Y)}function y(){return t.getRoutes().map(x=>x.record)}function w(x){return!!t.getRecordMatcher(x)}function M(x,Y){if(Y=ue({},Y||a.value),typeof x=="string"){const g=Fr(n,x,Y.path),C=t.resolve({path:g.path},Y),U=r.createHref(g.fullPath);return ue(g,C,{params:m(C.params),hash:gs(g.hash),redirectedFrom:void 0,href:U})}let j;if(x.path!=null)j=ue({},x,{path:Fr(n,x.path,Y.path).path});else{const g=ue({},x.params);for(const C in g)g[C]==null&&delete g[C];j=ue({},x,{params:f(g)}),Y.params=f(Y.params)}const X=t.resolve(j,Y),re=x.hash||"";X.params=u(m(X.params));const p=Ah(s,ue({},x,{hash:Eh(re),path:X.path})),E=r.createHref(p);return ue({fullPath:p,hash:re,query:s===Ki?Vh(x.query):x.query||{}},X,{redirectedFrom:void 0,href:E})}function R(x){return typeof x=="string"?Fr(n,x,a.value.path):ue({},x)}function v(x,Y){if(c!==x)return Mn(Ae.NAVIGATION_CANCELLED,{from:Y,to:x})}function b(x){return L(x)}function I(x){return b(ue(R(x),{replace:!0}))}function O(x,Y){const j=x.matched[x.matched.length-1];if(j&&j.redirect){const{redirect:X}=j;let re=typeof X=="function"?X(x,Y):X;return typeof re=="string"&&(re=re.includes("?")||re.includes("#")?re=R(re):{path:re},re.params={}),ue({query:x.query,hash:x.hash,params:re.path!=null?{}:x.params},re)}}function L(x,Y){const j=c=M(x),X=a.value,re=x.state,p=x.force,E=x.replace===!0,g=O(j,X);if(g)return L(ue(R(g),{state:typeof g=="object"?ue({},re,g.state):re,force:p,replace:E}),Y||j);const C=j;C.redirectedFrom=Y;let U;return!p&&Nh(s,X,j)&&(U=Mn(Ae.NAVIGATION_DUPLICATED,{to:C,from:X}),Te(X,X,!0,!1)),(U?Promise.resolve(U):K(C,X)).catch(k=>Rt(k)?Rt(k,Ae.NAVIGATION_GUARD_REDIRECT)?k:Qe(k):le(k,C,X)).then(k=>{if(k){if(Rt(k,Ae.NAVIGATION_GUARD_REDIRECT))return L(ue({replace:E},R(k.to),{state:typeof k.to=="object"?ue({},re,k.to.state):re,force:p}),Y||C)}else k=V(C,X,!0,E,re);return Q(C,X,k),k})}function F(x,Y){const j=v(x,Y);return j?Promise.reject(j):Promise.resolve()}function T(x){const Y=ze.values().next().value;return Y&&typeof Y.runWithContext=="function"?Y.runWithContext(x):x()}function K(x,Y){let j;const[X,re,p]=Wh(x,Y);j=Ur(X.reverse(),"beforeRouteLeave",x,Y);for(const g of X)g.leaveGuards.forEach(C=>{j.push(qt(C,x,Y))});const E=F.bind(null,x,Y);return j.push(E),De(j).then(()=>{j=[];for(const g of o.list())j.push(qt(g,x,Y));return j.push(E),De(j)}).then(()=>{j=Ur(re,"beforeRouteUpdate",x,Y);for(const g of re)g.updateGuards.forEach(C=>{j.push(qt(C,x,Y))});return j.push(E),De(j)}).then(()=>{j=[];for(const g of p)if(g.beforeEnter)if(Et(g.beforeEnter))for(const C of g.beforeEnter)j.push(qt(C,x,Y));else j.push(qt(g.beforeEnter,x,Y));return j.push(E),De(j)}).then(()=>(x.matched.forEach(g=>g.enterCallbacks={}),j=Ur(p,"beforeRouteEnter",x,Y,T),j.push(E),De(j))).then(()=>{j=[];for(const g of i.list())j.push(qt(g,x,Y));return j.push(E),De(j)}).catch(g=>Rt(g,Ae.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function Q(x,Y,j){l.list().forEach(X=>T(()=>X(x,Y,j)))}function V(x,Y,j,X,re){const p=v(x,Y);if(p)return p;const E=Y===jt,g=Nn?history.state:{};j&&(X||E?r.replace(x.fullPath,ue({scroll:E&&g&&g.scroll},re)):r.push(x.fullPath,re)),a.value=x,Te(x,Y,j,E),Qe()}let J;function he(){J||(J=r.listen((x,Y,j)=>{if(!et.listening)return;const X=M(x),re=O(X,et.currentRoute.value);if(re){L(ue(re,{replace:!0,force:!0}),X).catch(os);return}c=X;const p=a.value;Nn&&kh(Gi(p.fullPath,j.delta),pr()),K(X,p).catch(E=>Rt(E,Ae.NAVIGATION_ABORTED|Ae.NAVIGATION_CANCELLED)?E:Rt(E,Ae.NAVIGATION_GUARD_REDIRECT)?(L(ue(R(E.to),{force:!0}),X).then(g=>{Rt(g,Ae.NAVIGATION_ABORTED|Ae.NAVIGATION_DUPLICATED)&&!j.delta&&j.type===lo.pop&&r.go(-1,!1)}).catch(os),Promise.reject()):(j.delta&&r.go(-j.delta,!1),le(E,X,p))).then(E=>{E=E||V(X,p,!1),E&&(j.delta&&!Rt(E,Ae.NAVIGATION_CANCELLED)?r.go(-j.delta,!1):j.type===lo.pop&&Rt(E,Ae.NAVIGATION_ABORTED|Ae.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),Q(X,p,E)}).catch(os)}))}let Ce=Gn(),oe=Gn(),ee;function le(x,Y,j){Qe(x);const X=oe.list();return X.length?X.forEach(re=>re(x,Y,j)):console.error(x),Promise.reject(x)}function Be(){return ee&&a.value!==jt?Promise.resolve():new Promise((x,Y)=>{Ce.add([x,Y])})}function Qe(x){return ee||(ee=!x,he(),Ce.list().forEach(([Y,j])=>x?j(x):Y()),Ce.reset()),x}function Te(x,Y,j,X){const{scrollBehavior:re}=e;if(!Nn||!re)return Promise.resolve();const p=!j&&Dh(Gi(x.fullPath,0))||(X||!j)&&history.state&&history.state.scroll||null;return ar().then(()=>re(x,Y,p)).then(E=>E&&wh(E)).catch(E=>le(E,x,Y))}const Se=x=>r.go(x);let ot;const ze=new Set,et={currentRoute:a,listening:!0,addRoute:_,removeRoute:N,clearRoutes:t.clearRoutes,hasRoute:w,getRoutes:y,resolve:M,options:e,push:b,replace:I,go:Se,back:()=>Se(-1),forward:()=>Se(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:oe.add,isReady:Be,install(x){x.component("RouterLink",am),x.component("RouterView",dm),x.config.globalProperties.$router=et,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>Ie(a)}),Nn&&!ot&&a.value===jt&&(ot=!0,b(r.location).catch(X=>{}));const Y={};for(const X in jt)Object.defineProperty(Y,X,{get:()=>a.value[X],enumerable:!0});x.provide(gr,et),x.provide(gc,ca(Y)),x.provide(co,a);const j=x.unmount;ze.add(x),x.unmount=function(){ze.delete(x),ze.size<1&&(c=jt,J&&J(),J=null,a.value=jt,ot=!1,ee=!1),j()}}};function De(x){return x.reduce((Y,j)=>Y.then(()=>T(j)),Promise.resolve())}return et}function jg(){return ut(gr)}class bc 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)}),o=r.status===204?void 0:await r.json().catch(()=>{});if(!r.ok)throw new bc((o==null?void 0:o.error)??"request-failed",r.status);return o}const Vr={get:e=>Kn("GET",e),post:(e,t)=>Kn("POST",e,t),patch:(e,t)=>Kn("PATCH",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)},mm=ic("auth",()=>{const e=ct(null),t=ct("");async function n(o){t.value="";try{return e.value=await Vr.post("/api/login",{token:o}),!0}catch(i){return t.value=i instanceof bc?i.code:"request-failed",e.value=null,!1}}async function s(){try{return e.value=await Vr.get("/api/me"),!0}catch{return e.value=null,!1}}async function r(){await Vr.post("/api/logout").catch(()=>{}),e.value=null}return{account:e,error:t,login:n,fetchMe:s,logout:r}}),pm=[{path:"/login",name:"login",component:()=>Dr(()=>import("./LoginView-DNZBIoE-.js"),__vite__mapDeps([0,1]))},{path:"/",name:"dashboard",component:()=>Dr(()=>import("./DashboardView-DRJKYEs5.js"),__vite__mapDeps([2,1,3,4]))},{path:"/settings",name:"settings",component:()=>Dr(()=>import("./SettingsView-BUnfSfl7.js"),__vite__mapDeps([5,3]))}],yc=hm({history:Gh(),routes:pm});yc.beforeEach(async e=>{if(e.name==="login")return!0;const t=mm();return t.account||await t.fetchMe()?!0:{name:"login"}});/*!
|
|
81
|
+
* shared v9.14.5
|
|
82
|
+
* (c) 2025 kazuya kawaguchi
|
|
83
|
+
* Released under the MIT License.
|
|
84
|
+
*/function gm(e,t){typeof console<"u"&&(console.warn("[intlify] "+e),t&&console.warn(t.stack))}const qs=typeof window<"u",nn=(e,t=!1)=>t?Symbol.for(e):Symbol(e),_m=(e,t,n)=>Em({l:e,k:t,s:n}),Em=e=>JSON.stringify(e).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Le=e=>typeof e=="number"&&isFinite(e),vm=e=>Sc(e)==="[object Date]",en=e=>Sc(e)==="[object RegExp]",_r=e=>te(e)&&Object.keys(e).length===0,Ue=Object.assign,bm=Object.create,me=(e=null)=>bm(e);let rl;const xt=()=>rl||(rl=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:me());function ol(e){return e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'").replace(/\//g,"/").replace(/=/g,"=")}function il(e){return e.replace(/&(?![a-zA-Z0-9#]{2,6};)/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(/</g,"<").replace(/>/g,">")}function ym(e){return e=e.replace(/(\w+)\s*=\s*"([^"]*)"/g,(s,r,o)=>`${r}="${il(o)}"`),e=e.replace(/(\w+)\s*=\s*'([^']*)'/g,(s,r,o)=>`${r}='${il(o)}'`),/\s*on\w+\s*=\s*["']?[^"'>]+["']?/gi.test(e)&&(e=e.replace(/(\s+)(on)(\w+\s*=)/gi,"$1on$3")),[/(\s+(?:href|src|action|formaction)\s*=\s*["']?)\s*javascript:/gi,/(style\s*=\s*["'][^"']*url\s*\(\s*)javascript:/gi].forEach(s=>{e=e.replace(s,"$1javascript:")}),e}const Tm=Object.prototype.hasOwnProperty;function mt(e,t){return Tm.call(e,t)}const ve=Array.isArray,Ee=e=>typeof e=="function",G=e=>typeof e=="string",ie=e=>typeof e=="boolean",ce=e=>e!==null&&typeof e=="object",Sm=e=>ce(e)&&Ee(e.then)&&Ee(e.catch),Tc=Object.prototype.toString,Sc=e=>Tc.call(e),te=e=>{if(!ce(e))return!1;const t=Object.getPrototypeOf(e);return t===null||t.constructor===Object},Am=e=>e==null?"":ve(e)||te(e)&&e.toString===Tc?JSON.stringify(e,null,2):String(e);function Nm(e,t=""){return e.reduce((n,s,r)=>r===0?n+s:n+t+s,"")}function Er(e){let t=e;return()=>++t}const Rs=e=>!ce(e)||ve(e);function Fs(e,t){if(Rs(e)||Rs(t))throw new Error("Invalid value");const n=[{src:e,des:t}];for(;n.length;){const{src:s,des:r}=n.pop();Object.keys(s).forEach(o=>{o!=="__proto__"&&(ce(s[o])&&!ce(r[o])&&(r[o]=Array.isArray(s[o])?[]:me()),Rs(r[o])||Rs(s[o])?r[o]=s[o]:n.push({src:s[o],des:r[o]}))})}}/*!
|
|
85
|
+
* message-compiler v9.14.5
|
|
86
|
+
* (c) 2025 kazuya kawaguchi
|
|
87
|
+
* Released under the MIT License.
|
|
88
|
+
*/function Cm(e,t,n){return{line:e,column:t,offset:n}}function Js(e,t,n){return{start:e,end:t}}const Lm=/\{([0-9a-zA-Z]+)\}/g;function Ac(e,...t){return t.length===1&&Im(t[0])&&(t=t[0]),(!t||!t.hasOwnProperty)&&(t={}),e.replace(Lm,(n,s)=>t.hasOwnProperty(s)?t[s]:"")}const Nc=Object.assign,ll=e=>typeof e=="string",Im=e=>e!==null&&typeof e=="object";function Cc(e,t=""){return e.reduce((n,s,r)=>r===0?n+s:n+t+s,"")}const Ho={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},Om={[Ho.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function Rm(e,t,...n){const s=Ac(Om[e],...n||[]),r={message:String(s),code:e};return t&&(r.location=t),r}const z={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},Pm={[z.EXPECTED_TOKEN]:"Expected token: '{0}'",[z.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[z.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[z.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[z.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[z.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[z.EMPTY_PLACEHOLDER]:"Empty placeholder",[z.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[z.INVALID_LINKED_FORMAT]:"Invalid linked format",[z.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[z.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[z.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[z.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[z.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[z.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Un(e,t,n={}){const{domain:s,messages:r,args:o}=n,i=Ac((r||Pm)[e]||"",...o||[]),l=new SyntaxError(String(i));return l.code=e,t&&(l.location=t),l.domain=s,l}function wm(e){throw e}const Pt=" ",km="\r",Ye=`
|
|
89
|
+
`,Dm="\u2028",Mm="\u2029";function Fm(e){const t=e;let n=0,s=1,r=1,o=0;const i=L=>t[L]===km&&t[L+1]===Ye,l=L=>t[L]===Ye,a=L=>t[L]===Mm,c=L=>t[L]===Dm,u=L=>i(L)||l(L)||a(L)||c(L),f=()=>n,m=()=>s,_=()=>r,N=()=>o,y=L=>i(L)||a(L)||c(L)?Ye:t[L],w=()=>y(n),M=()=>y(n+o);function R(){return o=0,u(n)&&(s++,r=0),i(n)&&n++,n++,r++,t[n]}function v(){return i(n+o)&&o++,o++,t[n+o]}function b(){n=0,s=1,r=1,o=0}function I(L=0){o=L}function O(){const L=n+o;for(;L!==n;)R();o=0}return{index:f,line:m,column:_,peekOffset:N,charAt:y,currentChar:w,currentPeek:M,next:R,peek:v,reset:b,resetPeek:I,skipToPeek:O}}const Gt=void 0,xm=".",al="'",Um="tokenizer";function Vm(e,t={}){const n=t.location!==!1,s=Fm(e),r=()=>s.index(),o=()=>Cm(s.line(),s.column(),s.index()),i=o(),l=r(),a={currentType:14,offset:l,startLoc:i,endLoc:i,lastType:14,lastOffset:l,lastStartLoc:i,lastEndLoc:i,braceNest:0,inLinked:!1,text:""},c=()=>a,{onError:u}=t;function f(d,h,A,...P){const B=c();if(h.column+=A,h.offset+=A,u){const H=n?Js(B.startLoc,h):null,S=Un(d,H,{domain:Um,args:P});u(S)}}function m(d,h,A){d.endLoc=o(),d.currentType=h;const P={type:h};return n&&(P.loc=Js(d.startLoc,d.endLoc)),A!=null&&(P.value=A),P}const _=d=>m(d,14);function N(d,h){return d.currentChar()===h?(d.next(),h):(f(z.EXPECTED_TOKEN,o(),0,h),"")}function y(d){let h="";for(;d.currentPeek()===Pt||d.currentPeek()===Ye;)h+=d.currentPeek(),d.peek();return h}function w(d){const h=y(d);return d.skipToPeek(),h}function M(d){if(d===Gt)return!1;const h=d.charCodeAt(0);return h>=97&&h<=122||h>=65&&h<=90||h===95}function R(d){if(d===Gt)return!1;const h=d.charCodeAt(0);return h>=48&&h<=57}function v(d,h){const{currentType:A}=h;if(A!==2)return!1;y(d);const P=M(d.currentPeek());return d.resetPeek(),P}function b(d,h){const{currentType:A}=h;if(A!==2)return!1;y(d);const P=d.currentPeek()==="-"?d.peek():d.currentPeek(),B=R(P);return d.resetPeek(),B}function I(d,h){const{currentType:A}=h;if(A!==2)return!1;y(d);const P=d.currentPeek()===al;return d.resetPeek(),P}function O(d,h){const{currentType:A}=h;if(A!==8)return!1;y(d);const P=d.currentPeek()===".";return d.resetPeek(),P}function L(d,h){const{currentType:A}=h;if(A!==9)return!1;y(d);const P=M(d.currentPeek());return d.resetPeek(),P}function F(d,h){const{currentType:A}=h;if(!(A===8||A===12))return!1;y(d);const P=d.currentPeek()===":";return d.resetPeek(),P}function T(d,h){const{currentType:A}=h;if(A!==10)return!1;const P=()=>{const H=d.currentPeek();return H==="{"?M(d.peek()):H==="@"||H==="%"||H==="|"||H===":"||H==="."||H===Pt||!H?!1:H===Ye?(d.peek(),P()):V(d,!1)},B=P();return d.resetPeek(),B}function K(d){y(d);const h=d.currentPeek()==="|";return d.resetPeek(),h}function Q(d){const h=y(d),A=d.currentPeek()==="%"&&d.peek()==="{";return d.resetPeek(),{isModulo:A,hasSpace:h.length>0}}function V(d,h=!0){const A=(B=!1,H="",S=!1)=>{const D=d.currentPeek();return D==="{"?H==="%"?!1:B:D==="@"||!D?H==="%"?!0:B:D==="%"?(d.peek(),A(B,"%",!0)):D==="|"?H==="%"||S?!0:!(H===Pt||H===Ye):D===Pt?(d.peek(),A(!0,Pt,S)):D===Ye?(d.peek(),A(!0,Ye,S)):!0},P=A();return h&&d.resetPeek(),P}function J(d,h){const A=d.currentChar();return A===Gt?Gt:h(A)?(d.next(),A):null}function he(d){const h=d.charCodeAt(0);return h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===95||h===36}function Ce(d){return J(d,he)}function oe(d){const h=d.charCodeAt(0);return h>=97&&h<=122||h>=65&&h<=90||h>=48&&h<=57||h===95||h===36||h===45}function ee(d){return J(d,oe)}function le(d){const h=d.charCodeAt(0);return h>=48&&h<=57}function Be(d){return J(d,le)}function Qe(d){const h=d.charCodeAt(0);return h>=48&&h<=57||h>=65&&h<=70||h>=97&&h<=102}function Te(d){return J(d,Qe)}function Se(d){let h="",A="";for(;h=Be(d);)A+=h;return A}function ot(d){w(d);const h=d.currentChar();return h!=="%"&&f(z.EXPECTED_TOKEN,o(),0,h),d.next(),"%"}function ze(d){let h="";for(;;){const A=d.currentChar();if(A==="{"||A==="}"||A==="@"||A==="|"||!A)break;if(A==="%")if(V(d))h+=A,d.next();else break;else if(A===Pt||A===Ye)if(V(d))h+=A,d.next();else{if(K(d))break;h+=A,d.next()}else h+=A,d.next()}return h}function et(d){w(d);let h="",A="";for(;h=ee(d);)A+=h;return d.currentChar()===Gt&&f(z.UNTERMINATED_CLOSING_BRACE,o(),0),A}function De(d){w(d);let h="";return d.currentChar()==="-"?(d.next(),h+=`-${Se(d)}`):h+=Se(d),d.currentChar()===Gt&&f(z.UNTERMINATED_CLOSING_BRACE,o(),0),h}function x(d){return d!==al&&d!==Ye}function Y(d){w(d),N(d,"'");let h="",A="";for(;h=J(d,x);)h==="\\"?A+=j(d):A+=h;const P=d.currentChar();return P===Ye||P===Gt?(f(z.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,o(),0),P===Ye&&(d.next(),N(d,"'")),A):(N(d,"'"),A)}function j(d){const h=d.currentChar();switch(h){case"\\":case"'":return d.next(),`\\${h}`;case"u":return X(d,h,4);case"U":return X(d,h,6);default:return f(z.UNKNOWN_ESCAPE_SEQUENCE,o(),0,h),""}}function X(d,h,A){N(d,h);let P="";for(let B=0;B<A;B++){const H=Te(d);if(!H){f(z.INVALID_UNICODE_ESCAPE_SEQUENCE,o(),0,`\\${h}${P}${d.currentChar()}`);break}P+=H}return`\\${h}${P}`}function re(d){return d!=="{"&&d!=="}"&&d!==Pt&&d!==Ye}function p(d){w(d);let h="",A="";for(;h=J(d,re);)A+=h;return A}function E(d){let h="",A="";for(;h=Ce(d);)A+=h;return A}function g(d){const h=A=>{const P=d.currentChar();return P==="{"||P==="%"||P==="@"||P==="|"||P==="("||P===")"||!P||P===Pt?A:(A+=P,d.next(),h(A))};return h("")}function C(d){w(d);const h=N(d,"|");return w(d),h}function U(d,h){let A=null;switch(d.currentChar()){case"{":return h.braceNest>=1&&f(z.NOT_ALLOW_NEST_PLACEHOLDER,o(),0),d.next(),A=m(h,2,"{"),w(d),h.braceNest++,A;case"}":return h.braceNest>0&&h.currentType===2&&f(z.EMPTY_PLACEHOLDER,o(),0),d.next(),A=m(h,3,"}"),h.braceNest--,h.braceNest>0&&w(d),h.inLinked&&h.braceNest===0&&(h.inLinked=!1),A;case"@":return h.braceNest>0&&f(z.UNTERMINATED_CLOSING_BRACE,o(),0),A=k(d,h)||_(h),h.braceNest=0,A;default:{let B=!0,H=!0,S=!0;if(K(d))return h.braceNest>0&&f(z.UNTERMINATED_CLOSING_BRACE,o(),0),A=m(h,1,C(d)),h.braceNest=0,h.inLinked=!1,A;if(h.braceNest>0&&(h.currentType===5||h.currentType===6||h.currentType===7))return f(z.UNTERMINATED_CLOSING_BRACE,o(),0),h.braceNest=0,$(d,h);if(B=v(d,h))return A=m(h,5,et(d)),w(d),A;if(H=b(d,h))return A=m(h,6,De(d)),w(d),A;if(S=I(d,h))return A=m(h,7,Y(d)),w(d),A;if(!B&&!H&&!S)return A=m(h,13,p(d)),f(z.INVALID_TOKEN_IN_PLACEHOLDER,o(),0,A.value),w(d),A;break}}return A}function k(d,h){const{currentType:A}=h;let P=null;const B=d.currentChar();switch((A===8||A===9||A===12||A===10)&&(B===Ye||B===Pt)&&f(z.INVALID_LINKED_FORMAT,o(),0),B){case"@":return d.next(),P=m(h,8,"@"),h.inLinked=!0,P;case".":return w(d),d.next(),m(h,9,".");case":":return w(d),d.next(),m(h,10,":");default:return K(d)?(P=m(h,1,C(d)),h.braceNest=0,h.inLinked=!1,P):O(d,h)||F(d,h)?(w(d),k(d,h)):L(d,h)?(w(d),m(h,12,E(d))):T(d,h)?(w(d),B==="{"?U(d,h)||P:m(h,11,g(d))):(A===8&&f(z.INVALID_LINKED_FORMAT,o(),0),h.braceNest=0,h.inLinked=!1,$(d,h))}}function $(d,h){let A={type:14};if(h.braceNest>0)return U(d,h)||_(h);if(h.inLinked)return k(d,h)||_(h);switch(d.currentChar()){case"{":return U(d,h)||_(h);case"}":return f(z.UNBALANCED_CLOSING_BRACE,o(),0),d.next(),m(h,3,"}");case"@":return k(d,h)||_(h);default:{if(K(d))return A=m(h,1,C(d)),h.braceNest=0,h.inLinked=!1,A;const{isModulo:B,hasSpace:H}=Q(d);if(B)return H?m(h,0,ze(d)):m(h,4,ot(d));if(V(d))return m(h,0,ze(d));break}}return A}function W(){const{currentType:d,offset:h,startLoc:A,endLoc:P}=a;return a.lastType=d,a.lastOffset=h,a.lastStartLoc=A,a.lastEndLoc=P,a.offset=r(),a.startLoc=o(),s.currentChar()===Gt?m(a,14):$(s,a)}return{nextToken:W,currentOffset:r,currentPosition:o,context:c}}const Hm="parser",Wm=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function $m(e,t,n){switch(e){case"\\\\":return"\\";case"\\'":return"'";default:{const s=parseInt(t||n,16);return s<=55295||s>=57344?String.fromCodePoint(s):"�"}}}function Bm(e={}){const t=e.location!==!1,{onError:n,onWarn:s}=e;function r(v,b,I,O,...L){const F=v.currentPosition();if(F.offset+=O,F.column+=O,n){const T=t?Js(I,F):null,K=Un(b,T,{domain:Hm,args:L});n(K)}}function o(v,b,I,O,...L){const F=v.currentPosition();if(F.offset+=O,F.column+=O,s){const T=t?Js(I,F):null;s(Rm(b,T,L))}}function i(v,b,I){const O={type:v};return t&&(O.start=b,O.end=b,O.loc={start:I,end:I}),O}function l(v,b,I,O){t&&(v.end=b,v.loc&&(v.loc.end=I))}function a(v,b){const I=v.context(),O=i(3,I.offset,I.startLoc);return O.value=b,l(O,v.currentOffset(),v.currentPosition()),O}function c(v,b){const I=v.context(),{lastOffset:O,lastStartLoc:L}=I,F=i(5,O,L);return F.index=parseInt(b,10),v.nextToken(),l(F,v.currentOffset(),v.currentPosition()),F}function u(v,b,I){const O=v.context(),{lastOffset:L,lastStartLoc:F}=O,T=i(4,L,F);return T.key=b,I===!0&&(T.modulo=!0),v.nextToken(),l(T,v.currentOffset(),v.currentPosition()),T}function f(v,b){const I=v.context(),{lastOffset:O,lastStartLoc:L}=I,F=i(9,O,L);return F.value=b.replace(Wm,$m),v.nextToken(),l(F,v.currentOffset(),v.currentPosition()),F}function m(v){const b=v.nextToken(),I=v.context(),{lastOffset:O,lastStartLoc:L}=I,F=i(8,O,L);return b.type!==12?(r(v,z.UNEXPECTED_EMPTY_LINKED_MODIFIER,I.lastStartLoc,0),F.value="",l(F,O,L),{nextConsumeToken:b,node:F}):(b.value==null&&r(v,z.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,dt(b)),F.value=b.value||"",l(F,v.currentOffset(),v.currentPosition()),{node:F})}function _(v,b){const I=v.context(),O=i(7,I.offset,I.startLoc);return O.value=b,l(O,v.currentOffset(),v.currentPosition()),O}function N(v){const b=v.context(),I=i(6,b.offset,b.startLoc);let O=v.nextToken();if(O.type===9){const L=m(v);I.modifier=L.node,O=L.nextConsumeToken||v.nextToken()}switch(O.type!==10&&r(v,z.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,dt(O)),O=v.nextToken(),O.type===2&&(O=v.nextToken()),O.type){case 11:O.value==null&&r(v,z.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,dt(O)),I.key=_(v,O.value||"");break;case 5:O.value==null&&r(v,z.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,dt(O)),I.key=u(v,O.value||"");break;case 6:O.value==null&&r(v,z.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,dt(O)),I.key=c(v,O.value||"");break;case 7:O.value==null&&r(v,z.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,dt(O)),I.key=f(v,O.value||"");break;default:{r(v,z.UNEXPECTED_EMPTY_LINKED_KEY,b.lastStartLoc,0);const L=v.context(),F=i(7,L.offset,L.startLoc);return F.value="",l(F,L.offset,L.startLoc),I.key=F,l(I,L.offset,L.startLoc),{nextConsumeToken:O,node:I}}}return l(I,v.currentOffset(),v.currentPosition()),{node:I}}function y(v){const b=v.context(),I=b.currentType===1?v.currentOffset():b.offset,O=b.currentType===1?b.endLoc:b.startLoc,L=i(2,I,O);L.items=[];let F=null,T=null;do{const V=F||v.nextToken();switch(F=null,V.type){case 0:V.value==null&&r(v,z.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,dt(V)),L.items.push(a(v,V.value||""));break;case 6:V.value==null&&r(v,z.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,dt(V)),L.items.push(c(v,V.value||""));break;case 4:T=!0;break;case 5:V.value==null&&r(v,z.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,dt(V)),L.items.push(u(v,V.value||"",!!T)),T&&(o(v,Ho.USE_MODULO_SYNTAX,b.lastStartLoc,0,dt(V)),T=null);break;case 7:V.value==null&&r(v,z.UNEXPECTED_LEXICAL_ANALYSIS,b.lastStartLoc,0,dt(V)),L.items.push(f(v,V.value||""));break;case 8:{const J=N(v);L.items.push(J.node),F=J.nextConsumeToken||null;break}}}while(b.currentType!==14&&b.currentType!==1);const K=b.currentType===1?b.lastOffset:v.currentOffset(),Q=b.currentType===1?b.lastEndLoc:v.currentPosition();return l(L,K,Q),L}function w(v,b,I,O){const L=v.context();let F=O.items.length===0;const T=i(1,b,I);T.cases=[],T.cases.push(O);do{const K=y(v);F||(F=K.items.length===0),T.cases.push(K)}while(L.currentType!==14);return F&&r(v,z.MUST_HAVE_MESSAGES_IN_PLURAL,I,0),l(T,v.currentOffset(),v.currentPosition()),T}function M(v){const b=v.context(),{offset:I,startLoc:O}=b,L=y(v);return b.currentType===14?L:w(v,I,O,L)}function R(v){const b=Vm(v,Nc({},e)),I=b.context(),O=i(0,I.offset,I.startLoc);return t&&O.loc&&(O.loc.source=v),O.body=M(b),e.onCacheKey&&(O.cacheKey=e.onCacheKey(v)),I.currentType!==14&&r(b,z.UNEXPECTED_LEXICAL_ANALYSIS,I.lastStartLoc,0,v[I.offset]||""),l(O,b.currentOffset(),b.currentPosition()),O}return{parse:R}}function dt(e){if(e.type===14)return"EOF";const t=(e.value||"").replace(/\r?\n/gu,"\\n");return t.length>10?t.slice(0,9)+"…":t}function jm(e,t={}){const n={ast:e,helpers:new Set};return{context:()=>n,helper:o=>(n.helpers.add(o),o)}}function cl(e,t){for(let n=0;n<e.length;n++)Wo(e[n],t)}function Wo(e,t){switch(e.type){case 1:cl(e.cases,t),t.helper("plural");break;case 2:cl(e.items,t);break;case 6:{Wo(e.key,t),t.helper("linked"),t.helper("type");break}case 5:t.helper("interpolate"),t.helper("list");break;case 4:t.helper("interpolate"),t.helper("named");break}}function Gm(e,t={}){const n=jm(e);n.helper("normalize"),e.body&&Wo(e.body,n);const s=n.context();e.helpers=Array.from(s.helpers)}function Km(e){const t=e.body;return t.type===2?ul(t):t.cases.forEach(n=>ul(n)),e}function ul(e){if(e.items.length===1){const t=e.items[0];(t.type===3||t.type===9)&&(e.static=t.value,delete t.value)}else{const t=[];for(let n=0;n<e.items.length;n++){const s=e.items[n];if(!(s.type===3||s.type===9)||s.value==null)break;t.push(s.value)}if(t.length===e.items.length){e.static=Cc(t);for(let n=0;n<e.items.length;n++){const s=e.items[n];(s.type===3||s.type===9)&&delete s.value}}}}const Ym="minifier";function Cn(e){switch(e.t=e.type,e.type){case 0:{const t=e;Cn(t.body),t.b=t.body,delete t.body;break}case 1:{const t=e,n=t.cases;for(let s=0;s<n.length;s++)Cn(n[s]);t.c=n,delete t.cases;break}case 2:{const t=e,n=t.items;for(let s=0;s<n.length;s++)Cn(n[s]);t.i=n,delete t.items,t.static&&(t.s=t.static,delete t.static);break}case 3:case 9:case 8:case 7:{const t=e;t.value&&(t.v=t.value,delete t.value);break}case 6:{const t=e;Cn(t.key),t.k=t.key,delete t.key,t.modifier&&(Cn(t.modifier),t.m=t.modifier,delete t.modifier);break}case 5:{const t=e;t.i=t.index,delete t.index;break}case 4:{const t=e;t.k=t.key,delete t.key;break}default:throw Un(z.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:Ym,args:[e.type]})}delete e.type}const Xm="parser";function qm(e,t){const{filename:n,breakLineCode:s,needIndent:r}=t,o=t.location!==!1,i={filename:n,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:s,needIndent:r,indentLevel:0};o&&e.loc&&(i.source=e.loc.source);const l=()=>i;function a(y,w){i.code+=y}function c(y,w=!0){const M=w?s:"";a(r?M+" ".repeat(y):M)}function u(y=!0){const w=++i.indentLevel;y&&c(w)}function f(y=!0){const w=--i.indentLevel;y&&c(w)}function m(){c(i.indentLevel)}return{context:l,push:a,indent:u,deindent:f,newline:m,helper:y=>`_${y}`,needIndent:()=>i.needIndent}}function Jm(e,t){const{helper:n}=e;e.push(`${n("linked")}(`),Fn(e,t.key),t.modifier?(e.push(", "),Fn(e,t.modifier),e.push(", _type")):e.push(", undefined, _type"),e.push(")")}function Qm(e,t){const{helper:n,needIndent:s}=e;e.push(`${n("normalize")}([`),e.indent(s());const r=t.items.length;for(let o=0;o<r&&(Fn(e,t.items[o]),o!==r-1);o++)e.push(", ");e.deindent(s()),e.push("])")}function Zm(e,t){const{helper:n,needIndent:s}=e;if(t.cases.length>1){e.push(`${n("plural")}([`),e.indent(s());const r=t.cases.length;for(let o=0;o<r&&(Fn(e,t.cases[o]),o!==r-1);o++)e.push(", ");e.deindent(s()),e.push("])")}}function zm(e,t){t.body?Fn(e,t.body):e.push("null")}function Fn(e,t){const{helper:n}=e;switch(t.type){case 0:zm(e,t);break;case 1:Zm(e,t);break;case 2:Qm(e,t);break;case 6:Jm(e,t);break;case 8:e.push(JSON.stringify(t.value),t);break;case 7:e.push(JSON.stringify(t.value),t);break;case 5:e.push(`${n("interpolate")}(${n("list")}(${t.index}))`,t);break;case 4:e.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(t.key)}))`,t);break;case 9:e.push(JSON.stringify(t.value),t);break;case 3:e.push(JSON.stringify(t.value),t);break;default:throw Un(z.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:Xm,args:[t.type]})}}const ep=(e,t={})=>{const n=ll(t.mode)?t.mode:"normal",s=ll(t.filename)?t.filename:"message.intl";t.sourceMap;const r=t.breakLineCode!=null?t.breakLineCode:n==="arrow"?";":`
|
|
90
|
+
`,o=t.needIndent?t.needIndent:n!=="arrow",i=e.helpers||[],l=qm(e,{filename:s,breakLineCode:r,needIndent:o});l.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),l.indent(o),i.length>0&&(l.push(`const { ${Cc(i.map(u=>`${u}: _${u}`),", ")} } = ctx`),l.newline()),l.push("return "),Fn(l,e),l.deindent(o),l.push("}"),delete e.helpers;const{code:a,map:c}=l.context();return{ast:e,code:a,map:c?c.toJSON():void 0}};function tp(e,t={}){const n=Nc({},t),s=!!n.jit,r=!!n.minify,o=n.optimize==null?!0:n.optimize,l=Bm(n).parse(e);return s?(o&&Km(l),r&&Cn(l),{ast:l,code:""}):(Gm(l,n),ep(l,n))}/*!
|
|
91
|
+
* core-base v9.14.5
|
|
92
|
+
* (c) 2025 kazuya kawaguchi
|
|
93
|
+
* Released under the MIT License.
|
|
94
|
+
*/function np(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(xt().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(xt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(xt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}function Lt(e){return ce(e)&&$o(e)===0&&(mt(e,"b")||mt(e,"body"))}const Lc=["b","body"];function sp(e){return sn(e,Lc)}const Ic=["c","cases"];function rp(e){return sn(e,Ic,[])}const Oc=["s","static"];function op(e){return sn(e,Oc)}const Rc=["i","items"];function ip(e){return sn(e,Rc,[])}const Pc=["t","type"];function $o(e){return sn(e,Pc)}const wc=["v","value"];function Ps(e,t){const n=sn(e,wc);if(n!=null)return n;throw _s(t)}const kc=["m","modifier"];function lp(e){return sn(e,kc)}const Dc=["k","key"];function ap(e){const t=sn(e,Dc);if(t)return t;throw _s(6)}function sn(e,t,n){for(let s=0;s<t.length;s++){const r=t[s];if(mt(e,r)&&e[r]!=null)return e[r]}return n}const Mc=[...Lc,...Ic,...Oc,...Rc,...Dc,...kc,...wc,...Pc];function _s(e){return new Error(`unhandled node type: ${e}`)}const rn=[];rn[0]={w:[0],i:[3,0],"[":[4],o:[7]};rn[1]={w:[1],".":[2],"[":[4],o:[7]};rn[2]={w:[2],i:[3,0],0:[3,0]};rn[3]={i:[3,0],0:[3,0],w:[1,1],".":[2,1],"[":[4,1],o:[7,1]};rn[4]={"'":[5,0],'"':[6,0],"[":[4,2],"]":[1,3],o:8,l:[4,0]};rn[5]={"'":[4,0],o:8,l:[5,0]};rn[6]={'"':[4,0],o:8,l:[6,0]};const cp=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function up(e){return cp.test(e)}function fp(e){const t=e.charCodeAt(0),n=e.charCodeAt(e.length-1);return t===n&&(t===34||t===39)?e.slice(1,-1):e}function dp(e){if(e==null)return"o";switch(e.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return e;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function hp(e){const t=e.trim();return e.charAt(0)==="0"&&isNaN(parseInt(e))?!1:up(t)?fp(t):"*"+t}function mp(e){const t=[];let n=-1,s=0,r=0,o,i,l,a,c,u,f;const m=[];m[0]=()=>{i===void 0?i=l:i+=l},m[1]=()=>{i!==void 0&&(t.push(i),i=void 0)},m[2]=()=>{m[0](),r++},m[3]=()=>{if(r>0)r--,s=4,m[0]();else{if(r=0,i===void 0||(i=hp(i),i===!1))return!1;m[1]()}};function _(){const N=e[n+1];if(s===5&&N==="'"||s===6&&N==='"')return n++,l="\\"+N,m[0](),!0}for(;s!==null;)if(n++,o=e[n],!(o==="\\"&&_())){if(a=dp(o),f=rn[s],c=f[a]||f.l||8,c===8||(s=c[0],c[1]!==void 0&&(u=m[c[1]],u&&(l=o,u()===!1))))return;if(s===7)return t}}const fl=new Map;function pp(e,t){return ce(e)?e[t]:null}function gp(e,t){if(!ce(e))return null;let n=fl.get(t);if(n||(n=mp(t),n&&fl.set(t,n)),!n)return null;const s=n.length;let r=e,o=0;for(;o<s;){const i=n[o];if(Mc.includes(i)&&Lt(r))return null;const l=r[i];if(l===void 0||Ee(r))return null;r=l,o++}return r}const _p=e=>e,Ep=e=>"",vp="text",bp=e=>e.length===0?"":Nm(e),yp=Am;function dl(e,t){return e=Math.abs(e),t===2?e?e>1?1:0:1:e?Math.min(e,2):0}function Tp(e){const t=Le(e.pluralIndex)?e.pluralIndex:-1;return e.named&&(Le(e.named.count)||Le(e.named.n))?Le(e.named.count)?e.named.count:Le(e.named.n)?e.named.n:t:t}function Sp(e,t){t.count||(t.count=e),t.n||(t.n=e)}function Ap(e={}){const t=e.locale,n=Tp(e),s=ce(e.pluralRules)&&G(t)&&Ee(e.pluralRules[t])?e.pluralRules[t]:dl,r=ce(e.pluralRules)&&G(t)&&Ee(e.pluralRules[t])?dl:void 0,o=M=>M[s(n,M.length,r)],i=e.list||[],l=M=>i[M],a=e.named||me();Le(e.pluralIndex)&&Sp(n,a);const c=M=>a[M];function u(M){const R=Ee(e.messages)?e.messages(M):ce(e.messages)?e.messages[M]:!1;return R||(e.parent?e.parent.message(M):Ep)}const f=M=>e.modifiers?e.modifiers[M]:_p,m=te(e.processor)&&Ee(e.processor.normalize)?e.processor.normalize:bp,_=te(e.processor)&&Ee(e.processor.interpolate)?e.processor.interpolate:yp,N=te(e.processor)&&G(e.processor.type)?e.processor.type:vp,w={list:l,named:c,plural:o,linked:(M,...R)=>{const[v,b]=R;let I="text",O="";R.length===1?ce(v)?(O=v.modifier||O,I=v.type||I):G(v)&&(O=v||O):R.length===2&&(G(v)&&(O=v||O),G(b)&&(I=b||I));const L=u(M)(w),F=I==="vnode"&&ve(L)&&O?L[0]:L;return O?f(O)(F,I):F},message:u,type:N,interpolate:_,normalize:m,values:Ue(me(),i,a)};return w}let Es=null;function Np(e){Es=e}function Cp(e,t,n){Es&&Es.emit("i18n:init",{timestamp:Date.now(),i18n:e,version:t,meta:n})}const Lp=Ip("function:translate");function Ip(e){return t=>Es&&Es.emit(e,t)}const Op=Ho.__EXTEND_POINT__,fn=Er(Op),Rp={FALLBACK_TO_TRANSLATE:fn(),CANNOT_FORMAT_NUMBER:fn(),FALLBACK_TO_NUMBER_FORMAT:fn(),CANNOT_FORMAT_DATE:fn(),FALLBACK_TO_DATE_FORMAT:fn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:fn(),__EXTEND_POINT__:fn()},Fc=z.__EXTEND_POINT__,dn=Er(Fc),pt={INVALID_ARGUMENT:Fc,INVALID_DATE_ARGUMENT:dn(),INVALID_ISO_DATE_ARGUMENT:dn(),NOT_SUPPORT_NON_STRING_MESSAGE:dn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:dn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:dn(),NOT_SUPPORT_LOCALE_TYPE:dn(),__EXTEND_POINT__:dn()};function Nt(e){return Un(e,null,void 0)}function Bo(e,t){return t.locale!=null?hl(t.locale):hl(e.locale)}let Hr;function hl(e){if(G(e))return e;if(Ee(e)){if(e.resolvedOnce&&Hr!=null)return Hr;if(e.constructor.name==="Function"){const t=e();if(Sm(t))throw Nt(pt.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Hr=t}else throw Nt(pt.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw Nt(pt.NOT_SUPPORT_LOCALE_TYPE)}function Pp(e,t,n){return[...new Set([n,...ve(t)?t:ce(t)?Object.keys(t):G(t)?[t]:[n]])]}function xc(e,t,n){const s=G(n)?n:xn,r=e;r.__localeChainCache||(r.__localeChainCache=new Map);let o=r.__localeChainCache.get(s);if(!o){o=[];let i=[n];for(;ve(i);)i=ml(o,i,t);const l=ve(t)||!te(t)?t:t.default?t.default:null;i=G(l)?[l]:l,ve(i)&&ml(o,i,!1),r.__localeChainCache.set(s,o)}return o}function ml(e,t,n){let s=!0;for(let r=0;r<t.length&&ie(s);r++){const o=t[r];G(o)&&(s=wp(e,t[r],n))}return s}function wp(e,t,n){let s;const r=t.split("-");do{const o=r.join("-");s=kp(e,o,n),r.splice(-1,1)}while(r.length&&s===!0);return s}function kp(e,t,n){let s=!1;if(!e.includes(t)&&(s=!0,t)){s=t[t.length-1]!=="!";const r=t.replace(/!/g,"");e.push(r),(ve(n)||te(n))&&n[r]&&(s=n[r])}return s}const Dp="9.14.5",vr=-1,xn="en-US",pl="",gl=e=>`${e.charAt(0).toLocaleUpperCase()}${e.substr(1)}`;function Mp(){return{upper:(e,t)=>t==="text"&&G(e)?e.toUpperCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toUpperCase():e,lower:(e,t)=>t==="text"&&G(e)?e.toLowerCase():t==="vnode"&&ce(e)&&"__v_isVNode"in e?e.children.toLowerCase():e,capitalize:(e,t)=>t==="text"&&G(e)?gl(e):t==="vnode"&&ce(e)&&"__v_isVNode"in e?gl(e.children):e}}let Uc;function _l(e){Uc=e}let Vc;function Fp(e){Vc=e}let Hc;function xp(e){Hc=e}let Wc=null;const Up=e=>{Wc=e},Vp=()=>Wc;let $c=null;const El=e=>{$c=e},Hp=()=>$c;let vl=0;function Wp(e={}){const t=Ee(e.onWarn)?e.onWarn:gm,n=G(e.version)?e.version:Dp,s=G(e.locale)||Ee(e.locale)?e.locale:xn,r=Ee(s)?xn:s,o=ve(e.fallbackLocale)||te(e.fallbackLocale)||G(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:r,i=te(e.messages)?e.messages:Wr(r),l=te(e.datetimeFormats)?e.datetimeFormats:Wr(r),a=te(e.numberFormats)?e.numberFormats:Wr(r),c=Ue(me(),e.modifiers,Mp()),u=e.pluralRules||me(),f=Ee(e.missing)?e.missing:null,m=ie(e.missingWarn)||en(e.missingWarn)?e.missingWarn:!0,_=ie(e.fallbackWarn)||en(e.fallbackWarn)?e.fallbackWarn:!0,N=!!e.fallbackFormat,y=!!e.unresolving,w=Ee(e.postTranslation)?e.postTranslation:null,M=te(e.processor)?e.processor:null,R=ie(e.warnHtmlMessage)?e.warnHtmlMessage:!0,v=!!e.escapeParameter,b=Ee(e.messageCompiler)?e.messageCompiler:Uc,I=Ee(e.messageResolver)?e.messageResolver:Vc||pp,O=Ee(e.localeFallbacker)?e.localeFallbacker:Hc||Pp,L=ce(e.fallbackContext)?e.fallbackContext:void 0,F=e,T=ce(F.__datetimeFormatters)?F.__datetimeFormatters:new Map,K=ce(F.__numberFormatters)?F.__numberFormatters:new Map,Q=ce(F.__meta)?F.__meta:{};vl++;const V={version:n,cid:vl,locale:s,fallbackLocale:o,messages:i,modifiers:c,pluralRules:u,missing:f,missingWarn:m,fallbackWarn:_,fallbackFormat:N,unresolving:y,postTranslation:w,processor:M,warnHtmlMessage:R,escapeParameter:v,messageCompiler:b,messageResolver:I,localeFallbacker:O,fallbackContext:L,onWarn:t,__meta:Q};return V.datetimeFormats=l,V.numberFormats=a,V.__datetimeFormatters=T,V.__numberFormatters=K,__INTLIFY_PROD_DEVTOOLS__&&Cp(V,n,Q),V}const Wr=e=>({[e]:me()});function jo(e,t,n,s,r){const{missing:o,onWarn:i}=e;if(o!==null){const l=o(e,n,t,r);return G(l)?l:t}else return t}function Yn(e,t,n){const s=e;s.__localeChainCache=new Map,e.localeFallbacker(e,n,t)}function $p(e,t){return e===t?!1:e.split("-")[0]===t.split("-")[0]}function Bp(e,t){const n=t.indexOf(e);if(n===-1)return!1;for(let s=n+1;s<t.length;s++)if($p(e,t[s]))return!0;return!1}function $r(e){return n=>jp(n,e)}function jp(e,t){const n=sp(t);if(n==null)throw _s(0);if($o(n)===1){const o=rp(n);return e.plural(o.reduce((i,l)=>[...i,bl(e,l)],[]))}else return bl(e,n)}function bl(e,t){const n=op(t);if(n!=null)return e.type==="text"?n:e.normalize([n]);{const s=ip(t).reduce((r,o)=>[...r,uo(e,o)],[]);return e.normalize(s)}}function uo(e,t){const n=$o(t);switch(n){case 3:return Ps(t,n);case 9:return Ps(t,n);case 4:{const s=t;if(mt(s,"k")&&s.k)return e.interpolate(e.named(s.k));if(mt(s,"key")&&s.key)return e.interpolate(e.named(s.key));throw _s(n)}case 5:{const s=t;if(mt(s,"i")&&Le(s.i))return e.interpolate(e.list(s.i));if(mt(s,"index")&&Le(s.index))return e.interpolate(e.list(s.index));throw _s(n)}case 6:{const s=t,r=lp(s),o=ap(s);return e.linked(uo(e,o),r?uo(e,r):void 0,e.type)}case 7:return Ps(t,n);case 8:return Ps(t,n);default:throw new Error(`unhandled node on format message part: ${n}`)}}const Bc=e=>e;let Ln=me();function jc(e,t={}){let n=!1;const s=t.onError||wm;return t.onError=r=>{n=!0,s(r)},{...tp(e,t),detectError:n}}const Gp=(e,t)=>{if(!G(e))throw Nt(pt.NOT_SUPPORT_NON_STRING_MESSAGE);{ie(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||Bc)(e),r=Ln[s];if(r)return r;const{code:o,detectError:i}=jc(e,t),l=new Function(`return ${o}`)();return i?l:Ln[s]=l}};function Kp(e,t){if(__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&G(e)){ie(t.warnHtmlMessage)&&t.warnHtmlMessage;const s=(t.onCacheKey||Bc)(e),r=Ln[s];if(r)return r;const{ast:o,detectError:i}=jc(e,{...t,location:!1,jit:!0}),l=$r(o);return i?l:Ln[s]=l}else{const n=e.cacheKey;if(n){const s=Ln[n];return s||(Ln[n]=$r(e))}else return $r(e)}}const yl=()=>"",at=e=>Ee(e);function Tl(e,...t){const{fallbackFormat:n,postTranslation:s,unresolving:r,messageCompiler:o,fallbackLocale:i,messages:l}=e,[a,c]=fo(...t),u=ie(c.missingWarn)?c.missingWarn:e.missingWarn,f=ie(c.fallbackWarn)?c.fallbackWarn:e.fallbackWarn,m=ie(c.escapeParameter)?c.escapeParameter:e.escapeParameter,_=!!c.resolvedMessage,N=G(c.default)||ie(c.default)?ie(c.default)?o?a:()=>a:c.default:n?o?a:()=>a:"",y=n||N!=="",w=Bo(e,c);m&&Yp(c);let[M,R,v]=_?[a,w,l[w]||me()]:Gc(e,a,w,i,f,u),b=M,I=a;if(!_&&!(G(b)||Lt(b)||at(b))&&y&&(b=N,I=b),!_&&(!(G(b)||Lt(b)||at(b))||!G(R)))return r?vr:a;let O=!1;const L=()=>{O=!0},F=at(b)?b:Kc(e,a,R,b,I,L);if(O)return b;const T=Jp(e,R,v,c),K=Ap(T),Q=Xp(e,F,K);let V=s?s(Q,a):Q;if(m&&G(V)&&(V=ym(V)),__INTLIFY_PROD_DEVTOOLS__){const J={timestamp:Date.now(),key:G(a)?a:at(b)?b.key:"",locale:R||(at(b)?b.locale:""),format:G(b)?b:at(b)?b.source:"",message:V};J.meta=Ue({},e.__meta,Vp()||{}),Lp(J)}return V}function Yp(e){ve(e.list)?e.list=e.list.map(t=>G(t)?ol(t):t):ce(e.named)&&Object.keys(e.named).forEach(t=>{G(e.named[t])&&(e.named[t]=ol(e.named[t]))})}function Gc(e,t,n,s,r,o){const{messages:i,onWarn:l,messageResolver:a,localeFallbacker:c}=e,u=c(e,s,n);let f=me(),m,_=null;const N="translate";for(let y=0;y<u.length&&(m=u[y],f=i[m]||me(),(_=a(f,t))===null&&(_=f[t]),!(G(_)||Lt(_)||at(_)));y++)if(!Bp(m,u)){const w=jo(e,t,m,o,N);w!==t&&(_=w)}return[_,m,f]}function Kc(e,t,n,s,r,o){const{messageCompiler:i,warnHtmlMessage:l}=e;if(at(s)){const c=s;return c.locale=c.locale||n,c.key=c.key||t,c}if(i==null){const c=()=>s;return c.locale=n,c.key=t,c}const a=i(s,qp(e,n,r,s,l,o));return a.locale=n,a.key=t,a.source=s,a}function Xp(e,t,n){return t(n)}function fo(...e){const[t,n,s]=e,r=me();if(!G(t)&&!Le(t)&&!at(t)&&!Lt(t))throw Nt(pt.INVALID_ARGUMENT);const o=Le(t)?String(t):(at(t),t);return Le(n)?r.plural=n:G(n)?r.default=n:te(n)&&!_r(n)?r.named=n:ve(n)&&(r.list=n),Le(s)?r.plural=s:G(s)?r.default=s:te(s)&&Ue(r,s),[o,r]}function qp(e,t,n,s,r,o){return{locale:t,key:n,warnHtmlMessage:r,onError:i=>{throw o&&o(i),i},onCacheKey:i=>_m(t,n,i)}}function Jp(e,t,n,s){const{modifiers:r,pluralRules:o,messageResolver:i,fallbackLocale:l,fallbackWarn:a,missingWarn:c,fallbackContext:u}=e,m={locale:t,modifiers:r,pluralRules:o,messages:_=>{let N=i(n,_);if(N==null&&u){const[,,y]=Gc(u,_,t,l,a,c);N=i(y,_)}if(G(N)||Lt(N)){let y=!1;const M=Kc(e,_,t,N,_,()=>{y=!0});return y?yl:M}else return at(N)?N:yl}};return e.processor&&(m.processor=e.processor),s.list&&(m.list=s.list),s.named&&(m.named=s.named),Le(s.plural)&&(m.pluralIndex=s.plural),m}function Sl(e,...t){const{datetimeFormats:n,unresolving:s,fallbackLocale:r,onWarn:o,localeFallbacker:i}=e,{__datetimeFormatters:l}=e,[a,c,u,f]=ho(...t),m=ie(u.missingWarn)?u.missingWarn:e.missingWarn;ie(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const _=!!u.part,N=Bo(e,u),y=i(e,r,N);if(!G(a)||a==="")return new Intl.DateTimeFormat(N,f).format(c);let w={},M,R=null;const v="datetime format";for(let O=0;O<y.length&&(M=y[O],w=n[M]||{},R=w[a],!te(R));O++)jo(e,a,M,m,v);if(!te(R)||!G(M))return s?vr:a;let b=`${M}__${a}`;_r(f)||(b=`${b}__${JSON.stringify(f)}`);let I=l.get(b);return I||(I=new Intl.DateTimeFormat(M,Ue({},R,f)),l.set(b,I)),_?I.formatToParts(c):I.format(c)}const Yc=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function ho(...e){const[t,n,s,r]=e,o=me();let i=me(),l;if(G(t)){const a=t.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!a)throw Nt(pt.INVALID_ISO_DATE_ARGUMENT);const c=a[3]?a[3].trim().startsWith("T")?`${a[1].trim()}${a[3].trim()}`:`${a[1].trim()}T${a[3].trim()}`:a[1].trim();l=new Date(c);try{l.toISOString()}catch{throw Nt(pt.INVALID_ISO_DATE_ARGUMENT)}}else if(vm(t)){if(isNaN(t.getTime()))throw Nt(pt.INVALID_DATE_ARGUMENT);l=t}else if(Le(t))l=t;else throw Nt(pt.INVALID_ARGUMENT);return G(n)?o.key=n:te(n)&&Object.keys(n).forEach(a=>{Yc.includes(a)?i[a]=n[a]:o[a]=n[a]}),G(s)?o.locale=s:te(s)&&(i=s),te(r)&&(i=r),[o.key||"",l,o,i]}function Al(e,t,n){const s=e;for(const r in n){const o=`${t}__${r}`;s.__datetimeFormatters.has(o)&&s.__datetimeFormatters.delete(o)}}function Nl(e,...t){const{numberFormats:n,unresolving:s,fallbackLocale:r,onWarn:o,localeFallbacker:i}=e,{__numberFormatters:l}=e,[a,c,u,f]=mo(...t),m=ie(u.missingWarn)?u.missingWarn:e.missingWarn;ie(u.fallbackWarn)?u.fallbackWarn:e.fallbackWarn;const _=!!u.part,N=Bo(e,u),y=i(e,r,N);if(!G(a)||a==="")return new Intl.NumberFormat(N,f).format(c);let w={},M,R=null;const v="number format";for(let O=0;O<y.length&&(M=y[O],w=n[M]||{},R=w[a],!te(R));O++)jo(e,a,M,m,v);if(!te(R)||!G(M))return s?vr:a;let b=`${M}__${a}`;_r(f)||(b=`${b}__${JSON.stringify(f)}`);let I=l.get(b);return I||(I=new Intl.NumberFormat(M,Ue({},R,f)),l.set(b,I)),_?I.formatToParts(c):I.format(c)}const Xc=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function mo(...e){const[t,n,s,r]=e,o=me();let i=me();if(!Le(t))throw Nt(pt.INVALID_ARGUMENT);const l=t;return G(n)?o.key=n:te(n)&&Object.keys(n).forEach(a=>{Xc.includes(a)?i[a]=n[a]:o[a]=n[a]}),G(s)?o.locale=s:te(s)&&(i=s),te(r)&&(i=r),[o.key||"",l,o,i]}function Cl(e,t,n){const s=e;for(const r in n){const o=`${t}__${r}`;s.__numberFormatters.has(o)&&s.__numberFormatters.delete(o)}}np();/*!
|
|
95
|
+
* vue-i18n v9.14.5
|
|
96
|
+
* (c) 2025 kazuya kawaguchi
|
|
97
|
+
* Released under the MIT License.
|
|
98
|
+
*/const Qp="9.14.5";function Zp(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(xt().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(xt().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(xt().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(xt().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(xt().__INTLIFY_PROD_DEVTOOLS__=!1)}const zp=Rp.__EXTEND_POINT__,wt=Er(zp);wt(),wt(),wt(),wt(),wt(),wt(),wt(),wt(),wt();const qc=pt.__EXTEND_POINT__,Ze=Er(qc),we={UNEXPECTED_RETURN_TYPE:qc,INVALID_ARGUMENT:Ze(),MUST_BE_CALL_SETUP_TOP:Ze(),NOT_INSTALLED:Ze(),NOT_AVAILABLE_IN_LEGACY_MODE:Ze(),REQUIRED_VALUE:Ze(),INVALID_VALUE:Ze(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ze(),NOT_INSTALLED_WITH_PROVIDE:Ze(),UNEXPECTED_ERROR:Ze(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ze(),BRIDGE_SUPPORT_VUE_2_ONLY:Ze(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ze(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ze(),__EXTEND_POINT__:Ze()};function Me(e,...t){return Un(e,null,void 0)}const po=nn("__translateVNode"),go=nn("__datetimeParts"),_o=nn("__numberParts"),Jc=nn("__setPluralRules"),Qc=nn("__injectWithOption"),Eo=nn("__dispose");function vs(e){if(!ce(e)||Lt(e))return e;for(const t in e)if(mt(e,t))if(!t.includes("."))ce(e[t])&&vs(e[t]);else{const n=t.split("."),s=n.length-1;let r=e,o=!1;for(let i=0;i<s;i++){if(n[i]==="__proto__")throw new Error(`unsafe key: ${n[i]}`);if(n[i]in r||(r[n[i]]=me()),!ce(r[n[i]])){o=!0;break}r=r[n[i]]}if(o||(Lt(r)?Mc.includes(n[s])||delete e[t]:(r[n[s]]=e[t],delete e[t])),!Lt(r)){const i=r[n[s]];ce(i)&&vs(i)}}return e}function br(e,t){const{messages:n,__i18n:s,messageResolver:r,flatJson:o}=t,i=te(n)?n:ve(s)?me():{[e]:me()};if(ve(s)&&s.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:a,resource:c}=l;a?(i[a]=i[a]||me(),Fs(c,i[a])):Fs(c,i)}else G(l)&&Fs(JSON.parse(l),i)}),r==null&&o)for(const l in i)mt(i,l)&&vs(i[l]);return i}function Zc(e){return e.type}function zc(e,t,n){let s=ce(t.messages)?t.messages:me();"__i18nGlobal"in n&&(s=br(e.locale.value,{messages:s,__i18n:n.__i18nGlobal}));const r=Object.keys(s);r.length&&r.forEach(o=>{e.mergeLocaleMessage(o,s[o])});{if(ce(t.datetimeFormats)){const o=Object.keys(t.datetimeFormats);o.length&&o.forEach(i=>{e.mergeDateTimeFormat(i,t.datetimeFormats[i])})}if(ce(t.numberFormats)){const o=Object.keys(t.numberFormats);o.length&&o.forEach(i=>{e.mergeNumberFormat(i,t.numberFormats[i])})}}}function Ll(e){return Pe(As,null,e,0)}const Il="__INTLIFY_META__",Ol=()=>[],eg=()=>!1;let Rl=0;function Pl(e){return(t,n,s,r)=>e(n,s,Zt()||void 0,r)}const tg=()=>{const e=Zt();let t=null;return e&&(t=Zc(e)[Il])?{[Il]:t}:null};function Go(e={},t){const{__root:n,__injectWithOption:s}=e,r=n===void 0,o=e.flatJson,i=qs?ct:Po,l=!!e.translateExistCompatible;let a=ie(e.inheritLocale)?e.inheritLocale:!0;const c=i(n&&a?n.locale.value:G(e.locale)?e.locale:xn),u=i(n&&a?n.fallbackLocale.value:G(e.fallbackLocale)||ve(e.fallbackLocale)||te(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:c.value),f=i(br(c.value,e)),m=i(te(e.datetimeFormats)?e.datetimeFormats:{[c.value]:{}}),_=i(te(e.numberFormats)?e.numberFormats:{[c.value]:{}});let N=n?n.missingWarn:ie(e.missingWarn)||en(e.missingWarn)?e.missingWarn:!0,y=n?n.fallbackWarn:ie(e.fallbackWarn)||en(e.fallbackWarn)?e.fallbackWarn:!0,w=n?n.fallbackRoot:ie(e.fallbackRoot)?e.fallbackRoot:!0,M=!!e.fallbackFormat,R=Ee(e.missing)?e.missing:null,v=Ee(e.missing)?Pl(e.missing):null,b=Ee(e.postTranslation)?e.postTranslation:null,I=n?n.warnHtmlMessage:ie(e.warnHtmlMessage)?e.warnHtmlMessage:!0,O=!!e.escapeParameter;const L=n?n.modifiers:te(e.modifiers)?e.modifiers:{};let F=e.pluralRules||n&&n.pluralRules,T;T=(()=>{r&&El(null);const S={version:Qp,locale:c.value,fallbackLocale:u.value,messages:f.value,modifiers:L,pluralRules:F,missing:v===null?void 0:v,missingWarn:N,fallbackWarn:y,fallbackFormat:M,unresolving:!0,postTranslation:b===null?void 0:b,warnHtmlMessage:I,escapeParameter:O,messageResolver:e.messageResolver,messageCompiler:e.messageCompiler,__meta:{framework:"vue"}};S.datetimeFormats=m.value,S.numberFormats=_.value,S.__datetimeFormatters=te(T)?T.__datetimeFormatters:void 0,S.__numberFormatters=te(T)?T.__numberFormatters:void 0;const D=Wp(S);return r&&El(D),D})(),Yn(T,c.value,u.value);function Q(){return[c.value,u.value,f.value,m.value,_.value]}const V=Ne({get:()=>c.value,set:S=>{c.value=S,T.locale=c.value}}),J=Ne({get:()=>u.value,set:S=>{u.value=S,T.fallbackLocale=u.value,Yn(T,c.value,S)}}),he=Ne(()=>f.value),Ce=Ne(()=>m.value),oe=Ne(()=>_.value);function ee(){return Ee(b)?b:null}function le(S){b=S,T.postTranslation=S}function Be(){return R}function Qe(S){S!==null&&(v=Pl(S)),R=S,T.missing=v}const Te=(S,D,q,se,ge,je)=>{Q();let Fe;try{__INTLIFY_PROD_DEVTOOLS__,r||(T.fallbackContext=n?Hp():void 0),Fe=S(T)}finally{__INTLIFY_PROD_DEVTOOLS__,r||(T.fallbackContext=void 0)}if(q!=="translate exists"&&Le(Fe)&&Fe===vr||q==="translate exists"&&!Fe){const[on,yr]=D();return n&&w?se(n):ge(on)}else{if(je(Fe))return Fe;throw Me(we.UNEXPECTED_RETURN_TYPE)}};function Se(...S){return Te(D=>Reflect.apply(Tl,null,[D,...S]),()=>fo(...S),"translate",D=>Reflect.apply(D.t,D,[...S]),D=>D,D=>G(D))}function ot(...S){const[D,q,se]=S;if(se&&!ce(se))throw Me(we.INVALID_ARGUMENT);return Se(D,q,Ue({resolvedMessage:!0},se||{}))}function ze(...S){return Te(D=>Reflect.apply(Sl,null,[D,...S]),()=>ho(...S),"datetime format",D=>Reflect.apply(D.d,D,[...S]),()=>pl,D=>G(D))}function et(...S){return Te(D=>Reflect.apply(Nl,null,[D,...S]),()=>mo(...S),"number format",D=>Reflect.apply(D.n,D,[...S]),()=>pl,D=>G(D))}function De(S){return S.map(D=>G(D)||Le(D)||ie(D)?Ll(String(D)):D)}const Y={normalize:De,interpolate:S=>S,type:"vnode"};function j(...S){return Te(D=>{let q;const se=D;try{se.processor=Y,q=Reflect.apply(Tl,null,[se,...S])}finally{se.processor=null}return q},()=>fo(...S),"translate",D=>D[po](...S),D=>[Ll(D)],D=>ve(D))}function X(...S){return Te(D=>Reflect.apply(Nl,null,[D,...S]),()=>mo(...S),"number format",D=>D[_o](...S),Ol,D=>G(D)||ve(D))}function re(...S){return Te(D=>Reflect.apply(Sl,null,[D,...S]),()=>ho(...S),"datetime format",D=>D[go](...S),Ol,D=>G(D)||ve(D))}function p(S){F=S,T.pluralRules=F}function E(S,D){return Te(()=>{if(!S)return!1;const q=G(D)?D:c.value,se=U(q),ge=T.messageResolver(se,S);return l?ge!=null:Lt(ge)||at(ge)||G(ge)},()=>[S],"translate exists",q=>Reflect.apply(q.te,q,[S,D]),eg,q=>ie(q))}function g(S){let D=null;const q=xc(T,u.value,c.value);for(let se=0;se<q.length;se++){const ge=f.value[q[se]]||{},je=T.messageResolver(ge,S);if(je!=null){D=je;break}}return D}function C(S){const D=g(S);return D??(n?n.tm(S)||{}:{})}function U(S){return f.value[S]||{}}function k(S,D){if(o){const q={[S]:D};for(const se in q)mt(q,se)&&vs(q[se]);D=q[S]}f.value[S]=D,T.messages=f.value}function $(S,D){f.value[S]=f.value[S]||{};const q={[S]:D};if(o)for(const se in q)mt(q,se)&&vs(q[se]);D=q[S],Fs(D,f.value[S]),T.messages=f.value}function W(S){return m.value[S]||{}}function d(S,D){m.value[S]=D,T.datetimeFormats=m.value,Al(T,S,D)}function h(S,D){m.value[S]=Ue(m.value[S]||{},D),T.datetimeFormats=m.value,Al(T,S,D)}function A(S){return _.value[S]||{}}function P(S,D){_.value[S]=D,T.numberFormats=_.value,Cl(T,S,D)}function B(S,D){_.value[S]=Ue(_.value[S]||{},D),T.numberFormats=_.value,Cl(T,S,D)}Rl++,n&&qs&&(Jt(n.locale,S=>{a&&(c.value=S,T.locale=S,Yn(T,c.value,u.value))}),Jt(n.fallbackLocale,S=>{a&&(u.value=S,T.fallbackLocale=S,Yn(T,c.value,u.value))}));const H={id:Rl,locale:V,fallbackLocale:J,get inheritLocale(){return a},set inheritLocale(S){a=S,S&&n&&(c.value=n.locale.value,u.value=n.fallbackLocale.value,Yn(T,c.value,u.value))},get availableLocales(){return Object.keys(f.value).sort()},messages:he,get modifiers(){return L},get pluralRules(){return F||{}},get isGlobal(){return r},get missingWarn(){return N},set missingWarn(S){N=S,T.missingWarn=N},get fallbackWarn(){return y},set fallbackWarn(S){y=S,T.fallbackWarn=y},get fallbackRoot(){return w},set fallbackRoot(S){w=S},get fallbackFormat(){return M},set fallbackFormat(S){M=S,T.fallbackFormat=M},get warnHtmlMessage(){return I},set warnHtmlMessage(S){I=S,T.warnHtmlMessage=S},get escapeParameter(){return O},set escapeParameter(S){O=S,T.escapeParameter=S},t:Se,getLocaleMessage:U,setLocaleMessage:k,mergeLocaleMessage:$,getPostTranslationHandler:ee,setPostTranslationHandler:le,getMissingHandler:Be,setMissingHandler:Qe,[Jc]:p};return H.datetimeFormats=Ce,H.numberFormats=oe,H.rt=ot,H.te=E,H.tm=C,H.d=ze,H.n=et,H.getDateTimeFormat=W,H.setDateTimeFormat=d,H.mergeDateTimeFormat=h,H.getNumberFormat=A,H.setNumberFormat=P,H.mergeNumberFormat=B,H[Qc]=s,H[po]=j,H[go]=re,H[_o]=X,H}function ng(e){const t=G(e.locale)?e.locale:xn,n=G(e.fallbackLocale)||ve(e.fallbackLocale)||te(e.fallbackLocale)||e.fallbackLocale===!1?e.fallbackLocale:t,s=Ee(e.missing)?e.missing:void 0,r=ie(e.silentTranslationWarn)||en(e.silentTranslationWarn)?!e.silentTranslationWarn:!0,o=ie(e.silentFallbackWarn)||en(e.silentFallbackWarn)?!e.silentFallbackWarn:!0,i=ie(e.fallbackRoot)?e.fallbackRoot:!0,l=!!e.formatFallbackMessages,a=te(e.modifiers)?e.modifiers:{},c=e.pluralizationRules,u=Ee(e.postTranslation)?e.postTranslation:void 0,f=G(e.warnHtmlInMessage)?e.warnHtmlInMessage!=="off":!0,m=!!e.escapeParameterHtml,_=ie(e.sync)?e.sync:!0;let N=e.messages;if(te(e.sharedMessages)){const O=e.sharedMessages;N=Object.keys(O).reduce((F,T)=>{const K=F[T]||(F[T]={});return Ue(K,O[T]),F},N||{})}const{__i18n:y,__root:w,__injectWithOption:M}=e,R=e.datetimeFormats,v=e.numberFormats,b=e.flatJson,I=e.translateExistCompatible;return{locale:t,fallbackLocale:n,messages:N,flatJson:b,datetimeFormats:R,numberFormats:v,missing:s,missingWarn:r,fallbackWarn:o,fallbackRoot:i,fallbackFormat:l,modifiers:a,pluralRules:c,postTranslation:u,warnHtmlMessage:f,escapeParameter:m,messageResolver:e.messageResolver,inheritLocale:_,translateExistCompatible:I,__i18n:y,__root:w,__injectWithOption:M}}function vo(e={},t){{const n=Go(ng(e)),{__extender:s}=e,r={id:n.id,get locale(){return n.locale.value},set locale(o){n.locale.value=o},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(o){n.fallbackLocale.value=o},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return{interpolate(){return[]}}},set formatter(o){},get missing(){return n.getMissingHandler()},set missing(o){n.setMissingHandler(o)},get silentTranslationWarn(){return ie(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(o){n.missingWarn=ie(o)?!o:o},get silentFallbackWarn(){return ie(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(o){n.fallbackWarn=ie(o)?!o:o},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(o){n.fallbackFormat=o},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(o){n.setPostTranslationHandler(o)},get sync(){return n.inheritLocale},set sync(o){n.inheritLocale=o},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(o){n.warnHtmlMessage=o!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(o){n.escapeParameter=o},get preserveDirectiveContent(){return!0},set preserveDirectiveContent(o){},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...o){const[i,l,a]=o,c={};let u=null,f=null;if(!G(i))throw Me(we.INVALID_ARGUMENT);const m=i;return G(l)?c.locale=l:ve(l)?u=l:te(l)&&(f=l),ve(a)?u=a:te(a)&&(f=a),Reflect.apply(n.t,n,[m,u||f||{},c])},rt(...o){return Reflect.apply(n.rt,n,[...o])},tc(...o){const[i,l,a]=o,c={plural:1};let u=null,f=null;if(!G(i))throw Me(we.INVALID_ARGUMENT);const m=i;return G(l)?c.locale=l:Le(l)?c.plural=l:ve(l)?u=l:te(l)&&(f=l),G(a)?c.locale=a:ve(a)?u=a:te(a)&&(f=a),Reflect.apply(n.t,n,[m,u||f||{},c])},te(o,i){return n.te(o,i)},tm(o){return n.tm(o)},getLocaleMessage(o){return n.getLocaleMessage(o)},setLocaleMessage(o,i){n.setLocaleMessage(o,i)},mergeLocaleMessage(o,i){n.mergeLocaleMessage(o,i)},d(...o){return Reflect.apply(n.d,n,[...o])},getDateTimeFormat(o){return n.getDateTimeFormat(o)},setDateTimeFormat(o,i){n.setDateTimeFormat(o,i)},mergeDateTimeFormat(o,i){n.mergeDateTimeFormat(o,i)},n(...o){return Reflect.apply(n.n,n,[...o])},getNumberFormat(o){return n.getNumberFormat(o)},setNumberFormat(o,i){n.setNumberFormat(o,i)},mergeNumberFormat(o,i){n.mergeNumberFormat(o,i)},getChoiceIndex(o,i){return-1}};return r.__extender=s,r}}const Ko={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:e=>e==="parent"||e==="global",default:"parent"},i18n:{type:Object}};function sg({slots:e},t){return t.length===1&&t[0]==="default"?(e.default?e.default():[]).reduce((s,r)=>[...s,...r.type===He?r.children:[r]],[]):t.reduce((n,s)=>{const r=e[s];return r&&(n[s]=r()),n},me())}function eu(e){return He}const rg=yn({name:"i18n-t",props:Ue({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:e=>Le(e)||!isNaN(e)}},Ko),setup(e,t){const{slots:n,attrs:s}=t,r=e.i18n||Yo({useScope:e.scope,__useComponent:!0});return()=>{const o=Object.keys(n).filter(f=>f!=="_"),i=me();e.locale&&(i.locale=e.locale),e.plural!==void 0&&(i.plural=G(e.plural)?+e.plural:e.plural);const l=sg(t,o),a=r[po](e.keypath,l,i),c=Ue(me(),s),u=G(e.tag)||ce(e.tag)?e.tag:eu();return zt(u,c,a)}}}),wl=rg;function og(e){return ve(e)&&!G(e[0])}function tu(e,t,n,s){const{slots:r,attrs:o}=t;return()=>{const i={part:!0};let l=me();e.locale&&(i.locale=e.locale),G(e.format)?i.key=e.format:ce(e.format)&&(G(e.format.key)&&(i.key=e.format.key),l=Object.keys(e.format).reduce((m,_)=>n.includes(_)?Ue(me(),m,{[_]:e.format[_]}):m,me()));const a=s(e.value,i,l);let c=[i.key];ve(a)?c=a.map((m,_)=>{const N=r[m.type],y=N?N({[m.type]:m.value,index:_,parts:a}):[m.value];return og(y)&&(y[0].key=`${m.type}-${_}`),y}):G(a)&&(c=[a]);const u=Ue(me(),o),f=G(e.tag)||ce(e.tag)?e.tag:eu();return zt(f,u,c)}}const ig=yn({name:"i18n-n",props:Ue({value:{type:Number,required:!0},format:{type:[String,Object]}},Ko),setup(e,t){const n=e.i18n||Yo({useScope:e.scope,__useComponent:!0});return tu(e,t,Xc,(...s)=>n[_o](...s))}}),kl=ig,lg=yn({name:"i18n-d",props:Ue({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Ko),setup(e,t){const n=e.i18n||Yo({useScope:e.scope,__useComponent:!0});return tu(e,t,Yc,(...s)=>n[go](...s))}}),Dl=lg;function ag(e,t){const n=e;if(e.mode==="composition")return n.__getInstance(t)||e.global;{const s=n.__getInstance(t);return s!=null?s.__composer:e.global.__composer}}function cg(e){const t=i=>{const{instance:l,modifiers:a,value:c}=i;if(!l||!l.$)throw Me(we.UNEXPECTED_ERROR);const u=ag(e,l.$),f=Ml(c);return[Reflect.apply(u.t,u,[...Fl(f)]),u]};return{created:(i,l)=>{const[a,c]=t(l);qs&&e.global===c&&(i.__i18nWatcher=Jt(c.locale,()=>{l.instance&&l.instance.$forceUpdate()})),i.__composer=c,i.textContent=a},unmounted:i=>{qs&&i.__i18nWatcher&&(i.__i18nWatcher(),i.__i18nWatcher=void 0,delete i.__i18nWatcher),i.__composer&&(i.__composer=void 0,delete i.__composer)},beforeUpdate:(i,{value:l})=>{if(i.__composer){const a=i.__composer,c=Ml(l);i.textContent=Reflect.apply(a.t,a,[...Fl(c)])}},getSSRProps:i=>{const[l]=t(i);return{textContent:l}}}}function Ml(e){if(G(e))return{path:e};if(te(e)){if(!("path"in e))throw Me(we.REQUIRED_VALUE,"path");return e}else throw Me(we.INVALID_VALUE)}function Fl(e){const{path:t,locale:n,args:s,choice:r,plural:o}=e,i={},l=s||{};return G(n)&&(i.locale=n),Le(r)&&(i.plural=r),Le(o)&&(i.plural=o),[t,l,i]}function ug(e,t,...n){const s=te(n[0])?n[0]:{},r=!!s.useI18nComponentName;(ie(s.globalInstall)?s.globalInstall:!0)&&([r?"i18n":wl.name,"I18nT"].forEach(i=>e.component(i,wl)),[kl.name,"I18nN"].forEach(i=>e.component(i,kl)),[Dl.name,"I18nD"].forEach(i=>e.component(i,Dl))),e.directive("t",cg(t))}function fg(e,t,n){return{beforeCreate(){const s=Zt();if(!s)throw Me(we.UNEXPECTED_ERROR);const r=this.$options;if(r.i18n){const o=r.i18n;if(r.__i18n&&(o.__i18n=r.__i18n),o.__root=t,this===this.$root)this.$i18n=xl(e,o);else{o.__injectWithOption=!0,o.__extender=n.__vueI18nExtend,this.$i18n=vo(o);const i=this.$i18n;i.__extender&&(i.__disposer=i.__extender(this.$i18n))}}else if(r.__i18n)if(this===this.$root)this.$i18n=xl(e,r);else{this.$i18n=vo({__i18n:r.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:t});const o=this.$i18n;o.__extender&&(o.__disposer=o.__extender(this.$i18n))}else this.$i18n=e;r.__i18nGlobal&&zc(t,r,r),this.$t=(...o)=>this.$i18n.t(...o),this.$rt=(...o)=>this.$i18n.rt(...o),this.$tc=(...o)=>this.$i18n.tc(...o),this.$te=(o,i)=>this.$i18n.te(o,i),this.$d=(...o)=>this.$i18n.d(...o),this.$n=(...o)=>this.$i18n.n(...o),this.$tm=o=>this.$i18n.tm(o),n.__setInstance(s,this.$i18n)},mounted(){},unmounted(){const s=Zt();if(!s)throw Me(we.UNEXPECTED_ERROR);const r=this.$i18n;delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,r.__disposer&&(r.__disposer(),delete r.__disposer,delete r.__extender),n.__deleteInstance(s),delete this.$i18n}}}function xl(e,t){e.locale=t.locale||e.locale,e.fallbackLocale=t.fallbackLocale||e.fallbackLocale,e.missing=t.missing||e.missing,e.silentTranslationWarn=t.silentTranslationWarn||e.silentFallbackWarn,e.silentFallbackWarn=t.silentFallbackWarn||e.silentFallbackWarn,e.formatFallbackMessages=t.formatFallbackMessages||e.formatFallbackMessages,e.postTranslation=t.postTranslation||e.postTranslation,e.warnHtmlInMessage=t.warnHtmlInMessage||e.warnHtmlInMessage,e.escapeParameterHtml=t.escapeParameterHtml||e.escapeParameterHtml,e.sync=t.sync||e.sync,e.__composer[Jc](t.pluralizationRules||e.pluralizationRules);const n=br(e.locale,{messages:t.messages,__i18n:t.__i18n});return Object.keys(n).forEach(s=>e.mergeLocaleMessage(s,n[s])),t.datetimeFormats&&Object.keys(t.datetimeFormats).forEach(s=>e.mergeDateTimeFormat(s,t.datetimeFormats[s])),t.numberFormats&&Object.keys(t.numberFormats).forEach(s=>e.mergeNumberFormat(s,t.numberFormats[s])),e}const dg=nn("global-vue-i18n");function hg(e={},t){const n=__VUE_I18N_LEGACY_API__&&ie(e.legacy)?e.legacy:__VUE_I18N_LEGACY_API__,s=ie(e.globalInjection)?e.globalInjection:!0,r=__VUE_I18N_LEGACY_API__&&n?!!e.allowComposition:!0,o=new Map,[i,l]=mg(e,n),a=nn("");function c(m){return o.get(m)||null}function u(m,_){o.set(m,_)}function f(m){o.delete(m)}{const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return r},async install(_,...N){if(_.__VUE_I18N_SYMBOL__=a,_.provide(_.__VUE_I18N_SYMBOL__,m),te(N[0])){const M=N[0];m.__composerExtend=M.__composerExtend,m.__vueI18nExtend=M.__vueI18nExtend}let y=null;!n&&s&&(y=Sg(_,m.global)),__VUE_I18N_FULL_INSTALL__&&ug(_,m,...N),__VUE_I18N_LEGACY_API__&&n&&_.mixin(fg(l,l.__composer,m));const w=_.unmount;_.unmount=()=>{y&&y(),m.dispose(),w()}},get global(){return l},dispose(){i.stop()},__instances:o,__getInstance:c,__setInstance:u,__deleteInstance:f};return m}}function Yo(e={}){const t=Zt();if(t==null)throw Me(we.MUST_BE_CALL_SETUP_TOP);if(!t.isCE&&t.appContext.app!=null&&!t.appContext.app.__VUE_I18N_SYMBOL__)throw Me(we.NOT_INSTALLED);const n=pg(t),s=_g(n),r=Zc(t),o=gg(e,r);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!e.__useComponent){if(!n.allowComposition)throw Me(we.NOT_AVAILABLE_IN_LEGACY_MODE);return yg(t,o,s,e)}if(o==="global")return zc(s,e,r),s;if(o==="parent"){let a=Eg(n,t,e.__useComponent);return a==null&&(a=s),a}const i=n;let l=i.__getInstance(t);if(l==null){const a=Ue({},e);"__i18n"in r&&(a.__i18n=r.__i18n),s&&(a.__root=s),l=Go(a),i.__composerExtend&&(l[Eo]=i.__composerExtend(l)),bg(i,t,l),i.__setInstance(t,l)}return l}function mg(e,t,n){const s=So();{const r=__VUE_I18N_LEGACY_API__&&t?s.run(()=>vo(e)):s.run(()=>Go(e));if(r==null)throw Me(we.UNEXPECTED_ERROR);return[s,r]}}function pg(e){{const t=ut(e.isCE?dg:e.appContext.app.__VUE_I18N_SYMBOL__);if(!t)throw Me(e.isCE?we.NOT_INSTALLED_WITH_PROVIDE:we.UNEXPECTED_ERROR);return t}}function gg(e,t){return _r(e)?"__i18n"in t?"local":"global":e.useScope?e.useScope:"local"}function _g(e){return e.mode==="composition"?e.global:e.global.__composer}function Eg(e,t,n=!1){let s=null;const r=t.root;let o=vg(t,n);for(;o!=null;){const i=e;if(e.mode==="composition")s=i.__getInstance(o);else if(__VUE_I18N_LEGACY_API__){const l=i.__getInstance(o);l!=null&&(s=l.__composer,n&&s&&!s[Qc]&&(s=null))}if(s!=null||r===o)break;o=o.parent}return s}function vg(e,t=!1){return e==null?null:t&&e.vnode.ctx||e.parent}function bg(e,t,n){fr(()=>{},t),Do(()=>{const s=n;e.__deleteInstance(t);const r=s[Eo];r&&(r(),delete s[Eo])},t)}function yg(e,t,n,s={}){const r=t==="local",o=Po(null);if(r&&e.proxy&&!(e.proxy.$options.i18n||e.proxy.$options.__i18n))throw Me(we.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const i=ie(s.inheritLocale)?s.inheritLocale:!G(s.locale),l=ct(!r||i?n.locale.value:G(s.locale)?s.locale:xn),a=ct(!r||i?n.fallbackLocale.value:G(s.fallbackLocale)||ve(s.fallbackLocale)||te(s.fallbackLocale)||s.fallbackLocale===!1?s.fallbackLocale:l.value),c=ct(br(l.value,s)),u=ct(te(s.datetimeFormats)?s.datetimeFormats:{[l.value]:{}}),f=ct(te(s.numberFormats)?s.numberFormats:{[l.value]:{}}),m=r?n.missingWarn:ie(s.missingWarn)||en(s.missingWarn)?s.missingWarn:!0,_=r?n.fallbackWarn:ie(s.fallbackWarn)||en(s.fallbackWarn)?s.fallbackWarn:!0,N=r?n.fallbackRoot:ie(s.fallbackRoot)?s.fallbackRoot:!0,y=!!s.fallbackFormat,w=Ee(s.missing)?s.missing:null,M=Ee(s.postTranslation)?s.postTranslation:null,R=r?n.warnHtmlMessage:ie(s.warnHtmlMessage)?s.warnHtmlMessage:!0,v=!!s.escapeParameter,b=r?n.modifiers:te(s.modifiers)?s.modifiers:{},I=s.pluralRules||r&&n.pluralRules;function O(){return[l.value,a.value,c.value,u.value,f.value]}const L=Ne({get:()=>o.value?o.value.locale.value:l.value,set:g=>{o.value&&(o.value.locale.value=g),l.value=g}}),F=Ne({get:()=>o.value?o.value.fallbackLocale.value:a.value,set:g=>{o.value&&(o.value.fallbackLocale.value=g),a.value=g}}),T=Ne(()=>o.value?o.value.messages.value:c.value),K=Ne(()=>u.value),Q=Ne(()=>f.value);function V(){return o.value?o.value.getPostTranslationHandler():M}function J(g){o.value&&o.value.setPostTranslationHandler(g)}function he(){return o.value?o.value.getMissingHandler():w}function Ce(g){o.value&&o.value.setMissingHandler(g)}function oe(g){return O(),g()}function ee(...g){return o.value?oe(()=>Reflect.apply(o.value.t,null,[...g])):oe(()=>"")}function le(...g){return o.value?Reflect.apply(o.value.rt,null,[...g]):""}function Be(...g){return o.value?oe(()=>Reflect.apply(o.value.d,null,[...g])):oe(()=>"")}function Qe(...g){return o.value?oe(()=>Reflect.apply(o.value.n,null,[...g])):oe(()=>"")}function Te(g){return o.value?o.value.tm(g):{}}function Se(g,C){return o.value?o.value.te(g,C):!1}function ot(g){return o.value?o.value.getLocaleMessage(g):{}}function ze(g,C){o.value&&(o.value.setLocaleMessage(g,C),c.value[g]=C)}function et(g,C){o.value&&o.value.mergeLocaleMessage(g,C)}function De(g){return o.value?o.value.getDateTimeFormat(g):{}}function x(g,C){o.value&&(o.value.setDateTimeFormat(g,C),u.value[g]=C)}function Y(g,C){o.value&&o.value.mergeDateTimeFormat(g,C)}function j(g){return o.value?o.value.getNumberFormat(g):{}}function X(g,C){o.value&&(o.value.setNumberFormat(g,C),f.value[g]=C)}function re(g,C){o.value&&o.value.mergeNumberFormat(g,C)}const p={get id(){return o.value?o.value.id:-1},locale:L,fallbackLocale:F,messages:T,datetimeFormats:K,numberFormats:Q,get inheritLocale(){return o.value?o.value.inheritLocale:i},set inheritLocale(g){o.value&&(o.value.inheritLocale=g)},get availableLocales(){return o.value?o.value.availableLocales:Object.keys(c.value)},get modifiers(){return o.value?o.value.modifiers:b},get pluralRules(){return o.value?o.value.pluralRules:I},get isGlobal(){return o.value?o.value.isGlobal:!1},get missingWarn(){return o.value?o.value.missingWarn:m},set missingWarn(g){o.value&&(o.value.missingWarn=g)},get fallbackWarn(){return o.value?o.value.fallbackWarn:_},set fallbackWarn(g){o.value&&(o.value.missingWarn=g)},get fallbackRoot(){return o.value?o.value.fallbackRoot:N},set fallbackRoot(g){o.value&&(o.value.fallbackRoot=g)},get fallbackFormat(){return o.value?o.value.fallbackFormat:y},set fallbackFormat(g){o.value&&(o.value.fallbackFormat=g)},get warnHtmlMessage(){return o.value?o.value.warnHtmlMessage:R},set warnHtmlMessage(g){o.value&&(o.value.warnHtmlMessage=g)},get escapeParameter(){return o.value?o.value.escapeParameter:v},set escapeParameter(g){o.value&&(o.value.escapeParameter=g)},t:ee,getPostTranslationHandler:V,setPostTranslationHandler:J,getMissingHandler:he,setMissingHandler:Ce,rt:le,d:Be,n:Qe,tm:Te,te:Se,getLocaleMessage:ot,setLocaleMessage:ze,mergeLocaleMessage:et,getDateTimeFormat:De,setDateTimeFormat:x,mergeDateTimeFormat:Y,getNumberFormat:j,setNumberFormat:X,mergeNumberFormat:re};function E(g){g.locale.value=l.value,g.fallbackLocale.value=a.value,Object.keys(c.value).forEach(C=>{g.mergeLocaleMessage(C,c.value[C])}),Object.keys(u.value).forEach(C=>{g.mergeDateTimeFormat(C,u.value[C])}),Object.keys(f.value).forEach(C=>{g.mergeNumberFormat(C,f.value[C])}),g.escapeParameter=v,g.fallbackFormat=y,g.fallbackRoot=N,g.fallbackWarn=_,g.missingWarn=m,g.warnHtmlMessage=R}return Ia(()=>{if(e.proxy==null||e.proxy.$i18n==null)throw Me(we.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const g=o.value=e.proxy.$i18n.__composer;t==="global"?(l.value=g.locale.value,a.value=g.fallbackLocale.value,c.value=g.messages.value,u.value=g.datetimeFormats.value,f.value=g.numberFormats.value):r&&E(g)}),p}const Tg=["locale","fallbackLocale","availableLocales"],Ul=["t","rt","d","n","tm","te"];function Sg(e,t){const n=Object.create(null);return Tg.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o)throw Me(we.UNEXPECTED_ERROR);const i=ye(o.value)?{get(){return o.value.value},set(l){o.value.value=l}}:{get(){return o.get&&o.get()}};Object.defineProperty(n,r,i)}),e.config.globalProperties.$i18n=n,Ul.forEach(r=>{const o=Object.getOwnPropertyDescriptor(t,r);if(!o||!o.value)throw Me(we.UNEXPECTED_ERROR);Object.defineProperty(e.config.globalProperties,`$${r}`,o)}),()=>{delete e.config.globalProperties.$i18n,Ul.forEach(r=>{delete e.config.globalProperties[`$${r}`]})}}Zp();__INTLIFY_JIT_COMPILATION__?_l(Kp):_l(Gp);Fp(gp);xp(xc);if(__INTLIFY_PROD_DEVTOOLS__){const e=xt();e.__INTLIFY__=!0,Np(e.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}const Ag={common:{cancel:"Cancel",confirm:"Confirm",ok:"OK",back:"← Back",delete:"Delete",remove:"Remove",dismiss:"dismiss",dismissNotice:"Dismiss"},connection:{online:"Connected",reconnecting:"Reconnecting…"},nav:{toLight:"Switch to light",toDark:"Switch to dark",search:"Search",searchPlaceholder:"Search…",settings:"Settings",instances:"Instances",openInstances:"Open instances",closeInstances:"Close instances",openFiles:"Open files",openTasks:"Open tasks",files:"Files",tasks:"Tasks",closeTasks:"Close tasks",hideSidebar:"Hide sidebar",showSidebar:"Show sidebar"},settings:{title:"Settings",appearance:"Appearance",dark:"Dark",light:"Light",language:"Language",addInstance:"Add an instance",instanceNamePlaceholder:"instance name (optional)",generateToken:"Generate token",runOnHost:"Run on the xacpx host:",retentionTitle:"History retention",retentionBody:"Keeps the newest {max} messages per session, for up to {days} days. Configured server-side.",account:"Account",signOut:"Sign out",signOutTitle:"Sign out?",signOutBody:"You'll need to sign in again to access the dashboard."},copy:{copy:"Copy",copied:"Copied"},palette:{placeholder:"Jump to a session…",noMatches:"no matches"},chat:{selectSession:"Select a session",browseFiles:"Browse files",viewChanges:"View changes",changed:"changed",tool:"tool",tools:"tools",resend:"Resend",resendThis:"Resend this message",failedToSend:"Failed to send",stopped:"Stopped",failed:"failed",scheduledFor:"Scheduled for",scheduled:"Scheduled",stop:"Stop",send:"Send",model:"model",working:"Agent is working… (Esc to stop)",message:"Message",jumpLatest:"↓ Latest",contextUsage:"Context: {used} / {size} tokens"},session:{newSession:"New session",nativeSession:"Native session",existing:"Existing",newPath:"New path",agent:"Agent",workspace:"Workspace",selectAgent:"Select an agent",selectWorkspace:"Select a workspace",selectNative:"Select a native session",close:"Close",creating:"Session is being created and will appear in the list shortly…",loadingOptions:"Loading options…",source:"Source",sessionAlias:"Session alias",optional:"(optional)",pathPlaceholder:"/abs/path",model:"Model",toggleModelList:"Toggle model list",agentDefault:"agent default",listingNative:"Listing native sessions…",noNativeSessions:"No native sessions found for this agent + workspace.",create:"Create",creatingButton:"Creating…",configured:"Configured",availableDrivers:"Available drivers",cliNotDetected:"{driver} — CLI not detected",autoAlias:"auto",pickConfiguredAgent:"Pick a configured agent to list its native sessions.",failedLoadOptions:"failed to load options",failedListNative:"failed to list native sessions",authHint:"{agent} isn't authenticated on the host — log it in there (e.g. run its CLI login), then retry.",thisAgent:"This agent",pickNativeAndAlias:"pick a native session and a valid alias",couldNotDeriveName:"could not derive a valid name — please enter an alias or a normal path",createFailed:"create failed"},files:{title:"Files",back:"Back",backToList:"Back to file list",closeFile:"Close file",selectToBrowse:"Select a session to browse its workspace",searchPlaceholder:"Search files by name…",refresh:"Refresh file list",upOneLevel:"Up one level",changes:"Changes",clearSearch:"Clear search",showingFirstMatches:"showing first 200 matches",root:"root",containsChanges:"contains changes",emptyDirectory:"empty directory",filesCount:"files",noChanges:"no changes",notGitRepo:"Not a git repository",notGitRepoBody:"This workspace has no version control to show changes for.",noDiffLoaded:"no diff loaded",loading:"loading…",truncated:"truncated",binary:"binary",binaryNotShown:"Binary file not shown.",noDiffContent:"No diff content.",diffTruncated:"diff truncated",detached:"detached",linked:"linked",worktree:"worktree"},instance:{newSession:"New session",deleteSession:"Delete session",manage:"Manage instance",coreVersion:"connector core {version}",coreVersionUnknown:"connector core version unknown (legacy or pre-version connector)",offline:"offline",loading:"loading…",noSessions:"no sessions yet",deleteSessionTitle:"Delete session?",deleteSessionBody:`"{alias}" will be permanently removed. This can't be undone.`,manageTitle:"Manage · {name}",close:"Close",dialogLoading:"Loading…",nameLabel:"Name",renamePlaceholder:"instance name",renameSave:"Save",renameSaving:"Saving…",renameFailed:"rename failed"},agents:{title:"Agents",empty:"No agents yet.",remove:"Remove {name}",removeAria:"Remove agent {name}",chooseDriver:"Choose a driver…",builtin:"built-in",installed:"installed",cliNotDetected:"CLI not detected",namePlaceholder:"name (optional, = driver)",add:"Add agent",removeTitle:"Remove agent?",removeBody:'"{name}" will be removed from this instance.',addFailed:"add failed",removeFailed:"remove failed"},workspaces:{title:"Workspaces",empty:"No workspaces yet.",remove:"Remove {name}",removeAria:"Remove workspace {name}",namePlaceholder:"name",pathPlaceholder:"/abs/path",descPlaceholder:"description (optional)",add:"Add workspace",removeTitle:"Remove workspace?",removeBody:'"{name}" will be removed from this instance.',createFailed:"create failed",removeFailed:"remove failed"},tasks:{orchestration:"Orchestration",noOrchestration:"No orchestration tasks.",cancelTask:"Cancel task",cancelOrchestrationAria:"Cancel orchestration task",cancelTitle:"Cancel task?",cancelBody:"The running orchestration task will be stopped.",cancelConfirm:"Cancel task",keepRunning:"Keep running",scheduled:"Scheduled",noScheduled:"No scheduled tasks.",viewAll:"View all {count}",messagePlaceholder:"message",schedule:"Schedule",newScheduled:"New scheduled task",whenLabel:"When",messageLabel:"Message",moreOrchestration:"+{count} more",allScheduled:"All scheduled tasks",scheduledCount:"Scheduled · {count}",close:"Close",statusUpcoming:"Upcoming",statusRunning:"Running",statusDone:"Done",statusFailed:"Failed",statusMissed:"Missed",statusCancelled:"Cancelled",viewRun:"View run",viewRunTitle:"View this run in the conversation",cancelScheduled:"Cancel scheduled task",cancelScheduledTitle:"Cancel scheduled task?",cancelScheduledBody:"It will be removed from the schedule and won't run.",keep:"Keep"},login:{tokenLabel:"Access token",tokenPlaceholder:"Access token",signIn:"Sign in",signingIn:"Signing in…",hintBefore:"Paste the access token from ",hintAfter:"."},fue:{gotIt:"Got it"},tools:{toolSteps:"Tool steps",collapsed:"Tool steps collapsed",collapsedBody:"Multi-step tool runs are collapsed by default to keep replies readable. Click the header to expand and inspect each step."},plan:{title:"Plan",togglePlan:"Toggle plan"},reasoning:{reasoning:"Reasoning",reasoningStreaming:"Reasoning…"},taskPanel:{noSession:"No session selected."}},Ng={common:{cancel:"取消",confirm:"确认",ok:"确定",back:"← 返回",delete:"删除",remove:"移除",dismiss:"关闭",dismissNotice:"关闭通知"},connection:{online:"已连接",reconnecting:"重新连接中…"},nav:{toLight:"切换到浅色",toDark:"切换到深色",search:"搜索",searchPlaceholder:"搜索…",settings:"设置",instances:"实例",openInstances:"打开实例",closeInstances:"关闭实例",openFiles:"打开文件",openTasks:"打开任务",files:"文件",tasks:"任务",closeTasks:"关闭任务",hideSidebar:"隐藏侧栏",showSidebar:"显示侧栏"},settings:{title:"设置",appearance:"外观",dark:"深色",light:"浅色",language:"语言",addInstance:"添加实例",instanceNamePlaceholder:"实例名称(可选)",generateToken:"生成令牌",runOnHost:"在 xacpx 主机上运行:",retentionTitle:"历史保留",retentionBody:"每个会话保留最新的 {max} 条消息,最多保留 {days} 天。由服务端配置。",account:"账户",signOut:"退出登录",signOutTitle:"退出登录?",signOutBody:"你需要重新登录才能访问看板。"},copy:{copy:"复制",copied:"已复制"},palette:{placeholder:"跳转到会话…",noMatches:"无匹配项"},chat:{selectSession:"选择一个会话",browseFiles:"浏览文件",viewChanges:"查看改动",changed:"处改动",tool:"个工具",tools:"个工具",resend:"重新发送",resendThis:"重新发送这条消息",failedToSend:"发送失败",stopped:"已停止",failed:"失败",scheduledFor:"计划于",scheduled:"已计划",stop:"停止",send:"发送",model:"模型",working:"Agent 正在工作…(按 Esc 停止)",message:"消息",jumpLatest:"↓ 最新",contextUsage:"上下文:{used} / {size} tokens"},session:{newSession:"新建会话",nativeSession:"原生会话",existing:"已有",newPath:"新路径",agent:"Agent",workspace:"工作区",selectAgent:"选择一个 Agent",selectWorkspace:"选择一个工作区",selectNative:"选择一个原生会话",close:"关闭",creating:"会话正在创建,稍后会出现在列表中…",loadingOptions:"加载选项中…",source:"来源",sessionAlias:"会话别名",optional:"(可选)",pathPlaceholder:"/abs/path",model:"模型",toggleModelList:"切换模型列表",agentDefault:"Agent 默认",listingNative:"正在列出原生会话…",noNativeSessions:"未找到该 Agent + 工作区的原生会话。",create:"创建",creatingButton:"创建中…",configured:"已配置",availableDrivers:"可用驱动",cliNotDetected:"{driver} — 未检测到 CLI",autoAlias:"自动",pickConfiguredAgent:"请选择一个已配置的 Agent 以列出其原生会话。",failedLoadOptions:"加载选项失败",failedListNative:"列出原生会话失败",authHint:"{agent} 尚未在主机上完成认证——请在主机上登录(例如运行其 CLI 登录命令),然后重试。",thisAgent:"此 Agent",pickNativeAndAlias:"请选择一个原生会话并填写有效的别名",couldNotDeriveName:"无法推导出有效的名称——请输入别名或一个正常的路径",createFailed:"创建失败"},files:{title:"文件",back:"返回",backToList:"返回文件列表",closeFile:"关闭文件",selectToBrowse:"选择一个会话以浏览其工作区",searchPlaceholder:"按名称搜索文件…",refresh:"刷新文件列表",upOneLevel:"上一级",changes:"改动",clearSearch:"清除搜索",showingFirstMatches:"仅显示前 200 条匹配项",root:"根目录",containsChanges:"包含改动",emptyDirectory:"空目录",filesCount:"个文件",noChanges:"无改动",notGitRepo:"不是 Git 仓库",notGitRepoBody:"此工作区没有版本控制,无法显示改动。",noDiffLoaded:"未加载差异",loading:"加载中…",truncated:"已截断",binary:"二进制",binaryNotShown:"不显示二进制文件。",noDiffContent:"无差异内容。",diffTruncated:"差异已截断",detached:"分离 HEAD",linked:"链接",worktree:"工作树"},instance:{newSession:"新建会话",deleteSession:"删除会话",manage:"管理实例",coreVersion:"连接器内核 {version}",coreVersionUnknown:"连接器内核版本未知(旧版或无版本信息的连接器)",offline:"离线",loading:"加载中…",noSessions:"暂无会话",deleteSessionTitle:"删除会话?",deleteSessionBody:"“{alias}” 将被永久删除,此操作无法撤销。",manageTitle:"管理 · {name}",close:"关闭",dialogLoading:"加载中…",nameLabel:"名称",renamePlaceholder:"实例名称",renameSave:"保存",renameSaving:"保存中…",renameFailed:"重命名失败"},agents:{title:"Agent",empty:"暂无 Agent。",remove:"移除 {name}",removeAria:"移除 Agent {name}",chooseDriver:"选择一个驱动…",builtin:"内置",installed:"已安装",cliNotDetected:"未检测到 CLI",namePlaceholder:"名称(可选,= 驱动名)",add:"添加 Agent",removeTitle:"移除 Agent?",removeBody:"“{name}” 将从此实例移除。",addFailed:"添加失败",removeFailed:"移除失败"},workspaces:{title:"工作区",empty:"暂无工作区。",remove:"移除 {name}",removeAria:"移除工作区 {name}",namePlaceholder:"名称",pathPlaceholder:"/绝对/路径",descPlaceholder:"描述(可选)",add:"添加工作区",removeTitle:"移除工作区?",removeBody:"“{name}” 将从此实例移除。",createFailed:"创建失败",removeFailed:"移除失败"},tasks:{orchestration:"编排",noOrchestration:"暂无编排任务。",cancelTask:"取消任务",cancelOrchestrationAria:"取消编排任务",cancelTitle:"取消任务?",cancelBody:"正在运行的编排任务将被停止。",cancelConfirm:"取消任务",keepRunning:"继续运行",scheduled:"计划任务",noScheduled:"暂无计划任务。",viewAll:"查看全部 {count} 个",messagePlaceholder:"消息",schedule:"安排",newScheduled:"新建定时任务",whenLabel:"时间",messageLabel:"消息",moreOrchestration:"还有 {count} 个",allScheduled:"所有计划任务",scheduledCount:"计划任务 · {count}",close:"关闭",statusUpcoming:"即将执行",statusRunning:"运行中",statusDone:"已完成",statusFailed:"已失败",statusMissed:"已错过",statusCancelled:"已取消",viewRun:"查看运行",viewRunTitle:"在对话中查看本次运行",cancelScheduled:"取消计划任务",cancelScheduledTitle:"取消计划任务?",cancelScheduledBody:"它将从计划中移除且不再运行。",keep:"保留"},login:{tokenLabel:"访问令牌",tokenPlaceholder:"访问令牌",signIn:"登录",signingIn:"登录中…",hintBefore:"粘贴来自 ",hintAfter:" 的访问令牌。"},fue:{gotIt:"知道了"},tools:{toolSteps:"工具步骤",collapsed:"工具步骤已折叠",collapsedBody:"多步骤工具运行默认折叠,以保持回复清爽。点击标题可展开并查看每个步骤。"},plan:{title:"计划",togglePlan:"切换计划"},reasoning:{reasoning:"推理",reasoningStreaming:"推理中…"},taskPanel:{noSession:"未选择会话。"}},Cg=["en","zh-CN"],Lg="en";function Ig(e){return e&&e.toLowerCase().startsWith("zh")?"zh-CN":"en"}const nu=hg({legacy:!1,globalInjection:!0,locale:Lg,fallbackLocale:"en",messages:{en:Ag,"zh-CN":Ng}}),su="relay-locale";function Og(){const e=localStorage.getItem(su);return e&&Cg.includes(e)?e:Ig(navigator==null?void 0:navigator.language)}const Rg=ic("locale",()=>{const e=ct(Og());function t(){nu.global.locale.value=e.value,document.documentElement.lang=e.value}function n(s){e.value=s,localStorage.setItem(su,s),t()}return t(),{locale:e,set:n}}),Pg=Dd(oh).use(xd()).use(yc).use(nu);Rg();Pg.mount("#app");export{bc as A,Jt as B,$g as C,qd as D,To as E,He as F,Bg as G,Hg as H,Do as I,Ug as J,ar as K,Mg as L,kg as M,Xu as N,xg as O,gf as P,Fg as Q,Rg as R,Cg as S,nf as T,ht as a,Pe as b,eo as c,yn as d,Kf as e,Ie as f,to as g,Wg as h,jg as i,Xd as j,ic as k,Vr as l,Ne as m,nu as n,bn as o,fr as p,ko as q,ct as r,is as s,Xn as t,mm as u,Vg as v,wg as w,Dg as x,js as y,Yo as z};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{k as n,r as c}from"./index-
|
|
1
|
+
import{k as n,r as c}from"./index-CyMgv7-t.js";const a="relay-theme";function m(){var t;const e=localStorage.getItem(a);return e==="dark"||e==="light"?e:(t=window.matchMedia)!=null&&t.call(window,"(prefers-color-scheme: light)").matches?"light":"dark"}const i=n("theme",()=>{const e=c(m());function t(){document.documentElement.classList.toggle("dark",e.value==="dark"),document.documentElement.style.colorScheme=e.value}function o(r){e.value=r,localStorage.setItem(a,r),t()}function l(){o(e.value==="dark"?"light":"dark")}return t(),{mode:e,set:o,toggle:l,apply:t}});export{i as u};
|