@tailwindcss/node 0.0.0-insiders.f772266 → 0.0.0-insiders.f7f47f8
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 +6 -10
- package/dist/esm-cache.loader.d.mts +3 -2
- package/dist/esm-cache.loader.mjs +1 -1
- package/dist/index.d.mts +160 -6
- package/dist/index.d.ts +156 -6
- package/dist/index.js +16 -13
- package/dist/index.mjs +16 -13
- package/package.json +8 -4
package/README.md
CHANGED
|
@@ -13,10 +13,10 @@
|
|
|
13
13
|
</p>
|
|
14
14
|
|
|
15
15
|
<p align="center">
|
|
16
|
-
<a href="https://github.com/tailwindlabs/tailwindcss/actions"><img src="https://img.shields.io/github/actions/workflow/status/tailwindlabs/tailwindcss/ci.yml?branch=
|
|
16
|
+
<a href="https://github.com/tailwindlabs/tailwindcss/actions"><img src="https://img.shields.io/github/actions/workflow/status/tailwindlabs/tailwindcss/ci.yml?branch=main" alt="Build Status"></a>
|
|
17
17
|
<a href="https://www.npmjs.com/package/tailwindcss"><img src="https://img.shields.io/npm/dt/tailwindcss.svg" alt="Total Downloads"></a>
|
|
18
|
-
<a href="https://github.com/
|
|
19
|
-
<a href="https://github.com/
|
|
18
|
+
<a href="https://github.com/tailwindlabs/tailwindcss/releases"><img src="https://img.shields.io/npm/v/tailwindcss.svg" alt="Latest Release"></a>
|
|
19
|
+
<a href="https://github.com/tailwindlabs/tailwindcss/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/tailwindcss.svg" alt="License"></a>
|
|
20
20
|
</p>
|
|
21
21
|
|
|
22
22
|
---
|
|
@@ -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
|
|
30
|
+
For help, discussion about best practices, or feature ideas:
|
|
31
31
|
|
|
32
|
-
[Discuss Tailwind CSS on GitHub](https://github.com/
|
|
33
|
-
|
|
34
|
-
For chatting with others using the framework:
|
|
35
|
-
|
|
36
|
-
[Join the Tailwind CSS Discord Server](https://discord.gg/7NF8GNe)
|
|
32
|
+
[Discuss Tailwind CSS on GitHub](https://github.com/tailwindlabs/tailwindcss/discussions)
|
|
37
33
|
|
|
38
34
|
## Contributing
|
|
39
35
|
|
|
40
|
-
If you're interested in contributing to Tailwind CSS, please read our [contributing docs](https://github.com/
|
|
36
|
+
If you're interested in contributing to Tailwind CSS, please read our [contributing docs](https://github.com/tailwindlabs/tailwindcss/blob/main/.github/CONTRIBUTING.md) **before submitting a pull request**.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{isBuiltin as
|
|
1
|
+
import{isBuiltin as a}from"module";var u=async(r,e,o)=>{let t=await o(r,e);return l(e,t)},i=(r,e,o)=>{let t=o(r,e);return l(e,t)};function l(r,e){try{if(e.url===import.meta.url||a(e.url)||!r.parentURL)return e;let t=new URL(r.parentURL).searchParams.get("id");if(t===null)return e;let n=new URL(e.url);return n.searchParams.set("id",t),{...e,url:`${n}`}}catch{return e}}export{u as resolve,i as resolveSync};
|
package/dist/index.d.mts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { AstNode as AstNode$1 } from './ast';
|
|
1
2
|
import { Candidate, Variant } from './candidate';
|
|
2
3
|
import { compileAstNodes } from './compile';
|
|
3
|
-
import { ClassEntry, VariantEntry } from './intellisense';
|
|
4
|
+
import { ClassEntry, VariantEntry, CanonicalizeOptions } from './intellisense';
|
|
4
5
|
import { Theme } from './theme';
|
|
5
6
|
import { Utilities } from './utilities';
|
|
6
7
|
import { Variants } from './variants';
|
|
7
|
-
import
|
|
8
|
-
|
|
8
|
+
import * as tailwindcss from 'tailwindcss';
|
|
9
|
+
import { Polyfills, Features } from 'tailwindcss';
|
|
10
|
+
export { Features, Polyfills } from 'tailwindcss';
|
|
9
11
|
|
|
10
12
|
declare const DEBUG: boolean;
|
|
11
13
|
|
|
@@ -14,6 +16,10 @@ declare namespace env {
|
|
|
14
16
|
export { env_DEBUG as DEBUG };
|
|
15
17
|
}
|
|
16
18
|
|
|
19
|
+
declare const enum CompileAstFlags {
|
|
20
|
+
None = 0,
|
|
21
|
+
RespectImportant = 1
|
|
22
|
+
}
|
|
17
23
|
type DesignSystem = {
|
|
18
24
|
theme: Theme;
|
|
19
25
|
utilities: Utilities;
|
|
@@ -25,50 +31,146 @@ type DesignSystem = {
|
|
|
25
31
|
getVariants(): VariantEntry[];
|
|
26
32
|
parseCandidate(candidate: string): Readonly<Candidate>[];
|
|
27
33
|
parseVariant(variant: string): Readonly<Variant> | null;
|
|
28
|
-
compileAstNodes(candidate: Candidate): ReturnType<typeof compileAstNodes>;
|
|
34
|
+
compileAstNodes(candidate: Candidate, flags?: CompileAstFlags): ReturnType<typeof compileAstNodes>;
|
|
35
|
+
printCandidate(candidate: Candidate): string;
|
|
36
|
+
printVariant(variant: Variant): string;
|
|
29
37
|
getVariantOrder(): Map<Variant, number>;
|
|
30
38
|
resolveThemeValue(path: string, forceInline?: boolean): string | undefined;
|
|
31
39
|
trackUsedVariables(raw: string): void;
|
|
40
|
+
canonicalizeCandidates(candidates: string[], options?: CanonicalizeOptions): string[];
|
|
32
41
|
candidatesToCss(classes: string[]): (string | null)[];
|
|
42
|
+
candidatesToAst(classes: string[]): AstNode$1[][];
|
|
43
|
+
storage: Record<symbol, unknown>;
|
|
33
44
|
};
|
|
34
45
|
|
|
46
|
+
/**
|
|
47
|
+
* The source code for one or more nodes in the AST
|
|
48
|
+
*
|
|
49
|
+
* This generally corresponds to a stylesheet
|
|
50
|
+
*/
|
|
51
|
+
interface Source {
|
|
52
|
+
/**
|
|
53
|
+
* The path to the file that contains the referenced source code
|
|
54
|
+
*
|
|
55
|
+
* If this references the *output* source code, this is `null`.
|
|
56
|
+
*/
|
|
57
|
+
file: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* The referenced source code
|
|
60
|
+
*/
|
|
61
|
+
code: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The file and offsets within it that this node covers
|
|
65
|
+
*
|
|
66
|
+
* This can represent either:
|
|
67
|
+
* - A location in the original CSS which caused this node to be created
|
|
68
|
+
* - A location in the output CSS where this node resides
|
|
69
|
+
*/
|
|
70
|
+
type SourceLocation = [source: Source, start: number, end: number];
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Line offset tables are the key to generating our source maps. They allow us
|
|
74
|
+
* to store indexes with our AST nodes and later convert them into positions as
|
|
75
|
+
* when given the source that the indexes refer to.
|
|
76
|
+
*/
|
|
77
|
+
/**
|
|
78
|
+
* A position in source code
|
|
79
|
+
*
|
|
80
|
+
* https://tc39.es/ecma426/#sec-position-record-type
|
|
81
|
+
*/
|
|
82
|
+
interface Position {
|
|
83
|
+
/** The line number, one-based */
|
|
84
|
+
line: number;
|
|
85
|
+
/** The column/character number, one-based */
|
|
86
|
+
column: number;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
interface OriginalPosition extends Position {
|
|
90
|
+
source: DecodedSource;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* A "decoded" sourcemap
|
|
94
|
+
*
|
|
95
|
+
* @see https://tc39.es/ecma426/#decoded-source-map-record
|
|
96
|
+
*/
|
|
97
|
+
interface DecodedSourceMap {
|
|
98
|
+
file: string | null;
|
|
99
|
+
sources: DecodedSource[];
|
|
100
|
+
mappings: DecodedMapping[];
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* A "decoded" source
|
|
104
|
+
*
|
|
105
|
+
* @see https://tc39.es/ecma426/#decoded-source-record
|
|
106
|
+
*/
|
|
107
|
+
interface DecodedSource {
|
|
108
|
+
url: string | null;
|
|
109
|
+
content: string | null;
|
|
110
|
+
ignore: boolean;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* A "decoded" mapping
|
|
114
|
+
*
|
|
115
|
+
* @see https://tc39.es/ecma426/#decoded-mapping-record
|
|
116
|
+
*/
|
|
117
|
+
interface DecodedMapping {
|
|
118
|
+
originalPosition: OriginalPosition | null;
|
|
119
|
+
generatedPosition: Position;
|
|
120
|
+
name: string | null;
|
|
121
|
+
}
|
|
122
|
+
|
|
35
123
|
type StyleRule = {
|
|
36
124
|
kind: 'rule';
|
|
37
125
|
selector: string;
|
|
38
126
|
nodes: AstNode[];
|
|
127
|
+
src?: SourceLocation;
|
|
128
|
+
dst?: SourceLocation;
|
|
39
129
|
};
|
|
40
130
|
type AtRule = {
|
|
41
131
|
kind: 'at-rule';
|
|
42
132
|
name: string;
|
|
43
133
|
params: string;
|
|
44
134
|
nodes: AstNode[];
|
|
135
|
+
src?: SourceLocation;
|
|
136
|
+
dst?: SourceLocation;
|
|
45
137
|
};
|
|
46
138
|
type Declaration = {
|
|
47
139
|
kind: 'declaration';
|
|
48
140
|
property: string;
|
|
49
141
|
value: string | undefined;
|
|
50
142
|
important: boolean;
|
|
143
|
+
src?: SourceLocation;
|
|
144
|
+
dst?: SourceLocation;
|
|
51
145
|
};
|
|
52
146
|
type Comment = {
|
|
53
147
|
kind: 'comment';
|
|
54
148
|
value: string;
|
|
149
|
+
src?: SourceLocation;
|
|
150
|
+
dst?: SourceLocation;
|
|
55
151
|
};
|
|
56
152
|
type Context = {
|
|
57
153
|
kind: 'context';
|
|
58
154
|
context: Record<string, string | boolean>;
|
|
59
155
|
nodes: AstNode[];
|
|
156
|
+
src?: undefined;
|
|
157
|
+
dst?: undefined;
|
|
60
158
|
};
|
|
61
159
|
type AtRoot = {
|
|
62
160
|
kind: 'at-root';
|
|
63
161
|
nodes: AstNode[];
|
|
162
|
+
src?: undefined;
|
|
163
|
+
dst?: undefined;
|
|
64
164
|
};
|
|
65
165
|
type AstNode = StyleRule | AtRule | Declaration | Comment | Context | AtRoot;
|
|
66
166
|
|
|
67
167
|
type Resolver = (id: string, base: string) => Promise<string | false | undefined>;
|
|
68
168
|
interface CompileOptions {
|
|
69
169
|
base: string;
|
|
170
|
+
from?: string;
|
|
70
171
|
onDependency: (path: string) => void;
|
|
71
172
|
shouldRewriteUrls?: boolean;
|
|
173
|
+
polyfills?: Polyfills;
|
|
72
174
|
customCssResolver?: Resolver;
|
|
73
175
|
customJsResolver?: Resolver;
|
|
74
176
|
}
|
|
@@ -97,18 +199,30 @@ declare function compile(css: string, options: CompileOptions): Promise<{
|
|
|
97
199
|
} | null;
|
|
98
200
|
features: Features;
|
|
99
201
|
build(candidates: string[]): string;
|
|
202
|
+
buildSourceMap(): tailwindcss.DecodedSourceMap;
|
|
100
203
|
}>;
|
|
101
204
|
declare function __unstable__loadDesignSystem(css: string, { base }: {
|
|
102
205
|
base: string;
|
|
103
206
|
}): Promise<DesignSystem>;
|
|
207
|
+
declare function loadModule(id: string, base: string, onDependency: (path: string) => void, customJsResolver?: Resolver): Promise<{
|
|
208
|
+
path: string;
|
|
209
|
+
base: string;
|
|
210
|
+
module: any;
|
|
211
|
+
}>;
|
|
104
212
|
|
|
105
213
|
declare class Instrumentation implements Disposable {
|
|
106
214
|
#private;
|
|
215
|
+
private shouldReport;
|
|
107
216
|
private defaultFlush;
|
|
108
|
-
constructor(defaultFlush?: (message: string) => undefined);
|
|
217
|
+
constructor(shouldReport?: boolean, defaultFlush?: (message: string) => undefined);
|
|
109
218
|
hit(label: string): void;
|
|
110
219
|
start(label: string): void;
|
|
111
220
|
end(label: string): void;
|
|
221
|
+
track(label: string): {
|
|
222
|
+
[Symbol.dispose]: () => void;
|
|
223
|
+
[Symbol.asyncDispose]: () => void;
|
|
224
|
+
};
|
|
225
|
+
span<T>(label: string, fn: () => T): T;
|
|
112
226
|
reset(): void;
|
|
113
227
|
report(flush?: (message: string) => undefined): void;
|
|
114
228
|
[Symbol.dispose](): void;
|
|
@@ -116,4 +230,44 @@ declare class Instrumentation implements Disposable {
|
|
|
116
230
|
|
|
117
231
|
declare function normalizePath(originalPath: string): string;
|
|
118
232
|
|
|
119
|
-
|
|
233
|
+
interface OptimizeOptions {
|
|
234
|
+
/**
|
|
235
|
+
* The file being transformed
|
|
236
|
+
*/
|
|
237
|
+
file?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Enabled minified output
|
|
240
|
+
*/
|
|
241
|
+
minify?: boolean;
|
|
242
|
+
/**
|
|
243
|
+
* The output source map before optimization
|
|
244
|
+
*
|
|
245
|
+
* If omitted a resulting source map will not be available
|
|
246
|
+
*/
|
|
247
|
+
map?: string;
|
|
248
|
+
}
|
|
249
|
+
interface TransformResult {
|
|
250
|
+
code: string;
|
|
251
|
+
map: string | undefined;
|
|
252
|
+
}
|
|
253
|
+
declare function optimize(input: string, { file, minify, map }?: OptimizeOptions): TransformResult;
|
|
254
|
+
|
|
255
|
+
interface SourceMap {
|
|
256
|
+
readonly raw: string;
|
|
257
|
+
readonly inline: string;
|
|
258
|
+
comment(url: string): string;
|
|
259
|
+
}
|
|
260
|
+
declare function toSourceMap(map: DecodedSourceMap | string): SourceMap;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Rewrites the URLs of each declaration in the AST from being relative to the
|
|
264
|
+
* folder `base` returns for it to being relative to `root`. Declarations for
|
|
265
|
+
* which `base` returns `null` are left as-is.
|
|
266
|
+
*/
|
|
267
|
+
declare function rewriteUrlsInAst({ ast, base, root, }: {
|
|
268
|
+
ast: AstNode[];
|
|
269
|
+
base: (node: Declaration) => string | null;
|
|
270
|
+
root: string;
|
|
271
|
+
}): Promise<void>;
|
|
272
|
+
|
|
273
|
+
export { type CompileOptions, type DecodedSource, type DecodedSourceMap, Instrumentation, type OptimizeOptions, type Resolver, type SourceMap, type TransformResult, __unstable__loadDesignSystem, compile, compileAst, env, loadModule, normalizePath, optimize, rewriteUrlsInAst, toSourceMap };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { AstNode as AstNode$1 } from './ast';
|
|
1
2
|
import { Candidate, Variant } from './candidate';
|
|
2
3
|
import { compileAstNodes } from './compile';
|
|
3
|
-
import { ClassEntry, VariantEntry } from './intellisense';
|
|
4
|
+
import { ClassEntry, VariantEntry, CanonicalizeOptions } from './intellisense';
|
|
4
5
|
import { Theme } from './theme';
|
|
5
6
|
import { Utilities } from './utilities';
|
|
6
7
|
import { Variants } from './variants';
|
|
7
|
-
import
|
|
8
|
-
|
|
8
|
+
import * as tailwindcss from 'tailwindcss';
|
|
9
|
+
import { Polyfills, Features } from 'tailwindcss';
|
|
10
|
+
export { Features, Polyfills } from 'tailwindcss';
|
|
9
11
|
|
|
10
12
|
declare const DEBUG: boolean;
|
|
11
13
|
|
|
@@ -14,6 +16,10 @@ declare namespace env {
|
|
|
14
16
|
export { env_DEBUG as DEBUG };
|
|
15
17
|
}
|
|
16
18
|
|
|
19
|
+
declare const enum CompileAstFlags {
|
|
20
|
+
None = 0,
|
|
21
|
+
RespectImportant = 1
|
|
22
|
+
}
|
|
17
23
|
type DesignSystem = {
|
|
18
24
|
theme: Theme;
|
|
19
25
|
utilities: Utilities;
|
|
@@ -25,50 +31,146 @@ type DesignSystem = {
|
|
|
25
31
|
getVariants(): VariantEntry[];
|
|
26
32
|
parseCandidate(candidate: string): Readonly<Candidate>[];
|
|
27
33
|
parseVariant(variant: string): Readonly<Variant> | null;
|
|
28
|
-
compileAstNodes(candidate: Candidate): ReturnType<typeof compileAstNodes>;
|
|
34
|
+
compileAstNodes(candidate: Candidate, flags?: CompileAstFlags): ReturnType<typeof compileAstNodes>;
|
|
35
|
+
printCandidate(candidate: Candidate): string;
|
|
36
|
+
printVariant(variant: Variant): string;
|
|
29
37
|
getVariantOrder(): Map<Variant, number>;
|
|
30
38
|
resolveThemeValue(path: string, forceInline?: boolean): string | undefined;
|
|
31
39
|
trackUsedVariables(raw: string): void;
|
|
40
|
+
canonicalizeCandidates(candidates: string[], options?: CanonicalizeOptions): string[];
|
|
32
41
|
candidatesToCss(classes: string[]): (string | null)[];
|
|
42
|
+
candidatesToAst(classes: string[]): AstNode$1[][];
|
|
43
|
+
storage: Record<symbol, unknown>;
|
|
33
44
|
};
|
|
34
45
|
|
|
46
|
+
/**
|
|
47
|
+
* The source code for one or more nodes in the AST
|
|
48
|
+
*
|
|
49
|
+
* This generally corresponds to a stylesheet
|
|
50
|
+
*/
|
|
51
|
+
interface Source {
|
|
52
|
+
/**
|
|
53
|
+
* The path to the file that contains the referenced source code
|
|
54
|
+
*
|
|
55
|
+
* If this references the *output* source code, this is `null`.
|
|
56
|
+
*/
|
|
57
|
+
file: string | null;
|
|
58
|
+
/**
|
|
59
|
+
* The referenced source code
|
|
60
|
+
*/
|
|
61
|
+
code: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* The file and offsets within it that this node covers
|
|
65
|
+
*
|
|
66
|
+
* This can represent either:
|
|
67
|
+
* - A location in the original CSS which caused this node to be created
|
|
68
|
+
* - A location in the output CSS where this node resides
|
|
69
|
+
*/
|
|
70
|
+
type SourceLocation = [source: Source, start: number, end: number];
|
|
71
|
+
|
|
72
|
+
/**
|
|
73
|
+
* Line offset tables are the key to generating our source maps. They allow us
|
|
74
|
+
* to store indexes with our AST nodes and later convert them into positions as
|
|
75
|
+
* when given the source that the indexes refer to.
|
|
76
|
+
*/
|
|
77
|
+
/**
|
|
78
|
+
* A position in source code
|
|
79
|
+
*
|
|
80
|
+
* https://tc39.es/ecma426/#sec-position-record-type
|
|
81
|
+
*/
|
|
82
|
+
interface Position {
|
|
83
|
+
/** The line number, one-based */
|
|
84
|
+
line: number;
|
|
85
|
+
/** The column/character number, one-based */
|
|
86
|
+
column: number;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
interface OriginalPosition extends Position {
|
|
90
|
+
source: DecodedSource;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* A "decoded" sourcemap
|
|
94
|
+
*
|
|
95
|
+
* @see https://tc39.es/ecma426/#decoded-source-map-record
|
|
96
|
+
*/
|
|
97
|
+
interface DecodedSourceMap {
|
|
98
|
+
file: string | null;
|
|
99
|
+
sources: DecodedSource[];
|
|
100
|
+
mappings: DecodedMapping[];
|
|
101
|
+
}
|
|
102
|
+
/**
|
|
103
|
+
* A "decoded" source
|
|
104
|
+
*
|
|
105
|
+
* @see https://tc39.es/ecma426/#decoded-source-record
|
|
106
|
+
*/
|
|
107
|
+
interface DecodedSource {
|
|
108
|
+
url: string | null;
|
|
109
|
+
content: string | null;
|
|
110
|
+
ignore: boolean;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* A "decoded" mapping
|
|
114
|
+
*
|
|
115
|
+
* @see https://tc39.es/ecma426/#decoded-mapping-record
|
|
116
|
+
*/
|
|
117
|
+
interface DecodedMapping {
|
|
118
|
+
originalPosition: OriginalPosition | null;
|
|
119
|
+
generatedPosition: Position;
|
|
120
|
+
name: string | null;
|
|
121
|
+
}
|
|
122
|
+
|
|
35
123
|
type StyleRule = {
|
|
36
124
|
kind: 'rule';
|
|
37
125
|
selector: string;
|
|
38
126
|
nodes: AstNode[];
|
|
127
|
+
src?: SourceLocation;
|
|
128
|
+
dst?: SourceLocation;
|
|
39
129
|
};
|
|
40
130
|
type AtRule = {
|
|
41
131
|
kind: 'at-rule';
|
|
42
132
|
name: string;
|
|
43
133
|
params: string;
|
|
44
134
|
nodes: AstNode[];
|
|
135
|
+
src?: SourceLocation;
|
|
136
|
+
dst?: SourceLocation;
|
|
45
137
|
};
|
|
46
138
|
type Declaration = {
|
|
47
139
|
kind: 'declaration';
|
|
48
140
|
property: string;
|
|
49
141
|
value: string | undefined;
|
|
50
142
|
important: boolean;
|
|
143
|
+
src?: SourceLocation;
|
|
144
|
+
dst?: SourceLocation;
|
|
51
145
|
};
|
|
52
146
|
type Comment = {
|
|
53
147
|
kind: 'comment';
|
|
54
148
|
value: string;
|
|
149
|
+
src?: SourceLocation;
|
|
150
|
+
dst?: SourceLocation;
|
|
55
151
|
};
|
|
56
152
|
type Context = {
|
|
57
153
|
kind: 'context';
|
|
58
154
|
context: Record<string, string | boolean>;
|
|
59
155
|
nodes: AstNode[];
|
|
156
|
+
src?: undefined;
|
|
157
|
+
dst?: undefined;
|
|
60
158
|
};
|
|
61
159
|
type AtRoot = {
|
|
62
160
|
kind: 'at-root';
|
|
63
161
|
nodes: AstNode[];
|
|
162
|
+
src?: undefined;
|
|
163
|
+
dst?: undefined;
|
|
64
164
|
};
|
|
65
165
|
type AstNode = StyleRule | AtRule | Declaration | Comment | Context | AtRoot;
|
|
66
166
|
|
|
67
167
|
type Resolver = (id: string, base: string) => Promise<string | false | undefined>;
|
|
68
168
|
interface CompileOptions {
|
|
69
169
|
base: string;
|
|
170
|
+
from?: string;
|
|
70
171
|
onDependency: (path: string) => void;
|
|
71
172
|
shouldRewriteUrls?: boolean;
|
|
173
|
+
polyfills?: Polyfills;
|
|
72
174
|
customCssResolver?: Resolver;
|
|
73
175
|
customJsResolver?: Resolver;
|
|
74
176
|
}
|
|
@@ -97,22 +199,30 @@ declare function compile(css: string, options: CompileOptions): Promise<{
|
|
|
97
199
|
} | null;
|
|
98
200
|
features: Features;
|
|
99
201
|
build(candidates: string[]): string;
|
|
202
|
+
buildSourceMap(): tailwindcss.DecodedSourceMap;
|
|
100
203
|
}>;
|
|
101
204
|
declare function __unstable__loadDesignSystem(css: string, { base }: {
|
|
102
205
|
base: string;
|
|
103
206
|
}): Promise<DesignSystem>;
|
|
104
207
|
declare function loadModule(id: string, base: string, onDependency: (path: string) => void, customJsResolver?: Resolver): Promise<{
|
|
208
|
+
path: string;
|
|
105
209
|
base: string;
|
|
106
210
|
module: any;
|
|
107
211
|
}>;
|
|
108
212
|
|
|
109
213
|
declare class Instrumentation implements Disposable {
|
|
110
214
|
#private;
|
|
215
|
+
private shouldReport;
|
|
111
216
|
private defaultFlush;
|
|
112
|
-
constructor(defaultFlush?: (message: string) => undefined);
|
|
217
|
+
constructor(shouldReport?: boolean, defaultFlush?: (message: string) => undefined);
|
|
113
218
|
hit(label: string): void;
|
|
114
219
|
start(label: string): void;
|
|
115
220
|
end(label: string): void;
|
|
221
|
+
track(label: string): {
|
|
222
|
+
[Symbol.dispose]: () => void;
|
|
223
|
+
[Symbol.asyncDispose]: () => void;
|
|
224
|
+
};
|
|
225
|
+
span<T>(label: string, fn: () => T): T;
|
|
116
226
|
reset(): void;
|
|
117
227
|
report(flush?: (message: string) => undefined): void;
|
|
118
228
|
[Symbol.dispose](): void;
|
|
@@ -120,4 +230,44 @@ declare class Instrumentation implements Disposable {
|
|
|
120
230
|
|
|
121
231
|
declare function normalizePath(originalPath: string): string;
|
|
122
232
|
|
|
123
|
-
|
|
233
|
+
interface OptimizeOptions {
|
|
234
|
+
/**
|
|
235
|
+
* The file being transformed
|
|
236
|
+
*/
|
|
237
|
+
file?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Enabled minified output
|
|
240
|
+
*/
|
|
241
|
+
minify?: boolean;
|
|
242
|
+
/**
|
|
243
|
+
* The output source map before optimization
|
|
244
|
+
*
|
|
245
|
+
* If omitted a resulting source map will not be available
|
|
246
|
+
*/
|
|
247
|
+
map?: string;
|
|
248
|
+
}
|
|
249
|
+
interface TransformResult {
|
|
250
|
+
code: string;
|
|
251
|
+
map: string | undefined;
|
|
252
|
+
}
|
|
253
|
+
declare function optimize(input: string, { file, minify, map }?: OptimizeOptions): TransformResult;
|
|
254
|
+
|
|
255
|
+
interface SourceMap {
|
|
256
|
+
readonly raw: string;
|
|
257
|
+
readonly inline: string;
|
|
258
|
+
comment(url: string): string;
|
|
259
|
+
}
|
|
260
|
+
declare function toSourceMap(map: DecodedSourceMap | string): SourceMap;
|
|
261
|
+
|
|
262
|
+
/**
|
|
263
|
+
* Rewrites the URLs of each declaration in the AST from being relative to the
|
|
264
|
+
* folder `base` returns for it to being relative to `root`. Declarations for
|
|
265
|
+
* which `base` returns `null` are left as-is.
|
|
266
|
+
*/
|
|
267
|
+
declare function rewriteUrlsInAst({ ast, base, root, }: {
|
|
268
|
+
ast: AstNode[];
|
|
269
|
+
base: (node: Declaration) => string | null;
|
|
270
|
+
root: string;
|
|
271
|
+
}): Promise<void>;
|
|
272
|
+
|
|
273
|
+
export { type CompileOptions, type DecodedSource, type DecodedSourceMap, Instrumentation, type OptimizeOptions, type Resolver, type SourceMap, type TransformResult, __unstable__loadDesignSystem, compile, compileAst, env, loadModule, normalizePath, optimize, rewriteUrlsInAst, toSourceMap };
|
package/dist/index.js
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
"use strict";var
|
|
1
|
+
"use strict";var Ft=Object.create;var ae=Object.defineProperty;var jt=Object.getOwnPropertyDescriptor;var Wt=Object.getOwnPropertyNames;var Bt=Object.getPrototypeOf,Yt=Object.prototype.hasOwnProperty;var Be=(e,r)=>{for(var t in r)ae(e,t,{get:r[t],enumerable:!0})},Ye=(e,r,t,n)=>{if(r&&typeof r=="object"||typeof r=="function")for(let i of Wt(r))!Yt.call(e,i)&&i!==t&&ae(e,i,{get:()=>r[i],enumerable:!(n=jt(r,i))||n.enumerable});return e};var N=(e,r,t)=>(t=e!=null?Ft(Bt(e)):{},Ye(r||!e||!e.__esModule?ae(t,"default",{value:e,enumerable:!0}):t,e)),Ht=e=>Ye(ae({},"__esModule",{value:!0}),e);var xn={};Be(xn,{Features:()=>_.Features,Instrumentation:()=>We,Polyfills:()=>_.Polyfills,__unstable__loadDesignSystem:()=>pn,compile:()=>fn,compileAst:()=>cn,env:()=>se,loadModule:()=>Fe,normalizePath:()=>ve,optimize:()=>kn,rewriteUrlsInAst:()=>Le,toSourceMap:()=>yn});module.exports=Ht(xn);var le=N(require("module")),Mt=require("url");var se={};Be(se,{DEBUG:()=>be});var be=Gt(process.env.DEBUG);function Gt(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 r=e.split(",").map(t=>t.split(":")[0]);return r.includes("-tailwindcss")?!1:!!r.includes("tailwindcss")}var He=require("module"),Zt={};var Ge=(e,r,t)=>{let n=t(e,r);return qt(r,n)};function qt(e,r){try{if(r.url===Zt.url||(0,He.isBuiltin)(r.url)||!e.parentURL)return r;let n=new URL(e.parentURL).searchParams.get("id");if(n===null)return r;let i=new URL(r.url);return i.searchParams.set("id",n),{...r,url:`${i}`}}catch{return r}}var B=N(require("enhanced-resolve")),Ot=require("jiti"),ke=N(require("fs")),Me=N(require("fs/promises")),G=N(require("path")),ze=require("url"),_=require("tailwindcss");var ue=N(require("fs/promises")),Y=N(require("path")),Qt=[/import[\s\S]*?['"](.{3,}?)['"]/gi,/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/export[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/require\(['"`](.+)['"`]\)/gi],Jt=[".js",".cjs",".mjs"],Xt=["",".js",".cjs",".mjs",".ts",".cts",".mts",".jsx",".tsx"],er=["",".ts",".cts",".mts",".tsx",".js",".cjs",".mjs",".jsx"];async function tr(e,r){for(let t of r){let n=`${e}${t}`;if((await ue.default.stat(n).catch(()=>null))?.isFile())return n}for(let t of r){let n=`${e}/index${t}`;if(await ue.default.access(n).then(()=>!0,()=>!1))return n}return null}async function qe(e,r,t,n){let i=Jt.includes(n)?Xt:er,l=await tr(Y.default.resolve(t,r),i);if(l===null||e.has(l))return;e.add(l),t=Y.default.dirname(l),n=Y.default.extname(l);let o=await ue.default.readFile(l,"utf-8"),s=[];for(let a of Qt)for(let u of o.matchAll(a))u[1].startsWith(".")&&s.push(qe(e,u[1],t,n));await Promise.all(s)}async function Ze(e){let r=new Set;return await qe(r,e,Y.default.dirname(e),Y.default.extname(e)),Array.from(r)}var Ie=N(require("path"));function K(e){return{kind:"word",value:e}}function rr(e,r){return{kind:"function",value:e,nodes:r}}function nr(e){return{kind:"separator",value:e}}function A(e){let r="";for(let t of e)switch(t.kind){case"word":case"separator":{r+=t.value;break}case"function":r+=t.value+"("+A(t.nodes)+")"}return r}var Qe=92,ir=41,Je=58,Xe=44,or=34,et=61,tt=62,rt=60,nt=10,lr=40,ar=39,sr=47,it=32,ot=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===Ke)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===We||o===L)&&c.length>0&&e[d]===c[c.length-1]&&(c=c.slice(0,-1));let F=W(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)===K)l=C(i),n?n.nodes.push(l):t.push(l),i="",l=null;else if(u===_&&a[a.length-1]!==")"){let c=W(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)===K)l=C(i),n?n.nodes.push(l):t.push(l),i="",l=null;else{let p=i.indexOf(":");if(n){let m=W(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)===K&&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 W(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||(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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
`;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
`)){this.defaultFlush=t}
|
|
12
|
-
Timers:`);let
|
|
13
|
-
${
|
|
3
|
+
`);let r=[],t=[],n=null,i="",l;for(let o=0;o<e.length;o++){let s=e.charCodeAt(o);switch(s){case Qe:{i+=e[o]+e[o+1],o++;break}case sr:{if(i.length>0){let u=K(i);n?n.nodes.push(u):r.push(u),i=""}let a=K(e[o]);n?n.nodes.push(a):r.push(a);break}case Je:case Xe:case et:case tt:case rt:case nt:case it:case ot:{if(i.length>0){let c=K(i);n?n.nodes.push(c):r.push(c),i=""}let a=o,u=o+1;for(;u<e.length&&(l=e.charCodeAt(u),!(l!==Je&&l!==Xe&&l!==et&&l!==tt&&l!==rt&&l!==nt&&l!==it&&l!==ot));u++);o=u-1;let p=nr(e.slice(a,u));n?n.nodes.push(p):r.push(p);break}case ar:case or:{let a=o;for(let u=o+1;u<e.length;u++)if(l=e.charCodeAt(u),l===Qe)u+=1;else if(l===s){o=u;break}i+=e.slice(a,o+1);break}case lr:{let a=rr(i,[]);i="",n?n.nodes.push(a):r.push(a),t.push(a),n=a;break}case ir:{let a=t.pop();if(i.length>0){let u=K(i);a?.nodes.push(u),i=""}t.length>0?n=t[t.length-1]:n=null;break}default:i+=String.fromCharCode(s)}}return i.length>0&&r.push(K(i)),r}var h=class extends Map{constructor(t){super();this.factory=t}factory;get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t,this),this.set(t,n)),n}};var Vn=new Uint8Array(256);var ce=new Uint8Array(256);function w(e,r){let t=0,n=[],i=0,l=e.length,o=r.charCodeAt(0);for(let s=0;s<l;s++){let a=e.charCodeAt(s);if(t===0&&a===o){n.push(e.slice(i,s)),i=s+1;continue}switch(a){case 92:s+=1;break;case 39:case 34:for(;++s<l;){let u=e.charCodeAt(s);if(u===92){s+=1;continue}if(u===a)break}break;case 40:ce[t]=41,t++;break;case 91:ce[t]=93,t++;break;case 123:ce[t]=125,t++;break;case 93:case 125:case 41:t>0&&a===ce[t-1]&&t--;break}}return n.push(e.slice(i)),n}var ye=(o=>(o[o.Continue=0]="Continue",o[o.Skip=1]="Skip",o[o.Stop=2]="Stop",o[o.Replace=3]="Replace",o[o.ReplaceSkip=4]="ReplaceSkip",o[o.ReplaceStop=5]="ReplaceStop",o))(ye||{}),v={Continue:{kind:0},Skip:{kind:1},Stop:{kind:2},Replace:e=>({kind:3,nodes:Array.isArray(e)?e:[e]}),ReplaceSkip:e=>({kind:4,nodes:Array.isArray(e)?e:[e]}),ReplaceStop:e=>({kind:5,nodes:Array.isArray(e)?e:[e]})};function g(e,r){typeof r=="function"?lt(e,r):lt(e,r.enter,r.exit)}function lt(e,r=()=>v.Continue,t=()=>v.Continue){let n={value:[e,0,null],prev:null},i={parent:null,depth:0,index:0,siblings:e,path(){let l=[],o=n;for(;o;){let s=o.value[2];s&&l.push(s),o=o.prev}return l.reverse(),l}};for(;n!==null;){let l=n.value,o=l[0],s=l[1],a=l[2];if(s>=o.length){n=n.prev,i.depth-=1;continue}if(i.parent=a,i.siblings=o,s>=0){i.index=s;let f=o[s],d=r(f,i)??v.Continue;switch(d.kind){case 0:{f.nodes&&f.nodes.length>0&&(i.depth+=1,n={value:[f.nodes,0,f],prev:n}),l[1]=~s;continue}case 2:return;case 1:{l[1]=~s;continue}case 3:{o.splice(s,1,...d.nodes);continue}case 5:{o.splice(s,1,...d.nodes);return}case 4:{o.splice(s,1,...d.nodes),l[1]+=d.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${ye[d.kind]??`Unknown(${d.kind})`}\` in enter.`)}}let u=~s;i.index=u;let p=o[u],c=t(p,i)??v.Continue;switch(c.kind){case 0:l[1]=u+1;continue;case 2:return;case 3:{o.splice(u,1,...c.nodes),l[1]=u+c.nodes.length;continue}case 5:{o.splice(u,1,...c.nodes);return}case 4:{o.splice(u,1,...c.nodes),l[1]=u+c.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${ye[c.kind]??`Unknown(${c.kind})`}\` in exit.`)}}}var Mn=new h(e=>{let r=b(e),t=new Set,n=new Set(["~",">","+","-","*","/"]);return g(r,(i,l)=>{if(i.kind==="word"&&n.has(i.value)){let o=l.index;if(o===-1)return;let s=l.siblings[o-1];if(s?.kind!=="separator"||s.value!==" ")return;let a=l.siblings[o+1];if(a?.kind!=="separator"||a.value!==" ")return;let u=l.siblings[o-2];if(u&&n.has(u.value))return;let p=l.siblings[o+2];if(p&&n.has(p.value))return;t.add(s),t.add(a)}else if(i.kind==="separator"&&i.value.length>0&&i.value.trim()==="")(l.siblings[0]===i||l.siblings[l.siblings.length-1]===i)&&t.add(i);else if(i.kind==="separator"&&i.value.trim()===",")i.value=",";else if(i.kind==="function"&&i.value.startsWith("--")){let o=l.index;if(o<=0)return;let s=l.siblings[o-1];if(s?.kind==="separator"&&s.value===",")return;let a=l.siblings[o-2];return a&&!n.has(a.value)?void 0:v.ReplaceSkip({kind:"function",value:"",nodes:[i]})}}),t.size>0&&g(r,i=>{if(t.has(i))return t.delete(i),v.ReplaceSkip([])}),xe(r),A(r)});var Fn=new h(e=>{let r=b(e);return r.length===3&&r[0].kind==="word"&&r[0].value==="&"&&r[1].kind==="separator"&&r[1].value===":"&&r[2].kind==="function"&&r[2].value==="is"?A(r[2].nodes):e});function xe(e){for(let r of e)switch(r.kind){case"function":{if(r.value==="url"||r.value.endsWith("_url")){r.value=Z(r.value);break}if(r.value==="var"||r.value.endsWith("_var")||r.value==="theme"||r.value.endsWith("_theme")){r.value=Z(r.value);for(let t=0;t<r.nodes.length;t++)xe([r.nodes[t]]);break}r.value=Z(r.value),xe(r.nodes);break}case"separator":r.value=Z(r.value);break;case"word":{(r.value[0]!=="-"||r.value[1]!=="-")&&(r.value=Z(r.value));break}default:cr(r)}}var jn=new h(e=>{let r=b(e);return r.length===1&&r[0].kind==="function"&&r[0].value==="var"});function cr(e){throw new Error(`Unexpected value: ${e}`)}function Z(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var fr=/^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i,H=new h(e=>{let r=fr.exec(e);if(!r)return null;let t=r.groups?.value;if(t===void 0)return null;let n=Number(t);if(Number.isNaN(n))return null;let i=r.groups?.unit;return i===void 0?[n,null]:[n,i]});var D=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,ti=new RegExp(`^${D.source}$`);var ri=new RegExp(`^${D.source}%$`);var ni=new RegExp(`^${D.source}\\s*/\\s*${D.source}$`);var pr=["cm","mm","Q","in","pc","pt","px","em","ex","ch","cap","ic","rem","rex","rch","rcap","ric","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","svi","svb","svmin","svmax","lvw","lvh","lvi","lvb","lvmin","lvmax","dvw","dvh","dvi","dvb","dvmin","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],ii=new RegExp(`^${D.source}(${pr.join("|")})$`);var dr=["deg","rad","grad","turn"],oi=new RegExp(`^${D.source}(${dr.join("|")})$`);var li=new RegExp(`^${D.source} +${D.source} +${D.source}$`);function S(e){let r=Number(e);return Number.isInteger(r)&&r>=0&&String(r)===String(e)}function Q(e,r){if(r===null)return e;let t=Number(r);return Number.isNaN(t)||(r=`${t*100}%`),r==="100%"?e:`color-mix(in oklab, ${e} ${r}, transparent)`}var hr={"--alpha":vr,"--spacing":kr,"--theme":wr,theme:br};function vr(e,r,t,...n){let[i,l]=w(t,"/").map(o=>o.trim());if(!i||!l)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${i||"var(--my-color)"} / ${l||"50%"})\``);if(n.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${i||"var(--my-color)"} / ${l||"50%"})\``);return Q(i,l)}function kr(e,r,t,...n){if(!t)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(n.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${n.length+1}.`);let i=e.theme.resolve(null,["--spacing"]);if(!i)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");let l=H.get(t);if(l){if(l[0]===0)return"0px";if(l[0]===1)return i}return`calc(${i} * ${t})`}function wr(e,r,t,...n){if(!t.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let i=!1;t.endsWith(" inline")&&(i=!0,t=t.slice(0,-7)),r.kind==="at-rule"&&(i=!0);let l=e.resolveThemeValue(t,i);if(!l){if(n.length>0)return n.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${t})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(n.length===0)return l;let o=n.join(", ");if(o==="initial")return l;if(l==="initial")return o;if(l.startsWith("var(")||l.startsWith("theme(")||l.startsWith("--theme(")){let s=b(l);return xr(s,o),A(s)}return l}function br(e,r,t,...n){t=yr(t);let i=e.resolveThemeValue(t);if(!i&&n.length>0)return n.join(", ");if(!i)throw new Error(`Could not resolve value for theme function: \`theme(${t})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return i}var Pi=new RegExp(Object.keys(hr).map(e=>`${e}\\(`).join("|"));function yr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let r="",t=e[0];for(let n=1;n<e.length-1;n++){let i=e[n],l=e[n+1];i==="\\"&&(l===t||l==="\\")?(r+=l,n++):r+=i}return r}function xr(e,r){g(e,t=>{if(t.kind==="function"&&!(t.value!=="var"&&t.value!=="theme"&&t.value!=="--theme"))if(t.nodes.length===1)t.nodes.push({kind:"word",value:`, ${r}`});else{let n=t.nodes[t.nodes.length-1];n.kind==="word"&&n.value==="initial"&&(n.value=r)}})}function F(e,r="top",t="right",n="bottom",i="left"){return ft(`${e}-${r}`,`${e}-${t}`,`${e}-${n}`,`${e}-${i}`)}function ft(e="top",r="right",t="bottom",n="left"){return{1:[[e,0],[r,0],[t,0],[n,0]],2:[[e,0],[r,1],[t,0],[n,1]],3:[[e,0],[r,1],[t,2],[n,1]],4:[[e,0],[r,1],[t,2],[n,3]]}}function $(e,r){return{1:[[e,0],[r,0]],2:[[e,0],[r,1]]}}var qi={inset:ft(),margin:F("margin"),padding:F("padding"),"scroll-margin":F("scroll-margin"),"scroll-padding":F("scroll-padding"),"border-width":F("border","top-width","right-width","bottom-width","left-width"),"border-style":F("border","top-style","right-style","bottom-style","left-style"),"border-color":F("border","top-color","right-color","bottom-color","left-color"),gap:$("row-gap","column-gap"),overflow:$("overflow-x","overflow-y"),"overscroll-behavior":$("overscroll-behavior-x","overscroll-behavior-y")},Zi={"inset-block":$("top","bottom"),"inset-inline":$("left","right"),"margin-block":$("margin-top","margin-bottom"),"margin-inline":$("margin-left","margin-right"),"padding-block":$("padding-top","padding-bottom"),"padding-inline":$("padding-left","padding-right"),"scroll-margin-block":$("scroll-margin-top","scroll-margin-bottom"),"scroll-margin-inline":$("scroll-margin-left","scroll-margin-right"),"scroll-padding-block":$("scroll-padding-top","scroll-padding-bottom"),"scroll-padding-inline":$("scroll-padding-left","scroll-padding-right")};var $r=1536,To=$r/16;var Mo=new h(e=>{let r=[];return g(b(e),t=>{if(!(t.kind!=="function"||t.value!=="var"))return g(t.nodes,n=>{n.kind!=="word"||n.value[0]!=="-"||n.value[1]!=="-"||r.push(n.value)}),v.Skip}),r});function Ee(e){let r=[0];for(let i=0;i<e.length;i++)e.charCodeAt(i)===10&&r.push(i+1);function t(i){let l=0,o=r.length;for(;o>0;){let a=(o|0)>>1,u=l+a;r[u]<=i?(l=u+1,o=o-a-1):o=a}l-=1;let s=i-r[l];return{line:l+1,column:s}}function n({line:i,column:l}){i-=1,i=Math.min(Math.max(i,0),r.length-1);let o=r[i],s=r[i+1]??o;return Math.min(Math.max(o+l,0),s)}return{find:t,findOffset:n}}var Re=92,pe=47,de=42,vt=34,kt=39,Dr=58,me=59,V=10,ge=13,te=32,re=9,wt=123,Te=125,Pe=40,bt=41,Ir=91,Ur=93,yt=45,Ne=64,Lr=33,R=class e extends Error{loc;constructor(r,t){if(t){let n=t[0],i=Ee(n.code).find(t[1]);r=`${n.file}:${i.line}:${i.column+1}: ${r}`}super(r),this.name="CssSyntaxError",this.loc=t,Error.captureStackTrace&&Error.captureStackTrace(this,e)}};function ie(e,r){let t=r?.from?{file:r.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let n=[],i=[],l=[],o=null,s=null,a="",u="",p=0,c;for(let f=0;f<e.length;f++){let d=e.charCodeAt(f);if(!(d===ge&&(c=e.charCodeAt(f+1),c===V)))if(d===Re)a===""&&(p=f),a+=e.slice(f,f+2),f+=1;else if(d===pe&&e.charCodeAt(f+1)===de){let m=f;for(let k=f+2;k<e.length;k++)if(c=e.charCodeAt(k),c===de&&e.charCodeAt(k+1)===pe){f=k+1;break}let C=e.slice(m,f+1);if(C.charCodeAt(2)===Lr){let k=_e(C.slice(2,-2));i.push(k),t&&(k.src=[t,m,f+1],k.dst=[t,m,f+1])}}else if(d===kt||d===vt){let m=xt(e,f,d,t);a+=e.slice(f,m+1),f=m}else{if((d===te||d===V||d===re)&&(c=e.charCodeAt(f+1))&&(c===te||c===V||c===re||c===ge&&(c=e.charCodeAt(f+2))&&c==V))continue;if(d===V){if(a.length===0)continue;c=a.charCodeAt(a.length-1),c!==te&&c!==V&&c!==re&&(a+=" ")}else if(d===yt&&e.charCodeAt(f+1)===yt&&a.length===0){let m="",C=f,k=-1;for(let y=f+2;y<e.length;y++)if(c=e.charCodeAt(y),c===Re)y+=1;else if(c===kt||c===vt)y=xt(e,y,c,t);else if(c===pe&&e.charCodeAt(y+1)===de){for(let q=y+2;q<e.length;q++)if(c=e.charCodeAt(q),c===de&&e.charCodeAt(q+1)===pe){y=q+1;break}}else if(k===-1&&c===Dr)k=a.length+y-C;else if(c===me&&m.length===0){a+=e.slice(C,y),f=y;break}else if(c===Pe)m+=")";else if(c===Ir)m+="]";else if(c===wt)m+="}";else if((c===Te||e.length-1===y)&&m.length===0){f=y-1,a+=e.slice(C,y);break}else(c===bt||c===Ur||c===Te)&&m.length>0&&e[y]===m[m.length-1]&&(m=m.slice(0,-1));let z=Ve(a,k);if(!z)throw new R("Invalid custom property, expected a value",t?[t,C,f]:null);t&&(z.src=[t,C,f],z.dst=[t,C,f]),o?o.nodes.push(z):n.push(z),a=""}else if(d===me&&a.charCodeAt(0)===Ne)s=ne(a),t&&(s.src=[t,p,f],s.dst=[t,p,f]),o?o.nodes.push(s):n.push(s),a="",s=null;else if(d===me&&u[u.length-1]!==")"){let m=Ve(a);if(!m){if(a.length===0)continue;throw new R(`Invalid declaration: \`${a.trim()}\``,t?[t,p,f]:null)}t&&(m.src=[t,p,f],m.dst=[t,p,f]),o?o.nodes.push(m):n.push(m),a=""}else if(d===wt&&u[u.length-1]!==")")u+="}",s=I(a.trim()),t&&(s.src=[t,p,f],s.dst=[t,p,f]),o&&o.nodes.push(s),l.push(o),o=s,a="",s=null;else if(d===Te&&u[u.length-1]!==")"){if(u==="")throw new R("Missing opening {",t?[t,f,f]:null);if(u=u.slice(0,-1),a.length>0)if(a.charCodeAt(0)===Ne)s=ne(a),t&&(s.src=[t,p,f],s.dst=[t,p,f]),o?o.nodes.push(s):n.push(s),a="",s=null;else{let C=a.indexOf(":");if(o){let k=Ve(a,C);if(!k)throw new R(`Invalid declaration: \`${a.trim()}\``,t?[t,p,f]:null);t&&(k.src=[t,p,f],k.dst=[t,p,f]),o.nodes.push(k)}}let m=l.pop()??null;m===null&&o&&n.push(o),o=m,a="",s=null}else if(d===Pe)u+=")",a+="(";else if(d===bt){if(u[u.length-1]!==")")throw new R("Missing opening (",t?[t,f,f]:null);u=u.slice(0,-1),a+=")"}else{if(a.length===0&&(d===te||d===V||d===re))continue;a===""&&(p=f),a+=String.fromCharCode(d)}}}if(a.charCodeAt(0)===Ne){let f=ne(a);t&&(f.src=[t,p,e.length],f.dst=[t,p,e.length]),n.push(f)}if(u.length>0&&o){if(o.kind==="rule")throw new R(`Missing closing } at ${o.selector}`,o.src?[o.src[0],o.src[1],o.src[1]]:null);if(o.kind==="at-rule")throw new R(`Missing closing } at ${o.name} ${o.params}`,o.src?[o.src[0],o.src[1],o.src[1]]:null)}return i.length>0?i.concat(n):n}function ne(e,r=[]){let t=e,n="";for(let i=5;i<e.length;i++){let l=e.charCodeAt(i);if(l===te||l===re||l===Pe){t=e.slice(0,i),n=e.slice(i);break}}return T(t.trim(),n.trim(),r)}function Ve(e,r=e.indexOf(":")){if(r===-1)return null;let t=e.indexOf("!important",r+1);return O(e.slice(0,r).trim(),e.slice(r+1,t===-1?e.length:t).trim(),t!==-1)}function xt(e,r,t,n=null){let i;for(let l=r+1;l<e.length;l++)if(i=e.charCodeAt(l),i===Re)l+=1;else{if(i===t)return l;if(i===me&&(e.charCodeAt(l+1)===V||e.charCodeAt(l+1)===ge&&e.charCodeAt(l+2)===V))throw new R(`Unterminated string: ${e.slice(r,l+1)+String.fromCharCode(t)}`,n?[n,r,l+1]:null);if(i===V||i===ge&&e.charCodeAt(l+1)===V)throw new R(`Unterminated string: ${e.slice(r,l)+String.fromCharCode(t)}`,n?[n,r,l+1]:null)}return r}var De={inherit:"inherit",current:"currentcolor",transparent:"transparent",black:"#000",white:"#fff",slate:{50:"oklch(98.4% 0.003 247.858)",100:"oklch(96.8% 0.007 247.896)",200:"oklch(92.9% 0.013 255.508)",300:"oklch(86.9% 0.022 252.894)",400:"oklch(70.4% 0.04 256.788)",500:"oklch(55.4% 0.046 257.417)",600:"oklch(44.6% 0.043 257.281)",700:"oklch(37.2% 0.044 257.287)",800:"oklch(27.9% 0.041 260.031)",900:"oklch(20.8% 0.042 265.755)",950:"oklch(12.9% 0.042 264.695)"},gray:{50:"oklch(98.5% 0.002 247.839)",100:"oklch(96.7% 0.003 264.542)",200:"oklch(92.8% 0.006 264.531)",300:"oklch(87.2% 0.01 258.338)",400:"oklch(70.7% 0.022 261.325)",500:"oklch(55.1% 0.027 264.364)",600:"oklch(44.6% 0.03 256.802)",700:"oklch(37.3% 0.034 259.733)",800:"oklch(27.8% 0.033 256.848)",900:"oklch(21% 0.034 264.665)",950:"oklch(13% 0.028 261.692)"},zinc:{50:"oklch(98.5% 0 none)",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 none)",100:"oklch(97% 0 none)",200:"oklch(92.2% 0 none)",300:"oklch(87% 0 none)",400:"oklch(70.8% 0 none)",500:"oklch(55.6% 0 none)",600:"oklch(43.9% 0 none)",700:"oklch(37.1% 0 none)",800:"oklch(26.9% 0 none)",900:"oklch(20.5% 0 none)",950:"oklch(14.5% 0 none)"},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)"},mauve:{50:"oklch(98.5% 0 none)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},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 W(e){return{__BARE_VALUE__:e}}var P=W(e=>{if(S(e.value))return e.value}),x=W(e=>{if(S(e.value))return`${e.value}%`}),U=W(e=>{if(S(e.value))return`${e.value}px`}),At=W(e=>{if(S(e.value))return`${e.value}ms`}),he=W(e=>{if(S(e.value))return`${e.value}deg`}),jr=W(e=>{if(e.fraction===null)return;let[r,t]=w(e.fraction,"/");if(!(!S(r)||!S(t)))return e.fraction}),Ct=W(e=>{if(S(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),Wr={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",...jr},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...x}),backdropContrast:({theme:e})=>({...e("contrast"),...x}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...x}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...he}),backdropInvert:({theme:e})=>({...e("invert"),...x}),backdropOpacity:({theme:e})=>({...e("opacity"),...x}),backdropSaturate:({theme:e})=>({...e("saturate"),...x}),backdropSepia:({theme:e})=>({...e("sepia"),...x}),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",...U},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",...x},caretColor:({theme:e})=>e("colors"),colors:()=>({...De}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",...P},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...x},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"),...U}),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",...P},flexShrink:{0:"0",DEFAULT:"1",...P},fontFamily:{sans:["-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"','"Noto Sans"',"Arial","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%",...x},grayscale:{0:"0",DEFAULT:"100%",...x},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",...P},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",...P},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",...P},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",...P},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))",...Ct},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))",...Ct},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",...he},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%",...x},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",...P},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",...x},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",...P},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...U},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...U},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",...U},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...U},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...he},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...x},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",...x},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%",...x},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...he},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",...P},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",...U},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...U},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",...At},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...At},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",...P}};var Yr=64;function M(e,r=[]){return{kind:"rule",selector:e,nodes:r}}function T(e,r="",t=[]){return{kind:"at-rule",name:e,params:r,nodes:t}}function I(e,r=[]){return e.charCodeAt(0)===Yr?ne(e,r):M(e,r)}function O(e,r,t=!1){return{kind:"declaration",property:e,value:r,important:t}}function _e(e){return{kind:"comment",value:e}}function j(e,r){let t=0,n={file:null,code:""};function i(o,s=0){let a="",u=" ".repeat(s);if(o.kind==="declaration"){if(a+=`${u}${o.property}: ${o.value}${o.important?" !important":""};
|
|
4
|
+
`,r){t+=u.length;let p=t;t+=o.property.length,t+=2,t+=o.value?.length??0,o.important&&(t+=11);let c=t;t+=2,o.dst=[n,p,c]}}else if(o.kind==="rule"){if(a+=`${u}${o.selector} {
|
|
5
|
+
`,r){t+=u.length;let p=t;t+=o.selector.length,t+=1;let c=t;o.dst=[n,p,c],t+=2}for(let p of o.nodes)a+=i(p,s+1);a+=`${u}}
|
|
6
|
+
`,r&&(t+=u.length,t+=2)}else if(o.kind==="at-rule"){if(o.nodes.length===0){let p=`${u}${o.name} ${o.params};
|
|
7
|
+
`;if(r){t+=u.length;let c=t;t+=o.name.length,t+=1,t+=o.params.length;let f=t;t+=2,o.dst=[n,c,f]}return p}if(a+=`${u}${o.name}${o.params?` ${o.params} `:" "}{
|
|
8
|
+
`,r){t+=u.length;let p=t;t+=o.name.length,o.params&&(t+=1,t+=o.params.length),t+=1;let c=t;o.dst=[n,p,c],t+=2}for(let p of o.nodes)a+=i(p,s+1);a+=`${u}}
|
|
9
|
+
`,r&&(t+=u.length,t+=2)}else if(o.kind==="comment"){if(a+=`${u}/*${o.value}*/
|
|
10
|
+
`,r){t+=u.length;let p=t;t+=2+o.value.length+2;let c=t;o.dst=[n,p,c],t+=1}}else if(o.kind==="context"||o.kind==="at-root")return"";return a}let l="";for(let o of e)l+=i(o,0);return n.code=l,l}function Hr(e,r){if(typeof e!="string")throw new TypeError("expected path to be a string");if(e==="\\"||e==="/")return"/";var t=e.length;if(t<=1)return e;var n="";if(t>4&&e[3]==="\\"){var i=e[2];(i==="?"||i===".")&&e.slice(0,2)==="\\\\"&&(e=e.slice(2),n="//")}var l=e.split(/[/\\]+/);return r!==!1&&l[l.length-1]===""&&l.pop(),n+l.join("/")}function ve(e){let r=Hr(e);return e.startsWith("\\\\")&&r.startsWith("/")&&!r.startsWith("//")?`/${r}`:r}var Ue=/(?<!@import\s+)(?<=^|[^\w\-\u0080-\uffff])url\((\s*('[^']+'|"[^"]+")\s*|[^'")]+)\)/,St=/(?<=image-set\()((?:[\w-]{1,256}\([^)]*\)|[^)])*)(?=\))/,Gr=/(?:gradient|element|cross-fade|image)\(/,qr=/^\s*data:/i,Zr=/^([a-z]+:)?\/\//,Qr=/^[A-Z_][.\w-]*\(/i,Jr=/(?:^|\s)(?<url>[\w-]+\([^)]*\)|"[^"]*"|'[^']*'|[^,]\S*[^,])\s*(?:\s(?<descriptor>\w[^,]+))?(?:,|$)/g,Xr=/(?<!\\)"/g,en=/(?: |\\t|\\n|\\f|\\r)+/g,tn=e=>qr.test(e),rn=e=>Zr.test(e);async function $t({css:e,base:r,root:t}){if(!e.includes("url(")&&!e.includes("image-set("))return e;let n=ie(e);return await Le({ast:n,base:()=>r,root:t}),j(n)}async function Le({ast:e,base:r,root:t}){let n=[];g(e,i=>{if(i.kind!=="declaration"||!i.value)return;let l=Ue.test(i.value),o=St.test(i.value);if(l||o){let s=r(i);if(s===null)return;let a=o?on:Et;n.push(a(i.value,u=>nn(u,s,t)).then(u=>{i.value=u}))}}),n.length&&await Promise.all(n)}function nn(e,r,t){if(e[0]==="/")return e;let n=Ie.posix.join(ve(r),e),i=Ie.posix.relative(ve(t),n);return i.startsWith(".")||(i="./"+i),i}function Et(e,r){return Nt(e,Ue,async t=>{let[n,i]=t;return await Tt(i.trim(),n,r)})}async function on(e,r){return await Nt(e,St,async t=>{let[,n]=t;return await an(n,async({url:l})=>Ue.test(l)?await Et(l,r):Gr.test(l)?l:await Tt(l,l,r))})}async function Tt(e,r,t,n="url"){let i="",l=e[0];if((l==='"'||l==="'")&&(i=l,e=e.slice(1,-1)),ln(e))return r;let o=await t(e);return i===""&&o!==encodeURI(o)&&(i='"'),i==="'"&&o.includes("'")&&(i='"'),i==='"'&&o.includes('"')&&(o=o.replace(Xr,'\\"')),`${n}(${i}${o}${i})`}function ln(e,r){return rn(e)||tn(e)||!e[0]||!e[0].match(/[.a-zA-Z0-9_]/)||Qr.test(e)}function an(e,r){return Promise.all(sn(e).map(async({url:t,descriptor:n})=>({url:await r({url:t,descriptor:n}),descriptor:n}))).then(un)}function sn(e){let r=e.trim().replace(en," ").replace(/\r?\n/,"").replace(/,\s+/,", ").replaceAll(/\s+/g," ").matchAll(Jr);return Array.from(r,({groups:t})=>({url:t?.url?.trim()??"",descriptor:t?.descriptor?.trim()??""})).filter(({url:t})=>!!t)}function un(e){return e.map(({url:r,descriptor:t})=>r+(t?` ${t}`:"")).join(", ")}async function Nt(e,r,t){let n,i=e,l="";for(;n=r.exec(i);)l+=i.slice(0,n.index),l+=await t(n),i=i.slice(n.index+n[0].length);return l+=i,l}var vn={};function _t({base:e,from:r,polyfills:t,onDependency:n,shouldRewriteUrls:i,customCssResolver:l,customJsResolver:o}){return{base:e,polyfills:t,from:r,async loadModule(s,a){return Fe(s,a,n,o)},async loadStylesheet(s,a){let u=await It(s,a,n,l);return i&&(u.content=await $t({css:u.content,root:e,base:u.base})),u}}}async function Dt(e){if(e.root&&e.root!=="none"){let r=/[*{]/,t=[];for(let i of e.root.pattern.split("/")){if(r.test(i))break;t.push(i)}if(!await Me.default.stat(G.default.resolve(e.root.base,t.join("/"))).then(i=>i.isDirectory()).catch(()=>!1))throw new Error(`The \`source(${e.root.pattern})\` does not exist or is not a directory.`)}}async function cn(e,r){let t=await(0,_.compileAst)(e,_t(r));return await Dt(t),t}async function fn(e,r){let t=await(0,_.compile)(e,_t(r));return await Dt(t),t}async function pn(e,{base:r}){return(0,_.__unstable__loadDesignSystem)(e,{base:r,async loadModule(t,n){return Fe(t,n,()=>{})},async loadStylesheet(t,n){return It(t,n,()=>{})}})}async function Fe(e,r,t,n){if(e[0]!=="."){let s=await Pt(e,r,n);if(!s)throw new Error(`Could not resolve '${e}' from '${r}'`);let a=await Rt((0,ze.pathToFileURL)(s).href);return{path:s,base:G.default.dirname(s),module:a.default??a}}let i=await Pt(e,r,n);if(!i)throw new Error(`Could not resolve '${e}' from '${r}'`);let[l,o]=await Promise.all([Rt((0,ze.pathToFileURL)(i).href+"?id="+Date.now()),Ze(i)]);for(let s of o)t(s);return{path:i,base:G.default.dirname(i),module:l.default??l}}async function It(e,r,t,n){let i=await mn(e,r,n);if(!i)throw new Error(`Could not resolve '${e}' from '${r}'`);t(i);let l=await Me.default.readFile(i,"utf-8");return{path:i,base:G.default.dirname(i),content:l}}var Vt=null;async function Rt(e){if(typeof globalThis.__tw_load=="function"){let r=await globalThis.__tw_load(e);if(r)return r}try{return await import(e)}catch{return Vt??=(0,Ot.createJiti)(vn.url,{moduleCache:!1,fsCache:!1}),await Vt.import(e)}}var je=["node_modules",...process.env.NODE_PATH?[...process.env.NODE_PATH.split(G.default.delimiter)]:[]],dn=B.default.ResolverFactory.createResolver({fileSystem:new B.default.CachedInputFileSystem(ke.default,4e3),useSyncFileSystemCalls:!0,extensions:[".css"],mainFields:["style"],conditionNames:["style"],modules:je});async function mn(e,r,t){if(typeof globalThis.__tw_resolve=="function"){let n=globalThis.__tw_resolve(e,r);if(n)return Promise.resolve(n)}if(t){let n=await t(e,r);if(n)return n}return Ke(dn,e,r)}var gn=B.default.ResolverFactory.createResolver({fileSystem:new B.default.CachedInputFileSystem(ke.default,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","import"],modules:je}),hn=B.default.ResolverFactory.createResolver({fileSystem:new B.default.CachedInputFileSystem(ke.default,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","require"],modules:je});async function Pt(e,r,t){if(typeof globalThis.__tw_resolve=="function"){let n=globalThis.__tw_resolve(e,r);if(n)return Promise.resolve(n)}if(t){let n=await t(e,r);if(n)return n}return Ke(gn,e,r).catch(()=>Ke(hn,e,r))}function Ke(e,r,t){return new Promise((n,i)=>e.resolve({},t,r,{},(l,o)=>{if(l)return i(l);n(o)}))}Symbol.dispose??=Symbol("Symbol.dispose");Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");var We=class{constructor(r=be,t=n=>{process.stderr.write(`${n}
|
|
11
|
+
`)}){this.shouldReport=r;this.defaultFlush=t}shouldReport;defaultFlush;#r=new h(()=>({value:0}));#t=new h(()=>({value:0n}));#e=[];hit(r){this.#r.get(r).value++}start(r){let t=this.#e.map(i=>i.label).join("//"),n=`${t}${t.length===0?"":"//"}${r}`;this.#r.get(n).value++,this.#t.get(n),this.#e.push({id:n,label:r,namespace:t,value:process.hrtime.bigint()})}end(r){let t=process.hrtime.bigint();if(this.#e[this.#e.length-1].label!==r)throw new Error(`Mismatched timer label: \`${r}\`, expected \`${this.#e[this.#e.length-1].label}\``);let n=this.#e.pop(),i=t-n.value;this.#t.get(n.id).value+=i}track(r){this.start(r);let t=!1;return{[Symbol.dispose]:()=>{t||(this.end(r),t=!0)},[Symbol.asyncDispose]:()=>{t||(this.end(r),t=!0)}}}span(r,t){this.start(r);let n=!1;try{let i=t();return n=i&&typeof i.then=="function",n?i.finally(()=>this.end(r)):i}finally{n||this.end(r)}}reset(){this.#r.clear(),this.#t.clear(),this.#e.splice(0)}report(r=this.defaultFlush){let t=[],n=!1;for(let o=this.#e.length-1;o>=0;o--)this.end(this.#e[o].label);for(let[o,{value:s}]of this.#r.entries()){if(this.#t.has(o))continue;t.length===0&&(n=!0,t.push("Hits:"));let a=o.split("//").length;t.push(`${" ".repeat(a)}${o} ${we(Ut(`\xD7 ${s}`))}`)}this.#t.size>0&&n&&t.push(`
|
|
12
|
+
Timers:`);let i=-1/0,l=new Map;for(let[o,{value:s}]of this.#t){let a=`${(Number(s)/1e6).toFixed(2)}ms`;l.set(o,a),i=Math.max(i,a.length)}for(let o of this.#t.keys()){let s=o.split("//").length;t.push(`${we(`[${l.get(o).padStart(i," ")}]`)}${" ".repeat(s-1)}${s===1?" ":we(" \u21B3 ")}${o.split("//").pop()} ${this.#r.get(o).value===1?"":we(Ut(`\xD7 ${this.#r.get(o).value}`))}`.trimEnd())}r(`
|
|
13
|
+
${t.join(`
|
|
14
14
|
`)}
|
|
15
|
-
`),this.reset()}[Symbol.dispose](){
|
|
15
|
+
`),this.reset()}[Symbol.dispose](){this.shouldReport&&this.report()}};function we(e){return`\x1B[2m${e}\x1B[22m`}function Ut(e){return`\x1B[34m${e}\x1B[39m`}var Lt=N(require("@jridgewell/remapping")),L=require("lightningcss"),zt=N(require("magic-string"));function kn(e,{file:r="input.css",minify:t=!1,map:n}={}){function i(a,u){return(0,L.transform)({filename:r,code:a,minify:t,sourceMap:typeof u<"u",inputSourceMap:u,drafts:{customMedia:!0},nonStandard:{deepSelectorCombinator:!0},include:L.Features.Nesting|L.Features.MediaQueries,exclude:L.Features.LogicalProperties|L.Features.DirSelector|L.Features.LightDark,targets:{safari:16<<16|1024,ios_saf:16<<16|1024,firefox:8388608,chrome:7274496},errorRecovery:!0})}let l=i(Buffer.from(e),n);if(n=l.map?.toString(),l.warnings=l.warnings.filter(a=>!/'(deep|slotted|global|ng-deep|host-context)' is not recognized as a valid pseudo-/.test(a.message)),l.warnings.length>0){let a=e.split(`
|
|
16
|
+
`),u=[`Found ${l.warnings.length} ${l.warnings.length===1?"warning":"warnings"} while optimizing generated CSS:`];for(let[p,c]of l.warnings.entries()){u.push(""),l.warnings.length>1&&u.push(`Issue #${p+1}:`);let f=2,d=Math.max(0,c.loc.line-f-1),m=Math.min(a.length,c.loc.line+f),C=a.slice(d,m).map((k,z)=>d+z+1===c.loc.line?`${oe("\u2502")} ${k}`:oe(`\u2502 ${k}`));C.splice(c.loc.line-d,0,`${oe("\u2506")}${" ".repeat(c.loc.column-1)} ${wn(`${oe("^--")} ${c.message}`)}`,`${oe("\u2506")}`),u.push(...C)}u.push(""),console.warn(u.join(`
|
|
17
|
+
`))}l=i(l.code,n),n=l.map?.toString();let o=l.code.toString(),s=new zt.default(o);if(s.replaceAll("@media not (","@media not all and ("),n!==void 0&&s.hasChanged()){let a=s.generateMap({source:"original",hires:"boundary"}).toString();n=(0,Lt.default)([a,n],()=>null).toString()}return o=s.toString(),{code:o,map:n}}function oe(e){return`\x1B[2m${e}\x1B[22m`}function wn(e){return`\x1B[33m${e}\x1B[39m`}var Kt=require("source-map-js");function bn(e){let r=new Kt.SourceMapGenerator,t=1,n=new h(i=>({url:i?.url??`<unknown ${t++}>`,content:i?.content??"<none>"}));for(let i of e.mappings){let l=n.get(i.originalPosition?.source??null);r.addMapping({generated:i.generatedPosition,original:i.originalPosition,source:l.url,name:i.name}),r.setSourceContent(l.url,l.content)}return r.toString()}function yn(e){let r=typeof e=="string"?e:bn(e);function t(n){return`/*# sourceMappingURL=${n} */
|
|
18
|
+
`}return{raw:r,get inline(){let n=Buffer.from(r,"utf-8").toString("base64");return t(`data:application/json;base64,${n}`)},comment:t}}process.versions.bun||(le.registerHooks?le.registerHooks({resolve:Ge}):le.register?.((0,Mt.pathToFileURL)(require.resolve("@tailwindcss/node/esm-cache-loader"))));0&&(module.exports={Features,Instrumentation,Polyfills,__unstable__loadDesignSystem,compile,compileAst,env,loadModule,normalizePath,optimize,rewriteUrlsInAst,toSourceMap});
|
package/dist/index.mjs
CHANGED
|
@@ -1,15 +1,18 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Rt=Object.defineProperty;var Pt=(e,r)=>{for(var t in r)Rt(e,t,{get:r[t],enumerable:!0})};import*as F from"module";import{pathToFileURL as un}from"url";var me={};Pt(me,{DEBUG:()=>de});var de=Ot(process.env.DEBUG);function Ot(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 r=e.split(",").map(t=>t.split(":")[0]);return r.includes("-tailwindcss")?!1:!!r.includes("tailwindcss")}import{isBuiltin as _t}from"module";var Ue=(e,r,t)=>{let n=t(e,r);return Dt(r,n)};function Dt(e,r){try{if(r.url===import.meta.url||_t(r.url)||!e.parentURL)return r;let n=new URL(e.parentURL).searchParams.get("id");if(n===null)return r;let i=new URL(r.url);return i.searchParams.set("id",n),{...r,url:`${i}`}}catch{return r}}import W from"enhanced-resolve";import{createJiti as Gr}from"jiti";import De from"fs";import Ct from"fs/promises";import re from"path";import{pathToFileURL as bt}from"url";import{__unstable__loadDesignSystem as qr,compile as Zr,compileAst as Qr,Features as uu,Polyfills as cu}from"tailwindcss";import ge from"fs/promises";import Y from"path";var It=[/import[\s\S]*?['"](.{3,}?)['"]/gi,/import[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/export[\s\S]*from[\s\S]*?['"](.{3,}?)['"]/gi,/require\(['"`](.+)['"`]\)/gi],Ut=[".js",".cjs",".mjs"],Lt=["",".js",".cjs",".mjs",".ts",".cts",".mts",".jsx",".tsx"],zt=["",".ts",".cts",".mts",".tsx",".js",".cjs",".mjs",".jsx"];async function Kt(e,r){for(let t of r){let n=`${e}${t}`;if((await ge.stat(n).catch(()=>null))?.isFile())return n}for(let t of r){let n=`${e}/index${t}`;if(await ge.access(n).then(()=>!0,()=>!1))return n}return null}async function Le(e,r,t,n){let i=Ut.includes(n)?Lt:zt,l=await Kt(Y.resolve(t,r),i);if(l===null||e.has(l))return;e.add(l),t=Y.dirname(l),n=Y.extname(l);let o=await ge.readFile(l,"utf-8"),s=[];for(let a of It)for(let u of o.matchAll(a))u[1].startsWith(".")&&s.push(Le(e,u[1],t,n));await Promise.all(s)}async function ze(e){let r=new Set;return await Le(r,e,Y.dirname(e),Y.extname(e)),Array.from(r)}import*as Pe from"path";function U(e){return{kind:"word",value:e}}function Mt(e,r){return{kind:"function",value:e,nodes:r}}function Ft(e){return{kind:"separator",value:e}}function A(e){let r="";for(let t of e)switch(t.kind){case"word":case"separator":{r+=t.value;break}case"function":r+=t.value+"("+A(t.nodes)+")"}return r}var Ke=92,jt=41,Me=58,Fe=44,Wt=34,je=61,We=62,Be=60,Ye=10,Bt=40,Yt=39,Ht=47,He=32,Ge=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===P||e.length-1===d)&&c.length===0){f=d-1,i+=e.slice(p,d);break}else(o===q||o===_e||o===P)&&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===P&&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 Pe=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)===Pe?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||(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
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
`;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
`)){this.defaultFlush=t}
|
|
12
|
-
Timers:`);let
|
|
13
|
-
${
|
|
3
|
+
`);let r=[],t=[],n=null,i="",l;for(let o=0;o<e.length;o++){let s=e.charCodeAt(o);switch(s){case Ke:{i+=e[o]+e[o+1],o++;break}case Ht:{if(i.length>0){let u=U(i);n?n.nodes.push(u):r.push(u),i=""}let a=U(e[o]);n?n.nodes.push(a):r.push(a);break}case Me:case Fe:case je:case We:case Be:case Ye:case He:case Ge:{if(i.length>0){let c=U(i);n?n.nodes.push(c):r.push(c),i=""}let a=o,u=o+1;for(;u<e.length&&(l=e.charCodeAt(u),!(l!==Me&&l!==Fe&&l!==je&&l!==We&&l!==Be&&l!==Ye&&l!==He&&l!==Ge));u++);o=u-1;let p=Ft(e.slice(a,u));n?n.nodes.push(p):r.push(p);break}case Yt:case Wt:{let a=o;for(let u=o+1;u<e.length;u++)if(l=e.charCodeAt(u),l===Ke)u+=1;else if(l===s){o=u;break}i+=e.slice(a,o+1);break}case Bt:{let a=Mt(i,[]);i="",n?n.nodes.push(a):r.push(a),t.push(a),n=a;break}case jt:{let a=t.pop();if(i.length>0){let u=U(i);a?.nodes.push(u),i=""}t.length>0?n=t[t.length-1]:n=null;break}default:i+=String.fromCharCode(s)}}return i.length>0&&r.push(U(i)),r}var h=class extends Map{constructor(t){super();this.factory=t}factory;get(t){let n=super.get(t);return n===void 0&&(n=this.factory(t,this),this.set(t,n)),n}};var bn=new Uint8Array(256);var oe=new Uint8Array(256);function w(e,r){let t=0,n=[],i=0,l=e.length,o=r.charCodeAt(0);for(let s=0;s<l;s++){let a=e.charCodeAt(s);if(t===0&&a===o){n.push(e.slice(i,s)),i=s+1;continue}switch(a){case 92:s+=1;break;case 39:case 34:for(;++s<l;){let u=e.charCodeAt(s);if(u===92){s+=1;continue}if(u===a)break}break;case 40:oe[t]=41,t++;break;case 91:oe[t]=93,t++;break;case 123:oe[t]=125,t++;break;case 93:case 125:case 41:t>0&&a===oe[t-1]&&t--;break}}return n.push(e.slice(i)),n}var he=(o=>(o[o.Continue=0]="Continue",o[o.Skip=1]="Skip",o[o.Stop=2]="Stop",o[o.Replace=3]="Replace",o[o.ReplaceSkip=4]="ReplaceSkip",o[o.ReplaceStop=5]="ReplaceStop",o))(he||{}),v={Continue:{kind:0},Skip:{kind:1},Stop:{kind:2},Replace:e=>({kind:3,nodes:Array.isArray(e)?e:[e]}),ReplaceSkip:e=>({kind:4,nodes:Array.isArray(e)?e:[e]}),ReplaceStop:e=>({kind:5,nodes:Array.isArray(e)?e:[e]})};function g(e,r){typeof r=="function"?qe(e,r):qe(e,r.enter,r.exit)}function qe(e,r=()=>v.Continue,t=()=>v.Continue){let n={value:[e,0,null],prev:null},i={parent:null,depth:0,index:0,siblings:e,path(){let l=[],o=n;for(;o;){let s=o.value[2];s&&l.push(s),o=o.prev}return l.reverse(),l}};for(;n!==null;){let l=n.value,o=l[0],s=l[1],a=l[2];if(s>=o.length){n=n.prev,i.depth-=1;continue}if(i.parent=a,i.siblings=o,s>=0){i.index=s;let f=o[s],d=r(f,i)??v.Continue;switch(d.kind){case 0:{f.nodes&&f.nodes.length>0&&(i.depth+=1,n={value:[f.nodes,0,f],prev:n}),l[1]=~s;continue}case 2:return;case 1:{l[1]=~s;continue}case 3:{o.splice(s,1,...d.nodes);continue}case 5:{o.splice(s,1,...d.nodes);return}case 4:{o.splice(s,1,...d.nodes),l[1]+=d.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${he[d.kind]??`Unknown(${d.kind})`}\` in enter.`)}}let u=~s;i.index=u;let p=o[u],c=t(p,i)??v.Continue;switch(c.kind){case 0:l[1]=u+1;continue;case 2:return;case 3:{o.splice(u,1,...c.nodes),l[1]=u+c.nodes.length;continue}case 5:{o.splice(u,1,...c.nodes);return}case 4:{o.splice(u,1,...c.nodes),l[1]=u+c.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${he[c.kind]??`Unknown(${c.kind})`}\` in exit.`)}}}var Rn=new h(e=>{let r=b(e),t=new Set,n=new Set(["~",">","+","-","*","/"]);return g(r,(i,l)=>{if(i.kind==="word"&&n.has(i.value)){let o=l.index;if(o===-1)return;let s=l.siblings[o-1];if(s?.kind!=="separator"||s.value!==" ")return;let a=l.siblings[o+1];if(a?.kind!=="separator"||a.value!==" ")return;let u=l.siblings[o-2];if(u&&n.has(u.value))return;let p=l.siblings[o+2];if(p&&n.has(p.value))return;t.add(s),t.add(a)}else if(i.kind==="separator"&&i.value.length>0&&i.value.trim()==="")(l.siblings[0]===i||l.siblings[l.siblings.length-1]===i)&&t.add(i);else if(i.kind==="separator"&&i.value.trim()===",")i.value=",";else if(i.kind==="function"&&i.value.startsWith("--")){let o=l.index;if(o<=0)return;let s=l.siblings[o-1];if(s?.kind==="separator"&&s.value===",")return;let a=l.siblings[o-2];return a&&!n.has(a.value)?void 0:v.ReplaceSkip({kind:"function",value:"",nodes:[i]})}}),t.size>0&&g(r,i=>{if(t.has(i))return t.delete(i),v.ReplaceSkip([])}),ve(r),A(r)});var Pn=new h(e=>{let r=b(e);return r.length===3&&r[0].kind==="word"&&r[0].value==="&"&&r[1].kind==="separator"&&r[1].value===":"&&r[2].kind==="function"&&r[2].value==="is"?A(r[2].nodes):e});function ve(e){for(let r of e)switch(r.kind){case"function":{if(r.value==="url"||r.value.endsWith("_url")){r.value=H(r.value);break}if(r.value==="var"||r.value.endsWith("_var")||r.value==="theme"||r.value.endsWith("_theme")){r.value=H(r.value);for(let t=0;t<r.nodes.length;t++)ve([r.nodes[t]]);break}r.value=H(r.value),ve(r.nodes);break}case"separator":r.value=H(r.value);break;case"word":{(r.value[0]!=="-"||r.value[1]!=="-")&&(r.value=H(r.value));break}default:qt(r)}}var On=new h(e=>{let r=b(e);return r.length===1&&r[0].kind==="function"&&r[0].value==="var"});function qt(e){throw new Error(`Unexpected value: ${e}`)}function H(e){return e.replaceAll("_",String.raw`\_`).replaceAll(" ","_")}var Zt=/^(?<value>[-+]?(?:\d*\.)?\d+)(?<unit>[a-z]+|%)?$/i,j=new h(e=>{let r=Zt.exec(e);if(!r)return null;let t=r.groups?.value;if(t===void 0)return null;let n=Number(t);if(Number.isNaN(n))return null;let i=r.groups?.unit;return i===void 0?[n,null]:[n,i]});var O=/[+-]?\d*\.?\d+(?:[eE][+-]?\d+)?/,Bn=new RegExp(`^${O.source}$`);var Yn=new RegExp(`^${O.source}%$`);var Hn=new RegExp(`^${O.source}\\s*/\\s*${O.source}$`);var Qt=["cm","mm","Q","in","pc","pt","px","em","ex","ch","cap","ic","rem","rex","rch","rcap","ric","lh","rlh","vw","vh","vmin","vmax","vb","vi","svw","svh","svi","svb","svmin","svmax","lvw","lvh","lvi","lvb","lvmin","lvmax","dvw","dvh","dvi","dvb","dvmin","dvmax","cqw","cqh","cqi","cqb","cqmin","cqmax"],Gn=new RegExp(`^${O.source}(${Qt.join("|")})$`);var Jt=["deg","rad","grad","turn"],qn=new RegExp(`^${O.source}(${Jt.join("|")})$`);var Zn=new RegExp(`^${O.source} +${O.source} +${O.source}$`);function S(e){let r=Number(e);return Number.isInteger(r)&&r>=0&&String(r)===String(e)}function G(e,r){if(r===null)return e;let t=Number(r);return Number.isNaN(t)||(r=`${t*100}%`),r==="100%"?e:`color-mix(in oklab, ${e} ${r}, transparent)`}var tr={"--alpha":rr,"--spacing":nr,"--theme":ir,theme:or};function rr(e,r,t,...n){let[i,l]=w(t,"/").map(o=>o.trim());if(!i||!l)throw new Error(`The --alpha(\u2026) function requires a color and an alpha value, e.g.: \`--alpha(${i||"var(--my-color)"} / ${l||"50%"})\``);if(n.length>0)throw new Error(`The --alpha(\u2026) function only accepts one argument, e.g.: \`--alpha(${i||"var(--my-color)"} / ${l||"50%"})\``);return G(i,l)}function nr(e,r,t,...n){if(!t)throw new Error("The --spacing(\u2026) function requires an argument, but received none.");if(n.length>0)throw new Error(`The --spacing(\u2026) function only accepts a single argument, but received ${n.length+1}.`);let i=e.theme.resolve(null,["--spacing"]);if(!i)throw new Error("The --spacing(\u2026) function requires that the `--spacing` theme variable exists, but it was not found.");let l=j.get(t);if(l){if(l[0]===0)return"0px";if(l[0]===1)return i}return`calc(${i} * ${t})`}function ir(e,r,t,...n){if(!t.startsWith("--"))throw new Error("The --theme(\u2026) function can only be used with CSS variables from your theme.");let i=!1;t.endsWith(" inline")&&(i=!0,t=t.slice(0,-7)),r.kind==="at-rule"&&(i=!0);let l=e.resolveThemeValue(t,i);if(!l){if(n.length>0)return n.join(", ");throw new Error(`Could not resolve value for theme function: \`theme(${t})\`. Consider checking if the variable name is correct or provide a fallback value to silence this error.`)}if(n.length===0)return l;let o=n.join(", ");if(o==="initial")return l;if(l==="initial")return o;if(l.startsWith("var(")||l.startsWith("theme(")||l.startsWith("--theme(")){let s=b(l);return ar(s,o),A(s)}return l}function or(e,r,t,...n){t=lr(t);let i=e.resolveThemeValue(t);if(!i&&n.length>0)return n.join(", ");if(!i)throw new Error(`Could not resolve value for theme function: \`theme(${t})\`. Consider checking if the path is correct or provide a fallback value to silence this error.`);return i}var xi=new RegExp(Object.keys(tr).map(e=>`${e}\\(`).join("|"));function lr(e){if(e[0]!=="'"&&e[0]!=='"')return e;let r="",t=e[0];for(let n=1;n<e.length-1;n++){let i=e[n],l=e[n+1];i==="\\"&&(l===t||l==="\\")?(r+=l,n++):r+=i}return r}function ar(e,r){g(e,t=>{if(t.kind==="function"&&!(t.value!=="var"&&t.value!=="theme"&&t.value!=="--theme"))if(t.nodes.length===1)t.nodes.push({kind:"word",value:`, ${r}`});else{let n=t.nodes[t.nodes.length-1];n.kind==="word"&&n.value==="initial"&&(n.value=r)}})}function z(e,r="top",t="right",n="bottom",i="left"){return et(`${e}-${r}`,`${e}-${t}`,`${e}-${n}`,`${e}-${i}`)}function et(e="top",r="right",t="bottom",n="left"){return{1:[[e,0],[r,0],[t,0],[n,0]],2:[[e,0],[r,1],[t,0],[n,1]],3:[[e,0],[r,1],[t,2],[n,1]],4:[[e,0],[r,1],[t,2],[n,3]]}}function $(e,r){return{1:[[e,0],[r,0]],2:[[e,0],[r,1]]}}var zi={inset:et(),margin:z("margin"),padding:z("padding"),"scroll-margin":z("scroll-margin"),"scroll-padding":z("scroll-padding"),"border-width":z("border","top-width","right-width","bottom-width","left-width"),"border-style":z("border","top-style","right-style","bottom-style","left-style"),"border-color":z("border","top-color","right-color","bottom-color","left-color"),gap:$("row-gap","column-gap"),overflow:$("overflow-x","overflow-y"),"overscroll-behavior":$("overscroll-behavior-x","overscroll-behavior-y")},Ki={"inset-block":$("top","bottom"),"inset-inline":$("left","right"),"margin-block":$("margin-top","margin-bottom"),"margin-inline":$("margin-left","margin-right"),"padding-block":$("padding-top","padding-bottom"),"padding-inline":$("padding-left","padding-right"),"scroll-margin-block":$("scroll-margin-top","scroll-margin-bottom"),"scroll-margin-inline":$("scroll-margin-left","scroll-margin-right"),"scroll-padding-block":$("scroll-padding-top","scroll-padding-bottom"),"scroll-padding-inline":$("scroll-padding-left","scroll-padding-right")};var fr=1536,ko=fr/16;var Ro=new h(e=>{let r=[];return g(b(e),t=>{if(!(t.kind!=="function"||t.value!=="var"))return g(t.nodes,n=>{n.kind!=="word"||n.value[0]!=="-"||n.value[1]!=="-"||r.push(n.value)}),v.Skip}),r});function xe(e){let r=[0];for(let i=0;i<e.length;i++)e.charCodeAt(i)===10&&r.push(i+1);function t(i){let l=0,o=r.length;for(;o>0;){let a=(o|0)>>1,u=l+a;r[u]<=i?(l=u+1,o=o-a-1):o=a}l-=1;let s=i-r[l];return{line:l+1,column:s}}function n({line:i,column:l}){i-=1,i=Math.min(Math.max(i,0),r.length-1);let o=r[i],s=r[i+1]??o;return Math.min(Math.max(o+l,0),s)}return{find:t,findOffset:n}}var $e=92,ae=47,se=42,lt=34,at=39,br=58,ue=59,N=10,ce=13,J=32,X=9,st=123,Ae=125,Ee=40,ut=41,yr=91,xr=93,ct=45,Ce=64,Ar=33,V=class e extends Error{loc;constructor(r,t){if(t){let n=t[0],i=xe(n.code).find(t[1]);r=`${n.file}:${i.line}:${i.column+1}: ${r}`}super(r),this.name="CssSyntaxError",this.loc=t,Error.captureStackTrace&&Error.captureStackTrace(this,e)}};function te(e,r){let t=r?.from?{file:r.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let n=[],i=[],l=[],o=null,s=null,a="",u="",p=0,c;for(let f=0;f<e.length;f++){let d=e.charCodeAt(f);if(!(d===ce&&(c=e.charCodeAt(f+1),c===N)))if(d===$e)a===""&&(p=f),a+=e.slice(f,f+2),f+=1;else if(d===ae&&e.charCodeAt(f+1)===se){let m=f;for(let k=f+2;k<e.length;k++)if(c=e.charCodeAt(k),c===se&&e.charCodeAt(k+1)===ae){f=k+1;break}let C=e.slice(m,f+1);if(C.charCodeAt(2)===Ar){let k=Ne(C.slice(2,-2));i.push(k),t&&(k.src=[t,m,f+1],k.dst=[t,m,f+1])}}else if(d===at||d===lt){let m=ft(e,f,d,t);a+=e.slice(f,m+1),f=m}else{if((d===J||d===N||d===X)&&(c=e.charCodeAt(f+1))&&(c===J||c===N||c===X||c===ce&&(c=e.charCodeAt(f+2))&&c==N))continue;if(d===N){if(a.length===0)continue;c=a.charCodeAt(a.length-1),c!==J&&c!==N&&c!==X&&(a+=" ")}else if(d===ct&&e.charCodeAt(f+1)===ct&&a.length===0){let m="",C=f,k=-1;for(let y=f+2;y<e.length;y++)if(c=e.charCodeAt(y),c===$e)y+=1;else if(c===at||c===lt)y=ft(e,y,c,t);else if(c===ae&&e.charCodeAt(y+1)===se){for(let B=y+2;B<e.length;B++)if(c=e.charCodeAt(B),c===se&&e.charCodeAt(B+1)===ae){y=B+1;break}}else if(k===-1&&c===br)k=a.length+y-C;else if(c===ue&&m.length===0){a+=e.slice(C,y),f=y;break}else if(c===Ee)m+=")";else if(c===yr)m+="]";else if(c===st)m+="}";else if((c===Ae||e.length-1===y)&&m.length===0){f=y-1,a+=e.slice(C,y);break}else(c===ut||c===xr||c===Ae)&&m.length>0&&e[y]===m[m.length-1]&&(m=m.slice(0,-1));let I=Se(a,k);if(!I)throw new V("Invalid custom property, expected a value",t?[t,C,f]:null);t&&(I.src=[t,C,f],I.dst=[t,C,f]),o?o.nodes.push(I):n.push(I),a=""}else if(d===ue&&a.charCodeAt(0)===Ce)s=ee(a),t&&(s.src=[t,p,f],s.dst=[t,p,f]),o?o.nodes.push(s):n.push(s),a="",s=null;else if(d===ue&&u[u.length-1]!==")"){let m=Se(a);if(!m){if(a.length===0)continue;throw new V(`Invalid declaration: \`${a.trim()}\``,t?[t,p,f]:null)}t&&(m.src=[t,p,f],m.dst=[t,p,f]),o?o.nodes.push(m):n.push(m),a=""}else if(d===st&&u[u.length-1]!==")")u+="}",s=_(a.trim()),t&&(s.src=[t,p,f],s.dst=[t,p,f]),o&&o.nodes.push(s),l.push(o),o=s,a="",s=null;else if(d===Ae&&u[u.length-1]!==")"){if(u==="")throw new V("Missing opening {",t?[t,f,f]:null);if(u=u.slice(0,-1),a.length>0)if(a.charCodeAt(0)===Ce)s=ee(a),t&&(s.src=[t,p,f],s.dst=[t,p,f]),o?o.nodes.push(s):n.push(s),a="",s=null;else{let C=a.indexOf(":");if(o){let k=Se(a,C);if(!k)throw new V(`Invalid declaration: \`${a.trim()}\``,t?[t,p,f]:null);t&&(k.src=[t,p,f],k.dst=[t,p,f]),o.nodes.push(k)}}let m=l.pop()??null;m===null&&o&&n.push(o),o=m,a="",s=null}else if(d===Ee)u+=")",a+="(";else if(d===ut){if(u[u.length-1]!==")")throw new V("Missing opening (",t?[t,f,f]:null);u=u.slice(0,-1),a+=")"}else{if(a.length===0&&(d===J||d===N||d===X))continue;a===""&&(p=f),a+=String.fromCharCode(d)}}}if(a.charCodeAt(0)===Ce){let f=ee(a);t&&(f.src=[t,p,e.length],f.dst=[t,p,e.length]),n.push(f)}if(u.length>0&&o){if(o.kind==="rule")throw new V(`Missing closing } at ${o.selector}`,o.src?[o.src[0],o.src[1],o.src[1]]:null);if(o.kind==="at-rule")throw new V(`Missing closing } at ${o.name} ${o.params}`,o.src?[o.src[0],o.src[1],o.src[1]]:null)}return i.length>0?i.concat(n):n}function ee(e,r=[]){let t=e,n="";for(let i=5;i<e.length;i++){let l=e.charCodeAt(i);if(l===J||l===X||l===Ee){t=e.slice(0,i),n=e.slice(i);break}}return T(t.trim(),n.trim(),r)}function Se(e,r=e.indexOf(":")){if(r===-1)return null;let t=e.indexOf("!important",r+1);return P(e.slice(0,r).trim(),e.slice(r+1,t===-1?e.length:t).trim(),t!==-1)}function ft(e,r,t,n=null){let i;for(let l=r+1;l<e.length;l++)if(i=e.charCodeAt(l),i===$e)l+=1;else{if(i===t)return l;if(i===ue&&(e.charCodeAt(l+1)===N||e.charCodeAt(l+1)===ce&&e.charCodeAt(l+2)===N))throw new V(`Unterminated string: ${e.slice(r,l+1)+String.fromCharCode(t)}`,n?[n,r,l+1]:null);if(i===N||i===ce&&e.charCodeAt(l+1)===N)throw new V(`Unterminated string: ${e.slice(r,l)+String.fromCharCode(t)}`,n?[n,r,l+1]:null)}return r}var Ve={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 none)",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 none)",100:"oklch(97% 0 none)",200:"oklch(92.2% 0 none)",300:"oklch(87% 0 none)",400:"oklch(70.8% 0 none)",500:"oklch(55.6% 0 none)",600:"oklch(43.9% 0 none)",700:"oklch(37.1% 0 none)",800:"oklch(26.9% 0 none)",900:"oklch(20.5% 0 none)",950:"oklch(14.5% 0 none)"},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)"},mauve:{50:"oklch(98.5% 0 none)",100:"oklch(96% 0.003 325.6)",200:"oklch(92.2% 0.005 325.62)",300:"oklch(86.5% 0.012 325.68)",400:"oklch(71.1% 0.019 323.02)",500:"oklch(54.2% 0.034 322.5)",600:"oklch(43.5% 0.029 321.78)",700:"oklch(36.4% 0.029 323.89)",800:"oklch(26.3% 0.024 320.12)",900:"oklch(21.2% 0.019 322.12)",950:"oklch(14.5% 0.008 326)"},olive:{50:"oklch(98.8% 0.003 106.5)",100:"oklch(96.6% 0.005 106.5)",200:"oklch(93% 0.007 106.5)",300:"oklch(88% 0.011 106.6)",400:"oklch(73.7% 0.021 106.9)",500:"oklch(58% 0.031 107.3)",600:"oklch(46.6% 0.025 107.3)",700:"oklch(39.4% 0.023 107.4)",800:"oklch(28.6% 0.016 107.4)",900:"oklch(22.8% 0.013 107.4)",950:"oklch(15.3% 0.006 107.1)"},mist:{50:"oklch(98.7% 0.002 197.1)",100:"oklch(96.3% 0.002 197.1)",200:"oklch(92.5% 0.005 214.3)",300:"oklch(87.2% 0.007 219.6)",400:"oklch(72.3% 0.014 214.4)",500:"oklch(56% 0.021 213.5)",600:"oklch(45% 0.017 213.2)",700:"oklch(37.8% 0.015 216)",800:"oklch(27.5% 0.011 216.9)",900:"oklch(21.8% 0.008 223.9)",950:"oklch(14.8% 0.004 228.8)"},taupe:{50:"oklch(98.6% 0.002 67.8)",100:"oklch(96% 0.002 17.2)",200:"oklch(92.2% 0.005 34.3)",300:"oklch(86.8% 0.007 39.5)",400:"oklch(71.4% 0.014 41.2)",500:"oklch(54.7% 0.021 43.1)",600:"oklch(43.8% 0.017 39.3)",700:"oklch(36.7% 0.016 35.7)",800:"oklch(26.8% 0.011 36.5)",900:"oklch(21.4% 0.009 43.1)",950:"oklch(14.7% 0.004 49.3)"},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 M(e){return{__BARE_VALUE__:e}}var R=M(e=>{if(S(e.value))return e.value}),x=M(e=>{if(S(e.value))return`${e.value}%`}),D=M(e=>{if(S(e.value))return`${e.value}px`}),pt=M(e=>{if(S(e.value))return`${e.value}ms`}),fe=M(e=>{if(S(e.value))return`${e.value}deg`}),Tr=M(e=>{if(e.fraction===null)return;let[r,t]=w(e.fraction,"/");if(!(!S(r)||!S(t)))return e.fraction}),dt=M(e=>{if(S(Number(e.value)))return`repeat(${e.value}, minmax(0, 1fr))`}),Nr={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",...Tr},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>({...e("brightness"),...x}),backdropContrast:({theme:e})=>({...e("contrast"),...x}),backdropGrayscale:({theme:e})=>({...e("grayscale"),...x}),backdropHueRotate:({theme:e})=>({...e("hueRotate"),...fe}),backdropInvert:({theme:e})=>({...e("invert"),...x}),backdropOpacity:({theme:e})=>({...e("opacity"),...x}),backdropSaturate:({theme:e})=>({...e("saturate"),...x}),backdropSepia:({theme:e})=>({...e("sepia"),...x}),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",...D},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",...x},caretColor:({theme:e})=>e("colors"),colors:()=>({...Ve}),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",...R},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2",...x},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"),...D}),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",...R},flexShrink:{0:"0",DEFAULT:"1",...R},fontFamily:{sans:["-apple-system","BlinkMacSystemFont",'"Segoe UI"',"Roboto",'"Helvetica Neue"','"Noto Sans"',"Arial","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%",...x},grayscale:{0:"0",DEFAULT:"100%",...x},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",...R},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",...R},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",...R},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",...R},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))",...dt},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))",...dt},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",...fe},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%",...x},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",...R},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",...x},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",...R},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...D},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...D},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",...D},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...D},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg",...fe},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2",...x},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",...x},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%",...x},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",...fe},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",...R},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",...D},textIndent:({theme:e})=>e("spacing"),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px",...D},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...pt},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms",...pt},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, outline-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%",...e("spacing")}),size:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),width:({theme:e})=>({auto:"auto","1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content",...e("spacing")}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50",...R}};var Rr=64;function L(e,r=[]){return{kind:"rule",selector:e,nodes:r}}function T(e,r="",t=[]){return{kind:"at-rule",name:e,params:r,nodes:t}}function _(e,r=[]){return e.charCodeAt(0)===Rr?ee(e,r):L(e,r)}function P(e,r,t=!1){return{kind:"declaration",property:e,value:r,important:t}}function Ne(e){return{kind:"comment",value:e}}function K(e,r){let t=0,n={file:null,code:""};function i(o,s=0){let a="",u=" ".repeat(s);if(o.kind==="declaration"){if(a+=`${u}${o.property}: ${o.value}${o.important?" !important":""};
|
|
4
|
+
`,r){t+=u.length;let p=t;t+=o.property.length,t+=2,t+=o.value?.length??0,o.important&&(t+=11);let c=t;t+=2,o.dst=[n,p,c]}}else if(o.kind==="rule"){if(a+=`${u}${o.selector} {
|
|
5
|
+
`,r){t+=u.length;let p=t;t+=o.selector.length,t+=1;let c=t;o.dst=[n,p,c],t+=2}for(let p of o.nodes)a+=i(p,s+1);a+=`${u}}
|
|
6
|
+
`,r&&(t+=u.length,t+=2)}else if(o.kind==="at-rule"){if(o.nodes.length===0){let p=`${u}${o.name} ${o.params};
|
|
7
|
+
`;if(r){t+=u.length;let c=t;t+=o.name.length,t+=1,t+=o.params.length;let f=t;t+=2,o.dst=[n,c,f]}return p}if(a+=`${u}${o.name}${o.params?` ${o.params} `:" "}{
|
|
8
|
+
`,r){t+=u.length;let p=t;t+=o.name.length,o.params&&(t+=1,t+=o.params.length),t+=1;let c=t;o.dst=[n,p,c],t+=2}for(let p of o.nodes)a+=i(p,s+1);a+=`${u}}
|
|
9
|
+
`,r&&(t+=u.length,t+=2)}else if(o.kind==="comment"){if(a+=`${u}/*${o.value}*/
|
|
10
|
+
`,r){t+=u.length;let p=t;t+=2+o.value.length+2;let c=t;o.dst=[n,p,c],t+=1}}else if(o.kind==="context"||o.kind==="at-root")return"";return a}let l="";for(let o of e)l+=i(o,0);return n.code=l,l}function Pr(e,r){if(typeof e!="string")throw new TypeError("expected path to be a string");if(e==="\\"||e==="/")return"/";var t=e.length;if(t<=1)return e;var n="";if(t>4&&e[3]==="\\"){var i=e[2];(i==="?"||i===".")&&e.slice(0,2)==="\\\\"&&(e=e.slice(2),n="//")}var l=e.split(/[/\\]+/);return r!==!1&&l[l.length-1]===""&&l.pop(),n+l.join("/")}function Re(e){let r=Pr(e);return e.startsWith("\\\\")&&r.startsWith("/")&&!r.startsWith("//")?`/${r}`:r}var Oe=/(?<!@import\s+)(?<=^|[^\w\-\u0080-\uffff])url\((\s*('[^']+'|"[^"]+")\s*|[^'")]+)\)/,mt=/(?<=image-set\()((?:[\w-]{1,256}\([^)]*\)|[^)])*)(?=\))/,Or=/(?:gradient|element|cross-fade|image)\(/,_r=/^\s*data:/i,Dr=/^([a-z]+:)?\/\//,Ir=/^[A-Z_][.\w-]*\(/i,Ur=/(?:^|\s)(?<url>[\w-]+\([^)]*\)|"[^"]*"|'[^']*'|[^,]\S*[^,])\s*(?:\s(?<descriptor>\w[^,]+))?(?:,|$)/g,Lr=/(?<!\\)"/g,zr=/(?: |\\t|\\n|\\f|\\r)+/g,Kr=e=>_r.test(e),Mr=e=>Dr.test(e);async function gt({css:e,base:r,root:t}){if(!e.includes("url(")&&!e.includes("image-set("))return e;let n=te(e);return await ht({ast:n,base:()=>r,root:t}),K(n)}async function ht({ast:e,base:r,root:t}){let n=[];g(e,i=>{if(i.kind!=="declaration"||!i.value)return;let l=Oe.test(i.value),o=mt.test(i.value);if(l||o){let s=r(i);if(s===null)return;let a=o?jr:vt;n.push(a(i.value,u=>Fr(u,s,t)).then(u=>{i.value=u}))}}),n.length&&await Promise.all(n)}function Fr(e,r,t){if(e[0]==="/")return e;let n=Pe.posix.join(Re(r),e),i=Pe.posix.relative(Re(t),n);return i.startsWith(".")||(i="./"+i),i}function vt(e,r){return wt(e,Oe,async t=>{let[n,i]=t;return await kt(i.trim(),n,r)})}async function jr(e,r){return await wt(e,mt,async t=>{let[,n]=t;return await Br(n,async({url:l})=>Oe.test(l)?await vt(l,r):Or.test(l)?l:await kt(l,l,r))})}async function kt(e,r,t,n="url"){let i="",l=e[0];if((l==='"'||l==="'")&&(i=l,e=e.slice(1,-1)),Wr(e))return r;let o=await t(e);return i===""&&o!==encodeURI(o)&&(i='"'),i==="'"&&o.includes("'")&&(i='"'),i==='"'&&o.includes('"')&&(o=o.replace(Lr,'\\"')),`${n}(${i}${o}${i})`}function Wr(e,r){return Mr(e)||Kr(e)||!e[0]||!e[0].match(/[.a-zA-Z0-9_]/)||Ir.test(e)}function Br(e,r){return Promise.all(Yr(e).map(async({url:t,descriptor:n})=>({url:await r({url:t,descriptor:n}),descriptor:n}))).then(Hr)}function Yr(e){let r=e.trim().replace(zr," ").replace(/\r?\n/,"").replace(/,\s+/,", ").replaceAll(/\s+/g," ").matchAll(Ur);return Array.from(r,({groups:t})=>({url:t?.url?.trim()??"",descriptor:t?.descriptor?.trim()??""})).filter(({url:t})=>!!t)}function Hr(e){return e.map(({url:r,descriptor:t})=>r+(t?` ${t}`:"")).join(", ")}async function wt(e,r,t){let n,i=e,l="";for(;n=r.exec(i);)l+=i.slice(0,n.index),l+=await t(n),i=i.slice(n.index+n[0].length);return l+=i,l}function St({base:e,from:r,polyfills:t,onDependency:n,shouldRewriteUrls:i,customCssResolver:l,customJsResolver:o}){return{base:e,polyfills:t,from:r,async loadModule(s,a){return Et(s,a,n,o)},async loadStylesheet(s,a){let u=await Tt(s,a,n,l);return i&&(u.content=await gt({css:u.content,root:e,base:u.base})),u}}}async function $t(e){if(e.root&&e.root!=="none"){let r=/[*{]/,t=[];for(let i of e.root.pattern.split("/")){if(r.test(i))break;t.push(i)}if(!await Ct.stat(re.resolve(e.root.base,t.join("/"))).then(i=>i.isDirectory()).catch(()=>!1))throw new Error(`The \`source(${e.root.pattern})\` does not exist or is not a directory.`)}}async function du(e,r){let t=await Qr(e,St(r));return await $t(t),t}async function mu(e,r){let t=await Zr(e,St(r));return await $t(t),t}async function gu(e,{base:r}){return qr(e,{base:r,async loadModule(t,n){return Et(t,n,()=>{})},async loadStylesheet(t,n){return Tt(t,n,()=>{})}})}async function Et(e,r,t,n){if(e[0]!=="."){let s=await At(e,r,n);if(!s)throw new Error(`Could not resolve '${e}' from '${r}'`);let a=await xt(bt(s).href);return{path:s,base:re.dirname(s),module:a.default??a}}let i=await At(e,r,n);if(!i)throw new Error(`Could not resolve '${e}' from '${r}'`);let[l,o]=await Promise.all([xt(bt(i).href+"?id="+Date.now()),ze(i)]);for(let s of o)t(s);return{path:i,base:re.dirname(i),module:l.default??l}}async function Tt(e,r,t,n){let i=await Xr(e,r,n);if(!i)throw new Error(`Could not resolve '${e}' from '${r}'`);t(i);let l=await Ct.readFile(i,"utf-8");return{path:i,base:re.dirname(i),content:l}}var yt=null;async function xt(e){if(typeof globalThis.__tw_load=="function"){let r=await globalThis.__tw_load(e);if(r)return r}try{return await import(e)}catch{return yt??=Gr(import.meta.url,{moduleCache:!1,fsCache:!1}),await yt.import(e)}}var Ie=["node_modules",...process.env.NODE_PATH?[...process.env.NODE_PATH.split(re.delimiter)]:[]],Jr=W.ResolverFactory.createResolver({fileSystem:new W.CachedInputFileSystem(De,4e3),useSyncFileSystemCalls:!0,extensions:[".css"],mainFields:["style"],conditionNames:["style"],modules:Ie});async function Xr(e,r,t){if(typeof globalThis.__tw_resolve=="function"){let n=globalThis.__tw_resolve(e,r);if(n)return Promise.resolve(n)}if(t){let n=await t(e,r);if(n)return n}return _e(Jr,e,r)}var en=W.ResolverFactory.createResolver({fileSystem:new W.CachedInputFileSystem(De,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","import"],modules:Ie}),tn=W.ResolverFactory.createResolver({fileSystem:new W.CachedInputFileSystem(De,4e3),useSyncFileSystemCalls:!0,extensions:[".js",".json",".node",".ts"],conditionNames:["node","require"],modules:Ie});async function At(e,r,t){if(typeof globalThis.__tw_resolve=="function"){let n=globalThis.__tw_resolve(e,r);if(n)return Promise.resolve(n)}if(t){let n=await t(e,r);if(n)return n}return _e(en,e,r).catch(()=>_e(tn,e,r))}function _e(e,r,t){return new Promise((n,i)=>e.resolve({},t,r,{},(l,o)=>{if(l)return i(l);n(o)}))}Symbol.dispose??=Symbol("Symbol.dispose");Symbol.asyncDispose??=Symbol("Symbol.asyncDispose");var Nt=class{constructor(r=de,t=n=>{process.stderr.write(`${n}
|
|
11
|
+
`)}){this.shouldReport=r;this.defaultFlush=t}shouldReport;defaultFlush;#r=new h(()=>({value:0}));#t=new h(()=>({value:0n}));#e=[];hit(r){this.#r.get(r).value++}start(r){let t=this.#e.map(i=>i.label).join("//"),n=`${t}${t.length===0?"":"//"}${r}`;this.#r.get(n).value++,this.#t.get(n),this.#e.push({id:n,label:r,namespace:t,value:process.hrtime.bigint()})}end(r){let t=process.hrtime.bigint();if(this.#e[this.#e.length-1].label!==r)throw new Error(`Mismatched timer label: \`${r}\`, expected \`${this.#e[this.#e.length-1].label}\``);let n=this.#e.pop(),i=t-n.value;this.#t.get(n.id).value+=i}track(r){this.start(r);let t=!1;return{[Symbol.dispose]:()=>{t||(this.end(r),t=!0)},[Symbol.asyncDispose]:()=>{t||(this.end(r),t=!0)}}}span(r,t){this.start(r);let n=!1;try{let i=t();return n=i&&typeof i.then=="function",n?i.finally(()=>this.end(r)):i}finally{n||this.end(r)}}reset(){this.#r.clear(),this.#t.clear(),this.#e.splice(0)}report(r=this.defaultFlush){let t=[],n=!1;for(let o=this.#e.length-1;o>=0;o--)this.end(this.#e[o].label);for(let[o,{value:s}]of this.#r.entries()){if(this.#t.has(o))continue;t.length===0&&(n=!0,t.push("Hits:"));let a=o.split("//").length;t.push(`${" ".repeat(a)}${o} ${pe(Vt(`\xD7 ${s}`))}`)}this.#t.size>0&&n&&t.push(`
|
|
12
|
+
Timers:`);let i=-1/0,l=new Map;for(let[o,{value:s}]of this.#t){let a=`${(Number(s)/1e6).toFixed(2)}ms`;l.set(o,a),i=Math.max(i,a.length)}for(let o of this.#t.keys()){let s=o.split("//").length;t.push(`${pe(`[${l.get(o).padStart(i," ")}]`)}${" ".repeat(s-1)}${s===1?" ":pe(" \u21B3 ")}${o.split("//").pop()} ${this.#r.get(o).value===1?"":pe(Vt(`\xD7 ${this.#r.get(o).value}`))}`.trimEnd())}r(`
|
|
13
|
+
${t.join(`
|
|
14
14
|
`)}
|
|
15
|
-
`),this.reset()}[Symbol.dispose](){
|
|
15
|
+
`),this.reset()}[Symbol.dispose](){this.shouldReport&&this.report()}};function pe(e){return`\x1B[2m${e}\x1B[22m`}function Vt(e){return`\x1B[34m${e}\x1B[39m`}import rn from"@jridgewell/remapping";import{Features as ne,transform as nn}from"lightningcss";import on from"magic-string";function xu(e,{file:r="input.css",minify:t=!1,map:n}={}){function i(a,u){return nn({filename:r,code:a,minify:t,sourceMap:typeof u<"u",inputSourceMap:u,drafts:{customMedia:!0},nonStandard:{deepSelectorCombinator:!0},include:ne.Nesting|ne.MediaQueries,exclude:ne.LogicalProperties|ne.DirSelector|ne.LightDark,targets:{safari:16<<16|1024,ios_saf:16<<16|1024,firefox:8388608,chrome:7274496},errorRecovery:!0})}let l=i(Buffer.from(e),n);if(n=l.map?.toString(),l.warnings=l.warnings.filter(a=>!/'(deep|slotted|global|ng-deep|host-context)' is not recognized as a valid pseudo-/.test(a.message)),l.warnings.length>0){let a=e.split(`
|
|
16
|
+
`),u=[`Found ${l.warnings.length} ${l.warnings.length===1?"warning":"warnings"} while optimizing generated CSS:`];for(let[p,c]of l.warnings.entries()){u.push(""),l.warnings.length>1&&u.push(`Issue #${p+1}:`);let f=2,d=Math.max(0,c.loc.line-f-1),m=Math.min(a.length,c.loc.line+f),C=a.slice(d,m).map((k,I)=>d+I+1===c.loc.line?`${ie("\u2502")} ${k}`:ie(`\u2502 ${k}`));C.splice(c.loc.line-d,0,`${ie("\u2506")}${" ".repeat(c.loc.column-1)} ${ln(`${ie("^--")} ${c.message}`)}`,`${ie("\u2506")}`),u.push(...C)}u.push(""),console.warn(u.join(`
|
|
17
|
+
`))}l=i(l.code,n),n=l.map?.toString();let o=l.code.toString(),s=new on(o);if(s.replaceAll("@media not (","@media not all and ("),n!==void 0&&s.hasChanged()){let a=s.generateMap({source:"original",hires:"boundary"}).toString();n=rn([a,n],()=>null).toString()}return o=s.toString(),{code:o,map:n}}function ie(e){return`\x1B[2m${e}\x1B[22m`}function ln(e){return`\x1B[33m${e}\x1B[39m`}import{SourceMapGenerator as an}from"source-map-js";function sn(e){let r=new an,t=1,n=new h(i=>({url:i?.url??`<unknown ${t++}>`,content:i?.content??"<none>"}));for(let i of e.mappings){let l=n.get(i.originalPosition?.source??null);r.addMapping({generated:i.generatedPosition,original:i.originalPosition,source:l.url,name:i.name}),r.setSourceContent(l.url,l.content)}return r.toString()}function $u(e){let r=typeof e=="string"?e:sn(e);function t(n){return`/*# sourceMappingURL=${n} */
|
|
18
|
+
`}return{raw:r,get inline(){let n=Buffer.from(r,"utf-8").toString("base64");return t(`data:application/json;base64,${n}`)},comment:t}}if(!process.versions.bun)if(F.registerHooks)F.registerHooks({resolve:Ue});else{let e=F.createRequire(import.meta.url);F.register?.(un(e.resolve("@tailwindcss/node/esm-cache-loader")))}export{uu as Features,Nt as Instrumentation,cu as Polyfills,gu as __unstable__loadDesignSystem,mu as compile,du as compileAst,me as env,Et as loadModule,Re as normalizePath,xu as optimize,ht as rewriteUrlsInAst,$u as toSourceMap};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tailwindcss/node",
|
|
3
|
-
"version": "0.0.0-insiders.
|
|
3
|
+
"version": "0.0.0-insiders.f7f47f8",
|
|
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
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
36
|
+
"@jridgewell/remapping": "^2.3.5",
|
|
37
|
+
"enhanced-resolve": "^5.24.5",
|
|
38
|
+
"jiti": "^2.7.0",
|
|
39
|
+
"lightningcss": "1.33.0",
|
|
40
|
+
"magic-string": "^1.1.0",
|
|
41
|
+
"source-map-js": "^1.2.1",
|
|
42
|
+
"tailwindcss": "0.0.0-insiders.f7f47f8"
|
|
39
43
|
},
|
|
40
44
|
"scripts": {
|
|
41
45
|
"build": "tsup-node",
|