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