@dhasdk/simple-ui 1.0.67 → 1.0.69
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +65 -0
- package/index.css +1 -1
- package/index.d.ts +2 -0
- package/index.js +14 -14
- package/index.mjs +1054 -1005
- package/lib/RadioGroup.d.ts +2 -0
- package/lib/TextArea.d.ts +12 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { jsxs as
|
|
1
|
+
import { jsxs as B, jsx as t, Fragment as ae } from "react/jsx-runtime";
|
|
2
2
|
import * as le from "react";
|
|
3
|
-
import m2, { forwardRef as re, useState as
|
|
4
|
-
import { useLocation as B2, Link as Be, NavLink as
|
|
5
|
-
const qe = "-",
|
|
3
|
+
import m2, { forwardRef as re, useState as Y, useEffect as Z, Children as We, isValidElement as xe, cloneElement as De, useRef as Q, useMemo as je, useImperativeHandle as g2, useCallback as $e, useLayoutEffect as f2, createContext as z2, useContext as H2 } from "react";
|
|
4
|
+
import { useLocation as B2, Link as Be, NavLink as I2 } from "react-router-dom";
|
|
5
|
+
const qe = "-", A2 = (e) => {
|
|
6
6
|
const s = O2(e), {
|
|
7
7
|
conflictingClassGroups: n,
|
|
8
8
|
conflictingClassGroupModifiers: r
|
|
@@ -76,7 +76,7 @@ const qe = "-", I2 = (e) => {
|
|
|
76
76
|
validators: []
|
|
77
77
|
}), n = n.nextPart.get(r);
|
|
78
78
|
}), n;
|
|
79
|
-
}, T2 = (e) => e.isThemeGetter,
|
|
79
|
+
}, T2 = (e) => e.isThemeGetter, R2 = (e) => {
|
|
80
80
|
if (e < 1)
|
|
81
81
|
return {
|
|
82
82
|
get: () => {
|
|
@@ -100,7 +100,7 @@ const qe = "-", I2 = (e) => {
|
|
|
100
100
|
n.has(i) ? n.set(i, a) : c(i, a);
|
|
101
101
|
}
|
|
102
102
|
};
|
|
103
|
-
}, Pe = "!", Ge = ":",
|
|
103
|
+
}, Pe = "!", Ge = ":", Y2 = Ge.length, F2 = (e) => {
|
|
104
104
|
const {
|
|
105
105
|
prefix: s,
|
|
106
106
|
experimentalParseClassName: n
|
|
@@ -112,7 +112,7 @@ const qe = "-", I2 = (e) => {
|
|
|
112
112
|
let v = c[C];
|
|
113
113
|
if (a === 0 && d === 0) {
|
|
114
114
|
if (v === Ge) {
|
|
115
|
-
i.push(c.slice(l, C)), l = C +
|
|
115
|
+
i.push(c.slice(l, C)), l = C + Y2;
|
|
116
116
|
continue;
|
|
117
117
|
}
|
|
118
118
|
if (v === "/") {
|
|
@@ -122,12 +122,12 @@ const qe = "-", I2 = (e) => {
|
|
|
122
122
|
}
|
|
123
123
|
v === "[" ? a++ : v === "]" ? a-- : v === "(" ? d++ : v === ")" && d--;
|
|
124
124
|
}
|
|
125
|
-
const
|
|
125
|
+
const g = i.length === 0 ? c : c.substring(l), b = U2(g), M = b !== g, L = x && x > l ? x - l : void 0;
|
|
126
126
|
return {
|
|
127
127
|
modifiers: i,
|
|
128
|
-
hasImportantModifier:
|
|
129
|
-
baseClassName:
|
|
130
|
-
maybePostfixModifierPosition:
|
|
128
|
+
hasImportantModifier: M,
|
|
129
|
+
baseClassName: b,
|
|
130
|
+
maybePostfixModifierPosition: L
|
|
131
131
|
};
|
|
132
132
|
};
|
|
133
133
|
if (s) {
|
|
@@ -160,10 +160,10 @@ const qe = "-", I2 = (e) => {
|
|
|
160
160
|
}), c.push(...i.sort()), c;
|
|
161
161
|
};
|
|
162
162
|
}, Z2 = (e) => ({
|
|
163
|
-
cache:
|
|
163
|
+
cache: R2(e.cacheSize),
|
|
164
164
|
parseClassName: F2(e),
|
|
165
165
|
sortModifiers: j2(e),
|
|
166
|
-
...
|
|
166
|
+
...A2(e)
|
|
167
167
|
}), P2 = /\s+/, G2 = (e, s) => {
|
|
168
168
|
const {
|
|
169
169
|
parseClassName: n,
|
|
@@ -173,39 +173,39 @@ const qe = "-", I2 = (e) => {
|
|
|
173
173
|
} = s, a = [], d = e.trim().split(P2);
|
|
174
174
|
let l = "";
|
|
175
175
|
for (let x = d.length - 1; x >= 0; x -= 1) {
|
|
176
|
-
const
|
|
177
|
-
isExternal:
|
|
178
|
-
modifiers:
|
|
179
|
-
hasImportantModifier:
|
|
176
|
+
const g = d[x], {
|
|
177
|
+
isExternal: b,
|
|
178
|
+
modifiers: M,
|
|
179
|
+
hasImportantModifier: L,
|
|
180
180
|
baseClassName: C,
|
|
181
181
|
maybePostfixModifierPosition: v
|
|
182
|
-
} = n(
|
|
183
|
-
if (
|
|
184
|
-
l =
|
|
182
|
+
} = n(g);
|
|
183
|
+
if (b) {
|
|
184
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
185
185
|
continue;
|
|
186
186
|
}
|
|
187
|
-
let
|
|
188
|
-
if (!
|
|
189
|
-
if (!
|
|
190
|
-
l =
|
|
187
|
+
let f = !!v, y = r(f ? C.substring(0, v) : C);
|
|
188
|
+
if (!y) {
|
|
189
|
+
if (!f) {
|
|
190
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
191
191
|
continue;
|
|
192
192
|
}
|
|
193
|
-
if (
|
|
194
|
-
l =
|
|
193
|
+
if (y = r(C), !y) {
|
|
194
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
195
195
|
continue;
|
|
196
196
|
}
|
|
197
|
-
|
|
197
|
+
f = !1;
|
|
198
198
|
}
|
|
199
|
-
const k = i(
|
|
200
|
-
if (a.includes(
|
|
199
|
+
const k = i(M).join(":"), S = L ? k + Pe : k, w = S + y;
|
|
200
|
+
if (a.includes(w))
|
|
201
201
|
continue;
|
|
202
|
-
a.push(
|
|
203
|
-
const D = c(
|
|
202
|
+
a.push(w);
|
|
203
|
+
const D = c(y, f);
|
|
204
204
|
for (let V = 0; V < D.length; ++V) {
|
|
205
|
-
const
|
|
206
|
-
a.push(S +
|
|
205
|
+
const I = D[V];
|
|
206
|
+
a.push(S + I);
|
|
207
207
|
}
|
|
208
|
-
l =
|
|
208
|
+
l = g + (l.length > 0 ? " " + l : l);
|
|
209
209
|
}
|
|
210
210
|
return l;
|
|
211
211
|
};
|
|
@@ -226,15 +226,15 @@ const p2 = (e) => {
|
|
|
226
226
|
function q2(e, ...s) {
|
|
227
227
|
let n, r, c, i = a;
|
|
228
228
|
function a(l) {
|
|
229
|
-
const x = s.reduce((
|
|
229
|
+
const x = s.reduce((g, b) => b(g), e());
|
|
230
230
|
return n = Z2(x), r = n.cache.get, c = n.cache.set, i = d, d(l);
|
|
231
231
|
}
|
|
232
232
|
function d(l) {
|
|
233
233
|
const x = r(l);
|
|
234
234
|
if (x)
|
|
235
235
|
return x;
|
|
236
|
-
const
|
|
237
|
-
return c(l,
|
|
236
|
+
const g = G2(l, n);
|
|
237
|
+
return c(l, g), g;
|
|
238
238
|
}
|
|
239
239
|
return function() {
|
|
240
240
|
return i(W2.apply(null, arguments));
|
|
@@ -243,19 +243,19 @@ function q2(e, ...s) {
|
|
|
243
243
|
const J = (e) => {
|
|
244
244
|
const s = (n) => n[e] || [];
|
|
245
245
|
return s.isThemeGetter = !0, s;
|
|
246
|
-
}, b2 = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, x2 = /^\((?:(\w[\w-]*):)?(.+)\)$/i, K2 = /^\d+\/\d+$/, X2 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, J2 = /\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$/, Q2 = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, et = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, fe = (e) => K2.test(e), G = (e) => !!e && !Number.isNaN(Number(e)), de = (e) => !!e && Number.isInteger(Number(e)),
|
|
246
|
+
}, b2 = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, x2 = /^\((?:(\w[\w-]*):)?(.+)\)$/i, K2 = /^\d+\/\d+$/, X2 = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, J2 = /\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$/, Q2 = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, et = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, tt = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, fe = (e) => K2.test(e), G = (e) => !!e && !Number.isNaN(Number(e)), de = (e) => !!e && Number.isInteger(Number(e)), Ie = (e) => e.endsWith("%") && G(e.slice(0, -1)), ie = (e) => X2.test(e), st = () => !0, rt = (e) => (
|
|
247
247
|
// `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
|
|
248
248
|
// For example, `hsl(0 0% 0%)` would be classified as a length without this check.
|
|
249
249
|
// I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
|
|
250
250
|
J2.test(e) && !Q2.test(e)
|
|
251
|
-
), w2 = () => !1, nt = (e) => et.test(e), at = (e) => tt.test(e), ot = (e) => !T(e) && !
|
|
251
|
+
), w2 = () => !1, nt = (e) => et.test(e), at = (e) => tt.test(e), ot = (e) => !T(e) && !R(e), lt = (e) => he(e, y2, w2), T = (e) => b2.test(e), ue = (e) => he(e, k2, rt), Ae = (e) => he(e, mt, G), Je = (e) => he(e, v2, w2), it = (e) => he(e, C2, at), Ce = (e) => he(e, N2, nt), R = (e) => x2.test(e), be = (e) => pe(e, k2), ct = (e) => pe(e, gt), Qe = (e) => pe(e, v2), dt = (e) => pe(e, y2), ut = (e) => pe(e, C2), ye = (e) => pe(e, N2, !0), he = (e, s, n) => {
|
|
252
252
|
const r = b2.exec(e);
|
|
253
253
|
return r ? r[1] ? s(r[1]) : n(r[2]) : !1;
|
|
254
254
|
}, pe = (e, s, n = !1) => {
|
|
255
255
|
const r = x2.exec(e);
|
|
256
256
|
return r ? r[1] ? s(r[1]) : n : !1;
|
|
257
257
|
}, v2 = (e) => e === "position" || e === "percentage", C2 = (e) => e === "image" || e === "url", y2 = (e) => e === "length" || e === "size" || e === "bg-size", k2 = (e) => e === "length", mt = (e) => e === "number", gt = (e) => e === "family-name", N2 = (e) => e === "shadow", ft = () => {
|
|
258
|
-
const e = J("color"), s = J("font"), n = J("text"), r = J("font-weight"), c = J("tracking"), i = J("leading"), a = J("breakpoint"), d = J("container"), l = J("spacing"), x = J("radius"),
|
|
258
|
+
const e = J("color"), s = J("font"), n = J("text"), r = J("font-weight"), c = J("tracking"), i = J("leading"), a = J("breakpoint"), d = J("container"), l = J("spacing"), x = J("radius"), g = J("shadow"), b = J("inset-shadow"), M = J("text-shadow"), L = J("drop-shadow"), C = J("blur"), v = J("perspective"), f = J("aspect"), y = J("ease"), k = J("animate"), S = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], w = () => [
|
|
259
259
|
"center",
|
|
260
260
|
"top",
|
|
261
261
|
"bottom",
|
|
@@ -273,30 +273,30 @@ const J = (e) => {
|
|
|
273
273
|
"bottom-left",
|
|
274
274
|
// Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
|
|
275
275
|
"left-bottom"
|
|
276
|
-
], D = () => [...
|
|
277
|
-
span: ["full", de,
|
|
278
|
-
}, de,
|
|
279
|
-
position: [
|
|
280
|
-
}],
|
|
276
|
+
], D = () => [...w(), R, T], V = () => ["auto", "hidden", "clip", "visible", "scroll"], I = () => ["auto", "contain", "none"], _ = () => [R, T, l], A = () => [fe, "full", "auto", ..._()], E = () => [de, "none", "subgrid", R, T], O = () => ["auto", {
|
|
277
|
+
span: ["full", de, R, T]
|
|
278
|
+
}, de, R, T], j = () => [de, "auto", R, T], W = () => ["auto", "min", "max", "fr", R, T], N = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], o = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], p = () => ["auto", ..._()], h = () => [fe, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ..._()], u = () => [e, R, T], z = () => [...w(), Qe, Je, {
|
|
279
|
+
position: [R, T]
|
|
280
|
+
}], $ = () => ["no-repeat", {
|
|
281
281
|
repeat: ["", "x", "y", "space", "round"]
|
|
282
282
|
}], H = () => ["auto", "cover", "contain", dt, lt, {
|
|
283
|
-
size: [
|
|
284
|
-
}], F = () => [
|
|
283
|
+
size: [R, T]
|
|
284
|
+
}], F = () => [Ie, be, ue], U = () => [
|
|
285
285
|
// Deprecated since Tailwind CSS v4.0.0
|
|
286
286
|
"",
|
|
287
287
|
"none",
|
|
288
288
|
"full",
|
|
289
289
|
x,
|
|
290
|
-
|
|
290
|
+
R,
|
|
291
291
|
T
|
|
292
|
-
], P = () => ["", G, be, ue], q = () => ["solid", "dashed", "dotted", "double"], te = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], K = () => [G,
|
|
292
|
+
], P = () => ["", G, be, ue], q = () => ["solid", "dashed", "dotted", "double"], te = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], K = () => [G, Ie, Qe, Je], oe = () => [
|
|
293
293
|
// Deprecated since Tailwind CSS v4.0.0
|
|
294
294
|
"",
|
|
295
295
|
"none",
|
|
296
296
|
C,
|
|
297
|
-
|
|
297
|
+
R,
|
|
298
298
|
T
|
|
299
|
-
], se = () => ["none", G,
|
|
299
|
+
], se = () => ["none", G, R, T], X = () => ["none", G, R, T], ee = () => [G, R, T], ne = () => [fe, "full", ..._()];
|
|
300
300
|
return {
|
|
301
301
|
cacheSize: 500,
|
|
302
302
|
theme: {
|
|
@@ -329,7 +329,7 @@ const J = (e) => {
|
|
|
329
329
|
* @see https://tailwindcss.com/docs/aspect-ratio
|
|
330
330
|
*/
|
|
331
331
|
aspect: [{
|
|
332
|
-
aspect: ["auto", "square", fe, T,
|
|
332
|
+
aspect: ["auto", "square", fe, T, R, f]
|
|
333
333
|
}],
|
|
334
334
|
/**
|
|
335
335
|
* Container
|
|
@@ -342,7 +342,7 @@ const J = (e) => {
|
|
|
342
342
|
* @see https://tailwindcss.com/docs/columns
|
|
343
343
|
*/
|
|
344
344
|
columns: [{
|
|
345
|
-
columns: [G, T,
|
|
345
|
+
columns: [G, T, R, d]
|
|
346
346
|
}],
|
|
347
347
|
/**
|
|
348
348
|
* Break After
|
|
@@ -448,21 +448,21 @@ const J = (e) => {
|
|
|
448
448
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
449
449
|
*/
|
|
450
450
|
overscroll: [{
|
|
451
|
-
overscroll:
|
|
451
|
+
overscroll: I()
|
|
452
452
|
}],
|
|
453
453
|
/**
|
|
454
454
|
* Overscroll Behavior X
|
|
455
455
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
456
456
|
*/
|
|
457
457
|
"overscroll-x": [{
|
|
458
|
-
"overscroll-x":
|
|
458
|
+
"overscroll-x": I()
|
|
459
459
|
}],
|
|
460
460
|
/**
|
|
461
461
|
* Overscroll Behavior Y
|
|
462
462
|
* @see https://tailwindcss.com/docs/overscroll-behavior
|
|
463
463
|
*/
|
|
464
464
|
"overscroll-y": [{
|
|
465
|
-
"overscroll-y":
|
|
465
|
+
"overscroll-y": I()
|
|
466
466
|
}],
|
|
467
467
|
/**
|
|
468
468
|
* Position
|
|
@@ -474,63 +474,63 @@ const J = (e) => {
|
|
|
474
474
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
475
475
|
*/
|
|
476
476
|
inset: [{
|
|
477
|
-
inset:
|
|
477
|
+
inset: A()
|
|
478
478
|
}],
|
|
479
479
|
/**
|
|
480
480
|
* Right / Left
|
|
481
481
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
482
482
|
*/
|
|
483
483
|
"inset-x": [{
|
|
484
|
-
"inset-x":
|
|
484
|
+
"inset-x": A()
|
|
485
485
|
}],
|
|
486
486
|
/**
|
|
487
487
|
* Top / Bottom
|
|
488
488
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
489
489
|
*/
|
|
490
490
|
"inset-y": [{
|
|
491
|
-
"inset-y":
|
|
491
|
+
"inset-y": A()
|
|
492
492
|
}],
|
|
493
493
|
/**
|
|
494
494
|
* Start
|
|
495
495
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
496
496
|
*/
|
|
497
497
|
start: [{
|
|
498
|
-
start:
|
|
498
|
+
start: A()
|
|
499
499
|
}],
|
|
500
500
|
/**
|
|
501
501
|
* End
|
|
502
502
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
503
503
|
*/
|
|
504
504
|
end: [{
|
|
505
|
-
end:
|
|
505
|
+
end: A()
|
|
506
506
|
}],
|
|
507
507
|
/**
|
|
508
508
|
* Top
|
|
509
509
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
510
510
|
*/
|
|
511
511
|
top: [{
|
|
512
|
-
top:
|
|
512
|
+
top: A()
|
|
513
513
|
}],
|
|
514
514
|
/**
|
|
515
515
|
* Right
|
|
516
516
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
517
517
|
*/
|
|
518
518
|
right: [{
|
|
519
|
-
right:
|
|
519
|
+
right: A()
|
|
520
520
|
}],
|
|
521
521
|
/**
|
|
522
522
|
* Bottom
|
|
523
523
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
524
524
|
*/
|
|
525
525
|
bottom: [{
|
|
526
|
-
bottom:
|
|
526
|
+
bottom: A()
|
|
527
527
|
}],
|
|
528
528
|
/**
|
|
529
529
|
* Left
|
|
530
530
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
531
531
|
*/
|
|
532
532
|
left: [{
|
|
533
|
-
left:
|
|
533
|
+
left: A()
|
|
534
534
|
}],
|
|
535
535
|
/**
|
|
536
536
|
* Visibility
|
|
@@ -542,7 +542,7 @@ const J = (e) => {
|
|
|
542
542
|
* @see https://tailwindcss.com/docs/z-index
|
|
543
543
|
*/
|
|
544
544
|
z: [{
|
|
545
|
-
z: [de, "auto",
|
|
545
|
+
z: [de, "auto", R, T]
|
|
546
546
|
}],
|
|
547
547
|
// ------------------------
|
|
548
548
|
// --- Flexbox and Grid ---
|
|
@@ -552,7 +552,7 @@ const J = (e) => {
|
|
|
552
552
|
* @see https://tailwindcss.com/docs/flex-basis
|
|
553
553
|
*/
|
|
554
554
|
basis: [{
|
|
555
|
-
basis: [fe, "full", "auto", d, ...
|
|
555
|
+
basis: [fe, "full", "auto", d, ..._()]
|
|
556
556
|
}],
|
|
557
557
|
/**
|
|
558
558
|
* Flex Direction
|
|
@@ -580,21 +580,21 @@ const J = (e) => {
|
|
|
580
580
|
* @see https://tailwindcss.com/docs/flex-grow
|
|
581
581
|
*/
|
|
582
582
|
grow: [{
|
|
583
|
-
grow: ["", G,
|
|
583
|
+
grow: ["", G, R, T]
|
|
584
584
|
}],
|
|
585
585
|
/**
|
|
586
586
|
* Flex Shrink
|
|
587
587
|
* @see https://tailwindcss.com/docs/flex-shrink
|
|
588
588
|
*/
|
|
589
589
|
shrink: [{
|
|
590
|
-
shrink: ["", G,
|
|
590
|
+
shrink: ["", G, R, T]
|
|
591
591
|
}],
|
|
592
592
|
/**
|
|
593
593
|
* Order
|
|
594
594
|
* @see https://tailwindcss.com/docs/order
|
|
595
595
|
*/
|
|
596
596
|
order: [{
|
|
597
|
-
order: [de, "first", "last", "none",
|
|
597
|
+
order: [de, "first", "last", "none", R, T]
|
|
598
598
|
}],
|
|
599
599
|
/**
|
|
600
600
|
* Grid Template Columns
|
|
@@ -678,28 +678,28 @@ const J = (e) => {
|
|
|
678
678
|
* @see https://tailwindcss.com/docs/gap
|
|
679
679
|
*/
|
|
680
680
|
gap: [{
|
|
681
|
-
gap:
|
|
681
|
+
gap: _()
|
|
682
682
|
}],
|
|
683
683
|
/**
|
|
684
684
|
* Gap X
|
|
685
685
|
* @see https://tailwindcss.com/docs/gap
|
|
686
686
|
*/
|
|
687
687
|
"gap-x": [{
|
|
688
|
-
"gap-x":
|
|
688
|
+
"gap-x": _()
|
|
689
689
|
}],
|
|
690
690
|
/**
|
|
691
691
|
* Gap Y
|
|
692
692
|
* @see https://tailwindcss.com/docs/gap
|
|
693
693
|
*/
|
|
694
694
|
"gap-y": [{
|
|
695
|
-
"gap-y":
|
|
695
|
+
"gap-y": _()
|
|
696
696
|
}],
|
|
697
697
|
/**
|
|
698
698
|
* Justify Content
|
|
699
699
|
* @see https://tailwindcss.com/docs/justify-content
|
|
700
700
|
*/
|
|
701
701
|
"justify-content": [{
|
|
702
|
-
justify: [...
|
|
702
|
+
justify: [...N(), "normal"]
|
|
703
703
|
}],
|
|
704
704
|
/**
|
|
705
705
|
* Justify Items
|
|
@@ -720,7 +720,7 @@ const J = (e) => {
|
|
|
720
720
|
* @see https://tailwindcss.com/docs/align-content
|
|
721
721
|
*/
|
|
722
722
|
"align-content": [{
|
|
723
|
-
content: ["normal", ...
|
|
723
|
+
content: ["normal", ...N()]
|
|
724
724
|
}],
|
|
725
725
|
/**
|
|
726
726
|
* Align Items
|
|
@@ -745,7 +745,7 @@ const J = (e) => {
|
|
|
745
745
|
* @see https://tailwindcss.com/docs/place-content
|
|
746
746
|
*/
|
|
747
747
|
"place-content": [{
|
|
748
|
-
"place-content":
|
|
748
|
+
"place-content": N()
|
|
749
749
|
}],
|
|
750
750
|
/**
|
|
751
751
|
* Place Items
|
|
@@ -767,133 +767,133 @@ const J = (e) => {
|
|
|
767
767
|
* @see https://tailwindcss.com/docs/padding
|
|
768
768
|
*/
|
|
769
769
|
p: [{
|
|
770
|
-
p:
|
|
770
|
+
p: _()
|
|
771
771
|
}],
|
|
772
772
|
/**
|
|
773
773
|
* Padding X
|
|
774
774
|
* @see https://tailwindcss.com/docs/padding
|
|
775
775
|
*/
|
|
776
776
|
px: [{
|
|
777
|
-
px:
|
|
777
|
+
px: _()
|
|
778
778
|
}],
|
|
779
779
|
/**
|
|
780
780
|
* Padding Y
|
|
781
781
|
* @see https://tailwindcss.com/docs/padding
|
|
782
782
|
*/
|
|
783
783
|
py: [{
|
|
784
|
-
py:
|
|
784
|
+
py: _()
|
|
785
785
|
}],
|
|
786
786
|
/**
|
|
787
787
|
* Padding Start
|
|
788
788
|
* @see https://tailwindcss.com/docs/padding
|
|
789
789
|
*/
|
|
790
790
|
ps: [{
|
|
791
|
-
ps:
|
|
791
|
+
ps: _()
|
|
792
792
|
}],
|
|
793
793
|
/**
|
|
794
794
|
* Padding End
|
|
795
795
|
* @see https://tailwindcss.com/docs/padding
|
|
796
796
|
*/
|
|
797
797
|
pe: [{
|
|
798
|
-
pe:
|
|
798
|
+
pe: _()
|
|
799
799
|
}],
|
|
800
800
|
/**
|
|
801
801
|
* Padding Top
|
|
802
802
|
* @see https://tailwindcss.com/docs/padding
|
|
803
803
|
*/
|
|
804
804
|
pt: [{
|
|
805
|
-
pt:
|
|
805
|
+
pt: _()
|
|
806
806
|
}],
|
|
807
807
|
/**
|
|
808
808
|
* Padding Right
|
|
809
809
|
* @see https://tailwindcss.com/docs/padding
|
|
810
810
|
*/
|
|
811
811
|
pr: [{
|
|
812
|
-
pr:
|
|
812
|
+
pr: _()
|
|
813
813
|
}],
|
|
814
814
|
/**
|
|
815
815
|
* Padding Bottom
|
|
816
816
|
* @see https://tailwindcss.com/docs/padding
|
|
817
817
|
*/
|
|
818
818
|
pb: [{
|
|
819
|
-
pb:
|
|
819
|
+
pb: _()
|
|
820
820
|
}],
|
|
821
821
|
/**
|
|
822
822
|
* Padding Left
|
|
823
823
|
* @see https://tailwindcss.com/docs/padding
|
|
824
824
|
*/
|
|
825
825
|
pl: [{
|
|
826
|
-
pl:
|
|
826
|
+
pl: _()
|
|
827
827
|
}],
|
|
828
828
|
/**
|
|
829
829
|
* Margin
|
|
830
830
|
* @see https://tailwindcss.com/docs/margin
|
|
831
831
|
*/
|
|
832
832
|
m: [{
|
|
833
|
-
m:
|
|
833
|
+
m: p()
|
|
834
834
|
}],
|
|
835
835
|
/**
|
|
836
836
|
* Margin X
|
|
837
837
|
* @see https://tailwindcss.com/docs/margin
|
|
838
838
|
*/
|
|
839
839
|
mx: [{
|
|
840
|
-
mx:
|
|
840
|
+
mx: p()
|
|
841
841
|
}],
|
|
842
842
|
/**
|
|
843
843
|
* Margin Y
|
|
844
844
|
* @see https://tailwindcss.com/docs/margin
|
|
845
845
|
*/
|
|
846
846
|
my: [{
|
|
847
|
-
my:
|
|
847
|
+
my: p()
|
|
848
848
|
}],
|
|
849
849
|
/**
|
|
850
850
|
* Margin Start
|
|
851
851
|
* @see https://tailwindcss.com/docs/margin
|
|
852
852
|
*/
|
|
853
853
|
ms: [{
|
|
854
|
-
ms:
|
|
854
|
+
ms: p()
|
|
855
855
|
}],
|
|
856
856
|
/**
|
|
857
857
|
* Margin End
|
|
858
858
|
* @see https://tailwindcss.com/docs/margin
|
|
859
859
|
*/
|
|
860
860
|
me: [{
|
|
861
|
-
me:
|
|
861
|
+
me: p()
|
|
862
862
|
}],
|
|
863
863
|
/**
|
|
864
864
|
* Margin Top
|
|
865
865
|
* @see https://tailwindcss.com/docs/margin
|
|
866
866
|
*/
|
|
867
867
|
mt: [{
|
|
868
|
-
mt:
|
|
868
|
+
mt: p()
|
|
869
869
|
}],
|
|
870
870
|
/**
|
|
871
871
|
* Margin Right
|
|
872
872
|
* @see https://tailwindcss.com/docs/margin
|
|
873
873
|
*/
|
|
874
874
|
mr: [{
|
|
875
|
-
mr:
|
|
875
|
+
mr: p()
|
|
876
876
|
}],
|
|
877
877
|
/**
|
|
878
878
|
* Margin Bottom
|
|
879
879
|
* @see https://tailwindcss.com/docs/margin
|
|
880
880
|
*/
|
|
881
881
|
mb: [{
|
|
882
|
-
mb:
|
|
882
|
+
mb: p()
|
|
883
883
|
}],
|
|
884
884
|
/**
|
|
885
885
|
* Margin Left
|
|
886
886
|
* @see https://tailwindcss.com/docs/margin
|
|
887
887
|
*/
|
|
888
888
|
ml: [{
|
|
889
|
-
ml:
|
|
889
|
+
ml: p()
|
|
890
890
|
}],
|
|
891
891
|
/**
|
|
892
892
|
* Space Between X
|
|
893
893
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
894
894
|
*/
|
|
895
895
|
"space-x": [{
|
|
896
|
-
"space-x":
|
|
896
|
+
"space-x": _()
|
|
897
897
|
}],
|
|
898
898
|
/**
|
|
899
899
|
* Space Between X Reverse
|
|
@@ -905,7 +905,7 @@ const J = (e) => {
|
|
|
905
905
|
* @see https://tailwindcss.com/docs/margin#adding-space-between-children
|
|
906
906
|
*/
|
|
907
907
|
"space-y": [{
|
|
908
|
-
"space-y":
|
|
908
|
+
"space-y": _()
|
|
909
909
|
}],
|
|
910
910
|
/**
|
|
911
911
|
* Space Between Y Reverse
|
|
@@ -920,14 +920,14 @@ const J = (e) => {
|
|
|
920
920
|
* @see https://tailwindcss.com/docs/width#setting-both-width-and-height
|
|
921
921
|
*/
|
|
922
922
|
size: [{
|
|
923
|
-
size:
|
|
923
|
+
size: h()
|
|
924
924
|
}],
|
|
925
925
|
/**
|
|
926
926
|
* Width
|
|
927
927
|
* @see https://tailwindcss.com/docs/width
|
|
928
928
|
*/
|
|
929
929
|
w: [{
|
|
930
|
-
w: [d, "screen", ...
|
|
930
|
+
w: [d, "screen", ...h()]
|
|
931
931
|
}],
|
|
932
932
|
/**
|
|
933
933
|
* Min-Width
|
|
@@ -939,7 +939,7 @@ const J = (e) => {
|
|
|
939
939
|
"screen",
|
|
940
940
|
/** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
941
941
|
"none",
|
|
942
|
-
...
|
|
942
|
+
...h()
|
|
943
943
|
]
|
|
944
944
|
}],
|
|
945
945
|
/**
|
|
@@ -957,7 +957,7 @@ const J = (e) => {
|
|
|
957
957
|
{
|
|
958
958
|
screen: [a]
|
|
959
959
|
},
|
|
960
|
-
...
|
|
960
|
+
...h()
|
|
961
961
|
]
|
|
962
962
|
}],
|
|
963
963
|
/**
|
|
@@ -965,21 +965,21 @@ const J = (e) => {
|
|
|
965
965
|
* @see https://tailwindcss.com/docs/height
|
|
966
966
|
*/
|
|
967
967
|
h: [{
|
|
968
|
-
h: ["screen", "lh", ...
|
|
968
|
+
h: ["screen", "lh", ...h()]
|
|
969
969
|
}],
|
|
970
970
|
/**
|
|
971
971
|
* Min-Height
|
|
972
972
|
* @see https://tailwindcss.com/docs/min-height
|
|
973
973
|
*/
|
|
974
974
|
"min-h": [{
|
|
975
|
-
"min-h": ["screen", "lh", "none", ...
|
|
975
|
+
"min-h": ["screen", "lh", "none", ...h()]
|
|
976
976
|
}],
|
|
977
977
|
/**
|
|
978
978
|
* Max-Height
|
|
979
979
|
* @see https://tailwindcss.com/docs/max-height
|
|
980
980
|
*/
|
|
981
981
|
"max-h": [{
|
|
982
|
-
"max-h": ["screen", "lh", ...
|
|
982
|
+
"max-h": ["screen", "lh", ...h()]
|
|
983
983
|
}],
|
|
984
984
|
// ------------------
|
|
985
985
|
// --- Typography ---
|
|
@@ -1006,14 +1006,14 @@ const J = (e) => {
|
|
|
1006
1006
|
* @see https://tailwindcss.com/docs/font-weight
|
|
1007
1007
|
*/
|
|
1008
1008
|
"font-weight": [{
|
|
1009
|
-
font: [r,
|
|
1009
|
+
font: [r, R, Ae]
|
|
1010
1010
|
}],
|
|
1011
1011
|
/**
|
|
1012
1012
|
* Font Stretch
|
|
1013
1013
|
* @see https://tailwindcss.com/docs/font-stretch
|
|
1014
1014
|
*/
|
|
1015
1015
|
"font-stretch": [{
|
|
1016
|
-
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded",
|
|
1016
|
+
"font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", Ie, T]
|
|
1017
1017
|
}],
|
|
1018
1018
|
/**
|
|
1019
1019
|
* Font Family
|
|
@@ -1057,14 +1057,14 @@ const J = (e) => {
|
|
|
1057
1057
|
* @see https://tailwindcss.com/docs/letter-spacing
|
|
1058
1058
|
*/
|
|
1059
1059
|
tracking: [{
|
|
1060
|
-
tracking: [c,
|
|
1060
|
+
tracking: [c, R, T]
|
|
1061
1061
|
}],
|
|
1062
1062
|
/**
|
|
1063
1063
|
* Line Clamp
|
|
1064
1064
|
* @see https://tailwindcss.com/docs/line-clamp
|
|
1065
1065
|
*/
|
|
1066
1066
|
"line-clamp": [{
|
|
1067
|
-
"line-clamp": [G, "none",
|
|
1067
|
+
"line-clamp": [G, "none", R, Ae]
|
|
1068
1068
|
}],
|
|
1069
1069
|
/**
|
|
1070
1070
|
* Line Height
|
|
@@ -1074,7 +1074,7 @@ const J = (e) => {
|
|
|
1074
1074
|
leading: [
|
|
1075
1075
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1076
1076
|
i,
|
|
1077
|
-
...
|
|
1077
|
+
..._()
|
|
1078
1078
|
]
|
|
1079
1079
|
}],
|
|
1080
1080
|
/**
|
|
@@ -1082,7 +1082,7 @@ const J = (e) => {
|
|
|
1082
1082
|
* @see https://tailwindcss.com/docs/list-style-image
|
|
1083
1083
|
*/
|
|
1084
1084
|
"list-image": [{
|
|
1085
|
-
"list-image": ["none",
|
|
1085
|
+
"list-image": ["none", R, T]
|
|
1086
1086
|
}],
|
|
1087
1087
|
/**
|
|
1088
1088
|
* List Style Position
|
|
@@ -1096,7 +1096,7 @@ const J = (e) => {
|
|
|
1096
1096
|
* @see https://tailwindcss.com/docs/list-style-type
|
|
1097
1097
|
*/
|
|
1098
1098
|
"list-style-type": [{
|
|
1099
|
-
list: ["disc", "decimal", "none",
|
|
1099
|
+
list: ["disc", "decimal", "none", R, T]
|
|
1100
1100
|
}],
|
|
1101
1101
|
/**
|
|
1102
1102
|
* Text Alignment
|
|
@@ -1137,7 +1137,7 @@ const J = (e) => {
|
|
|
1137
1137
|
* @see https://tailwindcss.com/docs/text-decoration-thickness
|
|
1138
1138
|
*/
|
|
1139
1139
|
"text-decoration-thickness": [{
|
|
1140
|
-
decoration: [G, "from-font", "auto",
|
|
1140
|
+
decoration: [G, "from-font", "auto", R, ue]
|
|
1141
1141
|
}],
|
|
1142
1142
|
/**
|
|
1143
1143
|
* Text Decoration Color
|
|
@@ -1151,7 +1151,7 @@ const J = (e) => {
|
|
|
1151
1151
|
* @see https://tailwindcss.com/docs/text-underline-offset
|
|
1152
1152
|
*/
|
|
1153
1153
|
"underline-offset": [{
|
|
1154
|
-
"underline-offset": [G, "auto",
|
|
1154
|
+
"underline-offset": [G, "auto", R, T]
|
|
1155
1155
|
}],
|
|
1156
1156
|
/**
|
|
1157
1157
|
* Text Transform
|
|
@@ -1175,14 +1175,14 @@ const J = (e) => {
|
|
|
1175
1175
|
* @see https://tailwindcss.com/docs/text-indent
|
|
1176
1176
|
*/
|
|
1177
1177
|
indent: [{
|
|
1178
|
-
indent:
|
|
1178
|
+
indent: _()
|
|
1179
1179
|
}],
|
|
1180
1180
|
/**
|
|
1181
1181
|
* Vertical Alignment
|
|
1182
1182
|
* @see https://tailwindcss.com/docs/vertical-align
|
|
1183
1183
|
*/
|
|
1184
1184
|
"vertical-align": [{
|
|
1185
|
-
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super",
|
|
1185
|
+
align: ["baseline", "top", "middle", "bottom", "text-top", "text-bottom", "sub", "super", R, T]
|
|
1186
1186
|
}],
|
|
1187
1187
|
/**
|
|
1188
1188
|
* Whitespace
|
|
@@ -1217,7 +1217,7 @@ const J = (e) => {
|
|
|
1217
1217
|
* @see https://tailwindcss.com/docs/content
|
|
1218
1218
|
*/
|
|
1219
1219
|
content: [{
|
|
1220
|
-
content: ["none",
|
|
1220
|
+
content: ["none", R, T]
|
|
1221
1221
|
}],
|
|
1222
1222
|
// -------------------
|
|
1223
1223
|
// --- Backgrounds ---
|
|
@@ -1255,7 +1255,7 @@ const J = (e) => {
|
|
|
1255
1255
|
* @see https://tailwindcss.com/docs/background-repeat
|
|
1256
1256
|
*/
|
|
1257
1257
|
"bg-repeat": [{
|
|
1258
|
-
bg:
|
|
1258
|
+
bg: $()
|
|
1259
1259
|
}],
|
|
1260
1260
|
/**
|
|
1261
1261
|
* Background Size
|
|
@@ -1272,9 +1272,9 @@ const J = (e) => {
|
|
|
1272
1272
|
bg: ["none", {
|
|
1273
1273
|
linear: [{
|
|
1274
1274
|
to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"]
|
|
1275
|
-
}, de,
|
|
1276
|
-
radial: ["",
|
|
1277
|
-
conic: [de,
|
|
1275
|
+
}, de, R, T],
|
|
1276
|
+
radial: ["", R, T],
|
|
1277
|
+
conic: [de, R, T]
|
|
1278
1278
|
}, ut, it]
|
|
1279
1279
|
}],
|
|
1280
1280
|
/**
|
|
@@ -1617,7 +1617,7 @@ const J = (e) => {
|
|
|
1617
1617
|
* @see https://tailwindcss.com/docs/outline-offset
|
|
1618
1618
|
*/
|
|
1619
1619
|
"outline-offset": [{
|
|
1620
|
-
"outline-offset": [G,
|
|
1620
|
+
"outline-offset": [G, R, T]
|
|
1621
1621
|
}],
|
|
1622
1622
|
/**
|
|
1623
1623
|
* Outline Width
|
|
@@ -1645,7 +1645,7 @@ const J = (e) => {
|
|
|
1645
1645
|
// Deprecated since Tailwind CSS v4.0.0
|
|
1646
1646
|
"",
|
|
1647
1647
|
"none",
|
|
1648
|
-
|
|
1648
|
+
g,
|
|
1649
1649
|
ye,
|
|
1650
1650
|
Ce
|
|
1651
1651
|
]
|
|
@@ -1662,7 +1662,7 @@ const J = (e) => {
|
|
|
1662
1662
|
* @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
|
|
1663
1663
|
*/
|
|
1664
1664
|
"inset-shadow": [{
|
|
1665
|
-
"inset-shadow": ["none",
|
|
1665
|
+
"inset-shadow": ["none", b, ye, Ce]
|
|
1666
1666
|
}],
|
|
1667
1667
|
/**
|
|
1668
1668
|
* Inset Box Shadow Color
|
|
@@ -1729,7 +1729,7 @@ const J = (e) => {
|
|
|
1729
1729
|
* @see https://tailwindcss.com/docs/text-shadow
|
|
1730
1730
|
*/
|
|
1731
1731
|
"text-shadow": [{
|
|
1732
|
-
"text-shadow": ["none",
|
|
1732
|
+
"text-shadow": ["none", M, ye, Ce]
|
|
1733
1733
|
}],
|
|
1734
1734
|
/**
|
|
1735
1735
|
* Text Shadow Color
|
|
@@ -1743,7 +1743,7 @@ const J = (e) => {
|
|
|
1743
1743
|
* @see https://tailwindcss.com/docs/opacity
|
|
1744
1744
|
*/
|
|
1745
1745
|
opacity: [{
|
|
1746
|
-
opacity: [G,
|
|
1746
|
+
opacity: [G, R, T]
|
|
1747
1747
|
}],
|
|
1748
1748
|
/**
|
|
1749
1749
|
* Mix Blend Mode
|
|
@@ -1865,7 +1865,7 @@ const J = (e) => {
|
|
|
1865
1865
|
"mask-y-to": u()
|
|
1866
1866
|
}],
|
|
1867
1867
|
"mask-image-radial": [{
|
|
1868
|
-
"mask-radial": [
|
|
1868
|
+
"mask-radial": [R, T]
|
|
1869
1869
|
}],
|
|
1870
1870
|
"mask-image-radial-from-pos": [{
|
|
1871
1871
|
"mask-radial-from": K()
|
|
@@ -1889,7 +1889,7 @@ const J = (e) => {
|
|
|
1889
1889
|
}]
|
|
1890
1890
|
}],
|
|
1891
1891
|
"mask-image-radial-pos": [{
|
|
1892
|
-
"mask-radial-at":
|
|
1892
|
+
"mask-radial-at": w()
|
|
1893
1893
|
}],
|
|
1894
1894
|
"mask-image-conic-pos": [{
|
|
1895
1895
|
"mask-conic": [G]
|
|
@@ -1932,7 +1932,7 @@ const J = (e) => {
|
|
|
1932
1932
|
* @see https://tailwindcss.com/docs/mask-repeat
|
|
1933
1933
|
*/
|
|
1934
1934
|
"mask-repeat": [{
|
|
1935
|
-
mask:
|
|
1935
|
+
mask: $()
|
|
1936
1936
|
}],
|
|
1937
1937
|
/**
|
|
1938
1938
|
* Mask Size
|
|
@@ -1953,7 +1953,7 @@ const J = (e) => {
|
|
|
1953
1953
|
* @see https://tailwindcss.com/docs/mask-image
|
|
1954
1954
|
*/
|
|
1955
1955
|
"mask-image": [{
|
|
1956
|
-
mask: ["none",
|
|
1956
|
+
mask: ["none", R, T]
|
|
1957
1957
|
}],
|
|
1958
1958
|
// ---------------
|
|
1959
1959
|
// --- Filters ---
|
|
@@ -1967,7 +1967,7 @@ const J = (e) => {
|
|
|
1967
1967
|
// Deprecated since Tailwind CSS v3.0.0
|
|
1968
1968
|
"",
|
|
1969
1969
|
"none",
|
|
1970
|
-
|
|
1970
|
+
R,
|
|
1971
1971
|
T
|
|
1972
1972
|
]
|
|
1973
1973
|
}],
|
|
@@ -1983,14 +1983,14 @@ const J = (e) => {
|
|
|
1983
1983
|
* @see https://tailwindcss.com/docs/brightness
|
|
1984
1984
|
*/
|
|
1985
1985
|
brightness: [{
|
|
1986
|
-
brightness: [G,
|
|
1986
|
+
brightness: [G, R, T]
|
|
1987
1987
|
}],
|
|
1988
1988
|
/**
|
|
1989
1989
|
* Contrast
|
|
1990
1990
|
* @see https://tailwindcss.com/docs/contrast
|
|
1991
1991
|
*/
|
|
1992
1992
|
contrast: [{
|
|
1993
|
-
contrast: [G,
|
|
1993
|
+
contrast: [G, R, T]
|
|
1994
1994
|
}],
|
|
1995
1995
|
/**
|
|
1996
1996
|
* Drop Shadow
|
|
@@ -2001,7 +2001,7 @@ const J = (e) => {
|
|
|
2001
2001
|
// Deprecated since Tailwind CSS v4.0.0
|
|
2002
2002
|
"",
|
|
2003
2003
|
"none",
|
|
2004
|
-
|
|
2004
|
+
L,
|
|
2005
2005
|
ye,
|
|
2006
2006
|
Ce
|
|
2007
2007
|
]
|
|
@@ -2018,35 +2018,35 @@ const J = (e) => {
|
|
|
2018
2018
|
* @see https://tailwindcss.com/docs/grayscale
|
|
2019
2019
|
*/
|
|
2020
2020
|
grayscale: [{
|
|
2021
|
-
grayscale: ["", G,
|
|
2021
|
+
grayscale: ["", G, R, T]
|
|
2022
2022
|
}],
|
|
2023
2023
|
/**
|
|
2024
2024
|
* Hue Rotate
|
|
2025
2025
|
* @see https://tailwindcss.com/docs/hue-rotate
|
|
2026
2026
|
*/
|
|
2027
2027
|
"hue-rotate": [{
|
|
2028
|
-
"hue-rotate": [G,
|
|
2028
|
+
"hue-rotate": [G, R, T]
|
|
2029
2029
|
}],
|
|
2030
2030
|
/**
|
|
2031
2031
|
* Invert
|
|
2032
2032
|
* @see https://tailwindcss.com/docs/invert
|
|
2033
2033
|
*/
|
|
2034
2034
|
invert: [{
|
|
2035
|
-
invert: ["", G,
|
|
2035
|
+
invert: ["", G, R, T]
|
|
2036
2036
|
}],
|
|
2037
2037
|
/**
|
|
2038
2038
|
* Saturate
|
|
2039
2039
|
* @see https://tailwindcss.com/docs/saturate
|
|
2040
2040
|
*/
|
|
2041
2041
|
saturate: [{
|
|
2042
|
-
saturate: [G,
|
|
2042
|
+
saturate: [G, R, T]
|
|
2043
2043
|
}],
|
|
2044
2044
|
/**
|
|
2045
2045
|
* Sepia
|
|
2046
2046
|
* @see https://tailwindcss.com/docs/sepia
|
|
2047
2047
|
*/
|
|
2048
2048
|
sepia: [{
|
|
2049
|
-
sepia: ["", G,
|
|
2049
|
+
sepia: ["", G, R, T]
|
|
2050
2050
|
}],
|
|
2051
2051
|
/**
|
|
2052
2052
|
* Backdrop Filter
|
|
@@ -2057,7 +2057,7 @@ const J = (e) => {
|
|
|
2057
2057
|
// Deprecated since Tailwind CSS v3.0.0
|
|
2058
2058
|
"",
|
|
2059
2059
|
"none",
|
|
2060
|
-
|
|
2060
|
+
R,
|
|
2061
2061
|
T
|
|
2062
2062
|
]
|
|
2063
2063
|
}],
|
|
@@ -2073,56 +2073,56 @@ const J = (e) => {
|
|
|
2073
2073
|
* @see https://tailwindcss.com/docs/backdrop-brightness
|
|
2074
2074
|
*/
|
|
2075
2075
|
"backdrop-brightness": [{
|
|
2076
|
-
"backdrop-brightness": [G,
|
|
2076
|
+
"backdrop-brightness": [G, R, T]
|
|
2077
2077
|
}],
|
|
2078
2078
|
/**
|
|
2079
2079
|
* Backdrop Contrast
|
|
2080
2080
|
* @see https://tailwindcss.com/docs/backdrop-contrast
|
|
2081
2081
|
*/
|
|
2082
2082
|
"backdrop-contrast": [{
|
|
2083
|
-
"backdrop-contrast": [G,
|
|
2083
|
+
"backdrop-contrast": [G, R, T]
|
|
2084
2084
|
}],
|
|
2085
2085
|
/**
|
|
2086
2086
|
* Backdrop Grayscale
|
|
2087
2087
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
2088
2088
|
*/
|
|
2089
2089
|
"backdrop-grayscale": [{
|
|
2090
|
-
"backdrop-grayscale": ["", G,
|
|
2090
|
+
"backdrop-grayscale": ["", G, R, T]
|
|
2091
2091
|
}],
|
|
2092
2092
|
/**
|
|
2093
2093
|
* Backdrop Hue Rotate
|
|
2094
2094
|
* @see https://tailwindcss.com/docs/backdrop-hue-rotate
|
|
2095
2095
|
*/
|
|
2096
2096
|
"backdrop-hue-rotate": [{
|
|
2097
|
-
"backdrop-hue-rotate": [G,
|
|
2097
|
+
"backdrop-hue-rotate": [G, R, T]
|
|
2098
2098
|
}],
|
|
2099
2099
|
/**
|
|
2100
2100
|
* Backdrop Invert
|
|
2101
2101
|
* @see https://tailwindcss.com/docs/backdrop-invert
|
|
2102
2102
|
*/
|
|
2103
2103
|
"backdrop-invert": [{
|
|
2104
|
-
"backdrop-invert": ["", G,
|
|
2104
|
+
"backdrop-invert": ["", G, R, T]
|
|
2105
2105
|
}],
|
|
2106
2106
|
/**
|
|
2107
2107
|
* Backdrop Opacity
|
|
2108
2108
|
* @see https://tailwindcss.com/docs/backdrop-opacity
|
|
2109
2109
|
*/
|
|
2110
2110
|
"backdrop-opacity": [{
|
|
2111
|
-
"backdrop-opacity": [G,
|
|
2111
|
+
"backdrop-opacity": [G, R, T]
|
|
2112
2112
|
}],
|
|
2113
2113
|
/**
|
|
2114
2114
|
* Backdrop Saturate
|
|
2115
2115
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
2116
2116
|
*/
|
|
2117
2117
|
"backdrop-saturate": [{
|
|
2118
|
-
"backdrop-saturate": [G,
|
|
2118
|
+
"backdrop-saturate": [G, R, T]
|
|
2119
2119
|
}],
|
|
2120
2120
|
/**
|
|
2121
2121
|
* Backdrop Sepia
|
|
2122
2122
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
2123
2123
|
*/
|
|
2124
2124
|
"backdrop-sepia": [{
|
|
2125
|
-
"backdrop-sepia": ["", G,
|
|
2125
|
+
"backdrop-sepia": ["", G, R, T]
|
|
2126
2126
|
}],
|
|
2127
2127
|
// --------------
|
|
2128
2128
|
// --- Tables ---
|
|
@@ -2139,21 +2139,21 @@ const J = (e) => {
|
|
|
2139
2139
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2140
2140
|
*/
|
|
2141
2141
|
"border-spacing": [{
|
|
2142
|
-
"border-spacing":
|
|
2142
|
+
"border-spacing": _()
|
|
2143
2143
|
}],
|
|
2144
2144
|
/**
|
|
2145
2145
|
* Border Spacing X
|
|
2146
2146
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2147
2147
|
*/
|
|
2148
2148
|
"border-spacing-x": [{
|
|
2149
|
-
"border-spacing-x":
|
|
2149
|
+
"border-spacing-x": _()
|
|
2150
2150
|
}],
|
|
2151
2151
|
/**
|
|
2152
2152
|
* Border Spacing Y
|
|
2153
2153
|
* @see https://tailwindcss.com/docs/border-spacing
|
|
2154
2154
|
*/
|
|
2155
2155
|
"border-spacing-y": [{
|
|
2156
|
-
"border-spacing-y":
|
|
2156
|
+
"border-spacing-y": _()
|
|
2157
2157
|
}],
|
|
2158
2158
|
/**
|
|
2159
2159
|
* Table Layout
|
|
@@ -2177,7 +2177,7 @@ const J = (e) => {
|
|
|
2177
2177
|
* @see https://tailwindcss.com/docs/transition-property
|
|
2178
2178
|
*/
|
|
2179
2179
|
transition: [{
|
|
2180
|
-
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none",
|
|
2180
|
+
transition: ["", "all", "colors", "opacity", "shadow", "transform", "none", R, T]
|
|
2181
2181
|
}],
|
|
2182
2182
|
/**
|
|
2183
2183
|
* Transition Behavior
|
|
@@ -2191,28 +2191,28 @@ const J = (e) => {
|
|
|
2191
2191
|
* @see https://tailwindcss.com/docs/transition-duration
|
|
2192
2192
|
*/
|
|
2193
2193
|
duration: [{
|
|
2194
|
-
duration: [G, "initial",
|
|
2194
|
+
duration: [G, "initial", R, T]
|
|
2195
2195
|
}],
|
|
2196
2196
|
/**
|
|
2197
2197
|
* Transition Timing Function
|
|
2198
2198
|
* @see https://tailwindcss.com/docs/transition-timing-function
|
|
2199
2199
|
*/
|
|
2200
2200
|
ease: [{
|
|
2201
|
-
ease: ["linear", "initial",
|
|
2201
|
+
ease: ["linear", "initial", y, R, T]
|
|
2202
2202
|
}],
|
|
2203
2203
|
/**
|
|
2204
2204
|
* Transition Delay
|
|
2205
2205
|
* @see https://tailwindcss.com/docs/transition-delay
|
|
2206
2206
|
*/
|
|
2207
2207
|
delay: [{
|
|
2208
|
-
delay: [G,
|
|
2208
|
+
delay: [G, R, T]
|
|
2209
2209
|
}],
|
|
2210
2210
|
/**
|
|
2211
2211
|
* Animation
|
|
2212
2212
|
* @see https://tailwindcss.com/docs/animation
|
|
2213
2213
|
*/
|
|
2214
2214
|
animate: [{
|
|
2215
|
-
animate: ["none", k,
|
|
2215
|
+
animate: ["none", k, R, T]
|
|
2216
2216
|
}],
|
|
2217
2217
|
// ------------------
|
|
2218
2218
|
// --- Transforms ---
|
|
@@ -2229,7 +2229,7 @@ const J = (e) => {
|
|
|
2229
2229
|
* @see https://tailwindcss.com/docs/perspective
|
|
2230
2230
|
*/
|
|
2231
2231
|
perspective: [{
|
|
2232
|
-
perspective: [v,
|
|
2232
|
+
perspective: [v, R, T]
|
|
2233
2233
|
}],
|
|
2234
2234
|
/**
|
|
2235
2235
|
* Perspective Origin
|
|
@@ -2325,7 +2325,7 @@ const J = (e) => {
|
|
|
2325
2325
|
* @see https://tailwindcss.com/docs/transform
|
|
2326
2326
|
*/
|
|
2327
2327
|
transform: [{
|
|
2328
|
-
transform: [
|
|
2328
|
+
transform: [R, T, "", "none", "gpu", "cpu"]
|
|
2329
2329
|
}],
|
|
2330
2330
|
/**
|
|
2331
2331
|
* Transform Origin
|
|
@@ -2410,7 +2410,7 @@ const J = (e) => {
|
|
|
2410
2410
|
* @see https://tailwindcss.com/docs/cursor
|
|
2411
2411
|
*/
|
|
2412
2412
|
cursor: [{
|
|
2413
|
-
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out",
|
|
2413
|
+
cursor: ["auto", "default", "pointer", "wait", "text", "move", "help", "not-allowed", "none", "context-menu", "progress", "cell", "crosshair", "vertical-text", "alias", "copy", "no-drop", "grab", "grabbing", "all-scroll", "col-resize", "row-resize", "n-resize", "e-resize", "s-resize", "w-resize", "ne-resize", "nw-resize", "se-resize", "sw-resize", "ew-resize", "ns-resize", "nesw-resize", "nwse-resize", "zoom-in", "zoom-out", R, T]
|
|
2414
2414
|
}],
|
|
2415
2415
|
/**
|
|
2416
2416
|
* Field Sizing
|
|
@@ -2445,126 +2445,126 @@ const J = (e) => {
|
|
|
2445
2445
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2446
2446
|
*/
|
|
2447
2447
|
"scroll-m": [{
|
|
2448
|
-
"scroll-m":
|
|
2448
|
+
"scroll-m": _()
|
|
2449
2449
|
}],
|
|
2450
2450
|
/**
|
|
2451
2451
|
* Scroll Margin X
|
|
2452
2452
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2453
2453
|
*/
|
|
2454
2454
|
"scroll-mx": [{
|
|
2455
|
-
"scroll-mx":
|
|
2455
|
+
"scroll-mx": _()
|
|
2456
2456
|
}],
|
|
2457
2457
|
/**
|
|
2458
2458
|
* Scroll Margin Y
|
|
2459
2459
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2460
2460
|
*/
|
|
2461
2461
|
"scroll-my": [{
|
|
2462
|
-
"scroll-my":
|
|
2462
|
+
"scroll-my": _()
|
|
2463
2463
|
}],
|
|
2464
2464
|
/**
|
|
2465
2465
|
* Scroll Margin Start
|
|
2466
2466
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2467
2467
|
*/
|
|
2468
2468
|
"scroll-ms": [{
|
|
2469
|
-
"scroll-ms":
|
|
2469
|
+
"scroll-ms": _()
|
|
2470
2470
|
}],
|
|
2471
2471
|
/**
|
|
2472
2472
|
* Scroll Margin End
|
|
2473
2473
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2474
2474
|
*/
|
|
2475
2475
|
"scroll-me": [{
|
|
2476
|
-
"scroll-me":
|
|
2476
|
+
"scroll-me": _()
|
|
2477
2477
|
}],
|
|
2478
2478
|
/**
|
|
2479
2479
|
* Scroll Margin Top
|
|
2480
2480
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2481
2481
|
*/
|
|
2482
2482
|
"scroll-mt": [{
|
|
2483
|
-
"scroll-mt":
|
|
2483
|
+
"scroll-mt": _()
|
|
2484
2484
|
}],
|
|
2485
2485
|
/**
|
|
2486
2486
|
* Scroll Margin Right
|
|
2487
2487
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2488
2488
|
*/
|
|
2489
2489
|
"scroll-mr": [{
|
|
2490
|
-
"scroll-mr":
|
|
2490
|
+
"scroll-mr": _()
|
|
2491
2491
|
}],
|
|
2492
2492
|
/**
|
|
2493
2493
|
* Scroll Margin Bottom
|
|
2494
2494
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2495
2495
|
*/
|
|
2496
2496
|
"scroll-mb": [{
|
|
2497
|
-
"scroll-mb":
|
|
2497
|
+
"scroll-mb": _()
|
|
2498
2498
|
}],
|
|
2499
2499
|
/**
|
|
2500
2500
|
* Scroll Margin Left
|
|
2501
2501
|
* @see https://tailwindcss.com/docs/scroll-margin
|
|
2502
2502
|
*/
|
|
2503
2503
|
"scroll-ml": [{
|
|
2504
|
-
"scroll-ml":
|
|
2504
|
+
"scroll-ml": _()
|
|
2505
2505
|
}],
|
|
2506
2506
|
/**
|
|
2507
2507
|
* Scroll Padding
|
|
2508
2508
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2509
2509
|
*/
|
|
2510
2510
|
"scroll-p": [{
|
|
2511
|
-
"scroll-p":
|
|
2511
|
+
"scroll-p": _()
|
|
2512
2512
|
}],
|
|
2513
2513
|
/**
|
|
2514
2514
|
* Scroll Padding X
|
|
2515
2515
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2516
2516
|
*/
|
|
2517
2517
|
"scroll-px": [{
|
|
2518
|
-
"scroll-px":
|
|
2518
|
+
"scroll-px": _()
|
|
2519
2519
|
}],
|
|
2520
2520
|
/**
|
|
2521
2521
|
* Scroll Padding Y
|
|
2522
2522
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2523
2523
|
*/
|
|
2524
2524
|
"scroll-py": [{
|
|
2525
|
-
"scroll-py":
|
|
2525
|
+
"scroll-py": _()
|
|
2526
2526
|
}],
|
|
2527
2527
|
/**
|
|
2528
2528
|
* Scroll Padding Start
|
|
2529
2529
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2530
2530
|
*/
|
|
2531
2531
|
"scroll-ps": [{
|
|
2532
|
-
"scroll-ps":
|
|
2532
|
+
"scroll-ps": _()
|
|
2533
2533
|
}],
|
|
2534
2534
|
/**
|
|
2535
2535
|
* Scroll Padding End
|
|
2536
2536
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2537
2537
|
*/
|
|
2538
2538
|
"scroll-pe": [{
|
|
2539
|
-
"scroll-pe":
|
|
2539
|
+
"scroll-pe": _()
|
|
2540
2540
|
}],
|
|
2541
2541
|
/**
|
|
2542
2542
|
* Scroll Padding Top
|
|
2543
2543
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2544
2544
|
*/
|
|
2545
2545
|
"scroll-pt": [{
|
|
2546
|
-
"scroll-pt":
|
|
2546
|
+
"scroll-pt": _()
|
|
2547
2547
|
}],
|
|
2548
2548
|
/**
|
|
2549
2549
|
* Scroll Padding Right
|
|
2550
2550
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2551
2551
|
*/
|
|
2552
2552
|
"scroll-pr": [{
|
|
2553
|
-
"scroll-pr":
|
|
2553
|
+
"scroll-pr": _()
|
|
2554
2554
|
}],
|
|
2555
2555
|
/**
|
|
2556
2556
|
* Scroll Padding Bottom
|
|
2557
2557
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2558
2558
|
*/
|
|
2559
2559
|
"scroll-pb": [{
|
|
2560
|
-
"scroll-pb":
|
|
2560
|
+
"scroll-pb": _()
|
|
2561
2561
|
}],
|
|
2562
2562
|
/**
|
|
2563
2563
|
* Scroll Padding Left
|
|
2564
2564
|
* @see https://tailwindcss.com/docs/scroll-padding
|
|
2565
2565
|
*/
|
|
2566
2566
|
"scroll-pl": [{
|
|
2567
|
-
"scroll-pl":
|
|
2567
|
+
"scroll-pl": _()
|
|
2568
2568
|
}],
|
|
2569
2569
|
/**
|
|
2570
2570
|
* Scroll Snap Align
|
|
@@ -2632,7 +2632,7 @@ const J = (e) => {
|
|
|
2632
2632
|
* @see https://tailwindcss.com/docs/will-change
|
|
2633
2633
|
*/
|
|
2634
2634
|
"will-change": [{
|
|
2635
|
-
"will-change": ["auto", "scroll", "contents", "transform",
|
|
2635
|
+
"will-change": ["auto", "scroll", "contents", "transform", R, T]
|
|
2636
2636
|
}],
|
|
2637
2637
|
// -----------
|
|
2638
2638
|
// --- SVG ---
|
|
@@ -2649,7 +2649,7 @@ const J = (e) => {
|
|
|
2649
2649
|
* @see https://tailwindcss.com/docs/stroke-width
|
|
2650
2650
|
*/
|
|
2651
2651
|
"stroke-w": [{
|
|
2652
|
-
stroke: [G, be, ue,
|
|
2652
|
+
stroke: [G, be, ue, Ae]
|
|
2653
2653
|
}],
|
|
2654
2654
|
/**
|
|
2655
2655
|
* Stroke
|
|
@@ -2736,45 +2736,45 @@ const J = (e) => {
|
|
|
2736
2736
|
classNameHeading: d = "",
|
|
2737
2737
|
classNameContent: l = "",
|
|
2738
2738
|
onExpand: x,
|
|
2739
|
-
singleOpen:
|
|
2740
|
-
classNameHr:
|
|
2741
|
-
useBackground:
|
|
2742
|
-
dataTestId:
|
|
2739
|
+
singleOpen: g,
|
|
2740
|
+
classNameHr: b = "",
|
|
2741
|
+
useBackground: M = !0,
|
|
2742
|
+
dataTestId: L,
|
|
2743
2743
|
dataTestIdLabel: C,
|
|
2744
2744
|
dataTestIdBody: v,
|
|
2745
|
-
index:
|
|
2746
|
-
children:
|
|
2745
|
+
index: f,
|
|
2746
|
+
children: y,
|
|
2747
2747
|
...k
|
|
2748
2748
|
}, S) => {
|
|
2749
|
-
const [
|
|
2750
|
-
x &&
|
|
2751
|
-
},
|
|
2749
|
+
const [w, D] = Y(!1), [V, I] = Y(Oe), [_, A] = Y(Ee), [E, O] = Y(""), j = `accordion-${f ?? s.replace(/\s+/g, "-").toLowerCase()}`, W = () => {
|
|
2750
|
+
x && g && x(D), D(!w);
|
|
2751
|
+
}, N = (o) => {
|
|
2752
2752
|
(o.key === "Enter" || o.key === " ") && (o.preventDefault(), W());
|
|
2753
2753
|
};
|
|
2754
2754
|
return Z(() => {
|
|
2755
|
-
O(m("border-[#dfe1e2] -mt-4 pt-0 mb-3",
|
|
2756
|
-
}, [
|
|
2757
|
-
|
|
2758
|
-
}, [
|
|
2759
|
-
|
|
2760
|
-
}, [
|
|
2761
|
-
/* @__PURE__ */
|
|
2755
|
+
O(m("border-[#dfe1e2] -mt-4 pt-0 mb-3", b));
|
|
2756
|
+
}, [b]), Z(() => {
|
|
2757
|
+
I(M ? Oe : m(Oe, "bg-transparent border-0"));
|
|
2758
|
+
}, [M]), Z(() => {
|
|
2759
|
+
A(w && M ? m(Ee, "border-b-0! rounded-t rounded-b-none") : Ee);
|
|
2760
|
+
}, [w, M]), /* @__PURE__ */ B("div", { ref: S, className: n, "data-testid": L, children: [
|
|
2761
|
+
/* @__PURE__ */ B(
|
|
2762
2762
|
"button",
|
|
2763
2763
|
{
|
|
2764
|
-
className: m(
|
|
2764
|
+
className: m(_, xt.variant, d),
|
|
2765
2765
|
"aria-controls": `${j}-content`,
|
|
2766
|
-
"aria-expanded":
|
|
2766
|
+
"aria-expanded": w,
|
|
2767
2767
|
id: `${j}-header`,
|
|
2768
2768
|
onClick: W,
|
|
2769
|
-
onKeyDown:
|
|
2769
|
+
onKeyDown: N,
|
|
2770
2770
|
...k,
|
|
2771
2771
|
children: [
|
|
2772
2772
|
/* @__PURE__ */ t("span", { "data-testid": C, children: s }),
|
|
2773
|
-
/* @__PURE__ */ t("span", { children:
|
|
2773
|
+
/* @__PURE__ */ t("span", { children: w ? c || /* @__PURE__ */ t("img", { src: r ? L2 : pt, alt: "Close Icon" }) : i || /* @__PURE__ */ t("img", { src: r ? M2 : ht, alt: "Open Icon" }) })
|
|
2774
2774
|
]
|
|
2775
2775
|
}
|
|
2776
2776
|
),
|
|
2777
|
-
|
|
2777
|
+
w && /* @__PURE__ */ t(ae, { children: /* @__PURE__ */ B(
|
|
2778
2778
|
"div",
|
|
2779
2779
|
{
|
|
2780
2780
|
className: m(
|
|
@@ -2782,7 +2782,7 @@ const J = (e) => {
|
|
|
2782
2782
|
wt.variant,
|
|
2783
2783
|
l,
|
|
2784
2784
|
// rounded && useBackground && 'rounded-b-md', 'relative'
|
|
2785
|
-
|
|
2785
|
+
M && "rounded-b-md",
|
|
2786
2786
|
"relative"
|
|
2787
2787
|
),
|
|
2788
2788
|
id: `${j}-content`,
|
|
@@ -2790,8 +2790,8 @@ const J = (e) => {
|
|
|
2790
2790
|
"aria-labelledby": `${j}-header`,
|
|
2791
2791
|
"data-testid": v,
|
|
2792
2792
|
children: [
|
|
2793
|
-
|
|
2794
|
-
|
|
2793
|
+
M && a && /* @__PURE__ */ t("hr", { className: E }),
|
|
2794
|
+
y
|
|
2795
2795
|
]
|
|
2796
2796
|
}
|
|
2797
2797
|
) })
|
|
@@ -2810,17 +2810,17 @@ const J = (e) => {
|
|
|
2810
2810
|
classNameChildHeading: d,
|
|
2811
2811
|
classNameChildContent: l,
|
|
2812
2812
|
hr: x,
|
|
2813
|
-
classNameHr:
|
|
2814
|
-
useBackground:
|
|
2815
|
-
dataTestId:
|
|
2816
|
-
...
|
|
2813
|
+
classNameHr: g,
|
|
2814
|
+
useBackground: b,
|
|
2815
|
+
dataTestId: M,
|
|
2816
|
+
...L
|
|
2817
2817
|
}, C) => {
|
|
2818
|
-
const [v,
|
|
2818
|
+
const [v, f] = Y(
|
|
2819
2819
|
null
|
|
2820
|
-
),
|
|
2821
|
-
v && v(!1),
|
|
2820
|
+
), y = (k) => {
|
|
2821
|
+
v && v(!1), f(() => k);
|
|
2822
2822
|
};
|
|
2823
|
-
return /* @__PURE__ */ t("div", { ref: C, ...
|
|
2823
|
+
return /* @__PURE__ */ t("div", { ref: C, ...L, className: m(bt, i), "data-testid": M, children: We.map(e, (k, S) => xe(k) ? De(k, {
|
|
2824
2824
|
// <AccordionProps> to ensure child component sees parent specification in code
|
|
2825
2825
|
...k.props,
|
|
2826
2826
|
// Merge existing props from the child
|
|
@@ -2833,12 +2833,12 @@ const J = (e) => {
|
|
|
2833
2833
|
// className for child component
|
|
2834
2834
|
classNameContent: m(l, k.props.classNameContent),
|
|
2835
2835
|
singleOpen: a,
|
|
2836
|
-
onExpand: (
|
|
2836
|
+
onExpand: (w) => y(w),
|
|
2837
2837
|
// Pass expansion handler to child
|
|
2838
2838
|
// child defaults to true, so if false, use child/false value
|
|
2839
2839
|
hr: k.props.hr === !1 ? !1 : x,
|
|
2840
|
-
classNameHr: m(
|
|
2841
|
-
useBackground: k.props.useBackground === !1 ? !1 :
|
|
2840
|
+
classNameHr: m(g, k.props.classNameHr),
|
|
2841
|
+
useBackground: k.props.useBackground === !1 ? !1 : b,
|
|
2842
2842
|
index: S
|
|
2843
2843
|
}) : k) });
|
|
2844
2844
|
}
|
|
@@ -2857,40 +2857,40 @@ const J = (e) => {
|
|
|
2857
2857
|
setSelectedOption: d,
|
|
2858
2858
|
error: l = !1,
|
|
2859
2859
|
width: x = "",
|
|
2860
|
-
selected:
|
|
2861
|
-
dataTestId:
|
|
2862
|
-
dataTestIdButton:
|
|
2863
|
-
dataTestIdList:
|
|
2860
|
+
selected: g,
|
|
2861
|
+
dataTestId: b,
|
|
2862
|
+
dataTestIdButton: M,
|
|
2863
|
+
dataTestIdList: L,
|
|
2864
2864
|
...C
|
|
2865
2865
|
}) => {
|
|
2866
|
-
const v = Q(null),
|
|
2866
|
+
const v = Q(null), f = Q(null), y = Q(null), [k, S] = Y(!1), [w, D] = Y(!1), [V, I] = Y(void 0), [_, A] = Y(null), E = Q("bottom-[60px]"), [O, j] = Y(""), W = () => typeof c == "string" ? c : "Options";
|
|
2867
2867
|
Z(() => {
|
|
2868
|
-
if (
|
|
2869
|
-
const
|
|
2870
|
-
|
|
2868
|
+
if (g) {
|
|
2869
|
+
const $ = r.findIndex((H) => H.value != null ? H.value === g : H.name === g);
|
|
2870
|
+
$ > -1 && (A($), I(r[$].name));
|
|
2871
2871
|
}
|
|
2872
|
-
}, [r,
|
|
2873
|
-
if (
|
|
2874
|
-
const
|
|
2872
|
+
}, [r, g]), Z(() => {
|
|
2873
|
+
if (f.current) {
|
|
2874
|
+
const $ = f.current.getBoundingClientRect(), H = Math.floor($.height) + 2;
|
|
2875
2875
|
E.current = "bottom-[" + H + "px]";
|
|
2876
2876
|
}
|
|
2877
|
-
}, [
|
|
2878
|
-
const
|
|
2879
|
-
if (v.current &&
|
|
2880
|
-
const
|
|
2881
|
-
(F > U ? U : F) -
|
|
2877
|
+
}, [f.current]);
|
|
2878
|
+
const N = () => {
|
|
2879
|
+
if (v.current && y.current) {
|
|
2880
|
+
const $ = v.current.getBoundingClientRect(), H = y.current.offsetHeight, F = window.innerHeight, U = document.body.offsetHeight;
|
|
2881
|
+
(F > U ? U : F) - $.bottom < H && $.top > H ? D(!0) : D(!1);
|
|
2882
2882
|
}
|
|
2883
2883
|
}, o = Q([]);
|
|
2884
2884
|
Z(() => {
|
|
2885
2885
|
o.current = o.current.slice(0, r.length);
|
|
2886
2886
|
}, [r]);
|
|
2887
|
-
const [
|
|
2888
|
-
S(!k),
|
|
2887
|
+
const [p, h] = Y(0), u = () => {
|
|
2888
|
+
S(!k), h(0);
|
|
2889
2889
|
};
|
|
2890
2890
|
Z(() => {
|
|
2891
2891
|
j(l ? "border-2 border-[#ff0004] pl-[15px]" : "");
|
|
2892
2892
|
}, [l]), Z(() => {
|
|
2893
|
-
function
|
|
2893
|
+
function $(U) {
|
|
2894
2894
|
k && v.current && !v.current.contains(U.target) && S(!1);
|
|
2895
2895
|
}
|
|
2896
2896
|
function H(U) {
|
|
@@ -2899,68 +2899,68 @@ const J = (e) => {
|
|
|
2899
2899
|
function F(U) {
|
|
2900
2900
|
k && v.current && !v.current.contains(U.target) && S(!1);
|
|
2901
2901
|
}
|
|
2902
|
-
return document.addEventListener("mousedown",
|
|
2903
|
-
document.removeEventListener("mousedown",
|
|
2902
|
+
return document.addEventListener("mousedown", $), document.addEventListener("touchend", $), document.addEventListener("keydown", H), document.addEventListener("focusin", F), () => {
|
|
2903
|
+
document.removeEventListener("mousedown", $), document.removeEventListener("touchend", $), document.removeEventListener("keydown", H), document.removeEventListener("focusin", F);
|
|
2904
2904
|
};
|
|
2905
2905
|
}, [k]), Z(() => {
|
|
2906
|
-
k &&
|
|
2906
|
+
k && N();
|
|
2907
2907
|
}, [k]), Z(() => {
|
|
2908
|
-
k && o.current[
|
|
2909
|
-
}, [
|
|
2910
|
-
const z = (
|
|
2908
|
+
k && o.current[p]?.focus();
|
|
2909
|
+
}, [p, k]);
|
|
2910
|
+
const z = ($) => {
|
|
2911
2911
|
if (k)
|
|
2912
|
-
switch (
|
|
2912
|
+
switch ($.key) {
|
|
2913
2913
|
case "ArrowDown":
|
|
2914
|
-
|
|
2914
|
+
$.preventDefault(), h((H) => {
|
|
2915
2915
|
const F = (H + 1) % r.length;
|
|
2916
|
-
return
|
|
2916
|
+
return A(F), F;
|
|
2917
2917
|
});
|
|
2918
2918
|
break;
|
|
2919
2919
|
case "ArrowUp":
|
|
2920
|
-
|
|
2920
|
+
$.preventDefault(), h((H) => {
|
|
2921
2921
|
const F = (H - 1 + r.length) % r.length;
|
|
2922
|
-
return
|
|
2922
|
+
return A(F), F;
|
|
2923
2923
|
});
|
|
2924
2924
|
break;
|
|
2925
2925
|
case "Home":
|
|
2926
|
-
|
|
2926
|
+
$.preventDefault(), h(0);
|
|
2927
2927
|
break;
|
|
2928
2928
|
case "End":
|
|
2929
|
-
|
|
2929
|
+
$.preventDefault(), h(r.length - 1);
|
|
2930
2930
|
break;
|
|
2931
2931
|
}
|
|
2932
2932
|
};
|
|
2933
|
-
return /* @__PURE__ */
|
|
2933
|
+
return /* @__PURE__ */ B(
|
|
2934
2934
|
"div",
|
|
2935
2935
|
{
|
|
2936
2936
|
className: m("relative inline-block text-left w-[292px] md:w-[343px] lg:w-[600px] max-w-full", s),
|
|
2937
2937
|
ref: v,
|
|
2938
2938
|
...C,
|
|
2939
2939
|
"aria-disabled": i,
|
|
2940
|
-
"data-testid":
|
|
2940
|
+
"data-testid": b,
|
|
2941
2941
|
children: [
|
|
2942
2942
|
n ? /* @__PURE__ */ t("p", { className: "text-black mb-2 text-base font-['Arial']", children: n }) : "",
|
|
2943
|
-
/* @__PURE__ */
|
|
2943
|
+
/* @__PURE__ */ B(
|
|
2944
2944
|
"button",
|
|
2945
2945
|
{
|
|
2946
2946
|
onClick: u,
|
|
2947
|
-
ref:
|
|
2947
|
+
ref: f,
|
|
2948
2948
|
className: m(
|
|
2949
2949
|
yt,
|
|
2950
2950
|
e2[a] || e2.default,
|
|
2951
2951
|
O,
|
|
2952
2952
|
e,
|
|
2953
|
-
k &&
|
|
2953
|
+
k && w && "rounded-b-lg" || k && !w && "rounded-t-lg" || "rounded-lg"
|
|
2954
2954
|
),
|
|
2955
2955
|
"aria-label": "Select options - " + W(),
|
|
2956
2956
|
"aria-disabled": i,
|
|
2957
2957
|
"aria-expanded": k,
|
|
2958
2958
|
"aria-haspopup": "listbox",
|
|
2959
2959
|
disabled: i,
|
|
2960
|
-
"data-testid":
|
|
2960
|
+
"data-testid": M,
|
|
2961
2961
|
tabIndex: 0,
|
|
2962
2962
|
children: [
|
|
2963
|
-
/* @__PURE__ */ t("span", { className: "truncate", children:
|
|
2963
|
+
/* @__PURE__ */ t("span", { className: "truncate", children: _ === null ? c ?? "Options" : V }),
|
|
2964
2964
|
k ? a === "fill" ? /* @__PURE__ */ t("img", { src: Ct, alt: "chevron up" }) : /* @__PURE__ */ t("img", { src: L2, alt: "chevron up" }) : a === "fill" ? /* @__PURE__ */ t("img", { src: vt, alt: "chevron down" }) : /* @__PURE__ */ t("img", { src: M2, alt: "chevron down" })
|
|
2965
2965
|
]
|
|
2966
2966
|
}
|
|
@@ -2969,16 +2969,16 @@ const J = (e) => {
|
|
|
2969
2969
|
"div",
|
|
2970
2970
|
{
|
|
2971
2971
|
role: "listbox",
|
|
2972
|
-
"data-testid":
|
|
2973
|
-
ref:
|
|
2972
|
+
"data-testid": L,
|
|
2973
|
+
ref: y,
|
|
2974
2974
|
"aria-label": "Select option",
|
|
2975
2975
|
onKeyDown: z,
|
|
2976
2976
|
className: m(
|
|
2977
2977
|
"absolute w-full shadow-lg bg-white ring-1 ring-white/5 focus:outline-hidden z-10 ",
|
|
2978
|
-
k &&
|
|
2979
|
-
|
|
2978
|
+
k && w && "rounded-t-lg pt-1" || k && !w && "rounded-b-lg pb-1",
|
|
2979
|
+
w && E.current
|
|
2980
2980
|
),
|
|
2981
|
-
children: r.map((
|
|
2981
|
+
children: r.map(($, H) => (
|
|
2982
2982
|
// <li key={item.name}>
|
|
2983
2983
|
/* @__PURE__ */ t(
|
|
2984
2984
|
"button",
|
|
@@ -2989,17 +2989,17 @@ const J = (e) => {
|
|
|
2989
2989
|
className: `block w-full px-4 py-2 text-left text-base text-gray-700
|
|
2990
2990
|
hover:bg-[#092068]/20 focus:outline-hidden focus:bg-[#092068]/20`,
|
|
2991
2991
|
role: "option",
|
|
2992
|
-
"aria-selected":
|
|
2993
|
-
"aria-label": "option " +
|
|
2992
|
+
"aria-selected": _ === H,
|
|
2993
|
+
"aria-label": "option " + $.name,
|
|
2994
2994
|
onClick: () => {
|
|
2995
|
-
|
|
2995
|
+
A(H), I($.name), d($.value || $.name), S(!1);
|
|
2996
2996
|
},
|
|
2997
2997
|
onKeyDown: (F) => {
|
|
2998
|
-
F.key === "Enter" || F.code === "Enter" || F.key === " " ? (
|
|
2998
|
+
F.key === "Enter" || F.code === "Enter" || F.key === " " ? (A(H), I($.name), d($.value || $.name), S(!1)) : F.key === "Escape" && S(!1);
|
|
2999
2999
|
},
|
|
3000
|
-
children:
|
|
3000
|
+
children: $.name
|
|
3001
3001
|
},
|
|
3002
|
-
|
|
3002
|
+
$.name
|
|
3003
3003
|
)
|
|
3004
3004
|
))
|
|
3005
3005
|
}
|
|
@@ -3019,8 +3019,8 @@ const J = (e) => {
|
|
|
3019
3019
|
continue;
|
|
3020
3020
|
let l;
|
|
3021
3021
|
if (s === "12hr") {
|
|
3022
|
-
const
|
|
3023
|
-
l = `${a % 12 === 0 ? 12 : a % 12}:${d.toString().padStart(2, "0")} ${
|
|
3022
|
+
const g = a < 12 ? "AM" : "PM";
|
|
3023
|
+
l = `${a % 12 === 0 ? 12 : a % 12}:${d.toString().padStart(2, "0")} ${g}`;
|
|
3024
3024
|
} else
|
|
3025
3025
|
l = `${a.toString().padStart(2, "0")}:${d.toString().padStart(2, "0")}`;
|
|
3026
3026
|
const x = `${a.toString().padStart(2, "0")}:${d.toString().padStart(2, "0")}`;
|
|
@@ -3038,10 +3038,10 @@ const J = (e) => {
|
|
|
3038
3038
|
variant: d = "default",
|
|
3039
3039
|
setSelectedOption: l,
|
|
3040
3040
|
width: x = "",
|
|
3041
|
-
dataTestId:
|
|
3042
|
-
dataTestIdButton:
|
|
3043
|
-
dataTestIdList:
|
|
3044
|
-
...
|
|
3041
|
+
dataTestId: g,
|
|
3042
|
+
dataTestIdButton: b,
|
|
3043
|
+
dataTestIdList: M,
|
|
3044
|
+
...L
|
|
3045
3045
|
}) => {
|
|
3046
3046
|
const C = Mt(n, r, c);
|
|
3047
3047
|
return console.log(n), console.log(C), /* @__PURE__ */ t(
|
|
@@ -3054,9 +3054,9 @@ const J = (e) => {
|
|
|
3054
3054
|
options: C,
|
|
3055
3055
|
variant: d,
|
|
3056
3056
|
width: x,
|
|
3057
|
-
dataTestId:
|
|
3058
|
-
dataTestIdButton:
|
|
3059
|
-
dataTestIdList:
|
|
3057
|
+
dataTestId: g,
|
|
3058
|
+
dataTestIdButton: b,
|
|
3059
|
+
dataTestIdList: M,
|
|
3060
3060
|
setSelectedOption: () => l
|
|
3061
3061
|
}
|
|
3062
3062
|
);
|
|
@@ -3098,13 +3098,13 @@ const J = (e) => {
|
|
|
3098
3098
|
dataTestIdIcon: d,
|
|
3099
3099
|
dataTestIdContent: l,
|
|
3100
3100
|
...x
|
|
3101
|
-
},
|
|
3102
|
-
const
|
|
3103
|
-
return /* @__PURE__ */
|
|
3101
|
+
}, g) => {
|
|
3102
|
+
const b = St[e];
|
|
3103
|
+
return /* @__PURE__ */ B(
|
|
3104
3104
|
"div",
|
|
3105
3105
|
{
|
|
3106
3106
|
className: m(ke[e].className, s),
|
|
3107
|
-
ref:
|
|
3107
|
+
ref: g,
|
|
3108
3108
|
...x,
|
|
3109
3109
|
"data-testid": a,
|
|
3110
3110
|
children: [
|
|
@@ -3112,7 +3112,7 @@ const J = (e) => {
|
|
|
3112
3112
|
"img",
|
|
3113
3113
|
{
|
|
3114
3114
|
className: m(ke[e].classNameImage, n),
|
|
3115
|
-
src:
|
|
3115
|
+
src: b,
|
|
3116
3116
|
alt: "warning",
|
|
3117
3117
|
"data-testid": d
|
|
3118
3118
|
}
|
|
@@ -3144,28 +3144,28 @@ const zt = {
|
|
|
3144
3144
|
// separator = separatorSvg,
|
|
3145
3145
|
...l
|
|
3146
3146
|
}, x) => {
|
|
3147
|
-
const
|
|
3148
|
-
name: Vt(decodeURIComponent(
|
|
3149
|
-
route: "/" +
|
|
3147
|
+
const g = Q(null), [b, M] = Y("/"), [L, C] = Y(!1), [v, f] = Y(), [y, k] = Y(0), { pathname: S } = B2(), w = je(() => r && r.length > 0 ? (M(r[0].route), r.slice(1)) : S.split("/").filter(Boolean).map((I, _, A) => ({
|
|
3148
|
+
name: Vt(decodeURIComponent(I)),
|
|
3149
|
+
route: "/" + A.slice(0, _ + 1).join("/")
|
|
3150
3150
|
})), [r, S]);
|
|
3151
3151
|
Z(() => {
|
|
3152
|
-
const V =
|
|
3152
|
+
const V = g.current;
|
|
3153
3153
|
V && k(V.offsetWidth);
|
|
3154
3154
|
}, []);
|
|
3155
3155
|
const D = () => {
|
|
3156
|
-
const V =
|
|
3157
|
-
(V && !v || V && v && Date.now() > v + 200) && (
|
|
3156
|
+
const V = g.current;
|
|
3157
|
+
(V && !v || V && v && Date.now() > v + 200) && (L ? V.clientWidth > y && C(!1) : V.scrollWidth > V.clientWidth && C(!0), f(Date.now()));
|
|
3158
3158
|
};
|
|
3159
3159
|
return Z(() => {
|
|
3160
|
-
const V =
|
|
3160
|
+
const V = g.current;
|
|
3161
3161
|
if (!V)
|
|
3162
3162
|
return;
|
|
3163
|
-
|
|
3164
|
-
const
|
|
3165
|
-
return
|
|
3166
|
-
|
|
3163
|
+
w.length > 2 ? D() : C(!1);
|
|
3164
|
+
const I = new ResizeObserver(D);
|
|
3165
|
+
return I.observe(V), () => {
|
|
3166
|
+
I.disconnect();
|
|
3167
3167
|
};
|
|
3168
|
-
}, [v,
|
|
3168
|
+
}, [v, w]), /* @__PURE__ */ t(
|
|
3169
3169
|
"nav",
|
|
3170
3170
|
{
|
|
3171
3171
|
className: m(zt[c], e),
|
|
@@ -3173,17 +3173,17 @@ const zt = {
|
|
|
3173
3173
|
ref: x,
|
|
3174
3174
|
"aria-label": "Breadcrumbs",
|
|
3175
3175
|
"data-testid": a,
|
|
3176
|
-
children: /* @__PURE__ */
|
|
3176
|
+
children: /* @__PURE__ */ B(
|
|
3177
3177
|
"div",
|
|
3178
3178
|
{
|
|
3179
|
-
ref:
|
|
3179
|
+
ref: g,
|
|
3180
3180
|
className: "flex list-none flex-nowrap text-clip overflow-hidden text-nowrap w-full",
|
|
3181
3181
|
children: [
|
|
3182
|
-
/* @__PURE__ */
|
|
3182
|
+
/* @__PURE__ */ B("span", { className: "breadcrumb-item inline-flex items-center shrink-0", children: [
|
|
3183
3183
|
/* @__PURE__ */ t(
|
|
3184
3184
|
Be,
|
|
3185
3185
|
{
|
|
3186
|
-
to:
|
|
3186
|
+
to: b,
|
|
3187
3187
|
className: m(
|
|
3188
3188
|
"text-[#747476] hover:text-[#0000ff] md:hover:underline capitalize me-2 hidden md:inline-flex",
|
|
3189
3189
|
s
|
|
@@ -3194,22 +3194,22 @@ const zt = {
|
|
|
3194
3194
|
/* @__PURE__ */ t(
|
|
3195
3195
|
Be,
|
|
3196
3196
|
{
|
|
3197
|
-
to:
|
|
3197
|
+
to: b,
|
|
3198
3198
|
"aria-label": "Return to Home",
|
|
3199
3199
|
className: m(
|
|
3200
3200
|
"capitalize me-2 inline-flex md:hidden",
|
|
3201
3201
|
s
|
|
3202
3202
|
),
|
|
3203
|
-
children:
|
|
3203
|
+
children: w?.length > 0 ? /* @__PURE__ */ t(t2, { className: n }) : /* @__PURE__ */ t(t2, { className: n })
|
|
3204
3204
|
}
|
|
3205
3205
|
),
|
|
3206
|
-
|
|
3206
|
+
w.length > 0 ? /* @__PURE__ */ t("span", { className: m("me-2", s), children: /* @__PURE__ */ t(Te, { className: d }) }) : ""
|
|
3207
3207
|
] }),
|
|
3208
3208
|
/* @__PURE__ */ t(
|
|
3209
3209
|
"span",
|
|
3210
3210
|
{
|
|
3211
3211
|
className: "",
|
|
3212
|
-
children:
|
|
3212
|
+
children: w.map((V, I) => L ? /* @__PURE__ */ t("span", { className: "inline-flex items-center shrink-0 text-nowrap", children: I === w.length - 1 ? /* @__PURE__ */ B(ae, { children: [
|
|
3213
3213
|
/* @__PURE__ */ t("span", { className: "text-nowrap me-3", children: "..." }),
|
|
3214
3214
|
/* @__PURE__ */ t("span", { className: m("me-3", s), children: /* @__PURE__ */ t(Te, { className: d }) }),
|
|
3215
3215
|
/* @__PURE__ */ t(
|
|
@@ -3220,12 +3220,12 @@ const zt = {
|
|
|
3220
3220
|
children: decodeURIComponent(V.name).replace(/-/g, " ")
|
|
3221
3221
|
}
|
|
3222
3222
|
)
|
|
3223
|
-
] }) : "" },
|
|
3223
|
+
] }) : "" }, I) : /* @__PURE__ */ B(
|
|
3224
3224
|
"span",
|
|
3225
3225
|
{
|
|
3226
3226
|
className: "breadcrumb-item inline-flex items-center shrink-0",
|
|
3227
3227
|
children: [
|
|
3228
|
-
|
|
3228
|
+
I === w.length - 1 ? (
|
|
3229
3229
|
// Render the current page as plain text (last item in list)
|
|
3230
3230
|
/* @__PURE__ */ t(
|
|
3231
3231
|
"span",
|
|
@@ -3249,11 +3249,11 @@ const zt = {
|
|
|
3249
3249
|
}
|
|
3250
3250
|
)
|
|
3251
3251
|
),
|
|
3252
|
-
|
|
3252
|
+
I < w.length - 1 && // <span className={twMerge("me-3", className)}><img src={separator} alt='vector'></img></span>
|
|
3253
3253
|
/* @__PURE__ */ t("span", { className: m("me-3", s), children: /* @__PURE__ */ t(Te, { className: d }) })
|
|
3254
3254
|
]
|
|
3255
3255
|
},
|
|
3256
|
-
|
|
3256
|
+
I
|
|
3257
3257
|
))
|
|
3258
3258
|
}
|
|
3259
3259
|
)
|
|
@@ -3291,7 +3291,7 @@ const zt = {
|
|
|
3291
3291
|
xmlns: "http://www.w3.org/2000/svg",
|
|
3292
3292
|
children: /* @__PURE__ */ t("path", { id: "Vector 1", d: "M1 1L5 5.5L1 10", "stroke-width": "2", className: e })
|
|
3293
3293
|
}
|
|
3294
|
-
), Ht = 'inline-flex items-center justify-center whitespace-nowrap rounded-md ring-offset-background transition-colors focus-visible:outline-hidden font-["Arial"] disabled:pointer-events-none text-sm md:text-base lg:text-lg disabled:opacity-50 px-6 py-[8px] md:py-[12px] lg:py-[16px] h-[40px] md:h-[48px] lg:h-[56px] ',
|
|
3294
|
+
), Ht = 'inline-flex items-center justify-center whitespace-nowrap rounded-md ring-offset-background transition-colors focus-visible:outline-hidden font-["Arial"] disabled:pointer-events-none text-sm md:text-base lg:text-lg disabled:opacity-50 px-6 py-[8px] md:py-[12px] lg:py-[16px] h-[40px] md:h-[48px] lg:h-[56px] ', Re = {
|
|
3295
3295
|
default: {
|
|
3296
3296
|
normal: "border-2 border-gray-300 rounded-md bg-gray-200 hover:bg-slate-400 text-black text-sm md:text-base lg:text-lg hover:text-black hover:border-slate-600 disabled:bg-dha-mc-bottom-nav-background disabled:text-dha-mc-checkbox-inactive focus:border-black disabled:border-dha-mc-bottom-nav-background disabled:border-2 py-0 md:py-0 lg:py-0 h-[48px] mt-1",
|
|
3297
3297
|
selected: "bg-gray-500 text-white"
|
|
@@ -3324,40 +3324,40 @@ const zt = {
|
|
|
3324
3324
|
iconLeft: d,
|
|
3325
3325
|
iconRight: l,
|
|
3326
3326
|
iconPosition: x,
|
|
3327
|
-
variant:
|
|
3328
|
-
dataTestId:
|
|
3329
|
-
type:
|
|
3330
|
-
children:
|
|
3327
|
+
variant: g = "default",
|
|
3328
|
+
dataTestId: b,
|
|
3329
|
+
type: M = "button",
|
|
3330
|
+
children: L,
|
|
3331
3331
|
selected: C = !1,
|
|
3332
3332
|
classNameSelected: v,
|
|
3333
|
-
classNameGroup:
|
|
3334
|
-
...
|
|
3333
|
+
classNameGroup: f = "",
|
|
3334
|
+
...y
|
|
3335
3335
|
}, k) => {
|
|
3336
|
-
const [S,
|
|
3336
|
+
const [S, w] = Y("");
|
|
3337
3337
|
Z(() => {
|
|
3338
|
-
let
|
|
3339
|
-
C && !v ?
|
|
3340
|
-
}, [C, v,
|
|
3338
|
+
let I = Re[g].normal || Re.default.normal;
|
|
3339
|
+
C && !v ? I = m(I, Re[g].selected) : C && v && (I = m(I, v)), w(m(Ht, I));
|
|
3340
|
+
}, [C, v, g]);
|
|
3341
3341
|
const D = d ?? (a && (x === "left" || x === "both") ? a : void 0), V = l ?? (a && (x === "right" || x === "both") ? a : void 0);
|
|
3342
|
-
return /* @__PURE__ */
|
|
3342
|
+
return /* @__PURE__ */ B(
|
|
3343
3343
|
"button",
|
|
3344
3344
|
{
|
|
3345
|
-
type:
|
|
3345
|
+
type: M,
|
|
3346
3346
|
onClick: s,
|
|
3347
|
-
"data-testid":
|
|
3347
|
+
"data-testid": b,
|
|
3348
3348
|
className: `${x === "iconOnly" ? m(
|
|
3349
3349
|
S,
|
|
3350
3350
|
"px-[12px] md:px-[14px] lg:px-[16px] py-[8px] md:py-[12px] lg:py-[16px]",
|
|
3351
|
-
|
|
3351
|
+
f,
|
|
3352
3352
|
// passed in from ButtonGroup if present
|
|
3353
3353
|
n
|
|
3354
3354
|
// dev over-rides
|
|
3355
|
-
) : m(S,
|
|
3355
|
+
) : m(S, f, n)}`,
|
|
3356
3356
|
ref: k,
|
|
3357
|
-
...
|
|
3357
|
+
...y,
|
|
3358
3358
|
children: [
|
|
3359
3359
|
D && /* @__PURE__ */ t("span", { className: m("mr-3", r), children: D }),
|
|
3360
|
-
x === "iconOnly" && a ? /* @__PURE__ */ t("span", { className: "size-6", children: a }) : /* @__PURE__ */ t("span", { className: m("grow-1", i), children:
|
|
3360
|
+
x === "iconOnly" && a ? /* @__PURE__ */ t("span", { className: "size-6", children: a }) : /* @__PURE__ */ t("span", { className: m("grow-1", i), children: L || e }),
|
|
3361
3361
|
V && /* @__PURE__ */ t("span", { className: m("ml-3", c), children: V })
|
|
3362
3362
|
]
|
|
3363
3363
|
}
|
|
@@ -3381,30 +3381,30 @@ const Ne = {
|
|
|
3381
3381
|
}, Bt = re(
|
|
3382
3382
|
({ className: e, children: s, classNameButtons: n, variant: r = "default", dataTestId: c, ...i }, a) => {
|
|
3383
3383
|
let d = 0;
|
|
3384
|
-
const l = We.map(s, (
|
|
3385
|
-
if (xe(
|
|
3384
|
+
const l = We.map(s, (M) => {
|
|
3385
|
+
if (xe(M)) {
|
|
3386
3386
|
++d;
|
|
3387
|
-
const
|
|
3388
|
-
return De(
|
|
3387
|
+
const L = M, C = L.props.classNameGroup || "";
|
|
3388
|
+
return De(L, {
|
|
3389
3389
|
classNameGroup: m(C, Ne[r].button, n)
|
|
3390
3390
|
});
|
|
3391
3391
|
}
|
|
3392
|
-
return
|
|
3393
|
-
}), x = d === 3 && r === "default",
|
|
3394
|
-
return x ? /* @__PURE__ */
|
|
3395
|
-
/* @__PURE__ */ t("div", { className: m(Ne[r].container, e), children:
|
|
3396
|
-
/* @__PURE__ */ t("div", { className: m(Ne[r].container, "justify-center", e), children:
|
|
3392
|
+
return M;
|
|
3393
|
+
}), x = d === 3 && r === "default", g = l?.slice(0, 2), b = l?.slice(2);
|
|
3394
|
+
return x ? /* @__PURE__ */ B("div", { className: "inline-flex flex-col gap-1", "data-testid": c, children: [
|
|
3395
|
+
/* @__PURE__ */ t("div", { className: m(Ne[r].container, e), children: g }),
|
|
3396
|
+
/* @__PURE__ */ t("div", { className: m(Ne[r].container, "justify-center", e), children: b })
|
|
3397
3397
|
] }) : /* @__PURE__ */ t("div", { className: m("", Ne[r].container, e), ref: a, "data-testid": c, children: l });
|
|
3398
3398
|
}
|
|
3399
3399
|
);
|
|
3400
3400
|
Bt.displayName = "SDK ButtonGroup";
|
|
3401
|
-
const
|
|
3401
|
+
const It = {
|
|
3402
3402
|
default: "flex flex-col w-64 max-w-64",
|
|
3403
3403
|
// image top
|
|
3404
3404
|
imageBottom: "flex flex-col-reverse w-64 mx-w-64",
|
|
3405
3405
|
imageLeft: "flex flex-row h-auto max-w-lg min-w-96",
|
|
3406
3406
|
imageRight: "flex flex-row-reverse h-auto max-w-lg min-w-96"
|
|
3407
|
-
},
|
|
3407
|
+
}, At = {
|
|
3408
3408
|
default: "bg-white overflow-hidden rounded-lg",
|
|
3409
3409
|
outline: "bg-white overflow-hidden rounded-lg shadow-md border border-slate-300"
|
|
3410
3410
|
}, Et = "px-4 my-2", Ot = "px-2 my-2", Tt = le.forwardRef(
|
|
@@ -3419,22 +3419,22 @@ const At = {
|
|
|
3419
3419
|
ariaLabel: d = "card component",
|
|
3420
3420
|
dataTestIdContainer: l,
|
|
3421
3421
|
dataTestIdImage: x,
|
|
3422
|
-
dataTestIdChildren:
|
|
3423
|
-
children:
|
|
3424
|
-
|
|
3425
|
-
},
|
|
3422
|
+
dataTestIdChildren: g,
|
|
3423
|
+
children: b,
|
|
3424
|
+
...M
|
|
3425
|
+
}, L) => /* @__PURE__ */ B(
|
|
3426
3426
|
"div",
|
|
3427
3427
|
{
|
|
3428
3428
|
className: m(
|
|
3429
3429
|
"flex ",
|
|
3430
|
-
|
|
3431
|
-
|
|
3430
|
+
At[n],
|
|
3431
|
+
It[s],
|
|
3432
3432
|
e
|
|
3433
3433
|
),
|
|
3434
3434
|
"aria-label": d,
|
|
3435
|
-
ref:
|
|
3435
|
+
ref: L,
|
|
3436
3436
|
"data-testid": l,
|
|
3437
|
-
|
|
3437
|
+
...M,
|
|
3438
3438
|
children: [
|
|
3439
3439
|
/* @__PURE__ */ t(
|
|
3440
3440
|
"div",
|
|
@@ -3444,7 +3444,7 @@ const At = {
|
|
|
3444
3444
|
children: r && /* @__PURE__ */ t("img", { src: r, alt: a, className: c })
|
|
3445
3445
|
}
|
|
3446
3446
|
),
|
|
3447
|
-
/* @__PURE__ */ t("div", { className: "flex-auto px-2 py-3", "data-testid":
|
|
3447
|
+
/* @__PURE__ */ t("div", { className: "flex-auto px-2 py-3", "data-testid": g, children: b })
|
|
3448
3448
|
]
|
|
3449
3449
|
}
|
|
3450
3450
|
)
|
|
@@ -3461,21 +3461,21 @@ const G0 = ({
|
|
|
3461
3461
|
dataTestId: d,
|
|
3462
3462
|
dataTestIdMessage: l
|
|
3463
3463
|
}) => {
|
|
3464
|
-
const [x,
|
|
3465
|
-
return /* @__PURE__ */
|
|
3464
|
+
const [x, g] = Y(`${r} characters allowed`), [b, M] = Y(!1);
|
|
3465
|
+
return /* @__PURE__ */ B("div", { className: e, children: [
|
|
3466
3466
|
/* @__PURE__ */ t(
|
|
3467
3467
|
"div",
|
|
3468
3468
|
{
|
|
3469
3469
|
onInput: (C) => {
|
|
3470
|
-
const
|
|
3471
|
-
if (
|
|
3472
|
-
|
|
3473
|
-
else if (
|
|
3474
|
-
const
|
|
3475
|
-
|
|
3470
|
+
const f = C.target.value.length;
|
|
3471
|
+
if (M(f > r), f === 0)
|
|
3472
|
+
g(`${r} characters allowed`);
|
|
3473
|
+
else if (f <= r) {
|
|
3474
|
+
const y = " " + (i ?? "remaining");
|
|
3475
|
+
g(`${r - f}${y}`);
|
|
3476
3476
|
} else {
|
|
3477
|
-
const
|
|
3478
|
-
|
|
3477
|
+
const y = " " + (a ?? "characters too many");
|
|
3478
|
+
g(`${f - r}${y}`);
|
|
3479
3479
|
}
|
|
3480
3480
|
},
|
|
3481
3481
|
className: "mb-2",
|
|
@@ -3486,14 +3486,14 @@ const G0 = ({
|
|
|
3486
3486
|
/* @__PURE__ */ t(
|
|
3487
3487
|
"div",
|
|
3488
3488
|
{
|
|
3489
|
-
className: m("ml-2", s,
|
|
3489
|
+
className: m("ml-2", s, b && "text-red-500", b && n),
|
|
3490
3490
|
"data-testid": l,
|
|
3491
3491
|
children: x
|
|
3492
3492
|
}
|
|
3493
3493
|
),
|
|
3494
3494
|
" "
|
|
3495
3495
|
] });
|
|
3496
|
-
}, Yt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_18737'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_18737)'%3e%3cpath%20id='Icon'%20d='M10.6%2013.7463L8.277%2011.423C8.1385%2011.2847%207.96442%2011.2138%207.75475%2011.2105C7.54525%2011.2073%207.368%2011.2782%207.223%2011.423C7.07817%2011.568%207.00575%2011.7437%207.00575%2011.95C7.00575%2012.1563%207.07817%2012.332%207.223%2012.477L9.96725%2015.2213C10.1481%2015.4019%2010.359%2015.4923%2010.6%2015.4923C10.841%2015.4923%2011.0519%2015.4019%2011.2327%2015.2213L16.7962%209.65775C16.9346%209.51925%2017.0054%209.34517%2017.0087%209.1355C17.0119%208.926%2016.9411%208.74875%2016.7962%208.60375C16.6512%208.45892%2016.4756%208.3865%2016.2693%208.3865C16.0629%208.3865%2015.8873%208.45892%2015.7423%208.60375L10.6%2013.7463ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", s2 = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_18737'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_18737)'%3e%3cpath%20d='M5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Rt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='indeterminate_check_box'%3e%3cmask%20id='mask0_4956_9240'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_9240)'%3e%3cpath%20id='Icon'%20d='M8%2012.75H16C16.2128%2012.75%2016.391%2012.6782%2016.5345%2012.5345C16.6782%2012.391%2016.75%2012.2128%2016.75%2012C16.75%2011.7872%2016.6782%2011.609%2016.5345%2011.4655C16.391%2011.3218%2016.2128%2011.25%2016%2011.25H8C7.78717%2011.25%207.609%2011.3218%207.4655%2011.4655C7.32183%2011.609%207.25%2011.7872%207.25%2012C7.25%2012.2128%207.32183%2012.391%207.4655%2012.5345C7.609%2012.6782%207.78717%2012.75%208%2012.75ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ft = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_19567'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_19567)'%3e%3cpath%20id='Icon'%20d='M10.6%2013.7463L8.277%2011.423C8.1385%2011.2847%207.96442%2011.2138%207.75475%2011.2105C7.54525%2011.2073%207.368%2011.2782%207.223%2011.423C7.07817%2011.568%207.00575%2011.7437%207.00575%2011.95C7.00575%2012.1563%207.07817%2012.332%207.223%2012.477L9.96725%2015.2213C10.1481%2015.4019%2010.359%2015.4923%2010.6%2015.4923C10.841%2015.4923%2011.0519%2015.4019%2011.2327%2015.2213L16.7962%209.65775C16.9346%209.51925%2017.0054%209.34517%2017.0087%209.1355C17.0119%208.926%2016.9411%208.74875%2016.7962%208.60375C16.6512%208.45892%2016.4756%208.3865%2016.2693%208.3865C16.0629%208.3865%2015.8873%208.45892%2015.7423%208.60375L10.6%2013.7463ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ut = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_19567'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_19567)'%3e%3cpath%20d='M5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", jt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='indeterminate_check_box'%3e%3cmask%20id='mask0_4956_22386'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_22386)'%3e%3cpath%20id='Icon'%20d='M8%2012.75H16C16.2128%2012.75%2016.391%2012.6782%2016.5345%2012.5345C16.6782%2012.391%2016.75%2012.2128%2016.75%2012C16.75%2011.7872%2016.6782%2011.609%2016.5345%2011.4655C16.391%2011.3218%2016.2128%2011.25%2016%2011.25H8C7.78717%2011.25%207.609%2011.3218%207.4655%2011.4655C7.32183%2011.609%207.25%2011.7872%207.25%2012C7.25%2012.2128%207.32183%2012.391%207.4655%2012.5345C7.609%2012.6782%207.78717%2012.75%208%2012.75ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Zt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='disabled_by_default'%3e%3cmask%20id='mask0_4956_21631'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_21631)'%3e%3cpath%20id='Icon'%20d='M12%2013.0442L15.0828%2016.127C15.2213%2016.2653%2015.3953%2016.3329%2015.6048%2016.3298C15.8144%2016.3266%2015.9885%2016.2558%2016.127%2016.1173C16.2653%2015.9788%2016.3345%2015.8048%2016.3345%2015.5953C16.3345%2015.3856%2016.2653%2015.2115%2016.127%2015.073L13.0443%2012L16.127%208.91725C16.2653%208.77875%2016.3345%208.60475%2016.3345%208.39525C16.3345%208.18558%2016.2653%208.0115%2016.127%207.873C15.9885%207.73467%2015.8144%207.6655%2015.6048%207.6655C15.3953%207.6655%2015.2213%207.73467%2015.0828%207.873L12%2010.9557L8.91725%207.873C8.77875%207.73467%208.60633%207.6655%208.4%207.6655C8.19367%207.6655%208.02125%207.73467%207.88275%207.873C7.74425%208.0115%207.675%208.18558%207.675%208.39525C7.675%208.60475%207.74425%208.77875%207.88275%208.91725L10.9558%2012L7.873%2015.0828C7.73467%2015.2213%207.66708%2015.3937%207.67025%2015.6C7.67342%2015.8063%207.74425%2015.9788%207.88275%2016.1173C8.02125%2016.2558%208.19525%2016.325%208.40475%2016.325C8.61442%2016.325%208.7885%2016.2558%208.927%2016.1173L12%2013.0442ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Pt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='disabled_by_default'%3e%3cmask%20id='mask0_4956_19169'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_19169)'%3e%3cpath%20id='Icon'%20d='M12%2013.0442L15.0828%2016.127C15.2213%2016.2653%2015.3953%2016.3329%2015.6048%2016.3298C15.8144%2016.3266%2015.9885%2016.2558%2016.127%2016.1173C16.2653%2015.9788%2016.3345%2015.8048%2016.3345%2015.5953C16.3345%2015.3856%2016.2653%2015.2115%2016.127%2015.073L13.0443%2012L16.127%208.91725C16.2653%208.77875%2016.3345%208.60475%2016.3345%208.39525C16.3345%208.18558%2016.2653%208.0115%2016.127%207.873C15.9885%207.73467%2015.8144%207.6655%2015.6048%207.6655C15.3953%207.6655%2015.2213%207.73467%2015.0828%207.873L12%2010.9557L8.91725%207.873C8.77875%207.73467%208.60633%207.6655%208.4%207.6655C8.19367%207.6655%208.02125%207.73467%207.88275%207.873C7.74425%208.0115%207.675%208.18558%207.675%208.39525C7.675%208.60475%207.74425%208.77875%207.88275%208.91725L10.9558%2012L7.873%2015.0828C7.73467%2015.2213%207.66708%2015.3937%207.67025%2015.6C7.67342%2015.8063%207.74425%2015.9788%207.88275%2016.1173C8.02125%2016.2558%208.19525%2016.325%208.40475%2016.325C8.61442%2016.325%208.7885%2016.2558%208.927%2016.1173L12%2013.0442ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
3496
|
+
}, Rt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_18737'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_18737)'%3e%3cpath%20id='Icon'%20d='M10.6%2013.7463L8.277%2011.423C8.1385%2011.2847%207.96442%2011.2138%207.75475%2011.2105C7.54525%2011.2073%207.368%2011.2782%207.223%2011.423C7.07817%2011.568%207.00575%2011.7437%207.00575%2011.95C7.00575%2012.1563%207.07817%2012.332%207.223%2012.477L9.96725%2015.2213C10.1481%2015.4019%2010.359%2015.4923%2010.6%2015.4923C10.841%2015.4923%2011.0519%2015.4019%2011.2327%2015.2213L16.7962%209.65775C16.9346%209.51925%2017.0054%209.34517%2017.0087%209.1355C17.0119%208.926%2016.9411%208.74875%2016.7962%208.60375C16.6512%208.45892%2016.4756%208.3865%2016.2693%208.3865C16.0629%208.3865%2015.8873%208.45892%2015.7423%208.60375L10.6%2013.7463ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", s2 = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_18737'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_18737)'%3e%3cpath%20d='M5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Yt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='indeterminate_check_box'%3e%3cmask%20id='mask0_4956_9240'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_9240)'%3e%3cpath%20id='Icon'%20d='M8%2012.75H16C16.2128%2012.75%2016.391%2012.6782%2016.5345%2012.5345C16.6782%2012.391%2016.75%2012.2128%2016.75%2012C16.75%2011.7872%2016.6782%2011.609%2016.5345%2011.4655C16.391%2011.3218%2016.2128%2011.25%2016%2011.25H8C7.78717%2011.25%207.609%2011.3218%207.4655%2011.4655C7.32183%2011.609%207.25%2011.7872%207.25%2012C7.25%2012.2128%207.32183%2012.391%207.4655%2012.5345C7.609%2012.6782%207.78717%2012.75%208%2012.75ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ft = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_19567'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_19567)'%3e%3cpath%20id='Icon'%20d='M10.6%2013.7463L8.277%2011.423C8.1385%2011.2847%207.96442%2011.2138%207.75475%2011.2105C7.54525%2011.2073%207.368%2011.2782%207.223%2011.423C7.07817%2011.568%207.00575%2011.7437%207.00575%2011.95C7.00575%2012.1563%207.07817%2012.332%207.223%2012.477L9.96725%2015.2213C10.1481%2015.4019%2010.359%2015.4923%2010.6%2015.4923C10.841%2015.4923%2011.0519%2015.4019%2011.2327%2015.2213L16.7962%209.65775C16.9346%209.51925%2017.0054%209.34517%2017.0087%209.1355C17.0119%208.926%2016.9411%208.74875%2016.7962%208.60375C16.6512%208.45892%2016.4756%208.3865%2016.2693%208.3865C16.0629%208.3865%2015.8873%208.45892%2015.7423%208.60375L10.6%2013.7463ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Ut = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='check_box'%3e%3cmask%20id='mask0_4956_19567'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_19567)'%3e%3cpath%20d='M5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", jt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='indeterminate_check_box'%3e%3cmask%20id='mask0_4956_22386'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_22386)'%3e%3cpath%20id='Icon'%20d='M8%2012.75H16C16.2128%2012.75%2016.391%2012.6782%2016.5345%2012.5345C16.6782%2012.391%2016.75%2012.2128%2016.75%2012C16.75%2011.7872%2016.6782%2011.609%2016.5345%2011.4655C16.391%2011.3218%2016.2128%2011.25%2016%2011.25H8C7.78717%2011.25%207.609%2011.3218%207.4655%2011.4655C7.32183%2011.609%207.25%2011.7872%207.25%2012C7.25%2012.2128%207.32183%2012.391%207.4655%2012.5345C7.609%2012.6782%207.78717%2012.75%208%2012.75ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Zt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='disabled_by_default'%3e%3cmask%20id='mask0_4956_21631'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_21631)'%3e%3cpath%20id='Icon'%20d='M12%2013.0442L15.0828%2016.127C15.2213%2016.2653%2015.3953%2016.3329%2015.6048%2016.3298C15.8144%2016.3266%2015.9885%2016.2558%2016.127%2016.1173C16.2653%2015.9788%2016.3345%2015.8048%2016.3345%2015.5953C16.3345%2015.3856%2016.2653%2015.2115%2016.127%2015.073L13.0443%2012L16.127%208.91725C16.2653%208.77875%2016.3345%208.60475%2016.3345%208.39525C16.3345%208.18558%2016.2653%208.0115%2016.127%207.873C15.9885%207.73467%2015.8144%207.6655%2015.6048%207.6655C15.3953%207.6655%2015.2213%207.73467%2015.0828%207.873L12%2010.9557L8.91725%207.873C8.77875%207.73467%208.60633%207.6655%208.4%207.6655C8.19367%207.6655%208.02125%207.73467%207.88275%207.873C7.74425%208.0115%207.675%208.18558%207.675%208.39525C7.675%208.60475%207.74425%208.77875%207.88275%208.91725L10.9558%2012L7.873%2015.0828C7.73467%2015.2213%207.66708%2015.3937%207.67025%2015.6C7.67342%2015.8063%207.74425%2015.9788%207.88275%2016.1173C8.02125%2016.2558%208.19525%2016.325%208.40475%2016.325C8.61442%2016.325%208.7885%2016.2558%208.927%2016.1173L12%2013.0442ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775ZM5.30775%2019H18.6923C18.7692%2019%2018.8398%2018.9679%2018.9038%2018.9038C18.9679%2018.8398%2019%2018.7692%2019%2018.6923V5.30775C19%205.23075%2018.9679%205.16025%2018.9038%205.09625C18.8398%205.03208%2018.7692%205%2018.6923%205H5.30775C5.23075%205%205.16025%205.03208%205.09625%205.09625C5.03208%205.16025%205%205.23075%205%205.30775V18.6923C5%2018.7692%205.03208%2018.8398%205.09625%2018.9038C5.16025%2018.9679%205.23075%2019%205.30775%2019Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", Pt = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='disabled_by_default'%3e%3cmask%20id='mask0_4956_19169'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4956_19169)'%3e%3cpath%20id='Icon'%20d='M12%2013.0442L15.0828%2016.127C15.2213%2016.2653%2015.3953%2016.3329%2015.6048%2016.3298C15.8144%2016.3266%2015.9885%2016.2558%2016.127%2016.1173C16.2653%2015.9788%2016.3345%2015.8048%2016.3345%2015.5953C16.3345%2015.3856%2016.2653%2015.2115%2016.127%2015.073L13.0443%2012L16.127%208.91725C16.2653%208.77875%2016.3345%208.60475%2016.3345%208.39525C16.3345%208.18558%2016.2653%208.0115%2016.127%207.873C15.9885%207.73467%2015.8144%207.6655%2015.6048%207.6655C15.3953%207.6655%2015.2213%207.73467%2015.0828%207.873L12%2010.9557L8.91725%207.873C8.77875%207.73467%208.60633%207.6655%208.4%207.6655C8.19367%207.6655%208.02125%207.73467%207.88275%207.873C7.74425%208.0115%207.675%208.18558%207.675%208.39525C7.675%208.60475%207.74425%208.77875%207.88275%208.91725L10.9558%2012L7.873%2015.0828C7.73467%2015.2213%207.66708%2015.3937%207.67025%2015.6C7.67342%2015.8063%207.74425%2015.9788%207.88275%2016.1173C8.02125%2016.2558%208.19525%2016.325%208.40475%2016.325C8.61442%2016.325%208.7885%2016.2558%208.927%2016.1173L12%2013.0442ZM5.30775%2020.5C4.80258%2020.5%204.375%2020.325%204.025%2019.975C3.675%2019.625%203.5%2019.1974%203.5%2018.6923V5.30775C3.5%204.80258%203.675%204.375%204.025%204.025C4.375%203.675%204.80258%203.5%205.30775%203.5H18.6923C19.1974%203.5%2019.625%203.675%2019.975%204.025C20.325%204.375%2020.5%204.80258%2020.5%205.30775V18.6923C20.5%2019.1974%2020.325%2019.625%2019.975%2019.975C19.625%2020.325%2019.1974%2020.5%2018.6923%2020.5H5.30775Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e";
|
|
3497
3497
|
function Gt(e, s, n) {
|
|
3498
3498
|
const r = e[s].props.level ?? 0;
|
|
3499
3499
|
if (s === e.length - 1)
|
|
@@ -3560,60 +3560,60 @@ function W0({
|
|
|
3560
3560
|
onChange: d,
|
|
3561
3561
|
classNameLabel: l,
|
|
3562
3562
|
classNameSvgLine: x,
|
|
3563
|
-
classNameIcon:
|
|
3564
|
-
classNameSvg:
|
|
3565
|
-
classNameInput:
|
|
3566
|
-
className:
|
|
3563
|
+
classNameIcon: g,
|
|
3564
|
+
classNameSvg: b,
|
|
3565
|
+
classNameInput: M,
|
|
3566
|
+
className: L,
|
|
3567
3567
|
customIcons: C
|
|
3568
3568
|
}) {
|
|
3569
|
-
const [v,
|
|
3569
|
+
const [v, f] = Y(), y = je(
|
|
3570
3570
|
() => m2.Children.toArray(e).filter(
|
|
3571
3571
|
(D) => xe(D) && D.type === $2
|
|
3572
3572
|
),
|
|
3573
3573
|
[e]
|
|
3574
3574
|
// execute when children changes
|
|
3575
|
-
), [k, S] =
|
|
3575
|
+
), [k, S] = Y(() => y.map(() => "unchecked"));
|
|
3576
3576
|
Z(() => {
|
|
3577
3577
|
if (!v) return;
|
|
3578
|
-
const { index: D, status: V } = v,
|
|
3579
|
-
if (
|
|
3580
|
-
for (let
|
|
3581
|
-
|
|
3582
|
-
for (let
|
|
3578
|
+
const { index: D, status: V } = v, I = y[D].props.level ?? 0, _ = [...k];
|
|
3579
|
+
if (_[D] = V, V !== "indeterminate")
|
|
3580
|
+
for (let A = D + 1; A < _.length && !((y[A].props.level ?? 0) <= I); A++)
|
|
3581
|
+
_[A] = V;
|
|
3582
|
+
for (let A = I - 1; A >= 0; A--)
|
|
3583
3583
|
for (let E = D - 1; E >= 0; E--)
|
|
3584
|
-
if (
|
|
3585
|
-
|
|
3584
|
+
if (y[E].props.level === A) {
|
|
3585
|
+
_[E] = qt(y, _, A, E);
|
|
3586
3586
|
break;
|
|
3587
3587
|
}
|
|
3588
|
-
S(
|
|
3588
|
+
S(_), f(void 0);
|
|
3589
3589
|
}, [v]);
|
|
3590
|
-
const
|
|
3591
|
-
() =>
|
|
3592
|
-
const
|
|
3593
|
-
|
|
3590
|
+
const w = je(
|
|
3591
|
+
() => y.map((D, V) => {
|
|
3592
|
+
const I = Wt(y, V, s), _ = D.props.name, A = D.props.className || L, E = D.props.classNameLabel || l, O = D.props.classNameSvg || b, j = D.props.classNameSvgLine || x, W = D.props.classNameSvg || M, N = D.props.customIcons || C, o = D.props.classNameIcon || g, p = (h, u) => {
|
|
3593
|
+
f({ status: h, index: u }), d && d(h, _);
|
|
3594
3594
|
};
|
|
3595
3595
|
return De(D, {
|
|
3596
|
-
iconType:
|
|
3596
|
+
iconType: I,
|
|
3597
3597
|
index: V,
|
|
3598
3598
|
fill: n,
|
|
3599
3599
|
icon: c,
|
|
3600
3600
|
marker: i,
|
|
3601
3601
|
showBranch: a,
|
|
3602
3602
|
status: k[V],
|
|
3603
|
-
setStatusUpdate:
|
|
3603
|
+
setStatusUpdate: p,
|
|
3604
3604
|
classNameLabel: E,
|
|
3605
3605
|
classNameSvg: O,
|
|
3606
3606
|
classNameSvgLine: j,
|
|
3607
3607
|
classNameInput: W,
|
|
3608
3608
|
classNameIcon: o,
|
|
3609
|
-
className:
|
|
3610
|
-
customIcons:
|
|
3609
|
+
className: A,
|
|
3610
|
+
customIcons: N
|
|
3611
3611
|
});
|
|
3612
3612
|
}),
|
|
3613
|
-
[
|
|
3613
|
+
[y, s, n, c, i, a, k]
|
|
3614
3614
|
// execute when one of these change
|
|
3615
3615
|
);
|
|
3616
|
-
return /* @__PURE__ */ t("div", { "data-testid": r, children:
|
|
3616
|
+
return /* @__PURE__ */ t("div", { "data-testid": r, children: w });
|
|
3617
3617
|
}
|
|
3618
3618
|
const $2 = m2.forwardRef(
|
|
3619
3619
|
({
|
|
@@ -3627,69 +3627,69 @@ const $2 = m2.forwardRef(
|
|
|
3627
3627
|
classNameIcon: d,
|
|
3628
3628
|
value: l = "on",
|
|
3629
3629
|
fill: x = !1,
|
|
3630
|
-
level:
|
|
3631
|
-
classNameSvg:
|
|
3632
|
-
iconType:
|
|
3633
|
-
marker:
|
|
3630
|
+
level: g = 0,
|
|
3631
|
+
classNameSvg: b = "",
|
|
3632
|
+
iconType: M = [],
|
|
3633
|
+
marker: L = !1,
|
|
3634
3634
|
index: C,
|
|
3635
3635
|
setStatusUpdate: v,
|
|
3636
|
-
status:
|
|
3637
|
-
children:
|
|
3636
|
+
status: f,
|
|
3637
|
+
children: y,
|
|
3638
3638
|
testDataId: k,
|
|
3639
3639
|
checked: S = !1,
|
|
3640
|
-
indeterminate:
|
|
3640
|
+
indeterminate: w = !1,
|
|
3641
3641
|
showBranch: D = !0,
|
|
3642
3642
|
onChange: V,
|
|
3643
|
-
name:
|
|
3644
|
-
...
|
|
3645
|
-
},
|
|
3646
|
-
const [E, O] =
|
|
3647
|
-
g2(
|
|
3648
|
-
S ?
|
|
3649
|
-
}, [S,
|
|
3650
|
-
|
|
3651
|
-
}, [
|
|
3643
|
+
name: I,
|
|
3644
|
+
..._
|
|
3645
|
+
}, A) => {
|
|
3646
|
+
const [E, O] = Y("unchecked"), j = Q(null), [W, N] = Y(s2);
|
|
3647
|
+
g2(A, () => j.current), Z(() => {
|
|
3648
|
+
S ? f = "checked" : w && (f = "indeterminate");
|
|
3649
|
+
}, [S, w]), Z(() => {
|
|
3650
|
+
f && O(f);
|
|
3651
|
+
}, [f]), Z(() => {
|
|
3652
3652
|
v && C !== void 0 && v(E, C), j.current && (j.current.indeterminate = E === "indeterminate");
|
|
3653
3653
|
}, [E]), Z(() => {
|
|
3654
3654
|
if (s) {
|
|
3655
3655
|
if (i && i[E]) {
|
|
3656
|
-
|
|
3656
|
+
N(i[E]);
|
|
3657
3657
|
return;
|
|
3658
3658
|
}
|
|
3659
|
-
E === "checked" ?
|
|
3659
|
+
E === "checked" ? N(x ? L ? Pt : Ft : L ? Zt : Rt) : E === "unchecked" ? N(x ? Ut : s2) : E === "indeterminate" && N(x ? jt : Yt);
|
|
3660
3660
|
}
|
|
3661
|
-
}, [x, s, E,
|
|
3662
|
-
const o = (
|
|
3663
|
-
|
|
3661
|
+
}, [x, s, E, L]);
|
|
3662
|
+
const o = (p) => {
|
|
3663
|
+
p.target.checked ? (O("checked"), typeof V == "function" && V("checked", I)) : (O("unchecked"), typeof V == "function" && V("unchecked", I));
|
|
3664
3664
|
};
|
|
3665
|
-
return /* @__PURE__ */
|
|
3666
|
-
|
|
3665
|
+
return /* @__PURE__ */ B("div", { className: m("flex items-center", e), "data-testid": k, children: [
|
|
3666
|
+
M.map((p, h) => /* @__PURE__ */ t(
|
|
3667
3667
|
Kt,
|
|
3668
3668
|
{
|
|
3669
|
-
type: D ?
|
|
3669
|
+
type: D ? p : "blank",
|
|
3670
3670
|
icon: s,
|
|
3671
|
-
className:
|
|
3671
|
+
className: b,
|
|
3672
3672
|
classNameLine: m("h-full border", a)
|
|
3673
3673
|
},
|
|
3674
|
-
|
|
3674
|
+
h
|
|
3675
3675
|
)),
|
|
3676
|
-
/* @__PURE__ */
|
|
3676
|
+
/* @__PURE__ */ B("label", { className: m("inline-flex items-center gap-1 text-base md:text-lg", c), children: [
|
|
3677
3677
|
/* @__PURE__ */ t(
|
|
3678
3678
|
"input",
|
|
3679
3679
|
{
|
|
3680
3680
|
ref: j,
|
|
3681
3681
|
type: "checkbox",
|
|
3682
3682
|
value: l,
|
|
3683
|
-
name:
|
|
3683
|
+
name: I,
|
|
3684
3684
|
checked: E !== "indeterminate" && E === "checked",
|
|
3685
3685
|
"aria-label": r,
|
|
3686
3686
|
className: m("", n, s && "hidden"),
|
|
3687
3687
|
onChange: o,
|
|
3688
|
-
...
|
|
3688
|
+
..._
|
|
3689
3689
|
}
|
|
3690
3690
|
),
|
|
3691
3691
|
s && /* @__PURE__ */ t("img", { alt: E, src: W, className: d }),
|
|
3692
|
-
|
|
3692
|
+
y
|
|
3693
3693
|
] })
|
|
3694
3694
|
] });
|
|
3695
3695
|
}
|
|
@@ -3703,7 +3703,7 @@ const Kt = ({
|
|
|
3703
3703
|
className: c,
|
|
3704
3704
|
classNameLine: i
|
|
3705
3705
|
}) => {
|
|
3706
|
-
const [a, d] =
|
|
3706
|
+
const [a, d] = Y(m("w-4 h-7", r && "ms-1"));
|
|
3707
3707
|
if (Z(() => {
|
|
3708
3708
|
d(m(a, c));
|
|
3709
3709
|
}, [c]), n === "sibling")
|
|
@@ -3726,7 +3726,7 @@ const Kt = ({
|
|
|
3726
3726
|
}
|
|
3727
3727
|
);
|
|
3728
3728
|
if (n === "sibling-child")
|
|
3729
|
-
return /* @__PURE__ */
|
|
3729
|
+
return /* @__PURE__ */ B(
|
|
3730
3730
|
"svg",
|
|
3731
3731
|
{
|
|
3732
3732
|
version: "1.1",
|
|
@@ -3757,7 +3757,7 @@ const Kt = ({
|
|
|
3757
3757
|
}
|
|
3758
3758
|
);
|
|
3759
3759
|
if (n === "child")
|
|
3760
|
-
return /* @__PURE__ */
|
|
3760
|
+
return /* @__PURE__ */ B(
|
|
3761
3761
|
"svg",
|
|
3762
3762
|
{
|
|
3763
3763
|
version: "1.1",
|
|
@@ -3806,103 +3806,103 @@ function Jt() {
|
|
|
3806
3806
|
(function(n, r) {
|
|
3807
3807
|
e.exports = r();
|
|
3808
3808
|
})(Xt, function() {
|
|
3809
|
-
var n = 1e3, r = 6e4, c = 36e5, i = "millisecond", a = "second", d = "minute", l = "hour", x = "day",
|
|
3810
|
-
var o = ["th", "st", "nd", "rd"],
|
|
3811
|
-
return "[" +
|
|
3812
|
-
} }, S = function(
|
|
3813
|
-
var
|
|
3814
|
-
return !
|
|
3815
|
-
},
|
|
3816
|
-
var o = -
|
|
3817
|
-
return (o <= 0 ? "+" : "-") + S(
|
|
3818
|
-
}, m: function
|
|
3819
|
-
if (o.date() <
|
|
3820
|
-
var
|
|
3821
|
-
return +(-(
|
|
3822
|
-
}, a: function(
|
|
3823
|
-
return
|
|
3824
|
-
}, p: function(
|
|
3825
|
-
return { M:
|
|
3826
|
-
}, u: function(
|
|
3827
|
-
return
|
|
3809
|
+
var n = 1e3, r = 6e4, c = 36e5, i = "millisecond", a = "second", d = "minute", l = "hour", x = "day", g = "week", b = "month", M = "quarter", L = "year", C = "date", v = "Invalid Date", f = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, k = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(N) {
|
|
3810
|
+
var o = ["th", "st", "nd", "rd"], p = N % 100;
|
|
3811
|
+
return "[" + N + (o[(p - 20) % 10] || o[p] || o[0]) + "]";
|
|
3812
|
+
} }, S = function(N, o, p) {
|
|
3813
|
+
var h = String(N);
|
|
3814
|
+
return !h || h.length >= o ? N : "" + Array(o + 1 - h.length).join(p) + N;
|
|
3815
|
+
}, w = { s: S, z: function(N) {
|
|
3816
|
+
var o = -N.utcOffset(), p = Math.abs(o), h = Math.floor(p / 60), u = p % 60;
|
|
3817
|
+
return (o <= 0 ? "+" : "-") + S(h, 2, "0") + ":" + S(u, 2, "0");
|
|
3818
|
+
}, m: function N(o, p) {
|
|
3819
|
+
if (o.date() < p.date()) return -N(p, o);
|
|
3820
|
+
var h = 12 * (p.year() - o.year()) + (p.month() - o.month()), u = o.clone().add(h, b), z = p - u < 0, $ = o.clone().add(h + (z ? -1 : 1), b);
|
|
3821
|
+
return +(-(h + (p - u) / (z ? u - $ : $ - u)) || 0);
|
|
3822
|
+
}, a: function(N) {
|
|
3823
|
+
return N < 0 ? Math.ceil(N) || 0 : Math.floor(N);
|
|
3824
|
+
}, p: function(N) {
|
|
3825
|
+
return { M: b, y: L, w: g, d: x, D: C, h: l, m: d, s: a, ms: i, Q: M }[N] || String(N || "").toLowerCase().replace(/s$/, "");
|
|
3826
|
+
}, u: function(N) {
|
|
3827
|
+
return N === void 0;
|
|
3828
3828
|
} }, D = "en", V = {};
|
|
3829
3829
|
V[D] = k;
|
|
3830
|
-
var
|
|
3831
|
-
return
|
|
3832
|
-
},
|
|
3830
|
+
var I = "$isDayjsObject", _ = function(N) {
|
|
3831
|
+
return N instanceof j || !(!N || !N[I]);
|
|
3832
|
+
}, A = function N(o, p, h) {
|
|
3833
3833
|
var u;
|
|
3834
3834
|
if (!o) return D;
|
|
3835
3835
|
if (typeof o == "string") {
|
|
3836
3836
|
var z = o.toLowerCase();
|
|
3837
|
-
V[z] && (u = z),
|
|
3838
|
-
var
|
|
3839
|
-
if (!u &&
|
|
3837
|
+
V[z] && (u = z), p && (V[z] = p, u = z);
|
|
3838
|
+
var $ = o.split("-");
|
|
3839
|
+
if (!u && $.length > 1) return N($[0]);
|
|
3840
3840
|
} else {
|
|
3841
3841
|
var H = o.name;
|
|
3842
3842
|
V[H] = o, u = H;
|
|
3843
3843
|
}
|
|
3844
|
-
return !
|
|
3845
|
-
}, E = function(
|
|
3846
|
-
if (
|
|
3847
|
-
var
|
|
3848
|
-
return
|
|
3849
|
-
}, O =
|
|
3850
|
-
O.l =
|
|
3851
|
-
return E(
|
|
3844
|
+
return !h && u && (D = u), u || !h && D;
|
|
3845
|
+
}, E = function(N, o) {
|
|
3846
|
+
if (_(N)) return N.clone();
|
|
3847
|
+
var p = typeof o == "object" ? o : {};
|
|
3848
|
+
return p.date = N, p.args = arguments, new j(p);
|
|
3849
|
+
}, O = w;
|
|
3850
|
+
O.l = A, O.i = _, O.w = function(N, o) {
|
|
3851
|
+
return E(N, { locale: o.$L, utc: o.$u, x: o.$x, $offset: o.$offset });
|
|
3852
3852
|
};
|
|
3853
3853
|
var j = function() {
|
|
3854
|
-
function
|
|
3855
|
-
this.$L =
|
|
3854
|
+
function N(p) {
|
|
3855
|
+
this.$L = A(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[I] = !0;
|
|
3856
3856
|
}
|
|
3857
|
-
var o =
|
|
3858
|
-
return o.parse = function(
|
|
3859
|
-
this.$d = function(
|
|
3860
|
-
var u =
|
|
3857
|
+
var o = N.prototype;
|
|
3858
|
+
return o.parse = function(p) {
|
|
3859
|
+
this.$d = function(h) {
|
|
3860
|
+
var u = h.date, z = h.utc;
|
|
3861
3861
|
if (u === null) return /* @__PURE__ */ new Date(NaN);
|
|
3862
3862
|
if (O.u(u)) return /* @__PURE__ */ new Date();
|
|
3863
3863
|
if (u instanceof Date) return new Date(u);
|
|
3864
3864
|
if (typeof u == "string" && !/Z$/i.test(u)) {
|
|
3865
|
-
var
|
|
3866
|
-
if (
|
|
3867
|
-
var H =
|
|
3868
|
-
return z ? new Date(Date.UTC(
|
|
3865
|
+
var $ = u.match(f);
|
|
3866
|
+
if ($) {
|
|
3867
|
+
var H = $[2] - 1 || 0, F = ($[7] || "0").substring(0, 3);
|
|
3868
|
+
return z ? new Date(Date.UTC($[1], H, $[3] || 1, $[4] || 0, $[5] || 0, $[6] || 0, F)) : new Date($[1], H, $[3] || 1, $[4] || 0, $[5] || 0, $[6] || 0, F);
|
|
3869
3869
|
}
|
|
3870
3870
|
}
|
|
3871
3871
|
return new Date(u);
|
|
3872
|
-
}(
|
|
3872
|
+
}(p), this.init();
|
|
3873
3873
|
}, o.init = function() {
|
|
3874
|
-
var
|
|
3875
|
-
this.$y =
|
|
3874
|
+
var p = this.$d;
|
|
3875
|
+
this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
|
|
3876
3876
|
}, o.$utils = function() {
|
|
3877
3877
|
return O;
|
|
3878
3878
|
}, o.isValid = function() {
|
|
3879
3879
|
return this.$d.toString() !== v;
|
|
3880
|
-
}, o.isSame = function(
|
|
3881
|
-
var u = E(
|
|
3882
|
-
return this.startOf(
|
|
3883
|
-
}, o.isAfter = function(
|
|
3884
|
-
return E(
|
|
3885
|
-
}, o.isBefore = function(
|
|
3886
|
-
return this.endOf(
|
|
3887
|
-
}, o.$g = function(
|
|
3888
|
-
return O.u(
|
|
3880
|
+
}, o.isSame = function(p, h) {
|
|
3881
|
+
var u = E(p);
|
|
3882
|
+
return this.startOf(h) <= u && u <= this.endOf(h);
|
|
3883
|
+
}, o.isAfter = function(p, h) {
|
|
3884
|
+
return E(p) < this.startOf(h);
|
|
3885
|
+
}, o.isBefore = function(p, h) {
|
|
3886
|
+
return this.endOf(h) < E(p);
|
|
3887
|
+
}, o.$g = function(p, h, u) {
|
|
3888
|
+
return O.u(p) ? this[h] : this.set(u, p);
|
|
3889
3889
|
}, o.unix = function() {
|
|
3890
3890
|
return Math.floor(this.valueOf() / 1e3);
|
|
3891
3891
|
}, o.valueOf = function() {
|
|
3892
3892
|
return this.$d.getTime();
|
|
3893
|
-
}, o.startOf = function(
|
|
3894
|
-
var u = this, z = !!O.u(
|
|
3893
|
+
}, o.startOf = function(p, h) {
|
|
3894
|
+
var u = this, z = !!O.u(h) || h, $ = O.p(p), H = function(se, X) {
|
|
3895
3895
|
var ee = O.w(u.$u ? Date.UTC(u.$y, X, se) : new Date(u.$y, X, se), u);
|
|
3896
3896
|
return z ? ee : ee.endOf(x);
|
|
3897
3897
|
}, F = function(se, X) {
|
|
3898
3898
|
return O.w(u.toDate()[se].apply(u.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), u);
|
|
3899
3899
|
}, U = this.$W, P = this.$M, q = this.$D, te = "set" + (this.$u ? "UTC" : "");
|
|
3900
|
-
switch (
|
|
3901
|
-
case
|
|
3900
|
+
switch ($) {
|
|
3901
|
+
case L:
|
|
3902
3902
|
return z ? H(1, 0) : H(31, 11);
|
|
3903
|
-
case
|
|
3903
|
+
case b:
|
|
3904
3904
|
return z ? H(1, P) : H(0, P + 1);
|
|
3905
|
-
case
|
|
3905
|
+
case g:
|
|
3906
3906
|
var K = this.$locale().weekStart || 0, oe = (U < K ? U + 7 : U) - K;
|
|
3907
3907
|
return H(z ? q - oe : q + (6 - oe), P);
|
|
3908
3908
|
case x:
|
|
@@ -3917,52 +3917,52 @@ function Jt() {
|
|
|
3917
3917
|
default:
|
|
3918
3918
|
return this.clone();
|
|
3919
3919
|
}
|
|
3920
|
-
}, o.endOf = function(
|
|
3921
|
-
return this.startOf(
|
|
3922
|
-
}, o.$set = function(
|
|
3923
|
-
var u, z = O.p(
|
|
3924
|
-
if (z ===
|
|
3920
|
+
}, o.endOf = function(p) {
|
|
3921
|
+
return this.startOf(p, !1);
|
|
3922
|
+
}, o.$set = function(p, h) {
|
|
3923
|
+
var u, z = O.p(p), $ = "set" + (this.$u ? "UTC" : ""), H = (u = {}, u[x] = $ + "Date", u[C] = $ + "Date", u[b] = $ + "Month", u[L] = $ + "FullYear", u[l] = $ + "Hours", u[d] = $ + "Minutes", u[a] = $ + "Seconds", u[i] = $ + "Milliseconds", u)[z], F = z === x ? this.$D + (h - this.$W) : h;
|
|
3924
|
+
if (z === b || z === L) {
|
|
3925
3925
|
var U = this.clone().set(C, 1);
|
|
3926
3926
|
U.$d[H](F), U.init(), this.$d = U.set(C, Math.min(this.$D, U.daysInMonth())).$d;
|
|
3927
3927
|
} else H && this.$d[H](F);
|
|
3928
3928
|
return this.init(), this;
|
|
3929
|
-
}, o.set = function(
|
|
3930
|
-
return this.clone().$set(
|
|
3931
|
-
}, o.get = function(
|
|
3932
|
-
return this[O.p(
|
|
3933
|
-
}, o.add = function(
|
|
3929
|
+
}, o.set = function(p, h) {
|
|
3930
|
+
return this.clone().$set(p, h);
|
|
3931
|
+
}, o.get = function(p) {
|
|
3932
|
+
return this[O.p(p)]();
|
|
3933
|
+
}, o.add = function(p, h) {
|
|
3934
3934
|
var u, z = this;
|
|
3935
|
-
|
|
3936
|
-
var
|
|
3935
|
+
p = Number(p);
|
|
3936
|
+
var $ = O.p(h), H = function(P) {
|
|
3937
3937
|
var q = E(z);
|
|
3938
|
-
return O.w(q.date(q.date() + Math.round(P *
|
|
3938
|
+
return O.w(q.date(q.date() + Math.round(P * p)), z);
|
|
3939
3939
|
};
|
|
3940
|
-
if (
|
|
3941
|
-
if (
|
|
3942
|
-
if (
|
|
3943
|
-
if (
|
|
3944
|
-
var F = (u = {}, u[d] = r, u[l] = c, u[a] = n, u)[
|
|
3940
|
+
if ($ === b) return this.set(b, this.$M + p);
|
|
3941
|
+
if ($ === L) return this.set(L, this.$y + p);
|
|
3942
|
+
if ($ === x) return H(1);
|
|
3943
|
+
if ($ === g) return H(7);
|
|
3944
|
+
var F = (u = {}, u[d] = r, u[l] = c, u[a] = n, u)[$] || 1, U = this.$d.getTime() + p * F;
|
|
3945
3945
|
return O.w(U, this);
|
|
3946
|
-
}, o.subtract = function(
|
|
3947
|
-
return this.add(-1 *
|
|
3948
|
-
}, o.format = function(
|
|
3949
|
-
var
|
|
3946
|
+
}, o.subtract = function(p, h) {
|
|
3947
|
+
return this.add(-1 * p, h);
|
|
3948
|
+
}, o.format = function(p) {
|
|
3949
|
+
var h = this, u = this.$locale();
|
|
3950
3950
|
if (!this.isValid()) return u.invalidDate || v;
|
|
3951
|
-
var z =
|
|
3952
|
-
return X && (X[ee] || X(
|
|
3951
|
+
var z = p || "YYYY-MM-DDTHH:mm:ssZ", $ = O.z(this), H = this.$H, F = this.$m, U = this.$M, P = u.weekdays, q = u.months, te = u.meridiem, K = function(X, ee, ne, ce) {
|
|
3952
|
+
return X && (X[ee] || X(h, z)) || ne[ee].slice(0, ce);
|
|
3953
3953
|
}, oe = function(X) {
|
|
3954
3954
|
return O.s(H % 12 || 12, X, "0");
|
|
3955
3955
|
}, se = te || function(X, ee, ne) {
|
|
3956
3956
|
var ce = X < 12 ? "AM" : "PM";
|
|
3957
3957
|
return ne ? ce.toLowerCase() : ce;
|
|
3958
3958
|
};
|
|
3959
|
-
return z.replace(
|
|
3959
|
+
return z.replace(y, function(X, ee) {
|
|
3960
3960
|
return ee || function(ne) {
|
|
3961
3961
|
switch (ne) {
|
|
3962
3962
|
case "YY":
|
|
3963
|
-
return String(
|
|
3963
|
+
return String(h.$y).slice(-2);
|
|
3964
3964
|
case "YYYY":
|
|
3965
|
-
return O.s(
|
|
3965
|
+
return O.s(h.$y, 4, "0");
|
|
3966
3966
|
case "M":
|
|
3967
3967
|
return U + 1;
|
|
3968
3968
|
case "MM":
|
|
@@ -3972,17 +3972,17 @@ function Jt() {
|
|
|
3972
3972
|
case "MMMM":
|
|
3973
3973
|
return K(q, U);
|
|
3974
3974
|
case "D":
|
|
3975
|
-
return
|
|
3975
|
+
return h.$D;
|
|
3976
3976
|
case "DD":
|
|
3977
|
-
return O.s(
|
|
3977
|
+
return O.s(h.$D, 2, "0");
|
|
3978
3978
|
case "d":
|
|
3979
|
-
return String(
|
|
3979
|
+
return String(h.$W);
|
|
3980
3980
|
case "dd":
|
|
3981
|
-
return K(u.weekdaysMin,
|
|
3981
|
+
return K(u.weekdaysMin, h.$W, P, 2);
|
|
3982
3982
|
case "ddd":
|
|
3983
|
-
return K(u.weekdaysShort,
|
|
3983
|
+
return K(u.weekdaysShort, h.$W, P, 3);
|
|
3984
3984
|
case "dddd":
|
|
3985
|
-
return P[
|
|
3985
|
+
return P[h.$W];
|
|
3986
3986
|
case "H":
|
|
3987
3987
|
return String(H);
|
|
3988
3988
|
case "HH":
|
|
@@ -4000,34 +4000,34 @@ function Jt() {
|
|
|
4000
4000
|
case "mm":
|
|
4001
4001
|
return O.s(F, 2, "0");
|
|
4002
4002
|
case "s":
|
|
4003
|
-
return String(
|
|
4003
|
+
return String(h.$s);
|
|
4004
4004
|
case "ss":
|
|
4005
|
-
return O.s(
|
|
4005
|
+
return O.s(h.$s, 2, "0");
|
|
4006
4006
|
case "SSS":
|
|
4007
|
-
return O.s(
|
|
4007
|
+
return O.s(h.$ms, 3, "0");
|
|
4008
4008
|
case "Z":
|
|
4009
|
-
return
|
|
4009
|
+
return $;
|
|
4010
4010
|
}
|
|
4011
4011
|
return null;
|
|
4012
|
-
}(X) ||
|
|
4012
|
+
}(X) || $.replace(":", "");
|
|
4013
4013
|
});
|
|
4014
4014
|
}, o.utcOffset = function() {
|
|
4015
4015
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
4016
|
-
}, o.diff = function(
|
|
4017
|
-
var z,
|
|
4018
|
-
return O.m(
|
|
4016
|
+
}, o.diff = function(p, h, u) {
|
|
4017
|
+
var z, $ = this, H = O.p(h), F = E(p), U = (F.utcOffset() - this.utcOffset()) * r, P = this - F, q = function() {
|
|
4018
|
+
return O.m($, F);
|
|
4019
4019
|
};
|
|
4020
4020
|
switch (H) {
|
|
4021
|
-
case
|
|
4021
|
+
case L:
|
|
4022
4022
|
z = q() / 12;
|
|
4023
4023
|
break;
|
|
4024
|
-
case
|
|
4024
|
+
case b:
|
|
4025
4025
|
z = q();
|
|
4026
4026
|
break;
|
|
4027
|
-
case
|
|
4027
|
+
case M:
|
|
4028
4028
|
z = q() / 3;
|
|
4029
4029
|
break;
|
|
4030
|
-
case
|
|
4030
|
+
case g:
|
|
4031
4031
|
z = (P - U) / 6048e5;
|
|
4032
4032
|
break;
|
|
4033
4033
|
case x:
|
|
@@ -4047,12 +4047,12 @@ function Jt() {
|
|
|
4047
4047
|
}
|
|
4048
4048
|
return u ? z : O.a(z);
|
|
4049
4049
|
}, o.daysInMonth = function() {
|
|
4050
|
-
return this.endOf(
|
|
4050
|
+
return this.endOf(b).$D;
|
|
4051
4051
|
}, o.$locale = function() {
|
|
4052
4052
|
return V[this.$L];
|
|
4053
|
-
}, o.locale = function(
|
|
4054
|
-
if (!
|
|
4055
|
-
var u = this.clone(), z =
|
|
4053
|
+
}, o.locale = function(p, h) {
|
|
4054
|
+
if (!p) return this.$L;
|
|
4055
|
+
var u = this.clone(), z = A(p, h, !0);
|
|
4056
4056
|
return z && (u.$L = z), u;
|
|
4057
4057
|
}, o.clone = function() {
|
|
4058
4058
|
return O.w(this.$d, this);
|
|
@@ -4064,16 +4064,16 @@ function Jt() {
|
|
|
4064
4064
|
return this.$d.toISOString();
|
|
4065
4065
|
}, o.toString = function() {
|
|
4066
4066
|
return this.$d.toUTCString();
|
|
4067
|
-
},
|
|
4067
|
+
}, N;
|
|
4068
4068
|
}(), W = j.prototype;
|
|
4069
|
-
return E.prototype = W, [["$ms", i], ["$s", a], ["$m", d], ["$H", l], ["$W", x], ["$M",
|
|
4070
|
-
W[
|
|
4071
|
-
return this.$g(o,
|
|
4069
|
+
return E.prototype = W, [["$ms", i], ["$s", a], ["$m", d], ["$H", l], ["$W", x], ["$M", b], ["$y", L], ["$D", C]].forEach(function(N) {
|
|
4070
|
+
W[N[1]] = function(o) {
|
|
4071
|
+
return this.$g(o, N[0], N[1]);
|
|
4072
4072
|
};
|
|
4073
|
-
}), E.extend = function(
|
|
4074
|
-
return
|
|
4075
|
-
}, E.locale =
|
|
4076
|
-
return E(1e3 *
|
|
4073
|
+
}), E.extend = function(N, o) {
|
|
4074
|
+
return N.$i || (N(o, j, E), N.$i = !0), E;
|
|
4075
|
+
}, E.locale = A, E.isDayjs = _, E.unix = function(N) {
|
|
4076
|
+
return E(1e3 * N);
|
|
4077
4077
|
}, E.en = V[D], E.Ls = V, E.p = {}, E;
|
|
4078
4078
|
});
|
|
4079
4079
|
}(Le)), Le.exports;
|
|
@@ -4086,118 +4086,118 @@ function t0() {
|
|
|
4086
4086
|
(function(n, r) {
|
|
4087
4087
|
e.exports = r();
|
|
4088
4088
|
})(e0, function() {
|
|
4089
|
-
var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, r = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, c = /\d/, i = /\d\d/, a = /\d\d?/, d = /\d*[^-_:/,()\s\d]+/, l = {}, x = function(
|
|
4090
|
-
return (
|
|
4091
|
-
},
|
|
4092
|
-
return function(
|
|
4093
|
-
this[
|
|
4089
|
+
var n = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, r = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|Q|YYYY|YY?|ww?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, c = /\d/, i = /\d\d/, a = /\d\d?/, d = /\d*[^-_:/,()\s\d]+/, l = {}, x = function(f) {
|
|
4090
|
+
return (f = +f) + (f > 68 ? 1900 : 2e3);
|
|
4091
|
+
}, g = function(f) {
|
|
4092
|
+
return function(y) {
|
|
4093
|
+
this[f] = +y;
|
|
4094
4094
|
};
|
|
4095
|
-
},
|
|
4096
|
-
(this.zone || (this.zone = {})).offset = function(
|
|
4097
|
-
if (!
|
|
4098
|
-
var k =
|
|
4095
|
+
}, b = [/[+-]\d\d:?(\d\d)?|Z/, function(f) {
|
|
4096
|
+
(this.zone || (this.zone = {})).offset = function(y) {
|
|
4097
|
+
if (!y || y === "Z") return 0;
|
|
4098
|
+
var k = y.match(/([+-]|\d\d)/g), S = 60 * k[1] + (+k[2] || 0);
|
|
4099
4099
|
return S === 0 ? 0 : k[0] === "+" ? -S : S;
|
|
4100
|
-
}(
|
|
4101
|
-
}],
|
|
4102
|
-
var
|
|
4103
|
-
return
|
|
4104
|
-
},
|
|
4100
|
+
}(f);
|
|
4101
|
+
}], M = function(f) {
|
|
4102
|
+
var y = l[f];
|
|
4103
|
+
return y && (y.indexOf ? y : y.s.concat(y.f));
|
|
4104
|
+
}, L = function(f, y) {
|
|
4105
4105
|
var k, S = l.meridiem;
|
|
4106
4106
|
if (S) {
|
|
4107
|
-
for (var
|
|
4108
|
-
k =
|
|
4107
|
+
for (var w = 1; w <= 24; w += 1) if (f.indexOf(S(w, 0, y)) > -1) {
|
|
4108
|
+
k = w > 12;
|
|
4109
4109
|
break;
|
|
4110
4110
|
}
|
|
4111
|
-
} else k =
|
|
4111
|
+
} else k = f === (y ? "pm" : "PM");
|
|
4112
4112
|
return k;
|
|
4113
|
-
}, C = { A: [d, function(
|
|
4114
|
-
this.afternoon =
|
|
4115
|
-
}], a: [d, function(
|
|
4116
|
-
this.afternoon =
|
|
4117
|
-
}], Q: [c, function(
|
|
4118
|
-
this.month = 3 * (
|
|
4119
|
-
}], S: [c, function(
|
|
4120
|
-
this.milliseconds = 100 * +
|
|
4121
|
-
}], SS: [i, function(
|
|
4122
|
-
this.milliseconds = 10 * +
|
|
4123
|
-
}], SSS: [/\d{3}/, function(
|
|
4124
|
-
this.milliseconds = +
|
|
4125
|
-
}], s: [a,
|
|
4126
|
-
var
|
|
4127
|
-
if (this.day = k[0],
|
|
4128
|
-
}], w: [a,
|
|
4129
|
-
var
|
|
4113
|
+
}, C = { A: [d, function(f) {
|
|
4114
|
+
this.afternoon = L(f, !1);
|
|
4115
|
+
}], a: [d, function(f) {
|
|
4116
|
+
this.afternoon = L(f, !0);
|
|
4117
|
+
}], Q: [c, function(f) {
|
|
4118
|
+
this.month = 3 * (f - 1) + 1;
|
|
4119
|
+
}], S: [c, function(f) {
|
|
4120
|
+
this.milliseconds = 100 * +f;
|
|
4121
|
+
}], SS: [i, function(f) {
|
|
4122
|
+
this.milliseconds = 10 * +f;
|
|
4123
|
+
}], SSS: [/\d{3}/, function(f) {
|
|
4124
|
+
this.milliseconds = +f;
|
|
4125
|
+
}], s: [a, g("seconds")], ss: [a, g("seconds")], m: [a, g("minutes")], mm: [a, g("minutes")], H: [a, g("hours")], h: [a, g("hours")], HH: [a, g("hours")], hh: [a, g("hours")], D: [a, g("day")], DD: [i, g("day")], Do: [d, function(f) {
|
|
4126
|
+
var y = l.ordinal, k = f.match(/\d+/);
|
|
4127
|
+
if (this.day = k[0], y) for (var S = 1; S <= 31; S += 1) y(S).replace(/\[|\]/g, "") === f && (this.day = S);
|
|
4128
|
+
}], w: [a, g("week")], ww: [i, g("week")], M: [a, g("month")], MM: [i, g("month")], MMM: [d, function(f) {
|
|
4129
|
+
var y = M("months"), k = (M("monthsShort") || y.map(function(S) {
|
|
4130
4130
|
return S.slice(0, 3);
|
|
4131
|
-
})).indexOf(
|
|
4131
|
+
})).indexOf(f) + 1;
|
|
4132
4132
|
if (k < 1) throw new Error();
|
|
4133
4133
|
this.month = k % 12 || k;
|
|
4134
|
-
}], MMMM: [d, function(
|
|
4135
|
-
var
|
|
4136
|
-
if (
|
|
4137
|
-
this.month =
|
|
4138
|
-
}], Y: [/[+-]?\d+/,
|
|
4139
|
-
this.year = x(
|
|
4140
|
-
}], YYYY: [/\d{4}/,
|
|
4141
|
-
function v(
|
|
4142
|
-
var
|
|
4143
|
-
|
|
4144
|
-
for (var S = (
|
|
4134
|
+
}], MMMM: [d, function(f) {
|
|
4135
|
+
var y = M("months").indexOf(f) + 1;
|
|
4136
|
+
if (y < 1) throw new Error();
|
|
4137
|
+
this.month = y % 12 || y;
|
|
4138
|
+
}], Y: [/[+-]?\d+/, g("year")], YY: [i, function(f) {
|
|
4139
|
+
this.year = x(f);
|
|
4140
|
+
}], YYYY: [/\d{4}/, g("year")], Z: b, ZZ: b };
|
|
4141
|
+
function v(f) {
|
|
4142
|
+
var y, k;
|
|
4143
|
+
y = f, k = l && l.formats;
|
|
4144
|
+
for (var S = (f = y.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(E, O, j) {
|
|
4145
4145
|
var W = j && j.toUpperCase();
|
|
4146
|
-
return O || k[j] || n[j] || k[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(
|
|
4147
|
-
return o ||
|
|
4146
|
+
return O || k[j] || n[j] || k[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(N, o, p) {
|
|
4147
|
+
return o || p.slice(1);
|
|
4148
4148
|
});
|
|
4149
|
-
})).match(r),
|
|
4150
|
-
var V = S[D],
|
|
4151
|
-
S[D] =
|
|
4149
|
+
})).match(r), w = S.length, D = 0; D < w; D += 1) {
|
|
4150
|
+
var V = S[D], I = C[V], _ = I && I[0], A = I && I[1];
|
|
4151
|
+
S[D] = A ? { regex: _, parser: A } : V.replace(/^\[|\]$/g, "");
|
|
4152
4152
|
}
|
|
4153
4153
|
return function(E) {
|
|
4154
|
-
for (var O = {}, j = 0, W = 0; j <
|
|
4155
|
-
var
|
|
4156
|
-
if (typeof
|
|
4154
|
+
for (var O = {}, j = 0, W = 0; j < w; j += 1) {
|
|
4155
|
+
var N = S[j];
|
|
4156
|
+
if (typeof N == "string") W += N.length;
|
|
4157
4157
|
else {
|
|
4158
|
-
var o =
|
|
4159
|
-
|
|
4158
|
+
var o = N.regex, p = N.parser, h = E.slice(W), u = o.exec(h)[0];
|
|
4159
|
+
p.call(O, u), E = E.replace(u, "");
|
|
4160
4160
|
}
|
|
4161
4161
|
}
|
|
4162
4162
|
return function(z) {
|
|
4163
|
-
var
|
|
4164
|
-
if (
|
|
4163
|
+
var $ = z.afternoon;
|
|
4164
|
+
if ($ !== void 0) {
|
|
4165
4165
|
var H = z.hours;
|
|
4166
|
-
|
|
4166
|
+
$ ? H < 12 && (z.hours += 12) : H === 12 && (z.hours = 0), delete z.afternoon;
|
|
4167
4167
|
}
|
|
4168
4168
|
}(O), O;
|
|
4169
4169
|
};
|
|
4170
4170
|
}
|
|
4171
|
-
return function(
|
|
4172
|
-
k.p.customParseFormat = !0,
|
|
4173
|
-
var S =
|
|
4171
|
+
return function(f, y, k) {
|
|
4172
|
+
k.p.customParseFormat = !0, f && f.parseTwoDigitYear && (x = f.parseTwoDigitYear);
|
|
4173
|
+
var S = y.prototype, w = S.parse;
|
|
4174
4174
|
S.parse = function(D) {
|
|
4175
|
-
var V = D.date,
|
|
4176
|
-
this.$u =
|
|
4177
|
-
var
|
|
4178
|
-
if (typeof
|
|
4179
|
-
var E =
|
|
4180
|
-
O && (W =
|
|
4175
|
+
var V = D.date, I = D.utc, _ = D.args;
|
|
4176
|
+
this.$u = I;
|
|
4177
|
+
var A = _[1];
|
|
4178
|
+
if (typeof A == "string") {
|
|
4179
|
+
var E = _[2] === !0, O = _[3] === !0, j = E || O, W = _[2];
|
|
4180
|
+
O && (W = _[2]), l = this.$locale(), !E && W && (l = k.Ls[W]), this.$d = function(h, u, z, $) {
|
|
4181
4181
|
try {
|
|
4182
|
-
if (["x", "X"].indexOf(u) > -1) return new Date((u === "X" ? 1e3 : 1) *
|
|
4183
|
-
var H = v(u)(
|
|
4182
|
+
if (["x", "X"].indexOf(u) > -1) return new Date((u === "X" ? 1e3 : 1) * h);
|
|
4183
|
+
var H = v(u)(h), F = H.year, U = H.month, P = H.day, q = H.hours, te = H.minutes, K = H.seconds, oe = H.milliseconds, se = H.zone, X = H.week, ee = /* @__PURE__ */ new Date(), ne = P || (F || U ? 1 : ee.getDate()), ce = F || ee.getFullYear(), we = 0;
|
|
4184
4184
|
F && !U || (we = U > 0 ? U - 1 : ee.getMonth());
|
|
4185
4185
|
var ve, Se = q || 0, Ve = te || 0, ze = K || 0, He = oe || 0;
|
|
4186
|
-
return se ? new Date(Date.UTC(ce, we, ne, Se, Ve, ze, He + 60 * se.offset * 1e3)) : z ? new Date(Date.UTC(ce, we, ne, Se, Ve, ze, He)) : (ve = new Date(ce, we, ne, Se, Ve, ze, He), X && (ve =
|
|
4186
|
+
return se ? new Date(Date.UTC(ce, we, ne, Se, Ve, ze, He + 60 * se.offset * 1e3)) : z ? new Date(Date.UTC(ce, we, ne, Se, Ve, ze, He)) : (ve = new Date(ce, we, ne, Se, Ve, ze, He), X && (ve = $(ve).week(X).toDate()), ve);
|
|
4187
4187
|
} catch {
|
|
4188
4188
|
return /* @__PURE__ */ new Date("");
|
|
4189
4189
|
}
|
|
4190
|
-
}(V,
|
|
4191
|
-
} else if (
|
|
4192
|
-
|
|
4193
|
-
var
|
|
4194
|
-
if (
|
|
4195
|
-
this.$d =
|
|
4190
|
+
}(V, A, I, k), this.init(), W && W !== !0 && (this.$L = this.locale(W).$L), j && V != this.format(A) && (this.$d = /* @__PURE__ */ new Date("")), l = {};
|
|
4191
|
+
} else if (A instanceof Array) for (var N = A.length, o = 1; o <= N; o += 1) {
|
|
4192
|
+
_[1] = A[o - 1];
|
|
4193
|
+
var p = k.apply(this, _);
|
|
4194
|
+
if (p.isValid()) {
|
|
4195
|
+
this.$d = p.$d, this.$L = p.$L, this.init();
|
|
4196
4196
|
break;
|
|
4197
4197
|
}
|
|
4198
|
-
o ===
|
|
4198
|
+
o === N && (this.$d = /* @__PURE__ */ new Date(""));
|
|
4199
4199
|
}
|
|
4200
|
-
else
|
|
4200
|
+
else w.call(this, D);
|
|
4201
4201
|
};
|
|
4202
4202
|
};
|
|
4203
4203
|
});
|
|
@@ -4215,68 +4215,68 @@ const q0 = ({
|
|
|
4215
4215
|
dataTestIdInput: i,
|
|
4216
4216
|
onChange: a
|
|
4217
4217
|
}) => {
|
|
4218
|
-
const d = ge(n, "M-D-YYYY", !0), [l, x] =
|
|
4219
|
-
|
|
4220
|
-
), k = Q(null), S = Q(null),
|
|
4218
|
+
const d = ge(n, "M-D-YYYY", !0), [l, x] = Y(!1), [g, b] = Y(""), [M, L] = Y(ge()), [C, v] = Y(!1), [f, y] = Y(
|
|
4219
|
+
g ? d.isValid() : !0
|
|
4220
|
+
), k = Q(null), S = Q(null), w = Q(null), D = M?.daysInMonth() || 30, V = M?.startOf("month").day() || 0;
|
|
4221
4221
|
Z(() => {
|
|
4222
|
-
const
|
|
4223
|
-
n &&
|
|
4222
|
+
const N = ge(n, "M-D-YYYY", !0);
|
|
4223
|
+
n && N.isValid() ? (b(N.format("M-D-YYYY")), L(N), v(!0), y(!0)) : n ? (b(n), L(ge()), v(!0), y(!1)) : (b(""), L(ge()), v(!1), y(!0));
|
|
4224
4224
|
}, [n]), Z(() => {
|
|
4225
|
-
function
|
|
4225
|
+
function N(o) {
|
|
4226
4226
|
k.current && (k.current.contains(o.target) || x(!1));
|
|
4227
4227
|
}
|
|
4228
|
-
return l &&
|
|
4228
|
+
return l && w.current && (w.current.querySelector(
|
|
4229
4229
|
'[role="button"]:not([disabled])'
|
|
4230
|
-
)?.focus(), document.addEventListener("mousedown",
|
|
4231
|
-
document.removeEventListener("mousedown",
|
|
4230
|
+
)?.focus(), document.addEventListener("mousedown", N)), () => {
|
|
4231
|
+
document.removeEventListener("mousedown", N);
|
|
4232
4232
|
};
|
|
4233
4233
|
}, [l]);
|
|
4234
|
-
const
|
|
4235
|
-
const o =
|
|
4236
|
-
v(!0),
|
|
4237
|
-
},
|
|
4238
|
-
|
|
4239
|
-
},
|
|
4240
|
-
const o =
|
|
4241
|
-
if (
|
|
4242
|
-
|
|
4234
|
+
const I = (N) => {
|
|
4235
|
+
const o = N.format("M-D-YYYY");
|
|
4236
|
+
v(!0), L(N), b(o), y(!0), a(o), x(!1), S.current?.focus();
|
|
4237
|
+
}, _ = (N, o) => {
|
|
4238
|
+
N.key === "Enter" && I(o);
|
|
4239
|
+
}, A = (N) => {
|
|
4240
|
+
const o = N.target.value;
|
|
4241
|
+
if (b(o), v(!0), !/^\d{1,2}-\d{2}-\d{4}$/.test(o)) {
|
|
4242
|
+
y(!1), a(o);
|
|
4243
4243
|
return;
|
|
4244
4244
|
}
|
|
4245
|
-
const
|
|
4246
|
-
|
|
4245
|
+
const h = ge(o, "M-D-YYYY", !0);
|
|
4246
|
+
h.isValid() ? (L(h), y(!0), a(o)) : (y(!1), a(o));
|
|
4247
4247
|
}, E = () => {
|
|
4248
|
-
x((
|
|
4248
|
+
x((N) => !N);
|
|
4249
4249
|
}, O = () => {
|
|
4250
|
-
|
|
4250
|
+
M && L(M.subtract(1, "month"));
|
|
4251
4251
|
}, j = () => {
|
|
4252
|
-
|
|
4252
|
+
M && L(M.add(1, "month"));
|
|
4253
4253
|
}, W = () => {
|
|
4254
|
-
if (
|
|
4255
|
-
const
|
|
4254
|
+
if (!M) return null;
|
|
4255
|
+
const N = [];
|
|
4256
4256
|
for (let o = 0; o < V; o++)
|
|
4257
|
-
|
|
4257
|
+
N.push(/* @__PURE__ */ t("div", { className: "w-8 h-8" }, `empty-${o}`));
|
|
4258
4258
|
for (let o = 1; o <= D; o++) {
|
|
4259
|
-
const
|
|
4260
|
-
|
|
4259
|
+
const p = M.date(o);
|
|
4260
|
+
N.push(
|
|
4261
4261
|
/* @__PURE__ */ t(
|
|
4262
4262
|
"button",
|
|
4263
4263
|
{
|
|
4264
4264
|
tabIndex: 0,
|
|
4265
|
-
onClick: () =>
|
|
4266
|
-
onKeyDown: (
|
|
4267
|
-
className: `w-8 h-8 ${
|
|
4268
|
-
"aria-label":
|
|
4265
|
+
onClick: () => I(p),
|
|
4266
|
+
onKeyDown: (h) => _(h, p),
|
|
4267
|
+
className: `w-8 h-8 ${p.isSame(M, "date") ? "bg-blue-600 text-white" : ""} hover:bg-blue-100 focus:ring`,
|
|
4268
|
+
"aria-label": p.format("MMMM D, YYYY"),
|
|
4269
4269
|
children: o
|
|
4270
4270
|
},
|
|
4271
4271
|
o
|
|
4272
4272
|
)
|
|
4273
4273
|
);
|
|
4274
4274
|
}
|
|
4275
|
-
return
|
|
4275
|
+
return N;
|
|
4276
4276
|
};
|
|
4277
|
-
return /* @__PURE__ */
|
|
4277
|
+
return /* @__PURE__ */ B("div", { className: "relative", ref: k, "test-dataid": r, children: [
|
|
4278
4278
|
/* @__PURE__ */ t("label", { htmlFor: e, id: "date-picker-input", className: "block text-sm font-medium text-gray-700", children: s }),
|
|
4279
|
-
/* @__PURE__ */
|
|
4279
|
+
/* @__PURE__ */ B("div", { className: "flex items-center mt-1", children: [
|
|
4280
4280
|
/* @__PURE__ */ t(
|
|
4281
4281
|
"input",
|
|
4282
4282
|
{
|
|
@@ -4284,8 +4284,8 @@ const q0 = ({
|
|
|
4284
4284
|
type: "text",
|
|
4285
4285
|
"aria-labelledby": "date-picker-input",
|
|
4286
4286
|
ref: S,
|
|
4287
|
-
value: C ?
|
|
4288
|
-
onChange:
|
|
4287
|
+
value: C ? g : "",
|
|
4288
|
+
onChange: A,
|
|
4289
4289
|
"data-testid": i,
|
|
4290
4290
|
placeholder: "M-D-YYYY",
|
|
4291
4291
|
className: `block w-full border-gray-300 border-2 rounded-l-md rounded-r-none py-2
|
|
@@ -4314,17 +4314,17 @@ const q0 = ({
|
|
|
4314
4314
|
}
|
|
4315
4315
|
)
|
|
4316
4316
|
] }),
|
|
4317
|
-
l && /* @__PURE__ */
|
|
4317
|
+
l && /* @__PURE__ */ B(
|
|
4318
4318
|
"div",
|
|
4319
4319
|
{
|
|
4320
|
-
ref:
|
|
4320
|
+
ref: w,
|
|
4321
4321
|
id: `${e}-dialog`,
|
|
4322
4322
|
role: "dialog",
|
|
4323
4323
|
"aria-label": "Calendar",
|
|
4324
4324
|
"data-testid": c,
|
|
4325
4325
|
className: "absolute z-10 bg-white shadow-lg rounded-md p-1",
|
|
4326
4326
|
children: [
|
|
4327
|
-
/* @__PURE__ */
|
|
4327
|
+
/* @__PURE__ */ B("div", { className: "flex items-center justify-between mb-4", children: [
|
|
4328
4328
|
/* @__PURE__ */ t(
|
|
4329
4329
|
"button",
|
|
4330
4330
|
{
|
|
@@ -4334,7 +4334,7 @@ const q0 = ({
|
|
|
4334
4334
|
children: "<"
|
|
4335
4335
|
}
|
|
4336
4336
|
),
|
|
4337
|
-
/* @__PURE__ */ t("div", { className: "text-lg font-semibold", children:
|
|
4337
|
+
/* @__PURE__ */ t("div", { className: "text-lg font-semibold", children: M?.format("MMMM YYYY") }),
|
|
4338
4338
|
/* @__PURE__ */ t(
|
|
4339
4339
|
"button",
|
|
4340
4340
|
{
|
|
@@ -4345,7 +4345,7 @@ const q0 = ({
|
|
|
4345
4345
|
}
|
|
4346
4346
|
)
|
|
4347
4347
|
] }),
|
|
4348
|
-
/* @__PURE__ */
|
|
4348
|
+
/* @__PURE__ */ B("div", { className: "grid grid-cols-7 gap-1 p-1", children: [
|
|
4349
4349
|
/* @__PURE__ */ t("p", { className: "pl-1", children: "Su" }),
|
|
4350
4350
|
/* @__PURE__ */ t("p", { className: "pl-1", children: "Mo" }),
|
|
4351
4351
|
/* @__PURE__ */ t("p", { className: "pl-1", children: "Tu" }),
|
|
@@ -4358,7 +4358,7 @@ const q0 = ({
|
|
|
4358
4358
|
]
|
|
4359
4359
|
}
|
|
4360
4360
|
),
|
|
4361
|
-
!
|
|
4361
|
+
!f && /* @__PURE__ */ t("p", { className: "text-red-600", children: "Please enter a valid date 'MM-DD-YYYY'" })
|
|
4362
4362
|
] });
|
|
4363
4363
|
}, K0 = ({
|
|
4364
4364
|
children: e,
|
|
@@ -4371,56 +4371,56 @@ const q0 = ({
|
|
|
4371
4371
|
className: d,
|
|
4372
4372
|
dataTestId: l,
|
|
4373
4373
|
dataTestIdButton: x,
|
|
4374
|
-
clickHandler:
|
|
4374
|
+
clickHandler: g
|
|
4375
4375
|
}) => {
|
|
4376
|
-
const [
|
|
4376
|
+
const [b, M] = Y(!1), L = `expandable-text-${Math.random().toString(36).slice(2)}`;
|
|
4377
4377
|
if (!e || typeof e != "string" || s < 0)
|
|
4378
4378
|
return /* @__PURE__ */ t("span", { className: d, children: e || "" });
|
|
4379
|
-
const v = ((
|
|
4380
|
-
if (
|
|
4381
|
-
const S =
|
|
4382
|
-
return
|
|
4379
|
+
const v = ((y, k) => {
|
|
4380
|
+
if (y.length <= k) return y;
|
|
4381
|
+
const S = y.slice(0, k), w = S.lastIndexOf(" ");
|
|
4382
|
+
return w > 0 ? S.slice(0, w) : S;
|
|
4383
4383
|
})(e, s);
|
|
4384
4384
|
if (e.length <= s)
|
|
4385
4385
|
return /* @__PURE__ */ t("span", { className: d, children: e });
|
|
4386
|
-
const
|
|
4387
|
-
|
|
4386
|
+
const f = () => {
|
|
4387
|
+
g && g(!b), M(!b);
|
|
4388
4388
|
};
|
|
4389
|
-
return /* @__PURE__ */ t("div", { className: d, id:
|
|
4389
|
+
return /* @__PURE__ */ t("div", { className: d, id: L, "data-testid": l, children: b ? /* @__PURE__ */ B(ae, { children: [
|
|
4390
4390
|
e,
|
|
4391
4391
|
i && /* @__PURE__ */ t(
|
|
4392
4392
|
"button",
|
|
4393
4393
|
{
|
|
4394
|
-
onClick:
|
|
4394
|
+
onClick: f,
|
|
4395
4395
|
className: m(
|
|
4396
4396
|
"ml-2 text-blue-600 underline hover:text-blue-800 focus:outline-none",
|
|
4397
4397
|
c
|
|
4398
4398
|
),
|
|
4399
4399
|
"aria-expanded": "true",
|
|
4400
|
-
"aria-controls":
|
|
4400
|
+
"aria-controls": L,
|
|
4401
4401
|
"data-testid": x,
|
|
4402
4402
|
children: a
|
|
4403
4403
|
}
|
|
4404
4404
|
)
|
|
4405
|
-
] }) : /* @__PURE__ */
|
|
4405
|
+
] }) : /* @__PURE__ */ B(ae, { children: [
|
|
4406
4406
|
v,
|
|
4407
4407
|
"...",
|
|
4408
4408
|
/* @__PURE__ */ t(
|
|
4409
4409
|
"button",
|
|
4410
4410
|
{
|
|
4411
|
-
onClick:
|
|
4411
|
+
onClick: f,
|
|
4412
4412
|
className: m(
|
|
4413
4413
|
"ml-2 text-blue-600 underline hover:text-blue-800 focus:outline-none",
|
|
4414
4414
|
r
|
|
4415
4415
|
),
|
|
4416
4416
|
"aria-expanded": "false",
|
|
4417
|
-
"aria-controls":
|
|
4417
|
+
"aria-controls": L,
|
|
4418
4418
|
"data-testid": x,
|
|
4419
4419
|
children: n
|
|
4420
4420
|
}
|
|
4421
4421
|
)
|
|
4422
4422
|
] }) });
|
|
4423
|
-
},
|
|
4423
|
+
}, Ye = {
|
|
4424
4424
|
default: {
|
|
4425
4425
|
container: "flex border-b border-gray-200",
|
|
4426
4426
|
tab: "text-[#092068]",
|
|
@@ -4454,71 +4454,71 @@ const X0 = ({
|
|
|
4454
4454
|
dataTestIdContainer: a,
|
|
4455
4455
|
dataTestIdTabButton: d
|
|
4456
4456
|
}) => {
|
|
4457
|
-
const [l, x] =
|
|
4457
|
+
const [l, x] = Y(0), [g, b] = Y(!1), [M, L] = Y(""), C = Q([]);
|
|
4458
4458
|
e === "" && (e = "default");
|
|
4459
|
-
const v = $e((
|
|
4460
|
-
C.current[
|
|
4461
|
-
}, []),
|
|
4462
|
-
D && D(), x(
|
|
4463
|
-
},
|
|
4464
|
-
C.current[
|
|
4459
|
+
const v = $e((w) => {
|
|
4460
|
+
C.current[w]?.focus();
|
|
4461
|
+
}, []), f = (w, D) => {
|
|
4462
|
+
D && D(), x(w);
|
|
4463
|
+
}, y = (w) => (D) => {
|
|
4464
|
+
C.current[w] = D;
|
|
4465
4465
|
}, k = $e(
|
|
4466
|
-
(
|
|
4467
|
-
if (
|
|
4466
|
+
(w, D) => {
|
|
4467
|
+
if (w.key === "ArrowRight") {
|
|
4468
4468
|
const V = (D + 1) % s.length;
|
|
4469
4469
|
x(V), v(V);
|
|
4470
|
-
} else if (
|
|
4470
|
+
} else if (w.key === "ArrowLeft") {
|
|
4471
4471
|
const V = (D - 1 + s.length) % s.length;
|
|
4472
4472
|
x(V), v(V);
|
|
4473
|
-
} else
|
|
4473
|
+
} else w.key === "Home" ? (x(0), v(0)) : w.key === "End" && (x(s.length - 1), v(s.length - 1));
|
|
4474
4474
|
},
|
|
4475
4475
|
[s.length, v]
|
|
4476
|
-
), S = (
|
|
4477
|
-
|
|
4476
|
+
), S = (w) => {
|
|
4477
|
+
b(!0), L(w);
|
|
4478
4478
|
};
|
|
4479
|
-
return /* @__PURE__ */
|
|
4479
|
+
return /* @__PURE__ */ B("div", { className: m("w-full", r), "data-testid": a, children: [
|
|
4480
4480
|
/* @__PURE__ */ t(
|
|
4481
4481
|
"div",
|
|
4482
4482
|
{
|
|
4483
4483
|
role: "tablist",
|
|
4484
4484
|
"aria-label": "Tabs",
|
|
4485
|
-
className: m(
|
|
4486
|
-
children: s.map((
|
|
4485
|
+
className: m(Ye[e].container, n),
|
|
4486
|
+
children: s.map((w, D) => /* @__PURE__ */ B(
|
|
4487
4487
|
"button",
|
|
4488
4488
|
{
|
|
4489
4489
|
role: "tab",
|
|
4490
|
-
id: `tab-${
|
|
4491
|
-
onMouseEnter: () => S(
|
|
4492
|
-
onMouseLeave: () =>
|
|
4490
|
+
id: `tab-${w.id}`,
|
|
4491
|
+
onMouseEnter: () => S(w.id),
|
|
4492
|
+
onMouseLeave: () => b(!1),
|
|
4493
4493
|
"aria-selected": l === D,
|
|
4494
|
-
"aria-controls": `panel-${
|
|
4494
|
+
"aria-controls": `panel-${w.id}`,
|
|
4495
4495
|
"data-testid": d,
|
|
4496
4496
|
tabIndex: l === D ? 0 : -1,
|
|
4497
|
-
ref:
|
|
4498
|
-
className: `flex px-6 py-3 md:py-[14px] lg:py-4 focus:outline-hidden ${e === "outline" ? `border-[#092068] ${D === 0 ? "border-l-2 border-t-2 border-b-2 rounded-l-md focus:rounded-l-md" : D === s.length - 1 ? "border-r-2 border-t-2 border-b-2 rounded-r-md focus:rounded-r-md" : "border-t-2 border-b-2"}` : ""} ${l === D ? m(
|
|
4499
|
-
onClick: () =>
|
|
4497
|
+
ref: y(D),
|
|
4498
|
+
className: `flex px-6 py-3 md:py-[14px] lg:py-4 focus:outline-hidden ${e === "outline" ? `border-[#092068] ${D === 0 ? "border-l-2 border-t-2 border-b-2 rounded-l-md focus:rounded-l-md" : D === s.length - 1 ? "border-r-2 border-t-2 border-b-2 rounded-r-md focus:rounded-r-md" : "border-t-2 border-b-2"}` : ""} ${l === D ? m(Ye[e].active, c) : m(Ye[e].inactive, i)}`,
|
|
4499
|
+
onClick: () => f(D, w.onClick),
|
|
4500
4500
|
onKeyDown: (V) => k(V, D),
|
|
4501
4501
|
children: [
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4502
|
+
w.iconPosition === "left" && w.activeIcon && /* @__PURE__ */ t("span", { className: "icon-left mr-3 size-6 lg:mt-0.5", children: l === D ? g && M === w.id ? w.inactiveIcon : w.activeIcon : w.inactiveIcon }),
|
|
4503
|
+
w.iconPosition === "iconOnly" && w.activeIcon ? /* @__PURE__ */ t("span", { className: "size-6 lg:mt-0.5", children: l === D ? g && M === w.id ? w.inactiveIcon : w.activeIcon : w.inactiveIcon }) : /* @__PURE__ */ t("span", { className: "text-sm md:text-base lg:text-lg mt-0.5 md:mt-0", children: w.label }),
|
|
4504
|
+
w.iconPosition === "right" && w.activeIcon && /* @__PURE__ */ t("span", { className: "icon-right ml-3 size-6 lg:mt-0.5", children: l === D ? g && M === w.id ? w.inactiveIcon : w.activeIcon : w.inactiveIcon })
|
|
4505
4505
|
]
|
|
4506
4506
|
},
|
|
4507
|
-
|
|
4507
|
+
w.id
|
|
4508
4508
|
))
|
|
4509
4509
|
}
|
|
4510
4510
|
),
|
|
4511
|
-
s.map((
|
|
4511
|
+
s.map((w, D) => /* @__PURE__ */ t(
|
|
4512
4512
|
"div",
|
|
4513
4513
|
{
|
|
4514
4514
|
role: "tabpanel",
|
|
4515
|
-
id: `panel-${
|
|
4516
|
-
"aria-labelledby": `tab-${
|
|
4515
|
+
id: `panel-${w.id}`,
|
|
4516
|
+
"aria-labelledby": `tab-${w.id}`,
|
|
4517
4517
|
hidden: l !== D,
|
|
4518
4518
|
className: "p-4",
|
|
4519
|
-
children:
|
|
4519
|
+
children: w.content
|
|
4520
4520
|
},
|
|
4521
|
-
|
|
4521
|
+
w.id
|
|
4522
4522
|
))
|
|
4523
4523
|
] });
|
|
4524
4524
|
};
|
|
@@ -4570,58 +4570,58 @@ const c2 = "px-4 py-3 arial rounded-lg border border-[#B3B3B3] mx-2 bg-white hov
|
|
|
4570
4570
|
dataTestIdLabel: l,
|
|
4571
4571
|
error: x = !1,
|
|
4572
4572
|
// labelInputColor = '#fff',
|
|
4573
|
-
textShadow:
|
|
4574
|
-
mask:
|
|
4575
|
-
disabled:
|
|
4576
|
-
...
|
|
4573
|
+
textShadow: g = !1,
|
|
4574
|
+
mask: b,
|
|
4575
|
+
disabled: M,
|
|
4576
|
+
...L
|
|
4577
4577
|
}, C) => {
|
|
4578
|
-
const { "aria-label": v, ...
|
|
4579
|
-
const
|
|
4580
|
-
O(
|
|
4578
|
+
const { "aria-label": v, ...f } = L, [y, k] = Y(), [S, w] = Y(c2), [D, V] = Y(""), [I, _] = Y(!1), A = Q(null), [E, O] = Y(""), j = "border-[#D54309] border", W = (o) => {
|
|
4579
|
+
const p = o.target.value;
|
|
4580
|
+
O(b ? N(p) : p);
|
|
4581
4581
|
};
|
|
4582
|
-
function
|
|
4583
|
-
let
|
|
4584
|
-
if (
|
|
4585
|
-
for (; o.length > 0 &&
|
|
4586
|
-
|
|
4587
|
-
return
|
|
4582
|
+
function N(o) {
|
|
4583
|
+
let p = "", h = 0;
|
|
4584
|
+
if (b)
|
|
4585
|
+
for (; o.length > 0 && h < b.length; )
|
|
4586
|
+
b[h] !== "#" && b[h] !== "@" ? b[h] === o[0] ? (p += o[0], o = o.slice(1), h++) : ((l2(o[0]) && i2(b, h) === "@" || o2(o[0]) && i2(b, h) === "#") && (p += b[h]), h++) : b[h] === "#" && o2(o[0]) || b[h] === "@" && l2(o[0]) ? (p += o[0], o = o.slice(1), h++) : o = o.slice(1);
|
|
4587
|
+
return p;
|
|
4588
4588
|
}
|
|
4589
4589
|
if (Z(() => {
|
|
4590
|
-
s && (
|
|
4590
|
+
s && (w(m(
|
|
4591
4591
|
c2,
|
|
4592
4592
|
Fe.find((o) => o.variant === s)?.classes,
|
|
4593
4593
|
x && j,
|
|
4594
4594
|
e
|
|
4595
4595
|
)), V(m(r ? Fe.find((o) => o.variant === s)?.insetLabelClasses : Fe.find((o) => o.variant === s)?.labelClasses, c)));
|
|
4596
|
-
}, [e, c, s,
|
|
4596
|
+
}, [e, c, s, I, r, x]), Z(() => {
|
|
4597
4597
|
if (r) {
|
|
4598
|
-
const o =
|
|
4598
|
+
const o = A.current;
|
|
4599
4599
|
if (!o) return;
|
|
4600
|
-
const
|
|
4600
|
+
const p = (h) => {
|
|
4601
4601
|
const u = getComputedStyle(o);
|
|
4602
|
-
k(u.backgroundColor),
|
|
4602
|
+
k(u.backgroundColor), _(h);
|
|
4603
4603
|
};
|
|
4604
|
-
return
|
|
4605
|
-
o.removeEventListener("mouseover", () =>
|
|
4604
|
+
return p(!0), o.addEventListener("mouseover", () => p(!0)), o.addEventListener("mouseout", () => p(!1)), () => {
|
|
4605
|
+
o.removeEventListener("mouseover", () => p), o.removeEventListener("mouseout", () => p);
|
|
4606
4606
|
};
|
|
4607
4607
|
}
|
|
4608
|
-
}, [a, r,
|
|
4608
|
+
}, [a, r, I, M]), !["default", "outline", "nonHover"].includes(s))
|
|
4609
4609
|
throw new Error(
|
|
4610
4610
|
`Invalid variant: "${s}". Valid variants are: "default", "outline", and "nonHover".`
|
|
4611
4611
|
);
|
|
4612
|
-
return /* @__PURE__ */
|
|
4613
|
-
/* @__PURE__ */
|
|
4612
|
+
return /* @__PURE__ */ B("span", { className: "group relative", children: [
|
|
4613
|
+
/* @__PURE__ */ B(
|
|
4614
4614
|
"div",
|
|
4615
4615
|
{
|
|
4616
4616
|
className: m(`${!r && "pb-2"}`, D),
|
|
4617
4617
|
style: r ? {
|
|
4618
|
-
background: `linear-gradient(to bottom, ${a} 0%, ${a} 50%, ${
|
|
4619
|
-
textShadow:
|
|
4620
|
-
} : { textShadow:
|
|
4618
|
+
background: `linear-gradient(to bottom, ${a} 0%, ${a} 50%, ${y} 60%, ${y} 100%)`,
|
|
4619
|
+
textShadow: g ? `1px 1px 2px ${a}, 0 0 1em ${a}, 0 0 0.2em ${a}` : ""
|
|
4620
|
+
} : { textShadow: g ? `1px 1px 2px ${a}, 0 0 1em ${a}, 0 0 0.2em ${a}` : "" },
|
|
4621
4621
|
"data-testid": l,
|
|
4622
4622
|
children: [
|
|
4623
4623
|
n,
|
|
4624
|
-
|
|
4624
|
+
L.required && /* @__PURE__ */ t("span", { className: m("absolute text-red-500 ms-0.5 -mt-1", i), children: "*" })
|
|
4625
4625
|
]
|
|
4626
4626
|
}
|
|
4627
4627
|
),
|
|
@@ -4632,12 +4632,12 @@ const c2 = "px-4 py-3 arial rounded-lg border border-[#B3B3B3] mx-2 bg-white hov
|
|
|
4632
4632
|
"aria-label": v ?? (typeof n == "string" ? n : void 0),
|
|
4633
4633
|
value: E,
|
|
4634
4634
|
onChange: W,
|
|
4635
|
-
disabled:
|
|
4635
|
+
disabled: M,
|
|
4636
4636
|
"data-testid": d,
|
|
4637
4637
|
ref: (o) => {
|
|
4638
|
-
typeof C == "function" ? C(o) : C && (C.current = o),
|
|
4638
|
+
typeof C == "function" ? C(o) : C && (C.current = o), A.current = o;
|
|
4639
4639
|
},
|
|
4640
|
-
...
|
|
4640
|
+
...f
|
|
4641
4641
|
}
|
|
4642
4642
|
)
|
|
4643
4643
|
] });
|
|
@@ -4655,62 +4655,62 @@ const l0 = ({
|
|
|
4655
4655
|
isDecimal: d = !1,
|
|
4656
4656
|
isDisc: l = !1,
|
|
4657
4657
|
isAlphabetical: x = !1,
|
|
4658
|
-
isRomanNumeral:
|
|
4659
|
-
isInline:
|
|
4660
|
-
testDataId:
|
|
4661
|
-
}) => /* @__PURE__ */
|
|
4658
|
+
isRomanNumeral: g = !1,
|
|
4659
|
+
isInline: b = !1,
|
|
4660
|
+
testDataId: M
|
|
4661
|
+
}) => /* @__PURE__ */ B("div", { className: "p-0 m-0", "data-testid": M, children: [
|
|
4662
4662
|
/* @__PURE__ */ t("p", { children: s }),
|
|
4663
|
-
/* @__PURE__ */
|
|
4664
|
-
e && e.map((
|
|
4663
|
+
/* @__PURE__ */ B("ul", { className: m("pl-6 list-none w-full", d ? "list-decimal" : "", l ? "list-disc" : "", n), children: [
|
|
4664
|
+
e && e.map((L, C) => /* @__PURE__ */ B(
|
|
4665
4665
|
S2,
|
|
4666
4666
|
{
|
|
4667
4667
|
className: m(
|
|
4668
4668
|
"w-full text-base md:text:lg py-2",
|
|
4669
|
-
i && (
|
|
4670
|
-
a !== "" && (
|
|
4671
|
-
|
|
4669
|
+
i && (b ? C !== e.length : C !== e.length - 1) ? "border-b" : "",
|
|
4670
|
+
a !== "" && (b ? C !== e.length : C !== e.length - 1) ? a : "",
|
|
4671
|
+
b && "inline mr-2",
|
|
4672
4672
|
r
|
|
4673
4673
|
),
|
|
4674
4674
|
children: [
|
|
4675
|
-
|
|
4675
|
+
g && /* @__PURE__ */ B("span", { className: "flex flex-col w-6", children: [
|
|
4676
4676
|
String.fromCharCode(8560 + C),
|
|
4677
4677
|
". "
|
|
4678
4678
|
] }),
|
|
4679
|
-
x && /* @__PURE__ */
|
|
4679
|
+
x && /* @__PURE__ */ B("span", { children: [
|
|
4680
4680
|
String.fromCharCode(97 + C),
|
|
4681
4681
|
". "
|
|
4682
4682
|
] }),
|
|
4683
|
-
|
|
4683
|
+
g ? /* @__PURE__ */ t("span", { className: "flex flex-col w-6", children: L.children }) : L.children
|
|
4684
4684
|
]
|
|
4685
4685
|
},
|
|
4686
4686
|
C
|
|
4687
4687
|
)),
|
|
4688
4688
|
c && le.Children.map(
|
|
4689
4689
|
c,
|
|
4690
|
-
(
|
|
4690
|
+
(L, C) => le.isValidElement(L) ? le.cloneElement(L, {
|
|
4691
4691
|
className: m(
|
|
4692
|
-
|
|
4692
|
+
b && "inline mr-2",
|
|
4693
4693
|
r,
|
|
4694
|
-
|
|
4694
|
+
L.props.className,
|
|
4695
4695
|
"w-full",
|
|
4696
|
-
i && (
|
|
4697
|
-
a !== "" && (
|
|
4696
|
+
i && (b ? C !== le.Children.count(c) : C !== le.Children.count(c) - 1) ? "border-b" : "",
|
|
4697
|
+
a !== "" && (b ? C !== le.Children.count(c) : C !== le.Children.count(c) - 1) ? a : ""
|
|
4698
4698
|
),
|
|
4699
|
-
children: /* @__PURE__ */
|
|
4700
|
-
|
|
4701
|
-
/* @__PURE__ */
|
|
4699
|
+
children: /* @__PURE__ */ B(ae, { children: [
|
|
4700
|
+
g && /* @__PURE__ */ B("div", { className: "flex flex-row", children: [
|
|
4701
|
+
/* @__PURE__ */ B("span", { className: "w-6", children: [
|
|
4702
4702
|
String.fromCharCode(8560 + C),
|
|
4703
4703
|
". "
|
|
4704
4704
|
] }),
|
|
4705
|
-
|
|
4705
|
+
L.props.children
|
|
4706
4706
|
] }),
|
|
4707
|
-
x && /* @__PURE__ */
|
|
4707
|
+
x && /* @__PURE__ */ B("span", { children: [
|
|
4708
4708
|
String.fromCharCode(97 + C),
|
|
4709
4709
|
". "
|
|
4710
4710
|
] }),
|
|
4711
|
-
!
|
|
4711
|
+
!g && L.props.children
|
|
4712
4712
|
] })
|
|
4713
|
-
}) :
|
|
4713
|
+
}) : L
|
|
4714
4714
|
)
|
|
4715
4715
|
] })
|
|
4716
4716
|
] }), S2 = ({ className: e, children: s }) => /* @__PURE__ */ t("li", { className: m("py-2 text-base md:text:lg", e), children: s }), i0 = "data:image/svg+xml,%3csvg%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20id='close'%3e%3cmask%20id='mask0_4303_6570'%20style='mask-type:alpha'%20maskUnits='userSpaceOnUse'%20x='0'%20y='0'%20width='24'%20height='24'%3e%3crect%20id='Bounding%20box'%20x='0.5'%20width='24'%20height='24'%20fill='%23D9D9D9'/%3e%3c/mask%3e%3cg%20mask='url(%23mask0_4303_6570)'%3e%3cpath%20id='Icon'%20d='M12.4995%2013.0537L7.42652%2018.127C7.28802%2018.2653%207.11394%2018.3362%206.90427%2018.3395C6.69477%2018.3427%206.51752%2018.2718%206.37252%2018.127C6.22769%2017.982%206.15527%2017.8063%206.15527%2017.6C6.15527%2017.3937%206.22769%2017.218%206.37252%2017.073L11.4458%2012L6.37252%206.927C6.23419%206.7885%206.16336%206.61441%206.16002%206.40475C6.15686%206.19525%206.22769%206.018%206.37252%205.873C6.51752%205.72816%206.69319%205.65575%206.89952%205.65575C7.10586%205.65575%207.28152%205.72816%207.42652%205.873L12.4995%2010.9462L17.5725%205.873C17.711%205.73466%2017.8851%205.66383%2018.0948%205.6605C18.3043%205.65733%2018.4815%205.72816%2018.6265%205.873C18.7714%206.018%2018.8438%206.19366%2018.8438%206.4C18.8438%206.60633%2018.7714%206.782%2018.6265%206.927L13.5533%2012L18.6265%2017.073C18.7649%2017.2115%2018.8357%2017.3856%2018.839%2017.5952C18.8422%2017.8047%2018.7714%2017.982%2018.6265%2018.127C18.4815%2018.2718%2018.3059%2018.3442%2018.0995%2018.3442C17.8932%2018.3442%2017.7175%2018.2718%2017.5725%2018.127L12.4995%2013.0537Z'%20fill='%231C1B1F'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e", me = {
|
|
@@ -4746,57 +4746,57 @@ const l0 = ({
|
|
|
4746
4746
|
displayClosingX: d = !0,
|
|
4747
4747
|
closeButtonText: l = "Close",
|
|
4748
4748
|
continueButton: x = !1,
|
|
4749
|
-
continueButtonHandler:
|
|
4750
|
-
continueButtonText:
|
|
4751
|
-
blurLevel:
|
|
4752
|
-
dataTestId:
|
|
4749
|
+
continueButtonHandler: g,
|
|
4750
|
+
continueButtonText: b = "Continue",
|
|
4751
|
+
blurLevel: M,
|
|
4752
|
+
dataTestId: L,
|
|
4753
4753
|
dataTestIdBody: C,
|
|
4754
4754
|
dataTestIdTitle: v,
|
|
4755
|
-
children:
|
|
4755
|
+
children: f
|
|
4756
4756
|
}) => {
|
|
4757
|
-
const
|
|
4757
|
+
const y = Q(null), k = Q(null), S = "fixed inset-0 z-50 flex items-center justify-center bg-black/50", [w, D] = Y("");
|
|
4758
4758
|
if (Z(() => {
|
|
4759
|
-
if (
|
|
4760
|
-
const
|
|
4761
|
-
D(m(S,
|
|
4759
|
+
if (M) {
|
|
4760
|
+
const I = "backdrop-blur-" + M;
|
|
4761
|
+
D(m(S, I));
|
|
4762
4762
|
} else
|
|
4763
4763
|
D(S);
|
|
4764
|
-
}, [
|
|
4764
|
+
}, [M]), Z(() => {
|
|
4765
4765
|
if (a) {
|
|
4766
|
-
const
|
|
4767
|
-
|
|
4766
|
+
const I = (_) => {
|
|
4767
|
+
y.current && !y.current.contains(_.target) && n();
|
|
4768
4768
|
};
|
|
4769
|
-
return document.addEventListener("mousedown",
|
|
4770
|
-
document.removeEventListener("mousedown",
|
|
4769
|
+
return document.addEventListener("mousedown", I), () => {
|
|
4770
|
+
document.removeEventListener("mousedown", I);
|
|
4771
4771
|
};
|
|
4772
4772
|
}
|
|
4773
4773
|
}, [n]), Z(() => {
|
|
4774
|
-
const
|
|
4775
|
-
|
|
4776
|
-
},
|
|
4777
|
-
const E =
|
|
4774
|
+
const I = (A) => {
|
|
4775
|
+
A.key === "Escape" && e && n();
|
|
4776
|
+
}, _ = (A) => {
|
|
4777
|
+
const E = y.current?.querySelectorAll(
|
|
4778
4778
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
4779
4779
|
), O = E?.[0], j = E?.[E.length - 1];
|
|
4780
|
-
|
|
4780
|
+
A.key === "Tab" && E && (A.shiftKey && document.activeElement === O ? (A.preventDefault(), j?.focus()) : !A.shiftKey && document.activeElement === j && (A.preventDefault(), O?.focus()));
|
|
4781
4781
|
};
|
|
4782
|
-
return e ? (document.body.style.overflow = "hidden", window.addEventListener("keydown",
|
|
4783
|
-
window.removeEventListener("keydown",
|
|
4782
|
+
return e ? (document.body.style.overflow = "hidden", window.addEventListener("keydown", I), window.addEventListener("keydown", _), k.current?.focus()) : document.body.style.overflow = "auto", () => {
|
|
4783
|
+
window.removeEventListener("keydown", I), window.removeEventListener("keydown", _), document.body.style.overflow = "auto";
|
|
4784
4784
|
};
|
|
4785
4785
|
}, [e, n]), !e) return null;
|
|
4786
4786
|
const V = () => {
|
|
4787
|
-
|
|
4787
|
+
g && g(), n();
|
|
4788
4788
|
};
|
|
4789
4789
|
return /* @__PURE__ */ t(
|
|
4790
4790
|
"div",
|
|
4791
4791
|
{
|
|
4792
|
-
className:
|
|
4792
|
+
className: w,
|
|
4793
4793
|
id: "backdrop",
|
|
4794
|
-
"data-testid":
|
|
4795
|
-
children: /* @__PURE__ */
|
|
4794
|
+
"data-testid": L,
|
|
4795
|
+
children: /* @__PURE__ */ B(
|
|
4796
4796
|
"div",
|
|
4797
4797
|
{
|
|
4798
4798
|
className: m(me[s].container, c),
|
|
4799
|
-
ref:
|
|
4799
|
+
ref: y,
|
|
4800
4800
|
"aria-label": "modal-title",
|
|
4801
4801
|
role: "dialog",
|
|
4802
4802
|
"aria-modal": "true",
|
|
@@ -4827,10 +4827,10 @@ const l0 = ({
|
|
|
4827
4827
|
{
|
|
4828
4828
|
className: m("text-center lg:text-[18px] px-2", me[s].body),
|
|
4829
4829
|
"data-testid": C,
|
|
4830
|
-
children:
|
|
4830
|
+
children: f
|
|
4831
4831
|
}
|
|
4832
4832
|
),
|
|
4833
|
-
x || i ? /* @__PURE__ */
|
|
4833
|
+
x || i ? /* @__PURE__ */ B("div", { className: "mt-4 flex justify-end px-4", children: [
|
|
4834
4834
|
i && /* @__PURE__ */ t(
|
|
4835
4835
|
"button",
|
|
4836
4836
|
{
|
|
@@ -4845,7 +4845,7 @@ const l0 = ({
|
|
|
4845
4845
|
{
|
|
4846
4846
|
onClick: V,
|
|
4847
4847
|
className: m(me[s].button, "ms-4"),
|
|
4848
|
-
children:
|
|
4848
|
+
children: b
|
|
4849
4849
|
}
|
|
4850
4850
|
)
|
|
4851
4851
|
] }) : ""
|
|
@@ -4866,25 +4866,25 @@ const l0 = ({
|
|
|
4866
4866
|
onClick: d,
|
|
4867
4867
|
selected: l = !1,
|
|
4868
4868
|
disabled: x = !1,
|
|
4869
|
-
...
|
|
4870
|
-
},
|
|
4871
|
-
const [
|
|
4869
|
+
...g
|
|
4870
|
+
}, b) => {
|
|
4871
|
+
const [M, L] = Y(), [C, v] = Y(), [f, y] = Y("bg-white");
|
|
4872
4872
|
return Z(() => {
|
|
4873
4873
|
const k = "text-lg font-normal font-['Arial'] leading-normal ";
|
|
4874
4874
|
v(s && r ? k : s ? k + "mr-6" : r ? k + "ml-6" : k + "ml-6 mr-6");
|
|
4875
4875
|
}, [s, r, i]), Z(() => {
|
|
4876
|
-
|
|
4876
|
+
y(l ? "bg-[#092068] focus:bg-[#092068] text-white" : "bg-white"), L(m(
|
|
4877
4877
|
"relative inline-flex items-center justify-center whitespace-nowrap rounded-3xl transition-colors focus-visible:outline-hidden font-[`Arial`] disabled:pointer-events-none disabled:opacity-50 border-2 border-[#092068] text-[#092068] text-lg focus:shadow-[0px_0px_0px_3px_rgba(251,137,241,1.00)] bg-white hover:bg-[#D1DBFB] active:bg-[#9fc5f0] focus:bg-white disabled:bg-[#939194] disabled:bg-dha-mc-bottom-nav-background disabled:text-dha-mc-checkbox-inactive focus:border-black disabled:border-dha-mc-secondary-border disabled:border-2 h-[48px] mt-1",
|
|
4878
|
-
|
|
4878
|
+
f,
|
|
4879
4879
|
e
|
|
4880
4880
|
));
|
|
4881
|
-
}, [e,
|
|
4881
|
+
}, [e, f, l]), /* @__PURE__ */ B(
|
|
4882
4882
|
"button",
|
|
4883
4883
|
{
|
|
4884
4884
|
onClick: d,
|
|
4885
|
-
className:
|
|
4886
|
-
ref:
|
|
4887
|
-
...
|
|
4885
|
+
className: M,
|
|
4886
|
+
ref: b,
|
|
4887
|
+
...g,
|
|
4888
4888
|
disabled: x,
|
|
4889
4889
|
"data-testid": a,
|
|
4890
4890
|
children: [
|
|
@@ -4906,23 +4906,23 @@ const l0 = ({
|
|
|
4906
4906
|
isStep: d = !0,
|
|
4907
4907
|
dataTestId: l,
|
|
4908
4908
|
showMarkers: x = !0,
|
|
4909
|
-
classNameMarkerFalse:
|
|
4909
|
+
classNameMarkerFalse: g = ""
|
|
4910
4910
|
}) => {
|
|
4911
|
-
const
|
|
4911
|
+
const b = Array.from({ length: e }, (C, v) => v + 1), [M, L] = Y(Math.round(s / e * 100).toString() + "%");
|
|
4912
4912
|
return f2(() => {
|
|
4913
4913
|
const v = Math.round(s / e * 100).toString() + "%";
|
|
4914
|
-
|
|
4915
|
-
}, [s, e]), /* @__PURE__ */ t("div", { className: m("flex items-center w-full", n), "data-testid": l, children: x ?
|
|
4916
|
-
const
|
|
4917
|
-
return /* @__PURE__ */
|
|
4914
|
+
L(v);
|
|
4915
|
+
}, [s, e]), /* @__PURE__ */ t("div", { className: m("flex items-center w-full", n), "data-testid": l, children: x ? b.map((C, v) => {
|
|
4916
|
+
const f = C <= s - 1, y = v === b.length - 1;
|
|
4917
|
+
return /* @__PURE__ */ B(ae, { children: [
|
|
4918
4918
|
/* @__PURE__ */ t(
|
|
4919
4919
|
"div",
|
|
4920
4920
|
{
|
|
4921
4921
|
className: m(
|
|
4922
4922
|
"flex items-center justify-center size-8 rounded-full border-[3px] border-gray-300 text-gray-500",
|
|
4923
|
-
`${
|
|
4923
|
+
`${f && `${c} ${i}`}`
|
|
4924
4924
|
),
|
|
4925
|
-
children: d ? /* @__PURE__ */ t("div", { className: `${
|
|
4925
|
+
children: d ? /* @__PURE__ */ t("div", { className: `${f ? "text-white" : "text-gray-400"}`, children: C }) : f ? /* @__PURE__ */ t("svg", { width: "24", height: "25", viewBox: "0 0 24 25", className: `${f ? "fill-white" : "fill-gray-400"}`, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ B("g", { id: "check_box", children: [
|
|
4926
4926
|
/* @__PURE__ */ t("mask", { id: "mask0_4855_19004", "mask-type": "alpha", maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "24", height: "25", children: /* @__PURE__ */ t("rect", { id: "Bounding box", y: "0.5", width: "24", height: "24" }) }),
|
|
4927
4927
|
/* @__PURE__ */ t("g", { mask: "url(#mask0_4855_19004)", children: /* @__PURE__ */ t("path", { id: "Icon", d: `M10.6001 14.2465L8.27711 11.9232C8.13861 11.7849 7.96453 11.7141 7.75486
|
|
4928
4928
|
11.7107C7.54536 11.7076 7.36811 11.7784 7.22311 11.9232C7.07828 12.0682 7.00586 12.2439 7.00586
|
|
@@ -4930,7 +4930,7 @@ const l0 = ({
|
|
|
4930
4930
|
15.9925 10.6001 15.9925C10.8411 15.9925 11.052 15.9021 11.2329 15.7215L16.7964 10.158C16.9347
|
|
4931
4931
|
10.0195 17.0055 9.84538 17.0089 9.63572C17.012 9.42622 16.9412 9.24897 16.7964 9.10397C16.6514
|
|
4932
4932
|
8.95914 16.4757 8.88672 16.2694 8.88672C16.063 8.88672 15.8874 8.95914 15.7424 9.10397L10.6001 14.2465Z` }) })
|
|
4933
|
-
] }) }) : /* @__PURE__ */ t("svg", { width: "24", height: "25", viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */
|
|
4933
|
+
] }) }) : /* @__PURE__ */ t("svg", { width: "24", height: "25", viewBox: "0 0 24 25", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ B("g", { id: "check_box", children: [
|
|
4934
4934
|
/* @__PURE__ */ t("mask", { id: "mask0_4855_17150", "mask-type": "alpha", maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "24", height: "25", children: /* @__PURE__ */ t("rect", { id: "Bounding box", y: "0.5", width: "24", height: "24", fill: "#D9D9D9" }) }),
|
|
4935
4935
|
/* @__PURE__ */ t("g", { mask: "url(#mask0_4855_17150)", children: /* @__PURE__ */ t("path", { id: "Icon", d: `M15.75 13H7.75C7.53717 13 7.359 12.9282 7.2155 12.7845C7.07183 12.641 7 12.4628 7
|
|
4936
4936
|
12.25C7 12.0372 7.07183 11.859 7.2155 11.7155C7.359 11.5718 7.53717 11.5 7.75 11.5H15.75C15.9628 11.5
|
|
@@ -4939,14 +4939,14 @@ const l0 = ({
|
|
|
4939
4939
|
] }) })
|
|
4940
4940
|
}
|
|
4941
4941
|
),
|
|
4942
|
-
!
|
|
4942
|
+
!y && /* @__PURE__ */ t(
|
|
4943
4943
|
"div",
|
|
4944
4944
|
{
|
|
4945
4945
|
className: m(
|
|
4946
4946
|
"relative -z-10 -mx-[0.1em] flex-1 h-1 bg-gray-300",
|
|
4947
|
-
`${
|
|
4947
|
+
`${f && `bg-linear-to-r ${a} from-50%`}`
|
|
4948
4948
|
),
|
|
4949
|
-
children: C < s && C > s - 2 && /* @__PURE__ */ t("div", { className: "absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2", children: /* @__PURE__ */ t("svg", { viewBox: "0 0 23 18", className: "size-8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */
|
|
4949
|
+
children: C < s && C > s - 2 && /* @__PURE__ */ t("div", { className: "absolute left-1/2 top-1/2 transform -translate-x-1/2 -translate-y-1/2", children: /* @__PURE__ */ t("svg", { viewBox: "0 0 23 18", className: "size-8", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ B("g", { id: "Arrow", children: [
|
|
4950
4950
|
/* @__PURE__ */ t("rect", { width: "22.48", height: "18" }),
|
|
4951
4951
|
/* @__PURE__ */ t("path", { id: "Polygon 1", className: r, d: `M13.452 9.79161C13.9706 9.39128 13.9706 8.60871 13.452
|
|
4952
4952
|
8.20839L9.61096 5.24354C8.95357 4.73611 7.99993 5.2047 7.99993 6.03514L7.99993
|
|
@@ -4960,7 +4960,7 @@ const l0 = ({
|
|
|
4960
4960
|
{
|
|
4961
4961
|
className: m(
|
|
4962
4962
|
"z-0 -mx-[0.1em] w-full h-2 bg-gray-300 rounded-full",
|
|
4963
|
-
|
|
4963
|
+
g
|
|
4964
4964
|
),
|
|
4965
4965
|
children: /* @__PURE__ */ t(
|
|
4966
4966
|
"div",
|
|
@@ -4969,74 +4969,76 @@ const l0 = ({
|
|
|
4969
4969
|
"z-10 -mx-[0.1em] h-2 bg-blue-300 rounded-full",
|
|
4970
4970
|
c
|
|
4971
4971
|
),
|
|
4972
|
-
style: { width:
|
|
4972
|
+
style: { width: M }
|
|
4973
4973
|
}
|
|
4974
4974
|
)
|
|
4975
4975
|
}
|
|
4976
4976
|
) });
|
|
4977
4977
|
};
|
|
4978
4978
|
function c0({ className: e }) {
|
|
4979
|
-
return /* @__PURE__ */ t(
|
|
4979
|
+
return console.log("RadioIcon: className = " + e), /* @__PURE__ */ t(
|
|
4980
4980
|
"svg",
|
|
4981
4981
|
{
|
|
4982
4982
|
xmlns: "http://www.w3.org/2000/svg",
|
|
4983
4983
|
viewBox: "0 0 100 100",
|
|
4984
|
-
className: e,
|
|
4985
|
-
children: /* @__PURE__ */ t("circle", { cx: "50", cy: "50", r: "35"
|
|
4984
|
+
className: m(" ", e),
|
|
4985
|
+
children: /* @__PURE__ */ t("circle", { cx: "50", cy: "50", r: "35" })
|
|
4986
4986
|
}
|
|
4987
4987
|
);
|
|
4988
4988
|
}
|
|
4989
4989
|
const ts = ({
|
|
4990
4990
|
title: e,
|
|
4991
4991
|
classNameLabel: s,
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4992
|
+
classNameLabelText: n,
|
|
4993
|
+
classNameInput: r,
|
|
4994
|
+
classNameContainer: c,
|
|
4995
|
+
classNameIcon: i,
|
|
4996
|
+
options: a,
|
|
4997
|
+
inline: d = !1,
|
|
4998
|
+
dataTestId: l,
|
|
4999
|
+
selectedId: x = "",
|
|
5000
|
+
method: g
|
|
4999
5001
|
}) => {
|
|
5000
|
-
const [
|
|
5001
|
-
|
|
5002
|
+
const [b, M] = Y(x), L = (v, f) => {
|
|
5003
|
+
M(v), g && g(v, f);
|
|
5002
5004
|
};
|
|
5003
5005
|
return Z(() => {
|
|
5004
|
-
(
|
|
5005
|
-
}, [
|
|
5006
|
+
(b === void 0 || b === "") && x !== "" && M(x);
|
|
5007
|
+
}, [b, x]), /* @__PURE__ */ B(
|
|
5006
5008
|
"fieldset",
|
|
5007
5009
|
{
|
|
5008
5010
|
role: "radiogroup",
|
|
5009
|
-
className: m(
|
|
5010
|
-
"data-testid":
|
|
5011
|
+
className: m(d ? "flex flex-wrap items-center gap-2" : "flex flex-col", c),
|
|
5012
|
+
"data-testid": l,
|
|
5011
5013
|
children: [
|
|
5012
5014
|
e && /* @__PURE__ */ t("p", { className: "mb-2 w-full", children: e }),
|
|
5013
|
-
|
|
5015
|
+
a.map(({ label: v, value: f, id: y, disabled: k }) => /* @__PURE__ */ B(
|
|
5014
5016
|
"label",
|
|
5015
5017
|
{
|
|
5016
5018
|
className: m(
|
|
5017
5019
|
"flex items-center gap-1 cursor-pointer",
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
+
d ? "mr-4 mb-1" : "mb-2",
|
|
5021
|
+
k ? "opacity-50 cursor-not-allowed" : "",
|
|
5020
5022
|
s
|
|
5021
5023
|
),
|
|
5022
5024
|
children: [
|
|
5023
|
-
/* @__PURE__ */ t("span", { className: "rounded-full size-4 border border-black flex items-center justify-center", children:
|
|
5025
|
+
/* @__PURE__ */ t("span", { className: "rounded-full size-4 border border-black flex items-center justify-center", children: y === b && /* @__PURE__ */ t(c0, { className: i }) }),
|
|
5024
5026
|
/* @__PURE__ */ t(
|
|
5025
5027
|
"input",
|
|
5026
5028
|
{
|
|
5027
|
-
id:
|
|
5028
|
-
className: m("hidden",
|
|
5029
|
+
id: y,
|
|
5030
|
+
className: m("hidden", r),
|
|
5029
5031
|
type: "radio",
|
|
5030
|
-
value:
|
|
5031
|
-
disabled:
|
|
5032
|
-
checked:
|
|
5033
|
-
onChange: () =>
|
|
5032
|
+
value: f,
|
|
5033
|
+
disabled: k,
|
|
5034
|
+
checked: b === y,
|
|
5035
|
+
onChange: () => L(y, f)
|
|
5034
5036
|
}
|
|
5035
5037
|
),
|
|
5036
|
-
/* @__PURE__ */ t("span", { className: "ml-1", children:
|
|
5038
|
+
/* @__PURE__ */ t("span", { className: m("ml-1", n), children: v })
|
|
5037
5039
|
]
|
|
5038
5040
|
},
|
|
5039
|
-
|
|
5041
|
+
f
|
|
5040
5042
|
))
|
|
5041
5043
|
]
|
|
5042
5044
|
}
|
|
@@ -5053,56 +5055,56 @@ const ts = ({
|
|
|
5053
5055
|
searchableData: d,
|
|
5054
5056
|
setSearchResults: l,
|
|
5055
5057
|
mobileOnly: x = !1,
|
|
5056
|
-
variant:
|
|
5057
|
-
dataTestIdInput:
|
|
5058
|
-
dataTestIdResults:
|
|
5059
|
-
...
|
|
5058
|
+
variant: g,
|
|
5059
|
+
dataTestIdInput: b,
|
|
5060
|
+
dataTestIdResults: M,
|
|
5061
|
+
...L
|
|
5060
5062
|
}, C) => {
|
|
5061
|
-
const v = Q(null),
|
|
5063
|
+
const v = Q(null), f = Q(null), [y, k] = Y(""), [S, w] = Y(), [D, V] = Y(i), [I, _] = Y(!1), A = 100, E = 8, [O, j] = Y(`${A}px`);
|
|
5062
5064
|
f2(() => {
|
|
5063
5065
|
let z = 0;
|
|
5064
|
-
const
|
|
5065
|
-
if (!
|
|
5066
|
-
const F =
|
|
5067
|
-
|
|
5066
|
+
const $ = () => {
|
|
5067
|
+
if (!f.current) return;
|
|
5068
|
+
const F = f.current.getBoundingClientRect(), U = window.visualViewport, P = U?.height ?? window.innerHeight, q = U?.offsetTop ?? 0, te = Math.max(
|
|
5069
|
+
A,
|
|
5068
5070
|
P + q - F.top - E
|
|
5069
5071
|
);
|
|
5070
5072
|
j(`${te}px`);
|
|
5071
5073
|
}, H = () => {
|
|
5072
|
-
cancelAnimationFrame(z), z = requestAnimationFrame(
|
|
5074
|
+
cancelAnimationFrame(z), z = requestAnimationFrame($);
|
|
5073
5075
|
};
|
|
5074
5076
|
return H(), window.addEventListener("scroll", H, { passive: !0 }), window.addEventListener("resize", H), window.visualViewport?.addEventListener("resize", H), window.visualViewport?.addEventListener("scroll", H), () => {
|
|
5075
5077
|
window.removeEventListener("scroll", H), window.removeEventListener("resize", H), window.visualViewport?.removeEventListener("resize", H), window.visualViewport?.removeEventListener("scroll", H), cancelAnimationFrame(z);
|
|
5076
5078
|
};
|
|
5077
5079
|
}, []), Z(() => {
|
|
5078
|
-
|
|
5079
|
-
}, [
|
|
5080
|
-
if (!
|
|
5080
|
+
g === "rounded" && _(!0);
|
|
5081
|
+
}, [g]), Z(() => {
|
|
5082
|
+
if (!f.current) return;
|
|
5081
5083
|
const z = requestAnimationFrame(() => {
|
|
5082
|
-
const
|
|
5083
|
-
window.dispatchEvent(
|
|
5084
|
+
const $ = new Event("resize");
|
|
5085
|
+
window.dispatchEvent($);
|
|
5084
5086
|
});
|
|
5085
5087
|
return () => cancelAnimationFrame(z);
|
|
5086
5088
|
}, [S]);
|
|
5087
5089
|
const W = (z) => {
|
|
5088
|
-
z.key === "Enter" && (l ?
|
|
5089
|
-
},
|
|
5090
|
-
k(""),
|
|
5090
|
+
z.key === "Enter" && (l ? h() : S && S.pages[0].path && (window.location.href = S.pages[0].path));
|
|
5091
|
+
}, N = () => {
|
|
5092
|
+
k(""), w(void 0);
|
|
5091
5093
|
};
|
|
5092
5094
|
Z(() => {
|
|
5093
5095
|
V(i);
|
|
5094
5096
|
}, [i]);
|
|
5095
5097
|
function o(z) {
|
|
5096
|
-
const
|
|
5098
|
+
const $ = z.toLowerCase(), H = [];
|
|
5097
5099
|
return d.forEach((F, U) => {
|
|
5098
5100
|
const P = [];
|
|
5099
|
-
let q = F.content.toLowerCase().indexOf(
|
|
5101
|
+
let q = F.content.toLowerCase().indexOf($);
|
|
5100
5102
|
for (; q !== -1; ) {
|
|
5101
5103
|
const te = F.content.substring(
|
|
5102
|
-
q +
|
|
5103
|
-
q +
|
|
5104
|
+
q + $.length,
|
|
5105
|
+
q + $.length + 15
|
|
5104
5106
|
);
|
|
5105
|
-
P.push({ characters: te, index: U }), q = F.content.toLowerCase().indexOf(
|
|
5107
|
+
P.push({ characters: te, index: U }), q = F.content.toLowerCase().indexOf($, q + 1);
|
|
5106
5108
|
}
|
|
5107
5109
|
P.length && H.push({
|
|
5108
5110
|
title: F.title,
|
|
@@ -5111,20 +5113,20 @@ const ts = ({
|
|
|
5111
5113
|
});
|
|
5112
5114
|
}), { input: z, pages: H };
|
|
5113
5115
|
}
|
|
5114
|
-
const
|
|
5115
|
-
const
|
|
5116
|
-
if (k(
|
|
5117
|
-
|
|
5116
|
+
const p = (z) => {
|
|
5117
|
+
const $ = z.target.value;
|
|
5118
|
+
if (k($), !$) {
|
|
5119
|
+
w(void 0);
|
|
5118
5120
|
return;
|
|
5119
5121
|
}
|
|
5120
|
-
const H = o(
|
|
5121
|
-
|
|
5122
|
-
},
|
|
5122
|
+
const H = o($);
|
|
5123
|
+
w(H);
|
|
5124
|
+
}, h = () => {
|
|
5123
5125
|
const z = v.current?.value ?? "";
|
|
5124
5126
|
if (l)
|
|
5125
5127
|
if (z.length > 0) {
|
|
5126
|
-
const
|
|
5127
|
-
l?.(
|
|
5128
|
+
const $ = o(z);
|
|
5129
|
+
l?.($);
|
|
5128
5130
|
} else
|
|
5129
5131
|
l({ input: "", pages: [{ results: [] }] });
|
|
5130
5132
|
}, u = () => {
|
|
@@ -5144,16 +5146,16 @@ const ts = ({
|
|
|
5144
5146
|
) })
|
|
5145
5147
|
) : (
|
|
5146
5148
|
// Container including input + output list box
|
|
5147
|
-
/* @__PURE__ */
|
|
5149
|
+
/* @__PURE__ */ B("span", { className: m(`h-12 md:h-[50px] lg:h-14 flex items-center max-w-full
|
|
5148
5150
|
relative ${D && "hidden"}`, s), children: [
|
|
5149
|
-
/* @__PURE__ */
|
|
5151
|
+
/* @__PURE__ */ B(
|
|
5150
5152
|
"span",
|
|
5151
5153
|
{
|
|
5152
5154
|
className: m(
|
|
5153
5155
|
`
|
|
5154
5156
|
border-[#6a686b] w-[309px] md:w-[334px] lg:w-[350px]
|
|
5155
5157
|
inline-flex bg-white lg:bg-transparent items-center pe-2
|
|
5156
|
-
${S ?
|
|
5158
|
+
${S ? I ? (
|
|
5157
5159
|
// ROUNDED & RESULTS → round top fully, no bottom rounding, 25-px is 1/2 of initial component height
|
|
5158
5160
|
`border-t border-l border-r rounded-tl-[25px] rounded-tr-[25px] lg:border-none
|
|
5159
5161
|
lg:rounded-bl-none
|
|
@@ -5161,7 +5163,7 @@ const ts = ({
|
|
|
5161
5163
|
) : (
|
|
5162
5164
|
// !ROUNDED & RESULTS → keep your current logic
|
|
5163
5165
|
"border-t border-l border-r lg:border-none rounded-tl rounded-tr"
|
|
5164
|
-
) :
|
|
5166
|
+
) : I ? (
|
|
5165
5167
|
// ROUNDED & !RESULTS → full pill rounding
|
|
5166
5168
|
"border lg:border-none rounded-full"
|
|
5167
5169
|
) : (
|
|
@@ -5172,7 +5174,7 @@ const ts = ({
|
|
|
5172
5174
|
n
|
|
5173
5175
|
),
|
|
5174
5176
|
children: [
|
|
5175
|
-
/* @__PURE__ */ t("button", { onClick:
|
|
5177
|
+
/* @__PURE__ */ t("button", { onClick: h, className: "shrink-0 border-r-2", "aria-label": "execute search", children: /* @__PURE__ */ t("div", { className: "lg:hidden rounded-tl px-2 rounded-bl", children: /* @__PURE__ */ t("img", { className: "", src: d2, alt: "search icon" }) }) }),
|
|
5176
5178
|
/* @__PURE__ */ t(
|
|
5177
5179
|
"input",
|
|
5178
5180
|
{
|
|
@@ -5182,40 +5184,40 @@ const ts = ({
|
|
|
5182
5184
|
border-0 lg:border border-[#07192d] hover:border-[#5992fa] focus:border-[#5992fa]
|
|
5183
5185
|
outline-hidden my-2 -ms-2 w-[100%]`,
|
|
5184
5186
|
e,
|
|
5185
|
-
|
|
5186
|
-
|
|
5187
|
+
I && "rounded-l-full",
|
|
5188
|
+
I && S ? "lg:rounded-bl-none lg:rounded-tl-[28px]" : ""
|
|
5187
5189
|
),
|
|
5188
5190
|
"aria-label": c,
|
|
5189
|
-
"data-testid":
|
|
5190
|
-
value:
|
|
5191
|
-
onChange:
|
|
5191
|
+
"data-testid": b,
|
|
5192
|
+
value: y,
|
|
5193
|
+
onChange: p,
|
|
5192
5194
|
placeholder: "Search result",
|
|
5193
5195
|
onKeyDown: (z) => W(z),
|
|
5194
5196
|
ref: (z) => {
|
|
5195
5197
|
typeof C == "function" ? C(z) : C && (C.current = z), v.current = z;
|
|
5196
5198
|
},
|
|
5197
|
-
...
|
|
5199
|
+
...L
|
|
5198
5200
|
}
|
|
5199
5201
|
),
|
|
5200
5202
|
/* @__PURE__ */ t("span", { className: m(`hidden lg:flex items-center size-14 p-[17px] bg-[#07192d]
|
|
5201
|
-
rounded-tr rounded-br `,
|
|
5203
|
+
rounded-tr rounded-br `, I && "rounded-r-full"), children: /* @__PURE__ */ t("button", { className: "appearance-none p-0 m-0 border-0 flex items-center justify-center align-middle", onClick: h, "aria-label": "execute search", children: /* @__PURE__ */ t("img", { className: "", src: d0, alt: "search icon" }) }) }),
|
|
5202
5204
|
/* @__PURE__ */ t("span", { className: "lg:hidden items-center py-2 -ms-2 -ps-1 me-1 shrink-0", children: /* @__PURE__ */ t(
|
|
5203
5205
|
"button",
|
|
5204
5206
|
{
|
|
5205
5207
|
className: "appearance-none p-0 m-0 border-0 flex items-center justify-center align-middle",
|
|
5206
5208
|
"aria-label": "clear search",
|
|
5207
|
-
onClick: () =>
|
|
5209
|
+
onClick: () => N(),
|
|
5208
5210
|
children: /* @__PURE__ */ t("img", { className: "", src: u0, alt: "search icon" })
|
|
5209
5211
|
}
|
|
5210
5212
|
) })
|
|
5211
5213
|
]
|
|
5212
5214
|
}
|
|
5213
5215
|
),
|
|
5214
|
-
S && !l && /* @__PURE__ */
|
|
5216
|
+
S && !l && /* @__PURE__ */ B(
|
|
5215
5217
|
"div",
|
|
5216
5218
|
{
|
|
5217
5219
|
role: "listbox",
|
|
5218
|
-
ref:
|
|
5220
|
+
ref: f,
|
|
5219
5221
|
"aria-label": "Select option",
|
|
5220
5222
|
className: m(
|
|
5221
5223
|
`absolute
|
|
@@ -5229,16 +5231,16 @@ const ts = ({
|
|
|
5229
5231
|
r
|
|
5230
5232
|
),
|
|
5231
5233
|
style: { maxHeight: O },
|
|
5232
|
-
"data-testid":
|
|
5234
|
+
"data-testid": M,
|
|
5233
5235
|
children: [
|
|
5234
5236
|
/* @__PURE__ */ t("hr", { className: "mb-1 -mt-1 mx-2 border-b-0 border-[#A1A6A8] lg:border-none" }),
|
|
5235
|
-
S.pages.map((z,
|
|
5237
|
+
S.pages.map((z, $) => /* @__PURE__ */ B("div", { className: "ms-4", children: [
|
|
5236
5238
|
/* @__PURE__ */ t("div", { className: "font-bold text-sm", children: /* @__PURE__ */ t("a", { role: "option", href: z.path, className: "text-blue-700 underline", children: z.title && z.title }) }),
|
|
5237
|
-
z.results.map((H, F) => /* @__PURE__ */
|
|
5239
|
+
z.results.map((H, F) => /* @__PURE__ */ B("div", { className: "ms-4", children: [
|
|
5238
5240
|
/* @__PURE__ */ t("span", { className: "text-[#1c1d1f]", children: S.input }),
|
|
5239
5241
|
/* @__PURE__ */ t("span", { className: "text-[#A1A6A8] lg:text-[#4E4E4E]", children: H.characters })
|
|
5240
5242
|
] }))
|
|
5241
|
-
] },
|
|
5243
|
+
] }, $)),
|
|
5242
5244
|
S?.pages?.length < 1 && /* @__PURE__ */ t("div", { className: "ms-4 mb-1 text-[#1c1d1f]", children: "no search results" })
|
|
5243
5245
|
]
|
|
5244
5246
|
}
|
|
@@ -5260,28 +5262,28 @@ const g0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
5260
5262
|
fill: d = !1,
|
|
5261
5263
|
type: l = "page",
|
|
5262
5264
|
padLeft: x = !0,
|
|
5263
|
-
padRight:
|
|
5264
|
-
button:
|
|
5265
|
-
buttonOnClick:
|
|
5266
|
-
buttonContent:
|
|
5265
|
+
padRight: g = !0,
|
|
5266
|
+
button: b,
|
|
5267
|
+
buttonOnClick: M,
|
|
5268
|
+
buttonContent: L = "Click Me",
|
|
5267
5269
|
dataTestId: C,
|
|
5268
5270
|
children: v,
|
|
5269
|
-
...
|
|
5270
|
-
},
|
|
5271
|
-
const [k, S] =
|
|
5271
|
+
...f
|
|
5272
|
+
}, y) => {
|
|
5273
|
+
const [k, S] = Y(""), [w, D] = Y(""), [V, I] = Y(""), _ = `${l === "page" ? "pt-4 pb-2" : "py-2"} flex pl-6 pr-2 justify-start items-center gap-4 inline-flex w-full`;
|
|
5272
5274
|
return Z(() => {
|
|
5273
|
-
S(m(
|
|
5274
|
-
}, [e, i, d,
|
|
5275
|
+
S(m(_, i ? "border-b-2 border-[#07192D]" : "", d ? "bg-[#092068] text-[#f0f0f0]" : "bg-transparent text-[#07192d]", x && g ? "mx-4 " : x ? "ms-4" : g ? "me-4" : "", e));
|
|
5276
|
+
}, [e, i, d, _, x, g]), Z(() => {
|
|
5275
5277
|
D(m(`self-stretch ${l === "page" ? "text-[40px]" : l === "section" ? " text-[32px]" : "text-2xl"} font-normal font-["Arial"] leading-[48px]`, s));
|
|
5276
5278
|
}, [s, l]), Z(() => {
|
|
5277
|
-
|
|
5278
|
-
}, [n, l]), /* @__PURE__ */ t("div", { className: m(k, e), "data-testid": C, children: /* @__PURE__ */
|
|
5279
|
+
I(m(`${l === "page" ? "text-xl" : "text-lg"} font-normal font-["Arial"] leading-[30px]`, n));
|
|
5280
|
+
}, [n, l]), /* @__PURE__ */ t("div", { className: m(k, e), "data-testid": C, children: /* @__PURE__ */ B("div", { className: "grow shrink basis-0 justify-start items-center gap-4 flex flex-row", children: [
|
|
5279
5281
|
r && r,
|
|
5280
|
-
/* @__PURE__ */
|
|
5282
|
+
/* @__PURE__ */ B("div", { className: "flex-col justify-start items-start inline-flex w-full", children: [
|
|
5281
5283
|
/* @__PURE__ */ t(
|
|
5282
5284
|
"div",
|
|
5283
5285
|
{
|
|
5284
|
-
className:
|
|
5286
|
+
className: w,
|
|
5285
5287
|
children: v
|
|
5286
5288
|
}
|
|
5287
5289
|
),
|
|
@@ -5294,7 +5296,7 @@ const g0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
5294
5296
|
)
|
|
5295
5297
|
] }),
|
|
5296
5298
|
c && c,
|
|
5297
|
-
|
|
5299
|
+
b && // text color and icon correctly set based on fill value
|
|
5298
5300
|
/* @__PURE__ */ t(
|
|
5299
5301
|
_2,
|
|
5300
5302
|
{
|
|
@@ -5303,8 +5305,8 @@ const g0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
5303
5305
|
${l === "page" ? "text-base" : "text-sm"} }`,
|
|
5304
5306
|
icon: /* @__PURE__ */ t("img", { src: d ? f0 : g0, alt: "right chevron" }),
|
|
5305
5307
|
iconPosition: "right",
|
|
5306
|
-
onClick:
|
|
5307
|
-
children:
|
|
5308
|
+
onClick: M,
|
|
5309
|
+
children: L
|
|
5308
5310
|
}
|
|
5309
5311
|
)
|
|
5310
5312
|
] }) });
|
|
@@ -5433,41 +5435,41 @@ const g0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
5433
5435
|
children: d,
|
|
5434
5436
|
dataTestId: l,
|
|
5435
5437
|
...x
|
|
5436
|
-
},
|
|
5437
|
-
const [
|
|
5438
|
-
|
|
5438
|
+
}, g) => {
|
|
5439
|
+
const [b, M] = Y(), [L, C] = Y(), [v, f] = Y(p0), y = () => {
|
|
5440
|
+
M(m(b, "hidden"));
|
|
5439
5441
|
};
|
|
5440
5442
|
return Z(() => {
|
|
5441
5443
|
const k = s === "custom" ? "default" : s, S = u2.find(
|
|
5442
|
-
(
|
|
5444
|
+
(w) => w.variant === e && w.subVariant === k
|
|
5443
5445
|
)?.classes;
|
|
5444
5446
|
if (e === "icon") {
|
|
5445
|
-
const
|
|
5447
|
+
const w = u2.find(
|
|
5446
5448
|
(D) => D.variant === e && D.subVariant === k
|
|
5447
5449
|
)?.classNameSvg;
|
|
5448
|
-
C(s === "custom" ? m(
|
|
5450
|
+
C(s === "custom" ? m(w, r) : w);
|
|
5449
5451
|
}
|
|
5450
|
-
e === "hazard" ?
|
|
5451
|
-
}, [s, n, e, r]), /* @__PURE__ */
|
|
5452
|
-
e === "default" && /* @__PURE__ */ t("div", { className:
|
|
5453
|
-
(e === "warning" || e === "hazard" || e === "go") && /* @__PURE__ */
|
|
5452
|
+
e === "hazard" ? f(b0) : e === "go" && f(h0), M(m(S, n));
|
|
5453
|
+
}, [s, n, e, r]), /* @__PURE__ */ B(ae, { children: [
|
|
5454
|
+
e === "default" && /* @__PURE__ */ t("div", { className: b, ...x, "data-testid": l, ref: g, children: d }),
|
|
5455
|
+
(e === "warning" || e === "hazard" || e === "go") && /* @__PURE__ */ B("div", { className: b, "data-testid": l, children: [
|
|
5454
5456
|
/* @__PURE__ */ t("div", { className: "size-6 flex-col justify-center items-center gap-2.5 inline-flex overflow-hidden relative", children: /* @__PURE__ */ t("div", { className: "left-0 top-0 absolute", children: /* @__PURE__ */ t("img", { className: "size-6", src: v, alt: `${e} icon` }) }) }),
|
|
5455
5457
|
/* @__PURE__ */ t("div", { className: "grow shrink basis-0 self-stretch text-black text-sm font-normal font-['Arial'] leading-[19px]", children: d }),
|
|
5456
5458
|
/* @__PURE__ */ t(
|
|
5457
5459
|
"button",
|
|
5458
5460
|
{
|
|
5459
|
-
onClick:
|
|
5461
|
+
onClick: y,
|
|
5460
5462
|
className: "size-3 py-px justify-center items-center gap-2.5 flex",
|
|
5461
5463
|
"aria-label": "Close modal",
|
|
5462
5464
|
children: /* @__PURE__ */ t("img", { src: x0, alt: "close alert icon" })
|
|
5463
5465
|
}
|
|
5464
5466
|
)
|
|
5465
5467
|
] }),
|
|
5466
|
-
e === "icon" && /* @__PURE__ */
|
|
5467
|
-
/* @__PURE__ */ t("svg", { viewBox: "0 0 6 6", "aria-hidden": "true", className:
|
|
5468
|
+
e === "icon" && /* @__PURE__ */ B("div", { className: b, ...x, "data-testid": l, ref: g, children: [
|
|
5469
|
+
/* @__PURE__ */ t("svg", { viewBox: "0 0 6 6", "aria-hidden": "true", className: L, role: "img", children: /* @__PURE__ */ t("circle", { r: 3, cx: 3, cy: 3 }) }),
|
|
5468
5470
|
d
|
|
5469
5471
|
] }),
|
|
5470
|
-
e === "media" && /* @__PURE__ */
|
|
5472
|
+
e === "media" && /* @__PURE__ */ B("div", { className: b, ...x, "data-testid": l, ref: g, children: [
|
|
5471
5473
|
/* @__PURE__ */ t("div", { className: "col-start-1 col-span-2", children: /* @__PURE__ */ t("img", { className: m("h-full", a), src: c, alt: i }) }),
|
|
5472
5474
|
/* @__PURE__ */ t("div", { className: "w-full ml-2 col-start-3 col-span-3", children: d })
|
|
5473
5475
|
] })
|
|
@@ -5485,49 +5487,49 @@ function ns({
|
|
|
5485
5487
|
classNameBackContainer: d,
|
|
5486
5488
|
classNameBackIcon: l,
|
|
5487
5489
|
classNameBackText: x,
|
|
5488
|
-
classNameContainer:
|
|
5489
|
-
classNameMenu:
|
|
5490
|
-
classNameMenuItem:
|
|
5491
|
-
classNameBackButton:
|
|
5490
|
+
classNameContainer: g = "",
|
|
5491
|
+
classNameMenu: b = "",
|
|
5492
|
+
classNameMenuItem: M = "",
|
|
5493
|
+
classNameBackButton: L,
|
|
5492
5494
|
classNameMenuContainer: C = "",
|
|
5493
5495
|
classNameImage: v = "",
|
|
5494
|
-
classNameImageContainer:
|
|
5495
|
-
version:
|
|
5496
|
+
classNameImageContainer: f = "",
|
|
5497
|
+
version: y,
|
|
5496
5498
|
menuItems: k,
|
|
5497
5499
|
right: S = !1,
|
|
5498
|
-
dataTestId:
|
|
5500
|
+
dataTestId: w,
|
|
5499
5501
|
dataTestIdHamburger: D = "hamburgerMenu",
|
|
5500
5502
|
children: V
|
|
5501
5503
|
}) {
|
|
5502
|
-
const
|
|
5504
|
+
const I = Q(null), [_, A] = Y(!1), [E, O] = Y(!1), j = Q(null);
|
|
5503
5505
|
Z(() => {
|
|
5504
|
-
const
|
|
5505
|
-
|
|
5506
|
+
const h = () => {
|
|
5507
|
+
_ ? N() : W();
|
|
5506
5508
|
};
|
|
5507
|
-
return window.addEventListener("toggleSideBarNav",
|
|
5508
|
-
}, [
|
|
5509
|
-
const
|
|
5510
|
-
|
|
5511
|
-
}, [
|
|
5512
|
-
if (
|
|
5513
|
-
const
|
|
5509
|
+
return window.addEventListener("toggleSideBarNav", h), () => window.removeEventListener("toggleSideBarNav", h);
|
|
5510
|
+
}, [_]), Z(() => {
|
|
5511
|
+
const h = I.current;
|
|
5512
|
+
h && (_ && !h.open ? (j.current = document.activeElement, h.showModal(), (h.querySelector("#sideBarNavBackButton") ?? h).focus()) : !_ && h.open && (h.close(), j.current?.focus?.()));
|
|
5513
|
+
}, [_]), Z(() => {
|
|
5514
|
+
if (_) {
|
|
5515
|
+
const h = document.body.style.overflow;
|
|
5514
5516
|
return document.body.style.overflow = "hidden", () => {
|
|
5515
|
-
document.body.style.overflow =
|
|
5517
|
+
document.body.style.overflow = h;
|
|
5516
5518
|
};
|
|
5517
5519
|
}
|
|
5518
|
-
}, [
|
|
5520
|
+
}, [_]);
|
|
5519
5521
|
const W = () => {
|
|
5520
|
-
|
|
5522
|
+
A(!0), setTimeout(() => {
|
|
5521
5523
|
O(!0);
|
|
5522
5524
|
}, 10);
|
|
5523
|
-
},
|
|
5525
|
+
}, N = () => {
|
|
5524
5526
|
O(!1), setTimeout(() => {
|
|
5525
|
-
|
|
5527
|
+
A(!1);
|
|
5526
5528
|
}, v0);
|
|
5527
|
-
}, o = (
|
|
5528
|
-
c &&
|
|
5529
|
-
},
|
|
5530
|
-
return /* @__PURE__ */
|
|
5529
|
+
}, o = (h) => {
|
|
5530
|
+
c && h.target === h.currentTarget && N();
|
|
5531
|
+
}, p = m(w0, S ? "text-right pe-2" : "", M);
|
|
5532
|
+
return /* @__PURE__ */ B(ae, { children: [
|
|
5531
5533
|
!i && /* @__PURE__ */ t(
|
|
5532
5534
|
"button",
|
|
5533
5535
|
{
|
|
@@ -5535,23 +5537,23 @@ function ns({
|
|
|
5535
5537
|
"data-testid": D,
|
|
5536
5538
|
className: m("size-8 mb-4", C),
|
|
5537
5539
|
onClick: W,
|
|
5538
|
-
children: /* @__PURE__ */ t(C0, { classes: m("fill-slate-500 hover:fill-black size-8",
|
|
5540
|
+
children: /* @__PURE__ */ t(C0, { classes: m("fill-slate-500 hover:fill-black size-8", b) })
|
|
5539
5541
|
}
|
|
5540
5542
|
),
|
|
5541
|
-
/* @__PURE__ */
|
|
5543
|
+
/* @__PURE__ */ B(
|
|
5542
5544
|
"dialog",
|
|
5543
5545
|
{
|
|
5544
|
-
ref:
|
|
5546
|
+
ref: I,
|
|
5545
5547
|
"aria-labelledby": "sidebar-title",
|
|
5546
5548
|
className: m("m-0 p-0 max-w-none max-h-none w-full h-full bg-transparent", a),
|
|
5547
5549
|
onClick: o,
|
|
5548
5550
|
onClose: () => {
|
|
5549
|
-
O(!1),
|
|
5551
|
+
O(!1), A(!1);
|
|
5550
5552
|
},
|
|
5551
5553
|
"data-side": "right",
|
|
5552
|
-
"data-testid":
|
|
5554
|
+
"data-testid": w,
|
|
5553
5555
|
children: [
|
|
5554
|
-
/* @__PURE__ */
|
|
5556
|
+
/* @__PURE__ */ B(
|
|
5555
5557
|
"div",
|
|
5556
5558
|
{
|
|
5557
5559
|
id: "sideBarNav",
|
|
@@ -5563,7 +5565,7 @@ function ns({
|
|
|
5563
5565
|
"transition-transform duration-200 ease-in-out",
|
|
5564
5566
|
// --- MODIFIED: Animation is now controlled by 'isShowing' state ---
|
|
5565
5567
|
E ? "translate-x-0" : "translate-x-full",
|
|
5566
|
-
|
|
5568
|
+
g
|
|
5567
5569
|
),
|
|
5568
5570
|
children: [
|
|
5569
5571
|
/* @__PURE__ */ t("h2", { id: "sidebar-title", className: "sr-only", children: "Navigation" }),
|
|
@@ -5572,16 +5574,16 @@ function ns({
|
|
|
5572
5574
|
{
|
|
5573
5575
|
autoFocus: !0,
|
|
5574
5576
|
id: "sideBarNavBackButton",
|
|
5575
|
-
className: m("-mt-8 w-full relative hover:cursor-pointer",
|
|
5576
|
-
onClick:
|
|
5577
|
+
className: m("-mt-8 w-full relative hover:cursor-pointer", L),
|
|
5578
|
+
onClick: N,
|
|
5577
5579
|
"aria-label": "Close menu",
|
|
5578
|
-
children: /* @__PURE__ */
|
|
5580
|
+
children: /* @__PURE__ */ B("div", { className: m("absolute top-0 right-2", d), children: [
|
|
5579
5581
|
s ? /* @__PURE__ */ t(y0, { className: m("w-10", l) }) : /* @__PURE__ */ t(k0, { className: m("w-10", l) }),
|
|
5580
5582
|
/* @__PURE__ */ t("p", { className: m("-mt-2", x), children: n })
|
|
5581
5583
|
] })
|
|
5582
5584
|
}
|
|
5583
5585
|
),
|
|
5584
|
-
/* @__PURE__ */ t("div", { className: m("w-16 h-16 mx-auto",
|
|
5586
|
+
/* @__PURE__ */ t("div", { className: m("w-16 h-16 mx-auto", f), children: /* @__PURE__ */ t(
|
|
5585
5587
|
"img",
|
|
5586
5588
|
{
|
|
5587
5589
|
src: r,
|
|
@@ -5592,13 +5594,13 @@ function ns({
|
|
|
5592
5594
|
/* @__PURE__ */ t("div", { className: "text-center text-xl mt-2", children: e }),
|
|
5593
5595
|
/* @__PURE__ */ t("div", { className: "[204px] mt-3 h-[2px] border-[0.5px] border-[#D9D9D9] bg-[#D9D9D9]" }),
|
|
5594
5596
|
V && V,
|
|
5595
|
-
/* @__PURE__ */ t(l0, { className: "pl-4 lg:pl-6 mt-6", children: k.map((
|
|
5597
|
+
/* @__PURE__ */ t(l0, { className: "pl-4 lg:pl-6 mt-6", children: k.map((h, u) => /* @__PURE__ */ t(S2, { className: p, children: h.target ? (
|
|
5596
5598
|
// --- MODIFIED: Use the new handler ---
|
|
5597
|
-
/* @__PURE__ */ t(
|
|
5598
|
-
) :
|
|
5599
|
-
/* @__PURE__ */
|
|
5599
|
+
/* @__PURE__ */ t(I2, { to: h.target, onClick: N, children: h.children })
|
|
5600
|
+
) : h.children }, u)) }),
|
|
5601
|
+
/* @__PURE__ */ B("div", { className: "align-bottom mt-auto text-right right-2 bottom-1", children: [
|
|
5600
5602
|
"Version ",
|
|
5601
|
-
|
|
5603
|
+
y
|
|
5602
5604
|
] })
|
|
5603
5605
|
]
|
|
5604
5606
|
}
|
|
@@ -5618,10 +5620,10 @@ function ns({
|
|
|
5618
5620
|
)
|
|
5619
5621
|
] });
|
|
5620
5622
|
}
|
|
5621
|
-
const C0 = ({ classes: e = "fill-green-600" }) => /* @__PURE__ */
|
|
5623
|
+
const C0 = ({ classes: e = "fill-green-600" }) => /* @__PURE__ */ B("svg", { xmlns: "http://www.w3.org/2000/svg", height: "24px", viewBox: "0 0 24 24", width: "24px", className: e, children: [
|
|
5622
5624
|
/* @__PURE__ */ t("path", { d: "M0 0h24v24H0z", fill: "none" }),
|
|
5623
5625
|
/* @__PURE__ */ t("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" })
|
|
5624
|
-
] }), y0 = ({ className: e = "", title: s }) => /* @__PURE__ */
|
|
5626
|
+
] }), y0 = ({ className: e = "", title: s }) => /* @__PURE__ */ B(
|
|
5625
5627
|
"svg",
|
|
5626
5628
|
{
|
|
5627
5629
|
className: m("block w-full h-full ms-1", e),
|
|
@@ -5632,7 +5634,7 @@ const C0 = ({ classes: e = "fill-green-600" }) => /* @__PURE__ */ A("svg", { xml
|
|
|
5632
5634
|
role: s ? "img" : "presentation",
|
|
5633
5635
|
children: [
|
|
5634
5636
|
s ? /* @__PURE__ */ t("title", { children: s }) : null,
|
|
5635
|
-
/* @__PURE__ */
|
|
5637
|
+
/* @__PURE__ */ B("g", { id: "arrow_circle_up", children: [
|
|
5636
5638
|
/* @__PURE__ */ t(
|
|
5637
5639
|
"mask",
|
|
5638
5640
|
{
|
|
@@ -5657,7 +5659,7 @@ const C0 = ({ classes: e = "fill-green-600" }) => /* @__PURE__ */ A("svg", { xml
|
|
|
5657
5659
|
] })
|
|
5658
5660
|
]
|
|
5659
5661
|
}
|
|
5660
|
-
), k0 = ({ className: e = "", title: s }) => /* @__PURE__ */
|
|
5662
|
+
), k0 = ({ className: e = "", title: s }) => /* @__PURE__ */ B(
|
|
5661
5663
|
"svg",
|
|
5662
5664
|
{
|
|
5663
5665
|
className: m("block w-full h-full", e),
|
|
@@ -5668,7 +5670,7 @@ const C0 = ({ classes: e = "fill-green-600" }) => /* @__PURE__ */ A("svg", { xml
|
|
|
5668
5670
|
role: s ? "img" : "presentation",
|
|
5669
5671
|
children: [
|
|
5670
5672
|
s ? /* @__PURE__ */ t("title", { children: s }) : null,
|
|
5671
|
-
/* @__PURE__ */
|
|
5673
|
+
/* @__PURE__ */ B("g", { id: "IconGroup", children: [
|
|
5672
5674
|
/* @__PURE__ */ t(
|
|
5673
5675
|
"mask",
|
|
5674
5676
|
{
|
|
@@ -5725,7 +5727,7 @@ const as = ({ className: e = "", inline: s = !1, dataTestId: n }) => s ? /* @__P
|
|
|
5725
5727
|
e
|
|
5726
5728
|
)
|
|
5727
5729
|
}
|
|
5728
|
-
) : /* @__PURE__ */
|
|
5730
|
+
) : /* @__PURE__ */ B(ae, { children: [
|
|
5729
5731
|
/* @__PURE__ */ t("div", { className: "basis-full h-0" }),
|
|
5730
5732
|
/* @__PURE__ */ t(
|
|
5731
5733
|
"div",
|
|
@@ -5749,7 +5751,7 @@ const as = ({ className: e = "", inline: s = !1, dataTestId: n }) => s ? /* @__P
|
|
|
5749
5751
|
e
|
|
5750
5752
|
)
|
|
5751
5753
|
}
|
|
5752
|
-
) : /* @__PURE__ */
|
|
5754
|
+
) : /* @__PURE__ */ B(ae, { children: [
|
|
5753
5755
|
/* @__PURE__ */ t("div", { className: "basis-full h-0" }),
|
|
5754
5756
|
/* @__PURE__ */ t(
|
|
5755
5757
|
"div",
|
|
@@ -5797,16 +5799,16 @@ const _0 = "_slider_87un4_28", $0 = {
|
|
|
5797
5799
|
id: d,
|
|
5798
5800
|
label: l,
|
|
5799
5801
|
...x
|
|
5800
|
-
},
|
|
5801
|
-
const [
|
|
5802
|
-
g2(
|
|
5803
|
-
|
|
5802
|
+
}, g) => {
|
|
5803
|
+
const [b, M] = Y(i), L = Q(null);
|
|
5804
|
+
g2(g, () => L.current), Z(() => {
|
|
5805
|
+
M(i);
|
|
5804
5806
|
}, []);
|
|
5805
5807
|
const C = (v) => {
|
|
5806
|
-
const
|
|
5807
|
-
|
|
5808
|
+
const f = Number(v.target.value);
|
|
5809
|
+
M(Number(f)), a && a(f);
|
|
5808
5810
|
};
|
|
5809
|
-
return /* @__PURE__ */
|
|
5811
|
+
return /* @__PURE__ */ B(ae, { children: [
|
|
5810
5812
|
d && l && /* @__PURE__ */ t(
|
|
5811
5813
|
"label",
|
|
5812
5814
|
{
|
|
@@ -5819,12 +5821,12 @@ const _0 = "_slider_87un4_28", $0 = {
|
|
|
5819
5821
|
/* @__PURE__ */ t(
|
|
5820
5822
|
"input",
|
|
5821
5823
|
{
|
|
5822
|
-
ref:
|
|
5824
|
+
ref: L,
|
|
5823
5825
|
type: "range",
|
|
5824
5826
|
id: d,
|
|
5825
5827
|
"data-testid": c,
|
|
5826
5828
|
className: m($0.slider, e),
|
|
5827
|
-
value:
|
|
5829
|
+
value: b,
|
|
5828
5830
|
onChange: C,
|
|
5829
5831
|
...x
|
|
5830
5832
|
}
|
|
@@ -5864,20 +5866,20 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5864
5866
|
children: d,
|
|
5865
5867
|
...l
|
|
5866
5868
|
}, x) => {
|
|
5867
|
-
const [
|
|
5869
|
+
const [g, b] = Y(), [M, L] = Y(), [C, v] = Y();
|
|
5868
5870
|
return Z(() => {
|
|
5869
|
-
|
|
5870
|
-
Ue.find((
|
|
5871
|
+
b(m(
|
|
5872
|
+
Ue.find((f) => f.variant === e)?.classes,
|
|
5871
5873
|
s
|
|
5872
5874
|
)), v(m(
|
|
5873
|
-
Ue.find((
|
|
5875
|
+
Ue.find((f) => f.variant === e)?.childClasses,
|
|
5874
5876
|
i
|
|
5875
|
-
)),
|
|
5876
|
-
Ue.find((
|
|
5877
|
+
)), L(m(
|
|
5878
|
+
Ue.find((f) => f.variant === e)?.imgDivClasses,
|
|
5877
5879
|
a
|
|
5878
5880
|
));
|
|
5879
|
-
}, [e, s, i, a]), /* @__PURE__ */
|
|
5880
|
-
/* @__PURE__ */ t("div", { className:
|
|
5881
|
+
}, [e, s, i, a]), /* @__PURE__ */ B("div", { className: g, ref: x, "data-testid": c, children: [
|
|
5882
|
+
/* @__PURE__ */ t("div", { className: M, children: n || // if we have an image prop - display
|
|
5881
5883
|
(e === "available" ? (
|
|
5882
5884
|
// else if we are variant 'available' ...
|
|
5883
5885
|
/* @__PURE__ */ t("img", { src: z0, alt: "check mark" })
|
|
@@ -5888,7 +5890,53 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5888
5890
|
/* @__PURE__ */ t("div", { className: C, "data-testid": r, children: d })
|
|
5889
5891
|
] });
|
|
5890
5892
|
}
|
|
5891
|
-
),
|
|
5893
|
+
), ds = ({
|
|
5894
|
+
label: e,
|
|
5895
|
+
className: s,
|
|
5896
|
+
classNameLabel: n,
|
|
5897
|
+
classNameCounter: r,
|
|
5898
|
+
counter: c = !1,
|
|
5899
|
+
maxLength: i = 500,
|
|
5900
|
+
value: a = "",
|
|
5901
|
+
onValueChange: d,
|
|
5902
|
+
...l
|
|
5903
|
+
// ← props spreader here
|
|
5904
|
+
}) => {
|
|
5905
|
+
const [x, g] = Y(a), b = (M) => {
|
|
5906
|
+
const L = M.target.value;
|
|
5907
|
+
g(L), d?.(L);
|
|
5908
|
+
};
|
|
5909
|
+
return /* @__PURE__ */ B("div", { className: "relative w-full", children: [
|
|
5910
|
+
e && /* @__PURE__ */ t("label", { className: m("block mb-1 text-sm font-medium text-gray-700", n), children: e }),
|
|
5911
|
+
/* @__PURE__ */ t(
|
|
5912
|
+
"textarea",
|
|
5913
|
+
{
|
|
5914
|
+
value: x,
|
|
5915
|
+
onChange: b,
|
|
5916
|
+
maxLength: i,
|
|
5917
|
+
className: m(
|
|
5918
|
+
"w-full border border-gray-300 rounded-md p-2 text-sm resize-y focus:outline-none focus:ring-2 focus:ring-blue-500",
|
|
5919
|
+
s
|
|
5920
|
+
),
|
|
5921
|
+
...l
|
|
5922
|
+
}
|
|
5923
|
+
),
|
|
5924
|
+
c && /* @__PURE__ */ B(
|
|
5925
|
+
"div",
|
|
5926
|
+
{
|
|
5927
|
+
className: m(
|
|
5928
|
+
"absolute bottom-0 translate-y-full right-2 text-xs text-gray-500",
|
|
5929
|
+
r
|
|
5930
|
+
),
|
|
5931
|
+
children: [
|
|
5932
|
+
x.length,
|
|
5933
|
+
"/",
|
|
5934
|
+
i
|
|
5935
|
+
]
|
|
5936
|
+
}
|
|
5937
|
+
)
|
|
5938
|
+
] });
|
|
5939
|
+
}, B0 = "w-16 h-8 flex lg:w-[49.74px] lg:h-[24.87px]! lg:p-[3.1px] items-center p-1 rounded-2xl cursor-pointer transition-colors duration-300", I0 = "bg-white w-6 h-6 lg:w-[18.65px] lg:h-[18.65px]! rounded-full shadow-[0px_4px_4.900000095367432px_0px_rgba(0,0,0,0.12)] transform transition-transform duration-300", Me = [
|
|
5892
5940
|
{
|
|
5893
5941
|
variant: "default",
|
|
5894
5942
|
classes: "bg-[#d0cfd1] hover:bg-[#bbbabc]",
|
|
@@ -5908,7 +5956,7 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5908
5956
|
buttonClasses: "translate-x-0",
|
|
5909
5957
|
toggledButtonClasses: "translate-x-8 lg:translate-x-6"
|
|
5910
5958
|
}
|
|
5911
|
-
],
|
|
5959
|
+
], us = re(
|
|
5912
5960
|
({
|
|
5913
5961
|
defaultChecked: e = !1,
|
|
5914
5962
|
disabled: s = !1,
|
|
@@ -5920,35 +5968,35 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5920
5968
|
variant: d = "default",
|
|
5921
5969
|
type: l = "button",
|
|
5922
5970
|
children: x,
|
|
5923
|
-
...
|
|
5924
|
-
},
|
|
5925
|
-
const [
|
|
5971
|
+
...g
|
|
5972
|
+
}, b) => {
|
|
5973
|
+
const [M, L] = Y(e);
|
|
5926
5974
|
return /* @__PURE__ */ t(
|
|
5927
5975
|
"button",
|
|
5928
5976
|
{
|
|
5929
5977
|
onClick: () => {
|
|
5930
|
-
const v =
|
|
5931
|
-
|
|
5978
|
+
const v = !M;
|
|
5979
|
+
L(v), n && n(v);
|
|
5932
5980
|
},
|
|
5933
5981
|
disabled: s,
|
|
5934
5982
|
role: "switch",
|
|
5935
|
-
"aria-checked":
|
|
5983
|
+
"aria-checked": M,
|
|
5936
5984
|
"aria-disabled": s,
|
|
5937
5985
|
"data-testid": c,
|
|
5938
|
-
...
|
|
5939
|
-
ref:
|
|
5940
|
-
"aria-label": r || `Toggle ${
|
|
5986
|
+
...g,
|
|
5987
|
+
ref: b,
|
|
5988
|
+
"aria-label": r || `Toggle ${M ? "on" : "off"}`,
|
|
5941
5989
|
className: m(
|
|
5942
5990
|
`${B0}
|
|
5943
|
-
${
|
|
5991
|
+
${M ? Me.find((v) => v.variant === d)?.toggledClasses : Me.find((v) => v.variant === d)?.classes}`,
|
|
5944
5992
|
i
|
|
5945
5993
|
),
|
|
5946
5994
|
children: /* @__PURE__ */ t(
|
|
5947
5995
|
"div",
|
|
5948
5996
|
{
|
|
5949
5997
|
className: m(
|
|
5950
|
-
`${
|
|
5951
|
-
${
|
|
5998
|
+
`${I0}
|
|
5999
|
+
${M ? Me.find((v) => v.variant === d)?.toggledButtonClasses : Me.find((v) => v.variant === d)?.buttonClasses}`,
|
|
5952
6000
|
a
|
|
5953
6001
|
)
|
|
5954
6002
|
}
|
|
@@ -5956,7 +6004,7 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5956
6004
|
}
|
|
5957
6005
|
);
|
|
5958
6006
|
}
|
|
5959
|
-
), V2 = z2(void 0),
|
|
6007
|
+
), V2 = z2(void 0), A0 = re(
|
|
5960
6008
|
({
|
|
5961
6009
|
children: e,
|
|
5962
6010
|
delay: s = 0,
|
|
@@ -5965,43 +6013,43 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5965
6013
|
dataTestId: c,
|
|
5966
6014
|
...i
|
|
5967
6015
|
}, a) => {
|
|
5968
|
-
const [d, l] =
|
|
6016
|
+
const [d, l] = Y(!1);
|
|
5969
6017
|
let x;
|
|
5970
|
-
const
|
|
6018
|
+
const g = $e(() => {
|
|
5971
6019
|
x = setTimeout(() => l(!0), s);
|
|
5972
|
-
}, [s]),
|
|
6020
|
+
}, [s]), b = $e(() => {
|
|
5973
6021
|
clearTimeout(x), l(!1);
|
|
5974
|
-
}, []),
|
|
6022
|
+
}, []), M = We.toArray(e), L = M.find((v) => {
|
|
5975
6023
|
if (xe(v))
|
|
5976
6024
|
return v.type.displayName !== "TooltipContent";
|
|
5977
|
-
}), C =
|
|
6025
|
+
}), C = M.find((v) => {
|
|
5978
6026
|
if (xe(v))
|
|
5979
6027
|
return v.type.displayName === "TooltipContent";
|
|
5980
6028
|
});
|
|
5981
|
-
return /* @__PURE__ */ t(V2.Provider, { value: { id: r }, children: /* @__PURE__ */
|
|
6029
|
+
return /* @__PURE__ */ t(V2.Provider, { value: { id: r }, children: /* @__PURE__ */ B(
|
|
5982
6030
|
"div",
|
|
5983
6031
|
{
|
|
5984
6032
|
ref: a,
|
|
5985
6033
|
className: m("relative inline-block", n),
|
|
5986
|
-
onMouseEnter:
|
|
5987
|
-
onMouseLeave:
|
|
6034
|
+
onMouseEnter: g,
|
|
6035
|
+
onMouseLeave: b,
|
|
5988
6036
|
"data-testid": c,
|
|
5989
6037
|
"aria-describedby": r,
|
|
5990
|
-
onFocus:
|
|
5991
|
-
onBlur:
|
|
6038
|
+
onFocus: g,
|
|
6039
|
+
onBlur: b,
|
|
5992
6040
|
...i,
|
|
5993
6041
|
children: [
|
|
5994
|
-
|
|
6042
|
+
L,
|
|
5995
6043
|
d && C
|
|
5996
6044
|
]
|
|
5997
6045
|
}
|
|
5998
6046
|
) });
|
|
5999
6047
|
}
|
|
6000
6048
|
);
|
|
6001
|
-
|
|
6049
|
+
A0.displayName = "Tooltip";
|
|
6002
6050
|
const E0 = re(
|
|
6003
6051
|
({ children: e, className: s, position: n, dataTestId: r, ...c }, i) => {
|
|
6004
|
-
const [a, d] =
|
|
6052
|
+
const [a, d] = Y("mt-2"), l = H2(V2);
|
|
6005
6053
|
if (!l)
|
|
6006
6054
|
throw new Error("TooltipContent must be used within a tooltip");
|
|
6007
6055
|
const { id: x } = l;
|
|
@@ -6062,7 +6110,8 @@ export {
|
|
|
6062
6110
|
S0 as Slider,
|
|
6063
6111
|
cs as Status,
|
|
6064
6112
|
X0 as Tabs,
|
|
6065
|
-
ds as
|
|
6066
|
-
|
|
6113
|
+
ds as TextArea,
|
|
6114
|
+
us as Toggle,
|
|
6115
|
+
A0 as Tooltip,
|
|
6067
6116
|
E0 as TooltipContent
|
|
6068
6117
|
};
|