typewritingclass 0.2.1 → 0.2.3
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/dist/borders-pzt8w5Wv.d.cts +24 -0
- package/dist/borders-pzt8w5Wv.d.ts +24 -0
- package/dist/chunk-34VD2OBF.cjs +74 -0
- package/dist/chunk-6CEDQ6GF.cjs +36 -0
- package/dist/chunk-75ZPJI57.cjs +9 -0
- package/dist/chunk-ATLK64TQ.js +85 -0
- package/dist/chunk-BAZLFQIV.cjs +85 -0
- package/dist/chunk-CB7B6PHY.cjs +19 -0
- package/dist/chunk-EBHM46CV.cjs +25 -0
- package/dist/chunk-IL3LVS32.js +36 -0
- package/dist/chunk-JKT74FUK.js +25 -0
- package/dist/chunk-L3IF2OVA.cjs +354 -0
- package/{src/theme/animations.ts → dist/chunk-L7AJQJBR.js} +16 -8
- package/dist/chunk-LARVCDO3.js +113 -0
- package/dist/chunk-M34ZK4IV.cjs +53 -0
- package/dist/chunk-MLKGABMK.js +9 -0
- package/dist/chunk-PBQX6PVK.js +80 -0
- package/dist/chunk-PTY5FTFB.cjs +80 -0
- package/dist/chunk-T776FXQK.js +53 -0
- package/dist/chunk-TAAEIXRF.js +74 -0
- package/dist/chunk-TUUH2FJY.cjs +39 -0
- package/dist/chunk-U2LSMKZS.js +60 -0
- package/dist/chunk-UUUE7HRN.cjs +60 -0
- package/dist/chunk-UUVUSZJS.cjs +113 -0
- package/dist/chunk-XEHQXLQR.js +354 -0
- package/dist/chunk-YHDPOIUZ.js +39 -0
- package/dist/colors-MvgcZKUW.d.cts +72 -0
- package/dist/colors-MvgcZKUW.d.ts +72 -0
- package/dist/index.cjs +2922 -0
- package/dist/index.d.cts +3515 -0
- package/dist/index.d.ts +3515 -0
- package/dist/index.js +2922 -0
- package/{src/theme/inject-theme.ts → dist/inject-theme-CTzyfQH0.d.cts} +4 -20
- package/dist/inject-theme-CTzyfQH0.d.ts +65 -0
- package/dist/inject.cjs +32 -0
- package/dist/inject.d.cts +2 -0
- package/dist/inject.d.ts +2 -0
- package/dist/inject.js +32 -0
- package/dist/rule.cjs +19 -0
- package/{src/rule.ts → dist/rule.d.cts} +10 -79
- package/dist/rule.d.ts +133 -0
- package/dist/rule.js +19 -0
- package/dist/runtime.cjs +9 -0
- package/{src/runtime.ts → dist/runtime.d.cts} +4 -7
- package/dist/runtime.d.ts +33 -0
- package/dist/runtime.js +9 -0
- package/dist/shadows-CWViP1Zk.d.cts +22 -0
- package/dist/shadows-CWViP1Zk.d.ts +22 -0
- package/dist/sizes-CS9iz8YG.d.cts +46 -0
- package/dist/sizes-CS9iz8YG.d.ts +46 -0
- package/dist/theme/animations.cjs +15 -0
- package/dist/theme/animations.d.cts +12 -0
- package/dist/theme/animations.d.ts +12 -0
- package/dist/theme/animations.js +15 -0
- package/dist/theme/borders.cjs +23 -0
- package/dist/theme/borders.d.cts +1 -0
- package/dist/theme/borders.d.ts +1 -0
- package/dist/theme/borders.js +23 -0
- package/dist/theme/colors.cjs +57 -0
- package/dist/theme/colors.d.cts +1 -0
- package/dist/theme/colors.d.ts +1 -0
- package/dist/theme/colors.js +57 -0
- package/dist/theme/createTheme.cjs +7 -0
- package/dist/theme/createTheme.d.cts +133 -0
- package/dist/theme/createTheme.d.ts +133 -0
- package/dist/theme/createTheme.js +7 -0
- package/dist/theme/filters.cjs +9 -0
- package/dist/theme/filters.d.cts +21 -0
- package/dist/theme/filters.d.ts +21 -0
- package/dist/theme/filters.js +9 -0
- package/dist/theme/index.cjs +35 -0
- package/dist/theme/index.d.cts +18 -0
- package/dist/theme/index.d.ts +18 -0
- package/dist/theme/index.js +35 -0
- package/dist/theme/shadows.cjs +21 -0
- package/dist/theme/shadows.d.cts +1 -0
- package/dist/theme/shadows.d.ts +1 -0
- package/dist/theme/shadows.js +21 -0
- package/dist/theme/sizes.cjs +21 -0
- package/dist/theme/sizes.d.cts +1 -0
- package/dist/theme/sizes.d.ts +1 -0
- package/dist/theme/sizes.js +21 -0
- package/dist/theme/typography.cjs +55 -0
- package/dist/theme/typography.d.cts +1 -0
- package/dist/theme/typography.d.ts +1 -0
- package/dist/theme/typography.js +55 -0
- package/dist/types-FfRD4Hbd.d.cts +346 -0
- package/dist/types-FfRD4Hbd.d.ts +346 -0
- package/dist/typography-C8wipcCK.d.cts +87 -0
- package/dist/typography-C8wipcCK.d.ts +87 -0
- package/package.json +117 -33
- package/src/css.ts +0 -140
- package/src/cx.ts +0 -105
- package/src/dcx.ts +0 -79
- package/src/dynamic.ts +0 -117
- package/src/hash.ts +0 -55
- package/src/index.ts +0 -139
- package/src/inject.ts +0 -86
- package/src/layer.ts +0 -81
- package/src/modifiers/aria.ts +0 -15
- package/src/modifiers/colorScheme.ts +0 -32
- package/src/modifiers/data.ts +0 -6
- package/src/modifiers/direction.ts +0 -5
- package/src/modifiers/group.ts +0 -21
- package/src/modifiers/index.ts +0 -17
- package/src/modifiers/media.ts +0 -11
- package/src/modifiers/peer.ts +0 -24
- package/src/modifiers/pseudo.ts +0 -183
- package/src/modifiers/pseudoElements.ts +0 -26
- package/src/modifiers/responsive.ts +0 -110
- package/src/modifiers/supports.ts +0 -6
- package/src/registry.ts +0 -171
- package/src/theme/borders.ts +0 -9
- package/src/theme/colors.ts +0 -326
- package/src/theme/createTheme.ts +0 -238
- package/src/theme/filters.ts +0 -20
- package/src/theme/index.ts +0 -9
- package/src/theme/shadows.ts +0 -8
- package/src/theme/sizes.ts +0 -37
- package/src/theme/spacing.ts +0 -44
- package/src/theme/typography.ts +0 -72
- package/src/tw.ts +0 -960
- package/src/types.ts +0 -273
- package/src/utilities/accessibility.ts +0 -33
- package/src/utilities/backgrounds.ts +0 -87
- package/src/utilities/borders.ts +0 -629
- package/src/utilities/colors.ts +0 -151
- package/src/utilities/effects.ts +0 -181
- package/src/utilities/filters.ts +0 -113
- package/src/utilities/index.ts +0 -57
- package/src/utilities/interactivity.ts +0 -254
- package/src/utilities/layout.ts +0 -1194
- package/src/utilities/spacing.ts +0 -681
- package/src/utilities/svg.ts +0 -35
- package/src/utilities/tables.ts +0 -54
- package/src/utilities/transforms.ts +0 -88
- package/src/utilities/transitions.ts +0 -107
- package/src/utilities/typography.ts +0 -387
- package/src/when.ts +0 -63
package/dist/index.cjs
ADDED
|
@@ -0,0 +1,2922 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkEBHM46CVcjs = require('./chunk-EBHM46CV.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
var _chunk34VD2OBFcjs = require('./chunk-34VD2OBF.cjs');
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
var _chunkM34ZK4IVcjs = require('./chunk-M34ZK4IV.cjs');
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
var _chunkPTY5FTFBcjs = require('./chunk-PTY5FTFB.cjs');
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
var _chunkL3IF2OVAcjs = require('./chunk-L3IF2OVA.cjs');
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
var _chunkUUVUSZJScjs = require('./chunk-UUVUSZJS.cjs');
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
var _chunkUUUE7HRNcjs = require('./chunk-UUUE7HRN.cjs');
|
|
57
|
+
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
var _chunk6CEDQ6GFcjs = require('./chunk-6CEDQ6GF.cjs');
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
|
|
71
|
+
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
var _chunkTUUH2FJYcjs = require('./chunk-TUUH2FJY.cjs');
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
var _chunkBAZLFQIVcjs = require('./chunk-BAZLFQIV.cjs');
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
|
|
86
|
+
var _chunkCB7B6PHYcjs = require('./chunk-CB7B6PHY.cjs');
|
|
87
|
+
require('./chunk-75ZPJI57.cjs');
|
|
88
|
+
|
|
89
|
+
// src/hash.ts
|
|
90
|
+
function djb2(str) {
|
|
91
|
+
let hash = 5381;
|
|
92
|
+
for (let i = 0; i < str.length; i++) {
|
|
93
|
+
hash = (hash << 5) + hash + str.charCodeAt(i) | 0;
|
|
94
|
+
}
|
|
95
|
+
return hash >>> 0;
|
|
96
|
+
}
|
|
97
|
+
function generateHash(rule, layer2) {
|
|
98
|
+
const input = JSON.stringify(rule.declarations) + JSON.stringify(rule.selectors) + JSON.stringify(rule.mediaQueries) + JSON.stringify(rule.supportsQueries) + String(layer2) + (_nullishCoalesce(rule.selectorTemplate, () => ( "")));
|
|
99
|
+
return "_" + djb2(input).toString(36);
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
// src/layer.ts
|
|
103
|
+
var globalLayer = 0;
|
|
104
|
+
function nextLayer() {
|
|
105
|
+
return globalLayer++;
|
|
106
|
+
}
|
|
107
|
+
function layer(priority) {
|
|
108
|
+
return (...rules) => {
|
|
109
|
+
const combined = rules.length === 1 ? rules[0] : {
|
|
110
|
+
_tag: "StyleRule",
|
|
111
|
+
declarations: Object.assign({}, ...rules.map((r) => r.declarations)),
|
|
112
|
+
selectors: [...new Set(rules.flatMap((r) => r.selectors))],
|
|
113
|
+
mediaQueries: [...new Set(rules.flatMap((r) => r.mediaQueries))],
|
|
114
|
+
...rules.some((r) => r.dynamicBindings) ? {
|
|
115
|
+
dynamicBindings: Object.assign({}, ...rules.filter((r) => r.dynamicBindings).map((r) => r.dynamicBindings))
|
|
116
|
+
} : {}
|
|
117
|
+
};
|
|
118
|
+
return { ...combined, _layer: priority };
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// src/cx.ts
|
|
123
|
+
function cx(...args) {
|
|
124
|
+
if (process.env.NODE_ENV !== "production") {
|
|
125
|
+
warnConflicts(args);
|
|
126
|
+
}
|
|
127
|
+
return args.map((arg) => {
|
|
128
|
+
if (typeof arg === "string") return arg;
|
|
129
|
+
const layerNum = _nullishCoalesce(arg._layer, () => ( nextLayer()));
|
|
130
|
+
const className = generateHash(arg, layerNum);
|
|
131
|
+
_chunkM34ZK4IVcjs.register.call(void 0, className, arg, layerNum);
|
|
132
|
+
return className;
|
|
133
|
+
}).join(" ");
|
|
134
|
+
}
|
|
135
|
+
function warnConflicts(args) {
|
|
136
|
+
const seen = /* @__PURE__ */ new Map();
|
|
137
|
+
for (let i = 0; i < args.length; i++) {
|
|
138
|
+
const arg = args[i];
|
|
139
|
+
if (typeof arg === "string") continue;
|
|
140
|
+
for (const prop of Object.keys(arg.declarations)) {
|
|
141
|
+
if (seen.has(prop)) {
|
|
142
|
+
console.warn(
|
|
143
|
+
`[typewritingclass] cx() conflict: "${prop}" is set by arguments at index ${seen.get(prop)} and ${i}. The later value will override. If intentional, this warning can be ignored.`
|
|
144
|
+
);
|
|
145
|
+
}
|
|
146
|
+
seen.set(prop, i);
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
// src/dcx.ts
|
|
152
|
+
function dcx(...args) {
|
|
153
|
+
const classNames = [];
|
|
154
|
+
const style = {};
|
|
155
|
+
for (const arg of args) {
|
|
156
|
+
if (typeof arg === "string") {
|
|
157
|
+
classNames.push(arg);
|
|
158
|
+
continue;
|
|
159
|
+
}
|
|
160
|
+
const layerNum = _nullishCoalesce(arg._layer, () => ( nextLayer()));
|
|
161
|
+
const className = generateHash(arg, layerNum);
|
|
162
|
+
_chunkM34ZK4IVcjs.register.call(void 0, className, arg, layerNum);
|
|
163
|
+
classNames.push(className);
|
|
164
|
+
if (arg.dynamicBindings) {
|
|
165
|
+
Object.assign(style, arg.dynamicBindings);
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
return { className: classNames.join(" "), style };
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
// src/when.ts
|
|
172
|
+
function when(...modifiers) {
|
|
173
|
+
return (...rules) => {
|
|
174
|
+
const combined = _chunkPTY5FTFBcjs.combineRules.call(void 0, rules);
|
|
175
|
+
return modifiers.reduceRight((acc, mod) => mod(acc), combined);
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// src/dynamic.ts
|
|
180
|
+
var counter = 0;
|
|
181
|
+
function dynamic(value) {
|
|
182
|
+
return { _tag: "DynamicValue", __value: value, __id: `--twc-d${counter++}` };
|
|
183
|
+
}
|
|
184
|
+
function isDynamic(v) {
|
|
185
|
+
return typeof v === "object" && v !== null && "_tag" in v && v._tag === "DynamicValue";
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
// src/css.ts
|
|
189
|
+
function css(first, ...values) {
|
|
190
|
+
if (!Array.isArray(first) && !("raw" in first)) {
|
|
191
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, first);
|
|
192
|
+
}
|
|
193
|
+
const strings = first;
|
|
194
|
+
const declarations = {};
|
|
195
|
+
let dynamicBindings;
|
|
196
|
+
let raw = "";
|
|
197
|
+
for (let i = 0; i < strings.length; i++) {
|
|
198
|
+
raw += strings[i];
|
|
199
|
+
if (i < values.length) {
|
|
200
|
+
const val = values[i];
|
|
201
|
+
if (isDynamic(val)) {
|
|
202
|
+
if (!dynamicBindings) dynamicBindings = {};
|
|
203
|
+
dynamicBindings[val.__id] = String(val.__value);
|
|
204
|
+
raw += `var(${val.__id})`;
|
|
205
|
+
} else {
|
|
206
|
+
raw += String(val);
|
|
207
|
+
}
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
const lines = raw.split(";");
|
|
211
|
+
for (const line of lines) {
|
|
212
|
+
const trimmed = line.trim();
|
|
213
|
+
if (!trimmed) continue;
|
|
214
|
+
const colonIdx = trimmed.indexOf(":");
|
|
215
|
+
if (colonIdx === -1) continue;
|
|
216
|
+
const prop = trimmed.slice(0, colonIdx).trim();
|
|
217
|
+
const value = trimmed.slice(colonIdx + 1).trim();
|
|
218
|
+
if (prop && value) {
|
|
219
|
+
declarations[prop] = value;
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
if (dynamicBindings) {
|
|
223
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0, declarations, dynamicBindings);
|
|
224
|
+
}
|
|
225
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, declarations);
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
// src/utilities/spacing.ts
|
|
229
|
+
function sp(value) {
|
|
230
|
+
if (isDynamic(value)) return value;
|
|
231
|
+
return _chunk34VD2OBFcjs.resolveSpacing.call(void 0, value);
|
|
232
|
+
}
|
|
233
|
+
function spacingRule(prop, value) {
|
|
234
|
+
const v = sp(value);
|
|
235
|
+
if (isDynamic(v)) {
|
|
236
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
237
|
+
{ [prop]: `var(${v.__id})` },
|
|
238
|
+
{ [v.__id]: String(v.__value) }
|
|
239
|
+
);
|
|
240
|
+
}
|
|
241
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { [prop]: v });
|
|
242
|
+
}
|
|
243
|
+
function spacingRuleMulti(props, value) {
|
|
244
|
+
const v = sp(value);
|
|
245
|
+
if (isDynamic(v)) {
|
|
246
|
+
const decls2 = {};
|
|
247
|
+
for (const prop of props) decls2[prop] = `var(${v.__id})`;
|
|
248
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0, decls2, { [v.__id]: String(v.__value) });
|
|
249
|
+
}
|
|
250
|
+
const decls = {};
|
|
251
|
+
for (const prop of props) decls[prop] = v;
|
|
252
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, decls);
|
|
253
|
+
}
|
|
254
|
+
function p(value) {
|
|
255
|
+
return spacingRule("padding", value);
|
|
256
|
+
}
|
|
257
|
+
function px(value) {
|
|
258
|
+
return spacingRuleMulti(["padding-left", "padding-right"], value);
|
|
259
|
+
}
|
|
260
|
+
function py(value) {
|
|
261
|
+
return spacingRuleMulti(["padding-top", "padding-bottom"], value);
|
|
262
|
+
}
|
|
263
|
+
function pt(value) {
|
|
264
|
+
return spacingRule("padding-top", value);
|
|
265
|
+
}
|
|
266
|
+
function pr(value) {
|
|
267
|
+
return spacingRule("padding-right", value);
|
|
268
|
+
}
|
|
269
|
+
function pb(value) {
|
|
270
|
+
return spacingRule("padding-bottom", value);
|
|
271
|
+
}
|
|
272
|
+
function pl(value) {
|
|
273
|
+
return spacingRule("padding-left", value);
|
|
274
|
+
}
|
|
275
|
+
function m(value) {
|
|
276
|
+
return spacingRule("margin", value);
|
|
277
|
+
}
|
|
278
|
+
function mx(value) {
|
|
279
|
+
return spacingRuleMulti(["margin-left", "margin-right"], value);
|
|
280
|
+
}
|
|
281
|
+
function my(value) {
|
|
282
|
+
return spacingRuleMulti(["margin-top", "margin-bottom"], value);
|
|
283
|
+
}
|
|
284
|
+
function mt(value) {
|
|
285
|
+
return spacingRule("margin-top", value);
|
|
286
|
+
}
|
|
287
|
+
function mr(value) {
|
|
288
|
+
return spacingRule("margin-right", value);
|
|
289
|
+
}
|
|
290
|
+
function mb(value) {
|
|
291
|
+
return spacingRule("margin-bottom", value);
|
|
292
|
+
}
|
|
293
|
+
function ml(value) {
|
|
294
|
+
return spacingRule("margin-left", value);
|
|
295
|
+
}
|
|
296
|
+
function gap(value) {
|
|
297
|
+
return spacingRule("gap", value);
|
|
298
|
+
}
|
|
299
|
+
function gapX(value) {
|
|
300
|
+
return spacingRule("column-gap", value);
|
|
301
|
+
}
|
|
302
|
+
function gapY(value) {
|
|
303
|
+
return spacingRule("row-gap", value);
|
|
304
|
+
}
|
|
305
|
+
function ps(value) {
|
|
306
|
+
return spacingRule("padding-inline-start", value);
|
|
307
|
+
}
|
|
308
|
+
function pe(value) {
|
|
309
|
+
return spacingRule("padding-inline-end", value);
|
|
310
|
+
}
|
|
311
|
+
function ms(value) {
|
|
312
|
+
return spacingRule("margin-inline-start", value);
|
|
313
|
+
}
|
|
314
|
+
function me(value) {
|
|
315
|
+
return spacingRule("margin-inline-end", value);
|
|
316
|
+
}
|
|
317
|
+
function spaceX(value) {
|
|
318
|
+
const rule = spacingRule("margin-left", value);
|
|
319
|
+
return _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, "& > :not([hidden]) ~ :not([hidden])");
|
|
320
|
+
}
|
|
321
|
+
function spaceY(value) {
|
|
322
|
+
const rule = spacingRule("margin-top", value);
|
|
323
|
+
return _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, "& > :not([hidden]) ~ :not([hidden])");
|
|
324
|
+
}
|
|
325
|
+
function spaceXReverse() {
|
|
326
|
+
const rule = _chunkPTY5FTFBcjs.createRule.call(void 0, { "--twc-space-x-reverse": "1" });
|
|
327
|
+
return _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, "& > :not([hidden]) ~ :not([hidden])");
|
|
328
|
+
}
|
|
329
|
+
function spaceYReverse() {
|
|
330
|
+
const rule = _chunkPTY5FTFBcjs.createRule.call(void 0, { "--twc-space-y-reverse": "1" });
|
|
331
|
+
return _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, "& > :not([hidden]) ~ :not([hidden])");
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
// src/utilities/colors.ts
|
|
335
|
+
var colorMap = {};
|
|
336
|
+
var colorScales = {
|
|
337
|
+
slate: _chunkL3IF2OVAcjs.slate,
|
|
338
|
+
gray: _chunkL3IF2OVAcjs.gray,
|
|
339
|
+
zinc: _chunkL3IF2OVAcjs.zinc,
|
|
340
|
+
neutral: _chunkL3IF2OVAcjs.neutral,
|
|
341
|
+
stone: _chunkL3IF2OVAcjs.stone,
|
|
342
|
+
red: _chunkL3IF2OVAcjs.red,
|
|
343
|
+
orange: _chunkL3IF2OVAcjs.orange,
|
|
344
|
+
amber: _chunkL3IF2OVAcjs.amber,
|
|
345
|
+
yellow: _chunkL3IF2OVAcjs.yellow,
|
|
346
|
+
lime: _chunkL3IF2OVAcjs.lime,
|
|
347
|
+
green: _chunkL3IF2OVAcjs.green,
|
|
348
|
+
emerald: _chunkL3IF2OVAcjs.emerald,
|
|
349
|
+
teal: _chunkL3IF2OVAcjs.teal,
|
|
350
|
+
cyan: _chunkL3IF2OVAcjs.cyan,
|
|
351
|
+
sky: _chunkL3IF2OVAcjs.sky,
|
|
352
|
+
blue: _chunkL3IF2OVAcjs.blue,
|
|
353
|
+
indigo: _chunkL3IF2OVAcjs.indigo,
|
|
354
|
+
violet: _chunkL3IF2OVAcjs.violet,
|
|
355
|
+
purple: _chunkL3IF2OVAcjs.purple,
|
|
356
|
+
fuchsia: _chunkL3IF2OVAcjs.fuchsia,
|
|
357
|
+
pink: _chunkL3IF2OVAcjs.pink,
|
|
358
|
+
rose: _chunkL3IF2OVAcjs.rose
|
|
359
|
+
};
|
|
360
|
+
for (const [name, scale2] of Object.entries(colorScales)) {
|
|
361
|
+
for (const [shade, hex] of Object.entries(scale2)) {
|
|
362
|
+
colorMap[`${name}-${shade}`] = hex;
|
|
363
|
+
}
|
|
364
|
+
}
|
|
365
|
+
colorMap["white"] = _chunkL3IF2OVAcjs.white;
|
|
366
|
+
colorMap["black"] = _chunkL3IF2OVAcjs.black;
|
|
367
|
+
colorMap["transparent"] = "transparent";
|
|
368
|
+
colorMap["current"] = "currentColor";
|
|
369
|
+
function resolveColor(value) {
|
|
370
|
+
return _nullishCoalesce(colorMap[value], () => ( value));
|
|
371
|
+
}
|
|
372
|
+
function bg(color) {
|
|
373
|
+
if (isDynamic(color)) {
|
|
374
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
375
|
+
{ "background-color": `var(${color.__id})` },
|
|
376
|
+
{ [color.__id]: String(color.__value) }
|
|
377
|
+
);
|
|
378
|
+
}
|
|
379
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "background-color": resolveColor(color) });
|
|
380
|
+
}
|
|
381
|
+
function textColor(color) {
|
|
382
|
+
if (isDynamic(color)) {
|
|
383
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
384
|
+
{ color: `var(${color.__id})` },
|
|
385
|
+
{ [color.__id]: String(color.__value) }
|
|
386
|
+
);
|
|
387
|
+
}
|
|
388
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { color: resolveColor(color) });
|
|
389
|
+
}
|
|
390
|
+
function borderColor(color) {
|
|
391
|
+
if (isDynamic(color)) {
|
|
392
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
393
|
+
{ "border-color": `var(${color.__id})` },
|
|
394
|
+
{ [color.__id]: String(color.__value) }
|
|
395
|
+
);
|
|
396
|
+
}
|
|
397
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-color": resolveColor(color) });
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
// src/utilities/typography.ts
|
|
401
|
+
var trackingMap = { ..._chunkUUVUSZJScjs.letterSpacings };
|
|
402
|
+
var leadingMap = { ..._chunkUUVUSZJScjs.lineHeights };
|
|
403
|
+
var fontFamilyMap = { ..._chunkUUVUSZJScjs.fontFamilies };
|
|
404
|
+
function text(size2) {
|
|
405
|
+
if (isDynamic(size2)) {
|
|
406
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
407
|
+
{ "font-size": `var(${size2.__id})` },
|
|
408
|
+
{ [size2.__id]: String(size2.__value) }
|
|
409
|
+
);
|
|
410
|
+
}
|
|
411
|
+
if (typeof size2 === "string") {
|
|
412
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-size": size2 });
|
|
413
|
+
}
|
|
414
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-size": size2.fontSize, "line-height": size2.lineHeight });
|
|
415
|
+
}
|
|
416
|
+
function font(weight) {
|
|
417
|
+
if (isDynamic(weight)) {
|
|
418
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
419
|
+
{ "font-weight": `var(${weight.__id})` },
|
|
420
|
+
{ [weight.__id]: String(weight.__value) }
|
|
421
|
+
);
|
|
422
|
+
}
|
|
423
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-weight": weight });
|
|
424
|
+
}
|
|
425
|
+
function tracking(value) {
|
|
426
|
+
if (isDynamic(value)) {
|
|
427
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
428
|
+
{ "letter-spacing": `var(${value.__id})` },
|
|
429
|
+
{ [value.__id]: String(value.__value) }
|
|
430
|
+
);
|
|
431
|
+
}
|
|
432
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "letter-spacing": _nullishCoalesce(trackingMap[value], () => ( value)) });
|
|
433
|
+
}
|
|
434
|
+
function leading(value) {
|
|
435
|
+
if (isDynamic(value)) {
|
|
436
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
437
|
+
{ "line-height": `var(${value.__id})` },
|
|
438
|
+
{ [value.__id]: String(value.__value) }
|
|
439
|
+
);
|
|
440
|
+
}
|
|
441
|
+
const v = typeof value === "string" ? _nullishCoalesce(leadingMap[value], () => ( value)) : String(value);
|
|
442
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "line-height": v });
|
|
443
|
+
}
|
|
444
|
+
function textAlign(value) {
|
|
445
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "text-align": value });
|
|
446
|
+
}
|
|
447
|
+
function fontFamily(value) {
|
|
448
|
+
if (isDynamic(value)) {
|
|
449
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
450
|
+
{ "font-family": `var(${value.__id})` },
|
|
451
|
+
{ [value.__id]: String(value.__value) }
|
|
452
|
+
);
|
|
453
|
+
}
|
|
454
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-family": _nullishCoalesce(fontFamilyMap[value], () => ( value)) });
|
|
455
|
+
}
|
|
456
|
+
function antialiased() {
|
|
457
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, {
|
|
458
|
+
"-webkit-font-smoothing": "antialiased",
|
|
459
|
+
"-moz-osx-font-smoothing": "grayscale"
|
|
460
|
+
});
|
|
461
|
+
}
|
|
462
|
+
function subpixelAntialiased() {
|
|
463
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, {
|
|
464
|
+
"-webkit-font-smoothing": "auto",
|
|
465
|
+
"-moz-osx-font-smoothing": "auto"
|
|
466
|
+
});
|
|
467
|
+
}
|
|
468
|
+
function italic() {
|
|
469
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-style": "italic" });
|
|
470
|
+
}
|
|
471
|
+
function notItalic() {
|
|
472
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-style": "normal" });
|
|
473
|
+
}
|
|
474
|
+
function normalNums() {
|
|
475
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-variant-numeric": "normal" });
|
|
476
|
+
}
|
|
477
|
+
function ordinal() {
|
|
478
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-variant-numeric": "ordinal" });
|
|
479
|
+
}
|
|
480
|
+
function slashedZero() {
|
|
481
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-variant-numeric": "slashed-zero" });
|
|
482
|
+
}
|
|
483
|
+
function liningNums() {
|
|
484
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-variant-numeric": "lining-nums" });
|
|
485
|
+
}
|
|
486
|
+
function oldstyleNums() {
|
|
487
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-variant-numeric": "oldstyle-nums" });
|
|
488
|
+
}
|
|
489
|
+
function proportionalNums() {
|
|
490
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-variant-numeric": "proportional-nums" });
|
|
491
|
+
}
|
|
492
|
+
function tabularNums() {
|
|
493
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-variant-numeric": "tabular-nums" });
|
|
494
|
+
}
|
|
495
|
+
function diagonalFractions() {
|
|
496
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-variant-numeric": "diagonal-fractions" });
|
|
497
|
+
}
|
|
498
|
+
function stackedFractions() {
|
|
499
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "font-variant-numeric": "stacked-fractions" });
|
|
500
|
+
}
|
|
501
|
+
function lineClamp(value) {
|
|
502
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, {
|
|
503
|
+
overflow: "hidden",
|
|
504
|
+
display: "-webkit-box",
|
|
505
|
+
"-webkit-box-orient": "vertical",
|
|
506
|
+
"-webkit-line-clamp": String(value)
|
|
507
|
+
});
|
|
508
|
+
}
|
|
509
|
+
function listStyleImage(value) {
|
|
510
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "list-style-image": value });
|
|
511
|
+
}
|
|
512
|
+
function listStylePosition(value) {
|
|
513
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "list-style-position": value });
|
|
514
|
+
}
|
|
515
|
+
function listStyleType(value) {
|
|
516
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "list-style-type": value });
|
|
517
|
+
}
|
|
518
|
+
function textDecoration(value) {
|
|
519
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "text-decoration-line": value });
|
|
520
|
+
}
|
|
521
|
+
function textDecorationColor(value) {
|
|
522
|
+
if (isDynamic(value)) {
|
|
523
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
524
|
+
{ "text-decoration-color": `var(${value.__id})` },
|
|
525
|
+
{ [value.__id]: String(value.__value) }
|
|
526
|
+
);
|
|
527
|
+
}
|
|
528
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "text-decoration-color": resolveColor(value) });
|
|
529
|
+
}
|
|
530
|
+
function textDecorationStyle(value) {
|
|
531
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "text-decoration-style": value });
|
|
532
|
+
}
|
|
533
|
+
function textDecorationThickness(value) {
|
|
534
|
+
if (isDynamic(value)) {
|
|
535
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
536
|
+
{ "text-decoration-thickness": `var(${value.__id})` },
|
|
537
|
+
{ [value.__id]: String(value.__value) }
|
|
538
|
+
);
|
|
539
|
+
}
|
|
540
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "text-decoration-thickness": value });
|
|
541
|
+
}
|
|
542
|
+
function textUnderlineOffset(value) {
|
|
543
|
+
if (isDynamic(value)) {
|
|
544
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
545
|
+
{ "text-underline-offset": `var(${value.__id})` },
|
|
546
|
+
{ [value.__id]: String(value.__value) }
|
|
547
|
+
);
|
|
548
|
+
}
|
|
549
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "text-underline-offset": value });
|
|
550
|
+
}
|
|
551
|
+
function textTransform(value) {
|
|
552
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "text-transform": value });
|
|
553
|
+
}
|
|
554
|
+
function textOverflow(value) {
|
|
555
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "text-overflow": value });
|
|
556
|
+
}
|
|
557
|
+
function textWrap(value) {
|
|
558
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "text-wrap": value });
|
|
559
|
+
}
|
|
560
|
+
function textIndent(value) {
|
|
561
|
+
if (isDynamic(value)) {
|
|
562
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
563
|
+
{ "text-indent": `var(${value.__id})` },
|
|
564
|
+
{ [value.__id]: String(value.__value) }
|
|
565
|
+
);
|
|
566
|
+
}
|
|
567
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "text-indent": value });
|
|
568
|
+
}
|
|
569
|
+
function verticalAlign(value) {
|
|
570
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "vertical-align": value });
|
|
571
|
+
}
|
|
572
|
+
function whitespace(value) {
|
|
573
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "white-space": value });
|
|
574
|
+
}
|
|
575
|
+
function wordBreak(value) {
|
|
576
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "word-break": value });
|
|
577
|
+
}
|
|
578
|
+
function hyphens(value) {
|
|
579
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { hyphens: value });
|
|
580
|
+
}
|
|
581
|
+
function content_(value) {
|
|
582
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { content: value });
|
|
583
|
+
}
|
|
584
|
+
function truncate() {
|
|
585
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, {
|
|
586
|
+
overflow: "hidden",
|
|
587
|
+
"text-overflow": "ellipsis",
|
|
588
|
+
"white-space": "nowrap"
|
|
589
|
+
});
|
|
590
|
+
}
|
|
591
|
+
|
|
592
|
+
// src/utilities/layout.ts
|
|
593
|
+
var sizeMap = {
|
|
594
|
+
full: "100%",
|
|
595
|
+
auto: "auto",
|
|
596
|
+
min: "min-content",
|
|
597
|
+
max: "max-content",
|
|
598
|
+
fit: "fit-content",
|
|
599
|
+
"1/2": "50%",
|
|
600
|
+
"1/3": "33.333333%",
|
|
601
|
+
"2/3": "66.666667%",
|
|
602
|
+
"1/4": "25%",
|
|
603
|
+
"2/4": "50%",
|
|
604
|
+
"3/4": "75%",
|
|
605
|
+
"1/5": "20%",
|
|
606
|
+
"2/5": "40%",
|
|
607
|
+
"3/5": "60%",
|
|
608
|
+
"4/5": "80%",
|
|
609
|
+
"1/6": "16.666667%",
|
|
610
|
+
"2/6": "33.333333%",
|
|
611
|
+
"3/6": "50%",
|
|
612
|
+
"4/6": "66.666667%",
|
|
613
|
+
"5/6": "83.333333%",
|
|
614
|
+
"1/12": "8.333333%",
|
|
615
|
+
"2/12": "16.666667%",
|
|
616
|
+
"3/12": "25%",
|
|
617
|
+
"4/12": "33.333333%",
|
|
618
|
+
"5/12": "41.666667%",
|
|
619
|
+
"6/12": "50%",
|
|
620
|
+
"7/12": "58.333333%",
|
|
621
|
+
"8/12": "66.666667%",
|
|
622
|
+
"9/12": "75%",
|
|
623
|
+
"10/12": "83.333333%",
|
|
624
|
+
"11/12": "91.666667%"
|
|
625
|
+
};
|
|
626
|
+
var widthSizeMap = { ...sizeMap, screen: "100vw" };
|
|
627
|
+
var heightSizeMap = { ...sizeMap, screen: "100vh" };
|
|
628
|
+
var maxWidthMap = { ...sizeMap, ..._chunkUUUE7HRNcjs.maxWidths };
|
|
629
|
+
function resolveSize(value, nameMap) {
|
|
630
|
+
if (isDynamic(value)) return value;
|
|
631
|
+
if (typeof value === "string") return _nullishCoalesce(_nullishCoalesce((nameMap && nameMap[value]), () => ( sizeMap[value])), () => ( value));
|
|
632
|
+
return _chunk34VD2OBFcjs.resolveSpacing.call(void 0, value);
|
|
633
|
+
}
|
|
634
|
+
function sizeRule(prop, value, nameMap) {
|
|
635
|
+
const v = resolveSize(value, nameMap);
|
|
636
|
+
if (isDynamic(v)) {
|
|
637
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
638
|
+
{ [prop]: `var(${v.__id})` },
|
|
639
|
+
{ [v.__id]: String(v.__value) }
|
|
640
|
+
);
|
|
641
|
+
}
|
|
642
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { [prop]: v });
|
|
643
|
+
}
|
|
644
|
+
function sizeRuleMulti(props, value, nameMap) {
|
|
645
|
+
const v = resolveSize(value, nameMap);
|
|
646
|
+
if (isDynamic(v)) {
|
|
647
|
+
const decls2 = {};
|
|
648
|
+
for (const prop of props) decls2[prop] = `var(${v.__id})`;
|
|
649
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0, decls2, { [v.__id]: String(v.__value) });
|
|
650
|
+
}
|
|
651
|
+
const decls = {};
|
|
652
|
+
for (const prop of props) decls[prop] = v;
|
|
653
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, decls);
|
|
654
|
+
}
|
|
655
|
+
function flex() {
|
|
656
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { display: "flex" });
|
|
657
|
+
}
|
|
658
|
+
function flexCol() {
|
|
659
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "flex-direction": "column" });
|
|
660
|
+
}
|
|
661
|
+
function flexRow() {
|
|
662
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "flex-direction": "row" });
|
|
663
|
+
}
|
|
664
|
+
function flexWrap() {
|
|
665
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "flex-wrap": "wrap" });
|
|
666
|
+
}
|
|
667
|
+
function inlineFlex() {
|
|
668
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { display: "inline-flex" });
|
|
669
|
+
}
|
|
670
|
+
function grid(cols) {
|
|
671
|
+
const decls = { display: "grid" };
|
|
672
|
+
if (cols !== void 0) {
|
|
673
|
+
decls["grid-template-columns"] = `repeat(${cols}, minmax(0, 1fr))`;
|
|
674
|
+
}
|
|
675
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, decls);
|
|
676
|
+
}
|
|
677
|
+
function gridCols(n) {
|
|
678
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "grid-template-columns": `repeat(${n}, minmax(0, 1fr))` });
|
|
679
|
+
}
|
|
680
|
+
function gridRows(n) {
|
|
681
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "grid-template-rows": `repeat(${n}, minmax(0, 1fr))` });
|
|
682
|
+
}
|
|
683
|
+
function w(value) {
|
|
684
|
+
return sizeRule("width", value, widthSizeMap);
|
|
685
|
+
}
|
|
686
|
+
function h(value) {
|
|
687
|
+
return sizeRule("height", value, heightSizeMap);
|
|
688
|
+
}
|
|
689
|
+
function size(value) {
|
|
690
|
+
return sizeRuleMulti(["width", "height"], value);
|
|
691
|
+
}
|
|
692
|
+
function minW(value) {
|
|
693
|
+
return sizeRule("min-width", value);
|
|
694
|
+
}
|
|
695
|
+
function minH(value) {
|
|
696
|
+
return sizeRule("min-height", value, heightSizeMap);
|
|
697
|
+
}
|
|
698
|
+
function maxW(value) {
|
|
699
|
+
return sizeRule("max-width", value, maxWidthMap);
|
|
700
|
+
}
|
|
701
|
+
function maxH(value) {
|
|
702
|
+
return sizeRule("max-height", value, heightSizeMap);
|
|
703
|
+
}
|
|
704
|
+
function display(value) {
|
|
705
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { display: value });
|
|
706
|
+
}
|
|
707
|
+
function items(value) {
|
|
708
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "align-items": value });
|
|
709
|
+
}
|
|
710
|
+
function justify(value) {
|
|
711
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "justify-content": value });
|
|
712
|
+
}
|
|
713
|
+
function self(value) {
|
|
714
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "align-self": value });
|
|
715
|
+
}
|
|
716
|
+
function overflow(value) {
|
|
717
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { overflow: value });
|
|
718
|
+
}
|
|
719
|
+
function overflowX(value) {
|
|
720
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "overflow-x": value });
|
|
721
|
+
}
|
|
722
|
+
function overflowY(value) {
|
|
723
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "overflow-y": value });
|
|
724
|
+
}
|
|
725
|
+
function relative() {
|
|
726
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { position: "relative" });
|
|
727
|
+
}
|
|
728
|
+
function absolute() {
|
|
729
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { position: "absolute" });
|
|
730
|
+
}
|
|
731
|
+
function fixed() {
|
|
732
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { position: "fixed" });
|
|
733
|
+
}
|
|
734
|
+
function sticky() {
|
|
735
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { position: "sticky" });
|
|
736
|
+
}
|
|
737
|
+
function top(value) {
|
|
738
|
+
return sizeRule("top", value);
|
|
739
|
+
}
|
|
740
|
+
function right(value) {
|
|
741
|
+
return sizeRule("right", value);
|
|
742
|
+
}
|
|
743
|
+
function bottom(value) {
|
|
744
|
+
return sizeRule("bottom", value);
|
|
745
|
+
}
|
|
746
|
+
function left(value) {
|
|
747
|
+
return sizeRule("left", value);
|
|
748
|
+
}
|
|
749
|
+
function inset(value) {
|
|
750
|
+
return sizeRule("inset", value);
|
|
751
|
+
}
|
|
752
|
+
function z(value) {
|
|
753
|
+
if (isDynamic(value)) {
|
|
754
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
755
|
+
{ "z-index": `var(${value.__id})` },
|
|
756
|
+
{ [value.__id]: String(value.__value) }
|
|
757
|
+
);
|
|
758
|
+
}
|
|
759
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "z-index": String(value) });
|
|
760
|
+
}
|
|
761
|
+
var aspectRatioMap = {
|
|
762
|
+
auto: "auto",
|
|
763
|
+
square: "1 / 1",
|
|
764
|
+
video: "16 / 9"
|
|
765
|
+
};
|
|
766
|
+
function aspectRatio(value) {
|
|
767
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "aspect-ratio": _nullishCoalesce(aspectRatioMap[value], () => ( value)) });
|
|
768
|
+
}
|
|
769
|
+
function columns(value) {
|
|
770
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { columns: String(value) });
|
|
771
|
+
}
|
|
772
|
+
function breakAfter(value) {
|
|
773
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "break-after": value });
|
|
774
|
+
}
|
|
775
|
+
function breakBefore(value) {
|
|
776
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "break-before": value });
|
|
777
|
+
}
|
|
778
|
+
function breakInside(value) {
|
|
779
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "break-inside": value });
|
|
780
|
+
}
|
|
781
|
+
function boxDecorationBreak(value) {
|
|
782
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "box-decoration-break": value });
|
|
783
|
+
}
|
|
784
|
+
function boxSizing(value) {
|
|
785
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "box-sizing": value });
|
|
786
|
+
}
|
|
787
|
+
function float_(value) {
|
|
788
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { float: value });
|
|
789
|
+
}
|
|
790
|
+
function clear_(value) {
|
|
791
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { clear: value });
|
|
792
|
+
}
|
|
793
|
+
function isolate() {
|
|
794
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { isolation: "isolate" });
|
|
795
|
+
}
|
|
796
|
+
function isolationAuto() {
|
|
797
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { isolation: "auto" });
|
|
798
|
+
}
|
|
799
|
+
function objectFit(value) {
|
|
800
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "object-fit": value });
|
|
801
|
+
}
|
|
802
|
+
function objectPosition(value) {
|
|
803
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "object-position": value });
|
|
804
|
+
}
|
|
805
|
+
function overscrollBehavior(value) {
|
|
806
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "overscroll-behavior": value });
|
|
807
|
+
}
|
|
808
|
+
function overscrollX(value) {
|
|
809
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "overscroll-behavior-x": value });
|
|
810
|
+
}
|
|
811
|
+
function overscrollY(value) {
|
|
812
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "overscroll-behavior-y": value });
|
|
813
|
+
}
|
|
814
|
+
function static_() {
|
|
815
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { position: "static" });
|
|
816
|
+
}
|
|
817
|
+
function insetX(value) {
|
|
818
|
+
return sizeRuleMulti(["left", "right"], value);
|
|
819
|
+
}
|
|
820
|
+
function insetY(value) {
|
|
821
|
+
return sizeRuleMulti(["top", "bottom"], value);
|
|
822
|
+
}
|
|
823
|
+
function start(value) {
|
|
824
|
+
return sizeRule("inset-inline-start", value);
|
|
825
|
+
}
|
|
826
|
+
function end(value) {
|
|
827
|
+
return sizeRule("inset-inline-end", value);
|
|
828
|
+
}
|
|
829
|
+
function visible() {
|
|
830
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { visibility: "visible" });
|
|
831
|
+
}
|
|
832
|
+
function invisible() {
|
|
833
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { visibility: "hidden" });
|
|
834
|
+
}
|
|
835
|
+
function collapse_() {
|
|
836
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { visibility: "collapse" });
|
|
837
|
+
}
|
|
838
|
+
function flexBasis(value) {
|
|
839
|
+
return sizeRule("flex-basis", value);
|
|
840
|
+
}
|
|
841
|
+
function flexRowReverse() {
|
|
842
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "flex-direction": "row-reverse" });
|
|
843
|
+
}
|
|
844
|
+
function flexColReverse() {
|
|
845
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "flex-direction": "column-reverse" });
|
|
846
|
+
}
|
|
847
|
+
function flexWrapReverse() {
|
|
848
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "flex-wrap": "wrap-reverse" });
|
|
849
|
+
}
|
|
850
|
+
function flexNowrap() {
|
|
851
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "flex-wrap": "nowrap" });
|
|
852
|
+
}
|
|
853
|
+
function flex1() {
|
|
854
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { flex: "1 1 0%" });
|
|
855
|
+
}
|
|
856
|
+
function flexAuto() {
|
|
857
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { flex: "1 1 auto" });
|
|
858
|
+
}
|
|
859
|
+
function flexInitial() {
|
|
860
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { flex: "0 1 auto" });
|
|
861
|
+
}
|
|
862
|
+
function flexNone() {
|
|
863
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { flex: "none" });
|
|
864
|
+
}
|
|
865
|
+
function grow(value = 1) {
|
|
866
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "flex-grow": String(value) });
|
|
867
|
+
}
|
|
868
|
+
function shrink(value = 1) {
|
|
869
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "flex-shrink": String(value) });
|
|
870
|
+
}
|
|
871
|
+
function order(value) {
|
|
872
|
+
if (isDynamic(value)) {
|
|
873
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
874
|
+
{ order: `var(${value.__id})` },
|
|
875
|
+
{ [value.__id]: String(value.__value) }
|
|
876
|
+
);
|
|
877
|
+
}
|
|
878
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { order: String(value) });
|
|
879
|
+
}
|
|
880
|
+
function colSpan(value) {
|
|
881
|
+
if (value === "full") return _chunkPTY5FTFBcjs.createRule.call(void 0, { "grid-column": "1 / -1" });
|
|
882
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "grid-column": `span ${value} / span ${value}` });
|
|
883
|
+
}
|
|
884
|
+
function colStart(value) {
|
|
885
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "grid-column-start": String(value) });
|
|
886
|
+
}
|
|
887
|
+
function colEnd(value) {
|
|
888
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "grid-column-end": String(value) });
|
|
889
|
+
}
|
|
890
|
+
function rowSpan(value) {
|
|
891
|
+
if (value === "full") return _chunkPTY5FTFBcjs.createRule.call(void 0, { "grid-row": "1 / -1" });
|
|
892
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "grid-row": `span ${value} / span ${value}` });
|
|
893
|
+
}
|
|
894
|
+
function rowStart(value) {
|
|
895
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "grid-row-start": String(value) });
|
|
896
|
+
}
|
|
897
|
+
function rowEnd(value) {
|
|
898
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "grid-row-end": String(value) });
|
|
899
|
+
}
|
|
900
|
+
function gridFlow(value) {
|
|
901
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "grid-auto-flow": value });
|
|
902
|
+
}
|
|
903
|
+
function autoCols(value) {
|
|
904
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "grid-auto-columns": value });
|
|
905
|
+
}
|
|
906
|
+
function autoRows(value) {
|
|
907
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "grid-auto-rows": value });
|
|
908
|
+
}
|
|
909
|
+
function justifyItems(value) {
|
|
910
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "justify-items": value });
|
|
911
|
+
}
|
|
912
|
+
function justifySelf(value) {
|
|
913
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "justify-self": value });
|
|
914
|
+
}
|
|
915
|
+
function alignContent(value) {
|
|
916
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "align-content": value });
|
|
917
|
+
}
|
|
918
|
+
function placeContent(value) {
|
|
919
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "place-content": value });
|
|
920
|
+
}
|
|
921
|
+
function placeItems(value) {
|
|
922
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "place-items": value });
|
|
923
|
+
}
|
|
924
|
+
function placeSelf(value) {
|
|
925
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "place-self": value });
|
|
926
|
+
}
|
|
927
|
+
function container() {
|
|
928
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { width: "100%" });
|
|
929
|
+
}
|
|
930
|
+
|
|
931
|
+
// src/utilities/borders.ts
|
|
932
|
+
function px2(value) {
|
|
933
|
+
return typeof value === "number" ? `${value}px` : value;
|
|
934
|
+
}
|
|
935
|
+
var radiusMap = {
|
|
936
|
+
none: _chunkTUUH2FJYcjs.none,
|
|
937
|
+
sm: _chunkTUUH2FJYcjs.sm,
|
|
938
|
+
DEFAULT: _chunkTUUH2FJYcjs.DEFAULT,
|
|
939
|
+
md: _chunkTUUH2FJYcjs.md,
|
|
940
|
+
lg: _chunkTUUH2FJYcjs.lg,
|
|
941
|
+
xl: _chunkTUUH2FJYcjs.xl,
|
|
942
|
+
"2xl": _chunkTUUH2FJYcjs._2xl,
|
|
943
|
+
"3xl": _chunkTUUH2FJYcjs._3xl,
|
|
944
|
+
full: _chunkTUUH2FJYcjs.full
|
|
945
|
+
};
|
|
946
|
+
function resolveRadius(value) {
|
|
947
|
+
if (value == null) return _chunkTUUH2FJYcjs.DEFAULT;
|
|
948
|
+
if (typeof value === "string") return _nullishCoalesce(radiusMap[value], () => ( value));
|
|
949
|
+
return value;
|
|
950
|
+
}
|
|
951
|
+
function rounded(value) {
|
|
952
|
+
if (isDynamic(value)) {
|
|
953
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
954
|
+
{ "border-radius": `var(${value.__id})` },
|
|
955
|
+
{ [value.__id]: String(value.__value) }
|
|
956
|
+
);
|
|
957
|
+
}
|
|
958
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-radius": resolveRadius(value) });
|
|
959
|
+
}
|
|
960
|
+
function roundedT(value) {
|
|
961
|
+
if (isDynamic(value)) {
|
|
962
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
963
|
+
{ "border-top-left-radius": `var(${value.__id})`, "border-top-right-radius": `var(${value.__id})` },
|
|
964
|
+
{ [value.__id]: String(value.__value) }
|
|
965
|
+
);
|
|
966
|
+
}
|
|
967
|
+
const v = resolveRadius(value);
|
|
968
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-top-left-radius": v, "border-top-right-radius": v });
|
|
969
|
+
}
|
|
970
|
+
function roundedB(value) {
|
|
971
|
+
if (isDynamic(value)) {
|
|
972
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
973
|
+
{ "border-bottom-left-radius": `var(${value.__id})`, "border-bottom-right-radius": `var(${value.__id})` },
|
|
974
|
+
{ [value.__id]: String(value.__value) }
|
|
975
|
+
);
|
|
976
|
+
}
|
|
977
|
+
const v = resolveRadius(value);
|
|
978
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-bottom-left-radius": v, "border-bottom-right-radius": v });
|
|
979
|
+
}
|
|
980
|
+
function roundedL(value) {
|
|
981
|
+
if (isDynamic(value)) {
|
|
982
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
983
|
+
{ "border-top-left-radius": `var(${value.__id})`, "border-bottom-left-radius": `var(${value.__id})` },
|
|
984
|
+
{ [value.__id]: String(value.__value) }
|
|
985
|
+
);
|
|
986
|
+
}
|
|
987
|
+
const v = resolveRadius(value);
|
|
988
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-top-left-radius": v, "border-bottom-left-radius": v });
|
|
989
|
+
}
|
|
990
|
+
function roundedR(value) {
|
|
991
|
+
if (isDynamic(value)) {
|
|
992
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
993
|
+
{ "border-top-right-radius": `var(${value.__id})`, "border-bottom-right-radius": `var(${value.__id})` },
|
|
994
|
+
{ [value.__id]: String(value.__value) }
|
|
995
|
+
);
|
|
996
|
+
}
|
|
997
|
+
const v = resolveRadius(value);
|
|
998
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-top-right-radius": v, "border-bottom-right-radius": v });
|
|
999
|
+
}
|
|
1000
|
+
function border(width) {
|
|
1001
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-width": width != null ? px2(width) : "1px", "border-style": "solid" });
|
|
1002
|
+
}
|
|
1003
|
+
function borderT(width) {
|
|
1004
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-top-width": width != null ? px2(width) : "1px", "border-style": "solid" });
|
|
1005
|
+
}
|
|
1006
|
+
function borderR(width) {
|
|
1007
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-right-width": width != null ? px2(width) : "1px", "border-style": "solid" });
|
|
1008
|
+
}
|
|
1009
|
+
function borderB(width) {
|
|
1010
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-bottom-width": width != null ? px2(width) : "1px", "border-style": "solid" });
|
|
1011
|
+
}
|
|
1012
|
+
function borderL(width) {
|
|
1013
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-left-width": width != null ? px2(width) : "1px", "border-style": "solid" });
|
|
1014
|
+
}
|
|
1015
|
+
function ring(width, color) {
|
|
1016
|
+
const w2 = width != null ? px2(width) : "3px";
|
|
1017
|
+
const c = _nullishCoalesce(color, () => ( "#3b82f6"));
|
|
1018
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "box-shadow": `0 0 0 ${w2} ${c}` });
|
|
1019
|
+
}
|
|
1020
|
+
function roundedTL(value) {
|
|
1021
|
+
if (isDynamic(value)) {
|
|
1022
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1023
|
+
{ "border-top-left-radius": `var(${value.__id})` },
|
|
1024
|
+
{ [value.__id]: String(value.__value) }
|
|
1025
|
+
);
|
|
1026
|
+
}
|
|
1027
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-top-left-radius": resolveRadius(value) });
|
|
1028
|
+
}
|
|
1029
|
+
function roundedTR(value) {
|
|
1030
|
+
if (isDynamic(value)) {
|
|
1031
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1032
|
+
{ "border-top-right-radius": `var(${value.__id})` },
|
|
1033
|
+
{ [value.__id]: String(value.__value) }
|
|
1034
|
+
);
|
|
1035
|
+
}
|
|
1036
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-top-right-radius": resolveRadius(value) });
|
|
1037
|
+
}
|
|
1038
|
+
function roundedBR(value) {
|
|
1039
|
+
if (isDynamic(value)) {
|
|
1040
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1041
|
+
{ "border-bottom-right-radius": `var(${value.__id})` },
|
|
1042
|
+
{ [value.__id]: String(value.__value) }
|
|
1043
|
+
);
|
|
1044
|
+
}
|
|
1045
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-bottom-right-radius": resolveRadius(value) });
|
|
1046
|
+
}
|
|
1047
|
+
function roundedBL(value) {
|
|
1048
|
+
if (isDynamic(value)) {
|
|
1049
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1050
|
+
{ "border-bottom-left-radius": `var(${value.__id})` },
|
|
1051
|
+
{ [value.__id]: String(value.__value) }
|
|
1052
|
+
);
|
|
1053
|
+
}
|
|
1054
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-bottom-left-radius": resolveRadius(value) });
|
|
1055
|
+
}
|
|
1056
|
+
function roundedSS(value) {
|
|
1057
|
+
if (isDynamic(value)) {
|
|
1058
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1059
|
+
{ "border-start-start-radius": `var(${value.__id})`, "border-end-start-radius": `var(${value.__id})` },
|
|
1060
|
+
{ [value.__id]: String(value.__value) }
|
|
1061
|
+
);
|
|
1062
|
+
}
|
|
1063
|
+
const v = resolveRadius(value);
|
|
1064
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-start-start-radius": v, "border-end-start-radius": v });
|
|
1065
|
+
}
|
|
1066
|
+
function roundedSE(value) {
|
|
1067
|
+
if (isDynamic(value)) {
|
|
1068
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1069
|
+
{ "border-start-end-radius": `var(${value.__id})`, "border-end-end-radius": `var(${value.__id})` },
|
|
1070
|
+
{ [value.__id]: String(value.__value) }
|
|
1071
|
+
);
|
|
1072
|
+
}
|
|
1073
|
+
const v = resolveRadius(value);
|
|
1074
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-start-end-radius": v, "border-end-end-radius": v });
|
|
1075
|
+
}
|
|
1076
|
+
function roundedEE(value) {
|
|
1077
|
+
if (isDynamic(value)) {
|
|
1078
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1079
|
+
{ "border-start-end-radius": `var(${value.__id})`, "border-end-end-radius": `var(${value.__id})` },
|
|
1080
|
+
{ [value.__id]: String(value.__value) }
|
|
1081
|
+
);
|
|
1082
|
+
}
|
|
1083
|
+
const v = resolveRadius(value);
|
|
1084
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-start-end-radius": v, "border-end-end-radius": v });
|
|
1085
|
+
}
|
|
1086
|
+
function roundedES(value) {
|
|
1087
|
+
if (isDynamic(value)) {
|
|
1088
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1089
|
+
{ "border-end-start-radius": `var(${value.__id})`, "border-start-start-radius": `var(${value.__id})` },
|
|
1090
|
+
{ [value.__id]: String(value.__value) }
|
|
1091
|
+
);
|
|
1092
|
+
}
|
|
1093
|
+
const v = resolveRadius(value);
|
|
1094
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-end-start-radius": v, "border-start-start-radius": v });
|
|
1095
|
+
}
|
|
1096
|
+
function borderX(width) {
|
|
1097
|
+
const w2 = width != null ? px2(width) : "1px";
|
|
1098
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-left-width": w2, "border-right-width": w2, "border-style": "solid" });
|
|
1099
|
+
}
|
|
1100
|
+
function borderY(width) {
|
|
1101
|
+
const w2 = width != null ? px2(width) : "1px";
|
|
1102
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-top-width": w2, "border-bottom-width": w2, "border-style": "solid" });
|
|
1103
|
+
}
|
|
1104
|
+
function borderS(width) {
|
|
1105
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-inline-start-width": width != null ? px2(width) : "1px", "border-style": "solid" });
|
|
1106
|
+
}
|
|
1107
|
+
function borderE(width) {
|
|
1108
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-inline-end-width": width != null ? px2(width) : "1px", "border-style": "solid" });
|
|
1109
|
+
}
|
|
1110
|
+
function borderStyle(value) {
|
|
1111
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-style": value });
|
|
1112
|
+
}
|
|
1113
|
+
function outlineWidth(value) {
|
|
1114
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "outline-width": px2(value) });
|
|
1115
|
+
}
|
|
1116
|
+
function outlineColor(value) {
|
|
1117
|
+
if (isDynamic(value)) {
|
|
1118
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1119
|
+
{ "outline-color": `var(${value.__id})` },
|
|
1120
|
+
{ [value.__id]: String(value.__value) }
|
|
1121
|
+
);
|
|
1122
|
+
}
|
|
1123
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "outline-color": resolveColor(value) });
|
|
1124
|
+
}
|
|
1125
|
+
function outlineStyle(value) {
|
|
1126
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "outline-style": value });
|
|
1127
|
+
}
|
|
1128
|
+
function outlineOffset(value) {
|
|
1129
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "outline-offset": px2(value) });
|
|
1130
|
+
}
|
|
1131
|
+
function outline(width, style, color) {
|
|
1132
|
+
const decls = {};
|
|
1133
|
+
decls["outline-width"] = width != null ? px2(width) : "2px";
|
|
1134
|
+
decls["outline-style"] = _nullishCoalesce(style, () => ( "solid"));
|
|
1135
|
+
if (color) decls["outline-color"] = color;
|
|
1136
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, decls);
|
|
1137
|
+
}
|
|
1138
|
+
function outlineNone() {
|
|
1139
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { outline: "2px solid transparent", "outline-offset": "2px" });
|
|
1140
|
+
}
|
|
1141
|
+
function ringInset() {
|
|
1142
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "--twc-ring-inset": "inset" });
|
|
1143
|
+
}
|
|
1144
|
+
function ringColor(value) {
|
|
1145
|
+
if (isDynamic(value)) {
|
|
1146
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1147
|
+
{ "--twc-ring-color": `var(${value.__id})` },
|
|
1148
|
+
{ [value.__id]: String(value.__value) }
|
|
1149
|
+
);
|
|
1150
|
+
}
|
|
1151
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "--twc-ring-color": resolveColor(value) });
|
|
1152
|
+
}
|
|
1153
|
+
function ringOffsetWidth(value) {
|
|
1154
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "--twc-ring-offset-width": px2(value) });
|
|
1155
|
+
}
|
|
1156
|
+
function ringOffsetColor(value) {
|
|
1157
|
+
if (isDynamic(value)) {
|
|
1158
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1159
|
+
{ "--twc-ring-offset-color": `var(${value.__id})` },
|
|
1160
|
+
{ [value.__id]: String(value.__value) }
|
|
1161
|
+
);
|
|
1162
|
+
}
|
|
1163
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "--twc-ring-offset-color": resolveColor(value) });
|
|
1164
|
+
}
|
|
1165
|
+
function divideX(width) {
|
|
1166
|
+
const rule = _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-left-width": width != null ? px2(width) : "1px", "border-style": "solid" });
|
|
1167
|
+
return _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, "& > :not([hidden]) ~ :not([hidden])");
|
|
1168
|
+
}
|
|
1169
|
+
function divideY(width) {
|
|
1170
|
+
const rule = _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-top-width": width != null ? px2(width) : "1px", "border-style": "solid" });
|
|
1171
|
+
return _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, "& > :not([hidden]) ~ :not([hidden])");
|
|
1172
|
+
}
|
|
1173
|
+
function divideColor(value) {
|
|
1174
|
+
let rule;
|
|
1175
|
+
if (isDynamic(value)) {
|
|
1176
|
+
rule = _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1177
|
+
{ "border-color": `var(${value.__id})` },
|
|
1178
|
+
{ [value.__id]: String(value.__value) }
|
|
1179
|
+
);
|
|
1180
|
+
} else {
|
|
1181
|
+
rule = _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-color": resolveColor(value) });
|
|
1182
|
+
}
|
|
1183
|
+
return _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, "& > :not([hidden]) ~ :not([hidden])");
|
|
1184
|
+
}
|
|
1185
|
+
function divideStyle(value) {
|
|
1186
|
+
const rule = _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-style": value });
|
|
1187
|
+
return _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, "& > :not([hidden]) ~ :not([hidden])");
|
|
1188
|
+
}
|
|
1189
|
+
function divideXReverse() {
|
|
1190
|
+
const rule = _chunkPTY5FTFBcjs.createRule.call(void 0, { "--twc-divide-x-reverse": "1" });
|
|
1191
|
+
return _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, "& > :not([hidden]) ~ :not([hidden])");
|
|
1192
|
+
}
|
|
1193
|
+
function divideYReverse() {
|
|
1194
|
+
const rule = _chunkPTY5FTFBcjs.createRule.call(void 0, { "--twc-divide-y-reverse": "1" });
|
|
1195
|
+
return _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, "& > :not([hidden]) ~ :not([hidden])");
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
// src/utilities/effects.ts
|
|
1199
|
+
var shadowMap = {
|
|
1200
|
+
sm: _chunk6CEDQ6GFcjs.sm,
|
|
1201
|
+
DEFAULT: _chunk6CEDQ6GFcjs.DEFAULT,
|
|
1202
|
+
md: _chunk6CEDQ6GFcjs.md,
|
|
1203
|
+
lg: _chunk6CEDQ6GFcjs.lg,
|
|
1204
|
+
xl: _chunk6CEDQ6GFcjs.xl,
|
|
1205
|
+
"2xl": _chunk6CEDQ6GFcjs._2xl,
|
|
1206
|
+
inner: _chunk6CEDQ6GFcjs.inner,
|
|
1207
|
+
none: _chunk6CEDQ6GFcjs.none
|
|
1208
|
+
};
|
|
1209
|
+
function resolveShadow(value) {
|
|
1210
|
+
if (value == null) return _chunk6CEDQ6GFcjs.DEFAULT;
|
|
1211
|
+
return _nullishCoalesce(shadowMap[value], () => ( value));
|
|
1212
|
+
}
|
|
1213
|
+
function shadow(value) {
|
|
1214
|
+
if (isDynamic(value)) {
|
|
1215
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1216
|
+
{ "box-shadow": `var(${value.__id})` },
|
|
1217
|
+
{ [value.__id]: String(value.__value) }
|
|
1218
|
+
);
|
|
1219
|
+
}
|
|
1220
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "box-shadow": resolveShadow(value) });
|
|
1221
|
+
}
|
|
1222
|
+
function opacity(value) {
|
|
1223
|
+
if (isDynamic(value)) {
|
|
1224
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1225
|
+
{ opacity: `var(${value.__id})` },
|
|
1226
|
+
{ [value.__id]: String(value.__value) }
|
|
1227
|
+
);
|
|
1228
|
+
}
|
|
1229
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { opacity: String(value) });
|
|
1230
|
+
}
|
|
1231
|
+
function backdrop(value) {
|
|
1232
|
+
if (isDynamic(value)) {
|
|
1233
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1234
|
+
{ "backdrop-filter": `var(${value.__id})` },
|
|
1235
|
+
{ [value.__id]: String(value.__value) }
|
|
1236
|
+
);
|
|
1237
|
+
}
|
|
1238
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "backdrop-filter": value });
|
|
1239
|
+
}
|
|
1240
|
+
function shadowColor(value) {
|
|
1241
|
+
if (isDynamic(value)) {
|
|
1242
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1243
|
+
{ "--twc-shadow-color": `var(${value.__id})` },
|
|
1244
|
+
{ [value.__id]: String(value.__value) }
|
|
1245
|
+
);
|
|
1246
|
+
}
|
|
1247
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "--twc-shadow-color": resolveColor(value) });
|
|
1248
|
+
}
|
|
1249
|
+
function mixBlendMode(value) {
|
|
1250
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "mix-blend-mode": value });
|
|
1251
|
+
}
|
|
1252
|
+
function bgBlendMode(value) {
|
|
1253
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "background-blend-mode": value });
|
|
1254
|
+
}
|
|
1255
|
+
|
|
1256
|
+
// src/utilities/interactivity.ts
|
|
1257
|
+
function cursor(value) {
|
|
1258
|
+
if (isDynamic(value)) {
|
|
1259
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1260
|
+
{ cursor: `var(${value.__id})` },
|
|
1261
|
+
{ [value.__id]: String(value.__value) }
|
|
1262
|
+
);
|
|
1263
|
+
}
|
|
1264
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { cursor: value });
|
|
1265
|
+
}
|
|
1266
|
+
function select(value) {
|
|
1267
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "user-select": value });
|
|
1268
|
+
}
|
|
1269
|
+
function pointerEvents(value) {
|
|
1270
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "pointer-events": value });
|
|
1271
|
+
}
|
|
1272
|
+
function accentColor(value) {
|
|
1273
|
+
if (isDynamic(value)) {
|
|
1274
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1275
|
+
{ "accent-color": `var(${value.__id})` },
|
|
1276
|
+
{ [value.__id]: String(value.__value) }
|
|
1277
|
+
);
|
|
1278
|
+
}
|
|
1279
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "accent-color": resolveColor(value) });
|
|
1280
|
+
}
|
|
1281
|
+
function appearance(value) {
|
|
1282
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { appearance: value });
|
|
1283
|
+
}
|
|
1284
|
+
function caretColor(value) {
|
|
1285
|
+
if (isDynamic(value)) {
|
|
1286
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1287
|
+
{ "caret-color": `var(${value.__id})` },
|
|
1288
|
+
{ [value.__id]: String(value.__value) }
|
|
1289
|
+
);
|
|
1290
|
+
}
|
|
1291
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "caret-color": resolveColor(value) });
|
|
1292
|
+
}
|
|
1293
|
+
function resize(value) {
|
|
1294
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { resize: value });
|
|
1295
|
+
}
|
|
1296
|
+
function scrollBehavior(value) {
|
|
1297
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "scroll-behavior": value });
|
|
1298
|
+
}
|
|
1299
|
+
function scrollSpacingRule(prop, value) {
|
|
1300
|
+
if (isDynamic(value)) {
|
|
1301
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1302
|
+
{ [prop]: `var(${value.__id})` },
|
|
1303
|
+
{ [value.__id]: String(value.__value) }
|
|
1304
|
+
);
|
|
1305
|
+
}
|
|
1306
|
+
const v = typeof value === "number" ? _chunk34VD2OBFcjs.resolveSpacing.call(void 0, value) : value;
|
|
1307
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { [prop]: v });
|
|
1308
|
+
}
|
|
1309
|
+
function scrollMargin(value) {
|
|
1310
|
+
return scrollSpacingRule("scroll-margin", value);
|
|
1311
|
+
}
|
|
1312
|
+
function scrollMarginX(value) {
|
|
1313
|
+
if (isDynamic(value)) {
|
|
1314
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1315
|
+
{ "scroll-margin-left": `var(${value.__id})`, "scroll-margin-right": `var(${value.__id})` },
|
|
1316
|
+
{ [value.__id]: String(value.__value) }
|
|
1317
|
+
);
|
|
1318
|
+
}
|
|
1319
|
+
const v = typeof value === "number" ? _chunk34VD2OBFcjs.resolveSpacing.call(void 0, value) : String(value);
|
|
1320
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "scroll-margin-left": v, "scroll-margin-right": v });
|
|
1321
|
+
}
|
|
1322
|
+
function scrollMarginY(value) {
|
|
1323
|
+
if (isDynamic(value)) {
|
|
1324
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1325
|
+
{ "scroll-margin-top": `var(${value.__id})`, "scroll-margin-bottom": `var(${value.__id})` },
|
|
1326
|
+
{ [value.__id]: String(value.__value) }
|
|
1327
|
+
);
|
|
1328
|
+
}
|
|
1329
|
+
const v = typeof value === "number" ? _chunk34VD2OBFcjs.resolveSpacing.call(void 0, value) : String(value);
|
|
1330
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "scroll-margin-top": v, "scroll-margin-bottom": v });
|
|
1331
|
+
}
|
|
1332
|
+
function scrollMarginT(value) {
|
|
1333
|
+
return scrollSpacingRule("scroll-margin-top", value);
|
|
1334
|
+
}
|
|
1335
|
+
function scrollMarginR(value) {
|
|
1336
|
+
return scrollSpacingRule("scroll-margin-right", value);
|
|
1337
|
+
}
|
|
1338
|
+
function scrollMarginB(value) {
|
|
1339
|
+
return scrollSpacingRule("scroll-margin-bottom", value);
|
|
1340
|
+
}
|
|
1341
|
+
function scrollMarginL(value) {
|
|
1342
|
+
return scrollSpacingRule("scroll-margin-left", value);
|
|
1343
|
+
}
|
|
1344
|
+
function scrollPadding(value) {
|
|
1345
|
+
return scrollSpacingRule("scroll-padding", value);
|
|
1346
|
+
}
|
|
1347
|
+
function scrollPaddingX(value) {
|
|
1348
|
+
if (isDynamic(value)) {
|
|
1349
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1350
|
+
{ "scroll-padding-left": `var(${value.__id})`, "scroll-padding-right": `var(${value.__id})` },
|
|
1351
|
+
{ [value.__id]: String(value.__value) }
|
|
1352
|
+
);
|
|
1353
|
+
}
|
|
1354
|
+
const v = typeof value === "number" ? _chunk34VD2OBFcjs.resolveSpacing.call(void 0, value) : String(value);
|
|
1355
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "scroll-padding-left": v, "scroll-padding-right": v });
|
|
1356
|
+
}
|
|
1357
|
+
function scrollPaddingY(value) {
|
|
1358
|
+
if (isDynamic(value)) {
|
|
1359
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1360
|
+
{ "scroll-padding-top": `var(${value.__id})`, "scroll-padding-bottom": `var(${value.__id})` },
|
|
1361
|
+
{ [value.__id]: String(value.__value) }
|
|
1362
|
+
);
|
|
1363
|
+
}
|
|
1364
|
+
const v = typeof value === "number" ? _chunk34VD2OBFcjs.resolveSpacing.call(void 0, value) : String(value);
|
|
1365
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "scroll-padding-top": v, "scroll-padding-bottom": v });
|
|
1366
|
+
}
|
|
1367
|
+
function scrollPaddingT(value) {
|
|
1368
|
+
return scrollSpacingRule("scroll-padding-top", value);
|
|
1369
|
+
}
|
|
1370
|
+
function scrollPaddingR(value) {
|
|
1371
|
+
return scrollSpacingRule("scroll-padding-right", value);
|
|
1372
|
+
}
|
|
1373
|
+
function scrollPaddingB(value) {
|
|
1374
|
+
return scrollSpacingRule("scroll-padding-bottom", value);
|
|
1375
|
+
}
|
|
1376
|
+
function scrollPaddingL(value) {
|
|
1377
|
+
return scrollSpacingRule("scroll-padding-left", value);
|
|
1378
|
+
}
|
|
1379
|
+
function snapAlign(value) {
|
|
1380
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "scroll-snap-align": value });
|
|
1381
|
+
}
|
|
1382
|
+
function snapStop(value) {
|
|
1383
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "scroll-snap-stop": value });
|
|
1384
|
+
}
|
|
1385
|
+
function snapType(value) {
|
|
1386
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "scroll-snap-type": value });
|
|
1387
|
+
}
|
|
1388
|
+
function touchAction(value) {
|
|
1389
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "touch-action": value });
|
|
1390
|
+
}
|
|
1391
|
+
function willChange(value) {
|
|
1392
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "will-change": value });
|
|
1393
|
+
}
|
|
1394
|
+
|
|
1395
|
+
// src/utilities/filters.ts
|
|
1396
|
+
var blurMap = {
|
|
1397
|
+
none: _chunkEBHM46CVcjs.blur.none,
|
|
1398
|
+
sm: _chunkEBHM46CVcjs.blur.sm,
|
|
1399
|
+
DEFAULT: _chunkEBHM46CVcjs.blur.DEFAULT,
|
|
1400
|
+
md: _chunkEBHM46CVcjs.blur.md,
|
|
1401
|
+
lg: _chunkEBHM46CVcjs.blur.lg,
|
|
1402
|
+
xl: _chunkEBHM46CVcjs.blur.xl,
|
|
1403
|
+
"2xl": _chunkEBHM46CVcjs.blur._2xl,
|
|
1404
|
+
"3xl": _chunkEBHM46CVcjs.blur._3xl
|
|
1405
|
+
};
|
|
1406
|
+
var dropShadowMap = {
|
|
1407
|
+
sm: _chunkEBHM46CVcjs.dropShadow.sm,
|
|
1408
|
+
DEFAULT: _chunkEBHM46CVcjs.dropShadow.DEFAULT,
|
|
1409
|
+
md: _chunkEBHM46CVcjs.dropShadow.md,
|
|
1410
|
+
lg: _chunkEBHM46CVcjs.dropShadow.lg,
|
|
1411
|
+
xl: _chunkEBHM46CVcjs.dropShadow.xl,
|
|
1412
|
+
"2xl": _chunkEBHM46CVcjs.dropShadow._2xl,
|
|
1413
|
+
none: _chunkEBHM46CVcjs.dropShadow.none
|
|
1414
|
+
};
|
|
1415
|
+
function filterRule(fn, value, prop = "filter") {
|
|
1416
|
+
if (isDynamic(value)) {
|
|
1417
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1418
|
+
{ [prop]: `${fn}(var(${value.__id}))` },
|
|
1419
|
+
{ [value.__id]: String(value.__value) }
|
|
1420
|
+
);
|
|
1421
|
+
}
|
|
1422
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { [prop]: `${fn}(${value})` });
|
|
1423
|
+
}
|
|
1424
|
+
function blur2(value = "8px") {
|
|
1425
|
+
if (!isDynamic(value)) return filterRule("blur", _nullishCoalesce(blurMap[value], () => ( value)));
|
|
1426
|
+
return filterRule("blur", value);
|
|
1427
|
+
}
|
|
1428
|
+
function brightness(value) {
|
|
1429
|
+
return filterRule("brightness", value);
|
|
1430
|
+
}
|
|
1431
|
+
function contrast(value) {
|
|
1432
|
+
return filterRule("contrast", value);
|
|
1433
|
+
}
|
|
1434
|
+
function dropShadow2(value = "DEFAULT") {
|
|
1435
|
+
if (isDynamic(value)) {
|
|
1436
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1437
|
+
{ filter: `drop-shadow(var(${value.__id}))` },
|
|
1438
|
+
{ [value.__id]: String(value.__value) }
|
|
1439
|
+
);
|
|
1440
|
+
}
|
|
1441
|
+
const resolved = _nullishCoalesce(dropShadowMap[value], () => ( value));
|
|
1442
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { filter: `drop-shadow(${resolved})` });
|
|
1443
|
+
}
|
|
1444
|
+
function grayscale(value = "100%") {
|
|
1445
|
+
return filterRule("grayscale", value);
|
|
1446
|
+
}
|
|
1447
|
+
function hueRotate(value) {
|
|
1448
|
+
return filterRule("hue-rotate", value);
|
|
1449
|
+
}
|
|
1450
|
+
function invert(value = "100%") {
|
|
1451
|
+
return filterRule("invert", value);
|
|
1452
|
+
}
|
|
1453
|
+
function saturate(value) {
|
|
1454
|
+
return filterRule("saturate", value);
|
|
1455
|
+
}
|
|
1456
|
+
function sepia(value = "100%") {
|
|
1457
|
+
return filterRule("sepia", value);
|
|
1458
|
+
}
|
|
1459
|
+
function backdropBlur(value = "8px") {
|
|
1460
|
+
if (!isDynamic(value)) return filterRule("blur", _nullishCoalesce(blurMap[value], () => ( value)), "backdrop-filter");
|
|
1461
|
+
return filterRule("blur", value, "backdrop-filter");
|
|
1462
|
+
}
|
|
1463
|
+
function backdropBrightness(value) {
|
|
1464
|
+
return filterRule("brightness", value, "backdrop-filter");
|
|
1465
|
+
}
|
|
1466
|
+
function backdropContrast(value) {
|
|
1467
|
+
return filterRule("contrast", value, "backdrop-filter");
|
|
1468
|
+
}
|
|
1469
|
+
function backdropGrayscale(value = "100%") {
|
|
1470
|
+
return filterRule("grayscale", value, "backdrop-filter");
|
|
1471
|
+
}
|
|
1472
|
+
function backdropHueRotate(value) {
|
|
1473
|
+
return filterRule("hue-rotate", value, "backdrop-filter");
|
|
1474
|
+
}
|
|
1475
|
+
function backdropInvert(value = "100%") {
|
|
1476
|
+
return filterRule("invert", value, "backdrop-filter");
|
|
1477
|
+
}
|
|
1478
|
+
function backdropOpacity(value) {
|
|
1479
|
+
return filterRule("opacity", value, "backdrop-filter");
|
|
1480
|
+
}
|
|
1481
|
+
function backdropSaturate(value) {
|
|
1482
|
+
return filterRule("saturate", value, "backdrop-filter");
|
|
1483
|
+
}
|
|
1484
|
+
function backdropSepia(value = "100%") {
|
|
1485
|
+
return filterRule("sepia", value, "backdrop-filter");
|
|
1486
|
+
}
|
|
1487
|
+
|
|
1488
|
+
// src/utilities/transforms.ts
|
|
1489
|
+
function transformRule(fn, value) {
|
|
1490
|
+
if (isDynamic(value)) {
|
|
1491
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1492
|
+
{ transform: `${fn}(var(${value.__id}))` },
|
|
1493
|
+
{ [value.__id]: String(value.__value) }
|
|
1494
|
+
);
|
|
1495
|
+
}
|
|
1496
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { transform: `${fn}(${value})` });
|
|
1497
|
+
}
|
|
1498
|
+
function scale(value) {
|
|
1499
|
+
if (isDynamic(value)) {
|
|
1500
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1501
|
+
{ transform: `scale(var(${value.__id}))` },
|
|
1502
|
+
{ [value.__id]: String(value.__value) }
|
|
1503
|
+
);
|
|
1504
|
+
}
|
|
1505
|
+
const v = typeof value === "number" ? String(value / 100) : value;
|
|
1506
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { transform: `scale(${v})` });
|
|
1507
|
+
}
|
|
1508
|
+
function scaleX(value) {
|
|
1509
|
+
if (isDynamic(value)) {
|
|
1510
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1511
|
+
{ transform: `scaleX(var(${value.__id}))` },
|
|
1512
|
+
{ [value.__id]: String(value.__value) }
|
|
1513
|
+
);
|
|
1514
|
+
}
|
|
1515
|
+
const v = typeof value === "number" ? String(value / 100) : value;
|
|
1516
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { transform: `scaleX(${v})` });
|
|
1517
|
+
}
|
|
1518
|
+
function scaleY(value) {
|
|
1519
|
+
if (isDynamic(value)) {
|
|
1520
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1521
|
+
{ transform: `scaleY(var(${value.__id}))` },
|
|
1522
|
+
{ [value.__id]: String(value.__value) }
|
|
1523
|
+
);
|
|
1524
|
+
}
|
|
1525
|
+
const v = typeof value === "number" ? String(value / 100) : value;
|
|
1526
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { transform: `scaleY(${v})` });
|
|
1527
|
+
}
|
|
1528
|
+
function rotate(value) {
|
|
1529
|
+
return transformRule("rotate", value);
|
|
1530
|
+
}
|
|
1531
|
+
function translateX(value) {
|
|
1532
|
+
if (typeof value === "number") return transformRule("translateX", _chunk34VD2OBFcjs.resolveSpacing.call(void 0, value));
|
|
1533
|
+
return transformRule("translateX", value);
|
|
1534
|
+
}
|
|
1535
|
+
function translateY(value) {
|
|
1536
|
+
if (typeof value === "number") return transformRule("translateY", _chunk34VD2OBFcjs.resolveSpacing.call(void 0, value));
|
|
1537
|
+
return transformRule("translateY", value);
|
|
1538
|
+
}
|
|
1539
|
+
function skewX(value) {
|
|
1540
|
+
return transformRule("skewX", value);
|
|
1541
|
+
}
|
|
1542
|
+
function skewY(value) {
|
|
1543
|
+
return transformRule("skewY", value);
|
|
1544
|
+
}
|
|
1545
|
+
function transformOrigin(value) {
|
|
1546
|
+
if (isDynamic(value)) {
|
|
1547
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1548
|
+
{ "transform-origin": `var(${value.__id})` },
|
|
1549
|
+
{ [value.__id]: String(value.__value) }
|
|
1550
|
+
);
|
|
1551
|
+
}
|
|
1552
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "transform-origin": value });
|
|
1553
|
+
}
|
|
1554
|
+
function transformGpu() {
|
|
1555
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { transform: "translate3d(0, 0, 0)" });
|
|
1556
|
+
}
|
|
1557
|
+
function transformNone() {
|
|
1558
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { transform: "none" });
|
|
1559
|
+
}
|
|
1560
|
+
|
|
1561
|
+
// src/utilities/transitions.ts
|
|
1562
|
+
var animateMap = {
|
|
1563
|
+
spin: _chunkCB7B6PHYcjs.spin,
|
|
1564
|
+
ping: _chunkCB7B6PHYcjs.ping,
|
|
1565
|
+
pulse: _chunkCB7B6PHYcjs.pulse,
|
|
1566
|
+
bounce: _chunkCB7B6PHYcjs.bounce,
|
|
1567
|
+
none: "none"
|
|
1568
|
+
};
|
|
1569
|
+
function transition() {
|
|
1570
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, {
|
|
1571
|
+
"transition-property": "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
|
|
1572
|
+
"transition-timing-function": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
1573
|
+
"transition-duration": "150ms"
|
|
1574
|
+
});
|
|
1575
|
+
}
|
|
1576
|
+
function transitionAll() {
|
|
1577
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, {
|
|
1578
|
+
"transition-property": "all",
|
|
1579
|
+
"transition-timing-function": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
1580
|
+
"transition-duration": "150ms"
|
|
1581
|
+
});
|
|
1582
|
+
}
|
|
1583
|
+
function transitionColors() {
|
|
1584
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, {
|
|
1585
|
+
"transition-property": "color, background-color, border-color, text-decoration-color, fill, stroke",
|
|
1586
|
+
"transition-timing-function": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
1587
|
+
"transition-duration": "150ms"
|
|
1588
|
+
});
|
|
1589
|
+
}
|
|
1590
|
+
function transitionOpacity() {
|
|
1591
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, {
|
|
1592
|
+
"transition-property": "opacity",
|
|
1593
|
+
"transition-timing-function": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
1594
|
+
"transition-duration": "150ms"
|
|
1595
|
+
});
|
|
1596
|
+
}
|
|
1597
|
+
function transitionShadow() {
|
|
1598
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, {
|
|
1599
|
+
"transition-property": "box-shadow",
|
|
1600
|
+
"transition-timing-function": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
1601
|
+
"transition-duration": "150ms"
|
|
1602
|
+
});
|
|
1603
|
+
}
|
|
1604
|
+
function transitionTransform() {
|
|
1605
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, {
|
|
1606
|
+
"transition-property": "transform",
|
|
1607
|
+
"transition-timing-function": "cubic-bezier(0.4, 0, 0.2, 1)",
|
|
1608
|
+
"transition-duration": "150ms"
|
|
1609
|
+
});
|
|
1610
|
+
}
|
|
1611
|
+
function transitionNone() {
|
|
1612
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "transition-property": "none" });
|
|
1613
|
+
}
|
|
1614
|
+
function duration(value) {
|
|
1615
|
+
if (isDynamic(value)) {
|
|
1616
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1617
|
+
{ "transition-duration": `var(${value.__id})` },
|
|
1618
|
+
{ [value.__id]: String(value.__value) }
|
|
1619
|
+
);
|
|
1620
|
+
}
|
|
1621
|
+
const v = typeof value === "number" ? `${value}ms` : value;
|
|
1622
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "transition-duration": v });
|
|
1623
|
+
}
|
|
1624
|
+
function ease(value) {
|
|
1625
|
+
if (isDynamic(value)) {
|
|
1626
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1627
|
+
{ "transition-timing-function": `var(${value.__id})` },
|
|
1628
|
+
{ [value.__id]: String(value.__value) }
|
|
1629
|
+
);
|
|
1630
|
+
}
|
|
1631
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "transition-timing-function": value });
|
|
1632
|
+
}
|
|
1633
|
+
function delay(value) {
|
|
1634
|
+
if (isDynamic(value)) {
|
|
1635
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1636
|
+
{ "transition-delay": `var(${value.__id})` },
|
|
1637
|
+
{ [value.__id]: String(value.__value) }
|
|
1638
|
+
);
|
|
1639
|
+
}
|
|
1640
|
+
const v = typeof value === "number" ? `${value}ms` : value;
|
|
1641
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "transition-delay": v });
|
|
1642
|
+
}
|
|
1643
|
+
function animate(value) {
|
|
1644
|
+
if (isDynamic(value)) {
|
|
1645
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1646
|
+
{ animation: `var(${value.__id})` },
|
|
1647
|
+
{ [value.__id]: String(value.__value) }
|
|
1648
|
+
);
|
|
1649
|
+
}
|
|
1650
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { animation: _nullishCoalesce(animateMap[value], () => ( value)) });
|
|
1651
|
+
}
|
|
1652
|
+
|
|
1653
|
+
// src/utilities/tables.ts
|
|
1654
|
+
function borderCollapse() {
|
|
1655
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-collapse": "collapse" });
|
|
1656
|
+
}
|
|
1657
|
+
function borderSeparate() {
|
|
1658
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-collapse": "separate" });
|
|
1659
|
+
}
|
|
1660
|
+
function borderSpacing(value) {
|
|
1661
|
+
if (isDynamic(value)) {
|
|
1662
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1663
|
+
{ "border-spacing": `var(${value.__id})` },
|
|
1664
|
+
{ [value.__id]: String(value.__value) }
|
|
1665
|
+
);
|
|
1666
|
+
}
|
|
1667
|
+
const v = typeof value === "number" ? _chunk34VD2OBFcjs.resolveSpacing.call(void 0, value) : value;
|
|
1668
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-spacing": v });
|
|
1669
|
+
}
|
|
1670
|
+
function borderSpacingX(value) {
|
|
1671
|
+
if (isDynamic(value)) {
|
|
1672
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1673
|
+
{ "border-spacing": `var(${value.__id}) 0` },
|
|
1674
|
+
{ [value.__id]: String(value.__value) }
|
|
1675
|
+
);
|
|
1676
|
+
}
|
|
1677
|
+
const v = typeof value === "number" ? _chunk34VD2OBFcjs.resolveSpacing.call(void 0, value) : value;
|
|
1678
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-spacing": `${v} 0` });
|
|
1679
|
+
}
|
|
1680
|
+
function borderSpacingY(value) {
|
|
1681
|
+
if (isDynamic(value)) {
|
|
1682
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1683
|
+
{ "border-spacing": `0 var(${value.__id})` },
|
|
1684
|
+
{ [value.__id]: String(value.__value) }
|
|
1685
|
+
);
|
|
1686
|
+
}
|
|
1687
|
+
const v = typeof value === "number" ? _chunk34VD2OBFcjs.resolveSpacing.call(void 0, value) : value;
|
|
1688
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "border-spacing": `0 ${v}` });
|
|
1689
|
+
}
|
|
1690
|
+
function tableLayout(value) {
|
|
1691
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "table-layout": value });
|
|
1692
|
+
}
|
|
1693
|
+
function captionSide(value) {
|
|
1694
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "caption-side": value });
|
|
1695
|
+
}
|
|
1696
|
+
|
|
1697
|
+
// src/utilities/svg.ts
|
|
1698
|
+
function fill(value) {
|
|
1699
|
+
if (isDynamic(value)) {
|
|
1700
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1701
|
+
{ fill: `var(${value.__id})` },
|
|
1702
|
+
{ [value.__id]: String(value.__value) }
|
|
1703
|
+
);
|
|
1704
|
+
}
|
|
1705
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { fill: resolveColor(value) });
|
|
1706
|
+
}
|
|
1707
|
+
function stroke(value) {
|
|
1708
|
+
if (isDynamic(value)) {
|
|
1709
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1710
|
+
{ stroke: `var(${value.__id})` },
|
|
1711
|
+
{ [value.__id]: String(value.__value) }
|
|
1712
|
+
);
|
|
1713
|
+
}
|
|
1714
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { stroke: resolveColor(value) });
|
|
1715
|
+
}
|
|
1716
|
+
function strokeWidth(value) {
|
|
1717
|
+
if (isDynamic(value)) {
|
|
1718
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1719
|
+
{ "stroke-width": `var(${value.__id})` },
|
|
1720
|
+
{ [value.__id]: String(value.__value) }
|
|
1721
|
+
);
|
|
1722
|
+
}
|
|
1723
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "stroke-width": String(value) });
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
// src/utilities/accessibility.ts
|
|
1727
|
+
function srOnly() {
|
|
1728
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, {
|
|
1729
|
+
position: "absolute",
|
|
1730
|
+
width: "1px",
|
|
1731
|
+
height: "1px",
|
|
1732
|
+
padding: "0",
|
|
1733
|
+
margin: "-1px",
|
|
1734
|
+
overflow: "hidden",
|
|
1735
|
+
clip: "rect(0, 0, 0, 0)",
|
|
1736
|
+
"white-space": "nowrap",
|
|
1737
|
+
"border-width": "0"
|
|
1738
|
+
});
|
|
1739
|
+
}
|
|
1740
|
+
function notSrOnly() {
|
|
1741
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, {
|
|
1742
|
+
position: "static",
|
|
1743
|
+
width: "auto",
|
|
1744
|
+
height: "auto",
|
|
1745
|
+
padding: "0",
|
|
1746
|
+
margin: "0",
|
|
1747
|
+
overflow: "visible",
|
|
1748
|
+
clip: "auto",
|
|
1749
|
+
"white-space": "normal"
|
|
1750
|
+
});
|
|
1751
|
+
}
|
|
1752
|
+
function forcedColorAdjust(value) {
|
|
1753
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "forced-color-adjust": value });
|
|
1754
|
+
}
|
|
1755
|
+
|
|
1756
|
+
// src/utilities/backgrounds.ts
|
|
1757
|
+
function bgAttachment(value) {
|
|
1758
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "background-attachment": value });
|
|
1759
|
+
}
|
|
1760
|
+
function bgClip(value) {
|
|
1761
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "background-clip": value });
|
|
1762
|
+
}
|
|
1763
|
+
function bgOrigin(value) {
|
|
1764
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "background-origin": value });
|
|
1765
|
+
}
|
|
1766
|
+
function bgPosition(value) {
|
|
1767
|
+
if (isDynamic(value)) {
|
|
1768
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1769
|
+
{ "background-position": `var(${value.__id})` },
|
|
1770
|
+
{ [value.__id]: String(value.__value) }
|
|
1771
|
+
);
|
|
1772
|
+
}
|
|
1773
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "background-position": value });
|
|
1774
|
+
}
|
|
1775
|
+
function bgRepeat(value) {
|
|
1776
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "background-repeat": value });
|
|
1777
|
+
}
|
|
1778
|
+
function bgSize(value) {
|
|
1779
|
+
if (isDynamic(value)) {
|
|
1780
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1781
|
+
{ "background-size": `var(${value.__id})` },
|
|
1782
|
+
{ [value.__id]: String(value.__value) }
|
|
1783
|
+
);
|
|
1784
|
+
}
|
|
1785
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "background-size": value });
|
|
1786
|
+
}
|
|
1787
|
+
function bgImage(value) {
|
|
1788
|
+
if (isDynamic(value)) {
|
|
1789
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1790
|
+
{ "background-image": `var(${value.__id})` },
|
|
1791
|
+
{ [value.__id]: String(value.__value) }
|
|
1792
|
+
);
|
|
1793
|
+
}
|
|
1794
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "background-image": value });
|
|
1795
|
+
}
|
|
1796
|
+
function bgGradient(direction = "to right") {
|
|
1797
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, {
|
|
1798
|
+
"background-image": `linear-gradient(${direction}, var(--twc-gradient-stops, var(--twc-gradient-from, transparent), var(--twc-gradient-to, transparent)))`
|
|
1799
|
+
});
|
|
1800
|
+
}
|
|
1801
|
+
function gradientFrom(color) {
|
|
1802
|
+
if (isDynamic(color)) {
|
|
1803
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1804
|
+
{ "--twc-gradient-from": `var(${color.__id})` },
|
|
1805
|
+
{ [color.__id]: String(color.__value) }
|
|
1806
|
+
);
|
|
1807
|
+
}
|
|
1808
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "--twc-gradient-from": resolveColor(color) });
|
|
1809
|
+
}
|
|
1810
|
+
function gradientVia(color) {
|
|
1811
|
+
if (isDynamic(color)) {
|
|
1812
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1813
|
+
{ "--twc-gradient-via": `var(${color.__id})`, "--twc-gradient-stops": "var(--twc-gradient-from, transparent), var(--twc-gradient-via), var(--twc-gradient-to, transparent)" },
|
|
1814
|
+
{ [color.__id]: String(color.__value) }
|
|
1815
|
+
);
|
|
1816
|
+
}
|
|
1817
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "--twc-gradient-via": resolveColor(color), "--twc-gradient-stops": "var(--twc-gradient-from, transparent), var(--twc-gradient-via), var(--twc-gradient-to, transparent)" });
|
|
1818
|
+
}
|
|
1819
|
+
function gradientTo(color) {
|
|
1820
|
+
if (isDynamic(color)) {
|
|
1821
|
+
return _chunkPTY5FTFBcjs.createDynamicRule.call(void 0,
|
|
1822
|
+
{ "--twc-gradient-to": `var(${color.__id})` },
|
|
1823
|
+
{ [color.__id]: String(color.__value) }
|
|
1824
|
+
);
|
|
1825
|
+
}
|
|
1826
|
+
return _chunkPTY5FTFBcjs.createRule.call(void 0, { "--twc-gradient-to": resolveColor(color) });
|
|
1827
|
+
}
|
|
1828
|
+
|
|
1829
|
+
// src/modifiers/pseudo.ts
|
|
1830
|
+
var hover = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":hover");
|
|
1831
|
+
var focus = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":focus");
|
|
1832
|
+
var active = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":active");
|
|
1833
|
+
var disabled = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":disabled");
|
|
1834
|
+
var focusVisible = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":focus-visible");
|
|
1835
|
+
var focusWithin = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":focus-within");
|
|
1836
|
+
var firstChild = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":first-child");
|
|
1837
|
+
var lastChild = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":last-child");
|
|
1838
|
+
var visited = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":visited");
|
|
1839
|
+
var checked = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":checked");
|
|
1840
|
+
var indeterminate = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":indeterminate");
|
|
1841
|
+
var default_ = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":default");
|
|
1842
|
+
var required_ = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":required");
|
|
1843
|
+
var valid = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":valid");
|
|
1844
|
+
var invalid = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":invalid");
|
|
1845
|
+
var inRange = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":in-range");
|
|
1846
|
+
var outOfRange = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":out-of-range");
|
|
1847
|
+
var placeholderShown = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":placeholder-shown");
|
|
1848
|
+
var autofill = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":autofill");
|
|
1849
|
+
var readOnly = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":read-only");
|
|
1850
|
+
var empty = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":empty");
|
|
1851
|
+
var even = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":nth-child(even)");
|
|
1852
|
+
var odd = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":nth-child(odd)");
|
|
1853
|
+
var firstOfType = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":first-of-type");
|
|
1854
|
+
var lastOfType = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":last-of-type");
|
|
1855
|
+
var onlyChild = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":only-child");
|
|
1856
|
+
var onlyOfType = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":only-of-type");
|
|
1857
|
+
var target = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, ":target");
|
|
1858
|
+
var open_ = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, "[open]");
|
|
1859
|
+
function has_(selector) {
|
|
1860
|
+
return (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, `:has(${selector})`);
|
|
1861
|
+
}
|
|
1862
|
+
|
|
1863
|
+
// src/modifiers/responsive.ts
|
|
1864
|
+
var sm3 = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(min-width: 640px)");
|
|
1865
|
+
var md3 = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(min-width: 768px)");
|
|
1866
|
+
var lg3 = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(min-width: 1024px)");
|
|
1867
|
+
var xl3 = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(min-width: 1280px)");
|
|
1868
|
+
var _2xl3 = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(min-width: 1536px)");
|
|
1869
|
+
var maxSm = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(max-width: 639px)");
|
|
1870
|
+
var maxMd = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(max-width: 767px)");
|
|
1871
|
+
var maxLg = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(max-width: 1023px)");
|
|
1872
|
+
var maxXl = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(max-width: 1279px)");
|
|
1873
|
+
var max2xl = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(max-width: 1535px)");
|
|
1874
|
+
|
|
1875
|
+
// src/modifiers/colorScheme.ts
|
|
1876
|
+
var dark = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(prefers-color-scheme: dark)");
|
|
1877
|
+
|
|
1878
|
+
// src/modifiers/media.ts
|
|
1879
|
+
var motionReduce = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(prefers-reduced-motion: reduce)");
|
|
1880
|
+
var motionSafe = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(prefers-reduced-motion: no-preference)");
|
|
1881
|
+
var print_ = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "print");
|
|
1882
|
+
var portrait = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(orientation: portrait)");
|
|
1883
|
+
var landscape = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(orientation: landscape)");
|
|
1884
|
+
var contrastMore = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(prefers-contrast: more)");
|
|
1885
|
+
var contrastLess = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(prefers-contrast: less)");
|
|
1886
|
+
var forcedColors = (rule) => _chunkPTY5FTFBcjs.wrapWithMediaQuery.call(void 0, rule, "(forced-colors: active)");
|
|
1887
|
+
|
|
1888
|
+
// src/modifiers/pseudoElements.ts
|
|
1889
|
+
var before = (rule) => {
|
|
1890
|
+
const result = _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, "::before");
|
|
1891
|
+
if (!result.declarations.content) {
|
|
1892
|
+
result.declarations = { content: '""', ...result.declarations };
|
|
1893
|
+
}
|
|
1894
|
+
return result;
|
|
1895
|
+
};
|
|
1896
|
+
var after = (rule) => {
|
|
1897
|
+
const result = _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, "::after");
|
|
1898
|
+
if (!result.declarations.content) {
|
|
1899
|
+
result.declarations = { content: '""', ...result.declarations };
|
|
1900
|
+
}
|
|
1901
|
+
return result;
|
|
1902
|
+
};
|
|
1903
|
+
var placeholder_ = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, "::placeholder");
|
|
1904
|
+
var file_ = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, "::file-selector-button");
|
|
1905
|
+
var marker = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, "::marker");
|
|
1906
|
+
var selection_ = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, "::selection");
|
|
1907
|
+
var firstLine = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, "::first-line");
|
|
1908
|
+
var firstLetter = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, "::first-letter");
|
|
1909
|
+
var backdrop_ = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, "::backdrop");
|
|
1910
|
+
|
|
1911
|
+
// src/modifiers/aria.ts
|
|
1912
|
+
var ariaChecked = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, '[aria-checked="true"]');
|
|
1913
|
+
var ariaDisabled = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, '[aria-disabled="true"]');
|
|
1914
|
+
var ariaExpanded = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, '[aria-expanded="true"]');
|
|
1915
|
+
var ariaHidden = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, '[aria-hidden="true"]');
|
|
1916
|
+
var ariaPressed = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, '[aria-pressed="true"]');
|
|
1917
|
+
var ariaReadonly = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, '[aria-readonly="true"]');
|
|
1918
|
+
var ariaRequired = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, '[aria-required="true"]');
|
|
1919
|
+
var ariaSelected = (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, '[aria-selected="true"]');
|
|
1920
|
+
function aria(attr) {
|
|
1921
|
+
return (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, `[aria-${attr}]`);
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
// src/modifiers/data.ts
|
|
1925
|
+
function data(attr) {
|
|
1926
|
+
return (rule) => _chunkPTY5FTFBcjs.wrapWithSelector.call(void 0, rule, `[data-${attr}]`);
|
|
1927
|
+
}
|
|
1928
|
+
|
|
1929
|
+
// src/modifiers/supports.ts
|
|
1930
|
+
function supports(query) {
|
|
1931
|
+
return (rule) => _chunkPTY5FTFBcjs.wrapWithSupportsQuery.call(void 0, rule, query);
|
|
1932
|
+
}
|
|
1933
|
+
|
|
1934
|
+
// src/modifiers/group.ts
|
|
1935
|
+
var groupHover = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group:hover &");
|
|
1936
|
+
var groupFocus = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group:focus &");
|
|
1937
|
+
var groupActive = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group:active &");
|
|
1938
|
+
var groupFocusVisible = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group:focus-visible &");
|
|
1939
|
+
var groupFocusWithin = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group:focus-within &");
|
|
1940
|
+
var groupDisabled = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group:disabled &");
|
|
1941
|
+
var groupChecked = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group:checked &");
|
|
1942
|
+
var groupEmpty = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group:empty &");
|
|
1943
|
+
var groupFirst = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group:first-child &");
|
|
1944
|
+
var groupLast = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group:last-child &");
|
|
1945
|
+
var groupOdd = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group:nth-child(odd) &");
|
|
1946
|
+
var groupEven = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group:nth-child(even) &");
|
|
1947
|
+
var groupOpen = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group[open] &");
|
|
1948
|
+
var groupVisited = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".group:visited &");
|
|
1949
|
+
function groupHas(selector) {
|
|
1950
|
+
return (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, `.group:has(${selector}) &`);
|
|
1951
|
+
}
|
|
1952
|
+
|
|
1953
|
+
// src/modifiers/peer.ts
|
|
1954
|
+
var peerHover = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:hover ~ &");
|
|
1955
|
+
var peerFocus = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:focus ~ &");
|
|
1956
|
+
var peerActive = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:active ~ &");
|
|
1957
|
+
var peerFocusVisible = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:focus-visible ~ &");
|
|
1958
|
+
var peerDisabled = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:disabled ~ &");
|
|
1959
|
+
var peerChecked = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:checked ~ &");
|
|
1960
|
+
var peerInvalid = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:invalid ~ &");
|
|
1961
|
+
var peerRequired = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:required ~ &");
|
|
1962
|
+
var peerPlaceholderShown = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:placeholder-shown ~ &");
|
|
1963
|
+
var peerFocusWithin = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:focus-within ~ &");
|
|
1964
|
+
var peerEmpty = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:empty ~ &");
|
|
1965
|
+
var peerFirst = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:first-child ~ &");
|
|
1966
|
+
var peerLast = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:last-child ~ &");
|
|
1967
|
+
var peerOdd = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:nth-child(odd) ~ &");
|
|
1968
|
+
var peerEven = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:nth-child(even) ~ &");
|
|
1969
|
+
var peerOpen = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer[open] ~ &");
|
|
1970
|
+
var peerVisited = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, ".peer:visited ~ &");
|
|
1971
|
+
function peerHas(selector) {
|
|
1972
|
+
return (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, `.peer:has(${selector}) ~ &`);
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
// src/modifiers/direction.ts
|
|
1976
|
+
var rtl = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, '[dir="rtl"] &');
|
|
1977
|
+
var ltr = (rule) => _chunkPTY5FTFBcjs.wrapWithSelectorTemplate.call(void 0, rule, '[dir="ltr"] &');
|
|
1978
|
+
|
|
1979
|
+
// src/tw.ts
|
|
1980
|
+
var UTILS = {
|
|
1981
|
+
// Spacing
|
|
1982
|
+
p,
|
|
1983
|
+
px,
|
|
1984
|
+
py,
|
|
1985
|
+
pt,
|
|
1986
|
+
pr,
|
|
1987
|
+
pb,
|
|
1988
|
+
pl,
|
|
1989
|
+
m,
|
|
1990
|
+
mx,
|
|
1991
|
+
my,
|
|
1992
|
+
mt,
|
|
1993
|
+
mr,
|
|
1994
|
+
mb,
|
|
1995
|
+
ml,
|
|
1996
|
+
gap,
|
|
1997
|
+
gapX,
|
|
1998
|
+
gapY,
|
|
1999
|
+
ps,
|
|
2000
|
+
pe,
|
|
2001
|
+
ms,
|
|
2002
|
+
me,
|
|
2003
|
+
spaceX,
|
|
2004
|
+
spaceY,
|
|
2005
|
+
// Colors
|
|
2006
|
+
bg,
|
|
2007
|
+
textColor,
|
|
2008
|
+
borderColor,
|
|
2009
|
+
// Typography
|
|
2010
|
+
text,
|
|
2011
|
+
font,
|
|
2012
|
+
tracking,
|
|
2013
|
+
leading,
|
|
2014
|
+
textAlign,
|
|
2015
|
+
fontFamily,
|
|
2016
|
+
lineClamp,
|
|
2017
|
+
listStyleImage,
|
|
2018
|
+
listStylePosition,
|
|
2019
|
+
listStyleType,
|
|
2020
|
+
textDecoration,
|
|
2021
|
+
textDecorationColor,
|
|
2022
|
+
textDecorationStyle,
|
|
2023
|
+
textDecorationThickness,
|
|
2024
|
+
textUnderlineOffset,
|
|
2025
|
+
textTransform,
|
|
2026
|
+
textOverflow,
|
|
2027
|
+
textWrap,
|
|
2028
|
+
textIndent,
|
|
2029
|
+
verticalAlign,
|
|
2030
|
+
whitespace,
|
|
2031
|
+
wordBreak,
|
|
2032
|
+
hyphens,
|
|
2033
|
+
content: content_,
|
|
2034
|
+
// Layout
|
|
2035
|
+
grid,
|
|
2036
|
+
gridCols,
|
|
2037
|
+
gridRows,
|
|
2038
|
+
w,
|
|
2039
|
+
h,
|
|
2040
|
+
size,
|
|
2041
|
+
minW,
|
|
2042
|
+
minH,
|
|
2043
|
+
maxW,
|
|
2044
|
+
maxH,
|
|
2045
|
+
display,
|
|
2046
|
+
items,
|
|
2047
|
+
justify,
|
|
2048
|
+
self,
|
|
2049
|
+
overflow,
|
|
2050
|
+
overflowX,
|
|
2051
|
+
overflowY,
|
|
2052
|
+
top,
|
|
2053
|
+
right,
|
|
2054
|
+
bottom,
|
|
2055
|
+
left,
|
|
2056
|
+
inset,
|
|
2057
|
+
z,
|
|
2058
|
+
aspectRatio,
|
|
2059
|
+
columns,
|
|
2060
|
+
breakAfter,
|
|
2061
|
+
breakBefore,
|
|
2062
|
+
breakInside,
|
|
2063
|
+
boxDecorationBreak,
|
|
2064
|
+
boxSizing,
|
|
2065
|
+
float: float_,
|
|
2066
|
+
clear: clear_,
|
|
2067
|
+
objectFit,
|
|
2068
|
+
objectPosition,
|
|
2069
|
+
overscrollBehavior,
|
|
2070
|
+
overscrollX,
|
|
2071
|
+
overscrollY,
|
|
2072
|
+
insetX,
|
|
2073
|
+
insetY,
|
|
2074
|
+
start,
|
|
2075
|
+
end,
|
|
2076
|
+
flexBasis,
|
|
2077
|
+
grow,
|
|
2078
|
+
shrink,
|
|
2079
|
+
order,
|
|
2080
|
+
colSpan,
|
|
2081
|
+
colStart,
|
|
2082
|
+
colEnd,
|
|
2083
|
+
rowSpan,
|
|
2084
|
+
rowStart,
|
|
2085
|
+
rowEnd,
|
|
2086
|
+
gridFlow,
|
|
2087
|
+
autoCols,
|
|
2088
|
+
autoRows,
|
|
2089
|
+
justifyItems,
|
|
2090
|
+
justifySelf,
|
|
2091
|
+
alignContent,
|
|
2092
|
+
placeContent,
|
|
2093
|
+
placeItems,
|
|
2094
|
+
placeSelf,
|
|
2095
|
+
// Borders
|
|
2096
|
+
rounded,
|
|
2097
|
+
roundedT,
|
|
2098
|
+
roundedB,
|
|
2099
|
+
roundedL,
|
|
2100
|
+
roundedR,
|
|
2101
|
+
roundedTL,
|
|
2102
|
+
roundedTR,
|
|
2103
|
+
roundedBR,
|
|
2104
|
+
roundedBL,
|
|
2105
|
+
roundedSS,
|
|
2106
|
+
roundedSE,
|
|
2107
|
+
roundedEE,
|
|
2108
|
+
roundedES,
|
|
2109
|
+
border,
|
|
2110
|
+
borderT,
|
|
2111
|
+
borderR,
|
|
2112
|
+
borderB,
|
|
2113
|
+
borderL,
|
|
2114
|
+
borderX,
|
|
2115
|
+
borderY,
|
|
2116
|
+
borderS,
|
|
2117
|
+
borderE,
|
|
2118
|
+
borderStyle,
|
|
2119
|
+
ring,
|
|
2120
|
+
ringColor,
|
|
2121
|
+
ringOffsetWidth,
|
|
2122
|
+
ringOffsetColor,
|
|
2123
|
+
outlineWidth,
|
|
2124
|
+
outlineColor,
|
|
2125
|
+
outlineStyle,
|
|
2126
|
+
outlineOffset,
|
|
2127
|
+
outline,
|
|
2128
|
+
divideX,
|
|
2129
|
+
divideY,
|
|
2130
|
+
divideColor,
|
|
2131
|
+
divideStyle,
|
|
2132
|
+
// Effects
|
|
2133
|
+
shadow,
|
|
2134
|
+
opacity,
|
|
2135
|
+
backdrop,
|
|
2136
|
+
shadowColor,
|
|
2137
|
+
mixBlendMode,
|
|
2138
|
+
bgBlendMode,
|
|
2139
|
+
// Interactivity
|
|
2140
|
+
cursor,
|
|
2141
|
+
select,
|
|
2142
|
+
pointerEvents,
|
|
2143
|
+
accentColor,
|
|
2144
|
+
appearance,
|
|
2145
|
+
caretColor,
|
|
2146
|
+
resize,
|
|
2147
|
+
scrollBehavior,
|
|
2148
|
+
scrollMargin,
|
|
2149
|
+
scrollMarginX,
|
|
2150
|
+
scrollMarginY,
|
|
2151
|
+
scrollMarginT,
|
|
2152
|
+
scrollMarginR,
|
|
2153
|
+
scrollMarginB,
|
|
2154
|
+
scrollMarginL,
|
|
2155
|
+
scrollPadding,
|
|
2156
|
+
scrollPaddingX,
|
|
2157
|
+
scrollPaddingY,
|
|
2158
|
+
scrollPaddingT,
|
|
2159
|
+
scrollPaddingR,
|
|
2160
|
+
scrollPaddingB,
|
|
2161
|
+
scrollPaddingL,
|
|
2162
|
+
snapAlign,
|
|
2163
|
+
snapStop,
|
|
2164
|
+
snapType,
|
|
2165
|
+
touchAction,
|
|
2166
|
+
willChange,
|
|
2167
|
+
// Filters
|
|
2168
|
+
blur: blur2,
|
|
2169
|
+
brightness,
|
|
2170
|
+
contrast,
|
|
2171
|
+
dropShadow: dropShadow2,
|
|
2172
|
+
grayscale,
|
|
2173
|
+
hueRotate,
|
|
2174
|
+
invert,
|
|
2175
|
+
saturate,
|
|
2176
|
+
sepia,
|
|
2177
|
+
backdropBlur,
|
|
2178
|
+
backdropBrightness,
|
|
2179
|
+
backdropContrast,
|
|
2180
|
+
backdropGrayscale,
|
|
2181
|
+
backdropHueRotate,
|
|
2182
|
+
backdropInvert,
|
|
2183
|
+
backdropOpacity,
|
|
2184
|
+
backdropSaturate,
|
|
2185
|
+
backdropSepia,
|
|
2186
|
+
// Transforms
|
|
2187
|
+
scale,
|
|
2188
|
+
scaleX,
|
|
2189
|
+
scaleY,
|
|
2190
|
+
rotate,
|
|
2191
|
+
translateX,
|
|
2192
|
+
translateY,
|
|
2193
|
+
skewX,
|
|
2194
|
+
skewY,
|
|
2195
|
+
transformOrigin,
|
|
2196
|
+
// Transitions
|
|
2197
|
+
transition,
|
|
2198
|
+
duration,
|
|
2199
|
+
ease,
|
|
2200
|
+
delay,
|
|
2201
|
+
animate,
|
|
2202
|
+
// Tables
|
|
2203
|
+
borderSpacing,
|
|
2204
|
+
borderSpacingX,
|
|
2205
|
+
borderSpacingY,
|
|
2206
|
+
tableLayout,
|
|
2207
|
+
captionSide,
|
|
2208
|
+
// SVG
|
|
2209
|
+
fill,
|
|
2210
|
+
stroke,
|
|
2211
|
+
strokeWidth,
|
|
2212
|
+
// Accessibility
|
|
2213
|
+
forcedColorAdjust,
|
|
2214
|
+
// Backgrounds
|
|
2215
|
+
bgAttachment,
|
|
2216
|
+
bgClip,
|
|
2217
|
+
bgOrigin,
|
|
2218
|
+
bgPosition,
|
|
2219
|
+
bgRepeat,
|
|
2220
|
+
bgSize,
|
|
2221
|
+
bgImage,
|
|
2222
|
+
bgGradient,
|
|
2223
|
+
gradientFrom,
|
|
2224
|
+
gradientVia,
|
|
2225
|
+
gradientTo
|
|
2226
|
+
};
|
|
2227
|
+
var VALUELESS = {
|
|
2228
|
+
// Layout
|
|
2229
|
+
flex,
|
|
2230
|
+
flexCol,
|
|
2231
|
+
flexRow,
|
|
2232
|
+
flexWrap,
|
|
2233
|
+
inlineFlex,
|
|
2234
|
+
relative,
|
|
2235
|
+
absolute,
|
|
2236
|
+
fixed,
|
|
2237
|
+
sticky,
|
|
2238
|
+
static: static_,
|
|
2239
|
+
visible,
|
|
2240
|
+
invisible,
|
|
2241
|
+
collapse: collapse_,
|
|
2242
|
+
isolate,
|
|
2243
|
+
isolationAuto,
|
|
2244
|
+
container,
|
|
2245
|
+
flexRowReverse,
|
|
2246
|
+
flexColReverse,
|
|
2247
|
+
flexWrapReverse,
|
|
2248
|
+
flexNowrap,
|
|
2249
|
+
flex1,
|
|
2250
|
+
flexAuto,
|
|
2251
|
+
flexInitial,
|
|
2252
|
+
flexNone,
|
|
2253
|
+
// Typography
|
|
2254
|
+
antialiased,
|
|
2255
|
+
subpixelAntialiased,
|
|
2256
|
+
italic,
|
|
2257
|
+
notItalic,
|
|
2258
|
+
truncate,
|
|
2259
|
+
normalNums,
|
|
2260
|
+
ordinal,
|
|
2261
|
+
slashedZero,
|
|
2262
|
+
liningNums,
|
|
2263
|
+
oldstyleNums,
|
|
2264
|
+
proportionalNums,
|
|
2265
|
+
tabularNums,
|
|
2266
|
+
diagonalFractions,
|
|
2267
|
+
stackedFractions,
|
|
2268
|
+
// Borders
|
|
2269
|
+
ringInset,
|
|
2270
|
+
outlineNone,
|
|
2271
|
+
borderCollapse,
|
|
2272
|
+
borderSeparate,
|
|
2273
|
+
spaceXReverse,
|
|
2274
|
+
spaceYReverse,
|
|
2275
|
+
divideXReverse,
|
|
2276
|
+
divideYReverse,
|
|
2277
|
+
// Transforms
|
|
2278
|
+
transformGpu,
|
|
2279
|
+
transformNone,
|
|
2280
|
+
// Transitions
|
|
2281
|
+
transitionAll,
|
|
2282
|
+
transitionColors,
|
|
2283
|
+
transitionOpacity,
|
|
2284
|
+
transitionShadow,
|
|
2285
|
+
transitionTransform,
|
|
2286
|
+
transitionNone,
|
|
2287
|
+
// Accessibility
|
|
2288
|
+
srOnly,
|
|
2289
|
+
notSrOnly,
|
|
2290
|
+
// Raw class names
|
|
2291
|
+
group: "group",
|
|
2292
|
+
peer: "peer"
|
|
2293
|
+
};
|
|
2294
|
+
var MODS = {
|
|
2295
|
+
// Pseudo-classes
|
|
2296
|
+
hover,
|
|
2297
|
+
focus,
|
|
2298
|
+
active,
|
|
2299
|
+
disabled,
|
|
2300
|
+
focusVisible,
|
|
2301
|
+
focusWithin,
|
|
2302
|
+
firstChild,
|
|
2303
|
+
lastChild,
|
|
2304
|
+
visited,
|
|
2305
|
+
checked,
|
|
2306
|
+
indeterminate,
|
|
2307
|
+
default: default_,
|
|
2308
|
+
required: required_,
|
|
2309
|
+
valid,
|
|
2310
|
+
invalid,
|
|
2311
|
+
inRange,
|
|
2312
|
+
outOfRange,
|
|
2313
|
+
placeholderShown,
|
|
2314
|
+
autofill,
|
|
2315
|
+
readOnly,
|
|
2316
|
+
empty,
|
|
2317
|
+
even,
|
|
2318
|
+
odd,
|
|
2319
|
+
firstOfType,
|
|
2320
|
+
lastOfType,
|
|
2321
|
+
onlyChild,
|
|
2322
|
+
onlyOfType,
|
|
2323
|
+
target,
|
|
2324
|
+
open: open_,
|
|
2325
|
+
// Responsive
|
|
2326
|
+
sm: sm3,
|
|
2327
|
+
md: md3,
|
|
2328
|
+
lg: lg3,
|
|
2329
|
+
xl: xl3,
|
|
2330
|
+
_2xl: _2xl3,
|
|
2331
|
+
maxSm,
|
|
2332
|
+
maxMd,
|
|
2333
|
+
maxLg,
|
|
2334
|
+
maxXl,
|
|
2335
|
+
max2xl,
|
|
2336
|
+
// Color scheme
|
|
2337
|
+
dark,
|
|
2338
|
+
// Media
|
|
2339
|
+
motionReduce,
|
|
2340
|
+
motionSafe,
|
|
2341
|
+
print: print_,
|
|
2342
|
+
portrait,
|
|
2343
|
+
landscape,
|
|
2344
|
+
contrastMore,
|
|
2345
|
+
contrastLess,
|
|
2346
|
+
forcedColors,
|
|
2347
|
+
// Pseudo-elements
|
|
2348
|
+
before,
|
|
2349
|
+
after,
|
|
2350
|
+
placeholder: placeholder_,
|
|
2351
|
+
file: file_,
|
|
2352
|
+
marker,
|
|
2353
|
+
selection: selection_,
|
|
2354
|
+
firstLine,
|
|
2355
|
+
firstLetter,
|
|
2356
|
+
backdropEl: backdrop_,
|
|
2357
|
+
// ARIA
|
|
2358
|
+
ariaChecked,
|
|
2359
|
+
ariaDisabled,
|
|
2360
|
+
ariaExpanded,
|
|
2361
|
+
ariaHidden,
|
|
2362
|
+
ariaPressed,
|
|
2363
|
+
ariaReadonly,
|
|
2364
|
+
ariaRequired,
|
|
2365
|
+
ariaSelected,
|
|
2366
|
+
// Group
|
|
2367
|
+
groupHover,
|
|
2368
|
+
groupFocus,
|
|
2369
|
+
groupActive,
|
|
2370
|
+
groupFocusVisible,
|
|
2371
|
+
groupFocusWithin,
|
|
2372
|
+
groupDisabled,
|
|
2373
|
+
groupChecked,
|
|
2374
|
+
groupEmpty,
|
|
2375
|
+
groupFirst,
|
|
2376
|
+
groupLast,
|
|
2377
|
+
groupOdd,
|
|
2378
|
+
groupEven,
|
|
2379
|
+
groupOpen,
|
|
2380
|
+
groupVisited,
|
|
2381
|
+
// Peer
|
|
2382
|
+
peerHover,
|
|
2383
|
+
peerFocus,
|
|
2384
|
+
peerActive,
|
|
2385
|
+
peerFocusVisible,
|
|
2386
|
+
peerDisabled,
|
|
2387
|
+
peerChecked,
|
|
2388
|
+
peerInvalid,
|
|
2389
|
+
peerRequired,
|
|
2390
|
+
peerPlaceholderShown,
|
|
2391
|
+
peerFocusWithin,
|
|
2392
|
+
peerEmpty,
|
|
2393
|
+
peerFirst,
|
|
2394
|
+
peerLast,
|
|
2395
|
+
peerOdd,
|
|
2396
|
+
peerEven,
|
|
2397
|
+
peerOpen,
|
|
2398
|
+
peerVisited,
|
|
2399
|
+
// Direction
|
|
2400
|
+
rtl,
|
|
2401
|
+
ltr
|
|
2402
|
+
};
|
|
2403
|
+
var PARAM_MODS = {
|
|
2404
|
+
has: has_,
|
|
2405
|
+
aria,
|
|
2406
|
+
data,
|
|
2407
|
+
supports,
|
|
2408
|
+
groupHas,
|
|
2409
|
+
peerHas
|
|
2410
|
+
};
|
|
2411
|
+
var TW_BRAND = /* @__PURE__ */ Symbol.for("twc.chain");
|
|
2412
|
+
function isTwChain(value) {
|
|
2413
|
+
return value != null && (typeof value === "object" || typeof value === "function") && value[TW_BRAND] === true;
|
|
2414
|
+
}
|
|
2415
|
+
function applyMods(rule, mods) {
|
|
2416
|
+
if (mods.length === 0) return rule;
|
|
2417
|
+
return when(...mods)(rule);
|
|
2418
|
+
}
|
|
2419
|
+
function applyModsToRules(rules, mods) {
|
|
2420
|
+
if (mods.length === 0) return rules;
|
|
2421
|
+
return rules.map((r) => typeof r === "string" ? r : applyMods(r, mods));
|
|
2422
|
+
}
|
|
2423
|
+
function createChain(rules, pendingMods) {
|
|
2424
|
+
const target2 = function() {
|
|
2425
|
+
};
|
|
2426
|
+
return new Proxy(target2, {
|
|
2427
|
+
get(_target, prop) {
|
|
2428
|
+
if (prop === TW_BRAND) return true;
|
|
2429
|
+
if (prop === "_rules") return rules;
|
|
2430
|
+
if (prop === Symbol.toPrimitive || prop === "toString" || prop === "valueOf") {
|
|
2431
|
+
return () => cx(...rules);
|
|
2432
|
+
}
|
|
2433
|
+
if (prop === Symbol.toStringTag) return "TwChain";
|
|
2434
|
+
if (prop === "value" || prop === "className") {
|
|
2435
|
+
return cx(...rules);
|
|
2436
|
+
}
|
|
2437
|
+
if (prop === Symbol.iterator) return void 0;
|
|
2438
|
+
if (prop === "inspect" || prop === /* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")) {
|
|
2439
|
+
return () => `TwChain(${cx(...rules)})`;
|
|
2440
|
+
}
|
|
2441
|
+
const name = prop;
|
|
2442
|
+
if (name in PARAM_MODS) {
|
|
2443
|
+
const paramModFn = PARAM_MODS[name];
|
|
2444
|
+
return (...args) => {
|
|
2445
|
+
const mod = paramModFn(...args);
|
|
2446
|
+
return createChain(rules, [...pendingMods, mod]);
|
|
2447
|
+
};
|
|
2448
|
+
}
|
|
2449
|
+
if (name in MODS) {
|
|
2450
|
+
const mod = MODS[name];
|
|
2451
|
+
const innerChain = createChain(rules, [...pendingMods, mod]);
|
|
2452
|
+
return new Proxy(function() {
|
|
2453
|
+
}, {
|
|
2454
|
+
get(_t, innerProp) {
|
|
2455
|
+
return innerChain[innerProp];
|
|
2456
|
+
},
|
|
2457
|
+
apply(_t, _this, args) {
|
|
2458
|
+
if (args.length > 0 && isTwChain(args[0])) {
|
|
2459
|
+
const childRules = args[0]._rules;
|
|
2460
|
+
const modified = applyModsToRules(childRules, [...pendingMods, mod]);
|
|
2461
|
+
return createChain([...rules, ...modified], []);
|
|
2462
|
+
}
|
|
2463
|
+
const allChildRules = [];
|
|
2464
|
+
for (const arg of args) {
|
|
2465
|
+
if (isTwChain(arg)) {
|
|
2466
|
+
allChildRules.push(...arg._rules);
|
|
2467
|
+
}
|
|
2468
|
+
}
|
|
2469
|
+
if (allChildRules.length > 0) {
|
|
2470
|
+
const modified = applyModsToRules(allChildRules, [...pendingMods, mod]);
|
|
2471
|
+
return createChain([...rules, ...modified], []);
|
|
2472
|
+
}
|
|
2473
|
+
return innerChain;
|
|
2474
|
+
}
|
|
2475
|
+
});
|
|
2476
|
+
}
|
|
2477
|
+
if (name in VALUELESS) {
|
|
2478
|
+
const entry = VALUELESS[name];
|
|
2479
|
+
if (typeof entry === "string") {
|
|
2480
|
+
return createChain([...rules, entry], []);
|
|
2481
|
+
}
|
|
2482
|
+
const rule = entry();
|
|
2483
|
+
const modified = applyMods(rule, pendingMods);
|
|
2484
|
+
return createChain([...rules, modified], []);
|
|
2485
|
+
}
|
|
2486
|
+
if (name in UTILS) {
|
|
2487
|
+
const utilFn = UTILS[name];
|
|
2488
|
+
return new Proxy(function() {
|
|
2489
|
+
}, {
|
|
2490
|
+
get(_t, innerProp) {
|
|
2491
|
+
const rule = utilFn();
|
|
2492
|
+
const modified = applyMods(rule, pendingMods);
|
|
2493
|
+
return createChain([...rules, modified], [])[innerProp];
|
|
2494
|
+
},
|
|
2495
|
+
apply(_t, _this, args) {
|
|
2496
|
+
const rule = utilFn(...args);
|
|
2497
|
+
const modified = applyMods(rule, pendingMods);
|
|
2498
|
+
return createChain([...rules, modified], []);
|
|
2499
|
+
}
|
|
2500
|
+
});
|
|
2501
|
+
}
|
|
2502
|
+
return createChain([...rules, name], []);
|
|
2503
|
+
},
|
|
2504
|
+
apply(_target, _this, args) {
|
|
2505
|
+
const extra = [];
|
|
2506
|
+
for (const arg of args) {
|
|
2507
|
+
if (isTwChain(arg)) {
|
|
2508
|
+
extra.push(...arg._rules);
|
|
2509
|
+
} else {
|
|
2510
|
+
extra.push(arg);
|
|
2511
|
+
}
|
|
2512
|
+
}
|
|
2513
|
+
return createChain([...rules, ...extra], pendingMods);
|
|
2514
|
+
}
|
|
2515
|
+
});
|
|
2516
|
+
}
|
|
2517
|
+
var tw = createChain([], []);
|
|
2518
|
+
|
|
2519
|
+
|
|
2520
|
+
|
|
2521
|
+
|
|
2522
|
+
|
|
2523
|
+
|
|
2524
|
+
|
|
2525
|
+
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
|
|
2529
|
+
|
|
2530
|
+
|
|
2531
|
+
|
|
2532
|
+
|
|
2533
|
+
|
|
2534
|
+
|
|
2535
|
+
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
|
|
2539
|
+
|
|
2540
|
+
|
|
2541
|
+
|
|
2542
|
+
|
|
2543
|
+
|
|
2544
|
+
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
|
|
2548
|
+
|
|
2549
|
+
|
|
2550
|
+
|
|
2551
|
+
|
|
2552
|
+
|
|
2553
|
+
|
|
2554
|
+
|
|
2555
|
+
|
|
2556
|
+
|
|
2557
|
+
|
|
2558
|
+
|
|
2559
|
+
|
|
2560
|
+
|
|
2561
|
+
|
|
2562
|
+
|
|
2563
|
+
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
|
|
2567
|
+
|
|
2568
|
+
|
|
2569
|
+
|
|
2570
|
+
|
|
2571
|
+
|
|
2572
|
+
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
|
|
2576
|
+
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
|
|
2580
|
+
|
|
2581
|
+
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
|
|
2585
|
+
|
|
2586
|
+
|
|
2587
|
+
|
|
2588
|
+
|
|
2589
|
+
|
|
2590
|
+
|
|
2591
|
+
|
|
2592
|
+
|
|
2593
|
+
|
|
2594
|
+
|
|
2595
|
+
|
|
2596
|
+
|
|
2597
|
+
|
|
2598
|
+
|
|
2599
|
+
|
|
2600
|
+
|
|
2601
|
+
|
|
2602
|
+
|
|
2603
|
+
|
|
2604
|
+
|
|
2605
|
+
|
|
2606
|
+
|
|
2607
|
+
|
|
2608
|
+
|
|
2609
|
+
|
|
2610
|
+
|
|
2611
|
+
|
|
2612
|
+
|
|
2613
|
+
|
|
2614
|
+
|
|
2615
|
+
|
|
2616
|
+
|
|
2617
|
+
|
|
2618
|
+
|
|
2619
|
+
|
|
2620
|
+
|
|
2621
|
+
|
|
2622
|
+
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
|
|
2626
|
+
|
|
2627
|
+
|
|
2628
|
+
|
|
2629
|
+
|
|
2630
|
+
|
|
2631
|
+
|
|
2632
|
+
|
|
2633
|
+
|
|
2634
|
+
|
|
2635
|
+
|
|
2636
|
+
|
|
2637
|
+
|
|
2638
|
+
|
|
2639
|
+
|
|
2640
|
+
|
|
2641
|
+
|
|
2642
|
+
|
|
2643
|
+
|
|
2644
|
+
|
|
2645
|
+
|
|
2646
|
+
|
|
2647
|
+
|
|
2648
|
+
|
|
2649
|
+
|
|
2650
|
+
|
|
2651
|
+
|
|
2652
|
+
|
|
2653
|
+
|
|
2654
|
+
|
|
2655
|
+
|
|
2656
|
+
|
|
2657
|
+
|
|
2658
|
+
|
|
2659
|
+
|
|
2660
|
+
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
|
|
2664
|
+
|
|
2665
|
+
|
|
2666
|
+
|
|
2667
|
+
|
|
2668
|
+
|
|
2669
|
+
|
|
2670
|
+
|
|
2671
|
+
|
|
2672
|
+
|
|
2673
|
+
|
|
2674
|
+
|
|
2675
|
+
|
|
2676
|
+
|
|
2677
|
+
|
|
2678
|
+
|
|
2679
|
+
|
|
2680
|
+
|
|
2681
|
+
|
|
2682
|
+
|
|
2683
|
+
|
|
2684
|
+
|
|
2685
|
+
|
|
2686
|
+
|
|
2687
|
+
|
|
2688
|
+
|
|
2689
|
+
|
|
2690
|
+
|
|
2691
|
+
|
|
2692
|
+
|
|
2693
|
+
|
|
2694
|
+
|
|
2695
|
+
|
|
2696
|
+
|
|
2697
|
+
|
|
2698
|
+
|
|
2699
|
+
|
|
2700
|
+
|
|
2701
|
+
|
|
2702
|
+
|
|
2703
|
+
|
|
2704
|
+
|
|
2705
|
+
|
|
2706
|
+
|
|
2707
|
+
|
|
2708
|
+
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
|
|
2712
|
+
|
|
2713
|
+
|
|
2714
|
+
|
|
2715
|
+
|
|
2716
|
+
|
|
2717
|
+
|
|
2718
|
+
|
|
2719
|
+
|
|
2720
|
+
|
|
2721
|
+
|
|
2722
|
+
|
|
2723
|
+
|
|
2724
|
+
|
|
2725
|
+
|
|
2726
|
+
|
|
2727
|
+
|
|
2728
|
+
|
|
2729
|
+
|
|
2730
|
+
|
|
2731
|
+
|
|
2732
|
+
|
|
2733
|
+
|
|
2734
|
+
|
|
2735
|
+
|
|
2736
|
+
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
|
|
2740
|
+
|
|
2741
|
+
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
|
|
2745
|
+
|
|
2746
|
+
|
|
2747
|
+
|
|
2748
|
+
|
|
2749
|
+
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
|
|
2753
|
+
|
|
2754
|
+
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
|
|
2758
|
+
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
|
|
2762
|
+
|
|
2763
|
+
|
|
2764
|
+
|
|
2765
|
+
|
|
2766
|
+
|
|
2767
|
+
|
|
2768
|
+
|
|
2769
|
+
|
|
2770
|
+
|
|
2771
|
+
|
|
2772
|
+
|
|
2773
|
+
|
|
2774
|
+
|
|
2775
|
+
|
|
2776
|
+
|
|
2777
|
+
|
|
2778
|
+
|
|
2779
|
+
|
|
2780
|
+
|
|
2781
|
+
|
|
2782
|
+
|
|
2783
|
+
|
|
2784
|
+
|
|
2785
|
+
|
|
2786
|
+
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
|
|
2790
|
+
|
|
2791
|
+
|
|
2792
|
+
|
|
2793
|
+
|
|
2794
|
+
|
|
2795
|
+
|
|
2796
|
+
|
|
2797
|
+
|
|
2798
|
+
|
|
2799
|
+
|
|
2800
|
+
|
|
2801
|
+
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
|
|
2806
|
+
|
|
2807
|
+
|
|
2808
|
+
|
|
2809
|
+
|
|
2810
|
+
|
|
2811
|
+
|
|
2812
|
+
|
|
2813
|
+
|
|
2814
|
+
|
|
2815
|
+
|
|
2816
|
+
|
|
2817
|
+
|
|
2818
|
+
|
|
2819
|
+
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
|
|
2824
|
+
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
|
|
2828
|
+
|
|
2829
|
+
|
|
2830
|
+
|
|
2831
|
+
|
|
2832
|
+
|
|
2833
|
+
|
|
2834
|
+
|
|
2835
|
+
|
|
2836
|
+
|
|
2837
|
+
|
|
2838
|
+
|
|
2839
|
+
|
|
2840
|
+
|
|
2841
|
+
|
|
2842
|
+
|
|
2843
|
+
|
|
2844
|
+
|
|
2845
|
+
|
|
2846
|
+
|
|
2847
|
+
|
|
2848
|
+
|
|
2849
|
+
|
|
2850
|
+
|
|
2851
|
+
|
|
2852
|
+
|
|
2853
|
+
|
|
2854
|
+
|
|
2855
|
+
|
|
2856
|
+
|
|
2857
|
+
|
|
2858
|
+
|
|
2859
|
+
|
|
2860
|
+
|
|
2861
|
+
|
|
2862
|
+
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
|
|
2866
|
+
|
|
2867
|
+
|
|
2868
|
+
|
|
2869
|
+
|
|
2870
|
+
|
|
2871
|
+
|
|
2872
|
+
|
|
2873
|
+
|
|
2874
|
+
|
|
2875
|
+
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
|
|
2879
|
+
|
|
2880
|
+
|
|
2881
|
+
|
|
2882
|
+
|
|
2883
|
+
|
|
2884
|
+
|
|
2885
|
+
|
|
2886
|
+
|
|
2887
|
+
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
|
|
2891
|
+
|
|
2892
|
+
|
|
2893
|
+
|
|
2894
|
+
|
|
2895
|
+
|
|
2896
|
+
|
|
2897
|
+
|
|
2898
|
+
|
|
2899
|
+
|
|
2900
|
+
|
|
2901
|
+
|
|
2902
|
+
|
|
2903
|
+
|
|
2904
|
+
|
|
2905
|
+
|
|
2906
|
+
|
|
2907
|
+
|
|
2908
|
+
|
|
2909
|
+
|
|
2910
|
+
|
|
2911
|
+
|
|
2912
|
+
|
|
2913
|
+
|
|
2914
|
+
|
|
2915
|
+
|
|
2916
|
+
|
|
2917
|
+
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+
|
|
2921
|
+
|
|
2922
|
+
exports._2xl = _2xl3; exports.absolute = absolute; exports.accentColor = accentColor; exports.active = active; exports.after = after; exports.alignContent = alignContent; exports.animate = animate; exports.antialiased = antialiased; exports.appearance = appearance; exports.aria = aria; exports.ariaChecked = ariaChecked; exports.ariaDisabled = ariaDisabled; exports.ariaExpanded = ariaExpanded; exports.ariaHidden = ariaHidden; exports.ariaPressed = ariaPressed; exports.ariaReadonly = ariaReadonly; exports.ariaRequired = ariaRequired; exports.ariaSelected = ariaSelected; exports.aspectRatio = aspectRatio; exports.autoCols = autoCols; exports.autoRows = autoRows; exports.autofill = autofill; exports.backdrop = backdrop; exports.backdropBlur = backdropBlur; exports.backdropBrightness = backdropBrightness; exports.backdropContrast = backdropContrast; exports.backdropGrayscale = backdropGrayscale; exports.backdropHueRotate = backdropHueRotate; exports.backdropInvert = backdropInvert; exports.backdropOpacity = backdropOpacity; exports.backdropSaturate = backdropSaturate; exports.backdropSepia = backdropSepia; exports.backdrop_ = backdrop_; exports.before = before; exports.bg = bg; exports.bgAttachment = bgAttachment; exports.bgBlendMode = bgBlendMode; exports.bgClip = bgClip; exports.bgGradient = bgGradient; exports.bgImage = bgImage; exports.bgOrigin = bgOrigin; exports.bgPosition = bgPosition; exports.bgRepeat = bgRepeat; exports.bgSize = bgSize; exports.blur = blur2; exports.border = border; exports.borderB = borderB; exports.borderCollapse = borderCollapse; exports.borderColor = borderColor; exports.borderE = borderE; exports.borderL = borderL; exports.borderR = borderR; exports.borderS = borderS; exports.borderSeparate = borderSeparate; exports.borderSpacing = borderSpacing; exports.borderSpacingX = borderSpacingX; exports.borderSpacingY = borderSpacingY; exports.borderStyle = borderStyle; exports.borderT = borderT; exports.borderX = borderX; exports.borderY = borderY; exports.bottom = bottom; exports.boxDecorationBreak = boxDecorationBreak; exports.boxSizing = boxSizing; exports.breakAfter = breakAfter; exports.breakBefore = breakBefore; exports.breakInside = breakInside; exports.brightness = brightness; exports.captionSide = captionSide; exports.caretColor = caretColor; exports.checked = checked; exports.clear_ = clear_; exports.colEnd = colEnd; exports.colSpan = colSpan; exports.colStart = colStart; exports.collapse_ = collapse_; exports.columns = columns; exports.container = container; exports.content_ = content_; exports.contrast = contrast; exports.contrastLess = contrastLess; exports.contrastMore = contrastMore; exports.createTheme = _chunkBAZLFQIVcjs.createTheme; exports.css = css; exports.cursor = cursor; exports.cx = cx; exports.dark = dark; exports.data = data; exports.dcx = dcx; exports.default_ = default_; exports.delay = delay; exports.diagonalFractions = diagonalFractions; exports.disabled = disabled; exports.display = display; exports.divideColor = divideColor; exports.divideStyle = divideStyle; exports.divideX = divideX; exports.divideXReverse = divideXReverse; exports.divideY = divideY; exports.divideYReverse = divideYReverse; exports.dropShadow = dropShadow2; exports.duration = duration; exports.dynamic = dynamic; exports.ease = ease; exports.empty = empty; exports.end = end; exports.even = even; exports.file_ = file_; exports.fill = fill; exports.firstChild = firstChild; exports.firstLetter = firstLetter; exports.firstLine = firstLine; exports.firstOfType = firstOfType; exports.fixed = fixed; exports.flex = flex; exports.flex1 = flex1; exports.flexAuto = flexAuto; exports.flexBasis = flexBasis; exports.flexCol = flexCol; exports.flexColReverse = flexColReverse; exports.flexInitial = flexInitial; exports.flexNone = flexNone; exports.flexNowrap = flexNowrap; exports.flexRow = flexRow; exports.flexRowReverse = flexRowReverse; exports.flexWrap = flexWrap; exports.flexWrapReverse = flexWrapReverse; exports.float_ = float_; exports.focus = focus; exports.focusVisible = focusVisible; exports.focusWithin = focusWithin; exports.font = font; exports.fontFamily = fontFamily; exports.forcedColorAdjust = forcedColorAdjust; exports.forcedColors = forcedColors; exports.gap = gap; exports.gapX = gapX; exports.gapY = gapY; exports.generateCSS = _chunkM34ZK4IVcjs.generateCSS; exports.gradientFrom = gradientFrom; exports.gradientTo = gradientTo; exports.gradientVia = gradientVia; exports.grayscale = grayscale; exports.grid = grid; exports.gridCols = gridCols; exports.gridFlow = gridFlow; exports.gridRows = gridRows; exports.groupActive = groupActive; exports.groupChecked = groupChecked; exports.groupDisabled = groupDisabled; exports.groupEmpty = groupEmpty; exports.groupEven = groupEven; exports.groupFirst = groupFirst; exports.groupFocus = groupFocus; exports.groupFocusVisible = groupFocusVisible; exports.groupFocusWithin = groupFocusWithin; exports.groupHas = groupHas; exports.groupHover = groupHover; exports.groupLast = groupLast; exports.groupOdd = groupOdd; exports.groupOpen = groupOpen; exports.groupVisited = groupVisited; exports.grow = grow; exports.h = h; exports.has_ = has_; exports.hover = hover; exports.hueRotate = hueRotate; exports.hyphens = hyphens; exports.inRange = inRange; exports.indeterminate = indeterminate; exports.injectTheme = _chunk34VD2OBFcjs.injectTheme; exports.inlineFlex = inlineFlex; exports.inset = inset; exports.insetX = insetX; exports.insetY = insetY; exports.invalid = invalid; exports.invert = invert; exports.invisible = invisible; exports.isDynamic = isDynamic; exports.isolate = isolate; exports.isolationAuto = isolationAuto; exports.italic = italic; exports.items = items; exports.justify = justify; exports.justifyItems = justifyItems; exports.justifySelf = justifySelf; exports.landscape = landscape; exports.lastChild = lastChild; exports.lastOfType = lastOfType; exports.layer = layer; exports.leading = leading; exports.left = left; exports.lg = lg3; exports.lineClamp = lineClamp; exports.liningNums = liningNums; exports.listStyleImage = listStyleImage; exports.listStylePosition = listStylePosition; exports.listStyleType = listStyleType; exports.ltr = ltr; exports.m = m; exports.marker = marker; exports.max2xl = max2xl; exports.maxH = maxH; exports.maxLg = maxLg; exports.maxMd = maxMd; exports.maxSm = maxSm; exports.maxW = maxW; exports.maxXl = maxXl; exports.mb = mb; exports.md = md3; exports.me = me; exports.minH = minH; exports.minW = minW; exports.mixBlendMode = mixBlendMode; exports.ml = ml; exports.motionReduce = motionReduce; exports.motionSafe = motionSafe; exports.mr = mr; exports.ms = ms; exports.mt = mt; exports.mx = mx; exports.my = my; exports.normalNums = normalNums; exports.notItalic = notItalic; exports.notSrOnly = notSrOnly; exports.objectFit = objectFit; exports.objectPosition = objectPosition; exports.odd = odd; exports.oldstyleNums = oldstyleNums; exports.onlyChild = onlyChild; exports.onlyOfType = onlyOfType; exports.opacity = opacity; exports.open_ = open_; exports.order = order; exports.ordinal = ordinal; exports.outOfRange = outOfRange; exports.outline = outline; exports.outlineColor = outlineColor; exports.outlineNone = outlineNone; exports.outlineOffset = outlineOffset; exports.outlineStyle = outlineStyle; exports.outlineWidth = outlineWidth; exports.overflow = overflow; exports.overflowX = overflowX; exports.overflowY = overflowY; exports.overscrollBehavior = overscrollBehavior; exports.overscrollX = overscrollX; exports.overscrollY = overscrollY; exports.p = p; exports.pb = pb; exports.pe = pe; exports.peerActive = peerActive; exports.peerChecked = peerChecked; exports.peerDisabled = peerDisabled; exports.peerEmpty = peerEmpty; exports.peerEven = peerEven; exports.peerFirst = peerFirst; exports.peerFocus = peerFocus; exports.peerFocusVisible = peerFocusVisible; exports.peerFocusWithin = peerFocusWithin; exports.peerHas = peerHas; exports.peerHover = peerHover; exports.peerInvalid = peerInvalid; exports.peerLast = peerLast; exports.peerOdd = peerOdd; exports.peerOpen = peerOpen; exports.peerPlaceholderShown = peerPlaceholderShown; exports.peerRequired = peerRequired; exports.peerVisited = peerVisited; exports.pl = pl; exports.placeContent = placeContent; exports.placeItems = placeItems; exports.placeSelf = placeSelf; exports.placeholderShown = placeholderShown; exports.placeholder_ = placeholder_; exports.pointerEvents = pointerEvents; exports.portrait = portrait; exports.pr = pr; exports.print_ = print_; exports.proportionalNums = proportionalNums; exports.ps = ps; exports.pt = pt; exports.px = px; exports.py = py; exports.readOnly = readOnly; exports.relative = relative; exports.required_ = required_; exports.resize = resize; exports.right = right; exports.ring = ring; exports.ringColor = ringColor; exports.ringInset = ringInset; exports.ringOffsetColor = ringOffsetColor; exports.ringOffsetWidth = ringOffsetWidth; exports.rotate = rotate; exports.rounded = rounded; exports.roundedB = roundedB; exports.roundedBL = roundedBL; exports.roundedBR = roundedBR; exports.roundedEE = roundedEE; exports.roundedES = roundedES; exports.roundedL = roundedL; exports.roundedR = roundedR; exports.roundedSE = roundedSE; exports.roundedSS = roundedSS; exports.roundedT = roundedT; exports.roundedTL = roundedTL; exports.roundedTR = roundedTR; exports.rowEnd = rowEnd; exports.rowSpan = rowSpan; exports.rowStart = rowStart; exports.rtl = rtl; exports.saturate = saturate; exports.scale = scale; exports.scaleX = scaleX; exports.scaleY = scaleY; exports.scrollBehavior = scrollBehavior; exports.scrollMargin = scrollMargin; exports.scrollMarginB = scrollMarginB; exports.scrollMarginL = scrollMarginL; exports.scrollMarginR = scrollMarginR; exports.scrollMarginT = scrollMarginT; exports.scrollMarginX = scrollMarginX; exports.scrollMarginY = scrollMarginY; exports.scrollPadding = scrollPadding; exports.scrollPaddingB = scrollPaddingB; exports.scrollPaddingL = scrollPaddingL; exports.scrollPaddingR = scrollPaddingR; exports.scrollPaddingT = scrollPaddingT; exports.scrollPaddingX = scrollPaddingX; exports.scrollPaddingY = scrollPaddingY; exports.select = select; exports.selection_ = selection_; exports.self = self; exports.sepia = sepia; exports.setTheme = _chunk34VD2OBFcjs.setTheme; exports.shadow = shadow; exports.shadowColor = shadowColor; exports.shrink = shrink; exports.size = size; exports.skewX = skewX; exports.skewY = skewY; exports.slashedZero = slashedZero; exports.sm = sm3; exports.snapAlign = snapAlign; exports.snapStop = snapStop; exports.snapType = snapType; exports.spaceX = spaceX; exports.spaceXReverse = spaceXReverse; exports.spaceY = spaceY; exports.spaceYReverse = spaceYReverse; exports.srOnly = srOnly; exports.stackedFractions = stackedFractions; exports.start = start; exports.static_ = static_; exports.sticky = sticky; exports.stroke = stroke; exports.strokeWidth = strokeWidth; exports.subpixelAntialiased = subpixelAntialiased; exports.supports = supports; exports.tableLayout = tableLayout; exports.tabularNums = tabularNums; exports.target = target; exports.text = text; exports.textAlign = textAlign; exports.textColor = textColor; exports.textDecoration = textDecoration; exports.textDecorationColor = textDecorationColor; exports.textDecorationStyle = textDecorationStyle; exports.textDecorationThickness = textDecorationThickness; exports.textIndent = textIndent; exports.textOverflow = textOverflow; exports.textTransform = textTransform; exports.textUnderlineOffset = textUnderlineOffset; exports.textWrap = textWrap; exports.top = top; exports.touchAction = touchAction; exports.tracking = tracking; exports.transformGpu = transformGpu; exports.transformNone = transformNone; exports.transformOrigin = transformOrigin; exports.transition = transition; exports.transitionAll = transitionAll; exports.transitionColors = transitionColors; exports.transitionNone = transitionNone; exports.transitionOpacity = transitionOpacity; exports.transitionShadow = transitionShadow; exports.transitionTransform = transitionTransform; exports.translateX = translateX; exports.translateY = translateY; exports.truncate = truncate; exports.tw = tw; exports.valid = valid; exports.verticalAlign = verticalAlign; exports.visible = visible; exports.visited = visited; exports.w = w; exports.when = when; exports.whitespace = whitespace; exports.willChange = willChange; exports.wordBreak = wordBreak; exports.xl = xl3; exports.z = z;
|