@admin-core/design 0.2.0 → 0.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (38) hide show
  1. package/README.en.md +698 -0
  2. package/README.md +574 -181
  3. package/dist/index.cjs +4 -4
  4. package/dist/index.cjs.map +1 -1
  5. package/dist/index.js +1142 -877
  6. package/dist/index.js.map +1 -1
  7. package/dist/index.umd.js +4 -4
  8. package/dist/index.umd.js.map +1 -1
  9. package/dist/theme/constants.d.ts +5 -0
  10. package/dist/theme/constants.d.ts.map +1 -1
  11. package/dist/theme/i18n/en-US.d.ts +3 -0
  12. package/dist/theme/i18n/en-US.d.ts.map +1 -0
  13. package/dist/theme/i18n/index.d.ts +34 -0
  14. package/dist/theme/i18n/index.d.ts.map +1 -0
  15. package/dist/theme/i18n/zh-CN.d.ts +69 -0
  16. package/dist/theme/i18n/zh-CN.d.ts.map +1 -0
  17. package/dist/theme/index.d.ts +4 -2
  18. package/dist/theme/index.d.ts.map +1 -1
  19. package/dist/theme/integration.d.ts +124 -0
  20. package/dist/theme/integration.d.ts.map +1 -0
  21. package/dist/theme/utils.d.ts +1 -1
  22. package/dist/theme/utils.d.ts.map +1 -1
  23. package/package.json +18 -11
  24. package/src/css/base.css +145 -0
  25. package/src/css/components.css +96 -0
  26. package/src/css/index.css +21 -0
  27. package/src/css/integrations/ant-design-vue.css +64 -0
  28. package/src/css/integrations/arco-design.css +62 -0
  29. package/src/css/integrations/element-plus.css +157 -0
  30. package/src/css/integrations/index.css +17 -0
  31. package/src/css/integrations/naive-ui.css +60 -0
  32. package/src/css/nprogress.css +74 -0
  33. package/src/css/transition.css +256 -0
  34. package/src/css/ui.css +117 -0
  35. package/src/css/utilities.css +138 -0
  36. package/src/tokens/dark.css +406 -0
  37. package/src/tokens/index.ts +6 -0
  38. package/src/tokens/light.css +297 -0
package/dist/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Pe="light",pe="default",B={MODE:"theme-mode",VARIANT:"theme-variant"},X={DARK:"dark",LIGHT:"light"},he={THEME:"data-theme",MODE:"data-mode"},Ve=300,ee=[{id:"default",name:"经典蓝",icon:"🔵",description:"经典的蓝色主题,适合大多数场景",primaryColor:"hsl(212, 100%, 48%)",category:"colorful",isDefault:!0},{id:"slate",name:"石板灰",icon:"🔘",description:"石板色主题,沉稳内敛",primaryColor:"hsl(215, 20%, 40%)",category:"neutral"},{id:"burnished-lilac",name:"烟熏薰衣草",icon:"🪻",description:"2026流行色 - 优雅的薰衣草紫,展现高贵气质",primaryColor:"hsl(280, 35%, 65%)",category:"colorful"},{id:"teaberry",name:"茶莓红",icon:"🌹",description:"2026流行色 - 浪漫的茶莓色,充满活力",primaryColor:"hsl(345, 75%, 55%)",category:"colorful"},{id:"amaranth",name:"苋菜紫",icon:"💜",description:"2026流行色 - 神秘的苋菜紫,时尚前卫",primaryColor:"hsl(310, 60%, 45%)",category:"colorful"},{id:"pulse-blue",name:"脉冲蓝",icon:"💙",description:"2026流行色 - 充满活力的脉冲蓝,现代时尚",primaryColor:"hsl(200, 85%, 50%)",category:"colorful"},{id:"deep-teal",name:"深邃青",icon:"🩵",description:"2026流行色 - 深邃的青色,沉稳大气",primaryColor:"hsl(180, 65%, 35%)",category:"colorful"},{id:"mermaid-aqua",name:"美人鱼蓝",icon:"🧜‍♀️",description:"2026流行色 - 梦幻的美人鱼蓝,清新可爱",primaryColor:"hsl(185, 70%, 55%)",category:"colorful"},{id:"pearl-purple",name:"珍珠紫",icon:"🔮",description:"2026流行色 - 柔和的珍珠紫,优雅迷人",primaryColor:"hsl(270, 45%, 70%)",category:"colorful"},{id:"burgundy",name:"勃艮第",icon:"🍷",description:"2026流行色 - 高端奢华的勃艮第红,尊贵典雅",primaryColor:"hsl(345, 65%, 40%)",category:"colorful"},{id:"burnt-sienna",name:"焦赭石",icon:"🍂",description:"2026流行色 - 温暖的焦赭石色,自然大地",primaryColor:"hsl(15, 60%, 50%)",category:"colorful"},{id:"olive-sage",name:"橄榄绿",icon:"🫒",description:"2026流行色 - 沉稳的橄榄绿,自然和谐",primaryColor:"hsl(80, 30%, 45%)",category:"colorful"},{id:"champagne-gold",name:"香槟金",icon:"🥂",description:"2026流行色 - 奢华的香槟金,高贵优雅",primaryColor:"hsl(45, 55%, 60%)",category:"colorful"},{id:"dusty-rose",name:"灰玫瑰",icon:"🌸",description:"2026流行色 - 柔和的灰玫瑰色,温柔可爱",primaryColor:"hsl(350, 40%, 65%)",category:"colorful"},{id:"citrus-green",name:"柑橘绿",icon:"🍋",description:"2026流行色 - 清新的柑橘绿,充满生机",primaryColor:"hsl(75, 70%, 50%)",category:"colorful"}],Mn={colorful:ee.filter(e=>e.category==="colorful"),neutral:ee.filter(e=>e.category==="neutral"),monochrome:ee.filter(e=>e.category==="monochrome")},Fe=new Map(ee.map(e=>[e.id,e]));function $(){return document.documentElement}function Ot(){if(typeof window>"u")return null;const e=localStorage.getItem(B.MODE);return e==="dark"||e==="light"?e:null}function Dt(){if(typeof window>"u")return null;const e=localStorage.getItem(B.VARIANT);return Fe.has(e)?e:null}function $t(e){typeof window>"u"||localStorage.setItem(B.MODE,e)}function Ct(e){typeof window>"u"||localStorage.setItem(B.VARIANT,e)}function On(){typeof window>"u"||(localStorage.removeItem(B.MODE),localStorage.removeItem(B.VARIANT))}function Vt(e){const t=$();e==="dark"?(t.classList.add(X.DARK),t.classList.remove(X.LIGHT)):(t.classList.remove(X.DARK),t.classList.add(X.LIGHT)),t.setAttribute(he.MODE,e);const n=localStorage.getItem("custom-theme-primary"),r=localStorage.getItem("custom-theme-active")==="true";n&&r&&setTimeout(()=>{const o=it(n,e);Le(o,!1)},0)}function xt(e){const t=$();e==="default"||e===pe?t.removeAttribute(he.THEME):t.setAttribute(he.THEME,e),localStorage.getItem("custom-theme-primary")&&(localStorage.setItem("custom-theme-active","false"),["primary","primary-foreground","secondary","secondary-foreground","accent","accent-foreground","muted","muted-foreground","background","background-deep","foreground","card","card-foreground","border","input","ring","sidebar","sidebar-deep","header","menu"].forEach(o=>{t.style.removeProperty(`--${o}`)}))}function st(){return typeof window>"u"?Pe:$().classList.contains(X.DARK)?"dark":"light"}function Dn(){return typeof window>"u"?pe:$().getAttribute(he.THEME)||pe}function te(e,t={}){const{mode:n,variant:r,persist:o=!0}=e,{transition:s=!0}=t;s&&It(),n&&(Vt(n),o&&$t(n)),r&&(xt(r),o&&Ct(r)),s&&setTimeout(()=>{Rt()},Ve)}function It(){$().style.setProperty("transition",`background-color ${Ve}ms ease, color ${Ve}ms ease`)}function Rt(){$().style.removeProperty("transition")}function At(e={}){const n=st()==="dark"?"light":"dark";return te({mode:n},e),n}function Ht(){const e=Ot(),t=Dt(),n={mode:e||Pe,variant:t||pe,persist:!0,enableTransition:!1};return te(n,{transition:!1}),n}function $n(){return typeof window>"u"?Pe:window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function kt(e){if(typeof window>"u")return()=>{};const t=window.matchMedia("(prefers-color-scheme: dark)"),n=r=>{e(r.matches?"dark":"light")};return t.addEventListener("change",n),()=>{t.removeEventListener("change",n)}}function Pt(){return ee}function Ft(e){return Fe.get(e)}function Qe(e){const n=e.replace(/hsl\(|\)|%/g,"").trim().split(/[\s,]+/).map(Number);if(n.length<3||n[0]===void 0||n[1]===void 0||n[2]===void 0)return null;const r={h:n[0],s:n[1],l:n[2]};return n[3]!==void 0&&(r.a=n[3]),r}function Cn(e){const{h:t,s:n,l:r,a:o}=e;return o!==void 0&&o!==1?`hsla(${t}, ${n}%, ${r}%, ${o})`:`hsl(${t}, ${n}%, ${r}%)`}function Lt(e){if(typeof window>"u")return"";const t=$();return getComputedStyle(t).getPropertyValue(`--${e}`).trim()}function Vn(e,t){if(typeof window>"u")return;$().style.setProperty(`--${e}`,t)}function xn(e){const t=Lt(e);return t&&!t.startsWith("hsl")?`hsl(${t})`:t}function In(e){return Fe.has(e)}function Rn(e){return e==="light"||e==="dark"}function Le(e,t=!1){if(typeof window>"u")return;const n=$(),r=o=>o.replace(/hsl\(|\)|%/g,"").trim();Object.entries(e).forEach(([o,s])=>{if(s){const i=o.replace(/([A-Z])/g,"-$1").toLowerCase(),a=r(s);n.style.setProperty(`--${i}`,a)}}),t&&localStorage.setItem("custom-theme-colors",JSON.stringify(e))}function Kt(){if(typeof window>"u")return null;const e=localStorage.getItem("custom-theme-colors");if(!e)return null;try{return JSON.parse(e)}catch{return null}}function An(){if(typeof window>"u")return;const e=$();["primary","primaryForeground","secondary","secondaryForeground","accent","accentForeground","muted","mutedForeground","background","backgroundDeep","foreground","card","cardForeground","border","input","ring","sidebar","sidebarDeep","header","menu"].forEach(n=>{const r=n.replace(/([A-Z])/g,"-$1").toLowerCase();e.style.removeProperty(`--${r}`)}),localStorage.removeItem("custom-theme-colors"),localStorage.removeItem("custom-theme-primary"),localStorage.removeItem("custom-theme-active")}function Hn(){const e=Kt();return e?(Le(e,!1),!0):!1}function Wt(e){e=e.replace("#","");const t=Number.parseInt(e.substring(0,2),16)/255,n=Number.parseInt(e.substring(2,4),16)/255,r=Number.parseInt(e.substring(4,6),16)/255,o=Math.max(t,n,r),s=Math.min(t,n,r);let i=0,a=0;const l=(o+s)/2;if(o!==s){const d=o-s;switch(a=l>.5?d/(2-o-s):d/(o+s),o){case t:i=((n-r)/d+(n<r?6:0))/6;break;case n:i=((r-t)/d+2)/6;break;case r:i=((t-n)/d+4)/6;break}}i=Math.round(i*360),a=Math.round(a*100);const u=Math.round(l*100);return`${i} ${a}% ${u}%`}function kn(e,t,n){e/=255,t/=255,n/=255;const r=Math.max(e,t,n),o=Math.min(e,t,n);let s=0,i=0;const a=(r+o)/2;if(r!==o){const u=r-o;switch(i=a>.5?u/(2-r-o):u/(r+o),r){case e:s=((t-n)/u+(t<n?6:0))/6;break;case t:s=((n-e)/u+2)/6;break;case n:s=((e-t)/u+4)/6;break}}s=Math.round(s*360),i=Math.round(i*100);const l=Math.round(a*100);return`${s} ${i}% ${l}%`}function it(e,t="light"){let n;if(e.startsWith("#"))n=Wt(e);else if(e.startsWith("hsl")){const o=Qe(e);n=o?`${o.h} ${o.s}% ${o.l}%`:e}else n=e;const r=Qe(n);if(!r)throw new Error("Invalid color format");return t==="light"?{primary:n,primaryForeground:r.l>50?"0 0% 10%":"0 0% 98%",secondary:`${r.h} ${Math.max(5,r.s-30)}% ${Math.min(96,r.l+40)}%`,secondaryForeground:`${r.h} ${Math.min(100,r.s+20)}% ${Math.max(10,r.l-40)}%`,accent:`${r.h} ${Math.max(5,r.s-25)}% ${Math.min(96,r.l+35)}%`,accentForeground:`${r.h} ${Math.min(100,r.s+15)}% ${Math.max(10,r.l-35)}%`,muted:`${r.h} ${Math.max(5,r.s-40)}% 96%`,mutedForeground:`${r.h} ${Math.max(5,r.s-35)}% 46%`,background:"0 0% 100%",backgroundDeep:`${r.h} ${Math.max(5,r.s-45)}% 95%`,foreground:`${r.h} ${Math.max(5,r.s-40)}% 15%`,card:"0 0% 100%",cardForeground:`${r.h} ${Math.max(5,r.s-40)}% 15%`,border:`${r.h} ${Math.max(5,r.s-40)}% 90%`,input:`${r.h} ${Math.max(5,r.s-40)}% 90%`,ring:n,sidebar:"0 0% 100%",sidebarDeep:"0 0% 100%",header:"0 0% 100%",menu:"0 0% 100%"}:{primary:`${r.h} ${r.s}% ${Math.min(65,r.l+10)}%`,primaryForeground:"0 0% 98%",secondary:`${r.h} ${Math.max(5,r.s-30)}% 17%`,secondaryForeground:"0 0% 98%",accent:`${r.h} ${Math.max(5,r.s-25)}% 19%`,accentForeground:"0 0% 98%",muted:`${r.h} ${Math.max(5,r.s-35)}% 16%`,mutedForeground:`${r.h} ${Math.max(5,r.s-30)}% 65%`,background:`${r.h} ${Math.max(5,r.s-30)}% 12%`,backgroundDeep:`${r.h} ${Math.max(5,r.s-35)}% 9%`,foreground:"0 0% 95%",card:`${r.h} ${Math.max(5,r.s-30)}% 12%`,cardForeground:"0 0% 95%",border:`${r.h} ${Math.max(5,r.s-35)}% 22%`,input:`${r.h} ${Math.max(5,r.s-35)}% 22%`,ring:`${r.h} ${r.s}% ${Math.min(65,r.l+10)}%`,sidebar:`${r.h} ${Math.max(5,r.s-30)}% 12%`,sidebarDeep:`${r.h} ${Math.max(5,r.s-35)}% 9%`,header:`${r.h} ${Math.max(5,r.s-30)}% 12%`,menu:`${r.h} ${Math.max(5,r.s-30)}% 12%`}}function Pn(e,t,n=!1){const r=t||st(),o=it(e,r);Le(o,n),localStorage.setItem("custom-theme-primary",e),localStorage.setItem("custom-theme-active","true")}function Fn(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const me=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const ne=()=>{},Ln=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),W=Object.assign,Kn=Object.prototype.hasOwnProperty,Ze=(e,t)=>Kn.call(e,t),y=Array.isArray,re=e=>Ke(e)==="[object Map]",Wn=e=>Ke(e)==="[object Set]",S=e=>typeof e=="function",A=e=>typeof e=="string",be=e=>typeof e=="symbol",w=e=>e!==null&&typeof e=="object",jn=e=>(w(e)||S(e))&&S(e.then)&&S(e.catch),Un=Object.prototype.toString,Ke=e=>Un.call(e),jt=e=>Ke(e).slice(8,-1),zn=e=>Ke(e)==="[object Object]",at=e=>A(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ut=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},zt=Ut(e=>e.charAt(0).toUpperCase()+e.slice(1)),Yn=Ut(e=>e?`on${zt(e)}`:""),K=(e,t)=>!Object.is(e,t);let St;const We=()=>St||(St=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ct(e){if(y(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=A(r)?qn(r):ct(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(A(e)||w(e))return e}const Bn=/;(?![^(]*\))/g,Jn=/:([^]+)/,Gn=/\/\*[^]*?\*\//g;function qn(e){const t={};return e.replace(Gn,"").split(Bn).forEach(n=>{if(n){const r=n.split(Jn);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function lt(e){let t="";if(A(e))t=e;else if(y(e))for(let n=0;n<e.length;n++){const r=lt(e[n]);r&&(t+=r+" ")}else if(w(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function V(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let g;const ze=new WeakSet;class Qn{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,ze.has(this)&&(ze.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||Bt(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,bt(this),Jt(this);const t=g,n=D;g=this,D=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&g!==this&&V("Active effect was not restored correctly - this is likely a Vue internal bug."),Gt(this),g=t,D=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)dt(t);this.deps=this.depsTail=void 0,bt(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ze.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){Xe(this)&&this.run()}get dirty(){return Xe(this)}}let Yt=0,fe,de;function Bt(e,t=!1){if(e.flags|=8,t){e.next=de,de=e;return}e.next=fe,fe=e}function ut(){Yt++}function ft(){if(--Yt>0)return;if(de){let t=de;for(de=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;fe;){let t=fe;for(fe=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function Jt(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function Gt(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),dt(r),Zn(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function Xe(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(qt(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function qt(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===ge)||(e.globalVersion=ge,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!Xe(e))))return;e.flags|=2;const t=e.dep,n=g,r=D;g=e,D=!0;try{Jt(e);const o=e.fn(e._value);(t.version===0||K(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{g=n,D=r,Gt(e),e.flags&=-3}}function dt(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=o),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)dt(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Zn(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let D=!0;const Qt=[];function ie(){Qt.push(D),D=!1}function ae(){const e=Qt.pop();D=e===void 0?!0:e}function bt(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=g;g=void 0;try{t()}finally{g=n}}}let ge=0;class Xn{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class pt{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,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!g||!D||g===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==g)n=this.activeLink=new Xn(g,this),g.deps?(n.prevDep=g.depsTail,g.depsTail.nextDep=n,g.depsTail=n):g.deps=g.depsTail=n,Zt(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=g.depsTail,n.nextDep=void 0,g.depsTail.nextDep=n,g.depsTail=n,g.deps===n&&(g.deps=r)}return process.env.NODE_ENV!=="production"&&g.onTrack&&g.onTrack(W({effect:g},t)),n}trigger(t){this.version++,ge++,this.notify(t)}notify(t){ut();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(W({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ft()}}}function Zt(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)Zt(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const et=new WeakMap,z=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),tt=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),_e=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function b(e,t,n){if(D&&g){let r=et.get(e);r||et.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new pt),o.map=r,o.key=n),process.env.NODE_ENV!=="production"?o.track({target:e,type:t,key:n}):o.track()}}function F(e,t,n,r,o,s){const i=et.get(e);if(!i){ge++;return}const a=l=>{l&&(process.env.NODE_ENV!=="production"?l.trigger({target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:s}):l.trigger())};if(ut(),t==="clear")i.forEach(a);else{const l=y(e),u=l&&at(n);if(l&&n==="length"){const d=Number(r);i.forEach((c,f)=>{(f==="length"||f===_e||!be(f)&&f>=d)&&a(c)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(_e)),t){case"add":l?u&&a(i.get("length")):(a(i.get(z)),re(e)&&a(i.get(tt)));break;case"delete":l||(a(i.get(z)),re(e)&&a(i.get(tt)));break;case"set":re(e)&&a(i.get(z));break}}ft()}function G(e){const t=h(e);return t===e?t:(b(t,"iterate",_e),T(e)?t:t.map(H))}function ht(e){return b(e=h(e),"iterate",_e),e}function k(e,t){return x(e)?oe(e)?ye(H(t)):ye(t):H(t)}const er={__proto__:null,[Symbol.iterator](){return Ye(this,Symbol.iterator,e=>k(this,e))},concat(...e){return G(this).concat(...e.map(t=>y(t)?G(t):t))},entries(){return Ye(this,"entries",e=>(e[1]=k(this,e[1]),e))},every(e,t){return I(this,"every",e,t,void 0,arguments)},filter(e,t){return I(this,"filter",e,t,n=>n.map(r=>k(this,r)),arguments)},find(e,t){return I(this,"find",e,t,n=>k(this,n),arguments)},findIndex(e,t){return I(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return I(this,"findLast",e,t,n=>k(this,n),arguments)},findLastIndex(e,t){return I(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return I(this,"forEach",e,t,void 0,arguments)},includes(...e){return Be(this,"includes",e)},indexOf(...e){return Be(this,"indexOf",e)},join(e){return G(this).join(e)},lastIndexOf(...e){return Be(this,"lastIndexOf",e)},map(e,t){return I(this,"map",e,t,void 0,arguments)},pop(){return ue(this,"pop")},push(...e){return ue(this,"push",e)},reduce(e,...t){return wt(this,"reduce",e,t)},reduceRight(e,...t){return wt(this,"reduceRight",e,t)},shift(){return ue(this,"shift")},some(e,t){return I(this,"some",e,t,void 0,arguments)},splice(...e){return ue(this,"splice",e)},toReversed(){return G(this).toReversed()},toSorted(e){return G(this).toSorted(e)},toSpliced(...e){return G(this).toSpliced(...e)},unshift(...e){return ue(this,"unshift",e)},values(){return Ye(this,"values",e=>k(this,e))}};function Ye(e,t,n){const r=ht(e),o=r[t]();return r!==e&&!T(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const tr=Array.prototype;function I(e,t,n,r,o,s){const i=ht(e),a=i!==e&&!T(e),l=i[t];if(l!==tr[t]){const c=l.apply(e,s);return a?H(c):c}let u=n;i!==e&&(a?u=function(c,f){return n.call(this,k(e,c),f,e)}:n.length>2&&(u=function(c,f){return n.call(this,c,f,e)}));const d=l.call(i,u,r);return a&&o?o(d):d}function wt(e,t,n,r){const o=ht(e);let s=n;return o!==e&&(T(e)?n.length>3&&(s=function(i,a,l){return n.call(this,i,a,l,e)}):s=function(i,a,l){return n.call(this,i,k(e,a),l,e)}),o[t](s,...r)}function Be(e,t,n){const r=h(e);b(r,"iterate",_e);const o=r[t](...n);return(o===-1||o===!1)&&Ie(n[0])?(n[0]=h(n[0]),r[t](...n)):o}function ue(e,t,n=[]){ie(),ut();const r=h(e)[t].apply(e,n);return ft(),ae(),r}const nr=Fn("__proto__,__v_isRef,__isVue"),Xt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(be));function rr(e){be(e)||(e=String(e));const t=h(this);return b(t,"has",e),t.hasOwnProperty(e)}class en{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?pr:rn:s?dr:nn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=y(t);if(!o){let l;if(i&&(l=er[n]))return l;if(n==="hasOwnProperty")return rr}const a=Reflect.get(t,n,O(t)?t:r);if((be(n)?Xt.has(n):nr(n))||(o||b(t,"get",n),s))return a;if(O(a)){const l=i&&at(n)?a:a.value;return o&&w(l)?xe(l):l}return w(a)?o?xe(a):on(a):a}}class or extends en{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=y(t)&&at(n);if(!this._isShallow){const u=x(s);if(!T(r)&&!x(r)&&(s=h(s),r=h(r)),!i&&O(s)&&!O(r))return u?(process.env.NODE_ENV!=="production"&&V(`Set operation on key "${String(n)}" failed: target is readonly.`,t[n]),!0):(s.value=r,!0)}const a=i?Number(n)<t.length:Ze(t,n),l=Reflect.set(t,n,r,O(t)?t:o);return t===h(o)&&(a?K(r,s)&&F(t,"set",n,r,s):F(t,"add",n,r)),l}deleteProperty(t,n){const r=Ze(t,n),o=t[n],s=Reflect.deleteProperty(t,n);return s&&r&&F(t,"delete",n,void 0,o),s}has(t,n){const r=Reflect.has(t,n);return(!be(n)||!Xt.has(n))&&b(t,"has",n),r}ownKeys(t){return b(t,"iterate",y(t)?"length":z),Reflect.ownKeys(t)}}class sr extends en{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&V(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&V(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const ir=new or,ar=new sr,nt=e=>e,Ne=e=>Reflect.getPrototypeOf(e);function cr(e,t,n){return function(...r){const o=this.__v_raw,s=h(o),i=re(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...r),d=n?nt:t?ye:H;return!t&&b(s,"iterate",l?tt:z),{next(){const{value:c,done:f}=u.next();return f?{value:c,done:f}:{value:a?[d(c[0]),d(c[1])]:d(c),done:f}},[Symbol.iterator](){return this}}}}function Me(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";V(`${zt(e)} operation ${n}failed: target is readonly.`,h(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function lr(e,t){const n={get(o){const s=this.__v_raw,i=h(s),a=h(o);e||(K(o,a)&&b(i,"get",o),b(i,"get",a));const{has:l}=Ne(i),u=t?nt:e?ye:H;if(l.call(i,o))return u(s.get(o));if(l.call(i,a))return u(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&b(h(o),"iterate",z),o.size},has(o){const s=this.__v_raw,i=h(s),a=h(o);return e||(K(o,a)&&b(i,"has",o),b(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=h(a),u=t?nt:e?ye:H;return!e&&b(l,"iterate",z),a.forEach((d,c)=>o.call(s,u(d),u(c),i))}};return W(n,e?{add:Me("add"),set:Me("set"),delete:Me("delete"),clear:Me("clear")}:{add(o){!t&&!T(o)&&!x(o)&&(o=h(o));const s=h(this);return Ne(s).has.call(s,o)||(s.add(o),F(s,"add",o,o)),this},set(o,s){!t&&!T(s)&&!x(s)&&(s=h(s));const i=h(this),{has:a,get:l}=Ne(i);let u=a.call(i,o);u?process.env.NODE_ENV!=="production"&&Tt(i,a,o):(o=h(o),u=a.call(i,o));const d=l.call(i,o);return i.set(o,s),u?K(s,d)&&F(i,"set",o,s,d):F(i,"add",o,s),this},delete(o){const s=h(this),{has:i,get:a}=Ne(s);let l=i.call(s,o);l?process.env.NODE_ENV!=="production"&&Tt(s,i,o):(o=h(o),l=i.call(s,o));const u=a?a.call(s,o):void 0,d=s.delete(o);return l&&F(s,"delete",o,void 0,u),d},clear(){const o=h(this),s=o.size!==0,i=process.env.NODE_ENV!=="production"?re(o)?new Map(o):new Set(o):void 0,a=o.clear();return s&&F(o,"clear",void 0,void 0,i),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=cr(o,e,t)}),n}function tn(e,t){const n=lr(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Ze(n,o)&&o in r?n:r,o,s)}const ur={get:tn(!1,!1)},fr={get:tn(!0,!1)};function Tt(e,t,n){const r=h(n);if(r!==n&&t.call(e,r)){const o=jt(e);V(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const nn=new WeakMap,dr=new WeakMap,rn=new WeakMap,pr=new WeakMap;function hr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function mr(e){return e.__v_skip||!Object.isExtensible(e)?0:hr(jt(e))}function on(e){return x(e)?e:sn(e,!1,ir,ur,nn)}function xe(e){return sn(e,!0,ar,fr,rn)}function sn(e,t,n,r,o){if(!w(e))return process.env.NODE_ENV!=="production"&&V(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=mr(e);if(s===0)return e;const i=o.get(e);if(i)return i;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function oe(e){return x(e)?oe(e.__v_raw):!!(e&&e.__v_isReactive)}function x(e){return!!(e&&e.__v_isReadonly)}function T(e){return!!(e&&e.__v_isShallow)}function Ie(e){return e?!!e.__v_raw:!1}function h(e){const t=e&&e.__v_raw;return t?h(t):e}const H=e=>w(e)?on(e):e,ye=e=>w(e)?xe(e):e;function O(e){return e?e.__v_isRef===!0:!1}function mt(e){return gr(e,!1)}function gr(e,t){return O(e)?e:new _r(e,t)}class _r{constructor(t,n){this.dep=new pt,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:h(t),this._value=n?t:H(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||T(t)||x(t);t=r?t:h(t),K(t,n)&&(this._rawValue=t,this._value=r?t:H(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}class yr{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new pt(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=ge-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&g!==this)return Bt(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return qt(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&V("Write operation failed: computed value is readonly")}}function vr(e,t,n=!1){let r,o;S(e)?r=e:(r=e.get,o=e.set);const s=new yr(r,o,n);return process.env.NODE_ENV,s}const Oe={},Re=new WeakMap;let U;function Er(e,t=!1,n=U){if(n){let r=Re.get(n);r||Re.set(n,r=[]),r.push(e)}else process.env.NODE_ENV!=="production"&&!t&&V("onWatcherCleanup() was called when there was no active watcher to associate with.")}function Sr(e,t,n=me){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,u=m=>{(n.onWarn||V)("Invalid watch source: ",m,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},d=m=>o?m:T(m)||o===!1||o===0?L(m,1):L(m);let c,f,p,_,N=!1,we=!1;if(O(e)?(f=()=>e.value,N=T(e)):oe(e)?(f=()=>d(e),N=!0):y(e)?(we=!0,N=e.some(m=>oe(m)||T(m)),f=()=>e.map(m=>{if(O(m))return m.value;if(oe(m))return d(m);if(S(m))return l?l(m,2):m();process.env.NODE_ENV!=="production"&&u(m)})):S(e)?t?f=l?()=>l(e,2):e:f=()=>{if(p){ie();try{p()}finally{ae()}}const m=U;U=c;try{return l?l(e,3,[_]):e(_)}finally{U=m}}:(f=ne,process.env.NODE_ENV!=="production"&&u(e)),t&&o){const m=f,C=o===!0?1/0:o;f=()=>L(m(),C)}const J=()=>{c.stop()};if(s&&t){const m=t;t=(...C)=>{m(...C),J()}}let j=we?new Array(e.length).fill(Oe):Oe;const le=m=>{if(!(!(c.flags&1)||!c.dirty&&!m))if(t){const C=c.run();if(o||N||(we?C.some((Ue,Te)=>K(Ue,j[Te])):K(C,j))){p&&p();const Ue=U;U=c;try{const Te=[C,j===Oe?void 0:we&&j[0]===Oe?[]:j,_];j=C,l?l(t,3,Te):t(...Te)}finally{U=Ue}}}else c.run()};return a&&a(le),c=new Qn(f),c.scheduler=i?()=>i(le,!1):le,_=m=>Er(m,!1,c),p=c.onStop=()=>{const m=Re.get(c);if(m){if(l)l(m,4);else for(const C of m)C();Re.delete(c)}},process.env.NODE_ENV!=="production"&&(c.onTrack=n.onTrack,c.onTrigger=n.onTrigger),t?r?le(!0):j=c.run():i?i(le.bind(null,!0),!0):c.run(),J.pause=c.pause.bind(c),J.resume=c.resume.bind(c),J.stop=J,J}function L(e,t=1/0,n){if(t<=0||!w(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,O(e))L(e.value,t,n);else if(y(e))for(let r=0;r<e.length;r++)L(e[r],t,n);else if(Wn(e)||re(e))e.forEach(r=>{L(r,t,n)});else if(zn(e)){for(const r in e)L(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&L(e[r],t,n)}return e}const Y=[];function br(e){Y.push(e)}function wr(){Y.pop()}let Je=!1;function E(e,...t){if(Je)return;Je=!0,ie();const n=Y.length?Y[Y.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=Tr();if(r)je(r,n,11,[e+t.map(s=>{var i,a;return(a=(i=s.toString)==null?void 0:i.call(s))!=null?a:JSON.stringify(s)}).join(""),n&&n.proxy,o.map(({vnode:s})=>`at <${Tn(n,s.type)}>`).join(`
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const Ft={themes:{default:{name:"经典蓝",description:"经典的蓝色主题,适合大多数场景"},slate:{name:"石板灰",description:"石板色主题,沉稳内敛"},"burnished-lilac":{name:"烟熏薰衣草",description:"2026流行色 - 优雅的薰衣草紫,展现高贵气质"},teaberry:{name:"茶莓红",description:"2026流行色 - 浪漫的茶莓色,充满活力"},amaranth:{name:"苋菜紫",description:"2026流行色 - 神秘的苋菜紫,时尚前卫"},"pulse-blue":{name:"脉冲蓝",description:"2026流行色 - 充满活力的脉冲蓝,现代时尚"},"deep-teal":{name:"深邃青",description:"2026流行色 - 深邃的青色,沉稳大气"},"mermaid-aqua":{name:"美人鱼蓝",description:"2026流行色 - 梦幻的美人鱼蓝,清新可爱"},"pearl-purple":{name:"珍珠紫",description:"2026流行色 - 柔和的珍珠紫,优雅迷人"},burgundy:{name:"勃艮第",description:"2026流行色 - 高端奢华的勃艮第红,尊贵典雅"},"burnt-sienna":{name:"焦赭石",description:"2026流行色 - 温暖的焦赭石色,自然大地"},"olive-sage":{name:"橄榄绿",description:"2026流行色 - 沉稳的橄榄绿,自然和谐"},"champagne-gold":{name:"香槟金",description:"2026流行色 - 奢华的香槟金,高贵优雅"},"dusty-rose":{name:"灰玫瑰",description:"2026流行色 - 柔和的灰玫瑰色,温柔可爱"},"citrus-green":{name:"柑橘绿",description:"2026流行色 - 清新的柑橘绿,充满生机"}}},Ht={themes:{default:{name:"Classic Blue",description:"Classic blue theme, suitable for most scenarios"},slate:{name:"Slate Gray",description:"Slate color theme, calm and restrained"},"burnished-lilac":{name:"Burnished Lilac",description:"2026 Trending Color - Elegant lavender purple, showcasing noble temperament"},teaberry:{name:"Teaberry",description:"2026 Trending Color - Romantic teaberry color, full of vitality"},amaranth:{name:"Amaranth Purple",description:"2026 Trending Color - Mysterious amaranth purple, fashionable and avant-garde"},"pulse-blue":{name:"Pulse Blue",description:"2026 Trending Color - Vibrant pulse blue, modern and stylish"},"deep-teal":{name:"Deep Teal",description:"2026 Trending Color - Deep teal, calm and atmospheric"},"mermaid-aqua":{name:"Mermaid Aqua",description:"2026 Trending Color - Dreamy mermaid aqua, fresh and cute"},"pearl-purple":{name:"Pearl Purple",description:"2026 Trending Color - Soft pearl purple, elegant and charming"},burgundy:{name:"Burgundy",description:"2026 Trending Color - High-end luxurious burgundy, noble and elegant"},"burnt-sienna":{name:"Burnt Sienna",description:"2026 Trending Color - Warm burnt sienna, natural and earthy"},"olive-sage":{name:"Olive Sage",description:"2026 Trending Color - Calm olive green, natural and harmonious"},"champagne-gold":{name:"Champagne Gold",description:"2026 Trending Color - Luxurious champagne gold, noble and elegant"},"dusty-rose":{name:"Dusty Rose",description:"2026 Trending Color - Soft dusty rose, gentle and lovely"},"citrus-green":{name:"Citrus Green",description:"2026 Trending Color - Fresh citrus green, full of vitality"}}},ft={"zh-CN":Ft,"en-US":Ht},Ae="zh-CN";let Fe=Ae;function Ln(e){ft[e]?Fe=e:(console.warn(`Locale "${e}" is not supported, falling back to "${Ae}"`),Fe=Ae)}function Pn(){return Fe}function dt(){return ft[Fe]}function kt(e){return dt().themes[e]?.name||e}function Lt(e){return dt().themes[e]?.description||""}const Ue="light",_e="default",Z={MODE:"theme-mode",VARIANT:"theme-variant"},oe={DARK:"dark",LIGHT:"light"},ye={THEME:"data-theme",MODE:"data-mode"},He=300,Kn=[{id:"default",icon:"🔵",primaryColor:"hsl(212, 100%, 48%)",category:"colorful",isDefault:!0},{id:"slate",icon:"🔘",primaryColor:"hsl(215, 20%, 40%)",category:"neutral"},{id:"burnished-lilac",icon:"🪻",primaryColor:"hsl(280, 35%, 65%)",category:"colorful"},{id:"teaberry",icon:"🌹",primaryColor:"hsl(345, 75%, 55%)",category:"colorful"},{id:"amaranth",icon:"💜",primaryColor:"hsl(310, 60%, 45%)",category:"colorful"},{id:"pulse-blue",icon:"💙",primaryColor:"hsl(200, 85%, 50%)",category:"colorful"},{id:"deep-teal",icon:"🩵",primaryColor:"hsl(180, 65%, 35%)",category:"colorful"},{id:"mermaid-aqua",icon:"🧜‍♀️",primaryColor:"hsl(185, 70%, 55%)",category:"colorful"},{id:"pearl-purple",icon:"🔮",primaryColor:"hsl(270, 45%, 70%)",category:"colorful"},{id:"burgundy",icon:"🍷",primaryColor:"hsl(345, 65%, 40%)",category:"colorful"},{id:"burnt-sienna",icon:"🍂",primaryColor:"hsl(15, 60%, 50%)",category:"colorful"},{id:"olive-sage",icon:"🫒",primaryColor:"hsl(80, 30%, 45%)",category:"colorful"},{id:"champagne-gold",icon:"🥂",primaryColor:"hsl(45, 55%, 60%)",category:"colorful"},{id:"dusty-rose",icon:"🌸",primaryColor:"hsl(350, 40%, 65%)",category:"colorful"},{id:"citrus-green",icon:"🍋",primaryColor:"hsl(75, 70%, 50%)",category:"colorful"}];function q(){return Kn.map(e=>({...e,name:kt(e.id),description:Lt(e.id)}))}const Wn=q(),jn={get colorful(){return q().filter(e=>e.category==="colorful")},get neutral(){return q().filter(e=>e.category==="neutral")},get monochrome(){return q().filter(e=>e.category==="monochrome")}},Be=new Map(q().map(e=>[e.id,e]));function R(){return document.documentElement}function Pt(){if(typeof window>"u")return null;const e=localStorage.getItem(Z.MODE);return e==="dark"||e==="light"?e:null}function Kt(){if(typeof window>"u")return null;const e=localStorage.getItem(Z.VARIANT);return Be.has(e)?e:null}function Wt(e){typeof window>"u"||localStorage.setItem(Z.MODE,e)}function jt(e){typeof window>"u"||localStorage.setItem(Z.VARIANT,e)}function Un(){typeof window>"u"||(localStorage.removeItem(Z.MODE),localStorage.removeItem(Z.VARIANT))}function Ut(e){const t=R();e==="dark"?(t.classList.add(oe.DARK),t.classList.remove(oe.LIGHT)):(t.classList.remove(oe.DARK),t.classList.add(oe.LIGHT)),t.setAttribute(ye.MODE,e);const n=localStorage.getItem("custom-theme-primary"),r=localStorage.getItem("custom-theme-active")==="true";n&&r&&setTimeout(()=>{const o=ht(n,e);ze(o,!1)},0)}function Bt(e){const t=R();e==="default"||e===_e?t.removeAttribute(ye.THEME):t.setAttribute(ye.THEME,e),localStorage.getItem("custom-theme-primary")&&(localStorage.setItem("custom-theme-active","false"),["primary","primary-foreground","secondary","secondary-foreground","accent","accent-foreground","muted","muted-foreground","background","background-deep","foreground","card","card-foreground","border","input","ring","sidebar","sidebar-deep","header","menu"].forEach(o=>{t.style.removeProperty(`--${o}`)}))}function pt(){return typeof window>"u"?Ue:R().classList.contains(oe.DARK)?"dark":"light"}function Bn(){return typeof window>"u"?_e:R().getAttribute(ye.THEME)||_e}function se(e,t={}){const{mode:n,variant:r,persist:o=!0}=e,{transition:s=!0}=t;s&&zt(),n&&(Ut(n),o&&Wt(n)),r&&(Bt(r),o&&jt(r)),s&&setTimeout(()=>{Gt()},He)}function zt(){R().style.setProperty("transition",`background-color ${He}ms ease, color ${He}ms ease`)}function Gt(){R().style.removeProperty("transition")}function Yt(e={}){const n=pt()==="dark"?"light":"dark";return se({mode:n},e),n}function qt(){const e=Pt(),t=Kt(),n={mode:e||Ue,variant:t||_e,persist:!0,enableTransition:!1};return se(n,{transition:!1}),n}function zn(){return typeof window>"u"?Ue:window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Jt(e){if(typeof window>"u")return()=>{};const t=window.matchMedia("(prefers-color-scheme: dark)"),n=r=>{e(r.matches?"dark":"light")};return t.addEventListener("change",n),()=>{t.removeEventListener("change",n)}}function Qt(){return q()}function Zt(e){return Be.get(e)}function rt(e){const n=e.replace(/hsl\(|\)|%/g,"").trim().split(/[\s,]+/).map(Number);if(n.length<3||n[0]===void 0||n[1]===void 0||n[2]===void 0)return null;const r={h:n[0],s:n[1],l:n[2]};return n[3]!==void 0&&(r.a=n[3]),r}function Gn(e){const{h:t,s:n,l:r,a:o}=e;return o!==void 0&&o!==1?`hsla(${t}, ${n}%, ${r}%, ${o})`:`hsl(${t}, ${n}%, ${r}%)`}function Ce(e){if(typeof window>"u")return"";const t=R();return getComputedStyle(t).getPropertyValue(`--${e}`).trim()}function Yn(e,t){if(typeof window>"u")return;R().style.setProperty(`--${e}`,t)}function qn(e){const t=Ce(e);return t&&!t.startsWith("hsl")?`hsl(${t})`:t}function Jn(e){return Be.has(e)}function Qn(e){return e==="light"||e==="dark"}function ze(e,t=!1){if(typeof window>"u")return;const n=R(),r=o=>o.replace(/hsl\(|\)|%/g,"").trim();Object.entries(e).forEach(([o,s])=>{if(s){const i=o.replace(/([A-Z])/g,"-$1").toLowerCase(),a=r(s);n.style.setProperty(`--${i}`,a)}}),t&&localStorage.setItem("custom-theme-colors",JSON.stringify(e))}function Xt(){if(typeof window>"u")return null;const e=localStorage.getItem("custom-theme-colors");if(!e)return null;try{return JSON.parse(e)}catch{return null}}function Zn(){if(typeof window>"u")return;const e=R();["primary","primaryForeground","secondary","secondaryForeground","accent","accentForeground","muted","mutedForeground","background","backgroundDeep","foreground","card","cardForeground","border","input","ring","sidebar","sidebarDeep","header","menu"].forEach(n=>{const r=n.replace(/([A-Z])/g,"-$1").toLowerCase();e.style.removeProperty(`--${r}`)}),localStorage.removeItem("custom-theme-colors"),localStorage.removeItem("custom-theme-primary"),localStorage.removeItem("custom-theme-active")}function Xn(){const e=Xt();return e?(ze(e,!1),!0):!1}function en(e){e=e.replace("#","");const t=Number.parseInt(e.substring(0,2),16)/255,n=Number.parseInt(e.substring(2,4),16)/255,r=Number.parseInt(e.substring(4,6),16)/255,o=Math.max(t,n,r),s=Math.min(t,n,r);let i=0,a=0;const l=(o+s)/2;if(o!==s){const d=o-s;switch(a=l>.5?d/(2-o-s):d/(o+s),o){case t:i=((n-r)/d+(n<r?6:0))/6;break;case n:i=((r-t)/d+2)/6;break;case r:i=((t-n)/d+4)/6;break}}i=Math.round(i*360),a=Math.round(a*100);const u=Math.round(l*100);return`${i} ${a}% ${u}%`}function er(e,t,n){e/=255,t/=255,n/=255;const r=Math.max(e,t,n),o=Math.min(e,t,n);let s=0,i=0;const a=(r+o)/2;if(r!==o){const u=r-o;switch(i=a>.5?u/(2-r-o):u/(r+o),r){case e:s=((t-n)/u+(t<n?6:0))/6;break;case t:s=((n-e)/u+2)/6;break;case n:s=((e-t)/u+4)/6;break}}s=Math.round(s*360),i=Math.round(i*100);const l=Math.round(a*100);return`${s} ${i}% ${l}%`}function ht(e,t="light"){let n;if(e.startsWith("#"))n=en(e);else if(e.startsWith("hsl")){const o=rt(e);n=o?`${o.h} ${o.s}% ${o.l}%`:e}else n=e;const r=rt(n);if(!r)throw new Error("Invalid color format");return t==="light"?{primary:n,primaryForeground:r.l>50?"0 0% 10%":"0 0% 98%",secondary:`${r.h} ${Math.max(5,r.s-30)}% ${Math.min(96,r.l+40)}%`,secondaryForeground:`${r.h} ${Math.min(100,r.s+20)}% ${Math.max(10,r.l-40)}%`,accent:`${r.h} ${Math.max(5,r.s-25)}% ${Math.min(96,r.l+35)}%`,accentForeground:`${r.h} ${Math.min(100,r.s+15)}% ${Math.max(10,r.l-35)}%`,muted:`${r.h} ${Math.max(5,r.s-40)}% 96%`,mutedForeground:`${r.h} ${Math.max(5,r.s-35)}% 46%`,background:"0 0% 100%",backgroundDeep:`${r.h} ${Math.max(5,r.s-45)}% 95%`,foreground:`${r.h} ${Math.max(5,r.s-40)}% 15%`,card:"0 0% 100%",cardForeground:`${r.h} ${Math.max(5,r.s-40)}% 15%`,border:`${r.h} ${Math.max(5,r.s-40)}% 90%`,input:`${r.h} ${Math.max(5,r.s-40)}% 90%`,ring:n,sidebar:"0 0% 100%",sidebarDeep:"0 0% 100%",header:"0 0% 100%",menu:"0 0% 100%"}:{primary:`${r.h} ${r.s}% ${Math.min(65,r.l+10)}%`,primaryForeground:"0 0% 98%",secondary:`${r.h} ${Math.max(5,r.s-30)}% 17%`,secondaryForeground:"0 0% 98%",accent:`${r.h} ${Math.max(5,r.s-25)}% 19%`,accentForeground:"0 0% 98%",muted:`${r.h} ${Math.max(5,r.s-35)}% 16%`,mutedForeground:`${r.h} ${Math.max(5,r.s-30)}% 65%`,background:`${r.h} ${Math.max(5,r.s-30)}% 12%`,backgroundDeep:`${r.h} ${Math.max(5,r.s-35)}% 9%`,foreground:"0 0% 95%",card:`${r.h} ${Math.max(5,r.s-30)}% 12%`,cardForeground:"0 0% 95%",border:`${r.h} ${Math.max(5,r.s-35)}% 22%`,input:`${r.h} ${Math.max(5,r.s-35)}% 22%`,ring:`${r.h} ${r.s}% ${Math.min(65,r.l+10)}%`,sidebar:`${r.h} ${Math.max(5,r.s-30)}% 12%`,sidebarDeep:`${r.h} ${Math.max(5,r.s-35)}% 9%`,header:`${r.h} ${Math.max(5,r.s-30)}% 12%`,menu:`${r.h} ${Math.max(5,r.s-30)}% 12%`}}function tr(e,t,n=!1){const r=t||pt(),o=ht(e,r);ze(o,n),localStorage.setItem("custom-theme-primary",e),localStorage.setItem("custom-theme-active","true")}function y(e){const t=Ce(e);return t?`hsl(${t})`:""}function gt(e){const t=e.replace(/hsl\(|\)|%/g,"").trim(),[n,r,o]=t.split(/[\s,]+/).map(Number);if(n===void 0||r===void 0||o===void 0)return"rgb(0, 0, 0)";const s=n/360,i=r/100,a=o/100;let l,u,d;if(i===0)l=u=d=a;else{const c=(_,S,C)=>(C<0&&(C+=1),C>1&&(C-=1),C<.16666666666666666?_+(S-_)*6*C:C<.5?S:C<.6666666666666666?_+(S-_)*(.6666666666666666-C)*6:_),f=a<.5?a*(1+i):a+i-a*i,p=2*a-f;l=c(p,f,s+1/3),u=c(p,f,s),d=c(p,f,s-1/3)}return`rgb(${Math.round(l*255)}, ${Math.round(u*255)}, ${Math.round(d*255)})`}function tn(e){const n=gt(e).match(/\d+/g);if(!n||n.length<3)return"#000000";const[r,o,s]=n.map(Number);return"#"+[r,o,s].filter(i=>i!==void 0).map(i=>i.toString(16).padStart(2,"0")).join("")}function v(e){const t=Ce(e);return t?gt(t):"rgb(0, 0, 0)"}function b(e){const t=Ce(e);return t?tn(t):"#000000"}function nr(){return{primary:y("primary"),primaryForeground:y("primary-foreground"),secondary:y("secondary"),secondaryForeground:y("secondary-foreground"),accent:y("accent"),accentForeground:y("accent-foreground"),muted:y("muted"),mutedForeground:y("muted-foreground"),destructive:y("destructive"),destructiveForeground:y("destructive-foreground"),success:y("success"),successForeground:y("success-foreground"),warning:y("warning"),warningForeground:y("warning-foreground"),info:y("info"),infoForeground:y("info-foreground"),background:y("background"),backgroundDeep:y("background-deep"),foreground:y("foreground"),card:y("card"),cardForeground:y("card-foreground"),border:y("border"),input:y("input"),ring:y("ring")}}function rr(){return{primary:v("primary"),primaryForeground:v("primary-foreground"),secondary:v("secondary"),secondaryForeground:v("secondary-foreground"),accent:v("accent"),accentForeground:v("accent-foreground"),muted:v("muted"),mutedForeground:v("muted-foreground"),destructive:v("destructive"),destructiveForeground:v("destructive-foreground"),success:v("success"),successForeground:v("success-foreground"),warning:v("warning"),warningForeground:v("warning-foreground"),info:v("info"),infoForeground:v("info-foreground"),background:v("background"),backgroundDeep:v("background-deep"),foreground:v("foreground"),card:v("card"),cardForeground:v("card-foreground"),border:v("border"),input:v("input"),ring:v("ring")}}function or(){return{primary:b("primary"),primaryForeground:b("primary-foreground"),secondary:b("secondary"),secondaryForeground:b("secondary-foreground"),accent:b("accent"),accentForeground:b("accent-foreground"),muted:b("muted"),mutedForeground:b("muted-foreground"),destructive:b("destructive"),destructiveForeground:b("destructive-foreground"),success:b("success"),successForeground:b("success-foreground"),warning:b("warning"),warningForeground:b("warning-foreground"),info:b("info"),infoForeground:b("info-foreground"),background:b("background"),backgroundDeep:b("background-deep"),foreground:b("foreground"),card:b("card"),cardForeground:b("card-foreground"),border:b("border"),input:b("input"),ring:b("ring")}}function sr(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ve=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const ie=()=>{},ir=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),z=Object.assign,ar=Object.prototype.hasOwnProperty,ot=(e,t)=>ar.call(e,t),E=Array.isArray,ae=e=>Ge(e)==="[object Map]",cr=e=>Ge(e)==="[object Set]",N=e=>typeof e=="function",L=e=>typeof e=="string",De=e=>typeof e=="symbol",M=e=>e!==null&&typeof e=="object",lr=e=>(M(e)||N(e))&&N(e.then)&&N(e.catch),ur=Object.prototype.toString,Ge=e=>ur.call(e),nn=e=>Ge(e).slice(8,-1),fr=e=>Ge(e)==="[object Object]",mt=e=>L(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,rn=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},on=rn(e=>e.charAt(0).toUpperCase()+e.slice(1)),dr=rn(e=>e?`on${on(e)}`:""),B=(e,t)=>!Object.is(e,t);let $t;const Ye=()=>$t||($t=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function _t(e){if(E(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=L(r)?mr(r):_t(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(L(e)||M(e))return e}const pr=/;(?![^(]*\))/g,hr=/:([^]+)/,gr=/\/\*[^]*?\*\//g;function mr(e){const t={};return e.replace(gr,"").split(pr).forEach(n=>{if(n){const r=n.split(hr);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function yt(e){let t="";if(L(e))t=e;else if(E(e))for(let n=0;n<e.length;n++){const r=yt(e[n]);r&&(t+=r+" ")}else if(M(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function A(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let m;const Qe=new WeakSet;class _r{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Qe.has(this)&&(Qe.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||an(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,xt(this),cn(this);const t=m,n=V;m=this,V=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&m!==this&&A("Active effect was not restored correctly - this is likely a Vue internal bug."),ln(this),m=t,V=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)Et(t);this.deps=this.depsTail=void 0,xt(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Qe.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){st(this)&&this.run()}get dirty(){return st(this)}}let sn=0,ge,me;function an(e,t=!1){if(e.flags|=8,t){e.next=me,me=e;return}e.next=ge,ge=e}function vt(){sn++}function bt(){if(--sn>0)return;if(me){let t=me;for(me=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;ge;){let t=ge;for(ge=void 0;t;){const n=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(r){e||(e=r)}t=n}}if(e)throw e}function cn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function ln(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),Et(r),yr(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function st(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(un(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function un(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===be)||(e.globalVersion=be,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!st(e))))return;e.flags|=2;const t=e.dep,n=m,r=V;m=e,V=!0;try{cn(e);const o=e.fn(e._value);(t.version===0||B(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{m=n,V=r,ln(e),e.flags&=-3}}function Et(e,t=!1){const{dep:n,prevSub:r,nextSub:o}=e;if(r&&(r.nextSub=o,e.prevSub=void 0),o&&(o.prevSub=r,e.nextSub=void 0),process.env.NODE_ENV!=="production"&&n.subsHead===e&&(n.subsHead=o),n.subs===e&&(n.subs=r,!r&&n.computed)){n.computed.flags&=-5;for(let s=n.computed.deps;s;s=s.nextDep)Et(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function yr(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let V=!0;const fn=[];function ue(){fn.push(V),V=!1}function fe(){const e=fn.pop();V=e===void 0?!0:e}function xt(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=m;m=void 0;try{t()}finally{m=n}}}let be=0;class vr{constructor(t,n){this.sub=t,this.dep=n,this.version=n.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Tt{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,process.env.NODE_ENV!=="production"&&(this.subsHead=void 0)}track(t){if(!m||!V||m===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==m)n=this.activeLink=new vr(m,this),m.deps?(n.prevDep=m.depsTail,m.depsTail.nextDep=n,m.depsTail=n):m.deps=m.depsTail=n,dn(n);else if(n.version===-1&&(n.version=this.version,n.nextDep)){const r=n.nextDep;r.prevDep=n.prevDep,n.prevDep&&(n.prevDep.nextDep=r),n.prevDep=m.depsTail,n.nextDep=void 0,m.depsTail.nextDep=n,m.depsTail=n,m.deps===n&&(m.deps=r)}return process.env.NODE_ENV!=="production"&&m.onTrack&&m.onTrack(z({effect:m},t)),n}trigger(t){this.version++,be++,this.notify(t)}notify(t){vt();try{if(process.env.NODE_ENV!=="production")for(let n=this.subsHead;n;n=n.nextSub)n.sub.onTrigger&&!(n.sub.flags&8)&&n.sub.onTrigger(z({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{bt()}}}function dn(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let r=t.deps;r;r=r.nextDep)dn(r)}const n=e.dep.subs;n!==e&&(e.prevSub=n,n&&(n.nextSub=e)),process.env.NODE_ENV!=="production"&&e.dep.subsHead===void 0&&(e.dep.subsHead=e),e.dep.subs=e}}const it=new WeakMap,J=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),at=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Ee=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function D(e,t,n){if(V&&m){let r=it.get(e);r||it.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new Tt),o.map=r,o.key=n),process.env.NODE_ENV!=="production"?o.track({target:e,type:t,key:n}):o.track()}}function j(e,t,n,r,o,s){const i=it.get(e);if(!i){be++;return}const a=l=>{l&&(process.env.NODE_ENV!=="production"?l.trigger({target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:s}):l.trigger())};if(vt(),t==="clear")i.forEach(a);else{const l=E(e),u=l&&mt(n);if(l&&n==="length"){const d=Number(r);i.forEach((c,f)=>{(f==="length"||f===Ee||!De(f)&&f>=d)&&a(c)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),u&&a(i.get(Ee)),t){case"add":l?u&&a(i.get("length")):(a(i.get(J)),ae(e)&&a(i.get(at)));break;case"delete":l||(a(i.get(J)),ae(e)&&a(i.get(at)));break;case"set":ae(e)&&a(i.get(J));break}}bt()}function ee(e){const t=h(e);return t===e?t:(D(t,"iterate",Ee),O(e)?t:t.map(P))}function St(e){return D(e=h(e),"iterate",Ee),e}function K(e,t){return F(e)?ce(e)?Te(P(t)):Te(t):P(t)}const br={__proto__:null,[Symbol.iterator](){return Ze(this,Symbol.iterator,e=>K(this,e))},concat(...e){return ee(this).concat(...e.map(t=>E(t)?ee(t):t))},entries(){return Ze(this,"entries",e=>(e[1]=K(this,e[1]),e))},every(e,t){return H(this,"every",e,t,void 0,arguments)},filter(e,t){return H(this,"filter",e,t,n=>n.map(r=>K(this,r)),arguments)},find(e,t){return H(this,"find",e,t,n=>K(this,n),arguments)},findIndex(e,t){return H(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return H(this,"findLast",e,t,n=>K(this,n),arguments)},findLastIndex(e,t){return H(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return H(this,"forEach",e,t,void 0,arguments)},includes(...e){return Xe(this,"includes",e)},indexOf(...e){return Xe(this,"indexOf",e)},join(e){return ee(this).join(e)},lastIndexOf(...e){return Xe(this,"lastIndexOf",e)},map(e,t){return H(this,"map",e,t,void 0,arguments)},pop(){return he(this,"pop")},push(...e){return he(this,"push",e)},reduce(e,...t){return Vt(this,"reduce",e,t)},reduceRight(e,...t){return Vt(this,"reduceRight",e,t)},shift(){return he(this,"shift")},some(e,t){return H(this,"some",e,t,void 0,arguments)},splice(...e){return he(this,"splice",e)},toReversed(){return ee(this).toReversed()},toSorted(e){return ee(this).toSorted(e)},toSpliced(...e){return ee(this).toSpliced(...e)},unshift(...e){return he(this,"unshift",e)},values(){return Ze(this,"values",e=>K(this,e))}};function Ze(e,t,n){const r=St(e),o=r[t]();return r!==e&&!O(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const Er=Array.prototype;function H(e,t,n,r,o,s){const i=St(e),a=i!==e&&!O(e),l=i[t];if(l!==Er[t]){const c=l.apply(e,s);return a?P(c):c}let u=n;i!==e&&(a?u=function(c,f){return n.call(this,K(e,c),f,e)}:n.length>2&&(u=function(c,f){return n.call(this,c,f,e)}));const d=l.call(i,u,r);return a&&o?o(d):d}function Vt(e,t,n,r){const o=St(e);let s=n;return o!==e&&(O(e)?n.length>3&&(s=function(i,a,l){return n.call(this,i,a,l,e)}):s=function(i,a,l){return n.call(this,i,K(e,a),l,e)}),o[t](s,...r)}function Xe(e,t,n){const r=h(e);D(r,"iterate",Ee);const o=r[t](...n);return(o===-1||o===!1)&&Le(n[0])?(n[0]=h(n[0]),r[t](...n)):o}function he(e,t,n=[]){ue(),vt();const r=h(e)[t].apply(e,n);return bt(),fe(),r}const Tr=sr("__proto__,__v_isRef,__isVue"),pn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(De));function Sr(e){De(e)||(e=String(e));const t=h(this);return D(t,"has",e),t.hasOwnProperty(e)}class hn{constructor(t=!1,n=!1){this._isReadonly=t,this._isShallow=n}get(t,n,r){if(n==="__v_skip")return t.__v_skip;const o=this._isReadonly,s=this._isShallow;if(n==="__v_isReactive")return!o;if(n==="__v_isReadonly")return o;if(n==="__v_isShallow")return s;if(n==="__v_raw")return r===(o?s?Rr:_n:s?Vr:mn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=E(t);if(!o){let l;if(i&&(l=br[n]))return l;if(n==="hasOwnProperty")return Sr}const a=Reflect.get(t,n,x(t)?t:r);if((De(n)?pn.has(n):Tr(n))||(o||D(t,"get",n),s))return a;if(x(a)){const l=i&&mt(n)?a:a.value;return o&&M(l)?ke(l):l}return M(a)?o?ke(a):yn(a):a}}class wr extends hn{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=E(t)&&mt(n);if(!this._isShallow){const u=F(s);if(!O(r)&&!F(r)&&(s=h(s),r=h(r)),!i&&x(s)&&!x(r))return u?(process.env.NODE_ENV!=="production"&&A(`Set operation on key "${String(n)}" failed: target is readonly.`,t[n]),!0):(s.value=r,!0)}const a=i?Number(n)<t.length:ot(t,n),l=Reflect.set(t,n,r,x(t)?t:o);return t===h(o)&&(a?B(r,s)&&j(t,"set",n,r,s):j(t,"add",n,r)),l}deleteProperty(t,n){const r=ot(t,n),o=t[n],s=Reflect.deleteProperty(t,n);return s&&r&&j(t,"delete",n,void 0,o),s}has(t,n){const r=Reflect.has(t,n);return(!De(n)||!pn.has(n))&&D(t,"has",n),r}ownKeys(t){return D(t,"iterate",E(t)?"length":J),Reflect.ownKeys(t)}}class Nr extends hn{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&A(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&A(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Cr=new wr,Dr=new Nr,ct=e=>e,Oe=e=>Reflect.getPrototypeOf(e);function Mr(e,t,n){return function(...r){const o=this.__v_raw,s=h(o),i=ae(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...r),d=n?ct:t?Te:P;return!t&&D(s,"iterate",l?at:J),{next(){const{value:c,done:f}=u.next();return f?{value:c,done:f}:{value:a?[d(c[0]),d(c[1])]:d(c),done:f}},[Symbol.iterator](){return this}}}}function $e(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";A(`${on(e)} operation ${n}failed: target is readonly.`,h(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function Or(e,t){const n={get(o){const s=this.__v_raw,i=h(s),a=h(o);e||(B(o,a)&&D(i,"get",o),D(i,"get",a));const{has:l}=Oe(i),u=t?ct:e?Te:P;if(l.call(i,o))return u(s.get(o));if(l.call(i,a))return u(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&D(h(o),"iterate",J),o.size},has(o){const s=this.__v_raw,i=h(s),a=h(o);return e||(B(o,a)&&D(i,"has",o),D(i,"has",a)),o===a?s.has(o):s.has(o)||s.has(a)},forEach(o,s){const i=this,a=i.__v_raw,l=h(a),u=t?ct:e?Te:P;return!e&&D(l,"iterate",J),a.forEach((d,c)=>o.call(s,u(d),u(c),i))}};return z(n,e?{add:$e("add"),set:$e("set"),delete:$e("delete"),clear:$e("clear")}:{add(o){!t&&!O(o)&&!F(o)&&(o=h(o));const s=h(this);return Oe(s).has.call(s,o)||(s.add(o),j(s,"add",o,o)),this},set(o,s){!t&&!O(s)&&!F(s)&&(s=h(s));const i=h(this),{has:a,get:l}=Oe(i);let u=a.call(i,o);u?process.env.NODE_ENV!=="production"&&Rt(i,a,o):(o=h(o),u=a.call(i,o));const d=l.call(i,o);return i.set(o,s),u?B(s,d)&&j(i,"set",o,s,d):j(i,"add",o,s),this},delete(o){const s=h(this),{has:i,get:a}=Oe(s);let l=i.call(s,o);l?process.env.NODE_ENV!=="production"&&Rt(s,i,o):(o=h(o),l=i.call(s,o));const u=a?a.call(s,o):void 0,d=s.delete(o);return l&&j(s,"delete",o,void 0,u),d},clear(){const o=h(this),s=o.size!==0,i=process.env.NODE_ENV!=="production"?ae(o)?new Map(o):new Set(o):void 0,a=o.clear();return s&&j(o,"clear",void 0,void 0,i),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=Mr(o,e,t)}),n}function gn(e,t){const n=Or(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(ot(n,o)&&o in r?n:r,o,s)}const $r={get:gn(!1,!1)},xr={get:gn(!0,!1)};function Rt(e,t,n){const r=h(n);if(r!==n&&t.call(e,r)){const o=nn(e);A(`Reactive ${o} contains both the raw and reactive versions of the same object${o==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const mn=new WeakMap,Vr=new WeakMap,_n=new WeakMap,Rr=new WeakMap;function Ir(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Ar(e){return e.__v_skip||!Object.isExtensible(e)?0:Ir(nn(e))}function yn(e){return F(e)?e:vn(e,!1,Cr,$r,mn)}function ke(e){return vn(e,!0,Dr,xr,_n)}function vn(e,t,n,r,o){if(!M(e))return process.env.NODE_ENV!=="production"&&A(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=Ar(e);if(s===0)return e;const i=o.get(e);if(i)return i;const a=new Proxy(e,s===2?r:n);return o.set(e,a),a}function ce(e){return F(e)?ce(e.__v_raw):!!(e&&e.__v_isReactive)}function F(e){return!!(e&&e.__v_isReadonly)}function O(e){return!!(e&&e.__v_isShallow)}function Le(e){return e?!!e.__v_raw:!1}function h(e){const t=e&&e.__v_raw;return t?h(t):e}const P=e=>M(e)?yn(e):e,Te=e=>M(e)?ke(e):e;function x(e){return e?e.__v_isRef===!0:!1}function wt(e){return Fr(e,!1)}function Fr(e,t){return x(e)?e:new Hr(e,t)}class Hr{constructor(t,n){this.dep=new Tt,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:h(t),this._value=n?t:P(t),this.__v_isShallow=n}get value(){return process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track(),this._value}set value(t){const n=this._rawValue,r=this.__v_isShallow||O(t)||F(t);t=r?t:h(t),B(t,n)&&(this._rawValue=t,this._value=r?t:P(t),process.env.NODE_ENV!=="production"?this.dep.trigger({target:this,type:"set",key:"value",newValue:t,oldValue:n}):this.dep.trigger())}}class kr{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new Tt(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=be-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&m!==this)return an(this,!0),!0;process.env.NODE_ENV}get value(){const t=process.env.NODE_ENV!=="production"?this.dep.track({target:this,type:"get",key:"value"}):this.dep.track();return un(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&A("Write operation failed: computed value is readonly")}}function Lr(e,t,n=!1){let r,o;N(e)?r=e:(r=e.get,o=e.set);const s=new kr(r,o,n);return process.env.NODE_ENV,s}const xe={},Pe=new WeakMap;let Y;function Pr(e,t=!1,n=Y){if(n){let r=Pe.get(n);r||Pe.set(n,r=[]),r.push(e)}else process.env.NODE_ENV!=="production"&&!t&&A("onWatcherCleanup() was called when there was no active watcher to associate with.")}function Kr(e,t,n=ve){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,u=g=>{(n.onWarn||A)("Invalid watch source: ",g,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},d=g=>o?g:O(g)||o===!1||o===0?U(g,1):U(g);let c,f,p,_,S=!1,C=!1;if(x(e)?(f=()=>e.value,S=O(e)):ce(e)?(f=()=>d(e),S=!0):E(e)?(C=!0,S=e.some(g=>ce(g)||O(g)),f=()=>e.map(g=>{if(x(g))return g.value;if(ce(g))return d(g);if(N(g))return l?l(g,2):g();process.env.NODE_ENV!=="production"&&u(g)})):N(e)?t?f=l?()=>l(e,2):e:f=()=>{if(p){ue();try{p()}finally{fe()}}const g=Y;Y=c;try{return l?l(e,3,[_]):e(_)}finally{Y=g}}:(f=ie,process.env.NODE_ENV!=="production"&&u(e)),t&&o){const g=f,I=o===!0?1/0:o;f=()=>U(g(),I)}const X=()=>{c.stop()};if(s&&t){const g=t;t=(...I)=>{g(...I),X()}}let G=C?new Array(e.length).fill(xe):xe;const pe=g=>{if(!(!(c.flags&1)||!c.dirty&&!g))if(t){const I=c.run();if(o||S||(C?I.some((Je,Me)=>B(Je,G[Me])):B(I,G))){p&&p();const Je=Y;Y=c;try{const Me=[I,G===xe?void 0:C&&G[0]===xe?[]:G,_];G=I,l?l(t,3,Me):t(...Me)}finally{Y=Je}}}else c.run()};return a&&a(pe),c=new _r(f),c.scheduler=i?()=>i(pe,!1):pe,_=g=>Pr(g,!1,c),p=c.onStop=()=>{const g=Pe.get(c);if(g){if(l)l(g,4);else for(const I of g)I();Pe.delete(c)}},process.env.NODE_ENV!=="production"&&(c.onTrack=n.onTrack,c.onTrigger=n.onTrigger),t?r?pe(!0):G=c.run():i?i(pe.bind(null,!0),!0):c.run(),X.pause=c.pause.bind(c),X.resume=c.resume.bind(c),X.stop=X,X}function U(e,t=1/0,n){if(t<=0||!M(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,x(e))U(e.value,t,n);else if(E(e))for(let r=0;r<e.length;r++)U(e[r],t,n);else if(cr(e)||ae(e))e.forEach(r=>{U(r,t,n)});else if(fr(e)){for(const r in e)U(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&U(e[r],t,n)}return e}const Q=[];function Wr(e){Q.push(e)}function jr(){Q.pop()}let et=!1;function w(e,...t){if(et)return;et=!0,ue();const n=Q.length?Q[Q.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=Ur();if(r)qe(r,n,11,[e+t.map(s=>{var i,a;return(a=(i=s.toString)==null?void 0:i.call(s))!=null?a:JSON.stringify(s)}).join(""),n&&n.proxy,o.map(({vnode:s})=>`at <${Hn(n,s.type)}>`).join(`
2
2
  `),o]);else{const s=[`[Vue warn]: ${e}`,...t];o.length&&s.push(`
3
- `,...Nr(o)),console.warn(...s)}ae(),Je=!1}function Tr(){let e=Y[Y.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Nr(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
4
- `],...Mr(n))}),t}function Mr({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${Tn(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...Or(e.props),s]:[o+s]}function Or(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...an(r,e[r]))}),n.length>3&&t.push(" ..."),t}function an(e,t,n){return A(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:O(t)?(t=an(e,h(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):S(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=h(t),n?t:[`${e}=`,t])}const gt={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function je(e,t,n,r){try{return r?e(...r):e()}catch(o){yt(o,t,n)}}function _t(e,t,n,r){if(S(e)){const o=je(e,t,n,r);return o&&jn(o)&&o.catch(s=>{yt(s,t,n)}),o}if(y(e)){const o=[];for(let s=0;s<e.length;s++)o.push(_t(e[s],t,n,r));return o}else process.env.NODE_ENV!=="production"&&E(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function yt(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||me;if(t){let a=t.parent;const l=t.proxy,u=process.env.NODE_ENV!=="production"?gt[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const d=a.ec;if(d){for(let c=0;c<d.length;c++)if(d[c](e,l,u)===!1)return}a=a.parent}if(s){ie(),je(s,null,10,[e,l,u]),ae();return}}Dr(e,n,o,r,i)}function Dr(e,t,n,r=!0,o=!1){if(process.env.NODE_ENV!=="production"){const s=gt[t];if(n&&br(n),E(`Unhandled error${s?` during execution of ${s}`:""}`),n&&wr(),r)throw e;console.error(e)}else{if(o)throw e;console.error(e)}}const M=[];let R=-1;const se=[];let P=null,Q=0;const $r=Promise.resolve();let rt=null;const Cr=100;function Vr(e){let t=R+1,n=M.length;for(;t<n;){const r=t+n>>>1,o=M[r],s=ve(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function cn(e){if(!(e.flags&1)){const t=ve(e),n=M[M.length-1];!n||!(e.flags&2)&&t>=ve(n)?M.push(e):M.splice(Vr(t),0,e),e.flags|=1,ln()}}function ln(){rt||(rt=$r.then(fn))}function un(e){y(e)?se.push(...e):P&&e.id===-1?P.splice(Q+1,0,e):e.flags&1||(se.push(e),e.flags|=1),ln()}function xr(e){if(se.length){const t=[...new Set(se)].sort((n,r)=>ve(n)-ve(r));if(se.length=0,P){P.push(...t);return}for(P=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),Q=0;Q<P.length;Q++){const n=P[Q];process.env.NODE_ENV!=="production"&&dn(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}P=null,Q=0}}const ve=e=>e.id==null?e.flags&2?-1:1/0:e.id;function fn(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>dn(e,n):ne;try{for(R=0;R<M.length;R++){const n=M[R];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),je(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;R<M.length;R++){const n=M[R];n&&(n.flags&=-2)}R=-1,M.length=0,xr(e),rt=null,(M.length||se.length)&&fn(e)}}function dn(e,t){const n=e.get(t)||0;if(n>Cr){const r=t.i,o=r&&wn(r.type);return yt(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}const Ge=new Map;process.env.NODE_ENV!=="production"&&(We().__VUE_HMR_RUNTIME__={createRecord:qe(Ir),rerender:qe(Rr),reload:qe(Ar)});const Ae=new Map;function Ir(e,t){return Ae.has(e)?!1:(Ae.set(e,{initialDef:He(t),instances:new Set}),!0)}function He(e){return Nn(e)?e.__vccOpts:e}function Rr(e,t){const n=Ae.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,He(r.type).render=t),r.renderCache=[],r.job.flags&8||r.update()}))}function Ar(e,t){const n=Ae.get(e);if(!n)return;t=He(t),Nt(n.initialDef,t);const r=[...n.instances];for(let o=0;o<r.length;o++){const s=r[o],i=He(s.type);let a=Ge.get(i);a||(i!==n.initialDef&&Nt(i,t),Ge.set(i,a=new Set)),a.add(s),s.appContext.propsCache.delete(s.type),s.appContext.emitsCache.delete(s.type),s.appContext.optionsCache.delete(s.type),s.ceReload?(a.add(s),s.ceReload(t.styles),a.delete(s)):s.parent?cn(()=>{s.job.flags&8||(s.parent.update(),a.delete(s))}):s.appContext.reload?s.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),s.root.ce&&s!==s.root&&s.root.ce._removeChildStyle(i)}un(()=>{Ge.clear()})}function Nt(e,t){W(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function qe(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let Z,De=[];function pn(e,t){var n,r;Z=e,Z?(Z.enabled=!0,De.forEach(({event:o,args:s})=>Z.emit(o,...s)),De=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{pn(s,t)}),setTimeout(()=>{Z||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,De=[])},3e3)):De=[]}let Ee=null,Hr=null;function kr(e,t,n=!1){const r=bn();if(r||Br){let o=r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&S(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&E(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&E("inject() can only be used inside setup() or functional components.")}const Pr=Symbol.for("v-scx"),Fr=()=>{{const e=kr(Pr);return e||process.env.NODE_ENV!=="production"&&E("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Lr(e,t,n){return process.env.NODE_ENV!=="production"&&!S(t)&&E("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Kr(e,t,n)}function Kr(e,t,n=me){const{immediate:r,deep:o,flush:s,once:i}=n;process.env.NODE_ENV!=="production"&&!t&&(r!==void 0&&E('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&E('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&E('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=W({},n);process.env.NODE_ENV!=="production"&&(a.onWarn=E);const l=t&&r||!t&&s!=="post";let u;if(Se){if(s==="sync"){const p=Fr();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=ne,p.resume=ne,p.pause=ne,p}}const d=ce;a.call=(p,_,N)=>_t(p,d,_,N);let c=!1;s==="post"?a.scheduler=p=>{Gr(p,d&&d.suspense)}:s!=="sync"&&(c=!0,a.scheduler=(p,_)=>{_?p():cn(p)}),a.augmentJob=p=>{t&&(p.flags|=4),c&&(p.flags|=2,d&&(p.id=d.uid,p.i=d))};const f=Sr(e,t,a);return Se&&(u?u.push(f):l&&f()),f}const Wr=e=>e.__isTeleport;function hn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,hn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}We().requestIdleCallback;We().cancelIdleCallback;function jr(e,t,n=ce,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{ie();const a=ao(n),l=_t(t,n,e,i);return a(),ae(),l});return r?o.unshift(s):o.push(s),s}else if(process.env.NODE_ENV!=="production"){const o=Yn(gt[e].replace(/ hook$/,""));E(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const mn=e=>(t,n=ce)=>{(!Se||e==="sp")&&jr(e,(...r)=>t(...r),n)},Ur=mn("m"),gn=mn("um"),zr=Symbol.for("v-ndc"),Yr={};process.env.NODE_ENV!=="production"&&(Yr.ownKeys=e=>(E("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let Br=null;const Jr={},_n=e=>Object.getPrototypeOf(e)===Jr,Gr=Qr,qr=e=>e.__isSuspense;function Qr(e,t){t&&t.pendingBranch?y(e)?t.effects.push(...e):t.effects.push(e):un(e)}const yn=Symbol.for("v-fgt"),Zr=Symbol.for("v-txt"),Xr=Symbol.for("v-cmt");function eo(e){return e?e.__v_isVNode===!0:!1}const to=(...e)=>En(...e),vn=({key:e})=>e??null,Ce=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?A(e)||O(e)||S(e)?{i:Ee,r:e,k:t,f:!!n}:e:null);function no(e,t=null,n=null,r=0,o=null,s=e===yn?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vn(t),ref:t&&Ce(t),scopeId:Hr,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:Ee};return a?(vt(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=A(n)?8:16),process.env.NODE_ENV!=="production"&&l.key!==l.key&&E("VNode created with invalid key (NaN). VNode type:",l.type),l}const ro=process.env.NODE_ENV!=="production"?to:En;function En(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===zr)&&(process.env.NODE_ENV!=="production"&&!e&&E(`Invalid vnode type when creating vnode: ${e}.`),e=Xr),eo(e)){const a=ke(e,t,!0);return n&&vt(a,n),a.patchFlag=-2,a}if(Nn(e)&&(e=e.__vccOpts),t){t=oo(t);let{class:a,style:l}=t;a&&!A(a)&&(t.class=lt(a)),w(l)&&(Ie(l)&&!y(l)&&(l=W({},l)),t.style=ct(l))}const i=A(e)?1:qr(e)?128:Wr(e)?64:w(e)?4:S(e)?2:0;return process.env.NODE_ENV!=="production"&&i&4&&Ie(e)&&(e=h(e),E("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
5
- Component that was made reactive: `,e)),no(e,t,n,r,o,i,s,!0)}function oo(e){return e?Ie(e)||_n(e)?W({},e):e:null}function ke(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,u=t?io(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&vn(u),ref:t&&t.ref?n&&s?y(s)?s.concat(Ce(t)):[s,Ce(t)]:Ce(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&i===-1&&y(a)?a.map(Sn):a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==yn?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&ke(e.ssContent),ssFallback:e.ssFallback&&ke(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&hn(d,l.clone(d)),d}function Sn(e){const t=ke(e);return y(e.children)&&(t.children=e.children.map(Sn)),t}function so(e=" ",t=0){return ro(Zr,null,e,t)}function vt(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(y(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),vt(e,o()),o._c&&(o._d=!0));return}else n=32,!t._&&!_n(t)&&(t._ctx=Ee);else S(t)?(t={default:t,_ctx:Ee},n=32):(t=String(t),r&64?(n=16,t=[so(t)]):n=8);e.children=t,e.shapeFlag|=n}function io(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=lt([t.class,r.class]));else if(o==="style")t.style=ct([t.style,r.style]);else if(Ln(o)){const s=t[o],i=r[o];i&&s!==i&&!(y(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}let ce=null;const bn=()=>ce||Ee;let ot;{const e=We(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};ot=t("__VUE_INSTANCE_SETTERS__",n=>ce=n),t("__VUE_SSR_SETTERS__",n=>Se=n)}const ao=e=>{const t=ce;return ot(e),e.scope.on(),()=>{e.scope.off(),ot(t)}};let Se=!1;process.env.NODE_ENV;const co=/(?:^|[-_])\w/g,lo=e=>e.replace(co,t=>t.toUpperCase()).replace(/[-_]/g,"");function wn(e,t=!0){return S(e)?e.displayName||e.name:e.name||t&&e.__name}function Tn(e,t,n=!1){let r=wn(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e){const o=s=>{for(const i in s)if(s[i]===t)return i};r=o(e.components)||e.parent&&o(e.parent.type.components)||o(e.appContext.components)}return r?lo(r):n?"App":"Anonymous"}function Nn(e){return S(e)&&"__vccOpts"in e}const $e=(e,t)=>{const n=vr(e,t,Se);if(process.env.NODE_ENV!=="production"){const r=bn();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function uo(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},r={style:"color:#eb2f96"},o={__vue_custom_formatter:!0,header(c){if(!w(c))return null;if(c.__isVue)return["div",e,"VueInstance"];if(O(c)){ie();const f=c.value;return ae(),["div",{},["span",e,d(c)],"<",a(f),">"]}else{if(oe(c))return["div",{},["span",e,T(c)?"ShallowReactive":"Reactive"],"<",a(c),`>${x(c)?" (readonly)":""}`];if(x(c))return["div",{},["span",e,T(c)?"ShallowReadonly":"Readonly"],"<",a(c),">"]}return null},hasBody(c){return c&&c.__isVue},body(c){if(c&&c.__isVue)return["div",{},...s(c.$)]}};function s(c){const f=[];c.type.props&&c.props&&f.push(i("props",h(c.props))),c.setupState!==me&&f.push(i("setup",c.setupState)),c.data!==me&&f.push(i("data",h(c.data)));const p=l(c,"computed");p&&f.push(i("computed",p));const _=l(c,"inject");return _&&f.push(i("injected",_)),f.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:c}]]),f}function i(c,f){return f=W({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},c],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(p=>["div",{},["span",r,p+": "],a(f[p],!1)])]]:["span",{}]}function a(c,f=!0){return typeof c=="number"?["span",t,c]:typeof c=="string"?["span",n,JSON.stringify(c)]:typeof c=="boolean"?["span",r,c]:w(c)?["object",{object:f?h(c):c}]:["span",n,String(c)]}function l(c,f){const p=c.type;if(S(p))return;const _={};for(const N in c.ctx)u(p,N,f)&&(_[N]=c.ctx[N]);return _}function u(c,f,p){const _=c[p];if(y(_)&&_.includes(f)||w(_)&&f in _||c.extends&&u(c.extends,f,p)||c.mixins&&c.mixins.some(N=>u(N,f,p)))return!0}function d(c){return T(c)?"ShallowRef":c.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(o):window.devtoolsFormatters=[o]}process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;function fo(){uo()}process.env.NODE_ENV!=="production"&&fo();const v=mt({mode:"light",variant:"default",isChanging:!1});let Mt=!1,q=null;function Et(){if(!Mt&&typeof window<"u"){const u=Ht();v.value={mode:u.mode,variant:u.variant,isChanging:!1},Mt=!0}const e=$e(()=>v.value.mode),t=$e(()=>v.value.variant),n=$e(()=>v.value.mode==="dark"),r=$e(()=>v.value.isChanging),o=(u,d={})=>{v.value.isChanging=!0,te({mode:u},d),v.value.mode=u,setTimeout(()=>{v.value.isChanging=!1},300)},s=(u,d={})=>{v.value.isChanging=!0,te({variant:u},d),v.value.variant=u,setTimeout(()=>{v.value.isChanging=!1},300)},i=(u={})=>{const d=At(u);v.value.mode=d},a=(u,d={})=>{v.value.isChanging=!0,te(u,d),u.mode&&(v.value.mode=u.mode),u.variant&&(v.value.variant=u.variant),setTimeout(()=>{v.value.isChanging=!1},300)},l=()=>Ft(v.value.variant);return{theme:v.value,mode:e.value,variant:t.value,isDark:n.value,isChanging:r.value,setMode:o,setVariant:s,toggleDarkMode:i,setTheme:a,getAvailableThemes:Pt,getCurrentThemeMetadata:l}}function po(e=mt(!0)){const{setMode:t}=Et(),n=()=>{q&&q(),q=kt(o=>{e.value&&t(o,{transition:!0,persist:!1})})},r=()=>{q&&(q(),q=null)};Lr(e,o=>{o?n():r()},{immediate:!0}),gn(()=>{r()})}function ho(e){const t=mt(""),n=()=>{if(typeof window>"u")return;const r=document.documentElement,o=getComputedStyle(r).getPropertyValue(`--${e}`).trim();o&&!o.startsWith("hsl")?t.value=`hsl(${o})`:t.value=o};return Ur(()=>{n();const r=new MutationObserver(()=>{n()});r.observe(document.documentElement,{attributes:!0,attributeFilter:["class","data-theme"]}),gn(()=>{r.disconnect()})}),xe(t)}function mo(){const{isChanging:e}=Et();return{isTransitioning:e}}exports.CSS_CLASSES=X;exports.DEFAULT_THEME_MODE=Pe;exports.DEFAULT_THEME_VARIANT=pe;exports.HTML_ATTRIBUTES=he;exports.STORAGE_KEYS=B;exports.THEMES_BY_CATEGORY=Mn;exports.THEME_MAP=Fe;exports.THEME_METADATA=ee;exports.THEME_TRANSITION_DURATION=Ve;exports.applyCustomTheme=Le;exports.applyMode=Vt;exports.applyTheme=te;exports.applyThemeFromPrimary=Pn;exports.applyVariant=xt;exports.clearCustomTheme=An;exports.clearStoredTheme=On;exports.detectSystemTheme=$n;exports.disableTransition=Rt;exports.enableTransition=It;exports.generateThemeFromPrimary=it;exports.getAvailableThemes=Pt;exports.getCSSVariable=Lt;exports.getCurrentMode=st;exports.getCurrentVariant=Dn;exports.getHtmlElement=$;exports.getStoredCustomTheme=Kt;exports.getStoredMode=Ot;exports.getStoredVariant=Dt;exports.getThemeColor=xn;exports.getThemeMetadata=Ft;exports.hexToHSL=Wt;exports.initTheme=Ht;exports.isValidMode=Rn;exports.isValidVariant=In;exports.parseHSL=Qe;exports.restoreCustomTheme=Hn;exports.rgbToHSL=kn;exports.setCSSVariable=Vn;exports.storeMode=$t;exports.storeVariant=Ct;exports.toHSLString=Cn;exports.toggleDarkMode=At;exports.useSystemTheme=po;exports.useTheme=Et;exports.useThemeColor=ho;exports.useThemeTransition=mo;exports.watchSystemTheme=kt;
3
+ `,...Br(o)),console.warn(...s)}fe(),et=!1}function Ur(){let e=Q[Q.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const r=e.component&&e.component.parent;e=r&&r.vnode}return t}function Br(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
4
+ `],...zr(n))}),t}function zr({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${Hn(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...Gr(e.props),s]:[o+s]}function Gr(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...bn(r,e[r]))}),n.length>3&&t.push(" ..."),t}function bn(e,t,n){return L(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):typeof t=="number"||typeof t=="boolean"||t==null?n?t:[`${e}=${t}`]:x(t)?(t=bn(e,h(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):N(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=h(t),n?t:[`${e}=`,t])}const Nt={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function qe(e,t,n,r){try{return r?e(...r):e()}catch(o){Dt(o,t,n)}}function Ct(e,t,n,r){if(N(e)){const o=qe(e,t,n,r);return o&&lr(o)&&o.catch(s=>{Dt(s,t,n)}),o}if(E(e)){const o=[];for(let s=0;s<e.length;s++)o.push(Ct(e[s],t,n,r));return o}else process.env.NODE_ENV!=="production"&&w(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function Dt(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ve;if(t){let a=t.parent;const l=t.proxy,u=process.env.NODE_ENV!=="production"?Nt[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const d=a.ec;if(d){for(let c=0;c<d.length;c++)if(d[c](e,l,u)===!1)return}a=a.parent}if(s){ue(),qe(s,null,10,[e,l,u]),fe();return}}Yr(e,n,o,r,i)}function Yr(e,t,n,r=!0,o=!1){if(process.env.NODE_ENV!=="production"){const s=Nt[t];if(n&&Wr(n),w(`Unhandled error${s?` during execution of ${s}`:""}`),n&&jr(),r)throw e;console.error(e)}else{if(o)throw e;console.error(e)}}const $=[];let k=-1;const le=[];let W=null,ne=0;const qr=Promise.resolve();let lt=null;const Jr=100;function Qr(e){let t=k+1,n=$.length;for(;t<n;){const r=t+n>>>1,o=$[r],s=Se(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function En(e){if(!(e.flags&1)){const t=Se(e),n=$[$.length-1];!n||!(e.flags&2)&&t>=Se(n)?$.push(e):$.splice(Qr(t),0,e),e.flags|=1,Tn()}}function Tn(){lt||(lt=qr.then(wn))}function Sn(e){E(e)?le.push(...e):W&&e.id===-1?W.splice(ne+1,0,e):e.flags&1||(le.push(e),e.flags|=1),Tn()}function Zr(e){if(le.length){const t=[...new Set(le)].sort((n,r)=>Se(n)-Se(r));if(le.length=0,W){W.push(...t);return}for(W=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),ne=0;ne<W.length;ne++){const n=W[ne];process.env.NODE_ENV!=="production"&&Nn(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}W=null,ne=0}}const Se=e=>e.id==null?e.flags&2?-1:1/0:e.id;function wn(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>Nn(e,n):ie;try{for(k=0;k<$.length;k++){const n=$[k];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),qe(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;k<$.length;k++){const n=$[k];n&&(n.flags&=-2)}k=-1,$.length=0,Zr(e),lt=null,($.length||le.length)&&wn(e)}}function Nn(e,t){const n=e.get(t)||0;if(n>Jr){const r=t.i,o=r&&Fn(r.type);return Dt(`Maximum recursive updates exceeded${o?` in component <${o}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}return e.set(t,n+1),!1}const tt=new Map;process.env.NODE_ENV!=="production"&&(Ye().__VUE_HMR_RUNTIME__={createRecord:nt(Xr),rerender:nt(eo),reload:nt(to)});const Ke=new Map;function Xr(e,t){return Ke.has(e)?!1:(Ke.set(e,{initialDef:We(t),instances:new Set}),!0)}function We(e){return kn(e)?e.__vccOpts:e}function eo(e,t){const n=Ke.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,We(r.type).render=t),r.renderCache=[],r.job.flags&8||r.update()}))}function to(e,t){const n=Ke.get(e);if(!n)return;t=We(t),It(n.initialDef,t);const r=[...n.instances];for(let o=0;o<r.length;o++){const s=r[o],i=We(s.type);let a=tt.get(i);a||(i!==n.initialDef&&It(i,t),tt.set(i,a=new Set)),a.add(s),s.appContext.propsCache.delete(s.type),s.appContext.emitsCache.delete(s.type),s.appContext.optionsCache.delete(s.type),s.ceReload?(a.add(s),s.ceReload(t.styles),a.delete(s)):s.parent?En(()=>{s.job.flags&8||(s.parent.update(),a.delete(s))}):s.appContext.reload?s.appContext.reload():typeof window<"u"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required."),s.root.ce&&s!==s.root&&s.root.ce._removeChildStyle(i)}Sn(()=>{tt.clear()})}function It(e,t){z(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function nt(e){return(t,n)=>{try{return e(t,n)}catch(r){console.error(r),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let re,Ve=[];function Cn(e,t){var n,r;re=e,re?(re.enabled=!0,Ve.forEach(({event:o,args:s})=>re.emit(o,...s)),Ve=[]):typeof window<"u"&&window.HTMLElement&&!((r=(n=window.navigator)==null?void 0:n.userAgent)!=null&&r.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(s=>{Cn(s,t)}),setTimeout(()=>{re||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ve=[])},3e3)):Ve=[]}let we=null,no=null;function ro(e,t,n=!1){const r=An();if(r||ho){let o=r?r.parent==null||r.ce?r.vnode.appContext&&r.vnode.appContext.provides:r.parent.provides:void 0;if(o&&e in o)return o[e];if(arguments.length>1)return n&&N(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&w(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&w("inject() can only be used inside setup() or functional components.")}const oo=Symbol.for("v-scx"),so=()=>{{const e=ro(oo);return e||process.env.NODE_ENV!=="production"&&w("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function io(e,t,n){return process.env.NODE_ENV!=="production"&&!N(t)&&w("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),ao(e,t,n)}function ao(e,t,n=ve){const{immediate:r,deep:o,flush:s,once:i}=n;process.env.NODE_ENV!=="production"&&!t&&(r!==void 0&&w('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&w('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&w('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=z({},n);process.env.NODE_ENV!=="production"&&(a.onWarn=w);const l=t&&r||!t&&s!=="post";let u;if(Ne){if(s==="sync"){const p=so();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=ie,p.resume=ie,p.pause=ie,p}}const d=de;a.call=(p,_,S)=>Ct(p,d,_,S);let c=!1;s==="post"?a.scheduler=p=>{mo(p,d&&d.suspense)}:s!=="sync"&&(c=!0,a.scheduler=(p,_)=>{_?p():En(p)}),a.augmentJob=p=>{t&&(p.flags|=4),c&&(p.flags|=2,d&&(p.id=d.uid,p.i=d))};const f=Kr(e,t,a);return Ne&&(u?u.push(f):l&&f()),f}const co=e=>e.__isTeleport;function Dn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,Dn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}Ye().requestIdleCallback;Ye().cancelIdleCallback;function lo(e,t,n=de,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{ue();const a=Mo(n),l=Ct(t,n,e,i);return a(),fe(),l});return r?o.unshift(s):o.push(s),s}else if(process.env.NODE_ENV!=="production"){const o=dr(Nt[e].replace(/ hook$/,""));w(`${o} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const Mn=e=>(t,n=de)=>{(!Ne||e==="sp")&&lo(e,(...r)=>t(...r),n)},uo=Mn("m"),On=Mn("um"),fo=Symbol.for("v-ndc"),po={};process.env.NODE_ENV!=="production"&&(po.ownKeys=e=>(w("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(e)));let ho=null;const go={},$n=e=>Object.getPrototypeOf(e)===go,mo=yo,_o=e=>e.__isSuspense;function yo(e,t){t&&t.pendingBranch?E(e)?t.effects.push(...e):t.effects.push(e):Sn(e)}const xn=Symbol.for("v-fgt"),vo=Symbol.for("v-txt"),bo=Symbol.for("v-cmt");function Eo(e){return e?e.__v_isVNode===!0:!1}const To=(...e)=>Rn(...e),Vn=({key:e})=>e??null,Ie=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?L(e)||x(e)||N(e)?{i:we,r:e,k:t,f:!!n}:e:null);function So(e,t=null,n=null,r=0,o=null,s=e===xn?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Vn(t),ref:t&&Ie(t),scopeId:no,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:r,dynamicProps:o,dynamicChildren:null,appContext:null,ctx:we};return a?(Mt(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=L(n)?8:16),process.env.NODE_ENV!=="production"&&l.key!==l.key&&w("VNode created with invalid key (NaN). VNode type:",l.type),l}const wo=process.env.NODE_ENV!=="production"?To:Rn;function Rn(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===fo)&&(process.env.NODE_ENV!=="production"&&!e&&w(`Invalid vnode type when creating vnode: ${e}.`),e=bo),Eo(e)){const a=je(e,t,!0);return n&&Mt(a,n),a.patchFlag=-2,a}if(kn(e)&&(e=e.__vccOpts),t){t=No(t);let{class:a,style:l}=t;a&&!L(a)&&(t.class=yt(a)),M(l)&&(Le(l)&&!E(l)&&(l=z({},l)),t.style=_t(l))}const i=L(e)?1:_o(e)?128:co(e)?64:M(e)?4:N(e)?2:0;return process.env.NODE_ENV!=="production"&&i&4&&Le(e)&&(e=h(e),w("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
5
+ Component that was made reactive: `,e)),So(e,t,n,r,o,i,s,!0)}function No(e){return e?Le(e)||$n(e)?z({},e):e:null}function je(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,u=t?Do(o||{},t):o,d={__v_isVNode:!0,__v_skip:!0,type:e.type,props:u,key:u&&Vn(u),ref:t&&t.ref?n&&s?E(s)?s.concat(Ie(t)):[s,Ie(t)]:Ie(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&i===-1&&E(a)?a.map(In):a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xn?i===-1?16:i|16:i,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:l,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&je(e.ssContent),ssFallback:e.ssFallback&&je(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Dn(d,l.clone(d)),d}function In(e){const t=je(e);return E(e.children)&&(t.children=e.children.map(In)),t}function Co(e=" ",t=0){return wo(vo,null,e,t)}function Mt(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(E(t))n=16;else if(typeof t=="object")if(r&65){const o=t.default;o&&(o._c&&(o._d=!1),Mt(e,o()),o._c&&(o._d=!0));return}else n=32,!t._&&!$n(t)&&(t._ctx=we);else N(t)?(t={default:t,_ctx:we},n=32):(t=String(t),r&64?(n=16,t=[Co(t)]):n=8);e.children=t,e.shapeFlag|=n}function Do(...e){const t={};for(let n=0;n<e.length;n++){const r=e[n];for(const o in r)if(o==="class")t.class!==r.class&&(t.class=yt([t.class,r.class]));else if(o==="style")t.style=_t([t.style,r.style]);else if(ir(o)){const s=t[o],i=r[o];i&&s!==i&&!(E(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}let de=null;const An=()=>de||we;let ut;{const e=Ye(),t=(n,r)=>{let o;return(o=e[n])||(o=e[n]=[]),o.push(r),s=>{o.length>1?o.forEach(i=>i(s)):o[0](s)}};ut=t("__VUE_INSTANCE_SETTERS__",n=>de=n),t("__VUE_SSR_SETTERS__",n=>Ne=n)}const Mo=e=>{const t=de;return ut(e),e.scope.on(),()=>{e.scope.off(),ut(t)}};let Ne=!1;process.env.NODE_ENV;const Oo=/(?:^|[-_])\w/g,$o=e=>e.replace(Oo,t=>t.toUpperCase()).replace(/[-_]/g,"");function Fn(e,t=!0){return N(e)?e.displayName||e.name:e.name||t&&e.__name}function Hn(e,t,n=!1){let r=Fn(t);if(!r&&t.__file){const o=t.__file.match(/([^/\\]+)\.\w+$/);o&&(r=o[1])}if(!r&&e){const o=s=>{for(const i in s)if(s[i]===t)return i};r=o(e.components)||e.parent&&o(e.parent.type.components)||o(e.appContext.components)}return r?$o(r):n?"App":"Anonymous"}function kn(e){return N(e)&&"__vccOpts"in e}const Re=(e,t)=>{const n=Lr(e,t,Ne);if(process.env.NODE_ENV!=="production"){const r=An();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function xo(){if(process.env.NODE_ENV==="production"||typeof window>"u")return;const e={style:"color:#3ba776"},t={style:"color:#1677ff"},n={style:"color:#f5222d"},r={style:"color:#eb2f96"},o={__vue_custom_formatter:!0,header(c){if(!M(c))return null;if(c.__isVue)return["div",e,"VueInstance"];if(x(c)){ue();const f=c.value;return fe(),["div",{},["span",e,d(c)],"<",a(f),">"]}else{if(ce(c))return["div",{},["span",e,O(c)?"ShallowReactive":"Reactive"],"<",a(c),`>${F(c)?" (readonly)":""}`];if(F(c))return["div",{},["span",e,O(c)?"ShallowReadonly":"Readonly"],"<",a(c),">"]}return null},hasBody(c){return c&&c.__isVue},body(c){if(c&&c.__isVue)return["div",{},...s(c.$)]}};function s(c){const f=[];c.type.props&&c.props&&f.push(i("props",h(c.props))),c.setupState!==ve&&f.push(i("setup",c.setupState)),c.data!==ve&&f.push(i("data",h(c.data)));const p=l(c,"computed");p&&f.push(i("computed",p));const _=l(c,"inject");return _&&f.push(i("injected",_)),f.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:c}]]),f}function i(c,f){return f=z({},f),Object.keys(f).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},c],["div",{style:"padding-left:1.25em"},...Object.keys(f).map(p=>["div",{},["span",r,p+": "],a(f[p],!1)])]]:["span",{}]}function a(c,f=!0){return typeof c=="number"?["span",t,c]:typeof c=="string"?["span",n,JSON.stringify(c)]:typeof c=="boolean"?["span",r,c]:M(c)?["object",{object:f?h(c):c}]:["span",n,String(c)]}function l(c,f){const p=c.type;if(N(p))return;const _={};for(const S in c.ctx)u(p,S,f)&&(_[S]=c.ctx[S]);return _}function u(c,f,p){const _=c[p];if(E(_)&&_.includes(f)||M(_)&&f in _||c.extends&&u(c.extends,f,p)||c.mixins&&c.mixins.some(S=>u(S,f,p)))return!0}function d(c){return O(c)?"ShallowRef":c.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(o):window.devtoolsFormatters=[o]}process.env.NODE_ENV;process.env.NODE_ENV;process.env.NODE_ENV;function Vo(){xo()}process.env.NODE_ENV!=="production"&&Vo();const T=wt({mode:"light",variant:"default",isChanging:!1});let At=!1,te=null;function Ot(){if(!At&&typeof window<"u"){const u=qt();T.value={mode:u.mode,variant:u.variant,isChanging:!1},At=!0}const e=Re(()=>T.value.mode),t=Re(()=>T.value.variant),n=Re(()=>T.value.mode==="dark"),r=Re(()=>T.value.isChanging),o=(u,d={})=>{T.value.isChanging=!0,se({mode:u},d),T.value.mode=u,setTimeout(()=>{T.value.isChanging=!1},300)},s=(u,d={})=>{T.value.isChanging=!0,se({variant:u},d),T.value.variant=u,setTimeout(()=>{T.value.isChanging=!1},300)},i=(u={})=>{const d=Yt(u);T.value.mode=d},a=(u,d={})=>{T.value.isChanging=!0,se(u,d),u.mode&&(T.value.mode=u.mode),u.variant&&(T.value.variant=u.variant),setTimeout(()=>{T.value.isChanging=!1},300)},l=()=>Zt(T.value.variant);return{theme:T.value,mode:e.value,variant:t.value,isDark:n.value,isChanging:r.value,setMode:o,setVariant:s,toggleDarkMode:i,setTheme:a,getAvailableThemes:Qt,getCurrentThemeMetadata:l}}function Ro(e=wt(!0)){const{setMode:t}=Ot(),n=()=>{te&&te(),te=Jt(o=>{e.value&&t(o,{transition:!0,persist:!1})})},r=()=>{te&&(te(),te=null)};io(e,o=>{o?n():r()},{immediate:!0}),On(()=>{r()})}function Io(e){const t=wt(""),n=()=>{if(typeof window>"u")return;const r=document.documentElement,o=getComputedStyle(r).getPropertyValue(`--${e}`).trim();o&&!o.startsWith("hsl")?t.value=`hsl(${o})`:t.value=o};return uo(()=>{n();const r=new MutationObserver(()=>{n()});r.observe(document.documentElement,{attributes:!0,attributeFilter:["class","data-theme"]}),On(()=>{r.disconnect()})}),ke(t)}function Ao(){const{isChanging:e}=Ot();return{isTransitioning:e}}exports.CSS_CLASSES=oe;exports.DEFAULT_LOCALE=Ae;exports.DEFAULT_THEME_MODE=Ue;exports.DEFAULT_THEME_VARIANT=_e;exports.HTML_ATTRIBUTES=ye;exports.STORAGE_KEYS=Z;exports.THEMES_BY_CATEGORY=jn;exports.THEME_MAP=Be;exports.THEME_METADATA=Wn;exports.THEME_TRANSITION_DURATION=He;exports.applyCustomTheme=ze;exports.applyMode=Ut;exports.applyTheme=se;exports.applyThemeFromPrimary=tr;exports.applyVariant=Bt;exports.clearCustomTheme=Zn;exports.clearStoredTheme=Un;exports.detectSystemTheme=zn;exports.disableTransition=Gt;exports.enUS=Ht;exports.enableTransition=zt;exports.generateThemeFromPrimary=ht;exports.getAvailableThemes=Qt;exports.getCSSVariable=Ce;exports.getCurrentMode=pt;exports.getCurrentVariant=Bn;exports.getHSLColor=y;exports.getHexColor=b;exports.getHtmlElement=R;exports.getLocale=Pn;exports.getRGBColor=v;exports.getStoredCustomTheme=Xt;exports.getStoredMode=Pt;exports.getStoredVariant=Kt;exports.getThemeColor=qn;exports.getThemeColors=nr;exports.getThemeColorsHex=or;exports.getThemeColorsRGB=rr;exports.getThemeDescription=Lt;exports.getThemeMetadata=q;exports.getThemeMetadataById=Zt;exports.getThemeName=kt;exports.getTranslations=dt;exports.hexToHSL=en;exports.hslToHex=tn;exports.hslToRgb=gt;exports.initTheme=qt;exports.isValidMode=Qn;exports.isValidVariant=Jn;exports.locales=ft;exports.parseHSL=rt;exports.restoreCustomTheme=Xn;exports.rgbToHSL=er;exports.setCSSVariable=Yn;exports.setLocale=Ln;exports.storeMode=Wt;exports.storeVariant=jt;exports.toHSLString=Gn;exports.toggleDarkMode=Yt;exports.useSystemTheme=Ro;exports.useTheme=Ot;exports.useThemeColor=Io;exports.useThemeTransition=Ao;exports.watchSystemTheme=Jt;exports.zhCN=Ft;
6
6
  //# sourceMappingURL=index.cjs.map