Comparing version 0.14.3 to 0.14.4
{ | ||
"name": "twind", | ||
"version": "0.14.3", | ||
"version": "0.14.4", | ||
"description": "compiles tailwind like shorthand syntax into css at runtime", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -153,2 +153,19 @@ > the smallest, fastest, most feature complete Tailwind-in-JS solution in existence | ||
- Named groups to support nested groups | ||
Named groups allow to nest groups within each other and target specific groups by their name. The group names are ad-hoc meaning there is no special configuration required. | ||
Here is an example [using the shim](https://twind.dev/docs/handbook/getting-started/using-the-shim.html): | ||
```html | ||
<div class="group-x bg-white hover:bg-blue-500 ..."> | ||
<p class="text-gray-900 group-x-hover:text-white ...">New Project</p> | ||
<div class="group-y bg-gray-100 hover:bg-green-500 ..."> | ||
<p class="text-gray-500 group-y-hover:text-white ..."> | ||
Create a new project from a variety of starting templates. | ||
</p> | ||
</div> | ||
</div> | ||
``` | ||
- `siblings`, `sibling` and `children` variants | ||
@@ -155,0 +172,0 @@ |
@@ -334,3 +334,3 @@ import { PropertiesFallback, PropertiesHyphenFallback, SimplePseudos } from 'csstype'; | ||
*/ | ||
declare const directive: <Data, T>(factory: (data: Data, context: Context) => T, data: Data) => Directive<T>; | ||
declare const directive: <Data, T>(factory: (data: Data, context: Context) => MaybeThunk<T>, data: Data) => Directive<T>; | ||
@@ -337,0 +337,0 @@ declare const create: (config?: Configuration | undefined) => Instance; |
@@ -1,3 +0,3 @@ | ||
var b=e=>typeof e=="string",U=e=>e!=null&&typeof e=="object",S=e=>typeof e=="function",h=(e,t)=>!!~e.indexOf(t),u=(e,t="-")=>e.join(t),te=(e,t)=>u(e.filter(Boolean),t),g=(e,t=1)=>e.slice(t),_e=e=>e,ue=()=>{},Ue=e=>e[0].toUpperCase()+g(e),Ce=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),J=(e,t)=>{for(;S(e);)e=e(t);return e},ge=(e,t)=>{e.size>t&&e.delete(e.keys().next().value)},Te=(e,t,n)=>t?Object.keys(t).reduce((r,o)=>{let i=J(t[o],n),a=/^[A-Z0-9-]+$/i.test(o)?Ce(o):o;return r[a]=U(i)&&!Array.isArray(i)?Te(r[a]||{},i,n):i,r},e):e,fe=typeof CSS!="undefined"&&CSS.escape||(e=>{let t=e.charCodeAt(0),n="";return t>=48&&t<=57&&(n="\\"+t.toString(16)+" ",e=g(e)),n+e.replace(/[!./:#]/g,"\\$&")}),Q=e=>(Array.isArray(e)||(e=[e]),"@media "+u(e.map(t=>(b(t)&&(t={min:t}),t.raw||u(Object.keys(t).map(n=>`(${n}-width:${t[n]})`)," and "))),",")),ne=e=>{let t=9;for(let n=e.length;n--;)t=Math.imul(t^e.charCodeAt(n),1597334677);return"tw-"+((t^t>>>9)>>>0).toString(36)},Le=(e,t)=>{let n=e.length;if(n===0)return 0;for(let r=0;r<n;){let o=n+r>>1;e[o]<=t?r=o+1:n=o}return n},I,X,L=(e="")=>(I.push(e),""),ve=e=>{I.length=Math.max(I.lastIndexOf("")+~~e,0)},wt=e=>e&&e[0]!==":",yt=e=>e[0]===":",Ve=(e,t,n)=>{X.push({v:I.filter(yt),d:e,n:t,i:n,$:""})},Be=e=>{let t=e[0]==="-";t&&(e=g(e));let n=e[e.length-1]==="!";n&&(e=e.slice(0,-1));let r=u(I.filter(wt));return Ve(e==="&"?r:(r&&r+"-")+e,t,n),""},re=(e,t)=>{let n,r="";for(let o=0;o<e.length;)switch(n=e[o++]){case":":r=r&&L(":"+r);break;case"(":r=r&&L(r),L();break;case")":case" ":case" ":case` | ||
`:case"\r":r=r&&Be(r),ve(n!==")");break;default:r+=n}r&&(t?L(":"+r):r.slice(-1)==="-"?L(r.slice(0,-1)):Be(r))},Ge=e=>{L(),pe(e),ve()},St=(e,t)=>{if(t){L();let n=h("tbu",(typeof t)[1]);re(e,n),n&&Ge(t),ve()}},pe=e=>{switch(typeof e){case"string":re(e);break;case"function":Ve(e);break;case"object":Array.isArray(e)?e.forEach(Ge):e&&Object.keys(e).forEach(t=>{St(t,e[t])})}},Ke=new WeakMap,Ct=e=>{let t=Ke.get(e);if(!t){let n=NaN,r="";t=e.map((o,i)=>{if(n!=n&&h(":-(",(e[i+1]||"")[0])&&(n=i),i>=n)return f=>{i===n&&(r=""),r+=o,b(f)?r+=f:f&&(re(r),r="",pe(f)),i===e.length-1&&re(r)};let a=X=[];re(o);let c=[...I];return X=[],f=>{X.push(...a),I=[...c],f&&pe(f)}}),Ke.set(e,t)}return t},ie=e=>(I=[],X=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?Ct(e[0]).forEach((t,n)=>t(e[n+1])):pe(e),X),Tt=(e,t)=>{if(S(t))throw 0;return t},vt=e=>{try{return JSON.stringify(e,Tt)}catch{}},Ye=new WeakMap,oe=(e,t)=>{let n=vt(t),r;if(n){var o=Ye.get(e);o||Ye.set(e,o=new Map),r=o.get(n)}return r||(r=Object.defineProperty((i,a)=>e(t,Array.isArray(i)?a:i),"toJSON",{value:()=>n||t}),o&&(o.set(n,r),ge(o,1e4))),r},Rt=(e,{css:t})=>t(ie(e)),kt=(...e)=>oe(Rt,e);var Je=e=>(t,n,r,o)=>{if(t){let i=n&&e(n);if(i&&i.length>0)return i.reduce((a,c)=>(a[te([r,c,o])]=t,a),{})}},Qe=Je(e=>({t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-left","bottom-right"],l:["bottom-left","top-left"],tl:["top-left"],tr:["top-right"],bl:["bottom-left"],br:["bottom-right"]})[e]),se=e=>{let t=({x:"lr",y:"tb"}[e]||e||"").split("").sort();for(let n=t.length;n--;)if(!(t[n]={t:"top",r:"right",b:"bottom",l:"left"}[t[n]]))return;if(t.length)return t},me=Je(se),s,V,x,ae=e=>(t,n,r)=>({[e]:r+((s=u(t))&&"-"+s)}),m=(e,t)=>(n,r,o)=>({[e||o]:u(n,t)}),C=e=>(t,{theme:n},r)=>({[e||r]:n(e||r,t)}),D=(e,t)=>(n,r)=>e(n,r,t),H=ae("display"),le=ae("position"),q=ae("textTransform"),Z=ae("textDecoration"),he=ae("fontStyle"),N=e=>(t,n,r)=>({["--tw-"+e]:r,fontVariantNumeric:"var(--tw-ordinal,/*!*/ /*!*/) var(--tw-slashed-zero,/*!*/ /*!*/) var(--tw-numeric-figure,/*!*/ /*!*/) var(--tw-numeric-spacing,/*!*/ /*!*/) var(--tw-numeric-fraction,/*!*/ /*!*/)"}),be=(e,{theme:t},n)=>({[n]:t("inset",e)}),ce=(e,t,n,r=n)=>({[`--tw-${n}-opacity`]:t(r+"Opacity",g(e))}),Re=(e,t)=>Math.round(parseInt(e,16)*t),xe=(e,t,n)=>e&&e[0]==="#"?`rgba(${Re(e.substr(1,s=(e.length-1)/3),x=[17,1,.062272][s-1])},${Re(e.substr(1+s,s),x)},${Re(e.substr(1+2*s,s),x)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,we=(e,t,n)=>n&&(s=xe(n,t+"-opacity"))&&s!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,s]}:{[e]:n},Xe=e=>(x=xe(e,"","0"))===s?"transparent":x,qe=(e,{theme:t},n,r,o,i)=>(s={x:["right","left"],y:["bottom","top"]}[e[0]])&&(x=`--tw-${n}-${e[0]}-reverse`)?e[1]==="reverse"?{[x]:"1"}:{[x]:"0",[te([o,s[0],i])]:(V=t(r,g(e)))&&`calc(${V} * var(${x}))`,[te([o,s[1],i])]:V&&[V,`calc(${V} * calc(1 - var(${x})))`]}:void 0,Ze=(e,t)=>({[e]:(h("wun",(t[0]||"")[3])?"space-":"")+t[0]}),ke=e=>t=>h(["start","end"],t[0])?{[e]:`flex-${t[0]}`}:Ze(e,t),et=e=>t=>{switch(t[0]){case"auto":return{[`grid-${e}`]:"auto"};case"span":return{[`grid-${e}`]:t[1]==="full"?"1 / -1":`span ${t[1]} / span ${t[1]}`};case"start":case"end":return{[`grid-${e}-${t[0]}`]:t[1]}}},tt=(e,{theme:t},n)=>{switch(e[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return m("borderStyle")(e);case"collapse":case"separate":return m("borderCollapse")(e);case"opacity":return ce(e,t,n)}return(s=t(n+"Width",e,""))?{borderWidth:s}:we("borderColor",n,t(n+"Color",e))},$e=e=>(e?"translate3d(var(--tw-translate-x,0),var(--tw-translate-y,0),0)":"translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0))")+" rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1))",Pe=(e,t,n)=>(s=t.theme(n,e[1]||e[0]))&&{[`--tw-${n}-x`]:e[0]!=="y"&&s,[`--tw-${n}-y`]:e[0]!=="x"&&s,transform:[`${n}${e[1]?e[0].toUpperCase():""}(${s})`,$e()]},nt=e=>(t,n,r)=>r[1]?me(n.theme(e,t),r[1],e):C(e)(t,n,r),B=nt("padding"),G=nt("margin"),rt=(e,{theme:t},n)=>(s={w:"width",h:"height"}[e[0]])&&{[s=`${n}${Ue(s)}`]:t(s,g(e))},it={group:(e,{tag:t})=>t("group"),hidden:D(H,"none"),inline:H,block:H,contents:H,flow:H,table:(e,t,n)=>h(["auto","fixed"],e[0])?{tableLayout:e[0]}:H(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return{flexDirection:u(e[0]==="col"?["column",...g(e)]:e)};case"nowrap":case"wrap":return{flexWrap:u(e)};case"grow":case"shrink":return{[`flex-${e[0]}`]:e[1]||"1"}}return(s=t.theme("flex",e,""))?{flex:s}:H(e,t,n)},grid(e,t,n){switch(e[0]){case"cols":case"rows":return e.length>1&&{[`grid-template-${e[0]==="cols"?"columns":e[0]}`]:e.length===2&&Number(e[1])?`repeat(${e[1]},minmax(0,1fr))`:u(g(e)," ")};case"flow":return e.length>1&&{gridAutoFlow:u(e[1]==="col"?["column",...g(e,2)]:g(e)," ")}}return H(e,t,n)},auto:e=>h(["cols","rows"],e[0])&&(s=e.length===2?{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"}[e[1]]||`minmax(0,${e[1]})`:e.length>2&&`minmax(${u(g(e),",")})`)&&{[`grid-auto-${e[0]==="cols"?"columns":"rows"}`]:s},static:le,fixed:le,absolute:le,relative:le,sticky:le,visible:{visibility:"visible"},invisible:{visibility:"hidden"},antialiased:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},"subpixel-antialiased":{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"},truncate:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"},"not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"},resize:e=>({resize:{x:"vertical",y:"horizontal"}[e[0]]||e[0]||"both"}),box:e=>({"box-sizing":`${e[0]}-box`}),appearance:m(),cursor:m(),float:m(),clear:m(),top:be,right:be,bottom:be,left:be,inset:(e,{theme:t})=>(s=se(e[0]))?me(t("inset",g(e)),e[0]):(s=t("inset",e))&&{top:s,right:s,bottom:s,left:s},underline:Z,"line-through":Z,"no-underline":D(Z,"none"),"text-underline":D(Z,"underline"),"text-no-underline":D(Z,"none"),"text-line-through":D(Z,"line-through"),uppercase:q,lowercase:q,capitalize:q,"normal-case":D(q,"none"),"text-normal-case":D(q,"none"),italic:he,"not-italic":D(he,"normal"),"font-italic":D(he,"italic"),"font-not-italic":D(he,"normal"),font:(e,t,n)=>(s=t.theme("fontFamily",e,""))?{fontFamily:s}:C("fontWeight")(e,t,n),items:e=>({alignItems:h(["start","end"],e[0])?`flex-${e[0]}`:u(e)}),"justify-self":m(),"justify-items":m(),justify:ke("justifyContent"),content:ke("alignContent"),self:ke("alignSelf"),place:e=>Ze("place-"+e[0],g(e)),overscroll:e=>({["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]}),col:et("column"),row:et("row"),duration:C("transitionDuration"),delay:C("transitionDelay"),tracking:C("letterSpacing"),leading:C("lineHeight"),z:C("zIndex"),opacity:C(),ease:C("transitionTimingFunction"),p:B,py:B,px:B,pt:B,pr:B,pb:B,pl:B,m:G,my:G,mx:G,mt:G,mr:G,mb:G,ml:G,w:C("width"),h:C("height"),min:rt,max:rt,fill:C(),order:C(),origin:m("transformOrigin"," "),select:m("userSelect"),"pointer-events":m(),align:m("verticalAlign"),whitespace:m("whiteSpace"),"normal-nums":{fontVariantNumeric:"normal"},ordinal:N("ordinal"),"slashed-zero":N("slashed-zero"),"lining-nums":N("numeric-figure"),"oldstyle-nums":N("numeric-figure"),"proportional-nums":N("numeric-spacing"),"tabular-nums":N("numeric-spacing"),"diagonal-fractions":N("numeric-fraction"),"stacked-fractions":N("numeric-fraction"),overflow:(e,t,n)=>h(["ellipsis","clip"],e[0])?m("textOverflow")(e):e[1]?{[`overflow-${e[0]}`]:e[1]}:m()(e,t,n),transform:e=>e[0]==="none"?{transform:"none"}:{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1",transform:$e(e[0]==="gpu")},rotate:(e,{theme:t})=>(s=t("rotate",e))&&{"--tw-rotate":s,transform:[`rotate(${s})`,$e()]},scale:Pe,translate:Pe,skew:Pe,gap:(e,t,n)=>(s={x:"column",y:"row"}[e[0]])?{[s+"Gap"]:t.theme("gap",g(e))}:C("gap")(e,t,n),stroke:(e,t,n)=>(s=t.theme("stroke",e,""))?{stroke:s}:C("strokeWidth")(e,t,n),outline:(e,{theme:t})=>(s=t("outline",e))&&{outline:s[0],outlineOffset:s[1]},break(e){switch(e[0]){case"normal":return{wordBreak:"normal",overflowWrap:"normal"};case"words":return{overflowWrap:"break-word"};case"all":return{wordBreak:"break-all"}}},text(e,{theme:t},n){switch(e[0]){case"left":case"center":case"right":case"justify":return{textAlign:e[0]};case"uppercase":case"lowercase":case"capitalize":return q([],s,e[0]);case"opacity":return ce(e,t,n)}let r=t("fontSize",e,"");return r?b(r)?{fontSize:r}:{fontSize:r[0],...b(r[1])?{lineHeight:r[1]}:r[1]}:we("color","text",t("textColor",e))},bg(e,{theme:t},n){switch(e[0]){case"fixed":case"local":case"scroll":return m("backgroundAttachment",",")(e);case"bottom":case"center":case"left":case"right":case"top":return m("backgroundPosition"," ")(e);case"no":return e[1]==="repeat"&&m("backgroundRepeat")(e);case"auto":case"cover":case"contain":return m("backgroundSize")(e);case"repeat":return h("xy",e[1])?m("backgroundRepeat")(e):{"background-repeat":e[1]||e[0]};case"opacity":return ce(e,t,n,"background");case"clip":return{backgroundClip:e[1]+(e[1]==="text"?"":"-box")};case"gradient":if(e[1]==="to"&&(s=se(e[2])))return{backgroundImage:`linear-gradient(to ${u(s," ")},var(--tw-gradient-stops))`}}return(s=t("backgroundImage",e,""))?{backgroundImage:s}:we("backgroundColor","bg",t("backgroundColor",e))},from:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-from":s,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${Xe(s)})`},via:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${s},var(--tw-gradient-to,${Xe(s)})`},to:(e,{theme:t})=>({"--tw-gradient-to":t("gradientColorStops",e)}),border:(e,t,n)=>se(e[0])?me(t.theme("borderWidth",g(e)),e[0],"border","width"):tt(e,t,n),divide:(e,t,n)=>(s=qe(e,t,n,"divideWidth","border","width")||tt(e,t,n))&&{"&>:not([hidden])~:not([hidden])":s},space:(e,t,n)=>(s=qe(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":s},placeholder:(e,{theme:t},n)=>(s=e[0]==="opacity"?ce(e,t,n):we("color","placeholder",t("placeholderColor",e)))&&{"&::placeholder":s},shadow:(e,{theme:t})=>(s=t("boxShadow",e))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":s==="none"?"0 0 transparent":s,boxShadow:[s,"var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)"]},animate:(e,{theme:t,tag:n})=>{if(x=t("animation",e)){let r=x.split(" ");return(s=t("keyframes",r[0],V={}))!==V?(x=n(r[0]))&&{animation:x+" "+u(g(r)," "),["@keyframes "+x]:s}:{animation:x}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return{"--tw-ring-inset":"inset"};case"opacity":return ce(e,t,n);case"offset":return(s=t("ringOffsetWidth",g(e),""))?{"--tw-ring-offset-width":s}:{"--tw-ring-offset-color":t("ringOffsetColor",g(e))}}return(s=t("ringWidth",e,""))?{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${s} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)",":global":{"*":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":t("ringOffsetColor","","#fff"),"--tw-ring-color":xe(t("ringColor","","#93c5fd"),"ring-opacity",t("ringOpacity","","0.5")),"--tw-ring-offset-shadow":"0 0 transparent","--tw-ring-shadow":"0 0 transparent"}}}:{"--tw-ring-opacity":"1","--tw-ring-color":xe(t("ringColor",e),"ring-opacity")}},object:e=>h(["contain","cover","fill","none","scale"],e[0])?m("objectFit")(e):m("objectPosition"," ")(e),list:e=>m(h(["inside","outside"],e[0])?"listStylePosition":"listStyleType")(e),rounded:(e,t,n)=>Qe(t.theme("borderRadius",g(e),""),e[0],"border","radius")||C("borderRadius")(e,t,n),"transition-none":{"transition-property":"none"},transition:(e,{theme:t})=>({transitionProperty:t("transitionProperty",e),transitionTimingFunction:t("transitionTimingFunction",""),transitionDuration:t("transitionDuration","")}),container:(e,{theme:t})=>{let{screens:n=t("screens"),center:r,padding:o}=t("container"),i=a=>(s=o&&(b(o)?o:o[a]||o.DEFAULT))?{paddingRight:s,paddingLeft:s}:{};return Object.keys(n).reduce((a,c)=>((x=n[c])&&b(x)&&(a[Q(x)]={"&":{"max-width":x,...i(c)}}),a),{width:"100%",...r?{marginRight:"auto",marginLeft:"auto"}:{},...i("xs")})}},ot=e=>({":root":{tabSize:4},"body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre,fieldset,ol,ul":{margin:"0"},button:{backgroundColor:"transparent",backgroundImage:"none"},'button,[type="button"],[type="reset"],[type="submit"]':{WebkitAppearance:"button"},"button:focus":{outline:["1px dotted","5px auto -webkit-focus-ring-color"]},"fieldset,ol,ul,legend":{padding:"0"},"ol,ul":{listStyle:"none"},html:{lineHeight:"1.5",WebkitTextSizeAdjust:"100%",fontFamily:e("fontFamily.sans","ui-sans-serif,system-ui,sans-serif")},body:{fontFamily:"inherit",lineHeight:"inherit"},"*,::before,::after":{boxSizing:"border-box",border:`0 solid ${e("borderColor.DEFAULT","currentColor")}`},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},img:{borderStyle:"solid"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:"1",color:e("placeholderColor.DEFAULT",e("colors.gray.400","#a1a1aa"))},'button,[role="button"]':{cursor:"pointer"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",margin:"0",padding:"0",lineHeight:"inherit",color:"inherit"},"button,select":{textTransform:"none"},"::-moz-focus-inner":{borderStyle:"none",padding:"0"},":-moz-focusring":{outline:"1px dotted ButtonText"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},'[type="search"]':{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"abbr[title]":{textDecoration:"underline dotted"},"b,strong":{fontWeight:"bolder"},"pre,code,kbd,samp":{fontFamily:e("fontFamily","mono","ui-monospace,monospace"),fontSize:"1em"},"sub,sup":{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"}}),st={dark:"@media (prefers-color-scheme:dark)",sticky:"@supports ((position: -webkit-sticky) or (position:sticky))","motion-reduce":"@media (prefers-reduced-motion:reduce)","motion-safe":"@media (prefers-reduced-motion:no-preference)",first:"&:first-child",last:"&:last-child",even:"&:nth-child(2n)",odd:"&:nth-child(odd)",children:"&>*",siblings:"&~*",sibling:"&+*",override:"&&"},at="__twind",lt=e=>{let t=self[at];return t||(t=document.head.appendChild(document.createElement("style")),t.id=at,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t},Ae=({nonce:e,target:t=lt(e).sheet}={})=>{let n=t.cssRules.length;return{target:t,insert:(r,o)=>t.insertRule(r,n+o)}},Ee=()=>({target:null,insert:ue}),ye=e=>({unknown(t,n=[],r,o){r||this.report({id:"UNKNOWN_THEME_VALUE",key:u([t,...n],".")},o)},report({id:t,...n}){let r=`[${t}] ${JSON.stringify(n)}`,o=(new Error(r).stack||r).split("at ");for(let i;(i=o.splice(1,1)[0])&&!/(^|\.)(tw|setup) /.test(i););return e(o.join("at "))}}),Se=ye(e=>console.warn(e)),Fe=ye(e=>{throw new Error(e)}),ze=ye(ue);import{cssPropertyAlias as $t,cssPropertyPrefixFlags as Pt,cssValuePrefixFlags as At}from"style-vendorizer";var z=(e,t,n)=>`${e}:${t}${n?" !important":""}`,De=(e,t,n)=>{let r="",o=$t(e);o&&(r+=`${z(o,t,n)};`);let i=Pt(e);return i&1&&(r+=`-webkit-${z(e,t,n)};`),i&2&&(r+=`-moz-${z(e,t,n)};`),i&4&&(r+=`-ms-${z(e,t,n)};`),i=At(e,t),i&1&&(r+=`${z(e,`-webkit-${t}`,n)};`),i&2&&(r+=`${z(e,`-moz-${t}`,n)};`),i&4&&(r+=`${z(e,`-ms-${t}`,n)};`),r+=z(e,t,n),r},de=(e,t)=>{let n={};do for(let r=1;r<e;r++)n[`${r}/${e}`]=Number((r/e*100).toFixed(6))+"%";while(++e<=t);return n},_=(e,t,n=0)=>{let r={};for(;n<=e;n=n*2||1)r[n]=n+t;return r},W=(e,t="",n=1,r=0,o=1)=>{let i={};for(;r<=e;r+=o)i[r]=r/n+t;return i},T=e=>t=>t(e),Et=(e,{theme:t})=>t(...e),Ft=(...e)=>oe(Et,e),zt={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:{transparent:"transparent",current:"currentColor",black:"#000",white:"#fff",gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},yellow:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},green:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},purple:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"}},spacing:{px:"1px",0:"0px",...W(4,"rem",4,.5,.5),...W(12,"rem",4,5),14:"3.5rem",...W(64,"rem",4,16,4),72:"18rem",80:"20rem",96:"24rem"},durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},backgroundColor:T("colors"),backgroundImage:{none:"none"},backgroundOpacity:T("opacity"),borderColor:e=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:T("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderWidth:{DEFAULT:"1px",..._(8,"px")},boxShadow:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",DEFAULT:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",inner:"inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",none:"none"},container:{},divideColor:T("borderColor"),divideOpacity:T("borderOpacity"),divideWidth:T("borderWidth"),fill:{current:"currentColor"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:T("spacing"),gradientColorStops:T("colors"),height:e=>({auto:"auto",...e("spacing"),...de(2,6),full:"100%",screen:"100vh"}),inset:e=>({auto:"auto",...e("spacing"),...de(2,4),full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",...W(10,"rem",4,3)},margin:e=>({auto:"auto",...e("spacing")}),maxHeight:e=>({...e("spacing"),full:"100%",screen:"100vh"}),maxWidth:(e,{breakpoints:t})=>({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",prose:"65ch",...t(e("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content"},opacity:{...W(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0",...W(12,"",1,1)},outline:{none:["2px solid transparent","2px"],white:["2px dotted white","2px"],black:["2px dotted black","2px"]},padding:T("spacing"),placeholderColor:T("colors"),placeholderOpacity:T("opacity"),ringColor:e=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:T("colors"),ringOffsetWidth:_(8,"px"),ringOpacity:e=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",..._(8,"px")},rotate:{..._(2,"deg"),..._(12,"deg",3),..._(180,"deg",45)},scale:{0:"0",50:".5",75:".75",...W(110,"",100,90,5),125:"1.25",150:"1.5"},skew:{..._(2,"deg"),..._(12,"deg",3)},space:T("spacing"),stroke:{current:"currentColor"},strokeWidth:W(2),textColor:T("colors"),textOpacity:T("opacity"),transitionDuration:e=>({DEFAULT:"150ms",...e("durations")}),transitionDelay:T("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"background-color,border-color,color,fill,stroke,opacity,box-shadow,transform",colors:"background-color,border-color,color,fill,stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4,0,0.2,1)",linear:"linear",in:"cubic-bezier(0.4,0,1,1)",out:"cubic-bezier(0,0,0.2,1)","in-out":"cubic-bezier(0.4,0,0.2,1)"},translate:e=>({...e("spacing"),...de(2,4),full:"100%"}),width:e=>({auto:"auto",...e("spacing"),...de(2,6),...de(12,12),screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:{auto:"auto",...W(50,"",1,0,10)}},ct=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{let o=e[r];r==="DEFAULT"&&(t[u(n)]=o,t[u(n,".")]=o);let i=[...n,r];t[u(i)]=o,t[u(i,".")]=o,U(o)&&ct(o,t,i)},t),t),Dt={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>b(e[t])).reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},dt=e=>{let t=new Map,n={...zt,...e},r=(i,a)=>{let c=i&&i[a],f=S(c)?c(o,Dt):c;return f&&a==="colors"?ct(f):f},o=(i,a,c)=>{let f=i.split(".");i=f[0],f.length>1&&(c=a,a=u(g(f),"."));let k=t.get(i);if(k||t.set(i,k={...r(n,i),...r(n.extend,i)}),a!=null){let j=k[(Array.isArray(a)?u(a):a)||"DEFAULT"];return j==null?c:Array.isArray(j)&&!h(["fontSize","outline"],i)?u(j,","):j}return k};return o},ut=(e,t)=>(n,r)=>{if(S(n.d))return n.d(t);let o=n.d.split("-");if(!r&&o[0]==="tw"&&n.$===n.d)return n.$;for(let i=o.length;i;i--){let a=u(o.slice(0,i)),c=e[a];if(c)return S(c)?c(g(o,i),t,a):b(c)?t[r?"css":"tw"](c):c}},gt=(e,t,{theme:n,tag:r})=>{let o=(i,a)=>{let c=n("screens",g(a),"");return c?{[Q(c)]:i}:a===":dark"&&e==="class"?{[".dark &"]:i}:a.slice(1,7)==="group-"?{[`.${fe(r("group"))}:${g(a,7)} &`]:i}:{[t[g(a)]||"&"+a]:i}};return(i,a)=>a.v.reduceRight(o,i)},R,je=e=>(((R=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+R[1]/(R[2]?15:1)/10:0)&31)<<22,ft=e=>{R=0;for(let t=e.length;t--;)R+=h("-:,",e[t]);return R},Me=e=>(ft(e)&15)<<18,jt=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],Mt=e=>1<<(~(R=jt.indexOf(e.replace(/^:group-/,":").slice(3,8)))?R:17),pt=(e,t)=>(n,r)=>n|((R=e("screens",g(r),""))?1<<27|je(Q(R)):r===":dark"?1<<30:(R=t[r]||r)[0]==="@"?Me(R):Mt(r)),mt=e=>e[0]==="-"?0:ft(e)+((R=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!R[1]||-!!R[2]:0)+1,Oe=(e,t)=>t+"{"+e+"}",We;(function(e){e[e.base=0]="base",e[e.components=1]="components",e[e.utilities=2]="utilities",e[e.css=3]="css"})(We||(We={}));var ht=(e,t,n)=>{let{theme:r,tag:o}=n,i=(v,w)=>"--"+o(w),a=v=>`${v}`.replace(/--(tw-[\w-]+)\b/g,i),c=(v,w,$)=>(v=a(v),Array.isArray(w)?u(w.filter(Boolean).map(A=>e(v,a(A),$)),";"):e(v,a(w),$)),f,k=(v,w,$,A,M)=>{let O="",K=0,Y=0;Object.keys(A).forEach(y=>{let E=J(A[y],n);if(h("rg",(typeof E)[5])&&E!==""||Array.isArray(E)){let P=Ce(y);Y+=1,K=Math.max(K,mt(P)),O=(O&&O+";")+c(P,E,M)}else if(E)if(y[0]==="@")if(y[1]==="f")k([],y,0,E,M);else if(y[1]==="k"){let P=f.length;k([],"",0,E,M);let l=f.splice(P,f.length-P);f.push({r:Oe(u(l.map(d=>d.r),""),y),p:l.reduce((d,p)=>d+p.p,0)})}else k([...v,y],w,$|je(y)|Me(y),E,M);else k(v,w?w.replace(/([^,])+/g,P=>y.replace(/([^,])+/g,l=>h(l,"&")?l.replace(/&/g,P):(P&&P+" ")+l)):y,w&&h(y,"&")?$:0,E,M)}),Y&&f.push({r:v.reduceRight(Oe,Oe(O,w)),p:$*(1<<8)+((Math.max(0,15-Y)&15)<<4|(K||15)&15)})},j=pt(r,t);return(v,w,$,A=0)=>(A<<=28,f=[],k([],w?"."+fe(w):"",$?$.v.reduceRight(j,A):A,v,$&&$.i),f)},bt=(e,t,n,r)=>{let o;n((a=[])=>o=a);let i;return n((a=new Set)=>i=a),({r:a,p:c})=>{if(!i.has(a)){i.add(a);let f=Le(o,c);try{e.insert(a,f),o.splice(f,0,c)}catch(k){/:-[mwo]/.test(a)||t.report({id:"INJECT_CSS_ERROR",css:a,error:k},r)}}}},Ie=(e,t,n,r=t)=>e===!1?n:e===!0?r:e||t,Ot=e=>(b(e)?{t:Fe,a:Se,i:ze}[e[1]]:e)||Se,He=(e,t=e.d)=>{if(S(t))return"";let n=u(e.v,"");return(n&&g(n)+":")+(e.n?"-":"")+t+(e.i?"!":"")},Wt={_:{value:"",writable:!0}},xt=(e={})=>{let t=dt(e.theme),n=Ot(e.mode),r=Ie(e.hash,!1,!1,ne),o={v:[]},i=0,a=[],c={tw:(...l)=>E(l),theme:(l,d,p)=>{d!=null&&!d.length&&(d="DEFAULT");let F=t(l,d,p)||n.unknown(l,d==null||Array.isArray(d)?d:d.split("."),p!=null,c);return o.n&&F&&b(F)?`calc(${F} * -1)`:F},tag:l=>r?r(l):l,css:l=>{i++;let d=a.length;try{(b(l)?ie([l]):l).forEach(y);let p=Object.create(null,Wt);for(let F=d;F<a.length;F++){let ee=a[F];U(ee)?Te(p,ee,c):ee&&b(ee)&&(p._+=(p._&&" ")+ee)}return p}finally{a.length=d,i--}}},f=ut({...it,...e.plugins},c),k=l=>{let d=o;o=l;try{return J(f(l),c)}finally{o=d}},j={...st,...e.variants},v=gt(e.darkMode||"media",j,c),w=ht(Ie(e.prefix,De,z),j,c),$=e.sheet||(typeof window=="undefined"?Ee():Ae(e)),{init:A=l=>l()}=$,M=bt($,n,A,c),O;A((l=new Map)=>O=l);let K=new WeakMap,Y=(l,d)=>S(d)?JSON.stringify(d(c),Y):d,y=l=>{o.v.length&&(l={...l,v:[...o.v,...l.v],$:""}),l.$||(l.$=He(l)||He(l,K.get(l.d)));let d=i?null:O.get(l.$);if(d==null){let p=k(l);if(l.$||(l.$=ne(JSON.stringify(p,Y)),K.set(l.d,l.$),l.$=He(l,l.$)),U(p)){p[":global"]&&(p[":global"]=w(p[":global"]).forEach(M));let F=S(l.d)?b(p._)?1:3:2;d=r||S(l.d)?(r||ne)(F+l.$):l.$,p=v(p,l),i?a.push(p):(w(p,d,l,F).forEach(M),p._&&(d+=" "+p._))}else b(p)?d=p:(d=l.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:d},c)),i&&!S(l.d)&&a.push(d);i||(O.set(l.$,d),ge(O,3e4))}return d},E=l=>ie(l).map(y).filter(Boolean).join(" "),P=Ie(e.preflight,_e,!1);if(P){let l=ot(t),d=w(S(P)?J(P(l,c),c)||l:{...l,...P});A((p=(d.forEach(M),!0))=>p)}return{init:()=>n.report({id:"LATE_SETUP_CALL"},c),process:E}},Ne=e=>{let t=i=>(n(),t(i)),n=i=>{({process:t,init:n}=xt(i))};e&&n(e);let r,o=i=>()=>(r||t([a=>(r=a,"")]),r[i]);return{tw:Object.defineProperties((...i)=>t(i),{theme:{get:o("theme")}}),setup:i=>n(i)}},{tw:It,setup:Ht}=Ne();export{kt as apply,De as autoprefix,Ne as create,Ae as cssomSheet,oe as directive,ne as hash,ye as mode,z as noprefix,Ht as setup,ze as silent,Fe as strict,Ft as theme,It as tw,Ee as voidSheet,Se as warn}; | ||
var h=e=>typeof e=="string",L=e=>e!=null&&typeof e=="object",S=e=>typeof e=="function",b=(e,t)=>!!~e.indexOf(t),u=(e,t="-")=>e.join(t),te=(e,t)=>u(e.filter(Boolean),t),g=(e,t=1)=>e.slice(t),Le=e=>e,ue=()=>{},Ve=e=>e[0].toUpperCase()+g(e),Ce=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),I=(e,t)=>{for(;S(e);)e=e(t);return e},ge=(e,t)=>{e.size>t&&e.delete(e.keys().next().value)},Te=(e,t,n)=>t?Object.keys(t).reduce((r,o)=>{let i=I(t[o],n),a=/^[A-Z0-9-]+$/i.test(o)?Ce(o):o;return r[a]=L(i)&&!Array.isArray(i)?Te(r[a]||{},i,n):i,r},e):e,fe=typeof CSS!="undefined"&&CSS.escape||(e=>{let t=e.charCodeAt(0),n="";return t>=48&&t<=57&&(n="\\"+t.toString(16)+" ",e=g(e)),n+e.replace(/[!./:#]/g,"\\$&")}),Q=e=>(Array.isArray(e)||(e=[e]),"@media "+u(e.map(t=>(h(t)&&(t={min:t}),t.raw||u(Object.keys(t).map(n=>`(${n}-width:${t[n]})`)," and "))),",")),ne=e=>{let t=9;for(let n=e.length;n--;)t=Math.imul(t^e.charCodeAt(n),1597334677);return"tw-"+((t^t>>>9)>>>0).toString(36)},Be=(e,t)=>{let n=e.length;if(n===0)return 0;for(let r=0;r<n;){let o=n+r>>1;e[o]<=t?r=o+1:n=o}return n},H,X,V=(e="")=>(H.push(e),""),ve=e=>{H.length=Math.max(H.lastIndexOf("")+~~e,0)},St=e=>e&&e[0]!==":",Ct=e=>e[0]===":",Ge=(e,t,n)=>{X.push({v:H.filter(Ct),d:e,n:t,i:n,$:""})},Ke=e=>{let t=e[0]==="-";t&&(e=g(e));let n=e[e.length-1]==="!";n&&(e=e.slice(0,-1));let r=u(H.filter(St));return Ge(e==="&"?r:(r&&r+"-")+e,t,n),""},re=(e,t)=>{let n,r="";for(let o=0;o<e.length;)switch(n=e[o++]){case":":r=r&&V(":"+r);break;case"(":r=r&&V(r),V();break;case")":case" ":case" ":case` | ||
`:case"\r":r=r&&Ke(r),ve(n!==")");break;default:r+=n}r&&(t?V(":"+r):r.slice(-1)==="-"?V(r.slice(0,-1)):Ke(r))},Ye=e=>{V(),pe(e),ve()},Tt=(e,t)=>{if(t){V();let n=b("tbu",(typeof t)[1]);re(e,n),n&&Ye(t),ve()}},pe=e=>{switch(typeof e){case"string":re(e);break;case"function":Ge(e);break;case"object":Array.isArray(e)?e.forEach(Ye):e&&Object.keys(e).forEach(t=>{Tt(t,e[t])})}},Je=new WeakMap,vt=e=>{let t=Je.get(e);if(!t){let n=NaN,r="";t=e.map((o,i)=>{if(n!=n&&b(":-(",(e[i+1]||"")[0])&&(n=i),i>=n)return f=>{i===n&&(r=""),r+=o,h(f)?r+=f:f&&(re(r),r="",pe(f)),i===e.length-1&&re(r)};let a=X=[];re(o);let c=[...H];return X=[],f=>{X.push(...a),H=[...c],f&&pe(f)}}),Je.set(e,t)}return t},ie=e=>(H=[],X=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?vt(e[0]).forEach((t,n)=>t(e[n+1])):pe(e),X),Rt=(e,t)=>{if(S(t))throw 0;return t},kt=e=>{try{return JSON.stringify(e,Rt)}catch{}},Qe=new WeakMap,oe=(e,t)=>{let n=kt(t),r;if(n){var o=Qe.get(e);o||Qe.set(e,o=new Map),r=o.get(n)}return r||(r=Object.defineProperty((i,a)=>(a=Array.isArray(i)?a:i,I(e(t,a),a)),"toJSON",{value:()=>n||t}),o&&(o.set(n,r),ge(o,1e4))),r},$t=(e,{css:t})=>t(ie(e)),Pt=(...e)=>oe($t,e);var Xe=e=>(t,n,r,o)=>{if(t){let i=n&&e(n);if(i&&i.length>0)return i.reduce((a,c)=>(a[te([r,c,o])]=t,a),{})}},qe=Xe(e=>({t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-left","bottom-right"],l:["bottom-left","top-left"],tl:["top-left"],tr:["top-right"],bl:["bottom-left"],br:["bottom-right"]})[e]),se=e=>{let t=({x:"lr",y:"tb"}[e]||e||"").split("").sort();for(let n=t.length;n--;)if(!(t[n]={t:"top",r:"right",b:"bottom",l:"left"}[t[n]]))return;if(t.length)return t},me=Xe(se),s,B,x,ae=e=>(t,n,r)=>({[e]:r+((s=u(t))&&"-"+s)}),m=(e,t)=>(n,r,o)=>({[e||o]:u(n,t)}),C=e=>(t,{theme:n},r)=>({[e||r]:n(e||r,t)}),D=(e,t)=>(n,r)=>e(n,r,t),N=ae("display"),le=ae("position"),q=ae("textTransform"),Z=ae("textDecoration"),he=ae("fontStyle"),_=e=>(t,n,r)=>({["--tw-"+e]:r,fontVariantNumeric:"var(--tw-ordinal,/*!*/ /*!*/) var(--tw-slashed-zero,/*!*/ /*!*/) var(--tw-numeric-figure,/*!*/ /*!*/) var(--tw-numeric-spacing,/*!*/ /*!*/) var(--tw-numeric-fraction,/*!*/ /*!*/)"}),be=(e,{theme:t},n)=>({[n]:t("inset",e)}),ce=(e,t,n,r=n)=>({[`--tw-${n}-opacity`]:t(r+"Opacity",g(e))}),Re=(e,t)=>Math.round(parseInt(e,16)*t),xe=(e,t,n)=>e&&e[0]==="#"?`rgba(${Re(e.substr(1,s=(e.length-1)/3),x=[17,1,.062272][s-1])},${Re(e.substr(1+s,s),x)},${Re(e.substr(1+2*s,s),x)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,we=(e,t,n)=>n&&(s=xe(n,t+"-opacity"))&&s!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,s]}:{[e]:n},Ze=e=>(x=xe(e,"","0"))===s?"transparent":x,et=(e,{theme:t},n,r,o,i)=>(s={x:["right","left"],y:["bottom","top"]}[e[0]])&&(x=`--tw-${n}-${e[0]}-reverse`)?e[1]==="reverse"?{[x]:"1"}:{[x]:"0",[te([o,s[0],i])]:(B=t(r,g(e)))&&`calc(${B} * var(${x}))`,[te([o,s[1],i])]:B&&[B,`calc(${B} * calc(1 - var(${x})))`]}:void 0,tt=(e,t)=>({[e]:(b("wun",(t[0]||"")[3])?"space-":"")+t[0]}),ke=e=>t=>b(["start","end"],t[0])?{[e]:`flex-${t[0]}`}:tt(e,t),nt=e=>t=>{switch(t[0]){case"auto":return{[`grid-${e}`]:"auto"};case"span":return{[`grid-${e}`]:t[1]==="full"?"1 / -1":`span ${t[1]} / span ${t[1]}`};case"start":case"end":return{[`grid-${e}-${t[0]}`]:t[1]}}},rt=(e,{theme:t},n)=>{switch(e[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return m("borderStyle")(e);case"collapse":case"separate":return m("borderCollapse")(e);case"opacity":return ce(e,t,n)}return(s=t(n+"Width",e,""))?{borderWidth:s}:we("borderColor",n,t(n+"Color",e))},$e=e=>(e?"translate3d(var(--tw-translate-x,0),var(--tw-translate-y,0),0)":"translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0))")+" rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1))",Pe=(e,t,n)=>(s=t.theme(n,e[1]||e[0]))&&{[`--tw-${n}-x`]:e[0]!=="y"&&s,[`--tw-${n}-y`]:e[0]!=="x"&&s,transform:[`${n}${e[1]?e[0].toUpperCase():""}(${s})`,$e()]},it=e=>(t,n,r)=>r[1]?me(n.theme(e,t),r[1],e):C(e)(t,n,r),G=it("padding"),K=it("margin"),ot=(e,{theme:t},n)=>(s={w:"width",h:"height"}[e[0]])&&{[s=`${n}${Ve(s)}`]:t(s,g(e))},st={group:(e,{tag:t},n)=>t(u([n,...e])),hidden:D(N,"none"),inline:N,block:N,contents:N,flow:N,table:(e,t,n)=>b(["auto","fixed"],e[0])?{tableLayout:e[0]}:N(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return{flexDirection:u(e[0]==="col"?["column",...g(e)]:e)};case"nowrap":case"wrap":return{flexWrap:u(e)};case"grow":case"shrink":return{[`flex-${e[0]}`]:e[1]||"1"}}return(s=t.theme("flex",e,""))?{flex:s}:N(e,t,n)},grid(e,t,n){switch(e[0]){case"cols":case"rows":return e.length>1&&{[`grid-template-${e[0]==="cols"?"columns":e[0]}`]:e.length===2&&Number(e[1])?`repeat(${e[1]},minmax(0,1fr))`:u(g(e)," ")};case"flow":return e.length>1&&{gridAutoFlow:u(e[1]==="col"?["column",...g(e,2)]:g(e)," ")}}return N(e,t,n)},auto:e=>b(["cols","rows"],e[0])&&(s=e.length===2?{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"}[e[1]]||`minmax(0,${e[1]})`:e.length>2&&`minmax(${u(g(e),",")})`)&&{[`grid-auto-${e[0]==="cols"?"columns":"rows"}`]:s},static:le,fixed:le,absolute:le,relative:le,sticky:le,visible:{visibility:"visible"},invisible:{visibility:"hidden"},antialiased:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},"subpixel-antialiased":{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"},truncate:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"},"not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"},resize:e=>({resize:{x:"vertical",y:"horizontal"}[e[0]]||e[0]||"both"}),box:e=>({"box-sizing":`${e[0]}-box`}),appearance:m(),cursor:m(),float:m(),clear:m(),top:be,right:be,bottom:be,left:be,inset:(e,{theme:t})=>(s=se(e[0]))?me(t("inset",g(e)),e[0]):(s=t("inset",e))&&{top:s,right:s,bottom:s,left:s},underline:Z,"line-through":Z,"no-underline":D(Z,"none"),"text-underline":D(Z,"underline"),"text-no-underline":D(Z,"none"),"text-line-through":D(Z,"line-through"),uppercase:q,lowercase:q,capitalize:q,"normal-case":D(q,"none"),"text-normal-case":D(q,"none"),italic:he,"not-italic":D(he,"normal"),"font-italic":D(he,"italic"),"font-not-italic":D(he,"normal"),font:(e,t,n)=>(s=t.theme("fontFamily",e,""))?{fontFamily:s}:C("fontWeight")(e,t,n),items:e=>({alignItems:b(["start","end"],e[0])?`flex-${e[0]}`:u(e)}),"justify-self":m(),"justify-items":m(),justify:ke("justifyContent"),content:ke("alignContent"),self:ke("alignSelf"),place:e=>tt("place-"+e[0],g(e)),overscroll:e=>({["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]}),col:nt("column"),row:nt("row"),duration:C("transitionDuration"),delay:C("transitionDelay"),tracking:C("letterSpacing"),leading:C("lineHeight"),z:C("zIndex"),opacity:C(),ease:C("transitionTimingFunction"),p:G,py:G,px:G,pt:G,pr:G,pb:G,pl:G,m:K,my:K,mx:K,mt:K,mr:K,mb:K,ml:K,w:C("width"),h:C("height"),min:ot,max:ot,fill:C(),order:C(),origin:m("transformOrigin"," "),select:m("userSelect"),"pointer-events":m(),align:m("verticalAlign"),whitespace:m("whiteSpace"),"normal-nums":{fontVariantNumeric:"normal"},ordinal:_("ordinal"),"slashed-zero":_("slashed-zero"),"lining-nums":_("numeric-figure"),"oldstyle-nums":_("numeric-figure"),"proportional-nums":_("numeric-spacing"),"tabular-nums":_("numeric-spacing"),"diagonal-fractions":_("numeric-fraction"),"stacked-fractions":_("numeric-fraction"),overflow:(e,t,n)=>b(["ellipsis","clip"],e[0])?m("textOverflow")(e):e[1]?{[`overflow-${e[0]}`]:e[1]}:m()(e,t,n),transform:e=>e[0]==="none"?{transform:"none"}:{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1",transform:$e(e[0]==="gpu")},rotate:(e,{theme:t})=>(s=t("rotate",e))&&{"--tw-rotate":s,transform:[`rotate(${s})`,$e()]},scale:Pe,translate:Pe,skew:Pe,gap:(e,t,n)=>(s={x:"column",y:"row"}[e[0]])?{[s+"Gap"]:t.theme("gap",g(e))}:C("gap")(e,t,n),stroke:(e,t,n)=>(s=t.theme("stroke",e,""))?{stroke:s}:C("strokeWidth")(e,t,n),outline:(e,{theme:t})=>(s=t("outline",e))&&{outline:s[0],outlineOffset:s[1]},break(e){switch(e[0]){case"normal":return{wordBreak:"normal",overflowWrap:"normal"};case"words":return{overflowWrap:"break-word"};case"all":return{wordBreak:"break-all"}}},text(e,{theme:t},n){switch(e[0]){case"left":case"center":case"right":case"justify":return{textAlign:e[0]};case"uppercase":case"lowercase":case"capitalize":return q([],s,e[0]);case"opacity":return ce(e,t,n)}let r=t("fontSize",e,"");return r?h(r)?{fontSize:r}:{fontSize:r[0],...h(r[1])?{lineHeight:r[1]}:r[1]}:we("color","text",t("textColor",e))},bg(e,{theme:t},n){switch(e[0]){case"fixed":case"local":case"scroll":return m("backgroundAttachment",",")(e);case"bottom":case"center":case"left":case"right":case"top":return m("backgroundPosition"," ")(e);case"no":return e[1]==="repeat"&&m("backgroundRepeat")(e);case"auto":case"cover":case"contain":return m("backgroundSize")(e);case"repeat":return b("xy",e[1])?m("backgroundRepeat")(e):{"background-repeat":e[1]||e[0]};case"opacity":return ce(e,t,n,"background");case"clip":return{backgroundClip:e[1]+(e[1]==="text"?"":"-box")};case"gradient":if(e[1]==="to"&&(s=se(e[2])))return{backgroundImage:`linear-gradient(to ${u(s," ")},var(--tw-gradient-stops))`}}return(s=t("backgroundImage",e,""))?{backgroundImage:s}:we("backgroundColor","bg",t("backgroundColor",e))},from:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-from":s,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${Ze(s)})`},via:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${s},var(--tw-gradient-to,${Ze(s)})`},to:(e,{theme:t})=>({"--tw-gradient-to":t("gradientColorStops",e)}),border:(e,t,n)=>se(e[0])?me(t.theme("borderWidth",g(e)),e[0],"border","width"):rt(e,t,n),divide:(e,t,n)=>(s=et(e,t,n,"divideWidth","border","width")||rt(e,t,n))&&{"&>:not([hidden])~:not([hidden])":s},space:(e,t,n)=>(s=et(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":s},placeholder:(e,{theme:t},n)=>(s=e[0]==="opacity"?ce(e,t,n):we("color","placeholder",t("placeholderColor",e)))&&{"&::placeholder":s},shadow:(e,{theme:t})=>(s=t("boxShadow",e))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":s==="none"?"0 0 transparent":s,boxShadow:[s,"var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)"]},animate:(e,{theme:t,tag:n})=>{if(x=t("animation",e)){let r=x.split(" ");return(s=t("keyframes",r[0],B={}))!==B?(x=n(r[0]))&&{animation:x+" "+u(g(r)," "),["@keyframes "+x]:s}:{animation:x}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return{"--tw-ring-inset":"inset"};case"opacity":return ce(e,t,n);case"offset":return(s=t("ringOffsetWidth",g(e),""))?{"--tw-ring-offset-width":s}:{"--tw-ring-offset-color":t("ringOffsetColor",g(e))}}return(s=t("ringWidth",e,""))?{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${s} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)",":global":{"*":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":t("ringOffsetColor","","#fff"),"--tw-ring-color":xe(t("ringColor","","#93c5fd"),"ring-opacity",t("ringOpacity","","0.5")),"--tw-ring-offset-shadow":"0 0 transparent","--tw-ring-shadow":"0 0 transparent"}}}:{"--tw-ring-opacity":"1","--tw-ring-color":xe(t("ringColor",e),"ring-opacity")}},object:e=>b(["contain","cover","fill","none","scale"],e[0])?m("objectFit")(e):m("objectPosition"," ")(e),list:e=>m(b(["inside","outside"],e[0])?"listStylePosition":"listStyleType")(e),rounded:(e,t,n)=>qe(t.theme("borderRadius",g(e),""),e[0],"border","radius")||C("borderRadius")(e,t,n),"transition-none":{"transition-property":"none"},transition:(e,{theme:t})=>({transitionProperty:t("transitionProperty",e),transitionTimingFunction:t("transitionTimingFunction",""),transitionDuration:t("transitionDuration","")}),container:(e,{theme:t})=>{let{screens:n=t("screens"),center:r,padding:o}=t("container"),i=a=>(s=o&&(h(o)?o:o[a]||o.DEFAULT))?{paddingRight:s,paddingLeft:s}:{};return Object.keys(n).reduce((a,c)=>((x=n[c])&&h(x)&&(a[Q(x)]={"&":{"max-width":x,...i(c)}}),a),{width:"100%",...r?{marginRight:"auto",marginLeft:"auto"}:{},...i("xs")})}},at=e=>({":root":{tabSize:4},"body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre,fieldset,ol,ul":{margin:"0"},button:{backgroundColor:"transparent",backgroundImage:"none"},'button,[type="button"],[type="reset"],[type="submit"]':{WebkitAppearance:"button"},"button:focus":{outline:["1px dotted","5px auto -webkit-focus-ring-color"]},"fieldset,ol,ul,legend":{padding:"0"},"ol,ul":{listStyle:"none"},html:{lineHeight:"1.5",WebkitTextSizeAdjust:"100%",fontFamily:e("fontFamily.sans","ui-sans-serif,system-ui,sans-serif")},body:{fontFamily:"inherit",lineHeight:"inherit"},"*,::before,::after":{boxSizing:"border-box",border:`0 solid ${e("borderColor.DEFAULT","currentColor")}`},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},img:{borderStyle:"solid"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:"1",color:e("placeholderColor.DEFAULT",e("colors.gray.400","#a1a1aa"))},'button,[role="button"]':{cursor:"pointer"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",margin:"0",padding:"0",lineHeight:"inherit",color:"inherit"},"button,select":{textTransform:"none"},"::-moz-focus-inner":{borderStyle:"none",padding:"0"},":-moz-focusring":{outline:"1px dotted ButtonText"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},'[type="search"]':{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"abbr[title]":{textDecoration:"underline dotted"},"b,strong":{fontWeight:"bolder"},"pre,code,kbd,samp":{fontFamily:e("fontFamily","mono","ui-monospace,monospace"),fontSize:"1em"},"sub,sup":{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"}}),lt={dark:"@media (prefers-color-scheme:dark)",sticky:"@supports ((position: -webkit-sticky) or (position:sticky))","motion-reduce":"@media (prefers-reduced-motion:reduce)","motion-safe":"@media (prefers-reduced-motion:no-preference)",first:"&:first-child",last:"&:last-child",even:"&:nth-child(2n)",odd:"&:nth-child(odd)",children:"&>*",siblings:"&~*",sibling:"&+*",override:"&&"},ct="__twind",dt=e=>{let t=self[ct];return t||(t=document.head.appendChild(document.createElement("style")),t.id=ct,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t},Ae=({nonce:e,target:t=dt(e).sheet}={})=>{let n=t.cssRules.length;return{target:t,insert:(r,o)=>t.insertRule(r,n+o)}},Ee=()=>({target:null,insert:ue}),ye=e=>({unknown(t,n=[],r,o){r||this.report({id:"UNKNOWN_THEME_VALUE",key:u([t,...n],".")},o)},report({id:t,...n}){let r=`[${t}] ${JSON.stringify(n)}`,o=(new Error(r).stack||r).split("at ");for(let i;(i=o.splice(1,1)[0])&&!/(^|\.)(tw|setup) /.test(i););return e(o.join("at "))}}),Se=ye(e=>console.warn(e)),Fe=ye(e=>{throw new Error(e)}),ze=ye(ue);import{cssPropertyAlias as At,cssPropertyPrefixFlags as Et,cssValuePrefixFlags as Ft}from"style-vendorizer";var z=(e,t,n)=>`${e}:${t}${n?" !important":""}`,De=(e,t,n)=>{let r="",o=At(e);o&&(r+=`${z(o,t,n)};`);let i=Et(e);return i&1&&(r+=`-webkit-${z(e,t,n)};`),i&2&&(r+=`-moz-${z(e,t,n)};`),i&4&&(r+=`-ms-${z(e,t,n)};`),i=Ft(e,t),i&1&&(r+=`${z(e,`-webkit-${t}`,n)};`),i&2&&(r+=`${z(e,`-moz-${t}`,n)};`),i&4&&(r+=`${z(e,`-ms-${t}`,n)};`),r+=z(e,t,n),r},de=(e,t)=>{let n={};do for(let r=1;r<e;r++)n[`${r}/${e}`]=Number((r/e*100).toFixed(6))+"%";while(++e<=t);return n},U=(e,t,n=0)=>{let r={};for(;n<=e;n=n*2||1)r[n]=n+t;return r},W=(e,t="",n=1,r=0,o=1)=>{let i={};for(;r<=e;r+=o)i[r]=r/n+t;return i},T=e=>t=>t(e),zt=(e,{theme:t})=>t(...e),Dt=(...e)=>oe(zt,e),Mt={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:{transparent:"transparent",current:"currentColor",black:"#000",white:"#fff",gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},yellow:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},green:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},purple:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"}},spacing:{px:"1px",0:"0px",...W(4,"rem",4,.5,.5),...W(12,"rem",4,5),14:"3.5rem",...W(64,"rem",4,16,4),72:"18rem",80:"20rem",96:"24rem"},durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},backgroundColor:T("colors"),backgroundImage:{none:"none"},backgroundOpacity:T("opacity"),borderColor:e=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:T("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderWidth:{DEFAULT:"1px",...U(8,"px")},boxShadow:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",DEFAULT:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",inner:"inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",none:"none"},container:{},divideColor:T("borderColor"),divideOpacity:T("borderOpacity"),divideWidth:T("borderWidth"),fill:{current:"currentColor"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:T("spacing"),gradientColorStops:T("colors"),height:e=>({auto:"auto",...e("spacing"),...de(2,6),full:"100%",screen:"100vh"}),inset:e=>({auto:"auto",...e("spacing"),...de(2,4),full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",...W(10,"rem",4,3)},margin:e=>({auto:"auto",...e("spacing")}),maxHeight:e=>({...e("spacing"),full:"100%",screen:"100vh"}),maxWidth:(e,{breakpoints:t})=>({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",prose:"65ch",...t(e("screens"))}),minHeight:{0:"0px",full:"100%",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content"},opacity:{...W(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0",...W(12,"",1,1)},outline:{none:["2px solid transparent","2px"],white:["2px dotted white","2px"],black:["2px dotted black","2px"]},padding:T("spacing"),placeholderColor:T("colors"),placeholderOpacity:T("opacity"),ringColor:e=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:T("colors"),ringOffsetWidth:U(8,"px"),ringOpacity:e=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",...U(8,"px")},rotate:{...U(2,"deg"),...U(12,"deg",3),...U(180,"deg",45)},scale:{0:"0",50:".5",75:".75",...W(110,"",100,90,5),125:"1.25",150:"1.5"},skew:{...U(2,"deg"),...U(12,"deg",3)},space:T("spacing"),stroke:{current:"currentColor"},strokeWidth:W(2),textColor:T("colors"),textOpacity:T("opacity"),transitionDuration:e=>({DEFAULT:"150ms",...e("durations")}),transitionDelay:T("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"background-color,border-color,color,fill,stroke,opacity,box-shadow,transform",colors:"background-color,border-color,color,fill,stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4,0,0.2,1)",linear:"linear",in:"cubic-bezier(0.4,0,1,1)",out:"cubic-bezier(0,0,0.2,1)","in-out":"cubic-bezier(0.4,0,0.2,1)"},translate:e=>({...e("spacing"),...de(2,4),full:"100%"}),width:e=>({auto:"auto",...e("spacing"),...de(2,6),...de(12,12),screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:{auto:"auto",...W(50,"",1,0,10)}},ut=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{let o=e[r];r==="DEFAULT"&&(t[u(n)]=o,t[u(n,".")]=o);let i=[...n,r];t[u(i)]=o,t[u(i,".")]=o,L(o)&&ut(o,t,i)},t),t),Ot={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>h(e[t])).reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},gt=e=>{let t=new Map,n={...Mt,...e},r=(i,a)=>{let c=i&&i[a],f=S(c)?c(o,Ot):c;return f&&a==="colors"?ut(f):f},o=(i,a,c)=>{let f=i.split(".");i=f[0],f.length>1&&(c=a,a=u(g(f),"."));let v=t.get(i);if(v||t.set(i,v={...r(n,i),...r(n.extend,i)}),a!=null){let M=v[(Array.isArray(a)?u(a):a)||"DEFAULT"];return M==null?c:Array.isArray(M)&&!b(["fontSize","outline"],i)?u(M,","):M}return v};return o},ft=(e,t)=>(n,r)=>{if(S(n.d))return n.d(t);let o=n.d.split("-");if(!r&&o[0]==="tw"&&n.$===n.d)return n.$;for(let i=o.length;i;i--){let a=u(o.slice(0,i)),c=e[a];if(c)return S(c)?c(g(o,i),t,a):h(c)?t[r?"css":"tw"](c):c}},Me,Oe=/^:(group(?:(?!-focus).+?)*)-(.+)$/,pt=(e,t,{theme:n,tag:r})=>{let o=(i,a)=>{let c=n("screens",g(a),"");return c?{[Q(c)]:i}:a===":dark"&&e==="class"?{[".dark &"]:i}:(Me=Oe.exec(a))?{[`.${fe(r(Me[1]))}:${Me[2]} &`]:i}:{[t[g(a)]||"&"+a]:i}};return(i,a)=>a.v.reduceRight(o,i)},k,je=e=>(((k=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+k[1]/(k[2]?15:1)/10:0)&31)<<22,mt=e=>{k=0;for(let t=e.length;t--;)k+=b("-:,",e[t]);return k},We=e=>(mt(e)&15)<<18,jt=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],Wt=e=>1<<(~(k=jt.indexOf(e.replace(Oe,":$2").slice(3,8)))?k:17),ht=(e,t)=>(n,r)=>n|((k=e("screens",g(r),""))?1<<27|je(Q(k)):r===":dark"?1<<30:(k=t[r]||r)[0]==="@"?We(k):Wt(r)),bt=e=>e[0]==="-"?0:mt(e)+((k=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!k[1]||-!!k[2]:0)+1,Ie=(e,t)=>t+"{"+e+"}",He;(function(e){e[e.base=0]="base",e[e.components=1]="components",e[e.utilities=2]="utilities",e[e.css=3]="css"})(He||(He={}));var xt=(e,t,n)=>{let{theme:r,tag:o}=n,i=(R,y)=>"--"+o(y),a=R=>`${R}`.replace(/--(tw-[\w-]+)\b/g,i),c=(R,y,$)=>(R=a(R),Array.isArray(y)?u(y.filter(Boolean).map(E=>e(R,a(E),$)),";"):e(R,a(y),$)),f,v=(R,y,$,E,O)=>{let j="",Y=0,J=0;Object.keys(E).forEach(w=>{let A=I(E[w],n);if(b("rg",(typeof A)[5])||Array.isArray(A)){if(A!==""&&w.length>1){let P=Ce(w);J+=1,Y=Math.max(Y,bt(P)),j=(j&&j+";")+c(P,A,O)}}else if(A)if(w[0]==="@")if(w[1]==="f")v([],w,0,A,O);else if(w[1]==="k"){let P=f.length;v([],"",0,A,O);let l=f.splice(P,f.length-P);f.push({r:Ie(u(l.map(d=>d.r),""),w),p:l.reduce((d,p)=>d+p.p,0)})}else v([...R,w],y,$|je(w)|We(w),A,O);else w===":global"?v([],"",0,A,O):v(R,y?y.replace(/([^,])+/g,P=>w.replace(/([^,])+/g,l=>b(l,"&")?l.replace(/&/g,P):(P&&P+" ")+l)):w,$,A,O)}),J&&f.push({r:R.reduceRight(Ie,Ie(j,y)),p:$*(1<<8)+((Math.max(0,15-J)&15)<<4|(Y||15)&15)})},M=ht(r,t);return(R,y,$,E=0)=>(E<<=28,f=[],v([],y?"."+fe(y):"",$?$.v.reduceRight(M,E):E,R,$&&$.i),f)},wt=(e,t,n,r)=>{let o;n((a=[])=>o=a);let i;return n((a=new Set)=>i=a),({r:a,p:c})=>{if(!i.has(a)){i.add(a);let f=Be(o,c);try{e.insert(a,f),o.splice(f,0,c)}catch(v){/:-[mwo]/.test(a)||t.report({id:"INJECT_CSS_ERROR",css:a,error:v},r)}}}},Ne=(e,t,n,r=t)=>e===!1?n:e===!0?r:e||t,It=e=>(h(e)?{t:Fe,a:Se,i:ze}[e[1]]:e)||Se,_e=(e,t=e.d)=>{if(S(t))return"";let n=u(e.v,"");return(n&&g(n)+":")+(e.n?"-":"")+t+(e.i?"!":"")},Ht={_:{value:"",writable:!0}},yt=(e={})=>{let t=gt(e.theme),n=It(e.mode),r=Ne(e.hash,!1,!1,ne),o={v:[]},i=0,a=[],c={tw:(...l)=>A(l),theme:(l,d,p)=>{d!=null&&!d.length&&(d="DEFAULT");let F=t(l,d,p)||n.unknown(l,d==null||Array.isArray(d)?d:d.split("."),p!=null,c);return o.n&&F&&h(F)?`calc(${F} * -1)`:F},tag:l=>r?r(l):l,css:l=>{i++;let d=a.length;try{(h(l)?ie([l]):l).forEach(w);let p=Object.create(null,Ht);for(let F=d;F<a.length;F++){let ee=a[F];L(ee)?Te(p,ee,c):ee&&h(ee)&&(p._+=(p._&&" ")+ee)}return p}finally{a.length=d,i--}}},f=ft({...st,...e.plugins},c),v=l=>{let d=o;o=l;try{return I(f(l),c)}finally{o=d}},M={...lt,...e.variants},R=pt(e.darkMode||"media",M,c),y=xt(Ne(e.prefix,De,z),M,c),$=e.sheet||(typeof window=="undefined"?Ee():Ae(e)),{init:E=l=>l()}=$,O=wt($,n,E,c),j;E((l=new Map)=>j=l);let Y=new WeakMap,J=(l,d)=>S(d)?JSON.stringify(d(c),J):d,w=l=>{!i&&o.v.length&&(l={...l,v:[...o.v,...l.v],$:""}),l.$||(l.$=_e(l)||_e(l,Y.get(l.d)));let d=i?null:j.get(l.$);if(d==null){let p=v(l);if(l.$||(l.$=ne(JSON.stringify(p,J)),Y.set(l.d,l.$),l.$=_e(l,l.$)),L(p)){let F=S(l.d)?h(p._)?1:3:2;d=r||S(l.d)?(r||ne)(F+l.$):l.$,p=R(p,l),i?a.push(p):(y(p,d,l,F).forEach(O),p._&&(d+=" "+p._))}else h(p)?d=p:(d=l.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:d},c)),i&&!S(l.d)&&a.push(d);i||(j.set(l.$,d),ge(j,3e4))}return d},A=l=>ie(l).map(w).filter(Boolean).join(" "),P=Ne(e.preflight,Le,!1);if(P){let l=at(t),d=y(S(P)?I(P(l,c),c)||l:{...l,...P});E((p=(d.forEach(O),!0))=>p)}return{init:()=>n.report({id:"LATE_SETUP_CALL"},c),process:A}},Ue=e=>{let t=i=>(n(),t(i)),n=i=>{({process:t,init:n}=yt(i))};e&&n(e);let r,o=i=>()=>(r||t([a=>(r=a,"")]),r[i]);return{tw:Object.defineProperties((...i)=>t(i),{theme:{get:o("theme")}}),setup:i=>n(i)}},{tw:Nt,setup:_t}=Ue();export{Pt as apply,De as autoprefix,Ue as create,Ae as cssomSheet,oe as directive,ne as hash,ye as mode,z as noprefix,_t as setup,ze as silent,Fe as strict,Dt as theme,Nt as tw,Ee as voidSheet,Se as warn}; | ||
//# sourceMappingURL=twind.js.map |
@@ -1,2 +0,2 @@ | ||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports):typeof define==='function'&&define.amd?define(['exports'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f(g.twind={}));}(this,(function(exports){'use strict';var Rt=Object.prototype.hasOwnProperty,Ue=Object.getOwnPropertySymbols,kt=Object.prototype.propertyIsEnumerable,l=Object.assign,Le=(e,t)=>{var n={};for(var r in e)Rt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ue)for(var r of Ue(e))t.indexOf(r)<0&&kt.call(e,r)&&(n[r]=e[r]);return n},x=e=>typeof e=="string",L=e=>e!=null&&typeof e=="object",C=e=>typeof e=="function",b=(e,t)=>!!~e.indexOf(t),u=(e,t="-")=>e.join(t),ne=(e,t)=>u(e.filter(Boolean),t),f=(e,t=1)=>e.slice(t),Ve=e=>e,ue=()=>{},Be=e=>e[0].toUpperCase()+f(e),ve=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),Q=(e,t)=>{for(;C(e);)e=e(t);return e},fe=(e,t)=>{e.size>t&&e.delete(e.keys().next().value);},Te=(e,t,n)=>t?Object.keys(t).reduce((r,o)=>{let i=Q(t[o],n),a=/^[A-Z0-9-]+$/i.test(o)?ve(o):o;return r[a]=L(i)&&!Array.isArray(i)?Te(r[a]||{},i,n):i,r},e):e,pe=typeof CSS!="undefined"&&CSS.escape||(e=>{let t=e.charCodeAt(0),n="";return t>=48&&t<=57&&(n="\\"+t.toString(16)+" ",e=f(e)),n+e.replace(/[!./:#]/g,"\\$&")}),X=e=>(Array.isArray(e)||(e=[e]),"@media "+u(e.map(t=>(x(t)&&(t={min:t}),t.raw||u(Object.keys(t).map(n=>`(${n}-width:${t[n]})`)," and "))),",")),re=e=>{let t=9;for(let n=e.length;n--;)t=Math.imul(t^e.charCodeAt(n),1597334677);return "tw-"+((t^t>>>9)>>>0).toString(36)},Ge=(e,t)=>{let n=e.length;if(n===0)return 0;for(let r=0;r<n;){let o=n+r>>1;e[o]<=t?r=o+1:n=o;}return n},H,q,V=(e="")=>(H.push(e),""),Re=e=>{H.length=Math.max(H.lastIndexOf("")+~~e,0);},$t=e=>e&&e[0]!==":",Pt=e=>e[0]===":",Ke=(e,t,n)=>{q.push({v:H.filter(Pt),d:e,n:t,i:n,$:""});},Ye=e=>{let t=e[0]==="-";t&&(e=f(e));let n=e[e.length-1]==="!";n&&(e=e.slice(0,-1));let r=u(H.filter($t));return Ke(e==="&"?r:(r&&r+"-")+e,t,n),""},ie=(e,t)=>{let n,r="";for(let o=0;o<e.length;)switch(n=e[o++]){case":":r=r&&V(":"+r);break;case"(":r=r&&V(r),V();break;case")":case" ":case" ":case` | ||
`:case"\r":r=r&&Ye(r),Re(n!==")");break;default:r+=n;}r&&(t?V(":"+r):r.slice(-1)==="-"?V(r.slice(0,-1)):Ye(r));},Je=e=>{V(),me(e),Re();},At=(e,t)=>{if(t){V();let n=b("tbu",(typeof t)[1]);ie(e,n),n&&Je(t),Re();}},me=e=>{switch(typeof e){case"string":ie(e);break;case"function":Ke(e);break;case"object":Array.isArray(e)?e.forEach(Je):e&&Object.keys(e).forEach(t=>{At(t,e[t]);});}},Qe=new WeakMap,Ft=e=>{let t=Qe.get(e);if(!t){let n=NaN,r="";t=e.map((o,i)=>{if(n!=n&&b(":-(",(e[i+1]||"")[0])&&(n=i),i>=n)return p=>{i===n&&(r=""),r+=o,x(p)?r+=p:p&&(ie(r),r="",me(p)),i===e.length-1&&ie(r);};let a=q=[];ie(o);let d=[...H];return q=[],p=>{q.push(...a),H=[...d],p&&me(p);}}),Qe.set(e,t);}return t},oe=e=>(H=[],q=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?Ft(e[0]).forEach((t,n)=>t(e[n+1])):me(e),q),Et=(e,t)=>{if(C(t))throw 0;return t},zt=e=>{try{return JSON.stringify(e,Et)}catch(t){}},Xe=new WeakMap,se=(e,t)=>{let n=zt(t),r;if(n){var o=Xe.get(e);o||Xe.set(e,o=new Map),r=o.get(n);}return r||(r=Object.defineProperty((i,a)=>e(t,Array.isArray(i)?a:i),"toJSON",{value:()=>n||t}),o&&(o.set(n,r),fe(o,1e4))),r},Dt=(e,{css:t})=>t(oe(e)),jt=(...e)=>se(Dt,e);var qe=e=>(t,n,r,o)=>{if(t){let i=n&&e(n);if(i&&i.length>0)return i.reduce((a,d)=>(a[ne([r,d,o])]=t,a),{})}},Ze=qe(e=>({t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-left","bottom-right"],l:["bottom-left","top-left"],tl:["top-left"],tr:["top-right"],bl:["bottom-left"],br:["bottom-right"]})[e]),ae=e=>{let t=({x:"lr",y:"tb"}[e]||e||"").split("").sort();for(let n=t.length;n--;)if(!(t[n]={t:"top",r:"right",b:"bottom",l:"left"}[t[n]]))return;if(t.length)return t},he=qe(ae),s,B,w,le=e=>(t,n,r)=>({[e]:r+((s=u(t))&&"-"+s)}),h=(e,t)=>(n,r,o)=>({[e||o]:u(n,t)}),v=e=>(t,{theme:n},r)=>({[e||r]:n(e||r,t)}),j=(e,t)=>(n,r)=>e(n,r,t),N=le("display"),ce=le("position"),Z=le("textTransform"),ee=le("textDecoration"),be=le("fontStyle"),_=e=>(t,n,r)=>({["--tw-"+e]:r,fontVariantNumeric:"var(--tw-ordinal,/*!*/ /*!*/) var(--tw-slashed-zero,/*!*/ /*!*/) var(--tw-numeric-figure,/*!*/ /*!*/) var(--tw-numeric-spacing,/*!*/ /*!*/) var(--tw-numeric-fraction,/*!*/ /*!*/)"}),xe=(e,{theme:t},n)=>({[n]:t("inset",e)}),de=(e,t,n,r=n)=>({[`--tw-${n}-opacity`]:t(r+"Opacity",f(e))}),ke=(e,t)=>Math.round(parseInt(e,16)*t),we=(e,t,n)=>e&&e[0]==="#"?`rgba(${ke(e.substr(1,s=(e.length-1)/3),w=[17,1,.062272][s-1])},${ke(e.substr(1+s,s),w)},${ke(e.substr(1+2*s,s),w)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,ye=(e,t,n)=>n&&(s=we(n,t+"-opacity"))&&s!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,s]}:{[e]:n},et=e=>(w=we(e,"","0"))===s?"transparent":w,tt=(e,{theme:t},n,r,o,i)=>(s={x:["right","left"],y:["bottom","top"]}[e[0]])&&(w=`--tw-${n}-${e[0]}-reverse`)?e[1]==="reverse"?{[w]:"1"}:{[w]:"0",[ne([o,s[0],i])]:(B=t(r,f(e)))&&`calc(${B} * var(${w}))`,[ne([o,s[1],i])]:B&&[B,`calc(${B} * calc(1 - var(${w})))`]}:void 0,nt=(e,t)=>({[e]:(b("wun",(t[0]||"")[3])?"space-":"")+t[0]}),$e=e=>t=>b(["start","end"],t[0])?{[e]:`flex-${t[0]}`}:nt(e,t),rt=e=>t=>{switch(t[0]){case"auto":return {[`grid-${e}`]:"auto"};case"span":return {[`grid-${e}`]:t[1]==="full"?"1 / -1":`span ${t[1]} / span ${t[1]}`};case"start":case"end":return {[`grid-${e}-${t[0]}`]:t[1]}}},it=(e,{theme:t},n)=>{switch(e[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return h("borderStyle")(e);case"collapse":case"separate":return h("borderCollapse")(e);case"opacity":return de(e,t,n)}return (s=t(n+"Width",e,""))?{borderWidth:s}:ye("borderColor",n,t(n+"Color",e))},Pe=e=>(e?"translate3d(var(--tw-translate-x,0),var(--tw-translate-y,0),0)":"translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0))")+" rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1))",Ae=(e,t,n)=>(s=t.theme(n,e[1]||e[0]))&&{[`--tw-${n}-x`]:e[0]!=="y"&&s,[`--tw-${n}-y`]:e[0]!=="x"&&s,transform:[`${n}${e[1]?e[0].toUpperCase():""}(${s})`,Pe()]},ot=e=>(t,n,r)=>r[1]?he(n.theme(e,t),r[1],e):v(e)(t,n,r),G=ot("padding"),K=ot("margin"),st=(e,{theme:t},n)=>(s={w:"width",h:"height"}[e[0]])&&{[s=`${n}${Be(s)}`]:t(s,f(e))},at={group:(e,{tag:t})=>t("group"),hidden:j(N,"none"),inline:N,block:N,contents:N,flow:N,table:(e,t,n)=>b(["auto","fixed"],e[0])?{tableLayout:e[0]}:N(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return {flexDirection:u(e[0]==="col"?["column",...f(e)]:e)};case"nowrap":case"wrap":return {flexWrap:u(e)};case"grow":case"shrink":return {[`flex-${e[0]}`]:e[1]||"1"}}return (s=t.theme("flex",e,""))?{flex:s}:N(e,t,n)},grid(e,t,n){switch(e[0]){case"cols":case"rows":return e.length>1&&{[`grid-template-${e[0]==="cols"?"columns":e[0]}`]:e.length===2&&Number(e[1])?`repeat(${e[1]},minmax(0,1fr))`:u(f(e)," ")};case"flow":return e.length>1&&{gridAutoFlow:u(e[1]==="col"?["column",...f(e,2)]:f(e)," ")}}return N(e,t,n)},auto:e=>b(["cols","rows"],e[0])&&(s=e.length===2?{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"}[e[1]]||`minmax(0,${e[1]})`:e.length>2&&`minmax(${u(f(e),",")})`)&&{[`grid-auto-${e[0]==="cols"?"columns":"rows"}`]:s},static:ce,fixed:ce,absolute:ce,relative:ce,sticky:ce,visible:{visibility:"visible"},invisible:{visibility:"hidden"},antialiased:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},"subpixel-antialiased":{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"},truncate:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"},"not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"},resize:e=>({resize:{x:"vertical",y:"horizontal"}[e[0]]||e[0]||"both"}),box:e=>({"box-sizing":`${e[0]}-box`}),appearance:h(),cursor:h(),float:h(),clear:h(),top:xe,right:xe,bottom:xe,left:xe,inset:(e,{theme:t})=>(s=ae(e[0]))?he(t("inset",f(e)),e[0]):(s=t("inset",e))&&{top:s,right:s,bottom:s,left:s},underline:ee,"line-through":ee,"no-underline":j(ee,"none"),"text-underline":j(ee,"underline"),"text-no-underline":j(ee,"none"),"text-line-through":j(ee,"line-through"),uppercase:Z,lowercase:Z,capitalize:Z,"normal-case":j(Z,"none"),"text-normal-case":j(Z,"none"),italic:be,"not-italic":j(be,"normal"),"font-italic":j(be,"italic"),"font-not-italic":j(be,"normal"),font:(e,t,n)=>(s=t.theme("fontFamily",e,""))?{fontFamily:s}:v("fontWeight")(e,t,n),items:e=>({alignItems:b(["start","end"],e[0])?`flex-${e[0]}`:u(e)}),"justify-self":h(),"justify-items":h(),justify:$e("justifyContent"),content:$e("alignContent"),self:$e("alignSelf"),place:e=>nt("place-"+e[0],f(e)),overscroll:e=>({["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]}),col:rt("column"),row:rt("row"),duration:v("transitionDuration"),delay:v("transitionDelay"),tracking:v("letterSpacing"),leading:v("lineHeight"),z:v("zIndex"),opacity:v(),ease:v("transitionTimingFunction"),p:G,py:G,px:G,pt:G,pr:G,pb:G,pl:G,m:K,my:K,mx:K,mt:K,mr:K,mb:K,ml:K,w:v("width"),h:v("height"),min:st,max:st,fill:v(),order:v(),origin:h("transformOrigin"," "),select:h("userSelect"),"pointer-events":h(),align:h("verticalAlign"),whitespace:h("whiteSpace"),"normal-nums":{fontVariantNumeric:"normal"},ordinal:_("ordinal"),"slashed-zero":_("slashed-zero"),"lining-nums":_("numeric-figure"),"oldstyle-nums":_("numeric-figure"),"proportional-nums":_("numeric-spacing"),"tabular-nums":_("numeric-spacing"),"diagonal-fractions":_("numeric-fraction"),"stacked-fractions":_("numeric-fraction"),overflow:(e,t,n)=>b(["ellipsis","clip"],e[0])?h("textOverflow")(e):e[1]?{[`overflow-${e[0]}`]:e[1]}:h()(e,t,n),transform:e=>e[0]==="none"?{transform:"none"}:{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1",transform:Pe(e[0]==="gpu")},rotate:(e,{theme:t})=>(s=t("rotate",e))&&{"--tw-rotate":s,transform:[`rotate(${s})`,Pe()]},scale:Ae,translate:Ae,skew:Ae,gap:(e,t,n)=>(s={x:"column",y:"row"}[e[0]])?{[s+"Gap"]:t.theme("gap",f(e))}:v("gap")(e,t,n),stroke:(e,t,n)=>(s=t.theme("stroke",e,""))?{stroke:s}:v("strokeWidth")(e,t,n),outline:(e,{theme:t})=>(s=t("outline",e))&&{outline:s[0],outlineOffset:s[1]},break(e){switch(e[0]){case"normal":return {wordBreak:"normal",overflowWrap:"normal"};case"words":return {overflowWrap:"break-word"};case"all":return {wordBreak:"break-all"}}},text(e,{theme:t},n){switch(e[0]){case"left":case"center":case"right":case"justify":return {textAlign:e[0]};case"uppercase":case"lowercase":case"capitalize":return Z([],s,e[0]);case"opacity":return de(e,t,n)}let r=t("fontSize",e,"");return r?x(r)?{fontSize:r}:l({fontSize:r[0]},x(r[1])?{lineHeight:r[1]}:r[1]):ye("color","text",t("textColor",e))},bg(e,{theme:t},n){switch(e[0]){case"fixed":case"local":case"scroll":return h("backgroundAttachment",",")(e);case"bottom":case"center":case"left":case"right":case"top":return h("backgroundPosition"," ")(e);case"no":return e[1]==="repeat"&&h("backgroundRepeat")(e);case"auto":case"cover":case"contain":return h("backgroundSize")(e);case"repeat":return b("xy",e[1])?h("backgroundRepeat")(e):{"background-repeat":e[1]||e[0]};case"opacity":return de(e,t,n,"background");case"clip":return {backgroundClip:e[1]+(e[1]==="text"?"":"-box")};case"gradient":if(e[1]==="to"&&(s=ae(e[2])))return {backgroundImage:`linear-gradient(to ${u(s," ")},var(--tw-gradient-stops))`}}return (s=t("backgroundImage",e,""))?{backgroundImage:s}:ye("backgroundColor","bg",t("backgroundColor",e))},from:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-from":s,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${et(s)})`},via:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${s},var(--tw-gradient-to,${et(s)})`},to:(e,{theme:t})=>({"--tw-gradient-to":t("gradientColorStops",e)}),border:(e,t,n)=>ae(e[0])?he(t.theme("borderWidth",f(e)),e[0],"border","width"):it(e,t,n),divide:(e,t,n)=>(s=tt(e,t,n,"divideWidth","border","width")||it(e,t,n))&&{"&>:not([hidden])~:not([hidden])":s},space:(e,t,n)=>(s=tt(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":s},placeholder:(e,{theme:t},n)=>(s=e[0]==="opacity"?de(e,t,n):ye("color","placeholder",t("placeholderColor",e)))&&{"&::placeholder":s},shadow:(e,{theme:t})=>(s=t("boxShadow",e))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":s==="none"?"0 0 transparent":s,boxShadow:[s,"var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)"]},animate:(e,{theme:t,tag:n})=>{if(w=t("animation",e)){let r=w.split(" ");return (s=t("keyframes",r[0],B={}))!==B?(w=n(r[0]))&&{animation:w+" "+u(f(r)," "),["@keyframes "+w]:s}:{animation:w}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return {"--tw-ring-inset":"inset"};case"opacity":return de(e,t,n);case"offset":return (s=t("ringOffsetWidth",f(e),""))?{"--tw-ring-offset-width":s}:{"--tw-ring-offset-color":t("ringOffsetColor",f(e))}}return (s=t("ringWidth",e,""))?{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${s} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)",":global":{"*":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":t("ringOffsetColor","","#fff"),"--tw-ring-color":we(t("ringColor","","#93c5fd"),"ring-opacity",t("ringOpacity","","0.5")),"--tw-ring-offset-shadow":"0 0 transparent","--tw-ring-shadow":"0 0 transparent"}}}:{"--tw-ring-opacity":"1","--tw-ring-color":we(t("ringColor",e),"ring-opacity")}},object:e=>b(["contain","cover","fill","none","scale"],e[0])?h("objectFit")(e):h("objectPosition"," ")(e),list:e=>h(b(["inside","outside"],e[0])?"listStylePosition":"listStyleType")(e),rounded:(e,t,n)=>Ze(t.theme("borderRadius",f(e),""),e[0],"border","radius")||v("borderRadius")(e,t,n),"transition-none":{"transition-property":"none"},transition:(e,{theme:t})=>({transitionProperty:t("transitionProperty",e),transitionTimingFunction:t("transitionTimingFunction",""),transitionDuration:t("transitionDuration","")}),container:(e,{theme:t})=>{let{screens:n=t("screens"),center:r,padding:o}=t("container"),i=a=>(s=o&&(x(o)?o:o[a]||o.DEFAULT))?{paddingRight:s,paddingLeft:s}:{};return Object.keys(n).reduce((a,d)=>((w=n[d])&&x(w)&&(a[X(w)]={"&":l({"max-width":w},i(d))}),a),l(l({width:"100%"},r?{marginRight:"auto",marginLeft:"auto"}:{}),i("xs")))}},lt=e=>({":root":{tabSize:4},"body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre,fieldset,ol,ul":{margin:"0"},button:{backgroundColor:"transparent",backgroundImage:"none"},'button,[type="button"],[type="reset"],[type="submit"]':{WebkitAppearance:"button"},"button:focus":{outline:["1px dotted","5px auto -webkit-focus-ring-color"]},"fieldset,ol,ul,legend":{padding:"0"},"ol,ul":{listStyle:"none"},html:{lineHeight:"1.5",WebkitTextSizeAdjust:"100%",fontFamily:e("fontFamily.sans","ui-sans-serif,system-ui,sans-serif")},body:{fontFamily:"inherit",lineHeight:"inherit"},"*,::before,::after":{boxSizing:"border-box",border:`0 solid ${e("borderColor.DEFAULT","currentColor")}`},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},img:{borderStyle:"solid"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:"1",color:e("placeholderColor.DEFAULT",e("colors.gray.400","#a1a1aa"))},'button,[role="button"]':{cursor:"pointer"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",margin:"0",padding:"0",lineHeight:"inherit",color:"inherit"},"button,select":{textTransform:"none"},"::-moz-focus-inner":{borderStyle:"none",padding:"0"},":-moz-focusring":{outline:"1px dotted ButtonText"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},'[type="search"]':{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"abbr[title]":{textDecoration:"underline dotted"},"b,strong":{fontWeight:"bolder"},"pre,code,kbd,samp":{fontFamily:e("fontFamily","mono","ui-monospace,monospace"),fontSize:"1em"},"sub,sup":{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"}}),ct={dark:"@media (prefers-color-scheme:dark)",sticky:"@supports ((position: -webkit-sticky) or (position:sticky))","motion-reduce":"@media (prefers-reduced-motion:reduce)","motion-safe":"@media (prefers-reduced-motion:no-preference)",first:"&:first-child",last:"&:last-child",even:"&:nth-child(2n)",odd:"&:nth-child(odd)",children:"&>*",siblings:"&~*",sibling:"&+*",override:"&&"},dt="__twind",gt=e=>{let t=self[dt];return t||(t=document.head.appendChild(document.createElement("style")),t.id=dt,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t},Fe=({nonce:e,target:t=gt(e).sheet}={})=>{let n=t.cssRules.length;return {target:t,insert:(r,o)=>t.insertRule(r,n+o)}},Ee=()=>({target:null,insert:ue}),Se=e=>({unknown(t,n=[],r,o){r||this.report({id:"UNKNOWN_THEME_VALUE",key:u([t,...n],".")},o);},report(r){var{id:t}=r,n=Le(r,["id"]);let o=`[${t}] ${JSON.stringify(n)}`,i=(new Error(o).stack||o).split("at ");for(let a;(a=i.splice(1,1)[0])&&!/(^|\.)(tw|setup) /.test(a););return e(i.join("at "))}}),Ce=Se(e=>console.warn(e)),ze=Se(e=>{throw new Error(e)}),De=Se(ue),Mt=new Map([["align-self","-ms-grid-row-align"],["color-adjust","-webkit-print-color-adjust"],["column-gap","grid-column-gap"],["gap","grid-gap"],["grid-template-columns","-ms-grid-columns"],["grid-template-rows","-ms-grid-rows"],["justify-self","-ms-grid-column-align"],["margin-inline-end","-webkit-margin-end"],["margin-inline-start","-webkit-margin-start"],["overflow-wrap","word-wrap"],["padding-inline-end","-webkit-padding-end"],["padding-inline-start","-webkit-padding-start"],["row-gap","grid-row-gap"],["scroll-margin-bottom","scroll-snap-margin-bottom"],["scroll-margin-left","scroll-snap-margin-left"],["scroll-margin-right","scroll-snap-margin-right"],["scroll-margin-top","scroll-snap-margin-top"],["scroll-margin","scroll-snap-margin"],["text-combine-upright","-ms-text-combine-horizontal"]]);function ut(e){return Mt.get(e)}function ft(e){var t=/^(?:(text-(?:decoration$|e|or|si)|back(?:ground-cl|d|f)|box-d|(?:mask(?:$|-[ispro]|-cl)))|(tab-|column(?!-s)|text-align-l)|(ap)|(u|hy))/i.exec(e);return t?t[1]?1:t[2]?2:t[3]?3:5:0}function pt(e,t){var n=/^(?:(pos)|(background-i)|((?:max-|min-)?(?:block-s|inl|he|widt))|(dis))/i.exec(e);return n?n[1]?/^sti/i.test(t)?1:0:n[2]?/^image-/i.test(t)?1:0:n[3]?t[3]==="-"?2:0:/^(inline-)?grid$/i.test(t)?4:0:0}var D=(e,t,n)=>`${e}:${t}${n?" !important":""}`,je=(e,t,n)=>{let r="",o=ut(e);o&&(r+=`${D(o,t,n)};`);let i=ft(e);return i&1&&(r+=`-webkit-${D(e,t,n)};`),i&2&&(r+=`-moz-${D(e,t,n)};`),i&4&&(r+=`-ms-${D(e,t,n)};`),i=pt(e,t),i&1&&(r+=`${D(e,`-webkit-${t}`,n)};`),i&2&&(r+=`${D(e,`-moz-${t}`,n)};`),i&4&&(r+=`${D(e,`-ms-${t}`,n)};`),r+=D(e,t,n),r},ge=(e,t)=>{let n={};do for(let r=1;r<e;r++)n[`${r}/${e}`]=Number((r/e*100).toFixed(6))+"%";while(++e<=t);return n},U=(e,t,n=0)=>{let r={};for(;n<=e;n=n*2||1)r[n]=n+t;return r},I=(e,t="",n=1,r=0,o=1)=>{let i={};for(;r<=e;r+=o)i[r]=r/n+t;return i},T=e=>t=>t(e),Ot=(e,{theme:t})=>t(...e),Wt=(...e)=>se(Ot,e),It={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:{transparent:"transparent",current:"currentColor",black:"#000",white:"#fff",gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},yellow:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},green:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},purple:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"}},spacing:l(l(l(l(l({px:"1px",0:"0px"},I(4,"rem",4,.5,.5)),I(12,"rem",4,5)),{14:"3.5rem"}),I(64,"rem",4,16,4)),{72:"18rem",80:"20rem",96:"24rem"}),durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},backgroundColor:T("colors"),backgroundImage:{none:"none"},backgroundOpacity:T("opacity"),borderColor:e=>l(l({},e("colors")),{DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:T("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderWidth:l({DEFAULT:"1px"},U(8,"px")),boxShadow:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",DEFAULT:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",inner:"inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",none:"none"},container:{},divideColor:T("borderColor"),divideOpacity:T("borderOpacity"),divideWidth:T("borderWidth"),fill:{current:"currentColor"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:T("spacing"),gradientColorStops:T("colors"),height:e=>l(l(l({auto:"auto"},e("spacing")),ge(2,6)),{full:"100%",screen:"100vh"}),inset:e=>l(l(l({auto:"auto"},e("spacing")),ge(2,4)),{full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:l({none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},I(10,"rem",4,3)),margin:e=>l({auto:"auto"},e("spacing")),maxHeight:e=>l(l({},e("spacing")),{full:"100%",screen:"100vh"}),maxWidth:(e,{breakpoints:t})=>l({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",prose:"65ch"},t(e("screens"))),minHeight:{0:"0px",full:"100%",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content"},opacity:l(l({},I(100,"",100,0,10)),{5:"0.05",25:"0.25",75:"0.75",95:"0.95"}),order:l({first:"-9999",last:"9999",none:"0"},I(12,"",1,1)),outline:{none:["2px solid transparent","2px"],white:["2px dotted white","2px"],black:["2px dotted black","2px"]},padding:T("spacing"),placeholderColor:T("colors"),placeholderOpacity:T("opacity"),ringColor:e=>l({DEFAULT:e("colors.blue.500","#3b82f6")},e("colors")),ringOffsetColor:T("colors"),ringOffsetWidth:U(8,"px"),ringOpacity:e=>l({DEFAULT:"0.5"},e("opacity")),ringWidth:l({DEFAULT:"3px"},U(8,"px")),rotate:l(l(l({},U(2,"deg")),U(12,"deg",3)),U(180,"deg",45)),scale:l(l({0:"0",50:".5",75:".75"},I(110,"",100,90,5)),{125:"1.25",150:"1.5"}),skew:l(l({},U(2,"deg")),U(12,"deg",3)),space:T("spacing"),stroke:{current:"currentColor"},strokeWidth:I(2),textColor:T("colors"),textOpacity:T("opacity"),transitionDuration:e=>l({DEFAULT:"150ms"},e("durations")),transitionDelay:T("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"background-color,border-color,color,fill,stroke,opacity,box-shadow,transform",colors:"background-color,border-color,color,fill,stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4,0,0.2,1)",linear:"linear",in:"cubic-bezier(0.4,0,1,1)",out:"cubic-bezier(0,0,0.2,1)","in-out":"cubic-bezier(0.4,0,0.2,1)"},translate:e=>l(l(l({},e("spacing")),ge(2,4)),{full:"100%"}),width:e=>l(l(l(l({auto:"auto"},e("spacing")),ge(2,6)),ge(12,12)),{screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:l({auto:"auto"},I(50,"",1,0,10))},mt=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{let o=e[r];r==="DEFAULT"&&(t[u(n)]=o,t[u(n,".")]=o);let i=[...n,r];t[u(i)]=o,t[u(i,".")]=o,L(o)&&mt(o,t,i);},t),t),Ht={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>x(e[t])).reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},ht=e=>{let t=new Map,n=l(l({},It),e),r=(i,a)=>{let d=i&&i[a],p=C(d)?d(o,Ht):d;return p&&a==="colors"?mt(p):p},o=(i,a,d)=>{let p=i.split(".");i=p[0],p.length>1&&(d=a,a=u(f(p),"."));let $=t.get(i);if($||t.set(i,$=l(l({},r(n,i)),r(n.extend,i))),a!=null){let M=$[(Array.isArray(a)?u(a):a)||"DEFAULT"];return M==null?d:Array.isArray(M)&&!b(["fontSize","outline"],i)?u(M,","):M}return $};return o},bt=(e,t)=>(n,r)=>{if(C(n.d))return n.d(t);let o=n.d.split("-");if(!r&&o[0]==="tw"&&n.$===n.d)return n.$;for(let i=o.length;i;i--){let a=u(o.slice(0,i)),d=e[a];if(d)return C(d)?d(f(o,i),t,a):x(d)?t[r?"css":"tw"](d):d}},xt=(e,t,{theme:n,tag:r})=>{let o=(i,a)=>{let d=n("screens",f(a),"");return d?{[X(d)]:i}:a===":dark"&&e==="class"?{[".dark &"]:i}:a.slice(1,7)==="group-"?{[`.${pe(r("group"))}:${f(a,7)} &`]:i}:{[t[f(a)]||"&"+a]:i}};return (i,a)=>a.v.reduceRight(o,i)},k,Me=e=>(((k=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+k[1]/(k[2]?15:1)/10:0)&31)<<22,wt=e=>{k=0;for(let t=e.length;t--;)k+=b("-:,",e[t]);return k},Oe=e=>(wt(e)&15)<<18,Nt=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],_t=e=>1<<(~(k=Nt.indexOf(e.replace(/^:group-/,":").slice(3,8)))?k:17),yt=(e,t)=>(n,r)=>n|((k=e("screens",f(r),""))?1<<27|Me(X(k)):r===":dark"?1<<30:(k=t[r]||r)[0]==="@"?Oe(k):_t(r)),St=e=>e[0]==="-"?0:wt(e)+((k=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!k[1]||-!!k[2]:0)+1,We=(e,t)=>t+"{"+e+"}",Ie;(function(e){e[e.base=0]="base",e[e.components=1]="components",e[e.utilities=2]="utilities",e[e.css=3]="css";})(Ie||(Ie={}));var Ct=(e,t,n)=>{let{theme:r,tag:o}=n,i=(R,y)=>"--"+o(y),a=R=>`${R}`.replace(/--(tw-[\w-]+)\b/g,i),d=(R,y,P)=>(R=a(R),Array.isArray(y)?u(y.filter(Boolean).map(F=>e(R,a(F),P)),";"):e(R,a(y),P)),p,$=(R,y,P,F,O)=>{let W="",Y=0,J=0;Object.keys(F).forEach(S=>{let E=Q(F[S],n);if(b("rg",(typeof E)[5])&&E!==""||Array.isArray(E)){let A=ve(S);J+=1,Y=Math.max(Y,St(A)),W=(W&&W+";")+d(A,E,O);}else if(E)if(S[0]==="@")if(S[1]==="f")$([],S,0,E,O);else if(S[1]==="k"){let A=p.length;$([],"",0,E,O);let c=p.splice(A,p.length-A);p.push({r:We(u(c.map(g=>g.r),""),S),p:c.reduce((g,m)=>g+m.p,0)});}else $([...R,S],y,P|Me(S)|Oe(S),E,O);else $(R,y?y.replace(/([^,])+/g,A=>S.replace(/([^,])+/g,c=>b(c,"&")?c.replace(/&/g,A):(A&&A+" ")+c)):S,y&&b(S,"&")?P:0,E,O);}),J&&p.push({r:R.reduceRight(We,We(W,y)),p:P*(1<<8)+((Math.max(0,15-J)&15)<<4|(Y||15)&15)});},M=yt(r,t);return (R,y,P,F=0)=>(F<<=28,p=[],$([],y?"."+pe(y):"",P?P.v.reduceRight(M,F):F,R,P&&P.i),p)},vt=(e,t,n,r)=>{let o;n((a=[])=>o=a);let i;return n((a=new Set)=>i=a),({r:a,p:d})=>{if(!i.has(a)){i.add(a);let p=Ge(o,d);try{e.insert(a,p),o.splice(p,0,d);}catch($){/:-[mwo]/.test(a)||t.report({id:"INJECT_CSS_ERROR",css:a,error:$},r);}}}},He=(e,t,n,r=t)=>e===!1?n:e===!0?r:e||t,Ut=e=>(x(e)?{t:ze,a:Ce,i:De}[e[1]]:e)||Ce,Ne=(e,t=e.d)=>{if(C(t))return "";let n=u(e.v,"");return (n&&f(n)+":")+(e.n?"-":"")+t+(e.i?"!":"")},Lt={_:{value:"",writable:!0}},Tt=(e={})=>{let t=ht(e.theme),n=Ut(e.mode),r=He(e.hash,!1,!1,re),o={v:[]},i=0,a=[],d={tw:(...c)=>E(c),theme:(c,g,m)=>{g!=null&&!g.length&&(g="DEFAULT");let z=t(c,g,m)||n.unknown(c,g==null||Array.isArray(g)?g:g.split("."),m!=null,d);return o.n&&z&&x(z)?`calc(${z} * -1)`:z},tag:c=>r?r(c):c,css:c=>{i++;let g=a.length;try{(x(c)?oe([c]):c).forEach(S);let m=Object.create(null,Lt);for(let z=g;z<a.length;z++){let te=a[z];L(te)?Te(m,te,d):te&&x(te)&&(m._+=(m._&&" ")+te);}return m}finally{a.length=g,i--;}}},p=bt(l(l({},at),e.plugins),d),$=c=>{let g=o;o=c;try{return Q(p(c),d)}finally{o=g;}},M=l(l({},ct),e.variants),R=xt(e.darkMode||"media",M,d),y=Ct(He(e.prefix,je,D),M,d),P=e.sheet||(typeof window=="undefined"?Ee():Fe(e)),{init:F=c=>c()}=P,O=vt(P,n,F,d),W;F((c=new Map)=>W=c);let Y=new WeakMap,J=(c,g)=>C(g)?JSON.stringify(g(d),J):g,S=c=>{o.v.length&&(c=l(l({},c),{v:[...o.v,...c.v],$:""})),c.$||(c.$=Ne(c)||Ne(c,Y.get(c.d)));let g=i?null:W.get(c.$);if(g==null){let m=$(c);if(c.$||(c.$=re(JSON.stringify(m,J)),Y.set(c.d,c.$),c.$=Ne(c,c.$)),L(m)){m[":global"]&&(m[":global"]=y(m[":global"]).forEach(O));let z=C(c.d)?x(m._)?1:3:2;g=r||C(c.d)?(r||re)(z+c.$):c.$,m=R(m,c),i?a.push(m):(y(m,g,c,z).forEach(O),m._&&(g+=" "+m._));}else x(m)?g=m:(g=c.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:g},d)),i&&!C(c.d)&&a.push(g);i||(W.set(c.$,g),fe(W,3e4));}return g},E=c=>oe(c).map(S).filter(Boolean).join(" "),A=He(e.preflight,Ve,!1);if(A){let c=lt(t),g=y(C(A)?Q(A(c,d),d)||c:l(l({},c),A));F((m=(g.forEach(O),!0))=>m);}return {init:()=>n.report({id:"LATE_SETUP_CALL"},d),process:E}},_e=e=>{let t=i=>(n(),t(i)),n=i=>{({process:t,init:n}=Tt(i));};e&&n(e);let r,o=i=>()=>(r||t([a=>(r=a,"")]),r[i]);return {tw:Object.defineProperties((...i)=>t(i),{theme:{get:o("theme")}}),setup:i=>n(i)}},{tw:Vt,setup:Bt}=_e();exports.apply=jt;exports.autoprefix=je;exports.create=_e;exports.cssomSheet=Fe;exports.directive=se;exports.hash=re;exports.mode=Se;exports.noprefix=D;exports.setup=Bt;exports.silent=De;exports.strict=ze;exports.theme=Wt;exports.tw=Vt;exports.voidSheet=Ee;exports.warn=Ce;Object.defineProperty(exports,'__esModule',{value:true});})));//# sourceMappingURL=twind.umd.js.map | ||
(function(g,f){typeof exports==='object'&&typeof module!=='undefined'?f(exports):typeof define==='function'&&define.amd?define(['exports'],f):(g=typeof globalThis!=='undefined'?globalThis:g||self,f(g.twind={}));}(this,(function(exports){'use strict';var $t=Object.prototype.hasOwnProperty,Ve=Object.getOwnPropertySymbols,Pt=Object.prototype.propertyIsEnumerable,l=Object.assign,Be=(e,t)=>{var n={};for(var r in e)$t.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ve)for(var r of Ve(e))t.indexOf(r)<0&&Pt.call(e,r)&&(n[r]=e[r]);return n},b=e=>typeof e=="string",V=e=>e!=null&&typeof e=="object",C=e=>typeof e=="function",x=(e,t)=>!!~e.indexOf(t),u=(e,t="-")=>e.join(t),ne=(e,t)=>u(e.filter(Boolean),t),f=(e,t=1)=>e.slice(t),Ge=e=>e,ue=()=>{},Ke=e=>e[0].toUpperCase()+f(e),ve=e=>e.replace(/[A-Z]/g,"-$&").toLowerCase(),H=(e,t)=>{for(;C(e);)e=e(t);return e},fe=(e,t)=>{e.size>t&&e.delete(e.keys().next().value);},Te=(e,t,n)=>t?Object.keys(t).reduce((r,o)=>{let i=H(t[o],n),a=/^[A-Z0-9-]+$/i.test(o)?ve(o):o;return r[a]=V(i)&&!Array.isArray(i)?Te(r[a]||{},i,n):i,r},e):e,pe=typeof CSS!="undefined"&&CSS.escape||(e=>{let t=e.charCodeAt(0),n="";return t>=48&&t<=57&&(n="\\"+t.toString(16)+" ",e=f(e)),n+e.replace(/[!./:#]/g,"\\$&")}),X=e=>(Array.isArray(e)||(e=[e]),"@media "+u(e.map(t=>(b(t)&&(t={min:t}),t.raw||u(Object.keys(t).map(n=>`(${n}-width:${t[n]})`)," and "))),",")),re=e=>{let t=9;for(let n=e.length;n--;)t=Math.imul(t^e.charCodeAt(n),1597334677);return "tw-"+((t^t>>>9)>>>0).toString(36)},Ye=(e,t)=>{let n=e.length;if(n===0)return 0;for(let r=0;r<n;){let o=n+r>>1;e[o]<=t?r=o+1:n=o;}return n},N,q,B=(e="")=>(N.push(e),""),Re=e=>{N.length=Math.max(N.lastIndexOf("")+~~e,0);},At=e=>e&&e[0]!==":",Et=e=>e[0]===":",Je=(e,t,n)=>{q.push({v:N.filter(Et),d:e,n:t,i:n,$:""});},Qe=e=>{let t=e[0]==="-";t&&(e=f(e));let n=e[e.length-1]==="!";n&&(e=e.slice(0,-1));let r=u(N.filter(At));return Je(e==="&"?r:(r&&r+"-")+e,t,n),""},ie=(e,t)=>{let n,r="";for(let o=0;o<e.length;)switch(n=e[o++]){case":":r=r&&B(":"+r);break;case"(":r=r&&B(r),B();break;case")":case" ":case" ":case` | ||
`:case"\r":r=r&&Qe(r),Re(n!==")");break;default:r+=n;}r&&(t?B(":"+r):r.slice(-1)==="-"?B(r.slice(0,-1)):Qe(r));},Xe=e=>{B(),me(e),Re();},Ft=(e,t)=>{if(t){B();let n=x("tbu",(typeof t)[1]);ie(e,n),n&&Xe(t),Re();}},me=e=>{switch(typeof e){case"string":ie(e);break;case"function":Je(e);break;case"object":Array.isArray(e)?e.forEach(Xe):e&&Object.keys(e).forEach(t=>{Ft(t,e[t]);});}},qe=new WeakMap,zt=e=>{let t=qe.get(e);if(!t){let n=NaN,r="";t=e.map((o,i)=>{if(n!=n&&x(":-(",(e[i+1]||"")[0])&&(n=i),i>=n)return p=>{i===n&&(r=""),r+=o,b(p)?r+=p:p&&(ie(r),r="",me(p)),i===e.length-1&&ie(r);};let a=q=[];ie(o);let d=[...N];return q=[],p=>{q.push(...a),N=[...d],p&&me(p);}}),qe.set(e,t);}return t},oe=e=>(N=[],q=[],Array.isArray(e[0])&&Array.isArray(e[0].raw)?zt(e[0]).forEach((t,n)=>t(e[n+1])):me(e),q),Dt=(e,t)=>{if(C(t))throw 0;return t},jt=e=>{try{return JSON.stringify(e,Dt)}catch(t){}},Ze=new WeakMap,se=(e,t)=>{let n=jt(t),r;if(n){var o=Ze.get(e);o||Ze.set(e,o=new Map),r=o.get(n);}return r||(r=Object.defineProperty((i,a)=>(a=Array.isArray(i)?a:i,H(e(t,a),a)),"toJSON",{value:()=>n||t}),o&&(o.set(n,r),fe(o,1e4))),r},Mt=(e,{css:t})=>t(oe(e)),Ot=(...e)=>se(Mt,e);var et=e=>(t,n,r,o)=>{if(t){let i=n&&e(n);if(i&&i.length>0)return i.reduce((a,d)=>(a[ne([r,d,o])]=t,a),{})}},tt=et(e=>({t:["top-left","top-right"],r:["top-right","bottom-right"],b:["bottom-left","bottom-right"],l:["bottom-left","top-left"],tl:["top-left"],tr:["top-right"],bl:["bottom-left"],br:["bottom-right"]})[e]),ae=e=>{let t=({x:"lr",y:"tb"}[e]||e||"").split("").sort();for(let n=t.length;n--;)if(!(t[n]={t:"top",r:"right",b:"bottom",l:"left"}[t[n]]))return;if(t.length)return t},he=et(ae),s,G,w,le=e=>(t,n,r)=>({[e]:r+((s=u(t))&&"-"+s)}),h=(e,t)=>(n,r,o)=>({[e||o]:u(n,t)}),v=e=>(t,{theme:n},r)=>({[e||r]:n(e||r,t)}),j=(e,t)=>(n,r)=>e(n,r,t),_=le("display"),ce=le("position"),Z=le("textTransform"),ee=le("textDecoration"),be=le("fontStyle"),U=e=>(t,n,r)=>({["--tw-"+e]:r,fontVariantNumeric:"var(--tw-ordinal,/*!*/ /*!*/) var(--tw-slashed-zero,/*!*/ /*!*/) var(--tw-numeric-figure,/*!*/ /*!*/) var(--tw-numeric-spacing,/*!*/ /*!*/) var(--tw-numeric-fraction,/*!*/ /*!*/)"}),xe=(e,{theme:t},n)=>({[n]:t("inset",e)}),de=(e,t,n,r=n)=>({[`--tw-${n}-opacity`]:t(r+"Opacity",f(e))}),ke=(e,t)=>Math.round(parseInt(e,16)*t),we=(e,t,n)=>e&&e[0]==="#"?`rgba(${ke(e.substr(1,s=(e.length-1)/3),w=[17,1,.062272][s-1])},${ke(e.substr(1+s,s),w)},${ke(e.substr(1+2*s,s),w)},${t?`var(--tw-${t}${n?","+n:""})`:n||1})`:e,ye=(e,t,n)=>n&&(s=we(n,t+"-opacity"))&&s!==n?{[`--tw-${t}-opacity`]:"1",[e]:[n,s]}:{[e]:n},nt=e=>(w=we(e,"","0"))===s?"transparent":w,rt=(e,{theme:t},n,r,o,i)=>(s={x:["right","left"],y:["bottom","top"]}[e[0]])&&(w=`--tw-${n}-${e[0]}-reverse`)?e[1]==="reverse"?{[w]:"1"}:{[w]:"0",[ne([o,s[0],i])]:(G=t(r,f(e)))&&`calc(${G} * var(${w}))`,[ne([o,s[1],i])]:G&&[G,`calc(${G} * calc(1 - var(${w})))`]}:void 0,it=(e,t)=>({[e]:(x("wun",(t[0]||"")[3])?"space-":"")+t[0]}),$e=e=>t=>x(["start","end"],t[0])?{[e]:`flex-${t[0]}`}:it(e,t),ot=e=>t=>{switch(t[0]){case"auto":return {[`grid-${e}`]:"auto"};case"span":return {[`grid-${e}`]:t[1]==="full"?"1 / -1":`span ${t[1]} / span ${t[1]}`};case"start":case"end":return {[`grid-${e}-${t[0]}`]:t[1]}}},st=(e,{theme:t},n)=>{switch(e[0]){case"solid":case"dashed":case"dotted":case"double":case"none":return h("borderStyle")(e);case"collapse":case"separate":return h("borderCollapse")(e);case"opacity":return de(e,t,n)}return (s=t(n+"Width",e,""))?{borderWidth:s}:ye("borderColor",n,t(n+"Color",e))},Pe=e=>(e?"translate3d(var(--tw-translate-x,0),var(--tw-translate-y,0),0)":"translateX(var(--tw-translate-x,0)) translateY(var(--tw-translate-y,0))")+" rotate(var(--tw-rotate,0)) skewX(var(--tw-skew-x,0)) skewY(var(--tw-skew-y,0)) scaleX(var(--tw-scale-x,1)) scaleY(var(--tw-scale-y,1))",Ae=(e,t,n)=>(s=t.theme(n,e[1]||e[0]))&&{[`--tw-${n}-x`]:e[0]!=="y"&&s,[`--tw-${n}-y`]:e[0]!=="x"&&s,transform:[`${n}${e[1]?e[0].toUpperCase():""}(${s})`,Pe()]},at=e=>(t,n,r)=>r[1]?he(n.theme(e,t),r[1],e):v(e)(t,n,r),K=at("padding"),Y=at("margin"),lt=(e,{theme:t},n)=>(s={w:"width",h:"height"}[e[0]])&&{[s=`${n}${Ke(s)}`]:t(s,f(e))},ct={group:(e,{tag:t},n)=>t(u([n,...e])),hidden:j(_,"none"),inline:_,block:_,contents:_,flow:_,table:(e,t,n)=>x(["auto","fixed"],e[0])?{tableLayout:e[0]}:_(e,t,n),flex(e,t,n){switch(e[0]){case"row":case"col":return {flexDirection:u(e[0]==="col"?["column",...f(e)]:e)};case"nowrap":case"wrap":return {flexWrap:u(e)};case"grow":case"shrink":return {[`flex-${e[0]}`]:e[1]||"1"}}return (s=t.theme("flex",e,""))?{flex:s}:_(e,t,n)},grid(e,t,n){switch(e[0]){case"cols":case"rows":return e.length>1&&{[`grid-template-${e[0]==="cols"?"columns":e[0]}`]:e.length===2&&Number(e[1])?`repeat(${e[1]},minmax(0,1fr))`:u(f(e)," ")};case"flow":return e.length>1&&{gridAutoFlow:u(e[1]==="col"?["column",...f(e,2)]:f(e)," ")}}return _(e,t,n)},auto:e=>x(["cols","rows"],e[0])&&(s=e.length===2?{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"}[e[1]]||`minmax(0,${e[1]})`:e.length>2&&`minmax(${u(f(e),",")})`)&&{[`grid-auto-${e[0]==="cols"?"columns":"rows"}`]:s},static:ce,fixed:ce,absolute:ce,relative:ce,sticky:ce,visible:{visibility:"visible"},invisible:{visibility:"hidden"},antialiased:{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"},"subpixel-antialiased":{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"},truncate:{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"},"sr-only":{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"},"not-sr-only":{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"},resize:e=>({resize:{x:"vertical",y:"horizontal"}[e[0]]||e[0]||"both"}),box:e=>({"box-sizing":`${e[0]}-box`}),appearance:h(),cursor:h(),float:h(),clear:h(),top:xe,right:xe,bottom:xe,left:xe,inset:(e,{theme:t})=>(s=ae(e[0]))?he(t("inset",f(e)),e[0]):(s=t("inset",e))&&{top:s,right:s,bottom:s,left:s},underline:ee,"line-through":ee,"no-underline":j(ee,"none"),"text-underline":j(ee,"underline"),"text-no-underline":j(ee,"none"),"text-line-through":j(ee,"line-through"),uppercase:Z,lowercase:Z,capitalize:Z,"normal-case":j(Z,"none"),"text-normal-case":j(Z,"none"),italic:be,"not-italic":j(be,"normal"),"font-italic":j(be,"italic"),"font-not-italic":j(be,"normal"),font:(e,t,n)=>(s=t.theme("fontFamily",e,""))?{fontFamily:s}:v("fontWeight")(e,t,n),items:e=>({alignItems:x(["start","end"],e[0])?`flex-${e[0]}`:u(e)}),"justify-self":h(),"justify-items":h(),justify:$e("justifyContent"),content:$e("alignContent"),self:$e("alignSelf"),place:e=>it("place-"+e[0],f(e)),overscroll:e=>({["overscrollBehavior"+(e[1]?"-"+e[0]:"")]:e[1]||e[0]}),col:ot("column"),row:ot("row"),duration:v("transitionDuration"),delay:v("transitionDelay"),tracking:v("letterSpacing"),leading:v("lineHeight"),z:v("zIndex"),opacity:v(),ease:v("transitionTimingFunction"),p:K,py:K,px:K,pt:K,pr:K,pb:K,pl:K,m:Y,my:Y,mx:Y,mt:Y,mr:Y,mb:Y,ml:Y,w:v("width"),h:v("height"),min:lt,max:lt,fill:v(),order:v(),origin:h("transformOrigin"," "),select:h("userSelect"),"pointer-events":h(),align:h("verticalAlign"),whitespace:h("whiteSpace"),"normal-nums":{fontVariantNumeric:"normal"},ordinal:U("ordinal"),"slashed-zero":U("slashed-zero"),"lining-nums":U("numeric-figure"),"oldstyle-nums":U("numeric-figure"),"proportional-nums":U("numeric-spacing"),"tabular-nums":U("numeric-spacing"),"diagonal-fractions":U("numeric-fraction"),"stacked-fractions":U("numeric-fraction"),overflow:(e,t,n)=>x(["ellipsis","clip"],e[0])?h("textOverflow")(e):e[1]?{[`overflow-${e[0]}`]:e[1]}:h()(e,t,n),transform:e=>e[0]==="none"?{transform:"none"}:{"--tw-translate-x":"0","--tw-translate-y":"0","--tw-rotate":"0","--tw-skew-x":"0","--tw-skew-y":"0","--tw-scale-x":"1","--tw-scale-y":"1",transform:Pe(e[0]==="gpu")},rotate:(e,{theme:t})=>(s=t("rotate",e))&&{"--tw-rotate":s,transform:[`rotate(${s})`,Pe()]},scale:Ae,translate:Ae,skew:Ae,gap:(e,t,n)=>(s={x:"column",y:"row"}[e[0]])?{[s+"Gap"]:t.theme("gap",f(e))}:v("gap")(e,t,n),stroke:(e,t,n)=>(s=t.theme("stroke",e,""))?{stroke:s}:v("strokeWidth")(e,t,n),outline:(e,{theme:t})=>(s=t("outline",e))&&{outline:s[0],outlineOffset:s[1]},break(e){switch(e[0]){case"normal":return {wordBreak:"normal",overflowWrap:"normal"};case"words":return {overflowWrap:"break-word"};case"all":return {wordBreak:"break-all"}}},text(e,{theme:t},n){switch(e[0]){case"left":case"center":case"right":case"justify":return {textAlign:e[0]};case"uppercase":case"lowercase":case"capitalize":return Z([],s,e[0]);case"opacity":return de(e,t,n)}let r=t("fontSize",e,"");return r?b(r)?{fontSize:r}:l({fontSize:r[0]},b(r[1])?{lineHeight:r[1]}:r[1]):ye("color","text",t("textColor",e))},bg(e,{theme:t},n){switch(e[0]){case"fixed":case"local":case"scroll":return h("backgroundAttachment",",")(e);case"bottom":case"center":case"left":case"right":case"top":return h("backgroundPosition"," ")(e);case"no":return e[1]==="repeat"&&h("backgroundRepeat")(e);case"auto":case"cover":case"contain":return h("backgroundSize")(e);case"repeat":return x("xy",e[1])?h("backgroundRepeat")(e):{"background-repeat":e[1]||e[0]};case"opacity":return de(e,t,n,"background");case"clip":return {backgroundClip:e[1]+(e[1]==="text"?"":"-box")};case"gradient":if(e[1]==="to"&&(s=ae(e[2])))return {backgroundImage:`linear-gradient(to ${u(s," ")},var(--tw-gradient-stops))`}}return (s=t("backgroundImage",e,""))?{backgroundImage:s}:ye("backgroundColor","bg",t("backgroundColor",e))},from:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-from":s,"--tw-gradient-stops":`var(--tw-gradient-from),var(--tw-gradient-to,${nt(s)})`},via:(e,{theme:t})=>(s=t("gradientColorStops",e))&&{"--tw-gradient-stops":`var(--tw-gradient-from),${s},var(--tw-gradient-to,${nt(s)})`},to:(e,{theme:t})=>({"--tw-gradient-to":t("gradientColorStops",e)}),border:(e,t,n)=>ae(e[0])?he(t.theme("borderWidth",f(e)),e[0],"border","width"):st(e,t,n),divide:(e,t,n)=>(s=rt(e,t,n,"divideWidth","border","width")||st(e,t,n))&&{"&>:not([hidden])~:not([hidden])":s},space:(e,t,n)=>(s=rt(e,t,n,"space","margin"))&&{"&>:not([hidden])~:not([hidden])":s},placeholder:(e,{theme:t},n)=>(s=e[0]==="opacity"?de(e,t,n):ye("color","placeholder",t("placeholderColor",e)))&&{"&::placeholder":s},shadow:(e,{theme:t})=>(s=t("boxShadow",e))&&{":global":{"*":{"--tw-shadow":"0 0 transparent"}},"--tw-shadow":s==="none"?"0 0 transparent":s,boxShadow:[s,"var(--tw-ring-offset-shadow,0 0 transparent),var(--tw-ring-shadow,0 0 transparent),var(--tw-shadow)"]},animate:(e,{theme:t,tag:n})=>{if(w=t("animation",e)){let r=w.split(" ");return (s=t("keyframes",r[0],G={}))!==G?(w=n(r[0]))&&{animation:w+" "+u(f(r)," "),["@keyframes "+w]:s}:{animation:w}}},ring(e,{theme:t},n){switch(e[0]){case"inset":return {"--tw-ring-inset":"inset"};case"opacity":return de(e,t,n);case"offset":return (s=t("ringOffsetWidth",f(e),""))?{"--tw-ring-offset-width":s}:{"--tw-ring-offset-color":t("ringOffsetColor",f(e))}}return (s=t("ringWidth",e,""))?{"--tw-ring-offset-shadow":"var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color)","--tw-ring-shadow":`var(--tw-ring-inset) 0 0 0 calc(${s} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,"box-shadow":"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 transparent)",":global":{"*":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":t("ringOffsetColor","","#fff"),"--tw-ring-color":we(t("ringColor","","#93c5fd"),"ring-opacity",t("ringOpacity","","0.5")),"--tw-ring-offset-shadow":"0 0 transparent","--tw-ring-shadow":"0 0 transparent"}}}:{"--tw-ring-opacity":"1","--tw-ring-color":we(t("ringColor",e),"ring-opacity")}},object:e=>x(["contain","cover","fill","none","scale"],e[0])?h("objectFit")(e):h("objectPosition"," ")(e),list:e=>h(x(["inside","outside"],e[0])?"listStylePosition":"listStyleType")(e),rounded:(e,t,n)=>tt(t.theme("borderRadius",f(e),""),e[0],"border","radius")||v("borderRadius")(e,t,n),"transition-none":{"transition-property":"none"},transition:(e,{theme:t})=>({transitionProperty:t("transitionProperty",e),transitionTimingFunction:t("transitionTimingFunction",""),transitionDuration:t("transitionDuration","")}),container:(e,{theme:t})=>{let{screens:n=t("screens"),center:r,padding:o}=t("container"),i=a=>(s=o&&(b(o)?o:o[a]||o.DEFAULT))?{paddingRight:s,paddingLeft:s}:{};return Object.keys(n).reduce((a,d)=>((w=n[d])&&b(w)&&(a[X(w)]={"&":l({"max-width":w},i(d))}),a),l(l({width:"100%"},r?{marginRight:"auto",marginLeft:"auto"}:{}),i("xs")))}},dt=e=>({":root":{tabSize:4},"body,blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre,fieldset,ol,ul":{margin:"0"},button:{backgroundColor:"transparent",backgroundImage:"none"},'button,[type="button"],[type="reset"],[type="submit"]':{WebkitAppearance:"button"},"button:focus":{outline:["1px dotted","5px auto -webkit-focus-ring-color"]},"fieldset,ol,ul,legend":{padding:"0"},"ol,ul":{listStyle:"none"},html:{lineHeight:"1.5",WebkitTextSizeAdjust:"100%",fontFamily:e("fontFamily.sans","ui-sans-serif,system-ui,sans-serif")},body:{fontFamily:"inherit",lineHeight:"inherit"},"*,::before,::after":{boxSizing:"border-box",border:`0 solid ${e("borderColor.DEFAULT","currentColor")}`},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},img:{borderStyle:"solid"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:"1",color:e("placeholderColor.DEFAULT",e("colors.gray.400","#a1a1aa"))},'button,[role="button"]':{cursor:"pointer"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",margin:"0",padding:"0",lineHeight:"inherit",color:"inherit"},"button,select":{textTransform:"none"},"::-moz-focus-inner":{borderStyle:"none",padding:"0"},":-moz-focusring":{outline:"1px dotted ButtonText"},":-moz-ui-invalid":{boxShadow:"none"},progress:{verticalAlign:"baseline"},"::-webkit-inner-spin-button,::-webkit-outer-spin-button":{height:"auto"},'[type="search"]':{WebkitAppearance:"textfield",outlineOffset:"-2px"},"::-webkit-search-decoration":{WebkitAppearance:"none"},"::-webkit-file-upload-button":{WebkitAppearance:"button",font:"inherit"},summary:{display:"list-item"},"abbr[title]":{textDecoration:"underline dotted"},"b,strong":{fontWeight:"bolder"},"pre,code,kbd,samp":{fontFamily:e("fontFamily","mono","ui-monospace,monospace"),fontSize:"1em"},"sub,sup":{fontSize:"75%",lineHeight:"0",position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"}}),gt={dark:"@media (prefers-color-scheme:dark)",sticky:"@supports ((position: -webkit-sticky) or (position:sticky))","motion-reduce":"@media (prefers-reduced-motion:reduce)","motion-safe":"@media (prefers-reduced-motion:no-preference)",first:"&:first-child",last:"&:last-child",even:"&:nth-child(2n)",odd:"&:nth-child(odd)",children:"&>*",siblings:"&~*",sibling:"&+*",override:"&&"},ut="__twind",ft=e=>{let t=self[ut];return t||(t=document.head.appendChild(document.createElement("style")),t.id=ut,e&&(t.nonce=e),t.appendChild(document.createTextNode(""))),t},Ee=({nonce:e,target:t=ft(e).sheet}={})=>{let n=t.cssRules.length;return {target:t,insert:(r,o)=>t.insertRule(r,n+o)}},Fe=()=>({target:null,insert:ue}),Se=e=>({unknown(t,n=[],r,o){r||this.report({id:"UNKNOWN_THEME_VALUE",key:u([t,...n],".")},o);},report(r){var{id:t}=r,n=Be(r,["id"]);let o=`[${t}] ${JSON.stringify(n)}`,i=(new Error(o).stack||o).split("at ");for(let a;(a=i.splice(1,1)[0])&&!/(^|\.)(tw|setup) /.test(a););return e(i.join("at "))}}),Ce=Se(e=>console.warn(e)),ze=Se(e=>{throw new Error(e)}),De=Se(ue),Wt=new Map([["align-self","-ms-grid-row-align"],["color-adjust","-webkit-print-color-adjust"],["column-gap","grid-column-gap"],["gap","grid-gap"],["grid-template-columns","-ms-grid-columns"],["grid-template-rows","-ms-grid-rows"],["justify-self","-ms-grid-column-align"],["margin-inline-end","-webkit-margin-end"],["margin-inline-start","-webkit-margin-start"],["overflow-wrap","word-wrap"],["padding-inline-end","-webkit-padding-end"],["padding-inline-start","-webkit-padding-start"],["row-gap","grid-row-gap"],["scroll-margin-bottom","scroll-snap-margin-bottom"],["scroll-margin-left","scroll-snap-margin-left"],["scroll-margin-right","scroll-snap-margin-right"],["scroll-margin-top","scroll-snap-margin-top"],["scroll-margin","scroll-snap-margin"],["text-combine-upright","-ms-text-combine-horizontal"]]);function pt(e){return Wt.get(e)}function mt(e){var t=/^(?:(text-(?:decoration$|e|or|si)|back(?:ground-cl|d|f)|box-d|(?:mask(?:$|-[ispro]|-cl)))|(tab-|column(?!-s)|text-align-l)|(ap)|(u|hy))/i.exec(e);return t?t[1]?1:t[2]?2:t[3]?3:5:0}function ht(e,t){var n=/^(?:(pos)|(background-i)|((?:max-|min-)?(?:block-s|inl|he|widt))|(dis))/i.exec(e);return n?n[1]?/^sti/i.test(t)?1:0:n[2]?/^image-/i.test(t)?1:0:n[3]?t[3]==="-"?2:0:/^(inline-)?grid$/i.test(t)?4:0:0}var D=(e,t,n)=>`${e}:${t}${n?" !important":""}`,je=(e,t,n)=>{let r="",o=pt(e);o&&(r+=`${D(o,t,n)};`);let i=mt(e);return i&1&&(r+=`-webkit-${D(e,t,n)};`),i&2&&(r+=`-moz-${D(e,t,n)};`),i&4&&(r+=`-ms-${D(e,t,n)};`),i=ht(e,t),i&1&&(r+=`${D(e,`-webkit-${t}`,n)};`),i&2&&(r+=`${D(e,`-moz-${t}`,n)};`),i&4&&(r+=`${D(e,`-ms-${t}`,n)};`),r+=D(e,t,n),r},ge=(e,t)=>{let n={};do for(let r=1;r<e;r++)n[`${r}/${e}`]=Number((r/e*100).toFixed(6))+"%";while(++e<=t);return n},L=(e,t,n=0)=>{let r={};for(;n<=e;n=n*2||1)r[n]=n+t;return r},I=(e,t="",n=1,r=0,o=1)=>{let i={};for(;r<=e;r+=o)i[r]=r/n+t;return i},T=e=>t=>t(e),It=(e,{theme:t})=>t(...e),Ht=(...e)=>se(It,e),Nt={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},colors:{transparent:"transparent",current:"currentColor",black:"#000",white:"#fff",gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},yellow:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},green:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},blue:{50:"#eff6ff",100:"#dbeafe",200:"#bfdbfe",300:"#93c5fd",400:"#60a5fa",500:"#3b82f6",600:"#2563eb",700:"#1d4ed8",800:"#1e40af",900:"#1e3a8a"},indigo:{50:"#eef2ff",100:"#e0e7ff",200:"#c7d2fe",300:"#a5b4fc",400:"#818cf8",500:"#6366f1",600:"#4f46e5",700:"#4338ca",800:"#3730a3",900:"#312e81"},purple:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"}},spacing:l(l(l(l(l({px:"1px",0:"0px"},I(4,"rem",4,.5,.5)),I(12,"rem",4,5)),{14:"3.5rem"}),I(64,"rem",4,16,4)),{72:"18rem",80:"20rem",96:"24rem"}),durations:{75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},backgroundColor:T("colors"),backgroundImage:{none:"none"},backgroundOpacity:T("opacity"),borderColor:e=>l(l({},e("colors")),{DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:T("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderWidth:l({DEFAULT:"1px"},L(8,"px")),boxShadow:{sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",DEFAULT:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",inner:"inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",none:"none"},container:{},divideColor:T("borderColor"),divideOpacity:T("borderOpacity"),divideWidth:T("borderWidth"),fill:{current:"currentColor"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},fontFamily:{sans:'ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,"Noto Sans",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"'.split(","),serif:'ui-serif,Georgia,Cambria,"Times New Roman",Times,serif'.split(","),mono:'ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace'.split(",")},fontSize:{xs:["0.75rem","1rem"],sm:["0.875rem","1.25rem"],base:["1rem","1.5rem"],lg:["1.125rem","1.75rem"],xl:["1.25rem","1.75rem"],"2xl":["1.5rem","2rem"],"3xl":["1.875rem","2.25rem"],"4xl":["2.25rem","2.5rem"],"5xl":["3rem","1"],"6xl":["3.75rem","1"],"7xl":["4.5rem","1"],"8xl":["6rem","1"],"9xl":["8rem","1"]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:T("spacing"),gradientColorStops:T("colors"),height:e=>l(l(l({auto:"auto"},e("spacing")),ge(2,6)),{full:"100%",screen:"100vh"}),inset:e=>l(l(l({auto:"auto"},e("spacing")),ge(2,4)),{full:"100%"}),keyframes:{spin:{from:{transform:"rotate(0deg)"},to:{transform:"rotate(360deg)"}},ping:{"0%":{transform:"scale(1)",opacity:"1"},"75%,100%":{transform:"scale(2)",opacity:"0"}},pulse:{"0%,100%":{opacity:"1"},"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:l({none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},I(10,"rem",4,3)),margin:e=>l({auto:"auto"},e("spacing")),maxHeight:e=>l(l({},e("spacing")),{full:"100%",screen:"100vh"}),maxWidth:(e,{breakpoints:t})=>l({none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",prose:"65ch"},t(e("screens"))),minHeight:{0:"0px",full:"100%",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content"},opacity:l(l({},I(100,"",100,0,10)),{5:"0.05",25:"0.25",75:"0.75",95:"0.95"}),order:l({first:"-9999",last:"9999",none:"0"},I(12,"",1,1)),outline:{none:["2px solid transparent","2px"],white:["2px dotted white","2px"],black:["2px dotted black","2px"]},padding:T("spacing"),placeholderColor:T("colors"),placeholderOpacity:T("opacity"),ringColor:e=>l({DEFAULT:e("colors.blue.500","#3b82f6")},e("colors")),ringOffsetColor:T("colors"),ringOffsetWidth:L(8,"px"),ringOpacity:e=>l({DEFAULT:"0.5"},e("opacity")),ringWidth:l({DEFAULT:"3px"},L(8,"px")),rotate:l(l(l({},L(2,"deg")),L(12,"deg",3)),L(180,"deg",45)),scale:l(l({0:"0",50:".5",75:".75"},I(110,"",100,90,5)),{125:"1.25",150:"1.5"}),skew:l(l({},L(2,"deg")),L(12,"deg",3)),space:T("spacing"),stroke:{current:"currentColor"},strokeWidth:I(2),textColor:T("colors"),textOpacity:T("opacity"),transitionDuration:e=>l({DEFAULT:"150ms"},e("durations")),transitionDelay:T("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"background-color,border-color,color,fill,stroke,opacity,box-shadow,transform",colors:"background-color,border-color,color,fill,stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4,0,0.2,1)",linear:"linear",in:"cubic-bezier(0.4,0,1,1)",out:"cubic-bezier(0,0,0.2,1)","in-out":"cubic-bezier(0.4,0,0.2,1)"},translate:e=>l(l(l({},e("spacing")),ge(2,4)),{full:"100%"}),width:e=>l(l(l(l({auto:"auto"},e("spacing")),ge(2,6)),ge(12,12)),{screen:"100vw",full:"100%",min:"min-content",max:"max-content"}),zIndex:l({auto:"auto"},I(50,"",1,0,10))},bt=(e,t={},n=[])=>(Object.keys(e).forEach(r=>{let o=e[r];r==="DEFAULT"&&(t[u(n)]=o,t[u(n,".")]=o);let i=[...n,r];t[u(i)]=o,t[u(i,".")]=o,V(o)&&bt(o,t,i);},t),t),_t={negative:()=>({}),breakpoints:e=>Object.keys(e).filter(t=>b(e[t])).reduce((t,n)=>(t["screen-"+n]=e[n],t),{})},xt=e=>{let t=new Map,n=l(l({},Nt),e),r=(i,a)=>{let d=i&&i[a],p=C(d)?d(o,_t):d;return p&&a==="colors"?bt(p):p},o=(i,a,d)=>{let p=i.split(".");i=p[0],p.length>1&&(d=a,a=u(f(p),"."));let R=t.get(i);if(R||t.set(i,R=l(l({},r(n,i)),r(n.extend,i))),a!=null){let M=R[(Array.isArray(a)?u(a):a)||"DEFAULT"];return M==null?d:Array.isArray(M)&&!x(["fontSize","outline"],i)?u(M,","):M}return R};return o},wt=(e,t)=>(n,r)=>{if(C(n.d))return n.d(t);let o=n.d.split("-");if(!r&&o[0]==="tw"&&n.$===n.d)return n.$;for(let i=o.length;i;i--){let a=u(o.slice(0,i)),d=e[a];if(d)return C(d)?d(f(o,i),t,a):b(d)?t[r?"css":"tw"](d):d}},Me,Oe=/^:(group(?:(?!-focus).+?)*)-(.+)$/,yt=(e,t,{theme:n,tag:r})=>{let o=(i,a)=>{let d=n("screens",f(a),"");return d?{[X(d)]:i}:a===":dark"&&e==="class"?{[".dark &"]:i}:(Me=Oe.exec(a))?{[`.${pe(r(Me[1]))}:${Me[2]} &`]:i}:{[t[f(a)]||"&"+a]:i}};return (i,a)=>a.v.reduceRight(o,i)},$,We=e=>((($=/(?:^|min-width: *)(\d+(?:.\d+)?)(p)?/.exec(e))?+$[1]/($[2]?15:1)/10:0)&31)<<22,St=e=>{$=0;for(let t=e.length;t--;)$+=x("-:,",e[t]);return $},Ie=e=>(St(e)&15)<<18,Ut=["rst","st","en","d","nk","sited","pty","ecked","cus-w","ver","cus","cus-v","tive","sable","ad-on","tiona","quire"],Lt=e=>1<<(~($=Ut.indexOf(e.replace(Oe,":$2").slice(3,8)))?$:17),Ct=(e,t)=>(n,r)=>n|(($=e("screens",f(r),""))?1<<27|We(X($)):r===":dark"?1<<30:($=t[r]||r)[0]==="@"?Ie($):Lt(r)),vt=e=>e[0]==="-"?0:St(e)+(($=/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7}$)|([fl].{5}l|g.{8}$|pl))/.exec(e))?+!!$[1]||-!!$[2]:0)+1,He=(e,t)=>t+"{"+e+"}",Ne;(function(e){e[e.base=0]="base",e[e.components=1]="components",e[e.utilities=2]="utilities",e[e.css=3]="css";})(Ne||(Ne={}));var Tt=(e,t,n)=>{let{theme:r,tag:o}=n,i=(k,S)=>"--"+o(S),a=k=>`${k}`.replace(/--(tw-[\w-]+)\b/g,i),d=(k,S,P)=>(k=a(k),Array.isArray(S)?u(S.filter(Boolean).map(F=>e(k,a(F),P)),";"):e(k,a(S),P)),p,R=(k,S,P,F,O)=>{let W="",J=0,Q=0;Object.keys(F).forEach(y=>{let E=H(F[y],n);if(x("rg",(typeof E)[5])||Array.isArray(E)){if(E!==""&&y.length>1){let A=ve(y);Q+=1,J=Math.max(J,vt(A)),W=(W&&W+";")+d(A,E,O);}}else if(E)if(y[0]==="@")if(y[1]==="f")R([],y,0,E,O);else if(y[1]==="k"){let A=p.length;R([],"",0,E,O);let c=p.splice(A,p.length-A);p.push({r:He(u(c.map(g=>g.r),""),y),p:c.reduce((g,m)=>g+m.p,0)});}else R([...k,y],S,P|We(y)|Ie(y),E,O);else y===":global"?R([],"",0,E,O):R(k,S?S.replace(/([^,])+/g,A=>y.replace(/([^,])+/g,c=>x(c,"&")?c.replace(/&/g,A):(A&&A+" ")+c)):y,P,E,O);}),Q&&p.push({r:k.reduceRight(He,He(W,S)),p:P*(1<<8)+((Math.max(0,15-Q)&15)<<4|(J||15)&15)});},M=Ct(r,t);return (k,S,P,F=0)=>(F<<=28,p=[],R([],S?"."+pe(S):"",P?P.v.reduceRight(M,F):F,k,P&&P.i),p)},Rt=(e,t,n,r)=>{let o;n((a=[])=>o=a);let i;return n((a=new Set)=>i=a),({r:a,p:d})=>{if(!i.has(a)){i.add(a);let p=Ye(o,d);try{e.insert(a,p),o.splice(p,0,d);}catch(R){/:-[mwo]/.test(a)||t.report({id:"INJECT_CSS_ERROR",css:a,error:R},r);}}}},_e=(e,t,n,r=t)=>e===!1?n:e===!0?r:e||t,Vt=e=>(b(e)?{t:ze,a:Ce,i:De}[e[1]]:e)||Ce,Ue=(e,t=e.d)=>{if(C(t))return "";let n=u(e.v,"");return (n&&f(n)+":")+(e.n?"-":"")+t+(e.i?"!":"")},Bt={_:{value:"",writable:!0}},kt=(e={})=>{let t=xt(e.theme),n=Vt(e.mode),r=_e(e.hash,!1,!1,re),o={v:[]},i=0,a=[],d={tw:(...c)=>E(c),theme:(c,g,m)=>{g!=null&&!g.length&&(g="DEFAULT");let z=t(c,g,m)||n.unknown(c,g==null||Array.isArray(g)?g:g.split("."),m!=null,d);return o.n&&z&&b(z)?`calc(${z} * -1)`:z},tag:c=>r?r(c):c,css:c=>{i++;let g=a.length;try{(b(c)?oe([c]):c).forEach(y);let m=Object.create(null,Bt);for(let z=g;z<a.length;z++){let te=a[z];V(te)?Te(m,te,d):te&&b(te)&&(m._+=(m._&&" ")+te);}return m}finally{a.length=g,i--;}}},p=wt(l(l({},ct),e.plugins),d),R=c=>{let g=o;o=c;try{return H(p(c),d)}finally{o=g;}},M=l(l({},gt),e.variants),k=yt(e.darkMode||"media",M,d),S=Tt(_e(e.prefix,je,D),M,d),P=e.sheet||(typeof window=="undefined"?Fe():Ee(e)),{init:F=c=>c()}=P,O=Rt(P,n,F,d),W;F((c=new Map)=>W=c);let J=new WeakMap,Q=(c,g)=>C(g)?JSON.stringify(g(d),Q):g,y=c=>{!i&&o.v.length&&(c=l(l({},c),{v:[...o.v,...c.v],$:""})),c.$||(c.$=Ue(c)||Ue(c,J.get(c.d)));let g=i?null:W.get(c.$);if(g==null){let m=R(c);if(c.$||(c.$=re(JSON.stringify(m,Q)),J.set(c.d,c.$),c.$=Ue(c,c.$)),V(m)){let z=C(c.d)?b(m._)?1:3:2;g=r||C(c.d)?(r||re)(z+c.$):c.$,m=k(m,c),i?a.push(m):(S(m,g,c,z).forEach(O),m._&&(g+=" "+m._));}else b(m)?g=m:(g=c.$,n.report({id:"UNKNOWN_DIRECTIVE",rule:g},d)),i&&!C(c.d)&&a.push(g);i||(W.set(c.$,g),fe(W,3e4));}return g},E=c=>oe(c).map(y).filter(Boolean).join(" "),A=_e(e.preflight,Ge,!1);if(A){let c=dt(t),g=S(C(A)?H(A(c,d),d)||c:l(l({},c),A));F((m=(g.forEach(O),!0))=>m);}return {init:()=>n.report({id:"LATE_SETUP_CALL"},d),process:E}},Le=e=>{let t=i=>(n(),t(i)),n=i=>{({process:t,init:n}=kt(i));};e&&n(e);let r,o=i=>()=>(r||t([a=>(r=a,"")]),r[i]);return {tw:Object.defineProperties((...i)=>t(i),{theme:{get:o("theme")}}),setup:i=>n(i)}},{tw:Gt,setup:Kt}=Le();exports.apply=Ot;exports.autoprefix=je;exports.create=Le;exports.cssomSheet=Ee;exports.directive=se;exports.hash=re;exports.mode=Se;exports.noprefix=D;exports.setup=Kt;exports.silent=De;exports.strict=ze;exports.theme=Ht;exports.tw=Gt;exports.voidSheet=Fe;exports.warn=Ce;Object.defineProperty(exports,'__esModule',{value:true});})));//# sourceMappingURL=twind.umd.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
769452
4989
347