Files
u-desktop/web/settings.html
绝尘 f5a473c4b8 新增: 自动升级体系 + WorkerW重建检测 + 知识卡片优化
自动升级:
- 版本变量注入 (-ldflags -X main.version)
- 远程 version.json 检查 + 弹窗提示(非强制右下角/强制居中)
- updater.exe 嵌入主程序, 运行时释放到临时目录
- 下载+SHA256校验+备份+替换+回滚 全流程
- 托盘菜单"检查更新"

稳定性:
- WorkerW 重建自动检测(每10s)并重新嵌入
- 左键托盘点击防抖
- 设置窗口已打开时正确前置

优化:
- 知识卡片prompt改为面向开发者的硬核内容
- 配置目录统一到 ~/.u-desktop/
- 设置窗口WebView2数据目录改为configDir下
2026-05-28 19:06:26 +08:00

29 lines
95 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!DOCTYPE html>
<html lang="zh">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script type="module" crossorigin>(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 i of r)if(i.type==="childList")for(const o of i.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&n(o)}).observe(document,{childList:!0,subtree:!0});function s(r){const i={};return r.integrity&&(i.integrity=r.integrity),r.referrerPolicy&&(i.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?i.credentials="include":r.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(r){if(r.ep)return;r.ep=!0;const i=s(r);fetch(r.href,i)}})();/**
* @vue/shared v3.5.34
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Qs(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const G={},pt=[],Re=()=>{},nr=()=>!1,ps=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),hs=e=>e.startsWith("onUpdate:"),ie=Object.assign,en=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},ui=Object.prototype.hasOwnProperty,K=(e,t)=>ui.call(e,t),R=Array.isArray,ht=e=>Ht(e)==="[object Map]",gs=e=>Ht(e)==="[object Set]",Sn=e=>Ht(e)==="[object Date]",F=e=>typeof e=="function",X=e=>typeof e=="string",ke=e=>typeof e=="symbol",U=e=>e!==null&&typeof e=="object",rr=e=>(U(e)||F(e))&&F(e.then)&&F(e.catch),ir=Object.prototype.toString,Ht=e=>ir.call(e),ai=e=>Ht(e).slice(8,-1),or=e=>Ht(e)==="[object Object]",tn=e=>X(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,At=Qs(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ms=e=>{const t=Object.create(null);return(s=>t[s]||(t[s]=e(s)))},fi=/-\w/g,ye=ms(e=>e.replace(fi,t=>t.slice(1).toUpperCase())),di=/\B([A-Z])/g,ut=ms(e=>e.replace(di,"-$1").toLowerCase()),lr=ms(e=>e.charAt(0).toUpperCase()+e.slice(1)),Es=ms(e=>e?`on${lr(e)}`:""),Me=(e,t)=>!Object.is(e,t),es=(e,...t)=>{for(let s=0;s<e.length;s++)e[s](...t)},cr=(e,t,s,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},vs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Cn;const bs=()=>Cn||(Cn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ft(e){if(R(e)){const t={};for(let s=0;s<e.length;s++){const n=e[s],r=X(n)?mi(n):Ft(n);if(r)for(const i in r)t[i]=r[i]}return t}else if(X(e)||U(e))return e}const pi=/;(?![^(]*\))/g,hi=/:([^]+)/,gi=/\/\*[^]*?\*\//g;function mi(e){const t={};return e.replace(gi,"").split(pi).forEach(s=>{if(s){const n=s.split(hi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function ze(e){let t="";if(X(e))t=e;else if(R(e))for(let s=0;s<e.length;s++){const n=ze(e[s]);n&&(t+=n+" ")}else if(U(e))for(const s in e)e[s]&&(t+=s+" ");return t.trim()}const vi="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",bi=Qs(vi);function ur(e){return!!e||e===""}function xi(e,t){if(e.length!==t.length)return!1;let s=!0;for(let n=0;s&&n<e.length;n++)s=Kt(e[n],t[n]);return s}function Kt(e,t){if(e===t)return!0;let s=Sn(e),n=Sn(t);if(s||n)return s&&n?e.getTime()===t.getTime():!1;if(s=ke(e),n=ke(t),s||n)return e===t;if(s=R(e),n=R(t),s||n)return s&&n?xi(e,t):!1;if(s=U(e),n=U(t),s||n){if(!s||!n)return!1;const r=Object.keys(e).length,i=Object.keys(t).length;if(r!==i)return!1;for(const o in e){const l=e.hasOwnProperty(o),u=t.hasOwnProperty(o);if(l&&!u||!l&&u||!Kt(e[o],t[o]))return!1}}return String(e)===String(t)}function yi(e,t){return e.findIndex(s=>Kt(s,t))}const ar=e=>!!(e&&e.__v_isRef===!0),ae=e=>X(e)?e:e==null?"":R(e)||U(e)&&(e.toString===ir||!F(e.toString))?ar(e)?ae(e.value):JSON.stringify(e,fr,2):String(e),fr=(e,t)=>ar(t)?fr(e,t.value):ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[Is(n,i)+" =>"]=r,s),{})}:gs(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>Is(s))}:ke(t)?Is(t):U(t)&&!R(t)&&!or(t)?String(t):t,Is=(e,t="")=>{var s;return ke(e)?`Symbol(${(s=e.description)!=null?s:t})`:e};/**
* @vue/reactivity v3.5.34
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let re;class _i{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this._warnOnRun=!0,this.__v_skip=!0,!t&&re&&(re.active?(this.parent=re,this.index=(re.scopes||(re.scopes=[])).push(this)-1):(this._active=!1,this._warnOnRun=!1))}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,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=re;try{return re=this,t()}finally{re=s}}}on(){++this._on===1&&(this.prevScope=re,re=this)}off(){if(this._on>0&&--this._on===0){if(re===this)re=this.prevScope;else{let t=re;for(;t;){if(t.prevScope===this){t.prevScope=this.prevScope;break}t=t.prevScope}}this.prevScope=void 0}}stop(t){if(this._active){this._active=!1;let 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 wi(){return re}let Y;const $s=new WeakSet;class dr{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,re&&(re.active?re.effects.push(this):this.flags&=-2)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,$s.has(this)&&($s.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||hr(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Tn(this),gr(this);const t=Y,s=_e;Y=this,_e=!0;try{return this.fn()}finally{mr(this),Y=t,_e=s,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)rn(t);this.deps=this.depsTail=void 0,Tn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?$s.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Vs(this)&&this.run()}get dirty(){return Vs(this)}}let pr=0,Et,It;function hr(e,t=!1){if(e.flags|=8,t){e.next=It,It=e;return}e.next=Et,Et=e}function sn(){pr++}function nn(){if(--pr>0)return;if(It){let t=It;for(It=void 0;t;){const s=t.next;t.next=void 0,t.flags&=-9,t=s}}let e;for(;Et;){let t=Et;for(Et=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 gr(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function mr(e){let t,s=e.depsTail,n=s;for(;n;){const r=n.prevDep;n.version===-1?(n===s&&(s=r),rn(n),Si(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=r}e.deps=t,e.depsTail=s}function Vs(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(vr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function vr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Dt)||(e.globalVersion=Dt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Vs(e))))return;e.flags|=2;const t=e.dep,s=Y,n=_e;Y=e,_e=!0;try{gr(e);const r=e.fn(e._value);(t.version===0||Me(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Y=s,_e=n,mr(e),e.flags&=-3}}function rn(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 i=s.computed.deps;i;i=i.nextDep)rn(i,!0)}!t&&!--s.sc&&s.map&&s.map.delete(s.key)}function Si(e){const{prevDep:t,nextDep:s}=e;t&&(t.nextDep=s,e.prevDep=void 0),s&&(s.prevDep=t,e.nextDep=void 0)}let _e=!0;const br=[];function He(){br.push(_e),_e=!1}function Ke(){const e=br.pop();_e=e===void 0?!0:e}function Tn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const s=Y;Y=void 0;try{t()}finally{Y=s}}}let Dt=0;class Ci{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 on{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Y||!_e||Y===this.computed)return;let s=this.activeLink;if(s===void 0||s.sub!==Y)s=this.activeLink=new Ci(Y,this),Y.deps?(s.prevDep=Y.depsTail,Y.depsTail.nextDep=s,Y.depsTail=s):Y.deps=Y.depsTail=s,xr(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=Y.depsTail,s.nextDep=void 0,Y.depsTail.nextDep=s,Y.depsTail=s,Y.deps===s&&(Y.deps=n)}return s}trigger(t){this.version++,Dt++,this.notify(t)}notify(t){sn();try{for(let s=this.subs;s;s=s.prevSub)s.sub.notify()&&s.sub.dep.notify()}finally{nn()}}}function xr(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)xr(n)}const s=e.dep.subs;s!==e&&(e.prevSub=s,s&&(s.nextSub=e)),e.dep.subs=e}}const Ls=new WeakMap,rt=Symbol(""),Bs=Symbol(""),jt=Symbol("");function oe(e,t,s){if(_e&&Y){let n=Ls.get(e);n||Ls.set(e,n=new Map);let r=n.get(s);r||(n.set(s,r=new on),r.map=n,r.key=s),r.track()}}function Ve(e,t,s,n,r,i){const o=Ls.get(e);if(!o){Dt++;return}const l=u=>{u&&u.trigger()};if(sn(),t==="clear")o.forEach(l);else{const u=R(e),p=u&&tn(s);if(u&&s==="length"){const a=Number(n);o.forEach((d,y)=>{(y==="length"||y===jt||!ke(y)&&y>=a)&&l(d)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),p&&l(o.get(jt)),t){case"add":u?p&&l(o.get("length")):(l(o.get(rt)),ht(e)&&l(o.get(Bs)));break;case"delete":u||(l(o.get(rt)),ht(e)&&l(o.get(Bs)));break;case"set":ht(e)&&l(o.get(rt));break}}nn()}function ft(e){const t=H(e);return t===e?t:(oe(t,"iterate",jt),ve(e)?t:t.map(we))}function xs(e){return oe(e=H(e),"iterate",jt),e}function Ie(e,t){return Ue(e)?bt(it(e)?we(t):t):we(t)}const Ti={__proto__:null,[Symbol.iterator](){return Ms(this,Symbol.iterator,e=>Ie(this,e))},concat(...e){return ft(this).concat(...e.map(t=>R(t)?ft(t):t))},entries(){return Ms(this,"entries",e=>(e[1]=Ie(this,e[1]),e))},every(e,t){return De(this,"every",e,t,void 0,arguments)},filter(e,t){return De(this,"filter",e,t,s=>s.map(n=>Ie(this,n)),arguments)},find(e,t){return De(this,"find",e,t,s=>Ie(this,s),arguments)},findIndex(e,t){return De(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return De(this,"findLast",e,t,s=>Ie(this,s),arguments)},findLastIndex(e,t){return De(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return De(this,"forEach",e,t,void 0,arguments)},includes(...e){return Rs(this,"includes",e)},indexOf(...e){return Rs(this,"indexOf",e)},join(e){return ft(this).join(e)},lastIndexOf(...e){return Rs(this,"lastIndexOf",e)},map(e,t){return De(this,"map",e,t,void 0,arguments)},pop(){return Ct(this,"pop")},push(...e){return Ct(this,"push",e)},reduce(e,...t){return Pn(this,"reduce",e,t)},reduceRight(e,...t){return Pn(this,"reduceRight",e,t)},shift(){return Ct(this,"shift")},some(e,t){return De(this,"some",e,t,void 0,arguments)},splice(...e){return Ct(this,"splice",e)},toReversed(){return ft(this).toReversed()},toSorted(e){return ft(this).toSorted(e)},toSpliced(...e){return ft(this).toSpliced(...e)},unshift(...e){return Ct(this,"unshift",e)},values(){return Ms(this,"values",e=>Ie(this,e))}};function Ms(e,t,s){const n=xs(e),r=n[t]();return n!==e&&!ve(e)&&(r._next=r.next,r.next=()=>{const i=r._next();return i.done||(i.value=s(i.value)),i}),r}const Pi=Array.prototype;function De(e,t,s,n,r,i){const o=xs(e),l=o!==e&&!ve(e),u=o[t];if(u!==Pi[t]){const d=u.apply(e,i);return l?we(d):d}let p=s;o!==e&&(l?p=function(d,y){return s.call(this,Ie(e,d),y,e)}:s.length>2&&(p=function(d,y){return s.call(this,d,y,e)}));const a=u.call(o,p,n);return l&&r?r(a):a}function Pn(e,t,s,n){const r=xs(e),i=r!==e&&!ve(e);let o=s,l=!1;r!==e&&(i?(l=n.length===0,o=function(p,a,d){return l&&(l=!1,p=Ie(e,p)),s.call(this,p,Ie(e,a),d,e)}):s.length>3&&(o=function(p,a,d){return s.call(this,p,a,d,e)}));const u=r[t](o,...n);return l?Ie(e,u):u}function Rs(e,t,s){const n=H(e);oe(n,"iterate",jt);const r=n[t](...s);return(r===-1||r===!1)&&un(s[0])?(s[0]=H(s[0]),n[t](...s)):r}function Ct(e,t,s=[]){He(),sn();const n=H(e)[t].apply(e,s);return nn(),Ke(),n}const Oi=Qs("__proto__,__v_isRef,__isVue"),yr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ke));function Ai(e){ke(e)||(e=String(e));const t=H(this);return oe(t,"has",e),t.hasOwnProperty(e)}class _r{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,i=this._isShallow;if(s==="__v_isReactive")return!r;if(s==="__v_isReadonly")return r;if(s==="__v_isShallow")return i;if(s==="__v_raw")return n===(r?i?Ni:Tr:i?Cr:Sr).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const o=R(t);if(!r){let u;if(o&&(u=Ti[s]))return u;if(s==="hasOwnProperty")return Ai}const l=Reflect.get(t,s,le(t)?t:n);if((ke(s)?yr.has(s):Oi(s))||(r||oe(t,"get",s),i))return l;if(le(l)){const u=o&&tn(s)?l:l.value;return r&&U(u)?Ks(u):u}return U(l)?r?Ks(l):Nt(l):l}}class wr extends _r{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];const o=R(t)&&tn(s);if(!this._isShallow){const p=Ue(i);if(!ve(n)&&!Ue(n)&&(i=H(i),n=H(n)),!o&&le(i)&&!le(n))return p||(i.value=n),!0}const l=o?Number(s)<t.length:K(t,s),u=Reflect.set(t,s,n,le(t)?t:r);return t===H(r)&&(l?Me(n,i)&&Ve(t,"set",s,n):Ve(t,"add",s,n)),u}deleteProperty(t,s){const n=K(t,s);t[s];const r=Reflect.deleteProperty(t,s);return r&&n&&Ve(t,"delete",s,void 0),r}has(t,s){const n=Reflect.has(t,s);return(!ke(s)||!yr.has(s))&&oe(t,"has",s),n}ownKeys(t){return oe(t,"iterate",R(t)?"length":rt),Reflect.ownKeys(t)}}class Ei extends _r{constructor(t=!1){super(!0,t)}set(t,s){return!0}deleteProperty(t,s){return!0}}const Ii=new wr,$i=new Ei,Mi=new wr(!0);const Hs=e=>e,Zt=e=>Reflect.getPrototypeOf(e);function Ri(e,t,s){return function(...n){const r=this.__v_raw,i=H(r),o=ht(i),l=e==="entries"||e===Symbol.iterator&&o,u=e==="keys"&&o,p=r[e](...n),a=s?Hs:t?bt:we;return!t&&oe(i,"iterate",u?Bs:rt),ie(Object.create(p),{next(){const{value:d,done:y}=p.next();return y?{value:d,done:y}:{value:l?[a(d[0]),a(d[1])]:a(d),done:y}}})}}function Xt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function ki(e,t){const s={get(r){const i=this.__v_raw,o=H(i),l=H(r);e||(Me(r,l)&&oe(o,"get",r),oe(o,"get",l));const{has:u}=Zt(o),p=t?Hs:e?bt:we;if(u.call(o,r))return p(i.get(r));if(u.call(o,l))return p(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&oe(H(r),"iterate",rt),r.size},has(r){const i=this.__v_raw,o=H(i),l=H(r);return e||(Me(r,l)&&oe(o,"has",r),oe(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,u=H(l),p=t?Hs:e?bt:we;return!e&&oe(u,"iterate",rt),l.forEach((a,d)=>r.call(i,p(a),p(d),o))}};return ie(s,e?{add:Xt("add"),set:Xt("set"),delete:Xt("delete"),clear:Xt("clear")}:{add(r){const i=H(this),o=Zt(i),l=H(r),u=!t&&!ve(r)&&!Ue(r)?l:r;return o.has.call(i,u)||Me(r,u)&&o.has.call(i,r)||Me(l,u)&&o.has.call(i,l)||(i.add(u),Ve(i,"add",u,u)),this},set(r,i){!t&&!ve(i)&&!Ue(i)&&(i=H(i));const o=H(this),{has:l,get:u}=Zt(o);let p=l.call(o,r);p||(r=H(r),p=l.call(o,r));const a=u.call(o,r);return o.set(r,i),p?Me(i,a)&&Ve(o,"set",r,i):Ve(o,"add",r,i),this},delete(r){const i=H(this),{has:o,get:l}=Zt(i);let u=o.call(i,r);u||(r=H(r),u=o.call(i,r)),l&&l.call(i,r);const p=i.delete(r);return u&&Ve(i,"delete",r,void 0),p},clear(){const r=H(this),i=r.size!==0,o=r.clear();return i&&Ve(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=Ri(r,e,t)}),s}function ln(e,t){const s=ki(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(K(s,r)&&r in n?s:n,r,i)}const Fi={get:ln(!1,!1)},Di={get:ln(!1,!0)},ji={get:ln(!0,!1)};const Sr=new WeakMap,Cr=new WeakMap,Tr=new WeakMap,Ni=new WeakMap;function Vi(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Li(e){return e.__v_skip||!Object.isExtensible(e)?0:Vi(ai(e))}function Nt(e){return Ue(e)?e:cn(e,!1,Ii,Fi,Sr)}function Bi(e){return cn(e,!1,Mi,Di,Cr)}function Ks(e){return cn(e,!0,$i,ji,Tr)}function cn(e,t,s,n,r){if(!U(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const i=Li(e);if(i===0)return e;const o=r.get(e);if(o)return o;const l=new Proxy(e,i===2?n:s);return r.set(e,l),l}function it(e){return Ue(e)?it(e.__v_raw):!!(e&&e.__v_isReactive)}function Ue(e){return!!(e&&e.__v_isReadonly)}function ve(e){return!!(e&&e.__v_isShallow)}function un(e){return e?!!e.__v_raw:!1}function H(e){const t=e&&e.__v_raw;return t?H(t):e}function Hi(e){return!K(e,"__v_skip")&&Object.isExtensible(e)&&cr(e,"__v_skip",!0),e}const we=e=>U(e)?Nt(e):e,bt=e=>U(e)?Ks(e):e;function le(e){return e?e.__v_isRef===!0:!1}function ot(e){return Ki(e,!1)}function Ki(e,t){return le(e)?e:new Ui(e,t)}class Ui{constructor(t,s){this.dep=new on,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=s?t:H(t),this._value=s?t:we(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||ve(t)||Ue(t);t=n?t:H(t),Me(t,s)&&(this._rawValue=t,this._value=n?t:we(t),this.dep.trigger())}}function xe(e){return le(e)?e.value:e}const Wi={get:(e,t,s)=>t==="__v_raw"?e:xe(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return le(r)&&!le(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function Pr(e){return it(e)?e:new Proxy(e,Wi)}class Ji{constructor(t,s,n){this.fn=t,this.setter=s,this._value=void 0,this.dep=new on(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Dt-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!s,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Y!==this)return hr(this,!0),!0}get value(){const t=this.dep.track();return vr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Gi(e,t,s=!1){let n,r;return F(e)?n=e:(n=e.get,r=e.set),new Ji(n,r,s)}const Qt={},ns=new WeakMap;let st;function qi(e,t=!1,s=st){if(s){let n=ns.get(s);n||ns.set(s,n=[]),n.push(e)}}function zi(e,t,s=G){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:u}=s,p=I=>r?I:ve(I)||r===!1||r===0?Le(I,1):Le(I);let a,d,y,O,j=!1,k=!1;if(le(e)?(d=()=>e.value,j=ve(e)):it(e)?(d=()=>p(e),j=!0):R(e)?(k=!0,j=e.some(I=>it(I)||ve(I)),d=()=>e.map(I=>{if(le(I))return I.value;if(it(I))return p(I);if(F(I))return u?u(I,2):I()})):F(e)?t?d=u?()=>u(e,2):e:d=()=>{if(y){He();try{y()}finally{Ke()}}const I=st;st=a;try{return u?u(e,3,[O]):e(O)}finally{st=I}}:d=Re,t&&r){const I=d,ee=r===!0?1/0:r;d=()=>Le(I(),ee)}const $=wi(),C=()=>{a.stop(),$&&$.active&&en($.effects,a)};if(i&&t){const I=t;t=(...ee)=>{I(...ee),C()}}let P=k?new Array(e.length).fill(Qt):Qt;const N=I=>{if(!(!(a.flags&1)||!a.dirty&&!I))if(t){const ee=a.run();if(r||j||(k?ee.some((Je,Se)=>Me(Je,P[Se])):Me(ee,P))){y&&y();const Je=st;st=a;try{const Se=[ee,P===Qt?void 0:k&&P[0]===Qt?[]:P,O];P=ee,u?u(t,3,Se):t(...Se)}finally{st=Je}}}else a.run()};return l&&l(N),a=new dr(d),a.scheduler=o?()=>o(N,!1):N,O=I=>qi(I,!1,a),y=a.onStop=()=>{const I=ns.get(a);if(I){if(u)u(I,4);else for(const ee of I)ee();ns.delete(a)}},t?n?N(!0):P=a.run():o?o(N.bind(null,!0),!0):a.run(),C.pause=a.pause.bind(a),C.resume=a.resume.bind(a),C.stop=C,C}function Le(e,t=1/0,s){if(t<=0||!U(e)||e.__v_skip||(s=s||new Map,(s.get(e)||0)>=t))return e;if(s.set(e,t),t--,le(e))Le(e.value,t,s);else if(R(e))for(let n=0;n<e.length;n++)Le(e[n],t,s);else if(gs(e)||ht(e))e.forEach(n=>{Le(n,t,s)});else if(or(e)){for(const n in e)Le(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Le(e[n],t,s)}return e}/**
* @vue/runtime-core v3.5.34
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/function Ut(e,t,s,n){try{return n?e(...n):e()}catch(r){ys(r,t,s)}}function Fe(e,t,s,n){if(F(e)){const r=Ut(e,t,s,n);return r&&rr(r)&&r.catch(i=>{ys(i,t,s)}),r}if(R(e)){const r=[];for(let i=0;i<e.length;i++)r.push(Fe(e[i],t,s,n));return r}}function ys(e,t,s,n=!0){const r=t?t.vnode:null,{errorHandler:i,throwUnhandledErrorInProduction:o}=t&&t.appContext.config||G;if(t){let l=t.parent;const u=t.proxy,p=`https://vuejs.org/error-reference/#runtime-${s}`;for(;l;){const a=l.ec;if(a){for(let d=0;d<a.length;d++)if(a[d](e,u,p)===!1)return}l=l.parent}if(i){He(),Ut(i,null,10,[e,u,p]),Ke();return}}Yi(e,s,r,n,o)}function Yi(e,t,s,n=!0,r=!1){if(r)throw e;console.error(e)}const fe=[];let Ee=-1;const gt=[];let qe=null,dt=0;const Or=Promise.resolve();let rs=null;function Ar(e){const t=rs||Or;return e?t.then(this?e.bind(this):e):t}function Zi(e){let t=Ee+1,s=fe.length;for(;t<s;){const n=t+s>>>1,r=fe[n],i=Vt(r);i<e||i===e&&r.flags&2?t=n+1:s=n}return t}function an(e){if(!(e.flags&1)){const t=Vt(e),s=fe[fe.length-1];!s||!(e.flags&2)&&t>=Vt(s)?fe.push(e):fe.splice(Zi(t),0,e),e.flags|=1,Er()}}function Er(){rs||(rs=Or.then($r))}function Xi(e){R(e)?gt.push(...e):qe&&e.id===-1?qe.splice(dt+1,0,e):e.flags&1||(gt.push(e),e.flags|=1),Er()}function On(e,t,s=Ee+1){for(;s<fe.length;s++){const n=fe[s];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;fe.splice(s,1),s--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function Ir(e){if(gt.length){const t=[...new Set(gt)].sort((s,n)=>Vt(s)-Vt(n));if(gt.length=0,qe){qe.push(...t);return}for(qe=t,dt=0;dt<qe.length;dt++){const s=qe[dt];s.flags&4&&(s.flags&=-2),s.flags&8||s(),s.flags&=-2}qe=null,dt=0}}const Vt=e=>e.id==null?e.flags&2?-1:1/0:e.id;function $r(e){try{for(Ee=0;Ee<fe.length;Ee++){const t=fe[Ee];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),Ut(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;Ee<fe.length;Ee++){const t=fe[Ee];t&&(t.flags&=-2)}Ee=-1,fe.length=0,Ir(),rs=null,(fe.length||gt.length)&&$r()}}let me=null,Mr=null;function is(e){const t=me;return me=e,Mr=e&&e.type.__scopeId||null,t}function Qi(e,t=me,s){if(!t||e._n)return e;const n=(...r)=>{n._d&&Nn(-1);const i=is(t);let o;try{o=e(...r)}finally{is(i),n._d&&Nn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function lt(e,t){if(me===null)return e;const s=Cs(me),n=e.dirs||(e.dirs=[]);for(let r=0;r<t.length;r++){let[i,o,l,u=G]=t[r];i&&(F(i)&&(i={mounted:i,updated:i}),i.deep&&Le(o),n.push({dir:i,instance:s,value:o,oldValue:void 0,arg:l,modifiers:u}))}return e}function et(e,t,s,n){const r=e.dirs,i=t&&t.dirs;for(let o=0;o<r.length;o++){const l=r[o];i&&(l.oldValue=i[o].value);let u=l.dir[n];u&&(He(),Fe(u,s,8,[e.el,l,e,t]),Ke())}}function eo(e,t){if(de){let s=de.provides;const n=de.parent&&de.parent.provides;n===s&&(s=de.provides=Object.create(n)),s[e]=t}}function ts(e,t,s=!1){const n=tl();if(n||mt){let r=mt?mt._context.provides:n?n.parent==null||n.ce?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&&F(t)?t.call(n&&n.proxy):t}}const to=Symbol.for("v-scx"),so=()=>ts(to);function ct(e,t,s){return Rr(e,t,s)}function Rr(e,t,s=G){const{immediate:n,deep:r,flush:i,once:o}=s,l=ie({},s),u=t&&n||!t&&i!=="post";let p;if(Bt){if(i==="sync"){const O=so();p=O.__watcherHandles||(O.__watcherHandles=[])}else if(!u){const O=()=>{};return O.stop=Re,O.resume=Re,O.pause=Re,O}}const a=de;l.call=(O,j,k)=>Fe(O,a,j,k);let d=!1;i==="post"?l.scheduler=O=>{pe(O,a&&a.suspense)}:i!=="sync"&&(d=!0,l.scheduler=(O,j)=>{j?O():an(O)}),l.augmentJob=O=>{t&&(O.flags|=4),d&&(O.flags|=2,a&&(O.id=a.uid,O.i=a))};const y=zi(e,t,l);return Bt&&(p?p.push(y):u&&y()),y}function no(e,t,s){const n=this.proxy,r=X(e)?e.includes(".")?kr(n,e):()=>n[e]:e.bind(n,n);let i;F(t)?i=t:(i=t.handler,s=t);const o=Wt(this),l=Rr(r,i.bind(n),s);return o(),l}function kr(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 ro=Symbol("_vte"),io=e=>e.__isTeleport,oo=Symbol("_leaveCb");function fn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,fn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function at(e,t){return F(e)?ie({name:e.name},t,{setup:e}):e}function Fr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function An(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const os=new WeakMap;function $t(e,t,s,n,r=!1){if(R(e)){e.forEach((k,$)=>$t(k,t&&(R(t)?t[$]:t),s,n,r));return}if(Mt(n)&&!r){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&$t(e,t,s,n.component.subTree);return}const i=n.shapeFlag&4?Cs(n.component):n.el,o=r?null:i,{i:l,r:u}=e,p=t&&t.r,a=l.refs===G?l.refs={}:l.refs,d=l.setupState,y=H(d),O=d===G?nr:k=>An(a,k)?!1:K(y,k),j=(k,$)=>!($&&An(a,$));if(p!=null&&p!==u){if(En(t),X(p))a[p]=null,O(p)&&(d[p]=null);else if(le(p)){const k=t;j(p,k.k)&&(p.value=null),k.k&&(a[k.k]=null)}}if(F(u))Ut(u,l,12,[o,a]);else{const k=X(u),$=le(u);if(k||$){const C=()=>{if(e.f){const P=k?O(u)?d[u]:a[u]:j()||!e.k?u.value:a[e.k];if(r)R(P)&&en(P,i);else if(R(P))P.includes(i)||P.push(i);else if(k)a[u]=[i],O(u)&&(d[u]=a[u]);else{const N=[i];j(u,e.k)&&(u.value=N),e.k&&(a[e.k]=N)}}else k?(a[u]=o,O(u)&&(d[u]=o)):$&&(j(u,e.k)&&(u.value=o),e.k&&(a[e.k]=o))};if(o){const P=()=>{C(),os.delete(e)};P.id=-1,os.set(e,P),pe(P,s)}else En(e),C()}}}function En(e){const t=os.get(e);t&&(t.flags|=8,os.delete(e))}bs().requestIdleCallback;bs().cancelIdleCallback;const Mt=e=>!!e.type.__asyncLoader,Dr=e=>e.type.__isKeepAlive;function lo(e,t){jr(e,"a",t)}function co(e,t){jr(e,"da",t)}function jr(e,t,s=de){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(_s(t,n,s),s){let r=s.parent;for(;r&&r.parent;)Dr(r.parent.vnode)&&uo(n,t,s,r),r=r.parent}}function uo(e,t,s,n){const r=_s(t,e,n,!0);pn(()=>{en(n[t],r)},s)}function _s(e,t,s=de,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{He();const l=Wt(s),u=Fe(t,s,e,o);return l(),Ke(),u});return n?r.unshift(i):r.push(i),i}}const We=e=>(t,s=de)=>{(!Bt||e==="sp")&&_s(e,(...n)=>t(...n),s)},ao=We("bm"),dn=We("m"),fo=We("bu"),po=We("u"),ho=We("bum"),pn=We("um"),go=We("sp"),mo=We("rtg"),vo=We("rtc");function bo(e,t=de){_s("ec",e,t)}const xo=Symbol.for("v-ndc");function Be(e,t,s,n){let r;const i=s,o=R(e);if(o||X(e)){const l=o&&it(e);let u=!1,p=!1;l&&(u=!ve(e),p=Ue(e),e=xs(e)),r=new Array(e.length);for(let a=0,d=e.length;a<d;a++)r[a]=t(u?p?bt(we(e[a])):we(e[a]):e[a],a,void 0,i)}else if(typeof e=="number"){r=new Array(e);for(let l=0;l<e;l++)r[l]=t(l+1,l,void 0,i)}else if(U(e))if(e[Symbol.iterator])r=Array.from(e,(l,u)=>t(l,u,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let u=0,p=l.length;u<p;u++){const a=l[u];r[u]=t(e[a],a,u,i)}}else r=[];return r}const Us=e=>e?ri(e)?Cs(e):Us(e.parent):null,Rt=ie(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=>Us(e.parent),$root:e=>Us(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vr(e),$forceUpdate:e=>e.f||(e.f=()=>{an(e.update)}),$nextTick:e=>e.n||(e.n=Ar.bind(e.proxy)),$watch:e=>no.bind(e)}),ks=(e,t)=>e!==G&&!e.__isScriptSetup&&K(e,t),yo={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:r,props:i,accessCache:o,type:l,appContext:u}=e;if(t[0]!=="$"){const y=o[t];if(y!==void 0)switch(y){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(ks(n,t))return o[t]=1,n[t];if(r!==G&&K(r,t))return o[t]=2,r[t];if(K(i,t))return o[t]=3,i[t];if(s!==G&&K(s,t))return o[t]=4,s[t];Ws&&(o[t]=0)}}const p=Rt[t];let a,d;if(p)return t==="$attrs"&&oe(e.attrs,"get",""),p(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==G&&K(s,t))return o[t]=4,s[t];if(d=u.config.globalProperties,K(d,t))return d[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return ks(r,t)?(r[t]=s,!0):n!==G&&K(n,t)?(n[t]=s,!0):K(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(i[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:r,props:i,type:o}},l){let u;return!!(s[l]||e!==G&&l[0]!=="$"&&K(e,l)||ks(t,l)||K(i,l)||K(n,l)||K(Rt,l)||K(r.config.globalProperties,l)||(u=o.__cssModules)&&u[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:K(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function In(e){return R(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let Ws=!0;function _o(e){const t=Vr(e),s=e.proxy,n=e.ctx;Ws=!1,t.beforeCreate&&$n(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:u,inject:p,created:a,beforeMount:d,mounted:y,beforeUpdate:O,updated:j,activated:k,deactivated:$,beforeDestroy:C,beforeUnmount:P,destroyed:N,unmounted:I,render:ee,renderTracked:Je,renderTriggered:Se,errorCaptured:Ge,serverPrefetch:Jt,expose:Ze,inheritAttrs:yt,components:Gt,directives:qt,filters:Os}=t;if(p&&wo(p,n,null),o)for(const Z in o){const q=o[Z];F(q)&&(n[Z]=q.bind(s))}if(r){const Z=r.call(s,s);U(Z)&&(e.data=Nt(Z))}if(Ws=!0,i)for(const Z in i){const q=i[Z],Xe=F(q)?q.bind(s,s):F(q.get)?q.get.bind(s,s):Re,zt=!F(q)&&F(q.set)?q.set.bind(s):Re,Qe=us({get:Xe,set:zt});Object.defineProperty(n,Z,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:Ce=>Qe.value=Ce})}if(l)for(const Z in l)Nr(l[Z],n,s,Z);if(u){const Z=F(u)?u.call(s):u;Reflect.ownKeys(Z).forEach(q=>{eo(q,Z[q])})}a&&$n(a,e,"c");function ce(Z,q){R(q)?q.forEach(Xe=>Z(Xe.bind(s))):q&&Z(q.bind(s))}if(ce(ao,d),ce(dn,y),ce(fo,O),ce(po,j),ce(lo,k),ce(co,$),ce(bo,Ge),ce(vo,Je),ce(mo,Se),ce(ho,P),ce(pn,I),ce(go,Jt),R(Ze))if(Ze.length){const Z=e.exposed||(e.exposed={});Ze.forEach(q=>{Object.defineProperty(Z,q,{get:()=>s[q],set:Xe=>s[q]=Xe,enumerable:!0})})}else e.exposed||(e.exposed={});ee&&e.render===Re&&(e.render=ee),yt!=null&&(e.inheritAttrs=yt),Gt&&(e.components=Gt),qt&&(e.directives=qt),Jt&&Fr(e)}function wo(e,t,s=Re){R(e)&&(e=Js(e));for(const n in e){const r=e[n];let i;U(r)?"default"in r?i=ts(r.from||n,r.default,!0):i=ts(r.from||n):i=ts(r),le(i)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>i.value,set:o=>i.value=o}):t[n]=i}}function $n(e,t,s){Fe(R(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Nr(e,t,s,n){let r=n.includes(".")?kr(s,n):()=>s[n];if(X(e)){const i=t[e];F(i)&&ct(r,i)}else if(F(e))ct(r,e.bind(s));else if(U(e))if(R(e))e.forEach(i=>Nr(i,t,s,n));else{const i=F(e.handler)?e.handler.bind(s):t[e.handler];F(i)&&ct(r,i,e)}}function Vr(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:o}}=e.appContext,l=i.get(t);let u;return l?u=l:!r.length&&!s&&!n?u=t:(u={},r.length&&r.forEach(p=>ls(u,p,o,!0)),ls(u,t,o)),U(t)&&i.set(t,u),u}function ls(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&ls(e,i,s,!0),r&&r.forEach(o=>ls(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=So[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const So={data:Mn,props:Rn,emits:Rn,methods:Pt,computed:Pt,beforeCreate:ue,created:ue,beforeMount:ue,mounted:ue,beforeUpdate:ue,updated:ue,beforeDestroy:ue,beforeUnmount:ue,destroyed:ue,unmounted:ue,activated:ue,deactivated:ue,errorCaptured:ue,serverPrefetch:ue,components:Pt,directives:Pt,watch:To,provide:Mn,inject:Co};function Mn(e,t){return t?e?function(){return ie(F(e)?e.call(this,this):e,F(t)?t.call(this,this):t)}:t:e}function Co(e,t){return Pt(Js(e),Js(t))}function Js(e){if(R(e)){const t={};for(let s=0;s<e.length;s++)t[e[s]]=e[s];return t}return e}function ue(e,t){return e?[...new Set([].concat(e,t))]:t}function Pt(e,t){return e?ie(Object.create(null),e,t):t}function Rn(e,t){return e?R(e)&&R(t)?[...new Set([...e,...t])]:ie(Object.create(null),In(e),In(t??{})):t}function To(e,t){if(!e)return t;if(!t)return e;const s=ie(Object.create(null),e);for(const n in t)s[n]=ue(e[n],t[n]);return s}function Lr(){return{app:null,config:{isNativeTag:nr,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 Po=0;function Oo(e,t){return function(n,r=null){F(n)||(n=ie({},n)),r!=null&&!U(r)&&(r=null);const i=Lr(),o=new WeakSet,l=[];let u=!1;const p=i.app={_uid:Po++,_component:n,_props:r,_container:null,_context:i,_instance:null,version:ll,get config(){return i.config},set config(a){},use(a,...d){return o.has(a)||(a&&F(a.install)?(o.add(a),a.install(p,...d)):F(a)&&(o.add(a),a(p,...d))),p},mixin(a){return i.mixins.includes(a)||i.mixins.push(a),p},component(a,d){return d?(i.components[a]=d,p):i.components[a]},directive(a,d){return d?(i.directives[a]=d,p):i.directives[a]},mount(a,d,y){if(!u){const O=p._ceVNode||se(n,r);return O.appContext=i,y===!0?y="svg":y===!1&&(y=void 0),e(O,a,y),u=!0,p._container=a,a.__vue_app__=p,Cs(O.component)}},onUnmount(a){l.push(a)},unmount(){u&&(Fe(l,p._instance,16),e(null,p._container),delete p._container.__vue_app__)},provide(a,d){return i.provides[a]=d,p},runWithContext(a){const d=mt;mt=p;try{return a()}finally{mt=d}}};return p}}let mt=null;const Ao=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ye(t)}Modifiers`]||e[`${ut(t)}Modifiers`];function Eo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||G;let r=s;const i=t.startsWith("update:"),o=i&&Ao(n,t.slice(7));o&&(o.trim&&(r=s.map(a=>X(a)?a.trim():a)),o.number&&(r=s.map(vs)));let l,u=n[l=Es(t)]||n[l=Es(ye(t))];!u&&i&&(u=n[l=Es(ut(t))]),u&&Fe(u,e,6,r);const p=n[l+"Once"];if(p){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Fe(p,e,6,r)}}const Io=new WeakMap;function Br(e,t,s=!1){const n=s?Io:t.emitsCache,r=n.get(e);if(r!==void 0)return r;const i=e.emits;let o={},l=!1;if(!F(e)){const u=p=>{const a=Br(p,t,!0);a&&(l=!0,ie(o,a))};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!i&&!l?(U(e)&&n.set(e,null),null):(R(i)?i.forEach(u=>o[u]=null):ie(o,i),U(e)&&n.set(e,o),o)}function ws(e,t){return!e||!ps(t)?!1:(t=t.slice(2).replace(/Once$/,""),K(e,t[0].toLowerCase()+t.slice(1))||K(e,ut(t))||K(e,t))}function kn(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:u,render:p,renderCache:a,props:d,data:y,setupState:O,ctx:j,inheritAttrs:k}=e,$=is(e);let C,P;try{if(s.shapeFlag&4){const I=r||n,ee=I;C=$e(p.call(ee,I,a,d,O,y,j)),P=l}else{const I=t;C=$e(I.length>1?I(d,{attrs:l,slots:o,emit:u}):I(d,null)),P=t.props?l:$o(l)}}catch(I){kt.length=0,ys(I,e,1),C=se(Ye)}let N=C;if(P&&k!==!1){const I=Object.keys(P),{shapeFlag:ee}=N;I.length&&ee&7&&(i&&I.some(hs)&&(P=Mo(P,i)),N=xt(N,P,!1,!0))}return s.dirs&&(N=xt(N,null,!1,!0),N.dirs=N.dirs?N.dirs.concat(s.dirs):s.dirs),s.transition&&fn(N,s.transition),C=N,is($),C}const $o=e=>{let t;for(const s in e)(s==="class"||s==="style"||ps(s))&&((t||(t={}))[s]=e[s]);return t},Mo=(e,t)=>{const s={};for(const n in e)(!hs(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Ro(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:l,patchFlag:u}=t,p=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&u>=0){if(u&1024)return!0;if(u&16)return n?Fn(n,o,p):!!o;if(u&8){const a=t.dynamicProps;for(let d=0;d<a.length;d++){const y=a[d];if(Hr(o,n,y)&&!ws(p,y))return!0}}}else return(r||l)&&(!l||!l.$stable)?!0:n===o?!1:n?o?Fn(n,o,p):!0:!!o;return!1}function Fn(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 i=n[r];if(Hr(t,e,i)&&!ws(s,i))return!0}return!1}function Hr(e,t,s){const n=e[s],r=t[s];return s==="style"&&U(n)&&U(r)?!Kt(n,r):n!==r}function ko({vnode:e,parent:t,suspense:s},n){for(;t;){const r=t.subTree;if(r.suspense&&r.suspense.activeBranch===e&&(r.suspense.vnode.el=r.el=n,e=r),r===e)(e=t.vnode).el=n,t=t.parent;else break}s&&s.activeBranch===e&&(s.vnode.el=n)}const Kr={},Ur=()=>Object.create(Kr),Wr=e=>Object.getPrototypeOf(e)===Kr;function Fo(e,t,s,n=!1){const r={},i=Ur();e.propsDefaults=Object.create(null),Jr(e,t,r,i);for(const o in e.propsOptions[0])o in r||(r[o]=void 0);s?e.props=n?r:Bi(r):e.type.props?e.props=r:e.props=i,e.attrs=i}function Do(e,t,s,n){const{props:r,attrs:i,vnode:{patchFlag:o}}=e,l=H(r),[u]=e.propsOptions;let p=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let d=0;d<a.length;d++){let y=a[d];if(ws(e.emitsOptions,y))continue;const O=t[y];if(u)if(K(i,y))O!==i[y]&&(i[y]=O,p=!0);else{const j=ye(y);r[j]=Gs(u,l,j,O,e,!1)}else O!==i[y]&&(i[y]=O,p=!0)}}}else{Jr(e,t,r,i)&&(p=!0);let a;for(const d in l)(!t||!K(t,d)&&((a=ut(d))===d||!K(t,a)))&&(u?s&&(s[d]!==void 0||s[a]!==void 0)&&(r[d]=Gs(u,l,d,void 0,e,!0)):delete r[d]);if(i!==l)for(const d in i)(!t||!K(t,d))&&(delete i[d],p=!0)}p&&Ve(e.attrs,"set","")}function Jr(e,t,s,n){const[r,i]=e.propsOptions;let o=!1,l;if(t)for(let u in t){if(At(u))continue;const p=t[u];let a;r&&K(r,a=ye(u))?!i||!i.includes(a)?s[a]=p:(l||(l={}))[a]=p:ws(e.emitsOptions,u)||(!(u in n)||p!==n[u])&&(n[u]=p,o=!0)}if(i){const u=H(s),p=l||G;for(let a=0;a<i.length;a++){const d=i[a];s[d]=Gs(r,u,d,p[d],e,!K(p,d))}}return o}function Gs(e,t,s,n,r,i){const o=e[s];if(o!=null){const l=K(o,"default");if(l&&n===void 0){const u=o.default;if(o.type!==Function&&!o.skipFactory&&F(u)){const{propsDefaults:p}=r;if(s in p)n=p[s];else{const a=Wt(r);n=p[s]=u.call(null,t),a()}}else n=u;r.ce&&r.ce._setProp(s,n)}o[0]&&(i&&!l?n=!1:o[1]&&(n===""||n===ut(s))&&(n=!0))}return n}const jo=new WeakMap;function Gr(e,t,s=!1){const n=s?jo:t.propsCache,r=n.get(e);if(r)return r;const i=e.props,o={},l=[];let u=!1;if(!F(e)){const a=d=>{u=!0;const[y,O]=Gr(d,t,!0);ie(o,y),O&&l.push(...O)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!i&&!u)return U(e)&&n.set(e,pt),pt;if(R(i))for(let a=0;a<i.length;a++){const d=ye(i[a]);Dn(d)&&(o[d]=G)}else if(i)for(const a in i){const d=ye(a);if(Dn(d)){const y=i[a],O=o[d]=R(y)||F(y)?{type:y}:ie({},y),j=O.type;let k=!1,$=!0;if(R(j))for(let C=0;C<j.length;++C){const P=j[C],N=F(P)&&P.name;if(N==="Boolean"){k=!0;break}else N==="String"&&($=!1)}else k=F(j)&&j.name==="Boolean";O[0]=k,O[1]=$,(k||K(O,"default"))&&l.push(d)}}const p=[o,l];return U(e)&&n.set(e,p),p}function Dn(e){return e[0]!=="$"&&!At(e)}const hn=e=>e==="_"||e==="_ctx"||e==="$stable",gn=e=>R(e)?e.map($e):[$e(e)],No=(e,t,s)=>{if(t._n)return t;const n=Qi((...r)=>gn(t(...r)),s);return n._c=!1,n},qr=(e,t,s)=>{const n=e._ctx;for(const r in e){if(hn(r))continue;const i=e[r];if(F(i))t[r]=No(r,i,n);else if(i!=null){const o=gn(i);t[r]=()=>o}}},zr=(e,t)=>{const s=gn(t);e.slots.default=()=>s},Yr=(e,t,s)=>{for(const n in t)(s||!hn(n))&&(e[n]=t[n])},Vo=(e,t,s)=>{const n=e.slots=Ur();if(e.vnode.shapeFlag&32){const r=t._;r?(Yr(n,t,s),s&&cr(n,"_",r,!0)):qr(t,n)}else t&&zr(e,t)},Lo=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=G;if(n.shapeFlag&32){const l=t._;l?s&&l===1?i=!1:Yr(r,t,s):(i=!t.$stable,qr(t,r)),o=t}else t&&(zr(e,t),o={default:1});if(i)for(const l in r)!hn(l)&&o[l]==null&&delete r[l]},pe=Wo;function Bo(e){return Ho(e)}function Ho(e,t){const s=bs();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:u,setText:p,setElementText:a,parentNode:d,nextSibling:y,setScopeId:O=Re,insertStaticContent:j}=e,k=(c,f,h,x=null,m=null,v=null,S=void 0,w=null,_=!!f.dynamicChildren)=>{if(c===f)return;c&&!Tt(c,f)&&(x=Yt(c),Ce(c,m,v,!0),c=null),f.patchFlag===-2&&(_=!1,f.dynamicChildren=null);const{type:b,ref:E,shapeFlag:T}=f;switch(b){case Ss:$(c,f,h,x);break;case Ye:C(c,f,h,x);break;case Ds:c==null&&P(f,h,x,S);break;case te:Gt(c,f,h,x,m,v,S,w,_);break;default:T&1?ee(c,f,h,x,m,v,S,w,_):T&6?qt(c,f,h,x,m,v,S,w,_):(T&64||T&128)&&b.process(c,f,h,x,m,v,S,w,_,wt)}E!=null&&m?$t(E,c&&c.ref,v,f||c,!f):E==null&&c&&c.ref!=null&&$t(c.ref,null,v,c,!0)},$=(c,f,h,x)=>{if(c==null)n(f.el=l(f.children),h,x);else{const m=f.el=c.el;f.children!==c.children&&p(m,f.children)}},C=(c,f,h,x)=>{c==null?n(f.el=u(f.children||""),h,x):f.el=c.el},P=(c,f,h,x)=>{[c.el,c.anchor]=j(c.children,f,h,x,c.el,c.anchor)},N=({el:c,anchor:f},h,x)=>{let m;for(;c&&c!==f;)m=y(c),n(c,h,x),c=m;n(f,h,x)},I=({el:c,anchor:f})=>{let h;for(;c&&c!==f;)h=y(c),r(c),c=h;r(f)},ee=(c,f,h,x,m,v,S,w,_)=>{if(f.type==="svg"?S="svg":f.type==="math"&&(S="mathml"),c==null)Je(f,h,x,m,v,S,w,_);else{const b=c.el&&c.el._isVueCE?c.el:null;try{b&&b._beginPatch(),Jt(c,f,m,v,S,w,_)}finally{b&&b._endPatch()}}},Je=(c,f,h,x,m,v,S,w)=>{let _,b;const{props:E,shapeFlag:T,transition:A,dirs:M}=c;if(_=c.el=o(c.type,v,E&&E.is,E),T&8?a(_,c.children):T&16&&Ge(c.children,_,null,x,m,Fs(c,v),S,w),M&&et(c,null,x,"created"),Se(_,c,c.scopeId,S,x),E){for(const W in E)W!=="value"&&!At(W)&&i(_,W,null,E[W],v,x);"value"in E&&i(_,"value",null,E.value,v),(b=E.onVnodeBeforeMount)&&Ae(b,x,c)}M&&et(c,null,x,"beforeMount");const V=Ko(m,A);V&&A.beforeEnter(_),n(_,f,h),((b=E&&E.onVnodeMounted)||V||M)&&pe(()=>{try{b&&Ae(b,x,c),V&&A.enter(_),M&&et(c,null,x,"mounted")}finally{}},m)},Se=(c,f,h,x,m)=>{if(h&&O(c,h),x)for(let v=0;v<x.length;v++)O(c,x[v]);if(m){let v=m.subTree;if(f===v||ei(v.type)&&(v.ssContent===f||v.ssFallback===f)){const S=m.vnode;Se(c,S,S.scopeId,S.slotScopeIds,m.parent)}}},Ge=(c,f,h,x,m,v,S,w,_=0)=>{for(let b=_;b<c.length;b++){const E=c[b]=w?Ne(c[b]):$e(c[b]);k(null,E,f,h,x,m,v,S,w)}},Jt=(c,f,h,x,m,v,S)=>{const w=f.el=c.el;let{patchFlag:_,dynamicChildren:b,dirs:E}=f;_|=c.patchFlag&16;const T=c.props||G,A=f.props||G;let M;if(h&&tt(h,!1),(M=A.onVnodeBeforeUpdate)&&Ae(M,h,f,c),E&&et(f,c,h,"beforeUpdate"),h&&tt(h,!0),(T.innerHTML&&A.innerHTML==null||T.textContent&&A.textContent==null)&&a(w,""),b?Ze(c.dynamicChildren,b,w,h,x,Fs(f,m),v):S||q(c,f,w,null,h,x,Fs(f,m),v,!1),_>0){if(_&16)yt(w,T,A,h,m);else if(_&2&&T.class!==A.class&&i(w,"class",null,A.class,m),_&4&&i(w,"style",T.style,A.style,m),_&8){const V=f.dynamicProps;for(let W=0;W<V.length;W++){const z=V[W],Q=T[z],ne=A[z];(ne!==Q||z==="value")&&i(w,z,Q,ne,m,h)}}_&1&&c.children!==f.children&&a(w,f.children)}else!S&&b==null&&yt(w,T,A,h,m);((M=A.onVnodeUpdated)||E)&&pe(()=>{M&&Ae(M,h,f,c),E&&et(f,c,h,"updated")},x)},Ze=(c,f,h,x,m,v,S)=>{for(let w=0;w<f.length;w++){const _=c[w],b=f[w],E=_.el&&(_.type===te||!Tt(_,b)||_.shapeFlag&198)?d(_.el):h;k(_,b,E,null,x,m,v,S,!0)}},yt=(c,f,h,x,m)=>{if(f!==h){if(f!==G)for(const v in f)!At(v)&&!(v in h)&&i(c,v,f[v],null,m,x);for(const v in h){if(At(v))continue;const S=h[v],w=f[v];S!==w&&v!=="value"&&i(c,v,w,S,m,x)}"value"in h&&i(c,"value",f.value,h.value,m)}},Gt=(c,f,h,x,m,v,S,w,_)=>{const b=f.el=c?c.el:l(""),E=f.anchor=c?c.anchor:l("");let{patchFlag:T,dynamicChildren:A,slotScopeIds:M}=f;M&&(w=w?w.concat(M):M),c==null?(n(b,h,x),n(E,h,x),Ge(f.children||[],h,E,m,v,S,w,_)):T>0&&T&64&&A&&c.dynamicChildren&&c.dynamicChildren.length===A.length?(Ze(c.dynamicChildren,A,h,m,v,S,w),(f.key!=null||m&&f===m.subTree)&&Zr(c,f,!0)):q(c,f,h,E,m,v,S,w,_)},qt=(c,f,h,x,m,v,S,w,_)=>{f.slotScopeIds=w,c==null?f.shapeFlag&512?m.ctx.activate(f,h,x,S,_):Os(f,h,x,m,v,S,_):vn(c,f,_)},Os=(c,f,h,x,m,v,S)=>{const w=c.component=el(c,x,m);if(Dr(c)&&(w.ctx.renderer=wt),sl(w,!1,S),w.asyncDep){if(m&&m.registerDep(w,ce,S),!c.el){const _=w.subTree=se(Ye);C(null,_,f,h),c.placeholder=_.el}}else ce(w,c,f,h,m,v,S)},vn=(c,f,h)=>{const x=f.component=c.component;if(Ro(c,f,h))if(x.asyncDep&&!x.asyncResolved){Z(x,f,h);return}else x.next=f,x.update();else f.el=c.el,x.vnode=f},ce=(c,f,h,x,m,v,S)=>{const w=()=>{if(c.isMounted){let{next:T,bu:A,u:M,parent:V,vnode:W}=c;{const Pe=Xr(c);if(Pe){T&&(T.el=W.el,Z(c,T,S)),Pe.asyncDep.then(()=>{pe(()=>{c.isUnmounted||b()},m)});return}}let z=T,Q;tt(c,!1),T?(T.el=W.el,Z(c,T,S)):T=W,A&&es(A),(Q=T.props&&T.props.onVnodeBeforeUpdate)&&Ae(Q,V,T,W),tt(c,!0);const ne=kn(c),Te=c.subTree;c.subTree=ne,k(Te,ne,d(Te.el),Yt(Te),c,m,v),T.el=ne.el,z===null&&ko(c,ne.el),M&&pe(M,m),(Q=T.props&&T.props.onVnodeUpdated)&&pe(()=>Ae(Q,V,T,W),m)}else{let T;const{el:A,props:M}=f,{bm:V,m:W,parent:z,root:Q,type:ne}=c,Te=Mt(f);tt(c,!1),V&&es(V),!Te&&(T=M&&M.onVnodeBeforeMount)&&Ae(T,z,f),tt(c,!0);{Q.ce&&Q.ce._hasShadowRoot()&&Q.ce._injectChildStyle(ne,c.parent?c.parent.type:void 0);const Pe=c.subTree=kn(c);k(null,Pe,h,x,c,m,v),f.el=Pe.el}if(W&&pe(W,m),!Te&&(T=M&&M.onVnodeMounted)){const Pe=f;pe(()=>Ae(T,z,Pe),m)}(f.shapeFlag&256||z&&Mt(z.vnode)&&z.vnode.shapeFlag&256)&&c.a&&pe(c.a,m),c.isMounted=!0,f=h=x=null}};c.scope.on();const _=c.effect=new dr(w);c.scope.off();const b=c.update=_.run.bind(_),E=c.job=_.runIfDirty.bind(_);E.i=c,E.id=c.uid,_.scheduler=()=>an(E),tt(c,!0),b()},Z=(c,f,h)=>{f.component=c;const x=c.vnode.props;c.vnode=f,c.next=null,Do(c,f.props,x,h),Lo(c,f.children,h),He(),On(c),Ke()},q=(c,f,h,x,m,v,S,w,_=!1)=>{const b=c&&c.children,E=c?c.shapeFlag:0,T=f.children,{patchFlag:A,shapeFlag:M}=f;if(A>0){if(A&128){zt(b,T,h,x,m,v,S,w,_);return}else if(A&256){Xe(b,T,h,x,m,v,S,w,_);return}}M&8?(E&16&&_t(b,m,v),T!==b&&a(h,T)):E&16?M&16?zt(b,T,h,x,m,v,S,w,_):_t(b,m,v,!0):(E&8&&a(h,""),M&16&&Ge(T,h,x,m,v,S,w,_))},Xe=(c,f,h,x,m,v,S,w,_)=>{c=c||pt,f=f||pt;const b=c.length,E=f.length,T=Math.min(b,E);let A;for(A=0;A<T;A++){const M=f[A]=_?Ne(f[A]):$e(f[A]);k(c[A],M,h,null,m,v,S,w,_)}b>E?_t(c,m,v,!0,!1,T):Ge(f,h,x,m,v,S,w,_,T)},zt=(c,f,h,x,m,v,S,w,_)=>{let b=0;const E=f.length;let T=c.length-1,A=E-1;for(;b<=T&&b<=A;){const M=c[b],V=f[b]=_?Ne(f[b]):$e(f[b]);if(Tt(M,V))k(M,V,h,null,m,v,S,w,_);else break;b++}for(;b<=T&&b<=A;){const M=c[T],V=f[A]=_?Ne(f[A]):$e(f[A]);if(Tt(M,V))k(M,V,h,null,m,v,S,w,_);else break;T--,A--}if(b>T){if(b<=A){const M=A+1,V=M<E?f[M].el:x;for(;b<=A;)k(null,f[b]=_?Ne(f[b]):$e(f[b]),h,V,m,v,S,w,_),b++}}else if(b>A)for(;b<=T;)Ce(c[b],m,v,!0),b++;else{const M=b,V=b,W=new Map;for(b=V;b<=A;b++){const he=f[b]=_?Ne(f[b]):$e(f[b]);he.key!=null&&W.set(he.key,b)}let z,Q=0;const ne=A-V+1;let Te=!1,Pe=0;const St=new Array(ne);for(b=0;b<ne;b++)St[b]=0;for(b=M;b<=T;b++){const he=c[b];if(Q>=ne){Ce(he,m,v,!0);continue}let Oe;if(he.key!=null)Oe=W.get(he.key);else for(z=V;z<=A;z++)if(St[z-V]===0&&Tt(he,f[z])){Oe=z;break}Oe===void 0?Ce(he,m,v,!0):(St[Oe-V]=b+1,Oe>=Pe?Pe=Oe:Te=!0,k(he,f[Oe],h,null,m,v,S,w,_),Q++)}const yn=Te?Uo(St):pt;for(z=yn.length-1,b=ne-1;b>=0;b--){const he=V+b,Oe=f[he],_n=f[he+1],wn=he+1<E?_n.el||Qr(_n):x;St[b]===0?k(null,Oe,h,wn,m,v,S,w,_):Te&&(z<0||b!==yn[z]?Qe(Oe,h,wn,2):z--)}}},Qe=(c,f,h,x,m=null)=>{const{el:v,type:S,transition:w,children:_,shapeFlag:b}=c;if(b&6){Qe(c.component.subTree,f,h,x);return}if(b&128){c.suspense.move(f,h,x);return}if(b&64){S.move(c,f,h,wt);return}if(S===te){n(v,f,h);for(let T=0;T<_.length;T++)Qe(_[T],f,h,x);n(c.anchor,f,h);return}if(S===Ds){N(c,f,h);return}if(x!==2&&b&1&&w)if(x===0)w.beforeEnter(v),n(v,f,h),pe(()=>w.enter(v),m);else{const{leave:T,delayLeave:A,afterLeave:M}=w,V=()=>{c.ctx.isUnmounted?r(v):n(v,f,h)},W=()=>{v._isLeaving&&v[oo](!0),T(v,()=>{V(),M&&M()})};A?A(v,V,W):W()}else n(v,f,h)},Ce=(c,f,h,x=!1,m=!1)=>{const{type:v,props:S,ref:w,children:_,dynamicChildren:b,shapeFlag:E,patchFlag:T,dirs:A,cacheIndex:M,memo:V}=c;if(T===-2&&(m=!1),w!=null&&(He(),$t(w,null,h,c,!0),Ke()),M!=null&&(f.renderCache[M]=void 0),E&256){f.ctx.deactivate(c);return}const W=E&1&&A,z=!Mt(c);let Q;if(z&&(Q=S&&S.onVnodeBeforeUnmount)&&Ae(Q,f,c),E&6)ci(c.component,h,x);else{if(E&128){c.suspense.unmount(h,x);return}W&&et(c,null,f,"beforeUnmount"),E&64?c.type.remove(c,f,h,wt,x):b&&!b.hasOnce&&(v!==te||T>0&&T&64)?_t(b,f,h,!1,!0):(v===te&&T&384||!m&&E&16)&&_t(_,f,h),x&&bn(c)}const ne=V!=null&&M==null;(z&&(Q=S&&S.onVnodeUnmounted)||W||ne)&&pe(()=>{Q&&Ae(Q,f,c),W&&et(c,null,f,"unmounted"),ne&&(c.el=null)},h)},bn=c=>{const{type:f,el:h,anchor:x,transition:m}=c;if(f===te){li(h,x);return}if(f===Ds){I(c);return}const v=()=>{r(h),m&&!m.persisted&&m.afterLeave&&m.afterLeave()};if(c.shapeFlag&1&&m&&!m.persisted){const{leave:S,delayLeave:w}=m,_=()=>S(h,v);w?w(c.el,v,_):_()}else v()},li=(c,f)=>{let h;for(;c!==f;)h=y(c),r(c),c=h;r(f)},ci=(c,f,h)=>{const{bum:x,scope:m,job:v,subTree:S,um:w,m:_,a:b}=c;jn(_),jn(b),x&&es(x),m.stop(),v&&(v.flags|=8,Ce(S,c,f,h)),w&&pe(w,f),pe(()=>{c.isUnmounted=!0},f)},_t=(c,f,h,x=!1,m=!1,v=0)=>{for(let S=v;S<c.length;S++)Ce(c[S],f,h,x,m)},Yt=c=>{if(c.shapeFlag&6)return Yt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const f=y(c.anchor||c.el),h=f&&f[ro];return h?y(h):f};let As=!1;const xn=(c,f,h)=>{let x;c==null?f._vnode&&(Ce(f._vnode,null,null,!0),x=f._vnode.component):k(f._vnode||null,c,f,null,null,null,h),f._vnode=c,As||(As=!0,On(x),Ir(),As=!1)},wt={p:k,um:Ce,m:Qe,r:bn,mt:Os,mc:Ge,pc:q,pbc:Ze,n:Yt,o:e};return{render:xn,hydrate:void 0,createApp:Oo(xn)}}function Fs({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 tt({effect:e,job:t},s){s?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function Ko(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function Zr(e,t,s=!1){const n=e.children,r=t.children;if(R(n)&&R(r))for(let i=0;i<n.length;i++){const o=n[i];let l=r[i];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=r[i]=Ne(r[i]),l.el=o.el),!s&&l.patchFlag!==-2&&Zr(o,l)),l.type===Ss&&(l.patchFlag===-1&&(l=r[i]=Ne(l)),l.el=o.el),l.type===Ye&&!l.el&&(l.el=o.el)}}function Uo(e){const t=e.slice(),s=[0];let n,r,i,o,l;const u=e.length;for(n=0;n<u;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(i=0,o=s.length-1;i<o;)l=i+o>>1,e[s[l]]<p?i=l+1:o=l;p<e[s[i]]&&(i>0&&(t[n]=s[i-1]),s[i]=n)}}for(i=s.length,o=s[i-1];i-- >0;)s[i]=o,o=t[o];return s}function Xr(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Xr(t)}function jn(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}function Qr(e){if(e.placeholder)return e.placeholder;const t=e.component;return t?Qr(t.subTree):null}const ei=e=>e.__isSuspense;function Wo(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):Xi(e)}const te=Symbol.for("v-fgt"),Ss=Symbol.for("v-txt"),Ye=Symbol.for("v-cmt"),Ds=Symbol.for("v-stc"),kt=[];let ge=null;function D(e=!1){kt.push(ge=e?null:[])}function Jo(){kt.pop(),ge=kt[kt.length-1]||null}let Lt=1;function Nn(e,t=!1){Lt+=e,e<0&&ge&&t&&(ge.hasOnce=!0)}function ti(e){return e.dynamicChildren=Lt>0?ge||pt:null,Jo(),Lt>0&&ge&&ge.push(e),e}function L(e,t,s,n,r,i){return ti(g(e,t,s,n,r,i,!0))}function Go(e,t,s,n,r){return ti(se(e,t,s,n,r,!0))}function si(e){return e?e.__v_isVNode===!0:!1}function Tt(e,t){return e.type===t.type&&e.key===t.key}const ni=({key:e})=>e??null,ss=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?X(e)||le(e)||F(e)?{i:me,r:e,k:t,f:!!s}:e:null);function g(e,t=null,s=null,n=0,r=null,i=e===te?0:1,o=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ni(t),ref:t&&ss(t),scopeId:Mr,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:i,patchFlag:n,dynamicProps:r,dynamicChildren:null,appContext:null,ctx:me};return l?(mn(u,s),i&128&&e.normalize(u)):s&&(u.shapeFlag|=X(s)?8:16),Lt>0&&!o&&ge&&(u.patchFlag>0||i&6)&&u.patchFlag!==32&&ge.push(u),u}const se=qo;function qo(e,t=null,s=null,n=0,r=null,i=!1){if((!e||e===xo)&&(e=Ye),si(e)){const l=xt(e,t,!0);return s&&mn(l,s),Lt>0&&!i&&ge&&(l.shapeFlag&6?ge[ge.indexOf(e)]=l:ge.push(l)),l.patchFlag=-2,l}if(ol(e)&&(e=e.__vccOpts),t){t=zo(t);let{class:l,style:u}=t;l&&!X(l)&&(t.class=ze(l)),U(u)&&(un(u)&&!R(u)&&(u=ie({},u)),t.style=Ft(u))}const o=X(e)?1:ei(e)?128:io(e)?64:U(e)?4:F(e)?2:0;return g(e,t,s,n,r,o,i,!0)}function zo(e){return e?un(e)||Wr(e)?ie({},e):e:null}function xt(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:u}=e,p=t?Zo(r||{},t):r,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&ni(p),ref:t&&t.ref?s&&i?R(i)?i.concat(ss(t)):[i,ss(t)]:ss(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==te?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&xt(e.ssContent),ssFallback:e.ssFallback&&xt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&fn(a,u.clone(a)),a}function Yo(e=" ",t=0){return se(Ss,null,e,t)}function be(e="",t=!1){return t?(D(),Go(Ye,null,e)):se(Ye,null,e)}function $e(e){return e==null||typeof e=="boolean"?se(Ye):R(e)?se(te,null,e.slice()):si(e)?Ne(e):se(Ss,null,String(e))}function Ne(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:xt(e)}function mn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(R(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),mn(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Wr(t)?t._ctx=me:r===3&&me&&(me.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else F(t)?(t={default:t,_ctx:me},s=32):(t=String(t),n&64?(s=16,t=[Yo(t)]):s=8);e.children=t,e.shapeFlag|=s}function Zo(...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=ze([t.class,n.class]));else if(r==="style")t.style=Ft([t.style,n.style]);else if(ps(r)){const i=t[r],o=n[r];o&&i!==o&&!(R(i)&&i.includes(o))?t[r]=i?[].concat(i,o):o:o==null&&i==null&&!hs(r)&&(t[r]=o)}else r!==""&&(t[r]=n[r])}return t}function Ae(e,t,s,n=null){Fe(e,t,7,[s,n])}const Xo=Lr();let Qo=0;function el(e,t,s){const n=e.type,r=(t?t.appContext:e.appContext)||Xo,i={uid:Qo++,vnode:e,type:n,parent:t,appContext:r,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new _i(!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:Gr(n,r),emitsOptions:Br(n,r),emit:null,emitted:null,propsDefaults:G,inheritAttrs:n.inheritAttrs,ctx:G,data:G,props:G,attrs:G,slots:G,refs:G,setupState:G,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 i.ctx={_:i},i.root=t?t.root:i,i.emit=Eo.bind(null,i),e.ce&&e.ce(i),i}let de=null;const tl=()=>de||me;let cs,qs;{const e=bs(),t=(s,n)=>{let r;return(r=e[s])||(r=e[s]=[]),r.push(n),i=>{r.length>1?r.forEach(o=>o(i)):r[0](i)}};cs=t("__VUE_INSTANCE_SETTERS__",s=>de=s),qs=t("__VUE_SSR_SETTERS__",s=>Bt=s)}const Wt=e=>{const t=de;return cs(e),e.scope.on(),()=>{e.scope.off(),cs(t)}},Vn=()=>{de&&de.scope.off(),cs(null)};function ri(e){return e.vnode.shapeFlag&4}let Bt=!1;function sl(e,t=!1,s=!1){t&&qs(t);const{props:n,children:r}=e.vnode,i=ri(e);Fo(e,n,i,t),Vo(e,r,s||t);const o=i?nl(e,t):void 0;return t&&qs(!1),o}function nl(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,yo);const{setup:n}=s;if(n){He();const r=e.setupContext=n.length>1?il(e):null,i=Wt(e),o=Ut(n,e,0,[e.props,r]),l=rr(o);if(Ke(),i(),(l||e.sp)&&!Mt(e)&&Fr(e),l){if(o.then(Vn,Vn),t)return o.then(u=>{Ln(e,u)}).catch(u=>{ys(u,e,0)});e.asyncDep=o}else Ln(e,o)}else ii(e)}function Ln(e,t,s){F(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:U(t)&&(e.setupState=Pr(t)),ii(e)}function ii(e,t,s){const n=e.type;e.render||(e.render=n.render||Re);{const r=Wt(e);He();try{_o(e)}finally{Ke(),r()}}}const rl={get(e,t){return oe(e,"get",""),e[t]}};function il(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,rl),slots:e.slots,emit:e.emit,expose:t}}function Cs(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Pr(Hi(e.exposed)),{get(t,s){if(s in t)return t[s];if(s in Rt)return Rt[s](e)},has(t,s){return s in t||s in Rt}})):e.proxy}function ol(e){return F(e)&&"__vccOpts"in e}const us=(e,t)=>Gi(e,t,Bt),ll="3.5.34";/**
* @vue/runtime-dom v3.5.34
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
**/let zs;const Bn=typeof window<"u"&&window.trustedTypes;if(Bn)try{zs=Bn.createPolicy("vue",{createHTML:e=>e})}catch{}const oi=zs?e=>zs.createHTML(e):e=>e,cl="http://www.w3.org/2000/svg",ul="http://www.w3.org/1998/Math/MathML",je=typeof document<"u"?document:null,Hn=je&&je.createElement("template"),al={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"?je.createElementNS(cl,e):t==="mathml"?je.createElementNS(ul,e):s?je.createElement(e,{is:s}):je.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>je.createTextNode(e),createComment:e=>je.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>je.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,r,i){const o=s?s.previousSibling:t.lastChild;if(r&&(r===i||r.nextSibling))for(;t.insertBefore(r.cloneNode(!0),s),!(r===i||!(r=r.nextSibling)););else{Hn.innerHTML=oi(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=Hn.content;if(n==="svg"||n==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},fl=Symbol("_vtc");function dl(e,t,s){const n=e[fl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Kn=Symbol("_vod"),pl=Symbol("_vsh"),hl=Symbol(""),gl=/(?:^|;)\s*display\s*:/;function ml(e,t,s){const n=e.style,r=X(s);let i=!1;if(s&&!r){if(t)if(X(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Ot(n,l,"")}else for(const o in t)s[o]==null&&Ot(n,o,"");for(const o in s){o==="display"&&(i=!0);const l=s[o];l!=null?bl(e,o,!X(t)&&t?t[o]:void 0,l)||Ot(n,o,l):Ot(n,o,"")}}else if(r){if(t!==s){const o=n[hl];o&&(s+=";"+o),n.cssText=s,i=gl.test(s)}}else t&&e.removeAttribute("style");Kn in e&&(e[Kn]=i?n.display:"",e[pl]&&(n.display="none"))}const Un=/\s*!important$/;function Ot(e,t,s){if(R(s))s.forEach(n=>Ot(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=vl(e,t);Un.test(s)?e.setProperty(ut(n),s.replace(Un,""),"important"):e[n]=s}}const Wn=["Webkit","Moz","ms"],js={};function vl(e,t){const s=js[t];if(s)return s;let n=ye(t);if(n!=="filter"&&n in e)return js[t]=n;n=lr(n);for(let r=0;r<Wn.length;r++){const i=Wn[r]+n;if(i in e)return js[t]=i}return t}function bl(e,t,s,n){return e.tagName==="TEXTAREA"&&(t==="width"||t==="height")&&X(n)&&s===n}const Jn="http://www.w3.org/1999/xlink";function Gn(e,t,s,n,r,i=bi(t)){n&&t.startsWith("xlink:")?s==null?e.removeAttributeNS(Jn,t.slice(6,t.length)):e.setAttributeNS(Jn,t,s):s==null||i&&!ur(s)?e.removeAttribute(t):e.setAttribute(t,i?"":ke(s)?String(s):s)}function qn(e,t,s,n,r){if(t==="innerHTML"||t==="textContent"){s!=null&&(e[t]=t==="innerHTML"?oi(s):s);return}const i=e.tagName;if(t==="value"&&i!=="PROGRESS"&&!i.includes("-")){const l=i==="OPTION"?e.getAttribute("value")||"":e.value,u=s==null?e.type==="checkbox"?"on":"":String(s);(l!==u||!("_value"in e))&&(e.value=u),s==null&&e.removeAttribute(t),e._value=s;return}let o=!1;if(s===""||s==null){const l=typeof e[t];l==="boolean"?s=ur(s):s==null&&l==="string"?(s="",o=!0):l==="number"&&(s=0,o=!0)}try{e[t]=s}catch{}o&&e.removeAttribute(r||t)}function nt(e,t,s,n){e.addEventListener(t,s,n)}function xl(e,t,s,n){e.removeEventListener(t,s,n)}const zn=Symbol("_vei");function yl(e,t,s,n,r=null){const i=e[zn]||(e[zn]={}),o=i[t];if(n&&o)o.value=n;else{const[l,u]=_l(t);if(n){const p=i[t]=Cl(n,r);nt(e,l,p,u)}else o&&(xl(e,l,o,u),i[t]=void 0)}}const Yn=/(?:Once|Passive|Capture)$/;function _l(e){let t;if(Yn.test(e)){t={};let n;for(;n=e.match(Yn);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):ut(e.slice(2)),t]}let Ns=0;const wl=Promise.resolve(),Sl=()=>Ns||(wl.then(()=>Ns=0),Ns=Date.now());function Cl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Fe(Tl(n,s.value),t,5,[n])};return s.value=e,s.attached=Sl(),s}function Tl(e,t){if(R(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 Zn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Pl=(e,t,s,n,r,i)=>{const o=r==="svg";t==="class"?dl(e,n,o):t==="style"?ml(e,s,n):ps(t)?hs(t)||yl(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Ol(e,t,n,o))?(qn(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Gn(e,t,n,o,i,t!=="value")):e._isVueCE&&(Al(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!X(n)))?qn(e,ye(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Gn(e,t,n,o))};function Ol(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Zn(t)&&F(s));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="sandbox"&&e.tagName==="IFRAME"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const r=e.tagName;if(r==="IMG"||r==="VIDEO"||r==="CANVAS"||r==="SOURCE")return!1}return Zn(t)&&X(s)?!1:t in e}function Al(e,t){const s=e._def.props;if(!s)return!1;const n=ye(t);return Array.isArray(s)?s.some(r=>ye(r)===n):Object.keys(s).some(r=>ye(r)===n)}const as=e=>{const t=e.props["onUpdate:modelValue"]||!1;return R(t)?s=>es(t,s):t};function El(e){e.target.composing=!0}function Xn(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const vt=Symbol("_assign");function Qn(e,t,s){return t&&(e=e.trim()),s&&(e=vs(e)),e}const Ys={created(e,{modifiers:{lazy:t,trim:s,number:n}},r){e[vt]=as(r);const i=n||r.props&&r.props.type==="number";nt(e,t?"change":"input",o=>{o.target.composing||e[vt](Qn(e.value,s,i))}),(s||i)&&nt(e,"change",()=>{e.value=Qn(e.value,s,i)}),t||(nt(e,"compositionstart",El),nt(e,"compositionend",Xn),nt(e,"change",Xn))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:s,modifiers:{lazy:n,trim:r,number:i}},o){if(e[vt]=as(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?vs(e.value):e.value,u=t??"";if(l===u)return;const p=e.getRootNode();(p instanceof Document||p instanceof ShadowRoot)&&p.activeElement===e&&e.type!=="range"&&(n&&t===s||r&&e.value.trim()===u)||(e.value=u)}},Ts={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const r=gs(t);nt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>s?vs(fs(o)):fs(o));e[vt](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,Ar(()=>{e._assigning=!1})}),e[vt]=as(n)},mounted(e,{value:t}){er(e,t)},beforeUpdate(e,t,s){e[vt]=as(s)},updated(e,{value:t}){e._assigning||er(e,t)}};function er(e,t){const s=e.multiple,n=R(t);if(!(s&&!n&&!gs(t))){for(let r=0,i=e.options.length;r<i;r++){const o=e.options[r],l=fs(o);if(s)if(n){const u=typeof l;u==="string"||u==="number"?o.selected=t.some(p=>String(p)===String(l)):o.selected=yi(t,l)>-1}else o.selected=t.has(l);else if(Kt(fs(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function fs(e){return"_value"in e?e._value:e.value}const Il=["ctrl","shift","alt","meta"],$l={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)=>Il.some(s=>e[`${s}Key`]&&!t.includes(s))},Zs=(e,t)=>{if(!e)return e;const s=e._withMods||(e._withMods={}),n=t.join(".");return s[n]||(s[n]=((r,...i)=>{for(let o=0;o<t.length;o++){const l=$l[t[o]];if(l&&l(r,t))return}return e(r,...i)}))},Ml=ie({patchProp:Pl},al);let tr;function Rl(){return tr||(tr=Bo(Ml))}const kl=((...e)=>{const t=Rl().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=Dl(n);if(!r)return;const i=t._component;!F(i)&&!i.render&&!i.template&&(i.template=r.innerHTML),r.nodeType===1&&(r.textContent="");const o=s(r,!1,Fl(r));return r instanceof Element&&(r.removeAttribute("v-cloak"),r.setAttribute("data-v-app","")),o},t});function Fl(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function Dl(e){return X(e)?document.querySelector(e):e}const J=window,B={loadAllSettings:()=>J.loadAllSettings(),saveToggles:e=>J.saveToggles(JSON.stringify(e)),saveLayout:e=>J.saveLayout(e),saveZodiac:e=>J.saveZodiac(e),saveCity:e=>J.saveCity(e),saveWallpaperType:(e,t)=>J.saveWallpaperType(e,t),pickLocalImage:()=>J.pickLocalImage(),enableBing:()=>J.enableBing(),bingPrev:()=>J.bingPrev(),bingNext:()=>J.bingNext(),bingToggleFavorite:()=>J.bingToggleFavorite(),getBingInfo:()=>J.getBingInfo(),saveBingAutoRefresh:e=>J.saveBingAutoRefresh(e),getBingFavorites:()=>J.getBingFavorites(),bingSetByIdx:e=>J.bingSetByIdx(e),bingThumbDataURI:e=>J.bingThumbDataURI(e),pickSolidColor:()=>J.pickSolidColor(),pickGradientColor:()=>J.pickGradientColor(),addSavedColor:(e,t,s)=>J.addSavedColor(e,t,s),removeSavedColor:e=>J.removeSavedColor(e),applySavedColor:e=>J.applySavedColor(e),saveWallpaperText:e=>J.saveWallpaperText(e),saveKnowledgeKeyword:e=>J.saveKnowledgeKeyword(e),saveKnowledgePrompt:e=>J.saveKnowledgePrompt(e),pickPhotoDir:()=>J.pickPhotoDir(),clearPhotoDir:()=>J.clearPhotoDir(),savePhotoInterval:e=>J.savePhotoInterval(e),resizeToFit:(e,t)=>e.resizeToFit(e,t)},jl={class:"switch"},Nl=["checked"],Vl=at({__name:"ToggleSwitch",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e){return(t,s)=>(D(),L("label",jl,[g("input",{type:"checkbox",checked:e.modelValue,onChange:s[0]||(s[0]=n=>t.$emit("update:modelValue",n.target.checked))},null,40,Nl),s[1]||(s[1]=g("span",{class:"track"},[g("span",{class:"thumb"})],-1))]))}}),Ps=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},ds=Ps(Vl,[["__scopeId","data-v-d838d577"]]),Ll={class:"mb-3"},Bl={class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg"},Hl={class:"text-xs font-medium text-[var(--text-muted)]"},Kl={key:0,class:"text-[10px] text-[var(--text-weak)] mt-px"},Ul=at({__name:"ToggleSection",props:{s:{}},setup(e){const t=e,s=[{key:"autoStart",label:"开机启动",desc:"系统启动时自动运行"},{key:"wallpaper",label:"显示壁纸"},{key:"time",label:"时间日期"},{key:"showSeconds",label:"显示秒",sub:!0},{key:"weather",label:"天气信息"},{key:"zodiacCard",label:"星座运势"},{key:"knowledgeCard",label:"知识卡片"},{key:"ainewsCard",label:"AI 资讯"}],n=s.map(r=>r.key);return ct(()=>n.map(r=>t.s[r]),()=>{const r={};for(const i of n)r[i]=t.s[i];B.saveToggles(r)}),(r,i)=>(D(),L("div",Ll,[i[0]||(i[0]=g("div",{class:"text-[10px] font-semibold text-[var(--text-weak)] uppercase tracking-[1.5px] mb-1 pl-0.5"},"显示控制",-1)),g("div",Bl,[(D(),L(te,null,Be(s,o=>g("div",{key:o.key,class:ze(["flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)] first:border-t-0",{"pl-8":o.sub}])},[g("div",null,[g("div",Hl,ae(o.label),1),o.desc?(D(),L("div",Kl,ae(o.desc),1)):be("",!0)]),se(ds,{modelValue:e.s[o.key],"onUpdate:modelValue":l=>e.s[o.key]=l},null,8,["modelValue","onUpdate:modelValue"])],2)),64))])]))}}),sr=new Map;function Xs(e,t,s,n=500){clearTimeout(sr.get(e)),sr.set(e,setTimeout(()=>t(s),n))}const Wl={class:"mb-3"},Jl={class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg"},Gl={class:"flex justify-between items-center px-3.5 py-2"},ql={class:"flex gap-1"},zl=["onClick"],Yl={key:0,class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg mt-1.5"},Zl={class:"flex justify-between items-center px-3.5 py-2"},Xl=["value"],Ql={key:0,class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},ec={key:1,class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg mt-1.5"},tc={class:"flex justify-between items-center px-3.5 py-2"},sc={class:"text-[10px] text-[var(--text-weak)] truncate mr-2"},nc={key:2,class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg mt-1.5"},rc={class:"flex justify-between items-center px-3.5 py-2"},ic={class:"flex items-center gap-2 min-w-0"},oc=["src"],lc={class:"min-w-0"},cc={class:"text-xs font-medium text-[var(--text-muted)] truncate"},uc={class:"text-[10px] text-[var(--text-weak)]"},ac={class:"flex gap-1 flex-shrink-0"},fc={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},dc={key:0,class:"px-3.5 py-2 border-t border-[var(--card-divider)]"},pc={class:"grid grid-cols-4 gap-1.5"},hc=["onClick"],gc=["src"],mc={key:3,class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg mt-1.5"},vc={class:"flex justify-between items-center px-3.5 py-2"},bc={class:"flex gap-1"},xc={key:0,class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},yc={class:"flex items-center gap-1.5"},_c={key:4,class:"flex flex-wrap gap-1.5 mt-1.5 px-0.5"},wc=["onClick","onContextmenu"],Sc=at({__name:"WallpaperSection",props:{s:{},currentColor:{}},emits:["set-wp-type","pick-solid","pick-gradient","save-color","apply-color","remove-color"],setup(e){const t=e,s=[{value:"theme",label:"主题"},{value:"image",label:"本地图片"},{value:"bing",label:"Bing"},{value:"color",label:"纯色/渐变"}],n=ot({date:"",title:"",copyright:"",url:"",fav:!1,idx:0,total:0}),r=ot(""),i=ot([]);async function o(){const $=await B.getBingInfo(),C=JSON.parse($);if(n.value=C,C.url){const P=C.url.replace("_1920x1080","_400x240");r.value=P!==C.url?P:await B.bingThumbDataURI(C.url.split("/").pop()||"")}}async function l(){n.value=JSON.parse(await B.bingPrev())}async function u(){n.value=JSON.parse(await B.bingNext())}async function p(){n.value=JSON.parse(await B.bingToggleFavorite()),await d()}async function a($){n.value=JSON.parse(await B.bingSetByIdx($))}async function d(){const $=await B.getBingFavorites(),C=JSON.parse($);i.value=await Promise.all(C.map(async P=>({idx:parseInt(P.match(/(\d+)/)?.[1]||"0",10),thumb:await B.bingThumbDataURI(P)})))}ct(()=>t.s.bingAutoRefresh,$=>B.saveBingAutoRefresh($)),ct(()=>t.s.wallpaperType,$=>{$==="bing"&&(o(),d())},{immediate:!0});async function y(){const $=await B.pickLocalImage();$&&(t.s.imagePath=$)}function O($,C,P){return{background:P&&C?`linear-gradient(135deg,${$},${C})`:$}}const j=us(()=>t.currentColor.c1?O(t.currentColor.c1,t.currentColor.c2,t.currentColor.gradient):{});function k($){return O($.color1,$.color2,$.gradient)}return($,C)=>(D(),L("div",Wl,[C[16]||(C[16]=g("div",{class:"text-[10px] font-semibold text-[var(--text-weak)] uppercase tracking-[1.5px] mb-1 pl-0.5"},"壁纸",-1)),g("div",Jl,[g("div",Gl,[C[8]||(C[8]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"类型选择",-1)),g("div",ql,[(D(),L(te,null,Be(s,P=>g("button",{key:P.value,onClick:N=>$.$emit("set-wp-type",P.value),class:ze([e.s.wallpaperType===P.value?"bg-[var(--accent)] border-[var(--accent)] text-[var(--text-strong)]":"bg-[var(--input-bg)] border-[var(--input-border)] text-[var(--text)] hover:bg-[var(--card-border)]","border rounded-md text-[11px] py-1 px-2.5 font-[inherit] cursor-pointer whitespace-nowrap transition-colors"])},ae(P.label),11,zl)),64))])])]),e.s.wallpaperType==="theme"?(D(),L("div",Yl,[g("div",Zl,[C[9]||(C[9]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"选择主题",-1)),lt(g("select",{"onUpdate:modelValue":C[0]||(C[0]=P=>e.s.theme=P),onChange:C[1]||(C[1]=P=>xe(B).saveWallpaperType("theme",e.s.theme)),class:"bg-[var(--input-bg)] border border-[var(--input-border)] rounded-md text-[var(--text)] text-[11px] py-0.5 px-1.5 outline-none min-w-[80px] max-w-[160px] focus:border-[var(--input-border-focus)]"},[(D(!0),L(te,null,Be(e.s.themes,P=>(D(),L("option",{key:P.value,value:P.value},ae(P.label),9,Xl))),128))],544),[[Ts,e.s.theme]])]),e.s.theme==="text"?(D(),L("div",Ql,[C[10]||(C[10]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"自定义文字",-1)),lt(g("input",{type:"text","onUpdate:modelValue":C[2]||(C[2]=P=>e.s.wallpaperText=P),onInput:C[3]||(C[3]=P=>xe(Xs)("wt",xe(B).saveWallpaperText,e.s.wallpaperText)),placeholder:"输入显示文字",class:"bg-[var(--input-bg)] border border-[var(--input-border)] rounded-md text-[var(--text)] text-[11px] py-1 px-2 outline-none w-[140px] focus:border-[var(--input-border-focus)]"},null,544),[[Ys,e.s.wallpaperText]])])):be("",!0)])):be("",!0),e.s.wallpaperType==="image"?(D(),L("div",ec,[g("div",tc,[g("div",sc,ae(e.s.imagePath||"未选择图片"),1),g("button",{class:"btn",onClick:y},"选择图片")])])):be("",!0),e.s.wallpaperType==="bing"?(D(),L("div",nc,[g("div",rc,[g("div",ic,[n.value.url?(D(),L("img",{key:0,src:r.value,class:"w-16 h-10 object-cover rounded flex-shrink-0"},null,8,oc)):be("",!0),g("div",lc,[g("div",cc,ae(n.value.copyright||"Bing 每日壁纸"),1),g("div",uc,ae(n.value.idx>0?`${n.value.idx} / ${n.value.total}`:""),1)])]),g("div",ac,[g("button",{class:"btn-sm",onClick:l},"◀"),g("button",{class:"btn-sm",onClick:u},"▶"),g("button",{class:"btn-sm",onClick:p},ae(n.value.fav?"★":"☆"),1)])]),g("div",fc,[C[11]||(C[11]=g("div",null,[g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"定时切换"),g("div",{class:"text-[10px] text-[var(--text-weak)] mt-px"},"每小时自动切换壁纸")],-1)),se(ds,{modelValue:e.s.bingAutoRefresh,"onUpdate:modelValue":C[4]||(C[4]=P=>e.s.bingAutoRefresh=P)},null,8,["modelValue"])]),i.value.length?(D(),L("div",dc,[C[12]||(C[12]=g("div",{class:"text-[10px] text-[var(--text-weak)] mb-1.5"},"收藏列表",-1)),g("div",pc,[(D(!0),L(te,null,Be(i.value,(P,N)=>(D(),L("div",{key:N,class:"cursor-pointer rounded overflow-hidden hover:opacity-80",onClick:I=>a(P.idx)},[g("img",{src:P.thumb,class:"w-full h-10 object-cover rounded"},null,8,gc)],8,hc))),128))])])):be("",!0)])):be("",!0),e.s.wallpaperType==="color"?(D(),L("div",mc,[g("div",vc,[C[13]||(C[13]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"选择颜色",-1)),g("div",bc,[g("button",{class:"btn",onClick:C[5]||(C[5]=P=>$.$emit("pick-solid"))},"纯色"),g("button",{class:"btn",onClick:C[6]||(C[6]=P=>$.$emit("pick-gradient"))},"渐变")])]),e.currentColor.c1?(D(),L("div",xc,[g("div",yc,[g("span",{class:"inline-block w-6 h-4 rounded-sm border border-[var(--input-border)]",style:Ft(j.value)},null,4),C[14]||(C[14]=g("span",{class:"text-[10px] text-[var(--text-weak)]"},"当前颜色",-1))]),g("button",{class:"btn",onClick:C[7]||(C[7]=P=>$.$emit("save-color"))},"收藏")])):be("",!0)])):be("",!0),e.s.savedColors.length&&e.s.wallpaperType==="color"?(D(),L("div",_c,[(D(!0),L(te,null,Be(e.s.savedColors,(P,N)=>(D(),L("div",{key:N,class:"color-swatch",style:Ft(k(P)),onClick:I=>$.$emit("apply-color",N),onContextmenu:Zs(I=>$.$emit("remove-color",N),["prevent"])},[...C[15]||(C[15]=[g("span",{class:"del"},"×",-1)])],44,wc))),128))])):be("",!0)]))}}),Cc=Ps(Sc,[["__scopeId","data-v-7f42d27c"]]),Tc={class:"mb-3"},Pc={class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg"},Oc={class:"flex justify-between items-center px-3.5 py-2"},Ac=at({__name:"LayoutSection",props:{s:{}},setup(e){return(t,s)=>(D(),L("div",Tc,[s[4]||(s[4]=g("div",{class:"text-[10px] font-semibold text-[var(--text-weak)] uppercase tracking-[1.5px] mb-1 pl-0.5"},"布局",-1)),g("div",Pc,[g("div",Oc,[s[3]||(s[3]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"信息布局",-1)),lt(g("select",{"onUpdate:modelValue":s[0]||(s[0]=n=>e.s.layout=n),onChange:s[1]||(s[1]=n=>xe(B).saveLayout(e.s.layout)),class:"bg-[var(--input-bg)] border border-[var(--input-border)] rounded-md text-[var(--text)] text-[11px] py-0.5 px-1.5 outline-none min-w-[80px] max-w-[160px] focus:border-[var(--input-border-focus)]"},[...s[2]||(s[2]=[g("option",{value:"single"},"合并卡片",-1),g("option",{value:"multi"},"独立卡片",-1)])],544),[[Ts,e.s.layout]])])])]))}}),Ec={class:"mb-3"},Ic={class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg"},$c={class:"flex justify-between items-center px-3.5 py-2"},Mc={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},Rc={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},kc={class:"text-[10px] text-[var(--text-weak)]"},Fc={class:"flex gap-1"},Dc={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},jc=["value"],Nc=at({__name:"PhotoSection",props:{s:{}},setup(e){const t=e;ct(()=>[t.s.photoCard,t.s.photoFrameMode],([r,i])=>{B.saveToggles({photoCard:r,photoFrameMode:i})});async function s(){const r=await B.pickPhotoDir();r&&(t.s.photoDir=r)}async function n(){await B.clearPhotoDir(),t.s.photoDir=""}return(r,i)=>(D(),L("div",Ec,[i[7]||(i[7]=g("div",{class:"text-[10px] font-semibold text-[var(--text-weak)] uppercase tracking-[1.5px] mb-1 pl-0.5"},"相册",-1)),g("div",Ic,[g("div",$c,[i[4]||(i[4]=g("div",null,[g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"相册展示")],-1)),se(ds,{modelValue:e.s.photoCard,"onUpdate:modelValue":i[0]||(i[0]=o=>e.s.photoCard=o)},null,8,["modelValue"])]),g("div",Mc,[i[5]||(i[5]=g("div",null,[g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"电子相册模式"),g("div",{class:"text-[10px] text-[var(--text-weak)] mt-px"},"照片铺满整个壁纸")],-1)),se(ds,{modelValue:e.s.photoFrameMode,"onUpdate:modelValue":i[1]||(i[1]=o=>e.s.photoFrameMode=o)},null,8,["modelValue"])]),g("div",Rc,[g("div",kc,ae(e.s.photoDir||"未选择目录"),1),g("div",Fc,[g("button",{class:"btn",onClick:s},"选择目录"),e.s.photoDir?(D(),L("button",{key:0,class:"btn-sm",onClick:n},"清除")):be("",!0)])]),g("div",Dc,[i[6]||(i[6]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"切换间隔",-1)),lt(g("select",{"onUpdate:modelValue":i[2]||(i[2]=o=>e.s.photoInterval=o),onChange:i[3]||(i[3]=o=>xe(B).savePhotoInterval(Number(e.s.photoInterval))),class:"bg-[var(--input-bg)] border border-[var(--input-border)] rounded-md text-[var(--text)] text-[11px] py-0.5 px-1.5 outline-none min-w-[80px] max-w-[160px] focus:border-[var(--input-border-focus)]"},[(D(),L(te,null,Be([5,10,15,20,30,60],o=>g("option",{key:o,value:o},ae(o)+" 秒",9,jc)),64))],544),[[Ts,e.s.photoInterval]])])])]))}}),Vc=Ps(Nc,[["__scopeId","data-v-bb86a692"]]),Lc={class:"mb-3"},Bc={class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg"},Hc={class:"flex justify-between items-center px-3.5 py-2"},Kc=["value"],Uc={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},Wc={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},Jc={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)] relative"},Gc={class:"text-[var(--text)] text-[11px]"},qc={class:"city-panel"},zc={class:"city-col"},Yc=["onClick"],Zc={class:"city-col"},Xc=["onClick"],Qc=at({__name:"PersonalizeSection",props:{s:{}},setup(e){const t=e,s=["白羊座","金牛座","双子座","巨蟹座","狮子座","处女座","天秤座","天蝎座","射手座","摩羯座","水瓶座","双鱼座"],n=ot(!1),r=ot(""),i=ot(""),o=us(()=>r.value?t.s.citiesByProv[r.value]||[]:[]),l=us(()=>r.value&&i.value?`${r.value} · ${i.value}`:"未选择");function u(a){t.s.city=a.id,i.value=a.name,n.value=!1,B.saveCity(a.id)}function p(a){const d=document.querySelector(".city-picker");d&&!d.contains(a.target)&&(n.value=!1)}return dn(()=>{document.addEventListener("click",p);const a=Object.entries(t.s.citiesByProv);for(const[d,y]of a){const O=y.find(j=>j.id===t.s.city);if(O){r.value=d,i.value=O.name;break}}}),pn(()=>document.removeEventListener("click",p)),(a,d)=>(D(),L("div",Lc,[d[12]||(d[12]=g("div",{class:"text-[10px] font-semibold text-[var(--text-weak)] uppercase tracking-[1.5px] mb-1 pl-0.5"},"个性化",-1)),g("div",Bc,[g("div",Hc,[d[7]||(d[7]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"我的星座",-1)),lt(g("select",{"onUpdate:modelValue":d[0]||(d[0]=y=>e.s.zodiac=y),onChange:d[1]||(d[1]=y=>xe(B).saveZodiac(e.s.zodiac)),class:"bg-[var(--input-bg)] border border-[var(--input-border)] rounded-md text-[var(--text)] text-[11px] py-0.5 px-1.5 outline-none min-w-[80px] max-w-[160px] focus:border-[var(--input-border-focus)]"},[(D(),L(te,null,Be(s,y=>g("option",{key:y,value:y},ae(y),9,Kc)),64))],544),[[Ts,e.s.zodiac]])]),g("div",Uc,[d[8]||(d[8]=g("div",null,[g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"知识关键字"),g("div",{class:"text-[10px] text-[var(--text-weak)] mt-px"},"AI 将根据关键字生成知识小卡片")],-1)),lt(g("input",{type:"text","onUpdate:modelValue":d[2]||(d[2]=y=>e.s.knowledgeKeyword=y),onInput:d[3]||(d[3]=y=>xe(Xs)("kw",xe(B).saveKnowledgeKeyword,e.s.knowledgeKeyword)),placeholder:"如: 历史、科学、冷知识",class:"bg-[var(--input-bg)] border border-[var(--input-border)] rounded-md text-[var(--text)] text-[11px] py-1 px-2 outline-none w-[140px] focus:border-[var(--input-border-focus)]"},null,544),[[Ys,e.s.knowledgeKeyword]])]),g("div",Wc,[d[9]||(d[9]=g("div",null,[g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"知识提示词"),g("div",{class:"text-[10px] text-[var(--text-weak)] mt-px"},"补充风格或方向,系统会保证内容密度")],-1)),lt(g("input",{type:"text","onUpdate:modelValue":d[4]||(d[4]=y=>e.s.knowledgePrompt=y),onInput:d[5]||(d[5]=y=>xe(Xs)("kp",xe(B).saveKnowledgePrompt,e.s.knowledgePrompt)),placeholder:"如: 偏实践、给出判断标准",class:"bg-[var(--input-bg)] border border-[var(--input-border)] rounded-md text-[var(--text)] text-[11px] py-1 px-2 outline-none w-[140px] focus:border-[var(--input-border-focus)]"},null,544),[[Ys,e.s.knowledgePrompt]])]),g("div",Jc,[d[11]||(d[11]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"天气城市",-1)),g("div",{class:ze(["city-picker",{open:n.value}]),tabindex:"0",onClick:d[6]||(d[6]=y=>n.value=!n.value)},[g("span",Gc,ae(l.value),1),d[10]||(d[10]=g("span",{class:"absolute right-1.5 top-1/2 -translate-y-1/2 text-[var(--text-weak)] text-[10px] pointer-events-none"},"▾",-1)),g("div",qc,[g("div",zc,[(D(!0),L(te,null,Be(e.s.provinces,y=>(D(),L("div",{key:y,class:ze({active:y===r.value}),onClick:Zs(O=>r.value=y,["stop"])},ae(y),11,Yc))),128))]),g("div",Zc,[(D(!0),L(te,null,Be(o.value,y=>(D(),L("div",{key:y.id,class:ze({active:y.id===e.s.city}),onClick:Zs(O=>u(y),["stop"])},ae(y.name),11,Xc))),128))])])],2)])])]))}}),eu=Ps(Qc,[["__scopeId","data-v-1a50093a"]]),tu={class:"p-4 select-none overflow-y-auto"},su=at({__name:"App",setup(e){const t=ot(!1),s=Nt({lightTheme:!1,wallpaper:!0,time:!0,weather:!0,zodiacCard:!0,knowledgeCard:!0,layout:"single",zodiac:"射手座",city:"",provinces:[],citiesByProv:{},wallpaperType:"theme",theme:"",themes:[],color1:"",color2:"",colorGradient:!1,savedColors:[],bingAutoRefresh:!1,knowledgeKeyword:"",knowledgePrompt:"",wallpaperText:"",imagePath:"",showSeconds:!0,ainewsCard:!0,photoDir:"",photoInterval:15,photoCard:!0,photoFrameMode:!1,autoStart:!1}),n=Nt({c1:"",c2:"",gradient:!1});function r(a){const d=s.wallpaperType;s.wallpaperType=a,t.value&&(a==="theme"?B.saveWallpaperType("theme",s.theme):a==="bing"&&d!=="bing"&&B.enableBing())}async function i(){const a=await B.pickSolidColor();a&&(n.c1=a,n.c2="",n.gradient=!1)}async function o(){const a=await B.pickGradientColor();if(a){const d=a.split(",");n.c1=d[0],n.c2=d[1]||"",n.gradient=!0}}function l(){n.c1&&(B.addSavedColor(n.c1,n.c2,n.gradient),s.savedColors.push({color1:n.c1,color2:n.c2,gradient:n.gradient}))}function u(a){B.applySavedColor(a);const d=s.savedColors[a];n.c1=d.color1,n.c2=d.color2,n.gradient=d.gradient}async function p(a){await B.removeSavedColor(a),s.savedColors.splice(a,1)}return dn(async()=>{const a=await B.loadAllSettings(),d=JSON.parse(a);d.lightTheme&&(document.documentElement.className="light"),Object.assign(s,{...d,citiesByProv:d.citiesByProv||{},provinces:d.provinces||[],themes:d.themes||[],savedColors:d.savedColors||[]}),d.color1&&(n.c1=d.color1,n.c2=d.color2||"",n.gradient=d.colorGradient||!1),setTimeout(()=>{const y=document.documentElement;B.resizeToFit&&B.resizeToFit(y.scrollWidth,y.scrollHeight+8)},100),t.value=!0}),(a,d)=>(D(),L("div",tu,[d[0]||(d[0]=g("div",{class:"mb-3.5"},[g("h1",{class:"text-base font-semibold text-[var(--text-strong)]"},"桌面设置"),g("p",{class:"text-[11px] text-[var(--text-weak)] mt-0.5"},"壁纸 · 布局 · 信息显示")],-1)),se(Ul,{s},null,8,["s"]),se(Cc,{s,onSetWpType:r,"current-color":n,onPickSolid:i,onPickGradient:o,onSaveColor:l,onApplyColor:u,onRemoveColor:p},null,8,["s","current-color"]),se(Ac,{s},null,8,["s"]),se(Vc,{s},null,8,["s"]),se(eu,{s},null,8,["s"]),d[1]||(d[1]=g("div",{class:"text-center text-[11px] text-[var(--footer-color)] mt-3 py-1.5 tracking-wide"},"u-desktop v1.0",-1))]))}});kl(su).mount("#app");</script>
<style rel="stylesheet" crossorigin>.switch[data-v-d838d577]{position:relative;width:36px;height:20px;flex-shrink:0}.switch input[data-v-d838d577]{display:none}.switch .track[data-v-d838d577]{position:absolute;inset:0;background:var(--toggle-track);border-radius:10px;cursor:pointer;transition:background .2s}.switch .thumb[data-v-d838d577]{position:absolute;width:14px;height:14px;top:3px;left:3px;background:var(--toggle-thumb);border-radius:50%;transition:all .2s;pointer-events:none}.switch input:checked+.track[data-v-d838d577]{background:var(--accent)}.switch input:checked+.track .thumb[data-v-d838d577]{transform:translate(16px);background:var(--text-strong)}.btn[data-v-7f42d27c]{background:var(--input-bg);border:1px solid var(--input-border);border-radius:6px;color:var(--text);font-size:11px;padding:4px 10px;font-family:inherit;cursor:pointer;transition:background .15s;white-space:nowrap}.btn[data-v-7f42d27c]:hover{background:var(--card-border)}.btn-sm[data-v-7f42d27c]{background:var(--input-bg);border:1px solid var(--input-border);border-radius:6px;color:var(--text);font-size:10px;padding:3px 8px;font-family:inherit;cursor:pointer;white-space:nowrap}.btn-sm[data-v-7f42d27c]:hover{background:var(--card-border)}.color-swatch[data-v-7f42d27c]{width:28px;height:28px;border-radius:6px;cursor:pointer;border:2px solid transparent;transition:border-color .15s;position:relative}.color-swatch[data-v-7f42d27c]:hover{border-color:var(--accent)}.color-swatch .del[data-v-7f42d27c]{display:none;position:absolute;top:-6px;right:-6px;width:14px;height:14px;border-radius:50%;background:#e53e3e;color:#fff;font-size:9px;line-height:14px;text-align:center;cursor:pointer}.color-swatch:hover .del[data-v-7f42d27c]{display:block}.btn[data-v-bb86a692]{background:var(--input-bg);border:1px solid var(--input-border);border-radius:6px;color:var(--text);font-size:11px;padding:4px 10px;font-family:inherit;cursor:pointer;transition:background .15s;white-space:nowrap}.btn[data-v-bb86a692]:hover{background:var(--card-border)}.btn-sm[data-v-bb86a692]{background:var(--input-bg);border:1px solid var(--input-border);border-radius:6px;color:var(--text);font-size:10px;padding:3px 8px;font-family:inherit;cursor:pointer;white-space:nowrap}.btn-sm[data-v-bb86a692]:hover{background:var(--card-border)}.city-picker[data-v-1a50093a]{position:relative;background:var(--input-bg);border:1px solid var(--input-border);border-radius:6px;padding:4px 24px 4px 8px;cursor:pointer;font-size:11px;min-width:140px;max-width:180px}.city-picker[data-v-1a50093a]:focus,.city-picker.open[data-v-1a50093a]{border-color:var(--input-border-focus)}.city-panel[data-v-1a50093a]{display:none;position:absolute;right:-1px;bottom:calc(100% + 4px);background:var(--option-bg);border:1px solid var(--input-border);border-radius:8px;box-shadow:0 8px 24px #00000040;z-index:1000;width:260px;height:200px;overflow:hidden}.city-picker.open .city-panel[data-v-1a50093a]{display:flex}.city-col[data-v-1a50093a]{flex:1;overflow-y:auto;border-right:1px solid var(--card-divider)}.city-col[data-v-1a50093a]:last-child{border-right:none}.city-col div[data-v-1a50093a]{padding:5px 10px;font-size:11px;color:var(--text);cursor:pointer;white-space:nowrap}.city-col div[data-v-1a50093a]:hover{background:var(--input-bg)}.city-col div.active[data-v-1a50093a]{color:var(--accent);font-weight:600}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }.pointer-events-none{pointer-events:none}.visible{visibility:visible}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.right-1\.5{right:.375rem}.top-1\/2{top:50%}.mb-1{margin-bottom:.25rem}.mb-1\.5{margin-bottom:.375rem}.mb-3{margin-bottom:.75rem}.mb-3\.5{margin-bottom:.875rem}.mr-2{margin-right:.5rem}.mt-0\.5{margin-top:.125rem}.mt-1\.5{margin-top:.375rem}.mt-3{margin-top:.75rem}.mt-px{margin-top:1px}.block{display:block}.inline-block{display:inline-block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.h-10{height:2.5rem}.h-4{height:1rem}.w-16{width:4rem}.w-6{width:1.5rem}.w-\[140px\]{width:140px}.w-full{width:100%}.min-w-0{min-width:0px}.min-w-\[80px\]{min-width:80px}.max-w-\[160px\]{max-width:160px}.flex-shrink{flex-shrink:1}.flex-shrink-0{flex-shrink:0}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;-moz-user-select:none;user-select:none}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-wrap{flex-wrap:wrap}.items-center{align-items:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.border{border-width:1px}.border-t{border-top-width:1px}.border-\[var\(--accent\)\]{border-color:var(--accent)}.border-\[var\(--card-border\)\]{border-color:var(--card-border)}.border-\[var\(--card-divider\)\]{border-color:var(--card-divider)}.border-\[var\(--input-border\)\]{border-color:var(--input-border)}.bg-\[var\(--accent\)\]{background-color:var(--accent)}.bg-\[var\(--card-bg\)\]{background-color:var(--card-bg)}.bg-\[var\(--input-bg\)\]{background-color:var(--input-bg)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-4{padding:1rem}.px-0\.5{padding-left:.125rem;padding-right:.125rem}.px-1\.5{padding-left:.375rem;padding-right:.375rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-2\.5{padding-left:.625rem;padding-right:.625rem}.px-3\.5{padding-left:.875rem;padding-right:.875rem}.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pl-0\.5{padding-left:.125rem}.pl-8{padding-left:2rem}.text-center{text-align:center}.font-\[inherit\]{font-family:inherit}.text-\[10px\]{font-size:10px}.text-\[11px\]{font-size:11px}.text-base{font-size:1rem;line-height:1.5rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.italic{font-style:italic}.tracking-\[1\.5px\]{letter-spacing:1.5px}.tracking-wide{letter-spacing:.025em}.text-\[var\(--footer-color\)\]{color:var(--footer-color)}.text-\[var\(--text\)\]{color:var(--text)}.text-\[var\(--text-muted\)\]{color:var(--text-muted)}.text-\[var\(--text-strong\)\]{color:var(--text-strong)}.text-\[var\(--text-weak\)\]{color:var(--text-weak)}.outline-none{outline:2px solid transparent;outline-offset:2px}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.first\:border-t-0:first-child{border-top-width:0px}.hover\:bg-\[var\(--card-border\)\]:hover{background-color:var(--card-border)}.hover\:opacity-80:hover{opacity:.8}.focus\:border-\[var\(--input-border-focus\)\]:focus{border-color:var(--input-border-focus)}:root{--bg: #0f0f1a;--card-bg: rgba(255,255,255,.04);--card-border: rgba(255,255,255,.06);--card-divider: rgba(255,255,255,.04);--text: #e0e0e0;--text-strong: #fff;--text-weak: rgba(255,255,255,.25);--text-muted: rgba(255,255,255,.5);--input-bg: rgba(255,255,255,.08);--input-border: rgba(255,255,255,.1);--input-border-focus: #4f8cff;--accent: #4f8cff;--toggle-track: rgba(255,255,255,.1);--toggle-thumb: rgba(255,255,255,.5);--option-bg: #1a1a2e;--footer-color: rgba(255,255,255,.3)}.light{--bg: #f5f5f5;--card-bg: rgba(0,0,0,.03);--card-border: rgba(0,0,0,.08);--card-divider: rgba(0,0,0,.05);--text: #333;--text-strong: #111;--text-weak: rgba(0,0,0,.35);--text-muted: rgba(0,0,0,.55);--input-bg: rgba(0,0,0,.04);--input-border: rgba(0,0,0,.12);--input-border-focus: #2b6cb0;--accent: #2b6cb0;--toggle-track: rgba(0,0,0,.12);--toggle-thumb: rgba(0,0,0,.45);--option-bg: #fff;--footer-color: rgba(0,0,0,.35)}body{font-family:-apple-system,Segoe UI,Microsoft YaHei,sans-serif;background:var(--bg);color:var(--text);-webkit-font-smoothing:antialiased}::-webkit-scrollbar{width:6px}::-webkit-scrollbar-track{background:transparent}::-webkit-scrollbar-thumb{background:#ffffff1f;border-radius:3px}::-webkit-scrollbar-thumb:hover{background:#ffffff38}select option{background:var(--option-bg);color:var(--text)}.light ::-webkit-scrollbar-thumb{background:#0000001f}.light ::-webkit-scrollbar-thumb:hover{background:#00000038}</style>
</head>
<body>
<div id="app"></div>
</body>
</html>