2026-04-14 15:54:53 +02:00

18 lines
105 KiB
JavaScript

(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 l of i)if(l.type==="childList")for(const o of l.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function n(i){const l={};return i.integrity&&(l.integrity=i.integrity),i.referrerPolicy&&(l.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?l.credentials="include":i.crossOrigin==="anonymous"?l.credentials="omit":l.credentials="same-origin",l}function s(i){if(i.ep)return;i.ep=!0;const l=n(i);fetch(i.href,l)}})();/**
* @vue/shared v3.5.32
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function fs(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const le={},It=[],Ze=()=>{},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:"),ge=Object.assign,ds=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Ml=Object.prototype.hasOwnProperty,Z=(e,t)=>Ml.call(e,t),N=Array.isArray,Ot=e=>sn(e)==="[object Map]",bi=e=>sn(e)==="[object Set]",Is=e=>sn(e)==="[object Date]",V=e=>typeof e=="function",ae=e=>typeof e=="string",Re=e=>typeof e=="symbol",Q=e=>e!==null&&typeof e=="object",_i=e=>(Q(e)||V(e))&&V(e.then)&&V(e.catch),xi=Object.prototype.toString,sn=e=>xi.call(e),Il=e=>sn(e).slice(8,-1),wi=e=>sn(e)==="[object Object]",hs=e=>ae(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Kt=fs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),$n=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},Ol=/-\w/g,De=$n(e=>e.replace(Ol,t=>t.slice(1).toUpperCase())),Bl=/\B([A-Z])/g,mt=$n(e=>e.replace(Bl,"-$1").toLowerCase()),Ci=$n(e=>e.charAt(0).toUpperCase()+e.slice(1)),Vn=$n(e=>e?`on${Ci(e)}`:""),Ye=(e,t)=>!Object.is(e,t),fn=(e,...t)=>{for(let n=0;n<e.length;n++)e[n](...t)},ki=(e,t,n,s=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},ps=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Ll=e=>{const t=ae(e)?Number(e):NaN;return isNaN(t)?e:t};let Os;const An=()=>Os||(Os=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ht(e){if(N(e)){const t={};for(let n=0;n<e.length;n++){const s=e[n],i=ae(s)?Fl(s):ht(s);if(i)for(const l in i)t[l]=i[l]}return t}else if(ae(e)||Q(e))return e}const Dl=/;(?![^(]*\))/g,Nl=/:([^]+)/,Rl=/\/\*[^]*?\*\//g;function Fl(e){const t={};return e.replace(Rl,"").split(Dl).forEach(n=>{if(n){const s=n.split(Nl);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Xe(e){let t="";if(ae(e))t=e;else if(N(e))for(let n=0;n<e.length;n++){const s=Xe(e[n]);s&&(t+=s+" ")}else if(Q(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const Vl="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Hl=fs(Vl);function Si(e){return!!e||e===""}function jl(e,t){if(e.length!==t.length)return!1;let n=!0;for(let s=0;n&&s<e.length;s++)n=ms(e[s],t[s]);return n}function ms(e,t){if(e===t)return!0;let n=Is(e),s=Is(t);if(n||s)return n&&s?e.getTime()===t.getTime():!1;if(n=Re(e),s=Re(t),n||s)return e===t;if(n=N(e),s=N(t),n||s)return n&&s?jl(e,t):!1;if(n=Q(e),s=Q(t),n||s){if(!n||!s)return!1;const i=Object.keys(e).length,l=Object.keys(t).length;if(i!==l)return!1;for(const o in e){const r=e.hasOwnProperty(o),c=t.hasOwnProperty(o);if(r&&!c||!r&&c||!ms(e[o],t[o]))return!1}}return String(e)===String(t)}const $i=e=>!!(e&&e.__v_isRef===!0),$=e=>ae(e)?e:e==null?"":N(e)||Q(e)&&(e.toString===xi||!V(e.toString))?$i(e)?$(e.value):JSON.stringify(e,Ai,2):String(e),Ai=(e,t)=>$i(t)?Ai(e,t.value):Ot(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,i],l)=>(n[Hn(s,l)+" =>"]=i,n),{})}:bi(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>Hn(n))}:Re(t)?Hn(t):Q(t)&&!N(t)&&!wi(t)?String(t):t,Hn=(e,t="")=>{var n;return Re(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 Te;class Kl{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=Te,!t&&Te&&(this.index=(Te.scopes||(Te.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;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=Te;try{return Te=this,t()}finally{Te=n}}}on(){++this._on===1&&(this.prevScope=Te,Te=this)}off(){this._on>0&&--this._on===0&&(Te=this.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 i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function Ul(){return Te}let re;const jn=new WeakSet;class Ti{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,Te&&Te.active&&Te.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,jn.has(this)&&(jn.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Ei(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Bs(this),Mi(this);const t=re,n=Ne;re=this,Ne=!0;try{return this.fn()}finally{Ii(this),re=t,Ne=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)ys(t);this.deps=this.depsTail=void 0,Bs(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?jn.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Qn(this)&&this.run()}get dirty(){return Qn(this)}}let Pi=0,Ut,Wt;function Ei(e,t=!1){if(e.flags|=8,t){e.next=Wt,Wt=e;return}e.next=Ut,Ut=e}function gs(){Pi++}function vs(){if(--Pi>0)return;if(Wt){let t=Wt;for(Wt=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;Ut;){let t=Ut;for(Ut=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 Mi(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Ii(e){let t,n=e.depsTail,s=n;for(;s;){const i=s.prevDep;s.version===-1?(s===n&&(n=i),ys(s),Wl(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=i}e.deps=t,e.depsTail=n}function Qn(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Oi(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Oi(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Jt)||(e.globalVersion=Jt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Qn(e))))return;e.flags|=2;const t=e.dep,n=re,s=Ne;re=e,Ne=!0;try{Mi(e);const i=e.fn(e._value);(t.version===0||Ye(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{re=n,Ne=s,Ii(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 l=n.computed.deps;l;l=l.nextDep)ys(l,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Wl(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ne=!0;const Bi=[];function rt(){Bi.push(Ne),Ne=!1}function ct(){const e=Bi.pop();Ne=e===void 0?!0:e}function Bs(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=re;re=void 0;try{t()}finally{re=n}}}let Jt=0;class zl{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 bs{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(!re||!Ne||re===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==re)n=this.activeLink=new zl(re,this),re.deps?(n.prevDep=re.depsTail,re.depsTail.nextDep=n,re.depsTail=n):re.deps=re.depsTail=n,Li(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=re.depsTail,n.nextDep=void 0,re.depsTail.nextDep=n,re.depsTail=n,re.deps===n&&(re.deps=s)}return n}trigger(t){this.version++,Jt++,this.notify(t)}notify(t){gs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{vs()}}}function Li(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)Li(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const es=new WeakMap,kt=Symbol(""),ts=Symbol(""),Yt=Symbol("");function be(e,t,n){if(Ne&&re){let s=es.get(e);s||es.set(e,s=new Map);let i=s.get(n);i||(s.set(n,i=new bs),i.map=s,i.key=n),i.track()}}function lt(e,t,n,s,i,l){const o=es.get(e);if(!o){Jt++;return}const r=c=>{c&&c.trigger()};if(gs(),t==="clear")o.forEach(r);else{const c=N(e),d=c&&hs(n);if(c&&n==="length"){const a=Number(s);o.forEach((p,w)=>{(w==="length"||w===Yt||!Re(w)&&w>=a)&&r(p)})}else switch((n!==void 0||o.has(void 0))&&r(o.get(n)),d&&r(o.get(Yt)),t){case"add":c?d&&r(o.get("length")):(r(o.get(kt)),Ot(e)&&r(o.get(ts)));break;case"delete":c||(r(o.get(kt)),Ot(e)&&r(o.get(ts)));break;case"set":Ot(e)&&r(o.get(kt));break}}vs()}function Pt(e){const t=J(e);return t===e?t:(be(t,"iterate",Yt),Le(e)?t:t.map(Fe))}function Tn(e){return be(e=J(e),"iterate",Yt),e}function Ge(e,t){return at(e)?Nt(St(e)?Fe(t):t):Fe(t)}const ql={__proto__:null,[Symbol.iterator](){return Kn(this,Symbol.iterator,e=>Ge(this,e))},concat(...e){return Pt(this).concat(...e.map(t=>N(t)?Pt(t):t))},entries(){return Kn(this,"entries",e=>(e[1]=Ge(this,e[1]),e))},every(e,t){return tt(this,"every",e,t,void 0,arguments)},filter(e,t){return tt(this,"filter",e,t,n=>n.map(s=>Ge(this,s)),arguments)},find(e,t){return tt(this,"find",e,t,n=>Ge(this,n),arguments)},findIndex(e,t){return tt(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return tt(this,"findLast",e,t,n=>Ge(this,n),arguments)},findLastIndex(e,t){return tt(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return tt(this,"forEach",e,t,void 0,arguments)},includes(...e){return Un(this,"includes",e)},indexOf(...e){return Un(this,"indexOf",e)},join(e){return Pt(this).join(e)},lastIndexOf(...e){return Un(this,"lastIndexOf",e)},map(e,t){return tt(this,"map",e,t,void 0,arguments)},pop(){return Ft(this,"pop")},push(...e){return Ft(this,"push",e)},reduce(e,...t){return Ls(this,"reduce",e,t)},reduceRight(e,...t){return Ls(this,"reduceRight",e,t)},shift(){return Ft(this,"shift")},some(e,t){return tt(this,"some",e,t,void 0,arguments)},splice(...e){return Ft(this,"splice",e)},toReversed(){return Pt(this).toReversed()},toSorted(e){return Pt(this).toSorted(e)},toSpliced(...e){return Pt(this).toSpliced(...e)},unshift(...e){return Ft(this,"unshift",e)},values(){return Kn(this,"values",e=>Ge(this,e))}};function Kn(e,t,n){const s=Tn(e),i=s[t]();return s!==e&&!Le(e)&&(i._next=i.next,i.next=()=>{const l=i._next();return l.done||(l.value=n(l.value)),l}),i}const Gl=Array.prototype;function tt(e,t,n,s,i,l){const o=Tn(e),r=o!==e&&!Le(e),c=o[t];if(c!==Gl[t]){const p=c.apply(e,l);return r?Fe(p):p}let d=n;o!==e&&(r?d=function(p,w){return n.call(this,Ge(e,p),w,e)}:n.length>2&&(d=function(p,w){return n.call(this,p,w,e)}));const a=c.call(o,d,s);return r&&i?i(a):a}function Ls(e,t,n,s){const i=Tn(e),l=i!==e&&!Le(e);let o=n,r=!1;i!==e&&(l?(r=s.length===0,o=function(d,a,p){return r&&(r=!1,d=Ge(e,d)),n.call(this,d,Ge(e,a),p,e)}):n.length>3&&(o=function(d,a,p){return n.call(this,d,a,p,e)}));const c=i[t](o,...s);return r?Ge(e,c):c}function Un(e,t,n){const s=J(e);be(s,"iterate",Yt);const i=s[t](...n);return(i===-1||i===!1)&&Cs(n[0])?(n[0]=J(n[0]),s[t](...n)):i}function Ft(e,t,n=[]){rt(),gs();const s=J(e)[t].apply(e,n);return vs(),ct(),s}const Jl=fs("__proto__,__v_isRef,__isVue"),Di=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Re));function Yl(e){Re(e)||(e=String(e));const t=J(this);return be(t,"has",e),t.hasOwnProperty(e)}class Ni{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,l=this._isShallow;if(n==="__v_isReactive")return!i;if(n==="__v_isReadonly")return i;if(n==="__v_isShallow")return l;if(n==="__v_raw")return s===(i?l?oo:Hi:l?Vi:Fi).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const o=N(t);if(!i){let c;if(o&&(c=ql[n]))return c;if(n==="hasOwnProperty")return Yl}const r=Reflect.get(t,n,Ce(t)?t:s);if((Re(n)?Di.has(n):Jl(n))||(i||be(t,"get",n),l))return r;if(Ce(r)){const c=o&&hs(n)?r:r.value;return i&&Q(c)?ss(c):c}return Q(r)?i?ss(r):xs(r):r}}class Ri extends Ni{constructor(t=!1){super(!1,t)}set(t,n,s,i){let l=t[n];const o=N(t)&&hs(n);if(!this._isShallow){const d=at(l);if(!Le(s)&&!at(s)&&(l=J(l),s=J(s)),!o&&Ce(l)&&!Ce(s))return d||(l.value=s),!0}const r=o?Number(n)<t.length:Z(t,n),c=Reflect.set(t,n,s,Ce(t)?t:i);return t===J(i)&&(r?Ye(s,l)&&lt(t,"set",n,s):lt(t,"add",n,s)),c}deleteProperty(t,n){const s=Z(t,n);t[n];const i=Reflect.deleteProperty(t,n);return i&&s&&lt(t,"delete",n,void 0),i}has(t,n){const s=Reflect.has(t,n);return(!Re(n)||!Di.has(n))&&be(t,"has",n),s}ownKeys(t){return be(t,"iterate",N(t)?"length":kt),Reflect.ownKeys(t)}}class Zl extends Ni{constructor(t=!1){super(!0,t)}set(t,n){return!0}deleteProperty(t,n){return!0}}const Xl=new Ri,Ql=new Zl,eo=new Ri(!0);const ns=e=>e,cn=e=>Reflect.getPrototypeOf(e);function to(e,t,n){return function(...s){const i=this.__v_raw,l=J(i),o=Ot(l),r=e==="entries"||e===Symbol.iterator&&o,c=e==="keys"&&o,d=i[e](...s),a=n?ns:t?Nt:Fe;return!t&&be(l,"iterate",c?ts:kt),ge(Object.create(d),{next(){const{value:p,done:w}=d.next();return w?{value:p,done:w}:{value:r?[a(p[0]),a(p[1])]:a(p),done:w}}})}}function an(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function no(e,t){const n={get(i){const l=this.__v_raw,o=J(l),r=J(i);e||(Ye(i,r)&&be(o,"get",i),be(o,"get",r));const{has:c}=cn(o),d=t?ns:e?Nt:Fe;if(c.call(o,i))return d(l.get(i));if(c.call(o,r))return d(l.get(r));l!==o&&l.get(i)},get size(){const i=this.__v_raw;return!e&&be(J(i),"iterate",kt),i.size},has(i){const l=this.__v_raw,o=J(l),r=J(i);return e||(Ye(i,r)&&be(o,"has",i),be(o,"has",r)),i===r?l.has(i):l.has(i)||l.has(r)},forEach(i,l){const o=this,r=o.__v_raw,c=J(r),d=t?ns:e?Nt:Fe;return!e&&be(c,"iterate",kt),r.forEach((a,p)=>i.call(l,d(a),d(p),o))}};return ge(n,e?{add:an("add"),set:an("set"),delete:an("delete"),clear:an("clear")}:{add(i){const l=J(this),o=cn(l),r=J(i),c=!t&&!Le(i)&&!at(i)?r:i;return o.has.call(l,c)||Ye(i,c)&&o.has.call(l,i)||Ye(r,c)&&o.has.call(l,r)||(l.add(c),lt(l,"add",c,c)),this},set(i,l){!t&&!Le(l)&&!at(l)&&(l=J(l));const o=J(this),{has:r,get:c}=cn(o);let d=r.call(o,i);d||(i=J(i),d=r.call(o,i));const a=c.call(o,i);return o.set(i,l),d?Ye(l,a)&&lt(o,"set",i,l):lt(o,"add",i,l),this},delete(i){const l=J(this),{has:o,get:r}=cn(l);let c=o.call(l,i);c||(i=J(i),c=o.call(l,i)),r&&r.call(l,i);const d=l.delete(i);return c&&lt(l,"delete",i,void 0),d},clear(){const i=J(this),l=i.size!==0,o=i.clear();return l&&lt(i,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(i=>{n[i]=to(i,e,t)}),n}function _s(e,t){const n=no(e,t);return(s,i,l)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?s:Reflect.get(Z(n,i)&&i in s?n:s,i,l)}const so={get:_s(!1,!1)},io={get:_s(!1,!0)},lo={get:_s(!0,!1)};const Fi=new WeakMap,Vi=new WeakMap,Hi=new WeakMap,oo=new WeakMap;function ro(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function co(e){return e.__v_skip||!Object.isExtensible(e)?0:ro(Il(e))}function xs(e){return at(e)?e:ws(e,!1,Xl,so,Fi)}function ao(e){return ws(e,!1,eo,io,Vi)}function ss(e){return ws(e,!0,Ql,lo,Hi)}function ws(e,t,n,s,i){if(!Q(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const l=co(e);if(l===0)return e;const o=i.get(e);if(o)return o;const r=new Proxy(e,l===2?s:n);return i.set(e,r),r}function St(e){return at(e)?St(e.__v_raw):!!(e&&e.__v_isReactive)}function at(e){return!!(e&&e.__v_isReadonly)}function Le(e){return!!(e&&e.__v_isShallow)}function Cs(e){return e?!!e.__v_raw:!1}function J(e){const t=e&&e.__v_raw;return t?J(t):e}function uo(e){return!Z(e,"__v_skip")&&Object.isExtensible(e)&&ki(e,"__v_skip",!0),e}const Fe=e=>Q(e)?xs(e):e,Nt=e=>Q(e)?ss(e):e;function Ce(e){return e?e.__v_isRef===!0:!1}function se(e){return fo(e,!1)}function fo(e,t){return Ce(e)?e:new ho(e,t)}class ho{constructor(t,n){this.dep=new bs,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:J(t),this._value=n?t:Fe(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||Le(t)||at(t);t=s?t:J(t),Ye(t,n)&&(this._rawValue=t,this._value=s?t:Fe(t),this.dep.trigger())}}function po(e){return Ce(e)?e.value:e}const mo={get:(e,t,n)=>t==="__v_raw"?e:po(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const i=e[t];return Ce(i)&&!Ce(n)?(i.value=n,!0):Reflect.set(e,t,n,s)}};function ji(e){return St(e)?e:new Proxy(e,mo)}class go{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new bs(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Jt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&re!==this)return Ei(this,!0),!0}get value(){const t=this.dep.track();return Oi(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 V(e)?s=e:(s=e.get,i=e.set),new go(s,i,n)}const un={},vn=new WeakMap;let wt;function yo(e,t=!1,n=wt){if(n){let s=vn.get(n);s||vn.set(n,s=[]),s.push(e)}}function bo(e,t,n=le){const{immediate:s,deep:i,once:l,scheduler:o,augmentJob:r,call:c}=n,d=I=>i?I:Le(I)||i===!1||i===0?ot(I,1):ot(I);let a,p,w,A,L=!1,E=!1;if(Ce(e)?(p=()=>e.value,L=Le(e)):St(e)?(p=()=>d(e),L=!0):N(e)?(E=!0,L=e.some(I=>St(I)||Le(I)),p=()=>e.map(I=>{if(Ce(I))return I.value;if(St(I))return d(I);if(V(I))return c?c(I,2):I()})):V(e)?t?p=c?()=>c(e,2):e:p=()=>{if(w){rt();try{w()}finally{ct()}}const I=wt;wt=a;try{return c?c(e,3,[A]):e(A)}finally{wt=I}}:p=Ze,t&&i){const I=p,ee=i===!0?1/0:i;p=()=>ot(I(),ee)}const j=Ul(),z=()=>{a.stop(),j&&j.active&&ds(j.effects,a)};if(l&&t){const I=t;t=(...ee)=>{I(...ee),z()}}let F=E?new Array(e.length).fill(un):un;const U=I=>{if(!(!(a.flags&1)||!a.dirty&&!I))if(t){const ee=a.run();if(i||L||(E?ee.some((W,ve)=>Ye(W,F[ve])):Ye(ee,F))){w&&w();const W=wt;wt=a;try{const ve=[ee,F===un?void 0:E&&F[0]===un?[]:F,A];F=ee,c?c(t,3,ve):t(...ve)}finally{wt=W}}}else a.run()};return r&&r(U),a=new Ti(p),a.scheduler=o?()=>o(U,!1):U,A=I=>yo(I,!1,a),w=a.onStop=()=>{const I=vn.get(a);if(I){if(c)c(I,4);else for(const ee of I)ee();vn.delete(a)}},t?s?U(!0):F=a.run():o?o(U.bind(null,!0),!0):a.run(),z.pause=a.pause.bind(a),z.resume=a.resume.bind(a),z.stop=z,z}function ot(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--,Ce(e))ot(e.value,t,n);else if(N(e))for(let s=0;s<e.length;s++)ot(e[s],t,n);else if(bi(e)||Ot(e))e.forEach(s=>{ot(s,t,n)});else if(wi(e)){for(const s in e)ot(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&ot(e[s],t,n)}return e}/**
* @vue/runtime-core v3.5.32
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function ln(e,t,n,s){try{return s?e(...s):e()}catch(i){Pn(i,t,n)}}function Ve(e,t,n,s){if(V(e)){const i=ln(e,t,n,s);return i&&_i(i)&&i.catch(l=>{Pn(l,t,n)}),i}if(N(e)){const i=[];for(let l=0;l<e.length;l++)i.push(Ve(e[l],t,n,s));return i}}function Pn(e,t,n,s=!0){const i=t?t.vnode:null,{errorHandler:l,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||le;if(t){let r=t.parent;const c=t.proxy,d=`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const a=r.ec;if(a){for(let p=0;p<a.length;p++)if(a[p](e,c,d)===!1)return}r=r.parent}if(l){rt(),ln(l,null,10,[e,c,d]),ct();return}}_o(e,n,i,s,o)}function _o(e,t,n,s=!0,i=!1){if(i)throw e;console.error(e)}const Se=[];let ze=-1;const Bt=[];let dt=null,Et=0;const Ki=Promise.resolve();let yn=null;function xo(e){const t=yn||Ki;return e?t.then(this?e.bind(this):e):t}function wo(e){let t=ze+1,n=Se.length;for(;t<n;){const s=t+n>>>1,i=Se[s],l=Zt(i);l<e||l===e&&i.flags&2?t=s+1:n=s}return t}function ks(e){if(!(e.flags&1)){const t=Zt(e),n=Se[Se.length-1];!n||!(e.flags&2)&&t>=Zt(n)?Se.push(e):Se.splice(wo(t),0,e),e.flags|=1,Ui()}}function Ui(){yn||(yn=Ki.then(zi))}function Co(e){N(e)?Bt.push(...e):dt&&e.id===-1?dt.splice(Et+1,0,e):e.flags&1||(Bt.push(e),e.flags|=1),Ui()}function Ds(e,t,n=ze+1){for(;n<Se.length;n++){const s=Se[n];if(s&&s.flags&2){if(e&&s.id!==e.uid)continue;Se.splice(n,1),n--,s.flags&4&&(s.flags&=-2),s(),s.flags&4||(s.flags&=-2)}}}function Wi(e){if(Bt.length){const t=[...new Set(Bt)].sort((n,s)=>Zt(n)-Zt(s));if(Bt.length=0,dt){dt.push(...t);return}for(dt=t,Et=0;Et<dt.length;Et++){const n=dt[Et];n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2}dt=null,Et=0}}const Zt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function zi(e){try{for(ze=0;ze<Se.length;ze++){const t=Se[ze];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ln(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;ze<Se.length;ze++){const t=Se[ze];t&&(t.flags&=-2)}ze=-1,Se.length=0,Wi(),yn=null,(Se.length||Bt.length)&&zi()}}let xe=null,qi=null;function bn(e){const t=xe;return xe=e,qi=e&&e.type.__scopeId||null,t}function dn(e,t=xe,n){if(!t||e._n)return e;const s=(...i)=>{s._d&&wn(-1);const l=bn(t);let o;try{o=e(...i)}finally{bn(l),s._d&&wn(1)}return o};return s._n=!0,s._c=!0,s._d=!0,s}function En(e,t){if(xe===null)return e;const n=Dn(xe),s=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[l,o,r,c=le]=t[i];l&&(V(l)&&(l={mounted:l,updated:l}),l.deep&&ot(o),s.push({dir:l,instance:n,value:o,oldValue:void 0,arg:r,modifiers:c}))}return e}function yt(e,t,n,s){const i=e.dirs,l=t&&t.dirs;for(let o=0;o<i.length;o++){const r=i[o];l&&(r.oldValue=l[o].value);let c=r.dir[s];c&&(rt(),Ve(c,n,8,[e.el,r,e,t]),ct())}}function ko(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 hn(e,t,n=!1){const s=Sl();if(s||Dt){let i=Dt?Dt._context.provides:s?s.parent==null||s.ce?s.vnode.appContext&&s.vnode.appContext.provides:s.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return n&&V(t)?t.call(s&&s.proxy):t}}const So=Symbol.for("v-scx"),$o=()=>hn(So);function Wn(e,t,n){return Gi(e,t,n)}function Gi(e,t,n=le){const{immediate:s,deep:i,flush:l,once:o}=n,r=ge({},n),c=t&&s||!t&&l!=="post";let d;if(tn){if(l==="sync"){const A=$o();d=A.__watcherHandles||(A.__watcherHandles=[])}else if(!c){const A=()=>{};return A.stop=Ze,A.resume=Ze,A.pause=Ze,A}}const a=$e;r.call=(A,L,E)=>Ve(A,a,L,E);let p=!1;l==="post"?r.scheduler=A=>{Ae(A,a&&a.suspense)}:l!=="sync"&&(p=!0,r.scheduler=(A,L)=>{L?A():ks(A)}),r.augmentJob=A=>{t&&(A.flags|=4),p&&(A.flags|=2,a&&(A.id=a.uid,A.i=a))};const w=bo(e,t,r);return tn&&(d?d.push(w):c&&w()),w}function Ao(e,t,n){const s=this.proxy,i=ae(e)?e.includes(".")?Ji(s,e):()=>s[e]:e.bind(s,s);let l;V(t)?l=t:(l=t.handler,n=t);const o=on(this),r=Gi(i,l.bind(s),n);return o(),r}function Ji(e,t){const n=t.split(".");return()=>{let s=e;for(let i=0;i<n.length&&s;i++)s=s[n[i]];return s}}const To=Symbol("_vte"),Yi=e=>e.__isTeleport,qe=Symbol("_leaveCb"),Vt=Symbol("_enterCb");function Po(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return On(()=>{e.isMounted=!0}),il(()=>{e.isUnmounting=!0}),e}const Be=[Function,Array],Zi={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Be,onEnter:Be,onAfterEnter:Be,onEnterCancelled:Be,onBeforeLeave:Be,onLeave:Be,onAfterLeave:Be,onLeaveCancelled:Be,onBeforeAppear:Be,onAppear:Be,onAfterAppear:Be,onAppearCancelled:Be},Xi=e=>{const t=e.subTree;return t.component?Xi(t.component):t},Eo={name:"BaseTransition",props:Zi,setup(e,{slots:t}){const n=Sl(),s=Po();return()=>{const i=t.default&&tl(t.default(),!0);if(!i||!i.length)return;const l=Qi(i),o=J(e),{mode:r}=o;if(s.isLeaving)return zn(l);const c=Ns(l);if(!c)return zn(l);let d=is(c,o,s,n,p=>d=p);c.type!==_e&&Xt(c,d);let a=n.subTree&&Ns(n.subTree);if(a&&a.type!==_e&&!Ct(a,c)&&Xi(n).type!==_e){let p=is(a,o,s,n);if(Xt(a,p),r==="out-in"&&c.type!==_e)return s.isLeaving=!0,p.afterLeave=()=>{s.isLeaving=!1,n.job.flags&8||n.update(),delete p.afterLeave,a=void 0},zn(l);r==="in-out"&&c.type!==_e?p.delayLeave=(w,A,L)=>{const E=el(s,a);E[String(a.key)]=a,w[qe]=()=>{A(),w[qe]=void 0,delete d.delayedLeave,a=void 0},d.delayedLeave=()=>{L(),delete d.delayedLeave,a=void 0}}:a=void 0}else a&&(a=void 0);return l}}};function Qi(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==_e){t=n;break}}return t}const Mo=Eo;function el(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:l,mode:o,persisted:r=!1,onBeforeEnter:c,onEnter:d,onAfterEnter:a,onEnterCancelled:p,onBeforeLeave:w,onLeave:A,onAfterLeave:L,onLeaveCancelled:E,onBeforeAppear:j,onAppear:z,onAfterAppear:F,onAppearCancelled:U}=t,I=String(e.key),ee=el(n,e),W=(H,K)=>{H&&Ve(H,s,9,K)},ve=(H,K)=>{const G=K[1];W(H,K),N(H)?H.every(M=>M.length<=1)&&G():H.length<=1&&G()},pe={mode:o,persisted:r,beforeEnter(H){let K=c;if(!n.isMounted)if(l)K=j||c;else return;H[qe]&&H[qe](!0);const G=ee[I];G&&Ct(e,G)&&G.el[qe]&&G.el[qe](),W(K,[H])},enter(H){if(ee[I]===e)return;let K=d,G=a,M=p;if(!n.isMounted)if(l)K=z||d,G=F||a,M=U||p;else return;let te=!1;H[Vt]=Ie=>{te||(te=!0,Ie?W(M,[H]):W(G,[H]),pe.delayedLeave&&pe.delayedLeave(),H[Vt]=void 0)};const de=H[Vt].bind(null,!1);K?ve(K,[H,de]):de()},leave(H,K){const G=String(e.key);if(H[Vt]&&H[Vt](!0),n.isUnmounting)return K();W(w,[H]);let M=!1;H[qe]=de=>{M||(M=!0,K(),de?W(E,[H]):W(L,[H]),H[qe]=void 0,ee[G]===e&&delete ee[G])};const te=H[qe].bind(null,!1);ee[G]=e,A?ve(A,[H,te]):te()},clone(H){const K=is(H,t,n,s,i);return i&&i(K),K}};return pe}function zn(e){if(Mn(e))return e=pt(e),e.children=null,e}function Ns(e){if(!Mn(e))return Yi(e.type)&&e.children?Qi(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&&V(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 tl(e,t=!1,n){let s=[],i=0;for(let l=0;l<e.length;l++){let o=e[l];const r=n==null?o.key:String(n)+String(o.key!=null?o.key:l);o.type===X?(o.patchFlag&128&&i++,s=s.concat(tl(o.children,t,r))):(t||o.type!==_e)&&s.push(r!=null?pt(o,{key:r}):o)}if(i>1)for(let l=0;l<s.length;l++)s[l].patchFlag=-2;return s}function nl(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Rs(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const _n=new WeakMap;function zt(e,t,n,s,i=!1){if(N(e)){e.forEach((E,j)=>zt(E,t&&(N(t)?t[j]:t),n,s,i));return}if(Lt(s)&&!i){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&zt(e,t,n,s.component.subTree);return}const l=s.shapeFlag&4?Dn(s.component):s.el,o=i?null:l,{i:r,r:c}=e,d=t&&t.r,a=r.refs===le?r.refs={}:r.refs,p=r.setupState,w=J(p),A=p===le?yi:E=>Rs(a,E)?!1:Z(w,E),L=(E,j)=>!(j&&Rs(a,j));if(d!=null&&d!==c){if(Fs(t),ae(d))a[d]=null,A(d)&&(p[d]=null);else if(Ce(d)){const E=t;L(d,E.k)&&(d.value=null),E.k&&(a[E.k]=null)}}if(V(c))ln(c,r,12,[o,a]);else{const E=ae(c),j=Ce(c);if(E||j){const z=()=>{if(e.f){const F=E?A(c)?p[c]:a[c]:L()||!e.k?c.value:a[e.k];if(i)N(F)&&ds(F,l);else if(N(F))F.includes(l)||F.push(l);else if(E)a[c]=[l],A(c)&&(p[c]=a[c]);else{const U=[l];L(c,e.k)&&(c.value=U),e.k&&(a[e.k]=U)}}else E?(a[c]=o,A(c)&&(p[c]=o)):j&&(L(c,e.k)&&(c.value=o),e.k&&(a[e.k]=o))};if(o){const F=()=>{z(),_n.delete(e)};F.id=-1,_n.set(e,F),Ae(F,n)}else Fs(e),z()}}}function Fs(e){const t=_n.get(e);t&&(t.flags|=8,_n.delete(e))}An().requestIdleCallback;An().cancelIdleCallback;const Lt=e=>!!e.type.__asyncLoader,Mn=e=>e.type.__isKeepAlive;function Io(e,t){sl(e,"a",t)}function Oo(e,t){sl(e,"da",t)}function sl(e,t,n=$e){const s=e.__wdc||(e.__wdc=()=>{let i=n;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(In(t,s,n),n){let i=n.parent;for(;i&&i.parent;)Mn(i.parent.vnode)&&Bo(s,t,n,i),i=i.parent}}function Bo(e,t,n,s){const i=In(t,e,s,!0);Ss(()=>{ds(s[t],i)},n)}function In(e,t,n=$e,s=!1){if(n){const i=n[e]||(n[e]=[]),l=t.__weh||(t.__weh=(...o)=>{rt();const r=on(n),c=Ve(t,n,e,o);return r(),ct(),c});return s?i.unshift(l):i.push(l),l}}const ut=e=>(t,n=$e)=>{(!tn||e==="sp")&&In(e,(...s)=>t(...s),n)},Lo=ut("bm"),On=ut("m"),Do=ut("bu"),No=ut("u"),il=ut("bum"),Ss=ut("um"),Ro=ut("sp"),Fo=ut("rtg"),Vo=ut("rtc");function Ho(e,t=$e){In("ec",e,t)}const jo=Symbol.for("v-ndc");function $t(e,t,n,s){let i;const l=n,o=N(e);if(o||ae(e)){const r=o&&St(e);let c=!1,d=!1;r&&(c=!Le(e),d=at(e),e=Tn(e)),i=new Array(e.length);for(let a=0,p=e.length;a<p;a++)i[a]=t(c?d?Nt(Fe(e[a])):Fe(e[a]):e[a],a,void 0,l)}else if(typeof e=="number"){i=new Array(e);for(let r=0;r<e;r++)i[r]=t(r+1,r,void 0,l)}else if(Q(e))if(e[Symbol.iterator])i=Array.from(e,(r,c)=>t(r,c,void 0,l));else{const r=Object.keys(e);i=new Array(r.length);for(let c=0,d=r.length;c<d;c++){const a=r[c];i[c]=t(e[a],a,c,l)}}else i=[];return i}function Ko(e,t,n={},s,i){if(xe.ce||xe.parent&&Lt(xe.parent)&&xe.parent.ce){const d=Object.keys(n).length>0;return g(),Ee(X,null,[me("slot",n,s)],d?-2:64)}let l=e[t];l&&l._c&&(l._d=!1),g();const o=l&&ll(l(n)),r=n.key||o&&o.key,c=Ee(X,{key:(r&&!Re(r)?r:`_${t}`)+(!o&&s?"_fb":"")},o||[],o&&e._===1?64:-2);return c.scopeId&&(c.slotScopeIds=[c.scopeId+"-s"]),l&&l._c&&(l._d=!0),c}function ll(e){return e.some(t=>en(t)?!(t.type===_e||t.type===X&&!ll(t.children)):!0)?e:null}const ls=e=>e?$l(e)?Dn(e):ls(e.parent):null,qt=ge(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>ls(e.parent),$root:e=>ls(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>rl(e),$forceUpdate:e=>e.f||(e.f=()=>{ks(e.update)}),$nextTick:e=>e.n||(e.n=xo.bind(e.proxy)),$watch:e=>Ao.bind(e)}),qn=(e,t)=>e!==le&&!e.__isScriptSetup&&Z(e,t),Uo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:i,props:l,accessCache:o,type:r,appContext:c}=e;if(t[0]!=="$"){const w=o[t];if(w!==void 0)switch(w){case 1:return s[t];case 2:return i[t];case 4:return n[t];case 3:return l[t]}else{if(qn(s,t))return o[t]=1,s[t];if(i!==le&&Z(i,t))return o[t]=2,i[t];if(Z(l,t))return o[t]=3,l[t];if(n!==le&&Z(n,t))return o[t]=4,n[t];os&&(o[t]=0)}}const d=qt[t];let a,p;if(d)return t==="$attrs"&&be(e.attrs,"get",""),d(e);if((a=r.__cssModules)&&(a=a[t]))return a;if(n!==le&&Z(n,t))return o[t]=4,n[t];if(p=c.config.globalProperties,Z(p,t))return p[t]},set({_:e},t,n){const{data:s,setupState:i,ctx:l}=e;return qn(i,t)?(i[t]=n,!0):s!==le&&Z(s,t)?(s[t]=n,!0):Z(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(l[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:i,props:l,type:o}},r){let c;return!!(n[r]||e!==le&&r[0]!=="$"&&Z(e,r)||qn(t,r)||Z(l,r)||Z(s,r)||Z(qt,r)||Z(i.config.globalProperties,r)||(c=o.__cssModules)&&c[r])},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 N(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let os=!0;function Wo(e){const t=rl(e),n=e.proxy,s=e.ctx;os=!1,t.beforeCreate&&Hs(t.beforeCreate,e,"bc");const{data:i,computed:l,methods:o,watch:r,provide:c,inject:d,created:a,beforeMount:p,mounted:w,beforeUpdate:A,updated:L,activated:E,deactivated:j,beforeDestroy:z,beforeUnmount:F,destroyed:U,unmounted:I,render:ee,renderTracked:W,renderTriggered:ve,errorCaptured:pe,serverPrefetch:H,expose:K,inheritAttrs:G,components:M,directives:te,filters:de}=t;if(d&&zo(d,s,null),o)for(const ce in o){const ne=o[ce];V(ne)&&(s[ce]=ne.bind(n))}if(i){const ce=i.call(n,n);Q(ce)&&(e.data=xs(ce))}if(os=!0,l)for(const ce in l){const ne=l[ce],Qe=V(ne)?ne.bind(n,n):V(ne.get)?ne.get.bind(n,n):Ze,At=!V(ne)&&V(ne.set)?ne.set.bind(n):Ze,et=he({get:Qe,set:At});Object.defineProperty(s,ce,{enumerable:!0,configurable:!0,get:()=>et.value,set:Oe=>et.value=Oe})}if(r)for(const ce in r)ol(r[ce],s,n,ce);if(c){const ce=V(c)?c.call(n):c;Reflect.ownKeys(ce).forEach(ne=>{ko(ne,ce[ne])})}a&&Hs(a,e,"c");function ue(ce,ne){N(ne)?ne.forEach(Qe=>ce(Qe.bind(n))):ne&&ce(ne.bind(n))}if(ue(Lo,p),ue(On,w),ue(Do,A),ue(No,L),ue(Io,E),ue(Oo,j),ue(Ho,pe),ue(Vo,W),ue(Fo,ve),ue(il,F),ue(Ss,I),ue(Ro,H),N(K))if(K.length){const ce=e.exposed||(e.exposed={});K.forEach(ne=>{Object.defineProperty(ce,ne,{get:()=>n[ne],set:Qe=>n[ne]=Qe,enumerable:!0})})}else e.exposed||(e.exposed={});ee&&e.render===Ze&&(e.render=ee),G!=null&&(e.inheritAttrs=G),M&&(e.components=M),te&&(e.directives=te),H&&nl(e)}function zo(e,t,n=Ze){N(e)&&(e=rs(e));for(const s in e){const i=e[s];let l;Q(i)?"default"in i?l=hn(i.from||s,i.default,!0):l=hn(i.from||s):l=hn(i),Ce(l)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>l.value,set:o=>l.value=o}):t[s]=l}}function Hs(e,t,n){Ve(N(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function ol(e,t,n,s){let i=s.includes(".")?Ji(n,s):()=>n[s];if(ae(e)){const l=t[e];V(l)&&Wn(i,l)}else if(V(e))Wn(i,e.bind(n));else if(Q(e))if(N(e))e.forEach(l=>ol(l,t,n,s));else{const l=V(e.handler)?e.handler.bind(n):t[e.handler];V(l)&&Wn(i,l,e)}}function rl(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:i,optionsCache:l,config:{optionMergeStrategies:o}}=e.appContext,r=l.get(t);let c;return r?c=r:!i.length&&!n&&!s?c=t:(c={},i.length&&i.forEach(d=>xn(c,d,o,!0)),xn(c,t,o)),Q(t)&&l.set(t,c),c}function xn(e,t,n,s=!1){const{mixins:i,extends:l}=t;l&&xn(e,l,n,!0),i&&i.forEach(o=>xn(e,o,n,!0));for(const o in t)if(!(s&&o==="expose")){const r=qo[o]||n&&n[o];e[o]=r?r(e[o],t[o]):t[o]}return e}const qo={data:js,props:Ks,emits:Ks,methods:jt,computed:jt,beforeCreate:ke,created:ke,beforeMount:ke,mounted:ke,beforeUpdate:ke,updated:ke,beforeDestroy:ke,beforeUnmount:ke,destroyed:ke,unmounted:ke,activated:ke,deactivated:ke,errorCaptured:ke,serverPrefetch:ke,components:jt,directives:jt,watch:Jo,provide:js,inject:Go};function js(e,t){return t?e?function(){return ge(V(e)?e.call(this,this):e,V(t)?t.call(this,this):t)}:t:e}function Go(e,t){return jt(rs(e),rs(t))}function rs(e){if(N(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function ke(e,t){return e?[...new Set([].concat(e,t))]:t}function jt(e,t){return e?ge(Object.create(null),e,t):t}function Ks(e,t){return e?N(e)&&N(t)?[...new Set([...e,...t])]:ge(Object.create(null),Vs(e),Vs(t??{})):t}function Jo(e,t){if(!e)return t;if(!t)return e;const n=ge(Object.create(null),e);for(const s in t)n[s]=ke(e[s],t[s]);return n}function cl(){return{app:null,config:{isNativeTag:yi,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 Yo=0;function Zo(e,t){return function(s,i=null){V(s)||(s=ge({},s)),i!=null&&!Q(i)&&(i=null);const l=cl(),o=new WeakSet,r=[];let c=!1;const d=l.app={_uid:Yo++,_component:s,_props:i,_container:null,_context:l,_instance:null,version:Er,get config(){return l.config},set config(a){},use(a,...p){return o.has(a)||(a&&V(a.install)?(o.add(a),a.install(d,...p)):V(a)&&(o.add(a),a(d,...p))),d},mixin(a){return l.mixins.includes(a)||l.mixins.push(a),d},component(a,p){return p?(l.components[a]=p,d):l.components[a]},directive(a,p){return p?(l.directives[a]=p,d):l.directives[a]},mount(a,p,w){if(!c){const A=d._ceVNode||me(s,i);return A.appContext=l,w===!0?w="svg":w===!1&&(w=void 0),e(A,a,w),c=!0,d._container=a,a.__vue_app__=d,Dn(A.component)}},onUnmount(a){r.push(a)},unmount(){c&&(Ve(r,d._instance,16),e(null,d._container),delete d._container.__vue_app__)},provide(a,p){return l.provides[a]=p,d},runWithContext(a){const p=Dt;Dt=d;try{return a()}finally{Dt=p}}};return d}}let Dt=null;const Xo=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${De(t)}Modifiers`]||e[`${mt(t)}Modifiers`];function Qo(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||le;let i=n;const l=t.startsWith("update:"),o=l&&Xo(s,t.slice(7));o&&(o.trim&&(i=n.map(a=>ae(a)?a.trim():a)),o.number&&(i=n.map(ps)));let r,c=s[r=Vn(t)]||s[r=Vn(De(t))];!c&&l&&(c=s[r=Vn(mt(t))]),c&&Ve(c,e,6,i);const d=s[r+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[r])return;e.emitted[r]=!0,Ve(d,e,6,i)}}const er=new WeakMap;function al(e,t,n=!1){const s=n?er:t.emitsCache,i=s.get(e);if(i!==void 0)return i;const l=e.emits;let o={},r=!1;if(!V(e)){const c=d=>{const a=al(d,t,!0);a&&(r=!0,ge(o,a))};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!l&&!r?(Q(e)&&s.set(e,null),null):(N(l)?l.forEach(c=>o[c]=null):ge(o,l),Q(e)&&s.set(e,o),o)}function Bn(e,t){return!e||!kn(t)?!1:(t=t.slice(2).replace(/Once$/,""),Z(e,t[0].toLowerCase()+t.slice(1))||Z(e,mt(t))||Z(e,t))}function Us(e){const{type:t,vnode:n,proxy:s,withProxy:i,propsOptions:[l],slots:o,attrs:r,emit:c,render:d,renderCache:a,props:p,data:w,setupState:A,ctx:L,inheritAttrs:E}=e,j=bn(e);let z,F;try{if(n.shapeFlag&4){const I=i||s,ee=I;z=Je(d.call(ee,I,a,p,A,w,L)),F=r}else{const I=t;z=Je(I.length>1?I(p,{attrs:r,slots:o,emit:c}):I(p,null)),F=t.props?r:tr(r)}}catch(I){Gt.length=0,Pn(I,e,1),z=me(_e)}let U=z;if(F&&E!==!1){const I=Object.keys(F),{shapeFlag:ee}=U;I.length&&ee&7&&(l&&I.some(Sn)&&(F=nr(F,l)),U=pt(U,F,!1,!0))}return n.dirs&&(U=pt(U,null,!1,!0),U.dirs=U.dirs?U.dirs.concat(n.dirs):n.dirs),n.transition&&Xt(U,n.transition),z=U,bn(j),z}const tr=e=>{let t;for(const n in e)(n==="class"||n==="style"||kn(n))&&((t||(t={}))[n]=e[n]);return t},nr=(e,t)=>{const n={};for(const s in e)(!Sn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function sr(e,t,n){const{props:s,children:i,component:l}=e,{props:o,children:r,patchFlag:c}=t,d=l.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&c>=0){if(c&1024)return!0;if(c&16)return s?Ws(s,o,d):!!o;if(c&8){const a=t.dynamicProps;for(let p=0;p<a.length;p++){const w=a[p];if(ul(o,s,w)&&!Bn(d,w))return!0}}}else return(i||r)&&(!r||!r.$stable)?!0:s===o?!1:s?o?Ws(s,o,d):!0:!!o;return!1}function Ws(e,t,n){const s=Object.keys(t);if(s.length!==Object.keys(e).length)return!0;for(let i=0;i<s.length;i++){const l=s[i];if(ul(t,e,l)&&!Bn(n,l))return!0}return!1}function ul(e,t,n){const s=e[n],i=t[n];return n==="style"&&Q(s)&&Q(i)?!ms(s,i):s!==i}function ir({vnode:e,parent:t,suspense:n},s){for(;t;){const i=t.subTree;if(i.suspense&&i.suspense.activeBranch===e&&(i.suspense.vnode.el=i.el=s,e=i),i===e)(e=t.vnode).el=s,t=t.parent;else break}n&&n.activeBranch===e&&(n.vnode.el=s)}const fl={},dl=()=>Object.create(fl),hl=e=>Object.getPrototypeOf(e)===fl;function lr(e,t,n,s=!1){const i={},l=dl();e.propsDefaults=Object.create(null),pl(e,t,i,l);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=l,e.attrs=l}function or(e,t,n,s){const{props:i,attrs:l,vnode:{patchFlag:o}}=e,r=J(i),[c]=e.propsOptions;let d=!1;if((s||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p<a.length;p++){let w=a[p];if(Bn(e.emitsOptions,w))continue;const A=t[w];if(c)if(Z(l,w))A!==l[w]&&(l[w]=A,d=!0);else{const L=De(w);i[L]=cs(c,r,L,A,e,!1)}else A!==l[w]&&(l[w]=A,d=!0)}}}else{pl(e,t,i,l)&&(d=!0);let a;for(const p in r)(!t||!Z(t,p)&&((a=mt(p))===p||!Z(t,a)))&&(c?n&&(n[p]!==void 0||n[a]!==void 0)&&(i[p]=cs(c,r,p,void 0,e,!0)):delete i[p]);if(l!==r)for(const p in l)(!t||!Z(t,p))&&(delete l[p],d=!0)}d&&lt(e.attrs,"set","")}function pl(e,t,n,s){const[i,l]=e.propsOptions;let o=!1,r;if(t)for(let c in t){if(Kt(c))continue;const d=t[c];let a;i&&Z(i,a=De(c))?!l||!l.includes(a)?n[a]=d:(r||(r={}))[a]=d:Bn(e.emitsOptions,c)||(!(c in s)||d!==s[c])&&(s[c]=d,o=!0)}if(l){const c=J(n),d=r||le;for(let a=0;a<l.length;a++){const p=l[a];n[p]=cs(i,c,p,d[p],e,!Z(d,p))}}return o}function cs(e,t,n,s,i,l){const o=e[n];if(o!=null){const r=Z(o,"default");if(r&&s===void 0){const c=o.default;if(o.type!==Function&&!o.skipFactory&&V(c)){const{propsDefaults:d}=i;if(n in d)s=d[n];else{const a=on(i);s=d[n]=c.call(null,t),a()}}else s=c;i.ce&&i.ce._setProp(n,s)}o[0]&&(l&&!r?s=!1:o[1]&&(s===""||s===mt(n))&&(s=!0))}return s}const rr=new WeakMap;function ml(e,t,n=!1){const s=n?rr:t.propsCache,i=s.get(e);if(i)return i;const l=e.props,o={},r=[];let c=!1;if(!V(e)){const a=p=>{c=!0;const[w,A]=ml(p,t,!0);ge(o,w),A&&r.push(...A)};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!l&&!c)return Q(e)&&s.set(e,It),It;if(N(l))for(let a=0;a<l.length;a++){const p=De(l[a]);zs(p)&&(o[p]=le)}else if(l)for(const a in l){const p=De(a);if(zs(p)){const w=l[a],A=o[p]=N(w)||V(w)?{type:w}:ge({},w),L=A.type;let E=!1,j=!0;if(N(L))for(let z=0;z<L.length;++z){const F=L[z],U=V(F)&&F.name;if(U==="Boolean"){E=!0;break}else U==="String"&&(j=!1)}else E=V(L)&&L.name==="Boolean";A[0]=E,A[1]=j,(E||Z(A,"default"))&&r.push(p)}}const d=[o,r];return Q(e)&&s.set(e,d),d}function zs(e){return e[0]!=="$"&&!Kt(e)}const $s=e=>e==="_"||e==="_ctx"||e==="$stable",As=e=>N(e)?e.map(Je):[Je(e)],cr=(e,t,n)=>{if(t._n)return t;const s=dn((...i)=>As(t(...i)),n);return s._c=!1,s},gl=(e,t,n)=>{const s=e._ctx;for(const i in e){if($s(i))continue;const l=e[i];if(V(l))t[i]=cr(i,l,s);else if(l!=null){const o=As(l);t[i]=()=>o}}},vl=(e,t)=>{const n=As(t);e.slots.default=()=>n},yl=(e,t,n)=>{for(const s in t)(n||!$s(s))&&(e[s]=t[s])},ar=(e,t,n)=>{const s=e.slots=dl();if(e.vnode.shapeFlag&32){const i=t._;i?(yl(s,t,n),n&&ki(s,"_",i,!0)):gl(t,s)}else t&&vl(e,t)},ur=(e,t,n)=>{const{vnode:s,slots:i}=e;let l=!0,o=le;if(s.shapeFlag&32){const r=t._;r?n&&r===1?l=!1:yl(i,t,n):(l=!t.$stable,gl(t,i)),o=t}else t&&(vl(e,t),o={default:1});if(l)for(const r in i)!$s(r)&&o[r]==null&&delete i[r]},Ae=mr;function fr(e){return dr(e)}function dr(e,t){const n=An();n.__VUE__=!0;const{insert:s,remove:i,patchProp:l,createElement:o,createText:r,createComment:c,setText:d,setElementText:a,parentNode:p,nextSibling:w,setScopeId:A=Ze,insertStaticContent:L}=e,E=(u,f,m,x=null,y=null,b=null,T=void 0,S=null,k=!!f.dynamicChildren)=>{if(u===f)return;u&&!Ct(u,f)&&(x=vt(u),Oe(u,y,b,!0),u=null),f.patchFlag===-2&&(k=!1,f.dynamicChildren=null);const{type:_,ref:D,shapeFlag:P}=f;switch(_){case Ln:j(u,f,m,x);break;case _e:z(u,f,m,x);break;case pn:u==null&&F(f,m,x,T);break;case X:M(u,f,m,x,y,b,T,S,k);break;default:P&1?ee(u,f,m,x,y,b,T,S,k):P&6?te(u,f,m,x,y,b,T,S,k):(P&64||P&128)&&_.process(u,f,m,x,y,b,T,S,k,O)}D!=null&&y?zt(D,u&&u.ref,b,f||u,!f):D==null&&u&&u.ref!=null&&zt(u.ref,null,b,u,!0)},j=(u,f,m,x)=>{if(u==null)s(f.el=r(f.children),m,x);else{const y=f.el=u.el;f.children!==u.children&&d(y,f.children)}},z=(u,f,m,x)=>{u==null?s(f.el=c(f.children||""),m,x):f.el=u.el},F=(u,f,m,x)=>{[u.el,u.anchor]=L(u.children,f,m,x,u.el,u.anchor)},U=({el:u,anchor:f},m,x)=>{let y;for(;u&&u!==f;)y=w(u),s(u,m,x),u=y;s(f,m,x)},I=({el:u,anchor:f})=>{let m;for(;u&&u!==f;)m=w(u),i(u),u=m;i(f)},ee=(u,f,m,x,y,b,T,S,k)=>{if(f.type==="svg"?T="svg":f.type==="math"&&(T="mathml"),u==null)W(f,m,x,y,b,T,S,k);else{const _=u.el&&u.el._isVueCE?u.el:null;try{_&&_._beginPatch(),H(u,f,y,b,T,S,k)}finally{_&&_._endPatch()}}},W=(u,f,m,x,y,b,T,S)=>{let k,_;const{props:D,shapeFlag:P,transition:B,dirs:R}=u;if(k=u.el=o(u.type,b,D&&D.is,D),P&8?a(k,u.children):P&16&&pe(u.children,k,null,x,y,Gn(u,b),T,S),R&&yt(u,null,x,"created"),ve(k,u,u.scopeId,T,x),D){for(const ie in D)ie!=="value"&&!Kt(ie)&&l(k,ie,null,D[ie],b,x);"value"in D&&l(k,"value",null,D.value,b),(_=D.onVnodeBeforeMount)&&We(_,x,u)}R&&yt(u,null,x,"beforeMount");const q=hr(y,B);q&&B.beforeEnter(k),s(k,f,m),((_=D&&D.onVnodeMounted)||q||R)&&Ae(()=>{try{_&&We(_,x,u),q&&B.enter(k),R&&yt(u,null,x,"mounted")}finally{}},y)},ve=(u,f,m,x,y)=>{if(m&&A(u,m),x)for(let b=0;b<x.length;b++)A(u,x[b]);if(y){let b=y.subTree;if(f===b||wl(b.type)&&(b.ssContent===f||b.ssFallback===f)){const T=y.vnode;ve(u,T,T.scopeId,T.slotScopeIds,y.parent)}}},pe=(u,f,m,x,y,b,T,S,k=0)=>{for(let _=k;_<u.length;_++){const D=u[_]=S?it(u[_]):Je(u[_]);E(null,D,f,m,x,y,b,T,S)}},H=(u,f,m,x,y,b,T)=>{const S=f.el=u.el;let{patchFlag:k,dynamicChildren:_,dirs:D}=f;k|=u.patchFlag&16;const P=u.props||le,B=f.props||le;let R;if(m&&bt(m,!1),(R=B.onVnodeBeforeUpdate)&&We(R,m,f,u),D&&yt(f,u,m,"beforeUpdate"),m&&bt(m,!0),(P.innerHTML&&B.innerHTML==null||P.textContent&&B.textContent==null)&&a(S,""),_?K(u.dynamicChildren,_,S,m,x,Gn(f,y),b):T||ne(u,f,S,null,m,x,Gn(f,y),b,!1),k>0){if(k&16)G(S,P,B,m,y);else if(k&2&&P.class!==B.class&&l(S,"class",null,B.class,y),k&4&&l(S,"style",P.style,B.style,y),k&8){const q=f.dynamicProps;for(let ie=0;ie<q.length;ie++){const oe=q[ie],fe=P[oe],ye=B[oe];(ye!==fe||oe==="value")&&l(S,oe,fe,ye,y,m)}}k&1&&u.children!==f.children&&a(S,f.children)}else!T&&_==null&&G(S,P,B,m,y);((R=B.onVnodeUpdated)||D)&&Ae(()=>{R&&We(R,m,f,u),D&&yt(f,u,m,"updated")},x)},K=(u,f,m,x,y,b,T)=>{for(let S=0;S<f.length;S++){const k=u[S],_=f[S],D=k.el&&(k.type===X||!Ct(k,_)||k.shapeFlag&198)?p(k.el):m;E(k,_,D,null,x,y,b,T,!0)}},G=(u,f,m,x,y)=>{if(f!==m){if(f!==le)for(const b in f)!Kt(b)&&!(b in m)&&l(u,b,f[b],null,y,x);for(const b in m){if(Kt(b))continue;const T=m[b],S=f[b];T!==S&&b!=="value"&&l(u,b,S,T,y,x)}"value"in m&&l(u,"value",f.value,m.value,y)}},M=(u,f,m,x,y,b,T,S,k)=>{const _=f.el=u?u.el:r(""),D=f.anchor=u?u.anchor:r("");let{patchFlag:P,dynamicChildren:B,slotScopeIds:R}=f;R&&(S=S?S.concat(R):R),u==null?(s(_,m,x),s(D,m,x),pe(f.children||[],m,D,y,b,T,S,k)):P>0&&P&64&&B&&u.dynamicChildren&&u.dynamicChildren.length===B.length?(K(u.dynamicChildren,B,m,y,b,T,S),(f.key!=null||y&&f===y.subTree)&&bl(u,f,!0)):ne(u,f,m,D,y,b,T,S,k)},te=(u,f,m,x,y,b,T,S,k)=>{f.slotScopeIds=S,u==null?f.shapeFlag&512?y.ctx.activate(f,m,x,T,k):de(f,m,x,y,b,T,k):Ie(u,f,k)},de=(u,f,m,x,y,b,T)=>{const S=u.component=Cr(u,x,y);if(Mn(u)&&(S.ctx.renderer=O),kr(S,!1,T),S.asyncDep){if(y&&y.registerDep(S,ue,T),!u.el){const k=S.subTree=me(_e);z(null,k,f,m),u.placeholder=k.el}}else ue(S,u,f,m,y,b,T)},Ie=(u,f,m)=>{const x=f.component=u.component;if(sr(u,f,m))if(x.asyncDep&&!x.asyncResolved){ce(x,f,m);return}else x.next=f,x.update();else f.el=u.el,x.vnode=f},ue=(u,f,m,x,y,b,T)=>{const S=()=>{if(u.isMounted){let{next:P,bu:B,u:R,parent:q,vnode:ie}=u;{const Ke=_l(u);if(Ke){P&&(P.el=ie.el,ce(u,P,T)),Ke.asyncDep.then(()=>{Ae(()=>{u.isUnmounted||_()},y)});return}}let oe=P,fe;bt(u,!1),P?(P.el=ie.el,ce(u,P,T)):P=ie,B&&fn(B),(fe=P.props&&P.props.onVnodeBeforeUpdate)&&We(fe,q,P,ie),bt(u,!0);const ye=Us(u),je=u.subTree;u.subTree=ye,E(je,ye,p(je.el),vt(je),u,y,b),P.el=ye.el,oe===null&&ir(u,ye.el),R&&Ae(R,y),(fe=P.props&&P.props.onVnodeUpdated)&&Ae(()=>We(fe,q,P,ie),y)}else{let P;const{el:B,props:R}=f,{bm:q,m:ie,parent:oe,root:fe,type:ye}=u,je=Lt(f);bt(u,!1),q&&fn(q),!je&&(P=R&&R.onVnodeBeforeMount)&&We(P,oe,f),bt(u,!0);{fe.ce&&fe.ce._hasShadowRoot()&&fe.ce._injectChildStyle(ye,u.parent?u.parent.type:void 0);const Ke=u.subTree=Us(u);E(null,Ke,m,x,u,y,b),f.el=Ke.el}if(ie&&Ae(ie,y),!je&&(P=R&&R.onVnodeMounted)){const Ke=f;Ae(()=>We(P,oe,Ke),y)}(f.shapeFlag&256||oe&&Lt(oe.vnode)&&oe.vnode.shapeFlag&256)&&u.a&&Ae(u.a,y),u.isMounted=!0,f=m=x=null}};u.scope.on();const k=u.effect=new Ti(S);u.scope.off();const _=u.update=k.run.bind(k),D=u.job=k.runIfDirty.bind(k);D.i=u,D.id=u.uid,k.scheduler=()=>ks(D),bt(u,!0),_()},ce=(u,f,m)=>{f.component=u;const x=u.vnode.props;u.vnode=f,u.next=null,or(u,f.props,x,m),ur(u,f.children,m),rt(),Ds(u),ct()},ne=(u,f,m,x,y,b,T,S,k=!1)=>{const _=u&&u.children,D=u?u.shapeFlag:0,P=f.children,{patchFlag:B,shapeFlag:R}=f;if(B>0){if(B&128){At(_,P,m,x,y,b,T,S,k);return}else if(B&256){Qe(_,P,m,x,y,b,T,S,k);return}}R&8?(D&16&&gt(_,y,b),P!==_&&a(m,P)):D&16?R&16?At(_,P,m,x,y,b,T,S,k):gt(_,y,b,!0):(D&8&&a(m,""),R&16&&pe(P,m,x,y,b,T,S,k))},Qe=(u,f,m,x,y,b,T,S,k)=>{u=u||It,f=f||It;const _=u.length,D=f.length,P=Math.min(_,D);let B;for(B=0;B<P;B++){const R=f[B]=k?it(f[B]):Je(f[B]);E(u[B],R,m,null,y,b,T,S,k)}_>D?gt(u,y,b,!0,!1,P):pe(f,m,x,y,b,T,S,k,P)},At=(u,f,m,x,y,b,T,S,k)=>{let _=0;const D=f.length;let P=u.length-1,B=D-1;for(;_<=P&&_<=B;){const R=u[_],q=f[_]=k?it(f[_]):Je(f[_]);if(Ct(R,q))E(R,q,m,null,y,b,T,S,k);else break;_++}for(;_<=P&&_<=B;){const R=u[P],q=f[B]=k?it(f[B]):Je(f[B]);if(Ct(R,q))E(R,q,m,null,y,b,T,S,k);else break;P--,B--}if(_>P){if(_<=B){const R=B+1,q=R<D?f[R].el:x;for(;_<=B;)E(null,f[_]=k?it(f[_]):Je(f[_]),m,q,y,b,T,S,k),_++}}else if(_>B)for(;_<=P;)Oe(u[_],y,b,!0),_++;else{const R=_,q=_,ie=new Map;for(_=q;_<=B;_++){const Pe=f[_]=k?it(f[_]):Je(f[_]);Pe.key!=null&&ie.set(Pe.key,_)}let oe,fe=0;const ye=B-q+1;let je=!1,Ke=0;const Rt=new Array(ye);for(_=0;_<ye;_++)Rt[_]=0;for(_=R;_<=P;_++){const Pe=u[_];if(fe>=ye){Oe(Pe,y,b,!0);continue}let Ue;if(Pe.key!=null)Ue=ie.get(Pe.key);else for(oe=q;oe<=B;oe++)if(Rt[oe-q]===0&&Ct(Pe,f[oe])){Ue=oe;break}Ue===void 0?Oe(Pe,y,b,!0):(Rt[Ue-q]=_+1,Ue>=Ke?Ke=Ue:je=!0,E(Pe,f[Ue],m,null,y,b,T,S,k),fe++)}const Ps=je?pr(Rt):It;for(oe=Ps.length-1,_=ye-1;_>=0;_--){const Pe=q+_,Ue=f[Pe],Es=f[Pe+1],Ms=Pe+1<D?Es.el||xl(Es):x;Rt[_]===0?E(null,Ue,m,Ms,y,b,T,S,k):je&&(oe<0||_!==Ps[oe]?et(Ue,m,Ms,2):oe--)}}},et=(u,f,m,x,y=null)=>{const{el:b,type:T,transition:S,children:k,shapeFlag:_}=u;if(_&6){et(u.component.subTree,f,m,x);return}if(_&128){u.suspense.move(f,m,x);return}if(_&64){T.move(u,f,m,O);return}if(T===X){s(b,f,m);for(let P=0;P<k.length;P++)et(k[P],f,m,x);s(u.anchor,f,m);return}if(T===pn){U(u,f,m);return}if(x!==2&&_&1&&S)if(x===0)S.beforeEnter(b),s(b,f,m),Ae(()=>S.enter(b),y);else{const{leave:P,delayLeave:B,afterLeave:R}=S,q=()=>{u.ctx.isUnmounted?i(b):s(b,f,m)},ie=()=>{b._isLeaving&&b[qe](!0),P(b,()=>{q(),R&&R()})};B?B(b,q,ie):ie()}else s(b,f,m)},Oe=(u,f,m,x=!1,y=!1)=>{const{type:b,props:T,ref:S,children:k,dynamicChildren:_,shapeFlag:D,patchFlag:P,dirs:B,cacheIndex:R,memo:q}=u;if(P===-2&&(y=!1),S!=null&&(rt(),zt(S,null,m,u,!0),ct()),R!=null&&(f.renderCache[R]=void 0),D&256){f.ctx.deactivate(u);return}const ie=D&1&&B,oe=!Lt(u);let fe;if(oe&&(fe=T&&T.onVnodeBeforeUnmount)&&We(fe,f,u),D&6)Fn(u.component,m,x);else{if(D&128){u.suspense.unmount(m,x);return}ie&&yt(u,null,f,"beforeUnmount"),D&64?u.type.remove(u,f,m,O,x):_&&!_.hasOnce&&(b!==X||P>0&&P&64)?gt(_,f,m,!1,!0):(b===X&&P&384||!y&&D&16)&&gt(k,f,m),x&&rn(u)}const ye=q!=null&&R==null;(oe&&(fe=T&&T.onVnodeUnmounted)||ie||ye)&&Ae(()=>{fe&&We(fe,f,u),ie&&yt(u,null,f,"unmounted"),ye&&(u.el=null)},m)},rn=u=>{const{type:f,el:m,anchor:x,transition:y}=u;if(f===X){Rn(m,x);return}if(f===pn){I(u);return}const b=()=>{i(m),y&&!y.persisted&&y.afterLeave&&y.afterLeave()};if(u.shapeFlag&1&&y&&!y.persisted){const{leave:T,delayLeave:S}=y,k=()=>T(m,b);S?S(u.el,b,k):k()}else b()},Rn=(u,f)=>{let m;for(;u!==f;)m=w(u),i(u),u=m;i(f)},Fn=(u,f,m)=>{const{bum:x,scope:y,job:b,subTree:T,um:S,m:k,a:_}=u;qs(k),qs(_),x&&fn(x),y.stop(),b&&(b.flags|=8,Oe(T,u,f,m)),S&&Ae(S,f),Ae(()=>{u.isUnmounted=!0},f)},gt=(u,f,m,x=!1,y=!1,b=0)=>{for(let T=b;T<u.length;T++)Oe(u[T],f,m,x,y)},vt=u=>{if(u.shapeFlag&6)return vt(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const f=w(u.anchor||u.el),m=f&&f[To];return m?w(m):f};let Tt=!1;const C=(u,f,m)=>{let x;u==null?f._vnode&&(Oe(f._vnode,null,null,!0),x=f._vnode.component):E(f._vnode||null,u,f,null,null,null,m),f._vnode=u,Tt||(Tt=!0,Ds(x),Wi(),Tt=!1)},O={p:E,um:Oe,m:et,r:rn,mt:de,mc:pe,pc:ne,pbc:K,n:vt,o:e};return{render:C,hydrate:void 0,createApp:Zo(C)}}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 bt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function hr(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function bl(e,t,n=!1){const s=e.children,i=t.children;if(N(s)&&N(i))for(let l=0;l<s.length;l++){const o=s[l];let r=i[l];r.shapeFlag&1&&!r.dynamicChildren&&((r.patchFlag<=0||r.patchFlag===32)&&(r=i[l]=it(i[l]),r.el=o.el),!n&&r.patchFlag!==-2&&bl(o,r)),r.type===Ln&&(r.patchFlag===-1&&(r=i[l]=it(r)),r.el=o.el),r.type===_e&&!r.el&&(r.el=o.el)}}function pr(e){const t=e.slice(),n=[0];let s,i,l,o,r;const c=e.length;for(s=0;s<c;s++){const d=e[s];if(d!==0){if(i=n[n.length-1],e[i]<d){t[s]=i,n.push(s);continue}for(l=0,o=n.length-1;l<o;)r=l+o>>1,e[n[r]]<d?l=r+1:o=r;d<e[n[l]]&&(l>0&&(t[s]=n[l-1]),n[l]=s)}}for(l=n.length,o=n[l-1];l-- >0;)n[l]=o,o=t[o];return n}function _l(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:_l(t)}function qs(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function xl(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?xl(t.subTree):null}const wl=e=>e.__isSuspense;function mr(e,t){t&&t.pendingBranch?N(e)?t.effects.push(...e):t.effects.push(e):Co(e)}const X=Symbol.for("v-fgt"),Ln=Symbol.for("v-txt"),_e=Symbol.for("v-cmt"),pn=Symbol.for("v-stc"),Gt=[];let Me=null;function g(e=!1){Gt.push(Me=e?null:[])}function gr(){Gt.pop(),Me=Gt[Gt.length-1]||null}let Qt=1;function wn(e,t=!1){Qt+=e,e<0&&Me&&t&&(Me.hasOnce=!0)}function Cl(e){return e.dynamicChildren=Qt>0?Me||It:null,gr(),Qt>0&&Me&&Me.push(e),e}function v(e,t,n,s,i,l){return Cl(h(e,t,n,s,i,l,!0))}function Ee(e,t,n,s,i){return Cl(me(e,t,n,s,i,!0))}function en(e){return e?e.__v_isVNode===!0:!1}function Ct(e,t){return e.type===t.type&&e.key===t.key}const kl=({key:e})=>e??null,mn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ae(e)||Ce(e)||V(e)?{i:xe,r:e,k:t,f:!!n}:e:null);function h(e,t=null,n=null,s=0,i=null,l=e===X?0:1,o=!1,r=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&kl(t),ref:t&&mn(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:l,patchFlag:s,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:xe};return r?(Ts(c,n),l&128&&e.normalize(c)):n&&(c.shapeFlag|=ae(n)?8:16),Qt>0&&!o&&Me&&(c.patchFlag>0||l&6)&&c.patchFlag!==32&&Me.push(c),c}const me=vr;function vr(e,t=null,n=null,s=0,i=null,l=!1){if((!e||e===jo)&&(e=_e),en(e)){const r=pt(e,t,!0);return n&&Ts(r,n),Qt>0&&!l&&Me&&(r.shapeFlag&6?Me[Me.indexOf(e)]=r:Me.push(r)),r.patchFlag=-2,r}if(Tr(e)&&(e=e.__vccOpts),t){t=yr(t);let{class:r,style:c}=t;r&&!ae(r)&&(t.class=Xe(r)),Q(c)&&(Cs(c)&&!N(c)&&(c=ge({},c)),t.style=ht(c))}const o=ae(e)?1:wl(e)?128:Yi(e)?64:Q(e)?4:V(e)?2:0;return h(e,t,n,s,i,o,l,!0)}function yr(e){return e?Cs(e)||hl(e)?ge({},e):e:null}function pt(e,t,n=!1,s=!1){const{props:i,ref:l,patchFlag:o,children:r,transition:c}=e,d=t?_r(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&kl(d),ref:t&&t.ref?n&&l?N(l)?l.concat(mn(t)):[l,mn(t)]:mn(t):l,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:r,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==X?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&pt(e.ssContent),ssFallback:e.ssFallback&&pt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&s&&Xt(a,c.clone(a)),a}function we(e=" ",t=0){return me(Ln,null,e,t)}function br(e,t){const n=me(pn,null,e);return n.staticCount=t,n}function Y(e="",t=!1){return t?(g(),Ee(_e,null,e)):me(_e,null,e)}function Je(e){return e==null||typeof e=="boolean"?me(_e):N(e)?me(X,null,e.slice()):en(e)?it(e):me(Ln,null,String(e))}function it(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:pt(e)}function Ts(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(N(t))n=16;else if(typeof t=="object")if(s&65){const i=t.default;i&&(i._c&&(i._d=!1),Ts(e,i()),i._c&&(i._d=!0));return}else{n=32;const i=t._;!i&&!hl(t)?t._ctx=xe:i===3&&xe&&(xe.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else V(t)?(t={default:t,_ctx:xe},n=32):(t=String(t),s&64?(n=16,t=[we(t)]):n=8);e.children=t,e.shapeFlag|=n}function _r(...e){const t={};for(let n=0;n<e.length;n++){const s=e[n];for(const i in s)if(i==="class")t.class!==s.class&&(t.class=Xe([t.class,s.class]));else if(i==="style")t.style=ht([t.style,s.style]);else if(kn(i)){const l=t[i],o=s[i];o&&l!==o&&!(N(l)&&l.includes(o))?t[i]=l?[].concat(l,o):o:o==null&&l==null&&!Sn(i)&&(t[i]=o)}else i!==""&&(t[i]=s[i])}return t}function We(e,t,n,s=null){Ve(e,t,7,[n,s])}const xr=cl();let wr=0;function Cr(e,t,n){const s=e.type,i=(t?t.appContext:e.appContext)||xr,l={uid:wr++,vnode:e,type:s,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Kl(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:ml(s,i),emitsOptions:al(s,i),emit:null,emitted:null,propsDefaults:le,inheritAttrs:s.inheritAttrs,ctx:le,data:le,props:le,attrs:le,slots:le,refs:le,setupState:le,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return l.ctx={_:l},l.root=t?t.root:l,l.emit=Qo.bind(null,l),e.ce&&e.ce(l),l}let $e=null;const Sl=()=>$e||xe;let Cn,as;{const e=An(),t=(n,s)=>{let i;return(i=e[n])||(i=e[n]=[]),i.push(s),l=>{i.length>1?i.forEach(o=>o(l)):i[0](l)}};Cn=t("__VUE_INSTANCE_SETTERS__",n=>$e=n),as=t("__VUE_SSR_SETTERS__",n=>tn=n)}const on=e=>{const t=$e;return Cn(e),e.scope.on(),()=>{e.scope.off(),Cn(t)}},Gs=()=>{$e&&$e.scope.off(),Cn(null)};function $l(e){return e.vnode.shapeFlag&4}let tn=!1;function kr(e,t=!1,n=!1){t&&as(t);const{props:s,children:i}=e.vnode,l=$l(e);lr(e,s,l,t),ar(e,i,n||t);const o=l?Sr(e,t):void 0;return t&&as(!1),o}function Sr(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,Uo);const{setup:s}=n;if(s){rt();const i=e.setupContext=s.length>1?Ar(e):null,l=on(e),o=ln(s,e,0,[e.props,i]),r=_i(o);if(ct(),l(),(r||e.sp)&&!Lt(e)&&nl(e),r){if(o.then(Gs,Gs),t)return o.then(c=>{Js(e,c)}).catch(c=>{Pn(c,e,0)});e.asyncDep=o}else Js(e,o)}else Al(e)}function Js(e,t,n){V(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Q(t)&&(e.setupState=ji(t)),Al(e)}function Al(e,t,n){const s=e.type;e.render||(e.render=s.render||Ze);{const i=on(e);rt();try{Wo(e)}finally{ct(),i()}}}const $r={get(e,t){return be(e,"get",""),e[t]}};function Ar(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,$r),slots:e.slots,emit:e.emit,expose:t}}function Dn(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(ji(uo(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in qt)return qt[n](e)},has(t,n){return n in t||n in qt}})):e.proxy}function Tr(e){return V(e)&&"__vccOpts"in e}const he=(e,t)=>vo(e,t,tn);function Pr(e,t,n){try{wn(-1);const s=arguments.length;return s===2?Q(t)&&!N(t)?en(t)?me(e,null,[t]):me(e,t):me(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&en(n)&&(n=[n]),me(e,t,n))}finally{wn(1)}}const Er="3.5.32";/**
* @vue/runtime-dom v3.5.32
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let us;const Ys=typeof window<"u"&&window.trustedTypes;if(Ys)try{us=Ys.createPolicy("vue",{createHTML:e=>e})}catch{}const Tl=us?e=>us.createHTML(e):e=>e,Mr="http://www.w3.org/2000/svg",Ir="http://www.w3.org/1998/Math/MathML",st=typeof document<"u"?document:null,Zs=st&&st.createElement("template"),Or={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"?st.createElementNS(Mr,e):t==="mathml"?st.createElementNS(Ir,e):n?st.createElement(e,{is:n}):st.createElement(e);return e==="select"&&s&&s.multiple!=null&&i.setAttribute("multiple",s.multiple),i},createText:e=>st.createTextNode(e),createComment:e=>st.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>st.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,i,l){const o=n?n.previousSibling:t.lastChild;if(i&&(i===l||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),n),!(i===l||!(i=i.nextSibling)););else{Zs.innerHTML=Tl(s==="svg"?`<svg>${e}</svg>`:s==="mathml"?`<math>${e}</math>`:e);const r=Zs.content;if(s==="svg"||s==="mathml"){const c=r.firstChild;for(;c.firstChild;)r.appendChild(c.firstChild);r.removeChild(c)}t.insertBefore(r,n)}return[o?o.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},ft="transition",Ht="animation",nn=Symbol("_vtc"),Pl={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},Br=ge({},Zi,Pl),Lr=e=>(e.displayName="Transition",e.props=Br,e),Xs=Lr((e,{slots:t})=>Pr(Mo,Dr(e),t)),_t=(e,t=[])=>{N(e)?e.forEach(n=>n(...t)):e&&e(...t)},Qs=e=>e?N(e)?e.some(t=>t.length>1):e.length>1:!1;function Dr(e){const t={};for(const M in e)M in Pl||(t[M]=e[M]);if(e.css===!1)return t;const{name:n="v",type:s,duration:i,enterFromClass:l=`${n}-enter-from`,enterActiveClass:o=`${n}-enter-active`,enterToClass:r=`${n}-enter-to`,appearFromClass:c=l,appearActiveClass:d=o,appearToClass:a=r,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:w=`${n}-leave-active`,leaveToClass:A=`${n}-leave-to`}=e,L=Nr(i),E=L&&L[0],j=L&&L[1],{onBeforeEnter:z,onEnter:F,onEnterCancelled:U,onLeave:I,onLeaveCancelled:ee,onBeforeAppear:W=z,onAppear:ve=F,onAppearCancelled:pe=U}=t,H=(M,te,de,Ie)=>{M._enterCancelled=Ie,xt(M,te?a:r),xt(M,te?d:o),de&&de()},K=(M,te)=>{M._isLeaving=!1,xt(M,p),xt(M,A),xt(M,w),te&&te()},G=M=>(te,de)=>{const Ie=M?ve:F,ue=()=>H(te,M,de);_t(Ie,[te,ue]),ei(()=>{xt(te,M?c:l),nt(te,M?a:r),Qs(Ie)||ti(te,s,E,ue)})};return ge(t,{onBeforeEnter(M){_t(z,[M]),nt(M,l),nt(M,o)},onBeforeAppear(M){_t(W,[M]),nt(M,c),nt(M,d)},onEnter:G(!1),onAppear:G(!0),onLeave(M,te){M._isLeaving=!0;const de=()=>K(M,te);nt(M,p),M._enterCancelled?(nt(M,w),ii(M)):(ii(M),nt(M,w)),ei(()=>{M._isLeaving&&(xt(M,p),nt(M,A),Qs(I)||ti(M,s,j,de))}),_t(I,[M,de])},onEnterCancelled(M){H(M,!1,void 0,!0),_t(U,[M])},onAppearCancelled(M){H(M,!0,void 0,!0),_t(pe,[M])},onLeaveCancelled(M){K(M),_t(ee,[M])}})}function Nr(e){if(e==null)return null;if(Q(e))return[Jn(e.enter),Jn(e.leave)];{const t=Jn(e);return[t,t]}}function Jn(e){return Ll(e)}function nt(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.add(n)),(e[nn]||(e[nn]=new Set)).add(t)}function xt(e,t){t.split(/\s+/).forEach(s=>s&&e.classList.remove(s));const n=e[nn];n&&(n.delete(t),n.size||(e[nn]=void 0))}function ei(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let Rr=0;function ti(e,t,n,s){const i=e._endId=++Rr,l=()=>{i===e._endId&&s()};if(n!=null)return setTimeout(l,n);const{type:o,timeout:r,propCount:c}=Fr(e,t);if(!o)return s();const d=o+"end";let a=0;const p=()=>{e.removeEventListener(d,w),l()},w=A=>{A.target===e&&++a>=c&&p()};setTimeout(()=>{a<c&&p()},r+1),e.addEventListener(d,w)}function Fr(e,t){const n=window.getComputedStyle(e),s=L=>(n[L]||"").split(", "),i=s(`${ft}Delay`),l=s(`${ft}Duration`),o=ni(i,l),r=s(`${Ht}Delay`),c=s(`${Ht}Duration`),d=ni(r,c);let a=null,p=0,w=0;t===ft?o>0&&(a=ft,p=o,w=l.length):t===Ht?d>0&&(a=Ht,p=d,w=c.length):(p=Math.max(o,d),a=p>0?o>d?ft:Ht:null,w=a?a===ft?l.length:c.length:0);const A=a===ft&&/\b(?:transform|all)(?:,|$)/.test(s(`${ft}Property`).toString());return{type:a,timeout:p,propCount:w,hasTransform:A}}function ni(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 ii(e){return(e?e.ownerDocument:document).body.offsetHeight}function Vr(e,t,n){const s=e[nn];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const li=Symbol("_vod"),Hr=Symbol("_vsh"),jr=Symbol(""),Kr=/(?:^|;)\s*display\s*:/;function Ur(e,t,n){const s=e.style,i=ae(n);let l=!1;if(n&&!i){if(t)if(ae(t))for(const o of t.split(";")){const r=o.slice(0,o.indexOf(":")).trim();n[r]==null&&gn(s,r,"")}else for(const o in t)n[o]==null&&gn(s,o,"");for(const o in n)o==="display"&&(l=!0),gn(s,o,n[o])}else if(i){if(t!==n){const o=s[jr];o&&(n+=";"+o),s.cssText=n,l=Kr.test(n)}}else t&&e.removeAttribute("style");li in e&&(e[li]=l?s.display:"",e[Hr]&&(s.display="none"))}const oi=/\s*!important$/;function gn(e,t,n){if(N(n))n.forEach(s=>gn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))e.setProperty(t,n);else{const s=Wr(e,t);oi.test(n)?e.setProperty(mt(s),n.replace(oi,""),"important"):e[s]=n}}const ri=["Webkit","Moz","ms"],Yn={};function Wr(e,t){const n=Yn[t];if(n)return n;let s=De(t);if(s!=="filter"&&s in e)return Yn[t]=s;s=Ci(s);for(let i=0;i<ri.length;i++){const l=ri[i]+s;if(l in e)return Yn[t]=l}return t}const ci="http://www.w3.org/1999/xlink";function ai(e,t,n,s,i,l=Hl(t)){s&&t.startsWith("xlink:")?n==null?e.removeAttributeNS(ci,t.slice(6,t.length)):e.setAttributeNS(ci,t,n):n==null||l&&!Si(n)?e.removeAttribute(t):e.setAttribute(t,l?"":Re(n)?String(n):n)}function ui(e,t,n,s,i){if(t==="innerHTML"||t==="textContent"){n!=null&&(e[t]=t==="innerHTML"?Tl(n):n);return}const l=e.tagName;if(t==="value"&&l!=="PROGRESS"&&!l.includes("-")){const r=l==="OPTION"?e.getAttribute("value")||"":e.value,c=n==null?e.type==="checkbox"?"on":"":String(n);(r!==c||!("_value"in e))&&(e.value=c),n==null&&e.removeAttribute(t),e._value=n;return}let o=!1;if(n===""||n==null){const r=typeof e[t];r==="boolean"?n=Si(n):n==null&&r==="string"?(n="",o=!0):r==="number"&&(n=0,o=!0)}try{e[t]=n}catch{}o&&e.removeAttribute(i||t)}function Mt(e,t,n,s){e.addEventListener(t,n,s)}function zr(e,t,n,s){e.removeEventListener(t,n,s)}const fi=Symbol("_vei");function qr(e,t,n,s,i=null){const l=e[fi]||(e[fi]={}),o=l[t];if(s&&o)o.value=s;else{const[r,c]=Gr(t);if(s){const d=l[t]=Zr(s,i);Mt(e,r,d,c)}else o&&(zr(e,r,o,c),l[t]=void 0)}}const di=/(?:Once|Passive|Capture)$/;function Gr(e){let t;if(di.test(e)){t={};let s;for(;s=e.match(di);)e=e.slice(0,e.length-s[0].length),t[s[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):mt(e.slice(2)),t]}let Zn=0;const Jr=Promise.resolve(),Yr=()=>Zn||(Jr.then(()=>Zn=0),Zn=Date.now());function Zr(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;Ve(Xr(s,n.value),t,5,[s])};return n.value=e,n.attached=Yr(),n}function Xr(e,t){if(N(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 hi=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Qr=(e,t,n,s,i,l)=>{const o=i==="svg";t==="class"?Vr(e,s,o):t==="style"?Ur(e,n,s):kn(t)?Sn(t)||qr(e,t,n,s,l):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ec(e,t,s,o))?(ui(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&ai(e,t,s,o,l,t!=="value")):e._isVueCE&&(tc(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ae(s)))?ui(e,De(t),s,l,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),ai(e,t,s,o))};function ec(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&hi(t)&&V(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 hi(t)&&ae(n)?!1:t in e}function tc(e,t){const n=e._def.props;if(!n)return!1;const s=De(t);return Array.isArray(n)?n.some(i=>De(i)===s):Object.keys(n).some(i=>De(i)===s)}const pi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return N(t)?n=>fn(t,n):t};function nc(e){e.target.composing=!0}function mi(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Xn=Symbol("_assign");function gi(e,t,n){return t&&(e=e.trim()),n&&(e=ps(e)),e}const Nn={created(e,{modifiers:{lazy:t,trim:n,number:s}},i){e[Xn]=pi(i);const l=s||i.props&&i.props.type==="number";Mt(e,t?"change":"input",o=>{o.target.composing||e[Xn](gi(e.value,n,l))}),(n||l)&&Mt(e,"change",()=>{e.value=gi(e.value,n,l)}),t||(Mt(e,"compositionstart",nc),Mt(e,"compositionend",mi),Mt(e,"change",mi))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:n,modifiers:{lazy:s,trim:i,number:l}},o){if(e[Xn]=pi(o),e.composing)return;const r=(l||e.type==="number")&&!/^0\d/.test(e.value)?ps(e.value):e.value,c=t??"";if(r===c)return;const d=e.getRootNode();(d instanceof Document||d instanceof ShadowRoot)&&d.activeElement===e&&e.type!=="range"&&(s&&t===n||i&&e.value.trim()===c)||(e.value=c)}},sc=["ctrl","shift","alt","meta"],ic={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)=>sc.some(n=>e[`${n}Key`]&&!t.includes(n))},lc=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=(i,...l)=>{for(let o=0;o<t.length;o++){const r=ic[t[o]];if(r&&r(i,t))return}return e(i,...l)})},oc={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},rc=(e,t)=>{const n=e._withKeys||(e._withKeys={}),s=t.join(".");return n[s]||(n[s]=i=>{if(!("key"in i))return;const l=mt(i.key);if(t.some(o=>o===l||oc[o]===l))return e(i)})},cc=ge({patchProp:Qr},Or);let vi;function ac(){return vi||(vi=fr(cc))}const uc=(...e)=>{const t=ac().createApp(...e),{mount:n}=t;return t.mount=s=>{const i=dc(s);if(!i)return;const l=t._component;!V(l)&&!l.render&&!l.template&&(l.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=n(i,!1,fc(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t};function fc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function dc(e){return ae(e)?document.querySelector(e):e}const hc={class:"cs-header"},pc={class:"header-left"},mc={class:"shop-name"},gc={key:0,class:"admin-badge"},vc={class:"header-center"},yc=["title"],bc={class:"coin-info"},_c={class:"coin-amount"},xc={key:0,class:"coin-plus",width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2.5","stroke-linecap":"round"},wc={key:0,class:"playtime-timer"},Cc={class:"header-right"},kc={key:0,class:"redeem-section"},Sc={class:"redeem-input-wrap"},$c={class:"redeem-label"},Ac=["disabled"],Tc=["disabled"],Pc={__name:"ShopHeader",props:{shopName:{type:String,default:"VIP SHOP"},coins:{type:Number,default:0},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})},playtimeBonus:{type:Object,default:null},playtimeTimerSeconds:{type:Number,default:0},tebexEnabled:{type:Boolean,default:!1},tebexStoreUrl:{type:String,default:""}},emits:["close","redeem"],setup(e,{emit:t}){const n=e,s=t,i=se(""),l=se(!1),o=he(()=>{const a=Math.floor(n.playtimeTimerSeconds/60),p=n.playtimeTimerSeconds%60;return`${String(a).padStart(2,"0")}:${String(p).padStart(2,"0")}`});function r(a){return a.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}function c(){var a;n.tebexStoreUrl&&((a=window.invokeNative)!=null&&a.call(window,"openUrl",n.tebexStoreUrl)||window.open(n.tebexStoreUrl,"_blank"))}function d(){const a=i.value.trim();!a||l.value||(l.value=!0,s("redeem",a),setTimeout(()=>{l.value=!1,i.value=""},3e3))}return(a,p)=>(g(),v("div",hc,[h("div",pc,[h("h1",mc,$(e.shopName),1),e.isAdmin?(g(),v("span",gc,[...p[2]||(p[2]=[h("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"})],-1),we(" ADMIN ",-1)])])):Y("",!0)]),h("div",vc,[h("div",{class:Xe(["coin-balance",{clickable:e.tebexStoreUrl}]),onClick:c,title:e.tebexStoreUrl?"Coins kaufen":""},[p[4]||(p[4]=h("div",{class:"coin-icon"},"C",-1)),h("div",bc,[h("span",_c,$(r(e.coins)),1)]),e.tebexStoreUrl?(g(),v("svg",xc,[...p[3]||(p[3]=[h("line",{x1:"12",y1:"5",x2:"12",y2:"19"},null,-1),h("line",{x1:"5",y1:"12",x2:"19",y2:"12"},null,-1)])])):Y("",!0)],10,yc),e.playtimeBonus?(g(),v("div",wc,[p[5]||(p[5]=h("svg",{width:"12",height:"12",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("circle",{cx:"12",cy:"12",r:"10"}),h("polyline",{points:"12 6 12 12 16 14"})],-1)),h("span",null,"+"+$(e.playtimeBonus.coins)+" Coins in "+$(o.value),1)])):Y("",!0)]),h("div",Cc,[e.tebexEnabled?(g(),v("div",kc,[h("div",Sc,[h("span",$c,$(e.locale.redeemPlaceholder||"Code / Tebex Payment Id"),1),En(h("input",{"onUpdate:modelValue":p[0]||(p[0]=w=>i.value=w),class:"redeem-input",type:"text",placeholder:"tbx-",disabled:l.value,onKeydown:rc(d,["enter"])},null,40,Ac),[[Nn,i.value]])]),h("button",{class:"redeem-btn",disabled:!i.value.trim()||l.value,onClick:d},$(e.locale.redeem||"Redeem"),9,Tc)])):Y("",!0),h("button",{class:"close-btn",onClick:p[1]||(p[1]=w=>a.$emit("close"))},[...p[6]||(p[6]=[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)])])])]))}},Ec={class:"home-grid-container"},Mc={class:"home-grid"},Ic=["onClick"],Oc={key:0,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Bc={key:1,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Lc={key:2,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Dc={key:3,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Nc={key:4,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Rc={key:5,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Fc={key:6,width:"48",height:"48",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1"},Vc={class:"tile-content"},Hc={class:"tile-icon"},jc={key:0,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},Kc={key:1,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},Uc={key:2,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},Wc={key:3,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},zc={key:4,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},qc={key:5,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},Gc={key:6,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},Jc={class:"tile-label"},Yc={key:0,class:"tile-count"},Zc={class:"tile-content"},Xc={class:"tile-label"},Qc={__name:"HomeGrid",props:{categories:{type:Array,default:()=>[]},locale:{type:Object,default:()=>({})}},emits:["select"],setup(e){function t(i){const l={};return i.color&&(l["--tile-color"]=i.color,l["--tile-glow"]=i.color+"40"),l}function n(i){return i.image?{backgroundImage:`url(${i.image})`}:{}}function s(i){const l=i.color||"#f59e0b";return{background:`radial-gradient(ellipse at 70% 30%, ${l}18 0%, transparent 60%), linear-gradient(135deg, ${l}10 0%, rgba(10,10,14,0.95) 100%)`}}return(i,l)=>(g(),v("div",Ec,[h("div",Mc,[(g(!0),v(X,null,$t(e.categories,o=>(g(),v("div",{key:o.id,class:Xe(["category-tile",[o.gridSize||"small",{"has-image":!!o.image}]]),style:ht(t(o)),onClick:r=>i.$emit("select",o.id)},[h("div",{class:"tile-bg",style:ht(n(o))},null,4),o.image?Y("",!0):(g(),v("div",{key:0,class:"tile-gradient",style:ht(s(o))},null,4)),o.image?Y("",!0):(g(),v("div",{key:1,class:"tile-fallback-icon",style:ht({color:o.color||"var(--accent)"})},[o.icon==="gun"?(g(),v("svg",Oc,[...l[1]||(l[1]=[h("path",{d:"M14 4h6v6h-2v2h2v2H8l-4 4V8h2V4h4v4h4V4z"},null,-1)])])):o.icon==="package"?(g(),v("svg",Bc,[...l[2]||(l[2]=[h("path",{d:"M16.5 9.4l-9-5.19M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"},null,-1),h("polyline",{points:"3.27 6.96 12 12.01 20.73 6.96"},null,-1),h("line",{x1:"12",y1:"22.08",x2:"12",y2:"12"},null,-1)])])):o.icon==="car"?(g(),v("svg",Lc,[...l[3]||(l[3]=[h("path",{d:"M5 17h14M5 17a2 2 0 01-2-2v-4l2.72-4.08A2 2 0 017.39 6h9.22a2 2 0 011.67.92L21 11v4a2 2 0 01-2 2M5 17a2 2 0 002 2h1a2 2 0 002-2M14 17a2 2 0 002 2h1a2 2 0 002-2"},null,-1)])])):o.icon==="plate"?(g(),v("svg",Dc,[...l[4]||(l[4]=[h("rect",{x:"2",y:"6",width:"20",height:"12",rx:"2"},null,-1),h("text",{x:"12",y:"14","text-anchor":"middle","font-size":"6",fill:"currentColor",stroke:"none"},"ABC",-1)])])):o.icon==="pack"?(g(),v("svg",Nc,[...l[5]||(l[5]=[br('<path d="M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"></path><path d="M7.5 4.21l4.5 2.6 4.5-2.6"></path><path d="M7.5 19.79V14.6L3 12"></path><path d="M21 12l-4.5 2.6v5.19"></path><path d="M3.27 6.96L12 12.01l8.73-5.05"></path><line x1="12" y1="22.08" x2="12" y2="12"></line>',6)])])):o.icon==="star"?(g(),v("svg",Rc,[...l[6]||(l[6]=[h("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"},null,-1)])])):(g(),v("svg",Fc,[...l[7]||(l[7]=[h("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"},null,-1)])]))],4)),h("div",Vc,[h("div",Hc,[o.icon==="gun"?(g(),v("svg",jc,[...l[8]||(l[8]=[h("path",{d:"M14 4h6v6h-2v2h2v2H8l-4 4V8h2V4h4v4h4V4z"},null,-1)])])):o.icon==="package"?(g(),v("svg",Kc,[...l[9]||(l[9]=[h("path",{d:"M16.5 9.4l-9-5.19M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"},null,-1),h("polyline",{points:"3.27 6.96 12 12.01 20.73 6.96"},null,-1),h("line",{x1:"12",y1:"22.08",x2:"12",y2:"12"},null,-1)])])):o.icon==="car"?(g(),v("svg",Uc,[...l[10]||(l[10]=[h("path",{d:"M5 17h14M5 17a2 2 0 01-2-2v-4l2.72-4.08A2 2 0 017.39 6h9.22a2 2 0 011.67.92L21 11v4a2 2 0 01-2 2M5 17a2 2 0 002 2h1a2 2 0 002-2M14 17a2 2 0 002 2h1a2 2 0 002-2"},null,-1)])])):o.icon==="plate"?(g(),v("svg",Wc,[...l[11]||(l[11]=[h("rect",{x:"2",y:"6",width:"20",height:"12",rx:"2"},null,-1),h("text",{x:"12",y:"14","text-anchor":"middle","font-size":"6",fill:"currentColor",stroke:"none"},"ABC",-1)])])):o.icon==="pack"?(g(),v("svg",zc,[...l[12]||(l[12]=[h("path",{d:"M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"},null,-1),h("path",{d:"M3.27 6.96L12 12.01l8.73-5.05"},null,-1),h("line",{x1:"12",y1:"22.08",x2:"12",y2:"12"},null,-1)])])):o.icon==="star"?(g(),v("svg",qc,[...l[13]||(l[13]=[h("path",{d:"M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"},null,-1)])])):(g(),v("svg",Gc,[...l[14]||(l[14]=[h("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"},null,-1)])]))]),h("span",Jc,$(o.label),1),o.items&&o.items.length>0?(g(),v("span",Yc,$(o.items.length),1)):Y("",!0)])],14,Ic))),128)),h("div",{class:"category-tile small history-tile",style:{"--tile-color":"#71717a","--tile-glow":"rgba(113,113,122,0.25)"},onClick:l[0]||(l[0]=o=>i.$emit("select","_history"))},[l[16]||(l[16]=h("div",{class:"tile-bg",style:{"background-image":"url('https://images.unsplash.com/photo-1554224155-6726b3ff858f?w=600&q=80')"}},null,-1)),h("div",Zc,[l[15]||(l[15]=h("div",{class:"tile-icon",style:{color:"var(--text-muted)"}},[h("svg",{width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},[h("circle",{cx:"12",cy:"12",r:"10"}),h("polyline",{points:"12 6 12 12 16 14"})])],-1)),h("span",Xc,$(e.locale.history||"Kaufhistorie"),1)])])])]))}},ea={class:"category-view"},ta={class:"category-header"},na={class:"category-title"},sa={class:"category-body"},ia={__name:"CategoryView",props:{title:{type:String,default:""},locale:{type:Object,default:()=>({})}},emits:["back"],setup(e){return(t,n)=>(g(),v("div",ea,[h("div",ta,[h("button",{class:"back-btn",onClick:n[0]||(n[0]=s=>t.$emit("back"))},[n[1]||(n[1]=h("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[h("path",{d:"M19 12H5M12 19l-7-7 7-7"})],-1)),we(" "+$(e.locale.backToHome||"Zurueck"),1)]),h("h2",na,$(e.title),1)]),h("div",sa,[Ko(t.$slots,"default")])]))}},la={class:"item-card-image"},oa=["src","alt"],ra={key:1,class:"fallback-icon"},ca={key:0,width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5"},aa={key:1,width:"28",height:"28",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5"},ua={key:2,class:"item-badge owned-badge"},fa={key:3,class:"item-badge sold-out-badge"},da={key:4,class:"item-badge weekly"},ha={key:5,class:"item-badge limited"},pa={class:"item-card-body"},ma={class:"item-card-name"},ga={key:0,class:"item-card-desc"},va={key:1,class:"item-card-amount"},ya={class:"item-card-price"},ba={class:"price-amount"},_a={key:0,class:"price-original"},xa={key:1,class:"discount-tag"},wa={key:2,class:"stock-info"},Ca={class:"item-card-buttons"},ka=["disabled"],El={__name:"ItemCard",props:{item:{type:Object,required:!0},coins:{type:Number,default:0},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})},type:{type:String,default:"vehicle"},testDriveEnabled:{type:Boolean,default:!1}},emits:["buy","testDrive"],setup(e){const t=e,n=se(!1),s=he(()=>n.value?null:t.item.image?t.item.image:t.type==="item"&&t.item.item?`https://cfx-nui-codem-inventory/html/itemimages/${t.item.item.replace(/\.png$/i,"")}.png`:null);function i(d){n.value=!0,d.target.style.display="none"}const l=he(()=>t.item.discountedPrice!==void 0&&t.item.discountedPrice<t.item.price?t.item.discountedPrice:t.item.price),o=he(()=>t.item.limited&&t.item.maxStock>0&&(t.item.soldCount||0)>=t.item.maxStock),r=he(()=>t.item.owned||o.value?!1:t.isAdmin?!0:t.coins>=l.value);function c(d){return d.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}return(d,a)=>(g(),v("div",{class:Xe(["item-card",{"sold-out":o.value,owned:e.item.owned}])},[h("div",la,[s.value?(g(),v("img",{key:0,src:s.value,alt:e.item.label,onError:i},null,40,oa)):Y("",!0),n.value&&!e.item.image?(g(),v("span",ra,[e.type==="vehicle"?(g(),v("svg",ca,[...a[2]||(a[2]=[h("path",{d:"M5 17h14M5 17a2 2 0 01-2-2v-4l2.72-4.08A2 2 0 017.39 6h9.22a2 2 0 011.67.92L21 11v4a2 2 0 01-2 2M5 17a2 2 0 002 2h1a2 2 0 002-2M14 17a2 2 0 002 2h1a2 2 0 002-2"},null,-1)])])):(g(),v("svg",aa,[...a[3]||(a[3]=[h("path",{d:"M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"},null,-1),h("polyline",{points:"3.27 6.96 12 12.01 20.73 6.96"},null,-1),h("line",{x1:"12",y1:"22.08",x2:"12",y2:"12"},null,-1)])]))])):Y("",!0),e.item.owned?(g(),v("span",ua,$(e.locale.owned||"Im Besitz"),1)):o.value?(g(),v("span",fa,$(e.locale.soldOut||"Ausverkauft"),1)):e.item.isWeekly?(g(),v("span",da,$(e.locale.weeklyDeal||"Wochen-Angebot"),1)):e.item.limited?(g(),v("span",ha,$(e.locale.limited||"Limitiert"),1)):Y("",!0)]),h("div",pa,[h("div",ma,$(e.item.label),1),e.item.description?(g(),v("div",ga,$(e.item.description),1)):Y("",!0),e.type==="item"&&e.item.amount>1?(g(),v("div",va,"x"+$(e.item.amount),1)):Y("",!0),h("div",ya,[a[4]||(a[4]=h("span",{class:"price-coin"},"C",-1)),h("span",ba,$(c(l.value)),1),e.item.discountedPrice&&e.item.discountedPrice<e.item.price?(g(),v("span",_a,$(c(e.item.price)),1)):Y("",!0),e.item.discount&&e.item.discount>0?(g(),v("span",xa,"-"+$(e.item.discount)+"%",1)):Y("",!0)]),e.item.limited&&e.item.maxStock>0&&!e.item.owned?(g(),v("div",wa,$(e.item.maxStock-(e.item.soldCount||0))+"/"+$(e.item.maxStock)+" verfuegbar ",1)):Y("",!0),h("div",Ca,[h("button",{class:"cs-btn",disabled:!r.value,onClick:a[0]||(a[0]=p=>d.$emit("buy",e.item))},[e.isAdmin&&!e.item.owned?(g(),v(X,{key:0},[we($(e.locale.adminFree||"Kostenlos (Admin)"),1)],64)):e.item.owned?(g(),v(X,{key:1},[we($(e.locale.owned||"Im Besitz"),1)],64)):(g(),v(X,{key:2},[we($(e.locale.buy||"Kaufen"),1)],64))],8,ka),e.type==="vehicle"&&e.testDriveEnabled?(g(),v("button",{key:0,class:"cs-btn cs-btn-testdrive",onClick:a[1]||(a[1]=p=>d.$emit("testDrive",e.item))},$(e.locale.testDrive||"Testfahrt"),1)):Y("",!0)])])],2))}},Sa={key:0,class:"search-bar"},$a=["placeholder"],Aa={key:1,class:"item-grid"},Ta={key:2,class:"empty-state"},Pa={__name:"VehiclesTab",props:{items:{type:Array,default:()=>[]},coins:{type:Number,default:0},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})},isWeekly:{type:Boolean,default:!1},testDriveEnabled:{type:Boolean,default:!1}},emits:["buy","testDrive"],setup(e){const t=e,n=se(""),s=he(()=>{if(!n.value)return t.items;const i=n.value.toLowerCase();return t.items.filter(l=>l.label.toLowerCase().includes(i)||l.description&&l.description.toLowerCase().includes(i))});return(i,l)=>(g(),v("div",null,[e.items.length>3?(g(),v("div",Sa,[l[3]||(l[3]=h("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[h("circle",{cx:"11",cy:"11",r:"8"}),h("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})],-1)),En(h("input",{"onUpdate:modelValue":l[0]||(l[0]=o=>n.value=o),type:"text",placeholder:e.locale.search||"Suchen..."},null,8,$a),[[Nn,n.value]])])):Y("",!0),s.value.length>0?(g(),v("div",Aa,[(g(!0),v(X,null,$t(s.value,o=>(g(),Ee(El,{key:o.model,item:o,coins:e.coins,isAdmin:e.isAdmin,locale:e.locale,testDriveEnabled:e.testDriveEnabled,onBuy:l[1]||(l[1]=r=>i.$emit("buy",r)),onTestDrive:l[2]||(l[2]=r=>i.$emit("testDrive",r))},null,8,["item","coins","isAdmin","locale","testDriveEnabled"]))),128))])):(g(),v("div",Ta,$(e.locale.noVehicles||"Keine Fahrzeuge vorhanden"),1))]))}},Ea={class:"items-tab"},Ma={key:0,class:"search-bar"},Ia=["placeholder"],Oa={class:"item-grid four-col"},Ba={key:1,class:"empty-state"},La={__name:"ItemsTab",props:{items:{type:Array,default:()=>[]},coins:{type:Number,default:0},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})}},emits:["buy"],setup(e){const t=e,n=se(""),s=he(()=>{if(!n.value)return t.items;const i=n.value.toLowerCase();return t.items.filter(l=>(l.label||"").toLowerCase().includes(i)||(l.description||"").toLowerCase().includes(i))});return(i,l)=>(g(),v("div",Ea,[e.items.length>3?(g(),v("div",Ma,[l[1]||(l[1]=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("line",{x1:"21",y1:"21",x2:"16.65",y2:"16.65"})],-1)),En(h("input",{"onUpdate:modelValue":l[0]||(l[0]=o=>n.value=o),type:"text",placeholder:e.locale.search||"Suchen..."},null,8,Ia),[[Nn,n.value]])])):Y("",!0),h("div",Oa,[(g(!0),v(X,null,$t(s.value,o=>(g(),Ee(El,{key:o.item,item:o,coins:e.coins,isAdmin:e.isAdmin,locale:e.locale,type:"item",onBuy:r=>i.$emit("buy",o)},null,8,["item","coins","isAdmin","locale","onBuy"]))),128))]),s.value.length===0?(g(),v("div",Ba,$(e.locale.noHistory||"Keine Items gefunden"),1)):Y("",!0)]))}},Da={class:"packs-tab"},Na={class:"item-grid four-col"},Ra={class:"pack-card-image"},Fa=["src","alt"],Va={key:1,class:"fallback-icon"},Ha={key:2,class:"item-badge limited"},ja={key:3,class:"item-badge sold-out-badge"},Ka={class:"pack-card-body"},Ua={class:"pack-card-name"},Wa={key:0,class:"pack-card-desc"},za={key:1,class:"pack-contents"},qa={class:"pack-contents-label"},Ga={class:"pack-contents-list"},Ja={key:0,width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},Ya={key:1,width:"10",height:"10",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2"},Za={class:"item-card-price"},Xa={class:"price-amount"},Qa={key:2,class:"stock-info"},eu=["disabled","onClick"],tu={key:0,class:"empty-state"},nu={__name:"PacksTab",props:{items:{type:Array,default:()=>[]},coins:{type:Number,default:0},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})}},emits:["buy"],setup(e){function t(s){return s.limited&&s.maxStock>0&&(s.soldCount||0)>=s.maxStock}function n(s){return s.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}return(s,i)=>(g(),v("div",Da,[h("div",Na,[(g(!0),v(X,null,$t(e.items,l=>(g(),v("div",{key:l.index,class:Xe(["pack-card",{"sold-out":t(l)}])},[h("div",Ra,[l.image?(g(),v("img",{key:0,src:l.image,alt:l.label},null,8,Fa)):(g(),v("div",Va,[...i[0]||(i[0]=[h("svg",{width:"32",height:"32",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5"},[h("path",{d:"M21 16V8a2 2 0 00-1-1.73l-7-4a2 2 0 00-2 0l-7 4A2 2 0 003 8v8a2 2 0 001 1.73l7 4a2 2 0 002 0l7-4A2 2 0 0021 16z"}),h("path",{d:"M3.27 6.96L12 12.01l8.73-5.05"}),h("line",{x1:"12",y1:"22.08",x2:"12",y2:"12"})],-1)])])),l.limited?(g(),v("span",Ha,$(e.locale.limited||"Limitiert"),1)):Y("",!0),t(l)?(g(),v("span",ja,$(e.locale.soldOut||"Ausverkauft"),1)):Y("",!0)]),h("div",Ka,[h("div",Ua,$(l.label),1),l.description?(g(),v("div",Wa,$(l.description),1)):Y("",!0),l.contents&&l.contents.length>0?(g(),v("div",za,[h("span",qa,$(e.locale.packContents||"Enthaelt:"),1),h("div",Ga,[(g(!0),v(X,null,$t(l.contents,(o,r)=>(g(),v("span",{key:r,class:"pack-content-item"},[o.type==="vehicle"?(g(),v("svg",Ja,[...i[1]||(i[1]=[h("path",{d:"M5 17h14"},null,-1)])])):(g(),v("svg",Ya,[...i[2]||(i[2]=[h("rect",{x:"3",y:"3",width:"18",height:"18",rx:"2"},null,-1)])])),we(" "+$(o.amount?o.amount+"x ":"")+$(o.label||o.model||o.item),1)]))),128))])])):Y("",!0),h("div",Za,[i[3]||(i[3]=h("span",{class:"price-coin"},"C",-1)),h("span",Xa,$(n(l.price)),1)]),l.limited&&l.maxStock>0?(g(),v("div",Qa,$(l.maxStock-(l.soldCount||0)+"/"+l.maxStock)+" verfuegbar ",1)):Y("",!0),h("button",{class:"cs-btn",disabled:t(l)||!e.isAdmin&&e.coins<l.price,onClick:o=>s.$emit("buy",l)},[t(l)?(g(),v(X,{key:0},[we($(e.locale.soldOut||"Ausverkauft"),1)],64)):e.isAdmin?(g(),v(X,{key:1},[we($(e.locale.adminFree||"Kostenlos (Admin)"),1)],64)):(g(),v(X,{key:2},[we($(e.locale.buy||"Kaufen"),1)],64))],8,eu)])],2))),128))]),e.items.length===0?(g(),v("div",tu," Keine Packs verfuegbar ")):Y("",!0)]))}},su={class:"plates-tab"},iu={key:0,class:"plates-vehicle-select"},lu={class:"step-label"},ou={key:0,class:"plates-vehicle-grid"},ru=["onClick"],cu={class:"plates-vehicle-plate"},au={class:"plates-vehicle-name"},uu={key:1,class:"empty-state"},fu={key:2,class:"empty-state"},du={key:1,class:"plates-editor-view"},hu={class:"plates-editor-content"},pu={class:"plates-current"},mu={class:"plate-visual"},gu={class:"plate-visual-inner"},vu={class:"plate-visual-text"},yu={class:"plates-vehicle-info"},bu={class:"plates-new"},_u={class:"step-label"},xu={class:"plate-visual-inner"},wu={key:0,class:"plate-visual-text"},Cu={key:1,class:"plate-visual-text empty"},ku=["placeholder","maxlength"],Su={class:"plates-buy-section"},$u={class:"item-card-price"},Au={class:"price-amount"},Tu={style:{"font-size":"11px",color:"var(--text-muted)","margin-left":"4px"}},Pu=["disabled"],Eu={__name:"PlatesTab",props:{config:{type:Object,default:()=>({})},coins:{type:Number,default:0},vehicles:{type:Array,default:()=>[]},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})}},emits:["buy","loadVehicles"],setup(e,{emit:t}){const n=e,s=t,i=se(null),l=se(""),o=se(""),r=se(!0);On(()=>{s("loadVehicles"),setTimeout(()=>{r.value=!1},3e3)});function c(L){i.value=L,l.value="",o.value=""}function d(L){const E=L.target.value.toUpperCase();o.value=E,l.value=E.trim()}const a=he(()=>{if(!l.value)return!1;try{return new RegExp(n.config.allowedPattern||"^[A-Z0-9 ]+$").test(l.value)&&l.value.length<=(n.config.maxLength||8)}catch{return!0}}),p=he(()=>!i.value||!l.value||!a.value?!1:n.isAdmin?!0:n.coins>=(n.config.price||200));function w(){p.value&&(s("buy",{vehiclePlate:i.value.plate,newPlate:l.value.trim()}),l.value="",o.value="")}function A(L){return L.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}return(L,E)=>(g(),v("div",su,[i.value?(g(),v("div",du,[h("button",{class:"back-btn",onClick:E[0]||(E[0]=j=>{i.value=null,l.value=""})},[E[2]||(E[2]=h("svg",{width:"16",height:"16",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[h("path",{d:"M19 12H5M12 19l-7-7 7-7"})],-1)),we(" "+$(e.locale.backToHome||"Zurueck"),1)]),h("div",hu,[h("div",pu,[E[3]||(E[3]=h("div",{class:"step-label"},"Aktuelles Kennzeichen",-1)),h("div",mu,[h("div",gu,[h("span",vu,$(i.value.plate),1)])]),h("div",yu,$(i.value.label),1)]),E[4]||(E[4]=h("div",{class:"plates-arrow"},[h("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},[h("path",{d:"M5 12h14M12 5l7 7-7 7"})])],-1)),h("div",bu,[h("div",_u,$(e.locale.newPlate||"Neues Kennzeichen"),1),h("div",{class:Xe(["plate-visual editable",{valid:l.value&&a.value,error:l.value&&!a.value}])},[h("div",xu,[l.value?(g(),v("span",wu,$(l.value),1)):(g(),v("span",Cu,$(e.locale.enterPlate||"EINGEBEN"),1))])],2),En(h("input",{class:"cs-input plate-input",type:"text",placeholder:e.locale.enterPlate||"Wunschkennzeichen eingeben","onUpdate:modelValue":E[1]||(E[1]=j=>o.value=j),onInput:d,maxlength:e.config.maxLength||8,autofocus:""},null,40,ku),[[Nn,o.value]]),h("div",{class:Xe(["char-counter",{valid:l.value&&a.value,error:l.value&&!a.value,neutral:!l.value}])},$((l.value||"").length)+"/"+$(e.config.maxLength||8)+" Zeichen ",3)])]),h("div",Su,[h("div",$u,[E[5]||(E[5]=h("span",{class:"price-coin"},"C",-1)),h("span",Au,$(A(e.config.price||200)),1),h("span",Tu,$(e.locale.coins||"Coins"),1)]),h("button",{class:"cs-btn plate-buy-btn",disabled:!p.value,onClick:w},[e.isAdmin?(g(),v(X,{key:0},[we($(e.locale.adminFree||"Kostenlos (Admin)"),1)],64)):(g(),v(X,{key:1},[we($(e.locale.buy||"Kaufen"),1)],64))],8,Pu)])])):(g(),v("div",iu,[h("div",lu,$(e.locale.selectVehicle||"Fahrzeug auswaehlen"),1),e.vehicles.length>0?(g(),v("div",ou,[(g(!0),v(X,null,$t(e.vehicles,j=>(g(),v("div",{key:j.plate,class:"plates-vehicle-card",onClick:z=>c(j)},[h("div",cu,$(j.plate),1),h("div",au,$(j.label),1)],8,ru))),128))])):r.value?(g(),v("div",uu,"Fahrzeuge werden geladen...")):(g(),v("div",fu,$(e.locale.noVehicles||"Keine Fahrzeuge vorhanden"),1))]))]))}},Mu={key:1,class:"history-list"},Iu={key:0,width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Ou={key:1,width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Bu={key:2,width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},Lu={key:3,width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round"},Du={class:"history-info"},Nu={class:"history-name"},Ru={class:"history-meta"},Fu={key:0,class:"history-price"},Vu={key:1,class:"history-price",style:{color:"var(--success)"}},Hu={key:2,class:"empty-state"},ju={__name:"HistoryTab",props:{history:{type:Array,default:()=>[]},locale:{type:Object,default:()=>({})}},emits:["load"],setup(e,{emit:t}){const n=t,s=se(!1);function i(){s.value=!0,n("load")}function l(c){return c==="vehicle"?"vehicle":c==="plate"?"plate":c==="tebex_credit"?"tebex":c==="item"?"item":c==="pack"?"pack":"admin"}function o(c){return c.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}function r(c){return c?new Date(c).toLocaleDateString("de-DE",{day:"2-digit",month:"2-digit",year:"numeric",hour:"2-digit",minute:"2-digit"}):""}return(c,d)=>(g(),v("div",null,[s.value?Y("",!0):(g(),v("button",{key:0,class:"cs-btn ghost",onClick:i,style:{"margin-bottom":"12px"}},[d[0]||(d[0]=h("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},[h("polyline",{points:"1 4 1 10 7 10"}),h("path",{d:"M3.51 15a9 9 0 1 0 2.13-9.36L1 10"})],-1)),we(" "+$(e.locale.loadHistory||"Historie laden"),1)])),s.value&&e.history.length>0?(g(),v("div",Mu,[(g(!0),v(X,null,$t(e.history,(a,p)=>(g(),v("div",{key:p,class:"history-row"},[h("div",{class:Xe(["history-icon",l(a.type)])},[a.type==="vehicle"?(g(),v("svg",Iu,[...d[1]||(d[1]=[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)])])):a.type==="plate"?(g(),v("svg",Ou,[...d[2]||(d[2]=[h("rect",{x:"2",y:"6",width:"20",height:"12",rx:"2"},null,-1),h("line",{x1:"12",y1:"10",x2:"12",y2:"14"},null,-1)])])):a.type==="tebex_credit"?(g(),v("svg",Bu,[...d[3]||(d[3]=[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)])])):(g(),v("svg",Lu,[...d[4]||(d[4]=[h("path",{d:"M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"},null,-1)])]))],2),h("div",Du,[h("div",Nu,$(a.item_name),1),h("div",Ru,$(r(a.created_at)),1)]),a.price>0?(g(),v("div",Fu," -"+$(o(a.price))+" C ",1)):(g(),v("div",Vu,$(a.item_name),1))]))),128))])):Y("",!0),s.value&&e.history.length===0?(g(),v("div",Hu,$(e.locale.noHistory||"Keine Kaeufe vorhanden"),1)):Y("",!0)]))}},Ku={class:"confirm-box"},Uu={class:"confirm-item"},Wu={class:"confirm-item-image"},zu=["src","alt"],qu={key:1,width:"20",height:"20",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.5","stroke-linecap":"round","stroke-linejoin":"round",style:{color:"var(--text-ghost)"}},Gu={class:"confirm-item-info"},Ju={class:"confirm-item-name"},Yu={class:"confirm-item-price"},Zu={key:0,class:"confirm-summary"},Xu={class:"confirm-row"},Qu={class:"label"},ef={class:"value"},tf={class:"confirm-row"},nf={class:"label"},sf={class:"value after"},lf={key:1,class:"confirm-summary"},of={class:"confirm-row"},rf={class:"value admin-free"},cf={class:"confirm-actions"},af={__name:"ConfirmModal",props:{item:{type:Object,required:!0},coins:{type:Number,default:0},isAdmin:{type:Boolean,default:!1},locale:{type:Object,default:()=>({})}},emits:["confirm","cancel"],setup(e){const t=e,n=he(()=>t.item.image?t.item.image:t.item.purchaseType==="item"&&t.item.item?`https://cfx-nui-codem-inventory/html/itemimages/${t.item.item.replace(/\.png$/i,"")}.png`:null),s=he(()=>t.item.discountedPrice!==void 0&&t.item.discountedPrice<t.item.price?t.item.discountedPrice:t.item.price);function i(l){return l.toString().replace(/\B(?=(\d{3})+(?!\d))/g,".")}return(l,o)=>(g(),v("div",{class:"confirm-overlay",onClick:o[3]||(o[3]=lc(r=>l.$emit("cancel"),["self"]))},[h("div",Ku,[h("h3",null,$(e.locale.confirmTitle||"Kauf bestaetigen"),1),h("div",Uu,[h("div",Wu,[n.value?(g(),v("img",{key:0,src:n.value,alt:e.item.label,onError:o[0]||(o[0]=r=>r.target.style.display="none")},null,40,zu)):(g(),v("svg",qu,[...o[4]||(o[4]=[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",Gu,[h("div",Ju,$(e.item.label),1),h("div",Yu,[e.isAdmin?(g(),v(X,{key:0},[we($(e.locale.adminFree||"Kostenlos (Admin)"),1)],64)):(g(),v(X,{key:1},[we($(i(s.value))+" "+$(e.locale.coins||"Coins"),1)],64))])])]),e.isAdmin?(g(),v("div",lf,[h("div",of,[o[5]||(o[5]=h("span",{class:"label"},"Modus",-1)),h("span",rf,$(e.locale.adminMode||"Admin-Modus"),1)])])):(g(),v("div",Zu,[h("div",Xu,[h("span",Qu,$(e.locale.balance||"Guthaben"),1),h("span",ef,$(i(e.coins))+" C",1)]),h("div",tf,[h("span",nf,$(e.locale.balanceAfter||"Guthaben danach"),1),h("span",sf,$(i(Math.max(0,e.coins-s.value)))+" C",1)])])),h("div",cf,[h("button",{class:"cs-btn small ghost",onClick:o[1]||(o[1]=r=>l.$emit("cancel"))},$(e.locale.cancel||"Abbrechen"),1),h("button",{class:"cs-btn small",onClick:o[2]||(o[2]=r=>l.$emit("confirm"))},$(e.locale.confirm||"Bestaetigen"),1)])])]))}},uf={class:"cs-main"},ff={key:"home",class:"home-view"},df={__name:"App",setup(e){const t=se(!1),n=se([]),s=se("home"),i=se(0),l=se([]),o=se([]),r=se(null),c=se({}),d=se({}),a=se(!0),p=se(!1),w=se("VIP SHOP"),A=se(null),L=se(!1),E=se(""),j=se(!1),z=se(null),F=se(0);let U=null,I=!1;function ee(){return window.GetParentResourceName?window.GetParentResourceName():"mercy-coinshop"}function W(C,O={}){return fetch(`https://${ee()}/${C}`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(O)})}const ve=he(()=>{const C=d.value,O={};return C.accent&&(O["--accent"]=C.accent,O["--accent-dim"]=pe(C.accent,.12),O["--accent-subtle"]=pe(C.accent,.05),O["--border-accent"]=pe(C.accent,.15)),C.accentLight&&(O["--accent-light"]=C.accentLight),C.surfaceBase&&(O["--surface-base"]=C.surfaceBase),O});function pe(C,O){if(!C||!C.startsWith("#"))return C;const He=parseInt(C.slice(1,3),16),u=parseInt(C.slice(3,5),16),f=parseInt(C.slice(5,7),16);return`rgba(${He}, ${u}, ${f}, ${O})`}const H=he(()=>n.value),K=he(()=>n.value.find(C=>C.id===s.value)),G=he(()=>{var C;return s.value==="_history"?"history":((C=K.value)==null?void 0:C.type)||""}),M=he(()=>{var C;return s.value==="_history"?c.value.history||"Kaufhistorie":((C=K.value)==null?void 0:C.label)||""}),te=he(()=>{var C;return((C=K.value)==null?void 0:C.items)||[]}),de=he(()=>{const C=K.value;return!C||C.type!=="plate"?{}:{price:C.price||200,maxLength:C.maxLength||8,allowedPattern:C.allowedPattern||"^[A-Z0-9 ]+$"}});function Ie(){t.value=!1,W("close")}function ue(C){s.value=C}function ce(C){a.value&&!p.value?r.value={...C,purchaseType:"vehicle"}:W("buyVehicle",{model:C.model,isWeekly:C.isWeekly||!1})}function ne(C){a.value&&!p.value?r.value={...C,purchaseType:"vehicle",isWeekly:!0}:W("buyVehicle",{model:C.model,isWeekly:!0})}function Qe(C){const O=K.value;O&&(a.value&&!p.value?r.value={...C,purchaseType:"item",categoryId:O.id,itemIndex:C.index}:W("buyItem",{categoryId:O.id,itemIndex:C.index}))}function At(C){const O=K.value;O&&(a.value&&!p.value?r.value={...C,purchaseType:"pack",categoryId:O.id,itemIndex:C.index}:W("buyPack",{categoryId:O.id,itemIndex:C.index}))}function et(C){const O=de.value.price;a.value&&!p.value?r.value={label:C.vehiclePlate+" → "+C.newPlate,price:O,purchaseType:"plate",vehiclePlate:C.vehiclePlate,newPlate:C.newPlate}:W("buyPlate",{vehiclePlate:C.vehiclePlate,newPlate:C.newPlate})}function Oe(){const C=r.value;C&&(C.purchaseType==="vehicle"?W("buyVehicle",{model:C.model,isWeekly:C.isWeekly||!1}):C.purchaseType==="item"?W("buyItem",{categoryId:C.categoryId,itemIndex:C.itemIndex}):C.purchaseType==="pack"?W("buyPack",{categoryId:C.categoryId,itemIndex:C.itemIndex}):C.purchaseType==="plate"&&W("buyPlate",{vehiclePlate:C.vehiclePlate,newPlate:C.newPlate}),r.value=null)}function rn(C){W("redeemCode",{code:C})}function Rn(){W("getHistory")}function Fn(C){W("testDrive",{model:C.model})}function gt(){W("getPlayerVehicles")}function vt(C){const O=C.data;switch(O.type){case"open":t.value=!0,s.value="home",i.value=O.coins||0,n.value=O.categories||[],d.value=O.theme||{},c.value=O.locale||{},a.value=O.confirmPopup!==!1,p.value=O.isAdmin||!1,w.value=O.shopName||"VIP SHOP",A.value=O.playtimeBonus||null,O.playtimeBonus&&!I&&(I=!0,F.value=O.playtimeBonus.intervalMinutes*60,U&&clearInterval(U),U=setInterval(()=>{F.value>0&&F.value--},1e3)),L.value=O.tebexEnabled||!1,E.value=O.tebexStoreUrl||"",j.value=O.testDriveEnabled||!1,l.value=[],o.value=[],r.value=null;break;case"close":t.value=!1;break;case"updateCoins":i.value=O.coins||0;break;case"updateHistory":l.value=O.history||[];break;case"updatePlayerVehicles":o.value=O.vehicles||[];break;case"purchaseSuccess":if(O.model){for(const He of n.value)if(He.items)for(const u of He.items)u.model===O.model&&(u.owned=!0)}break;case"redeemResult":break;case"playtimeReset":A.value&&(F.value=A.value.intervalMinutes*60);break}}function Tt(C){C.key==="Escape"&&(r.value?r.value=null:s.value!=="home"?s.value="home":t.value&&Ie())}return On(()=>{window.addEventListener("message",vt),window.addEventListener("keydown",Tt)}),Ss(()=>{window.removeEventListener("message",vt),window.removeEventListener("keydown",Tt)}),(C,O)=>(g(),Ee(Xs,{name:"overlay"},{default:dn(()=>[t.value?(g(),v("div",{key:0,class:"cs-overlay",style:ht(ve.value)},[me(Pc,{ref_key:"headerRef",ref:z,shopName:w.value,coins:i.value,isAdmin:p.value,locale:c.value,playtimeBonus:A.value,playtimeTimerSeconds:F.value,tebexEnabled:L.value,tebexStoreUrl:E.value,onClose:Ie,onRedeem:rn},null,8,["shopName","coins","isAdmin","locale","playtimeBonus","playtimeTimerSeconds","tebexEnabled","tebexStoreUrl"]),h("div",uf,[me(Xs,{name:"fade",mode:"out-in"},{default:dn(()=>[s.value==="home"?(g(),v("div",ff,[me(Qc,{categories:H.value,locale:c.value,onSelect:ue},null,8,["categories","locale"])])):(g(),Ee(ia,{key:s.value,title:M.value,locale:c.value,onBack:O[1]||(O[1]=He=>s.value="home")},{default:dn(()=>[G.value==="vehicle"||G.value==="weekly"?(g(),Ee(Pa,{key:0,items:te.value,coins:i.value,isAdmin:p.value,locale:c.value,isWeekly:G.value==="weekly",testDriveEnabled:j.value,onBuy:O[0]||(O[0]=He=>G.value==="weekly"?ne(He):ce(He)),onTestDrive:Fn},null,8,["items","coins","isAdmin","locale","isWeekly","testDriveEnabled"])):G.value==="item"?(g(),Ee(La,{key:1,items:te.value,coins:i.value,isAdmin:p.value,locale:c.value,onBuy:Qe},null,8,["items","coins","isAdmin","locale"])):G.value==="pack"?(g(),Ee(nu,{key:2,items:te.value,coins:i.value,isAdmin:p.value,locale:c.value,onBuy:At},null,8,["items","coins","isAdmin","locale"])):G.value==="plate"?(g(),Ee(Eu,{key:3,config:de.value,coins:i.value,vehicles:o.value,isAdmin:p.value,locale:c.value,onBuy:et,onLoadVehicles:gt},null,8,["config","coins","vehicles","isAdmin","locale"])):s.value==="_history"?(g(),Ee(ju,{key:4,history:l.value,locale:c.value,onLoad:Rn},null,8,["history","locale"])):Y("",!0)]),_:1},8,["title","locale"]))]),_:1})]),r.value?(g(),Ee(af,{key:0,item:r.value,coins:i.value,isAdmin:p.value,locale:c.value,onConfirm:Oe,onCancel:O[2]||(O[2]=He=>r.value=null)},null,8,["item","coins","isAdmin","locale"])):Y("",!0)],4)):Y("",!0)]),_:1}))}};uc(df).mount("#app");