csszyx 0.15.1 → 0.15.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.iife.js +3 -3
- package/package.json +8 -8
package/dist/browser.iife.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";(()=>{var x={p:0,pt:0,pr:0,pb:0,pl:0,px:0,py:0,ps:0,pe:0,pbs:0,pbe:0,m:0,mt:0,mr:0,mb:0,ml:0,mx:0,my:0,ms:0,me:0,mbs:0,mbe:0,spaceX:0,spaceY:0,gap:0,gapX:0,gapY:0,inset:0,insetX:0,insetY:0,top:0,right:0,bottom:0,left:0,start:0,end:0,insetS:0,insetE:0,insetBs:0,insetBe:0,w:0,minW:0,maxW:0,h:0,minH:0,maxH:0,size:0,blockSize:0,minBlockSize:0,maxBlockSize:0,inlineSize:0,minInlineSize:0,maxInlineSize:0,basis:0,indent:0,scrollM:0,scrollMt:0,scrollMr:0,scrollMb:0,scrollMl:0,scrollMs:0,scrollMe:0,scrollMx:0,scrollMy:0,scrollP:0,scrollPt:0,scrollPr:0,scrollPb:0,scrollPl:0,scrollPs:0,scrollPe:0,scrollPx:0,scrollPy:0,scrollPbs:0,scrollPbe:0,scrollMbs:0,scrollMbe:0,translateX:0,translateY:0,borderSpacing:0,borderSpacingX:0,borderSpacingY:0,outlineOffset:0,ringOffset:0,underlineOffset:0,bg:1,color:1,borderColor:1,divideColor:1,outlineColor:1,ringColor:1,ringOffsetColor:1,shadowColor:1,textShadowColor:1,decorationColor:1,accent:1,caret:1,fill:1,stroke:1,from:1,via:1,to:1,dropShadowColor:1,scrollbarThumb:1,scrollbarTrack:1,opacity:3,z:3,order:3,columns:3,gridCols:3,gridRows:3,col:3,colSpan:3,colStart:3,colEnd:3,row:3,rowSpan:3,rowStart:3,rowEnd:3,lineClamp:3,grow:3,shrink:3,scale:3,scaleX:3,scaleY:3,brightness:3,contrast:3,saturate:3,hueRotate:3,backdropBrightness:3,backdropContrast:3,backdropSaturate:3,backdropHueRotate:3,backdropOpacity:3,strokeWidth:3,border:3,borderT:3,borderR:3,borderB:3,borderL:3,borderX:3,borderY:3,borderS:3,borderE:3,borderBs:3,borderBe:3,ring:3,outline:3,leading:3,decorationThickness:3,zoom:3,tabSize:3,rotate:4,skewX:4,skewY:4,duration:5,delay:5,animationDelay:5};var Be=new Set(Object.entries(x).filter(([,t])=>t===1).map(([t])=>t));function u(){return!1}var k=class extends Error{constructor(r=32){super(`[csszyx] sz nesting exceeded the maximum depth of ${r}. This usually means untrusted/looping data reached an sz prop.`),this.name="SzDepthError"}};var dt=new Set(["inherit","current","transparent","black","white","none"]);function W(t){return!!(dt.has(t)||t.startsWith("--")||t.startsWith("#")||t.startsWith("[")&&t.endsWith("]")||/^(rgb|hsl|oklch|color|hwb|lab|lch|oklab)\(/.test(t)||/^[a-z][a-z0-9]*(-[a-z0-9]+)*-\d+$/i.test(t)||/^[a-z][a-z0-9]*(-[a-z][a-z0-9]*)*$/i.test(t))}function M(t){let r=t.indexOf("/");return r===-1?!1:r>0&&/\d$/.test(t.slice(0,r))}function j(t,r){u()&&console.warn(`[csszyx] "${t}: '${r}'" is not a recognized color value and will be ignored. Use a Tailwind color ("blue-500"), CSS variable ("--my-color"), hex/rgb/hsl ("#ff0000"), or object form ({ color: "blue-500", op: 50 }).`)}function V(t,r){if(!u())return;let e=r.indexOf("/");console.warn(`[csszyx] "${t}: '${r}'" \u2014 string slash opacity is not supported. Use object form: { color: '${r.slice(0,e)}', op: ${r.slice(e+1)} }.`)}var q=["t","r","b","l","x","y"];var m={bg:"bg",bgAttach:"bg",bgClip:"bg-clip",bgImg:"bg",bgOrigin:"bg-origin",bgPos:"bg",bgRepeat:"bg",bgSize:"bg",from:"from",via:"via",to:"to",rounded:"rounded",roundedT:"rounded-t",roundedR:"rounded-r",roundedB:"rounded-b",roundedL:"rounded-l",roundedTl:"rounded-tl",roundedTr:"rounded-tr",roundedBl:"rounded-bl",roundedBr:"rounded-br",roundedS:"rounded-s",roundedE:"rounded-e",roundedSs:"rounded-ss",roundedSe:"rounded-se",roundedEs:"rounded-es",roundedEe:"rounded-ee",border:"border",borderColor:"border",borderStyle:"border",borderT:"border-t",borderTColor:"border-t",borderR:"border-r",borderRColor:"border-r",borderB:"border-b",borderBColor:"border-b",borderL:"border-l",borderLColor:"border-l",borderX:"border-x",borderXColor:"border-x",borderY:"border-y",borderYColor:"border-y",borderS:"border-s",borderE:"border-e",borderBs:"border-bs",borderBe:"border-be",divideX:"divide-x",divideY:"divide-y",divideColor:"divide",divideStyle:"divide",outline:"outline",outlineColor:"outline",outlineOffset:"outline-offset",outlineStyle:"outline",ring:"ring",ringColor:"ring",ringOffset:"ring-offset",ringOffsetColor:"ring-offset",insetRing:"inset-ring",insetRingColor:"inset-ring",p:"p",pt:"pt",pr:"pr",pb:"pb",pl:"pl",px:"px",py:"py",ps:"ps",pe:"pe",pbs:"pbs",pbe:"pbe",m:"m",mt:"mt",mr:"mr",mb:"mb",ml:"ml",mx:"mx",my:"my",ms:"ms",me:"me",mbs:"mbs",mbe:"mbe",spaceX:"space-x",spaceY:"space-y",w:"w",minW:"min-w",maxW:"max-w",h:"h",minH:"min-h",maxH:"max-h",size:"size",blockSize:"block",minBlockSize:"min-block",maxBlockSize:"max-block",inlineSize:"inline",minInlineSize:"min-inline",maxInlineSize:"max-inline",aspect:"aspect",columns:"columns",breakAfter:"break-after",breakBefore:"break-before",breakInside:"break-inside",boxDecoration:"box-decoration",box:"box",float:"float",clear:"clear",isolation:"isolation",objectFit:"object",objectPos:"object",overflowX:"overflow-x",overflowY:"overflow-y",overscroll:"overscroll",overscrollX:"overscroll-x",overscrollY:"overscroll-y",z:"z",position:"position",display:"display",inset:"inset",insetX:"inset-x",insetY:"inset-y",top:"top",right:"right",bottom:"bottom",left:"left",start:"inset-s",end:"inset-e",insetS:"inset-s",insetE:"inset-e",insetBs:"inset-bs",insetBe:"inset-be",visibility:"visibility",color:"text",text:"text",weight:"font",fontFamily:"font",fontStretch:"font-stretch",fontStyle:"font-style",fontSmoothing:"font-smoothing",textAlign:"text",decoration:"decoration",decorationColor:"decoration",decorationStyle:"decoration",decorationThickness:"decoration",underlineOffset:"underline-offset",textTransform:"text",textOverflow:"text",textWrap:"text",wrap:"wrap",indent:"indent",align:"align",whitespace:"whitespace",break:"break",hyphens:"hyphens",content:"content",leading:"leading",tracking:"tracking",lineClamp:"line-clamp",fontFeatures:"font-features",list:"list",listPos:"list",listImg:"list-image",basis:"basis",flex:"flex",flexDir:"flex",flexWrap:"flex",grow:"grow",shrink:"shrink",order:"order",items:"items",self:"self",justify:"justify",justifyItems:"justify-items",justifySelf:"justify-self",placeContent:"place-content",placeItems:"place-items",placeSelf:"place-self",gap:"gap",gapX:"gap-x",gapY:"gap-y",gridCols:"grid-cols",gridRows:"grid-rows",col:"col",colSpan:"col-span",colStart:"col-start",colEnd:"col-end",row:"row",rowSpan:"row-span",rowStart:"row-start",rowEnd:"row-end",gridFlow:"grid-flow",autoCols:"auto-cols",autoRows:"auto-rows",shadow:"shadow",shadowColor:"shadow",insetShadow:"inset-shadow",insetShadowColor:"inset-shadow",textShadow:"text-shadow",textShadowColor:"text-shadow",opacity:"opacity",mixBlend:"mix-blend",bgBlend:"bg-blend",filter:"filter",backdropFilter:"backdrop-filter",blur:"blur",brightness:"brightness",contrast:"contrast",dropShadow:"drop-shadow",dropShadowColor:"drop-shadow",grayscale:"grayscale",hueRotate:"hue-rotate",invert:"invert",saturate:"saturate",sepia:"sepia",backdropBlur:"backdrop-blur",backdropBrightness:"backdrop-brightness",backdropContrast:"backdrop-contrast",backdropGrayscale:"backdrop-grayscale",backdropHueRotate:"backdrop-hue-rotate",backdropInvert:"backdrop-invert",backdropOpacity:"backdrop-opacity",backdropSaturate:"backdrop-saturate",backdropSepia:"backdrop-sepia",scale:"scale",scaleX:"scale-x",scaleY:"scale-y",scaleZ:"scale-z",rotate:"rotate",rotateX:"rotate-x",rotateY:"rotate-y",rotateZ:"rotate-z",translate:"translate",translateX:"translate-x",translateY:"translate-y",translateZ:"translate-z",skewX:"skew-x",skewY:"skew-y",origin:"origin",backface:"backface",perspective:"perspective",perspectiveOrigin:"perspective-origin",transformStyle:"transform",transform:"transform",transition:"transition",transitionBehavior:"transition",duration:"duration",ease:"ease",delay:"delay",animate:"animate",animationDelay:"animation-delay",mask:"mask",maskSize:"mask-size",maskPos:"mask-position",maskRepeat:"mask-repeat",maskClip:"mask-clip",maskOrigin:"mask-origin",cursor:"cursor",caret:"caret",pointerEvents:"pointer-events",fieldSizing:"field-sizing",scheme:"scheme",resize:"resize",scroll:"scroll",scrollM:"scroll-m",scrollMt:"scroll-mt",scrollMr:"scroll-mr",scrollMb:"scroll-mb",scrollMl:"scroll-ml",scrollMs:"scroll-ms",scrollMe:"scroll-me",scrollMx:"scroll-mx",scrollMy:"scroll-my",scrollP:"scroll-p",scrollPt:"scroll-pt",scrollPr:"scroll-pr",scrollPb:"scroll-pb",scrollPl:"scroll-pl",scrollPs:"scroll-ps",scrollPe:"scroll-pe",scrollPx:"scroll-px",scrollPy:"scroll-py",scrollPbs:"scroll-pbs",scrollPbe:"scroll-pbe",scrollMbs:"scroll-mbs",scrollMbe:"scroll-mbe",snapAlign:"snap",snapStop:"snap",snapType:"snap",touch:"touch",select:"select",willChange:"will-change",appearance:"appearance",accent:"accent",forcedColorAdjust:"forced-color-adjust",fill:"fill",stroke:"stroke",strokeWidth:"stroke",borderCollapse:"border",borderSpacing:"border-spacing",borderSpacingX:"border-spacing-x",borderSpacingY:"border-spacing-y",tableLayout:"table",caption:"caption",overflow:"overflow",scrollbar:"scrollbar",scrollbarThumb:"scrollbar-thumb",scrollbarTrack:"scrollbar-track",scrollbarGutter:"scrollbar-gutter",zoom:"zoom",tabSize:"tab"},ut={fontFamily:"family-name",weight:"weight",text:"length"},Q={maskFrom:"the from stop moved into its layer \u2014 maskLinear / maskRadial / maskConic take { from }",maskTo:"the to stop moved into its layer \u2014 maskLinear / maskRadial / maskConic take { to }",maskVia:"masks have no via stop in Tailwind \u2014 use { from, to } on maskLinear / maskRadial / maskConic",maskShape:'the shape keyword moved to maskRadial \u2014 { shape: "circle" | "ellipse" }'},J={backgroundColor:"bg",backgroundImage:"bgImg",backgroundSize:"bgSize",backgroundPosition:"bgPos",backgroundRepeat:"bgRepeat",bgAttachment:"bgAttach",bgImage:"bgImg",borderRadius:"rounded",borderTopLeftRadius:"roundedTl",borderTopRightRadius:"roundedTr",borderBottomLeftRadius:"roundedBl",borderBottomRightRadius:"roundedBr",borderWidth:"border",padding:"p",paddingTop:"pt",paddingRight:"pr",paddingBottom:"pb",paddingLeft:"pl",paddingX:"px",paddingY:"py",margin:"m",marginTop:"mt",marginRight:"mr",marginBottom:"mb",marginLeft:"ml",marginX:"mx",marginY:"my",width:"w",height:"h",minWidth:"minW",maxWidth:"maxW",minHeight:"minH",maxHeight:"maxH",aspectRatio:"aspect",boxSizing:"box",boxDecorationBreak:"boxDecoration",objectPosition:"objectPos",zIndex:"z",font:"weight (for font-weight) or fontFamily (for family)",fontWeight:"weight",fontSize:"text",textDecoration:"decoration",textDecorationColor:"decorationColor",textDecorationStyle:"decorationStyle",textDecorationThickness:"decorationThickness",textUnderlineOffset:"underlineOffset",lineHeight:"leading",letterSpacing:"tracking",textIndent:"indent",verticalAlign:"align",wordBreak:"break",overflowWrap:"wrap",listStyleType:"list",listStylePosition:"listPos",listStyleImage:"listImg",listStyle:"list",listPosition:"listPos",listImage:"listImg",flexBasis:"basis",flexDirection:"flexDir",flexGrow:"grow",flexShrink:"shrink",alignItems:"items",alignSelf:"self",justifyContent:"justify",gridTemplateColumns:"gridCols",gridTemplateRows:"gridRows",gridColumn:"col",gridRow:"row",gridAutoFlow:"gridFlow",gridAutoColumns:"autoCols",gridAutoRows:"autoRows",boxShadow:"shadow",mixBlendMode:"mixBlend",backgroundBlendMode:"bgBlend",transitionProperty:"transition",transitionDuration:"duration",transitionTimingFunction:"ease",transitionDelay:"delay",animation:"animate",transformOrigin:"origin",caretColor:"caret",accentColor:"accent",scrollBehavior:"scroll",scrollMargin:"scrollM",scrollPadding:"scrollP",scrollSnapAlign:"snapAlign",scrollSnapStop:"snapStop",scrollSnapType:"snapType",touchAction:"touch",userSelect:"select",captionSide:"caption",scrollbarColor:"scrollbarThumb (thumb color) or scrollbarTrack (track color)",scrollbarWidth:"scrollbar",flexWrapReverse:"flexWrap: 'wrap-reverse'",flexNowrap:"flexWrap: 'nowrap'"},A={focusWithin:"focus-within",focusVisible:"focus-visible",firstOfType:"first-of-type",lastOfType:"last-of-type",onlyOfType:"only-of-type",onlyChild:"only",firstChild:"first",lastChild:"last",motionReduce:"motion-reduce",motionSafe:"motion-safe",contrastMore:"contrast-more",contrastLess:"contrast-less",firstLine:"first-line",firstLetter:"first-letter",placeholderShown:"placeholder-shown",inRange:"in-range",outOfRange:"out-of-range",readOnly:"read-only",pointerFine:"pointer-fine",pointerCoarse:"pointer-coarse",pointerNone:"pointer-none",anyPointerFine:"any-pointer-fine",anyPointerCoarse:"any-pointer-coarse",anyPointerNone:"any-pointer-none",userValid:"user-valid",userInvalid:"user-invalid",detailsContent:"details-content",invertedColors:"inverted-colors",forcedColors:"forced-colors",screenPortrait:"portrait",screenLandscape:"landscape","@maxSm":"@max-sm","@maxMd":"@max-md","@maxLg":"@max-lg","@maxXl":"@max-xl","@max2xl":"@max-2xl"},E=new Set(["group","peer","has","not","data","aria","supports"]),p=new Set(["sm","md","lg","xl","2xl","@sm","@md","@lg","@xl","@2xl","dark","light","print","portrait","landscape","motion-reduce","motion-safe","motionReduce","motionSafe","contrast-more","contrast-less","contrastMore","contrastLess","hover","focus","focus-within","focus-visible","focusWithin","focusVisible","active","visited","target","disabled","enabled","checked","indeterminate","default","required","valid","invalid","in-range","out-of-range","inRange","outOfRange","placeholder-shown","placeholderShown","autofill","read-only","readOnly","first","last","only","odd","even","empty","first-of-type","last-of-type","only-of-type","firstOfType","lastOfType","onlyOfType","first-child","last-child","only-child","firstChild","lastChild","onlyChild","before","after","placeholder","file","marker","selection","first-line","first-letter","firstLine","firstLetter","backdrop","pointer-fine","pointer-coarse","pointer-none","pointerFine","pointerCoarse","pointerNone","any-pointer-fine","any-pointer-coarse","any-pointer-none","anyPointerFine","anyPointerCoarse","anyPointerNone","user-valid","user-invalid","userValid","userInvalid","details-content","detailsContent","inverted-colors","invertedColors","noscript","forced-colors","forcedColors","starting","inert","open","ltr","rtl"]),L=new Set(["checked","disabled","expanded","hidden","pressed","readonly","required","selected","busy","current","invalid","live","atomic","modal"]),ft=new Set(["css","maskLinear","maskRadial","maskConic","alignContent","fromPos","viaPos","toPos","maskComposite","maskMode","maskType","snapStrictness"]),R=new Set(["truncate","textEllipsis","textClip","grow","shrink","blur","grayscale","invert","sepia","backdropBlur","backdropGrayscale","backdropInvert","backdropSepia","container","prose","proseInvert","srOnly","notSrOnly","ordinal","slashedZero","liningNums","oldstyleNums","proportionalNums","tabularNums","diagonalFractions","stackedFractions","divideXReverse","divideYReverse","spaceXReverse","spaceYReverse","ring","outline"]),pt={border:!0,borderT:!0,borderR:!0,borderB:!0,borderL:!0,borderX:!0,borderY:!0,borderS:!0,borderE:!0,borderBs:!0,borderBe:!0,ring:!0,outline:!0,truncate:!0,shadow:!0},Ke=new Set(Object.keys(pt)),mt={block:{key:"display",value:"block"},inline:{key:"display",value:"inline"},inlineBlock:{key:"display",value:"inline-block"},flex:{key:"display",value:"flex"},inlineFlex:{key:"display",value:"inline-flex"},grid:{key:"display",value:"grid"},inlineGrid:{key:"display",value:"inline-grid"},hidden:{key:"display",value:"none"},contents:{key:"display",value:"contents"},table:{key:"display",value:"table"},tableRow:{key:"display",value:"table-row"},tableCell:{key:"display",value:"table-cell"},flowRoot:{key:"display",value:"flow-root"},listItem:{key:"display",value:"list-item"},static:{key:"position",value:"static"},fixed:{key:"position",value:"fixed"},absolute:{key:"position",value:"absolute"},relative:{key:"position",value:"relative"},sticky:{key:"position",value:"sticky"},visible:{key:"visibility",value:"visible"},invisible:{key:"visibility",value:"hidden"},collapse:{key:"visibility",value:"collapse"},isolate:{key:"isolation",value:"isolate"},uppercase:{key:"textTransform",value:"uppercase"},lowercase:{key:"textTransform",value:"lowercase"},capitalize:{key:"textTransform",value:"capitalize"},normalCase:{key:"textTransform",value:"none"},italic:{key:"fontStyle",value:"italic"},notItalic:{key:"fontStyle",value:"normal"},underline:{key:"decoration",value:"underline"},overline:{key:"decoration",value:"overline"},lineThrough:{key:"decoration",value:"line-through"},noUnderline:{key:"decoration",value:"none"},antialiased:{key:"fontSmoothing",value:"grayscale"},subpixelAntialiased:{key:"fontSmoothing",value:"subpixel"}};var bt={textEllipsis:"text-ellipsis",textClip:"text-clip",backdropBlur:"backdrop-blur",backdropGrayscale:"backdrop-grayscale",backdropInvert:"backdrop-invert",backdropSepia:"backdrop-sepia",srOnly:"sr-only",notSrOnly:"not-sr-only",divideXReverse:"divide-x-reverse",divideYReverse:"divide-y-reverse",spaceXReverse:"space-x-reverse",spaceYReverse:"space-y-reverse",liningNums:"lining-nums",oldstyleNums:"oldstyle-nums",proportionalNums:"proportional-nums",tabularNums:"tabular-nums",diagonalFractions:"diagonal-fractions",stackedFractions:"stacked-fractions",transformGpu:"transform-gpu",transformCpu:"transform-cpu",proseInvert:"prose-invert"},K={snapAlign:{start:"snap-start",end:"snap-end",center:"snap-center",none:"snap-align-none"},snapStop:{normal:"snap-normal",always:"snap-always"},snapType:{none:"snap-none",x:"snap-x",y:"snap-y",both:"snap-both"},snapStrictness:{mandatory:"snap-mandatory",proximity:"snap-proximity"}},v=new Set(["m","mt","mr","mb","ml","mx","my","ms","me","mbs","mbe","top","right","bottom","left","inset","inset-x","inset-y","inset-s","inset-e","inset-bs","inset-be","z","order","col","col-start","col-end","row","row-start","row-end","rotate","rotate-x","rotate-y","rotate-z","scale-z","skew-x","skew-y","translate","translate-x","translate-y","translate-z","mask","space-x","space-y","tracking","indent","scroll-m","scroll-mx","scroll-my","scroll-mt","scroll-mr","scroll-mb","scroll-ml","hue-rotate","backdrop-hue-rotate"]);function St(t){return typeof t=="string"&&t.endsWith("!")?{value:t.slice(0,-1),important:!0}:{value:t,important:!1}}var yt=new Set(["white","black","transparent","current","inherit"]),B=new Set;function U(t,r){if(!u()||x[t]!==0||r*4%1===0)return;let e=`${t}:${r}`;if(B.has(e))return;B.add(e);let n=g?` at ${g}`:"";console.warn(`[csszyx] "${t}: ${r}"${n}: ${r} is not on Tailwind's spacing scale (quarter steps only), so the class generates no CSS. Use a quarter step (1.25, 1.5, 1.75) or a unit value ("${r}rem").`)}var D=new Set;function ht(t,r){if(t!=="weight"||!u()||!/^\d+(?:\.\d+)?$/.test(r)||D.has(r))return;D.add(r);let e=g?` at ${g}`:"";console.warn(`[csszyx] "weight: '${r}'"${e}: Tailwind spells a numeric font weight through --font-weight-*, so "font-${r}" generates no CSS. Write weight: ${r} as a number, which brackets to "font-[`+r+']".')}var Y=new Set;function Ct(t){return typeof t=="number"?Number.isInteger(t*2)?String(t):`[${t}]`:typeof t=="string"?t.startsWith("--")?`(${t})`:`[${t}]`:String(t)}function I(t){return t.startsWith("[")&&t.endsWith("]")}function tt(t){return t.replace(/\s+/g,"")}function a(t){return(t.startsWith("[")&&t.endsWith("]")?t.slice(1,-1):t).trim().replace(/\s+/g,"_")}var Pt=new Set(["w","width","min-w","minW","minWidth","max-w","maxW","maxWidth","h","height","min-h","minH","minHeight","max-h","maxH","maxHeight","size","basis","flexBasis","flex","inset","inset-x","insetX","inset-y","insetY","top","right","bottom","left","start","end","translate","translate-x","translateX","translate-y","translateY","aspect"]),$t=new Set(["px","rem","em","%","vh","vw","ch","dvh","dvw","svh","svw","lvh","lvw","cqw","cqh","deg","rad","turn","grad","ms","s","fr"]),wt=new Set(["px","rem","em","%","vh","vw","ch"]);function xt(t){let r=/^(-?(?:\d+(?:\.\d+)?|\.\d+))([a-z%]+)?$/.exec(t);if(!r)return!1;let e=r[1].replace(/^-/,"").startsWith("."),n=r[2];return n?e?wt.has(n):$t.has(n):e}function b(t){let r=t.startsWith("[")&&t.endsWith("]")?t.slice(1,-1):t;return xt(r)||r.startsWith("#")||kt(r)||r.includes(" ")}function kt(t){for(let r=t.indexOf("(");r>0;r=t.indexOf("(",r+1)){if(t.codePointAt(r-1)===45&&t.startsWith("--",r+1))continue;let e=r;for(;e>0&&rt(t.codePointAt(e-1));)e-=1;if(e<r&&!t.startsWith("--",e))return!0}return!1}function rt(t){return t>=48&&t<=57||t>=65&&t<=90||t===95||t>=97&&t<=122||t===45}function Nt(t){return t>=65&&t<=90||t===95||t>=97&&t<=122}function et(t){let r=t.length;if(r<5||t.codePointAt(0)!==45||t.codePointAt(1)!==45||!Nt(t.codePointAt(2)??-1))return!1;let e=3;for(;e<r&&rt(t.codePointAt(e)??-1);)e+=1;return e===2||e>=r||t.codePointAt(e)!==40?!1:At(t,e)}function At(t,r){let e={depth:0,quote:0,escaped:!1};for(let n=r;n<t.length;n++){let o=t.codePointAt(n)??-1;if(!Ot(o,e)&&(o===40&&(e.depth+=1),o===41)){if(e.depth-=1,e.depth===0)return n===t.length-1;if(e.depth<0)return!1}}return!1}function Ot(t,r){return r.escaped?(r.escaped=!1,!0):t===92?(r.escaped=!0,!0):r.quote!==0?(t===r.quote&&(r.quote=0),!0):t===34||t===39?(r.quote=t,!0):!1}var Rt=new Set(["none","disc","decimal"]),It=new Set(["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"]);function nt(t){return t.startsWith("--")?t:t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function C(t){return A[t]?A[t]:t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function F(t,r,e){let n=[];for(let[o,i]of Object.entries(r))Tt(t,o,i,e,n);return n}function Tt(t,r,e,n,o){P(e)||(r==="has"&&typeof e=="object"?N(t,"has",e,n,"",o):r==="data"&&typeof e=="object"?N(t,"data",e,n,"",o):r==="aria"&&typeof e=="object"?N(t,"aria",e,n,"",o):Lt(r)?S(e,`${n}${t}-[${r}]:`,o):jt(r)?S(e,`${n}${t}-${C(r)}:`,o):typeof e=="object"&&Et(t,r,e,n,o))}function N(t,r,e,n,o,i){for(let[s,c]of Object.entries(e)){if(P(c))continue;let y=zt(r,s),$=o?`/${o}`:"";S(c,`${n}${t}-${y}${$}:`,i)}}function zt(t,r){return t==="has"?`has-[${r}]`:t==="data"?`data-[${r}]`:L.has(r)?`aria-${r}`:`aria-[${r}]`}function Et(t,r,e,n,o){for(let[i,s]of Object.entries(e))P(s)||((i==="data"||i==="aria")&&typeof s=="object"?N(t,i,s,n,r,o):S(s,`${n}${t}-${C(i)}/${r}:`,o))}function S(t,r,e){let n=f(t,r);n.className&&e.push(n.className)}function P(t){return t==null||t===!1}function Lt(t){return t.startsWith(".")||t.startsWith("#")||t.startsWith("[")||t.startsWith(":")}function ot(t){return p.has(t)?C(t):I(t)?tt(t):_t(t)??Wt(t)}function _t(t){let r=t.indexOf("-[");if(r<=0||!t.endsWith("]"))return null;let e=t.slice(0,r);return Gt(e)?t:null}function Gt(t){return E.has(t)||p.has(t)||t==="min"||t==="max"}function Wt(t){let r=t.indexOf("-");if(r<=0)return null;let e=t.slice(0,r),n=t.slice(r+1);return Mt(e,n)?t:null}function Mt(t,r){return t==="group"||t==="peer"||t==="not"?p.has(r):t==="aria"?L.has(r):t==="data"&&r.length>0}function jt(t){return p.has(t)||p.has(C(t))}function Vt(t,r){let e=[];for(let[n,o]of Object.entries(t)){if(o==null||o===!1)continue;let i;p.has(n)||n.startsWith(":")?i=n.startsWith(":")?n:`:${n}`:i=n;let s=`${r}has-[${i}]:`,c=f(o,s);c.className&&e.push(c.className)}return e}function Bt(t,r,e){if(t==="supports"&&typeof r=="object")return Object.entries(r).flatMap(([o,i])=>{let s=f(i,`${e}not-supports-[${o}]:`);return s.className?[s.className]:[]});let n=f(r,`${e}not-${C(t)}:`);return n.className?[n.className]:[]}function Ut(t,r){let e=[];for(let[n,o]of Object.entries(t))o==null||o===!1||e.push(...Bt(n,o,r));return e}function Dt(t,r){let e=[];for(let[n,o]of Object.entries(t)){if(o==null||o===!1)continue;let i=`${r}data-[${n}]:`,s=f(o,i);s.className&&e.push(s.className)}return e}function Yt(t,r){let e=[];for(let[n,o]of Object.entries(t)){if(o==null||o===!1)continue;let i;L.has(n)?i=`${r}aria-${n}:`:i=`${r}aria-[${n}]:`;let s=f(o,i);s.className&&e.push(s.className)}return e}function Ft(t,r){let e=[];for(let[n,o]of Object.entries(t)){if(o==null||o===!1)continue;let i=`${r}supports-[${n}]:`,s=f(o,i);s.className&&e.push(s.className)}return e}var T=0,g;var Xt=/node_modules|node:internal|@csszyx|packages\/(?:compiler|runtime|dynamic|core|vars)\/(?:dist|src)|\btransform|\bszJoin\b|\b_sz\w*|\bdynamic\b|runtimeSzWarnContext|firstUserStackFrame/;function Ht(){let t=new Error().stack;if(t)for(let r of t.split(`
|
|
2
|
-
`).slice(1)){let e=r.trim();if(!(!e.startsWith("at ")||
|
|
3
|
-
${n.join(" \xB7 ")}`}function f(t,r="",e){if(!t||typeof t!="object")return{className:""};if(T>=32)throw new k;T++;try{return Me(t,r,e)}finally{T--}}function qt(t){let r="";return t.gradient==="linear"?r=Qt(t.dir??"to-r"):t.gradient==="radial"?r=Jt(t.dir):t.gradient==="conic"&&(r=Kt(t.dir)),r&&t.in?`${r}/${t.in}`:r}function Qt(t){return typeof t=="number"?t<0?`-bg-linear-${Math.abs(t)}`:`bg-linear-${t}`:t.startsWith("--")?`bg-linear-(${t})`:t.startsWith("to-")?`bg-linear-${t}`:`bg-linear-[${a(t)}]`}function Jt(t){return t==null?"bg-radial":typeof t!="string"?"":t.startsWith("--")?`bg-radial-(${t})`:`bg-radial-[${a(t)}]`}function Kt(t){return t==null?"bg-conic":typeof t=="number"?t<0?`-bg-conic-${Math.abs(t)}`:`bg-conic-${t}`:t.startsWith("--")?`bg-conic-(${t})`:`bg-conic-[${a(t)}]`}var vt=new Set(["shadow","inset-shadow","text-shadow","drop-shadow"]);function tr(t,r,e){let n=m[t]||t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=r.color,i=vt.has(n)&&o.startsWith("--")&&!o.includes("(")?`(color:${o})`:rr(o);if(r.op===void 0)return`${e}${n}-${i}`;let s=Ct(r.op);return or(o,`${e}${n}-${i}/${s}`,s),`${e}${n}-${i}/${s}`}function rr(t){return et(t)||t.startsWith("--")&&t.includes("(")?`[${a(t)}]`:t.startsWith("--")?`(${t})`:b(t)?`[${a(t)}]`:a(t)}var er=/^\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}$/;function nr(t){try{let r=globalThis,e=r.document?.documentElement;if(e===void 0||typeof r.getComputedStyle!="function")return null;let n=r.getComputedStyle(e).getPropertyValue(`--color-${t}`).trim();return n===""?null:n}catch{return null}}function or(t,r,e){if(!u()||t.startsWith("--")||b(t)||/-\d{2,3}$/.test(t)||yt.has(t)||Y.has(t))return;let n=nr(t);if(n===null||!er.test(n))return;Y.add(t);let o=g?` at ${g}`:"";console.warn(`[csszyx] "${r}"${o}: the /${e} opacity modifier will not apply \u2014 the "${t}" theme token resolves to the bare comma triplet "${n}", which color-mix() cannot dim. Wrap the variable, e.g. --color-${t}: rgb(var(--your-triplet)).`)}function ir(t,r,e){switch(t){case"group":return F("group",r,e);case"peer":return F("peer",r,e);case"has":return Vt(r,e);case"not":return Ut(r,e);case"data":return Dt(r,e);case"aria":return Yt(r,e);case"supports":return Ft(r,e);default:return null}}var it=new Set(["sm","md","lg","xl","2xl"]);function sr(t,r,e,n){for(let[o,i]of Object.entries(r)){if(P(i))continue;let c=I(o)||it.has(o)?`${t}-${o}`:`${t}-[${o}]`;S(i,`${e}${c}:`,n)}}function ar(t,r){return M(r)?(V(t,r),!1):W(r)?!0:(j(t,r),!1)}function lr(t,r,e,n){let o=A[t]||t;for(let[i,s]of Object.entries(r)){if(P(s))continue;let c=cr(o,i,s);c.wrapProperty?S({[i]:s},`${e}${c.segment}:`,n):S(s,`${e}${c.segment}:`,n)}}function cr(t,r,e){return I(r)?{segment:`${t}-${r}`,wrapProperty:!1}:dr(t,r,e)?{segment:`${t}-[${r}]`,wrapProperty:!1}:m[r]||R.has(r)||r.startsWith("@")||typeof e!="object"?{segment:t,wrapProperty:!0}:{segment:`${t}/${r}`,wrapProperty:!1}}function dr(t,r,e){return(t==="@min"||t==="@max")&&typeof e=="object"&&!it.has(r)&&!m[r]&&!R.has(r)}var gr=new Set(["auto","scroll","contents","transform"]);function ur(t,r,e,n,o){return t==="willChange"&&typeof e=="string"?(o.push(`${n}${fr(e)}`),!0):typeof e=="string"&&pr(r)?(o.push(`${n}${mr(r,e)}`),!0):_(t)&&typeof e=="number"?(o.push(`${n}${t.replace("Pos","")}-${e}%`),!0):!1}function fr(t){return gr.has(t)?`will-change-${t}`:t.startsWith("--")?`will-change-(${t})`:`will-change-[${a(t)}]`}function pr(t){return t==="display"||t==="position"||t==="visibility"||t==="isolation"}function mr(t,r){return t==="display"?r==="none"?"hidden":r:t==="visibility"?r==="hidden"?"invisible":r:t==="isolation"?r==="isolate"?"isolate":`isolation-${r}`:r}function _(t){return t==="fromPos"||t==="viaPos"||t==="toPos"}function br(t,r,e,n){if(t==="fontStyle"){let i="";return r==="italic"?i="italic":r==="normal"&&(i="not-italic"),i?n.push(`${e}${i}`):Sr(r),!0}if(t!=="fontSmoothing")return!1;let o="";return r==="grayscale"?o="antialiased":r==="subpixel"&&(o="subpixel-antialiased"),o?n.push(`${e}${o}`):u()&&console.warn(`[csszyx] fontSmoothing: '${r}' is not supported \u2014 use 'grayscale' or 'subpixel'.`),!0}function Sr(t){u()&&console.warn(`[csszyx] fontStyle: '${t}' is not supported \u2014 Tailwind only models 'italic' and 'normal'. For oblique, use css: { fontStyle: '${t}' }.`)}var yr=new Set(["underline","overline","line-through","no-underline","none"]),hr=new Set(["uppercase","lowercase","capitalize"]),Cr=new Set(["normal-nums","ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]);function Pr(t,r,e,n){return t==="decoration"&&yr.has(r)?(n.push(`${e}${r==="none"?"no-underline":r}`),!0):t==="textTransform"&&hr.has(r)?(n.push(`${e}${r}`),!0):t==="textTransform"&&(r==="normal-case"||r==="none")?(n.push(`${e}normal-case`),!0):t==="fontVariant"&&Cr.has(r)?(n.push(`${e}${r}`),!0):t==="textWrap"?(n.push(`${e}text-${r}`),!0):!1}var $r={normal:"break-normal",all:"break-all",keep:"break-keep","break-normal":"break-normal","break-all":"break-all","break-keep":"break-keep"},wr={normal:"wrap-normal","break-word":"wrap-break-word",anywhere:"wrap-anywhere","wrap-normal":"wrap-normal","wrap-break-word":"wrap-break-word","wrap-anywhere":"wrap-anywhere"};function xr(t,r,e,n){let o=null;return t==="break"?o=$r[r]||`break-${r}`:t==="wrap"?o=wr[r]||`wrap-${r}`:t==="textOverflow"?o=kr(r):t==="lineClamp"?o=Nr(r):t==="list"||t==="listStyle"?o=Ar(r):t==="listPos"&&(o=`list-${r}`),o===null?!1:(n.push(`${e}${o}`),!0)}function kr(t){return t==="ellipsis"||t==="clip"?`text-${t}`:`text-[${t}]`}function Nr(t){if(t==="none")return"line-clamp-none";if(t.startsWith("--"))return`line-clamp-(${t})`;let r=Number(t);return!Number.isNaN(r)&&Number.isInteger(r)?`line-clamp-${t}`:`line-clamp-[${t}]`}function Ar(t){return t.startsWith("--")?`list-(${t})`:Rt.has(t)?`list-${t}`:`list-[${t}]`}function Or(t,r,e,n){let o=null;return t==="divideStyle"?o=`divide-${r}`:t==="decorationStyle"||t==="textDecorationStyle"?o=`decoration-${r}`:t==="decorationColor"||t==="textDecorationColor"?o=`decoration-${r}`:t==="decorationThickness"||t==="textDecorationThickness"?o=Rr(r):t==="fontStretch"&&(o=Ir(r)),o===null?!1:(n.push(`${e}${o}`),!0)}function Rr(t){return b(t)?`decoration-[${a(t)}]`:t.startsWith("--")?`decoration-(${t})`:`decoration-${t}`}function Ir(t){if(It.has(t))return`font-stretch-${t}`;if(t.startsWith("--"))return`font-stretch-(${t})`;if(!/^\d+(\.\d+)?%$/.test(t))return`font-stretch-[${t}]`;let r=Number.parseFloat(t);return t.includes(".")||!Number.isInteger(r)?`font-stretch-[${t}]`:`font-stretch-${t}`}var Tr=new Set(["brightness","contrast","saturate","scale","backdropBrightness","backdropContrast","backdropSaturate"]);function zr(t,r,e,n){let o=null,i=!0;return t==="maxW"&&r==="container"?(o="container",i=!1):t==="shadowColor"?(o=z("shadow",r),i=!1):t==="insetShadowColor"?o=z("inset-shadow",r):Tr.has(t)?(o=Er(t,r),i=t==="scale"&&r==="3d"):t==="textShadow"?o=Lr(r):t==="textShadowColor"?o=z("text-shadow",r):_(t)&&(o=_r(t,r),i=!1),o===null?!1:(n.push(`${i?e:""}${o}`),!0)}function z(t,r){return r.startsWith("--")?`${t}-(color:${r})`:`${t}-${r}`}function Er(t,r){if(t==="scale"&&r==="3d")return"scale-3d";let e=t.startsWith("backdrop")?`backdrop-${t.slice(8).toLowerCase()}`:t;return r.startsWith("--")?`${e}-(${r})`:`${e}-[${r}]`}function Lr(t){return t==="none"?"text-shadow-none":t===""?"text-shadow":b(t)?`text-shadow-[${a(t)}]`:`text-shadow-${t}`}function _r(t,r){let e=t.replace("Pos","");return r.startsWith("--")?`${e}-(${r})`:/^\d+%$/.test(r)?`${e}-${r}`:`${e}-[${r}]`}function Gr(t){let r=t.trim();if(r==="none")return"bg-none";let e=r.startsWith("-")?r.slice(1):r;if(e.includes("(")&&!e.startsWith("url("))return`bg-[${a(r)}]`;if(Wr(e)){let n=e.startsWith("gradient-to-")?e.replace("gradient-to-","linear-to-"):e;return r.startsWith("-")?`-bg-${n}`:`bg-${n}`}return r.startsWith("--")?`bg-(image:${r})`:r.startsWith("url(")?`bg-[${r}]`:`bg-[url(${r})]`}function Wr(t){return t.startsWith("linear-")||t.startsWith("radial")||t.startsWith("conic")||t.startsWith("gradient-to-")}var Mr=new Set(["maskComposite"]),jr=new Set(["center","top","bottom","left","right","top-left","top-right","bottom-left","bottom-right"]);function Vr(t,r,e,n){let o=null;if(t==="bgPos")o=Br(r);else if(t==="bgSize")o=Ur(r);else if(t==="bgRepeat"||t==="backgroundRepeat")o=Dr(r);else{if(t==="mask"&&ee(r))return!0;t==="maskRepeat"?o=Yr(r):t==="maskType"?o=`mask-type-${r}`:t==="maskSize"?o=Fr(r):t==="maskPos"?o=Xr(r):t==="maskMode"?o=Hr(r):t==="maskClip"?o=ne(r):Mr.has(t)&&(o=`mask-${r}`)}return o===null?!1:(n.push(`${e}${o}`),!0)}function Br(t){return t.startsWith("--")?`bg-(${t})`:t.includes("_")||b(t)?`bg-[${a(t)}]`:`bg-${t}`}function Ur(t){return t==="auto"||t==="cover"||t==="contain"?`bg-${t}`:t.startsWith("--")?`bg-size-(${t})`:`bg-size-[${a(t)}]`}function Dr(t){return t==="repeat"?"bg-repeat":t==="no-repeat"?"bg-no-repeat":`bg-repeat-${t.startsWith("repeat-")?t.slice(7):t}`}function Yr(t){return t==="repeat"?"mask-repeat":t==="no-repeat"?"mask-no-repeat":t==="space"||t==="round"?`mask-repeat-${t}`:`mask-${t}`}function Fr(t){return t==="auto"||t==="cover"||t==="contain"?`mask-${t}`:t.startsWith("--")?`mask-size-(${t})`:`mask-size-[${a(t)}]`}function Xr(t){return jr.has(t)?`mask-${t}`:t.startsWith("--")?`mask-position-(${t})`:`mask-position-[${a(t)}]`}function Hr(t){return t==="match-source"?"mask-match":`mask-${t}`}var Zr=new Set(["maskLinear","maskRadial","maskConic"]),qr={maskLinear:["angle","from","to",...q],maskConic:["angle","from","to"],maskRadial:["at","size","shape","from","to"]},Qr=["from","to"];function h(t,r){if(r==null||r===!1)return[];if(typeof r=="number")return[`${t}-${r}`];if(typeof r=="string")return[X(t,r)];if(!O(r))return[];let e=r,n=[];e.at!==void 0&&e.at!==null&&n.push(X(t,String(e.at)));let o=Jr(t,e);return o&&n.push(o),n}function X(t,r){return r.startsWith("--")?`${t}-(${r})`:`${t}-${r}`}function Jr(t,r){if(typeof r.color!="string"||!r.color)return null;let e=r.color.startsWith("--")?`(color:${r.color})`:r.color,n=r.op===void 0||r.op===null?"":`/${r.op}`;return`${t}-${e}${n}`}function Kr(t,r){if(st(t,r,qr[t]),t==="maskRadial")return re(r);let e=t==="maskConic"?"conic":"linear",n=[...vr(e,r.angle),...h(`mask-${e}-from`,r.from),...h(`mask-${e}-to`,r.to)];return e==="linear"&&n.push(...te(t,r)),n}function st(t,r,e){for(let n of Object.keys(r))e.includes(n)||void 0}function vr(t,r){return typeof r=="number"?[r<0?`-mask-${t}-${Math.abs(r)}`:`mask-${t}-${r}`]:typeof r!="string"||!r?[]:[r.startsWith("--")?`mask-${t}-(${r})`:`mask-${t}-${r}`]}function te(t,r){let e=[];for(let n of q){let o=r[n];O(o)&&(st(`${t}.${n}`,o,Qr),e.push(...h(`mask-${n}-from`,o.from),...h(`mask-${n}-to`,o.to)))}return e}function re(t){let r=[];return typeof t.at=="string"&&t.at&&r.push(`mask-radial-at-${t.at}`),typeof t.size=="string"&&t.size&&r.push(`mask-radial-${t.size}`),(t.shape==="circle"||t.shape==="ellipse")&&r.push(`mask-${t.shape}`),r.push(...h("mask-radial-from",t.from),...h("mask-radial-to",t.to)),r}function ee(t){if(t.includes("("))return!1;let r=t.startsWith("-")?t.slice(1):t;return/^(linear|radial|conic)(-|$)/.test(r)}function ne(t){return t==="no-clip"?"mask-no-clip":`mask-clip-${t}`}var H={borderTColor:"t",borderRColor:"r",borderBColor:"b",borderLColor:"l",borderXColor:"x",borderYColor:"y"};function oe(t,r,e,n){let o=null;return t==="alignContent"?o=`content-${r}`:t==="content"?o=ie(r):H[t]?o=`border-${H[t]}-${r}`:t==="transitionBehavior"?o=`transition-${r}`:t==="dropShadowColor"&&(o=r.startsWith("--")?`drop-shadow-(color:${r})`:`drop-shadow-${r}`),o===null?!1:(n.push(`${e}${o}`),!0)}function ie(t){return t==="none"?"content-none":t.startsWith("--")?`content-(${t})`:`content-[${t.startsWith('"')&&t.endsWith('"')&&t.length>=2?`'${t.slice(1,-1)}'`:t}]`}var se=new Set(["origin","ease","animate","filter","backdropFilter","dropShadow"]),ae=new Set(["none","normal","dramatic","midrange"]),le=new Set(["center","top","right","bottom","left","top-left","top-right","bottom-left","bottom-right"]);function ce(t,r,e,n){let o=null;return se.has(t)&&de(r)?o=`${m[t]||t}-[${a(r)}]`:t==="transformStyle"?o=`transform-${r}`:t==="perspective"?o=ge(r):t==="perspectiveOrigin"?o=ue(r):t==="backface"&&(o=`backface-${r}`),o===null?!1:(n.push(`${e}${o}`),!0)}function de(t){return b(t)||t.includes("(")||t.includes("_")||t.includes("%")}function ge(t){return ae.has(t)?`perspective-${t}`:t.startsWith("--")?`perspective-(${t})`:b(t)?`perspective-[${a(t)}]`:`perspective-${t}`}function ue(t){return le.has(t)?`perspective-origin-${t}`:`perspective-origin-[${a(t)}]`}function at(t,r){if(!u()||fe(t))return;let e=pe(t);g||(e+=Zt(r)),console.warn(e)}function fe(t){return!!(m[t]||ft.has(t)||R.has(t)||K[t]||_(t)||t.startsWith("--")||t.startsWith("[")||t.startsWith("@")||p.has(t)||E.has(t)||ot(t)!==null||t==="min"||t==="max")}function pe(t){let r=g?` at ${g}`:"",e=Q[t];if(e)return`[csszyx] "${t}" was removed${r}: ${e}.`;let n=J[t];return n?`[csszyx] Use the canonical key "${n}" instead of "${t}"${r}.`:/^\d+(?:\.\d+)?$/.test(t)?`[csszyx] sz received a numeric key "${t}"${r}. This usually means an array or a spread was passed where an object of sz keys was expected. The value is ignored.`:`[csszyx] Unknown property "${t}" in sz prop${r}. The class is still emitted, so it styles nothing unless Tailwind serves that utility. Check for typos. If the class is intentional, define it with Tailwind's @utility.`}function me(t,r,e,n){let o=St(e),i=be(t,r,o.value),s=i.startsWith("-")&&v.has(r)?`${n}-${r}-${i.substring(1)}`:`${n}${r}-${i}`;return o.important?`${s}!`:s}function be(t,r,e){if(t==="ring"&&e==="none")return"0";if(t==="fontFeatures"&&e==="normal")return"[normal]";if(Se(e))return`[${a(e)}]`;let n=ye(t,e);if(n)return n;if(e.startsWith("var("))return`[${a(e)}]`;let o=he(t,r,e);return o||(b(e)||/^\d+\.\d+%$/.test(e)?`[${a(e)}]`:e)}function Se(t){return et(t)||t.startsWith("--")&&t.includes("(")}function ye(t,r){if(!r.startsWith("--"))return null;let e=ut[t];return e?`(${e}:${r})`:`(${r})`}function he(t,r,e){return/^\d+\/\d+$/.test(e)?Pt.has(t)?e:`[${e}]`:r!=="aspect"||!/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/.test(e)?null:`[${e}]`}var Ce=/^text-(xs|sm|base|lg|[2-9]?xl|\[[^\]]+\]|\([^)]+\))$/,Pe=/^leading-(.+)$/;function $e(t){let r=[],e=[];for(let i=0;i<t.length;i++)we(t[i],i,r,e);if(r.length===0||e.length===0)return t;let n=[...t],o=new Set;for(let i of r){let s=xe(i.prefix,e,o);s&&(n[i.index]=`${i.prefix}text-${i.size}/${s.value}`,o.add(s.index))}return o.size===0?t:n.filter((i,s)=>!o.has(s))}function we(t,r,e,n){let o=t.lastIndexOf(":"),i=o===-1?"":t.slice(0,o+1),s=o===-1?t:t.slice(o+1),c=Ce.exec(s);c&&e.push({index:r,prefix:i,size:c[1]});let y=Pe.exec(s);y&&n.push({index:r,prefix:i,value:y[1]})}function xe(t,r,e){return r.find(n=>n.prefix===t&&!e.has(n.index))}function ke(t,r){let e=$e(t).filter(Boolean);return{className:(r?e.map(o=>r[o]||o):e).join(" ")}}function Ne(t,r){return r<0&&v.has(t)?`-${t}-${Math.abs(r)}`:`${t}-${r}`}function Ae(t){return typeof t=="number"?t*4%1!==0:typeof t=="string"&&/^\d+(?:\.\d+)?$/.test(t)}function Oe(t,r,e,n,o,i){if(at(t,o),!/^\d+(?:\.\d+)?$/.test(t)){if(e===!0){let s=R.has(t)&&bt[t]||r;i.push(`${n}${s}`);return}if(t==="animationDelay"){let s=typeof e=="number"?`${e}ms`:String(e);i.push(`${n}[animation-delay:${s}]`);return}if((t==="leading"||t==="lineHeight")&&Ae(e)){i.push(`${n}leading-[${e}]`);return}if(t==="weight"&&typeof e=="number"){i.push(`${n}${r}-[${e}]`);return}if(typeof e=="number"){U(t,e),i.push(`${n}${Ne(r,e)}`);return}typeof e=="string"&&(/^-?\d+(?:\.\d+)?$/.test(e)&&U(t,Number(e)),ht(t,e),i.push(me(t,r,e,n)))}}function Re(t,r,e,n){if(t==="css")return O(r)&&Te(r,e,n),!0;if(!O(r))return!1;if(t==="bgImg"){let o=qt(r);return o&&n.push(`${e}${o}`),!0}if(Zr.has(t)){for(let o of Kr(t,r))n.push(`${e}${o}`);return!0}return t in m&&"color"in r?(n.push(tr(t,r,e)),!0):(Ie(t,r),ze(t,r,e,n),!0)}var Z=new Set;function Ie(t,r){if(!u()||!(t in m)||p.has(t)||E.has(t)||Z.has(t))return;Z.add(t);let e=g?` at ${g}`:"",n=Object.keys(r).slice(0,3).join(", ");console.warn(`[csszyx] "${t}" is a property, not a variant, but received an object { ${n} }${e}. This compiles to "${t}:*" classes that match no Tailwind variant and generate no CSS. Move the nested keys up a level, or for color opacity use { color: '...', op: ... }.`)}function O(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function Te(t,r,e){for(let[n,o]of Object.entries(t))typeof o!="string"&&typeof o!="number"||e.push(`${r}[${nt(n)}:${a(String(o))}]`)}function ze(t,r,e,n){let o=ir(t,r,e);if(o!==null){n.push(...o);return}if(t==="min"||t==="max"){sr(t,r,e,n);return}if(t.startsWith("@")){lr(t,r,e,n);return}let i=I(t)?tt(t):C(t),s=f(r,`${e}${i}:`);s.className&&n.push(s.className)}function Ee(t,r){return!(r!==!0||!mt[t])}function Le(t,r,e,n){if(typeof r!="string")return!1;if(t.startsWith("@"))return n.push(`${e}${A[t]||t}/${r}`),!0;if(t==="group"||t==="peer")return n.push(`${e}${t}/${r}`),!0;if(x[t]===1&&!ar(t,r.replace(/!$/,"")))return!0;let o=K[t]?.[r];if(o)return n.push(`${e}${o}`),!0;let i=ot(t);return i!==null?(n.push(`${e}${i}:${r}`),!0):!1}function _e(t,r,e,n){return t.startsWith("--")?(n.push(`${e}[${t}:${r}]`),!0):t!=="container"?!1:(r===!0?n.push(`${e}container`):typeof r=="string"&&n.push(`${e}@container/${r}`),!0)}function Ge(t,r,e,n,o){if(r===!1||r===null||r===void 0)return;if(t in J||t in Q){at(t,n);return}if(Ee(t,r)||Re(t,r,e,o)||Le(t,r,e,o)||_e(t,r,e,o))return;let i=m[t]||nt(t);ur(t,i,r,e,o)||We(t,r,e,o)||Oe(t,i,r,e,n,o)}function We(t,r,e,n){return typeof r!="string"?!1:br(t,r,e,n)||Pr(t,r,e,n)||xr(t,r,e,n)||Or(t,r,e,n)||zr(t,r,e,n)||oe(t,r,e,n)||ce(t,r,e,n)?!0:t==="bgImg"?(n.push(`${e}${Gr(r)}`),!0):Vr(t,r,e,n)}function Me(t,r,e){let n=[];for(let[o,i]of Object.entries(t))Ge(o,i,r,t,n);return ke(n,e)}function je(t){let r=t.trim(),e=r.startsWith("{")?r:`{${r}}`,n=0,o=()=>{for(;n<e.length&&/\s/.test(e[n]);)n++},i=l=>{n++;let d="";for(;n<e.length&&e[n]!==l;)e[n]==="\\"?(n++,n<e.length&&(d+=e[n])):d+=e[n],n++;return n++,d},s=()=>{if(o(),e[n]==="'"||e[n]==='"')return i(e[n]);let l="";if(e[n]==="["){let d=0;for(;n<e.length&&(e[n]==="["&&d++,e[n]==="]"&&d--,l+=e[n],n++,d!==0););return l}for(;n<e.length&&/[\w$@\-.]/.test(e[n]);)l+=e[n],n++;return l},c=()=>{o();let l=e[n];if(l==="'"||l==='"')return i(l);if(l==="{")return $();if(l==="[")return y();let d="";for(;n<e.length&&/[\w.\-+]/.test(e[n]);)d+=e[n],n++;if(d==="true")return!0;if(d==="false")return!1;if(d==="null")return null;let w=Number(d);return!Number.isNaN(w)&&d!==""?w:d},y=()=>{n++;let l=[];for(o();n<e.length&&e[n]!=="]";)l.push(c()),o(),e[n]===","&&n++,o();return n++,l},$=()=>{n++;let l={};for(o();n<e.length&&e[n]!=="}";){let d=s();o(),e[n]===":"&&n++;let w=c();l[d]=w,o(),e[n]===","&&n++,o()}return n++,l};return o(),$()}function G(t){let r=t.getAttribute("sz");if(!r)return;let e=t.dataset;if(e.szProcessed===void 0){e.szProcessed="";try{let n=je(r),o=window.__SZ_MANGLE_MAP__,{className:i}=f(n,"",o);i&&i.split(" ").forEach(s=>{s&&t.classList.add(s)})}catch(n){r.trim()&&!r.includes("{")?r.split(/\s+/).forEach(o=>{o&&t.classList.add(o)}):console.error("[csszyx] Parsing error:",r,n)}t.removeAttribute("sz"),delete e.szProcessed}}function lt(){document.querySelectorAll("[sz]:not([data-sz-processed])").forEach(G),document.body.classList.add("sz-ready")}function Ve(t){t.hasAttribute("sz")&&G(t),t.querySelectorAll("[sz]:not([data-sz-processed])").forEach(G)}var ct=new MutationObserver(t=>{for(let r of t)for(let e of r.addedNodes)e instanceof HTMLElement&&Ve(e)});typeof window<"u"&&(document.readyState==="loading"?window.addEventListener("DOMContentLoaded",()=>{lt(),ct.observe(document.body,{childList:!0,subtree:!0})}):(lt(),ct.observe(document.body,{childList:!0,subtree:!0})));})();
|
|
1
|
+
"use strict";(()=>{var x={p:0,pt:0,pr:0,pb:0,pl:0,px:0,py:0,ps:0,pe:0,pbs:0,pbe:0,m:0,mt:0,mr:0,mb:0,ml:0,mx:0,my:0,ms:0,me:0,mbs:0,mbe:0,spaceX:0,spaceY:0,gap:0,gapX:0,gapY:0,inset:0,insetX:0,insetY:0,top:0,right:0,bottom:0,left:0,start:0,end:0,insetS:0,insetE:0,insetBs:0,insetBe:0,w:0,minW:0,maxW:0,h:0,minH:0,maxH:0,size:0,blockSize:0,minBlockSize:0,maxBlockSize:0,inlineSize:0,minInlineSize:0,maxInlineSize:0,basis:0,indent:0,scrollM:0,scrollMt:0,scrollMr:0,scrollMb:0,scrollMl:0,scrollMs:0,scrollMe:0,scrollMx:0,scrollMy:0,scrollP:0,scrollPt:0,scrollPr:0,scrollPb:0,scrollPl:0,scrollPs:0,scrollPe:0,scrollPx:0,scrollPy:0,scrollPbs:0,scrollPbe:0,scrollMbs:0,scrollMbe:0,translateX:0,translateY:0,borderSpacing:0,borderSpacingX:0,borderSpacingY:0,outlineOffset:0,ringOffset:0,underlineOffset:0,bg:1,color:1,borderColor:1,divideColor:1,outlineColor:1,ringColor:1,ringOffsetColor:1,shadowColor:1,textShadowColor:1,decorationColor:1,accent:1,caret:1,fill:1,stroke:1,from:1,via:1,to:1,dropShadowColor:1,scrollbarThumb:1,scrollbarTrack:1,opacity:3,z:3,order:3,columns:3,gridCols:3,gridRows:3,col:3,colSpan:3,colStart:3,colEnd:3,row:3,rowSpan:3,rowStart:3,rowEnd:3,lineClamp:3,grow:3,shrink:3,scale:3,scaleX:3,scaleY:3,brightness:3,contrast:3,saturate:3,hueRotate:3,backdropBrightness:3,backdropContrast:3,backdropSaturate:3,backdropHueRotate:3,backdropOpacity:3,strokeWidth:3,border:3,borderT:3,borderR:3,borderB:3,borderL:3,borderX:3,borderY:3,borderS:3,borderE:3,borderBs:3,borderBe:3,ring:3,outline:3,leading:3,decorationThickness:3,zoom:3,tabSize:3,rotate:4,skewX:4,skewY:4,duration:5,delay:5,animationDelay:5};var He=new Set(Object.entries(x).filter(([,t])=>t===1).map(([t])=>t));function u(){return!1}var k=class extends Error{constructor(r=32){super(`[csszyx] sz nesting exceeded the maximum depth of ${r}. This usually means untrusted/looping data reached an sz prop.`),this.name="SzDepthError"}};var gt=new Set(["inherit","current","transparent","black","white","none"]);function W(t){return!!(gt.has(t)||t.startsWith("--")||t.startsWith("#")||t.startsWith("[")&&t.endsWith("]")||/^(rgb|hsl|oklch|color|hwb|lab|lch|oklab)\(/.test(t)||/^[a-z][a-z0-9]*(-[a-z0-9]+)*-\d+$/i.test(t)||/^[a-z][a-z0-9]*(-[a-z][a-z0-9]*)*$/i.test(t))}function M(t){let r=t.indexOf("/");return r===-1?!1:r>0&&/\d$/.test(t.slice(0,r))}function j(t,r){u()&&console.warn(`[csszyx] "${t}: '${r}'" is not a recognized color value and will be ignored. Use a Tailwind color ("blue-500"), CSS variable ("--my-color"), hex/rgb/hsl ("#ff0000"), or object form ({ color: "blue-500", op: 50 }).`)}function V(t,r){if(!u())return;let e=r.indexOf("/");console.warn(`[csszyx] "${t}: '${r}'" \u2014 string slash opacity is not supported. Use object form: { color: '${r.slice(0,e)}', op: ${r.slice(e+1)} }.`)}var q=["t","r","b","l","x","y"];var b={bg:"bg",bgAttach:"bg",bgClip:"bg-clip",bgImg:"bg",bgOrigin:"bg-origin",bgPos:"bg",bgRepeat:"bg",bgSize:"bg",from:"from",via:"via",to:"to",rounded:"rounded",roundedT:"rounded-t",roundedR:"rounded-r",roundedB:"rounded-b",roundedL:"rounded-l",roundedTl:"rounded-tl",roundedTr:"rounded-tr",roundedBl:"rounded-bl",roundedBr:"rounded-br",roundedS:"rounded-s",roundedE:"rounded-e",roundedSs:"rounded-ss",roundedSe:"rounded-se",roundedEs:"rounded-es",roundedEe:"rounded-ee",border:"border",borderColor:"border",borderStyle:"border",borderT:"border-t",borderTColor:"border-t",borderR:"border-r",borderRColor:"border-r",borderB:"border-b",borderBColor:"border-b",borderL:"border-l",borderLColor:"border-l",borderX:"border-x",borderXColor:"border-x",borderY:"border-y",borderYColor:"border-y",borderS:"border-s",borderE:"border-e",borderBs:"border-bs",borderBe:"border-be",divideX:"divide-x",divideY:"divide-y",divideColor:"divide",divideStyle:"divide",outline:"outline",outlineColor:"outline",outlineOffset:"outline-offset",outlineStyle:"outline",ring:"ring",ringColor:"ring",ringOffset:"ring-offset",ringOffsetColor:"ring-offset",insetRing:"inset-ring",insetRingColor:"inset-ring",p:"p",pt:"pt",pr:"pr",pb:"pb",pl:"pl",px:"px",py:"py",ps:"ps",pe:"pe",pbs:"pbs",pbe:"pbe",m:"m",mt:"mt",mr:"mr",mb:"mb",ml:"ml",mx:"mx",my:"my",ms:"ms",me:"me",mbs:"mbs",mbe:"mbe",spaceX:"space-x",spaceY:"space-y",w:"w",minW:"min-w",maxW:"max-w",h:"h",minH:"min-h",maxH:"max-h",size:"size",blockSize:"block",minBlockSize:"min-block",maxBlockSize:"max-block",inlineSize:"inline",minInlineSize:"min-inline",maxInlineSize:"max-inline",aspect:"aspect",columns:"columns",breakAfter:"break-after",breakBefore:"break-before",breakInside:"break-inside",boxDecoration:"box-decoration",box:"box",float:"float",clear:"clear",isolation:"isolation",objectFit:"object",objectPos:"object",overflowX:"overflow-x",overflowY:"overflow-y",overscroll:"overscroll",overscrollX:"overscroll-x",overscrollY:"overscroll-y",z:"z",position:"position",display:"display",inset:"inset",insetX:"inset-x",insetY:"inset-y",top:"top",right:"right",bottom:"bottom",left:"left",start:"inset-s",end:"inset-e",insetS:"inset-s",insetE:"inset-e",insetBs:"inset-bs",insetBe:"inset-be",visibility:"visibility",color:"text",text:"text",weight:"font",fontFamily:"font",fontStretch:"font-stretch",fontStyle:"font-style",fontSmoothing:"font-smoothing",textAlign:"text",decoration:"decoration",decorationColor:"decoration",decorationStyle:"decoration",decorationThickness:"decoration",underlineOffset:"underline-offset",textTransform:"text",textOverflow:"text",textWrap:"text",wrap:"wrap",indent:"indent",align:"align",whitespace:"whitespace",break:"break",hyphens:"hyphens",content:"content",leading:"leading",tracking:"tracking",lineClamp:"line-clamp",fontFeatures:"font-features",list:"list",listPos:"list",listImg:"list-image",basis:"basis",flex:"flex",flexDir:"flex",flexWrap:"flex",grow:"grow",shrink:"shrink",order:"order",items:"items",self:"self",justify:"justify",justifyItems:"justify-items",justifySelf:"justify-self",placeContent:"place-content",placeItems:"place-items",placeSelf:"place-self",gap:"gap",gapX:"gap-x",gapY:"gap-y",gridCols:"grid-cols",gridRows:"grid-rows",col:"col",colSpan:"col-span",colStart:"col-start",colEnd:"col-end",row:"row",rowSpan:"row-span",rowStart:"row-start",rowEnd:"row-end",gridFlow:"grid-flow",autoCols:"auto-cols",autoRows:"auto-rows",shadow:"shadow",shadowColor:"shadow",insetShadow:"inset-shadow",insetShadowColor:"inset-shadow",textShadow:"text-shadow",textShadowColor:"text-shadow",opacity:"opacity",mixBlend:"mix-blend",bgBlend:"bg-blend",filter:"filter",backdropFilter:"backdrop-filter",blur:"blur",brightness:"brightness",contrast:"contrast",dropShadow:"drop-shadow",dropShadowColor:"drop-shadow",grayscale:"grayscale",hueRotate:"hue-rotate",invert:"invert",saturate:"saturate",sepia:"sepia",backdropBlur:"backdrop-blur",backdropBrightness:"backdrop-brightness",backdropContrast:"backdrop-contrast",backdropGrayscale:"backdrop-grayscale",backdropHueRotate:"backdrop-hue-rotate",backdropInvert:"backdrop-invert",backdropOpacity:"backdrop-opacity",backdropSaturate:"backdrop-saturate",backdropSepia:"backdrop-sepia",scale:"scale",scaleX:"scale-x",scaleY:"scale-y",scaleZ:"scale-z",rotate:"rotate",rotateX:"rotate-x",rotateY:"rotate-y",rotateZ:"rotate-z",translate:"translate",translateX:"translate-x",translateY:"translate-y",translateZ:"translate-z",skewX:"skew-x",skewY:"skew-y",origin:"origin",backface:"backface",perspective:"perspective",perspectiveOrigin:"perspective-origin",transformStyle:"transform",transform:"transform",transition:"transition",transitionBehavior:"transition",duration:"duration",ease:"ease",delay:"delay",animate:"animate",animationDelay:"animation-delay",mask:"mask",maskSize:"mask-size",maskPos:"mask-position",maskRepeat:"mask-repeat",maskClip:"mask-clip",maskOrigin:"mask-origin",cursor:"cursor",caret:"caret",pointerEvents:"pointer-events",fieldSizing:"field-sizing",scheme:"scheme",resize:"resize",scroll:"scroll",scrollM:"scroll-m",scrollMt:"scroll-mt",scrollMr:"scroll-mr",scrollMb:"scroll-mb",scrollMl:"scroll-ml",scrollMs:"scroll-ms",scrollMe:"scroll-me",scrollMx:"scroll-mx",scrollMy:"scroll-my",scrollP:"scroll-p",scrollPt:"scroll-pt",scrollPr:"scroll-pr",scrollPb:"scroll-pb",scrollPl:"scroll-pl",scrollPs:"scroll-ps",scrollPe:"scroll-pe",scrollPx:"scroll-px",scrollPy:"scroll-py",scrollPbs:"scroll-pbs",scrollPbe:"scroll-pbe",scrollMbs:"scroll-mbs",scrollMbe:"scroll-mbe",snapAlign:"snap",snapStop:"snap",snapType:"snap",touch:"touch",select:"select",willChange:"will-change",appearance:"appearance",accent:"accent",forcedColorAdjust:"forced-color-adjust",fill:"fill",stroke:"stroke",strokeWidth:"stroke",borderCollapse:"border",borderSpacing:"border-spacing",borderSpacingX:"border-spacing-x",borderSpacingY:"border-spacing-y",tableLayout:"table",caption:"caption",overflow:"overflow",scrollbar:"scrollbar",scrollbarThumb:"scrollbar-thumb",scrollbarTrack:"scrollbar-track",scrollbarGutter:"scrollbar-gutter",zoom:"zoom",tabSize:"tab"},ft={fontFamily:"family-name",weight:"weight",text:"length"},Q={maskFrom:"the from stop moved into its layer \u2014 maskLinear / maskRadial / maskConic take { from }",maskTo:"the to stop moved into its layer \u2014 maskLinear / maskRadial / maskConic take { to }",maskVia:"masks have no via stop in Tailwind \u2014 use { from, to } on maskLinear / maskRadial / maskConic",maskShape:'the shape keyword moved to maskRadial \u2014 { shape: "circle" | "ellipse" }'},J={backgroundColor:"bg",backgroundImage:"bgImg",backgroundSize:"bgSize",backgroundPosition:"bgPos",backgroundRepeat:"bgRepeat",bgAttachment:"bgAttach",bgImage:"bgImg",borderRadius:"rounded",borderTopLeftRadius:"roundedTl",borderTopRightRadius:"roundedTr",borderBottomLeftRadius:"roundedBl",borderBottomRightRadius:"roundedBr",borderWidth:"border",padding:"p",paddingTop:"pt",paddingRight:"pr",paddingBottom:"pb",paddingLeft:"pl",paddingX:"px",paddingY:"py",margin:"m",marginTop:"mt",marginRight:"mr",marginBottom:"mb",marginLeft:"ml",marginX:"mx",marginY:"my",width:"w",height:"h",minWidth:"minW",maxWidth:"maxW",minHeight:"minH",maxHeight:"maxH",aspectRatio:"aspect",boxSizing:"box",boxDecorationBreak:"boxDecoration",objectPosition:"objectPos",zIndex:"z",font:"weight (for font-weight) or fontFamily (for family)",fontWeight:"weight",fontSize:"text",textDecoration:"decoration",textDecorationColor:"decorationColor",textDecorationStyle:"decorationStyle",textDecorationThickness:"decorationThickness",textUnderlineOffset:"underlineOffset",lineHeight:"leading",letterSpacing:"tracking",textIndent:"indent",verticalAlign:"align",wordBreak:"break",overflowWrap:"wrap",listStyleType:"list",listStylePosition:"listPos",listStyleImage:"listImg",listStyle:"list",listPosition:"listPos",listImage:"listImg",flexBasis:"basis",flexDirection:"flexDir",flexGrow:"grow",flexShrink:"shrink",alignItems:"items",alignSelf:"self",justifyContent:"justify",gridTemplateColumns:"gridCols",gridTemplateRows:"gridRows",gridColumn:"col",gridRow:"row",gridAutoFlow:"gridFlow",gridAutoColumns:"autoCols",gridAutoRows:"autoRows",boxShadow:"shadow",mixBlendMode:"mixBlend",backgroundBlendMode:"bgBlend",transitionProperty:"transition",transitionDuration:"duration",transitionTimingFunction:"ease",transitionDelay:"delay",animation:"animate",transformOrigin:"origin",caretColor:"caret",accentColor:"accent",scrollBehavior:"scroll",scrollMargin:"scrollM",scrollPadding:"scrollP",scrollSnapAlign:"snapAlign",scrollSnapStop:"snapStop",scrollSnapType:"snapType",touchAction:"touch",userSelect:"select",captionSide:"caption",scrollbarColor:"scrollbarThumb (thumb color) or scrollbarTrack (track color)",scrollbarWidth:"scrollbar",flexWrapReverse:"flexWrap: 'wrap-reverse'",flexNowrap:"flexWrap: 'nowrap'"},A={focusWithin:"focus-within",focusVisible:"focus-visible",firstOfType:"first-of-type",lastOfType:"last-of-type",onlyOfType:"only-of-type",onlyChild:"only",firstChild:"first",lastChild:"last",motionReduce:"motion-reduce",motionSafe:"motion-safe",contrastMore:"contrast-more",contrastLess:"contrast-less",firstLine:"first-line",firstLetter:"first-letter",placeholderShown:"placeholder-shown",inRange:"in-range",outOfRange:"out-of-range",readOnly:"read-only",pointerFine:"pointer-fine",pointerCoarse:"pointer-coarse",pointerNone:"pointer-none",anyPointerFine:"any-pointer-fine",anyPointerCoarse:"any-pointer-coarse",anyPointerNone:"any-pointer-none",userValid:"user-valid",userInvalid:"user-invalid",detailsContent:"details-content",invertedColors:"inverted-colors",forcedColors:"forced-colors",screenPortrait:"portrait",screenLandscape:"landscape","@maxSm":"@max-sm","@maxMd":"@max-md","@maxLg":"@max-lg","@maxXl":"@max-xl","@max2xl":"@max-2xl"},z=new Set(["group","peer","has","not","data","aria","supports"]),p=new Set(["sm","md","lg","xl","2xl","@sm","@md","@lg","@xl","@2xl","dark","light","print","portrait","landscape","motion-reduce","motion-safe","motionReduce","motionSafe","contrast-more","contrast-less","contrastMore","contrastLess","hover","focus","focus-within","focus-visible","focusWithin","focusVisible","active","visited","target","disabled","enabled","checked","indeterminate","default","required","valid","invalid","in-range","out-of-range","inRange","outOfRange","placeholder-shown","placeholderShown","autofill","read-only","readOnly","first","last","only","odd","even","empty","first-of-type","last-of-type","only-of-type","firstOfType","lastOfType","onlyOfType","first-child","last-child","only-child","firstChild","lastChild","onlyChild","before","after","placeholder","file","marker","selection","first-line","first-letter","firstLine","firstLetter","backdrop","pointer-fine","pointer-coarse","pointer-none","pointerFine","pointerCoarse","pointerNone","any-pointer-fine","any-pointer-coarse","any-pointer-none","anyPointerFine","anyPointerCoarse","anyPointerNone","user-valid","user-invalid","userValid","userInvalid","details-content","detailsContent","inverted-colors","invertedColors","noscript","forced-colors","forcedColors","starting","inert","open","ltr","rtl"]),L=new Set(["checked","disabled","expanded","hidden","pressed","readonly","required","selected","busy","current","invalid","live","atomic","modal"]),pt=new Set(["css","maskLinear","maskRadial","maskConic","alignContent","fromPos","viaPos","toPos","maskComposite","maskMode","maskType","snapStrictness"]),O=new Set(["truncate","textEllipsis","textClip","grow","shrink","blur","grayscale","invert","sepia","backdropBlur","backdropGrayscale","backdropInvert","backdropSepia","container","prose","proseInvert","srOnly","notSrOnly","ordinal","slashedZero","liningNums","oldstyleNums","proportionalNums","tabularNums","diagonalFractions","stackedFractions","divideXReverse","divideYReverse","spaceXReverse","spaceYReverse","ring","outline"]),bt={border:!0,borderT:!0,borderR:!0,borderB:!0,borderL:!0,borderX:!0,borderY:!0,borderS:!0,borderE:!0,borderBs:!0,borderBe:!0,ring:!0,outline:!0,truncate:!0,shadow:!0},on=new Set(Object.keys(bt)),mt={block:{key:"display",value:"block"},inline:{key:"display",value:"inline"},inlineBlock:{key:"display",value:"inline-block"},flex:{key:"display",value:"flex"},inlineFlex:{key:"display",value:"inline-flex"},grid:{key:"display",value:"grid"},inlineGrid:{key:"display",value:"inline-grid"},hidden:{key:"display",value:"none"},contents:{key:"display",value:"contents"},table:{key:"display",value:"table"},tableRow:{key:"display",value:"table-row"},tableCell:{key:"display",value:"table-cell"},flowRoot:{key:"display",value:"flow-root"},listItem:{key:"display",value:"list-item"},static:{key:"position",value:"static"},fixed:{key:"position",value:"fixed"},absolute:{key:"position",value:"absolute"},relative:{key:"position",value:"relative"},sticky:{key:"position",value:"sticky"},visible:{key:"visibility",value:"visible"},invisible:{key:"visibility",value:"hidden"},collapse:{key:"visibility",value:"collapse"},isolate:{key:"isolation",value:"isolate"},uppercase:{key:"textTransform",value:"uppercase"},lowercase:{key:"textTransform",value:"lowercase"},capitalize:{key:"textTransform",value:"capitalize"},normalCase:{key:"textTransform",value:"none"},italic:{key:"fontStyle",value:"italic"},notItalic:{key:"fontStyle",value:"normal"},underline:{key:"decoration",value:"underline"},overline:{key:"decoration",value:"overline"},lineThrough:{key:"decoration",value:"line-through"},noUnderline:{key:"decoration",value:"none"},antialiased:{key:"fontSmoothing",value:"grayscale"},subpixelAntialiased:{key:"fontSmoothing",value:"subpixel"}};var St={textEllipsis:"text-ellipsis",textClip:"text-clip",backdropBlur:"backdrop-blur",backdropGrayscale:"backdrop-grayscale",backdropInvert:"backdrop-invert",backdropSepia:"backdrop-sepia",srOnly:"sr-only",notSrOnly:"not-sr-only",divideXReverse:"divide-x-reverse",divideYReverse:"divide-y-reverse",spaceXReverse:"space-x-reverse",spaceYReverse:"space-y-reverse",liningNums:"lining-nums",oldstyleNums:"oldstyle-nums",proportionalNums:"proportional-nums",tabularNums:"tabular-nums",diagonalFractions:"diagonal-fractions",stackedFractions:"stacked-fractions",transformGpu:"transform-gpu",transformCpu:"transform-cpu",proseInvert:"prose-invert"},K={snapAlign:{start:"snap-start",end:"snap-end",center:"snap-center",none:"snap-align-none"},snapStop:{normal:"snap-normal",always:"snap-always"},snapType:{none:"snap-none",x:"snap-x",y:"snap-y",both:"snap-both"},snapStrictness:{mandatory:"snap-mandatory",proximity:"snap-proximity"}},v=new Set(["m","mt","mr","mb","ml","mx","my","ms","me","mbs","mbe","top","right","bottom","left","inset","inset-x","inset-y","inset-s","inset-e","inset-bs","inset-be","z","order","col","col-start","col-end","row","row-start","row-end","rotate","rotate-x","rotate-y","rotate-z","scale-z","skew-x","skew-y","translate","translate-x","translate-y","translate-z","mask","space-x","space-y","tracking","indent","scroll-m","scroll-mx","scroll-my","scroll-mt","scroll-mr","scroll-mb","scroll-ml","hue-rotate","backdrop-hue-rotate"]);function yt(t){return typeof t=="string"&&t.endsWith("!")?{value:t.slice(0,-1),important:!0}:{value:t,important:!1}}var ht=new Set(["white","black","transparent","current","inherit"]),B=new Set;function tt(t,r){if(!u()||x[t]!==0||r*4%1===0)return;let e=`${t}:${r}`;if(B.has(e))return;B.add(e);let n=g?` at ${g}`:"";console.warn(`[csszyx] "${t}: ${r}"${n}: ${r} is not on Tailwind's spacing scale (quarter steps only), so the class generates no CSS. Use a quarter step (1.25, 1.5, 1.75) or a unit value ("${r}rem").`)}var Ct=new Set(["borderT","borderR","borderB","borderL","borderX","borderY","borderS","borderE","borderBs","borderBe"]),Pt=new Set(["solid","dashed","dotted","double","hidden","none"]),U=new Set;function $t(t,r){return Ct.has(t)&&Pt.has(r)}function wt(t,r){if(!u())return;let e=`${t}:${r}`;if(U.has(e))return;U.add(e);let n=g?` at ${g}`:"";console.warn(`[csszyx] "${t}: '${r}'"${n}: Tailwind has no per-side border style, so this generated no CSS and the class is dropped. Use borderStyle: '${r}' for every side, or a number on "${t}" for the width.`)}var D=new Set;function xt(t,r){if(t!=="weight"||!u()||!/^\d+(?:\.\d+)?$/.test(r)||D.has(r))return;D.add(r);let e=g?` at ${g}`:"";console.warn(`[csszyx] "weight: '${r}'"${e}: Tailwind spells a numeric font weight through --font-weight-*, so "font-${r}" generates no CSS. Write weight: ${r} as a number, which brackets to "font-[`+r+']".')}var Y=new Set;function kt(t){return typeof t=="number"?Number.isInteger(t*2)?String(t):`[${t}]`:typeof t=="string"?t.startsWith("--")?`(${t})`:`[${t}]`:String(t)}function I(t){return t.startsWith("[")&&t.endsWith("]")}function rt(t){return t.replace(/\s+/g,"")}function a(t){return(t.startsWith("[")&&t.endsWith("]")?t.slice(1,-1):t).trim().replace(/\s+/g,"_")}var Nt=new Set(["w","width","min-w","minW","minWidth","max-w","maxW","maxWidth","h","height","min-h","minH","minHeight","max-h","maxH","maxHeight","size","basis","flexBasis","flex","inset","inset-x","insetX","inset-y","insetY","top","right","bottom","left","start","end","translate","translate-x","translateX","translate-y","translateY","aspect"]),At=new Set(["px","rem","em","%","vh","vw","ch","dvh","dvw","svh","svw","lvh","lvw","cqw","cqh","deg","rad","turn","grad","ms","s","fr"]),Rt=new Set(["px","rem","em","%","vh","vw","ch"]);function Ot(t){let r=/^(-?(?:\d+(?:\.\d+)?|\.\d+))([a-z%]+)?$/.exec(t);if(!r)return!1;let e=r[1].replace(/^-/,"").startsWith("."),n=r[2];return n?e?Rt.has(n):At.has(n):e}function m(t){let r=t.startsWith("[")&&t.endsWith("]")?t.slice(1,-1):t;return Ot(r)||r.startsWith("#")||It(r)||r.includes(" ")}function It(t){for(let r=t.indexOf("(");r>0;r=t.indexOf("(",r+1)){if(t.codePointAt(r-1)===45&&t.startsWith("--",r+1))continue;let e=r;for(;e>0&&et(t.codePointAt(e-1));)e-=1;if(e<r&&!t.startsWith("--",e))return!0}return!1}function et(t){return t>=48&&t<=57||t>=65&&t<=90||t===95||t>=97&&t<=122||t===45}function Tt(t){return t>=65&&t<=90||t===95||t>=97&&t<=122}function nt(t){let r=t.length;if(r<5||t.codePointAt(0)!==45||t.codePointAt(1)!==45||!Tt(t.codePointAt(2)??-1))return!1;let e=3;for(;e<r&&et(t.codePointAt(e)??-1);)e+=1;return e===2||e>=r||t.codePointAt(e)!==40?!1:Et(t,e)}function Et(t,r){let e={depth:0,quote:0,escaped:!1};for(let n=r;n<t.length;n++){let o=t.codePointAt(n)??-1;if(!zt(o,e)&&(o===40&&(e.depth+=1),o===41)){if(e.depth-=1,e.depth===0)return n===t.length-1;if(e.depth<0)return!1}}return!1}function zt(t,r){return r.escaped?(r.escaped=!1,!0):t===92?(r.escaped=!0,!0):r.quote!==0?(t===r.quote&&(r.quote=0),!0):t===34||t===39?(r.quote=t,!0):!1}var Lt=new Set(["none","disc","decimal"]),_t=new Set(["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"]);function ot(t){return t.startsWith("--")?t:t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function C(t){return A[t]?A[t]:t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}function F(t,r,e){let n=[];for(let[o,i]of Object.entries(r))Gt(t,o,i,e,n);return n}function Gt(t,r,e,n,o){P(e)||(r==="has"&&typeof e=="object"?N(t,"has",e,n,"",o):r==="data"&&typeof e=="object"?N(t,"data",e,n,"",o):r==="aria"&&typeof e=="object"?N(t,"aria",e,n,"",o):jt(r)?S(e,`${n}${t}-[${r}]:`,o):Yt(r)?S(e,`${n}${t}-${C(r)}:`,o):typeof e=="object"&&Mt(t,r,e,n,o))}function N(t,r,e,n,o,i){for(let[s,c]of Object.entries(e)){if(P(c))continue;let y=Wt(r,s),$=o?`/${o}`:"";S(c,`${n}${t}-${y}${$}:`,i)}}function Wt(t,r){return t==="has"?`has-[${r}]`:t==="data"?`data-[${r}]`:L.has(r)?`aria-${r}`:`aria-[${r}]`}function Mt(t,r,e,n,o){for(let[i,s]of Object.entries(e))P(s)||((i==="data"||i==="aria")&&typeof s=="object"?N(t,i,s,n,r,o):S(s,`${n}${t}-${C(i)}/${r}:`,o))}function S(t,r,e){let n=f(t,r);n.className&&e.push(n.className)}function P(t){return t==null||t===!1}function jt(t){return t.startsWith(".")||t.startsWith("#")||t.startsWith("[")||t.startsWith(":")}function it(t){return p.has(t)?C(t):I(t)?rt(t):Vt(t)??Ut(t)}function Vt(t){let r=t.indexOf("-[");if(r<=0||!t.endsWith("]"))return null;let e=t.slice(0,r);return Bt(e)?t:null}function Bt(t){return z.has(t)||p.has(t)||t==="min"||t==="max"}function Ut(t){let r=t.indexOf("-");if(r<=0)return null;let e=t.slice(0,r),n=t.slice(r+1);return Dt(e,n)?t:null}function Dt(t,r){return t==="group"||t==="peer"||t==="not"?p.has(r):t==="aria"?L.has(r):t==="data"&&r.length>0}function Yt(t){return p.has(t)||p.has(C(t))}function Ft(t,r){let e=[];for(let[n,o]of Object.entries(t)){if(o==null||o===!1)continue;let i;p.has(n)||n.startsWith(":")?i=n.startsWith(":")?n:`:${n}`:i=n;let s=`${r}has-[${i}]:`,c=f(o,s);c.className&&e.push(c.className)}return e}function Xt(t,r,e){if(t==="supports"&&typeof r=="object")return Object.entries(r).flatMap(([o,i])=>{let s=f(i,`${e}not-supports-[${o}]:`);return s.className?[s.className]:[]});let n=f(r,`${e}not-${C(t)}:`);return n.className?[n.className]:[]}function Ht(t,r){let e=[];for(let[n,o]of Object.entries(t))o==null||o===!1||e.push(...Xt(n,o,r));return e}function Zt(t,r){let e=[];for(let[n,o]of Object.entries(t)){if(o==null||o===!1)continue;let i=`${r}data-[${n}]:`,s=f(o,i);s.className&&e.push(s.className)}return e}function qt(t,r){let e=[];for(let[n,o]of Object.entries(t)){if(o==null||o===!1)continue;let i;L.has(n)?i=`${r}aria-${n}:`:i=`${r}aria-[${n}]:`;let s=f(o,i);s.className&&e.push(s.className)}return e}function Qt(t,r){let e=[];for(let[n,o]of Object.entries(t)){if(o==null||o===!1)continue;let i=`${r}supports-[${n}]:`,s=f(o,i);s.className&&e.push(s.className)}return e}var T=0,g;var Jt=/node_modules|node:internal|@csszyx|packages\/(?:compiler|runtime|dynamic|core|vars)\/(?:dist|src)|\btransform|\bszJoin\b|\b_sz\w*|\bdynamic\b|runtimeSzWarnContext|firstUserStackFrame/;function Kt(){let t=new Error().stack;if(t)for(let r of t.split(`
|
|
2
|
+
`).slice(1)){let e=r.trim();if(!(!e.startsWith("at ")||Jt.test(e)))return e.slice(3).trim()}}function vt(t){let r="";try{let o=JSON.stringify(t);o&&(r=o.length>200?`${o.slice(0,197)}...`:o)}catch{r=""}let e=Kt();if(!r&&!e)return"";let n=[];return r&&n.push(`sz object was ${r}`),e&&n.push(`from ${e}`),`
|
|
3
|
+
${n.join(" \xB7 ")}`}function f(t,r="",e){if(!t||typeof t!="object")return{className:""};if(T>=32)throw new k;T++;try{return Ye(t,r,e)}finally{T--}}function tr(t){let r="";return t.gradient==="linear"?r=rr(t.dir??"to-r"):t.gradient==="radial"?r=er(t.dir):t.gradient==="conic"&&(r=nr(t.dir)),r&&t.in?`${r}/${t.in}`:r}function rr(t){return typeof t=="number"?t<0?`-bg-linear-${Math.abs(t)}`:`bg-linear-${t}`:t.startsWith("--")?`bg-linear-(${t})`:t.startsWith("to-")?`bg-linear-${t}`:`bg-linear-[${a(t)}]`}function er(t){return t==null?"bg-radial":typeof t!="string"?"":t.startsWith("--")?`bg-radial-(${t})`:`bg-radial-[${a(t)}]`}function nr(t){return t==null?"bg-conic":typeof t=="number"?t<0?`-bg-conic-${Math.abs(t)}`:`bg-conic-${t}`:t.startsWith("--")?`bg-conic-(${t})`:`bg-conic-[${a(t)}]`}var or=new Set(["shadow","inset-shadow","text-shadow","drop-shadow"]);function ir(t,r,e){let n=b[t]||t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),o=r.color,i=or.has(n)&&o.startsWith("--")&&!o.includes("(")?`(color:${o})`:sr(o);if(r.op===void 0)return`${e}${n}-${i}`;let s=kt(r.op);return cr(o,`${e}${n}-${i}/${s}`,s),`${e}${n}-${i}/${s}`}function sr(t){return nt(t)||t.startsWith("--")&&t.includes("(")?`[${a(t)}]`:t.startsWith("--")?`(${t})`:m(t)?`[${a(t)}]`:a(t)}var ar=/^\d{1,3}\s*,\s*\d{1,3}\s*,\s*\d{1,3}$/;function lr(t){try{let r=globalThis,e=r.document?.documentElement;if(e===void 0||typeof r.getComputedStyle!="function")return null;let n=r.getComputedStyle(e).getPropertyValue(`--color-${t}`).trim();return n===""?null:n}catch{return null}}function cr(t,r,e){if(!u()||t.startsWith("--")||m(t)||/-\d{2,3}$/.test(t)||ht.has(t)||Y.has(t))return;let n=lr(t);if(n===null||!ar.test(n))return;Y.add(t);let o=g?` at ${g}`:"";console.warn(`[csszyx] "${r}"${o}: the /${e} opacity modifier will not apply \u2014 the "${t}" theme token resolves to the bare comma triplet "${n}", which color-mix() cannot dim. Wrap the variable, e.g. --color-${t}: rgb(var(--your-triplet)).`)}function dr(t,r,e){switch(t){case"group":return F("group",r,e);case"peer":return F("peer",r,e);case"has":return Ft(r,e);case"not":return Ht(r,e);case"data":return Zt(r,e);case"aria":return qt(r,e);case"supports":return Qt(r,e);default:return null}}var st=new Set(["sm","md","lg","xl","2xl"]);function gr(t,r,e,n){for(let[o,i]of Object.entries(r)){if(P(i))continue;let c=I(o)||st.has(o)?`${t}-${o}`:`${t}-[${o}]`;S(i,`${e}${c}:`,n)}}function ur(t,r){return M(r)?(V(t,r),!1):W(r)?!0:(j(t,r),!1)}function fr(t,r,e,n){let o=A[t]||t;for(let[i,s]of Object.entries(r)){if(P(s))continue;let c=pr(o,i,s);c.wrapProperty?S({[i]:s},`${e}${c.segment}:`,n):S(s,`${e}${c.segment}:`,n)}}function pr(t,r,e){return I(r)?{segment:`${t}-${r}`,wrapProperty:!1}:br(t,r,e)?{segment:`${t}-[${r}]`,wrapProperty:!1}:b[r]||O.has(r)||r.startsWith("@")||typeof e!="object"?{segment:t,wrapProperty:!0}:{segment:`${t}/${r}`,wrapProperty:!1}}function br(t,r,e){return(t==="@min"||t==="@max")&&typeof e=="object"&&!st.has(r)&&!b[r]&&!O.has(r)}var mr=new Set(["auto","scroll","contents","transform"]);function Sr(t,r,e,n,o){return t==="willChange"&&typeof e=="string"?(o.push(`${n}${yr(e)}`),!0):typeof e=="string"&&hr(r)?(o.push(`${n}${Cr(r,e)}`),!0):_(t)&&typeof e=="number"?(o.push(`${n}${t.replace("Pos","")}-${e}%`),!0):!1}function yr(t){return mr.has(t)?`will-change-${t}`:t.startsWith("--")?`will-change-(${t})`:`will-change-[${a(t)}]`}function hr(t){return t==="display"||t==="position"||t==="visibility"||t==="isolation"}function Cr(t,r){return t==="display"?r==="none"?"hidden":r:t==="visibility"?r==="hidden"?"invisible":r:t==="isolation"?r==="isolate"?"isolate":`isolation-${r}`:r}function _(t){return t==="fromPos"||t==="viaPos"||t==="toPos"}function Pr(t,r,e,n){if(t==="fontStyle"){let i="";return r==="italic"?i="italic":r==="normal"&&(i="not-italic"),i?n.push(`${e}${i}`):$r(r),!0}if(t!=="fontSmoothing")return!1;let o="";return r==="grayscale"?o="antialiased":r==="subpixel"&&(o="subpixel-antialiased"),o?n.push(`${e}${o}`):u()&&console.warn(`[csszyx] fontSmoothing: '${r}' is not supported \u2014 use 'grayscale' or 'subpixel'.`),!0}function $r(t){u()&&console.warn(`[csszyx] fontStyle: '${t}' is not supported \u2014 Tailwind only models 'italic' and 'normal'. For oblique, use css: { fontStyle: '${t}' }.`)}var wr=new Set(["underline","overline","line-through","no-underline","none"]),xr=new Set(["uppercase","lowercase","capitalize"]),kr=new Set(["normal-nums","ordinal","slashed-zero","lining-nums","oldstyle-nums","proportional-nums","tabular-nums","diagonal-fractions","stacked-fractions"]);function Nr(t,r,e,n){return t==="decoration"&&wr.has(r)?(n.push(`${e}${r==="none"?"no-underline":r}`),!0):t==="textTransform"&&xr.has(r)?(n.push(`${e}${r}`),!0):t==="textTransform"&&(r==="normal-case"||r==="none")?(n.push(`${e}normal-case`),!0):t==="fontVariant"&&kr.has(r)?(n.push(`${e}${r}`),!0):t==="textWrap"?(n.push(`${e}text-${r}`),!0):!1}var Ar={normal:"break-normal",all:"break-all",keep:"break-keep","break-normal":"break-normal","break-all":"break-all","break-keep":"break-keep"},Rr={normal:"wrap-normal","break-word":"wrap-break-word",anywhere:"wrap-anywhere","wrap-normal":"wrap-normal","wrap-break-word":"wrap-break-word","wrap-anywhere":"wrap-anywhere"};function Or(t,r,e,n){let o=null;return t==="break"?o=Ar[r]||`break-${r}`:t==="wrap"?o=Rr[r]||`wrap-${r}`:t==="textOverflow"?o=Ir(r):t==="lineClamp"?o=Tr(r):t==="list"||t==="listStyle"?o=Er(r):t==="listPos"&&(o=`list-${r}`),o===null?!1:(n.push(`${e}${o}`),!0)}function Ir(t){return t==="ellipsis"||t==="clip"?`text-${t}`:`text-[${t}]`}function Tr(t){if(t==="none")return"line-clamp-none";if(t.startsWith("--"))return`line-clamp-(${t})`;let r=Number(t);return!Number.isNaN(r)&&Number.isInteger(r)?`line-clamp-${t}`:`line-clamp-[${t}]`}function Er(t){return t.startsWith("--")?`list-(${t})`:Lt.has(t)?`list-${t}`:`list-[${t}]`}function zr(t,r,e,n){let o=null;return t==="divideStyle"?o=`divide-${r}`:t==="decorationStyle"||t==="textDecorationStyle"?o=`decoration-${r}`:t==="decorationColor"||t==="textDecorationColor"?o=`decoration-${r}`:t==="decorationThickness"||t==="textDecorationThickness"?o=Lr(r):t==="fontStretch"&&(o=_r(r)),o===null?!1:(n.push(`${e}${o}`),!0)}function Lr(t){return m(t)?`decoration-[${a(t)}]`:t.startsWith("--")?`decoration-(${t})`:`decoration-${t}`}function _r(t){if(_t.has(t))return`font-stretch-${t}`;if(t.startsWith("--"))return`font-stretch-(${t})`;if(!/^\d+(\.\d+)?%$/.test(t))return`font-stretch-[${t}]`;let r=Number.parseFloat(t);return t.includes(".")||!Number.isInteger(r)?`font-stretch-[${t}]`:`font-stretch-${t}`}var Gr=new Set(["brightness","contrast","saturate","scale","backdropBrightness","backdropContrast","backdropSaturate"]);function Wr(t,r,e,n){let o=null,i=!0;return t==="maxW"&&r==="container"?(o="container",i=!1):t==="shadowColor"?(o=E("shadow",r),i=!1):t==="insetShadowColor"?o=E("inset-shadow",r):Gr.has(t)?(o=Mr(t,r),i=t==="scale"&&r==="3d"):t==="textShadow"?o=jr(r):t==="textShadowColor"?o=E("text-shadow",r):_(t)&&(o=Vr(t,r),i=!1),o===null?!1:(n.push(`${i?e:""}${o}`),!0)}function E(t,r){return r.startsWith("--")?`${t}-(color:${r})`:`${t}-${r}`}function Mr(t,r){if(t==="scale"&&r==="3d")return"scale-3d";let e=t.startsWith("backdrop")?`backdrop-${t.slice(8).toLowerCase()}`:t;return r.startsWith("--")?`${e}-(${r})`:`${e}-[${r}]`}function jr(t){return t==="none"?"text-shadow-none":t===""?"text-shadow":m(t)?`text-shadow-[${a(t)}]`:`text-shadow-${t}`}function Vr(t,r){let e=t.replace("Pos","");return r.startsWith("--")?`${e}-(${r})`:/^\d+%$/.test(r)?`${e}-${r}`:`${e}-[${r}]`}function Br(t){let r=t.trim();if(r==="none")return"bg-none";let e=r.startsWith("-")?r.slice(1):r;if(e.includes("(")&&!e.startsWith("url("))return`bg-[${a(r)}]`;if(Ur(e)){let n=e.startsWith("gradient-to-")?e.replace("gradient-to-","linear-to-"):e;return r.startsWith("-")?`-bg-${n}`:`bg-${n}`}return r.startsWith("--")?`bg-(image:${r})`:r.startsWith("url(")?`bg-[${r}]`:`bg-[url(${r})]`}function Ur(t){return t.startsWith("linear-")||t.startsWith("radial")||t.startsWith("conic")||t.startsWith("gradient-to-")}var Dr=new Set(["maskComposite"]),Yr=new Set(["center","top","bottom","left","right","top-left","top-right","bottom-left","bottom-right"]);function Fr(t,r,e,n){let o=null;if(t==="bgPos")o=Xr(r);else if(t==="bgSize")o=Hr(r);else if(t==="bgRepeat"||t==="backgroundRepeat")o=Zr(r);else{if(t==="mask"&&ae(r))return!0;t==="maskRepeat"?o=qr(r):t==="maskType"?o=`mask-type-${r}`:t==="maskSize"?o=Qr(r):t==="maskPos"?o=Jr(r):t==="maskMode"?o=Kr(r):t==="maskClip"?o=le(r):Dr.has(t)&&(o=`mask-${r}`)}return o===null?!1:(n.push(`${e}${o}`),!0)}function Xr(t){return t.startsWith("--")?`bg-(${t})`:t.includes("_")||m(t)?`bg-[${a(t)}]`:`bg-${t}`}function Hr(t){return t==="auto"||t==="cover"||t==="contain"?`bg-${t}`:t.startsWith("--")?`bg-size-(${t})`:`bg-size-[${a(t)}]`}function Zr(t){return t==="repeat"?"bg-repeat":t==="no-repeat"?"bg-no-repeat":`bg-repeat-${t.startsWith("repeat-")?t.slice(7):t}`}function qr(t){return t==="repeat"?"mask-repeat":t==="no-repeat"?"mask-no-repeat":t==="space"||t==="round"?`mask-repeat-${t}`:`mask-${t}`}function Qr(t){return t==="auto"||t==="cover"||t==="contain"?`mask-${t}`:t.startsWith("--")?`mask-size-(${t})`:`mask-size-[${a(t)}]`}function Jr(t){return Yr.has(t)?`mask-${t}`:t.startsWith("--")?`mask-position-(${t})`:`mask-position-[${a(t)}]`}function Kr(t){return t==="match-source"?"mask-match":`mask-${t}`}var vr=new Set(["maskLinear","maskRadial","maskConic"]),te={maskLinear:["angle","from","to",...q],maskConic:["angle","from","to"],maskRadial:["at","size","shape","from","to"]},re=["from","to"];function h(t,r){if(r==null||r===!1)return[];if(typeof r=="number")return[`${t}-${r}`];if(typeof r=="string")return[X(t,r)];if(!R(r))return[];let e=r,n=[];e.at!==void 0&&e.at!==null&&n.push(X(t,String(e.at)));let o=ee(t,e);return o&&n.push(o),n}function X(t,r){return r.startsWith("--")?`${t}-(${r})`:`${t}-${r}`}function ee(t,r){if(typeof r.color!="string"||!r.color)return null;let e=r.color.startsWith("--")?`(color:${r.color})`:r.color,n=r.op===void 0||r.op===null?"":`/${r.op}`;return`${t}-${e}${n}`}function ne(t,r){if(at(t,r,te[t]),t==="maskRadial")return se(r);let e=t==="maskConic"?"conic":"linear",n=[...oe(e,r.angle),...h(`mask-${e}-from`,r.from),...h(`mask-${e}-to`,r.to)];return e==="linear"&&n.push(...ie(t,r)),n}function at(t,r,e){for(let n of Object.keys(r))e.includes(n)||void 0}function oe(t,r){return typeof r=="number"?[r<0?`-mask-${t}-${Math.abs(r)}`:`mask-${t}-${r}`]:typeof r!="string"||!r?[]:[r.startsWith("--")?`mask-${t}-(${r})`:`mask-${t}-${r}`]}function ie(t,r){let e=[];for(let n of q){let o=r[n];R(o)&&(at(`${t}.${n}`,o,re),e.push(...h(`mask-${n}-from`,o.from),...h(`mask-${n}-to`,o.to)))}return e}function se(t){let r=[];return typeof t.at=="string"&&t.at&&r.push(`mask-radial-at-${t.at}`),typeof t.size=="string"&&t.size&&r.push(`mask-radial-${t.size}`),(t.shape==="circle"||t.shape==="ellipse")&&r.push(`mask-${t.shape}`),r.push(...h("mask-radial-from",t.from),...h("mask-radial-to",t.to)),r}function ae(t){if(t.includes("("))return!1;let r=t.startsWith("-")?t.slice(1):t;return/^(linear|radial|conic)(-|$)/.test(r)}function le(t){return t==="no-clip"?"mask-no-clip":`mask-clip-${t}`}var H={borderTColor:"t",borderRColor:"r",borderBColor:"b",borderLColor:"l",borderXColor:"x",borderYColor:"y"};function ce(t,r,e,n){let o=null;return t==="alignContent"?o=`content-${r}`:t==="content"?o=de(r):H[t]?o=`border-${H[t]}-${r}`:t==="transitionBehavior"?o=`transition-${r}`:t==="dropShadowColor"&&(o=r.startsWith("--")?`drop-shadow-(color:${r})`:`drop-shadow-${r}`),o===null?!1:(n.push(`${e}${o}`),!0)}function de(t){return t==="none"?"content-none":t.startsWith("--")?`content-(${t})`:`content-[${t.startsWith('"')&&t.endsWith('"')&&t.length>=2?`'${t.slice(1,-1)}'`:t}]`}var ge=new Set(["origin","ease","animate","filter","backdropFilter","dropShadow"]),ue=new Set(["none","normal","dramatic","midrange"]),fe=new Set(["center","top","right","bottom","left","top-left","top-right","bottom-left","bottom-right"]);function pe(t,r,e,n){let o=null;return ge.has(t)&&be(r)?o=`${b[t]||t}-[${a(r)}]`:t==="transformStyle"?o=`transform-${r}`:t==="perspective"?o=me(r):t==="perspectiveOrigin"?o=Se(r):t==="backface"&&(o=`backface-${r}`),o===null?!1:(n.push(`${e}${o}`),!0)}function be(t){return m(t)||t.includes("(")||t.includes("_")||t.includes("%")}function me(t){return ue.has(t)?`perspective-${t}`:t.startsWith("--")?`perspective-(${t})`:m(t)?`perspective-[${a(t)}]`:`perspective-${t}`}function Se(t){return fe.has(t)?`perspective-origin-${t}`:`perspective-origin-[${a(t)}]`}function lt(t,r){if(!u()||ye(t))return;let e=he(t);g||(e+=vt(r)),console.warn(e)}function ye(t){return!!(b[t]||pt.has(t)||O.has(t)||K[t]||_(t)||t.startsWith("--")||t.startsWith("[")||t.startsWith("@")||p.has(t)||z.has(t)||it(t)!==null||t==="min"||t==="max")}function he(t){let r=g?` at ${g}`:"",e=Q[t];if(e)return`[csszyx] "${t}" was removed${r}: ${e}.`;let n=J[t];return n?`[csszyx] Use the canonical key "${n}" instead of "${t}"${r}.`:/^\d+(?:\.\d+)?$/.test(t)?`[csszyx] sz received a numeric key "${t}"${r}. This usually means an array or a spread was passed where an object of sz keys was expected. The value is ignored.`:`[csszyx] Unknown property "${t}" in sz prop${r}. The class is still emitted, so it styles nothing unless Tailwind serves that utility. Check for typos. If the class is intentional, define it with Tailwind's @utility.`}function Ce(t,r,e,n){let o=yt(e),i=Pe(t,r,o.value),s=i.startsWith("-")&&v.has(r)?`${n}-${r}-${i.substring(1)}`:`${n}${r}-${i}`;return o.important?`${s}!`:s}function Pe(t,r,e){if(t==="ring"&&e==="none")return"0";if(t==="fontFeatures"&&e==="normal")return"[normal]";if($e(e))return`[${a(e)}]`;let n=we(t,e);if(n)return n;if(e.startsWith("var("))return`[${a(e)}]`;let o=xe(t,r,e);return o||(m(e)||/^\d+\.\d+%$/.test(e)?`[${a(e)}]`:e)}function $e(t){return nt(t)||t.startsWith("--")&&t.includes("(")}function we(t,r){if(!r.startsWith("--"))return null;let e=ft[t];return e?`(${e}:${r})`:`(${r})`}function xe(t,r,e){return/^\d+\/\d+$/.test(e)?Nt.has(t)?e:`[${e}]`:r!=="aspect"||!/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/.test(e)?null:`[${e}]`}var ke=/^text-(xs|sm|base|lg|[2-9]?xl|\[[^\]]+\]|\([^)]+\))$/,Ne=/^leading-(.+)$/;function Ae(t){let r=[],e=[];for(let i=0;i<t.length;i++)Re(t[i],i,r,e);if(r.length===0||e.length===0)return t;let n=[...t],o=new Set;for(let i of r){let s=Oe(i.prefix,e,o);s&&(n[i.index]=`${i.prefix}text-${i.size}/${s.value}`,o.add(s.index))}return o.size===0?t:n.filter((i,s)=>!o.has(s))}function Re(t,r,e,n){let o=t.lastIndexOf(":"),i=o===-1?"":t.slice(0,o+1),s=o===-1?t:t.slice(o+1),c=ke.exec(s);c&&e.push({index:r,prefix:i,size:c[1]});let y=Ne.exec(s);y&&n.push({index:r,prefix:i,value:y[1]})}function Oe(t,r,e){return r.find(n=>n.prefix===t&&!e.has(n.index))}function Ie(t,r){let e=Ae(t).filter(Boolean);return{className:(r?e.map(o=>r[o]||o):e).join(" ")}}function Te(t,r){return r<0&&v.has(t)?`-${t}-${Math.abs(r)}`:`${t}-${r}`}function Ee(t){return typeof t=="number"?t*4%1!==0:typeof t=="string"&&/^\d+(?:\.\d+)?$/.test(t)}function ze(t,r,e,n,o,i){if(lt(t,o),!/^\d+(?:\.\d+)?$/.test(t)){if(e===!0){let s=O.has(t)&&St[t]||r;i.push(`${n}${s}`);return}if(t==="animationDelay"){let s=typeof e=="number"?`${e}ms`:String(e);i.push(`${n}[animation-delay:${s}]`);return}if((t==="leading"||t==="lineHeight")&&Ee(e)){i.push(`${n}leading-[${e}]`);return}if(t==="weight"&&typeof e=="number"){i.push(`${n}${r}-[${e}]`);return}if(typeof e=="number"){tt(t,e),i.push(`${n}${Te(r,e)}`);return}typeof e=="string"&&Le(t,r,e,n,i)}}function Le(t,r,e,n,o){if($t(t,e)){wt(t,e);return}/^-?\d+(?:\.\d+)?$/.test(e)&&tt(t,Number(e)),xt(t,e),o.push(Ce(t,r,e,n))}function _e(t,r,e,n){if(t==="css")return R(r)&&We(r,e,n),!0;if(!R(r))return!1;if(t==="bgImg"){let o=tr(r);return o&&n.push(`${e}${o}`),!0}if(vr.has(t)){for(let o of ne(t,r))n.push(`${e}${o}`);return!0}return t in b&&"color"in r?(n.push(ir(t,r,e)),!0):(Ge(t,r),Me(t,r,e,n),!0)}var Z=new Set;function Ge(t,r){if(!u()||!(t in b)||p.has(t)||z.has(t)||Z.has(t))return;Z.add(t);let e=g?` at ${g}`:"",n=Object.keys(r).slice(0,3).join(", ");console.warn(`[csszyx] "${t}" is a property, not a variant, but received an object { ${n} }${e}. This compiles to "${t}:*" classes that match no Tailwind variant and generate no CSS. Move the nested keys up a level, or for color opacity use { color: '...', op: ... }.`)}function R(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}function We(t,r,e){for(let[n,o]of Object.entries(t))typeof o!="string"&&typeof o!="number"||e.push(`${r}[${ot(n)}:${a(String(o))}]`)}function Me(t,r,e,n){let o=dr(t,r,e);if(o!==null){n.push(...o);return}if(t==="min"||t==="max"){gr(t,r,e,n);return}if(t.startsWith("@")){fr(t,r,e,n);return}let i=I(t)?rt(t):C(t),s=f(r,`${e}${i}:`);s.className&&n.push(s.className)}function je(t,r){return!(r!==!0||!mt[t])}function Ve(t,r,e,n){if(typeof r!="string")return!1;if(t.startsWith("@"))return n.push(`${e}${A[t]||t}/${r}`),!0;if(t==="group"||t==="peer")return n.push(`${e}${t}/${r}`),!0;if(x[t]===1&&!ur(t,r.replace(/!$/,"")))return!0;let o=K[t]?.[r];if(o)return n.push(`${e}${o}`),!0;let i=it(t);return i!==null?(n.push(`${e}${i}:${r}`),!0):!1}function Be(t,r,e,n){return t.startsWith("--")?(n.push(`${e}[${t}:${r}]`),!0):t!=="container"?!1:(r===!0?n.push(`${e}container`):typeof r=="string"&&n.push(`${e}@container/${r}`),!0)}function Ue(t,r,e,n,o){if(r===!1||r===null||r===void 0)return;if(t in J||t in Q){lt(t,n);return}if(je(t,r)||_e(t,r,e,o)||Ve(t,r,e,o)||Be(t,r,e,o))return;let i=b[t]||ot(t);Sr(t,i,r,e,o)||De(t,r,e,o)||ze(t,i,r,e,n,o)}function De(t,r,e,n){return typeof r!="string"?!1:Pr(t,r,e,n)||Nr(t,r,e,n)||Or(t,r,e,n)||zr(t,r,e,n)||Wr(t,r,e,n)||ce(t,r,e,n)||pe(t,r,e,n)?!0:t==="bgImg"?(n.push(`${e}${Br(r)}`),!0):Fr(t,r,e,n)}function Ye(t,r,e){let n=[];for(let[o,i]of Object.entries(t))Ue(o,i,r,t,n);return Ie(n,e)}function Fe(t){let r=t.trim(),e=r.startsWith("{")?r:`{${r}}`,n=0,o=()=>{for(;n<e.length&&/\s/.test(e[n]);)n++},i=l=>{n++;let d="";for(;n<e.length&&e[n]!==l;)e[n]==="\\"?(n++,n<e.length&&(d+=e[n])):d+=e[n],n++;return n++,d},s=()=>{if(o(),e[n]==="'"||e[n]==='"')return i(e[n]);let l="";if(e[n]==="["){let d=0;for(;n<e.length&&(e[n]==="["&&d++,e[n]==="]"&&d--,l+=e[n],n++,d!==0););return l}for(;n<e.length&&/[\w$@\-.]/.test(e[n]);)l+=e[n],n++;return l},c=()=>{o();let l=e[n];if(l==="'"||l==='"')return i(l);if(l==="{")return $();if(l==="[")return y();let d="";for(;n<e.length&&/[\w.\-+]/.test(e[n]);)d+=e[n],n++;if(d==="true")return!0;if(d==="false")return!1;if(d==="null")return null;let w=Number(d);return!Number.isNaN(w)&&d!==""?w:d},y=()=>{n++;let l=[];for(o();n<e.length&&e[n]!=="]";)l.push(c()),o(),e[n]===","&&n++,o();return n++,l},$=()=>{n++;let l={};for(o();n<e.length&&e[n]!=="}";){let d=s();o(),e[n]===":"&&n++;let w=c();l[d]=w,o(),e[n]===","&&n++,o()}return n++,l};return o(),$()}function G(t){let r=t.getAttribute("sz");if(!r)return;let e=t.dataset;if(e.szProcessed===void 0){e.szProcessed="";try{let n=Fe(r),o=window.__SZ_MANGLE_MAP__,{className:i}=f(n,"",o);i&&i.split(" ").forEach(s=>{s&&t.classList.add(s)})}catch(n){r.trim()&&!r.includes("{")?r.split(/\s+/).forEach(o=>{o&&t.classList.add(o)}):console.error("[csszyx] Parsing error:",r,n)}t.removeAttribute("sz"),delete e.szProcessed}}function ct(){document.querySelectorAll("[sz]:not([data-sz-processed])").forEach(G),document.body.classList.add("sz-ready")}function Xe(t){t.hasAttribute("sz")&&G(t),t.querySelectorAll("[sz]:not([data-sz-processed])").forEach(G)}var dt=new MutationObserver(t=>{for(let r of t)for(let e of r.addedNodes)e instanceof HTMLElement&&Xe(e)});typeof window<"u"&&(document.readyState==="loading"?window.addEventListener("DOMContentLoaded",()=>{ct(),dt.observe(document.body,{childList:!0,subtree:!0})}):(ct(),dt.observe(document.body,{childList:!0,subtree:!0})));})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "csszyx",
|
|
3
|
-
"version": "0.15.
|
|
3
|
+
"version": "0.15.3",
|
|
4
4
|
"description": "Universal CSS-in-JS for Tailwind CSS with WASM core",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
@@ -73,18 +73,18 @@
|
|
|
73
73
|
"dist"
|
|
74
74
|
],
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@csszyx/compiler": "0.15.
|
|
77
|
-
"@csszyx/core": "0.15.
|
|
78
|
-
"@csszyx/dynamic": "0.15.
|
|
79
|
-
"@csszyx/
|
|
80
|
-
"@csszyx/
|
|
81
|
-
"@csszyx/unplugin": "0.15.
|
|
76
|
+
"@csszyx/compiler": "0.15.3",
|
|
77
|
+
"@csszyx/core": "0.15.3",
|
|
78
|
+
"@csszyx/dynamic": "0.15.3",
|
|
79
|
+
"@csszyx/runtime": "0.15.3",
|
|
80
|
+
"@csszyx/types": "0.15.3",
|
|
81
|
+
"@csszyx/unplugin": "0.15.3"
|
|
82
82
|
},
|
|
83
83
|
"devDependencies": {
|
|
84
84
|
"esbuild": "^0.28.2",
|
|
85
85
|
"typescript": "^6.0.3",
|
|
86
86
|
"unbuild": "^3.6.1",
|
|
87
|
-
"vitest": "^4.1.
|
|
87
|
+
"vitest": "^4.1.11"
|
|
88
88
|
},
|
|
89
89
|
"sideEffects": [
|
|
90
90
|
"./dist/lowering.mjs"
|