@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.umd.js CHANGED
@@ -1,6 +1,6 @@
1
- (function(f,P){typeof exports=="object"&&typeof module<"u"?P(exports):typeof define=="function"&&define.amd?define(["exports"],P):(f=typeof globalThis<"u"?globalThis:f||self,P(f.AdminKitDesign={}))})(this,(function(f){"use strict";const P="light",fe="default",z={MODE:"theme-mode",VARIANT:"theme-variant"},q={DARK:"dark",LIGHT:"light"},de={THEME:"data-theme",MODE:"data-mode"},Ne=300,Q=[{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"}],On={colorful:Q.filter(e=>e.category==="colorful"),neutral:Q.filter(e=>e.category==="neutral"),monochrome:Q.filter(e=>e.category==="monochrome")},Me=new Map(Q.map(e=>[e.id,e]));function $(){return document.documentElement}function bt(){if(typeof window>"u")return null;const e=localStorage.getItem(z.MODE);return e==="dark"||e==="light"?e:null}function wt(){if(typeof window>"u")return null;const e=localStorage.getItem(z.VARIANT);return Me.has(e)?e:null}function Tt(e){typeof window>"u"||localStorage.setItem(z.MODE,e)}function Nt(e){typeof window>"u"||localStorage.setItem(z.VARIANT,e)}function Dn(){typeof window>"u"||(localStorage.removeItem(z.MODE),localStorage.removeItem(z.VARIANT))}function Mt(e){const t=$();e==="dark"?(t.classList.add(q.DARK),t.classList.remove(q.LIGHT)):(t.classList.remove(q.DARK),t.classList.add(q.LIGHT)),t.setAttribute(de.MODE,e);const n=localStorage.getItem("custom-theme-primary"),r=localStorage.getItem("custom-theme-active")==="true";n&&r&&setTimeout(()=>{const o=Be(n,e);Oe(o,!1)},0)}function Ot(e){const t=$();e==="default"||e===fe?t.removeAttribute(de.THEME):t.setAttribute(de.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 ze(){return typeof window>"u"?P:$().classList.contains(q.DARK)?"dark":"light"}function $n(){return typeof window>"u"?fe:$().getAttribute(de.THEME)||fe}function Z(e,t={}){const{mode:n,variant:r,persist:o=!0}=e,{transition:s=!0}=t;s&&Dt(),n&&(Mt(n),o&&Tt(n)),r&&(Ot(r),o&&Nt(r)),s&&setTimeout(()=>{$t()},Ne)}function Dt(){$().style.setProperty("transition",`background-color ${Ne}ms ease, color ${Ne}ms ease`)}function $t(){$().style.removeProperty("transition")}function Ct(e={}){const n=ze()==="dark"?"light":"dark";return Z({mode:n},e),n}function Vt(){const e=bt(),t=wt(),n={mode:e||P,variant:t||fe,persist:!0,enableTransition:!1};return Z(n,{transition:!1}),n}function Cn(){return typeof window>"u"?P:window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function It(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 Rt(){return Q}function At(e){return Me.get(e)}function Ye(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 Vn(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 xt(e){if(typeof window>"u")return"";const t=$();return getComputedStyle(t).getPropertyValue(`--${e}`).trim()}function In(e,t){if(typeof window>"u")return;$().style.setProperty(`--${e}`,t)}function Rn(e){const t=xt(e);return t&&!t.startsWith("hsl")?`hsl(${t})`:t}function An(e){return Me.has(e)}function xn(e){return e==="light"||e==="dark"}function Oe(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(),c=r(s);n.style.setProperty(`--${i}`,c)}}),t&&localStorage.setItem("custom-theme-colors",JSON.stringify(e))}function Ht(){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 Hn(){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 kn(){const e=Ht();return e?(Oe(e,!1),!0):!1}function kt(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,c=0;const l=(o+s)/2;if(o!==s){const h=o-s;switch(c=l>.5?h/(2-o-s):h/(o+s),o){case t:i=((n-r)/h+(n<r?6:0))/6;break;case n:i=((r-t)/h+2)/6;break;case r:i=((t-n)/h+4)/6;break}}i=Math.round(i*360),c=Math.round(c*100);const u=Math.round(l*100);return`${i} ${c}% ${u}%`}function Pn(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 c=(r+o)/2;if(r!==o){const u=r-o;switch(i=c>.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(c*100);return`${s} ${i}% ${l}%`}function Be(e,t="light"){let n;if(e.startsWith("#"))n=kt(e);else if(e.startsWith("hsl")){const o=Ye(e);n=o?`${o.h} ${o.s}% ${o.l}%`:e}else n=e;const r=Ye(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 Fn(e,t,n=!1){const r=t||ze(),o=Be(e,r);Oe(o,n),localStorage.setItem("custom-theme-primary",e),localStorage.setItem("custom-theme-active","true")}function Ln(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const he=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const X=()=>{},Kn=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),F=Object.assign,jn=Object.prototype.hasOwnProperty,Je=(e,t)=>jn.call(e,t),y=Array.isArray,ee=e=>De(e)==="[object Map]",Wn=e=>De(e)==="[object Set]",S=e=>typeof e=="function",A=e=>typeof e=="string",pe=e=>typeof e=="symbol",w=e=>e!==null&&typeof e=="object",Un=e=>(w(e)||S(e))&&S(e.then)&&S(e.catch),zn=Object.prototype.toString,De=e=>zn.call(e),Pt=e=>De(e).slice(8,-1),Yn=e=>De(e)==="[object Object]",Ge=e=>A(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ft=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Lt=Ft(e=>e.charAt(0).toUpperCase()+e.slice(1)),Bn=Ft(e=>e?`on${Lt(e)}`:""),L=(e,t)=>!Object.is(e,t);let Kt;const $e=()=>Kt||(Kt=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function qe(e){if(y(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=A(r)?Qn(r):qe(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(A(e)||w(e))return e}const Jn=/;(?![^(]*\))/g,Gn=/:([^]+)/,qn=/\/\*[^]*?\*\//g;function Qn(e){const t={};return e.replace(qn,"").split(Jn).forEach(n=>{if(n){const r=n.split(Gn);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function Qe(e){let t="";if(A(e))t=e;else if(y(e))for(let n=0;n<e.length;n++){const r=Qe(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 _;const Ze=new WeakSet;class Zn{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||Wt(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,Jt(this),Ut(this);const t=_,n=C;_=this,C=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&_!==this&&V("Active effect was not restored correctly - this is likely a Vue internal bug."),zt(this),_=t,C=n,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)nt(t);this.deps=this.depsTail=void 0,Jt(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Ze.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){tt(this)&&this.run()}get dirty(){return tt(this)}}let jt=0,me,ge;function Wt(e,t=!1){if(e.flags|=8,t){e.next=ge,ge=e;return}e.next=me,me=e}function Xe(){jt++}function et(){if(--jt>0)return;if(ge){let t=ge;for(ge=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;me;){let t=me;for(me=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 Ut(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function zt(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),nt(r),Xn(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function tt(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(Yt(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function Yt(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===_e)||(e.globalVersion=_e,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!tt(e))))return;e.flags|=2;const t=e.dep,n=_,r=C;_=e,C=!0;try{Ut(e);const o=e.fn(e._value);(t.version===0||L(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{_=n,C=r,zt(e),e.flags&=-3}}function nt(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)nt(s,!0)}!t&&!--n.sc&&n.map&&n.map.delete(n.key)}function Xn(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let C=!0;const Bt=[];function te(){Bt.push(C),C=!1}function ne(){const e=Bt.pop();C=e===void 0?!0:e}function Jt(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=_;_=void 0;try{t()}finally{_=n}}}let _e=0;class er{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 rt{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(!_||!C||_===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==_)n=this.activeLink=new er(_,this),_.deps?(n.prevDep=_.depsTail,_.depsTail.nextDep=n,_.depsTail=n):_.deps=_.depsTail=n,Gt(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=_.depsTail,n.nextDep=void 0,_.depsTail.nextDep=n,_.depsTail=n,_.deps===n&&(_.deps=r)}return process.env.NODE_ENV!=="production"&&_.onTrack&&_.onTrack(F({effect:_},t)),n}trigger(t){this.version++,_e++,this.notify(t)}notify(t){Xe();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(F({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{et()}}}function Gt(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)Gt(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 ot=new WeakMap,Y=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),st=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),ye=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function T(e,t,n){if(C&&_){let r=ot.get(e);r||ot.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new rt),o.map=r,o.key=n),process.env.NODE_ENV!=="production"?o.track({target:e,type:t,key:n}):o.track()}}function K(e,t,n,r,o,s){const i=ot.get(e);if(!i){_e++;return}const c=l=>{l&&(process.env.NODE_ENV!=="production"?l.trigger({target:e,type:t,key:n,newValue:r,oldValue:o,oldTarget:s}):l.trigger())};if(Xe(),t==="clear")i.forEach(c);else{const l=y(e),u=l&&Ge(n);if(l&&n==="length"){const h=Number(r);i.forEach((a,d)=>{(d==="length"||d===ye||!pe(d)&&d>=h)&&c(a)})}else switch((n!==void 0||i.has(void 0))&&c(i.get(n)),u&&c(i.get(ye)),t){case"add":l?u&&c(i.get("length")):(c(i.get(Y)),ee(e)&&c(i.get(st)));break;case"delete":l||(c(i.get(Y)),ee(e)&&c(i.get(st)));break;case"set":ee(e)&&c(i.get(Y));break}}et()}function re(e){const t=m(e);return t===e?t:(T(t,"iterate",ye),N(e)?t:t.map(H))}function it(e){return T(e=m(e),"iterate",ye),e}function j(e,t){return I(e)?oe(e)?Ee(H(t)):Ee(t):H(t)}const tr={__proto__:null,[Symbol.iterator](){return ct(this,Symbol.iterator,e=>j(this,e))},concat(...e){return re(this).concat(...e.map(t=>y(t)?re(t):t))},entries(){return ct(this,"entries",e=>(e[1]=j(this,e[1]),e))},every(e,t){return x(this,"every",e,t,void 0,arguments)},filter(e,t){return x(this,"filter",e,t,n=>n.map(r=>j(this,r)),arguments)},find(e,t){return x(this,"find",e,t,n=>j(this,n),arguments)},findIndex(e,t){return x(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return x(this,"findLast",e,t,n=>j(this,n),arguments)},findLastIndex(e,t){return x(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return x(this,"forEach",e,t,void 0,arguments)},includes(...e){return at(this,"includes",e)},indexOf(...e){return at(this,"indexOf",e)},join(e){return re(this).join(e)},lastIndexOf(...e){return at(this,"lastIndexOf",e)},map(e,t){return x(this,"map",e,t,void 0,arguments)},pop(){return ve(this,"pop")},push(...e){return ve(this,"push",e)},reduce(e,...t){return qt(this,"reduce",e,t)},reduceRight(e,...t){return qt(this,"reduceRight",e,t)},shift(){return ve(this,"shift")},some(e,t){return x(this,"some",e,t,void 0,arguments)},splice(...e){return ve(this,"splice",e)},toReversed(){return re(this).toReversed()},toSorted(e){return re(this).toSorted(e)},toSpliced(...e){return re(this).toSpliced(...e)},unshift(...e){return ve(this,"unshift",e)},values(){return ct(this,"values",e=>j(this,e))}};function ct(e,t,n){const r=it(e),o=r[t]();return r!==e&&!N(e)&&(o._next=o.next,o.next=()=>{const s=o._next();return s.done||(s.value=n(s.value)),s}),o}const nr=Array.prototype;function x(e,t,n,r,o,s){const i=it(e),c=i!==e&&!N(e),l=i[t];if(l!==nr[t]){const a=l.apply(e,s);return c?H(a):a}let u=n;i!==e&&(c?u=function(a,d){return n.call(this,j(e,a),d,e)}:n.length>2&&(u=function(a,d){return n.call(this,a,d,e)}));const h=l.call(i,u,r);return c&&o?o(h):h}function qt(e,t,n,r){const o=it(e);let s=n;return o!==e&&(N(e)?n.length>3&&(s=function(i,c,l){return n.call(this,i,c,l,e)}):s=function(i,c,l){return n.call(this,i,j(e,c),l,e)}),o[t](s,...r)}function at(e,t,n){const r=m(e);T(r,"iterate",ye);const o=r[t](...n);return(o===-1||o===!1)&&Re(n[0])?(n[0]=m(n[0]),r[t](...n)):o}function ve(e,t,n=[]){te(),Xe();const r=m(e)[t].apply(e,n);return et(),ne(),r}const rr=Ln("__proto__,__v_isRef,__isVue"),Qt=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(pe));function or(e){pe(e)||(e=String(e));const t=m(this);return T(t,"has",e),t.hasOwnProperty(e)}class Zt{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:nn:s?hr:tn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=y(t);if(!o){let l;if(i&&(l=tr[n]))return l;if(n==="hasOwnProperty")return or}const c=Reflect.get(t,n,M(t)?t:r);if((pe(n)?Qt.has(n):rr(n))||(o||T(t,"get",n),s))return c;if(M(c)){const l=i&&Ge(n)?c:c.value;return o&&w(l)?Ie(l):l}return w(c)?o?Ie(c):rn(c):c}}class sr extends Zt{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=y(t)&&Ge(n);if(!this._isShallow){const u=I(s);if(!N(r)&&!I(r)&&(s=m(s),r=m(r)),!i&&M(s)&&!M(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 c=i?Number(n)<t.length:Je(t,n),l=Reflect.set(t,n,r,M(t)?t:o);return t===m(o)&&(c?L(r,s)&&K(t,"set",n,r,s):K(t,"add",n,r)),l}deleteProperty(t,n){const r=Je(t,n),o=t[n],s=Reflect.deleteProperty(t,n);return s&&r&&K(t,"delete",n,void 0,o),s}has(t,n){const r=Reflect.has(t,n);return(!pe(n)||!Qt.has(n))&&T(t,"has",n),r}ownKeys(t){return T(t,"iterate",y(t)?"length":Y),Reflect.ownKeys(t)}}class ir extends Zt{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 cr=new sr,ar=new ir,lt=e=>e,Ce=e=>Reflect.getPrototypeOf(e);function lr(e,t,n){return function(...r){const o=this.__v_raw,s=m(o),i=ee(s),c=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,u=o[e](...r),h=n?lt:t?Ee:H;return!t&&T(s,"iterate",l?st:Y),{next(){const{value:a,done:d}=u.next();return d?{value:a,done:d}:{value:c?[h(a[0]),h(a[1])]:h(a),done:d}},[Symbol.iterator](){return this}}}}function Ve(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";V(`${Lt(e)} operation ${n}failed: target is readonly.`,m(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function ur(e,t){const n={get(o){const s=this.__v_raw,i=m(s),c=m(o);e||(L(o,c)&&T(i,"get",o),T(i,"get",c));const{has:l}=Ce(i),u=t?lt:e?Ee:H;if(l.call(i,o))return u(s.get(o));if(l.call(i,c))return u(s.get(c));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&T(m(o),"iterate",Y),o.size},has(o){const s=this.__v_raw,i=m(s),c=m(o);return e||(L(o,c)&&T(i,"has",o),T(i,"has",c)),o===c?s.has(o):s.has(o)||s.has(c)},forEach(o,s){const i=this,c=i.__v_raw,l=m(c),u=t?lt:e?Ee:H;return!e&&T(l,"iterate",Y),c.forEach((h,a)=>o.call(s,u(h),u(a),i))}};return F(n,e?{add:Ve("add"),set:Ve("set"),delete:Ve("delete"),clear:Ve("clear")}:{add(o){!t&&!N(o)&&!I(o)&&(o=m(o));const s=m(this);return Ce(s).has.call(s,o)||(s.add(o),K(s,"add",o,o)),this},set(o,s){!t&&!N(s)&&!I(s)&&(s=m(s));const i=m(this),{has:c,get:l}=Ce(i);let u=c.call(i,o);u?process.env.NODE_ENV!=="production"&&en(i,c,o):(o=m(o),u=c.call(i,o));const h=l.call(i,o);return i.set(o,s),u?L(s,h)&&K(i,"set",o,s,h):K(i,"add",o,s),this},delete(o){const s=m(this),{has:i,get:c}=Ce(s);let l=i.call(s,o);l?process.env.NODE_ENV!=="production"&&en(s,i,o):(o=m(o),l=i.call(s,o));const u=c?c.call(s,o):void 0,h=s.delete(o);return l&&K(s,"delete",o,void 0,u),h},clear(){const o=m(this),s=o.size!==0,i=process.env.NODE_ENV!=="production"?ee(o)?new Map(o):new Set(o):void 0,c=o.clear();return s&&K(o,"clear",void 0,void 0,i),c}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=lr(o,e,t)}),n}function Xt(e,t){const n=ur(e,t);return(r,o,s)=>o==="__v_isReactive"?!e:o==="__v_isReadonly"?e:o==="__v_raw"?r:Reflect.get(Je(n,o)&&o in r?n:r,o,s)}const fr={get:Xt(!1,!1)},dr={get:Xt(!0,!1)};function en(e,t,n){const r=m(n);if(r!==n&&t.call(e,r)){const o=Pt(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 tn=new WeakMap,hr=new WeakMap,nn=new WeakMap,pr=new WeakMap;function mr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function gr(e){return e.__v_skip||!Object.isExtensible(e)?0:mr(Pt(e))}function rn(e){return I(e)?e:on(e,!1,cr,fr,tn)}function Ie(e){return on(e,!0,ar,dr,nn)}function on(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=gr(e);if(s===0)return e;const i=o.get(e);if(i)return i;const c=new Proxy(e,s===2?r:n);return o.set(e,c),c}function oe(e){return I(e)?oe(e.__v_raw):!!(e&&e.__v_isReactive)}function I(e){return!!(e&&e.__v_isReadonly)}function N(e){return!!(e&&e.__v_isShallow)}function Re(e){return e?!!e.__v_raw:!1}function m(e){const t=e&&e.__v_raw;return t?m(t):e}const H=e=>w(e)?rn(e):e,Ee=e=>w(e)?Ie(e):e;function M(e){return e?e.__v_isRef===!0:!1}function ut(e){return _r(e,!1)}function _r(e,t){return M(e)?e:new yr(e,t)}class yr{constructor(t,n){this.dep=new rt,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:m(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||N(t)||I(t);t=r?t:m(t),L(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 vr{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new rt(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=_e-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&_!==this)return Wt(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 Yt(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 Er(e,t,n=!1){let r,o;S(e)?r=e:(r=e.get,o=e.set);const s=new vr(r,o,n);return process.env.NODE_ENV,s}const Ae={},xe=new WeakMap;let B;function Sr(e,t=!1,n=B){if(n){let r=xe.get(n);r||xe.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 br(e,t,n=he){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:c,call:l}=n,u=g=>{(n.onWarn||V)("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.")},h=g=>o?g:N(g)||o===!1||o===0?W(g,1):W(g);let a,d,p,v,D=!1,We=!1;if(M(e)?(d=()=>e.value,D=N(e)):oe(e)?(d=()=>h(e),D=!0):y(e)?(We=!0,D=e.some(g=>oe(g)||N(g)),d=()=>e.map(g=>{if(M(g))return g.value;if(oe(g))return h(g);if(S(g))return l?l(g,2):g();process.env.NODE_ENV!=="production"&&u(g)})):S(e)?t?d=l?()=>l(e,2):e:d=()=>{if(p){te();try{p()}finally{ne()}}const g=B;B=a;try{return l?l(e,3,[v]):e(v)}finally{B=g}}:(d=X,process.env.NODE_ENV!=="production"&&u(e)),t&&o){const g=d,R=o===!0?1/0:o;d=()=>W(g(),R)}const ue=()=>{a.stop()};if(s&&t){const g=t;t=(...R)=>{g(...R),ue()}}let G=We?new Array(e.length).fill(Ae):Ae;const Te=g=>{if(!(!(a.flags&1)||!a.dirty&&!g))if(t){const R=a.run();if(o||D||(We?R.some((St,Ue)=>L(St,G[Ue])):L(R,G))){p&&p();const St=B;B=a;try{const Ue=[R,G===Ae?void 0:We&&G[0]===Ae?[]:G,v];G=R,l?l(t,3,Ue):t(...Ue)}finally{B=St}}}else a.run()};return c&&c(Te),a=new Zn(d),a.scheduler=i?()=>i(Te,!1):Te,v=g=>Sr(g,!1,a),p=a.onStop=()=>{const g=xe.get(a);if(g){if(l)l(g,4);else for(const R of g)R();xe.delete(a)}},process.env.NODE_ENV!=="production"&&(a.onTrack=n.onTrack,a.onTrigger=n.onTrigger),t?r?Te(!0):G=a.run():i?i(Te.bind(null,!0),!0):a.run(),ue.pause=a.pause.bind(a),ue.resume=a.resume.bind(a),ue.stop=ue,ue}function W(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--,M(e))W(e.value,t,n);else if(y(e))for(let r=0;r<e.length;r++)W(e[r],t,n);else if(Wn(e)||ee(e))e.forEach(r=>{W(r,t,n)});else if(Yn(e)){for(const r in e)W(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&W(e[r],t,n)}return e}const J=[];function wr(e){J.push(e)}function Tr(){J.pop()}let ft=!1;function b(e,...t){if(ft)return;ft=!0,te();const n=J.length?J[J.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=Nr();if(r)He(r,n,11,[e+t.map(s=>{var i,c;return(c=(i=s.toString)==null?void 0:i.call(s))!=null?c:JSON.stringify(s)}).join(""),n&&n.proxy,o.map(({vnode:s})=>`at <${Tn(n,s.type)}>`).join(`
1
+ (function(u,ee){typeof exports=="object"&&typeof module<"u"?ee(exports):typeof define=="function"&&define.amd?define(["exports"],ee):(u=typeof globalThis<"u"?globalThis:u||self,ee(u.AdminKitDesign={}))})(this,(function(u){"use strict";const ee={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流行色 - 清新的柑橘绿,充满生机"}}},Rt={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"}}},Ze={"zh-CN":ee,"en-US":Rt},$e="zh-CN";let Ve=$e;function Pn(e){Ze[e]?Ve=e:(console.warn(`Locale "${e}" is not supported, falling back to "${$e}"`),Ve=$e)}function Kn(){return Ve}function Xe(){return Ze[Ve]}function It(e){return Xe().themes[e]?.name||e}function At(e){return Xe().themes[e]?.description||""}const Re="light",ge="default",Y={MODE:"theme-mode",VARIANT:"theme-variant"},te={DARK:"dark",LIGHT:"light"},me={THEME:"data-theme",MODE:"data-mode"},Ie=300,jn=[{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 jn.map(e=>({...e,name:It(e.id),description:At(e.id)}))}const Wn=q(),Un={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")}},Ae=new Map(q().map(e=>[e.id,e]));function I(){return document.documentElement}function Ft(){if(typeof window>"u")return null;const e=localStorage.getItem(Y.MODE);return e==="dark"||e==="light"?e:null}function Ht(){if(typeof window>"u")return null;const e=localStorage.getItem(Y.VARIANT);return Ae.has(e)?e:null}function kt(e){typeof window>"u"||localStorage.setItem(Y.MODE,e)}function Lt(e){typeof window>"u"||localStorage.setItem(Y.VARIANT,e)}function Bn(){typeof window>"u"||(localStorage.removeItem(Y.MODE),localStorage.removeItem(Y.VARIANT))}function xt(e){const t=I();e==="dark"?(t.classList.add(te.DARK),t.classList.remove(te.LIGHT)):(t.classList.remove(te.DARK),t.classList.add(te.LIGHT)),t.setAttribute(me.MODE,e);const n=localStorage.getItem("custom-theme-primary"),r=localStorage.getItem("custom-theme-active")==="true";n&&r&&setTimeout(()=>{const o=nt(n,e);Fe(o,!1)},0)}function Pt(e){const t=I();e==="default"||e===ge?t.removeAttribute(me.THEME):t.setAttribute(me.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 et(){return typeof window>"u"?Re:I().classList.contains(te.DARK)?"dark":"light"}function zn(){return typeof window>"u"?ge:I().getAttribute(me.THEME)||ge}function ne(e,t={}){const{mode:n,variant:r,persist:o=!0}=e,{transition:s=!0}=t;s&&Kt(),n&&(xt(n),o&&kt(n)),r&&(Pt(r),o&&Lt(r)),s&&setTimeout(()=>{jt()},Ie)}function Kt(){I().style.setProperty("transition",`background-color ${Ie}ms ease, color ${Ie}ms ease`)}function jt(){I().style.removeProperty("transition")}function Wt(e={}){const n=et()==="dark"?"light":"dark";return ne({mode:n},e),n}function Ut(){const e=Ft(),t=Ht(),n={mode:e||Re,variant:t||ge,persist:!0,enableTransition:!1};return ne(n,{transition:!1}),n}function Gn(){return typeof window>"u"?Re:window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function Bt(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 zt(){return q()}function Gt(e){return Ae.get(e)}function tt(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 Yn(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 _e(e){if(typeof window>"u")return"";const t=I();return getComputedStyle(t).getPropertyValue(`--${e}`).trim()}function qn(e,t){if(typeof window>"u")return;I().style.setProperty(`--${e}`,t)}function Jn(e){const t=_e(e);return t&&!t.startsWith("hsl")?`hsl(${t})`:t}function Qn(e){return Ae.has(e)}function Zn(e){return e==="light"||e==="dark"}function Fe(e,t=!1){if(typeof window>"u")return;const n=I(),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 Yt(){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 Xn(){if(typeof window>"u")return;const e=I();["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 er(){const e=Yt();return e?(Fe(e,!1),!0):!1}function qt(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 h=o-s;switch(a=l>.5?h/(2-o-s):h/(o+s),o){case t:i=((n-r)/h+(n<r?6:0))/6;break;case n:i=((r-t)/h+2)/6;break;case r:i=((t-n)/h+4)/6;break}}i=Math.round(i*360),a=Math.round(a*100);const f=Math.round(l*100);return`${i} ${a}% ${f}%`}function tr(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 f=r-o;switch(i=a>.5?f/(2-r-o):f/(r+o),r){case e:s=((t-n)/f+(t<n?6:0))/6;break;case t:s=((n-e)/f+2)/6;break;case n:s=((e-t)/f+4)/6;break}}s=Math.round(s*360),i=Math.round(i*100);const l=Math.round(a*100);return`${s} ${i}% ${l}%`}function nt(e,t="light"){let n;if(e.startsWith("#"))n=qt(e);else if(e.startsWith("hsl")){const o=tt(e);n=o?`${o.h} ${o.s}% ${o.l}%`:e}else n=e;const r=tt(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 nr(e,t,n=!1){const r=t||et(),o=nt(e,r);Fe(o,n),localStorage.setItem("custom-theme-primary",e),localStorage.setItem("custom-theme-active","true")}function y(e){const t=_e(e);return t?`hsl(${t})`:""}function rt(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,f,h;if(i===0)l=f=h=a;else{const c=(E,C,$)=>($<0&&($+=1),$>1&&($-=1),$<.16666666666666666?E+(C-E)*6*$:$<.5?C:$<.6666666666666666?E+(C-E)*(.6666666666666666-$)*6:E),d=a<.5?a*(1+i):a+i-a*i,p=2*a-d;l=c(p,d,s+1/3),f=c(p,d,s),h=c(p,d,s-1/3)}return`rgb(${Math.round(l*255)}, ${Math.round(f*255)}, ${Math.round(h*255)})`}function Jt(e){const n=rt(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=_e(e);return t?rt(t):"rgb(0, 0, 0)"}function b(e){const t=_e(e);return t?Jt(t):"#000000"}function rr(){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 or(){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 sr(){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 ir(e){const t=Object.create(null);for(const n of e.split(","))t[n]=1;return n=>n in t}const ye=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const re=()=>{},ar=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),j=Object.assign,cr=Object.prototype.hasOwnProperty,ot=(e,t)=>cr.call(e,t),T=Array.isArray,oe=e=>He(e)==="[object Map]",lr=e=>He(e)==="[object Set]",w=e=>typeof e=="function",L=e=>typeof e=="string",ve=e=>typeof e=="symbol",D=e=>e!==null&&typeof e=="object",ur=e=>(D(e)||w(e))&&w(e.then)&&w(e.catch),fr=Object.prototype.toString,He=e=>fr.call(e),Qt=e=>He(e).slice(8,-1),dr=e=>He(e)==="[object Object]",st=e=>L(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Zt=e=>{const t=Object.create(null);return(n=>t[n]||(t[n]=e(n)))},Xt=Zt(e=>e.charAt(0).toUpperCase()+e.slice(1)),hr=Zt(e=>e?`on${Xt(e)}`:""),W=(e,t)=>!Object.is(e,t);let en;const ke=()=>en||(en=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function it(e){if(T(e)){const t={};for(let n=0;n<e.length;n++){const r=e[n],o=L(r)?_r(r):it(r);if(o)for(const s in o)t[s]=o[s]}return t}else if(L(e)||D(e))return e}const pr=/;(?![^(]*\))/g,gr=/:([^]+)/,mr=/\/\*[^]*?\*\//g;function _r(e){const t={};return e.replace(mr,"").split(pr).forEach(n=>{if(n){const r=n.split(gr);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t}function at(e){let t="";if(L(e))t=e;else if(T(e))for(let n=0;n<e.length;n++){const r=at(e[n]);r&&(t+=r+" ")}else if(D(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}function F(e,...t){console.warn(`[Vue warn] ${e}`,...t)}let _;const ct=new WeakSet;class yr{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,ct.has(this)&&(ct.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||nn(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,cn(this),rn(this);const t=_,n=A;_=this,A=!0;try{return this.fn()}finally{process.env.NODE_ENV!=="production"&&_!==this&&F("Active effect was not restored correctly - this is likely a Vue internal bug."),on(this),_=t,A=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,cn(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?ct.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){ft(this)&&this.run()}get dirty(){return ft(this)}}let tn=0,be,Ee;function nn(e,t=!1){if(e.flags|=8,t){e.next=Ee,Ee=e;return}e.next=be,be=e}function lt(){tn++}function ut(){if(--tn>0)return;if(Ee){let t=Ee;for(Ee=void 0;t;){const n=t.next;t.next=void 0,t.flags&=-9,t=n}}let e;for(;be;){let t=be;for(be=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 rn(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function on(e){let t,n=e.depsTail,r=n;for(;r;){const o=r.prevDep;r.version===-1?(r===n&&(n=o),dt(r),vr(r)):t=r,r.dep.activeLink=r.prevActiveLink,r.prevActiveLink=void 0,r=o}e.deps=t,e.depsTail=n}function ft(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(sn(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function sn(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Te)||(e.globalVersion=Te,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!ft(e))))return;e.flags|=2;const t=e.dep,n=_,r=A;_=e,A=!0;try{rn(e);const o=e.fn(e._value);(t.version===0||W(o,e._value))&&(e.flags|=128,e._value=o,t.version++)}catch(o){throw t.version++,o}finally{_=n,A=r,on(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 vr(e){const{prevDep:t,nextDep:n}=e;t&&(t.nextDep=n,e.prevDep=void 0),n&&(n.prevDep=t,e.nextDep=void 0)}let A=!0;const an=[];function se(){an.push(A),A=!1}function ie(){const e=an.pop();A=e===void 0?!0:e}function cn(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const n=_;_=void 0;try{t()}finally{_=n}}}let Te=0;class br{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 ht{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(!_||!A||_===this.computed)return;let n=this.activeLink;if(n===void 0||n.sub!==_)n=this.activeLink=new br(_,this),_.deps?(n.prevDep=_.depsTail,_.depsTail.nextDep=n,_.depsTail=n):_.deps=_.depsTail=n,ln(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=_.depsTail,n.nextDep=void 0,_.depsTail.nextDep=n,_.depsTail=n,_.deps===n&&(_.deps=r)}return process.env.NODE_ENV!=="production"&&_.onTrack&&_.onTrack(j({effect:_},t)),n}trigger(t){this.version++,Te++,this.notify(t)}notify(t){lt();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(j({effect:n.sub},t));for(let n=this.subs;n;n=n.prevSub)n.sub.notify()&&n.sub.dep.notify()}finally{ut()}}}function ln(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)ln(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 pt=new WeakMap,J=Symbol(process.env.NODE_ENV!=="production"?"Object iterate":""),gt=Symbol(process.env.NODE_ENV!=="production"?"Map keys iterate":""),Se=Symbol(process.env.NODE_ENV!=="production"?"Array iterate":"");function M(e,t,n){if(A&&_){let r=pt.get(e);r||pt.set(e,r=new Map);let o=r.get(n);o||(r.set(n,o=new ht),o.map=r,o.key=n),process.env.NODE_ENV!=="production"?o.track({target:e,type:t,key:n}):o.track()}}function U(e,t,n,r,o,s){const i=pt.get(e);if(!i){Te++;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(lt(),t==="clear")i.forEach(a);else{const l=T(e),f=l&&st(n);if(l&&n==="length"){const h=Number(r);i.forEach((c,d)=>{(d==="length"||d===Se||!ve(d)&&d>=h)&&a(c)})}else switch((n!==void 0||i.has(void 0))&&a(i.get(n)),f&&a(i.get(Se)),t){case"add":l?f&&a(i.get("length")):(a(i.get(J)),oe(e)&&a(i.get(gt)));break;case"delete":l||(a(i.get(J)),oe(e)&&a(i.get(gt)));break;case"set":oe(e)&&a(i.get(J));break}}ut()}function ae(e){const t=g(e);return t===e?t:(M(t,"iterate",Se),O(e)?t:t.map(P))}function mt(e){return M(e=g(e),"iterate",Se),e}function B(e,t){return H(e)?ce(e)?Ne(P(t)):Ne(t):P(t)}const Er={__proto__:null,[Symbol.iterator](){return _t(this,Symbol.iterator,e=>B(this,e))},concat(...e){return ae(this).concat(...e.map(t=>T(t)?ae(t):t))},entries(){return _t(this,"entries",e=>(e[1]=B(this,e[1]),e))},every(e,t){return x(this,"every",e,t,void 0,arguments)},filter(e,t){return x(this,"filter",e,t,n=>n.map(r=>B(this,r)),arguments)},find(e,t){return x(this,"find",e,t,n=>B(this,n),arguments)},findIndex(e,t){return x(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return x(this,"findLast",e,t,n=>B(this,n),arguments)},findLastIndex(e,t){return x(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return x(this,"forEach",e,t,void 0,arguments)},includes(...e){return yt(this,"includes",e)},indexOf(...e){return yt(this,"indexOf",e)},join(e){return ae(this).join(e)},lastIndexOf(...e){return yt(this,"lastIndexOf",e)},map(e,t){return x(this,"map",e,t,void 0,arguments)},pop(){return we(this,"pop")},push(...e){return we(this,"push",e)},reduce(e,...t){return un(this,"reduce",e,t)},reduceRight(e,...t){return un(this,"reduceRight",e,t)},shift(){return we(this,"shift")},some(e,t){return x(this,"some",e,t,void 0,arguments)},splice(...e){return we(this,"splice",e)},toReversed(){return ae(this).toReversed()},toSorted(e){return ae(this).toSorted(e)},toSpliced(...e){return ae(this).toSpliced(...e)},unshift(...e){return we(this,"unshift",e)},values(){return _t(this,"values",e=>B(this,e))}};function _t(e,t,n){const r=mt(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 Tr=Array.prototype;function x(e,t,n,r,o,s){const i=mt(e),a=i!==e&&!O(e),l=i[t];if(l!==Tr[t]){const c=l.apply(e,s);return a?P(c):c}let f=n;i!==e&&(a?f=function(c,d){return n.call(this,B(e,c),d,e)}:n.length>2&&(f=function(c,d){return n.call(this,c,d,e)}));const h=l.call(i,f,r);return a&&o?o(h):h}function un(e,t,n,r){const o=mt(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,B(e,a),l,e)}),o[t](s,...r)}function yt(e,t,n){const r=g(e);M(r,"iterate",Se);const o=r[t](...n);return(o===-1||o===!1)&&Ke(n[0])?(n[0]=g(n[0]),r[t](...n)):o}function we(e,t,n=[]){se(),lt();const r=g(e)[t].apply(e,n);return ut(),ie(),r}const Sr=ir("__proto__,__v_isRef,__isVue"),fn=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(ve));function wr(e){ve(e)||(e=String(e));const t=g(this);return M(t,"has",e),t.hasOwnProperty(e)}class dn{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?Ar:mn:s?Ir:gn).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(r)?t:void 0;const i=T(t);if(!o){let l;if(i&&(l=Er[n]))return l;if(n==="hasOwnProperty")return wr}const a=Reflect.get(t,n,V(t)?t:r);if((ve(n)?fn.has(n):Sr(n))||(o||M(t,"get",n),s))return a;if(V(a)){const l=i&&st(n)?a:a.value;return o&&D(l)?Pe(l):l}return D(a)?o?Pe(a):_n(a):a}}class Nr extends dn{constructor(t=!1){super(!1,t)}set(t,n,r,o){let s=t[n];const i=T(t)&&st(n);if(!this._isShallow){const f=H(s);if(!O(r)&&!H(r)&&(s=g(s),r=g(r)),!i&&V(s)&&!V(r))return f?(process.env.NODE_ENV!=="production"&&F(`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,V(t)?t:o);return t===g(o)&&(a?W(r,s)&&U(t,"set",n,r,s):U(t,"add",n,r)),l}deleteProperty(t,n){const r=ot(t,n),o=t[n],s=Reflect.deleteProperty(t,n);return s&&r&&U(t,"delete",n,void 0,o),s}has(t,n){const r=Reflect.has(t,n);return(!ve(n)||!fn.has(n))&&M(t,"has",n),r}ownKeys(t){return M(t,"iterate",T(t)?"length":J),Reflect.ownKeys(t)}}class Cr extends dn{constructor(t=!1){super(!0,t)}set(t,n){return process.env.NODE_ENV!=="production"&&F(`Set operation on key "${String(n)}" failed: target is readonly.`,t),!0}deleteProperty(t,n){return process.env.NODE_ENV!=="production"&&F(`Delete operation on key "${String(n)}" failed: target is readonly.`,t),!0}}const Dr=new Nr,Mr=new Cr,vt=e=>e,Le=e=>Reflect.getPrototypeOf(e);function Or(e,t,n){return function(...r){const o=this.__v_raw,s=g(o),i=oe(s),a=e==="entries"||e===Symbol.iterator&&i,l=e==="keys"&&i,f=o[e](...r),h=n?vt:t?Ne:P;return!t&&M(s,"iterate",l?gt:J),{next(){const{value:c,done:d}=f.next();return d?{value:c,done:d}:{value:a?[h(c[0]),h(c[1])]:h(c),done:d}},[Symbol.iterator](){return this}}}}function xe(e){return function(...t){if(process.env.NODE_ENV!=="production"){const n=t[0]?`on key "${t[0]}" `:"";F(`${Xt(e)} operation ${n}failed: target is readonly.`,g(this))}return e==="delete"?!1:e==="clear"?void 0:this}}function $r(e,t){const n={get(o){const s=this.__v_raw,i=g(s),a=g(o);e||(W(o,a)&&M(i,"get",o),M(i,"get",a));const{has:l}=Le(i),f=t?vt:e?Ne:P;if(l.call(i,o))return f(s.get(o));if(l.call(i,a))return f(s.get(a));s!==i&&s.get(o)},get size(){const o=this.__v_raw;return!e&&M(g(o),"iterate",J),o.size},has(o){const s=this.__v_raw,i=g(s),a=g(o);return e||(W(o,a)&&M(i,"has",o),M(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=g(a),f=t?vt:e?Ne:P;return!e&&M(l,"iterate",J),a.forEach((h,c)=>o.call(s,f(h),f(c),i))}};return j(n,e?{add:xe("add"),set:xe("set"),delete:xe("delete"),clear:xe("clear")}:{add(o){!t&&!O(o)&&!H(o)&&(o=g(o));const s=g(this);return Le(s).has.call(s,o)||(s.add(o),U(s,"add",o,o)),this},set(o,s){!t&&!O(s)&&!H(s)&&(s=g(s));const i=g(this),{has:a,get:l}=Le(i);let f=a.call(i,o);f?process.env.NODE_ENV!=="production"&&pn(i,a,o):(o=g(o),f=a.call(i,o));const h=l.call(i,o);return i.set(o,s),f?W(s,h)&&U(i,"set",o,s,h):U(i,"add",o,s),this},delete(o){const s=g(this),{has:i,get:a}=Le(s);let l=i.call(s,o);l?process.env.NODE_ENV!=="production"&&pn(s,i,o):(o=g(o),l=i.call(s,o));const f=a?a.call(s,o):void 0,h=s.delete(o);return l&&U(s,"delete",o,void 0,f),h},clear(){const o=g(this),s=o.size!==0,i=process.env.NODE_ENV!=="production"?oe(o)?new Map(o):new Set(o):void 0,a=o.clear();return s&&U(o,"clear",void 0,void 0,i),a}}),["keys","values","entries",Symbol.iterator].forEach(o=>{n[o]=Or(o,e,t)}),n}function hn(e,t){const n=$r(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 Vr={get:hn(!1,!1)},Rr={get:hn(!0,!1)};function pn(e,t,n){const r=g(n);if(r!==n&&t.call(e,r)){const o=Qt(e);F(`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 gn=new WeakMap,Ir=new WeakMap,mn=new WeakMap,Ar=new WeakMap;function Fr(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Hr(e){return e.__v_skip||!Object.isExtensible(e)?0:Fr(Qt(e))}function _n(e){return H(e)?e:yn(e,!1,Dr,Vr,gn)}function Pe(e){return yn(e,!0,Mr,Rr,mn)}function yn(e,t,n,r,o){if(!D(e))return process.env.NODE_ENV!=="production"&&F(`value cannot be made ${t?"readonly":"reactive"}: ${String(e)}`),e;if(e.__v_raw&&!(t&&e.__v_isReactive))return e;const s=Hr(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 H(e)?ce(e.__v_raw):!!(e&&e.__v_isReactive)}function H(e){return!!(e&&e.__v_isReadonly)}function O(e){return!!(e&&e.__v_isShallow)}function Ke(e){return e?!!e.__v_raw:!1}function g(e){const t=e&&e.__v_raw;return t?g(t):e}const P=e=>D(e)?_n(e):e,Ne=e=>D(e)?Pe(e):e;function V(e){return e?e.__v_isRef===!0:!1}function bt(e){return kr(e,!1)}function kr(e,t){return V(e)?e:new Lr(e,t)}class Lr{constructor(t,n){this.dep=new ht,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=n?t:g(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)||H(t);t=r?t:g(t),W(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 xr{constructor(t,n,r){this.fn=t,this.setter=n,this._value=void 0,this.dep=new ht(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Te-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!n,this.isSSR=r}notify(){if(this.flags|=16,!(this.flags&8)&&_!==this)return nn(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 sn(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter?this.setter(t):process.env.NODE_ENV!=="production"&&F("Write operation failed: computed value is readonly")}}function Pr(e,t,n=!1){let r,o;w(e)?r=e:(r=e.get,o=e.set);const s=new xr(r,o,n);return process.env.NODE_ENV,s}const je={},We=new WeakMap;let Q;function Kr(e,t=!1,n=Q){if(n){let r=We.get(n);r||We.set(n,r=[]),r.push(e)}else process.env.NODE_ENV!=="production"&&!t&&F("onWatcherCleanup() was called when there was no active watcher to associate with.")}function jr(e,t,n=ye){const{immediate:r,deep:o,once:s,scheduler:i,augmentJob:a,call:l}=n,f=m=>{(n.onWarn||F)("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.")},h=m=>o?m:O(m)||o===!1||o===0?z(m,1):z(m);let c,d,p,E,C=!1,$=!1;if(V(e)?(d=()=>e.value,C=O(e)):ce(e)?(d=()=>h(e),C=!0):T(e)?($=!0,C=e.some(m=>ce(m)||O(m)),d=()=>e.map(m=>{if(V(m))return m.value;if(ce(m))return h(m);if(w(m))return l?l(m,2):m();process.env.NODE_ENV!=="production"&&f(m)})):w(e)?t?d=l?()=>l(e,2):e:d=()=>{if(p){se();try{p()}finally{ie()}}const m=Q;Q=c;try{return l?l(e,3,[E]):e(E)}finally{Q=m}}:(d=re,process.env.NODE_ENV!=="production"&&f(e)),t&&o){const m=d,k=o===!0?1/0:o;d=()=>z(m(),k)}const pe=()=>{c.stop()};if(s&&t){const m=t;t=(...k)=>{m(...k),pe()}}let X=$?new Array(e.length).fill(je):je;const Oe=m=>{if(!(!(c.flags&1)||!c.dirty&&!m))if(t){const k=c.run();if(o||C||($?k.some((Vt,Qe)=>W(Vt,X[Qe])):W(k,X))){p&&p();const Vt=Q;Q=c;try{const Qe=[k,X===je?void 0:$&&X[0]===je?[]:X,E];X=k,l?l(t,3,Qe):t(...Qe)}finally{Q=Vt}}}else c.run()};return a&&a(Oe),c=new yr(d),c.scheduler=i?()=>i(Oe,!1):Oe,E=m=>Kr(m,!1,c),p=c.onStop=()=>{const m=We.get(c);if(m){if(l)l(m,4);else for(const k of m)k();We.delete(c)}},process.env.NODE_ENV!=="production"&&(c.onTrack=n.onTrack,c.onTrigger=n.onTrigger),t?r?Oe(!0):X=c.run():i?i(Oe.bind(null,!0),!0):c.run(),pe.pause=c.pause.bind(c),pe.resume=c.resume.bind(c),pe.stop=pe,pe}function z(e,t=1/0,n){if(t<=0||!D(e)||e.__v_skip||(n=n||new Map,(n.get(e)||0)>=t))return e;if(n.set(e,t),t--,V(e))z(e.value,t,n);else if(T(e))for(let r=0;r<e.length;r++)z(e[r],t,n);else if(lr(e)||oe(e))e.forEach(r=>{z(r,t,n)});else if(dr(e)){for(const r in e)z(e[r],t,n);for(const r of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,r)&&z(e[r],t,n)}return e}const Z=[];function Wr(e){Z.push(e)}function Ur(){Z.pop()}let Et=!1;function N(e,...t){if(Et)return;Et=!0,se();const n=Z.length?Z[Z.length-1].component:null,r=n&&n.appContext.config.warnHandler,o=Br();if(r)Ue(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 <${kn(n,s.type)}>`).join(`
2
2
  `),o]);else{const s=[`[Vue warn]: ${e}`,...t];o.length&&s.push(`
3
- `,...Mr(o)),console.warn(...s)}ne(),ft=!1}function Nr(){let e=J[J.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 Mr(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
4
- `],...Or(n))}),t}function Or({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,...Dr(e.props),s]:[o+s]}function Dr(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...sn(r,e[r]))}),n.length>3&&t.push(" ..."),t}function sn(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}`]:M(t)?(t=sn(e,m(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):S(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=m(t),n?t:[`${e}=`,t])}const dt={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 He(e,t,n,r){try{return r?e(...r):e()}catch(o){pt(o,t,n)}}function ht(e,t,n,r){if(S(e)){const o=He(e,t,n,r);return o&&Un(o)&&o.catch(s=>{pt(s,t,n)}),o}if(y(e)){const o=[];for(let s=0;s<e.length;s++)o.push(ht(e[s],t,n,r));return o}else process.env.NODE_ENV!=="production"&&b(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function pt(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||he;if(t){let c=t.parent;const l=t.proxy,u=process.env.NODE_ENV!=="production"?dt[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;c;){const h=c.ec;if(h){for(let a=0;a<h.length;a++)if(h[a](e,l,u)===!1)return}c=c.parent}if(s){te(),He(s,null,10,[e,l,u]),ne();return}}$r(e,n,o,r,i)}function $r(e,t,n,r=!0,o=!1){if(process.env.NODE_ENV!=="production"){const s=dt[t];if(n&&wr(n),b(`Unhandled error${s?` during execution of ${s}`:""}`),n&&Tr(),r)throw e;console.error(e)}else{if(o)throw e;console.error(e)}}const O=[];let k=-1;const se=[];let U=null,ie=0;const Cr=Promise.resolve();let mt=null;const Vr=100;function Ir(e){let t=k+1,n=O.length;for(;t<n;){const r=t+n>>>1,o=O[r],s=Se(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function cn(e){if(!(e.flags&1)){const t=Se(e),n=O[O.length-1];!n||!(e.flags&2)&&t>=Se(n)?O.push(e):O.splice(Ir(t),0,e),e.flags|=1,an()}}function an(){mt||(mt=Cr.then(un))}function ln(e){y(e)?se.push(...e):U&&e.id===-1?U.splice(ie+1,0,e):e.flags&1||(se.push(e),e.flags|=1),an()}function Rr(e){if(se.length){const t=[...new Set(se)].sort((n,r)=>Se(n)-Se(r));if(se.length=0,U){U.push(...t);return}for(U=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),ie=0;ie<U.length;ie++){const n=U[ie];process.env.NODE_ENV!=="production"&&fn(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}U=null,ie=0}}const Se=e=>e.id==null?e.flags&2?-1:1/0:e.id;function un(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>fn(e,n):X;try{for(k=0;k<O.length;k++){const n=O[k];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),He(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;k<O.length;k++){const n=O[k];n&&(n.flags&=-2)}k=-1,O.length=0,Rr(e),mt=null,(O.length||se.length)&&un(e)}}function fn(e,t){const n=e.get(t)||0;if(n>Vr){const r=t.i,o=r&&wn(r.type);return pt(`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 gt=new Map;process.env.NODE_ENV!=="production"&&($e().__VUE_HMR_RUNTIME__={createRecord:_t(Ar),rerender:_t(xr),reload:_t(Hr)});const ke=new Map;function Ar(e,t){return ke.has(e)?!1:(ke.set(e,{initialDef:Pe(t),instances:new Set}),!0)}function Pe(e){return Nn(e)?e.__vccOpts:e}function xr(e,t){const n=ke.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,Pe(r.type).render=t),r.renderCache=[],r.job.flags&8||r.update()}))}function Hr(e,t){const n=ke.get(e);if(!n)return;t=Pe(t),dn(n.initialDef,t);const r=[...n.instances];for(let o=0;o<r.length;o++){const s=r[o],i=Pe(s.type);let c=gt.get(i);c||(i!==n.initialDef&&dn(i,t),gt.set(i,c=new Set)),c.add(s),s.appContext.propsCache.delete(s.type),s.appContext.emitsCache.delete(s.type),s.appContext.optionsCache.delete(s.type),s.ceReload?(c.add(s),s.ceReload(t.styles),c.delete(s)):s.parent?cn(()=>{s.job.flags&8||(s.parent.update(),c.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)}ln(()=>{gt.clear()})}function dn(e,t){F(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function _t(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 ce,Fe=[];function hn(e,t){var n,r;ce=e,ce?(ce.enabled=!0,Fe.forEach(({event:o,args:s})=>ce.emit(o,...s)),Fe=[]):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=>{hn(s,t)}),setTimeout(()=>{ce||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Fe=[])},3e3)):Fe=[]}let be=null,kr=null;function Pr(e,t,n=!1){const r=bn();if(r||Jr){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"&&b(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&b("inject() can only be used inside setup() or functional components.")}const Fr=Symbol.for("v-scx"),Lr=()=>{{const e=Pr(Fr);return e||process.env.NODE_ENV!=="production"&&b("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Kr(e,t,n){return process.env.NODE_ENV!=="production"&&!S(t)&&b("`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."),jr(e,t,n)}function jr(e,t,n=he){const{immediate:r,deep:o,flush:s,once:i}=n;process.env.NODE_ENV!=="production"&&!t&&(r!==void 0&&b('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&b('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&b('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const c=F({},n);process.env.NODE_ENV!=="production"&&(c.onWarn=b);const l=t&&r||!t&&s!=="post";let u;if(we){if(s==="sync"){const p=Lr();u=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=X,p.resume=X,p.pause=X,p}}const h=ae;c.call=(p,v,D)=>ht(p,h,v,D);let a=!1;s==="post"?c.scheduler=p=>{qr(p,h&&h.suspense)}:s!=="sync"&&(a=!0,c.scheduler=(p,v)=>{v?p():cn(p)}),c.augmentJob=p=>{t&&(p.flags|=4),a&&(p.flags|=2,h&&(p.id=h.uid,p.i=h))};const d=br(e,t,c);return we&&(u?u.push(d):l&&d()),d}const Wr=e=>e.__isTeleport;function pn(e,t){e.shapeFlag&6&&e.component?(e.transition=t,pn(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}$e().requestIdleCallback,$e().cancelIdleCallback;function Ur(e,t,n=ae,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{te();const c=ao(n),l=ht(t,n,e,i);return c(),ne(),l});return r?o.unshift(s):o.push(s),s}else if(process.env.NODE_ENV!=="production"){const o=Bn(dt[e].replace(/ hook$/,""));b(`${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=ae)=>{(!we||e==="sp")&&Ur(e,(...r)=>t(...r),n)},zr=mn("m"),gn=mn("um"),Yr=Symbol.for("v-ndc"),Br={};process.env.NODE_ENV!=="production"&&(Br.ownKeys=e=>(b("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 Jr=null;const Gr={},_n=e=>Object.getPrototypeOf(e)===Gr,qr=Zr,Qr=e=>e.__isSuspense;function Zr(e,t){t&&t.pendingBranch?y(e)?t.effects.push(...e):t.effects.push(e):ln(e)}const yn=Symbol.for("v-fgt"),Xr=Symbol.for("v-txt"),eo=Symbol.for("v-cmt");function to(e){return e?e.__v_isVNode===!0:!1}const no=(...e)=>En(...e),vn=({key:e})=>e??null,Le=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?A(e)||M(e)||S(e)?{i:be,r:e,k:t,f:!!n}:e:null);function ro(e,t=null,n=null,r=0,o=null,s=e===yn?0:1,i=!1,c=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vn(t),ref:t&&Le(t),scopeId:kr,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:be};return c?(yt(l,n),s&128&&e.normalize(l)):n&&(l.shapeFlag|=A(n)?8:16),process.env.NODE_ENV!=="production"&&l.key!==l.key&&b("VNode created with invalid key (NaN). VNode type:",l.type),l}const oo=process.env.NODE_ENV!=="production"?no:En;function En(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===Yr)&&(process.env.NODE_ENV!=="production"&&!e&&b(`Invalid vnode type when creating vnode: ${e}.`),e=eo),to(e)){const c=Ke(e,t,!0);return n&&yt(c,n),c.patchFlag=-2,c}if(Nn(e)&&(e=e.__vccOpts),t){t=so(t);let{class:c,style:l}=t;c&&!A(c)&&(t.class=Qe(c)),w(l)&&(Re(l)&&!y(l)&&(l=F({},l)),t.style=qe(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&&Re(e)&&(e=m(e),b("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)),ro(e,t,n,r,o,i,s,!0)}function so(e){return e?Re(e)||_n(e)?F({},e):e:null}function Ke(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:c,transition:l}=e,u=t?co(o||{},t):o,h={__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(Le(t)):[s,Le(t)]:Le(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&i===-1&&y(c)?c.map(Sn):c,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&&pn(h,l.clone(h)),h}function Sn(e){const t=Ke(e);return y(e.children)&&(t.children=e.children.map(Sn)),t}function io(e=" ",t=0){return oo(Xr,null,e,t)}function yt(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),yt(e,o()),o._c&&(o._d=!0));return}else n=32,!t._&&!_n(t)&&(t._ctx=be);else S(t)?(t={default:t,_ctx:be},n=32):(t=String(t),r&64?(n=16,t=[io(t)]):n=8);e.children=t,e.shapeFlag|=n}function co(...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=Qe([t.class,r.class]));else if(o==="style")t.style=qe([t.style,r.style]);else if(Kn(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 ae=null;const bn=()=>ae||be;let vt;{const e=$e(),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)}};vt=t("__VUE_INSTANCE_SETTERS__",n=>ae=n),t("__VUE_SSR_SETTERS__",n=>we=n)}const ao=e=>{const t=ae;return vt(e),e.scope.on(),()=>{e.scope.off(),vt(t)}};let we=!1;process.env.NODE_ENV;const lo=/(?:^|[-_])\w/g,uo=e=>e.replace(lo,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?uo(r):n?"App":"Anonymous"}function Nn(e){return S(e)&&"__vccOpts"in e}const je=(e,t)=>{const n=Er(e,t,we);if(process.env.NODE_ENV!=="production"){const r=bn();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function fo(){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(a){if(!w(a))return null;if(a.__isVue)return["div",e,"VueInstance"];if(M(a)){te();const d=a.value;return ne(),["div",{},["span",e,h(a)],"<",c(d),">"]}else{if(oe(a))return["div",{},["span",e,N(a)?"ShallowReactive":"Reactive"],"<",c(a),`>${I(a)?" (readonly)":""}`];if(I(a))return["div",{},["span",e,N(a)?"ShallowReadonly":"Readonly"],"<",c(a),">"]}return null},hasBody(a){return a&&a.__isVue},body(a){if(a&&a.__isVue)return["div",{},...s(a.$)]}};function s(a){const d=[];a.type.props&&a.props&&d.push(i("props",m(a.props))),a.setupState!==he&&d.push(i("setup",a.setupState)),a.data!==he&&d.push(i("data",m(a.data)));const p=l(a,"computed");p&&d.push(i("computed",p));const v=l(a,"inject");return v&&d.push(i("injected",v)),d.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:a}]]),d}function i(a,d){return d=F({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},a],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(p=>["div",{},["span",r,p+": "],c(d[p],!1)])]]:["span",{}]}function c(a,d=!0){return typeof a=="number"?["span",t,a]:typeof a=="string"?["span",n,JSON.stringify(a)]:typeof a=="boolean"?["span",r,a]:w(a)?["object",{object:d?m(a):a}]:["span",n,String(a)]}function l(a,d){const p=a.type;if(S(p))return;const v={};for(const D in a.ctx)u(p,D,d)&&(v[D]=a.ctx[D]);return v}function u(a,d,p){const v=a[p];if(y(v)&&v.includes(d)||w(v)&&d in v||a.extends&&u(a.extends,d,p)||a.mixins&&a.mixins.some(D=>u(D,d,p)))return!0}function h(a){return N(a)?"ShallowRef":a.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 ho(){fo()}process.env.NODE_ENV!=="production"&&ho();const E=ut({mode:"light",variant:"default",isChanging:!1});let Mn=!1,le=null;function Et(){if(!Mn&&typeof window<"u"){const u=Vt();E.value={mode:u.mode,variant:u.variant,isChanging:!1},Mn=!0}const e=je(()=>E.value.mode),t=je(()=>E.value.variant),n=je(()=>E.value.mode==="dark"),r=je(()=>E.value.isChanging),o=(u,h={})=>{E.value.isChanging=!0,Z({mode:u},h),E.value.mode=u,setTimeout(()=>{E.value.isChanging=!1},300)},s=(u,h={})=>{E.value.isChanging=!0,Z({variant:u},h),E.value.variant=u,setTimeout(()=>{E.value.isChanging=!1},300)},i=(u={})=>{const h=Ct(u);E.value.mode=h},c=(u,h={})=>{E.value.isChanging=!0,Z(u,h),u.mode&&(E.value.mode=u.mode),u.variant&&(E.value.variant=u.variant),setTimeout(()=>{E.value.isChanging=!1},300)},l=()=>At(E.value.variant);return{theme:E.value,mode:e.value,variant:t.value,isDark:n.value,isChanging:r.value,setMode:o,setVariant:s,toggleDarkMode:i,setTheme:c,getAvailableThemes:Rt,getCurrentThemeMetadata:l}}function po(e=ut(!0)){const{setMode:t}=Et(),n=()=>{le&&le(),le=It(o=>{e.value&&t(o,{transition:!0,persist:!1})})},r=()=>{le&&(le(),le=null)};Kr(e,o=>{o?n():r()},{immediate:!0}),gn(()=>{r()})}function mo(e){const t=ut(""),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 zr(()=>{n();const r=new MutationObserver(()=>{n()});r.observe(document.documentElement,{attributes:!0,attributeFilter:["class","data-theme"]}),gn(()=>{r.disconnect()})}),Ie(t)}function go(){const{isChanging:e}=Et();return{isTransitioning:e}}f.CSS_CLASSES=q,f.DEFAULT_THEME_MODE=P,f.DEFAULT_THEME_VARIANT=fe,f.HTML_ATTRIBUTES=de,f.STORAGE_KEYS=z,f.THEMES_BY_CATEGORY=On,f.THEME_MAP=Me,f.THEME_METADATA=Q,f.THEME_TRANSITION_DURATION=Ne,f.applyCustomTheme=Oe,f.applyMode=Mt,f.applyTheme=Z,f.applyThemeFromPrimary=Fn,f.applyVariant=Ot,f.clearCustomTheme=Hn,f.clearStoredTheme=Dn,f.detectSystemTheme=Cn,f.disableTransition=$t,f.enableTransition=Dt,f.generateThemeFromPrimary=Be,f.getAvailableThemes=Rt,f.getCSSVariable=xt,f.getCurrentMode=ze,f.getCurrentVariant=$n,f.getHtmlElement=$,f.getStoredCustomTheme=Ht,f.getStoredMode=bt,f.getStoredVariant=wt,f.getThemeColor=Rn,f.getThemeMetadata=At,f.hexToHSL=kt,f.initTheme=Vt,f.isValidMode=xn,f.isValidVariant=An,f.parseHSL=Ye,f.restoreCustomTheme=kn,f.rgbToHSL=Pn,f.setCSSVariable=In,f.storeMode=Tt,f.storeVariant=Nt,f.toHSLString=Vn,f.toggleDarkMode=Ct,f.useSystemTheme=po,f.useTheme=Et,f.useThemeColor=mo,f.useThemeTransition=go,f.watchSystemTheme=It,Object.defineProperty(f,Symbol.toStringTag,{value:"Module"})}));
3
+ `,...zr(o)),console.warn(...s)}ie(),Et=!1}function Br(){let e=Z[Z.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 zr(e){const t=[];return e.forEach((n,r)=>{t.push(...r===0?[]:[`
4
+ `],...Gr(n))}),t}function Gr({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",r=e.component?e.component.parent==null:!1,o=` at <${kn(e.component,e.type,r)}`,s=">"+n;return e.props?[o,...Yr(e.props),s]:[o+s]}function Yr(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach(r=>{t.push(...vn(r,e[r]))}),n.length>3&&t.push(" ..."),t}function vn(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}`]:V(t)?(t=vn(e,g(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):w(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=g(t),n?t:[`${e}=`,t])}const Tt={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 Ue(e,t,n,r){try{return r?e(...r):e()}catch(o){wt(o,t,n)}}function St(e,t,n,r){if(w(e)){const o=Ue(e,t,n,r);return o&&ur(o)&&o.catch(s=>{wt(s,t,n)}),o}if(T(e)){const o=[];for(let s=0;s<e.length;s++)o.push(St(e[s],t,n,r));return o}else process.env.NODE_ENV!=="production"&&N(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof e}`)}function wt(e,t,n,r=!0){const o=t?t.vnode:null,{errorHandler:s,throwUnhandledErrorInProduction:i}=t&&t.appContext.config||ye;if(t){let a=t.parent;const l=t.proxy,f=process.env.NODE_ENV!=="production"?Tt[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;a;){const h=a.ec;if(h){for(let c=0;c<h.length;c++)if(h[c](e,l,f)===!1)return}a=a.parent}if(s){se(),Ue(s,null,10,[e,l,f]),ie();return}}qr(e,n,o,r,i)}function qr(e,t,n,r=!0,o=!1){if(process.env.NODE_ENV!=="production"){const s=Tt[t];if(n&&Wr(n),N(`Unhandled error${s?` during execution of ${s}`:""}`),n&&Ur(),r)throw e;console.error(e)}else{if(o)throw e;console.error(e)}}const R=[];let K=-1;const le=[];let G=null,ue=0;const Jr=Promise.resolve();let Nt=null;const Qr=100;function Zr(e){let t=K+1,n=R.length;for(;t<n;){const r=t+n>>>1,o=R[r],s=Ce(o);s<e||s===e&&o.flags&2?t=r+1:n=r}return t}function bn(e){if(!(e.flags&1)){const t=Ce(e),n=R[R.length-1];!n||!(e.flags&2)&&t>=Ce(n)?R.push(e):R.splice(Zr(t),0,e),e.flags|=1,En()}}function En(){Nt||(Nt=Jr.then(Sn))}function Tn(e){T(e)?le.push(...e):G&&e.id===-1?G.splice(ue+1,0,e):e.flags&1||(le.push(e),e.flags|=1),En()}function Xr(e){if(le.length){const t=[...new Set(le)].sort((n,r)=>Ce(n)-Ce(r));if(le.length=0,G){G.push(...t);return}for(G=t,process.env.NODE_ENV!=="production"&&(e=e||new Map),ue=0;ue<G.length;ue++){const n=G[ue];process.env.NODE_ENV!=="production"&&wn(e,n)||(n.flags&4&&(n.flags&=-2),n.flags&8||n(),n.flags&=-2)}G=null,ue=0}}const Ce=e=>e.id==null?e.flags&2?-1:1/0:e.id;function Sn(e){process.env.NODE_ENV!=="production"&&(e=e||new Map);const t=process.env.NODE_ENV!=="production"?n=>wn(e,n):re;try{for(K=0;K<R.length;K++){const n=R[K];if(n&&!(n.flags&8)){if(process.env.NODE_ENV!=="production"&&t(n))continue;n.flags&4&&(n.flags&=-2),Ue(n,n.i,n.i?15:14),n.flags&4||(n.flags&=-2)}}}finally{for(;K<R.length;K++){const n=R[K];n&&(n.flags&=-2)}K=-1,R.length=0,Xr(e),Nt=null,(R.length||le.length)&&Sn(e)}}function wn(e,t){const n=e.get(t)||0;if(n>Qr){const r=t.i,o=r&&Hn(r.type);return wt(`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 Ct=new Map;process.env.NODE_ENV!=="production"&&(ke().__VUE_HMR_RUNTIME__={createRecord:Dt(eo),rerender:Dt(to),reload:Dt(no)});const Be=new Map;function eo(e,t){return Be.has(e)?!1:(Be.set(e,{initialDef:ze(t),instances:new Set}),!0)}function ze(e){return Ln(e)?e.__vccOpts:e}function to(e,t){const n=Be.get(e);n&&(n.initialDef.render=t,[...n.instances].forEach(r=>{t&&(r.render=t,ze(r.type).render=t),r.renderCache=[],r.job.flags&8||r.update()}))}function no(e,t){const n=Be.get(e);if(!n)return;t=ze(t),Nn(n.initialDef,t);const r=[...n.instances];for(let o=0;o<r.length;o++){const s=r[o],i=ze(s.type);let a=Ct.get(i);a||(i!==n.initialDef&&Nn(i,t),Ct.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?bn(()=>{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)}Tn(()=>{Ct.clear()})}function Nn(e,t){j(e,t);for(const n in e)n!=="__file"&&!(n in t)&&delete e[n]}function Dt(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 fe,Ge=[];function Cn(e,t){var n,r;fe=e,fe?(fe.enabled=!0,Ge.forEach(({event:o,args:s})=>fe.emit(o,...s)),Ge=[]):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(()=>{fe||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Ge=[])},3e3)):Ge=[]}let De=null,ro=null;function oo(e,t,n=!1){const r=Fn();if(r||go){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&&w(t)?t.call(r&&r.proxy):t;process.env.NODE_ENV!=="production"&&N(`injection "${String(e)}" not found.`)}else process.env.NODE_ENV!=="production"&&N("inject() can only be used inside setup() or functional components.")}const so=Symbol.for("v-scx"),io=()=>{{const e=oo(so);return e||process.env.NODE_ENV!=="production"&&N("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function ao(e,t,n){return process.env.NODE_ENV!=="production"&&!w(t)&&N("`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."),co(e,t,n)}function co(e,t,n=ye){const{immediate:r,deep:o,flush:s,once:i}=n;process.env.NODE_ENV!=="production"&&!t&&(r!==void 0&&N('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),o!==void 0&&N('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&N('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const a=j({},n);process.env.NODE_ENV!=="production"&&(a.onWarn=N);const l=t&&r||!t&&s!=="post";let f;if(Me){if(s==="sync"){const p=io();f=p.__watcherHandles||(p.__watcherHandles=[])}else if(!l){const p=()=>{};return p.stop=re,p.resume=re,p.pause=re,p}}const h=de;a.call=(p,E,C)=>St(p,h,E,C);let c=!1;s==="post"?a.scheduler=p=>{_o(p,h&&h.suspense)}:s!=="sync"&&(c=!0,a.scheduler=(p,E)=>{E?p():bn(p)}),a.augmentJob=p=>{t&&(p.flags|=4),c&&(p.flags|=2,h&&(p.id=h.uid,p.i=h))};const d=jr(e,t,a);return Me&&(f?f.push(d):l&&d()),d}const lo=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}ke().requestIdleCallback,ke().cancelIdleCallback;function uo(e,t,n=de,r=!1){if(n){const o=n[e]||(n[e]=[]),s=t.__weh||(t.__weh=(...i)=>{se();const a=Oo(n),l=St(t,n,e,i);return a(),ie(),l});return r?o.unshift(s):o.push(s),s}else if(process.env.NODE_ENV!=="production"){const o=hr(Tt[e].replace(/ hook$/,""));N(`${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)=>{(!Me||e==="sp")&&uo(e,(...r)=>t(...r),n)},fo=Mn("m"),On=Mn("um"),ho=Symbol.for("v-ndc"),po={};process.env.NODE_ENV!=="production"&&(po.ownKeys=e=>(N("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 go=null;const mo={},$n=e=>Object.getPrototypeOf(e)===mo,_o=vo,yo=e=>e.__isSuspense;function vo(e,t){t&&t.pendingBranch?T(e)?t.effects.push(...e):t.effects.push(e):Tn(e)}const Vn=Symbol.for("v-fgt"),bo=Symbol.for("v-txt"),Eo=Symbol.for("v-cmt");function To(e){return e?e.__v_isVNode===!0:!1}const So=(...e)=>In(...e),Rn=({key:e})=>e??null,Ye=({ref:e,ref_key:t,ref_for:n})=>(typeof e=="number"&&(e=""+e),e!=null?L(e)||V(e)||w(e)?{i:De,r:e,k:t,f:!!n}:e:null);function wo(e,t=null,n=null,r=0,o=null,s=e===Vn?0:1,i=!1,a=!1){const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Rn(t),ref:t&&Ye(t),scopeId:ro,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:De};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&&N("VNode created with invalid key (NaN). VNode type:",l.type),l}const No=process.env.NODE_ENV!=="production"?So:In;function In(e,t=null,n=null,r=0,o=null,s=!1){if((!e||e===ho)&&(process.env.NODE_ENV!=="production"&&!e&&N(`Invalid vnode type when creating vnode: ${e}.`),e=Eo),To(e)){const a=qe(e,t,!0);return n&&Mt(a,n),a.patchFlag=-2,a}if(Ln(e)&&(e=e.__vccOpts),t){t=Co(t);let{class:a,style:l}=t;a&&!L(a)&&(t.class=at(a)),D(l)&&(Ke(l)&&!T(l)&&(l=j({},l)),t.style=it(l))}const i=L(e)?1:yo(e)?128:lo(e)?64:D(e)?4:w(e)?2:0;return process.env.NODE_ENV!=="production"&&i&4&&Ke(e)&&(e=g(e),N("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)),wo(e,t,n,r,o,i,s,!0)}function Co(e){return e?Ke(e)||$n(e)?j({},e):e:null}function qe(e,t,n=!1,r=!1){const{props:o,ref:s,patchFlag:i,children:a,transition:l}=e,f=t?Mo(o||{},t):o,h={__v_isVNode:!0,__v_skip:!0,type:e.type,props:f,key:f&&Rn(f),ref:t&&t.ref?n&&s?T(s)?s.concat(Ye(t)):[s,Ye(t)]:Ye(t):s,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:process.env.NODE_ENV!=="production"&&i===-1&&T(a)?a.map(An):a,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Vn?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&&qe(e.ssContent),ssFallback:e.ssFallback&&qe(e.ssFallback),placeholder:e.placeholder,el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return l&&r&&Dn(h,l.clone(h)),h}function An(e){const t=qe(e);return T(e.children)&&(t.children=e.children.map(An)),t}function Do(e=" ",t=0){return No(bo,null,e,t)}function Mt(e,t){let n=0;const{shapeFlag:r}=e;if(t==null)t=null;else if(T(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=De);else w(t)?(t={default:t,_ctx:De},n=32):(t=String(t),r&64?(n=16,t=[Do(t)]):n=8);e.children=t,e.shapeFlag|=n}function Mo(...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=at([t.class,r.class]));else if(o==="style")t.style=it([t.style,r.style]);else if(ar(o)){const s=t[o],i=r[o];i&&s!==i&&!(T(s)&&s.includes(i))&&(t[o]=s?[].concat(s,i):i)}else o!==""&&(t[o]=r[o])}return t}let de=null;const Fn=()=>de||De;let Ot;{const e=ke(),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=>de=n),t("__VUE_SSR_SETTERS__",n=>Me=n)}const Oo=e=>{const t=de;return Ot(e),e.scope.on(),()=>{e.scope.off(),Ot(t)}};let Me=!1;process.env.NODE_ENV;const $o=/(?:^|[-_])\w/g,Vo=e=>e.replace($o,t=>t.toUpperCase()).replace(/[-_]/g,"");function Hn(e,t=!0){return w(e)?e.displayName||e.name:e.name||t&&e.__name}function kn(e,t,n=!1){let r=Hn(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?Vo(r):n?"App":"Anonymous"}function Ln(e){return w(e)&&"__vccOpts"in e}const Je=(e,t)=>{const n=Pr(e,t,Me);if(process.env.NODE_ENV!=="production"){const r=Fn();r&&r.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function Ro(){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(!D(c))return null;if(c.__isVue)return["div",e,"VueInstance"];if(V(c)){se();const d=c.value;return ie(),["div",{},["span",e,h(c)],"<",a(d),">"]}else{if(ce(c))return["div",{},["span",e,O(c)?"ShallowReactive":"Reactive"],"<",a(c),`>${H(c)?" (readonly)":""}`];if(H(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 d=[];c.type.props&&c.props&&d.push(i("props",g(c.props))),c.setupState!==ye&&d.push(i("setup",c.setupState)),c.data!==ye&&d.push(i("data",g(c.data)));const p=l(c,"computed");p&&d.push(i("computed",p));const E=l(c,"inject");return E&&d.push(i("injected",E)),d.push(["div",{},["span",{style:r.style+";opacity:0.66"},"$ (internal): "],["object",{object:c}]]),d}function i(c,d){return d=j({},d),Object.keys(d).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},c],["div",{style:"padding-left:1.25em"},...Object.keys(d).map(p=>["div",{},["span",r,p+": "],a(d[p],!1)])]]:["span",{}]}function a(c,d=!0){return typeof c=="number"?["span",t,c]:typeof c=="string"?["span",n,JSON.stringify(c)]:typeof c=="boolean"?["span",r,c]:D(c)?["object",{object:d?g(c):c}]:["span",n,String(c)]}function l(c,d){const p=c.type;if(w(p))return;const E={};for(const C in c.ctx)f(p,C,d)&&(E[C]=c.ctx[C]);return E}function f(c,d,p){const E=c[p];if(T(E)&&E.includes(d)||D(E)&&d in E||c.extends&&f(c.extends,d,p)||c.mixins&&c.mixins.some(C=>f(C,d,p)))return!0}function h(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 Io(){Ro()}process.env.NODE_ENV!=="production"&&Io();const S=bt({mode:"light",variant:"default",isChanging:!1});let xn=!1,he=null;function $t(){if(!xn&&typeof window<"u"){const f=Ut();S.value={mode:f.mode,variant:f.variant,isChanging:!1},xn=!0}const e=Je(()=>S.value.mode),t=Je(()=>S.value.variant),n=Je(()=>S.value.mode==="dark"),r=Je(()=>S.value.isChanging),o=(f,h={})=>{S.value.isChanging=!0,ne({mode:f},h),S.value.mode=f,setTimeout(()=>{S.value.isChanging=!1},300)},s=(f,h={})=>{S.value.isChanging=!0,ne({variant:f},h),S.value.variant=f,setTimeout(()=>{S.value.isChanging=!1},300)},i=(f={})=>{const h=Wt(f);S.value.mode=h},a=(f,h={})=>{S.value.isChanging=!0,ne(f,h),f.mode&&(S.value.mode=f.mode),f.variant&&(S.value.variant=f.variant),setTimeout(()=>{S.value.isChanging=!1},300)},l=()=>Gt(S.value.variant);return{theme:S.value,mode:e.value,variant:t.value,isDark:n.value,isChanging:r.value,setMode:o,setVariant:s,toggleDarkMode:i,setTheme:a,getAvailableThemes:zt,getCurrentThemeMetadata:l}}function Ao(e=bt(!0)){const{setMode:t}=$t(),n=()=>{he&&he(),he=Bt(o=>{e.value&&t(o,{transition:!0,persist:!1})})},r=()=>{he&&(he(),he=null)};ao(e,o=>{o?n():r()},{immediate:!0}),On(()=>{r()})}function Fo(e){const t=bt(""),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 fo(()=>{n();const r=new MutationObserver(()=>{n()});r.observe(document.documentElement,{attributes:!0,attributeFilter:["class","data-theme"]}),On(()=>{r.disconnect()})}),Pe(t)}function Ho(){const{isChanging:e}=$t();return{isTransitioning:e}}u.CSS_CLASSES=te,u.DEFAULT_LOCALE=$e,u.DEFAULT_THEME_MODE=Re,u.DEFAULT_THEME_VARIANT=ge,u.HTML_ATTRIBUTES=me,u.STORAGE_KEYS=Y,u.THEMES_BY_CATEGORY=Un,u.THEME_MAP=Ae,u.THEME_METADATA=Wn,u.THEME_TRANSITION_DURATION=Ie,u.applyCustomTheme=Fe,u.applyMode=xt,u.applyTheme=ne,u.applyThemeFromPrimary=nr,u.applyVariant=Pt,u.clearCustomTheme=Xn,u.clearStoredTheme=Bn,u.detectSystemTheme=Gn,u.disableTransition=jt,u.enUS=Rt,u.enableTransition=Kt,u.generateThemeFromPrimary=nt,u.getAvailableThemes=zt,u.getCSSVariable=_e,u.getCurrentMode=et,u.getCurrentVariant=zn,u.getHSLColor=y,u.getHexColor=b,u.getHtmlElement=I,u.getLocale=Kn,u.getRGBColor=v,u.getStoredCustomTheme=Yt,u.getStoredMode=Ft,u.getStoredVariant=Ht,u.getThemeColor=Jn,u.getThemeColors=rr,u.getThemeColorsHex=sr,u.getThemeColorsRGB=or,u.getThemeDescription=At,u.getThemeMetadata=q,u.getThemeMetadataById=Gt,u.getThemeName=It,u.getTranslations=Xe,u.hexToHSL=qt,u.hslToHex=Jt,u.hslToRgb=rt,u.initTheme=Ut,u.isValidMode=Zn,u.isValidVariant=Qn,u.locales=Ze,u.parseHSL=tt,u.restoreCustomTheme=er,u.rgbToHSL=tr,u.setCSSVariable=qn,u.setLocale=Pn,u.storeMode=kt,u.storeVariant=Lt,u.toHSLString=Yn,u.toggleDarkMode=Wt,u.useSystemTheme=Ao,u.useTheme=$t,u.useThemeColor=Fo,u.useThemeTransition=Ho,u.watchSystemTheme=Bt,u.zhCN=ee,Object.defineProperty(u,Symbol.toStringTag,{value:"Module"})}));
6
6
  //# sourceMappingURL=index.umd.js.map