e.__isTeleport,to=Symbol("_leaveCb");function tn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,tn(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 He(e,t){return D(e)?oe({name:e.name},t,{setup:e}):e}function Si(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function bn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ns=new WeakMap;function Pt(e,t,s,n,i=!1){if(R(e)){e.forEach((I,Q)=>Pt(I,t&&(R(t)?t[Q]:t),s,n,i));return}if(Ft(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Pt(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?ln(n.component):n.el,o=i?null:r,{i:l,r:f}=e,d=t&&t.r,a=l.refs===Z?l.refs={}:l.refs,p=l.setupState,w=V(p),C=p===Z?Bn:I=>bn(a,I)?!1:j(w,I),N=(I,Q)=>!(Q&&bn(a,Q));if(d!=null&&d!==f){if(vn(t),ee(d))a[d]=null,C(d)&&(p[d]=null);else if(fe(d)){const I=t;N(d,I.k)&&(d.value=null),I.k&&(a[I.k]=null)}}if(D(f))Kt(f,l,12,[o,a]);else{const I=ee(f),Q=fe(f);if(I||Q){const U=()=>{if(e.f){const k=I?C(f)?p[f]:a[f]:N()||!e.k?f.value:a[e.k];if(i)R(k)&&Ws(k,r);else if(R(k))k.includes(r)||k.push(r);else if(I)a[f]=[r],C(f)&&(p[f]=a[f]);else{const Y=[r];N(f,e.k)&&(f.value=Y),e.k&&(a[e.k]=Y)}}else I?(a[f]=o,C(f)&&(p[f]=o)):Q&&(N(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const k=()=>{U(),ns.delete(e)};k.id=-1,ns.set(e,k),pe(k,s)}else vn(e),U()}}}function vn(e){const t=ns.get(e);t&&(t.flags|=8,ns.delete(e))}us().requestIdleCallback;us().cancelIdleCallback;const Ft=e=>!!e.type.__asyncLoader,Ti=e=>e.type.__isKeepAlive;function so(e,t){Ci(e,"a",t)}function no(e,t){Ci(e,"da",t)}function Ci(e,t,s=he){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(gs(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Ti(i.parent.vnode)&&io(n,t,s,i),i=i.parent}}function io(e,t,s,n){const i=gs(t,e,n,!0);_s(()=>{Ws(n[t],i)},s)}function gs(e,t,s=he,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{Ve();const l=Ut(s),f=Re(t,s,e,o);return l(),je(),f});return n?i.unshift(r):i.push(r),r}}const Ue=e=>(t,s=he)=>{(!Vt||e==="sp")&&gs(e,(...n)=>t(...n),s)},ro=Ue("bm"),sn=Ue("m"),oo=Ue("bu"),lo=Ue("u"),co=Ue("bum"),_s=Ue("um"),fo=Ue("sp"),uo=Ue("rtg"),ao=Ue("rtc");function ho(e,t=he){gs("ec",e,t)}const po=Symbol.for("v-ndc");function is(e,t,s,n){let i;const r=s,o=R(e);if(o||ee(e)){const l=o&&ot(e);let f=!1,d=!1;l&&(f=!me(e),d=Ke(e),e=ds(e)),i=new Array(e.length);for(let a=0,p=e.length;at(l,f,void 0,r));else{const l=Object.keys(e);i=new Array(l.length);for(let f=0,d=l.length;fe?zi(e)?ln(e):Ns(e.parent):null,Rt=oe(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=>Ns(e.parent),$root:e=>Ns(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Oi(e),$forceUpdate:e=>e.f||(e.f=()=>{en(e.update)}),$nextTick:e=>e.n||(e.n=Br.bind(e.proxy)),$watch:e=>Xr.bind(e)}),Os=(e,t)=>e!==Z&&!e.__isScriptSetup&&j(e,t),go={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const w=o[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(Os(n,t))return o[t]=1,n[t];if(i!==Z&&j(i,t))return o[t]=2,i[t];if(j(r,t))return o[t]=3,r[t];if(s!==Z&&j(s,t))return o[t]=4,s[t];ks&&(o[t]=0)}}const d=Rt[t];let a,p;if(d)return t==="$attrs"&&le(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==Z&&j(s,t))return o[t]=4,s[t];if(p=f.config.globalProperties,j(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return Os(i,t)?(i[t]=s,!0):n!==Z&&j(n,t)?(n[t]=s,!0):j(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:r,type:o}},l){let f;return!!(s[l]||e!==Z&&l[0]!=="$"&&j(e,l)||Os(t,l)||j(r,l)||j(n,l)||j(Rt,l)||j(i.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:j(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function wn(e){return R(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let ks=!0;function _o(e){const t=Oi(e),s=e.proxy,n=e.ctx;ks=!1,t.beforeCreate&&xn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:f,inject:d,created:a,beforeMount:p,mounted:w,beforeUpdate:C,updated:N,activated:I,deactivated:Q,beforeDestroy:U,beforeUnmount:k,destroyed:Y,unmounted:P,render:ne,renderTracked:Be,renderTriggered:we,errorCaptured:ze,serverPrefetch:Wt,expose:Qe,inheritAttrs:yt,components:Bt,directives:zt,filters:bs}=t;if(d&&mo(d,n,null),o)for(const X in o){const q=o[X];D(q)&&(n[X]=q.bind(s))}if(i){const X=i.call(s,s);B(X)&&(e.data=hs(X))}if(ks=!0,r)for(const X in r){const q=r[X],et=D(q)?q.bind(s,s):D(q.get)?q.get.bind(s,s):Pe,qt=!D(q)&&D(q.set)?q.set.bind(s):Pe,tt=mt({get:et,set:qt});Object.defineProperty(n,X,{enumerable:!0,configurable:!0,get:()=>tt.value,set:xe=>tt.value=xe})}if(l)for(const X in l)Ai(l[X],n,s,X);if(f){const X=D(f)?f.call(s):f;Reflect.ownKeys(X).forEach(q=>{Jr(q,X[q])})}a&&xn(a,e,"c");function ue(X,q){R(q)?q.forEach(et=>X(et.bind(s))):q&&X(q.bind(s))}if(ue(ro,p),ue(sn,w),ue(oo,C),ue(lo,N),ue(so,I),ue(no,Q),ue(ho,ze),ue(ao,Be),ue(uo,we),ue(co,k),ue(_s,P),ue(fo,Wt),R(Qe))if(Qe.length){const X=e.exposed||(e.exposed={});Qe.forEach(q=>{Object.defineProperty(X,q,{get:()=>s[q],set:et=>s[q]=et,enumerable:!0})})}else e.exposed||(e.exposed={});ne&&e.render===Pe&&(e.render=ne),yt!=null&&(e.inheritAttrs=yt),Bt&&(e.components=Bt),zt&&(e.directives=zt),Wt&&Si(e)}function mo(e,t,s=Pe){R(e)&&(e=Ls(e));for(const n in e){const i=e[n];let r;B(i)?"default"in i?r=Xt(i.from||n,i.default,!0):r=Xt(i.from||n):r=Xt(i),fe(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function xn(e,t,s){Re(R(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Ai(e,t,s,n){let i=n.includes(".")?xi(s,n):()=>s[n];if(ee(e)){const r=t[e];D(r)&&Ye(i,r)}else if(D(e))Ye(i,e.bind(s));else if(B(e))if(R(e))e.forEach(r=>Ai(r,t,s,n));else{const r=D(e.handler)?e.handler.bind(s):t[e.handler];D(r)&&Ye(i,r,e)}}function Oi(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let f;return l?f=l:!i.length&&!s&&!n?f=t:(f={},i.length&&i.forEach(d=>rs(f,d,o,!0)),rs(f,t,o)),B(t)&&r.set(t,f),f}function rs(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&rs(e,r,s,!0),i&&i.forEach(o=>rs(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=yo[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const yo={data:Sn,props:Tn,emits:Tn,methods:Ot,computed:Ot,beforeCreate:ae,created:ae,beforeMount:ae,mounted:ae,beforeUpdate:ae,updated:ae,beforeDestroy:ae,beforeUnmount:ae,destroyed:ae,unmounted:ae,activated:ae,deactivated:ae,errorCaptured:ae,serverPrefetch:ae,components:Ot,directives:Ot,watch:vo,provide:Sn,inject:bo};function Sn(e,t){return t?e?function(){return oe(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function bo(e,t){return Ot(Ls(e),Ls(t))}function Ls(e){if(R(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ye(t)}Modifiers`]||e[`${ct(t)}Modifiers`];function To(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||Z;let i=s;const r=t.startsWith("update:"),o=r&&So(n,t.slice(7));o&&(o.trim&&(i=s.map(a=>ee(a)?a.trim():a)),o.number&&(i=s.map(lr)));let l,f=n[l=ws(t)]||n[l=ws(ye(t))];!f&&r&&(f=n[l=ws(ct(t))]),f&&Re(f,e,6,i);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Re(d,e,6,i)}}const Co=new WeakMap;function Mi(e,t,s=!1){const n=s?Co:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!D(e)){const f=d=>{const a=Mi(d,t,!0);a&&(l=!0,oe(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!r&&!l?(B(e)&&n.set(e,null),null):(R(r)?r.forEach(f=>o[f]=null):oe(o,r),B(e)&&n.set(e,o),o)}function ms(e,t){return!e||!ls(t)?!1:(t=t.slice(2).replace(/Once$/,""),j(e,t[0].toLowerCase()+t.slice(1))||j(e,ct(t))||j(e,t))}function Cn(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:f,render:d,renderCache:a,props:p,data:w,setupState:C,ctx:N,inheritAttrs:I}=e,Q=ss(e);let U,k;try{if(s.shapeFlag&4){const P=i||n,ne=P;U=Me(d.call(ne,P,a,p,C,w,N)),k=l}else{const P=t;U=Me(P.length>1?P(p,{attrs:l,slots:o,emit:f}):P(p,null)),k=t.props?l:Ao(l)}}catch(P){Ht.length=0,ps(P,e,1),U=ce(Xe)}let Y=U;if(k&&I!==!1){const P=Object.keys(k),{shapeFlag:ne}=Y;P.length&&ne&7&&(r&&P.some(cs)&&(k=Oo(k,r)),Y=_t(Y,k,!1,!0))}return s.dirs&&(Y=_t(Y,null,!1,!0),Y.dirs=Y.dirs?Y.dirs.concat(s.dirs):s.dirs),s.transition&&tn(Y,s.transition),U=Y,ss(Q),U}const Ao=e=>{let t;for(const s in e)(s==="class"||s==="style"||ls(s))&&((t||(t={}))[s]=e[s]);return t},Oo=(e,t)=>{const s={};for(const n in e)(!cs(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Eo(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:l,patchFlag:f}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?An(n,o,d):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;pObject.create($i),Fi=e=>Object.getPrototypeOf(e)===$i;function Io(e,t,s,n=!1){const i={},r=Pi();e.propsDefaults=Object.create(null),Ri(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:Hr(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function $o(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=V(i),[f]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p{f=!0;const[w,C]=Hi(p,t,!0);oe(o,w),C&&l.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!r&&!f)return B(e)&&n.set(e,at),at;if(R(r))for(let a=0;ae==="_"||e==="_ctx"||e==="$stable",rn=e=>R(e)?e.map(Me):[Me(e)],Fo=(e,t,s)=>{if(t._n)return t;const n=Gr((...i)=>rn(t(...i)),s);return n._c=!1,n},Di=(e,t,s)=>{const n=e._ctx;for(const i in e){if(nn(i))continue;const r=e[i];if(D(r))t[i]=Fo(i,r,n);else if(r!=null){const o=rn(r);t[i]=()=>o}}},Ni=(e,t)=>{const s=rn(t);e.slots.default=()=>s},ki=(e,t,s)=>{for(const n in t)(s||!nn(n))&&(e[n]=t[n])},Ro=(e,t,s)=>{const n=e.slots=Pi();if(e.vnode.shapeFlag&32){const i=t._;i?(ki(n,t,s),s&&Yn(n,"_",i,!0)):Di(t,n)}else t&&Ni(e,t)},Ho=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=Z;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:ki(i,t,s):(r=!t.$stable,Di(t,i)),o=t}else t&&(Ni(e,t),o={default:1});if(r)for(const l in i)!nn(l)&&o[l]==null&&delete i[l]},pe=Vo;function Do(e){return No(e)}function No(e,t){const s=us();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:p,nextSibling:w,setScopeId:C=Pe,insertStaticContent:N}=e,I=(c,u,h,y=null,g=null,_=null,x=void 0,v=null,b=!!u.dynamicChildren)=>{if(c===u)return;c&&!St(c,u)&&(y=Gt(c),xe(c,g,_,!0),c=null),u.patchFlag===-2&&(b=!1,u.dynamicChildren=null);const{type:m,ref:E,shapeFlag:S}=u;switch(m){case ys:Q(c,u,h,y);break;case Xe:U(c,u,h,y);break;case Ms:c==null&&k(u,h,y,x);break;case te:Bt(c,u,h,y,g,_,x,v,b);break;default:S&1?ne(c,u,h,y,g,_,x,v,b):S&6?zt(c,u,h,y,g,_,x,v,b):(S&64||S&128)&&m.process(c,u,h,y,g,_,x,v,b,vt)}E!=null&&g?Pt(E,c&&c.ref,_,u||c,!u):E==null&&c&&c.ref!=null&&Pt(c.ref,null,_,c,!0)},Q=(c,u,h,y)=>{if(c==null)n(u.el=l(u.children),h,y);else{const g=u.el=c.el;u.children!==c.children&&d(g,u.children)}},U=(c,u,h,y)=>{c==null?n(u.el=f(u.children||""),h,y):u.el=c.el},k=(c,u,h,y)=>{[c.el,c.anchor]=N(c.children,u,h,y,c.el,c.anchor)},Y=({el:c,anchor:u},h,y)=>{let g;for(;c&&c!==u;)g=w(c),n(c,h,y),c=g;n(u,h,y)},P=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=w(c),i(c),c=h;i(u)},ne=(c,u,h,y,g,_,x,v,b)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),c==null)Be(u,h,y,g,_,x,v,b);else{const m=c.el&&c.el._isVueCE?c.el:null;try{m&&m._beginPatch(),Wt(c,u,g,_,x,v,b)}finally{m&&m._endPatch()}}},Be=(c,u,h,y,g,_,x,v)=>{let b,m;const{props:E,shapeFlag:S,transition:A,dirs:$}=c;if(b=c.el=o(c.type,_,E&&E.is,E),S&8?a(b,c.children):S&16&&ze(c.children,b,null,y,g,Es(c,_),x,v),$&&st(c,null,y,"created"),we(b,c,c.scopeId,x,y),E){for(const z in E)z!=="value"&&!Mt(z)&&r(b,z,null,E[z],_,y);"value"in E&&r(b,"value",null,E.value,_),(m=E.onVnodeBeforeMount)&&Ae(m,y,c)}$&&st(c,null,y,"beforeMount");const L=ko(g,A);L&&A.beforeEnter(b),n(b,u,h),((m=E&&E.onVnodeMounted)||L||$)&&pe(()=>{try{m&&Ae(m,y,c),L&&A.enter(b),$&&st(c,null,y,"mounted")}finally{}},g)},we=(c,u,h,y,g)=>{if(h&&C(c,h),y)for(let _=0;_{for(let m=b;m{const v=u.el=c.el;let{patchFlag:b,dynamicChildren:m,dirs:E}=u;b|=c.patchFlag&16;const S=c.props||Z,A=u.props||Z;let $;if(h&&nt(h,!1),($=A.onVnodeBeforeUpdate)&&Ae($,h,u,c),E&&st(u,c,h,"beforeUpdate"),h&&nt(h,!0),(S.innerHTML&&A.innerHTML==null||S.textContent&&A.textContent==null)&&a(v,""),m?Qe(c.dynamicChildren,m,v,h,y,Es(u,g),_):x||q(c,u,v,null,h,y,Es(u,g),_,!1),b>0){if(b&16)yt(v,S,A,h,g);else if(b&2&&S.class!==A.class&&r(v,"class",null,A.class,g),b&4&&r(v,"style",S.style,A.style,g),b&8){const L=u.dynamicProps;for(let z=0;z{$&&Ae($,h,u,c),E&&st(u,c,h,"updated")},y)},Qe=(c,u,h,y,g,_,x)=>{for(let v=0;v{if(u!==h){if(u!==Z)for(const _ in u)!Mt(_)&&!(_ in h)&&r(c,_,u[_],null,g,y);for(const _ in h){if(Mt(_))continue;const x=h[_],v=u[_];x!==v&&_!=="value"&&r(c,_,v,x,g,y)}"value"in h&&r(c,"value",u.value,h.value,g)}},Bt=(c,u,h,y,g,_,x,v,b)=>{const m=u.el=c?c.el:l(""),E=u.anchor=c?c.anchor:l("");let{patchFlag:S,dynamicChildren:A,slotScopeIds:$}=u;$&&(v=v?v.concat($):$),c==null?(n(m,h,y),n(E,h,y),ze(u.children||[],h,E,g,_,x,v,b)):S>0&&S&64&&A&&c.dynamicChildren&&c.dynamicChildren.length===A.length?(Qe(c.dynamicChildren,A,h,g,_,x,v),(u.key!=null||g&&u===g.subTree)&&Li(c,u,!0)):q(c,u,h,E,g,_,x,v,b)},zt=(c,u,h,y,g,_,x,v,b)=>{u.slotScopeIds=v,c==null?u.shapeFlag&512?g.ctx.activate(u,h,y,x,b):bs(u,h,y,g,_,x,b):cn(c,u,b)},bs=(c,u,h,y,g,_,x)=>{const v=c.component=Go(c,y,g);if(Ti(c)&&(v.ctx.renderer=vt),Zo(v,!1,x),v.asyncDep){if(g&&g.registerDep(v,ue,x),!c.el){const b=v.subTree=ce(Xe);U(null,b,u,h),c.placeholder=b.el}}else ue(v,c,u,h,g,_,x)},cn=(c,u,h)=>{const y=u.component=c.component;if(Eo(c,u,h))if(y.asyncDep&&!y.asyncResolved){X(y,u,h);return}else y.next=u,y.update();else u.el=c.el,y.vnode=u},ue=(c,u,h,y,g,_,x)=>{const v=()=>{if(c.isMounted){let{next:S,bu:A,u:$,parent:L,vnode:z}=c;{const Te=Vi(c);if(Te){S&&(S.el=z.el,X(c,S,x)),Te.asyncDep.then(()=>{pe(()=>{c.isUnmounted||m()},g)});return}}let G=S,se;nt(c,!1),S?(S.el=z.el,X(c,S,x)):S=z,A&&xs(A),(se=S.props&&S.props.onVnodeBeforeUpdate)&&Ae(se,L,S,z),nt(c,!0);const ie=Cn(c),Se=c.subTree;c.subTree=ie,I(Se,ie,p(Se.el),Gt(Se),c,g,_),S.el=ie.el,G===null&&Mo(c,ie.el),$&&pe($,g),(se=S.props&&S.props.onVnodeUpdated)&&pe(()=>Ae(se,L,S,z),g)}else{let S;const{el:A,props:$}=u,{bm:L,m:z,parent:G,root:se,type:ie}=c,Se=Ft(u);nt(c,!1),L&&xs(L),!Se&&(S=$&&$.onVnodeBeforeMount)&&Ae(S,G,u),nt(c,!0);{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(ie,c.parent?c.parent.type:void 0);const Te=c.subTree=Cn(c);I(null,Te,h,y,c,g,_),u.el=Te.el}if(z&&pe(z,g),!Se&&(S=$&&$.onVnodeMounted)){const Te=u;pe(()=>Ae(S,G,Te),g)}(u.shapeFlag&256||G&&Ft(G.vnode)&&G.vnode.shapeFlag&256)&&c.a&&pe(c.a,g),c.isMounted=!0,u=h=y=null}};c.scope.on();const b=c.effect=new ti(v);c.scope.off();const m=c.update=b.run.bind(b),E=c.job=b.runIfDirty.bind(b);E.i=c,E.id=c.uid,b.scheduler=()=>en(E),nt(c,!0),m()},X=(c,u,h)=>{u.component=c;const y=c.vnode.props;c.vnode=u,c.next=null,$o(c,u.props,y,h),Ho(c,u.children,h),Ve(),yn(c),je()},q=(c,u,h,y,g,_,x,v,b=!1)=>{const m=c&&c.children,E=c?c.shapeFlag:0,S=u.children,{patchFlag:A,shapeFlag:$}=u;if(A>0){if(A&128){qt(m,S,h,y,g,_,x,v,b);return}else if(A&256){et(m,S,h,y,g,_,x,v,b);return}}$&8?(E&16&&bt(m,g,_),S!==m&&a(h,S)):E&16?$&16?qt(m,S,h,y,g,_,x,v,b):bt(m,g,_,!0):(E&8&&a(h,""),$&16&&ze(S,h,y,g,_,x,v,b))},et=(c,u,h,y,g,_,x,v,b)=>{c=c||at,u=u||at;const m=c.length,E=u.length,S=Math.min(m,E);let A;for(A=0;AE?bt(c,g,_,!0,!1,S):ze(u,h,y,g,_,x,v,b,S)},qt=(c,u,h,y,g,_,x,v,b)=>{let m=0;const E=u.length;let S=c.length-1,A=E-1;for(;m<=S&&m<=A;){const $=c[m],L=u[m]=b?ke(u[m]):Me(u[m]);if(St($,L))I($,L,h,null,g,_,x,v,b);else break;m++}for(;m<=S&&m<=A;){const $=c[S],L=u[A]=b?ke(u[A]):Me(u[A]);if(St($,L))I($,L,h,null,g,_,x,v,b);else break;S--,A--}if(m>S){if(m<=A){const $=A+1,L=$A)for(;m<=S;)xe(c[m],g,_,!0),m++;else{const $=m,L=m,z=new Map;for(m=L;m<=A;m++){const ge=u[m]=b?ke(u[m]):Me(u[m]);ge.key!=null&&z.set(ge.key,m)}let G,se=0;const ie=A-L+1;let Se=!1,Te=0;const wt=new Array(ie);for(m=0;m=ie){xe(ge,g,_,!0);continue}let Ce;if(ge.key!=null)Ce=z.get(ge.key);else for(G=L;G<=A;G++)if(wt[G-L]===0&&St(ge,u[G])){Ce=G;break}Ce===void 0?xe(ge,g,_,!0):(wt[Ce-L]=m+1,Ce>=Te?Te=Ce:Se=!0,I(ge,u[Ce],h,null,g,_,x,v,b),se++)}const an=Se?Lo(wt):at;for(G=an.length-1,m=ie-1;m>=0;m--){const ge=L+m,Ce=u[ge],dn=u[ge+1],hn=ge+1{const{el:_,type:x,transition:v,children:b,shapeFlag:m}=c;if(m&6){tt(c.component.subTree,u,h,y);return}if(m&128){c.suspense.move(u,h,y);return}if(m&64){x.move(c,u,h,vt);return}if(x===te){n(_,u,h);for(let S=0;Sv.enter(_),g);else{const{leave:S,delayLeave:A,afterLeave:$}=v,L=()=>{c.ctx.isUnmounted?i(_):n(_,u,h)},z=()=>{_._isLeaving&&_[to](!0),S(_,()=>{L(),$&&$()})};A?A(_,L,z):z()}else n(_,u,h)},xe=(c,u,h,y=!1,g=!1)=>{const{type:_,props:x,ref:v,children:b,dynamicChildren:m,shapeFlag:E,patchFlag:S,dirs:A,cacheIndex:$,memo:L}=c;if(S===-2&&(g=!1),v!=null&&(Ve(),Pt(v,null,h,c,!0),je()),$!=null&&(u.renderCache[$]=void 0),E&256){u.ctx.deactivate(c);return}const z=E&1&&A,G=!Ft(c);let se;if(G&&(se=x&&x.onVnodeBeforeUnmount)&&Ae(se,u,c),E&6)sr(c.component,h,y);else{if(E&128){c.suspense.unmount(h,y);return}z&&st(c,null,u,"beforeUnmount"),E&64?c.type.remove(c,u,h,vt,y):m&&!m.hasOnce&&(_!==te||S>0&&S&64)?bt(m,u,h,!1,!0):(_===te&&S&384||!g&&E&16)&&bt(b,u,h),y&&fn(c)}const ie=L!=null&&$==null;(G&&(se=x&&x.onVnodeUnmounted)||z||ie)&&pe(()=>{se&&Ae(se,u,c),z&&st(c,null,u,"unmounted"),ie&&(c.el=null)},h)},fn=c=>{const{type:u,el:h,anchor:y,transition:g}=c;if(u===te){tr(h,y);return}if(u===Ms){P(c);return}const _=()=>{i(h),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(c.shapeFlag&1&&g&&!g.persisted){const{leave:x,delayLeave:v}=g,b=()=>x(h,_);v?v(c.el,_,b):b()}else _()},tr=(c,u)=>{let h;for(;c!==u;)h=w(c),i(c),c=h;i(u)},sr=(c,u,h)=>{const{bum:y,scope:g,job:_,subTree:x,um:v,m:b,a:m}=c;En(b),En(m),y&&xs(y),g.stop(),_&&(_.flags|=8,xe(x,c,u,h)),v&&pe(v,u),pe(()=>{c.isUnmounted=!0},u)},bt=(c,u,h,y=!1,g=!1,_=0)=>{for(let x=_;x{if(c.shapeFlag&6)return Gt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=w(c.anchor||c.el),h=u&&u[Qr];return h?w(h):u};let vs=!1;const un=(c,u,h)=>{let y;c==null?u._vnode&&(xe(u._vnode,null,null,!0),y=u._vnode.component):I(u._vnode||null,c,u,null,null,null,h),u._vnode=c,vs||(vs=!0,yn(y),yi(),vs=!1)},vt={p:I,um:xe,m:tt,r:fn,mt:bs,mc:ze,pc:q,pbc:Qe,n:Gt,o:e};return{render:un,hydrate:void 0,createApp:xo(un)}}function Es({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 nt({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 Li(e,t,s=!1){const n=e.children,i=t.children;if(R(n)&&R(i))for(let r=0;r>1,e[s[l]]0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}function Vi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Vi(t)}function En(e){if(e)for(let t=0;te.__isSuspense;function Vo(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):qr(e)}const te=Symbol.for("v-fgt"),ys=Symbol.for("v-txt"),Xe=Symbol.for("v-cmt"),Ms=Symbol.for("v-stc"),Ht=[];let _e=null;function O(e=!1){Ht.push(_e=e?null:[])}function jo(){Ht.pop(),_e=Ht[Ht.length-1]||null}let Lt=1;function Mn(e,t=!1){Lt+=e,e<0&&_e&&t&&(_e.hasOnce=!0)}function Ui(e){return e.dynamicChildren=Lt>0?_e||at:null,jo(),Lt>0&&_e&&_e.push(e),e}function H(e,t,s,n,i,r){return Ui(F(e,t,s,n,i,r,!0))}function Je(e,t,s,n,i){return Ui(ce(e,t,s,n,i,!0))}function Wi(e){return e?e.__v_isVNode===!0:!1}function St(e,t){return e.type===t.type&&e.key===t.key}const Bi=({key:e})=>e??null,Qt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?ee(e)||fe(e)||D(e)?{i:$e,r:e,k:t,f:!!s}:e:null);function F(e,t=null,s=null,n=0,i=null,r=e===te?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bi(t),ref:t&&Qt(t),scopeId:vi,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:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:$e};return l?(on(f,s),r&128&&e.normalize(f)):s&&(f.shapeFlag|=ee(s)?8:16),Lt>0&&!o&&_e&&(f.patchFlag>0||r&6)&&f.patchFlag!==32&&_e.push(f),f}const ce=Ko;function Ko(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===po)&&(e=Xe),Wi(e)){const l=_t(e,t,!0);return s&&on(l,s),Lt>0&&!r&&_e&&(l.shapeFlag&6?_e[_e.indexOf(e)]=l:_e.push(l)),l.patchFlag=-2,l}if(el(e)&&(e=e.__vccOpts),t){t=Uo(t);let{class:l,style:f}=t;l&&!ee(l)&&(t.class=as(l)),B(f)&&(Qs(f)&&!R(f)&&(f=oe({},f)),t.style=lt(f))}const o=ee(e)?1:Ki(e)?128:eo(e)?64:B(e)?4:D(e)?2:0;return F(e,t,s,n,i,o,r,!0)}function Uo(e){return e?Qs(e)||Fi(e)?oe({},e):e:null}function _t(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:f}=e,d=t?Bo(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Bi(d),ref:t&&t.ref?s&&r?R(r)?r.concat(Qt(t)):[r,Qt(t)]:Qt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==te?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&_t(e.ssContent),ssFallback:e.ssFallback&&_t(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&tn(a,f.clone(a)),a}function Wo(e=" ",t=0){return ce(ys,null,e,t)}function W(e="",t=!1){return t?(O(),Je(Xe,null,e)):ce(Xe,null,e)}function Me(e){return e==null||typeof e=="boolean"?ce(Xe):R(e)?ce(te,null,e.slice()):Wi(e)?ke(e):ce(ys,null,String(e))}function ke(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:_t(e)}function on(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 i=t.default;i&&(i._c&&(i._d=!1),on(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Fi(t)?t._ctx=$e:i===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else D(t)?(t={default:t,_ctx:$e},s=32):(t=String(t),n&64?(s=16,t=[Wo(t)]):s=8);e.children=t,e.shapeFlag|=s}function Bo(...e){const t={};for(let s=0;she||$e;let os,js;{const e=us(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};os=t("__VUE_INSTANCE_SETTERS__",s=>he=s),js=t("__VUE_SSR_SETTERS__",s=>Vt=s)}const Ut=e=>{const t=he;return os(e),e.scope.on(),()=>{e.scope.off(),os(t)}},In=()=>{he&&he.scope.off(),os(null)};function zi(e){return e.vnode.shapeFlag&4}let Vt=!1;function Zo(e,t=!1,s=!1){t&&js(t);const{props:n,children:i}=e.vnode,r=zi(e);Io(e,n,r,t),Ro(e,i,s||t);const o=r?Yo(e,t):void 0;return t&&js(!1),o}function Yo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,go);const{setup:n}=s;if(n){Ve();const i=e.setupContext=n.length>1?Qo(e):null,r=Ut(e),o=Kt(n,e,0,[e.props,i]),l=qn(o);if(je(),r(),(l||e.sp)&&!Ft(e)&&Si(e),l){if(o.then(In,In),t)return o.then(f=>{$n(e,f)}).catch(f=>{ps(f,e,0)});e.asyncDep=o}else $n(e,o)}else qi(e)}function $n(e,t,s){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:B(t)&&(e.setupState=gi(t)),qi(e)}function qi(e,t,s){const n=e.type;e.render||(e.render=n.render||Pe);{const i=Ut(e);Ve();try{_o(e)}finally{je(),i()}}}const Xo={get(e,t){return le(e,"get",""),e[t]}};function Qo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Xo),slots:e.slots,emit:e.emit,expose:t}}function ln(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(gi(Dr(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 el(e){return D(e)&&"__vccOpts"in e}const mt=(e,t)=>jr(e,t,Vt),tl="3.5.34";/**
+**/function Kt(e,t,s,n){try{return n?e(...n):e()}catch(i){ps(i,t,s)}}function Re(e,t,s,n){if(D(e)){const i=Kt(e,t,s,n);return i&&qn(i)&&i.catch(r=>{ps(r,t,s)}),i}if(R(e)){const i=[];for(let r=0;r>>1,i=de[n],r=kt(i);r=kt(s)?de.push(e):de.splice(zr(t),0,e),e.flags|=1,mi()}}function mi(){ts||(ts=_i.then(bi))}function qr(e){R(e)?pt.push(...e):qe&&e.id===-1?qe.splice(at+1,0,e):e.flags&1||(pt.push(e),e.flags|=1),mi()}function yn(e,t,s=Oe+1){for(;skt(s)-kt(n));if(pt.length=0,qe){qe.push(...t);return}for(qe=t,at=0;ate.id==null?e.flags&2?-1:1/0:e.id;function bi(e){try{for(Oe=0;Oe{n._d&&Mn(-1);const r=ss(t);let o;try{o=e(...i)}finally{ss(r),n._d&&Mn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function st(e,t,s,n){const i=e.dirs,r=t&&t.dirs;for(let o=0;o1)return s&&D(t)?t.call(n&&n.proxy):t}}const Zr=Symbol.for("v-scx"),Yr=()=>Xt(Zr);function Ye(e,t,s){return wi(e,t,s)}function wi(e,t,s=Z){const{immediate:n,deep:i,flush:r,once:o}=s,l=oe({},s),f=t&&n||!t&&r!=="post";let d;if(Vt){if(r==="sync"){const C=Yr();d=C.__watcherHandles||(C.__watcherHandles=[])}else if(!f){const C=()=>{};return C.stop=Pe,C.resume=Pe,C.pause=Pe,C}}const a=he;l.call=(C,N,I)=>Re(C,a,N,I);let p=!1;r==="post"?l.scheduler=C=>{pe(C,a&&a.suspense)}:r!=="sync"&&(p=!0,l.scheduler=(C,N)=>{N?C():en(C)}),l.augmentJob=C=>{t&&(C.flags|=4),p&&(C.flags|=2,a&&(C.id=a.uid,C.i=a))};const w=Ur(e,t,l);return Vt&&(d?d.push(w):f&&w()),w}function Xr(e,t,s){const n=this.proxy,i=ee(e)?e.includes(".")?xi(n,e):()=>n[e]:e.bind(n,n);let r;D(t)?r=t:(r=t.handler,s=t);const o=Ut(this),l=wi(i,r.bind(n),s);return o(),l}function xi(e,t){const s=t.split(".");return()=>{let n=e;for(let i=0;ie.__isTeleport,to=Symbol("_leaveCb");function tn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,tn(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 He(e,t){return D(e)?oe({name:e.name},t,{setup:e}):e}function Si(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function bn(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ns=new WeakMap;function Pt(e,t,s,n,i=!1){if(R(e)){e.forEach((I,Q)=>Pt(I,t&&(R(t)?t[Q]:t),s,n,i));return}if(Ft(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Pt(e,t,s,n.component.subTree);return}const r=n.shapeFlag&4?ln(n.component):n.el,o=i?null:r,{i:l,r:f}=e,d=t&&t.r,a=l.refs===Z?l.refs={}:l.refs,p=l.setupState,w=V(p),C=p===Z?Bn:I=>bn(a,I)?!1:j(w,I),N=(I,Q)=>!(Q&&bn(a,Q));if(d!=null&&d!==f){if(vn(t),ee(d))a[d]=null,C(d)&&(p[d]=null);else if(fe(d)){const I=t;N(d,I.k)&&(d.value=null),I.k&&(a[I.k]=null)}}if(D(f))Kt(f,l,12,[o,a]);else{const I=ee(f),Q=fe(f);if(I||Q){const U=()=>{if(e.f){const k=I?C(f)?p[f]:a[f]:N()||!e.k?f.value:a[e.k];if(i)R(k)&&Ws(k,r);else if(R(k))k.includes(r)||k.push(r);else if(I)a[f]=[r],C(f)&&(p[f]=a[f]);else{const Y=[r];N(f,e.k)&&(f.value=Y),e.k&&(a[e.k]=Y)}}else I?(a[f]=o,C(f)&&(p[f]=o)):Q&&(N(f,e.k)&&(f.value=o),e.k&&(a[e.k]=o))};if(o){const k=()=>{U(),ns.delete(e)};k.id=-1,ns.set(e,k),pe(k,s)}else vn(e),U()}}}function vn(e){const t=ns.get(e);t&&(t.flags|=8,ns.delete(e))}us().requestIdleCallback;us().cancelIdleCallback;const Ft=e=>!!e.type.__asyncLoader,Ti=e=>e.type.__isKeepAlive;function so(e,t){Ci(e,"a",t)}function no(e,t){Ci(e,"da",t)}function Ci(e,t,s=he){const n=e.__wdc||(e.__wdc=()=>{let i=s;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(gs(t,n,s),s){let i=s.parent;for(;i&&i.parent;)Ti(i.parent.vnode)&&io(n,t,s,i),i=i.parent}}function io(e,t,s,n){const i=gs(t,e,n,!0);_s(()=>{Ws(n[t],i)},s)}function gs(e,t,s=he,n=!1){if(s){const i=s[e]||(s[e]=[]),r=t.__weh||(t.__weh=(...o)=>{Ve();const l=Ut(s),f=Re(t,s,e,o);return l(),je(),f});return n?i.unshift(r):i.push(r),r}}const Ue=e=>(t,s=he)=>{(!Vt||e==="sp")&&gs(e,(...n)=>t(...n),s)},ro=Ue("bm"),sn=Ue("m"),oo=Ue("bu"),lo=Ue("u"),co=Ue("bum"),_s=Ue("um"),fo=Ue("sp"),uo=Ue("rtg"),ao=Ue("rtc");function ho(e,t=he){gs("ec",e,t)}const po=Symbol.for("v-ndc");function is(e,t,s,n){let i;const r=s,o=R(e);if(o||ee(e)){const l=o&&ot(e);let f=!1,d=!1;l&&(f=!me(e),d=Ke(e),e=ds(e)),i=new Array(e.length);for(let a=0,p=e.length;at(l,f,void 0,r));else{const l=Object.keys(e);i=new Array(l.length);for(let f=0,d=l.length;fe?zi(e)?ln(e):Ns(e.parent):null,Rt=oe(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=>Ns(e.parent),$root:e=>Ns(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Oi(e),$forceUpdate:e=>e.f||(e.f=()=>{en(e.update)}),$nextTick:e=>e.n||(e.n=Br.bind(e.proxy)),$watch:e=>Xr.bind(e)}),Os=(e,t)=>e!==Z&&!e.__isScriptSetup&&j(e,t),go={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:s,setupState:n,data:i,props:r,accessCache:o,type:l,appContext:f}=e;if(t[0]!=="$"){const w=o[t];if(w!==void 0)switch(w){case 1:return n[t];case 2:return i[t];case 4:return s[t];case 3:return r[t]}else{if(Os(n,t))return o[t]=1,n[t];if(i!==Z&&j(i,t))return o[t]=2,i[t];if(j(r,t))return o[t]=3,r[t];if(s!==Z&&j(s,t))return o[t]=4,s[t];ks&&(o[t]=0)}}const d=Rt[t];let a,p;if(d)return t==="$attrs"&&le(e.attrs,"get",""),d(e);if((a=l.__cssModules)&&(a=a[t]))return a;if(s!==Z&&j(s,t))return o[t]=4,s[t];if(p=f.config.globalProperties,j(p,t))return p[t]},set({_:e},t,s){const{data:n,setupState:i,ctx:r}=e;return Os(i,t)?(i[t]=s,!0):n!==Z&&j(n,t)?(n[t]=s,!0):j(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(r[t]=s,!0)},has({_:{data:e,setupState:t,accessCache:s,ctx:n,appContext:i,props:r,type:o}},l){let f;return!!(s[l]||e!==Z&&l[0]!=="$"&&j(e,l)||Os(t,l)||j(r,l)||j(n,l)||j(Rt,l)||j(i.config.globalProperties,l)||(f=o.__cssModules)&&f[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:j(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function wn(e){return R(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let ks=!0;function _o(e){const t=Oi(e),s=e.proxy,n=e.ctx;ks=!1,t.beforeCreate&&xn(t.beforeCreate,e,"bc");const{data:i,computed:r,methods:o,watch:l,provide:f,inject:d,created:a,beforeMount:p,mounted:w,beforeUpdate:C,updated:N,activated:I,deactivated:Q,beforeDestroy:U,beforeUnmount:k,destroyed:Y,unmounted:P,render:ne,renderTracked:Be,renderTriggered:we,errorCaptured:ze,serverPrefetch:Wt,expose:Qe,inheritAttrs:bt,components:Bt,directives:zt,filters:bs}=t;if(d&&mo(d,n,null),o)for(const X in o){const q=o[X];D(q)&&(n[X]=q.bind(s))}if(i){const X=i.call(s,s);B(X)&&(e.data=hs(X))}if(ks=!0,r)for(const X in r){const q=r[X],et=D(q)?q.bind(s,s):D(q.get)?q.get.bind(s,s):Pe,qt=!D(q)&&D(q.set)?q.set.bind(s):Pe,tt=yt({get:et,set:qt});Object.defineProperty(n,X,{enumerable:!0,configurable:!0,get:()=>tt.value,set:xe=>tt.value=xe})}if(l)for(const X in l)Ai(l[X],n,s,X);if(f){const X=D(f)?f.call(s):f;Reflect.ownKeys(X).forEach(q=>{Jr(q,X[q])})}a&&xn(a,e,"c");function ue(X,q){R(q)?q.forEach(et=>X(et.bind(s))):q&&X(q.bind(s))}if(ue(ro,p),ue(sn,w),ue(oo,C),ue(lo,N),ue(so,I),ue(no,Q),ue(ho,ze),ue(ao,Be),ue(uo,we),ue(co,k),ue(_s,P),ue(fo,Wt),R(Qe))if(Qe.length){const X=e.exposed||(e.exposed={});Qe.forEach(q=>{Object.defineProperty(X,q,{get:()=>s[q],set:et=>s[q]=et,enumerable:!0})})}else e.exposed||(e.exposed={});ne&&e.render===Pe&&(e.render=ne),bt!=null&&(e.inheritAttrs=bt),Bt&&(e.components=Bt),zt&&(e.directives=zt),Wt&&Si(e)}function mo(e,t,s=Pe){R(e)&&(e=Ls(e));for(const n in e){const i=e[n];let r;B(i)?"default"in i?r=Xt(i.from||n,i.default,!0):r=Xt(i.from||n):r=Xt(i),fe(r)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>r.value,set:o=>r.value=o}):t[n]=r}}function xn(e,t,s){Re(R(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Ai(e,t,s,n){let i=n.includes(".")?xi(s,n):()=>s[n];if(ee(e)){const r=t[e];D(r)&&Ye(i,r)}else if(D(e))Ye(i,e.bind(s));else if(B(e))if(R(e))e.forEach(r=>Ai(r,t,s,n));else{const r=D(e.handler)?e.handler.bind(s):t[e.handler];D(r)&&Ye(i,r,e)}}function Oi(e){const t=e.type,{mixins:s,extends:n}=t,{mixins:i,optionsCache:r,config:{optionMergeStrategies:o}}=e.appContext,l=r.get(t);let f;return l?f=l:!i.length&&!s&&!n?f=t:(f={},i.length&&i.forEach(d=>rs(f,d,o,!0)),rs(f,t,o)),B(t)&&r.set(t,f),f}function rs(e,t,s,n=!1){const{mixins:i,extends:r}=t;r&&rs(e,r,s,!0),i&&i.forEach(o=>rs(e,o,s,!0));for(const o in t)if(!(n&&o==="expose")){const l=yo[o]||s&&s[o];e[o]=l?l(e[o],t[o]):t[o]}return e}const yo={data:Sn,props:Tn,emits:Tn,methods:Ot,computed:Ot,beforeCreate:ae,created:ae,beforeMount:ae,mounted:ae,beforeUpdate:ae,updated:ae,beforeDestroy:ae,beforeUnmount:ae,destroyed:ae,unmounted:ae,activated:ae,deactivated:ae,errorCaptured:ae,serverPrefetch:ae,components:Ot,directives:Ot,watch:vo,provide:Sn,inject:bo};function Sn(e,t){return t?e?function(){return oe(D(e)?e.call(this,this):e,D(t)?t.call(this,this):t)}:t:e}function bo(e,t){return Ot(Ls(e),Ls(t))}function Ls(e){if(R(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${ye(t)}Modifiers`]||e[`${ct(t)}Modifiers`];function To(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||Z;let i=s;const r=t.startsWith("update:"),o=r&&So(n,t.slice(7));o&&(o.trim&&(i=s.map(a=>ee(a)?a.trim():a)),o.number&&(i=s.map(lr)));let l,f=n[l=ws(t)]||n[l=ws(ye(t))];!f&&r&&(f=n[l=ws(ct(t))]),f&&Re(f,e,6,i);const d=n[l+"Once"];if(d){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Re(d,e,6,i)}}const Co=new WeakMap;function Mi(e,t,s=!1){const n=s?Co:t.emitsCache,i=n.get(e);if(i!==void 0)return i;const r=e.emits;let o={},l=!1;if(!D(e)){const f=d=>{const a=Mi(d,t,!0);a&&(l=!0,oe(o,a))};!s&&t.mixins.length&&t.mixins.forEach(f),e.extends&&f(e.extends),e.mixins&&e.mixins.forEach(f)}return!r&&!l?(B(e)&&n.set(e,null),null):(R(r)?r.forEach(f=>o[f]=null):oe(o,r),B(e)&&n.set(e,o),o)}function ms(e,t){return!e||!ls(t)?!1:(t=t.slice(2).replace(/Once$/,""),j(e,t[0].toLowerCase()+t.slice(1))||j(e,ct(t))||j(e,t))}function Cn(e){const{type:t,vnode:s,proxy:n,withProxy:i,propsOptions:[r],slots:o,attrs:l,emit:f,render:d,renderCache:a,props:p,data:w,setupState:C,ctx:N,inheritAttrs:I}=e,Q=ss(e);let U,k;try{if(s.shapeFlag&4){const P=i||n,ne=P;U=Me(d.call(ne,P,a,p,C,w,N)),k=l}else{const P=t;U=Me(P.length>1?P(p,{attrs:l,slots:o,emit:f}):P(p,null)),k=t.props?l:Ao(l)}}catch(P){Ht.length=0,ps(P,e,1),U=ce(Xe)}let Y=U;if(k&&I!==!1){const P=Object.keys(k),{shapeFlag:ne}=Y;P.length&&ne&7&&(r&&P.some(cs)&&(k=Oo(k,r)),Y=mt(Y,k,!1,!0))}return s.dirs&&(Y=mt(Y,null,!1,!0),Y.dirs=Y.dirs?Y.dirs.concat(s.dirs):s.dirs),s.transition&&tn(Y,s.transition),U=Y,ss(Q),U}const Ao=e=>{let t;for(const s in e)(s==="class"||s==="style"||ls(s))&&((t||(t={}))[s]=e[s]);return t},Oo=(e,t)=>{const s={};for(const n in e)(!cs(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Eo(e,t,s){const{props:n,children:i,component:r}=e,{props:o,children:l,patchFlag:f}=t,d=r.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&f>=0){if(f&1024)return!0;if(f&16)return n?An(n,o,d):!!o;if(f&8){const a=t.dynamicProps;for(let p=0;pObject.create($i),Fi=e=>Object.getPrototypeOf(e)===$i;function Io(e,t,s,n=!1){const i={},r=Pi();e.propsDefaults=Object.create(null),Ri(e,t,i,r);for(const o in e.propsOptions[0])o in i||(i[o]=void 0);s?e.props=n?i:Hr(i):e.type.props?e.props=i:e.props=r,e.attrs=r}function $o(e,t,s,n){const{props:i,attrs:r,vnode:{patchFlag:o}}=e,l=V(i),[f]=e.propsOptions;let d=!1;if((n||o>0)&&!(o&16)){if(o&8){const a=e.vnode.dynamicProps;for(let p=0;p{f=!0;const[w,C]=Hi(p,t,!0);oe(o,w),C&&l.push(...C)};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}if(!r&&!f)return B(e)&&n.set(e,dt),dt;if(R(r))for(let a=0;ae==="_"||e==="_ctx"||e==="$stable",rn=e=>R(e)?e.map(Me):[Me(e)],Fo=(e,t,s)=>{if(t._n)return t;const n=Gr((...i)=>rn(t(...i)),s);return n._c=!1,n},Di=(e,t,s)=>{const n=e._ctx;for(const i in e){if(nn(i))continue;const r=e[i];if(D(r))t[i]=Fo(i,r,n);else if(r!=null){const o=rn(r);t[i]=()=>o}}},Ni=(e,t)=>{const s=rn(t);e.slots.default=()=>s},ki=(e,t,s)=>{for(const n in t)(s||!nn(n))&&(e[n]=t[n])},Ro=(e,t,s)=>{const n=e.slots=Pi();if(e.vnode.shapeFlag&32){const i=t._;i?(ki(n,t,s),s&&Yn(n,"_",i,!0)):Di(t,n)}else t&&Ni(e,t)},Ho=(e,t,s)=>{const{vnode:n,slots:i}=e;let r=!0,o=Z;if(n.shapeFlag&32){const l=t._;l?s&&l===1?r=!1:ki(i,t,s):(r=!t.$stable,Di(t,i)),o=t}else t&&(Ni(e,t),o={default:1});if(r)for(const l in i)!nn(l)&&o[l]==null&&delete i[l]},pe=Vo;function Do(e){return No(e)}function No(e,t){const s=us();s.__VUE__=!0;const{insert:n,remove:i,patchProp:r,createElement:o,createText:l,createComment:f,setText:d,setElementText:a,parentNode:p,nextSibling:w,setScopeId:C=Pe,insertStaticContent:N}=e,I=(c,u,h,y=null,g=null,_=null,x=void 0,v=null,b=!!u.dynamicChildren)=>{if(c===u)return;c&&!Tt(c,u)&&(y=Gt(c),xe(c,g,_,!0),c=null),u.patchFlag===-2&&(b=!1,u.dynamicChildren=null);const{type:m,ref:E,shapeFlag:S}=u;switch(m){case ys:Q(c,u,h,y);break;case Xe:U(c,u,h,y);break;case Ms:c==null&&k(u,h,y,x);break;case te:Bt(c,u,h,y,g,_,x,v,b);break;default:S&1?ne(c,u,h,y,g,_,x,v,b):S&6?zt(c,u,h,y,g,_,x,v,b):(S&64||S&128)&&m.process(c,u,h,y,g,_,x,v,b,wt)}E!=null&&g?Pt(E,c&&c.ref,_,u||c,!u):E==null&&c&&c.ref!=null&&Pt(c.ref,null,_,c,!0)},Q=(c,u,h,y)=>{if(c==null)n(u.el=l(u.children),h,y);else{const g=u.el=c.el;u.children!==c.children&&d(g,u.children)}},U=(c,u,h,y)=>{c==null?n(u.el=f(u.children||""),h,y):u.el=c.el},k=(c,u,h,y)=>{[c.el,c.anchor]=N(c.children,u,h,y,c.el,c.anchor)},Y=({el:c,anchor:u},h,y)=>{let g;for(;c&&c!==u;)g=w(c),n(c,h,y),c=g;n(u,h,y)},P=({el:c,anchor:u})=>{let h;for(;c&&c!==u;)h=w(c),i(c),c=h;i(u)},ne=(c,u,h,y,g,_,x,v,b)=>{if(u.type==="svg"?x="svg":u.type==="math"&&(x="mathml"),c==null)Be(u,h,y,g,_,x,v,b);else{const m=c.el&&c.el._isVueCE?c.el:null;try{m&&m._beginPatch(),Wt(c,u,g,_,x,v,b)}finally{m&&m._endPatch()}}},Be=(c,u,h,y,g,_,x,v)=>{let b,m;const{props:E,shapeFlag:S,transition:A,dirs:$}=c;if(b=c.el=o(c.type,_,E&&E.is,E),S&8?a(b,c.children):S&16&&ze(c.children,b,null,y,g,Es(c,_),x,v),$&&st(c,null,y,"created"),we(b,c,c.scopeId,x,y),E){for(const z in E)z!=="value"&&!Mt(z)&&r(b,z,null,E[z],_,y);"value"in E&&r(b,"value",null,E.value,_),(m=E.onVnodeBeforeMount)&&Ae(m,y,c)}$&&st(c,null,y,"beforeMount");const L=ko(g,A);L&&A.beforeEnter(b),n(b,u,h),((m=E&&E.onVnodeMounted)||L||$)&&pe(()=>{try{m&&Ae(m,y,c),L&&A.enter(b),$&&st(c,null,y,"mounted")}finally{}},g)},we=(c,u,h,y,g)=>{if(h&&C(c,h),y)for(let _=0;_{for(let m=b;m{const v=u.el=c.el;let{patchFlag:b,dynamicChildren:m,dirs:E}=u;b|=c.patchFlag&16;const S=c.props||Z,A=u.props||Z;let $;if(h&&nt(h,!1),($=A.onVnodeBeforeUpdate)&&Ae($,h,u,c),E&&st(u,c,h,"beforeUpdate"),h&&nt(h,!0),(S.innerHTML&&A.innerHTML==null||S.textContent&&A.textContent==null)&&a(v,""),m?Qe(c.dynamicChildren,m,v,h,y,Es(u,g),_):x||q(c,u,v,null,h,y,Es(u,g),_,!1),b>0){if(b&16)bt(v,S,A,h,g);else if(b&2&&S.class!==A.class&&r(v,"class",null,A.class,g),b&4&&r(v,"style",S.style,A.style,g),b&8){const L=u.dynamicProps;for(let z=0;z{$&&Ae($,h,u,c),E&&st(u,c,h,"updated")},y)},Qe=(c,u,h,y,g,_,x)=>{for(let v=0;v{if(u!==h){if(u!==Z)for(const _ in u)!Mt(_)&&!(_ in h)&&r(c,_,u[_],null,g,y);for(const _ in h){if(Mt(_))continue;const x=h[_],v=u[_];x!==v&&_!=="value"&&r(c,_,v,x,g,y)}"value"in h&&r(c,"value",u.value,h.value,g)}},Bt=(c,u,h,y,g,_,x,v,b)=>{const m=u.el=c?c.el:l(""),E=u.anchor=c?c.anchor:l("");let{patchFlag:S,dynamicChildren:A,slotScopeIds:$}=u;$&&(v=v?v.concat($):$),c==null?(n(m,h,y),n(E,h,y),ze(u.children||[],h,E,g,_,x,v,b)):S>0&&S&64&&A&&c.dynamicChildren&&c.dynamicChildren.length===A.length?(Qe(c.dynamicChildren,A,h,g,_,x,v),(u.key!=null||g&&u===g.subTree)&&Li(c,u,!0)):q(c,u,h,E,g,_,x,v,b)},zt=(c,u,h,y,g,_,x,v,b)=>{u.slotScopeIds=v,c==null?u.shapeFlag&512?g.ctx.activate(u,h,y,x,b):bs(u,h,y,g,_,x,b):cn(c,u,b)},bs=(c,u,h,y,g,_,x)=>{const v=c.component=Go(c,y,g);if(Ti(c)&&(v.ctx.renderer=wt),Zo(v,!1,x),v.asyncDep){if(g&&g.registerDep(v,ue,x),!c.el){const b=v.subTree=ce(Xe);U(null,b,u,h),c.placeholder=b.el}}else ue(v,c,u,h,g,_,x)},cn=(c,u,h)=>{const y=u.component=c.component;if(Eo(c,u,h))if(y.asyncDep&&!y.asyncResolved){X(y,u,h);return}else y.next=u,y.update();else u.el=c.el,y.vnode=u},ue=(c,u,h,y,g,_,x)=>{const v=()=>{if(c.isMounted){let{next:S,bu:A,u:$,parent:L,vnode:z}=c;{const Te=Vi(c);if(Te){S&&(S.el=z.el,X(c,S,x)),Te.asyncDep.then(()=>{pe(()=>{c.isUnmounted||m()},g)});return}}let G=S,se;nt(c,!1),S?(S.el=z.el,X(c,S,x)):S=z,A&&xs(A),(se=S.props&&S.props.onVnodeBeforeUpdate)&&Ae(se,L,S,z),nt(c,!0);const ie=Cn(c),Se=c.subTree;c.subTree=ie,I(Se,ie,p(Se.el),Gt(Se),c,g,_),S.el=ie.el,G===null&&Mo(c,ie.el),$&&pe($,g),(se=S.props&&S.props.onVnodeUpdated)&&pe(()=>Ae(se,L,S,z),g)}else{let S;const{el:A,props:$}=u,{bm:L,m:z,parent:G,root:se,type:ie}=c,Se=Ft(u);nt(c,!1),L&&xs(L),!Se&&(S=$&&$.onVnodeBeforeMount)&&Ae(S,G,u),nt(c,!0);{se.ce&&se.ce._hasShadowRoot()&&se.ce._injectChildStyle(ie,c.parent?c.parent.type:void 0);const Te=c.subTree=Cn(c);I(null,Te,h,y,c,g,_),u.el=Te.el}if(z&&pe(z,g),!Se&&(S=$&&$.onVnodeMounted)){const Te=u;pe(()=>Ae(S,G,Te),g)}(u.shapeFlag&256||G&&Ft(G.vnode)&&G.vnode.shapeFlag&256)&&c.a&&pe(c.a,g),c.isMounted=!0,u=h=y=null}};c.scope.on();const b=c.effect=new ti(v);c.scope.off();const m=c.update=b.run.bind(b),E=c.job=b.runIfDirty.bind(b);E.i=c,E.id=c.uid,b.scheduler=()=>en(E),nt(c,!0),m()},X=(c,u,h)=>{u.component=c;const y=c.vnode.props;c.vnode=u,c.next=null,$o(c,u.props,y,h),Ho(c,u.children,h),Ve(),yn(c),je()},q=(c,u,h,y,g,_,x,v,b=!1)=>{const m=c&&c.children,E=c?c.shapeFlag:0,S=u.children,{patchFlag:A,shapeFlag:$}=u;if(A>0){if(A&128){qt(m,S,h,y,g,_,x,v,b);return}else if(A&256){et(m,S,h,y,g,_,x,v,b);return}}$&8?(E&16&&vt(m,g,_),S!==m&&a(h,S)):E&16?$&16?qt(m,S,h,y,g,_,x,v,b):vt(m,g,_,!0):(E&8&&a(h,""),$&16&&ze(S,h,y,g,_,x,v,b))},et=(c,u,h,y,g,_,x,v,b)=>{c=c||dt,u=u||dt;const m=c.length,E=u.length,S=Math.min(m,E);let A;for(A=0;AE?vt(c,g,_,!0,!1,S):ze(u,h,y,g,_,x,v,b,S)},qt=(c,u,h,y,g,_,x,v,b)=>{let m=0;const E=u.length;let S=c.length-1,A=E-1;for(;m<=S&&m<=A;){const $=c[m],L=u[m]=b?ke(u[m]):Me(u[m]);if(Tt($,L))I($,L,h,null,g,_,x,v,b);else break;m++}for(;m<=S&&m<=A;){const $=c[S],L=u[A]=b?ke(u[A]):Me(u[A]);if(Tt($,L))I($,L,h,null,g,_,x,v,b);else break;S--,A--}if(m>S){if(m<=A){const $=A+1,L=$A)for(;m<=S;)xe(c[m],g,_,!0),m++;else{const $=m,L=m,z=new Map;for(m=L;m<=A;m++){const ge=u[m]=b?ke(u[m]):Me(u[m]);ge.key!=null&&z.set(ge.key,m)}let G,se=0;const ie=A-L+1;let Se=!1,Te=0;const xt=new Array(ie);for(m=0;m=ie){xe(ge,g,_,!0);continue}let Ce;if(ge.key!=null)Ce=z.get(ge.key);else for(G=L;G<=A;G++)if(xt[G-L]===0&&Tt(ge,u[G])){Ce=G;break}Ce===void 0?xe(ge,g,_,!0):(xt[Ce-L]=m+1,Ce>=Te?Te=Ce:Se=!0,I(ge,u[Ce],h,null,g,_,x,v,b),se++)}const an=Se?Lo(xt):dt;for(G=an.length-1,m=ie-1;m>=0;m--){const ge=L+m,Ce=u[ge],dn=u[ge+1],hn=ge+1{const{el:_,type:x,transition:v,children:b,shapeFlag:m}=c;if(m&6){tt(c.component.subTree,u,h,y);return}if(m&128){c.suspense.move(u,h,y);return}if(m&64){x.move(c,u,h,wt);return}if(x===te){n(_,u,h);for(let S=0;Sv.enter(_),g);else{const{leave:S,delayLeave:A,afterLeave:$}=v,L=()=>{c.ctx.isUnmounted?i(_):n(_,u,h)},z=()=>{_._isLeaving&&_[to](!0),S(_,()=>{L(),$&&$()})};A?A(_,L,z):z()}else n(_,u,h)},xe=(c,u,h,y=!1,g=!1)=>{const{type:_,props:x,ref:v,children:b,dynamicChildren:m,shapeFlag:E,patchFlag:S,dirs:A,cacheIndex:$,memo:L}=c;if(S===-2&&(g=!1),v!=null&&(Ve(),Pt(v,null,h,c,!0),je()),$!=null&&(u.renderCache[$]=void 0),E&256){u.ctx.deactivate(c);return}const z=E&1&&A,G=!Ft(c);let se;if(G&&(se=x&&x.onVnodeBeforeUnmount)&&Ae(se,u,c),E&6)sr(c.component,h,y);else{if(E&128){c.suspense.unmount(h,y);return}z&&st(c,null,u,"beforeUnmount"),E&64?c.type.remove(c,u,h,wt,y):m&&!m.hasOnce&&(_!==te||S>0&&S&64)?vt(m,u,h,!1,!0):(_===te&&S&384||!g&&E&16)&&vt(b,u,h),y&&fn(c)}const ie=L!=null&&$==null;(G&&(se=x&&x.onVnodeUnmounted)||z||ie)&&pe(()=>{se&&Ae(se,u,c),z&&st(c,null,u,"unmounted"),ie&&(c.el=null)},h)},fn=c=>{const{type:u,el:h,anchor:y,transition:g}=c;if(u===te){tr(h,y);return}if(u===Ms){P(c);return}const _=()=>{i(h),g&&!g.persisted&&g.afterLeave&&g.afterLeave()};if(c.shapeFlag&1&&g&&!g.persisted){const{leave:x,delayLeave:v}=g,b=()=>x(h,_);v?v(c.el,_,b):b()}else _()},tr=(c,u)=>{let h;for(;c!==u;)h=w(c),i(c),c=h;i(u)},sr=(c,u,h)=>{const{bum:y,scope:g,job:_,subTree:x,um:v,m:b,a:m}=c;En(b),En(m),y&&xs(y),g.stop(),_&&(_.flags|=8,xe(x,c,u,h)),v&&pe(v,u),pe(()=>{c.isUnmounted=!0},u)},vt=(c,u,h,y=!1,g=!1,_=0)=>{for(let x=_;x{if(c.shapeFlag&6)return Gt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const u=w(c.anchor||c.el),h=u&&u[Qr];return h?w(h):u};let vs=!1;const un=(c,u,h)=>{let y;c==null?u._vnode&&(xe(u._vnode,null,null,!0),y=u._vnode.component):I(u._vnode||null,c,u,null,null,null,h),u._vnode=c,vs||(vs=!0,yn(y),yi(),vs=!1)},wt={p:I,um:xe,m:tt,r:fn,mt:bs,mc:ze,pc:q,pbc:Qe,n:Gt,o:e};return{render:un,hydrate:void 0,createApp:xo(un)}}function Es({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 nt({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 Li(e,t,s=!1){const n=e.children,i=t.children;if(R(n)&&R(i))for(let r=0;r>1,e[s[l]]0&&(t[n]=s[r-1]),s[r]=n)}}for(r=s.length,o=s[r-1];r-- >0;)s[r]=o,o=t[o];return s}function Vi(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:Vi(t)}function En(e){if(e)for(let t=0;te.__isSuspense;function Vo(e,t){t&&t.pendingBranch?R(e)?t.effects.push(...e):t.effects.push(e):qr(e)}const te=Symbol.for("v-fgt"),ys=Symbol.for("v-txt"),Xe=Symbol.for("v-cmt"),Ms=Symbol.for("v-stc"),Ht=[];let _e=null;function O(e=!1){Ht.push(_e=e?null:[])}function jo(){Ht.pop(),_e=Ht[Ht.length-1]||null}let Lt=1;function Mn(e,t=!1){Lt+=e,e<0&&_e&&t&&(_e.hasOnce=!0)}function Ui(e){return e.dynamicChildren=Lt>0?_e||dt:null,jo(),Lt>0&&_e&&_e.push(e),e}function H(e,t,s,n,i,r){return Ui(F(e,t,s,n,i,r,!0))}function Je(e,t,s,n,i){return Ui(ce(e,t,s,n,i,!0))}function Wi(e){return e?e.__v_isVNode===!0:!1}function Tt(e,t){return e.type===t.type&&e.key===t.key}const Bi=({key:e})=>e??null,Qt=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?ee(e)||fe(e)||D(e)?{i:$e,r:e,k:t,f:!!s}:e:null);function F(e,t=null,s=null,n=0,i=null,r=e===te?0:1,o=!1,l=!1){const f={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Bi(t),ref:t&&Qt(t),scopeId:vi,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:r,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:$e};return l?(on(f,s),r&128&&e.normalize(f)):s&&(f.shapeFlag|=ee(s)?8:16),Lt>0&&!o&&_e&&(f.patchFlag>0||r&6)&&f.patchFlag!==32&&_e.push(f),f}const ce=Ko;function Ko(e,t=null,s=null,n=0,i=null,r=!1){if((!e||e===po)&&(e=Xe),Wi(e)){const l=mt(e,t,!0);return s&&on(l,s),Lt>0&&!r&&_e&&(l.shapeFlag&6?_e[_e.indexOf(e)]=l:_e.push(l)),l.patchFlag=-2,l}if(el(e)&&(e=e.__vccOpts),t){t=Uo(t);let{class:l,style:f}=t;l&&!ee(l)&&(t.class=as(l)),B(f)&&(Qs(f)&&!R(f)&&(f=oe({},f)),t.style=lt(f))}const o=ee(e)?1:Ki(e)?128:eo(e)?64:B(e)?4:D(e)?2:0;return F(e,t,s,n,i,o,r,!0)}function Uo(e){return e?Qs(e)||Fi(e)?oe({},e):e:null}function mt(e,t,s=!1,n=!1){const{props:i,ref:r,patchFlag:o,children:l,transition:f}=e,d=t?Bo(i||{},t):i,a={__v_isVNode:!0,__v_skip:!0,type:e.type,props:d,key:d&&Bi(d),ref:t&&t.ref?s&&r?R(r)?r.concat(Qt(t)):[r,Qt(t)]:Qt(t):r,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==te?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:f,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&mt(e.ssContent),ssFallback:e.ssFallback&&mt(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return f&&n&&tn(a,f.clone(a)),a}function Wo(e=" ",t=0){return ce(ys,null,e,t)}function W(e="",t=!1){return t?(O(),Je(Xe,null,e)):ce(Xe,null,e)}function Me(e){return e==null||typeof e=="boolean"?ce(Xe):R(e)?ce(te,null,e.slice()):Wi(e)?ke(e):ce(ys,null,String(e))}function ke(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:mt(e)}function on(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 i=t.default;i&&(i._c&&(i._d=!1),on(e,i()),i._c&&(i._d=!0));return}else{s=32;const i=t._;!i&&!Fi(t)?t._ctx=$e:i===3&&$e&&($e.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else D(t)?(t={default:t,_ctx:$e},s=32):(t=String(t),n&64?(s=16,t=[Wo(t)]):s=8);e.children=t,e.shapeFlag|=s}function Bo(...e){const t={};for(let s=0;she||$e;let os,js;{const e=us(),t=(s,n)=>{let i;return(i=e[s])||(i=e[s]=[]),i.push(n),r=>{i.length>1?i.forEach(o=>o(r)):i[0](r)}};os=t("__VUE_INSTANCE_SETTERS__",s=>he=s),js=t("__VUE_SSR_SETTERS__",s=>Vt=s)}const Ut=e=>{const t=he;return os(e),e.scope.on(),()=>{e.scope.off(),os(t)}},In=()=>{he&&he.scope.off(),os(null)};function zi(e){return e.vnode.shapeFlag&4}let Vt=!1;function Zo(e,t=!1,s=!1){t&&js(t);const{props:n,children:i}=e.vnode,r=zi(e);Io(e,n,r,t),Ro(e,i,s||t);const o=r?Yo(e,t):void 0;return t&&js(!1),o}function Yo(e,t){const s=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,go);const{setup:n}=s;if(n){Ve();const i=e.setupContext=n.length>1?Qo(e):null,r=Ut(e),o=Kt(n,e,0,[e.props,i]),l=qn(o);if(je(),r(),(l||e.sp)&&!Ft(e)&&Si(e),l){if(o.then(In,In),t)return o.then(f=>{$n(e,f)}).catch(f=>{ps(f,e,0)});e.asyncDep=o}else $n(e,o)}else qi(e)}function $n(e,t,s){D(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:B(t)&&(e.setupState=gi(t)),qi(e)}function qi(e,t,s){const n=e.type;e.render||(e.render=n.render||Pe);{const i=Ut(e);Ve();try{_o(e)}finally{je(),i()}}}const Xo={get(e,t){return le(e,"get",""),e[t]}};function Qo(e){const t=s=>{e.exposed=s||{}};return{attrs:new Proxy(e.attrs,Xo),slots:e.slots,emit:e.emit,expose:t}}function ln(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(gi(Dr(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 el(e){return D(e)&&"__vccOpts"in e}const yt=(e,t)=>jr(e,t,Vt),tl="3.5.34";/**
* @vue/runtime-dom v3.5.34
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
-**/let Ks;const Pn=typeof window<"u"&&window.trustedTypes;if(Pn)try{Ks=Pn.createPolicy("vue",{createHTML:e=>e})}catch{}const Gi=Ks?e=>Ks.createHTML(e):e=>e,sl="http://www.w3.org/2000/svg",nl="http://www.w3.org/1998/Math/MathML",Ne=typeof document<"u"?document:null,Fn=Ne&&Ne.createElement("template"),il={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 i=t==="svg"?Ne.createElementNS(sl,e):t==="mathml"?Ne.createElementNS(nl,e):s?Ne.createElement(e,{is:s}):Ne.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Ne.createTextNode(e),createComment:e=>Ne.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ne.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const o=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{Fn.innerHTML=Gi(n==="svg"?``:n==="mathml"?``:e);const l=Fn.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},rl=Symbol("_vtc");function ol(e,t,s){const n=e[rl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Rn=Symbol("_vod"),ll=Symbol("_vsh"),cl=Symbol(""),fl=/(?:^|;)\s*display\s*:/;function ul(e,t,s){const n=e.style,i=ee(s);let r=!1;if(s&&!i){if(t)if(ee(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Et(n,l,"")}else for(const o in t)s[o]==null&&Et(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?dl(e,o,!ee(t)&&t?t[o]:void 0,l)||Et(n,o,l):Et(n,o,"")}}else if(i){if(t!==s){const o=n[cl];o&&(s+=";"+o),n.cssText=s,r=fl.test(s)}}else t&&e.removeAttribute("style");Rn in e&&(e[Rn]=r?n.display:"",e[ll]&&(n.display="none"))}const Hn=/\s*!important$/;function Et(e,t,s){if(R(s))s.forEach(n=>Et(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=al(e,t);Hn.test(s)?e.setProperty(ct(n),s.replace(Hn,""),"important"):e[n]=s}}const Dn=["Webkit","Moz","ms"],Is={};function al(e,t){const s=Is[t];if(s)return s;let n=ye(t);if(n!=="filter"&&n in e)return Is[t]=n;n=Zn(n);for(let i=0;i$s||(ml.then(()=>$s=0),$s=Date.now());function bl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Re(vl(n,s.value),t,5,[n])};return s.value=e,s.attached=yl(),s}function vl(e,t){if(R(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,wl=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?ol(e,n,o):t==="style"?ul(e,s,n):ls(t)?cs(t)||gl(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):xl(e,t,n,o))?(Ln(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&kn(e,t,n,o,r,t!=="value")):e._isVueCE&&(Sl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ee(n)))?Ln(e,ye(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),kn(e,t,n,o))};function xl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Kn(t)&&D(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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Kn(t)&&ee(s)?!1:t in e}function Sl(e,t){const s=e._def.props;if(!s)return!1;const n=ye(t);return Array.isArray(s)?s.some(i=>ye(i)===n):Object.keys(s).some(i=>ye(i)===n)}const Tl=oe({patchProp:wl},il);let Un;function Cl(){return Un||(Un=Do(Tl))}const Al=((...e)=>{const t=Cl().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=El(n);if(!i)return;const r=t._component;!D(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Ol(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t});function Ol(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function El(e){return ee(e)?document.querySelector(e):e}const T=hs({layout:"single",showSeconds:!0,userZodiac:"射手座",wallpaperVisible:!0,photoFrameMode:!1,cardVisibility:{time:!0,weather:!0,zodiac:!0,knowledge:!0,ainews:!0,photo:!0},backgroundHtml:"",weather:null,horoscope:null,aiNews:[],knowledge:{content:"",keyword:""},photo:null});function Ml(){const e=window.__INITIAL_DATA__;e&&(e.layout&&(T.layout=e.layout),e.showSeconds!==void 0&&(T.showSeconds=e.showSeconds),e.userZodiac&&(T.userZodiac=e.userZodiac),e.wallpaperVisible!==void 0&&(T.wallpaperVisible=e.wallpaperVisible),e.photoFrameMode!==void 0&&(T.photoFrameMode=e.photoFrameMode),e.cardVisibility&&Object.assign(T.cardVisibility,e.cardVisibility),e.backgroundHtml&&(T.backgroundHtml=e.backgroundHtml))}function Ji(){const e=Ze("00:00"),t=Ze("1月1日 周一"),s=Ze("");let n=null,i="",r="";const o=[{m:1,d:1,name:"元旦"},{m:2,d:14,name:"情人节"},{m:3,d:8,name:"妇女节"},{m:4,d:5,name:"清明节"},{m:5,d:1,name:"劳动节"},{m:5,d:4,name:"青年节"},{m:6,d:1,name:"儿童节"},{m:7,d:1,name:"建党节"},{m:8,d:1,name:"建军节"},{m:9,d:10,name:"教师节"},{m:10,d:1,name:"国庆节"},{m:10,d:31,name:"万圣节"},{m:12,d:25,name:"圣诞节"}];function l(d){const a=d.getFullYear(),p=[];for(const w of o){const C=new Date(a,w.m-1,w.d);let N=Math.ceil((C.getTime()-d.getTime())/864e5);if(N>0&&N<=60&&p.push({diff:N,name:w.name}),N<0){const I=new Date(a+1,w.m-1,w.d);N=Math.ceil((I.getTime()-d.getTime())/864e5),N>0&&N<=60&&p.push({diff:N,name:w.name})}}return p.sort((w,C)=>w.diff-C.diff),p.length>0?`距${p[0].name}还有${p[0].diff}天`:""}function f(){const d=new Date,a=String(d.getHours()).padStart(2,"0"),p=String(d.getMinutes()).padStart(2,"0"),w=String(d.getSeconds()).padStart(2,"0"),C=T.showSeconds?`${a}:${p}:${w}`:`${a}:${p}`,N=d.getMonth()+1,I=d.getDate(),Q=["周日","周一","周二","周三","周四","周五","周六"][d.getDay()],U=`${N}月${I}日 ${Q}`;if(C!==i&&(e.value=C,i=C),U!==r){const k=l(d);t.value=U,s.value=k,r=U}}return sn(()=>{f(),n=window.setInterval(f,1e3)}),_s(()=>{n&&clearInterval(n)}),{timeStr:e,dateStr:t,holidayStr:s}}const Il=["innerHTML"],$l=He({__name:"TimeCard",setup(e){const{timeStr:t,dateStr:s,holidayStr:n}=Ji(),i=Ze(!1);let r=null;const o=mt(()=>n.value?`${s.value} 「${n.value}」`:s.value);return Ye(t,l=>{(l.endsWith(":00:00")||l.endsWith(":00"))&&(i.value=!1,requestAnimationFrame(()=>{i.value=!0}),r&&clearTimeout(r),r=window.setTimeout(()=>{i.value=!1},6e3))}),_s(()=>{r&&clearTimeout(r)}),(l,f)=>(O(),H(te,null,[F("div",{class:"date",innerHTML:o.value},null,8,Il),F("div",{class:as(["time",{"hourly-glow":i.value}])},K(M(t)),3)],64))}}),We=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},Zi=We($l,[["__scopeId","data-v-fc6abe16"]]),Pl={key:0,class:"current-weather"},Fl={class:"weather-forecast"},Rl={class:"forecast-time"},Hl={class:"forecast-icon"},Dl={class:"forecast-temp"},Nl={key:0,class:"forecast-pop"},kl={class:"daily-forecast"},Ll={style:{opacity:"0.6","font-size":"10px"}},Vl={class:"daily-icon"},jl={class:"forecast-temp"},Kl=He({__name:"WeatherCard",setup(e){return(t,s)=>(O(),H(te,null,[M(T).weather?.current?(O(),H("div",Pl,K(M(T).weather.current),1)):W("",!0),M(T).weather?.hourly?.length?(O(),H(te,{key:1},[s[0]||(s[0]=F("div",{class:"forecast-title"},"24小时预报",-1)),F("div",Fl,[(O(!0),H(te,null,is(M(T).weather.hourly,n=>(O(),H("div",{class:"forecast-item",key:n.time},[F("div",Rl,K(n.time),1),F("div",Hl,K(n.icon),1),F("div",Dl,K(n.temp),1),n.pop&&n.pop!=="0"?(O(),H("div",Nl,K(n.pop)+"%",1)):W("",!0)]))),128))])],64)):W("",!0),M(T).weather?.daily?.length?(O(),H(te,{key:2},[s[1]||(s[1]=F("div",{class:"forecast-title",style:{"margin-top":"12px"}},"7日预报",-1)),F("div",kl,[(O(!0),H(te,null,is(M(T).weather.daily,n=>(O(),H("div",{class:"daily-item",key:n.date},[F("div",Ll,K(n.date),1),F("div",Vl,K(n.icon),1),F("div",jl,K(n.tempMin)+"°~"+K(n.tempMax)+"°",1)]))),128))])],64)):W("",!0)],64))}}),Yi=We(Kl,[["__scopeId","data-v-c377fb97"]]),Ul={白羊座:{icon:"♈",date:"3.21-4.19"},金牛座:{icon:"♉",date:"4.20-5.20"},双子座:{icon:"♊",date:"5.21-6.21"},巨蟹座:{icon:"♋",date:"6.22-7.22"},狮子座:{icon:"♌",date:"7.23-8.22"},处女座:{icon:"♍",date:"8.23-9.22"},天秤座:{icon:"♎",date:"9.23-10.23"},天蝎座:{icon:"♏",date:"10.24-11.22"},射手座:{icon:"♐",date:"11.23-12.21"},摩羯座:{icon:"♑",date:"12.22-1.19"},水瓶座:{icon:"♒",date:"1.20-2.18"},双鱼座:{icon:"♓",date:"2.19-3.20"}},Tt={all:"#e0e0e0",love:"#ff6b9d",work:"#4fc3f7",money:"#ffd54f",health:"#81c784"};function Wl(){const e=mt(()=>Ul[T.userZodiac]||{icon:"✨",date:""}),t=mt(()=>T.horoscope);return{zodiacInfo:e,data:t}}const Bl={class:"zodiac-text"},zl={class:"zodiac-title"},ql={class:"zodiac-date"},Gl={class:"zodiac-bar-label"},Jl={class:"zodiac-bar-track"},Zl={class:"zodiac-bar-val"},Yl={key:0,class:"zodiac-tags"},Xl={key:0,class:"zodiac-tag"},Ql={key:1,class:"zodiac-tag"},ec={key:2,class:"zodiac-tag"},tc={key:1,class:"zodiac-summary"},sc={key:1,style:{opacity:"0.4","font-size":"12px","margin-top":"8px"}},nc=He({__name:"ZodiacCard",setup(e){const{zodiacInfo:t,data:s}=Wl(),n=mt(()=>s.value?[{label:"综合",val:parseInt(s.value.all)||0,color:Tt.all},{label:"爱情",val:parseInt(s.value.love)||0,color:Tt.love},{label:"工作",val:parseInt(s.value.work)||0,color:Tt.work},{label:"财运",val:parseInt(s.value.money)||0,color:Tt.money},{label:"健康",val:parseInt(s.value.health)||0,color:Tt.health}]:[]),i=mt(()=>s.value?.luckyColor||s.value?.luckyNum||s.value?.noble);return(r,o)=>(O(),H("div",Bl,[F("div",zl,K(M(t).icon)+" "+K(M(T).userZodiac)+"运势",1),F("div",ql,K(M(t).date),1),M(s)?(O(),H(te,{key:0},[(O(!0),H(te,null,is(n.value,l=>(O(),H("div",{class:"zodiac-bar",key:l.label},[F("span",Gl,K(l.label),1),F("div",Jl,[F("div",{class:"zodiac-bar-fill",style:lt({width:l.val+"%",background:l.color})},null,4)]),F("span",Zl,K(l.val)+"%",1)]))),128)),i.value?(O(),H("div",Yl,[M(s).luckyColor?(O(),H("span",Xl,"🎨 "+K(M(s).luckyColor),1)):W("",!0),M(s).luckyNum?(O(),H("span",Ql,"🔢 "+K(M(s).luckyNum),1)):W("",!0),M(s).noble?(O(),H("span",ec,"⭐ "+K(M(s).noble),1)):W("",!0)])):W("",!0),M(s).summary?(O(),H("div",tc,K(M(s).summary),1)):W("",!0)],64)):(O(),H("div",sc,"运势加载中..."))]))}}),Xi=We(nc,[["__scopeId","data-v-bcc0f377"]]),ic={class:"knowledge-card"},rc={class:"knowledge-header"},oc={key:0,class:"knowledge-keyword-tag"},lc={key:0,class:"knowledge-body"},cc={class:"knowledge-text"},fc={key:1,class:"knowledge-placeholder"},uc=He({__name:"KnowledgeCard",setup(e){return(t,s)=>(O(),H("div",ic,[F("div",rc,[s[0]||(s[0]=F("span",{class:"knowledge-label"},"知识卡片",-1)),M(T).knowledge.keyword?(O(),H("span",oc,"#"+K(M(T).knowledge.keyword),1)):W("",!0)]),s[2]||(s[2]=F("div",{class:"knowledge-divider"},null,-1)),M(T).knowledge.content?(O(),H("div",lc,[s[1]||(s[1]=F("span",{class:"knowledge-quote"},'"',-1)),F("span",cc,K(M(T).knowledge.content),1)])):(O(),H("div",fc,"请在设置中配置知识关键字"))]))}}),Qi=We(uc,[["__scopeId","data-v-4fb593ad"]]);function ac(e){const t=String(e||"").trim();return/^(https?:|data:image\/)/i.test(t)?t:""}const dc=["src"],hc={class:"ainews-body"},pc={class:"ainews-title-row"},gc={class:"ainews-title"},_c={class:"ainews-source"},mc={key:0,class:"ainews-desc"},yc=He({__name:"AINewsCard",setup(e){function t(s){return s?.length>10?s.substring(5,10):s}return(s,n)=>(O(),H("div",null,[n[1]||(n[1]=F("div",{class:"ainews-header"},"🤖 AI 资讯",-1)),(O(!0),H(te,null,is(M(T).aiNews.slice(0,5),(i,r)=>(O(),H("div",{class:"ainews-item",key:r},[M(ac)(i.picUrl)?(O(),H("img",{key:0,class:"ainews-img",src:i.picUrl,loading:"lazy",onError:n[0]||(n[0]=o=>o.target.style.display="none")},null,40,dc)):W("",!0),F("div",hc,[F("div",pc,[F("span",gc,K(i.title),1),F("span",_c,K(i.source)+" · "+K(t(i.ctime)),1)]),i.description?(O(),H("div",mc,K(i.description),1)):W("",!0)])]))),128))]))}}),er=We(yc,[["__scopeId","data-v-842d17af"]]),bc={id:"layout-single"},vc={id:"info",class:"card"},wc={key:2,class:"divider"},xc={key:4,class:"divider"},Sc={key:6,class:"divider"},Tc=He({__name:"SingleLayout",setup(e){return(t,s)=>(O(),H("div",bc,[F("div",vc,[M(T).cardVisibility.time?(O(),Je(Zi,{key:0})):W("",!0),s[0]||(s[0]=F("div",{class:"divider"},null,-1)),M(T).cardVisibility.ainews?(O(),Je(er,{key:1})):W("",!0),M(T).cardVisibility.ainews?(O(),H("div",wc)):W("",!0),M(T).cardVisibility.knowledge?(O(),Je(Qi,{key:3})):W("",!0),M(T).cardVisibility.knowledge?(O(),H("div",xc)):W("",!0),M(T).cardVisibility.weather?(O(),Je(Yi,{key:5})):W("",!0),M(T).cardVisibility.weather?(O(),H("div",Sc)):W("",!0),M(T).cardVisibility.zodiac?(O(),Je(Xi,{key:7})):W("",!0)])]))}}),Cc=We(Tc,[["__scopeId","data-v-89757d39"]]),Ac={key:0,id:"card-photo",class:"card"},Oc={class:"photo-wrap"},Ec=["src"],Mc={class:"photo-info"},Ic={class:"photo-counter"},$c={class:"photo-progress"},Pc=He({__name:"PhotoCard",setup(e){const t=Ze(!1),s=Ze();return Ye(()=>T.photo?.src,()=>{if(t.value=!1,!s.value)return;const n=s.value;n.style.transition="none",n.style.width="0%",requestAnimationFrame(()=>{requestAnimationFrame(()=>{const i=T.photo?.interval||15;n.style.transition=`width ${i}s linear`,n.style.width="100%"})})}),(n,i)=>M(T).photo?.src?(O(),H("div",Ac,[F("div",Oc,[F("img",{src:M(T).photo.src,alt:"",onLoad:i[0]||(i[0]=r=>t.value=!0),style:lt({opacity:t.value?1:0})},null,44,Ec),F("div",Mc,[F("span",Ic,K(M(T).photo.counter),1),F("div",$c,[F("div",{class:"photo-progress-bar",ref_key:"progressBar",ref:s},null,512)])])])])):W("",!0)}}),Fc=We(Pc,[["__scopeId","data-v-32718552"]]),Rc={id:"layout-multi"},Hc={key:0,id:"card-time",class:"card"},Dc={key:1,id:"card-zodiac",class:"card"},Nc={key:2,id:"card-knowledge",class:"card"},kc={key:3,id:"card-ainews",class:"card"},Lc={key:4,id:"card-weather",class:"card"},Vc=He({__name:"MultiLayout",setup(e){return(t,s)=>(O(),H("div",Rc,[M(T).cardVisibility.time?(O(),H("div",Hc,[ce(Zi)])):W("",!0),M(T).cardVisibility.zodiac?(O(),H("div",Dc,[ce(Xi)])):W("",!0),M(T).cardVisibility.knowledge?(O(),H("div",Nc,[ce(Qi)])):W("",!0),M(T).cardVisibility.ainews?(O(),H("div",kc,[ce(er)])):W("",!0),M(T).cardVisibility.weather?(O(),H("div",Lc,[ce(Yi)])):W("",!0),ce(Fc)]))}}),jc=We(Vc,[["__scopeId","data-v-877a01f5"]]),Kc=["src"],Uc=["src"],Wc={class:"photo-frame-clock"},Bc={class:"photo-frame-date"},zc=He({__name:"PhotoFrame",setup(e){const{timeStr:t,dateStr:s}=Ji(),n=Ze(!1);return Ye(()=>T.photo?.src,()=>{!T.photoFrameMode||!T.photo?.src||(n.value=!1,setTimeout(()=>{n.value=!0},400))}),(i,r)=>M(T).photoFrameMode?(O(),H(te,{key:0},[F("img",{id:"photo-frame-bg",src:M(T).photo?.src,alt:"",style:lt({opacity:n.value?1:0})},null,12,Kc),F("img",{id:"photo-frame-img",src:M(T).photo?.src,alt:"",style:lt({opacity:n.value?1:0})},null,12,Uc),F("div",Wc,K(M(t)),1),F("div",Bc,K(M(s)),1)],64)):W("",!0)}}),qc=We(zc,[["__scopeId","data-v-fd359286"]]),Gc=He({__name:"App",setup(e){const t=Ze();function s(n){const i=t.value;i&&(i.innerHTML=n,i.querySelectorAll("script").forEach(r=>{const o=document.createElement("script");r.src?o.src=r.src:o.textContent=r.textContent;for(const l of r.attributes)o.setAttribute(l.name,l.value);r.parentNode?.replaceChild(o,r)}))}return sn(()=>{Ml(),T.backgroundHtml&&T.wallpaperVisible&&s(T.backgroundHtml)}),Ye(()=>T.backgroundHtml,n=>{T.wallpaperVisible&&s(n)}),Ye(()=>T.wallpaperVisible,n=>{const i=t.value;i&&(n&&T.backgroundHtml?s(T.backgroundHtml):i.innerHTML="")}),(n,i)=>(O(),H(te,null,[F("div",{id:"bg-mount",ref_key:"bgMount",ref:t},null,512),M(T).photoFrameMode?W("",!0):(O(),H(te,{key:0},[M(T).layout==="single"?(O(),Je(Cc,{key:0})):(O(),Je(jc,{key:1}))],64)),ce(qc),i[0]||(i[0]=F("div",{id:"author"},"绝尘",-1))],64))}});function Ct(e){return typeof e=="string"?JSON.parse(e):e}const Wn=new Map;function At(e,t){const s=JSON.stringify(t);return Wn.get(e)===s?!1:(Wn.set(e,s),!0)}function Jc(){const e=window;e.updateHoroscopeFromGo=t=>{const s=Ct(t);At("horoscope",s)&&(T.horoscope=s)},e.updateAINewsFromGo=t=>{const s=Ct(t);s?.length&&At("ainews",s)&&(T.aiNews=s)},e.updateKnowledgeFromGo=t=>{const s=Ct(t);At("knowledge",s)&&(T.knowledge=s)},e.updateWeatherFromGo=t=>{const s=Ct(t);At("weather",s)&&(T.weather=s)},e.updatePhotoFromGo=t=>{const s=Ct(t);s?.src&&At("photo",s)&&(T.photo=s)},e.setCardVisible=(t,s)=>{t in T.cardVisibility&&(T.cardVisibility[t]=s)},e.setWallpaperVisible=t=>{T.wallpaperVisible=t},e.setPhotoFrameMode=t=>{T.photoFrameMode=t},e.setShowSeconds=t=>{T.showSeconds=t},Object.defineProperty(e,"userZodiac",{set(t){T.userZodiac=t},get(){return T.userZodiac}}),e.__updateBackgroundHtml=t=>{T.backgroundHtml=t}}Jc();Al(Gc).mount("#app");
-
+**/let Ks;const Pn=typeof window<"u"&&window.trustedTypes;if(Pn)try{Ks=Pn.createPolicy("vue",{createHTML:e=>e})}catch{}const Gi=Ks?e=>Ks.createHTML(e):e=>e,sl="http://www.w3.org/2000/svg",nl="http://www.w3.org/1998/Math/MathML",Ne=typeof document<"u"?document:null,Fn=Ne&&Ne.createElement("template"),il={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 i=t==="svg"?Ne.createElementNS(sl,e):t==="mathml"?Ne.createElementNS(nl,e):s?Ne.createElement(e,{is:s}):Ne.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Ne.createTextNode(e),createComment:e=>Ne.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Ne.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,s,n,i,r){const o=s?s.previousSibling:t.lastChild;if(i&&(i===r||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),s),!(i===r||!(i=i.nextSibling)););else{Fn.innerHTML=Gi(n==="svg"?``:n==="mathml"?``:e);const l=Fn.content;if(n==="svg"||n==="mathml"){const f=l.firstChild;for(;f.firstChild;)l.appendChild(f.firstChild);l.removeChild(f)}t.insertBefore(l,s)}return[o?o.nextSibling:t.firstChild,s?s.previousSibling:t.lastChild]}},rl=Symbol("_vtc");function ol(e,t,s){const n=e[rl];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):s?e.setAttribute("class",t):e.className=t}const Rn=Symbol("_vod"),ll=Symbol("_vsh"),cl=Symbol(""),fl=/(?:^|;)\s*display\s*:/;function ul(e,t,s){const n=e.style,i=ee(s);let r=!1;if(s&&!i){if(t)if(ee(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&Et(n,l,"")}else for(const o in t)s[o]==null&&Et(n,o,"");for(const o in s){o==="display"&&(r=!0);const l=s[o];l!=null?dl(e,o,!ee(t)&&t?t[o]:void 0,l)||Et(n,o,l):Et(n,o,"")}}else if(i){if(t!==s){const o=n[cl];o&&(s+=";"+o),n.cssText=s,r=fl.test(s)}}else t&&e.removeAttribute("style");Rn in e&&(e[Rn]=r?n.display:"",e[ll]&&(n.display="none"))}const Hn=/\s*!important$/;function Et(e,t,s){if(R(s))s.forEach(n=>Et(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=al(e,t);Hn.test(s)?e.setProperty(ct(n),s.replace(Hn,""),"important"):e[n]=s}}const Dn=["Webkit","Moz","ms"],Is={};function al(e,t){const s=Is[t];if(s)return s;let n=ye(t);if(n!=="filter"&&n in e)return Is[t]=n;n=Zn(n);for(let i=0;i$s||(ml.then(()=>$s=0),$s=Date.now());function bl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Re(vl(n,s.value),t,5,[n])};return s.value=e,s.attached=yl(),s}function vl(e,t){if(R(t)){const s=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{s.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const Kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,wl=(e,t,s,n,i,r)=>{const o=i==="svg";t==="class"?ol(e,n,o):t==="style"?ul(e,s,n):ls(t)?cs(t)||gl(e,t,s,n,r):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):xl(e,t,n,o))?(Ln(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&kn(e,t,n,o,r,t!=="value")):e._isVueCE&&(Sl(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!ee(n)))?Ln(e,ye(t),n,r,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),kn(e,t,n,o))};function xl(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Kn(t)&&D(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 i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return Kn(t)&&ee(s)?!1:t in e}function Sl(e,t){const s=e._def.props;if(!s)return!1;const n=ye(t);return Array.isArray(s)?s.some(i=>ye(i)===n):Object.keys(s).some(i=>ye(i)===n)}const Tl=oe({patchProp:wl},il);let Un;function Cl(){return Un||(Un=Do(Tl))}const Al=((...e)=>{const t=Cl().createApp(...e),{mount:s}=t;return t.mount=n=>{const i=El(n);if(!i)return;const r=t._component;!D(r)&&!r.render&&!r.template&&(r.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const o=s(i,!1,Ol(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),o},t});function Ol(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function El(e){return ee(e)?document.querySelector(e):e}const T=hs({layout:"single",showSeconds:!0,userZodiac:"射手座",wallpaperVisible:!0,photoFrameMode:!1,cardVisibility:{time:!0,weather:!0,zodiac:!0,knowledge:!0,ainews:!0,photo:!0},backgroundHtml:"",weather:null,horoscope:null,aiNews:[],knowledge:{content:"",keyword:""},photo:null});function Ml(){const e=window.__INITIAL_DATA__;e&&(e.layout&&(T.layout=e.layout),e.showSeconds!==void 0&&(T.showSeconds=e.showSeconds),e.userZodiac&&(T.userZodiac=e.userZodiac),e.wallpaperVisible!==void 0&&(T.wallpaperVisible=e.wallpaperVisible),e.photoFrameMode!==void 0&&(T.photoFrameMode=e.photoFrameMode),e.cardVisibility&&Object.assign(T.cardVisibility,e.cardVisibility),e.backgroundHtml&&(T.backgroundHtml=e.backgroundHtml))}function Ji(){const e=Ze("00:00"),t=Ze("1月1日 周一"),s=Ze("");let n=null,i="",r="";const o=[{m:1,d:1,name:"元旦"},{m:2,d:14,name:"情人节"},{m:3,d:8,name:"妇女节"},{m:4,d:5,name:"清明节"},{m:5,d:1,name:"劳动节"},{m:5,d:4,name:"青年节"},{m:6,d:1,name:"儿童节"},{m:7,d:1,name:"建党节"},{m:8,d:1,name:"建军节"},{m:9,d:10,name:"教师节"},{m:10,d:1,name:"国庆节"},{m:10,d:31,name:"万圣节"},{m:12,d:25,name:"圣诞节"}];function l(d){const a=d.getFullYear(),p=[];for(const w of o){const C=new Date(a,w.m-1,w.d);let N=Math.ceil((C.getTime()-d.getTime())/864e5);if(N>0&&N<=60&&p.push({diff:N,name:w.name}),N<0){const I=new Date(a+1,w.m-1,w.d);N=Math.ceil((I.getTime()-d.getTime())/864e5),N>0&&N<=60&&p.push({diff:N,name:w.name})}}return p.sort((w,C)=>w.diff-C.diff),p.length>0?`距${p[0].name}还有${p[0].diff}天`:""}function f(){const d=new Date,a=String(d.getHours()).padStart(2,"0"),p=String(d.getMinutes()).padStart(2,"0"),w=String(d.getSeconds()).padStart(2,"0"),C=T.showSeconds?`${a}:${p}:${w}`:`${a}:${p}`,N=d.getMonth()+1,I=d.getDate(),Q=["周日","周一","周二","周三","周四","周五","周六"][d.getDay()],U=`${N}月${I}日 ${Q}`;if(C!==i&&(e.value=C,i=C),U!==r){const k=l(d);t.value=U,s.value=k,r=U}}return sn(()=>{f(),n=window.setInterval(f,1e3)}),_s(()=>{n&&clearInterval(n)}),{timeStr:e,dateStr:t,holidayStr:s}}const Il=["innerHTML"],$l=He({__name:"TimeCard",setup(e){const{timeStr:t,dateStr:s,holidayStr:n}=Ji(),i=Ze(!1);let r=null;const o=yt(()=>n.value?`${s.value} 「${n.value}」`:s.value);return Ye(t,l=>{(l.endsWith(":00:00")||l.endsWith(":00"))&&(i.value=!1,requestAnimationFrame(()=>{i.value=!0}),r&&clearTimeout(r),r=window.setTimeout(()=>{i.value=!1},6e3))}),_s(()=>{r&&clearTimeout(r)}),(l,f)=>(O(),H(te,null,[F("div",{class:"date",innerHTML:o.value},null,8,Il),F("div",{class:as(["time",{"hourly-glow":i.value}])},K(M(t)),3)],64))}}),We=(e,t)=>{const s=e.__vccOpts||e;for(const[n,i]of t)s[n]=i;return s},Zi=We($l,[["__scopeId","data-v-fc6abe16"]]),Pl={key:0,class:"current-weather"},Fl={class:"weather-forecast"},Rl={class:"forecast-time"},Hl={class:"forecast-icon"},Dl={class:"forecast-temp"},Nl={key:0,class:"forecast-pop"},kl={class:"daily-forecast"},Ll={style:{opacity:"0.6","font-size":"10px"}},Vl={class:"daily-icon"},jl={class:"forecast-temp"},Kl=He({__name:"WeatherCard",setup(e){return(t,s)=>(O(),H(te,null,[M(T).weather?.current?(O(),H("div",Pl,K(M(T).weather.current),1)):W("",!0),M(T).weather?.hourly?.length?(O(),H(te,{key:1},[s[0]||(s[0]=F("div",{class:"forecast-title"},"24小时预报",-1)),F("div",Fl,[(O(!0),H(te,null,is(M(T).weather.hourly,n=>(O(),H("div",{class:"forecast-item",key:n.time},[F("div",Rl,K(n.time),1),F("div",Hl,K(n.icon),1),F("div",Dl,K(n.temp),1),n.pop&&n.pop!=="0"?(O(),H("div",Nl,K(n.pop)+"%",1)):W("",!0)]))),128))])],64)):W("",!0),M(T).weather?.daily?.length?(O(),H(te,{key:2},[s[1]||(s[1]=F("div",{class:"forecast-title",style:{"margin-top":"12px"}},"7日预报",-1)),F("div",kl,[(O(!0),H(te,null,is(M(T).weather.daily,n=>(O(),H("div",{class:"daily-item",key:n.date},[F("div",Ll,K(n.date),1),F("div",Vl,K(n.icon),1),F("div",jl,K(n.tempMin)+"°~"+K(n.tempMax)+"°",1)]))),128))])],64)):W("",!0)],64))}}),Yi=We(Kl,[["__scopeId","data-v-c377fb97"]]),Ul={白羊座:{icon:"♈",date:"3.21-4.19"},金牛座:{icon:"♉",date:"4.20-5.20"},双子座:{icon:"♊",date:"5.21-6.21"},巨蟹座:{icon:"♋",date:"6.22-7.22"},狮子座:{icon:"♌",date:"7.23-8.22"},处女座:{icon:"♍",date:"8.23-9.22"},天秤座:{icon:"♎",date:"9.23-10.23"},天蝎座:{icon:"♏",date:"10.24-11.22"},射手座:{icon:"♐",date:"11.23-12.21"},摩羯座:{icon:"♑",date:"12.22-1.19"},水瓶座:{icon:"♒",date:"1.20-2.18"},双鱼座:{icon:"♓",date:"2.19-3.20"}},Ct={all:"#e0e0e0",love:"#ff6b9d",work:"#4fc3f7",money:"#ffd54f",health:"#81c784"};function Wl(){const e=yt(()=>Ul[T.userZodiac]||{icon:"✨",date:""}),t=yt(()=>T.horoscope);return{zodiacInfo:e,data:t}}const Bl={class:"zodiac-text"},zl={class:"zodiac-title"},ql={class:"zodiac-date"},Gl={class:"zodiac-bar-label"},Jl={class:"zodiac-bar-track"},Zl={class:"zodiac-bar-val"},Yl={key:0,class:"zodiac-tags"},Xl={key:0,class:"zodiac-tag"},Ql={key:1,class:"zodiac-tag"},ec={key:2,class:"zodiac-tag"},tc={key:1,class:"zodiac-summary"},sc={key:1,style:{opacity:"0.4","font-size":"12px","margin-top":"8px"}},nc=He({__name:"ZodiacCard",setup(e){const{zodiacInfo:t,data:s}=Wl(),n=yt(()=>s.value?[{label:"综合",val:parseInt(s.value.all)||0,color:Ct.all},{label:"爱情",val:parseInt(s.value.love)||0,color:Ct.love},{label:"工作",val:parseInt(s.value.work)||0,color:Ct.work},{label:"财运",val:parseInt(s.value.money)||0,color:Ct.money},{label:"健康",val:parseInt(s.value.health)||0,color:Ct.health}]:[]),i=yt(()=>s.value?.luckyColor||s.value?.luckyNum||s.value?.noble);return(r,o)=>(O(),H("div",Bl,[F("div",zl,K(M(t).icon)+" "+K(M(T).userZodiac)+"运势",1),F("div",ql,K(M(t).date),1),M(s)?(O(),H(te,{key:0},[(O(!0),H(te,null,is(n.value,l=>(O(),H("div",{class:"zodiac-bar",key:l.label},[F("span",Gl,K(l.label),1),F("div",Jl,[F("div",{class:"zodiac-bar-fill",style:lt({width:l.val+"%",background:l.color})},null,4)]),F("span",Zl,K(l.val)+"%",1)]))),128)),i.value?(O(),H("div",Yl,[M(s).luckyColor?(O(),H("span",Xl,"🎨 "+K(M(s).luckyColor),1)):W("",!0),M(s).luckyNum?(O(),H("span",Ql,"🔢 "+K(M(s).luckyNum),1)):W("",!0),M(s).noble?(O(),H("span",ec,"⭐ "+K(M(s).noble),1)):W("",!0)])):W("",!0),M(s).summary?(O(),H("div",tc,K(M(s).summary),1)):W("",!0)],64)):(O(),H("div",sc,"运势加载中..."))]))}}),Xi=We(nc,[["__scopeId","data-v-bcc0f377"]]),ic={class:"knowledge-card"},rc={class:"knowledge-header"},oc={key:0,class:"knowledge-keyword-tag"},lc={key:0,class:"knowledge-body"},cc={class:"knowledge-text"},fc={key:1,class:"knowledge-placeholder"},uc=He({__name:"KnowledgeCard",setup(e){return(t,s)=>(O(),H("div",ic,[F("div",rc,[s[0]||(s[0]=F("span",{class:"knowledge-label"},"知识卡片",-1)),M(T).knowledge.keyword?(O(),H("span",oc,"#"+K(M(T).knowledge.keyword),1)):W("",!0)]),s[2]||(s[2]=F("div",{class:"knowledge-divider"},null,-1)),M(T).knowledge.content?(O(),H("div",lc,[s[1]||(s[1]=F("span",{class:"knowledge-quote"},'"',-1)),F("span",cc,K(M(T).knowledge.content),1)])):(O(),H("div",fc,"请在设置中配置知识关键字"))]))}}),Qi=We(uc,[["__scopeId","data-v-4fb593ad"]]);function ac(e){const t=String(e||"").trim();return/^(https?:|data:image\/)/i.test(t)?t:""}const dc=["src"],hc={class:"ainews-body"},pc={class:"ainews-title-row"},gc={class:"ainews-title"},_c={class:"ainews-source"},mc={key:0,class:"ainews-desc"},yc=He({__name:"AINewsCard",setup(e){function t(s){return s?.length>10?s.substring(5,10):s}return(s,n)=>(O(),H("div",null,[n[1]||(n[1]=F("div",{class:"ainews-header"},"🤖 AI 资讯",-1)),(O(!0),H(te,null,is(M(T).aiNews.slice(0,5),(i,r)=>(O(),H("div",{class:"ainews-item",key:r},[M(ac)(i.picUrl)?(O(),H("img",{key:0,class:"ainews-img",src:i.picUrl,loading:"lazy",onError:n[0]||(n[0]=o=>o.target.style.display="none")},null,40,dc)):W("",!0),F("div",hc,[F("div",pc,[F("span",gc,K(i.title),1),F("span",_c,K(i.source)+" · "+K(t(i.ctime)),1)]),i.description?(O(),H("div",mc,K(i.description),1)):W("",!0)])]))),128))]))}}),er=We(yc,[["__scopeId","data-v-842d17af"]]),bc={id:"layout-single"},vc={id:"info",class:"card"},wc={key:2,class:"divider"},xc={key:4,class:"divider"},Sc={key:6,class:"divider"},Tc=He({__name:"SingleLayout",setup(e){return(t,s)=>(O(),H("div",bc,[F("div",vc,[M(T).cardVisibility.time?(O(),Je(Zi,{key:0})):W("",!0),s[0]||(s[0]=F("div",{class:"divider"},null,-1)),M(T).cardVisibility.ainews?(O(),Je(er,{key:1})):W("",!0),M(T).cardVisibility.ainews?(O(),H("div",wc)):W("",!0),M(T).cardVisibility.knowledge?(O(),Je(Qi,{key:3})):W("",!0),M(T).cardVisibility.knowledge?(O(),H("div",xc)):W("",!0),M(T).cardVisibility.weather?(O(),Je(Yi,{key:5})):W("",!0),M(T).cardVisibility.weather?(O(),H("div",Sc)):W("",!0),M(T).cardVisibility.zodiac?(O(),Je(Xi,{key:7})):W("",!0)])]))}}),Cc=We(Tc,[["__scopeId","data-v-89757d39"]]),Ac={key:0,id:"card-photo",class:"card"},Oc={class:"photo-wrap"},Ec=["src"],Mc={class:"photo-info"},Ic={class:"photo-counter"},$c={class:"photo-progress"},Pc=He({__name:"PhotoCard",setup(e){const t=Ze(!1),s=Ze();return Ye(()=>T.photo?.src,()=>{if(t.value=!1,!s.value)return;const n=s.value;n.style.transition="none",n.style.width="0%",requestAnimationFrame(()=>{requestAnimationFrame(()=>{const i=T.photo?.interval||15;n.style.transition=`width ${i}s linear`,n.style.width="100%"})})}),(n,i)=>M(T).photo?.src?(O(),H("div",Ac,[F("div",Oc,[F("img",{src:M(T).photo.src,alt:"",onLoad:i[0]||(i[0]=r=>t.value=!0),style:lt({opacity:t.value?1:0})},null,44,Ec),F("div",Mc,[F("span",Ic,K(M(T).photo.counter),1),F("div",$c,[F("div",{class:"photo-progress-bar",ref_key:"progressBar",ref:s},null,512)])])])])):W("",!0)}}),Fc=We(Pc,[["__scopeId","data-v-32718552"]]),Rc={id:"layout-multi"},Hc={key:0,id:"card-time",class:"card"},Dc={key:1,id:"card-zodiac",class:"card"},Nc={key:2,id:"card-knowledge",class:"card"},kc={key:3,id:"card-ainews",class:"card"},Lc={key:4,id:"card-weather",class:"card"},Vc=He({__name:"MultiLayout",setup(e){return(t,s)=>(O(),H("div",Rc,[M(T).cardVisibility.time?(O(),H("div",Hc,[ce(Zi)])):W("",!0),M(T).cardVisibility.zodiac?(O(),H("div",Dc,[ce(Xi)])):W("",!0),M(T).cardVisibility.knowledge?(O(),H("div",Nc,[ce(Qi)])):W("",!0),M(T).cardVisibility.ainews?(O(),H("div",kc,[ce(er)])):W("",!0),M(T).cardVisibility.weather?(O(),H("div",Lc,[ce(Yi)])):W("",!0),ce(Fc)]))}}),jc=We(Vc,[["__scopeId","data-v-877a01f5"]]),Kc=["src"],Uc=["src"],Wc={class:"photo-frame-clock"},Bc={class:"photo-frame-date"},zc=He({__name:"PhotoFrame",setup(e){const{timeStr:t,dateStr:s}=Ji(),n=Ze(!1);return Ye(()=>T.photo?.src,()=>{!T.photoFrameMode||!T.photo?.src||(n.value=!1,setTimeout(()=>{n.value=!0},400))}),(i,r)=>M(T).photoFrameMode?(O(),H(te,{key:0},[F("img",{id:"photo-frame-bg",src:M(T).photo?.src,alt:"",style:lt({opacity:n.value?1:0})},null,12,Kc),F("img",{id:"photo-frame-img",src:M(T).photo?.src,alt:"",style:lt({opacity:n.value?1:0})},null,12,Uc),F("div",Wc,K(M(t)),1),F("div",Bc,K(M(s)),1)],64)):W("",!0)}}),qc=We(zc,[["__scopeId","data-v-fd359286"]]),Gc=He({__name:"App",setup(e){const t=Ze();function s(n){const i=t.value;i&&(i.innerHTML=n,i.querySelectorAll("script").forEach(r=>{const o=document.createElement("script");r.src?o.src=r.src:o.textContent=r.textContent;for(const l of r.attributes)o.setAttribute(l.name,l.value);r.parentNode?.replaceChild(o,r)}))}return sn(()=>{Ml(),T.backgroundHtml&&T.wallpaperVisible&&s(T.backgroundHtml)}),Ye(()=>T.backgroundHtml,n=>{T.wallpaperVisible&&s(n)}),Ye(()=>T.wallpaperVisible,n=>{const i=t.value;i&&(n&&T.backgroundHtml?s(T.backgroundHtml):i.innerHTML="")}),(n,i)=>(O(),H(te,null,[F("div",{id:"bg-mount",ref_key:"bgMount",ref:t},null,512),M(T).photoFrameMode?W("",!0):(O(),H(te,{key:0},[M(T).layout==="single"?(O(),Je(Cc,{key:0})):(O(),Je(jc,{key:1}))],64)),ce(qc),i[0]||(i[0]=F("div",{id:"author"},"绝尘",-1))],64))}});function ut(e){return typeof e=="string"?JSON.parse(e):e}const Wn=new Map;function At(e,t){const s=JSON.stringify(t);return Wn.get(e)===s?!1:(Wn.set(e,s),!0)}function Jc(){const e=window;e.updateHoroscopeFromGo=t=>{const s=ut(t);At("horoscope",s)&&(T.horoscope=s)},e.updateAINewsFromGo=t=>{const s=ut(t);s?.length&&At("ainews",s)&&(T.aiNews=s)},e.updateKnowledgeFromGo=t=>{const s=ut(t);At("knowledge",s)&&(T.knowledge=s)},e.updateWeatherFromGo=t=>{const s=ut(t);At("weather",s)&&(T.weather=s)},e.updatePhotoFromGo=t=>{const s=ut(t);s?.src&&At("photo",s)&&(T.photo=s)},e.setCardVisible=(t,s)=>{t in T.cardVisibility&&(T.cardVisibility[t]=s)},e.setWallpaperVisible=t=>{T.wallpaperVisible=t},e.setPhotoFrameMode=t=>{T.photoFrameMode=t},e.setShowSeconds=t=>{T.showSeconds=t},Object.defineProperty(e,"userZodiac",{set(t){T.userZodiac=t},get(){return T.userZodiac}}),e.__updateBackgroundHtml=t=>{T.backgroundHtml=t},e.updateAudioDataFromGo=t=>{const s=ut(t);Array.isArray(s)&&(window.__audioBins=s)}}Jc();Al(Gc).mount("#app");
+
diff --git a/web/settings.html b/web/settings.html
index 143d472..4dc4305 100644
--- a/web/settings.html
+++ b/web/settings.html
@@ -7,20 +7,20 @@
* @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{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{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;sKt(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};/**
+**/function Qs(e){const t=Object.create(null);for(const s of e.split(","))t[s]=1;return s=>s in t}const z={},pt=[],Fe=()=>{},nr=()=>!1,hs=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),gs=e=>e.startsWith("onUpdate:"),le=Object.assign,en=(e,t)=>{const s=e.indexOf(t);s>-1&&e.splice(s,1)},ai=Object.prototype.hasOwnProperty,H=(e,t)=>ai.call(e,t),M=Array.isArray,ht=e=>Kt(e)==="[object Map]",vs=e=>Kt(e)==="[object Set]",Sn=e=>Kt(e)==="[object Date]",R=e=>typeof e=="function",Q=e=>typeof e=="string",je=e=>typeof e=="symbol",U=e=>e!==null&&typeof e=="object",rr=e=>(U(e)||R(e))&&R(e.then)&&R(e.catch),ir=Object.prototype.toString,Kt=e=>ir.call(e),ui=e=>Kt(e).slice(8,-1),or=e=>Kt(e)==="[object Object]",tn=e=>Q(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ot=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,we=ms(e=>e.replace(fi,t=>t.slice(1).toUpperCase())),di=/\B([A-Z])/g,at=ms(e=>e.replace(di,"-$1").toLowerCase()),lr=ms(e=>e.charAt(0).toUpperCase()+e.slice(1)),Is=ms(e=>e?`on${lr(e)}`:""),Re=(e,t)=>!Object.is(e,t),ts=(e,...t)=>{for(let s=0;s{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:s})},bs=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let Cn;const xs=()=>Cn||(Cn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Dt(e){if(M(e)){const t={};for(let s=0;s{if(s){const n=s.split(hi);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function De(e){let t="";if(Q(e))t=e;else if(M(e))for(let s=0;sUt(s,t))}const ur=e=>!!(e&&e.__v_isRef===!0),oe=e=>Q(e)?e:e==null?"":M(e)||U(e)&&(e.toString===ir||!R(e.toString))?ur(e)?oe(e.value):JSON.stringify(e,fr,2):String(e),fr=(e,t)=>ur(t)?fr(e,t.value):ht(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((s,[n,r],i)=>(s[$s(n,i)+" =>"]=r,s),{})}:vs(t)?{[`Set(${t.size})`]:[...t.values()].map(s=>$s(s))}:je(t)?$s(t):U(t)&&!M(t)&&!or(t)?String(t):t,$s=(e,t="")=>{var s;return je(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;t0&&--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;s0)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)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{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}/**
+**/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;t0&&--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;s0)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 vr(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 Ls(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(mr(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function mr(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===jt)||(e.globalVersion=jt,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Ls(e))))return;e.flags|=2;const t=e.dep,s=Y,n=Se;Y=e,Se=!0;try{gr(e);const r=e.fn(e._value);(t.version===0||Re(r,e._value))&&(e.flags|=128,e._value=r,t.version++)}catch(r){throw t.version++,r}finally{Y=s,Se=n,vr(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 Se=!0;const br=[];function Ue(){br.push(Se),Se=!1}function We(){const e=br.pop();Se=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 jt=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||!Se||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++,jt++,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 Bs=new WeakMap,rt=Symbol(""),Hs=Symbol(""),Nt=Symbol("");function ce(e,t,s){if(Se&&Y){let n=Bs.get(e);n||Bs.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 He(e,t,s,n,r,i){const o=Bs.get(e);if(!o){jt++;return}const l=a=>{a&&a.trigger()};if(sn(),t==="clear")o.forEach(l);else{const a=M(e),p=a&&tn(s);if(a&&s==="length"){const u=Number(n);o.forEach((d,_)=>{(_==="length"||_===Nt||!je(_)&&_>=u)&&l(d)})}else switch((s!==void 0||o.has(void 0))&&l(o.get(s)),p&&l(o.get(Nt)),t){case"add":a?p&&l(o.get("length")):(l(o.get(rt)),ht(e)&&l(o.get(Hs)));break;case"delete":a||(l(o.get(rt)),ht(e)&&l(o.get(Hs)));break;case"set":ht(e)&&l(o.get(rt));break}}nn()}function ft(e){const t=B(e);return t===e?t:(ce(t,"iterate",Nt),xe(e)?t:t.map(Ce))}function ys(e){return ce(e=B(e),"iterate",Nt),e}function ke(e,t){return ze(e)?bt(it(e)?Ce(t):t):Ce(t)}const Ti={__proto__:null,[Symbol.iterator](){return Ms(this,Symbol.iterator,e=>ke(this,e))},concat(...e){return ft(this).concat(...e.map(t=>M(t)?ft(t):t))},entries(){return Ms(this,"entries",e=>(e[1]=ke(this,e[1]),e))},every(e,t){return Ve(this,"every",e,t,void 0,arguments)},filter(e,t){return Ve(this,"filter",e,t,s=>s.map(n=>ke(this,n)),arguments)},find(e,t){return Ve(this,"find",e,t,s=>ke(this,s),arguments)},findIndex(e,t){return Ve(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Ve(this,"findLast",e,t,s=>ke(this,s),arguments)},findLastIndex(e,t){return Ve(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Ve(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 Ve(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 Ve(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=>ke(this,e))}};function Ms(e,t,s){const n=ys(e),r=n[t]();return n!==e&&!xe(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 Ve(e,t,s,n,r,i){const o=ys(e),l=o!==e&&!xe(e),a=o[t];if(a!==Pi[t]){const d=a.apply(e,i);return l?Ce(d):d}let p=s;o!==e&&(l?p=function(d,_){return s.call(this,ke(e,d),_,e)}:s.length>2&&(p=function(d,_){return s.call(this,d,_,e)}));const u=a.call(o,p,n);return l&&r?r(u):u}function Pn(e,t,s,n){const r=ys(e),i=r!==e&&!xe(e);let o=s,l=!1;r!==e&&(i?(l=n.length===0,o=function(p,u,d){return l&&(l=!1,p=ke(e,p)),s.call(this,p,ke(e,u),d,e)}):s.length>3&&(o=function(p,u,d){return s.call(this,p,u,d,e)}));const a=r[t](o,...n);return l?ke(e,a):a}function Rs(e,t,s){const n=B(e);ce(n,"iterate",Nt);const r=n[t](...s);return(r===-1||r===!1)&&an(s[0])?(s[0]=B(s[0]),n[t](...s)):r}function Ct(e,t,s=[]){Ue(),sn();const n=B(e)[t].apply(e,s);return nn(),We(),n}const Ai=Qs("__proto__,__v_isRef,__isVue"),yr=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(je));function Oi(e){je(e)||(e=String(e));const t=B(this);return ce(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=M(t);if(!r){let a;if(o&&(a=Ti[s]))return a;if(s==="hasOwnProperty")return Oi}const l=Reflect.get(t,s,ae(t)?t:n);if((je(s)?yr.has(s):Ai(s))||(r||ce(t,"get",s),i))return l;if(ae(l)){const a=o&&tn(s)?l:l.value;return r&&U(a)?Us(a):a}return U(l)?r?Us(l):Vt(l):l}}class wr extends _r{constructor(t=!1){super(!1,t)}set(t,s,n,r){let i=t[s];const o=M(t)&&tn(s);if(!this._isShallow){const p=ze(i);if(!xe(n)&&!ze(n)&&(i=B(i),n=B(n)),!o&&ae(i)&&!ae(n))return p||(i.value=n),!0}const l=o?Number(s)e,Xt=e=>Reflect.getPrototypeOf(e);function Mi(e,t,s){return function(...n){const r=this.__v_raw,i=B(r),o=ht(i),l=e==="entries"||e===Symbol.iterator&&o,a=e==="keys"&&o,p=r[e](...n),u=s?Ks:t?bt:Ce;return!t&&ce(i,"iterate",a?Hs:rt),le(Object.create(p),{next(){const{value:d,done:_}=p.next();return _?{value:d,done:_}:{value:l?[u(d[0]),u(d[1])]:u(d),done:_}}})}}function Qt(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function Ri(e,t){const s={get(r){const i=this.__v_raw,o=B(i),l=B(r);e||(Re(r,l)&&ce(o,"get",r),ce(o,"get",l));const{has:a}=Xt(o),p=t?Ks:e?bt:Ce;if(a.call(o,r))return p(i.get(r));if(a.call(o,l))return p(i.get(l));i!==o&&i.get(r)},get size(){const r=this.__v_raw;return!e&&ce(B(r),"iterate",rt),r.size},has(r){const i=this.__v_raw,o=B(i),l=B(r);return e||(Re(r,l)&&ce(o,"has",r),ce(o,"has",l)),r===l?i.has(r):i.has(r)||i.has(l)},forEach(r,i){const o=this,l=o.__v_raw,a=B(l),p=t?Ks:e?bt:Ce;return!e&&ce(a,"iterate",rt),l.forEach((u,d)=>r.call(i,p(u),p(d),o))}};return le(s,e?{add:Qt("add"),set:Qt("set"),delete:Qt("delete"),clear:Qt("clear")}:{add(r){const i=B(this),o=Xt(i),l=B(r),a=!t&&!xe(r)&&!ze(r)?l:r;return o.has.call(i,a)||Re(r,a)&&o.has.call(i,r)||Re(l,a)&&o.has.call(i,l)||(i.add(a),He(i,"add",a,a)),this},set(r,i){!t&&!xe(i)&&!ze(i)&&(i=B(i));const o=B(this),{has:l,get:a}=Xt(o);let p=l.call(o,r);p||(r=B(r),p=l.call(o,r));const u=a.call(o,r);return o.set(r,i),p?Re(i,u)&&He(o,"set",r,i):He(o,"add",r,i),this},delete(r){const i=B(this),{has:o,get:l}=Xt(i);let a=o.call(i,r);a||(r=B(r),a=o.call(i,r)),l&&l.call(i,r);const p=i.delete(r);return a&&He(i,"delete",r,void 0),p},clear(){const r=B(this),i=r.size!==0,o=r.clear();return i&&He(r,"clear",void 0,void 0),o}}),["keys","values","entries",Symbol.iterator].forEach(r=>{s[r]=Mi(r,e,t)}),s}function ln(e,t){const s=Ri(e,t);return(n,r,i)=>r==="__v_isReactive"?!e:r==="__v_isReadonly"?e:r==="__v_raw"?n:Reflect.get(H(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(ui(e))}function Vt(e){return ze(e)?e:cn(e,!1,Ii,Fi,Sr)}function Bi(e){return cn(e,!1,ki,Di,Cr)}function Us(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 ze(e)?it(e.__v_raw):!!(e&&e.__v_isReactive)}function ze(e){return!!(e&&e.__v_isReadonly)}function xe(e){return!!(e&&e.__v_isShallow)}function an(e){return e?!!e.__v_raw:!1}function B(e){const t=e&&e.__v_raw;return t?B(t):e}function Hi(e){return!H(e,"__v_skip")&&Object.isExtensible(e)&&cr(e,"__v_skip",!0),e}const Ce=e=>U(e)?Vt(e):e,bt=e=>U(e)?Us(e):e;function ae(e){return e?e.__v_isRef===!0:!1}function ot(e){return Ki(e,!1)}function Ki(e,t){return ae(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:B(t),this._value=s?t:Ce(t),this.__v_isShallow=s}get value(){return this.dep.track(),this._value}set value(t){const s=this._rawValue,n=this.__v_isShallow||xe(t)||ze(t);t=n?t:B(t),Re(t,s)&&(this._rawValue=t,this._value=n?t:Ce(t),this.dep.trigger())}}function ie(e){return ae(e)?e.value:e}const Wi={get:(e,t,s)=>t==="__v_raw"?e:ie(Reflect.get(e,t,s)),set:(e,t,s,n)=>{const r=e[t];return ae(r)&&!ae(s)?(r.value=s,!0):Reflect.set(e,t,s,n)}};function Pr(e){return it(e)?e:new Proxy(e,Wi)}class zi{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=jt-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 mr(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function Ji(e,t,s=!1){let n,r;return R(e)?n=e:(n=e.get,r=e.set),new zi(n,r,s)}const es={},rs=new WeakMap;let st;function Gi(e,t=!1,s=st){if(s){let n=rs.get(s);n||rs.set(s,n=[]),n.push(e)}}function qi(e,t,s=z){const{immediate:n,deep:r,once:i,scheduler:o,augmentJob:l,call:a}=s,p=y=>r?y:xe(y)||r===!1||r===0?Ke(y,1):Ke(y);let u,d,_,A,N=!1,$=!1;if(ae(e)?(d=()=>e.value,N=xe(e)):it(e)?(d=()=>p(e),N=!0):M(e)?($=!0,N=e.some(y=>it(y)||xe(y)),d=()=>e.map(y=>{if(ae(y))return y.value;if(it(y))return p(y);if(R(y))return a?a(y,2):y()})):R(e)?t?d=a?()=>a(e,2):e:d=()=>{if(_){Ue();try{_()}finally{We()}}const y=st;st=u;try{return a?a(e,3,[A]):e(A)}finally{st=y}}:d=Fe,t&&r){const y=d,K=r===!0?1/0:r;d=()=>Ke(y(),K)}const X=wi(),J=()=>{u.stop(),X&&X.active&&en(X.effects,u)};if(i&&t){const y=t;t=(...K)=>{y(...K),J()}}let O=$?new Array(e.length).fill(es):es;const w=y=>{if(!(!(u.flags&1)||!u.dirty&&!y))if(t){const K=u.run();if(r||N||($?K.some((ye,Te)=>Re(ye,O[Te])):Re(K,O))){_&&_();const ye=st;st=u;try{const Te=[K,O===es?void 0:$&&O[0]===es?[]:O,A];O=K,a?a(t,3,Te):t(...Te)}finally{st=ye}}}else u.run()};return l&&l(w),u=new dr(d),u.scheduler=o?()=>o(w,!1):w,A=y=>Gi(y,!1,u),_=u.onStop=()=>{const y=rs.get(u);if(y){if(a)a(y,4);else for(const K of y)K();rs.delete(u)}},t?n?w(!0):O=u.run():o?o(w.bind(null,!0),!0):u.run(),J.pause=u.pause.bind(u),J.resume=u.resume.bind(u),J.stop=J,J}function Ke(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--,ae(e))Ke(e.value,t,s);else if(M(e))for(let n=0;n{Ke(n,t,s)});else if(or(e)){for(const n in e)Ke(e[n],t,s);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Ke(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>>1,r=fe[n],i=Vt(r);i=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(;sVt(s)-Vt(n));if(gt.length=0,qe){qe.push(...t);return}for(qe=t,dt=0;dte.id==null?e.flags&2?-1:1/0:e.id;function $r(e){try{for(Ee=0;Ee{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;r1)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;re.__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;at(l,u,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let u=0,p=l.length;ue?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;st==="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;dObject.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{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;ae==="_"||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{for(let b=_;b{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{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{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;AE?_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=MA)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){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{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{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>1,e[s[l]]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;te.__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;sde||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";/**
+**/function Wt(e,t,s,n){try{return n?e(...n):e()}catch(r){_s(r,t,s)}}function Ne(e,t,s,n){if(R(e)){const r=Wt(e,t,s,n);return r&&rr(r)&&r.catch(i=>{_s(i,t,s)}),r}if(M(e)){const r=[];for(let i=0;i>>1,r=de[n],i=Lt(r);i=Lt(s)?de.push(e):de.splice(Zi(t),0,e),e.flags|=1,Er()}}function Er(){is||(is=Ar.then($r))}function Xi(e){M(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 An(e,t,s=$e+1){for(;sLt(s)-Lt(n));if(gt.length=0,qe){qe.push(...t);return}for(qe=t,dt=0;dte.id==null?e.flags&2?-1:1/0:e.id;function $r(e){try{for($e=0;$e{n._d&&Nn(-1);const i=os(t);let o;try{o=e(...r)}finally{os(i),n._d&&Nn(1)}return o};return n._n=!0,n._c=!0,n._d=!0,n}function lt(e,t){if(be===null)return e;const s=Ts(be),n=e.dirs||(e.dirs=[]);for(let r=0;r1)return s&&R(t)?t.call(n&&n.proxy):t}}const to=Symbol.for("v-scx"),so=()=>ss(to);function ct(e,t,s){return Mr(e,t,s)}function Mr(e,t,s=z){const{immediate:n,deep:r,flush:i,once:o}=s,l=le({},s),a=t&&n||!t&&i!=="post";let p;if(Ht){if(i==="sync"){const A=so();p=A.__watcherHandles||(A.__watcherHandles=[])}else if(!a){const A=()=>{};return A.stop=Fe,A.resume=Fe,A.pause=Fe,A}}const u=pe;l.call=(A,N,$)=>Ne(A,u,N,$);let d=!1;i==="post"?l.scheduler=A=>{he(A,u&&u.suspense)}:i!=="sync"&&(d=!0,l.scheduler=(A,N)=>{N?A():un(A)}),l.augmentJob=A=>{t&&(A.flags|=4),d&&(A.flags|=2,u&&(A.id=u.uid,A.i=u))};const _=qi(e,t,l);return Ht&&(p?p.push(_):a&&_()),_}function no(e,t,s){const n=this.proxy,r=Q(e)?e.includes(".")?Rr(n,e):()=>n[e]:e.bind(n,n);let i;R(t)?i=t:(i=t.handler,s=t);const o=zt(this),l=Mr(r,i.bind(n),s);return o(),l}function Rr(e,t){const s=t.split(".");return()=>{let n=e;for(let r=0;re.__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 ut(e,t){return R(e)?le({name:e.name},t,{setup:e}):e}function Fr(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function On(e,t){let s;return!!((s=Object.getOwnPropertyDescriptor(e,t))&&!s.configurable)}const ls=new WeakMap;function $t(e,t,s,n,r=!1){if(M(e)){e.forEach(($,X)=>$t($,t&&(M(t)?t[X]:t),s,n,r));return}if(kt(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?Ts(n.component):n.el,o=r?null:i,{i:l,r:a}=e,p=t&&t.r,u=l.refs===z?l.refs={}:l.refs,d=l.setupState,_=B(d),A=d===z?nr:$=>On(u,$)?!1:H(_,$),N=($,X)=>!(X&&On(u,X));if(p!=null&&p!==a){if(En(t),Q(p))u[p]=null,A(p)&&(d[p]=null);else if(ae(p)){const $=t;N(p,$.k)&&(p.value=null),$.k&&(u[$.k]=null)}}if(R(a))Wt(a,l,12,[o,u]);else{const $=Q(a),X=ae(a);if($||X){const J=()=>{if(e.f){const O=$?A(a)?d[a]:u[a]:N()||!e.k?a.value:u[e.k];if(r)M(O)&&en(O,i);else if(M(O))O.includes(i)||O.push(i);else if($)u[a]=[i],A(a)&&(d[a]=u[a]);else{const w=[i];N(a,e.k)&&(a.value=w),e.k&&(u[e.k]=w)}}else $?(u[a]=o,A(a)&&(d[a]=o)):X&&(N(a,e.k)&&(a.value=o),e.k&&(u[e.k]=o))};if(o){const O=()=>{J(),ls.delete(e)};O.id=-1,ls.set(e,O),he(O,s)}else En(e),J()}}}function En(e){const t=ls.get(e);t&&(t.flags|=8,ls.delete(e))}xs().requestIdleCallback;xs().cancelIdleCallback;const kt=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=pe){const n=e.__wdc||(e.__wdc=()=>{let r=s;for(;r;){if(r.isDeactivated)return;r=r.parent}return e()});if(ws(t,n,s),s){let r=s.parent;for(;r&&r.parent;)Dr(r.parent.vnode)&&ao(n,t,s,r),r=r.parent}}function ao(e,t,s,n){const r=ws(t,e,n,!0);pn(()=>{en(n[t],r)},s)}function ws(e,t,s=pe,n=!1){if(s){const r=s[e]||(s[e]=[]),i=t.__weh||(t.__weh=(...o)=>{Ue();const l=zt(s),a=Ne(t,s,e,o);return l(),We(),a});return n?r.unshift(i):r.push(i),i}}const Je=e=>(t,s=pe)=>{(!Ht||e==="sp")&&ws(e,(...n)=>t(...n),s)},uo=Je("bm"),dn=Je("m"),fo=Je("bu"),po=Je("u"),ho=Je("bum"),pn=Je("um"),go=Je("sp"),vo=Je("rtg"),mo=Je("rtc");function bo(e,t=pe){ws("ec",e,t)}const xo=Symbol.for("v-ndc");function _e(e,t,s,n){let r;const i=s,o=M(e);if(o||Q(e)){const l=o&&it(e);let a=!1,p=!1;l&&(a=!xe(e),p=ze(e),e=ys(e)),r=new Array(e.length);for(let u=0,d=e.length;ut(l,a,void 0,i));else{const l=Object.keys(e);r=new Array(l.length);for(let a=0,p=l.length;ae?ri(e)?Ts(e):Ws(e.parent):null,Mt=le(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=>Ws(e.parent),$root:e=>Ws(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>Vr(e),$forceUpdate:e=>e.f||(e.f=()=>{un(e.update)}),$nextTick:e=>e.n||(e.n=Or.bind(e.proxy)),$watch:e=>no.bind(e)}),Fs=(e,t)=>e!==z&&!e.__isScriptSetup&&H(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:a}=e;if(t[0]!=="$"){const _=o[t];if(_!==void 0)switch(_){case 1:return n[t];case 2:return r[t];case 4:return s[t];case 3:return i[t]}else{if(Fs(n,t))return o[t]=1,n[t];if(r!==z&&H(r,t))return o[t]=2,r[t];if(H(i,t))return o[t]=3,i[t];if(s!==z&&H(s,t))return o[t]=4,s[t];zs&&(o[t]=0)}}const p=Mt[t];let u,d;if(p)return t==="$attrs"&&ce(e.attrs,"get",""),p(e);if((u=l.__cssModules)&&(u=u[t]))return u;if(s!==z&&H(s,t))return o[t]=4,s[t];if(d=a.config.globalProperties,H(d,t))return d[t]},set({_:e},t,s){const{data:n,setupState:r,ctx:i}=e;return Fs(r,t)?(r[t]=s,!0):n!==z&&H(n,t)?(n[t]=s,!0):H(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 a;return!!(s[l]||e!==z&&l[0]!=="$"&&H(e,l)||Fs(t,l)||H(i,l)||H(n,l)||H(Mt,l)||H(r.config.globalProperties,l)||(a=o.__cssModules)&&a[l])},defineProperty(e,t,s){return s.get!=null?e._.accessCache[t]=0:H(s,"value")&&this.set(e,t,s.value,null),Reflect.defineProperty(e,t,s)}};function In(e){return M(e)?e.reduce((t,s)=>(t[s]=null,t),{}):e}let zs=!0;function _o(e){const t=Vr(e),s=e.proxy,n=e.ctx;zs=!1,t.beforeCreate&&$n(t.beforeCreate,e,"bc");const{data:r,computed:i,methods:o,watch:l,provide:a,inject:p,created:u,beforeMount:d,mounted:_,beforeUpdate:A,updated:N,activated:$,deactivated:X,beforeDestroy:J,beforeUnmount:O,destroyed:w,unmounted:y,render:K,renderTracked:ye,renderTriggered:Te,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 G=o[Z];R(G)&&(n[Z]=G.bind(s))}if(r){const Z=r.call(s,s);U(Z)&&(e.data=Vt(Z))}if(zs=!0,i)for(const Z in i){const G=i[Z],Xe=R(G)?G.bind(s,s):R(G.get)?G.get.bind(s,s):Fe,Yt=!R(G)&&R(G.set)?G.set.bind(s):Fe,Qe=us({get:Xe,set:Yt});Object.defineProperty(n,Z,{enumerable:!0,configurable:!0,get:()=>Qe.value,set:Pe=>Qe.value=Pe})}if(l)for(const Z in l)Nr(l[Z],n,s,Z);if(a){const Z=R(a)?a.call(s):a;Reflect.ownKeys(Z).forEach(G=>{eo(G,Z[G])})}u&&$n(u,e,"c");function ue(Z,G){M(G)?G.forEach(Xe=>Z(Xe.bind(s))):G&&Z(G.bind(s))}if(ue(uo,d),ue(dn,_),ue(fo,A),ue(po,N),ue(lo,$),ue(co,X),ue(bo,Ge),ue(mo,ye),ue(vo,Te),ue(ho,O),ue(pn,y),ue(go,Jt),M(Ze))if(Ze.length){const Z=e.exposed||(e.exposed={});Ze.forEach(G=>{Object.defineProperty(Z,G,{get:()=>s[G],set:Xe=>s[G]=Xe,enumerable:!0})})}else e.exposed||(e.exposed={});K&&e.render===Fe&&(e.render=K),yt!=null&&(e.inheritAttrs=yt),Gt&&(e.components=Gt),qt&&(e.directives=qt),Jt&&Fr(e)}function wo(e,t,s=Fe){M(e)&&(e=Js(e));for(const n in e){const r=e[n];let i;U(r)?"default"in r?i=ss(r.from||n,r.default,!0):i=ss(r.from||n):i=ss(r),ae(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){Ne(M(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,s)}function Nr(e,t,s,n){let r=n.includes(".")?Rr(s,n):()=>s[n];if(Q(e)){const i=t[e];R(i)&&ct(r,i)}else if(R(e))ct(r,e.bind(s));else if(U(e))if(M(e))e.forEach(i=>Nr(i,t,s,n));else{const i=R(e.handler)?e.handler.bind(s):t[e.handler];R(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 a;return l?a=l:!r.length&&!s&&!n?a=t:(a={},r.length&&r.forEach(p=>cs(a,p,o,!0)),cs(a,t,o)),U(t)&&i.set(t,a),a}function cs(e,t,s,n=!1){const{mixins:r,extends:i}=t;i&&cs(e,i,s,!0),r&&r.forEach(o=>cs(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:kn,props:Mn,emits:Mn,methods:Pt,computed:Pt,beforeCreate:fe,created:fe,beforeMount:fe,mounted:fe,beforeUpdate:fe,updated:fe,beforeDestroy:fe,beforeUnmount:fe,destroyed:fe,unmounted:fe,activated:fe,deactivated:fe,errorCaptured:fe,serverPrefetch:fe,components:Pt,directives:Pt,watch:To,provide:kn,inject:Co};function kn(e,t){return t?e?function(){return le(R(e)?e.call(this,this):e,R(t)?t.call(this,this):t)}:t:e}function Co(e,t){return Pt(Js(e),Js(t))}function Js(e){if(M(e)){const t={};for(let s=0;st==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${we(t)}Modifiers`]||e[`${at(t)}Modifiers`];function Eo(e,t,...s){if(e.isUnmounted)return;const n=e.vnode.props||z;let r=s;const i=t.startsWith("update:"),o=i&&Oo(n,t.slice(7));o&&(o.trim&&(r=s.map(u=>Q(u)?u.trim():u)),o.number&&(r=s.map(bs)));let l,a=n[l=Is(t)]||n[l=Is(we(t))];!a&&i&&(a=n[l=Is(at(t))]),a&&Ne(a,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,Ne(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(!R(e)){const a=p=>{const u=Br(p,t,!0);u&&(l=!0,le(o,u))};!s&&t.mixins.length&&t.mixins.forEach(a),e.extends&&a(e.extends),e.mixins&&e.mixins.forEach(a)}return!i&&!l?(U(e)&&n.set(e,null),null):(M(i)?i.forEach(a=>o[a]=null):le(o,i),U(e)&&n.set(e,o),o)}function Ss(e,t){return!e||!hs(t)?!1:(t=t.slice(2).replace(/Once$/,""),H(e,t[0].toLowerCase()+t.slice(1))||H(e,at(t))||H(e,t))}function Rn(e){const{type:t,vnode:s,proxy:n,withProxy:r,propsOptions:[i],slots:o,attrs:l,emit:a,render:p,renderCache:u,props:d,data:_,setupState:A,ctx:N,inheritAttrs:$}=e,X=os(e);let J,O;try{if(s.shapeFlag&4){const y=r||n,K=y;J=Me(p.call(K,y,u,d,A,_,N)),O=l}else{const y=t;J=Me(y.length>1?y(d,{attrs:l,slots:o,emit:a}):y(d,null)),O=t.props?l:$o(l)}}catch(y){Rt.length=0,_s(y,e,1),J=se(Ye)}let w=J;if(O&&$!==!1){const y=Object.keys(O),{shapeFlag:K}=w;y.length&&K&7&&(i&&y.some(gs)&&(O=ko(O,i)),w=xt(w,O,!1,!0))}return s.dirs&&(w=xt(w,null,!1,!0),w.dirs=w.dirs?w.dirs.concat(s.dirs):s.dirs),s.transition&&fn(w,s.transition),J=w,os(X),J}const $o=e=>{let t;for(const s in e)(s==="class"||s==="style"||hs(s))&&((t||(t={}))[s]=e[s]);return t},ko=(e,t)=>{const s={};for(const n in e)(!gs(n)||!(n.slice(9)in t))&&(s[n]=e[n]);return s};function Mo(e,t,s){const{props:n,children:r,component:i}=e,{props:o,children:l,patchFlag:a}=t,p=i.emitsOptions;if(t.dirs||t.transition)return!0;if(s&&a>=0){if(a&1024)return!0;if(a&16)return n?Fn(n,o,p):!!o;if(a&8){const u=t.dynamicProps;for(let d=0;dObject.create(Kr),Wr=e=>Object.getPrototypeOf(e)===Kr;function Fo(e,t,s,n=!1){const r={},i=Ur();e.propsDefaults=Object.create(null),zr(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=B(r),[a]=e.propsOptions;let p=!1;if((n||o>0)&&!(o&16)){if(o&8){const u=e.vnode.dynamicProps;for(let d=0;d{a=!0;const[_,A]=Jr(d,t,!0);le(o,_),A&&l.push(...A)};!s&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}if(!i&&!a)return U(e)&&n.set(e,pt),pt;if(M(i))for(let u=0;ue==="_"||e==="_ctx"||e==="$stable",gn=e=>M(e)?e.map(Me):[Me(e)],No=(e,t,s)=>{if(t._n)return t;const n=Qi((...r)=>gn(t(...r)),s);return n._c=!1,n},Gr=(e,t,s)=>{const n=e._ctx;for(const r in e){if(hn(r))continue;const i=e[r];if(R(i))t[r]=No(r,i,n);else if(i!=null){const o=gn(i);t[r]=()=>o}}},qr=(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)):Gr(t,n)}else t&&qr(e,t)},Lo=(e,t,s)=>{const{vnode:n,slots:r}=e;let i=!0,o=z;if(n.shapeFlag&32){const l=t._;l?s&&l===1?i=!1:Yr(r,t,s):(i=!t.$stable,Gr(t,r)),o=t}else t&&(qr(e,t),o={default:1});if(i)for(const l in r)!hn(l)&&o[l]==null&&delete r[l]},he=Wo;function Bo(e){return Ho(e)}function Ho(e,t){const s=xs();s.__VUE__=!0;const{insert:n,remove:r,patchProp:i,createElement:o,createText:l,createComment:a,setText:p,setElementText:u,parentNode:d,nextSibling:_,setScopeId:A=Fe,insertStaticContent:N}=e,$=(c,f,h,x=null,v=null,m=null,T=void 0,C=null,S=!!f.dynamicChildren)=>{if(c===f)return;c&&!Tt(c,f)&&(x=Zt(c),Pe(c,v,m,!0),c=null),f.patchFlag===-2&&(S=!1,f.dynamicChildren=null);const{type:b,ref:I,shapeFlag:P}=f;switch(b){case Cs:X(c,f,h,x);break;case Ye:J(c,f,h,x);break;case js:c==null&&O(f,h,x,T);break;case ee:Gt(c,f,h,x,v,m,T,C,S);break;default:P&1?K(c,f,h,x,v,m,T,C,S):P&6?qt(c,f,h,x,v,m,T,C,S):(P&64||P&128)&&b.process(c,f,h,x,v,m,T,C,S,wt)}I!=null&&v?$t(I,c&&c.ref,m,f||c,!f):I==null&&c&&c.ref!=null&&$t(c.ref,null,m,c,!0)},X=(c,f,h,x)=>{if(c==null)n(f.el=l(f.children),h,x);else{const v=f.el=c.el;f.children!==c.children&&p(v,f.children)}},J=(c,f,h,x)=>{c==null?n(f.el=a(f.children||""),h,x):f.el=c.el},O=(c,f,h,x)=>{[c.el,c.anchor]=N(c.children,f,h,x,c.el,c.anchor)},w=({el:c,anchor:f},h,x)=>{let v;for(;c&&c!==f;)v=_(c),n(c,h,x),c=v;n(f,h,x)},y=({el:c,anchor:f})=>{let h;for(;c&&c!==f;)h=_(c),r(c),c=h;r(f)},K=(c,f,h,x,v,m,T,C,S)=>{if(f.type==="svg"?T="svg":f.type==="math"&&(T="mathml"),c==null)ye(f,h,x,v,m,T,C,S);else{const b=c.el&&c.el._isVueCE?c.el:null;try{b&&b._beginPatch(),Jt(c,f,v,m,T,C,S)}finally{b&&b._endPatch()}}},ye=(c,f,h,x,v,m,T,C)=>{let S,b;const{props:I,shapeFlag:P,transition:E,dirs:k}=c;if(S=c.el=o(c.type,m,I&&I.is,I),P&8?u(S,c.children):P&16&&Ge(c.children,S,null,x,v,Ds(c,m),T,C),k&&et(c,null,x,"created"),Te(S,c,c.scopeId,T,x),I){for(const W in I)W!=="value"&&!Ot(W)&&i(S,W,null,I[W],m,x);"value"in I&&i(S,"value",null,I.value,m),(b=I.onVnodeBeforeMount)&&Ie(b,x,c)}k&&et(c,null,x,"beforeMount");const V=Ko(v,E);V&&E.beforeEnter(S),n(S,f,h),((b=I&&I.onVnodeMounted)||V||k)&&he(()=>{try{b&&Ie(b,x,c),V&&E.enter(S),k&&et(c,null,x,"mounted")}finally{}},v)},Te=(c,f,h,x,v)=>{if(h&&A(c,h),x)for(let m=0;m{for(let b=S;b{const C=f.el=c.el;let{patchFlag:S,dynamicChildren:b,dirs:I}=f;S|=c.patchFlag&16;const P=c.props||z,E=f.props||z;let k;if(h&&tt(h,!1),(k=E.onVnodeBeforeUpdate)&&Ie(k,h,f,c),I&&et(f,c,h,"beforeUpdate"),h&&tt(h,!0),(P.innerHTML&&E.innerHTML==null||P.textContent&&E.textContent==null)&&u(C,""),b?Ze(c.dynamicChildren,b,C,h,x,Ds(f,v),m):T||G(c,f,C,null,h,x,Ds(f,v),m,!1),S>0){if(S&16)yt(C,P,E,h,v);else if(S&2&&P.class!==E.class&&i(C,"class",null,E.class,v),S&4&&i(C,"style",P.style,E.style,v),S&8){const V=f.dynamicProps;for(let W=0;W{k&&Ie(k,h,f,c),I&&et(f,c,h,"updated")},x)},Ze=(c,f,h,x,v,m,T)=>{for(let C=0;C{if(f!==h){if(f!==z)for(const m in f)!Ot(m)&&!(m in h)&&i(c,m,f[m],null,v,x);for(const m in h){if(Ot(m))continue;const T=h[m],C=f[m];T!==C&&m!=="value"&&i(c,m,C,T,v,x)}"value"in h&&i(c,"value",f.value,h.value,v)}},Gt=(c,f,h,x,v,m,T,C,S)=>{const b=f.el=c?c.el:l(""),I=f.anchor=c?c.anchor:l("");let{patchFlag:P,dynamicChildren:E,slotScopeIds:k}=f;k&&(C=C?C.concat(k):k),c==null?(n(b,h,x),n(I,h,x),Ge(f.children||[],h,I,v,m,T,C,S)):P>0&&P&64&&E&&c.dynamicChildren&&c.dynamicChildren.length===E.length?(Ze(c.dynamicChildren,E,h,v,m,T,C),(f.key!=null||v&&f===v.subTree)&&Zr(c,f,!0)):G(c,f,h,I,v,m,T,C,S)},qt=(c,f,h,x,v,m,T,C,S)=>{f.slotScopeIds=C,c==null?f.shapeFlag&512?v.ctx.activate(f,h,x,T,S):Os(f,h,x,v,m,T,S):mn(c,f,S)},Os=(c,f,h,x,v,m,T)=>{const C=c.component=el(c,x,v);if(Dr(c)&&(C.ctx.renderer=wt),sl(C,!1,T),C.asyncDep){if(v&&v.registerDep(C,ue,T),!c.el){const S=C.subTree=se(Ye);J(null,S,f,h),c.placeholder=S.el}}else ue(C,c,f,h,v,m,T)},mn=(c,f,h)=>{const x=f.component=c.component;if(Mo(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},ue=(c,f,h,x,v,m,T)=>{const C=()=>{if(c.isMounted){let{next:P,bu:E,u:k,parent:V,vnode:W}=c;{const Oe=Xr(c);if(Oe){P&&(P.el=W.el,Z(c,P,T)),Oe.asyncDep.then(()=>{he(()=>{c.isUnmounted||b()},v)});return}}let q=P,te;tt(c,!1),P?(P.el=W.el,Z(c,P,T)):P=W,E&&ts(E),(te=P.props&&P.props.onVnodeBeforeUpdate)&&Ie(te,V,P,W),tt(c,!0);const ne=Rn(c),Ae=c.subTree;c.subTree=ne,$(Ae,ne,d(Ae.el),Zt(Ae),c,v,m),P.el=ne.el,q===null&&Ro(c,ne.el),k&&he(k,v),(te=P.props&&P.props.onVnodeUpdated)&&he(()=>Ie(te,V,P,W),v)}else{let P;const{el:E,props:k}=f,{bm:V,m:W,parent:q,root:te,type:ne}=c,Ae=kt(f);tt(c,!1),V&&ts(V),!Ae&&(P=k&&k.onVnodeBeforeMount)&&Ie(P,q,f),tt(c,!0);{te.ce&&te.ce._hasShadowRoot()&&te.ce._injectChildStyle(ne,c.parent?c.parent.type:void 0);const Oe=c.subTree=Rn(c);$(null,Oe,h,x,c,v,m),f.el=Oe.el}if(W&&he(W,v),!Ae&&(P=k&&k.onVnodeMounted)){const Oe=f;he(()=>Ie(P,q,Oe),v)}(f.shapeFlag&256||q&&kt(q.vnode)&&q.vnode.shapeFlag&256)&&c.a&&he(c.a,v),c.isMounted=!0,f=h=x=null}};c.scope.on();const S=c.effect=new dr(C);c.scope.off();const b=c.update=S.run.bind(S),I=c.job=S.runIfDirty.bind(S);I.i=c,I.id=c.uid,S.scheduler=()=>un(I),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),Ue(),An(c),We()},G=(c,f,h,x,v,m,T,C,S=!1)=>{const b=c&&c.children,I=c?c.shapeFlag:0,P=f.children,{patchFlag:E,shapeFlag:k}=f;if(E>0){if(E&128){Yt(b,P,h,x,v,m,T,C,S);return}else if(E&256){Xe(b,P,h,x,v,m,T,C,S);return}}k&8?(I&16&&_t(b,v,m),P!==b&&u(h,P)):I&16?k&16?Yt(b,P,h,x,v,m,T,C,S):_t(b,v,m,!0):(I&8&&u(h,""),k&16&&Ge(P,h,x,v,m,T,C,S))},Xe=(c,f,h,x,v,m,T,C,S)=>{c=c||pt,f=f||pt;const b=c.length,I=f.length,P=Math.min(b,I);let E;for(E=0;EI?_t(c,v,m,!0,!1,P):Ge(f,h,x,v,m,T,C,S,P)},Yt=(c,f,h,x,v,m,T,C,S)=>{let b=0;const I=f.length;let P=c.length-1,E=I-1;for(;b<=P&&b<=E;){const k=c[b],V=f[b]=S?Be(f[b]):Me(f[b]);if(Tt(k,V))$(k,V,h,null,v,m,T,C,S);else break;b++}for(;b<=P&&b<=E;){const k=c[P],V=f[E]=S?Be(f[E]):Me(f[E]);if(Tt(k,V))$(k,V,h,null,v,m,T,C,S);else break;P--,E--}if(b>P){if(b<=E){const k=E+1,V=kE)for(;b<=P;)Pe(c[b],v,m,!0),b++;else{const k=b,V=b,W=new Map;for(b=V;b<=E;b++){const ge=f[b]=S?Be(f[b]):Me(f[b]);ge.key!=null&&W.set(ge.key,b)}let q,te=0;const ne=E-V+1;let Ae=!1,Oe=0;const St=new Array(ne);for(b=0;b=ne){Pe(ge,v,m,!0);continue}let Ee;if(ge.key!=null)Ee=W.get(ge.key);else for(q=V;q<=E;q++)if(St[q-V]===0&&Tt(ge,f[q])){Ee=q;break}Ee===void 0?Pe(ge,v,m,!0):(St[Ee-V]=b+1,Ee>=Oe?Oe=Ee:Ae=!0,$(ge,f[Ee],h,null,v,m,T,C,S),te++)}const yn=Ae?Uo(St):pt;for(q=yn.length-1,b=ne-1;b>=0;b--){const ge=V+b,Ee=f[ge],_n=f[ge+1],wn=ge+1{const{el:m,type:T,transition:C,children:S,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){T.move(c,f,h,wt);return}if(T===ee){n(m,f,h);for(let P=0;PC.enter(m),v);else{const{leave:P,delayLeave:E,afterLeave:k}=C,V=()=>{c.ctx.isUnmounted?r(m):n(m,f,h)},W=()=>{m._isLeaving&&m[oo](!0),P(m,()=>{V(),k&&k()})};E?E(m,V,W):W()}else n(m,f,h)},Pe=(c,f,h,x=!1,v=!1)=>{const{type:m,props:T,ref:C,children:S,dynamicChildren:b,shapeFlag:I,patchFlag:P,dirs:E,cacheIndex:k,memo:V}=c;if(P===-2&&(v=!1),C!=null&&(Ue(),$t(C,null,h,c,!0),We()),k!=null&&(f.renderCache[k]=void 0),I&256){f.ctx.deactivate(c);return}const W=I&1&&E,q=!kt(c);let te;if(q&&(te=T&&T.onVnodeBeforeUnmount)&&Ie(te,f,c),I&6)ci(c.component,h,x);else{if(I&128){c.suspense.unmount(h,x);return}W&&et(c,null,f,"beforeUnmount"),I&64?c.type.remove(c,f,h,wt,x):b&&!b.hasOnce&&(m!==ee||P>0&&P&64)?_t(b,f,h,!1,!0):(m===ee&&P&384||!v&&I&16)&&_t(S,f,h),x&&bn(c)}const ne=V!=null&&k==null;(q&&(te=T&&T.onVnodeUnmounted)||W||ne)&&he(()=>{te&&Ie(te,f,c),W&&et(c,null,f,"unmounted"),ne&&(c.el=null)},h)},bn=c=>{const{type:f,el:h,anchor:x,transition:v}=c;if(f===ee){li(h,x);return}if(f===js){y(c);return}const m=()=>{r(h),v&&!v.persisted&&v.afterLeave&&v.afterLeave()};if(c.shapeFlag&1&&v&&!v.persisted){const{leave:T,delayLeave:C}=v,S=()=>T(h,m);C?C(c.el,m,S):S()}else m()},li=(c,f)=>{let h;for(;c!==f;)h=_(c),r(c),c=h;r(f)},ci=(c,f,h)=>{const{bum:x,scope:v,job:m,subTree:T,um:C,m:S,a:b}=c;jn(S),jn(b),x&&ts(x),v.stop(),m&&(m.flags|=8,Pe(T,c,f,h)),C&&he(C,f),he(()=>{c.isUnmounted=!0},f)},_t=(c,f,h,x=!1,v=!1,m=0)=>{for(let T=m;T{if(c.shapeFlag&6)return Zt(c.component.subTree);if(c.shapeFlag&128)return c.suspense.next();const f=_(c.anchor||c.el),h=f&&f[ro];return h?_(h):f};let Es=!1;const xn=(c,f,h)=>{let x;c==null?f._vnode&&(Pe(f._vnode,null,null,!0),x=f._vnode.component):$(f._vnode||null,c,f,null,null,null,h),f._vnode=c,Es||(Es=!0,An(x),Ir(),Es=!1)},wt={p:$,um:Pe,m:Qe,r:bn,mt:Os,mc:Ge,pc:G,pbc:Ze,n:Zt,o:e};return{render:xn,hydrate:void 0,createApp:Ao(xn)}}function Ds({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(M(n)&&M(r))for(let i=0;i>1,e[s[l]]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;te.__isSuspense;function Wo(e,t){t&&t.pendingBranch?M(e)?t.effects.push(...e):t.effects.push(e):Xi(e)}const ee=Symbol.for("v-fgt"),Cs=Symbol.for("v-txt"),Ye=Symbol.for("v-cmt"),js=Symbol.for("v-stc"),Rt=[];let ve=null;function F(e=!1){Rt.push(ve=e?null:[])}function zo(){Rt.pop(),ve=Rt[Rt.length-1]||null}let Bt=1;function Nn(e,t=!1){Bt+=e,e<0&&ve&&t&&(ve.hasOnce=!0)}function ti(e){return e.dynamicChildren=Bt>0?ve||pt:null,zo(),Bt>0&&ve&&ve.push(e),e}function j(e,t,s,n,r,i){return ti(g(e,t,s,n,r,i,!0))}function Jo(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,ns=({ref:e,ref_key:t,ref_for:s})=>(typeof e=="number"&&(e=""+e),e!=null?Q(e)||ae(e)||R(e)?{i:be,r:e,k:t,f:!!s}:e:null);function g(e,t=null,s=null,n=0,r=null,i=e===ee?0:1,o=!1,l=!1){const a={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&ni(t),ref:t&&ns(t),scopeId:kr,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:be};return l?(vn(a,s),i&128&&e.normalize(a)):s&&(a.shapeFlag|=Q(s)?8:16),Bt>0&&!o&&ve&&(a.patchFlag>0||i&6)&&a.patchFlag!==32&&ve.push(a),a}const se=Go;function Go(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&&vn(l,s),Bt>0&&!i&&ve&&(l.shapeFlag&6?ve[ve.indexOf(e)]=l:ve.push(l)),l.patchFlag=-2,l}if(ol(e)&&(e=e.__vccOpts),t){t=qo(t);let{class:l,style:a}=t;l&&!Q(l)&&(t.class=De(l)),U(a)&&(an(a)&&!M(a)&&(a=le({},a)),t.style=Dt(a))}const o=Q(e)?1:ei(e)?128:io(e)?64:U(e)?4:R(e)?2:0;return g(e,t,s,n,r,o,i,!0)}function qo(e){return e?an(e)||Wr(e)?le({},e):e:null}function xt(e,t,s=!1,n=!1){const{props:r,ref:i,patchFlag:o,children:l,transition:a}=e,p=t?Zo(r||{},t):r,u={__v_isVNode:!0,__v_skip:!0,type:e.type,props:p,key:p&&ni(p),ref:t&&t.ref?s&&i?M(i)?i.concat(ns(t)):[i,ns(t)]:ns(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!==ee?o===-1?16:o|16:o,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:a,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&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 a&&n&&fn(u,a.clone(u)),u}function Yo(e=" ",t=0){return se(Cs,null,e,t)}function me(e="",t=!1){return t?(F(),Jo(Ye,null,e)):se(Ye,null,e)}function Me(e){return e==null||typeof e=="boolean"?se(Ye):M(e)?se(ee,null,e.slice()):si(e)?Be(e):se(Cs,null,String(e))}function Be(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:xt(e)}function vn(e,t){let s=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(M(t))s=16;else if(typeof t=="object")if(n&65){const r=t.default;r&&(r._c&&(r._d=!1),vn(e,r()),r._c&&(r._d=!0));return}else{s=32;const r=t._;!r&&!Wr(t)?t._ctx=be:r===3&&be&&(be.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else R(t)?(t={default:t,_ctx:be},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;spe||be;let as,qs;{const e=xs(),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)}};as=t("__VUE_INSTANCE_SETTERS__",s=>pe=s),qs=t("__VUE_SSR_SETTERS__",s=>Ht=s)}const zt=e=>{const t=pe;return as(e),e.scope.on(),()=>{e.scope.off(),as(t)}},Vn=()=>{pe&&pe.scope.off(),as(null)};function ri(e){return e.vnode.shapeFlag&4}let Ht=!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){Ue();const r=e.setupContext=n.length>1?il(e):null,i=zt(e),o=Wt(n,e,0,[e.props,r]),l=rr(o);if(We(),i(),(l||e.sp)&&!kt(e)&&Fr(e),l){if(o.then(Vn,Vn),t)return o.then(a=>{Ln(e,a)}).catch(a=>{_s(a,e,0)});e.asyncDep=o}else Ln(e,o)}else ii(e)}function Ln(e,t,s){R(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||Fe);{const r=zt(e);Ue();try{_o(e)}finally{We(),r()}}}const rl={get(e,t){return ce(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 Ts(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 Mt)return Mt[s](e)},has(t,s){return s in t||s in Mt}})):e.proxy}function ol(e){return R(e)&&"__vccOpts"in e}const us=(e,t)=>Ji(e,t,Ht),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"?``:n==="mathml"?``: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;rNs||(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;rString(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{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");
-
+**/let Ys;const Bn=typeof window<"u"&&window.trustedTypes;if(Bn)try{Ys=Bn.createPolicy("vue",{createHTML:e=>e})}catch{}const oi=Ys?e=>Ys.createHTML(e):e=>e,cl="http://www.w3.org/2000/svg",al="http://www.w3.org/1998/Math/MathML",Le=typeof document<"u"?document:null,Hn=Le&&Le.createElement("template"),ul={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"?Le.createElementNS(cl,e):t==="mathml"?Le.createElementNS(al,e):s?Le.createElement(e,{is:s}):Le.createElement(e);return e==="select"&&n&&n.multiple!=null&&r.setAttribute("multiple",n.multiple),r},createText:e=>Le.createTextNode(e),createComment:e=>Le.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Le.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"?``:n==="mathml"?``:e);const l=Hn.content;if(n==="svg"||n==="mathml"){const a=l.firstChild;for(;a.firstChild;)l.appendChild(a.firstChild);l.removeChild(a)}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 vl(e,t,s){const n=e.style,r=Q(s);let i=!1;if(s&&!r){if(t)if(Q(t))for(const o of t.split(";")){const l=o.slice(0,o.indexOf(":")).trim();s[l]==null&&At(n,l,"")}else for(const o in t)s[o]==null&&At(n,o,"");for(const o in s){o==="display"&&(i=!0);const l=s[o];l!=null?bl(e,o,!Q(t)&&t?t[o]:void 0,l)||At(n,o,l):At(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 At(e,t,s){if(M(s))s.forEach(n=>At(e,t,n));else if(s==null&&(s=""),t.startsWith("--"))e.setProperty(t,s);else{const n=ml(e,t);Un.test(s)?e.setProperty(at(n),s.replace(Un,""),"important"):e[n]=s}}const Wn=["Webkit","Moz","ms"],Ns={};function ml(e,t){const s=Ns[t];if(s)return s;let n=we(t);if(n!=="filter"&&n in e)return Ns[t]=n;n=lr(n);for(let r=0;rVs||(wl.then(()=>Vs=0),Vs=Date.now());function Cl(e,t){const s=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=s.attached)return;Ne(Tl(n,s.value),t,5,[n])};return s.value=e,s.attached=Sl(),s}function Tl(e,t){if(M(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"?vl(e,s,n):hs(t)?gs(t)||yl(e,t,s,n,i):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):Al(e,t,n,o))?(Gn(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&Jn(e,t,n,o,i,t!=="value")):e._isVueCE&&(Ol(e,t)||e._def.__asyncLoader&&(/[A-Z]/.test(t)||!Q(n)))?Gn(e,we(t),n,i,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),Jn(e,t,n,o))};function Al(e,t,s,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&Zn(t)&&R(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)&&Q(s)?!1:t in e}function Ol(e,t){const s=e._def.props;if(!s)return!1;const n=we(t);return Array.isArray(s)?s.some(r=>we(r)===n):Object.keys(s).some(r=>we(r)===n)}const fs=e=>{const t=e.props["onUpdate:modelValue"]||!1;return M(t)?s=>ts(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 mt=Symbol("_assign");function Qn(e,t,s){return t&&(e=e.trim()),s&&(e=bs(e)),e}const Zs={created(e,{modifiers:{lazy:t,trim:s,number:n}},r){e[mt]=fs(r);const i=n||r.props&&r.props.type==="number";nt(e,t?"change":"input",o=>{o.target.composing||e[mt](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[mt]=fs(o),e.composing)return;const l=(i||e.type==="number")&&!/^0\d/.test(e.value)?bs(e.value):e.value,a=t??"";if(l===a)return;const p=e.getRootNode();(p instanceof Document||p instanceof ShadowRoot)&&p.activeElement===e&&e.type!=="range"&&(n&&t===s||r&&e.value.trim()===a)||(e.value=a)}},Ps={deep:!0,created(e,{value:t,modifiers:{number:s}},n){const r=vs(t);nt(e,"change",()=>{const i=Array.prototype.filter.call(e.options,o=>o.selected).map(o=>s?bs(ds(o)):ds(o));e[mt](e.multiple?r?new Set(i):i:i[0]),e._assigning=!0,Or(()=>{e._assigning=!1})}),e[mt]=fs(n)},mounted(e,{value:t}){er(e,t)},beforeUpdate(e,t,s){e[mt]=fs(s)},updated(e,{value:t}){e._assigning||er(e,t)}};function er(e,t){const s=e.multiple,n=M(t);if(!(s&&!n&&!vs(t))){for(let r=0,i=e.options.length;rString(p)===String(l)):o.selected=yi(t,l)>-1}else o.selected=t.has(l);else if(Ut(ds(o),t)){e.selectedIndex!==r&&(e.selectedIndex=r);return}}!s&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function ds(e){return"_value"in e?e._value:e.value}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))},Xs=(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{const t=Ml().createApp(...e),{mount:s}=t;return t.mount=n=>{const r=Dl(n);if(!r)return;const i=t._component;!R(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 Q(e)?document.querySelector(e):e}const L=window,D={loadAllSettings:()=>L.loadAllSettings(),saveToggles:e=>L.saveToggles(JSON.stringify(e)),saveLayout:e=>L.saveLayout(e),saveZodiac:e=>L.saveZodiac(e),saveCity:e=>L.saveCity(e),saveWallpaperType:(e,t)=>L.saveWallpaperType(e,t),pickLocalImage:()=>L.pickLocalImage(),enableBing:()=>L.enableBing(),bingPrev:()=>L.bingPrev(),bingNext:()=>L.bingNext(),bingToggleFavorite:()=>L.bingToggleFavorite(),getBingInfo:()=>L.getBingInfo(),saveBingAutoRefresh:e=>L.saveBingAutoRefresh(e),getBingFavorites:()=>L.getBingFavorites(),bingSetByIdx:e=>L.bingSetByIdx(e),bingThumbDataURI:e=>L.bingThumbDataURI(e),pickSolidColor:()=>L.pickSolidColor(),pickGradientColor:()=>L.pickGradientColor(),addSavedColor:(e,t,s)=>L.addSavedColor(e,t,s),removeSavedColor:e=>L.removeSavedColor(e),applySavedColor:e=>L.applySavedColor(e),saveWallpaperText:e=>L.saveWallpaperText(e),saveKnowledgeKeyword:e=>L.saveKnowledgeKeyword(e),saveKnowledgePrompt:e=>L.saveKnowledgePrompt(e),pickPhotoDir:()=>L.pickPhotoDir(),clearPhotoDir:()=>L.clearPhotoDir(),savePhotoInterval:e=>L.savePhotoInterval(e),resizeToFit:(e,t)=>e.resizeToFit(e,t),saveAudioVizStyle:e=>L.saveAudioVizStyle(e),saveAudioSensitivity:e=>L.saveAudioSensitivity(e),saveAudioSmoothing:e=>L.saveAudioSmoothing(e),saveAudioColorScheme:e=>L.saveAudioColorScheme(e)},jl={class:"switch"},Nl=["checked"],Vl=ut({__name:"ToggleSwitch",props:{modelValue:{type:Boolean}},emits:["update:modelValue"],setup(e){return(t,s)=>(F(),j("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))]))}}),As=(e,t)=>{const s=e.__vccOpts||e;for(const[n,r]of t)s[n]=r;return s},ps=As(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=ut({__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];D.saveToggles(r)}),(r,i)=>(F(),j("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,[(F(),j(ee,null,_e(s,o=>g("div",{key:o.key,class:De(["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,oe(o.label),1),o.desc?(F(),j("div",Kl,oe(o.desc),1)):me("",!0)]),se(ps,{modelValue:e.s[o.key],"onUpdate:modelValue":l=>e.s[o.key]=l},null,8,["modelValue","onUpdate:modelValue"])],2)),64))])]))}}),sr=new Map;function Ft(e,t,s,n=500){clearTimeout(sr.get(e)),sr.set(e,setTimeout(()=>t(s),n))}const Wl={class:"mb-3"},zl={class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg"},Jl={class:"flex justify-between items-center px-3.5 py-2"},Gl={class:"flex gap-1"},ql=["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={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},tc={class:"flex gap-1"},sc=["onClick"],nc={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},rc={class:"flex gap-1"},ic=["onClick"],oc={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},lc=["value"],cc={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},ac=["value"],uc={key:1,class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg mt-1.5"},fc={class:"flex justify-between items-center px-3.5 py-2"},dc={class:"text-[10px] text-[var(--text-weak)] truncate mr-2"},pc={key:2,class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg mt-1.5"},hc={class:"flex justify-between items-center px-3.5 py-2"},gc={class:"flex items-center gap-2 min-w-0"},vc=["src"],mc={class:"min-w-0"},bc={class:"text-xs font-medium text-[var(--text-muted)] truncate"},xc={class:"text-[10px] text-[var(--text-weak)]"},yc={class:"flex gap-1 flex-shrink-0"},_c={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},wc={key:0,class:"px-3.5 py-2 border-t border-[var(--card-divider)]"},Sc={class:"grid grid-cols-4 gap-1.5"},Cc=["onClick"],Tc=["src"],Pc={key:3,class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg mt-1.5"},Ac={class:"flex justify-between items-center px-3.5 py-2"},Oc={class:"flex gap-1"},Ec={key:0,class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},Ic={class:"flex items-center gap-1.5"},$c={key:4,class:"flex flex-wrap gap-1.5 mt-1.5 px-0.5"},kc=["onClick","onContextmenu"],Mc=ut({__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=[{value:"bars",label:"柱状"},{value:"waveform",label:"波形"},{value:"circular",label:"环形"}],r=[{value:"neon",label:"霓虹"},{value:"ocean",label:"海洋"},{value:"fire",label:"火焰"},{value:"rainbow",label:"彩虹"}],i=ot({date:"",title:"",copyright:"",url:"",fav:!1,idx:0,total:0}),o=ot(""),l=ot([]);async function a(){const O=await D.getBingInfo(),w=JSON.parse(O);if(i.value=w,w.url){const y=w.url.replace("_1920x1080","_400x240");o.value=y!==w.url?y:await D.bingThumbDataURI(w.url.split("/").pop()||"")}}async function p(){i.value=JSON.parse(await D.bingPrev())}async function u(){i.value=JSON.parse(await D.bingNext())}async function d(){i.value=JSON.parse(await D.bingToggleFavorite()),await A()}async function _(O){i.value=JSON.parse(await D.bingSetByIdx(O))}async function A(){const O=await D.getBingFavorites(),w=JSON.parse(O);l.value=await Promise.all(w.map(async y=>({idx:parseInt(y.match(/(\d+)/)?.[1]||"0",10),thumb:await D.bingThumbDataURI(y)})))}ct(()=>t.s.bingAutoRefresh,O=>D.saveBingAutoRefresh(O)),ct(()=>t.s.wallpaperType,O=>{O==="bing"&&(a(),A())},{immediate:!0});async function N(){const O=await D.pickLocalImage();O&&(t.s.imagePath=O)}function $(O,w,y){return{background:y&&w?`linear-gradient(135deg,${O},${w})`:O}}const X=us(()=>t.currentColor.c1?$(t.currentColor.c1,t.currentColor.c2,t.currentColor.gradient):{});function J(O){return $(O.color1,O.color2,O.gradient)}return(O,w)=>(F(),j("div",Wl,[w[22]||(w[22]=g("div",{class:"text-[10px] font-semibold text-[var(--text-weak)] uppercase tracking-[1.5px] mb-1 pl-0.5"},"壁纸",-1)),g("div",zl,[g("div",Jl,[w[10]||(w[10]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"类型选择",-1)),g("div",Gl,[(F(),j(ee,null,_e(s,y=>g("button",{key:y.value,onClick:K=>O.$emit("set-wp-type",y.value),class:De([e.s.wallpaperType===y.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"])},oe(y.label),11,ql)),64))])])]),e.s.wallpaperType==="theme"?(F(),j("div",Yl,[g("div",Zl,[w[11]||(w[11]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"选择主题",-1)),lt(g("select",{"onUpdate:modelValue":w[0]||(w[0]=y=>e.s.theme=y),onChange:w[1]||(w[1]=y=>ie(D).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)]"},[(F(!0),j(ee,null,_e(e.s.themes,y=>(F(),j("option",{key:y.value,value:y.value},oe(y.label),9,Xl))),128))],544),[[Ps,e.s.theme]])]),e.s.theme==="text"?(F(),j("div",Ql,[w[12]||(w[12]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"自定义文字",-1)),lt(g("input",{type:"text","onUpdate:modelValue":w[2]||(w[2]=y=>e.s.wallpaperText=y),onInput:w[3]||(w[3]=y=>ie(Ft)("wt",ie(D).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),[[Zs,e.s.wallpaperText]])])):me("",!0),e.s.theme==="audio-viz"?(F(),j(ee,{key:1},[g("div",ec,[w[13]||(w[13]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"可视化样式",-1)),g("div",tc,[(F(),j(ee,null,_e(n,y=>g("button",{key:y.value,onClick:K=>{e.s.audioVizStyle=y.value,ie(D).saveAudioVizStyle(y.value)},class:De([e.s.audioVizStyle===y.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-0.5 px-2 font-[inherit] cursor-pointer transition-colors"])},oe(y.label),11,sc)),64))])]),g("div",nc,[w[14]||(w[14]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"配色方案",-1)),g("div",rc,[(F(),j(ee,null,_e(r,y=>g("button",{key:y.value,onClick:K=>{e.s.audioColorScheme=y.value,ie(D).saveAudioColorScheme(y.value)},class:De([e.s.audioColorScheme===y.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-0.5 px-2 font-[inherit] cursor-pointer transition-colors"])},oe(y.label),11,ic)),64))])]),g("div",oc,[w[15]||(w[15]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"灵敏度",-1)),g("input",{type:"range",min:"0.5",max:"3",step:"0.1",value:e.s.audioSensitivity,onInput:w[4]||(w[4]=y=>{e.s.audioSensitivity=+y.target.value,ie(Ft)("as",ie(D).saveAudioSensitivity,e.s.audioSensitivity)}),class:"w-[100px]"},null,40,lc)]),g("div",cc,[w[16]||(w[16]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"平滑度",-1)),g("input",{type:"range",min:"0",max:"0.95",step:"0.05",value:e.s.audioSmoothing,onInput:w[5]||(w[5]=y=>{e.s.audioSmoothing=+y.target.value,ie(Ft)("am",ie(D).saveAudioSmoothing,e.s.audioSmoothing)}),class:"w-[100px]"},null,40,ac)])],64)):me("",!0)])):me("",!0),e.s.wallpaperType==="image"?(F(),j("div",uc,[g("div",fc,[g("div",dc,oe(e.s.imagePath||"未选择图片"),1),g("button",{class:"btn",onClick:N},"选择图片")])])):me("",!0),e.s.wallpaperType==="bing"?(F(),j("div",pc,[g("div",hc,[g("div",gc,[i.value.url?(F(),j("img",{key:0,src:o.value,class:"w-16 h-10 object-cover rounded flex-shrink-0"},null,8,vc)):me("",!0),g("div",mc,[g("div",bc,oe(i.value.copyright||"Bing 每日壁纸"),1),g("div",xc,oe(i.value.idx>0?`${i.value.idx} / ${i.value.total}`:""),1)])]),g("div",yc,[g("button",{class:"btn-sm",onClick:p},"◀"),g("button",{class:"btn-sm",onClick:u},"▶"),g("button",{class:"btn-sm",onClick:d},oe(i.value.fav?"★":"☆"),1)])]),g("div",_c,[w[17]||(w[17]=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(ps,{modelValue:e.s.bingAutoRefresh,"onUpdate:modelValue":w[6]||(w[6]=y=>e.s.bingAutoRefresh=y)},null,8,["modelValue"])]),l.value.length?(F(),j("div",wc,[w[18]||(w[18]=g("div",{class:"text-[10px] text-[var(--text-weak)] mb-1.5"},"收藏列表",-1)),g("div",Sc,[(F(!0),j(ee,null,_e(l.value,(y,K)=>(F(),j("div",{key:K,class:"cursor-pointer rounded overflow-hidden hover:opacity-80",onClick:ye=>_(y.idx)},[g("img",{src:y.thumb,class:"w-full h-10 object-cover rounded"},null,8,Tc)],8,Cc))),128))])])):me("",!0)])):me("",!0),e.s.wallpaperType==="color"?(F(),j("div",Pc,[g("div",Ac,[w[19]||(w[19]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"选择颜色",-1)),g("div",Oc,[g("button",{class:"btn",onClick:w[7]||(w[7]=y=>O.$emit("pick-solid"))},"纯色"),g("button",{class:"btn",onClick:w[8]||(w[8]=y=>O.$emit("pick-gradient"))},"渐变")])]),e.currentColor.c1?(F(),j("div",Ec,[g("div",Ic,[g("span",{class:"inline-block w-6 h-4 rounded-sm border border-[var(--input-border)]",style:Dt(X.value)},null,4),w[20]||(w[20]=g("span",{class:"text-[10px] text-[var(--text-weak)]"},"当前颜色",-1))]),g("button",{class:"btn",onClick:w[9]||(w[9]=y=>O.$emit("save-color"))},"收藏")])):me("",!0)])):me("",!0),e.s.savedColors.length&&e.s.wallpaperType==="color"?(F(),j("div",$c,[(F(!0),j(ee,null,_e(e.s.savedColors,(y,K)=>(F(),j("div",{key:K,class:"color-swatch",style:Dt(J(y)),onClick:ye=>O.$emit("apply-color",K),onContextmenu:Xs(ye=>O.$emit("remove-color",K),["prevent"])},[...w[21]||(w[21]=[g("span",{class:"del"},"×",-1)])],44,kc))),128))])):me("",!0)]))}}),Rc=As(Mc,[["__scopeId","data-v-94c5f6a1"]]),Fc={class:"mb-3"},Dc={class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg"},jc={class:"flex justify-between items-center px-3.5 py-2"},Nc=ut({__name:"LayoutSection",props:{s:{}},setup(e){return(t,s)=>(F(),j("div",Fc,[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",Dc,[g("div",jc,[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=>ie(D).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),[[Ps,e.s.layout]])])])]))}}),Vc={class:"mb-3"},Lc={class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg"},Bc={class:"flex justify-between items-center px-3.5 py-2"},Hc={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},Kc={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},Uc={class:"text-[10px] text-[var(--text-weak)]"},Wc={class:"flex gap-1"},zc={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},Jc=["value"],Gc=ut({__name:"PhotoSection",props:{s:{}},setup(e){const t=e;ct(()=>[t.s.photoCard,t.s.photoFrameMode],([r,i])=>{D.saveToggles({photoCard:r,photoFrameMode:i})});async function s(){const r=await D.pickPhotoDir();r&&(t.s.photoDir=r)}async function n(){await D.clearPhotoDir(),t.s.photoDir=""}return(r,i)=>(F(),j("div",Vc,[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",Lc,[g("div",Bc,[i[4]||(i[4]=g("div",null,[g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"相册展示")],-1)),se(ps,{modelValue:e.s.photoCard,"onUpdate:modelValue":i[0]||(i[0]=o=>e.s.photoCard=o)},null,8,["modelValue"])]),g("div",Hc,[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(ps,{modelValue:e.s.photoFrameMode,"onUpdate:modelValue":i[1]||(i[1]=o=>e.s.photoFrameMode=o)},null,8,["modelValue"])]),g("div",Kc,[g("div",Uc,oe(e.s.photoDir||"未选择目录"),1),g("div",Wc,[g("button",{class:"btn",onClick:s},"选择目录"),e.s.photoDir?(F(),j("button",{key:0,class:"btn-sm",onClick:n},"清除")):me("",!0)])]),g("div",zc,[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=>ie(D).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)]"},[(F(),j(ee,null,_e([5,10,15,20,30,60],o=>g("option",{key:o,value:o},oe(o)+" 秒",9,Jc)),64))],544),[[Ps,e.s.photoInterval]])])])]))}}),qc=As(Gc,[["__scopeId","data-v-bb86a692"]]),Yc={class:"mb-3"},Zc={class:"bg-[var(--card-bg)] border border-[var(--card-border)] rounded-lg"},Xc={class:"flex justify-between items-center px-3.5 py-2"},Qc=["value"],ea={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},ta={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)]"},sa={class:"flex justify-between items-center px-3.5 py-2 border-t border-[var(--card-divider)] relative"},na={class:"text-[var(--text)] text-[11px]"},ra={class:"city-panel"},ia={class:"city-col"},oa=["onClick"],la={class:"city-col"},ca=["onClick"],aa=ut({__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 a(u){t.s.city=u.id,i.value=u.name,n.value=!1,D.saveCity(u.id)}function p(u){const d=document.querySelector(".city-picker");d&&!d.contains(u.target)&&(n.value=!1)}return dn(()=>{document.addEventListener("click",p);const u=Object.entries(t.s.citiesByProv);for(const[d,_]of u){const A=_.find(N=>N.id===t.s.city);if(A){r.value=d,i.value=A.name;break}}}),pn(()=>document.removeEventListener("click",p)),(u,d)=>(F(),j("div",Yc,[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",Zc,[g("div",Xc,[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]=_=>e.s.zodiac=_),onChange:d[1]||(d[1]=_=>ie(D).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)]"},[(F(),j(ee,null,_e(s,_=>g("option",{key:_,value:_},oe(_),9,Qc)),64))],544),[[Ps,e.s.zodiac]])]),g("div",ea,[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]=_=>e.s.knowledgeKeyword=_),onInput:d[3]||(d[3]=_=>ie(Ft)("kw",ie(D).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),[[Zs,e.s.knowledgeKeyword]])]),g("div",ta,[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]=_=>e.s.knowledgePrompt=_),onInput:d[5]||(d[5]=_=>ie(Ft)("kp",ie(D).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),[[Zs,e.s.knowledgePrompt]])]),g("div",sa,[d[11]||(d[11]=g("div",{class:"text-xs font-medium text-[var(--text-muted)]"},"天气城市",-1)),g("div",{class:De(["city-picker",{open:n.value}]),tabindex:"0",onClick:d[6]||(d[6]=_=>n.value=!n.value)},[g("span",na,oe(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",ra,[g("div",ia,[(F(!0),j(ee,null,_e(e.s.provinces,_=>(F(),j("div",{key:_,class:De({active:_===r.value}),onClick:Xs(A=>r.value=_,["stop"])},oe(_),11,oa))),128))]),g("div",la,[(F(!0),j(ee,null,_e(o.value,_=>(F(),j("div",{key:_.id,class:De({active:_.id===e.s.city}),onClick:Xs(A=>a(_),["stop"])},oe(_.name),11,ca))),128))])])],2)])])]))}}),ua=As(aa,[["__scopeId","data-v-1a50093a"]]),fa={class:"p-4 select-none overflow-y-auto"},da=ut({__name:"App",setup(e){const t=ot(!1),s=Vt({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,audioVizStyle:"bars",audioSensitivity:1.5,audioSmoothing:.7,audioColorScheme:"neon"}),n=Vt({c1:"",c2:"",gradient:!1});function r(u){const d=s.wallpaperType;s.wallpaperType=u,t.value&&(u==="theme"?D.saveWallpaperType("theme",s.theme):u==="bing"&&d!=="bing"&&D.enableBing())}async function i(){const u=await D.pickSolidColor();u&&(n.c1=u,n.c2="",n.gradient=!1)}async function o(){const u=await D.pickGradientColor();if(u){const d=u.split(",");n.c1=d[0],n.c2=d[1]||"",n.gradient=!0}}function l(){n.c1&&(D.addSavedColor(n.c1,n.c2,n.gradient),s.savedColors.push({color1:n.c1,color2:n.c2,gradient:n.gradient}))}function a(u){D.applySavedColor(u);const d=s.savedColors[u];n.c1=d.color1,n.c2=d.color2,n.gradient=d.gradient}async function p(u){await D.removeSavedColor(u),s.savedColors.splice(u,1)}return dn(async()=>{const u=await D.loadAllSettings(),d=JSON.parse(u);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 _=document.documentElement;D.resizeToFit&&D.resizeToFit(_.scrollWidth,_.scrollHeight+8)},100),t.value=!0}),(u,d)=>(F(),j("div",fa,[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(Rc,{s,onSetWpType:r,"current-color":n,onPickSolid:i,onPickGradient:o,onSaveColor:l,onApplyColor:a,onRemoveColor:p},null,8,["s","current-color"]),se(Nc,{s},null,8,["s"]),se(qc,{s},null,8,["s"]),se(ua,{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))]))}});Rl(da).mount("#app");
+
diff --git a/web/themes/audio-viz.html b/web/themes/audio-viz.html
new file mode 100644
index 0000000..e4a7a4b
--- /dev/null
+++ b/web/themes/audio-viz.html
@@ -0,0 +1,262 @@
+
+