(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))s(i);new MutationObserver(i=>{for(const r of i)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const r={};return i.integrity&&(r.integrity=i.integrity),i.referrerPolicy&&(r.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?r.credentials="include":i.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(i){if(i.ep)return;i.ep=!0;const r=n(i);fetch(i.href,r)}})();/** * @vue/shared v3.5.32 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function ds(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const te={},Mt=[],Ue=()=>{},yi=()=>!1,kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Sn=e=>e.startsWith("onUpdate:"),de=Object.assign,hs=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ar=Object.prototype.hasOwnProperty,z=(e,t)=>Ar.call(e,t),R=Array.isArray,$t=e=>tn(e)==="[object Map]",_i=e=>tn(e)==="[object Set]",Is=e=>tn(e)==="[object Date]",D=e=>typeof e=="function",oe=e=>typeof e=="string",We=e=>typeof e=="symbol",q=e=>e!==null&&typeof e=="object",xi=e=>(q(e)||D(e))&&D(e.then)&&D(e.catch),wi=Object.prototype.toString,tn=e=>wi.call(e),Lr=e=>tn(e).slice(8,-1),Ci=e=>tn(e)==="[object Object]",ps=e=>oe(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ht=ds(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Tn=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Pr=/-\w/g,Le=Tn(e=>e.replace(Pr,t=>t.slice(1).toUpperCase())),Or=/\B([A-Z])/g,xt=Tn(e=>e.replace(Or,"-$1").toLowerCase()),ki=Tn(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bn=Tn(e=>e?`on${ki(e)}`:""),Ke=(e,t)=>!Object.is(e,t),un=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},gs=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ir=e=>{const t=oe(e)?Number(e):NaN;return isNaN(t)?e:t};let Rs;const Mn=()=>Rs||(Rs=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Et(e){if(R(e)){const t={};for(let n=0;n{if(n){const s=n.split(Fr);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function ut(e){let t="";if(oe(e))t=e;else if(R(e))for(let n=0;n!!(e&&e.__v_isRef===!0),j=e=>oe(e)?e:e==null?"":R(e)||q(e)&&(e.toString===wi||!D(e.toString))?Mi(e)?j(e.value):JSON.stringify(e,$i,2):String(e),$i=(e,t)=>Mi(t)?$i(e,t.value):$t(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],r)=>(n[Dn(s,r)+" =>"]=i,n),{})}:_i(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Dn(n))}:We(t)?Dn(t):q(t)&&!R(t)&&!Ci(t)?String(t):t,Dn=(e,t="")=>{var n;return We(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.32 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Ce;class Vr{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.__v_skip=!0,this.parent=Ce,!t&&Ce&&(this.index=(Ce.scopes||(Ce.scopes=[])).push(this)-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;t0&&--this._on===0&&(Ce=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(Vt){let t=Vt;for(Vt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;jt;){let t=jt;for(jt=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 Pi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Oi(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),ys(s),Ur(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function Zn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Ii(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Ii(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===qt)||(e.globalVersion=qt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Zn(e))))return;e.flags|=2;const t=e.dep,n=ie,s=Pe;ie=e,Pe=!0;try{Pi(e);const i=e.fn(e._value);(t.version===0||Ke(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{ie=n,Pe=s,Oi(e),e.flags&=-3}}function ys(e,t=!1){const{dep:n,prevSub:s,nextSub:i}=e;if(s&&(s.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let r=n.computed.deps;r;r=r.nextDep)ys(r,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Ur(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Pe=!0;const Ri=[];function nt(){Ri.push(Pe),Pe=!1}function st(){const e=Ri.pop();Pe=e===void 0?!0:e}function Fs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=ie;ie=void 0;try{t()}finally{ie=n}}}let qt=0;class Wr{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 _s{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(!ie||!Pe||ie===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==ie)n=this.activeLink=new Wr(ie,this),ie.deps?(n.prevDep=ie.depsTail,ie.depsTail.nextDep=n,ie.depsTail=n):ie.deps=ie.depsTail=n,Fi(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=ie.depsTail,n.nextDep=void 0,ie.depsTail.nextDep=n,ie.depsTail=n,ie.deps===n&&(ie.deps=s)}return n}trigger(t){this.version++,qt++,this.notify(t)}notify(t){ms();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{bs()}}}function Fi(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)Fi(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Qn=new WeakMap,yt=Symbol(""),es=Symbol(""),Jt=Symbol("");function ve(e,t,n){if(Pe&&ie){let s=Qn.get(e);s||Qn.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new _s),i.map=s,i.key=n),i.track()}}function Qe(e,t,n,s,i,r){const o=Qn.get(e);if(!o){qt++;return}const l=a=>{a&&a.trigger()};if(ms(),t==="clear")o.forEach(l);else{const a=R(e),p=a&&ps(n);if(a&&n==="length"){const c=Number(s);o.forEach((g,_)=>{(_==="length"||_===Jt||!We(_)&&_>=c)&&l(g)})}else switch((n!==void 0||o.has(void 0))&&l(o.get(n)),p&&l(o.get(Jt)),t){case"add":a?p&&l(o.get("length")):(l(o.get(yt)),$t(e)&&l(o.get(es)));break;case"delete":a||(l(o.get(yt)),$t(e)&&l(o.get(es)));break;case"set":$t(e)&&l(o.get(yt));break}}bs()}function kt(e){const t=U(e);return t===e?t:(ve(t,"iterate",Jt),Ee(e)?t:t.map(Oe))}function $n(e){return ve(e=U(e),"iterate",Jt),e}function je(e,t){return it(e)?Pt(_t(e)?Oe(t):t):Oe(t)}const Gr={__proto__:null,[Symbol.iterator](){return jn(this,Symbol.iterator,e=>je(this,e))},concat(...e){return kt(this).concat(...e.map(t=>R(t)?kt(t):t))},entries(){return jn(this,"entries",e=>(e[1]=je(this,e[1]),e))},every(e,t){return Je(this,"every",e,t,void 0,arguments)},filter(e,t){return Je(this,"filter",e,t,n=>n.map(s=>je(this,s)),arguments)},find(e,t){return Je(this,"find",e,t,n=>je(this,n),arguments)},findIndex(e,t){return Je(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Je(this,"findLast",e,t,n=>je(this,n),arguments)},findLastIndex(e,t){return Je(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Je(this,"forEach",e,t,void 0,arguments)},includes(...e){return Vn(this,"includes",e)},indexOf(...e){return Vn(this,"indexOf",e)},join(e){return kt(this).join(e)},lastIndexOf(...e){return Vn(this,"lastIndexOf",e)},map(e,t){return Je(this,"map",e,t,void 0,arguments)},pop(){return Rt(this,"pop")},push(...e){return Rt(this,"push",e)},reduce(e,...t){return Ns(this,"reduce",e,t)},reduceRight(e,...t){return Ns(this,"reduceRight",e,t)},shift(){return Rt(this,"shift")},some(e,t){return Je(this,"some",e,t,void 0,arguments)},splice(...e){return Rt(this,"splice",e)},toReversed(){return kt(this).toReversed()},toSorted(e){return kt(this).toSorted(e)},toSpliced(...e){return kt(this).toSpliced(...e)},unshift(...e){return Rt(this,"unshift",e)},values(){return jn(this,"values",e=>je(this,e))}};function jn(e,t,n){const s=$n(e),i=s[t]();return s!==e&&!Ee(e)&&(i._next=i.next,i.next=()=>{const r=i._next();return r.done||(r.value=n(r.value)),r}),i}const zr=Array.prototype;function Je(e,t,n,s,i,r){const o=$n(e),l=o!==e&&!Ee(e),a=o[t];if(a!==zr[t]){const g=a.apply(e,r);return l?Oe(g):g}let p=n;o!==e&&(l?p=function(g,_){return n.call(this,je(e,g),_,e)}:n.length>2&&(p=function(g,_){return n.call(this,g,_,e)}));const c=a.call(o,p,s);return l&&i?i(c):c}function Ns(e,t,n,s){const i=$n(e),r=i!==e&&!Ee(e);let o=n,l=!1;i!==e&&(r?(l=s.length===0,o=function(p,c,g){return l&&(l=!1,p=je(e,p)),n.call(this,p,je(e,c),g,e)}):n.length>3&&(o=function(p,c,g){return n.call(this,p,c,g,e)}));const a=i[t](o,...s);return l?je(e,a):a}function Vn(e,t,n){const s=U(e);ve(s,"iterate",Jt);const i=s[t](...n);return(i===-1||i===!1)&&ks(n[0])?(n[0]=U(n[0]),s[t](...n)):i}function Rt(e,t,n=[]){nt(),ms();const s=U(e)[t].apply(e,n);return bs(),st(),s}const qr=ds("__proto__,__v_isRef,__isVue"),Ni=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(We));function Jr(e){We(e)||(e=String(e));const t=U(this);return ve(t,"has",e),t.hasOwnProperty(e)}class Bi{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const i=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return r;if(n==="__v_raw")return s===(i?r?ro:Vi:r?ji:Hi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=R(t);if(!i){let a;if(o&&(a=Gr[n]))return a;if(n==="hasOwnProperty")return Jr}const l=Reflect.get(t,n,me(t)?t:s);if((We(n)?Ni.has(n):qr(n))||(i||ve(t,"get",n),r))return l;if(me(l)){const a=o&&ps(n)?l:l.value;return i&&q(a)?ns(a):a}return q(l)?i?ns(l):ws(l):l}}class Di extends Bi{constructor(t=!1){super(!1,t)}set(t,n,s,i){let r=t[n];const o=R(t)&&ps(n);if(!this._isShallow){const p=it(r);if(!Ee(s)&&!it(s)&&(r=U(r),s=U(s)),!o&&me(r)&&!me(s))return p||(r.value=s),!0}const l=o?Number(n)e,ln=e=>Reflect.getPrototypeOf(e);function eo(e,t,n){return function(...s){const i=this.__v_raw,r=U(i),o=$t(r),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,p=i[e](...s),c=n?ts:t?Pt:Oe;return!t&&ve(r,"iterate",a?es:yt),de(Object.create(p),{next(){const{value:g,done:_}=p.next();return _?{value:g,done:_}:{value:l?[c(g[0]),c(g[1])]:c(g),done:_}}})}}function an(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function to(e,t){const n={get(i){const r=this.__v_raw,o=U(r),l=U(i);e||(Ke(i,l)&&ve(o,"get",i),ve(o,"get",l));const{has:a}=ln(o),p=t?ts:e?Pt:Oe;if(a.call(o,i))return p(r.get(i));if(a.call(o,l))return p(r.get(l));r!==o&&r.get(i)},get size(){const i=this.__v_raw;return!e&&ve(U(i),"iterate",yt),i.size},has(i){const r=this.__v_raw,o=U(r),l=U(i);return e||(Ke(i,l)&&ve(o,"has",i),ve(o,"has",l)),i===l?r.has(i):r.has(i)||r.has(l)},forEach(i,r){const o=this,l=o.__v_raw,a=U(l),p=t?ts:e?Pt:Oe;return!e&&ve(a,"iterate",yt),l.forEach((c,g)=>i.call(r,p(c),p(g),o))}};return de(n,e?{add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear")}:{add(i){const r=U(this),o=ln(r),l=U(i),a=!t&&!Ee(i)&&!it(i)?l:i;return o.has.call(r,a)||Ke(i,a)&&o.has.call(r,i)||Ke(l,a)&&o.has.call(r,l)||(r.add(a),Qe(r,"add",a,a)),this},set(i,r){!t&&!Ee(r)&&!it(r)&&(r=U(r));const o=U(this),{has:l,get:a}=ln(o);let p=l.call(o,i);p||(i=U(i),p=l.call(o,i));const c=a.call(o,i);return o.set(i,r),p?Ke(r,c)&&Qe(o,"set",i,r):Qe(o,"add",i,r),this},delete(i){const r=U(this),{has:o,get:l}=ln(r);let a=o.call(r,i);a||(i=U(i),a=o.call(r,i)),l&&l.call(r,i);const p=r.delete(i);return a&&Qe(r,"delete",i,void 0),p},clear(){const i=U(this),r=i.size!==0,o=i.clear();return r&&Qe(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=eo(i,e,t)}),n}function xs(e,t){const n=to(e,t);return(s,i,r)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(z(n,i)&&i in s?n:s,i,r)}const no={get:xs(!1,!1)},so={get:xs(!1,!0)},io={get:xs(!0,!1)};const Hi=new WeakMap,ji=new WeakMap,Vi=new WeakMap,ro=new WeakMap;function oo(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function lo(e){return e.__v_skip||!Object.isExtensible(e)?0:oo(Lr(e))}function ws(e){return it(e)?e:Cs(e,!1,Xr,no,Hi)}function ao(e){return Cs(e,!1,Qr,so,ji)}function ns(e){return Cs(e,!0,Zr,io,Vi)}function Cs(e,t,n,s,i){if(!q(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const r=lo(e);if(r===0)return e;const o=i.get(e);if(o)return o;const l=new Proxy(e,r===2?s:n);return i.set(e,l),l}function _t(e){return it(e)?_t(e.__v_raw):!!(e&&e.__v_isReactive)}function it(e){return!!(e&&e.__v_isReadonly)}function Ee(e){return!!(e&&e.__v_isShallow)}function ks(e){return e?!!e.__v_raw:!1}function U(e){const t=e&&e.__v_raw;return t?U(t):e}function co(e){return!z(e,"__v_skip")&&Object.isExtensible(e)&&Si(e,"__v_skip",!0),e}const Oe=e=>q(e)?ws(e):e,Pt=e=>q(e)?ns(e):e;function me(e){return e?e.__v_isRef===!0:!1}function ee(e){return uo(e,!1)}function uo(e,t){return me(e)?e:new fo(e,t)}class fo{constructor(t,n){this.dep=new _s,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:U(t),this._value=n?t:Oe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Ee(t)||it(t);t=s?t:U(t),Ke(t,n)&&(this._rawValue=t,this._value=s?t:Oe(t),this.dep.trigger())}}function ho(e){return me(e)?e.value:e}const po={get:(e,t,n)=>t==="__v_raw"?e:ho(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return me(i)&&!me(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function Ki(e){return _t(e)?e:new Proxy(e,po)}class go{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new _s(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=qt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&ie!==this)return Li(this,!0),!0}get value(){const t=this.dep.track();return Ii(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function vo(e,t,n=!1){let s,i;return D(e)?s=e:(s=e.get,i=e.set),new go(s,i,n)}const cn={},vn=new WeakMap;let mt;function mo(e,t=!1,n=mt){if(n){let s=vn.get(n);s||vn.set(n,s=[]),s.push(e)}}function bo(e,t,n=te){const{immediate:s,deep:i,once:r,scheduler:o,augmentJob:l,call:a}=n,p=L=>i?L:Ee(L)||i===!1||i===0?et(L,1):et(L);let c,g,_,S,E=!1,w=!1;if(me(e)?(g=()=>e.value,E=Ee(e)):_t(e)?(g=()=>p(e),E=!0):R(e)?(w=!0,E=e.some(L=>_t(L)||Ee(L)),g=()=>e.map(L=>{if(me(L))return L.value;if(_t(L))return p(L);if(D(L))return a?a(L,2):L()})):D(e)?t?g=a?()=>a(e,2):e:g=()=>{if(_){nt();try{_()}finally{st()}}const L=mt;mt=c;try{return a?a(e,3,[S]):e(S)}finally{mt=L}}:g=Ue,t&&i){const L=g,W=i===!0?1/0:i;g=()=>et(L(),W)}const A=Kr(),N=()=>{c.stop(),A&&A.active&&hs(A.effects,c)};if(r&&t){const L=t;t=(...W)=>{L(...W),N()}}let B=w?new Array(e.length).fill(cn):cn;const V=L=>{if(!(!(c.flags&1)||!c.dirty&&!L))if(t){const W=c.run();if(i||E||(w?W.some((re,he)=>Ke(re,B[he])):Ke(W,B))){_&&_();const re=mt;mt=c;try{const he=[W,B===cn?void 0:w&&B[0]===cn?[]:B,S];B=W,a?a(t,3,he):t(...he)}finally{mt=re}}}else c.run()};return l&&l(V),c=new Ei(g),c.scheduler=o?()=>o(V,!1):V,S=L=>mo(L,!1,c),_=c.onStop=()=>{const L=vn.get(c);if(L){if(a)a(L,4);else for(const W of L)W();vn.delete(c)}},t?s?V(!0):B=c.run():o?o(V.bind(null,!0),!0):c.run(),N.pause=c.pause.bind(c),N.resume=c.resume.bind(c),N.stop=N,N}function et(e,t=1/0,n){if(t<=0||!q(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,me(e))et(e.value,t,n);else if(R(e))for(let s=0;s{et(s,t,n)});else if(Ci(e)){for(const s in e)et(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&et(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.32 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function nn(e,t,n,s){try{return s?e(...s):e()}catch(i){En(i,t,n)}}function Ie(e,t,n,s){if(D(e)){const i=nn(e,t,n,s);return i&&xi(i)&&i.catch(r=>{En(r,t,n)}),i}if(R(e)){const i=[];for(let r=0;r>>1,i=ye[s],r=Yt(i);r=Yt(n)?ye.push(e):ye.splice(xo(t),0,e),e.flags|=1,Wi()}}function Wi(){mn||(mn=Ui.then(zi))}function wo(e){R(e)?At.push(...e):lt&&e.id===-1?lt.splice(St+1,0,e):e.flags&1||(At.push(e),e.flags|=1),Wi()}function Bs(e,t,n=De+1){for(;nYt(n)-Yt(s));if(At.length=0,lt){lt.push(...t);return}for(lt=t,St=0;Ste.id==null?e.flags&2?-1:1/0:e.id;function zi(e){try{for(De=0;De{s._d&&xn(-1);const r=bn(t);let o;try{o=e(...i)}finally{bn(r),s._d&&xn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function ss(e,t){if($e===null)return e;const n=In($e),s=e.dirs||(e.dirs=[]);for(let i=0;i1)return n&&D(t)?t.call(s&&s.proxy):t}}const ko=Symbol.for("v-scx"),So=()=>dn(ko);function Kn(e,t,n){return Ji(e,t,n)}function Ji(e,t,n=te){const{immediate:s,deep:i,flush:r,once:o}=n,l=de({},n),a=t&&s||!t&&r!=="post";let p;if(Qt){if(r==="sync"){const S=So();p=S.__watcherHandles||(S.__watcherHandles=[])}else if(!a){const S=()=>{};return S.stop=Ue,S.resume=Ue,S.pause=Ue,S}}const c=xe;l.call=(S,E,w)=>Ie(S,c,E,w);let g=!1;r==="post"?l.scheduler=S=>{we(S,c&&c.suspense)}:r!=="sync"&&(g=!0,l.scheduler=(S,E)=>{E?S():Ss(S)}),l.augmentJob=S=>{t&&(S.flags|=4),g&&(S.flags|=2,c&&(S.id=c.uid,S.i=c))};const _=bo(e,t,l);return Qt&&(p?p.push(_):a&&_()),_}function To(e,t,n){const s=this.proxy,i=oe(e)?e.includes(".")?Yi(s,e):()=>s[e]:e.bind(s,s);let r;D(t)?r=t:(r=t.handler,n=t);const o=sn(this),l=Ji(i,r.bind(s),n);return o(),l}function Yi(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;ie.__isTeleport,He=Symbol("_leaveCb"),Ft=Symbol("_enterCb");function $o(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Ts(()=>{e.isMounted=!0}),rr(()=>{e.isUnmounting=!0}),e}const Me=[Function,Array],Zi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Me,onEnter:Me,onAfterEnter:Me,onEnterCancelled:Me,onBeforeLeave:Me,onLeave:Me,onAfterLeave:Me,onLeaveCancelled:Me,onBeforeAppear:Me,onAppear:Me,onAfterAppear:Me,onAppearCancelled:Me},Qi=e=>{const t=e.subTree;return t.component?Qi(t.component):t},Eo={name:"BaseTransition",props:Zi,setup(e,{slots:t}){const n=Sr(),s=$o();return()=>{const i=t.default&&nr(t.default(),!0);if(!i||!i.length)return;const r=er(i),o=U(e),{mode:l}=o;if(s.isLeaving)return Un(r);const a=Ds(r);if(!a)return Un(r);let p=is(a,o,s,n,g=>p=g);a.type!==_e&&Xt(a,p);let c=n.subTree&&Ds(n.subTree);if(c&&c.type!==_e&&!bt(c,a)&&Qi(n).type!==_e){let g=is(c,o,s,n);if(Xt(c,g),l==="out-in"&&a.type!==_e)return s.isLeaving=!0,g.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete g.afterLeave,c=void 0},Un(r);l==="in-out"&&a.type!==_e?g.delayLeave=(_,S,E)=>{const w=tr(s,c);w[String(c.key)]=c,_[He]=()=>{S(),_[He]=void 0,delete p.delayedLeave,c=void 0},p.delayedLeave=()=>{E(),delete p.delayedLeave,c=void 0}}:c=void 0}else c&&(c=void 0);return r}}};function er(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==_e){t=n;break}}return t}const Ao=Eo;function tr(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 is(e,t,n,s,i){const{appear:r,mode:o,persisted:l=!1,onBeforeEnter:a,onEnter:p,onAfterEnter:c,onEnterCancelled:g,onBeforeLeave:_,onLeave:S,onAfterLeave:E,onLeaveCancelled:w,onBeforeAppear:A,onAppear:N,onAfterAppear:B,onAppearCancelled:V}=t,L=String(e.key),W=tr(n,e),re=(H,G)=>{H&&Ie(H,s,9,G)},he=(H,G)=>{const ne=G[1];re(H,G),R(H)?H.every(M=>M.length<=1)&&ne():H.length<=1&&ne()},J={mode:o,persisted:l,beforeEnter(H){let G=a;if(!n.isMounted)if(r)G=A||a;else return;H[He]&&H[He](!0);const ne=W[L];ne&&bt(e,ne)&&ne.el[He]&&ne.el[He](),re(G,[H])},enter(H){if(W[L]===e)return;let G=p,ne=c,M=g;if(!n.isMounted)if(r)G=N||p,ne=B||c,M=V||g;else return;let X=!1;H[Ft]=Ae=>{X||(X=!0,Ae?re(M,[H]):re(ne,[H]),J.delayedLeave&&J.delayedLeave(),H[Ft]=void 0)};const fe=H[Ft].bind(null,!1);G?he(G,[H,fe]):fe()},leave(H,G){const ne=String(e.key);if(H[Ft]&&H[Ft](!0),n.isUnmounting)return G();re(_,[H]);let M=!1;H[He]=fe=>{M||(M=!0,G(),fe?re(w,[H]):re(E,[H]),H[He]=void 0,W[ne]===e&&delete W[ne])};const X=H[He].bind(null,!1);W[ne]=e,S?he(S,[H,X]):X()},clone(H){const G=is(H,t,n,s,i);return i&&i(G),G}};return J}function Un(e){if(An(e))return e=ft(e),e.children=null,e}function Ds(e){if(!An(e))return Xi(e.type)&&e.children?er(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&&D(n.default))return n.default()}}function Xt(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Xt(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function nr(e,t=!1,n){let s=[],i=0;for(let r=0;r1)for(let r=0;rKt(w,t&&(R(t)?t[A]:t),n,s,i));return}if(Ut(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&Kt(e,t,n,s.component.subTree);return}const r=s.shapeFlag&4?In(s.component):s.el,o=i?null:r,{i:l,r:a}=e,p=t&&t.r,c=l.refs===te?l.refs={}:l.refs,g=l.setupState,_=U(g),S=g===te?yi:w=>Hs(c,w)?!1:z(_,w),E=(w,A)=>!(A&&Hs(c,A));if(p!=null&&p!==a){if(js(t),oe(p))c[p]=null,S(p)&&(g[p]=null);else if(me(p)){const w=t;E(p,w.k)&&(p.value=null),w.k&&(c[w.k]=null)}}if(D(a))nn(a,l,12,[o,c]);else{const w=oe(a),A=me(a);if(w||A){const N=()=>{if(e.f){const B=w?S(a)?g[a]:c[a]:E()||!e.k?a.value:c[e.k];if(i)R(B)&&hs(B,r);else if(R(B))B.includes(r)||B.push(r);else if(w)c[a]=[r],S(a)&&(g[a]=c[a]);else{const V=[r];E(a,e.k)&&(a.value=V),e.k&&(c[e.k]=V)}}else w?(c[a]=o,S(a)&&(g[a]=o)):A&&(E(a,e.k)&&(a.value=o),e.k&&(c[e.k]=o))};if(o){const B=()=>{N(),yn.delete(e)};B.id=-1,yn.set(e,B),we(B,n)}else js(e),N()}}}function js(e){const t=yn.get(e);t&&(t.flags|=8,yn.delete(e))}Mn().requestIdleCallback;Mn().cancelIdleCallback;const Ut=e=>!!e.type.__asyncLoader,An=e=>e.type.__isKeepAlive;function Lo(e,t){ir(e,"a",t)}function Po(e,t){ir(e,"da",t)}function ir(e,t,n=xe){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(Ln(t,s,n),n){let i=n.parent;for(;i&&i.parent;)An(i.parent.vnode)&&Oo(s,t,n,i),i=i.parent}}function Oo(e,t,n,s){const i=Ln(t,e,s,!0);Ms(()=>{hs(s[t],i)},n)}function Ln(e,t,n=xe,s=!1){if(n){const i=n[e]||(n[e]=[]),r=t.__weh||(t.__weh=(...o)=>{nt();const l=sn(n),a=Ie(t,n,e,o);return l(),st(),a});return s?i.unshift(r):i.push(r),r}}const rt=e=>(t,n=xe)=>{(!Qt||e==="sp")&&Ln(e,(...s)=>t(...s),n)},Io=rt("bm"),Ts=rt("m"),Ro=rt("bu"),Fo=rt("u"),rr=rt("bum"),Ms=rt("um"),No=rt("sp"),Bo=rt("rtg"),Do=rt("rtc");function Ho(e,t=xe){Ln("ec",e,t)}const jo=Symbol.for("v-ndc");function ct(e,t,n,s){let i;const r=n,o=R(e);if(o||oe(e)){const l=o&&_t(e);let a=!1,p=!1;l&&(a=!Ee(e),p=it(e),e=$n(e)),i=new Array(e.length);for(let c=0,g=e.length;ct(l,a,void 0,r));else{const l=Object.keys(e);i=new Array(l.length);for(let a=0,p=l.length;ae?Tr(e)?In(e):rs(e.parent):null,Wt=de(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=>rs(e.parent),$root:e=>rs(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>lr(e),$forceUpdate:e=>e.f||(e.f=()=>{Ss(e.update)}),$nextTick:e=>e.n||(e.n=_o.bind(e.proxy)),$watch:e=>To.bind(e)}),Wn=(e,t)=>e!==te&&!e.__isScriptSetup&&z(e,t),Vo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:r,accessCache:o,type:l,appContext:a}=e;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return r[t]}else{if(Wn(s,t))return o[t]=1,s[t];if(i!==te&&z(i,t))return o[t]=2,i[t];if(z(r,t))return o[t]=3,r[t];if(n!==te&&z(n,t))return o[t]=4,n[t];os&&(o[t]=0)}}const p=Wt[t];let c,g;if(p)return t==="$attrs"&&ve(e.attrs,"get",""),p(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==te&&z(n,t))return o[t]=4,n[t];if(g=a.config.globalProperties,z(g,t))return g[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:r}=e;return Wn(i,t)?(i[t]=n,!0):s!==te&&z(s,t)?(s[t]=n,!0):z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,props:r,type:o}},l){let a;return!!(n[l]||e!==te&&l[0]!=="$"&&z(e,l)||Wn(t,l)||z(r,l)||z(s,l)||z(Wt,l)||z(i.config.globalProperties,l)||(a=o.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:z(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Vs(e){return R(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let os=!0;function Ko(e){const t=lr(e),n=e.proxy,s=e.ctx;os=!1,t.beforeCreate&&Ks(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:a,inject:p,created:c,beforeMount:g,mounted:_,beforeUpdate:S,updated:E,activated:w,deactivated:A,beforeDestroy:N,beforeUnmount:B,destroyed:V,unmounted:L,render:W,renderTracked:re,renderTriggered:he,errorCaptured:J,serverPrefetch:H,expose:G,inheritAttrs:ne,components:M,directives:X,filters:fe}=t;if(p&&Uo(p,s,null),o)for(const Z in o){const Y=o[Z];D(Y)&&(s[Z]=Y.bind(n))}if(i){const Z=i.call(n,n);q(Z)&&(e.data=ws(Z))}if(os=!0,r)for(const Z in r){const Y=r[Z],Ge=D(Y)?Y.bind(n,n):D(Y.get)?Y.get.bind(n,n):Ue,wt=!D(Y)&&D(Y.set)?Y.set.bind(n):Ue,ze=at({get:Ge,set:wt});Object.defineProperty(s,Z,{enumerable:!0,configurable:!0,get:()=>ze.value,set:Te=>ze.value=Te})}if(l)for(const Z in l)or(l[Z],s,n,Z);if(a){const Z=D(a)?a.call(n):a;Reflect.ownKeys(Z).forEach(Y=>{Co(Y,Z[Y])})}c&&Ks(c,e,"c");function le(Z,Y){R(Y)?Y.forEach(Ge=>Z(Ge.bind(n))):Y&&Z(Y.bind(n))}if(le(Io,g),le(Ts,_),le(Ro,S),le(Fo,E),le(Lo,w),le(Po,A),le(Ho,J),le(Do,re),le(Bo,he),le(rr,B),le(Ms,L),le(No,H),R(G))if(G.length){const Z=e.exposed||(e.exposed={});G.forEach(Y=>{Object.defineProperty(Z,Y,{get:()=>n[Y],set:Ge=>n[Y]=Ge,enumerable:!0})})}else e.exposed||(e.exposed={});W&&e.render===Ue&&(e.render=W),ne!=null&&(e.inheritAttrs=ne),M&&(e.components=M),X&&(e.directives=X),H&&sr(e)}function Uo(e,t,n=Ue){R(e)&&(e=ls(e));for(const s in e){const i=e[s];let r;q(i)?"default"in i?r=dn(i.from||s,i.default,!0):r=dn(i.from||s):r=dn(i),me(r)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[s]=r}}function Ks(e,t,n){Ie(R(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function or(e,t,n,s){let i=s.includes(".")?Yi(n,s):()=>n[s];if(oe(e)){const r=t[e];D(r)&&Kn(i,r)}else if(D(e))Kn(i,e.bind(n));else if(q(e))if(R(e))e.forEach(r=>or(r,t,n,s));else{const r=D(e.handler)?e.handler.bind(n):t[e.handler];D(r)&&Kn(i,r,e)}}function lr(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let a;return l?a=l:!i.length&&!n&&!s?a=t:(a={},i.length&&i.forEach(p=>_n(a,p,o,!0)),_n(a,t,o)),q(t)&&r.set(t,a),a}function _n(e,t,n,s=!1){const{mixins:i,extends:r}=t;r&&_n(e,r,n,!0),i&&i.forEach(o=>_n(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const l=Wo[o]||n&&n[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const Wo={data:Us,props:Ws,emits:Ws,methods:Bt,computed:Bt,beforeCreate:be,created:be,beforeMount:be,mounted:be,beforeUpdate:be,updated:be,beforeDestroy:be,beforeUnmount:be,destroyed:be,unmounted:be,activated:be,deactivated:be,errorCaptured:be,serverPrefetch:be,components:Bt,directives:Bt,watch:zo,provide:Us,inject:Go};function Us(e,t){return t?e?function(){return de(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function Go(e,t){return Bt(ls(e),ls(t))}function ls(e){if(R(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Le(t)}Modifiers`]||e[`${xt(t)}Modifiers`];function Xo(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||te;let i=n;const r=t.startsWith("update:"),o=r&&Yo(s,t.slice(7));o&&(o.trim&&(i=n.map(c=>oe(c)?c.trim():c)),o.number&&(i=n.map(gs)));let l,a=s[l=Bn(t)]||s[l=Bn(Le(t))];!a&&r&&(a=s[l=Bn(xt(t))]),a&&Ie(a,e,6,i);const p=s[l+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Ie(p,e,6,i)}}const Zo=new WeakMap;function cr(e,t,n=!1){const s=n?Zo:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!D(e)){const a=p=>{const c=cr(p,t,!0);c&&(l=!0,de(o,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!r&&!l?(q(e)&&s.set(e,null),null):(R(r)?r.forEach(a=>o[a]=null):de(o,r),q(e)&&s.set(e,o),o)}function Pn(e,t){return!e||!kn(t)?!1:(t=t.slice(2).replace(/Once$/,""),z(e,t[0].toLowerCase()+t.slice(1))||z(e,xt(t))||z(e,t))}function Gs(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:a,render:p,renderCache:c,props:g,data:_,setupState:S,ctx:E,inheritAttrs:w}=e,A=bn(e);let N,B;try{if(n.shapeFlag&4){const L=i||s,W=L;N=Ve(p.call(W,L,c,g,S,_,E)),B=l}else{const L=t;N=Ve(L.length>1?L(g,{attrs:l,slots:o,emit:a}):L(g,null)),B=t.props?l:Qo(l)}}catch(L){Gt.length=0,En(L,e,1),N=ue(_e)}let V=N;if(B&&w!==!1){const L=Object.keys(B),{shapeFlag:W}=V;L.length&&W&7&&(r&&L.some(Sn)&&(B=el(B,r)),V=ft(V,B,!1,!0))}return n.dirs&&(V=ft(V,null,!1,!0),V.dirs=V.dirs?V.dirs.concat(n.dirs):n.dirs),n.transition&&Xt(V,n.transition),N=V,bn(A),N}const Qo=e=>{let t;for(const n in e)(n==="class"||n==="style"||kn(n))&&((t||(t={}))[n]=e[n]);return t},el=(e,t)=>{const n={};for(const s in e)(!Sn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function tl(e,t,n){const{props:s,children:i,component:r}=e,{props:o,children:l,patchFlag:a}=t,p=r.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?zs(s,o,p):!!o;if(a&8){const c=t.dynamicProps;for(let g=0;gObject.create(fr),hr=e=>Object.getPrototypeOf(e)===fr;function sl(e,t,n,s=!1){const i={},r=dr();e.propsDefaults=Object.create(null),pr(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);n?e.props=s?i:ao(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function il(e,t,n,s){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=U(i),[a]=e.propsOptions;let p=!1;if((s||o>0)&&!(o&16)){if(o&8){const c=e.vnode.dynamicProps;for(let g=0;g{a=!0;const[_,S]=gr(g,t,!0);de(o,_),S&&l.push(...S)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!r&&!a)return q(e)&&s.set(e,Mt),Mt;if(R(r))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",Es=e=>R(e)?e.map(Ve):[Ve(e)],ol=(e,t,n)=>{if(t._n)return t;const s=fn((...i)=>Es(t(...i)),n);return s._c=!1,s},vr=(e,t,n)=>{const s=e._ctx;for(const i in e){if($s(i))continue;const r=e[i];if(D(r))t[i]=ol(i,r,s);else if(r!=null){const o=Es(r);t[i]=()=>o}}},mr=(e,t)=>{const n=Es(t);e.slots.default=()=>n},br=(e,t,n)=>{for(const s in t)(n||!$s(s))&&(e[s]=t[s])},ll=(e,t,n)=>{const s=e.slots=dr();if(e.vnode.shapeFlag&32){const i=t._;i?(br(s,t,n),n&&Si(s,"_",i,!0)):vr(t,s)}else t&&mr(e,t)},al=(e,t,n)=>{const{vnode:s,slots:i}=e;let r=!0,o=te;if(s.shapeFlag&32){const l=t._;l?n&&l===1?r=!1:br(i,t,n):(r=!t.$stable,vr(t,i)),o=t}else t&&(mr(e,t),o={default:1});if(r)for(const l in i)!$s(l)&&o[l]==null&&delete i[l]},we=hl;function cl(e){return ul(e)}function ul(e,t){const n=Mn();n.__VUE__=!0;const{insert:s,remove:i,patchProp:r,createElement:o,createText:l,createComment:a,setText:p,setElementText:c,parentNode:g,nextSibling:_,setScopeId:S=Ue,insertStaticContent:E}=e,w=(f,u,d,v=null,m=null,b=null,k=void 0,C=null,x=!!u.dynamicChildren)=>{if(f===u)return;f&&!bt(f,u)&&(v=Ct(f),Te(f,m,b,!0),f=null),u.patchFlag===-2&&(x=!1,u.dynamicChildren=null);const{type:y,ref:I,shapeFlag:T}=u;switch(y){case On:A(f,u,d,v);break;case _e:N(f,u,d,v);break;case hn:f==null&&B(u,d,v,k);break;case ce:M(f,u,d,v,m,b,k,C,x);break;default:T&1?W(f,u,d,v,m,b,k,C,x):T&6?X(f,u,d,v,m,b,k,C,x):(T&64||T&128)&&y.process(f,u,d,v,m,b,k,C,x,qe)}I!=null&&m?Kt(I,f&&f.ref,b,u||f,!u):I==null&&f&&f.ref!=null&&Kt(f.ref,null,b,f,!0)},A=(f,u,d,v)=>{if(f==null)s(u.el=l(u.children),d,v);else{const m=u.el=f.el;u.children!==f.children&&p(m,u.children)}},N=(f,u,d,v)=>{f==null?s(u.el=a(u.children||""),d,v):u.el=f.el},B=(f,u,d,v)=>{[f.el,f.anchor]=E(f.children,u,d,v,f.el,f.anchor)},V=({el:f,anchor:u},d,v)=>{let m;for(;f&&f!==u;)m=_(f),s(f,d,v),f=m;s(u,d,v)},L=({el:f,anchor:u})=>{let d;for(;f&&f!==u;)d=_(f),i(f),f=d;i(u)},W=(f,u,d,v,m,b,k,C,x)=>{if(u.type==="svg"?k="svg":u.type==="math"&&(k="mathml"),f==null)re(u,d,v,m,b,k,C,x);else{const y=f.el&&f.el._isVueCE?f.el:null;try{y&&y._beginPatch(),H(f,u,m,b,k,C,x)}finally{y&&y._endPatch()}}},re=(f,u,d,v,m,b,k,C)=>{let x,y;const{props:I,shapeFlag:T,transition:P,dirs:F}=f;if(x=f.el=o(f.type,b,I&&I.is,I),T&8?c(x,f.children):T&16&&J(f.children,x,null,v,m,Gn(f,b),k,C),F&&ht(f,null,v,"created"),he(x,f,f.scopeId,k,v),I){for(const Q in I)Q!=="value"&&!Ht(Q)&&r(x,Q,null,I[Q],b,v);"value"in I&&r(x,"value",null,I.value,b),(y=I.onVnodeBeforeMount)&&Be(y,v,f)}F&&ht(f,null,v,"beforeMount");const K=fl(m,P);K&&P.beforeEnter(x),s(x,u,d),((y=I&&I.onVnodeMounted)||K||F)&&we(()=>{try{y&&Be(y,v,f),K&&P.enter(x),F&&ht(f,null,v,"mounted")}finally{}},m)},he=(f,u,d,v,m)=>{if(d&&S(f,d),v)for(let b=0;b{for(let y=x;y{const C=u.el=f.el;let{patchFlag:x,dynamicChildren:y,dirs:I}=u;x|=f.patchFlag&16;const T=f.props||te,P=u.props||te;let F;if(d&&pt(d,!1),(F=P.onVnodeBeforeUpdate)&&Be(F,d,u,f),I&&ht(u,f,d,"beforeUpdate"),d&&pt(d,!0),(T.innerHTML&&P.innerHTML==null||T.textContent&&P.textContent==null)&&c(C,""),y?G(f.dynamicChildren,y,C,d,v,Gn(u,m),b):k||Y(f,u,C,null,d,v,Gn(u,m),b,!1),x>0){if(x&16)ne(C,T,P,d,m);else if(x&2&&T.class!==P.class&&r(C,"class",null,P.class,m),x&4&&r(C,"style",T.style,P.style,m),x&8){const K=u.dynamicProps;for(let Q=0;Q{F&&Be(F,d,u,f),I&&ht(u,f,d,"updated")},v)},G=(f,u,d,v,m,b,k)=>{for(let C=0;C{if(u!==d){if(u!==te)for(const b in u)!Ht(b)&&!(b in d)&&r(f,b,u[b],null,m,v);for(const b in d){if(Ht(b))continue;const k=d[b],C=u[b];k!==C&&b!=="value"&&r(f,b,C,k,m,v)}"value"in d&&r(f,"value",u.value,d.value,m)}},M=(f,u,d,v,m,b,k,C,x)=>{const y=u.el=f?f.el:l(""),I=u.anchor=f?f.anchor:l("");let{patchFlag:T,dynamicChildren:P,slotScopeIds:F}=u;F&&(C=C?C.concat(F):F),f==null?(s(y,d,v),s(I,d,v),J(u.children||[],d,I,m,b,k,C,x)):T>0&&T&64&&P&&f.dynamicChildren&&f.dynamicChildren.length===P.length?(G(f.dynamicChildren,P,d,m,b,k,C),(u.key!=null||m&&u===m.subTree)&&yr(f,u,!0)):Y(f,u,d,I,m,b,k,C,x)},X=(f,u,d,v,m,b,k,C,x)=>{u.slotScopeIds=C,f==null?u.shapeFlag&512?m.ctx.activate(u,d,v,k,x):fe(u,d,v,m,b,k,x):Ae(f,u,x)},fe=(f,u,d,v,m,b,k)=>{const C=f.component=_l(f,v,m);if(An(f)&&(C.ctx.renderer=qe),xl(C,!1,k),C.asyncDep){if(m&&m.registerDep(C,le,k),!f.el){const x=C.subTree=ue(_e);N(null,x,u,d),f.placeholder=x.el}}else le(C,f,u,d,m,b,k)},Ae=(f,u,d)=>{const v=u.component=f.component;if(tl(f,u,d))if(v.asyncDep&&!v.asyncResolved){Z(v,u,d);return}else v.next=u,v.update();else u.el=f.el,v.vnode=u},le=(f,u,d,v,m,b,k)=>{const C=()=>{if(f.isMounted){let{next:T,bu:P,u:F,parent:K,vnode:Q}=f;{const Fe=_r(f);if(Fe){T&&(T.el=Q.el,Z(f,T,k)),Fe.asyncDep.then(()=>{we(()=>{f.isUnmounted||y()},m)});return}}let se=T,ae;pt(f,!1),T?(T.el=Q.el,Z(f,T,k)):T=Q,P&&un(P),(ae=T.props&&T.props.onVnodeBeforeUpdate)&&Be(ae,K,T,Q),pt(f,!0);const pe=Gs(f),Re=f.subTree;f.subTree=pe,w(Re,pe,g(Re.el),Ct(Re),f,m,b),T.el=pe.el,se===null&&nl(f,pe.el),F&&we(F,m),(ae=T.props&&T.props.onVnodeUpdated)&&we(()=>Be(ae,K,T,Q),m)}else{let T;const{el:P,props:F}=u,{bm:K,m:Q,parent:se,root:ae,type:pe}=f,Re=Ut(u);pt(f,!1),K&&un(K),!Re&&(T=F&&F.onVnodeBeforeMount)&&Be(T,se,u),pt(f,!0);{ae.ce&&ae.ce._hasShadowRoot()&&ae.ce._injectChildStyle(pe,f.parent?f.parent.type:void 0);const Fe=f.subTree=Gs(f);w(null,Fe,d,v,f,m,b),u.el=Fe.el}if(Q&&we(Q,m),!Re&&(T=F&&F.onVnodeMounted)){const Fe=u;we(()=>Be(T,se,Fe),m)}(u.shapeFlag&256||se&&Ut(se.vnode)&&se.vnode.shapeFlag&256)&&f.a&&we(f.a,m),f.isMounted=!0,u=d=v=null}};f.scope.on();const x=f.effect=new Ei(C);f.scope.off();const y=f.update=x.run.bind(x),I=f.job=x.runIfDirty.bind(x);I.i=f,I.id=f.uid,x.scheduler=()=>Ss(I),pt(f,!0),y()},Z=(f,u,d)=>{u.component=f;const v=f.vnode.props;f.vnode=u,f.next=null,il(f,u.props,v,d),al(f,u.children,d),nt(),Bs(f),st()},Y=(f,u,d,v,m,b,k,C,x=!1)=>{const y=f&&f.children,I=f?f.shapeFlag:0,T=u.children,{patchFlag:P,shapeFlag:F}=u;if(P>0){if(P&128){wt(y,T,d,v,m,b,k,C,x);return}else if(P&256){Ge(y,T,d,v,m,b,k,C,x);return}}F&8?(I&16&&dt(y,m,b),T!==y&&c(d,T)):I&16?F&16?wt(y,T,d,v,m,b,k,C,x):dt(y,m,b,!0):(I&8&&c(d,""),F&16&&J(T,d,v,m,b,k,C,x))},Ge=(f,u,d,v,m,b,k,C,x)=>{f=f||Mt,u=u||Mt;const y=f.length,I=u.length,T=Math.min(y,I);let P;for(P=0;PI?dt(f,m,b,!0,!1,T):J(u,d,v,m,b,k,C,x,T)},wt=(f,u,d,v,m,b,k,C,x)=>{let y=0;const I=u.length;let T=f.length-1,P=I-1;for(;y<=T&&y<=P;){const F=f[y],K=u[y]=x?Ze(u[y]):Ve(u[y]);if(bt(F,K))w(F,K,d,null,m,b,k,C,x);else break;y++}for(;y<=T&&y<=P;){const F=f[T],K=u[P]=x?Ze(u[P]):Ve(u[P]);if(bt(F,K))w(F,K,d,null,m,b,k,C,x);else break;T--,P--}if(y>T){if(y<=P){const F=P+1,K=FP)for(;y<=T;)Te(f[y],m,b,!0),y++;else{const F=y,K=y,Q=new Map;for(y=K;y<=P;y++){const ke=u[y]=x?Ze(u[y]):Ve(u[y]);ke.key!=null&&Q.set(ke.key,y)}let se,ae=0;const pe=P-K+1;let Re=!1,Fe=0;const It=new Array(pe);for(y=0;y=pe){Te(ke,m,b,!0);continue}let Ne;if(ke.key!=null)Ne=Q.get(ke.key);else for(se=K;se<=P;se++)if(It[se-K]===0&&bt(ke,u[se])){Ne=se;break}Ne===void 0?Te(ke,m,b,!0):(It[Ne-K]=y+1,Ne>=Fe?Fe=Ne:Re=!0,w(ke,u[Ne],d,null,m,b,k,C,x),ae++)}const Ls=Re?dl(It):Mt;for(se=Ls.length-1,y=pe-1;y>=0;y--){const ke=K+y,Ne=u[ke],Ps=u[ke+1],Os=ke+1{const{el:b,type:k,transition:C,children:x,shapeFlag:y}=f;if(y&6){ze(f.component.subTree,u,d,v);return}if(y&128){f.suspense.move(u,d,v);return}if(y&64){k.move(f,u,d,qe);return}if(k===ce){s(b,u,d);for(let T=0;TC.enter(b),m);else{const{leave:T,delayLeave:P,afterLeave:F}=C,K=()=>{f.ctx.isUnmounted?i(b):s(b,u,d)},Q=()=>{b._isLeaving&&b[He](!0),T(b,()=>{K(),F&&F()})};P?P(b,K,Q):Q()}else s(b,u,d)},Te=(f,u,d,v=!1,m=!1)=>{const{type:b,props:k,ref:C,children:x,dynamicChildren:y,shapeFlag:I,patchFlag:T,dirs:P,cacheIndex:F,memo:K}=f;if(T===-2&&(m=!1),C!=null&&(nt(),Kt(C,null,d,f,!0),st()),F!=null&&(u.renderCache[F]=void 0),I&256){u.ctx.deactivate(f);return}const Q=I&1&&P,se=!Ut(f);let ae;if(se&&(ae=k&&k.onVnodeBeforeUnmount)&&Be(ae,u,f),I&6)Fn(f.component,d,v);else{if(I&128){f.suspense.unmount(d,v);return}Q&&ht(f,null,u,"beforeUnmount"),I&64?f.type.remove(f,u,d,qe,v):y&&!y.hasOnce&&(b!==ce||T>0&&T&64)?dt(y,u,d,!1,!0):(b===ce&&T&384||!m&&I&16)&&dt(x,u,d),v&&rn(f)}const pe=K!=null&&F==null;(se&&(ae=k&&k.onVnodeUnmounted)||Q||pe)&&we(()=>{ae&&Be(ae,u,f),Q&&ht(f,null,u,"unmounted"),pe&&(f.el=null)},d)},rn=f=>{const{type:u,el:d,anchor:v,transition:m}=f;if(u===ce){Rn(d,v);return}if(u===hn){L(f);return}const b=()=>{i(d),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(f.shapeFlag&1&&m&&!m.persisted){const{leave:k,delayLeave:C}=m,x=()=>k(d,b);C?C(f.el,b,x):x()}else b()},Rn=(f,u)=>{let d;for(;f!==u;)d=_(f),i(f),f=d;i(u)},Fn=(f,u,d)=>{const{bum:v,scope:m,job:b,subTree:k,um:C,m:x,a:y}=f;Js(x),Js(y),v&&un(v),m.stop(),b&&(b.flags|=8,Te(k,f,u,d)),C&&we(C,u),we(()=>{f.isUnmounted=!0},u)},dt=(f,u,d,v=!1,m=!1,b=0)=>{for(let k=b;k{if(f.shapeFlag&6)return Ct(f.component.subTree);if(f.shapeFlag&128)return f.suspense.next();const u=_(f.anchor||f.el),d=u&&u[Mo];return d?_(d):u};let Ot=!1;const on=(f,u,d)=>{let v;f==null?u._vnode&&(Te(u._vnode,null,null,!0),v=u._vnode.component):w(u._vnode||null,f,u,null,null,null,d),u._vnode=f,Ot||(Ot=!0,Bs(v),Gi(),Ot=!1)},qe={p:w,um:Te,m:ze,r:rn,mt:fe,mc:J,pc:Y,pbc:G,n:Ct,o:e};return{render:on,hydrate:void 0,createApp:Jo(on)}}function Gn({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 pt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function fl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function yr(e,t,n=!1){const s=e.children,i=t.children;if(R(s)&&R(i))for(let r=0;r>1,e[n[l]]0&&(t[s]=n[r-1]),n[r]=s)}}for(r=n.length,o=n[r-1];r-- >0;)n[r]=o,o=t[o];return n}function _r(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:_r(t)}function Js(e){if(e)for(let t=0;te.__isSuspense;function hl(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):wo(e)}const ce=Symbol.for("v-fgt"),On=Symbol.for("v-txt"),_e=Symbol.for("v-cmt"),hn=Symbol.for("v-stc"),Gt=[];let Se=null;function $(e=!1){Gt.push(Se=e?null:[])}function pl(){Gt.pop(),Se=Gt[Gt.length-1]||null}let Zt=1;function xn(e,t=!1){Zt+=e,e<0&&Se&&t&&(Se.hasOnce=!0)}function Cr(e){return e.dynamicChildren=Zt>0?Se||Mt:null,pl(),Zt>0&&Se&&Se.push(e),e}function O(e,t,n,s,i,r){return Cr(h(e,t,n,s,i,r,!0))}function Dt(e,t,n,s,i){return Cr(ue(e,t,n,s,i,!0))}function wn(e){return e?e.__v_isVNode===!0:!1}function bt(e,t){return e.type===t.type&&e.key===t.key}const kr=({key:e})=>e??null,pn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?oe(e)||me(e)||D(e)?{i:$e,r:e,k:t,f:!!n}:e:null);function h(e,t=null,n=null,s=0,i=null,r=e===ce?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&kr(t),ref:t&&pn(t),scopeId:qi,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:r,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:$e};return l?(As(a,n),r&128&&e.normalize(a)):n&&(a.shapeFlag|=oe(n)?8:16),Zt>0&&!o&&Se&&(a.patchFlag>0||r&6)&&a.patchFlag!==32&&Se.push(a),a}const ue=gl;function gl(e,t=null,n=null,s=0,i=null,r=!1){if((!e||e===jo)&&(e=_e),wn(e)){const l=ft(e,t,!0);return n&&As(l,n),Zt>0&&!r&&Se&&(l.shapeFlag&6?Se[Se.indexOf(e)]=l:Se.push(l)),l.patchFlag=-2,l}if(Sl(e)&&(e=e.__vccOpts),t){t=vl(t);let{class:l,style:a}=t;l&&!oe(l)&&(t.class=ut(l)),q(a)&&(ks(a)&&!R(a)&&(a=de({},a)),t.style=Et(a))}const o=oe(e)?1:wr(e)?128:Xi(e)?64:q(e)?4:D(e)?2:0;return h(e,t,n,s,i,o,r,!0)}function vl(e){return e?ks(e)||hr(e)?de({},e):e:null}function ft(e,t,n=!1,s=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:a}=e,p=t?ml(i||{},t):i,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&kr(p),ref:t&&t.ref?n&&r?R(r)?r.concat(pn(t)):[r,pn(t)]:pn(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==ce?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ft(e.ssContent),ssFallback:e.ssFallback&&ft(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&Xt(c,a.clone(c)),c}function zt(e=" ",t=0){return ue(On,null,e,t)}function tt(e,t){const n=ue(hn,null,e);return n.staticCount=t,n}function ge(e="",t=!1){return t?($(),Dt(_e,null,e)):ue(_e,null,e)}function Ve(e){return e==null||typeof e=="boolean"?ue(_e):R(e)?ue(ce,null,e.slice()):wn(e)?Ze(e):ue(On,null,String(e))}function Ze(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:ft(e)}function As(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(R(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),As(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!hr(t)?t._ctx=$e:i===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else D(t)?(t={default:t,_ctx:$e},n=32):(t=String(t),s&64?(n=16,t=[zt(t)]):n=8);e.children=t,e.shapeFlag|=n}function ml(...e){const t={};for(let n=0;nxe||$e;let Cn,cs;{const e=Mn(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};Cn=t("__VUE_INSTANCE_SETTERS__",n=>xe=n),cs=t("__VUE_SSR_SETTERS__",n=>Qt=n)}const sn=e=>{const t=xe;return Cn(e),e.scope.on(),()=>{e.scope.off(),Cn(t)}},Ys=()=>{xe&&xe.scope.off(),Cn(null)};function Tr(e){return e.vnode.shapeFlag&4}let Qt=!1;function xl(e,t=!1,n=!1){t&&cs(t);const{props:s,children:i}=e.vnode,r=Tr(e);sl(e,s,r,t),ll(e,i,n||t);const o=r?wl(e,t):void 0;return t&&cs(!1),o}function wl(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Vo);const{setup:s}=n;if(s){nt();const i=e.setupContext=s.length>1?kl(e):null,r=sn(e),o=nn(s,e,0,[e.props,i]),l=xi(o);if(st(),r(),(l||e.sp)&&!Ut(e)&&sr(e),l){if(o.then(Ys,Ys),t)return o.then(a=>{Xs(e,a)}).catch(a=>{En(a,e,0)});e.asyncDep=o}else Xs(e,o)}else Mr(e)}function Xs(e,t,n){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:q(t)&&(e.setupState=Ki(t)),Mr(e)}function Mr(e,t,n){const s=e.type;e.render||(e.render=s.render||Ue);{const i=sn(e);nt();try{Ko(e)}finally{st(),i()}}}const Cl={get(e,t){return ve(e,"get",""),e[t]}};function kl(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,Cl),slots:e.slots,emit:e.emit,expose:t}}function In(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Ki(co(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in Wt)return Wt[n](e)},has(t,n){return n in t||n in Wt}})):e.proxy}function Sl(e){return D(e)&&"__vccOpts"in e}const at=(e,t)=>vo(e,t,Qt);function Tl(e,t,n){try{xn(-1);const s=arguments.length;return s===2?q(t)&&!R(t)?wn(t)?ue(e,null,[t]):ue(e,t):ue(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&wn(n)&&(n=[n]),ue(e,t,n))}finally{xn(1)}}const Ml="3.5.32";/** * @vue/runtime-dom v3.5.32 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let us;const Zs=typeof window<"u"&&window.trustedTypes;if(Zs)try{us=Zs.createPolicy("vue",{createHTML:e=>e})}catch{}const $r=us?e=>us.createHTML(e):e=>e,$l="http://www.w3.org/2000/svg",El="http://www.w3.org/1998/Math/MathML",Xe=typeof document<"u"?document:null,Qs=Xe&&Xe.createElement("template"),Al={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 i=t==="svg"?Xe.createElementNS($l,e):t==="mathml"?Xe.createElementNS(El,e):n?Xe.createElement(e,{is:n}):Xe.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>Xe.createTextNode(e),createComment:e=>Xe.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Xe.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,r){const o=n?n.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===r||!(i=i.nextSibling)););else{Qs.innerHTML=$r(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Qs.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[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ot="transition",Nt="animation",en=Symbol("_vtc"),Er={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},Ll=de({},Zi,Er),Pl=e=>(e.displayName="Transition",e.props=Ll,e),zn=Pl((e,{slots:t})=>Tl(Ao,Ol(e),t)),gt=(e,t=[])=>{R(e)?e.forEach(n=>n(...t)):e&&e(...t)},ei=e=>e?R(e)?e.some(t=>t.length>1):e.length>1:!1;function Ol(e){const t={};for(const M in e)M in Er||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:r=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:a=r,appearActiveClass:p=o,appearToClass:c=l,leaveFromClass:g=`${n}-leave-from`,leaveActiveClass:_=`${n}-leave-active`,leaveToClass:S=`${n}-leave-to`}=e,E=Il(i),w=E&&E[0],A=E&&E[1],{onBeforeEnter:N,onEnter:B,onEnterCancelled:V,onLeave:L,onLeaveCancelled:W,onBeforeAppear:re=N,onAppear:he=B,onAppearCancelled:J=V}=t,H=(M,X,fe,Ae)=>{M._enterCancelled=Ae,vt(M,X?c:l),vt(M,X?p:o),fe&&fe()},G=(M,X)=>{M._isLeaving=!1,vt(M,g),vt(M,S),vt(M,_),X&&X()},ne=M=>(X,fe)=>{const Ae=M?he:B,le=()=>H(X,M,fe);gt(Ae,[X,le]),ti(()=>{vt(X,M?a:r),Ye(X,M?c:l),ei(Ae)||ni(X,s,w,le)})};return de(t,{onBeforeEnter(M){gt(N,[M]),Ye(M,r),Ye(M,o)},onBeforeAppear(M){gt(re,[M]),Ye(M,a),Ye(M,p)},onEnter:ne(!1),onAppear:ne(!0),onLeave(M,X){M._isLeaving=!0;const fe=()=>G(M,X);Ye(M,g),M._enterCancelled?(Ye(M,_),ri(M)):(ri(M),Ye(M,_)),ti(()=>{M._isLeaving&&(vt(M,g),Ye(M,S),ei(L)||ni(M,s,A,fe))}),gt(L,[M,fe])},onEnterCancelled(M){H(M,!1,void 0,!0),gt(V,[M])},onAppearCancelled(M){H(M,!0,void 0,!0),gt(J,[M])},onLeaveCancelled(M){G(M),gt(W,[M])}})}function Il(e){if(e==null)return null;if(q(e))return[qn(e.enter),qn(e.leave)];{const t=qn(e);return[t,t]}}function qn(e){return Ir(e)}function Ye(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[en]||(e[en]=new Set)).add(t)}function vt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[en];n&&(n.delete(t),n.size||(e[en]=void 0))}function ti(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Rl=0;function ni(e,t,n,s){const i=e._endId=++Rl,r=()=>{i===e._endId&&s()};if(n!=null)return setTimeout(r,n);const{type:o,timeout:l,propCount:a}=Fl(e,t);if(!o)return s();const p=o+"end";let c=0;const g=()=>{e.removeEventListener(p,_),r()},_=S=>{S.target===e&&++c>=a&&g()};setTimeout(()=>{c(n[E]||"").split(", "),i=s(`${ot}Delay`),r=s(`${ot}Duration`),o=si(i,r),l=s(`${Nt}Delay`),a=s(`${Nt}Duration`),p=si(l,a);let c=null,g=0,_=0;t===ot?o>0&&(c=ot,g=o,_=r.length):t===Nt?p>0&&(c=Nt,g=p,_=a.length):(g=Math.max(o,p),c=g>0?o>p?ot:Nt:null,_=c?c===ot?r.length:a.length:0);const S=c===ot&&/\b(?:transform|all)(?:,|$)/.test(s(`${ot}Property`).toString());return{type:c,timeout:g,propCount:_,hasTransform:S}}function si(e,t){for(;e.lengthii(n)+ii(e[s])))}function ii(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function ri(e){return(e?e.ownerDocument:document).body.offsetHeight}function Nl(e,t,n){const s=e[en];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const oi=Symbol("_vod"),Bl=Symbol("_vsh"),Dl=Symbol(""),Hl=/(?:^|;)\s*display\s*:/;function jl(e,t,n){const s=e.style,i=oe(n);let r=!1;if(n&&!i){if(t)if(oe(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();n[l]==null&&gn(s,l,"")}else for(const o in t)n[o]==null&&gn(s,o,"");for(const o in n)o==="display"&&(r=!0),gn(s,o,n[o])}else if(i){if(t!==n){const o=s[Dl];o&&(n+=";"+o),s.cssText=n,r=Hl.test(n)}}else t&&e.removeAttribute("style");oi in e&&(e[oi]=r?s.display:"",e[Bl]&&(s.display="none"))}const li=/\s*!important$/;function gn(e,t,n){if(R(n))n.forEach(s=>gn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Vl(e,t);li.test(n)?e.setProperty(xt(s),n.replace(li,""),"important"):e[s]=n}}const ai=["Webkit","Moz","ms"],Jn={};function Vl(e,t){const n=Jn[t];if(n)return n;let s=Le(t);if(s!=="filter"&&s in e)return Jn[t]=s;s=ki(s);for(let i=0;iYn||(Gl.then(()=>Yn=0),Yn=Date.now());function ql(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ie(Jl(s,n.value),t,5,[s])};return n.value=e,n.attached=zl(),n}function Jl(e,t){if(R(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map(s=>i=>!i._stopped&&s&&s(i))}else return t}const pi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Yl=(e,t,n,s,i,r)=>{const o=i==="svg";t==="class"?Nl(e,s,o):t==="style"?jl(e,n,s):kn(t)?Sn(t)||Ul(e,t,n,s,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Xl(e,t,s,o))?(fi(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ui(e,t,s,o,r,t!=="value")):e._isVueCE&&(Zl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!oe(s)))?fi(e,Le(t),s,r,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ui(e,t,s,o))};function Xl(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&pi(t)&&D(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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return pi(t)&&oe(n)?!1:t in e}function Zl(e,t){const n=e._def.props;if(!n)return!1;const s=Le(t);return Array.isArray(n)?n.some(i=>Le(i)===s):Object.keys(n).some(i=>Le(i)===s)}const gi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?n=>un(t,n):t};function Ql(e){e.target.composing=!0}function vi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Xn=Symbol("_assign");function mi(e,t,n){return t&&(e=e.trim()),n&&(e=gs(e)),e}const fs={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[Xn]=gi(i);const r=s||i.props&&i.props.type==="number";Tt(e,t?"change":"input",o=>{o.target.composing||e[Xn](mi(e.value,n,r))}),(n||r)&&Tt(e,"change",()=>{e.value=mi(e.value,n,r)}),t||(Tt(e,"compositionstart",Ql),Tt(e,"compositionend",vi),Tt(e,"change",vi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:r}},o){if(e[Xn]=gi(o),e.composing)return;const l=(r||e.type==="number")&&!/^0\d/.test(e.value)?gs(e.value):e.value,a=t??"";if(l===a)return;const p=e.getRootNode();(p instanceof Document||p instanceof ShadowRoot)&&p.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===a)||(e.value=a)}},ea=["ctrl","shift","alt","meta"],ta={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)=>ea.some(n=>e[`${n}Key`]&&!t.includes(n))},na=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...r)=>{for(let o=0;o{const t=ia().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=la(s);if(!i)return;const r=t._component;!D(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,oa(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function oa(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function la(e){return oe(e)?document.querySelector(e):e}const aa={class:"stat-grid"},ca={class:"stat-card"},ua={class:"stat-value"},fa={class:"stat-card"},da={class:"stat-value"},ha={class:"stat-card"},pa={class:"stat-value"},ga={class:"stat-card"},va={class:"stat-value"},ma={__name:"DashboardTab",props:{factionLabel:{type:String,default:""},factionImage:{type:String,default:""},playerGrade:{type:Number,default:0},grades:{type:Array,default:()=>[]},treasury:{type:Object,default:()=>({money:0,black_money:0})},totalMembers:{type:Number,default:0},onlineMembers:{type:Number,default:0}},setup(e){function t(n){return(n||0).toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}return(n,s)=>($(),O("div",null,[h("div",aa,[h("div",ca,[s[0]||(s[0]=h("div",{class:"stat-icon"},[h("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("line",{x1:"12",y1:"1",x2:"12",y2:"23"}),h("path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"})])],-1)),h("div",ua,"$"+j(t(e.treasury.money)),1),s[1]||(s[1]=h("div",{class:"stat-label"},"Bargeld",-1))]),h("div",fa,[s[2]||(s[2]=h("div",{class:"stat-icon"},[h("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),h("path",{d:"M12 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4z"})])],-1)),h("div",da,"$"+j(t(e.treasury.black_money)),1),s[3]||(s[3]=h("div",{class:"stat-label"},"Schwarzgeld",-1))]),h("div",ha,[s[4]||(s[4]=tt('
',1)),h("div",pa,j(e.totalMembers),1),s[5]||(s[5]=h("div",{class:"stat-label"},"Mitglieder",-1))]),h("div",ga,[s[6]||(s[6]=tt('
',1)),h("div",va,j(e.onlineMembers),1),s[7]||(s[7]=h("div",{class:"stat-label"},"Online",-1))])])]))}},ba={class:"confirm-box"},ya={class:"confirm-actions"},_a={__name:"ConfirmModal",props:{visible:{type:Boolean,default:!1},title:{type:String,default:"Bestaetigung"},message:{type:String,default:"Bist du sicher?"}},emits:["confirm","cancel"],setup(e){return(t,n)=>e.visible?($(),O("div",{key:0,class:"confirm-overlay",onClick:n[2]||(n[2]=na(s=>t.$emit("cancel"),["self"]))},[h("div",ba,[h("h3",null,j(e.title),1),h("p",null,j(e.message),1),h("div",ya,[h("button",{class:"frak-btn small red",onClick:n[0]||(n[0]=s=>t.$emit("cancel"))},"Abbrechen"),h("button",{class:"frak-btn small",onClick:n[1]||(n[1]=s=>t.$emit("confirm"))},"Bestaetigen")])])])):ge("",!0)}},xa={class:"row",style:{"margin-bottom":"10px"}},wa={key:0},Ca={key:0,class:"empty-state"},ka={key:1,class:"scrollable-list",style:{"max-height":"150px","margin-bottom":"10px"}},Sa={class:"member-avatar"},Ta={class:"listing-card-info"},Ma={class:"listing-name"},$a={class:"listing-meta"},Ea=["onClick"],Aa={class:"search-bar"},La={key:1,class:"scrollable-list"},Pa={class:"member-avatar"},Oa={class:"listing-card-info"},Ia={class:"listing-name"},Ra={class:"listing-meta"},Fa={key:0,class:"listing-card-actions"},Na=["value","onChange"],Ba=["value"],Da=["onClick"],Ha={key:2,class:"empty-state"},ja={key:0,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},Va={key:1,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},Ka={__name:"MembersTab",props:{members:{type:Array,default:()=>[]},grades:{type:Array,default:()=>[]},playerGrade:{type:Number,default:0},permissions:{type:Object,default:()=>({})},nearbyPlayers:{type:Array,default:()=>[]}},emits:["loadMembers","loadNearby","invite","kick","changeRank"],setup(e,{emit:t}){const n=e,s=t,i=ee(""),r=ee(!1),o=ee(null),l=at(()=>n.grades.filter(E=>E.grade{if(!i.value.trim())return n.members;const E=i.value.toLowerCase();return n.members.filter(w=>w.name.toLowerCase().includes(E))});function p(){r.value=!r.value,r.value&&s("loadNearby")}function c(E){s("invite",{targetSource:E}),r.value=!1}function g(E){o.value=E}function _(){o.value&&(s("kick",{identifier:o.value.identifier}),o.value=null)}function S(E,w){s("changeRank",{identifier:E,grade:parseInt(w)})}return(E,w)=>($(),O("div",null,[h("div",xa,[h("button",{class:"frak-btn ghost",onClick:w[0]||(w[0]=A=>E.$emit("loadMembers"))},[...w[3]||(w[3]=[h("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("path",{d:"M23 4v6h-6"}),h("path",{d:"M1 20v-6h6"}),h("path",{d:"M3.51 9a9 9 0 0 1 14.85-3.36L23 10M1 14l4.64 4.36A9 9 0 0 0 20.49 15"})],-1),zt(" Aktualisieren ",-1)])]),e.permissions.inviteMember?($(),O("button",{key:0,class:"frak-btn",onClick:p},[...w[4]||(w[4]=[tt(' Einladen ',2)])])):ge("",!0)]),r.value?($(),O("div",wa,[w[6]||(w[6]=h("div",{class:"section-title"},"Spieler in der Naehe",-1)),e.nearbyPlayers.length===0?($(),O("div",Ca,[...w[5]||(w[5]=[h("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},[h("path",{d:"M21 10c0 7-9 13-9 13s-9-6-9-13a9 9 0 0 1 18 0z"}),h("circle",{cx:"12",cy:"10",r:"3"})],-1),h("span",null,"Keine Spieler in der Naehe",-1)])])):($(),O("div",ka,[($(!0),O(ce,null,ct(e.nearbyPlayers,A=>($(),O("div",{key:A.source,class:"listing-card"},[h("div",Sa,j(A.name.charAt(0)),1),h("div",Ta,[h("div",Ma,j(A.name),1),h("div",$a,j(A.job),1)]),h("button",{class:"listing-action-btn",onClick:N=>c(A.source)},"Einladen",8,Ea)]))),128))]))])):ge("",!0),h("div",Aa,[w[7]||(w[7]=h("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("circle",{cx:"11",cy:"11",r:"8"}),h("path",{d:"m21 21-4.35-4.35"})],-1)),ss(h("input",{type:"text","onUpdate:modelValue":w[1]||(w[1]=A=>i.value=A),placeholder:"Mitglied suchen..."},null,512),[[fs,i.value]])]),a.value.length?($(),O("div",La,[($(!0),O(ce,null,ct(a.value,A=>($(),O("div",{key:A.identifier,class:"listing-card"},[h("div",{class:ut(["online-badge",A.online?"online":"offline"])},null,2),h("div",Pa,j(A.name.charAt(0)),1),h("div",Oa,[h("div",Ia,j(A.name),1),h("div",Ra,j(A.grade_label)+" (Rang "+j(A.grade)+")",1)]),A.gradeS(A.identifier,N.target.value)},[($(!0),O(ce,null,ct(l.value,N=>($(),O("option",{key:N.grade,value:N.grade},j(N.label),9,Ba))),128))],40,Na)):ge("",!0),e.permissions.kickMember?($(),O("button",{key:1,class:"listing-action-btn danger",onClick:N=>g(A)},"Kick",8,Da)):ge("",!0)])):ge("",!0)]))),128))])):($(),O("div",Ha,[e.members.length===0?($(),O("svg",ja,[...w[8]||(w[8]=[h("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"},null,-1),h("circle",{cx:"9",cy:"7",r:"4"},null,-1),h("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"},null,-1),h("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"},null,-1)])])):($(),O("svg",Va,[...w[9]||(w[9]=[h("circle",{cx:"11",cy:"11",r:"8"},null,-1),h("path",{d:"m21 21-4.35-4.35"},null,-1),h("line",{x1:"8",y1:"11",x2:"14",y2:"11"},null,-1)])])),h("span",null,j(e.members.length===0?'Klicke "Aktualisieren" um Mitglieder zu laden':"Kein Mitglied gefunden"),1)])),ue(_a,{visible:o.value!==null,title:"Mitglied Entlassen",message:"Willst du "+(o.value?o.value.name:"")+" wirklich entlassen?",onConfirm:_,onCancel:w[2]||(w[2]=A=>o.value=null)},null,8,["visible","message"])]))}},Ua={class:"stat-grid",style:{"grid-template-columns":"1fr 1fr","margin-bottom":"20px"}},Wa={class:"stat-card"},Ga={class:"stat-value"},za={class:"stat-card"},qa={class:"stat-value"},Ja={class:"treasury-grid"},Ya={key:0,class:"treasury-section"},Xa={class:"row mt-md"},Za=["disabled"],Qa=["disabled"],ec={key:1,class:"treasury-section"},tc={class:"row mt-md"},nc=["disabled"],sc=["disabled"],ic={style:{"margin-top":"20px"}},rc={style:{display:"flex","justify-content":"space-between","align-items":"center","margin-bottom":"12px"}},oc={key:0,class:"scrollable-list",style:{"max-height":"250px"}},lc={class:"tx-row-info"},ac={class:"tx-name"},cc={class:"tx-meta"},uc={key:1,class:"empty-state"},fc={__name:"TreasuryTab",props:{treasury:{type:Object,default:()=>({money:0,black_money:0})},log:{type:Array,default:()=>[]},permissions:{type:Object,default:()=>({})}},emits:["loadLog","deposit","withdraw"],setup(e,{emit:t}){const n=t,s=ee(null),i=ee(null);function r(p){!s.value||s.value<=0||(n("deposit",{amount:s.value,accountType:p}),s.value=null)}function o(p){!i.value||i.value<=0||(n("withdraw",{amount:i.value,accountType:p}),i.value=null)}function l(p){return(p||0).toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}function a(p){return p?new Date(p).toLocaleDateString("de-DE",{day:"2-digit",month:"2-digit",hour:"2-digit",minute:"2-digit"}):""}return(p,c)=>($(),O("div",null,[h("div",Ua,[h("div",Wa,[c[7]||(c[7]=h("div",{class:"stat-icon"},[h("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("line",{x1:"12",y1:"1",x2:"12",y2:"23"}),h("path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"})])],-1)),h("div",Ga,"$"+j(l(e.treasury.money)),1),c[8]||(c[8]=h("div",{class:"stat-label"},"Bargeld",-1))]),h("div",za,[c[9]||(c[9]=h("div",{class:"stat-icon"},[h("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("rect",{x:"2",y:"4",width:"20",height:"16",rx:"2"}),h("path",{d:"M12 10a2 2 0 1 0 0 4 2 2 0 0 0 0-4z"})])],-1)),h("div",qa,"$"+j(l(e.treasury.black_money)),1),c[10]||(c[10]=h("div",{class:"stat-label"},"Schwarzgeld",-1))])]),h("div",Ja,[e.permissions.depositTreasury?($(),O("div",Ya,[c[11]||(c[11]=tt('
Einzahlen
',1)),ss(h("input",{class:"frak-input",type:"number","onUpdate:modelValue":c[0]||(c[0]=g=>s.value=g),placeholder:"Betrag...",min:"1"},null,512),[[fs,s.value,void 0,{number:!0}]]),h("div",Xa,[h("button",{class:"frak-btn small green",onClick:c[1]||(c[1]=g=>r("money")),disabled:!s.value},"Bargeld",8,Za),h("button",{class:"frak-btn small",onClick:c[2]||(c[2]=g=>r("black_money")),disabled:!s.value},"Schwarzgeld",8,Qa)])])):ge("",!0),e.permissions.withdrawTreasury?($(),O("div",ec,[c[12]||(c[12]=tt('
Auszahlen
',1)),ss(h("input",{class:"frak-input",type:"number","onUpdate:modelValue":c[3]||(c[3]=g=>i.value=g),placeholder:"Betrag...",min:"1"},null,512),[[fs,i.value,void 0,{number:!0}]]),h("div",tc,[h("button",{class:"frak-btn small red",onClick:c[4]||(c[4]=g=>o("money")),disabled:!i.value},"Bargeld",8,nc),h("button",{class:"frak-btn small red",onClick:c[5]||(c[5]=g=>o("black_money")),disabled:!i.value},"Schwarzgeld",8,sc)])])):ge("",!0)]),h("div",ic,[h("div",rc,[c[13]||(c[13]=h("div",{class:"section-title",style:{"margin-bottom":"0"}},"Transaktionen",-1)),h("button",{class:"frak-btn small ghost",onClick:c[6]||(c[6]=g=>p.$emit("loadLog"))},"Laden")]),e.log.length?($(),O("div",oc,[($(!0),O(ce,null,ct(e.log,(g,_)=>($(),O("div",{key:g.id||_,class:"tx-row"},[h("div",{class:ut(["tx-icon",g.type])},j(g.type==="deposit"?"+":"-"),3),h("div",lc,[h("div",ac,j(g.player_name),1),h("div",cc,j(a(g.created_at))+" ยท "+j(g.account_type==="black_money"?"Schwarzgeld":"Bargeld"),1)]),h("div",{class:ut(["tx-amount",g.type])},j(g.type==="deposit"?"+":"-")+"$"+j(l(g.amount)),3)]))),128))])):($(),O("div",uc,[...c[14]||(c[14]=[tt('Klicke "Laden" fuer Transaktionen',2)])]))])]))}},dc={key:0,class:"listing-card vehicle-alert",style:{"margin-bottom":"16px"}},hc={key:1,class:"vehicle-grid"},pc={class:"vehicle-card-image"},gc=["src","onError"],vc={key:1,class:"vehicle-fallback-icon",width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},mc={class:"vehicle-card-body"},bc={class:"vehicle-card-info"},yc={class:"vehicle-card-name"},_c={class:"vehicle-card-meta"},xc=["disabled","onClick"],wc={key:2,class:"empty-state"},Cc={__name:"VehiclesTab",props:{vehicles:{type:Array,default:()=>[]},hasSpawned:{type:Boolean,default:!1}},emits:["spawn","store"],setup(e){return(t,n)=>($(),O("div",null,[e.hasSpawned?($(),O("div",dc,[n[1]||(n[1]=tt('
Fahrzeug ausgeparkt
Du hast bereits ein Fraktionsfahrzeug ausgeparkt
',2)),h("button",{class:"frak-btn small red",onClick:n[0]||(n[0]=s=>t.$emit("store"))},"Einparken")])):ge("",!0),n[4]||(n[4]=h("div",{class:"section-title"},"Fahrzeuge",-1)),e.vehicles.length?($(),O("div",hc,[($(!0),O(ce,null,ct(e.vehicles,s=>($(),O("div",{key:s.model,class:"vehicle-card"},[h("div",pc,[s.image&&!s._imgError?($(),O("img",{key:0,src:s.image,onError:i=>s._imgError=!0},null,40,gc)):($(),O("svg",vc,[...n[2]||(n[2]=[h("rect",{x:"1",y:"3",width:"15",height:"13"},null,-1),h("polygon",{points:"16 8 20 8 23 11 23 16 16 16 16 8"},null,-1),h("circle",{cx:"5.5",cy:"18.5",r:"2.5"},null,-1),h("circle",{cx:"18.5",cy:"18.5",r:"2.5"},null,-1)])]))]),h("div",mc,[h("div",bc,[h("div",yc,j(s.label),1),h("div",_c,"Ab Rang "+j(s.minGrade||0),1)]),h("button",{class:"listing-action-btn",disabled:e.hasSpawned,onClick:i=>t.$emit("spawn",{model:s.model})},j(e.hasSpawned?"Belegt":"Ausparken"),9,xc)])]))),128))])):($(),O("div",wc,[...n[3]||(n[3]=[tt('Keine Fahrzeuge fuer deinen Rang verfuegbar',2)])]))]))}},kc={class:"perm-info"},Sc={class:"perm-label"},Tc={class:"perm-current"},Mc={class:"perm-controls"},$c=["onClick","title"],Ec={key:0,class:"empty-state"},Ac={__name:"PermissionsTab",props:{permissionValues:{type:Object,default:()=>({})},permissionLabels:{type:Object,default:()=>({})},grades:{type:Array,default:()=>[]}},emits:["update"],setup(e,{emit:t}){const n=e,s=t;function i(o){const l=n.grades.find(a=>a.grade===o);return l?l.label:"Rang "+o}function r(o,l){s("update",{permKey:o,minGrade:parseInt(l)})}return(o,l)=>($(),O("div",null,[l[1]||(l[1]=h("div",{class:"section-title"},"Rechte-Verwaltung",-1)),l[2]||(l[2]=h("p",{style:{"font-size":"11px",color:"var(--text-dim)","margin-bottom":"12px"}}," Stelle ein, ab welchem Rang Mitglieder Aktionen ausfuehren duerfen. ",-1)),($(!0),O(ce,null,ct(e.permissionValues,(a,p)=>($(),O("div",{key:p,class:"perm-row"},[h("div",kc,[h("div",Sc,j(e.permissionLabels[p]||p),1),h("div",Tc,j(i(a)),1)]),h("div",Mc,[($(!0),O(ce,null,ct(e.grades,c=>($(),O("button",{class:ut(["perm-grade-btn",{active:a===c.grade}]),key:c.grade,onClick:g=>r(p,c.grade),title:c.label},j(c.grade),11,$c))),128))])]))),128)),Object.keys(e.permissionValues).length===0?($(),O("div",Ec,[...l[0]||(l[0]=[h("svg",{viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round"},[h("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"}),h("line",{x1:"9",y1:"9",x2:"15",y2:"15"}),h("line",{x1:"15",y1:"9",x2:"9",y2:"15"})],-1),h("span",null,"Keine Rechte konfiguriert",-1)])])):ge("",!0)]))}},Lc={class:"frak-sidebar"},Pc={class:"sidebar-banner"},Oc={key:1,class:"sidebar-banner-fallback"},Ic={class:"sidebar-banner-content"},Rc={class:"sidebar-banner-info"},Fc={class:"sidebar-banner-name"},Nc={class:"sidebar-banner-rank"},Bc={class:"sidebar-nav"},Dc=["onClick"],Hc={class:"sidebar-nav-icon"},jc={key:0,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Vc={key:1,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Kc={key:2,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Uc={key:3,width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Wc={class:"sidebar-nav-label"},Gc={class:"frak-main"},zc={class:"frak-main-header"},qc={class:"frak-content"},Jc={class:"frak-main"},Yc={class:"frak-main-header"},Xc={class:"header-left"},Zc={class:"frak-content"},Qc={key:0,class:"invite-overlay"},eu={class:"confirm-box"},tu={class:"confirm-actions"},nu={__name:"App",setup(e){const t=ee(!1),n=ee(""),s=ee(0),i=ee([]),r=ee({money:0,black_money:0}),o=ee(0),l=ee(0),a=ee({}),p=ee({}),c=ee({}),g=ee({}),_=ee(""),S=ee([]),E=ee([]),w=ee([]),A=ee("dashboard"),N=ee(null),B=ee(!1),V=ee([]),L=ee({}),W=ee(""),re=ee(!1);function he(){return window.GetParentResourceName?window.GetParentResourceName():"mercyv-fraks"}function J(u,d={}){return fetch(`https://${he()}/${u}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(d)})}const H=at(()=>ne(g.value)),G=at(()=>ne(L.value));function ne(u){const d={};return u.accent&&(d["--accent"]=u.accent,d["--accent-dim"]=M(u.accent,.12),d["--accent-subtle"]=M(u.accent,.05),d["--border-accent"]=M(u.accent,.15),d["--accent-glow"]=M(u.accent,.25)),u.accentLight&&(d["--accent-light"]=u.accentLight),u.surfaceBase&&(d["--surface-base"]=u.surfaceBase),d}function M(u,d){if(!u||!u.startsWith("#"))return u;const v=parseInt(u.slice(1,3),16),m=parseInt(u.slice(3,5),16),b=parseInt(u.slice(5,7),16);return`rgba(${v}, ${m}, ${b}, ${d})`}const X=[{id:"dashboard",label:"Dashboard",perm:null},{id:"members",label:"Mitglieder",perm:"viewMembers"},{id:"treasury",label:"Kasse",perm:"viewTreasury"},{id:"permissions",label:"Rechte",perm:"managePermissions"}],fe=at(()=>X.filter(u=>!u.perm||a.value[u.perm])),Ae=at(()=>{const u=X.find(d=>d.id===A.value);return u?u.label:""}),le=at(()=>{const u=i.value.find(d=>d.grade===s.value);return u?u.label:"Rang "+s.value});function Z(){t.value=!1,J("close")}function Y(){B.value=!1,J("closeGarage")}function Ge(){J("getMembers")}function wt(){J("getNearbyPlayers")}function ze(){J("getTreasuryLog")}function Te(u){J("inviteMember",u)}function rn(u){J("kickMember",u)}function Rn(u){J("changeRank",u)}function Fn(u){J("depositTreasury",u)}function dt(u){J("withdrawTreasury",u)}function Ct(u){J("updatePermission",u)}function Ot(u){J("garageSpawn",u)}function on(){J("garageStore")}function qe(u){N.value=null,J("respondInvite",{accepted:u})}function Nn(u){const d=u.data;switch(d.type){case"open":t.value=!0,n.value=d.factionLabel||"Fraktion",s.value=d.playerGrade||0,i.value=d.grades||[],r.value=d.treasury||{money:0,black_money:0},o.value=d.totalMembers||0,l.value=d.onlineMembers||0,a.value=d.permissions||{},p.value=d.permissionValues||{},c.value=d.permissionLabels||{},g.value=d.theme||{},_.value=d.factionImage||"",A.value="dashboard",S.value=[],E.value=[],w.value=[];break;case"close":t.value=!1;break;case"openGarage":B.value=!0,V.value=d.vehicles||[],L.value=d.theme||{},W.value=d.factionLabel||"Fraktion",re.value=d.hasSpawned||!1;break;case"closeGarage":B.value=!1;break;case"updateMembers":S.value=d.members||[];break;case"updateTreasury":r.value=d.treasury||r.value;break;case"updateTreasuryLog":E.value=d.log||[];break;case"updateNearbyPlayers":w.value=d.players||[];break;case"showInvite":N.value={factionLabel:d.factionLabel,inviterName:d.inviterName};break}}function f(u){u.key==="Escape"&&(N.value?qe(!1):B.value?Y():t.value&&Z())}return Ts(()=>{window.addEventListener("message",Nn),window.addEventListener("keydown",f)}),Ms(()=>{window.removeEventListener("message",Nn),window.removeEventListener("keydown",f)}),(u,d)=>($(),O(ce,null,[ue(zn,{name:"overlay"},{default:fn(()=>[t.value?($(),O("div",{key:0,class:"frak-overlay",style:Et(H.value)},[h("div",Lc,[h("div",Pc,[_.value?($(),O("div",{key:0,class:"sidebar-banner-bg",style:Et({backgroundImage:`url(${_.value})`})},null,4)):ge("",!0),d[4]||(d[4]=h("div",{class:"sidebar-banner-gradient"},null,-1)),_.value?ge("",!0):($(),O("div",Oc,[...d[2]||(d[2]=[h("svg",{width:"40",height:"40",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},[h("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),h("circle",{cx:"9",cy:"7",r:"4"}),h("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),h("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})],-1)])])),h("div",Ic,[d[3]||(d[3]=h("div",{class:"sidebar-avatar"},[h("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"}),h("circle",{cx:"9",cy:"7",r:"4"}),h("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"}),h("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"})])],-1)),h("div",Rc,[h("div",Fc,j(n.value),1),h("div",Nc,j(le.value),1)])])]),h("nav",Bc,[($(!0),O(ce,null,ct(fe.value,v=>($(),O("button",{key:v.id,class:ut(["sidebar-nav-btn",{active:A.value===v.id}]),onClick:m=>A.value=v.id},[h("span",Hc,[v.id==="dashboard"?($(),O("svg",jc,[...d[5]||(d[5]=[h("rect",{x:"3",y:"3",width:"7",height:"7",rx:"1"},null,-1),h("rect",{x:"14",y:"3",width:"7",height:"7",rx:"1"},null,-1),h("rect",{x:"14",y:"14",width:"7",height:"7",rx:"1"},null,-1),h("rect",{x:"3",y:"14",width:"7",height:"7",rx:"1"},null,-1)])])):v.id==="members"?($(),O("svg",Vc,[...d[6]||(d[6]=[h("path",{d:"M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2"},null,-1),h("circle",{cx:"9",cy:"7",r:"4"},null,-1),h("path",{d:"M23 21v-2a4 4 0 0 0-3-3.87"},null,-1),h("path",{d:"M16 3.13a4 4 0 0 1 0 7.75"},null,-1)])])):v.id==="treasury"?($(),O("svg",Kc,[...d[7]||(d[7]=[h("line",{x1:"12",y1:"1",x2:"12",y2:"23"},null,-1),h("path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6"},null,-1)])])):v.id==="permissions"?($(),O("svg",Uc,[...d[8]||(d[8]=[h("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"},null,-1)])])):ge("",!0)]),h("span",Wc,j(v.label),1)],10,Dc))),128))]),h("div",{class:"sidebar-footer"},[h("button",{class:"close-sidebar-btn",onClick:Z},[...d[9]||(d[9]=[h("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4"}),h("polyline",{points:"16 17 21 12 16 7"}),h("line",{x1:"21",y1:"12",x2:"9",y2:"12"})],-1),zt(" Schliessen ",-1)])])])]),h("div",Gc,[h("div",zc,[h("h2",null,j(Ae.value),1),h("button",{class:"close-btn",onClick:Z},[...d[10]||(d[10]=[h("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},[h("path",{d:"M1 1l12 12M13 1L1 13",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)])])]),h("div",qc,[ue(zn,{name:"fade",mode:"out-in"},{default:fn(()=>[A.value==="dashboard"?($(),Dt(ma,{key:"dashboard",factionLabel:n.value,factionImage:_.value,playerGrade:s.value,grades:i.value,treasury:r.value,totalMembers:o.value,onlineMembers:l.value},null,8,["factionLabel","factionImage","playerGrade","grades","treasury","totalMembers","onlineMembers"])):A.value==="members"?($(),Dt(Ka,{key:"members",members:S.value,grades:i.value,playerGrade:s.value,permissions:a.value,onLoadMembers:Ge,onLoadNearby:wt,onInvite:Te,onKick:rn,onChangeRank:Rn,nearbyPlayers:w.value},null,8,["members","grades","playerGrade","permissions","nearbyPlayers"])):A.value==="treasury"?($(),Dt(fc,{key:"treasury",treasury:r.value,log:E.value,permissions:a.value,onLoadLog:ze,onDeposit:Fn,onWithdraw:dt},null,8,["treasury","log","permissions"])):A.value==="permissions"?($(),Dt(Ac,{key:"permissions",permissionValues:p.value,permissionLabels:c.value,grades:i.value,onUpdate:Ct},null,8,["permissionValues","permissionLabels","grades"])):ge("",!0)]),_:1})])])],4)):ge("",!0)]),_:1}),ue(zn,{name:"overlay"},{default:fn(()=>[B.value?($(),O("div",{key:0,class:"frak-overlay garage-overlay",style:Et(G.value)},[d[13]||(d[13]=h("div",{class:"frak-sidebar",style:{"min-width":"0",width:"0",padding:"0",border:"0",overflow:"hidden"}},null,-1)),h("div",Jc,[h("div",Yc,[h("div",Xc,[d[11]||(d[11]=h("div",{class:"header-icon"},[h("svg",{width:"18",height:"18",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("rect",{x:"1",y:"3",width:"15",height:"13"}),h("polygon",{points:"16 8 20 8 23 11 23 16 16 16 16 8"}),h("circle",{cx:"5.5",cy:"18.5",r:"2.5"}),h("circle",{cx:"18.5",cy:"18.5",r:"2.5"})])],-1)),h("h2",null,j(W.value)+" - Garage",1)]),h("button",{class:"close-btn",onClick:Y},[...d[12]||(d[12]=[h("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none"},[h("path",{d:"M1 1l12 12M13 1L1 13",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round"})],-1)])])]),h("div",Zc,[ue(Cc,{vehicles:V.value,hasSpawned:re.value,onSpawn:Ot,onStore:on},null,8,["vehicles","hasSpawned"])])])],4)):ge("",!0)]),_:1}),N.value?($(),O("div",Qc,[h("div",eu,[d[15]||(d[15]=tt('

Fraktions-Einladung

',2)),h("p",null,[zt(j(N.value.inviterName)+" laedt dich ein, ",1),h("strong",null,j(N.value.factionLabel),1),d[14]||(d[14]=zt(" beizutreten.",-1))]),h("div",tu,[h("button",{class:"frak-btn red",onClick:d[0]||(d[0]=v=>qe(!1))},"Ablehnen"),h("button",{class:"frak-btn green",onClick:d[1]||(d[1]=v=>qe(!0))},"Annehmen")])])])):ge("",!0)],64))}};ra(nu).mount("#app");