@tailwindcss/postcss 0.0.0-insiders.f8b9aa9 → 0.0.0-insiders.f945c3d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -27,14 +27,100 @@ For full documentation, visit [tailwindcss.com](https://tailwindcss.com).
27
27
 
28
28
  ## Community
29
29
 
30
- For help, discussion about best practices, or any other conversation that would benefit from being searchable:
30
+ For help, discussion about best practices, or feature ideas:
31
31
 
32
32
  [Discuss Tailwind CSS on GitHub](https://github.com/tailwindcss/tailwindcss/discussions)
33
33
 
34
- For chatting with others using the framework:
35
-
36
- [Join the Tailwind CSS Discord Server](https://discord.gg/7NF8GNe)
37
-
38
34
  ## Contributing
39
35
 
40
36
  If you're interested in contributing to Tailwind CSS, please read our [contributing docs](https://github.com/tailwindcss/tailwindcss/blob/next/.github/CONTRIBUTING.md) **before submitting a pull request**.
37
+
38
+ ---
39
+
40
+ ## `@tailwindcss/postcss` plugin API
41
+
42
+ ### Changing where the plugin searches for source files
43
+
44
+ You can use the `base` option (defaults to the current working directory) to change the directory in which the plugin searches for source files:
45
+
46
+ ```js
47
+ import tailwindcss from "@tailwindcss/postcss"
48
+
49
+ export default {
50
+ plugins: [
51
+ tailwindcss({
52
+ base: path.resolve(__dirname, "./path)
53
+ })
54
+ ]
55
+ }
56
+ ```
57
+
58
+ ### Enabling or disabling Lightning CSS
59
+
60
+ By default, this plugin detects whether or not the CSS is being built for production by checking the `NODE_ENV` environment variable. When building for production Lightning CSS will be enabled otherwise it is disabled.
61
+
62
+ If you want to always enable or disable Lightning CSS the `optimize` option may be used:
63
+
64
+ ```js
65
+ import tailwindcss from '@tailwindcss/postcss'
66
+
67
+ export default {
68
+ plugins: [
69
+ tailwindcss({
70
+ // Enable or disable Lightning CSS
71
+ optimize: false,
72
+ }),
73
+ ],
74
+ }
75
+ ```
76
+
77
+ It's also possible to keep Lightning CSS enabled but disable minification:
78
+
79
+ ```js
80
+ import tailwindcss from '@tailwindcss/postcss'
81
+
82
+ export default {
83
+ plugins: [
84
+ tailwindcss({
85
+ optimize: { minify: false },
86
+ }),
87
+ ],
88
+ }
89
+ ```
90
+
91
+ ### Enabling or disabling `url(…)` rewriting
92
+
93
+ Our PostCSS plugin can rewrite `url(…)`s for you since it also handles `@import` (no `postcss-import` is needed). This feature is enabled by default.
94
+
95
+ In some situations the bundler or framework you're using may provide this feature itself. In this case you can set `transformAssetUrls` to `false` to disable this feature:
96
+
97
+ ```js
98
+ import tailwindcss from '@tailwindcss/postcss'
99
+
100
+ export default {
101
+ plugins: [
102
+ tailwindcss({
103
+ // Disable `url(…)` rewriting
104
+ transformAssetUrls: false,
105
+
106
+ // Enable `url(…)` rewriting (the default)
107
+ transformAssetUrls: true,
108
+ }),
109
+ ],
110
+ }
111
+ ```
112
+
113
+ You may also pass options to `optimize` to enable Lighting CSS but prevent minification:
114
+
115
+ ```js
116
+ import tailwindcss from '@tailwindcss/postcss'
117
+
118
+ export default {
119
+ plugins: [
120
+ tailwindcss({
121
+ // Enables Lightning CSS but disables minification
122
+ optimize: { minify: false },
123
+ }),
124
+ ],
125
+ }
126
+ ```
package/dist/index.d.mts CHANGED
@@ -1,10 +1,24 @@
1
1
  import { PluginCreator } from 'postcss';
2
2
 
3
3
  type PluginOptions = {
4
+ /**
5
+ * The base directory to scan for class candidates.
6
+ *
7
+ * Defaults to the current working directory.
8
+ */
4
9
  base?: string;
10
+ /**
11
+ * Optimize and minify the output CSS.
12
+ */
5
13
  optimize?: boolean | {
6
14
  minify?: boolean;
7
15
  };
16
+ /**
17
+ * Enable or disable asset URL rewriting.
18
+ *
19
+ * Defaults to `true`.
20
+ */
21
+ transformAssetUrls?: boolean;
8
22
  };
9
23
  declare const _default: PluginCreator<PluginOptions>;
10
24
 
package/dist/index.d.ts CHANGED
@@ -1,10 +1,24 @@
1
1
  import { PluginCreator } from 'postcss';
2
2
 
3
3
  type PluginOptions = {
4
+ /**
5
+ * The base directory to scan for class candidates.
6
+ *
7
+ * Defaults to the current working directory.
8
+ */
4
9
  base?: string;
10
+ /**
11
+ * Optimize and minify the output CSS.
12
+ */
5
13
  optimize?: boolean | {
6
14
  minify?: boolean;
7
15
  };
16
+ /**
17
+ * Enable or disable asset URL rewriting.
18
+ *
19
+ * Defaults to `true`.
20
+ */
21
+ transformAssetUrls?: boolean;
8
22
  };
9
23
  declare const _default: PluginCreator<PluginOptions>;
10
24
 
package/dist/index.js CHANGED
@@ -1,10 +1,18 @@
1
- "use strict";var Le=Object.create;var se=Object.defineProperty;var je=Object.getOwnPropertyDescriptor;var Me=Object.getOwnPropertyNames;var We=Object.getPrototypeOf,Be=Object.prototype.hasOwnProperty;var le=(e,o)=>(o=Symbol[e])?o:Symbol.for("Symbol."+e),ae=e=>{throw TypeError(e)};var He=(e,o,r,t)=>{if(o&&typeof o=="object"||typeof o=="function")for(let n of Me(o))!Be.call(e,n)&&n!==r&&se(e,n,{get:()=>o[n],enumerable:!(t=je(o,n))||t.enumerable});return e};var R=(e,o,r)=>(r=e!=null?Le(We(e)):{},He(o||!e||!e.__esModule?se(r,"default",{value:e,enumerable:!0}):r,e));var ue=(e,o,r)=>{if(o!=null){typeof o!="object"&&typeof o!="function"&&ae("Object expected");var t,n;r&&(t=o[le("asyncDispose")]),t===void 0&&(t=o[le("dispose")],r&&(n=t)),typeof t!="function"&&ae("Object not disposable"),n&&(t=function(){try{n.call(this)}catch(i){return Promise.reject(i)}}),e.push([r,t,o])}else r&&e.push([r]);return o},fe=(e,o,r)=>{var t=typeof SuppressedError=="function"?SuppressedError:function(l,s,a,c){return c=Error(a),c.name="SuppressedError",c.error=l,c.suppressed=s,c},n=l=>o=r?new t(l,o,"An error was suppressed during disposal"):(r=!0,l),i=l=>{for(;l=e.pop();)try{var s=l[1]&&l[1].call(l[2]);if(l[0])return Promise.resolve(s).then(i,a=>(n(a),i()))}catch(a){n(a)}if(r)throw o};return i()};var Pe=R(require("@alloc/quick-lru")),m=require("@tailwindcss/node"),Oe=require("@tailwindcss/node/require-cache"),Ke=require("@tailwindcss/oxide"),_e=R(require("fs")),b=R(require("path")),G=R(require("postcss"));function q(e){return{kind:"word",value:e}}function Ge(e,o){return{kind:"function",value:e,nodes:o}}function qe(e){return{kind:"separator",value:e}}function P(e,o,r=null){for(let t=0;t<e.length;t++){let n=e[t],i=!1,l=0,s=o(n,{parent:r,replaceWith(a){i||(i=!0,Array.isArray(a)?a.length===0?(e.splice(t,1),l=0):a.length===1?(e[t]=a[0],l=1):(e.splice(t,1,...a),l=a.length):e[t]=a)}})??0;if(i){s===0?t--:t+=l-1;continue}if(s===2)return 2;if(s!==1&&n.kind==="function"&&P(n.nodes,o,n)===2)return 2}}function $(e){let o="";for(let r of e)switch(r.kind){case"word":case"separator":{o+=r.value;break}case"function":o+=r.value+"("+$(r.nodes)+")"}return o}var ce=92,Ye=41,pe=58,de=44,Je=34,me=61,ge=62,he=60,ve=10,Qe=40,Ze=39,we=47,ke=32,ye=9;function T(e){e=e.replaceAll(`\r
1
+ "use strict";var Ft=Object.create;var Be=Object.defineProperty;var jt=Object.getOwnPropertyDescriptor;var Wt=Object.getOwnPropertyNames;var Bt=Object.getPrototypeOf,Gt=Object.prototype.hasOwnProperty;var je=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),We=e=>{throw TypeError(e)};var qt=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Wt(t))!Gt.call(e,o)&&o!==r&&Be(e,o,{get:()=>t[o],enumerable:!(i=jt(t,o))||i.enumerable});return e};var ge=(e,t,r)=>(r=e!=null?Ft(Bt(e)):{},qt(t||!e||!e.__esModule?Be(r,"default",{value:e,enumerable:!0}):r,e));var Ge=(e,t,r)=>{if(t!=null){typeof t!="object"&&typeof t!="function"&&We("Object expected");var i,o;r&&(i=t[je("asyncDispose")]),i===void 0&&(i=t[je("dispose")],r&&(o=i)),typeof i!="function"&&We("Object not disposable"),o&&(i=function(){try{o.call(this)}catch(l){return Promise.reject(l)}}),e.push([r,i,t])}else r&&e.push([r]);return t},qe=(e,t,r)=>{var i=typeof SuppressedError=="function"?SuppressedError:function(n,s,a,u){return u=Error(a),u.name="SuppressedError",u.error=n,u.suppressed=s,u},o=n=>t=r?new i(n,t,"An error was suppressed during disposal"):(r=!0,n),l=n=>{for(;n=e.pop();)try{var s=n[1]&&n[1].call(n[2]);if(n[0])return Promise.resolve(s).then(l,a=>(o(a),l()))}catch(a){o(a)}if(r)throw t};return l()};var Lt=ge(require("@alloc/quick-lru")),R=require("@tailwindcss/node"),It=require("@tailwindcss/node/require-cache"),Kt=require("@tailwindcss/oxide"),zt=ge(require("fs")),U=ge(require("path"));function _(e){return{kind:"word",value:e}}function Ht(e,t){return{kind:"function",value:e,nodes:t}}function Zt(e){return{kind:"separator",value:e}}function N(e,t,r=null){for(let i=0;i<e.length;i++){let o=e[i],l=!1,n=0,s=t(o,{parent:r,replaceWith(a){l||(l=!0,Array.isArray(a)?a.length===0?(e.splice(i,1),n=0):a.length===1?(e[i]=a[0],n=1):(e.splice(i,1,...a),n=a.length):e[i]=a)}})??0;if(l){s===0?i--:i+=n-1;continue}if(s===2)return 2;if(s!==1&&o.kind==="function"&&N(o.nodes,t,o)===2)return 2}}function Ve(e,t,r=null){for(let i=0;i<e.length;i++){let o=e[i];if(o.kind==="function"&&Ve(o.nodes,t,o)===2)return 2;let l=!1,n=0,s=t(o,{parent:r,replaceWith(a){l||(l=!0,Array.isArray(a)?a.length===0?(e.splice(i,1),n=0):a.length===1?(e[i]=a[0],n=1):(e.splice(i,1,...a),n=a.length):e[i]=a)}})??0;if(l){s===0?i--:i+=n-1;continue}if(s===2)return 2}}function S(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+S(r.nodes)+")"}return t}var He=92,Qt=41,Ze=58,Qe=44,Yt=34,Ye=61,Je=62,Xe=60,et=10,Jt=40,Xt=39,er=47,tt=32,rt=9;function A(e){e=e.replaceAll(`\r
2
2
  `,`
3
- `);let o=[],r=[],t=null,n="",i;for(let l=0;l<e.length;l++){let s=e.charCodeAt(l);switch(s){case ce:{n+=e[l]+e[l+1],l++;break}case pe:case de:case me:case ge:case he:case ve:case we:case ke:case ye:{if(n.length>0){let k=q(n);t?t.nodes.push(k):o.push(k),n=""}let a=l,c=l+1;for(;c<e.length&&(i=e.charCodeAt(c),!(i!==pe&&i!==de&&i!==me&&i!==ge&&i!==he&&i!==ve&&i!==we&&i!==ke&&i!==ye));c++);l=c-1;let S=qe(e.slice(a,c));t?t.nodes.push(S):o.push(S);break}case Ze:case Je:{let a=l;for(let c=l+1;c<e.length;c++)if(i=e.charCodeAt(c),i===ce)c+=1;else if(i===s){l=c;break}n+=e.slice(a,l+1);break}case Qe:{let a=Ge(n,[]);n="",t?t.nodes.push(a):o.push(a),r.push(a),t=a;break}case Ye:{let a=r.pop();if(n.length>0){let c=q(n);a.nodes.push(c),n=""}r.length>0?t=r[r.length-1]:t=null;break}default:n+=String.fromCharCode(s)}}return n.length>0&&o.push(q(n)),o}var Xe=["anchor-size"],Ot=new RegExp(`(${Xe.join("|")})\\(`,"g");var zt=new Uint8Array(256);var M=new Uint8Array(256);function g(e,o){let r=0,t=[],n=0,i=e.length,l=o.charCodeAt(0);for(let s=0;s<i;s++){let a=e.charCodeAt(s);if(r===0&&a===l){t.push(e.slice(n,s)),n=s+1;continue}switch(a){case 92:s+=1;break;case 39:case 34:for(;++s<i;){let c=e.charCodeAt(s);if(c===92){s+=1;continue}if(c===a)break}break;case 40:M[r]=41,r++;break;case 91:M[r]=93,r++;break;case 123:M[r]=125,r++;break;case 93:case 125:case 41:r>0&&a===M[r-1]&&r--;break}}return t.push(e.slice(n)),t}var x=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,tr=new RegExp(`^${x.source}$`);var rr=new RegExp(`^${x.source}%$`);var ir=new RegExp(`^${x.source}s*/s*${x.source}$`);var et=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],nr=new RegExp(`^${x.source}(${et.join("|")})$`);var tt=["deg","rad","grad","turn"],or=new RegExp(`^${x.source}(${tt.join("|")})$`);var lr=new RegExp(`^${x.source} +${x.source} +${x.source}$`);function v(e){let o=Number(e);return Number.isInteger(o)&&o>=0&&String(o)===String(e)}function z(e,o){if(o===null)return e;let r=Number(o);return Number.isNaN(r)||(o=`${r*100}%`),`color-mix(in oklab, ${e} ${o}, transparent)`}var nt={"--alpha":ot,"--spacing":lt,"--theme":at,theme:st};function ot(e,o,r,...t){let[n,i]=g(r,"/").map(l=>l.trim());if(!n||!i)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${n||"var(--my-color)"} / ${i||"50%"})\``);if(t.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${n||"var(--my-color)"} / ${i||"50%"})\``);return z(n,i)}function lt(e,o,r,...t){if(!r)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(t.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${t.length+1}.`);let n=e.theme.resolve(null,["--spacing"]);if(!n)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${n} * ${r})`}function at(e,o,r,...t){if(!r.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let n=!1;r.endsWith(" inline")&&(n=!0,r=r.slice(0,-7)),o.kind==="at-rule"&&(n=!0);let i=e.resolveThemeValue(r,n);if(!i){if(t.length>0)return t.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(t.length===0)return i;let l=t.join(", ");if(l==="initial")return i;if(i==="initial")return l;if(i.startsWith("var(")||i.startsWith("theme(")||i.startsWith("--theme(")){let s=T(i);return ft(s,l),$(s)}return i}function st(e,o,r,...t){r=ut(r);let n=e.resolveThemeValue(r);if(!n&&t.length>0)return t.join(", ");if(!n)throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return n}var Nr=new RegExp(Object.keys(nt).map(e=>`${e}\\(`).join("|"));function ut(e){if(e[0]!=="'"&&e[0]!=='"')return e;let o="",r=e[0];for(let t=1;t<e.length-1;t++){let n=e[t],i=e[t+1];n==="\\"&&(i===r||i==="\\")?(o+=i,t++):o+=n}return o}function ft(e,o){P(e,r=>{if(r.kind==="function"&&!(r.value!=="var"&&r.value!=="theme"&&r.value!=="--theme"))if(r.nodes.length===1)r.nodes.push({kind:"word",value:`, ${o}`});else{let t=r.nodes[r.nodes.length-1];t.kind==="word"&&t.value==="initial"&&(t.value=o)}})}var ht=32;var vt=40;function Ne(e,o=[]){for(let r=5;r<e.length;r++){let t=e.charCodeAt(r);if(t===ht||t===vt){let n=e.slice(0,r).trim(),i=e.slice(r).trim();return h(n,i,o)}}return h(e.trim(),"",o)}var X={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function E(e){return{__BARE_VALUE__:e}}var w=E(e=>{if(v(e.value))return e.value}),d=E(e=>{if(v(e.value))return`${e.value}%`}),N=E(e=>{if(v(e.value))return`${e.value}px`}),Te=E(e=>{if(v(e.value))return`${e.value}ms`}),H=E(e=>{if(v(e.value))return`${e.value}deg`}),Nt=E(e=>{if(e.fraction===null)return;let[o,r]=g(e.fraction,"/");if(!(!v(o)||!v(r)))return e.fraction}),Ve=E(e=>{if(v(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),St={accentColor:({theme:e})=>e("colors"),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"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",...Nt},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...d}),backdropContrast:({theme:e})=>({...e("contrast"),...d}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...d}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...H}),backdropInvert:({theme:e})=>({...e("invert"),...d}),backdropOpacity:({theme:e})=>({...e("opacity"),...d}),backdropSaturate:({theme:e})=>({...e("saturate"),...d}),backdropSepia:({theme:e})=>({...e("sepia"),...d}),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({DEFAULT:"currentColor",...e("colors")}),borderOpacity:({theme:e})=>e("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"},borderSpacing:({theme:e})=>e("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...N},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2",...d},caretColor:({theme:e})=>e("colors"),colors:()=>({...X}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",...w},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...d},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>({...e("borderWidth"),...N}),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...w},flexShrink:{0:"0",DEFAULT:"1",...w},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%",...d},grayscale:{0:"0",DEFAULT:"100%",...d},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...w},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...w},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...w},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...w},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...Ve},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...Ve},height:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...H},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...d},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"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",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",...w},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1",...d},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",...w},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...N},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...N},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentColor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...N},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...N},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...H},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...d},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",...d},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...d},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...H},space:({theme:e})=>e("spacing"),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2",...w},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...N},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...N},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Te},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Te},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),width:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50",...w}};var $t=64;function K(e,o=[]){return{kind:"rule",selector:e,nodes:o}}function h(e,o="",r=[]){return{kind:"at-rule",name:e,params:o,nodes:r}}function A(e,o=[]){return e.charCodeAt(0)===$t?Ne(e,o):K(e,o)}function y(e,o,r=!1){return{kind:"declaration",property:e,value:o,important:r}}function B(e){return{kind:"comment",value:e}}function _(e){function o(t,n=0){let i="",l=" ".repeat(n);if(t.kind==="declaration")i+=`${l}${t.property}: ${t.value}${t.important?" !important":""};
4
- `;else if(t.kind==="rule"){i+=`${l}${t.selector} {
5
- `;for(let s of t.nodes)i+=o(s,n+1);i+=`${l}}
6
- `}else if(t.kind==="at-rule"){if(t.nodes.length===0)return`${l}${t.name} ${t.params};
7
- `;i+=`${l}${t.name}${t.params?` ${t.params} `:" "}{
8
- `;for(let s of t.nodes)i+=o(s,n+1);i+=`${l}}
9
- `}else if(t.kind==="comment")i+=`${l}/*${t.value}*/
10
- `;else if(t.kind==="context"||t.kind==="at-root")return"";return i}let r="";for(let t of e){let n=o(t);n!==""&&(r+=n)}return r}var U=R(require("postcss"));var Tt=33;function Ee(e,o){let r=U.default.root();r.source=o;function t(n,i){if(n.kind==="declaration"){let l=U.default.decl({prop:n.property,value:n.value??"",important:n.important});l.source=o,i.append(l)}else if(n.kind==="rule"){let l=U.default.rule({selector:n.selector});l.source=o,l.raws.semicolon=!0,i.append(l);for(let s of n.nodes)t(s,l)}else if(n.kind==="at-rule"){let l=U.default.atRule({name:n.name.slice(1),params:n.params});l.source=o,l.raws.semicolon=!0,i.append(l);for(let s of n.nodes)t(s,l)}else if(n.kind==="comment"){let l=U.default.comment({text:n.value});l.raws.left="",l.raws.right="",l.source=o,i.append(l)}else n.kind==="at-root"||n.kind}for(let n of e)t(n,r);return r}function Re(e){function o(t,n){if(t.type==="decl")n.push(y(t.prop,t.value,t.important));else if(t.type==="rule"){let i=A(t.selector);t.each(l=>o(l,i.nodes)),n.push(i)}else if(t.type==="atrule"){let i=h(`@${t.name}`,t.params);t.each(l=>o(l,i.nodes)),n.push(i)}else if(t.type==="comment"){if(t.text.charCodeAt(0)!==Tt)return;n.push(B(t.text))}}let r=[];return e.each(t=>o(t,r)),r}var re=require("@tailwindcss/node"),I=R(require("path")),ee="'",te='"';function ie(){let e=new WeakSet;function o(r){let t=r.root().source?.input.file;if(!t)return;let n=r.source?.input.file;if(!n||e.has(r))return;let i=r.params[0],l=i[0]===te&&i[i.length-1]===te?te:i[0]===ee&&i[i.length-1]===ee?ee:null;if(!l)return;let s=r.params.slice(1,-1),a="";if(s.startsWith("!")&&(s=s.slice(1),a="!"),!s.startsWith("./")&&!s.startsWith("../"))return;let c=I.default.posix.join((0,re.normalizePath)(I.default.dirname(n)),s),S=I.default.posix.dirname((0,re.normalizePath)(t)),k=I.default.posix.relative(S,c);k.startsWith(".")||(k="./"+k),r.params=l+a+k+l,e.add(r)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(r){r.walkAtRules(/source|plugin|config/,o)}}}var u=m.env.DEBUG,ne=new Pe.default({maxSize:50});function Vt(e,o){let r=`${e}:${o.base??""}:${JSON.stringify(o.optimize)}`;if(ne.has(r))return ne.get(r);let t={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:G.default.root(),optimizedPostCssAst:G.default.root(),fullRebuildPaths:[]};return ne.set(r,t),t}function Et(e={}){let o=e.base??process.cwd(),r=e.optimize??process.env.NODE_ENV==="production";return{postcssPlugin:"@tailwindcss/postcss",plugins:[ie(),{postcssPlugin:"tailwindcss",async Once(t,{result:n}){var oe=[];try{let i=ue(oe,new m.Instrumentation);let l=n.opts.from??"";let s=l.endsWith(".module.css");u&&i.start(`[@tailwindcss/postcss] ${(0,b.relative)(o,l)}`);{u&&i.start("Quick bail check");let p=!0;if(t.walkAtRules(f=>{if(f.name==="import"||f.name==="reference"||f.name==="theme"||f.name==="variant"||f.name==="config"||f.name==="plugin"||f.name==="apply")return p=!1,!1}),p)return;u&&i.end("Quick bail check")}let a=Vt(l,e);let c=b.default.dirname(b.default.resolve(l));async function S(){u&&i.start("Setup compiler"),a.fullRebuildPaths.length>0&&!k&&(0,Oe.clearRequireCache)(a.fullRebuildPaths),a.fullRebuildPaths=[],u&&i.start("PostCSS AST -> Tailwind CSS AST");let p=Re(t);u&&i.end("PostCSS AST -> Tailwind CSS AST"),u&&i.start("Create compiler");let f=await(0,m.compileAst)(p,{base:c,shouldRewriteUrls:!0,onDependency:D=>{a.fullRebuildPaths.push(D)},polyfills:s?m.Polyfills.All^m.Polyfills.AtProperty:m.Polyfills.All});return u&&i.end("Create compiler"),u&&i.end("Setup compiler"),f}let k=a.compiler===null;a.compiler??=await S();if(a.compiler.features===m.Features.None)return;let L="incremental";u&&i.start("Register full rebuild paths");{for(let f of a.fullRebuildPaths)n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:b.default.resolve(f),parent:n.opts.from});let p=n.messages.flatMap(f=>f.type!=="dependency"?[]:f.file);p.push(l);for(let f of p){let D=_e.default.statSync(f,{throwIfNoEntry:!1})?.mtimeMs??null;if(D===null){f===l&&(L="full");continue}a.mtimes.get(f)!==D&&(L="full",a.mtimes.set(f,D))}}u&&i.end("Register full rebuild paths");L==="full"&&!k&&(a.compiler=await S());if(a.scanner===null||L==="full"){u&&i.start("Setup scanner");let p=(a.compiler.root==="none"?[]:a.compiler.root===null?[{base:o,pattern:"**/*",negated:!1}]:[{...a.compiler.root,negated:!1}]).concat(a.compiler.sources);a.scanner=new Ke.Scanner({sources:p}),u&&i.end("Setup scanner")}u&&i.start("Scan for candidates");let De=a.compiler.features&m.Features.Utilities?a.scanner.scan():[];u&&i.end("Scan for candidates");if(a.compiler.features&m.Features.Utilities){u&&i.start("Register dependency messages");for(let p of a.scanner.files){let f=b.default.resolve(p);f!==n.opts.from&&n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:f,parent:n.opts.from})}for(let{base:p,pattern:f}of a.scanner.globs)f==="*"&&o===p||(f===""?n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:b.default.resolve(p),parent:n.opts.from}):n.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:b.default.resolve(p),glob:f,parent:n.opts.from}));u&&i.end("Register dependency messages")}u&&i.start("Build utilities");let j=a.compiler.build(De);u&&i.end("Build utilities");if(a.tailwindCssAst!==j)if(r){u&&i.start("Optimization"),u&&i.start("AST -> CSS");let p=_(j);u&&i.end("AST -> CSS"),u&&i.start("Lightning CSS");let f=(0,m.optimize)(p,{minify:typeof r=="object"?r.minify:!0});u&&i.end("Lightning CSS"),u&&i.start("CSS -> PostCSS AST"),a.optimizedPostCssAst=G.default.parse(f,n.opts),u&&i.end("CSS -> PostCSS AST"),u&&i.end("Optimization")}else u&&i.start("Transform Tailwind CSS AST into PostCSS AST"),a.cachedPostCssAst=Ee(j,t.source),u&&i.end("Transform Tailwind CSS AST into PostCSS AST");a.tailwindCssAst=j;u&&i.start("Update PostCSS AST");t.removeAll();t.append(r?a.optimizedPostCssAst.clone().nodes:a.cachedPostCssAst.clone().nodes);t.raws.indent=" ";u&&i.end("Update PostCSS AST");u&&i.end(`[@tailwindcss/postcss] ${(0,b.relative)(o,l)}`)}catch(ze){var Fe=ze,Ie=!0}finally{fe(oe,Fe,Ie)}}}]}}var Ue=Object.assign(Et,{postcss:!0});module.exports=Ue;
3
+ `);let t=[],r=[],i=null,o="",l;for(let n=0;n<e.length;n++){let s=e.charCodeAt(n);switch(s){case He:{o+=e[n]+e[n+1],n++;break}case er:{if(o.length>0){let u=_(o);i?i.nodes.push(u):t.push(u),o=""}let a=_(e[n]);i?i.nodes.push(a):t.push(a);break}case Ze:case Qe:case Ye:case Je:case Xe:case et:case tt:case rt:{if(o.length>0){let c=_(o);i?i.nodes.push(c):t.push(c),o=""}let a=n,u=n+1;for(;u<e.length&&(l=e.charCodeAt(u),!(l!==Ze&&l!==Qe&&l!==Ye&&l!==Je&&l!==Xe&&l!==et&&l!==tt&&l!==rt));u++);n=u-1;let f=Zt(e.slice(a,u));i?i.nodes.push(f):t.push(f);break}case Xt:case Yt:{let a=n;for(let u=n+1;u<e.length;u++)if(l=e.charCodeAt(u),l===He)u+=1;else if(l===s){n=u;break}o+=e.slice(a,n+1);break}case Jt:{let a=Ht(o,[]);o="",i?i.nodes.push(a):t.push(a),r.push(a),i=a;break}case Qt:{let a=r.pop();if(o.length>0){let u=_(o);a?.nodes.push(u),o=""}r.length>0?i=r[r.length-1]:i=null;break}default:o+=String.fromCharCode(s)}}return o.length>0&&t.push(_(o)),t}var tr=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"];function it(e){return e.indexOf("(")!==-1&&tr.some(t=>e.includes(`${t}(`))}var h=class extends Map{constructor(r){super();this.factory=r}get(r){let i=super.get(r);return i===void 0&&(i=this.factory(r,this),this.set(r,i)),i}};var Ni=new Uint8Array(256);var he=new Uint8Array(256);function V(e,t){let r=0,i=[],o=0,l=e.length,n=t.charCodeAt(0);for(let s=0;s<l;s++){let a=e.charCodeAt(s);if(r===0&&a===n){i.push(e.slice(o,s)),o=s+1;continue}switch(a){case 92:s+=1;break;case 39:case 34:for(;++s<l;){let u=e.charCodeAt(s);if(u===92){s+=1;continue}if(u===a)break}break;case 40:he[r]=41,r++;break;case 91:he[r]=93,r++;break;case 123:he[r]=125,r++;break;case 93:case 125:case 41:r>0&&a===he[r-1]&&r--;break}}return i.push(e.slice(o)),i}function nt(e){switch(e.kind){case"arbitrary":return{kind:e.kind,property:e.property,value:e.value,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(re),important:e.important,raw:e.raw};case"static":return{kind:e.kind,root:e.root,variants:e.variants.map(re),important:e.important,raw:e.raw};case"functional":return{kind:e.kind,root:e.root,value:e.value?e.value.kind==="arbitrary"?{kind:e.value.kind,dataType:e.value.dataType,value:e.value.value}:{kind:e.value.kind,value:e.value.value,fraction:e.value.fraction}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(re),important:e.important,raw:e.raw};default:throw new Error("Unknown candidate kind")}}function re(e){switch(e.kind){case"arbitrary":return{kind:e.kind,selector:e.selector,relative:e.relative};case"static":return{kind:e.kind,root:e.root};case"functional":return{kind:e.kind,root:e.root,value:e.value?{kind:e.value.kind,value:e.value.value}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};case"compound":return{kind:e.kind,root:e.root,variant:re(e.variant),modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};default:throw new Error("Unknown variant kind")}}function Ne(e){if(e===null)return"";let t=nr(e.value),r=t?e.value.slice(4,-1):e.value,[i,o]=t?["(",")"]:["[","]"];return e.kind==="arbitrary"?`/${i}${Te(r)}${o}`:e.kind==="named"?`/${e.value}`:""}var rr=new h(e=>{let t=A(e),r=new Set;return N(t,(i,{parent:o})=>{let l=o===null?t:o.nodes??[];if(i.kind==="word"&&(i.value==="+"||i.value==="-"||i.value==="*"||i.value==="/")){let n=l.indexOf(i)??-1;if(n===-1)return;let s=l[n-1];if(s?.kind!=="separator"||s.value!==" ")return;let a=l[n+1];if(a?.kind!=="separator"||a.value!==" ")return;r.add(s),r.add(a)}else i.kind==="separator"&&i.value.length>0&&i.value.trim()===""?(l[0]===i||l[l.length-1]===i)&&r.add(i):i.kind==="separator"&&i.value.trim()===","&&(i.value=",")}),r.size>0&&N(t,(i,{replaceWith:o})=>{r.has(i)&&(r.delete(i),o([]))}),$e(t),S(t)});function Te(e){return rr.get(e)}var Li=new h(e=>{let t=A(e);return t.length===3&&t[0].kind==="word"&&t[0].value==="&"&&t[1].kind==="separator"&&t[1].value===":"&&t[2].kind==="function"&&t[2].value==="is"?S(t[2].nodes):e});function $e(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=le(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=le(t.value);for(let r=0;r<t.nodes.length;r++)$e([t.nodes[r]]);break}t.value=le(t.value),$e(t.nodes);break}case"separator":t.value=le(t.value);break;case"word":{(t.value[0]!=="-"||t.value[1]!=="-")&&(t.value=le(t.value));break}default:or(t)}}var ir=new h(e=>{let t=A(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function nr(e){return ir.get(e)}function or(e){throw new Error(`Unexpected value: ${e}`)}function le(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var lr=process.env.FEATURES_ENV!=="stable";var F=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Gi=new RegExp(`^${F.source}$`);var qi=new RegExp(`^${F.source}%$`);var Hi=new RegExp(`^${F.source}s*/s*${F.source}$`);var ar=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],sr=new RegExp(`^${F.source}(${ar.join("|")})$`);function ot(e){return sr.test(e)||it(e)}var ur=["deg","rad","grad","turn"],Zi=new RegExp(`^${F.source}(${ur.join("|")})$`);var Qi=new RegExp(`^${F.source} +${F.source} +${F.source}$`);function T(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function ie(e){return fr(e,.25)}function fr(e,t){let r=Number(e);return r>=0&&r%t===0&&String(r)===String(e)}function ae(e,t){if(t===null)return e;let r=Number(t);return Number.isNaN(r)||(t=`${r*100}%`),t==="100%"?e:`color-mix(in oklab, ${e} ${t}, transparent)`}var pr={"--alpha":dr,"--spacing":mr,"--theme":gr,theme:hr};function dr(e,t,r,...i){let[o,l]=V(r,"/").map(n=>n.trim());if(!o||!l)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${o||"var(--my-color)"} / ${l||"50%"})\``);if(i.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${o||"var(--my-color)"} / ${l||"50%"})\``);return ae(o,l)}function mr(e,t,r,...i){if(!r)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(i.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${i.length+1}.`);let o=e.theme.resolve(null,["--spacing"]);if(!o)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${o} * ${r})`}function gr(e,t,r,...i){if(!r.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let o=!1;r.endsWith(" inline")&&(o=!0,r=r.slice(0,-7)),t.kind==="at-rule"&&(o=!0);let l=e.resolveThemeValue(r,o);if(!l){if(i.length>0)return i.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(i.length===0)return l;let n=i.join(", ");if(n==="initial")return l;if(l==="initial")return n;if(l.startsWith("var(")||l.startsWith("theme(")||l.startsWith("--theme(")){let s=A(l);return kr(s,n),S(s)}return l}function hr(e,t,r,...i){r=vr(r);let o=e.resolveThemeValue(r);if(!o&&i.length>0)return i.join(", ");if(!o)throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return o}var hn=new RegExp(Object.keys(pr).map(e=>`${e}\\(`).join("|"));function vr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let i=1;i<e.length-1;i++){let o=e[i],l=e[i+1];o==="\\"&&(l===r||l==="\\")?(t+=l,i++):t+=o}return t}function kr(e,t){N(e,r=>{if(r.kind==="function"&&!(r.value!=="var"&&r.value!=="theme"&&r.value!=="--theme"))if(r.nodes.length===1)r.nodes.push({kind:"word",value:`, ${t}`});else{let i=r.nodes[r.nodes.length-1];i.kind==="word"&&i.value==="initial"&&(i.value=t)}})}function Ee(e,t){let r=e.length,i=t.length,o=r<i?r:i;for(let l=0;l<o;l++){let n=e.charCodeAt(l),s=t.charCodeAt(l);if(n>=48&&n<=57&&s>=48&&s<=57){let a=l,u=l+1,f=l,c=l+1;for(n=e.charCodeAt(u);n>=48&&n<=57;)n=e.charCodeAt(++u);for(s=t.charCodeAt(c);s>=48&&s<=57;)s=t.charCodeAt(++c);let p=e.slice(a,u),d=t.slice(f,c),g=Number(p)-Number(d);if(g)return g;if(p<d)return-1;if(p>d)return 1;continue}if(n!==s)return n-s}return e.length-t.length}function ut(e){if(e[0]!=="["||e[e.length-1]!=="]")return null;let t=1,r=t,i=e.length-1;for(;ne(e.charCodeAt(t));)t++;{for(r=t;t<i;t++){let f=e.charCodeAt(t);if(f===92){t++;continue}if(!(f>=65&&f<=90)&&!(f>=97&&f<=122)&&!(f>=48&&f<=57)&&!(f===45||f===95))break}if(r===t)return null}let o=e.slice(r,t);for(;ne(e.charCodeAt(t));)t++;if(t===i)return{attribute:o,operator:null,quote:null,value:null,sensitivity:null};let l=null,n=e.charCodeAt(t);if(n===61)l="=",t++;else if((n===126||n===124||n===94||n===36||n===42)&&e.charCodeAt(t+1)===61)l=e[t]+"=",t+=2;else return null;for(;ne(e.charCodeAt(t));)t++;if(t===i)return null;let s="",a=null;if(n=e.charCodeAt(t),n===39||n===34){a=e[t],t++,r=t;for(let f=t;f<i;f++){let c=e.charCodeAt(f);c===n?t=f+1:c===92&&f++}s=e.slice(r,t-1)}else{for(r=t;t<i&&!ne(e.charCodeAt(t));)t++;s=e.slice(r,t)}for(;ne(e.charCodeAt(t));)t++;if(t===i)return{attribute:o,operator:l,quote:a,value:s,sensitivity:null};let u=null;switch(e.charCodeAt(t)){case 105:case 73:{u="i",t++;break}case 115:case 83:{u="s",t++;break}default:return null}for(;ne(e.charCodeAt(t));)t++;return t!==i?null:{attribute:o,operator:l,quote:a,value:s,sensitivity:u}}function ne(e){switch(e){case 32:case 9:case 10:case 13:return!0;default:return!1}}var yr=/^[a-zA-Z0-9-_%/\.]+$/;function Re(e){if(e[0]==="container")return null;e=e.slice(),e[0]==="animation"&&(e[0]="animate"),e[0]==="aspectRatio"&&(e[0]="aspect"),e[0]==="borderRadius"&&(e[0]="radius"),e[0]==="boxShadow"&&(e[0]="shadow"),e[0]==="colors"&&(e[0]="color"),e[0]==="containers"&&(e[0]="container"),e[0]==="fontFamily"&&(e[0]="font"),e[0]==="fontSize"&&(e[0]="text"),e[0]==="letterSpacing"&&(e[0]="tracking"),e[0]==="lineHeight"&&(e[0]="leading"),e[0]==="maxWidth"&&(e[0]="container"),e[0]==="screens"&&(e[0]="breakpoint"),e[0]==="transitionTimingFunction"&&(e[0]="ease");for(let t of e)if(!yr.test(t))return null;return e.map((t,r,i)=>t==="1"&&r!==i.length-1?"":t).map(t=>t.replaceAll(".","_").replace(/([a-z])([A-Z])/g,(r,i,o)=>`${i}-${o.toLowerCase()}`)).filter((t,r)=>t!=="DEFAULT"||r!==e.length-1).join("-")}function br(e){return{kind:"combinator",value:e}}function xr(e,t){return{kind:"function",value:e,nodes:t}}function H(e){return{kind:"selector",value:e}}function Ar(e){return{kind:"separator",value:e}}function Cr(e){return{kind:"value",value:e}}function ke(e,t,r=null){for(let i=0;i<e.length;i++){let o=e[i],l=!1,n=0,s=t(o,{parent:r,replaceWith(a){l||(l=!0,Array.isArray(a)?a.length===0?(e.splice(i,1),n=0):a.length===1?(e[i]=a[0],n=1):(e.splice(i,1,...a),n=a.length):(e[i]=a,n=1))}})??0;if(l){s===0?i--:i+=n-1;continue}if(s===2)return 2;if(s!==1&&o.kind==="function"&&ke(o.nodes,t,o)===2)return 2}}function Z(e){let t="";for(let r of e)switch(r.kind){case"combinator":case"selector":case"separator":case"value":{t+=r.value;break}case"function":t+=r.value+"("+Z(r.nodes)+")"}return t}var ct=92,Sr=93,pt=41,Vr=58,dt=44,$r=34,Nr=46,mt=62,gt=10,Tr=35,ht=91,vt=40,kt=43,Er=39,wt=32,yt=9,bt=126,Pr=38,Rr=42;function ue(e){e=e.replaceAll(`\r
4
+ `,`
5
+ `);let t=[],r=[],i=null,o="",l;for(let n=0;n<e.length;n++){let s=e.charCodeAt(n);switch(s){case dt:case mt:case gt:case wt:case kt:case yt:case bt:{if(o.length>0){let p=H(o);i?i.nodes.push(p):t.push(p),o=""}let a=n,u=n+1;for(;u<e.length&&(l=e.charCodeAt(u),!(l!==dt&&l!==mt&&l!==gt&&l!==wt&&l!==kt&&l!==yt&&l!==bt));u++);n=u-1;let f=e.slice(a,u),c=f.trim()===","?Ar(f):br(f);i?i.nodes.push(c):t.push(c);break}case vt:{let a=xr(o,[]);if(o="",a.value!==":not"&&a.value!==":where"&&a.value!==":has"&&a.value!==":is"){let u=n+1,f=0;for(let p=n+1;p<e.length;p++){if(l=e.charCodeAt(p),l===vt){f++;continue}if(l===pt){if(f===0){n=p;break}f--}}let c=n;a.nodes.push(Cr(e.slice(u,c))),o="",n=c,i?i.nodes.push(a):t.push(a);break}i?i.nodes.push(a):t.push(a),r.push(a),i=a;break}case pt:{let a=r.pop();if(o.length>0){let u=H(o);a.nodes.push(u),o=""}r.length>0?i=r[r.length-1]:i=null;break}case Nr:case Vr:case Tr:{if(o.length>0){let a=H(o);i?i.nodes.push(a):t.push(a)}o=e[n];break}case ht:{if(o.length>0){let f=H(o);i?i.nodes.push(f):t.push(f)}o="";let a=n,u=0;for(let f=n+1;f<e.length;f++){if(l=e.charCodeAt(f),l===ht){u++;continue}if(l===Sr){if(u===0){n=f;break}u--}}o+=e.slice(a,n+1);break}case Er:case $r:{let a=n;for(let u=n+1;u<e.length;u++)if(l=e.charCodeAt(u),l===ct)u+=1;else if(l===s){n=u;break}o+=e.slice(a,n+1);break}case Pr:case Rr:{if(o.length>0){let a=H(o);i?i.nodes.push(a):t.push(a),o=""}i?i.nodes.push(H(e[n])):t.push(H(e[n]));break}case ct:{o+=e[n]+e[n+1],n+=1;break}default:o+=e[n]}}return o.length>0&&t.push(H(o)),t}var Or=/^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i,X=new h(e=>{let t=Or.exec(e);if(!t)return null;let r=t.groups?.value;if(r===void 0)return null;let i=Number(r);if(Number.isNaN(i))return null;let o=t.groups?.unit;return o===void 0?[i,null]:[i,o]});function xt(e,t){let r=!1,i=A(e);return Ve(i,(o,{replaceWith:l})=>{if(o.kind==="word"&&o.value!=="0"){let n=_r(o.value,t);if(n===null||n===o.value)return;r=!0,l(_(n));return}else if(o.kind==="function"&&(o.value==="calc"||o.value==="")){if(o.nodes.length!==5)return;let n=X.get(o.nodes[0].value),s=o.nodes[2].value,a=X.get(o.nodes[4].value);if(s==="*"&&(n?.[0]===0&&n?.[1]===null||a?.[0]===0&&a?.[1]===null)){r=!0,l(_("0"));return}if(n===null||a===null)return;switch(s){case"*":{(n[1]===a[1]||n[1]===null&&a[1]!==null||n[1]!==null&&a[1]===null)&&(r=!0,l(_(`${n[0]*a[0]}${n[1]??""}`)));break}case"+":{n[1]===a[1]&&(r=!0,l(_(`${n[0]+a[0]}${n[1]??""}`)));break}case"-":{n[1]===a[1]&&(r=!0,l(_(`${n[0]-a[0]}${n[1]??""}`)));break}case"/":{a[0]!==0&&(n[1]===null&&a[1]===null||n[1]!==null&&a[1]===null)&&(r=!0,l(_(`${n[0]/a[0]}${n[1]??""}`)));break}}}}),r?S(i):e}function _r(e,t=null){let r=X.get(e);if(r===null)return null;let[i,o]=r;if(o===null)return`${i}`;if(i===0&&ot(e))return"0";switch(o.toLowerCase()){case"in":return`${i*96}px`;case"cm":return`${i*96/2.54}px`;case"mm":return`${i*96/2.54/10}px`;case"q":return`${i*96/2.54/10/4}px`;case"pc":return`${i*96/6}px`;case"pt":return`${i*96/72}px`;case"rem":return t!==null?`${i*t}px`:null;case"grad":return`${i*.9}deg`;case"rad":return`${i*180/Math.PI}deg`;case"turn":return`${i*360}deg`;case"ms":return`${i/1e3}s`;case"khz":return`${i*1e3}hz`;default:return`${i}${o}`}}var At=/\d*\.\d+(?:[eE][+-]?\d+)?%/g,Q=new h(e=>{let{rem:t,designSystem:r}=e;return new h(i=>{try{i=r.theme.prefix&&!i.startsWith(r.theme.prefix)?`${r.theme.prefix}:${i}`:i;let o=[j(".x",[E("@apply",i)])];return Ur(r,()=>{for(let n of r.parseCandidate(i))r.compileAstNodes(n,1);fe(o,r)}),C(o,(n,{replaceWith:s})=>{n.kind==="declaration"?n.value===void 0||n.property==="--tw-sort"?s([]):n.value.includes("%")&&(At.lastIndex=0,n.value=n.value.replaceAll(At,a=>`${Number(a.slice(0,-1))}%`)):n.kind==="context"||n.kind==="at-root"?s(n.nodes):n.kind==="comment"?s([]):n.kind==="at-rule"&&n.name==="@property"&&s([])}),C(o,n=>{if(n.kind==="declaration"&&n.value!==void 0){if(n.value.includes("var(")){let s=!1,a=A(n.value),u=new Set;N(a,(f,{replaceWith:c})=>{if(f.kind!=="function"||f.value!=="var"||f.nodes.length!==1&&f.nodes.length<3)return;let p=f.nodes[0].value;r.theme.prefix&&p.startsWith(`--${r.theme.prefix}-`)&&(p=p.slice(`--${r.theme.prefix}-`.length));let d=r.resolveThemeValue(p);if(!u.has(p)&&(u.add(p),d!==void 0&&(f.nodes.length===1&&(s=!0,f.nodes.push(...A(`,${d}`))),f.nodes.length>=3))){let g=S(f.nodes),m=`${f.nodes[0].value},${d}`;g===m&&(s=!0,c(A(d)))}}),s&&(n.value=S(a))}n.value=xt(n.value,t),n.value=Te(n.value)}}),D(o)}catch{return Symbol()}})}),_e=new h(e=>{let{designSystem:t}=e,r=Q.get(e),i=new h(()=>[]);for(let[o,l]of t.getClassList()){let n=r.get(o);if(typeof n=="string"){if(o[0]==="-"&&o.endsWith("-0")){let s=r.get(o.slice(1));if(typeof s=="string"&&n===s)continue}i.get(n).push(o);for(let s of l.modifiers){if(ie(s))continue;let a=`${o}/${s}`,u=r.get(a);typeof u=="string"&&i.get(u).push(a)}}}return i}),we=new h(e=>{let{designSystem:t}=e;return new h(r=>{try{r=t.theme.prefix&&!r.startsWith(t.theme.prefix)?`${t.theme.prefix}:${r}`:r;let i=[j(".x",[E("@apply",`${r}:flex`)])];return fe(i,t),C(i,l=>{if(l.kind==="at-rule"&&l.params.includes(" "))l.params=l.params.replaceAll(" ","");else if(l.kind==="rule"){let n=ue(l.selector),s=!1;ke(n,(a,{replaceWith:u})=>{a.kind==="separator"&&a.value!==" "?(a.value=a.value.trim(),s=!0):a.kind==="function"&&a.value===":is"?a.nodes.length===1?(s=!0,u(a.nodes)):a.nodes.length===2&&a.nodes[0].kind==="selector"&&a.nodes[0].value==="*"&&a.nodes[1].kind==="selector"&&a.nodes[1].value[0]===":"&&(s=!0,u(a.nodes[1])):a.kind==="function"&&a.value[0]===":"&&a.nodes[0]?.kind==="selector"&&a.nodes[0]?.value[0]===":"&&(s=!0,a.nodes.unshift({kind:"selector",value:"*"}))}),s&&(l.selector=Z(n))}}),D(i)}catch{return Symbol()}})}),Ct=new h(e=>{let{designSystem:t}=e,r=we.get(e),i=new h(()=>[]);for(let[o,l]of t.variants.entries())if(l.kind==="static"){let n=r.get(o);if(typeof n!="string")continue;i.get(n).push(o)}return i});function Ur(e,t){let r=e.theme.values.get,i=new Set;e.theme.values.get=o=>{let l=r.call(e.theme.values,o);return l===void 0||l.options&1&&(i.add(l),l.options&=-2),l};try{return t()}finally{e.theme.values.get=r;for(let o of i)o.options|=1}}function W(e,t){for(let r in e)delete e[r];return Object.assign(e,t)}function ce(e){let t=[];for(let r of V(e,".")){if(!r.includes("[")){t.push(r);continue}let i=0;for(;;){let o=r.indexOf("[",i),l=r.indexOf("]",o);if(o===-1||l===-1)break;o>i&&t.push(r.slice(i,o)),t.push(r.slice(o+1,l)),i=l+1}i<=r.length-1&&t.push(r.slice(i))}return t}var Yn=new h(e=>new h((t=null)=>({designSystem:e,rem:t})));var Jn=new h(e=>{let t=e.designSystem,r=t.theme.prefix?`${t.theme.prefix}:`:"",i=Ir.get(e),o=zr.get(e);return new h((l,n)=>{for(let s of t.parseCandidate(l)){let a=s.variants.slice().reverse().flatMap(c=>i.get(c)),u=s.important;if(u||a.length>0){let p=n.get(t.printCandidate({...s,variants:[],important:!1}));return t.theme.prefix!==null&&a.length>0&&(p=p.slice(r.length)),a.length>0&&(p=`${a.map(d=>t.printVariant(d)).join(":")}:${p}`),u&&(p+="!"),t.theme.prefix!==null&&a.length>0&&(p=`${r}${p}`),p}let f=o.get(l);if(f!==l)return f}return l})}),Lr=[Wr,ri,ii,Xr],Ir=new h(e=>new h(t=>{let r=[t];for(let i of Lr)for(let o of r.splice(0)){let l=i(re(o),e);if(Array.isArray(l)){r.push(...l);continue}else r.push(l)}return r})),Kr=[Fr,jr,Hr,Qr,Jr,ei,ti,ni],zr=new h(e=>{let t=e.designSystem;return new h(r=>{for(let i of t.parseCandidate(r)){let o=nt(i);for(let n of Kr)o=n(o,e);let l=t.printCandidate(o);if(r!==l)return l}return r})}),Mr=["t","tr","r","br","b","bl","l","tl"];function Fr(e){if(e.kind==="static"&&e.root.startsWith("bg-gradient-to-")){let t=e.root.slice(15);return Mr.includes(t)&&(e.root=`bg-linear-to-${t}`),e}return e}function jr(e,t){let r=Vt.get(t.designSystem);if(e.kind==="arbitrary"){let[i,o]=r(e.value,e.modifier===null?1:0);i!==e.value&&(e.value=i,o!==null&&(e.modifier=o))}else if(e.kind==="functional"&&e.value?.kind==="arbitrary"){let[i,o]=r(e.value.value,e.modifier===null?1:0);i!==e.value.value&&(e.value.value=i,o!==null&&(e.modifier=o))}return e}function Wr(e,t){let r=Vt.get(t.designSystem),i=xe(e);for(let[o]of i)if(o.kind==="arbitrary"){let[l]=r(o.selector,2);l!==o.selector&&(o.selector=l)}else if(o.kind==="functional"&&o.value?.kind==="arbitrary"){let[l]=r(o.value.value,2);l!==o.value.value&&(o.value.value=l)}return e}var Vt=new h(e=>{return t(e);function t(r){function i(s,a=0){let u=A(s);if(a&2)return[ye(u,n),null];let f=0,c=0;if(N(u,g=>{g.kind==="function"&&g.value==="theme"&&(f+=1,N(g.nodes,m=>m.kind==="separator"&&m.value.includes(",")?2:m.kind==="word"&&m.value==="/"?(c+=1,2):1))}),f===0)return[s,null];if(c===0)return[ye(u,l),null];if(c>1)return[ye(u,n),null];let p=null;return[ye(u,(g,m)=>{let x=V(g,"/").map($=>$.trim());if(x.length>2)return null;if(u.length===1&&x.length===2&&a&1){let[$,v]=x;if(/^\d+%$/.test(v))p={kind:"named",value:v.slice(0,-1)};else if(/^0?\.\d+$/.test(v)){let y=Number(v)*100;p={kind:Number.isInteger(y)?"named":"arbitrary",value:y.toString()}}else p={kind:"arbitrary",value:v};g=$}return l(g,m)||n(g,m)}),p]}function o(s,a=!0){let u=`--${Re(ce(s))}`;return r.theme.get([u])?a&&r.theme.prefix?`--${r.theme.prefix}-${u.slice(2)}`:u:null}function l(s,a){let u=o(s);if(u)return a?`var(${u}, ${a})`:`var(${u})`;let f=ce(s);if(f[0]==="spacing"&&r.theme.get(["--spacing"])){let c=f[1];return ie(c)?`--spacing(${c})`:null}return null}function n(s,a){let u=V(s,"/").map(p=>p.trim());s=u.shift();let f=o(s,!1);if(!f)return null;let c=u.length>0?`/${u.join("/")}`:"";return a?`--theme(${f}${c}, ${a})`:`--theme(${f}${c})`}return i}});function ye(e,t){return N(e,(r,{parent:i,replaceWith:o})=>{if(r.kind==="function"&&r.value==="theme"){if(r.nodes.length<1)return;r.nodes[0].kind==="separator"&&r.nodes[0].value.trim()===""&&r.nodes.shift();let l=r.nodes[0];if(l.kind!=="word")return;let n=l.value,s=1;for(let f=s;f<r.nodes.length&&!r.nodes[f].value.includes(",");f++)n+=S([r.nodes[f]]),s=f+1;n=Br(n);let a=r.nodes.slice(s+1),u=a.length>0?t(n,S(a)):t(n);if(u===null)return;if(i){let f=i.nodes.indexOf(r)-1;for(;f!==-1;){let c=i.nodes[f];if(c.kind==="separator"&&c.value.trim()===""){f-=1;continue}/^[-+*/]$/.test(c.value.trim())&&(u=`(${u})`);break}}o(A(u))}}),S(e)}function Br(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let i=1;i<e.length-1;i++){let o=e[i],l=e[i+1];o==="\\"&&(l===r||l==="\\")?(t+=l,i++):t+=o}return t}function*xe(e){function*t(r,i=null){yield[r,i],r.kind==="compound"&&(yield*t(r.variant,r))}yield*t(e,null)}function B(e,t){return e.parseCandidate(e.theme.prefix&&!t.startsWith(`${e.theme.prefix}:`)?`${e.theme.prefix}:${t}`:t)}function Gr(e,t){let r=e.printCandidate(t);return e.theme.prefix&&r.startsWith(`${e.theme.prefix}:`)?r.slice(e.theme.prefix.length+1):r}var qr=new h(e=>{let t=e.resolveThemeValue("--spacing");if(t===void 0)return null;let r=X.get(t);if(!r)return null;let[i,o]=r;return new h(l=>{let n=X.get(l);if(!n)return null;let[s,a]=n;return a!==o?null:s/i})});function Hr(e,t){if(e.kind!=="arbitrary"&&!(e.kind==="functional"&&e.value?.kind==="arbitrary"))return e;let r=t.designSystem,i=_e.get(t),o=Q.get(t),l=r.printCandidate(e),n=o.get(l);if(typeof n!="string")return e;for(let a of s(n,e)){let u=r.printCandidate(a);if(o.get(u)===n&&Zr(r,e,a))return a}return e;function*s(a,u){let f=i.get(a);if(!(f.length>1)){if(f.length===0&&u.modifier){let c={...u,modifier:null},p=o.get(r.printCandidate(c));if(typeof p=="string")for(let d of s(p,c))yield Object.assign({},d,{modifier:u.modifier})}if(f.length===1)for(let c of B(r,f[0]))yield c;else if(f.length===0){let c=u.kind==="arbitrary"?u.value:u.value?.value??null;if(c===null)return;let p=qr.get(r)?.get(c)??null,d="";p!==null&&p<0&&(d="-",p=Math.abs(p));for(let g of Array.from(r.utilities.keys("functional")).sort((m,x)=>+(m[0]==="-")-+(x[0]==="-"))){d&&(g=`${d}${g}`);for(let m of B(r,`${g}-${c}`))yield m;if(u.modifier)for(let m of B(r,`${g}-${c}${u.modifier}`))yield m;if(p!==null){for(let m of B(r,`${g}-${p}`))yield m;if(u.modifier)for(let m of B(r,`${g}-${p}${Ne(u.modifier)}`))yield m}for(let m of B(r,`${g}-[${c}]`))yield m;if(u.modifier)for(let m of B(r,`${g}-[${c}]${Ne(u.modifier)}`))yield m}}}}}function Zr(e,t,r){let i=null;if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.value.includes("var(--")?i=t.value.value:t.kind==="arbitrary"&&t.value.includes("var(--")&&(i=t.value),i===null)return!0;let o=e.candidatesToCss([e.printCandidate(r)]).join(`
6
+ `),l=!0;return N(A(i),n=>{if(n.kind==="function"&&n.value==="var"){let s=n.nodes[0].value;if(!new RegExp(`var\\(${s}[,)]\\s*`,"g").test(o)||o.includes(`${s}:`))return l=!1,2}}),l}function Qr(e,t){if(e.kind!=="functional"||e.value?.kind!=="named")return e;let r=t.designSystem,i=_e.get(t),o=Q.get(t),l=r.printCandidate(e),n=o.get(l);if(typeof n!="string")return e;for(let a of s(n,e)){let u=r.printCandidate(a);if(o.get(u)===n)return a}return e;function*s(a,u){let f=i.get(a);if(!(f.length>1)){if(f.length===0&&u.modifier){let c={...u,modifier:null},p=o.get(r.printCandidate(c));if(typeof p=="string")for(let d of s(p,c))yield Object.assign({},d,{modifier:u.modifier})}if(f.length===1)for(let c of B(r,f[0]))yield c}}}var Yr=new Map([["order-none","order-0"]]);function Jr(e,t){let r=t.designSystem,i=Q.get(t),o=Gr(r,e),l=Yr.get(o)??null;if(l===null)return e;let n=i.get(o);if(typeof n!="string")return e;let s=i.get(l);if(typeof s!="string"||n!==s)return e;let[a]=B(r,l);return a}function Xr(e,t){let r=t.designSystem,i=we.get(t),o=Ct.get(t),l=xe(e);for(let[n]of l){if(n.kind==="compound")continue;let s=r.printVariant(n),a=i.get(s);if(typeof a!="string")continue;let u=o.get(a);if(u.length!==1)continue;let f=u[0],c=r.parseVariant(f);c!==null&&W(n,c)}return e}function ei(e,t){let r=t.designSystem,i=Q.get(t);if(e.kind==="functional"&&e.value?.kind==="arbitrary"&&e.value.dataType!==null){let o=r.printCandidate({...e,value:{...e.value,dataType:null}});i.get(r.printCandidate(e))===i.get(o)&&(e.value.dataType=null)}return e}function ti(e,t){if(e.kind!=="functional"||e.value?.kind!=="arbitrary")return e;let r=t.designSystem,i=Q.get(t),o=i.get(r.printCandidate(e));if(o===null)return e;for(let l of $t(e))if(i.get(r.printCandidate({...e,value:l}))===o)return e.value=l,e;return e}function ri(e){let t=xe(e);for(let[r]of t)if(r.kind==="functional"&&r.root==="data"&&r.value?.kind==="arbitrary"&&!r.value.value.includes("="))r.value={kind:"named",value:r.value.value};else if(r.kind==="functional"&&r.root==="aria"&&r.value?.kind==="arbitrary"&&(r.value.value.endsWith("=true")||r.value.value.endsWith('="true"')||r.value.value.endsWith("='true'"))){let[i,o]=V(r.value.value,"=");if(i[i.length-1]==="~"||i[i.length-1]==="|"||i[i.length-1]==="^"||i[i.length-1]==="$"||i[i.length-1]==="*")continue;r.value={kind:"named",value:r.value.value.slice(0,r.value.value.indexOf("="))}}else r.kind==="functional"&&r.root==="supports"&&r.value?.kind==="arbitrary"&&/^[a-z-][a-z0-9-]*$/i.test(r.value.value)&&(r.value={kind:"named",value:r.value.value});return e}function*$t(e,t=e.value?.value??"",r=new Set){if(r.has(t))return;if(r.add(t),yield{kind:"named",value:t,fraction:null},t.endsWith("%")&&ie(t.slice(0,-1))&&(yield{kind:"named",value:t.slice(0,-1),fraction:null}),t.includes("/")){let[l,n]=t.split("/");T(l)&&T(n)&&(yield{kind:"named",value:l,fraction:`${l}/${n}`})}let i=new Set;for(let l of t.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))i.add(l[0].trim());let o=Array.from(i).sort((l,n)=>l.length-n.length);for(let l of o)yield*$t(e,l,r)}function St(e){return!e.some(t=>t.kind==="separator"&&t.value.trim()===",")}function be(e){let t=e.value.trim();return e.kind==="selector"&&t[0]==="["&&t[t.length-1]==="]"}function ii(e,t){let r=[e],i=t.designSystem,o=we.get(t),l=xe(e);for(let[n,s]of l)if(n.kind==="compound"&&(n.root==="has"||n.root==="not"||n.root==="in")&&n.modifier!==null&&"modifier"in n.variant&&(n.variant.modifier=n.modifier,n.modifier=null),n.kind==="arbitrary"){if(n.relative)continue;let a=ue(n.selector.trim());if(!St(a))continue;if(s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===">"&&a[2].kind==="selector"&&a[2].value==="*"){W(n,i.parseVariant("*"));continue}if(s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&a[2].value==="*"){W(n,i.parseVariant("**"));continue}if(s===null&&a.length===3&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&a[2].value==="&"){a.pop(),a.pop(),W(n,i.parseVariant(`in-[${Z(a)}]`));continue}if(s===null&&a[0].kind==="selector"&&(a[0].value==="@media"||a[0].value==="@supports")){let p=o.get(i.printVariant(n)),d=A(Z(a)),g=!1;if(N(d,(m,{replaceWith:x})=>{m.kind==="word"&&m.value==="not"&&(g=!0,x([]))}),d=A(S(d)),N(d,m=>{m.kind==="separator"&&m.value!==" "&&m.value.trim()===""&&(m.value=" ")}),g){let m=i.parseVariant(`not-[${S(d)}]`);if(m===null)continue;let x=o.get(i.printVariant(m));if(p===x){W(n,m);continue}}}let u=null;s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===">"&&a[2].kind==="selector"&&be(a[2])&&(a=[a[2]],u=i.parseVariant("*")),s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&be(a[2])&&(a=[a[2]],u=i.parseVariant("**"));let f=a.filter(p=>!(p.kind==="selector"&&p.value.trim()==="&"));if(f.length!==1)continue;let c=f[0];if(c.kind==="function"&&c.value===":is"){if(!St(c.nodes)||c.nodes.length!==1||!be(c.nodes[0]))continue;c=c.nodes[0]}if(c.kind==="function"&&c.value[0]===":"||c.kind==="selector"&&c.value[0]===":"){let p=c,d=!1;if(p.kind==="function"&&p.value===":not"){if(d=!0,p.nodes.length!==1||p.nodes[0].kind!=="selector"&&p.nodes[0].kind!=="function"||p.nodes[0].value[0]!==":")continue;p=p.nodes[0]}let g=(x=>{if(x===":nth-child"&&p.kind==="function"&&p.nodes.length===1&&p.nodes[0].kind==="value"&&p.nodes[0].value==="odd")return d?(d=!1,"even"):"odd";if(x===":nth-child"&&p.kind==="function"&&p.nodes.length===1&&p.nodes[0].kind==="value"&&p.nodes[0].value==="even")return d?(d=!1,"odd"):"even";for(let[$,v]of[[":nth-child","nth"],[":nth-last-child","nth-last"],[":nth-of-type","nth-of-type"],[":nth-last-of-type","nth-of-last-type"]])if(x===$&&p.kind==="function"&&p.nodes.length===1)return p.nodes.length===1&&p.nodes[0].kind==="value"&&T(p.nodes[0].value)?`${v}-${p.nodes[0].value}`:`${v}-[${Z(p.nodes)}]`;if(d){let $=o.get(i.printVariant(n)),v=o.get(`not-[${x}]`);if($===v)return`[&${x}]`}return null})(p.value);if(g===null)continue;d&&(g=`not-${g}`);let m=i.parseVariant(g);if(m===null)continue;W(n,m)}else if(be(c)){let p=ut(c.value);if(p===null)continue;if(p.attribute.startsWith("data-")){let d=p.attribute.slice(5);W(n,{kind:"functional",root:"data",modifier:null,value:p.value===null?{kind:"named",value:d}:{kind:"arbitrary",value:`${d}${p.operator}${p.quote??""}${p.value}${p.quote??""}${p.sensitivity?` ${p.sensitivity}`:""}`}})}else if(p.attribute.startsWith("aria-")){let d=p.attribute.slice(5);W(n,{kind:"functional",root:"aria",modifier:null,value:p.value===null?{kind:"arbitrary",value:d}:p.operator==="="&&p.value==="true"&&p.sensitivity===null?{kind:"named",value:d}:{kind:"arbitrary",value:`${p.attribute}${p.operator}${p.quote??""}${p.value}${p.quote??""}${p.sensitivity?` ${p.sensitivity}`:""}`}})}}if(u)return[u,n]}return r}function ni(e,t){if(e.kind!=="functional"&&e.kind!=="arbitrary"||e.modifier===null)return e;let r=t.designSystem,i=Q.get(t),o=i.get(r.printCandidate(e)),l=e.modifier;if(o===i.get(r.printCandidate({...e,modifier:null})))return e.modifier=null,e;{let n={kind:"named",value:l.value.endsWith("%")?l.value.includes(".")?`${Number(l.value.slice(0,-1))}`:l.value.slice(0,-1):l.value,fraction:null};if(o===i.get(r.printCandidate({...e,modifier:n})))return e.modifier=n,e}{let n={kind:"named",value:`${parseFloat(l.value)*100}`,fraction:null};if(o===i.get(r.printCandidate({...e,modifier:n})))return e.modifier=n,e}return e}function pe(e,t,{onInvalidCandidate:r,respectImportant:i}={}){let o=new Map,l=[],n=new Map;for(let u of e){if(t.invalidCandidates.has(u)){r?.(u);continue}let f=t.parseCandidate(u);if(f.length===0){r?.(u);continue}n.set(u,f)}let s=0;(i??!0)&&(s|=1);let a=t.getVariantOrder();for(let[u,f]of n){let c=!1;for(let p of f){let d=t.compileAstNodes(p,s);if(d.length!==0){c=!0;for(let{node:g,propertySort:m}of d){let x=0n;for(let $ of p.variants)x|=1n<<BigInt(a.get($));o.set(g,{properties:m,variants:x,candidate:u}),l.push(g)}}}c||r?.(u)}return l.sort((u,f)=>{let c=o.get(u),p=o.get(f);if(c.variants-p.variants!==0n)return Number(c.variants-p.variants);let d=0;for(;d<c.properties.order.length&&d<p.properties.order.length&&c.properties.order[d]===p.properties.order[d];)d+=1;return(c.properties.order[d]??1/0)-(p.properties.order[d]??1/0)||p.properties.count-c.properties.count||Ee(c.candidate,p.candidate)}),{astNodes:l,nodeSorting:o}}function fe(e,t){let r=0,i=K("&",e),o=new Set,l=new h(()=>new Set),n=new h(()=>new Set);C([i],(c,{parent:p,path:d})=>{if(c.kind==="at-rule"){if(c.name==="@keyframes")return C(c.nodes,g=>{if(g.kind==="at-rule"&&g.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),1;if(c.name==="@utility"){let g=c.params.replace(/-\*$/,"");n.get(g).add(c),C(c.nodes,m=>{if(!(m.kind!=="at-rule"||m.name!=="@apply")){o.add(c);for(let x of Tt(m,t))l.get(c).add(x)}});return}if(c.name==="@apply"){if(p===null)return;r|=1,o.add(p);for(let g of Tt(c,t))for(let m of d)m!==c&&o.has(m)&&l.get(m).add(g)}}});let s=new Set,a=[],u=new Set;function f(c,p=[]){if(!s.has(c)){if(u.has(c)){let d=p[(p.indexOf(c)+1)%p.length];throw c.kind==="at-rule"&&c.name==="@utility"&&d.kind==="at-rule"&&d.name==="@utility"&&C(c.nodes,g=>{if(g.kind!=="at-rule"||g.name!=="@apply")return;let m=g.params.split(/\s+/g);for(let x of m)for(let $ of t.parseCandidate(x))switch($.kind){case"arbitrary":break;case"static":case"functional":if(d.params.replace(/-\*$/,"")===$.root)throw new Error(`You cannot \`@apply\` the \`${x}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
7
+
8
+ ${D([c])}
9
+ Relies on:
10
+
11
+ ${D([d])}`)}u.add(c);for(let d of l.get(c))for(let g of n.get(d))p.push(c),f(g,p),p.pop();s.add(c),u.delete(c),a.push(c)}}for(let c of o)f(c);for(let c of a)"nodes"in c&&C(c.nodes,(p,{replaceWith:d})=>{if(p.kind!=="at-rule"||p.name!=="@apply")return;let g=p.params.split(/(\s+)/g),m={},x=0;for(let[$,v]of g.entries())$%2===0&&(m[v]=x),x+=v.length;{let $=Object.keys(m),v=pe($,t,{respectImportant:!1,onInvalidCandidate:w=>{if(t.theme.prefix&&!w.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${w}\`. Did you mean \`${t.theme.prefix}:${w}\`?`);if(t.invalidCandidates.has(w))throw new Error(`Cannot apply utility class \`${w}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let b=V(w,":");if(b.length>1){let O=b.pop();if(t.candidatesToCss([O])[0]){let J=t.candidatesToCss(b.map(te=>`${te}:[--tw-variant-check:1]`)),q=b.filter((te,Se)=>J[Se]===null);if(q.length>0){if(q.length===1)throw new Error(`Cannot apply utility class \`${w}\` because the ${q.map(te=>`\`${te}\``)} variant does not exist.`);{let te=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${w}\` because the ${te.format(q.map(Se=>`\`${Se}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${w}\`. Are you using CSS modules or similar and missing \`@reference\`? https://tailwindcss.com/docs/functions-and-directives#reference-directive`):new Error(`Cannot apply unknown utility class \`${w}\``)}}),y=p.src,oe=v.astNodes.map(w=>{let b=v.nodeSorting.get(w)?.candidate,O=b?m[b]:void 0;if(w=M(w),!y||!b||O===void 0)return C([w],q=>{q.src=y}),w;let J=[y[0],y[1],y[2]];return J[1]+=7+O,J[2]=J[1]+b.length,C([w],q=>{q.src=J}),w}),G=[];for(let w of oe)if(w.kind==="rule")for(let b of w.nodes)G.push(b);else G.push(w);d(G)}});return r}function*Tt(e,t){for(let r of e.params.split(/\s+/g))for(let i of t.parseCandidate(r))switch(i.kind){case"arbitrary":break;case"static":case"functional":yield i.root;break;default:}}var fi=32;var ci=40;function Et(e,t=[]){let r=e,i="";for(let o=5;o<e.length;o++){let l=e.charCodeAt(o);if(l===fi||l===ci){r=e.slice(0,o),i=e.slice(o);break}}return E(r.trim(),i.trim(),t)}var De={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function ee(e){return{__BARE_VALUE__:e}}var L=ee(e=>{if(T(e.value))return e.value}),P=ee(e=>{if(T(e.value))return`${e.value}%`}),Y=ee(e=>{if(T(e.value))return`${e.value}px`}),Ot=ee(e=>{if(T(e.value))return`${e.value}ms`}),Ce=ee(e=>{if(T(e.value))return`${e.value}deg`}),hi=ee(e=>{if(e.fraction===null)return;let[t,r]=V(e.fraction,"/");if(!(!T(t)||!T(r)))return e.fraction}),_t=ee(e=>{if(T(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),vi={accentColor:({theme:e})=>e("colors"),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"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",...hi},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...P}),backdropContrast:({theme:e})=>({...e("contrast"),...P}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...P}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...Ce}),backdropInvert:({theme:e})=>({...e("invert"),...P}),backdropOpacity:({theme:e})=>({...e("opacity"),...P}),backdropSaturate:({theme:e})=>({...e("saturate"),...P}),backdropSepia:({theme:e})=>({...e("sepia"),...P}),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),borderOpacity:({theme:e})=>e("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"},borderSpacing:({theme:e})=>e("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...Y},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2",...P},caretColor:({theme:e})=>e("colors"),colors:()=>({...De}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",...L},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...P},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>({...e("borderWidth"),...Y}),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...L},flexShrink:{0:"0",DEFAULT:"1",...L},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%",...P},grayscale:{0:"0",DEFAULT:"100%",...P},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...L},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...L},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...L},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...L},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",..._t},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",..._t},height:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...Ce},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...P},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"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",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",...L},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1",...P},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",...L},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Y},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Y},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Y},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Y},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...Ce},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...P},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",...P},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...P},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...Ce},space:({theme:e})=>e("spacing"),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2",...L},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Y},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Y},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Ot},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Ot},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),width:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50",...L}};function Le(e){let t=[0];for(let o=0;o<e.length;o++)e.charCodeAt(o)===10&&t.push(o+1);function r(o){let l=0,n=t.length;for(;n>0;){let a=(n|0)>>1,u=l+a;t[u]<=o?(l=u+1,n=n-a-1):n=a}l-=1;let s=o-t[l];return{line:l+1,column:s}}function i({line:o,column:l}){o-=1,o=Math.min(Math.max(o,0),t.length-1);let n=t[o],s=t[o+1]??n;return Math.min(Math.max(n+l,0),s)}return{find:r,findOffset:i}}var ki=64;function j(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function E(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function K(e,t=[]){return e.charCodeAt(0)===ki?Et(e,t):j(e,t)}function z(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function Ae(e){return{kind:"comment",value:e}}function M(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(M),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(M),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(M),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(M),src:e.src,dst:e.dst};case"declaration":return{kind:e.kind,property:e.property,value:e.value,important:e.important,src:e.src,dst:e.dst};case"comment":return{kind:e.kind,value:e.value,src:e.src,dst:e.dst};default:throw new Error(`Unknown node kind: ${e.kind}`)}}function C(e,t,r=[],i={}){for(let o=0;o<e.length;o++){let l=e[o],n=r[r.length-1]??null;if(l.kind==="context"){if(C(l.nodes,t,r,{...i,...l.context})===2)return 2;continue}r.push(l);let s=!1,a=0,u=t(l,{parent:n,context:i,path:r,replaceWith(f){s||(s=!0,Array.isArray(f)?f.length===0?(e.splice(o,1),a=0):f.length===1?(e[o]=f[0],a=1):(e.splice(o,1,...f),a=f.length):(e[o]=f,a=1))}})??0;if(r.pop(),s){u===0?o--:o+=a-1;continue}if(u===2)return 2;if(u!==1&&"nodes"in l){r.push(l);let f=C(l.nodes,t,r,i);if(r.pop(),f===2)return 2}}}function D(e,t){let r=0,i={file:null,code:""};function o(n,s=0){let a="",u=" ".repeat(s);if(n.kind==="declaration"){if(a+=`${u}${n.property}: ${n.value}${n.important?" !important":""};
12
+ `,t){r+=u.length;let f=r;r+=n.property.length,r+=2,r+=n.value?.length??0,n.important&&(r+=11);let c=r;r+=2,n.dst=[i,f,c]}}else if(n.kind==="rule"){if(a+=`${u}${n.selector} {
13
+ `,t){r+=u.length;let f=r;r+=n.selector.length,r+=1;let c=r;n.dst=[i,f,c],r+=2}for(let f of n.nodes)a+=o(f,s+1);a+=`${u}}
14
+ `,t&&(r+=u.length,r+=2)}else if(n.kind==="at-rule"){if(n.nodes.length===0){let f=`${u}${n.name} ${n.params};
15
+ `;if(t){r+=u.length;let c=r;r+=n.name.length,r+=1,r+=n.params.length;let p=r;r+=2,n.dst=[i,c,p]}return f}if(a+=`${u}${n.name}${n.params?` ${n.params} `:" "}{
16
+ `,t){r+=u.length;let f=r;r+=n.name.length,n.params&&(r+=1,r+=n.params.length),r+=1;let c=r;n.dst=[i,f,c],r+=2}for(let f of n.nodes)a+=o(f,s+1);a+=`${u}}
17
+ `,t&&(r+=u.length,r+=2)}else if(n.kind==="comment"){if(a+=`${u}/*${n.value}*/
18
+ `,t){r+=u.length;let f=r;r+=2+n.value.length+2;let c=r;n.dst=[i,f,c],r+=1}}else if(n.kind==="context"||n.kind==="at-root")return"";return a}let l="";for(let n of e)l+=o(n,0);return i.code=l,l}var wi=33;function Ut(e,t,r){let i=new h(u=>new e.Input(u.code,{map:r?.input.map,from:u.file??void 0})),o=new h(u=>Le(u.code)),l=e.root();l.source=r;function n(u){if(!u||!u[0])return;let f=o.get(u[0]),c=f.find(u[1]),p=f.find(u[2]);return{input:i.get(u[0]),start:{line:c.line,column:c.column+1,offset:u[1]},end:{line:p.line,column:p.column+1,offset:u[2]}}}function s(u,f){let c=n(f);c?u.source=c:delete u.source}function a(u,f){if(u.kind==="declaration"){let c=e.decl({prop:u.property,value:u.value??"",important:u.important});s(c,u.src),f.append(c)}else if(u.kind==="rule"){let c=e.rule({selector:u.selector});s(c,u.src),c.raws.semicolon=!0,f.append(c);for(let p of u.nodes)a(p,c)}else if(u.kind==="at-rule"){let c=e.atRule({name:u.name.slice(1),params:u.params});s(c,u.src),c.raws.semicolon=!0,f.append(c);for(let p of u.nodes)a(p,c)}else if(u.kind==="comment"){let c=e.comment({text:u.value});c.raws.left="",c.raws.right="",s(c,u.src),f.append(c)}else u.kind==="at-root"||u.kind}for(let u of t)a(u,l);return l}function Dt(e){let t=new h(l=>({file:l.file??l.id??null,code:l.css}));function r(l){let n=l.source;if(!n)return;let s=n.input;if(s&&n.start!==void 0&&n.end!==void 0)return[t.get(s),n.start.offset,n.end.offset]}function i(l,n){if(l.type==="decl"){let s=z(l.prop,l.value,l.important);s.src=r(l),n.push(s)}else if(l.type==="rule"){let s=K(l.selector);s.src=r(l),l.each(a=>i(a,s.nodes)),n.push(s)}else if(l.type==="atrule"){let s=E(`@${l.name}`,l.params);s.src=r(l),l.each(a=>i(a,s.nodes)),n.push(s)}else if(l.type==="comment"){if(l.text.charCodeAt(0)!==wi)return;let s=Ae(l.text);s.src=r(l),n.push(s)}}let o=[];return e.each(l=>i(l,o)),o}var ze=require("@tailwindcss/node"),me=ge(require("path")),Ie="'",Ke='"';function Me(){let e=new WeakSet;function t(r){let i=r.root().source?.input.file;if(!i)return;let o=r.source?.input.file;if(!o||e.has(r))return;let l=r.params[0],n=l[0]===Ke&&l[l.length-1]===Ke?Ke:l[0]===Ie&&l[l.length-1]===Ie?Ie:null;if(!n)return;let s=r.params.slice(1,-1),a="";if(s.startsWith("!")&&(s=s.slice(1),a="!"),!s.startsWith("./")&&!s.startsWith("../"))return;let u=me.default.posix.join((0,ze.normalizePath)(me.default.dirname(o)),s),f=me.default.posix.dirname((0,ze.normalizePath)(i)),c=me.default.posix.relative(f,u);c.startsWith(".")||(c="./"+c),r.params=n+a+c+n,e.add(r)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(r){r.walkAtRules(/source|plugin|config/,t)}}}var k=R.env.DEBUG,Fe=new Lt.default({maxSize:50});function yi(e,t,r){let i=`${t}:${r.base??""}:${JSON.stringify(r.optimize)}`;if(Fe.has(i))return Fe.get(i);let o={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:e.root(),optimizedPostCssAst:e.root(),fullRebuildPaths:[]};return Fe.set(i,o),o}function bi(e={}){let t=e.base??process.cwd(),r=e.optimize??process.env.NODE_ENV==="production",i=e.transformAssetUrls??!0;return{postcssPlugin:"@tailwindcss/postcss",plugins:[Me(),{postcssPlugin:"tailwindcss",async Once(o,{result:l,postcss:n}){var g=[];try{let s=Ge(g,new R.Instrumentation);let a=l.opts.from??"";let u=a.endsWith(".module.css");k&&s.start(`[@tailwindcss/postcss] ${(0,U.relative)(t,a)}`);{k&&s.start("Quick bail check");let v=!0;if(o.walkAtRules(y=>{if(y.name==="import"||y.name==="reference"||y.name==="theme"||y.name==="variant"||y.name==="config"||y.name==="plugin"||y.name==="apply"||y.name==="tailwind")return v=!1,!1}),v)return;k&&s.end("Quick bail check")}let f=yi(n,a,e);let c=U.default.dirname(U.default.resolve(a));let p=f.compiler===null;async function d(){k&&s.start("Setup compiler"),f.fullRebuildPaths.length>0&&!p&&(0,It.clearRequireCache)(f.fullRebuildPaths),f.fullRebuildPaths=[],k&&s.start("PostCSS AST -> Tailwind CSS AST");let v=Dt(o);k&&s.end("PostCSS AST -> Tailwind CSS AST"),k&&s.start("Create compiler");let y=await(0,R.compileAst)(v,{from:l.opts.from,base:c,shouldRewriteUrls:i,onDependency:oe=>f.fullRebuildPaths.push(oe),polyfills:u?R.Polyfills.All^R.Polyfills.AtProperty:R.Polyfills.All});return k&&s.end("Create compiler"),k&&s.end("Setup compiler"),y}try{if(f.compiler??=d(),(await f.compiler).features===R.Features.None)return;let v="incremental";k&&s.start("Register full rebuild paths");{for(let b of f.fullRebuildPaths)l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:U.default.resolve(b),parent:l.opts.from});let w=l.messages.flatMap(b=>b.type!=="dependency"?[]:b.file);w.push(a);for(let b of w){let O=zt.default.statSync(b,{throwIfNoEntry:!1})?.mtimeMs??null;if(O===null){b===a&&(v="full");continue}f.mtimes.get(b)!==O&&(v="full",f.mtimes.set(b,O))}}k&&s.end("Register full rebuild paths"),v==="full"&&!p&&(f.compiler=d());let y=await f.compiler;if(f.scanner===null||v==="full"){k&&s.start("Setup scanner");let w=(y.root==="none"?[]:y.root===null?[{base:t,pattern:"**/*",negated:!1}]:[{...y.root,negated:!1}]).concat(y.sources);f.scanner=new Kt.Scanner({sources:w}),k&&s.end("Setup scanner")}k&&s.start("Scan for candidates");let oe=y.features&R.Features.Utilities?f.scanner.scan():[];if(k&&s.end("Scan for candidates"),y.features&R.Features.Utilities){k&&s.start("Register dependency messages");let w=U.default.resolve(t,a);for(let b of f.scanner.files){let O=U.default.resolve(b);O!==w&&l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:O,parent:l.opts.from})}for(let{base:b,pattern:O}of f.scanner.globs)O==="*"&&t===b||(O===""?l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:U.default.resolve(b),parent:l.opts.from}):l.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:U.default.resolve(b),glob:O,parent:l.opts.from}));k&&s.end("Register dependency messages")}k&&s.start("Build utilities");let G=y.build(oe);if(k&&s.end("Build utilities"),f.tailwindCssAst!==G)if(r){k&&s.start("Optimization"),k&&s.start("AST -> CSS");let w=D(G);k&&s.end("AST -> CSS"),k&&s.start("Lightning CSS");let b=(0,R.optimize)(w,{minify:typeof r=="object"?r.minify:!0});k&&s.end("Lightning CSS"),k&&s.start("CSS -> PostCSS AST"),f.optimizedPostCssAst=n.parse(b.code,l.opts),k&&s.end("CSS -> PostCSS AST"),k&&s.end("Optimization")}else k&&s.start("Transform Tailwind CSS AST into PostCSS AST"),f.cachedPostCssAst=Ut(n,G,o.source),k&&s.end("Transform Tailwind CSS AST into PostCSS AST");f.tailwindCssAst=G,k&&s.start("Update PostCSS AST"),o.removeAll(),o.append(r?f.optimizedPostCssAst.clone().nodes:f.cachedPostCssAst.clone().nodes),o.raws.indent=" ",k&&s.end("Update PostCSS AST"),k&&s.end(`[@tailwindcss/postcss] ${(0,U.relative)(t,a)}`)}catch(v){f.compiler=null;for(let y of f.fullRebuildPaths)l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:U.default.resolve(y),parent:l.opts.from});throw console.error(v),v&&typeof v=="object"&&"message"in v?o.error(`${v.message}`):o.error(`${v}`)}}catch(m){var x=m,$=!0}finally{qe(g,x,$)}}}]}}var Mt=Object.assign(bi,{postcss:!0});module.exports=Mt;
package/dist/index.mjs CHANGED
@@ -1,10 +1,18 @@
1
- var oe=(e,o)=>(o=Symbol[e])?o:Symbol.for("Symbol."+e),le=e=>{throw TypeError(e)};var ae=(e,o,i)=>{if(o!=null){typeof o!="object"&&typeof o!="function"&&le("Object expected");var t,n;i&&(t=o[oe("asyncDispose")]),t===void 0&&(t=o[oe("dispose")],i&&(n=t)),typeof t!="function"&&le("Object not disposable"),n&&(t=function(){try{n.call(this)}catch(r){return Promise.reject(r)}}),e.push([i,t,o])}else i&&e.push([i]);return o},se=(e,o,i)=>{var t=typeof SuppressedError=="function"?SuppressedError:function(l,s,a,c){return c=Error(a),c.name="SuppressedError",c.error=l,c.suppressed=s,c},n=l=>o=i?new t(l,o,"An error was suppressed during disposal"):(i=!0,l),r=l=>{for(;l=e.pop();)try{var s=l[1]&&l[1].call(l[2]);if(l[0])return Promise.resolve(s).then(r,a=>(n(a),r()))}catch(a){n(a)}if(i)throw o};return r()};import wt from"@alloc/quick-lru";import{compileAst as kt,env as yt,Features as ee,Instrumentation as bt,optimize as xt,Polyfills as te}from"@tailwindcss/node";import{clearRequireCache as At}from"@tailwindcss/node/require-cache";import{Scanner as Ct}from"@tailwindcss/oxide";import Nt from"node:fs";import O,{relative as Re}from"node:path";import ie from"postcss";function B(e){return{kind:"word",value:e}}function Ue(e,o){return{kind:"function",value:e,nodes:o}}function De(e){return{kind:"separator",value:e}}function V(e,o,i=null){for(let t=0;t<e.length;t++){let n=e[t],r=!1,l=0,s=o(n,{parent:i,replaceWith(a){r||(r=!0,Array.isArray(a)?a.length===0?(e.splice(t,1),l=0):a.length===1?(e[t]=a[0],l=1):(e.splice(t,1,...a),l=a.length):e[t]=a)}})??0;if(r){s===0?t--:t+=l-1;continue}if(s===2)return 2;if(s!==1&&n.kind==="function"&&V(n.nodes,o,n)===2)return 2}}function N(e){let o="";for(let i of e)switch(i.kind){case"word":case"separator":{o+=i.value;break}case"function":o+=i.value+"("+N(i.nodes)+")"}return o}var ue=92,ze=41,fe=58,ce=44,Fe=34,pe=61,de=62,me=60,ge=10,Ie=40,Le=39,he=47,ve=32,we=9;function S(e){e=e.replaceAll(`\r
1
+ var Fe=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),je=e=>{throw TypeError(e)};var We=(e,t,r)=>{if(t!=null){typeof t!="object"&&typeof t!="function"&&je("Object expected");var i,o;r&&(i=t[Fe("asyncDispose")]),i===void 0&&(i=t[Fe("dispose")],r&&(o=i)),typeof i!="function"&&je("Object not disposable"),o&&(i=function(){try{o.call(this)}catch(l){return Promise.reject(l)}}),e.push([r,i,t])}else r&&e.push([r]);return t},Be=(e,t,r)=>{var i=typeof SuppressedError=="function"?SuppressedError:function(n,s,a,u){return u=Error(a),u.name="SuppressedError",u.error=n,u.suppressed=s,u},o=n=>t=r?new i(n,t,"An error was suppressed during disposal"):(r=!0,n),l=n=>{for(;n=e.pop();)try{var s=n[1]&&n[1].call(n[2]);if(n[0])return Promise.resolve(s).then(l,a=>(o(a),l()))}catch(a){o(a)}if(r)throw t};return l()};import ui from"@alloc/quick-lru";import{compileAst as fi,env as ci,Features as Ke,Instrumentation as pi,optimize as di,Polyfills as ze}from"@tailwindcss/node";import{clearRequireCache as mi}from"@tailwindcss/node/require-cache";import{Scanner as gi}from"@tailwindcss/oxide";import hi from"fs";import Q,{relative as Dt}from"path";function O(e){return{kind:"word",value:e}}function Lt(e,t){return{kind:"function",value:e,nodes:t}}function It(e){return{kind:"separator",value:e}}function N(e,t,r=null){for(let i=0;i<e.length;i++){let o=e[i],l=!1,n=0,s=t(o,{parent:r,replaceWith(a){l||(l=!0,Array.isArray(a)?a.length===0?(e.splice(i,1),n=0):a.length===1?(e[i]=a[0],n=1):(e.splice(i,1,...a),n=a.length):e[i]=a)}})??0;if(l){s===0?i--:i+=n-1;continue}if(s===2)return 2;if(s!==1&&o.kind==="function"&&N(o.nodes,t,o)===2)return 2}}function Ce(e,t,r=null){for(let i=0;i<e.length;i++){let o=e[i];if(o.kind==="function"&&Ce(o.nodes,t,o)===2)return 2;let l=!1,n=0,s=t(o,{parent:r,replaceWith(a){l||(l=!0,Array.isArray(a)?a.length===0?(e.splice(i,1),n=0):a.length===1?(e[i]=a[0],n=1):(e.splice(i,1,...a),n=a.length):e[i]=a)}})??0;if(l){s===0?i--:i+=n-1;continue}if(s===2)return 2}}function S(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+S(r.nodes)+")"}return t}var Ge=92,Kt=41,qe=58,He=44,zt=34,Ze=61,Qe=62,Ye=60,Je=10,Mt=40,Ft=39,jt=47,Xe=32,et=9;function A(e){e=e.replaceAll(`\r
2
2
  `,`
3
- `);let o=[],i=[],t=null,n="",r;for(let l=0;l<e.length;l++){let s=e.charCodeAt(l);switch(s){case ue:{n+=e[l]+e[l+1],l++;break}case fe:case ce:case pe:case de:case me:case ge:case he:case ve:case we:{if(n.length>0){let w=B(n);t?t.nodes.push(w):o.push(w),n=""}let a=l,c=l+1;for(;c<e.length&&(r=e.charCodeAt(c),!(r!==fe&&r!==ce&&r!==pe&&r!==de&&r!==me&&r!==ge&&r!==he&&r!==ve&&r!==we));c++);l=c-1;let C=De(e.slice(a,c));t?t.nodes.push(C):o.push(C);break}case Le:case Fe:{let a=l;for(let c=l+1;c<e.length;c++)if(r=e.charCodeAt(c),r===ue)c+=1;else if(r===s){l=c;break}n+=e.slice(a,l+1);break}case Ie:{let a=Ue(n,[]);n="",t?t.nodes.push(a):o.push(a),i.push(a),t=a;break}case ze:{let a=i.pop();if(n.length>0){let c=B(n);a.nodes.push(c),n=""}i.length>0?t=i[i.length-1]:t=null;break}default:n+=String.fromCharCode(s)}}return n.length>0&&o.push(B(n)),o}var je=["anchor-size"],Et=new RegExp(`(${je.join("|")})\\(`,"g");var _t=new Uint8Array(256);var I=new Uint8Array(256);function m(e,o){let i=0,t=[],n=0,r=e.length,l=o.charCodeAt(0);for(let s=0;s<r;s++){let a=e.charCodeAt(s);if(i===0&&a===l){t.push(e.slice(n,s)),n=s+1;continue}switch(a){case 92:s+=1;break;case 39:case 34:for(;++s<r;){let c=e.charCodeAt(s);if(c===92){s+=1;continue}if(c===a)break}break;case 40:I[i]=41,i++;break;case 91:I[i]=93,i++;break;case 123:I[i]=125,i++;break;case 93:case 125:case 41:i>0&&a===I[i-1]&&i--;break}}return t.push(e.slice(n)),t}var y=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Zt=new RegExp(`^${y.source}$`);var Xt=new RegExp(`^${y.source}%$`);var er=new RegExp(`^${y.source}s*/s*${y.source}$`);var Me=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],tr=new RegExp(`^${y.source}(${Me.join("|")})$`);var We=["deg","rad","grad","turn"],rr=new RegExp(`^${y.source}(${We.join("|")})$`);var ir=new RegExp(`^${y.source} +${y.source} +${y.source}$`);function h(e){let o=Number(e);return Number.isInteger(o)&&o>=0&&String(o)===String(e)}function _(e,o){if(o===null)return e;let i=Number(o);return Number.isNaN(i)||(o=`${i*100}%`),`color-mix(in oklab, ${e} ${o}, transparent)`}var Ge={"--alpha":qe,"--spacing":Ye,"--theme":Je,theme:Qe};function qe(e,o,i,...t){let[n,r]=m(i,"/").map(l=>l.trim());if(!n||!r)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${n||"var(--my-color)"} / ${r||"50%"})\``);if(t.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${n||"var(--my-color)"} / ${r||"50%"})\``);return _(n,r)}function Ye(e,o,i,...t){if(!i)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(t.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${t.length+1}.`);let n=e.theme.resolve(null,["--spacing"]);if(!n)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${n} * ${i})`}function Je(e,o,i,...t){if(!i.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let n=!1;i.endsWith(" inline")&&(n=!0,i=i.slice(0,-7)),o.kind==="at-rule"&&(n=!0);let r=e.resolveThemeValue(i,n);if(!r){if(t.length>0)return t.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${i})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(t.length===0)return r;let l=t.join(", ");if(l==="initial")return r;if(r==="initial")return l;if(r.startsWith("var(")||r.startsWith("theme(")||r.startsWith("--theme(")){let s=S(r);return Xe(s,l),N(s)}return r}function Qe(e,o,i,...t){i=Ze(i);let n=e.resolveThemeValue(i);if(!n&&t.length>0)return t.join(", ");if(!n)throw new Error(`Could not resolve value for theme function: \`theme(${i})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return n}var xr=new RegExp(Object.keys(Ge).map(e=>`${e}\\(`).join("|"));function Ze(e){if(e[0]!=="'"&&e[0]!=='"')return e;let o="",i=e[0];for(let t=1;t<e.length-1;t++){let n=e[t],r=e[t+1];n==="\\"&&(r===i||r==="\\")?(o+=r,t++):o+=n}return o}function Xe(e,o){V(e,i=>{if(i.kind==="function"&&!(i.value!=="var"&&i.value!=="theme"&&i.value!=="--theme"))if(i.nodes.length===1)i.nodes.push({kind:"word",value:`, ${o}`});else{let t=i.nodes[i.nodes.length-1];t.kind==="word"&&t.value==="initial"&&(t.value=o)}})}var ot=32;var lt=40;function Ae(e,o=[]){for(let i=5;i<e.length;i++){let t=e.charCodeAt(i);if(t===ot||t===lt){let n=e.slice(0,i).trim(),r=e.slice(i).trim();return g(n,r,o)}}return g(e.trim(),"",o)}var J={inherit:"inherit",current:"currentColor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function T(e){return{__BARE_VALUE__:e}}var v=T(e=>{if(h(e.value))return e.value}),d=T(e=>{if(h(e.value))return`${e.value}%`}),A=T(e=>{if(h(e.value))return`${e.value}px`}),Se=T(e=>{if(h(e.value))return`${e.value}ms`}),M=T(e=>{if(h(e.value))return`${e.value}deg`}),mt=T(e=>{if(e.fraction===null)return;let[o,i]=m(e.fraction,"/");if(!(!h(o)||!h(i)))return e.fraction}),$e=T(e=>{if(h(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),gt={accentColor:({theme:e})=>e("colors"),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"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",...mt},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...d}),backdropContrast:({theme:e})=>({...e("contrast"),...d}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...d}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...M}),backdropInvert:({theme:e})=>({...e("invert"),...d}),backdropOpacity:({theme:e})=>({...e("opacity"),...d}),backdropSaturate:({theme:e})=>({...e("saturate"),...d}),backdropSepia:({theme:e})=>({...e("sepia"),...d}),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({DEFAULT:"currentColor",...e("colors")}),borderOpacity:({theme:e})=>e("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"},borderSpacing:({theme:e})=>e("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...A},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2",...d},caretColor:({theme:e})=>e("colors"),colors:()=>({...J}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",...v},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...d},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>({...e("borderWidth"),...A}),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...v},flexShrink:{0:"0",DEFAULT:"1",...v},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%",...d},grayscale:{0:"0",DEFAULT:"100%",...d},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...v},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...v},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...v},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...v},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...$e},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...$e},height:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...M},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...d},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"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",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",...v},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1",...d},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",...v},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...A},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...A},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentColor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...A},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...A},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...M},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...d},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",...d},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...d},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...M},space:({theme:e})=>e("spacing"),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2",...v},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...A},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...A},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Se},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Se},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),width:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50",...v}};var ht=64;function R(e,o=[]){return{kind:"rule",selector:e,nodes:o}}function g(e,o="",i=[]){return{kind:"at-rule",name:e,params:o,nodes:i}}function b(e,o=[]){return e.charCodeAt(0)===ht?Ae(e,o):R(e,o)}function k(e,o,i=!1){return{kind:"declaration",property:e,value:o,important:i}}function j(e){return{kind:"comment",value:e}}function P(e){function o(t,n=0){let r="",l=" ".repeat(n);if(t.kind==="declaration")r+=`${l}${t.property}: ${t.value}${t.important?" !important":""};
4
- `;else if(t.kind==="rule"){r+=`${l}${t.selector} {
5
- `;for(let s of t.nodes)r+=o(s,n+1);r+=`${l}}
6
- `}else if(t.kind==="at-rule"){if(t.nodes.length===0)return`${l}${t.name} ${t.params};
7
- `;r+=`${l}${t.name}${t.params?` ${t.params} `:" "}{
8
- `;for(let s of t.nodes)r+=o(s,n+1);r+=`${l}}
9
- `}else if(t.kind==="comment")r+=`${l}/*${t.value}*/
10
- `;else if(t.kind==="context"||t.kind==="at-root")return"";return r}let i="";for(let t of e){let n=o(t);n!==""&&(i+=n)}return i}import D from"postcss";var vt=33;function Te(e,o){let i=D.root();i.source=o;function t(n,r){if(n.kind==="declaration"){let l=D.decl({prop:n.property,value:n.value??"",important:n.important});l.source=o,r.append(l)}else if(n.kind==="rule"){let l=D.rule({selector:n.selector});l.source=o,l.raws.semicolon=!0,r.append(l);for(let s of n.nodes)t(s,l)}else if(n.kind==="at-rule"){let l=D.atRule({name:n.name.slice(1),params:n.params});l.source=o,l.raws.semicolon=!0,r.append(l);for(let s of n.nodes)t(s,l)}else if(n.kind==="comment"){let l=D.comment({text:n.value});l.raws.left="",l.raws.right="",l.source=o,r.append(l)}else n.kind==="at-root"||n.kind}for(let n of e)t(n,i);return i}function Ve(e){function o(t,n){if(t.type==="decl")n.push(k(t.prop,t.value,t.important));else if(t.type==="rule"){let r=b(t.selector);t.each(l=>o(l,r.nodes)),n.push(r)}else if(t.type==="atrule"){let r=g(`@${t.name}`,t.params);t.each(l=>o(l,r.nodes)),n.push(r)}else if(t.type==="comment"){if(t.text.charCodeAt(0)!==vt)return;n.push(j(t.text))}}let i=[];return e.each(t=>o(t,i)),i}import{normalizePath as Ee}from"@tailwindcss/node";import W from"node:path";var Q="'",Z='"';function X(){let e=new WeakSet;function o(i){let t=i.root().source?.input.file;if(!t)return;let n=i.source?.input.file;if(!n||e.has(i))return;let r=i.params[0],l=r[0]===Z&&r[r.length-1]===Z?Z:r[0]===Q&&r[r.length-1]===Q?Q:null;if(!l)return;let s=i.params.slice(1,-1),a="";if(s.startsWith("!")&&(s=s.slice(1),a="!"),!s.startsWith("./")&&!s.startsWith("../"))return;let c=W.posix.join(Ee(W.dirname(n)),s),C=W.posix.dirname(Ee(t)),w=W.posix.relative(C,c);w.startsWith(".")||(w="./"+w),i.params=l+a+w+l,e.add(i)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(i){i.walkAtRules(/source|plugin|config/,o)}}}var u=yt.DEBUG,re=new wt({maxSize:50});function St(e,o){let i=`${e}:${o.base??""}:${JSON.stringify(o.optimize)}`;if(re.has(i))return re.get(i);let t={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:ie.root(),optimizedPostCssAst:ie.root(),fullRebuildPaths:[]};return re.set(i,t),t}function $t(e={}){let o=e.base??process.cwd(),i=e.optimize??process.env.NODE_ENV==="production";return{postcssPlugin:"@tailwindcss/postcss",plugins:[X(),{postcssPlugin:"tailwindcss",async Once(t,{result:n}){var ne=[];try{let r=ae(ne,new bt);let l=n.opts.from??"";let s=l.endsWith(".module.css");u&&r.start(`[@tailwindcss/postcss] ${Re(o,l)}`);{u&&r.start("Quick bail check");let p=!0;if(t.walkAtRules(f=>{if(f.name==="import"||f.name==="reference"||f.name==="theme"||f.name==="variant"||f.name==="config"||f.name==="plugin"||f.name==="apply")return p=!1,!1}),p)return;u&&r.end("Quick bail check")}let a=St(l,e);let c=O.dirname(O.resolve(l));async function C(){u&&r.start("Setup compiler"),a.fullRebuildPaths.length>0&&!w&&At(a.fullRebuildPaths),a.fullRebuildPaths=[],u&&r.start("PostCSS AST -> Tailwind CSS AST");let p=Ve(t);u&&r.end("PostCSS AST -> Tailwind CSS AST"),u&&r.start("Create compiler");let f=await kt(p,{base:c,shouldRewriteUrls:!0,onDependency:K=>{a.fullRebuildPaths.push(K)},polyfills:s?te.All^te.AtProperty:te.All});return u&&r.end("Create compiler"),u&&r.end("Setup compiler"),f}let w=a.compiler===null;a.compiler??=await C();if(a.compiler.features===ee.None)return;let z="incremental";u&&r.start("Register full rebuild paths");{for(let f of a.fullRebuildPaths)n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:O.resolve(f),parent:n.opts.from});let p=n.messages.flatMap(f=>f.type!=="dependency"?[]:f.file);p.push(l);for(let f of p){let K=Nt.statSync(f,{throwIfNoEntry:!1})?.mtimeMs??null;if(K===null){f===l&&(z="full");continue}a.mtimes.get(f)!==K&&(z="full",a.mtimes.set(f,K))}}u&&r.end("Register full rebuild paths");z==="full"&&!w&&(a.compiler=await C());if(a.scanner===null||z==="full"){u&&r.start("Setup scanner");let p=(a.compiler.root==="none"?[]:a.compiler.root===null?[{base:o,pattern:"**/*",negated:!1}]:[{...a.compiler.root,negated:!1}]).concat(a.compiler.sources);a.scanner=new Ct({sources:p}),u&&r.end("Setup scanner")}u&&r.start("Scan for candidates");let Pe=a.compiler.features&ee.Utilities?a.scanner.scan():[];u&&r.end("Scan for candidates");if(a.compiler.features&ee.Utilities){u&&r.start("Register dependency messages");for(let p of a.scanner.files){let f=O.resolve(p);f!==n.opts.from&&n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:f,parent:n.opts.from})}for(let{base:p,pattern:f}of a.scanner.globs)f==="*"&&o===p||(f===""?n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:O.resolve(p),parent:n.opts.from}):n.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:O.resolve(p),glob:f,parent:n.opts.from}));u&&r.end("Register dependency messages")}u&&r.start("Build utilities");let F=a.compiler.build(Pe);u&&r.end("Build utilities");if(a.tailwindCssAst!==F)if(i){u&&r.start("Optimization"),u&&r.start("AST -> CSS");let p=P(F);u&&r.end("AST -> CSS"),u&&r.start("Lightning CSS");let f=xt(p,{minify:typeof i=="object"?i.minify:!0});u&&r.end("Lightning CSS"),u&&r.start("CSS -> PostCSS AST"),a.optimizedPostCssAst=ie.parse(f,n.opts),u&&r.end("CSS -> PostCSS AST"),u&&r.end("Optimization")}else u&&r.start("Transform Tailwind CSS AST into PostCSS AST"),a.cachedPostCssAst=Te(F,t.source),u&&r.end("Transform Tailwind CSS AST into PostCSS AST");a.tailwindCssAst=F;u&&r.start("Update PostCSS AST");t.removeAll();t.append(i?a.optimizedPostCssAst.clone().nodes:a.cachedPostCssAst.clone().nodes);t.raws.indent=" ";u&&r.end("Update PostCSS AST");u&&r.end(`[@tailwindcss/postcss] ${Re(o,l)}`)}catch(Oe){var Ke=Oe,_e=!0}finally{se(ne,Ke,_e)}}}]}}var rl=Object.assign($t,{postcss:!0});export{rl as default};
3
+ `);let t=[],r=[],i=null,o="",l;for(let n=0;n<e.length;n++){let s=e.charCodeAt(n);switch(s){case Ge:{o+=e[n]+e[n+1],n++;break}case jt:{if(o.length>0){let u=O(o);i?i.nodes.push(u):t.push(u),o=""}let a=O(e[n]);i?i.nodes.push(a):t.push(a);break}case qe:case He:case Ze:case Qe:case Ye:case Je:case Xe:case et:{if(o.length>0){let c=O(o);i?i.nodes.push(c):t.push(c),o=""}let a=n,u=n+1;for(;u<e.length&&(l=e.charCodeAt(u),!(l!==qe&&l!==He&&l!==Ze&&l!==Qe&&l!==Ye&&l!==Je&&l!==Xe&&l!==et));u++);n=u-1;let f=It(e.slice(a,u));i?i.nodes.push(f):t.push(f);break}case Ft:case zt:{let a=n;for(let u=n+1;u<e.length;u++)if(l=e.charCodeAt(u),l===Ge)u+=1;else if(l===s){n=u;break}o+=e.slice(a,n+1);break}case Mt:{let a=Lt(o,[]);o="",i?i.nodes.push(a):t.push(a),r.push(a),i=a;break}case Kt:{let a=r.pop();if(o.length>0){let u=O(o);a?.nodes.push(u),o=""}r.length>0?i=r[r.length-1]:i=null;break}default:o+=String.fromCharCode(s)}}return o.length>0&&t.push(O(o)),t}var Wt=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"];function tt(e){return e.indexOf("(")!==-1&&Wt.some(t=>e.includes(`${t}(`))}var h=class extends Map{constructor(r){super();this.factory=r}get(r){let i=super.get(r);return i===void 0&&(i=this.factory(r,this),this.set(r,i)),i}};var Si=new Uint8Array(256);var de=new Uint8Array(256);function V(e,t){let r=0,i=[],o=0,l=e.length,n=t.charCodeAt(0);for(let s=0;s<l;s++){let a=e.charCodeAt(s);if(r===0&&a===n){i.push(e.slice(o,s)),o=s+1;continue}switch(a){case 92:s+=1;break;case 39:case 34:for(;++s<l;){let u=e.charCodeAt(s);if(u===92){s+=1;continue}if(u===a)break}break;case 40:de[r]=41,r++;break;case 91:de[r]=93,r++;break;case 123:de[r]=125,r++;break;case 93:case 125:case 41:r>0&&a===de[r-1]&&r--;break}}return i.push(e.slice(o)),i}function rt(e){switch(e.kind){case"arbitrary":return{kind:e.kind,property:e.property,value:e.value,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(te),important:e.important,raw:e.raw};case"static":return{kind:e.kind,root:e.root,variants:e.variants.map(te),important:e.important,raw:e.raw};case"functional":return{kind:e.kind,root:e.root,value:e.value?e.value.kind==="arbitrary"?{kind:e.value.kind,dataType:e.value.dataType,value:e.value.value}:{kind:e.value.kind,value:e.value.value,fraction:e.value.fraction}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(te),important:e.important,raw:e.raw};default:throw new Error("Unknown candidate kind")}}function te(e){switch(e.kind){case"arbitrary":return{kind:e.kind,selector:e.selector,relative:e.relative};case"static":return{kind:e.kind,root:e.root};case"functional":return{kind:e.kind,root:e.root,value:e.value?{kind:e.value.kind,value:e.value.value}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};case"compound":return{kind:e.kind,root:e.root,variant:te(e.variant),modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};default:throw new Error("Unknown variant kind")}}function Ve(e){if(e===null)return"";let t=qt(e.value),r=t?e.value.slice(4,-1):e.value,[i,o]=t?["(",")"]:["[","]"];return e.kind==="arbitrary"?`/${i}${$e(r)}${o}`:e.kind==="named"?`/${e.value}`:""}var Bt=new h(e=>{let t=A(e),r=new Set;return N(t,(i,{parent:o})=>{let l=o===null?t:o.nodes??[];if(i.kind==="word"&&(i.value==="+"||i.value==="-"||i.value==="*"||i.value==="/")){let n=l.indexOf(i)??-1;if(n===-1)return;let s=l[n-1];if(s?.kind!=="separator"||s.value!==" ")return;let a=l[n+1];if(a?.kind!=="separator"||a.value!==" ")return;r.add(s),r.add(a)}else i.kind==="separator"&&i.value.length>0&&i.value.trim()===""?(l[0]===i||l[l.length-1]===i)&&r.add(i):i.kind==="separator"&&i.value.trim()===","&&(i.value=",")}),r.size>0&&N(t,(i,{replaceWith:o})=>{r.has(i)&&(r.delete(i),o([]))}),Se(t),S(t)});function $e(e){return Bt.get(e)}var _i=new h(e=>{let t=A(e);return t.length===3&&t[0].kind==="word"&&t[0].value==="&"&&t[1].kind==="separator"&&t[1].value===":"&&t[2].kind==="function"&&t[2].value==="is"?S(t[2].nodes):e});function Se(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=oe(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=oe(t.value);for(let r=0;r<t.nodes.length;r++)Se([t.nodes[r]]);break}t.value=oe(t.value),Se(t.nodes);break}case"separator":t.value=oe(t.value);break;case"word":{(t.value[0]!=="-"||t.value[1]!=="-")&&(t.value=oe(t.value));break}default:Ht(t)}}var Gt=new h(e=>{let t=A(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function qt(e){return Gt.get(e)}function Ht(e){throw new Error(`Unexpected value: ${e}`)}function oe(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var Zt=process.env.FEATURES_ENV!=="stable";var z=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,ji=new RegExp(`^${z.source}$`);var Wi=new RegExp(`^${z.source}%$`);var Bi=new RegExp(`^${z.source}s*/s*${z.source}$`);var Qt=["cm","mm","Q","in","pc","pt","px","em","ex","ch","rem","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","lvw","lvh","dvw","dvh","cqw","cqh","cqi","cqb","cqmin","cqmax"],Yt=new RegExp(`^${z.source}(${Qt.join("|")})$`);function it(e){return Yt.test(e)||tt(e)}var Jt=["deg","rad","grad","turn"],Gi=new RegExp(`^${z.source}(${Jt.join("|")})$`);var qi=new RegExp(`^${z.source} +${z.source} +${z.source}$`);function T(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function re(e){return Xt(e,.25)}function Xt(e,t){let r=Number(e);return r>=0&&r%t===0&&String(r)===String(e)}function le(e,t){if(t===null)return e;let r=Number(t);return Number.isNaN(r)||(t=`${r*100}%`),t==="100%"?e:`color-mix(in oklab, ${e} ${t}, transparent)`}var tr={"--alpha":rr,"--spacing":ir,"--theme":nr,theme:or};function rr(e,t,r,...i){let[o,l]=V(r,"/").map(n=>n.trim());if(!o||!l)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${o||"var(--my-color)"} / ${l||"50%"})\``);if(i.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${o||"var(--my-color)"} / ${l||"50%"})\``);return le(o,l)}function ir(e,t,r,...i){if(!r)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(i.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${i.length+1}.`);let o=e.theme.resolve(null,["--spacing"]);if(!o)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${o} * ${r})`}function nr(e,t,r,...i){if(!r.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let o=!1;r.endsWith(" inline")&&(o=!0,r=r.slice(0,-7)),t.kind==="at-rule"&&(o=!0);let l=e.resolveThemeValue(r,o);if(!l){if(i.length>0)return i.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(i.length===0)return l;let n=i.join(", ");if(n==="initial")return l;if(l==="initial")return n;if(l.startsWith("var(")||l.startsWith("theme(")||l.startsWith("--theme(")){let s=A(l);return ar(s,n),S(s)}return l}function or(e,t,r,...i){r=lr(r);let o=e.resolveThemeValue(r);if(!o&&i.length>0)return i.join(", ");if(!o)throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return o}var dn=new RegExp(Object.keys(tr).map(e=>`${e}\\(`).join("|"));function lr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let i=1;i<e.length-1;i++){let o=e[i],l=e[i+1];o==="\\"&&(l===r||l==="\\")?(t+=l,i++):t+=o}return t}function ar(e,t){N(e,r=>{if(r.kind==="function"&&!(r.value!=="var"&&r.value!=="theme"&&r.value!=="--theme"))if(r.nodes.length===1)r.nodes.push({kind:"word",value:`, ${t}`});else{let i=r.nodes[r.nodes.length-1];i.kind==="word"&&i.value==="initial"&&(i.value=t)}})}function Ne(e,t){let r=e.length,i=t.length,o=r<i?r:i;for(let l=0;l<o;l++){let n=e.charCodeAt(l),s=t.charCodeAt(l);if(n>=48&&n<=57&&s>=48&&s<=57){let a=l,u=l+1,f=l,c=l+1;for(n=e.charCodeAt(u);n>=48&&n<=57;)n=e.charCodeAt(++u);for(s=t.charCodeAt(c);s>=48&&s<=57;)s=t.charCodeAt(++c);let p=e.slice(a,u),d=t.slice(f,c),g=Number(p)-Number(d);if(g)return g;if(p<d)return-1;if(p>d)return 1;continue}if(n!==s)return n-s}return e.length-t.length}function at(e){if(e[0]!=="["||e[e.length-1]!=="]")return null;let t=1,r=t,i=e.length-1;for(;ie(e.charCodeAt(t));)t++;{for(r=t;t<i;t++){let f=e.charCodeAt(t);if(f===92){t++;continue}if(!(f>=65&&f<=90)&&!(f>=97&&f<=122)&&!(f>=48&&f<=57)&&!(f===45||f===95))break}if(r===t)return null}let o=e.slice(r,t);for(;ie(e.charCodeAt(t));)t++;if(t===i)return{attribute:o,operator:null,quote:null,value:null,sensitivity:null};let l=null,n=e.charCodeAt(t);if(n===61)l="=",t++;else if((n===126||n===124||n===94||n===36||n===42)&&e.charCodeAt(t+1)===61)l=e[t]+"=",t+=2;else return null;for(;ie(e.charCodeAt(t));)t++;if(t===i)return null;let s="",a=null;if(n=e.charCodeAt(t),n===39||n===34){a=e[t],t++,r=t;for(let f=t;f<i;f++){let c=e.charCodeAt(f);c===n?t=f+1:c===92&&f++}s=e.slice(r,t-1)}else{for(r=t;t<i&&!ie(e.charCodeAt(t));)t++;s=e.slice(r,t)}for(;ie(e.charCodeAt(t));)t++;if(t===i)return{attribute:o,operator:l,quote:a,value:s,sensitivity:null};let u=null;switch(e.charCodeAt(t)){case 105:case 73:{u="i",t++;break}case 115:case 83:{u="s",t++;break}default:return null}for(;ie(e.charCodeAt(t));)t++;return t!==i?null:{attribute:o,operator:l,quote:a,value:s,sensitivity:u}}function ie(e){switch(e){case 32:case 9:case 10:case 13:return!0;default:return!1}}var ur=/^[a-zA-Z0-9-_%/\.]+$/;function Ee(e){if(e[0]==="container")return null;e=e.slice(),e[0]==="animation"&&(e[0]="animate"),e[0]==="aspectRatio"&&(e[0]="aspect"),e[0]==="borderRadius"&&(e[0]="radius"),e[0]==="boxShadow"&&(e[0]="shadow"),e[0]==="colors"&&(e[0]="color"),e[0]==="containers"&&(e[0]="container"),e[0]==="fontFamily"&&(e[0]="font"),e[0]==="fontSize"&&(e[0]="text"),e[0]==="letterSpacing"&&(e[0]="tracking"),e[0]==="lineHeight"&&(e[0]="leading"),e[0]==="maxWidth"&&(e[0]="container"),e[0]==="screens"&&(e[0]="breakpoint"),e[0]==="transitionTimingFunction"&&(e[0]="ease");for(let t of e)if(!ur.test(t))return null;return e.map((t,r,i)=>t==="1"&&r!==i.length-1?"":t).map(t=>t.replaceAll(".","_").replace(/([a-z])([A-Z])/g,(r,i,o)=>`${i}-${o.toLowerCase()}`)).filter((t,r)=>t!=="DEFAULT"||r!==e.length-1).join("-")}function fr(e){return{kind:"combinator",value:e}}function cr(e,t){return{kind:"function",value:e,nodes:t}}function G(e){return{kind:"selector",value:e}}function pr(e){return{kind:"separator",value:e}}function dr(e){return{kind:"value",value:e}}function ge(e,t,r=null){for(let i=0;i<e.length;i++){let o=e[i],l=!1,n=0,s=t(o,{parent:r,replaceWith(a){l||(l=!0,Array.isArray(a)?a.length===0?(e.splice(i,1),n=0):a.length===1?(e[i]=a[0],n=1):(e.splice(i,1,...a),n=a.length):(e[i]=a,n=1))}})??0;if(l){s===0?i--:i+=n-1;continue}if(s===2)return 2;if(s!==1&&o.kind==="function"&&ge(o.nodes,t,o)===2)return 2}}function q(e){let t="";for(let r of e)switch(r.kind){case"combinator":case"selector":case"separator":case"value":{t+=r.value;break}case"function":t+=r.value+"("+q(r.nodes)+")"}return t}var ut=92,mr=93,ft=41,gr=58,ct=44,hr=34,vr=46,pt=62,dt=10,kr=35,mt=91,gt=40,ht=43,wr=39,vt=32,kt=9,wt=126,yr=38,br=42;function se(e){e=e.replaceAll(`\r
4
+ `,`
5
+ `);let t=[],r=[],i=null,o="",l;for(let n=0;n<e.length;n++){let s=e.charCodeAt(n);switch(s){case ct:case pt:case dt:case vt:case ht:case kt:case wt:{if(o.length>0){let p=G(o);i?i.nodes.push(p):t.push(p),o=""}let a=n,u=n+1;for(;u<e.length&&(l=e.charCodeAt(u),!(l!==ct&&l!==pt&&l!==dt&&l!==vt&&l!==ht&&l!==kt&&l!==wt));u++);n=u-1;let f=e.slice(a,u),c=f.trim()===","?pr(f):fr(f);i?i.nodes.push(c):t.push(c);break}case gt:{let a=cr(o,[]);if(o="",a.value!==":not"&&a.value!==":where"&&a.value!==":has"&&a.value!==":is"){let u=n+1,f=0;for(let p=n+1;p<e.length;p++){if(l=e.charCodeAt(p),l===gt){f++;continue}if(l===ft){if(f===0){n=p;break}f--}}let c=n;a.nodes.push(dr(e.slice(u,c))),o="",n=c,i?i.nodes.push(a):t.push(a);break}i?i.nodes.push(a):t.push(a),r.push(a),i=a;break}case ft:{let a=r.pop();if(o.length>0){let u=G(o);a.nodes.push(u),o=""}r.length>0?i=r[r.length-1]:i=null;break}case vr:case gr:case kr:{if(o.length>0){let a=G(o);i?i.nodes.push(a):t.push(a)}o=e[n];break}case mt:{if(o.length>0){let f=G(o);i?i.nodes.push(f):t.push(f)}o="";let a=n,u=0;for(let f=n+1;f<e.length;f++){if(l=e.charCodeAt(f),l===mt){u++;continue}if(l===mr){if(u===0){n=f;break}u--}}o+=e.slice(a,n+1);break}case wr:case hr:{let a=n;for(let u=n+1;u<e.length;u++)if(l=e.charCodeAt(u),l===ut)u+=1;else if(l===s){n=u;break}o+=e.slice(a,n+1);break}case yr:case br:{if(o.length>0){let a=G(o);i?i.nodes.push(a):t.push(a),o=""}i?i.nodes.push(G(e[n])):t.push(G(e[n]));break}case ut:{o+=e[n]+e[n+1],n+=1;break}default:o+=e[n]}}return o.length>0&&t.push(G(o)),t}var xr=/^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i,J=new h(e=>{let t=xr.exec(e);if(!t)return null;let r=t.groups?.value;if(r===void 0)return null;let i=Number(r);if(Number.isNaN(i))return null;let o=t.groups?.unit;return o===void 0?[i,null]:[i,o]});function yt(e,t){let r=!1,i=A(e);return Ce(i,(o,{replaceWith:l})=>{if(o.kind==="word"&&o.value!=="0"){let n=Ar(o.value,t);if(n===null||n===o.value)return;r=!0,l(O(n));return}else if(o.kind==="function"&&(o.value==="calc"||o.value==="")){if(o.nodes.length!==5)return;let n=J.get(o.nodes[0].value),s=o.nodes[2].value,a=J.get(o.nodes[4].value);if(s==="*"&&(n?.[0]===0&&n?.[1]===null||a?.[0]===0&&a?.[1]===null)){r=!0,l(O("0"));return}if(n===null||a===null)return;switch(s){case"*":{(n[1]===a[1]||n[1]===null&&a[1]!==null||n[1]!==null&&a[1]===null)&&(r=!0,l(O(`${n[0]*a[0]}${n[1]??""}`)));break}case"+":{n[1]===a[1]&&(r=!0,l(O(`${n[0]+a[0]}${n[1]??""}`)));break}case"-":{n[1]===a[1]&&(r=!0,l(O(`${n[0]-a[0]}${n[1]??""}`)));break}case"/":{a[0]!==0&&(n[1]===null&&a[1]===null||n[1]!==null&&a[1]===null)&&(r=!0,l(O(`${n[0]/a[0]}${n[1]??""}`)));break}}}}),r?S(i):e}function Ar(e,t=null){let r=J.get(e);if(r===null)return null;let[i,o]=r;if(o===null)return`${i}`;if(i===0&&it(e))return"0";switch(o.toLowerCase()){case"in":return`${i*96}px`;case"cm":return`${i*96/2.54}px`;case"mm":return`${i*96/2.54/10}px`;case"q":return`${i*96/2.54/10/4}px`;case"pc":return`${i*96/6}px`;case"pt":return`${i*96/72}px`;case"rem":return t!==null?`${i*t}px`:null;case"grad":return`${i*.9}deg`;case"rad":return`${i*180/Math.PI}deg`;case"turn":return`${i*360}deg`;case"ms":return`${i/1e3}s`;case"khz":return`${i*1e3}hz`;default:return`${i}${o}`}}var bt=/\d*\.\d+(?:[eE][+-]?\d+)?%/g,H=new h(e=>{let{rem:t,designSystem:r}=e;return new h(i=>{try{i=r.theme.prefix&&!i.startsWith(r.theme.prefix)?`${r.theme.prefix}:${i}`:i;let o=[M(".x",[E("@apply",i)])];return Cr(r,()=>{for(let n of r.parseCandidate(i))r.compileAstNodes(n,1);ue(o,r)}),C(o,(n,{replaceWith:s})=>{n.kind==="declaration"?n.value===void 0||n.property==="--tw-sort"?s([]):n.value.includes("%")&&(bt.lastIndex=0,n.value=n.value.replaceAll(bt,a=>`${Number(a.slice(0,-1))}%`)):n.kind==="context"||n.kind==="at-root"?s(n.nodes):n.kind==="comment"?s([]):n.kind==="at-rule"&&n.name==="@property"&&s([])}),C(o,n=>{if(n.kind==="declaration"&&n.value!==void 0){if(n.value.includes("var(")){let s=!1,a=A(n.value),u=new Set;N(a,(f,{replaceWith:c})=>{if(f.kind!=="function"||f.value!=="var"||f.nodes.length!==1&&f.nodes.length<3)return;let p=f.nodes[0].value;r.theme.prefix&&p.startsWith(`--${r.theme.prefix}-`)&&(p=p.slice(`--${r.theme.prefix}-`.length));let d=r.resolveThemeValue(p);if(!u.has(p)&&(u.add(p),d!==void 0&&(f.nodes.length===1&&(s=!0,f.nodes.push(...A(`,${d}`))),f.nodes.length>=3))){let g=S(f.nodes),m=`${f.nodes[0].value},${d}`;g===m&&(s=!0,c(A(d)))}}),s&&(n.value=S(a))}n.value=yt(n.value,t),n.value=$e(n.value)}}),_(o)}catch{return Symbol()}})}),Re=new h(e=>{let{designSystem:t}=e,r=H.get(e),i=new h(()=>[]);for(let[o,l]of t.getClassList()){let n=r.get(o);if(typeof n=="string"){if(o[0]==="-"&&o.endsWith("-0")){let s=r.get(o.slice(1));if(typeof s=="string"&&n===s)continue}i.get(n).push(o);for(let s of l.modifiers){if(re(s))continue;let a=`${o}/${s}`,u=r.get(a);typeof u=="string"&&i.get(u).push(a)}}}return i}),he=new h(e=>{let{designSystem:t}=e;return new h(r=>{try{r=t.theme.prefix&&!r.startsWith(t.theme.prefix)?`${t.theme.prefix}:${r}`:r;let i=[M(".x",[E("@apply",`${r}:flex`)])];return ue(i,t),C(i,l=>{if(l.kind==="at-rule"&&l.params.includes(" "))l.params=l.params.replaceAll(" ","");else if(l.kind==="rule"){let n=se(l.selector),s=!1;ge(n,(a,{replaceWith:u})=>{a.kind==="separator"&&a.value!==" "?(a.value=a.value.trim(),s=!0):a.kind==="function"&&a.value===":is"?a.nodes.length===1?(s=!0,u(a.nodes)):a.nodes.length===2&&a.nodes[0].kind==="selector"&&a.nodes[0].value==="*"&&a.nodes[1].kind==="selector"&&a.nodes[1].value[0]===":"&&(s=!0,u(a.nodes[1])):a.kind==="function"&&a.value[0]===":"&&a.nodes[0]?.kind==="selector"&&a.nodes[0]?.value[0]===":"&&(s=!0,a.nodes.unshift({kind:"selector",value:"*"}))}),s&&(l.selector=q(n))}}),_(i)}catch{return Symbol()}})}),xt=new h(e=>{let{designSystem:t}=e,r=he.get(e),i=new h(()=>[]);for(let[o,l]of t.variants.entries())if(l.kind==="static"){let n=r.get(o);if(typeof n!="string")continue;i.get(n).push(o)}return i});function Cr(e,t){let r=e.theme.values.get,i=new Set;e.theme.values.get=o=>{let l=r.call(e.theme.values,o);return l===void 0||l.options&1&&(i.add(l),l.options&=-2),l};try{return t()}finally{e.theme.values.get=r;for(let o of i)o.options|=1}}function F(e,t){for(let r in e)delete e[r];return Object.assign(e,t)}function fe(e){let t=[];for(let r of V(e,".")){if(!r.includes("[")){t.push(r);continue}let i=0;for(;;){let o=r.indexOf("[",i),l=r.indexOf("]",o);if(o===-1||l===-1)break;o>i&&t.push(r.slice(i,o)),t.push(r.slice(o+1,l)),i=l+1}i<=r.length-1&&t.push(r.slice(i))}return t}var Hn=new h(e=>new h((t=null)=>({designSystem:e,rem:t})));var Zn=new h(e=>{let t=e.designSystem,r=t.theme.prefix?`${t.theme.prefix}:`:"",i=$r.get(e),o=Tr.get(e);return new h((l,n)=>{for(let s of t.parseCandidate(l)){let a=s.variants.slice().reverse().flatMap(c=>i.get(c)),u=s.important;if(u||a.length>0){let p=n.get(t.printCandidate({...s,variants:[],important:!1}));return t.theme.prefix!==null&&a.length>0&&(p=p.slice(r.length)),a.length>0&&(p=`${a.map(d=>t.printVariant(d)).join(":")}:${p}`),u&&(p+="!"),t.theme.prefix!==null&&a.length>0&&(p=`${r}${p}`),p}let f=o.get(l);if(f!==l)return f}return l})}),Vr=[Or,Br,Gr,Fr],$r=new h(e=>new h(t=>{let r=[t];for(let i of Vr)for(let o of r.splice(0)){let l=i(te(o),e);if(Array.isArray(l)){r.push(...l);continue}else r.push(l)}return r})),Nr=[Pr,Rr,Lr,Kr,Mr,jr,Wr,qr],Tr=new h(e=>{let t=e.designSystem;return new h(r=>{for(let i of t.parseCandidate(r)){let o=rt(i);for(let n of Nr)o=n(o,e);let l=t.printCandidate(o);if(r!==l)return l}return r})}),Er=["t","tr","r","br","b","bl","l","tl"];function Pr(e){if(e.kind==="static"&&e.root.startsWith("bg-gradient-to-")){let t=e.root.slice(15);return Er.includes(t)&&(e.root=`bg-linear-to-${t}`),e}return e}function Rr(e,t){let r=Ct.get(t.designSystem);if(e.kind==="arbitrary"){let[i,o]=r(e.value,e.modifier===null?1:0);i!==e.value&&(e.value=i,o!==null&&(e.modifier=o))}else if(e.kind==="functional"&&e.value?.kind==="arbitrary"){let[i,o]=r(e.value.value,e.modifier===null?1:0);i!==e.value.value&&(e.value.value=i,o!==null&&(e.modifier=o))}return e}function Or(e,t){let r=Ct.get(t.designSystem),i=we(e);for(let[o]of i)if(o.kind==="arbitrary"){let[l]=r(o.selector,2);l!==o.selector&&(o.selector=l)}else if(o.kind==="functional"&&o.value?.kind==="arbitrary"){let[l]=r(o.value.value,2);l!==o.value.value&&(o.value.value=l)}return e}var Ct=new h(e=>{return t(e);function t(r){function i(s,a=0){let u=A(s);if(a&2)return[ve(u,n),null];let f=0,c=0;if(N(u,g=>{g.kind==="function"&&g.value==="theme"&&(f+=1,N(g.nodes,m=>m.kind==="separator"&&m.value.includes(",")?2:m.kind==="word"&&m.value==="/"?(c+=1,2):1))}),f===0)return[s,null];if(c===0)return[ve(u,l),null];if(c>1)return[ve(u,n),null];let p=null;return[ve(u,(g,m)=>{let x=V(g,"/").map($=>$.trim());if(x.length>2)return null;if(u.length===1&&x.length===2&&a&1){let[$,v]=x;if(/^\d+%$/.test(v))p={kind:"named",value:v.slice(0,-1)};else if(/^0?\.\d+$/.test(v)){let y=Number(v)*100;p={kind:Number.isInteger(y)?"named":"arbitrary",value:y.toString()}}else p={kind:"arbitrary",value:v};g=$}return l(g,m)||n(g,m)}),p]}function o(s,a=!0){let u=`--${Ee(fe(s))}`;return r.theme.get([u])?a&&r.theme.prefix?`--${r.theme.prefix}-${u.slice(2)}`:u:null}function l(s,a){let u=o(s);if(u)return a?`var(${u}, ${a})`:`var(${u})`;let f=fe(s);if(f[0]==="spacing"&&r.theme.get(["--spacing"])){let c=f[1];return re(c)?`--spacing(${c})`:null}return null}function n(s,a){let u=V(s,"/").map(p=>p.trim());s=u.shift();let f=o(s,!1);if(!f)return null;let c=u.length>0?`/${u.join("/")}`:"";return a?`--theme(${f}${c}, ${a})`:`--theme(${f}${c})`}return i}});function ve(e,t){return N(e,(r,{parent:i,replaceWith:o})=>{if(r.kind==="function"&&r.value==="theme"){if(r.nodes.length<1)return;r.nodes[0].kind==="separator"&&r.nodes[0].value.trim()===""&&r.nodes.shift();let l=r.nodes[0];if(l.kind!=="word")return;let n=l.value,s=1;for(let f=s;f<r.nodes.length&&!r.nodes[f].value.includes(",");f++)n+=S([r.nodes[f]]),s=f+1;n=_r(n);let a=r.nodes.slice(s+1),u=a.length>0?t(n,S(a)):t(n);if(u===null)return;if(i){let f=i.nodes.indexOf(r)-1;for(;f!==-1;){let c=i.nodes[f];if(c.kind==="separator"&&c.value.trim()===""){f-=1;continue}/^[-+*/]$/.test(c.value.trim())&&(u=`(${u})`);break}}o(A(u))}}),S(e)}function _r(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let i=1;i<e.length-1;i++){let o=e[i],l=e[i+1];o==="\\"&&(l===r||l==="\\")?(t+=l,i++):t+=o}return t}function*we(e){function*t(r,i=null){yield[r,i],r.kind==="compound"&&(yield*t(r.variant,r))}yield*t(e,null)}function j(e,t){return e.parseCandidate(e.theme.prefix&&!t.startsWith(`${e.theme.prefix}:`)?`${e.theme.prefix}:${t}`:t)}function Ur(e,t){let r=e.printCandidate(t);return e.theme.prefix&&r.startsWith(`${e.theme.prefix}:`)?r.slice(e.theme.prefix.length+1):r}var Dr=new h(e=>{let t=e.resolveThemeValue("--spacing");if(t===void 0)return null;let r=J.get(t);if(!r)return null;let[i,o]=r;return new h(l=>{let n=J.get(l);if(!n)return null;let[s,a]=n;return a!==o?null:s/i})});function Lr(e,t){if(e.kind!=="arbitrary"&&!(e.kind==="functional"&&e.value?.kind==="arbitrary"))return e;let r=t.designSystem,i=Re.get(t),o=H.get(t),l=r.printCandidate(e),n=o.get(l);if(typeof n!="string")return e;for(let a of s(n,e)){let u=r.printCandidate(a);if(o.get(u)===n&&Ir(r,e,a))return a}return e;function*s(a,u){let f=i.get(a);if(!(f.length>1)){if(f.length===0&&u.modifier){let c={...u,modifier:null},p=o.get(r.printCandidate(c));if(typeof p=="string")for(let d of s(p,c))yield Object.assign({},d,{modifier:u.modifier})}if(f.length===1)for(let c of j(r,f[0]))yield c;else if(f.length===0){let c=u.kind==="arbitrary"?u.value:u.value?.value??null;if(c===null)return;let p=Dr.get(r)?.get(c)??null,d="";p!==null&&p<0&&(d="-",p=Math.abs(p));for(let g of Array.from(r.utilities.keys("functional")).sort((m,x)=>+(m[0]==="-")-+(x[0]==="-"))){d&&(g=`${d}${g}`);for(let m of j(r,`${g}-${c}`))yield m;if(u.modifier)for(let m of j(r,`${g}-${c}${u.modifier}`))yield m;if(p!==null){for(let m of j(r,`${g}-${p}`))yield m;if(u.modifier)for(let m of j(r,`${g}-${p}${Ve(u.modifier)}`))yield m}for(let m of j(r,`${g}-[${c}]`))yield m;if(u.modifier)for(let m of j(r,`${g}-[${c}]${Ve(u.modifier)}`))yield m}}}}}function Ir(e,t,r){let i=null;if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.value.includes("var(--")?i=t.value.value:t.kind==="arbitrary"&&t.value.includes("var(--")&&(i=t.value),i===null)return!0;let o=e.candidatesToCss([e.printCandidate(r)]).join(`
6
+ `),l=!0;return N(A(i),n=>{if(n.kind==="function"&&n.value==="var"){let s=n.nodes[0].value;if(!new RegExp(`var\\(${s}[,)]\\s*`,"g").test(o)||o.includes(`${s}:`))return l=!1,2}}),l}function Kr(e,t){if(e.kind!=="functional"||e.value?.kind!=="named")return e;let r=t.designSystem,i=Re.get(t),o=H.get(t),l=r.printCandidate(e),n=o.get(l);if(typeof n!="string")return e;for(let a of s(n,e)){let u=r.printCandidate(a);if(o.get(u)===n)return a}return e;function*s(a,u){let f=i.get(a);if(!(f.length>1)){if(f.length===0&&u.modifier){let c={...u,modifier:null},p=o.get(r.printCandidate(c));if(typeof p=="string")for(let d of s(p,c))yield Object.assign({},d,{modifier:u.modifier})}if(f.length===1)for(let c of j(r,f[0]))yield c}}}var zr=new Map([["order-none","order-0"]]);function Mr(e,t){let r=t.designSystem,i=H.get(t),o=Ur(r,e),l=zr.get(o)??null;if(l===null)return e;let n=i.get(o);if(typeof n!="string")return e;let s=i.get(l);if(typeof s!="string"||n!==s)return e;let[a]=j(r,l);return a}function Fr(e,t){let r=t.designSystem,i=he.get(t),o=xt.get(t),l=we(e);for(let[n]of l){if(n.kind==="compound")continue;let s=r.printVariant(n),a=i.get(s);if(typeof a!="string")continue;let u=o.get(a);if(u.length!==1)continue;let f=u[0],c=r.parseVariant(f);c!==null&&F(n,c)}return e}function jr(e,t){let r=t.designSystem,i=H.get(t);if(e.kind==="functional"&&e.value?.kind==="arbitrary"&&e.value.dataType!==null){let o=r.printCandidate({...e,value:{...e.value,dataType:null}});i.get(r.printCandidate(e))===i.get(o)&&(e.value.dataType=null)}return e}function Wr(e,t){if(e.kind!=="functional"||e.value?.kind!=="arbitrary")return e;let r=t.designSystem,i=H.get(t),o=i.get(r.printCandidate(e));if(o===null)return e;for(let l of St(e))if(i.get(r.printCandidate({...e,value:l}))===o)return e.value=l,e;return e}function Br(e){let t=we(e);for(let[r]of t)if(r.kind==="functional"&&r.root==="data"&&r.value?.kind==="arbitrary"&&!r.value.value.includes("="))r.value={kind:"named",value:r.value.value};else if(r.kind==="functional"&&r.root==="aria"&&r.value?.kind==="arbitrary"&&(r.value.value.endsWith("=true")||r.value.value.endsWith('="true"')||r.value.value.endsWith("='true'"))){let[i,o]=V(r.value.value,"=");if(i[i.length-1]==="~"||i[i.length-1]==="|"||i[i.length-1]==="^"||i[i.length-1]==="$"||i[i.length-1]==="*")continue;r.value={kind:"named",value:r.value.value.slice(0,r.value.value.indexOf("="))}}else r.kind==="functional"&&r.root==="supports"&&r.value?.kind==="arbitrary"&&/^[a-z-][a-z0-9-]*$/i.test(r.value.value)&&(r.value={kind:"named",value:r.value.value});return e}function*St(e,t=e.value?.value??"",r=new Set){if(r.has(t))return;if(r.add(t),yield{kind:"named",value:t,fraction:null},t.endsWith("%")&&re(t.slice(0,-1))&&(yield{kind:"named",value:t.slice(0,-1),fraction:null}),t.includes("/")){let[l,n]=t.split("/");T(l)&&T(n)&&(yield{kind:"named",value:l,fraction:`${l}/${n}`})}let i=new Set;for(let l of t.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))i.add(l[0].trim());let o=Array.from(i).sort((l,n)=>l.length-n.length);for(let l of o)yield*St(e,l,r)}function At(e){return!e.some(t=>t.kind==="separator"&&t.value.trim()===",")}function ke(e){let t=e.value.trim();return e.kind==="selector"&&t[0]==="["&&t[t.length-1]==="]"}function Gr(e,t){let r=[e],i=t.designSystem,o=he.get(t),l=we(e);for(let[n,s]of l)if(n.kind==="compound"&&(n.root==="has"||n.root==="not"||n.root==="in")&&n.modifier!==null&&"modifier"in n.variant&&(n.variant.modifier=n.modifier,n.modifier=null),n.kind==="arbitrary"){if(n.relative)continue;let a=se(n.selector.trim());if(!At(a))continue;if(s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===">"&&a[2].kind==="selector"&&a[2].value==="*"){F(n,i.parseVariant("*"));continue}if(s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&a[2].value==="*"){F(n,i.parseVariant("**"));continue}if(s===null&&a.length===3&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&a[2].value==="&"){a.pop(),a.pop(),F(n,i.parseVariant(`in-[${q(a)}]`));continue}if(s===null&&a[0].kind==="selector"&&(a[0].value==="@media"||a[0].value==="@supports")){let p=o.get(i.printVariant(n)),d=A(q(a)),g=!1;if(N(d,(m,{replaceWith:x})=>{m.kind==="word"&&m.value==="not"&&(g=!0,x([]))}),d=A(S(d)),N(d,m=>{m.kind==="separator"&&m.value!==" "&&m.value.trim()===""&&(m.value=" ")}),g){let m=i.parseVariant(`not-[${S(d)}]`);if(m===null)continue;let x=o.get(i.printVariant(m));if(p===x){F(n,m);continue}}}let u=null;s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===">"&&a[2].kind==="selector"&&ke(a[2])&&(a=[a[2]],u=i.parseVariant("*")),s===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&ke(a[2])&&(a=[a[2]],u=i.parseVariant("**"));let f=a.filter(p=>!(p.kind==="selector"&&p.value.trim()==="&"));if(f.length!==1)continue;let c=f[0];if(c.kind==="function"&&c.value===":is"){if(!At(c.nodes)||c.nodes.length!==1||!ke(c.nodes[0]))continue;c=c.nodes[0]}if(c.kind==="function"&&c.value[0]===":"||c.kind==="selector"&&c.value[0]===":"){let p=c,d=!1;if(p.kind==="function"&&p.value===":not"){if(d=!0,p.nodes.length!==1||p.nodes[0].kind!=="selector"&&p.nodes[0].kind!=="function"||p.nodes[0].value[0]!==":")continue;p=p.nodes[0]}let g=(x=>{if(x===":nth-child"&&p.kind==="function"&&p.nodes.length===1&&p.nodes[0].kind==="value"&&p.nodes[0].value==="odd")return d?(d=!1,"even"):"odd";if(x===":nth-child"&&p.kind==="function"&&p.nodes.length===1&&p.nodes[0].kind==="value"&&p.nodes[0].value==="even")return d?(d=!1,"odd"):"even";for(let[$,v]of[[":nth-child","nth"],[":nth-last-child","nth-last"],[":nth-of-type","nth-of-type"],[":nth-last-of-type","nth-of-last-type"]])if(x===$&&p.kind==="function"&&p.nodes.length===1)return p.nodes.length===1&&p.nodes[0].kind==="value"&&T(p.nodes[0].value)?`${v}-${p.nodes[0].value}`:`${v}-[${q(p.nodes)}]`;if(d){let $=o.get(i.printVariant(n)),v=o.get(`not-[${x}]`);if($===v)return`[&${x}]`}return null})(p.value);if(g===null)continue;d&&(g=`not-${g}`);let m=i.parseVariant(g);if(m===null)continue;F(n,m)}else if(ke(c)){let p=at(c.value);if(p===null)continue;if(p.attribute.startsWith("data-")){let d=p.attribute.slice(5);F(n,{kind:"functional",root:"data",modifier:null,value:p.value===null?{kind:"named",value:d}:{kind:"arbitrary",value:`${d}${p.operator}${p.quote??""}${p.value}${p.quote??""}${p.sensitivity?` ${p.sensitivity}`:""}`}})}else if(p.attribute.startsWith("aria-")){let d=p.attribute.slice(5);F(n,{kind:"functional",root:"aria",modifier:null,value:p.value===null?{kind:"arbitrary",value:d}:p.operator==="="&&p.value==="true"&&p.sensitivity===null?{kind:"named",value:d}:{kind:"arbitrary",value:`${p.attribute}${p.operator}${p.quote??""}${p.value}${p.quote??""}${p.sensitivity?` ${p.sensitivity}`:""}`}})}}if(u)return[u,n]}return r}function qr(e,t){if(e.kind!=="functional"&&e.kind!=="arbitrary"||e.modifier===null)return e;let r=t.designSystem,i=H.get(t),o=i.get(r.printCandidate(e)),l=e.modifier;if(o===i.get(r.printCandidate({...e,modifier:null})))return e.modifier=null,e;{let n={kind:"named",value:l.value.endsWith("%")?l.value.includes(".")?`${Number(l.value.slice(0,-1))}`:l.value.slice(0,-1):l.value,fraction:null};if(o===i.get(r.printCandidate({...e,modifier:n})))return e.modifier=n,e}{let n={kind:"named",value:`${parseFloat(l.value)*100}`,fraction:null};if(o===i.get(r.printCandidate({...e,modifier:n})))return e.modifier=n,e}return e}function ce(e,t,{onInvalidCandidate:r,respectImportant:i}={}){let o=new Map,l=[],n=new Map;for(let u of e){if(t.invalidCandidates.has(u)){r?.(u);continue}let f=t.parseCandidate(u);if(f.length===0){r?.(u);continue}n.set(u,f)}let s=0;(i??!0)&&(s|=1);let a=t.getVariantOrder();for(let[u,f]of n){let c=!1;for(let p of f){let d=t.compileAstNodes(p,s);if(d.length!==0){c=!0;for(let{node:g,propertySort:m}of d){let x=0n;for(let $ of p.variants)x|=1n<<BigInt(a.get($));o.set(g,{properties:m,variants:x,candidate:u}),l.push(g)}}}c||r?.(u)}return l.sort((u,f)=>{let c=o.get(u),p=o.get(f);if(c.variants-p.variants!==0n)return Number(c.variants-p.variants);let d=0;for(;d<c.properties.order.length&&d<p.properties.order.length&&c.properties.order[d]===p.properties.order[d];)d+=1;return(c.properties.order[d]??1/0)-(p.properties.order[d]??1/0)||p.properties.count-c.properties.count||Ne(c.candidate,p.candidate)}),{astNodes:l,nodeSorting:o}}function ue(e,t){let r=0,i=L("&",e),o=new Set,l=new h(()=>new Set),n=new h(()=>new Set);C([i],(c,{parent:p,path:d})=>{if(c.kind==="at-rule"){if(c.name==="@keyframes")return C(c.nodes,g=>{if(g.kind==="at-rule"&&g.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),1;if(c.name==="@utility"){let g=c.params.replace(/-\*$/,"");n.get(g).add(c),C(c.nodes,m=>{if(!(m.kind!=="at-rule"||m.name!=="@apply")){o.add(c);for(let x of $t(m,t))l.get(c).add(x)}});return}if(c.name==="@apply"){if(p===null)return;r|=1,o.add(p);for(let g of $t(c,t))for(let m of d)m!==c&&o.has(m)&&l.get(m).add(g)}}});let s=new Set,a=[],u=new Set;function f(c,p=[]){if(!s.has(c)){if(u.has(c)){let d=p[(p.indexOf(c)+1)%p.length];throw c.kind==="at-rule"&&c.name==="@utility"&&d.kind==="at-rule"&&d.name==="@utility"&&C(c.nodes,g=>{if(g.kind!=="at-rule"||g.name!=="@apply")return;let m=g.params.split(/\s+/g);for(let x of m)for(let $ of t.parseCandidate(x))switch($.kind){case"arbitrary":break;case"static":case"functional":if(d.params.replace(/-\*$/,"")===$.root)throw new Error(`You cannot \`@apply\` the \`${x}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
7
+
8
+ ${_([c])}
9
+ Relies on:
10
+
11
+ ${_([d])}`)}u.add(c);for(let d of l.get(c))for(let g of n.get(d))p.push(c),f(g,p),p.pop();s.add(c),u.delete(c),a.push(c)}}for(let c of o)f(c);for(let c of a)"nodes"in c&&C(c.nodes,(p,{replaceWith:d})=>{if(p.kind!=="at-rule"||p.name!=="@apply")return;let g=p.params.split(/(\s+)/g),m={},x=0;for(let[$,v]of g.entries())$%2===0&&(m[v]=x),x+=v.length;{let $=Object.keys(m),v=ce($,t,{respectImportant:!1,onInvalidCandidate:w=>{if(t.theme.prefix&&!w.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${w}\`. Did you mean \`${t.theme.prefix}:${w}\`?`);if(t.invalidCandidates.has(w))throw new Error(`Cannot apply utility class \`${w}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let b=V(w,":");if(b.length>1){let R=b.pop();if(t.candidatesToCss([R])[0]){let Y=t.candidatesToCss(b.map(ee=>`${ee}:[--tw-variant-check:1]`)),B=b.filter((ee,Ae)=>Y[Ae]===null);if(B.length>0){if(B.length===1)throw new Error(`Cannot apply utility class \`${w}\` because the ${B.map(ee=>`\`${ee}\``)} variant does not exist.`);{let ee=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${w}\` because the ${ee.format(B.map(Ae=>`\`${Ae}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${w}\`. Are you using CSS modules or similar and missing \`@reference\`? https://tailwindcss.com/docs/functions-and-directives#reference-directive`):new Error(`Cannot apply unknown utility class \`${w}\``)}}),y=p.src,ne=v.astNodes.map(w=>{let b=v.nodeSorting.get(w)?.candidate,R=b?m[b]:void 0;if(w=K(w),!y||!b||R===void 0)return C([w],B=>{B.src=y}),w;let Y=[y[0],y[1],y[2]];return Y[1]+=7+R,Y[2]=Y[1]+b.length,C([w],B=>{B.src=Y}),w}),W=[];for(let w of ne)if(w.kind==="rule")for(let b of w.nodes)W.push(b);else W.push(w);d(W)}});return r}function*$t(e,t){for(let r of e.params.split(/\s+/g))for(let i of t.parseCandidate(r))switch(i.kind){case"arbitrary":break;case"static":case"functional":yield i.root;break;default:}}var Xr=32;var ei=40;function Nt(e,t=[]){let r=e,i="";for(let o=5;o<e.length;o++){let l=e.charCodeAt(o);if(l===Xr||l===ei){r=e.slice(0,o),i=e.slice(o);break}}return E(r.trim(),i.trim(),t)}var _e={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 0)",100:"oklch(96.7% 0.001 286.375)",200:"oklch(92% 0.004 286.32)",300:"oklch(87.1% 0.006 286.286)",400:"oklch(70.5% 0.015 286.067)",500:"oklch(55.2% 0.016 285.938)",600:"oklch(44.2% 0.017 285.786)",700:"oklch(37% 0.013 285.805)",800:"oklch(27.4% 0.006 286.033)",900:"oklch(21% 0.006 285.885)",950:"oklch(14.1% 0.005 285.823)"},neutral:{50:"oklch(98.5% 0 0)",100:"oklch(97% 0 0)",200:"oklch(92.2% 0 0)",300:"oklch(87% 0 0)",400:"oklch(70.8% 0 0)",500:"oklch(55.6% 0 0)",600:"oklch(43.9% 0 0)",700:"oklch(37.1% 0 0)",800:"oklch(26.9% 0 0)",900:"oklch(20.5% 0 0)",950:"oklch(14.5% 0 0)"},stone:{50:"oklch(98.5% 0.001 106.423)",100:"oklch(97% 0.001 106.424)",200:"oklch(92.3% 0.003 48.717)",300:"oklch(86.9% 0.005 56.366)",400:"oklch(70.9% 0.01 56.259)",500:"oklch(55.3% 0.013 58.071)",600:"oklch(44.4% 0.011 73.639)",700:"oklch(37.4% 0.01 67.558)",800:"oklch(26.8% 0.007 34.298)",900:"oklch(21.6% 0.006 56.043)",950:"oklch(14.7% 0.004 49.25)"},red:{50:"oklch(97.1% 0.013 17.38)",100:"oklch(93.6% 0.032 17.717)",200:"oklch(88.5% 0.062 18.334)",300:"oklch(80.8% 0.114 19.571)",400:"oklch(70.4% 0.191 22.216)",500:"oklch(63.7% 0.237 25.331)",600:"oklch(57.7% 0.245 27.325)",700:"oklch(50.5% 0.213 27.518)",800:"oklch(44.4% 0.177 26.899)",900:"oklch(39.6% 0.141 25.723)",950:"oklch(25.8% 0.092 26.042)"},orange:{50:"oklch(98% 0.016 73.684)",100:"oklch(95.4% 0.038 75.164)",200:"oklch(90.1% 0.076 70.697)",300:"oklch(83.7% 0.128 66.29)",400:"oklch(75% 0.183 55.934)",500:"oklch(70.5% 0.213 47.604)",600:"oklch(64.6% 0.222 41.116)",700:"oklch(55.3% 0.195 38.402)",800:"oklch(47% 0.157 37.304)",900:"oklch(40.8% 0.123 38.172)",950:"oklch(26.6% 0.079 36.259)"},amber:{50:"oklch(98.7% 0.022 95.277)",100:"oklch(96.2% 0.059 95.617)",200:"oklch(92.4% 0.12 95.746)",300:"oklch(87.9% 0.169 91.605)",400:"oklch(82.8% 0.189 84.429)",500:"oklch(76.9% 0.188 70.08)",600:"oklch(66.6% 0.179 58.318)",700:"oklch(55.5% 0.163 48.998)",800:"oklch(47.3% 0.137 46.201)",900:"oklch(41.4% 0.112 45.904)",950:"oklch(27.9% 0.077 45.635)"},yellow:{50:"oklch(98.7% 0.026 102.212)",100:"oklch(97.3% 0.071 103.193)",200:"oklch(94.5% 0.129 101.54)",300:"oklch(90.5% 0.182 98.111)",400:"oklch(85.2% 0.199 91.936)",500:"oklch(79.5% 0.184 86.047)",600:"oklch(68.1% 0.162 75.834)",700:"oklch(55.4% 0.135 66.442)",800:"oklch(47.6% 0.114 61.907)",900:"oklch(42.1% 0.095 57.708)",950:"oklch(28.6% 0.066 53.813)"},lime:{50:"oklch(98.6% 0.031 120.757)",100:"oklch(96.7% 0.067 122.328)",200:"oklch(93.8% 0.127 124.321)",300:"oklch(89.7% 0.196 126.665)",400:"oklch(84.1% 0.238 128.85)",500:"oklch(76.8% 0.233 130.85)",600:"oklch(64.8% 0.2 131.684)",700:"oklch(53.2% 0.157 131.589)",800:"oklch(45.3% 0.124 130.933)",900:"oklch(40.5% 0.101 131.063)",950:"oklch(27.4% 0.072 132.109)"},green:{50:"oklch(98.2% 0.018 155.826)",100:"oklch(96.2% 0.044 156.743)",200:"oklch(92.5% 0.084 155.995)",300:"oklch(87.1% 0.15 154.449)",400:"oklch(79.2% 0.209 151.711)",500:"oklch(72.3% 0.219 149.579)",600:"oklch(62.7% 0.194 149.214)",700:"oklch(52.7% 0.154 150.069)",800:"oklch(44.8% 0.119 151.328)",900:"oklch(39.3% 0.095 152.535)",950:"oklch(26.6% 0.065 152.934)"},emerald:{50:"oklch(97.9% 0.021 166.113)",100:"oklch(95% 0.052 163.051)",200:"oklch(90.5% 0.093 164.15)",300:"oklch(84.5% 0.143 164.978)",400:"oklch(76.5% 0.177 163.223)",500:"oklch(69.6% 0.17 162.48)",600:"oklch(59.6% 0.145 163.225)",700:"oklch(50.8% 0.118 165.612)",800:"oklch(43.2% 0.095 166.913)",900:"oklch(37.8% 0.077 168.94)",950:"oklch(26.2% 0.051 172.552)"},teal:{50:"oklch(98.4% 0.014 180.72)",100:"oklch(95.3% 0.051 180.801)",200:"oklch(91% 0.096 180.426)",300:"oklch(85.5% 0.138 181.071)",400:"oklch(77.7% 0.152 181.912)",500:"oklch(70.4% 0.14 182.503)",600:"oklch(60% 0.118 184.704)",700:"oklch(51.1% 0.096 186.391)",800:"oklch(43.7% 0.078 188.216)",900:"oklch(38.6% 0.063 188.416)",950:"oklch(27.7% 0.046 192.524)"},cyan:{50:"oklch(98.4% 0.019 200.873)",100:"oklch(95.6% 0.045 203.388)",200:"oklch(91.7% 0.08 205.041)",300:"oklch(86.5% 0.127 207.078)",400:"oklch(78.9% 0.154 211.53)",500:"oklch(71.5% 0.143 215.221)",600:"oklch(60.9% 0.126 221.723)",700:"oklch(52% 0.105 223.128)",800:"oklch(45% 0.085 224.283)",900:"oklch(39.8% 0.07 227.392)",950:"oklch(30.2% 0.056 229.695)"},sky:{50:"oklch(97.7% 0.013 236.62)",100:"oklch(95.1% 0.026 236.824)",200:"oklch(90.1% 0.058 230.902)",300:"oklch(82.8% 0.111 230.318)",400:"oklch(74.6% 0.16 232.661)",500:"oklch(68.5% 0.169 237.323)",600:"oklch(58.8% 0.158 241.966)",700:"oklch(50% 0.134 242.749)",800:"oklch(44.3% 0.11 240.79)",900:"oklch(39.1% 0.09 240.876)",950:"oklch(29.3% 0.066 243.157)"},blue:{50:"oklch(97% 0.014 254.604)",100:"oklch(93.2% 0.032 255.585)",200:"oklch(88.2% 0.059 254.128)",300:"oklch(80.9% 0.105 251.813)",400:"oklch(70.7% 0.165 254.624)",500:"oklch(62.3% 0.214 259.815)",600:"oklch(54.6% 0.245 262.881)",700:"oklch(48.8% 0.243 264.376)",800:"oklch(42.4% 0.199 265.638)",900:"oklch(37.9% 0.146 265.522)",950:"oklch(28.2% 0.091 267.935)"},indigo:{50:"oklch(96.2% 0.018 272.314)",100:"oklch(93% 0.034 272.788)",200:"oklch(87% 0.065 274.039)",300:"oklch(78.5% 0.115 274.713)",400:"oklch(67.3% 0.182 276.935)",500:"oklch(58.5% 0.233 277.117)",600:"oklch(51.1% 0.262 276.966)",700:"oklch(45.7% 0.24 277.023)",800:"oklch(39.8% 0.195 277.366)",900:"oklch(35.9% 0.144 278.697)",950:"oklch(25.7% 0.09 281.288)"},violet:{50:"oklch(96.9% 0.016 293.756)",100:"oklch(94.3% 0.029 294.588)",200:"oklch(89.4% 0.057 293.283)",300:"oklch(81.1% 0.111 293.571)",400:"oklch(70.2% 0.183 293.541)",500:"oklch(60.6% 0.25 292.717)",600:"oklch(54.1% 0.281 293.009)",700:"oklch(49.1% 0.27 292.581)",800:"oklch(43.2% 0.232 292.759)",900:"oklch(38% 0.189 293.745)",950:"oklch(28.3% 0.141 291.089)"},purple:{50:"oklch(97.7% 0.014 308.299)",100:"oklch(94.6% 0.033 307.174)",200:"oklch(90.2% 0.063 306.703)",300:"oklch(82.7% 0.119 306.383)",400:"oklch(71.4% 0.203 305.504)",500:"oklch(62.7% 0.265 303.9)",600:"oklch(55.8% 0.288 302.321)",700:"oklch(49.6% 0.265 301.924)",800:"oklch(43.8% 0.218 303.724)",900:"oklch(38.1% 0.176 304.987)",950:"oklch(29.1% 0.149 302.717)"},fuchsia:{50:"oklch(97.7% 0.017 320.058)",100:"oklch(95.2% 0.037 318.852)",200:"oklch(90.3% 0.076 319.62)",300:"oklch(83.3% 0.145 321.434)",400:"oklch(74% 0.238 322.16)",500:"oklch(66.7% 0.295 322.15)",600:"oklch(59.1% 0.293 322.896)",700:"oklch(51.8% 0.253 323.949)",800:"oklch(45.2% 0.211 324.591)",900:"oklch(40.1% 0.17 325.612)",950:"oklch(29.3% 0.136 325.661)"},pink:{50:"oklch(97.1% 0.014 343.198)",100:"oklch(94.8% 0.028 342.258)",200:"oklch(89.9% 0.061 343.231)",300:"oklch(82.3% 0.12 346.018)",400:"oklch(71.8% 0.202 349.761)",500:"oklch(65.6% 0.241 354.308)",600:"oklch(59.2% 0.249 0.584)",700:"oklch(52.5% 0.223 3.958)",800:"oklch(45.9% 0.187 3.815)",900:"oklch(40.8% 0.153 2.432)",950:"oklch(28.4% 0.109 3.907)"},rose:{50:"oklch(96.9% 0.015 12.422)",100:"oklch(94.1% 0.03 12.58)",200:"oklch(89.2% 0.058 10.001)",300:"oklch(81% 0.117 11.638)",400:"oklch(71.2% 0.194 13.428)",500:"oklch(64.5% 0.246 16.439)",600:"oklch(58.6% 0.253 17.585)",700:"oklch(51.4% 0.222 16.935)",800:"oklch(45.5% 0.188 13.697)",900:"oklch(41% 0.159 10.272)",950:"oklch(27.1% 0.105 12.094)"}};function X(e){return{__BARE_VALUE__:e}}var U=X(e=>{if(T(e.value))return e.value}),P=X(e=>{if(T(e.value))return`${e.value}%`}),Z=X(e=>{if(T(e.value))return`${e.value}px`}),Pt=X(e=>{if(T(e.value))return`${e.value}ms`}),be=X(e=>{if(T(e.value))return`${e.value}deg`}),oi=X(e=>{if(e.fraction===null)return;let[t,r]=V(e.fraction,"/");if(!(!T(t)||!T(r)))return e.fraction}),Rt=X(e=>{if(T(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),li={accentColor:({theme:e})=>e("colors"),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"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9",...oi},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...P}),backdropContrast:({theme:e})=>({...e("contrast"),...P}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...P}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...be}),backdropInvert:({theme:e})=>({...e("invert"),...P}),backdropOpacity:({theme:e})=>({...e("opacity"),...P}),backdropSaturate:({theme:e})=>({...e("saturate"),...P}),backdropSepia:({theme:e})=>({...e("sepia"),...P}),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),borderOpacity:({theme:e})=>e("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"},borderSpacing:({theme:e})=>e("spacing"),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px",...Z},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2",...P},caretColor:({theme:e})=>e("colors"),colors:()=>({..._e}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",...U},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...P},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>({...e("borderWidth"),...Z}),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>e("colors"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",...e("spacing")}),flexGrow:{0:"0",DEFAULT:"1",...U},flexShrink:{0:"0",DEFAULT:"1",...U},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%",...P},grayscale:{0:"0",DEFAULT:"100%",...P},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...U},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...U},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...U},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13",...U},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...Rt},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))",...Rt},height:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg",...be},inset:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),invert:{0:"0",DEFAULT:"100%",...P},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"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",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",...U},maxHeight:({theme:e})=>({none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),maxWidth:({theme:e})=>({none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...e("spacing")}),minHeight:({theme:e})=>({full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),minWidth:({theme:e})=>({full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1",...P},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",...U},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Z},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Z},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:"currentcolor",...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Z},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Z},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...be},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...P},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",...P},screens:{sm:"40rem",md:"48rem",lg:"64rem",xl:"80rem","2xl":"96rem"},scrollMargin:({theme:e})=>e("spacing"),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%",...P},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...be},space:({theme:e})=>e("spacing"),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2",...U},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Z},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...Z},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Pt},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Pt},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),width:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50",...U}};function Ue(e){let t=[0];for(let o=0;o<e.length;o++)e.charCodeAt(o)===10&&t.push(o+1);function r(o){let l=0,n=t.length;for(;n>0;){let a=(n|0)>>1,u=l+a;t[u]<=o?(l=u+1,n=n-a-1):n=a}l-=1;let s=o-t[l];return{line:l+1,column:s}}function i({line:o,column:l}){o-=1,o=Math.min(Math.max(o,0),t.length-1);let n=t[o],s=t[o+1]??n;return Math.min(Math.max(n+l,0),s)}return{find:r,findOffset:i}}var ai=64;function M(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function E(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function L(e,t=[]){return e.charCodeAt(0)===ai?Nt(e,t):M(e,t)}function I(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function ye(e){return{kind:"comment",value:e}}function K(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(K),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(K),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(K),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(K),src:e.src,dst:e.dst};case"declaration":return{kind:e.kind,property:e.property,value:e.value,important:e.important,src:e.src,dst:e.dst};case"comment":return{kind:e.kind,value:e.value,src:e.src,dst:e.dst};default:throw new Error(`Unknown node kind: ${e.kind}`)}}function C(e,t,r=[],i={}){for(let o=0;o<e.length;o++){let l=e[o],n=r[r.length-1]??null;if(l.kind==="context"){if(C(l.nodes,t,r,{...i,...l.context})===2)return 2;continue}r.push(l);let s=!1,a=0,u=t(l,{parent:n,context:i,path:r,replaceWith(f){s||(s=!0,Array.isArray(f)?f.length===0?(e.splice(o,1),a=0):f.length===1?(e[o]=f[0],a=1):(e.splice(o,1,...f),a=f.length):(e[o]=f,a=1))}})??0;if(r.pop(),s){u===0?o--:o+=a-1;continue}if(u===2)return 2;if(u!==1&&"nodes"in l){r.push(l);let f=C(l.nodes,t,r,i);if(r.pop(),f===2)return 2}}}function _(e,t){let r=0,i={file:null,code:""};function o(n,s=0){let a="",u=" ".repeat(s);if(n.kind==="declaration"){if(a+=`${u}${n.property}: ${n.value}${n.important?" !important":""};
12
+ `,t){r+=u.length;let f=r;r+=n.property.length,r+=2,r+=n.value?.length??0,n.important&&(r+=11);let c=r;r+=2,n.dst=[i,f,c]}}else if(n.kind==="rule"){if(a+=`${u}${n.selector} {
13
+ `,t){r+=u.length;let f=r;r+=n.selector.length,r+=1;let c=r;n.dst=[i,f,c],r+=2}for(let f of n.nodes)a+=o(f,s+1);a+=`${u}}
14
+ `,t&&(r+=u.length,r+=2)}else if(n.kind==="at-rule"){if(n.nodes.length===0){let f=`${u}${n.name} ${n.params};
15
+ `;if(t){r+=u.length;let c=r;r+=n.name.length,r+=1,r+=n.params.length;let p=r;r+=2,n.dst=[i,c,p]}return f}if(a+=`${u}${n.name}${n.params?` ${n.params} `:" "}{
16
+ `,t){r+=u.length;let f=r;r+=n.name.length,n.params&&(r+=1,r+=n.params.length),r+=1;let c=r;n.dst=[i,f,c],r+=2}for(let f of n.nodes)a+=o(f,s+1);a+=`${u}}
17
+ `,t&&(r+=u.length,r+=2)}else if(n.kind==="comment"){if(a+=`${u}/*${n.value}*/
18
+ `,t){r+=u.length;let f=r;r+=2+n.value.length+2;let c=r;n.dst=[i,f,c],r+=1}}else if(n.kind==="context"||n.kind==="at-root")return"";return a}let l="";for(let n of e)l+=o(n,0);return i.code=l,l}var si=33;function Ot(e,t,r){let i=new h(u=>new e.Input(u.code,{map:r?.input.map,from:u.file??void 0})),o=new h(u=>Ue(u.code)),l=e.root();l.source=r;function n(u){if(!u||!u[0])return;let f=o.get(u[0]),c=f.find(u[1]),p=f.find(u[2]);return{input:i.get(u[0]),start:{line:c.line,column:c.column+1,offset:u[1]},end:{line:p.line,column:p.column+1,offset:u[2]}}}function s(u,f){let c=n(f);c?u.source=c:delete u.source}function a(u,f){if(u.kind==="declaration"){let c=e.decl({prop:u.property,value:u.value??"",important:u.important});s(c,u.src),f.append(c)}else if(u.kind==="rule"){let c=e.rule({selector:u.selector});s(c,u.src),c.raws.semicolon=!0,f.append(c);for(let p of u.nodes)a(p,c)}else if(u.kind==="at-rule"){let c=e.atRule({name:u.name.slice(1),params:u.params});s(c,u.src),c.raws.semicolon=!0,f.append(c);for(let p of u.nodes)a(p,c)}else if(u.kind==="comment"){let c=e.comment({text:u.value});c.raws.left="",c.raws.right="",s(c,u.src),f.append(c)}else u.kind==="at-root"||u.kind}for(let u of t)a(u,l);return l}function _t(e){let t=new h(l=>({file:l.file??l.id??null,code:l.css}));function r(l){let n=l.source;if(!n)return;let s=n.input;if(s&&n.start!==void 0&&n.end!==void 0)return[t.get(s),n.start.offset,n.end.offset]}function i(l,n){if(l.type==="decl"){let s=I(l.prop,l.value,l.important);s.src=r(l),n.push(s)}else if(l.type==="rule"){let s=L(l.selector);s.src=r(l),l.each(a=>i(a,s.nodes)),n.push(s)}else if(l.type==="atrule"){let s=E(`@${l.name}`,l.params);s.src=r(l),l.each(a=>i(a,s.nodes)),n.push(s)}else if(l.type==="comment"){if(l.text.charCodeAt(0)!==si)return;let s=ye(l.text);s.src=r(l),n.push(s)}}let o=[];return e.each(l=>i(l,o)),o}import{normalizePath as Ut}from"@tailwindcss/node";import xe from"path";var De="'",Le='"';function Ie(){let e=new WeakSet;function t(r){let i=r.root().source?.input.file;if(!i)return;let o=r.source?.input.file;if(!o||e.has(r))return;let l=r.params[0],n=l[0]===Le&&l[l.length-1]===Le?Le:l[0]===De&&l[l.length-1]===De?De:null;if(!n)return;let s=r.params.slice(1,-1),a="";if(s.startsWith("!")&&(s=s.slice(1),a="!"),!s.startsWith("./")&&!s.startsWith("../"))return;let u=xe.posix.join(Ut(xe.dirname(o)),s),f=xe.posix.dirname(Ut(i)),c=xe.posix.relative(f,u);c.startsWith(".")||(c="./"+c),r.params=n+a+c+n,e.add(r)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(r){r.walkAtRules(/source|plugin|config/,t)}}}var k=ci.DEBUG,Me=new ui({maxSize:50});function vi(e,t,r){let i=`${t}:${r.base??""}:${JSON.stringify(r.optimize)}`;if(Me.has(i))return Me.get(i);let o={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:e.root(),optimizedPostCssAst:e.root(),fullRebuildPaths:[]};return Me.set(i,o),o}function ki(e={}){let t=e.base??process.cwd(),r=e.optimize??process.env.NODE_ENV==="production",i=e.transformAssetUrls??!0;return{postcssPlugin:"@tailwindcss/postcss",plugins:[Ie(),{postcssPlugin:"tailwindcss",async Once(o,{result:l,postcss:n}){var g=[];try{let s=We(g,new pi);let a=l.opts.from??"";let u=a.endsWith(".module.css");k&&s.start(`[@tailwindcss/postcss] ${Dt(t,a)}`);{k&&s.start("Quick bail check");let v=!0;if(o.walkAtRules(y=>{if(y.name==="import"||y.name==="reference"||y.name==="theme"||y.name==="variant"||y.name==="config"||y.name==="plugin"||y.name==="apply"||y.name==="tailwind")return v=!1,!1}),v)return;k&&s.end("Quick bail check")}let f=vi(n,a,e);let c=Q.dirname(Q.resolve(a));let p=f.compiler===null;async function d(){k&&s.start("Setup compiler"),f.fullRebuildPaths.length>0&&!p&&mi(f.fullRebuildPaths),f.fullRebuildPaths=[],k&&s.start("PostCSS AST -> Tailwind CSS AST");let v=_t(o);k&&s.end("PostCSS AST -> Tailwind CSS AST"),k&&s.start("Create compiler");let y=await fi(v,{from:l.opts.from,base:c,shouldRewriteUrls:i,onDependency:ne=>f.fullRebuildPaths.push(ne),polyfills:u?ze.All^ze.AtProperty:ze.All});return k&&s.end("Create compiler"),k&&s.end("Setup compiler"),y}try{if(f.compiler??=d(),(await f.compiler).features===Ke.None)return;let v="incremental";k&&s.start("Register full rebuild paths");{for(let b of f.fullRebuildPaths)l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Q.resolve(b),parent:l.opts.from});let w=l.messages.flatMap(b=>b.type!=="dependency"?[]:b.file);w.push(a);for(let b of w){let R=hi.statSync(b,{throwIfNoEntry:!1})?.mtimeMs??null;if(R===null){b===a&&(v="full");continue}f.mtimes.get(b)!==R&&(v="full",f.mtimes.set(b,R))}}k&&s.end("Register full rebuild paths"),v==="full"&&!p&&(f.compiler=d());let y=await f.compiler;if(f.scanner===null||v==="full"){k&&s.start("Setup scanner");let w=(y.root==="none"?[]:y.root===null?[{base:t,pattern:"**/*",negated:!1}]:[{...y.root,negated:!1}]).concat(y.sources);f.scanner=new gi({sources:w}),k&&s.end("Setup scanner")}k&&s.start("Scan for candidates");let ne=y.features&Ke.Utilities?f.scanner.scan():[];if(k&&s.end("Scan for candidates"),y.features&Ke.Utilities){k&&s.start("Register dependency messages");let w=Q.resolve(t,a);for(let b of f.scanner.files){let R=Q.resolve(b);R!==w&&l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:R,parent:l.opts.from})}for(let{base:b,pattern:R}of f.scanner.globs)R==="*"&&t===b||(R===""?l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Q.resolve(b),parent:l.opts.from}):l.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:Q.resolve(b),glob:R,parent:l.opts.from}));k&&s.end("Register dependency messages")}k&&s.start("Build utilities");let W=y.build(ne);if(k&&s.end("Build utilities"),f.tailwindCssAst!==W)if(r){k&&s.start("Optimization"),k&&s.start("AST -> CSS");let w=_(W);k&&s.end("AST -> CSS"),k&&s.start("Lightning CSS");let b=di(w,{minify:typeof r=="object"?r.minify:!0});k&&s.end("Lightning CSS"),k&&s.start("CSS -> PostCSS AST"),f.optimizedPostCssAst=n.parse(b.code,l.opts),k&&s.end("CSS -> PostCSS AST"),k&&s.end("Optimization")}else k&&s.start("Transform Tailwind CSS AST into PostCSS AST"),f.cachedPostCssAst=Ot(n,W,o.source),k&&s.end("Transform Tailwind CSS AST into PostCSS AST");f.tailwindCssAst=W,k&&s.start("Update PostCSS AST"),o.removeAll(),o.append(r?f.optimizedPostCssAst.clone().nodes:f.cachedPostCssAst.clone().nodes),o.raws.indent=" ",k&&s.end("Update PostCSS AST"),k&&s.end(`[@tailwindcss/postcss] ${Dt(t,a)}`)}catch(v){f.compiler=null;for(let y of f.fullRebuildPaths)l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Q.resolve(y),parent:l.opts.from});throw console.error(v),v&&typeof v=="object"&&"message"in v?o.error(`${v.message}`):o.error(`${v}`)}}catch(m){var x=m,$=!0}finally{Be(g,x,$)}}}]}}var Rs=Object.assign(ki,{postcss:!0});export{Rs as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailwindcss/postcss",
3
- "version": "0.0.0-insiders.f8b9aa9",
3
+ "version": "0.0.0-insiders.f945c3d",
4
4
  "description": "PostCSS plugin for Tailwind CSS, a utility-first CSS framework for rapidly building custom user interfaces",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -27,15 +27,15 @@
27
27
  "dependencies": {
28
28
  "@alloc/quick-lru": "^5.2.0",
29
29
  "postcss": "^8.4.41",
30
- "@tailwindcss/node": "0.0.0-insiders.f8b9aa9",
31
- "@tailwindcss/oxide": "0.0.0-insiders.f8b9aa9",
32
- "tailwindcss": "0.0.0-insiders.f8b9aa9"
30
+ "@tailwindcss/node": "0.0.0-insiders.f945c3d",
31
+ "tailwindcss": "0.0.0-insiders.f945c3d",
32
+ "@tailwindcss/oxide": "0.0.0-insiders.f945c3d"
33
33
  },
34
34
  "devDependencies": {
35
- "@types/node": "^20.14.8",
35
+ "@types/node": "^20.19.0",
36
36
  "@types/postcss-import": "14.0.3",
37
- "dedent": "1.5.3",
38
- "postcss-import": "^16.1.0",
37
+ "dedent": "1.7.0",
38
+ "postcss-import": "^16.1.1",
39
39
  "internal-example-plugin": "0.0.0"
40
40
  },
41
41
  "scripts": {