@bonprix-ds/internal-components 0.0.2 → 0.1.1

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/index.js CHANGED
@@ -1,4064 +1,13 @@
1
1
  "use client";
2
- import { createContext as e, useContext as t } from "react";
3
- import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
4
- //#region ../react/icon/dist/index.js
5
- var a = () => window.__BONPRIX_DESY_CONFIG__ ?? {}, o = e({}), s = {
6
- iconSprite: "/assets/sprites/icon-sprite.svg",
7
- logoSprite: "/assets/sprites/logo-sprite.svg",
8
- figurineSprite: "/assets/sprites/figurine-sprite.svg",
9
- illustrationSprite: "/assets/sprites/illustration-sprite.svg"
10
- }, c = (e, t, n) => t?.[e] ?? n?.[e] ?? s[e], l = () => {
11
- let e = t(o), n = a();
12
- return {
13
- iconSprite: c("iconSprite", e, n),
14
- logoSprite: c("logoSprite", e, n),
15
- figurineSprite: c("figurineSprite", e, n),
16
- illustrationSprite: c("illustrationSprite", e, n)
17
- };
18
- }, u = "-", d = (e) => {
19
- let t = h(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
20
- return {
21
- getClassGroupId: (e) => {
22
- let n = e.split(u);
23
- return n[0] === "" && n.length !== 1 && n.shift(), f(n, t) || m(e);
24
- },
25
- getConflictingClassGroupIds: (e, t) => {
26
- let i = n[e] || [];
27
- return t && r[e] ? [...i, ...r[e]] : i;
28
- }
29
- };
30
- }, f = (e, t) => {
31
- if (e.length === 0) return t.classGroupId;
32
- let n = e[0], r = t.nextPart.get(n), i = r ? f(e.slice(1), r) : void 0;
33
- if (i) return i;
34
- if (t.validators.length === 0) return;
35
- let a = e.join(u);
36
- return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
37
- }, p = /^\[(.+)\]$/, m = (e) => {
38
- if (p.test(e)) {
39
- let t = p.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
40
- if (n) return "arbitrary.." + n;
41
- }
42
- }, h = (e) => {
43
- let { theme: t, prefix: n } = e, r = {
44
- nextPart: /* @__PURE__ */ new Map(),
45
- validators: []
46
- };
47
- return y(Object.entries(e.classGroups), n).forEach(([e, n]) => {
48
- g(n, r, e, t);
49
- }), r;
50
- }, g = (e, t, n, r) => {
51
- e.forEach((e) => {
52
- if (typeof e == "string") {
53
- let r = e === "" ? t : _(t, e);
54
- r.classGroupId = n;
55
- return;
56
- }
57
- if (typeof e == "function") {
58
- if (v(e)) {
59
- g(e(r), t, n, r);
60
- return;
61
- }
62
- t.validators.push({
63
- validator: e,
64
- classGroupId: n
65
- });
66
- return;
67
- }
68
- Object.entries(e).forEach(([e, i]) => {
69
- g(i, _(t, e), n, r);
70
- });
71
- });
72
- }, _ = (e, t) => {
73
- let n = e;
74
- return t.split(u).forEach((e) => {
75
- n.nextPart.has(e) || n.nextPart.set(e, {
76
- nextPart: /* @__PURE__ */ new Map(),
77
- validators: []
78
- }), n = n.nextPart.get(e);
79
- }), n;
80
- }, v = (e) => e.isThemeGetter, y = (e, t) => t ? e.map(([e, n]) => [e, n.map((e) => typeof e == "string" ? t + e : typeof e == "object" ? Object.fromEntries(Object.entries(e).map(([e, n]) => [t + e, n])) : e)]) : e, b = (e) => {
81
- if (e < 1) return {
82
- get: () => void 0,
83
- set: () => {}
84
- };
85
- let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (i, a) => {
86
- n.set(i, a), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
87
- };
88
- return {
89
- get(e) {
90
- let t = n.get(e);
91
- if (t !== void 0) return t;
92
- if ((t = r.get(e)) !== void 0) return i(e, t), t;
93
- },
94
- set(e, t) {
95
- n.has(e) ? n.set(e, t) : i(e, t);
96
- }
97
- };
98
- }, x = "!", S = (e) => {
99
- let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
100
- let n = [], o = 0, s = 0, c;
101
- for (let l = 0; l < e.length; l++) {
102
- let u = e[l];
103
- if (o === 0) {
104
- if (u === i && (r || e.slice(l, l + a) === t)) {
105
- n.push(e.slice(s, l)), s = l + a;
106
- continue;
107
- }
108
- if (u === "/") {
109
- c = l;
110
- continue;
111
- }
112
- }
113
- u === "[" ? o++ : u === "]" && o--;
114
- }
115
- let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(x);
116
- return {
117
- modifiers: n,
118
- hasImportantModifier: u,
119
- baseClassName: u ? l.substring(1) : l,
120
- maybePostfixModifierPosition: c && c > s ? c - s : void 0
121
- };
122
- };
123
- return n ? (e) => n({
124
- className: e,
125
- parseClassName: o
126
- }) : o;
127
- }, C = (e) => {
128
- if (e.length <= 1) return e;
129
- let t = [], n = [];
130
- return e.forEach((e) => {
131
- e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
132
- }), t.push(...n.sort()), t;
133
- }, w = (e) => ({
134
- cache: b(e.cacheSize),
135
- parseClassName: S(e),
136
- ...d(e)
137
- }), T = /\s+/, E = (e, t) => {
138
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(T), s = "";
139
- for (let e = o.length - 1; e >= 0; --e) {
140
- let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
141
- if (!p) {
142
- if (!f) {
143
- s = t + (s.length > 0 ? " " + s : s);
144
- continue;
145
- }
146
- if (p = r(u), !p) {
147
- s = t + (s.length > 0 ? " " + s : s);
148
- continue;
149
- }
150
- f = !1;
151
- }
152
- let m = C(c).join(":"), h = l ? m + x : m, g = h + p;
153
- if (a.includes(g)) continue;
154
- a.push(g);
155
- let _ = i(p, f);
156
- for (let e = 0; e < _.length; ++e) {
157
- let t = _[e];
158
- a.push(h + t);
159
- }
160
- s = t + (s.length > 0 ? " " + s : s);
161
- }
162
- return s;
163
- };
164
- function D() {
165
- let e = 0, t, n, r = "";
166
- for (; e < arguments.length;) (t = arguments[e++]) && (n = O(t)) && (r && (r += " "), r += n);
167
- return r;
168
- }
169
- var O = (e) => {
170
- if (typeof e == "string") return e;
171
- let t, n = "";
172
- for (let r = 0; r < e.length; r++) e[r] && (t = O(e[r])) && (n && (n += " "), n += t);
173
- return n;
174
- };
175
- function ee(e, ...t) {
176
- let n, r, i, a = o;
177
- function o(o) {
178
- return n = w(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
179
- }
180
- function s(e) {
181
- let t = r(e);
182
- if (t) return t;
183
- let a = E(e, n);
184
- return i(e, a), a;
185
- }
186
- return function() {
187
- return a(D.apply(null, arguments));
188
- };
189
- }
190
- var k = (e) => {
191
- let t = (t) => t[e] || [];
192
- return t.isThemeGetter = !0, t;
193
- }, A = /^\[(?:([a-z-]+):)?(.+)\]$/i, j = /^\d+\/\d+$/, M = /*#__PURE__*/ new Set([
194
- "px",
195
- "full",
196
- "screen"
197
- ]), N = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, P = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, F = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, I = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, L = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, R = (e) => te(e) || M.has(e) || j.test(e), z = (e) => fe(e, "length", pe), te = (e) => !!e && !Number.isNaN(Number(e)), ne = (e) => fe(e, "number", te), re = (e) => !!e && Number.isInteger(Number(e)), ie = (e) => e.endsWith("%") && te(e.slice(0, -1)), B = (e) => A.test(e), V = (e) => N.test(e), ae = /*#__PURE__*/ new Set([
198
- "length",
199
- "size",
200
- "percentage"
201
- ]), oe = (e) => fe(e, ae, me), se = (e) => fe(e, "position", me), ce = /*#__PURE__*/ new Set(["image", "url"]), le = (e) => fe(e, ce, ge), ue = (e) => fe(e, "", he), de = () => !0, fe = (e, t, n) => {
202
- let r = A.exec(e);
203
- return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
204
- }, pe = (e) => P.test(e) && !F.test(e), me = () => !1, he = (e) => I.test(e), ge = (e) => L.test(e), _e = /*#__PURE__*/ ee(() => {
205
- let e = k("colors"), t = k("spacing"), n = k("blur"), r = k("brightness"), i = k("borderColor"), a = k("borderRadius"), o = k("borderSpacing"), s = k("borderWidth"), c = k("contrast"), l = k("grayscale"), u = k("hueRotate"), d = k("invert"), f = k("gap"), p = k("gradientColorStops"), m = k("gradientColorStopPositions"), h = k("inset"), g = k("margin"), _ = k("opacity"), v = k("padding"), y = k("saturate"), b = k("scale"), x = k("sepia"), S = k("skew"), C = k("space"), w = k("translate"), T = () => [
206
- "auto",
207
- "contain",
208
- "none"
209
- ], E = () => [
210
- "auto",
211
- "hidden",
212
- "clip",
213
- "visible",
214
- "scroll"
215
- ], D = () => [
216
- "auto",
217
- B,
218
- t
219
- ], O = () => [B, t], ee = () => [
220
- "",
221
- R,
222
- z
223
- ], A = () => [
224
- "auto",
225
- te,
226
- B
227
- ], j = () => [
228
- "bottom",
229
- "center",
230
- "left",
231
- "left-bottom",
232
- "left-top",
233
- "right",
234
- "right-bottom",
235
- "right-top",
236
- "top"
237
- ], M = () => [
238
- "solid",
239
- "dashed",
240
- "dotted",
241
- "double",
242
- "none"
243
- ], N = () => [
244
- "normal",
245
- "multiply",
246
- "screen",
247
- "overlay",
248
- "darken",
249
- "lighten",
250
- "color-dodge",
251
- "color-burn",
252
- "hard-light",
253
- "soft-light",
254
- "difference",
255
- "exclusion",
256
- "hue",
257
- "saturation",
258
- "color",
259
- "luminosity"
260
- ], P = () => [
261
- "start",
262
- "end",
263
- "center",
264
- "between",
265
- "around",
266
- "evenly",
267
- "stretch"
268
- ], F = () => [
269
- "",
270
- "0",
271
- B
272
- ], I = () => [
273
- "auto",
274
- "avoid",
275
- "all",
276
- "avoid-page",
277
- "page",
278
- "left",
279
- "right",
280
- "column"
281
- ], L = () => [te, B];
282
- return {
283
- cacheSize: 500,
284
- separator: ":",
285
- theme: {
286
- colors: [de],
287
- spacing: [R, z],
288
- blur: [
289
- "none",
290
- "",
291
- V,
292
- B
293
- ],
294
- brightness: L(),
295
- borderColor: [e],
296
- borderRadius: [
297
- "none",
298
- "",
299
- "full",
300
- V,
301
- B
302
- ],
303
- borderSpacing: O(),
304
- borderWidth: ee(),
305
- contrast: L(),
306
- grayscale: F(),
307
- hueRotate: L(),
308
- invert: F(),
309
- gap: O(),
310
- gradientColorStops: [e],
311
- gradientColorStopPositions: [ie, z],
312
- inset: D(),
313
- margin: D(),
314
- opacity: L(),
315
- padding: O(),
316
- saturate: L(),
317
- scale: L(),
318
- sepia: F(),
319
- skew: L(),
320
- space: O(),
321
- translate: O()
322
- },
323
- classGroups: {
324
- aspect: [{ aspect: [
325
- "auto",
326
- "square",
327
- "video",
328
- B
329
- ] }],
330
- container: ["container"],
331
- columns: [{ columns: [V] }],
332
- "break-after": [{ "break-after": I() }],
333
- "break-before": [{ "break-before": I() }],
334
- "break-inside": [{ "break-inside": [
335
- "auto",
336
- "avoid",
337
- "avoid-page",
338
- "avoid-column"
339
- ] }],
340
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
341
- box: [{ box: ["border", "content"] }],
342
- display: [
343
- "block",
344
- "inline-block",
345
- "inline",
346
- "flex",
347
- "inline-flex",
348
- "table",
349
- "inline-table",
350
- "table-caption",
351
- "table-cell",
352
- "table-column",
353
- "table-column-group",
354
- "table-footer-group",
355
- "table-header-group",
356
- "table-row-group",
357
- "table-row",
358
- "flow-root",
359
- "grid",
360
- "inline-grid",
361
- "contents",
362
- "list-item",
363
- "hidden"
364
- ],
365
- float: [{ float: [
366
- "right",
367
- "left",
368
- "none",
369
- "start",
370
- "end"
371
- ] }],
372
- clear: [{ clear: [
373
- "left",
374
- "right",
375
- "both",
376
- "none",
377
- "start",
378
- "end"
379
- ] }],
380
- isolation: ["isolate", "isolation-auto"],
381
- "object-fit": [{ object: [
382
- "contain",
383
- "cover",
384
- "fill",
385
- "none",
386
- "scale-down"
387
- ] }],
388
- "object-position": [{ object: [...j(), B] }],
389
- overflow: [{ overflow: E() }],
390
- "overflow-x": [{ "overflow-x": E() }],
391
- "overflow-y": [{ "overflow-y": E() }],
392
- overscroll: [{ overscroll: T() }],
393
- "overscroll-x": [{ "overscroll-x": T() }],
394
- "overscroll-y": [{ "overscroll-y": T() }],
395
- position: [
396
- "static",
397
- "fixed",
398
- "absolute",
399
- "relative",
400
- "sticky"
401
- ],
402
- inset: [{ inset: [h] }],
403
- "inset-x": [{ "inset-x": [h] }],
404
- "inset-y": [{ "inset-y": [h] }],
405
- start: [{ start: [h] }],
406
- end: [{ end: [h] }],
407
- top: [{ top: [h] }],
408
- right: [{ right: [h] }],
409
- bottom: [{ bottom: [h] }],
410
- left: [{ left: [h] }],
411
- visibility: [
412
- "visible",
413
- "invisible",
414
- "collapse"
415
- ],
416
- z: [{ z: [
417
- "auto",
418
- re,
419
- B
420
- ] }],
421
- basis: [{ basis: D() }],
422
- "flex-direction": [{ flex: [
423
- "row",
424
- "row-reverse",
425
- "col",
426
- "col-reverse"
427
- ] }],
428
- "flex-wrap": [{ flex: [
429
- "wrap",
430
- "wrap-reverse",
431
- "nowrap"
432
- ] }],
433
- flex: [{ flex: [
434
- "1",
435
- "auto",
436
- "initial",
437
- "none",
438
- B
439
- ] }],
440
- grow: [{ grow: F() }],
441
- shrink: [{ shrink: F() }],
442
- order: [{ order: [
443
- "first",
444
- "last",
445
- "none",
446
- re,
447
- B
448
- ] }],
449
- "grid-cols": [{ "grid-cols": [de] }],
450
- "col-start-end": [{ col: [
451
- "auto",
452
- { span: [
453
- "full",
454
- re,
455
- B
456
- ] },
457
- B
458
- ] }],
459
- "col-start": [{ "col-start": A() }],
460
- "col-end": [{ "col-end": A() }],
461
- "grid-rows": [{ "grid-rows": [de] }],
462
- "row-start-end": [{ row: [
463
- "auto",
464
- { span: [re, B] },
465
- B
466
- ] }],
467
- "row-start": [{ "row-start": A() }],
468
- "row-end": [{ "row-end": A() }],
469
- "grid-flow": [{ "grid-flow": [
470
- "row",
471
- "col",
472
- "dense",
473
- "row-dense",
474
- "col-dense"
475
- ] }],
476
- "auto-cols": [{ "auto-cols": [
477
- "auto",
478
- "min",
479
- "max",
480
- "fr",
481
- B
482
- ] }],
483
- "auto-rows": [{ "auto-rows": [
484
- "auto",
485
- "min",
486
- "max",
487
- "fr",
488
- B
489
- ] }],
490
- gap: [{ gap: [f] }],
491
- "gap-x": [{ "gap-x": [f] }],
492
- "gap-y": [{ "gap-y": [f] }],
493
- "justify-content": [{ justify: ["normal", ...P()] }],
494
- "justify-items": [{ "justify-items": [
495
- "start",
496
- "end",
497
- "center",
498
- "stretch"
499
- ] }],
500
- "justify-self": [{ "justify-self": [
501
- "auto",
502
- "start",
503
- "end",
504
- "center",
505
- "stretch"
506
- ] }],
507
- "align-content": [{ content: [
508
- "normal",
509
- ...P(),
510
- "baseline"
511
- ] }],
512
- "align-items": [{ items: [
513
- "start",
514
- "end",
515
- "center",
516
- "baseline",
517
- "stretch"
518
- ] }],
519
- "align-self": [{ self: [
520
- "auto",
521
- "start",
522
- "end",
523
- "center",
524
- "stretch",
525
- "baseline"
526
- ] }],
527
- "place-content": [{ "place-content": [...P(), "baseline"] }],
528
- "place-items": [{ "place-items": [
529
- "start",
530
- "end",
531
- "center",
532
- "baseline",
533
- "stretch"
534
- ] }],
535
- "place-self": [{ "place-self": [
536
- "auto",
537
- "start",
538
- "end",
539
- "center",
540
- "stretch"
541
- ] }],
542
- p: [{ p: [v] }],
543
- px: [{ px: [v] }],
544
- py: [{ py: [v] }],
545
- ps: [{ ps: [v] }],
546
- pe: [{ pe: [v] }],
547
- pt: [{ pt: [v] }],
548
- pr: [{ pr: [v] }],
549
- pb: [{ pb: [v] }],
550
- pl: [{ pl: [v] }],
551
- m: [{ m: [g] }],
552
- mx: [{ mx: [g] }],
553
- my: [{ my: [g] }],
554
- ms: [{ ms: [g] }],
555
- me: [{ me: [g] }],
556
- mt: [{ mt: [g] }],
557
- mr: [{ mr: [g] }],
558
- mb: [{ mb: [g] }],
559
- ml: [{ ml: [g] }],
560
- "space-x": [{ "space-x": [C] }],
561
- "space-x-reverse": ["space-x-reverse"],
562
- "space-y": [{ "space-y": [C] }],
563
- "space-y-reverse": ["space-y-reverse"],
564
- w: [{ w: [
565
- "auto",
566
- "min",
567
- "max",
568
- "fit",
569
- "svw",
570
- "lvw",
571
- "dvw",
572
- B,
573
- t
574
- ] }],
575
- "min-w": [{ "min-w": [
576
- B,
577
- t,
578
- "min",
579
- "max",
580
- "fit"
581
- ] }],
582
- "max-w": [{ "max-w": [
583
- B,
584
- t,
585
- "none",
586
- "full",
587
- "min",
588
- "max",
589
- "fit",
590
- "prose",
591
- { screen: [V] },
592
- V
593
- ] }],
594
- h: [{ h: [
595
- B,
596
- t,
597
- "auto",
598
- "min",
599
- "max",
600
- "fit",
601
- "svh",
602
- "lvh",
603
- "dvh"
604
- ] }],
605
- "min-h": [{ "min-h": [
606
- B,
607
- t,
608
- "min",
609
- "max",
610
- "fit",
611
- "svh",
612
- "lvh",
613
- "dvh"
614
- ] }],
615
- "max-h": [{ "max-h": [
616
- B,
617
- t,
618
- "min",
619
- "max",
620
- "fit",
621
- "svh",
622
- "lvh",
623
- "dvh"
624
- ] }],
625
- size: [{ size: [
626
- B,
627
- t,
628
- "auto",
629
- "min",
630
- "max",
631
- "fit"
632
- ] }],
633
- "font-size": [{ text: [
634
- "base",
635
- V,
636
- z
637
- ] }],
638
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
639
- "font-style": ["italic", "not-italic"],
640
- "font-weight": [{ font: [
641
- "thin",
642
- "extralight",
643
- "light",
644
- "normal",
645
- "medium",
646
- "semibold",
647
- "bold",
648
- "extrabold",
649
- "black",
650
- ne
651
- ] }],
652
- "font-family": [{ font: [de] }],
653
- "fvn-normal": ["normal-nums"],
654
- "fvn-ordinal": ["ordinal"],
655
- "fvn-slashed-zero": ["slashed-zero"],
656
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
657
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
658
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
659
- tracking: [{ tracking: [
660
- "tighter",
661
- "tight",
662
- "normal",
663
- "wide",
664
- "wider",
665
- "widest",
666
- B
667
- ] }],
668
- "line-clamp": [{ "line-clamp": [
669
- "none",
670
- te,
671
- ne
672
- ] }],
673
- leading: [{ leading: [
674
- "none",
675
- "tight",
676
- "snug",
677
- "normal",
678
- "relaxed",
679
- "loose",
680
- R,
681
- B
682
- ] }],
683
- "list-image": [{ "list-image": ["none", B] }],
684
- "list-style-type": [{ list: [
685
- "none",
686
- "disc",
687
- "decimal",
688
- B
689
- ] }],
690
- "list-style-position": [{ list: ["inside", "outside"] }],
691
- "placeholder-color": [{ placeholder: [e] }],
692
- "placeholder-opacity": [{ "placeholder-opacity": [_] }],
693
- "text-alignment": [{ text: [
694
- "left",
695
- "center",
696
- "right",
697
- "justify",
698
- "start",
699
- "end"
700
- ] }],
701
- "text-color": [{ text: [e] }],
702
- "text-opacity": [{ "text-opacity": [_] }],
703
- "text-decoration": [
704
- "underline",
705
- "overline",
706
- "line-through",
707
- "no-underline"
708
- ],
709
- "text-decoration-style": [{ decoration: [...M(), "wavy"] }],
710
- "text-decoration-thickness": [{ decoration: [
711
- "auto",
712
- "from-font",
713
- R,
714
- z
715
- ] }],
716
- "underline-offset": [{ "underline-offset": [
717
- "auto",
718
- R,
719
- B
720
- ] }],
721
- "text-decoration-color": [{ decoration: [e] }],
722
- "text-transform": [
723
- "uppercase",
724
- "lowercase",
725
- "capitalize",
726
- "normal-case"
727
- ],
728
- "text-overflow": [
729
- "truncate",
730
- "text-ellipsis",
731
- "text-clip"
732
- ],
733
- "text-wrap": [{ text: [
734
- "wrap",
735
- "nowrap",
736
- "balance",
737
- "pretty"
738
- ] }],
739
- indent: [{ indent: O() }],
740
- "vertical-align": [{ align: [
741
- "baseline",
742
- "top",
743
- "middle",
744
- "bottom",
745
- "text-top",
746
- "text-bottom",
747
- "sub",
748
- "super",
749
- B
750
- ] }],
751
- whitespace: [{ whitespace: [
752
- "normal",
753
- "nowrap",
754
- "pre",
755
- "pre-line",
756
- "pre-wrap",
757
- "break-spaces"
758
- ] }],
759
- break: [{ break: [
760
- "normal",
761
- "words",
762
- "all",
763
- "keep"
764
- ] }],
765
- hyphens: [{ hyphens: [
766
- "none",
767
- "manual",
768
- "auto"
769
- ] }],
770
- content: [{ content: ["none", B] }],
771
- "bg-attachment": [{ bg: [
772
- "fixed",
773
- "local",
774
- "scroll"
775
- ] }],
776
- "bg-clip": [{ "bg-clip": [
777
- "border",
778
- "padding",
779
- "content",
780
- "text"
781
- ] }],
782
- "bg-opacity": [{ "bg-opacity": [_] }],
783
- "bg-origin": [{ "bg-origin": [
784
- "border",
785
- "padding",
786
- "content"
787
- ] }],
788
- "bg-position": [{ bg: [...j(), se] }],
789
- "bg-repeat": [{ bg: ["no-repeat", { repeat: [
790
- "",
791
- "x",
792
- "y",
793
- "round",
794
- "space"
795
- ] }] }],
796
- "bg-size": [{ bg: [
797
- "auto",
798
- "cover",
799
- "contain",
800
- oe
801
- ] }],
802
- "bg-image": [{ bg: [
803
- "none",
804
- { "gradient-to": [
805
- "t",
806
- "tr",
807
- "r",
808
- "br",
809
- "b",
810
- "bl",
811
- "l",
812
- "tl"
813
- ] },
814
- le
815
- ] }],
816
- "bg-color": [{ bg: [e] }],
817
- "gradient-from-pos": [{ from: [m] }],
818
- "gradient-via-pos": [{ via: [m] }],
819
- "gradient-to-pos": [{ to: [m] }],
820
- "gradient-from": [{ from: [p] }],
821
- "gradient-via": [{ via: [p] }],
822
- "gradient-to": [{ to: [p] }],
823
- rounded: [{ rounded: [a] }],
824
- "rounded-s": [{ "rounded-s": [a] }],
825
- "rounded-e": [{ "rounded-e": [a] }],
826
- "rounded-t": [{ "rounded-t": [a] }],
827
- "rounded-r": [{ "rounded-r": [a] }],
828
- "rounded-b": [{ "rounded-b": [a] }],
829
- "rounded-l": [{ "rounded-l": [a] }],
830
- "rounded-ss": [{ "rounded-ss": [a] }],
831
- "rounded-se": [{ "rounded-se": [a] }],
832
- "rounded-ee": [{ "rounded-ee": [a] }],
833
- "rounded-es": [{ "rounded-es": [a] }],
834
- "rounded-tl": [{ "rounded-tl": [a] }],
835
- "rounded-tr": [{ "rounded-tr": [a] }],
836
- "rounded-br": [{ "rounded-br": [a] }],
837
- "rounded-bl": [{ "rounded-bl": [a] }],
838
- "border-w": [{ border: [s] }],
839
- "border-w-x": [{ "border-x": [s] }],
840
- "border-w-y": [{ "border-y": [s] }],
841
- "border-w-s": [{ "border-s": [s] }],
842
- "border-w-e": [{ "border-e": [s] }],
843
- "border-w-t": [{ "border-t": [s] }],
844
- "border-w-r": [{ "border-r": [s] }],
845
- "border-w-b": [{ "border-b": [s] }],
846
- "border-w-l": [{ "border-l": [s] }],
847
- "border-opacity": [{ "border-opacity": [_] }],
848
- "border-style": [{ border: [...M(), "hidden"] }],
849
- "divide-x": [{ "divide-x": [s] }],
850
- "divide-x-reverse": ["divide-x-reverse"],
851
- "divide-y": [{ "divide-y": [s] }],
852
- "divide-y-reverse": ["divide-y-reverse"],
853
- "divide-opacity": [{ "divide-opacity": [_] }],
854
- "divide-style": [{ divide: M() }],
855
- "border-color": [{ border: [i] }],
856
- "border-color-x": [{ "border-x": [i] }],
857
- "border-color-y": [{ "border-y": [i] }],
858
- "border-color-s": [{ "border-s": [i] }],
859
- "border-color-e": [{ "border-e": [i] }],
860
- "border-color-t": [{ "border-t": [i] }],
861
- "border-color-r": [{ "border-r": [i] }],
862
- "border-color-b": [{ "border-b": [i] }],
863
- "border-color-l": [{ "border-l": [i] }],
864
- "divide-color": [{ divide: [i] }],
865
- "outline-style": [{ outline: ["", ...M()] }],
866
- "outline-offset": [{ "outline-offset": [R, B] }],
867
- "outline-w": [{ outline: [R, z] }],
868
- "outline-color": [{ outline: [e] }],
869
- "ring-w": [{ ring: ee() }],
870
- "ring-w-inset": ["ring-inset"],
871
- "ring-color": [{ ring: [e] }],
872
- "ring-opacity": [{ "ring-opacity": [_] }],
873
- "ring-offset-w": [{ "ring-offset": [R, z] }],
874
- "ring-offset-color": [{ "ring-offset": [e] }],
875
- shadow: [{ shadow: [
876
- "",
877
- "inner",
878
- "none",
879
- V,
880
- ue
881
- ] }],
882
- "shadow-color": [{ shadow: [de] }],
883
- opacity: [{ opacity: [_] }],
884
- "mix-blend": [{ "mix-blend": [
885
- ...N(),
886
- "plus-lighter",
887
- "plus-darker"
888
- ] }],
889
- "bg-blend": [{ "bg-blend": N() }],
890
- filter: [{ filter: ["", "none"] }],
891
- blur: [{ blur: [n] }],
892
- brightness: [{ brightness: [r] }],
893
- contrast: [{ contrast: [c] }],
894
- "drop-shadow": [{ "drop-shadow": [
895
- "",
896
- "none",
897
- V,
898
- B
899
- ] }],
900
- grayscale: [{ grayscale: [l] }],
901
- "hue-rotate": [{ "hue-rotate": [u] }],
902
- invert: [{ invert: [d] }],
903
- saturate: [{ saturate: [y] }],
904
- sepia: [{ sepia: [x] }],
905
- "backdrop-filter": [{ "backdrop-filter": ["", "none"] }],
906
- "backdrop-blur": [{ "backdrop-blur": [n] }],
907
- "backdrop-brightness": [{ "backdrop-brightness": [r] }],
908
- "backdrop-contrast": [{ "backdrop-contrast": [c] }],
909
- "backdrop-grayscale": [{ "backdrop-grayscale": [l] }],
910
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [u] }],
911
- "backdrop-invert": [{ "backdrop-invert": [d] }],
912
- "backdrop-opacity": [{ "backdrop-opacity": [_] }],
913
- "backdrop-saturate": [{ "backdrop-saturate": [y] }],
914
- "backdrop-sepia": [{ "backdrop-sepia": [x] }],
915
- "border-collapse": [{ border: ["collapse", "separate"] }],
916
- "border-spacing": [{ "border-spacing": [o] }],
917
- "border-spacing-x": [{ "border-spacing-x": [o] }],
918
- "border-spacing-y": [{ "border-spacing-y": [o] }],
919
- "table-layout": [{ table: ["auto", "fixed"] }],
920
- caption: [{ caption: ["top", "bottom"] }],
921
- transition: [{ transition: [
922
- "none",
923
- "all",
924
- "",
925
- "colors",
926
- "opacity",
927
- "shadow",
928
- "transform",
929
- B
930
- ] }],
931
- duration: [{ duration: L() }],
932
- ease: [{ ease: [
933
- "linear",
934
- "in",
935
- "out",
936
- "in-out",
937
- B
938
- ] }],
939
- delay: [{ delay: L() }],
940
- animate: [{ animate: [
941
- "none",
942
- "spin",
943
- "ping",
944
- "pulse",
945
- "bounce",
946
- B
947
- ] }],
948
- transform: [{ transform: [
949
- "",
950
- "gpu",
951
- "none"
952
- ] }],
953
- scale: [{ scale: [b] }],
954
- "scale-x": [{ "scale-x": [b] }],
955
- "scale-y": [{ "scale-y": [b] }],
956
- rotate: [{ rotate: [re, B] }],
957
- "translate-x": [{ "translate-x": [w] }],
958
- "translate-y": [{ "translate-y": [w] }],
959
- "skew-x": [{ "skew-x": [S] }],
960
- "skew-y": [{ "skew-y": [S] }],
961
- "transform-origin": [{ origin: [
962
- "center",
963
- "top",
964
- "top-right",
965
- "right",
966
- "bottom-right",
967
- "bottom",
968
- "bottom-left",
969
- "left",
970
- "top-left",
971
- B
972
- ] }],
973
- accent: [{ accent: ["auto", e] }],
974
- appearance: [{ appearance: ["none", "auto"] }],
975
- cursor: [{ cursor: [
976
- "auto",
977
- "default",
978
- "pointer",
979
- "wait",
980
- "text",
981
- "move",
982
- "help",
983
- "not-allowed",
984
- "none",
985
- "context-menu",
986
- "progress",
987
- "cell",
988
- "crosshair",
989
- "vertical-text",
990
- "alias",
991
- "copy",
992
- "no-drop",
993
- "grab",
994
- "grabbing",
995
- "all-scroll",
996
- "col-resize",
997
- "row-resize",
998
- "n-resize",
999
- "e-resize",
1000
- "s-resize",
1001
- "w-resize",
1002
- "ne-resize",
1003
- "nw-resize",
1004
- "se-resize",
1005
- "sw-resize",
1006
- "ew-resize",
1007
- "ns-resize",
1008
- "nesw-resize",
1009
- "nwse-resize",
1010
- "zoom-in",
1011
- "zoom-out",
1012
- B
1013
- ] }],
1014
- "caret-color": [{ caret: [e] }],
1015
- "pointer-events": [{ "pointer-events": ["none", "auto"] }],
1016
- resize: [{ resize: [
1017
- "none",
1018
- "y",
1019
- "x",
1020
- ""
1021
- ] }],
1022
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1023
- "scroll-m": [{ "scroll-m": O() }],
1024
- "scroll-mx": [{ "scroll-mx": O() }],
1025
- "scroll-my": [{ "scroll-my": O() }],
1026
- "scroll-ms": [{ "scroll-ms": O() }],
1027
- "scroll-me": [{ "scroll-me": O() }],
1028
- "scroll-mt": [{ "scroll-mt": O() }],
1029
- "scroll-mr": [{ "scroll-mr": O() }],
1030
- "scroll-mb": [{ "scroll-mb": O() }],
1031
- "scroll-ml": [{ "scroll-ml": O() }],
1032
- "scroll-p": [{ "scroll-p": O() }],
1033
- "scroll-px": [{ "scroll-px": O() }],
1034
- "scroll-py": [{ "scroll-py": O() }],
1035
- "scroll-ps": [{ "scroll-ps": O() }],
1036
- "scroll-pe": [{ "scroll-pe": O() }],
1037
- "scroll-pt": [{ "scroll-pt": O() }],
1038
- "scroll-pr": [{ "scroll-pr": O() }],
1039
- "scroll-pb": [{ "scroll-pb": O() }],
1040
- "scroll-pl": [{ "scroll-pl": O() }],
1041
- "snap-align": [{ snap: [
1042
- "start",
1043
- "end",
1044
- "center",
1045
- "align-none"
1046
- ] }],
1047
- "snap-stop": [{ snap: ["normal", "always"] }],
1048
- "snap-type": [{ snap: [
1049
- "none",
1050
- "x",
1051
- "y",
1052
- "both"
1053
- ] }],
1054
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
1055
- touch: [{ touch: [
1056
- "auto",
1057
- "none",
1058
- "manipulation"
1059
- ] }],
1060
- "touch-x": [{ "touch-pan": [
1061
- "x",
1062
- "left",
1063
- "right"
1064
- ] }],
1065
- "touch-y": [{ "touch-pan": [
1066
- "y",
1067
- "up",
1068
- "down"
1069
- ] }],
1070
- "touch-pz": ["touch-pinch-zoom"],
1071
- select: [{ select: [
1072
- "none",
1073
- "text",
1074
- "all",
1075
- "auto"
1076
- ] }],
1077
- "will-change": [{ "will-change": [
1078
- "auto",
1079
- "scroll",
1080
- "contents",
1081
- "transform",
1082
- B
1083
- ] }],
1084
- fill: [{ fill: [e, "none"] }],
1085
- "stroke-w": [{ stroke: [
1086
- R,
1087
- z,
1088
- ne
1089
- ] }],
1090
- stroke: [{ stroke: [e, "none"] }],
1091
- sr: ["sr-only", "not-sr-only"],
1092
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1093
- },
1094
- conflictingClassGroups: {
1095
- overflow: ["overflow-x", "overflow-y"],
1096
- overscroll: ["overscroll-x", "overscroll-y"],
1097
- inset: [
1098
- "inset-x",
1099
- "inset-y",
1100
- "start",
1101
- "end",
1102
- "top",
1103
- "right",
1104
- "bottom",
1105
- "left"
1106
- ],
1107
- "inset-x": ["right", "left"],
1108
- "inset-y": ["top", "bottom"],
1109
- flex: [
1110
- "basis",
1111
- "grow",
1112
- "shrink"
1113
- ],
1114
- gap: ["gap-x", "gap-y"],
1115
- p: [
1116
- "px",
1117
- "py",
1118
- "ps",
1119
- "pe",
1120
- "pt",
1121
- "pr",
1122
- "pb",
1123
- "pl"
1124
- ],
1125
- px: ["pr", "pl"],
1126
- py: ["pt", "pb"],
1127
- m: [
1128
- "mx",
1129
- "my",
1130
- "ms",
1131
- "me",
1132
- "mt",
1133
- "mr",
1134
- "mb",
1135
- "ml"
1136
- ],
1137
- mx: ["mr", "ml"],
1138
- my: ["mt", "mb"],
1139
- size: ["w", "h"],
1140
- "font-size": ["leading"],
1141
- "fvn-normal": [
1142
- "fvn-ordinal",
1143
- "fvn-slashed-zero",
1144
- "fvn-figure",
1145
- "fvn-spacing",
1146
- "fvn-fraction"
1147
- ],
1148
- "fvn-ordinal": ["fvn-normal"],
1149
- "fvn-slashed-zero": ["fvn-normal"],
1150
- "fvn-figure": ["fvn-normal"],
1151
- "fvn-spacing": ["fvn-normal"],
1152
- "fvn-fraction": ["fvn-normal"],
1153
- "line-clamp": ["display", "overflow"],
1154
- rounded: [
1155
- "rounded-s",
1156
- "rounded-e",
1157
- "rounded-t",
1158
- "rounded-r",
1159
- "rounded-b",
1160
- "rounded-l",
1161
- "rounded-ss",
1162
- "rounded-se",
1163
- "rounded-ee",
1164
- "rounded-es",
1165
- "rounded-tl",
1166
- "rounded-tr",
1167
- "rounded-br",
1168
- "rounded-bl"
1169
- ],
1170
- "rounded-s": ["rounded-ss", "rounded-es"],
1171
- "rounded-e": ["rounded-se", "rounded-ee"],
1172
- "rounded-t": ["rounded-tl", "rounded-tr"],
1173
- "rounded-r": ["rounded-tr", "rounded-br"],
1174
- "rounded-b": ["rounded-br", "rounded-bl"],
1175
- "rounded-l": ["rounded-tl", "rounded-bl"],
1176
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
1177
- "border-w": [
1178
- "border-w-s",
1179
- "border-w-e",
1180
- "border-w-t",
1181
- "border-w-r",
1182
- "border-w-b",
1183
- "border-w-l"
1184
- ],
1185
- "border-w-x": ["border-w-r", "border-w-l"],
1186
- "border-w-y": ["border-w-t", "border-w-b"],
1187
- "border-color": [
1188
- "border-color-s",
1189
- "border-color-e",
1190
- "border-color-t",
1191
- "border-color-r",
1192
- "border-color-b",
1193
- "border-color-l"
1194
- ],
1195
- "border-color-x": ["border-color-r", "border-color-l"],
1196
- "border-color-y": ["border-color-t", "border-color-b"],
1197
- "scroll-m": [
1198
- "scroll-mx",
1199
- "scroll-my",
1200
- "scroll-ms",
1201
- "scroll-me",
1202
- "scroll-mt",
1203
- "scroll-mr",
1204
- "scroll-mb",
1205
- "scroll-ml"
1206
- ],
1207
- "scroll-mx": ["scroll-mr", "scroll-ml"],
1208
- "scroll-my": ["scroll-mt", "scroll-mb"],
1209
- "scroll-p": [
1210
- "scroll-px",
1211
- "scroll-py",
1212
- "scroll-ps",
1213
- "scroll-pe",
1214
- "scroll-pt",
1215
- "scroll-pr",
1216
- "scroll-pb",
1217
- "scroll-pl"
1218
- ],
1219
- "scroll-px": ["scroll-pr", "scroll-pl"],
1220
- "scroll-py": ["scroll-pt", "scroll-pb"],
1221
- touch: [
1222
- "touch-x",
1223
- "touch-y",
1224
- "touch-pz"
1225
- ],
1226
- "touch-x": ["touch"],
1227
- "touch-y": ["touch"],
1228
- "touch-pz": ["touch"]
1229
- },
1230
- conflictingClassGroupModifiers: { "font-size": ["leading"] }
1231
- };
1232
- }), ve = {
1233
- "account-balanced": ["24", "24"],
1234
- "address-book": ["24", "24"],
1235
- ai: ["24", "24"],
1236
- "alarm-clock": ["24", "24"],
1237
- alert: ["24", "24"],
1238
- app: ["24", "24"],
1239
- apple: ["24", "24"],
1240
- armchair: ["24", "24"],
1241
- "arrow-down": ["24", "24"],
1242
- "arrow-left": ["24", "24"],
1243
- "arrow-right": ["24", "24"],
1244
- "arrow-up": ["24", "24"],
1245
- back: ["24", "24"],
1246
- bell: ["24", "24"],
1247
- bra: ["24", "24"],
1248
- briefcase: ["24", "24"],
1249
- "cake-piece-full": ["24", "24"],
1250
- "cake-piece": ["24", "24"],
1251
- calendar: ["24", "24"],
1252
- cart: ["24", "24"],
1253
- catalog: ["24", "24"],
1254
- chat: ["24", "24"],
1255
- "check-bold": ["24", "24"],
1256
- check: ["24", "24"],
1257
- child: ["24", "24"],
1258
- closer: ["24", "24"],
1259
- "clothing-basic": ["24", "24"],
1260
- "clothing-blazer": ["24", "24"],
1261
- "clothing-blouse": ["24", "24"],
1262
- "clothing-dress": ["24", "24"],
1263
- "clothing-homewear": ["24", "24"],
1264
- clothing: ["24", "24"],
1265
- "clothing-jacket": ["24", "24"],
1266
- "clothing-jeans": ["24", "24"],
1267
- "clothing-jumpsuit": ["24", "24"],
1268
- "clothing-knitwear": ["24", "24"],
1269
- "clothing-maternity-wear": ["24", "24"],
1270
- "clothing-party-wear": ["24", "24"],
1271
- "clothing-set": ["24", "24"],
1272
- "clothing-shirt": ["24", "24"],
1273
- "clothing-shorts": ["24", "24"],
1274
- "clothing-size": ["24", "24"],
1275
- "clothing-skirt": ["24", "24"],
1276
- "clothing-sport": ["24", "24"],
1277
- "clothing-sweater": ["24", "24"],
1278
- "clothing-sweatshirt": ["24", "24"],
1279
- "clothing-trousers": ["24", "24"],
1280
- communication: ["24", "24"],
1281
- connection: ["24", "24"],
1282
- "control-panel": ["24", "24"],
1283
- cookie: ["24", "24"],
1284
- copy: ["24", "24"],
1285
- "credit-card": ["24", "24"],
1286
- crown: ["24", "24"],
1287
- culture: ["24", "24"],
1288
- "curtain-almost-dark": ["24", "24"],
1289
- "curtain-dark": ["24", "24"],
1290
- "curtain-opaque": ["24", "24"],
1291
- "curtain-semi-transparent": ["24", "24"],
1292
- "curtain-transparent": ["24", "24"],
1293
- customer: ["24", "24"],
1294
- delivery: ["24", "24"],
1295
- denied: ["24", "24"],
1296
- desktop: ["24", "24"],
1297
- diamond: ["24", "24"],
1298
- discount: ["24", "24"],
1299
- dots: ["24", "24"],
1300
- download: ["24", "24"],
1301
- edit: ["24", "24"],
1302
- education: ["24", "24"],
1303
- email: ["24", "24"],
1304
- error: ["24", "24"],
1305
- exchange: ["24", "24"],
1306
- family: ["24", "24"],
1307
- faq: ["24", "24"],
1308
- "fast-delivery": ["24", "24"],
1309
- "feedback-negative": ["24", "24"],
1310
- "feedback-positive": ["24", "24"],
1311
- "first-aid": ["24", "24"],
1312
- fitness: ["24", "24"],
1313
- "fossil-fuel": ["24", "24"],
1314
- "free-delivery": ["24", "24"],
1315
- friendship: ["24", "24"],
1316
- giftbox: ["24", "24"],
1317
- "global-warming": ["24", "24"],
1318
- globe: ["24", "24"],
1319
- glossary: ["24", "24"],
1320
- handshake: ["24", "24"],
1321
- hanger: ["24", "24"],
1322
- hashtag: ["24", "24"],
1323
- health: ["24", "24"],
1324
- "heart-eyes-emoji": ["24", "24"],
1325
- "heart-full": ["24", "24"],
1326
- heart: ["24", "24"],
1327
- help: ["24", "24"],
1328
- hint: ["24", "24"],
1329
- home: ["24", "24"],
1330
- home2: ["24", "24"],
1331
- "image-placeholder": ["24", "24"],
1332
- info: ["24", "24"],
1333
- invoice: ["24", "24"],
1334
- "light-bulb-heart": ["24", "24"],
1335
- "light-bulb": ["24", "24"],
1336
- lightning: ["24", "24"],
1337
- location: ["24", "24"],
1338
- locations: ["24", "24"],
1339
- lock: ["24", "24"],
1340
- "lock-open": ["24", "24"],
1341
- "logged-in": ["24", "24"],
1342
- logout: ["24", "24"],
1343
- mail: ["24", "24"],
1344
- menu: ["24", "24"],
1345
- minus: ["24", "24"],
1346
- newsletter: ["24", "24"],
1347
- "not-yet-available": ["24", "24"],
1348
- order: ["24", "24"],
1349
- order2: ["24", "24"],
1350
- "out-of-stock": ["24", "24"],
1351
- pause: ["24", "24"],
1352
- "personal-data": ["24", "24"],
1353
- phone: ["24", "24"],
1354
- pin: ["24", "24"],
1355
- "pinch-zoom": ["24", "24"],
1356
- plane: ["24", "24"],
1357
- play: ["24", "24"],
1358
- plus: ["24", "24"],
1359
- prepaid: ["24", "24"],
1360
- print: ["24", "24"],
1361
- process: ["24", "24"],
1362
- "production-site": ["24", "24"],
1363
- puzzle: ["24", "24"],
1364
- "qr-code": ["24", "24"],
1365
- quality: ["24", "24"],
1366
- question: ["24", "24"],
1367
- radio: ["24", "24"],
1368
- "recently-viewed": ["24", "24"],
1369
- recycling: ["24", "24"],
1370
- religion: ["24", "24"],
1371
- return: ["24", "24"],
1372
- "review-full": ["24", "24"],
1373
- review: ["24", "24"],
1374
- rocket: ["24", "24"],
1375
- roots: ["24", "24"],
1376
- "saved-money": ["24", "24"],
1377
- scale: ["24", "24"],
1378
- "search-categories": ["24", "24"],
1379
- "search-form-arrow": ["24", "24"],
1380
- search: ["24", "24"],
1381
- sepa: ["24", "24"],
1382
- service: ["24", "24"],
1383
- share: ["24", "24"],
1384
- "shopping-bag": ["24", "24"],
1385
- signpost: ["24", "24"],
1386
- "signpost-single": ["24", "24"],
1387
- "similar-products": ["24", "24"],
1388
- size: ["24", "24"],
1389
- social: ["24", "24"],
1390
- "sold-out": ["24", "24"],
1391
- sort: ["24", "24"],
1392
- spark: ["24", "24"],
1393
- store: ["24", "24"],
1394
- success: ["24", "24"],
1395
- suitcase: ["24", "24"],
1396
- "sustainable-animal-welfare": ["24", "24"],
1397
- "sustainable-energy-efficient": ["24", "24"],
1398
- "sustainable-natural-cosmetics": ["24", "24"],
1399
- "sustainable-organic-materials": ["24", "24"],
1400
- "sustainable-production": ["24", "24"],
1401
- "sustainable-recyclable-design": ["24", "24"],
1402
- "sustainable-recycling": ["24", "24"],
1403
- "sustainable-resource": ["24", "24"],
1404
- "sustainable-social-initiatives": ["24", "24"],
1405
- swords: ["24", "24"],
1406
- tablet: ["24", "24"],
1407
- teacup: ["24", "24"],
1408
- "thumb-down-full": ["24", "24"],
1409
- "thumb-down": ["24", "24"],
1410
- "thumb-up-full": ["24", "24"],
1411
- "thumb-up": ["24", "24"],
1412
- "trash-bin": ["24", "24"],
1413
- tv: ["24", "24"],
1414
- user: ["24", "24"],
1415
- visibility: ["24", "24"],
1416
- "visibility-off": ["24", "24"],
1417
- voucher: ["24", "24"],
1418
- wallet: ["24", "24"],
1419
- "water-pollution": ["24", "24"],
1420
- "water-usage": ["24", "24"],
1421
- "whatsapp-bell": ["24", "24"],
1422
- "whatsapp-phone": ["24", "24"],
1423
- "zoom-in": ["24", "24"],
1424
- "zoom-out": ["24", "24"]
1425
- }, ye = ({ variant: e, className: t }) => {
1426
- let { iconSprite: n } = l(), i = "fill-clr-primary";
1427
- e.startsWith("sustainable-") && (i = "fill-clr-sustainable");
1428
- let a = _e("shrink-0 w-6 h-6", i, t), [o, s] = ve[e];
1429
- return /* @__PURE__ */ r("svg", {
1430
- className: a,
1431
- "aria-hidden": "true",
1432
- "data-bpds": "icon",
1433
- "data-bpds-variant": e,
1434
- style: { aspectRatio: `${o} / ${s}` },
1435
- children: /* @__PURE__ */ r("use", { href: `${n}#${e}-icon` })
1436
- });
1437
- }, be = ({ edgeLength: e = "16px" }) => /* @__PURE__ */ i("span", {
1438
- role: "status",
1439
- "data-bpds": "spinner",
1440
- "data-bpds-edge-length": e,
1441
- children: [/* @__PURE__ */ i("svg", {
1442
- "aria-hidden": "true",
1443
- "data-chromatic": "ignore",
1444
- className: "text-clr-on-bg-low animate-spin fill-clr-bg-main",
1445
- style: {
1446
- width: e,
1447
- height: e
1448
- },
1449
- viewBox: "0 0 100 101",
1450
- fill: "none",
1451
- xmlns: "http://www.w3.org/2000/svg",
1452
- children: [/* @__PURE__ */ r("path", {
1453
- d: "M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",
1454
- fill: "currentColor"
1455
- }), /* @__PURE__ */ r("path", {
1456
- d: "M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",
1457
- fill: "currentFill"
1458
- })]
1459
- }), /* @__PURE__ */ r("span", {
1460
- className: "sr-only",
1461
- children: "Lade..."
1462
- })]
1463
- }), xe = "-", Se = (e) => {
1464
- let t = Ee(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
1465
- return {
1466
- getClassGroupId: (e) => {
1467
- let n = e.split(xe);
1468
- return n[0] === "" && n.length !== 1 && n.shift(), Ce(n, t) || Te(e);
1469
- },
1470
- getConflictingClassGroupIds: (e, t) => {
1471
- let i = n[e] || [];
1472
- return t && r[e] ? [...i, ...r[e]] : i;
1473
- }
1474
- };
1475
- }, Ce = (e, t) => {
1476
- if (e.length === 0) return t.classGroupId;
1477
- let n = e[0], r = t.nextPart.get(n), i = r ? Ce(e.slice(1), r) : void 0;
1478
- if (i) return i;
1479
- if (t.validators.length === 0) return;
1480
- let a = e.join(xe);
1481
- return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
1482
- }, we = /^\[(.+)\]$/, Te = (e) => {
1483
- if (we.test(e)) {
1484
- let t = we.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
1485
- if (n) return "arbitrary.." + n;
1486
- }
1487
- }, Ee = (e) => {
1488
- let { theme: t, prefix: n } = e, r = {
1489
- nextPart: /* @__PURE__ */ new Map(),
1490
- validators: []
1491
- };
1492
- return Ae(Object.entries(e.classGroups), n).forEach(([e, n]) => {
1493
- De(n, r, e, t);
1494
- }), r;
1495
- }, De = (e, t, n, r) => {
1496
- e.forEach((e) => {
1497
- if (typeof e == "string") {
1498
- let r = e === "" ? t : Oe(t, e);
1499
- r.classGroupId = n;
1500
- return;
1501
- }
1502
- if (typeof e == "function") {
1503
- if (ke(e)) {
1504
- De(e(r), t, n, r);
1505
- return;
1506
- }
1507
- t.validators.push({
1508
- validator: e,
1509
- classGroupId: n
1510
- });
1511
- return;
1512
- }
1513
- Object.entries(e).forEach(([e, i]) => {
1514
- De(i, Oe(t, e), n, r);
1515
- });
1516
- });
1517
- }, Oe = (e, t) => {
1518
- let n = e;
1519
- return t.split(xe).forEach((e) => {
1520
- n.nextPart.has(e) || n.nextPart.set(e, {
1521
- nextPart: /* @__PURE__ */ new Map(),
1522
- validators: []
1523
- }), n = n.nextPart.get(e);
1524
- }), n;
1525
- }, ke = (e) => e.isThemeGetter, Ae = (e, t) => t ? e.map(([e, n]) => [e, n.map((e) => typeof e == "string" ? t + e : typeof e == "object" ? Object.fromEntries(Object.entries(e).map(([e, n]) => [t + e, n])) : e)]) : e, je = (e) => {
1526
- if (e < 1) return {
1527
- get: () => void 0,
1528
- set: () => {}
1529
- };
1530
- let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (i, a) => {
1531
- n.set(i, a), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
1532
- };
1533
- return {
1534
- get(e) {
1535
- let t = n.get(e);
1536
- if (t !== void 0) return t;
1537
- if ((t = r.get(e)) !== void 0) return i(e, t), t;
1538
- },
1539
- set(e, t) {
1540
- n.has(e) ? n.set(e, t) : i(e, t);
1541
- }
1542
- };
1543
- }, Me = "!", Ne = (e) => {
1544
- let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
1545
- let n = [], o = 0, s = 0, c;
1546
- for (let l = 0; l < e.length; l++) {
1547
- let u = e[l];
1548
- if (o === 0) {
1549
- if (u === i && (r || e.slice(l, l + a) === t)) {
1550
- n.push(e.slice(s, l)), s = l + a;
1551
- continue;
1552
- }
1553
- if (u === "/") {
1554
- c = l;
1555
- continue;
1556
- }
1557
- }
1558
- u === "[" ? o++ : u === "]" && o--;
1559
- }
1560
- let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(Me);
1561
- return {
1562
- modifiers: n,
1563
- hasImportantModifier: u,
1564
- baseClassName: u ? l.substring(1) : l,
1565
- maybePostfixModifierPosition: c && c > s ? c - s : void 0
1566
- };
1567
- };
1568
- return n ? (e) => n({
1569
- className: e,
1570
- parseClassName: o
1571
- }) : o;
1572
- }, Pe = (e) => {
1573
- if (e.length <= 1) return e;
1574
- let t = [], n = [];
1575
- return e.forEach((e) => {
1576
- e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
1577
- }), t.push(...n.sort()), t;
1578
- }, Fe = (e) => ({
1579
- cache: je(e.cacheSize),
1580
- parseClassName: Ne(e),
1581
- ...Se(e)
1582
- }), Ie = /\s+/, Le = (e, t) => {
1583
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(Ie), s = "";
1584
- for (let e = o.length - 1; e >= 0; --e) {
1585
- let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
1586
- if (!p) {
1587
- if (!f) {
1588
- s = t + (s.length > 0 ? " " + s : s);
1589
- continue;
1590
- }
1591
- if (p = r(u), !p) {
1592
- s = t + (s.length > 0 ? " " + s : s);
1593
- continue;
1594
- }
1595
- f = !1;
1596
- }
1597
- let m = Pe(c).join(":"), h = l ? m + Me : m, g = h + p;
1598
- if (a.includes(g)) continue;
1599
- a.push(g);
1600
- let _ = i(p, f);
1601
- for (let e = 0; e < _.length; ++e) {
1602
- let t = _[e];
1603
- a.push(h + t);
1604
- }
1605
- s = t + (s.length > 0 ? " " + s : s);
1606
- }
1607
- return s;
1608
- };
1609
- function Re() {
1610
- let e = 0, t, n, r = "";
1611
- for (; e < arguments.length;) (t = arguments[e++]) && (n = ze(t)) && (r && (r += " "), r += n);
1612
- return r;
1613
- }
1614
- var ze = (e) => {
1615
- if (typeof e == "string") return e;
1616
- let t, n = "";
1617
- for (let r = 0; r < e.length; r++) e[r] && (t = ze(e[r])) && (n && (n += " "), n += t);
1618
- return n;
1619
- };
1620
- function Be(e, ...t) {
1621
- let n, r, i, a = o;
1622
- function o(o) {
1623
- return n = Fe(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
1624
- }
1625
- function s(e) {
1626
- let t = r(e);
1627
- if (t) return t;
1628
- let a = Le(e, n);
1629
- return i(e, a), a;
1630
- }
1631
- return function() {
1632
- return a(Re.apply(null, arguments));
1633
- };
1634
- }
1635
- var H = (e) => {
1636
- let t = (t) => t[e] || [];
1637
- return t.isThemeGetter = !0, t;
1638
- }, Ve = /^\[(?:([a-z-]+):)?(.+)\]$/i, He = /^\d+\/\d+$/, Ue = /*#__PURE__*/ new Set([
1639
- "px",
1640
- "full",
1641
- "screen"
1642
- ]), We = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ge = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Ke = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, qe = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Je = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, U = (e) => Ye(e) || Ue.has(e) || He.test(e), W = (e) => ot(e, "length", st), Ye = (e) => !!e && !Number.isNaN(Number(e)), Xe = (e) => ot(e, "number", Ye), Ze = (e) => !!e && Number.isInteger(Number(e)), Qe = (e) => e.endsWith("%") && Ye(e.slice(0, -1)), G = (e) => Ve.test(e), K = (e) => We.test(e), $e = /*#__PURE__*/ new Set([
1643
- "length",
1644
- "size",
1645
- "percentage"
1646
- ]), et = (e) => ot(e, $e, ct), tt = (e) => ot(e, "position", ct), nt = /*#__PURE__*/ new Set(["image", "url"]), rt = (e) => ot(e, nt, ut), it = (e) => ot(e, "", lt), at = () => !0, ot = (e, t, n) => {
1647
- let r = Ve.exec(e);
1648
- return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
1649
- }, st = (e) => Ge.test(e) && !Ke.test(e), ct = () => !1, lt = (e) => qe.test(e), ut = (e) => Je.test(e), dt = /*#__PURE__*/ Be(() => {
1650
- let e = H("colors"), t = H("spacing"), n = H("blur"), r = H("brightness"), i = H("borderColor"), a = H("borderRadius"), o = H("borderSpacing"), s = H("borderWidth"), c = H("contrast"), l = H("grayscale"), u = H("hueRotate"), d = H("invert"), f = H("gap"), p = H("gradientColorStops"), m = H("gradientColorStopPositions"), h = H("inset"), g = H("margin"), _ = H("opacity"), v = H("padding"), y = H("saturate"), b = H("scale"), x = H("sepia"), S = H("skew"), C = H("space"), w = H("translate"), T = () => [
1651
- "auto",
1652
- "contain",
1653
- "none"
1654
- ], E = () => [
1655
- "auto",
1656
- "hidden",
1657
- "clip",
1658
- "visible",
1659
- "scroll"
1660
- ], D = () => [
1661
- "auto",
1662
- G,
1663
- t
1664
- ], O = () => [G, t], ee = () => [
1665
- "",
1666
- U,
1667
- W
1668
- ], k = () => [
1669
- "auto",
1670
- Ye,
1671
- G
1672
- ], A = () => [
1673
- "bottom",
1674
- "center",
1675
- "left",
1676
- "left-bottom",
1677
- "left-top",
1678
- "right",
1679
- "right-bottom",
1680
- "right-top",
1681
- "top"
1682
- ], j = () => [
1683
- "solid",
1684
- "dashed",
1685
- "dotted",
1686
- "double",
1687
- "none"
1688
- ], M = () => [
1689
- "normal",
1690
- "multiply",
1691
- "screen",
1692
- "overlay",
1693
- "darken",
1694
- "lighten",
1695
- "color-dodge",
1696
- "color-burn",
1697
- "hard-light",
1698
- "soft-light",
1699
- "difference",
1700
- "exclusion",
1701
- "hue",
1702
- "saturation",
1703
- "color",
1704
- "luminosity"
1705
- ], N = () => [
1706
- "start",
1707
- "end",
1708
- "center",
1709
- "between",
1710
- "around",
1711
- "evenly",
1712
- "stretch"
1713
- ], P = () => [
1714
- "",
1715
- "0",
1716
- G
1717
- ], F = () => [
1718
- "auto",
1719
- "avoid",
1720
- "all",
1721
- "avoid-page",
1722
- "page",
1723
- "left",
1724
- "right",
1725
- "column"
1726
- ], I = () => [Ye, G];
1727
- return {
1728
- cacheSize: 500,
1729
- separator: ":",
1730
- theme: {
1731
- colors: [at],
1732
- spacing: [U, W],
1733
- blur: [
1734
- "none",
1735
- "",
1736
- K,
1737
- G
1738
- ],
1739
- brightness: I(),
1740
- borderColor: [e],
1741
- borderRadius: [
1742
- "none",
1743
- "",
1744
- "full",
1745
- K,
1746
- G
1747
- ],
1748
- borderSpacing: O(),
1749
- borderWidth: ee(),
1750
- contrast: I(),
1751
- grayscale: P(),
1752
- hueRotate: I(),
1753
- invert: P(),
1754
- gap: O(),
1755
- gradientColorStops: [e],
1756
- gradientColorStopPositions: [Qe, W],
1757
- inset: D(),
1758
- margin: D(),
1759
- opacity: I(),
1760
- padding: O(),
1761
- saturate: I(),
1762
- scale: I(),
1763
- sepia: P(),
1764
- skew: I(),
1765
- space: O(),
1766
- translate: O()
1767
- },
1768
- classGroups: {
1769
- aspect: [{ aspect: [
1770
- "auto",
1771
- "square",
1772
- "video",
1773
- G
1774
- ] }],
1775
- container: ["container"],
1776
- columns: [{ columns: [K] }],
1777
- "break-after": [{ "break-after": F() }],
1778
- "break-before": [{ "break-before": F() }],
1779
- "break-inside": [{ "break-inside": [
1780
- "auto",
1781
- "avoid",
1782
- "avoid-page",
1783
- "avoid-column"
1784
- ] }],
1785
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
1786
- box: [{ box: ["border", "content"] }],
1787
- display: [
1788
- "block",
1789
- "inline-block",
1790
- "inline",
1791
- "flex",
1792
- "inline-flex",
1793
- "table",
1794
- "inline-table",
1795
- "table-caption",
1796
- "table-cell",
1797
- "table-column",
1798
- "table-column-group",
1799
- "table-footer-group",
1800
- "table-header-group",
1801
- "table-row-group",
1802
- "table-row",
1803
- "flow-root",
1804
- "grid",
1805
- "inline-grid",
1806
- "contents",
1807
- "list-item",
1808
- "hidden"
1809
- ],
1810
- float: [{ float: [
1811
- "right",
1812
- "left",
1813
- "none",
1814
- "start",
1815
- "end"
1816
- ] }],
1817
- clear: [{ clear: [
1818
- "left",
1819
- "right",
1820
- "both",
1821
- "none",
1822
- "start",
1823
- "end"
1824
- ] }],
1825
- isolation: ["isolate", "isolation-auto"],
1826
- "object-fit": [{ object: [
1827
- "contain",
1828
- "cover",
1829
- "fill",
1830
- "none",
1831
- "scale-down"
1832
- ] }],
1833
- "object-position": [{ object: [...A(), G] }],
1834
- overflow: [{ overflow: E() }],
1835
- "overflow-x": [{ "overflow-x": E() }],
1836
- "overflow-y": [{ "overflow-y": E() }],
1837
- overscroll: [{ overscroll: T() }],
1838
- "overscroll-x": [{ "overscroll-x": T() }],
1839
- "overscroll-y": [{ "overscroll-y": T() }],
1840
- position: [
1841
- "static",
1842
- "fixed",
1843
- "absolute",
1844
- "relative",
1845
- "sticky"
1846
- ],
1847
- inset: [{ inset: [h] }],
1848
- "inset-x": [{ "inset-x": [h] }],
1849
- "inset-y": [{ "inset-y": [h] }],
1850
- start: [{ start: [h] }],
1851
- end: [{ end: [h] }],
1852
- top: [{ top: [h] }],
1853
- right: [{ right: [h] }],
1854
- bottom: [{ bottom: [h] }],
1855
- left: [{ left: [h] }],
1856
- visibility: [
1857
- "visible",
1858
- "invisible",
1859
- "collapse"
1860
- ],
1861
- z: [{ z: [
1862
- "auto",
1863
- Ze,
1864
- G
1865
- ] }],
1866
- basis: [{ basis: D() }],
1867
- "flex-direction": [{ flex: [
1868
- "row",
1869
- "row-reverse",
1870
- "col",
1871
- "col-reverse"
1872
- ] }],
1873
- "flex-wrap": [{ flex: [
1874
- "wrap",
1875
- "wrap-reverse",
1876
- "nowrap"
1877
- ] }],
1878
- flex: [{ flex: [
1879
- "1",
1880
- "auto",
1881
- "initial",
1882
- "none",
1883
- G
1884
- ] }],
1885
- grow: [{ grow: P() }],
1886
- shrink: [{ shrink: P() }],
1887
- order: [{ order: [
1888
- "first",
1889
- "last",
1890
- "none",
1891
- Ze,
1892
- G
1893
- ] }],
1894
- "grid-cols": [{ "grid-cols": [at] }],
1895
- "col-start-end": [{ col: [
1896
- "auto",
1897
- { span: [
1898
- "full",
1899
- Ze,
1900
- G
1901
- ] },
1902
- G
1903
- ] }],
1904
- "col-start": [{ "col-start": k() }],
1905
- "col-end": [{ "col-end": k() }],
1906
- "grid-rows": [{ "grid-rows": [at] }],
1907
- "row-start-end": [{ row: [
1908
- "auto",
1909
- { span: [Ze, G] },
1910
- G
1911
- ] }],
1912
- "row-start": [{ "row-start": k() }],
1913
- "row-end": [{ "row-end": k() }],
1914
- "grid-flow": [{ "grid-flow": [
1915
- "row",
1916
- "col",
1917
- "dense",
1918
- "row-dense",
1919
- "col-dense"
1920
- ] }],
1921
- "auto-cols": [{ "auto-cols": [
1922
- "auto",
1923
- "min",
1924
- "max",
1925
- "fr",
1926
- G
1927
- ] }],
1928
- "auto-rows": [{ "auto-rows": [
1929
- "auto",
1930
- "min",
1931
- "max",
1932
- "fr",
1933
- G
1934
- ] }],
1935
- gap: [{ gap: [f] }],
1936
- "gap-x": [{ "gap-x": [f] }],
1937
- "gap-y": [{ "gap-y": [f] }],
1938
- "justify-content": [{ justify: ["normal", ...N()] }],
1939
- "justify-items": [{ "justify-items": [
1940
- "start",
1941
- "end",
1942
- "center",
1943
- "stretch"
1944
- ] }],
1945
- "justify-self": [{ "justify-self": [
1946
- "auto",
1947
- "start",
1948
- "end",
1949
- "center",
1950
- "stretch"
1951
- ] }],
1952
- "align-content": [{ content: [
1953
- "normal",
1954
- ...N(),
1955
- "baseline"
1956
- ] }],
1957
- "align-items": [{ items: [
1958
- "start",
1959
- "end",
1960
- "center",
1961
- "baseline",
1962
- "stretch"
1963
- ] }],
1964
- "align-self": [{ self: [
1965
- "auto",
1966
- "start",
1967
- "end",
1968
- "center",
1969
- "stretch",
1970
- "baseline"
1971
- ] }],
1972
- "place-content": [{ "place-content": [...N(), "baseline"] }],
1973
- "place-items": [{ "place-items": [
1974
- "start",
1975
- "end",
1976
- "center",
1977
- "baseline",
1978
- "stretch"
1979
- ] }],
1980
- "place-self": [{ "place-self": [
1981
- "auto",
1982
- "start",
1983
- "end",
1984
- "center",
1985
- "stretch"
1986
- ] }],
1987
- p: [{ p: [v] }],
1988
- px: [{ px: [v] }],
1989
- py: [{ py: [v] }],
1990
- ps: [{ ps: [v] }],
1991
- pe: [{ pe: [v] }],
1992
- pt: [{ pt: [v] }],
1993
- pr: [{ pr: [v] }],
1994
- pb: [{ pb: [v] }],
1995
- pl: [{ pl: [v] }],
1996
- m: [{ m: [g] }],
1997
- mx: [{ mx: [g] }],
1998
- my: [{ my: [g] }],
1999
- ms: [{ ms: [g] }],
2000
- me: [{ me: [g] }],
2001
- mt: [{ mt: [g] }],
2002
- mr: [{ mr: [g] }],
2003
- mb: [{ mb: [g] }],
2004
- ml: [{ ml: [g] }],
2005
- "space-x": [{ "space-x": [C] }],
2006
- "space-x-reverse": ["space-x-reverse"],
2007
- "space-y": [{ "space-y": [C] }],
2008
- "space-y-reverse": ["space-y-reverse"],
2009
- w: [{ w: [
2010
- "auto",
2011
- "min",
2012
- "max",
2013
- "fit",
2014
- "svw",
2015
- "lvw",
2016
- "dvw",
2017
- G,
2018
- t
2019
- ] }],
2020
- "min-w": [{ "min-w": [
2021
- G,
2022
- t,
2023
- "min",
2024
- "max",
2025
- "fit"
2026
- ] }],
2027
- "max-w": [{ "max-w": [
2028
- G,
2029
- t,
2030
- "none",
2031
- "full",
2032
- "min",
2033
- "max",
2034
- "fit",
2035
- "prose",
2036
- { screen: [K] },
2037
- K
2038
- ] }],
2039
- h: [{ h: [
2040
- G,
2041
- t,
2042
- "auto",
2043
- "min",
2044
- "max",
2045
- "fit",
2046
- "svh",
2047
- "lvh",
2048
- "dvh"
2049
- ] }],
2050
- "min-h": [{ "min-h": [
2051
- G,
2052
- t,
2053
- "min",
2054
- "max",
2055
- "fit",
2056
- "svh",
2057
- "lvh",
2058
- "dvh"
2059
- ] }],
2060
- "max-h": [{ "max-h": [
2061
- G,
2062
- t,
2063
- "min",
2064
- "max",
2065
- "fit",
2066
- "svh",
2067
- "lvh",
2068
- "dvh"
2069
- ] }],
2070
- size: [{ size: [
2071
- G,
2072
- t,
2073
- "auto",
2074
- "min",
2075
- "max",
2076
- "fit"
2077
- ] }],
2078
- "font-size": [{ text: [
2079
- "base",
2080
- K,
2081
- W
2082
- ] }],
2083
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
2084
- "font-style": ["italic", "not-italic"],
2085
- "font-weight": [{ font: [
2086
- "thin",
2087
- "extralight",
2088
- "light",
2089
- "normal",
2090
- "medium",
2091
- "semibold",
2092
- "bold",
2093
- "extrabold",
2094
- "black",
2095
- Xe
2096
- ] }],
2097
- "font-family": [{ font: [at] }],
2098
- "fvn-normal": ["normal-nums"],
2099
- "fvn-ordinal": ["ordinal"],
2100
- "fvn-slashed-zero": ["slashed-zero"],
2101
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
2102
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
2103
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
2104
- tracking: [{ tracking: [
2105
- "tighter",
2106
- "tight",
2107
- "normal",
2108
- "wide",
2109
- "wider",
2110
- "widest",
2111
- G
2112
- ] }],
2113
- "line-clamp": [{ "line-clamp": [
2114
- "none",
2115
- Ye,
2116
- Xe
2117
- ] }],
2118
- leading: [{ leading: [
2119
- "none",
2120
- "tight",
2121
- "snug",
2122
- "normal",
2123
- "relaxed",
2124
- "loose",
2125
- U,
2126
- G
2127
- ] }],
2128
- "list-image": [{ "list-image": ["none", G] }],
2129
- "list-style-type": [{ list: [
2130
- "none",
2131
- "disc",
2132
- "decimal",
2133
- G
2134
- ] }],
2135
- "list-style-position": [{ list: ["inside", "outside"] }],
2136
- "placeholder-color": [{ placeholder: [e] }],
2137
- "placeholder-opacity": [{ "placeholder-opacity": [_] }],
2138
- "text-alignment": [{ text: [
2139
- "left",
2140
- "center",
2141
- "right",
2142
- "justify",
2143
- "start",
2144
- "end"
2145
- ] }],
2146
- "text-color": [{ text: [e] }],
2147
- "text-opacity": [{ "text-opacity": [_] }],
2148
- "text-decoration": [
2149
- "underline",
2150
- "overline",
2151
- "line-through",
2152
- "no-underline"
2153
- ],
2154
- "text-decoration-style": [{ decoration: [...j(), "wavy"] }],
2155
- "text-decoration-thickness": [{ decoration: [
2156
- "auto",
2157
- "from-font",
2158
- U,
2159
- W
2160
- ] }],
2161
- "underline-offset": [{ "underline-offset": [
2162
- "auto",
2163
- U,
2164
- G
2165
- ] }],
2166
- "text-decoration-color": [{ decoration: [e] }],
2167
- "text-transform": [
2168
- "uppercase",
2169
- "lowercase",
2170
- "capitalize",
2171
- "normal-case"
2172
- ],
2173
- "text-overflow": [
2174
- "truncate",
2175
- "text-ellipsis",
2176
- "text-clip"
2177
- ],
2178
- "text-wrap": [{ text: [
2179
- "wrap",
2180
- "nowrap",
2181
- "balance",
2182
- "pretty"
2183
- ] }],
2184
- indent: [{ indent: O() }],
2185
- "vertical-align": [{ align: [
2186
- "baseline",
2187
- "top",
2188
- "middle",
2189
- "bottom",
2190
- "text-top",
2191
- "text-bottom",
2192
- "sub",
2193
- "super",
2194
- G
2195
- ] }],
2196
- whitespace: [{ whitespace: [
2197
- "normal",
2198
- "nowrap",
2199
- "pre",
2200
- "pre-line",
2201
- "pre-wrap",
2202
- "break-spaces"
2203
- ] }],
2204
- break: [{ break: [
2205
- "normal",
2206
- "words",
2207
- "all",
2208
- "keep"
2209
- ] }],
2210
- hyphens: [{ hyphens: [
2211
- "none",
2212
- "manual",
2213
- "auto"
2214
- ] }],
2215
- content: [{ content: ["none", G] }],
2216
- "bg-attachment": [{ bg: [
2217
- "fixed",
2218
- "local",
2219
- "scroll"
2220
- ] }],
2221
- "bg-clip": [{ "bg-clip": [
2222
- "border",
2223
- "padding",
2224
- "content",
2225
- "text"
2226
- ] }],
2227
- "bg-opacity": [{ "bg-opacity": [_] }],
2228
- "bg-origin": [{ "bg-origin": [
2229
- "border",
2230
- "padding",
2231
- "content"
2232
- ] }],
2233
- "bg-position": [{ bg: [...A(), tt] }],
2234
- "bg-repeat": [{ bg: ["no-repeat", { repeat: [
2235
- "",
2236
- "x",
2237
- "y",
2238
- "round",
2239
- "space"
2240
- ] }] }],
2241
- "bg-size": [{ bg: [
2242
- "auto",
2243
- "cover",
2244
- "contain",
2245
- et
2246
- ] }],
2247
- "bg-image": [{ bg: [
2248
- "none",
2249
- { "gradient-to": [
2250
- "t",
2251
- "tr",
2252
- "r",
2253
- "br",
2254
- "b",
2255
- "bl",
2256
- "l",
2257
- "tl"
2258
- ] },
2259
- rt
2260
- ] }],
2261
- "bg-color": [{ bg: [e] }],
2262
- "gradient-from-pos": [{ from: [m] }],
2263
- "gradient-via-pos": [{ via: [m] }],
2264
- "gradient-to-pos": [{ to: [m] }],
2265
- "gradient-from": [{ from: [p] }],
2266
- "gradient-via": [{ via: [p] }],
2267
- "gradient-to": [{ to: [p] }],
2268
- rounded: [{ rounded: [a] }],
2269
- "rounded-s": [{ "rounded-s": [a] }],
2270
- "rounded-e": [{ "rounded-e": [a] }],
2271
- "rounded-t": [{ "rounded-t": [a] }],
2272
- "rounded-r": [{ "rounded-r": [a] }],
2273
- "rounded-b": [{ "rounded-b": [a] }],
2274
- "rounded-l": [{ "rounded-l": [a] }],
2275
- "rounded-ss": [{ "rounded-ss": [a] }],
2276
- "rounded-se": [{ "rounded-se": [a] }],
2277
- "rounded-ee": [{ "rounded-ee": [a] }],
2278
- "rounded-es": [{ "rounded-es": [a] }],
2279
- "rounded-tl": [{ "rounded-tl": [a] }],
2280
- "rounded-tr": [{ "rounded-tr": [a] }],
2281
- "rounded-br": [{ "rounded-br": [a] }],
2282
- "rounded-bl": [{ "rounded-bl": [a] }],
2283
- "border-w": [{ border: [s] }],
2284
- "border-w-x": [{ "border-x": [s] }],
2285
- "border-w-y": [{ "border-y": [s] }],
2286
- "border-w-s": [{ "border-s": [s] }],
2287
- "border-w-e": [{ "border-e": [s] }],
2288
- "border-w-t": [{ "border-t": [s] }],
2289
- "border-w-r": [{ "border-r": [s] }],
2290
- "border-w-b": [{ "border-b": [s] }],
2291
- "border-w-l": [{ "border-l": [s] }],
2292
- "border-opacity": [{ "border-opacity": [_] }],
2293
- "border-style": [{ border: [...j(), "hidden"] }],
2294
- "divide-x": [{ "divide-x": [s] }],
2295
- "divide-x-reverse": ["divide-x-reverse"],
2296
- "divide-y": [{ "divide-y": [s] }],
2297
- "divide-y-reverse": ["divide-y-reverse"],
2298
- "divide-opacity": [{ "divide-opacity": [_] }],
2299
- "divide-style": [{ divide: j() }],
2300
- "border-color": [{ border: [i] }],
2301
- "border-color-x": [{ "border-x": [i] }],
2302
- "border-color-y": [{ "border-y": [i] }],
2303
- "border-color-s": [{ "border-s": [i] }],
2304
- "border-color-e": [{ "border-e": [i] }],
2305
- "border-color-t": [{ "border-t": [i] }],
2306
- "border-color-r": [{ "border-r": [i] }],
2307
- "border-color-b": [{ "border-b": [i] }],
2308
- "border-color-l": [{ "border-l": [i] }],
2309
- "divide-color": [{ divide: [i] }],
2310
- "outline-style": [{ outline: ["", ...j()] }],
2311
- "outline-offset": [{ "outline-offset": [U, G] }],
2312
- "outline-w": [{ outline: [U, W] }],
2313
- "outline-color": [{ outline: [e] }],
2314
- "ring-w": [{ ring: ee() }],
2315
- "ring-w-inset": ["ring-inset"],
2316
- "ring-color": [{ ring: [e] }],
2317
- "ring-opacity": [{ "ring-opacity": [_] }],
2318
- "ring-offset-w": [{ "ring-offset": [U, W] }],
2319
- "ring-offset-color": [{ "ring-offset": [e] }],
2320
- shadow: [{ shadow: [
2321
- "",
2322
- "inner",
2323
- "none",
2324
- K,
2325
- it
2326
- ] }],
2327
- "shadow-color": [{ shadow: [at] }],
2328
- opacity: [{ opacity: [_] }],
2329
- "mix-blend": [{ "mix-blend": [
2330
- ...M(),
2331
- "plus-lighter",
2332
- "plus-darker"
2333
- ] }],
2334
- "bg-blend": [{ "bg-blend": M() }],
2335
- filter: [{ filter: ["", "none"] }],
2336
- blur: [{ blur: [n] }],
2337
- brightness: [{ brightness: [r] }],
2338
- contrast: [{ contrast: [c] }],
2339
- "drop-shadow": [{ "drop-shadow": [
2340
- "",
2341
- "none",
2342
- K,
2343
- G
2344
- ] }],
2345
- grayscale: [{ grayscale: [l] }],
2346
- "hue-rotate": [{ "hue-rotate": [u] }],
2347
- invert: [{ invert: [d] }],
2348
- saturate: [{ saturate: [y] }],
2349
- sepia: [{ sepia: [x] }],
2350
- "backdrop-filter": [{ "backdrop-filter": ["", "none"] }],
2351
- "backdrop-blur": [{ "backdrop-blur": [n] }],
2352
- "backdrop-brightness": [{ "backdrop-brightness": [r] }],
2353
- "backdrop-contrast": [{ "backdrop-contrast": [c] }],
2354
- "backdrop-grayscale": [{ "backdrop-grayscale": [l] }],
2355
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [u] }],
2356
- "backdrop-invert": [{ "backdrop-invert": [d] }],
2357
- "backdrop-opacity": [{ "backdrop-opacity": [_] }],
2358
- "backdrop-saturate": [{ "backdrop-saturate": [y] }],
2359
- "backdrop-sepia": [{ "backdrop-sepia": [x] }],
2360
- "border-collapse": [{ border: ["collapse", "separate"] }],
2361
- "border-spacing": [{ "border-spacing": [o] }],
2362
- "border-spacing-x": [{ "border-spacing-x": [o] }],
2363
- "border-spacing-y": [{ "border-spacing-y": [o] }],
2364
- "table-layout": [{ table: ["auto", "fixed"] }],
2365
- caption: [{ caption: ["top", "bottom"] }],
2366
- transition: [{ transition: [
2367
- "none",
2368
- "all",
2369
- "",
2370
- "colors",
2371
- "opacity",
2372
- "shadow",
2373
- "transform",
2374
- G
2375
- ] }],
2376
- duration: [{ duration: I() }],
2377
- ease: [{ ease: [
2378
- "linear",
2379
- "in",
2380
- "out",
2381
- "in-out",
2382
- G
2383
- ] }],
2384
- delay: [{ delay: I() }],
2385
- animate: [{ animate: [
2386
- "none",
2387
- "spin",
2388
- "ping",
2389
- "pulse",
2390
- "bounce",
2391
- G
2392
- ] }],
2393
- transform: [{ transform: [
2394
- "",
2395
- "gpu",
2396
- "none"
2397
- ] }],
2398
- scale: [{ scale: [b] }],
2399
- "scale-x": [{ "scale-x": [b] }],
2400
- "scale-y": [{ "scale-y": [b] }],
2401
- rotate: [{ rotate: [Ze, G] }],
2402
- "translate-x": [{ "translate-x": [w] }],
2403
- "translate-y": [{ "translate-y": [w] }],
2404
- "skew-x": [{ "skew-x": [S] }],
2405
- "skew-y": [{ "skew-y": [S] }],
2406
- "transform-origin": [{ origin: [
2407
- "center",
2408
- "top",
2409
- "top-right",
2410
- "right",
2411
- "bottom-right",
2412
- "bottom",
2413
- "bottom-left",
2414
- "left",
2415
- "top-left",
2416
- G
2417
- ] }],
2418
- accent: [{ accent: ["auto", e] }],
2419
- appearance: [{ appearance: ["none", "auto"] }],
2420
- cursor: [{ cursor: [
2421
- "auto",
2422
- "default",
2423
- "pointer",
2424
- "wait",
2425
- "text",
2426
- "move",
2427
- "help",
2428
- "not-allowed",
2429
- "none",
2430
- "context-menu",
2431
- "progress",
2432
- "cell",
2433
- "crosshair",
2434
- "vertical-text",
2435
- "alias",
2436
- "copy",
2437
- "no-drop",
2438
- "grab",
2439
- "grabbing",
2440
- "all-scroll",
2441
- "col-resize",
2442
- "row-resize",
2443
- "n-resize",
2444
- "e-resize",
2445
- "s-resize",
2446
- "w-resize",
2447
- "ne-resize",
2448
- "nw-resize",
2449
- "se-resize",
2450
- "sw-resize",
2451
- "ew-resize",
2452
- "ns-resize",
2453
- "nesw-resize",
2454
- "nwse-resize",
2455
- "zoom-in",
2456
- "zoom-out",
2457
- G
2458
- ] }],
2459
- "caret-color": [{ caret: [e] }],
2460
- "pointer-events": [{ "pointer-events": ["none", "auto"] }],
2461
- resize: [{ resize: [
2462
- "none",
2463
- "y",
2464
- "x",
2465
- ""
2466
- ] }],
2467
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
2468
- "scroll-m": [{ "scroll-m": O() }],
2469
- "scroll-mx": [{ "scroll-mx": O() }],
2470
- "scroll-my": [{ "scroll-my": O() }],
2471
- "scroll-ms": [{ "scroll-ms": O() }],
2472
- "scroll-me": [{ "scroll-me": O() }],
2473
- "scroll-mt": [{ "scroll-mt": O() }],
2474
- "scroll-mr": [{ "scroll-mr": O() }],
2475
- "scroll-mb": [{ "scroll-mb": O() }],
2476
- "scroll-ml": [{ "scroll-ml": O() }],
2477
- "scroll-p": [{ "scroll-p": O() }],
2478
- "scroll-px": [{ "scroll-px": O() }],
2479
- "scroll-py": [{ "scroll-py": O() }],
2480
- "scroll-ps": [{ "scroll-ps": O() }],
2481
- "scroll-pe": [{ "scroll-pe": O() }],
2482
- "scroll-pt": [{ "scroll-pt": O() }],
2483
- "scroll-pr": [{ "scroll-pr": O() }],
2484
- "scroll-pb": [{ "scroll-pb": O() }],
2485
- "scroll-pl": [{ "scroll-pl": O() }],
2486
- "snap-align": [{ snap: [
2487
- "start",
2488
- "end",
2489
- "center",
2490
- "align-none"
2491
- ] }],
2492
- "snap-stop": [{ snap: ["normal", "always"] }],
2493
- "snap-type": [{ snap: [
2494
- "none",
2495
- "x",
2496
- "y",
2497
- "both"
2498
- ] }],
2499
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
2500
- touch: [{ touch: [
2501
- "auto",
2502
- "none",
2503
- "manipulation"
2504
- ] }],
2505
- "touch-x": [{ "touch-pan": [
2506
- "x",
2507
- "left",
2508
- "right"
2509
- ] }],
2510
- "touch-y": [{ "touch-pan": [
2511
- "y",
2512
- "up",
2513
- "down"
2514
- ] }],
2515
- "touch-pz": ["touch-pinch-zoom"],
2516
- select: [{ select: [
2517
- "none",
2518
- "text",
2519
- "all",
2520
- "auto"
2521
- ] }],
2522
- "will-change": [{ "will-change": [
2523
- "auto",
2524
- "scroll",
2525
- "contents",
2526
- "transform",
2527
- G
2528
- ] }],
2529
- fill: [{ fill: [e, "none"] }],
2530
- "stroke-w": [{ stroke: [
2531
- U,
2532
- W,
2533
- Xe
2534
- ] }],
2535
- stroke: [{ stroke: [e, "none"] }],
2536
- sr: ["sr-only", "not-sr-only"],
2537
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
2538
- },
2539
- conflictingClassGroups: {
2540
- overflow: ["overflow-x", "overflow-y"],
2541
- overscroll: ["overscroll-x", "overscroll-y"],
2542
- inset: [
2543
- "inset-x",
2544
- "inset-y",
2545
- "start",
2546
- "end",
2547
- "top",
2548
- "right",
2549
- "bottom",
2550
- "left"
2551
- ],
2552
- "inset-x": ["right", "left"],
2553
- "inset-y": ["top", "bottom"],
2554
- flex: [
2555
- "basis",
2556
- "grow",
2557
- "shrink"
2558
- ],
2559
- gap: ["gap-x", "gap-y"],
2560
- p: [
2561
- "px",
2562
- "py",
2563
- "ps",
2564
- "pe",
2565
- "pt",
2566
- "pr",
2567
- "pb",
2568
- "pl"
2569
- ],
2570
- px: ["pr", "pl"],
2571
- py: ["pt", "pb"],
2572
- m: [
2573
- "mx",
2574
- "my",
2575
- "ms",
2576
- "me",
2577
- "mt",
2578
- "mr",
2579
- "mb",
2580
- "ml"
2581
- ],
2582
- mx: ["mr", "ml"],
2583
- my: ["mt", "mb"],
2584
- size: ["w", "h"],
2585
- "font-size": ["leading"],
2586
- "fvn-normal": [
2587
- "fvn-ordinal",
2588
- "fvn-slashed-zero",
2589
- "fvn-figure",
2590
- "fvn-spacing",
2591
- "fvn-fraction"
2592
- ],
2593
- "fvn-ordinal": ["fvn-normal"],
2594
- "fvn-slashed-zero": ["fvn-normal"],
2595
- "fvn-figure": ["fvn-normal"],
2596
- "fvn-spacing": ["fvn-normal"],
2597
- "fvn-fraction": ["fvn-normal"],
2598
- "line-clamp": ["display", "overflow"],
2599
- rounded: [
2600
- "rounded-s",
2601
- "rounded-e",
2602
- "rounded-t",
2603
- "rounded-r",
2604
- "rounded-b",
2605
- "rounded-l",
2606
- "rounded-ss",
2607
- "rounded-se",
2608
- "rounded-ee",
2609
- "rounded-es",
2610
- "rounded-tl",
2611
- "rounded-tr",
2612
- "rounded-br",
2613
- "rounded-bl"
2614
- ],
2615
- "rounded-s": ["rounded-ss", "rounded-es"],
2616
- "rounded-e": ["rounded-se", "rounded-ee"],
2617
- "rounded-t": ["rounded-tl", "rounded-tr"],
2618
- "rounded-r": ["rounded-tr", "rounded-br"],
2619
- "rounded-b": ["rounded-br", "rounded-bl"],
2620
- "rounded-l": ["rounded-tl", "rounded-bl"],
2621
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
2622
- "border-w": [
2623
- "border-w-s",
2624
- "border-w-e",
2625
- "border-w-t",
2626
- "border-w-r",
2627
- "border-w-b",
2628
- "border-w-l"
2629
- ],
2630
- "border-w-x": ["border-w-r", "border-w-l"],
2631
- "border-w-y": ["border-w-t", "border-w-b"],
2632
- "border-color": [
2633
- "border-color-s",
2634
- "border-color-e",
2635
- "border-color-t",
2636
- "border-color-r",
2637
- "border-color-b",
2638
- "border-color-l"
2639
- ],
2640
- "border-color-x": ["border-color-r", "border-color-l"],
2641
- "border-color-y": ["border-color-t", "border-color-b"],
2642
- "scroll-m": [
2643
- "scroll-mx",
2644
- "scroll-my",
2645
- "scroll-ms",
2646
- "scroll-me",
2647
- "scroll-mt",
2648
- "scroll-mr",
2649
- "scroll-mb",
2650
- "scroll-ml"
2651
- ],
2652
- "scroll-mx": ["scroll-mr", "scroll-ml"],
2653
- "scroll-my": ["scroll-mt", "scroll-mb"],
2654
- "scroll-p": [
2655
- "scroll-px",
2656
- "scroll-py",
2657
- "scroll-ps",
2658
- "scroll-pe",
2659
- "scroll-pt",
2660
- "scroll-pr",
2661
- "scroll-pb",
2662
- "scroll-pl"
2663
- ],
2664
- "scroll-px": ["scroll-pr", "scroll-pl"],
2665
- "scroll-py": ["scroll-pt", "scroll-pb"],
2666
- touch: [
2667
- "touch-x",
2668
- "touch-y",
2669
- "touch-pz"
2670
- ],
2671
- "touch-x": ["touch"],
2672
- "touch-y": ["touch"],
2673
- "touch-pz": ["touch"]
2674
- },
2675
- conflictingClassGroupModifiers: { "font-size": ["leading"] }
2676
- };
2677
- }), ft = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, q = (e) => !e || typeof e != "object" || Object.keys(e).length === 0, pt = (e, t) => JSON.stringify(e) === JSON.stringify(t);
2678
- function mt(e, t) {
2679
- e.forEach(function(e) {
2680
- Array.isArray(e) ? mt(e, t) : t.push(e);
2681
- });
2682
- }
2683
- function ht(e) {
2684
- let t = [];
2685
- return mt(e, t), t;
2686
- }
2687
- var gt = (...e) => ht(e).filter(Boolean), _t = (e, t) => {
2688
- let n = {}, r = Object.keys(e), i = Object.keys(t);
2689
- for (let a of r) if (i.includes(a)) {
2690
- let r = e[a], i = t[a];
2691
- Array.isArray(r) || Array.isArray(i) ? n[a] = gt(i, r) : typeof r == "object" && typeof i == "object" ? n[a] = _t(r, i) : n[a] = i + " " + r;
2692
- } else n[a] = e[a];
2693
- for (let e of i) r.includes(e) || (n[e] = t[e]);
2694
- return n;
2695
- }, vt = (e) => !e || typeof e != "string" ? e : e.replace(/\s+/g, " ").trim(), yt = "-", bt = (e) => {
2696
- let t = wt(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
2697
- return {
2698
- getClassGroupId: (e) => {
2699
- let n = e.split(yt);
2700
- return n[0] === "" && n.length !== 1 && n.shift(), xt(n, t) || Ct(e);
2701
- },
2702
- getConflictingClassGroupIds: (e, t) => {
2703
- let i = n[e] || [];
2704
- return t && r[e] ? [...i, ...r[e]] : i;
2705
- }
2706
- };
2707
- }, xt = (e, t) => {
2708
- if (e.length === 0) return t.classGroupId;
2709
- let n = e[0], r = t.nextPart.get(n), i = r ? xt(e.slice(1), r) : void 0;
2710
- if (i) return i;
2711
- if (t.validators.length === 0) return;
2712
- let a = e.join(yt);
2713
- return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
2714
- }, St = /^\[(.+)\]$/, Ct = (e) => {
2715
- if (St.test(e)) {
2716
- let t = St.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
2717
- if (n) return "arbitrary.." + n;
2718
- }
2719
- }, wt = (e) => {
2720
- let { theme: t, prefix: n } = e, r = {
2721
- nextPart: /* @__PURE__ */ new Map(),
2722
- validators: []
2723
- };
2724
- return Ot(Object.entries(e.classGroups), n).forEach(([e, n]) => {
2725
- Tt(n, r, e, t);
2726
- }), r;
2727
- }, Tt = (e, t, n, r) => {
2728
- e.forEach((e) => {
2729
- if (typeof e == "string") {
2730
- let r = e === "" ? t : Et(t, e);
2731
- r.classGroupId = n;
2732
- return;
2733
- }
2734
- if (typeof e == "function") {
2735
- if (Dt(e)) {
2736
- Tt(e(r), t, n, r);
2737
- return;
2738
- }
2739
- t.validators.push({
2740
- validator: e,
2741
- classGroupId: n
2742
- });
2743
- return;
2744
- }
2745
- Object.entries(e).forEach(([e, i]) => {
2746
- Tt(i, Et(t, e), n, r);
2747
- });
2748
- });
2749
- }, Et = (e, t) => {
2750
- let n = e;
2751
- return t.split(yt).forEach((e) => {
2752
- n.nextPart.has(e) || n.nextPart.set(e, {
2753
- nextPart: /* @__PURE__ */ new Map(),
2754
- validators: []
2755
- }), n = n.nextPart.get(e);
2756
- }), n;
2757
- }, Dt = (e) => e.isThemeGetter, Ot = (e, t) => t ? e.map(([e, n]) => [e, n.map((e) => typeof e == "string" ? t + e : typeof e == "object" ? Object.fromEntries(Object.entries(e).map(([e, n]) => [t + e, n])) : e)]) : e, kt = (e) => {
2758
- if (e < 1) return {
2759
- get: () => void 0,
2760
- set: () => {}
2761
- };
2762
- let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (i, a) => {
2763
- n.set(i, a), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
2764
- };
2765
- return {
2766
- get(e) {
2767
- let t = n.get(e);
2768
- if (t !== void 0) return t;
2769
- if ((t = r.get(e)) !== void 0) return i(e, t), t;
2770
- },
2771
- set(e, t) {
2772
- n.has(e) ? n.set(e, t) : i(e, t);
2773
- }
2774
- };
2775
- }, At = "!", jt = (e) => {
2776
- let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
2777
- let n = [], o = 0, s = 0, c;
2778
- for (let l = 0; l < e.length; l++) {
2779
- let u = e[l];
2780
- if (o === 0) {
2781
- if (u === i && (r || e.slice(l, l + a) === t)) {
2782
- n.push(e.slice(s, l)), s = l + a;
2783
- continue;
2784
- }
2785
- if (u === "/") {
2786
- c = l;
2787
- continue;
2788
- }
2789
- }
2790
- u === "[" ? o++ : u === "]" && o--;
2791
- }
2792
- let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(At);
2793
- return {
2794
- modifiers: n,
2795
- hasImportantModifier: u,
2796
- baseClassName: u ? l.substring(1) : l,
2797
- maybePostfixModifierPosition: c && c > s ? c - s : void 0
2798
- };
2799
- };
2800
- return n ? (e) => n({
2801
- className: e,
2802
- parseClassName: o
2803
- }) : o;
2804
- }, Mt = (e) => {
2805
- if (e.length <= 1) return e;
2806
- let t = [], n = [];
2807
- return e.forEach((e) => {
2808
- e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
2809
- }), t.push(...n.sort()), t;
2810
- }, Nt = (e) => ({
2811
- cache: kt(e.cacheSize),
2812
- parseClassName: jt(e),
2813
- ...bt(e)
2814
- }), Pt = /\s+/, Ft = (e, t) => {
2815
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(Pt), s = "";
2816
- for (let e = o.length - 1; e >= 0; --e) {
2817
- let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
2818
- if (!p) {
2819
- if (!f) {
2820
- s = t + (s.length > 0 ? " " + s : s);
2821
- continue;
2822
- }
2823
- if (p = r(u), !p) {
2824
- s = t + (s.length > 0 ? " " + s : s);
2825
- continue;
2826
- }
2827
- f = !1;
2828
- }
2829
- let m = Mt(c).join(":"), h = l ? m + At : m, g = h + p;
2830
- if (a.includes(g)) continue;
2831
- a.push(g);
2832
- let _ = i(p, f);
2833
- for (let e = 0; e < _.length; ++e) {
2834
- let t = _[e];
2835
- a.push(h + t);
2836
- }
2837
- s = t + (s.length > 0 ? " " + s : s);
2838
- }
2839
- return s;
2840
- };
2841
- function It() {
2842
- let e = 0, t, n, r = "";
2843
- for (; e < arguments.length;) (t = arguments[e++]) && (n = Lt(t)) && (r && (r += " "), r += n);
2844
- return r;
2845
- }
2846
- var Lt = (e) => {
2847
- if (typeof e == "string") return e;
2848
- let t, n = "";
2849
- for (let r = 0; r < e.length; r++) e[r] && (t = Lt(e[r])) && (n && (n += " "), n += t);
2850
- return n;
2851
- };
2852
- function Rt(e, ...t) {
2853
- let n, r, i, a = o;
2854
- function o(o) {
2855
- return n = Nt(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
2856
- }
2857
- function s(e) {
2858
- let t = r(e);
2859
- if (t) return t;
2860
- let a = Ft(e, n);
2861
- return i(e, a), a;
2862
- }
2863
- return function() {
2864
- return a(It.apply(null, arguments));
2865
- };
2866
- }
2867
- var J = (e) => {
2868
- let t = (t) => t[e] || [];
2869
- return t.isThemeGetter = !0, t;
2870
- }, zt = /^\[(?:([a-z-]+):)?(.+)\]$/i, Bt = /^\d+\/\d+$/, Vt = /*#__PURE__*/ new Set([
2871
- "px",
2872
- "full",
2873
- "screen"
2874
- ]), Ht = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ut = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, Wt = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Gt = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Kt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Y = (e) => qt(e) || Vt.has(e) || Bt.test(e), X = (e) => an(e, "length", on), qt = (e) => !!e && !Number.isNaN(Number(e)), Jt = (e) => an(e, "number", qt), Yt = (e) => !!e && Number.isInteger(Number(e)), Xt = (e) => e.endsWith("%") && qt(e.slice(0, -1)), Z = (e) => zt.test(e), Q = (e) => Ht.test(e), Zt = /*#__PURE__*/ new Set([
2875
- "length",
2876
- "size",
2877
- "percentage"
2878
- ]), Qt = (e) => an(e, Zt, sn), $t = (e) => an(e, "position", sn), en = /*#__PURE__*/ new Set(["image", "url"]), tn = (e) => an(e, en, ln), nn = (e) => an(e, "", cn), rn = () => !0, an = (e, t, n) => {
2879
- let r = zt.exec(e);
2880
- return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
2881
- }, on = (e) => Ut.test(e) && !Wt.test(e), sn = () => !1, cn = (e) => Gt.test(e), ln = (e) => Kt.test(e), un = () => {
2882
- let e = J("colors"), t = J("spacing"), n = J("blur"), r = J("brightness"), i = J("borderColor"), a = J("borderRadius"), o = J("borderSpacing"), s = J("borderWidth"), c = J("contrast"), l = J("grayscale"), u = J("hueRotate"), d = J("invert"), f = J("gap"), p = J("gradientColorStops"), m = J("gradientColorStopPositions"), h = J("inset"), g = J("margin"), _ = J("opacity"), v = J("padding"), y = J("saturate"), b = J("scale"), x = J("sepia"), S = J("skew"), C = J("space"), w = J("translate"), T = () => [
2883
- "auto",
2884
- "contain",
2885
- "none"
2886
- ], E = () => [
2887
- "auto",
2888
- "hidden",
2889
- "clip",
2890
- "visible",
2891
- "scroll"
2892
- ], D = () => [
2893
- "auto",
2894
- Z,
2895
- t
2896
- ], O = () => [Z, t], ee = () => [
2897
- "",
2898
- Y,
2899
- X
2900
- ], k = () => [
2901
- "auto",
2902
- qt,
2903
- Z
2904
- ], A = () => [
2905
- "bottom",
2906
- "center",
2907
- "left",
2908
- "left-bottom",
2909
- "left-top",
2910
- "right",
2911
- "right-bottom",
2912
- "right-top",
2913
- "top"
2914
- ], j = () => [
2915
- "solid",
2916
- "dashed",
2917
- "dotted",
2918
- "double",
2919
- "none"
2920
- ], M = () => [
2921
- "normal",
2922
- "multiply",
2923
- "screen",
2924
- "overlay",
2925
- "darken",
2926
- "lighten",
2927
- "color-dodge",
2928
- "color-burn",
2929
- "hard-light",
2930
- "soft-light",
2931
- "difference",
2932
- "exclusion",
2933
- "hue",
2934
- "saturation",
2935
- "color",
2936
- "luminosity"
2937
- ], N = () => [
2938
- "start",
2939
- "end",
2940
- "center",
2941
- "between",
2942
- "around",
2943
- "evenly",
2944
- "stretch"
2945
- ], P = () => [
2946
- "",
2947
- "0",
2948
- Z
2949
- ], F = () => [
2950
- "auto",
2951
- "avoid",
2952
- "all",
2953
- "avoid-page",
2954
- "page",
2955
- "left",
2956
- "right",
2957
- "column"
2958
- ], I = () => [qt, Z];
2959
- return {
2960
- cacheSize: 500,
2961
- separator: ":",
2962
- theme: {
2963
- colors: [rn],
2964
- spacing: [Y, X],
2965
- blur: [
2966
- "none",
2967
- "",
2968
- Q,
2969
- Z
2970
- ],
2971
- brightness: I(),
2972
- borderColor: [e],
2973
- borderRadius: [
2974
- "none",
2975
- "",
2976
- "full",
2977
- Q,
2978
- Z
2979
- ],
2980
- borderSpacing: O(),
2981
- borderWidth: ee(),
2982
- contrast: I(),
2983
- grayscale: P(),
2984
- hueRotate: I(),
2985
- invert: P(),
2986
- gap: O(),
2987
- gradientColorStops: [e],
2988
- gradientColorStopPositions: [Xt, X],
2989
- inset: D(),
2990
- margin: D(),
2991
- opacity: I(),
2992
- padding: O(),
2993
- saturate: I(),
2994
- scale: I(),
2995
- sepia: P(),
2996
- skew: I(),
2997
- space: O(),
2998
- translate: O()
2999
- },
3000
- classGroups: {
3001
- aspect: [{ aspect: [
3002
- "auto",
3003
- "square",
3004
- "video",
3005
- Z
3006
- ] }],
3007
- container: ["container"],
3008
- columns: [{ columns: [Q] }],
3009
- "break-after": [{ "break-after": F() }],
3010
- "break-before": [{ "break-before": F() }],
3011
- "break-inside": [{ "break-inside": [
3012
- "auto",
3013
- "avoid",
3014
- "avoid-page",
3015
- "avoid-column"
3016
- ] }],
3017
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
3018
- box: [{ box: ["border", "content"] }],
3019
- display: [
3020
- "block",
3021
- "inline-block",
3022
- "inline",
3023
- "flex",
3024
- "inline-flex",
3025
- "table",
3026
- "inline-table",
3027
- "table-caption",
3028
- "table-cell",
3029
- "table-column",
3030
- "table-column-group",
3031
- "table-footer-group",
3032
- "table-header-group",
3033
- "table-row-group",
3034
- "table-row",
3035
- "flow-root",
3036
- "grid",
3037
- "inline-grid",
3038
- "contents",
3039
- "list-item",
3040
- "hidden"
3041
- ],
3042
- float: [{ float: [
3043
- "right",
3044
- "left",
3045
- "none",
3046
- "start",
3047
- "end"
3048
- ] }],
3049
- clear: [{ clear: [
3050
- "left",
3051
- "right",
3052
- "both",
3053
- "none",
3054
- "start",
3055
- "end"
3056
- ] }],
3057
- isolation: ["isolate", "isolation-auto"],
3058
- "object-fit": [{ object: [
3059
- "contain",
3060
- "cover",
3061
- "fill",
3062
- "none",
3063
- "scale-down"
3064
- ] }],
3065
- "object-position": [{ object: [...A(), Z] }],
3066
- overflow: [{ overflow: E() }],
3067
- "overflow-x": [{ "overflow-x": E() }],
3068
- "overflow-y": [{ "overflow-y": E() }],
3069
- overscroll: [{ overscroll: T() }],
3070
- "overscroll-x": [{ "overscroll-x": T() }],
3071
- "overscroll-y": [{ "overscroll-y": T() }],
3072
- position: [
3073
- "static",
3074
- "fixed",
3075
- "absolute",
3076
- "relative",
3077
- "sticky"
3078
- ],
3079
- inset: [{ inset: [h] }],
3080
- "inset-x": [{ "inset-x": [h] }],
3081
- "inset-y": [{ "inset-y": [h] }],
3082
- start: [{ start: [h] }],
3083
- end: [{ end: [h] }],
3084
- top: [{ top: [h] }],
3085
- right: [{ right: [h] }],
3086
- bottom: [{ bottom: [h] }],
3087
- left: [{ left: [h] }],
3088
- visibility: [
3089
- "visible",
3090
- "invisible",
3091
- "collapse"
3092
- ],
3093
- z: [{ z: [
3094
- "auto",
3095
- Yt,
3096
- Z
3097
- ] }],
3098
- basis: [{ basis: D() }],
3099
- "flex-direction": [{ flex: [
3100
- "row",
3101
- "row-reverse",
3102
- "col",
3103
- "col-reverse"
3104
- ] }],
3105
- "flex-wrap": [{ flex: [
3106
- "wrap",
3107
- "wrap-reverse",
3108
- "nowrap"
3109
- ] }],
3110
- flex: [{ flex: [
3111
- "1",
3112
- "auto",
3113
- "initial",
3114
- "none",
3115
- Z
3116
- ] }],
3117
- grow: [{ grow: P() }],
3118
- shrink: [{ shrink: P() }],
3119
- order: [{ order: [
3120
- "first",
3121
- "last",
3122
- "none",
3123
- Yt,
3124
- Z
3125
- ] }],
3126
- "grid-cols": [{ "grid-cols": [rn] }],
3127
- "col-start-end": [{ col: [
3128
- "auto",
3129
- { span: [
3130
- "full",
3131
- Yt,
3132
- Z
3133
- ] },
3134
- Z
3135
- ] }],
3136
- "col-start": [{ "col-start": k() }],
3137
- "col-end": [{ "col-end": k() }],
3138
- "grid-rows": [{ "grid-rows": [rn] }],
3139
- "row-start-end": [{ row: [
3140
- "auto",
3141
- { span: [Yt, Z] },
3142
- Z
3143
- ] }],
3144
- "row-start": [{ "row-start": k() }],
3145
- "row-end": [{ "row-end": k() }],
3146
- "grid-flow": [{ "grid-flow": [
3147
- "row",
3148
- "col",
3149
- "dense",
3150
- "row-dense",
3151
- "col-dense"
3152
- ] }],
3153
- "auto-cols": [{ "auto-cols": [
3154
- "auto",
3155
- "min",
3156
- "max",
3157
- "fr",
3158
- Z
3159
- ] }],
3160
- "auto-rows": [{ "auto-rows": [
3161
- "auto",
3162
- "min",
3163
- "max",
3164
- "fr",
3165
- Z
3166
- ] }],
3167
- gap: [{ gap: [f] }],
3168
- "gap-x": [{ "gap-x": [f] }],
3169
- "gap-y": [{ "gap-y": [f] }],
3170
- "justify-content": [{ justify: ["normal", ...N()] }],
3171
- "justify-items": [{ "justify-items": [
3172
- "start",
3173
- "end",
3174
- "center",
3175
- "stretch"
3176
- ] }],
3177
- "justify-self": [{ "justify-self": [
3178
- "auto",
3179
- "start",
3180
- "end",
3181
- "center",
3182
- "stretch"
3183
- ] }],
3184
- "align-content": [{ content: [
3185
- "normal",
3186
- ...N(),
3187
- "baseline"
3188
- ] }],
3189
- "align-items": [{ items: [
3190
- "start",
3191
- "end",
3192
- "center",
3193
- "baseline",
3194
- "stretch"
3195
- ] }],
3196
- "align-self": [{ self: [
3197
- "auto",
3198
- "start",
3199
- "end",
3200
- "center",
3201
- "stretch",
3202
- "baseline"
3203
- ] }],
3204
- "place-content": [{ "place-content": [...N(), "baseline"] }],
3205
- "place-items": [{ "place-items": [
3206
- "start",
3207
- "end",
3208
- "center",
3209
- "baseline",
3210
- "stretch"
3211
- ] }],
3212
- "place-self": [{ "place-self": [
3213
- "auto",
3214
- "start",
3215
- "end",
3216
- "center",
3217
- "stretch"
3218
- ] }],
3219
- p: [{ p: [v] }],
3220
- px: [{ px: [v] }],
3221
- py: [{ py: [v] }],
3222
- ps: [{ ps: [v] }],
3223
- pe: [{ pe: [v] }],
3224
- pt: [{ pt: [v] }],
3225
- pr: [{ pr: [v] }],
3226
- pb: [{ pb: [v] }],
3227
- pl: [{ pl: [v] }],
3228
- m: [{ m: [g] }],
3229
- mx: [{ mx: [g] }],
3230
- my: [{ my: [g] }],
3231
- ms: [{ ms: [g] }],
3232
- me: [{ me: [g] }],
3233
- mt: [{ mt: [g] }],
3234
- mr: [{ mr: [g] }],
3235
- mb: [{ mb: [g] }],
3236
- ml: [{ ml: [g] }],
3237
- "space-x": [{ "space-x": [C] }],
3238
- "space-x-reverse": ["space-x-reverse"],
3239
- "space-y": [{ "space-y": [C] }],
3240
- "space-y-reverse": ["space-y-reverse"],
3241
- w: [{ w: [
3242
- "auto",
3243
- "min",
3244
- "max",
3245
- "fit",
3246
- "svw",
3247
- "lvw",
3248
- "dvw",
3249
- Z,
3250
- t
3251
- ] }],
3252
- "min-w": [{ "min-w": [
3253
- Z,
3254
- t,
3255
- "min",
3256
- "max",
3257
- "fit"
3258
- ] }],
3259
- "max-w": [{ "max-w": [
3260
- Z,
3261
- t,
3262
- "none",
3263
- "full",
3264
- "min",
3265
- "max",
3266
- "fit",
3267
- "prose",
3268
- { screen: [Q] },
3269
- Q
3270
- ] }],
3271
- h: [{ h: [
3272
- Z,
3273
- t,
3274
- "auto",
3275
- "min",
3276
- "max",
3277
- "fit",
3278
- "svh",
3279
- "lvh",
3280
- "dvh"
3281
- ] }],
3282
- "min-h": [{ "min-h": [
3283
- Z,
3284
- t,
3285
- "min",
3286
- "max",
3287
- "fit",
3288
- "svh",
3289
- "lvh",
3290
- "dvh"
3291
- ] }],
3292
- "max-h": [{ "max-h": [
3293
- Z,
3294
- t,
3295
- "min",
3296
- "max",
3297
- "fit",
3298
- "svh",
3299
- "lvh",
3300
- "dvh"
3301
- ] }],
3302
- size: [{ size: [
3303
- Z,
3304
- t,
3305
- "auto",
3306
- "min",
3307
- "max",
3308
- "fit"
3309
- ] }],
3310
- "font-size": [{ text: [
3311
- "base",
3312
- Q,
3313
- X
3314
- ] }],
3315
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
3316
- "font-style": ["italic", "not-italic"],
3317
- "font-weight": [{ font: [
3318
- "thin",
3319
- "extralight",
3320
- "light",
3321
- "normal",
3322
- "medium",
3323
- "semibold",
3324
- "bold",
3325
- "extrabold",
3326
- "black",
3327
- Jt
3328
- ] }],
3329
- "font-family": [{ font: [rn] }],
3330
- "fvn-normal": ["normal-nums"],
3331
- "fvn-ordinal": ["ordinal"],
3332
- "fvn-slashed-zero": ["slashed-zero"],
3333
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
3334
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
3335
- "fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
3336
- tracking: [{ tracking: [
3337
- "tighter",
3338
- "tight",
3339
- "normal",
3340
- "wide",
3341
- "wider",
3342
- "widest",
3343
- Z
3344
- ] }],
3345
- "line-clamp": [{ "line-clamp": [
3346
- "none",
3347
- qt,
3348
- Jt
3349
- ] }],
3350
- leading: [{ leading: [
3351
- "none",
3352
- "tight",
3353
- "snug",
3354
- "normal",
3355
- "relaxed",
3356
- "loose",
3357
- Y,
3358
- Z
3359
- ] }],
3360
- "list-image": [{ "list-image": ["none", Z] }],
3361
- "list-style-type": [{ list: [
3362
- "none",
3363
- "disc",
3364
- "decimal",
3365
- Z
3366
- ] }],
3367
- "list-style-position": [{ list: ["inside", "outside"] }],
3368
- "placeholder-color": [{ placeholder: [e] }],
3369
- "placeholder-opacity": [{ "placeholder-opacity": [_] }],
3370
- "text-alignment": [{ text: [
3371
- "left",
3372
- "center",
3373
- "right",
3374
- "justify",
3375
- "start",
3376
- "end"
3377
- ] }],
3378
- "text-color": [{ text: [e] }],
3379
- "text-opacity": [{ "text-opacity": [_] }],
3380
- "text-decoration": [
3381
- "underline",
3382
- "overline",
3383
- "line-through",
3384
- "no-underline"
3385
- ],
3386
- "text-decoration-style": [{ decoration: [...j(), "wavy"] }],
3387
- "text-decoration-thickness": [{ decoration: [
3388
- "auto",
3389
- "from-font",
3390
- Y,
3391
- X
3392
- ] }],
3393
- "underline-offset": [{ "underline-offset": [
3394
- "auto",
3395
- Y,
3396
- Z
3397
- ] }],
3398
- "text-decoration-color": [{ decoration: [e] }],
3399
- "text-transform": [
3400
- "uppercase",
3401
- "lowercase",
3402
- "capitalize",
3403
- "normal-case"
3404
- ],
3405
- "text-overflow": [
3406
- "truncate",
3407
- "text-ellipsis",
3408
- "text-clip"
3409
- ],
3410
- "text-wrap": [{ text: [
3411
- "wrap",
3412
- "nowrap",
3413
- "balance",
3414
- "pretty"
3415
- ] }],
3416
- indent: [{ indent: O() }],
3417
- "vertical-align": [{ align: [
3418
- "baseline",
3419
- "top",
3420
- "middle",
3421
- "bottom",
3422
- "text-top",
3423
- "text-bottom",
3424
- "sub",
3425
- "super",
3426
- Z
3427
- ] }],
3428
- whitespace: [{ whitespace: [
3429
- "normal",
3430
- "nowrap",
3431
- "pre",
3432
- "pre-line",
3433
- "pre-wrap",
3434
- "break-spaces"
3435
- ] }],
3436
- break: [{ break: [
3437
- "normal",
3438
- "words",
3439
- "all",
3440
- "keep"
3441
- ] }],
3442
- hyphens: [{ hyphens: [
3443
- "none",
3444
- "manual",
3445
- "auto"
3446
- ] }],
3447
- content: [{ content: ["none", Z] }],
3448
- "bg-attachment": [{ bg: [
3449
- "fixed",
3450
- "local",
3451
- "scroll"
3452
- ] }],
3453
- "bg-clip": [{ "bg-clip": [
3454
- "border",
3455
- "padding",
3456
- "content",
3457
- "text"
3458
- ] }],
3459
- "bg-opacity": [{ "bg-opacity": [_] }],
3460
- "bg-origin": [{ "bg-origin": [
3461
- "border",
3462
- "padding",
3463
- "content"
3464
- ] }],
3465
- "bg-position": [{ bg: [...A(), $t] }],
3466
- "bg-repeat": [{ bg: ["no-repeat", { repeat: [
3467
- "",
3468
- "x",
3469
- "y",
3470
- "round",
3471
- "space"
3472
- ] }] }],
3473
- "bg-size": [{ bg: [
3474
- "auto",
3475
- "cover",
3476
- "contain",
3477
- Qt
3478
- ] }],
3479
- "bg-image": [{ bg: [
3480
- "none",
3481
- { "gradient-to": [
3482
- "t",
3483
- "tr",
3484
- "r",
3485
- "br",
3486
- "b",
3487
- "bl",
3488
- "l",
3489
- "tl"
3490
- ] },
3491
- tn
3492
- ] }],
3493
- "bg-color": [{ bg: [e] }],
3494
- "gradient-from-pos": [{ from: [m] }],
3495
- "gradient-via-pos": [{ via: [m] }],
3496
- "gradient-to-pos": [{ to: [m] }],
3497
- "gradient-from": [{ from: [p] }],
3498
- "gradient-via": [{ via: [p] }],
3499
- "gradient-to": [{ to: [p] }],
3500
- rounded: [{ rounded: [a] }],
3501
- "rounded-s": [{ "rounded-s": [a] }],
3502
- "rounded-e": [{ "rounded-e": [a] }],
3503
- "rounded-t": [{ "rounded-t": [a] }],
3504
- "rounded-r": [{ "rounded-r": [a] }],
3505
- "rounded-b": [{ "rounded-b": [a] }],
3506
- "rounded-l": [{ "rounded-l": [a] }],
3507
- "rounded-ss": [{ "rounded-ss": [a] }],
3508
- "rounded-se": [{ "rounded-se": [a] }],
3509
- "rounded-ee": [{ "rounded-ee": [a] }],
3510
- "rounded-es": [{ "rounded-es": [a] }],
3511
- "rounded-tl": [{ "rounded-tl": [a] }],
3512
- "rounded-tr": [{ "rounded-tr": [a] }],
3513
- "rounded-br": [{ "rounded-br": [a] }],
3514
- "rounded-bl": [{ "rounded-bl": [a] }],
3515
- "border-w": [{ border: [s] }],
3516
- "border-w-x": [{ "border-x": [s] }],
3517
- "border-w-y": [{ "border-y": [s] }],
3518
- "border-w-s": [{ "border-s": [s] }],
3519
- "border-w-e": [{ "border-e": [s] }],
3520
- "border-w-t": [{ "border-t": [s] }],
3521
- "border-w-r": [{ "border-r": [s] }],
3522
- "border-w-b": [{ "border-b": [s] }],
3523
- "border-w-l": [{ "border-l": [s] }],
3524
- "border-opacity": [{ "border-opacity": [_] }],
3525
- "border-style": [{ border: [...j(), "hidden"] }],
3526
- "divide-x": [{ "divide-x": [s] }],
3527
- "divide-x-reverse": ["divide-x-reverse"],
3528
- "divide-y": [{ "divide-y": [s] }],
3529
- "divide-y-reverse": ["divide-y-reverse"],
3530
- "divide-opacity": [{ "divide-opacity": [_] }],
3531
- "divide-style": [{ divide: j() }],
3532
- "border-color": [{ border: [i] }],
3533
- "border-color-x": [{ "border-x": [i] }],
3534
- "border-color-y": [{ "border-y": [i] }],
3535
- "border-color-s": [{ "border-s": [i] }],
3536
- "border-color-e": [{ "border-e": [i] }],
3537
- "border-color-t": [{ "border-t": [i] }],
3538
- "border-color-r": [{ "border-r": [i] }],
3539
- "border-color-b": [{ "border-b": [i] }],
3540
- "border-color-l": [{ "border-l": [i] }],
3541
- "divide-color": [{ divide: [i] }],
3542
- "outline-style": [{ outline: ["", ...j()] }],
3543
- "outline-offset": [{ "outline-offset": [Y, Z] }],
3544
- "outline-w": [{ outline: [Y, X] }],
3545
- "outline-color": [{ outline: [e] }],
3546
- "ring-w": [{ ring: ee() }],
3547
- "ring-w-inset": ["ring-inset"],
3548
- "ring-color": [{ ring: [e] }],
3549
- "ring-opacity": [{ "ring-opacity": [_] }],
3550
- "ring-offset-w": [{ "ring-offset": [Y, X] }],
3551
- "ring-offset-color": [{ "ring-offset": [e] }],
3552
- shadow: [{ shadow: [
3553
- "",
3554
- "inner",
3555
- "none",
3556
- Q,
3557
- nn
3558
- ] }],
3559
- "shadow-color": [{ shadow: [rn] }],
3560
- opacity: [{ opacity: [_] }],
3561
- "mix-blend": [{ "mix-blend": [
3562
- ...M(),
3563
- "plus-lighter",
3564
- "plus-darker"
3565
- ] }],
3566
- "bg-blend": [{ "bg-blend": M() }],
3567
- filter: [{ filter: ["", "none"] }],
3568
- blur: [{ blur: [n] }],
3569
- brightness: [{ brightness: [r] }],
3570
- contrast: [{ contrast: [c] }],
3571
- "drop-shadow": [{ "drop-shadow": [
3572
- "",
3573
- "none",
3574
- Q,
3575
- Z
3576
- ] }],
3577
- grayscale: [{ grayscale: [l] }],
3578
- "hue-rotate": [{ "hue-rotate": [u] }],
3579
- invert: [{ invert: [d] }],
3580
- saturate: [{ saturate: [y] }],
3581
- sepia: [{ sepia: [x] }],
3582
- "backdrop-filter": [{ "backdrop-filter": ["", "none"] }],
3583
- "backdrop-blur": [{ "backdrop-blur": [n] }],
3584
- "backdrop-brightness": [{ "backdrop-brightness": [r] }],
3585
- "backdrop-contrast": [{ "backdrop-contrast": [c] }],
3586
- "backdrop-grayscale": [{ "backdrop-grayscale": [l] }],
3587
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [u] }],
3588
- "backdrop-invert": [{ "backdrop-invert": [d] }],
3589
- "backdrop-opacity": [{ "backdrop-opacity": [_] }],
3590
- "backdrop-saturate": [{ "backdrop-saturate": [y] }],
3591
- "backdrop-sepia": [{ "backdrop-sepia": [x] }],
3592
- "border-collapse": [{ border: ["collapse", "separate"] }],
3593
- "border-spacing": [{ "border-spacing": [o] }],
3594
- "border-spacing-x": [{ "border-spacing-x": [o] }],
3595
- "border-spacing-y": [{ "border-spacing-y": [o] }],
3596
- "table-layout": [{ table: ["auto", "fixed"] }],
3597
- caption: [{ caption: ["top", "bottom"] }],
3598
- transition: [{ transition: [
3599
- "none",
3600
- "all",
3601
- "",
3602
- "colors",
3603
- "opacity",
3604
- "shadow",
3605
- "transform",
3606
- Z
3607
- ] }],
3608
- duration: [{ duration: I() }],
3609
- ease: [{ ease: [
3610
- "linear",
3611
- "in",
3612
- "out",
3613
- "in-out",
3614
- Z
3615
- ] }],
3616
- delay: [{ delay: I() }],
3617
- animate: [{ animate: [
3618
- "none",
3619
- "spin",
3620
- "ping",
3621
- "pulse",
3622
- "bounce",
3623
- Z
3624
- ] }],
3625
- transform: [{ transform: [
3626
- "",
3627
- "gpu",
3628
- "none"
3629
- ] }],
3630
- scale: [{ scale: [b] }],
3631
- "scale-x": [{ "scale-x": [b] }],
3632
- "scale-y": [{ "scale-y": [b] }],
3633
- rotate: [{ rotate: [Yt, Z] }],
3634
- "translate-x": [{ "translate-x": [w] }],
3635
- "translate-y": [{ "translate-y": [w] }],
3636
- "skew-x": [{ "skew-x": [S] }],
3637
- "skew-y": [{ "skew-y": [S] }],
3638
- "transform-origin": [{ origin: [
3639
- "center",
3640
- "top",
3641
- "top-right",
3642
- "right",
3643
- "bottom-right",
3644
- "bottom",
3645
- "bottom-left",
3646
- "left",
3647
- "top-left",
3648
- Z
3649
- ] }],
3650
- accent: [{ accent: ["auto", e] }],
3651
- appearance: [{ appearance: ["none", "auto"] }],
3652
- cursor: [{ cursor: [
3653
- "auto",
3654
- "default",
3655
- "pointer",
3656
- "wait",
3657
- "text",
3658
- "move",
3659
- "help",
3660
- "not-allowed",
3661
- "none",
3662
- "context-menu",
3663
- "progress",
3664
- "cell",
3665
- "crosshair",
3666
- "vertical-text",
3667
- "alias",
3668
- "copy",
3669
- "no-drop",
3670
- "grab",
3671
- "grabbing",
3672
- "all-scroll",
3673
- "col-resize",
3674
- "row-resize",
3675
- "n-resize",
3676
- "e-resize",
3677
- "s-resize",
3678
- "w-resize",
3679
- "ne-resize",
3680
- "nw-resize",
3681
- "se-resize",
3682
- "sw-resize",
3683
- "ew-resize",
3684
- "ns-resize",
3685
- "nesw-resize",
3686
- "nwse-resize",
3687
- "zoom-in",
3688
- "zoom-out",
3689
- Z
3690
- ] }],
3691
- "caret-color": [{ caret: [e] }],
3692
- "pointer-events": [{ "pointer-events": ["none", "auto"] }],
3693
- resize: [{ resize: [
3694
- "none",
3695
- "y",
3696
- "x",
3697
- ""
3698
- ] }],
3699
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
3700
- "scroll-m": [{ "scroll-m": O() }],
3701
- "scroll-mx": [{ "scroll-mx": O() }],
3702
- "scroll-my": [{ "scroll-my": O() }],
3703
- "scroll-ms": [{ "scroll-ms": O() }],
3704
- "scroll-me": [{ "scroll-me": O() }],
3705
- "scroll-mt": [{ "scroll-mt": O() }],
3706
- "scroll-mr": [{ "scroll-mr": O() }],
3707
- "scroll-mb": [{ "scroll-mb": O() }],
3708
- "scroll-ml": [{ "scroll-ml": O() }],
3709
- "scroll-p": [{ "scroll-p": O() }],
3710
- "scroll-px": [{ "scroll-px": O() }],
3711
- "scroll-py": [{ "scroll-py": O() }],
3712
- "scroll-ps": [{ "scroll-ps": O() }],
3713
- "scroll-pe": [{ "scroll-pe": O() }],
3714
- "scroll-pt": [{ "scroll-pt": O() }],
3715
- "scroll-pr": [{ "scroll-pr": O() }],
3716
- "scroll-pb": [{ "scroll-pb": O() }],
3717
- "scroll-pl": [{ "scroll-pl": O() }],
3718
- "snap-align": [{ snap: [
3719
- "start",
3720
- "end",
3721
- "center",
3722
- "align-none"
3723
- ] }],
3724
- "snap-stop": [{ snap: ["normal", "always"] }],
3725
- "snap-type": [{ snap: [
3726
- "none",
3727
- "x",
3728
- "y",
3729
- "both"
3730
- ] }],
3731
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
3732
- touch: [{ touch: [
3733
- "auto",
3734
- "none",
3735
- "manipulation"
3736
- ] }],
3737
- "touch-x": [{ "touch-pan": [
3738
- "x",
3739
- "left",
3740
- "right"
3741
- ] }],
3742
- "touch-y": [{ "touch-pan": [
3743
- "y",
3744
- "up",
3745
- "down"
3746
- ] }],
3747
- "touch-pz": ["touch-pinch-zoom"],
3748
- select: [{ select: [
3749
- "none",
3750
- "text",
3751
- "all",
3752
- "auto"
3753
- ] }],
3754
- "will-change": [{ "will-change": [
3755
- "auto",
3756
- "scroll",
3757
- "contents",
3758
- "transform",
3759
- Z
3760
- ] }],
3761
- fill: [{ fill: [e, "none"] }],
3762
- "stroke-w": [{ stroke: [
3763
- Y,
3764
- X,
3765
- Jt
3766
- ] }],
3767
- stroke: [{ stroke: [e, "none"] }],
3768
- sr: ["sr-only", "not-sr-only"],
3769
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
3770
- },
3771
- conflictingClassGroups: {
3772
- overflow: ["overflow-x", "overflow-y"],
3773
- overscroll: ["overscroll-x", "overscroll-y"],
3774
- inset: [
3775
- "inset-x",
3776
- "inset-y",
3777
- "start",
3778
- "end",
3779
- "top",
3780
- "right",
3781
- "bottom",
3782
- "left"
3783
- ],
3784
- "inset-x": ["right", "left"],
3785
- "inset-y": ["top", "bottom"],
3786
- flex: [
3787
- "basis",
3788
- "grow",
3789
- "shrink"
3790
- ],
3791
- gap: ["gap-x", "gap-y"],
3792
- p: [
3793
- "px",
3794
- "py",
3795
- "ps",
3796
- "pe",
3797
- "pt",
3798
- "pr",
3799
- "pb",
3800
- "pl"
3801
- ],
3802
- px: ["pr", "pl"],
3803
- py: ["pt", "pb"],
3804
- m: [
3805
- "mx",
3806
- "my",
3807
- "ms",
3808
- "me",
3809
- "mt",
3810
- "mr",
3811
- "mb",
3812
- "ml"
3813
- ],
3814
- mx: ["mr", "ml"],
3815
- my: ["mt", "mb"],
3816
- size: ["w", "h"],
3817
- "font-size": ["leading"],
3818
- "fvn-normal": [
3819
- "fvn-ordinal",
3820
- "fvn-slashed-zero",
3821
- "fvn-figure",
3822
- "fvn-spacing",
3823
- "fvn-fraction"
3824
- ],
3825
- "fvn-ordinal": ["fvn-normal"],
3826
- "fvn-slashed-zero": ["fvn-normal"],
3827
- "fvn-figure": ["fvn-normal"],
3828
- "fvn-spacing": ["fvn-normal"],
3829
- "fvn-fraction": ["fvn-normal"],
3830
- "line-clamp": ["display", "overflow"],
3831
- rounded: [
3832
- "rounded-s",
3833
- "rounded-e",
3834
- "rounded-t",
3835
- "rounded-r",
3836
- "rounded-b",
3837
- "rounded-l",
3838
- "rounded-ss",
3839
- "rounded-se",
3840
- "rounded-ee",
3841
- "rounded-es",
3842
- "rounded-tl",
3843
- "rounded-tr",
3844
- "rounded-br",
3845
- "rounded-bl"
3846
- ],
3847
- "rounded-s": ["rounded-ss", "rounded-es"],
3848
- "rounded-e": ["rounded-se", "rounded-ee"],
3849
- "rounded-t": ["rounded-tl", "rounded-tr"],
3850
- "rounded-r": ["rounded-tr", "rounded-br"],
3851
- "rounded-b": ["rounded-br", "rounded-bl"],
3852
- "rounded-l": ["rounded-tl", "rounded-bl"],
3853
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
3854
- "border-w": [
3855
- "border-w-s",
3856
- "border-w-e",
3857
- "border-w-t",
3858
- "border-w-r",
3859
- "border-w-b",
3860
- "border-w-l"
3861
- ],
3862
- "border-w-x": ["border-w-r", "border-w-l"],
3863
- "border-w-y": ["border-w-t", "border-w-b"],
3864
- "border-color": [
3865
- "border-color-s",
3866
- "border-color-e",
3867
- "border-color-t",
3868
- "border-color-r",
3869
- "border-color-b",
3870
- "border-color-l"
3871
- ],
3872
- "border-color-x": ["border-color-r", "border-color-l"],
3873
- "border-color-y": ["border-color-t", "border-color-b"],
3874
- "scroll-m": [
3875
- "scroll-mx",
3876
- "scroll-my",
3877
- "scroll-ms",
3878
- "scroll-me",
3879
- "scroll-mt",
3880
- "scroll-mr",
3881
- "scroll-mb",
3882
- "scroll-ml"
3883
- ],
3884
- "scroll-mx": ["scroll-mr", "scroll-ml"],
3885
- "scroll-my": ["scroll-mt", "scroll-mb"],
3886
- "scroll-p": [
3887
- "scroll-px",
3888
- "scroll-py",
3889
- "scroll-ps",
3890
- "scroll-pe",
3891
- "scroll-pt",
3892
- "scroll-pr",
3893
- "scroll-pb",
3894
- "scroll-pl"
3895
- ],
3896
- "scroll-px": ["scroll-pr", "scroll-pl"],
3897
- "scroll-py": ["scroll-pt", "scroll-pb"],
3898
- touch: [
3899
- "touch-x",
3900
- "touch-y",
3901
- "touch-pz"
3902
- ],
3903
- "touch-x": ["touch"],
3904
- "touch-y": ["touch"],
3905
- "touch-pz": ["touch"]
3906
- },
3907
- conflictingClassGroupModifiers: { "font-size": ["leading"] }
3908
- };
3909
- }, dn = (e, { cacheSize: t, prefix: n, separator: r, experimentalParseClassName: i, extend: a = {}, override: o = {} }) => {
3910
- fn(e, "cacheSize", t), fn(e, "prefix", n), fn(e, "separator", r), fn(e, "experimentalParseClassName", i);
3911
- for (let t in o) pn(e[t], o[t]);
3912
- for (let t in a) mn(e[t], a[t]);
3913
- return e;
3914
- }, fn = (e, t, n) => {
3915
- n !== void 0 && (e[t] = n);
3916
- }, pn = (e, t) => {
3917
- if (t) for (let n in t) fn(e, n, t[n]);
3918
- }, mn = (e, t) => {
3919
- if (t) for (let n in t) {
3920
- let r = t[n];
3921
- r !== void 0 && (e[n] = (e[n] || []).concat(r));
3922
- }
3923
- }, hn = (e, ...t) => typeof e == "function" ? Rt(un, e, ...t) : Rt(() => dn(un(), e), ...t), gn = /*#__PURE__*/ Rt(un), _n = {
3924
- twMerge: !0,
3925
- twMergeConfig: {},
3926
- responsiveVariants: !1
3927
- }, vn = (e) => e || void 0, yn = (...e) => vn(ht(e).filter(Boolean).join(" ")), bn = null, $ = {}, xn = !1, Sn = (...e) => (t) => t.twMerge ? ((!bn || xn) && (xn = !1, bn = q($) ? gn : hn({
3928
- ...$,
3929
- extend: {
3930
- theme: $.theme,
3931
- classGroups: $.classGroups,
3932
- conflictingClassGroupModifiers: $.conflictingClassGroupModifiers,
3933
- conflictingClassGroups: $.conflictingClassGroups,
3934
- ...$.extend
3935
- }
3936
- })), vn(bn(yn(e)))) : yn(e), Cn = (e, t) => {
3937
- for (let n in t) e.hasOwnProperty(n) ? e[n] = yn(e[n], t[n]) : e[n] = t[n];
3938
- return e;
3939
- }, wn = ((e, t) => {
3940
- let { extend: n = null, slots: r = {}, variants: i = {}, compoundVariants: a = [], compoundSlots: o = [], defaultVariants: s = {} } = e, c = {
3941
- ..._n,
3942
- ...t
3943
- }, l = n != null && n.base ? yn(n.base, e?.base) : e?.base, u = n != null && n.variants && !q(n.variants) ? _t(i, n.variants) : i, d = n != null && n.defaultVariants && !q(n.defaultVariants) ? {
3944
- ...n.defaultVariants,
3945
- ...s
3946
- } : s;
3947
- !q(c.twMergeConfig) && !pt(c.twMergeConfig, $) && (xn = !0, $ = c.twMergeConfig);
3948
- let f = q(n?.slots), p = q(r) ? {} : {
3949
- base: yn(e?.base, f && n?.base),
3950
- ...r
3951
- }, m = f ? p : Cn({ ...n?.slots }, q(p) ? { base: e?.base } : p), h = q(n?.compoundVariants) ? a : gt(n?.compoundVariants, a), g = (e) => {
3952
- if (q(u) && q(r) && f) return Sn(l, e?.class, e?.className)(c);
3953
- if (h && !Array.isArray(h)) throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof h}`);
3954
- if (o && !Array.isArray(o)) throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof o}`);
3955
- let t = (e, t, n = [], r) => {
3956
- let i = n;
3957
- if (typeof t == "string") i = i.concat(vt(t).split(" ").map((t) => `${e}:${t}`));
3958
- else if (Array.isArray(t)) i = i.concat(t.reduce((t, n) => t.concat(`${e}:${n}`), []));
3959
- else if (typeof t == "object" && typeof r == "string") {
3960
- for (let n in t) if (t.hasOwnProperty(n) && n === r) {
3961
- let a = t[n];
3962
- if (a && typeof a == "string") {
3963
- let t = vt(a);
3964
- i[r] ? i[r] = i[r].concat(t.split(" ").map((t) => `${e}:${t}`)) : i[r] = t.split(" ").map((t) => `${e}:${t}`);
3965
- } else Array.isArray(a) && a.length > 0 && (i[r] = a.reduce((t, n) => t.concat(`${e}:${n}`), []));
3966
- }
3967
- }
3968
- return i;
3969
- }, n = (n, r = u, i = null, a = null) => {
3970
- let o = r[n];
3971
- if (!o || q(o)) return null;
3972
- let s = a?.[n] ?? e?.[n];
3973
- if (s === null) return null;
3974
- let l = ft(s), f = Array.isArray(c.responsiveVariants) && c.responsiveVariants.length > 0 || c.responsiveVariants === !0, p = d?.[n], m = [];
3975
- if (typeof l == "object" && f) for (let [e, n] of Object.entries(l)) {
3976
- let r = o[n];
3977
- if (e === "initial") {
3978
- p = n;
3979
- continue;
3980
- }
3981
- Array.isArray(c.responsiveVariants) && !c.responsiveVariants.includes(e) || (m = t(e, r, m, i));
3982
- }
3983
- let h = o[(l != null && typeof l != "object" ? l : ft(p)) || "false"];
3984
- return typeof m == "object" && typeof i == "string" && m[i] ? Cn(m, h) : m.length > 0 ? (m.push(h), i === "base" ? m.join(" ") : m) : h;
3985
- }, i = () => u ? Object.keys(u).map((e) => n(e, u)) : null, a = (e, t) => {
3986
- if (!u || typeof u != "object") return null;
3987
- let r = [];
3988
- for (let i in u) {
3989
- let a = n(i, u, e, t), o = e === "base" && typeof a == "string" ? a : a && a[e];
3990
- o && (r[r.length] = o);
3991
- }
3992
- return r;
3993
- }, s = {};
3994
- for (let t in e) e[t] !== void 0 && (s[t] = e[t]);
3995
- let p = (t, n) => {
3996
- let r = typeof e?.[t] == "object" ? { [t]: e[t]?.initial } : {};
3997
- return {
3998
- ...d,
3999
- ...s,
4000
- ...r,
4001
- ...n
4002
- };
4003
- }, g = (e = [], t) => {
4004
- let n = [];
4005
- for (let { class: r, className: i, ...a } of e) {
4006
- let e = !0;
4007
- for (let [n, r] of Object.entries(a)) {
4008
- let i = p(n, t)[n];
4009
- if (Array.isArray(r)) {
4010
- if (!r.includes(i)) {
4011
- e = !1;
4012
- break;
4013
- }
4014
- } else {
4015
- let t = (e) => e == null || e === !1;
4016
- if (t(r) && t(i)) continue;
4017
- if (i !== r) {
4018
- e = !1;
4019
- break;
4020
- }
4021
- }
4022
- }
4023
- e && (r && n.push(r), i && n.push(i));
4024
- }
4025
- return n;
4026
- }, _ = (e) => {
4027
- let t = g(h, e);
4028
- if (!Array.isArray(t)) return t;
4029
- let n = {};
4030
- for (let e of t) if (typeof e == "string" && (n.base = Sn(n.base, e)(c)), typeof e == "object") for (let [t, r] of Object.entries(e)) n[t] = Sn(n[t], r)(c);
4031
- return n;
4032
- }, v = (e) => {
4033
- if (o.length < 1) return null;
4034
- let t = {};
4035
- for (let { slots: n = [], class: r, className: i, ...a } of o) {
4036
- if (!q(a)) {
4037
- let t = !0;
4038
- for (let n of Object.keys(a)) {
4039
- let r = p(n, e)[n];
4040
- if (r === void 0 || (Array.isArray(a[n]) ? !a[n].includes(r) : a[n] !== r)) {
4041
- t = !1;
4042
- break;
4043
- }
4044
- }
4045
- if (!t) continue;
4046
- }
4047
- for (let e of n) t[e] = t[e] || [], t[e].push([r, i]);
4048
- }
4049
- return t;
4050
- };
4051
- if (!q(r) || !f) {
4052
- let e = {};
4053
- if (typeof m == "object" && !q(m)) for (let t of Object.keys(m)) e[t] = (e) => Sn(m[t], a(t, e), (_(e) ?? [])[t], (v(e) ?? [])[t], e?.class, e?.className)(c);
4054
- return e;
4055
- }
4056
- return Sn(l, i(), g(h), e?.class, e?.className)(c);
4057
- };
4058
- return g.variantKeys = (() => {
4059
- if (!(!u || typeof u != "object")) return Object.keys(u);
4060
- })(), g.extend = n, g.base = l, g.slots = m, g.variants = u, g.defaultVariants = d, g.compoundSlots = o, g.compoundVariants = h, g;
4061
- })({
2
+ import e from "@bonprix-ds/react-icon";
3
+ import t from "@bonprix-ds/react-spinner";
4
+ import { twMerge as n } from "tailwind-merge";
5
+ import { useId as r, useState as i } from "react";
6
+ import { tv as a } from "tailwind-variants";
7
+ import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
8
+ import * as l from "@radix-ui/react-label";
9
+ //#region src/BaseButton.tsx
10
+ var u = a({
4062
11
  base: ["preflight rounded typography-button relative flex items-center justify-center gap-2 border border-transparent group/button", "focus-visible:outline outline-1 outline-offset-1 outline-clr-primary"],
4063
12
  slots: {
4064
13
  icon: "",
@@ -4102,7 +51,7 @@ var J = (e) => {
4102
51
  },
4103
52
  iconButton: {
4104
53
  true: "",
4105
- false: "py-[7px]"
54
+ false: "py-[0.4375rem]"
4106
55
  }
4107
56
  },
4108
57
  compoundVariants: [
@@ -4280,7 +229,7 @@ var J = (e) => {
4280
229
  iconButton: !1,
4281
230
  size: "large",
4282
231
  class: {
4283
- base: "py-[15px]",
232
+ base: "py-[0.9375rem]",
4284
233
  icon: "w-4 h-4"
4285
234
  }
4286
235
  },
@@ -4288,7 +237,7 @@ var J = (e) => {
4288
237
  iconButton: !0,
4289
238
  size: "small",
4290
239
  class: {
4291
- base: "p-[3px]",
240
+ base: "p-[0.1875rem]",
4292
241
  icon: "w-4 h-4"
4293
242
  }
4294
243
  },
@@ -4297,7 +246,7 @@ var J = (e) => {
4297
246
  size: "medium",
4298
247
  variant: ["primary", "secondary"],
4299
248
  class: {
4300
- base: "p-[7px]",
249
+ base: "p-[0.4375rem]",
4301
250
  icon: "w-4 h-4"
4302
251
  }
4303
252
  },
@@ -4306,7 +255,7 @@ var J = (e) => {
4306
255
  size: "medium",
4307
256
  variant: "tertiary",
4308
257
  class: {
4309
- base: "p-[3px]",
258
+ base: "p-[0.1875rem]",
4310
259
  icon: "w-6 h-6"
4311
260
  }
4312
261
  },
@@ -4314,75 +263,261 @@ var J = (e) => {
4314
263
  iconButton: !0,
4315
264
  size: "large",
4316
265
  class: {
4317
- base: "p-[11px]",
266
+ base: "p-[0.6875rem]",
4318
267
  icon: "w-6 h-6"
4319
268
  }
4320
269
  }
4321
270
  ]
4322
- }), Tn = ({ id: e, children: t, size: a = "medium", disabled: o = !1, variant: s = "primary", contentWidth: c = !1, loading: l = !1, icon: u, iconPosition: d = "start", iconButton: f = !1, tabIndex: p, className: m = "", componentName: h, inverted: g = !1, ..._ }) => {
4323
- let v = o || l, y = _.link, { base: b, icon: x, contentWrapper: S, loader: C } = wn({
4324
- size: a,
4325
- contentWidth: c,
4326
- disabled: v,
4327
- iconPosition: d,
4328
- variant: s,
4329
- loading: l,
4330
- iconButton: f,
4331
- link: y,
4332
- inverted: g
4333
- }), w = /* @__PURE__ */ i(n, { children: [u && /* @__PURE__ */ r(ye, {
4334
- variant: u,
4335
- className: x()
4336
- }), f ? void 0 : t] }), T = w;
4337
- l && (T = /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r("span", {
4338
- className: S(),
4339
- children: w
4340
- }), /* @__PURE__ */ r("span", {
4341
- className: C(),
4342
- children: /* @__PURE__ */ r(be, { edgeLength: f ? "20px" : "16px" })
271
+ }), d = ({ children: r, size: i = "medium", variant: a = "primary", contentWidth: l = !1, loading: d = !1, icon: f, iconPosition: p = "start", componentName: m, inverted: h = !1, component: g = "button", ..._ }) => {
272
+ let v = g, { disabled: y = !1, className: b = "", ...x } = _, S = y || d, C = m === "icon-button", { base: w, icon: T, contentWrapper: E, loader: D } = u({
273
+ size: i,
274
+ contentWidth: l,
275
+ disabled: S,
276
+ iconButton: C,
277
+ iconPosition: p,
278
+ variant: a,
279
+ loading: d,
280
+ link: g !== "button",
281
+ inverted: h
282
+ }), O = /* @__PURE__ */ c(o, { children: [f && /* @__PURE__ */ s(e, {
283
+ variant: f,
284
+ className: T()
285
+ }), C ? void 0 : r] }), k = O;
286
+ d && (k = /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s("span", {
287
+ className: E(),
288
+ children: O
289
+ }), /* @__PURE__ */ s("span", {
290
+ className: D(),
291
+ children: /* @__PURE__ */ s(t, { edgeLength: C ? "1.25rem" : "1rem" })
4343
292
  })] }));
4344
- let E;
4345
- if (f && (E = t || "Icon"), y) {
4346
- let { onClick: e, ref: t, href: n = "#", rel: i, target: o } = _;
4347
- return /* @__PURE__ */ r("a", {
4348
- className: dt(b(), m),
4349
- href: n,
4350
- rel: i,
4351
- target: o,
4352
- onClick: e,
4353
- tabIndex: p,
4354
- "aria-label": E,
4355
- "data-bpds": h,
4356
- "data-bpds-icon": u,
4357
- "data-bpds-size": a,
4358
- "data-bpds-content-width": h === "icon-button" ? void 0 : c,
4359
- "data-bpds-inverted": g,
4360
- "data-bpds-variant": s,
4361
- ref: t,
4362
- children: T
4363
- });
4364
- } else {
4365
- let { onClick: t, ref: n, type: i = "button", form: o } = _;
4366
- return /* @__PURE__ */ r("button", {
4367
- id: e,
4368
- type: i,
4369
- className: dt(b(), m),
4370
- disabled: v,
4371
- onClick: t,
4372
- tabIndex: p,
4373
- "aria-label": E,
4374
- "data-bpds": h,
4375
- "data-bpds-icon": u,
4376
- "data-bpds-size": a,
4377
- "data-bpds-content-width": h === "icon-button" ? void 0 : c,
4378
- "data-bpds-variant": s,
4379
- form: o,
4380
- ref: n,
4381
- children: T
4382
- });
293
+ let A;
294
+ return C && (A = r || "Icon"), /* @__PURE__ */ s(v, {
295
+ className: n(w(), b),
296
+ disabled: g === "button" ? S : void 0,
297
+ ...x,
298
+ "aria-label": A,
299
+ "data-bpds": m,
300
+ "data-bpds-icon": f,
301
+ "data-bpds-size": i,
302
+ "data-bpds-content-width": m === "icon-button" ? void 0 : l,
303
+ "data-bpds-inverted": h,
304
+ "data-bpds-variant": a,
305
+ children: k
306
+ });
307
+ }, f = a({
308
+ base: "preflight typography-input-text flex gap-2 items-start py-3 text-clr-on-bg-high relative",
309
+ slots: {
310
+ input: ["appearance-none relative w-6 h-6 rounded-sm border text-current cursor-pointer shrink-0", "focus-visible:outline focus-visible:outline-current focus-visible:outline-1 focus-visible:outline-offset-2"],
311
+ icon: "w-[1.125rem] h-[1.125rem] absolute m-0.75 fill-current"
312
+ },
313
+ variants: {
314
+ disabled: {
315
+ true: {
316
+ base: "text-clr-disabled border-clr-disabled",
317
+ input: "bg-clr-bg-disabled",
318
+ icon: "fill-clr-disabled"
319
+ },
320
+ false: { base: "hover:cursor-pointer hover:text-clr-on-bg-low" }
321
+ },
322
+ error: { true: {
323
+ input: "border-clr-fg-error bg-clr-bg-error [&:checked::after]:bg-clr-fg-error",
324
+ icon: "fill-clr-fg-error"
325
+ } }
4383
326
  }
327
+ }), p = ({ label: t, name: n, onChange: r, onBlur: a, id: o, value: l = t, required: u, disabled: d, error: p, errorText: m, helperText: h, helperTextId: g, errorTextId: _, rootRef: v, describedBy: y, ...b }) => {
328
+ let { base: x, input: S, icon: C } = f({
329
+ disabled: d,
330
+ error: p
331
+ }), w = "defaultChecked" in b, T = b.checked, [E, D] = i(() => w ? b.defaultChecked : T), O = w ? E : T, k;
332
+ return h && (k = g), p && m && (k = k ? k + " " + _ : _), y && (k = k ? k + " " + y : y), /* @__PURE__ */ c("label", {
333
+ className: x(),
334
+ tabIndex: -1,
335
+ children: [
336
+ /* @__PURE__ */ s("input", {
337
+ className: S(),
338
+ type: "checkbox",
339
+ checked: O,
340
+ onChange: (e) => {
341
+ let t = e.currentTarget.checked;
342
+ w && D(t), r?.(t);
343
+ },
344
+ onBlur: (e) => {
345
+ if (a) {
346
+ if (e.relatedTarget?.contains(e.currentTarget)) {
347
+ e.preventDefault();
348
+ return;
349
+ }
350
+ a();
351
+ }
352
+ },
353
+ value: l,
354
+ id: o,
355
+ name: n,
356
+ disabled: d,
357
+ ref: v,
358
+ required: u,
359
+ "aria-invalid": p ? "true" : void 0,
360
+ "aria-describedby": k
361
+ }),
362
+ t,
363
+ O && /* @__PURE__ */ s(e, {
364
+ variant: "check-bold",
365
+ className: C()
366
+ })
367
+ ]
368
+ });
369
+ }, m = a({
370
+ base: "preflight typography-input-helper-text w-full inline-block",
371
+ variants: { type: {
372
+ description: "text-clr-on-bg-mid",
373
+ error: "text-clr-fg-error"
374
+ } }
375
+ }), h = ({ id: e, children: t, type: n = "description" }) => {
376
+ let r = m({ type: n });
377
+ return /* @__PURE__ */ s("p", {
378
+ id: e,
379
+ className: r,
380
+ children: t
381
+ });
382
+ }, g = a({ base: "preflight flex flex-col gap-1 w-full" }), _ = ({ helperText: e, helperTextId: t, error: n = !1, errorText: r, errorTextId: i, className: a = "" }) => /* @__PURE__ */ c("div", {
383
+ className: `${g()} ${a}`,
384
+ children: [e && /* @__PURE__ */ s(h, {
385
+ id: t,
386
+ children: e
387
+ }), n && r && /* @__PURE__ */ s(h, {
388
+ id: i,
389
+ type: "error",
390
+ children: r
391
+ })]
392
+ }), v = a({
393
+ slots: {
394
+ root: [
395
+ "preflight relative text-clr-primary fill-clr-primary pt-5",
396
+ "[&_.input]:placeholder:typography-caption [&_.input]:text-ellipsis",
397
+ "[&_.input]:placeholder:text-clr-on-bg-mid [&_.input]:placeholder:truncate",
398
+ "[&_.input]:caret-clr-primary",
399
+ "group"
400
+ ],
401
+ inputWrapper: "relative border border-clr-primary rounded-sm group/input-wrapper",
402
+ inputLabel: [
403
+ "absolute start-0 duration-300 px-1.5 mx-1.5",
404
+ "top-[2.0625rem]",
405
+ "inline-block truncate max-w-[calc(100%-0.75rem)]",
406
+ "pointer-events-none",
407
+ "group-has-[input:autofill]:-translate-y-8",
408
+ "group-has-[input:autofill]:typography-input-label"
409
+ ],
410
+ helperTextSection: "",
411
+ stateIndicator: ["hidden absolute bottom-0 start-0 w-full bg-clr-primary", "group-focus-within/input-wrapper:h-0.75 group-focus-within/input-wrapper:block"]
412
+ },
413
+ variants: {
414
+ labelFloated: {
415
+ true: { inputLabel: "typography-input-label -translate-y-8" },
416
+ false: { inputLabel: "typography-input-text" }
417
+ },
418
+ disabled: {
419
+ true: {
420
+ root: "text-clr-disabled fill-clr-disabled pointer-events-none [&_.input]:placeholder:text-clr-disabled",
421
+ inputWrapper: "border-clr-disabled",
422
+ inputLabel: "text-clr-disabled"
423
+ },
424
+ false: { stateIndicator: ["group-hover/input-wrapper:h-0.25 group-hover/input-wrapper:block", "group-hover:group-focus-within/input-wrapper:h-0.75 group-hover:group-focus-within/input-wrapper:block"] }
425
+ },
426
+ error: { true: {
427
+ root: "text-clr-fg-error fill-clr-fg-error [&_.input]:caret-clr-fg-error [&_.input]:caret-clr-fg-error",
428
+ inputWrapper: "border-clr-fg-error",
429
+ inputLabel: "text-clr-fg-error",
430
+ stateIndicator: "bg-clr-fg-error"
431
+ } },
432
+ componentName: {
433
+ select: { inputWrapper: "has-[[data-radix-popper-side=top]]:rounded-t-none has-[[data-radix-popper-side=bottom]]:rounded-b-none" },
434
+ "password-field": "",
435
+ "text-field": "",
436
+ "search-field": "",
437
+ textarea: ""
438
+ },
439
+ helperTextSectionVisible: {
440
+ true: { helperTextSection: "mt-1 px-3" },
441
+ false: {}
442
+ }
443
+ },
444
+ compoundVariants: [{
445
+ labelFloated: !1,
446
+ componentName: [
447
+ "select",
448
+ "search-field",
449
+ "password-field"
450
+ ],
451
+ class: { inputLabel: "pe-7" }
452
+ }]
453
+ }), y = ({ children: e, id: t, label: n, labelFloated: r, disabled: i, required: a, componentName: o, helperText: u, helperTextId: d, error: f, errorText: p, errorTextId: m, labelClassName: h = "" }) => {
454
+ let { root: g, inputWrapper: y, inputLabel: b, helperTextSection: x, stateIndicator: S } = v({
455
+ labelFloated: r,
456
+ disabled: i,
457
+ error: f,
458
+ componentName: o,
459
+ helperTextSectionVisible: !!(u || f && p)
460
+ });
461
+ return /* @__PURE__ */ c("div", {
462
+ className: g(),
463
+ "data-bpds": o,
464
+ children: [
465
+ /* @__PURE__ */ c("div", {
466
+ className: y(),
467
+ "aria-disabled": i,
468
+ children: [e, /* @__PURE__ */ s("div", { className: S() })]
469
+ }),
470
+ /* @__PURE__ */ c(l.Root, {
471
+ htmlFor: t,
472
+ className: `${b()} ${h}`,
473
+ children: [n, a && /* @__PURE__ */ s("span", {
474
+ "aria-hidden": "true",
475
+ children: "*"
476
+ })]
477
+ }),
478
+ /* @__PURE__ */ s(_, {
479
+ className: x(),
480
+ helperText: u,
481
+ helperTextId: d,
482
+ error: f,
483
+ errorText: p,
484
+ errorTextId: m
485
+ })
486
+ ]
487
+ });
488
+ }, b = a({
489
+ base: "preflight min-w-0",
490
+ slots: { label: "typography-input-label text-clr-on-bg-mid truncate inline-block w-full" },
491
+ variants: { horizontalPadding: { true: { base: "px-3" } } }
492
+ }), x = ({ label: e, children: t, error: n = !1, errorText: i = "", disabled: a = !1, helperText: o = "", required: l = !1, divider: u = !1, horizontalPadding: d = !1, "aria-label": f, "aria-labelledby": p, componentName: m }) => {
493
+ let { base: h, label: g } = b({ horizontalPadding: d }), v = r(), y = r(), x;
494
+ return o && (x = v), n && i && (x = x ? x + " " + y : y), /* @__PURE__ */ c("fieldset", {
495
+ className: h(),
496
+ disabled: a,
497
+ "data-bpds": m,
498
+ "data-bpds-has-divider": u ? "true" : "false",
499
+ "data-bpds-has-horizontal-padding": d ? "true" : "false",
500
+ "aria-describedby": x,
501
+ "aria-invalid": n ? "true" : void 0,
502
+ "aria-label": f,
503
+ "aria-labelledby": p,
504
+ children: [
505
+ e && /* @__PURE__ */ c("legend", {
506
+ className: g(),
507
+ children: [e, l && /* @__PURE__ */ s("span", { children: "*" })]
508
+ }),
509
+ t,
510
+ /* @__PURE__ */ s(_, {
511
+ helperText: o,
512
+ error: n,
513
+ errorText: i,
514
+ helperTextId: v,
515
+ errorTextId: y
516
+ })
517
+ ]
518
+ });
4384
519
  };
4385
520
  //#endregion
4386
- export { Tn as BaseButton };
521
+ export { d as BaseButton, p as CheckboxBase, h as InputHelperText, _ as InputHelperTextSection, y as InputWrapper, x as SelectionControlGroup };
4387
522
 
4388
523
  //# sourceMappingURL=index.js.map