@xstyled/system
Advanced tools
Comparing version 2.3.0 to 2.4.0
@@ -6,2 +6,18 @@ # Change Log | ||
# [2.4.0](https://github.com/gregberge/xstyled/tree/master/packages/system/compare/v2.3.0...v2.4.0) (2021-03-28) | ||
### Bug Fixes | ||
* fix minW, minH, maxW, maxH ([#217](https://github.com/gregberge/xstyled/tree/master/packages/system/issues/217)) ([65c04de](https://github.com/gregberge/xstyled/tree/master/packages/system/commit/65c04deb8001835b4944fc9ac5dc34f2c7c64fab)) | ||
### Features | ||
* add system.apply utility ([#218](https://github.com/gregberge/xstyled/tree/master/packages/system/issues/218)) ([c32f714](https://github.com/gregberge/xstyled/tree/master/packages/system/commit/c32f71489c506c095bc8fb75dc41add9be2fe300)) | ||
# [2.3.0](https://github.com/gregberge/xstyled/tree/master/packages/system/compare/v2.2.3...v2.3.0) (2021-03-23) | ||
@@ -8,0 +24,0 @@ |
@@ -99,18 +99,18 @@ import * as CSS from 'csstype'; | ||
placeholderMaxHeight?: MaxHeightProp<T>; | ||
maxH?: MaxWidthProp<T>; | ||
motionSafeMaxH?: MaxWidthProp<T>; | ||
motionReduceMaxH?: MaxWidthProp<T>; | ||
firstMaxH?: MaxWidthProp<T>; | ||
lastMaxH?: MaxWidthProp<T>; | ||
oddMaxH?: MaxWidthProp<T>; | ||
evenMaxH?: MaxWidthProp<T>; | ||
visitedMaxH?: MaxWidthProp<T>; | ||
checkedMaxH?: MaxWidthProp<T>; | ||
focusWithinMaxH?: MaxWidthProp<T>; | ||
hoverMaxH?: MaxWidthProp<T>; | ||
focusMaxH?: MaxWidthProp<T>; | ||
focusVisibleMaxH?: MaxWidthProp<T>; | ||
activeMaxH?: MaxWidthProp<T>; | ||
disabledMaxH?: MaxWidthProp<T>; | ||
placeholderMaxH?: MaxWidthProp<T>; | ||
maxH?: MaxHeightProp<T>; | ||
motionSafeMaxH?: MaxHeightProp<T>; | ||
motionReduceMaxH?: MaxHeightProp<T>; | ||
firstMaxH?: MaxHeightProp<T>; | ||
lastMaxH?: MaxHeightProp<T>; | ||
oddMaxH?: MaxHeightProp<T>; | ||
evenMaxH?: MaxHeightProp<T>; | ||
visitedMaxH?: MaxHeightProp<T>; | ||
checkedMaxH?: MaxHeightProp<T>; | ||
focusWithinMaxH?: MaxHeightProp<T>; | ||
hoverMaxH?: MaxHeightProp<T>; | ||
focusMaxH?: MaxHeightProp<T>; | ||
focusVisibleMaxH?: MaxHeightProp<T>; | ||
activeMaxH?: MaxHeightProp<T>; | ||
disabledMaxH?: MaxHeightProp<T>; | ||
placeholderMaxH?: MaxHeightProp<T>; | ||
} | ||
@@ -136,18 +136,18 @@ export declare const maxHeight: import("../types").StyleGenerator; | ||
placeholderMinWidth?: MinWidthProp<T>; | ||
minW?: MaxWidthProp<T>; | ||
motionSafeMinW?: MaxWidthProp<T>; | ||
motionReduceMinW?: MaxWidthProp<T>; | ||
firstMinW?: MaxWidthProp<T>; | ||
lastMinW?: MaxWidthProp<T>; | ||
oddMinW?: MaxWidthProp<T>; | ||
evenMinW?: MaxWidthProp<T>; | ||
visitedMinW?: MaxWidthProp<T>; | ||
checkedMinW?: MaxWidthProp<T>; | ||
focusWithinMinW?: MaxWidthProp<T>; | ||
hoverMinW?: MaxWidthProp<T>; | ||
focusMinW?: MaxWidthProp<T>; | ||
focusVisibleMinW?: MaxWidthProp<T>; | ||
activeMinW?: MaxWidthProp<T>; | ||
disabledMinW?: MaxWidthProp<T>; | ||
placeholderMinW?: MaxWidthProp<T>; | ||
minW?: MinWidthProp<T>; | ||
motionSafeMinW?: MinWidthProp<T>; | ||
motionReduceMinW?: MinWidthProp<T>; | ||
firstMinW?: MinWidthProp<T>; | ||
lastMinW?: MinWidthProp<T>; | ||
oddMinW?: MinWidthProp<T>; | ||
evenMinW?: MinWidthProp<T>; | ||
visitedMinW?: MinWidthProp<T>; | ||
checkedMinW?: MinWidthProp<T>; | ||
focusWithinMinW?: MinWidthProp<T>; | ||
hoverMinW?: MinWidthProp<T>; | ||
focusMinW?: MinWidthProp<T>; | ||
focusVisibleMinW?: MinWidthProp<T>; | ||
activeMinW?: MinWidthProp<T>; | ||
disabledMinW?: MinWidthProp<T>; | ||
placeholderMinW?: MinWidthProp<T>; | ||
} | ||
@@ -173,18 +173,18 @@ export declare const minWidth: import("../types").StyleGenerator; | ||
placeholderMinHeight?: MinHeightProp<T>; | ||
minH?: MaxWidthProp<T>; | ||
motionSafeMinH?: MaxWidthProp<T>; | ||
motionReduceMinH?: MaxWidthProp<T>; | ||
firstMinH?: MaxWidthProp<T>; | ||
lastMinH?: MaxWidthProp<T>; | ||
oddMinH?: MaxWidthProp<T>; | ||
evenMinH?: MaxWidthProp<T>; | ||
visitedMinH?: MaxWidthProp<T>; | ||
checkedMinH?: MaxWidthProp<T>; | ||
focusWithinMinH?: MaxWidthProp<T>; | ||
hoverMinH?: MaxWidthProp<T>; | ||
focusMinH?: MaxWidthProp<T>; | ||
focusVisibleMinH?: MaxWidthProp<T>; | ||
activeMinH?: MaxWidthProp<T>; | ||
disabledMinH?: MaxWidthProp<T>; | ||
placeholderMinH?: MaxWidthProp<T>; | ||
minH?: MinHeightProp<T>; | ||
motionSafeMinH?: MinHeightProp<T>; | ||
motionReduceMinH?: MinHeightProp<T>; | ||
firstMinH?: MinHeightProp<T>; | ||
lastMinH?: MinHeightProp<T>; | ||
oddMinH?: MinHeightProp<T>; | ||
evenMinH?: MinHeightProp<T>; | ||
visitedMinH?: MinHeightProp<T>; | ||
checkedMinH?: MinHeightProp<T>; | ||
focusWithinMinH?: MinHeightProp<T>; | ||
hoverMinH?: MinHeightProp<T>; | ||
focusMinH?: MinHeightProp<T>; | ||
focusVisibleMinH?: MinHeightProp<T>; | ||
activeMinH?: MinHeightProp<T>; | ||
disabledMinH?: MinHeightProp<T>; | ||
placeholderMinH?: MinHeightProp<T>; | ||
} | ||
@@ -191,0 +191,0 @@ export declare const minHeight: import("../types").StyleGenerator; |
@@ -1,2 +0,2 @@ | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@xstyled/util"),r=function(e){return Math.round(e*Math.pow(10,4))/Math.pow(10,4)},t=function(r){return function(t){return e.num(t)&&0!==t?""+t+r:t}},o=t("ms"),n=t("px"),a=t("deg"),i=function(e,t){var o=(void 0===t?{}:t).rootFontSize;return r(e/(void 0===o?16:o))},p=function(r,t){return e.num(r)&&0!==r?i(r,t)+"rem":r},s=function(r,t){if(!e.string(r)||r.length<4)return r;if("rpx"!==r.slice(-3))return r;var o=Number(r.slice(0,r.length-3));return 0===o?0:i(o,t)+"rem"};function l(r){return e.string(r)?"-"+r:-1*r}var m=function(r,t){var o=t.rawValue,n=t.variants,a=t.props;if(e.string(o)){var i=o.startsWith("-"),p=i?o.substr(1):o,s=e.getThemeValue(a,p,n),m=e.is(s)?s:p;return i?l(m):m}var d=Math.abs(o),f=e.negative(o),u=e.is(n&&n[d])?n[d]:d;return f?l(u):u};function d(r){var t=e.getThemeValue(r,"screens");return e.is(t)?t:{}}var f=function(e){return e?"@media (min-width: "+e+")":null},u=function(e){return e?"@media (max-width: "+e+")":null},c=function(e,r){return e&&r?"@media (min-width: "+e+") and (max-width: "+r+")":null},x=function(e,r){var t=e[r];return 0===t?null:n(t)},g=function(e,r){var t=e[r];return 0===t?null:n(t-.02)},h={motionSafe:"@media (prefers-reduced-motion: no-preference)",motionReduce:"@media (prefers-reduced-motion: reduce)",first:"&:first-child",last:"&:last-child",odd:"&:odd",even:"&:even",visited:"&:visited",checked:"&:checked",focusWithin:"&:focus-within",hover:"&:hover",focus:"&:focus",focusVisible:"&:focus-visible",active:"&:active",disabled:"&:disabled",placeholder:"&::placeholder"},b=Object.keys(h),y="undefined"!=typeof Map&&"undefined"!=typeof WeakMap?new WeakMap:null,v={has:function(){return!1},set:function(){},get:function(){}};function w(e,r){if(!e)return v;var t=function(e){if(null===y)return null;if(y.has(e))return y.get(e);var r={};return y.set(e,r),r}(e);return t&&e?(t[r]=t[r]||new Map,t[r]):v}var k=0,G=/\s+/,S=function(r){var t=r.name,o=r.transform,n=r.key,a=r.defaultVariants,i=r.compose,p=r.shorthand,s=k++,l=function(r,l){return function(m){var d=r;if(!e.string(r)&&!e.num(r)&&!0!==r)return d;var f=r+"-"+l,u=w(m.theme,"__themeGetter"+s);if(u.has(f))return u.get(f);var c=function(r){var p=e.is(l)?l:r,s=r,d=e.is(n)?e.getThemeValue(m,n):null;d=e.is(d)?d:a,e.is(d)&&(s=e.getThemeValue(m,!0===r?"default":r,d),s=Array.isArray(s)?s.join(","):s);var f=r;e.is(s)||(f=p,s=p);var u=(t&&m.theme&&m.theme.transformers?m.theme.transformers[t]:null)||o;return u&&(s=u(s,{rawValue:f,variants:d,props:m})),i?i(s)(m):s};return d=p&&e.string(r)?r.split(G).map((function(e){return c(e)})).join(" "):c(r),u.set(f,d),d}};return l.meta={name:t,transform:o},l};function P(e,r,t){var o=e;return o.meta={props:r,getStyle:o,generators:t},o}function C(e){var r=d(e),t={};for(var o in r)t[o]=f(x(r,o));return t}function T(e,r){if(r.has("_medias"))return r.get("_medias");var t=C(e);return r.set("_medias",t),t}function z(r,t,o,n){void 0===o&&(o=e.identity);var a=n?T(r,n):C(r),i={};for(var p in t){var s=o(t[p]);if(null!==s){var l=a[p];null===l?i=e.merge(i,s):i[l]=i[l]?e.assign(i[l],s):s}}return i}function R(r,t,o,n,a){if(e.obj(t))return null;if(a.has(t))return a.get(t);var i=r(n(t)(o));return a.set(t,i),i}function W(r,t,o){return function(n){var a=n[r];if(!e.is(a))return null;var i=w(n.theme,r);return e.obj(a)?z(n,a,(function(e){return R(t,e,n,o,i)}),i):R(t,a,n,o,i)}}function B(e,r){return function(t){var o,n=r(t);return null===n?n:((o={})[e]=n,o)}}function A(e){for(var r={},t=0;t<e.length;t++){var o=e[t];if(o&&o.meta)for(var n=0;n<o.meta.props.length;n++)r[o.meta.props[n]]=o}return r}function j(e,r){for(var t in r){var o=r[t],n=e[o];n&&(delete e[o],e[o]=n)}return e}function F(){for(var r=[],t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];o.forEach((function(t){e.warn(Boolean(t),'Undefined generator in "compose" method'),t&&(t.meta.generators?r=[].concat(r,t.meta.generators):r.push(t))}));var a=A(r);function i(r,t){void 0===t&&(t=!0);var o={};for(var n in r){var i=a[n];if(i){var p=i.meta.getStyle(r,!1);e.merge(o,p)}}return t?j(o,T(r,w(r.theme,"__medias"))):o}var p=r.reduce((function(e,r){return[].concat(e,r.meta.props)}),[]);return P(i,p,o)}var L=function(r){return e.func(r)?r:(t=r,function(r){var o;if(!e.string(r)&&!e.num(r))return null;if(e.string(t))return(o={})[t]=r,o;var n={};for(var a in t)n[t[a]]=r;return n});var t};function I(e){var r=e.prop,t=e.cssProperty,o=e.key,n=e.transform,a=e.themeGet,i=e.states,p=void 0===i?h:i;if(Array.isArray(r)){var s=t?L(t):t,l=r.map((function(e){return I({prop:e,cssProperty:s,key:o,transform:n,themeGet:a})}));return F.apply(void 0,l)}var m=L(t||[r]);a=a||S({key:o,transform:n});for(var d=r.charAt(0).toUpperCase()+r.slice(1),f=[],u=p===h?b:Object.keys(p),c=0;c<u.length;c++){var x=u[c],g=""+x+d,y=P(B(p[x],W(g,m,a)),[g]);f.push(y)}var v=P(W(r,m,a),[r]);return f.push(v),F.apply(void 0,f)}var M=S({name:"animation",key:"animations"}),Y=I({prop:"animation",themeGet:M}),N=F(Y),X=S({name:"color",key:"colors"}),H={"gradient-to-t":"linear-gradient(to top, var(--x-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--x-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--x-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--x-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--x-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--x-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--x-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--x-gradient-stops))"},O=I({prop:"background",cssProperty:function(e){return{background:H[e]||e}}}),E=I({prop:["backgroundColor","bg"],cssProperty:"backgroundColor",themeGet:X}),V=I({prop:"backgroundImage",cssProperty:function(e){return{backgroundImage:H[e]||e}}}),D=I({prop:"backgroundSize"}),_=I({prop:"backgroundPosition"}),U=I({prop:"backgroundRepeat"}),q=I({prop:"backgroundAttachment"}),Z=I({prop:"backgroundClip",cssProperty:["backgroundClip","-webkitBackgroundClip"]}),J=I({prop:"gradientFrom",themeGet:X,cssProperty:function(e){return{"--x-gradient-from":e,"--x-gradient-stops":"var(--x-gradient-from), var(--x-gradient-to, transparent)"}}}),K=I({prop:"gradientVia",themeGet:X,cssProperty:function(e){return{"--x-gradient-stops":"var(--x-gradient-from), "+e+", var(--x-gradient-to, transparent)"}}}),Q=I({prop:"gradientTo",themeGet:X,cssProperty:"--x-gradient-to"}),$=F(O,E,V,D,_,U,q,Z,J,K,Q),ee=S({name:"px",transform:function(e,r){var t,o,a,i=r.props,p=null!=(t=null==i||null==(o=i.theme)||null==(a=o.settings)?void 0:a.rootFontSize)?t:void 0,l=Number(e);return n(s(Number.isNaN(l)?e:l,{rootFontSize:p}))}}),re=S({name:"duration",key:"durations",transform:function(e){var r=Number(e);return o(Number.isNaN(r)?e:r)}}),te=S({name:"angle",transform:function(e){var r=Number(e);return a(Number.isNaN(r)?e:r)}}),oe=S({name:"percent",transform:function(t){return e.num(t)&&0!==t&&t>=-1&&t<=1?r(100*t)+"%":t},compose:ee}),ne=S({name:"border",key:"borders",transform:function(r){return e.num(r)&&r>0?n(r)+" solid":r}}),ae=S({name:"borderWidth",key:"borderWidths",compose:ee,shorthand:!0}),ie=S({name:"borderColor",compose:X,shorthand:!0}),pe=S({name:"borderStyle",key:"borderStyles"}),se=I({prop:"border",themeGet:ne}),le=I({prop:"borderTop",themeGet:ne}),me=I({prop:"borderRight",themeGet:ne}),de=I({prop:"borderBottom",themeGet:ne}),fe=I({prop:"borderLeft",themeGet:ne}),ue=I({prop:"borderColor",themeGet:ie}),ce=I({prop:"borderTopColor",themeGet:ie}),xe=I({prop:"borderRightColor",themeGet:ie}),ge=I({prop:"borderBottomColor",themeGet:ie}),he=I({prop:"borderLeftColor",themeGet:ie}),be=I({prop:"borderWidth",themeGet:ae}),ye=I({prop:"borderTopWidth",themeGet:ae}),ve=I({prop:"borderRightWidth",themeGet:ae}),we=I({prop:"borderBottomWidth",themeGet:ae}),ke=I({prop:"borderLeftWidth",themeGet:ae}),Ge=I({prop:"borderStyle",themeGet:pe}),Se=I({prop:"outline",themeGet:ne}),Pe=I({prop:"outlineColor",themeGet:X}),Ce=I({prop:"outlineWidth",themeGet:ae}),Te=I({prop:"outlineStyle",themeGet:pe}),ze=S({name:"radius",key:"radii",compose:ee,shorthand:!0}),Re=I({prop:"borderRadius",themeGet:ze}),We="& > :not([hidden]) ~ :not([hidden])",Be=I({prop:"divideY",themeGet:ae,cssProperty:function(e){var r,t=!0===e?1:e;return(r={})[We]={"--x-divide-y-reverse":0,borderTopWidth:"calc("+t+" * calc(1 - var(--x-divide-y-reverse)))",borderBottomWidth:"calc("+t+" * var(--x-divide-y-reverse))"},r}}),Ae=I({prop:"divideX",themeGet:ae,cssProperty:function(e){var r,t=!0===e?1:e;return(r={})[We]={"--x-divide-x-reverse":0,borderRightWidth:"calc("+t+" * var(--x-divide-x-reverse))",borderLeftWidth:"calc("+t+" * calc(1 - var(--x-divide-x-reverse)))"},r}}),je=I({prop:"divideXReverse",cssProperty:function(){var e;return(e={})[We]={"--x-divide-x-reverse":"1"},e}}),Fe=I({prop:"divideYReverse",cssProperty:function(){var e;return(e={})[We]={"--x-divide-y-reverse":"1"},e}}),Le=I({prop:"divideColor",themeGet:ie,cssProperty:function(e){var r;return(r={})[We]={borderColor:e},r}}),Ie=I({prop:"divideStyle",themeGet:pe,cssProperty:function(e){var r;return(r={})[We]={borderStyle:e},r}}),Me=S({name:"ringWidth",key:"ringWidths",compose:ee}),Ye=I({prop:"ring",themeGet:Me,cssProperty:function(e){return{"--x-ring-shadow":"var(--x-ring-inset, /*!*/ /*!*/) 0 0 0 "+e+" var(--x-ring-color)",boxShadow:"var(--x-ring-shadow, 0 0 #0000), var(--x-shadow, 0 0 #0000)"}}}),Ne=I({prop:"ringInset",cssProperty:function(){return{"--x-ring-inset":"inset"}}}),Xe=I({prop:"ringColor",themeGet:X,cssProperty:function(e){return{"--x-ring-color":e}}}),He=F(se,le,me,de,fe,ue,ce,xe,ge,he,be,ye,ve,we,ke,Ge,Re,Se,Pe,Ce,Te,Ae,Be,je,Fe,Le,Ie,Ye,Ne,Xe),Oe=S({name:"shadow",key:"shadows"}),Ee=I({prop:"opacity"}),Ve=I({prop:"boxShadow",themeGet:Oe,cssProperty:function(e){return{"--x-shadow":e,boxShadow:"var(--x-ring-shadow, 0 0 #0000), var(--x-shadow)"}}}),De=I({prop:"textShadow",themeGet:Oe}),_e=F(Ee,Ve,De);function Ue(){return(Ue=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}var qe=I({prop:"row",cssProperty:function(){return{boxSizing:"border-box",flexGrow:1,flexWrap:"wrap",display:"flex"}}});function Ze(e,r){if(!0===r)return{flexBasis:0,flexGrow:1,maxWidth:"100%"};if("auto"===r)return{flex:"0 0 auto",maxWidth:"none",width:"auto"};var t=oe(r)(e);return{flex:"0 0 "+t,maxWidth:t}}var Je=P((function(r){var t=r.col,o={boxSizing:"border-box",flexBasis:0,flexGrow:1,maxWidth:"100%"};return e.obj(t)?Ue({},o,z(r,t,(function(e){return Ze(r,e)}))):Ue({},o,Ze(r,t))}),["col"]),Ke=F(qe,Je),Qe=I({prop:"display"}),$e=I({prop:"float"}),er=I({prop:"boxSizing"}),rr=P((function(r){if(!r.container)return null;var t=z(r,d(r),(function(e){return 0!==e?{maxWidth:e}:{}}));return e.obj(r.container)&&(t=z(r,r.container,(function(){return t}))),Ue({width:"100%"},t)}),["container"]),tr=I({prop:"overflow"}),or=I({prop:"overflowX"}),nr=I({prop:"overflowY"}),ar=S({name:"zIndex",key:"zIndices"}),ir=I({prop:"zIndex",themeGet:ar}),pr=I({prop:"position"}),sr=S({name:"inset",key:"inset",compose:ee,transform:m}),lr=I({prop:"top",themeGet:sr}),mr=I({prop:"right",themeGet:sr}),dr=I({prop:"bottom",themeGet:sr}),fr=I({prop:"left",themeGet:sr}),ur=I({prop:"visibility"}),cr=I({prop:"overscrollBehavior"}),xr=I({prop:"objectFit"}),gr=F(er,Qe,$e,rr,tr,or,nr,pr,ir,lr,mr,dr,fr,ur,cr,xr),hr=I({prop:"alignItems"}),br=I({prop:"alignContent"}),yr=I({prop:"justifyContent"}),vr=I({prop:"justifyItems"}),wr=I({prop:"flexWrap"}),kr=I({prop:"flexGrow"}),Gr=I({prop:"flexShrink"}),Sr=I({prop:"flexBasis",themeGet:oe}),Pr=I({prop:"flexDirection"}),Cr=I({prop:"flex"}),Tr=I({prop:"justifySelf"}),zr=I({prop:"alignSelf"}),Rr=I({prop:"order"}),Wr=F(Qe,hr,br,yr,vr,wr,Sr,Gr,kr,Pr,Cr,Tr,zr,Rr),Br=S({name:"space",key:"space",compose:ee,transform:m}),Ar=I({prop:["margin","m"],cssProperty:"margin",themeGet:Br}),jr=I({prop:["marginTop","mt"],cssProperty:"marginTop",themeGet:Br}),Fr=I({prop:["marginRight","mr"],cssProperty:"marginRight",themeGet:Br}),Lr=I({prop:["marginBottom","mb"],cssProperty:"marginBottom",themeGet:Br}),Ir=I({prop:["marginLeft","ml"],cssProperty:"marginLeft",themeGet:Br}),Mr=I({prop:"mx",cssProperty:["marginRight","marginLeft"],themeGet:Br}),Yr=I({prop:"my",cssProperty:["marginTop","marginBottom"],themeGet:Br}),Nr=I({prop:["padding","p"],cssProperty:"padding",themeGet:Br}),Xr=I({prop:["paddingTop","pt"],cssProperty:"paddingTop",themeGet:Br}),Hr=I({prop:["paddingRight","pr"],cssProperty:"paddingRight",themeGet:Br}),Or=I({prop:["paddingBottom","pb"],cssProperty:"paddingBottom",themeGet:Br}),Er=I({prop:["paddingLeft","pl"],cssProperty:"paddingLeft",themeGet:Br}),Vr=I({prop:"px",cssProperty:["paddingRight","paddingLeft"],themeGet:Br}),Dr=I({prop:"py",cssProperty:["paddingTop","paddingBottom"],themeGet:Br}),_r=I({prop:"spaceY",themeGet:Br,cssProperty:function(e){return{"& > :not([hidden]) ~ :not([hidden])":{"--x-space-y-reverse":0,marginTop:"calc("+e+" * calc(1 - var(--x-space-y-reverse)))",marginBottom:"calc("+e+" * var(--x-space-y-reverse))"}}}}),Ur=I({prop:"spaceX",themeGet:Br,cssProperty:function(e){return{"& > :not([hidden]) ~ :not([hidden])":{"--x-space-x-reverse":0,marginRight:"calc("+e+" * var(--x-space-x-reverse))",marginLeft:"calc("+e+" * calc(1 - var(--x-space-x-reverse)))"}}}}),qr=I({prop:"spaceXReverse",cssProperty:function(){return{"& > :not([hidden]) ~ :not([hidden])":{"--x-space-x-reverse":"1"}}}}),Zr=I({prop:"spaceYReverse",cssProperty:function(){return{"& > :not([hidden]) ~ :not([hidden])":{"--x-space-y-reverse":"1"}}}}),Jr=F(Ar,jr,Fr,Lr,Ir,Mr,Yr,Nr,Xr,Hr,Or,Er,Vr,Dr,Ur,_r,qr,Zr),Kr=I({prop:"gap",themeGet:Br}),Qr=I({prop:"columnGap",themeGet:Br}),$r=I({prop:"rowGap",themeGet:Br}),et=I({prop:"gridColumn"}),rt=I({prop:"gridRow"}),tt=I({prop:"gridAutoFlow"}),ot=I({prop:"gridAutoColumns"}),nt=I({prop:"gridAutoRows"}),at=I({prop:"gridTemplateColumns",key:"gridTemplateColumns"}),it=I({prop:"gridTemplateRows",key:"gridTemplateRows"}),pt=I({prop:"gridTemplateAreas"}),st=I({prop:"gridArea"}),lt=F(Kr,Qr,$r,et,rt,tt,ot,nt,at,it,pt,st),mt=I({prop:"appearance"}),dt=I({prop:"cursor"}),ft=I({prop:"pointerEvents"}),ut=I({prop:"resize"}),ct=I({prop:"userSelect"}),xt=F(mt,dt,ft,ut,ct),gt=S({name:"size",key:"sizes",compose:oe}),ht=I({prop:"w",cssProperty:"width",themeGet:gt}),bt=I({prop:"h",cssProperty:"height",themeGet:gt}),yt=I({prop:["maxWidth","maxW"],themeGet:gt}),vt=I({prop:["maxHeight","maxH"],themeGet:gt}),wt=I({prop:["minWidth","minW"],themeGet:gt}),kt=I({prop:["minHeight","minH"],themeGet:gt}),Gt=F(ht,bt,yt,vt,wt,kt),St=I({prop:"fill",themeGet:X}),Pt=I({prop:"stroke",themeGet:X}),Ct=F(St,Pt),Tt=I({prop:"borderCollapse"}),zt=I({prop:"tableLayout"}),Rt=F(Tt,zt),Wt=S({name:"transform",key:"transforms"}),Bt=I({prop:"transform",themeGet:Wt,cssProperty:function(e){return!0===e?{"--x-translate-x":0,"--x-translate-y":0,"--x-rotate":0,"--x-skew-x":0,"--x-skew-y":0,"--x-scale-x":"1","--x-scale-y":"1",transform:"translate3d(var(--x-translate-x), var(--x-translate-y), 0) rotate(var(--x-rotate)) skewX(var(--x-skew-x)) skewY(var(--x-skew-y)) scaleX(var(--x-scale-x)) scaleY(var(--x-scale-y))"}:{transform:e}}}),At=I({prop:"transformOrigin"}),jt=I({prop:"translateX",cssProperty:"--x-translate-x",themeGet:Br}),Ft=I({prop:"translateY",cssProperty:"--x-translate-y",themeGet:Br}),Lt=I({prop:"rotate",cssProperty:"--x-rotate",themeGet:te}),It=I({prop:"skewX",cssProperty:"--x-skew-x",themeGet:te}),Mt=I({prop:"skewY",cssProperty:"--x-skew-y",themeGet:te}),Yt=I({prop:"scale",cssProperty:["--x-scale-x","--x-scale-y"],transform:function(e){return String(e)}}),Nt=I({prop:"scaleX",cssProperty:"--x-scale-x",transform:function(e){return String(e)}}),Xt=I({prop:"scaleY",cssProperty:"--x-scale-y",transform:function(e){return String(e)}}),Ht=F(Bt,At,jt,Ft,Lt,It,Mt,Yt,Nt,Xt),Ot=S({name:"transition",key:"transitions"}),Et=S({name:"transitionProperty",key:"transitionProperties"}),Vt=S({name:"timingFunctions",key:"timingFunctions"}),Dt=I({prop:"transition",themeGet:Ot}),_t=I({prop:"transitionProperty",themeGet:Et}),Ut=I({prop:"transitionDuration",themeGet:re}),qt=I({prop:"transitionTimingFunction",themeGet:Vt}),Zt=I({prop:"transitionDelay",themeGet:re}),Jt=F(Dt,_t,Ut,qt,Zt),Kt=S({name:"font",key:"fonts"}),Qt=S({name:"lineHeight",key:"lineHeights",transform:function(e,r){var t,o,n,a=r.props,i=null!=(t=null==a||null==(o=a.theme)||null==(n=o.settings)?void 0:n.rootFontSize)?t:void 0;return s(e,{rootFontSize:i})}}),$t=S({name:"fontWeight",key:"fontWeights"}),eo=S({name:"letterSpacing",key:"letterSpacings",compose:ee}),ro=S({name:"fontSize",key:"fontSizes",compose:ee}),to=I({prop:"fontFamily",themeGet:Kt}),oo=I({prop:"fontSize",themeGet:ro}),no=I({prop:"lineHeight",themeGet:Qt}),ao=I({prop:"fontWeight",themeGet:$t}),io=I({prop:"fontStyle"}),po=I({prop:"letterSpacing",themeGet:eo}),so=I({prop:"color",themeGet:X}),lo=I({prop:"textTransform"}),mo=I({prop:"textDecoration"}),fo=I({prop:"textAlign"}),uo=I({prop:"verticalAlign"}),co=I({prop:"whiteSpace"}),xo=I({prop:"textOverflow"}),go=I({prop:"listStyleType"}),ho=I({prop:"listStylePosition"}),bo=F(to,oo,io,no,ao,fo,po,so,lo,mo,uo,co,xo,go,ho),yo=F(N,$,He,_e,Ke,Wr,lt,xt,gr,Gt,Jr,Ct,Rt,Ht,Jt,bo),vo=function(r,t){return function(o){var n=e.getThemeValue(o,r);return e.is(n)?n:e.is(t)?t:r}};[te,M,ne,ie,pe,ae,X,re,Kt,ro,$t,sr,eo,Qt,oe,ee,ze,Me,Oe,gt,Br,Vt,Wt,Ot,Et,ar].forEach((function(e){e.meta.name&&(vo[e.meta.name]=e)}));var wo=function(e,r){return function(t){var o=d(t),n=x(o,e);return null===n?r:[f(n)+" {",r,"}"]}},ko=function(e,r){return function(t){var o=d(t),n=g(o,e);return null===n?null:[u(n)+" {",r,"}"]}},Go={px:function(e){return p(s(e))},border:function(r){return e.num(r)&&r>0?p(r)+" solid":r}},So=[0,5,10,20,25,30,40,50,60,70,75,80,90,95,100];function Po(e,r){return void 0===r&&(r=So),function(e,r,t){return void 0===r&&(r=function(e){return e}),void 0===t&&(t=So),Object.keys(e).reduce((function(o,n){return t.forEach((function(t){o[n+"-a"+t]=r(e[n],n,t)})),o}),Ue({},e))}(e,(function(e,r,t){return""+e+Math.round(t/100*255).toString(16)}),r)}var Co,To=[50,100,200,300,400,500,600,700,800,900],zo={.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},Ro={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},Wo={default:["background-color","border-color","color","fill","stroke","opacity","box-shadow","transform"],colors:["background-color","border-color","color","fill","stroke"],opacity:["opacity"],shadow:["box-shadow"],transform:["transform"]},Bo=Object.keys(Wo).reduce((function(e,r){return e[r]=Wo[r].map((function(e){return e+" "+Ro["ease-in-out"]+" 150ms"})).join(","),e}),{}),Ao={colors:Po({black:"#000000",white:"#ffffff","blue-gray-50":"#f8fafc","blue-gray-100":"#f1f5f9","blue-gray-200":"#e2e8f0","blue-gray-300":"#cbd5e1","blue-gray-400":"#94a3b8","blue-gray-500":"#64748b","blue-gray-600":"#475569","blue-gray-700":"#334155","blue-gray-800":"#1e293b","blue-gray-900":"#0f172a","cool-gray-50":"#f9fafb","cool-gray-100":"#f3f4f6","cool-gray-200":"#e5e7eb","cool-gray-300":"#d1d5db","cool-gray-400":"#9ca3af","cool-gray-500":"#6b7280","cool-gray-600":"#4b5563","cool-gray-700":"#374151","cool-gray-800":"#1f2937","cool-gray-900":"#111827","gray-50":"#fafafa","gray-100":"#f4f4f5","gray-200":"#e4e4e7","gray-300":"#d4d4d8","gray-400":"#a1a1aa","gray-500":"#71717a","gray-600":"#52525b","gray-700":"#3f3f46","gray-800":"#27272a","gray-900":"#18181b","true-gray-50":"#fafafa","true-gray-100":"#f5f5f5","true-gray-200":"#e5e5e5","true-gray-300":"#d4d4d4","true-gray-400":"#a3a3a3","true-gray-500":"#737373","true-gray-600":"#525252","true-gray-700":"#404040","true-gray-800":"#262626","true-gray-900":"#171717","warm-gray-50":"#fafaf9","warm-gray-100":"#f5f5f4","warm-gray-200":"#e7e5e4","warm-gray-300":"#d6d3d1","warm-gray-400":"#a8a29e","warm-gray-500":"#78716c","warm-gray-600":"#57534e","warm-gray-700":"#44403c","warm-gray-800":"#292524","warm-gray-900":"#1c1917","red-50":"#fef2f2","red-100":"#fee2e2","red-200":"#fecaca","red-300":"#fca5a5","red-400":"#f87171","red-500":"#ef4444","red-600":"#dc2626","red-700":"#b91c1c","red-800":"#991b1b","red-900":"#7f1d1d","orange-50":"#fff7ed","orange-100":"#ffedd5","orange-200":"#fed7aa","orange-300":"#fdba74","orange-400":"#fb923c","orange-500":"#f97316","orange-600":"#ea580c","orange-700":"#c2410c","orange-800":"#9a3412","orange-900":"#7c2d12","amber-50":"#fffbeb","amber-100":"#fef3c7","amber-200":"#fde68a","amber-300":"#fcd34d","amber-400":"#fbbf24","amber-500":"#f59e0b","amber-600":"#d97706","amber-700":"#b45309","amber-800":"#92400e","amber-900":"#78350f","yellow-50":"#fefce8","yellow-100":"#fef9c3","yellow-200":"#fef08a","yellow-300":"#fde047","yellow-400":"#facc15","yellow-500":"#eab308","yellow-600":"#ca8a04","yellow-700":"#a16207","yellow-800":"#854d0e","yellow-900":"#713f12","lime-50":"#f7fee7","lime-100":"#ecfccb","lime-200":"#d9f99d","lime-300":"#bef264","lime-400":"#a3e635","lime-500":"#84cc16","lime-600":"#65a30d","lime-700":"#4d7c0f","lime-800":"#3f6212","lime-900":"#365314","green-50":"#f0fdf4","green-100":"#dcfce7","green-200":"#bbf7d0","green-300":"#86efac","green-400":"#4ade80","green-500":"#22c55e","green-600":"#16a34a","green-700":"#15803d","green-800":"#166534","green-900":"#14532d","emerald-50":"#ecfdf5","emerald-100":"#d1fae5","emerald-200":"#a7f3d0","emerald-300":"#6ee7b7","emerald-400":"#34d399","emerald-500":"#10b981","emerald-600":"#059669","emerald-700":"#047857","emerald-800":"#065f46","emerald-900":"#064e3b","teal-50":"#f0fdfa","teal-100":"#ccfbf1","teal-200":"#99f6e4","teal-300":"#5eead4","teal-400":"#2dd4bf","teal-500":"#14b8a6","teal-600":"#0d9488","teal-700":"#0f766e","teal-800":"#115e59","teal-900":"#134e4a","cyan-50":"#ecfeff","cyan-100":"#cffafe","cyan-200":"#a5f3fc","cyan-300":"#67e8f9","cyan-400":"#22d3ee","cyan-500":"#06b6d4","cyan-600":"#0891b2","cyan-700":"#0e7490","cyan-800":"#155e75","cyan-900":"#164e63","light-blue-50":"#f0f9ff","light-blue-100":"#e0f2fe","light-blue-200":"#bae6fd","light-blue-300":"#7dd3fc","light-blue-400":"#38bdf8","light-blue-500":"#0ea5e9","light-blue-600":"#0284c7","light-blue-700":"#0369a1","light-blue-800":"#075985","light-blue-900":"#0c4a6e","blue-50":"#eff6ff","blue-100":"#dbeafe","blue-200":"#bfdbfe","blue-300":"#93c5fd","blue-400":"#60a5fa","blue-500":"#3b82f6","blue-600":"#2563eb","blue-700":"#1d4ed8","blue-800":"#1e40af","blue-900":"#1e3a8a","indigo-50":"#eef2ff","indigo-100":"#e0e7ff","indigo-200":"#c7d2fe","indigo-300":"#a5b4fc","indigo-400":"#818cf8","indigo-500":"#6366f1","indigo-600":"#4f46e5","indigo-700":"#4338ca","indigo-800":"#3730a3","indigo-900":"#312e81","violet-50":"#f5f3ff","violet-100":"#ede9fe","violet-200":"#ddd6fe","violet-300":"#c4b5fd","violet-400":"#a78bfa","violet-500":"#8b5cf6","violet-600":"#7c3aed","violet-700":"#6d28d9","violet-800":"#5b21b6","violet-900":"#4c1d95","purple-50":"#faf5ff","purple-100":"#f3e8ff","purple-200":"#e9d5ff","purple-300":"#d8b4fe","purple-400":"#c084fc","purple-500":"#a855f7","purple-600":"#9333ea","purple-700":"#7e22ce","purple-800":"#6b21a8","purple-900":"#581c87","fuchsia-50":"#fdf4ff","fuchsia-100":"#fae8ff","fuchsia-200":"#f5d0fe","fuchsia-300":"#f0abfc","fuchsia-400":"#e879f9","fuchsia-500":"#d946ef","fuchsia-600":"#c026d3","fuchsia-700":"#a21caf","fuchsia-800":"#86198f","fuchsia-900":"#701a75","pink-50":"#fdf2f8","pink-100":"#fce7f3","pink-200":"#fbcfe8","pink-300":"#f9a8d4","pink-400":"#f472b6","pink-500":"#ec4899","pink-600":"#db2777","pink-700":"#be185d","pink-800":"#9d174d","pink-900":"#831843","rose-50":"#fff1f2","rose-100":"#ffe4e6","rose-200":"#fecdd3","rose-300":"#fda4af","rose-400":"#fb7185","rose-500":"#f43f5e","rose-600":"#e11d48","rose-700":"#be123c","rose-800":"#9f1239","rose-900":"#881337"}),space:zo,screens:{_:0,xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536},durations:{instant:"100ms","fast-in":"250ms","fast-out":"200ms","slow-in":"300ms","slow-out":"250ms"},sizes:Ue({},zo,{.5:void 0,1:void 0,"0.5s":zo[.5],"1s":zo[1],full:"100%",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"}),radii:{none:"0",sm:"0.125rem",default:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",default:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",inner:"inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",outline:"0 0 0 3px rgba(66, 153, 225, 0.5)"},fontSizes:{xs:"0.75rem",sm:"0.875rem",default:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},fontWeights:{hairline:"100",thin:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},fonts:{mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',serif:'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',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"'},letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{none:1,tight:1.25,snug:1.375,normal:1.5,relaxed:1.625,loose:2,3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},gridTemplateColumns:{1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))"},borderWidths:{default:1},ringWidths:{default:3},borders:{default:"1px solid transparent"},transitions:Bo,transitionProperties:Wo,timingFunctions:Ro,animations:{spin:"x-spin 1s linear infinite",ping:"x-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"x-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"x-bounce 1s infinite"}};exports.aliasColor=function(e,r,t,o){return void 0===t&&(t=To),void 0===o&&(o=So),t.reduce((function(t,n){return t[e+"-"+n]=vo.color(r+"-"+n),o.forEach((function(o){t[e+"-"+n+"-a"+o]=vo.color(r+"-"+n+"-a"+o)})),t}),{})},exports.alignContent=br,exports.alignItems=hr,exports.alignSelf=zr,exports.animation=Y,exports.animations=N,exports.appearance=mt,exports.background=O,exports.backgroundAttachment=q,exports.backgroundClip=Z,exports.backgroundColor=E,exports.backgroundImage=V,exports.backgroundPosition=_,exports.backgroundRepeat=U,exports.backgroundSize=D,exports.backgrounds=$,exports.between=function(e,r,t){return function(o){var n=d(o),a=x(n,e),i=g(n,r);return null===i?wo(e,t)(o):null===a?ko(r,t)(o):[c(a,i)+" {",t,"}"]}},exports.border=se,exports.borderBottom=de,exports.borderBottomColor=ge,exports.borderBottomWidth=we,exports.borderCollapse=Tt,exports.borderColor=ue,exports.borderLeft=fe,exports.borderLeftColor=he,exports.borderLeftWidth=ke,exports.borderRadius=Re,exports.borderRight=me,exports.borderRightColor=xe,exports.borderRightWidth=ve,exports.borderStyle=Ge,exports.borderTop=le,exports.borderTopColor=ce,exports.borderTopWidth=ye,exports.borderWidth=be,exports.borders=He,exports.bottom=dr,exports.boxShadow=Ve,exports.boxSizing=er,exports.breakpoints=function(e){return function(r){for(var t=[],o=Object.keys(e),n=o.length,a=0;a<n;a++){var i=o[a],p=wo(i,e[i])(r);Array.isArray(p)?p.forEach((function(e){return t.push(e)})):t.push(p)}return t}},exports.col=Je,exports.color=so,exports.columnGap=Qr,exports.compose=F,exports.container=rr,exports.createPreflight=function(e){var r,t;return(0,e.createGlobalStyle)(Co||(r=["\n /*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\n *,::after,::before{box-sizing:border-box}:root{-moz-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji'}hr{height:0;color:inherit}abbr[title]{text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}\n\n /* Role button pointer */\n [role=button], button {\n cursor: pointer;\n }\n\n /* Remove default margins */\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n /* Remove headings styles */\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n /* Unstyle lists */\n ol,\n ul {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n /* Image are block-level */\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n vertical-align: middle;\n }\n\n /* Reset border styles */\n *,\n ::before,\n ::after {\n border-width: 0;\n border-style: solid;\n border-color: ",";\n }\n\n * {\n --x-ring-color: ",";\n }\n\n /* Default outline on buttons */\n button:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n }\n\n // Animations\n @keyframes x-spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }\n\n @keyframes x-ping {\n 0% {\n transform: scale(1);\n opacity: 1;\n }\n 75%, 100% {\n transform: scale(2);\n opacity: 0;\n }\n }\n\n @keyframes x-pulse {\n 0%, 100% {\n opacity: 1;\n }\n 50% {\n opacity: .5;\n }\n }\n\n @keyframes x-bounce {\n 0%, 100% {\n transform: translateY(-25%);\n animationTimingFunction: cubic-bezier(0.8, 0, 1, 1);\n }\n 50% {\n transform: translateY(0);\n animationTimingFunction: cubic-bezier(0, 0, 0.2, 1);\n }\n }\n "],t||(t=r.slice(0)),r.raw=t,Co=r),vo.color("default-border-color","currentColor"),vo.color("default-ring-color","rgba(59,130,246,0.5)"))},exports.createStyleGenerator=P,exports.cursor=dt,exports.defaultTheme=Ao,exports.display=Qe,exports.divideColor=Le,exports.divideStyle=Ie,exports.divideX=Ae,exports.divideXReverse=je,exports.divideY=Be,exports.divideYReverse=Fe,exports.down=ko,exports.effects=_e,exports.fill=St,exports.flex=Cr,exports.flexBasis=Sr,exports.flexDirection=Pr,exports.flexGrow=kr,exports.flexShrink=Gr,exports.flexWrap=wr,exports.flexboxGrids=Ke,exports.flexboxes=Wr,exports.float=$e,exports.fontFamily=to,exports.fontSize=oo,exports.fontStyle=io,exports.fontWeight=ao,exports.gap=Kr,exports.generateHexAlphaVariants=Po,exports.getAngle=te,exports.getAnimation=M,exports.getBorder=ne,exports.getBorderColor=ie,exports.getBorderStyle=pe,exports.getBorderWidth=ae,exports.getBreakpointMax=g,exports.getBreakpointMin=x,exports.getBreakpoints=d,exports.getColor=X,exports.getDuration=re,exports.getFont=Kt,exports.getFontSize=ro,exports.getFontWeight=$t,exports.getInset=sr,exports.getLetterSpacing=eo,exports.getLineHeight=Qt,exports.getPercent=oe,exports.getPx=ee,exports.getRadius=ze,exports.getRingWidth=Me,exports.getShadow=Oe,exports.getSize=gt,exports.getSpace=Br,exports.getTimingFunction=Vt,exports.getTransform=Wt,exports.getTransition=Ot,exports.getTransitionProperty=Et,exports.getZIndex=ar,exports.gradientFrom=J,exports.gradientTo=Q,exports.gradientVia=K,exports.gridArea=st,exports.gridAutoColumns=ot,exports.gridAutoFlow=tt,exports.gridAutoRows=nt,exports.gridColumn=et,exports.gridRow=rt,exports.gridTemplateAreas=pt,exports.gridTemplateColumns=at,exports.gridTemplateRows=it,exports.grids=lt,exports.height=bt,exports.interactivity=xt,exports.justifyContent=yr,exports.justifyItems=vr,exports.justifySelf=Tr,exports.layout=gr,exports.left=fr,exports.letterSpacing=po,exports.lineHeight=no,exports.listStylePosition=ho,exports.listStyleType=go,exports.margin=Ar,exports.marginBottom=Lr,exports.marginLeft=Ir,exports.marginRight=Fr,exports.marginTop=jr,exports.maxHeight=vt,exports.maxWidth=yt,exports.minHeight=kt,exports.minWidth=wt,exports.mx=Mr,exports.my=Yr,exports.objectFit=xr,exports.opacity=Ee,exports.order=Rr,exports.outline=Se,exports.outlineColor=Pe,exports.outlineStyle=Te,exports.outlineWidth=Ce,exports.overflow=tr,exports.overflowX=or,exports.overflowY=nr,exports.overscrollBehavior=cr,exports.padding=Nr,exports.paddingBottom=Or,exports.paddingLeft=Er,exports.paddingRight=Hr,exports.paddingTop=Xr,exports.pointerEvents=ft,exports.position=pr,exports.px=Vr,exports.py=Dr,exports.resize=ut,exports.right=mr,exports.ring=Ye,exports.ringColor=Xe,exports.ringInset=Ne,exports.rotate=Lt,exports.row=qe,exports.rowGap=$r,exports.rpxTransformers=Go,exports.scale=Yt,exports.scaleX=Nt,exports.scaleY=Xt,exports.sizing=Gt,exports.skewX=It,exports.skewY=Mt,exports.space=Jr,exports.spaceX=Ur,exports.spaceXReverse=qr,exports.spaceY=_r,exports.spaceYReverse=Zr,exports.stroke=Pt,exports.style=I,exports.svg=Ct,exports.system=yo,exports.tableLayout=zt,exports.tables=Rt,exports.textAlign=fo,exports.textDecoration=mo,exports.textOverflow=xo,exports.textShadow=De,exports.textTransform=lo,exports.th=vo,exports.themeGetter=S,exports.top=lr,exports.transform=Bt,exports.transformOrigin=At,exports.transforms=Ht,exports.transition=Dt,exports.transitionDelay=Zt,exports.transitionDuration=Ut,exports.transitionProperty=_t,exports.transitionTimingFunction=qt,exports.transitions=Jt,exports.translateX=jt,exports.translateY=Ft,exports.typography=bo,exports.up=wo,exports.userSelect=ct,exports.verticalAlign=uo,exports.visibility=ur,exports.whiteSpace=co,exports.width=ht,exports.zIndex=ir; | ||
"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("@xstyled/util");function r(){return(r=Object.assign||function(e){for(var r=1;r<arguments.length;r++){var t=arguments[r];for(var o in t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o])}return e}).apply(this,arguments)}var t=function(e){return Math.round(e*Math.pow(10,4))/Math.pow(10,4)},o=function(r){return function(t){return e.num(t)&&0!==t?""+t+r:t}},n=o("ms"),a=o("px"),i=o("deg"),p=function(e,r){var o=(void 0===r?{}:r).rootFontSize;return t(e/(void 0===o?16:o))},s=function(r,t){return e.num(r)&&0!==r?p(r,t)+"rem":r},l=function(r,t){if(!e.string(r)||r.length<4)return r;if("rpx"!==r.slice(-3))return r;var o=Number(r.slice(0,r.length-3));return 0===o?0:p(o,t)+"rem"};function m(r){return e.string(r)?"-"+r:-1*r}var d=function(r,t){var o=t.rawValue,n=t.variants,a=t.props;if(e.string(o)){var i=o.startsWith("-"),p=i?o.substr(1):o,s=e.getThemeValue(a,p,n),l=e.is(s)?s:p;return i?m(l):l}var d=Math.abs(o),f=e.negative(o),c=e.is(n&&n[d])?n[d]:d;return f?m(c):c};function f(r){var t=e.getThemeValue(r,"screens");return e.is(t)?t:{}}var c=function(e){return e?"@media (min-width: "+e+")":null},u=function(e){return e?"@media (max-width: "+e+")":null},x=function(e,r){return e&&r?"@media (min-width: "+e+") and (max-width: "+r+")":null},g=function(e,r){var t=e[r];return 0===t?null:a(t)},h=function(e,r){var t=e[r];return 0===t?null:a(t-.02)},b={motionSafe:"@media (prefers-reduced-motion: no-preference)",motionReduce:"@media (prefers-reduced-motion: reduce)",first:"&:first-child",last:"&:last-child",odd:"&:odd",even:"&:even",visited:"&:visited",checked:"&:checked",focusWithin:"&:focus-within",hover:"&:hover",focus:"&:focus",focusVisible:"&:focus-visible",active:"&:active",disabled:"&:disabled",placeholder:"&::placeholder"},y=Object.keys(b),v="undefined"!=typeof Map&&"undefined"!=typeof WeakMap?new WeakMap:null,w={has:function(){return!1},set:function(){},get:function(){}};function k(e,r){if(!e)return w;var t=function(e){if(null===v)return null;if(v.has(e))return v.get(e);var r={};return v.set(e,r),r}(e);return t&&e?(t[r]=t[r]||new Map,t[r]):w}var G=0,S=/\s+/,P=function(r){var t=r.name,o=r.transform,n=r.key,a=r.defaultVariants,i=r.compose,p=r.shorthand,s=G++,l=function(r,l){return function(m){var d=r;if(!e.string(r)&&!e.num(r)&&!0!==r)return d;var f=r+"-"+l,c=k(m.theme,"__themeGetter"+s);if(c.has(f))return c.get(f);var u=function(r){var p=e.is(l)?l:r,s=r,d=e.is(n)?e.getThemeValue(m,n):null;d=e.is(d)?d:a,e.is(d)&&(s=e.getThemeValue(m,!0===r?"default":r,d),s=Array.isArray(s)?s.join(","):s);var f=r;e.is(s)||(f=p,s=p);var c=(t&&m.theme&&m.theme.transformers?m.theme.transformers[t]:null)||o;return c&&(s=c(s,{rawValue:f,variants:d,props:m})),i?i(s)(m):s};return d=p&&e.string(r)?r.split(S).map((function(e){return u(e)})).join(" "):u(r),c.set(f,d),d}};return l.meta={name:t,transform:o},l};function C(e,t,o){var n=e;return n.meta={props:t,getStyle:n,generators:o},n.apply=function(e){return function(t){return n(r({theme:t.theme},e))}},n}function T(e){var r=f(e),t={};for(var o in r)t[o]=c(g(r,o));return t}function z(e,r){if(r.has("_medias"))return r.get("_medias");var t=T(e);return r.set("_medias",t),t}function W(r,t,o,n){void 0===o&&(o=e.identity);var a=n?z(r,n):T(r),i={};for(var p in t){var s=o(t[p]);if(null!==s){var l=a[p];null===l?i=e.merge(i,s):i[l]=i[l]?e.assign(i[l],s):s}}return i}function R(r,t,o,n,a){if(e.obj(t))return null;if(a.has(t))return a.get(t);var i=r(n(t)(o));return a.set(t,i),i}function B(r,t,o){return function(n){var a=n[r];if(!e.is(a))return null;var i=k(n.theme,r);return e.obj(a)?W(n,a,(function(e){return R(t,e,n,o,i)}),i):R(t,a,n,o,i)}}function A(e,r){return function(t){var o,n=r(t);return null===n?n:((o={})[e]=n,o)}}function j(e){for(var r={},t=0;t<e.length;t++){var o=e[t];if(o&&o.meta)for(var n=0;n<o.meta.props.length;n++)r[o.meta.props[n]]=o}return r}function F(e,r){for(var t in r){var o=r[t],n=e[o];n&&(delete e[o],e[o]=n)}return e}function L(){for(var r=[],t=arguments.length,o=new Array(t),n=0;n<t;n++)o[n]=arguments[n];o.forEach((function(t){e.warn(Boolean(t),'Undefined generator in "compose" method'),t&&(t.meta.generators?r=[].concat(r,t.meta.generators):r.push(t))}));var a=j(r);function i(r,t){void 0===t&&(t=!0);var o={};for(var n in r){var i=a[n];if(i){var p=i.meta.getStyle(r,!1);e.merge(o,p)}}return t?F(o,z(r,k(r.theme,"__medias"))):o}var p=r.reduce((function(e,r){return[].concat(e,r.meta.props)}),[]);return C(i,p,o)}var I=function(r){return e.func(r)?r:(t=r,function(r){var o;if(!e.string(r)&&!e.num(r))return null;if(e.string(t))return(o={})[t]=r,o;var n={};for(var a in t)n[t[a]]=r;return n});var t};function M(e){var r=e.prop,t=e.cssProperty,o=e.key,n=e.transform,a=e.themeGet,i=e.states,p=void 0===i?b:i;if(Array.isArray(r)){var s=t?I(t):t,l=r.map((function(e){return M({prop:e,cssProperty:s,key:o,transform:n,themeGet:a})}));return L.apply(void 0,l)}var m=I(t||[r]);a=a||P({key:o,transform:n});for(var d=r.charAt(0).toUpperCase()+r.slice(1),f=[],c=p===b?y:Object.keys(p),u=0;u<c.length;u++){var x=c[u],g=""+x+d,h=C(A(p[x],B(g,m,a)),[g]);f.push(h)}var v=C(B(r,m,a),[r]);return f.push(v),L.apply(void 0,f)}var Y=P({name:"animation",key:"animations"}),N=M({prop:"animation",themeGet:Y}),X=L(N),H=P({name:"color",key:"colors"}),O={"gradient-to-t":"linear-gradient(to top, var(--x-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--x-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--x-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--x-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--x-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--x-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--x-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--x-gradient-stops))"},E=M({prop:"background",cssProperty:function(e){return{background:O[e]||e}}}),V=M({prop:["backgroundColor","bg"],cssProperty:"backgroundColor",themeGet:H}),D=M({prop:"backgroundImage",cssProperty:function(e){return{backgroundImage:O[e]||e}}}),_=M({prop:"backgroundSize"}),U=M({prop:"backgroundPosition"}),q=M({prop:"backgroundRepeat"}),Z=M({prop:"backgroundAttachment"}),J=M({prop:"backgroundClip",cssProperty:["backgroundClip","-webkitBackgroundClip"]}),K=M({prop:"gradientFrom",themeGet:H,cssProperty:function(e){return{"--x-gradient-from":e,"--x-gradient-stops":"var(--x-gradient-from), var(--x-gradient-to, transparent)"}}}),Q=M({prop:"gradientVia",themeGet:H,cssProperty:function(e){return{"--x-gradient-stops":"var(--x-gradient-from), "+e+", var(--x-gradient-to, transparent)"}}}),$=M({prop:"gradientTo",themeGet:H,cssProperty:"--x-gradient-to"}),ee=L(E,V,D,_,U,q,Z,J,K,Q,$),re=P({name:"px",transform:function(e,r){var t,o,n,i=r.props,p=null!=(t=null==i||null==(o=i.theme)||null==(n=o.settings)?void 0:n.rootFontSize)?t:void 0,s=Number(e);return a(l(Number.isNaN(s)?e:s,{rootFontSize:p}))}}),te=P({name:"duration",key:"durations",transform:function(e){var r=Number(e);return n(Number.isNaN(r)?e:r)}}),oe=P({name:"angle",transform:function(e){var r=Number(e);return i(Number.isNaN(r)?e:r)}}),ne=P({name:"percent",transform:function(r){return e.num(r)&&0!==r&&r>=-1&&r<=1?t(100*r)+"%":r},compose:re}),ae=P({name:"border",key:"borders",transform:function(r){return e.num(r)&&r>0?a(r)+" solid":r}}),ie=P({name:"borderWidth",key:"borderWidths",compose:re,shorthand:!0}),pe=P({name:"borderColor",compose:H,shorthand:!0}),se=P({name:"borderStyle",key:"borderStyles"}),le=M({prop:"border",themeGet:ae}),me=M({prop:"borderTop",themeGet:ae}),de=M({prop:"borderRight",themeGet:ae}),fe=M({prop:"borderBottom",themeGet:ae}),ce=M({prop:"borderLeft",themeGet:ae}),ue=M({prop:"borderColor",themeGet:pe}),xe=M({prop:"borderTopColor",themeGet:pe}),ge=M({prop:"borderRightColor",themeGet:pe}),he=M({prop:"borderBottomColor",themeGet:pe}),be=M({prop:"borderLeftColor",themeGet:pe}),ye=M({prop:"borderWidth",themeGet:ie}),ve=M({prop:"borderTopWidth",themeGet:ie}),we=M({prop:"borderRightWidth",themeGet:ie}),ke=M({prop:"borderBottomWidth",themeGet:ie}),Ge=M({prop:"borderLeftWidth",themeGet:ie}),Se=M({prop:"borderStyle",themeGet:se}),Pe=M({prop:"outline",themeGet:ae}),Ce=M({prop:"outlineColor",themeGet:H}),Te=M({prop:"outlineWidth",themeGet:ie}),ze=M({prop:"outlineStyle",themeGet:se}),We=P({name:"radius",key:"radii",compose:re,shorthand:!0}),Re=M({prop:"borderRadius",themeGet:We}),Be="& > :not([hidden]) ~ :not([hidden])",Ae=M({prop:"divideY",themeGet:ie,cssProperty:function(e){var r,t=!0===e?1:e;return(r={})[Be]={"--x-divide-y-reverse":0,borderTopWidth:"calc("+t+" * calc(1 - var(--x-divide-y-reverse)))",borderBottomWidth:"calc("+t+" * var(--x-divide-y-reverse))"},r}}),je=M({prop:"divideX",themeGet:ie,cssProperty:function(e){var r,t=!0===e?1:e;return(r={})[Be]={"--x-divide-x-reverse":0,borderRightWidth:"calc("+t+" * var(--x-divide-x-reverse))",borderLeftWidth:"calc("+t+" * calc(1 - var(--x-divide-x-reverse)))"},r}}),Fe=M({prop:"divideXReverse",cssProperty:function(){var e;return(e={})[Be]={"--x-divide-x-reverse":"1"},e}}),Le=M({prop:"divideYReverse",cssProperty:function(){var e;return(e={})[Be]={"--x-divide-y-reverse":"1"},e}}),Ie=M({prop:"divideColor",themeGet:pe,cssProperty:function(e){var r;return(r={})[Be]={borderColor:e},r}}),Me=M({prop:"divideStyle",themeGet:se,cssProperty:function(e){var r;return(r={})[Be]={borderStyle:e},r}}),Ye=P({name:"ringWidth",key:"ringWidths",compose:re}),Ne=M({prop:"ring",themeGet:Ye,cssProperty:function(e){return{"--x-ring-shadow":"var(--x-ring-inset, /*!*/ /*!*/) 0 0 0 "+e+" var(--x-ring-color)",boxShadow:"var(--x-ring-shadow, 0 0 #0000), var(--x-shadow, 0 0 #0000)"}}}),Xe=M({prop:"ringInset",cssProperty:function(){return{"--x-ring-inset":"inset"}}}),He=M({prop:"ringColor",themeGet:H,cssProperty:function(e){return{"--x-ring-color":e}}}),Oe=L(le,me,de,fe,ce,ue,xe,ge,he,be,ye,ve,we,ke,Ge,Se,Re,Pe,Ce,Te,ze,je,Ae,Fe,Le,Ie,Me,Ne,Xe,He),Ee=P({name:"shadow",key:"shadows"}),Ve=M({prop:"opacity"}),De=M({prop:"boxShadow",themeGet:Ee,cssProperty:function(e){return{"--x-shadow":e,boxShadow:"var(--x-ring-shadow, 0 0 #0000), var(--x-shadow)"}}}),_e=M({prop:"textShadow",themeGet:Ee}),Ue=L(Ve,De,_e),qe=M({prop:"row",cssProperty:function(){return{boxSizing:"border-box",flexGrow:1,flexWrap:"wrap",display:"flex"}}});function Ze(e,r){if(!0===r)return{flexBasis:0,flexGrow:1,maxWidth:"100%"};if("auto"===r)return{flex:"0 0 auto",maxWidth:"none",width:"auto"};var t=ne(r)(e);return{flex:"0 0 "+t,maxWidth:t}}var Je=C((function(t){var o=t.col,n={boxSizing:"border-box",flexBasis:0,flexGrow:1,maxWidth:"100%"};return e.obj(o)?r({},n,W(t,o,(function(e){return Ze(t,e)}))):r({},n,Ze(t,o))}),["col"]),Ke=L(qe,Je),Qe=M({prop:"display"}),$e=M({prop:"float"}),er=M({prop:"boxSizing"}),rr=C((function(t){if(!t.container)return null;var o=W(t,f(t),(function(e){return 0!==e?{maxWidth:e}:{}}));return e.obj(t.container)&&(o=W(t,t.container,(function(){return o}))),r({width:"100%"},o)}),["container"]),tr=M({prop:"overflow"}),or=M({prop:"overflowX"}),nr=M({prop:"overflowY"}),ar=P({name:"zIndex",key:"zIndices"}),ir=M({prop:"zIndex",themeGet:ar}),pr=M({prop:"position"}),sr=P({name:"inset",key:"inset",compose:re,transform:d}),lr=M({prop:"top",themeGet:sr}),mr=M({prop:"right",themeGet:sr}),dr=M({prop:"bottom",themeGet:sr}),fr=M({prop:"left",themeGet:sr}),cr=M({prop:"visibility"}),ur=M({prop:"overscrollBehavior"}),xr=M({prop:"objectFit"}),gr=L(er,Qe,$e,rr,tr,or,nr,pr,ir,lr,mr,dr,fr,cr,ur,xr),hr=M({prop:"alignItems"}),br=M({prop:"alignContent"}),yr=M({prop:"justifyContent"}),vr=M({prop:"justifyItems"}),wr=M({prop:"flexWrap"}),kr=M({prop:"flexGrow"}),Gr=M({prop:"flexShrink"}),Sr=M({prop:"flexBasis",themeGet:ne}),Pr=M({prop:"flexDirection"}),Cr=M({prop:"flex"}),Tr=M({prop:"justifySelf"}),zr=M({prop:"alignSelf"}),Wr=M({prop:"order"}),Rr=L(Qe,hr,br,yr,vr,wr,Sr,Gr,kr,Pr,Cr,Tr,zr,Wr),Br=P({name:"space",key:"space",compose:re,transform:d}),Ar=M({prop:["margin","m"],cssProperty:"margin",themeGet:Br}),jr=M({prop:["marginTop","mt"],cssProperty:"marginTop",themeGet:Br}),Fr=M({prop:["marginRight","mr"],cssProperty:"marginRight",themeGet:Br}),Lr=M({prop:["marginBottom","mb"],cssProperty:"marginBottom",themeGet:Br}),Ir=M({prop:["marginLeft","ml"],cssProperty:"marginLeft",themeGet:Br}),Mr=M({prop:"mx",cssProperty:["marginRight","marginLeft"],themeGet:Br}),Yr=M({prop:"my",cssProperty:["marginTop","marginBottom"],themeGet:Br}),Nr=M({prop:["padding","p"],cssProperty:"padding",themeGet:Br}),Xr=M({prop:["paddingTop","pt"],cssProperty:"paddingTop",themeGet:Br}),Hr=M({prop:["paddingRight","pr"],cssProperty:"paddingRight",themeGet:Br}),Or=M({prop:["paddingBottom","pb"],cssProperty:"paddingBottom",themeGet:Br}),Er=M({prop:["paddingLeft","pl"],cssProperty:"paddingLeft",themeGet:Br}),Vr=M({prop:"px",cssProperty:["paddingRight","paddingLeft"],themeGet:Br}),Dr=M({prop:"py",cssProperty:["paddingTop","paddingBottom"],themeGet:Br}),_r=M({prop:"spaceY",themeGet:Br,cssProperty:function(e){return{"& > :not([hidden]) ~ :not([hidden])":{"--x-space-y-reverse":0,marginTop:"calc("+e+" * calc(1 - var(--x-space-y-reverse)))",marginBottom:"calc("+e+" * var(--x-space-y-reverse))"}}}}),Ur=M({prop:"spaceX",themeGet:Br,cssProperty:function(e){return{"& > :not([hidden]) ~ :not([hidden])":{"--x-space-x-reverse":0,marginRight:"calc("+e+" * var(--x-space-x-reverse))",marginLeft:"calc("+e+" * calc(1 - var(--x-space-x-reverse)))"}}}}),qr=M({prop:"spaceXReverse",cssProperty:function(){return{"& > :not([hidden]) ~ :not([hidden])":{"--x-space-x-reverse":"1"}}}}),Zr=M({prop:"spaceYReverse",cssProperty:function(){return{"& > :not([hidden]) ~ :not([hidden])":{"--x-space-y-reverse":"1"}}}}),Jr=L(Ar,jr,Fr,Lr,Ir,Mr,Yr,Nr,Xr,Hr,Or,Er,Vr,Dr,Ur,_r,qr,Zr),Kr=M({prop:"gap",themeGet:Br}),Qr=M({prop:"columnGap",themeGet:Br}),$r=M({prop:"rowGap",themeGet:Br}),et=M({prop:"gridColumn"}),rt=M({prop:"gridRow"}),tt=M({prop:"gridAutoFlow"}),ot=M({prop:"gridAutoColumns"}),nt=M({prop:"gridAutoRows"}),at=M({prop:"gridTemplateColumns",key:"gridTemplateColumns"}),it=M({prop:"gridTemplateRows",key:"gridTemplateRows"}),pt=M({prop:"gridTemplateAreas"}),st=M({prop:"gridArea"}),lt=L(Kr,Qr,$r,et,rt,tt,ot,nt,at,it,pt,st),mt=M({prop:"appearance"}),dt=M({prop:"cursor"}),ft=M({prop:"pointerEvents"}),ct=M({prop:"resize"}),ut=M({prop:"userSelect"}),xt=L(mt,dt,ft,ct,ut),gt=P({name:"size",key:"sizes",compose:ne}),ht=M({prop:"w",cssProperty:"width",themeGet:gt}),bt=M({prop:"h",cssProperty:"height",themeGet:gt}),yt=M({cssProperty:"maxWidth",prop:["maxWidth","maxW"],themeGet:gt}),vt=M({cssProperty:"maxHeight",prop:["maxHeight","maxH"],themeGet:gt}),wt=M({cssProperty:"minWidth",prop:["minWidth","minW"],themeGet:gt}),kt=M({cssProperty:"minHeight",prop:["minHeight","minH"],themeGet:gt}),Gt=L(ht,bt,yt,vt,wt,kt),St=M({prop:"fill",themeGet:H}),Pt=M({prop:"stroke",themeGet:H}),Ct=L(St,Pt),Tt=M({prop:"borderCollapse"}),zt=M({prop:"tableLayout"}),Wt=L(Tt,zt),Rt=P({name:"transform",key:"transforms"}),Bt=M({prop:"transform",themeGet:Rt,cssProperty:function(e){return!0===e?{"--x-translate-x":0,"--x-translate-y":0,"--x-rotate":0,"--x-skew-x":0,"--x-skew-y":0,"--x-scale-x":"1","--x-scale-y":"1",transform:"translate3d(var(--x-translate-x), var(--x-translate-y), 0) rotate(var(--x-rotate)) skewX(var(--x-skew-x)) skewY(var(--x-skew-y)) scaleX(var(--x-scale-x)) scaleY(var(--x-scale-y))"}:{transform:e}}}),At=M({prop:"transformOrigin"}),jt=M({prop:"translateX",cssProperty:"--x-translate-x",themeGet:Br}),Ft=M({prop:"translateY",cssProperty:"--x-translate-y",themeGet:Br}),Lt=M({prop:"rotate",cssProperty:"--x-rotate",themeGet:oe}),It=M({prop:"skewX",cssProperty:"--x-skew-x",themeGet:oe}),Mt=M({prop:"skewY",cssProperty:"--x-skew-y",themeGet:oe}),Yt=M({prop:"scale",cssProperty:["--x-scale-x","--x-scale-y"],transform:function(e){return String(e)}}),Nt=M({prop:"scaleX",cssProperty:"--x-scale-x",transform:function(e){return String(e)}}),Xt=M({prop:"scaleY",cssProperty:"--x-scale-y",transform:function(e){return String(e)}}),Ht=L(Bt,At,jt,Ft,Lt,It,Mt,Yt,Nt,Xt),Ot=P({name:"transition",key:"transitions"}),Et=P({name:"transitionProperty",key:"transitionProperties"}),Vt=P({name:"timingFunctions",key:"timingFunctions"}),Dt=M({prop:"transition",themeGet:Ot}),_t=M({prop:"transitionProperty",themeGet:Et}),Ut=M({prop:"transitionDuration",themeGet:te}),qt=M({prop:"transitionTimingFunction",themeGet:Vt}),Zt=M({prop:"transitionDelay",themeGet:te}),Jt=L(Dt,_t,Ut,qt,Zt),Kt=P({name:"font",key:"fonts"}),Qt=P({name:"lineHeight",key:"lineHeights",transform:function(e,r){var t,o,n,a=r.props,i=null!=(t=null==a||null==(o=a.theme)||null==(n=o.settings)?void 0:n.rootFontSize)?t:void 0;return l(e,{rootFontSize:i})}}),$t=P({name:"fontWeight",key:"fontWeights"}),eo=P({name:"letterSpacing",key:"letterSpacings",compose:re}),ro=P({name:"fontSize",key:"fontSizes",compose:re}),to=M({prop:"fontFamily",themeGet:Kt}),oo=M({prop:"fontSize",themeGet:ro}),no=M({prop:"lineHeight",themeGet:Qt}),ao=M({prop:"fontWeight",themeGet:$t}),io=M({prop:"fontStyle"}),po=M({prop:"letterSpacing",themeGet:eo}),so=M({prop:"color",themeGet:H}),lo=M({prop:"textTransform"}),mo=M({prop:"textDecoration"}),fo=M({prop:"textAlign"}),co=M({prop:"verticalAlign"}),uo=M({prop:"whiteSpace"}),xo=M({prop:"textOverflow"}),go=M({prop:"listStyleType"}),ho=M({prop:"listStylePosition"}),bo=L(to,oo,io,no,ao,fo,po,so,lo,mo,co,uo,xo,go,ho),yo=L(X,ee,Oe,Ue,Ke,Rr,lt,xt,gr,Gt,Jr,Ct,Wt,Ht,Jt,bo),vo=function(r,t){return function(o){var n=e.getThemeValue(o,r);return e.is(n)?n:e.is(t)?t:r}};[oe,Y,ae,pe,se,ie,H,te,Kt,ro,$t,sr,eo,Qt,ne,re,We,Ye,Ee,gt,Br,Vt,Rt,Ot,Et,ar].forEach((function(e){e.meta.name&&(vo[e.meta.name]=e)}));var wo=function(e,r){return function(t){var o=f(t),n=g(o,e);return null===n?r:[c(n)+" {",r,"}"]}},ko=function(e,r){return function(t){var o=f(t),n=h(o,e);return null===n?null:[u(n)+" {",r,"}"]}},Go={px:function(e){return s(l(e))},border:function(r){return e.num(r)&&r>0?s(r)+" solid":r}},So=[0,5,10,20,25,30,40,50,60,70,75,80,90,95,100];function Po(e,t){return void 0===t&&(t=So),function(e,t,o){return void 0===t&&(t=function(e){return e}),void 0===o&&(o=So),Object.keys(e).reduce((function(r,n){return o.forEach((function(o){r[n+"-a"+o]=t(e[n],n,o)})),r}),r({},e))}(e,(function(e,r,t){return""+e+Math.round(t/100*255).toString(16)}),t)}var Co,To=[50,100,200,300,400,500,600,700,800,900],zo={.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},Wo={"ease-in":"cubic-bezier(0.4, 0, 1, 1)","ease-out":"cubic-bezier(0, 0, 0.2, 1)","ease-in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},Ro={default:["background-color","border-color","color","fill","stroke","opacity","box-shadow","transform"],colors:["background-color","border-color","color","fill","stroke"],opacity:["opacity"],shadow:["box-shadow"],transform:["transform"]},Bo=Object.keys(Ro).reduce((function(e,r){return e[r]=Ro[r].map((function(e){return e+" "+Wo["ease-in-out"]+" 150ms"})).join(","),e}),{}),Ao={colors:Po({black:"#000000",white:"#ffffff","blue-gray-50":"#f8fafc","blue-gray-100":"#f1f5f9","blue-gray-200":"#e2e8f0","blue-gray-300":"#cbd5e1","blue-gray-400":"#94a3b8","blue-gray-500":"#64748b","blue-gray-600":"#475569","blue-gray-700":"#334155","blue-gray-800":"#1e293b","blue-gray-900":"#0f172a","cool-gray-50":"#f9fafb","cool-gray-100":"#f3f4f6","cool-gray-200":"#e5e7eb","cool-gray-300":"#d1d5db","cool-gray-400":"#9ca3af","cool-gray-500":"#6b7280","cool-gray-600":"#4b5563","cool-gray-700":"#374151","cool-gray-800":"#1f2937","cool-gray-900":"#111827","gray-50":"#fafafa","gray-100":"#f4f4f5","gray-200":"#e4e4e7","gray-300":"#d4d4d8","gray-400":"#a1a1aa","gray-500":"#71717a","gray-600":"#52525b","gray-700":"#3f3f46","gray-800":"#27272a","gray-900":"#18181b","true-gray-50":"#fafafa","true-gray-100":"#f5f5f5","true-gray-200":"#e5e5e5","true-gray-300":"#d4d4d4","true-gray-400":"#a3a3a3","true-gray-500":"#737373","true-gray-600":"#525252","true-gray-700":"#404040","true-gray-800":"#262626","true-gray-900":"#171717","warm-gray-50":"#fafaf9","warm-gray-100":"#f5f5f4","warm-gray-200":"#e7e5e4","warm-gray-300":"#d6d3d1","warm-gray-400":"#a8a29e","warm-gray-500":"#78716c","warm-gray-600":"#57534e","warm-gray-700":"#44403c","warm-gray-800":"#292524","warm-gray-900":"#1c1917","red-50":"#fef2f2","red-100":"#fee2e2","red-200":"#fecaca","red-300":"#fca5a5","red-400":"#f87171","red-500":"#ef4444","red-600":"#dc2626","red-700":"#b91c1c","red-800":"#991b1b","red-900":"#7f1d1d","orange-50":"#fff7ed","orange-100":"#ffedd5","orange-200":"#fed7aa","orange-300":"#fdba74","orange-400":"#fb923c","orange-500":"#f97316","orange-600":"#ea580c","orange-700":"#c2410c","orange-800":"#9a3412","orange-900":"#7c2d12","amber-50":"#fffbeb","amber-100":"#fef3c7","amber-200":"#fde68a","amber-300":"#fcd34d","amber-400":"#fbbf24","amber-500":"#f59e0b","amber-600":"#d97706","amber-700":"#b45309","amber-800":"#92400e","amber-900":"#78350f","yellow-50":"#fefce8","yellow-100":"#fef9c3","yellow-200":"#fef08a","yellow-300":"#fde047","yellow-400":"#facc15","yellow-500":"#eab308","yellow-600":"#ca8a04","yellow-700":"#a16207","yellow-800":"#854d0e","yellow-900":"#713f12","lime-50":"#f7fee7","lime-100":"#ecfccb","lime-200":"#d9f99d","lime-300":"#bef264","lime-400":"#a3e635","lime-500":"#84cc16","lime-600":"#65a30d","lime-700":"#4d7c0f","lime-800":"#3f6212","lime-900":"#365314","green-50":"#f0fdf4","green-100":"#dcfce7","green-200":"#bbf7d0","green-300":"#86efac","green-400":"#4ade80","green-500":"#22c55e","green-600":"#16a34a","green-700":"#15803d","green-800":"#166534","green-900":"#14532d","emerald-50":"#ecfdf5","emerald-100":"#d1fae5","emerald-200":"#a7f3d0","emerald-300":"#6ee7b7","emerald-400":"#34d399","emerald-500":"#10b981","emerald-600":"#059669","emerald-700":"#047857","emerald-800":"#065f46","emerald-900":"#064e3b","teal-50":"#f0fdfa","teal-100":"#ccfbf1","teal-200":"#99f6e4","teal-300":"#5eead4","teal-400":"#2dd4bf","teal-500":"#14b8a6","teal-600":"#0d9488","teal-700":"#0f766e","teal-800":"#115e59","teal-900":"#134e4a","cyan-50":"#ecfeff","cyan-100":"#cffafe","cyan-200":"#a5f3fc","cyan-300":"#67e8f9","cyan-400":"#22d3ee","cyan-500":"#06b6d4","cyan-600":"#0891b2","cyan-700":"#0e7490","cyan-800":"#155e75","cyan-900":"#164e63","light-blue-50":"#f0f9ff","light-blue-100":"#e0f2fe","light-blue-200":"#bae6fd","light-blue-300":"#7dd3fc","light-blue-400":"#38bdf8","light-blue-500":"#0ea5e9","light-blue-600":"#0284c7","light-blue-700":"#0369a1","light-blue-800":"#075985","light-blue-900":"#0c4a6e","blue-50":"#eff6ff","blue-100":"#dbeafe","blue-200":"#bfdbfe","blue-300":"#93c5fd","blue-400":"#60a5fa","blue-500":"#3b82f6","blue-600":"#2563eb","blue-700":"#1d4ed8","blue-800":"#1e40af","blue-900":"#1e3a8a","indigo-50":"#eef2ff","indigo-100":"#e0e7ff","indigo-200":"#c7d2fe","indigo-300":"#a5b4fc","indigo-400":"#818cf8","indigo-500":"#6366f1","indigo-600":"#4f46e5","indigo-700":"#4338ca","indigo-800":"#3730a3","indigo-900":"#312e81","violet-50":"#f5f3ff","violet-100":"#ede9fe","violet-200":"#ddd6fe","violet-300":"#c4b5fd","violet-400":"#a78bfa","violet-500":"#8b5cf6","violet-600":"#7c3aed","violet-700":"#6d28d9","violet-800":"#5b21b6","violet-900":"#4c1d95","purple-50":"#faf5ff","purple-100":"#f3e8ff","purple-200":"#e9d5ff","purple-300":"#d8b4fe","purple-400":"#c084fc","purple-500":"#a855f7","purple-600":"#9333ea","purple-700":"#7e22ce","purple-800":"#6b21a8","purple-900":"#581c87","fuchsia-50":"#fdf4ff","fuchsia-100":"#fae8ff","fuchsia-200":"#f5d0fe","fuchsia-300":"#f0abfc","fuchsia-400":"#e879f9","fuchsia-500":"#d946ef","fuchsia-600":"#c026d3","fuchsia-700":"#a21caf","fuchsia-800":"#86198f","fuchsia-900":"#701a75","pink-50":"#fdf2f8","pink-100":"#fce7f3","pink-200":"#fbcfe8","pink-300":"#f9a8d4","pink-400":"#f472b6","pink-500":"#ec4899","pink-600":"#db2777","pink-700":"#be185d","pink-800":"#9d174d","pink-900":"#831843","rose-50":"#fff1f2","rose-100":"#ffe4e6","rose-200":"#fecdd3","rose-300":"#fda4af","rose-400":"#fb7185","rose-500":"#f43f5e","rose-600":"#e11d48","rose-700":"#be123c","rose-800":"#9f1239","rose-900":"#881337"}),space:zo,screens:{_:0,xs:0,sm:640,md:768,lg:1024,xl:1280,"2xl":1536},durations:{instant:"100ms","fast-in":"250ms","fast-out":"200ms","slow-in":"300ms","slow-out":"250ms"},sizes:r({},zo,{.5:void 0,1:void 0,"0.5s":zo[.5],"1s":zo[1],full:"100%",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"}),radii:{none:"0",sm:"0.125rem",default:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},shadows:{xs:"0 0 0 1px rgba(0, 0, 0, 0.05)",sm:"0 1px 2px 0 rgba(0, 0, 0, 0.05)",default:"0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06)",md:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)",lg:"0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05)",xl:"0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04)","2xl":"0 25px 50px -12px rgba(0, 0, 0, 0.25)",inner:"inset 0 2px 4px 0 rgba(0, 0, 0, 0.06)",outline:"0 0 0 3px rgba(66, 153, 225, 0.5)"},fontSizes:{xs:"0.75rem",sm:"0.875rem",default:"1rem",lg:"1.125rem",xl:"1.25rem","2xl":"1.5rem","3xl":"1.875rem","4xl":"2.25rem","5xl":"3rem","6xl":"3.75rem","7xl":"4.5rem","8xl":"6rem","9xl":"8rem"},fontWeights:{hairline:"100",thin:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},fonts:{mono:'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace',serif:'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif',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"'},letterSpacings:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeights:{none:1,tight:1.25,snug:1.375,normal:1.5,relaxed:1.625,loose:2,3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},gridTemplateColumns:{1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))"},borderWidths:{default:1},ringWidths:{default:3},borders:{default:"1px solid transparent"},transitions:Bo,transitionProperties:Ro,timingFunctions:Wo,animations:{spin:"x-spin 1s linear infinite",ping:"x-ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"x-pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"x-bounce 1s infinite"}};exports.aliasColor=function(e,r,t,o){return void 0===t&&(t=To),void 0===o&&(o=So),t.reduce((function(t,n){return t[e+"-"+n]=vo.color(r+"-"+n),o.forEach((function(o){t[e+"-"+n+"-a"+o]=vo.color(r+"-"+n+"-a"+o)})),t}),{})},exports.alignContent=br,exports.alignItems=hr,exports.alignSelf=zr,exports.animation=N,exports.animations=X,exports.appearance=mt,exports.background=E,exports.backgroundAttachment=Z,exports.backgroundClip=J,exports.backgroundColor=V,exports.backgroundImage=D,exports.backgroundPosition=U,exports.backgroundRepeat=q,exports.backgroundSize=_,exports.backgrounds=ee,exports.between=function(e,r,t){return function(o){var n=f(o),a=g(n,e),i=h(n,r);return null===i?wo(e,t)(o):null===a?ko(r,t)(o):[x(a,i)+" {",t,"}"]}},exports.border=le,exports.borderBottom=fe,exports.borderBottomColor=he,exports.borderBottomWidth=ke,exports.borderCollapse=Tt,exports.borderColor=ue,exports.borderLeft=ce,exports.borderLeftColor=be,exports.borderLeftWidth=Ge,exports.borderRadius=Re,exports.borderRight=de,exports.borderRightColor=ge,exports.borderRightWidth=we,exports.borderStyle=Se,exports.borderTop=me,exports.borderTopColor=xe,exports.borderTopWidth=ve,exports.borderWidth=ye,exports.borders=Oe,exports.bottom=dr,exports.boxShadow=De,exports.boxSizing=er,exports.breakpoints=function(e){return function(r){for(var t=[],o=Object.keys(e),n=o.length,a=0;a<n;a++){var i=o[a],p=wo(i,e[i])(r);Array.isArray(p)?p.forEach((function(e){return t.push(e)})):t.push(p)}return t}},exports.col=Je,exports.color=so,exports.columnGap=Qr,exports.compose=L,exports.container=rr,exports.createPreflight=function(e){var r,t;return(0,e.createGlobalStyle)(Co||(r=["\n /*! modern-normalize v1.0.0 | MIT License | https://github.com/sindresorhus/modern-normalize */\n *,::after,::before{box-sizing:border-box}:root{-moz-tab-size:4;tab-size:4}html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}body{font-family:system-ui,-apple-system,'Segoe UI',Roboto,Helvetica,Arial,sans-serif,'Apple Color Emoji','Segoe UI Emoji'}hr{height:0;color:inherit}abbr[title]{text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:ui-monospace,SFMono-Regular,Consolas,'Liberation Mono',Menlo,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}::-moz-focus-inner{border-style:none;padding:0}:-moz-focusring{outline:1px dotted ButtonText}:-moz-ui-invalid{box-shadow:none}legend{padding:0}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}\n\n /* Role button pointer */\n [role=button], button {\n cursor: pointer;\n }\n\n /* Remove default margins */\n blockquote,\n dl,\n dd,\n h1,\n h2,\n h3,\n h4,\n h5,\n h6,\n hr,\n figure,\n p,\n pre {\n margin: 0;\n }\n\n /* Remove headings styles */\n h1,\n h2,\n h3,\n h4,\n h5,\n h6 {\n font-size: inherit;\n font-weight: inherit;\n }\n\n /* Unstyle lists */\n ol,\n ul {\n list-style: none;\n margin: 0;\n padding: 0;\n }\n\n /* Image are block-level */\n img,\n svg,\n video,\n canvas,\n audio,\n iframe,\n embed,\n object {\n display: block;\n vertical-align: middle;\n }\n\n /* Reset border styles */\n *,\n ::before,\n ::after {\n border-width: 0;\n border-style: solid;\n border-color: ",";\n }\n\n * {\n --x-ring-color: ",";\n }\n\n /* Default outline on buttons */\n button:focus {\n outline: 1px dotted;\n outline: 5px auto -webkit-focus-ring-color;\n }\n\n // Animations\n @keyframes x-spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n }\n\n @keyframes x-ping {\n 0% {\n transform: scale(1);\n opacity: 1;\n }\n 75%, 100% {\n transform: scale(2);\n opacity: 0;\n }\n }\n\n @keyframes x-pulse {\n 0%, 100% {\n opacity: 1;\n }\n 50% {\n opacity: .5;\n }\n }\n\n @keyframes x-bounce {\n 0%, 100% {\n transform: translateY(-25%);\n animationTimingFunction: cubic-bezier(0.8, 0, 1, 1);\n }\n 50% {\n transform: translateY(0);\n animationTimingFunction: cubic-bezier(0, 0, 0.2, 1);\n }\n }\n "],t||(t=r.slice(0)),r.raw=t,Co=r),vo.color("default-border-color","currentColor"),vo.color("default-ring-color","rgba(59,130,246,0.5)"))},exports.createStyleGenerator=C,exports.cursor=dt,exports.defaultTheme=Ao,exports.display=Qe,exports.divideColor=Ie,exports.divideStyle=Me,exports.divideX=je,exports.divideXReverse=Fe,exports.divideY=Ae,exports.divideYReverse=Le,exports.down=ko,exports.effects=Ue,exports.fill=St,exports.flex=Cr,exports.flexBasis=Sr,exports.flexDirection=Pr,exports.flexGrow=kr,exports.flexShrink=Gr,exports.flexWrap=wr,exports.flexboxGrids=Ke,exports.flexboxes=Rr,exports.float=$e,exports.fontFamily=to,exports.fontSize=oo,exports.fontStyle=io,exports.fontWeight=ao,exports.gap=Kr,exports.generateHexAlphaVariants=Po,exports.getAngle=oe,exports.getAnimation=Y,exports.getBorder=ae,exports.getBorderColor=pe,exports.getBorderStyle=se,exports.getBorderWidth=ie,exports.getBreakpointMax=h,exports.getBreakpointMin=g,exports.getBreakpoints=f,exports.getColor=H,exports.getDuration=te,exports.getFont=Kt,exports.getFontSize=ro,exports.getFontWeight=$t,exports.getInset=sr,exports.getLetterSpacing=eo,exports.getLineHeight=Qt,exports.getPercent=ne,exports.getPx=re,exports.getRadius=We,exports.getRingWidth=Ye,exports.getShadow=Ee,exports.getSize=gt,exports.getSpace=Br,exports.getTimingFunction=Vt,exports.getTransform=Rt,exports.getTransition=Ot,exports.getTransitionProperty=Et,exports.getZIndex=ar,exports.gradientFrom=K,exports.gradientTo=$,exports.gradientVia=Q,exports.gridArea=st,exports.gridAutoColumns=ot,exports.gridAutoFlow=tt,exports.gridAutoRows=nt,exports.gridColumn=et,exports.gridRow=rt,exports.gridTemplateAreas=pt,exports.gridTemplateColumns=at,exports.gridTemplateRows=it,exports.grids=lt,exports.height=bt,exports.interactivity=xt,exports.justifyContent=yr,exports.justifyItems=vr,exports.justifySelf=Tr,exports.layout=gr,exports.left=fr,exports.letterSpacing=po,exports.lineHeight=no,exports.listStylePosition=ho,exports.listStyleType=go,exports.margin=Ar,exports.marginBottom=Lr,exports.marginLeft=Ir,exports.marginRight=Fr,exports.marginTop=jr,exports.maxHeight=vt,exports.maxWidth=yt,exports.minHeight=kt,exports.minWidth=wt,exports.mx=Mr,exports.my=Yr,exports.objectFit=xr,exports.opacity=Ve,exports.order=Wr,exports.outline=Pe,exports.outlineColor=Ce,exports.outlineStyle=ze,exports.outlineWidth=Te,exports.overflow=tr,exports.overflowX=or,exports.overflowY=nr,exports.overscrollBehavior=ur,exports.padding=Nr,exports.paddingBottom=Or,exports.paddingLeft=Er,exports.paddingRight=Hr,exports.paddingTop=Xr,exports.pointerEvents=ft,exports.position=pr,exports.px=Vr,exports.py=Dr,exports.resize=ct,exports.right=mr,exports.ring=Ne,exports.ringColor=He,exports.ringInset=Xe,exports.rotate=Lt,exports.row=qe,exports.rowGap=$r,exports.rpxTransformers=Go,exports.scale=Yt,exports.scaleX=Nt,exports.scaleY=Xt,exports.sizing=Gt,exports.skewX=It,exports.skewY=Mt,exports.space=Jr,exports.spaceX=Ur,exports.spaceXReverse=qr,exports.spaceY=_r,exports.spaceYReverse=Zr,exports.stroke=Pt,exports.style=M,exports.svg=Ct,exports.system=yo,exports.tableLayout=zt,exports.tables=Wt,exports.textAlign=fo,exports.textDecoration=mo,exports.textOverflow=xo,exports.textShadow=_e,exports.textTransform=lo,exports.th=vo,exports.themeGetter=P,exports.top=lr,exports.transform=Bt,exports.transformOrigin=At,exports.transforms=Ht,exports.transition=Dt,exports.transitionDelay=Zt,exports.transitionDuration=Ut,exports.transitionProperty=_t,exports.transitionTimingFunction=qt,exports.transitions=Jt,exports.translateX=jt,exports.translateY=Ft,exports.typography=bo,exports.up=wo,exports.userSelect=ut,exports.verticalAlign=co,exports.visibility=cr,exports.whiteSpace=uo,exports.width=ht,exports.zIndex=ir; | ||
//# sourceMappingURL=system.cjs.production.min.js.map |
import { num, string, getThemeValue, is, negative, warn, merge, assign, func, obj, identity } from '@xstyled/util'; | ||
function _extends() { | ||
_extends = Object.assign || function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
function _taggedTemplateLiteralLoose(strings, raw) { | ||
if (!raw) { | ||
raw = strings.slice(0); | ||
} | ||
strings.raw = raw; | ||
return strings; | ||
} | ||
var round = function round(value) { | ||
@@ -121,3 +148,2 @@ return Math.round(value * Math.pow(10, 4)) / Math.pow(10, 4); | ||
/* eslint-disable no-continue, no-underscore-dangle, no-restricted-syntax, guard-for-in, no-multi-assign */ | ||
var defaultStateKeys = /*#__PURE__*/Object.keys(defaultStates); | ||
@@ -230,2 +256,12 @@ var cacheSupported = typeof Map !== 'undefined' && typeof WeakMap !== 'undefined'; | ||
}; | ||
generator.apply = function (values) { | ||
return function (_ref2) { | ||
var theme = _ref2.theme; | ||
return generator(_extends({ | ||
theme: theme | ||
}, values)); | ||
}; | ||
}; | ||
return generator; | ||
@@ -306,7 +342,7 @@ } | ||
return function (props) { | ||
var _ref2; | ||
var _ref3; | ||
var result = getStyle(props); | ||
if (result === null) return result; | ||
return _ref2 = {}, _ref2[selector] = result, _ref2; | ||
return _ref3 = {}, _ref3[selector] = result, _ref3; | ||
}; | ||
@@ -393,6 +429,6 @@ } | ||
return function (value) { | ||
var _ref3; | ||
var _ref4; | ||
if (!string(value) && !num(value)) return null; | ||
if (string(properties)) return _ref3 = {}, _ref3[properties] = value, _ref3; | ||
if (string(properties)) return _ref4 = {}, _ref4[properties] = value, _ref4; | ||
var style = {}; | ||
@@ -413,10 +449,10 @@ | ||
function style(_ref4) { | ||
var prop = _ref4.prop, | ||
cssProperty = _ref4.cssProperty, | ||
key = _ref4.key, | ||
transform = _ref4.transform, | ||
themeGet = _ref4.themeGet, | ||
_ref4$states = _ref4.states, | ||
states = _ref4$states === void 0 ? defaultStates : _ref4$states; | ||
function style(_ref5) { | ||
var prop = _ref5.prop, | ||
cssProperty = _ref5.cssProperty, | ||
key = _ref5.key, | ||
transform = _ref5.transform, | ||
themeGet = _ref5.themeGet, | ||
_ref5$states = _ref5.states, | ||
states = _ref5$states === void 0 ? defaultStates : _ref5$states; | ||
@@ -830,29 +866,2 @@ if (Array.isArray(prop)) { | ||
function _extends() { | ||
_extends = Object.assign || function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i]; | ||
for (var key in source) { | ||
if (Object.prototype.hasOwnProperty.call(source, key)) { | ||
target[key] = source[key]; | ||
} | ||
} | ||
} | ||
return target; | ||
}; | ||
return _extends.apply(this, arguments); | ||
} | ||
function _taggedTemplateLiteralLoose(strings, raw) { | ||
if (!raw) { | ||
raw = strings.slice(0); | ||
} | ||
strings.raw = raw; | ||
return strings; | ||
} | ||
var row = /*#__PURE__*/style({ | ||
@@ -1238,2 +1247,3 @@ prop: 'row', | ||
var maxWidth = /*#__PURE__*/style({ | ||
cssProperty: 'maxWidth', | ||
prop: ['maxWidth', 'maxW'], | ||
@@ -1243,2 +1253,3 @@ themeGet: getSize | ||
var maxHeight = /*#__PURE__*/style({ | ||
cssProperty: 'maxHeight', | ||
prop: ['maxHeight', 'maxH'], | ||
@@ -1248,2 +1259,3 @@ themeGet: getSize | ||
var minWidth = /*#__PURE__*/style({ | ||
cssProperty: 'minWidth', | ||
prop: ['minWidth', 'minW'], | ||
@@ -1253,2 +1265,3 @@ themeGet: getSize | ||
var minHeight = /*#__PURE__*/style({ | ||
cssProperty: 'minHeight', | ||
prop: ['minHeight', 'minH'], | ||
@@ -1255,0 +1268,0 @@ themeGet: getSize |
@@ -58,2 +58,3 @@ export declare type IVariants = Record<string | number, string | number>; | ||
}; | ||
apply: (values: object) => (IProps: object) => any; | ||
} | ||
@@ -60,0 +61,0 @@ export interface TransformValue<TValueType = any> { |
{ | ||
"name": "@xstyled/system", | ||
"description": "xstyled system utilities.", | ||
"version": "2.3.0", | ||
"version": "2.4.0", | ||
"keywords": [ | ||
@@ -38,3 +38,3 @@ "emotion", | ||
}, | ||
"gitHead": "a13b7c54f09080a309649df32ef6bb11ac4cbaca" | ||
"gitHead": "100a013443f8330caaa94615c9ecf93a0ac2ec0b" | ||
} |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1242156
11617