@twind/preset-tailwind
Version:
Tailwind CSS preset for twind
2 lines (1 loc) • 33.3 kB
JavaScript
this.twind=this.twind||{},this.twind.presetTailwind=function(e){"use strict";function t(){return(t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var a in o)Object.prototype.hasOwnProperty.call(o,a)&&(e[a]=o[a])}return e}).apply(this,arguments)}function o(){return t.apply(this,arguments)}let a={screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},columns:{auto:"auto","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},spacing:o({px:"1px",0:"0px"},n(4,"rem",4,.5,.5),n(12,"rem",4,5),{14:"3.5rem"},n(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"},aspectRatio:{auto:"auto",square:"1/1",video:"16/9"},backdropBlur:c("blur"),backdropBrightness:c("brightness"),backdropContrast:c("contrast"),backdropGrayscale:c("grayscale"),backdropHueRotate:c("hueRotate"),backdropInvert:c("invert"),backdropOpacity:c("opacity"),backdropSaturate:c("saturate"),backdropSepia:c("sepia"),backgroundColor:c("colors"),backgroundImage:{none:"none"},backgroundOpacity:c("opacity"),backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{none:"none",0:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},brightness:o({},n(200,"",100,0,50),n(110,"",100,90,5),{75:"0.75",125:"1.25"}),borderColor:({theme:e})=>o({DEFAULT:e("colors.gray.200","currentColor")},e("colors")),borderOpacity:c("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem","1/2":"50%",full:"9999px"},borderSpacing:c("spacing"),borderWidth:o({DEFAULT:"1px"},i(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 -1px rgba(0,0,0,0.1)",md:"0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1)",lg:"0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1)",xl:"0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1)","2xl":"0 25px 50px -12px rgba(0,0,0,0.25)",inner:"inset 0 2px 4px 0 rgba(0,0,0,0.05)",none:"0 0 #0000"},boxShadowColor:c("colors"),caretColor:c("colors"),accentColor:({theme:e})=>o({auto:"auto"},e("colors")),contrast:o({},n(200,"",100,0,50),{75:"0.75",125:"1.25"}),content:{none:"none"},divideColor:c("borderColor"),divideOpacity:c("borderOpacity"),divideWidth:c("borderWidth"),dropShadow:{sm:"0 1px 1px rgba(0,0,0,0.05)",DEFAULT:["0 1px 2px rgba(0,0,0,0.1)","0 1px 1px rgba(0,0,0,0.06)"],md:["0 4px 3px rgba(0,0,0,0.07)","0 2px 2px rgba(0,0,0,0.06)"],lg:["0 10px 8px rgba(0,0,0,0.04)","0 4px 3px rgba(0,0,0,0.1)"],xl:["0 20px 13px rgba(0,0,0,0.03)","0 8px 5px rgba(0,0,0,0.08)"],"2xl":"0 25px 25px rgba(0,0,0,0.15)",none:"0 0 #0000"},fill:({theme:e})=>o({},e("colors"),{none:"none"}),grayscale:{DEFAULT:"100%",0:"0"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},invert:{DEFAULT:"100%",0:"0"},flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>o({},e("spacing"),r(2,6),r(12,12),{auto:"auto",full:"100%"}),flexGrow:{DEFAULT:1,0:0},flexShrink:{DEFAULT:1,0:0},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:c("spacing"),gradientColorStops:c("colors"),gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0,1fr)"},gridColumn:{auto:"auto","span-full":"1 / -1"},gridRow:{auto:"auto","span-full":"1 / -1"},gridTemplateColumns:{none:"none"},gridTemplateRows:{none:"none"},height:({theme:e})=>o({},e("spacing"),r(2,6),{min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:e})=>o({},e("spacing"),r(2,4),{auto:"auto",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:o({},n(10,"rem",4,3),{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"}),margin:({theme:e})=>o({auto:"auto"},e("spacing")),maxHeight:({theme:e})=>o({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh"},e("spacing")),maxWidth:({theme:e,breakpoints:t})=>o({},t(e("screens")),{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",fit:"fit-content",prose:"65ch"}),minHeight:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh"},minWidth:{0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"},opacity:o({},n(100,"",100,0,10),{5:"0.05",25:"0.25",75:"0.75",95:"0.95"}),order:{first:"-9999",last:"9999",none:"0"},padding:c("spacing"),placeholderColor:c("colors"),placeholderOpacity:c("opacity"),outlineColor:c("colors"),outlineOffset:i(8,"px"),outlineWidth:i(8,"px"),ringColor:({theme:e})=>o({},e("colors"),{DEFAULT:"#3b82f6"}),ringOffsetColor:c("colors"),ringOffsetWidth:i(8,"px"),ringOpacity:({theme:e})=>o({},e("opacity"),{DEFAULT:"0.5"}),ringWidth:o({DEFAULT:"3px"},i(8,"px")),rotate:o({},i(2,"deg"),i(12,"deg",3),i(180,"deg",45)),saturate:n(200,"",100,0,50),scale:o({},n(150,"",100,0,50),n(110,"",100,90,5),{75:"0.75",125:"1.25"}),scrollMargin:c("spacing"),scrollPadding:c("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:o({},i(2,"deg"),i(12,"deg",3)),space:c("spacing"),stroke:({theme:e})=>o({},e("colors"),{none:"none"}),strokeWidth:n(2),textColor:c("colors"),textDecorationColor:c("colors"),textDecorationThickness:o({"from-font":"from-font",auto:"auto"},i(8,"px")),textUnderlineOffset:o({auto:"auto"},i(8,"px")),textIndent:c("spacing"),textOpacity:c("opacity"),transitionDuration:({theme:e})=>o({},e("durations"),{DEFAULT:"150ms"}),transitionDelay:c("durations"),transitionProperty:{none:"none",all:"all",DEFAULT:"color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter",colors:"color,background-color,border-color,text-decoration-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:({theme:e})=>o({},e("spacing"),r(2,4),{full:"100%"}),width:({theme:e})=>o({min:"min-content",max:"max-content",fit:"fit-content",screen:"100vw"},e("flexBasis")),willChange:{scroll:"scroll-position"},zIndex:o({},n(50,"",1,0,10),{auto:"auto"})};function r(e,t){let o={};do for(var a=1;a<e;a++)o[`${a}/${e}`]=Number((a/e*100).toFixed(6))+"%";while(++e<=t)return o}function i(e,t,o=0){let a={};for(;o<=e;o=2*o||1)a[o]=o+t;return a}function n(e,t="",o=1,a=0,r=1,i={}){for(;a<=e;a+=r)i[a]=a/o+t;return i}function c(e){return({theme:t})=>t(e)}let l={"*,::before,::after":{boxSizing:"border-box",borderWidth:"0",borderStyle:"solid",borderColor:"theme(borderColor.DEFAULT, currentColor)"},"::before,::after":{"--tw-content":"''"},html:{lineHeight:1.5,WebkitTextSizeAdjust:"100%",MozTabSize:"4",tabSize:4,fontFamily:`theme(fontFamily.sans, ${a.fontFamily.sans})`,fontFeatureSettings:"theme(fontFamily.sans[1].fontFeatureSettings, normal)"},body:{margin:"0",lineHeight:"inherit"},hr:{height:"0",color:"inherit",borderTopWidth:"1px"},"abbr:where([title])":{textDecoration:"underline dotted"},"h1,h2,h3,h4,h5,h6":{fontSize:"inherit",fontWeight:"inherit"},a:{color:"inherit",textDecoration:"inherit"},"b,strong":{fontWeight:"bolder"},"code,kbd,samp,pre":{fontFamily:`theme(fontFamily.mono, ${a.fontFamily.mono})`,fontFeatureSettings:"theme(fontFamily.mono[1].fontFeatureSettings, normal)",fontSize:"1em"},small:{fontSize:"80%"},"sub,sup":{fontSize:"75%",lineHeight:0,position:"relative",verticalAlign:"baseline"},sub:{bottom:"-0.25em"},sup:{top:"-0.5em"},table:{textIndent:"0",borderColor:"inherit",borderCollapse:"collapse"},"button,input,optgroup,select,textarea":{fontFamily:"inherit",fontSize:"100%",lineHeight:"inherit",color:"inherit",margin:"0",padding:"0"},"button,select":{textTransform:"none"},"button,[type='button'],[type='reset'],[type='submit']":{WebkitAppearance:"button",backgroundColor:"transparent",backgroundImage:"none"},":-moz-focusring":{outline:"auto"},":-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"},"blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre":{margin:"0"},fieldset:{margin:"0",padding:"0"},legend:{padding:"0"},"ol,ul,menu":{listStyle:"none",margin:"0",padding:"0"},textarea:{resize:"vertical"},"input::placeholder,textarea::placeholder":{opacity:1,color:"theme(colors.gray.400, #9ca3af)"},'button,[role="button"]':{cursor:"pointer"},":disabled":{cursor:"default"},"img,svg,video,canvas,audio,iframe,embed,object":{display:"block",verticalAlign:"middle"},"img,video":{maxWidth:"100%",height:"auto"},"[hidden]":{display:"none"}},s=[e.match("\\[([-\\w]+):(.+)]",({1:t,2:o},a)=>({"@layer overrides":{"&":{[t]:e.arbitrary(`[${o}]`,"",a)}}})),e.match("(group|peer)([~/][^-[]+)?",({input:e},{h:t})=>[{c:t(e)}]),e.matchTheme("aspect-","aspectRatio"),e.match("container",(t,{theme:a})=>{let{screens:r=a("screens"),center:i,padding:n}=a("container"),c=o({width:"100%",marginRight:i&&"auto",marginLeft:i&&"auto"},m("xs"));for(let l in r){let s=r[l];"string"==typeof s&&(c[e.mql(s)]={"&":o({maxWidth:s},m(l))})}return c;function m(e){let t=n&&("string"==typeof n?n:n[e]||n.DEFAULT);if(t)return{paddingRight:t,paddingLeft:t}}}),e.matchTheme("content-","content",({_:e})=>({"--tw-content":e,content:"var(--tw-content)"})),e.match("(?:box-)?decoration-(slice|clone)","boxDecorationBreak"),e.match("box-(border|content)","boxSizing",({1:e})=>e+"-box"),e.match("hidden",{display:"none"}),e.match("table-(auto|fixed)","tableLayout"),e.match(["(block|flex|table|grid|inline|contents|flow-root|list-item)","(inline-(block|flex|table|grid))","(table-(caption|cell|column|row|(column|row|footer|header)-group))"],"display"),"(float)-(left|right|none)","(clear)-(left|right|none|both)","(overflow(?:-[xy])?)-(auto|hidden|clip|visible|scroll)","(isolation)-(auto)",e.match("isolate","isolation"),e.match("object-(contain|cover|fill|none|scale-down)","objectFit"),e.matchTheme("object-","objectPosition"),e.match("object-(top|bottom|center|(left|right)(-(top|bottom))?)","objectPosition",m),e.match("overscroll(-[xy])?-(auto|contain|none)",({1:e="",2:t})=>({["overscroll-behavior"+e]:t})),e.match("(static|fixed|absolute|relative|sticky)","position"),e.matchTheme("-?inset(-[xy])?(?:$|-)","inset",({1:e,_:t})=>({top:"-x"!=e&&t,right:"-y"!=e&&t,bottom:"-x"!=e&&t,left:"-y"!=e&&t})),e.matchTheme("-?(top|bottom|left|right)(?:$|-)","inset"),e.match("(visible|collapse)","visibility"),e.match("invisible",{visibility:"hidden"}),e.matchTheme("-?z-","zIndex"),e.match("flex-((row|col)(-reverse)?)","flexDirection",d),e.match("flex-(wrap|wrap-reverse|nowrap)","flexWrap"),e.matchTheme("(flex-(?:grow|shrink))(?:$|-)"),e.matchTheme("(flex)-"),e.matchTheme("grow(?:$|-)","flexGrow"),e.matchTheme("shrink(?:$|-)","flexShrink"),e.matchTheme("basis-","flexBasis"),e.matchTheme("-?(order)-"),"-?(order)-(\\d+)",e.matchTheme("grid-cols-","gridTemplateColumns"),e.match("grid-cols-(\\d+)","gridTemplateColumns",v),e.matchTheme("col-","gridColumn"),e.match("col-(span)-(\\d+)","gridColumn",y),e.matchTheme("col-start-","gridColumnStart"),e.match("col-start-(auto|\\d+)","gridColumnStart"),e.matchTheme("col-end-","gridColumnEnd"),e.match("col-end-(auto|\\d+)","gridColumnEnd"),e.matchTheme("grid-rows-","gridTemplateRows"),e.match("grid-rows-(\\d+)","gridTemplateRows",v),e.matchTheme("row-","gridRow"),e.match("row-(span)-(\\d+)","gridRow",y),e.matchTheme("row-start-","gridRowStart"),e.match("row-start-(auto|\\d+)","gridRowStart"),e.matchTheme("row-end-","gridRowEnd"),e.match("row-end-(auto|\\d+)","gridRowEnd"),e.match("grid-flow-((row|col)(-dense)?)","gridAutoFlow",e=>m(d(e))),e.match("grid-flow-(dense)","gridAutoFlow"),e.matchTheme("auto-cols-","gridAutoColumns"),e.matchTheme("auto-rows-","gridAutoRows"),e.matchTheme("gap-x(?:$|-)","gap","columnGap"),e.matchTheme("gap-y(?:$|-)","gap","rowGap"),e.matchTheme("gap(?:$|-)","gap"),"(justify-(?:items|self))-",e.match("justify-","justifyContent",f),e.match("(content|items|self)-",e=>({["align-"+e[1]]:f(e)})),e.match("(place-(content|items|self))-",({1:e,$$:t})=>({[e]:("wun".includes(t[3])?"space-":"")+t})),e.matchTheme("p([xytrbl])?(?:$|-)","padding",g("padding")),e.matchTheme("-?m([xytrbl])?(?:$|-)","margin",g("margin")),e.matchTheme("-?space-(x|y)(?:$|-)","space",({1:e,_:t})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${e}-reverse`]:"0",["margin-"+({y:"top",x:"left"})[e]]:`calc(${t} * calc(1 - var(--tw-space-${e}-reverse)))`,["margin-"+({y:"bottom",x:"right"})[e]]:`calc(${t} * var(--tw-space-${e}-reverse))`}})),e.match("space-(x|y)-reverse",({1:e})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${e}-reverse`]:"1"}})),e.matchTheme("w-","width"),e.matchTheme("min-w-","minWidth"),e.matchTheme("max-w-","maxWidth"),e.matchTheme("h-","height"),e.matchTheme("min-h-","minHeight"),e.matchTheme("max-h-","maxHeight"),e.matchTheme("font-","fontWeight"),e.matchTheme("font-","fontFamily",({_:t})=>"string"==typeof(t=e.asArray(t))[1]?{fontFamily:p(t)}:o({fontFamily:p(t[0])},t[1])),e.match("antialiased",{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),e.match("subpixel-antialiased",{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"}),e.match("italic","fontStyle"),e.match("not-italic",{fontStyle:"normal"}),e.match("(ordinal|slashed-zero|(normal|lining|oldstyle|proportional|tabular)-nums|(diagonal|stacked)-fractions)",({1:e,2:t="",3:a})=>"normal"==t?{fontVariantNumeric:"normal"}:o({["--tw-"+(a?"numeric-fraction":"pt".includes(t[0])?"numeric-spacing":t?"numeric-figure":e)]:e,fontVariantNumeric:"var(--tw-ordinal) var(--tw-slashed-zero) var(--tw-numeric-figure) var(--tw-numeric-spacing) var(--tw-numeric-fraction)"},T({"--tw-ordinal":"var(--tw-empty,/*!*/ /*!*/)","--tw-slashed-zero":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-figure":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-spacing":"var(--tw-empty,/*!*/ /*!*/)","--tw-numeric-fraction":"var(--tw-empty,/*!*/ /*!*/)"}))),e.matchTheme("tracking-","letterSpacing"),e.matchTheme("leading-","lineHeight"),e.match("list-(inside|outside)","listStylePosition"),e.matchTheme("list-","listStyleType"),e.match("list-","listStyleType"),e.matchTheme("placeholder-opacity-","placeholderOpacity",({_:e})=>({"&::placeholder":{"--tw-placeholder-opacity":e}})),e.matchColor("placeholder-",{property:"color",selector:"&::placeholder"}),e.match("text-(left|center|right|justify|start|end)","textAlign"),e.match("text-(ellipsis|clip)","textOverflow"),e.matchTheme("text-opacity-","textOpacity","--tw-text-opacity"),e.matchColor("text-",{property:"color"}),e.matchTheme("text-","fontSize",({_:e})=>"string"==typeof e?{fontSize:e}:o({fontSize:e[0]},"string"==typeof e[1]?{lineHeight:e[1]}:e[1])),e.matchTheme("indent-","textIndent"),e.match("(overline|underline|line-through)","textDecorationLine"),e.match("no-underline",{textDecorationLine:"none"}),e.matchTheme("underline-offset-","textUnderlineOffset"),e.matchColor("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),e.matchTheme("decoration-","textDecorationThickness"),e.match("decoration-","textDecorationStyle"),e.match("(uppercase|lowercase|capitalize)","textTransform"),e.match("normal-case",{textTransform:"none"}),e.match("truncate",{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),e.match("align-","verticalAlign"),e.match("whitespace-","whiteSpace"),e.match("break-normal",{wordBreak:"normal",overflowWrap:"normal"}),e.match("break-words",{overflowWrap:"break-word"}),e.match("break-all",{wordBreak:"break-all"}),e.match("break-keep",{wordBreak:"keep-all"}),e.matchColor("caret-",{opacityVariable:!1,opacitySection:"opacity"}),e.matchColor("accent-",{opacityVariable:!1,opacitySection:"opacity"}),e.match("bg-gradient-to-([trbl]|[tb][rl])","backgroundImage",({1:e})=>`linear-gradient(to ${h(e," ")},var(--tw-gradient-stops))`),e.matchColor("from-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:e})=>({"--tw-gradient-from":e.value,"--tw-gradient-to":e.color({opacityValue:"0"}),"--tw-gradient-stops":"var(--tw-gradient-from),var(--tw-gradient-to)"})),e.matchColor("via-",{section:"gradientColorStops",opacityVariable:!1,opacitySection:"opacity"},({_:e})=>({"--tw-gradient-to":e.color({opacityValue:"0"}),"--tw-gradient-stops":`var(--tw-gradient-from),${e.value},var(--tw-gradient-to)`})),e.matchColor("to-",{section:"gradientColorStops",property:"--tw-gradient-to",opacityVariable:!1,opacitySection:"opacity"}),e.match("bg-(fixed|local|scroll)","backgroundAttachment"),e.match("bg-origin-(border|padding|content)","backgroundOrigin",({1:e})=>e+"-box"),e.match(["bg-(no-repeat|repeat(-[xy])?)","bg-repeat-(round|space)"],"backgroundRepeat"),e.match("bg-blend-","backgroundBlendMode"),e.match("bg-clip-(border|padding|content|text)","backgroundClip",({1:e})=>e+("text"==e?"":"-box")),e.matchTheme("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),e.matchColor("bg-",{section:"backgroundColor"}),e.matchTheme("bg-","backgroundImage"),e.matchTheme("bg-","backgroundPosition"),e.match("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",m),e.matchTheme("bg-","backgroundSize"),e.matchTheme("rounded(?:$|-)","borderRadius"),e.matchTheme("rounded-([trbl]|[tb][rl])(?:$|-)","borderRadius",({1:e,_:t})=>{let o={t:["tl","tr"],r:["tr","br"],b:["bl","br"],l:["bl","tl"]}[e]||[e,e];return{[`border-${h(o[0])}-radius`]:t,[`border-${h(o[1])}-radius`]:t}}),e.match("border-(collapse|separate)","borderCollapse"),e.matchTheme("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),e.match("border-(solid|dashed|dotted|double|none)","borderStyle"),e.matchTheme("border-spacing(-[xy])?(?:$|-)","borderSpacing",({1:e,_:t})=>o({},T({"--tw-border-spacing-x":"0","--tw-border-spacing-y":"0"}),{["--tw-border-spacing"+(e||"-x")]:t,["--tw-border-spacing"+(e||"-y")]:t,"border-spacing":"var(--tw-border-spacing-x) var(--tw-border-spacing-y)"})),e.matchColor("border-([xytrbl])-",{section:"borderColor"},g("border","Color")),e.matchColor("border-"),e.matchTheme("border-([xytrbl])(?:$|-)","borderWidth",g("border","Width")),e.matchTheme("border(?:$|-)","borderWidth"),e.matchTheme("divide-opacity(?:$|-)","divideOpacity",({_:e})=>({"&>:not([hidden])~:not([hidden])":{"--tw-divide-opacity":e}})),e.match("divide-(solid|dashed|dotted|double|none)",({1:e})=>({"&>:not([hidden])~:not([hidden])":{borderStyle:e}})),e.match("divide-([xy]-reverse)",({1:e})=>({"&>:not([hidden])~:not([hidden])":{["--tw-divide-"+e]:"1"}})),e.matchTheme("divide-([xy])(?:$|-)","divideWidth",({1:e,_:t})=>{let o={x:"lr",y:"tb"}[e];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${e}-reverse`]:"0",[`border-${h(o[0])}Width`]:`calc(${t} * calc(1 - var(--tw-divide-${e}-reverse)))`,[`border-${h(o[1])}Width`]:`calc(${t} * var(--tw-divide-${e}-reverse))`}}}),e.matchColor("divide-",{property:"borderColor",selector:"&>:not([hidden])~:not([hidden])"}),e.matchTheme("ring-opacity(?:$|-)","ringOpacity","--tw-ring-opacity"),e.matchColor("ring-offset-",{property:"--tw-ring-offset-color",opacityVariable:!1}),e.matchTheme("ring-offset(?:$|-)","ringOffsetWidth","--tw-ring-offset-width"),e.match("ring-inset",{"--tw-ring-inset":"inset"}),e.matchColor("ring-",{property:"--tw-ring-color"}),e.matchTheme("ring(?:$|-)","ringWidth",({_:t},{theme:a})=>o({},T({"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000","&":{"--tw-ring-inset":"var(--tw-empty,/*!*/ /*!*/)","--tw-ring-offset-width":a("ringOffsetWidth","","0px"),"--tw-ring-offset-color":e.toColorValue(a("ringOffsetColor","","#fff")),"--tw-ring-color":e.toColorValue(a("ringColor","","#93c5fd"),{opacityVariable:"--tw-ring-opacity"}),"--tw-ring-opacity":a("ringOpacity","","0.5")}}),{"--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(${t} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),e.matchColor("shadow-",{section:"boxShadowColor",opacityVariable:!1,opacitySection:"opacity"},({_:e})=>({"--tw-shadow-color":e.value,"--tw-shadow":"var(--tw-shadow-colored)"})),e.matchTheme("shadow(?:$|-)","boxShadow",({_:e})=>o({},T({"--tw-ring-offset-shadow":"0 0 #0000","--tw-ring-shadow":"0 0 #0000","--tw-shadow":"0 0 #0000","--tw-shadow-colored":"0 0 #0000"}),{"--tw-shadow":p(e),"--tw-shadow-colored":p(e).replace(/([^,]\s+)(?:#[a-f\d]+|(?:(?:hsl|rgb)a?|hwb|lab|lch|color|var)\(.+?\)|[a-z]+)(,|$)/g,"$1var(--tw-shadow-color)$2"),boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"})),e.matchTheme("(opacity)-"),e.match("mix-blend-","mixBlendMode"),...b(),...b("backdrop-"),e.matchTheme("transition(?:$|-)","transitionProperty",(e,{theme:t})=>({transitionProperty:p(e),transitionTimingFunction:"none"==e._?void 0:p(t("transitionTimingFunction","")),transitionDuration:"none"==e._?void 0:p(t("transitionDuration",""))})),e.matchTheme("duration(?:$|-)","transitionDuration","transitionDuration",p),e.matchTheme("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",p),e.matchTheme("delay(?:$|-)","transitionDelay","transitionDelay",p),e.matchTheme("animate(?:$|-)","animation",(e,{theme:t,h:o,e:a})=>{let r=p(e),i=r.split(" "),n=t("keyframes",i[0]);return n?{["@keyframes "+(i[0]=a(o(i[0])))]:n,animation:i.join(" ")}:{animation:r}}),"(transform)-(none)",e.match("transform",x),e.match("transform-(cpu|gpu)",({1:e})=>({"--tw-transform":w("gpu"==e)})),e.matchTheme("scale(-[xy])?-","scale",({1:e,_:t})=>o({["--tw-scale"+(e||"-x")]:t,["--tw-scale"+(e||"-y")]:t},x())),e.matchTheme("-?(rotate)-","rotate",u),e.matchTheme("-?(translate-[xy])-","translate",u),e.matchTheme("-?(skew-[xy])-","skew",u),e.match("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",m),"(appearance)-",e.matchTheme("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",e.matchTheme("(cursor)-"),"(cursor)-",e.match("snap-(none)","scroll-snap-type"),e.match("snap-(x|y|both)",({1:e})=>o({},T({"--tw-scroll-snap-strictness":"proximity"}),{"scroll-snap-type":e+" var(--tw-scroll-snap-strictness)"})),e.match("snap-(mandatory|proximity)","--tw-scroll-snap-strictness"),e.match("snap-(?:(start|end|center)|align-(none))","scroll-snap-align"),e.match("snap-(normal|always)","scroll-snap-stop"),e.match("scroll-(auto|smooth)","scroll-behavior"),e.matchTheme("scroll-p([xytrbl])?(?:$|-)","padding",g("scroll-padding")),e.matchTheme("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",g("scroll-margin")),e.match("touch-(auto|none|manipulation)","touch-action"),e.match("touch-(pinch-zoom|pan-(?:(x|left|right)|(y|up|down)))",({1:e,2:t,3:a})=>o({},T({"--tw-pan-x":"var(--tw-empty,/*!*/ /*!*/)","--tw-pan-y":"var(--tw-empty,/*!*/ /*!*/)","--tw-pinch-zoom":"var(--tw-empty,/*!*/ /*!*/)","--tw-touch-action":"var(--tw-pan-x) var(--tw-pan-y) var(--tw-pinch-zoom)"}),{[`--tw-${t?"pan-x":a?"pan-y":e}`]:e,"touch-action":"var(--tw-touch-action)"})),e.match("outline-none",{outline:"2px solid transparent","outline-offset":"2px"}),e.match("outline",{outlineStyle:"solid"}),e.match("outline-(dashed|dotted|double)","outlineStyle"),e.matchTheme("-?(outline-offset)-"),e.matchColor("outline-",{opacityVariable:!1,opacitySection:"opacity"}),e.matchTheme("outline-","outlineWidth"),"(pointer-events)-",e.matchTheme("(will-change)-"),"(will-change)-",["resize(?:-(none|x|y))?","resize",({1:e})=>({x:"horizontal",y:"vertical"})[e]||e||"both"],e.match("select-(none|text|all|auto)","userSelect"),e.matchColor("fill-",{section:"fill",opacityVariable:!1,opacitySection:"opacity"}),e.matchColor("stroke-",{section:"stroke",opacityVariable:!1,opacitySection:"opacity"}),e.matchTheme("stroke-","strokeWidth"),e.match("sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"}),e.match("not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"})];function m(e){return("string"==typeof e?e:e[1]).replace(/-/g," ").trim()}function d(e){return("string"==typeof e?e:e[1]).replace("col","column")}function h(e,t="-"){let o=[];for(let a of e)o.push({t:"top",r:"right",b:"bottom",l:"left"}[a]);return o.join(t)}function p(e){return e&&""+(e._||e)}function f({$$:e}){return(({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"})[e[3]||""]||"")+e}function g(t,a=""){return({1:r,_:i})=>{let n={x:"lr",y:"tb"}[r]||r+r;return n?o({},e.toCSS(t+"-"+h(n[0])+a,i),e.toCSS(t+"-"+h(n[1])+a,i)):e.toCSS(t+a,i)}}function b(t=""){let a=["blur","brightness","contrast","grayscale","hue-rotate","invert",t&&"opacity","saturate","sepia",!t&&"drop-shadow"].filter(Boolean),r={};for(let i of a)r[`--tw-${t}${i}`]="var(--tw-empty,/*!*/ /*!*/)";return r=o({},T(r),{[`${t}filter`]:a.map(e=>`var(--tw-${t}${e})`).join(" ")}),[`(${t}filter)-(none)`,e.match(`${t}filter`,r),...a.map(a=>e.matchTheme(`${"h"==a[0]?"-?":""}(${t}${a})(?:$|-)`,a,({1:t,_:i})=>o({[`--tw-${t}`]:e.asArray(i).map(e=>`${a}(${e})`).join(" ")},r)))]}function u({1:e,_:t}){return o({["--tw-"+e]:t},x())}function x(){return o({},T({"--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","--tw-transform":w()}),{transform:"var(--tw-transform)"})}function w(e){return[e?"translate3d(var(--tw-translate-x),var(--tw-translate-y),0)":"translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y))","rotate(var(--tw-rotate))","skewX(var(--tw-skew-x))","skewY(var(--tw-skew-y))","scaleX(var(--tw-scale-x))","scaleY(var(--tw-scale-y))"].join(" ")}function y({1:e,2:t}){return`${e} ${t} / ${e} ${t}`}function v({1:e}){return`repeat(${e},minmax(0,1fr))`}function T(e){return{"@layer defaults":{"*,::before,::after":e,"::backdrop":e}}}let k=[["sticky","@supports ((position: -webkit-sticky) or (position:sticky))"],["motion-reduce","@media (prefers-reduced-motion:reduce)"],["motion-safe","@media (prefers-reduced-motion:no-preference)"],["print","@media print"],["(portrait|landscape)",({1:e})=>`@media (orientation:${e})`],["contrast-(more|less)",({1:e})=>`@media (prefers-contrast:${e})`],["(first-(letter|line)|placeholder|backdrop|before|after)",({1:e})=>`&::${e}`],["(marker|selection)",({1:e})=>`& *::${e},&::${e}`],["file","&::file-selector-button"],["(first|last|only)",({1:e})=>`&:${e}-child`],["even","&:nth-child(2n)"],["odd","&:nth-child(odd)"],["open","&[open]"],["(aria|data)-",({1:t,$$:o},a)=>o&&`&[${t}-${a.theme(t,o)||e.arbitrary(o,"",a)||`${o}="true"`}]`],["((group|peer)(~[^-[]+)?)(-\\[(.+)]|[-[].+?)(\\/.+)?",({2:t,3:o="",4:a,5:r="",6:i=o},{e:n,h:c,v:l})=>{let s=e.normalize(r)||("["==a[0]?a:l(a.slice(1)));return`${(s.includes("&")?s:"&"+s).replace(/&/g,`:merge(.${n(c(t+i))})`)}${"p"==t[0]?"~":" "}&`}],["(ltr|rtl)",({1:e})=>`[dir="${e}"] &`],["supports-",({$$:t},o)=>{if(t&&(t=o.theme("supports",t)||e.arbitrary(t,"",o)),t)return t.includes(":")||(t+=":var(--tw)"),/^\w*\s*\(/.test(t)||(t=`(${t})`),`@supports ${t.replace(/\b(and|or|not)\b/g," $1 ").trim()}`}],["max-",({$$:t},o)=>{if(t&&(t=o.theme("screens",t)||e.arbitrary(t,"",o)),"string"==typeof t)return`@media not all and (min-width:${t})`}],["min-",({$$:t},o)=>(t&&(t=e.arbitrary(t,"",o)),t&&`@media (min-width:${t})`)],[/^\[(.+)]$/,({1:t})=>/[&@]/.test(t)&&e.normalize(t).replace(/[}]+$/,"").split("{")]],$={__proto__:null,slate:{50:"#f8fafc",100:"#f1f5f9",200:"#e2e8f0",300:"#cbd5e1",400:"#94a3b8",500:"#64748b",600:"#475569",700:"#334155",800:"#1e293b",900:"#0f172a"},gray:{50:"#f9fafb",100:"#f3f4f6",200:"#e5e7eb",300:"#d1d5db",400:"#9ca3af",500:"#6b7280",600:"#4b5563",700:"#374151",800:"#1f2937",900:"#111827"},zinc:{50:"#fafafa",100:"#f4f4f5",200:"#e4e4e7",300:"#d4d4d8",400:"#a1a1aa",500:"#71717a",600:"#52525b",700:"#3f3f46",800:"#27272a",900:"#18181b"},neutral:{50:"#fafafa",100:"#f5f5f5",200:"#e5e5e5",300:"#d4d4d4",400:"#a3a3a3",500:"#737373",600:"#525252",700:"#404040",800:"#262626",900:"#171717"},stone:{50:"#fafaf9",100:"#f5f5f4",200:"#e7e5e4",300:"#d6d3d1",400:"#a8a29e",500:"#78716c",600:"#57534e",700:"#44403c",800:"#292524",900:"#1c1917"},red:{50:"#fef2f2",100:"#fee2e2",200:"#fecaca",300:"#fca5a5",400:"#f87171",500:"#ef4444",600:"#dc2626",700:"#b91c1c",800:"#991b1b",900:"#7f1d1d"},orange:{50:"#fff7ed",100:"#ffedd5",200:"#fed7aa",300:"#fdba74",400:"#fb923c",500:"#f97316",600:"#ea580c",700:"#c2410c",800:"#9a3412",900:"#7c2d12"},amber:{50:"#fffbeb",100:"#fef3c7",200:"#fde68a",300:"#fcd34d",400:"#fbbf24",500:"#f59e0b",600:"#d97706",700:"#b45309",800:"#92400e",900:"#78350f"},yellow:{50:"#fefce8",100:"#fef9c3",200:"#fef08a",300:"#fde047",400:"#facc15",500:"#eab308",600:"#ca8a04",700:"#a16207",800:"#854d0e",900:"#713f12"},lime:{50:"#f7fee7",100:"#ecfccb",200:"#d9f99d",300:"#bef264",400:"#a3e635",500:"#84cc16",600:"#65a30d",700:"#4d7c0f",800:"#3f6212",900:"#365314"},green:{50:"#f0fdf4",100:"#dcfce7",200:"#bbf7d0",300:"#86efac",400:"#4ade80",500:"#22c55e",600:"#16a34a",700:"#15803d",800:"#166534",900:"#14532d"},emerald:{50:"#ecfdf5",100:"#d1fae5",200:"#a7f3d0",300:"#6ee7b7",400:"#34d399",500:"#10b981",600:"#059669",700:"#047857",800:"#065f46",900:"#064e3b"},teal:{50:"#f0fdfa",100:"#ccfbf1",200:"#99f6e4",300:"#5eead4",400:"#2dd4bf",500:"#14b8a6",600:"#0d9488",700:"#0f766e",800:"#115e59",900:"#134e4a"},cyan:{50:"#ecfeff",100:"#cffafe",200:"#a5f3fc",300:"#67e8f9",400:"#22d3ee",500:"#06b6d4",600:"#0891b2",700:"#0e7490",800:"#155e75",900:"#164e63"},sky:{50:"#f0f9ff",100:"#e0f2fe",200:"#bae6fd",300:"#7dd3fc",400:"#38bdf8",500:"#0ea5e9",600:"#0284c7",700:"#0369a1",800:"#075985",900:"#0c4a6e"},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"},violet:{50:"#f5f3ff",100:"#ede9fe",200:"#ddd6fe",300:"#c4b5fd",400:"#a78bfa",500:"#8b5cf6",600:"#7c3aed",700:"#6d28d9",800:"#5b21b6",900:"#4c1d95"},purple:{50:"#faf5ff",100:"#f3e8ff",200:"#e9d5ff",300:"#d8b4fe",400:"#c084fc",500:"#a855f7",600:"#9333ea",700:"#7e22ce",800:"#6b21a8",900:"#581c87"},fuchsia:{50:"#fdf4ff",100:"#fae8ff",200:"#f5d0fe",300:"#f0abfc",400:"#e879f9",500:"#d946ef",600:"#c026d3",700:"#a21caf",800:"#86198f",900:"#701a75"},pink:{50:"#fdf2f8",100:"#fce7f3",200:"#fbcfe8",300:"#f9a8d4",400:"#f472b6",500:"#ec4899",600:"#db2777",700:"#be185d",800:"#9d174d",900:"#831843"},rose:{50:"#fff1f2",100:"#ffe4e6",200:"#fecdd3",300:"#fda4af",400:"#fb7185",500:"#f43f5e",600:"#e11d48",700:"#be123c",800:"#9f1239",900:"#881337"}};return function({disablePreflight:e}={}){return function({colors:e,disablePreflight:t}={}){return{preflight:t?void 0:l,theme:o({},a,{colors:o({inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff"},e)}),variants:k,rules:s,finalize:e=>e.n&&e.d&&e.r.some(e=>/^&::(before|after)$/.test(e))&&!/(^|;)content:/.test(e.d)?o({},e,{d:"content:var(--tw-content);"+e.d}):e}}({colors:$,disablePreflight:e})}}(twind.core);//# sourceMappingURL=preset-tailwind.global.js.map