"use strict";function y(t){var l,n,e="";if(typeof t=="string"||typeof t=="number")e+=t;else if(typeof t=="object")if(Array.isArray(t)){var i=t.length;for(l=0;l<i;l++)t[l]&&(n=y(t[l]))&&(e&&(e+=" "),e+=n)}else for(n in t)t[n]&&(e&&(e+=" "),e+=n);return e}function V(){for(var t,l,n=0,e="",i=arguments.length;n<i;n++)(t=arguments[n])&&(l=y(t))&&(e&&(e+=" "),e+=l);return e}const m=t=>typeof t=="boolean"?`${t}`:t===0?"0":t,v=V,x=(t,l)=>n=>{var e;if(l?.variants==null)return v(t,n?.class,n?.className);const{variants:i,defaultVariants:u}=l,N=Object.keys(i).map(a=>{const r=n?.[a],o=u?.[a];if(r===null)return null;const s=m(r)||m(o);return i[a][s]}),c=n&&Object.entries(n).reduce((a,r)=>{let[o,s]=r;return s===void 0||(a[o]=s),a},{}),b=l==null||(e=l.compoundVariants)===null||e===void 0?void 0:e.reduce((a,r)=>{let{class:o,className:s,...C}=r;return Object.entries(C).every(j=>{let[f,d]=j;return Array.isArray(d)?d.includes({...u,...c}[f]):{...u,...c}[f]===d})?[...a,o,s]:a},[]);return v(t,N,b,n?.class,n?.className)};exports.clsx=V;exports.cva=x;exports.cx=v;
//# sourceMappingURL=index-DnaHaH_0.js.map
