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