Files
Stackq/.svelte-kit/output/client/_app/immutable/chunks/De4R2cbq.js
T

3 lines
38 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{k as br,Q as hr,b1 as $e,J as Ae,M as De,_ as Ke,h as H,b2 as vr,b3 as yr,b4 as wr,au as kr,b5 as xr,g as Ar,b6 as Cr,b7 as ae,p as _e,b8 as Sr,U as Mr,q as Tr,b9 as zr,ba as Nr,bb as Gr,bc as Vr,bd as _r}from"./MIlO0V30.js";import{B as Ir}from"./D6Mj8HfB.js";import{c as Rr,d as Er,e as Or,f as Pr,n as Lr,g as jr}from"./Dt2zEVER.js";function to(e,o,...t){var r=new Ir(e);br(()=>{const n=o()??null;r.ensure(n,n&&(s=>n(s,...t)))},hr)}function Fr(e,o){var t=void 0,r;$e(()=>{t!==(t=o())&&(r&&(Ae(r),r=null),t&&(r=De(()=>{Ke(()=>t(e))})))})}function Ye(e){var o,t,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(o=0;o<n;o++)e[o]&&(t=Ye(e[o]))&&(r&&(r+=" "),r+=t)}else for(t in e)e[t]&&(r&&(r+=" "),r+=t);return r}function qe(){for(var e,o,t=0,r="",n=arguments.length;t<n;t++)(e=arguments[t])&&(o=Ye(e))&&(r&&(r+=" "),r+=o);return r}function Br(e){return typeof e=="object"?qe(e):e??""}const Ie=[...`
\r\f \v\uFEFF`];function Wr(e,o,t){var r=e==null?"":""+e;if(t){for(var n in t)if(t[n])r=r?r+" "+n:n;else if(r.length)for(var s=n.length,a=0;(a=r.indexOf(n,a))>=0;){var u=a+s;(a===0||Ie.includes(r[a-1]))&&(u===r.length||Ie.includes(r[u]))?r=(a===0?"":r.substring(0,a))+r.substring(u+1):a=u}}return r===""?null:r}function Re(e,o=!1){var t=o?" !important;":";",r="";for(var n in e){var s=e[n];s!=null&&s!==""&&(r+=" "+n+": "+s+t)}return r}function we(e){return e[0]!=="-"||e[1]!=="-"?e.toLowerCase():e}function Ur(e,o){if(o){var t="",r,n;if(Array.isArray(o)?(r=o[0],n=o[1]):r=o,e){e=String(e).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var s=!1,a=0,u=!1,l=[];r&&l.push(...Object.keys(r).map(we)),n&&l.push(...Object.keys(n).map(we));var m=0,w=-1;const N=e.length;for(var h=0;h<N;h++){var g=e[h];if(u?g==="/"&&e[h-1]==="*"&&(u=!1):s?s===g&&(s=!1):g==="/"&&e[h+1]==="*"?u=!0:g==='"'||g==="'"?s=g:g==="("?a++:g===")"&&a--,!u&&s===!1&&a===0){if(g===":"&&w===-1)w=h;else if(g===";"||h===N-1){if(w!==-1){var S=we(e.substring(m,w).trim());if(!l.includes(S)){g!==";"&&h++;var T=e.substring(m,h).trim();t+=" "+T+";"}}m=h+1,w=-1}}}}return r&&(t+=Re(r)),n&&(t+=Re(n,!0)),t=t.trim(),t===""?null:t}return e==null?null:String(e)}function $r(e,o,t,r,n,s){var a=e.__className;if(H||a!==t||a===void 0){var u=Wr(t,r,s);(!H||u!==e.getAttribute("class"))&&(u==null?e.removeAttribute("class"):o?e.className=u:e.setAttribute("class",u)),e.__className=t}else if(s&&n!==s)for(var l in s){var m=!!s[l];(n==null||m!==!!n[l])&&e.classList.toggle(l,m)}return s}function ke(e,o={},t,r){for(var n in t){var s=t[n];o[n]!==s&&(t[n]==null?e.style.removeProperty(n):e.style.setProperty(n,s,r))}}function Dr(e,o,t,r){var n=e.__style;if(H||n!==o){var s=Ur(o,r);(!H||s!==e.getAttribute("style"))&&(s==null?e.removeAttribute("style"):e.style.cssText=s),e.__style=o}else r&&(Array.isArray(r)?(ke(e,t==null?void 0:t[0],r[0]),ke(e,t==null?void 0:t[1],r[1],"important")):ke(e,t,r));return r}function Ce(e,o,t=!1){if(e.multiple){if(o==null)return;if(!vr(o))return yr();for(var r of e.options)r.selected=o.includes(Ee(r));return}for(r of e.options){var n=Ee(r);if(wr(n,o)){r.selected=!0;return}}(!t||o!==void 0)&&(e.selectedIndex=-1)}function Kr(e){var o=new MutationObserver(()=>{Ce(e,e.__value)});o.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),kr(()=>{o.disconnect()})}function Ee(e){return"__value"in e?e.__value:e.value}const te=Symbol("class"),oe=Symbol("style"),He=Symbol("is custom element"),Xe=Symbol("is html"),Yr=ae?"link":"LINK",qr=ae?"input":"INPUT",Hr=ae?"option":"OPTION",Xr=ae?"select":"SELECT",Jr=ae?"progress":"PROGRESS";function Qr(e){if(H){var o=!1,t=()=>{if(!o){if(o=!0,e.hasAttribute("value")){var r=e.value;pe(e,"value",null),e.value=r}if(e.hasAttribute("checked")){var n=e.checked;pe(e,"checked",null),e.checked=n}}};e.__on_r=t,Tr(t),zr()}}function oo(e,o){var t=ve(e);t.value===(t.value=o??void 0)||e.value===o&&(o!==0||e.nodeName!==Jr)||(e.value=o??"")}function so(e,o){var t=ve(e);t.checked!==(t.checked=o??void 0)&&(e.checked=o)}function Zr(e,o){o?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function pe(e,o,t,r){var n=ve(e);H&&(n[o]=e.getAttribute(o),o==="src"||o==="srcset"||o==="href"&&e.nodeName===Yr)||n[o]!==(n[o]=t)&&(o==="loading"&&(e[Vr]=t),t==null?e.removeAttribute(o):typeof t!="string"&&Je(e).includes(o)?e[o]=t:e.setAttribute(o,t))}function et(e,o,t,r,n=!1,s=!1){if(H&&n&&e.nodeName===qr){var a=e,u=a.type==="checkbox"?"defaultChecked":"defaultValue";u in t||Qr(a)}var l=ve(e),m=l[He],w=!l[Xe];let h=H&&m;h&&_e(!1);var g=o||{},S=e.nodeName===Hr;for(var T in o)T in t||(t[T]=null);t.class?t.class=Br(t.class):t[te]&&(t.class=null),t[oe]&&(t.style??(t.style=null));var N=Je(e);for(const y in t){let C=t[y];if(S&&y==="value"&&C==null){e.value=e.__value="",g[y]=C;continue}if(y==="class"){var G=e.namespaceURI==="http://www.w3.org/1999/xhtml";$r(e,G,C,r,o==null?void 0:o[te],t[te]),g[y]=C,g[te]=t[te];continue}if(y==="style"){Dr(e,C,o==null?void 0:o[oe],t[oe]),g[y]=C,g[oe]=t[oe];continue}var M=g[y];if(!(C===M&&!(C===void 0&&e.hasAttribute(y)))){g[y]=C;var B=y[0]+y[1];if(B!=="$$")if(B==="on"){const f={},E="$$"+y;let I=y.slice(2);var P=jr(I);if(Rr(I)&&(I=I.slice(0,-7),f.capture=!0),!P&&M){if(C!=null)continue;e.removeEventListener(I,g[E],f),g[E]=null}if(P)Er(I,e,C),Or([I]);else if(C!=null){let J=function(Y){g[y].call(this,Y)};g[E]=Pr(I,e,J,f)}}else if(y==="style")pe(e,y,C);else if(y==="autofocus")Sr(e,!!C);else if(!m&&(y==="__value"||y==="value"&&C!=null))e.value=e.__value=C;else if(y==="selected"&&S)Zr(e,C);else{var V=y;w||(V=Lr(V));var A=V==="defaultValue"||V==="defaultChecked";if(C==null&&!m&&!A)if(l[y]=null,V==="value"||V==="checked"){let f=e;const E=o===void 0;if(V==="value"){let I=f.defaultValue;f.removeAttribute(V),f.defaultValue=I,f.value=f.__value=E?I:null}else{let I=f.defaultChecked;f.removeAttribute(V),f.defaultChecked=I,f.checked=E?I:!1}}else e.removeAttribute(y);else A||N.includes(V)&&(m||typeof C!="string")?(e[V]=C,V in l&&(l[V]=Mr)):typeof C!="function"&&pe(e,V,C)}}}return h&&_e(!0),g}function no(e,o,t=[],r=[],n=[],s,a=!1,u=!1){xr(n,t,r,l=>{var m=void 0,w={},h=e.nodeName===Xr,g=!1;if($e(()=>{var T=o(...l.map(Ar)),N=et(e,m,T,s,a,u);g&&h&&"value"in T&&Ce(e,T.value);for(let M of Object.getOwnPropertySymbols(w))T[M]||Ae(w[M]);for(let M of Object.getOwnPropertySymbols(T)){var G=T[M];M.description===Cr&&(!m||G!==m[M])&&(w[M]&&Ae(w[M]),w[M]=De(()=>Fr(e,()=>G))),N[M]=G}m=N}),h){var S=e;Ke(()=>{Ce(S,m.value,!0),Kr(S)})}g=!0})}function ve(e){return e.__attributes??(e.__attributes={[He]:e.nodeName.includes("-"),[Xe]:e.namespaceURI===Nr})}var Oe=new Map;function Je(e){var o=e.getAttribute("is")||e.nodeName,t=Oe.get(o);if(t)return t;Oe.set(o,t=[]);for(var r,n=e,s=Element.prototype;s!==n;){r=_r(n);for(var a in r)r[a].set&&t.push(a);n=Gr(n)}return t}const rt=(e,o)=>{const t=new Array(e.length+o.length);for(let r=0;r<e.length;r++)t[r]=e[r];for(let r=0;r<o.length;r++)t[e.length+r]=o[r];return t},tt=(e,o)=>({classGroupId:e,validator:o}),Qe=(e=new Map,o=null,t)=>({nextPart:e,validators:o,classGroupId:t}),be="-",Pe=[],ot="arbitrary..",st=e=>{const o=at(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return nt(a);const u=a.split(be),l=u[0]===""&&u.length>1?1:0;return Ze(u,l,o)},getConflictingClassGroupIds:(a,u)=>{if(u){const l=r[a],m=t[a];return l?m?rt(m,l):l:m||Pe}return t[a]||Pe}}},Ze=(e,o,t)=>{if(e.length-o===0)return t.classGroupId;const n=e[o],s=t.nextPart.get(n);if(s){const m=Ze(e,o+1,s);if(m)return m}const a=t.validators;if(a===null)return;const u=o===0?e.join(be):e.slice(o).join(be),l=a.length;for(let m=0;m<l;m++){const w=a[m];if(w.validator(u))return w.classGroupId}},nt=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{const o=e.slice(1,-1),t=o.indexOf(":"),r=o.slice(0,t);return r?ot+r:void 0})(),at=e=>{const{theme:o,classGroups:t}=e;return it(t,o)},it=(e,o)=>{const t=Qe();for(const r in e){const n=e[r];Ne(n,t,r,o)}return t},Ne=(e,o,t,r)=>{const n=e.length;for(let s=0;s<n;s++){const a=e[s];lt(a,o,t,r)}},lt=(e,o,t,r)=>{if(typeof e=="string"){ct(e,o,t);return}if(typeof e=="function"){dt(e,o,t,r);return}ft(e,o,t,r)},ct=(e,o,t)=>{const r=e===""?o:er(o,e);r.classGroupId=t},dt=(e,o,t,r)=>{if(ut(e)){Ne(e(r),o,t,r);return}o.validators===null&&(o.validators=[]),o.validators.push(tt(t,e))},ft=(e,o,t,r)=>{const n=Object.entries(e),s=n.length;for(let a=0;a<s;a++){const[u,l]=n[a];Ne(l,er(o,u),t,r)}},er=(e,o)=>{let t=e;const r=o.split(be),n=r.length;for(let s=0;s<n;s++){const a=r[s];let u=t.nextPart.get(a);u||(u=Qe(),t.nextPart.set(a,u)),t=u}return t},ut=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,mt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let o=0,t=Object.create(null),r=Object.create(null);const n=(s,a)=>{t[s]=a,o++,o>e&&(o=0,r=t,t=Object.create(null))};return{get(s){let a=t[s];if(a!==void 0)return a;if((a=r[s])!==void 0)return n(s,a),a},set(s,a){s in t?t[s]=a:n(s,a)}}},Se="!",Le=":",gt=[],je=(e,o,t,r,n)=>({modifiers:e,hasImportantModifier:o,baseClassName:t,maybePostfixModifierPosition:r,isExternal:n}),pt=e=>{const{prefix:o,experimentalParseClassName:t}=e;let r=n=>{const s=[];let a=0,u=0,l=0,m;const w=n.length;for(let N=0;N<w;N++){const G=n[N];if(a===0&&u===0){if(G===Le){s.push(n.slice(l,N)),l=N+1;continue}if(G==="/"){m=N;continue}}G==="["?a++:G==="]"?a--:G==="("?u++:G===")"&&u--}const h=s.length===0?n:n.slice(l);let g=h,S=!1;h.endsWith(Se)?(g=h.slice(0,-1),S=!0):h.startsWith(Se)&&(g=h.slice(1),S=!0);const T=m&&m>l?m-l:void 0;return je(s,S,g,T)};if(o){const n=o+Le,s=r;r=a=>a.startsWith(n)?s(a.slice(n.length)):je(gt,!1,a,void 0,!0)}if(t){const n=r;r=s=>t({className:s,parseClassName:n})}return r},bt=e=>{const o=new Map;return e.orderSensitiveModifiers.forEach((t,r)=>{o.set(t,1e6+r)}),t=>{const r=[];let n=[];for(let s=0;s<t.length;s++){const a=t[s],u=a[0]==="[",l=o.has(a);u||l?(n.length>0&&(n.sort(),r.push(...n),n=[]),r.push(a)):n.push(a)}return n.length>0&&(n.sort(),r.push(...n)),r}},ht=e=>({cache:mt(e.cacheSize),parseClassName:pt(e),sortModifiers:bt(e),...st(e)}),vt=/\s+/,yt=(e,o)=>{const{parseClassName:t,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=o,a=[],u=e.trim().split(vt);let l="";for(let m=u.length-1;m>=0;m-=1){const w=u[m],{isExternal:h,modifiers:g,hasImportantModifier:S,baseClassName:T,maybePostfixModifierPosition:N}=t(w);if(h){l=w+(l.length>0?" "+l:l);continue}let G=!!N,M=r(G?T.substring(0,N):T);if(!M){if(!G){l=w+(l.length>0?" "+l:l);continue}if(M=r(T),!M){l=w+(l.length>0?" "+l:l);continue}G=!1}const B=g.length===0?"":g.length===1?g[0]:s(g).join(":"),P=S?B+Se:B,V=P+M;if(a.indexOf(V)>-1)continue;a.push(V);const A=n(M,G);for(let y=0;y<A.length;++y){const C=A[y];a.push(P+C)}l=w+(l.length>0?" "+l:l)}return l},wt=(...e)=>{let o=0,t,r,n="";for(;o<e.length;)(t=e[o++])&&(r=rr(t))&&(n&&(n+=" "),n+=r);return n},rr=e=>{if(typeof e=="string")return e;let o,t="";for(let r=0;r<e.length;r++)e[r]&&(o=rr(e[r]))&&(t&&(t+=" "),t+=o);return t},Me=(e,...o)=>{let t,r,n,s;const a=l=>{const m=o.reduce((w,h)=>h(w),e());return t=ht(m),r=t.cache.get,n=t.cache.set,s=u,u(l)},u=l=>{const m=r(l);if(m)return m;const w=yt(l,t);return n(l,w),w};return s=a,(...l)=>s(wt(...l))},kt=[],O=e=>{const o=t=>t[e]||kt;return o.isThemeGetter=!0,o},tr=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,or=/^\((?:(\w[\w-]*):)?(.+)\)$/i,xt=/^\d+\/\d+$/,At=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ct=/\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$/,St=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Mt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Tt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,re=e=>xt.test(e),p=e=>!!e&&!Number.isNaN(Number(e)),q=e=>!!e&&Number.isInteger(Number(e)),xe=e=>e.endsWith("%")&&p(e.slice(0,-1)),D=e=>At.test(e),sr=()=>!0,zt=e=>Ct.test(e)&&!St.test(e),Ge=()=>!1,Nt=e=>Mt.test(e),Gt=e=>Tt.test(e),Vt=e=>!c(e)&&!d(e),_t=e=>X(e,ir,Ge),c=e=>tr.test(e),Z=e=>X(e,lr,zt),Fe=e=>X(e,Ft,p),It=e=>X(e,dr,sr),Rt=e=>X(e,cr,Ge),Be=e=>X(e,nr,Ge),Et=e=>X(e,ar,Gt),fe=e=>X(e,fr,Nt),d=e=>or.test(e),se=e=>ee(e,lr),Ot=e=>ee(e,cr),We=e=>ee(e,nr),Pt=e=>ee(e,ir),Lt=e=>ee(e,ar),ue=e=>ee(e,fr,!0),jt=e=>ee(e,dr,!0),X=(e,o,t)=>{const r=tr.exec(e);return r?r[1]?o(r[1]):t(r[2]):!1},ee=(e,o,t=!1)=>{const r=or.exec(e);return r?r[1]?o(r[1]):t:!1},nr=e=>e==="position"||e==="percentage",ar=e=>e==="image"||e==="url",ir=e=>e==="length"||e==="size"||e==="bg-size",lr=e=>e==="length",Ft=e=>e==="number",cr=e=>e==="family-name",dr=e=>e==="number"||e==="weight",fr=e=>e==="shadow",Te=()=>{const e=O("color"),o=O("font"),t=O("text"),r=O("font-weight"),n=O("tracking"),s=O("leading"),a=O("breakpoint"),u=O("container"),l=O("spacing"),m=O("radius"),w=O("shadow"),h=O("inset-shadow"),g=O("text-shadow"),S=O("drop-shadow"),T=O("blur"),N=O("perspective"),G=O("aspect"),M=O("ease"),B=O("animate"),P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],V=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],A=()=>[...V(),d,c],y=()=>["auto","hidden","clip","visible","scroll"],C=()=>["auto","contain","none"],f=()=>[d,c,l],E=()=>[re,"full","auto",...f()],I=()=>[q,"none","subgrid",d,c],J=()=>["auto",{span:["full",q,d,c]},q,d,c],Y=()=>[q,"auto",d,c],ie=()=>["auto","min","max","fr",d,c],k=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],x=()=>["start","end","center","stretch","center-safe","end-safe"],v=()=>["auto",...f()],b=()=>[re,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...f()],i=()=>[e,d,c],_=()=>[...V(),We,Be,{position:[d,c]}],F=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",Pt,_t,{size:[d,c]}],j=()=>[xe,se,Z],z=()=>["","none","full",m,d,c],R=()=>["",p,se,Z],W=()=>["solid","dashed","dotted","double"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],L=()=>[p,xe,We,Be],Ve=()=>["","none",T,d,c],le=()=>["none",p,d,c],ce=()=>["none",p,d,c],ye=()=>[p,d,c],de=()=>[re,"full",...f()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[D],breakpoint:[D],color:[sr],container:[D],"drop-shadow":[D],ease:["in","out","in-out"],font:[Vt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[D],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[D],shadow:[D],spacing:["px",p],text:[D],"text-shadow":[D],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",re,c,d,G]}],container:["container"],columns:[{columns:[p,c,d,u]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"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:A()}],overflow:[{overflow:y()}],"overflow-x":[{"overflow-x":y()}],"overflow-y":[{"overflow-y":y()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:E()}],"inset-x":[{"inset-x":E()}],"inset-y":[{"inset-y":E()}],start:[{start:E()}],end:[{end:E()}],top:[{top:E()}],right:[{right:E()}],bottom:[{bottom:E()}],left:[{left:E()}],visibility:["visible","invisible","collapse"],z:[{z:[q,"auto",d,c]}],basis:[{basis:[re,"full","auto",u,...f()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[p,re,"auto","initial","none",c]}],grow:[{grow:["",p,d,c]}],shrink:[{shrink:["",p,d,c]}],order:[{order:[q,"first","last","none",d,c]}],"grid-cols":[{"grid-cols":I()}],"col-start-end":[{col:J()}],"col-start":[{"col-start":Y()}],"col-end":[{"col-end":Y()}],"grid-rows":[{"grid-rows":I()}],"row-start-end":[{row:J()}],"row-start":[{"row-start":Y()}],"row-end":[{"row-end":Y()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ie()}],"auto-rows":[{"auto-rows":ie()}],gap:[{gap:f()}],"gap-x":[{"gap-x":f()}],"gap-y":[{"gap-y":f()}],"justify-content":[{justify:[...k(),"normal"]}],"justify-items":[{"justify-items":[...x(),"normal"]}],"justify-self":[{"justify-self":["auto",...x()]}],"align-content":[{content:["normal",...k()]}],"align-items":[{items:[...x(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...x(),{baseline:["","last"]}]}],"place-content":[{"place-content":k()}],"place-items":[{"place-items":[...x(),"baseline"]}],"place-self":[{"place-self":["auto",...x()]}],p:[{p:f()}],px:[{px:f()}],py:[{py:f()}],ps:[{ps:f()}],pe:[{pe:f()}],pt:[{pt:f()}],pr:[{pr:f()}],pb:[{pb:f()}],pl:[{pl:f()}],m:[{m:v()}],mx:[{mx:v()}],my:[{my:v()}],ms:[{ms:v()}],me:[{me:v()}],mt:[{mt:v()}],mr:[{mr:v()}],mb:[{mb:v()}],ml:[{ml:v()}],"space-x":[{"space-x":f()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":f()}],"space-y-reverse":["space-y-reverse"],size:[{size:b()}],w:[{w:[u,"screen",...b()]}],"min-w":[{"min-w":[u,"screen","none",...b()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[a]},...b()]}],h:[{h:["screen","lh",...b()]}],"min-h":[{"min-h":["screen","lh","none",...b()]}],"max-h":[{"max-h":["screen","lh",...b()]}],"font-size":[{text:["base",t,se,Z]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,jt,It]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",xe,c]}],"font-family":[{font:[Ot,Rt,o]}],"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:[n,d,c]}],"line-clamp":[{"line-clamp":[p,"none",d,Fe]}],leading:[{leading:[s,...f()]}],"list-image":[{"list-image":["none",d,c]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",d,c]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:i()}],"text-color":[{text:i()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:[p,"from-font","auto",d,Z]}],"text-decoration-color":[{decoration:i()}],"underline-offset":[{"underline-offset":[p,"auto",d,c]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:f()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",d,c]}],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",d,c]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:_()}],"bg-repeat":[{bg:F()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},q,d,c],radial:["",d,c],conic:[q,d,c]},Lt,Et]}],"bg-color":[{bg:i()}],"gradient-from-pos":[{from:j()}],"gradient-via-pos":[{via:j()}],"gradient-to-pos":[{to:j()}],"gradient-from":[{from:i()}],"gradient-via":[{via:i()}],"gradient-to":[{to:i()}],rounded:[{rounded:z()}],"rounded-s":[{"rounded-s":z()}],"rounded-e":[{"rounded-e":z()}],"rounded-t":[{"rounded-t":z()}],"rounded-r":[{"rounded-r":z()}],"rounded-b":[{"rounded-b":z()}],"rounded-l":[{"rounded-l":z()}],"rounded-ss":[{"rounded-ss":z()}],"rounded-se":[{"rounded-se":z()}],"rounded-ee":[{"rounded-ee":z()}],"rounded-es":[{"rounded-es":z()}],"rounded-tl":[{"rounded-tl":z()}],"rounded-tr":[{"rounded-tr":z()}],"rounded-br":[{"rounded-br":z()}],"rounded-bl":[{"rounded-bl":z()}],"border-w":[{border:R()}],"border-w-x":[{"border-x":R()}],"border-w-y":[{"border-y":R()}],"border-w-s":[{"border-s":R()}],"border-w-e":[{"border-e":R()}],"border-w-t":[{"border-t":R()}],"border-w-r":[{"border-r":R()}],"border-w-b":[{"border-b":R()}],"border-w-l":[{"border-l":R()}],"divide-x":[{"divide-x":R()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":R()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...W(),"hidden","none"]}],"divide-style":[{divide:[...W(),"hidden","none"]}],"border-color":[{border:i()}],"border-color-x":[{"border-x":i()}],"border-color-y":[{"border-y":i()}],"border-color-s":[{"border-s":i()}],"border-color-e":[{"border-e":i()}],"border-color-t":[{"border-t":i()}],"border-color-r":[{"border-r":i()}],"border-color-b":[{"border-b":i()}],"border-color-l":[{"border-l":i()}],"divide-color":[{divide:i()}],"outline-style":[{outline:[...W(),"none","hidden"]}],"outline-offset":[{"outline-offset":[p,d,c]}],"outline-w":[{outline:["",p,se,Z]}],"outline-color":[{outline:i()}],shadow:[{shadow:["","none",w,ue,fe]}],"shadow-color":[{shadow:i()}],"inset-shadow":[{"inset-shadow":["none",h,ue,fe]}],"inset-shadow-color":[{"inset-shadow":i()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:i()}],"ring-offset-w":[{"ring-offset":[p,Z]}],"ring-offset-color":[{"ring-offset":i()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":i()}],"text-shadow":[{"text-shadow":["none",g,ue,fe]}],"text-shadow-color":[{"text-shadow":i()}],opacity:[{opacity:[p,d,c]}],"mix-blend":[{"mix-blend":[...Q(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Q()}],"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":[p]}],"mask-image-linear-from-pos":[{"mask-linear-from":L()}],"mask-image-linear-to-pos":[{"mask-linear-to":L()}],"mask-image-linear-from-color":[{"mask-linear-from":i()}],"mask-image-linear-to-color":[{"mask-linear-to":i()}],"mask-image-t-from-pos":[{"mask-t-from":L()}],"mask-image-t-to-pos":[{"mask-t-to":L()}],"mask-image-t-from-color":[{"mask-t-from":i()}],"mask-image-t-to-color":[{"mask-t-to":i()}],"mask-image-r-from-pos":[{"mask-r-from":L()}],"mask-image-r-to-pos":[{"mask-r-to":L()}],"mask-image-r-from-color":[{"mask-r-from":i()}],"mask-image-r-to-color":[{"mask-r-to":i()}],"mask-image-b-from-pos":[{"mask-b-from":L()}],"mask-image-b-to-pos":[{"mask-b-to":L()}],"mask-image-b-from-color":[{"mask-b-from":i()}],"mask-image-b-to-color":[{"mask-b-to":i()}],"mask-image-l-from-pos":[{"mask-l-from":L()}],"mask-image-l-to-pos":[{"mask-l-to":L()}],"mask-image-l-from-color":[{"mask-l-from":i()}],"mask-image-l-to-color":[{"mask-l-to":i()}],"mask-image-x-from-pos":[{"mask-x-from":L()}],"mask-image-x-to-pos":[{"mask-x-to":L()}],"mask-image-x-from-color":[{"mask-x-from":i()}],"mask-image-x-to-color":[{"mask-x-to":i()}],"mask-image-y-from-pos":[{"mask-y-from":L()}],"mask-image-y-to-pos":[{"mask-y-to":L()}],"mask-image-y-from-color":[{"mask-y-from":i()}],"mask-image-y-to-color":[{"mask-y-to":i()}],"mask-image-radial":[{"mask-radial":[d,c]}],"mask-image-radial-from-pos":[{"mask-radial-from":L()}],"mask-image-radial-to-pos":[{"mask-radial-to":L()}],"mask-image-radial-from-color":[{"mask-radial-from":i()}],"mask-image-radial-to-color":[{"mask-radial-to":i()}],"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":V()}],"mask-image-conic-pos":[{"mask-conic":[p]}],"mask-image-conic-from-pos":[{"mask-conic-from":L()}],"mask-image-conic-to-pos":[{"mask-conic-to":L()}],"mask-image-conic-from-color":[{"mask-conic-from":i()}],"mask-image-conic-to-color":[{"mask-conic-to":i()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:_()}],"mask-repeat":[{mask:F()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",d,c]}],filter:[{filter:["","none",d,c]}],blur:[{blur:Ve()}],brightness:[{brightness:[p,d,c]}],contrast:[{contrast:[p,d,c]}],"drop-shadow":[{"drop-shadow":["","none",S,ue,fe]}],"drop-shadow-color":[{"drop-shadow":i()}],grayscale:[{grayscale:["",p,d,c]}],"hue-rotate":[{"hue-rotate":[p,d,c]}],invert:[{invert:["",p,d,c]}],saturate:[{saturate:[p,d,c]}],sepia:[{sepia:["",p,d,c]}],"backdrop-filter":[{"backdrop-filter":["","none",d,c]}],"backdrop-blur":[{"backdrop-blur":Ve()}],"backdrop-brightness":[{"backdrop-brightness":[p,d,c]}],"backdrop-contrast":[{"backdrop-contrast":[p,d,c]}],"backdrop-grayscale":[{"backdrop-grayscale":["",p,d,c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p,d,c]}],"backdrop-invert":[{"backdrop-invert":["",p,d,c]}],"backdrop-opacity":[{"backdrop-opacity":[p,d,c]}],"backdrop-saturate":[{"backdrop-saturate":[p,d,c]}],"backdrop-sepia":[{"backdrop-sepia":["",p,d,c]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":f()}],"border-spacing-x":[{"border-spacing-x":f()}],"border-spacing-y":[{"border-spacing-y":f()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",d,c]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[p,"initial",d,c]}],ease:[{ease:["linear","initial",M,d,c]}],delay:[{delay:[p,d,c]}],animate:[{animate:["none",B,d,c]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[N,d,c]}],"perspective-origin":[{"perspective-origin":A()}],rotate:[{rotate:le()}],"rotate-x":[{"rotate-x":le()}],"rotate-y":[{"rotate-y":le()}],"rotate-z":[{"rotate-z":le()}],scale:[{scale:ce()}],"scale-x":[{"scale-x":ce()}],"scale-y":[{"scale-y":ce()}],"scale-z":[{"scale-z":ce()}],"scale-3d":["scale-3d"],skew:[{skew:ye()}],"skew-x":[{"skew-x":ye()}],"skew-y":[{"skew-y":ye()}],transform:[{transform:[d,c,"","none","gpu","cpu"]}],"transform-origin":[{origin:A()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:de()}],"translate-x":[{"translate-x":de()}],"translate-y":[{"translate-y":de()}],"translate-z":[{"translate-z":de()}],"translate-none":["translate-none"],accent:[{accent:i()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:i()}],"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",d,c]}],"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":f()}],"scroll-mx":[{"scroll-mx":f()}],"scroll-my":[{"scroll-my":f()}],"scroll-ms":[{"scroll-ms":f()}],"scroll-me":[{"scroll-me":f()}],"scroll-mt":[{"scroll-mt":f()}],"scroll-mr":[{"scroll-mr":f()}],"scroll-mb":[{"scroll-mb":f()}],"scroll-ml":[{"scroll-ml":f()}],"scroll-p":[{"scroll-p":f()}],"scroll-px":[{"scroll-px":f()}],"scroll-py":[{"scroll-py":f()}],"scroll-ps":[{"scroll-ps":f()}],"scroll-pe":[{"scroll-pe":f()}],"scroll-pt":[{"scroll-pt":f()}],"scroll-pr":[{"scroll-pr":f()}],"scroll-pb":[{"scroll-pb":f()}],"scroll-pl":[{"scroll-pl":f()}],"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",d,c]}],fill:[{fill:["none",...i()]}],"stroke-w":[{stroke:[p,se,Z,Fe]}],stroke:[{stroke:["none",...i()]}],"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"]}},Bt=(e,{cacheSize:o,prefix:t,experimentalParseClassName:r,extend:n={},override:s={}})=>(ne(e,"cacheSize",o),ne(e,"prefix",t),ne(e,"experimentalParseClassName",r),me(e.theme,s.theme),me(e.classGroups,s.classGroups),me(e.conflictingClassGroups,s.conflictingClassGroups),me(e.conflictingClassGroupModifiers,s.conflictingClassGroupModifiers),ne(e,"orderSensitiveModifiers",s.orderSensitiveModifiers),ge(e.theme,n.theme),ge(e.classGroups,n.classGroups),ge(e.conflictingClassGroups,n.conflictingClassGroups),ge(e.conflictingClassGroupModifiers,n.conflictingClassGroupModifiers),ur(e,n,"orderSensitiveModifiers"),e),ne=(e,o,t)=>{t!==void 0&&(e[o]=t)},me=(e,o)=>{if(o)for(const t in o)ne(e,t,o[t])},ge=(e,o)=>{if(o)for(const t in o)ur(e,o,t)},ur=(e,o,t)=>{const r=o[t];r!==void 0&&(e[t]=e[t]?e[t].concat(r):r)},Wt=(e,...o)=>typeof e=="function"?Me(Te,e,...o):Me(()=>Bt(Te(),e),...o),mr=Me(Te);function ao(...e){return mr(qe(e))}var Ut=/\s+/g,$t=e=>typeof e!="string"||!e?e:e.replace(Ut," ").trim(),he=(...e)=>{const o=[],t=r=>{if(!r&&r!==0&&r!==0n)return;if(Array.isArray(r)){for(let s=0,a=r.length;s<a;s++)t(r[s]);return}const n=typeof r;if(n==="string"||n==="number"||n==="bigint"){if(n==="number"&&r!==r)return;o.push(String(r))}else if(n==="object"){const s=Object.keys(r);for(let a=0,u=s.length;a<u;a++){const l=s[a];r[l]&&o.push(l)}}};for(let r=0,n=e.length;r<n;r++){const s=e[r];s!=null&&t(s)}return o.length>0?$t(o.join(" ")):void 0},Ue=e=>e===!1?"false":e===!0?"true":e===0?"0":e,U=e=>{if(!e||typeof e!="object")return!0;for(const o in e)return!1;return!0},Dt=(e,o)=>{if(e===o)return!0;if(!e||!o)return!1;const t=Object.keys(e),r=Object.keys(o);if(t.length!==r.length)return!1;for(let n=0;n<t.length;n++){const s=t[n];if(!r.includes(s)||e[s]!==o[s])return!1}return!0},Kt=(e,o)=>{for(const t in o)if(Object.prototype.hasOwnProperty.call(o,t)){const r=o[t];t in e?e[t]=he(e[t],r):e[t]=r}return e},gr=(e,o)=>{for(let t=0;t<e.length;t++){const r=e[t];Array.isArray(r)?gr(r,o):r&&o.push(r)}},pr=(...e)=>{const o=[];gr(e,o);const t=[];for(let r=0;r<o.length;r++)o[r]&&t.push(o[r]);return t},ze=(e,o)=>{const t={};for(const r in e){const n=e[r];if(r in o){const s=o[r];Array.isArray(n)||Array.isArray(s)?t[r]=pr(s,n):typeof n=="object"&&typeof s=="object"&&n&&s?t[r]=ze(n,s):t[r]=s+" "+n}else t[r]=n}for(const r in o)r in e||(t[r]=o[r]);return t},Yt={twMerge:!0,twMergeConfig:{}};function qt(){let e=null,o={},t=!1;return{get cachedTwMerge(){return e},set cachedTwMerge(r){e=r},get cachedTwMergeConfig(){return o},set cachedTwMergeConfig(r){o=r},get didTwMergeConfigChange(){return t},set didTwMergeConfigChange(r){t=r},reset(){e=null,o={},t=!1}}}var K=qt(),Ht=e=>{const o=(r,n)=>{const{extend:s=null,slots:a={},variants:u={},compoundVariants:l=[],compoundSlots:m=[],defaultVariants:w={}}=r,h={...Yt,...n},g=s!=null&&s.base?he(s.base,r==null?void 0:r.base):r==null?void 0:r.base,S=s!=null&&s.variants&&!U(s.variants)?ze(u,s.variants):u,T=s!=null&&s.defaultVariants&&!U(s.defaultVariants)?{...s.defaultVariants,...w}:w;!U(h.twMergeConfig)&&!Dt(h.twMergeConfig,K.cachedTwMergeConfig)&&(K.didTwMergeConfigChange=!0,K.cachedTwMergeConfig=h.twMergeConfig);const N=U(s==null?void 0:s.slots),G=U(a)?{}:{base:he(r==null?void 0:r.base,N&&(s==null?void 0:s.base)),...a},M=N?G:Kt({...s==null?void 0:s.slots},U(G)?{base:r==null?void 0:r.base}:G),B=U(s==null?void 0:s.compoundVariants)?l:pr(s==null?void 0:s.compoundVariants,l),P=A=>{if(U(S)&&U(a)&&N)return e(g,A==null?void 0:A.class,A==null?void 0:A.className)(h);if(B&&!Array.isArray(B))throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof B}`);if(m&&!Array.isArray(m))throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof m}`);const y=(k,x=S,v=null,b=null)=>{const i=x[k];if(!i||U(i))return null;const _=(b==null?void 0:b[k])??(A==null?void 0:A[k]);if(_===null)return null;const F=Ue(_);if(typeof F=="object")return null;const $=T==null?void 0:T[k],j=F??Ue($);return i[j||"false"]},C=()=>{if(!S)return null;const k=Object.keys(S),x=[];for(let v=0;v<k.length;v++){const b=y(k[v],S);b&&x.push(b)}return x},f=(k,x)=>{if(!S||typeof S!="object")return null;const v=[];for(const b in S){const i=y(b,S,k,x),_=k==="base"&&typeof i=="string"?i:i&&i[k];_&&v.push(_)}return v},E={};for(const k in A){const x=A[k];x!==void 0&&(E[k]=x)}const I=(k,x)=>{var b;const v=typeof(A==null?void 0:A[k])=="object"?{[k]:(b=A[k])==null?void 0:b.initial}:{};return{...T,...E,...v,...x}},J=(k=[],x)=>{const v=[],b=k.length;for(let i=0;i<b;i++){const{class:_,className:F,...$}=k[i];let j=!0;const z=I(null,x);for(const R in $){const W=$[R],Q=z[R];if(Array.isArray(W)){if(!W.includes(Q)){j=!1;break}}else{if((W==null||W===!1)&&(Q==null||Q===!1))continue;if(Q!==W){j=!1;break}}}j&&(_&&v.push(_),F&&v.push(F))}return v},Y=k=>{const x=J(B,k);if(!Array.isArray(x))return x;const v={},b=e;for(let i=0;i<x.length;i++){const _=x[i];if(typeof _=="string")v.base=b(v.base,_)(h);else if(typeof _=="object")for(const F in _)v[F]=b(v[F],_[F])(h)}return v},ie=k=>{if(m.length<1)return null;const x={},v=I(null,k);for(let b=0;b<m.length;b++){const{slots:i=[],class:_,className:F,...$}=m[b];if(!U($)){let j=!0;for(const z in $){const R=v[z],W=$[z];if(R===void 0||(Array.isArray(W)?!W.includes(R):W!==R)){j=!1;break}}if(!j)continue}for(let j=0;j<i.length;j++){const z=i[j];x[z]||(x[z]=[]),x[z].push([_,F])}}return x};if(!U(a)||!N){const k={};if(typeof M=="object"&&!U(M)){const x=e;for(const v in M)k[v]=b=>{const i=Y(b),_=ie(b);return x(M[v],f(v,b),i?i[v]:void 0,_?_[v]:void 0,b==null?void 0:b.class,b==null?void 0:b.className)(h)}}return k}return e(g,C(),J(B),A==null?void 0:A.class,A==null?void 0:A.className)(h)},V=()=>{if(!(!S||typeof S!="object"))return Object.keys(S)};return P.variantKeys=V(),P.extend=s,P.base=g,P.slots=M,P.variants=S,P.defaultVariants=T,P.compoundSlots=m,P.compoundVariants=B,P};return{tv:o,createTV:r=>(n,s)=>o(n,s?ze(r,s):r)}},Xt=e=>U(e)?mr:Wt({...e,extend:{theme:e.theme,classGroups:e.classGroups,conflictingClassGroupModifiers:e.conflictingClassGroupModifiers,conflictingClassGroups:e.conflictingClassGroups,...e.extend}}),Jt=(e,o)=>{const t=he(e);return!t||!((o==null?void 0:o.twMerge)??!0)?t:((!K.cachedTwMerge||K.didTwMergeConfigChange)&&(K.didTwMergeConfigChange=!1,K.cachedTwMerge=Xt(K.cachedTwMergeConfig)),K.cachedTwMerge(t)||void 0)},Qt=(...e)=>o=>Jt(e,o),{tv:io}=Ht(Qt);export{no as a,qe as b,ao as c,pe as d,so as e,oo as f,Zr as g,Qr as r,to as s,io as t};