@universal-labs/twind-adapter
Version:
Tailwindcss Inline StyleSheet generator for react native
2 lines (1 loc) • 49.2 kB
JavaScript
let e;function t(e){return[...e.v,(e.i?"!":"")+e.n].join(":")}function r(e,r=","){return e.map(t).join(r)}Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});let o="undefined"!=typeof CSS&&CSS.escape||(e=>e.replace(/[!"'`*+.,;:\\/<=>?@#$%&^|~()[\]{}]/g,"\\$&").replace(/^\d/,"\\3$& "));function n(e){for(var t=9,r=e.length;r--;)t=Math.imul(t^e.charCodeAt(r),1597334677);return"#"+((t^t>>>9)>>>0).toString(36)}function i(e,t="@media "){return t+a(e).map((e=>("string"==typeof e&&(e={min:e}),e.raw||Object.keys(e).map((t=>`(${t}-width:${e[t]})`)).join(" and ")))).join(",")}function a(e=[]){return Array.isArray(e)?e:null==e?[]:[e]}function l(e){return e}function c(){}let s={d:0,b:134217728,c:268435456,a:671088640,u:805306368,o:939524096};function f(e){var t;return(null==(t=e.match(/[-=:;]/g))?void 0:t.length)||0}function d(e){return Math.min(/(?:^|width[^\d]+)(\d+(?:.\d+)?)(p)?/.test(e)?Math.max(0,29.63*(+RegExp.$1/(RegExp.$2?15:1))**.137-43):0,15)<<22|Math.min(f(e),15)<<18}let p=["rst-c","st-ch","h-chi","y-lin","nk","sited","ecked","pty","ad-on","cus-w","ver","cus","cus-v","tive","sable","tiona","quire"];function u({n:e,i:r,v:o=[]},n,l,c){e&&(e=t({n:e,i:r,v:o})),c=[...a(c)];for(let t of o){let e=n.theme("screens",t);for(let r of a(e&&i(e)||n.v(t)))c.push(r),l|=e?67108864|d(r):"dark"==t?1073741824:"@"==r[0]?d(r):1<<~(/:([a-z-]+)/.test(r)&&~p.indexOf(RegExp.$1.slice(2,7))||-18)}return{n:e,p:l,r:c,i:r}}let g=new Map;function m(e){if(e.d){let t=[],r=b(e.r.reduce(((e,r)=>"@"==r[0]?(t.push(r),e):r?b(e,(e=>b(r,(t=>{let r=/(:merge\(.+?\))(:[a-z-]+|\\[.+])/.exec(t);if(r){let o=e.indexOf(r[1]);return~o?e.slice(0,o)+r[0]+e.slice(o+r[1].length):h(e,t)}return h(t,e)})))):e),"&"),(t=>h(t,e.n?"."+o(e.n):"")));return r&&t.push(r.replace(/:merge\((.+?)\)/g,"$1")),t.reduceRight(((e,t)=>t+"{"+e+"}"),e.d)}}function b(e,t){return e.replace(/ *((?:\(.+?\)|\[.+?\]|[^,])+) *(,|$)/g,((e,r,o)=>t(r)+o))}function h(e,t){return e.replace(/&/g,t)}function w(e,t){for(var r=0,o=e.length;r<o;){let n=o+r>>1;0>=x(e[n],t)?r=n+1:o=n}return o}function x(e,t){let r=e.p&s.o;return r!=(t.p&s.o)||r!=s.b&&r!=s.o?e.p-t.p||e.o-t.o:0}function y(e,t){return Math.round(parseInt(e,16)*t)}function v(e,t={}){if("function"==typeof e)return e(t);let{opacityValue:r="1",opacityVariable:o}=t,n=o?`var(${o})`:r;if(e.includes("<alpha-value>"))return e.replace("<alpha-value>",n);if("#"==e[0]&&(4==e.length||7==e.length)){let t=(e.length-1)/3,r=[17,1,.062272][t-1];return`rgba(${[y(e.substr(1,t),r),y(e.substr(1+t,t),r),y(e.substr(1+2*t,t),r),n]})`}return"1"==n?e:"0"==n?"#0000":e.replace(/^(rgb|hsl)(\([^)]+)\)$/,`$1a$2,${n})`)}function $(e,t,r,o,l=[]){return function c(e,{n:t,p:r,r:o=[],i:l},p){let u=[],g="",b=0,h=0;for(let x in e||{}){var w,y;let v=e[x];if("@"==x[0]){if(!v)continue;if("a"==x[1]){u.push(...z(t,r,W(""+v),p,r,o,l,!0));continue}if("l"==x[1]){for(let e of a(v))u.push(...c(e,{n:t,p:(w=s[x[7]],r&~s.o|w),r:"d"==x[7]?[]:o,i:l},p));continue}if("i"==x[1]){u.push(...a(v).map((e=>({p:-1,o:0,r:[],d:x+" "+e}))));continue}if("k"==x[1]){u.push({p:s.d,o:0,r:[x],d:c(v,{p:s.d},p).map(m).join("")});continue}if("f"==x[1]){u.push(...a(v).map((e=>({p:s.d,o:0,r:[x],d:c(e,{p:s.d},p).map(m).join("")}))));continue}}if("object"!=typeof v||Array.isArray(v))"label"==x&&v?t=v+n(JSON.stringify([r,l,e])):(v||0===v)&&(x=x.replace(/[A-Z]/g,(e=>"-"+e.toLowerCase())),h+=1,b=Math.max(b,"-"==(y=x)[0]?0:f(y)+(/^(?:(border-(?!w|c|sty)|[tlbr].{2,4}m?$|c.{7,8}$)|([fl].{5}l|g.{8}$|pl))/.test(y)?+!!RegExp.$1||-!!RegExp.$2:0)+1),g+=(g?";":"")+a(v).map((e=>p.s(x,k(""+e,p.theme)+(l?" !important":"")))).join(";"));else if("@"==x[0]||x.includes("&")){let e=r;"@"==x[0]&&(x=x.replace(/\bscreen\(([^)]+)\)/g,((t,r)=>{let o=p.theme("screens",r);return o?(e|=67108864,i(o,"")):t})),e|=d(x)),u.push(...c(v,{n:t,p:e,r:[...o,x],i:l},p))}else u.push(...c(v,{p:r,r:[...o,x]},p))}return u.unshift({n:t,p:r,o:Math.max(0,15-h)+1.5*Math.min(b||15,15),r:o,d:g}),u.sort(x)}(e,u(t,r,o,l),r)}function k(e,t){return e.replace(/theme\((["'`])?(.+?)\1(?:\s*,\s*(["'`])?(.+?)\3)?\)/g,((e,r,o,n,i="")=>{let l=t(o,i);return"function"==typeof l&&/color|fill|stroke/i.test(o)?v(l):""+a(l).filter((e=>Object(e)!==e))}))}function S(e,t){let r,o=[];for(let n of e)n.d&&n.n?(null==r?void 0:r.p)==n.p&&""+r.r==""+n.r?(r.c=[r.c,n.c].filter(Boolean).join(" "),r.d=r.d+";"+n.d):o.push(r={...n,n:n.n&&t}):o.push({...n,n:n.n&&t});return o}function C(e,r,o=s.u,n,i){let l=[];for(let c of e)for(let e of function(e,r,o,n,i){let l=function(e,t){let r=g.get(e.n);return r?r(e,t):t.r(e.n,"dark"==e.v[0])}(e={...e,i:e.i||i},r);return l?"string"==typeof l?(({r:n,p:o}=u(e,r,o,n)),S(C(W(l),r,o,n,e.i),e.n)):Array.isArray(l)?l.map((e=>{var t,r;return{o:0,...e,r:[...a(n),...a(e.r)],p:(t=o,r=e.p??o,t&~s.o|r)}})):$(l,e,r,o,n):[{c:t(e),p:0,o:0,r:[]}]}(c,r,o,n,i))l.splice(w(l,e),0,e);return l}function z(e,t,r,o,n,i,a,l){return S((l?r.flatMap((e=>C([e],o,n,i,a))):C(r,o,n,i,a)).map((e=>e.p&s.o&&(e.n||t==s.b)?{...e,p:e.p&~s.o|t,o:0}:e)),e)}function F(e,t,r,o){var n;return n=(e,n)=>{let{n:i,p:a,r:l,i:c}=u(e,n,t);return r&&z(i,t,r,n,a,l,c,o)},g.set(e,n),e}function A(e,t,r){if("("!=e[e.length-1]){let r=[],o=!1,n=!1,i="";for(let t of e)if("("!=t&&!/[~@]$/.test(t)){if("!"==t[0]&&(t=t.slice(1),o=!o),t.endsWith(":")){r["dark:"==t?"unshift":"push"](t.slice(0,-1));continue}"-"==t[0]&&(t=t.slice(1),n=!n),t.endsWith("-")&&(t=t.slice(0,-1)),t&&"&"!=t&&(i+=(i&&"-")+t)}i&&(n&&(i="-"+i),t[0].push({n:i,v:r.filter(O),i:o}))}}function O(e,t,r){return r.indexOf(e)==t}let T=new Map;function W(e){let t=T.get(e);if(!t){let o=[],i=[[]],a=0,l=0,c=null,f=0,d=(t,r=0)=>{a!=f&&(o.push(e.slice(a,f+r)),t&&A(o,i)),a=f+1};for(;f<e.length;f++){let t=e[f];if(l)"\\"!=e[f-1]&&(l+=+("["==t)||-("]"==t));else if("["==t)l+=1;else if(c)"\\"!=e[f-1]&&c.test(e.slice(f))&&(c=null,a=f+RegExp.lastMatch.length);else if("/"!=t||"\\"==e[f-1]||"*"!=e[f+1]&&"/"!=e[f+1])if("("==t)d(),o.push(t);else if(":"==t)":"!=e[f+1]&&d(!1,1);else if(/[\s,)]/.test(t)){d(!0);let e=o.lastIndexOf("(");if(")"==t){let t=o[e-1];if(/[~@]$/.test(t)){let a=i.shift();o.length=e,A([...o,"#"],i);let{v:l}=i[0].pop();for(let e of a)e.v.splice(+("dark"==e.v[0])-+("dark"==l[0]),l.length);A([...o,F(t.length>1?t.slice(0,-1)+n(JSON.stringify([t,a])):t+"("+r(a)+")",s.a,a,/@$/.test(t))],i)}e=o.lastIndexOf("(",e-1)}o.length=e+1}else/[~@]/.test(t)&&"("==e[f+1]&&i.unshift([]);else c="*"==e[f+1]?/^\*\//:/^[\r\n]/}d(!0),T.set(e,t=i[0])}return t}function D(e,t,r){return t.reduce(((t,o,n)=>t+r(o)+e[n+1]),e[0])}function M(e,t){return Array.isArray(e)&&Array.isArray(e.raw)?D(e,t,(e=>j(e).trim())):t.filter(Boolean).reduce(((e,t)=>e+j(t)),e?j(e):"")}function j(e){let t,r="";if(e&&"object"==typeof e)if(Array.isArray(e))(t=M(e[0],e.slice(1)))&&(r+=" "+t);else for(let o in e)e[o]&&(r+=" "+o);else null!=e&&"boolean"!=typeof e&&(r+=" "+e);return r}function E(e,t){return Array.isArray(e)?_(D(e,t,(e=>null!=e&&"boolean"!=typeof e?e:""))):"string"==typeof e?_(e):[e]}let R=/ *(?:(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}))/g;function _(e){let t;e=e.replace(/\/\*[^]*?\*\/|\s\s+|\n/gm," ");let r=[{}],o=[r[0]],n=[];for(;t=R.exec(e);)t[4]&&(r.shift(),n.shift()),t[3]?(n.unshift(t[3]),r.unshift({}),o.push(n.reduce(((e,t)=>({[t]:e})),r[0]))):t[4]||(r[0][t[1]]&&(r.unshift({}),o.push(n.reduce(((e,t)=>({[t]:e})),r[0]))),r[0][t[1]]=t[2]);return o}function L(e,...t){var r,o;let i=E(e,t),a=((null==(r=i.find((e=>e.label)))?void 0:r.label)||"css")+n(JSON.stringify(i));return o=(e,t)=>S(i.flatMap((r=>$(r,e,t,s.o))),a),g.set(a,o),a}function V(e,t,r){return[e,U(t,r)]}function U(e,t){return"function"==typeof e?e:"string"==typeof e&&/^[\w-]+$/.test(e)?(r,o)=>({[e]:t?t(r,o):B(r,1)}):t=>e||{[t[1]]:B(t,2)}}function B(e,t,r=e.slice(t).find(Boolean)||e.$$||e.input){return"-"==e.input[0]?`calc(${r} * -1)`:r}function P(e,t,r,o){return[e,I(t,r,o)]}function I(e,t,r){let o="string"==typeof t?(e,o)=>({[t]:r?r(e,o):e._}):t||(({1:e,_:t},r,o)=>({[e||o]:t}));return(t,r)=>{let n=Y(e||t[1]),i=r.theme(n,t.$$)??J(t.$$,n,r);if(null!=i)return t._=B(t,0,i),o(t,r,n)}}function N(e,t={},r){return[e,H(t,r)]}function H(e={},t){return(r,o)=>{let{section:n=Y(r[0]).replace("-","")+"Color"}=e,[i,a]=(r.$$.match(/^(\[[^\]]+]|[^/]+?)(?:\/(.+))?$/)||[]).slice(1);if(!i)return;let l=o.theme(n,i)||J(i,n,o);if(!l||"object"==typeof l)return;let{opacityVariable:c=`--tw-${r[0].replace(/-$/,"")}-opacity`,opacitySection:s=n.replace("Color","Opacity"),property:f=n,selector:d}=e,p=o.theme(s,a||"DEFAULT")||a&&J(a,s,o),u=t||(({_:e})=>{let t=G(f,e);return d?{[d]:t}:t});r._={value:v(l,{opacityVariable:c||void 0,opacityValue:p||void 0}),color:e=>v(l,e),opacityVariable:c||void 0,opacityValue:p||void 0};let g=u(r,o);if(!r.dark){let e=o.d(n,i,l);e&&e!==l&&(r._={value:v(e,{opacityVariable:c||void 0,opacityValue:p||"1"}),color:t=>v(e,t),opacityVariable:c||void 0,opacityValue:p||void 0},g={"&":g,[o.v("dark")]:u(r,o)})}return g}}function G(e,t){let r={};return"string"==typeof t?r[e]=t:(t.opacityVariable&&t.value.includes(t.opacityVariable)&&(r[t.opacityVariable]=t.opacityValue||"1"),r[e]=t.value),r}function J(e,t,r){if("["==e[0]&&"]"==e.slice(-1)){if(e=X(k(e.slice(1,-1),r.theme)),!t)return e;if(!(/color|fill|stroke/i.test(t)&&!/^color:/.test(e)&&!/^(#|((hsl|rgb)a?|hwb|lab|lch|color)\(|[a-z]+$)/.test(e)||/image/i.test(t)&&!/^image:/.test(e)&&!/^[a-z-]+\(/.test(e)||/weight/i.test(t)&&!/^(number|any):/.test(e)&&!/^\d+$/.test(e)||/position/i.test(t)&&/^(length|size):/.test(e)))return e.replace(/^[a-z-]+:/,"")}}function Y(e){return e.replace(/-./g,(e=>e[1].toUpperCase()))}function X(e){return e.includes("url(")?e.replace(/(.*?)(url\(.*?\))(.*?)/g,((e,t="",r,o="")=>X(t)+r+X(o))):e.replace(/(^|[^\\])_+/g,((e,t)=>t+" ".repeat(e.length-t.length))).replace(/\\_/g,"_").replace(/(calc|min|max|clamp)\(.+\)/g,(e=>e.replace(/(-?\d*\.?\d(?!\b-.+[,)](?![^+\-/*])\D)(?:%|[a-z]+)?|\))([+\-/*])/g,"$1 $2 ")))}function q(e,...t){return r(W(M(e,t))," ")}function Z({presets:e=[],...t}){let r={darkMode:void 0,darkColor:void 0,preflight:!1!==t.preflight&&[],theme:{},variants:a(t.variants),rules:a(t.rules),ignorelist:a(t.ignorelist),hash:void 0,stringify:(e,t)=>e+":"+t,finalize:[]};for(let o of a([...e,{darkMode:t.darkMode,darkColor:t.darkColor,preflight:!1!==t.preflight&&a(t.preflight),theme:t.theme,hash:t.hash,stringify:t.stringify,finalize:t.finalize}])){let{preflight:e,darkMode:t=r.darkMode,darkColor:n=r.darkColor,theme:i,variants:l,rules:c,ignorelist:s,hash:f=r.hash,stringify:d=r.stringify,finalize:p}="function"==typeof o?o(r):o;r={preflight:!1!==r.preflight&&!1!==e&&[...r.preflight,...a(e)],darkMode:t,darkColor:n,theme:{...r.theme,...i,extend:{...r.theme.extend,...null==i?void 0:i.extend}},variants:[...r.variants,...a(l)],rules:[...r.rules,...a(c)],ignorelist:[...r.ignorelist,...a(s)],hash:f,stringify:d,finalize:[...r.finalize,...a(p)]}}return r}function K(e,t,r,o,n,i){for(let a of t){let t=r.get(a);t||r.set(a,t=o(a));let l=t(e,n,i);if(l)return l}}function Q(e){var t;return te(e[0],"function"==typeof(t=e[1])?t:()=>t)}function ee(e){return Array.isArray(e)?te(e[0],U(e[1],e[2])):te(e,U(void 0,void 0))}function te(e,t){return re(e,((e,r,o,n)=>{let i=r.exec(e);if(i)return i.$$=e.slice(i[0].length),i.dark=n,t(i,o)}))}function re(e,t){let r=a(e).map(oe);return(e,o,n)=>{for(let i of r){let r=t(e,i,o,n);if(r)return r}}}function oe(e){return"string"==typeof e?RegExp("^"+e+(e.includes("$")||"-"==e.slice(-1)?"":"$")):e}let ne=new Proxy(c,{apply:(t,r,o)=>e(o[0]),get(t,r){let o=e[r];return"function"==typeof o?function(){return o.apply(e,arguments)}:o}}),ie=function(e,...t){("function"==typeof this?this:ne)(L({"@layer base":E(e,t)}))};function ae(e={},t){let{label:r="style",base:i,props:a={},defaults:l,when:c=[]}=e,f={...null==t?void 0:t.defaults,...l},d=n(JSON.stringify([r,null==t?void 0:t.className,i,a,f,c])),p=u("",i||"",s.c);function u(e,o,n){return F(((t?t.className.replace(/#.+$/,"~"):"")+r+e+d).replace(/[: ,()[\]]/,""),n,o&&W(o))}return Object.defineProperties((function(e){let r,o;Array.isArray(e)&&(r=!0,e=Object.fromEntries(new URLSearchParams(e[1]).entries()));let n={...f,...e},i=r?"":(t?t(n)+" ":"")+p;for(let t in a){let e=a[t],r=n[t];if(r===Object(r)){let n="";o="";for(let t in r){let i=e[r[t]];i&&(n+="@"+t+"-"+r[t],o+=(o&&" ")+("_"==t?i:t+":("+i+")"))}o&&(i+=" "+u("--"+t+"-"+n,o,402653184))}else(o=e[r])&&(i+=" "+u("--"+t+"-"+r,o,402653184))}return c.forEach(((e,t)=>{let r="";for(let o in e[0]){let t=n[o];if(t===Object(t)||""+t!=""+e[0][o]){r="";break}r+=(r&&"_")+o+"-"+t}r&&(o=e[1])&&(i+=" "+u("-"+t+"--"+r,o,536870912))})),i}),Object.getOwnPropertyDescriptors({className:p,defaults:f,selector:"."+o(p)}))}let le=function(e,...t){return("function"==typeof this?this:ne)(M(e,t))},ce={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:{px:"1px",0:"0px",...de(4,"rem",4,.5,.5),...de(12,"rem",4,5),14:"3.5rem",...de(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:pe("blur"),backdropBrightness:pe("brightness"),backdropContrast:pe("contrast"),backdropGrayscale:pe("grayscale"),backdropHueRotate:pe("hueRotate"),backdropInvert:pe("invert"),backdropOpacity:pe("opacity"),backdropSaturate:pe("saturate"),backdropSepia:pe("sepia"),backgroundColor:pe("colors"),backgroundImage:{none:"none"},backgroundOpacity:pe("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:{...de(200,"",100,0,50),...de(110,"",100,90,5),75:"0.75",125:"1.25"},borderColor:({theme:e})=>({DEFAULT:e("colors.gray.200","currentColor"),...e("colors")}),borderOpacity:pe("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:pe("spacing"),borderWidth:{DEFAULT:"1px",...fe(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:pe("colors"),caretColor:pe("colors"),accentColor:({theme:e})=>({auto:"auto",...e("colors")}),contrast:{...de(200,"",100,0,50),75:"0.75",125:"1.25"},content:{none:"none"},divideColor:pe("borderColor"),divideOpacity:pe("borderOpacity"),divideWidth:pe("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})=>({...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})=>({...e("spacing"),...se(2,6),...se(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:pe("spacing"),gradientColorStops:pe("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})=>({...e("spacing"),...se(2,6),min:"min-content",max:"max-content",fit:"fit-content",auto:"auto",full:"100%",screen:"100vh"}),inset:({theme:e})=>({...e("spacing"),...se(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:{...de(10,"rem",4,3),none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),maxHeight:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",screen:"100vh",...e("spacing")}),maxWidth:({theme:e,breakpoints:t})=>({...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:{...de(100,"",100,0,10),5:"0.05",25:"0.25",75:"0.75",95:"0.95"},order:{first:"-9999",last:"9999",none:"0"},padding:pe("spacing"),placeholderColor:pe("colors"),placeholderOpacity:pe("opacity"),outlineColor:pe("colors"),outlineOffset:fe(8,"px"),outlineWidth:fe(8,"px"),ringColor:({theme:e})=>({...e("colors"),DEFAULT:"#3b82f6"}),ringOffsetColor:pe("colors"),ringOffsetWidth:fe(8,"px"),ringOpacity:({theme:e})=>({...e("opacity"),DEFAULT:"0.5"}),ringWidth:{DEFAULT:"3px",...fe(8,"px")},rotate:{...fe(2,"deg"),...fe(12,"deg",3),...fe(180,"deg",45)},saturate:de(200,"",100,0,50),scale:{...de(150,"",100,0,50),...de(110,"",100,90,5),75:"0.75",125:"1.25"},scrollMargin:pe("spacing"),scrollPadding:pe("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{...fe(2,"deg"),...fe(12,"deg",3)},space:pe("spacing"),stroke:({theme:e})=>({...e("colors"),none:"none"}),strokeWidth:de(2),textColor:pe("colors"),textDecorationColor:pe("colors"),textDecorationThickness:{"from-font":"from-font",auto:"auto",...fe(8,"px")},textUnderlineOffset:{auto:"auto",...fe(8,"px")},textIndent:pe("spacing"),textOpacity:pe("opacity"),transitionDuration:({theme:e})=>({...e("durations"),DEFAULT:"150ms"}),transitionDelay:pe("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})=>({...e("spacing"),...se(2,4),full:"100%"}),width:({theme:e})=>({min:"min-content",max:"max-content",fit:"fit-content",screen:"100vw",...e("flexBasis")}),willChange:{scroll:"scroll-position"},zIndex:{...de(50,"",1,0,10),auto:"auto"}};function se(e,t){let r={};do{for(var o=1;o<e;o++)r[`${o}/${e}`]=Number((o/e*100).toFixed(6))+"%"}while(++e<=t);return r}function fe(e,t,r=0){let o={};for(;r<=e;r=2*r||1)o[r]=r+t;return o}function de(e,t="",r=1,o=0,n=1,i={}){for(;o<=e;o+=n)i[o]=o/r+t;return i}function pe(e){return({theme:t})=>t(e)}let ue={"*,::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, ${ce.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, ${ce.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"}},ge=[V("\\[([-\\w]+):(.+)]",(({1:e,2:t},r)=>({"@layer overrides":{"&":{[e]:J(`[${t}]`,"",r)}}}))),V("(group|peer)([~/][^-[]+)?",(({input:e},{h:t})=>[{c:t(e)}])),P("aspect-","aspectRatio"),V("container",((e,{theme:t})=>{let{screens:r=t("screens"),center:o,padding:n}=t("container"),a={width:"100%",marginRight:o&&"auto",marginLeft:o&&"auto",...l("xs")};for(let c in r){let e=r[c];"string"==typeof e&&(a[i(e)]={"&":{maxWidth:e,...l(c)}})}return a;function l(e){let t=n&&("string"==typeof n?n:n[e]||n.DEFAULT);if(t)return{paddingRight:t,paddingLeft:t}}})),P("content-","content",(({_:e})=>({"--tw-content":e,content:"var(--tw-content)"}))),V("(?:box-)?decoration-(slice|clone)","boxDecorationBreak"),V("box-(border|content)","boxSizing",(({1:e})=>e+"-box")),V("hidden",{display:"none"}),V("table-(auto|fixed)","tableLayout"),V(["(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)",V("isolate","isolation"),V("object-(contain|cover|fill|none|scale-down)","objectFit"),P("object-","objectPosition"),V("object-(top|bottom|center|(left|right)(-(top|bottom))?)","objectPosition",me),V("overscroll(-[xy])?-(auto|contain|none)",(({1:e="",2:t})=>({["overscroll-behavior"+e]:t}))),V("(static|fixed|absolute|relative|sticky)","position"),P("-?inset(-[xy])?(?:$|-)","inset",(({1:e,_:t})=>({top:"-x"!=e&&t,right:"-y"!=e&&t,bottom:"-x"!=e&&t,left:"-y"!=e&&t}))),P("-?(top|bottom|left|right)(?:$|-)","inset"),V("(visible|collapse)","visibility"),V("invisible",{visibility:"hidden"}),P("-?z-","zIndex"),V("flex-((row|col)(-reverse)?)","flexDirection",be),V("flex-(wrap|wrap-reverse|nowrap)","flexWrap"),P("(flex-(?:grow|shrink))(?:$|-)"),P("(flex)-"),P("grow(?:$|-)","flexGrow"),P("shrink(?:$|-)","flexShrink"),P("basis-","flexBasis"),P("-?(order)-"),"-?(order)-(\\d+)",P("grid-cols-","gridTemplateColumns"),V("grid-cols-(\\d+)","gridTemplateColumns",ze),P("col-","gridColumn"),V("col-(span)-(\\d+)","gridColumn",Ce),P("col-start-","gridColumnStart"),V("col-start-(auto|\\d+)","gridColumnStart"),P("col-end-","gridColumnEnd"),V("col-end-(auto|\\d+)","gridColumnEnd"),P("grid-rows-","gridTemplateRows"),V("grid-rows-(\\d+)","gridTemplateRows",ze),P("row-","gridRow"),V("row-(span)-(\\d+)","gridRow",Ce),P("row-start-","gridRowStart"),V("row-start-(auto|\\d+)","gridRowStart"),P("row-end-","gridRowEnd"),V("row-end-(auto|\\d+)","gridRowEnd"),V("grid-flow-((row|col)(-dense)?)","gridAutoFlow",(e=>me(be(e)))),V("grid-flow-(dense)","gridAutoFlow"),P("auto-cols-","gridAutoColumns"),P("auto-rows-","gridAutoRows"),P("gap-x(?:$|-)","gap","columnGap"),P("gap-y(?:$|-)","gap","rowGap"),P("gap(?:$|-)","gap"),"(justify-(?:items|self))-",V("justify-","justifyContent",xe),V("(content|items|self)-",(e=>({["align-"+e[1]]:xe(e)}))),V("(place-(content|items|self))-",(({1:e,$$:t})=>({[e]:("wun".includes(t[3])?"space-":"")+t}))),P("p([xytrbl])?(?:$|-)","padding",ye("padding")),P("-?m([xytrbl])?(?:$|-)","margin",ye("margin")),P("-?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))`}}))),V("space-(x|y)-reverse",(({1:e})=>({"&>:not([hidden])~:not([hidden])":{[`--tw-space-${e}-reverse`]:"1"}}))),P("w-","width"),P("min-w-","minWidth"),P("max-w-","maxWidth"),P("h-","height"),P("min-h-","minHeight"),P("max-h-","maxHeight"),P("font-","fontWeight"),P("font-","fontFamily",(({_:e})=>"string"==typeof(e=a(e))[1]?{fontFamily:we(e)}:{fontFamily:we(e[0]),...e[1]})),V("antialiased",{WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale"}),V("subpixel-antialiased",{WebkitFontSmoothing:"auto",MozOsxFontSmoothing:"auto"}),V("italic","fontStyle"),V("not-italic",{fontStyle:"normal"}),V("(ordinal|slashed-zero|(normal|lining|oldstyle|proportional|tabular)-nums|(diagonal|stacked)-fractions)",(({1:e,2:t="",3:r})=>"normal"==t?{fontVariantNumeric:"normal"}:{["--tw-"+(r?"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)",...Fe({"--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,/*!*/ /*!*/)"})})),P("tracking-","letterSpacing"),P("leading-","lineHeight"),V("list-(inside|outside)","listStylePosition"),P("list-","listStyleType"),V("list-","listStyleType"),P("placeholder-opacity-","placeholderOpacity",(({_:e})=>({"&::placeholder":{"--tw-placeholder-opacity":e}}))),N("placeholder-",{property:"color",selector:"&::placeholder"}),V("text-(left|center|right|justify|start|end)","textAlign"),V("text-(ellipsis|clip)","textOverflow"),P("text-opacity-","textOpacity","--tw-text-opacity"),N("text-",{property:"color"}),P("text-","fontSize",(({_:e})=>"string"==typeof e?{fontSize:e}:{fontSize:e[0],..."string"==typeof e[1]?{lineHeight:e[1]}:e[1]})),P("indent-","textIndent"),V("(overline|underline|line-through)","textDecorationLine"),V("no-underline",{textDecorationLine:"none"}),P("underline-offset-","textUnderlineOffset"),N("decoration-",{section:"textDecorationColor",opacityVariable:!1,opacitySection:"opacity"}),P("decoration-","textDecorationThickness"),V("decoration-","textDecorationStyle"),V("(uppercase|lowercase|capitalize)","textTransform"),V("normal-case",{textTransform:"none"}),V("truncate",{overflow:"hidden",whiteSpace:"nowrap",textOverflow:"ellipsis"}),V("align-","verticalAlign"),V("whitespace-","whiteSpace"),V("break-normal",{wordBreak:"normal",overflowWrap:"normal"}),V("break-words",{overflowWrap:"break-word"}),V("break-all",{wordBreak:"break-all"}),V("break-keep",{wordBreak:"keep-all"}),N("caret-",{opacityVariable:!1,opacitySection:"opacity"}),N("accent-",{opacityVariable:!1,opacitySection:"opacity"}),V("bg-gradient-to-([trbl]|[tb][rl])","backgroundImage",(({1:e})=>`linear-gradient(to ${he(e," ")},var(--tw-gradient-stops))`)),N("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)"}))),N("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)`}))),N("to-",{section:"gradientColorStops",property:"--tw-gradient-to",opacityVariable:!1,opacitySection:"opacity"}),V("bg-(fixed|local|scroll)","backgroundAttachment"),V("bg-origin-(border|padding|content)","backgroundOrigin",(({1:e})=>e+"-box")),V(["bg-(no-repeat|repeat(-[xy])?)","bg-repeat-(round|space)"],"backgroundRepeat"),V("bg-blend-","backgroundBlendMode"),V("bg-clip-(border|padding|content|text)","backgroundClip",(({1:e})=>e+("text"==e?"":"-box"))),P("bg-opacity-","backgroundOpacity","--tw-bg-opacity"),N("bg-",{section:"backgroundColor"}),P("bg-","backgroundImage"),P("bg-","backgroundPosition"),V("bg-(top|bottom|center|(left|right)(-(top|bottom))?)","backgroundPosition",me),P("bg-","backgroundSize"),P("rounded(?:$|-)","borderRadius"),P("rounded-([trbl]|[tb][rl])(?:$|-)","borderRadius",(({1:e,_:t})=>{let r={t:["tl","tr"],r:["tr","br"],b:["bl","br"],l:["bl","tl"]}[e]||[e,e];return{[`border-${he(r[0])}-radius`]:t,[`border-${he(r[1])}-radius`]:t}})),V("border-(collapse|separate)","borderCollapse"),P("border-opacity(?:$|-)","borderOpacity","--tw-border-opacity"),V("border-(solid|dashed|dotted|double|none)","borderStyle"),P("border-spacing(-[xy])?(?:$|-)","borderSpacing",(({1:e,_:t})=>({...Fe({"--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)"}))),N("border-([xytrbl])-",{section:"borderColor"},ye("border","Color")),N("border-"),P("border-([xytrbl])(?:$|-)","borderWidth",ye("border","Width")),P("border(?:$|-)","borderWidth"),P("divide-opacity(?:$|-)","divideOpacity",(({_:e})=>({"&>:not([hidden])~:not([hidden])":{"--tw-divide-opacity":e}}))),V("divide-(solid|dashed|dotted|double|none)",(({1:e})=>({"&>:not([hidden])~:not([hidden])":{borderStyle:e}}))),V("divide-([xy]-reverse)",(({1:e})=>({"&>:not([hidden])~:not([hidden])":{["--tw-divide-"+e]:"1"}}))),P("divide-([xy])(?:$|-)","divideWidth",(({1:e,_:t})=>{let r={x:"lr",y:"tb"}[e];return{"&>:not([hidden])~:not([hidden])":{[`--tw-divide-${e}-reverse`]:"0",[`border-${he(r[0])}Width`]:`calc(${t} * calc(1 - var(--tw-divide-${e}-reverse)))`,[`border-${he(r[1])}Width`]:`calc(${t} * var(--tw-divide-${e}-reverse))`}}})),N("divide-",{property:"borderColor",selector:"&>:not([hidden])~:not([hidden])"}),P("ring-opacity(?:$|-)","ringOpacity","--tw-ring-opacity"),N("ring-offset-",{property:"--tw-ring-offset-color",opacityVariable:!1}),P("ring-offset(?:$|-)","ringOffsetWidth","--tw-ring-offset-width"),V("ring-inset",{"--tw-ring-inset":"inset"}),N("ring-",{property:"--tw-ring-color"}),P("ring(?:$|-)","ringWidth",(({_:e},{theme:t})=>({...Fe({"--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":t("ringOffsetWidth","","0px"),"--tw-ring-offset-color":v(t("ringOffsetColor","","#fff")),"--tw-ring-color":v(t("ringColor","","#93c5fd"),{opacityVariable:"--tw-ring-opacity"}),"--tw-ring-opacity":t("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(${e} + var(--tw-ring-offset-width)) var(--tw-ring-color)`,boxShadow:"var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)"}))),N("shadow-",{section:"boxShadowColor",opacityVariable:!1,opacitySection:"opacity"},(({_:e})=>({"--tw-shadow-color":e.value,"--tw-shadow":"var(--tw-shadow-colored)"}))),P("shadow(?:$|-)","boxShadow",(({_:e})=>({...Fe({"--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":we(e),"--tw-shadow-colored":we(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)"}))),P("(opacity)-"),V("mix-blend-","mixBlendMode"),...ve(),...ve("backdrop-"),P("transition(?:$|-)","transitionProperty",((e,{theme:t})=>({transitionProperty:we(e),transitionTimingFunction:"none"==e._?void 0:we(t("transitionTimingFunction","")),transitionDuration:"none"==e._?void 0:we(t("transitionDuration",""))}))),P("duration(?:$|-)","transitionDuration","transitionDuration",we),P("ease(?:$|-)","transitionTimingFunction","transitionTimingFunction",we),P("delay(?:$|-)","transitionDelay","transitionDelay",we),P("animate(?:$|-)","animation",((e,{theme:t,h:r,e:o})=>{let n=we(e),i=n.split(" "),a=t("keyframes",i[0]);return a?{["@keyframes "+(i[0]=o(r(i[0])))]:a,animation:i.join(" ")}:{animation:n}})),"(transform)-(none)",V("transform",ke),V("transform-(cpu|gpu)",(({1:e})=>({"--tw-transform":Se("gpu"==e)}))),P("scale(-[xy])?-","scale",(({1:e,_:t})=>({["--tw-scale"+(e||"-x")]:t,["--tw-scale"+(e||"-y")]:t,...ke()}))),P("-?(rotate)-","rotate",$e),P("-?(translate-[xy])-","translate",$e),P("-?(skew-[xy])-","skew",$e),V("origin-(center|((top|bottom)(-(left|right))?)|left|right)","transformOrigin",me),"(appearance)-",P("(columns)-"),"(columns)-(\\d+)","(break-(?:before|after|inside))-",P("(cursor)-"),"(cursor)-",V("snap-(none)","scroll-snap-type"),V("snap-(x|y|both)",(({1:e})=>({...Fe({"--tw-scroll-snap-strictness":"proximity"}),"scroll-snap-type":e+" var(--tw-scroll-snap-strictness)"}))),V("snap-(mandatory|proximity)","--tw-scroll-snap-strictness"),V("snap-(?:(start|end|center)|align-(none))","scroll-snap-align"),V("snap-(normal|always)","scroll-snap-stop"),V("scroll-(auto|smooth)","scroll-behavior"),P("scroll-p([xytrbl])?(?:$|-)","padding",ye("scroll-padding")),P("-?scroll-m([xytrbl])?(?:$|-)","scroll-margin",ye("scroll-margin")),V("touch-(auto|none|manipulation)","touch-action"),V("touch-(pinch-zoom|pan-(?:(x|left|right)|(y|up|down)))",(({1:e,2:t,3:r})=>({...Fe({"--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":r?"pan-y":e}`]:e,"touch-action":"var(--tw-touch-action)"}))),V("outline-none",{outline:"2px solid transparent","outline-offset":"2px"}),V("outline",{outlineStyle:"solid"}),V("outline-(dashed|dotted|double)","outlineStyle"),P("-?(outline-offset)-"),N("outline-",{opacityVariable:!1,opacitySection:"opacity"}),P("outline-","outlineWidth"),"(pointer-events)-",P("(will-change)-"),"(will-change)-",["resize(?:-(none|x|y))?","resize",({1:e})=>({x:"horizontal",y:"vertical"}[e]||e||"both")],V("select-(none|text|all|auto)","userSelect"),N("fill-",{section:"fill",opacityVariable:!1,opacitySection:"opacity"}),N("stroke-",{section:"stroke",opacityVariable:!1,opacitySection:"opacity"}),P("stroke-","strokeWidth"),V("sr-only",{position:"absolute",width:"1px",height:"1px",padding:"0",margin:"-1px",overflow:"hidden",whiteSpace:"nowrap",clip:"rect(0,0,0,0)",borderWidth:"0"}),V("not-sr-only",{position:"static",width:"auto",height:"auto",padding:"0",margin:"0",overflow:"visible",whiteSpace:"normal",clip:"auto"})];function me(e){return("string"==typeof e?e:e[1]).replace(/-/g," ").trim()}function be(e){return("string"==typeof e?e:e[1]).replace("col","column")}function he(e,t="-"){let r=[];for(let o of e)r.push({t:"top",r:"right",b:"bottom",l:"left"}[o]);return r.join(t)}function we(e){return e&&""+(e._||e)}function xe({$$:e}){return({r:"flex-","":"flex-",w:"space-",u:"space-",n:"space-"}[e[3]||""]||"")+e}function ye(e,t=""){return({1:r,_:o})=>{let n={x:"lr",y:"tb"}[r]||r+r;return n?{...G(e+"-"+he(n[0])+t,o),...G(e+"-"+he(n[1])+t,o)}:G(e+t,o)}}function ve(e=""){let t=["blur","brightness","contrast","grayscale","hue-rotate","invert",e&&"opacity","saturate","sepia",!e&&"drop-shadow"].filter(Boolean),r={};for(let o of t)r[`--tw-${e}${o}`]="var(--tw-empty,/*!*/ /*!*/)";return r={...Fe(r),[`${e}filter`]:t.map((t=>`var(--tw-${e}${t})`)).join(" ")},[`(${e}filter)-(none)`,V(`${e}filter`,r),...t.map((t=>P(`${"h"==t[0]?"-?":""}(${e}${t})(?:$|-)`,t,(({1:e,_:o})=>({[`--tw-${e}`]:a(o).map((e=>`${t}(${e})`)).join(" "),...r})))))]}function $e({1:e,_:t}){return{["--tw-"+e]:t,...ke()}}function ke(){return{...Fe({"--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":Se()}),transform:"var(--tw-transform)"}}function Se(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 Ce({1:e,2:t}){return`${e} ${t} / ${e} ${t}`}function ze({1:e}){return`repeat(${e},minmax(0,1fr))`}function Fe(e){return{"@layer defaults":{"*,::before,::after":e,"::backdrop":e}}}let Ae=[["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:e,$$:t},r)=>t&&`&[${e}-${r.theme(e,t)||J(t,"",r)||`${t}="true"`}]`],["((group|peer)(~[^-[]+)?)(-\\[(.+)]|[-[].+?)(\\/.+)?",({2:e,3:t="",4:r,5:o="",6:n=t},{e:i,h:a,v:l})=>{let c=X(o)||("["==r[0]?r:l(r.slice(1)));return`${(c.includes("&")?c:"&"+c).replace(/&/g,`:merge(.${i(a(e+n))})`)}${"p"==e[0]?"~":" "}&`}],["(ltr|rtl)",({1:e})=>`[dir="${e}"] &`],["supports-",({$$:e},t)=>{if(e&&(e=t.theme("supports",e)||J(e,"",t)),e)return e.includes(":")||(e+=":var(--tw)"),/^\w*\s*\(/.test(e)||(e=`(${e})`),`@supports ${e.replace(/\b(and|or|not)\b/g," $1 ").trim()}`}],["max-",({$$:e},t)=>{if(e&&(e=t.theme("screens",e)||J(e,"",t)),"string"==typeof e)return`@media not all and (min-width:${e})`}],["min-",({$$:e},t)=>(e&&(e=J(e,"",t)),e&&`@media (min-width:${e})`)],[/^\[(.+)]$/,({1:e})=>/[&@]/.test(e)&&X(e).replace(/[}]+$/,"").split("{")]],Oe={__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"}};const Te=[["-?rotate-x-(\\s*\\d+|\\[(.*)])",(e,t)=>{const r=t.theme("rotate",e[1],e[2]??e[1]);return{transform:`rotate(${e.input.startsWith("-")?"-":""}${r})`}}],["-?rotate-y-(\\s*\\d+|\\[(.*)])",e=>({transform:`rotate(0, ${e.input.startsWith("-")?"-":""}${void 0!==e[2]?e[2]:`${e[1]}deg`})`})],["-?rotate-(\\s*\\d+|\\[(.*)])",(e,t)=>{const r=t.theme("rotate",e[1],e[2]??e[1]);return{transform:`rotate(${e.input.startsWith("-")?"-":""}${r})`}}]],We=[["shadow-(.*)",(e,t)=>({boxShadow:t.theme("boxShadow",e[1],e[2]??e[1])})],["ring-(.*)",(e,t)=>{const r=t.theme("ringWidth",e[1],e[2]??e[1]);return{border:r,margin:`-${r}`}}]],De=[["-?translate-x-(\\s*\\d+|\\[(.*)])",(e,t)=>{const r=t.theme("translate",e[1],e[2]??e[1]);return{transform:`translate(${e.input.startsWith("-")?"-":""}${r})`}}],["-?translate-y-(\\s*\\d+|\\[(.*)])",e=>({transform:`translate(0, ${e.input.startsWith("-")?"-":""}${void 0!==e[2]?e[2]:`${e[1]}rem`})`})],["-?translate-(\\s*\\d+|\\[(.*)])",e=>{const t=e.input.startsWith("-"),r=void 0!==e[2];return{transform:`translate(${t?"-":""}${r?e[2]:`${e[1]}rem`}, ${t?"-":""}${r?e[2]:`${e[1]}rem`})`}}]],Me=Z({preflight:!1,darkMode:"class",ignorelist:["grid-(.*)","col-(.*)","row-(.*)","auto-cols-(.*)","auto-rows-(.*)","transition-(.*)","duration-(.*)","ease-(.*)","delay-(.*)","animate-(.*)"],presets:[function({disablePreflight:e}={}){return function({colors:e,disablePreflight:t}={}){return{preflight:t?void 0:ue,theme:{...ce,colors:{inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",...e}},variants:Ae,rules:ge,finalize:e=>e.n&&e.d&&e.r.some((e=>/^&::(before|after)$/.test(e)))&&!/(^|;)content:/.test(e.d)?{...e,d:"content:var(--tw-content);"+e.d}:e}}({colors:Oe,disablePreflight:e})}({disablePreflight:!0}),{variants:[["ios","&:ios"],["android","&:android"],["web","&:web"]],rules:[...De,...Te,...We],finalize:e=>e=function(e){var t;if(e.d&&(null==(t=e.d)?void 0:t.includes("var(--"))){const t=e.d.split(";");let r=t[0],o=`${t[1]};`;if(r&&o){const t=r.split(":"),n=t[0],i=t[1];i&&n&&(o=o.replace(/(var\((--[\w-]+)\))/g,((e,t,r)=>r===n?i:e)),e.d=`${o}`)}}return e}(e)}],rules:[...De,...Te,...We,["-?skew-x-(\\s*\\d+|\\[(.*)])",(e,t)=>{const r=t.theme("skew",e[1],e[2]??e[1]);return{transform:`skewX(${e.input.startsWith("-")?"-":""}${r})`}}],["-?skew-y-(\\s*\\d+|\\[(.*)])",e=>({transform:`skewY(${e.input.startsWith("-")?"-":""}${void 0!==e[2]?e[2]:`${e[1]}deg`})`})]]});exports.hash=n,exports.initialize=function(e={}){var t;const r=function(e,t){let r=Z(e),i=function({theme:e,darkMode:t,darkColor:r=c,variants:i,rules:s,hash:f,stringify:d,ignorelist:p,finalize:u}){let g=new Map,m=new Map,b=new Map,h=new Map,w=re(p,((e,t)=>t.test(e)));i.push(["dark",Array.isArray(t)||"class"==t?`${a(t)[1]||".dark"} &`:"string"==typeof t&&"media"!=t?t:"@media (prefers-color-scheme:dark)"]);let x="function"==typeof f?e=>f(e,n):f?n:l;x!==l&&u.push((e=>{var t;return{...e,n:e.n&&x(e.n),d:null==(t=e.d)?void 0:t.replace(/--(tw(?:-[\w-]+)?)\b/g,((e,t)=>"--"+x(t).replace("#","")))}}));let y={theme:function({extend:e={},...t}){let r={},o={get colors(){return n("colors")},theme:n,negative:()=>({}),breakpoints(e){let t={};for(let r in e)"string"==typeof e[r]&&(t["screen-"+r]=e[r]);return t}};return n;function n(o,a,l,c){if(o){if(({1:o,2:c}=/^(\S+?)(?:\s*\/\s*([^/]+))?$/.exec(o)||[,o]),/[.[]/.test(o)){let e=[];o.replace(/\[([^\]]+)\]|([^.[]+)/g,((t,r,o=r)=>e.push(o))),o=e.shift(),l=a,a=e.join("-")}let s=r[o]||Object.assign(Object.assign(r[o]={},i(t,o)),i(e,o));if(null==a)return s;a||(a="DEFAULT");let f=s[a]??a.split("-").reduce(((e,t)=>null==e?void 0:e[t]),s)??l;return c?v(f,{opacityValue:k(c,n)}):f}let s={};for(let r of[...Object.keys(t),...Object.keys(e)])s[r]=n(r);return s}function i(e,t){let r=e[t];return"function"==typeof r&&(r=r(o)),r&&/color|fill|stroke/i.test(t)?function n(e,t=[]){let r={};for(let o in e){let i=e[o],a=[...t,o];r[a.join("-")]=i,"DEFAULT"==o&&(a=t,r[t.join("-")]=i),"object"==typeof i&&Object.assign(r,n(i,a))}return r}(r):r}}(e),e:o,h:x,s:(e,t)=>d(e,t,y),d:(e,t,o)=>r(e,t,y,o),v:e=>(g.has(e)||g.set(e,K(e,i,m,Q,y)||"&:"+e),g.get(e)),r(e,t){let r=JSON.stringify([e,t]);return b.has(r)||b.set(r,!w(e,y)&&K(e,s,h,ee,y,t)),b.get(r)},f:e=>u.reduce(((e,t)=>t(e,y)),e)};return y}(r),f=new Map,d=[],p=new Set;function u(e){let r=i.f(e),o=m(r);if(o&&!p.has(o)){p.add(o);let r=w(d,e);t.insert(o,r,e),d.splice(r,0,e)}return r.n}return t.resume((e=>f.set(e,e)),((e,r)=>{t.insert(e,d.length,r),d.push(r),p.add(e)})),Object.defineProperties((function(e){if(!f.size)for(let o of a(r.preflight))"function"==typeof o&&(o=o(i)),o&&("string"==typeof o?z("",s.b,W(o),i,s.b,[],!1,!0):$(o,{},i,s.b)).forEach(u);e=""+e;let t=f.get(e);if(!t){let r=new Set;for(let t of C(W(e),i))r.add(t.c).add(u(t));t=[...r].filter(Boolean).join(" "),f.set(e,t).set(t,t)}return t}),Object.getOwnPropertyDescriptors({get target(){return t.target},theme:i.theme,config:r,snapshot(){let e=t.snapshot(),r=new Set(p),o=new Map(f),n=[...d];return()=>{e(),p=r,f=o,d=n}},clear(){t.clear(),p=new Set,f=new Map,d=[]},destroy(){this.clear(),t.destroy()}}))}({...Me,theme:{...null==Me?void 0:Me.theme,extend:{...null==(t=null==Me?void 0:Me.theme)?void 0:t.extend,...e}}},function(e){let t=[];return{target:t,snapshot(){let e=[...t];return()=>{t.splice(0,t.length,...e)}},clear(){t.length=0},destroy(){this.clear()},insert(e,r,o){t.splice(r,0,e)},resume:c}}());return{tw:r,tx:le.bind(r),injectGlobal:ie.bind(r),cx:q.bind(r)}},exports.injectCss=L,exports.stylesGenerator=(e,t)=>"function"==typeof e?ae(t,e):ae(e);
;