@tailwindcss/postcss 0.0.0-insiders.74e084a → 0.0.0-insiders.7537e34

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 Be=Object.create;var de=Object.defineProperty;var He=Object.getOwnPropertyDescriptor;var qe=Object.getOwnPropertyNames;var Ge=Object.getPrototypeOf,Ye=Object.prototype.hasOwnProperty;var fe=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),pe=e=>{throw TypeError(e)};var Je=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let l of qe(r))!Ye.call(e,l)&&l!==t&&de(e,l,{get:()=>r[l],enumerable:!(n=He(r,l))||n.enumerable});return e};var U=(e,r,t)=>(t=e!=null?Be(Ge(e)):{},Je(r||!e||!e.__esModule?de(t,"default",{value:e,enumerable:!0}):t,e));var me=(e,r,t)=>{if(r!=null){typeof r!="object"&&typeof r!="function"&&pe("Object expected");var n,l;t&&(n=r[fe("asyncDispose")]),n===void 0&&(n=r[fe("dispose")],t&&(l=n)),typeof n!="function"&&pe("Object not disposable"),l&&(n=function(){try{l.call(this)}catch(i){return Promise.reject(i)}}),e.push([t,n,r])}else t&&e.push([t]);return r},ge=(e,r,t)=>{var n=typeof SuppressedError=="function"?SuppressedError:function(o,a,s,u){return u=Error(s),u.name="SuppressedError",u.error=o,u.suppressed=a,u},l=o=>r=t?new n(o,r,"An error was suppressed during disposal"):(t=!0,o),i=o=>{for(;o=e.pop();)try{var a=o[1]&&o[1].call(o[2]);if(o[0])return Promise.resolve(a).then(i,s=>(l(s),i()))}catch(s){l(s)}if(t)throw r};return i()};var Ue=U(require("@alloc/quick-lru")),v=require("@tailwindcss/node"),ze=require("@tailwindcss/node/require-cache"),Le=require("@tailwindcss/oxide"),Ie=U(require("fs")),b=U(require("path")),J=U(require("postcss"));function Z(e){return{kind:"word",value:e}}function Qe(e,r){return{kind:"function",value:e,nodes:r}}function Ze(e){return{kind:"separator",value:e}}function T(e,r,t=null){for(let n=0;n<e.length;n++){let l=e[n],i=!1,o=0,a=r(l,{parent:t,replaceWith(s){i||(i=!0,Array.isArray(s)?s.length===0?(e.splice(n,1),o=0):s.length===1?(e[n]=s[0],o=1):(e.splice(n,1,...s),o=s.length):e[n]=s)}})??0;if(i){a===0?n--:n+=o-1;continue}if(a===2)return 2;if(a!==1&&l.kind==="function"&&T(l.nodes,r,l)===2)return 2}}function N(e){let r="";for(let t of e)switch(t.kind){case"word":case"separator":{r+=t.value;break}case"function":r+=t.value+"("+N(t.nodes)+")"}return r}var he=92,Xe=41,ve=58,we=44,et=34,ke=61,ye=62,be=60,xe=10,tt=40,rt=39,Ae=47,Ce=32,Se=9;function A(e){e=e.replaceAll(`\r
1
+ "use strict";var Ht=Object.create;var We=Object.defineProperty;var Zt=Object.getOwnPropertyDescriptor;var Qt=Object.getOwnPropertyNames;var Yt=Object.getPrototypeOf,Jt=Object.prototype.hasOwnProperty;var Fe=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),je=e=>{throw TypeError(e)};var Xt=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of Qt(t))!Jt.call(e,o)&&o!==r&&We(e,o,{get:()=>t[o],enumerable:!(i=Zt(t,o))||i.enumerable});return e};var me=(e,t,r)=>(r=e!=null?Ht(Yt(e)):{},Xt(t||!e||!e.__esModule?We(r,"default",{value:e,enumerable:!0}):r,e));var Be=(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(n){return Promise.reject(n)}}),e.push([r,i,t])}else r&&e.push([r]);return t},Ge=(e,t,r)=>{var i=typeof SuppressedError=="function"?SuppressedError:function(l,s,a,u){return u=Error(a),u.name="SuppressedError",u.error=l,u.suppressed=s,u},o=l=>t=r?new i(l,t,"An error was suppressed during disposal"):(r=!0,l),n=l=>{for(;l=e.pop();)try{var s=l[1]&&l[1].call(l[2]);if(l[0])return Promise.resolve(s).then(n,a=>(o(a),n()))}catch(a){o(a)}if(r)throw t};return n()};var jt=me(require("@alloc/quick-lru")),U=require("@tailwindcss/node"),Wt=require("@tailwindcss/node/require-cache"),Bt=require("@tailwindcss/oxide"),Gt=me(require("fs")),L=me(require("path"));function D(e){return{kind:"word",value:e}}function er(e,t){return{kind:"function",value:e,nodes:t}}function tr(e){return{kind:"separator",value:e}}function T(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+T(r.nodes)+")"}return t}var qe=92,rr=41,He=58,Ze=44,ir=34,Qe=61,Ye=62,Je=60,Xe=10,nr=40,or=39,lr=47,et=32,tt=9;function S(e){e=e.replaceAll(`\r
2
2
  `,`
3
- `);let r=[],t=[],n=null,l="",i;for(let o=0;o<e.length;o++){let a=e.charCodeAt(o);switch(a){case he:{l+=e[o]+e[o+1],o++;break}case ve:case we:case ke:case ye:case be:case xe:case Ae:case Ce:case Se:{if(l.length>0){let p=Z(l);n?n.nodes.push(p):r.push(p),l=""}let s=o,u=o+1;for(;u<e.length&&(i=e.charCodeAt(u),!(i!==ve&&i!==we&&i!==ke&&i!==ye&&i!==be&&i!==xe&&i!==Ae&&i!==Ce&&i!==Se));u++);o=u-1;let f=Ze(e.slice(s,u));n?n.nodes.push(f):r.push(f);break}case rt:case et:{let s=o;for(let u=o+1;u<e.length;u++)if(i=e.charCodeAt(u),i===he)u+=1;else if(i===a){o=u;break}l+=e.slice(s,o+1);break}case tt:{let s=Qe(l,[]);l="",n?n.nodes.push(s):r.push(s),t.push(s),n=s;break}case Xe:{let s=t.pop();if(l.length>0){let u=Z(l);s.nodes.push(u),l=""}t.length>0?n=t[t.length-1]:n=null;break}default:l+=String.fromCharCode(a)}}return l.length>0&&r.push(Z(l)),r}var it=["anchor-size"],zt=new RegExp(`(${it.join("|")})\\(`,"g");var m=class extends Map{constructor(t){super();this.factory=t}get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t,this),this.set(t,n)),n}};var Wt=new Uint8Array(256);var H=new Uint8Array(256);function w(e,r){let t=0,n=[],l=0,i=e.length,o=r.charCodeAt(0);for(let a=0;a<i;a++){let s=e.charCodeAt(a);if(t===0&&s===o){n.push(e.slice(l,a)),l=a+1;continue}switch(s){case 92:a+=1;break;case 39:case 34:for(;++a<i;){let u=e.charCodeAt(a);if(u===92){a+=1;continue}if(u===s)break}break;case 40:H[t]=41,t++;break;case 91:H[t]=93,t++;break;case 123:H[t]=125,t++;break;case 93:case 125:case 41:t>0&&s===H[t-1]&&t--;break}}return n.push(e.slice(l)),n}var Xt=new m(e=>{let r=A(e),t=new Set;return T(r,(n,{parent:l})=>{let i=l===null?r:l.nodes??[];if(n.kind==="word"&&(n.value==="+"||n.value==="-"||n.value==="*"||n.value==="/")){let o=i.indexOf(n)??-1;if(o===-1)return;let a=i[o-1];if(a?.kind!=="separator"||a.value!==" ")return;let s=i[o+1];if(s?.kind!=="separator"||s.value!==" ")return;t.add(a),t.add(s)}else n.kind==="separator"&&n.value.trim()==="/"?n.value="/":n.kind==="separator"&&n.value.length>0&&n.value.trim()===""?(i[0]===n||i[i.length-1]===n)&&t.add(n):n.kind==="separator"&&n.value.trim()===","&&(n.value=",")}),t.size>0&&T(r,(n,{replaceWith:l})=>{t.has(n)&&(t.delete(n),l([]))}),X(r),N(r)});var er=new m(e=>{let r=A(e);return r.length===3&&r[0].kind==="word"&&r[0].value==="&"&&r[1].kind==="separator"&&r[1].value===":"&&r[2].kind==="function"&&r[2].value==="is"?N(r[2].nodes):e});function X(e){for(let r of e)switch(r.kind){case"function":{if(r.value==="url"||r.value.endsWith("_url")){r.value=I(r.value);break}if(r.value==="var"||r.value.endsWith("_var")||r.value==="theme"||r.value.endsWith("_theme")){r.value=I(r.value);for(let t=0;t<r.nodes.length;t++)X([r.nodes[t]]);break}r.value=I(r.value),X(r.nodes);break}case"separator":r.value=I(r.value);break;case"word":{(r.value[0]!=="-"||r.value[1]!=="-")&&(r.value=I(r.value));break}default:nt(r)}}var tr=new m(e=>{let r=A(e);return r.length===1&&r[0].kind==="function"&&r[0].value==="var"});function nt(e){throw new Error(`Unexpected value: ${e}`)}function I(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var V=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,cr=new RegExp(`^${V.source}$`);var fr=new RegExp(`^${V.source}%$`);var pr=new RegExp(`^${V.source}s*/s*${V.source}$`);var ot=["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"],dr=new RegExp(`^${V.source}(${ot.join("|")})$`);var lt=["deg","rad","grad","turn"],mr=new RegExp(`^${V.source}(${lt.join("|")})$`);var gr=new RegExp(`^${V.source} +${V.source} +${V.source}$`);function y(e){let r=Number(e);return Number.isInteger(r)&&r>=0&&String(r)===String(e)}function F(e,r){if(r===null)return e;let t=Number(r);return Number.isNaN(t)||(r=`${t*100}%`),r==="100%"?e:`color-mix(in oklab, ${e} ${r}, transparent)`}var ut={"--alpha":ct,"--spacing":ft,"--theme":pt,theme:dt};function ct(e,r,t,...n){let[l,i]=w(t,"/").map(o=>o.trim());if(!l||!i)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${l||"var(--my-color)"} / ${i||"50%"})\``);if(n.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${l||"var(--my-color)"} / ${i||"50%"})\``);return F(l,i)}function ft(e,r,t,...n){if(!t)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(n.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${n.length+1}.`);let l=e.theme.resolve(null,["--spacing"]);if(!l)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${l} * ${t})`}function pt(e,r,t,...n){if(!t.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let l=!1;t.endsWith(" inline")&&(l=!0,t=t.slice(0,-7)),r.kind==="at-rule"&&(l=!0);let i=e.resolveThemeValue(t,l);if(!i){if(n.length>0)return n.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${t})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(n.length===0)return i;let o=n.join(", ");if(o==="initial")return i;if(i==="initial")return o;if(i.startsWith("var(")||i.startsWith("theme(")||i.startsWith("--theme(")){let a=A(i);return gt(a,o),N(a)}return i}function dt(e,r,t,...n){t=mt(t);let l=e.resolveThemeValue(t);if(!l&&n.length>0)return n.join(", ");if(!l)throw new Error(`Could not resolve value for theme function: \`theme(${t})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return l}var _r=new RegExp(Object.keys(ut).map(e=>`${e}\\(`).join("|"));function mt(e){if(e[0]!=="'"&&e[0]!=='"')return e;let r="",t=e[0];for(let n=1;n<e.length-1;n++){let l=e[n],i=e[n+1];l==="\\"&&(i===t||i==="\\")?(r+=i,n++):r+=l}return r}function gt(e,r){T(e,t=>{if(t.kind==="function"&&!(t.value!=="var"&&t.value!=="theme"&&t.value!=="--theme"))if(t.nodes.length===1)t.nodes.push({kind:"word",value:`, ${r}`});else{let n=t.nodes[t.nodes.length-1];n.kind==="word"&&n.value==="initial"&&(n.value=r)}})}var bt=32;var xt=40;function Ee(e,r=[]){let t=e,n="";for(let l=5;l<e.length;l++){let i=e.charCodeAt(l);if(i===bt||i===xt){t=e.slice(0,l),n=e.slice(l);break}}return k(t.trim(),n.trim(),r)}var ne={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 D(e){return{__BARE_VALUE__:e}}var C=D(e=>{if(y(e.value))return e.value}),h=D(e=>{if(y(e.value))return`${e.value}%`}),O=D(e=>{if(y(e.value))return`${e.value}px`}),Oe=D(e=>{if(y(e.value))return`${e.value}ms`}),Y=D(e=>{if(y(e.value))return`${e.value}deg`}),Et=D(e=>{if(e.fraction===null)return;let[r,t]=w(e.fraction,"/");if(!(!y(r)||!y(t)))return e.fraction}),_e=D(e=>{if(y(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),Pt={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",...Et},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...h}),backdropContrast:({theme:e})=>({...e("contrast"),...h}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...h}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...Y}),backdropInvert:({theme:e})=>({...e("invert"),...h}),backdropOpacity:({theme:e})=>({...e("opacity"),...h}),backdropSaturate:({theme:e})=>({...e("saturate"),...h}),backdropSepia:({theme:e})=>({...e("sepia"),...h}),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",...O},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",...h},caretColor:({theme:e})=>e("colors"),colors:()=>({...ne}),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",...C},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...h},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"),...O}),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",...C},flexShrink:{0:"0",DEFAULT:"1",...C},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%",...h},grayscale:{0:"0",DEFAULT:"100%",...h},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",...C},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",...C},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",...C},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",...C},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",...Y},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%",...h},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",...C},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",...h},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",...C},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...O},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...O},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",...O},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...O},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...Y},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...h},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",...h},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%",...h},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...Y},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",...C},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",...O},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...O},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",...Oe},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Oe},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",...C}};function oe(e){let r=[0];for(let l=0;l<e.length;l++)e.charCodeAt(l)===10&&r.push(l+1);function t(l){let i=0,o=r.length;for(;o>0;){let s=(o|0)>>1,u=i+s;r[u]<=l?(i=u+1,o=o-s-1):o=s}i-=1;let a=l-r[i];return{line:i+1,column:a}}function n({line:l,column:i}){l-=1,l=Math.min(Math.max(l,0),r.length-1);let o=r[l],a=r[l+1]??o;return Math.min(Math.max(o+i,0),a)}return{find:t,findOffset:n}}var Rt=64;function z(e,r=[]){return{kind:"rule",selector:e,nodes:r}}function k(e,r="",t=[]){return{kind:"at-rule",name:e,params:r,nodes:t}}function E(e,r=[]){return e.charCodeAt(0)===Rt?Ee(e,r):z(e,r)}function $(e,r,t=!1){return{kind:"declaration",property:e,value:r,important:t}}function G(e){return{kind:"comment",value:e}}function L(e,r){let t=0,n={file:null,code:""};function l(o,a=0){let s="",u=" ".repeat(a);if(o.kind==="declaration"){if(s+=`${u}${o.property}: ${o.value}${o.important?" !important":""};
4
- `,r){t+=u.length;let f=t;t+=o.property.length,t+=2,t+=o.value?.length??0,o.important&&(t+=11);let p=t;t+=2,o.dst=[n,f,p]}}else if(o.kind==="rule"){if(s+=`${u}${o.selector} {
5
- `,r){t+=u.length;let f=t;t+=o.selector.length,t+=1;let p=t;o.dst=[n,f,p],t+=2}for(let f of o.nodes)s+=l(f,a+1);s+=`${u}}
6
- `,r&&(t+=u.length,t+=2)}else if(o.kind==="at-rule"){if(o.nodes.length===0){let f=`${u}${o.name} ${o.params};
7
- `;if(r){t+=u.length;let p=t;t+=o.name.length,t+=1,t+=o.params.length;let W=t;t+=2,o.dst=[n,p,W]}return f}if(s+=`${u}${o.name}${o.params?` ${o.params} `:" "}{
8
- `,r){t+=u.length;let f=t;t+=o.name.length,o.params&&(t+=1,t+=o.params.length),t+=1;let p=t;o.dst=[n,f,p],t+=2}for(let f of o.nodes)s+=l(f,a+1);s+=`${u}}
9
- `,r&&(t+=u.length,t+=2)}else if(o.kind==="comment"){if(s+=`${u}/*${o.value}*/
10
- `,r){t+=u.length;let f=t;t+=2+o.value.length+2;let p=t;o.dst=[n,f,p],t+=1}}else if(o.kind==="context"||o.kind==="at-root")return"";return s}let i="";for(let o of e)i+=l(o,0);return n.code=i,i}var _=U(require("postcss"));var Ot=33;function Ke(e,r){let t=new m(a=>new _.Input(a.code,{map:r?.input.map,from:a.file??void 0})),n=new m(a=>oe(a.code)),l=_.default.root();l.source=r;function i(a){if(!a||!a[0])return;let s=n.get(a[0]),u=s.find(a[1]),f=s.find(a[2]);return{input:t.get(a[0]),start:{line:u.line,column:u.column+1,offset:a[1]},end:{line:f.line,column:f.column+1,offset:a[2]}}}function o(a,s){if(a.kind==="declaration"){let u=_.default.decl({prop:a.property,value:a.value??"",important:a.important});u.source=i(a.src),s.append(u)}else if(a.kind==="rule"){let u=_.default.rule({selector:a.selector});u.source=i(a.src),u.raws.semicolon=!0,s.append(u);for(let f of a.nodes)o(f,u)}else if(a.kind==="at-rule"){let u=_.default.atRule({name:a.name.slice(1),params:a.params});u.source=i(a.src),u.raws.semicolon=!0,s.append(u);for(let f of a.nodes)o(f,u)}else if(a.kind==="comment"){let u=_.default.comment({text:a.value});u.raws.left="",u.raws.right="",u.source=i(a.src),s.append(u)}else a.kind==="at-root"||a.kind}for(let a of e)o(a,l);return l}function De(e){let r=new m(i=>({file:i.file??i.id??null,code:i.css}));function t(i){let o=i.source;if(!o)return;let a=o.input;if(a&&o.start!==void 0&&o.end!==void 0)return[r.get(a),o.start.offset,o.end.offset]}function n(i,o){if(i.type==="decl"){let a=$(i.prop,i.value,i.important);a.src=t(i),o.push(a)}else if(i.type==="rule"){let a=E(i.selector);a.src=t(i),i.each(s=>n(s,a.nodes)),o.push(a)}else if(i.type==="atrule"){let a=k(`@${i.name}`,i.params);a.src=t(i),i.each(s=>n(s,a.nodes)),o.push(a)}else if(i.type==="comment"){if(i.text.charCodeAt(0)!==Ot)return;let a=G(i.text);a.src=t(i),o.push(a)}}let l=[];return e.each(i=>n(i,l)),l}var se=require("@tailwindcss/node"),M=U(require("path")),le="'",ae='"';function ue(){let e=new WeakSet;function r(t){let n=t.root().source?.input.file;if(!n)return;let l=t.source?.input.file;if(!l||e.has(t))return;let i=t.params[0],o=i[0]===ae&&i[i.length-1]===ae?ae:i[0]===le&&i[i.length-1]===le?le:null;if(!o)return;let a=t.params.slice(1,-1),s="";if(a.startsWith("!")&&(a=a.slice(1),s="!"),!a.startsWith("./")&&!a.startsWith("../"))return;let u=M.default.posix.join((0,se.normalizePath)(M.default.dirname(l)),a),f=M.default.posix.dirname((0,se.normalizePath)(n)),p=M.default.posix.relative(f,u);p.startsWith(".")||(p="./"+p),t.params=o+s+p+o,e.add(t)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(t){t.walkAtRules(/source|plugin|config/,r)}}}var c=v.env.DEBUG,ce=new Ue.default({maxSize:50});function _t(e,r){let t=`${e}:${r.base??""}:${JSON.stringify(r.optimize)}`;if(ce.has(t))return ce.get(t);let n={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:J.default.root(),optimizedPostCssAst:J.default.root(),fullRebuildPaths:[]};return ce.set(t,n),n}function Kt(e={}){let r=e.base??process.cwd(),t=e.optimize??process.env.NODE_ENV==="production";return{postcssPlugin:"@tailwindcss/postcss",plugins:[ue(),{postcssPlugin:"tailwindcss",async Once(n,{result:l}){var W=[];try{let i=me(W,new v.Instrumentation);let o=l.opts.from??"";let a=o.endsWith(".module.css");c&&i.start(`[@tailwindcss/postcss] ${(0,b.relative)(r,o)}`);{c&&i.start("Quick bail check");let x=!0;if(n.walkAtRules(d=>{if(d.name==="import"||d.name==="reference"||d.name==="theme"||d.name==="variant"||d.name==="config"||d.name==="plugin"||d.name==="apply"||d.name==="tailwind")return x=!1,!1}),x)return;c&&i.end("Quick bail check")}let s=_t(o,e);let u=b.default.dirname(b.default.resolve(o));let f=s.compiler===null;async function p(){c&&i.start("Setup compiler"),s.fullRebuildPaths.length>0&&!f&&(0,ze.clearRequireCache)(s.fullRebuildPaths),s.fullRebuildPaths=[],c&&i.start("PostCSS AST -> Tailwind CSS AST");let x=De(n);c&&i.end("PostCSS AST -> Tailwind CSS AST"),c&&i.start("Create compiler");let d=await(0,v.compileAst)(x,{from:l.opts.from,base:u,shouldRewriteUrls:!0,onDependency:Q=>s.fullRebuildPaths.push(Q),polyfills:a?v.Polyfills.All^v.Polyfills.AtProperty:v.Polyfills.All});return c&&i.end("Create compiler"),c&&i.end("Setup compiler"),d}try{if(s.compiler??=p(),(await s.compiler).features===v.Features.None)return;let x="incremental";c&&i.start("Register full rebuild paths");{for(let g of s.fullRebuildPaths)l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:b.default.resolve(g),parent:l.opts.from});let R=l.messages.flatMap(g=>g.type!=="dependency"?[]:g.file);R.push(o);for(let g of R){let S=Ie.default.statSync(g,{throwIfNoEntry:!1})?.mtimeMs??null;if(S===null){g===o&&(x="full");continue}s.mtimes.get(g)!==S&&(x="full",s.mtimes.set(g,S))}}c&&i.end("Register full rebuild paths"),x==="full"&&!f&&(s.compiler=p());let d=await s.compiler;if(s.scanner===null||x==="full"){c&&i.start("Setup scanner");let R=(d.root==="none"?[]:d.root===null?[{base:r,pattern:"**/*",negated:!1}]:[{...d.root,negated:!1}]).concat(d.sources);s.scanner=new Le.Scanner({sources:R}),c&&i.end("Setup scanner")}c&&i.start("Scan for candidates");let Q=d.features&v.Features.Utilities?s.scanner.scan():[];if(c&&i.end("Scan for candidates"),d.features&v.Features.Utilities){c&&i.start("Register dependency messages");let R=b.default.resolve(r,o);for(let g of s.scanner.files){let S=b.default.resolve(g);S!==R&&l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:S,parent:l.opts.from})}for(let{base:g,pattern:S}of s.scanner.globs)S==="*"&&r===g||(S===""?l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:b.default.resolve(g),parent:l.opts.from}):l.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:b.default.resolve(g),glob:S,parent:l.opts.from}));c&&i.end("Register dependency messages")}c&&i.start("Build utilities");let B=d.build(Q);if(c&&i.end("Build utilities"),s.tailwindCssAst!==B)if(t){c&&i.start("Optimization"),c&&i.start("AST -> CSS");let R=L(B);c&&i.end("AST -> CSS"),c&&i.start("Lightning CSS");let g=(0,v.optimize)(R,{minify:typeof t=="object"?t.minify:!0});c&&i.end("Lightning CSS"),c&&i.start("CSS -> PostCSS AST"),s.optimizedPostCssAst=J.default.parse(g.code,l.opts),c&&i.end("CSS -> PostCSS AST"),c&&i.end("Optimization")}else c&&i.start("Transform Tailwind CSS AST into PostCSS AST"),s.cachedPostCssAst=Ke(B,n.source),c&&i.end("Transform Tailwind CSS AST into PostCSS AST");s.tailwindCssAst=B,c&&i.start("Update PostCSS AST"),n.removeAll(),n.append(t?s.optimizedPostCssAst.clone().nodes:s.cachedPostCssAst.clone().nodes),n.raws.indent=" ",c&&i.end("Update PostCSS AST"),c&&i.end(`[@tailwindcss/postcss] ${(0,b.relative)(r,o)}`)}catch(x){s.compiler=null;for(let d of s.fullRebuildPaths)l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:b.default.resolve(d),parent:l.opts.from});console.error(x),n.removeAll()}}catch(je){var Me=je,We=!0}finally{ge(W,Me,We)}}}]}}var Fe=Object.assign(Kt,{postcss:!0});module.exports=Fe;
3
+ `);let t=[],r=[],i=null,o="",n;for(let l=0;l<e.length;l++){let s=e.charCodeAt(l);switch(s){case qe:{o+=e[l]+e[l+1],l++;break}case lr:{if(o.length>0){let u=D(o);i?i.nodes.push(u):t.push(u),o=""}let a=D(e[l]);i?i.nodes.push(a):t.push(a);break}case He:case Ze:case Qe:case Ye:case Je:case Xe:case et:case tt:{if(o.length>0){let f=D(o);i?i.nodes.push(f):t.push(f),o=""}let a=l,u=l+1;for(;u<e.length&&(n=e.charCodeAt(u),!(n!==He&&n!==Ze&&n!==Qe&&n!==Ye&&n!==Je&&n!==Xe&&n!==et&&n!==tt));u++);l=u-1;let p=tr(e.slice(a,u));i?i.nodes.push(p):t.push(p);break}case or:case ir:{let a=l;for(let u=l+1;u<e.length;u++)if(n=e.charCodeAt(u),n===qe)u+=1;else if(n===s){l=u;break}o+=e.slice(a,l+1);break}case nr:{let a=er(o,[]);o="",i?i.nodes.push(a):t.push(a),r.push(a),i=a;break}case rr:{let a=r.pop();if(o.length>0){let u=D(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(D(o)),t}var ar=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"];function rt(e){return e.indexOf("(")!==-1&&ar.some(t=>e.includes(`${t}(`))}var g=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 Li=new Uint8Array(256);var ge=new Uint8Array(256);function C(e,t){let r=0,i=[],o=0,n=e.length,l=t.charCodeAt(0);for(let s=0;s<n;s++){let a=e.charCodeAt(s);if(r===0&&a===l){i.push(e.slice(o,s)),o=s+1;continue}switch(a){case 92:s+=1;break;case 39:case 34:for(;++s<n;){let u=e.charCodeAt(s);if(u===92){s+=1;continue}if(u===a)break}break;case 40:ge[r]=41,r++;break;case 91:ge[r]=93,r++;break;case 123:ge[r]=125,r++;break;case 93:case 125:case 41:r>0&&a===ge[r-1]&&r--;break}}return i.push(e.slice(o)),i}var Ce=(l=>(l[l.Continue=0]="Continue",l[l.Skip=1]="Skip",l[l.Stop=2]="Stop",l[l.Replace=3]="Replace",l[l.ReplaceSkip=4]="ReplaceSkip",l[l.ReplaceStop=5]="ReplaceStop",l))(Ce||{}),v={Continue:{kind:0},Skip:{kind:1},Stop:{kind:2},Replace:e=>({kind:3,nodes:Array.isArray(e)?e:[e]}),ReplaceSkip:e=>({kind:4,nodes:Array.isArray(e)?e:[e]}),ReplaceStop:e=>({kind:5,nodes:Array.isArray(e)?e:[e]})};function k(e,t){typeof t=="function"?it(e,t):it(e,t.enter,t.exit)}function it(e,t=()=>v.Continue,r=()=>v.Continue){let i=[[e,0,null]],o={parent:null,depth:0,path(){let n=[];for(let l=1;l<i.length;l++){let s=i[l][2];s&&n.push(s)}return n}};for(;i.length>0;){let n=i.length-1,l=i[n],s=l[0],a=l[1],u=l[2];if(a>=s.length){i.pop();continue}if(o.parent=u,o.depth=n,a>=0){let d=s[a],m=t(d,o)??v.Continue;switch(m.kind){case 0:{d.nodes&&d.nodes.length>0&&i.push([d.nodes,0,d]),l[1]=~a;continue}case 2:return;case 1:{l[1]=~a;continue}case 3:{s.splice(a,1,...m.nodes);continue}case 5:{s.splice(a,1,...m.nodes);return}case 4:{s.splice(a,1,...m.nodes),l[1]+=m.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${Ce[m.kind]??`Unknown(${m.kind})`}\` in enter.`)}}let p=~a,f=s[p],c=r(f,o)??v.Continue;switch(c.kind){case 0:l[1]=p+1;continue;case 2:return;case 3:{s.splice(p,1,...c.nodes),l[1]=p+c.nodes.length;continue}case 5:{s.splice(p,1,...c.nodes);return}case 4:{s.splice(p,1,...c.nodes),l[1]=p+c.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${Ce[c.kind]??`Unknown(${c.kind})`}\` in exit.`)}}}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(ie),important:e.important,raw:e.raw};case"static":return{kind:e.kind,root:e.root,variants:e.variants.map(ie),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(ie),important:e.important,raw:e.raw};default:throw new Error("Unknown candidate kind")}}function ie(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:ie(e.variant),modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};default:throw new Error("Unknown variant kind")}}function $e(e){if(e===null)return"";let t=fr(e.value),r=t?e.value.slice(4,-1):e.value,[i,o]=t?["(",")"]:["[","]"];return e.kind==="arbitrary"?`/${i}${Ve(r)}${o}`:e.kind==="named"?`/${e.value}`:""}var sr=new g(e=>{let t=S(e),r=new Set;return k(t,(i,o)=>{let n=o.parent===null?t:o.parent.nodes??[];if(i.kind==="word"&&(i.value==="+"||i.value==="-"||i.value==="*"||i.value==="/")){let l=n.indexOf(i)??-1;if(l===-1)return;let s=n[l-1];if(s?.kind!=="separator"||s.value!==" ")return;let a=n[l+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()===""?(n[0]===i||n[n.length-1]===i)&&r.add(i):i.kind==="separator"&&i.value.trim()===","&&(i.value=",")}),r.size>0&&k(t,i=>{if(r.has(i))return r.delete(i),v.ReplaceSkip([])}),Se(t),T(t)});function Ve(e){return sr.get(e)}var Zi=new g(e=>{let t=S(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"?T(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=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++)Se([t.nodes[r]]);break}t.value=le(t.value),Se(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:cr(t)}}var ur=new g(e=>{let t=S(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function fr(e){return ur.get(e)}function cr(e){throw new Error(`Unexpected value: ${e}`)}function le(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var pr=process.env.FEATURES_ENV!=="stable";var W=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,on=new RegExp(`^${W.source}$`);var ln=new RegExp(`^${W.source}%$`);var an=new RegExp(`^${W.source}s*/s*${W.source}$`);var dr=["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"],mr=new RegExp(`^${W.source}(${dr.join("|")})$`);function ot(e){return mr.test(e)||rt(e)}var gr=["deg","rad","grad","turn"],sn=new RegExp(`^${W.source}(${gr.join("|")})$`);var un=new RegExp(`^${W.source} +${W.source} +${W.source}$`);function R(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function ne(e){return hr(e,.25)}function hr(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 kr={"--alpha":wr,"--spacing":yr,"--theme":br,theme:xr};function wr(e,t,r,...i){let[o,n]=C(r,"/").map(l=>l.trim());if(!o||!n)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${o||"var(--my-color)"} / ${n||"50%"})\``);if(i.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${o||"var(--my-color)"} / ${n||"50%"})\``);return ae(o,n)}function yr(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 br(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 n=e.resolveThemeValue(r,o);if(!n){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 n;let l=i.join(", ");if(l==="initial")return n;if(n==="initial")return l;if(n.startsWith("var(")||n.startsWith("theme(")||n.startsWith("--theme(")){let s=S(n);return Cr(s,l),T(s)}return n}function xr(e,t,r,...i){r=Ar(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 En=new RegExp(Object.keys(kr).map(e=>`${e}\\(`).join("|"));function Ar(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],n=e[i+1];o==="\\"&&(n===r||n==="\\")?(t+=n,i++):t+=o}return t}function Cr(e,t){k(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 Te(e,t){let r=e.length,i=t.length,o=r<i?r:i;for(let n=0;n<o;n++){let l=e.charCodeAt(n),s=t.charCodeAt(n);if(l>=48&&l<=57&&s>=48&&s<=57){let a=n,u=n+1,p=n,f=n+1;for(l=e.charCodeAt(u);l>=48&&l<=57;)l=e.charCodeAt(++u);for(s=t.charCodeAt(f);s>=48&&s<=57;)s=t.charCodeAt(++f);let c=e.slice(a,u),d=t.slice(p,f),m=Number(c)-Number(d);if(m)return m;if(c<d)return-1;if(c>d)return 1;continue}if(l!==s)return l-s}return e.length-t.length}function st(e){if(e[0]!=="["||e[e.length-1]!=="]")return null;let t=1,r=t,i=e.length-1;for(;oe(e.charCodeAt(t));)t++;{for(r=t;t<i;t++){let p=e.charCodeAt(t);if(p===92){t++;continue}if(!(p>=65&&p<=90)&&!(p>=97&&p<=122)&&!(p>=48&&p<=57)&&!(p===45||p===95))break}if(r===t)return null}let o=e.slice(r,t);for(;oe(e.charCodeAt(t));)t++;if(t===i)return{attribute:o,operator:null,quote:null,value:null,sensitivity:null};let n=null,l=e.charCodeAt(t);if(l===61)n="=",t++;else if((l===126||l===124||l===94||l===36||l===42)&&e.charCodeAt(t+1)===61)n=e[t]+"=",t+=2;else return null;for(;oe(e.charCodeAt(t));)t++;if(t===i)return null;let s="",a=null;if(l=e.charCodeAt(t),l===39||l===34){a=e[t],t++,r=t;for(let p=t;p<i;p++){let f=e.charCodeAt(p);f===l?t=p+1:f===92&&p++}s=e.slice(r,t-1)}else{for(r=t;t<i&&!oe(e.charCodeAt(t));)t++;s=e.slice(r,t)}for(;oe(e.charCodeAt(t));)t++;if(t===i)return{attribute:o,operator:n,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(;oe(e.charCodeAt(t));)t++;return t!==i?null:{attribute:o,operator:n,quote:a,value:s,sensitivity:u}}function oe(e){switch(e){case 32:case 9:case 10:case 13:return!0;default:return!1}}var $r=/^[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(!$r.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 Vr(e){return{kind:"combinator",value:e}}function Tr(e,t){return{kind:"function",value:e,nodes:t}}function H(e){return{kind:"selector",value:e}}function Nr(e){return{kind:"separator",value:e}}function Er(e){return{kind:"value",value:e}}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 ft=92,Rr=93,ct=41,Pr=58,pt=44,Or=34,Ur=46,dt=62,mt=10,_r=35,gt=91,ht=40,vt=43,Dr=39,kt=32,wt=9,yt=126,Ir=38,Lr=42;function ue(e){e=e.replaceAll(`\r
4
+ `,`
5
+ `);let t=[],r=[],i=null,o="",n;for(let l=0;l<e.length;l++){let s=e.charCodeAt(l);switch(s){case pt:case dt:case mt:case kt:case vt:case wt:case yt:{if(o.length>0){let c=H(o);i?i.nodes.push(c):t.push(c),o=""}let a=l,u=l+1;for(;u<e.length&&(n=e.charCodeAt(u),!(n!==pt&&n!==dt&&n!==mt&&n!==kt&&n!==vt&&n!==wt&&n!==yt));u++);l=u-1;let p=e.slice(a,u),f=p.trim()===","?Nr(p):Vr(p);i?i.nodes.push(f):t.push(f);break}case ht:{let a=Tr(o,[]);if(o="",a.value!==":not"&&a.value!==":where"&&a.value!==":has"&&a.value!==":is"){let u=l+1,p=0;for(let c=l+1;c<e.length;c++){if(n=e.charCodeAt(c),n===ht){p++;continue}if(n===ct){if(p===0){l=c;break}p--}}let f=l;a.nodes.push(Er(e.slice(u,f))),o="",l=f,i?i.nodes.push(a):t.push(a);break}i?i.nodes.push(a):t.push(a),r.push(a),i=a;break}case ct:{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 Ur:case Pr:case _r:{if(o.length>0){let a=H(o);i?i.nodes.push(a):t.push(a)}o=e[l];break}case gt:{if(o.length>0){let p=H(o);i?i.nodes.push(p):t.push(p)}o="";let a=l,u=0;for(let p=l+1;p<e.length;p++){if(n=e.charCodeAt(p),n===gt){u++;continue}if(n===Rr){if(u===0){l=p;break}u--}}o+=e.slice(a,l+1);break}case Dr:case Or:{let a=l;for(let u=l+1;u<e.length;u++)if(n=e.charCodeAt(u),n===ft)u+=1;else if(n===s){l=u;break}o+=e.slice(a,l+1);break}case Ir:case Lr:{if(o.length>0){let a=H(o);i?i.nodes.push(a):t.push(a),o=""}i?i.nodes.push(H(e[l])):t.push(H(e[l]));break}case ft:{o+=e[l]+e[l+1],l+=1;break}default:o+=e[l]}}return o.length>0&&t.push(H(o)),t}var zr=/^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i,X=new g(e=>{let t=zr.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 bt(e,t=null){let r=!1,i=S(e);return k(i,{exit(o){if(o.kind==="word"&&o.value!=="0"){let n=Kr(o.value,t);return n===null||n===o.value?void 0:(r=!0,v.ReplaceSkip(D(n)))}else if(o.kind==="function"&&(o.value==="calc"||o.value==="")){if(o.nodes.length!==5)return;let n=X.get(o.nodes[0].value),l=o.nodes[2].value,s=X.get(o.nodes[4].value);if(l==="*"&&(n?.[0]===0&&n?.[1]===null||s?.[0]===0&&s?.[1]===null))return r=!0,v.ReplaceSkip(D("0"));if(n===null||s===null)return;switch(l){case"*":{if(n[1]===s[1]||n[1]===null&&s[1]!==null||n[1]!==null&&s[1]===null)return r=!0,v.ReplaceSkip(D(`${n[0]*s[0]}${n[1]??""}`));break}case"+":{if(n[1]===s[1])return r=!0,v.ReplaceSkip(D(`${n[0]+s[0]}${n[1]??""}`));break}case"-":{if(n[1]===s[1])return r=!0,v.ReplaceSkip(D(`${n[0]-s[0]}${n[1]??""}`));break}case"/":{if(s[0]!==0&&(n[1]===null&&s[1]===null||n[1]!==null&&s[1]===null))return r=!0,v.ReplaceSkip(D(`${n[0]/s[0]}${n[1]??""}`));break}}}}}),r?T(i):e}function Kr(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}`}}function xt(e,t="top",r="right",i="bottom",o="left"){return $t(`${e}-${t}`,`${e}-${r}`,`${e}-${i}`,`${e}-${o}`)}function $t(e="top",t="right",r="bottom",i="left"){return{1:[[e,0],[t,0],[r,0],[i,0]],2:[[e,0],[t,1],[r,0],[i,1]],3:[[e,0],[t,1],[r,2],[i,1]],4:[[e,0],[t,1],[r,2],[i,3]]}}function ee(e,t){return{1:[[e,0],[t,0]],2:[[e,0],[t,1]]}}var At={inset:$t(),margin:xt("margin"),padding:xt("padding"),gap:ee("row-gap","column-gap")},Ct={"inset-block":ee("top","bottom"),"inset-inline":ee("left","right"),"margin-block":ee("margin-top","margin-bottom"),"margin-inline":ee("margin-left","margin-right"),"padding-block":ee("padding-top","padding-bottom"),"padding-inline":ee("padding-left","padding-right")},St={"border-block":["border-bottom","border-top"],"border-block-color":["border-bottom-color","border-top-color"],"border-block-style":["border-bottom-style","border-top-style"],"border-block-width":["border-bottom-width","border-top-width"],"border-inline":["border-left","border-right"],"border-inline-color":["border-left-color","border-right-color"],"border-inline-style":["border-left-style","border-right-style"],"border-inline-width":["border-left-width","border-right-width"]};function Vt(e,t){if(t&2){if(e.property in Ct){let r=C(e.value," ");return Ct[e.property][r.length]?.map(([i,o])=>_(i,r[o],e.important))}if(e.property in St)return St[e.property]?.map(r=>_(r,e.value,e.important))}if(e.property in At){let r=C(e.value," ");return At[e.property][r.length]?.map(([i,o])=>_(i,r[o],e.important))}return null}var Q=new g(e=>{let t=e.designSystem;return new g(r=>{try{r=t.theme.prefix&&!r.startsWith(t.theme.prefix)?`${t.theme.prefix}:${r}`:r;let i=[B(".x",[P("@apply",r)])];return jr(t,()=>{for(let n of t.parseCandidate(r))t.compileAstNodes(n,1);fe(i,t)}),Tt(i,e),z(i)}catch{return Symbol()}})});function Tt(e,t){let{rem:r,designSystem:i}=t;return k(e,{enter(o,n){if(o.kind==="declaration"){if(o.value===void 0||o.property==="--tw-sort")return v.Replace([]);if(o.property.startsWith("--tw-")&&(n.parent?.nodes??[]).some(l=>l.kind==="declaration"&&o.value===l.value&&o.important===l.important&&!l.property.startsWith("--tw-")))return v.Replace([]);if(t.features&1){let l=Vt(o,t.features);if(l)return v.Replace(l)}o.value.includes("var(")&&(o.value=Fr(o.value,i)),o.value=bt(o.value,r),o.value=Ve(o.value)}else{if(o.kind==="context"||o.kind==="at-root")return v.Replace(o.nodes);if(o.kind==="comment")return v.Replace([]);if(o.kind==="at-rule"&&o.name==="@property")return v.Replace([])}},exit(o){(o.kind==="rule"||o.kind==="at-rule")&&o.nodes.sort((n,l)=>n.kind!=="declaration"||l.kind!=="declaration"?0:n.property.localeCompare(l.property))}}),e}function Fr(e,t){let r=!1,i=S(e),o=new Set;return k(i,n=>{if(n.kind!=="function"||n.value!=="var"||n.nodes.length!==1&&n.nodes.length<3)return;let l=n.nodes[0].value;t.theme.prefix&&l.startsWith(`--${t.theme.prefix}-`)&&(l=l.slice(`--${t.theme.prefix}-`.length));let s=t.resolveThemeValue(l);if(!o.has(l)&&(o.add(l),s!==void 0&&(n.nodes.length===1&&(r=!0,n.nodes.push(...S(`,${s}`))),n.nodes.length>=3))){let a=T(n.nodes),u=`${n.nodes[0].value},${s}`;if(a===u)return r=!0,v.Replace(S(s))}}),r?T(i):e}var Nt=new g(e=>new g(t=>new g(r=>new Set))),Pe=new g(e=>new g(t=>{let r=new g(n=>new Set),i=e.designSystem;e.designSystem.theme.prefix&&!t.startsWith(e.designSystem.theme.prefix)&&(t=`${e.designSystem.theme.prefix}:${t}`);let o=i.parseCandidate(t);return o.length===0||k(Tt(i.compileAstNodes(o[0]).map(n=>I(n.node)),e),n=>{n.kind==="declaration"&&(r.get(n.property).add(n.value),Nt.get(e).get(n.property).get(n.value).add(t))}),r})),Oe=new g(e=>{let{designSystem:t}=e,r=Q.get(e),i=new g(()=>[]);for(let[o,n]of t.getClassList()){let l=r.get(o);if(typeof l=="string"){if(o[0]==="-"&&o.endsWith("-0")){let s=r.get(o.slice(1));if(typeof s=="string"&&l===s)continue}i.get(l).push(o),Pe.get(e).get(o);for(let s of n.modifiers){if(ne(s))continue;let a=`${o}/${s}`,u=r.get(a);typeof u=="string"&&(i.get(u).push(a),Pe.get(e).get(a))}}}return i}),ve=new g(e=>{let{designSystem:t}=e;return new g(r=>{try{r=t.theme.prefix&&!r.startsWith(t.theme.prefix)?`${t.theme.prefix}:${r}`:r;let i=[B(".x",[P("@apply",`${r}:flex`)])];return fe(i,t),k(i,n=>{if(n.kind==="at-rule"&&n.params.includes(" "))n.params=n.params.replaceAll(" ","");else if(n.kind==="rule"){let l=ue(n.selector),s=!1;k(l,a=>{if(a.kind==="separator"&&a.value!==" ")a.value=a.value.trim(),s=!0;else if(a.kind==="function"&&a.value===":is"){if(a.nodes.length===1)return s=!0,v.Replace(a.nodes);if(a.nodes.length===2&&a.nodes[0].kind==="selector"&&a.nodes[0].value==="*"&&a.nodes[1].kind==="selector"&&a.nodes[1].value[0]===":")return s=!0,v.Replace(a.nodes[1])}else 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&&(n.selector=Z(l))}}),z(i)}catch{return Symbol()}})}),Et=new g(e=>{let{designSystem:t}=e,r=ve.get(e),i=new g(()=>[]);for(let[o,n]of t.variants.entries())if(n.kind==="static"){let l=r.get(o);if(typeof l!="string")continue;i.get(l).push(o)}return i});function jr(e,t){let r=e.theme.values.get,i=new Set;e.theme.values.get=o=>{let n=r.call(e.theme.values,o);return n===void 0||n.options&1&&(i.add(n),n.options&=-2),n};try{return t()}finally{e.theme.values.get=r;for(let o of i)o.options|=1}}function G(e,t){for(let r in e)delete e[r];return Object.assign(e,t)}function ce(e){let t=[];for(let r of C(e,".")){if(!r.includes("[")){t.push(r);continue}let i=0;for(;;){let o=r.indexOf("[",i),n=r.indexOf("]",o);if(o===-1||n===-1)break;o>i&&t.push(r.slice(i,o)),t.push(r.slice(o+1,n)),i=n+1}i<=r.length-1&&t.push(r.slice(i))}return t}var yo=new g(e=>new g((t=null)=>new g(r=>({designSystem:e,rem:t,features:r}))));var bo=new g(e=>new g(t=>new g(r=>({features:r,designSystem:e,signatureOptions:t}))));var xo=new g(e=>{let t=e.designSystem,r=t.theme.prefix?`${t.theme.prefix}:`:"",i=Gr.get(e),o=Hr.get(e);return new g((n,l)=>{for(let s of t.parseCandidate(n)){let a=s.variants.slice().reverse().flatMap(f=>i.get(f)),u=s.important;if(u||a.length>0){let c=l.get(t.printCandidate({...s,variants:[],important:!1}));return t.theme.prefix!==null&&a.length>0&&(c=c.slice(r.length)),a.length>0&&(c=`${a.map(d=>t.printVariant(d)).join(":")}:${c}`),u&&(c+="!"),t.theme.prefix!==null&&a.length>0&&(c=`${r}${c}`),c}let p=o.get(n);if(p!==n)return p}return n})}),Br=[Jr,fi,ci,ai],Gr=new g(e=>new g(t=>{let r=[t];for(let i of Br)for(let o of r.splice(0)){let n=i(ie(o),e);if(Array.isArray(n)){r.push(...n);continue}else r.push(n)}return r})),qr=[Qr,Yr,ri,ni,li,si,ui,pi],Hr=new g(e=>{let t=e.designSystem;return new g(r=>{for(let i of t.parseCandidate(r)){let o=nt(i);for(let l of qr)o=l(o,e);let n=t.printCandidate(o);if(r!==n)return n}return r})}),Zr=["t","tr","r","br","b","bl","l","tl"];function Qr(e){if(e.kind==="static"&&e.root.startsWith("bg-gradient-to-")){let t=e.root.slice(15);return Zr.includes(t)&&(e.root=`bg-linear-to-${t}`),e}return e}function Yr(e,t){let r=Pt.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 Jr(e,t){let r=Pt.get(t.designSystem),i=ye(e);for(let[o]of i)if(o.kind==="arbitrary"){let[n]=r(o.selector,2);n!==o.selector&&(o.selector=n)}else if(o.kind==="functional"&&o.value?.kind==="arbitrary"){let[n]=r(o.value.value,2);n!==o.value.value&&(o.value.value=n)}return e}var Pt=new g(e=>{return t(e);function t(r){function i(s,a=0){let u=S(s);if(a&2)return[ke(u,l),null];let p=0,f=0;if(k(u,m=>{m.kind==="function"&&m.value==="theme"&&(p+=1,k(m.nodes,h=>h.kind==="separator"&&h.value.includes(",")?v.Stop:h.kind==="word"&&h.value==="/"?(f+=1,v.Stop):v.Skip))}),p===0)return[s,null];if(f===0)return[ke(u,n),null];if(f>1)return[ke(u,l),null];let c=null;return[ke(u,(m,h)=>{let x=C(m,"/").map(V=>V.trim());if(x.length>2)return null;if(u.length===1&&x.length===2&&a&1){let[V,w]=x;if(/^\d+%$/.test(w))c={kind:"named",value:w.slice(0,-1)};else if(/^0?\.\d+$/.test(w)){let A=Number(w)*100;c={kind:Number.isInteger(A)?"named":"arbitrary",value:A.toString()}}else c={kind:"arbitrary",value:w};m=V}return n(m,h)||l(m,h)}),c]}function o(s,a=!0){let u=`--${Ee(ce(s))}`;return r.theme.get([u])?a&&r.theme.prefix?`--${r.theme.prefix}-${u.slice(2)}`:u:null}function n(s,a){let u=o(s);if(u)return a?`var(${u}, ${a})`:`var(${u})`;let p=ce(s);if(p[0]==="spacing"&&r.theme.get(["--spacing"])){let f=p[1];return ne(f)?`--spacing(${f})`:null}return null}function l(s,a){let u=C(s,"/").map(c=>c.trim());s=u.shift();let p=o(s,!1);if(!p)return null;let f=u.length>0?`/${u.join("/")}`:"";return a?`--theme(${p}${f}, ${a})`:`--theme(${p}${f})`}return i}});function ke(e,t){return k(e,(r,i)=>{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 o=r.nodes[0];if(o.kind!=="word")return;let n=o.value,l=1;for(let u=l;u<r.nodes.length&&!r.nodes[u].value.includes(",");u++)n+=T([r.nodes[u]]),l=u+1;n=Xr(n);let s=r.nodes.slice(l+1),a=s.length>0?t(n,T(s)):t(n);if(a===null)return;if(i.parent){let u=i.parent.nodes.indexOf(r)-1;for(;u!==-1;){let p=i.parent.nodes[u];if(p.kind==="separator"&&p.value.trim()===""){u-=1;continue}/^[-+*/]$/.test(p.value.trim())&&(a=`(${a})`);break}}return v.Replace(S(a))}}),T(e)}function Xr(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],n=e[i+1];o==="\\"&&(n===r||n==="\\")?(t+=n,i++):t+=o}return t}function*ye(e){function*t(r,i=null){yield[r,i],r.kind==="compound"&&(yield*t(r.variant,r))}yield*t(e,null)}function q(e,t){return e.parseCandidate(e.theme.prefix&&!t.startsWith(`${e.theme.prefix}:`)?`${e.theme.prefix}:${t}`:t)}function ei(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 ti=new g(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 g(n=>{let l=X.get(n);if(!l)return null;let[s,a]=l;return a!==o?null:s/i})});function ri(e,t){if(e.kind!=="arbitrary"&&!(e.kind==="functional"&&e.value?.kind==="arbitrary"))return e;let r=t.designSystem,i=Oe.get(t.signatureOptions),o=Q.get(t.signatureOptions),n=r.printCandidate(e),l=o.get(n);if(typeof l!="string")return e;for(let a of s(l,e)){let u=r.printCandidate(a);if(o.get(u)===l&&ii(r,e,a))return a}return e;function*s(a,u){let p=i.get(a);if(!(p.length>1)){if(p.length===0&&u.modifier){let f={...u,modifier:null},c=o.get(r.printCandidate(f));if(typeof c=="string")for(let d of s(c,f))yield Object.assign({},d,{modifier:u.modifier})}if(p.length===1)for(let f of q(r,p[0]))yield f;else if(p.length===0){let f=u.kind==="arbitrary"?u.value:u.value?.value??null;if(f===null)return;let c=ti.get(r)?.get(f)??null,d="";c!==null&&c<0&&(d="-",c=Math.abs(c));for(let m of Array.from(r.utilities.keys("functional")).sort((h,x)=>+(h[0]==="-")-+(x[0]==="-"))){d&&(m=`${d}${m}`);for(let h of q(r,`${m}-${f}`))yield h;if(u.modifier)for(let h of q(r,`${m}-${f}${u.modifier}`))yield h;if(c!==null){for(let h of q(r,`${m}-${c}`))yield h;if(u.modifier)for(let h of q(r,`${m}-${c}${$e(u.modifier)}`))yield h}for(let h of q(r,`${m}-[${f}]`))yield h;if(u.modifier)for(let h of q(r,`${m}-[${f}]${$e(u.modifier)}`))yield h}}}}}function ii(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
+ `),n=!0;return k(S(i),l=>{if(l.kind==="function"&&l.value==="var"){let s=l.nodes[0].value;if(!new RegExp(`var\\(${s}[,)]\\s*`,"g").test(o)||o.includes(`${s}:`))return n=!1,v.Stop}}),n}function ni(e,t){if(e.kind!=="functional"||e.value?.kind!=="named")return e;let r=t.designSystem,i=Oe.get(t.signatureOptions),o=Q.get(t.signatureOptions),n=r.printCandidate(e),l=o.get(n);if(typeof l!="string")return e;for(let a of s(l,e)){let u=r.printCandidate(a);if(o.get(u)===l)return a}return e;function*s(a,u){let p=i.get(a);if(!(p.length>1)){if(p.length===0&&u.modifier){let f={...u,modifier:null},c=o.get(r.printCandidate(f));if(typeof c=="string")for(let d of s(c,f))yield Object.assign({},d,{modifier:u.modifier})}if(p.length===1)for(let f of q(r,p[0]))yield f}}}var oi=new Map([["order-none","order-0"],["break-words","wrap-break-word"]]);function li(e,t){let r=t.designSystem,i=Q.get(t.signatureOptions),o=ei(r,e),n=oi.get(o)??null;if(n===null)return e;let l=i.get(o);if(typeof l!="string")return e;let s=i.get(n);if(typeof s!="string"||l!==s)return e;let[a]=q(r,n);return a}function ai(e,t){let r=t.designSystem,i=ve.get(t.signatureOptions),o=Et.get(t.signatureOptions),n=ye(e);for(let[l]of n){if(l.kind==="compound")continue;let s=r.printVariant(l),a=i.get(s);if(typeof a!="string")continue;let u=o.get(a);if(u.length!==1)continue;let p=u[0],f=r.parseVariant(p);f!==null&&G(l,f)}return e}function si(e,t){let r=t.designSystem,i=Q.get(t.signatureOptions);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 ui(e,t){if(e.kind!=="functional"||e.value?.kind!=="arbitrary")return e;let r=t.designSystem,i=Q.get(t.signatureOptions),o=i.get(r.printCandidate(e));if(o===null)return e;for(let n of Ot(e))if(i.get(r.printCandidate({...e,value:n}))===o)return e.value=n,e;return e}function fi(e){let t=ye(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]=C(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*Ot(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("%")&&ne(t.slice(0,-1))&&(yield{kind:"named",value:t.slice(0,-1),fraction:null}),t.includes("/")){let[n,l]=t.split("/");R(n)&&R(l)&&(yield{kind:"named",value:n,fraction:`${n}/${l}`})}let i=new Set;for(let n of t.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))i.add(n[0].trim());let o=Array.from(i).sort((n,l)=>n.length-l.length);for(let n of o)yield*Ot(e,n,r)}function Rt(e){return!e.some(t=>t.kind==="separator"&&t.value.trim()===",")}function we(e){let t=e.value.trim();return e.kind==="selector"&&t[0]==="["&&t[t.length-1]==="]"}function ci(e,t){let r=[e],i=t.designSystem,o=ve.get(t.signatureOptions),n=ye(e);for(let[l,s]of n)if(l.kind==="compound"&&(l.root==="has"||l.root==="not"||l.root==="in")&&l.modifier!==null&&"modifier"in l.variant&&(l.variant.modifier=l.modifier,l.modifier=null),l.kind==="arbitrary"){if(l.relative)continue;let a=ue(l.selector.trim());if(!Rt(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==="*"){G(l,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==="*"){G(l,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(),G(l,i.parseVariant(`in-[${Z(a)}]`));continue}if(s===null&&a[0].kind==="selector"&&(a[0].value==="@media"||a[0].value==="@supports")){let c=o.get(i.printVariant(l)),d=S(Z(a)),m=!1;if(k(d,h=>{if(h.kind==="word"&&h.value==="not")return m=!0,v.Replace([])}),d=S(T(d)),k(d,h=>{h.kind==="separator"&&h.value!==" "&&h.value.trim()===""&&(h.value=" ")}),m){let h=i.parseVariant(`not-[${T(d)}]`);if(h===null)continue;let x=o.get(i.printVariant(h));if(c===x){G(l,h);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"&&we(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"&&we(a[2])&&(a=[a[2]],u=i.parseVariant("**"));let p=a.filter(c=>!(c.kind==="selector"&&c.value.trim()==="&"));if(p.length!==1)continue;let f=p[0];if(f.kind==="function"&&f.value===":is"){if(!Rt(f.nodes)||f.nodes.length!==1||!we(f.nodes[0]))continue;f=f.nodes[0]}if(f.kind==="function"&&f.value[0]===":"||f.kind==="selector"&&f.value[0]===":"){let c=f,d=!1;if(c.kind==="function"&&c.value===":not"){if(d=!0,c.nodes.length!==1||c.nodes[0].kind!=="selector"&&c.nodes[0].kind!=="function"||c.nodes[0].value[0]!==":")continue;c=c.nodes[0]}let m=(x=>{if(x===":nth-child"&&c.kind==="function"&&c.nodes.length===1&&c.nodes[0].kind==="value"&&c.nodes[0].value==="odd")return d?(d=!1,"even"):"odd";if(x===":nth-child"&&c.kind==="function"&&c.nodes.length===1&&c.nodes[0].kind==="value"&&c.nodes[0].value==="even")return d?(d=!1,"odd"):"even";for(let[V,w]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===V&&c.kind==="function"&&c.nodes.length===1)return c.nodes.length===1&&c.nodes[0].kind==="value"&&R(c.nodes[0].value)?`${w}-${c.nodes[0].value}`:`${w}-[${Z(c.nodes)}]`;if(d){let V=o.get(i.printVariant(l)),w=o.get(`not-[${x}]`);if(V===w)return`[&${x}]`}return null})(c.value);if(m===null)continue;d&&(m=`not-${m}`);let h=i.parseVariant(m);if(h===null)continue;G(l,h)}else if(we(f)){let c=st(f.value);if(c===null)continue;if(c.attribute.startsWith("data-")){let d=c.attribute.slice(5);G(l,{kind:"functional",root:"data",modifier:null,value:c.value===null?{kind:"named",value:d}:{kind:"arbitrary",value:`${d}${c.operator}${c.quote??""}${c.value}${c.quote??""}${c.sensitivity?` ${c.sensitivity}`:""}`}})}else if(c.attribute.startsWith("aria-")){let d=c.attribute.slice(5);G(l,{kind:"functional",root:"aria",modifier:null,value:c.value===null?{kind:"arbitrary",value:d}:c.operator==="="&&c.value==="true"&&c.sensitivity===null?{kind:"named",value:d}:{kind:"arbitrary",value:`${c.attribute}${c.operator}${c.quote??""}${c.value}${c.quote??""}${c.sensitivity?` ${c.sensitivity}`:""}`}})}}if(u)return[u,l]}return r}function pi(e,t){if(e.kind!=="functional"&&e.kind!=="arbitrary"||e.modifier===null)return e;let r=t.designSystem,i=Q.get(t.signatureOptions),o=i.get(r.printCandidate(e)),n=e.modifier;if(o===i.get(r.printCandidate({...e,modifier:null})))return e.modifier=null,e;{let l={kind:"named",value:n.value.endsWith("%")?n.value.includes(".")?`${Number(n.value.slice(0,-1))}`:n.value.slice(0,-1):n.value,fraction:null};if(o===i.get(r.printCandidate({...e,modifier:l})))return e.modifier=l,e}{let l={kind:"named",value:`${parseFloat(n.value)*100}`,fraction:null};if(o===i.get(r.printCandidate({...e,modifier:l})))return e.modifier=l,e}return e}function pe(e,t,{onInvalidCandidate:r,respectImportant:i}={}){let o=new Map,n=[],l=new Map;for(let u of e){if(t.invalidCandidates.has(u)){r?.(u);continue}let p=t.parseCandidate(u);if(p.length===0){r?.(u);continue}l.set(u,p)}let s=0;(i??!0)&&(s|=1);let a=t.getVariantOrder();for(let[u,p]of l){let f=!1;for(let c of p){let d=t.compileAstNodes(c,s);if(d.length!==0){f=!0;for(let{node:m,propertySort:h}of d){let x=0n;for(let V of c.variants)x|=1n<<BigInt(a.get(V));o.set(m,{properties:h,variants:x,candidate:u}),n.push(m)}}}f||r?.(u)}return n.sort((u,p)=>{let f=o.get(u),c=o.get(p);if(f.variants-c.variants!==0n)return Number(f.variants-c.variants);let d=0;for(;d<f.properties.order.length&&d<c.properties.order.length&&f.properties.order[d]===c.properties.order[d];)d+=1;return(f.properties.order[d]??1/0)-(c.properties.order[d]??1/0)||c.properties.count-f.properties.count||Te(f.candidate,c.candidate)}),{astNodes:n,nodeSorting:o}}function fe(e,t){let r=0,i=F("&",e),o=new Set,n=new g(()=>new Set),l=new g(()=>new Set);k([i],(f,c)=>{if(f.kind==="at-rule"){if(f.name==="@keyframes")return k(f.nodes,d=>{if(d.kind==="at-rule"&&d.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),v.Skip;if(f.name==="@utility"){let d=f.params.replace(/-\*$/,"");l.get(d).add(f),k(f.nodes,m=>{if(!(m.kind!=="at-rule"||m.name!=="@apply")){o.add(f);for(let h of _t(m,t))n.get(f).add(h)}});return}if(f.name==="@apply"){if(c.parent===null)return;r|=1,o.add(c.parent);for(let d of _t(f,t))for(let m of c.path())o.has(m)&&n.get(m).add(d)}}});let s=new Set,a=[],u=new Set;function p(f,c=[]){if(!s.has(f)){if(u.has(f)){let d=c[(c.indexOf(f)+1)%c.length];throw f.kind==="at-rule"&&f.name==="@utility"&&d.kind==="at-rule"&&d.name==="@utility"&&k(f.nodes,m=>{if(m.kind!=="at-rule"||m.name!=="@apply")return;let h=m.params.split(/\s+/g);for(let x of h)for(let V of t.parseCandidate(x))switch(V.kind){case"arbitrary":break;case"static":case"functional":if(d.params.replace(/-\*$/,"")===V.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
+ ${z([f])}
9
+ Relies on:
10
+
11
+ ${z([d])}`)}u.add(f);for(let d of n.get(f))for(let m of l.get(d))c.push(f),p(m,c),c.pop();s.add(f),u.delete(f),a.push(f)}}for(let f of o)p(f);for(let f of a)"nodes"in f&&k(f.nodes,c=>{if(c.kind!=="at-rule"||c.name!=="@apply")return;let d=c.params.split(/(\s+)/g),m={},h=0;for(let[x,V]of d.entries())x%2===0&&(m[V]=h),h+=V.length;{let x=Object.keys(m),V=pe(x,t,{respectImportant:!1,onInvalidCandidate:b=>{if(t.theme.prefix&&!b.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${b}\`. Did you mean \`${t.theme.prefix}:${b}\`?`);if(t.invalidCandidates.has(b))throw new Error(`Cannot apply utility class \`${b}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let N=C(b,":");if(N.length>1){let $=N.pop();if(t.candidatesToCss([$])[0]){let E=t.candidatesToCss(N.map(re=>`${re}:[--tw-variant-check:1]`)),j=N.filter((re,Ae)=>E[Ae]===null);if(j.length>0){if(j.length===1)throw new Error(`Cannot apply utility class \`${b}\` because the ${j.map(re=>`\`${re}\``)} variant does not exist.`);{let re=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${b}\` because the ${re.format(j.map(Ae=>`\`${Ae}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${b}\`. 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 \`${b}\``)}}),w=c.src,A=V.astNodes.map(b=>{let N=V.nodeSorting.get(b)?.candidate,$=N?m[N]:void 0;if(b=I(b),!w||!N||$===void 0)return k([b],j=>{j.src=w}),b;let E=[w[0],w[1],w[2]];return E[1]+=7+$,E[2]=E[1]+N.length,k([b],j=>{j.src=E}),b}),J=[];for(let b of A)if(b.kind==="rule")for(let N of b.nodes)J.push(N);else J.push(b);return v.Replace(J)}});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 ki=32,wi=9;var yi=40;function Dt(e,t=[]){let r=e,i="";for(let o=5;o<e.length;o++){let n=e.charCodeAt(o);if(n===ki||n===wi||n===yi){r=e.slice(0,o),i=e.slice(o);break}}return P(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 te(e){return{__BARE_VALUE__:e}}var K=te(e=>{if(R(e.value))return e.value}),O=te(e=>{if(R(e.value))return`${e.value}%`}),Y=te(e=>{if(R(e.value))return`${e.value}px`}),zt=te(e=>{if(R(e.value))return`${e.value}ms`}),xe=te(e=>{if(R(e.value))return`${e.value}deg`}),Si=te(e=>{if(e.fraction===null)return;let[t,r]=C(e.fraction,"/");if(!(!R(t)||!R(r)))return e.fraction}),Kt=te(e=>{if(R(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),$i={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",...Si},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...O}),backdropContrast:({theme:e})=>({...e("contrast"),...O}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...O}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...xe}),backdropInvert:({theme:e})=>({...e("invert"),...O}),backdropOpacity:({theme:e})=>({...e("opacity"),...O}),backdropSaturate:({theme:e})=>({...e("saturate"),...O}),backdropSepia:({theme:e})=>({...e("sepia"),...O}),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",...O},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",...K},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...O},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",...K},flexShrink:{0:"0",DEFAULT:"1",...K},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%",...O},grayscale:{0:"0",DEFAULT:"100%",...O},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",...K},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",...K},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",...K},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",...K},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))",...Kt},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))",...Kt},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",...xe},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%",...O},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",...K},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",...O},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",...K},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",...xe},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...O},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",...O},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%",...O},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...xe},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",...K},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",...zt},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...zt},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",...K}};function De(e){let t=[0];for(let o=0;o<e.length;o++)e.charCodeAt(o)===10&&t.push(o+1);function r(o){let n=0,l=t.length;for(;l>0;){let a=(l|0)>>1,u=n+a;t[u]<=o?(n=u+1,l=l-a-1):l=a}n-=1;let s=o-t[n];return{line:n+1,column:s}}function i({line:o,column:n}){o-=1,o=Math.min(Math.max(o,0),t.length-1);let l=t[o],s=t[o+1]??l;return Math.min(Math.max(l+n,0),s)}return{find:r,findOffset:i}}var Ti=64;function B(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function P(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function F(e,t=[]){return e.charCodeAt(0)===Ti?Dt(e,t):B(e,t)}function _(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function be(e){return{kind:"comment",value:e}}function I(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(I),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(I),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(I),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(I),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 z(e,t){let r=0,i={file:null,code:""};function o(l,s=0){let a="",u=" ".repeat(s);if(l.kind==="declaration"){if(a+=`${u}${l.property}: ${l.value}${l.important?" !important":""};
12
+ `,t){r+=u.length;let p=r;r+=l.property.length,r+=2,r+=l.value?.length??0,l.important&&(r+=11);let f=r;r+=2,l.dst=[i,p,f]}}else if(l.kind==="rule"){if(a+=`${u}${l.selector} {
13
+ `,t){r+=u.length;let p=r;r+=l.selector.length,r+=1;let f=r;l.dst=[i,p,f],r+=2}for(let p of l.nodes)a+=o(p,s+1);a+=`${u}}
14
+ `,t&&(r+=u.length,r+=2)}else if(l.kind==="at-rule"){if(l.nodes.length===0){let p=`${u}${l.name} ${l.params};
15
+ `;if(t){r+=u.length;let f=r;r+=l.name.length,r+=1,r+=l.params.length;let c=r;r+=2,l.dst=[i,f,c]}return p}if(a+=`${u}${l.name}${l.params?` ${l.params} `:" "}{
16
+ `,t){r+=u.length;let p=r;r+=l.name.length,l.params&&(r+=1,r+=l.params.length),r+=1;let f=r;l.dst=[i,p,f],r+=2}for(let p of l.nodes)a+=o(p,s+1);a+=`${u}}
17
+ `,t&&(r+=u.length,r+=2)}else if(l.kind==="comment"){if(a+=`${u}/*${l.value}*/
18
+ `,t){r+=u.length;let p=r;r+=2+l.value.length+2;let f=r;l.dst=[i,p,f],r+=1}}else if(l.kind==="context"||l.kind==="at-root")return"";return a}let n="";for(let l of e)n+=o(l,0);return i.code=n,n}var Ni=33;function Mt(e,t,r){let i=new g(u=>new e.Input(u.code,{map:r?.input.map,from:u.file??void 0})),o=new g(u=>De(u.code)),n=e.root();n.source=r;function l(u){if(!u||!u[0])return;let p=o.get(u[0]),f=p.find(u[1]),c=p.find(u[2]);return{input:i.get(u[0]),start:{line:f.line,column:f.column+1,offset:u[1]},end:{line:c.line,column:c.column+1,offset:u[2]}}}function s(u,p){let f=l(p);f?u.source=f:delete u.source}function a(u,p){if(u.kind==="declaration"){let f=e.decl({prop:u.property,value:u.value??"",important:u.important});s(f,u.src),p.append(f)}else if(u.kind==="rule"){let f=e.rule({selector:u.selector});s(f,u.src),f.raws.semicolon=!0,p.append(f);for(let c of u.nodes)a(c,f)}else if(u.kind==="at-rule"){let f=e.atRule({name:u.name.slice(1),params:u.params});s(f,u.src),f.raws.semicolon=!0,p.append(f);for(let c of u.nodes)a(c,f)}else if(u.kind==="comment"){let f=e.comment({text:u.value});f.raws.left="",f.raws.right="",s(f,u.src),p.append(f)}else u.kind==="at-root"||u.kind}for(let u of t)a(u,n);return n}function Ft(e){let t=new g(n=>({file:n.file??n.id??null,code:n.css}));function r(n){let l=n.source;if(!l)return;let s=l.input;if(s&&l.start!==void 0&&l.end!==void 0)return[t.get(s),l.start.offset,l.end.offset]}function i(n,l){if(n.type==="decl"){let s=_(n.prop,n.value,n.important);s.src=r(n),l.push(s)}else if(n.type==="rule"){let s=F(n.selector);s.src=r(n),n.each(a=>i(a,s.nodes)),l.push(s)}else if(n.type==="atrule"){let s=P(`@${n.name}`,n.params);s.src=r(n),n.each(a=>i(a,s.nodes)),l.push(s)}else if(n.type==="comment"){if(n.text.charCodeAt(0)!==Ni)return;let s=be(n.text);s.src=r(n),l.push(s)}}let o=[];return e.each(n=>i(n,o)),o}var ze=require("@tailwindcss/node"),de=me(require("path")),Ie="'",Le='"';function Ke(){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 n=r.params[0],l=n[0]===Le&&n[n.length-1]===Le?Le:n[0]===Ie&&n[n.length-1]===Ie?Ie: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 u=de.default.posix.join((0,ze.normalizePath)(de.default.dirname(o)),s),p=de.default.posix.dirname((0,ze.normalizePath)(i)),f=de.default.posix.relative(p,u);f.startsWith(".")||(f="./"+f),r.params=l+a+f+l,e.add(r)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(r){r.walkAtRules(/source|plugin|config/,t)}}}var y=U.env.DEBUG,Me=new jt.default({maxSize:50});function Ei(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 Ri(e={}){let t=e.base??process.cwd(),r=e.optimize??process.env.NODE_ENV==="production",i=e.transformAssetUrls??!0;return{postcssPlugin:"@tailwindcss/postcss",plugins:[Ke(),{postcssPlugin:"tailwindcss",async Once(o,{result:n,postcss:l}){var m=[];try{let s=Be(m,new U.Instrumentation);let a=n.opts.from??"";let u=a.endsWith(".module.css");y&&s.start(`[@tailwindcss/postcss] ${(0,L.relative)(t,a)}`);{y&&s.start("Quick bail check");let w=!0;if(o.walkAtRules(A=>{if(A.name==="import"||A.name==="reference"||A.name==="theme"||A.name==="variant"||A.name==="config"||A.name==="plugin"||A.name==="apply"||A.name==="tailwind")return w=!1,!1}),w)return;y&&s.end("Quick bail check")}let p=Ei(l,a,e);let f=L.default.dirname(L.default.resolve(a));let c=p.compiler===null;async function d(){y&&s.start("Setup compiler"),p.fullRebuildPaths.length>0&&!c&&(0,Wt.clearRequireCache)(p.fullRebuildPaths),p.fullRebuildPaths=[],y&&s.start("PostCSS AST -> Tailwind CSS AST");let w=Ft(o);y&&s.end("PostCSS AST -> Tailwind CSS AST"),y&&s.start("Create compiler");let A=await(0,U.compileAst)(w,{from:n.opts.from,base:f,shouldRewriteUrls:i,onDependency:J=>p.fullRebuildPaths.push(J),polyfills:u?U.Polyfills.All^U.Polyfills.AtProperty:U.Polyfills.All});return y&&s.end("Create compiler"),y&&s.end("Setup compiler"),A}try{if(p.compiler??=d(),(await p.compiler).features===U.Features.None)return;let w="incremental";y&&s.start("Register full rebuild paths");{for(let $ of p.fullRebuildPaths)n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:L.default.resolve($),parent:n.opts.from});let N=n.messages.flatMap($=>$.type!=="dependency"?[]:$.file);N.push(a);for(let $ of N){let E=Gt.default.statSync($,{throwIfNoEntry:!1})?.mtimeMs??null;if(E===null){$===a&&(w="full");continue}p.mtimes.get($)!==E&&(w="full",p.mtimes.set($,E))}}y&&s.end("Register full rebuild paths"),w==="full"&&!c&&(p.compiler=d());let A=await p.compiler;if(p.scanner===null||w==="full"){y&&s.start("Setup scanner");let N=(A.root==="none"?[]:A.root===null?[{base:t,pattern:"**/*",negated:!1}]:[{...A.root,negated:!1}]).concat(A.sources);p.scanner=new Bt.Scanner({sources:N}),y&&s.end("Setup scanner")}y&&s.start("Scan for candidates");let J=A.features&U.Features.Utilities?p.scanner.scan():[];if(y&&s.end("Scan for candidates"),A.features&U.Features.Utilities){y&&s.start("Register dependency messages");let N=L.default.resolve(t,a);for(let $ of p.scanner.files){let E=L.default.resolve($);E!==N&&n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:E,parent:n.opts.from})}for(let{base:$,pattern:E}of p.scanner.globs)E==="*"&&t===$||(E===""?n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:L.default.resolve($),parent:n.opts.from}):n.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:L.default.resolve($),glob:E,parent:n.opts.from}));y&&s.end("Register dependency messages")}y&&s.start("Build utilities");let b=A.build(J);if(y&&s.end("Build utilities"),p.tailwindCssAst!==b)if(r){y&&s.start("Optimization"),y&&s.start("AST -> CSS");let N=z(b);y&&s.end("AST -> CSS"),y&&s.start("Lightning CSS");let $=(0,U.optimize)(N,{minify:typeof r=="object"?r.minify:!0});y&&s.end("Lightning CSS"),y&&s.start("CSS -> PostCSS AST"),p.optimizedPostCssAst=l.parse($.code,n.opts),y&&s.end("CSS -> PostCSS AST"),y&&s.end("Optimization")}else y&&s.start("Transform Tailwind CSS AST into PostCSS AST"),p.cachedPostCssAst=Mt(l,b,o.source),y&&s.end("Transform Tailwind CSS AST into PostCSS AST");p.tailwindCssAst=b,y&&s.start("Update PostCSS AST"),o.removeAll(),o.append(r?p.optimizedPostCssAst.clone().nodes:p.cachedPostCssAst.clone().nodes),o.raws.indent=" ",y&&s.end("Update PostCSS AST"),y&&s.end(`[@tailwindcss/postcss] ${(0,L.relative)(t,a)}`)}catch(w){p.compiler=null;for(let A of p.fullRebuildPaths)n.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:L.default.resolve(A),parent:n.opts.from});throw console.error(w),w&&typeof w=="object"&&"message"in w?o.error(`${w.message}`):o.error(`${w}`)}}catch(h){var x=h,V=!0}finally{Ge(m,x,V)}}}]}}var qt=Object.assign(Ri,{postcss:!0});module.exports=qt;
package/dist/index.mjs CHANGED
@@ -1,10 +1,18 @@
1
- var ce=(e,r)=>(r=Symbol[e])?r:Symbol.for("Symbol."+e),fe=e=>{throw TypeError(e)};var pe=(e,r,t)=>{if(r!=null){typeof r!="object"&&typeof r!="function"&&fe("Object expected");var o,l;t&&(o=r[ce("asyncDispose")]),o===void 0&&(o=r[ce("dispose")],t&&(l=o)),typeof o!="function"&&fe("Object not disposable"),l&&(o=function(){try{l.call(this)}catch(i){return Promise.reject(i)}}),e.push([t,o,r])}else t&&e.push([t]);return r},de=(e,r,t)=>{var o=typeof SuppressedError=="function"?SuppressedError:function(n,a,s,u){return u=Error(s),u.name="SuppressedError",u.error=n,u.suppressed=a,u},l=n=>r=t?new o(n,r,"An error was suppressed during disposal"):(t=!0,n),i=n=>{for(;n=e.pop();)try{var a=n[1]&&n[1].call(n[2]);if(n[0])return Promise.resolve(a).then(i,s=>(l(s),i()))}catch(s){l(s)}if(t)throw r};return i()};import Ct from"@alloc/quick-lru";import{compileAst as St,env as Nt,Features as le,Instrumentation as $t,optimize as Tt,Polyfills as ae}from"@tailwindcss/node";import{clearRequireCache as Vt}from"@tailwindcss/node/require-cache";import{Scanner as Et}from"@tailwindcss/oxide";import Pt from"node:fs";import R,{relative as De}from"node:path";import ue from"postcss";function Y(e){return{kind:"word",value:e}}function Ie(e,r){return{kind:"function",value:e,nodes:r}}function Fe(e){return{kind:"separator",value:e}}function N(e,r,t=null){for(let o=0;o<e.length;o++){let l=e[o],i=!1,n=0,a=r(l,{parent:t,replaceWith(s){i||(i=!0,Array.isArray(s)?s.length===0?(e.splice(o,1),n=0):s.length===1?(e[o]=s[0],n=1):(e.splice(o,1,...s),n=s.length):e[o]=s)}})??0;if(i){a===0?o--:o+=n-1;continue}if(a===2)return 2;if(a!==1&&l.kind==="function"&&N(l.nodes,r,l)===2)return 2}}function C(e){let r="";for(let t of e)switch(t.kind){case"word":case"separator":{r+=t.value;break}case"function":r+=t.value+"("+C(t.nodes)+")"}return r}var me=92,je=41,ge=58,he=44,Me=34,ve=61,we=62,ke=60,ye=10,We=40,Be=39,be=47,xe=32,Ae=9;function b(e){e=e.replaceAll(`\r
1
+ var Me=(e,t)=>(t=Symbol[e])?t:Symbol.for("Symbol."+e),Fe=e=>{throw TypeError(e)};var je=(e,t,r)=>{if(t!=null){typeof t!="object"&&typeof t!="function"&&Fe("Object expected");var n,o;r&&(n=t[Me("asyncDispose")]),n===void 0&&(n=t[Me("dispose")],r&&(o=n)),typeof n!="function"&&Fe("Object not disposable"),o&&(n=function(){try{o.call(this)}catch(i){return Promise.reject(i)}}),e.push([r,n,t])}else r&&e.push([r]);return t},We=(e,t,r)=>{var n=typeof SuppressedError=="function"?SuppressedError:function(l,s,a,u){return u=Error(a),u.name="SuppressedError",u.error=l,u.suppressed=s,u},o=l=>t=r?new n(l,t,"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=>(o(a),i()))}catch(a){o(a)}if(r)throw t};return i()};import wi from"@alloc/quick-lru";import{compileAst as yi,env as bi,Features as Le,Instrumentation as xi,optimize as Ai,Polyfills as ze}from"@tailwindcss/node";import{clearRequireCache as Ci}from"@tailwindcss/node/require-cache";import{Scanner as Si}from"@tailwindcss/oxide";import $i from"fs";import Q,{relative as Ft}from"path";function _(e){return{kind:"word",value:e}}function jt(e,t){return{kind:"function",value:e,nodes:t}}function Wt(e){return{kind:"separator",value:e}}function T(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+T(r.nodes)+")"}return t}var Be=92,Bt=41,Ge=58,qe=44,Gt=34,He=61,Ze=62,Qe=60,Ye=10,qt=40,Ht=39,Zt=47,Je=32,Xe=9;function S(e){e=e.replaceAll(`\r
2
2
  `,`
3
- `);let r=[],t=[],o=null,l="",i;for(let n=0;n<e.length;n++){let a=e.charCodeAt(n);switch(a){case me:{l+=e[n]+e[n+1],n++;break}case ge:case he:case ve:case we:case ke:case ye:case be:case xe:case Ae:{if(l.length>0){let p=Y(l);o?o.nodes.push(p):r.push(p),l=""}let s=n,u=n+1;for(;u<e.length&&(i=e.charCodeAt(u),!(i!==ge&&i!==he&&i!==ve&&i!==we&&i!==ke&&i!==ye&&i!==be&&i!==xe&&i!==Ae));u++);n=u-1;let f=Fe(e.slice(s,u));o?o.nodes.push(f):r.push(f);break}case Be:case Me:{let s=n;for(let u=n+1;u<e.length;u++)if(i=e.charCodeAt(u),i===me)u+=1;else if(i===a){n=u;break}l+=e.slice(s,n+1);break}case We:{let s=Ie(l,[]);l="",o?o.nodes.push(s):r.push(s),t.push(s),o=s;break}case je:{let s=t.pop();if(l.length>0){let u=Y(l);s.nodes.push(u),l=""}t.length>0?o=t[t.length-1]:o=null;break}default:l+=String.fromCharCode(a)}}return l.length>0&&r.push(Y(l)),r}var He=["anchor-size"],Dt=new RegExp(`(${He.join("|")})\\(`,"g");var m=class extends Map{constructor(t){super();this.factory=t}get(t){let o=super.get(t);return o===void 0&&(o=this.factory(t,this),this.set(t,o)),o}};var jt=new Uint8Array(256);var M=new Uint8Array(256);function v(e,r){let t=0,o=[],l=0,i=e.length,n=r.charCodeAt(0);for(let a=0;a<i;a++){let s=e.charCodeAt(a);if(t===0&&s===n){o.push(e.slice(l,a)),l=a+1;continue}switch(s){case 92:a+=1;break;case 39:case 34:for(;++a<i;){let u=e.charCodeAt(a);if(u===92){a+=1;continue}if(u===s)break}break;case 40:M[t]=41,t++;break;case 91:M[t]=93,t++;break;case 123:M[t]=125,t++;break;case 93:case 125:case 41:t>0&&s===M[t-1]&&t--;break}}return o.push(e.slice(l)),o}var Qt=new m(e=>{let r=b(e),t=new Set;return N(r,(o,{parent:l})=>{let i=l===null?r:l.nodes??[];if(o.kind==="word"&&(o.value==="+"||o.value==="-"||o.value==="*"||o.value==="/")){let n=i.indexOf(o)??-1;if(n===-1)return;let a=i[n-1];if(a?.kind!=="separator"||a.value!==" ")return;let s=i[n+1];if(s?.kind!=="separator"||s.value!==" ")return;t.add(a),t.add(s)}else o.kind==="separator"&&o.value.trim()==="/"?o.value="/":o.kind==="separator"&&o.value.length>0&&o.value.trim()===""?(i[0]===o||i[i.length-1]===o)&&t.add(o):o.kind==="separator"&&o.value.trim()===","&&(o.value=",")}),t.size>0&&N(r,(o,{replaceWith:l})=>{t.has(o)&&(t.delete(o),l([]))}),J(r),C(r)});var Zt=new m(e=>{let r=b(e);return r.length===3&&r[0].kind==="word"&&r[0].value==="&"&&r[1].kind==="separator"&&r[1].value===":"&&r[2].kind==="function"&&r[2].value==="is"?C(r[2].nodes):e});function J(e){for(let r of e)switch(r.kind){case"function":{if(r.value==="url"||r.value.endsWith("_url")){r.value=U(r.value);break}if(r.value==="var"||r.value.endsWith("_var")||r.value==="theme"||r.value.endsWith("_theme")){r.value=U(r.value);for(let t=0;t<r.nodes.length;t++)J([r.nodes[t]]);break}r.value=U(r.value),J(r.nodes);break}case"separator":r.value=U(r.value);break;case"word":{(r.value[0]!=="-"||r.value[1]!=="-")&&(r.value=U(r.value));break}default:qe(r)}}var Xt=new m(e=>{let r=b(e);return r.length===1&&r[0].kind==="function"&&r[0].value==="var"});function qe(e){throw new Error(`Unexpected value: ${e}`)}function U(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var $=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,sr=new RegExp(`^${$.source}$`);var ur=new RegExp(`^${$.source}%$`);var cr=new RegExp(`^${$.source}s*/s*${$.source}$`);var Ge=["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"],fr=new RegExp(`^${$.source}(${Ge.join("|")})$`);var Ye=["deg","rad","grad","turn"],pr=new RegExp(`^${$.source}(${Ye.join("|")})$`);var dr=new RegExp(`^${$.source} +${$.source} +${$.source}$`);function k(e){let r=Number(e);return Number.isInteger(r)&&r>=0&&String(r)===String(e)}function z(e,r){if(r===null)return e;let t=Number(r);return Number.isNaN(t)||(r=`${t*100}%`),r==="100%"?e:`color-mix(in oklab, ${e} ${r}, transparent)`}var Ze={"--alpha":Xe,"--spacing":et,"--theme":tt,theme:rt};function Xe(e,r,t,...o){let[l,i]=v(t,"/").map(n=>n.trim());if(!l||!i)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${l||"var(--my-color)"} / ${i||"50%"})\``);if(o.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${l||"var(--my-color)"} / ${i||"50%"})\``);return z(l,i)}function et(e,r,t,...o){if(!t)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(o.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${o.length+1}.`);let l=e.theme.resolve(null,["--spacing"]);if(!l)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${l} * ${t})`}function tt(e,r,t,...o){if(!t.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let l=!1;t.endsWith(" inline")&&(l=!0,t=t.slice(0,-7)),r.kind==="at-rule"&&(l=!0);let i=e.resolveThemeValue(t,l);if(!i){if(o.length>0)return o.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${t})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(o.length===0)return i;let n=o.join(", ");if(n==="initial")return i;if(i==="initial")return n;if(i.startsWith("var(")||i.startsWith("theme(")||i.startsWith("--theme(")){let a=b(i);return nt(a,n),C(a)}return i}function rt(e,r,t,...o){t=it(t);let l=e.resolveThemeValue(t);if(!l&&o.length>0)return o.join(", ");if(!l)throw new Error(`Could not resolve value for theme function: \`theme(${t})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return l}var Rr=new RegExp(Object.keys(Ze).map(e=>`${e}\\(`).join("|"));function it(e){if(e[0]!=="'"&&e[0]!=='"')return e;let r="",t=e[0];for(let o=1;o<e.length-1;o++){let l=e[o],i=e[o+1];l==="\\"&&(i===t||i==="\\")?(r+=i,o++):r+=l}return r}function nt(e,r){N(e,t=>{if(t.kind==="function"&&!(t.value!=="var"&&t.value!=="theme"&&t.value!=="--theme"))if(t.nodes.length===1)t.nodes.push({kind:"word",value:`, ${r}`});else{let o=t.nodes[t.nodes.length-1];o.kind==="word"&&o.value==="initial"&&(o.value=r)}})}var ct=32;var ft=40;function Te(e,r=[]){let t=e,o="";for(let l=5;l<e.length;l++){let i=e.charCodeAt(l);if(i===ct||i===ft){t=e.slice(0,l),o=e.slice(l);break}}return w(t.trim(),o.trim(),r)}var te={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){return{__BARE_VALUE__:e}}var x=_(e=>{if(k(e.value))return e.value}),h=_(e=>{if(k(e.value))return`${e.value}%`}),P=_(e=>{if(k(e.value))return`${e.value}px`}),Pe=_(e=>{if(k(e.value))return`${e.value}ms`}),H=_(e=>{if(k(e.value))return`${e.value}deg`}),kt=_(e=>{if(e.fraction===null)return;let[r,t]=v(e.fraction,"/");if(!(!k(r)||!k(t)))return e.fraction}),Re=_(e=>{if(k(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),yt={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",...kt},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...h}),backdropContrast:({theme:e})=>({...e("contrast"),...h}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...h}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...H}),backdropInvert:({theme:e})=>({...e("invert"),...h}),backdropOpacity:({theme:e})=>({...e("opacity"),...h}),backdropSaturate:({theme:e})=>({...e("saturate"),...h}),backdropSepia:({theme:e})=>({...e("sepia"),...h}),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",...P},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",...h},caretColor:({theme:e})=>e("colors"),colors:()=>({...te}),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",...x},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...h},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"),...P}),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",...x},flexShrink:{0:"0",DEFAULT:"1",...x},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%",...h},grayscale:{0:"0",DEFAULT:"100%",...h},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",...x},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",...x},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",...x},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",...x},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))",...Re},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))",...Re},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%",...h},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",...x},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",...h},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",...x},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...P},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...P},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",...P},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...P},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",...h},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",...h},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%",...h},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",...x},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",...P},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...P},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",...Pe},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...Pe},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",...x}};function re(e){let r=[0];for(let l=0;l<e.length;l++)e.charCodeAt(l)===10&&r.push(l+1);function t(l){let i=0,n=r.length;for(;n>0;){let s=(n|0)>>1,u=i+s;r[u]<=l?(i=u+1,n=n-s-1):n=s}i-=1;let a=l-r[i];return{line:i+1,column:a}}function o({line:l,column:i}){l-=1,l=Math.min(Math.max(l,0),r.length-1);let n=r[l],a=r[l+1]??n;return Math.min(Math.max(n+i,0),a)}return{find:t,findOffset:o}}var bt=64;function K(e,r=[]){return{kind:"rule",selector:e,nodes:r}}function w(e,r="",t=[]){return{kind:"at-rule",name:e,params:r,nodes:t}}function T(e,r=[]){return e.charCodeAt(0)===bt?Te(e,r):K(e,r)}function S(e,r,t=!1){return{kind:"declaration",property:e,value:r,important:t}}function B(e){return{kind:"comment",value:e}}function D(e,r){let t=0,o={file:null,code:""};function l(n,a=0){let s="",u=" ".repeat(a);if(n.kind==="declaration"){if(s+=`${u}${n.property}: ${n.value}${n.important?" !important":""};
4
- `,r){t+=u.length;let f=t;t+=n.property.length,t+=2,t+=n.value?.length??0,n.important&&(t+=11);let p=t;t+=2,n.dst=[o,f,p]}}else if(n.kind==="rule"){if(s+=`${u}${n.selector} {
5
- `,r){t+=u.length;let f=t;t+=n.selector.length,t+=1;let p=t;n.dst=[o,f,p],t+=2}for(let f of n.nodes)s+=l(f,a+1);s+=`${u}}
6
- `,r&&(t+=u.length,t+=2)}else if(n.kind==="at-rule"){if(n.nodes.length===0){let f=`${u}${n.name} ${n.params};
7
- `;if(r){t+=u.length;let p=t;t+=n.name.length,t+=1,t+=n.params.length;let F=t;t+=2,n.dst=[o,p,F]}return f}if(s+=`${u}${n.name}${n.params?` ${n.params} `:" "}{
8
- `,r){t+=u.length;let f=t;t+=n.name.length,n.params&&(t+=1,t+=n.params.length),t+=1;let p=t;n.dst=[o,f,p],t+=2}for(let f of n.nodes)s+=l(f,a+1);s+=`${u}}
9
- `,r&&(t+=u.length,t+=2)}else if(n.kind==="comment"){if(s+=`${u}/*${n.value}*/
10
- `,r){t+=u.length;let f=t;t+=2+n.value.length+2;let p=t;n.dst=[o,f,p],t+=1}}else if(n.kind==="context"||n.kind==="at-root")return"";return s}let i="";for(let n of e)i+=l(n,0);return o.code=i,i}import I,{Input as xt}from"postcss";var At=33;function Oe(e,r){let t=new m(a=>new xt(a.code,{map:r?.input.map,from:a.file??void 0})),o=new m(a=>re(a.code)),l=I.root();l.source=r;function i(a){if(!a||!a[0])return;let s=o.get(a[0]),u=s.find(a[1]),f=s.find(a[2]);return{input:t.get(a[0]),start:{line:u.line,column:u.column+1,offset:a[1]},end:{line:f.line,column:f.column+1,offset:a[2]}}}function n(a,s){if(a.kind==="declaration"){let u=I.decl({prop:a.property,value:a.value??"",important:a.important});u.source=i(a.src),s.append(u)}else if(a.kind==="rule"){let u=I.rule({selector:a.selector});u.source=i(a.src),u.raws.semicolon=!0,s.append(u);for(let f of a.nodes)n(f,u)}else if(a.kind==="at-rule"){let u=I.atRule({name:a.name.slice(1),params:a.params});u.source=i(a.src),u.raws.semicolon=!0,s.append(u);for(let f of a.nodes)n(f,u)}else if(a.kind==="comment"){let u=I.comment({text:a.value});u.raws.left="",u.raws.right="",u.source=i(a.src),s.append(u)}else a.kind==="at-root"||a.kind}for(let a of e)n(a,l);return l}function _e(e){let r=new m(i=>({file:i.file??i.id??null,code:i.css}));function t(i){let n=i.source;if(!n)return;let a=n.input;if(a&&n.start!==void 0&&n.end!==void 0)return[r.get(a),n.start.offset,n.end.offset]}function o(i,n){if(i.type==="decl"){let a=S(i.prop,i.value,i.important);a.src=t(i),n.push(a)}else if(i.type==="rule"){let a=T(i.selector);a.src=t(i),i.each(s=>o(s,a.nodes)),n.push(a)}else if(i.type==="atrule"){let a=w(`@${i.name}`,i.params);a.src=t(i),i.each(s=>o(s,a.nodes)),n.push(a)}else if(i.type==="comment"){if(i.text.charCodeAt(0)!==At)return;let a=B(i.text);a.src=t(i),n.push(a)}}let l=[];return e.each(i=>o(i,l)),l}import{normalizePath as Ke}from"@tailwindcss/node";import q from"node:path";var ie="'",ne='"';function oe(){let e=new WeakSet;function r(t){let o=t.root().source?.input.file;if(!o)return;let l=t.source?.input.file;if(!l||e.has(t))return;let i=t.params[0],n=i[0]===ne&&i[i.length-1]===ne?ne:i[0]===ie&&i[i.length-1]===ie?ie:null;if(!n)return;let a=t.params.slice(1,-1),s="";if(a.startsWith("!")&&(a=a.slice(1),s="!"),!a.startsWith("./")&&!a.startsWith("../"))return;let u=q.posix.join(Ke(q.dirname(l)),a),f=q.posix.dirname(Ke(o)),p=q.posix.relative(f,u);p.startsWith(".")||(p="./"+p),t.params=n+s+p+n,e.add(t)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(t){t.walkAtRules(/source|plugin|config/,r)}}}var c=Nt.DEBUG,se=new Ct({maxSize:50});function Rt(e,r){let t=`${e}:${r.base??""}:${JSON.stringify(r.optimize)}`;if(se.has(t))return se.get(t);let o={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:ue.root(),optimizedPostCssAst:ue.root(),fullRebuildPaths:[]};return se.set(t,o),o}function Ot(e={}){let r=e.base??process.cwd(),t=e.optimize??process.env.NODE_ENV==="production";return{postcssPlugin:"@tailwindcss/postcss",plugins:[oe(),{postcssPlugin:"tailwindcss",async Once(o,{result:l}){var F=[];try{let i=pe(F,new $t);let n=l.opts.from??"";let a=n.endsWith(".module.css");c&&i.start(`[@tailwindcss/postcss] ${De(r,n)}`);{c&&i.start("Quick bail check");let y=!0;if(o.walkAtRules(d=>{if(d.name==="import"||d.name==="reference"||d.name==="theme"||d.name==="variant"||d.name==="config"||d.name==="plugin"||d.name==="apply"||d.name==="tailwind")return y=!1,!1}),y)return;c&&i.end("Quick bail check")}let s=Rt(n,e);let u=R.dirname(R.resolve(n));let f=s.compiler===null;async function p(){c&&i.start("Setup compiler"),s.fullRebuildPaths.length>0&&!f&&Vt(s.fullRebuildPaths),s.fullRebuildPaths=[],c&&i.start("PostCSS AST -> Tailwind CSS AST");let y=_e(o);c&&i.end("PostCSS AST -> Tailwind CSS AST"),c&&i.start("Create compiler");let d=await St(y,{from:l.opts.from,base:u,shouldRewriteUrls:!0,onDependency:G=>s.fullRebuildPaths.push(G),polyfills:a?ae.All^ae.AtProperty:ae.All});return c&&i.end("Create compiler"),c&&i.end("Setup compiler"),d}try{if(s.compiler??=p(),(await s.compiler).features===le.None)return;let y="incremental";c&&i.start("Register full rebuild paths");{for(let g of s.fullRebuildPaths)l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:R.resolve(g),parent:l.opts.from});let E=l.messages.flatMap(g=>g.type!=="dependency"?[]:g.file);E.push(n);for(let g of E){let A=Pt.statSync(g,{throwIfNoEntry:!1})?.mtimeMs??null;if(A===null){g===n&&(y="full");continue}s.mtimes.get(g)!==A&&(y="full",s.mtimes.set(g,A))}}c&&i.end("Register full rebuild paths"),y==="full"&&!f&&(s.compiler=p());let d=await s.compiler;if(s.scanner===null||y==="full"){c&&i.start("Setup scanner");let E=(d.root==="none"?[]:d.root===null?[{base:r,pattern:"**/*",negated:!1}]:[{...d.root,negated:!1}]).concat(d.sources);s.scanner=new Et({sources:E}),c&&i.end("Setup scanner")}c&&i.start("Scan for candidates");let G=d.features&le.Utilities?s.scanner.scan():[];if(c&&i.end("Scan for candidates"),d.features&le.Utilities){c&&i.start("Register dependency messages");let E=R.resolve(r,n);for(let g of s.scanner.files){let A=R.resolve(g);A!==E&&l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:A,parent:l.opts.from})}for(let{base:g,pattern:A}of s.scanner.globs)A==="*"&&r===g||(A===""?l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:R.resolve(g),parent:l.opts.from}):l.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:R.resolve(g),glob:A,parent:l.opts.from}));c&&i.end("Register dependency messages")}c&&i.start("Build utilities");let j=d.build(G);if(c&&i.end("Build utilities"),s.tailwindCssAst!==j)if(t){c&&i.start("Optimization"),c&&i.start("AST -> CSS");let E=D(j);c&&i.end("AST -> CSS"),c&&i.start("Lightning CSS");let g=Tt(E,{minify:typeof t=="object"?t.minify:!0});c&&i.end("Lightning CSS"),c&&i.start("CSS -> PostCSS AST"),s.optimizedPostCssAst=ue.parse(g.code,l.opts),c&&i.end("CSS -> PostCSS AST"),c&&i.end("Optimization")}else c&&i.start("Transform Tailwind CSS AST into PostCSS AST"),s.cachedPostCssAst=Oe(j,o.source),c&&i.end("Transform Tailwind CSS AST into PostCSS AST");s.tailwindCssAst=j,c&&i.start("Update PostCSS AST"),o.removeAll(),o.append(t?s.optimizedPostCssAst.clone().nodes:s.cachedPostCssAst.clone().nodes),o.raws.indent=" ",c&&i.end("Update PostCSS AST"),c&&i.end(`[@tailwindcss/postcss] ${De(r,n)}`)}catch(y){s.compiler=null;for(let d of s.fullRebuildPaths)l.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:R.resolve(d),parent:l.opts.from});console.error(y),o.removeAll()}}catch(Ue){var ze=Ue,Le=!0}finally{de(F,ze,Le)}}}]}}var Al=Object.assign(Ot,{postcss:!0});export{Al as default};
3
+ `);let t=[],r=[],n=null,o="",i;for(let l=0;l<e.length;l++){let s=e.charCodeAt(l);switch(s){case Be:{o+=e[l]+e[l+1],l++;break}case Zt:{if(o.length>0){let u=_(o);n?n.nodes.push(u):t.push(u),o=""}let a=_(e[l]);n?n.nodes.push(a):t.push(a);break}case Ge:case qe:case He:case Ze:case Qe:case Ye:case Je:case Xe:{if(o.length>0){let f=_(o);n?n.nodes.push(f):t.push(f),o=""}let a=l,u=l+1;for(;u<e.length&&(i=e.charCodeAt(u),!(i!==Ge&&i!==qe&&i!==He&&i!==Ze&&i!==Qe&&i!==Ye&&i!==Je&&i!==Xe));u++);l=u-1;let p=Wt(e.slice(a,u));n?n.nodes.push(p):t.push(p);break}case Ht:case Gt:{let a=l;for(let u=l+1;u<e.length;u++)if(i=e.charCodeAt(u),i===Be)u+=1;else if(i===s){l=u;break}o+=e.slice(a,l+1);break}case qt:{let a=jt(o,[]);o="",n?n.nodes.push(a):t.push(a),r.push(a),n=a;break}case Bt:{let a=r.pop();if(o.length>0){let u=_(o);a?.nodes.push(u),o=""}r.length>0?n=r[r.length-1]:n=null;break}default:o+=String.fromCharCode(s)}}return o.length>0&&t.push(_(o)),t}var Qt=["calc","min","max","clamp","mod","rem","sin","cos","tan","asin","acos","atan","atan2","pow","sqrt","hypot","log","exp","round"];function et(e){return e.indexOf("(")!==-1&&Qt.some(t=>e.includes(`${t}(`))}var g=class extends Map{constructor(r){super();this.factory=r}get(r){let n=super.get(r);return n===void 0&&(n=this.factory(r,this),this.set(r,n)),n}};var _i=new Uint8Array(256);var pe=new Uint8Array(256);function C(e,t){let r=0,n=[],o=0,i=e.length,l=t.charCodeAt(0);for(let s=0;s<i;s++){let a=e.charCodeAt(s);if(r===0&&a===l){n.push(e.slice(o,s)),o=s+1;continue}switch(a){case 92:s+=1;break;case 39:case 34:for(;++s<i;){let u=e.charCodeAt(s);if(u===92){s+=1;continue}if(u===a)break}break;case 40:pe[r]=41,r++;break;case 91:pe[r]=93,r++;break;case 123:pe[r]=125,r++;break;case 93:case 125:case 41:r>0&&a===pe[r-1]&&r--;break}}return n.push(e.slice(o)),n}var xe=(l=>(l[l.Continue=0]="Continue",l[l.Skip=1]="Skip",l[l.Stop=2]="Stop",l[l.Replace=3]="Replace",l[l.ReplaceSkip=4]="ReplaceSkip",l[l.ReplaceStop=5]="ReplaceStop",l))(xe||{}),v={Continue:{kind:0},Skip:{kind:1},Stop:{kind:2},Replace:e=>({kind:3,nodes:Array.isArray(e)?e:[e]}),ReplaceSkip:e=>({kind:4,nodes:Array.isArray(e)?e:[e]}),ReplaceStop:e=>({kind:5,nodes:Array.isArray(e)?e:[e]})};function k(e,t){typeof t=="function"?tt(e,t):tt(e,t.enter,t.exit)}function tt(e,t=()=>v.Continue,r=()=>v.Continue){let n=[[e,0,null]],o={parent:null,depth:0,path(){let i=[];for(let l=1;l<n.length;l++){let s=n[l][2];s&&i.push(s)}return i}};for(;n.length>0;){let i=n.length-1,l=n[i],s=l[0],a=l[1],u=l[2];if(a>=s.length){n.pop();continue}if(o.parent=u,o.depth=i,a>=0){let d=s[a],m=t(d,o)??v.Continue;switch(m.kind){case 0:{d.nodes&&d.nodes.length>0&&n.push([d.nodes,0,d]),l[1]=~a;continue}case 2:return;case 1:{l[1]=~a;continue}case 3:{s.splice(a,1,...m.nodes);continue}case 5:{s.splice(a,1,...m.nodes);return}case 4:{s.splice(a,1,...m.nodes),l[1]+=m.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${xe[m.kind]??`Unknown(${m.kind})`}\` in enter.`)}}let p=~a,f=s[p],c=r(f,o)??v.Continue;switch(c.kind){case 0:l[1]=p+1;continue;case 2:return;case 3:{s.splice(p,1,...c.nodes),l[1]=p+c.nodes.length;continue}case 5:{s.splice(p,1,...c.nodes);return}case 4:{s.splice(p,1,...c.nodes),l[1]=p+c.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${xe[c.kind]??`Unknown(${c.kind})`}\` in exit.`)}}}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(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 Ce(e){if(e===null)return"";let t=Xt(e.value),r=t?e.value.slice(4,-1):e.value,[n,o]=t?["(",")"]:["[","]"];return e.kind==="arbitrary"?`/${n}${Se(r)}${o}`:e.kind==="named"?`/${e.value}`:""}var Yt=new g(e=>{let t=S(e),r=new Set;return k(t,(n,o)=>{let i=o.parent===null?t:o.parent.nodes??[];if(n.kind==="word"&&(n.value==="+"||n.value==="-"||n.value==="*"||n.value==="/")){let l=i.indexOf(n)??-1;if(l===-1)return;let s=i[l-1];if(s?.kind!=="separator"||s.value!==" ")return;let a=i[l+1];if(a?.kind!=="separator"||a.value!==" ")return;r.add(s),r.add(a)}else n.kind==="separator"&&n.value.length>0&&n.value.trim()===""?(i[0]===n||i[i.length-1]===n)&&r.add(n):n.kind==="separator"&&n.value.trim()===","&&(n.value=",")}),r.size>0&&k(t,n=>{if(r.has(n))return r.delete(n),v.ReplaceSkip([])}),Ae(t),T(t)});function Se(e){return Yt.get(e)}var Gi=new g(e=>{let t=S(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"?T(t[2].nodes):e});function Ae(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++)Ae([t.nodes[r]]);break}t.value=oe(t.value),Ae(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:er(t)}}var Jt=new g(e=>{let t=S(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function Xt(e){return Jt.get(e)}function er(e){throw new Error(`Unexpected value: ${e}`)}function oe(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var tr=process.env.FEATURES_ENV!=="stable";var F=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,tn=new RegExp(`^${F.source}$`);var rn=new RegExp(`^${F.source}%$`);var nn=new RegExp(`^${F.source}s*/s*${F.source}$`);var rr=["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"],ir=new RegExp(`^${F.source}(${rr.join("|")})$`);function it(e){return ir.test(e)||et(e)}var nr=["deg","rad","grad","turn"],on=new RegExp(`^${F.source}(${nr.join("|")})$`);var ln=new RegExp(`^${F.source} +${F.source} +${F.source}$`);function R(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function ie(e){return or(e,.25)}function or(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 ar={"--alpha":sr,"--spacing":ur,"--theme":fr,theme:cr};function sr(e,t,r,...n){let[o,i]=C(r,"/").map(l=>l.trim());if(!o||!i)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${o||"var(--my-color)"} / ${i||"50%"})\``);if(n.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${o||"var(--my-color)"} / ${i||"50%"})\``);return le(o,i)}function ur(e,t,r,...n){if(!r)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(n.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${n.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 fr(e,t,r,...n){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 i=e.resolveThemeValue(r,o);if(!i){if(n.length>0)return n.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(n.length===0)return i;let l=n.join(", ");if(l==="initial")return i;if(i==="initial")return l;if(i.startsWith("var(")||i.startsWith("theme(")||i.startsWith("--theme(")){let s=S(i);return dr(s,l),T(s)}return i}function cr(e,t,r,...n){r=pr(r);let o=e.resolveThemeValue(r);if(!o&&n.length>0)return n.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 Vn=new RegExp(Object.keys(ar).map(e=>`${e}\\(`).join("|"));function pr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let n=1;n<e.length-1;n++){let o=e[n],i=e[n+1];o==="\\"&&(i===r||i==="\\")?(t+=i,n++):t+=o}return t}function dr(e,t){k(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 n=r.nodes[r.nodes.length-1];n.kind==="word"&&n.value==="initial"&&(n.value=t)}})}function $e(e,t){let r=e.length,n=t.length,o=r<n?r:n;for(let i=0;i<o;i++){let l=e.charCodeAt(i),s=t.charCodeAt(i);if(l>=48&&l<=57&&s>=48&&s<=57){let a=i,u=i+1,p=i,f=i+1;for(l=e.charCodeAt(u);l>=48&&l<=57;)l=e.charCodeAt(++u);for(s=t.charCodeAt(f);s>=48&&s<=57;)s=t.charCodeAt(++f);let c=e.slice(a,u),d=t.slice(p,f),m=Number(c)-Number(d);if(m)return m;if(c<d)return-1;if(c>d)return 1;continue}if(l!==s)return l-s}return e.length-t.length}function lt(e){if(e[0]!=="["||e[e.length-1]!=="]")return null;let t=1,r=t,n=e.length-1;for(;ne(e.charCodeAt(t));)t++;{for(r=t;t<n;t++){let p=e.charCodeAt(t);if(p===92){t++;continue}if(!(p>=65&&p<=90)&&!(p>=97&&p<=122)&&!(p>=48&&p<=57)&&!(p===45||p===95))break}if(r===t)return null}let o=e.slice(r,t);for(;ne(e.charCodeAt(t));)t++;if(t===n)return{attribute:o,operator:null,quote:null,value:null,sensitivity:null};let i=null,l=e.charCodeAt(t);if(l===61)i="=",t++;else if((l===126||l===124||l===94||l===36||l===42)&&e.charCodeAt(t+1)===61)i=e[t]+"=",t+=2;else return null;for(;ne(e.charCodeAt(t));)t++;if(t===n)return null;let s="",a=null;if(l=e.charCodeAt(t),l===39||l===34){a=e[t],t++,r=t;for(let p=t;p<n;p++){let f=e.charCodeAt(p);f===l?t=p+1:f===92&&p++}s=e.slice(r,t-1)}else{for(r=t;t<n&&!ne(e.charCodeAt(t));)t++;s=e.slice(r,t)}for(;ne(e.charCodeAt(t));)t++;if(t===n)return{attribute:o,operator:i,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!==n?null:{attribute:o,operator:i,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 gr=/^[a-zA-Z0-9-_%/\.]+$/;function Te(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(!gr.test(t))return null;return e.map((t,r,n)=>t==="1"&&r!==n.length-1?"":t).map(t=>t.replaceAll(".","_").replace(/([a-z])([A-Z])/g,(r,n,o)=>`${n}-${o.toLowerCase()}`)).filter((t,r)=>t!=="DEFAULT"||r!==e.length-1).join("-")}function hr(e){return{kind:"combinator",value:e}}function vr(e,t){return{kind:"function",value:e,nodes:t}}function G(e){return{kind:"selector",value:e}}function kr(e){return{kind:"separator",value:e}}function wr(e){return{kind:"value",value:e}}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 st=92,yr=93,ut=41,br=58,ft=44,xr=34,Ar=46,ct=62,pt=10,Cr=35,dt=91,mt=40,gt=43,Sr=39,ht=32,vt=9,kt=126,$r=38,Vr=42;function se(e){e=e.replaceAll(`\r
4
+ `,`
5
+ `);let t=[],r=[],n=null,o="",i;for(let l=0;l<e.length;l++){let s=e.charCodeAt(l);switch(s){case ft:case ct:case pt:case ht:case gt:case vt:case kt:{if(o.length>0){let c=G(o);n?n.nodes.push(c):t.push(c),o=""}let a=l,u=l+1;for(;u<e.length&&(i=e.charCodeAt(u),!(i!==ft&&i!==ct&&i!==pt&&i!==ht&&i!==gt&&i!==vt&&i!==kt));u++);l=u-1;let p=e.slice(a,u),f=p.trim()===","?kr(p):hr(p);n?n.nodes.push(f):t.push(f);break}case mt:{let a=vr(o,[]);if(o="",a.value!==":not"&&a.value!==":where"&&a.value!==":has"&&a.value!==":is"){let u=l+1,p=0;for(let c=l+1;c<e.length;c++){if(i=e.charCodeAt(c),i===mt){p++;continue}if(i===ut){if(p===0){l=c;break}p--}}let f=l;a.nodes.push(wr(e.slice(u,f))),o="",l=f,n?n.nodes.push(a):t.push(a);break}n?n.nodes.push(a):t.push(a),r.push(a),n=a;break}case ut:{let a=r.pop();if(o.length>0){let u=G(o);a.nodes.push(u),o=""}r.length>0?n=r[r.length-1]:n=null;break}case Ar:case br:case Cr:{if(o.length>0){let a=G(o);n?n.nodes.push(a):t.push(a)}o=e[l];break}case dt:{if(o.length>0){let p=G(o);n?n.nodes.push(p):t.push(p)}o="";let a=l,u=0;for(let p=l+1;p<e.length;p++){if(i=e.charCodeAt(p),i===dt){u++;continue}if(i===yr){if(u===0){l=p;break}u--}}o+=e.slice(a,l+1);break}case Sr:case xr:{let a=l;for(let u=l+1;u<e.length;u++)if(i=e.charCodeAt(u),i===st)u+=1;else if(i===s){l=u;break}o+=e.slice(a,l+1);break}case $r:case Vr:{if(o.length>0){let a=G(o);n?n.nodes.push(a):t.push(a),o=""}n?n.nodes.push(G(e[l])):t.push(G(e[l]));break}case st:{o+=e[l]+e[l+1],l+=1;break}default:o+=e[l]}}return o.length>0&&t.push(G(o)),t}var Tr=/^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i,J=new g(e=>{let t=Tr.exec(e);if(!t)return null;let r=t.groups?.value;if(r===void 0)return null;let n=Number(r);if(Number.isNaN(n))return null;let o=t.groups?.unit;return o===void 0?[n,null]:[n,o]});function wt(e,t=null){let r=!1,n=S(e);return k(n,{exit(o){if(o.kind==="word"&&o.value!=="0"){let i=Nr(o.value,t);return i===null||i===o.value?void 0:(r=!0,v.ReplaceSkip(_(i)))}else if(o.kind==="function"&&(o.value==="calc"||o.value==="")){if(o.nodes.length!==5)return;let i=J.get(o.nodes[0].value),l=o.nodes[2].value,s=J.get(o.nodes[4].value);if(l==="*"&&(i?.[0]===0&&i?.[1]===null||s?.[0]===0&&s?.[1]===null))return r=!0,v.ReplaceSkip(_("0"));if(i===null||s===null)return;switch(l){case"*":{if(i[1]===s[1]||i[1]===null&&s[1]!==null||i[1]!==null&&s[1]===null)return r=!0,v.ReplaceSkip(_(`${i[0]*s[0]}${i[1]??""}`));break}case"+":{if(i[1]===s[1])return r=!0,v.ReplaceSkip(_(`${i[0]+s[0]}${i[1]??""}`));break}case"-":{if(i[1]===s[1])return r=!0,v.ReplaceSkip(_(`${i[0]-s[0]}${i[1]??""}`));break}case"/":{if(s[0]!==0&&(i[1]===null&&s[1]===null||i[1]!==null&&s[1]===null))return r=!0,v.ReplaceSkip(_(`${i[0]/s[0]}${i[1]??""}`));break}}}}}),r?T(n):e}function Nr(e,t=null){let r=J.get(e);if(r===null)return null;let[n,o]=r;if(o===null)return`${n}`;if(n===0&&it(e))return"0";switch(o.toLowerCase()){case"in":return`${n*96}px`;case"cm":return`${n*96/2.54}px`;case"mm":return`${n*96/2.54/10}px`;case"q":return`${n*96/2.54/10/4}px`;case"pc":return`${n*96/6}px`;case"pt":return`${n*96/72}px`;case"rem":return t!==null?`${n*t}px`:null;case"grad":return`${n*.9}deg`;case"rad":return`${n*180/Math.PI}deg`;case"turn":return`${n*360}deg`;case"ms":return`${n/1e3}s`;case"khz":return`${n*1e3}hz`;default:return`${n}${o}`}}function yt(e,t="top",r="right",n="bottom",o="left"){return Ct(`${e}-${t}`,`${e}-${r}`,`${e}-${n}`,`${e}-${o}`)}function Ct(e="top",t="right",r="bottom",n="left"){return{1:[[e,0],[t,0],[r,0],[n,0]],2:[[e,0],[t,1],[r,0],[n,1]],3:[[e,0],[t,1],[r,2],[n,1]],4:[[e,0],[t,1],[r,2],[n,3]]}}function X(e,t){return{1:[[e,0],[t,0]],2:[[e,0],[t,1]]}}var bt={inset:Ct(),margin:yt("margin"),padding:yt("padding"),gap:X("row-gap","column-gap")},xt={"inset-block":X("top","bottom"),"inset-inline":X("left","right"),"margin-block":X("margin-top","margin-bottom"),"margin-inline":X("margin-left","margin-right"),"padding-block":X("padding-top","padding-bottom"),"padding-inline":X("padding-left","padding-right")},At={"border-block":["border-bottom","border-top"],"border-block-color":["border-bottom-color","border-top-color"],"border-block-style":["border-bottom-style","border-top-style"],"border-block-width":["border-bottom-width","border-top-width"],"border-inline":["border-left","border-right"],"border-inline-color":["border-left-color","border-right-color"],"border-inline-style":["border-left-style","border-right-style"],"border-inline-width":["border-left-width","border-right-width"]};function St(e,t){if(t&2){if(e.property in xt){let r=C(e.value," ");return xt[e.property][r.length]?.map(([n,o])=>U(n,r[o],e.important))}if(e.property in At)return At[e.property]?.map(r=>U(r,e.value,e.important))}if(e.property in bt){let r=C(e.value," ");return bt[e.property][r.length]?.map(([n,o])=>U(n,r[o],e.important))}return null}var H=new g(e=>{let t=e.designSystem;return new g(r=>{try{r=t.theme.prefix&&!r.startsWith(t.theme.prefix)?`${t.theme.prefix}:${r}`:r;let n=[j(".x",[P("@apply",r)])];return Pr(t,()=>{for(let i of t.parseCandidate(r))t.compileAstNodes(i,1);ue(n,t)}),$t(n,e),I(n)}catch{return Symbol()}})});function $t(e,t){let{rem:r,designSystem:n}=t;return k(e,{enter(o,i){if(o.kind==="declaration"){if(o.value===void 0||o.property==="--tw-sort")return v.Replace([]);if(o.property.startsWith("--tw-")&&(i.parent?.nodes??[]).some(l=>l.kind==="declaration"&&o.value===l.value&&o.important===l.important&&!l.property.startsWith("--tw-")))return v.Replace([]);if(t.features&1){let l=St(o,t.features);if(l)return v.Replace(l)}o.value.includes("var(")&&(o.value=Rr(o.value,n)),o.value=wt(o.value,r),o.value=Se(o.value)}else{if(o.kind==="context"||o.kind==="at-root")return v.Replace(o.nodes);if(o.kind==="comment")return v.Replace([]);if(o.kind==="at-rule"&&o.name==="@property")return v.Replace([])}},exit(o){(o.kind==="rule"||o.kind==="at-rule")&&o.nodes.sort((i,l)=>i.kind!=="declaration"||l.kind!=="declaration"?0:i.property.localeCompare(l.property))}}),e}function Rr(e,t){let r=!1,n=S(e),o=new Set;return k(n,i=>{if(i.kind!=="function"||i.value!=="var"||i.nodes.length!==1&&i.nodes.length<3)return;let l=i.nodes[0].value;t.theme.prefix&&l.startsWith(`--${t.theme.prefix}-`)&&(l=l.slice(`--${t.theme.prefix}-`.length));let s=t.resolveThemeValue(l);if(!o.has(l)&&(o.add(l),s!==void 0&&(i.nodes.length===1&&(r=!0,i.nodes.push(...S(`,${s}`))),i.nodes.length>=3))){let a=T(i.nodes),u=`${i.nodes[0].value},${s}`;if(a===u)return r=!0,v.Replace(S(s))}}),r?T(n):e}var Vt=new g(e=>new g(t=>new g(r=>new Set))),Ee=new g(e=>new g(t=>{let r=new g(i=>new Set),n=e.designSystem;e.designSystem.theme.prefix&&!t.startsWith(e.designSystem.theme.prefix)&&(t=`${e.designSystem.theme.prefix}:${t}`);let o=n.parseCandidate(t);return o.length===0||k($t(n.compileAstNodes(o[0]).map(i=>D(i.node)),e),i=>{i.kind==="declaration"&&(r.get(i.property).add(i.value),Vt.get(e).get(i.property).get(i.value).add(t))}),r})),Re=new g(e=>{let{designSystem:t}=e,r=H.get(e),n=new g(()=>[]);for(let[o,i]of t.getClassList()){let l=r.get(o);if(typeof l=="string"){if(o[0]==="-"&&o.endsWith("-0")){let s=r.get(o.slice(1));if(typeof s=="string"&&l===s)continue}n.get(l).push(o),Ee.get(e).get(o);for(let s of i.modifiers){if(ie(s))continue;let a=`${o}/${s}`,u=r.get(a);typeof u=="string"&&(n.get(u).push(a),Ee.get(e).get(a))}}}return n}),me=new g(e=>{let{designSystem:t}=e;return new g(r=>{try{r=t.theme.prefix&&!r.startsWith(t.theme.prefix)?`${t.theme.prefix}:${r}`:r;let n=[j(".x",[P("@apply",`${r}:flex`)])];return ue(n,t),k(n,i=>{if(i.kind==="at-rule"&&i.params.includes(" "))i.params=i.params.replaceAll(" ","");else if(i.kind==="rule"){let l=se(i.selector),s=!1;k(l,a=>{if(a.kind==="separator"&&a.value!==" ")a.value=a.value.trim(),s=!0;else if(a.kind==="function"&&a.value===":is"){if(a.nodes.length===1)return s=!0,v.Replace(a.nodes);if(a.nodes.length===2&&a.nodes[0].kind==="selector"&&a.nodes[0].value==="*"&&a.nodes[1].kind==="selector"&&a.nodes[1].value[0]===":")return s=!0,v.Replace(a.nodes[1])}else 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&&(i.selector=q(l))}}),I(n)}catch{return Symbol()}})}),Tt=new g(e=>{let{designSystem:t}=e,r=me.get(e),n=new g(()=>[]);for(let[o,i]of t.variants.entries())if(i.kind==="static"){let l=r.get(o);if(typeof l!="string")continue;n.get(l).push(o)}return n});function Pr(e,t){let r=e.theme.values.get,n=new Set;e.theme.values.get=o=>{let i=r.call(e.theme.values,o);return i===void 0||i.options&1&&(n.add(i),i.options&=-2),i};try{return t()}finally{e.theme.values.get=r;for(let o of n)o.options|=1}}function W(e,t){for(let r in e)delete e[r];return Object.assign(e,t)}function fe(e){let t=[];for(let r of C(e,".")){if(!r.includes("[")){t.push(r);continue}let n=0;for(;;){let o=r.indexOf("[",n),i=r.indexOf("]",o);if(o===-1||i===-1)break;o>n&&t.push(r.slice(n,o)),t.push(r.slice(o+1,i)),n=i+1}n<=r.length-1&&t.push(r.slice(n))}return t}var vo=new g(e=>new g((t=null)=>new g(r=>({designSystem:e,rem:t,features:r}))));var ko=new g(e=>new g(t=>new g(r=>({features:r,designSystem:e,signatureOptions:t}))));var wo=new g(e=>{let t=e.designSystem,r=t.theme.prefix?`${t.theme.prefix}:`:"",n=_r.get(e),o=Ir.get(e);return new g((i,l)=>{for(let s of t.parseCandidate(i)){let a=s.variants.slice().reverse().flatMap(f=>n.get(f)),u=s.important;if(u||a.length>0){let c=l.get(t.printCandidate({...s,variants:[],important:!1}));return t.theme.prefix!==null&&a.length>0&&(c=c.slice(r.length)),a.length>0&&(c=`${a.map(d=>t.printVariant(d)).join(":")}:${c}`),u&&(c+="!"),t.theme.prefix!==null&&a.length>0&&(c=`${r}${c}`),c}let p=o.get(i);if(p!==i)return p}return i})}),Ur=[Mr,Xr,ei,Qr],_r=new g(e=>new g(t=>{let r=[t];for(let n of Ur)for(let o of r.splice(0)){let i=n(re(o),e);if(Array.isArray(i)){r.push(...i);continue}else r.push(i)}return r})),Dr=[zr,Kr,Br,qr,Zr,Yr,Jr,ti],Ir=new g(e=>{let t=e.designSystem;return new g(r=>{for(let n of t.parseCandidate(r)){let o=rt(n);for(let l of Dr)o=l(o,e);let i=t.printCandidate(o);if(r!==i)return i}return r})}),Lr=["t","tr","r","br","b","bl","l","tl"];function zr(e){if(e.kind==="static"&&e.root.startsWith("bg-gradient-to-")){let t=e.root.slice(15);return Lr.includes(t)&&(e.root=`bg-linear-to-${t}`),e}return e}function Kr(e,t){let r=Et.get(t.designSystem);if(e.kind==="arbitrary"){let[n,o]=r(e.value,e.modifier===null?1:0);n!==e.value&&(e.value=n,o!==null&&(e.modifier=o))}else if(e.kind==="functional"&&e.value?.kind==="arbitrary"){let[n,o]=r(e.value.value,e.modifier===null?1:0);n!==e.value.value&&(e.value.value=n,o!==null&&(e.modifier=o))}return e}function Mr(e,t){let r=Et.get(t.designSystem),n=ve(e);for(let[o]of n)if(o.kind==="arbitrary"){let[i]=r(o.selector,2);i!==o.selector&&(o.selector=i)}else if(o.kind==="functional"&&o.value?.kind==="arbitrary"){let[i]=r(o.value.value,2);i!==o.value.value&&(o.value.value=i)}return e}var Et=new g(e=>{return t(e);function t(r){function n(s,a=0){let u=S(s);if(a&2)return[ge(u,l),null];let p=0,f=0;if(k(u,m=>{m.kind==="function"&&m.value==="theme"&&(p+=1,k(m.nodes,h=>h.kind==="separator"&&h.value.includes(",")?v.Stop:h.kind==="word"&&h.value==="/"?(f+=1,v.Stop):v.Skip))}),p===0)return[s,null];if(f===0)return[ge(u,i),null];if(f>1)return[ge(u,l),null];let c=null;return[ge(u,(m,h)=>{let x=C(m,"/").map(V=>V.trim());if(x.length>2)return null;if(u.length===1&&x.length===2&&a&1){let[V,w]=x;if(/^\d+%$/.test(w))c={kind:"named",value:w.slice(0,-1)};else if(/^0?\.\d+$/.test(w)){let A=Number(w)*100;c={kind:Number.isInteger(A)?"named":"arbitrary",value:A.toString()}}else c={kind:"arbitrary",value:w};m=V}return i(m,h)||l(m,h)}),c]}function o(s,a=!0){let u=`--${Te(fe(s))}`;return r.theme.get([u])?a&&r.theme.prefix?`--${r.theme.prefix}-${u.slice(2)}`:u:null}function i(s,a){let u=o(s);if(u)return a?`var(${u}, ${a})`:`var(${u})`;let p=fe(s);if(p[0]==="spacing"&&r.theme.get(["--spacing"])){let f=p[1];return ie(f)?`--spacing(${f})`:null}return null}function l(s,a){let u=C(s,"/").map(c=>c.trim());s=u.shift();let p=o(s,!1);if(!p)return null;let f=u.length>0?`/${u.join("/")}`:"";return a?`--theme(${p}${f}, ${a})`:`--theme(${p}${f})`}return n}});function ge(e,t){return k(e,(r,n)=>{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 o=r.nodes[0];if(o.kind!=="word")return;let i=o.value,l=1;for(let u=l;u<r.nodes.length&&!r.nodes[u].value.includes(",");u++)i+=T([r.nodes[u]]),l=u+1;i=Fr(i);let s=r.nodes.slice(l+1),a=s.length>0?t(i,T(s)):t(i);if(a===null)return;if(n.parent){let u=n.parent.nodes.indexOf(r)-1;for(;u!==-1;){let p=n.parent.nodes[u];if(p.kind==="separator"&&p.value.trim()===""){u-=1;continue}/^[-+*/]$/.test(p.value.trim())&&(a=`(${a})`);break}}return v.Replace(S(a))}}),T(e)}function Fr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let n=1;n<e.length-1;n++){let o=e[n],i=e[n+1];o==="\\"&&(i===r||i==="\\")?(t+=i,n++):t+=o}return t}function*ve(e){function*t(r,n=null){yield[r,n],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 jr(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 Wr=new g(e=>{let t=e.resolveThemeValue("--spacing");if(t===void 0)return null;let r=J.get(t);if(!r)return null;let[n,o]=r;return new g(i=>{let l=J.get(i);if(!l)return null;let[s,a]=l;return a!==o?null:s/n})});function Br(e,t){if(e.kind!=="arbitrary"&&!(e.kind==="functional"&&e.value?.kind==="arbitrary"))return e;let r=t.designSystem,n=Re.get(t.signatureOptions),o=H.get(t.signatureOptions),i=r.printCandidate(e),l=o.get(i);if(typeof l!="string")return e;for(let a of s(l,e)){let u=r.printCandidate(a);if(o.get(u)===l&&Gr(r,e,a))return a}return e;function*s(a,u){let p=n.get(a);if(!(p.length>1)){if(p.length===0&&u.modifier){let f={...u,modifier:null},c=o.get(r.printCandidate(f));if(typeof c=="string")for(let d of s(c,f))yield Object.assign({},d,{modifier:u.modifier})}if(p.length===1)for(let f of B(r,p[0]))yield f;else if(p.length===0){let f=u.kind==="arbitrary"?u.value:u.value?.value??null;if(f===null)return;let c=Wr.get(r)?.get(f)??null,d="";c!==null&&c<0&&(d="-",c=Math.abs(c));for(let m of Array.from(r.utilities.keys("functional")).sort((h,x)=>+(h[0]==="-")-+(x[0]==="-"))){d&&(m=`${d}${m}`);for(let h of B(r,`${m}-${f}`))yield h;if(u.modifier)for(let h of B(r,`${m}-${f}${u.modifier}`))yield h;if(c!==null){for(let h of B(r,`${m}-${c}`))yield h;if(u.modifier)for(let h of B(r,`${m}-${c}${Ce(u.modifier)}`))yield h}for(let h of B(r,`${m}-[${f}]`))yield h;if(u.modifier)for(let h of B(r,`${m}-[${f}]${Ce(u.modifier)}`))yield h}}}}}function Gr(e,t,r){let n=null;if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.value.includes("var(--")?n=t.value.value:t.kind==="arbitrary"&&t.value.includes("var(--")&&(n=t.value),n===null)return!0;let o=e.candidatesToCss([e.printCandidate(r)]).join(`
6
+ `),i=!0;return k(S(n),l=>{if(l.kind==="function"&&l.value==="var"){let s=l.nodes[0].value;if(!new RegExp(`var\\(${s}[,)]\\s*`,"g").test(o)||o.includes(`${s}:`))return i=!1,v.Stop}}),i}function qr(e,t){if(e.kind!=="functional"||e.value?.kind!=="named")return e;let r=t.designSystem,n=Re.get(t.signatureOptions),o=H.get(t.signatureOptions),i=r.printCandidate(e),l=o.get(i);if(typeof l!="string")return e;for(let a of s(l,e)){let u=r.printCandidate(a);if(o.get(u)===l)return a}return e;function*s(a,u){let p=n.get(a);if(!(p.length>1)){if(p.length===0&&u.modifier){let f={...u,modifier:null},c=o.get(r.printCandidate(f));if(typeof c=="string")for(let d of s(c,f))yield Object.assign({},d,{modifier:u.modifier})}if(p.length===1)for(let f of B(r,p[0]))yield f}}}var Hr=new Map([["order-none","order-0"],["break-words","wrap-break-word"]]);function Zr(e,t){let r=t.designSystem,n=H.get(t.signatureOptions),o=jr(r,e),i=Hr.get(o)??null;if(i===null)return e;let l=n.get(o);if(typeof l!="string")return e;let s=n.get(i);if(typeof s!="string"||l!==s)return e;let[a]=B(r,i);return a}function Qr(e,t){let r=t.designSystem,n=me.get(t.signatureOptions),o=Tt.get(t.signatureOptions),i=ve(e);for(let[l]of i){if(l.kind==="compound")continue;let s=r.printVariant(l),a=n.get(s);if(typeof a!="string")continue;let u=o.get(a);if(u.length!==1)continue;let p=u[0],f=r.parseVariant(p);f!==null&&W(l,f)}return e}function Yr(e,t){let r=t.designSystem,n=H.get(t.signatureOptions);if(e.kind==="functional"&&e.value?.kind==="arbitrary"&&e.value.dataType!==null){let o=r.printCandidate({...e,value:{...e.value,dataType:null}});n.get(r.printCandidate(e))===n.get(o)&&(e.value.dataType=null)}return e}function Jr(e,t){if(e.kind!=="functional"||e.value?.kind!=="arbitrary")return e;let r=t.designSystem,n=H.get(t.signatureOptions),o=n.get(r.printCandidate(e));if(o===null)return e;for(let i of Rt(e))if(n.get(r.printCandidate({...e,value:i}))===o)return e.value=i,e;return e}function Xr(e){let t=ve(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[n,o]=C(r.value.value,"=");if(n[n.length-1]==="~"||n[n.length-1]==="|"||n[n.length-1]==="^"||n[n.length-1]==="$"||n[n.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*Rt(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[i,l]=t.split("/");R(i)&&R(l)&&(yield{kind:"named",value:i,fraction:`${i}/${l}`})}let n=new Set;for(let i of t.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))n.add(i[0].trim());let o=Array.from(n).sort((i,l)=>i.length-l.length);for(let i of o)yield*Rt(e,i,r)}function Nt(e){return!e.some(t=>t.kind==="separator"&&t.value.trim()===",")}function he(e){let t=e.value.trim();return e.kind==="selector"&&t[0]==="["&&t[t.length-1]==="]"}function ei(e,t){let r=[e],n=t.designSystem,o=me.get(t.signatureOptions),i=ve(e);for(let[l,s]of i)if(l.kind==="compound"&&(l.root==="has"||l.root==="not"||l.root==="in")&&l.modifier!==null&&"modifier"in l.variant&&(l.variant.modifier=l.modifier,l.modifier=null),l.kind==="arbitrary"){if(l.relative)continue;let a=se(l.selector.trim());if(!Nt(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(l,n.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(l,n.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(l,n.parseVariant(`in-[${q(a)}]`));continue}if(s===null&&a[0].kind==="selector"&&(a[0].value==="@media"||a[0].value==="@supports")){let c=o.get(n.printVariant(l)),d=S(q(a)),m=!1;if(k(d,h=>{if(h.kind==="word"&&h.value==="not")return m=!0,v.Replace([])}),d=S(T(d)),k(d,h=>{h.kind==="separator"&&h.value!==" "&&h.value.trim()===""&&(h.value=" ")}),m){let h=n.parseVariant(`not-[${T(d)}]`);if(h===null)continue;let x=o.get(n.printVariant(h));if(c===x){W(l,h);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"&&he(a[2])&&(a=[a[2]],u=n.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"&&he(a[2])&&(a=[a[2]],u=n.parseVariant("**"));let p=a.filter(c=>!(c.kind==="selector"&&c.value.trim()==="&"));if(p.length!==1)continue;let f=p[0];if(f.kind==="function"&&f.value===":is"){if(!Nt(f.nodes)||f.nodes.length!==1||!he(f.nodes[0]))continue;f=f.nodes[0]}if(f.kind==="function"&&f.value[0]===":"||f.kind==="selector"&&f.value[0]===":"){let c=f,d=!1;if(c.kind==="function"&&c.value===":not"){if(d=!0,c.nodes.length!==1||c.nodes[0].kind!=="selector"&&c.nodes[0].kind!=="function"||c.nodes[0].value[0]!==":")continue;c=c.nodes[0]}let m=(x=>{if(x===":nth-child"&&c.kind==="function"&&c.nodes.length===1&&c.nodes[0].kind==="value"&&c.nodes[0].value==="odd")return d?(d=!1,"even"):"odd";if(x===":nth-child"&&c.kind==="function"&&c.nodes.length===1&&c.nodes[0].kind==="value"&&c.nodes[0].value==="even")return d?(d=!1,"odd"):"even";for(let[V,w]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===V&&c.kind==="function"&&c.nodes.length===1)return c.nodes.length===1&&c.nodes[0].kind==="value"&&R(c.nodes[0].value)?`${w}-${c.nodes[0].value}`:`${w}-[${q(c.nodes)}]`;if(d){let V=o.get(n.printVariant(l)),w=o.get(`not-[${x}]`);if(V===w)return`[&${x}]`}return null})(c.value);if(m===null)continue;d&&(m=`not-${m}`);let h=n.parseVariant(m);if(h===null)continue;W(l,h)}else if(he(f)){let c=lt(f.value);if(c===null)continue;if(c.attribute.startsWith("data-")){let d=c.attribute.slice(5);W(l,{kind:"functional",root:"data",modifier:null,value:c.value===null?{kind:"named",value:d}:{kind:"arbitrary",value:`${d}${c.operator}${c.quote??""}${c.value}${c.quote??""}${c.sensitivity?` ${c.sensitivity}`:""}`}})}else if(c.attribute.startsWith("aria-")){let d=c.attribute.slice(5);W(l,{kind:"functional",root:"aria",modifier:null,value:c.value===null?{kind:"arbitrary",value:d}:c.operator==="="&&c.value==="true"&&c.sensitivity===null?{kind:"named",value:d}:{kind:"arbitrary",value:`${c.attribute}${c.operator}${c.quote??""}${c.value}${c.quote??""}${c.sensitivity?` ${c.sensitivity}`:""}`}})}}if(u)return[u,l]}return r}function ti(e,t){if(e.kind!=="functional"&&e.kind!=="arbitrary"||e.modifier===null)return e;let r=t.designSystem,n=H.get(t.signatureOptions),o=n.get(r.printCandidate(e)),i=e.modifier;if(o===n.get(r.printCandidate({...e,modifier:null})))return e.modifier=null,e;{let l={kind:"named",value:i.value.endsWith("%")?i.value.includes(".")?`${Number(i.value.slice(0,-1))}`:i.value.slice(0,-1):i.value,fraction:null};if(o===n.get(r.printCandidate({...e,modifier:l})))return e.modifier=l,e}{let l={kind:"named",value:`${parseFloat(i.value)*100}`,fraction:null};if(o===n.get(r.printCandidate({...e,modifier:l})))return e.modifier=l,e}return e}function ce(e,t,{onInvalidCandidate:r,respectImportant:n}={}){let o=new Map,i=[],l=new Map;for(let u of e){if(t.invalidCandidates.has(u)){r?.(u);continue}let p=t.parseCandidate(u);if(p.length===0){r?.(u);continue}l.set(u,p)}let s=0;(n??!0)&&(s|=1);let a=t.getVariantOrder();for(let[u,p]of l){let f=!1;for(let c of p){let d=t.compileAstNodes(c,s);if(d.length!==0){f=!0;for(let{node:m,propertySort:h}of d){let x=0n;for(let V of c.variants)x|=1n<<BigInt(a.get(V));o.set(m,{properties:h,variants:x,candidate:u}),i.push(m)}}}f||r?.(u)}return i.sort((u,p)=>{let f=o.get(u),c=o.get(p);if(f.variants-c.variants!==0n)return Number(f.variants-c.variants);let d=0;for(;d<f.properties.order.length&&d<c.properties.order.length&&f.properties.order[d]===c.properties.order[d];)d+=1;return(f.properties.order[d]??1/0)-(c.properties.order[d]??1/0)||c.properties.count-f.properties.count||$e(f.candidate,c.candidate)}),{astNodes:i,nodeSorting:o}}function ue(e,t){let r=0,n=K("&",e),o=new Set,i=new g(()=>new Set),l=new g(()=>new Set);k([n],(f,c)=>{if(f.kind==="at-rule"){if(f.name==="@keyframes")return k(f.nodes,d=>{if(d.kind==="at-rule"&&d.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),v.Skip;if(f.name==="@utility"){let d=f.params.replace(/-\*$/,"");l.get(d).add(f),k(f.nodes,m=>{if(!(m.kind!=="at-rule"||m.name!=="@apply")){o.add(f);for(let h of Ot(m,t))i.get(f).add(h)}});return}if(f.name==="@apply"){if(c.parent===null)return;r|=1,o.add(c.parent);for(let d of Ot(f,t))for(let m of c.path())o.has(m)&&i.get(m).add(d)}}});let s=new Set,a=[],u=new Set;function p(f,c=[]){if(!s.has(f)){if(u.has(f)){let d=c[(c.indexOf(f)+1)%c.length];throw f.kind==="at-rule"&&f.name==="@utility"&&d.kind==="at-rule"&&d.name==="@utility"&&k(f.nodes,m=>{if(m.kind!=="at-rule"||m.name!=="@apply")return;let h=m.params.split(/\s+/g);for(let x of h)for(let V of t.parseCandidate(x))switch(V.kind){case"arbitrary":break;case"static":case"functional":if(d.params.replace(/-\*$/,"")===V.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
+ ${I([f])}
9
+ Relies on:
10
+
11
+ ${I([d])}`)}u.add(f);for(let d of i.get(f))for(let m of l.get(d))c.push(f),p(m,c),c.pop();s.add(f),u.delete(f),a.push(f)}}for(let f of o)p(f);for(let f of a)"nodes"in f&&k(f.nodes,c=>{if(c.kind!=="at-rule"||c.name!=="@apply")return;let d=c.params.split(/(\s+)/g),m={},h=0;for(let[x,V]of d.entries())x%2===0&&(m[V]=h),h+=V.length;{let x=Object.keys(m),V=ce(x,t,{respectImportant:!1,onInvalidCandidate:b=>{if(t.theme.prefix&&!b.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${b}\`. Did you mean \`${t.theme.prefix}:${b}\`?`);if(t.invalidCandidates.has(b))throw new Error(`Cannot apply utility class \`${b}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let N=C(b,":");if(N.length>1){let $=N.pop();if(t.candidatesToCss([$])[0]){let E=t.candidatesToCss(N.map(te=>`${te}:[--tw-variant-check:1]`)),M=N.filter((te,be)=>E[be]===null);if(M.length>0){if(M.length===1)throw new Error(`Cannot apply utility class \`${b}\` because the ${M.map(te=>`\`${te}\``)} variant does not exist.`);{let te=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${b}\` because the ${te.format(M.map(be=>`\`${be}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${b}\`. 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 \`${b}\``)}}),w=c.src,A=V.astNodes.map(b=>{let N=V.nodeSorting.get(b)?.candidate,$=N?m[N]:void 0;if(b=D(b),!w||!N||$===void 0)return k([b],M=>{M.src=w}),b;let E=[w[0],w[1],w[2]];return E[1]+=7+$,E[2]=E[1]+N.length,k([b],M=>{M.src=E}),b}),Y=[];for(let b of A)if(b.kind==="rule")for(let N of b.nodes)Y.push(N);else Y.push(b);return v.Replace(Y)}});return r}function*Ot(e,t){for(let r of e.params.split(/\s+/g))for(let n of t.parseCandidate(r))switch(n.kind){case"arbitrary":break;case"static":case"functional":yield n.root;break;default:}}var ai=32,si=9;var ui=40;function Ut(e,t=[]){let r=e,n="";for(let o=5;o<e.length;o++){let i=e.charCodeAt(o);if(i===ai||i===si||i===ui){r=e.slice(0,o),n=e.slice(o);break}}return P(r.trim(),n.trim(),t)}var Oe={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(R(e.value))return e.value}),O=ee(e=>{if(R(e.value))return`${e.value}%`}),Z=ee(e=>{if(R(e.value))return`${e.value}px`}),It=ee(e=>{if(R(e.value))return`${e.value}ms`}),we=ee(e=>{if(R(e.value))return`${e.value}deg`}),mi=ee(e=>{if(e.fraction===null)return;let[t,r]=C(e.fraction,"/");if(!(!R(t)||!R(r)))return e.fraction}),Lt=ee(e=>{if(R(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),gi={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",...mi},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...O}),backdropContrast:({theme:e})=>({...e("contrast"),...O}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...O}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...we}),backdropInvert:({theme:e})=>({...e("invert"),...O}),backdropOpacity:({theme:e})=>({...e("opacity"),...O}),backdropSaturate:({theme:e})=>({...e("saturate"),...O}),backdropSepia:({theme:e})=>({...e("sepia"),...O}),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",...O},caretColor:({theme:e})=>e("colors"),colors:()=>({...Oe}),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",...O},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",...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%",...O},grayscale:{0:"0",DEFAULT:"100%",...O},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))",...Lt},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))",...Lt},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",...we},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%",...O},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",...O},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",...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",...we},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...O},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",...O},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%",...O},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...we},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",...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",...It},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...It},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 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 i=0,l=t.length;for(;l>0;){let a=(l|0)>>1,u=i+a;t[u]<=o?(i=u+1,l=l-a-1):l=a}i-=1;let s=o-t[i];return{line:i+1,column:s}}function n({line:o,column:i}){o-=1,o=Math.min(Math.max(o,0),t.length-1);let l=t[o],s=t[o+1]??l;return Math.min(Math.max(l+i,0),s)}return{find:r,findOffset:n}}var vi=64;function j(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function P(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function K(e,t=[]){return e.charCodeAt(0)===vi?Ut(e,t):j(e,t)}function U(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function ke(e){return{kind:"comment",value:e}}function D(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(D),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(D),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(D),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(D),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 I(e,t){let r=0,n={file:null,code:""};function o(l,s=0){let a="",u=" ".repeat(s);if(l.kind==="declaration"){if(a+=`${u}${l.property}: ${l.value}${l.important?" !important":""};
12
+ `,t){r+=u.length;let p=r;r+=l.property.length,r+=2,r+=l.value?.length??0,l.important&&(r+=11);let f=r;r+=2,l.dst=[n,p,f]}}else if(l.kind==="rule"){if(a+=`${u}${l.selector} {
13
+ `,t){r+=u.length;let p=r;r+=l.selector.length,r+=1;let f=r;l.dst=[n,p,f],r+=2}for(let p of l.nodes)a+=o(p,s+1);a+=`${u}}
14
+ `,t&&(r+=u.length,r+=2)}else if(l.kind==="at-rule"){if(l.nodes.length===0){let p=`${u}${l.name} ${l.params};
15
+ `;if(t){r+=u.length;let f=r;r+=l.name.length,r+=1,r+=l.params.length;let c=r;r+=2,l.dst=[n,f,c]}return p}if(a+=`${u}${l.name}${l.params?` ${l.params} `:" "}{
16
+ `,t){r+=u.length;let p=r;r+=l.name.length,l.params&&(r+=1,r+=l.params.length),r+=1;let f=r;l.dst=[n,p,f],r+=2}for(let p of l.nodes)a+=o(p,s+1);a+=`${u}}
17
+ `,t&&(r+=u.length,r+=2)}else if(l.kind==="comment"){if(a+=`${u}/*${l.value}*/
18
+ `,t){r+=u.length;let p=r;r+=2+l.value.length+2;let f=r;l.dst=[n,p,f],r+=1}}else if(l.kind==="context"||l.kind==="at-root")return"";return a}let i="";for(let l of e)i+=o(l,0);return n.code=i,i}var ki=33;function zt(e,t,r){let n=new g(u=>new e.Input(u.code,{map:r?.input.map,from:u.file??void 0})),o=new g(u=>Ue(u.code)),i=e.root();i.source=r;function l(u){if(!u||!u[0])return;let p=o.get(u[0]),f=p.find(u[1]),c=p.find(u[2]);return{input:n.get(u[0]),start:{line:f.line,column:f.column+1,offset:u[1]},end:{line:c.line,column:c.column+1,offset:u[2]}}}function s(u,p){let f=l(p);f?u.source=f:delete u.source}function a(u,p){if(u.kind==="declaration"){let f=e.decl({prop:u.property,value:u.value??"",important:u.important});s(f,u.src),p.append(f)}else if(u.kind==="rule"){let f=e.rule({selector:u.selector});s(f,u.src),f.raws.semicolon=!0,p.append(f);for(let c of u.nodes)a(c,f)}else if(u.kind==="at-rule"){let f=e.atRule({name:u.name.slice(1),params:u.params});s(f,u.src),f.raws.semicolon=!0,p.append(f);for(let c of u.nodes)a(c,f)}else if(u.kind==="comment"){let f=e.comment({text:u.value});f.raws.left="",f.raws.right="",s(f,u.src),p.append(f)}else u.kind==="at-root"||u.kind}for(let u of t)a(u,i);return i}function Kt(e){let t=new g(i=>({file:i.file??i.id??null,code:i.css}));function r(i){let l=i.source;if(!l)return;let s=l.input;if(s&&l.start!==void 0&&l.end!==void 0)return[t.get(s),l.start.offset,l.end.offset]}function n(i,l){if(i.type==="decl"){let s=U(i.prop,i.value,i.important);s.src=r(i),l.push(s)}else if(i.type==="rule"){let s=K(i.selector);s.src=r(i),i.each(a=>n(a,s.nodes)),l.push(s)}else if(i.type==="atrule"){let s=P(`@${i.name}`,i.params);s.src=r(i),i.each(a=>n(a,s.nodes)),l.push(s)}else if(i.type==="comment"){if(i.text.charCodeAt(0)!==ki)return;let s=ke(i.text);s.src=r(i),l.push(s)}}let o=[];return e.each(i=>n(i,o)),o}import{normalizePath as Mt}from"@tailwindcss/node";import ye from"path";var _e="'",De='"';function Ie(){let e=new WeakSet;function t(r){let n=r.root().source?.input.file;if(!n)return;let o=r.source?.input.file;if(!o||e.has(r))return;let i=r.params[0],l=i[0]===De&&i[i.length-1]===De?De:i[0]===_e&&i[i.length-1]===_e?_e: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 u=ye.posix.join(Mt(ye.dirname(o)),s),p=ye.posix.dirname(Mt(n)),f=ye.posix.relative(p,u);f.startsWith(".")||(f="./"+f),r.params=l+a+f+l,e.add(r)}return{postcssPlugin:"tailwindcss-postcss-fix-relative-paths",Once(r){r.walkAtRules(/source|plugin|config/,t)}}}var y=bi.DEBUG,Ke=new wi({maxSize:50});function Vi(e,t,r){let n=`${t}:${r.base??""}:${JSON.stringify(r.optimize)}`;if(Ke.has(n))return Ke.get(n);let o={mtimes:new Map,compiler:null,scanner:null,tailwindCssAst:[],cachedPostCssAst:e.root(),optimizedPostCssAst:e.root(),fullRebuildPaths:[]};return Ke.set(n,o),o}function Ti(e={}){let t=e.base??process.cwd(),r=e.optimize??process.env.NODE_ENV==="production",n=e.transformAssetUrls??!0;return{postcssPlugin:"@tailwindcss/postcss",plugins:[Ie(),{postcssPlugin:"tailwindcss",async Once(o,{result:i,postcss:l}){var m=[];try{let s=je(m,new xi);let a=i.opts.from??"";let u=a.endsWith(".module.css");y&&s.start(`[@tailwindcss/postcss] ${Ft(t,a)}`);{y&&s.start("Quick bail check");let w=!0;if(o.walkAtRules(A=>{if(A.name==="import"||A.name==="reference"||A.name==="theme"||A.name==="variant"||A.name==="config"||A.name==="plugin"||A.name==="apply"||A.name==="tailwind")return w=!1,!1}),w)return;y&&s.end("Quick bail check")}let p=Vi(l,a,e);let f=Q.dirname(Q.resolve(a));let c=p.compiler===null;async function d(){y&&s.start("Setup compiler"),p.fullRebuildPaths.length>0&&!c&&Ci(p.fullRebuildPaths),p.fullRebuildPaths=[],y&&s.start("PostCSS AST -> Tailwind CSS AST");let w=Kt(o);y&&s.end("PostCSS AST -> Tailwind CSS AST"),y&&s.start("Create compiler");let A=await yi(w,{from:i.opts.from,base:f,shouldRewriteUrls:n,onDependency:Y=>p.fullRebuildPaths.push(Y),polyfills:u?ze.All^ze.AtProperty:ze.All});return y&&s.end("Create compiler"),y&&s.end("Setup compiler"),A}try{if(p.compiler??=d(),(await p.compiler).features===Le.None)return;let w="incremental";y&&s.start("Register full rebuild paths");{for(let $ of p.fullRebuildPaths)i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Q.resolve($),parent:i.opts.from});let N=i.messages.flatMap($=>$.type!=="dependency"?[]:$.file);N.push(a);for(let $ of N){let E=$i.statSync($,{throwIfNoEntry:!1})?.mtimeMs??null;if(E===null){$===a&&(w="full");continue}p.mtimes.get($)!==E&&(w="full",p.mtimes.set($,E))}}y&&s.end("Register full rebuild paths"),w==="full"&&!c&&(p.compiler=d());let A=await p.compiler;if(p.scanner===null||w==="full"){y&&s.start("Setup scanner");let N=(A.root==="none"?[]:A.root===null?[{base:t,pattern:"**/*",negated:!1}]:[{...A.root,negated:!1}]).concat(A.sources);p.scanner=new Si({sources:N}),y&&s.end("Setup scanner")}y&&s.start("Scan for candidates");let Y=A.features&Le.Utilities?p.scanner.scan():[];if(y&&s.end("Scan for candidates"),A.features&Le.Utilities){y&&s.start("Register dependency messages");let N=Q.resolve(t,a);for(let $ of p.scanner.files){let E=Q.resolve($);E!==N&&i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:E,parent:i.opts.from})}for(let{base:$,pattern:E}of p.scanner.globs)E==="*"&&t===$||(E===""?i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Q.resolve($),parent:i.opts.from}):i.messages.push({type:"dir-dependency",plugin:"@tailwindcss/postcss",dir:Q.resolve($),glob:E,parent:i.opts.from}));y&&s.end("Register dependency messages")}y&&s.start("Build utilities");let b=A.build(Y);if(y&&s.end("Build utilities"),p.tailwindCssAst!==b)if(r){y&&s.start("Optimization"),y&&s.start("AST -> CSS");let N=I(b);y&&s.end("AST -> CSS"),y&&s.start("Lightning CSS");let $=Ai(N,{minify:typeof r=="object"?r.minify:!0});y&&s.end("Lightning CSS"),y&&s.start("CSS -> PostCSS AST"),p.optimizedPostCssAst=l.parse($.code,i.opts),y&&s.end("CSS -> PostCSS AST"),y&&s.end("Optimization")}else y&&s.start("Transform Tailwind CSS AST into PostCSS AST"),p.cachedPostCssAst=zt(l,b,o.source),y&&s.end("Transform Tailwind CSS AST into PostCSS AST");p.tailwindCssAst=b,y&&s.start("Update PostCSS AST"),o.removeAll(),o.append(r?p.optimizedPostCssAst.clone().nodes:p.cachedPostCssAst.clone().nodes),o.raws.indent=" ",y&&s.end("Update PostCSS AST"),y&&s.end(`[@tailwindcss/postcss] ${Ft(t,a)}`)}catch(w){p.compiler=null;for(let A of p.fullRebuildPaths)i.messages.push({type:"dependency",plugin:"@tailwindcss/postcss",file:Q.resolve(A),parent:i.opts.from});throw console.error(w),w&&typeof w=="object"&&"message"in w?o.error(`${w.message}`):o.error(`${w}`)}}catch(h){var x=h,V=!0}finally{We(m,x,V)}}}]}}var fu=Object.assign(Ti,{postcss:!0});export{fu as default};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailwindcss/postcss",
3
- "version": "0.0.0-insiders.74e084a",
3
+ "version": "0.0.0-insiders.7537e34",
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.74e084a",
31
- "@tailwindcss/oxide": "0.0.0-insiders.74e084a",
32
- "tailwindcss": "0.0.0-insiders.74e084a"
30
+ "@tailwindcss/node": "0.0.0-insiders.7537e34",
31
+ "tailwindcss": "0.0.0-insiders.7537e34",
32
+ "@tailwindcss/oxide": "0.0.0-insiders.7537e34"
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.6.0",
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": {