@bonprix-ds/react-step-navi 1.0.1 → 1.0.2

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,2813 +1,11 @@
1
1
  "use client";
2
- import { useGlobalConfig as e, useSubcomponent as t } from "@bonprix-ds/utils";
3
- import n, { Children as r } from "react";
4
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
5
- //#region ../icon/dist/index.js
6
- var o = "-", s = (e) => {
7
- let t = d(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
8
- return {
9
- getClassGroupId: (e) => {
10
- let n = e.split(o);
11
- return n[0] === "" && n.length !== 1 && n.shift(), c(n, t) || u(e);
12
- },
13
- getConflictingClassGroupIds: (e, t) => {
14
- let i = n[e] || [];
15
- return t && r[e] ? [...i, ...r[e]] : i;
16
- }
17
- };
18
- }, c = (e, t) => {
19
- if (e.length === 0) return t.classGroupId;
20
- let n = e[0], r = t.nextPart.get(n), i = r ? c(e.slice(1), r) : void 0;
21
- if (i) return i;
22
- if (t.validators.length === 0) return;
23
- let a = e.join(o);
24
- return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
25
- }, l = /^\[(.+)\]$/, u = (e) => {
26
- if (l.test(e)) {
27
- let t = l.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
28
- if (n) return "arbitrary.." + n;
29
- }
30
- }, d = (e) => {
31
- let { theme: t, prefix: n } = e, r = {
32
- nextPart: /* @__PURE__ */ new Map(),
33
- validators: []
34
- };
35
- return h(Object.entries(e.classGroups), n).forEach(([e, n]) => {
36
- f(n, r, e, t);
37
- }), r;
38
- }, f = (e, t, n, r) => {
39
- e.forEach((e) => {
40
- if (typeof e == "string") {
41
- let r = e === "" ? t : p(t, e);
42
- r.classGroupId = n;
43
- return;
44
- }
45
- if (typeof e == "function") {
46
- if (m(e)) {
47
- f(e(r), t, n, r);
48
- return;
49
- }
50
- t.validators.push({
51
- validator: e,
52
- classGroupId: n
53
- });
54
- return;
55
- }
56
- Object.entries(e).forEach(([e, i]) => {
57
- f(i, p(t, e), n, r);
58
- });
59
- });
60
- }, p = (e, t) => {
61
- let n = e;
62
- return t.split(o).forEach((e) => {
63
- n.nextPart.has(e) || n.nextPart.set(e, {
64
- nextPart: /* @__PURE__ */ new Map(),
65
- validators: []
66
- }), n = n.nextPart.get(e);
67
- }), n;
68
- }, m = (e) => e.isThemeGetter, h = (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, g = (e) => {
69
- if (e < 1) return {
70
- get: () => void 0,
71
- set: () => {}
72
- };
73
- let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (i, a) => {
74
- n.set(i, a), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
75
- };
76
- return {
77
- get(e) {
78
- let t = n.get(e);
79
- if (t !== void 0) return t;
80
- if ((t = r.get(e)) !== void 0) return i(e, t), t;
81
- },
82
- set(e, t) {
83
- n.has(e) ? n.set(e, t) : i(e, t);
84
- }
85
- };
86
- }, _ = "!", v = (e) => {
87
- let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
88
- let n = [], o = 0, s = 0, c;
89
- for (let l = 0; l < e.length; l++) {
90
- let u = e[l];
91
- if (o === 0) {
92
- if (u === i && (r || e.slice(l, l + a) === t)) {
93
- n.push(e.slice(s, l)), s = l + a;
94
- continue;
95
- }
96
- if (u === "/") {
97
- c = l;
98
- continue;
99
- }
100
- }
101
- u === "[" ? o++ : u === "]" && o--;
102
- }
103
- let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(_);
104
- return {
105
- modifiers: n,
106
- hasImportantModifier: u,
107
- baseClassName: u ? l.substring(1) : l,
108
- maybePostfixModifierPosition: c && c > s ? c - s : void 0
109
- };
110
- };
111
- return n ? (e) => n({
112
- className: e,
113
- parseClassName: o
114
- }) : o;
115
- }, y = (e) => {
116
- if (e.length <= 1) return e;
117
- let t = [], n = [];
118
- return e.forEach((e) => {
119
- e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
120
- }), t.push(...n.sort()), t;
121
- }, b = (e) => ({
122
- cache: g(e.cacheSize),
123
- parseClassName: v(e),
124
- ...s(e)
125
- }), ee = /\s+/, x = (e, t) => {
126
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(ee), s = "";
127
- for (let e = o.length - 1; e >= 0; --e) {
128
- let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
129
- if (!p) {
130
- if (!f) {
131
- s = t + (s.length > 0 ? " " + s : s);
132
- continue;
133
- }
134
- if (p = r(u), !p) {
135
- s = t + (s.length > 0 ? " " + s : s);
136
- continue;
137
- }
138
- f = !1;
139
- }
140
- let m = y(c).join(":"), h = l ? m + _ : m, g = h + p;
141
- if (a.includes(g)) continue;
142
- a.push(g);
143
- let v = i(p, f);
144
- for (let e = 0; e < v.length; ++e) {
145
- let t = v[e];
146
- a.push(h + t);
147
- }
148
- s = t + (s.length > 0 ? " " + s : s);
149
- }
150
- return s;
151
- };
152
- function S() {
153
- let e = 0, t, n, r = "";
154
- for (; e < arguments.length;) (t = arguments[e++]) && (n = C(t)) && (r && (r += " "), r += n);
155
- return r;
156
- }
157
- var C = (e) => {
158
- if (typeof e == "string") return e;
159
- let t, n = "";
160
- for (let r = 0; r < e.length; r++) e[r] && (t = C(e[r])) && (n && (n += " "), n += t);
161
- return n;
162
- };
163
- function w(e, ...t) {
164
- let n, r, i, a = o;
165
- function o(o) {
166
- return n = b(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
167
- }
168
- function s(e) {
169
- let t = r(e);
170
- if (t) return t;
171
- let a = x(e, n);
172
- return i(e, a), a;
173
- }
174
- return function() {
175
- return a(S.apply(null, arguments));
176
- };
177
- }
178
- var T = (e) => {
179
- let t = (t) => t[e] || [];
180
- return t.isThemeGetter = !0, t;
181
- }, E = /^\[(?:([a-z-]+):)?(.+)\]$/i, D = /^\d+\/\d+$/, O = /*#__PURE__*/ new Set([
182
- "px",
183
- "full",
184
- "screen"
185
- ]), k = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, A = /\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$/, j = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, M = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, N = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, P = (e) => I(e) || O.has(e) || D.test(e), F = (e) => V(e, "length", H), I = (e) => !!e && !Number.isNaN(Number(e)), te = (e) => V(e, "number", I), ne = (e) => !!e && Number.isInteger(Number(e)), re = (e) => e.endsWith("%") && I(e.slice(0, -1)), L = (e) => E.test(e), R = (e) => k.test(e), ie = /*#__PURE__*/ new Set([
186
- "length",
187
- "size",
188
- "percentage"
189
- ]), ae = (e) => V(e, ie, le), oe = (e) => V(e, "position", le), z = /*#__PURE__*/ new Set(["image", "url"]), se = (e) => V(e, z, de), ce = (e) => V(e, "", ue), B = () => !0, V = (e, t, n) => {
190
- let r = E.exec(e);
191
- return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
192
- }, H = (e) => A.test(e) && !j.test(e), le = () => !1, ue = (e) => M.test(e), de = (e) => N.test(e), fe = /*#__PURE__*/ w(() => {
193
- let e = T("colors"), t = T("spacing"), n = T("blur"), r = T("brightness"), i = T("borderColor"), a = T("borderRadius"), o = T("borderSpacing"), s = T("borderWidth"), c = T("contrast"), l = T("grayscale"), u = T("hueRotate"), d = T("invert"), f = T("gap"), p = T("gradientColorStops"), m = T("gradientColorStopPositions"), h = T("inset"), g = T("margin"), _ = T("opacity"), v = T("padding"), y = T("saturate"), b = T("scale"), ee = T("sepia"), x = T("skew"), S = T("space"), C = T("translate"), w = () => [
194
- "auto",
195
- "contain",
196
- "none"
197
- ], E = () => [
198
- "auto",
199
- "hidden",
200
- "clip",
201
- "visible",
202
- "scroll"
203
- ], D = () => [
204
- "auto",
205
- L,
206
- t
207
- ], O = () => [L, t], k = () => [
208
- "",
209
- P,
210
- F
211
- ], A = () => [
212
- "auto",
213
- I,
214
- L
215
- ], j = () => [
216
- "bottom",
217
- "center",
218
- "left",
219
- "left-bottom",
220
- "left-top",
221
- "right",
222
- "right-bottom",
223
- "right-top",
224
- "top"
225
- ], M = () => [
226
- "solid",
227
- "dashed",
228
- "dotted",
229
- "double",
230
- "none"
231
- ], N = () => [
232
- "normal",
233
- "multiply",
234
- "screen",
235
- "overlay",
236
- "darken",
237
- "lighten",
238
- "color-dodge",
239
- "color-burn",
240
- "hard-light",
241
- "soft-light",
242
- "difference",
243
- "exclusion",
244
- "hue",
245
- "saturation",
246
- "color",
247
- "luminosity"
248
- ], ie = () => [
249
- "start",
250
- "end",
251
- "center",
252
- "between",
253
- "around",
254
- "evenly",
255
- "stretch"
256
- ], z = () => [
257
- "",
258
- "0",
259
- L
260
- ], V = () => [
261
- "auto",
262
- "avoid",
263
- "all",
264
- "avoid-page",
265
- "page",
266
- "left",
267
- "right",
268
- "column"
269
- ], H = () => [I, L];
270
- return {
271
- cacheSize: 500,
272
- separator: ":",
273
- theme: {
274
- colors: [B],
275
- spacing: [P, F],
276
- blur: [
277
- "none",
278
- "",
279
- R,
280
- L
281
- ],
282
- brightness: H(),
283
- borderColor: [e],
284
- borderRadius: [
285
- "none",
286
- "",
287
- "full",
288
- R,
289
- L
290
- ],
291
- borderSpacing: O(),
292
- borderWidth: k(),
293
- contrast: H(),
294
- grayscale: z(),
295
- hueRotate: H(),
296
- invert: z(),
297
- gap: O(),
298
- gradientColorStops: [e],
299
- gradientColorStopPositions: [re, F],
300
- inset: D(),
301
- margin: D(),
302
- opacity: H(),
303
- padding: O(),
304
- saturate: H(),
305
- scale: H(),
306
- sepia: z(),
307
- skew: H(),
308
- space: O(),
309
- translate: O()
310
- },
311
- classGroups: {
312
- aspect: [{ aspect: [
313
- "auto",
314
- "square",
315
- "video",
316
- L
317
- ] }],
318
- container: ["container"],
319
- columns: [{ columns: [R] }],
320
- "break-after": [{ "break-after": V() }],
321
- "break-before": [{ "break-before": V() }],
322
- "break-inside": [{ "break-inside": [
323
- "auto",
324
- "avoid",
325
- "avoid-page",
326
- "avoid-column"
327
- ] }],
328
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
329
- box: [{ box: ["border", "content"] }],
330
- display: [
331
- "block",
332
- "inline-block",
333
- "inline",
334
- "flex",
335
- "inline-flex",
336
- "table",
337
- "inline-table",
338
- "table-caption",
339
- "table-cell",
340
- "table-column",
341
- "table-column-group",
342
- "table-footer-group",
343
- "table-header-group",
344
- "table-row-group",
345
- "table-row",
346
- "flow-root",
347
- "grid",
348
- "inline-grid",
349
- "contents",
350
- "list-item",
351
- "hidden"
352
- ],
353
- float: [{ float: [
354
- "right",
355
- "left",
356
- "none",
357
- "start",
358
- "end"
359
- ] }],
360
- clear: [{ clear: [
361
- "left",
362
- "right",
363
- "both",
364
- "none",
365
- "start",
366
- "end"
367
- ] }],
368
- isolation: ["isolate", "isolation-auto"],
369
- "object-fit": [{ object: [
370
- "contain",
371
- "cover",
372
- "fill",
373
- "none",
374
- "scale-down"
375
- ] }],
376
- "object-position": [{ object: [...j(), L] }],
377
- overflow: [{ overflow: E() }],
378
- "overflow-x": [{ "overflow-x": E() }],
379
- "overflow-y": [{ "overflow-y": E() }],
380
- overscroll: [{ overscroll: w() }],
381
- "overscroll-x": [{ "overscroll-x": w() }],
382
- "overscroll-y": [{ "overscroll-y": w() }],
383
- position: [
384
- "static",
385
- "fixed",
386
- "absolute",
387
- "relative",
388
- "sticky"
389
- ],
390
- inset: [{ inset: [h] }],
391
- "inset-x": [{ "inset-x": [h] }],
392
- "inset-y": [{ "inset-y": [h] }],
393
- start: [{ start: [h] }],
394
- end: [{ end: [h] }],
395
- top: [{ top: [h] }],
396
- right: [{ right: [h] }],
397
- bottom: [{ bottom: [h] }],
398
- left: [{ left: [h] }],
399
- visibility: [
400
- "visible",
401
- "invisible",
402
- "collapse"
403
- ],
404
- z: [{ z: [
405
- "auto",
406
- ne,
407
- L
408
- ] }],
409
- basis: [{ basis: D() }],
410
- "flex-direction": [{ flex: [
411
- "row",
412
- "row-reverse",
413
- "col",
414
- "col-reverse"
415
- ] }],
416
- "flex-wrap": [{ flex: [
417
- "wrap",
418
- "wrap-reverse",
419
- "nowrap"
420
- ] }],
421
- flex: [{ flex: [
422
- "1",
423
- "auto",
424
- "initial",
425
- "none",
426
- L
427
- ] }],
428
- grow: [{ grow: z() }],
429
- shrink: [{ shrink: z() }],
430
- order: [{ order: [
431
- "first",
432
- "last",
433
- "none",
434
- ne,
435
- L
436
- ] }],
437
- "grid-cols": [{ "grid-cols": [B] }],
438
- "col-start-end": [{ col: [
439
- "auto",
440
- { span: [
441
- "full",
442
- ne,
443
- L
444
- ] },
445
- L
446
- ] }],
447
- "col-start": [{ "col-start": A() }],
448
- "col-end": [{ "col-end": A() }],
449
- "grid-rows": [{ "grid-rows": [B] }],
450
- "row-start-end": [{ row: [
451
- "auto",
452
- { span: [ne, L] },
453
- L
454
- ] }],
455
- "row-start": [{ "row-start": A() }],
456
- "row-end": [{ "row-end": A() }],
457
- "grid-flow": [{ "grid-flow": [
458
- "row",
459
- "col",
460
- "dense",
461
- "row-dense",
462
- "col-dense"
463
- ] }],
464
- "auto-cols": [{ "auto-cols": [
465
- "auto",
466
- "min",
467
- "max",
468
- "fr",
469
- L
470
- ] }],
471
- "auto-rows": [{ "auto-rows": [
472
- "auto",
473
- "min",
474
- "max",
475
- "fr",
476
- L
477
- ] }],
478
- gap: [{ gap: [f] }],
479
- "gap-x": [{ "gap-x": [f] }],
480
- "gap-y": [{ "gap-y": [f] }],
481
- "justify-content": [{ justify: ["normal", ...ie()] }],
482
- "justify-items": [{ "justify-items": [
483
- "start",
484
- "end",
485
- "center",
486
- "stretch"
487
- ] }],
488
- "justify-self": [{ "justify-self": [
489
- "auto",
490
- "start",
491
- "end",
492
- "center",
493
- "stretch"
494
- ] }],
495
- "align-content": [{ content: [
496
- "normal",
497
- ...ie(),
498
- "baseline"
499
- ] }],
500
- "align-items": [{ items: [
501
- "start",
502
- "end",
503
- "center",
504
- "baseline",
505
- "stretch"
506
- ] }],
507
- "align-self": [{ self: [
508
- "auto",
509
- "start",
510
- "end",
511
- "center",
512
- "stretch",
513
- "baseline"
514
- ] }],
515
- "place-content": [{ "place-content": [...ie(), "baseline"] }],
516
- "place-items": [{ "place-items": [
517
- "start",
518
- "end",
519
- "center",
520
- "baseline",
521
- "stretch"
522
- ] }],
523
- "place-self": [{ "place-self": [
524
- "auto",
525
- "start",
526
- "end",
527
- "center",
528
- "stretch"
529
- ] }],
530
- p: [{ p: [v] }],
531
- px: [{ px: [v] }],
532
- py: [{ py: [v] }],
533
- ps: [{ ps: [v] }],
534
- pe: [{ pe: [v] }],
535
- pt: [{ pt: [v] }],
536
- pr: [{ pr: [v] }],
537
- pb: [{ pb: [v] }],
538
- pl: [{ pl: [v] }],
539
- m: [{ m: [g] }],
540
- mx: [{ mx: [g] }],
541
- my: [{ my: [g] }],
542
- ms: [{ ms: [g] }],
543
- me: [{ me: [g] }],
544
- mt: [{ mt: [g] }],
545
- mr: [{ mr: [g] }],
546
- mb: [{ mb: [g] }],
547
- ml: [{ ml: [g] }],
548
- "space-x": [{ "space-x": [S] }],
549
- "space-x-reverse": ["space-x-reverse"],
550
- "space-y": [{ "space-y": [S] }],
551
- "space-y-reverse": ["space-y-reverse"],
552
- w: [{ w: [
553
- "auto",
554
- "min",
555
- "max",
556
- "fit",
557
- "svw",
558
- "lvw",
559
- "dvw",
560
- L,
561
- t
562
- ] }],
563
- "min-w": [{ "min-w": [
564
- L,
565
- t,
566
- "min",
567
- "max",
568
- "fit"
569
- ] }],
570
- "max-w": [{ "max-w": [
571
- L,
572
- t,
573
- "none",
574
- "full",
575
- "min",
576
- "max",
577
- "fit",
578
- "prose",
579
- { screen: [R] },
580
- R
581
- ] }],
582
- h: [{ h: [
583
- L,
584
- t,
585
- "auto",
586
- "min",
587
- "max",
588
- "fit",
589
- "svh",
590
- "lvh",
591
- "dvh"
592
- ] }],
593
- "min-h": [{ "min-h": [
594
- L,
595
- t,
596
- "min",
597
- "max",
598
- "fit",
599
- "svh",
600
- "lvh",
601
- "dvh"
602
- ] }],
603
- "max-h": [{ "max-h": [
604
- L,
605
- t,
606
- "min",
607
- "max",
608
- "fit",
609
- "svh",
610
- "lvh",
611
- "dvh"
612
- ] }],
613
- size: [{ size: [
614
- L,
615
- t,
616
- "auto",
617
- "min",
618
- "max",
619
- "fit"
620
- ] }],
621
- "font-size": [{ text: [
622
- "base",
623
- R,
624
- F
625
- ] }],
626
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
627
- "font-style": ["italic", "not-italic"],
628
- "font-weight": [{ font: [
629
- "thin",
630
- "extralight",
631
- "light",
632
- "normal",
633
- "medium",
634
- "semibold",
635
- "bold",
636
- "extrabold",
637
- "black",
638
- te
639
- ] }],
640
- "font-family": [{ font: [B] }],
641
- "fvn-normal": ["normal-nums"],
642
- "fvn-ordinal": ["ordinal"],
643
- "fvn-slashed-zero": ["slashed-zero"],
644
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
645
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
646
- "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
647
- tracking: [{ tracking: [
648
- "tighter",
649
- "tight",
650
- "normal",
651
- "wide",
652
- "wider",
653
- "widest",
654
- L
655
- ] }],
656
- "line-clamp": [{ "line-clamp": [
657
- "none",
658
- I,
659
- te
660
- ] }],
661
- leading: [{ leading: [
662
- "none",
663
- "tight",
664
- "snug",
665
- "normal",
666
- "relaxed",
667
- "loose",
668
- P,
669
- L
670
- ] }],
671
- "list-image": [{ "list-image": ["none", L] }],
672
- "list-style-type": [{ list: [
673
- "none",
674
- "disc",
675
- "decimal",
676
- L
677
- ] }],
678
- "list-style-position": [{ list: ["inside", "outside"] }],
679
- "placeholder-color": [{ placeholder: [e] }],
680
- "placeholder-opacity": [{ "placeholder-opacity": [_] }],
681
- "text-alignment": [{ text: [
682
- "left",
683
- "center",
684
- "right",
685
- "justify",
686
- "start",
687
- "end"
688
- ] }],
689
- "text-color": [{ text: [e] }],
690
- "text-opacity": [{ "text-opacity": [_] }],
691
- "text-decoration": [
692
- "underline",
693
- "overline",
694
- "line-through",
695
- "no-underline"
696
- ],
697
- "text-decoration-style": [{ decoration: [...M(), "wavy"] }],
698
- "text-decoration-thickness": [{ decoration: [
699
- "auto",
700
- "from-font",
701
- P,
702
- F
703
- ] }],
704
- "underline-offset": [{ "underline-offset": [
705
- "auto",
706
- P,
707
- L
708
- ] }],
709
- "text-decoration-color": [{ decoration: [e] }],
710
- "text-transform": [
711
- "uppercase",
712
- "lowercase",
713
- "capitalize",
714
- "normal-case"
715
- ],
716
- "text-overflow": [
717
- "truncate",
718
- "text-ellipsis",
719
- "text-clip"
720
- ],
721
- "text-wrap": [{ text: [
722
- "wrap",
723
- "nowrap",
724
- "balance",
725
- "pretty"
726
- ] }],
727
- indent: [{ indent: O() }],
728
- "vertical-align": [{ align: [
729
- "baseline",
730
- "top",
731
- "middle",
732
- "bottom",
733
- "text-top",
734
- "text-bottom",
735
- "sub",
736
- "super",
737
- L
738
- ] }],
739
- whitespace: [{ whitespace: [
740
- "normal",
741
- "nowrap",
742
- "pre",
743
- "pre-line",
744
- "pre-wrap",
745
- "break-spaces"
746
- ] }],
747
- break: [{ break: [
748
- "normal",
749
- "words",
750
- "all",
751
- "keep"
752
- ] }],
753
- hyphens: [{ hyphens: [
754
- "none",
755
- "manual",
756
- "auto"
757
- ] }],
758
- content: [{ content: ["none", L] }],
759
- "bg-attachment": [{ bg: [
760
- "fixed",
761
- "local",
762
- "scroll"
763
- ] }],
764
- "bg-clip": [{ "bg-clip": [
765
- "border",
766
- "padding",
767
- "content",
768
- "text"
769
- ] }],
770
- "bg-opacity": [{ "bg-opacity": [_] }],
771
- "bg-origin": [{ "bg-origin": [
772
- "border",
773
- "padding",
774
- "content"
775
- ] }],
776
- "bg-position": [{ bg: [...j(), oe] }],
777
- "bg-repeat": [{ bg: ["no-repeat", { repeat: [
778
- "",
779
- "x",
780
- "y",
781
- "round",
782
- "space"
783
- ] }] }],
784
- "bg-size": [{ bg: [
785
- "auto",
786
- "cover",
787
- "contain",
788
- ae
789
- ] }],
790
- "bg-image": [{ bg: [
791
- "none",
792
- { "gradient-to": [
793
- "t",
794
- "tr",
795
- "r",
796
- "br",
797
- "b",
798
- "bl",
799
- "l",
800
- "tl"
801
- ] },
802
- se
803
- ] }],
804
- "bg-color": [{ bg: [e] }],
805
- "gradient-from-pos": [{ from: [m] }],
806
- "gradient-via-pos": [{ via: [m] }],
807
- "gradient-to-pos": [{ to: [m] }],
808
- "gradient-from": [{ from: [p] }],
809
- "gradient-via": [{ via: [p] }],
810
- "gradient-to": [{ to: [p] }],
811
- rounded: [{ rounded: [a] }],
812
- "rounded-s": [{ "rounded-s": [a] }],
813
- "rounded-e": [{ "rounded-e": [a] }],
814
- "rounded-t": [{ "rounded-t": [a] }],
815
- "rounded-r": [{ "rounded-r": [a] }],
816
- "rounded-b": [{ "rounded-b": [a] }],
817
- "rounded-l": [{ "rounded-l": [a] }],
818
- "rounded-ss": [{ "rounded-ss": [a] }],
819
- "rounded-se": [{ "rounded-se": [a] }],
820
- "rounded-ee": [{ "rounded-ee": [a] }],
821
- "rounded-es": [{ "rounded-es": [a] }],
822
- "rounded-tl": [{ "rounded-tl": [a] }],
823
- "rounded-tr": [{ "rounded-tr": [a] }],
824
- "rounded-br": [{ "rounded-br": [a] }],
825
- "rounded-bl": [{ "rounded-bl": [a] }],
826
- "border-w": [{ border: [s] }],
827
- "border-w-x": [{ "border-x": [s] }],
828
- "border-w-y": [{ "border-y": [s] }],
829
- "border-w-s": [{ "border-s": [s] }],
830
- "border-w-e": [{ "border-e": [s] }],
831
- "border-w-t": [{ "border-t": [s] }],
832
- "border-w-r": [{ "border-r": [s] }],
833
- "border-w-b": [{ "border-b": [s] }],
834
- "border-w-l": [{ "border-l": [s] }],
835
- "border-opacity": [{ "border-opacity": [_] }],
836
- "border-style": [{ border: [...M(), "hidden"] }],
837
- "divide-x": [{ "divide-x": [s] }],
838
- "divide-x-reverse": ["divide-x-reverse"],
839
- "divide-y": [{ "divide-y": [s] }],
840
- "divide-y-reverse": ["divide-y-reverse"],
841
- "divide-opacity": [{ "divide-opacity": [_] }],
842
- "divide-style": [{ divide: M() }],
843
- "border-color": [{ border: [i] }],
844
- "border-color-x": [{ "border-x": [i] }],
845
- "border-color-y": [{ "border-y": [i] }],
846
- "border-color-s": [{ "border-s": [i] }],
847
- "border-color-e": [{ "border-e": [i] }],
848
- "border-color-t": [{ "border-t": [i] }],
849
- "border-color-r": [{ "border-r": [i] }],
850
- "border-color-b": [{ "border-b": [i] }],
851
- "border-color-l": [{ "border-l": [i] }],
852
- "divide-color": [{ divide: [i] }],
853
- "outline-style": [{ outline: ["", ...M()] }],
854
- "outline-offset": [{ "outline-offset": [P, L] }],
855
- "outline-w": [{ outline: [P, F] }],
856
- "outline-color": [{ outline: [e] }],
857
- "ring-w": [{ ring: k() }],
858
- "ring-w-inset": ["ring-inset"],
859
- "ring-color": [{ ring: [e] }],
860
- "ring-opacity": [{ "ring-opacity": [_] }],
861
- "ring-offset-w": [{ "ring-offset": [P, F] }],
862
- "ring-offset-color": [{ "ring-offset": [e] }],
863
- shadow: [{ shadow: [
864
- "",
865
- "inner",
866
- "none",
867
- R,
868
- ce
869
- ] }],
870
- "shadow-color": [{ shadow: [B] }],
871
- opacity: [{ opacity: [_] }],
872
- "mix-blend": [{ "mix-blend": [
873
- ...N(),
874
- "plus-lighter",
875
- "plus-darker"
876
- ] }],
877
- "bg-blend": [{ "bg-blend": N() }],
878
- filter: [{ filter: ["", "none"] }],
879
- blur: [{ blur: [n] }],
880
- brightness: [{ brightness: [r] }],
881
- contrast: [{ contrast: [c] }],
882
- "drop-shadow": [{ "drop-shadow": [
883
- "",
884
- "none",
885
- R,
886
- L
887
- ] }],
888
- grayscale: [{ grayscale: [l] }],
889
- "hue-rotate": [{ "hue-rotate": [u] }],
890
- invert: [{ invert: [d] }],
891
- saturate: [{ saturate: [y] }],
892
- sepia: [{ sepia: [ee] }],
893
- "backdrop-filter": [{ "backdrop-filter": ["", "none"] }],
894
- "backdrop-blur": [{ "backdrop-blur": [n] }],
895
- "backdrop-brightness": [{ "backdrop-brightness": [r] }],
896
- "backdrop-contrast": [{ "backdrop-contrast": [c] }],
897
- "backdrop-grayscale": [{ "backdrop-grayscale": [l] }],
898
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [u] }],
899
- "backdrop-invert": [{ "backdrop-invert": [d] }],
900
- "backdrop-opacity": [{ "backdrop-opacity": [_] }],
901
- "backdrop-saturate": [{ "backdrop-saturate": [y] }],
902
- "backdrop-sepia": [{ "backdrop-sepia": [ee] }],
903
- "border-collapse": [{ border: ["collapse", "separate"] }],
904
- "border-spacing": [{ "border-spacing": [o] }],
905
- "border-spacing-x": [{ "border-spacing-x": [o] }],
906
- "border-spacing-y": [{ "border-spacing-y": [o] }],
907
- "table-layout": [{ table: ["auto", "fixed"] }],
908
- caption: [{ caption: ["top", "bottom"] }],
909
- transition: [{ transition: [
910
- "none",
911
- "all",
912
- "",
913
- "colors",
914
- "opacity",
915
- "shadow",
916
- "transform",
917
- L
918
- ] }],
919
- duration: [{ duration: H() }],
920
- ease: [{ ease: [
921
- "linear",
922
- "in",
923
- "out",
924
- "in-out",
925
- L
926
- ] }],
927
- delay: [{ delay: H() }],
928
- animate: [{ animate: [
929
- "none",
930
- "spin",
931
- "ping",
932
- "pulse",
933
- "bounce",
934
- L
935
- ] }],
936
- transform: [{ transform: [
937
- "",
938
- "gpu",
939
- "none"
940
- ] }],
941
- scale: [{ scale: [b] }],
942
- "scale-x": [{ "scale-x": [b] }],
943
- "scale-y": [{ "scale-y": [b] }],
944
- rotate: [{ rotate: [ne, L] }],
945
- "translate-x": [{ "translate-x": [C] }],
946
- "translate-y": [{ "translate-y": [C] }],
947
- "skew-x": [{ "skew-x": [x] }],
948
- "skew-y": [{ "skew-y": [x] }],
949
- "transform-origin": [{ origin: [
950
- "center",
951
- "top",
952
- "top-right",
953
- "right",
954
- "bottom-right",
955
- "bottom",
956
- "bottom-left",
957
- "left",
958
- "top-left",
959
- L
960
- ] }],
961
- accent: [{ accent: ["auto", e] }],
962
- appearance: [{ appearance: ["none", "auto"] }],
963
- cursor: [{ cursor: [
964
- "auto",
965
- "default",
966
- "pointer",
967
- "wait",
968
- "text",
969
- "move",
970
- "help",
971
- "not-allowed",
972
- "none",
973
- "context-menu",
974
- "progress",
975
- "cell",
976
- "crosshair",
977
- "vertical-text",
978
- "alias",
979
- "copy",
980
- "no-drop",
981
- "grab",
982
- "grabbing",
983
- "all-scroll",
984
- "col-resize",
985
- "row-resize",
986
- "n-resize",
987
- "e-resize",
988
- "s-resize",
989
- "w-resize",
990
- "ne-resize",
991
- "nw-resize",
992
- "se-resize",
993
- "sw-resize",
994
- "ew-resize",
995
- "ns-resize",
996
- "nesw-resize",
997
- "nwse-resize",
998
- "zoom-in",
999
- "zoom-out",
1000
- L
1001
- ] }],
1002
- "caret-color": [{ caret: [e] }],
1003
- "pointer-events": [{ "pointer-events": ["none", "auto"] }],
1004
- resize: [{ resize: [
1005
- "none",
1006
- "y",
1007
- "x",
1008
- ""
1009
- ] }],
1010
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
1011
- "scroll-m": [{ "scroll-m": O() }],
1012
- "scroll-mx": [{ "scroll-mx": O() }],
1013
- "scroll-my": [{ "scroll-my": O() }],
1014
- "scroll-ms": [{ "scroll-ms": O() }],
1015
- "scroll-me": [{ "scroll-me": O() }],
1016
- "scroll-mt": [{ "scroll-mt": O() }],
1017
- "scroll-mr": [{ "scroll-mr": O() }],
1018
- "scroll-mb": [{ "scroll-mb": O() }],
1019
- "scroll-ml": [{ "scroll-ml": O() }],
1020
- "scroll-p": [{ "scroll-p": O() }],
1021
- "scroll-px": [{ "scroll-px": O() }],
1022
- "scroll-py": [{ "scroll-py": O() }],
1023
- "scroll-ps": [{ "scroll-ps": O() }],
1024
- "scroll-pe": [{ "scroll-pe": O() }],
1025
- "scroll-pt": [{ "scroll-pt": O() }],
1026
- "scroll-pr": [{ "scroll-pr": O() }],
1027
- "scroll-pb": [{ "scroll-pb": O() }],
1028
- "scroll-pl": [{ "scroll-pl": O() }],
1029
- "snap-align": [{ snap: [
1030
- "start",
1031
- "end",
1032
- "center",
1033
- "align-none"
1034
- ] }],
1035
- "snap-stop": [{ snap: ["normal", "always"] }],
1036
- "snap-type": [{ snap: [
1037
- "none",
1038
- "x",
1039
- "y",
1040
- "both"
1041
- ] }],
1042
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
1043
- touch: [{ touch: [
1044
- "auto",
1045
- "none",
1046
- "manipulation"
1047
- ] }],
1048
- "touch-x": [{ "touch-pan": [
1049
- "x",
1050
- "left",
1051
- "right"
1052
- ] }],
1053
- "touch-y": [{ "touch-pan": [
1054
- "y",
1055
- "up",
1056
- "down"
1057
- ] }],
1058
- "touch-pz": ["touch-pinch-zoom"],
1059
- select: [{ select: [
1060
- "none",
1061
- "text",
1062
- "all",
1063
- "auto"
1064
- ] }],
1065
- "will-change": [{ "will-change": [
1066
- "auto",
1067
- "scroll",
1068
- "contents",
1069
- "transform",
1070
- L
1071
- ] }],
1072
- fill: [{ fill: [e, "none"] }],
1073
- "stroke-w": [{ stroke: [
1074
- P,
1075
- F,
1076
- te
1077
- ] }],
1078
- stroke: [{ stroke: [e, "none"] }],
1079
- sr: ["sr-only", "not-sr-only"],
1080
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
1081
- },
1082
- conflictingClassGroups: {
1083
- overflow: ["overflow-x", "overflow-y"],
1084
- overscroll: ["overscroll-x", "overscroll-y"],
1085
- inset: [
1086
- "inset-x",
1087
- "inset-y",
1088
- "start",
1089
- "end",
1090
- "top",
1091
- "right",
1092
- "bottom",
1093
- "left"
1094
- ],
1095
- "inset-x": ["right", "left"],
1096
- "inset-y": ["top", "bottom"],
1097
- flex: [
1098
- "basis",
1099
- "grow",
1100
- "shrink"
1101
- ],
1102
- gap: ["gap-x", "gap-y"],
1103
- p: [
1104
- "px",
1105
- "py",
1106
- "ps",
1107
- "pe",
1108
- "pt",
1109
- "pr",
1110
- "pb",
1111
- "pl"
1112
- ],
1113
- px: ["pr", "pl"],
1114
- py: ["pt", "pb"],
1115
- m: [
1116
- "mx",
1117
- "my",
1118
- "ms",
1119
- "me",
1120
- "mt",
1121
- "mr",
1122
- "mb",
1123
- "ml"
1124
- ],
1125
- mx: ["mr", "ml"],
1126
- my: ["mt", "mb"],
1127
- size: ["w", "h"],
1128
- "font-size": ["leading"],
1129
- "fvn-normal": [
1130
- "fvn-ordinal",
1131
- "fvn-slashed-zero",
1132
- "fvn-figure",
1133
- "fvn-spacing",
1134
- "fvn-fraction"
1135
- ],
1136
- "fvn-ordinal": ["fvn-normal"],
1137
- "fvn-slashed-zero": ["fvn-normal"],
1138
- "fvn-figure": ["fvn-normal"],
1139
- "fvn-spacing": ["fvn-normal"],
1140
- "fvn-fraction": ["fvn-normal"],
1141
- "line-clamp": ["display", "overflow"],
1142
- rounded: [
1143
- "rounded-s",
1144
- "rounded-e",
1145
- "rounded-t",
1146
- "rounded-r",
1147
- "rounded-b",
1148
- "rounded-l",
1149
- "rounded-ss",
1150
- "rounded-se",
1151
- "rounded-ee",
1152
- "rounded-es",
1153
- "rounded-tl",
1154
- "rounded-tr",
1155
- "rounded-br",
1156
- "rounded-bl"
1157
- ],
1158
- "rounded-s": ["rounded-ss", "rounded-es"],
1159
- "rounded-e": ["rounded-se", "rounded-ee"],
1160
- "rounded-t": ["rounded-tl", "rounded-tr"],
1161
- "rounded-r": ["rounded-tr", "rounded-br"],
1162
- "rounded-b": ["rounded-br", "rounded-bl"],
1163
- "rounded-l": ["rounded-tl", "rounded-bl"],
1164
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
1165
- "border-w": [
1166
- "border-w-s",
1167
- "border-w-e",
1168
- "border-w-t",
1169
- "border-w-r",
1170
- "border-w-b",
1171
- "border-w-l"
1172
- ],
1173
- "border-w-x": ["border-w-r", "border-w-l"],
1174
- "border-w-y": ["border-w-t", "border-w-b"],
1175
- "border-color": [
1176
- "border-color-s",
1177
- "border-color-e",
1178
- "border-color-t",
1179
- "border-color-r",
1180
- "border-color-b",
1181
- "border-color-l"
1182
- ],
1183
- "border-color-x": ["border-color-r", "border-color-l"],
1184
- "border-color-y": ["border-color-t", "border-color-b"],
1185
- "scroll-m": [
1186
- "scroll-mx",
1187
- "scroll-my",
1188
- "scroll-ms",
1189
- "scroll-me",
1190
- "scroll-mt",
1191
- "scroll-mr",
1192
- "scroll-mb",
1193
- "scroll-ml"
1194
- ],
1195
- "scroll-mx": ["scroll-mr", "scroll-ml"],
1196
- "scroll-my": ["scroll-mt", "scroll-mb"],
1197
- "scroll-p": [
1198
- "scroll-px",
1199
- "scroll-py",
1200
- "scroll-ps",
1201
- "scroll-pe",
1202
- "scroll-pt",
1203
- "scroll-pr",
1204
- "scroll-pb",
1205
- "scroll-pl"
1206
- ],
1207
- "scroll-px": ["scroll-pr", "scroll-pl"],
1208
- "scroll-py": ["scroll-pt", "scroll-pb"],
1209
- touch: [
1210
- "touch-x",
1211
- "touch-y",
1212
- "touch-pz"
1213
- ],
1214
- "touch-x": ["touch"],
1215
- "touch-y": ["touch"],
1216
- "touch-pz": ["touch"]
1217
- },
1218
- conflictingClassGroupModifiers: { "font-size": ["leading"] }
1219
- };
1220
- }), pe = {
1221
- "account-balanced": ["24", "24"],
1222
- "address-book": ["24", "24"],
1223
- ai: ["24", "24"],
1224
- "alarm-clock": ["24", "24"],
1225
- alert: ["24", "24"],
1226
- app: ["24", "24"],
1227
- apple: ["24", "24"],
1228
- armchair: ["24", "24"],
1229
- "arrow-down": ["24", "24"],
1230
- "arrow-left": ["24", "24"],
1231
- "arrow-right": ["24", "24"],
1232
- "arrow-up": ["24", "24"],
1233
- back: ["24", "24"],
1234
- bell: ["24", "24"],
1235
- bra: ["24", "24"],
1236
- briefcase: ["24", "24"],
1237
- "cake-piece-full": ["24", "24"],
1238
- "cake-piece": ["24", "24"],
1239
- calendar: ["24", "24"],
1240
- cart: ["24", "24"],
1241
- catalog: ["24", "24"],
1242
- chat: ["24", "24"],
1243
- "check-bold": ["24", "24"],
1244
- check: ["24", "24"],
1245
- child: ["24", "24"],
1246
- closer: ["24", "24"],
1247
- "clothing-basic": ["24", "24"],
1248
- "clothing-blazer": ["24", "24"],
1249
- "clothing-blouse": ["24", "24"],
1250
- "clothing-dress": ["24", "24"],
1251
- "clothing-homewear": ["24", "24"],
1252
- clothing: ["24", "24"],
1253
- "clothing-jacket": ["24", "24"],
1254
- "clothing-jeans": ["24", "24"],
1255
- "clothing-jumpsuit": ["24", "24"],
1256
- "clothing-knitwear": ["24", "24"],
1257
- "clothing-maternity-wear": ["24", "24"],
1258
- "clothing-party-wear": ["24", "24"],
1259
- "clothing-set": ["24", "24"],
1260
- "clothing-shirt": ["24", "24"],
1261
- "clothing-shorts": ["24", "24"],
1262
- "clothing-size": ["24", "24"],
1263
- "clothing-skirt": ["24", "24"],
1264
- "clothing-sport": ["24", "24"],
1265
- "clothing-sweater": ["24", "24"],
1266
- "clothing-sweatshirt": ["24", "24"],
1267
- "clothing-trousers": ["24", "24"],
1268
- communication: ["24", "24"],
1269
- connection: ["24", "24"],
1270
- "control-panel": ["24", "24"],
1271
- cookie: ["24", "24"],
1272
- copy: ["24", "24"],
1273
- "credit-card": ["24", "24"],
1274
- crown: ["24", "24"],
1275
- culture: ["24", "24"],
1276
- "curtain-almost-dark": ["24", "24"],
1277
- "curtain-dark": ["24", "24"],
1278
- "curtain-opaque": ["24", "24"],
1279
- "curtain-semi-transparent": ["24", "24"],
1280
- "curtain-transparent": ["24", "24"],
1281
- customer: ["24", "24"],
1282
- delivery: ["24", "24"],
1283
- denied: ["24", "24"],
1284
- desktop: ["24", "24"],
1285
- diamond: ["24", "24"],
1286
- discount: ["24", "24"],
1287
- dots: ["24", "24"],
1288
- download: ["24", "24"],
1289
- edit: ["24", "24"],
1290
- education: ["24", "24"],
1291
- email: ["24", "24"],
1292
- error: ["24", "24"],
1293
- exchange: ["24", "24"],
1294
- family: ["24", "24"],
1295
- faq: ["24", "24"],
1296
- "fast-delivery": ["24", "24"],
1297
- "feedback-negative": ["24", "24"],
1298
- "feedback-positive": ["24", "24"],
1299
- "first-aid": ["24", "24"],
1300
- fitness: ["24", "24"],
1301
- "fossil-fuel": ["24", "24"],
1302
- "free-delivery": ["24", "24"],
1303
- friendship: ["24", "24"],
1304
- giftbox: ["24", "24"],
1305
- "global-warming": ["24", "24"],
1306
- globe: ["24", "24"],
1307
- glossary: ["24", "24"],
1308
- handshake: ["24", "24"],
1309
- hanger: ["24", "24"],
1310
- hashtag: ["24", "24"],
1311
- health: ["24", "24"],
1312
- "heart-eyes-emoji": ["24", "24"],
1313
- "heart-full": ["24", "24"],
1314
- heart: ["24", "24"],
1315
- help: ["24", "24"],
1316
- hint: ["24", "24"],
1317
- home: ["24", "24"],
1318
- home2: ["24", "24"],
1319
- "image-placeholder": ["24", "24"],
1320
- info: ["24", "24"],
1321
- invoice: ["24", "24"],
1322
- "light-bulb-heart": ["24", "24"],
1323
- "light-bulb": ["24", "24"],
1324
- lightning: ["24", "24"],
1325
- location: ["24", "24"],
1326
- locations: ["24", "24"],
1327
- lock: ["24", "24"],
1328
- "lock-open": ["24", "24"],
1329
- "logged-in": ["24", "24"],
1330
- logout: ["24", "24"],
1331
- mail: ["24", "24"],
1332
- menu: ["24", "24"],
1333
- minus: ["24", "24"],
1334
- newsletter: ["24", "24"],
1335
- "not-yet-available": ["24", "24"],
1336
- order: ["24", "24"],
1337
- order2: ["24", "24"],
1338
- "out-of-stock": ["24", "24"],
1339
- pause: ["24", "24"],
1340
- "personal-data": ["24", "24"],
1341
- phone: ["24", "24"],
1342
- pin: ["24", "24"],
1343
- "pinch-zoom": ["24", "24"],
1344
- plane: ["24", "24"],
1345
- play: ["24", "24"],
1346
- plus: ["24", "24"],
1347
- prepaid: ["24", "24"],
1348
- print: ["24", "24"],
1349
- process: ["24", "24"],
1350
- "production-site": ["24", "24"],
1351
- puzzle: ["24", "24"],
1352
- "qr-code": ["24", "24"],
1353
- quality: ["24", "24"],
1354
- question: ["24", "24"],
1355
- radio: ["24", "24"],
1356
- "recently-viewed": ["24", "24"],
1357
- recycling: ["24", "24"],
1358
- religion: ["24", "24"],
1359
- return: ["24", "24"],
1360
- "review-full": ["24", "24"],
1361
- review: ["24", "24"],
1362
- rocket: ["24", "24"],
1363
- roots: ["24", "24"],
1364
- "saved-money": ["24", "24"],
1365
- scale: ["24", "24"],
1366
- "search-categories": ["24", "24"],
1367
- "search-form-arrow": ["24", "24"],
1368
- search: ["24", "24"],
1369
- sepa: ["24", "24"],
1370
- service: ["24", "24"],
1371
- share: ["24", "24"],
1372
- shoe: ["24", "24"],
1373
- "shopping-bag": ["24", "24"],
1374
- signpost: ["24", "24"],
1375
- "signpost-single": ["24", "24"],
1376
- "similar-products": ["24", "24"],
1377
- size: ["24", "24"],
1378
- social: ["24", "24"],
1379
- "sold-out": ["24", "24"],
1380
- sort: ["24", "24"],
1381
- spark: ["24", "24"],
1382
- store: ["24", "24"],
1383
- success: ["24", "24"],
1384
- suitcase: ["24", "24"],
1385
- "sustainable-animal-welfare": ["24", "24"],
1386
- "sustainable-energy-efficient": ["24", "24"],
1387
- "sustainable-natural-cosmetics": ["24", "24"],
1388
- "sustainable-organic-materials": ["24", "24"],
1389
- "sustainable-production": ["24", "24"],
1390
- "sustainable-recyclable-design": ["24", "24"],
1391
- "sustainable-recycling": ["24", "24"],
1392
- "sustainable-resource": ["24", "24"],
1393
- "sustainable-social-initiatives": ["24", "24"],
1394
- swords: ["24", "24"],
1395
- tablet: ["24", "24"],
1396
- teacup: ["24", "24"],
1397
- "thumb-down-full": ["24", "24"],
1398
- "thumb-down": ["24", "24"],
1399
- "thumb-up-full": ["24", "24"],
1400
- "thumb-up": ["24", "24"],
1401
- "trash-bin": ["24", "24"],
1402
- tv: ["24", "24"],
1403
- user: ["24", "24"],
1404
- visibility: ["24", "24"],
1405
- "visibility-off": ["24", "24"],
1406
- voucher: ["24", "24"],
1407
- wallet: ["24", "24"],
1408
- "water-pollution": ["24", "24"],
1409
- "water-usage": ["24", "24"],
1410
- "whatsapp-bell": ["24", "24"],
1411
- "whatsapp-phone": ["24", "24"],
1412
- "zoom-in": ["24", "24"],
1413
- "zoom-out": ["24", "24"]
1414
- }, me = ({ variant: t, className: n }) => {
1415
- let { iconSprite: r } = e(), a = "fill-clr-primary";
1416
- t.startsWith("sustainable-") && (a = "fill-clr-sustainable");
1417
- let o = fe("shrink-0 w-6 h-6", a, n), [s, c] = pe[t];
1418
- return /* @__PURE__ */ i("svg", {
1419
- className: o,
1420
- "aria-hidden": "true",
1421
- "data-bpds": "icon",
1422
- "data-bpds-variant": t,
1423
- style: { aspectRatio: `${s} / ${c}` },
1424
- children: /* @__PURE__ */ i("use", { href: `${r}#${t}-icon` })
1425
- });
1426
- }, he = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, U = (e) => !e || typeof e != "object" || Object.keys(e).length === 0, ge = (e, t) => JSON.stringify(e) === JSON.stringify(t);
1427
- function _e(e, t) {
1428
- e.forEach(function(e) {
1429
- Array.isArray(e) ? _e(e, t) : t.push(e);
1430
- });
1431
- }
1432
- function ve(e) {
1433
- let t = [];
1434
- return _e(e, t), t;
1435
- }
1436
- var ye = (...e) => ve(e).filter(Boolean), be = (e, t) => {
1437
- let n = {}, r = Object.keys(e), i = Object.keys(t);
1438
- for (let a of r) if (i.includes(a)) {
1439
- let r = e[a], i = t[a];
1440
- Array.isArray(r) || Array.isArray(i) ? n[a] = ye(i, r) : typeof r == "object" && typeof i == "object" ? n[a] = be(r, i) : n[a] = i + " " + r;
1441
- } else n[a] = e[a];
1442
- for (let e of i) r.includes(e) || (n[e] = t[e]);
1443
- return n;
1444
- }, xe = (e) => !e || typeof e != "string" ? e : e.replace(/\s+/g, " ").trim(), Se = "-", Ce = (e) => {
1445
- let t = De(e), { conflictingClassGroups: n, conflictingClassGroupModifiers: r } = e;
1446
- return {
1447
- getClassGroupId: (e) => {
1448
- let n = e.split(Se);
1449
- return n[0] === "" && n.length !== 1 && n.shift(), we(n, t) || Ee(e);
1450
- },
1451
- getConflictingClassGroupIds: (e, t) => {
1452
- let i = n[e] || [];
1453
- return t && r[e] ? [...i, ...r[e]] : i;
1454
- }
1455
- };
1456
- }, we = (e, t) => {
1457
- if (e.length === 0) return t.classGroupId;
1458
- let n = e[0], r = t.nextPart.get(n), i = r ? we(e.slice(1), r) : void 0;
1459
- if (i) return i;
1460
- if (t.validators.length === 0) return;
1461
- let a = e.join(Se);
1462
- return t.validators.find(({ validator: e }) => e(a))?.classGroupId;
1463
- }, Te = /^\[(.+)\]$/, Ee = (e) => {
1464
- if (Te.test(e)) {
1465
- let t = Te.exec(e)[1], n = t?.substring(0, t.indexOf(":"));
1466
- if (n) return "arbitrary.." + n;
1467
- }
1468
- }, De = (e) => {
1469
- let { theme: t, prefix: n } = e, r = {
1470
- nextPart: /* @__PURE__ */ new Map(),
1471
- validators: []
1472
- };
1473
- return je(Object.entries(e.classGroups), n).forEach(([e, n]) => {
1474
- Oe(n, r, e, t);
1475
- }), r;
1476
- }, Oe = (e, t, n, r) => {
1477
- e.forEach((e) => {
1478
- if (typeof e == "string") {
1479
- let r = e === "" ? t : ke(t, e);
1480
- r.classGroupId = n;
1481
- return;
1482
- }
1483
- if (typeof e == "function") {
1484
- if (Ae(e)) {
1485
- Oe(e(r), t, n, r);
1486
- return;
1487
- }
1488
- t.validators.push({
1489
- validator: e,
1490
- classGroupId: n
1491
- });
1492
- return;
1493
- }
1494
- Object.entries(e).forEach(([e, i]) => {
1495
- Oe(i, ke(t, e), n, r);
1496
- });
1497
- });
1498
- }, ke = (e, t) => {
1499
- let n = e;
1500
- return t.split(Se).forEach((e) => {
1501
- n.nextPart.has(e) || n.nextPart.set(e, {
1502
- nextPart: /* @__PURE__ */ new Map(),
1503
- validators: []
1504
- }), n = n.nextPart.get(e);
1505
- }), n;
1506
- }, Ae = (e) => e.isThemeGetter, je = (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, Me = (e) => {
1507
- if (e < 1) return {
1508
- get: () => void 0,
1509
- set: () => {}
1510
- };
1511
- let t = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (i, a) => {
1512
- n.set(i, a), t++, t > e && (t = 0, r = n, n = /* @__PURE__ */ new Map());
1513
- };
1514
- return {
1515
- get(e) {
1516
- let t = n.get(e);
1517
- if (t !== void 0) return t;
1518
- if ((t = r.get(e)) !== void 0) return i(e, t), t;
1519
- },
1520
- set(e, t) {
1521
- n.has(e) ? n.set(e, t) : i(e, t);
1522
- }
1523
- };
1524
- }, Ne = "!", Pe = (e) => {
1525
- let { separator: t, experimentalParseClassName: n } = e, r = t.length === 1, i = t[0], a = t.length, o = (e) => {
1526
- let n = [], o = 0, s = 0, c;
1527
- for (let l = 0; l < e.length; l++) {
1528
- let u = e[l];
1529
- if (o === 0) {
1530
- if (u === i && (r || e.slice(l, l + a) === t)) {
1531
- n.push(e.slice(s, l)), s = l + a;
1532
- continue;
1533
- }
1534
- if (u === "/") {
1535
- c = l;
1536
- continue;
1537
- }
1538
- }
1539
- u === "[" ? o++ : u === "]" && o--;
1540
- }
1541
- let l = n.length === 0 ? e : e.substring(s), u = l.startsWith(Ne);
1542
- return {
1543
- modifiers: n,
1544
- hasImportantModifier: u,
1545
- baseClassName: u ? l.substring(1) : l,
1546
- maybePostfixModifierPosition: c && c > s ? c - s : void 0
1547
- };
1548
- };
1549
- return n ? (e) => n({
1550
- className: e,
1551
- parseClassName: o
1552
- }) : o;
1553
- }, Fe = (e) => {
1554
- if (e.length <= 1) return e;
1555
- let t = [], n = [];
1556
- return e.forEach((e) => {
1557
- e[0] === "[" ? (t.push(...n.sort(), e), n = []) : n.push(e);
1558
- }), t.push(...n.sort()), t;
1559
- }, Ie = (e) => ({
1560
- cache: Me(e.cacheSize),
1561
- parseClassName: Pe(e),
1562
- ...Ce(e)
1563
- }), Le = /\s+/, Re = (e, t) => {
1564
- let { parseClassName: n, getClassGroupId: r, getConflictingClassGroupIds: i } = t, a = [], o = e.trim().split(Le), s = "";
1565
- for (let e = o.length - 1; e >= 0; --e) {
1566
- let t = o[e], { modifiers: c, hasImportantModifier: l, baseClassName: u, maybePostfixModifierPosition: d } = n(t), f = !!d, p = r(f ? u.substring(0, d) : u);
1567
- if (!p) {
1568
- if (!f) {
1569
- s = t + (s.length > 0 ? " " + s : s);
1570
- continue;
1571
- }
1572
- if (p = r(u), !p) {
1573
- s = t + (s.length > 0 ? " " + s : s);
1574
- continue;
1575
- }
1576
- f = !1;
1577
- }
1578
- let m = Fe(c).join(":"), h = l ? m + Ne : m, g = h + p;
1579
- if (a.includes(g)) continue;
1580
- a.push(g);
1581
- let _ = i(p, f);
1582
- for (let e = 0; e < _.length; ++e) {
1583
- let t = _[e];
1584
- a.push(h + t);
1585
- }
1586
- s = t + (s.length > 0 ? " " + s : s);
1587
- }
1588
- return s;
1589
- };
1590
- function ze() {
1591
- let e = 0, t, n, r = "";
1592
- for (; e < arguments.length;) (t = arguments[e++]) && (n = Be(t)) && (r && (r += " "), r += n);
1593
- return r;
1594
- }
1595
- var Be = (e) => {
1596
- if (typeof e == "string") return e;
1597
- let t, n = "";
1598
- for (let r = 0; r < e.length; r++) e[r] && (t = Be(e[r])) && (n && (n += " "), n += t);
1599
- return n;
1600
- };
1601
- function Ve(e, ...t) {
1602
- let n, r, i, a = o;
1603
- function o(o) {
1604
- return n = Ie(t.reduce((e, t) => t(e), e())), r = n.cache.get, i = n.cache.set, a = s, s(o);
1605
- }
1606
- function s(e) {
1607
- let t = r(e);
1608
- if (t) return t;
1609
- let a = Re(e, n);
1610
- return i(e, a), a;
1611
- }
1612
- return function() {
1613
- return a(ze.apply(null, arguments));
1614
- };
1615
- }
1616
- var W = (e) => {
1617
- let t = (t) => t[e] || [];
1618
- return t.isThemeGetter = !0, t;
1619
- }, He = /^\[(?:([a-z-]+):)?(.+)\]$/i, Ue = /^\d+\/\d+$/, We = /*#__PURE__*/ new Set([
1620
- "px",
1621
- "full",
1622
- "screen"
1623
- ]), Ge = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Ke = /\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$/, qe = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Je = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ye = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, G = (e) => q(e) || We.has(e) || Ue.test(e), K = (e) => Q(e, "length", it), q = (e) => !!e && !Number.isNaN(Number(e)), Xe = (e) => Q(e, "number", q), J = (e) => !!e && Number.isInteger(Number(e)), Ze = (e) => e.endsWith("%") && q(e.slice(0, -1)), Y = (e) => He.test(e), X = (e) => Ge.test(e), Qe = /*#__PURE__*/ new Set([
1624
- "length",
1625
- "size",
1626
- "percentage"
1627
- ]), $e = (e) => Q(e, Qe, at), et = (e) => Q(e, "position", at), tt = /*#__PURE__*/ new Set(["image", "url"]), nt = (e) => Q(e, tt, st), rt = (e) => Q(e, "", ot), Z = () => !0, Q = (e, t, n) => {
1628
- let r = He.exec(e);
1629
- return r ? r[1] ? typeof t == "string" ? r[1] === t : t.has(r[1]) : n(r[2]) : !1;
1630
- }, it = (e) => Ke.test(e) && !qe.test(e), at = () => !1, ot = (e) => Je.test(e), st = (e) => Ye.test(e), ct = () => {
1631
- let e = W("colors"), t = W("spacing"), n = W("blur"), r = W("brightness"), i = W("borderColor"), a = W("borderRadius"), o = W("borderSpacing"), s = W("borderWidth"), c = W("contrast"), l = W("grayscale"), u = W("hueRotate"), d = W("invert"), f = W("gap"), p = W("gradientColorStops"), m = W("gradientColorStopPositions"), h = W("inset"), g = W("margin"), _ = W("opacity"), v = W("padding"), y = W("saturate"), b = W("scale"), ee = W("sepia"), x = W("skew"), S = W("space"), C = W("translate"), w = () => [
1632
- "auto",
1633
- "contain",
1634
- "none"
1635
- ], T = () => [
1636
- "auto",
1637
- "hidden",
1638
- "clip",
1639
- "visible",
1640
- "scroll"
1641
- ], E = () => [
1642
- "auto",
1643
- Y,
1644
- t
1645
- ], D = () => [Y, t], O = () => [
1646
- "",
1647
- G,
1648
- K
1649
- ], k = () => [
1650
- "auto",
1651
- q,
1652
- Y
1653
- ], A = () => [
1654
- "bottom",
1655
- "center",
1656
- "left",
1657
- "left-bottom",
1658
- "left-top",
1659
- "right",
1660
- "right-bottom",
1661
- "right-top",
1662
- "top"
1663
- ], j = () => [
1664
- "solid",
1665
- "dashed",
1666
- "dotted",
1667
- "double",
1668
- "none"
1669
- ], M = () => [
1670
- "normal",
1671
- "multiply",
1672
- "screen",
1673
- "overlay",
1674
- "darken",
1675
- "lighten",
1676
- "color-dodge",
1677
- "color-burn",
1678
- "hard-light",
1679
- "soft-light",
1680
- "difference",
1681
- "exclusion",
1682
- "hue",
1683
- "saturation",
1684
- "color",
1685
- "luminosity"
1686
- ], N = () => [
1687
- "start",
1688
- "end",
1689
- "center",
1690
- "between",
1691
- "around",
1692
- "evenly",
1693
- "stretch"
1694
- ], P = () => [
1695
- "",
1696
- "0",
1697
- Y
1698
- ], F = () => [
1699
- "auto",
1700
- "avoid",
1701
- "all",
1702
- "avoid-page",
1703
- "page",
1704
- "left",
1705
- "right",
1706
- "column"
1707
- ], I = () => [q, Y];
1708
- return {
1709
- cacheSize: 500,
1710
- separator: ":",
1711
- theme: {
1712
- colors: [Z],
1713
- spacing: [G, K],
1714
- blur: [
1715
- "none",
1716
- "",
1717
- X,
1718
- Y
1719
- ],
1720
- brightness: I(),
1721
- borderColor: [e],
1722
- borderRadius: [
1723
- "none",
1724
- "",
1725
- "full",
1726
- X,
1727
- Y
1728
- ],
1729
- borderSpacing: D(),
1730
- borderWidth: O(),
1731
- contrast: I(),
1732
- grayscale: P(),
1733
- hueRotate: I(),
1734
- invert: P(),
1735
- gap: D(),
1736
- gradientColorStops: [e],
1737
- gradientColorStopPositions: [Ze, K],
1738
- inset: E(),
1739
- margin: E(),
1740
- opacity: I(),
1741
- padding: D(),
1742
- saturate: I(),
1743
- scale: I(),
1744
- sepia: P(),
1745
- skew: I(),
1746
- space: D(),
1747
- translate: D()
1748
- },
1749
- classGroups: {
1750
- aspect: [{ aspect: [
1751
- "auto",
1752
- "square",
1753
- "video",
1754
- Y
1755
- ] }],
1756
- container: ["container"],
1757
- columns: [{ columns: [X] }],
1758
- "break-after": [{ "break-after": F() }],
1759
- "break-before": [{ "break-before": F() }],
1760
- "break-inside": [{ "break-inside": [
1761
- "auto",
1762
- "avoid",
1763
- "avoid-page",
1764
- "avoid-column"
1765
- ] }],
1766
- "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
1767
- box: [{ box: ["border", "content"] }],
1768
- display: [
1769
- "block",
1770
- "inline-block",
1771
- "inline",
1772
- "flex",
1773
- "inline-flex",
1774
- "table",
1775
- "inline-table",
1776
- "table-caption",
1777
- "table-cell",
1778
- "table-column",
1779
- "table-column-group",
1780
- "table-footer-group",
1781
- "table-header-group",
1782
- "table-row-group",
1783
- "table-row",
1784
- "flow-root",
1785
- "grid",
1786
- "inline-grid",
1787
- "contents",
1788
- "list-item",
1789
- "hidden"
1790
- ],
1791
- float: [{ float: [
1792
- "right",
1793
- "left",
1794
- "none",
1795
- "start",
1796
- "end"
1797
- ] }],
1798
- clear: [{ clear: [
1799
- "left",
1800
- "right",
1801
- "both",
1802
- "none",
1803
- "start",
1804
- "end"
1805
- ] }],
1806
- isolation: ["isolate", "isolation-auto"],
1807
- "object-fit": [{ object: [
1808
- "contain",
1809
- "cover",
1810
- "fill",
1811
- "none",
1812
- "scale-down"
1813
- ] }],
1814
- "object-position": [{ object: [...A(), Y] }],
1815
- overflow: [{ overflow: T() }],
1816
- "overflow-x": [{ "overflow-x": T() }],
1817
- "overflow-y": [{ "overflow-y": T() }],
1818
- overscroll: [{ overscroll: w() }],
1819
- "overscroll-x": [{ "overscroll-x": w() }],
1820
- "overscroll-y": [{ "overscroll-y": w() }],
1821
- position: [
1822
- "static",
1823
- "fixed",
1824
- "absolute",
1825
- "relative",
1826
- "sticky"
1827
- ],
1828
- inset: [{ inset: [h] }],
1829
- "inset-x": [{ "inset-x": [h] }],
1830
- "inset-y": [{ "inset-y": [h] }],
1831
- start: [{ start: [h] }],
1832
- end: [{ end: [h] }],
1833
- top: [{ top: [h] }],
1834
- right: [{ right: [h] }],
1835
- bottom: [{ bottom: [h] }],
1836
- left: [{ left: [h] }],
1837
- visibility: [
1838
- "visible",
1839
- "invisible",
1840
- "collapse"
1841
- ],
1842
- z: [{ z: [
1843
- "auto",
1844
- J,
1845
- Y
1846
- ] }],
1847
- basis: [{ basis: E() }],
1848
- "flex-direction": [{ flex: [
1849
- "row",
1850
- "row-reverse",
1851
- "col",
1852
- "col-reverse"
1853
- ] }],
1854
- "flex-wrap": [{ flex: [
1855
- "wrap",
1856
- "wrap-reverse",
1857
- "nowrap"
1858
- ] }],
1859
- flex: [{ flex: [
1860
- "1",
1861
- "auto",
1862
- "initial",
1863
- "none",
1864
- Y
1865
- ] }],
1866
- grow: [{ grow: P() }],
1867
- shrink: [{ shrink: P() }],
1868
- order: [{ order: [
1869
- "first",
1870
- "last",
1871
- "none",
1872
- J,
1873
- Y
1874
- ] }],
1875
- "grid-cols": [{ "grid-cols": [Z] }],
1876
- "col-start-end": [{ col: [
1877
- "auto",
1878
- { span: [
1879
- "full",
1880
- J,
1881
- Y
1882
- ] },
1883
- Y
1884
- ] }],
1885
- "col-start": [{ "col-start": k() }],
1886
- "col-end": [{ "col-end": k() }],
1887
- "grid-rows": [{ "grid-rows": [Z] }],
1888
- "row-start-end": [{ row: [
1889
- "auto",
1890
- { span: [J, Y] },
1891
- Y
1892
- ] }],
1893
- "row-start": [{ "row-start": k() }],
1894
- "row-end": [{ "row-end": k() }],
1895
- "grid-flow": [{ "grid-flow": [
1896
- "row",
1897
- "col",
1898
- "dense",
1899
- "row-dense",
1900
- "col-dense"
1901
- ] }],
1902
- "auto-cols": [{ "auto-cols": [
1903
- "auto",
1904
- "min",
1905
- "max",
1906
- "fr",
1907
- Y
1908
- ] }],
1909
- "auto-rows": [{ "auto-rows": [
1910
- "auto",
1911
- "min",
1912
- "max",
1913
- "fr",
1914
- Y
1915
- ] }],
1916
- gap: [{ gap: [f] }],
1917
- "gap-x": [{ "gap-x": [f] }],
1918
- "gap-y": [{ "gap-y": [f] }],
1919
- "justify-content": [{ justify: ["normal", ...N()] }],
1920
- "justify-items": [{ "justify-items": [
1921
- "start",
1922
- "end",
1923
- "center",
1924
- "stretch"
1925
- ] }],
1926
- "justify-self": [{ "justify-self": [
1927
- "auto",
1928
- "start",
1929
- "end",
1930
- "center",
1931
- "stretch"
1932
- ] }],
1933
- "align-content": [{ content: [
1934
- "normal",
1935
- ...N(),
1936
- "baseline"
1937
- ] }],
1938
- "align-items": [{ items: [
1939
- "start",
1940
- "end",
1941
- "center",
1942
- "baseline",
1943
- "stretch"
1944
- ] }],
1945
- "align-self": [{ self: [
1946
- "auto",
1947
- "start",
1948
- "end",
1949
- "center",
1950
- "stretch",
1951
- "baseline"
1952
- ] }],
1953
- "place-content": [{ "place-content": [...N(), "baseline"] }],
1954
- "place-items": [{ "place-items": [
1955
- "start",
1956
- "end",
1957
- "center",
1958
- "baseline",
1959
- "stretch"
1960
- ] }],
1961
- "place-self": [{ "place-self": [
1962
- "auto",
1963
- "start",
1964
- "end",
1965
- "center",
1966
- "stretch"
1967
- ] }],
1968
- p: [{ p: [v] }],
1969
- px: [{ px: [v] }],
1970
- py: [{ py: [v] }],
1971
- ps: [{ ps: [v] }],
1972
- pe: [{ pe: [v] }],
1973
- pt: [{ pt: [v] }],
1974
- pr: [{ pr: [v] }],
1975
- pb: [{ pb: [v] }],
1976
- pl: [{ pl: [v] }],
1977
- m: [{ m: [g] }],
1978
- mx: [{ mx: [g] }],
1979
- my: [{ my: [g] }],
1980
- ms: [{ ms: [g] }],
1981
- me: [{ me: [g] }],
1982
- mt: [{ mt: [g] }],
1983
- mr: [{ mr: [g] }],
1984
- mb: [{ mb: [g] }],
1985
- ml: [{ ml: [g] }],
1986
- "space-x": [{ "space-x": [S] }],
1987
- "space-x-reverse": ["space-x-reverse"],
1988
- "space-y": [{ "space-y": [S] }],
1989
- "space-y-reverse": ["space-y-reverse"],
1990
- w: [{ w: [
1991
- "auto",
1992
- "min",
1993
- "max",
1994
- "fit",
1995
- "svw",
1996
- "lvw",
1997
- "dvw",
1998
- Y,
1999
- t
2000
- ] }],
2001
- "min-w": [{ "min-w": [
2002
- Y,
2003
- t,
2004
- "min",
2005
- "max",
2006
- "fit"
2007
- ] }],
2008
- "max-w": [{ "max-w": [
2009
- Y,
2010
- t,
2011
- "none",
2012
- "full",
2013
- "min",
2014
- "max",
2015
- "fit",
2016
- "prose",
2017
- { screen: [X] },
2018
- X
2019
- ] }],
2020
- h: [{ h: [
2021
- Y,
2022
- t,
2023
- "auto",
2024
- "min",
2025
- "max",
2026
- "fit",
2027
- "svh",
2028
- "lvh",
2029
- "dvh"
2030
- ] }],
2031
- "min-h": [{ "min-h": [
2032
- Y,
2033
- t,
2034
- "min",
2035
- "max",
2036
- "fit",
2037
- "svh",
2038
- "lvh",
2039
- "dvh"
2040
- ] }],
2041
- "max-h": [{ "max-h": [
2042
- Y,
2043
- t,
2044
- "min",
2045
- "max",
2046
- "fit",
2047
- "svh",
2048
- "lvh",
2049
- "dvh"
2050
- ] }],
2051
- size: [{ size: [
2052
- Y,
2053
- t,
2054
- "auto",
2055
- "min",
2056
- "max",
2057
- "fit"
2058
- ] }],
2059
- "font-size": [{ text: [
2060
- "base",
2061
- X,
2062
- K
2063
- ] }],
2064
- "font-smoothing": ["antialiased", "subpixel-antialiased"],
2065
- "font-style": ["italic", "not-italic"],
2066
- "font-weight": [{ font: [
2067
- "thin",
2068
- "extralight",
2069
- "light",
2070
- "normal",
2071
- "medium",
2072
- "semibold",
2073
- "bold",
2074
- "extrabold",
2075
- "black",
2076
- Xe
2077
- ] }],
2078
- "font-family": [{ font: [Z] }],
2079
- "fvn-normal": ["normal-nums"],
2080
- "fvn-ordinal": ["ordinal"],
2081
- "fvn-slashed-zero": ["slashed-zero"],
2082
- "fvn-figure": ["lining-nums", "oldstyle-nums"],
2083
- "fvn-spacing": ["proportional-nums", "tabular-nums"],
2084
- "fvn-fraction": ["diagonal-fractions", "stacked-fractons"],
2085
- tracking: [{ tracking: [
2086
- "tighter",
2087
- "tight",
2088
- "normal",
2089
- "wide",
2090
- "wider",
2091
- "widest",
2092
- Y
2093
- ] }],
2094
- "line-clamp": [{ "line-clamp": [
2095
- "none",
2096
- q,
2097
- Xe
2098
- ] }],
2099
- leading: [{ leading: [
2100
- "none",
2101
- "tight",
2102
- "snug",
2103
- "normal",
2104
- "relaxed",
2105
- "loose",
2106
- G,
2107
- Y
2108
- ] }],
2109
- "list-image": [{ "list-image": ["none", Y] }],
2110
- "list-style-type": [{ list: [
2111
- "none",
2112
- "disc",
2113
- "decimal",
2114
- Y
2115
- ] }],
2116
- "list-style-position": [{ list: ["inside", "outside"] }],
2117
- "placeholder-color": [{ placeholder: [e] }],
2118
- "placeholder-opacity": [{ "placeholder-opacity": [_] }],
2119
- "text-alignment": [{ text: [
2120
- "left",
2121
- "center",
2122
- "right",
2123
- "justify",
2124
- "start",
2125
- "end"
2126
- ] }],
2127
- "text-color": [{ text: [e] }],
2128
- "text-opacity": [{ "text-opacity": [_] }],
2129
- "text-decoration": [
2130
- "underline",
2131
- "overline",
2132
- "line-through",
2133
- "no-underline"
2134
- ],
2135
- "text-decoration-style": [{ decoration: [...j(), "wavy"] }],
2136
- "text-decoration-thickness": [{ decoration: [
2137
- "auto",
2138
- "from-font",
2139
- G,
2140
- K
2141
- ] }],
2142
- "underline-offset": [{ "underline-offset": [
2143
- "auto",
2144
- G,
2145
- Y
2146
- ] }],
2147
- "text-decoration-color": [{ decoration: [e] }],
2148
- "text-transform": [
2149
- "uppercase",
2150
- "lowercase",
2151
- "capitalize",
2152
- "normal-case"
2153
- ],
2154
- "text-overflow": [
2155
- "truncate",
2156
- "text-ellipsis",
2157
- "text-clip"
2158
- ],
2159
- "text-wrap": [{ text: [
2160
- "wrap",
2161
- "nowrap",
2162
- "balance",
2163
- "pretty"
2164
- ] }],
2165
- indent: [{ indent: D() }],
2166
- "vertical-align": [{ align: [
2167
- "baseline",
2168
- "top",
2169
- "middle",
2170
- "bottom",
2171
- "text-top",
2172
- "text-bottom",
2173
- "sub",
2174
- "super",
2175
- Y
2176
- ] }],
2177
- whitespace: [{ whitespace: [
2178
- "normal",
2179
- "nowrap",
2180
- "pre",
2181
- "pre-line",
2182
- "pre-wrap",
2183
- "break-spaces"
2184
- ] }],
2185
- break: [{ break: [
2186
- "normal",
2187
- "words",
2188
- "all",
2189
- "keep"
2190
- ] }],
2191
- hyphens: [{ hyphens: [
2192
- "none",
2193
- "manual",
2194
- "auto"
2195
- ] }],
2196
- content: [{ content: ["none", Y] }],
2197
- "bg-attachment": [{ bg: [
2198
- "fixed",
2199
- "local",
2200
- "scroll"
2201
- ] }],
2202
- "bg-clip": [{ "bg-clip": [
2203
- "border",
2204
- "padding",
2205
- "content",
2206
- "text"
2207
- ] }],
2208
- "bg-opacity": [{ "bg-opacity": [_] }],
2209
- "bg-origin": [{ "bg-origin": [
2210
- "border",
2211
- "padding",
2212
- "content"
2213
- ] }],
2214
- "bg-position": [{ bg: [...A(), et] }],
2215
- "bg-repeat": [{ bg: ["no-repeat", { repeat: [
2216
- "",
2217
- "x",
2218
- "y",
2219
- "round",
2220
- "space"
2221
- ] }] }],
2222
- "bg-size": [{ bg: [
2223
- "auto",
2224
- "cover",
2225
- "contain",
2226
- $e
2227
- ] }],
2228
- "bg-image": [{ bg: [
2229
- "none",
2230
- { "gradient-to": [
2231
- "t",
2232
- "tr",
2233
- "r",
2234
- "br",
2235
- "b",
2236
- "bl",
2237
- "l",
2238
- "tl"
2239
- ] },
2240
- nt
2241
- ] }],
2242
- "bg-color": [{ bg: [e] }],
2243
- "gradient-from-pos": [{ from: [m] }],
2244
- "gradient-via-pos": [{ via: [m] }],
2245
- "gradient-to-pos": [{ to: [m] }],
2246
- "gradient-from": [{ from: [p] }],
2247
- "gradient-via": [{ via: [p] }],
2248
- "gradient-to": [{ to: [p] }],
2249
- rounded: [{ rounded: [a] }],
2250
- "rounded-s": [{ "rounded-s": [a] }],
2251
- "rounded-e": [{ "rounded-e": [a] }],
2252
- "rounded-t": [{ "rounded-t": [a] }],
2253
- "rounded-r": [{ "rounded-r": [a] }],
2254
- "rounded-b": [{ "rounded-b": [a] }],
2255
- "rounded-l": [{ "rounded-l": [a] }],
2256
- "rounded-ss": [{ "rounded-ss": [a] }],
2257
- "rounded-se": [{ "rounded-se": [a] }],
2258
- "rounded-ee": [{ "rounded-ee": [a] }],
2259
- "rounded-es": [{ "rounded-es": [a] }],
2260
- "rounded-tl": [{ "rounded-tl": [a] }],
2261
- "rounded-tr": [{ "rounded-tr": [a] }],
2262
- "rounded-br": [{ "rounded-br": [a] }],
2263
- "rounded-bl": [{ "rounded-bl": [a] }],
2264
- "border-w": [{ border: [s] }],
2265
- "border-w-x": [{ "border-x": [s] }],
2266
- "border-w-y": [{ "border-y": [s] }],
2267
- "border-w-s": [{ "border-s": [s] }],
2268
- "border-w-e": [{ "border-e": [s] }],
2269
- "border-w-t": [{ "border-t": [s] }],
2270
- "border-w-r": [{ "border-r": [s] }],
2271
- "border-w-b": [{ "border-b": [s] }],
2272
- "border-w-l": [{ "border-l": [s] }],
2273
- "border-opacity": [{ "border-opacity": [_] }],
2274
- "border-style": [{ border: [...j(), "hidden"] }],
2275
- "divide-x": [{ "divide-x": [s] }],
2276
- "divide-x-reverse": ["divide-x-reverse"],
2277
- "divide-y": [{ "divide-y": [s] }],
2278
- "divide-y-reverse": ["divide-y-reverse"],
2279
- "divide-opacity": [{ "divide-opacity": [_] }],
2280
- "divide-style": [{ divide: j() }],
2281
- "border-color": [{ border: [i] }],
2282
- "border-color-x": [{ "border-x": [i] }],
2283
- "border-color-y": [{ "border-y": [i] }],
2284
- "border-color-s": [{ "border-s": [i] }],
2285
- "border-color-e": [{ "border-e": [i] }],
2286
- "border-color-t": [{ "border-t": [i] }],
2287
- "border-color-r": [{ "border-r": [i] }],
2288
- "border-color-b": [{ "border-b": [i] }],
2289
- "border-color-l": [{ "border-l": [i] }],
2290
- "divide-color": [{ divide: [i] }],
2291
- "outline-style": [{ outline: ["", ...j()] }],
2292
- "outline-offset": [{ "outline-offset": [G, Y] }],
2293
- "outline-w": [{ outline: [G, K] }],
2294
- "outline-color": [{ outline: [e] }],
2295
- "ring-w": [{ ring: O() }],
2296
- "ring-w-inset": ["ring-inset"],
2297
- "ring-color": [{ ring: [e] }],
2298
- "ring-opacity": [{ "ring-opacity": [_] }],
2299
- "ring-offset-w": [{ "ring-offset": [G, K] }],
2300
- "ring-offset-color": [{ "ring-offset": [e] }],
2301
- shadow: [{ shadow: [
2302
- "",
2303
- "inner",
2304
- "none",
2305
- X,
2306
- rt
2307
- ] }],
2308
- "shadow-color": [{ shadow: [Z] }],
2309
- opacity: [{ opacity: [_] }],
2310
- "mix-blend": [{ "mix-blend": [
2311
- ...M(),
2312
- "plus-lighter",
2313
- "plus-darker"
2314
- ] }],
2315
- "bg-blend": [{ "bg-blend": M() }],
2316
- filter: [{ filter: ["", "none"] }],
2317
- blur: [{ blur: [n] }],
2318
- brightness: [{ brightness: [r] }],
2319
- contrast: [{ contrast: [c] }],
2320
- "drop-shadow": [{ "drop-shadow": [
2321
- "",
2322
- "none",
2323
- X,
2324
- Y
2325
- ] }],
2326
- grayscale: [{ grayscale: [l] }],
2327
- "hue-rotate": [{ "hue-rotate": [u] }],
2328
- invert: [{ invert: [d] }],
2329
- saturate: [{ saturate: [y] }],
2330
- sepia: [{ sepia: [ee] }],
2331
- "backdrop-filter": [{ "backdrop-filter": ["", "none"] }],
2332
- "backdrop-blur": [{ "backdrop-blur": [n] }],
2333
- "backdrop-brightness": [{ "backdrop-brightness": [r] }],
2334
- "backdrop-contrast": [{ "backdrop-contrast": [c] }],
2335
- "backdrop-grayscale": [{ "backdrop-grayscale": [l] }],
2336
- "backdrop-hue-rotate": [{ "backdrop-hue-rotate": [u] }],
2337
- "backdrop-invert": [{ "backdrop-invert": [d] }],
2338
- "backdrop-opacity": [{ "backdrop-opacity": [_] }],
2339
- "backdrop-saturate": [{ "backdrop-saturate": [y] }],
2340
- "backdrop-sepia": [{ "backdrop-sepia": [ee] }],
2341
- "border-collapse": [{ border: ["collapse", "separate"] }],
2342
- "border-spacing": [{ "border-spacing": [o] }],
2343
- "border-spacing-x": [{ "border-spacing-x": [o] }],
2344
- "border-spacing-y": [{ "border-spacing-y": [o] }],
2345
- "table-layout": [{ table: ["auto", "fixed"] }],
2346
- caption: [{ caption: ["top", "bottom"] }],
2347
- transition: [{ transition: [
2348
- "none",
2349
- "all",
2350
- "",
2351
- "colors",
2352
- "opacity",
2353
- "shadow",
2354
- "transform",
2355
- Y
2356
- ] }],
2357
- duration: [{ duration: I() }],
2358
- ease: [{ ease: [
2359
- "linear",
2360
- "in",
2361
- "out",
2362
- "in-out",
2363
- Y
2364
- ] }],
2365
- delay: [{ delay: I() }],
2366
- animate: [{ animate: [
2367
- "none",
2368
- "spin",
2369
- "ping",
2370
- "pulse",
2371
- "bounce",
2372
- Y
2373
- ] }],
2374
- transform: [{ transform: [
2375
- "",
2376
- "gpu",
2377
- "none"
2378
- ] }],
2379
- scale: [{ scale: [b] }],
2380
- "scale-x": [{ "scale-x": [b] }],
2381
- "scale-y": [{ "scale-y": [b] }],
2382
- rotate: [{ rotate: [J, Y] }],
2383
- "translate-x": [{ "translate-x": [C] }],
2384
- "translate-y": [{ "translate-y": [C] }],
2385
- "skew-x": [{ "skew-x": [x] }],
2386
- "skew-y": [{ "skew-y": [x] }],
2387
- "transform-origin": [{ origin: [
2388
- "center",
2389
- "top",
2390
- "top-right",
2391
- "right",
2392
- "bottom-right",
2393
- "bottom",
2394
- "bottom-left",
2395
- "left",
2396
- "top-left",
2397
- Y
2398
- ] }],
2399
- accent: [{ accent: ["auto", e] }],
2400
- appearance: [{ appearance: ["none", "auto"] }],
2401
- cursor: [{ cursor: [
2402
- "auto",
2403
- "default",
2404
- "pointer",
2405
- "wait",
2406
- "text",
2407
- "move",
2408
- "help",
2409
- "not-allowed",
2410
- "none",
2411
- "context-menu",
2412
- "progress",
2413
- "cell",
2414
- "crosshair",
2415
- "vertical-text",
2416
- "alias",
2417
- "copy",
2418
- "no-drop",
2419
- "grab",
2420
- "grabbing",
2421
- "all-scroll",
2422
- "col-resize",
2423
- "row-resize",
2424
- "n-resize",
2425
- "e-resize",
2426
- "s-resize",
2427
- "w-resize",
2428
- "ne-resize",
2429
- "nw-resize",
2430
- "se-resize",
2431
- "sw-resize",
2432
- "ew-resize",
2433
- "ns-resize",
2434
- "nesw-resize",
2435
- "nwse-resize",
2436
- "zoom-in",
2437
- "zoom-out",
2438
- Y
2439
- ] }],
2440
- "caret-color": [{ caret: [e] }],
2441
- "pointer-events": [{ "pointer-events": ["none", "auto"] }],
2442
- resize: [{ resize: [
2443
- "none",
2444
- "y",
2445
- "x",
2446
- ""
2447
- ] }],
2448
- "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
2449
- "scroll-m": [{ "scroll-m": D() }],
2450
- "scroll-mx": [{ "scroll-mx": D() }],
2451
- "scroll-my": [{ "scroll-my": D() }],
2452
- "scroll-ms": [{ "scroll-ms": D() }],
2453
- "scroll-me": [{ "scroll-me": D() }],
2454
- "scroll-mt": [{ "scroll-mt": D() }],
2455
- "scroll-mr": [{ "scroll-mr": D() }],
2456
- "scroll-mb": [{ "scroll-mb": D() }],
2457
- "scroll-ml": [{ "scroll-ml": D() }],
2458
- "scroll-p": [{ "scroll-p": D() }],
2459
- "scroll-px": [{ "scroll-px": D() }],
2460
- "scroll-py": [{ "scroll-py": D() }],
2461
- "scroll-ps": [{ "scroll-ps": D() }],
2462
- "scroll-pe": [{ "scroll-pe": D() }],
2463
- "scroll-pt": [{ "scroll-pt": D() }],
2464
- "scroll-pr": [{ "scroll-pr": D() }],
2465
- "scroll-pb": [{ "scroll-pb": D() }],
2466
- "scroll-pl": [{ "scroll-pl": D() }],
2467
- "snap-align": [{ snap: [
2468
- "start",
2469
- "end",
2470
- "center",
2471
- "align-none"
2472
- ] }],
2473
- "snap-stop": [{ snap: ["normal", "always"] }],
2474
- "snap-type": [{ snap: [
2475
- "none",
2476
- "x",
2477
- "y",
2478
- "both"
2479
- ] }],
2480
- "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
2481
- touch: [{ touch: [
2482
- "auto",
2483
- "none",
2484
- "manipulation"
2485
- ] }],
2486
- "touch-x": [{ "touch-pan": [
2487
- "x",
2488
- "left",
2489
- "right"
2490
- ] }],
2491
- "touch-y": [{ "touch-pan": [
2492
- "y",
2493
- "up",
2494
- "down"
2495
- ] }],
2496
- "touch-pz": ["touch-pinch-zoom"],
2497
- select: [{ select: [
2498
- "none",
2499
- "text",
2500
- "all",
2501
- "auto"
2502
- ] }],
2503
- "will-change": [{ "will-change": [
2504
- "auto",
2505
- "scroll",
2506
- "contents",
2507
- "transform",
2508
- Y
2509
- ] }],
2510
- fill: [{ fill: [e, "none"] }],
2511
- "stroke-w": [{ stroke: [
2512
- G,
2513
- K,
2514
- Xe
2515
- ] }],
2516
- stroke: [{ stroke: [e, "none"] }],
2517
- sr: ["sr-only", "not-sr-only"],
2518
- "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
2519
- },
2520
- conflictingClassGroups: {
2521
- overflow: ["overflow-x", "overflow-y"],
2522
- overscroll: ["overscroll-x", "overscroll-y"],
2523
- inset: [
2524
- "inset-x",
2525
- "inset-y",
2526
- "start",
2527
- "end",
2528
- "top",
2529
- "right",
2530
- "bottom",
2531
- "left"
2532
- ],
2533
- "inset-x": ["right", "left"],
2534
- "inset-y": ["top", "bottom"],
2535
- flex: [
2536
- "basis",
2537
- "grow",
2538
- "shrink"
2539
- ],
2540
- gap: ["gap-x", "gap-y"],
2541
- p: [
2542
- "px",
2543
- "py",
2544
- "ps",
2545
- "pe",
2546
- "pt",
2547
- "pr",
2548
- "pb",
2549
- "pl"
2550
- ],
2551
- px: ["pr", "pl"],
2552
- py: ["pt", "pb"],
2553
- m: [
2554
- "mx",
2555
- "my",
2556
- "ms",
2557
- "me",
2558
- "mt",
2559
- "mr",
2560
- "mb",
2561
- "ml"
2562
- ],
2563
- mx: ["mr", "ml"],
2564
- my: ["mt", "mb"],
2565
- size: ["w", "h"],
2566
- "font-size": ["leading"],
2567
- "fvn-normal": [
2568
- "fvn-ordinal",
2569
- "fvn-slashed-zero",
2570
- "fvn-figure",
2571
- "fvn-spacing",
2572
- "fvn-fraction"
2573
- ],
2574
- "fvn-ordinal": ["fvn-normal"],
2575
- "fvn-slashed-zero": ["fvn-normal"],
2576
- "fvn-figure": ["fvn-normal"],
2577
- "fvn-spacing": ["fvn-normal"],
2578
- "fvn-fraction": ["fvn-normal"],
2579
- "line-clamp": ["display", "overflow"],
2580
- rounded: [
2581
- "rounded-s",
2582
- "rounded-e",
2583
- "rounded-t",
2584
- "rounded-r",
2585
- "rounded-b",
2586
- "rounded-l",
2587
- "rounded-ss",
2588
- "rounded-se",
2589
- "rounded-ee",
2590
- "rounded-es",
2591
- "rounded-tl",
2592
- "rounded-tr",
2593
- "rounded-br",
2594
- "rounded-bl"
2595
- ],
2596
- "rounded-s": ["rounded-ss", "rounded-es"],
2597
- "rounded-e": ["rounded-se", "rounded-ee"],
2598
- "rounded-t": ["rounded-tl", "rounded-tr"],
2599
- "rounded-r": ["rounded-tr", "rounded-br"],
2600
- "rounded-b": ["rounded-br", "rounded-bl"],
2601
- "rounded-l": ["rounded-tl", "rounded-bl"],
2602
- "border-spacing": ["border-spacing-x", "border-spacing-y"],
2603
- "border-w": [
2604
- "border-w-s",
2605
- "border-w-e",
2606
- "border-w-t",
2607
- "border-w-r",
2608
- "border-w-b",
2609
- "border-w-l"
2610
- ],
2611
- "border-w-x": ["border-w-r", "border-w-l"],
2612
- "border-w-y": ["border-w-t", "border-w-b"],
2613
- "border-color": [
2614
- "border-color-s",
2615
- "border-color-e",
2616
- "border-color-t",
2617
- "border-color-r",
2618
- "border-color-b",
2619
- "border-color-l"
2620
- ],
2621
- "border-color-x": ["border-color-r", "border-color-l"],
2622
- "border-color-y": ["border-color-t", "border-color-b"],
2623
- "scroll-m": [
2624
- "scroll-mx",
2625
- "scroll-my",
2626
- "scroll-ms",
2627
- "scroll-me",
2628
- "scroll-mt",
2629
- "scroll-mr",
2630
- "scroll-mb",
2631
- "scroll-ml"
2632
- ],
2633
- "scroll-mx": ["scroll-mr", "scroll-ml"],
2634
- "scroll-my": ["scroll-mt", "scroll-mb"],
2635
- "scroll-p": [
2636
- "scroll-px",
2637
- "scroll-py",
2638
- "scroll-ps",
2639
- "scroll-pe",
2640
- "scroll-pt",
2641
- "scroll-pr",
2642
- "scroll-pb",
2643
- "scroll-pl"
2644
- ],
2645
- "scroll-px": ["scroll-pr", "scroll-pl"],
2646
- "scroll-py": ["scroll-pt", "scroll-pb"],
2647
- touch: [
2648
- "touch-x",
2649
- "touch-y",
2650
- "touch-pz"
2651
- ],
2652
- "touch-x": ["touch"],
2653
- "touch-y": ["touch"],
2654
- "touch-pz": ["touch"]
2655
- },
2656
- conflictingClassGroupModifiers: { "font-size": ["leading"] }
2657
- };
2658
- }, lt = (e, { cacheSize: t, prefix: n, separator: r, experimentalParseClassName: i, extend: a = {}, override: o = {} }) => {
2659
- ut(e, "cacheSize", t), ut(e, "prefix", n), ut(e, "separator", r), ut(e, "experimentalParseClassName", i);
2660
- for (let t in o) dt(e[t], o[t]);
2661
- for (let t in a) ft(e[t], a[t]);
2662
- return e;
2663
- }, ut = (e, t, n) => {
2664
- n !== void 0 && (e[t] = n);
2665
- }, dt = (e, t) => {
2666
- if (t) for (let n in t) ut(e, n, t[n]);
2667
- }, ft = (e, t) => {
2668
- if (t) for (let n in t) {
2669
- let r = t[n];
2670
- r !== void 0 && (e[n] = (e[n] || []).concat(r));
2671
- }
2672
- }, pt = (e, ...t) => typeof e == "function" ? Ve(ct, e, ...t) : Ve(() => lt(ct(), e), ...t), mt = /*#__PURE__*/ Ve(ct), ht = {
2673
- twMerge: !0,
2674
- twMergeConfig: {},
2675
- responsiveVariants: !1
2676
- }, gt = (e) => e || void 0, _t = (...e) => gt(ve(e).filter(Boolean).join(" ")), vt = null, $ = {}, yt = !1, bt = (...e) => (t) => t.twMerge ? ((!vt || yt) && (yt = !1, vt = U($) ? mt : pt({
2677
- ...$,
2678
- extend: {
2679
- theme: $.theme,
2680
- classGroups: $.classGroups,
2681
- conflictingClassGroupModifiers: $.conflictingClassGroupModifiers,
2682
- conflictingClassGroups: $.conflictingClassGroups,
2683
- ...$.extend
2684
- }
2685
- })), gt(vt(_t(e)))) : _t(e), xt = (e, t) => {
2686
- for (let n in t) e.hasOwnProperty(n) ? e[n] = _t(e[n], t[n]) : e[n] = t[n];
2687
- return e;
2688
- }, St = ((e, t) => {
2689
- let { extend: n = null, slots: r = {}, variants: i = {}, compoundVariants: a = [], compoundSlots: o = [], defaultVariants: s = {} } = e, c = {
2690
- ...ht,
2691
- ...t
2692
- }, l = n != null && n.base ? _t(n.base, e?.base) : e?.base, u = n != null && n.variants && !U(n.variants) ? be(i, n.variants) : i, d = n != null && n.defaultVariants && !U(n.defaultVariants) ? {
2693
- ...n.defaultVariants,
2694
- ...s
2695
- } : s;
2696
- !U(c.twMergeConfig) && !ge(c.twMergeConfig, $) && (yt = !0, $ = c.twMergeConfig);
2697
- let f = U(n?.slots), p = U(r) ? {} : {
2698
- base: _t(e?.base, f && n?.base),
2699
- ...r
2700
- }, m = f ? p : xt({ ...n?.slots }, U(p) ? { base: e?.base } : p), h = U(n?.compoundVariants) ? a : ye(n?.compoundVariants, a), g = (e) => {
2701
- if (U(u) && U(r) && f) return bt(l, e?.class, e?.className)(c);
2702
- if (h && !Array.isArray(h)) throw TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof h}`);
2703
- if (o && !Array.isArray(o)) throw TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof o}`);
2704
- let t = (e, t, n = [], r) => {
2705
- let i = n;
2706
- if (typeof t == "string") i = i.concat(xe(t).split(" ").map((t) => `${e}:${t}`));
2707
- else if (Array.isArray(t)) i = i.concat(t.reduce((t, n) => t.concat(`${e}:${n}`), []));
2708
- else if (typeof t == "object" && typeof r == "string") {
2709
- for (let n in t) if (t.hasOwnProperty(n) && n === r) {
2710
- let a = t[n];
2711
- if (a && typeof a == "string") {
2712
- let t = xe(a);
2713
- i[r] ? i[r] = i[r].concat(t.split(" ").map((t) => `${e}:${t}`)) : i[r] = t.split(" ").map((t) => `${e}:${t}`);
2714
- } else Array.isArray(a) && a.length > 0 && (i[r] = a.reduce((t, n) => t.concat(`${e}:${n}`), []));
2715
- }
2716
- }
2717
- return i;
2718
- }, n = (n, r = u, i = null, a = null) => {
2719
- let o = r[n];
2720
- if (!o || U(o)) return null;
2721
- let s = a?.[n] ?? e?.[n];
2722
- if (s === null) return null;
2723
- let l = he(s), f = Array.isArray(c.responsiveVariants) && c.responsiveVariants.length > 0 || c.responsiveVariants === !0, p = d?.[n], m = [];
2724
- if (typeof l == "object" && f) for (let [e, n] of Object.entries(l)) {
2725
- let r = o[n];
2726
- if (e === "initial") {
2727
- p = n;
2728
- continue;
2729
- }
2730
- Array.isArray(c.responsiveVariants) && !c.responsiveVariants.includes(e) || (m = t(e, r, m, i));
2731
- }
2732
- let h = o[(l != null && typeof l != "object" ? l : he(p)) || "false"];
2733
- return typeof m == "object" && typeof i == "string" && m[i] ? xt(m, h) : m.length > 0 ? (m.push(h), i === "base" ? m.join(" ") : m) : h;
2734
- }, i = () => u ? Object.keys(u).map((e) => n(e, u)) : null, a = (e, t) => {
2735
- if (!u || typeof u != "object") return null;
2736
- let r = [];
2737
- for (let i in u) {
2738
- let a = n(i, u, e, t), o = e === "base" && typeof a == "string" ? a : a && a[e];
2739
- o && (r[r.length] = o);
2740
- }
2741
- return r;
2742
- }, s = {};
2743
- for (let t in e) e[t] !== void 0 && (s[t] = e[t]);
2744
- let p = (t, n) => {
2745
- let r = typeof e?.[t] == "object" ? { [t]: e[t]?.initial } : {};
2746
- return {
2747
- ...d,
2748
- ...s,
2749
- ...r,
2750
- ...n
2751
- };
2752
- }, g = (e = [], t) => {
2753
- let n = [];
2754
- for (let { class: r, className: i, ...a } of e) {
2755
- let e = !0;
2756
- for (let [n, r] of Object.entries(a)) {
2757
- let i = p(n, t)[n];
2758
- if (Array.isArray(r)) {
2759
- if (!r.includes(i)) {
2760
- e = !1;
2761
- break;
2762
- }
2763
- } else {
2764
- let t = (e) => e == null || e === !1;
2765
- if (t(r) && t(i)) continue;
2766
- if (i !== r) {
2767
- e = !1;
2768
- break;
2769
- }
2770
- }
2771
- }
2772
- e && (r && n.push(r), i && n.push(i));
2773
- }
2774
- return n;
2775
- }, _ = (e) => {
2776
- let t = g(h, e);
2777
- if (!Array.isArray(t)) return t;
2778
- let n = {};
2779
- for (let e of t) if (typeof e == "string" && (n.base = bt(n.base, e)(c)), typeof e == "object") for (let [t, r] of Object.entries(e)) n[t] = bt(n[t], r)(c);
2780
- return n;
2781
- }, v = (e) => {
2782
- if (o.length < 1) return null;
2783
- let t = {};
2784
- for (let { slots: n = [], class: r, className: i, ...a } of o) {
2785
- if (!U(a)) {
2786
- let t = !0;
2787
- for (let n of Object.keys(a)) {
2788
- let r = p(n, e)[n];
2789
- if (r === void 0 || (Array.isArray(a[n]) ? !a[n].includes(r) : a[n] !== r)) {
2790
- t = !1;
2791
- break;
2792
- }
2793
- }
2794
- if (!t) continue;
2795
- }
2796
- for (let e of n) t[e] = t[e] || [], t[e].push([r, i]);
2797
- }
2798
- return t;
2799
- };
2800
- if (!U(r) || !f) {
2801
- let e = {};
2802
- if (typeof m == "object" && !U(m)) for (let t of Object.keys(m)) e[t] = (e) => bt(m[t], a(t, e), (_(e) ?? [])[t], (v(e) ?? [])[t], e?.class, e?.className)(c);
2803
- return e;
2804
- }
2805
- return bt(l, i(), g(h), e?.class, e?.className)(c);
2806
- };
2807
- return g.variantKeys = (() => {
2808
- if (!(!u || typeof u != "object")) return Object.keys(u);
2809
- })(), g.extend = n, g.base = l, g.slots = m, g.variants = u, g.defaultVariants = d, g.compoundSlots = o, g.compoundVariants = h, g;
2810
- })({
2
+ import { useSubcomponent as e } from "@bonprix-ds/utils";
3
+ import t, { Children as n } from "react";
4
+ import r from "@bonprix-ds/react-icon";
5
+ import { tv as i } from "tailwind-variants";
6
+ import { jsx as a, jsxs as o } from "react/jsx-runtime";
7
+ //#region src/StepNaviStep.tsx
8
+ var s = i({
2811
9
  slots: {
2812
10
  container: "preflight w-full flex flex-col gap-1.5 items-center l:items-start xl:items-start group focus:outline-none",
2813
11
  icon: "h-5 w-5 fill-clr-fg-success invisible",
@@ -2822,58 +20,58 @@ var W = (e) => {
2822
20
  false: { bar: "group-hover:bg-clr-primary" }
2823
21
  }
2824
22
  }
2825
- }), Ct = ({ children: e, href: t, active: n, completed: r, disabled: o }) => {
2826
- let { container: s, icon: c, bar: l, labelSlot: u } = St({
23
+ }), c = ({ children: e, href: t, active: n, completed: i, disabled: c }) => {
24
+ let { container: l, icon: u, bar: d, labelSlot: f } = s({
2827
25
  active: n,
2828
- completed: r,
2829
- disabled: o
26
+ completed: i,
27
+ disabled: c
2830
28
  });
2831
- return /* @__PURE__ */ a("a", {
2832
- href: o ? void 0 : t,
2833
- className: s(),
29
+ return /* @__PURE__ */ o("a", {
30
+ href: c ? void 0 : t,
31
+ className: l(),
2834
32
  "aria-current": n ? "step" : "false",
2835
- "aria-disabled": o ? "true" : "false",
2836
- "data-bpds-completed": r,
33
+ "aria-disabled": c ? "true" : "false",
34
+ "data-bpds-completed": i,
2837
35
  children: [
2838
- /* @__PURE__ */ i(me, {
36
+ /* @__PURE__ */ a(r, {
2839
37
  variant: "check-bold",
2840
- className: c()
38
+ className: u()
2841
39
  }),
2842
- /* @__PURE__ */ i("div", { className: l() }),
2843
- /* @__PURE__ */ a("div", {
2844
- className: u(),
2845
- children: [e, r && /* @__PURE__ */ i("span", {
40
+ /* @__PURE__ */ a("div", { className: d() }),
41
+ /* @__PURE__ */ o("div", {
42
+ className: f(),
43
+ children: [e, i && /* @__PURE__ */ a("span", {
2846
44
  className: "sr-only",
2847
45
  children: " erfüllter schritt"
2848
46
  })]
2849
47
  })
2850
48
  ]
2851
49
  });
2852
- }, wt = (e, t, n) => e > n + 1 ? (console.error("activeStep must not be greater than completedSteps + 1"), n + 1) : e > t ? (console.error("activeStep must not be greater than the amount of steps. activeStep is set to last available step"), t) : e, Tt = ({ completedSteps: e = 0, activeStep: a = e + 1, children: o, ariaLabel: s }) => {
2853
- let c = wt(a, n.Children.count(o), e), { getSingleChildFromSubcomponent: l, printBadConstructionMessage: u } = t(o);
2854
- return o ? /* @__PURE__ */ i("nav", {
50
+ }, l = (e, t, n) => e > n + 1 ? (console.error("activeStep must not be greater than completedSteps + 1"), n + 1) : e > t ? (console.error("activeStep must not be greater than the amount of steps. activeStep is set to last available step"), t) : e, u = ({ completedSteps: r = 0, activeStep: i = r + 1, children: o, ariaLabel: s }) => {
51
+ let u = l(i, t.Children.count(o), r), { getSingleChildFromSubcomponent: d, printBadConstructionMessage: f } = e(o);
52
+ return o ? /* @__PURE__ */ a("nav", {
2855
53
  "aria-label": s,
2856
54
  "data-bpds": "step-navi",
2857
- "data-bpds-completed-steps": e,
2858
- "data-bpds-active-step": c,
2859
- children: /* @__PURE__ */ i("ol", {
55
+ "data-bpds-completed-steps": r,
56
+ "data-bpds-active-step": u,
57
+ children: /* @__PURE__ */ a("ol", {
2860
58
  className: "preflight list-none m-0 p-0 flex flex-row gap-1",
2861
- children: r.map(o, (t, n) => {
2862
- let r = n + 1, a = {
2863
- active: c === r,
2864
- completed: e >= r,
2865
- disabled: r > e + 1
59
+ children: n.map(o, (e, t) => {
60
+ let n = t + 1, i = {
61
+ active: u === n,
62
+ completed: r >= n,
63
+ disabled: n > r + 1
2866
64
  };
2867
- return /* @__PURE__ */ i("li", {
65
+ return /* @__PURE__ */ a("li", {
2868
66
  className: "flex-1",
2869
- children: l(Ct, t, a)
2870
- }, r);
67
+ children: d(c, e, i)
68
+ }, n);
2871
69
  })
2872
70
  })
2873
- }) : (u("StepNavi"), null);
71
+ }) : (f("StepNavi"), null);
2874
72
  };
2875
- Tt.displayName = "StepNavi", Tt.Step = Ct, Tt.Step.displayName = "StepNavi.Step";
73
+ u.displayName = "StepNavi", u.Step = c, u.Step.displayName = "StepNavi.Step";
2876
74
  //#endregion
2877
- export { Tt as default };
75
+ export { u as default };
2878
76
 
2879
77
  //# sourceMappingURL=index.js.map