123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- (function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))n(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"&&n(i)}).observe(document,{childList:!0,subtree:!0});function s(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 n(r){if(r.ep)return;r.ep=!0;const o=s(r);fetch(r.href,o)}})();/**
- * @vue/shared v3.5.13
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **//*! #__NO_SIDE_EFFECTS__ */function Rn(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const ue={},Ot=[],et=()=>{},bi=()=>!1,Vs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),Pn=e=>e.startsWith("onUpdate:"),Ee=Object.assign,$n=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},vi=Object.prototype.hasOwnProperty,oe=(e,t)=>vi.call(e,t),K=Array.isArray,Dt=e=>gs(e)==="[object Map]",Bt=e=>gs(e)==="[object Set]",Qn=e=>gs(e)==="[object Date]",Q=e=>typeof e=="function",be=e=>typeof e=="string",st=e=>typeof e=="symbol",pe=e=>e!==null&&typeof e=="object",Yr=e=>(pe(e)||Q(e))&&Q(e.then)&&Q(e.catch),Qr=Object.prototype.toString,gs=e=>Qr.call(e),wi=e=>gs(e).slice(8,-1),Jr=e=>gs(e)==="[object Object]",In=e=>be(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Jt=Rn(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),js=e=>{const t=Object.create(null);return s=>t[s]||(t[s]=e(s))},ki=/-(\w)/g,Be=js(e=>e.replace(ki,(t,s)=>s?s.toUpperCase():"")),_i=/\B([A-Z])/g,$t=js(e=>e.replace(_i,"-$1").toLowerCase()),Ls=js(e=>e.charAt(0).toUpperCase()+e.slice(1)),Qs=js(e=>e?`on${Ls(e)}`:""),bt=(e,t)=>!Object.is(e,t),_s=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},Xr=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},Ps=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Jn;const Us=()=>Jn||(Jn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function An(e){if(K(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=be(n)?Ti(n):An(n);if(r)for(const o in r)t[o]=r[o]}return t}else if(be(e)||pe(e))return e}const Si=/;(?![^(]*\))/g,Ci=/:([^]+)/,Ei=/\/\*[^]*?\*\//g;function Ti(e){const t={};return e.replace(Ei,"").split(Si).forEach(s=>{if(s){const n=s.split(Ci);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function vt(e){let t="";if(be(e))t=e;else if(K(e))for(let s=0;s<e.length;s++){const n=vt(e[s]);n&&(t+=n+" ")}else if(pe(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const Ri="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Pi=Rn(Ri);function Zr(e){return!!e||e===""}function $i(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=hs(e[n],t[n]);return s}function hs(e,t){if(e===t)return!0;let s=Qn(e),n=Qn(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=st(e),n=st(t),s||n)return e===t;if(s=K(e),n=K(t),s||n)return s&&n?$i(e,t):!1;if(s=pe(e),n=pe(t),s||n){if(!s||!n)return!1;const r=Object.keys(e).length,o=Object.keys(t).length;if(r!==o)return!1;for(const i in e){const a=e.hasOwnProperty(i),c=t.hasOwnProperty(i);if(a&&!c||!a&&c||!hs(e[i],t[i]))return!1}}return String(e)===String(t)}function Mn(e,t){return e.findIndex(s=>hs(s,t))}const eo=e=>!!(e&&e.__v_isRef===!0),W=e=>be(e)?e:e==null?"":K(e)||pe(e)&&(e.toString===Qr||!Q(e.toString))?eo(e)?W(e.value):JSON.stringify(e,to,2):String(e),to=(e,t)=>eo(t)?to(e,t.value):Dt(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],o)=>(s[Js(n,o)+" =>"]=r,s),{})}:Bt(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Js(s))}:st(t)?Js(t):pe(t)&&!K(t)&&!Jr(t)?String(t):t,Js=(e,t="")=>{var s;return st(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
- * @vue/reactivity v3.5.13
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let Oe;class Ii{constructor(t=!1){this.detached=t,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Oe,!t&&Oe&&(this.index=(Oe.scopes||(Oe.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].pause();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,s;if(this.scopes)for(t=0,s=this.scopes.length;t<s;t++)this.scopes[t].resume();for(t=0,s=this.effects.length;t<s;t++)this.effects[t].resume()}}run(t){if(this._active){const s=Oe;try{return Oe=this,t()}finally{Oe=s}}}on(){Oe=this}off(){Oe=this.parent}stop(t){if(this._active){this._active=!1;let s,n;for(s=0,n=this.effects.length;s<n;s++)this.effects[s].stop();for(this.effects.length=0,s=0,n=this.cleanups.length;s<n;s++)this.cleanups[s]();if(this.cleanups.length=0,this.scopes){for(s=0,n=this.scopes.length;s<n;s++)this.scopes[s].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0}}}function Ai(){return Oe}let fe;const Xs=new WeakSet;class so{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Oe&&Oe.active&&Oe.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Xs.has(this)&&(Xs.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||ro(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Xn(this),oo(this);const t=fe,s=Ke;fe=this,Ke=!0;try{return this.fn()}finally{io(this),fe=t,Ke=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Nn(t);this.deps=this.depsTail=void 0,Xn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Xs.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){un(this)&&this.run()}get dirty(){return un(this)}}let no=0,Xt,Zt;function ro(e,t=!1){if(e.flags|=8,t){e.next=Zt,Zt=e;return}e.next=Xt,Xt=e}function On(){no++}function Dn(){if(--no>0)return;if(Zt){let t=Zt;for(Zt=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Xt;){let t=Xt;for(Xt=void 0;t;){const s=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=s}}if(e)throw e}function oo(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function io(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),Nn(n),Mi(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function un(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(lo(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function lo(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===os))return;e.globalVersion=os;const t=e.dep;if(e.flags|=2,t.version>0&&!e.isSSR&&e.deps&&!un(e)){e.flags&=-3;return}const s=fe,n=Ke;fe=e,Ke=!0;try{oo(e);const r=e.fn(e._value);(t.version===0||bt(r,e._value))&&(e._value=r,t.version++)}catch(r){throw t.version++,r}finally{fe=s,Ke=n,io(e),e.flags&=-3}}function Nn(e,t=!1){const{dep:s,prevSub:n,nextSub:r}=e;if(n&&(n.nextSub=r,e.prevSub=void 0),r&&(r.prevSub=n,e.nextSub=void 0),s.subs===e&&(s.subs=n,!n&&s.computed)){s.computed.flags&=-5;for(let o=s.computed.deps;o;o=o.nextDep)Nn(o,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Mi(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let Ke=!0;const ao=[];function wt(){ao.push(Ke),Ke=!1}function kt(){const e=ao.pop();Ke=e===void 0?!0:e}function Xn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=fe;fe=void 0;try{t()}finally{fe=s}}}let os=0;class Oi{constructor(t,s){this.sub=t,this.dep=s,this.version=s.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Vn{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}track(t){if(!fe||!Ke||fe===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==fe)s=this.activeLink=new Oi(fe,this),fe.deps?(s.prevDep=fe.depsTail,fe.depsTail.nextDep=s,fe.depsTail=s):fe.deps=fe.depsTail=s,co(s);else if(s.version===-1&&(s.version=this.version,s.nextDep)){const n=s.nextDep;n.prevDep=s.prevDep,s.prevDep&&(s.prevDep.nextDep=n),s.prevDep=fe.depsTail,s.nextDep=void 0,fe.depsTail.nextDep=s,fe.depsTail=s,fe.deps===s&&(fe.deps=n)}return s}trigger(t){this.version++,os++,this.notify(t)}notify(t){On();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{Dn()}}}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 n=t.deps;n;n=n.nextDep)co(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const dn=new WeakMap,Tt=Symbol(""),fn=Symbol(""),is=Symbol("");function ke(e,t,s){if(Ke&&fe){let n=dn.get(e);n||dn.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new Vn),r.map=n,r.key=s),r.track()}}function at(e,t,s,n,r,o){const i=dn.get(e);if(!i){os++;return}const a=c=>{c&&c.trigger()};if(On(),t==="clear")i.forEach(a);else{const c=K(e),p=c&&In(s);if(c&&s==="length"){const u=Number(n);i.forEach((g,y)=>{(y==="length"||y===is||!st(y)&&y>=u)&&a(g)})}else switch((s!==void 0||i.has(void 0))&&a(i.get(s)),p&&a(i.get(is)),t){case"add":c?p&&a(i.get("length")):(a(i.get(Tt)),Dt(e)&&a(i.get(fn)));break;case"delete":c||(a(i.get(Tt)),Dt(e)&&a(i.get(fn)));break;case"set":Dt(e)&&a(i.get(Tt));break}}Dn()}function It(e){const t=re(e);return t===e?t:(ke(t,"iterate",is),He(e)?t:t.map(_e))}function Fs(e){return ke(e=re(e),"iterate",is),e}const Di={__proto__:null,[Symbol.iterator](){return Zs(this,Symbol.iterator,_e)},concat(...e){return It(this).concat(...e.map(t=>K(t)?It(t):t))},entries(){return Zs(this,"entries",e=>(e[1]=_e(e[1]),e))},every(e,t){return ot(this,"every",e,t,void 0,arguments)},filter(e,t){return ot(this,"filter",e,t,s=>s.map(_e),arguments)},find(e,t){return ot(this,"find",e,t,_e,arguments)},findIndex(e,t){return ot(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return ot(this,"findLast",e,t,_e,arguments)},findLastIndex(e,t){return ot(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return ot(this,"forEach",e,t,void 0,arguments)},includes(...e){return en(this,"includes",e)},indexOf(...e){return en(this,"indexOf",e)},join(e){return It(this).join(e)},lastIndexOf(...e){return en(this,"lastIndexOf",e)},map(e,t){return ot(this,"map",e,t,void 0,arguments)},pop(){return qt(this,"pop")},push(...e){return qt(this,"push",e)},reduce(e,...t){return Zn(this,"reduce",e,t)},reduceRight(e,...t){return Zn(this,"reduceRight",e,t)},shift(){return qt(this,"shift")},some(e,t){return ot(this,"some",e,t,void 0,arguments)},splice(...e){return qt(this,"splice",e)},toReversed(){return It(this).toReversed()},toSorted(e){return It(this).toSorted(e)},toSpliced(...e){return It(this).toSpliced(...e)},unshift(...e){return qt(this,"unshift",e)},values(){return Zs(this,"values",_e)}};function Zs(e,t,s){const n=Fs(e),r=n[t]();return n!==e&&!He(e)&&(r._next=r.next,r.next=()=>{const o=r._next();return o.value&&(o.value=s(o.value)),o}),r}const Ni=Array.prototype;function ot(e,t,s,n,r,o){const i=Fs(e),a=i!==e&&!He(e),c=i[t];if(c!==Ni[t]){const g=c.apply(e,o);return a?_e(g):g}let p=s;i!==e&&(a?p=function(g,y){return s.call(this,_e(g),y,e)}:s.length>2&&(p=function(g,y){return s.call(this,g,y,e)}));const u=c.call(i,p,n);return a&&r?r(u):u}function Zn(e,t,s,n){const r=Fs(e);let o=s;return r!==e&&(He(e)?s.length>3&&(o=function(i,a,c){return s.call(this,i,a,c,e)}):o=function(i,a,c){return s.call(this,i,_e(a),c,e)}),r[t](o,...n)}function en(e,t,s){const n=re(e);ke(n,"iterate",is);const r=n[t](...s);return(r===-1||r===!1)&&Un(s[0])?(s[0]=re(s[0]),n[t](...s)):r}function qt(e,t,s=[]){wt(),On();const n=re(e)[t].apply(e,s);return Dn(),kt(),n}const Vi=Rn("__proto__,__v_isRef,__isVue"),uo=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(st));function ji(e){st(e)||(e=String(e));const t=re(this);return ke(t,"has",e),t.hasOwnProperty(e)}class fo{constructor(t=!1,s=!1){this._isReadonly=t,this._isShallow=s}get(t,s,n){if(s==="__v_skip")return t.__v_skip;const r=this._isReadonly,o=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return o;if(s==="__v_raw")return n===(r?o?Gi:mo:o?ho:go).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const i=K(t);if(!r){let c;if(i&&(c=Di[s]))return c;if(s==="hasOwnProperty")return ji}const a=Reflect.get(t,s,Ce(t)?t:n);return(st(s)?uo.has(s):Vi(s))||(r||ke(t,"get",s),o)?a:Ce(a)?i&&In(s)?a:a.value:pe(a)?r?xo(a):Hs(a):a}}class po extends fo{constructor(t=!1){super(!1,t)}set(t,s,n,r){let o=t[s];if(!this._isShallow){const c=Rt(o);if(!He(n)&&!Rt(n)&&(o=re(o),n=re(n)),!K(t)&&Ce(o)&&!Ce(n))return c?!1:(o.value=n,!0)}const i=K(t)&&In(s)?Number(s)<t.length:oe(t,s),a=Reflect.set(t,s,n,Ce(t)?t:r);return t===re(r)&&(i?bt(n,o)&&at(t,"set",s,n):at(t,"add",s,n)),a}deleteProperty(t,s){const n=oe(t,s);t[s];const r=Reflect.deleteProperty(t,s);return r&&n&&at(t,"delete",s,void 0),r}has(t,s){const n=Reflect.has(t,s);return(!st(s)||!uo.has(s))&&ke(t,"has",s),n}ownKeys(t){return ke(t,"iterate",K(t)?"length":Tt),Reflect.ownKeys(t)}}class Li extends fo{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const Ui=new po,Fi=new Li,Hi=new po(!0);const pn=e=>e,bs=e=>Reflect.getPrototypeOf(e);function Bi(e,t,s){return function(...n){const r=this.__v_raw,o=re(r),i=Dt(o),a=e==="entries"||e===Symbol.iterator&&i,c=e==="keys"&&i,p=r[e](...n),u=s?pn:t?gn:_e;return!t&&ke(o,"iterate",c?fn:Tt),{next(){const{value:g,done:y}=p.next();return y?{value:g,done:y}:{value:a?[u(g[0]),u(g[1])]:u(g),done:y}},[Symbol.iterator](){return this}}}}function vs(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ki(e,t){const s={get(r){const o=this.__v_raw,i=re(o),a=re(r);e||(bt(r,a)&&ke(i,"get",r),ke(i,"get",a));const{has:c}=bs(i),p=t?pn:e?gn:_e;if(c.call(i,r))return p(o.get(r));if(c.call(i,a))return p(o.get(a));o!==i&&o.get(r)},get size(){const r=this.__v_raw;return!e&&ke(re(r),"iterate",Tt),Reflect.get(r,"size",r)},has(r){const o=this.__v_raw,i=re(o),a=re(r);return e||(bt(r,a)&&ke(i,"has",r),ke(i,"has",a)),r===a?o.has(r):o.has(r)||o.has(a)},forEach(r,o){const i=this,a=i.__v_raw,c=re(a),p=t?pn:e?gn:_e;return!e&&ke(c,"iterate",Tt),a.forEach((u,g)=>r.call(o,p(u),p(g),i))}};return Ee(s,e?{add:vs("add"),set:vs("set"),delete:vs("delete"),clear:vs("clear")}:{add(r){!t&&!He(r)&&!Rt(r)&&(r=re(r));const o=re(this);return bs(o).has.call(o,r)||(o.add(r),at(o,"add",r,r)),this},set(r,o){!t&&!He(o)&&!Rt(o)&&(o=re(o));const i=re(this),{has:a,get:c}=bs(i);let p=a.call(i,r);p||(r=re(r),p=a.call(i,r));const u=c.call(i,r);return i.set(r,o),p?bt(o,u)&&at(i,"set",r,o):at(i,"add",r,o),this},delete(r){const o=re(this),{has:i,get:a}=bs(o);let c=i.call(o,r);c||(r=re(r),c=i.call(o,r)),a&&a.call(o,r);const p=o.delete(r);return c&&at(o,"delete",r,void 0),p},clear(){const r=re(this),o=r.size!==0,i=r.clear();return o&&at(r,"clear",void 0,void 0),i}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=Bi(r,e,t)}),s}function jn(e,t){const s=Ki(e,t);return(n,r,o)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(oe(s,r)&&r in n?s:n,r,o)}const qi={get:jn(!1,!1)},Wi={get:jn(!1,!0)},zi={get:jn(!0,!1)};const go=new WeakMap,ho=new WeakMap,mo=new WeakMap,Gi=new WeakMap;function Yi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Qi(e){return e.__v_skip||!Object.isExtensible(e)?0:Yi(wi(e))}function Hs(e){return Rt(e)?e:Ln(e,!1,Ui,qi,go)}function yo(e){return Ln(e,!1,Hi,Wi,ho)}function xo(e){return Ln(e,!0,Fi,zi,mo)}function Ln(e,t,s,n,r){if(!pe(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=r.get(e);if(o)return o;const i=Qi(e);if(i===0)return e;const a=new Proxy(e,i===2?n:s);return r.set(e,a),a}function Nt(e){return Rt(e)?Nt(e.__v_raw):!!(e&&e.__v_isReactive)}function Rt(e){return!!(e&&e.__v_isReadonly)}function He(e){return!!(e&&e.__v_isShallow)}function Un(e){return e?!!e.__v_raw:!1}function re(e){const t=e&&e.__v_raw;return t?re(t):e}function Ji(e){return!oe(e,"__v_skip")&&Object.isExtensible(e)&&Xr(e,"__v_skip",!0),e}const _e=e=>pe(e)?Hs(e):e,gn=e=>pe(e)?xo(e):e;function Ce(e){return e?e.__v_isRef===!0:!1}function ae(e){return bo(e,!1)}function Xi(e){return bo(e,!0)}function bo(e,t){return Ce(e)?e:new Zi(e,t)}class Zi{constructor(t,s){this.dep=new Vn,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:re(t),this._value=s?t:_e(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||He(t)||Rt(t);t=n?t:re(t),bt(t,s)&&(this._rawValue=t,this._value=n?t:_e(t),this.dep.trigger())}}function Y(e){return Ce(e)?e.value:e}const el={get:(e,t,s)=>t==="__v_raw"?e:Y(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return Ce(r)&&!Ce(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function vo(e){return Nt(e)?e:new Proxy(e,el)}class tl{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new Vn(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=os-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&fe!==this)return ro(this,!0),!0}get value(){const t=this.dep.track();return lo(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function sl(e,t,s=!1){let n,r;return Q(e)?n=e:(n=e.get,r=e.set),new tl(n,r,s)}const ws={},$s=new WeakMap;let Et;function nl(e,t=!1,s=Et){if(s){let n=$s.get(s);n||$s.set(s,n=[]),n.push(e)}}function rl(e,t,s=ue){const{immediate:n,deep:r,once:o,scheduler:i,augmentJob:a,call:c}=s,p=T=>r?T:He(T)||r===!1||r===0?ct(T,1):ct(T);let u,g,y,x,M=!1,D=!1;if(Ce(e)?(g=()=>e.value,M=He(e)):Nt(e)?(g=()=>p(e),M=!0):K(e)?(D=!0,M=e.some(T=>Nt(T)||He(T)),g=()=>e.map(T=>{if(Ce(T))return T.value;if(Nt(T))return p(T);if(Q(T))return c?c(T,2):T()})):Q(e)?t?g=c?()=>c(e,2):e:g=()=>{if(y){wt();try{y()}finally{kt()}}const T=Et;Et=u;try{return c?c(e,3,[x]):e(x)}finally{Et=T}}:g=et,t&&r){const T=g,b=r===!0?1/0:r;g=()=>ct(T(),b)}const z=Ai(),L=()=>{u.stop(),z&&z.active&&$n(z.effects,u)};if(o&&t){const T=t;t=(...b)=>{T(...b),L()}}let V=D?new Array(e.length).fill(ws):ws;const F=T=>{if(!(!(u.flags&1)||!u.dirty&&!T))if(t){const b=u.run();if(r||M||(D?b.some((v,j)=>bt(v,V[j])):bt(b,V))){y&&y();const v=Et;Et=u;try{const j=[b,V===ws?void 0:D&&V[0]===ws?[]:V,x];c?c(t,3,j):t(...j),V=b}finally{Et=v}}}else u.run()};return a&&a(F),u=new so(g),u.scheduler=i?()=>i(F,!1):F,x=T=>nl(T,!1,u),y=u.onStop=()=>{const T=$s.get(u);if(T){if(c)c(T,4);else for(const b of T)b();$s.delete(u)}},t?n?F(!0):V=u.run():i?i(F.bind(null,!0),!0):u.run(),L.pause=u.pause.bind(u),L.resume=u.resume.bind(u),L.stop=L,L}function ct(e,t=1/0,s){if(t<=0||!pe(e)||e.__v_skip||(s=s||new Set,s.has(e)))return e;if(s.add(e),t--,Ce(e))ct(e.value,t,s);else if(K(e))for(let n=0;n<e.length;n++)ct(e[n],t,s);else if(Bt(e)||Dt(e))e.forEach(n=>{ct(n,t,s)});else if(Jr(e)){for(const n in e)ct(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&ct(e[n],t,s)}return e}/**
- * @vue/runtime-core v3.5.13
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/function ms(e,t,s,n){try{return n?e(...n):e()}catch(r){Bs(r,t,s)}}function nt(e,t,s,n){if(Q(e)){const r=ms(e,t,s,n);return r&&Yr(r)&&r.catch(o=>{Bs(o,t,s)}),r}if(K(e)){const r=[];for(let o=0;o<e.length;o++)r.push(nt(e[o],t,s,n));return r}}function Bs(e,t,s,n=!0){const r=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ue;if(t){let a=t.parent;const c=t.proxy,p=`https://vuejs.org/error-reference/#runtime-${s}`;for(;a;){const u=a.ec;if(u){for(let g=0;g<u.length;g++)if(u[g](e,c,p)===!1)return}a=a.parent}if(o){wt(),ms(o,null,10,[e,c,p]),kt();return}}ol(e,s,r,n,i)}function ol(e,t,s,n=!0,r=!1){if(r)throw e;console.error(e)}const Pe=[];let Xe=-1;const Vt=[];let ht=null,At=0;const wo=Promise.resolve();let Is=null;function Fn(e){const t=Is||wo;return e?t.then(this?e.bind(this):e):t}function il(e){let t=Xe+1,s=Pe.length;for(;t<s;){const n=t+s>>>1,r=Pe[n],o=ls(r);o<e||o===e&&r.flags&2?t=n+1:s=n}return t}function Hn(e){if(!(e.flags&1)){const t=ls(e),s=Pe[Pe.length-1];!s||!(e.flags&2)&&t>=ls(s)?Pe.push(e):Pe.splice(il(t),0,e),e.flags|=1,ko()}}function ko(){Is||(Is=wo.then(So))}function ll(e){K(e)?Vt.push(...e):ht&&e.id===-1?ht.splice(At+1,0,e):e.flags&1||(Vt.push(e),e.flags|=1),ko()}function er(e,t,s=Xe+1){for(;s<Pe.length;s++){const n=Pe[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;Pe.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function _o(e){if(Vt.length){const t=[...new Set(Vt)].sort((s,n)=>ls(s)-ls(n));if(Vt.length=0,ht){ht.push(...t);return}for(ht=t,At=0;At<ht.length;At++){const s=ht[At];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}ht=null,At=0}}const ls=e=>e.id==null?e.flags&2?-1:1/0:e.id;function So(e){try{for(Xe=0;Xe<Pe.length;Xe++){const t=Pe[Xe];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),ms(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Xe<Pe.length;Xe++){const t=Pe[Xe];t&&(t.flags&=-2)}Xe=-1,Pe.length=0,_o(),Is=null,(Pe.length||Vt.length)&&So()}}let Ne=null,Co=null;function As(e){const t=Ne;return Ne=e,Co=e&&e.type.__scopeId||null,t}function al(e,t=Ne,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&ur(-1);const o=As(t);let i;try{i=e(...r)}finally{As(o),n._d&&ur(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function ne(e,t){if(Ne===null)return e;const s=zs(Ne),n=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[o,i,a,c=ue]=t[r];o&&(Q(o)&&(o={mounted:o,updated:o}),o.deep&&ct(i),n.push({dir:o,instance:s,value:i,oldValue:void 0,arg:a,modifiers:c}))}return e}function St(e,t,s,n){const r=e.dirs,o=t&&t.dirs;for(let i=0;i<r.length;i++){const a=r[i];o&&(a.oldValue=o[i].value);let c=a.dir[n];c&&(wt(),nt(c,s,8,[e.el,a,e,t]),kt())}}const cl=Symbol("_vte"),ul=e=>e.__isTeleport;function Bn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Bn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}/*! #__NO_SIDE_EFFECTS__ */function Eo(e,t){return Q(e)?Ee({name:e.name},t,{setup:e}):e}function To(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function Ms(e,t,s,n,r=!1){if(K(e)){e.forEach((M,D)=>Ms(M,t&&(K(t)?t[D]:t),s,n,r));return}if(es(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Ms(e,t,s,n.component.subTree);return}const o=n.shapeFlag&4?zs(n.component):n.el,i=r?null:o,{i:a,r:c}=e,p=t&&t.r,u=a.refs===ue?a.refs={}:a.refs,g=a.setupState,y=re(g),x=g===ue?()=>!1:M=>oe(y,M);if(p!=null&&p!==c&&(be(p)?(u[p]=null,x(p)&&(g[p]=null)):Ce(p)&&(p.value=null)),Q(c))ms(c,a,12,[i,u]);else{const M=be(c),D=Ce(c);if(M||D){const z=()=>{if(e.f){const L=M?x(c)?g[c]:u[c]:c.value;r?K(L)&&$n(L,o):K(L)?L.includes(o)||L.push(o):M?(u[c]=[o],x(c)&&(g[c]=u[c])):(c.value=[o],e.k&&(u[e.k]=c.value))}else M?(u[c]=i,x(c)&&(g[c]=i)):D&&(c.value=i,e.k&&(u[e.k]=i))};i?(z.id=-1,Me(z,s)):z()}}}Us().requestIdleCallback;Us().cancelIdleCallback;const es=e=>!!e.type.__asyncLoader,Ro=e=>e.type.__isKeepAlive;function dl(e,t){Po(e,"a",t)}function fl(e,t){Po(e,"da",t)}function Po(e,t,s=Se){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(Ks(t,n,s),s){let r=s.parent;for(;r&&r.parent;)Ro(r.parent.vnode)&&pl(n,t,s,r),r=r.parent}}function pl(e,t,s,n){const r=Ks(t,e,n,!0);Io(()=>{$n(n[t],r)},s)}function Ks(e,t,s=Se,n=!1){if(s){const r=s[e]||(s[e]=[]),o=t.__weh||(t.__weh=(...i)=>{wt();const a=ys(s),c=nt(t,s,e,i);return a(),kt(),c});return n?r.unshift(o):r.push(o),o}}const dt=e=>(t,s=Se)=>{(!cs||e==="sp")&&Ks(e,(...n)=>t(...n),s)},gl=dt("bm"),$o=dt("m"),hl=dt("bu"),ml=dt("u"),yl=dt("bum"),Io=dt("um"),xl=dt("sp"),bl=dt("rtg"),vl=dt("rtc");function wl(e,t=Se){Ks("ec",e,t)}const kl="components";function _l(e,t){return Cl(kl,e,!0,t)||e}const Sl=Symbol.for("v-ndc");function Cl(e,t,s=!0,n=!1){const r=Ne||Se;if(r){const o=r.type;{const a=da(o,!1);if(a&&(a===t||a===Be(t)||a===Ls(Be(t))))return o}const i=tr(r[e]||o[e],t)||tr(r.appContext[e],t);return!i&&n?o:i}}function tr(e,t){return e&&(e[t]||e[Be(t)]||e[Ls(Be(t))])}function De(e,t,s,n){let r;const o=s,i=K(e);if(i||be(e)){const a=i&&Nt(e);let c=!1;a&&(c=!He(e),e=Fs(e)),r=new Array(e.length);for(let p=0,u=e.length;p<u;p++)r[p]=t(c?_e(e[p]):e[p],p,void 0,o)}else if(typeof e=="number"){r=new Array(e);for(let a=0;a<e;a++)r[a]=t(a+1,a,void 0,o)}else if(pe(e))if(e[Symbol.iterator])r=Array.from(e,(a,c)=>t(a,c,void 0,o));else{const a=Object.keys(e);r=new Array(a.length);for(let c=0,p=a.length;c<p;c++){const u=a[c];r[c]=t(e[u],u,c,o)}}else r=[];return r}const hn=e=>e?Zo(e)?zs(e):hn(e.parent):null,ts=Ee(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=>hn(e.parent),$root:e=>hn(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Mo(e),$forceUpdate:e=>e.f||(e.f=()=>{Hn(e.update)}),$nextTick:e=>e.n||(e.n=Fn.bind(e.proxy)),$watch:e=>Wl.bind(e)}),tn=(e,t)=>e!==ue&&!e.__isScriptSetup&&oe(e,t),El={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:o,accessCache:i,type:a,appContext:c}=e;let p;if(t[0]!=="$"){const x=i[t];if(x!==void 0)switch(x){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return o[t]}else{if(tn(n,t))return i[t]=1,n[t];if(r!==ue&&oe(r,t))return i[t]=2,r[t];if((p=e.propsOptions[0])&&oe(p,t))return i[t]=3,o[t];if(s!==ue&&oe(s,t))return i[t]=4,s[t];mn&&(i[t]=0)}}const u=ts[t];let g,y;if(u)return t==="$attrs"&&ke(e.attrs,"get",""),u(e);if((g=a.__cssModules)&&(g=g[t]))return g;if(s!==ue&&oe(s,t))return i[t]=4,s[t];if(y=c.config.globalProperties,oe(y,t))return y[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:o}=e;return tn(r,t)?(r[t]=s,!0):n!==ue&&oe(n,t)?(n[t]=s,!0):oe(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,propsOptions:o}},i){let a;return!!s[i]||e!==ue&&oe(e,i)||tn(t,i)||(a=o[0])&&oe(a,i)||oe(n,i)||oe(ts,i)||oe(r.config.globalProperties,i)},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:oe(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function sr(e){return K(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let mn=!0;function Tl(e){const t=Mo(e),s=e.proxy,n=e.ctx;mn=!1,t.beforeCreate&&nr(t.beforeCreate,e,"bc");const{data:r,computed:o,methods:i,watch:a,provide:c,inject:p,created:u,beforeMount:g,mounted:y,beforeUpdate:x,updated:M,activated:D,deactivated:z,beforeDestroy:L,beforeUnmount:V,destroyed:F,unmounted:T,render:b,renderTracked:v,renderTriggered:j,errorCaptured:ve,serverPrefetch:We,expose:je,inheritAttrs:ze,components:rt,directives:Le,filters:_t}=t;if(p&&Rl(p,n,null),i)for(const te in i){const R=i[te];Q(R)&&(n[te]=R.bind(s))}if(r){const te=r.call(s,s);pe(te)&&(e.data=Hs(te))}if(mn=!0,o)for(const te in o){const R=o[te],h=Q(R)?R.bind(s,s):Q(R.get)?R.get.bind(s,s):et,w=!Q(R)&&Q(R.set)?R.set.bind(s):et,ee=he({get:h,set:w});Object.defineProperty(n,te,{enumerable:!0,configurable:!0,get:()=>ee.value,set:ie=>ee.value=ie})}if(a)for(const te in a)Ao(a[te],n,s,te);if(c){const te=Q(c)?c.call(s):c;Reflect.ownKeys(te).forEach(R=>{Ss(R,te[R])})}u&&nr(u,e,"c");function xe(te,R){K(R)?R.forEach(h=>te(h.bind(s))):R&&te(R.bind(s))}if(xe(gl,g),xe($o,y),xe(hl,x),xe(ml,M),xe(dl,D),xe(fl,z),xe(wl,ve),xe(vl,v),xe(bl,j),xe(yl,V),xe(Io,T),xe(xl,We),K(je))if(je.length){const te=e.exposed||(e.exposed={});je.forEach(R=>{Object.defineProperty(te,R,{get:()=>s[R],set:h=>s[R]=h})})}else e.exposed||(e.exposed={});b&&e.render===et&&(e.render=b),ze!=null&&(e.inheritAttrs=ze),rt&&(e.components=rt),Le&&(e.directives=Le),We&&To(e)}function Rl(e,t,s=et){K(e)&&(e=yn(e));for(const n in e){const r=e[n];let o;pe(r)?"default"in r?o=tt(r.from||n,r.default,!0):o=tt(r.from||n):o=tt(r),Ce(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:i=>o.value=i}):t[n]=o}}function nr(e,t,s){nt(K(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Ao(e,t,s,n){let r=n.includes(".")?zo(s,n):()=>s[n];if(be(e)){const o=t[e];Q(o)&&Cs(r,o)}else if(Q(e))Cs(r,e.bind(s));else if(pe(e))if(K(e))e.forEach(o=>Ao(o,t,s,n));else{const o=Q(e.handler)?e.handler.bind(s):t[e.handler];Q(o)&&Cs(r,o,e)}}function Mo(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:o,config:{optionMergeStrategies:i}}=e.appContext,a=o.get(t);let c;return a?c=a:!r.length&&!s&&!n?c=t:(c={},r.length&&r.forEach(p=>Os(c,p,i,!0)),Os(c,t,i)),pe(t)&&o.set(t,c),c}function Os(e,t,s,n=!1){const{mixins:r,extends:o}=t;o&&Os(e,o,s,!0),r&&r.forEach(i=>Os(e,i,s,!0));for(const i in t)if(!(n&&i==="expose")){const a=Pl[i]||s&&s[i];e[i]=a?a(e[i],t[i]):t[i]}return e}const Pl={data:rr,props:or,emits:or,methods:Gt,computed:Gt,beforeCreate:Re,created:Re,beforeMount:Re,mounted:Re,beforeUpdate:Re,updated:Re,beforeDestroy:Re,beforeUnmount:Re,destroyed:Re,unmounted:Re,activated:Re,deactivated:Re,errorCaptured:Re,serverPrefetch:Re,components:Gt,directives:Gt,watch:Il,provide:rr,inject:$l};function rr(e,t){return t?e?function(){return Ee(Q(e)?e.call(this,this):e,Q(t)?t.call(this,this):t)}:t:e}function $l(e,t){return Gt(yn(e),yn(t))}function yn(e){if(K(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function Re(e,t){return e?[...new Set([].concat(e,t))]:t}function Gt(e,t){return e?Ee(Object.create(null),e,t):t}function or(e,t){return e?K(e)&&K(t)?[...new Set([...e,...t])]:Ee(Object.create(null),sr(e),sr(t??{})):t}function Il(e,t){if(!e)return t;if(!t)return e;const s=Ee(Object.create(null),e);for(const n in t)s[n]=Re(e[n],t[n]);return s}function Oo(){return{app:null,config:{isNativeTag:bi,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Al=0;function Ml(e,t){return function(n,r=null){Q(n)||(n=Ee({},n)),r!=null&&!pe(r)&&(r=null);const o=Oo(),i=new WeakSet,a=[];let c=!1;const p=o.app={_uid:Al++,_component:n,_props:r,_container:null,_context:o,_instance:null,version:pa,get config(){return o.config},set config(u){},use(u,...g){return i.has(u)||(u&&Q(u.install)?(i.add(u),u.install(p,...g)):Q(u)&&(i.add(u),u(p,...g))),p},mixin(u){return o.mixins.includes(u)||o.mixins.push(u),p},component(u,g){return g?(o.components[u]=g,p):o.components[u]},directive(u,g){return g?(o.directives[u]=g,p):o.directives[u]},mount(u,g,y){if(!c){const x=p._ceVNode||H(n,r);return x.appContext=o,y===!0?y="svg":y===!1&&(y=void 0),e(x,u,y),c=!0,p._container=u,u.__vue_app__=p,zs(x.component)}},onUnmount(u){a.push(u)},unmount(){c&&(nt(a,p._instance,16),e(null,p._container),delete p._container.__vue_app__)},provide(u,g){return o.provides[u]=g,p},runWithContext(u){const g=jt;jt=p;try{return u()}finally{jt=g}}};return p}}let jt=null;function Ss(e,t){if(Se){let s=Se.provides;const n=Se.parent&&Se.parent.provides;n===s&&(s=Se.provides=Object.create(n)),s[e]=t}}function tt(e,t,s=!1){const n=Se||Ne;if(n||jt){const r=jt?jt._context.provides:n?n.parent==null?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(r&&e in r)return r[e];if(arguments.length>1)return s&&Q(t)?t.call(n&&n.proxy):t}}const Do={},No=()=>Object.create(Do),Vo=e=>Object.getPrototypeOf(e)===Do;function Ol(e,t,s,n=!1){const r={},o=No();e.propsDefaults=Object.create(null),jo(e,t,r,o);for(const i in e.propsOptions[0])i in r||(r[i]=void 0);s?e.props=n?r:yo(r):e.type.props?e.props=r:e.props=o,e.attrs=o}function Dl(e,t,s,n){const{props:r,attrs:o,vnode:{patchFlag:i}}=e,a=re(r),[c]=e.propsOptions;let p=!1;if((n||i>0)&&!(i&16)){if(i&8){const u=e.vnode.dynamicProps;for(let g=0;g<u.length;g++){let y=u[g];if(qs(e.emitsOptions,y))continue;const x=t[y];if(c)if(oe(o,y))x!==o[y]&&(o[y]=x,p=!0);else{const M=Be(y);r[M]=xn(c,a,M,x,e,!1)}else x!==o[y]&&(o[y]=x,p=!0)}}}else{jo(e,t,r,o)&&(p=!0);let u;for(const g in a)(!t||!oe(t,g)&&((u=$t(g))===g||!oe(t,u)))&&(c?s&&(s[g]!==void 0||s[u]!==void 0)&&(r[g]=xn(c,a,g,void 0,e,!0)):delete r[g]);if(o!==a)for(const g in o)(!t||!oe(t,g))&&(delete o[g],p=!0)}p&&at(e.attrs,"set","")}function jo(e,t,s,n){const[r,o]=e.propsOptions;let i=!1,a;if(t)for(let c in t){if(Jt(c))continue;const p=t[c];let u;r&&oe(r,u=Be(c))?!o||!o.includes(u)?s[u]=p:(a||(a={}))[u]=p:qs(e.emitsOptions,c)||(!(c in n)||p!==n[c])&&(n[c]=p,i=!0)}if(o){const c=re(s),p=a||ue;for(let u=0;u<o.length;u++){const g=o[u];s[g]=xn(r,c,g,p[g],e,!oe(p,g))}}return i}function xn(e,t,s,n,r,o){const i=e[s];if(i!=null){const a=oe(i,"default");if(a&&n===void 0){const c=i.default;if(i.type!==Function&&!i.skipFactory&&Q(c)){const{propsDefaults:p}=r;if(s in p)n=p[s];else{const u=ys(r);n=p[s]=c.call(null,t),u()}}else n=c;r.ce&&r.ce._setProp(s,n)}i[0]&&(o&&!a?n=!1:i[1]&&(n===""||n===$t(s))&&(n=!0))}return n}const Nl=new WeakMap;function Lo(e,t,s=!1){const n=s?Nl:t.propsCache,r=n.get(e);if(r)return r;const o=e.props,i={},a=[];let c=!1;if(!Q(e)){const u=g=>{c=!0;const[y,x]=Lo(g,t,!0);Ee(i,y),x&&a.push(...x)};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!o&&!c)return pe(e)&&n.set(e,Ot),Ot;if(K(o))for(let u=0;u<o.length;u++){const g=Be(o[u]);ir(g)&&(i[g]=ue)}else if(o)for(const u in o){const g=Be(u);if(ir(g)){const y=o[u],x=i[g]=K(y)||Q(y)?{type:y}:Ee({},y),M=x.type;let D=!1,z=!0;if(K(M))for(let L=0;L<M.length;++L){const V=M[L],F=Q(V)&&V.name;if(F==="Boolean"){D=!0;break}else F==="String"&&(z=!1)}else D=Q(M)&&M.name==="Boolean";x[0]=D,x[1]=z,(D||oe(x,"default"))&&a.push(g)}}const p=[i,a];return pe(e)&&n.set(e,p),p}function ir(e){return e[0]!=="$"&&!Jt(e)}const Uo=e=>e[0]==="_"||e==="$stable",Kn=e=>K(e)?e.map(Ze):[Ze(e)],Vl=(e,t,s)=>{if(t._n)return t;const n=al((...r)=>Kn(t(...r)),s);return n._c=!1,n},Fo=(e,t,s)=>{const n=e._ctx;for(const r in e){if(Uo(r))continue;const o=e[r];if(Q(o))t[r]=Vl(r,o,n);else if(o!=null){const i=Kn(o);t[r]=()=>i}}},Ho=(e,t)=>{const s=Kn(t);e.slots.default=()=>s},Bo=(e,t,s)=>{for(const n in t)(s||n!=="_")&&(e[n]=t[n])},jl=(e,t,s)=>{const n=e.slots=No();if(e.vnode.shapeFlag&32){const r=t._;r?(Bo(n,t,s),s&&Xr(n,"_",r,!0)):Fo(t,n)}else t&&Ho(e,t)},Ll=(e,t,s)=>{const{vnode:n,slots:r}=e;let o=!0,i=ue;if(n.shapeFlag&32){const a=t._;a?s&&a===1?o=!1:Bo(r,t,s):(o=!t.$stable,Fo(t,r)),i=t}else t&&(Ho(e,t),i={default:1});if(o)for(const a in r)!Uo(a)&&i[a]==null&&delete r[a]},Me=Zl;function Ul(e){return Fl(e)}function Fl(e,t){const s=Us();s.__VUE__=!0;const{insert:n,remove:r,patchProp:o,createElement:i,createText:a,createComment:c,setText:p,setElementText:u,parentNode:g,nextSibling:y,setScopeId:x=et,insertStaticContent:M}=e,D=(d,f,m,k=null,C=null,S=null,I=void 0,$=null,P=!!f.dynamicChildren)=>{if(d===f)return;d&&!Wt(d,f)&&(k=_(d),ie(d,C,S,!0),d=null),f.patchFlag===-2&&(P=!1,f.dynamicChildren=null);const{type:E,ref:q,shapeFlag:O}=f;switch(E){case Ws:z(d,f,m,k);break;case Pt:L(d,f,m,k);break;case Es:d==null&&V(f,m,k,I);break;case me:rt(d,f,m,k,C,S,I,$,P);break;default:O&1?b(d,f,m,k,C,S,I,$,P):O&6?Le(d,f,m,k,C,S,I,$,P):(O&64||O&128)&&E.process(d,f,m,k,C,S,I,$,P,U)}q!=null&&C&&Ms(q,d&&d.ref,S,f||d,!f)},z=(d,f,m,k)=>{if(d==null)n(f.el=a(f.children),m,k);else{const C=f.el=d.el;f.children!==d.children&&p(C,f.children)}},L=(d,f,m,k)=>{d==null?n(f.el=c(f.children||""),m,k):f.el=d.el},V=(d,f,m,k)=>{[d.el,d.anchor]=M(d.children,f,m,k,d.el,d.anchor)},F=({el:d,anchor:f},m,k)=>{let C;for(;d&&d!==f;)C=y(d),n(d,m,k),d=C;n(f,m,k)},T=({el:d,anchor:f})=>{let m;for(;d&&d!==f;)m=y(d),r(d),d=m;r(f)},b=(d,f,m,k,C,S,I,$,P)=>{f.type==="svg"?I="svg":f.type==="math"&&(I="mathml"),d==null?v(f,m,k,C,S,I,$,P):We(d,f,C,S,I,$,P)},v=(d,f,m,k,C,S,I,$)=>{let P,E;const{props:q,shapeFlag:O,transition:B,dirs:G}=d;if(P=d.el=i(d.type,S,q&&q.is,q),O&8?u(P,d.children):O&16&&ve(d.children,P,null,k,C,sn(d,S),I,$),G&&St(d,null,k,"created"),j(P,d,d.scopeId,I,k),q){for(const de in q)de!=="value"&&!Jt(de)&&o(P,de,null,q[de],S,k);"value"in q&&o(P,"value",null,q.value,S),(E=q.onVnodeBeforeMount)&&Je(E,k,d)}G&&St(d,null,k,"beforeMount");const X=Hl(C,B);X&&B.beforeEnter(P),n(P,f,m),((E=q&&q.onVnodeMounted)||X||G)&&Me(()=>{E&&Je(E,k,d),X&&B.enter(P),G&&St(d,null,k,"mounted")},C)},j=(d,f,m,k,C)=>{if(m&&x(d,m),k)for(let S=0;S<k.length;S++)x(d,k[S]);if(C){let S=C.subTree;if(f===S||Yo(S.type)&&(S.ssContent===f||S.ssFallback===f)){const I=C.vnode;j(d,I,I.scopeId,I.slotScopeIds,C.parent)}}},ve=(d,f,m,k,C,S,I,$,P=0)=>{for(let E=P;E<d.length;E++){const q=d[E]=$?mt(d[E]):Ze(d[E]);D(null,q,f,m,k,C,S,I,$)}},We=(d,f,m,k,C,S,I)=>{const $=f.el=d.el;let{patchFlag:P,dynamicChildren:E,dirs:q}=f;P|=d.patchFlag&16;const O=d.props||ue,B=f.props||ue;let G;if(m&&Ct(m,!1),(G=B.onVnodeBeforeUpdate)&&Je(G,m,f,d),q&&St(f,d,m,"beforeUpdate"),m&&Ct(m,!0),(O.innerHTML&&B.innerHTML==null||O.textContent&&B.textContent==null)&&u($,""),E?je(d.dynamicChildren,E,$,m,k,sn(f,C),S):I||R(d,f,$,null,m,k,sn(f,C),S,!1),P>0){if(P&16)ze($,O,B,m,C);else if(P&2&&O.class!==B.class&&o($,"class",null,B.class,C),P&4&&o($,"style",O.style,B.style,C),P&8){const X=f.dynamicProps;for(let de=0;de<X.length;de++){const le=X[de],Ie=O[le],$e=B[le];($e!==Ie||le==="value")&&o($,le,Ie,$e,C,m)}}P&1&&d.children!==f.children&&u($,f.children)}else!I&&E==null&&ze($,O,B,m,C);((G=B.onVnodeUpdated)||q)&&Me(()=>{G&&Je(G,m,f,d),q&&St(f,d,m,"updated")},k)},je=(d,f,m,k,C,S,I)=>{for(let $=0;$<f.length;$++){const P=d[$],E=f[$],q=P.el&&(P.type===me||!Wt(P,E)||P.shapeFlag&70)?g(P.el):m;D(P,E,q,null,k,C,S,I,!0)}},ze=(d,f,m,k,C)=>{if(f!==m){if(f!==ue)for(const S in f)!Jt(S)&&!(S in m)&&o(d,S,f[S],null,C,k);for(const S in m){if(Jt(S))continue;const I=m[S],$=f[S];I!==$&&S!=="value"&&o(d,S,$,I,C,k)}"value"in m&&o(d,"value",f.value,m.value,C)}},rt=(d,f,m,k,C,S,I,$,P)=>{const E=f.el=d?d.el:a(""),q=f.anchor=d?d.anchor:a("");let{patchFlag:O,dynamicChildren:B,slotScopeIds:G}=f;G&&($=$?$.concat(G):G),d==null?(n(E,m,k),n(q,m,k),ve(f.children||[],m,q,C,S,I,$,P)):O>0&&O&64&&B&&d.dynamicChildren?(je(d.dynamicChildren,B,m,C,S,I,$),(f.key!=null||C&&f===C.subTree)&&Ko(d,f,!0)):R(d,f,m,q,C,S,I,$,P)},Le=(d,f,m,k,C,S,I,$,P)=>{f.slotScopeIds=$,d==null?f.shapeFlag&512?C.ctx.activate(f,m,k,I,P):_t(f,m,k,C,S,I,P):ft(d,f,P)},_t=(d,f,m,k,C,S,I)=>{const $=d.component=ia(d,k,C);if(Ro(d)&&($.ctx.renderer=U),la($,!1,I),$.asyncDep){if(C&&C.registerDep($,xe,I),!d.el){const P=$.subTree=H(Pt);L(null,P,f,m)}}else xe($,d,f,m,C,S,I)},ft=(d,f,m)=>{const k=f.component=d.component;if(Jl(d,f,m))if(k.asyncDep&&!k.asyncResolved){te(k,f,m);return}else k.next=f,k.update();else f.el=d.el,k.vnode=f},xe=(d,f,m,k,C,S,I)=>{const $=()=>{if(d.isMounted){let{next:O,bu:B,u:G,parent:X,vnode:de}=d;{const Ye=qo(d);if(Ye){O&&(O.el=de.el,te(d,O,I)),Ye.asyncDep.then(()=>{d.isUnmounted||$()});return}}let le=O,Ie;Ct(d,!1),O?(O.el=de.el,te(d,O,I)):O=de,B&&_s(B),(Ie=O.props&&O.props.onVnodeBeforeUpdate)&&Je(Ie,X,O,de),Ct(d,!0);const $e=ar(d),Ge=d.subTree;d.subTree=$e,D(Ge,$e,g(Ge.el),_(Ge),d,C,S),O.el=$e.el,le===null&&Xl(d,$e.el),G&&Me(G,C),(Ie=O.props&&O.props.onVnodeUpdated)&&Me(()=>Je(Ie,X,O,de),C)}else{let O;const{el:B,props:G}=f,{bm:X,m:de,parent:le,root:Ie,type:$e}=d,Ge=es(f);Ct(d,!1),X&&_s(X),!Ge&&(O=G&&G.onVnodeBeforeMount)&&Je(O,le,f),Ct(d,!0);{Ie.ce&&Ie.ce._injectChildStyle($e);const Ye=d.subTree=ar(d);D(null,Ye,m,k,d,C,S),f.el=Ye.el}if(de&&Me(de,C),!Ge&&(O=G&&G.onVnodeMounted)){const Ye=f;Me(()=>Je(O,le,Ye),C)}(f.shapeFlag&256||le&&es(le.vnode)&&le.vnode.shapeFlag&256)&&d.a&&Me(d.a,C),d.isMounted=!0,f=m=k=null}};d.scope.on();const P=d.effect=new so($);d.scope.off();const E=d.update=P.run.bind(P),q=d.job=P.runIfDirty.bind(P);q.i=d,q.id=d.uid,P.scheduler=()=>Hn(q),Ct(d,!0),E()},te=(d,f,m)=>{f.component=d;const k=d.vnode.props;d.vnode=f,d.next=null,Dl(d,f.props,k,m),Ll(d,f.children,m),wt(),er(d),kt()},R=(d,f,m,k,C,S,I,$,P=!1)=>{const E=d&&d.children,q=d?d.shapeFlag:0,O=f.children,{patchFlag:B,shapeFlag:G}=f;if(B>0){if(B&128){w(E,O,m,k,C,S,I,$,P);return}else if(B&256){h(E,O,m,k,C,S,I,$,P);return}}G&8?(q&16&&Ue(E,C,S),O!==E&&u(m,O)):q&16?G&16?w(E,O,m,k,C,S,I,$,P):Ue(E,C,S,!0):(q&8&&u(m,""),G&16&&ve(O,m,k,C,S,I,$,P))},h=(d,f,m,k,C,S,I,$,P)=>{d=d||Ot,f=f||Ot;const E=d.length,q=f.length,O=Math.min(E,q);let B;for(B=0;B<O;B++){const G=f[B]=P?mt(f[B]):Ze(f[B]);D(d[B],G,m,null,C,S,I,$,P)}E>q?Ue(d,C,S,!0,!1,O):ve(f,m,k,C,S,I,$,P,O)},w=(d,f,m,k,C,S,I,$,P)=>{let E=0;const q=f.length;let O=d.length-1,B=q-1;for(;E<=O&&E<=B;){const G=d[E],X=f[E]=P?mt(f[E]):Ze(f[E]);if(Wt(G,X))D(G,X,m,null,C,S,I,$,P);else break;E++}for(;E<=O&&E<=B;){const G=d[O],X=f[B]=P?mt(f[B]):Ze(f[B]);if(Wt(G,X))D(G,X,m,null,C,S,I,$,P);else break;O--,B--}if(E>O){if(E<=B){const G=B+1,X=G<q?f[G].el:k;for(;E<=B;)D(null,f[E]=P?mt(f[E]):Ze(f[E]),m,X,C,S,I,$,P),E++}}else if(E>B)for(;E<=O;)ie(d[E],C,S,!0),E++;else{const G=E,X=E,de=new Map;for(E=X;E<=B;E++){const Ae=f[E]=P?mt(f[E]):Ze(f[E]);Ae.key!=null&&de.set(Ae.key,E)}let le,Ie=0;const $e=B-X+1;let Ge=!1,Ye=0;const Kt=new Array($e);for(E=0;E<$e;E++)Kt[E]=0;for(E=G;E<=O;E++){const Ae=d[E];if(Ie>=$e){ie(Ae,C,S,!0);continue}let Qe;if(Ae.key!=null)Qe=de.get(Ae.key);else for(le=X;le<=B;le++)if(Kt[le-X]===0&&Wt(Ae,f[le])){Qe=le;break}Qe===void 0?ie(Ae,C,S,!0):(Kt[Qe-X]=E+1,Qe>=Ye?Ye=Qe:Ge=!0,D(Ae,f[Qe],m,null,C,S,I,$,P),Ie++)}const Gn=Ge?Bl(Kt):Ot;for(le=Gn.length-1,E=$e-1;E>=0;E--){const Ae=X+E,Qe=f[Ae],Yn=Ae+1<q?f[Ae+1].el:k;Kt[E]===0?D(null,Qe,m,Yn,C,S,I,$,P):Ge&&(le<0||E!==Gn[le]?ee(Qe,m,Yn,2):le--)}}},ee=(d,f,m,k,C=null)=>{const{el:S,type:I,transition:$,children:P,shapeFlag:E}=d;if(E&6){ee(d.component.subTree,f,m,k);return}if(E&128){d.suspense.move(f,m,k);return}if(E&64){I.move(d,f,m,U);return}if(I===me){n(S,f,m);for(let O=0;O<P.length;O++)ee(P[O],f,m,k);n(d.anchor,f,m);return}if(I===Es){F(d,f,m);return}if(k!==2&&E&1&&$)if(k===0)$.beforeEnter(S),n(S,f,m),Me(()=>$.enter(S),C);else{const{leave:O,delayLeave:B,afterLeave:G}=$,X=()=>n(S,f,m),de=()=>{O(S,()=>{X(),G&&G()})};B?B(S,X,de):de()}else n(S,f,m)},ie=(d,f,m,k=!1,C=!1)=>{const{type:S,props:I,ref:$,children:P,dynamicChildren:E,shapeFlag:q,patchFlag:O,dirs:B,cacheIndex:G}=d;if(O===-2&&(C=!1),$!=null&&Ms($,null,m,d,!0),G!=null&&(f.renderCache[G]=void 0),q&256){f.ctx.deactivate(d);return}const X=q&1&&B,de=!es(d);let le;if(de&&(le=I&&I.onVnodeBeforeUnmount)&&Je(le,f,d),q&6)xs(d.component,m,k);else{if(q&128){d.suspense.unmount(m,k);return}X&&St(d,null,f,"beforeUnmount"),q&64?d.type.remove(d,f,m,U,k):E&&!E.hasOnce&&(S!==me||O>0&&O&64)?Ue(E,f,m,!1,!0):(S===me&&O&384||!C&&q&16)&&Ue(P,f,m),k&&Te(d)}(de&&(le=I&&I.onVnodeUnmounted)||X)&&Me(()=>{le&&Je(le,f,d),X&&St(d,null,f,"unmounted")},m)},Te=d=>{const{type:f,el:m,anchor:k,transition:C}=d;if(f===me){pt(m,k);return}if(f===Es){T(d);return}const S=()=>{r(m),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(d.shapeFlag&1&&C&&!C.persisted){const{leave:I,delayLeave:$}=C,P=()=>I(m,S);$?$(d.el,S,P):P()}else S()},pt=(d,f)=>{let m;for(;d!==f;)m=y(d),r(d),d=m;r(f)},xs=(d,f,m)=>{const{bum:k,scope:C,job:S,subTree:I,um:$,m:P,a:E}=d;lr(P),lr(E),k&&_s(k),C.stop(),S&&(S.flags|=8,ie(I,d,f,m)),$&&Me($,f),Me(()=>{d.isUnmounted=!0},f),f&&f.pendingBranch&&!f.isUnmounted&&d.asyncDep&&!d.asyncResolved&&d.suspenseId===f.pendingId&&(f.deps--,f.deps===0&&f.resolve())},Ue=(d,f,m,k=!1,C=!1,S=0)=>{for(let I=S;I<d.length;I++)ie(d[I],f,m,k,C)},_=d=>{if(d.shapeFlag&6)return _(d.component.subTree);if(d.shapeFlag&128)return d.suspense.next();const f=y(d.anchor||d.el),m=f&&f[cl];return m?y(m):f};let N=!1;const A=(d,f,m)=>{d==null?f._vnode&&ie(f._vnode,null,null,!0):D(f._vnode||null,d,f,null,null,null,m),f._vnode=d,N||(N=!0,er(),_o(),N=!1)},U={p:D,um:ie,m:ee,r:Te,mt:_t,mc:ve,pc:R,pbc:je,n:_,o:e};return{render:A,hydrate:void 0,createApp:Ml(A)}}function sn({type:e,props:t},s){return s==="svg"&&e==="foreignObject"||s==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:s}function Ct({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Hl(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Ko(e,t,s=!1){const n=e.children,r=t.children;if(K(n)&&K(r))for(let o=0;o<n.length;o++){const i=n[o];let a=r[o];a.shapeFlag&1&&!a.dynamicChildren&&((a.patchFlag<=0||a.patchFlag===32)&&(a=r[o]=mt(r[o]),a.el=i.el),!s&&a.patchFlag!==-2&&Ko(i,a)),a.type===Ws&&(a.el=i.el)}}function Bl(e){const t=e.slice(),s=[0];let n,r,o,i,a;const c=e.length;for(n=0;n<c;n++){const p=e[n];if(p!==0){if(r=s[s.length-1],e[r]<p){t[n]=r,s.push(n);continue}for(o=0,i=s.length-1;o<i;)a=o+i>>1,e[s[a]]<p?o=a+1:i=a;p<e[s[o]]&&(o>0&&(t[n]=s[o-1]),s[o]=n)}}for(o=s.length,i=s[o-1];o-- >0;)s[o]=i,i=t[i];return s}function qo(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:qo(t)}function lr(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const Kl=Symbol.for("v-scx"),ql=()=>tt(Kl);function Cs(e,t,s){return Wo(e,t,s)}function Wo(e,t,s=ue){const{immediate:n,deep:r,flush:o,once:i}=s,a=Ee({},s),c=t&&n||!t&&o!=="post";let p;if(cs){if(o==="sync"){const x=ql();p=x.__watcherHandles||(x.__watcherHandles=[])}else if(!c){const x=()=>{};return x.stop=et,x.resume=et,x.pause=et,x}}const u=Se;a.call=(x,M,D)=>nt(x,u,M,D);let g=!1;o==="post"?a.scheduler=x=>{Me(x,u&&u.suspense)}:o!=="sync"&&(g=!0,a.scheduler=(x,M)=>{M?x():Hn(x)}),a.augmentJob=x=>{t&&(x.flags|=4),g&&(x.flags|=2,u&&(x.id=u.uid,x.i=u))};const y=rl(e,t,a);return cs&&(p?p.push(y):c&&y()),y}function Wl(e,t,s){const n=this.proxy,r=be(e)?e.includes(".")?zo(n,e):()=>n[e]:e.bind(n,n);let o;Q(t)?o=t:(o=t.handler,s=t);const i=ys(this),a=Wo(r,o.bind(n),s);return i(),a}function zo(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;r<s.length&&n;r++)n=n[s[r]];return n}}const zl=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${Be(t)}Modifiers`]||e[`${$t(t)}Modifiers`];function Gl(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||ue;let r=s;const o=t.startsWith("update:"),i=o&&zl(n,t.slice(7));i&&(i.trim&&(r=s.map(u=>be(u)?u.trim():u)),i.number&&(r=s.map(Ps)));let a,c=n[a=Qs(t)]||n[a=Qs(Be(t))];!c&&o&&(c=n[a=Qs($t(t))]),c&&nt(c,e,6,r);const p=n[a+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[a])return;e.emitted[a]=!0,nt(p,e,6,r)}}function Go(e,t,s=!1){const n=t.emitsCache,r=n.get(e);if(r!==void 0)return r;const o=e.emits;let i={},a=!1;if(!Q(e)){const c=p=>{const u=Go(p,t,!0);u&&(a=!0,Ee(i,u))};!s&&t.mixins.length&&t.mixins.forEach(c),e.extends&&c(e.extends),e.mixins&&e.mixins.forEach(c)}return!o&&!a?(pe(e)&&n.set(e,null),null):(K(o)?o.forEach(c=>i[c]=null):Ee(i,o),pe(e)&&n.set(e,i),i)}function qs(e,t){return!e||!Vs(t)?!1:(t=t.slice(2).replace(/Once$/,""),oe(e,t[0].toLowerCase()+t.slice(1))||oe(e,$t(t))||oe(e,t))}function ar(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[o],slots:i,attrs:a,emit:c,render:p,renderCache:u,props:g,data:y,setupState:x,ctx:M,inheritAttrs:D}=e,z=As(e);let L,V;try{if(s.shapeFlag&4){const T=r||n,b=T;L=Ze(p.call(b,T,u,g,x,y,M)),V=a}else{const T=t;L=Ze(T.length>1?T(g,{attrs:a,slots:i,emit:c}):T(g,null)),V=t.props?a:Yl(a)}}catch(T){ss.length=0,Bs(T,e,1),L=H(Pt)}let F=L;if(V&&D!==!1){const T=Object.keys(V),{shapeFlag:b}=F;T.length&&b&7&&(o&&T.some(Pn)&&(V=Ql(V,o)),F=Lt(F,V,!1,!0))}return s.dirs&&(F=Lt(F,null,!1,!0),F.dirs=F.dirs?F.dirs.concat(s.dirs):s.dirs),s.transition&&Bn(F,s.transition),L=F,As(z),L}const Yl=e=>{let t;for(const s in e)(s==="class"||s==="style"||Vs(s))&&((t||(t={}))[s]=e[s]);return t},Ql=(e,t)=>{const s={};for(const n in e)(!Pn(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Jl(e,t,s){const{props:n,children:r,component:o}=e,{props:i,children:a,patchFlag:c}=t,p=o.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&c>=0){if(c&1024)return!0;if(c&16)return n?cr(n,i,p):!!i;if(c&8){const u=t.dynamicProps;for(let g=0;g<u.length;g++){const y=u[g];if(i[y]!==n[y]&&!qs(p,y))return!0}}}else return(r||a)&&(!a||!a.$stable)?!0:n===i?!1:n?i?cr(n,i,p):!0:!!i;return!1}function cr(e,t,s){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let r=0;r<n.length;r++){const o=n[r];if(t[o]!==e[o]&&!qs(s,o))return!0}return!1}function Xl({vnode:e,parent:t},s){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=s,t=t.parent;else break}}const Yo=e=>e.__isSuspense;function Zl(e,t){t&&t.pendingBranch?K(e)?t.effects.push(...e):t.effects.push(e):ll(e)}const me=Symbol.for("v-fgt"),Ws=Symbol.for("v-txt"),Pt=Symbol.for("v-cmt"),Es=Symbol.for("v-stc"),ss=[];let Ve=null;function J(e=!1){ss.push(Ve=e?null:[])}function ea(){ss.pop(),Ve=ss[ss.length-1]||null}let as=1;function ur(e,t=!1){as+=e,e<0&&Ve&&t&&(Ve.hasOnce=!0)}function Qo(e){return e.dynamicChildren=as>0?Ve||Ot:null,ea(),as>0&&Ve&&Ve.push(e),e}function Z(e,t,s,n,r,o){return Qo(l(e,t,s,n,r,o,!0))}function Jo(e,t,s,n,r){return Qo(H(e,t,s,n,r,!0))}function Ds(e){return e?e.__v_isVNode===!0:!1}function Wt(e,t){return e.type===t.type&&e.key===t.key}const Xo=({key:e})=>e??null,Ts=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?be(e)||Ce(e)||Q(e)?{i:Ne,r:e,k:t,f:!!s}:e:null);function l(e,t=null,s=null,n=0,r=null,o=e===me?0:1,i=!1,a=!1){const c={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Xo(t),ref:t&&Ts(t),scopeId:Co,slotScopeIds:null,children:s,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:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:Ne};return a?(qn(c,s),o&128&&e.normalize(c)):s&&(c.shapeFlag|=be(s)?8:16),as>0&&!i&&Ve&&(c.patchFlag>0||o&6)&&c.patchFlag!==32&&Ve.push(c),c}const H=ta;function ta(e,t=null,s=null,n=0,r=null,o=!1){if((!e||e===Sl)&&(e=Pt),Ds(e)){const a=Lt(e,t,!0);return s&&qn(a,s),as>0&&!o&&Ve&&(a.shapeFlag&6?Ve[Ve.indexOf(e)]=a:Ve.push(a)),a.patchFlag=-2,a}if(fa(e)&&(e=e.__vccOpts),t){t=sa(t);let{class:a,style:c}=t;a&&!be(a)&&(t.class=vt(a)),pe(c)&&(Un(c)&&!K(c)&&(c=Ee({},c)),t.style=An(c))}const i=be(e)?1:Yo(e)?128:ul(e)?64:pe(e)?4:Q(e)?2:0;return l(e,t,s,n,r,i,o,!0)}function sa(e){return e?Un(e)||Vo(e)?Ee({},e):e:null}function Lt(e,t,s=!1,n=!1){const{props:r,ref:o,patchFlag:i,children:a,transition:c}=e,p=t?na(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&Xo(p),ref:t&&t.ref?s&&o?K(o)?o.concat(Ts(t)):[o,Ts(t)]:Ts(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==me?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:c,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&Lt(e.ssContent),ssFallback:e.ssFallback&&Lt(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return c&&n&&Bn(u,c.clone(u)),u}function ge(e=" ",t=0){return H(Ws,null,e,t)}function bn(e,t){const s=H(Es,null,e);return s.staticCount=t,s}function Yt(e="",t=!1){return t?(J(),Jo(Pt,null,e)):H(Pt,null,e)}function Ze(e){return e==null||typeof e=="boolean"?H(Pt):K(e)?H(me,null,e.slice()):Ds(e)?mt(e):H(Ws,null,String(e))}function mt(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:Lt(e)}function qn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(K(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),qn(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Vo(t)?t._ctx=Ne:r===3&&Ne&&(Ne.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else Q(t)?(t={default:t,_ctx:Ne},s=32):(t=String(t),n&64?(s=16,t=[ge(t)]):s=8);e.children=t,e.shapeFlag|=s}function na(...e){const t={};for(let s=0;s<e.length;s++){const n=e[s];for(const r in n)if(r==="class")t.class!==n.class&&(t.class=vt([t.class,n.class]));else if(r==="style")t.style=An([t.style,n.style]);else if(Vs(r)){const o=t[r],i=n[r];i&&o!==i&&!(K(o)&&o.includes(i))&&(t[r]=o?[].concat(o,i):i)}else r!==""&&(t[r]=n[r])}return t}function Je(e,t,s,n=null){nt(e,t,7,[s,n])}const ra=Oo();let oa=0;function ia(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||ra,o={uid:oa++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Ii(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(r.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Lo(n,r),emitsOptions:Go(n,r),emit:null,emitted:null,propsDefaults:ue,inheritAttrs:n.inheritAttrs,ctx:ue,data:ue,props:ue,attrs:ue,slots:ue,refs:ue,setupState:ue,setupContext:null,suspense:s,suspenseId:s?s.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Gl.bind(null,o),e.ce&&e.ce(o),o}let Se=null,Ns,vn;{const e=Us(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),o=>{r.length>1?r.forEach(i=>i(o)):r[0](o)}};Ns=t("__VUE_INSTANCE_SETTERS__",s=>Se=s),vn=t("__VUE_SSR_SETTERS__",s=>cs=s)}const ys=e=>{const t=Se;return Ns(e),e.scope.on(),()=>{e.scope.off(),Ns(t)}},dr=()=>{Se&&Se.scope.off(),Ns(null)};function Zo(e){return e.vnode.shapeFlag&4}let cs=!1;function la(e,t=!1,s=!1){t&&vn(t);const{props:n,children:r}=e.vnode,o=Zo(e);Ol(e,n,o,t),jl(e,r,s);const i=o?aa(e,t):void 0;return t&&vn(!1),i}function aa(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,El);const{setup:n}=s;if(n){wt();const r=e.setupContext=n.length>1?ua(e):null,o=ys(e),i=ms(n,e,0,[e.props,r]),a=Yr(i);if(kt(),o(),(a||e.sp)&&!es(e)&&To(e),a){if(i.then(dr,dr),t)return i.then(c=>{fr(e,c)}).catch(c=>{Bs(c,e,0)});e.asyncDep=i}else fr(e,i)}else ei(e)}function fr(e,t,s){Q(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:pe(t)&&(e.setupState=vo(t)),ei(e)}function ei(e,t,s){const n=e.type;e.render||(e.render=n.render||et);{const r=ys(e);wt();try{Tl(e)}finally{kt(),r()}}}const ca={get(e,t){return ke(e,"get",""),e[t]}};function ua(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,ca),slots:e.slots,emit:e.emit,expose:t}}function zs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(vo(Ji(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in ts)return ts[s](e)},has(t,s){return s in t||s in ts}})):e.proxy}function da(e,t=!0){return Q(e)?e.displayName||e.name:e.name||t&&e.__name}function fa(e){return Q(e)&&"__vccOpts"in e}const he=(e,t)=>sl(e,t,cs);function us(e,t,s){const n=arguments.length;return n===2?pe(t)&&!K(t)?Ds(t)?H(e,null,[t]):H(e,t):H(e,null,t):(n>3?s=Array.prototype.slice.call(arguments,2):n===3&&Ds(s)&&(s=[s]),H(e,t,s))}const pa="3.5.13";/**
- * @vue/runtime-dom v3.5.13
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
- * @license MIT
- **/let wn;const pr=typeof window<"u"&&window.trustedTypes;if(pr)try{wn=pr.createPolicy("vue",{createHTML:e=>e})}catch{}const ti=wn?e=>wn.createHTML(e):e=>e,ga="http://www.w3.org/2000/svg",ha="http://www.w3.org/1998/Math/MathML",lt=typeof document<"u"?document:null,gr=lt&<.createElement("template"),ma={insert:(e,t,s)=>{t.insertBefore(e,s||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,s,n)=>{const r=t==="svg"?lt.createElementNS(ga,e):t==="mathml"?lt.createElementNS(ha,e):s?lt.createElement(e,{is:s}):lt.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>lt.createTextNode(e),createComment:e=>lt.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>lt.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,o){const i=s?s.previousSibling:t.lastChild;if(r&&(r===o||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===o||!(r=r.nextSibling)););else{gr.innerHTML=ti(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const a=gr.content;if(n==="svg"||n==="mathml"){const c=a.firstChild;for(;c.firstChild;)a.appendChild(c.firstChild);a.removeChild(c)}t.insertBefore(a,s)}return[i?i.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},ya=Symbol("_vtc");function xa(e,t,s){const n=e[ya];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const hr=Symbol("_vod"),ba=Symbol("_vsh"),va=Symbol(""),wa=/(^|;)\s*display\s*:/;function ka(e,t,s){const n=e.style,r=be(s);let o=!1;if(s&&!r){if(t)if(be(t))for(const i of t.split(";")){const a=i.slice(0,i.indexOf(":")).trim();s[a]==null&&Rs(n,a,"")}else for(const i in t)s[i]==null&&Rs(n,i,"");for(const i in s)i==="display"&&(o=!0),Rs(n,i,s[i])}else if(r){if(t!==s){const i=n[va];i&&(s+=";"+i),n.cssText=s,o=wa.test(s)}}else t&&e.removeAttribute("style");hr in e&&(e[hr]=o?n.display:"",e[ba]&&(n.display="none"))}const mr=/\s*!important$/;function Rs(e,t,s){if(K(s))s.forEach(n=>Rs(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=_a(e,t);mr.test(s)?e.setProperty($t(n),s.replace(mr,""),"important"):e[n]=s}}const yr=["Webkit","Moz","ms"],nn={};function _a(e,t){const s=nn[t];if(s)return s;let n=Be(t);if(n!=="filter"&&n in e)return nn[t]=n;n=Ls(n);for(let r=0;r<yr.length;r++){const o=yr[r]+n;if(o in e)return nn[t]=o}return t}const xr="http://www.w3.org/1999/xlink";function br(e,t,s,n,r,o=Pi(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(xr,t.slice(6,t.length)):e.setAttributeNS(xr,t,s):s==null||o&&!Zr(s)?e.removeAttribute(t):e.setAttribute(t,o?"":st(s)?String(s):s)}function vr(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?ti(s):s);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const a=o==="OPTION"?e.getAttribute("value")||"":e.value,c=s==null?e.type==="checkbox"?"on":"":String(s);(a!==c||!("_value"in e))&&(e.value=c),s==null&&e.removeAttribute(t),e._value=s;return}let i=!1;if(s===""||s==null){const a=typeof e[t];a==="boolean"?s=Zr(s):s==null&&a==="string"?(s="",i=!0):a==="number"&&(s=0,i=!0)}try{e[t]=s}catch{}i&&e.removeAttribute(r||t)}function xt(e,t,s,n){e.addEventListener(t,s,n)}function Sa(e,t,s,n){e.removeEventListener(t,s,n)}const wr=Symbol("_vei");function Ca(e,t,s,n,r=null){const o=e[wr]||(e[wr]={}),i=o[t];if(n&&i)i.value=n;else{const[a,c]=Ea(t);if(n){const p=o[t]=Pa(n,r);xt(e,a,p,c)}else i&&(Sa(e,a,i,c),o[t]=void 0)}}const kr=/(?:Once|Passive|Capture)$/;function Ea(e){let t;if(kr.test(e)){t={};let n;for(;n=e.match(kr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):$t(e.slice(2)),t]}let rn=0;const Ta=Promise.resolve(),Ra=()=>rn||(Ta.then(()=>rn=0),rn=Date.now());function Pa(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;nt($a(n,s.value),t,5,[n])};return s.value=e,s.attached=Ra(),s}function $a(e,t){if(K(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>r=>!r._stopped&&n&&n(r))}else return t}const _r=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ia=(e,t,s,n,r,o)=>{const i=r==="svg";t==="class"?xa(e,n,i):t==="style"?ka(e,s,n):Vs(t)?Pn(t)||Ca(e,t,s,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Aa(e,t,n,i))?(vr(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&br(e,t,n,i,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!be(n))?vr(e,Be(t),n,o,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),br(e,t,n,i))};function Aa(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&_r(t)&&Q(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||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 _r(t)&&be(s)?!1:t in e}const Ut=e=>{const t=e.props["onUpdate:modelValue"]||!1;return K(t)?s=>_s(t,s):t};function Ma(e){e.target.composing=!0}function Sr(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const ut=Symbol("_assign"),we={created(e,{modifiers:{lazy:t,trim:s,number:n}},r){e[ut]=Ut(r);const o=n||r.props&&r.props.type==="number";xt(e,t?"change":"input",i=>{if(i.target.composing)return;let a=e.value;s&&(a=a.trim()),o&&(a=Ps(a)),e[ut](a)}),s&&xt(e,"change",()=>{e.value=e.value.trim()}),t||(xt(e,"compositionstart",Ma),xt(e,"compositionend",Sr),xt(e,"change",Sr))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:r,number:o}},i){if(e[ut]=Ut(i),e.composing)return;const a=(o||e.type==="number")&&!/^0\d/.test(e.value)?Ps(e.value):e.value,c=t??"";a!==c&&(document.activeElement===e&&e.type!=="range"&&(n&&t===s||r&&e.value.trim()===c)||(e.value=c))}},Oa={deep:!0,created(e,t,s){e[ut]=Ut(s),xt(e,"change",()=>{const n=e._modelValue,r=ds(e),o=e.checked,i=e[ut];if(K(n)){const a=Mn(n,r),c=a!==-1;if(o&&!c)i(n.concat(r));else if(!o&&c){const p=[...n];p.splice(a,1),i(p)}}else if(Bt(n)){const a=new Set(n);o?a.add(r):a.delete(r),i(a)}else i(si(e,o))})},mounted:Cr,beforeUpdate(e,t,s){e[ut]=Ut(s),Cr(e,t,s)}};function Cr(e,{value:t,oldValue:s},n){e._modelValue=t;let r;if(K(t))r=Mn(t,n.props.value)>-1;else if(Bt(t))r=t.has(n.props.value);else{if(t===s)return;r=hs(t,si(e,!0))}e.checked!==r&&(e.checked=r)}const Fe={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const r=Bt(t);xt(e,"change",()=>{const o=Array.prototype.filter.call(e.options,i=>i.selected).map(i=>s?Ps(ds(i)):ds(i));e[ut](e.multiple?r?new Set(o):o:o[0]),e._assigning=!0,Fn(()=>{e._assigning=!1})}),e[ut]=Ut(n)},mounted(e,{value:t}){Er(e,t)},beforeUpdate(e,t,s){e[ut]=Ut(s)},updated(e,{value:t}){e._assigning||Er(e,t)}};function Er(e,t){const s=e.multiple,n=K(t);if(!(s&&!n&&!Bt(t))){for(let r=0,o=e.options.length;r<o;r++){const i=e.options[r],a=ds(i);if(s)if(n){const c=typeof a;c==="string"||c==="number"?i.selected=t.some(p=>String(p)===String(a)):i.selected=Mn(t,a)>-1}else i.selected=t.has(a);else if(hs(ds(i),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ds(e){return"_value"in e?e._value:e.value}function si(e,t){const s=t?"_trueValue":"_falseValue";return s in e?e[s]:t}const Da=["ctrl","shift","alt","meta"],Na={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)=>Da.some(s=>e[`${s}Key`]&&!t.includes(s))},kn=(e,t)=>{const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=(r,...o)=>{for(let i=0;i<t.length;i++){const a=Na[t[i]];if(a&&a(r,t))return}return e(r,...o)})},Va=Ee({patchProp:Ia},ma);let Tr;function ja(){return Tr||(Tr=Ul(Va))}const La=(...e)=>{const t=ja().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=Fa(n);if(!r)return;const o=t._component;!Q(o)&&!o.render&&!o.template&&(o.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const i=s(r,!1,Ua(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),i},t};function Ua(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Fa(e){return be(e)?document.querySelector(e):e}const ni=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},Ha={};function Ba(e,t){const s=_l("router-view");return J(),Jo(s)}const Ka=ni(Ha,[["render",Ba]]);/*!
- * vue-router v4.5.0
- * (c) 2024 Eduardo San Martin Morote
- * @license MIT
- */const Mt=typeof document<"u";function ri(e){return typeof e=="object"||"displayName"in e||"props"in e||"__vccOpts"in e}function qa(e){return e.__esModule||e[Symbol.toStringTag]==="Module"||e.default&&ri(e.default)}const se=Object.assign;function on(e,t){const s={};for(const n in t){const r=t[n];s[n]=qe(r)?r.map(e):e(r)}return s}const ns=()=>{},qe=Array.isArray,oi=/#/g,Wa=/&/g,za=/\//g,Ga=/=/g,Ya=/\?/g,ii=/\+/g,Qa=/%5B/g,Ja=/%5D/g,li=/%5E/g,Xa=/%60/g,ai=/%7B/g,Za=/%7C/g,ci=/%7D/g,ec=/%20/g;function Wn(e){return encodeURI(""+e).replace(Za,"|").replace(Qa,"[").replace(Ja,"]")}function tc(e){return Wn(e).replace(ai,"{").replace(ci,"}").replace(li,"^")}function _n(e){return Wn(e).replace(ii,"%2B").replace(ec,"+").replace(oi,"%23").replace(Wa,"%26").replace(Xa,"`").replace(ai,"{").replace(ci,"}").replace(li,"^")}function sc(e){return _n(e).replace(Ga,"%3D")}function nc(e){return Wn(e).replace(oi,"%23").replace(Ya,"%3F")}function rc(e){return e==null?"":nc(e).replace(za,"%2F")}function fs(e){try{return decodeURIComponent(""+e)}catch{}return""+e}const oc=/\/$/,ic=e=>e.replace(oc,"");function ln(e,t,s="/"){let n,r={},o="",i="";const a=t.indexOf("#");let c=t.indexOf("?");return a<c&&a>=0&&(c=-1),c>-1&&(n=t.slice(0,c),o=t.slice(c+1,a>-1?a:t.length),r=e(o)),a>-1&&(n=n||t.slice(0,a),i=t.slice(a,t.length)),n=uc(n??t,s),{fullPath:n+(o&&"?")+o+i,path:n,query:r,hash:fs(i)}}function lc(e,t){const s=t.query?e(t.query):"";return t.path+(s&&"?")+s+(t.hash||"")}function Rr(e,t){return!t||!e.toLowerCase().startsWith(t.toLowerCase())?e:e.slice(t.length)||"/"}function ac(e,t,s){const n=t.matched.length-1,r=s.matched.length-1;return n>-1&&n===r&&Ft(t.matched[n],s.matched[r])&&ui(t.params,s.params)&&e(t.query)===e(s.query)&&t.hash===s.hash}function Ft(e,t){return(e.aliasOf||e)===(t.aliasOf||t)}function ui(e,t){if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const s in e)if(!cc(e[s],t[s]))return!1;return!0}function cc(e,t){return qe(e)?Pr(e,t):qe(t)?Pr(t,e):e===t}function Pr(e,t){return qe(t)?e.length===t.length&&e.every((s,n)=>s===t[n]):e.length===1&&e[0]===t}function uc(e,t){if(e.startsWith("/"))return e;if(!e)return t;const s=t.split("/"),n=e.split("/"),r=n[n.length-1];(r===".."||r===".")&&n.push("");let o=s.length-1,i,a;for(i=0;i<n.length;i++)if(a=n[i],a!==".")if(a==="..")o>1&&o--;else break;return s.slice(0,o).join("/")+"/"+n.slice(i).join("/")}const gt={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var ps;(function(e){e.pop="pop",e.push="push"})(ps||(ps={}));var rs;(function(e){e.back="back",e.forward="forward",e.unknown=""})(rs||(rs={}));function dc(e){if(!e)if(Mt){const t=document.querySelector("base");e=t&&t.getAttribute("href")||"/",e=e.replace(/^\w+:\/\/[^\/]+/,"")}else e="/";return e[0]!=="/"&&e[0]!=="#"&&(e="/"+e),ic(e)}const fc=/^[^#]+#/;function pc(e,t){return e.replace(fc,"#")+t}function gc(e,t){const s=document.documentElement.getBoundingClientRect(),n=e.getBoundingClientRect();return{behavior:t.behavior,left:n.left-s.left-(t.left||0),top:n.top-s.top-(t.top||0)}}const Gs=()=>({left:window.scrollX,top:window.scrollY});function hc(e){let t;if("el"in e){const s=e.el,n=typeof s=="string"&&s.startsWith("#"),r=typeof s=="string"?n?document.getElementById(s.slice(1)):document.querySelector(s):s;if(!r)return;t=gc(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 $r(e,t){return(history.state?history.state.position-t:-1)+e}const Sn=new Map;function mc(e,t){Sn.set(e,t)}function yc(e){const t=Sn.get(e);return Sn.delete(e),t}let xc=()=>location.protocol+"//"+location.host;function di(e,t){const{pathname:s,search:n,hash:r}=t,o=e.indexOf("#");if(o>-1){let a=r.includes(e.slice(o))?e.slice(o).length:1,c=r.slice(a);return c[0]!=="/"&&(c="/"+c),Rr(c,"")}return Rr(s,e)+n+r}function bc(e,t,s,n){let r=[],o=[],i=null;const a=({state:y})=>{const x=di(e,location),M=s.value,D=t.value;let z=0;if(y){if(s.value=x,t.value=y,i&&i===M){i=null;return}z=D?y.position-D.position:0}else n(x);r.forEach(L=>{L(s.value,M,{delta:z,type:ps.pop,direction:z?z>0?rs.forward:rs.back:rs.unknown})})};function c(){i=s.value}function p(y){r.push(y);const x=()=>{const M=r.indexOf(y);M>-1&&r.splice(M,1)};return o.push(x),x}function u(){const{history:y}=window;y.state&&y.replaceState(se({},y.state,{scroll:Gs()}),"")}function g(){for(const y of o)y();o=[],window.removeEventListener("popstate",a),window.removeEventListener("beforeunload",u)}return window.addEventListener("popstate",a),window.addEventListener("beforeunload",u,{passive:!0}),{pauseListeners:c,listen:p,destroy:g}}function Ir(e,t,s,n=!1,r=!1){return{back:e,current:t,forward:s,replaced:n,position:window.history.length,scroll:r?Gs():null}}function vc(e){const{history:t,location:s}=window,n={value:di(e,s)},r={value:t.state};r.value||o(n.value,{back:null,current:n.value,forward:null,position:t.length-1,replaced:!0,scroll:null},!0);function o(c,p,u){const g=e.indexOf("#"),y=g>-1?(s.host&&document.querySelector("base")?e:e.slice(g))+c:xc()+e+c;try{t[u?"replaceState":"pushState"](p,"",y),r.value=p}catch(x){console.error(x),s[u?"replace":"assign"](y)}}function i(c,p){const u=se({},t.state,Ir(r.value.back,c,r.value.forward,!0),p,{position:r.value.position});o(c,u,!0),n.value=c}function a(c,p){const u=se({},r.value,t.state,{forward:c,scroll:Gs()});o(u.current,u,!0);const g=se({},Ir(n.value,c,null),{position:u.position+1},p);o(c,g,!1),n.value=c}return{location:n,state:r,push:a,replace:i}}function wc(e){e=dc(e);const t=vc(e),s=bc(e,t.state,t.location,t.replace);function n(o,i=!0){i||s.pauseListeners(),history.go(o)}const r=se({location:"",base:e,go:n,createHref:pc.bind(null,e)},t,s);return Object.defineProperty(r,"location",{enumerable:!0,get:()=>t.location.value}),Object.defineProperty(r,"state",{enumerable:!0,get:()=>t.state.value}),r}function kc(e){return e=location.host?e||location.pathname+location.search:"",e.includes("#")||(e+="#"),wc(e)}function _c(e){return typeof e=="string"||e&&typeof e=="object"}function fi(e){return typeof e=="string"||typeof e=="symbol"}const pi=Symbol("");var Ar;(function(e){e[e.aborted=4]="aborted",e[e.cancelled=8]="cancelled",e[e.duplicated=16]="duplicated"})(Ar||(Ar={}));function Ht(e,t){return se(new Error,{type:e,[pi]:!0},t)}function it(e,t){return e instanceof Error&&pi in e&&(t==null||!!(e.type&t))}const Mr="[^/]+?",Sc={sensitive:!1,strict:!1,start:!0,end:!0},Cc=/[.+*?^${}()[\]/\\]/g;function Ec(e,t){const s=se({},Sc,t),n=[];let r=s.start?"^":"";const o=[];for(const p of e){const u=p.length?[]:[90];s.strict&&!p.length&&(r+="/");for(let g=0;g<p.length;g++){const y=p[g];let x=40+(s.sensitive?.25:0);if(y.type===0)g||(r+="/"),r+=y.value.replace(Cc,"\\$&"),x+=40;else if(y.type===1){const{value:M,repeatable:D,optional:z,regexp:L}=y;o.push({name:M,repeatable:D,optional:z});const V=L||Mr;if(V!==Mr){x+=10;try{new RegExp(`(${V})`)}catch(T){throw new Error(`Invalid custom RegExp for param "${M}" (${V}): `+T.message)}}let F=D?`((?:${V})(?:/(?:${V}))*)`:`(${V})`;g||(F=z&&p.length<2?`(?:/${F})`:"/"+F),z&&(F+="?"),r+=F,x+=20,z&&(x+=-8),D&&(x+=-20),V===".*"&&(x+=-50)}u.push(x)}n.push(u)}if(s.strict&&s.end){const p=n.length-1;n[p][n[p].length-1]+=.7000000000000001}s.strict||(r+="/?"),s.end?r+="$":s.strict&&!r.endsWith("/")&&(r+="(?:/|$)");const i=new RegExp(r,s.sensitive?"":"i");function a(p){const u=p.match(i),g={};if(!u)return null;for(let y=1;y<u.length;y++){const x=u[y]||"",M=o[y-1];g[M.name]=x&&M.repeatable?x.split("/"):x}return g}function c(p){let u="",g=!1;for(const y of e){(!g||!u.endsWith("/"))&&(u+="/"),g=!1;for(const x of y)if(x.type===0)u+=x.value;else if(x.type===1){const{value:M,repeatable:D,optional:z}=x,L=M in p?p[M]:"";if(qe(L)&&!D)throw new Error(`Provided param "${M}" is an array but it is not repeatable (* or + modifiers)`);const V=qe(L)?L.join("/"):L;if(!V)if(z)y.length<2&&(u.endsWith("/")?u=u.slice(0,-1):g=!0);else throw new Error(`Missing required param "${M}"`);u+=V}}return u||"/"}return{re:i,score:n,keys:o,parse:a,stringify:c}}function Tc(e,t){let s=0;for(;s<e.length&&s<t.length;){const n=t[s]-e[s];if(n)return n;s++}return e.length<t.length?e.length===1&&e[0]===80?-1:1:e.length>t.length?t.length===1&&t[0]===80?1:-1:0}function gi(e,t){let s=0;const n=e.score,r=t.score;for(;s<n.length&&s<r.length;){const o=Tc(n[s],r[s]);if(o)return o;s++}if(Math.abs(r.length-n.length)===1){if(Or(n))return 1;if(Or(r))return-1}return r.length-n.length}function Or(e){const t=e[e.length-1];return e.length>0&&t[t.length-1]<0}const Rc={type:0,value:""},Pc=/[a-zA-Z0-9_]/;function $c(e){if(!e)return[[]];if(e==="/")return[[Rc]];if(!e.startsWith("/"))throw new Error(`Invalid path "${e}"`);function t(x){throw new Error(`ERR (${s})/"${p}": ${x}`)}let s=0,n=s;const r=[];let o;function i(){o&&r.push(o),o=[]}let a=0,c,p="",u="";function g(){p&&(s===0?o.push({type:0,value:p}):s===1||s===2||s===3?(o.length>1&&(c==="*"||c==="+")&&t(`A repeatable param (${p}) must be alone in its segment. eg: '/:ids+.`),o.push({type:1,value:p,regexp:u,repeatable:c==="*"||c==="+",optional:c==="*"||c==="?"})):t("Invalid state to consume buffer"),p="")}function y(){p+=c}for(;a<e.length;){if(c=e[a++],c==="\\"&&s!==2){n=s,s=4;continue}switch(s){case 0:c==="/"?(p&&g(),i()):c===":"?(g(),s=1):y();break;case 4:y(),s=n;break;case 1:c==="("?s=2:Pc.test(c)?y():(g(),s=0,c!=="*"&&c!=="?"&&c!=="+"&&a--);break;case 2:c===")"?u[u.length-1]=="\\"?u=u.slice(0,-1)+c:s=3:u+=c;break;case 3:g(),s=0,c!=="*"&&c!=="?"&&c!=="+"&&a--,u="";break;default:t("Unknown state");break}}return s===2&&t(`Unfinished custom RegExp for param "${p}"`),g(),i(),r}function Ic(e,t,s){const n=Ec($c(e.path),s),r=se(n,{record:e,parent:t,children:[],alias:[]});return t&&!r.record.aliasOf==!t.record.aliasOf&&t.children.push(r),r}function Ac(e,t){const s=[],n=new Map;t=jr({strict:!1,end:!0,sensitive:!1},t);function r(g){return n.get(g)}function o(g,y,x){const M=!x,D=Nr(g);D.aliasOf=x&&x.record;const z=jr(t,g),L=[D];if("alias"in g){const T=typeof g.alias=="string"?[g.alias]:g.alias;for(const b of T)L.push(Nr(se({},D,{components:x?x.record.components:D.components,path:b,aliasOf:x?x.record:D})))}let V,F;for(const T of L){const{path:b}=T;if(y&&b[0]!=="/"){const v=y.record.path,j=v[v.length-1]==="/"?"":"/";T.path=y.record.path+(b&&j+b)}if(V=Ic(T,y,z),x?x.alias.push(V):(F=F||V,F!==V&&F.alias.push(V),M&&g.name&&!Vr(V)&&i(g.name)),hi(V)&&c(V),D.children){const v=D.children;for(let j=0;j<v.length;j++)o(v[j],V,x&&x.children[j])}x=x||V}return F?()=>{i(F)}:ns}function i(g){if(fi(g)){const y=n.get(g);y&&(n.delete(g),s.splice(s.indexOf(y),1),y.children.forEach(i),y.alias.forEach(i))}else{const y=s.indexOf(g);y>-1&&(s.splice(y,1),g.record.name&&n.delete(g.record.name),g.children.forEach(i),g.alias.forEach(i))}}function a(){return s}function c(g){const y=Dc(g,s);s.splice(y,0,g),g.record.name&&!Vr(g)&&n.set(g.record.name,g)}function p(g,y){let x,M={},D,z;if("name"in g&&g.name){if(x=n.get(g.name),!x)throw Ht(1,{location:g});z=x.record.name,M=se(Dr(y.params,x.keys.filter(F=>!F.optional).concat(x.parent?x.parent.keys.filter(F=>F.optional):[]).map(F=>F.name)),g.params&&Dr(g.params,x.keys.map(F=>F.name))),D=x.stringify(M)}else if(g.path!=null)D=g.path,x=s.find(F=>F.re.test(D)),x&&(M=x.parse(D),z=x.record.name);else{if(x=y.name?n.get(y.name):s.find(F=>F.re.test(y.path)),!x)throw Ht(1,{location:g,currentLocation:y});z=x.record.name,M=se({},y.params,g.params),D=x.stringify(M)}const L=[];let V=x;for(;V;)L.unshift(V.record),V=V.parent;return{name:z,path:D,params:M,matched:L,meta:Oc(L)}}e.forEach(g=>o(g));function u(){s.length=0,n.clear()}return{addRoute:o,resolve:p,removeRoute:i,clearRoutes:u,getRoutes:a,getRecordMatcher:r}}function Dr(e,t){const s={};for(const n of t)n in e&&(s[n]=e[n]);return s}function Nr(e){const t={path:e.path,redirect:e.redirect,name:e.name,meta:e.meta||{},aliasOf:e.aliasOf,beforeEnter:e.beforeEnter,props:Mc(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 Mc(e){const t={},s=e.props||!1;if("component"in e)t.default=s;else for(const n in e.components)t[n]=typeof s=="object"?s[n]:s;return t}function Vr(e){for(;e;){if(e.record.aliasOf)return!0;e=e.parent}return!1}function Oc(e){return e.reduce((t,s)=>se(t,s.meta),{})}function jr(e,t){const s={};for(const n in e)s[n]=n in t?t[n]:e[n];return s}function Dc(e,t){let s=0,n=t.length;for(;s!==n;){const o=s+n>>1;gi(e,t[o])<0?n=o:s=o+1}const r=Nc(e);return r&&(n=t.lastIndexOf(r,n-1)),n}function Nc(e){let t=e;for(;t=t.parent;)if(hi(t)&&gi(e,t)===0)return t}function hi({record:e}){return!!(e.name||e.components&&Object.keys(e.components).length||e.redirect)}function Vc(e){const t={};if(e===""||e==="?")return t;const n=(e[0]==="?"?e.slice(1):e).split("&");for(let r=0;r<n.length;++r){const o=n[r].replace(ii," "),i=o.indexOf("="),a=fs(i<0?o:o.slice(0,i)),c=i<0?null:fs(o.slice(i+1));if(a in t){let p=t[a];qe(p)||(p=t[a]=[p]),p.push(c)}else t[a]=c}return t}function Lr(e){let t="";for(let s in e){const n=e[s];if(s=sc(s),n==null){n!==void 0&&(t+=(t.length?"&":"")+s);continue}(qe(n)?n.map(o=>o&&_n(o)):[n&&_n(n)]).forEach(o=>{o!==void 0&&(t+=(t.length?"&":"")+s,o!=null&&(t+="="+o))})}return t}function jc(e){const t={};for(const s in e){const n=e[s];n!==void 0&&(t[s]=qe(n)?n.map(r=>r==null?null:""+r):n==null?n:""+n)}return t}const Lc=Symbol(""),Ur=Symbol(""),Ys=Symbol(""),mi=Symbol(""),Cn=Symbol("");function zt(){let e=[];function t(n){return e.push(n),()=>{const r=e.indexOf(n);r>-1&&e.splice(r,1)}}function s(){e=[]}return{add:t,list:()=>e.slice(),reset:s}}function yt(e,t,s,n,r,o=i=>i()){const i=n&&(n.enterCallbacks[r]=n.enterCallbacks[r]||[]);return()=>new Promise((a,c)=>{const p=y=>{y===!1?c(Ht(4,{from:s,to:t})):y instanceof Error?c(y):_c(y)?c(Ht(2,{from:t,to:y})):(i&&n.enterCallbacks[r]===i&&typeof y=="function"&&i.push(y),a())},u=o(()=>e.call(n&&n.instances[r],t,s,p));let g=Promise.resolve(u);e.length<3&&(g=g.then(p)),g.catch(y=>c(y))})}function an(e,t,s,n,r=o=>o()){const o=[];for(const i of e)for(const a in i.components){let c=i.components[a];if(!(t!=="beforeRouteEnter"&&!i.instances[a]))if(ri(c)){const u=(c.__vccOpts||c)[t];u&&o.push(yt(u,s,n,i,a,r))}else{let p=c();o.push(()=>p.then(u=>{if(!u)throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);const g=qa(u)?u.default:u;i.mods[a]=u,i.components[a]=g;const x=(g.__vccOpts||g)[t];return x&&yt(x,s,n,i,a,r)()}))}}return o}function Fr(e){const t=tt(Ys),s=tt(mi),n=he(()=>{const c=Y(e.to);return t.resolve(c)}),r=he(()=>{const{matched:c}=n.value,{length:p}=c,u=c[p-1],g=s.matched;if(!u||!g.length)return-1;const y=g.findIndex(Ft.bind(null,u));if(y>-1)return y;const x=Hr(c[p-2]);return p>1&&Hr(u)===x&&g[g.length-1].path!==x?g.findIndex(Ft.bind(null,c[p-2])):y}),o=he(()=>r.value>-1&&Kc(s.params,n.value.params)),i=he(()=>r.value>-1&&r.value===s.matched.length-1&&ui(s.params,n.value.params));function a(c={}){if(Bc(c)){const p=t[Y(e.replace)?"replace":"push"](Y(e.to)).catch(ns);return e.viewTransition&&typeof document<"u"&&"startViewTransition"in document&&document.startViewTransition(()=>p),p}return Promise.resolve()}return{route:n,href:he(()=>n.value.href),isActive:o,isExactActive:i,navigate:a}}function Uc(e){return e.length===1?e[0]:e}const Fc=Eo({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"}},useLink:Fr,setup(e,{slots:t}){const s=Hs(Fr(e)),{options:n}=tt(Ys),r=he(()=>({[Br(e.activeClass,n.linkActiveClass,"router-link-active")]:s.isActive,[Br(e.exactActiveClass,n.linkExactActiveClass,"router-link-exact-active")]:s.isExactActive}));return()=>{const o=t.default&&Uc(t.default(s));return e.custom?o:us("a",{"aria-current":s.isExactActive?e.ariaCurrentValue:null,href:s.href,onClick:s.navigate,class:r.value},o)}}}),Hc=Fc;function Bc(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 Kc(e,t){for(const s in t){const n=t[s],r=e[s];if(typeof n=="string"){if(n!==r)return!1}else if(!qe(r)||r.length!==n.length||n.some((o,i)=>o!==r[i]))return!1}return!0}function Hr(e){return e?e.aliasOf?e.aliasOf.path:e.path:""}const Br=(e,t,s)=>e??t??s,qc=Eo({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(e,{attrs:t,slots:s}){const n=tt(Cn),r=he(()=>e.route||n.value),o=tt(Ur,0),i=he(()=>{let p=Y(o);const{matched:u}=r.value;let g;for(;(g=u[p])&&!g.components;)p++;return p}),a=he(()=>r.value.matched[i.value]);Ss(Ur,he(()=>i.value+1)),Ss(Lc,a),Ss(Cn,r);const c=ae();return Cs(()=>[c.value,a.value,e.name],([p,u,g],[y,x,M])=>{u&&(u.instances[g]=p,x&&x!==u&&p&&p===y&&(u.leaveGuards.size||(u.leaveGuards=x.leaveGuards),u.updateGuards.size||(u.updateGuards=x.updateGuards))),p&&u&&(!x||!Ft(u,x)||!y)&&(u.enterCallbacks[g]||[]).forEach(D=>D(p))},{flush:"post"}),()=>{const p=r.value,u=e.name,g=a.value,y=g&&g.components[u];if(!y)return Kr(s.default,{Component:y,route:p});const x=g.props[u],M=x?x===!0?p.params:typeof x=="function"?x(p):x:null,z=us(y,se({},M,t,{onVnodeUnmounted:L=>{L.component.isUnmounted&&(g.instances[u]=null)},ref:c}));return Kr(s.default,{Component:z,route:p})||z}}});function Kr(e,t){if(!e)return null;const s=e(t);return s.length===1?s[0]:s}const Wc=qc;function zc(e){const t=Ac(e.routes,e),s=e.parseQuery||Vc,n=e.stringifyQuery||Lr,r=e.history,o=zt(),i=zt(),a=zt(),c=Xi(gt);let p=gt;Mt&&e.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const u=on.bind(null,_=>""+_),g=on.bind(null,rc),y=on.bind(null,fs);function x(_,N){let A,U;return fi(_)?(A=t.getRecordMatcher(_),U=N):U=_,t.addRoute(U,A)}function M(_){const N=t.getRecordMatcher(_);N&&t.removeRoute(N)}function D(){return t.getRoutes().map(_=>_.record)}function z(_){return!!t.getRecordMatcher(_)}function L(_,N){if(N=se({},N||c.value),typeof _=="string"){const m=ln(s,_,N.path),k=t.resolve({path:m.path},N),C=r.createHref(m.fullPath);return se(m,k,{params:y(k.params),hash:fs(m.hash),redirectedFrom:void 0,href:C})}let A;if(_.path!=null)A=se({},_,{path:ln(s,_.path,N.path).path});else{const m=se({},_.params);for(const k in m)m[k]==null&&delete m[k];A=se({},_,{params:g(m)}),N.params=g(N.params)}const U=t.resolve(A,N),ce=_.hash||"";U.params=u(y(U.params));const d=lc(n,se({},_,{hash:tc(ce),path:U.path})),f=r.createHref(d);return se({fullPath:d,hash:ce,query:n===Lr?jc(_.query):_.query||{}},U,{redirectedFrom:void 0,href:f})}function V(_){return typeof _=="string"?ln(s,_,c.value.path):se({},_)}function F(_,N){if(p!==_)return Ht(8,{from:N,to:_})}function T(_){return j(_)}function b(_){return T(se(V(_),{replace:!0}))}function v(_){const N=_.matched[_.matched.length-1];if(N&&N.redirect){const{redirect:A}=N;let U=typeof A=="function"?A(_):A;return typeof U=="string"&&(U=U.includes("?")||U.includes("#")?U=V(U):{path:U},U.params={}),se({query:_.query,hash:_.hash,params:U.path!=null?{}:_.params},U)}}function j(_,N){const A=p=L(_),U=c.value,ce=_.state,d=_.force,f=_.replace===!0,m=v(A);if(m)return j(se(V(m),{state:typeof m=="object"?se({},ce,m.state):ce,force:d,replace:f}),N||A);const k=A;k.redirectedFrom=N;let C;return!d&&ac(n,U,A)&&(C=Ht(16,{to:k,from:U}),ee(U,U,!0,!1)),(C?Promise.resolve(C):je(k,U)).catch(S=>it(S)?it(S,2)?S:w(S):R(S,k,U)).then(S=>{if(S){if(it(S,2))return j(se({replace:f},V(S.to),{state:typeof S.to=="object"?se({},ce,S.to.state):ce,force:d}),N||k)}else S=rt(k,U,!0,f,ce);return ze(k,U,S),S})}function ve(_,N){const A=F(_,N);return A?Promise.reject(A):Promise.resolve()}function We(_){const N=pt.values().next().value;return N&&typeof N.runWithContext=="function"?N.runWithContext(_):_()}function je(_,N){let A;const[U,ce,d]=Gc(_,N);A=an(U.reverse(),"beforeRouteLeave",_,N);for(const m of U)m.leaveGuards.forEach(k=>{A.push(yt(k,_,N))});const f=ve.bind(null,_,N);return A.push(f),Ue(A).then(()=>{A=[];for(const m of o.list())A.push(yt(m,_,N));return A.push(f),Ue(A)}).then(()=>{A=an(ce,"beforeRouteUpdate",_,N);for(const m of ce)m.updateGuards.forEach(k=>{A.push(yt(k,_,N))});return A.push(f),Ue(A)}).then(()=>{A=[];for(const m of d)if(m.beforeEnter)if(qe(m.beforeEnter))for(const k of m.beforeEnter)A.push(yt(k,_,N));else A.push(yt(m.beforeEnter,_,N));return A.push(f),Ue(A)}).then(()=>(_.matched.forEach(m=>m.enterCallbacks={}),A=an(d,"beforeRouteEnter",_,N,We),A.push(f),Ue(A))).then(()=>{A=[];for(const m of i.list())A.push(yt(m,_,N));return A.push(f),Ue(A)}).catch(m=>it(m,8)?m:Promise.reject(m))}function ze(_,N,A){a.list().forEach(U=>We(()=>U(_,N,A)))}function rt(_,N,A,U,ce){const d=F(_,N);if(d)return d;const f=N===gt,m=Mt?history.state:{};A&&(U||f?r.replace(_.fullPath,se({scroll:f&&m&&m.scroll},ce)):r.push(_.fullPath,ce)),c.value=_,ee(_,N,A,f),w()}let Le;function _t(){Le||(Le=r.listen((_,N,A)=>{if(!xs.listening)return;const U=L(_),ce=v(U);if(ce){j(se(ce,{replace:!0,force:!0}),U).catch(ns);return}p=U;const d=c.value;Mt&&mc($r(d.fullPath,A.delta),Gs()),je(U,d).catch(f=>it(f,12)?f:it(f,2)?(j(se(V(f.to),{force:!0}),U).then(m=>{it(m,20)&&!A.delta&&A.type===ps.pop&&r.go(-1,!1)}).catch(ns),Promise.reject()):(A.delta&&r.go(-A.delta,!1),R(f,U,d))).then(f=>{f=f||rt(U,d,!1),f&&(A.delta&&!it(f,8)?r.go(-A.delta,!1):A.type===ps.pop&&it(f,20)&&r.go(-1,!1)),ze(U,d,f)}).catch(ns)}))}let ft=zt(),xe=zt(),te;function R(_,N,A){w(_);const U=xe.list();return U.length?U.forEach(ce=>ce(_,N,A)):console.error(_),Promise.reject(_)}function h(){return te&&c.value!==gt?Promise.resolve():new Promise((_,N)=>{ft.add([_,N])})}function w(_){return te||(te=!_,_t(),ft.list().forEach(([N,A])=>_?A(_):N()),ft.reset()),_}function ee(_,N,A,U){const{scrollBehavior:ce}=e;if(!Mt||!ce)return Promise.resolve();const d=!A&&yc($r(_.fullPath,0))||(U||!A)&&history.state&&history.state.scroll||null;return Fn().then(()=>ce(_,N,d)).then(f=>f&&hc(f)).catch(f=>R(f,_,N))}const ie=_=>r.go(_);let Te;const pt=new Set,xs={currentRoute:c,listening:!0,addRoute:x,removeRoute:M,clearRoutes:t.clearRoutes,hasRoute:z,getRoutes:D,resolve:L,options:e,push:T,replace:b,go:ie,back:()=>ie(-1),forward:()=>ie(1),beforeEach:o.add,beforeResolve:i.add,afterEach:a.add,onError:xe.add,isReady:h,install(_){const N=this;_.component("RouterLink",Hc),_.component("RouterView",Wc),_.config.globalProperties.$router=N,Object.defineProperty(_.config.globalProperties,"$route",{enumerable:!0,get:()=>Y(c)}),Mt&&!Te&&c.value===gt&&(Te=!0,T(r.location).catch(ce=>{}));const A={};for(const ce in gt)Object.defineProperty(A,ce,{get:()=>c.value[ce],enumerable:!0});_.provide(Ys,N),_.provide(mi,yo(A)),_.provide(Cn,c);const U=_.unmount;pt.add(_),_.unmount=function(){pt.delete(_),pt.size<1&&(p=gt,Le&&Le(),Le=null,c.value=gt,Te=!1,te=!1),U()}}};function Ue(_){return _.reduce((N,A)=>N.then(()=>We(A)),Promise.resolve())}return xs}function Gc(e,t){const s=[],n=[],r=[],o=Math.max(t.matched.length,e.matched.length);for(let i=0;i<o;i++){const a=t.matched[i];a&&(e.matched.find(p=>Ft(p,a))?n.push(a):s.push(a));const c=e.matched[i];c&&(t.matched.find(p=>Ft(p,c))||r.push(c))}return[s,n,r]}function Yc(){return tt(Ys)}/**
- * @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 Qc=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 ks={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 Jc=({size:e,strokeWidth:t=2,absoluteStrokeWidth:s,color:n,iconNode:r,name:o,class:i,...a},{slots:c})=>us("svg",{...ks,width:e||ks.width,height:e||ks.height,stroke:n||ks.stroke,"stroke-width":s?Number(t)*24/Number(e):t,class:["lucide",`lucide-${Qc(o??"icon")}`],...a},[...r.map(p=>us(...p)),...c.default?[c.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 ye=(e,t)=>(s,{slots:n})=>us(Jc,{...s,iconNode:t,name:e},n);/**
- * @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 Xc=ye("ActivityIcon",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]]);/**
- * @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 cn=ye("BookOpenIcon",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]]);/**
- * @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 Zc=ye("ChevronLeftIcon",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
- * @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 eu=ye("ChevronRightIcon",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
- * @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 tu=ye("CircleCheckBigIcon",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
- * @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 su=ye("CirclePlusIcon",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]]);/**
- * @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 qr=ye("ClipboardListIcon",[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]]);/**
- * @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=ye("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 En=ye("DownloadIcon",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"7 10 12 15 17 10",key:"2ggqvy"}],["line",{x1:"12",x2:"12",y1:"15",y2:"3",key:"1vk2je"}]]);/**
- * @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 Tn=ye("EyeIcon",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
- * @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 ru=ye("PlusIcon",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]);/**
- * @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 ou=ye("RepeatIcon",[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]]);/**
- * @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 Wr=ye("SaveIcon",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]);/**
- * @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 zn=ye("SearchIcon",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
- * @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=ye("ShoppingCartIcon",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/**
- * @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 zr=ye("SquarePenIcon",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]]);/**
- * @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=ye("StarIcon",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);/**
- * @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 Gr=ye("Trash2Icon",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
- * @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 yi=ye("UserIcon",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]);/**
- * @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 xi=ye("UsersIcon",[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["path",{d:"M16 3.13a4 4 0 0 1 0 7.75",key:"1da9ce"}]]);/**
- * @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 Qt=ye("XIcon",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),au={class:"min-h-screen bg-gray-50 dark:bg-gray-900 p-6"},cu={class:"flex justify-between items-center mb-6"},uu={class:"flex space-x-4"},du={class:"grid grid-cols-1 md:grid-cols-4 gap-6 mb-6"},fu={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6"},pu={class:"mt-2 text-3xl font-bold text-indigo-600"},gu={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6"},hu={class:"mt-2 text-3xl font-bold text-green-600"},mu={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6"},yu={class:"mt-2 text-3xl font-bold text-yellow-600"},xu={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6"},bu={class:"mt-2 text-3xl font-bold text-red-600"},vu={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6 mb-6"},wu={class:"grid grid-cols-1 md:grid-cols-4 gap-4"},ku=["value"],_u={class:"flex space-x-2"},Su={class:"mt-1 relative rounded-md shadow-sm"},Cu={class:"absolute inset-y-0 right-0 pr-3 flex items-center pointer-events-none"},Eu={class:"bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden"},Tu={class:"min-w-full divide-y divide-gray-200 dark:divide-gray-700"},Ru={class:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700"},Pu={class:"px-6 py-4 whitespace-nowrap"},$u={class:"flex items-center"},Iu={class:"flex-shrink-0 h-10 w-10"},Au={class:"h-10 w-10 rounded-full bg-gray-200 flex items-center justify-center"},Mu={class:"ml-4"},Ou={class:"text-sm font-medium text-gray-900 dark:text-white"},Du={class:"text-sm text-gray-500 dark:text-gray-400"},Nu={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-400"},Vu={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-400"},ju={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-400"},Lu={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-400"},Uu={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-400"},Fu={class:"px-6 py-4 whitespace-nowrap text-sm font-medium text-gray-900 dark:text-white"},Hu={class:"px-6 py-4 whitespace-nowrap"},Bu={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-500 dark:text-gray-400"},Ku=["onClick"],qu=["onClick"],Wu={key:0,class:"fixed inset-0 bg-gray-500 bg-opacity-75 flex items-center justify-center z-50"},zu={class:"bg-white dark:bg-gray-800 rounded-lg shadow-xl max-w-2xl w-full"},Gu={class:"p-6"},Yu={class:"flex justify-between items-center mb-6"},Qu={class:"grid grid-cols-1 md:grid-cols-2 gap-6"},Ju=["value"],Xu={class:"md:col-span-2"},Zu={class:"flex justify-end space-x-3"},ed={__name:"SalaryManagementView",setup(e){const t=ae([{id:"S202401010001",employee:{id:"E001",name:"张三",departmentId:"D001"},baseSalary:1e4,bonus:2e3,overtimePay:1e3,allowance:500,deduction:300,netSalary:13200,status:"paid",month:"2024-01"},{id:"S202401010002",employee:{id:"E002",name:"李四",departmentId:"D002"},baseSalary:8e3,bonus:1500,overtimePay:800,allowance:400,deduction:200,netSalary:10500,status:"pending",month:"2024-01"},{id:"S202401010003",employee:{id:"E003",name:"王五",departmentId:"D003"},baseSalary:12e3,bonus:3e3,overtimePay:1500,allowance:600,deduction:400,netSalary:16700,status:"paid",month:"2024-01"},{id:"S202401010004",employee:{id:"E004",name:"赵六",departmentId:"D001"},baseSalary:9e3,bonus:1800,overtimePay:900,allowance:450,deduction:250,netSalary:11900,status:"cancelled",month:"2024-01"}]),s=ae([{id:"E001",name:"张三",departmentId:"D001",position:"高级工程师",baseSalary:1e4},{id:"E002",name:"李四",departmentId:"D002",position:"市场经理",baseSalary:8e3},{id:"E003",name:"王五",departmentId:"D003",position:"人事总监",baseSalary:12e3},{id:"E004",name:"赵六",departmentId:"D001",position:"前端工程师",baseSalary:9e3}]),n=ae([{id:"D001",name:"技术部"},{id:"D002",name:"市场部"},{id:"D003",name:"人事部"},{id:"D004",name:"财务部"}]),r=ae(""),o=ae({month:"2024-01",department:"",minSalary:"",maxSalary:""}),i=ae(!1),a=ae({employeeId:"",type:"base",amount:0,effectiveDate:"",reason:""}),c=he(()=>t.value.filter(T=>{const b=!r.value||T.employee.name.toLowerCase().includes(r.value.toLowerCase()),v=!o.value.month||T.month===o.value.month,j=!o.value.department||T.employee.departmentId===o.value.department,ve=(!o.value.minSalary||T.netSalary>=Number(o.value.minSalary))&&(!o.value.maxSalary||T.netSalary<=Number(o.value.maxSalary));return b&&v&&j&&ve})),p=he(()=>c.value.reduce((T,b)=>T+b.netSalary,0)),u=he(()=>c.value.length>0?Math.round(p.value/c.value.length):0),g=he(()=>c.value.length>0?Math.max(...c.value.map(T=>T.netSalary)):0),y=he(()=>c.value.length>0?Math.min(...c.value.map(T=>T.netSalary)):0),x=T=>{const b=n.value.find(v=>v.id===T);return b?b.name:"未知部门"},M=T=>({paid:"bg-green-100 text-green-800 dark:bg-green-900 dark:text-green-200",pending:"bg-yellow-100 text-yellow-800 dark:bg-yellow-900 dark:text-yellow-200",cancelled:"bg-red-100 text-red-800 dark:bg-red-900 dark:text-red-200"})[T]||"bg-gray-100 text-gray-800 dark:bg-gray-900 dark:text-gray-200",D=T=>({paid:"已发放",pending:"待发放",cancelled:"已取消"})[T]||"未知",z=T=>{console.log("查看薪资:",T)},L=T=>{a.value.employeeId=T.employee.id,i.value=!0},V=()=>{console.log("提交薪资调整:",a.value),i.value=!1,a.value={employeeId:"",type:"base",amount:0,effectiveDate:"",reason:""}},F=()=>{console.log("发放薪资"),t.value=t.value.map(T=>T.status==="pending"?{...T,status:"paid"}:T)};return(T,b)=>(J(),Z("div",au,[l("div",cu,[b[15]||(b[15]=l("h1",{class:"text-2xl font-bold text-gray-900 dark:text-white"},"薪资管理",-1)),l("div",uu,[l("button",{onClick:b[0]||(b[0]=v=>i.value=!0),class:"px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},[H(Y(ru),{class:"h-5 w-5 inline-block mr-2"}),b[13]||(b[13]=ge(" 薪资调整 "))]),l("button",{onClick:F,class:"px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"},[H(Y(En),{class:"h-5 w-5 inline-block mr-2"}),b[14]||(b[14]=ge(" 发放薪资 "))])])]),l("div",du,[l("div",fu,[b[16]||(b[16]=l("h3",{class:"text-lg font-medium text-gray-900 dark:text-white"},"本月总薪资",-1)),l("p",pu,"¥"+W(p.value),1),b[17]||(b[17]=l("p",{class:"mt-1 text-sm text-gray-500 dark:text-gray-400"},"本月",-1))]),l("div",gu,[b[18]||(b[18]=l("h3",{class:"text-lg font-medium text-gray-900 dark:text-white"},"平均薪资",-1)),l("p",hu,"¥"+W(u.value),1),b[19]||(b[19]=l("p",{class:"mt-1 text-sm text-gray-500 dark:text-gray-400"},"本月",-1))]),l("div",mu,[b[20]||(b[20]=l("h3",{class:"text-lg font-medium text-gray-900 dark:text-white"},"最高薪资",-1)),l("p",yu,"¥"+W(g.value),1),b[21]||(b[21]=l("p",{class:"mt-1 text-sm text-gray-500 dark:text-gray-400"},"本月",-1))]),l("div",xu,[b[22]||(b[22]=l("h3",{class:"text-lg font-medium text-gray-900 dark:text-white"},"最低薪资",-1)),l("p",bu,"¥"+W(y.value),1),b[23]||(b[23]=l("p",{class:"mt-1 text-sm text-gray-500 dark:text-gray-400"},"本月",-1))])]),l("div",vu,[l("div",wu,[l("div",null,[b[24]||(b[24]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300"},"月份",-1)),ne(l("input",{type:"month","onUpdate:modelValue":b[1]||(b[1]=v=>o.value.month=v),class:"mt-1 block w-full border border-gray-300 dark:border-gray-600 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm dark:bg-gray-700 dark:text-white"},null,512),[[we,o.value.month]])]),l("div",null,[b[26]||(b[26]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300"},"部门",-1)),ne(l("select",{"onUpdate:modelValue":b[2]||(b[2]=v=>o.value.department=v),class:"mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 dark:border-gray-600 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md dark:bg-gray-700 dark:text-white"},[b[25]||(b[25]=l("option",{value:""},"所有部门",-1)),(J(!0),Z(me,null,De(n.value,v=>(J(),Z("option",{key:v.id,value:v.id},W(v.name),9,ku))),128))],512),[[Fe,o.value.department]])]),l("div",null,[b[27]||(b[27]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300"},"薪资范围",-1)),l("div",_u,[ne(l("input",{type:"number","onUpdate:modelValue":b[3]||(b[3]=v=>o.value.minSalary=v),placeholder:"最低",class:"mt-1 block w-full border border-gray-300 dark:border-gray-600 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm dark:bg-gray-700 dark:text-white"},null,512),[[we,o.value.minSalary]]),ne(l("input",{type:"number","onUpdate:modelValue":b[4]||(b[4]=v=>o.value.maxSalary=v),placeholder:"最高",class:"mt-1 block w-full border border-gray-300 dark:border-gray-600 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm dark:bg-gray-700 dark:text-white"},null,512),[[we,o.value.maxSalary]])])]),l("div",null,[b[28]||(b[28]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300"},"搜索",-1)),l("div",Su,[ne(l("input",{type:"text","onUpdate:modelValue":b[5]||(b[5]=v=>r.value=v),placeholder:"搜索员工姓名...",class:"block w-full pr-10 border-gray-300 dark:border-gray-600 rounded-md focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm dark:bg-gray-700 dark:text-white"},null,512),[[we,r.value]]),l("div",Cu,[H(Y(zn),{class:"h-5 w-5 text-gray-400"})])])])])]),l("div",Eu,[l("table",Tu,[b[29]||(b[29]=l("thead",{class:"bg-gray-50 dark:bg-gray-700"},[l("tr",null,[l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"员工信息"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"基本工资"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"绩效奖金"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"加班工资"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"补贴"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"扣款"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"实发工资"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"状态"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"操作")])],-1)),l("tbody",Ru,[(J(!0),Z(me,null,De(c.value,v=>(J(),Z("tr",{key:v.id},[l("td",Pu,[l("div",$u,[l("div",Iu,[l("div",Au,[H(Y(yi),{class:"h-6 w-6 text-gray-500"})])]),l("div",Mu,[l("div",Ou,W(v.employee.name),1),l("div",Du,W(x(v.employee.departmentId)),1)])])]),l("td",Nu," ¥"+W(v.baseSalary),1),l("td",Vu," ¥"+W(v.bonus),1),l("td",ju," ¥"+W(v.overtimePay),1),l("td",Lu," ¥"+W(v.allowance),1),l("td",Uu," ¥"+W(v.deduction),1),l("td",Fu," ¥"+W(v.netSalary),1),l("td",Hu,[l("span",{class:vt([M(v.status),"px-2 inline-flex text-xs leading-5 font-semibold rounded-full"])},W(D(v.status)),3)]),l("td",Bu,[l("button",{onClick:j=>z(v),class:"text-indigo-600 hover:text-indigo-900 dark:text-indigo-400 dark:hover:text-indigo-300 mr-3"}," 查看 ",8,Ku),l("button",{onClick:j=>L(v),class:"text-indigo-600 hover:text-indigo-900 dark:text-indigo-400 dark:hover:text-indigo-300"}," 调整 ",8,qu)])]))),128))])])]),i.value?(J(),Z("div",Wu,[l("div",zu,[l("div",Gu,[l("div",Yu,[b[30]||(b[30]=l("h3",{class:"text-lg font-medium text-gray-900 dark:text-white"},"薪资调整",-1)),l("button",{onClick:b[6]||(b[6]=v=>i.value=!1),class:"text-gray-400 hover:text-gray-500 dark:hover:text-gray-300"},[H(Y(Qt),{class:"h-6 w-6"})])]),l("form",{onSubmit:kn(V,["prevent"]),class:"space-y-6"},[l("div",Qu,[l("div",null,[b[31]||(b[31]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300"},"员工",-1)),ne(l("select",{"onUpdate:modelValue":b[7]||(b[7]=v=>a.value.employeeId=v),class:"mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 dark:border-gray-600 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md dark:bg-gray-700 dark:text-white"},[(J(!0),Z(me,null,De(s.value,v=>(J(),Z("option",{key:v.id,value:v.id},W(v.name),9,Ju))),128))],512),[[Fe,a.value.employeeId]])]),l("div",null,[b[33]||(b[33]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300"},"调整类型",-1)),ne(l("select",{"onUpdate:modelValue":b[8]||(b[8]=v=>a.value.type=v),class:"mt-1 block w-full pl-3 pr-10 py-2 text-base border-gray-300 dark:border-gray-600 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm rounded-md dark:bg-gray-700 dark:text-white"},b[32]||(b[32]=[l("option",{value:"base"},"基本工资",-1),l("option",{value:"bonus"},"绩效奖金",-1),l("option",{value:"allowance"},"补贴",-1)]),512),[[Fe,a.value.type]])]),l("div",null,[b[34]||(b[34]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300"},"调整金额",-1)),ne(l("input",{type:"number","onUpdate:modelValue":b[9]||(b[9]=v=>a.value.amount=v),class:"mt-1 block w-full border border-gray-300 dark:border-gray-600 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm dark:bg-gray-700 dark:text-white"},null,512),[[we,a.value.amount]])]),l("div",null,[b[35]||(b[35]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300"},"生效日期",-1)),ne(l("input",{type:"date","onUpdate:modelValue":b[10]||(b[10]=v=>a.value.effectiveDate=v),class:"mt-1 block w-full border border-gray-300 dark:border-gray-600 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm dark:bg-gray-700 dark:text-white"},null,512),[[we,a.value.effectiveDate]])]),l("div",Xu,[b[36]||(b[36]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300"},"调整原因",-1)),ne(l("textarea",{"onUpdate:modelValue":b[11]||(b[11]=v=>a.value.reason=v),rows:"3",class:"mt-1 block w-full border border-gray-300 dark:border-gray-600 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-indigo-500 focus:border-indigo-500 sm:text-sm dark:bg-gray-700 dark:text-white"},null,512),[[we,a.value.reason]])])]),l("div",Zu,[l("button",{type:"button",onClick:b[12]||(b[12]=v=>i.value=!1),class:"px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-md shadow-sm text-sm font-medium text-gray-700 dark:text-gray-300 bg-white dark:bg-gray-700 hover:bg-gray-50 dark:hover:bg-gray-600 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"}," 取消 "),b[37]||(b[37]=l("button",{type:"submit",class:"px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500"}," 提交 ",-1))])],32)])])])):Yt("",!0)]))}},td={class:"min-h-screen bg-gray-100 dark:bg-gray-900"},sd={class:"bg-white dark:bg-gray-800 shadow"},nd={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-4"},rd={class:"flex justify-between items-center"},od={class:"flex space-x-4"},id={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},ld={class:"grid grid-cols-1 md:grid-cols-4 gap-6 mb-6"},ad={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6 flex items-center"},cd={class:"mr-4"},ud={class:"mt-1 text-3xl font-bold text-blue-600 dark:text-blue-400"},dd={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6 flex items-center"},fd={class:"mr-4"},pd={class:"mt-1 text-3xl font-bold text-green-600 dark:text-green-400"},gd={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6 flex items-center"},hd={class:"mr-4"},md={class:"mt-1 text-3xl font-bold text-yellow-600 dark:text-yellow-400"},yd={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6 flex items-center"},xd={class:"mr-4"},bd={class:"mt-1 text-3xl font-bold text-purple-600 dark:text-purple-400"},vd={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6 mb-6"},wd={class:"grid grid-cols-1 md:grid-cols-4 gap-4"},kd={class:"relative"},_d=["value"],Sd=["value"],Cd={class:"bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden mb-6"},Ed={class:"px-6 py-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center"},Td={class:"text-lg font-medium text-gray-900 dark:text-white flex items-center"},Rd={class:"overflow-x-auto"},Pd={class:"min-w-full divide-y divide-gray-200 dark:divide-gray-700"},$d={class:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700"},Id={class:"px-6 py-4 whitespace-nowrap"},Ad={class:"text-sm font-medium text-gray-900 dark:text-white"},Md={class:"text-sm text-gray-500 dark:text-gray-400"},Od={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-white"},Dd={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-white"},Nd={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-white"},Vd={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-white"},jd={class:"px-6 py-4 whitespace-nowrap"},Ld={class:"px-6 py-4 whitespace-nowrap text-sm font-medium"},Ud=["onClick"],Fd=["onClick"],Hd=["onClick"],Bd={key:0},Kd={class:"bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden"},qd={class:"px-6 py-4 border-b border-gray-200 dark:border-gray-700 flex justify-between items-center"},Wd={class:"text-lg font-medium text-gray-900 dark:text-white flex items-center"},zd={class:"overflow-x-auto"},Gd={class:"min-w-full divide-y divide-gray-200 dark:divide-gray-700"},Yd={class:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700"},Qd={class:"px-6 py-4 whitespace-nowrap"},Jd={class:"text-sm font-medium text-gray-900 dark:text-white"},Xd={class:"text-sm text-gray-500 dark:text-gray-400"},Zd={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-white"},ef={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-white"},tf={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-white"},sf={class:"px-6 py-4 whitespace-nowrap text-sm text-gray-900 dark:text-white"},nf={class:"px-6 py-4 whitespace-nowrap text-sm font-medium"},rf=["onClick"],of=["onClick"],lf=["onClick"],af={key:0},cf={key:0,class:"fixed inset-0 bg-gray-500 bg-opacity-75 flex items-center justify-center z-50"},uf={class:"bg-white dark:bg-gray-800 rounded-lg shadow-xl max-w-md w-full p-6"},df={class:"flex justify-between items-center mb-4"},ff={class:"text-xl font-bold text-gray-900 dark:text-white flex items-center"},pf={class:"mb-4"},gf={class:"mb-4"},hf=["value"],mf={class:"mb-4"},yf={class:"mb-4"},xf={class:"mb-4"},bf={class:"mb-4"},vf={class:"space-y-2 max-h-40 overflow-y-auto p-2 border border-gray-300 dark:border-gray-600 rounded-md"},wf=["value"],kf={class:"ml-2 text-sm text-gray-900 dark:text-white"},_f={class:"flex justify-end space-x-3"},Sf={type:"submit",class:"px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 flex items-center"},Cf={key:1,class:"fixed inset-0 bg-gray-500 bg-opacity-75 flex items-center justify-center z-50"},Ef={class:"bg-white dark:bg-gray-800 rounded-lg shadow-xl max-w-md w-full p-6"},Tf={class:"flex justify-between items-center mb-4"},Rf={class:"text-xl font-bold text-gray-900 dark:text-white flex items-center"},Pf={class:"mb-4"},$f={class:"mb-4"},If=["value"],Af={class:"mb-4"},Mf=["value"],Of={class:"mb-4"},Df={class:"mb-4"},Nf={class:"mb-4"},Vf={class:"flex justify-end space-x-3"},jf={type:"submit",class:"px-4 py-2 bg-green-600 text-white rounded-md hover:bg-green-700 flex items-center"},Lf={__name:"TrainingManagementView",setup(e){Yc();const t=ae([{id:1,name:"新员工入职培训",type:1,startTime:"2024-03-01T09:00:00",endTime:"2024-03-05T17:00:00",description:"新员工入职培训计划,包含公司文化介绍和工作流程培训",courses:[1,2],participants:[1,2,3,4,5],status:1,rating:4.5},{id:2,name:"技术提升培训",type:2,startTime:"2024-03-10T09:00:00",endTime:"2024-03-12T17:00:00",description:"技术提升培训计划,包含前端和后端开发进阶课程",courses:[3,4],participants:[6,7,8,9],status:2,rating:4.8},{id:3,name:"管理技能培训",type:3,startTime:"2024-04-01T09:00:00",endTime:"2024-04-03T17:00:00",description:"管理技能培训计划,针对新晋升的团队领导",courses:[5],participants:[10,11,12],status:1,rating:4.2}]),s=ae([{id:1,name:"公司文化介绍",type:1,difficulty:1,duration:2,instructor:"张三",description:"介绍公司文化和价值观,帮助新员工快速融入团队"},{id:2,name:"工作流程培训",type:1,difficulty:1,duration:3,instructor:"李四",description:"介绍公司工作流程和规范,包括考勤、请假等制度"},{id:3,name:"前端开发进阶",type:2,difficulty:3,duration:8,instructor:"王五",description:"前端开发高级技术培训,包括性能优化和组件设计"},{id:4,name:"后端开发进阶",type:2,difficulty:3,duration:8,instructor:"赵六",description:"后端开发高级技术培训,包括系统架构和数据库优化"},{id:5,name:"团队管理基础",type:3,difficulty:2,duration:6,instructor:"钱七",description:"团队管理基础培训,包括沟通技巧和冲突处理"}]),n=ae([{id:1,name:"入职培训"},{id:2,name:"技术培训"},{id:3,name:"管理培训"},{id:4,name:"产品培训"},{id:5,name:"销售培训"}]),r=ae([{id:1,name:"初级"},{id:2,name:"中级"},{id:3,name:"高级"}]),o=ae([{id:1,name:"进行中"},{id:2,name:"已完成"},{id:3,name:"已取消"}]),i=ae(""),a=ae({type:"",status:"",timeRange:""}),c=ae(!1),p=ae(!1),u=ae({name:"",type:"",startTime:"",endTime:"",description:"",courses:[]}),g=ae({name:"",type:"",difficulty:"",duration:"",instructor:"",description:""}),y=he(()=>t.value.filter(R=>{const h=!i.value||R.name.toLowerCase().includes(i.value.toLowerCase())||R.description.toLowerCase().includes(i.value.toLowerCase()),w=!a.value.type||R.type===parseInt(a.value.type),ee=!a.value.status||R.status===parseInt(a.value.status),ie=!a.value.timeRange||F(R.startTime,a.value.timeRange);return h&&w&&ee&&ie})),x=he(()=>s.value.filter(R=>{const h=!i.value||R.name.toLowerCase().includes(i.value.toLowerCase())||R.description.toLowerCase().includes(i.value.toLowerCase()),w=!a.value.type||R.type===parseInt(a.value.type);return h&&w})),M=he(()=>t.value.filter(R=>R.status===1).length),D=he(()=>t.value.filter(R=>R.status===2).length),z=he(()=>t.value.reduce((R,h)=>R+h.participants.length,0)),L=he(()=>{const R=t.value.map(w=>w.rating||0).filter(w=>w>0),h=R.reduce((w,ee)=>w+ee,0);return R.length>0?(h/R.length).toFixed(1):"0.0"}),V=R=>new Date(R).toLocaleDateString("zh-CN",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}),F=(R,h)=>{const w=new Date,ee=new Date(R);switch(h){case"week":{const ie=new Date(w);ie.setDate(w.getDate()-w.getDay()),ie.setHours(0,0,0,0);const Te=new Date(ie);return Te.setDate(ie.getDate()+7),ee>=ie&&ee<Te}case"month":{const ie=new Date(w.getFullYear(),w.getMonth(),1),Te=new Date(w.getFullYear(),w.getMonth()+1,0);return ee>=ie&&ee<=Te}case"quarter":{const ie=Math.floor(w.getMonth()/3)*3,Te=new Date(w.getFullYear(),ie,1),pt=new Date(w.getFullYear(),ie+3,0);return ee>=Te&&ee<=pt}case"year":{const ie=new Date(w.getFullYear(),0,1),Te=new Date(w.getFullYear(),11,31);return ee>=ie&&ee<=Te}default:return!0}},T=R=>{const h=n.value.find(w=>w.id===R);return h?h.name:"未知类型"},b=R=>{const h=r.value.find(w=>w.id===R);return h?h.name:"未知级别"},v=R=>{const h=o.value.find(w=>w.id===R);return h?h.name:"未知状态"},j=R=>({1:"bg-blue-100 text-blue-800 dark:bg-blue-700 dark:text-blue-300",2:"bg-green-100 text-green-800 dark:bg-green-700 dark:text-green-300",3:"bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300"})[R]||"bg-gray-100 text-gray-800 dark:bg-gray-700 dark:text-gray-300",ve=()=>{const R={id:t.value.length+1,...u.value,participants:[],status:1,rating:0};t.value.push(R),c.value=!1,We()},We=()=>{u.value={name:"",type:"",startTime:"",endTime:"",description:"",courses:[]}},je=()=>{const R={id:s.value.length+1,...g.value};s.value.push(R),p.value=!1,ze()},ze=()=>{g.value={name:"",type:"",difficulty:"",duration:"",instructor:"",description:""}},rt=R=>{console.log("查看培训计划:",R)},Le=R=>{console.log("编辑培训计划:",R),u.value={...R},c.value=!0},_t=R=>{if(confirm(`确定要删除培训计划"${R.name}"吗?`)){const h=t.value.findIndex(w=>w.id===R.id);h!==-1&&t.value.splice(h,1)}},ft=R=>{console.log("查看课程:",R)},xe=R=>{console.log("编辑课程:",R),g.value={...R},p.value=!0},te=R=>{if(confirm(`确定要删除课程"${R.name}"吗?`)){const h=s.value.findIndex(w=>w.id===R.id);h!==-1&&s.value.splice(h,1)}};return(R,h)=>(J(),Z("div",td,[l("div",sd,[l("div",nd,[l("div",rd,[h[24]||(h[24]=l("h1",{class:"text-2xl font-bold text-gray-900 dark:text-white"},"培训管理",-1)),l("div",od,[l("button",{onClick:h[0]||(h[0]=w=>c.value=!0),class:"bg-blue-600 text-white px-4 py-2 rounded-md hover:bg-blue-700 flex items-center"},[H(Y(su),{class:"w-5 h-5 mr-1"}),h[22]||(h[22]=ge(" 创建培训计划 "))]),l("button",{onClick:h[1]||(h[1]=w=>p.value=!0),class:"bg-green-600 text-white px-4 py-2 rounded-md hover:bg-green-700 flex items-center"},[H(Y(cn),{class:"w-5 h-5 mr-1"}),h[23]||(h[23]=ge(" 添加课程 "))])])])])]),l("div",id,[l("div",ld,[l("div",ad,[l("div",cd,[H(Y(nu),{class:"w-10 h-10 text-blue-600 dark:text-blue-400"})]),l("div",null,[h[25]||(h[25]=l("div",{class:"text-sm font-medium text-gray-500 dark:text-gray-400"},"进行中培训",-1)),l("div",ud,W(M.value),1)])]),l("div",dd,[l("div",fd,[H(Y(tu),{class:"w-10 h-10 text-green-600 dark:text-green-400"})]),l("div",null,[h[26]||(h[26]=l("div",{class:"text-sm font-medium text-gray-500 dark:text-gray-400"},"已完成培训",-1)),l("div",pd,W(D.value),1)])]),l("div",gd,[l("div",hd,[H(Y(xi),{class:"w-10 h-10 text-yellow-600 dark:text-yellow-400"})]),l("div",null,[h[27]||(h[27]=l("div",{class:"text-sm font-medium text-gray-500 dark:text-gray-400"},"总参与人数",-1)),l("div",md,W(z.value),1)])]),l("div",yd,[l("div",xd,[H(Y(lu),{class:"w-10 h-10 text-purple-600 dark:text-purple-400"})]),l("div",null,[h[28]||(h[28]=l("div",{class:"text-sm font-medium text-gray-500 dark:text-gray-400"},"平均评分",-1)),l("div",bd,W(L.value),1)])])]),l("div",vd,[l("div",wd,[l("div",null,[h[29]||(h[29]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"搜索",-1)),l("div",kd,[H(Y(zn),{class:"absolute left-3 top-1/2 transform -translate-y-1/2 text-gray-400 w-5 h-5"}),ne(l("input",{type:"text","onUpdate:modelValue":h[2]||(h[2]=w=>i.value=w),placeholder:"培训名称/课程名称",class:"w-full pl-10 rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,512),[[we,i.value]])])]),l("div",null,[h[31]||(h[31]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"培训类型",-1)),ne(l("select",{"onUpdate:modelValue":h[3]||(h[3]=w=>a.value.type=w),class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},[h[30]||(h[30]=l("option",{value:""},"所有类型",-1)),(J(!0),Z(me,null,De(n.value,w=>(J(),Z("option",{key:w.id,value:w.id},W(w.name),9,_d))),128))],512),[[Fe,a.value.type]])]),l("div",null,[h[33]||(h[33]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"状态",-1)),ne(l("select",{"onUpdate:modelValue":h[4]||(h[4]=w=>a.value.status=w),class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},[h[32]||(h[32]=l("option",{value:""},"所有状态",-1)),(J(!0),Z(me,null,De(o.value,w=>(J(),Z("option",{key:w.id,value:w.id},W(w.name),9,Sd))),128))],512),[[Fe,a.value.status]])]),l("div",null,[h[35]||(h[35]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"时间范围",-1)),ne(l("select",{"onUpdate:modelValue":h[5]||(h[5]=w=>a.value.timeRange=w),class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},h[34]||(h[34]=[bn('<option value="">所有时间</option><option value="week">本周</option><option value="month">本月</option><option value="quarter">本季度</option><option value="year">本年</option>',5)]),512),[[Fe,a.value.timeRange]])])])]),l("div",Cd,[l("div",Ed,[l("h2",Td,[H(Y(qr),{class:"w-5 h-5 mr-2"}),h[36]||(h[36]=ge(" 培训计划列表 "))])]),l("div",Rd,[l("table",Pd,[h[41]||(h[41]=l("thead",{class:"bg-gray-50 dark:bg-gray-700"},[l("tr",null,[l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"培训名称"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"类型"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"开始时间"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"结束时间"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"参与人数"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"状态"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"操作")])],-1)),l("tbody",$d,[(J(!0),Z(me,null,De(y.value,w=>(J(),Z("tr",{key:w.id},[l("td",Id,[l("div",Ad,W(w.name),1),l("div",Md,W(w.description),1)]),l("td",Od,W(T(w.type)),1),l("td",Dd,W(V(w.startTime)),1),l("td",Nd,W(V(w.endTime)),1),l("td",Vd,W(w.participants.length),1),l("td",jd,[l("span",{class:vt([j(w.status),"px-2 inline-flex text-xs leading-5 font-semibold rounded-full"])},W(v(w.status)),3)]),l("td",Ld,[l("button",{onClick:ee=>rt(w),class:"text-blue-600 hover:text-blue-900 dark:text-blue-400 dark:hover:text-blue-300 mr-3 flex items-center"},[H(Y(Tn),{class:"w-4 h-4 mr-1"}),h[37]||(h[37]=ge(" 查看 "))],8,Ud),l("button",{onClick:ee=>Le(w),class:"text-yellow-600 hover:text-yellow-900 dark:text-yellow-400 dark:hover:text-yellow-300 mr-3 flex items-center"},[H(Y(zr),{class:"w-4 h-4 mr-1"}),h[38]||(h[38]=ge(" 编辑 "))],8,Fd),l("button",{onClick:ee=>_t(w),class:"text-red-600 hover:text-red-900 dark:text-red-400 dark:hover:text-red-300 flex items-center"},[H(Y(Gr),{class:"w-4 h-4 mr-1"}),h[39]||(h[39]=ge(" 删除 "))],8,Hd)])]))),128)),y.value.length===0?(J(),Z("tr",Bd,h[40]||(h[40]=[l("td",{colspan:"7",class:"px-6 py-4 text-center text-gray-500 dark:text-gray-400"}," 没有找到匹配的培训计划 ",-1)]))):Yt("",!0)])])])]),l("div",Kd,[l("div",qd,[l("h2",Wd,[H(Y(cn),{class:"w-5 h-5 mr-2"}),h[42]||(h[42]=ge(" 课程列表 "))])]),l("div",zd,[l("table",Gd,[h[47]||(h[47]=l("thead",{class:"bg-gray-50 dark:bg-gray-700"},[l("tr",null,[l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"课程名称"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"类型"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"难度"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"时长"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"讲师"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"操作")])],-1)),l("tbody",Yd,[(J(!0),Z(me,null,De(x.value,w=>(J(),Z("tr",{key:w.id},[l("td",Qd,[l("div",Jd,W(w.name),1),l("div",Xd,W(w.description),1)]),l("td",Zd,W(T(w.type)),1),l("td",ef,W(b(w.difficulty)),1),l("td",tf,W(w.duration)+"小时 ",1),l("td",sf,W(w.instructor),1),l("td",nf,[l("button",{onClick:ee=>ft(w),class:"text-blue-600 hover:text-blue-900 dark:text-blue-400 dark:hover:text-blue-300 mr-3 flex items-center"},[H(Y(Tn),{class:"w-4 h-4 mr-1"}),h[43]||(h[43]=ge(" 查看 "))],8,rf),l("button",{onClick:ee=>xe(w),class:"text-yellow-600 hover:text-yellow-900 dark:text-yellow-400 dark:hover:text-yellow-300 mr-3 flex items-center"},[H(Y(zr),{class:"w-4 h-4 mr-1"}),h[44]||(h[44]=ge(" 编辑 "))],8,of),l("button",{onClick:ee=>te(w),class:"text-red-600 hover:text-red-900 dark:text-red-400 dark:hover:text-red-300 flex items-center"},[H(Y(Gr),{class:"w-4 h-4 mr-1"}),h[45]||(h[45]=ge(" 删除 "))],8,lf)])]))),128)),x.value.length===0?(J(),Z("tr",af,h[46]||(h[46]=[l("td",{colspan:"6",class:"px-6 py-4 text-center text-gray-500 dark:text-gray-400"}," 没有找到匹配的课程 ",-1)]))):Yt("",!0)])])])])]),c.value?(J(),Z("div",cf,[l("div",uf,[l("div",df,[l("h2",ff,[H(Y(qr),{class:"w-5 h-5 mr-2"}),h[48]||(h[48]=ge(" 创建培训计划 "))]),l("button",{onClick:h[6]||(h[6]=w=>c.value=!1),class:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300"},[H(Y(Qt),{class:"w-5 h-5"})])]),l("form",{onSubmit:kn(ve,["prevent"])},[l("div",pf,[h[49]||(h[49]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"培训名称",-1)),ne(l("input",{type:"text","onUpdate:modelValue":h[7]||(h[7]=w=>u.value.name=w),required:"",class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,512),[[we,u.value.name]])]),l("div",gf,[h[50]||(h[50]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"培训类型",-1)),ne(l("select",{"onUpdate:modelValue":h[8]||(h[8]=w=>u.value.type=w),required:"",class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},[(J(!0),Z(me,null,De(n.value,w=>(J(),Z("option",{key:w.id,value:w.id},W(w.name),9,hf))),128))],512),[[Fe,u.value.type]])]),l("div",mf,[h[51]||(h[51]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"开始时间",-1)),ne(l("input",{type:"datetime-local","onUpdate:modelValue":h[9]||(h[9]=w=>u.value.startTime=w),required:"",class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,512),[[we,u.value.startTime]])]),l("div",yf,[h[52]||(h[52]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"结束时间",-1)),ne(l("input",{type:"datetime-local","onUpdate:modelValue":h[10]||(h[10]=w=>u.value.endTime=w),required:"",class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,512),[[we,u.value.endTime]])]),l("div",xf,[h[53]||(h[53]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"培训描述",-1)),ne(l("textarea",{"onUpdate:modelValue":h[11]||(h[11]=w=>u.value.description=w),required:"",class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,512),[[we,u.value.description]])]),l("div",bf,[h[54]||(h[54]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"选择课程",-1)),l("div",vf,[(J(!0),Z(me,null,De(s.value,w=>(J(),Z("div",{key:w.id,class:"flex items-center"},[ne(l("input",{type:"checkbox",value:w.id,"onUpdate:modelValue":h[12]||(h[12]=ee=>u.value.courses=ee),class:"rounded border-gray-300 text-blue-600 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600"},null,8,wf),[[Oa,u.value.courses]]),l("span",kf,W(w.name),1)]))),128))])]),l("div",_f,[l("button",{type:"button",onClick:h[13]||(h[13]=w=>c.value=!1),class:"px-4 py-2 border border-gray-300 rounded-md text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700 flex items-center"},[H(Y(Qt),{class:"w-4 h-4 mr-1"}),h[55]||(h[55]=ge(" 取消 "))]),l("button",Sf,[H(Y(Wr),{class:"w-4 h-4 mr-1"}),h[56]||(h[56]=ge(" 创建 "))])])],32)])])):Yt("",!0),p.value?(J(),Z("div",Cf,[l("div",Ef,[l("div",Tf,[l("h2",Rf,[H(Y(cn),{class:"w-5 h-5 mr-2"}),h[57]||(h[57]=ge(" 添加课程 "))]),l("button",{onClick:h[14]||(h[14]=w=>p.value=!1),class:"text-gray-500 hover:text-gray-700 dark:text-gray-400 dark:hover:text-gray-300"},[H(Y(Qt),{class:"w-5 h-5"})])]),l("form",{onSubmit:kn(je,["prevent"])},[l("div",Pf,[h[58]||(h[58]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"课程名称",-1)),ne(l("input",{type:"text","onUpdate:modelValue":h[15]||(h[15]=w=>g.value.name=w),required:"",class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,512),[[we,g.value.name]])]),l("div",$f,[h[59]||(h[59]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"课程类型",-1)),ne(l("select",{"onUpdate:modelValue":h[16]||(h[16]=w=>g.value.type=w),required:"",class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},[(J(!0),Z(me,null,De(n.value,w=>(J(),Z("option",{key:w.id,value:w.id},W(w.name),9,If))),128))],512),[[Fe,g.value.type]])]),l("div",Af,[h[60]||(h[60]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"难度级别",-1)),ne(l("select",{"onUpdate:modelValue":h[17]||(h[17]=w=>g.value.difficulty=w),required:"",class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},[(J(!0),Z(me,null,De(r.value,w=>(J(),Z("option",{key:w.id,value:w.id},W(w.name),9,Mf))),128))],512),[[Fe,g.value.difficulty]])]),l("div",Of,[h[61]||(h[61]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"课程时长(小时)",-1)),ne(l("input",{type:"number","onUpdate:modelValue":h[18]||(h[18]=w=>g.value.duration=w),required:"",min:"1",class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,512),[[we,g.value.duration]])]),l("div",Df,[h[62]||(h[62]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"讲师",-1)),ne(l("input",{type:"text","onUpdate:modelValue":h[19]||(h[19]=w=>g.value.instructor=w),required:"",class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,512),[[we,g.value.instructor]])]),l("div",Nf,[h[63]||(h[63]=l("label",{class:"block text-sm font-medium text-gray-700 dark:text-gray-300 mb-1"},"课程描述",-1)),ne(l("textarea",{"onUpdate:modelValue":h[20]||(h[20]=w=>g.value.description=w),required:"",class:"w-full rounded-md border-gray-300 shadow-sm focus:border-blue-500 focus:ring-blue-500 dark:bg-gray-700 dark:border-gray-600 dark:text-white"},null,512),[[we,g.value.description]])]),l("div",Vf,[l("button",{type:"button",onClick:h[21]||(h[21]=w=>p.value=!1),class:"px-4 py-2 border border-gray-300 rounded-md text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-700 flex items-center"},[H(Y(Qt),{class:"w-4 h-4 mr-1"}),h[64]||(h[64]=ge(" 取消 "))]),l("button",jf,[H(Y(Wr),{class:"w-4 h-4 mr-1"}),h[65]||(h[65]=ge(" 添加 "))])])],32)])])):Yt("",!0)]))}},Uf={class:"min-h-screen bg-gray-50 dark:bg-gray-900"},Ff={class:"bg-white dark:bg-gray-800 shadow-sm"},Hf={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"},Bf={class:"flex justify-between h-16"},Kf={class:"flex items-center space-x-4"},qf={class:"max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8"},Wf={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6 mb-8"},zf={class:"grid grid-cols-1 md:grid-cols-4 gap-4"},Gf={class:"relative"},Yf={class:"grid grid-cols-1 md:grid-cols-4 gap-6 mb-8"},Qf={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6"},Jf={class:"flex items-center"},Xf={class:"p-3 rounded-full bg-blue-100 dark:bg-blue-900"},Zf={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6"},e0={class:"flex items-center"},t0={class:"p-3 rounded-full bg-green-100 dark:bg-green-900"},s0={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6"},n0={class:"flex items-center"},r0={class:"p-3 rounded-full bg-yellow-100 dark:bg-yellow-900"},o0={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6"},i0={class:"flex items-center"},l0={class:"p-3 rounded-full bg-purple-100 dark:bg-purple-900"},a0={class:"grid grid-cols-1 lg:grid-cols-2 gap-6 mb-8"},c0={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6"},u0={class:"bg-white dark:bg-gray-800 rounded-lg shadow p-6"},d0={class:"bg-white dark:bg-gray-800 rounded-lg shadow overflow-hidden"},f0={class:"overflow-x-auto"},p0={class:"min-w-full divide-y divide-gray-200 dark:divide-gray-700"},g0={class:"bg-white dark:bg-gray-800 divide-y divide-gray-200 dark:divide-gray-700"},h0={class:"px-6 py-4"},m0={class:"flex items-center"},y0={class:"flex-shrink-0 h-10 w-10 flex items-center justify-center bg-gray-200 dark:bg-gray-700 rounded-full"},x0={class:"ml-4"},b0={class:"text-sm font-medium text-gray-900 dark:text-white"},v0={class:"text-sm text-gray-500 dark:text-gray-400"},w0={class:"px-6 py-4"},k0={class:"px-6 py-4"},_0={class:"px-6 py-4"},S0={class:"text-sm text-gray-900 dark:text-white"},C0={class:"px-6 py-4"},E0={class:"text-sm text-gray-900 dark:text-white"},T0={class:"px-6 py-4 text-sm font-medium"},R0=["onClick"],P0=["onClick"],$0={class:"bg-white dark:bg-gray-800 px-4 py-3 flex items-center justify-between border-t border-gray-200 dark:border-gray-700 sm:px-6 mt-4"},I0={class:"flex-1 flex justify-between sm:hidden"},A0=["disabled"],M0=["disabled"],O0={class:"hidden sm:flex-1 sm:flex sm:items-center sm:justify-between"},D0={class:"text-sm text-gray-700 dark:text-gray-300"},N0={class:"font-medium"},V0={class:"font-medium"},j0={class:"font-medium"},L0={class:"relative z-0 inline-flex rounded-md shadow-sm -space-x-px","aria-label":"Pagination"},U0=["disabled"],F0=["onClick"],H0=["disabled"],B0={__name:"UserBehaviorAnalysisView",setup(e){ae(!1);const t=ae(""),s=ae(""),n=ae(""),r=ae(""),o=ae(1),i=ae(10),a=ae(null),c=ae(null),p=ae([{id:"B1001",userId:"U1001",userName:"张三",userType:"vip",behaviorType:"browse",targetId:"P1001",targetName:"智能手表 Pro",targetType:"product",duration:300,timestamp:"2024-03-20 10:30:00",location:"首页",device:"iPhone 13",ip:"192.168.1.1"},{id:"B1002",userId:"U1002",userName:"李四",userType:"normal",behaviorType:"search",targetId:null,targetName:"无线耳机",targetType:"keyword",duration:60,timestamp:"2024-03-20 11:15:00",location:"搜索页",device:"Huawei P40",ip:"192.168.1.2"},{id:"B1003",userId:"U1003",userName:"王五",userType:"vip",behaviorType:"add_to_cart",targetId:"P1002",targetName:"无线耳机 Air",targetType:"product",duration:120,timestamp:"2024-03-20 14:20:00",location:"商品详情页",device:"iPad Pro",ip:"192.168.1.3"},{id:"B1004",userId:"U1004",userName:"赵六",userType:"normal",behaviorType:"purchase",targetId:"P1003",targetName:"智能音箱 Mini",targetType:"product",duration:180,timestamp:"2024-03-20 16:45:00",location:"购物车",device:"Xiaomi 12",ip:"192.168.1.4"},{id:"B1005",userId:"U1005",userName:"钱七",userType:"vip",behaviorType:"review",targetId:"P1004",targetName:"运动相机 4K",targetType:"product",duration:240,timestamp:"2024-03-20 19:30:00",location:"商品评价页",device:"MacBook Pro",ip:"192.168.1.5"}]),u=he(()=>{let b=[...p.value];return t.value&&(b=b.filter(v=>v.userName.includes(t.value)||v.userId.includes(t.value))),s.value&&(b=b.filter(v=>v.userType===s.value)),n.value&&(b=b.filter(v=>v.behaviorType===n.value)),r.value&&(b=b.filter(v=>!0)),b}),g=he(()=>{const b=(o.value-1)*i.value,v=b+i.value;return u.value.slice(b,v)}),y=he(()=>Math.ceil(u.value.length/i.value)),x=()=>{o.value=1},M=()=>{o.value=1},D=()=>{o.value=1},z=()=>{o.value=1},L=b=>{o.value=b},V=b=>{console.log("查看行为:",b)},F=b=>{console.log("导出行为:",b)},T=()=>{console.log("导出报表")};return $o(()=>{console.log("用户行为分析页面已加载")}),(b,v)=>(J(),Z("div",Uf,[l("nav",Ff,[l("div",Hf,[l("div",Bf,[v[9]||(v[9]=l("div",{class:"flex items-center"},[l("h1",{class:"text-xl font-bold text-gray-800 dark:text-white"},"用户行为分析")],-1)),l("div",Kf,[l("button",{onClick:T,class:"px-4 py-2 bg-green-600 text-white rounded-md hover:bg-green-700 flex items-center space-x-2"},[H(Y(En),{class:"h-5 w-5"}),v[8]||(v[8]=l("span",null,"导出报表",-1))])])])])]),l("div",qf,[l("div",Wf,[l("div",zf,[l("div",Gf,[ne(l("input",{"onUpdate:modelValue":v[0]||(v[0]=j=>t.value=j),onInput:x,type:"text",placeholder:"搜索用户ID/名称...",class:"w-full pl-10 pr-4 py-2 border border-gray-300 dark:border-gray-600 rounded-md focus:outline-none focus:ring-2 focus:ring-blue-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-white"},null,544),[[we,t.value]]),H(Y(zn),{class:"absolute left-3 top-2.5 h-5 w-5 text-gray-400 dark:text-gray-500"})]),ne(l("select",{"onUpdate:modelValue":v[1]||(v[1]=j=>s.value=j),onChange:M,class:"border border-gray-300 dark:border-gray-600 rounded-md px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-white"},v[10]||(v[10]=[l("option",{value:""},"所有用户类型",-1),l("option",{value:"new"},"新用户",-1),l("option",{value:"regular"},"普通用户",-1),l("option",{value:"vip"},"VIP用户",-1)]),544),[[Fe,s.value]]),ne(l("select",{"onUpdate:modelValue":v[2]||(v[2]=j=>n.value=j),onChange:D,class:"border border-gray-300 dark:border-gray-600 rounded-md px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-white"},v[11]||(v[11]=[bn('<option value="" data-v-dce0c022>所有行为类型</option><option value="browse" data-v-dce0c022>浏览</option><option value="search" data-v-dce0c022>搜索</option><option value="purchase" data-v-dce0c022>购买</option><option value="comment" data-v-dce0c022>评论</option>',5)]),544),[[Fe,n.value]]),ne(l("select",{"onUpdate:modelValue":v[3]||(v[3]=j=>r.value=j),onChange:z,class:"border border-gray-300 dark:border-gray-600 rounded-md px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500 bg-white dark:bg-gray-700 text-gray-900 dark:text-white"},v[12]||(v[12]=[bn('<option value="" data-v-dce0c022>所有时间</option><option value="today" data-v-dce0c022>今天</option><option value="week" data-v-dce0c022>本周</option><option value="month" data-v-dce0c022>本月</option><option value="quarter" data-v-dce0c022>本季度</option>',5)]),544),[[Fe,r.value]])])]),l("div",Yf,[l("div",Qf,[l("div",Jf,[l("div",Xf,[H(Y(xi),{class:"h-6 w-6 text-blue-600 dark:text-blue-400"})]),v[13]||(v[13]=l("div",{class:"ml-4"},[l("p",{class:"text-sm font-medium text-gray-600 dark:text-gray-400"},"活跃用户数"),l("p",{class:"text-2xl font-semibold text-gray-900 dark:text-white"},"12,345")],-1))])]),l("div",Zf,[l("div",e0,[l("div",t0,[H(Y(Xc),{class:"h-6 w-6 text-green-600 dark:text-green-400"})]),v[14]||(v[14]=l("div",{class:"ml-4"},[l("p",{class:"text-sm font-medium text-gray-600 dark:text-gray-400"},"平均访问时长"),l("p",{class:"text-2xl font-semibold text-gray-900 dark:text-white"},"8.5分钟")],-1))])]),l("div",s0,[l("div",n0,[l("div",r0,[H(Y(iu),{class:"h-6 w-6 text-yellow-600 dark:text-yellow-400"})]),v[15]||(v[15]=l("div",{class:"ml-4"},[l("p",{class:"text-sm font-medium text-gray-600 dark:text-gray-400"},"转化率"),l("p",{class:"text-2xl font-semibold text-gray-900 dark:text-white"},"3.2%")],-1))])]),l("div",o0,[l("div",i0,[l("div",l0,[H(Y(ou),{class:"h-6 w-6 text-purple-600 dark:text-purple-400"})]),v[16]||(v[16]=l("div",{class:"ml-4"},[l("p",{class:"text-sm font-medium text-gray-600 dark:text-gray-400"},"复购率"),l("p",{class:"text-2xl font-semibold text-gray-900 dark:text-white"},"45.6%")],-1))])])]),l("div",a0,[l("div",c0,[v[17]||(v[17]=l("h3",{class:"text-lg font-medium text-gray-900 dark:text-white mb-4"},"用户行为趋势",-1)),l("div",{ref_key:"trendChartRef",ref:a,class:"h-64"},null,512)]),l("div",u0,[v[18]||(v[18]=l("h3",{class:"text-lg font-medium text-gray-900 dark:text-white mb-4"},"行为类型分布",-1)),l("div",{ref_key:"distributionChartRef",ref:c,class:"h-64"},null,512)])]),l("div",d0,[l("div",f0,[l("table",p0,[v[21]||(v[21]=l("thead",{class:"bg-gray-50 dark:bg-gray-700"},[l("tr",null,[l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"用户信息"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"用户类型"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"行为类型"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"行为详情"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"时间"),l("th",{class:"px-6 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider"},"操作")])],-1)),l("tbody",g0,[(J(!0),Z(me,null,De(g.value,j=>(J(),Z("tr",{key:j.id,class:"hover:bg-gray-50 dark:hover:bg-gray-700"},[l("td",h0,[l("div",m0,[l("div",y0,[H(Y(yi),{class:"h-6 w-6 text-gray-500 dark:text-gray-400"})]),l("div",x0,[l("div",b0,W(j.userName),1),l("div",v0,W(j.userId),1)])])]),l("td",w0,[l("span",{class:vt(["user-type-tag",`type-${j.userType}`])},W(j.userType==="new"?"新用户":j.userType==="normal"?"普通用户":"VIP用户"),3)]),l("td",k0,[l("span",{class:vt(["behavior-type-tag",`type-${j.behaviorType}`])},W(j.behaviorType==="browse"?"浏览":j.behaviorType==="search"?"搜索":j.behaviorType==="purchase"?"购买":j.behaviorType==="add_to_cart"?"加入购物车":"评论"),3)]),l("td",_0,[l("div",S0,W(j.targetName),1)]),l("td",C0,[l("div",E0,W(j.timestamp),1)]),l("td",T0,[l("button",{onClick:ve=>V(j),class:"action-button view-button"},[H(Y(Tn),{class:"h-4 w-4 inline-block mr-1"}),v[19]||(v[19]=ge(" 查看 "))],8,R0),l("button",{onClick:ve=>F(j),class:"action-button export-button"},[H(Y(En),{class:"h-4 w-4 inline-block mr-1"}),v[20]||(v[20]=ge(" 导出 "))],8,P0)])]))),128))])])])]),l("div",$0,[l("div",I0,[l("button",{onClick:v[4]||(v[4]=j=>L(o.value-1)),disabled:o.value===1,class:"pagination-button"}," 上一页 ",8,A0),l("button",{onClick:v[5]||(v[5]=j=>L(o.value+1)),disabled:o.value===y.value,class:"pagination-button"}," 下一页 ",8,M0)]),l("div",O0,[l("div",null,[l("p",D0,[v[22]||(v[22]=ge(" 显示 ")),l("span",N0,W((o.value-1)*i.value+1),1),v[23]||(v[23]=ge(" 到 ")),l("span",V0,W(Math.min(o.value*i.value,u.value.length)),1),v[24]||(v[24]=ge(" 条,共 ")),l("span",j0,W(u.value.length),1),v[25]||(v[25]=ge(" 条 "))])]),l("div",null,[l("nav",L0,[l("button",{onClick:v[6]||(v[6]=j=>L(o.value-1)),disabled:o.value===1,class:"relative inline-flex items-center px-2 py-2 rounded-l-md border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-sm font-medium text-gray-500 dark:text-gray-400 hover:bg-gray-50 dark:hover:bg-gray-600"},[H(Y(Zc),{class:"h-5 w-5"})],8,U0),(J(!0),Z(me,null,De(y.value,j=>(J(),Z("button",{key:j,onClick:ve=>L(j),class:vt(["relative inline-flex items-center px-4 py-2 border border-gray-300 dark:border-gray-600 text-sm font-medium",o.value===j?"bg-blue-600 text-white border-blue-600":"bg-white dark:bg-gray-700 text-gray-700 dark:text-gray-300 hover:bg-gray-50 dark:hover:bg-gray-600"])},W(j),11,F0))),128)),l("button",{onClick:v[7]||(v[7]=j=>L(o.value+1)),disabled:o.value===y.value,class:"relative inline-flex items-center px-2 py-2 rounded-r-md border border-gray-300 dark:border-gray-600 bg-white dark:bg-gray-700 text-sm font-medium text-gray-500 dark:text-gray-400 hover:bg-gray-50 dark:hover:bg-gray-600"},[H(Y(eu),{class:"h-5 w-5"})],8,H0)])])])])])]))}},K0=ni(B0,[["__scopeId","data-v-dce0c022"]]),q0=[{path:"/",name:"salary",component:ed},{path:"/training",name:"training",component:Lf},{path:"/user-behavior",name:"userBehavior",component:K0}],W0=zc({history:kc(location.pathname),routes:q0});La(Ka).use(W0).mount("#app");
|