@tailwindcss/node 0.0.0-insiders.5532d48 → 0.0.0-insiders.561983d

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,10 @@ 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**.
@@ -1 +1 @@
1
- import{isBuiltin as i}from"node:module";var o=async(a,e,u)=>{let r=await u(a,e);if(r.url===import.meta.url||i(r.url)||!e.parentURL)return r;let t=new URL(e.parentURL).searchParams.get("id");if(t===null)return r;let l=new URL(r.url);return l.searchParams.set("id",t),{...r,url:`${l}`}};export{o as resolve};
1
+ import{isBuiltin as i}from"module";var o=async(a,e,u)=>{let r=await u(a,e);if(r.url===import.meta.url||i(r.url)||!e.parentURL)return r;let t=new URL(e.parentURL).searchParams.get("id");if(t===null)return r;let l=new URL(r.url);return l.searchParams.set("id",t),{...r,url:`${l}`}};export{o as resolve};
package/dist/index.d.mts CHANGED
@@ -4,8 +4,9 @@ import { ClassEntry, VariantEntry } from './intellisense';
4
4
  import { Theme } from './theme';
5
5
  import { Utilities } from './utilities';
6
6
  import { Variants } from './variants';
7
- import { Features } from 'tailwindcss';
8
- export { Features } from 'tailwindcss';
7
+ import * as tailwindcss from 'tailwindcss';
8
+ import { Polyfills, Features } from 'tailwindcss';
9
+ export { Features, Polyfills } from 'tailwindcss';
9
10
 
10
11
  declare const DEBUG: boolean;
11
12
 
@@ -14,6 +15,10 @@ declare namespace env {
14
15
  export { env_DEBUG as DEBUG };
15
16
  }
16
17
 
18
+ declare const enum CompileAstFlags {
19
+ None = 0,
20
+ RespectImportant = 1
21
+ }
17
22
  type DesignSystem = {
18
23
  theme: Theme;
19
24
  utilities: Utilities;
@@ -25,57 +30,152 @@ type DesignSystem = {
25
30
  getVariants(): VariantEntry[];
26
31
  parseCandidate(candidate: string): Readonly<Candidate>[];
27
32
  parseVariant(variant: string): Readonly<Variant> | null;
28
- compileAstNodes(candidate: Candidate): ReturnType<typeof compileAstNodes>;
33
+ compileAstNodes(candidate: Candidate, flags?: CompileAstFlags): ReturnType<typeof compileAstNodes>;
34
+ printCandidate(candidate: Candidate): string;
35
+ printVariant(variant: Variant): string;
29
36
  getVariantOrder(): Map<Variant, number>;
30
- resolveThemeValue(path: string): string | undefined;
37
+ resolveThemeValue(path: string, forceInline?: boolean): string | undefined;
31
38
  trackUsedVariables(raw: string): void;
39
+ canonicalizeCandidates(candidates: string[]): string[];
32
40
  candidatesToCss(classes: string[]): (string | null)[];
33
41
  };
34
42
 
43
+ /**
44
+ * The source code for one or more nodes in the AST
45
+ *
46
+ * This generally corresponds to a stylesheet
47
+ */
48
+ interface Source {
49
+ /**
50
+ * The path to the file that contains the referenced source code
51
+ *
52
+ * If this references the *output* source code, this is `null`.
53
+ */
54
+ file: string | null;
55
+ /**
56
+ * The referenced source code
57
+ */
58
+ code: string;
59
+ }
60
+ /**
61
+ * The file and offsets within it that this node covers
62
+ *
63
+ * This can represent either:
64
+ * - A location in the original CSS which caused this node to be created
65
+ * - A location in the output CSS where this node resides
66
+ */
67
+ type SourceLocation = [source: Source, start: number, end: number];
68
+
69
+ /**
70
+ * Line offset tables are the key to generating our source maps. They allow us
71
+ * to store indexes with our AST nodes and later convert them into positions as
72
+ * when given the source that the indexes refer to.
73
+ */
74
+ /**
75
+ * A position in source code
76
+ *
77
+ * https://tc39.es/ecma426/#sec-position-record-type
78
+ */
79
+ interface Position {
80
+ /** The line number, one-based */
81
+ line: number;
82
+ /** The column/character number, one-based */
83
+ column: number;
84
+ }
85
+
86
+ interface OriginalPosition extends Position {
87
+ source: DecodedSource;
88
+ }
89
+ /**
90
+ * A "decoded" sourcemap
91
+ *
92
+ * @see https://tc39.es/ecma426/#decoded-source-map-record
93
+ */
94
+ interface DecodedSourceMap {
95
+ file: string | null;
96
+ sources: DecodedSource[];
97
+ mappings: DecodedMapping[];
98
+ }
99
+ /**
100
+ * A "decoded" source
101
+ *
102
+ * @see https://tc39.es/ecma426/#decoded-source-record
103
+ */
104
+ interface DecodedSource {
105
+ url: string | null;
106
+ content: string | null;
107
+ ignore: boolean;
108
+ }
109
+ /**
110
+ * A "decoded" mapping
111
+ *
112
+ * @see https://tc39.es/ecma426/#decoded-mapping-record
113
+ */
114
+ interface DecodedMapping {
115
+ originalPosition: OriginalPosition | null;
116
+ generatedPosition: Position;
117
+ name: string | null;
118
+ }
119
+
35
120
  type StyleRule = {
36
121
  kind: 'rule';
37
122
  selector: string;
38
123
  nodes: AstNode[];
124
+ src?: SourceLocation;
125
+ dst?: SourceLocation;
39
126
  };
40
127
  type AtRule = {
41
128
  kind: 'at-rule';
42
129
  name: string;
43
130
  params: string;
44
131
  nodes: AstNode[];
132
+ src?: SourceLocation;
133
+ dst?: SourceLocation;
45
134
  };
46
135
  type Declaration = {
47
136
  kind: 'declaration';
48
137
  property: string;
49
138
  value: string | undefined;
50
139
  important: boolean;
140
+ src?: SourceLocation;
141
+ dst?: SourceLocation;
51
142
  };
52
143
  type Comment = {
53
144
  kind: 'comment';
54
145
  value: string;
146
+ src?: SourceLocation;
147
+ dst?: SourceLocation;
55
148
  };
56
149
  type Context = {
57
150
  kind: 'context';
58
151
  context: Record<string, string | boolean>;
59
152
  nodes: AstNode[];
153
+ src?: undefined;
154
+ dst?: undefined;
60
155
  };
61
156
  type AtRoot = {
62
157
  kind: 'at-root';
63
158
  nodes: AstNode[];
159
+ src?: undefined;
160
+ dst?: undefined;
64
161
  };
65
162
  type AstNode = StyleRule | AtRule | Declaration | Comment | Context | AtRoot;
66
163
 
67
164
  type Resolver = (id: string, base: string) => Promise<string | false | undefined>;
68
165
  interface CompileOptions {
69
166
  base: string;
167
+ from?: string;
70
168
  onDependency: (path: string) => void;
71
169
  shouldRewriteUrls?: boolean;
170
+ polyfills?: Polyfills;
72
171
  customCssResolver?: Resolver;
73
172
  customJsResolver?: Resolver;
74
173
  }
75
174
  declare function compileAst(ast: AstNode[], options: CompileOptions): Promise<{
76
- globs: {
175
+ sources: {
77
176
  base: string;
78
177
  pattern: string;
178
+ negated: boolean;
79
179
  }[];
80
180
  root: "none" | {
81
181
  base: string;
@@ -85,9 +185,10 @@ declare function compileAst(ast: AstNode[], options: CompileOptions): Promise<{
85
185
  build(candidates: string[]): AstNode[];
86
186
  }>;
87
187
  declare function compile(css: string, options: CompileOptions): Promise<{
88
- globs: {
188
+ sources: {
89
189
  base: string;
90
190
  pattern: string;
191
+ negated: boolean;
91
192
  }[];
92
193
  root: "none" | {
93
194
  base: string;
@@ -95,10 +196,16 @@ declare function compile(css: string, options: CompileOptions): Promise<{
95
196
  } | null;
96
197
  features: Features;
97
198
  build(candidates: string[]): string;
199
+ buildSourceMap(): tailwindcss.DecodedSourceMap;
98
200
  }>;
99
201
  declare function __unstable__loadDesignSystem(css: string, { base }: {
100
202
  base: string;
101
203
  }): Promise<DesignSystem>;
204
+ declare function loadModule(id: string, base: string, onDependency: (path: string) => void, customJsResolver?: Resolver): Promise<{
205
+ path: string;
206
+ base: string;
207
+ module: any;
208
+ }>;
102
209
 
103
210
  declare class Instrumentation implements Disposable {
104
211
  #private;
@@ -114,4 +221,32 @@ declare class Instrumentation implements Disposable {
114
221
 
115
222
  declare function normalizePath(originalPath: string): string;
116
223
 
117
- export { Instrumentation, __unstable__loadDesignSystem, compile, compileAst, env, normalizePath };
224
+ interface OptimizeOptions {
225
+ /**
226
+ * The file being transformed
227
+ */
228
+ file?: string;
229
+ /**
230
+ * Enabled minified output
231
+ */
232
+ minify?: boolean;
233
+ /**
234
+ * The output source map before optimization
235
+ *
236
+ * If omitted a resulting source map will not be available
237
+ */
238
+ map?: string;
239
+ }
240
+ interface TransformResult {
241
+ code: string;
242
+ map: string | undefined;
243
+ }
244
+ declare function optimize(input: string, { file, minify, map }?: OptimizeOptions): TransformResult;
245
+
246
+ interface SourceMap {
247
+ readonly raw: string;
248
+ readonly inline: string;
249
+ }
250
+ declare function toSourceMap(map: DecodedSourceMap | string): SourceMap;
251
+
252
+ export { type CompileOptions, type DecodedSource, type DecodedSourceMap, Instrumentation, type OptimizeOptions, type Resolver, type SourceMap, type TransformResult, __unstable__loadDesignSystem, compile, compileAst, env, loadModule, normalizePath, optimize, toSourceMap };
package/dist/index.d.ts CHANGED
@@ -4,8 +4,9 @@ import { ClassEntry, VariantEntry } from './intellisense';
4
4
  import { Theme } from './theme';
5
5
  import { Utilities } from './utilities';
6
6
  import { Variants } from './variants';
7
- import { Features } from 'tailwindcss';
8
- export { Features } from 'tailwindcss';
7
+ import * as tailwindcss from 'tailwindcss';
8
+ import { Polyfills, Features } from 'tailwindcss';
9
+ export { Features, Polyfills } from 'tailwindcss';
9
10
 
10
11
  declare const DEBUG: boolean;
11
12
 
@@ -14,6 +15,10 @@ declare namespace env {
14
15
  export { env_DEBUG as DEBUG };
15
16
  }
16
17
 
18
+ declare const enum CompileAstFlags {
19
+ None = 0,
20
+ RespectImportant = 1
21
+ }
17
22
  type DesignSystem = {
18
23
  theme: Theme;
19
24
  utilities: Utilities;
@@ -25,57 +30,152 @@ type DesignSystem = {
25
30
  getVariants(): VariantEntry[];
26
31
  parseCandidate(candidate: string): Readonly<Candidate>[];
27
32
  parseVariant(variant: string): Readonly<Variant> | null;
28
- compileAstNodes(candidate: Candidate): ReturnType<typeof compileAstNodes>;
33
+ compileAstNodes(candidate: Candidate, flags?: CompileAstFlags): ReturnType<typeof compileAstNodes>;
34
+ printCandidate(candidate: Candidate): string;
35
+ printVariant(variant: Variant): string;
29
36
  getVariantOrder(): Map<Variant, number>;
30
- resolveThemeValue(path: string): string | undefined;
37
+ resolveThemeValue(path: string, forceInline?: boolean): string | undefined;
31
38
  trackUsedVariables(raw: string): void;
39
+ canonicalizeCandidates(candidates: string[]): string[];
32
40
  candidatesToCss(classes: string[]): (string | null)[];
33
41
  };
34
42
 
43
+ /**
44
+ * The source code for one or more nodes in the AST
45
+ *
46
+ * This generally corresponds to a stylesheet
47
+ */
48
+ interface Source {
49
+ /**
50
+ * The path to the file that contains the referenced source code
51
+ *
52
+ * If this references the *output* source code, this is `null`.
53
+ */
54
+ file: string | null;
55
+ /**
56
+ * The referenced source code
57
+ */
58
+ code: string;
59
+ }
60
+ /**
61
+ * The file and offsets within it that this node covers
62
+ *
63
+ * This can represent either:
64
+ * - A location in the original CSS which caused this node to be created
65
+ * - A location in the output CSS where this node resides
66
+ */
67
+ type SourceLocation = [source: Source, start: number, end: number];
68
+
69
+ /**
70
+ * Line offset tables are the key to generating our source maps. They allow us
71
+ * to store indexes with our AST nodes and later convert them into positions as
72
+ * when given the source that the indexes refer to.
73
+ */
74
+ /**
75
+ * A position in source code
76
+ *
77
+ * https://tc39.es/ecma426/#sec-position-record-type
78
+ */
79
+ interface Position {
80
+ /** The line number, one-based */
81
+ line: number;
82
+ /** The column/character number, one-based */
83
+ column: number;
84
+ }
85
+
86
+ interface OriginalPosition extends Position {
87
+ source: DecodedSource;
88
+ }
89
+ /**
90
+ * A "decoded" sourcemap
91
+ *
92
+ * @see https://tc39.es/ecma426/#decoded-source-map-record
93
+ */
94
+ interface DecodedSourceMap {
95
+ file: string | null;
96
+ sources: DecodedSource[];
97
+ mappings: DecodedMapping[];
98
+ }
99
+ /**
100
+ * A "decoded" source
101
+ *
102
+ * @see https://tc39.es/ecma426/#decoded-source-record
103
+ */
104
+ interface DecodedSource {
105
+ url: string | null;
106
+ content: string | null;
107
+ ignore: boolean;
108
+ }
109
+ /**
110
+ * A "decoded" mapping
111
+ *
112
+ * @see https://tc39.es/ecma426/#decoded-mapping-record
113
+ */
114
+ interface DecodedMapping {
115
+ originalPosition: OriginalPosition | null;
116
+ generatedPosition: Position;
117
+ name: string | null;
118
+ }
119
+
35
120
  type StyleRule = {
36
121
  kind: 'rule';
37
122
  selector: string;
38
123
  nodes: AstNode[];
124
+ src?: SourceLocation;
125
+ dst?: SourceLocation;
39
126
  };
40
127
  type AtRule = {
41
128
  kind: 'at-rule';
42
129
  name: string;
43
130
  params: string;
44
131
  nodes: AstNode[];
132
+ src?: SourceLocation;
133
+ dst?: SourceLocation;
45
134
  };
46
135
  type Declaration = {
47
136
  kind: 'declaration';
48
137
  property: string;
49
138
  value: string | undefined;
50
139
  important: boolean;
140
+ src?: SourceLocation;
141
+ dst?: SourceLocation;
51
142
  };
52
143
  type Comment = {
53
144
  kind: 'comment';
54
145
  value: string;
146
+ src?: SourceLocation;
147
+ dst?: SourceLocation;
55
148
  };
56
149
  type Context = {
57
150
  kind: 'context';
58
151
  context: Record<string, string | boolean>;
59
152
  nodes: AstNode[];
153
+ src?: undefined;
154
+ dst?: undefined;
60
155
  };
61
156
  type AtRoot = {
62
157
  kind: 'at-root';
63
158
  nodes: AstNode[];
159
+ src?: undefined;
160
+ dst?: undefined;
64
161
  };
65
162
  type AstNode = StyleRule | AtRule | Declaration | Comment | Context | AtRoot;
66
163
 
67
164
  type Resolver = (id: string, base: string) => Promise<string | false | undefined>;
68
165
  interface CompileOptions {
69
166
  base: string;
167
+ from?: string;
70
168
  onDependency: (path: string) => void;
71
169
  shouldRewriteUrls?: boolean;
170
+ polyfills?: Polyfills;
72
171
  customCssResolver?: Resolver;
73
172
  customJsResolver?: Resolver;
74
173
  }
75
174
  declare function compileAst(ast: AstNode[], options: CompileOptions): Promise<{
76
- globs: {
175
+ sources: {
77
176
  base: string;
78
177
  pattern: string;
178
+ negated: boolean;
79
179
  }[];
80
180
  root: "none" | {
81
181
  base: string;
@@ -85,9 +185,10 @@ declare function compileAst(ast: AstNode[], options: CompileOptions): Promise<{
85
185
  build(candidates: string[]): AstNode[];
86
186
  }>;
87
187
  declare function compile(css: string, options: CompileOptions): Promise<{
88
- globs: {
188
+ sources: {
89
189
  base: string;
90
190
  pattern: string;
191
+ negated: boolean;
91
192
  }[];
92
193
  root: "none" | {
93
194
  base: string;
@@ -95,11 +196,13 @@ declare function compile(css: string, options: CompileOptions): Promise<{
95
196
  } | null;
96
197
  features: Features;
97
198
  build(candidates: string[]): string;
199
+ buildSourceMap(): tailwindcss.DecodedSourceMap;
98
200
  }>;
99
201
  declare function __unstable__loadDesignSystem(css: string, { base }: {
100
202
  base: string;
101
203
  }): Promise<DesignSystem>;
102
204
  declare function loadModule(id: string, base: string, onDependency: (path: string) => void, customJsResolver?: Resolver): Promise<{
205
+ path: string;
103
206
  base: string;
104
207
  module: any;
105
208
  }>;
@@ -118,4 +221,32 @@ declare class Instrumentation implements Disposable {
118
221
 
119
222
  declare function normalizePath(originalPath: string): string;
120
223
 
121
- export { type CompileOptions, Instrumentation, type Resolver, __unstable__loadDesignSystem, compile, compileAst, env, loadModule, normalizePath };
224
+ interface OptimizeOptions {
225
+ /**
226
+ * The file being transformed
227
+ */
228
+ file?: string;
229
+ /**
230
+ * Enabled minified output
231
+ */
232
+ minify?: boolean;
233
+ /**
234
+ * The output source map before optimization
235
+ *
236
+ * If omitted a resulting source map will not be available
237
+ */
238
+ map?: string;
239
+ }
240
+ interface TransformResult {
241
+ code: string;
242
+ map: string | undefined;
243
+ }
244
+ declare function optimize(input: string, { file, minify, map }?: OptimizeOptions): TransformResult;
245
+
246
+ interface SourceMap {
247
+ readonly raw: string;
248
+ readonly inline: string;
249
+ }
250
+ declare function toSourceMap(map: DecodedSourceMap | string): SourceMap;
251
+
252
+ export { type CompileOptions, type DecodedSource, type DecodedSourceMap, Instrumentation, type OptimizeOptions, type Resolver, type SourceMap, type TransformResult, __unstable__loadDesignSystem, compile, compileAst, env, loadModule, normalizePath, optimize, toSourceMap };
package/dist/index.js CHANGED
@@ -1,15 +1,26 @@
1
- "use strict";var Ce=Object.create;var R=Object.defineProperty;var Re=Object.getOwnPropertyDescriptor;var ke=Object.getOwnPropertyNames;var $e=Object.getPrototypeOf,be=Object.prototype.hasOwnProperty;var X=(e,t)=>{for(var r in t)R(e,r,{get:t[r],enumerable:!0})},Z=(e,t,r,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of ke(t))!be.call(e,n)&&n!==r&&R(e,n,{get:()=>t[n],enumerable:!(s=Re(t,n))||s.enumerable});return e};var h=(e,t,r)=>(r=e!=null?Ce($e(e)):{},Z(t||!e||!e.__esModule?R(r,"default",{value:e,enumerable:!0}):r,e)),Te=e=>Z(R({},"__esModule",{value:!0}),e);var ht={};X(ht,{Features:()=>g.Features,Instrumentation:()=>Y,__unstable__loadDesignSystem:()=>ut,compile:()=>at,compileAst:()=>ot,env:()=>k,loadModule:()=>J,normalizePath:()=>D});module.exports=Te(ht);var we=h(require("module")),Ee=require("url");var k={};X(k,{DEBUG:()=>V});var V=_e(process.env.DEBUG);function _e(e){if(e===void 0)return!1;if(e==="true"||e==="1")return!0;if(e==="false"||e==="0")return!1;if(e==="*")return!0;let t=e.split(",").map(r=>r.split(":")[0]);return t.includes("-tailwindcss")?!1:!!t.includes("tailwindcss")}var A=h(require("enhanced-resolve")),Ae=require("jiti"),U=h(require("fs")),Q=h(require("fs/promises")),y=h(require("path")),z=require("url"),g=require("tailwindcss");var $=h(require("fs/promises")),S=h(require("path")),Oe=[/import[\s\S]*?['"](.{3,}?)['"]/gi,/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/export[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/require\(['"`](.+)['"`]\)/gi],Pe=[".js",".cjs",".mjs"],De=["",".js",".cjs",".mjs",".ts",".cts",".mts",".jsx",".tsx"],Ue=["",".ts",".cts",".mts",".tsx",".js",".cjs",".mjs",".jsx"];async function Ie(e,t){for(let r of t){let s=`${e}${r}`;if((await $.default.stat(s).catch(()=>null))?.isFile())return s}for(let r of t){let s=`${e}/index${r}`;if(await $.default.access(s).then(()=>!0,()=>!1))return s}return null}async function ee(e,t,r,s){let n=Pe.includes(s)?De:Ue,l=await Ie(S.default.resolve(r,t),n);if(l===null||e.has(l))return;e.add(l),r=S.default.dirname(l),s=S.default.extname(l);let i=await $.default.readFile(l,"utf-8"),a=[];for(let o of Oe)for(let f of i.matchAll(o))f[1].startsWith(".")&&a.push(ee(e,f[1],r,s));await Promise.all(a)}async function te(e){let t=new Set;return await ee(t,e,S.default.dirname(e),S.default.extname(e)),Array.from(t)}var B=h(require("path"));var w=92,b=47,T=42,Fe=34,Ve=39,Le=58,_=59,x=10,E=32,O=9,re=123,L=125,j=40,se=41,We=91,Ke=93,ne=45,W=64,je=33;function ie(e){e[0]==="\uFEFF"&&(e=e.slice(1)),e=e.replaceAll(`\r
1
+ "use strict";var Cr=Object.create;var ye=Object.defineProperty;var $r=Object.getOwnPropertyDescriptor;var Vr=Object.getOwnPropertyNames;var Sr=Object.getPrototypeOf,Nr=Object.prototype.hasOwnProperty;var pt=(e,t)=>{for(var r in t)ye(e,r,{get:t[r],enumerable:!0})},dt=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of Vr(t))!Nr.call(e,n)&&n!==r&&ye(e,n,{get:()=>t[n],enumerable:!(i=$r(t,n))||i.enumerable});return e};var R=(e,t,r)=>(r=e!=null?Cr(Sr(e)):{},dt(t||!e||!e.__esModule?ye(r,"default",{value:e,enumerable:!0}):r,e)),Er=e=>dt(ye({},"__esModule",{value:!0}),e);var On={};pt(On,{Features:()=>U.Features,Instrumentation:()=>ct,Polyfills:()=>U.Polyfills,__unstable__loadDesignSystem:()=>An,compile:()=>xn,compileAst:()=>bn,env:()=>be,loadModule:()=>ut,normalizePath:()=>Ue,optimize:()=>En,toSourceMap:()=>Pn});module.exports=Er(On);var br=R(require("module")),xr=require("url");var be={};pt(be,{DEBUG:()=>ze});var ze=Tr(process.env.DEBUG);function Tr(e){if(typeof e=="boolean")return e;if(e===void 0)return!1;if(e==="true"||e==="1")return!0;if(e==="false"||e==="0")return!1;if(e==="*")return!0;let t=e.split(",").map(r=>r.split(":")[0]);return t.includes("-tailwindcss")?!1:!!t.includes("tailwindcss")}var J=R(require("enhanced-resolve")),dr=require("jiti"),Ie=R(require("fs")),st=R(require("fs/promises")),ne=R(require("path")),lt=require("url"),U=require("tailwindcss");var xe=R(require("fs/promises")),ee=R(require("path")),Rr=[/import[\s\S]*?['"](.{3,}?)['"]/gi,/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/export[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/require\(['"`](.+)['"`]\)/gi],Pr=[".js",".cjs",".mjs"],Or=["",".js",".cjs",".mjs",".ts",".cts",".mts",".jsx",".tsx"],_r=["",".ts",".cts",".mts",".tsx",".js",".cjs",".mjs",".jsx"];async function Dr(e,t){for(let r of t){let i=`${e}${r}`;if((await xe.default.stat(i).catch(()=>null))?.isFile())return i}for(let r of t){let i=`${e}/index${r}`;if(await xe.default.access(i).then(()=>!0,()=>!1))return i}return null}async function mt(e,t,r,i){let n=Pr.includes(i)?Or:_r,o=await Dr(ee.default.resolve(r,t),n);if(o===null||e.has(o))return;e.add(o),r=ee.default.dirname(o),i=ee.default.extname(o);let l=await xe.default.readFile(o,"utf-8"),a=[];for(let s of Rr)for(let f of l.matchAll(s))f[1].startsWith(".")&&a.push(mt(e,f[1],r,i));await Promise.all(a)}async function gt(e){let t=new Set;return await mt(t,e,ee.default.dirname(e),ee.default.extname(e)),Array.from(t)}var nt=R(require("path"));function Fe(e){return{kind:"word",value:e}}function Ur(e,t){return{kind:"function",value:e,nodes:t}}function Ir(e){return{kind:"separator",value:e}}function $(e,t,r=null){for(let i=0;i<e.length;i++){let n=e[i],o=!1,l=0,a=t(n,{parent:r,replaceWith(s){o||(o=!0,Array.isArray(s)?s.length===0?(e.splice(i,1),l=0):s.length===1?(e[i]=s[0],l=1):(e.splice(i,1,...s),l=s.length):e[i]=s)}})??0;if(o){a===0?i--:i+=l-1;continue}if(a===2)return 2;if(a!==1&&n.kind==="function"&&$(n.nodes,t,n)===2)return 2}}function C(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+C(r.nodes)+")"}return t}var ht=92,Lr=41,vt=58,wt=44,Kr=34,kt=61,yt=62,bt=60,xt=10,Mr=40,zr=39,At=47,Ct=32,$t=9;function b(e){e=e.replaceAll(`\r
2
2
  `,`
3
- `);let t=[],r=[],s=[],n=null,l=null,i="",a="",o;for(let f=0;f<e.length;f++){let u=e.charCodeAt(f);if(u===w)i+=e.slice(f,f+2),f+=1;else if(u===b&&e.charCodeAt(f+1)===T){let c=f;for(let m=f+2;m<e.length;m++)if(o=e.charCodeAt(m),o===w)m+=1;else if(o===T&&e.charCodeAt(m+1)===b){f=m+1;break}let p=e.slice(c,f+1);p.charCodeAt(2)===je&&r.push(ae(p.slice(2,-2)))}else if(u===Ve||u===Fe){let c=f;for(let p=f+1;p<e.length;p++)if(o=e.charCodeAt(p),o===w)p+=1;else if(o===u){f=p;break}else{if(o===_&&e.charCodeAt(p+1)===x)throw new Error(`Unterminated string: ${e.slice(c,p+1)+String.fromCharCode(u)}`);if(o===x)throw new Error(`Unterminated string: ${e.slice(c,p)+String.fromCharCode(u)}`)}i+=e.slice(c,f+1)}else{if((u===E||u===x||u===O)&&(o=e.charCodeAt(f+1))&&(o===E||o===x||o===O))continue;if(u===x){if(i.length===0)continue;o=i.charCodeAt(i.length-1),o!==E&&o!==x&&o!==O&&(i+=" ")}else if(u===ne&&e.charCodeAt(f+1)===ne&&i.length===0){let c="",p=f,m=-1;for(let d=f+2;d<e.length;d++)if(o=e.charCodeAt(d),o===w)d+=1;else if(o===b&&e.charCodeAt(d+1)===T){for(let v=d+2;v<e.length;v++)if(o=e.charCodeAt(v),o===w)v+=1;else if(o===T&&e.charCodeAt(v+1)===b){d=v+1;break}}else if(m===-1&&o===Le)m=i.length+d-p;else if(o===_&&c.length===0){i+=e.slice(p,d),f=d;break}else if(o===j)c+=")";else if(o===We)c+="]";else if(o===re)c+="}";else if((o===L||e.length-1===d)&&c.length===0){f=d-1,i+=e.slice(p,d);break}else(o===se||o===Ke||o===L)&&c.length>0&&e[d]===c[c.length-1]&&(c=c.slice(0,-1));let F=K(i,m);if(!F)throw new Error("Invalid custom property, expected a value");n?n.nodes.push(F):t.push(F),i=""}else if(u===_&&i.charCodeAt(0)===W)l=C(i),n?n.nodes.push(l):t.push(l),i="",l=null;else if(u===_&&a[a.length-1]!==")"){let c=K(i);if(!c)throw i.length===0?new Error("Unexpected semicolon"):new Error(`Invalid declaration: \`${i.trim()}\``);n?n.nodes.push(c):t.push(c),i=""}else if(u===re&&a[a.length-1]!==")")a+="}",l=le(i.trim()),n&&n.nodes.push(l),s.push(n),n=l,i="",l=null;else if(u===L&&a[a.length-1]!==")"){if(a==="")throw new Error("Missing opening {");if(a=a.slice(0,-1),i.length>0)if(i.charCodeAt(0)===W)l=C(i),n?n.nodes.push(l):t.push(l),i="",l=null;else{let p=i.indexOf(":");if(n){let m=K(i,p);if(!m)throw new Error(`Invalid declaration: \`${i.trim()}\``);n.nodes.push(m)}}let c=s.pop()??null;c===null&&n&&t.push(n),n=c,i="",l=null}else if(u===j)a+=")",i+="(";else if(u===se){if(a[a.length-1]!==")")throw new Error("Missing opening (");a=a.slice(0,-1),i+=")"}else{if(i.length===0&&(u===E||u===x||u===O))continue;i+=String.fromCharCode(u)}}}if(i.charCodeAt(0)===W&&t.push(C(i)),a.length>0&&n){if(n.kind==="rule")throw new Error(`Missing closing } at ${n.selector}`);if(n.kind==="at-rule")throw new Error(`Missing closing } at ${n.name} ${n.params}`)}return r.length>0?r.concat(t):t}function C(e,t=[]){for(let r=5;r<e.length;r++){let s=e.charCodeAt(r);if(s===E||s===j){let n=e.slice(0,r).trim(),l=e.slice(r).trim();return M(n,l,t)}}return M(e.trim(),"",t)}function K(e,t=e.indexOf(":")){if(t===-1)return null;let r=e.indexOf("!important",t+1);return oe(e.slice(0,t).trim(),e.slice(t+1,r===-1?e.length:r).trim(),r!==-1)}var N=class extends Map{constructor(r){super();this.factory=r}get(r){let s=super.get(r);return s===void 0&&(s=this.factory(r,this),this.set(r,s)),s}};var Be=64;function He(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function M(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function le(e,t=[]){return e.charCodeAt(0)===Be?C(e,t):He(e,t)}function oe(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function ae(e){return{kind:"comment",value:e}}function P(e,t,r=[],s={}){for(let n=0;n<e.length;n++){let l=e[n],i=r[r.length-1]??null;if(l.kind==="context"){if(P(l.nodes,t,r,{...s,...l.context})===2)return 2;continue}r.push(l);let a=!1,o=0,f=t(l,{parent:i,context:s,path:r,replaceWith(u){a=!0,Array.isArray(u)?u.length===0?(e.splice(n,1),o=0):u.length===1?(e[n]=u[0],o=1):(e.splice(n,1,...u),o=u.length):(e[n]=u,o=1)}})??0;if(r.pop(),a){f===0?n--:n+=o-1;continue}if(f===2)return 2;if(f!==1&&"nodes"in l){r.push(l);let u=P(l.nodes,t,r,s);if(r.pop(),u===2)return 2}}}function ue(e){function t(s,n=0){let l="",i=" ".repeat(n);if(s.kind==="declaration")l+=`${i}${s.property}: ${s.value}${s.important?" !important":""};
4
- `;else if(s.kind==="rule"){l+=`${i}${s.selector} {
5
- `;for(let a of s.nodes)l+=t(a,n+1);l+=`${i}}
6
- `}else if(s.kind==="at-rule"){if(s.nodes.length===0)return`${i}${s.name} ${s.params};
7
- `;l+=`${i}${s.name}${s.params?` ${s.params} `:" "}{
8
- `;for(let a of s.nodes)l+=t(a,n+1);l+=`${i}}
9
- `}else if(s.kind==="comment")l+=`${i}/*${s.value}*/
10
- `;else if(s.kind==="context"||s.kind==="at-root")return"";return l}let r="";for(let s of e){let n=t(s);n!==""&&(r+=n)}return r}function ze(e,t){if(typeof e!="string")throw new TypeError("expected path to be a string");if(e==="\\"||e==="/")return"/";var r=e.length;if(r<=1)return e;var s="";if(r>4&&e[3]==="\\"){var n=e[2];(n==="?"||n===".")&&e.slice(0,2)==="\\\\"&&(e=e.slice(2),s="//")}var l=e.split(/[/\\]+/);return t!==!1&&l[l.length-1]===""&&l.pop(),s+l.join("/")}function D(e){let t=ze(e);return e.startsWith("\\\\")&&t.startsWith("/")&&!t.startsWith("//")?`/${t}`:t}var H=/(?<!@import\s+)(?<=^|[^\w\-\u0080-\uffff])url\((\s*('[^']+'|"[^"]+")\s*|[^'")]+)\)/,fe=/(?<=image-set\()((?:[\w-]{1,256}\([^)]*\)|[^)])*)(?=\))/,Ge=/(?:gradient|element|cross-fade|image)\(/,Qe=/^\s*data:/i,Je=/^([a-z]+:)?\/\//,qe=/^[A-Z_][.\w-]*\(/i,Ye=/(?:^|\s)(?<url>[\w-]+\([^)]*\)|"[^"]*"|'[^']*'|[^,]\S*[^,])\s*(?:\s(?<descriptor>\w[^,]+))?(?:,|$)/g,Xe=/(?<!\\)"/g,Ze=/(?: |\\t|\\n|\\f|\\r)+/g,et=e=>Qe.test(e),tt=e=>Je.test(e);async function ce({css:e,base:t,root:r}){if(!e.includes("url(")&&!e.includes("image-set("))return e;let s=ie(e),n=[];function l(i){if(i[0]==="/")return i;let a=B.posix.join(D(t),i),o=B.posix.relative(D(r),a);return o.startsWith(".")||(o="./"+o),o}return P(s,i=>{if(i.kind!=="declaration"||!i.value)return;let a=H.test(i.value),o=fe.test(i.value);if(a||o){let f=o?rt:pe;n.push(f(i.value,l).then(u=>{i.value=u}))}}),n.length&&await Promise.all(n),ue(s)}function pe(e,t){return me(e,H,async r=>{let[s,n]=r;return await de(n.trim(),s,t)})}async function rt(e,t){return await me(e,fe,async r=>{let[,s]=r;return await nt(s,async({url:l})=>H.test(l)?await pe(l,t):Ge.test(l)?l:await de(l,l,t))})}async function de(e,t,r,s="url"){let n="",l=e[0];if((l==='"'||l==="'")&&(n=l,e=e.slice(1,-1)),st(e))return t;let i=await r(e);return n===""&&i!==encodeURI(i)&&(n='"'),n==="'"&&i.includes("'")&&(n='"'),n==='"'&&i.includes('"')&&(i=i.replace(Xe,'\\"')),`${s}(${n}${i}${n})`}function st(e,t){return tt(e)||et(e)||!e[0].match(/[\.a-zA-Z0-9_]/)||qe.test(e)}function nt(e,t){return Promise.all(it(e).map(async({url:r,descriptor:s})=>({url:await t({url:r,descriptor:s}),descriptor:s}))).then(lt)}function it(e){let t=e.trim().replace(Ze," ").replace(/\r?\n/,"").replace(/,\s+/,", ").replaceAll(/\s+/g," ").matchAll(Ye);return Array.from(t,({groups:r})=>({url:r?.url?.trim()??"",descriptor:r?.descriptor?.trim()??""})).filter(({url:r})=>!!r)}function lt(e){return e.map(({url:t,descriptor:r})=>t+(r?` ${r}`:"")).join(", ")}async function me(e,t,r){let s,n=e,l="";for(;s=t.exec(n);)l+=n.slice(0,s.index),l+=await r(s),n=n.slice(s.index+s[0].length);return l+=n,l}var mt={};function ye({base:e,onDependency:t,shouldRewriteUrls:r,customCssResolver:s,customJsResolver:n}){return{base:e,async loadModule(l,i){return J(l,i,t,n)},async loadStylesheet(l,i){let a=await Se(l,i,t,s);return r&&(a.content=await ce({css:a.content,root:i,base:a.base})),a}}}async function ve(e,t){if(e.root&&e.root!=="none"){let r=/[*{]/,s=[];for(let l of e.root.pattern.split("/")){if(r.test(l))break;s.push(l)}if(!await Q.default.stat(y.default.resolve(t,s.join("/"))).then(l=>l.isDirectory()).catch(()=>!1))throw new Error(`The \`source(${e.root.pattern})\` does not exist`)}}async function ot(e,t){let r=await(0,g.compileAst)(e,ye(t));return await ve(r,t.base),r}async function at(e,t){let r=await(0,g.compile)(e,ye(t));return await ve(r,t.base),r}async function ut(e,{base:t}){return(0,g.__unstable__loadDesignSystem)(e,{base:t,async loadModule(r,s){return J(r,s,()=>{})},async loadStylesheet(r,s){return Se(r,s,()=>{})}})}async function J(e,t,r,s){if(e[0]!=="."){let a=await xe(e,t,s);if(!a)throw new Error(`Could not resolve '${e}' from '${t}'`);let o=await ge((0,z.pathToFileURL)(a).href);return{base:(0,y.dirname)(a),module:o.default??o}}let n=await xe(e,t,s);if(!n)throw new Error(`Could not resolve '${e}' from '${t}'`);let[l,i]=await Promise.all([ge((0,z.pathToFileURL)(n).href+"?id="+Date.now()),te(n)]);for(let a of i)r(a);return{base:(0,y.dirname)(n),module:l.default??l}}async function Se(e,t,r,s){let n=await ct(e,t,s);if(!n)throw new Error(`Could not resolve '${e}' from '${t}'`);if(r(n),typeof globalThis.__tw_readFile=="function"){let i=await globalThis.__tw_readFile(n,"utf-8");if(i)return{base:y.default.dirname(n),content:i}}let l=await Q.default.readFile(n,"utf-8");return{base:y.default.dirname(n),content:l}}var he=null;async function ge(e){if(typeof globalThis.__tw_load=="function"){let t=await globalThis.__tw_load(e);if(t)return t}try{return await import(e)}catch{return he??=(0,Ae.createJiti)(mt.url,{moduleCache:!1,fsCache:!1}),await he.import(e)}}var q=["node_modules",...process.env.NODE_PATH?[process.env.NODE_PATH]:[]],ft=A.default.ResolverFactory.createResolver({fileSystem:new A.default.CachedInputFileSystem(U.default,4e3),useSyncFileSystemCalls:!0,extensions:[".css"],mainFields:["style"],conditionNames:["style"],modules:q});async function ct(e,t,r){if(typeof globalThis.__tw_resolve=="function"){let s=globalThis.__tw_resolve(e,t);if(s)return Promise.resolve(s)}if(r){let s=await r(e,t);if(s)return s}return G(ft,e,t)}var pt=A.default.ResolverFactory.createResolver({fileSystem:new A.default.CachedInputFileSystem(U.default,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","import"],modules:q}),dt=A.default.ResolverFactory.createResolver({fileSystem:new A.default.CachedInputFileSystem(U.default,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","require"],modules:q});async function xe(e,t,r){if(typeof globalThis.__tw_resolve=="function"){let s=globalThis.__tw_resolve(e,t);if(s)return Promise.resolve(s)}if(r){let s=await r(e,t);if(s)return s}return G(pt,e,t).catch(()=>G(dt,e,t))}function G(e,t,r){return new Promise((s,n)=>e.resolve({},r,t,{},(l,i)=>{if(l)return n(l);s(i)}))}Symbol.dispose??=Symbol("Symbol.dispose");Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");var Y=class{constructor(t=r=>void process.stderr.write(`${r}
11
- `)){this.defaultFlush=t}#r=new N(()=>({value:0}));#t=new N(()=>({value:0n}));#e=[];hit(t){this.#r.get(t).value++}start(t){let r=this.#e.map(n=>n.label).join("//"),s=`${r}${r.length===0?"":"//"}${t}`;this.#r.get(s).value++,this.#t.get(s),this.#e.push({id:s,label:t,namespace:r,value:process.hrtime.bigint()})}end(t){let r=process.hrtime.bigint();if(this.#e[this.#e.length-1].label!==t)throw new Error(`Mismatched timer label: \`${t}\`, expected \`${this.#e[this.#e.length-1].label}\``);let s=this.#e.pop(),n=r-s.value;this.#t.get(s.id).value+=n}reset(){this.#r.clear(),this.#t.clear(),this.#e.splice(0)}report(t=this.defaultFlush){let r=[],s=!1;for(let i=this.#e.length-1;i>=0;i--)this.end(this.#e[i].label);for(let[i,{value:a}]of this.#r.entries()){if(this.#t.has(i))continue;r.length===0&&(s=!0,r.push("Hits:"));let o=i.split("//").length;r.push(`${" ".repeat(o)}${i} ${I(Ne(`\xD7 ${a}`))}`)}this.#t.size>0&&s&&r.push(`
12
- Timers:`);let n=-1/0,l=new Map;for(let[i,{value:a}]of this.#t){let o=`${(Number(a)/1e6).toFixed(2)}ms`;l.set(i,o),n=Math.max(n,o.length)}for(let i of this.#t.keys()){let a=i.split("//").length;r.push(`${I(`[${l.get(i).padStart(n," ")}]`)}${" ".repeat(a-1)}${a===1?" ":I(" \u21B3 ")}${i.split("//").pop()} ${this.#r.get(i).value===1?"":I(Ne(`\xD7 ${this.#r.get(i).value}`))}`.trimEnd())}t(`
3
+ `);let t=[],r=[],i=null,n="",o;for(let l=0;l<e.length;l++){let a=e.charCodeAt(l);switch(a){case ht:{n+=e[l]+e[l+1],l++;break}case vt:case wt:case kt:case yt:case bt:case xt:case At:case Ct:case $t:{if(n.length>0){let u=Fe(n);i?i.nodes.push(u):t.push(u),n=""}let s=l,f=l+1;for(;f<e.length&&(o=e.charCodeAt(f),!(o!==vt&&o!==wt&&o!==kt&&o!==yt&&o!==bt&&o!==xt&&o!==At&&o!==Ct&&o!==$t));f++);l=f-1;let c=Ir(e.slice(s,f));i?i.nodes.push(c):t.push(c);break}case zr:case Kr:{let s=l;for(let f=l+1;f<e.length;f++)if(o=e.charCodeAt(f),o===ht)f+=1;else if(o===a){l=f;break}n+=e.slice(s,l+1);break}case Mr:{let s=Ur(n,[]);n="",i?i.nodes.push(s):t.push(s),r.push(s),i=s;break}case Lr:{let s=r.pop();if(n.length>0){let f=Fe(n);s?.nodes.push(f),n=""}r.length>0?i=r[r.length-1]:i=null;break}default:n+=String.fromCharCode(a)}}return n.length>0&&t.push(Fe(n)),t}var h=class extends Map{constructor(r){super();this.factory=r}get(r){let i=super.get(r);return i===void 0&&(i=this.factory(r,this),this.set(r,i)),i}};var zn=new Uint8Array(256);var Ae=new Uint8Array(256);function A(e,t){let r=0,i=[],n=0,o=e.length,l=t.charCodeAt(0);for(let a=0;a<o;a++){let s=e.charCodeAt(a);if(r===0&&s===l){i.push(e.slice(n,a)),n=a+1;continue}switch(s){case 92:a+=1;break;case 39:case 34:for(;++a<o;){let f=e.charCodeAt(a);if(f===92){a+=1;continue}if(f===s)break}break;case 40:Ae[r]=41,r++;break;case 91:Ae[r]=93,r++;break;case 123:Ae[r]=125,r++;break;case 93:case 125:case 41:r>0&&s===Ae[r-1]&&r--;break}}return i.push(e.slice(n)),i}function Vt(e){switch(e.kind){case"arbitrary":return{kind:e.kind,property:e.property,value:e.value,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(te),important:e.important,raw:e.raw};case"static":return{kind:e.kind,root:e.root,variants:e.variants.map(te),important:e.important,raw:e.raw};case"functional":return{kind:e.kind,root:e.root,value:e.value?e.value.kind==="arbitrary"?{kind:e.value.kind,dataType:e.value.dataType,value:e.value.value}:{kind:e.value.kind,value:e.value.value,fraction:e.value.fraction}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null,variants:e.variants.map(te),important:e.important,raw:e.raw};default:throw new Error("Unknown candidate kind")}}function te(e){switch(e.kind){case"arbitrary":return{kind:e.kind,selector:e.selector,relative:e.relative};case"static":return{kind:e.kind,root:e.root};case"functional":return{kind:e.kind,root:e.root,value:e.value?{kind:e.value.kind,value:e.value.value}:null,modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};case"compound":return{kind:e.kind,root:e.root,variant:te(e.variant),modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};default:throw new Error("Unknown variant kind")}}function We(e){if(e===null)return"";let t=Wr(e.value),r=t?e.value.slice(4,-1):e.value,[i,n]=t?["(",")"]:["[","]"];return e.kind==="arbitrary"?`/${i}${Be(r)}${n}`:e.kind==="named"?`/${e.value}`:""}var Fr=new h(e=>{let t=b(e),r=new Set;return $(t,(i,{parent:n})=>{let o=n===null?t:n.nodes??[];if(i.kind==="word"&&(i.value==="+"||i.value==="-"||i.value==="*"||i.value==="/")){let l=o.indexOf(i)??-1;if(l===-1)return;let a=o[l-1];if(a?.kind!=="separator"||a.value!==" ")return;let s=o[l+1];if(s?.kind!=="separator"||s.value!==" ")return;r.add(a),r.add(s)}else i.kind==="separator"&&i.value.trim()==="/"?i.value="/":i.kind==="separator"&&i.value.length>0&&i.value.trim()===""?(o[0]===i||o[o.length-1]===i)&&r.add(i):i.kind==="separator"&&i.value.trim()===","&&(i.value=",")}),r.size>0&&$(t,(i,{replaceWith:n})=>{r.has(i)&&(r.delete(i),n([]))}),je(t),C(t)});function Be(e){return Fr.get(e)}var Yn=new h(e=>{let t=b(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"?C(t[2].nodes):e});function je(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++)je([t.nodes[r]]);break}t.value=oe(t.value),je(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:Br(t)}}var jr=new h(e=>{let t=b(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function Wr(e){return jr.get(e)}function Br(e){throw new Error(`Unexpected value: ${e}`)}function oe(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var Gr=process.env.FEATURES_ENV!=="stable";var L=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,lo=new RegExp(`^${L.source}$`);var ao=new RegExp(`^${L.source}%$`);var so=new RegExp(`^${L.source}s*/s*${L.source}$`);var Hr=["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"],uo=new RegExp(`^${L.source}(${Hr.join("|")})$`);var qr=["deg","rad","grad","turn"],fo=new RegExp(`^${L.source}(${qr.join("|")})$`);var co=new RegExp(`^${L.source} +${L.source} +${L.source}$`);function V(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function re(e){return Zr(e,.25)}function Zr(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 Jr={"--alpha":Qr,"--spacing":Xr,"--theme":ei,theme:ti};function Qr(e,t,r,...i){let[n,o]=A(r,"/").map(l=>l.trim());if(!n||!o)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${n||"var(--my-color)"} / ${o||"50%"})\``);if(i.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${n||"var(--my-color)"} / ${o||"50%"})\``);return le(n,o)}function Xr(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 n=e.theme.resolve(null,["--spacing"]);if(!n)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${n} * ${r})`}function ei(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 n=!1;r.endsWith(" inline")&&(n=!0,r=r.slice(0,-7)),t.kind==="at-rule"&&(n=!0);let o=e.resolveThemeValue(r,n);if(!o){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 o;let l=i.join(", ");if(l==="initial")return o;if(o==="initial")return l;if(o.startsWith("var(")||o.startsWith("theme(")||o.startsWith("--theme(")){let a=b(o);return ii(a,l),C(a)}return o}function ti(e,t,r,...i){r=ri(r);let n=e.resolveThemeValue(r);if(!n&&i.length>0)return i.join(", ");if(!n)throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return n}var Ro=new RegExp(Object.keys(Jr).map(e=>`${e}\\(`).join("|"));function ri(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let i=1;i<e.length-1;i++){let n=e[i],o=e[i+1];n==="\\"&&(o===r||o==="\\")?(t+=o,i++):t+=n}return t}function ii(e,t){$(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 Ge(e,t){let r=e.length,i=t.length,n=r<i?r:i;for(let o=0;o<n;o++){let l=e.charCodeAt(o),a=t.charCodeAt(o);if(l>=48&&l<=57&&a>=48&&a<=57){let s=o,f=o+1,c=o,u=o+1;for(l=e.charCodeAt(f);l>=48&&l<=57;)l=e.charCodeAt(++f);for(a=t.charCodeAt(u);a>=48&&a<=57;)a=t.charCodeAt(++u);let p=e.slice(s,f),m=t.slice(c,u),d=Number(p)-Number(m);if(d)return d;if(p<m)return-1;if(p>m)return 1;continue}if(l!==a)return l-a}return e.length-t.length}function Tt(e){if(e[0]!=="["||e[e.length-1]!=="]")return null;let t=1,r=t,i=e.length-1;for(;ie(e.charCodeAt(t));)t++;{for(r=t;t<i;t++){let c=e.charCodeAt(t);if(c===92){t++;continue}if(!(c>=65&&c<=90)&&!(c>=97&&c<=122)&&!(c>=48&&c<=57)&&!(c===45||c===95))break}if(r===t)return null}let n=e.slice(r,t);for(;ie(e.charCodeAt(t));)t++;if(t===i)return{attribute:n,operator:null,quote:null,value:null,sensitivity:null};let o=null,l=e.charCodeAt(t);if(l===61)o="=",t++;else if((l===126||l===124||l===94||l===36||l===42)&&e.charCodeAt(t+1)===61)o=e[t]+"=",t+=2;else return null;for(;ie(e.charCodeAt(t));)t++;if(t===i)return null;let a="",s=null;if(l=e.charCodeAt(t),l===39||l===34){s=e[t],t++,r=t;for(let c=t;c<i;c++){let u=e.charCodeAt(c);u===l?t=c+1:u===92&&c++}a=e.slice(r,t-1)}else{for(r=t;t<i&&!ie(e.charCodeAt(t));)t++;a=e.slice(r,t)}for(;ie(e.charCodeAt(t));)t++;if(t===i)return{attribute:n,operator:o,quote:s,value:a,sensitivity:null};let f=null;switch(e.charCodeAt(t)){case 105:case 73:{f="i",t++;break}case 115:case 83:{f="s",t++;break}default:return null}for(;ie(e.charCodeAt(t));)t++;return t!==i?null:{attribute:n,operator:o,quote:s,value:a,sensitivity:f}}function ie(e){switch(e){case 32:case 9:case 10:case 13:return!0;default:return!1}}var oi=/^[a-zA-Z0-9-_%/\.]+$/;function qe(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(!oi.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,n)=>`${i}-${n.toLowerCase()}`)).filter((t,r)=>t!=="DEFAULT"||r!==e.length-1).join("-")}function li(e){return{kind:"combinator",value:e}}function ai(e,t){return{kind:"function",value:e,nodes:t}}function B(e){return{kind:"selector",value:e}}function si(e){return{kind:"separator",value:e}}function ui(e){return{kind:"value",value:e}}function $e(e,t,r=null){for(let i=0;i<e.length;i++){let n=e[i],o=!1,l=0,a=t(n,{parent:r,replaceWith(s){o||(o=!0,Array.isArray(s)?s.length===0?(e.splice(i,1),l=0):s.length===1?(e[i]=s[0],l=1):(e.splice(i,1,...s),l=s.length):(e[i]=s,l=1))}})??0;if(o){a===0?i--:i+=l-1;continue}if(a===2)return 2;if(a!==1&&n.kind==="function"&&$e(n.nodes,t,n)===2)return 2}}function G(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+"("+G(r.nodes)+")"}return t}var Pt=92,fi=93,Ot=41,ci=58,_t=44,pi=34,di=46,Dt=62,Ut=10,mi=35,It=91,Lt=40,Kt=43,gi=39,Mt=32,zt=9,Ft=126,hi=38,vi=42;function se(e){e=e.replaceAll(`\r
4
+ `,`
5
+ `);let t=[],r=[],i=null,n="",o;for(let l=0;l<e.length;l++){let a=e.charCodeAt(l);switch(a){case _t:case Dt:case Ut:case Mt:case Kt:case zt:case Ft:{if(n.length>0){let p=B(n);i?i.nodes.push(p):t.push(p),n=""}let s=l,f=l+1;for(;f<e.length&&(o=e.charCodeAt(f),!(o!==_t&&o!==Dt&&o!==Ut&&o!==Mt&&o!==Kt&&o!==zt&&o!==Ft));f++);l=f-1;let c=e.slice(s,f),u=c.trim()===","?si(c):li(c);i?i.nodes.push(u):t.push(u);break}case Lt:{let s=ai(n,[]);if(n="",s.value!==":not"&&s.value!==":where"&&s.value!==":has"&&s.value!==":is"){let f=l+1,c=0;for(let p=l+1;p<e.length;p++){if(o=e.charCodeAt(p),o===Lt){c++;continue}if(o===Ot){if(c===0){l=p;break}c--}}let u=l;s.nodes.push(ui(e.slice(f,u))),n="",l=u,i?i.nodes.push(s):t.push(s);break}i?i.nodes.push(s):t.push(s),r.push(s),i=s;break}case Ot:{let s=r.pop();if(n.length>0){let f=B(n);s.nodes.push(f),n=""}r.length>0?i=r[r.length-1]:i=null;break}case di:case ci:case mi:{if(n.length>0){let s=B(n);i?i.nodes.push(s):t.push(s)}n=e[l];break}case It:{if(n.length>0){let c=B(n);i?i.nodes.push(c):t.push(c)}n="";let s=l,f=0;for(let c=l+1;c<e.length;c++){if(o=e.charCodeAt(c),o===It){f++;continue}if(o===fi){if(f===0){l=c;break}f--}}n+=e.slice(s,l+1);break}case gi:case pi:{let s=l;for(let f=l+1;f<e.length;f++)if(o=e.charCodeAt(f),o===Pt)f+=1;else if(o===a){l=f;break}n+=e.slice(s,l+1);break}case hi:case vi:{if(n.length>0){let s=B(n);i?i.nodes.push(s):t.push(s),n=""}i?i.nodes.push(B(e[l])):t.push(B(e[l]));break}case Pt:{n+=e[l]+e[l+1],l+=1;break}default:n+=e[l]}}return n.length>0&&t.push(B(n)),t}var wi=/^(?<value>-?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)$/i,ue=new h(e=>{let t=wi.exec(e);if(!t)return null;let r=t.groups?.value;if(r===void 0)return null;let i=t.groups?.unit;if(i===void 0)return null;let n=Number(r);return Number.isNaN(n)?null:[n,i]});var jt=/\d*\.\d+(?:[eE][+-]?\d+)?%/g,H=new h(e=>new h(t=>{try{t=e.theme.prefix&&!t.startsWith(e.theme.prefix)?`${e.theme.prefix}:${t}`:t;let r=[K(".x",[E("@apply",t)])];return ki(e,()=>{for(let n of e.parseCandidate(t))e.compileAstNodes(n,1);fe(r,e)}),y(r,(n,{replaceWith:o})=>{n.kind==="declaration"?n.value===void 0||n.property==="--tw-sort"?o([]):n.value.includes("%")&&(jt.lastIndex=0,n.value=n.value.replaceAll(jt,l=>`${Number(l.slice(0,-1))}%`)):n.kind==="context"||n.kind==="at-root"?o(n.nodes):n.kind==="comment"?o([]):n.kind==="at-rule"&&n.name==="@property"&&o([])}),y(r,n=>{if(n.kind==="declaration"&&n.value!==void 0){if(n.value.includes("var(")){let o=!1,l=b(n.value),a=new Set;$(l,(s,{replaceWith:f})=>{if(s.kind!=="function"||s.value!=="var"||s.nodes.length!==1&&s.nodes.length<3)return;let c=s.nodes[0].value;e.theme.prefix&&c.startsWith(`--${e.theme.prefix}-`)&&(c=c.slice(`--${e.theme.prefix}-`.length));let u=e.resolveThemeValue(c);if(!a.has(c)&&(a.add(c),u!==void 0&&(s.nodes.length===1&&(o=!0,s.nodes.push(...b(`,${u}`))),s.nodes.length>=3))){let p=C(s.nodes),m=`${s.nodes[0].value},${u}`;p===m&&(o=!0,f(b(u)))}}),o&&(n.value=C(l))}if(n.value.includes("calc")){let o=!1,l=b(n.value);$(l,(a,{replaceWith:s})=>{if(a.kind!=="function"||a.value!=="calc"||a.nodes.length!==5||a.nodes[2].kind!=="word"&&a.nodes[2].value!=="*")return;let f=ue.get(a.nodes[0].value);if(f===null)return;let[c,u]=f,p=Number(a.nodes[4].value);Number.isNaN(p)||(o=!0,s(b(`${c*p}${u}`)))}),o&&(n.value=C(l))}n.value=Be(n.value)}}),P(r)}catch{return Symbol()}})),Ye=new h(e=>{let t=H.get(e),r=new h(()=>[]);for(let[i,n]of e.getClassList()){let o=t.get(i);if(typeof o=="string"){r.get(o).push(i);for(let l of n.modifiers){if(re(l))continue;let a=`${i}/${l}`,s=t.get(a);typeof s=="string"&&r.get(s).push(a)}}}return r}),Ve=new h(e=>new h(t=>{try{t=e.theme.prefix&&!t.startsWith(e.theme.prefix)?`${e.theme.prefix}:${t}`:t;let r=[K(".x",[E("@apply",`${t}:flex`)])];return fe(r,e),y(r,n=>{if(n.kind==="at-rule"&&n.params.includes(" "))n.params=n.params.replaceAll(" ","");else if(n.kind==="rule"){let o=se(n.selector),l=!1;$e(o,(a,{replaceWith:s})=>{a.kind==="separator"&&a.value!==" "?(a.value=a.value.trim(),l=!0):a.kind==="function"&&a.value===":is"?a.nodes.length===1?(l=!0,s(a.nodes)):a.nodes.length===2&&a.nodes[0].kind==="selector"&&a.nodes[0].value==="*"&&a.nodes[1].kind==="selector"&&a.nodes[1].value[0]===":"&&(l=!0,s(a.nodes[1])):a.kind==="function"&&a.value[0]===":"&&a.nodes[0]?.kind==="selector"&&a.nodes[0]?.value[0]===":"&&(l=!0,a.nodes.unshift({kind:"selector",value:"*"}))}),l&&(n.selector=G(o))}}),P(r)}catch{return Symbol()}})),Wt=new h(e=>{let t=Ve.get(e),r=new h(()=>[]);for(let[i,n]of e.variants.entries())if(n.kind==="static"){let o=t.get(i);if(typeof o!="string")continue;r.get(o).push(i)}return r});function ki(e,t){let r=e.theme.values.get,i=new Set;e.theme.values.get=n=>{let o=r.call(e.theme.values,n);return o===void 0||o.options&1&&(i.add(o),o.options&=-2),o};try{return t()}finally{e.theme.values.get=r;for(let n of i)n.options|=1}}function F(e,t){for(let r in e)delete e[r];return Object.assign(e,t)}function ce(e){let t=[];for(let r of A(e,".")){if(!r.includes("[")){t.push(r);continue}let i=0;for(;;){let n=r.indexOf("[",i),o=r.indexOf("]",n);if(n===-1||o===-1)break;n>i&&t.push(r.slice(i,n)),t.push(r.slice(n+1,o)),i=o+1}i<=r.length-1&&t.push(r.slice(i))}return t}var ul=new h(e=>{let t=e.theme.prefix?`${e.theme.prefix}:`:"",r=xi.get(e),i=Ci.get(e);return new h((n,o)=>{for(let l of e.parseCandidate(n)){let a=l.variants.slice().reverse().flatMap(c=>r.get(c)),s=l.important;if(s||a.length>0){let u=o.get(e.printCandidate({...l,variants:[],important:!1}));return e.theme.prefix!==null&&a.length>0&&(u=u.slice(t.length)),a.length>0&&(u=`${a.map(p=>e.printVariant(p)).join(":")}:${u}`),s&&(u+="!"),e.theme.prefix!==null&&a.length>0&&(u=`${t}${u}`),u}let f=i.get(n);if(f!==n)return f}return n})}),bi=[Ni,Mi,zi,Ii],xi=new h(e=>new h(t=>{let r=[t];for(let i of bi)for(let n of r.splice(0)){let o=i(e,te(n));if(Array.isArray(o)){r.push(...o);continue}else r.push(o)}return r})),Ai=[Vi,Si,Pi,_i,Ui,Li,Ki,Fi],Ci=new h(e=>new h(t=>{for(let r of e.parseCandidate(t)){let i=Vt(r);for(let o of Ai)i=o(e,i);let n=e.printCandidate(i);if(t!==n)return n}return t})),$i=["t","tr","r","br","b","bl","l","tl"];function Vi(e,t){if(t.kind==="static"&&t.root.startsWith("bg-gradient-to-")){let r=t.root.slice(15);return $i.includes(r)&&(t.root=`bg-linear-to-${r}`),t}return t}function Si(e,t){let r=Gt.get(e);if(t.kind==="arbitrary"){let[i,n]=r(t.value,t.modifier===null?1:0);i!==t.value&&(t.value=i,n!==null&&(t.modifier=n))}else if(t.kind==="functional"&&t.value?.kind==="arbitrary"){let[i,n]=r(t.value.value,t.modifier===null?1:0);i!==t.value.value&&(t.value.value=i,n!==null&&(t.modifier=n))}return t}function Ni(e,t){let r=Gt.get(e),i=Ee(t);for(let[n]of i)if(n.kind==="arbitrary"){let[o]=r(n.selector,2);o!==n.selector&&(n.selector=o)}else if(n.kind==="functional"&&n.value?.kind==="arbitrary"){let[o]=r(n.value.value,2);o!==n.value.value&&(n.value.value=o)}return t}var Gt=new h(e=>{return t(e);function t(r){function i(a,s=0){let f=b(a);if(s&2)return[Se(f,l),null];let c=0,u=0;if($(f,d=>{d.kind==="function"&&d.value==="theme"&&(c+=1,$(d.nodes,g=>g.kind==="separator"&&g.value.includes(",")?2:g.kind==="separator"&&g.value.trim()==="/"?(u+=1,2):1))}),c===0)return[a,null];if(u===0)return[Se(f,o),null];if(u>1)return[Se(f,l),null];let p=null;return[Se(f,(d,g)=>{let v=A(d,"/").map(k=>k.trim());if(v.length>2)return null;if(f.length===1&&v.length===2&&s&1){let[k,w]=v;if(/^\d+%$/.test(w))p={kind:"named",value:w.slice(0,-1)};else if(/^0?\.\d+$/.test(w)){let N=Number(w)*100;p={kind:Number.isInteger(N)?"named":"arbitrary",value:N.toString()}}else p={kind:"arbitrary",value:w};d=k}return o(d,g)||l(d,g)}),p]}function n(a,s=!0){let f=`--${qe(ce(a))}`;return r.theme.get([f])?s&&r.theme.prefix?`--${r.theme.prefix}-${f.slice(2)}`:f:null}function o(a,s){let f=n(a);if(f)return s?`var(${f}, ${s})`:`var(${f})`;let c=ce(a);if(c[0]==="spacing"&&r.theme.get(["--spacing"])){let u=c[1];return re(u)?`--spacing(${u})`:null}return null}function l(a,s){let f=A(a,"/").map(p=>p.trim());a=f.shift();let c=n(a,!1);if(!c)return null;let u=f.length>0?`/${f.join("/")}`:"";return s?`--theme(${c}${u}, ${s})`:`--theme(${c}${u})`}return i}});function Se(e,t){return $(e,(r,{parent:i,replaceWith: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 l=o.value,a=1;for(let c=a;c<r.nodes.length&&!r.nodes[c].value.includes(",");c++)l+=C([r.nodes[c]]),a=c+1;l=Ei(l);let s=r.nodes.slice(a+1),f=s.length>0?t(l,C(s)):t(l);if(f===null)return;if(i){let c=i.nodes.indexOf(r)-1;for(;c!==-1;){let u=i.nodes[c];if(u.kind==="separator"&&u.value.trim()===""){c-=1;continue}/^[-+*/]$/.test(u.value.trim())&&(f=`(${f})`);break}}n(b(f))}}),C(e)}function Ei(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let i=1;i<e.length-1;i++){let n=e[i],o=e[i+1];n==="\\"&&(o===r||o==="\\")?(t+=o,i++):t+=n}return t}function*Ee(e){function*t(r,i=null){yield[r,i],r.kind==="compound"&&(yield*t(r.variant,r))}yield*t(e,null)}function j(e,t){return e.parseCandidate(e.theme.prefix&&!t.startsWith(`${e.theme.prefix}:`)?`${e.theme.prefix}:${t}`:t)}function Ti(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 Ri=new h(e=>{let t=e.resolveThemeValue("--spacing");if(t===void 0)return null;let r=ue.get(t);if(!r)return null;let[i,n]=r;return new h(o=>{let l=ue.get(o);if(!l)return null;let[a,s]=l;return s!==n?null:a/i})});function Pi(e,t){if(t.kind!=="arbitrary"&&!(t.kind==="functional"&&t.value?.kind==="arbitrary"))return t;let r=Ye.get(e),i=H.get(e),n=e.printCandidate(t),o=i.get(n);if(typeof o!="string")return t;for(let a of l(o,t)){let s=e.printCandidate(a);if(i.get(s)===o&&Oi(e,t,a))return a}return t;function*l(a,s){let f=r.get(a);if(!(f.length>1)){if(f.length===0&&s.modifier){let c={...s,modifier:null},u=i.get(e.printCandidate(c));if(typeof u=="string")for(let p of l(u,c))yield Object.assign({},p,{modifier:s.modifier})}if(f.length===1)for(let c of j(e,f[0]))yield c;else if(f.length===0){let c=s.kind==="arbitrary"?s.value:s.value?.value??null;if(c===null)return;let u=Ri.get(e)?.get(c)??null,p="";u!==null&&u<0&&(p="-",u=Math.abs(u));for(let m of Array.from(e.utilities.keys("functional")).sort((d,g)=>+(d[0]==="-")-+(g[0]==="-"))){p&&(m=`${p}${m}`);for(let d of j(e,`${m}-${c}`))yield d;if(s.modifier)for(let d of j(e,`${m}-${c}${s.modifier}`))yield d;if(u!==null){for(let d of j(e,`${m}-${u}`))yield d;if(s.modifier)for(let d of j(e,`${m}-${u}${We(s.modifier)}`))yield d}for(let d of j(e,`${m}-[${c}]`))yield d;if(s.modifier)for(let d of j(e,`${m}-[${c}]${We(s.modifier)}`))yield d}}}}}function Oi(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 n=e.candidatesToCss([e.printCandidate(r)]).join(`
6
+ `),o=!0;return $(b(i),l=>{if(l.kind==="function"&&l.value==="var"){let a=l.nodes[0].value;if(!new RegExp(`var\\(${a}[,)]\\s*`,"g").test(n)||n.includes(`${a}:`))return o=!1,2}}),o}function _i(e,t){if(t.kind!=="functional"||t.value?.kind!=="named")return t;let r=Ye.get(e),i=H.get(e),n=e.printCandidate(t),o=i.get(n);if(typeof o!="string")return t;for(let a of l(o,t)){let s=e.printCandidate(a);if(i.get(s)===o)return a}return t;function*l(a,s){let f=r.get(a);if(!(f.length>1)){if(f.length===0&&s.modifier){let c={...s,modifier:null},u=i.get(e.printCandidate(c));if(typeof u=="string")for(let p of l(u,c))yield Object.assign({},p,{modifier:s.modifier})}if(f.length===1)for(let c of j(e,f[0]))yield c}}}var Di=new Map([["order-none","order-0"]]);function Ui(e,t){let r=H.get(e),i=Ti(e,t),n=Di.get(i)??null;if(n===null)return t;let o=r.get(i);if(typeof o!="string")return t;let l=r.get(n);if(typeof l!="string"||o!==l)return t;let[a]=j(e,n);return a}function Ii(e,t){let r=Ve.get(e),i=Wt.get(e),n=Ee(t);for(let[o]of n){if(o.kind==="compound")continue;let l=e.printVariant(o),a=r.get(l);if(typeof a!="string")continue;let s=i.get(a);if(s.length!==1)continue;let f=s[0],c=e.parseVariant(f);c!==null&&F(o,c)}return t}function Li(e,t){let r=H.get(e);if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.dataType!==null){let i=e.printCandidate({...t,value:{...t.value,dataType:null}});r.get(e.printCandidate(t))===r.get(i)&&(t.value.dataType=null)}return t}function Ki(e,t){if(t.kind!=="functional"||t.value?.kind!=="arbitrary")return t;let r=H.get(e),i=r.get(e.printCandidate(t));if(i===null)return t;for(let n of Ht(t))if(r.get(e.printCandidate({...t,value:n}))===i)return t.value=n,t;return t}function Mi(e,t){let r=Ee(t);for(let[i]of r)if(i.kind==="functional"&&i.root==="data"&&i.value?.kind==="arbitrary"&&!i.value.value.includes("="))i.value={kind:"named",value:i.value.value};else if(i.kind==="functional"&&i.root==="aria"&&i.value?.kind==="arbitrary"&&(i.value.value.endsWith("=true")||i.value.value.endsWith('="true"')||i.value.value.endsWith("='true'"))){let[n,o]=A(i.value.value,"=");if(n[n.length-1]==="~"||n[n.length-1]==="|"||n[n.length-1]==="^"||n[n.length-1]==="$"||n[n.length-1]==="*")continue;i.value={kind:"named",value:i.value.value.slice(0,i.value.value.indexOf("="))}}else i.kind==="functional"&&i.root==="supports"&&i.value?.kind==="arbitrary"&&/^[a-z-][a-z0-9-]*$/i.test(i.value.value)&&(i.value={kind:"named",value:i.value.value});return t}function*Ht(e,t=e.value?.value??"",r=new Set){if(r.has(t))return;if(r.add(t),yield{kind:"named",value:t,fraction:null},t.endsWith("%")&&re(t.slice(0,-1))&&(yield{kind:"named",value:t.slice(0,-1),fraction:null}),t.includes("/")){let[o,l]=t.split("/");V(o)&&V(l)&&(yield{kind:"named",value:o,fraction:`${o}/${l}`})}let i=new Set;for(let o of t.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))i.add(o[0].trim());let n=Array.from(i).sort((o,l)=>o.length-l.length);for(let o of n)yield*Ht(e,o,r)}function Bt(e){return!e.some(t=>t.kind==="separator"&&t.value.trim()===",")}function Ne(e){let t=e.value.trim();return e.kind==="selector"&&t[0]==="["&&t[t.length-1]==="]"}function zi(e,t){let r=[t],i=Ve.get(e),n=Ee(t);for(let[o,l]of n)if(o.kind==="compound"&&(o.root==="has"||o.root==="not"||o.root==="in")&&o.modifier!==null&&"modifier"in o.variant&&(o.variant.modifier=o.modifier,o.modifier=null),o.kind==="arbitrary"){if(o.relative)continue;let a=se(o.selector.trim());if(!Bt(a))continue;if(l===null&&a.length===3&&a[0].kind==="selector"&&a[0].value==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===">"&&a[2].kind==="selector"&&a[2].value==="*"){F(o,e.parseVariant("*"));continue}if(l===null&&a.length===3&&a[0].kind==="selector"&&a[0].value==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&a[2].value==="*"){F(o,e.parseVariant("**"));continue}if(l===null&&a.length===3&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&a[2].value==="&"){a.pop(),a.pop(),F(o,e.parseVariant(`in-[${G(a)}]`));continue}if(l===null&&a[0].kind==="selector"&&(a[0].value==="@media"||a[0].value==="@supports")){let u=i.get(e.printVariant(o)),p=b(G(a)),m=!1;if($(p,(d,{replaceWith:g})=>{d.kind==="word"&&d.value==="not"&&(m=!0,g([]))}),p=b(C(p)),$(p,d=>{d.kind==="separator"&&d.value!==" "&&d.value.trim()===""&&(d.value=" ")}),m){let d=e.parseVariant(`not-[${C(p)}]`);if(d===null)continue;let g=i.get(e.printVariant(d));if(u===g){F(o,d);continue}}}let s=null;l===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===">"&&a[2].kind==="selector"&&Ne(a[2])&&(a=[a[2]],s=e.parseVariant("*")),l===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&Ne(a[2])&&(a=[a[2]],s=e.parseVariant("**"));let f=a.filter(u=>!(u.kind==="selector"&&u.value.trim()==="&"));if(f.length!==1)continue;let c=f[0];if(c.kind==="function"&&c.value===":is"){if(!Bt(c.nodes)||c.nodes.length!==1||!Ne(c.nodes[0]))continue;c=c.nodes[0]}if(c.kind==="function"&&c.value[0]===":"||c.kind==="selector"&&c.value[0]===":"){let u=c,p=!1;if(u.kind==="function"&&u.value===":not"){if(p=!0,u.nodes.length!==1||u.nodes[0].kind!=="selector"&&u.nodes[0].kind!=="function"||u.nodes[0].value[0]!==":")continue;u=u.nodes[0]}let m=(g=>{if(g===":nth-child"&&u.kind==="function"&&u.nodes.length===1&&u.nodes[0].kind==="value"&&u.nodes[0].value==="odd")return p?(p=!1,"even"):"odd";if(g===":nth-child"&&u.kind==="function"&&u.nodes.length===1&&u.nodes[0].kind==="value"&&u.nodes[0].value==="even")return p?(p=!1,"odd"):"even";for(let[v,k]of[[":nth-child","nth"],[":nth-last-child","nth-last"],[":nth-of-type","nth-of-type"],[":nth-last-of-type","nth-of-last-type"]])if(g===v&&u.kind==="function"&&u.nodes.length===1)return u.nodes.length===1&&u.nodes[0].kind==="value"&&V(u.nodes[0].value)?`${k}-${u.nodes[0].value}`:`${k}-[${G(u.nodes)}]`;if(p){let v=i.get(e.printVariant(o)),k=i.get(`not-[${g}]`);if(v===k)return`[&${g}]`}return null})(u.value);if(m===null)continue;p&&(m=`not-${m}`);let d=e.parseVariant(m);if(d===null)continue;F(o,d)}else if(Ne(c)){let u=Tt(c.value);if(u===null)continue;if(u.attribute.startsWith("data-")){let p=u.attribute.slice(5);F(o,{kind:"functional",root:"data",modifier:null,value:u.value===null?{kind:"named",value:p}:{kind:"arbitrary",value:`${p}${u.operator}${u.quote??""}${u.value}${u.quote??""}${u.sensitivity?` ${u.sensitivity}`:""}`}})}else if(u.attribute.startsWith("aria-")){let p=u.attribute.slice(5);F(o,{kind:"functional",root:"aria",modifier:null,value:u.value===null?{kind:"arbitrary",value:p}:u.operator==="="&&u.value==="true"&&u.sensitivity===null?{kind:"named",value:p}:{kind:"arbitrary",value:`${u.attribute}${u.operator}${u.quote??""}${u.value}${u.quote??""}${u.sensitivity?` ${u.sensitivity}`:""}`}})}}if(s)return[s,o]}return r}function Fi(e,t){if(t.kind!=="functional"&&t.kind!=="arbitrary"||t.modifier===null)return t;let r=H.get(e),i=r.get(e.printCandidate(t)),n=t.modifier;if(i===r.get(e.printCandidate({...t,modifier:null})))return t.modifier=null,t;{let o={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(i===r.get(e.printCandidate({...t,modifier:o})))return t.modifier=o,t}{let o={kind:"named",value:`${parseFloat(n.value)*100}`,fraction:null};if(i===r.get(e.printCandidate({...t,modifier:o})))return t.modifier=o,t}return t}function pe(e,t,{onInvalidCandidate:r,respectImportant:i}={}){let n=new Map,o=[],l=new Map;for(let f of e){if(t.invalidCandidates.has(f)){r?.(f);continue}let c=t.parseCandidate(f);if(c.length===0){r?.(f);continue}l.set(f,c)}let a=0;(i??!0)&&(a|=1);let s=t.getVariantOrder();for(let[f,c]of l){let u=!1;for(let p of c){let m=t.compileAstNodes(p,a);if(m.length!==0){u=!0;for(let{node:d,propertySort:g}of m){let v=0n;for(let k of p.variants)v|=1n<<BigInt(s.get(k));n.set(d,{properties:g,variants:v,candidate:f}),o.push(d)}}}u||r?.(f)}return o.sort((f,c)=>{let u=n.get(f),p=n.get(c);if(u.variants-p.variants!==0n)return Number(u.variants-p.variants);let m=0;for(;m<u.properties.order.length&&m<p.properties.order.length&&u.properties.order[m]===p.properties.order[m];)m+=1;return(u.properties.order[m]??1/0)-(p.properties.order[m]??1/0)||p.properties.count-u.properties.count||Ge(u.candidate,p.candidate)}),{astNodes:o,nodeSorting:n}}function fe(e,t){let r=0,i=M("&",e),n=new Set,o=new h(()=>new Set),l=new h(()=>new Set);y([i],(u,{parent:p,path:m})=>{if(u.kind==="at-rule"){if(u.name==="@keyframes")return y(u.nodes,d=>{if(d.kind==="at-rule"&&d.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),1;if(u.name==="@utility"){let d=u.params.replace(/-\*$/,"");l.get(d).add(u),y(u.nodes,g=>{if(!(g.kind!=="at-rule"||g.name!=="@apply")){n.add(u);for(let v of Zt(g,t))o.get(u).add(v)}});return}if(u.name==="@apply"){if(p===null)return;r|=1,n.add(p);for(let d of Zt(u,t))for(let g of m)g!==u&&n.has(g)&&o.get(g).add(d)}}});let a=new Set,s=[],f=new Set;function c(u,p=[]){if(!a.has(u)){if(f.has(u)){let m=p[(p.indexOf(u)+1)%p.length];throw u.kind==="at-rule"&&u.name==="@utility"&&m.kind==="at-rule"&&m.name==="@utility"&&y(u.nodes,d=>{if(d.kind!=="at-rule"||d.name!=="@apply")return;let g=d.params.split(/\s+/g);for(let v of g)for(let k of t.parseCandidate(v))switch(k.kind){case"arbitrary":break;case"static":case"functional":if(m.params.replace(/-\*$/,"")===k.root)throw new Error(`You cannot \`@apply\` the \`${v}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
7
+
8
+ ${P([u])}
9
+ Relies on:
10
+
11
+ ${P([m])}`)}f.add(u);for(let m of o.get(u))for(let d of l.get(m))p.push(u),c(d,p),p.pop();a.add(u),f.delete(u),s.push(u)}}for(let u of n)c(u);for(let u of s)"nodes"in u&&y(u.nodes,(p,{replaceWith:m})=>{if(p.kind!=="at-rule"||p.name!=="@apply")return;let d=p.params.split(/(\s+)/g),g={},v=0;for(let[k,w]of d.entries())k%2===0&&(g[w]=v),v+=w.length;{let k=Object.keys(g),w=pe(k,t,{respectImportant:!1,onInvalidCandidate:x=>{if(t.theme.prefix&&!x.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${x}\`. Did you mean \`${t.theme.prefix}:${x}\`?`);if(t.invalidCandidates.has(x))throw new Error(`Cannot apply utility class \`${x}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let T=A(x,":");if(T.length>1){let ke=T.pop();if(t.candidatesToCss([ke])[0]){let Q=t.candidatesToCss(T.map(X=>`${X}:[--tw-variant-check:1]`)),W=T.filter((X,Me)=>Q[Me]===null);if(W.length>0){if(W.length===1)throw new Error(`Cannot apply utility class \`${x}\` because the ${W.map(X=>`\`${X}\``)} variant does not exist.`);{let X=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${x}\` because the ${X.format(W.map(Me=>`\`${Me}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${x}\`. 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 \`${x}\``)}}),N=p.src,Ar=w.astNodes.map(x=>{let T=w.nodeSorting.get(x)?.candidate,ke=T?g[T]:void 0;if(x=D(x),!N||!T||ke===void 0)return y([x],W=>{W.src=N}),x;let Q=[N[0],N[1],N[2]];return Q[1]+=7+ke,Q[2]=Q[1]+T.length,y([x],W=>{W.src=Q}),x}),Ke=[];for(let x of Ar)if(x.kind==="rule")for(let T of x.nodes)Ke.push(T);else Ke.push(x);m(Ke)}});return r}function*Zt(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 me=92,Te=47,Re=42,Yt=34,Jt=39,qi=58,Oe=59,O=10,_e=13,ge=32,Pe=9,Qt=123,Je=125,et=40,Xt=41,Zi=91,Yi=93,er=45,Qe=64,Ji=33;function ve(e,t){let r=t?.from?{file:t.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let i=[],n=[],o=[],l=null,a=null,s="",f="",c=0,u;for(let p=0;p<e.length;p++){let m=e.charCodeAt(p);if(!(m===_e&&(u=e.charCodeAt(p+1),u===O)))if(m===me)s===""&&(c=p),s+=e.slice(p,p+2),p+=1;else if(m===Te&&e.charCodeAt(p+1)===Re){let d=p;for(let v=p+2;v<e.length;v++)if(u=e.charCodeAt(v),u===me)v+=1;else if(u===Re&&e.charCodeAt(v+1)===Te){p=v+1;break}let g=e.slice(d,p+1);if(g.charCodeAt(2)===Ji){let v=rt(g.slice(2,-2));n.push(v),r&&(v.src=[r,d,p+1],v.dst=[r,d,p+1])}}else if(m===Jt||m===Yt){let d=tr(e,p,m);s+=e.slice(p,d+1),p=d}else{if((m===ge||m===O||m===Pe)&&(u=e.charCodeAt(p+1))&&(u===ge||u===O||u===Pe||u===_e&&(u=e.charCodeAt(p+2))&&u==O))continue;if(m===O){if(s.length===0)continue;u=s.charCodeAt(s.length-1),u!==ge&&u!==O&&u!==Pe&&(s+=" ")}else if(m===er&&e.charCodeAt(p+1)===er&&s.length===0){let d="",g=p,v=-1;for(let w=p+2;w<e.length;w++)if(u=e.charCodeAt(w),u===me)w+=1;else if(u===Jt||u===Yt)w=tr(e,w,u);else if(u===Te&&e.charCodeAt(w+1)===Re){for(let N=w+2;N<e.length;N++)if(u=e.charCodeAt(N),u===me)N+=1;else if(u===Re&&e.charCodeAt(N+1)===Te){w=N+1;break}}else if(v===-1&&u===qi)v=s.length+w-g;else if(u===Oe&&d.length===0){s+=e.slice(g,w),p=w;break}else if(u===et)d+=")";else if(u===Zi)d+="]";else if(u===Qt)d+="}";else if((u===Je||e.length-1===w)&&d.length===0){p=w-1,s+=e.slice(g,w);break}else(u===Xt||u===Yi||u===Je)&&d.length>0&&e[w]===d[d.length-1]&&(d=d.slice(0,-1));let k=Xe(s,v);if(!k)throw new Error("Invalid custom property, expected a value");r&&(k.src=[r,g,p],k.dst=[r,g,p]),l?l.nodes.push(k):i.push(k),s=""}else if(m===Oe&&s.charCodeAt(0)===Qe)a=he(s),r&&(a.src=[r,c,p],a.dst=[r,c,p]),l?l.nodes.push(a):i.push(a),s="",a=null;else if(m===Oe&&f[f.length-1]!==")"){let d=Xe(s);if(!d){if(s.length===0)continue;throw new Error(`Invalid declaration: \`${s.trim()}\``)}r&&(d.src=[r,c,p],d.dst=[r,c,p]),l?l.nodes.push(d):i.push(d),s=""}else if(m===Qt&&f[f.length-1]!==")")f+="}",a=M(s.trim()),r&&(a.src=[r,c,p],a.dst=[r,c,p]),l&&l.nodes.push(a),o.push(l),l=a,s="",a=null;else if(m===Je&&f[f.length-1]!==")"){if(f==="")throw new Error("Missing opening {");if(f=f.slice(0,-1),s.length>0)if(s.charCodeAt(0)===Qe)a=he(s),r&&(a.src=[r,c,p],a.dst=[r,c,p]),l?l.nodes.push(a):i.push(a),s="",a=null;else{let g=s.indexOf(":");if(l){let v=Xe(s,g);if(!v)throw new Error(`Invalid declaration: \`${s.trim()}\``);r&&(v.src=[r,c,p],v.dst=[r,c,p]),l.nodes.push(v)}}let d=o.pop()??null;d===null&&l&&i.push(l),l=d,s="",a=null}else if(m===et)f+=")",s+="(";else if(m===Xt){if(f[f.length-1]!==")")throw new Error("Missing opening (");f=f.slice(0,-1),s+=")"}else{if(s.length===0&&(m===ge||m===O||m===Pe))continue;s===""&&(c=p),s+=String.fromCharCode(m)}}}if(s.charCodeAt(0)===Qe){let p=he(s);r&&(p.src=[r,c,e.length],p.dst=[r,c,e.length]),i.push(p)}if(f.length>0&&l){if(l.kind==="rule")throw new Error(`Missing closing } at ${l.selector}`);if(l.kind==="at-rule")throw new Error(`Missing closing } at ${l.name} ${l.params}`)}return n.length>0?n.concat(i):i}function he(e,t=[]){let r=e,i="";for(let n=5;n<e.length;n++){let o=e.charCodeAt(n);if(o===ge||o===et){r=e.slice(0,n),i=e.slice(n);break}}return E(r.trim(),i.trim(),t)}function Xe(e,t=e.indexOf(":")){if(t===-1)return null;let r=e.indexOf("!important",t+1);return z(e.slice(0,t).trim(),e.slice(t+1,r===-1?e.length:r).trim(),r!==-1)}function tr(e,t,r){let i;for(let n=t+1;n<e.length;n++)if(i=e.charCodeAt(n),i===me)n+=1;else{if(i===r)return n;if(i===Oe&&(e.charCodeAt(n+1)===O||e.charCodeAt(n+1)===_e&&e.charCodeAt(n+2)===O))throw new Error(`Unterminated string: ${e.slice(t,n+1)+String.fromCharCode(r)}`);if(i===O||i===_e&&e.charCodeAt(n+1)===O)throw new Error(`Unterminated string: ${e.slice(t,n)+String.fromCharCode(r)}`)}return t}var it={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 Y(e){return{__BARE_VALUE__:e}}var _=Y(e=>{if(V(e.value))return e.value}),S=Y(e=>{if(V(e.value))return`${e.value}%`}),q=Y(e=>{if(V(e.value))return`${e.value}px`}),ir=Y(e=>{if(V(e.value))return`${e.value}ms`}),De=Y(e=>{if(V(e.value))return`${e.value}deg`}),rn=Y(e=>{if(e.fraction===null)return;let[t,r]=A(e.fraction,"/");if(!(!V(t)||!V(r)))return e.fraction}),nr=Y(e=>{if(V(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),nn={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",...rn},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...S}),backdropContrast:({theme:e})=>({...e("contrast"),...S}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...S}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...De}),backdropInvert:({theme:e})=>({...e("invert"),...S}),backdropOpacity:({theme:e})=>({...e("opacity"),...S}),backdropSaturate:({theme:e})=>({...e("saturate"),...S}),backdropSepia:({theme:e})=>({...e("sepia"),...S}),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",...q},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",...S},caretColor:({theme:e})=>e("colors"),colors:()=>({...it}),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",..._},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...S},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"),...q}),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",..._},flexShrink:{0:"0",DEFAULT:"1",..._},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%",...S},grayscale:{0:"0",DEFAULT:"100%",...S},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",..._},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",..._},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",..._},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",..._},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))",...nr},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))",...nr},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",...De},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%",...S},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",..._},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",...S},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",..._},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...q},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...q},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",...q},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...q},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...De},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...S},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",...S},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%",...S},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...De},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",..._},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",...q},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...q},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",...ir},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...ir},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",..._}};var on=64;function K(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function E(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function M(e,t=[]){return e.charCodeAt(0)===on?he(e,t):K(e,t)}function z(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function rt(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 y(e,t,r=[],i={}){for(let n=0;n<e.length;n++){let o=e[n],l=r[r.length-1]??null;if(o.kind==="context"){if(y(o.nodes,t,r,{...i,...o.context})===2)return 2;continue}r.push(o);let a=!1,s=0,f=t(o,{parent:l,context:i,path:r,replaceWith(c){a||(a=!0,Array.isArray(c)?c.length===0?(e.splice(n,1),s=0):c.length===1?(e[n]=c[0],s=1):(e.splice(n,1,...c),s=c.length):(e[n]=c,s=1))}})??0;if(r.pop(),a){f===0?n--:n+=s-1;continue}if(f===2)return 2;if(f!==1&&"nodes"in o){r.push(o);let c=y(o.nodes,t,r,i);if(r.pop(),c===2)return 2}}}function P(e,t){let r=0,i={file:null,code:""};function n(l,a=0){let s="",f=" ".repeat(a);if(l.kind==="declaration"){if(s+=`${f}${l.property}: ${l.value}${l.important?" !important":""};
12
+ `,t){r+=f.length;let c=r;r+=l.property.length,r+=2,r+=l.value?.length??0,l.important&&(r+=11);let u=r;r+=2,l.dst=[i,c,u]}}else if(l.kind==="rule"){if(s+=`${f}${l.selector} {
13
+ `,t){r+=f.length;let c=r;r+=l.selector.length,r+=1;let u=r;l.dst=[i,c,u],r+=2}for(let c of l.nodes)s+=n(c,a+1);s+=`${f}}
14
+ `,t&&(r+=f.length,r+=2)}else if(l.kind==="at-rule"){if(l.nodes.length===0){let c=`${f}${l.name} ${l.params};
15
+ `;if(t){r+=f.length;let u=r;r+=l.name.length,r+=1,r+=l.params.length;let p=r;r+=2,l.dst=[i,u,p]}return c}if(s+=`${f}${l.name}${l.params?` ${l.params} `:" "}{
16
+ `,t){r+=f.length;let c=r;r+=l.name.length,l.params&&(r+=1,r+=l.params.length),r+=1;let u=r;l.dst=[i,c,u],r+=2}for(let c of l.nodes)s+=n(c,a+1);s+=`${f}}
17
+ `,t&&(r+=f.length,r+=2)}else if(l.kind==="comment"){if(s+=`${f}/*${l.value}*/
18
+ `,t){r+=f.length;let c=r;r+=2+l.value.length+2;let u=r;l.dst=[i,c,u],r+=1}}else if(l.kind==="context"||l.kind==="at-root")return"";return s}let o="";for(let l of e)o+=n(l,0);return i.code=o,o}function ln(e,t){if(typeof e!="string")throw new TypeError("expected path to be a string");if(e==="\\"||e==="/")return"/";var r=e.length;if(r<=1)return e;var i="";if(r>4&&e[3]==="\\"){var n=e[2];(n==="?"||n===".")&&e.slice(0,2)==="\\\\"&&(e=e.slice(2),i="//")}var o=e.split(/[/\\]+/);return t!==!1&&o[o.length-1]===""&&o.pop(),i+o.join("/")}function Ue(e){let t=ln(e);return e.startsWith("\\\\")&&t.startsWith("/")&&!t.startsWith("//")?`/${t}`:t}var ot=/(?<!@import\s+)(?<=^|[^\w\-\u0080-\uffff])url\((\s*('[^']+'|"[^"]+")\s*|[^'")]+)\)/,or=/(?<=image-set\()((?:[\w-]{1,256}\([^)]*\)|[^)])*)(?=\))/,an=/(?:gradient|element|cross-fade|image)\(/,sn=/^\s*data:/i,un=/^([a-z]+:)?\/\//,fn=/^[A-Z_][.\w-]*\(/i,cn=/(?:^|\s)(?<url>[\w-]+\([^)]*\)|"[^"]*"|'[^']*'|[^,]\S*[^,])\s*(?:\s(?<descriptor>\w[^,]+))?(?:,|$)/g,pn=/(?<!\\)"/g,dn=/(?: |\\t|\\n|\\f|\\r)+/g,mn=e=>sn.test(e),gn=e=>un.test(e);async function lr({css:e,base:t,root:r}){if(!e.includes("url(")&&!e.includes("image-set("))return e;let i=ve(e),n=[];function o(l){if(l[0]==="/")return l;let a=nt.posix.join(Ue(t),l),s=nt.posix.relative(Ue(r),a);return s.startsWith(".")||(s="./"+s),s}return y(i,l=>{if(l.kind!=="declaration"||!l.value)return;let a=ot.test(l.value),s=or.test(l.value);if(a||s){let f=s?hn:ar;n.push(f(l.value,o).then(c=>{l.value=c}))}}),n.length&&await Promise.all(n),P(i)}function ar(e,t){return ur(e,ot,async r=>{let[i,n]=r;return await sr(n.trim(),i,t)})}async function hn(e,t){return await ur(e,or,async r=>{let[,i]=r;return await wn(i,async({url:o})=>ot.test(o)?await ar(o,t):an.test(o)?o:await sr(o,o,t))})}async function sr(e,t,r,i="url"){let n="",o=e[0];if((o==='"'||o==="'")&&(n=o,e=e.slice(1,-1)),vn(e))return t;let l=await r(e);return n===""&&l!==encodeURI(l)&&(n='"'),n==="'"&&l.includes("'")&&(n='"'),n==='"'&&l.includes('"')&&(l=l.replace(pn,'\\"')),`${i}(${n}${l}${n})`}function vn(e,t){return gn(e)||mn(e)||!e[0].match(/[\.a-zA-Z0-9_]/)||fn.test(e)}function wn(e,t){return Promise.all(kn(e).map(async({url:r,descriptor:i})=>({url:await t({url:r,descriptor:i}),descriptor:i}))).then(yn)}function kn(e){let t=e.trim().replace(dn," ").replace(/\r?\n/,"").replace(/,\s+/,", ").replaceAll(/\s+/g," ").matchAll(cn);return Array.from(t,({groups:r})=>({url:r?.url?.trim()??"",descriptor:r?.descriptor?.trim()??""})).filter(({url:r})=>!!r)}function yn(e){return e.map(({url:t,descriptor:r})=>t+(r?` ${r}`:"")).join(", ")}async function ur(e,t,r){let i,n=e,o="";for(;i=t.exec(n);)o+=n.slice(0,i.index),o+=await r(i),n=n.slice(i.index+i[0].length);return o+=n,o}var Nn={};function mr({base:e,from:t,polyfills:r,onDependency:i,shouldRewriteUrls:n,customCssResolver:o,customJsResolver:l}){return{base:e,polyfills:r,from:t,async loadModule(a,s){return ut(a,s,i,l)},async loadStylesheet(a,s){let f=await hr(a,s,i,o);return n&&(f.content=await lr({css:f.content,root:e,base:f.base})),f}}}async function gr(e,t){if(e.root&&e.root!=="none"){let r=/[*{]/,i=[];for(let o of e.root.pattern.split("/")){if(r.test(o))break;i.push(o)}if(!await st.default.stat(ne.default.resolve(t,i.join("/"))).then(o=>o.isDirectory()).catch(()=>!1))throw new Error(`The \`source(${e.root.pattern})\` does not exist`)}}async function bn(e,t){let r=await(0,U.compileAst)(e,mr(t));return await gr(r,t.base),r}async function xn(e,t){let r=await(0,U.compile)(e,mr(t));return await gr(r,t.base),r}async function An(e,{base:t}){return(0,U.__unstable__loadDesignSystem)(e,{base:t,async loadModule(r,i){return ut(r,i,()=>{})},async loadStylesheet(r,i){return hr(r,i,()=>{})}})}async function ut(e,t,r,i){if(e[0]!=="."){let a=await pr(e,t,i);if(!a)throw new Error(`Could not resolve '${e}' from '${t}'`);let s=await cr((0,lt.pathToFileURL)(a).href);return{path:a,base:ne.default.dirname(a),module:s.default??s}}let n=await pr(e,t,i);if(!n)throw new Error(`Could not resolve '${e}' from '${t}'`);let[o,l]=await Promise.all([cr((0,lt.pathToFileURL)(n).href+"?id="+Date.now()),gt(n)]);for(let a of l)r(a);return{path:n,base:ne.default.dirname(n),module:o.default??o}}async function hr(e,t,r,i){let n=await $n(e,t,i);if(!n)throw new Error(`Could not resolve '${e}' from '${t}'`);if(r(n),typeof globalThis.__tw_readFile=="function"){let l=await globalThis.__tw_readFile(n,"utf-8");if(l)return{path:n,base:ne.default.dirname(n),content:l}}let o=await st.default.readFile(n,"utf-8");return{path:n,base:ne.default.dirname(n),content:o}}var fr=null;async function cr(e){if(typeof globalThis.__tw_load=="function"){let t=await globalThis.__tw_load(e);if(t)return t}try{return await import(e)}catch{return fr??=(0,dr.createJiti)(Nn.url,{moduleCache:!1,fsCache:!1}),await fr.import(e)}}var ft=["node_modules",...process.env.NODE_PATH?[process.env.NODE_PATH]:[]],Cn=J.default.ResolverFactory.createResolver({fileSystem:new J.default.CachedInputFileSystem(Ie.default,4e3),useSyncFileSystemCalls:!0,extensions:[".css"],mainFields:["style"],conditionNames:["style"],modules:ft});async function $n(e,t,r){if(typeof globalThis.__tw_resolve=="function"){let i=globalThis.__tw_resolve(e,t);if(i)return Promise.resolve(i)}if(r){let i=await r(e,t);if(i)return i}return at(Cn,e,t)}var Vn=J.default.ResolverFactory.createResolver({fileSystem:new J.default.CachedInputFileSystem(Ie.default,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","import"],modules:ft}),Sn=J.default.ResolverFactory.createResolver({fileSystem:new J.default.CachedInputFileSystem(Ie.default,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","require"],modules:ft});async function pr(e,t,r){if(typeof globalThis.__tw_resolve=="function"){let i=globalThis.__tw_resolve(e,t);if(i)return Promise.resolve(i)}if(r){let i=await r(e,t);if(i)return i}return at(Vn,e,t).catch(()=>at(Sn,e,t))}function at(e,t,r){return new Promise((i,n)=>e.resolve({},r,t,{},(o,l)=>{if(o)return n(o);i(l)}))}Symbol.dispose??=Symbol("Symbol.dispose");Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");var ct=class{constructor(t=r=>void process.stderr.write(`${r}
19
+ `)){this.defaultFlush=t}#r=new h(()=>({value:0}));#t=new h(()=>({value:0n}));#e=[];hit(t){this.#r.get(t).value++}start(t){let r=this.#e.map(n=>n.label).join("//"),i=`${r}${r.length===0?"":"//"}${t}`;this.#r.get(i).value++,this.#t.get(i),this.#e.push({id:i,label:t,namespace:r,value:process.hrtime.bigint()})}end(t){let r=process.hrtime.bigint();if(this.#e[this.#e.length-1].label!==t)throw new Error(`Mismatched timer label: \`${t}\`, expected \`${this.#e[this.#e.length-1].label}\``);let i=this.#e.pop(),n=r-i.value;this.#t.get(i.id).value+=n}reset(){this.#r.clear(),this.#t.clear(),this.#e.splice(0)}report(t=this.defaultFlush){let r=[],i=!1;for(let l=this.#e.length-1;l>=0;l--)this.end(this.#e[l].label);for(let[l,{value:a}]of this.#r.entries()){if(this.#t.has(l))continue;r.length===0&&(i=!0,r.push("Hits:"));let s=l.split("//").length;r.push(`${" ".repeat(s)}${l} ${Le(vr(`\xD7 ${a}`))}`)}this.#t.size>0&&i&&r.push(`
20
+ Timers:`);let n=-1/0,o=new Map;for(let[l,{value:a}]of this.#t){let s=`${(Number(a)/1e6).toFixed(2)}ms`;o.set(l,s),n=Math.max(n,s.length)}for(let l of this.#t.keys()){let a=l.split("//").length;r.push(`${Le(`[${o.get(l).padStart(n," ")}]`)}${" ".repeat(a-1)}${a===1?" ":Le(" \u21B3 ")}${l.split("//").pop()} ${this.#r.get(l).value===1?"":Le(vr(`\xD7 ${this.#r.get(l).value}`))}`.trimEnd())}t(`
13
21
  ${r.join(`
14
22
  `)}
15
- `),this.reset()}[Symbol.dispose](){V&&this.report()}};function I(e){return`\x1B[2m${e}\x1B[22m`}function Ne(e){return`\x1B[34m${e}\x1B[39m`}process.versions.bun||we.register?.((0,Ee.pathToFileURL)(require.resolve("@tailwindcss/node/esm-cache-loader")));0&&(module.exports={Features,Instrumentation,__unstable__loadDesignSystem,compile,compileAst,env,loadModule,normalizePath});
23
+ `),this.reset()}[Symbol.dispose](){ze&&this.report()}};function Le(e){return`\x1B[2m${e}\x1B[22m`}function vr(e){return`\x1B[34m${e}\x1B[39m`}var wr=R(require("@jridgewell/remapping")),Z=require("lightningcss"),kr=R(require("magic-string"));function En(e,{file:t="input.css",minify:r=!1,map:i}={}){function n(s,f){return(0,Z.transform)({filename:t,code:s,minify:r,sourceMap:typeof f<"u",inputSourceMap:f,drafts:{customMedia:!0},nonStandard:{deepSelectorCombinator:!0},include:Z.Features.Nesting|Z.Features.MediaQueries,exclude:Z.Features.LogicalProperties|Z.Features.DirSelector|Z.Features.LightDark,targets:{safari:16<<16|1024,ios_saf:16<<16|1024,firefox:8388608,chrome:7274496},errorRecovery:!0})}let o=n(Buffer.from(e),i);if(i=o.map?.toString(),o.warnings=o.warnings.filter(s=>!/'(deep|slotted|global)' is not recognized as a valid pseudo-/.test(s.message)),o.warnings.length>0){let s=e.split(`
24
+ `),f=[`Found ${o.warnings.length} ${o.warnings.length===1?"warning":"warnings"} while optimizing generated CSS:`];for(let[c,u]of o.warnings.entries()){f.push(""),o.warnings.length>1&&f.push(`Issue #${c+1}:`);let p=2,m=Math.max(0,u.loc.line-p-1),d=Math.min(s.length,u.loc.line+p),g=s.slice(m,d).map((v,k)=>m+k+1===u.loc.line?`${we("\u2502")} ${v}`:we(`\u2502 ${v}`));g.splice(u.loc.line-m,0,`${we("\u2506")}${" ".repeat(u.loc.column-1)} ${Tn(`${we("^--")} ${u.message}`)}`,`${we("\u2506")}`),f.push(...g)}f.push(""),console.warn(f.join(`
25
+ `))}o=n(o.code,i),i=o.map?.toString();let l=o.code.toString(),a=new kr.default(l);if(a.replaceAll("@media not (","@media not all and ("),i!==void 0&&a.hasChanged()){let s=a.generateMap({source:"original",hires:"boundary"}).toString();i=(0,wr.default)([s,i],()=>null).toString()}return l=a.toString(),{code:l,map:i}}function we(e){return`\x1B[2m${e}\x1B[22m`}function Tn(e){return`\x1B[33m${e}\x1B[39m`}var yr=require("source-map-js");function Rn(e){let t=new yr.SourceMapGenerator,r=1,i=new h(n=>({url:n?.url??`<unknown ${r++}>`,content:n?.content??"<none>"}));for(let n of e.mappings){let o=i.get(n.originalPosition?.source??null);t.addMapping({generated:n.generatedPosition,original:n.originalPosition,source:o.url,name:n.name}),t.setSourceContent(o.url,o.content)}return t.toString()}function Pn(e){let t=typeof e=="string"?e:Rn(e);return{raw:t,get inline(){let r="";return r+="/*# sourceMappingURL=data:application/json;base64,",r+=Buffer.from(t,"utf-8").toString("base64"),r+=` */
26
+ `,r}}}process.versions.bun||br.register?.((0,xr.pathToFileURL)(require.resolve("@tailwindcss/node/esm-cache-loader")));0&&(module.exports={Features,Instrumentation,Polyfills,__unstable__loadDesignSystem,compile,compileAst,env,loadModule,normalizePath,optimize,toSourceMap});
package/dist/index.mjs CHANGED
@@ -1,15 +1,26 @@
1
- var ye=Object.defineProperty;var ve=(e,t)=>{for(var r in t)ye(e,r,{get:t[r],enumerable:!0})};import*as b from"node:module";import{pathToFileURL as ut}from"node:url";var O={};ve(O,{DEBUG:()=>_});var _=Se(process.env.DEBUG);function Se(e){if(e===void 0)return!1;if(e==="true"||e==="1")return!0;if(e==="false"||e==="0")return!1;if(e==="*")return!0;let t=e.split(",").map(r=>r.split(":")[0]);return t.includes("-tailwindcss")?!1:!!t.includes("tailwindcss")}import A from"enhanced-resolve";import{createJiti as Ye}from"jiti";import B from"node:fs";import pe from"node:fs/promises";import M,{dirname as oe}from"node:path";import{pathToFileURL as ae}from"node:url";import{__unstable__loadDesignSystem as Xe,compile as Ze,compileAst as et,Features as tt}from"tailwindcss";import P from"node:fs/promises";import y from"node:path";var Ne=[/import[\s\S]*?['"](.{3,}?)['"]/gi,/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/export[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/require\(['"`](.+)['"`]\)/gi],we=[".js",".cjs",".mjs"],Ee=["",".js",".cjs",".mjs",".ts",".cts",".mts",".jsx",".tsx"],Ce=["",".ts",".cts",".mts",".tsx",".js",".cjs",".mjs",".jsx"];async function Re(e,t){for(let r of t){let s=`${e}${r}`;if((await P.stat(s).catch(()=>null))?.isFile())return s}for(let r of t){let s=`${e}/index${r}`;if(await P.access(s).then(()=>!0,()=>!1))return s}return null}async function z(e,t,r,s){let n=we.includes(s)?Ee:Ce,l=await Re(y.resolve(r,t),n);if(l===null||e.has(l))return;e.add(l),r=y.dirname(l),s=y.extname(l);let i=await P.readFile(l,"utf-8"),a=[];for(let o of Ne)for(let f of i.matchAll(o))f[1].startsWith(".")&&a.push(z(e,f[1],r,s));await Promise.all(a)}async function G(e){let t=new Set;return await z(t,e,y.dirname(e),y.extname(e)),Array.from(t)}import*as W from"node:path";var v=92,w=47,E=42,ke=34,$e=39,be=58,C=59,h=10,S=32,R=9,Q=123,D=125,I=40,q=41,Te=91,_e=93,J=45,U=64,Oe=33;function Y(e){e[0]==="\uFEFF"&&(e=e.slice(1)),e=e.replaceAll(`\r
1
+ var mr=Object.defineProperty;var gr=(e,t)=>{for(var r in t)mr(e,r,{get:t[r],enumerable:!0})};import*as Pe from"module";import{pathToFileURL as bn}from"url";var Ue={};gr(Ue,{DEBUG:()=>De});var De=hr(process.env.DEBUG);function hr(e){if(typeof e=="boolean")return e;if(e===void 0)return!1;if(e==="true"||e==="1")return!0;if(e==="false"||e==="0")return!1;if(e==="*")return!0;let t=e.split(",").map(r=>r.split(":")[0]);return t.includes("-tailwindcss")?!1:!!t.includes("tailwindcss")}import X from"enhanced-resolve";import{createJiti as an}from"jiti";import nt from"fs";import lr from"fs/promises";import me from"path";import{pathToFileURL as rr}from"url";import{__unstable__loadDesignSystem as sn,compile as un,compileAst as fn,Features as Pu,Polyfills as Ou}from"tailwindcss";import Ie from"fs/promises";import ee from"path";var vr=[/import[\s\S]*?['"](.{3,}?)['"]/gi,/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/export[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/require\(['"`](.+)['"`]\)/gi],wr=[".js",".cjs",".mjs"],kr=["",".js",".cjs",".mjs",".ts",".cts",".mts",".jsx",".tsx"],yr=["",".ts",".cts",".mts",".tsx",".js",".cjs",".mjs",".jsx"];async function br(e,t){for(let r of t){let i=`${e}${r}`;if((await Ie.stat(i).catch(()=>null))?.isFile())return i}for(let r of t){let i=`${e}/index${r}`;if(await Ie.access(i).then(()=>!0,()=>!1))return i}return null}async function lt(e,t,r,i){let n=wr.includes(i)?kr:yr,o=await br(ee.resolve(r,t),n);if(o===null||e.has(o))return;e.add(o),r=ee.dirname(o),i=ee.extname(o);let l=await Ie.readFile(o,"utf-8"),a=[];for(let s of vr)for(let f of l.matchAll(s))f[1].startsWith(".")&&a.push(lt(e,f[1],r,i));await Promise.all(a)}async function at(e){let t=new Set;return await lt(t,e,ee.dirname(e),ee.extname(e)),Array.from(t)}import*as tt from"path";function Le(e){return{kind:"word",value:e}}function xr(e,t){return{kind:"function",value:e,nodes:t}}function Ar(e){return{kind:"separator",value:e}}function $(e,t,r=null){for(let i=0;i<e.length;i++){let n=e[i],o=!1,l=0,a=t(n,{parent:r,replaceWith(s){o||(o=!0,Array.isArray(s)?s.length===0?(e.splice(i,1),l=0):s.length===1?(e[i]=s[0],l=1):(e.splice(i,1,...s),l=s.length):e[i]=s)}})??0;if(o){a===0?i--:i+=l-1;continue}if(a===2)return 2;if(a!==1&&n.kind==="function"&&$(n.nodes,t,n)===2)return 2}}function C(e){let t="";for(let r of e)switch(r.kind){case"word":case"separator":{t+=r.value;break}case"function":t+=r.value+"("+C(r.nodes)+")"}return t}var st=92,Cr=41,ut=58,ft=44,$r=34,ct=61,pt=62,dt=60,mt=10,Vr=40,Sr=39,gt=47,ht=32,vt=9;function b(e){e=e.replaceAll(`\r
2
2
  `,`
3
- `);let t=[],r=[],s=[],n=null,l=null,i="",a="",o;for(let f=0;f<e.length;f++){let u=e.charCodeAt(f);if(u===v)i+=e.slice(f,f+2),f+=1;else if(u===w&&e.charCodeAt(f+1)===E){let c=f;for(let m=f+2;m<e.length;m++)if(o=e.charCodeAt(m),o===v)m+=1;else if(o===E&&e.charCodeAt(m+1)===w){f=m+1;break}let p=e.slice(c,f+1);p.charCodeAt(2)===Oe&&r.push(ee(p.slice(2,-2)))}else if(u===$e||u===ke){let c=f;for(let p=f+1;p<e.length;p++)if(o=e.charCodeAt(p),o===v)p+=1;else if(o===u){f=p;break}else{if(o===C&&e.charCodeAt(p+1)===h)throw new Error(`Unterminated string: ${e.slice(c,p+1)+String.fromCharCode(u)}`);if(o===h)throw new Error(`Unterminated string: ${e.slice(c,p)+String.fromCharCode(u)}`)}i+=e.slice(c,f+1)}else{if((u===S||u===h||u===R)&&(o=e.charCodeAt(f+1))&&(o===S||o===h||o===R))continue;if(u===h){if(i.length===0)continue;o=i.charCodeAt(i.length-1),o!==S&&o!==h&&o!==R&&(i+=" ")}else if(u===J&&e.charCodeAt(f+1)===J&&i.length===0){let c="",p=f,m=-1;for(let d=f+2;d<e.length;d++)if(o=e.charCodeAt(d),o===v)d+=1;else if(o===w&&e.charCodeAt(d+1)===E){for(let g=d+2;g<e.length;g++)if(o=e.charCodeAt(g),o===v)g+=1;else if(o===E&&e.charCodeAt(g+1)===w){d=g+1;break}}else if(m===-1&&o===be)m=i.length+d-p;else if(o===C&&c.length===0){i+=e.slice(p,d),f=d;break}else if(o===I)c+=")";else if(o===Te)c+="]";else if(o===Q)c+="}";else if((o===D||e.length-1===d)&&c.length===0){f=d-1,i+=e.slice(p,d);break}else(o===q||o===_e||o===D)&&c.length>0&&e[d]===c[c.length-1]&&(c=c.slice(0,-1));let T=F(i,m);if(!T)throw new Error("Invalid custom property, expected a value");n?n.nodes.push(T):t.push(T),i=""}else if(u===C&&i.charCodeAt(0)===U)l=N(i),n?n.nodes.push(l):t.push(l),i="",l=null;else if(u===C&&a[a.length-1]!==")"){let c=F(i);if(!c)throw i.length===0?new Error("Unexpected semicolon"):new Error(`Invalid declaration: \`${i.trim()}\``);n?n.nodes.push(c):t.push(c),i=""}else if(u===Q&&a[a.length-1]!==")")a+="}",l=X(i.trim()),n&&n.nodes.push(l),s.push(n),n=l,i="",l=null;else if(u===D&&a[a.length-1]!==")"){if(a==="")throw new Error("Missing opening {");if(a=a.slice(0,-1),i.length>0)if(i.charCodeAt(0)===U)l=N(i),n?n.nodes.push(l):t.push(l),i="",l=null;else{let p=i.indexOf(":");if(n){let m=F(i,p);if(!m)throw new Error(`Invalid declaration: \`${i.trim()}\``);n.nodes.push(m)}}let c=s.pop()??null;c===null&&n&&t.push(n),n=c,i="",l=null}else if(u===I)a+=")",i+="(";else if(u===q){if(a[a.length-1]!==")")throw new Error("Missing opening (");a=a.slice(0,-1),i+=")"}else{if(i.length===0&&(u===S||u===h||u===R))continue;i+=String.fromCharCode(u)}}}if(i.charCodeAt(0)===U&&t.push(N(i)),a.length>0&&n){if(n.kind==="rule")throw new Error(`Missing closing } at ${n.selector}`);if(n.kind==="at-rule")throw new Error(`Missing closing } at ${n.name} ${n.params}`)}return r.length>0?r.concat(t):t}function N(e,t=[]){for(let r=5;r<e.length;r++){let s=e.charCodeAt(r);if(s===S||s===I){let n=e.slice(0,r).trim(),l=e.slice(r).trim();return V(n,l,t)}}return V(e.trim(),"",t)}function F(e,t=e.indexOf(":")){if(t===-1)return null;let r=e.indexOf("!important",t+1);return Z(e.slice(0,t).trim(),e.slice(t+1,r===-1?e.length:r).trim(),r!==-1)}var x=class extends Map{constructor(r){super();this.factory=r}get(r){let s=super.get(r);return s===void 0&&(s=this.factory(r,this),this.set(r,s)),s}};var De=64;function Ue(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function V(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function X(e,t=[]){return e.charCodeAt(0)===De?N(e,t):Ue(e,t)}function Z(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function ee(e){return{kind:"comment",value:e}}function k(e,t,r=[],s={}){for(let n=0;n<e.length;n++){let l=e[n],i=r[r.length-1]??null;if(l.kind==="context"){if(k(l.nodes,t,r,{...s,...l.context})===2)return 2;continue}r.push(l);let a=!1,o=0,f=t(l,{parent:i,context:s,path:r,replaceWith(u){a=!0,Array.isArray(u)?u.length===0?(e.splice(n,1),o=0):u.length===1?(e[n]=u[0],o=1):(e.splice(n,1,...u),o=u.length):(e[n]=u,o=1)}})??0;if(r.pop(),a){f===0?n--:n+=o-1;continue}if(f===2)return 2;if(f!==1&&"nodes"in l){r.push(l);let u=k(l.nodes,t,r,s);if(r.pop(),u===2)return 2}}}function te(e){function t(s,n=0){let l="",i=" ".repeat(n);if(s.kind==="declaration")l+=`${i}${s.property}: ${s.value}${s.important?" !important":""};
4
- `;else if(s.kind==="rule"){l+=`${i}${s.selector} {
5
- `;for(let a of s.nodes)l+=t(a,n+1);l+=`${i}}
6
- `}else if(s.kind==="at-rule"){if(s.nodes.length===0)return`${i}${s.name} ${s.params};
7
- `;l+=`${i}${s.name}${s.params?` ${s.params} `:" "}{
8
- `;for(let a of s.nodes)l+=t(a,n+1);l+=`${i}}
9
- `}else if(s.kind==="comment")l+=`${i}/*${s.value}*/
10
- `;else if(s.kind==="context"||s.kind==="at-root")return"";return l}let r="";for(let s of e){let n=t(s);n!==""&&(r+=n)}return r}function Fe(e,t){if(typeof e!="string")throw new TypeError("expected path to be a string");if(e==="\\"||e==="/")return"/";var r=e.length;if(r<=1)return e;var s="";if(r>4&&e[3]==="\\"){var n=e[2];(n==="?"||n===".")&&e.slice(0,2)==="\\\\"&&(e=e.slice(2),s="//")}var l=e.split(/[/\\]+/);return t!==!1&&l[l.length-1]===""&&l.pop(),s+l.join("/")}function L(e){let t=Fe(e);return e.startsWith("\\\\")&&t.startsWith("/")&&!t.startsWith("//")?`/${t}`:t}var K=/(?<!@import\s+)(?<=^|[^\w\-\u0080-\uffff])url\((\s*('[^']+'|"[^"]+")\s*|[^'")]+)\)/,re=/(?<=image-set\()((?:[\w-]{1,256}\([^)]*\)|[^)])*)(?=\))/,Ie=/(?:gradient|element|cross-fade|image)\(/,Ve=/^\s*data:/i,Le=/^([a-z]+:)?\/\//,We=/^[A-Z_][.\w-]*\(/i,Ke=/(?:^|\s)(?<url>[\w-]+\([^)]*\)|"[^"]*"|'[^']*'|[^,]\S*[^,])\s*(?:\s(?<descriptor>\w[^,]+))?(?:,|$)/g,Me=/(?<!\\)"/g,je=/(?: |\\t|\\n|\\f|\\r)+/g,Be=e=>Ve.test(e),He=e=>Le.test(e);async function se({css:e,base:t,root:r}){if(!e.includes("url(")&&!e.includes("image-set("))return e;let s=Y(e),n=[];function l(i){if(i[0]==="/")return i;let a=W.posix.join(L(t),i),o=W.posix.relative(L(r),a);return o.startsWith(".")||(o="./"+o),o}return k(s,i=>{if(i.kind!=="declaration"||!i.value)return;let a=K.test(i.value),o=re.test(i.value);if(a||o){let f=o?ze:ne;n.push(f(i.value,l).then(u=>{i.value=u}))}}),n.length&&await Promise.all(n),te(s)}function ne(e,t){return le(e,K,async r=>{let[s,n]=r;return await ie(n.trim(),s,t)})}async function ze(e,t){return await le(e,re,async r=>{let[,s]=r;return await Qe(s,async({url:l})=>K.test(l)?await ne(l,t):Ie.test(l)?l:await ie(l,l,t))})}async function ie(e,t,r,s="url"){let n="",l=e[0];if((l==='"'||l==="'")&&(n=l,e=e.slice(1,-1)),Ge(e))return t;let i=await r(e);return n===""&&i!==encodeURI(i)&&(n='"'),n==="'"&&i.includes("'")&&(n='"'),n==='"'&&i.includes('"')&&(i=i.replace(Me,'\\"')),`${s}(${n}${i}${n})`}function Ge(e,t){return He(e)||Be(e)||!e[0].match(/[\.a-zA-Z0-9_]/)||We.test(e)}function Qe(e,t){return Promise.all(qe(e).map(async({url:r,descriptor:s})=>({url:await t({url:r,descriptor:s}),descriptor:s}))).then(Je)}function qe(e){let t=e.trim().replace(je," ").replace(/\r?\n/,"").replace(/,\s+/,", ").replaceAll(/\s+/g," ").matchAll(Ke);return Array.from(t,({groups:r})=>({url:r?.url?.trim()??"",descriptor:r?.descriptor?.trim()??""})).filter(({url:r})=>!!r)}function Je(e){return e.map(({url:t,descriptor:r})=>t+(r?` ${r}`:"")).join(", ")}async function le(e,t,r){let s,n=e,l="";for(;s=t.exec(n);)l+=n.slice(0,s.index),l+=await r(s),n=n.slice(s.index+s[0].length);return l+=n,l}function de({base:e,onDependency:t,shouldRewriteUrls:r,customCssResolver:s,customJsResolver:n}){return{base:e,async loadModule(l,i){return he(l,i,t,n)},async loadStylesheet(l,i){let a=await ge(l,i,t,s);return r&&(a.content=await se({css:a.content,root:i,base:a.base})),a}}}async function me(e,t){if(e.root&&e.root!=="none"){let r=/[*{]/,s=[];for(let l of e.root.pattern.split("/")){if(r.test(l))break;s.push(l)}if(!await pe.stat(M.resolve(t,s.join("/"))).then(l=>l.isDirectory()).catch(()=>!1))throw new Error(`The \`source(${e.root.pattern})\` does not exist`)}}async function rt(e,t){let r=await et(e,de(t));return await me(r,t.base),r}async function st(e,t){let r=await Ze(e,de(t));return await me(r,t.base),r}async function nt(e,{base:t}){return Xe(e,{base:t,async loadModule(r,s){return he(r,s,()=>{})},async loadStylesheet(r,s){return ge(r,s,()=>{})}})}async function he(e,t,r,s){if(e[0]!=="."){let a=await ce(e,t,s);if(!a)throw new Error(`Could not resolve '${e}' from '${t}'`);let o=await fe(ae(a).href);return{base:oe(a),module:o.default??o}}let n=await ce(e,t,s);if(!n)throw new Error(`Could not resolve '${e}' from '${t}'`);let[l,i]=await Promise.all([fe(ae(n).href+"?id="+Date.now()),G(n)]);for(let a of i)r(a);return{base:oe(n),module:l.default??l}}async function ge(e,t,r,s){let n=await lt(e,t,s);if(!n)throw new Error(`Could not resolve '${e}' from '${t}'`);if(r(n),typeof globalThis.__tw_readFile=="function"){let i=await globalThis.__tw_readFile(n,"utf-8");if(i)return{base:M.dirname(n),content:i}}let l=await pe.readFile(n,"utf-8");return{base:M.dirname(n),content:l}}var ue=null;async function fe(e){if(typeof globalThis.__tw_load=="function"){let t=await globalThis.__tw_load(e);if(t)return t}try{return await import(e)}catch{return ue??=Ye(import.meta.url,{moduleCache:!1,fsCache:!1}),await ue.import(e)}}var H=["node_modules",...process.env.NODE_PATH?[process.env.NODE_PATH]:[]],it=A.ResolverFactory.createResolver({fileSystem:new A.CachedInputFileSystem(B,4e3),useSyncFileSystemCalls:!0,extensions:[".css"],mainFields:["style"],conditionNames:["style"],modules:H});async function lt(e,t,r){if(typeof globalThis.__tw_resolve=="function"){let s=globalThis.__tw_resolve(e,t);if(s)return Promise.resolve(s)}if(r){let s=await r(e,t);if(s)return s}return j(it,e,t)}var ot=A.ResolverFactory.createResolver({fileSystem:new A.CachedInputFileSystem(B,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","import"],modules:H}),at=A.ResolverFactory.createResolver({fileSystem:new A.CachedInputFileSystem(B,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","require"],modules:H});async function ce(e,t,r){if(typeof globalThis.__tw_resolve=="function"){let s=globalThis.__tw_resolve(e,t);if(s)return Promise.resolve(s)}if(r){let s=await r(e,t);if(s)return s}return j(ot,e,t).catch(()=>j(at,e,t))}function j(e,t,r){return new Promise((s,n)=>e.resolve({},r,t,{},(l,i)=>{if(l)return n(l);s(i)}))}Symbol.dispose??=Symbol("Symbol.dispose");Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");var xe=class{constructor(t=r=>void process.stderr.write(`${r}
11
- `)){this.defaultFlush=t}#r=new x(()=>({value:0}));#t=new x(()=>({value:0n}));#e=[];hit(t){this.#r.get(t).value++}start(t){let r=this.#e.map(n=>n.label).join("//"),s=`${r}${r.length===0?"":"//"}${t}`;this.#r.get(s).value++,this.#t.get(s),this.#e.push({id:s,label:t,namespace:r,value:process.hrtime.bigint()})}end(t){let r=process.hrtime.bigint();if(this.#e[this.#e.length-1].label!==t)throw new Error(`Mismatched timer label: \`${t}\`, expected \`${this.#e[this.#e.length-1].label}\``);let s=this.#e.pop(),n=r-s.value;this.#t.get(s.id).value+=n}reset(){this.#r.clear(),this.#t.clear(),this.#e.splice(0)}report(t=this.defaultFlush){let r=[],s=!1;for(let i=this.#e.length-1;i>=0;i--)this.end(this.#e[i].label);for(let[i,{value:a}]of this.#r.entries()){if(this.#t.has(i))continue;r.length===0&&(s=!0,r.push("Hits:"));let o=i.split("//").length;r.push(`${" ".repeat(o)}${i} ${$(Ae(`\xD7 ${a}`))}`)}this.#t.size>0&&s&&r.push(`
12
- Timers:`);let n=-1/0,l=new Map;for(let[i,{value:a}]of this.#t){let o=`${(Number(a)/1e6).toFixed(2)}ms`;l.set(i,o),n=Math.max(n,o.length)}for(let i of this.#t.keys()){let a=i.split("//").length;r.push(`${$(`[${l.get(i).padStart(n," ")}]`)}${" ".repeat(a-1)}${a===1?" ":$(" \u21B3 ")}${i.split("//").pop()} ${this.#r.get(i).value===1?"":$(Ae(`\xD7 ${this.#r.get(i).value}`))}`.trimEnd())}t(`
3
+ `);let t=[],r=[],i=null,n="",o;for(let l=0;l<e.length;l++){let a=e.charCodeAt(l);switch(a){case st:{n+=e[l]+e[l+1],l++;break}case ut:case ft:case ct:case pt:case dt:case mt:case gt:case ht:case vt:{if(n.length>0){let u=Le(n);i?i.nodes.push(u):t.push(u),n=""}let s=l,f=l+1;for(;f<e.length&&(o=e.charCodeAt(f),!(o!==ut&&o!==ft&&o!==ct&&o!==pt&&o!==dt&&o!==mt&&o!==gt&&o!==ht&&o!==vt));f++);l=f-1;let c=Ar(e.slice(s,f));i?i.nodes.push(c):t.push(c);break}case Sr:case $r:{let s=l;for(let f=l+1;f<e.length;f++)if(o=e.charCodeAt(f),o===st)f+=1;else if(o===a){l=f;break}n+=e.slice(s,l+1);break}case Vr:{let s=xr(n,[]);n="",i?i.nodes.push(s):t.push(s),r.push(s),i=s;break}case Cr:{let s=r.pop();if(n.length>0){let f=Le(n);s?.nodes.push(f),n=""}r.length>0?i=r[r.length-1]:i=null;break}default:n+=String.fromCharCode(a)}}return n.length>0&&t.push(Le(n)),t}var h=class extends Map{constructor(r){super();this.factory=r}get(r){let i=super.get(r);return i===void 0&&(i=this.factory(r,this),this.set(r,i)),i}};var Rn=new Uint8Array(256);var we=new Uint8Array(256);function A(e,t){let r=0,i=[],n=0,o=e.length,l=t.charCodeAt(0);for(let a=0;a<o;a++){let s=e.charCodeAt(a);if(r===0&&s===l){i.push(e.slice(n,a)),n=a+1;continue}switch(s){case 92:a+=1;break;case 39:case 34:for(;++a<o;){let f=e.charCodeAt(a);if(f===92){a+=1;continue}if(f===s)break}break;case 40:we[r]=41,r++;break;case 91:we[r]=93,r++;break;case 123:we[r]=125,r++;break;case 93:case 125:case 41:r>0&&s===we[r-1]&&r--;break}}return i.push(e.slice(n)),i}function wt(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(Y),important:e.important,raw:e.raw};case"static":return{kind:e.kind,root:e.root,variants:e.variants.map(Y),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(Y),important:e.important,raw:e.raw};default:throw new Error("Unknown candidate kind")}}function Y(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:Y(e.variant),modifier:e.modifier?{kind:e.modifier.kind,value:e.modifier.value}:null};default:throw new Error("Unknown variant kind")}}function Me(e){if(e===null)return"";let t=Tr(e.value),r=t?e.value.slice(4,-1):e.value,[i,n]=t?["(",")"]:["[","]"];return e.kind==="arbitrary"?`/${i}${ze(r)}${n}`:e.kind==="named"?`/${e.value}`:""}var Nr=new h(e=>{let t=b(e),r=new Set;return $(t,(i,{parent:n})=>{let o=n===null?t:n.nodes??[];if(i.kind==="word"&&(i.value==="+"||i.value==="-"||i.value==="*"||i.value==="/")){let l=o.indexOf(i)??-1;if(l===-1)return;let a=o[l-1];if(a?.kind!=="separator"||a.value!==" ")return;let s=o[l+1];if(s?.kind!=="separator"||s.value!==" ")return;r.add(a),r.add(s)}else i.kind==="separator"&&i.value.trim()==="/"?i.value="/":i.kind==="separator"&&i.value.length>0&&i.value.trim()===""?(o[0]===i||o[o.length-1]===i)&&r.add(i):i.kind==="separator"&&i.value.trim()===","&&(i.value=",")}),r.size>0&&$(t,(i,{replaceWith:n})=>{r.has(i)&&(r.delete(i),n([]))}),Ke(t),C(t)});function ze(e){return Nr.get(e)}var Mn=new h(e=>{let t=b(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"?C(t[2].nodes):e});function Ke(e){for(let t of e)switch(t.kind){case"function":{if(t.value==="url"||t.value.endsWith("_url")){t.value=te(t.value);break}if(t.value==="var"||t.value.endsWith("_var")||t.value==="theme"||t.value.endsWith("_theme")){t.value=te(t.value);for(let r=0;r<t.nodes.length;r++)Ke([t.nodes[r]]);break}t.value=te(t.value),Ke(t.nodes);break}case"separator":t.value=te(t.value);break;case"word":{(t.value[0]!=="-"||t.value[1]!=="-")&&(t.value=te(t.value));break}default:Rr(t)}}var Er=new h(e=>{let t=b(e);return t.length===1&&t[0].kind==="function"&&t[0].value==="var"});function Tr(e){return Er.get(e)}function Rr(e){throw new Error(`Unexpected value: ${e}`)}function te(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var Pr=process.env.FEATURES_ENV!=="stable";var U=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Yn=new RegExp(`^${U.source}$`);var Jn=new RegExp(`^${U.source}%$`);var Qn=new RegExp(`^${U.source}s*/s*${U.source}$`);var Or=["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"],Xn=new RegExp(`^${U.source}(${Or.join("|")})$`);var _r=["deg","rad","grad","turn"],eo=new RegExp(`^${U.source}(${_r.join("|")})$`);var to=new RegExp(`^${U.source} +${U.source} +${U.source}$`);function V(e){let t=Number(e);return Number.isInteger(t)&&t>=0&&String(t)===String(e)}function J(e){return Dr(e,.25)}function Dr(e,t){let r=Number(e);return r>=0&&r%t===0&&String(r)===String(e)}function re(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 Ir={"--alpha":Lr,"--spacing":Kr,"--theme":Mr,theme:zr};function Lr(e,t,r,...i){let[n,o]=A(r,"/").map(l=>l.trim());if(!n||!o)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${n||"var(--my-color)"} / ${o||"50%"})\``);if(i.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${n||"var(--my-color)"} / ${o||"50%"})\``);return re(n,o)}function Kr(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 n=e.theme.resolve(null,["--spacing"]);if(!n)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");return`calc(${n} * ${r})`}function Mr(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 n=!1;r.endsWith(" inline")&&(n=!0,r=r.slice(0,-7)),t.kind==="at-rule"&&(n=!0);let o=e.resolveThemeValue(r,n);if(!o){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 o;let l=i.join(", ");if(l==="initial")return o;if(o==="initial")return l;if(o.startsWith("var(")||o.startsWith("theme(")||o.startsWith("--theme(")){let a=b(o);return jr(a,l),C(a)}return o}function zr(e,t,r,...i){r=Fr(r);let n=e.resolveThemeValue(r);if(!n&&i.length>0)return i.join(", ");if(!n)throw new Error(`Could not resolve value for theme function: \`theme(${r})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return n}var bo=new RegExp(Object.keys(Ir).map(e=>`${e}\\(`).join("|"));function Fr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let i=1;i<e.length-1;i++){let n=e[i],o=e[i+1];n==="\\"&&(o===r||o==="\\")?(t+=o,i++):t+=n}return t}function jr(e,t){$(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 Fe(e,t){let r=e.length,i=t.length,n=r<i?r:i;for(let o=0;o<n;o++){let l=e.charCodeAt(o),a=t.charCodeAt(o);if(l>=48&&l<=57&&a>=48&&a<=57){let s=o,f=o+1,c=o,u=o+1;for(l=e.charCodeAt(f);l>=48&&l<=57;)l=e.charCodeAt(++f);for(a=t.charCodeAt(u);a>=48&&a<=57;)a=t.charCodeAt(++u);let p=e.slice(s,f),m=t.slice(c,u),d=Number(p)-Number(m);if(d)return d;if(p<m)return-1;if(p>m)return 1;continue}if(l!==a)return l-a}return e.length-t.length}function xt(e){if(e[0]!=="["||e[e.length-1]!=="]")return null;let t=1,r=t,i=e.length-1;for(;Q(e.charCodeAt(t));)t++;{for(r=t;t<i;t++){let c=e.charCodeAt(t);if(c===92){t++;continue}if(!(c>=65&&c<=90)&&!(c>=97&&c<=122)&&!(c>=48&&c<=57)&&!(c===45||c===95))break}if(r===t)return null}let n=e.slice(r,t);for(;Q(e.charCodeAt(t));)t++;if(t===i)return{attribute:n,operator:null,quote:null,value:null,sensitivity:null};let o=null,l=e.charCodeAt(t);if(l===61)o="=",t++;else if((l===126||l===124||l===94||l===36||l===42)&&e.charCodeAt(t+1)===61)o=e[t]+"=",t+=2;else return null;for(;Q(e.charCodeAt(t));)t++;if(t===i)return null;let a="",s=null;if(l=e.charCodeAt(t),l===39||l===34){s=e[t],t++,r=t;for(let c=t;c<i;c++){let u=e.charCodeAt(c);u===l?t=c+1:u===92&&c++}a=e.slice(r,t-1)}else{for(r=t;t<i&&!Q(e.charCodeAt(t));)t++;a=e.slice(r,t)}for(;Q(e.charCodeAt(t));)t++;if(t===i)return{attribute:n,operator:o,quote:s,value:a,sensitivity:null};let f=null;switch(e.charCodeAt(t)){case 105:case 73:{f="i",t++;break}case 115:case 83:{f="s",t++;break}default:return null}for(;Q(e.charCodeAt(t));)t++;return t!==i?null:{attribute:n,operator:o,quote:s,value:a,sensitivity:f}}function Q(e){switch(e){case 32:case 9:case 10:case 13:return!0;default:return!1}}var Br=/^[a-zA-Z0-9-_%/\.]+$/;function We(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(!Br.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,n)=>`${i}-${n.toLowerCase()}`)).filter((t,r)=>t!=="DEFAULT"||r!==e.length-1).join("-")}function Gr(e){return{kind:"combinator",value:e}}function qr(e,t){return{kind:"function",value:e,nodes:t}}function j(e){return{kind:"selector",value:e}}function Hr(e){return{kind:"separator",value:e}}function Zr(e){return{kind:"value",value:e}}function ye(e,t,r=null){for(let i=0;i<e.length;i++){let n=e[i],o=!1,l=0,a=t(n,{parent:r,replaceWith(s){o||(o=!0,Array.isArray(s)?s.length===0?(e.splice(i,1),l=0):s.length===1?(e[i]=s[0],l=1):(e.splice(i,1,...s),l=s.length):(e[i]=s,l=1))}})??0;if(o){a===0?i--:i+=l-1;continue}if(a===2)return 2;if(a!==1&&n.kind==="function"&&ye(n.nodes,t,n)===2)return 2}}function W(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+"("+W(r.nodes)+")"}return t}var Ct=92,Yr=93,$t=41,Jr=58,Vt=44,Qr=34,Xr=46,St=62,Nt=10,ei=35,Et=91,Tt=40,Rt=43,ti=39,Pt=32,Ot=9,_t=126,ri=38,ii=42;function ne(e){e=e.replaceAll(`\r
4
+ `,`
5
+ `);let t=[],r=[],i=null,n="",o;for(let l=0;l<e.length;l++){let a=e.charCodeAt(l);switch(a){case Vt:case St:case Nt:case Pt:case Rt:case Ot:case _t:{if(n.length>0){let p=j(n);i?i.nodes.push(p):t.push(p),n=""}let s=l,f=l+1;for(;f<e.length&&(o=e.charCodeAt(f),!(o!==Vt&&o!==St&&o!==Nt&&o!==Pt&&o!==Rt&&o!==Ot&&o!==_t));f++);l=f-1;let c=e.slice(s,f),u=c.trim()===","?Hr(c):Gr(c);i?i.nodes.push(u):t.push(u);break}case Tt:{let s=qr(n,[]);if(n="",s.value!==":not"&&s.value!==":where"&&s.value!==":has"&&s.value!==":is"){let f=l+1,c=0;for(let p=l+1;p<e.length;p++){if(o=e.charCodeAt(p),o===Tt){c++;continue}if(o===$t){if(c===0){l=p;break}c--}}let u=l;s.nodes.push(Zr(e.slice(f,u))),n="",l=u,i?i.nodes.push(s):t.push(s);break}i?i.nodes.push(s):t.push(s),r.push(s),i=s;break}case $t:{let s=r.pop();if(n.length>0){let f=j(n);s.nodes.push(f),n=""}r.length>0?i=r[r.length-1]:i=null;break}case Xr:case Jr:case ei:{if(n.length>0){let s=j(n);i?i.nodes.push(s):t.push(s)}n=e[l];break}case Et:{if(n.length>0){let c=j(n);i?i.nodes.push(c):t.push(c)}n="";let s=l,f=0;for(let c=l+1;c<e.length;c++){if(o=e.charCodeAt(c),o===Et){f++;continue}if(o===Yr){if(f===0){l=c;break}f--}}n+=e.slice(s,l+1);break}case ti:case Qr:{let s=l;for(let f=l+1;f<e.length;f++)if(o=e.charCodeAt(f),o===Ct)f+=1;else if(o===a){l=f;break}n+=e.slice(s,l+1);break}case ri:case ii:{if(n.length>0){let s=j(n);i?i.nodes.push(s):t.push(s),n=""}i?i.nodes.push(j(e[l])):t.push(j(e[l]));break}case Ct:{n+=e[l]+e[l+1],l+=1;break}default:n+=e[l]}}return n.length>0&&t.push(j(n)),t}var ni=/^(?<value>-?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)$/i,oe=new h(e=>{let t=ni.exec(e);if(!t)return null;let r=t.groups?.value;if(r===void 0)return null;let i=t.groups?.unit;if(i===void 0)return null;let n=Number(r);return Number.isNaN(n)?null:[n,i]});var Dt=/\d*\.\d+(?:[eE][+-]?\d+)?%/g,B=new h(e=>new h(t=>{try{t=e.theme.prefix&&!t.startsWith(e.theme.prefix)?`${e.theme.prefix}:${t}`:t;let r=[I(".x",[E("@apply",t)])];return oi(e,()=>{for(let n of e.parseCandidate(t))e.compileAstNodes(n,1);le(r,e)}),y(r,(n,{replaceWith:o})=>{n.kind==="declaration"?n.value===void 0||n.property==="--tw-sort"?o([]):n.value.includes("%")&&(Dt.lastIndex=0,n.value=n.value.replaceAll(Dt,l=>`${Number(l.slice(0,-1))}%`)):n.kind==="context"||n.kind==="at-root"?o(n.nodes):n.kind==="comment"?o([]):n.kind==="at-rule"&&n.name==="@property"&&o([])}),y(r,n=>{if(n.kind==="declaration"&&n.value!==void 0){if(n.value.includes("var(")){let o=!1,l=b(n.value),a=new Set;$(l,(s,{replaceWith:f})=>{if(s.kind!=="function"||s.value!=="var"||s.nodes.length!==1&&s.nodes.length<3)return;let c=s.nodes[0].value;e.theme.prefix&&c.startsWith(`--${e.theme.prefix}-`)&&(c=c.slice(`--${e.theme.prefix}-`.length));let u=e.resolveThemeValue(c);if(!a.has(c)&&(a.add(c),u!==void 0&&(s.nodes.length===1&&(o=!0,s.nodes.push(...b(`,${u}`))),s.nodes.length>=3))){let p=C(s.nodes),m=`${s.nodes[0].value},${u}`;p===m&&(o=!0,f(b(u)))}}),o&&(n.value=C(l))}if(n.value.includes("calc")){let o=!1,l=b(n.value);$(l,(a,{replaceWith:s})=>{if(a.kind!=="function"||a.value!=="calc"||a.nodes.length!==5||a.nodes[2].kind!=="word"&&a.nodes[2].value!=="*")return;let f=oe.get(a.nodes[0].value);if(f===null)return;let[c,u]=f,p=Number(a.nodes[4].value);Number.isNaN(p)||(o=!0,s(b(`${c*p}${u}`)))}),o&&(n.value=C(l))}n.value=ze(n.value)}}),R(r)}catch{return Symbol()}})),Ge=new h(e=>{let t=B.get(e),r=new h(()=>[]);for(let[i,n]of e.getClassList()){let o=t.get(i);if(typeof o=="string"){r.get(o).push(i);for(let l of n.modifiers){if(J(l))continue;let a=`${i}/${l}`,s=t.get(a);typeof s=="string"&&r.get(s).push(a)}}}return r}),be=new h(e=>new h(t=>{try{t=e.theme.prefix&&!t.startsWith(e.theme.prefix)?`${e.theme.prefix}:${t}`:t;let r=[I(".x",[E("@apply",`${t}:flex`)])];return le(r,e),y(r,n=>{if(n.kind==="at-rule"&&n.params.includes(" "))n.params=n.params.replaceAll(" ","");else if(n.kind==="rule"){let o=ne(n.selector),l=!1;ye(o,(a,{replaceWith:s})=>{a.kind==="separator"&&a.value!==" "?(a.value=a.value.trim(),l=!0):a.kind==="function"&&a.value===":is"?a.nodes.length===1?(l=!0,s(a.nodes)):a.nodes.length===2&&a.nodes[0].kind==="selector"&&a.nodes[0].value==="*"&&a.nodes[1].kind==="selector"&&a.nodes[1].value[0]===":"&&(l=!0,s(a.nodes[1])):a.kind==="function"&&a.value[0]===":"&&a.nodes[0]?.kind==="selector"&&a.nodes[0]?.value[0]===":"&&(l=!0,a.nodes.unshift({kind:"selector",value:"*"}))}),l&&(n.selector=W(o))}}),R(r)}catch{return Symbol()}})),Ut=new h(e=>{let t=be.get(e),r=new h(()=>[]);for(let[i,n]of e.variants.entries())if(n.kind==="static"){let o=t.get(i);if(typeof o!="string")continue;r.get(o).push(i)}return r});function oi(e,t){let r=e.theme.values.get,i=new Set;e.theme.values.get=n=>{let o=r.call(e.theme.values,n);return o===void 0||o.options&1&&(i.add(o),o.options&=-2),o};try{return t()}finally{e.theme.values.get=r;for(let n of i)n.options|=1}}function M(e,t){for(let r in e)delete e[r];return Object.assign(e,t)}function ae(e){let t=[];for(let r of A(e,".")){if(!r.includes("[")){t.push(r);continue}let i=0;for(;;){let n=r.indexOf("[",i),o=r.indexOf("]",n);if(n===-1||o===-1)break;n>i&&t.push(r.slice(i,n)),t.push(r.slice(n+1,o)),i=o+1}i<=r.length-1&&t.push(r.slice(i))}return t}var Xo=new h(e=>{let t=e.theme.prefix?`${e.theme.prefix}:`:"",r=si.get(e),i=fi.get(e);return new h((n,o)=>{for(let l of e.parseCandidate(n)){let a=l.variants.slice().reverse().flatMap(c=>r.get(c)),s=l.important;if(s||a.length>0){let u=o.get(e.printCandidate({...l,variants:[],important:!1}));return e.theme.prefix!==null&&a.length>0&&(u=u.slice(t.length)),a.length>0&&(u=`${a.map(p=>e.printVariant(p)).join(":")}:${u}`),s&&(u+="!"),e.theme.prefix!==null&&a.length>0&&(u=`${t}${u}`),u}let f=i.get(n);if(f!==n)return f}return n})}),ai=[mi,Vi,Si,Ai],si=new h(e=>new h(t=>{let r=[t];for(let i of ai)for(let n of r.splice(0)){let o=i(e,Y(n));if(Array.isArray(o)){r.push(...o);continue}else r.push(o)}return r})),ui=[pi,di,wi,yi,xi,Ci,$i,Ni],fi=new h(e=>new h(t=>{for(let r of e.parseCandidate(t)){let i=wt(r);for(let o of ui)i=o(e,i);let n=e.printCandidate(i);if(t!==n)return n}return t})),ci=["t","tr","r","br","b","bl","l","tl"];function pi(e,t){if(t.kind==="static"&&t.root.startsWith("bg-gradient-to-")){let r=t.root.slice(15);return ci.includes(r)&&(t.root=`bg-linear-to-${r}`),t}return t}function di(e,t){let r=Lt.get(e);if(t.kind==="arbitrary"){let[i,n]=r(t.value,t.modifier===null?1:0);i!==t.value&&(t.value=i,n!==null&&(t.modifier=n))}else if(t.kind==="functional"&&t.value?.kind==="arbitrary"){let[i,n]=r(t.value.value,t.modifier===null?1:0);i!==t.value.value&&(t.value.value=i,n!==null&&(t.modifier=n))}return t}function mi(e,t){let r=Lt.get(e),i=Ce(t);for(let[n]of i)if(n.kind==="arbitrary"){let[o]=r(n.selector,2);o!==n.selector&&(n.selector=o)}else if(n.kind==="functional"&&n.value?.kind==="arbitrary"){let[o]=r(n.value.value,2);o!==n.value.value&&(n.value.value=o)}return t}var Lt=new h(e=>{return t(e);function t(r){function i(a,s=0){let f=b(a);if(s&2)return[xe(f,l),null];let c=0,u=0;if($(f,d=>{d.kind==="function"&&d.value==="theme"&&(c+=1,$(d.nodes,g=>g.kind==="separator"&&g.value.includes(",")?2:g.kind==="separator"&&g.value.trim()==="/"?(u+=1,2):1))}),c===0)return[a,null];if(u===0)return[xe(f,o),null];if(u>1)return[xe(f,l),null];let p=null;return[xe(f,(d,g)=>{let v=A(d,"/").map(k=>k.trim());if(v.length>2)return null;if(f.length===1&&v.length===2&&s&1){let[k,w]=v;if(/^\d+%$/.test(w))p={kind:"named",value:w.slice(0,-1)};else if(/^0?\.\d+$/.test(w)){let N=Number(w)*100;p={kind:Number.isInteger(N)?"named":"arbitrary",value:N.toString()}}else p={kind:"arbitrary",value:w};d=k}return o(d,g)||l(d,g)}),p]}function n(a,s=!0){let f=`--${We(ae(a))}`;return r.theme.get([f])?s&&r.theme.prefix?`--${r.theme.prefix}-${f.slice(2)}`:f:null}function o(a,s){let f=n(a);if(f)return s?`var(${f}, ${s})`:`var(${f})`;let c=ae(a);if(c[0]==="spacing"&&r.theme.get(["--spacing"])){let u=c[1];return J(u)?`--spacing(${u})`:null}return null}function l(a,s){let f=A(a,"/").map(p=>p.trim());a=f.shift();let c=n(a,!1);if(!c)return null;let u=f.length>0?`/${f.join("/")}`:"";return s?`--theme(${c}${u}, ${s})`:`--theme(${c}${u})`}return i}});function xe(e,t){return $(e,(r,{parent:i,replaceWith: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 l=o.value,a=1;for(let c=a;c<r.nodes.length&&!r.nodes[c].value.includes(",");c++)l+=C([r.nodes[c]]),a=c+1;l=gi(l);let s=r.nodes.slice(a+1),f=s.length>0?t(l,C(s)):t(l);if(f===null)return;if(i){let c=i.nodes.indexOf(r)-1;for(;c!==-1;){let u=i.nodes[c];if(u.kind==="separator"&&u.value.trim()===""){c-=1;continue}/^[-+*/]$/.test(u.value.trim())&&(f=`(${f})`);break}}n(b(f))}}),C(e)}function gi(e){if(e[0]!=="'"&&e[0]!=='"')return e;let t="",r=e[0];for(let i=1;i<e.length-1;i++){let n=e[i],o=e[i+1];n==="\\"&&(o===r||o==="\\")?(t+=o,i++):t+=n}return t}function*Ce(e){function*t(r,i=null){yield[r,i],r.kind==="compound"&&(yield*t(r.variant,r))}yield*t(e,null)}function z(e,t){return e.parseCandidate(e.theme.prefix&&!t.startsWith(`${e.theme.prefix}:`)?`${e.theme.prefix}:${t}`:t)}function hi(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 vi=new h(e=>{let t=e.resolveThemeValue("--spacing");if(t===void 0)return null;let r=oe.get(t);if(!r)return null;let[i,n]=r;return new h(o=>{let l=oe.get(o);if(!l)return null;let[a,s]=l;return s!==n?null:a/i})});function wi(e,t){if(t.kind!=="arbitrary"&&!(t.kind==="functional"&&t.value?.kind==="arbitrary"))return t;let r=Ge.get(e),i=B.get(e),n=e.printCandidate(t),o=i.get(n);if(typeof o!="string")return t;for(let a of l(o,t)){let s=e.printCandidate(a);if(i.get(s)===o&&ki(e,t,a))return a}return t;function*l(a,s){let f=r.get(a);if(!(f.length>1)){if(f.length===0&&s.modifier){let c={...s,modifier:null},u=i.get(e.printCandidate(c));if(typeof u=="string")for(let p of l(u,c))yield Object.assign({},p,{modifier:s.modifier})}if(f.length===1)for(let c of z(e,f[0]))yield c;else if(f.length===0){let c=s.kind==="arbitrary"?s.value:s.value?.value??null;if(c===null)return;let u=vi.get(e)?.get(c)??null,p="";u!==null&&u<0&&(p="-",u=Math.abs(u));for(let m of Array.from(e.utilities.keys("functional")).sort((d,g)=>+(d[0]==="-")-+(g[0]==="-"))){p&&(m=`${p}${m}`);for(let d of z(e,`${m}-${c}`))yield d;if(s.modifier)for(let d of z(e,`${m}-${c}${s.modifier}`))yield d;if(u!==null){for(let d of z(e,`${m}-${u}`))yield d;if(s.modifier)for(let d of z(e,`${m}-${u}${Me(s.modifier)}`))yield d}for(let d of z(e,`${m}-[${c}]`))yield d;if(s.modifier)for(let d of z(e,`${m}-[${c}]${Me(s.modifier)}`))yield d}}}}}function ki(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 n=e.candidatesToCss([e.printCandidate(r)]).join(`
6
+ `),o=!0;return $(b(i),l=>{if(l.kind==="function"&&l.value==="var"){let a=l.nodes[0].value;if(!new RegExp(`var\\(${a}[,)]\\s*`,"g").test(n)||n.includes(`${a}:`))return o=!1,2}}),o}function yi(e,t){if(t.kind!=="functional"||t.value?.kind!=="named")return t;let r=Ge.get(e),i=B.get(e),n=e.printCandidate(t),o=i.get(n);if(typeof o!="string")return t;for(let a of l(o,t)){let s=e.printCandidate(a);if(i.get(s)===o)return a}return t;function*l(a,s){let f=r.get(a);if(!(f.length>1)){if(f.length===0&&s.modifier){let c={...s,modifier:null},u=i.get(e.printCandidate(c));if(typeof u=="string")for(let p of l(u,c))yield Object.assign({},p,{modifier:s.modifier})}if(f.length===1)for(let c of z(e,f[0]))yield c}}}var bi=new Map([["order-none","order-0"]]);function xi(e,t){let r=B.get(e),i=hi(e,t),n=bi.get(i)??null;if(n===null)return t;let o=r.get(i);if(typeof o!="string")return t;let l=r.get(n);if(typeof l!="string"||o!==l)return t;let[a]=z(e,n);return a}function Ai(e,t){let r=be.get(e),i=Ut.get(e),n=Ce(t);for(let[o]of n){if(o.kind==="compound")continue;let l=e.printVariant(o),a=r.get(l);if(typeof a!="string")continue;let s=i.get(a);if(s.length!==1)continue;let f=s[0],c=e.parseVariant(f);c!==null&&M(o,c)}return t}function Ci(e,t){let r=B.get(e);if(t.kind==="functional"&&t.value?.kind==="arbitrary"&&t.value.dataType!==null){let i=e.printCandidate({...t,value:{...t.value,dataType:null}});r.get(e.printCandidate(t))===r.get(i)&&(t.value.dataType=null)}return t}function $i(e,t){if(t.kind!=="functional"||t.value?.kind!=="arbitrary")return t;let r=B.get(e),i=r.get(e.printCandidate(t));if(i===null)return t;for(let n of Kt(t))if(r.get(e.printCandidate({...t,value:n}))===i)return t.value=n,t;return t}function Vi(e,t){let r=Ce(t);for(let[i]of r)if(i.kind==="functional"&&i.root==="data"&&i.value?.kind==="arbitrary"&&!i.value.value.includes("="))i.value={kind:"named",value:i.value.value};else if(i.kind==="functional"&&i.root==="aria"&&i.value?.kind==="arbitrary"&&(i.value.value.endsWith("=true")||i.value.value.endsWith('="true"')||i.value.value.endsWith("='true'"))){let[n,o]=A(i.value.value,"=");if(n[n.length-1]==="~"||n[n.length-1]==="|"||n[n.length-1]==="^"||n[n.length-1]==="$"||n[n.length-1]==="*")continue;i.value={kind:"named",value:i.value.value.slice(0,i.value.value.indexOf("="))}}else i.kind==="functional"&&i.root==="supports"&&i.value?.kind==="arbitrary"&&/^[a-z-][a-z0-9-]*$/i.test(i.value.value)&&(i.value={kind:"named",value:i.value.value});return t}function*Kt(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("%")&&J(t.slice(0,-1))&&(yield{kind:"named",value:t.slice(0,-1),fraction:null}),t.includes("/")){let[o,l]=t.split("/");V(o)&&V(l)&&(yield{kind:"named",value:o,fraction:`${o}/${l}`})}let i=new Set;for(let o of t.matchAll(/(\d+\/\d+)|(\d+\.?\d+)/g))i.add(o[0].trim());let n=Array.from(i).sort((o,l)=>o.length-l.length);for(let o of n)yield*Kt(e,o,r)}function It(e){return!e.some(t=>t.kind==="separator"&&t.value.trim()===",")}function Ae(e){let t=e.value.trim();return e.kind==="selector"&&t[0]==="["&&t[t.length-1]==="]"}function Si(e,t){let r=[t],i=be.get(e),n=Ce(t);for(let[o,l]of n)if(o.kind==="compound"&&(o.root==="has"||o.root==="not"||o.root==="in")&&o.modifier!==null&&"modifier"in o.variant&&(o.variant.modifier=o.modifier,o.modifier=null),o.kind==="arbitrary"){if(o.relative)continue;let a=ne(o.selector.trim());if(!It(a))continue;if(l===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==="*"){M(o,e.parseVariant("*"));continue}if(l===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==="*"){M(o,e.parseVariant("**"));continue}if(l===null&&a.length===3&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&a[2].value==="&"){a.pop(),a.pop(),M(o,e.parseVariant(`in-[${W(a)}]`));continue}if(l===null&&a[0].kind==="selector"&&(a[0].value==="@media"||a[0].value==="@supports")){let u=i.get(e.printVariant(o)),p=b(W(a)),m=!1;if($(p,(d,{replaceWith:g})=>{d.kind==="word"&&d.value==="not"&&(m=!0,g([]))}),p=b(C(p)),$(p,d=>{d.kind==="separator"&&d.value!==" "&&d.value.trim()===""&&(d.value=" ")}),m){let d=e.parseVariant(`not-[${C(p)}]`);if(d===null)continue;let g=i.get(e.printVariant(d));if(u===g){M(o,d);continue}}}let s=null;l===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===">"&&a[2].kind==="selector"&&Ae(a[2])&&(a=[a[2]],s=e.parseVariant("*")),l===null&&a.length===3&&a[0].kind==="selector"&&a[0].value.trim()==="&"&&a[1].kind==="combinator"&&a[1].value.trim()===""&&a[2].kind==="selector"&&Ae(a[2])&&(a=[a[2]],s=e.parseVariant("**"));let f=a.filter(u=>!(u.kind==="selector"&&u.value.trim()==="&"));if(f.length!==1)continue;let c=f[0];if(c.kind==="function"&&c.value===":is"){if(!It(c.nodes)||c.nodes.length!==1||!Ae(c.nodes[0]))continue;c=c.nodes[0]}if(c.kind==="function"&&c.value[0]===":"||c.kind==="selector"&&c.value[0]===":"){let u=c,p=!1;if(u.kind==="function"&&u.value===":not"){if(p=!0,u.nodes.length!==1||u.nodes[0].kind!=="selector"&&u.nodes[0].kind!=="function"||u.nodes[0].value[0]!==":")continue;u=u.nodes[0]}let m=(g=>{if(g===":nth-child"&&u.kind==="function"&&u.nodes.length===1&&u.nodes[0].kind==="value"&&u.nodes[0].value==="odd")return p?(p=!1,"even"):"odd";if(g===":nth-child"&&u.kind==="function"&&u.nodes.length===1&&u.nodes[0].kind==="value"&&u.nodes[0].value==="even")return p?(p=!1,"odd"):"even";for(let[v,k]of[[":nth-child","nth"],[":nth-last-child","nth-last"],[":nth-of-type","nth-of-type"],[":nth-last-of-type","nth-of-last-type"]])if(g===v&&u.kind==="function"&&u.nodes.length===1)return u.nodes.length===1&&u.nodes[0].kind==="value"&&V(u.nodes[0].value)?`${k}-${u.nodes[0].value}`:`${k}-[${W(u.nodes)}]`;if(p){let v=i.get(e.printVariant(o)),k=i.get(`not-[${g}]`);if(v===k)return`[&${g}]`}return null})(u.value);if(m===null)continue;p&&(m=`not-${m}`);let d=e.parseVariant(m);if(d===null)continue;M(o,d)}else if(Ae(c)){let u=xt(c.value);if(u===null)continue;if(u.attribute.startsWith("data-")){let p=u.attribute.slice(5);M(o,{kind:"functional",root:"data",modifier:null,value:u.value===null?{kind:"named",value:p}:{kind:"arbitrary",value:`${p}${u.operator}${u.quote??""}${u.value}${u.quote??""}${u.sensitivity?` ${u.sensitivity}`:""}`}})}else if(u.attribute.startsWith("aria-")){let p=u.attribute.slice(5);M(o,{kind:"functional",root:"aria",modifier:null,value:u.value===null?{kind:"arbitrary",value:p}:u.operator==="="&&u.value==="true"&&u.sensitivity===null?{kind:"named",value:p}:{kind:"arbitrary",value:`${u.attribute}${u.operator}${u.quote??""}${u.value}${u.quote??""}${u.sensitivity?` ${u.sensitivity}`:""}`}})}}if(s)return[s,o]}return r}function Ni(e,t){if(t.kind!=="functional"&&t.kind!=="arbitrary"||t.modifier===null)return t;let r=B.get(e),i=r.get(e.printCandidate(t)),n=t.modifier;if(i===r.get(e.printCandidate({...t,modifier:null})))return t.modifier=null,t;{let o={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(i===r.get(e.printCandidate({...t,modifier:o})))return t.modifier=o,t}{let o={kind:"named",value:`${parseFloat(n.value)*100}`,fraction:null};if(i===r.get(e.printCandidate({...t,modifier:o})))return t.modifier=o,t}return t}function se(e,t,{onInvalidCandidate:r,respectImportant:i}={}){let n=new Map,o=[],l=new Map;for(let f of e){if(t.invalidCandidates.has(f)){r?.(f);continue}let c=t.parseCandidate(f);if(c.length===0){r?.(f);continue}l.set(f,c)}let a=0;(i??!0)&&(a|=1);let s=t.getVariantOrder();for(let[f,c]of l){let u=!1;for(let p of c){let m=t.compileAstNodes(p,a);if(m.length!==0){u=!0;for(let{node:d,propertySort:g}of m){let v=0n;for(let k of p.variants)v|=1n<<BigInt(s.get(k));n.set(d,{properties:g,variants:v,candidate:f}),o.push(d)}}}u||r?.(f)}return o.sort((f,c)=>{let u=n.get(f),p=n.get(c);if(u.variants-p.variants!==0n)return Number(u.variants-p.variants);let m=0;for(;m<u.properties.order.length&&m<p.properties.order.length&&u.properties.order[m]===p.properties.order[m];)m+=1;return(u.properties.order[m]??1/0)-(p.properties.order[m]??1/0)||p.properties.count-u.properties.count||Fe(u.candidate,p.candidate)}),{astNodes:o,nodeSorting:n}}function le(e,t){let r=0,i=L("&",e),n=new Set,o=new h(()=>new Set),l=new h(()=>new Set);y([i],(u,{parent:p,path:m})=>{if(u.kind==="at-rule"){if(u.name==="@keyframes")return y(u.nodes,d=>{if(d.kind==="at-rule"&&d.name==="@apply")throw new Error("You cannot use `@apply` inside `@keyframes`.")}),1;if(u.name==="@utility"){let d=u.params.replace(/-\*$/,"");l.get(d).add(u),y(u.nodes,g=>{if(!(g.kind!=="at-rule"||g.name!=="@apply")){n.add(u);for(let v of zt(g,t))o.get(u).add(v)}});return}if(u.name==="@apply"){if(p===null)return;r|=1,n.add(p);for(let d of zt(u,t))for(let g of m)g!==u&&n.has(g)&&o.get(g).add(d)}}});let a=new Set,s=[],f=new Set;function c(u,p=[]){if(!a.has(u)){if(f.has(u)){let m=p[(p.indexOf(u)+1)%p.length];throw u.kind==="at-rule"&&u.name==="@utility"&&m.kind==="at-rule"&&m.name==="@utility"&&y(u.nodes,d=>{if(d.kind!=="at-rule"||d.name!=="@apply")return;let g=d.params.split(/\s+/g);for(let v of g)for(let k of t.parseCandidate(v))switch(k.kind){case"arbitrary":break;case"static":case"functional":if(m.params.replace(/-\*$/,"")===k.root)throw new Error(`You cannot \`@apply\` the \`${v}\` utility here because it creates a circular dependency.`);break;default:}}),new Error(`Circular dependency detected:
7
+
8
+ ${R([u])}
9
+ Relies on:
10
+
11
+ ${R([m])}`)}f.add(u);for(let m of o.get(u))for(let d of l.get(m))p.push(u),c(d,p),p.pop();a.add(u),f.delete(u),s.push(u)}}for(let u of n)c(u);for(let u of s)"nodes"in u&&y(u.nodes,(p,{replaceWith:m})=>{if(p.kind!=="at-rule"||p.name!=="@apply")return;let d=p.params.split(/(\s+)/g),g={},v=0;for(let[k,w]of d.entries())k%2===0&&(g[w]=v),v+=w.length;{let k=Object.keys(g),w=se(k,t,{respectImportant:!1,onInvalidCandidate:x=>{if(t.theme.prefix&&!x.startsWith(t.theme.prefix))throw new Error(`Cannot apply unprefixed utility class \`${x}\`. Did you mean \`${t.theme.prefix}:${x}\`?`);if(t.invalidCandidates.has(x))throw new Error(`Cannot apply utility class \`${x}\` because it has been explicitly disabled: https://tailwindcss.com/docs/detecting-classes-in-source-files#explicitly-excluding-classes`);let T=A(x,":");if(T.length>1){let ve=T.pop();if(t.candidatesToCss([ve])[0]){let H=t.candidatesToCss(T.map(Z=>`${Z}:[--tw-variant-check:1]`)),F=T.filter((Z,_e)=>H[_e]===null);if(F.length>0){if(F.length===1)throw new Error(`Cannot apply utility class \`${x}\` because the ${F.map(Z=>`\`${Z}\``)} variant does not exist.`);{let Z=new Intl.ListFormat("en",{style:"long",type:"conjunction"});throw new Error(`Cannot apply utility class \`${x}\` because the ${Z.format(F.map(_e=>`\`${_e}\``))} variants do not exist.`)}}}}throw t.theme.size===0?new Error(`Cannot apply unknown utility class \`${x}\`. 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 \`${x}\``)}}),N=p.src,dr=w.astNodes.map(x=>{let T=w.nodeSorting.get(x)?.candidate,ve=T?g[T]:void 0;if(x=_(x),!N||!T||ve===void 0)return y([x],F=>{F.src=N}),x;let H=[N[0],N[1],N[2]];return H[1]+=7+ve,H[2]=H[1]+T.length,y([x],F=>{F.src=H}),x}),Oe=[];for(let x of dr)if(x.kind==="rule")for(let T of x.nodes)Oe.push(T);else Oe.push(x);m(Oe)}});return r}function*zt(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 fe=92,$e=47,Ve=42,Ft=34,jt=39,_i=58,Ne=59,P=10,Ee=13,ce=32,Se=9,Wt=123,qe=125,Ye=40,Bt=41,Di=91,Ui=93,Gt=45,He=64,Ii=33;function de(e,t){let r=t?.from?{file:t.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let i=[],n=[],o=[],l=null,a=null,s="",f="",c=0,u;for(let p=0;p<e.length;p++){let m=e.charCodeAt(p);if(!(m===Ee&&(u=e.charCodeAt(p+1),u===P)))if(m===fe)s===""&&(c=p),s+=e.slice(p,p+2),p+=1;else if(m===$e&&e.charCodeAt(p+1)===Ve){let d=p;for(let v=p+2;v<e.length;v++)if(u=e.charCodeAt(v),u===fe)v+=1;else if(u===Ve&&e.charCodeAt(v+1)===$e){p=v+1;break}let g=e.slice(d,p+1);if(g.charCodeAt(2)===Ii){let v=Qe(g.slice(2,-2));n.push(v),r&&(v.src=[r,d,p+1],v.dst=[r,d,p+1])}}else if(m===jt||m===Ft){let d=qt(e,p,m);s+=e.slice(p,d+1),p=d}else{if((m===ce||m===P||m===Se)&&(u=e.charCodeAt(p+1))&&(u===ce||u===P||u===Se||u===Ee&&(u=e.charCodeAt(p+2))&&u==P))continue;if(m===P){if(s.length===0)continue;u=s.charCodeAt(s.length-1),u!==ce&&u!==P&&u!==Se&&(s+=" ")}else if(m===Gt&&e.charCodeAt(p+1)===Gt&&s.length===0){let d="",g=p,v=-1;for(let w=p+2;w<e.length;w++)if(u=e.charCodeAt(w),u===fe)w+=1;else if(u===jt||u===Ft)w=qt(e,w,u);else if(u===$e&&e.charCodeAt(w+1)===Ve){for(let N=w+2;N<e.length;N++)if(u=e.charCodeAt(N),u===fe)N+=1;else if(u===Ve&&e.charCodeAt(N+1)===$e){w=N+1;break}}else if(v===-1&&u===_i)v=s.length+w-g;else if(u===Ne&&d.length===0){s+=e.slice(g,w),p=w;break}else if(u===Ye)d+=")";else if(u===Di)d+="]";else if(u===Wt)d+="}";else if((u===qe||e.length-1===w)&&d.length===0){p=w-1,s+=e.slice(g,w);break}else(u===Bt||u===Ui||u===qe)&&d.length>0&&e[w]===d[d.length-1]&&(d=d.slice(0,-1));let k=Ze(s,v);if(!k)throw new Error("Invalid custom property, expected a value");r&&(k.src=[r,g,p],k.dst=[r,g,p]),l?l.nodes.push(k):i.push(k),s=""}else if(m===Ne&&s.charCodeAt(0)===He)a=pe(s),r&&(a.src=[r,c,p],a.dst=[r,c,p]),l?l.nodes.push(a):i.push(a),s="",a=null;else if(m===Ne&&f[f.length-1]!==")"){let d=Ze(s);if(!d){if(s.length===0)continue;throw new Error(`Invalid declaration: \`${s.trim()}\``)}r&&(d.src=[r,c,p],d.dst=[r,c,p]),l?l.nodes.push(d):i.push(d),s=""}else if(m===Wt&&f[f.length-1]!==")")f+="}",a=L(s.trim()),r&&(a.src=[r,c,p],a.dst=[r,c,p]),l&&l.nodes.push(a),o.push(l),l=a,s="",a=null;else if(m===qe&&f[f.length-1]!==")"){if(f==="")throw new Error("Missing opening {");if(f=f.slice(0,-1),s.length>0)if(s.charCodeAt(0)===He)a=pe(s),r&&(a.src=[r,c,p],a.dst=[r,c,p]),l?l.nodes.push(a):i.push(a),s="",a=null;else{let g=s.indexOf(":");if(l){let v=Ze(s,g);if(!v)throw new Error(`Invalid declaration: \`${s.trim()}\``);r&&(v.src=[r,c,p],v.dst=[r,c,p]),l.nodes.push(v)}}let d=o.pop()??null;d===null&&l&&i.push(l),l=d,s="",a=null}else if(m===Ye)f+=")",s+="(";else if(m===Bt){if(f[f.length-1]!==")")throw new Error("Missing opening (");f=f.slice(0,-1),s+=")"}else{if(s.length===0&&(m===ce||m===P||m===Se))continue;s===""&&(c=p),s+=String.fromCharCode(m)}}}if(s.charCodeAt(0)===He){let p=pe(s);r&&(p.src=[r,c,e.length],p.dst=[r,c,e.length]),i.push(p)}if(f.length>0&&l){if(l.kind==="rule")throw new Error(`Missing closing } at ${l.selector}`);if(l.kind==="at-rule")throw new Error(`Missing closing } at ${l.name} ${l.params}`)}return n.length>0?n.concat(i):i}function pe(e,t=[]){let r=e,i="";for(let n=5;n<e.length;n++){let o=e.charCodeAt(n);if(o===ce||o===Ye){r=e.slice(0,n),i=e.slice(n);break}}return E(r.trim(),i.trim(),t)}function Ze(e,t=e.indexOf(":")){if(t===-1)return null;let r=e.indexOf("!important",t+1);return K(e.slice(0,t).trim(),e.slice(t+1,r===-1?e.length:r).trim(),r!==-1)}function qt(e,t,r){let i;for(let n=t+1;n<e.length;n++)if(i=e.charCodeAt(n),i===fe)n+=1;else{if(i===r)return n;if(i===Ne&&(e.charCodeAt(n+1)===P||e.charCodeAt(n+1)===Ee&&e.charCodeAt(n+2)===P))throw new Error(`Unterminated string: ${e.slice(t,n+1)+String.fromCharCode(r)}`);if(i===P||i===Ee&&e.charCodeAt(n+1)===P)throw new Error(`Unterminated string: ${e.slice(t,n)+String.fromCharCode(r)}`)}return t}var Xe={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 q(e){return{__BARE_VALUE__:e}}var O=q(e=>{if(V(e.value))return e.value}),S=q(e=>{if(V(e.value))return`${e.value}%`}),G=q(e=>{if(V(e.value))return`${e.value}px`}),Zt=q(e=>{if(V(e.value))return`${e.value}ms`}),Te=q(e=>{if(V(e.value))return`${e.value}deg`}),Fi=q(e=>{if(e.fraction===null)return;let[t,r]=A(e.fraction,"/");if(!(!V(t)||!V(r)))return e.fraction}),Yt=q(e=>{if(V(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),ji={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",...Fi},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...S}),backdropContrast:({theme:e})=>({...e("contrast"),...S}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...S}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...Te}),backdropInvert:({theme:e})=>({...e("invert"),...S}),backdropOpacity:({theme:e})=>({...e("opacity"),...S}),backdropSaturate:({theme:e})=>({...e("saturate"),...S}),backdropSepia:({theme:e})=>({...e("sepia"),...S}),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",...G},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",...S},caretColor:({theme:e})=>e("colors"),colors:()=>({...Xe}),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",...O},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...S},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"),...G}),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",...O},flexShrink:{0:"0",DEFAULT:"1",...O},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%",...S},grayscale:{0:"0",DEFAULT:"100%",...S},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",...O},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",...O},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",...O},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",...O},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))",...Yt},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))",...Yt},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",...Te},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%",...S},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",...O},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",...S},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",...O},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...G},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...G},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",...G},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...G},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...Te},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...S},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",...S},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%",...S},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...Te},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",...O},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",...G},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...G},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",...O}};var Wi=64;function I(e,t=[]){return{kind:"rule",selector:e,nodes:t}}function E(e,t="",r=[]){return{kind:"at-rule",name:e,params:t,nodes:r}}function L(e,t=[]){return e.charCodeAt(0)===Wi?pe(e,t):I(e,t)}function K(e,t,r=!1){return{kind:"declaration",property:e,value:t,important:r}}function Qe(e){return{kind:"comment",value:e}}function _(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(_),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(_),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(_),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(_),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 y(e,t,r=[],i={}){for(let n=0;n<e.length;n++){let o=e[n],l=r[r.length-1]??null;if(o.kind==="context"){if(y(o.nodes,t,r,{...i,...o.context})===2)return 2;continue}r.push(o);let a=!1,s=0,f=t(o,{parent:l,context:i,path:r,replaceWith(c){a||(a=!0,Array.isArray(c)?c.length===0?(e.splice(n,1),s=0):c.length===1?(e[n]=c[0],s=1):(e.splice(n,1,...c),s=c.length):(e[n]=c,s=1))}})??0;if(r.pop(),a){f===0?n--:n+=s-1;continue}if(f===2)return 2;if(f!==1&&"nodes"in o){r.push(o);let c=y(o.nodes,t,r,i);if(r.pop(),c===2)return 2}}}function R(e,t){let r=0,i={file:null,code:""};function n(l,a=0){let s="",f=" ".repeat(a);if(l.kind==="declaration"){if(s+=`${f}${l.property}: ${l.value}${l.important?" !important":""};
12
+ `,t){r+=f.length;let c=r;r+=l.property.length,r+=2,r+=l.value?.length??0,l.important&&(r+=11);let u=r;r+=2,l.dst=[i,c,u]}}else if(l.kind==="rule"){if(s+=`${f}${l.selector} {
13
+ `,t){r+=f.length;let c=r;r+=l.selector.length,r+=1;let u=r;l.dst=[i,c,u],r+=2}for(let c of l.nodes)s+=n(c,a+1);s+=`${f}}
14
+ `,t&&(r+=f.length,r+=2)}else if(l.kind==="at-rule"){if(l.nodes.length===0){let c=`${f}${l.name} ${l.params};
15
+ `;if(t){r+=f.length;let u=r;r+=l.name.length,r+=1,r+=l.params.length;let p=r;r+=2,l.dst=[i,u,p]}return c}if(s+=`${f}${l.name}${l.params?` ${l.params} `:" "}{
16
+ `,t){r+=f.length;let c=r;r+=l.name.length,l.params&&(r+=1,r+=l.params.length),r+=1;let u=r;l.dst=[i,c,u],r+=2}for(let c of l.nodes)s+=n(c,a+1);s+=`${f}}
17
+ `,t&&(r+=f.length,r+=2)}else if(l.kind==="comment"){if(s+=`${f}/*${l.value}*/
18
+ `,t){r+=f.length;let c=r;r+=2+l.value.length+2;let u=r;l.dst=[i,c,u],r+=1}}else if(l.kind==="context"||l.kind==="at-root")return"";return s}let o="";for(let l of e)o+=n(l,0);return i.code=o,o}function Bi(e,t){if(typeof e!="string")throw new TypeError("expected path to be a string");if(e==="\\"||e==="/")return"/";var r=e.length;if(r<=1)return e;var i="";if(r>4&&e[3]==="\\"){var n=e[2];(n==="?"||n===".")&&e.slice(0,2)==="\\\\"&&(e=e.slice(2),i="//")}var o=e.split(/[/\\]+/);return t!==!1&&o[o.length-1]===""&&o.pop(),i+o.join("/")}function et(e){let t=Bi(e);return e.startsWith("\\\\")&&t.startsWith("/")&&!t.startsWith("//")?`/${t}`:t}var rt=/(?<!@import\s+)(?<=^|[^\w\-\u0080-\uffff])url\((\s*('[^']+'|"[^"]+")\s*|[^'")]+)\)/,Jt=/(?<=image-set\()((?:[\w-]{1,256}\([^)]*\)|[^)])*)(?=\))/,Gi=/(?:gradient|element|cross-fade|image)\(/,qi=/^\s*data:/i,Hi=/^([a-z]+:)?\/\//,Zi=/^[A-Z_][.\w-]*\(/i,Yi=/(?:^|\s)(?<url>[\w-]+\([^)]*\)|"[^"]*"|'[^']*'|[^,]\S*[^,])\s*(?:\s(?<descriptor>\w[^,]+))?(?:,|$)/g,Ji=/(?<!\\)"/g,Qi=/(?: |\\t|\\n|\\f|\\r)+/g,Xi=e=>qi.test(e),en=e=>Hi.test(e);async function Qt({css:e,base:t,root:r}){if(!e.includes("url(")&&!e.includes("image-set("))return e;let i=de(e),n=[];function o(l){if(l[0]==="/")return l;let a=tt.posix.join(et(t),l),s=tt.posix.relative(et(r),a);return s.startsWith(".")||(s="./"+s),s}return y(i,l=>{if(l.kind!=="declaration"||!l.value)return;let a=rt.test(l.value),s=Jt.test(l.value);if(a||s){let f=s?tn:Xt;n.push(f(l.value,o).then(c=>{l.value=c}))}}),n.length&&await Promise.all(n),R(i)}function Xt(e,t){return tr(e,rt,async r=>{let[i,n]=r;return await er(n.trim(),i,t)})}async function tn(e,t){return await tr(e,Jt,async r=>{let[,i]=r;return await nn(i,async({url:o})=>rt.test(o)?await Xt(o,t):Gi.test(o)?o:await er(o,o,t))})}async function er(e,t,r,i="url"){let n="",o=e[0];if((o==='"'||o==="'")&&(n=o,e=e.slice(1,-1)),rn(e))return t;let l=await r(e);return n===""&&l!==encodeURI(l)&&(n='"'),n==="'"&&l.includes("'")&&(n='"'),n==='"'&&l.includes('"')&&(l=l.replace(Ji,'\\"')),`${i}(${n}${l}${n})`}function rn(e,t){return en(e)||Xi(e)||!e[0].match(/[\.a-zA-Z0-9_]/)||Zi.test(e)}function nn(e,t){return Promise.all(on(e).map(async({url:r,descriptor:i})=>({url:await t({url:r,descriptor:i}),descriptor:i}))).then(ln)}function on(e){let t=e.trim().replace(Qi," ").replace(/\r?\n/,"").replace(/,\s+/,", ").replaceAll(/\s+/g," ").matchAll(Yi);return Array.from(t,({groups:r})=>({url:r?.url?.trim()??"",descriptor:r?.descriptor?.trim()??""})).filter(({url:r})=>!!r)}function ln(e){return e.map(({url:t,descriptor:r})=>t+(r?` ${r}`:"")).join(", ")}async function tr(e,t,r){let i,n=e,o="";for(;i=t.exec(n);)o+=n.slice(0,i.index),o+=await r(i),n=n.slice(i.index+i[0].length);return o+=n,o}function ar({base:e,from:t,polyfills:r,onDependency:i,shouldRewriteUrls:n,customCssResolver:o,customJsResolver:l}){return{base:e,polyfills:r,from:t,async loadModule(a,s){return ur(a,s,i,l)},async loadStylesheet(a,s){let f=await fr(a,s,i,o);return n&&(f.content=await Qt({css:f.content,root:e,base:f.base})),f}}}async function sr(e,t){if(e.root&&e.root!=="none"){let r=/[*{]/,i=[];for(let o of e.root.pattern.split("/")){if(r.test(o))break;i.push(o)}if(!await lr.stat(me.resolve(t,i.join("/"))).then(o=>o.isDirectory()).catch(()=>!1))throw new Error(`The \`source(${e.root.pattern})\` does not exist`)}}async function Uu(e,t){let r=await fn(e,ar(t));return await sr(r,t.base),r}async function Iu(e,t){let r=await un(e,ar(t));return await sr(r,t.base),r}async function Lu(e,{base:t}){return sn(e,{base:t,async loadModule(r,i){return ur(r,i,()=>{})},async loadStylesheet(r,i){return fr(r,i,()=>{})}})}async function ur(e,t,r,i){if(e[0]!=="."){let a=await or(e,t,i);if(!a)throw new Error(`Could not resolve '${e}' from '${t}'`);let s=await nr(rr(a).href);return{path:a,base:me.dirname(a),module:s.default??s}}let n=await or(e,t,i);if(!n)throw new Error(`Could not resolve '${e}' from '${t}'`);let[o,l]=await Promise.all([nr(rr(n).href+"?id="+Date.now()),at(n)]);for(let a of l)r(a);return{path:n,base:me.dirname(n),module:o.default??o}}async function fr(e,t,r,i){let n=await pn(e,t,i);if(!n)throw new Error(`Could not resolve '${e}' from '${t}'`);if(r(n),typeof globalThis.__tw_readFile=="function"){let l=await globalThis.__tw_readFile(n,"utf-8");if(l)return{path:n,base:me.dirname(n),content:l}}let o=await lr.readFile(n,"utf-8");return{path:n,base:me.dirname(n),content:o}}var ir=null;async function nr(e){if(typeof globalThis.__tw_load=="function"){let t=await globalThis.__tw_load(e);if(t)return t}try{return await import(e)}catch{return ir??=an(import.meta.url,{moduleCache:!1,fsCache:!1}),await ir.import(e)}}var ot=["node_modules",...process.env.NODE_PATH?[process.env.NODE_PATH]:[]],cn=X.ResolverFactory.createResolver({fileSystem:new X.CachedInputFileSystem(nt,4e3),useSyncFileSystemCalls:!0,extensions:[".css"],mainFields:["style"],conditionNames:["style"],modules:ot});async function pn(e,t,r){if(typeof globalThis.__tw_resolve=="function"){let i=globalThis.__tw_resolve(e,t);if(i)return Promise.resolve(i)}if(r){let i=await r(e,t);if(i)return i}return it(cn,e,t)}var dn=X.ResolverFactory.createResolver({fileSystem:new X.CachedInputFileSystem(nt,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","import"],modules:ot}),mn=X.ResolverFactory.createResolver({fileSystem:new X.CachedInputFileSystem(nt,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","require"],modules:ot});async function or(e,t,r){if(typeof globalThis.__tw_resolve=="function"){let i=globalThis.__tw_resolve(e,t);if(i)return Promise.resolve(i)}if(r){let i=await r(e,t);if(i)return i}return it(dn,e,t).catch(()=>it(mn,e,t))}function it(e,t,r){return new Promise((i,n)=>e.resolve({},r,t,{},(o,l)=>{if(o)return n(o);i(l)}))}Symbol.dispose??=Symbol("Symbol.dispose");Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");var cr=class{constructor(t=r=>void process.stderr.write(`${r}
19
+ `)){this.defaultFlush=t}#r=new h(()=>({value:0}));#t=new h(()=>({value:0n}));#e=[];hit(t){this.#r.get(t).value++}start(t){let r=this.#e.map(n=>n.label).join("//"),i=`${r}${r.length===0?"":"//"}${t}`;this.#r.get(i).value++,this.#t.get(i),this.#e.push({id:i,label:t,namespace:r,value:process.hrtime.bigint()})}end(t){let r=process.hrtime.bigint();if(this.#e[this.#e.length-1].label!==t)throw new Error(`Mismatched timer label: \`${t}\`, expected \`${this.#e[this.#e.length-1].label}\``);let i=this.#e.pop(),n=r-i.value;this.#t.get(i.id).value+=n}reset(){this.#r.clear(),this.#t.clear(),this.#e.splice(0)}report(t=this.defaultFlush){let r=[],i=!1;for(let l=this.#e.length-1;l>=0;l--)this.end(this.#e[l].label);for(let[l,{value:a}]of this.#r.entries()){if(this.#t.has(l))continue;r.length===0&&(i=!0,r.push("Hits:"));let s=l.split("//").length;r.push(`${" ".repeat(s)}${l} ${Re(pr(`\xD7 ${a}`))}`)}this.#t.size>0&&i&&r.push(`
20
+ Timers:`);let n=-1/0,o=new Map;for(let[l,{value:a}]of this.#t){let s=`${(Number(a)/1e6).toFixed(2)}ms`;o.set(l,s),n=Math.max(n,s.length)}for(let l of this.#t.keys()){let a=l.split("//").length;r.push(`${Re(`[${o.get(l).padStart(n," ")}]`)}${" ".repeat(a-1)}${a===1?" ":Re(" \u21B3 ")}${l.split("//").pop()} ${this.#r.get(l).value===1?"":Re(pr(`\xD7 ${this.#r.get(l).value}`))}`.trimEnd())}t(`
13
21
  ${r.join(`
14
22
  `)}
15
- `),this.reset()}[Symbol.dispose](){_&&this.report()}};function $(e){return`\x1B[2m${e}\x1B[22m`}function Ae(e){return`\x1B[34m${e}\x1B[39m`}if(!process.versions.bun){let e=b.createRequire(import.meta.url);b.register?.(ut(e.resolve("@tailwindcss/node/esm-cache-loader")))}export{tt as Features,xe as Instrumentation,nt as __unstable__loadDesignSystem,st as compile,rt as compileAst,O as env,L as normalizePath};
23
+ `),this.reset()}[Symbol.dispose](){De&&this.report()}};function Re(e){return`\x1B[2m${e}\x1B[22m`}function pr(e){return`\x1B[34m${e}\x1B[39m`}import gn from"@jridgewell/remapping";import{Features as ge,transform as hn}from"lightningcss";import vn from"magic-string";function Bu(e,{file:t="input.css",minify:r=!1,map:i}={}){function n(s,f){return hn({filename:t,code:s,minify:r,sourceMap:typeof f<"u",inputSourceMap:f,drafts:{customMedia:!0},nonStandard:{deepSelectorCombinator:!0},include:ge.Nesting|ge.MediaQueries,exclude:ge.LogicalProperties|ge.DirSelector|ge.LightDark,targets:{safari:16<<16|1024,ios_saf:16<<16|1024,firefox:8388608,chrome:7274496},errorRecovery:!0})}let o=n(Buffer.from(e),i);if(i=o.map?.toString(),o.warnings=o.warnings.filter(s=>!/'(deep|slotted|global)' is not recognized as a valid pseudo-/.test(s.message)),o.warnings.length>0){let s=e.split(`
24
+ `),f=[`Found ${o.warnings.length} ${o.warnings.length===1?"warning":"warnings"} while optimizing generated CSS:`];for(let[c,u]of o.warnings.entries()){f.push(""),o.warnings.length>1&&f.push(`Issue #${c+1}:`);let p=2,m=Math.max(0,u.loc.line-p-1),d=Math.min(s.length,u.loc.line+p),g=s.slice(m,d).map((v,k)=>m+k+1===u.loc.line?`${he("\u2502")} ${v}`:he(`\u2502 ${v}`));g.splice(u.loc.line-m,0,`${he("\u2506")}${" ".repeat(u.loc.column-1)} ${wn(`${he("^--")} ${u.message}`)}`,`${he("\u2506")}`),f.push(...g)}f.push(""),console.warn(f.join(`
25
+ `))}o=n(o.code,i),i=o.map?.toString();let l=o.code.toString(),a=new vn(l);if(a.replaceAll("@media not (","@media not all and ("),i!==void 0&&a.hasChanged()){let s=a.generateMap({source:"original",hires:"boundary"}).toString();i=gn([s,i],()=>null).toString()}return l=a.toString(),{code:l,map:i}}function he(e){return`\x1B[2m${e}\x1B[22m`}function wn(e){return`\x1B[33m${e}\x1B[39m`}import{SourceMapGenerator as kn}from"source-map-js";function yn(e){let t=new kn,r=1,i=new h(n=>({url:n?.url??`<unknown ${r++}>`,content:n?.content??"<none>"}));for(let n of e.mappings){let o=i.get(n.originalPosition?.source??null);t.addMapping({generated:n.generatedPosition,original:n.originalPosition,source:o.url,name:n.name}),t.setSourceContent(o.url,o.content)}return t.toString()}function Zu(e){let t=typeof e=="string"?e:yn(e);return{raw:t,get inline(){let r="";return r+="/*# sourceMappingURL=data:application/json;base64,",r+=Buffer.from(t,"utf-8").toString("base64"),r+=` */
26
+ `,r}}}if(!process.versions.bun){let e=Pe.createRequire(import.meta.url);Pe.register?.(bn(e.resolve("@tailwindcss/node/esm-cache-loader")))}export{Pu as Features,cr as Instrumentation,Ou as Polyfills,Lu as __unstable__loadDesignSystem,Iu as compile,Uu as compileAst,Ue as env,ur as loadModule,et as normalizePath,Bu as optimize,Zu as toSourceMap};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tailwindcss/node",
3
- "version": "0.0.0-insiders.5532d48",
3
+ "version": "0.0.0-insiders.561983d",
4
4
  "description": "A utility-first CSS framework for rapidly building custom user interfaces.",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -33,9 +33,13 @@
33
33
  }
34
34
  },
35
35
  "dependencies": {
36
- "enhanced-resolve": "^5.18.1",
37
- "jiti": "^2.4.2",
38
- "tailwindcss": "0.0.0-insiders.5532d48"
36
+ "@jridgewell/remapping": "^2.3.4",
37
+ "enhanced-resolve": "^5.18.3",
38
+ "jiti": "^2.6.0",
39
+ "lightningcss": "1.30.1",
40
+ "magic-string": "^0.30.19",
41
+ "source-map-js": "^1.2.1",
42
+ "tailwindcss": "0.0.0-insiders.561983d"
39
43
  },
40
44
  "scripts": {
41
45
  "build": "tsup-node",