UNPKG

@buildappolis/env-manager

Version:

Enterprise-grade environment variable management system with encryption, snapshots, and validation

156 lines 170 kB
import{j as r}from"./jsx-runtime.BjG_zV1W.js";import{r as c,R as _e,a as jr}from"./index.B7KzZMbc.js";/* empty css */import{r as Rt,R as gs}from"./index.CSP3KMZm.js";import{c as Y,G as xs,T as Bn,F as Wn,K as vs,R as bs,L as ys}from"./trash-2.DSZTeR6u.js";/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ws=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Sr=Y("check",ws);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ns=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],xn=Y("chevron-down",Ns);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const js=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Ss=Y("chevron-right",js);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Cs=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],Es=Y("chevron-up",Cs);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ks=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],Rs=Y("circle-alert",ks);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const As=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Ps=Y("clock",As);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ts=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],Os=Y("copy",Ts);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Is=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],Hn=Y("database",Is);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ds=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],Ms=Y("download",Ds);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const _s=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],Ls=Y("eye-off",_s);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Vs=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Fs=Y("eye",Vs);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const $s=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]],zs=Y("file-down",$s);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Bs=[["path",{d:"M4 22h14a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v4",key:"1pf5j1"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M2 15h10",key:"jfw4w8"}],["path",{d:"m9 18 3-3-3-3",key:"112psh"}]],Ws=Y("file-input",Bs);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Hs=[["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M4 7V4a2 2 0 0 1 2-2 2 2 0 0 0-2 2",key:"1vk7w2"}],["path",{d:"M4.063 20.999a2 2 0 0 0 2 1L18 22a2 2 0 0 0 2-2V7l-5-5H6",key:"1jink5"}],["path",{d:"m5 11-3 3",key:"1dgrs4"}],["path",{d:"m5 17-3-3h10",key:"1mvvaf"}]],Us=Y("file-output",Hs);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Gs=[["path",{d:"M12.5 22H18a2 2 0 0 0 2-2V7l-5-5H6a2 2 0 0 0-2 2v9.5",key:"1couwa"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M13.378 15.626a1 1 0 1 0-3.004-3.004l-5.01 5.012a2 2 0 0 0-.506.854l-.837 2.87a.5.5 0 0 0 .62.62l2.87-.837a2 2 0 0 0 .854-.506z",key:"1y4qbx"}]],vt=Y("file-pen",Gs);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const qs=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Ks=Y("file-text",qs);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Ys=[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 12v6",key:"3ahymv"}],["path",{d:"m15 15-3-3-3 3",key:"15xj92"}]],Xs=Y("file-up",Ys);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Js=[["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["line",{x1:"3",x2:"9",y1:"12",y2:"12",key:"1dyftd"}],["line",{x1:"15",x2:"21",y1:"12",y2:"12",key:"oup4p8"}]],Zs=Y("git-commit-horizontal",Js);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const Qs=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],en=Y("history",Qs);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ea=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Bt=Y("info",ea);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ta=[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]],na=Y("lock-open",ta);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ra=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],oa=Y("package",ra);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const sa=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],ct=Y("pen-line",sa);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const aa=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Un=Y("plus",aa);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ia=[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]],vn=Y("save",ia);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const la=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],ca=Y("shield",la);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const da=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Gn=Y("terminal",da);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ua=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],fa=Y("triangle-alert",ua);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ma=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],pa=Y("upload",ma);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const ha=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],ga=Y("user",ha);/** * @license lucide-react v0.540.0 - ISC * * This source code is licensed under the ISC license. * See the LICENSE file in the root directory of this source tree. */const xa=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],tn=Y("x",xa);function Cr(e){var t,n,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=Cr(e[t]))&&(o&&(o+=" "),o+=n)}else for(n in e)e[n]&&(o&&(o+=" "),o+=n);return o}function Er(){for(var e,t,n=0,o="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=Cr(e))&&(o&&(o+=" "),o+=t);return o}const qn=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Kn=Er,va=(e,t)=>n=>{var o;if(t?.variants==null)return Kn(e,n?.class,n?.className);const{variants:s,defaultVariants:a}=t,i=Object.keys(s).map(u=>{const m=n?.[u],p=a?.[u];if(m===null)return null;const b=qn(m)||qn(p);return s[u][b]}),l=n&&Object.entries(n).reduce((u,m)=>{let[p,b]=m;return b===void 0||(u[p]=b),u},{}),d=t==null||(o=t.compoundVariants)===null||o===void 0?void 0:o.reduce((u,m)=>{let{class:p,className:b,...g}=m;return Object.entries(g).every(N=>{let[f,h]=N;return Array.isArray(h)?h.includes({...a,...l}[f]):{...a,...l}[f]===h})?[...u,p,b]:u},[]);return Kn(e,i,d,n?.class,n?.className)},bn="-",ba=e=>{const t=wa(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:i=>{const l=i.split(bn);return l[0]===""&&l.length!==1&&l.shift(),kr(l,t)||ya(i)},getConflictingClassGroupIds:(i,l)=>{const d=n[i]||[];return l&&o[i]?[...d,...o[i]]:d}}},kr=(e,t)=>{if(e.length===0)return t.classGroupId;const n=e[0],o=t.nextPart.get(n),s=o?kr(e.slice(1),o):void 0;if(s)return s;if(t.validators.length===0)return;const a=e.join(bn);return t.validators.find(({validator:i})=>i(a))?.classGroupId},Yn=/^\[(.+)\]$/,ya=e=>{if(Yn.test(e)){const t=Yn.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},wa=e=>{const{theme:t,classGroups:n}=e,o={nextPart:new Map,validators:[]};for(const s in n)nn(n[s],o,s,t);return o},nn=(e,t,n,o)=>{e.forEach(s=>{if(typeof s=="string"){const a=s===""?t:Xn(t,s);a.classGroupId=n;return}if(typeof s=="function"){if(Na(s)){nn(s(o),t,n,o);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([a,i])=>{nn(i,Xn(t,a),n,o)})})},Xn=(e,t)=>{let n=e;return t.split(bn).forEach(o=>{n.nextPart.has(o)||n.nextPart.set(o,{nextPart:new Map,validators:[]}),n=n.nextPart.get(o)}),n},Na=e=>e.isThemeGetter,ja=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,o=new Map;const s=(a,i)=>{n.set(a,i),t++,t>e&&(t=0,o=n,n=new Map)};return{get(a){let i=n.get(a);if(i!==void 0)return i;if((i=o.get(a))!==void 0)return s(a,i),i},set(a,i){n.has(a)?n.set(a,i):s(a,i)}}},rn="!",on=":",Sa=on.length,Ca=e=>{const{prefix:t,experimentalParseClassName:n}=e;let o=s=>{const a=[];let i=0,l=0,d=0,u;for(let N=0;N<s.length;N++){let f=s[N];if(i===0&&l===0){if(f===on){a.push(s.slice(d,N)),d=N+Sa;continue}if(f==="/"){u=N;continue}}f==="["?i++:f==="]"?i--:f==="("?l++:f===")"&&l--}const m=a.length===0?s:s.substring(d),p=Ea(m),b=p!==m,g=u&&u>d?u-d:void 0;return{modifiers:a,hasImportantModifier:b,baseClassName:p,maybePostfixModifierPosition:g}};if(t){const s=t+on,a=o;o=i=>i.startsWith(s)?a(i.substring(s.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:i,maybePostfixModifierPosition:void 0}}if(n){const s=o;o=a=>n({className:a,parseClassName:s})}return o},Ea=e=>e.endsWith(rn)?e.substring(0,e.length-1):e.startsWith(rn)?e.substring(1):e,ka=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(o=>[o,!0]));return o=>{if(o.length<=1)return o;const s=[];let a=[];return o.forEach(i=>{i[0]==="["||t[i]?(s.push(...a.sort(),i),a=[]):a.push(i)}),s.push(...a.sort()),s}},Ra=e=>({cache:ja(e.cacheSize),parseClassName:Ca(e),sortModifiers:ka(e),...ba(e)}),Aa=/\s+/,Pa=(e,t)=>{const{parseClassName:n,getClassGroupId:o,getConflictingClassGroupIds:s,sortModifiers:a}=t,i=[],l=e.trim().split(Aa);let d="";for(let u=l.length-1;u>=0;u-=1){const m=l[u],{isExternal:p,modifiers:b,hasImportantModifier:g,baseClassName:N,maybePostfixModifierPosition:f}=n(m);if(p){d=m+(d.length>0?" "+d:d);continue}let h=!!f,x=o(h?N.substring(0,f):N);if(!x){if(!h){d=m+(d.length>0?" "+d:d);continue}if(x=o(N),!x){d=m+(d.length>0?" "+d:d);continue}h=!1}const v=a(b).join(":"),j=g?v+rn:v,C=j+x;if(i.includes(C))continue;i.push(C);const E=s(x,h);for(let I=0;I<E.length;++I){const R=E[I];i.push(j+R)}d=m+(d.length>0?" "+d:d)}return d};function Ta(){let e=0,t,n,o="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Rr(t))&&(o&&(o+=" "),o+=n);return o}const Rr=e=>{if(typeof e=="string")return e;let t,n="";for(let o=0;o<e.length;o++)e[o]&&(t=Rr(e[o]))&&(n&&(n+=" "),n+=t);return n};function Oa(e,...t){let n,o,s,a=i;function i(d){const u=t.reduce((m,p)=>p(m),e());return n=Ra(u),o=n.cache.get,s=n.cache.set,a=l,l(d)}function l(d){const u=o(d);if(u)return u;const m=Pa(d,n);return s(d,m),m}return function(){return a(Ta.apply(null,arguments))}}const ae=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Ar=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Pr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Ia=/^\d+\/\d+$/,Da=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ma=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,_a=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,La=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Va=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,He=e=>Ia.test(e),H=e=>!!e&&!Number.isNaN(Number(e)),Ae=e=>!!e&&Number.isInteger(Number(e)),Wt=e=>e.endsWith("%")&&H(e.slice(0,-1)),Ce=e=>Da.test(e),Fa=()=>!0,$a=e=>Ma.test(e)&&!_a.test(e),Tr=()=>!1,za=e=>La.test(e),Ba=e=>Va.test(e),Wa=e=>!T(e)&&!O(e),Ha=e=>Qe(e,Dr,Tr),T=e=>Ar.test(e),Le=e=>Qe(e,Mr,$a),Ht=e=>Qe(e,Ya,H),Jn=e=>Qe(e,Or,Tr),Ua=e=>Qe(e,Ir,Ba),dt=e=>Qe(e,_r,za),O=e=>Pr.test(e),ot=e=>et(e,Mr),Ga=e=>et(e,Xa),Zn=e=>et(e,Or),qa=e=>et(e,Dr),Ka=e=>et(e,Ir),ut=e=>et(e,_r,!0),Qe=(e,t,n)=>{const o=Ar.exec(e);return o?o[1]?t(o[1]):n(o[2]):!1},et=(e,t,n=!1)=>{const o=Pr.exec(e);return o?o[1]?t(o[1]):n:!1},Or=e=>e==="position"||e==="percentage",Ir=e=>e==="image"||e==="url",Dr=e=>e==="length"||e==="size"||e==="bg-size",Mr=e=>e==="length",Ya=e=>e==="number",Xa=e=>e==="family-name",_r=e=>e==="shadow",Ja=()=>{const e=ae("color"),t=ae("font"),n=ae("text"),o=ae("font-weight"),s=ae("tracking"),a=ae("leading"),i=ae("breakpoint"),l=ae("container"),d=ae("spacing"),u=ae("radius"),m=ae("shadow"),p=ae("inset-shadow"),b=ae("text-shadow"),g=ae("drop-shadow"),N=ae("blur"),f=ae("perspective"),h=ae("aspect"),x=ae("ease"),v=ae("animate"),j=()=>["auto","avoid","all","avoid-page","page","left","right","column"],C=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],E=()=>[...C(),O,T],I=()=>["auto","hidden","clip","visible","scroll"],R=()=>["auto","contain","none"],k=()=>[O,T,d],_=()=>[He,"full","auto",...k()],S=()=>[Ae,"none","subgrid",O,T],A=()=>["auto",{span:["full",Ae,O,T]},Ae,O,T],B=()=>[Ae,"auto",O,T],$=()=>["auto","min","max","fr",O,T],V=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],W=()=>["start","end","center","stretch","center-safe","end-safe"],M=()=>["auto",...k()],z=()=>[He,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],w=()=>[e,O,T],F=()=>[...C(),Zn,Jn,{position:[O,T]}],q=()=>["no-repeat",{repeat:["","x","y","space","round"]}],ee=()=>["auto","cover","contain",qa,Ha,{size:[O,T]}],oe=()=>[Wt,ot,Le],X=()=>["","none","full",u,O,T],K=()=>["",H,ot,Le],re=()=>["solid","dashed","dotted","double"],te=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],y=()=>[H,Wt,Zn,Jn],P=()=>["","none",N,O,T],L=()=>["none",H,O,T],D=()=>["none",H,O,T],U=()=>[H,O,T],Z=()=>[He,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[Ce],breakpoint:[Ce],color:[Fa],container:[Ce],"drop-shadow":[Ce],ease:["in","out","in-out"],font:[Wa],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[Ce],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[Ce],shadow:[Ce],spacing:["px",H],text:[Ce],"text-shadow":[Ce],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",He,T,O,h]}],container:["container"],columns:[{columns:[H,T,O,l]}],"break-after":[{"break-after":j()}],"break-before":[{"break-before":j()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:E()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:R()}],"overscroll-x":[{"overscroll-x":R()}],"overscroll-y":[{"overscroll-y":R()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:_()}],"inset-x":[{"inset-x":_()}],"inset-y":[{"inset-y":_()}],start:[{start:_()}],end:[{end:_()}],top:[{top:_()}],right:[{right:_()}],bottom:[{bottom:_()}],left:[{left:_()}],visibility:["visible","invisible","collapse"],z:[{z:[Ae,"auto",O,T]}],basis:[{basis:[He,"full","auto",l,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[H,He,"auto","initial","none",T]}],grow:[{grow:["",H,O,T]}],shrink:[{shrink:["",H,O,T]}],order:[{order:[Ae,"first","last","none",O,T]}],"grid-cols":[{"grid-cols":S()}],"col-start-end":[{col:A()}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":S()}],"row-start-end":[{row:A()}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":$()}],"auto-rows":[{"auto-rows":$()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:[...V(),"normal"]}],"justify-items":[{"justify-items":[...W(),"normal"]}],"justify-self":[{"justify-self":["auto",...W()]}],"align-content":[{content:["normal",...V()]}],"align-items":[{items:[...W(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...W(),{baseline:["","last"]}]}],"place-content":[{"place-content":V()}],"place-items":[{"place-items":[...W(),"baseline"]}],"place-self":[{"place-self":["auto",...W()]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:M()}],mx:[{mx:M()}],my:[{my:M()}],ms:[{ms:M()}],me:[{me:M()}],mt:[{mt:M()}],mr:[{mr:M()}],mb:[{mb:M()}],ml:[{ml:M()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:z()}],w:[{w:[l,"screen",...z()]}],"min-w":[{"min-w":[l,"screen","none",...z()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[i]},...z()]}],h:[{h:["screen","lh",...z()]}],"min-h":[{"min-h":["screen","lh","none",...z()]}],"max-h":[{"max-h":["screen","lh",...z()]}],"font-size":[{text:["base",n,ot,Le]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,O,Ht]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Wt,T]}],"font-family":[{font:[Ga,T,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,O,T]}],"line-clamp":[{"line-clamp":[H,"none",O,Ht]}],leading:[{leading:[a,...k()]}],"list-image":[{"list-image":["none",O,T]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",O,T]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:w()}],"text-color":[{text:w()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...re(),"wavy"]}],"text-decoration-thickness":[{decoration:[H,"from-font","auto",O,Le]}],"text-decoration-color":[{decoration:w()}],"underline-offset":[{"underline-offset":[H,"auto",O,T]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",O,T]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",O,T]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:F()}],"bg-repeat":[{bg:q()}],"bg-size":[{bg:ee()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Ae,O,T],radial:["",O,T],conic:[Ae,O,T]},Ka,Ua]}],"bg-color":[{bg:w()}],"gradient-from-pos":[{from:oe()}],"gradient-via-pos":[{via:oe()}],"gradient-to-pos":[{to:oe()}],"gradient-from":[{from:w()}],"gradient-via":[{via:w()}],"gradient-to":[{to:w()}],rounded:[{rounded:X()}],"rounded-s":[{"rounded-s":X()}],"rounded-e":[{"rounded-e":X()}],"rounded-t":[{"rounded-t":X()}],"rounded-r":[{"rounded-r":X()}],"rounded-b":[{"rounded-b":X()}],"rounded-l":[{"rounded-l":X()}],"rounded-ss":[{"rounded-ss":X()}],"rounded-se":[{"rounded-se":X()}],"rounded-ee":[{"rounded-ee":X()}],"rounded-es":[{"rounded-es":X()}],"rounded-tl":[{"rounded-tl":X()}],"rounded-tr":[{"rounded-tr":X()}],"rounded-br":[{"rounded-br":X()}],"rounded-bl":[{"rounded-bl":X()}],"border-w":[{border:K()}],"border-w-x":[{"border-x":K()}],"border-w-y":[{"border-y":K()}],"border-w-s":[{"border-s":K()}],"border-w-e":[{"border-e":K()}],"border-w-t":[{"border-t":K()}],"border-w-r":[{"border-r":K()}],"border-w-b":[{"border-b":K()}],"border-w-l":[{"border-l":K()}],"divide-x":[{"divide-x":K()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":K()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...re(),"hidden","none"]}],"divide-style":[{divide:[...re(),"hidden","none"]}],"border-color":[{border:w()}],"border-color-x":[{"border-x":w()}],"border-color-y":[{"border-y":w()}],"border-color-s":[{"border-s":w()}],"border-color-e":[{"border-e":w()}],"border-color-t":[{"border-t":w()}],"border-color-r":[{"border-r":w()}],"border-color-b":[{"border-b":w()}],"border-color-l":[{"border-l":w()}],"divide-color":[{divide:w()}],"outline-style":[{outline:[...re(),"none","hidden"]}],"outline-offset":[{"outline-offset":[H,O,T]}],"outline-w":[{outline:["",H,ot,Le]}],"outline-color":[{outline:w()}],shadow:[{shadow:["","none",m,ut,dt]}],"shadow-color":[{shadow:w()}],"inset-shadow":[{"inset-shadow":["none",p,ut,dt]}],"inset-shadow-color":[{"inset-shadow":w()}],"ring-w":[{ring:K()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:w()}],"ring-offset-w":[{"ring-offset":[H,Le]}],"ring-offset-color":[{"ring-offset":w()}],"inset-ring-w":[{"inset-ring":K()}],"inset-ring-color":[{"inset-ring":w()}],"text-shadow":[{"text-shadow":["none",b,ut,dt]}],"text-shadow-color":[{"text-shadow":w()}],opacity:[{opacity:[H,O,T]}],"mix-blend":[{"mix-blend":[...te(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":te()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[H]}],"mask-image-linear-from-pos":[{"mask-linear-from":y()}],"mask-image-linear-to-pos":[{"mask-linear-to":y()}],"mask-image-linear-from-color":[{"mask-linear-from":w()}],"mask-image-linear-to-color":[{"mask-linear-to":w()}],"mask-image-t-from-pos":[{"mask-t-from":y()}],"mask-image-t-to-pos":[{"mask-t-to":y()}],"mask-image-t-from-color":[{"mask-t-from":w()}],"mask-image-t-to-color":[{"mask-t-to":w()}],"mask-image-r-from-pos":[{"mask-r-from":y()}],"mask-image-r-to-pos":[{"mask-r-to":y()}],"mask-image-r-from-color":[{"mask-r-from":w()}],"mask-image-r-to-color":[{"mask-r-to":w()}],"mask-image-b-from-pos":[{"mask-b-from":y()}],"mask-image-b-to-pos":[{"mask-b-to":y()}],"mask-image-b-from-color":[{"mask-b-from":w()}],"mask-image-b-to-color":[{"mask-b-to":w()}],"mask-image-l-from-pos":[{"mask-l-from":y()}],"mask-image-l-to-pos":[{"mask-l-to":y()}],"mask-image-l-from-color":[{"mask-l-from":w()}],"mask-image-l-to-color":[{"mask-l-to":w()}],"mask-image-x-from-pos":[{"mask-x-from":y()}],"mask-image-x-to-pos":[{"mask-x-to":y()}],"mask-image-x-from-color":[{"mask-x-from":w()}],"mask-image-x-to-color":[{"mask-x-to":w()}],"mask-image-y-from-pos":[{"mask-y-from":y()}],"mask-image-y-to-pos":[{"mask-y-to":y()}],"mask-image-y-from-color":[{"mask-y-from":w()}],"mask-image-y-to-color":[{"mask-y-to":w()}],"mask-image-radial":[{"mask-radial":[O,T]}],"mask-image-radial-from-pos":[{"mask-radial-from":y()}],"mask-image-radial-to-pos":[{"mask-radial-to":y()}],"mask-image-radial-from-color":[{"mask-radial-from":w()}],"mask-image-radial-to-color":[{"mask-radial-to":w()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":C()}],"mask-image-conic-pos":[{"mask-conic":[H]}],"mask-image-conic-from-pos":[{"mask-conic-from":y()}],"mask-image-conic-to-pos":[{"mask-conic-to":y()}],"mask-image-conic-from-color":[{"mask-conic-from":w()}],"mask-image-conic-to-color":[{"mask-conic-to":w()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:F()}],"mask-repeat":[{mask:q()}],"mask-size":[{mask:ee()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",O,T]}],filter:[{filter:["","none",O,T]}],blur:[{blur:P()}],brightness:[{brightness:[H,O,T]}],contrast:[{contrast:[H,O,T]}],"drop-shadow":[{"drop-shadow":["","none",g,ut,dt]}],"drop-shadow-color":[{"drop-shadow":w()}],grayscale:[{grayscale:["",H,O,T]}],"hue-rotate":[{"hue-rotate":[H,O,T]}],invert:[{invert:["",H,O,T]}],saturate:[{saturate:[H,O,T]}],sepia:[{sepia:["",H,O,T]}],"backdrop-filter":[{"backdrop-filter":["","none",O,T]}],"backdrop-blur":[{"backdrop-blur":P()}],"backdrop-brightness":[{"backdrop-brightness":[H,O,T]}],"backdrop-contrast":[{"backdrop-contrast":[H,O,T]}],"backdrop-grayscale":[{"backdrop-grayscale":["",H,O,T]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[H,O,T]}],"backdrop-invert":[{"backdrop-invert":["",H,O,T]}],"backdrop-opacity":[{"backdrop-opacity":[H,O,T]}],"backdrop-saturate":[{"backdrop-saturate":[H,O,T]}],"backdrop-sepia":[{"backdrop-sepia":["",H,O,T]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",O,T]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[H,"initial",O,T]}],ease:[{ease:["linear","initial",x,O,T]}],delay:[{delay:[H,O,T]}],animate:[{animate:["none",v,O,T]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,O,T]}],"perspective-origin":[{"perspective-origin":E()}],rotate:[{rotate:L()}],"rotate-x":[{"rotate-x":L()}],"rotate-y":[{"rotate-y":L()}],"rotate-z":[{"rotate-z":L()}],scale:[{scale:D()}],"scale-x":[{"scale-x":D()}],"scale-y":[{"scale-y":D()}],"scale-z":[{"scale-z":D()}],"scale-3d":["scale-3d"],skew:[{skew:U()}],"skew-x":[{"skew-x":U()}],"skew-y":[{"skew-y":U()}],transform:[{transform:[O,T,"","none","gpu","cpu"]}],"transform-origin":[{origin:E()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Z()}],"translate-x":[{"translate-x":Z()}],"translate-y":[{"translate-y":Z()}],"translate-z":[{"translate-z":Z()}],"translate-none":["translate-none"],accent:[{accent:w()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:w()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",O,T]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",O,T]}],fill:[{fill:["none",...w()]}],"stroke-w":[{stroke:[H,ot,Le,Ht]}],stroke:[{stroke:["none",...w()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},Za=Oa(Ja);function G(...e){return Za(Er(e))}function Qn(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Lr(...e){return t=>{let n=!1;const o=e.map(s=>{const a=Qn(s,t);return!n&&typeof a=="function"&&(n=!0),a});if(n)return()=>{for(let s=0;s<o.length;s++){const a=o[s];typeof a=="function"?a():Qn(e[s],null)}}}}function se(...e){return c.useCallback(Lr(...e),e)}function Je(e){const t=ei(e),n=c.forwardRef((o,s)=>{const{children:a,...i}=o,l=c.Children.toArray(a),d=l.find(ni);if(d){const u=d.props.children,m=l.map(p=>p===d?c.Children.count(u)>1?c.Children.only(null):c.isValidElement(u)?u.props.children:null:p);return r.jsx(t,{...i,ref:s,children:c.isValidElement(u)?c.cloneElement(u,void 0,m):null})}return r.jsx(t,{...i,ref:s,children:a})});return n.displayName=`${e}.Slot`,n}var Qa=Je("Slot");function ei(e){const t=c.forwardRef((n,o)=>{const{children:s,...a}=n;if(c.isValidElement(s)){const i=oi(s),l=ri(a,s.props);return s.type!==c.Fragment&&(l.ref=o?Lr(o,i):i),c.cloneElement(s,l)}return c.Children.count(s)>1?c.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ti=Symbol("radix.slottable");function ni(e){return c.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ti}function ri(e,t){const n={...t};for(const o in t){const s=e[o],a=t[o];/^on[A-Z]/.test(o)?s&&a?n[o]=(...l)=>{const d=a(...l);return s(...l),d}:s&&(n[o]=s):o==="style"?n[o]={...s,...a}:o==="className"&&(n[o]=[s,a].filter(Boolean).join(" "))}return{...e,...n}}function oi(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}const si=va("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function ai({className:e,variant:t,size:n,asChild:o=!1,...s}){const a=o?Qa:"button";return r.jsx(a,{"data-slot":"button",className:G(si({variant:t,size:n,className:e})),...s})}function J({children:e,asChild:t,...n}){const{variant:o,size:s,className:a,font:i}=n;return r.jsx(ai,{...n,className:G("rounded-none active:translate-y-1 transition-transform relative inline-flex items-center justify-center gap-1.5",i!=="normal"&&"retro",a),size:s,variant:o,asChild:t,children:t?r.jsxs("span",{className:"relative inline-flex items-center justify-center gap-1.5",children:[e,o!=="ghost"&&o!=="link"&&s!=="icon"&&r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"absolute -top-1.5 w-1/2 left-1.5 h-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute -top-1.5 w-1/2 right-1.5 h-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute -bottom-1.5 w-1/2 left-1.5 h-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute -bottom-1.5 w-1/2 right-1.5 h-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute top-0 left-0 size-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute top-0 right-0 size-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute bottom-0 left-0 size-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute bottom-0 right-0 size-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute top-1.5 -left-1.5 h-2/3 w-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute top-1.5 -right-1.5 h-2/3 w-1.5 bg-foreground dark:bg-ring"}),o!=="outline"&&r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"absolute top-0 left-0 w-full h-1.5 bg-foreground/20"}),r.jsx("div",{className:"absolute top-1.5 left-0 w-3 h-1.5 bg-foreground/20"}),r.jsx("div",{className:"absolute bottom-0 left-0 w-full h-1.5 bg-foreground/20"}),r.jsx("div",{className:"absolute bottom-1.5 right-0 w-3 h-1.5 bg-foreground/20"})]})]}),s==="icon"&&r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"absolute top-0 left-0 w-full h-[5px] md:h-1.5 bg-foreground dark:bg-ring pointer-events-none"}),r.jsx("div",{className:"absolute bottom-0 w-full h-[5px] md:h-1.5 bg-foreground dark:bg-ring pointer-events-none"}),r.jsx("div",{className:"absolute top-1 -left-1 w-[5px] md:w-1.5 h-1/2 bg-foreground dark:bg-ring pointer-events-none"}),r.jsx("div",{className:"absolute bottom-1 -left-1 w-[5px] md:w-1.5 h-1/2 bg-foreground dark:bg-ring pointer-events-none"}),r.jsx("div",{className:"absolute top-1 -right-1 w-[5px] md:w-1.5 h-1/2 bg-foreground dark:bg-ring pointer-events-none"}),r.jsx("div",{className:"absolute bottom-1 -right-1 w-[5px] md:w-1.5 h-1/2 bg-foreground dark:bg-ring pointer-events-none"})]})]}):r.jsxs(r.Fragment,{children:[e,o!=="ghost"&&o!=="link"&&s!=="icon"&&r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"absolute -top-1.5 w-1/2 left-1.5 h-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute -top-1.5 w-1/2 right-1.5 h-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute -bottom-1.5 w-1/2 left-1.5 h-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute -bottom-1.5 w-1/2 right-1.5 h-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute top-0 left-0 size-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute top-0 right-0 size-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute bottom-0 left-0 size-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute bottom-0 right-0 size-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute top-1.5 -left-1.5 h-2/3 w-1.5 bg-foreground dark:bg-ring"}),r.jsx("div",{className:"absolute top-1.5 -right-1.5 h-2/3 w-1.5 bg-foreground dark:bg-ring"}),o!=="outline"&&r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"absolute top-0 left-0 w-full h-1.5 bg-foreground/20"}),r.jsx("div",{className:"absolute top-1.5 left-0 w-3 h-1.5 bg-foreground/20"}),r.jsx("div",{className:"absolute bottom-0 left-0 w-full h-1.5 bg-foreground/20"}),r.jsx("div",{className:"absolute bottom-1.5 right-0 w-3 h-1.5 bg-foreground/20"})]})]}),s==="icon"&&r.jsxs(r.Fragment,{children:[r.jsx("div",{className:"absolute top-0 left-0 w-full h-[5px] md:h-1.5 bg-foreground dark:bg-ring pointer-events-none"}),r.jsx("div",{className:"absolute bottom-0 w-full h-[5px] md:h-1.5 bg-foreground dark:bg-ring pointer-events-none"}),r.jsx("div",{className:"absolute top-1 -left-1 w-[5px] md:w-1.5 h-1/2 bg-foreground dark:bg-ring pointer-events-none"}),r.jsx("div",{className:"absolute bottom-1 -left-1 w-[5px] md:w-1.5 h-1/2 bg-foreground dark:bg-ring pointer-events-none"}),r.jsx("div",{className:"absolute top-1 -right-1 w-[5px] md:w-1.5 h-1/2 bg-foreground dark:bg-ring pointer-events-none"}),r.jsx("div",{className:"absolute bottom-1 -right-1 w-[5px] md:w-1.5 h-1/2 bg-foreground dark:bg-ring pointer-events-none"})]})]})})}function ii({className:e,...t}){return r.jsx("div",{"data-slot":"card",className:G("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function li({className:e,...t}){return r.jsx("div",{"data-slot":"card-header",className:G("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...t})}function ci({className:e,...t}){return r.jsx("div",{"data-slot":"card-title",className:G("leading-none font-semibold",e),...t})}function di({className:e,...t}){return r.jsx("div",{"data-slot":"card-description",className:G("text-muted-foreground text-sm",e),...t})}function ui({className:e,...t}){return r.jsx("div",{"data-slot":"card-content",className:G("px-6",e),...t})}function le({...e}){const{className:t,font:n}=e;return r.jsxs("div",{className:G("relative border-y-6 border-foreground dark:border-ring !p-0",t),children:[r.jsx(ii,{...e,className:G("rounded-none border-0 !w-full",n!=="normal"&&"retro",t)}),r.jsx("div",{className:"absolute inset-0 border-x-6 -mx-1.5 border-foreground dark:border-ring pointer-events-none","aria-hidden":"true"})]})}function fe({...e}){const{className:t,font:n}=e;return r.jsx(li,{className:G(n!=="normal"&&"retro",t),...e})}function me({...e}){const{className:t,font:n}=e;return r.jsx(ci,{className:G(n!=="normal"&&"retro",t),...e})}function Ve({...e}){const{className:t,font:n}=e;return r.jsx(di,{className:G(n!=="normal"&&"retro",t),...e})}function ce({...e}){const{className:t,font:n}=e;return r.jsx(ui,{className:G(n!=="normal"&&"retro",t),...e})}function fi({className:e,type:t,...n}){return r.jsx("input",{type:t,"data-slot":"input",className:G("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...n})}function Ee({...e}){const{className:t,font:n}=e;return r.jsxs("div",{className:G("relative border-y-6 border-foreground dark:border-ring !p-0 flex items-center",t),children:[r.jsx(fi,{...e,className:G("rounded-none ring-0 !w-full",n!=="normal"&&"retro",t)}),r.jsx("div",{className:"absolute inset-0 border-x-6 -mx-1.5 border-foreground dark:border-ring pointer-events-none","aria-hidden":"true"})]})}var mi=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Q=mi.reduce((e,t)=>{const n=Je(`Primitive.${t}`),o=c.forwardRef((s,a)=>{const{asChild:i,...l}=s,d=i?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),r.jsx(d,{...l,ref:a})});return o.displayName=`Primitive.${t}`,{...e,[t]:o}},{});function pi(e,t){e&&Rt.flushSync(()=>e.dispatchEvent(t))}var hi="Label",Vr=c.forwardRef((e,t)=>r.jsx(Q.label,{...e,ref:t,onMouseDown:n=>{n.target.closest("button, input, select, textarea")||(e.onMouseDown?.(n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Vr.displayName=hi;var gi=Vr;function xi({className:e,...t}){return r.jsx(gi,{"data-slot":"label",className:G("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...t})}function ye({className:e,font:t,...n}){return r.jsx(xi,{className:G(e,t!=="normal"&&"retro"),...n})}function er(e,[t,n]){return Math.min(n,Math.max(t,e))}function ne(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e?.(s),n===!1||!s.defaultPrevented)return t?.(s)}}function vi(e,t){const n=c.createContext(t),o=a=>{const{children:i,...l}=a,d=c.useMemo(()=>l,Object.values(l));return r.jsx(n.Provider,{value:d,children:i})};o.displayName=e+"Provider";function s(a){const i=c.useContext(n);if(i)return i;if(t!==void 0)return t;throw new Error(`\`${a}\` must be used within \`${e}\``)}return[o,s]}function At(e,t=[]){let n=[];function o(a,i){const l=c.createContext(i),d=n.length;n=[...n,i];const u=p=>{const{scope:b,children:g,...N}=p,f=b?.[e]?.[d]||l,h=c.useMemo(()=>N,Object.values(N));return r.jsx(f.Provider,{value:h,children:g})};u.displayName=a+"Provider";function m(p,b){const g=b?.[e]?.[d]||l,N=c.useContext(g);if(N)return N;if(i!==void 0)return i;throw new Error(`\`${p}\` must be used within \`${a}\``)}return[u,m]}const s=()=>{const a=n.map(i=>c.createContext(i));return function(l){const d=l?.[e]||a;return c.useMemo(()=>({[`__scope${e}`]:{...l,[e]:d}}),[l,d])}};return s.scopeName=e,[o,bi(s,...t)]}function bi(...e){con