(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))s(r);new MutationObserver(r=>{for(const o of r)if(o.type==="childList")for(const i of o.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&s(i)}).observe(document,{childList:!0,subtree:!0});function n(r){const o={};return r.integrity&&(o.integrity=r.integrity),r.referrerPolicy&&(o.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?o.credentials="include":r.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function s(r){if(r.ep)return;r.ep=!0;const o=n(r);fetch(r.href,o)}})();/** * @vue/shared v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Ks(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const pe={},Gt=[],ot=()=>{},ao=()=>!1,Yn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Qn=e=>e.startsWith("onUpdate:"),Re=Object.assign,Us=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},Gi=Object.prototype.hasOwnProperty,ae=(e,t)=>Gi.call(e,t),U=Array.isArray,Rt=e=>kn(e)==="[object Map]",Fn=e=>kn(e)==="[object Set]",pr=e=>kn(e)==="[object Date]",z=e=>typeof e=="function",ve=e=>typeof e=="string",Ve=e=>typeof e=="symbol",ue=e=>e!==null&&typeof e=="object",co=e=>(ue(e)||z(e))&&z(e.then)&&z(e.catch),uo=Object.prototype.toString,kn=e=>uo.call(e),qi=e=>kn(e).slice(8,-1),fo=e=>kn(e)==="[object Object]",Xn=e=>ve(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rn=Ks(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Zn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},zi=/-\w/g,Ie=Zn(e=>e.replace(zi,t=>t.slice(1).toUpperCase())),Ji=/\B([A-Z])/g,Ft=Zn(e=>e.replace(Ji,"-$1").toLowerCase()),es=Zn(e=>e.charAt(0).toUpperCase()+e.slice(1)),ds=Zn(e=>e?`on${es(e)}`:""),rt=(e,t)=>!Object.is(e,t),hs=(e,...t)=>{for(let n=0;n{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:s,value:n})},Yi=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let gr;const ts=()=>gr||(gr=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Lt(e){if(U(e)){const t={};for(let n=0;n{if(n){const s=n.split(Xi);s.length>1&&(t[s[0].trim()]=s[1].trim())}}),t}function Me(e){let t="";if(ve(e))t=e;else if(U(e))for(let n=0;n!!(e&&e.__v_isRef===!0),oe=e=>ve(e)?e:e==null?"":U(e)||ue(e)&&(e.toString===uo||!z(e.toString))?go(e)?oe(e.value):JSON.stringify(e,mo,2):String(e),mo=(e,t)=>go(t)?mo(e,t.value):Rt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((n,[s,r],o)=>(n[ps(s,o)+" =>"]=r,n),{})}:Fn(t)?{[`Set(${t.size})`]:[...t.values()].map(n=>ps(n))}:Ve(t)?ps(t):ue(t)&&!U(t)&&!fo(t)?String(t):t,ps=(e,t="")=>{var n;return Ve(e)?`Symbol(${(n=e.description)!=null?n:t})`:e};/** * @vue/reactivity v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let Ee;class yo{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&Ee&&(Ee.active?(this.parent=Ee,this.index=(Ee.scopes||(Ee.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,n;if(this.scopes){const s=this.scopes.slice();for(t=0,n=s.length;t0&&--this._on===0){if(Ee===this)Ee=this.prevScope;else{let t=Ee;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let n,s;for(n=0,s=this.effects.length;n0)return;if(ln){let t=ln;for(ln=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;on;){let t=on;for(on=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 So(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Eo(e){let t,n=e.depsTail,s=n;for(;s;){const r=s.prevDep;s.version===-1?(s===n&&(n=r),zs(s),ol(s)):t=s,s.dep.activeLink=s.prevActiveLink,s.prevActiveLink=void 0,s=r}e.deps=t,e.depsTail=n}function Ms(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(ko(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function ko(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===pn)||(e.globalVersion=pn,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ms(e))))return;e.flags|=2;const t=e.dep,n=he,s=Ue;he=e,Ue=!0;try{So(e);const r=e.fn(e._value);(t.version===0||rt(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{he=n,Ue=s,Eo(e),e.flags&=-3}}function zs(e,t=!1){const{dep:n,prevSub:s,nextSub:r}=e;if(s&&(s.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=s,e.nextSub=void 0),n.subs===e&&(n.subs=s,!s&&n.computed)){n.computed.flags&=-5;for(let o=n.computed.deps;o;o=o.nextDep)zs(o,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function ol(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let Ue=!0;const Ro=[];function pt(){Ro.push(Ue),Ue=!1}function gt(){const e=Ro.pop();Ue=e===void 0?!0:e}function yr(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=he;he=void 0;try{t()}finally{he=n}}}let pn=0;class il{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 Js{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(!he||!Ue||he===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==he)n=this.activeLink=new il(he,this),he.deps?(n.prevDep=he.depsTail,he.depsTail.nextDep=n,he.depsTail=n):he.deps=he.depsTail=n,Co(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=he.depsTail,n.nextDep=void 0,he.depsTail.nextDep=n,he.depsTail=n,he.deps===n&&(he.deps=s)}return n}trigger(t){this.version++,pn++,this.notify(t)}notify(t){Gs();try{for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{qs()}}}function Co(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)Co(s)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),e.dep.subs=e}}const Bn=new WeakMap,Pt=Symbol(""),Ts=Symbol(""),gn=Symbol("");function Ce(e,t,n){if(Ue&&he){let s=Bn.get(e);s||Bn.set(e,s=new Map);let r=s.get(n);r||(s.set(n,r=new Js),r.map=s,r.key=n),r.track()}}function dt(e,t,n,s,r,o){const i=Bn.get(e);if(!i){pn++;return}const l=a=>{a&&a.trigger()};if(Gs(),t==="clear")i.forEach(l);else{const a=U(e),f=a&&Xn(n);if(a&&n==="length"){const c=Number(s);i.forEach((d,p)=>{(p==="length"||p===gn||!Ve(p)&&p>=c)&&l(d)})}else switch((n!==void 0||i.has(void 0))&&l(i.get(n)),f&&l(i.get(gn)),t){case"add":a?f&&l(i.get("length")):(l(i.get(Pt)),Rt(e)&&l(i.get(Ts)));break;case"delete":a||(l(i.get(Pt)),Rt(e)&&l(i.get(Ts)));break;case"set":Rt(e)&&l(i.get(Pt));break}}qs()}function ll(e,t){const n=Bn.get(e);return n&&n.get(t)}function Vt(e){const t=ie(e);return t===e?t:(Ce(t,"iterate",gn),$e(e)?t:t.map(Ge))}function ss(e){return Ce(e=ie(e),"iterate",gn),e}function tt(e,t){return mt(e)?zt(ht(e)?Ge(t):t):Ge(t)}const al={__proto__:null,[Symbol.iterator](){return ms(this,Symbol.iterator,e=>tt(this,e))},concat(...e){return Vt(this).concat(...e.map(t=>U(t)?Vt(t):t))},entries(){return ms(this,"entries",e=>(e[1]=tt(this,e[1]),e))},every(e,t){return at(this,"every",e,t,void 0,arguments)},filter(e,t){return at(this,"filter",e,t,n=>n.map(s=>tt(this,s)),arguments)},find(e,t){return at(this,"find",e,t,n=>tt(this,n),arguments)},findIndex(e,t){return at(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return at(this,"findLast",e,t,n=>tt(this,n),arguments)},findLastIndex(e,t){return at(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return at(this,"forEach",e,t,void 0,arguments)},includes(...e){return ys(this,"includes",e)},indexOf(...e){return ys(this,"indexOf",e)},join(e){return Vt(this).join(e)},lastIndexOf(...e){return ys(this,"lastIndexOf",e)},map(e,t){return at(this,"map",e,t,void 0,arguments)},pop(){return Zt(this,"pop")},push(...e){return Zt(this,"push",e)},reduce(e,...t){return vr(this,"reduce",e,t)},reduceRight(e,...t){return vr(this,"reduceRight",e,t)},shift(){return Zt(this,"shift")},some(e,t){return at(this,"some",e,t,void 0,arguments)},splice(...e){return Zt(this,"splice",e)},toReversed(){return Vt(this).toReversed()},toSorted(e){return Vt(this).toSorted(e)},toSpliced(...e){return Vt(this).toSpliced(...e)},unshift(...e){return Zt(this,"unshift",e)},values(){return ms(this,"values",e=>tt(this,e))}};function ms(e,t,n){const s=ss(e),r=s[t]();return s!==e&&!$e(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.done||(o.value=n(o.value)),o}),r}const cl=Array.prototype;function at(e,t,n,s,r,o){const i=ss(e),l=i!==e&&!$e(e),a=i[t];if(a!==cl[t]){const d=a.apply(e,o);return l?Ge(d):d}let f=n;i!==e&&(l?f=function(d,p){return n.call(this,tt(e,d),p,e)}:n.length>2&&(f=function(d,p){return n.call(this,d,p,e)}));const c=a.call(i,f,s);return l&&r?r(c):c}function vr(e,t,n,s){const r=ss(e),o=r!==e&&!$e(e);let i=n,l=!1;r!==e&&(o?(l=s.length===0,i=function(f,c,d){return l&&(l=!1,f=tt(e,f)),n.call(this,f,tt(e,c),d,e)}):n.length>3&&(i=function(f,c,d){return n.call(this,f,c,d,e)}));const a=r[t](i,...s);return l?tt(e,a):a}function ys(e,t,n){const s=ie(e);Ce(s,"iterate",gn);const r=s[t](...n);return(r===-1||r===!1)&&rs(n[0])?(n[0]=ie(n[0]),s[t](...n)):r}function Zt(e,t,n=[]){pt(),Gs();const s=ie(e)[t].apply(e,n);return qs(),gt(),s}const ul=Ks("__proto__,__v_isRef,__isVue"),Ao=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(Ve));function fl(e){Ve(e)||(e=String(e));const t=ie(this);return Ce(t,"has",e),t.hasOwnProperty(e)}class Mo{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,s){if(n==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(n==="__v_isReactive")return!r;if(n==="__v_isReadonly")return r;if(n==="__v_isShallow")return o;if(n==="__v_raw")return s===(r?o?_l:Io:o?Po:Oo).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(s)?t:void 0;const i=U(t);if(!r){let a;if(i&&(a=al[n]))return a;if(n==="hasOwnProperty")return fl}const l=Reflect.get(t,n,xe(t)?t:s);if((Ve(n)?Ao.has(n):ul(n))||(r||Ce(t,"get",n),o))return l;if(xe(l)){const a=i&&Xn(n)?l:l.value;return r&&ue(a)?Ps(a):a}return ue(l)?r?Ps(l):Rn(l):l}}class To extends Mo{constructor(t=!1){super(!1,t)}set(t,n,s,r){let o=t[n];const i=U(t)&&Xn(n);if(!this._isShallow){const f=mt(o);if(!$e(s)&&!mt(s)&&(o=ie(o),s=ie(s)),!i&&xe(o)&&!xe(s))return f||(o.value=s),!0}const l=i?Number(n)e,Tn=e=>Reflect.getPrototypeOf(e);function ml(e,t,n){return function(...s){const r=this.__v_raw,o=ie(r),i=Rt(o),l=e==="entries"||e===Symbol.iterator&&i,a=e==="keys"&&i,f=r[e](...s),c=n?Os:t?zt:Ge;return!t&&Ce(o,"iterate",a?Ts:Pt),Re(Object.create(f),{next(){const{value:d,done:p}=f.next();return p?{value:d,done:p}:{value:l?[c(d[0]),c(d[1])]:c(d),done:p}}})}}function On(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function yl(e,t){const n={get(r){const o=this.__v_raw,i=ie(o),l=ie(r);e||(rt(r,l)&&Ce(i,"get",r),Ce(i,"get",l));const{has:a}=Tn(i),f=t?Os:e?zt:Ge;if(a.call(i,r))return f(o.get(r));if(a.call(i,l))return f(o.get(l));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&Ce(ie(r),"iterate",Pt),r.size},has(r){const o=this.__v_raw,i=ie(o),l=ie(r);return e||(rt(r,l)&&Ce(i,"has",r),Ce(i,"has",l)),r===l?o.has(r):o.has(r)||o.has(l)},forEach(r,o){const i=this,l=i.__v_raw,a=ie(l),f=t?Os:e?zt:Ge;return!e&&Ce(a,"iterate",Pt),l.forEach((c,d)=>r.call(o,f(c),f(d),i))}};return Re(n,e?{add:On("add"),set:On("set"),delete:On("delete"),clear:On("clear")}:{add(r){const o=ie(this),i=Tn(o),l=ie(r),a=!t&&!$e(r)&&!mt(r)?l:r;return i.has.call(o,a)||rt(r,a)&&i.has.call(o,r)||rt(l,a)&&i.has.call(o,l)||(o.add(a),dt(o,"add",a,a)),this},set(r,o){!t&&!$e(o)&&!mt(o)&&(o=ie(o));const i=ie(this),{has:l,get:a}=Tn(i);let f=l.call(i,r);f||(r=ie(r),f=l.call(i,r));const c=a.call(i,r);return i.set(r,o),f?rt(o,c)&&dt(i,"set",r,o):dt(i,"add",r,o),this},delete(r){const o=ie(this),{has:i,get:l}=Tn(o);let a=i.call(o,r);a||(r=ie(r),a=i.call(o,r)),l&&l.call(o,r);const f=o.delete(r);return a&&dt(o,"delete",r,void 0),f},clear(){const r=ie(this),o=r.size!==0,i=r.clear();return o&&dt(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{n[r]=ml(r,e,t)}),n}function Ys(e,t){const n=yl(e,t);return(s,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?s:Reflect.get(ae(n,r)&&r in s?n:s,r,o)}const vl={get:Ys(!1,!1)},bl={get:Ys(!1,!0)},xl={get:Ys(!0,!1)};const Oo=new WeakMap,Po=new WeakMap,Io=new WeakMap,_l=new WeakMap;function wl(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Rn(e){return mt(e)?e:Qs(e,!1,hl,vl,Oo)}function No(e){return Qs(e,!1,gl,bl,Po)}function Ps(e){return Qs(e,!0,pl,xl,Io)}function Qs(e,t,n,s,r){if(!ue(e)||e.__v_raw&&!(t&&e.__v_isReactive)||e.__v_skip||!Object.isExtensible(e))return e;const o=r.get(e);if(o)return o;const i=wl(qi(e));if(i===0)return e;const l=new Proxy(e,i===2?s:n);return r.set(e,l),l}function ht(e){return mt(e)?ht(e.__v_raw):!!(e&&e.__v_isReactive)}function mt(e){return!!(e&&e.__v_isReadonly)}function $e(e){return!!(e&&e.__v_isShallow)}function rs(e){return e?!!e.__v_raw:!1}function ie(e){const t=e&&e.__v_raw;return t?ie(t):e}function Xs(e){return!ae(e,"__v_skip")&&Object.isExtensible(e)&&ho(e,"__v_skip",!0),e}const Ge=e=>ue(e)?Rn(e):e,zt=e=>ue(e)?Ps(e):e;function xe(e){return e?e.__v_isRef===!0:!1}function re(e){return Do(e,!1)}function Sl(e){return Do(e,!0)}function Do(e,t){return xe(e)?e:new El(e,t)}class El{constructor(t,n){this.dep=new Js,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:ie(t),this._value=n?t:Ge(t),this.__v_isShallow=n}get value(){return this.dep.track(),this._value}set value(t){const n=this._rawValue,s=this.__v_isShallow||$e(t)||mt(t);t=s?t:ie(t),rt(t,n)&&(this._rawValue=t,this._value=s?t:Ge(t),this.dep.trigger())}}function k(e){return xe(e)?e.value:e}const kl={get:(e,t,n)=>t==="__v_raw"?e:k(Reflect.get(e,t,n)),set:(e,t,n,s)=>{const r=e[t];return xe(r)&&!xe(n)?(r.value=n,!0):Reflect.set(e,t,n,s)}};function Lo(e){return ht(e)?e:new Proxy(e,kl)}function Rl(e){const t=U(e)?new Array(e.length):{};for(const n in e)t[n]=Al(e,n);return t}class Cl{constructor(t,n,s){this._object=t,this._defaultValue=s,this.__v_isRef=!0,this._value=void 0,this._key=Ve(n)?n:String(n),this._raw=ie(t);let r=!0,o=t;if(!U(t)||Ve(this._key)||!Xn(this._key))do r=!rs(o)||$e(o);while(r&&(o=o.__v_raw));this._shallow=r}get value(){let t=this._object[this._key];return this._shallow&&(t=k(t)),this._value=t===void 0?this._defaultValue:t}set value(t){if(this._shallow&&xe(this._raw[this._key])){const n=this._object[this._key];if(xe(n)){n.value=t;return}}this._object[this._key]=t}get dep(){return ll(this._raw,this._key)}}function Al(e,t,n){return new Cl(e,t,n)}class Ml{constructor(t,n,s){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Js(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=pn-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=s}notify(){if(this.flags|=16,!(this.flags&8)&&he!==this)return wo(this,!0),!0}get value(){const t=this.dep.track();return ko(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Tl(e,t,n=!1){let s,r;return z(e)?s=e:(s=e.get,r=e.set),new Ml(s,r,n)}const Pn={},$n=new WeakMap;let Tt;function Ol(e,t=!1,n=Tt){if(n){let s=$n.get(n);s||$n.set(n,s=[]),s.push(e)}}function Pl(e,t,n=pe){const{immediate:s,deep:r,once:o,scheduler:i,augmentJob:l,call:a}=n,f=R=>r?R:$e(R)||r===!1||r===0?kt(R,1):kt(R);let c,d,p,m,w=!1,E=!1;if(xe(e)?(d=()=>e.value,w=$e(e)):ht(e)?(d=()=>f(e),w=!0):U(e)?(E=!0,w=e.some(R=>ht(R)||$e(R)),d=()=>e.map(R=>{if(xe(R))return R.value;if(ht(R))return f(R);if(z(R))return a?a(R,2):R()})):z(e)?t?d=a?()=>a(e,2):e:d=()=>{if(p){pt();try{p()}finally{gt()}}const R=Tt;Tt=c;try{return a?a(e,3,[m]):e(m)}finally{Tt=R}}:d=ot,t&&r){const R=d,F=r===!0?1/0:r;d=()=>kt(R(),F)}const T=bo(),D=()=>{c.stop(),T&&T.active&&Us(T.effects,c)};if(o&&t){const R=t;t=(...F)=>{const ne=R(...F);return D(),ne}}let A=E?new Array(e.length).fill(Pn):Pn;const I=R=>{if(!(!(c.flags&1)||!c.dirty&&!R))if(t){const F=c.run();if(R||r||w||(E?F.some((ne,Q)=>rt(ne,A[Q])):rt(F,A))){p&&p();const ne=Tt;Tt=c;try{const Q=[F,A===Pn?void 0:E&&A[0]===Pn?[]:A,m];A=F,a?a(t,3,Q):t(...Q)}finally{Tt=ne}}}else c.run()};return l&&l(I),c=new xo(d),c.scheduler=i?()=>i(I,!1):I,m=R=>Ol(R,!1,c),p=c.onStop=()=>{const R=$n.get(c);if(R){if(a)a(R,4);else for(const F of R)F();$n.delete(c)}},t?s?I(!0):A=c.run():i?i(I.bind(null,!0),!0):c.run(),D.pause=c.pause.bind(c),D.resume=c.resume.bind(c),D.stop=D,D}function kt(e,t=1/0,n){if(t<=0||!ue(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,xe(e))kt(e.value,t,n);else if(U(e))for(let s=0;s{kt(s,t,n)});else if(fo(e)){for(const s in e)kt(e[s],t,n);for(const s of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,s)&&kt(e[s],t,n)}return e}/** * @vue/runtime-core v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/function Cn(e,t,n,s){try{return s?e(...s):e()}catch(r){os(r,t,n)}}function qe(e,t,n,s){if(z(e)){const r=Cn(e,t,n,s);return r&&co(r)&&r.catch(o=>{os(o,t,n)}),r}if(U(e)){const r=[];for(let o=0;o>>1,r=Pe[s],o=yn(r);o=yn(n)?Pe.push(e):Pe.splice(Nl(t),0,e),e.flags|=1,Fo()}}function Fo(){Hn||(Hn=jo.then($o))}function Dl(e){if(!U(e))St&&e.id===-1?St.splice(Kt+1,0,e):e.flags&1||(qt.push(e),e.flags|=1);else for(let t=0;tyn(n)-yn(s));if(qt.length=0,St){for(let n=0;ne.id==null?e.flags&2?-1:1/0:e.id;function $o(e){try{for(et=0;et{s._d&&Un(-1);const o=Vn(t),i=Dt.length;let l;try{l=e(...r)}finally{for(let a=Dt.length;a>i;a--)di();Vn(o),s._d&&Un(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function At(e,t,n,s){const r=e.dirs,o=t&&t.dirs;for(let i=0;i1)return n&&z(t)?t.call(s&&s.proxy):t}}function jl(){return!!(gi()||Nt)}const Fl=Symbol.for("v-scx"),Bl=()=>it(Fl);function It(e,t,n){return Vo(e,t,n)}function Vo(e,t,n=pe){const{immediate:s,deep:r,flush:o,once:i}=n,l=Re({},n),a=t&&s||!t&&o!=="post";let f;if(_n){if(o==="sync"){const m=Bl();f=m.__watcherHandles||(m.__watcherHandles=[])}else if(!a){const m=()=>{};return m.stop=ot,m.resume=ot,m.pause=ot,m}}const c=Ae;l.call=(m,w,E)=>qe(m,c,w,E);let d=!1;o==="post"?l.scheduler=m=>{Le(m,c&&c.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(m,w)=>{w?m():Zs(m)}),l.augmentJob=m=>{t&&(m.flags|=4),d&&(m.flags|=2,c&&(m.id=c.uid,m.i=c))};const p=Pl(e,t,l);return _n&&(f?f.push(p):a&&p()),p}function $l(e,t,n){const s=this.proxy,r=ve(e)?e.includes(".")?Wo(s,e):()=>s[e]:e.bind(s,s);let o;z(t)?o=t:(o=t.handler,n=t);const i=An(this),l=Vo(r,o.bind(s),n);return i(),l}function Wo(e,t){const n=t.split(".");return()=>{let s=e;for(let r=0;re.__isTeleport,vs=Symbol("_leaveCb");function Vl(e){let t=e[0];if(e.length>1){for(const n of e)if(n.type!==yt){t=n;break}}return t}function Ko(e){if(!tr(e))return is(e.type)&&e.children?Vl(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&&z(n.default))return n.default()}}function er(e,t){if(e.shapeFlag&6&&e.component){e.transition=t;const n=e.component.subTree;er(is(n.type)&&Ko(n)||n,t)}else e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function We(e,t){return z(e)?Re({name:e.name},t,{setup:e}):e}function Uo(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function xr(e,t){let n;return!!((n=Object.getOwnPropertyDescriptor(e,t))&&!n.configurable)}const Wn=new WeakMap;function an(e,t,n,s,r=!1){if(U(e)){e.forEach((E,T)=>an(E,t&&(U(t)?t[T]:t),n,s,r));return}if(cn(s)&&!r){s.shapeFlag&512&&s.type.__asyncResolved&&s.component.subTree.component&&an(e,t,n,s.component.subTree);return}const o=s.shapeFlag&4?ir(s.component):s.el,i=r?null:o,{i:l,r:a}=e,f=t&&t.r,c=l.refs===pe?l.refs={}:l.refs,d=l.setupState,p=ie(d),m=d===pe?ao:E=>xr(c,E)?!1:ae(p,E),w=(E,T)=>!(T&&xr(c,T));if(f!=null&&f!==a){if(_r(t),ve(f))c[f]=null,m(f)&&(d[f]=null);else if(xe(f)){const E=t;w(f,E.k)&&(f.value=null),E.k&&(c[E.k]=null)}}if(z(a))Cn(a,l,12,[i,c]);else{const E=ve(a),T=xe(a);if(E||T){const D=()=>{if(e.f){const A=E?m(a)?d[a]:c[a]:w()||!e.k?a.value:c[e.k];if(r)U(A)&&Us(A,o);else if(U(A))A.includes(o)||A.push(o);else if(E)c[a]=[o],m(a)&&(d[a]=c[a]);else{const I=[o];w(a,e.k)&&(a.value=I),e.k&&(c[e.k]=I)}}else E?(c[a]=i,m(a)&&(d[a]=i)):T&&(w(a,e.k)&&(a.value=i),e.k&&(c[e.k]=i))};if(i){const A=()=>{D(),Wn.delete(e)};A.id=-1,Wn.set(e,A),Le(A,n)}else _r(e),D()}}}function _r(e){const t=Wn.get(e);t&&(t.flags|=8,Wn.delete(e))}ts().requestIdleCallback;ts().cancelIdleCallback;const cn=e=>!!e.type.__asyncLoader,tr=e=>e.type.__isKeepAlive;function Wl(e,t){Go(e,"a",t)}function Kl(e,t){Go(e,"da",t)}function Go(e,t,n=Ae){const s=e.__wdc||(e.__wdc=()=>{let r=n;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ls(t,s,n),n){let r=n.parent;for(;r&&r.parent;)tr(r.parent.vnode)&&Ul(s,t,n,r),r=r.parent}}function Ul(e,t,n,s){const r=ls(t,e,s,!0);nr(()=>{Us(s[t],r)},n)}function ls(e,t,n=Ae,s=!1){if(n){const r=n[e]||(n[e]=[]),o=t.__weh||(t.__weh=(...i)=>{pt();const l=An(n),a=qe(t,n,e,i);return l(),gt(),a});return s?r.unshift(o):r.push(o),o}}const bt=e=>(t,n=Ae)=>{(!_n||e==="sp")&&ls(e,(...s)=>t(...s),n)},Gl=bt("bm"),qo=bt("m"),ql=bt("bu"),zl=bt("u"),Jl=bt("bum"),nr=bt("um"),Yl=bt("sp"),Ql=bt("rtg"),Xl=bt("rtc");function Zl(e,t=Ae){ls("ec",e,t)}const ea="components",zo=Symbol.for("v-ndc");function sr(e){return ve(e)?ta(ea,e,!1)||e:e||zo}function ta(e,t,n=!0,s=!1){const r=Ke||Ae;if(r){const o=r.type;{const l=Fa(o,!1);if(l&&(l===t||l===Ie(t)||l===es(Ie(t))))return o}const i=wr(r[e]||o[e],t)||wr(r.appContext[e],t);return!i&&s?o:i}}function wr(e,t){return e&&(e[t]||e[Ie(t)]||e[es(Ie(t))])}function nt(e,t,n,s){let r;const o=n,i=U(e);if(i||ve(e)){const l=i&&ht(e);let a=!1,f=!1;l&&(a=!$e(e),f=mt(e),e=ss(e)),r=new Array(e.length);for(let c=0,d=e.length;ct(l,a,void 0,o));else{const l=Object.keys(e);r=new Array(l.length);for(let a=0,f=l.length;ae?mi(e)?ir(e):Is(e.parent):null,un=Re(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=>Is(e.parent),$root:e=>Is(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Yo(e),$forceUpdate:e=>e.f||(e.f=()=>{Zs(e.update)}),$nextTick:e=>e.n||(e.n=mn.bind(e.proxy)),$watch:e=>$l.bind(e)}),bs=(e,t)=>e!==pe&&!e.__isScriptSetup&&ae(e,t),na={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:n,setupState:s,data:r,props:o,accessCache:i,type:l,appContext:a}=e;if(t[0]!=="$"){const p=i[t];if(p!==void 0)switch(p){case 1:return s[t];case 2:return r[t];case 4:return n[t];case 3:return o[t]}else{if(bs(s,t))return i[t]=1,s[t];if(r!==pe&&ae(r,t))return i[t]=2,r[t];if(ae(o,t))return i[t]=3,o[t];if(n!==pe&&ae(n,t))return i[t]=4,n[t];Ns&&(i[t]=0)}}const f=un[t];let c,d;if(f)return t==="$attrs"&&Ce(e.attrs,"get",""),f(e);if((c=l.__cssModules)&&(c=c[t]))return c;if(n!==pe&&ae(n,t))return i[t]=4,n[t];if(d=a.config.globalProperties,ae(d,t))return d[t]},set({_:e},t,n){const{data:s,setupState:r,ctx:o}=e;return bs(r,t)?(r[t]=n,!0):s!==pe&&ae(s,t)?(s[t]=n,!0):ae(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:s,appContext:r,props:o,type:i}},l){let a;return!!(n[l]||e!==pe&&l[0]!=="$"&&ae(e,l)||bs(t,l)||ae(o,l)||ae(s,l)||ae(un,l)||ae(r.config.globalProperties,l)||(a=i.__cssModules)&&a[l])},defineProperty(e,t,n){return n.get!=null?e._.accessCache[t]=0:ae(n,"value")&&this.set(e,t,n.value,null),Reflect.defineProperty(e,t,n)}};function Sr(e){return U(e)?e.reduce((t,n)=>(t[n]=null,t),{}):e}let Ns=!0;function sa(e){const t=Yo(e),n=e.proxy,s=e.ctx;Ns=!1,t.beforeCreate&&Er(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:l,provide:a,inject:f,created:c,beforeMount:d,mounted:p,beforeUpdate:m,updated:w,activated:E,deactivated:T,beforeDestroy:D,beforeUnmount:A,destroyed:I,unmounted:R,render:F,renderTracked:ne,renderTriggered:Q,errorCaptured:j,serverPrefetch:$,expose:Z,inheritAttrs:B,components:X,directives:me,filters:Ne}=t;if(f&&ra(f,s,null),i)for(const q in i){const K=i[q];z(K)&&(s[q]=K.bind(n))}if(r){const q=r.call(n,n);ue(q)&&(e.data=Rn(q))}if(Ns=!0,o)for(const q in o){const K=o[q],lt=z(K)?K.bind(n,n):z(K.get)?K.get.bind(n,n):ot,xt=!z(K)&&z(K.set)?K.set.bind(n):ot,Je=ye({get:lt,set:xt});Object.defineProperty(s,q,{enumerable:!0,configurable:!0,get:()=>Je.value,set:De=>Je.value=De})}if(l)for(const q in l)Jo(l[q],s,n,q);if(a){const q=z(a)?a.call(n):a;Reflect.ownKeys(q).forEach(K=>{Ln(K,q[K])})}c&&Er(c,e,"c");function ce(q,K){U(K)?K.forEach(lt=>q(lt.bind(n))):K&&q(K.bind(n))}if(ce(Gl,d),ce(qo,p),ce(ql,m),ce(zl,w),ce(Wl,E),ce(Kl,T),ce(Zl,j),ce(Xl,ne),ce(Ql,Q),ce(Jl,A),ce(nr,R),ce(Yl,$),U(Z))if(Z.length){const q=e.exposed||(e.exposed={});Z.forEach(K=>{Object.defineProperty(q,K,{get:()=>n[K],set:lt=>n[K]=lt,enumerable:!0})})}else e.exposed||(e.exposed={});F&&e.render===ot&&(e.render=F),B!=null&&(e.inheritAttrs=B),X&&(e.components=X),me&&(e.directives=me),$&&Uo(e)}function ra(e,t,n=ot){U(e)&&(e=Ds(e));for(const s in e){const r=e[s];let o;ue(r)?"default"in r?o=it(r.from||s,r.default,!0):o=it(r.from||s):o=it(r),xe(o)?Object.defineProperty(t,s,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[s]=o}}function Er(e,t,n){qe(U(e)?e.map(s=>s.bind(t.proxy)):e.bind(t.proxy),t,n)}function Jo(e,t,n,s){let r=s.includes(".")?Wo(n,s):()=>n[s];if(ve(e)){const o=t[e];z(o)&&It(r,o)}else if(z(e))It(r,e.bind(n));else if(ue(e))if(U(e))e.forEach(o=>Jo(o,t,n,s));else{const o=z(e.handler)?e.handler.bind(n):t[e.handler];z(o)&&It(r,o,e)}}function Yo(e){const t=e.type,{mixins:n,extends:s}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,l=o.get(t);let a;return l?a=l:!r.length&&!n&&!s?a=t:(a={},r.length&&r.forEach(f=>Kn(a,f,i,!0)),Kn(a,t,i)),ue(t)&&o.set(t,a),a}function Kn(e,t,n,s=!1){const{mixins:r,extends:o}=t;o&&Kn(e,o,n,!0),r&&r.forEach(i=>Kn(e,i,n,!0));for(const i in t)if(!(s&&i==="expose")){const l=oa[i]||n&&n[i];e[i]=l?l(e[i],t[i]):t[i]}return e}const oa={data:kr,props:Rr,emits:Rr,methods:nn,computed:nn,beforeCreate:Te,created:Te,beforeMount:Te,mounted:Te,beforeUpdate:Te,updated:Te,beforeDestroy:Te,beforeUnmount:Te,destroyed:Te,unmounted:Te,activated:Te,deactivated:Te,errorCaptured:Te,serverPrefetch:Te,components:nn,directives:nn,watch:la,provide:kr,inject:ia};function kr(e,t){return t?e?function(){return Re(z(e)?e.call(this,this):e,z(t)?t.call(this,this):t)}:t:e}function ia(e,t){return nn(Ds(e),Ds(t))}function Ds(e){if(U(e)){const t={};for(let n=0;nt==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Ie(t)}Modifiers`]||e[`${Ft(t)}Modifiers`];function fa(e,t,...n){if(e.isUnmounted)return;const s=e.vnode.props||pe;let r=n;const o=t.startsWith("update:"),i=o&&ua(s,t.slice(7));i&&(i.trim&&(r=n.map(c=>ve(c)?c.trim():c)),i.number&&(r=r.map(Yi)));let l,a=s[l=ds(t)]||s[l=ds(Ie(t))];!a&&o&&(a=s[l=ds(Ft(t))]),a&&qe(a,e,6,r);const f=s[l+"Once"];if(f){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,qe(f,e,6,r)}}const da=new WeakMap;function Xo(e,t,n=!1){const s=n?da:t.emitsCache,r=s.get(e);if(r!==void 0)return r;const o=e.emits;let i={},l=!1;if(!z(e)){const a=f=>{const c=Xo(f,t,!0);c&&(l=!0,Re(i,c))};!n&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!o&&!l?(ue(e)&&s.set(e,null),null):(U(o)?o.forEach(a=>i[a]=null):Re(i,o),ue(e)&&s.set(e,i),i)}function as(e,t){return!e||!Yn(t)?!1:(t=t.slice(2),t=t==="Once"?t:t.replace(/Once$/,""),ae(e,t[0].toLowerCase()+t.slice(1))||ae(e,Ft(t))||ae(e,t))}function Cr(e){const{type:t,vnode:n,proxy:s,withProxy:r,propsOptions:[o],slots:i,attrs:l,emit:a,render:f,renderCache:c,props:d,data:p,setupState:m,ctx:w,inheritAttrs:E}=e,T=Vn(e);let D,A;try{if(n.shapeFlag&4){const R=r||s,F=R;D=st(f.call(F,R,c,d,m,p,w)),A=l}else{const R=t;D=st(R.length>1?R(d,{attrs:l,slots:i,emit:a}):R(d,null)),A=t.props?l:ha(l)}}catch(R){Dt.length=0,os(R,e,1),D=Y(yt)}let I=D;if(A&&E!==!1){const R=Object.keys(A),{shapeFlag:F}=I;R.length&&F&7&&(o&&R.some(Qn)&&(A=pa(A,o)),I=Jt(I,A,!1,!0))}if(n.dirs&&(I=Jt(I,null,!1,!0),I.dirs=I.dirs?I.dirs.concat(n.dirs):n.dirs),n.transition){const R=is(I.type)&&Ko(I)||I;er(R,n.transition)}return D=I,Vn(T),D}const ha=e=>{let t;for(const n in e)(n==="class"||n==="style"||Yn(n))&&((t||(t={}))[n]=e[n]);return t},pa=(e,t)=>{const n={};for(const s in e)(!Qn(s)||!(s.slice(9)in t))&&(n[s]=e[s]);return n};function ga(e,t,n){const{props:s,children:r,component:o}=e,{props:i,children:l,patchFlag:a}=t,f=o.emitsOptions;if(t.dirs||t.transition)return!0;if(n&&a>=0){if(a&1024)return!0;if(a&16)return s?Ar(s,i,f):!!i;if(a&8){const c=t.dynamicProps;for(let d=0;dObject.create(ei),ni=e=>Object.getPrototypeOf(e)===ei;function ya(e,t,n,s=!1){const r={},o=ti();e.propsDefaults=Object.create(null),si(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);n?e.props=s?r:No(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function va(e,t,n,s){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,l=ie(r),[a]=e.propsOptions;let f=!1;if((s||i>0)&&!(i&16)){if(i&8){const c=e.vnode.dynamicProps;for(let d=0;d{a=!0;const[p,m]=ri(d,t,!0);Re(i,p),m&&l.push(...m)};!n&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}if(!o&&!a)return ue(e)&&s.set(e,Gt),Gt;if(U(o))for(let c=0;ce==="_"||e==="_ctx"||e==="$stable",or=e=>U(e)?e.map(st):[st(e)],xa=(e,t,n)=>{if(t._n)return t;const s=Ll((...r)=>or(t(...r)),n);return s._c=!1,s},oi=(e,t,n)=>{const s=e._ctx;for(const r in e){if(rr(r))continue;const o=e[r];if(z(o))t[r]=xa(r,o,s);else if(o!=null){const i=or(o);t[r]=()=>i}}},ii=(e,t)=>{const n=or(t);e.slots.default=()=>n},li=(e,t,n)=>{for(const s in t)(n||!rr(s))&&(e[s]=t[s])},_a=(e,t,n)=>{const s=e.slots=ti();if(e.vnode.shapeFlag&32){const r=t._;r?(li(s,t,n),n&&ho(s,"_",r,!0)):oi(t,s)}else t&&ii(e,t)},wa=(e,t,n)=>{const{vnode:s,slots:r}=e;let o=!0,i=pe;if(s.shapeFlag&32){const l=t._;l?n&&l===1?o=!1:li(r,t,n):(o=!t.$stable,oi(t,r)),i=t}else t&&(ii(e,t),i={default:1});if(o)for(const l in r)!rr(l)&&i[l]==null&&delete r[l]},Le=Ca;function Sa(e){return Ea(e)}function Ea(e,t){const n=ts();n.__VUE__=!0;const{insert:s,remove:r,patchProp:o,createElement:i,createText:l,createComment:a,setText:f,setElementText:c,parentNode:d,nextSibling:p,setScopeId:m=ot,insertStaticContent:w}=e,E=(u,h,g,b=null,_=null,v=null,O=void 0,M=null,C=!!h.dynamicChildren)=>{if(u===h)return;u&&!en(u,h)&&(b=x(u),De(u,_,v,!0),u=null),h.patchFlag===-2&&(C=!1,h.dynamicChildren=null);const{type:S,ref:W,shapeFlag:N}=h;switch(S){case cs:T(u,h,g,b);break;case yt:D(u,h,g,b);break;case _s:u==null&&A(h,g,b,O);break;case _e:X(u,h,g,b,_,v,O,M,C);break;default:N&1?F(u,h,g,b,_,v,O,M,C):N&6?me(u,h,g,b,_,v,O,M,C):(N&64||N&128)&&S.process(u,h,g,b,_,v,O,M,C,H)}W!=null&&_?an(W,u&&u.ref,v,h||u,!h):W==null&&u&&u.ref!=null&&an(u.ref,null,v,u,!0)},T=(u,h,g,b)=>{if(u==null)s(h.el=l(h.children),g,b);else{const _=h.el=u.el;h.children!==u.children&&f(_,h.children)}},D=(u,h,g,b)=>{u==null?s(h.el=a(h.children||""),g,b):h.el=u.el},A=(u,h,g,b)=>{[u.el,u.anchor]=w(u.children,h,g,b,u.el,u.anchor)},I=({el:u,anchor:h},g,b)=>{let _;for(;u&&u!==h;)_=p(u),s(u,g,b),u=_;s(h,g,b)},R=({el:u,anchor:h})=>{let g;for(;u&&u!==h;)g=p(u),r(u),u=g;r(h)},F=(u,h,g,b,_,v,O,M,C)=>{if(h.type==="svg"?O="svg":h.type==="math"&&(O="mathml"),u==null)ne(h,g,b,_,v,O,M,C);else{const S=u.el&&u.el._isVueCE?u.el:null;try{S&&S._beginPatch(),$(u,h,_,v,O,M,C)}finally{S&&S._endPatch()}}},ne=(u,h,g,b,_,v,O,M)=>{let C,S;const{props:W,shapeFlag:N,transition:V,dirs:G}=u;if(C=u.el=i(u.type,v,W&&W.is,W),N&8?c(C,u.children):N&16&&j(u.children,C,null,b,_,xs(u,v),O,M),G&&At(u,null,b,"created"),Q(C,u,u.scopeId,O,b),W){for(const de in W)de!=="value"&&!rn(de)&&o(C,de,null,W[de],v,b);"value"in W&&o(C,"value",null,W.value,v),(S=W.onVnodeBeforeMount)&&Ze(S,b,u)}G&&At(u,null,b,"beforeMount");const se=ka(_,V);se&&V.beforeEnter(C),s(C,h,g),((S=W&&W.onVnodeMounted)||se||G)&&Le(()=>{try{S&&Ze(S,b,u),se&&V.enter(C),G&&At(u,null,b,"mounted")}finally{}},_)},Q=(u,h,g,b,_)=>{if(g&&m(u,g),b)for(let v=0;v{for(let S=C;S{const M=h.el=u.el;let{patchFlag:C,dynamicChildren:S,dirs:W}=h;C|=u.patchFlag&16;const N=u.props||pe,V=h.props||pe;let G;if(g&&Mt(g,!1),(G=V.onVnodeBeforeUpdate)&&Ze(G,g,h,u),W&&At(h,u,g,"beforeUpdate"),g&&Mt(g,!0),S&&(!u.dynamicChildren||u.dynamicChildren.length!==S.length)&&(C=0,O=!1,S=null),(N.innerHTML&&V.innerHTML==null||N.textContent&&V.textContent==null)&&c(M,""),S?Z(u.dynamicChildren,S,M,g,b,xs(h,_),v):O||K(u,h,M,null,g,b,xs(h,_),v,!1),C>0){if(C&16)B(M,N,V,g,_);else if(C&2&&N.class!==V.class&&o(M,"class",null,V.class,_),C&4&&o(M,"style",N.style,V.style,_),C&8){const se=h.dynamicProps;for(let de=0;de{G&&Ze(G,g,h,u),W&&At(h,u,g,"updated")},b)},Z=(u,h,g,b,_,v,O)=>{for(let M=0;M{if(h!==g){if(h!==pe)for(const v in h)!rn(v)&&!(v in g)&&o(u,v,h[v],null,_,b);for(const v in g){if(rn(v))continue;const O=g[v],M=h[v];O!==M&&v!=="value"&&o(u,v,M,O,_,b)}"value"in g&&o(u,"value",h.value,g.value,_)}},X=(u,h,g,b,_,v,O,M,C)=>{const S=h.el=u?u.el:l(""),W=h.anchor=u?u.anchor:l("");let{patchFlag:N,dynamicChildren:V,slotScopeIds:G}=h;G&&(M=M?M.concat(G):G),u==null?(s(S,g,b),s(W,g,b),j(h.children||[],g,W,_,v,O,M,C)):N>0&&N&64&&V&&u.dynamicChildren&&u.dynamicChildren.length===V.length?(Z(u.dynamicChildren,V,g,_,v,O,M),(h.key!=null||_&&h===_.subTree)&&ai(u,h,!0)):K(u,h,g,W,_,v,O,M,C)},me=(u,h,g,b,_,v,O,M,C)=>{h.slotScopeIds=M,u==null?h.shapeFlag&512?_.ctx.activate(h,g,b,O,C):Ne(h,g,b,_,v,O,C):je(u,h,C)},Ne=(u,h,g,b,_,v,O)=>{const M=u.component=Ia(u,b,_);if(tr(u)&&(M.ctx.renderer=H),Na(M,!1,O),M.asyncDep){if(_&&_.registerDep(M,ce,O),!u.el){const C=M.subTree=Y(yt);D(null,C,h,g),u.placeholder=C.el}}else ce(M,u,h,g,_,v,O)},je=(u,h,g)=>{const b=h.component=u.component;if(ga(u,h,g))if(b.asyncDep&&!b.asyncResolved){q(b,h,g);return}else b.next=h,b.update();else h.el=u.el,b.vnode=h},ce=(u,h,g,b,_,v,O)=>{const M=()=>{if(u.isMounted){let{next:N,bu:V,u:G,parent:se,vnode:de}=u;{const Qe=ci(u);if(Qe){N&&(N.el=de.el,q(u,N,O)),Qe.asyncDep.then(()=>{Le(()=>{u.isUnmounted||S()},_)});return}}let fe=N,we;Mt(u,!1),N?(N.el=de.el,q(u,N,O)):N=de,V&&hs(V),(we=N.props&&N.props.onVnodeBeforeUpdate)&&Ze(we,se,N,de),Mt(u,!0);const ke=Cr(u),Ye=u.subTree;u.subTree=ke,E(Ye,ke,d(Ye.el),x(Ye),u,_,v),N.el=ke.el,fe===null&&ma(u,ke.el),G&&Le(G,_),(we=N.props&&N.props.onVnodeUpdated)&&Le(()=>Ze(we,se,N,de),_)}else{let N;const{el:V,props:G}=h,{bm:se,m:de,parent:fe,root:we,type:ke}=u,Ye=cn(h);Mt(u,!1),se&&hs(se),!Ye&&(N=G&&G.onVnodeBeforeMount)&&Ze(N,fe,h),Mt(u,!0);{we.ce&&we.ce._hasShadowRoot()&&we.ce._injectChildStyle(ke,u.parent?u.parent.type:void 0);const Qe=u.subTree=Cr(u);E(null,Qe,g,b,u,_,v),h.el=Qe.el}if(de&&Le(de,_),!Ye&&(N=G&&G.onVnodeMounted)){const Qe=h;Le(()=>Ze(N,fe,Qe),_)}(h.shapeFlag&256||fe&&cn(fe.vnode)&&fe.vnode.shapeFlag&256)&&u.a&&Le(u.a,_),u.isMounted=!0,h=g=b=null}};u.scope.on();const C=u.effect=new xo(M);u.scope.off();const S=u.update=C.run.bind(C),W=u.job=C.runIfDirty.bind(C);W.i=u,W.id=u.uid,C.scheduler=()=>Zs(W),Mt(u,!0),S()},q=(u,h,g)=>{h.component=u;const b=u.vnode.props;u.vnode=h,u.next=null,va(u,h.props,b,g),wa(u,h.children,g),pt(),br(u),gt()},K=(u,h,g,b,_,v,O,M,C=!1)=>{const S=u&&u.children,W=u?u.shapeFlag:0,N=h.children,{patchFlag:V,shapeFlag:G}=h;if(V>0){if(V&128){xt(S,N,g,b,_,v,O,M,C);return}else if(V&256){lt(S,N,g,b,_,v,O,M,C);return}}G&8?(W&16&&He(S,_,v),N!==S&&c(g,N)):W&16?G&16?xt(S,N,g,b,_,v,O,M,C):He(S,_,v,!0):(W&8&&c(g,""),G&16&&j(N,g,b,_,v,O,M,C))},lt=(u,h,g,b,_,v,O,M,C)=>{u=u||Gt,h=h||Gt;const S=u.length,W=h.length,N=Math.min(S,W);let V;for(V=0;VW?He(u,_,v,!0,!1,N):j(h,g,b,_,v,O,M,C,N)},xt=(u,h,g,b,_,v,O,M,C)=>{let S=0;const W=h.length;let N=u.length-1,V=W-1;for(;S<=N&&S<=V;){const G=u[S],se=h[S]=C?ft(h[S]):st(h[S]);if(en(G,se))E(G,se,g,null,_,v,O,M,C);else break;S++}for(;S<=N&&S<=V;){const G=u[N],se=h[V]=C?ft(h[V]):st(h[V]);if(en(G,se))E(G,se,g,null,_,v,O,M,C);else break;N--,V--}if(S>N){if(S<=V){const G=V+1,se=GV)for(;S<=N;)De(u[S],_,v,!0),S++;else{const G=S,se=S,de=new Map;for(S=se;S<=V;S++){const Fe=h[S]=C?ft(h[S]):st(h[S]);Fe.key!=null&&de.set(Fe.key,S)}let fe,we=0;const ke=V-se+1;let Ye=!1,Qe=0;const Xt=new Array(ke);for(S=0;S=ke){De(Fe,_,v,!0);continue}let Xe;if(Fe.key!=null)Xe=de.get(Fe.key);else for(fe=se;fe<=V;fe++)if(Xt[fe-se]===0&&en(Fe,h[fe])){Xe=fe;break}Xe===void 0?De(Fe,_,v,!0):(Xt[Xe-se]=S+1,Xe>=Qe?Qe=Xe:Ye=!0,E(Fe,h[Xe],g,null,_,v,O,M,C),we++)}const fr=Ye?Ra(Xt):Gt;for(fe=fr.length-1,S=ke-1;S>=0;S--){const Fe=se+S,Xe=h[Fe],dr=h[Fe+1],hr=Fe+1{const{el:v,type:O,transition:M,children:C,shapeFlag:S}=u;if(S&6){Je(u.component.subTree,h,g,b);return}if(S&128){u.suspense.move(h,g,b);return}if(S&64){O.move(u,h,g,H);return}if(O===_e){s(v,h,g);for(let N=0;NM.enter(v),_));else{const{leave:N,delayLeave:V,afterLeave:G}=M,se=()=>{u.ctx.isUnmounted?r(v):s(v,h,g)},de=()=>{const fe=v._isLeaving||!!v[vs];v._isLeaving&&v[vs](!0),M.persisted&&!fe?se():N(v,()=>{se(),G&&G()})};V?V(v,se,de):de()}else s(v,h,g)},De=(u,h,g,b=!1,_=!1)=>{const{type:v,props:O,ref:M,children:C,dynamicChildren:S,shapeFlag:W,patchFlag:N,dirs:V,cacheIndex:G,memo:se}=u;if(N===-2&&(_=!1),M!=null&&(pt(),an(M,null,g,u,!0),gt()),G!=null&&(h.renderCache[G]=void 0),W&256){h.ctx.deactivate(u);return}const de=W&1&&V,fe=!cn(u);let we;if(fe&&(we=O&&O.onVnodeBeforeUnmount)&&Ze(we,h,u),W&6)Ct(u.component,g,b);else{if(W&128){u.suspense.unmount(g,b);return}de&&At(u,null,h,"beforeUnmount"),W&64?u.type.remove(u,h,g,H,b):S&&!S.hasOnce&&(v!==_e||N>0&&N&64)?He(S,h,g,!1,!0):(v===_e&&N&384||!_&&W&16)&&He(C,h,g),b&&$t(u)}const ke=se!=null&&G==null;(fe&&(we=O&&O.onVnodeUnmounted)||de||ke)&&Le(()=>{we&&Ze(we,h,u),de&&At(u,null,h,"unmounted"),ke&&(u.el=null)},g)},$t=u=>{const{type:h,el:g,anchor:b,transition:_}=u;if(h===_e){Ht(g,b);return}if(h===_s){R(u);return}const v=()=>{r(g),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(u.shapeFlag&1&&_&&!_.persisted){const{leave:O,delayLeave:M}=_,C=()=>O(g,v);M?M(u.el,v,C):C()}else v()},Ht=(u,h)=>{let g;for(;u!==h;)g=p(u),r(u),u=g;r(h)},Ct=(u,h,g)=>{const{bum:b,scope:_,job:v,subTree:O,um:M,m:C,a:S}=u;Tr(C),Tr(S),b&&hs(b),_.stop(),v&&(v.flags|=8,De(O,u,h,g)),M&&Le(M,h),Le(()=>{u.isUnmounted=!0},h)},He=(u,h,g,b=!1,_=!1,v=0)=>{for(let O=v;O{if(u.shapeFlag&6)return x(u.component.subTree);if(u.shapeFlag&128)return u.suspense.next();const h=p(u.anchor||u.el),g=h&&h[Hl];return g?p(g):h};let L=!1;const P=(u,h,g)=>{let b;u==null?h._vnode&&(De(h._vnode,null,null,!0),b=h._vnode.component):E(h._vnode||null,u,h,null,null,null,g),h._vnode=u,L||(L=!0,br(b),Bo(),L=!1)},H={p:E,um:De,m:Je,r:$t,mt:Ne,mc:j,pc:K,pbc:Z,n:x,o:e};return{render:P,hydrate:void 0,createApp:ca(P)}}function xs({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 Mt({effect:e,job:t},n){n?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function ka(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function ai(e,t,n=!1){const s=e.children,r=t.children;if(U(s)&&U(r))for(let o=0;o>1,e[n[l]]0&&(t[s]=n[o-1]),n[o]=s)}}for(o=n.length,i=n[o-1];o-- >0;)n[o]=i,i=t[i];return n}function ci(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:ci(t)}function Tr(e){if(e)for(let t=0;te.__isSuspense;function Ca(e,t){t&&t.pendingBranch?U(e)?t.effects.push(...e):t.effects.push(e):Dl(e)}const _e=Symbol.for("v-fgt"),cs=Symbol.for("v-txt"),yt=Symbol.for("v-cmt"),_s=Symbol.for("v-stc"),Dt=[];let Be=null;function J(e=!1){Dt.push(Be=e?null:[])}function di(){Dt.pop(),Be=Dt[Dt.length-1]||null}let vn=1;function Un(e,t=!1){vn+=e,e<0&&Be&&t&&(Be.hasOnce=!0)}function hi(e){return e.dynamicChildren=vn>0?Be||Gt:null,di(),vn>0&&Be&&Be.push(e),e}function ee(e,t,n,s,r,o){return hi(y(e,t,n,s,r,o,!0))}function jt(e,t,n,s,r){return hi(Y(e,t,n,s,r,!0))}function Gn(e){return e?e.__v_isVNode===!0:!1}function en(e,t){return e.type===t.type&&e.key===t.key}const pi=({key:e})=>e??null,jn=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?ve(e)||xe(e)||z(e)?{i:Ke,r:e,k:t,f:!!n}:e:null);function y(e,t=null,n=null,s=0,r=null,o=e===_e?0:1,i=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&pi(t),ref:t&&jn(t),scopeId:Ho,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:s,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ke};return l?(qn(a,n),o&128&&e.normalize(a)):n&&(a.shapeFlag|=ve(n)?8:16),vn>0&&!i&&Be&&(a.patchFlag>0||o&6)&&a.patchFlag!==32&&Be.push(a),a}const Y=Aa;function Aa(e,t=null,n=null,s=0,r=null,o=!1){if((!e||e===zo)&&(e=yt),Gn(e)){const l=Jt(e,t,!0);return n&&qn(l,n),vn>0&&!o&&Be&&(l.shapeFlag&6?Be[Be.indexOf(e)]=l:Be.push(l)),l.patchFlag=-2,l}if(Ba(e)&&(e=e.__vccOpts),t){t=Ma(t);let{class:l,style:a}=t;l&&!ve(l)&&(t.class=Me(l)),ue(a)&&(rs(a)&&!U(a)&&(a=Re({},a)),t.style=Lt(a))}const i=ve(e)?1:fi(e)?128:is(e)?64:ue(e)?4:z(e)?2:0;return y(e,t,n,s,r,i,o,!0)}function Ma(e){return e?rs(e)||ni(e)?Re({},e):e:null}function Jt(e,t,n=!1,s=!1){const{props:r,ref:o,patchFlag:i,children:l,transition:a}=e,f=t?Ta(r||{},t):r,c={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&pi(f),ref:t&&t.ref?n&&o?U(o)?o.concat(jn(t)):[o,jn(t)]:jn(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==_e?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Jt(e.ssContent),ssFallback:e.ssFallback&&Jt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return a&&s&&er(c,a.clone(c)),c}function bn(e=" ",t=0){return Y(cs,null,e,t)}function vt(e="",t=!1){return t?(J(),jt(yt,null,e)):Y(yt,null,e)}function st(e){return e==null||typeof e=="boolean"?Y(yt):U(e)?Y(_e,null,e.slice()):Gn(e)?ft(e):Y(cs,null,String(e))}function ft(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Jt(e)}function qn(e,t){let n=0;const{shapeFlag:s}=e;if(t==null)t=null;else if(U(t))n=16;else if(typeof t=="object")if(s&65){const r=t.default;r&&(r._c&&(r._d=!1),qn(e,r()),r._c&&(r._d=!0));return}else{n=32;const r=t._;!r&&!ni(t)?t._ctx=Ke:r===3&&Ke&&(Ke.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else if(z(t)){if(s&65){qn(e,{default:t});return}t={default:t,_ctx:Ke},n=32}else t=String(t),s&64?(n=16,t=[bn(t)]):n=8;e.children=t,e.shapeFlag|=n}function Ta(...e){const t={};for(let n=0;nAe||Ke;let zn,xn;{const e=ts(),t=(n,s)=>{let r;return(r=e[n])||(r=e[n]=[]),r.push(s),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};zn=t("__VUE_INSTANCE_SETTERS__",n=>Ae=n),xn=t("__VUE_SSR_SETTERS__",n=>_n=n)}const An=e=>{const t=Ae;return zn(e),e.scope.on(),()=>{e.scope.off(),zn(t)}},Or=()=>{Ae&&Ae.scope.off(),zn(null)};function mi(e){return e.vnode.shapeFlag&4}let _n=!1;function Na(e,t=!1,n=!1){t&&xn(t);const{props:s,children:r}=e.vnode,o=mi(e);ya(e,s,o,t),_a(e,r,n||t);const i=o?Da(e,t):void 0;return t&&xn(!1),i}function Da(e,t){const n=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,na);const{setup:s}=n;if(s){pt();const r=e.setupContext=s.length>1?ja(e):null,o=An(e),i=Cn(s,e,0,[e.props,r]),l=co(i);if(gt(),o(),(l||e.sp)&&!cn(e)&&Uo(e),l){if(i.then(Or,Or),t)return i.then(a=>{xn(!0);try{Pr(e,a,t)}finally{xn(!1)}}).catch(a=>{os(a,e,0)});e.asyncDep=i}else Pr(e,i)}else yi(e)}function Pr(e,t,n){z(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:ue(t)&&(e.setupState=Lo(t)),yi(e)}function yi(e,t,n){const s=e.type;e.render||(e.render=s.render||ot);{const r=An(e);pt();try{sa(e)}finally{gt(),r()}}}const La={get(e,t){return Ce(e,"get",""),e[t]}};function ja(e){const t=n=>{e.exposed=n||{}};return{attrs:new Proxy(e.attrs,La),slots:e.slots,emit:e.emit,expose:t}}function ir(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Lo(Xs(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in un)return un[n](e)},has(t,n){return n in t||n in un}})):e.proxy}function Fa(e,t=!0){return z(e)?e.displayName||e.name:e.name||t&&e.__name}function Ba(e){return z(e)&&"__vccOpts"in e}const ye=(e,t)=>Tl(e,t,_n);function wn(e,t,n){try{Un(-1);const s=arguments.length;return s===2?ue(t)&&!U(t)?Gn(t)?Y(e,null,[t]):Y(e,t):Y(e,null,t):(s>3?n=Array.prototype.slice.call(arguments,2):s===3&&Gn(n)&&(n=[n]),Y(e,t,n))}finally{Un(1)}}const $a="3.5.42";/** * @vue/runtime-dom v3.5.42 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT **/let js;const Ir=typeof window<"u"&&window.trustedTypes;if(Ir)try{js=Ir.createPolicy("vue",{createHTML:e=>e})}catch{}const vi=js?e=>js.createHTML(e):e=>e,Ha="http://www.w3.org/2000/svg",Va="http://www.w3.org/1998/Math/MathML",ut=typeof document<"u"?document:null,Nr=ut&&ut.createElement("template"),Wa={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,s)=>{const r=t==="svg"?ut.createElementNS(Ha,e):t==="mathml"?ut.createElementNS(Va,e):n?ut.createElement(e,{is:n}):ut.createElement(e);return e==="select"&&s&&s.multiple!=null&&r.setAttribute("multiple",s.multiple),r},createText:e=>ut.createTextNode(e),createComment:e=>ut.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>ut.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,n,s,r,o){const i=n?n.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),n),!(r===o||!(r=r.nextSibling)););else{Nr.innerHTML=vi(s==="svg"?`${e}`:s==="mathml"?`${e}`:e);const l=Nr.content;if(s==="svg"||s==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}t.insertBefore(l,n)}return[i?i.nextSibling:t.firstChild,n?n.previousSibling:t.lastChild]}},Ka=Symbol("_vtc");function Ua(e,t,n){const s=e[Ka];s&&(t=(t?[t,...s]:[...s]).join(" ")),t==null?e.removeAttribute("class"):n?e.setAttribute("class",t):e.className=t}const Dr=Symbol("_vod"),Ga=Symbol("_vsh"),qa=Symbol(""),za=/(?:^|;)\s*display\s*:/;function Ja(e,t,n){const s=e.style,r=ve(n);let o=!1;if(n&&!r){if(t)if(ve(t))for(const i of t.split(";")){const l=i.slice(0,i.indexOf(":")).trim();n[l]==null&&sn(s,l,"")}else for(const i in t)n[i]==null&&sn(s,i,"");for(const i in n){i==="display"&&(o=!0);const l=n[i];l!=null?Qa(e,i,!ve(t)&&t?t[i]:void 0,l)||sn(s,i,l):sn(s,i,"")}}else if(r){if(t!==n){const i=s[qa];i&&(n+=";"+i),s.cssText=n,o=za.test(n)}}else t&&e.removeAttribute("style");Dr in e&&(e[Dr]=o?s.display:"",e[Ga]&&(s.display="none"))}const In=/\s*!important$/;function sn(e,t,n){if(U(n))n.forEach(s=>sn(e,t,s));else if(n==null&&(n=""),t.startsWith("--"))In.test(n)?e.setProperty(t,n.replace(In,""),"important"):e.setProperty(t,n);else{const s=Ya(e,t);In.test(n)?e.setProperty(Ft(s),n.replace(In,""),"important"):e[s]=n}}const Lr=["Webkit","Moz","ms"],ws={};function Ya(e,t){const n=ws[t];if(n)return n;let s=Ie(t);if(s!=="filter"&&s in e)return ws[t]=s;s=es(s);for(let r=0;rSs||(rc.then(()=>Ss=0),Ss=Date.now());function ic(e,t){const n=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=n.attached)return;const r=n.value;if(U(r)){const o=s.stopImmediatePropagation;s.stopImmediatePropagation=()=>{o.call(s),s._stopped=!0};const i=r.slice(),l=[s];for(let a=0;ae.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,lc=(e,t,n,s,r,o)=>{const i=r==="svg";t==="class"?Ua(e,s,i):t==="style"?Ja(e,n,s):Yn(t)?Qn(t)||ec(e,t,n,s,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):ac(e,t,s,i))?(Br(e,t,s),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Fr(e,t,s,i,o,t!=="value")):e._isVueCE&&(cc(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ve(s)))?Br(e,Ie(t),s,o,t):(t==="true-value"?e._trueValue=s:t==="false-value"&&(e._falseValue=s),Fr(e,t,s,i))};function ac(e,t,n,s){if(s)return!!(t==="innerHTML"||t==="textContent"||t in e&&Hr(t)&&z(n));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Hr(t)&&ve(n)?!1:t in e}function cc(e,t){const n=e._def.props;if(!n)return!1;const s=Ie(t);return Array.isArray(n)?n.some(r=>Ie(r)===s):Object.keys(n).some(r=>Ie(r)===s)}const uc=["ctrl","shift","alt","meta"],fc={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)=>uc.some(n=>e[`${n}Key`]&&!t.includes(n))},dc=(e,t)=>{if(!e)return e;const n=e._withMods||(e._withMods={}),s=t.join(".");return n[s]||(n[s]=((r,...o)=>{for(let i=0;i{const t=pc().createApp(...e),{mount:n}=t;return t.mount=s=>{const r=yc(s);if(!r)return;const o=t._component;!z(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=n(r,!1,mc(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t});function mc(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function yc(e){return ve(e)?document.querySelector(e):e}/*! * pinia v3.0.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */let bi;const us=e=>bi=e,xi=Symbol();function Fs(e){return e&&typeof e=="object"&&Object.prototype.toString.call(e)==="[object Object]"&&typeof e.toJSON!="function"}var fn;(function(e){e.direct="direct",e.patchObject="patch object",e.patchFunction="patch function"})(fn||(fn={}));function vc(){const e=vo(!0),t=e.run(()=>re({}));let n=[],s=[];const r=Xs({install(o){us(r),r._a=o,o.provide(xi,r),o.config.globalProperties.$pinia=r,s.forEach(i=>n.push(i)),s=[]},use(o){return this._a?n.push(o):s.push(o),this},_p:n,_a:null,_e:e,_s:new Map,state:t});return r}const _i=()=>{};function Wr(e,t,n,s=_i){e.add(t);const r=()=>{e.delete(t)&&s()};return!n&&bo()&&rl(r),r}function Wt(e,...t){e.forEach(n=>{n(...t)})}const bc=e=>e(),Kr=Symbol(),Es=Symbol();function Bs(e,t){e instanceof Map&&t instanceof Map?t.forEach((n,s)=>e.set(s,n)):e instanceof Set&&t instanceof Set&&t.forEach(e.add,e);for(const n in t){if(!t.hasOwnProperty(n))continue;const s=t[n],r=e[n];Fs(r)&&Fs(s)&&e.hasOwnProperty(n)&&!xe(s)&&!ht(s)?e[n]=Bs(r,s):e[n]=s}return e}const xc=Symbol();function _c(e){return!Fs(e)||!Object.prototype.hasOwnProperty.call(e,xc)}const{assign:wt}=Object;function wc(e){return!!(xe(e)&&e.effect)}function Sc(e,t,n,s){const{state:r,actions:o,getters:i}=t,l=n.state.value[e];let a;function f(){l||(n.state.value[e]=r?r():{});const c=Rl(n.state.value[e]);return wt(c,o,Object.keys(i||{}).reduce((d,p)=>(d[p]=Xs(ye(()=>{us(n);const m=n._s.get(e);return i[p].call(m,m)})),d),{}))}return a=wi(e,f,t,n,s,!0),a}function wi(e,t,n={},s,r,o){let i;const l=wt({actions:{}},n),a={deep:!0};let f,c,d=new Set,p=new Set,m;const w=s.state.value[e];!o&&!w&&(s.state.value[e]={});let E;function T(j){let $;f=c=!1,typeof j=="function"?(j(s.state.value[e]),$={type:fn.patchFunction,storeId:e,events:m}):(Bs(s.state.value[e],j),$={type:fn.patchObject,payload:j,storeId:e,events:m});const Z=E=Symbol();mn().then(()=>{E===Z&&(f=!0)}),c=!0,Wt(d,$,s.state.value[e])}const D=o?function(){const{state:$}=n,Z=$?$():{};this.$patch(B=>{wt(B,Z)})}:_i;function A(){i.stop(),d.clear(),p.clear(),s._s.delete(e)}const I=(j,$="")=>{if(Kr in j)return j[Es]=$,j;const Z=function(){us(s);const B=Array.from(arguments),X=new Set,me=new Set;function Ne(q){X.add(q)}function je(q){me.add(q)}Wt(p,{args:B,name:Z[Es],store:F,after:Ne,onError:je});let ce;try{ce=j.apply(this&&this.$id===e?this:F,B)}catch(q){throw Wt(me,q),q}return ce instanceof Promise?ce.then(q=>(Wt(X,q),q)).catch(q=>(Wt(me,q),Promise.reject(q))):(Wt(X,ce),ce)};return Z[Kr]=!0,Z[Es]=$,Z},R={_p:s,$id:e,$onAction:Wr.bind(null,p),$patch:T,$reset:D,$subscribe(j,$={}){const Z=Wr(d,j,$.detached,()=>B()),B=i.run(()=>It(()=>s.state.value[e],X=>{($.flush==="sync"?c:f)&&j({storeId:e,type:fn.direct,events:m},X)},wt({},a,$)));return Z},$dispose:A},F=Rn(R);s._s.set(e,F);const Q=(s._a&&s._a.runWithContext||bc)(()=>s._e.run(()=>(i=vo()).run(()=>t({action:I}))));for(const j in Q){const $=Q[j];if(xe($)&&!wc($)||ht($))o||(w&&_c($)&&(xe($)?$.value=w[j]:Bs($,w[j])),s.state.value[e][j]=$);else if(typeof $=="function"){const Z=I($,j);Q[j]=Z,l.actions[j]=$}}return wt(F,Q),wt(ie(F),Q),Object.defineProperty(F,"$state",{get:()=>s.state.value[e],set:j=>{T($=>{wt($,j)})}}),s._p.forEach(j=>{wt(F,i.run(()=>j({store:F,app:s._a,pinia:s,options:l})))}),w&&o&&n.hydrate&&n.hydrate(F.$state,w),f=!0,c=!0,F}/*! #__NO_SIDE_EFFECTS__ */function Si(e,t,n){let s;const r=typeof t=="function";s=r?n:t;function o(i,l){const a=jl();return i=i||(a?it(xi,null):null),i&&us(i),i=bi,i._s.has(e)||(r?wi(e,t,s,i):Sc(e,s,i)),i._s.get(e)}return o.$id=e,o}/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */const Ut=typeof document<"u";function Ei(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function Ec(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&Ei(e.default)}const le=Object.assign;function ks(e,t){const n={};for(const s in t){const r=t[s];n[s]=ze(r)?r.map(e):e(r)}return n}const dn=()=>{},ze=Array.isArray;function Ur(e,t){const n={};for(const s in e)n[s]=s in t?t[s]:e[s];return n}const ki=/#/g,kc=/&/g,Rc=/\//g,Cc=/=/g,Ac=/\?/g,Ri=/\+/g,Mc=/%5B/g,Tc=/%5D/g,Ci=/%5E/g,Oc=/%60/g,Ai=/%7B/g,Pc=/%7C/g,Mi=/%7D/g,Ic=/%20/g;function lr(e){return e==null?"":encodeURI(""+e).replace(Pc,"|").replace(Mc,"[").replace(Tc,"]")}function Nc(e){return lr(e).replace(Ai,"{").replace(Mi,"}").replace(Ci,"^")}function $s(e){return lr(e).replace(Ri,"%2B").replace(Ic,"+").replace(ki,"%23").replace(kc,"%26").replace(Oc,"`").replace(Ai,"{").replace(Mi,"}").replace(Ci,"^")}function Dc(e){return $s(e).replace(Cc,"%3D")}function Lc(e){return lr(e).replace(ki,"%23").replace(Ac,"%3F")}function jc(e){return Lc(e).replace(Rc,"%2F")}function Sn(e){if(e==null)return null;try{return decodeURIComponent(""+e)}catch{}return""+e}const Fc=/\/$/,Bc=e=>e.replace(Fc,"");function Rs(e,t,n="/"){let s,r={},o="",i="";const l=t.indexOf("#");let a=t.indexOf("?");return a=l>=0&&a>l?-1:a,a>=0&&(s=t.slice(0,a),o=t.slice(a,l>0?l:t.length),r=e(o.slice(1))),l>=0&&(s=s||t.slice(0,l),i=t.slice(l,t.length)),s=Wc(s??t,n),{fullPath:s+o+i,path:s,query:r,hash:Sn(i)}}function $c(e,t){const n=t.query?e(t.query):"";return t.path+(n&&"?")+n+(t.hash||"")}function Gr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function Hc(e,t,n){const s=t.matched.length-1,r=n.matched.length-1;return s>-1&&s===r&&Yt(t.matched[s],n.matched[r])&&Ti(t.params,n.params)&&e(t.query)===e(n.query)&&t.hash===n.hash}function Yt(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function Ti(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if(!Vc(e[n],t[n]))return!1;return!0}function Vc(e,t){return ze(e)?qr(e,t):ze(t)?qr(t,e):(e==null?void 0:e.valueOf())===(t==null?void 0:t.valueOf())}function qr(e,t){return ze(t)?e.length===t.length&&e.every((n,s)=>n===t[s]):e.length===1&&e[0]===t}function Wc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const n=t.split("/"),s=e.split("/"),r=s[s.length-1];(r===".."||r===".")&&s.push("");let o=n.length-1,i,l;for(i=0;i1&&o--;else break;return n.slice(0,o).join("/")+"/"+s.slice(i).join("/")}const _t={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};let Hs=(function(e){return e.pop="pop",e.push="push",e})({}),Cs=(function(e){return e.back="back",e.forward="forward",e.unknown="",e})({});function Kc(e){if(!e)if(Ut){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),Bc(e)}const Uc=/^[^#]+#/;function Gc(e,t){return e.replace(Uc,"#")+t}function qc(e,t){const n=document.documentElement.getBoundingClientRect(),s=e.getBoundingClientRect();return{behavior:t.behavior,left:s.left-n.left-(t.left||0),top:s.top-n.top-(t.top||0)}}const fs=()=>({left:window.scrollX,top:window.scrollY});function zc(e){let t;if("el"in e){const n=e.el,s=typeof n=="string"&&n.startsWith("#"),r=typeof n=="string"?s?document.getElementById(n.slice(1)):document.querySelector(n):n;if(!r)return;t=qc(r,e)}else t=e;"scrollBehavior"in document.documentElement.style?window.scrollTo(t):window.scrollTo(t.left!=null?t.left:window.scrollX,t.top!=null?t.top:window.scrollY)}function zr(e,t){return(history.state?history.state.position-t:-1)+e}const Vs=new Map;function Jc(e,t){Vs.set(e,t)}function Yc(e){const t=Vs.get(e);return Vs.delete(e),t}function Qc(e){return typeof e=="string"||e&&typeof e=="object"}function Oi(e){return typeof e=="string"||typeof e=="symbol"}let be=(function(e){return e[e.MATCHER_NOT_FOUND=1]="MATCHER_NOT_FOUND",e[e.NAVIGATION_GUARD_REDIRECT=2]="NAVIGATION_GUARD_REDIRECT",e[e.NAVIGATION_ABORTED=4]="NAVIGATION_ABORTED",e[e.NAVIGATION_CANCELLED=8]="NAVIGATION_CANCELLED",e[e.NAVIGATION_DUPLICATED=16]="NAVIGATION_DUPLICATED",e})({});const Pi=Symbol("");be.MATCHER_NOT_FOUND+"",be.NAVIGATION_GUARD_REDIRECT+"",be.NAVIGATION_ABORTED+"",be.NAVIGATION_CANCELLED+"",be.NAVIGATION_DUPLICATED+"";function Qt(e,t){return le(new Error,{type:e,[Pi]:!0},t)}function ct(e,t){return e instanceof Error&&Pi in e&&(t==null||!!(e.type&t))}const Xc=["params","query","hash"];function Zc(e){if(typeof e=="string")return e;if(e.path!=null)return e.path;const t={};for(const n of Xc)n in e&&(t[n]=e[n]);return JSON.stringify(t,null,2)}function eu(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let s=0;sr&&$s(r)):[s&&$s(s)]).forEach(r=>{r!==void 0&&(t+=(t.length?"&":"")+n,r!=null&&(t+="="+r))})}return t}function tu(e){const t={};for(const n in e){const s=e[n];s!==void 0&&(t[n]=ze(s)?s.map(r=>r==null?null:""+r):s==null?s:""+s)}return t}const nu=Symbol(""),Yr=Symbol(""),ar=Symbol(""),Ii=Symbol(""),Ws=Symbol("");function tn(){let e=[];function t(s){return e.push(s),()=>{const r=e.indexOf(s);r>-1&&e.splice(r,1)}}function n(){e=[]}return{add:t,list:()=>e.slice(),reset:n}}function Et(e,t,n,s,r,o=i=>i()){const i=s&&(s.enterCallbacks[r]=s.enterCallbacks[r]||[]);return()=>new Promise((l,a)=>{const f=p=>{p===!1?a(Qt(be.NAVIGATION_ABORTED,{from:n,to:t})):p instanceof Error?a(p):Qc(p)?a(Qt(be.NAVIGATION_GUARD_REDIRECT,{from:t,to:p})):(i&&s.enterCallbacks[r]===i&&typeof p=="function"&&i.push(p),l())},c=o(()=>e.call(s&&s.instances[r],t,n,f));let d=Promise.resolve(c);e.length<3&&(d=d.then(f)),d.catch(p=>a(p))})}function As(e,t,n,s,r=o=>o()){const o=[];for(const i of e)for(const l in i.components){let a=i.components[l];if(!(t!=="beforeRouteEnter"&&!i.instances[l]))if(Ei(a)){const f=(a.__vccOpts||a)[t];f&&o.push(Et(f,n,s,i,l,r))}else{let f=a();o.push(()=>f.then(c=>{if(!c)throw new Error(`Couldn't resolve component "${l}" at "${i.path}"`);const d=Ec(c)?c.default:c;i.mods[l]=c,i.components[l]=d;const p=(d.__vccOpts||d)[t];return p&&Et(p,n,s,i,l,r)()}))}}return o}function su(e,t){const n=[],s=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;iYt(f,l))?s.push(l):n.push(l));const a=e.matched[i];a&&(t.matched.find(f=>Yt(f,a))||r.push(a))}return[n,s,r]}/*! * vue-router v4.6.4 * (c) 2025 Eduardo San Martin Morote * @license MIT */let ru=()=>location.protocol+"//"+location.host;function Ni(e,t){const{pathname:n,search:s,hash:r}=t,o=e.indexOf("#");if(o>-1){let i=r.includes(e.slice(o))?e.slice(o).length:1,l=r.slice(i);return l[0]!=="/"&&(l="/"+l),Gr(l,"")}return Gr(n,e)+s+r}function ou(e,t,n,s){let r=[],o=[],i=null;const l=({state:p})=>{const m=Ni(e,location),w=n.value,E=t.value;let T=0;if(p){if(n.value=m,t.value=p,i&&i===w){i=null;return}T=E?p.position-E.position:0}else s(m);r.forEach(D=>{D(n.value,w,{delta:T,type:Hs.pop,direction:T?T>0?Cs.forward:Cs.back:Cs.unknown})})};function a(){i=n.value}function f(p){r.push(p);const m=()=>{const w=r.indexOf(p);w>-1&&r.splice(w,1)};return o.push(m),m}function c(){if(document.visibilityState==="hidden"){const{history:p}=window;if(!p.state)return;p.replaceState(le({},p.state,{scroll:fs()}),"")}}function d(){for(const p of o)p();o=[],window.removeEventListener("popstate",l),window.removeEventListener("pagehide",c),document.removeEventListener("visibilitychange",c)}return window.addEventListener("popstate",l),window.addEventListener("pagehide",c),document.addEventListener("visibilitychange",c),{pauseListeners:a,listen:f,destroy:d}}function Qr(e,t,n,s=!1,r=!1){return{back:e,current:t,forward:n,replaced:s,position:window.history.length,scroll:r?fs():null}}function iu(e){const{history:t,location:n}=window,s={value:Ni(e,n)},r={value:t.state};r.value||o(s.value,{back:null,current:s.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(a,f,c){const d=e.indexOf("#"),p=d>-1?(n.host&&document.querySelector("base")?e:e.slice(d))+a:ru()+e+a;try{t[c?"replaceState":"pushState"](f,"",p),r.value=f}catch(m){console.error(m),n[c?"replace":"assign"](p)}}function i(a,f){o(a,le({},t.state,Qr(r.value.back,a,r.value.forward,!0),f,{position:r.value.position}),!0),s.value=a}function l(a,f){const c=le({},r.value,t.state,{forward:a,scroll:fs()});o(c.current,c,!0),o(a,le({},Qr(s.value,a,null),{position:c.position+1},f),!1),s.value=a}return{location:s,state:r,push:l,replace:i}}function lu(e){e=Kc(e);const t=iu(e),n=ou(e,t.state,t.location,t.replace);function s(o,i=!0){i||n.pauseListeners(),history.go(o)}const r=le({location:"",base:e,go:s,createHref:Gc.bind(null,e)},t,n);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}let Ot=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.Group=2]="Group",e})({});var Se=(function(e){return e[e.Static=0]="Static",e[e.Param=1]="Param",e[e.ParamRegExp=2]="ParamRegExp",e[e.ParamRegExpEnd=3]="ParamRegExpEnd",e[e.EscapeNext=4]="EscapeNext",e})(Se||{});const au={type:Ot.Static,value:""},cu=/[a-zA-Z0-9_]/;function uu(e){if(!e)return[[]];if(e==="/")return[[au]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(m){throw new Error(`ERR (${n})/"${f}": ${m}`)}let n=Se.Static,s=n;const r=[];let o;function i(){o&&r.push(o),o=[]}let l=0,a,f="",c="";function d(){f&&(n===Se.Static?o.push({type:Ot.Static,value:f}):n===Se.Param||n===Se.ParamRegExp||n===Se.ParamRegExpEnd?(o.length>1&&(a==="*"||a==="+")&&t(`A repeatable param (${f}) must be alone in its segment. eg: '/:ids+.`),o.push({type:Ot.Param,value:f,regexp:c,repeatable:a==="*"||a==="+",optional:a==="*"||a==="?"})):t("Invalid state to consume buffer"),f="")}function p(){f+=a}for(;lt.length?t.length===1&&t[0]===Oe.Static+Oe.Segment?1:-1:0}function Di(e,t){let n=0;const s=e.score,r=t.score;for(;n0&&t[t.length-1]<0}const gu={strict:!1,end:!0,sensitive:!1};function mu(e,t,n){const s=hu(uu(e.path),n),r=le(s,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function yu(e,t){const n=[],s=new Map;t=Ur(gu,t);function r(d){return s.get(d)}function o(d,p,m){const w=!m,E=to(d);E.aliasOf=m&&m.record;const T=Ur(t,d),D=[E];if("alias"in d){const R=typeof d.alias=="string"?[d.alias]:d.alias;for(const F of R)D.push(to(le({},E,{components:m?m.record.components:E.components,path:F,aliasOf:m?m.record:E})))}let A,I;for(const R of D){const{path:F}=R;if(p&&F[0]!=="/"){const ne=p.record.path,Q=ne[ne.length-1]==="/"?"":"/";R.path=p.record.path+(F&&Q+F)}if(A=mu(R,p,T),m?m.alias.push(A):(I=I||A,I!==A&&I.alias.push(A),w&&d.name&&!no(A)&&i(d.name)),Li(A)&&a(A),E.children){const ne=E.children;for(let Q=0;Q{i(I)}:dn}function i(d){if(Oi(d)){const p=s.get(d);p&&(s.delete(d),n.splice(n.indexOf(p),1),p.children.forEach(i),p.alias.forEach(i))}else{const p=n.indexOf(d);p>-1&&(n.splice(p,1),d.record.name&&s.delete(d.record.name),d.children.forEach(i),d.alias.forEach(i))}}function l(){return n}function a(d){const p=xu(d,n);n.splice(p,0,d),d.record.name&&!no(d)&&s.set(d.record.name,d)}function f(d,p){let m,w={},E,T;if("name"in d&&d.name){if(m=s.get(d.name),!m)throw Qt(be.MATCHER_NOT_FOUND,{location:d});T=m.record.name,w=le(eo(p.params,m.keys.filter(I=>!I.optional).concat(m.parent?m.parent.keys.filter(I=>I.optional):[]).map(I=>I.name)),d.params&&eo(d.params,m.keys.map(I=>I.name))),E=m.stringify(w)}else if(d.path!=null)E=d.path,m=n.find(I=>I.re.test(E)),m&&(w=m.parse(E),T=m.record.name);else{if(m=p.name?s.get(p.name):n.find(I=>I.re.test(p.path)),!m)throw Qt(be.MATCHER_NOT_FOUND,{location:d,currentLocation:p});T=m.record.name,w=le({},p.params,d.params),E=m.stringify(w)}const D=[];let A=m;for(;A;)D.unshift(A.record),A=A.parent;return{name:T,path:E,params:w,matched:D,meta:bu(D)}}e.forEach(d=>o(d));function c(){n.length=0,s.clear()}return{addRoute:o,resolve:f,removeRoute:i,clearRoutes:c,getRoutes:l,getRecordMatcher:r}}function eo(e,t){const n={};for(const s of t)s in e&&(n[s]=e[s]);return n}function to(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:vu(e),children:e.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in e?e.components||null:e.component&&{default:e.component}};return Object.defineProperty(t,"mods",{value:{}}),t}function vu(e){const t={},n=e.props||!1;if("component"in e)t.default=n;else for(const s in e.components)t[s]=typeof n=="object"?n[s]:n;return t}function no(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function bu(e){return e.reduce((t,n)=>le(t,n.meta),{})}function xu(e,t){let n=0,s=t.length;for(;n!==s;){const o=n+s>>1;Di(e,t[o])<0?s=o:n=o+1}const r=_u(e);return r&&(s=t.lastIndexOf(r,s-1)),s}function _u(e){let t=e;for(;t=t.parent;)if(Li(t)&&Di(e,t)===0)return t}function Li({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function so(e){const t=it(ar),n=it(Ii),s=ye(()=>{const a=k(e.to);return t.resolve(a)}),r=ye(()=>{const{matched:a}=s.value,{length:f}=a,c=a[f-1],d=n.matched;if(!c||!d.length)return-1;const p=d.findIndex(Yt.bind(null,c));if(p>-1)return p;const m=ro(a[f-2]);return f>1&&ro(c)===m&&d[d.length-1].path!==m?d.findIndex(Yt.bind(null,a[f-2])):p}),o=ye(()=>r.value>-1&&Ru(n.params,s.value.params)),i=ye(()=>r.value>-1&&r.value===n.matched.length-1&&Ti(n.params,s.value.params));function l(a={}){if(ku(a)){const f=t[k(e.replace)?"replace":"push"](k(e.to)).catch(dn);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>f),f}return Promise.resolve()}return{route:s,href:ye(()=>s.value.href),isActive:o,isExactActive:i,navigate:l}}function wu(e){return e.length===1?e[0]:e}const Su=We({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"},viewTransition:Boolean},useLink:so,setup(e,{slots:t}){const n=Rn(so(e)),{options:s}=it(ar),r=ye(()=>({[oo(e.activeClass,s.linkActiveClass,"router-link-active")]:n.isActive,[oo(e.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:n.isExactActive}));return()=>{const o=t.default&&wu(t.default(n));return e.custom?o:wn("a",{"aria-current":n.isExactActive?e.ariaCurrentValue:null,href:n.href,onClick:n.navigate,class:r.value},o)}}}),Eu=Su;function ku(e){if(!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)&&!e.defaultPrevented&&!(e.button!==void 0&&e.button!==0)){if(e.currentTarget&&e.currentTarget.getAttribute){const t=e.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(t))return}return e.preventDefault&&e.preventDefault(),!0}}function Ru(e,t){for(const n in t){const s=t[n],r=e[n];if(typeof s=="string"){if(s!==r)return!1}else if(!ze(r)||r.length!==s.length||s.some((o,i)=>o.valueOf()!==r[i].valueOf()))return!1}return!0}function ro(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const oo=(e,t,n)=>e??t??n,Cu=We({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:n}){const s=it(Ws),r=ye(()=>e.route||s.value),o=it(Yr,0),i=ye(()=>{let f=k(o);const{matched:c}=r.value;let d;for(;(d=c[f])&&!d.components;)f++;return f}),l=ye(()=>r.value.matched[i.value]);Ln(Yr,ye(()=>i.value+1)),Ln(nu,l),Ln(Ws,r);const a=re();return It(()=>[a.value,l.value,e.name],([f,c,d],[p,m,w])=>{c&&(c.instances[d]=f,m&&m!==c&&f&&f===p&&(c.leaveGuards.size||(c.leaveGuards=m.leaveGuards),c.updateGuards.size||(c.updateGuards=m.updateGuards))),f&&c&&(!m||!Yt(c,m)||!p)&&(c.enterCallbacks[d]||[]).forEach(E=>E(f))},{flush:"post"}),()=>{const f=r.value,c=e.name,d=l.value,p=d&&d.components[c];if(!p)return io(n.default,{Component:p,route:f});const m=d.props[c],w=m?m===!0?f.params:typeof m=="function"?m(f):m:null,T=wn(p,le({},w,t,{onVnodeUnmounted:D=>{D.component.isUnmounted&&(d.instances[c]=null)},ref:a}));return io(n.default,{Component:T,route:f})||T}}});function io(e,t){if(!e)return null;const n=e(t);return n.length===1?n[0]:n}const ji=Cu;function Au(e){const t=yu(e.routes,e),n=e.parseQuery||eu,s=e.stringifyQuery||Jr,r=e.history,o=tn(),i=tn(),l=tn(),a=Sl(_t);let f=_t;Ut&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const c=ks.bind(null,x=>""+x),d=ks.bind(null,jc),p=ks.bind(null,Sn);function m(x,L){let P,H;return Oi(x)?(P=t.getRecordMatcher(x),H=L):H=x,t.addRoute(H,P)}function w(x){const L=t.getRecordMatcher(x);L&&t.removeRoute(L)}function E(){return t.getRoutes().map(x=>x.record)}function T(x){return!!t.getRecordMatcher(x)}function D(x,L){if(L=le({},L||a.value),typeof x=="string"){const g=Rs(n,x,L.path),b=t.resolve({path:g.path},L),_=r.createHref(g.fullPath);return le(g,b,{params:p(b.params),hash:Sn(g.hash),redirectedFrom:void 0,href:_})}let P;if(x.path!=null)P=le({},x,{path:Rs(n,x.path,L.path).path});else{const g=le({},x.params);for(const b in g)g[b]==null&&delete g[b];P=le({},x,{params:d(g)}),L.params=d(L.params)}const H=t.resolve(P,L),te=x.hash||"";H.params=c(p(H.params));const u=$c(s,le({},x,{hash:Nc(te),path:H.path})),h=r.createHref(u);return le({fullPath:u,hash:te,query:s===Jr?tu(x.query):x.query||{}},H,{redirectedFrom:void 0,href:h})}function A(x){return typeof x=="string"?Rs(n,x,a.value.path):le({},x)}function I(x,L){if(f!==x)return Qt(be.NAVIGATION_CANCELLED,{from:L,to:x})}function R(x){return Q(x)}function F(x){return R(le(A(x),{replace:!0}))}function ne(x,L){const P=x.matched[x.matched.length-1];if(P&&P.redirect){const{redirect:H}=P;let te=typeof H=="function"?H(x,L):H;return typeof te=="string"&&(te=te.includes("?")||te.includes("#")?te=A(te):{path:te},te.params={}),le({query:x.query,hash:x.hash,params:te.path!=null?{}:x.params},te)}}function Q(x,L){const P=f=D(x),H=a.value,te=x.state,u=x.force,h=x.replace===!0,g=ne(P,H);if(g)return Q(le(A(g),{state:typeof g=="object"?le({},te,g.state):te,force:u,replace:h}),L||P);const b=P;b.redirectedFrom=L;let _;return!u&&Hc(s,H,P)&&(_=Qt(be.NAVIGATION_DUPLICATED,{to:b,from:H}),Je(H,H,!0,!1)),(_?Promise.resolve(_):Z(b,H)).catch(v=>ct(v)?ct(v,be.NAVIGATION_GUARD_REDIRECT)?v:xt(v):K(v,b,H)).then(v=>{if(v){if(ct(v,be.NAVIGATION_GUARD_REDIRECT))return Q(le({replace:h},A(v.to),{state:typeof v.to=="object"?le({},te,v.to.state):te,force:u}),L||b)}else v=X(b,H,!0,h,te);return B(b,H,v),v})}function j(x,L){const P=I(x,L);return P?Promise.reject(P):Promise.resolve()}function $(x){const L=Ht.values().next().value;return L&&typeof L.runWithContext=="function"?L.runWithContext(x):x()}function Z(x,L){let P;const[H,te,u]=su(x,L);P=As(H.reverse(),"beforeRouteLeave",x,L);for(const g of H)g.leaveGuards.forEach(b=>{P.push(Et(b,x,L))});const h=j.bind(null,x,L);return P.push(h),He(P).then(()=>{P=[];for(const g of o.list())P.push(Et(g,x,L));return P.push(h),He(P)}).then(()=>{P=As(te,"beforeRouteUpdate",x,L);for(const g of te)g.updateGuards.forEach(b=>{P.push(Et(b,x,L))});return P.push(h),He(P)}).then(()=>{P=[];for(const g of u)if(g.beforeEnter)if(ze(g.beforeEnter))for(const b of g.beforeEnter)P.push(Et(b,x,L));else P.push(Et(g.beforeEnter,x,L));return P.push(h),He(P)}).then(()=>(x.matched.forEach(g=>g.enterCallbacks={}),P=As(u,"beforeRouteEnter",x,L,$),P.push(h),He(P))).then(()=>{P=[];for(const g of i.list())P.push(Et(g,x,L));return P.push(h),He(P)}).catch(g=>ct(g,be.NAVIGATION_CANCELLED)?g:Promise.reject(g))}function B(x,L,P){l.list().forEach(H=>$(()=>H(x,L,P)))}function X(x,L,P,H,te){const u=I(x,L);if(u)return u;const h=L===_t,g=Ut?history.state:{};P&&(H||h?r.replace(x.fullPath,le({scroll:h&&g&&g.scroll},te)):r.push(x.fullPath,te)),a.value=x,Je(x,L,P,h),xt()}let me;function Ne(){me||(me=r.listen((x,L,P)=>{if(!Ct.listening)return;const H=D(x),te=ne(H,Ct.currentRoute.value);if(te){Q(le(te,{replace:!0,force:!0}),H).catch(dn);return}f=H;const u=a.value;Ut&&Jc(zr(u.fullPath,P.delta),fs()),Z(H,u).catch(h=>ct(h,be.NAVIGATION_ABORTED|be.NAVIGATION_CANCELLED)?h:ct(h,be.NAVIGATION_GUARD_REDIRECT)?(Q(le(A(h.to),{force:!0}),H).then(g=>{ct(g,be.NAVIGATION_ABORTED|be.NAVIGATION_DUPLICATED)&&!P.delta&&P.type===Hs.pop&&r.go(-1,!1)}).catch(dn),Promise.reject()):(P.delta&&r.go(-P.delta,!1),K(h,H,u))).then(h=>{h=h||X(H,u,!1),h&&(P.delta&&!ct(h,be.NAVIGATION_CANCELLED)?r.go(-P.delta,!1):P.type===Hs.pop&&ct(h,be.NAVIGATION_ABORTED|be.NAVIGATION_DUPLICATED)&&r.go(-1,!1)),B(H,u,h)}).catch(dn)}))}let je=tn(),ce=tn(),q;function K(x,L,P){xt(x);const H=ce.list();return H.length?H.forEach(te=>te(x,L,P)):console.error(x),Promise.reject(x)}function lt(){return q&&a.value!==_t?Promise.resolve():new Promise((x,L)=>{je.add([x,L])})}function xt(x){return q||(q=!x,Ne(),je.list().forEach(([L,P])=>x?P(x):L()),je.reset()),x}function Je(x,L,P,H){const{scrollBehavior:te}=e;if(!Ut||!te)return Promise.resolve();const u=!P&&Yc(zr(x.fullPath,0))||(H||!P)&&history.state&&history.state.scroll||null;return mn().then(()=>te(x,L,u)).then(h=>h&&zc(h)).catch(h=>K(h,x,L))}const De=x=>r.go(x);let $t;const Ht=new Set,Ct={currentRoute:a,listening:!0,addRoute:m,removeRoute:w,clearRoutes:t.clearRoutes,hasRoute:T,getRoutes:E,resolve:D,options:e,push:R,replace:F,go:De,back:()=>De(-1),forward:()=>De(1),beforeEach:o.add,beforeResolve:i.add,afterEach:l.add,onError:ce.add,isReady:lt,install(x){x.component("RouterLink",Eu),x.component("RouterView",ji),x.config.globalProperties.$router=Ct,Object.defineProperty(x.config.globalProperties,"$route",{enumerable:!0,get:()=>k(a)}),Ut&&!$t&&a.value===_t&&($t=!0,R(r.location).catch(H=>{}));const L={};for(const H in _t)Object.defineProperty(L,H,{get:()=>a.value[H],enumerable:!0});x.provide(ar,Ct),x.provide(Ii,No(L)),x.provide(Ws,a);const P=x.unmount;Ht.add(x),x.unmount=function(){Ht.delete(x),Ht.size<1&&(f=_t,me&&me(),me=null,a.value=_t,$t=!1,q=!1),P()}}};function He(x){return x.reduce((L,P)=>L.then(()=>$(P)),Promise.resolve())}return Ct}const lo=["the","be","to","of","and","a","in","that","have","i","it","for","not","on","with","he","as","you","do","at","this","but","his","by","from","they","we","say","her","she","or","an","will","my","one","all","would","there","their","what","so","up","out","if","about","who","get","which","go","me","when","make","can","like","time","no","just","him","know","take","people","into","year","your","good","some","could","them","see","other","than","then","now","look","only","come","its","over","think","also","back","after","use","two","how","our","work","first","well","way","even","new","want","because","any","these","give","day","most","us","is","was","are","been","has","had","were","said","did","having","may","should","call","world","over","school","still","try","last","ask","need","too","feel","three","state","never","become","between","high","really","something","most","another","much","family","own","out","leave","put","old","while","mean","keep","student","why","let","great","same","big","group","begin","seem","country","help","talk","where","turn","problem","every","start","hand","might","american","show","part","against","place","such","again","few","case","week","company","system","each","right","program","hear","question","during","play","government","run","small","number","off","always","move","night","live","point","believe","hold","today","bring","happen","next","without","before","large","million","must","home","under","water","room","write","mother","area","national","money","story","young","fact","month","different","lot","right","study","book","eye","job","word","though","business","issue","side","kind","four","head","far","black","long","both","little","house","yes","since","provide","service","around","friend","important","father","sit","away","until","power","hour","game","often","yet","line","political","end","among","ever","stand","bad","lose","however","member","pay","law","meet","car","city","almost","include","continue","set","later","community","much","name","five","once","white","least","president","learn","real","change","team","minute","best","several","idea","kid","body","information","nothing","ago","right","lead","social","understand","whether","back","watch","together","follow","around","parent","only","stop","face","anything","create","public","already","speak","others","read","level","allow","add","office","spend","door","health","person","art","sure","such","war","history","party","within","grow","result","open","change","morning","walk","reason","low","win","research","girl","guy","early","food","before","moment","himself","air","teacher","force","offer","enough","both","education","across","although","remember","foot","second","boy","maybe","toward","able","age","policy","everything","love","process","music","including","consider","appear","actually","buy","probably","human","wait","serve","market","die","send","expect","home","sense","build","stay","fall","oh","nation","plan","cut","college","interest","death","course","someone","experience","behind","reach","local","kill","six","remain","effect","use","yeah","suggest","class","control","raise","care","perhaps","little","late","hard","field","else","pass","former","sell","major","sometimes","require","along","development","themselves","report","role","better","economic","effort","up","decide","rate","strong","possible","heart","drug","show","leader","light","voice","wife","whole","police","mind","finally","pull","return","free","military","price","report","less","according","decision","explain","son","hope","even","develop","view","relationship","carry","town","road","drive","arm","true","federal","break","better","difference","thank","receive","value","international","building","action","full","model","join","season","society","because","tax","director","early","position","player","agree","especially","record","pick","wear","paper","special","space","ground","form","support","event","official","whose","matter","everyone","center","couple","site","end","project","hit","base","activity","star","table","need","court","produce","eat","american","teach","oil","half","situation","easy","cost","industry","figure","face","street","image","itself","phone","either","data","cover","quite","picture","clear","practice","piece","land","recent","describe","product","doctor","wall","patient","worker","news","test","movie","certain","north","love","personal","open","support","simply","third","technology","catch","step","baby","computer","type","attention","draw","film","tree","source","red","nearly","organization","choose","cause","hair","look","point","century","evidence","window","difficult","listen","soon","culture","billion","chance","brother","energy","period","course","summer","less","realize","hundred","available","plant","likely","opportunity","term","short","letter","condition","choice","place","single","rule","daughter","administration","south","husband","congress","floor","campaign","material","population","well","call","economy","medical","hospital","church","close","thousand","risk","current","fire","future","wrong","involve","defense","anyone","increase","security","bank","myself","certainly","west","sport","board","seek","per","subject","officer","private","rest","behavior","deal","performance","fight","throw","top","quickly","past","goal","second","bed","order","author","fill","represent","focus","foreign","drop","plan","blood","upon","agency","push","nature","color","no","recently","store","reduce","sound","note","fine","before","near","movement","page","enter","share","than","common","poor","other","natural","race","concern","series","significant","similar","hot","language","each","usually","response","dead","rise","animal","factor","decade","article","shoot","east","save","seven","artist","away","scene","stock","career","despite","central","eight","thus","treatment","beyond","happy","exactly","protect","approach","lie","size","dog","fund","serious","occur","media","ready","sign","thought","list","individual","simple","quality","pressure","accept","answer","hard","resource","identify","left","meeting","determine","prepare","disease","whatever","success","argue","cup","particularly","amount","ability","staff","recognize","indicate","character","growth","loss","degree","wonder","attack","herself","traditional","equipment","rock","standard","machine","glass","dinner","feel","deep","green","knowledge","despite","measure","station","strategy","truth","strong","modern","threat","charge","popular","radio","weapon","clean","size","discussion","manage","stay","section","support","card","protect","cell","interview","maintain","program","music","design","score","memory","benefit","evening","forward","ready","heavy","trouble","present","environment","travel","degree","blood","direction","source","smile","weight","financial","challenge","fight","growth","opportunity","reality","rich","safe","skill","speech","stage","task","vision","wonder","write","impact","improve","initial","journey","laugh","match","moment","motion","notion","option","peace","profit","pursue","reflect","reveal","silent","simple","stable","unique","update","useful","valid","vector","wander","wealth","wisdom","yield","zenith","bright","calm","dance","dream","energy","flavor","gentle","honest","island","jungle","knight","liquid","motion","native","orbit","planet","quench","rhythm","spirit","timber","urgent","velvet","whisper","stream","pulse"];function Nn(e=50){const t=[];for(let n=0;n{const e=re("classic"),t=re(60),n=re(Nn(80)),s=re(0),r=re(""),o=re([]),i=re(60),l=re(!1),a=re(!1);let f=null;const c=re(0),d=re(0),p=re(0),m=ye(()=>!l.value&&!a.value?100:Math.max(0,Math.min(100,i.value/t.value*100))),w=ye(()=>{const B=t.value-i.value;return B>0?B/60:1/60}),E=ye(()=>{if(!l.value&&!a.value)return 0;const B=c.value/5,X=Math.round(B/w.value);return isNaN(X)||X<0?0:X}),T=ye(()=>{if(!l.value&&!a.value)return 0;const B=p.value/5,X=Math.round(B/w.value);return isNaN(X)||X<0?0:X}),D=ye(()=>{if(p.value===0)return 100;const B=Math.round(c.value/p.value*100);return isNaN(B)?100:Math.max(0,Math.min(100,B))});function A(B,X){e.value=B,B==="classic"?t.value=60:X&&(t.value=X),Z()}function I(B){l.value||(t.value=B,Z())}function R(B=0){if(l.value)return;l.value=!0,a.value=!1,i.value=t.value;const X=Math.max(.05,.1*(1-B));f=window.setInterval(()=>{i.value>0?(i.value-=X,n.value.length-s.value<20&&n.value.push(...Nn(40))):ne()},100)}function F(B){i.value=Math.min(t.value+15,i.value+B)}function ne(){f&&(clearInterval(f),f=null),i.value=0,l.value=!1,a.value=!0}function Q(B,X=0){if(a.value)return;l.value||R(X);const Ne=(n.value[s.value]||"")[r.value.length];p.value++,B===Ne?c.value++:d.value++,r.value+=B}function j(){a.value||!l.value||r.value.length>0&&(r.value=r.value.slice(0,-1))}function $(B){if(a.value||!l.value||r.value.trim().length===0)return;const X=n.value[s.value]||"",me=r.value===X;p.value++,me?c.value++:d.value++,o.value.push({word:X,input:r.value,isCorrect:me}),B&&B(X,me,i.value),s.value++,r.value="",n.value.length-s.value<25&&n.value.push(...Nn(40))}function Z(B){f&&(clearInterval(f),f=null),B&&(t.value=B),l.value=!1,a.value=!1,i.value=t.value,n.value=Nn(80),s.value=0,r.value="",o.value=[],c.value=0,d.value=0,p.value=0}return{appMode:e,duration:t,words:n,currentWordIndex:s,currentInput:r,typedHistory:o,timeLeft:i,isRunning:l,isFinished:a,progressPercentage:m,correctKeystrokes:c,incorrectKeystrokes:d,totalKeystrokes:p,wpm:E,rawWpm:T,accuracy:D,setMode:A,setDuration:I,startTimer:R,addBonusTime:F,finishTest:ne,handleKey:Q,handleBackspace:j,handleSpace:$,resetTest:Z}}),Mu={class:"fixed top-0 left-0 w-full h-[3px] z-50 pointer-events-none bg-slate-900/60 overflow-hidden"},Tu=We({__name:"TopProgressBar",setup(e){const t=Bt();return(n,s)=>(J(),ee("div",Mu,[y("div",{class:Me(["h-full bg-gradient-to-r from-amber-500 via-amber-400 to-amber-300 transition-all duration-100 ease-linear shadow-[0_0_8px_rgba(245,158,11,0.6)]",{"opacity-0":!k(t).isRunning&&!k(t).isFinished}]),style:Lt({width:`${k(t).progressPercentage}%`})},null,6)]))}}),Ou=[{id:"hourglass",name:"Hourglass of Chronos",description:"Menekan percepatan waktu: timer berjalan 20% lebih lambat di setiap floor.",rarity:"rare",price:55,icon:"Hourglass",timeSlowPct:.2},{id:"coffee",name:"Overtime Espresso",description:"Setiap 5 combo kata benar menambah +2.5 detik ke timer.",rarity:"rare",price:50,icon:"Coffee",timeBonusPerCombo:2.5},{id:"pocket_watch",name:"Temporal Pocket Watch",description:"Memberikan tambahan waktu awal +6 detik di setiap floor baru.",rarity:"rare",price:45,icon:"Clock",startingTimeBonus:6},{id:"chronomancer_quill",name:"Chronomancer Nib",description:"Setiap mengetik kata benar tanpa typo menambah +0.4 detik ke sisa waktu.",rarity:"legendary",price:85,icon:"Sparkles",bonusTimeOnWord:.4},{id:"golden_quill",name:"Golden Quill",description:"Setiap combo streak memberi +35% score multiplier tambahan.",rarity:"common",price:35,icon:"Feather",scoreMultiplier:.35},{id:"scholars_glass",name:"Scholar's Monocle",description:"Kata dengan 7 huruf atau lebih bernilai 2.5x Score.",rarity:"rare",price:55,icon:"Glasses",longWordBonus:!0},{id:"adrenaline_rush",name:"Adrenaline Surge",description:"Saat sisa waktu di bawah 10 detik, semua skor menjadi 2.5x Multiplier!",rarity:"legendary",price:75,icon:"Zap",clutchMultiplier:!0},{id:"titan_stamp",name:"Titan Stamp",description:"Setiap kata yang diketik benar memberi flat +140 bonus score instan.",rarity:"common",price:40,icon:"Award",flatScorePerWord:140},{id:"alchemist_ink",name:"Alchemist Ink",description:"Mendapatkan +60% ekstra Gold dari setiap kata yang selesai sempurna.",rarity:"common",price:35,icon:"Coins",goldBonusPct:.6},{id:"correction_fluid",name:"Liquid Eraser",description:"Typo pertama pada setiap kata dimaafkan (combo streak tidak pernah putus).",rarity:"legendary",price:85,icon:"Shield",forgiveFirstError:!0}];function Pu(e,t=3){const n=Ou.filter(r=>!e.includes(r.id));return n.length<=t?n:[...n].sort(()=>Math.random()-.5).slice(0,t)}const Mn=Si("rogue",()=>{const e=re(1),t=re(0),n=re(30),s=re(0),r=re(0),o=re(0),i=re(!1),l=re(!1),a=re(!1),f=re([]),c=re([]),d=ye(()=>{const j=450+(e.value-1)*350;return e.value%5===0?Math.round(j*1.4):j}),p=ye(()=>{const $=e.value%5===0?Math.max(25,42-(e.value-1)*1.2):Math.max(18,35-(e.value-1)*1.5);return Math.round($+T.value.startingTimeBonus)}),m=ye(()=>{const j=1+(e.value-1)*.035;return Math.max(.6,j*(1-T.value.timeSlow))}),w=ye(()=>e.value%5===0),E=ye(()=>Math.min(100,Math.round(t.value/d.value*100))),T=ye(()=>{let j=0,$=0,Z=0,B=0,X=1,me=0,Ne=!1,je=!1,ce=!1,q=0;for(const K of f.value)K.timeSlowPct&&(j+=K.timeSlowPct),K.timeBonusPerCombo&&($+=K.timeBonusPerCombo),K.bonusTimeOnWord&&(Z+=K.bonusTimeOnWord),K.startingTimeBonus&&(B+=K.startingTimeBonus),K.scoreMultiplier&&(X+=K.scoreMultiplier),K.goldBonusPct&&(me+=K.goldBonusPct),K.forgiveFirstError&&(Ne=!0),K.longWordBonus&&(je=!0),K.clutchMultiplier&&(ce=!0),K.flatScorePerWord&&(q+=K.flatScorePerWord);return{timeSlow:j,comboTimeBonus:$,bonusTimeOnWord:Z,startingTimeBonus:B,scoreMult:X,goldBonus:me,forgiveError:Ne,longWordMult:je,clutchMult:ce,flatScore:q}});function D(j,$,Z){if(!(l.value||i.value))if($){s.value++,s.value>r.value&&(r.value=s.value),o.value++;let B=j.length*20;B+=T.value.flatScore,T.value.longWordMult&&j.length>=7&&(B=Math.round(B*2.5));const X=1+s.value*.08*T.value.scoreMult,me=T.value.clutchMult&&Z<10?2:1,Ne=Math.round(B*X*me);t.value+=Ne;const je=Math.max(2,Math.floor(j.length/2)),ce=Math.round(je*(1+T.value.goldBonus));n.value+=ce,t.value>=d.value&&!a.value&&A()}else T.value.forgiveError?s.value=Math.max(0,s.value-1):s.value=0}function A(){a.value=!0;const j=15+e.value*5;n.value+=j,R()}function I(){t.value$.id);c.value=Pu(j,3),i.value=!0}function F(j){return n.value>=j.price?(n.value-=j.price,f.value.push(j),c.value=c.value.filter($=>$.id!==j.id),!0):!1}function ne(){e.value++,t.value=0,s.value=0,o.value=0,i.value=!1,a.value=!1,l.value=!1}function Q(){e.value=1,t.value=0,n.value=30,s.value=0,r.value=0,o.value=0,f.value=[],c.value=[],i.value=!1,l.value=!1,a.value=!1}return{floor:e,score:t,targetScore:d,floorDuration:p,floorTimeSpeedFactor:m,isBossFloor:w,scoreProgressPct:E,gold:n,comboStreak:s,maxCombo:r,wordsCompletedInFloor:o,inventory:f,shopItems:c,isShopOpen:i,isGameOver:l,isFloorVictory:a,activeModifiers:T,onWordComplete:D,triggerFloorVictory:A,triggerFloorDefeat:I,openShop:R,buyRelic:F,nextFloor:ne,resetRun:Q}});/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Iu=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */var Dn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Nu=({size:e,strokeWidth:t=2,absoluteStrokeWidth:n,color:s,iconNode:r,name:o,class:i,...l},{slots:a})=>wn("svg",{...Dn,width:e||Dn.width,height:e||Dn.height,stroke:s||Dn.stroke,"stroke-width":n?Number(t)*24/Number(e):t,class:["lucide",`lucide-${Iu(o??"icon")}`],...l},[...r.map(f=>wn(...f)),...a.default?[a.default()]:[]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ge=(e,t)=>(n,{slots:s})=>wn(Nu,{...n,iconNode:t,name:e},s);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Du=ge("ArrowRightIcon",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const En=ge("AwardIcon",[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Lu=ge("CircleCheckIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ju=ge("CircleXIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Fi=ge("ClockIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Fu=ge("CodeXmlIcon",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Bi=ge("CoffeeIcon",[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const hn=ge("CoinsIcon",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Bu=ge("CpuIcon",[["rect",{width:"16",height:"16",x:"4",y:"4",rx:"2",key:"14l7u7"}],["rect",{width:"6",height:"6",x:"9",y:"9",rx:"1",key:"5aljv4"}],["path",{d:"M15 2v2",key:"13l42r"}],["path",{d:"M15 20v2",key:"15mkzm"}],["path",{d:"M2 15h2",key:"1gxd5l"}],["path",{d:"M2 9h2",key:"1bbxkp"}],["path",{d:"M20 15h2",key:"19e6y8"}],["path",{d:"M20 9h2",key:"19tzq7"}],["path",{d:"M9 2v2",key:"165o2o"}],["path",{d:"M9 20v2",key:"i2bqo8"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $u=ge("CrownIcon",[["path",{d:"M11.562 3.266a.5.5 0 0 1 .876 0L15.39 8.87a1 1 0 0 0 1.516.294L21.183 5.5a.5.5 0 0 1 .798.519l-2.834 10.246a1 1 0 0 1-.956.734H5.81a1 1 0 0 1-.957-.734L2.02 6.02a.5.5 0 0 1 .798-.519l4.276 3.664a1 1 0 0 0 1.516-.294z",key:"1vdc57"}],["path",{d:"M5 21h14",key:"11awu3"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $i=ge("FeatherIcon",[["path",{d:"M12.67 19a2 2 0 0 0 1.416-.588l6.154-6.172a6 6 0 0 0-8.49-8.49L5.586 9.914A2 2 0 0 0 5 11.328V18a1 1 0 0 0 1 1z",key:"18jl4k"}],["path",{d:"M16 8 2 22",key:"vp34q"}],["path",{d:"M17.5 15H9",key:"1oz8nu"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Hi=ge("FlameIcon",[["path",{d:"M8.5 14.5A2.5 2.5 0 0 0 11 12c0-1.38-.5-2-1-3-1.072-2.143-.224-4.054 2-6 .5 2.5 2 4.9 4 6.5 2 1.6 3 3.5 3 5.5a7 7 0 1 1-14 0c0-1.153.433-2.294 1-3a2.5 2.5 0 0 0 2.5 2.5z",key:"96xj49"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Hu=ge("GaugeIcon",[["path",{d:"m12 14 4-4",key:"9kzdfg"}],["path",{d:"M3.34 19a10 10 0 1 1 17.32 0",key:"19p75a"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Vi=ge("GlassesIcon",[["circle",{cx:"6",cy:"15",r:"4",key:"vux9w4"}],["circle",{cx:"18",cy:"15",r:"4",key:"18o8ve"}],["path",{d:"M14 15a2 2 0 0 0-2-2 2 2 0 0 0-2 2",key:"1ag4bs"}],["path",{d:"M2.5 13 5 7c.7-1.3 1.4-2 3-2",key:"1hm1gs"}],["path",{d:"M21.5 13 19 7c-.7-1.3-1.5-2-3-2",key:"1r31ai"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Wi=ge("HourglassIcon",[["path",{d:"M5 22h14",key:"ehvnwv"}],["path",{d:"M5 2h14",key:"pdyrp9"}],["path",{d:"M17 22v-4.172a2 2 0 0 0-.586-1.414L12 12l-4.414 4.414A2 2 0 0 0 7 17.828V22",key:"1d314k"}],["path",{d:"M7 2v4.172a2 2 0 0 0 .586 1.414L12 12l4.414-4.414A2 2 0 0 0 17 6.172V2",key:"1vvvr6"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Vu=ge("KeyboardIcon",[["path",{d:"M10 8h.01",key:"1r9ogq"}],["path",{d:"M12 12h.01",key:"1mp3jc"}],["path",{d:"M14 8h.01",key:"1primd"}],["path",{d:"M16 12h.01",key:"1l6xoz"}],["path",{d:"M18 8h.01",key:"emo2bl"}],["path",{d:"M6 8h.01",key:"x9i8wu"}],["path",{d:"M7 16h10",key:"wp8him"}],["path",{d:"M8 12h.01",key:"czm47f"}],["rect",{width:"20",height:"16",x:"2",y:"4",rx:"2",key:"18n3k1"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Wu=ge("LayersIcon",[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const cr=ge("RotateCcwIcon",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ku=ge("ShieldCheckIcon",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ki=ge("ShieldIcon",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Uu=ge("SkullIcon",[["path",{d:"m12.5 17-.5-1-.5 1h1z",key:"3me087"}],["path",{d:"M15 22a1 1 0 0 0 1-1v-1a2 2 0 0 0 1.56-3.25 8 8 0 1 0-11.12 0A2 2 0 0 0 8 20v1a1 1 0 0 0 1 1z",key:"1o5pge"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Jn=ge("SparklesIcon",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Gu=ge("SwordsIcon",[["polyline",{points:"14.5 17.5 3 6 3 3 6 3 17.5 14.5",key:"1hfsw2"}],["line",{x1:"13",x2:"19",y1:"19",y2:"13",key:"1vrmhu"}],["line",{x1:"16",x2:"20",y1:"16",y2:"20",key:"1bron3"}],["line",{x1:"19",x2:"21",y1:"21",y2:"19",key:"13pww6"}],["polyline",{points:"14.5 6.5 18 3 21 3 21 6 17.5 9.5",key:"hbey2j"}],["line",{x1:"5",x2:"9",y1:"14",y2:"18",key:"1hf58s"}],["line",{x1:"7",x2:"4",y1:"17",y2:"20",key:"pidxm4"}],["line",{x1:"3",x2:"5",y1:"19",y2:"21",key:"1pehsh"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const qu=ge("TargetIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"12",r:"6",key:"1vlfrh"}],["circle",{cx:"12",cy:"12",r:"2",key:"1c9p78"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const zu=ge("TimerIcon",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]]);/** * @license lucide-vue-next v0.475.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ui=ge("ZapIcon",[["path",{d:"M4 14a1 1 0 0 1-.78-1.63l9.9-10.2a.5.5 0 0 1 .86.46l-1.92 6.02A1 1 0 0 0 13 10h7a1 1 0 0 1 .78 1.63l-9.9 10.2a.5.5 0 0 1-.86-.46l1.92-6.02A1 1 0 0 0 11 14z",key:"1xq2db"}]]),Ju={class:"w-full max-w-5xl mx-auto px-4 py-5 flex flex-wrap items-center justify-between gap-3"},Yu={class:"flex items-center gap-2.5"},Qu={class:"h-8 w-8 rounded-lg bg-amber-500/10 border border-amber-500/30 flex items-center justify-center text-amber-400"},Xu={class:"flex items-center gap-2 sm:gap-3"},Zu={class:"flex items-center bg-slate-900/90 border border-slate-800/80 p-1 rounded-xl"},ef=["disabled"],tf=["disabled"],nf={key:0,class:"flex items-center gap-1 bg-slate-900/90 border border-slate-800/80 p-1 rounded-xl"},sf={class:"flex items-center gap-1 px-1.5 text-xs text-slate-500 font-medium"},rf=["onClick","disabled"],of=We({__name:"Navbar",setup(e){const t=Bt(),n=Mn(),s=[15,30,60];function r(o){t.isRunning||(o==="rogue"?(n.resetRun(),t.setMode("rogue",n.floorDuration)):t.setMode("classic",60))}return(o,i)=>(J(),ee("header",Ju,[y("div",Yu,[y("div",Qu,[Y(k(Vu),{class:"h-4 w-4"})]),i[2]||(i[2]=y("span",{class:"font-bold tracking-tight text-slate-200 text-sm sm:text-base font-mono"}," chronotype ",-1))]),y("div",Xu,[y("div",Zu,[y("button",{onClick:i[0]||(i[0]=l=>r("classic")),disabled:k(t).isRunning,class:Me(["flex items-center gap-1.5 px-3 py-1 rounded-lg text-xs font-mono font-semibold transition-all cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed",k(t).appMode==="classic"?"bg-amber-500 text-slate-950 shadow-sm":"text-slate-400 hover:text-slate-200"])},[Y(k(Jn),{class:"h-3.5 w-3.5"}),i[3]||(i[3]=y("span",null,"Classic Mode",-1))],10,ef),y("button",{onClick:i[1]||(i[1]=l=>r("rogue")),disabled:k(t).isRunning,class:Me(["flex items-center gap-1.5 px-3 py-1 rounded-lg text-xs font-mono font-semibold transition-all cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed",k(t).appMode==="rogue"?"bg-gradient-to-r from-rose-500 to-amber-500 text-slate-950 shadow-sm font-bold":"text-slate-400 hover:text-slate-200"])},[Y(k(Gu),{class:"h-3.5 w-3.5"}),i[4]||(i[4]=y("span",null,"Game Mode",-1))],10,tf)]),k(t).appMode==="classic"?(J(),ee("div",nf,[y("div",sf,[Y(k(zu),{class:"h-3 w-3"})]),(J(),ee(_e,null,nt(s,l=>y("button",{key:l,onClick:a=>k(t).setDuration(l),disabled:k(t).isRunning,class:Me(["px-2 py-1 rounded-lg text-xs font-mono font-semibold transition-all cursor-pointer disabled:opacity-50 disabled:cursor-not-allowed",k(t).duration===l?"bg-amber-500 text-slate-950 shadow-sm":"text-slate-400 hover:text-slate-200 hover:bg-slate-800"])},oe(l)+"s ",11,rf)),64))])):vt("",!0)])]))}}),lf={class:"min-h-screen flex flex-col bg-slate-950 text-slate-100 selection:bg-amber-500/30 selection:text-amber-200"},af={class:"flex-1 flex flex-col justify-center max-w-5xl w-full mx-auto px-4 sm:px-6"},cf=We({__name:"App",setup(e){return(t,n)=>(J(),ee("div",lf,[Y(Tu),Y(of),y("main",af,[Y(k(ji))]),n[0]||(n[0]=y("footer",{class:"py-4 text-center text-[11px] text-slate-700 font-mono"},[y("span",null,"chronotype • minimalist & roguelite typing")],-1))]))}}),uf={key:0,class:"absolute inset-0 z-20 flex items-center justify-center bg-slate-950/80 backdrop-blur-xs transition-opacity rounded-3xl"},ff={class:"mt-12 flex items-center justify-center gap-4 text-xs text-slate-500"},df=We({__name:"TypingArea",setup(e){const t=Bt(),n=Mn(),s=re(null),r=re(null),o=re(null),i=re([]),l=re(null),a=re(!0),f=re(0),c=re({top:"0px",left:"0px",opacity:0});function d(){var w;(w=s.value)==null||w.focus(),a.value=!0}function p(){var Z;const w=i.value[t.currentWordIndex],E=r.value;if(!w||!E){c.value.opacity=0;return}const T=w.offsetTop,D=((Z=i.value[0])==null?void 0:Z.offsetTop)??0,A=56,I=Math.round((T-D)/A);I>1?f.value=-(I-1)*A:f.value=0;const R=w.querySelectorAll(".char-span"),F=t.currentInput.length;let ne=0,Q=0;const $=Math.round((A-32)/2);if(F0){const B=R[R.length-1];ne=w.offsetLeft+B.offsetLeft+B.offsetWidth,Q=w.offsetTop+f.value+$}else ne=w.offsetLeft,Q=w.offsetTop+f.value+$;c.value={left:`${ne}px`,top:`${Q}px`,opacity:1}}It(()=>[t.currentWordIndex,t.currentInput,t.words],async()=>{await mn(),p()},{deep:!0}),It(()=>t.isFinished,w=>{f.value=0,w&&t.appMode==="rogue"&&n.score{t.appMode==="rogue"&&(n.onWordComplete(E,T,D),T&&(n.activeModifiers.bonusTimeOnWord&&t.addBonusTime(n.activeModifiers.bonusTimeOnWord),n.activeModifiers.comboTimeBonus&&n.comboStreak%5===0&&t.addBonusTime(n.activeModifiers.comboTimeBonus)))});return}if(w.key.length===1&&!w.ctrlKey&&!w.metaKey&&!w.altKey){w.preventDefault();const T=1-(t.appMode==="rogue"?n.floorTimeSpeedFactor:1);t.handleKey(w.key.toLowerCase(),T)}}return qo(()=>{d(),window.addEventListener("keydown",m),window.addEventListener("resize",p),mn(()=>{p()})}),nr(()=>{window.removeEventListener("keydown",m),window.removeEventListener("resize",p)}),(w,E)=>(J(),ee("div",{class:"relative w-full max-w-4xl mx-auto cursor-text select-none py-8",onClick:d},[y("input",{ref_key:"hiddenInputRef",ref:s,type:"text",class:"absolute -top-[9999px] left-0 opacity-0",onBlur:E[0]||(E[0]=T=>a.value=!1),onFocus:E[1]||(E[1]=T=>a.value=!0)},null,544),!a.value&&!k(t).isFinished?(J(),ee("div",uf,[...E[3]||(E[3]=[y("div",{class:"px-5 py-2.5 rounded-xl bg-slate-900 border border-slate-800 text-slate-300 text-sm flex items-center gap-2 shadow-2xl"},[y("span",{class:"w-2 h-2 rounded-full bg-amber-400 animate-ping"}),y("span",null,"Klik di sini atau tekan tombol apa saja untuk fokus")],-1)])])):vt("",!0),y("div",{ref_key:"wordsContainerRef",ref:r,class:"relative h-[168px] overflow-hidden leading-[56px] text-2xl sm:text-3xl font-mono tracking-wide px-2 text-left"},[y("div",{ref_key:"caretRef",ref:l,class:Me(["absolute w-[2px] h-[32px] bg-amber-400 rounded-xs transition-all duration-75 ease-out shadow-[0_0_8px_rgba(245,158,11,0.85)] z-10 pointer-events-none",{"animate-pulse":!k(t).isRunning,"opacity-0":c.value.opacity===0}]),style:Lt({transform:`translate3d(${c.value.left}, ${c.value.top}, 0)`})},null,6),y("div",{ref_key:"wordsWrapperRef",ref:o,class:"flex flex-wrap gap-x-3.5 transition-transform duration-200 ease-out",style:Lt({transform:`translate3d(0, ${f.value}px, 0)`})},[(J(!0),ee(_e,null,nt(k(t).words,(T,D)=>{var A,I;return J(),ee("div",{key:D,ref_for:!0,ref:R=>{R&&(i.value[D]=R)},class:"relative inline-flex items-center h-[56px]"},[D{var ne;return J(),ee("span",{key:F,class:Me(["char-span inline-block",(ne=k(t).typedHistory[D])!=null&&ne.isCorrect?"text-slate-400":"text-rose-400"])},oe(R),3)}),128)),(J(!0),ee(_e,null,nt(((I=(A=k(t).typedHistory[D])==null?void 0:A.input)==null?void 0:I.slice(T.length))||"",(R,F)=>(J(),ee("span",{key:"hist-extra-"+F,class:"char-span inline-block text-rose-500 font-semibold opacity-80 underline"},oe(R),1))),128))],64)):D===k(t).currentWordIndex?(J(),ee(_e,{key:1},[(J(!0),ee(_e,null,nt(T,(R,F)=>(J(),ee("span",{key:F,class:Me(["char-span inline-block relative",{"text-amber-400 font-medium":F=k(t).currentInput.length}])},oe(R),3))),128)),(J(!0),ee(_e,null,nt(k(t).currentInput.slice(T.length),(R,F)=>(J(),ee("span",{key:"curr-extra-"+F,class:"char-span inline-block text-rose-500 font-semibold bg-rose-500/30 rounded-xs opacity-90"},oe(R),1))),128))],64)):(J(!0),ee(_e,{key:2},nt(T,(R,F)=>(J(),ee("span",{key:F,class:"char-span inline-block text-slate-600"},oe(R),1))),128))])}),128))],4)],512),y("div",ff,[y("button",{onClick:E[2]||(E[2]=dc(T=>{k(t).resetTest(),f.value=0,d()},["stop"])),class:"flex items-center gap-2 px-3.5 py-1.5 rounded-lg bg-slate-900/80 hover:bg-slate-800 hover:text-slate-300 transition-colors border border-slate-800 cursor-pointer",title:"Restart Test"},[Y(k(cr),{class:"h-3.5 w-3.5"}),E[4]||(E[4]=y("span",null,"Restart",-1))]),E[5]||(E[5]=y("span",{class:"text-slate-600"},[bn("Tekan "),y("kbd",{class:"px-1.5 py-0.5 rounded bg-slate-900 border border-slate-800 text-slate-400 font-mono text-[11px]"},"Tab"),bn(" untuk restart cepat")],-1))])]))}}),hf={key:0,class:"w-full max-w-2xl mx-auto space-y-8 animate-in fade-in zoom-in-95 duration-300 py-8"},pf={class:"text-center space-y-2"},gf={class:"flex items-baseline justify-center gap-2"},mf={class:"text-6xl sm:text-7xl font-extrabold font-mono text-amber-400"},yf={class:"grid grid-cols-2 sm:grid-cols-4 gap-3"},vf={class:"p-4 rounded-2xl bg-slate-900/90 border border-slate-800 text-center space-y-1"},bf={class:"flex items-center justify-center gap-1.5 text-xs text-slate-400 font-medium"},xf={class:"text-2xl font-bold font-mono text-emerald-400"},_f={class:"p-4 rounded-2xl bg-slate-900/90 border border-slate-800 text-center space-y-1"},wf={class:"flex items-center justify-center gap-1.5 text-xs text-slate-400 font-medium"},Sf={class:"text-2xl font-bold font-mono text-indigo-400"},Ef={class:"p-4 rounded-2xl bg-slate-900/90 border border-slate-800 text-center space-y-1"},kf={class:"flex items-center justify-center gap-1.5 text-xs text-slate-400 font-medium"},Rf={class:"text-2xl font-bold font-mono text-cyan-400"},Cf={class:"p-4 rounded-2xl bg-slate-900/90 border border-slate-800 text-center space-y-1"},Af={class:"flex items-center justify-center gap-1.5 text-xs text-slate-400 font-medium"},Mf={class:"text-2xl font-bold font-mono text-rose-400"},Tf={class:"flex flex-col items-center justify-center gap-3 pt-4"},Of=We({__name:"ResultModal",setup(e){const t=Bt();return(n,s)=>k(t).isFinished?(J(),ee("div",hf,[y("div",pf,[s[2]||(s[2]=y("p",{class:"text-xs uppercase tracking-widest text-slate-500 font-semibold"},"Test Selesai",-1)),y("div",gf,[y("span",mf,oe(k(t).wpm),1),s[1]||(s[1]=y("span",{class:"text-xl font-mono text-slate-500"},"WPM",-1))])]),y("div",yf,[y("div",vf,[y("div",bf,[Y(k(qu),{class:"h-3.5 w-3.5 text-emerald-400"}),s[3]||(s[3]=y("span",null,"Akurasi",-1))]),y("div",xf,oe(k(t).accuracy)+"% ",1)]),y("div",_f,[y("div",wf,[Y(k(Hu),{class:"h-3.5 w-3.5 text-indigo-400"}),s[4]||(s[4]=y("span",null,"Raw WPM",-1))]),y("div",Sf,oe(k(t).rawWpm),1)]),y("div",Ef,[y("div",kf,[Y(k(Lu),{class:"h-3.5 w-3.5 text-cyan-400"}),s[5]||(s[5]=y("span",null,"Karakter Benar",-1))]),y("div",Rf,oe(k(t).correctKeystrokes),1)]),y("div",Cf,[y("div",Af,[Y(k(ju),{class:"h-3.5 w-3.5 text-rose-400"}),s[6]||(s[6]=y("span",null,"Karakter Salah",-1))]),y("div",Mf,oe(k(t).incorrectKeystrokes),1)])]),y("div",Tf,[y("button",{onClick:s[0]||(s[0]=r=>k(t).resetTest()),class:"inline-flex items-center gap-2 px-6 py-3 rounded-xl bg-amber-500 hover:bg-amber-400 text-slate-950 font-bold transition-all shadow-lg shadow-amber-500/20 hover:scale-105 active:scale-95 cursor-pointer"},[Y(k(cr),{class:"h-4 w-4"}),s[7]||(s[7]=y("span",null,"Ulangi Tes",-1))]),s[8]||(s[8]=y("span",{class:"text-xs text-slate-500"},[bn(" atau tekan "),y("kbd",{class:"px-1.5 py-0.5 rounded bg-slate-900 border border-slate-800 text-slate-400 font-mono text-[11px]"},"Tab"),bn(" + "),y("kbd",{class:"px-1.5 py-0.5 rounded bg-slate-900 border border-slate-800 text-slate-400 font-mono text-[11px]"},"Enter")],-1))])])):vt("",!0)}}),Pf={class:"w-full max-w-4xl mx-auto mb-6 p-4 rounded-2xl bg-slate-900/90 border border-slate-800 shadow-xl space-y-3.5"},If={class:"flex flex-wrap items-center justify-between gap-3 text-sm font-mono"},Nf={class:"flex items-center gap-2"},Df={class:"flex items-baseline gap-2"},Lf={class:"text-lg font-bold text-slate-100"},jf={class:"text-xs text-slate-500"},Ff={class:"flex items-center gap-4"},Bf={class:"flex items-center gap-1.5 px-2.5 py-1 rounded-lg bg-amber-500/10 border border-amber-500/20 text-amber-300 text-xs font-bold"},$f={class:"relative w-full h-2 bg-slate-950 rounded-full overflow-hidden border border-slate-800"},Hf={key:0,class:"flex items-center gap-2 pt-1 overflow-x-auto"},Vf={class:"flex items-center gap-1.5 flex-wrap"},Wf={class:"absolute bottom-full left-1/2 -translate-x-1/2 mb-2 hidden group-hover:block z-30 w-48 p-2 rounded-xl bg-slate-900 border border-slate-700 text-slate-200 text-xs shadow-2xl pointer-events-none"},Kf={class:"font-bold text-amber-300"},Uf={class:"text-[11px] text-slate-400 mt-0.5 leading-snug"},Gf=We({__name:"RogueHud",setup(e){const t=Mn(),n={Hourglass:Wi,Coffee:Bi,Clock:Fi,Feather:$i,Coins:hn,Shield:Ki,Glasses:Vi,Zap:Ui,Award:En,Sparkles:Jn};return(s,r)=>(J(),ee("div",Pf,[y("div",If,[y("div",Nf,[y("span",{class:Me(["px-2.5 py-1 rounded-lg text-xs font-bold uppercase tracking-wider flex items-center gap-1.5",k(t).isBossFloor?"bg-rose-500/20 text-rose-400 border border-rose-500/40":"bg-amber-500/15 text-amber-400 border border-amber-500/30"])},[k(t).isBossFloor?(J(),jt(k($u),{key:0,class:"h-3.5 w-3.5 text-rose-400 animate-bounce"})):vt("",!0),y("span",null,oe(k(t).isBossFloor?`BOSS FLOOR ${k(t).floor}`:`FLOOR ${k(t).floor}`),1)],2)]),y("div",Df,[r[0]||(r[0]=y("span",{class:"text-xs text-slate-500"},"SCORE:",-1)),y("span",Lf,oe(k(t).score.toLocaleString()),1),y("span",jf,"/ "+oe(k(t).targetScore.toLocaleString())+" PTS",1)]),y("div",Ff,[y("div",Bf,[Y(k(hn),{class:"h-3.5 w-3.5 text-amber-400"}),y("span",null,oe(k(t).gold),1)]),y("div",{class:Me(["flex items-center gap-1.5 px-2.5 py-1 rounded-lg text-xs font-bold transition-all",k(t).comboStreak>3?"bg-orange-500/20 text-orange-400 border border-orange-500/40 animate-pulse":"bg-slate-800 text-slate-400 border border-slate-700"])},[Y(k(Hi),{class:Me(["h-3.5 w-3.5",k(t).comboStreak>3?"text-orange-400":"text-slate-500"])},null,8,["class"]),y("span",null,oe(k(t).comboStreak)+"x STREAK",1)],2)])]),y("div",$f,[y("div",{class:Me(["h-full rounded-full transition-all duration-200",k(t).isBossFloor?"bg-gradient-to-r from-rose-500 to-amber-400":"bg-gradient-to-r from-indigo-500 to-amber-400"]),style:Lt({width:`${k(t).scoreProgressPct}%`})},null,6)]),k(t).inventory.length>0?(J(),ee("div",Hf,[r[1]||(r[1]=y("span",{class:"text-[11px] text-slate-500 font-mono uppercase tracking-wider shrink-0"},"Relics:",-1)),y("div",Vf,[(J(!0),ee(_e,null,nt(k(t).inventory,o=>(J(),ee("div",{key:o.id,class:"group relative p-1.5 rounded-lg bg-slate-950 border border-slate-800 hover:border-amber-400/50 transition-colors flex items-center justify-center cursor-help"},[(J(),jt(sr(n[o.icon]||k(En)),{class:"h-3.5 w-3.5 text-amber-400"})),y("div",Wf,[y("p",Kf,oe(o.name),1),y("p",Uf,oe(o.description),1)])]))),128))])])):vt("",!0)]))}}),qf={key:0,class:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-slate-950/85 backdrop-blur-md animate-in fade-in duration-200"},zf={class:"max-w-3xl w-full bg-slate-900 border border-slate-800 rounded-3xl p-6 sm:p-8 shadow-2xl space-y-6"},Jf={class:"flex items-center justify-between border-b border-slate-800 pb-4"},Yf={class:"flex items-center gap-2"},Qf={class:"text-xs uppercase tracking-wider font-bold text-emerald-400"},Xf={class:"flex items-center gap-2 px-4 py-2 rounded-xl bg-amber-500/10 border border-amber-500/30 text-amber-300 font-mono font-bold text-base shadow-sm"},Zf={class:"grid sm:grid-cols-3 gap-4"},ed={class:"space-y-2.5"},td={class:"flex items-center justify-between"},nd={class:"h-10 w-10 rounded-xl bg-slate-900 border border-slate-800 flex items-center justify-center text-amber-400 group-hover:scale-110 transition-transform"},sd={class:"font-bold text-slate-100 text-sm"},rd={class:"text-xs text-slate-400 mt-1 leading-relaxed"},od=["onClick","disabled"],id={key:0,class:"col-span-3 py-6 text-center text-slate-500 text-sm"},ld={class:"flex items-center justify-between pt-3 border-t border-slate-800"},ad={class:"text-xs text-slate-500"},cd=We({__name:"ShopModal",setup(e){const t=Mn(),n=Bt(),s={Hourglass:Wi,Coffee:Bi,Clock:Fi,Feather:$i,Coins:hn,Shield:Ki,Glasses:Vi,Zap:Ui,Award:En,Sparkles:Jn};function r(){t.nextFloor(),n.resetTest(t.floorDuration)}function o(i){switch(i){case"legendary":return"bg-purple-500/15 text-purple-400 border-purple-500/30";case"rare":return"bg-cyan-500/15 text-cyan-400 border-cyan-500/30";default:return"bg-slate-800 text-slate-400 border-slate-700"}}return(i,l)=>k(t).isShopOpen?(J(),ee("div",qf,[y("div",zf,[y("div",Jf,[y("div",null,[y("div",Yf,[y("span",Qf,"Floor "+oe(k(t).floor)+" Cleared!",1),Y(k(Jn),{class:"h-4 w-4 text-emerald-400"})]),l[0]||(l[0]=y("h2",{class:"text-2xl sm:text-3xl font-extrabold text-slate-100 mt-1"}," The Rogue Merchant ",-1))]),y("div",Xf,[Y(k(hn),{class:"h-5 w-5 text-amber-400"}),y("span",null,oe(k(t).gold)+" Gold",1)])]),y("div",Zf,[(J(!0),ee(_e,null,nt(k(t).shopItems,a=>(J(),ee("div",{key:a.id,class:"flex flex-col justify-between p-5 rounded-2xl bg-slate-950/80 border border-slate-800 hover:border-slate-700 transition-all space-y-4 relative group"},[y("div",ed,[y("div",td,[y("div",nd,[(J(),jt(sr(s[a.icon]||k(En)),{class:"h-5 w-5"}))]),y("span",{class:Me(["px-2 py-0.5 rounded-md text-[10px] uppercase font-bold tracking-wider border",o(a.rarity)])},oe(a.rarity),3)]),y("div",null,[y("h3",sd,oe(a.name),1),y("p",rd,oe(a.description),1)])]),y("button",{onClick:f=>k(t).buyRelic(a),disabled:k(t).gold=a.price?"bg-amber-500 hover:bg-amber-400 text-slate-950 shadow-md shadow-amber-500/20 active:scale-95":"bg-slate-800 text-slate-500"])},[Y(k(hn),{class:"h-3.5 w-3.5"}),y("span",null,"Beli ("+oe(a.price)+"g)",1)],10,od)]))),128)),k(t).shopItems.length===0?(J(),ee("div",id," Semua relic di toko ini telah dibeli! ")):vt("",!0)]),y("div",ld,[y("span",ad,"Persiapkan jarimu untuk Floor "+oe(k(t).floor+1),1),y("button",{onClick:r,class:"flex items-center gap-2 px-6 py-2.5 rounded-xl bg-indigo-600 hover:bg-indigo-500 text-white font-bold text-sm shadow-lg shadow-indigo-600/30 transition-all hover:scale-105 active:scale-95 cursor-pointer"},[y("span",null,"Lanjut ke Floor "+oe(k(t).floor+1),1),Y(k(Du),{class:"h-4 w-4"})])])])])):vt("",!0)}}),ud={key:0,class:"fixed inset-0 z-50 flex items-center justify-center p-4 bg-slate-950/85 backdrop-blur-md animate-in fade-in duration-200"},fd={class:"max-w-lg w-full bg-slate-900 border border-rose-500/30 rounded-3xl p-6 sm:p-8 shadow-2xl space-y-6 text-center"},dd={class:"space-y-2"},hd={class:"h-16 w-16 mx-auto rounded-2xl bg-rose-500/10 border border-rose-500/30 flex items-center justify-center text-rose-400 shadow-lg shadow-rose-500/10"},pd={class:"text-slate-400 text-sm"},gd={class:"grid grid-cols-3 gap-3"},md={class:"p-3.5 rounded-2xl bg-slate-950 border border-slate-800 space-y-1"},yd={class:"text-xl font-bold font-mono text-amber-400"},vd={class:"p-3.5 rounded-2xl bg-slate-950 border border-slate-800 space-y-1"},bd={class:"text-xl font-bold font-mono text-orange-400 flex items-center justify-center gap-1"},xd={class:"p-3.5 rounded-2xl bg-slate-950 border border-slate-800 space-y-1"},_d={class:"text-xl font-bold font-mono text-indigo-400 flex items-center justify-center gap-1"},wd={class:"pt-2"},Sd=We({__name:"GameOverModal",setup(e){const t=Mn(),n=Bt();function s(){t.resetRun(),n.resetTest(t.floorDuration)}return(r,o)=>k(t).isGameOver?(J(),ee("div",ud,[y("div",fd,[y("div",dd,[y("div",hd,[Y(k(Uu),{class:"h-8 w-8 animate-pulse"})]),o[0]||(o[0]=y("h2",{class:"text-3xl font-extrabold text-white tracking-tight"}," Run Selesai! ",-1)),y("p",pd," Waktu habis sebelum kamu berhasil mencapai target score Floor "+oe(k(t).floor)+". ",1)]),y("div",gd,[y("div",md,[o[1]||(o[1]=y("span",{class:"text-[11px] text-slate-500 font-mono uppercase font-semibold"},"Floor",-1)),y("div",yd,oe(k(t).floor),1)]),y("div",vd,[o[2]||(o[2]=y("span",{class:"text-[11px] text-slate-500 font-mono uppercase font-semibold"},"Max Combo",-1)),y("div",bd,[Y(k(Hi),{class:"h-4 w-4"}),y("span",null,oe(k(t).maxCombo)+"x",1)])]),y("div",xd,[o[3]||(o[3]=y("span",{class:"text-[11px] text-slate-500 font-mono uppercase font-semibold"},"Relics",-1)),y("div",_d,[Y(k(En),{class:"h-4 w-4"}),y("span",null,oe(k(t).inventory.length),1)])])]),y("div",wd,[y("button",{onClick:s,class:"w-full flex items-center justify-center gap-2 py-3.5 px-6 rounded-xl bg-amber-500 hover:bg-amber-400 text-slate-950 font-bold font-mono text-sm transition-all hover:scale-102 active:scale-98 shadow-lg shadow-amber-500/20 cursor-pointer"},[Y(k(cr),{class:"h-4 w-4"}),o[4]||(o[4]=y("span",null,"Mulai Run Baru",-1))])])])])):vt("",!0)}}),Ed={class:"flex flex-col items-center justify-center min-h-[65vh] w-full"},kd={key:1,class:"w-full flex flex-col items-center"},Rd=We({__name:"HomeView",setup(e){const t=Bt();return(n,s)=>(J(),ee("div",Ed,[Y(cd),Y(Sd),k(t).isFinished&&k(t).appMode==="classic"?(J(),jt(Of,{key:0})):(J(),ee("div",kd,[k(t).appMode==="rogue"?(J(),jt(Gf,{key:0})):vt("",!0),Y(df)]))]))}}),Cd={class:"max-w-3xl mx-auto space-y-8"},Ad={class:"grid sm:grid-cols-2 gap-4"},Md={class:"h-10 w-10 rounded-xl bg-indigo-500/10 text-indigo-400 flex items-center justify-center border border-indigo-500/20"},Td={class:"text-lg font-semibold text-slate-100"},Od={class:"text-sm text-slate-400 leading-relaxed"},Pd=We({__name:"AboutView",setup(e){const t=[{icon:Fu,title:"Vue 3 + Composition API",desc:"Menggunakan