@dhasdk/simple-ui 1.0.68 → 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 +60 -0
- package/index.css +1 -1
- package/index.d.ts +2 -0
- package/index.js +14 -14
- package/index.mjs +1162 -1114
- package/lib/RadioGroup.d.ts +1 -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
|
|
@@ -20,15 +20,15 @@ const qe = "-", I2 = (e) => {
|
|
|
20
20
|
}, h2 = (e, s) => {
|
|
21
21
|
if (e.length === 0)
|
|
22
22
|
return s.classGroupId;
|
|
23
|
-
const n = e[0], r = s.nextPart.get(n),
|
|
24
|
-
if (
|
|
25
|
-
return
|
|
23
|
+
const n = e[0], r = s.nextPart.get(n), c = r ? h2(e.slice(1), r) : void 0;
|
|
24
|
+
if (c)
|
|
25
|
+
return c;
|
|
26
26
|
if (s.validators.length === 0)
|
|
27
27
|
return;
|
|
28
|
-
const
|
|
28
|
+
const i = e.join(qe);
|
|
29
29
|
return s.validators.find(({
|
|
30
30
|
validator: a
|
|
31
|
-
}) => a(
|
|
31
|
+
}) => a(i))?.classGroupId;
|
|
32
32
|
}, Ke = /^\[(.+)\]$/, E2 = (e) => {
|
|
33
33
|
if (Ke.test(e)) {
|
|
34
34
|
const s = Ke.exec(e)[1], n = s?.substring(0, s.indexOf(":"));
|
|
@@ -43,29 +43,29 @@ const qe = "-", I2 = (e) => {
|
|
|
43
43
|
nextPart: /* @__PURE__ */ new Map(),
|
|
44
44
|
validators: []
|
|
45
45
|
};
|
|
46
|
-
for (const
|
|
47
|
-
Ze(n[
|
|
46
|
+
for (const c in n)
|
|
47
|
+
Ze(n[c], r, c, s);
|
|
48
48
|
return r;
|
|
49
49
|
}, Ze = (e, s, n, r) => {
|
|
50
|
-
e.forEach((
|
|
51
|
-
if (typeof
|
|
52
|
-
const
|
|
53
|
-
|
|
50
|
+
e.forEach((c) => {
|
|
51
|
+
if (typeof c == "string") {
|
|
52
|
+
const i = c === "" ? s : Xe(s, c);
|
|
53
|
+
i.classGroupId = n;
|
|
54
54
|
return;
|
|
55
55
|
}
|
|
56
|
-
if (typeof
|
|
57
|
-
if (T2(
|
|
58
|
-
Ze(
|
|
56
|
+
if (typeof c == "function") {
|
|
57
|
+
if (T2(c)) {
|
|
58
|
+
Ze(c(r), s, n, r);
|
|
59
59
|
return;
|
|
60
60
|
}
|
|
61
61
|
s.validators.push({
|
|
62
|
-
validator:
|
|
62
|
+
validator: c,
|
|
63
63
|
classGroupId: n
|
|
64
64
|
});
|
|
65
65
|
return;
|
|
66
66
|
}
|
|
67
|
-
Object.entries(
|
|
68
|
-
Ze(a, Xe(s,
|
|
67
|
+
Object.entries(c).forEach(([i, a]) => {
|
|
68
|
+
Ze(a, Xe(s, i), n, r);
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
71
|
}, Xe = (e, s) => {
|
|
@@ -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: () => {
|
|
@@ -85,54 +85,54 @@ const qe = "-", I2 = (e) => {
|
|
|
85
85
|
}
|
|
86
86
|
};
|
|
87
87
|
let s = 0, n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map();
|
|
88
|
-
const
|
|
89
|
-
n.set(
|
|
88
|
+
const c = (i, a) => {
|
|
89
|
+
n.set(i, a), s++, s > e && (s = 0, r = n, n = /* @__PURE__ */ new Map());
|
|
90
90
|
};
|
|
91
91
|
return {
|
|
92
|
-
get(
|
|
93
|
-
let a = n.get(
|
|
92
|
+
get(i) {
|
|
93
|
+
let a = n.get(i);
|
|
94
94
|
if (a !== void 0)
|
|
95
95
|
return a;
|
|
96
|
-
if ((a = r.get(
|
|
97
|
-
return i
|
|
96
|
+
if ((a = r.get(i)) !== void 0)
|
|
97
|
+
return c(i, a), a;
|
|
98
98
|
},
|
|
99
|
-
set(
|
|
100
|
-
n.has(
|
|
99
|
+
set(i, a) {
|
|
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
|
|
107
107
|
} = e;
|
|
108
|
-
let r = (
|
|
109
|
-
const
|
|
110
|
-
let a = 0, d = 0, l = 0,
|
|
111
|
-
for (let C = 0; C <
|
|
112
|
-
let v =
|
|
108
|
+
let r = (c) => {
|
|
109
|
+
const i = [];
|
|
110
|
+
let a = 0, d = 0, l = 0, x;
|
|
111
|
+
for (let C = 0; C < c.length; C++) {
|
|
112
|
+
let v = c[C];
|
|
113
113
|
if (a === 0 && d === 0) {
|
|
114
114
|
if (v === Ge) {
|
|
115
|
-
|
|
115
|
+
i.push(c.slice(l, C)), l = C + Y2;
|
|
116
116
|
continue;
|
|
117
117
|
}
|
|
118
118
|
if (v === "/") {
|
|
119
|
-
|
|
119
|
+
x = C;
|
|
120
120
|
continue;
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
v === "[" ? a++ : v === "]" ? a-- : v === "(" ? d++ : v === ")" && d--;
|
|
124
124
|
}
|
|
125
|
-
const g =
|
|
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
|
-
modifiers:
|
|
127
|
+
modifiers: i,
|
|
128
128
|
hasImportantModifier: M,
|
|
129
|
-
baseClassName:
|
|
130
|
-
maybePostfixModifierPosition:
|
|
129
|
+
baseClassName: b,
|
|
130
|
+
maybePostfixModifierPosition: L
|
|
131
131
|
};
|
|
132
132
|
};
|
|
133
133
|
if (s) {
|
|
134
|
-
const
|
|
135
|
-
r = (a) => a.startsWith(
|
|
134
|
+
const c = s + Ge, i = r;
|
|
135
|
+
r = (a) => a.startsWith(c) ? i(a.substring(c.length)) : {
|
|
136
136
|
isExternal: !0,
|
|
137
137
|
modifiers: [],
|
|
138
138
|
hasImportantModifier: !1,
|
|
@@ -141,10 +141,10 @@ const qe = "-", I2 = (e) => {
|
|
|
141
141
|
};
|
|
142
142
|
}
|
|
143
143
|
if (n) {
|
|
144
|
-
const
|
|
145
|
-
r = (
|
|
146
|
-
className:
|
|
147
|
-
parseClassName:
|
|
144
|
+
const c = r;
|
|
145
|
+
r = (i) => n({
|
|
146
|
+
className: i,
|
|
147
|
+
parseClassName: c
|
|
148
148
|
});
|
|
149
149
|
}
|
|
150
150
|
return r;
|
|
@@ -153,40 +153,40 @@ const qe = "-", I2 = (e) => {
|
|
|
153
153
|
return (r) => {
|
|
154
154
|
if (r.length <= 1)
|
|
155
155
|
return r;
|
|
156
|
-
const
|
|
157
|
-
let
|
|
156
|
+
const c = [];
|
|
157
|
+
let i = [];
|
|
158
158
|
return r.forEach((a) => {
|
|
159
|
-
a[0] === "[" || s[a] ? (
|
|
160
|
-
}),
|
|
159
|
+
a[0] === "[" || s[a] ? (c.push(...i.sort(), a), i = []) : i.push(a);
|
|
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,
|
|
170
170
|
getClassGroupId: r,
|
|
171
|
-
getConflictingClassGroupIds:
|
|
172
|
-
sortModifiers:
|
|
171
|
+
getConflictingClassGroupIds: c,
|
|
172
|
+
sortModifiers: i
|
|
173
173
|
} = s, a = [], d = e.trim().split(P2);
|
|
174
174
|
let l = "";
|
|
175
|
-
for (let
|
|
176
|
-
const g = d[
|
|
177
|
-
isExternal:
|
|
175
|
+
for (let x = d.length - 1; x >= 0; x -= 1) {
|
|
176
|
+
const g = d[x], {
|
|
177
|
+
isExternal: b,
|
|
178
178
|
modifiers: M,
|
|
179
|
-
hasImportantModifier:
|
|
179
|
+
hasImportantModifier: L,
|
|
180
180
|
baseClassName: C,
|
|
181
181
|
maybePostfixModifierPosition: v
|
|
182
182
|
} = n(g);
|
|
183
|
-
if (
|
|
183
|
+
if (b) {
|
|
184
184
|
l = g + (l.length > 0 ? " " + l : l);
|
|
185
185
|
continue;
|
|
186
186
|
}
|
|
187
|
-
let
|
|
187
|
+
let f = !!v, y = r(f ? C.substring(0, v) : C);
|
|
188
188
|
if (!y) {
|
|
189
|
-
if (!
|
|
189
|
+
if (!f) {
|
|
190
190
|
l = g + (l.length > 0 ? " " + l : l);
|
|
191
191
|
continue;
|
|
192
192
|
}
|
|
@@ -194,16 +194,16 @@ const qe = "-", I2 = (e) => {
|
|
|
194
194
|
l = g + (l.length > 0 ? " " + l : l);
|
|
195
195
|
continue;
|
|
196
196
|
}
|
|
197
|
-
|
|
197
|
+
f = !1;
|
|
198
198
|
}
|
|
199
|
-
const
|
|
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 =
|
|
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
208
|
l = g + (l.length > 0 ? " " + l : l);
|
|
209
209
|
}
|
|
@@ -224,38 +224,38 @@ const p2 = (e) => {
|
|
|
224
224
|
return n;
|
|
225
225
|
};
|
|
226
226
|
function q2(e, ...s) {
|
|
227
|
-
let n, r,
|
|
227
|
+
let n, r, c, i = a;
|
|
228
228
|
function a(l) {
|
|
229
|
-
const
|
|
230
|
-
return n = Z2(
|
|
229
|
+
const x = s.reduce((g, b) => b(g), e());
|
|
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
|
-
const
|
|
234
|
-
if (
|
|
235
|
-
return
|
|
233
|
+
const x = r(l);
|
|
234
|
+
if (x)
|
|
235
|
+
return x;
|
|
236
236
|
const g = G2(l, n);
|
|
237
|
-
return
|
|
237
|
+
return c(l, g), g;
|
|
238
238
|
}
|
|
239
239
|
return function() {
|
|
240
|
-
return
|
|
240
|
+
return i(W2.apply(null, arguments));
|
|
241
241
|
};
|
|
242
242
|
}
|
|
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"),
|
|
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
|
-
|
|
290
|
-
|
|
289
|
+
x,
|
|
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,63 +767,63 @@ 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
|
|
@@ -893,7 +893,7 @@ const J = (e) => {
|
|
|
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: [
|
|
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
|
|
@@ -1073,8 +1073,8 @@ const J = (e) => {
|
|
|
1073
1073
|
leading: [{
|
|
1074
1074
|
leading: [
|
|
1075
1075
|
/** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
|
|
1076
|
-
|
|
1077
|
-
...
|
|
1076
|
+
i,
|
|
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
|
|
@@ -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
|
|
@@ -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", y,
|
|
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",
|
|
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
|
|
@@ -2730,51 +2730,51 @@ const J = (e) => {
|
|
|
2730
2730
|
label: s,
|
|
2731
2731
|
classNameContainer: n = "",
|
|
2732
2732
|
chevron: r = !1,
|
|
2733
|
-
iconAccordionOpened:
|
|
2734
|
-
iconAccordionClosed:
|
|
2733
|
+
iconAccordionOpened: c,
|
|
2734
|
+
iconAccordionClosed: i,
|
|
2735
2735
|
hr: a = !0,
|
|
2736
2736
|
classNameHeading: d = "",
|
|
2737
2737
|
classNameContent: l = "",
|
|
2738
|
-
onExpand:
|
|
2738
|
+
onExpand: x,
|
|
2739
2739
|
singleOpen: g,
|
|
2740
|
-
classNameHr:
|
|
2740
|
+
classNameHr: b = "",
|
|
2741
2741
|
useBackground: M = !0,
|
|
2742
|
-
dataTestId:
|
|
2742
|
+
dataTestId: L,
|
|
2743
2743
|
dataTestIdLabel: C,
|
|
2744
2744
|
dataTestIdBody: v,
|
|
2745
|
-
index:
|
|
2745
|
+
index: f,
|
|
2746
2746
|
children: y,
|
|
2747
|
-
...
|
|
2747
|
+
...k
|
|
2748
2748
|
}, S) => {
|
|
2749
|
-
const [
|
|
2750
|
-
|
|
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
|
-
|
|
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
2758
|
}, [M]), Z(() => {
|
|
2759
|
-
|
|
2760
|
-
}, [
|
|
2761
|
-
/* @__PURE__ */
|
|
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:
|
|
2770
|
-
...
|
|
2769
|
+
onKeyDown: N,
|
|
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(
|
|
@@ -2803,44 +2803,44 @@ const J = (e) => {
|
|
|
2803
2803
|
variant: s = "default",
|
|
2804
2804
|
chevron: n,
|
|
2805
2805
|
iconAccordionOpened: r,
|
|
2806
|
-
iconAccordionClosed:
|
|
2806
|
+
iconAccordionClosed: c,
|
|
2807
2807
|
// rounded,
|
|
2808
|
-
classNameContainer:
|
|
2808
|
+
classNameContainer: i,
|
|
2809
2809
|
singleOpen: a = !0,
|
|
2810
2810
|
classNameChildHeading: d,
|
|
2811
2811
|
classNameChildContent: l,
|
|
2812
|
-
hr:
|
|
2812
|
+
hr: x,
|
|
2813
2813
|
classNameHr: g,
|
|
2814
|
-
useBackground:
|
|
2814
|
+
useBackground: b,
|
|
2815
2815
|
dataTestId: M,
|
|
2816
|
-
|
|
2816
|
+
...L
|
|
2817
2817
|
}, C) => {
|
|
2818
|
-
const [v,
|
|
2818
|
+
const [v, f] = Y(
|
|
2819
2819
|
null
|
|
2820
|
-
), y = (
|
|
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
|
|
2827
2827
|
variant: s,
|
|
2828
2828
|
chevron: n,
|
|
2829
2829
|
iconAccordionOpened: r,
|
|
2830
|
-
iconAccordionClosed:
|
|
2830
|
+
iconAccordionClosed: c,
|
|
2831
2831
|
// rounded,
|
|
2832
|
-
classNameHeading: m(d,
|
|
2832
|
+
classNameHeading: m(d, k.props.classNameHeading),
|
|
2833
2833
|
// className for child component
|
|
2834
|
-
classNameContent: m(l,
|
|
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
|
-
hr:
|
|
2840
|
-
classNameHr: m(g,
|
|
2841
|
-
useBackground:
|
|
2839
|
+
hr: k.props.hr === !1 ? !1 : x,
|
|
2840
|
+
classNameHr: m(g, k.props.classNameHr),
|
|
2841
|
+
useBackground: k.props.useBackground === !1 ? !1 : b,
|
|
2842
2842
|
index: S
|
|
2843
|
-
}) :
|
|
2843
|
+
}) : k) });
|
|
2844
2844
|
}
|
|
2845
2845
|
), vt = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23ffffff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20class='lucide%20lucide-chevron-down'%3e%3cpath%20d='m6%209%206%206%206-6'/%3e%3c/svg%3e", Ct = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='24'%20height='24'%20viewBox='0%200%2024%2024'%20fill='none'%20stroke='%23ffffff'%20stroke-width='2'%20stroke-linecap='round'%20stroke-linejoin='round'%20class='lucide%20lucide-chevron-up'%3e%3cpath%20d='m18%2015-6-6-6%206'/%3e%3c/svg%3e", yt = 'outline-hidden outline-offset-0 flex justify-between items-center w-full h-14 border focus:outline-4 focus:mb-2 focus:outline-[#fa89f1] shadow-xs pl-4 pr-2 py-2 bg-white text-base md:text-lg font-medium text-gray-700 hover:bg-gray-50 border-[#b3b3b3] h-12 mt-1 font-["Arial"] ', e2 = {
|
|
2846
2846
|
default: "hover:bg-gray-200 text-blackhover:border-gray-400 disabled:bg-dha-mc-bottom-nav-background disabled:text-dha-mc-checkbox-inactive disabled:border-dha-mc-secondary-border disabled:border-2",
|
|
@@ -2851,134 +2851,134 @@ const J = (e) => {
|
|
|
2851
2851
|
classNameContainer: s = "",
|
|
2852
2852
|
label: n,
|
|
2853
2853
|
options: r,
|
|
2854
|
-
optionsLabel:
|
|
2855
|
-
disabled:
|
|
2854
|
+
optionsLabel: c,
|
|
2855
|
+
disabled: i = !1,
|
|
2856
2856
|
variant: a = "default",
|
|
2857
2857
|
setSelectedOption: d,
|
|
2858
2858
|
error: l = !1,
|
|
2859
|
-
width:
|
|
2859
|
+
width: x = "",
|
|
2860
2860
|
selected: g,
|
|
2861
|
-
dataTestId:
|
|
2861
|
+
dataTestId: b,
|
|
2862
2862
|
dataTestIdButton: M,
|
|
2863
|
-
dataTestIdList:
|
|
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
2868
|
if (g) {
|
|
2869
|
-
const
|
|
2870
|
-
|
|
2869
|
+
const $ = r.findIndex((H) => H.value != null ? H.value === g : H.name === g);
|
|
2870
|
+
$ > -1 && (A($), I(r[$].name));
|
|
2871
2871
|
}
|
|
2872
2872
|
}, [r, g]), Z(() => {
|
|
2873
|
-
if (
|
|
2874
|
-
const
|
|
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
|
|
2877
|
+
}, [f.current]);
|
|
2878
|
+
const N = () => {
|
|
2879
2879
|
if (v.current && y.current) {
|
|
2880
|
-
const
|
|
2881
|
-
(F > U ? U : F) -
|
|
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 [p,
|
|
2888
|
-
S(!
|
|
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
|
|
2894
|
-
|
|
2893
|
+
function $(U) {
|
|
2894
|
+
k && v.current && !v.current.contains(U.target) && S(!1);
|
|
2895
2895
|
}
|
|
2896
2896
|
function H(U) {
|
|
2897
|
-
|
|
2897
|
+
k && U.key === "Escape" && S(!1);
|
|
2898
2898
|
}
|
|
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
|
-
}, [
|
|
2906
|
-
|
|
2907
|
-
}, [
|
|
2908
|
-
|
|
2909
|
-
}, [p,
|
|
2910
|
-
const z = (
|
|
2911
|
-
if (
|
|
2912
|
-
switch (
|
|
2905
|
+
}, [k]), Z(() => {
|
|
2906
|
+
k && N();
|
|
2907
|
+
}, [k]), Z(() => {
|
|
2908
|
+
k && o.current[p]?.focus();
|
|
2909
|
+
}, [p, k]);
|
|
2910
|
+
const z = ($) => {
|
|
2911
|
+
if (k)
|
|
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
|
-
"aria-disabled":
|
|
2940
|
-
"data-testid":
|
|
2939
|
+
"aria-disabled": i,
|
|
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
|
-
|
|
2953
|
+
k && w && "rounded-b-lg" || k && !w && "rounded-t-lg" || "rounded-lg"
|
|
2954
2954
|
),
|
|
2955
2955
|
"aria-label": "Select options - " + W(),
|
|
2956
|
-
"aria-disabled":
|
|
2957
|
-
"aria-expanded":
|
|
2956
|
+
"aria-disabled": i,
|
|
2957
|
+
"aria-expanded": k,
|
|
2958
2958
|
"aria-haspopup": "listbox",
|
|
2959
|
-
disabled:
|
|
2959
|
+
disabled: i,
|
|
2960
2960
|
"data-testid": M,
|
|
2961
2961
|
tabIndex: 0,
|
|
2962
2962
|
children: [
|
|
2963
|
-
/* @__PURE__ */ t("span", { className: "truncate", children:
|
|
2964
|
-
|
|
2963
|
+
/* @__PURE__ */ t("span", { className: "truncate", children: _ === null ? c ?? "Options" : V }),
|
|
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
|
}
|
|
2967
2967
|
),
|
|
2968
|
-
|
|
2968
|
+
k && /* @__PURE__ */ t(
|
|
2969
2969
|
"div",
|
|
2970
2970
|
{
|
|
2971
2971
|
role: "listbox",
|
|
2972
|
-
"data-testid":
|
|
2972
|
+
"data-testid": L,
|
|
2973
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
|
-
|
|
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
|
}
|
|
@@ -3012,9 +3012,9 @@ const J = (e) => {
|
|
|
3012
3012
|
"half-hour": 30,
|
|
3013
3013
|
"quarter-hour": 15
|
|
3014
3014
|
}, Mt = (e, s, n) => {
|
|
3015
|
-
const r = Nt[e ?? "half-hour"],
|
|
3016
|
-
for (let
|
|
3017
|
-
const a = Math.floor(
|
|
3015
|
+
const r = Nt[e ?? "half-hour"], c = [];
|
|
3016
|
+
for (let i = 0; i < 24 * 60; i += r) {
|
|
3017
|
+
const a = Math.floor(i / 60), d = i % 60;
|
|
3018
3018
|
if (n && (a < n[0] || a > n[1]))
|
|
3019
3019
|
continue;
|
|
3020
3020
|
let l;
|
|
@@ -3023,39 +3023,39 @@ const J = (e) => {
|
|
|
3023
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
|
-
const
|
|
3027
|
-
|
|
3026
|
+
const x = `${a.toString().padStart(2, "0")}:${d.toString().padStart(2, "0")}`;
|
|
3027
|
+
c.push({ name: l, value: x });
|
|
3028
3028
|
}
|
|
3029
|
-
return
|
|
3029
|
+
return c;
|
|
3030
3030
|
}, j0 = ({
|
|
3031
3031
|
className: e,
|
|
3032
3032
|
classNameContainer: s = "",
|
|
3033
3033
|
interval: n = "hour",
|
|
3034
3034
|
timeFormat: r = "24hr",
|
|
3035
|
-
hourRange:
|
|
3036
|
-
label:
|
|
3035
|
+
hourRange: c,
|
|
3036
|
+
label: i,
|
|
3037
3037
|
optionsLabel: a = "Select a time",
|
|
3038
3038
|
variant: d = "default",
|
|
3039
3039
|
setSelectedOption: l,
|
|
3040
|
-
width:
|
|
3040
|
+
width: x = "",
|
|
3041
3041
|
dataTestId: g,
|
|
3042
|
-
dataTestIdButton:
|
|
3042
|
+
dataTestIdButton: b,
|
|
3043
3043
|
dataTestIdList: M,
|
|
3044
|
-
|
|
3044
|
+
...L
|
|
3045
3045
|
}) => {
|
|
3046
|
-
const C = Mt(n, r,
|
|
3046
|
+
const C = Mt(n, r, c);
|
|
3047
3047
|
return console.log(n), console.log(C), /* @__PURE__ */ t(
|
|
3048
3048
|
kt,
|
|
3049
3049
|
{
|
|
3050
3050
|
className: e,
|
|
3051
3051
|
classNameContainer: s,
|
|
3052
|
-
label:
|
|
3052
|
+
label: i,
|
|
3053
3053
|
optionsLabel: a,
|
|
3054
3054
|
options: C,
|
|
3055
3055
|
variant: d,
|
|
3056
|
-
width:
|
|
3056
|
+
width: x,
|
|
3057
3057
|
dataTestId: g,
|
|
3058
|
-
dataTestIdButton:
|
|
3058
|
+
dataTestIdButton: b,
|
|
3059
3059
|
dataTestIdList: M,
|
|
3060
3060
|
setSelectedOption: () => l
|
|
3061
3061
|
}
|
|
@@ -3092,32 +3092,32 @@ const J = (e) => {
|
|
|
3092
3092
|
className: s = "",
|
|
3093
3093
|
classNameImage: n = "",
|
|
3094
3094
|
classNameChildren: r = "",
|
|
3095
|
-
icon:
|
|
3096
|
-
children:
|
|
3095
|
+
icon: c,
|
|
3096
|
+
children: i,
|
|
3097
3097
|
dataTestId: a,
|
|
3098
3098
|
dataTestIdIcon: d,
|
|
3099
3099
|
dataTestIdContent: l,
|
|
3100
|
-
...
|
|
3100
|
+
...x
|
|
3101
3101
|
}, g) => {
|
|
3102
|
-
const
|
|
3103
|
-
return /* @__PURE__ */
|
|
3102
|
+
const b = St[e];
|
|
3103
|
+
return /* @__PURE__ */ B(
|
|
3104
3104
|
"div",
|
|
3105
3105
|
{
|
|
3106
3106
|
className: m(ke[e].className, s),
|
|
3107
3107
|
ref: g,
|
|
3108
|
-
...
|
|
3108
|
+
...x,
|
|
3109
3109
|
"data-testid": a,
|
|
3110
3110
|
children: [
|
|
3111
|
-
|
|
3111
|
+
c ? /* @__PURE__ */ t("span", { className: m(ke[e].classNameImage, n), "data-testid": d, children: c }) : /* @__PURE__ */ t(
|
|
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
|
}
|
|
3119
3119
|
),
|
|
3120
|
-
/* @__PURE__ */ t("div", { className: m(ke[e].classNameChildren, r), "data-testid": l, children:
|
|
3120
|
+
/* @__PURE__ */ t("div", { className: m(ke[e].classNameChildren, r), "data-testid": l, children: i })
|
|
3121
3121
|
]
|
|
3122
3122
|
}
|
|
3123
3123
|
);
|
|
@@ -3137,53 +3137,53 @@ const zt = {
|
|
|
3137
3137
|
// classNameIcon = 'fill-[#747476] stroke-[#747476]',
|
|
3138
3138
|
classNameIconHome: n = "stroke-[#000000] fill-[#000000]",
|
|
3139
3139
|
routes: r = [],
|
|
3140
|
-
variant:
|
|
3141
|
-
classNameFinal:
|
|
3140
|
+
variant: c = "default",
|
|
3141
|
+
classNameFinal: i = "",
|
|
3142
3142
|
dataTestIdNav: a,
|
|
3143
3143
|
classNameIconSeparator: d = "stroke-[#747476]",
|
|
3144
3144
|
// separator = separatorSvg,
|
|
3145
3145
|
...l
|
|
3146
|
-
},
|
|
3147
|
-
const g = Q(null), [
|
|
3148
|
-
name: Vt(decodeURIComponent(
|
|
3149
|
-
route: "/" +
|
|
3146
|
+
}, x) => {
|
|
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
3152
|
const V = g.current;
|
|
3153
|
-
V &&
|
|
3153
|
+
V && k(V.offsetWidth);
|
|
3154
3154
|
}, []);
|
|
3155
3155
|
const D = () => {
|
|
3156
3156
|
const V = g.current;
|
|
3157
|
-
(V && !v || V && v && Date.now() > v + 200) && (
|
|
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
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
|
-
className: m(zt[
|
|
3171
|
+
className: m(zt[c], e),
|
|
3172
3172
|
...l,
|
|
3173
|
-
ref:
|
|
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
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,43 +3194,43 @@ 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(
|
|
3216
3216
|
"span",
|
|
3217
3217
|
{
|
|
3218
|
-
className: m("text-black font-bold capitalize text-nowrap",
|
|
3218
|
+
className: m("text-black font-bold capitalize text-nowrap", i),
|
|
3219
3219
|
"aria-current": "page",
|
|
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",
|
|
3232
3232
|
{
|
|
3233
|
-
className: m("text-black font-bold capitalize",
|
|
3233
|
+
className: m("text-black font-bold capitalize", i),
|
|
3234
3234
|
"aria-current": "page",
|
|
3235
3235
|
children: decodeURIComponent(V.name).replace(/-/g, " ")
|
|
3236
3236
|
}
|
|
@@ -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"
|
|
@@ -3318,47 +3318,47 @@ const zt = {
|
|
|
3318
3318
|
onClick: s,
|
|
3319
3319
|
className: n,
|
|
3320
3320
|
classNameIconLeft: r,
|
|
3321
|
-
classNameIconRight:
|
|
3322
|
-
classNameContent:
|
|
3321
|
+
classNameIconRight: c,
|
|
3322
|
+
classNameContent: i,
|
|
3323
3323
|
icon: a,
|
|
3324
3324
|
iconLeft: d,
|
|
3325
3325
|
iconRight: l,
|
|
3326
|
-
iconPosition:
|
|
3326
|
+
iconPosition: x,
|
|
3327
3327
|
variant: g = "default",
|
|
3328
|
-
dataTestId:
|
|
3328
|
+
dataTestId: b,
|
|
3329
3329
|
type: M = "button",
|
|
3330
|
-
children:
|
|
3330
|
+
children: L,
|
|
3331
3331
|
selected: C = !1,
|
|
3332
3332
|
classNameSelected: v,
|
|
3333
|
-
classNameGroup:
|
|
3333
|
+
classNameGroup: f = "",
|
|
3334
3334
|
...y
|
|
3335
|
-
},
|
|
3336
|
-
const [S,
|
|
3335
|
+
}, k) => {
|
|
3336
|
+
const [S, w] = Y("");
|
|
3337
3337
|
Z(() => {
|
|
3338
|
-
let
|
|
3339
|
-
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
3340
|
}, [C, v, g]);
|
|
3341
|
-
const D = d ?? (a && (
|
|
3342
|
-
return /* @__PURE__ */
|
|
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__ */ B(
|
|
3343
3343
|
"button",
|
|
3344
3344
|
{
|
|
3345
3345
|
type: M,
|
|
3346
3346
|
onClick: s,
|
|
3347
|
-
"data-testid":
|
|
3348
|
-
className: `${
|
|
3347
|
+
"data-testid": b,
|
|
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,
|
|
3356
|
-
ref:
|
|
3355
|
+
) : m(S, f, n)}`,
|
|
3356
|
+
ref: k,
|
|
3357
3357
|
...y,
|
|
3358
3358
|
children: [
|
|
3359
3359
|
D && /* @__PURE__ */ t("span", { className: m("mr-3", r), children: D }),
|
|
3360
|
-
|
|
3361
|
-
V && /* @__PURE__ */ t("span", { className: m("ml-3",
|
|
3360
|
+
x === "iconOnly" && a ? /* @__PURE__ */ t("span", { className: "size-6", children: a }) : /* @__PURE__ */ t("span", { className: m("grow-1", i), children: L || e }),
|
|
3361
|
+
V && /* @__PURE__ */ t("span", { className: m("ml-3", c), children: V })
|
|
3362
3362
|
]
|
|
3363
3363
|
}
|
|
3364
3364
|
);
|
|
@@ -3379,32 +3379,32 @@ const Ne = {
|
|
|
3379
3379
|
button: ""
|
|
3380
3380
|
}
|
|
3381
3381
|
}, Bt = re(
|
|
3382
|
-
({ className: e, children: s, classNameButtons: n, variant: r = "default", dataTestId:
|
|
3382
|
+
({ className: e, children: s, classNameButtons: n, variant: r = "default", dataTestId: c, ...i }, a) => {
|
|
3383
3383
|
let d = 0;
|
|
3384
3384
|
const l = We.map(s, (M) => {
|
|
3385
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
3392
|
return M;
|
|
3393
|
-
}),
|
|
3394
|
-
return
|
|
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
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:
|
|
3397
|
-
] }) : /* @__PURE__ */ t("div", { className: m("", Ne[r].container, e), ref: a, "data-testid":
|
|
3396
|
+
/* @__PURE__ */ t("div", { className: m(Ne[r].container, "justify-center", e), children: b })
|
|
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(
|
|
@@ -3413,38 +3413,38 @@ const At = {
|
|
|
3413
3413
|
variant: s = "default",
|
|
3414
3414
|
subVariant: n = "default",
|
|
3415
3415
|
imagePath: r,
|
|
3416
|
-
classNameImage:
|
|
3417
|
-
imageInset:
|
|
3416
|
+
classNameImage: c = "w-full h-full",
|
|
3417
|
+
imageInset: i = !1,
|
|
3418
3418
|
alt: a,
|
|
3419
3419
|
ariaLabel: d = "card component",
|
|
3420
3420
|
dataTestIdContainer: l,
|
|
3421
|
-
dataTestIdImage:
|
|
3421
|
+
dataTestIdImage: x,
|
|
3422
3422
|
dataTestIdChildren: g,
|
|
3423
|
-
children:
|
|
3423
|
+
children: b,
|
|
3424
3424
|
...M
|
|
3425
|
-
},
|
|
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",
|
|
3441
3441
|
{
|
|
3442
|
-
className: m("flex-initial items-center justify-center w-full",
|
|
3443
|
-
"data-testid":
|
|
3444
|
-
children: r && /* @__PURE__ */ t("img", { src: r, alt: a, className:
|
|
3442
|
+
className: m("flex-initial items-center justify-center w-full", i && (s === "default" || s === "imageBottom" ? Et : Ot)),
|
|
3443
|
+
"data-testid": x,
|
|
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": g, children:
|
|
3447
|
+
/* @__PURE__ */ t("div", { className: "flex-auto px-2 py-3", "data-testid": g, children: b })
|
|
3448
3448
|
]
|
|
3449
3449
|
}
|
|
3450
3450
|
)
|
|
@@ -3455,55 +3455,55 @@ const G0 = ({
|
|
|
3455
3455
|
classNameMessage: s = "",
|
|
3456
3456
|
classNameOverLimitMessage: n = "",
|
|
3457
3457
|
maxCharacters: r,
|
|
3458
|
-
children:
|
|
3459
|
-
altRemainingMessageText:
|
|
3458
|
+
children: c,
|
|
3459
|
+
altRemainingMessageText: i,
|
|
3460
3460
|
altOverageMessageText: a,
|
|
3461
3461
|
dataTestId: d,
|
|
3462
3462
|
dataTestIdMessage: l
|
|
3463
3463
|
}) => {
|
|
3464
|
-
const [
|
|
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 (M(
|
|
3470
|
+
const f = C.target.value.length;
|
|
3471
|
+
if (M(f > r), f === 0)
|
|
3472
3472
|
g(`${r} characters allowed`);
|
|
3473
|
-
else if (
|
|
3474
|
-
const y = " " + (
|
|
3475
|
-
g(`${r -
|
|
3473
|
+
else if (f <= r) {
|
|
3474
|
+
const y = " " + (i ?? "remaining");
|
|
3475
|
+
g(`${r - f}${y}`);
|
|
3476
3476
|
} else {
|
|
3477
3477
|
const y = " " + (a ?? "characters too many");
|
|
3478
|
-
g(`${
|
|
3478
|
+
g(`${f - r}${y}`);
|
|
3479
3479
|
}
|
|
3480
3480
|
},
|
|
3481
3481
|
className: "mb-2",
|
|
3482
3482
|
"data-testid": d,
|
|
3483
|
-
children:
|
|
3483
|
+
children: c
|
|
3484
3484
|
}
|
|
3485
3485
|
),
|
|
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
|
-
children:
|
|
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)
|
|
3500
3500
|
return !1;
|
|
3501
|
-
for (let
|
|
3502
|
-
const
|
|
3503
|
-
if (
|
|
3504
|
-
if (
|
|
3505
|
-
return !!(n &&
|
|
3506
|
-
if (
|
|
3501
|
+
for (let c = s + 1; c < e.length; c++) {
|
|
3502
|
+
const i = e[c].props.level;
|
|
3503
|
+
if (i !== void 0) {
|
|
3504
|
+
if (i < r)
|
|
3505
|
+
return !!(n && i + 1 === r);
|
|
3506
|
+
if (i === r)
|
|
3507
3507
|
return !0;
|
|
3508
3508
|
}
|
|
3509
3509
|
}
|
|
@@ -3513,107 +3513,107 @@ function r2(e, s, n) {
|
|
|
3513
3513
|
if (s === e.length - 1)
|
|
3514
3514
|
return !1;
|
|
3515
3515
|
for (let r = s + 1; r < e.length; r++) {
|
|
3516
|
-
const
|
|
3517
|
-
if (
|
|
3516
|
+
const c = e[r].props.level || 0;
|
|
3517
|
+
if (c < n)
|
|
3518
3518
|
return !1;
|
|
3519
|
-
if (
|
|
3519
|
+
if (c === n)
|
|
3520
3520
|
return !0;
|
|
3521
3521
|
}
|
|
3522
3522
|
return !1;
|
|
3523
3523
|
}
|
|
3524
3524
|
function Wt(e, s, n) {
|
|
3525
|
-
const r = e[s].props.level ?? 0,
|
|
3525
|
+
const r = e[s].props.level ?? 0, c = [];
|
|
3526
3526
|
if (r !== 0) {
|
|
3527
|
-
if (r > 0 && s + 1 < e.length && e[s + 1].props.level === r || Gt(e, s, n) ?
|
|
3528
|
-
return
|
|
3527
|
+
if (r > 0 && s + 1 < e.length && e[s + 1].props.level === r || Gt(e, s, n) ? c.unshift("sibling-child") : c.unshift("child"), r === 1)
|
|
3528
|
+
return c;
|
|
3529
3529
|
if (e.length > s)
|
|
3530
|
-
for (let
|
|
3530
|
+
for (let i = r - 1; i > 0; i--) {
|
|
3531
3531
|
let a = "blank";
|
|
3532
|
-
(r2(e, s,
|
|
3532
|
+
(r2(e, s, i) || n && r2(e, s, i - 1)) && (a = "sibling"), c.unshift(a);
|
|
3533
3533
|
}
|
|
3534
|
-
return
|
|
3534
|
+
return c;
|
|
3535
3535
|
}
|
|
3536
3536
|
}
|
|
3537
3537
|
function qt(e, s, n, r) {
|
|
3538
|
-
const
|
|
3539
|
-
let
|
|
3540
|
-
for (let l = r + 1; l < s.length && !((e[l].props.level ?? 0) <
|
|
3538
|
+
const c = n + 1;
|
|
3539
|
+
let i = !0, a = !0;
|
|
3540
|
+
for (let l = r + 1; l < s.length && !((e[l].props.level ?? 0) < c); l++)
|
|
3541
3541
|
if (s[l] === "checked")
|
|
3542
3542
|
a = !1;
|
|
3543
3543
|
else if (s[l] === "unchecked")
|
|
3544
|
-
|
|
3544
|
+
i = !1;
|
|
3545
3545
|
else if (s[l] === "indeterminate") {
|
|
3546
|
-
a = !1,
|
|
3546
|
+
a = !1, i = !1;
|
|
3547
3547
|
break;
|
|
3548
3548
|
}
|
|
3549
3549
|
let d;
|
|
3550
|
-
return
|
|
3550
|
+
return i ? d = "checked" : a ? d = "unchecked" : d = "indeterminate", d;
|
|
3551
3551
|
}
|
|
3552
3552
|
function W0({
|
|
3553
3553
|
children: e,
|
|
3554
3554
|
bridgeParent: s = !1,
|
|
3555
3555
|
fill: n = !1,
|
|
3556
3556
|
testDataId: r,
|
|
3557
|
-
icon:
|
|
3558
|
-
marker:
|
|
3557
|
+
icon: c = !0,
|
|
3558
|
+
marker: i = !1,
|
|
3559
3559
|
showBranch: a = !0,
|
|
3560
3560
|
onChange: d,
|
|
3561
3561
|
classNameLabel: l,
|
|
3562
|
-
classNameSvgLine:
|
|
3562
|
+
classNameSvgLine: x,
|
|
3563
3563
|
classNameIcon: g,
|
|
3564
|
-
classNameSvg:
|
|
3564
|
+
classNameSvg: b,
|
|
3565
3565
|
classNameInput: M,
|
|
3566
|
-
className:
|
|
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
|
-
), [
|
|
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 (y[E].props.level ===
|
|
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
|
|
3590
|
+
const w = je(
|
|
3591
3591
|
() => y.map((D, V) => {
|
|
3592
|
-
const
|
|
3593
|
-
|
|
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
|
-
icon:
|
|
3600
|
-
marker:
|
|
3599
|
+
icon: c,
|
|
3600
|
+
marker: i,
|
|
3601
3601
|
showBranch: a,
|
|
3602
|
-
status:
|
|
3602
|
+
status: k[V],
|
|
3603
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
|
-
[y, s, n,
|
|
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
|
({
|
|
@@ -3621,71 +3621,71 @@ const $2 = m2.forwardRef(
|
|
|
3621
3621
|
icon: s = !0,
|
|
3622
3622
|
classNameInput: n = "",
|
|
3623
3623
|
ariaLabel: r = "CheckBox Component",
|
|
3624
|
-
classNameLabel:
|
|
3625
|
-
customIcons:
|
|
3624
|
+
classNameLabel: c = "",
|
|
3625
|
+
customIcons: i,
|
|
3626
3626
|
classNameSvgLine: a,
|
|
3627
3627
|
classNameIcon: d,
|
|
3628
3628
|
value: l = "on",
|
|
3629
|
-
fill:
|
|
3629
|
+
fill: x = !1,
|
|
3630
3630
|
level: g = 0,
|
|
3631
|
-
classNameSvg:
|
|
3631
|
+
classNameSvg: b = "",
|
|
3632
3632
|
iconType: M = [],
|
|
3633
|
-
marker:
|
|
3633
|
+
marker: L = !1,
|
|
3634
3634
|
index: C,
|
|
3635
3635
|
setStatusUpdate: v,
|
|
3636
|
-
status:
|
|
3636
|
+
status: f,
|
|
3637
3637
|
children: y,
|
|
3638
|
-
testDataId:
|
|
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
|
-
if (
|
|
3656
|
-
|
|
3655
|
+
if (i && i[E]) {
|
|
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
|
-
}, [
|
|
3661
|
+
}, [x, s, E, L]);
|
|
3662
3662
|
const o = (p) => {
|
|
3663
|
-
p.target.checked ? (O("checked"), typeof V == "function" && V("checked",
|
|
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
|
-
M.map((p,
|
|
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
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 }),
|
|
@@ -3700,13 +3700,13 @@ const Kt = ({
|
|
|
3700
3700
|
styles: s,
|
|
3701
3701
|
type: n = "sibling",
|
|
3702
3702
|
icon: r = !0,
|
|
3703
|
-
className:
|
|
3704
|
-
classNameLine:
|
|
3703
|
+
className: c,
|
|
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
|
-
d(m(a,
|
|
3709
|
-
}, [
|
|
3708
|
+
d(m(a, c));
|
|
3709
|
+
}, [c]), n === "sibling")
|
|
3710
3710
|
return /* @__PURE__ */ t(
|
|
3711
3711
|
"svg",
|
|
3712
3712
|
{
|
|
@@ -3720,13 +3720,13 @@ const Kt = ({
|
|
|
3720
3720
|
y1: "0%",
|
|
3721
3721
|
x2: "40%",
|
|
3722
3722
|
y2: "100%",
|
|
3723
|
-
className: m("stroke-[#a1a6a8]",
|
|
3723
|
+
className: m("stroke-[#a1a6a8]", i)
|
|
3724
3724
|
}
|
|
3725
3725
|
)
|
|
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",
|
|
@@ -3740,7 +3740,7 @@ const Kt = ({
|
|
|
3740
3740
|
y1: "0%",
|
|
3741
3741
|
x2: "40%",
|
|
3742
3742
|
y2: "100%",
|
|
3743
|
-
className: m("stroke-[#a1a6a8]",
|
|
3743
|
+
className: m("stroke-[#a1a6a8]", i)
|
|
3744
3744
|
}
|
|
3745
3745
|
),
|
|
3746
3746
|
/* @__PURE__ */ t(
|
|
@@ -3750,14 +3750,14 @@ const Kt = ({
|
|
|
3750
3750
|
y1: "50%",
|
|
3751
3751
|
x2: "100%",
|
|
3752
3752
|
y2: "50%",
|
|
3753
|
-
className: m("stroke-[#a1a6a8]",
|
|
3753
|
+
className: m("stroke-[#a1a6a8]", i)
|
|
3754
3754
|
}
|
|
3755
3755
|
)
|
|
3756
3756
|
]
|
|
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",
|
|
@@ -3771,7 +3771,7 @@ const Kt = ({
|
|
|
3771
3771
|
y1: "0%",
|
|
3772
3772
|
x2: "40%",
|
|
3773
3773
|
y2: "52%",
|
|
3774
|
-
className: m("stroke-[#a1a6a8]",
|
|
3774
|
+
className: m("stroke-[#a1a6a8]", i)
|
|
3775
3775
|
}
|
|
3776
3776
|
),
|
|
3777
3777
|
/* @__PURE__ */ t(
|
|
@@ -3781,7 +3781,7 @@ const Kt = ({
|
|
|
3781
3781
|
y1: "50%",
|
|
3782
3782
|
x2: "100%",
|
|
3783
3783
|
y2: "50%",
|
|
3784
|
-
className: m("stroke-[#a1a6a8]",
|
|
3784
|
+
className: m("stroke-[#a1a6a8]", i)
|
|
3785
3785
|
}
|
|
3786
3786
|
)
|
|
3787
3787
|
]
|
|
@@ -3792,7 +3792,7 @@ const Kt = ({
|
|
|
3792
3792
|
"svg",
|
|
3793
3793
|
{
|
|
3794
3794
|
version: "1.1",
|
|
3795
|
-
className: m("size-4",
|
|
3795
|
+
className: m("size-4", c),
|
|
3796
3796
|
xmlns: "http://www.w3.org/2000/svg"
|
|
3797
3797
|
}
|
|
3798
3798
|
);
|
|
@@ -3806,66 +3806,66 @@ function Jt() {
|
|
|
3806
3806
|
(function(n, r) {
|
|
3807
3807
|
e.exports = r();
|
|
3808
3808
|
})(Xt, function() {
|
|
3809
|
-
var n = 1e3, r = 6e4,
|
|
3810
|
-
var o = ["th", "st", "nd", "rd"], p =
|
|
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() < p.date()) return -
|
|
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
|
-
V[D] =
|
|
3830
|
-
var
|
|
3831
|
-
return
|
|
3832
|
-
},
|
|
3829
|
+
V[D] = k;
|
|
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
3837
|
V[z] && (u = z), p && (V[z] = p, u = z);
|
|
3838
|
-
var
|
|
3839
|
-
if (!u &&
|
|
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 (
|
|
3844
|
+
return !h && u && (D = u), u || !h && D;
|
|
3845
|
+
}, E = function(N, o) {
|
|
3846
|
+
if (_(N)) return N.clone();
|
|
3847
3847
|
var p = typeof o == "object" ? o : {};
|
|
3848
|
-
return p.date =
|
|
3849
|
-
}, O =
|
|
3850
|
-
O.l =
|
|
3851
|
-
return E(
|
|
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 =
|
|
3857
|
+
var o = N.prototype;
|
|
3858
3858
|
return o.parse = function(p) {
|
|
3859
|
-
this.$d = function(
|
|
3860
|
-
var u =
|
|
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);
|
|
@@ -3877,35 +3877,35 @@ function Jt() {
|
|
|
3877
3877
|
return O;
|
|
3878
3878
|
}, o.isValid = function() {
|
|
3879
3879
|
return this.$d.toString() !== v;
|
|
3880
|
-
}, o.isSame = function(p,
|
|
3880
|
+
}, o.isSame = function(p, h) {
|
|
3881
3881
|
var u = E(p);
|
|
3882
|
-
return this.startOf(
|
|
3883
|
-
}, o.isAfter = function(p,
|
|
3884
|
-
return E(p) < this.startOf(
|
|
3885
|
-
}, o.isBefore = function(p,
|
|
3886
|
-
return this.endOf(
|
|
3887
|
-
}, o.$g = function(p,
|
|
3888
|
-
return O.u(p) ? this[
|
|
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(p,
|
|
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
|
-
return z ? ee : ee.endOf(
|
|
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
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
|
-
case
|
|
3908
|
+
case x:
|
|
3909
3909
|
case C:
|
|
3910
3910
|
return F(te + "Hours", 0);
|
|
3911
3911
|
case l:
|
|
@@ -3919,37 +3919,37 @@ function Jt() {
|
|
|
3919
3919
|
}
|
|
3920
3920
|
}, o.endOf = function(p) {
|
|
3921
3921
|
return this.startOf(p, !1);
|
|
3922
|
-
}, o.$set = function(p,
|
|
3923
|
-
var u, z = O.p(p),
|
|
3924
|
-
if (z ===
|
|
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(p,
|
|
3930
|
-
return this.clone().$set(p,
|
|
3929
|
+
}, o.set = function(p, h) {
|
|
3930
|
+
return this.clone().$set(p, h);
|
|
3931
3931
|
}, o.get = function(p) {
|
|
3932
3932
|
return this[O.p(p)]();
|
|
3933
|
-
}, o.add = function(p,
|
|
3933
|
+
}, o.add = function(p, h) {
|
|
3934
3934
|
var u, z = this;
|
|
3935
3935
|
p = Number(p);
|
|
3936
|
-
var
|
|
3936
|
+
var $ = O.p(h), H = function(P) {
|
|
3937
3937
|
var q = E(z);
|
|
3938
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] =
|
|
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(p,
|
|
3947
|
-
return this.add(-1 * p,
|
|
3946
|
+
}, o.subtract = function(p, h) {
|
|
3947
|
+
return this.add(-1 * p, h);
|
|
3948
3948
|
}, o.format = function(p) {
|
|
3949
|
-
var
|
|
3949
|
+
var h = this, u = this.$locale();
|
|
3950
3950
|
if (!this.isValid()) return u.invalidDate || v;
|
|
3951
|
-
var z = p || "YYYY-MM-DDTHH:mm:ssZ",
|
|
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) {
|
|
@@ -3960,9 +3960,9 @@ function Jt() {
|
|
|
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,28 +4000,28 @@ 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(p,
|
|
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
4027
|
case M:
|
|
@@ -4030,11 +4030,11 @@ function Jt() {
|
|
|
4030
4030
|
case g:
|
|
4031
4031
|
z = (P - U) / 6048e5;
|
|
4032
4032
|
break;
|
|
4033
|
-
case
|
|
4033
|
+
case x:
|
|
4034
4034
|
z = (P - U) / 864e5;
|
|
4035
4035
|
break;
|
|
4036
4036
|
case l:
|
|
4037
|
-
z = P /
|
|
4037
|
+
z = P / c;
|
|
4038
4038
|
break;
|
|
4039
4039
|
case d:
|
|
4040
4040
|
z = P / r;
|
|
@@ -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(p,
|
|
4053
|
+
}, o.locale = function(p, h) {
|
|
4054
4054
|
if (!p) return this.$L;
|
|
4055
|
-
var u = this.clone(), z =
|
|
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",
|
|
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,
|
|
4090
|
-
return (
|
|
4091
|
-
}, g = 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(f) {
|
|
4090
|
+
return (f = +f) + (f > 68 ? 1900 : 2e3);
|
|
4091
|
+
}, g = function(f) {
|
|
4092
4092
|
return function(y) {
|
|
4093
|
-
this[
|
|
4093
|
+
this[f] = +y;
|
|
4094
4094
|
};
|
|
4095
|
-
},
|
|
4095
|
+
}, b = [/[+-]\d\d:?(\d\d)?|Z/, function(f) {
|
|
4096
4096
|
(this.zone || (this.zone = {})).offset = function(y) {
|
|
4097
4097
|
if (!y || y === "Z") return 0;
|
|
4098
|
-
var
|
|
4099
|
-
return S === 0 ? 0 :
|
|
4100
|
-
}(
|
|
4101
|
-
}], M = function(
|
|
4102
|
-
var y = l[
|
|
4098
|
+
var k = y.match(/([+-]|\d\d)/g), S = 60 * k[1] + (+k[2] || 0);
|
|
4099
|
+
return S === 0 ? 0 : k[0] === "+" ? -S : S;
|
|
4100
|
+
}(f);
|
|
4101
|
+
}], M = function(f) {
|
|
4102
|
+
var y = l[f];
|
|
4103
4103
|
return y && (y.indexOf ? y : y.s.concat(y.f));
|
|
4104
|
-
},
|
|
4105
|
-
var
|
|
4104
|
+
}, L = function(f, y) {
|
|
4105
|
+
var k, S = l.meridiem;
|
|
4106
4106
|
if (S) {
|
|
4107
|
-
for (var
|
|
4108
|
-
|
|
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
|
|
4112
|
-
return
|
|
4113
|
-
}, C = { A: [d, function(
|
|
4114
|
-
this.afternoon =
|
|
4115
|
-
}], a: [d, function(
|
|
4116
|
-
this.afternoon =
|
|
4117
|
-
}], Q: [
|
|
4118
|
-
this.month = 3 * (
|
|
4119
|
-
}], S: [
|
|
4120
|
-
this.milliseconds = 100 * +
|
|
4121
|
-
}], SS: [
|
|
4122
|
-
this.milliseconds = 10 * +
|
|
4123
|
-
}], SSS: [/\d{3}/, function(
|
|
4124
|
-
this.milliseconds = +
|
|
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: [
|
|
4126
|
-
var y = l.ordinal,
|
|
4127
|
-
if (this.day =
|
|
4128
|
-
}], w: [a, g("week")], ww: [
|
|
4129
|
-
var y = M("months"),
|
|
4111
|
+
} else k = f === (y ? "pm" : "PM");
|
|
4112
|
+
return k;
|
|
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(
|
|
4132
|
-
if (
|
|
4133
|
-
this.month =
|
|
4134
|
-
}], MMMM: [d, function(
|
|
4135
|
-
var y = M("months").indexOf(
|
|
4131
|
+
})).indexOf(f) + 1;
|
|
4132
|
+
if (k < 1) throw new Error();
|
|
4133
|
+
this.month = k % 12 || k;
|
|
4134
|
+
}], MMMM: [d, function(f) {
|
|
4135
|
+
var y = M("months").indexOf(f) + 1;
|
|
4136
4136
|
if (y < 1) throw new Error();
|
|
4137
4137
|
this.month = y % 12 || y;
|
|
4138
|
-
}], Y: [/[+-]?\d+/, g("year")], YY: [
|
|
4139
|
-
this.year =
|
|
4140
|
-
}], YYYY: [/\d{4}/, g("year")], Z:
|
|
4141
|
-
function v(
|
|
4142
|
-
var y,
|
|
4143
|
-
y =
|
|
4144
|
-
for (var S = (
|
|
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 ||
|
|
4146
|
+
return O || k[j] || n[j] || k[W].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(N, o, p) {
|
|
4147
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 =
|
|
4158
|
+
var o = N.regex, p = N.parser, h = E.slice(W), u = o.exec(h)[0];
|
|
4159
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
|
-
|
|
4173
|
-
var S = y.prototype,
|
|
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 p =
|
|
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
4194
|
if (p.isValid()) {
|
|
4195
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
|
});
|
|
@@ -4211,59 +4211,59 @@ const q0 = ({
|
|
|
4211
4211
|
label: s,
|
|
4212
4212
|
value: n = "",
|
|
4213
4213
|
dataTestId: r,
|
|
4214
|
-
dataTestIdExpanded:
|
|
4215
|
-
dataTestIdInput:
|
|
4214
|
+
dataTestIdExpanded: c,
|
|
4215
|
+
dataTestIdInput: i,
|
|
4216
4216
|
onChange: a
|
|
4217
4217
|
}) => {
|
|
4218
|
-
const d = ge(n, "M-D-YYYY", !0), [l,
|
|
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
4219
|
g ? d.isValid() : !0
|
|
4220
|
-
),
|
|
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
|
|
4226
|
-
|
|
4225
|
+
function N(o) {
|
|
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 (
|
|
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
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
|
-
|
|
4248
|
+
x((N) => !N);
|
|
4249
4249
|
}, O = () => {
|
|
4250
|
-
M &&
|
|
4250
|
+
M && L(M.subtract(1, "month"));
|
|
4251
4251
|
}, j = () => {
|
|
4252
|
-
M &&
|
|
4252
|
+
M && L(M.add(1, "month"));
|
|
4253
4253
|
}, W = () => {
|
|
4254
4254
|
if (!M) return null;
|
|
4255
|
-
const
|
|
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
4259
|
const p = M.date(o);
|
|
4260
|
-
|
|
4260
|
+
N.push(
|
|
4261
4261
|
/* @__PURE__ */ t(
|
|
4262
4262
|
"button",
|
|
4263
4263
|
{
|
|
4264
4264
|
tabIndex: 0,
|
|
4265
|
-
onClick: () =>
|
|
4266
|
-
onKeyDown: (
|
|
4265
|
+
onClick: () => I(p),
|
|
4266
|
+
onKeyDown: (h) => _(h, p),
|
|
4267
4267
|
className: `w-8 h-8 ${p.isSame(M, "date") ? "bg-blue-600 text-white" : ""} hover:bg-blue-100 focus:ring`,
|
|
4268
4268
|
"aria-label": p.format("MMMM D, YYYY"),
|
|
4269
4269
|
children: o
|
|
@@ -4272,11 +4272,11 @@ const q0 = ({
|
|
|
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
|
{
|
|
@@ -4285,8 +4285,8 @@ const q0 = ({
|
|
|
4285
4285
|
"aria-labelledby": "date-picker-input",
|
|
4286
4286
|
ref: S,
|
|
4287
4287
|
value: C ? g : "",
|
|
4288
|
-
onChange:
|
|
4289
|
-
"data-testid":
|
|
4288
|
+
onChange: A,
|
|
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
|
|
4292
4292
|
focus:border-blue-500 pl-1 focus:outline-hidden`
|
|
@@ -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
|
-
"data-testid":
|
|
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
|
{
|
|
@@ -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,69 +4358,69 @@ 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,
|
|
4365
4365
|
initialChars: s = 40,
|
|
4366
4366
|
buttonText: n = "more",
|
|
4367
4367
|
classNameMoreButton: r,
|
|
4368
|
-
classNameCollapseButton:
|
|
4369
|
-
collapseButton:
|
|
4368
|
+
classNameCollapseButton: c,
|
|
4369
|
+
collapseButton: i = !1,
|
|
4370
4370
|
collapseText: a = "collapse",
|
|
4371
4371
|
className: d,
|
|
4372
4372
|
dataTestId: l,
|
|
4373
|
-
dataTestIdButton:
|
|
4373
|
+
dataTestIdButton: x,
|
|
4374
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 = ((y,
|
|
4380
|
-
if (y.length <=
|
|
4381
|
-
const S = y.slice(0,
|
|
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
|
-
g && g(!
|
|
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":
|
|
4401
|
-
"data-testid":
|
|
4400
|
+
"aria-controls": L,
|
|
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":
|
|
4418
|
-
"data-testid":
|
|
4417
|
+
"aria-controls": L,
|
|
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]",
|
|
@@ -4449,76 +4449,76 @@ const X0 = ({
|
|
|
4449
4449
|
tabs: s,
|
|
4450
4450
|
className: n,
|
|
4451
4451
|
classNameContainer: r,
|
|
4452
|
-
customActiveClass:
|
|
4453
|
-
customInactiveClass:
|
|
4452
|
+
customActiveClass: c,
|
|
4453
|
+
customInactiveClass: i,
|
|
4454
4454
|
dataTestIdContainer: a,
|
|
4455
4455
|
dataTestIdTabButton: d
|
|
4456
4456
|
}) => {
|
|
4457
|
-
const [l,
|
|
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(), w
|
|
4463
|
-
}, y = (
|
|
4464
|
-
C.current[
|
|
4465
|
-
},
|
|
4466
|
-
(
|
|
4467
|
-
if (
|
|
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
|
+
}, k = $e(
|
|
4466
|
+
(w, D) => {
|
|
4467
|
+
if (w.key === "ArrowRight") {
|
|
4468
4468
|
const V = (D + 1) % s.length;
|
|
4469
|
-
|
|
4470
|
-
} else if (
|
|
4469
|
+
x(V), v(V);
|
|
4470
|
+
} else if (w.key === "ArrowLeft") {
|
|
4471
4471
|
const V = (D - 1 + s.length) % s.length;
|
|
4472
|
-
|
|
4473
|
-
} else
|
|
4472
|
+
x(V), v(V);
|
|
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
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(
|
|
4499
|
-
onClick: () =>
|
|
4500
|
-
onKeyDown: (V) =>
|
|
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
|
+
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
|
};
|
|
@@ -4563,54 +4563,54 @@ const c2 = "px-4 py-3 arial rounded-lg border border-[#B3B3B3] mx-2 bg-white hov
|
|
|
4563
4563
|
variant: s = "default",
|
|
4564
4564
|
label: n,
|
|
4565
4565
|
insetLabel: r = !1,
|
|
4566
|
-
classNameLabel:
|
|
4567
|
-
classNameRequired:
|
|
4566
|
+
classNameLabel: c = "",
|
|
4567
|
+
classNameRequired: i = "",
|
|
4568
4568
|
labelBaseColor: a = "#fff",
|
|
4569
4569
|
dataTestId: d,
|
|
4570
4570
|
dataTestIdLabel: l,
|
|
4571
|
-
error:
|
|
4571
|
+
error: x = !1,
|
|
4572
4572
|
// labelInputColor = '#fff',
|
|
4573
4573
|
textShadow: g = !1,
|
|
4574
|
-
mask:
|
|
4574
|
+
mask: b,
|
|
4575
4575
|
disabled: M,
|
|
4576
|
-
|
|
4576
|
+
...L
|
|
4577
4577
|
}, C) => {
|
|
4578
|
-
const { "aria-label": v, ...
|
|
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
4579
|
const p = o.target.value;
|
|
4580
|
-
O(
|
|
4580
|
+
O(b ? N(p) : p);
|
|
4581
4581
|
};
|
|
4582
|
-
function
|
|
4583
|
-
let p = "",
|
|
4584
|
-
if (
|
|
4585
|
-
for (; o.length > 0 &&
|
|
4586
|
-
|
|
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
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
|
-
)), V(m(r ? Fe.find((o) => o.variant === s)?.insetLabelClasses : Fe.find((o) => o.variant === s)?.labelClasses,
|
|
4596
|
-
}, [e,
|
|
4595
|
+
)), V(m(r ? Fe.find((o) => o.variant === s)?.insetLabelClasses : Fe.find((o) => o.variant === s)?.labelClasses, c)));
|
|
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 p = (
|
|
4600
|
+
const p = (h) => {
|
|
4601
4601
|
const u = getComputedStyle(o);
|
|
4602
|
-
|
|
4602
|
+
k(u.backgroundColor), _(h);
|
|
4603
4603
|
};
|
|
4604
4604
|
return p(!0), o.addEventListener("mouseover", () => p(!0)), o.addEventListener("mouseout", () => p(!1)), () => {
|
|
4605
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),
|
|
@@ -4621,7 +4621,7 @@ const c2 = "px-4 py-3 arial rounded-lg border border-[#B3B3B3] mx-2 bg-white hov
|
|
|
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
|
),
|
|
@@ -4635,9 +4635,9 @@ const c2 = "px-4 py-3 arial rounded-lg border border-[#B3B3B3] mx-2 bg-white hov
|
|
|
4635
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
|
] });
|
|
@@ -4649,68 +4649,68 @@ const l0 = ({
|
|
|
4649
4649
|
header: s,
|
|
4650
4650
|
className: n = "",
|
|
4651
4651
|
classNameItem: r = "",
|
|
4652
|
-
children:
|
|
4653
|
-
withDividers:
|
|
4652
|
+
children: c,
|
|
4653
|
+
withDividers: i = !1,
|
|
4654
4654
|
classNameDividerColor: a = "",
|
|
4655
4655
|
isDecimal: d = !1,
|
|
4656
4656
|
isDisc: l = !1,
|
|
4657
|
-
isAlphabetical:
|
|
4657
|
+
isAlphabetical: x = !1,
|
|
4658
4658
|
isRomanNumeral: g = !1,
|
|
4659
|
-
isInline:
|
|
4659
|
+
isInline: b = !1,
|
|
4660
4660
|
testDataId: M
|
|
4661
|
-
}) => /* @__PURE__ */
|
|
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
|
-
|
|
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
|
-
g && /* @__PURE__ */
|
|
4675
|
+
g && /* @__PURE__ */ B("span", { className: "flex flex-col w-6", children: [
|
|
4676
4676
|
String.fromCharCode(8560 + C),
|
|
4677
4677
|
". "
|
|
4678
4678
|
] }),
|
|
4679
|
-
|
|
4679
|
+
x && /* @__PURE__ */ B("span", { children: [
|
|
4680
4680
|
String.fromCharCode(97 + C),
|
|
4681
4681
|
". "
|
|
4682
4682
|
] }),
|
|
4683
|
-
g ? /* @__PURE__ */ t("span", { className: "flex flex-col w-6", children:
|
|
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
|
-
|
|
4689
|
-
|
|
4690
|
-
(
|
|
4688
|
+
c && le.Children.map(
|
|
4689
|
+
c,
|
|
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
|
-
|
|
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
|
-
g && /* @__PURE__ */
|
|
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
|
-
|
|
4707
|
+
x && /* @__PURE__ */ B("span", { children: [
|
|
4708
4708
|
String.fromCharCode(97 + C),
|
|
4709
4709
|
". "
|
|
4710
4710
|
] }),
|
|
4711
|
-
!g &&
|
|
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 = {
|
|
@@ -4740,47 +4740,47 @@ const l0 = ({
|
|
|
4740
4740
|
variant: s = "default",
|
|
4741
4741
|
onClose: n,
|
|
4742
4742
|
title: r,
|
|
4743
|
-
className:
|
|
4744
|
-
closeButton:
|
|
4743
|
+
className: c,
|
|
4744
|
+
closeButton: i = !0,
|
|
4745
4745
|
clickOutsideCloses: a = !1,
|
|
4746
4746
|
displayClosingX: d = !0,
|
|
4747
4747
|
closeButtonText: l = "Close",
|
|
4748
|
-
continueButton:
|
|
4748
|
+
continueButton: x = !1,
|
|
4749
4749
|
continueButtonHandler: g,
|
|
4750
|
-
continueButtonText:
|
|
4750
|
+
continueButtonText: b = "Continue",
|
|
4751
4751
|
blurLevel: M,
|
|
4752
|
-
dataTestId:
|
|
4752
|
+
dataTestId: L,
|
|
4753
4753
|
dataTestIdBody: C,
|
|
4754
4754
|
dataTestIdTitle: v,
|
|
4755
|
-
children:
|
|
4755
|
+
children: f
|
|
4756
4756
|
}) => {
|
|
4757
|
-
const y = Q(null),
|
|
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
4759
|
if (M) {
|
|
4760
|
-
const
|
|
4761
|
-
D(m(S,
|
|
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
|
-
y.current && !y.current.contains(
|
|
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
|
-
},
|
|
4774
|
+
const I = (A) => {
|
|
4775
|
+
A.key === "Escape" && e && n();
|
|
4776
|
+
}, _ = (A) => {
|
|
4777
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 = () => {
|
|
@@ -4789,13 +4789,13 @@ const l0 = ({
|
|
|
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
|
-
className: m(me[s].container,
|
|
4798
|
+
className: m(me[s].container, c),
|
|
4799
4799
|
ref: y,
|
|
4800
4800
|
"aria-label": "modal-title",
|
|
4801
4801
|
role: "dialog",
|
|
@@ -4827,25 +4827,25 @@ 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
|
-
|
|
4834
|
-
|
|
4833
|
+
x || i ? /* @__PURE__ */ B("div", { className: "mt-4 flex justify-end px-4", children: [
|
|
4834
|
+
i && /* @__PURE__ */ t(
|
|
4835
4835
|
"button",
|
|
4836
4836
|
{
|
|
4837
|
-
ref:
|
|
4837
|
+
ref: k,
|
|
4838
4838
|
onClick: n,
|
|
4839
4839
|
className: m(me[s].button),
|
|
4840
4840
|
children: l
|
|
4841
4841
|
}
|
|
4842
4842
|
),
|
|
4843
|
-
|
|
4843
|
+
x && /* @__PURE__ */ t(
|
|
4844
4844
|
"button",
|
|
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
|
] }) : ""
|
|
@@ -4860,37 +4860,37 @@ const l0 = ({
|
|
|
4860
4860
|
iconLeft: s,
|
|
4861
4861
|
iconLeftSelected: n,
|
|
4862
4862
|
iconRight: r,
|
|
4863
|
-
iconRightSelected:
|
|
4864
|
-
children:
|
|
4863
|
+
iconRightSelected: c,
|
|
4864
|
+
children: i,
|
|
4865
4865
|
dataTestId: a,
|
|
4866
4866
|
onClick: d,
|
|
4867
4867
|
selected: l = !1,
|
|
4868
|
-
disabled:
|
|
4868
|
+
disabled: x = !1,
|
|
4869
4869
|
...g
|
|
4870
|
-
},
|
|
4871
|
-
const [M,
|
|
4870
|
+
}, b) => {
|
|
4871
|
+
const [M, L] = Y(), [C, v] = Y(), [f, y] = Y("bg-white");
|
|
4872
4872
|
return Z(() => {
|
|
4873
|
-
const
|
|
4874
|
-
v(s && r ?
|
|
4875
|
-
}, [s, r,
|
|
4876
|
-
y(l ? "bg-[#092068] focus:bg-[#092068] text-white" : "bg-white"),
|
|
4873
|
+
const k = "text-lg font-normal font-['Arial'] leading-normal ";
|
|
4874
|
+
v(s && r ? k : s ? k + "mr-6" : r ? k + "ml-6" : k + "ml-6 mr-6");
|
|
4875
|
+
}, [s, r, i]), Z(() => {
|
|
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
4885
|
className: M,
|
|
4886
|
-
ref:
|
|
4886
|
+
ref: b,
|
|
4887
4887
|
...g,
|
|
4888
|
-
disabled:
|
|
4888
|
+
disabled: x,
|
|
4889
4889
|
"data-testid": a,
|
|
4890
4890
|
children: [
|
|
4891
4891
|
s && /* @__PURE__ */ t("span", { className: "ml-6 mr-2.5 size-6", children: l && n ? n : s }),
|
|
4892
|
-
/* @__PURE__ */ t("div", { className: C, children:
|
|
4893
|
-
r && /* @__PURE__ */ t("span", { className: "ml-2.5 mr-6 size-6", children: l &&
|
|
4892
|
+
/* @__PURE__ */ t("div", { className: C, children: i }),
|
|
4893
|
+
r && /* @__PURE__ */ t("span", { className: "ml-2.5 mr-6 size-6", children: l && c ? c : r })
|
|
4894
4894
|
]
|
|
4895
4895
|
}
|
|
4896
4896
|
);
|
|
@@ -4900,29 +4900,29 @@ const l0 = ({
|
|
|
4900
4900
|
currentStep: s,
|
|
4901
4901
|
className: n = "",
|
|
4902
4902
|
classNameArrowColor: r = "fill-[#305B25]",
|
|
4903
|
-
classNameFillColor:
|
|
4904
|
-
classNameBorderColor:
|
|
4903
|
+
classNameFillColor: c = "bg-green-500",
|
|
4904
|
+
classNameBorderColor: i = "border-[#305B25]",
|
|
4905
4905
|
classNameGradient: a = "from-[#305B25] to-[#5AAB46]",
|
|
4906
4906
|
isStep: d = !0,
|
|
4907
4907
|
dataTestId: l,
|
|
4908
|
-
showMarkers:
|
|
4908
|
+
showMarkers: x = !0,
|
|
4909
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:
|
|
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
|
|
@@ -4944,9 +4944,9 @@ const l0 = ({
|
|
|
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
|
|
@@ -4967,7 +4967,7 @@ const l0 = ({
|
|
|
4967
4967
|
{
|
|
4968
4968
|
className: m(
|
|
4969
4969
|
"z-10 -mx-[0.1em] h-2 bg-blue-300 rounded-full",
|
|
4970
|
-
|
|
4970
|
+
c
|
|
4971
4971
|
),
|
|
4972
4972
|
style: { width: M }
|
|
4973
4973
|
}
|
|
@@ -4976,13 +4976,13 @@ const l0 = ({
|
|
|
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
|
}
|
|
@@ -4991,53 +4991,54 @@ const ts = ({
|
|
|
4991
4991
|
classNameLabel: s,
|
|
4992
4992
|
classNameLabelText: n,
|
|
4993
4993
|
classNameInput: r,
|
|
4994
|
-
classNameContainer:
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
4994
|
+
classNameContainer: c,
|
|
4995
|
+
classNameIcon: i,
|
|
4996
|
+
options: a,
|
|
4997
|
+
inline: d = !1,
|
|
4998
|
+
dataTestId: l,
|
|
4999
|
+
selectedId: x = "",
|
|
5000
|
+
method: g
|
|
5000
5001
|
}) => {
|
|
5001
|
-
const [
|
|
5002
|
-
|
|
5002
|
+
const [b, M] = Y(x), L = (v, f) => {
|
|
5003
|
+
M(v), g && g(v, f);
|
|
5003
5004
|
};
|
|
5004
5005
|
return Z(() => {
|
|
5005
|
-
(
|
|
5006
|
-
}, [
|
|
5006
|
+
(b === void 0 || b === "") && x !== "" && M(x);
|
|
5007
|
+
}, [b, x]), /* @__PURE__ */ B(
|
|
5007
5008
|
"fieldset",
|
|
5008
5009
|
{
|
|
5009
5010
|
role: "radiogroup",
|
|
5010
|
-
className: m(
|
|
5011
|
-
"data-testid":
|
|
5011
|
+
className: m(d ? "flex flex-wrap items-center gap-2" : "flex flex-col", c),
|
|
5012
|
+
"data-testid": l,
|
|
5012
5013
|
children: [
|
|
5013
5014
|
e && /* @__PURE__ */ t("p", { className: "mb-2 w-full", children: e }),
|
|
5014
|
-
|
|
5015
|
+
a.map(({ label: v, value: f, id: y, disabled: k }) => /* @__PURE__ */ B(
|
|
5015
5016
|
"label",
|
|
5016
5017
|
{
|
|
5017
5018
|
className: m(
|
|
5018
5019
|
"flex items-center gap-1 cursor-pointer",
|
|
5019
|
-
|
|
5020
|
-
|
|
5020
|
+
d ? "mr-4 mb-1" : "mb-2",
|
|
5021
|
+
k ? "opacity-50 cursor-not-allowed" : "",
|
|
5021
5022
|
s
|
|
5022
5023
|
),
|
|
5023
5024
|
children: [
|
|
5024
|
-
/* @__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 }) }),
|
|
5025
5026
|
/* @__PURE__ */ t(
|
|
5026
5027
|
"input",
|
|
5027
5028
|
{
|
|
5028
|
-
id:
|
|
5029
|
+
id: y,
|
|
5029
5030
|
className: m("hidden", r),
|
|
5030
5031
|
type: "radio",
|
|
5031
|
-
value:
|
|
5032
|
-
disabled:
|
|
5033
|
-
checked:
|
|
5034
|
-
onChange: () =>
|
|
5032
|
+
value: f,
|
|
5033
|
+
disabled: k,
|
|
5034
|
+
checked: b === y,
|
|
5035
|
+
onChange: () => L(y, f)
|
|
5035
5036
|
}
|
|
5036
5037
|
),
|
|
5037
|
-
/* @__PURE__ */ t("span", { className: m("ml-1", n), children:
|
|
5038
|
+
/* @__PURE__ */ t("span", { className: m("ml-1", n), children: v })
|
|
5038
5039
|
]
|
|
5039
5040
|
},
|
|
5040
|
-
|
|
5041
|
+
f
|
|
5041
5042
|
))
|
|
5042
5043
|
]
|
|
5043
5044
|
}
|
|
@@ -5048,62 +5049,62 @@ const ts = ({
|
|
|
5048
5049
|
classNameContainer: s,
|
|
5049
5050
|
classNameInputContainer: n,
|
|
5050
5051
|
classNameListOutput: r,
|
|
5051
|
-
ariaLabel:
|
|
5052
|
-
iconLink:
|
|
5052
|
+
ariaLabel: c = "Search",
|
|
5053
|
+
iconLink: i = !1,
|
|
5053
5054
|
iconLinkHandler: a,
|
|
5054
5055
|
searchableData: d,
|
|
5055
5056
|
setSearchResults: l,
|
|
5056
|
-
mobileOnly:
|
|
5057
|
+
mobileOnly: x = !1,
|
|
5057
5058
|
variant: g,
|
|
5058
|
-
dataTestIdInput:
|
|
5059
|
+
dataTestIdInput: b,
|
|
5059
5060
|
dataTestIdResults: M,
|
|
5060
|
-
|
|
5061
|
+
...L
|
|
5061
5062
|
}, C) => {
|
|
5062
|
-
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`);
|
|
5063
5064
|
f2(() => {
|
|
5064
5065
|
let z = 0;
|
|
5065
|
-
const
|
|
5066
|
-
if (!
|
|
5067
|
-
const F =
|
|
5068
|
-
|
|
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,
|
|
5069
5070
|
P + q - F.top - E
|
|
5070
5071
|
);
|
|
5071
5072
|
j(`${te}px`);
|
|
5072
5073
|
}, H = () => {
|
|
5073
|
-
cancelAnimationFrame(z), z = requestAnimationFrame(
|
|
5074
|
+
cancelAnimationFrame(z), z = requestAnimationFrame($);
|
|
5074
5075
|
};
|
|
5075
5076
|
return H(), window.addEventListener("scroll", H, { passive: !0 }), window.addEventListener("resize", H), window.visualViewport?.addEventListener("resize", H), window.visualViewport?.addEventListener("scroll", H), () => {
|
|
5076
5077
|
window.removeEventListener("scroll", H), window.removeEventListener("resize", H), window.visualViewport?.removeEventListener("resize", H), window.visualViewport?.removeEventListener("scroll", H), cancelAnimationFrame(z);
|
|
5077
5078
|
};
|
|
5078
5079
|
}, []), Z(() => {
|
|
5079
|
-
g === "rounded" &&
|
|
5080
|
+
g === "rounded" && _(!0);
|
|
5080
5081
|
}, [g]), Z(() => {
|
|
5081
|
-
if (!
|
|
5082
|
+
if (!f.current) return;
|
|
5082
5083
|
const z = requestAnimationFrame(() => {
|
|
5083
|
-
const
|
|
5084
|
-
window.dispatchEvent(
|
|
5084
|
+
const $ = new Event("resize");
|
|
5085
|
+
window.dispatchEvent($);
|
|
5085
5086
|
});
|
|
5086
5087
|
return () => cancelAnimationFrame(z);
|
|
5087
5088
|
}, [S]);
|
|
5088
5089
|
const W = (z) => {
|
|
5089
|
-
z.key === "Enter" && (l ?
|
|
5090
|
-
},
|
|
5091
|
-
|
|
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);
|
|
5092
5093
|
};
|
|
5093
5094
|
Z(() => {
|
|
5094
|
-
V(
|
|
5095
|
-
}, [
|
|
5095
|
+
V(i);
|
|
5096
|
+
}, [i]);
|
|
5096
5097
|
function o(z) {
|
|
5097
|
-
const
|
|
5098
|
+
const $ = z.toLowerCase(), H = [];
|
|
5098
5099
|
return d.forEach((F, U) => {
|
|
5099
5100
|
const P = [];
|
|
5100
|
-
let q = F.content.toLowerCase().indexOf(
|
|
5101
|
+
let q = F.content.toLowerCase().indexOf($);
|
|
5101
5102
|
for (; q !== -1; ) {
|
|
5102
5103
|
const te = F.content.substring(
|
|
5103
|
-
q +
|
|
5104
|
-
q +
|
|
5104
|
+
q + $.length,
|
|
5105
|
+
q + $.length + 15
|
|
5105
5106
|
);
|
|
5106
|
-
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);
|
|
5107
5108
|
}
|
|
5108
5109
|
P.length && H.push({
|
|
5109
5110
|
title: F.title,
|
|
@@ -5113,19 +5114,19 @@ const ts = ({
|
|
|
5113
5114
|
}), { input: z, pages: H };
|
|
5114
5115
|
}
|
|
5115
5116
|
const p = (z) => {
|
|
5116
|
-
const
|
|
5117
|
-
if (
|
|
5118
|
-
|
|
5117
|
+
const $ = z.target.value;
|
|
5118
|
+
if (k($), !$) {
|
|
5119
|
+
w(void 0);
|
|
5119
5120
|
return;
|
|
5120
5121
|
}
|
|
5121
|
-
const H = o(
|
|
5122
|
-
|
|
5123
|
-
},
|
|
5122
|
+
const H = o($);
|
|
5123
|
+
w(H);
|
|
5124
|
+
}, h = () => {
|
|
5124
5125
|
const z = v.current?.value ?? "";
|
|
5125
5126
|
if (l)
|
|
5126
5127
|
if (z.length > 0) {
|
|
5127
|
-
const
|
|
5128
|
-
l?.(
|
|
5128
|
+
const $ = o(z);
|
|
5129
|
+
l?.($);
|
|
5129
5130
|
} else
|
|
5130
5131
|
l({ input: "", pages: [{ results: [] }] });
|
|
5131
5132
|
}, u = () => {
|
|
@@ -5145,16 +5146,16 @@ const ts = ({
|
|
|
5145
5146
|
) })
|
|
5146
5147
|
) : (
|
|
5147
5148
|
// Container including input + output list box
|
|
5148
|
-
/* @__PURE__ */
|
|
5149
|
+
/* @__PURE__ */ B("span", { className: m(`h-12 md:h-[50px] lg:h-14 flex items-center max-w-full
|
|
5149
5150
|
relative ${D && "hidden"}`, s), children: [
|
|
5150
|
-
/* @__PURE__ */
|
|
5151
|
+
/* @__PURE__ */ B(
|
|
5151
5152
|
"span",
|
|
5152
5153
|
{
|
|
5153
5154
|
className: m(
|
|
5154
5155
|
`
|
|
5155
5156
|
border-[#6a686b] w-[309px] md:w-[334px] lg:w-[350px]
|
|
5156
5157
|
inline-flex bg-white lg:bg-transparent items-center pe-2
|
|
5157
|
-
${S ?
|
|
5158
|
+
${S ? I ? (
|
|
5158
5159
|
// ROUNDED & RESULTS → round top fully, no bottom rounding, 25-px is 1/2 of initial component height
|
|
5159
5160
|
`border-t border-l border-r rounded-tl-[25px] rounded-tr-[25px] lg:border-none
|
|
5160
5161
|
lg:rounded-bl-none
|
|
@@ -5162,7 +5163,7 @@ const ts = ({
|
|
|
5162
5163
|
) : (
|
|
5163
5164
|
// !ROUNDED & RESULTS → keep your current logic
|
|
5164
5165
|
"border-t border-l border-r lg:border-none rounded-tl rounded-tr"
|
|
5165
|
-
) :
|
|
5166
|
+
) : I ? (
|
|
5166
5167
|
// ROUNDED & !RESULTS → full pill rounding
|
|
5167
5168
|
"border lg:border-none rounded-full"
|
|
5168
5169
|
) : (
|
|
@@ -5173,7 +5174,7 @@ const ts = ({
|
|
|
5173
5174
|
n
|
|
5174
5175
|
),
|
|
5175
5176
|
children: [
|
|
5176
|
-
/* @__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" }) }) }),
|
|
5177
5178
|
/* @__PURE__ */ t(
|
|
5178
5179
|
"input",
|
|
5179
5180
|
{
|
|
@@ -5183,11 +5184,11 @@ const ts = ({
|
|
|
5183
5184
|
border-0 lg:border border-[#07192d] hover:border-[#5992fa] focus:border-[#5992fa]
|
|
5184
5185
|
outline-hidden my-2 -ms-2 w-[100%]`,
|
|
5185
5186
|
e,
|
|
5186
|
-
|
|
5187
|
-
|
|
5187
|
+
I && "rounded-l-full",
|
|
5188
|
+
I && S ? "lg:rounded-bl-none lg:rounded-tl-[28px]" : ""
|
|
5188
5189
|
),
|
|
5189
|
-
"aria-label":
|
|
5190
|
-
"data-testid":
|
|
5190
|
+
"aria-label": c,
|
|
5191
|
+
"data-testid": b,
|
|
5191
5192
|
value: y,
|
|
5192
5193
|
onChange: p,
|
|
5193
5194
|
placeholder: "Search result",
|
|
@@ -5195,28 +5196,28 @@ const ts = ({
|
|
|
5195
5196
|
ref: (z) => {
|
|
5196
5197
|
typeof C == "function" ? C(z) : C && (C.current = z), v.current = z;
|
|
5197
5198
|
},
|
|
5198
|
-
|
|
5199
|
+
...L
|
|
5199
5200
|
}
|
|
5200
5201
|
),
|
|
5201
5202
|
/* @__PURE__ */ t("span", { className: m(`hidden lg:flex items-center size-14 p-[17px] bg-[#07192d]
|
|
5202
|
-
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" }) }) }),
|
|
5203
5204
|
/* @__PURE__ */ t("span", { className: "lg:hidden items-center py-2 -ms-2 -ps-1 me-1 shrink-0", children: /* @__PURE__ */ t(
|
|
5204
5205
|
"button",
|
|
5205
5206
|
{
|
|
5206
5207
|
className: "appearance-none p-0 m-0 border-0 flex items-center justify-center align-middle",
|
|
5207
5208
|
"aria-label": "clear search",
|
|
5208
|
-
onClick: () =>
|
|
5209
|
+
onClick: () => N(),
|
|
5209
5210
|
children: /* @__PURE__ */ t("img", { className: "", src: u0, alt: "search icon" })
|
|
5210
5211
|
}
|
|
5211
5212
|
) })
|
|
5212
5213
|
]
|
|
5213
5214
|
}
|
|
5214
5215
|
),
|
|
5215
|
-
S && !l && /* @__PURE__ */
|
|
5216
|
+
S && !l && /* @__PURE__ */ B(
|
|
5216
5217
|
"div",
|
|
5217
5218
|
{
|
|
5218
5219
|
role: "listbox",
|
|
5219
|
-
ref:
|
|
5220
|
+
ref: f,
|
|
5220
5221
|
"aria-label": "Select option",
|
|
5221
5222
|
className: m(
|
|
5222
5223
|
`absolute
|
|
@@ -5233,13 +5234,13 @@ const ts = ({
|
|
|
5233
5234
|
"data-testid": M,
|
|
5234
5235
|
children: [
|
|
5235
5236
|
/* @__PURE__ */ t("hr", { className: "mb-1 -mt-1 mx-2 border-b-0 border-[#A1A6A8] lg:border-none" }),
|
|
5236
|
-
S.pages.map((z,
|
|
5237
|
+
S.pages.map((z, $) => /* @__PURE__ */ B("div", { className: "ms-4", children: [
|
|
5237
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 }) }),
|
|
5238
|
-
z.results.map((H, F) => /* @__PURE__ */
|
|
5239
|
+
z.results.map((H, F) => /* @__PURE__ */ B("div", { className: "ms-4", children: [
|
|
5239
5240
|
/* @__PURE__ */ t("span", { className: "text-[#1c1d1f]", children: S.input }),
|
|
5240
5241
|
/* @__PURE__ */ t("span", { className: "text-[#A1A6A8] lg:text-[#4E4E4E]", children: H.characters })
|
|
5241
5242
|
] }))
|
|
5242
|
-
] },
|
|
5243
|
+
] }, $)),
|
|
5243
5244
|
S?.pages?.length < 1 && /* @__PURE__ */ t("div", { className: "ms-4 mb-1 text-[#1c1d1f]", children: "no search results" })
|
|
5244
5245
|
]
|
|
5245
5246
|
}
|
|
@@ -5255,34 +5256,34 @@ const g0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
5255
5256
|
classNameChildren: s = "",
|
|
5256
5257
|
classNameSubHeader: n = "",
|
|
5257
5258
|
iconLeft: r,
|
|
5258
|
-
iconRight:
|
|
5259
|
-
underline:
|
|
5259
|
+
iconRight: c,
|
|
5260
|
+
underline: i = !1,
|
|
5260
5261
|
subHeader: a = !1,
|
|
5261
5262
|
fill: d = !1,
|
|
5262
5263
|
type: l = "page",
|
|
5263
|
-
padLeft:
|
|
5264
|
+
padLeft: x = !0,
|
|
5264
5265
|
padRight: g = !0,
|
|
5265
|
-
button:
|
|
5266
|
+
button: b,
|
|
5266
5267
|
buttonOnClick: M,
|
|
5267
|
-
buttonContent:
|
|
5268
|
+
buttonContent: L = "Click Me",
|
|
5268
5269
|
dataTestId: C,
|
|
5269
5270
|
children: v,
|
|
5270
|
-
...
|
|
5271
|
+
...f
|
|
5271
5272
|
}, y) => {
|
|
5272
|
-
const [
|
|
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`;
|
|
5273
5274
|
return Z(() => {
|
|
5274
|
-
S(m(
|
|
5275
|
-
}, [e,
|
|
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(() => {
|
|
5276
5277
|
D(m(`self-stretch ${l === "page" ? "text-[40px]" : l === "section" ? " text-[32px]" : "text-2xl"} font-normal font-["Arial"] leading-[48px]`, s));
|
|
5277
5278
|
}, [s, l]), Z(() => {
|
|
5278
|
-
|
|
5279
|
-
}, [n, l]), /* @__PURE__ */ t("div", { className: m(
|
|
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: [
|
|
5280
5281
|
r && r,
|
|
5281
|
-
/* @__PURE__ */
|
|
5282
|
+
/* @__PURE__ */ B("div", { className: "flex-col justify-start items-start inline-flex w-full", children: [
|
|
5282
5283
|
/* @__PURE__ */ t(
|
|
5283
5284
|
"div",
|
|
5284
5285
|
{
|
|
5285
|
-
className:
|
|
5286
|
+
className: w,
|
|
5286
5287
|
children: v
|
|
5287
5288
|
}
|
|
5288
5289
|
),
|
|
@@ -5294,8 +5295,8 @@ const g0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
5294
5295
|
}
|
|
5295
5296
|
)
|
|
5296
5297
|
] }),
|
|
5297
|
-
|
|
5298
|
-
|
|
5298
|
+
c && c,
|
|
5299
|
+
b && // text color and icon correctly set based on fill value
|
|
5299
5300
|
/* @__PURE__ */ t(
|
|
5300
5301
|
_2,
|
|
5301
5302
|
{
|
|
@@ -5305,7 +5306,7 @@ const g0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
5305
5306
|
icon: /* @__PURE__ */ t("img", { src: d ? f0 : g0, alt: "right chevron" }),
|
|
5306
5307
|
iconPosition: "right",
|
|
5307
5308
|
onClick: M,
|
|
5308
|
-
children:
|
|
5309
|
+
children: L
|
|
5309
5310
|
}
|
|
5310
5311
|
)
|
|
5311
5312
|
] }) });
|
|
@@ -5428,30 +5429,30 @@ const g0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
5428
5429
|
subVariant: s = "default",
|
|
5429
5430
|
className: n,
|
|
5430
5431
|
classNameSvg: r = "size-1.5 fill-yellow-400",
|
|
5431
|
-
imagePath:
|
|
5432
|
-
imageAlt:
|
|
5432
|
+
imagePath: c,
|
|
5433
|
+
imageAlt: i,
|
|
5433
5434
|
classNameImage: a,
|
|
5434
5435
|
children: d,
|
|
5435
5436
|
dataTestId: l,
|
|
5436
|
-
...
|
|
5437
|
+
...x
|
|
5437
5438
|
}, g) => {
|
|
5438
|
-
const [
|
|
5439
|
-
M(m(
|
|
5439
|
+
const [b, M] = Y(), [L, C] = Y(), [v, f] = Y(p0), y = () => {
|
|
5440
|
+
M(m(b, "hidden"));
|
|
5440
5441
|
};
|
|
5441
5442
|
return Z(() => {
|
|
5442
|
-
const
|
|
5443
|
-
(
|
|
5443
|
+
const k = s === "custom" ? "default" : s, S = u2.find(
|
|
5444
|
+
(w) => w.variant === e && w.subVariant === k
|
|
5444
5445
|
)?.classes;
|
|
5445
5446
|
if (e === "icon") {
|
|
5446
|
-
const
|
|
5447
|
-
(D) => D.variant === e && D.subVariant ===
|
|
5447
|
+
const w = u2.find(
|
|
5448
|
+
(D) => D.variant === e && D.subVariant === k
|
|
5448
5449
|
)?.classNameSvg;
|
|
5449
|
-
C(s === "custom" ? m(
|
|
5450
|
+
C(s === "custom" ? m(w, r) : w);
|
|
5450
5451
|
}
|
|
5451
|
-
e === "hazard" ?
|
|
5452
|
-
}, [s, n, e, r]), /* @__PURE__ */
|
|
5453
|
-
e === "default" && /* @__PURE__ */ t("div", { className:
|
|
5454
|
-
(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: [
|
|
5455
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` }) }) }),
|
|
5456
5457
|
/* @__PURE__ */ t("div", { className: "grow shrink basis-0 self-stretch text-black text-sm font-normal font-['Arial'] leading-[19px]", children: d }),
|
|
5457
5458
|
/* @__PURE__ */ t(
|
|
@@ -5464,12 +5465,12 @@ const g0 = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
|
|
|
5464
5465
|
}
|
|
5465
5466
|
)
|
|
5466
5467
|
] }),
|
|
5467
|
-
e === "icon" && /* @__PURE__ */
|
|
5468
|
-
/* @__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 }) }),
|
|
5469
5470
|
d
|
|
5470
5471
|
] }),
|
|
5471
|
-
e === "media" && /* @__PURE__ */
|
|
5472
|
-
/* @__PURE__ */ t("div", { className: "col-start-1 col-span-2", children: /* @__PURE__ */ t("img", { className: m("h-full", a), src:
|
|
5472
|
+
e === "media" && /* @__PURE__ */ B("div", { className: b, ...x, "data-testid": l, ref: g, children: [
|
|
5473
|
+
/* @__PURE__ */ t("div", { className: "col-start-1 col-span-2", children: /* @__PURE__ */ t("img", { className: m("h-full", a), src: c, alt: i }) }),
|
|
5473
5474
|
/* @__PURE__ */ t("div", { className: "w-full ml-2 col-start-3 col-span-3", children: d })
|
|
5474
5475
|
] })
|
|
5475
5476
|
] });
|
|
@@ -5480,79 +5481,79 @@ function ns({
|
|
|
5480
5481
|
backX: s = !1,
|
|
5481
5482
|
backText: n = "Back",
|
|
5482
5483
|
image: r,
|
|
5483
|
-
clickOutsideCloses:
|
|
5484
|
-
customButton:
|
|
5484
|
+
clickOutsideCloses: c = !0,
|
|
5485
|
+
customButton: i = !1,
|
|
5485
5486
|
className: a = "",
|
|
5486
5487
|
classNameBackContainer: d,
|
|
5487
5488
|
classNameBackIcon: l,
|
|
5488
|
-
classNameBackText:
|
|
5489
|
+
classNameBackText: x,
|
|
5489
5490
|
classNameContainer: g = "",
|
|
5490
|
-
classNameMenu:
|
|
5491
|
+
classNameMenu: b = "",
|
|
5491
5492
|
classNameMenuItem: M = "",
|
|
5492
|
-
classNameBackButton:
|
|
5493
|
+
classNameBackButton: L,
|
|
5493
5494
|
classNameMenuContainer: C = "",
|
|
5494
5495
|
classNameImage: v = "",
|
|
5495
|
-
classNameImageContainer:
|
|
5496
|
+
classNameImageContainer: f = "",
|
|
5496
5497
|
version: y,
|
|
5497
|
-
menuItems:
|
|
5498
|
+
menuItems: k,
|
|
5498
5499
|
right: S = !1,
|
|
5499
|
-
dataTestId:
|
|
5500
|
+
dataTestId: w,
|
|
5500
5501
|
dataTestIdHamburger: D = "hamburgerMenu",
|
|
5501
5502
|
children: V
|
|
5502
5503
|
}) {
|
|
5503
|
-
const
|
|
5504
|
+
const I = Q(null), [_, A] = Y(!1), [E, O] = Y(!1), j = Q(null);
|
|
5504
5505
|
Z(() => {
|
|
5505
|
-
const
|
|
5506
|
-
|
|
5506
|
+
const h = () => {
|
|
5507
|
+
_ ? N() : W();
|
|
5507
5508
|
};
|
|
5508
|
-
return window.addEventListener("toggleSideBarNav",
|
|
5509
|
-
}, [
|
|
5510
|
-
const
|
|
5511
|
-
|
|
5512
|
-
}, [
|
|
5513
|
-
if (
|
|
5514
|
-
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;
|
|
5515
5516
|
return document.body.style.overflow = "hidden", () => {
|
|
5516
|
-
document.body.style.overflow =
|
|
5517
|
+
document.body.style.overflow = h;
|
|
5517
5518
|
};
|
|
5518
5519
|
}
|
|
5519
|
-
}, [
|
|
5520
|
+
}, [_]);
|
|
5520
5521
|
const W = () => {
|
|
5521
|
-
|
|
5522
|
+
A(!0), setTimeout(() => {
|
|
5522
5523
|
O(!0);
|
|
5523
5524
|
}, 10);
|
|
5524
|
-
},
|
|
5525
|
+
}, N = () => {
|
|
5525
5526
|
O(!1), setTimeout(() => {
|
|
5526
|
-
|
|
5527
|
+
A(!1);
|
|
5527
5528
|
}, v0);
|
|
5528
|
-
}, o = (
|
|
5529
|
-
|
|
5529
|
+
}, o = (h) => {
|
|
5530
|
+
c && h.target === h.currentTarget && N();
|
|
5530
5531
|
}, p = m(w0, S ? "text-right pe-2" : "", M);
|
|
5531
|
-
return /* @__PURE__ */
|
|
5532
|
-
!
|
|
5532
|
+
return /* @__PURE__ */ B(ae, { children: [
|
|
5533
|
+
!i && /* @__PURE__ */ t(
|
|
5533
5534
|
"button",
|
|
5534
5535
|
{
|
|
5535
5536
|
"aria-label": "navigation",
|
|
5536
5537
|
"data-testid": D,
|
|
5537
5538
|
className: m("size-8 mb-4", C),
|
|
5538
5539
|
onClick: W,
|
|
5539
|
-
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) })
|
|
5540
5541
|
}
|
|
5541
5542
|
),
|
|
5542
|
-
/* @__PURE__ */
|
|
5543
|
+
/* @__PURE__ */ B(
|
|
5543
5544
|
"dialog",
|
|
5544
5545
|
{
|
|
5545
|
-
ref:
|
|
5546
|
+
ref: I,
|
|
5546
5547
|
"aria-labelledby": "sidebar-title",
|
|
5547
5548
|
className: m("m-0 p-0 max-w-none max-h-none w-full h-full bg-transparent", a),
|
|
5548
5549
|
onClick: o,
|
|
5549
5550
|
onClose: () => {
|
|
5550
|
-
O(!1),
|
|
5551
|
+
O(!1), A(!1);
|
|
5551
5552
|
},
|
|
5552
5553
|
"data-side": "right",
|
|
5553
|
-
"data-testid":
|
|
5554
|
+
"data-testid": w,
|
|
5554
5555
|
children: [
|
|
5555
|
-
/* @__PURE__ */
|
|
5556
|
+
/* @__PURE__ */ B(
|
|
5556
5557
|
"div",
|
|
5557
5558
|
{
|
|
5558
5559
|
id: "sideBarNav",
|
|
@@ -5573,16 +5574,16 @@ function ns({
|
|
|
5573
5574
|
{
|
|
5574
5575
|
autoFocus: !0,
|
|
5575
5576
|
id: "sideBarNavBackButton",
|
|
5576
|
-
className: m("-mt-8 w-full relative hover:cursor-pointer",
|
|
5577
|
-
onClick:
|
|
5577
|
+
className: m("-mt-8 w-full relative hover:cursor-pointer", L),
|
|
5578
|
+
onClick: N,
|
|
5578
5579
|
"aria-label": "Close menu",
|
|
5579
|
-
children: /* @__PURE__ */
|
|
5580
|
+
children: /* @__PURE__ */ B("div", { className: m("absolute top-0 right-2", d), children: [
|
|
5580
5581
|
s ? /* @__PURE__ */ t(y0, { className: m("w-10", l) }) : /* @__PURE__ */ t(k0, { className: m("w-10", l) }),
|
|
5581
|
-
/* @__PURE__ */ t("p", { className: m("-mt-2",
|
|
5582
|
+
/* @__PURE__ */ t("p", { className: m("-mt-2", x), children: n })
|
|
5582
5583
|
] })
|
|
5583
5584
|
}
|
|
5584
5585
|
),
|
|
5585
|
-
/* @__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(
|
|
5586
5587
|
"img",
|
|
5587
5588
|
{
|
|
5588
5589
|
src: r,
|
|
@@ -5593,11 +5594,11 @@ function ns({
|
|
|
5593
5594
|
/* @__PURE__ */ t("div", { className: "text-center text-xl mt-2", children: e }),
|
|
5594
5595
|
/* @__PURE__ */ t("div", { className: "[204px] mt-3 h-[2px] border-[0.5px] border-[#D9D9D9] bg-[#D9D9D9]" }),
|
|
5595
5596
|
V && V,
|
|
5596
|
-
/* @__PURE__ */ t(l0, { className: "pl-4 lg:pl-6 mt-6", children:
|
|
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 ? (
|
|
5597
5598
|
// --- MODIFIED: Use the new handler ---
|
|
5598
|
-
/* @__PURE__ */ t(
|
|
5599
|
-
) :
|
|
5600
|
-
/* @__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: [
|
|
5601
5602
|
"Version ",
|
|
5602
5603
|
y
|
|
5603
5604
|
] })
|
|
@@ -5619,10 +5620,10 @@ function ns({
|
|
|
5619
5620
|
)
|
|
5620
5621
|
] });
|
|
5621
5622
|
}
|
|
5622
|
-
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: [
|
|
5623
5624
|
/* @__PURE__ */ t("path", { d: "M0 0h24v24H0z", fill: "none" }),
|
|
5624
5625
|
/* @__PURE__ */ t("path", { d: "M3 18h18v-2H3v2zm0-5h18v-2H3v2zm0-7v2h18V6H3z" })
|
|
5625
|
-
] }), y0 = ({ className: e = "", title: s }) => /* @__PURE__ */
|
|
5626
|
+
] }), y0 = ({ className: e = "", title: s }) => /* @__PURE__ */ B(
|
|
5626
5627
|
"svg",
|
|
5627
5628
|
{
|
|
5628
5629
|
className: m("block w-full h-full ms-1", e),
|
|
@@ -5633,7 +5634,7 @@ const C0 = ({ classes: e = "fill-green-600" }) => /* @__PURE__ */ A("svg", { xml
|
|
|
5633
5634
|
role: s ? "img" : "presentation",
|
|
5634
5635
|
children: [
|
|
5635
5636
|
s ? /* @__PURE__ */ t("title", { children: s }) : null,
|
|
5636
|
-
/* @__PURE__ */
|
|
5637
|
+
/* @__PURE__ */ B("g", { id: "arrow_circle_up", children: [
|
|
5637
5638
|
/* @__PURE__ */ t(
|
|
5638
5639
|
"mask",
|
|
5639
5640
|
{
|
|
@@ -5658,7 +5659,7 @@ const C0 = ({ classes: e = "fill-green-600" }) => /* @__PURE__ */ A("svg", { xml
|
|
|
5658
5659
|
] })
|
|
5659
5660
|
]
|
|
5660
5661
|
}
|
|
5661
|
-
), k0 = ({ className: e = "", title: s }) => /* @__PURE__ */
|
|
5662
|
+
), k0 = ({ className: e = "", title: s }) => /* @__PURE__ */ B(
|
|
5662
5663
|
"svg",
|
|
5663
5664
|
{
|
|
5664
5665
|
className: m("block w-full h-full", e),
|
|
@@ -5669,7 +5670,7 @@ const C0 = ({ classes: e = "fill-green-600" }) => /* @__PURE__ */ A("svg", { xml
|
|
|
5669
5670
|
role: s ? "img" : "presentation",
|
|
5670
5671
|
children: [
|
|
5671
5672
|
s ? /* @__PURE__ */ t("title", { children: s }) : null,
|
|
5672
|
-
/* @__PURE__ */
|
|
5673
|
+
/* @__PURE__ */ B("g", { id: "IconGroup", children: [
|
|
5673
5674
|
/* @__PURE__ */ t(
|
|
5674
5675
|
"mask",
|
|
5675
5676
|
{
|
|
@@ -5698,7 +5699,7 @@ const C0 = ({ classes: e = "fill-green-600" }) => /* @__PURE__ */ A("svg", { xml
|
|
|
5698
5699
|
default: " h-48 w-56 pt-2",
|
|
5699
5700
|
custom: " h-48 w-56 pt-2"
|
|
5700
5701
|
}, M0 = le.forwardRef(
|
|
5701
|
-
({ className: e, variant: s = "default", children: n, dataTestId: r, ...
|
|
5702
|
+
({ className: e, variant: s = "default", children: n, dataTestId: r, ...c }, i) => /* @__PURE__ */ t(
|
|
5702
5703
|
"div",
|
|
5703
5704
|
{
|
|
5704
5705
|
className: m(
|
|
@@ -5709,8 +5710,8 @@ const C0 = ({ classes: e = "fill-green-600" }) => /* @__PURE__ */ A("svg", { xml
|
|
|
5709
5710
|
"aria-label": "Skeleton Component",
|
|
5710
5711
|
"data-testid": r,
|
|
5711
5712
|
role: "status",
|
|
5712
|
-
ref:
|
|
5713
|
-
...
|
|
5713
|
+
ref: i,
|
|
5714
|
+
...c,
|
|
5714
5715
|
children: n
|
|
5715
5716
|
}
|
|
5716
5717
|
)
|
|
@@ -5726,7 +5727,7 @@ const as = ({ className: e = "", inline: s = !1, dataTestId: n }) => s ? /* @__P
|
|
|
5726
5727
|
e
|
|
5727
5728
|
)
|
|
5728
5729
|
}
|
|
5729
|
-
) : /* @__PURE__ */
|
|
5730
|
+
) : /* @__PURE__ */ B(ae, { children: [
|
|
5730
5731
|
/* @__PURE__ */ t("div", { className: "basis-full h-0" }),
|
|
5731
5732
|
/* @__PURE__ */ t(
|
|
5732
5733
|
"div",
|
|
@@ -5750,7 +5751,7 @@ const as = ({ className: e = "", inline: s = !1, dataTestId: n }) => s ? /* @__P
|
|
|
5750
5751
|
e
|
|
5751
5752
|
)
|
|
5752
5753
|
}
|
|
5753
|
-
) : /* @__PURE__ */
|
|
5754
|
+
) : /* @__PURE__ */ B(ae, { children: [
|
|
5754
5755
|
/* @__PURE__ */ t("div", { className: "basis-full h-0" }),
|
|
5755
5756
|
/* @__PURE__ */ t(
|
|
5756
5757
|
"div",
|
|
@@ -5766,14 +5767,14 @@ const as = ({ className: e = "", inline: s = !1, dataTestId: n }) => s ? /* @__P
|
|
|
5766
5767
|
/* @__PURE__ */ t("div", { className: "basis-full h-0" })
|
|
5767
5768
|
] }), ls = ({ className: e = "", dataTestId: s }) => /* @__PURE__ */ t("div", { role: "presentation", "data-testid": s, className: m("rounded-lg bg-slate-300 grow h-24 my-1 mx-2", e) }), is = ({ className: e = "", dataTestId: s }) => /* @__PURE__ */ t("div", { role: "presentation", "data-testid": s, className: "basis-full h-0", "input-testid": s }), L0 = ({ className: e, children: s, skipTo: n }) => {
|
|
5768
5769
|
let r = null;
|
|
5769
|
-
const
|
|
5770
|
-
|
|
5770
|
+
const c = (i) => {
|
|
5771
|
+
i.preventDefault();
|
|
5771
5772
|
const a = document.querySelector(n);
|
|
5772
5773
|
a && (a.tabIndex = -1, a.focus(), r = setTimeout(() => a.removeAttribute("tabindex"), 1e3));
|
|
5773
5774
|
};
|
|
5774
5775
|
return Z(() => () => {
|
|
5775
5776
|
r && clearTimeout(r);
|
|
5776
|
-
}, [r]), De(s, { onClick:
|
|
5777
|
+
}, [r]), De(s, { onClick: c, className: e });
|
|
5777
5778
|
};
|
|
5778
5779
|
L0.defaultProps = {
|
|
5779
5780
|
className: "skip-link",
|
|
@@ -5792,22 +5793,22 @@ const _0 = "_slider_87un4_28", $0 = {
|
|
|
5792
5793
|
classNameLabel: s,
|
|
5793
5794
|
variant: n = "default",
|
|
5794
5795
|
dataTestIdLabel: r,
|
|
5795
|
-
dataTestIdInput:
|
|
5796
|
-
startValue:
|
|
5796
|
+
dataTestIdInput: c,
|
|
5797
|
+
startValue: i = 50,
|
|
5797
5798
|
changeHandler: a,
|
|
5798
5799
|
id: d,
|
|
5799
5800
|
label: l,
|
|
5800
|
-
...
|
|
5801
|
+
...x
|
|
5801
5802
|
}, g) => {
|
|
5802
|
-
const [
|
|
5803
|
-
g2(g, () =>
|
|
5804
|
-
M(
|
|
5803
|
+
const [b, M] = Y(i), L = Q(null);
|
|
5804
|
+
g2(g, () => L.current), Z(() => {
|
|
5805
|
+
M(i);
|
|
5805
5806
|
}, []);
|
|
5806
5807
|
const C = (v) => {
|
|
5807
|
-
const
|
|
5808
|
-
M(Number(
|
|
5808
|
+
const f = Number(v.target.value);
|
|
5809
|
+
M(Number(f)), a && a(f);
|
|
5809
5810
|
};
|
|
5810
|
-
return /* @__PURE__ */
|
|
5811
|
+
return /* @__PURE__ */ B(ae, { children: [
|
|
5811
5812
|
d && l && /* @__PURE__ */ t(
|
|
5812
5813
|
"label",
|
|
5813
5814
|
{
|
|
@@ -5820,14 +5821,14 @@ const _0 = "_slider_87un4_28", $0 = {
|
|
|
5820
5821
|
/* @__PURE__ */ t(
|
|
5821
5822
|
"input",
|
|
5822
5823
|
{
|
|
5823
|
-
ref:
|
|
5824
|
+
ref: L,
|
|
5824
5825
|
type: "range",
|
|
5825
5826
|
id: d,
|
|
5826
|
-
"data-testid":
|
|
5827
|
+
"data-testid": c,
|
|
5827
5828
|
className: m($0.slider, e),
|
|
5828
|
-
value:
|
|
5829
|
+
value: b,
|
|
5829
5830
|
onChange: C,
|
|
5830
|
-
...
|
|
5831
|
+
...x
|
|
5831
5832
|
}
|
|
5832
5833
|
)
|
|
5833
5834
|
] });
|
|
@@ -5859,25 +5860,25 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5859
5860
|
className: s,
|
|
5860
5861
|
image: n,
|
|
5861
5862
|
dataTestIdContent: r,
|
|
5862
|
-
dataTestIdContainer:
|
|
5863
|
-
classNameChild:
|
|
5863
|
+
dataTestIdContainer: c,
|
|
5864
|
+
classNameChild: i,
|
|
5864
5865
|
classNameImage: a,
|
|
5865
5866
|
children: d,
|
|
5866
5867
|
...l
|
|
5867
|
-
},
|
|
5868
|
-
const [g,
|
|
5868
|
+
}, x) => {
|
|
5869
|
+
const [g, b] = Y(), [M, L] = Y(), [C, v] = Y();
|
|
5869
5870
|
return Z(() => {
|
|
5870
|
-
|
|
5871
|
-
Ue.find((
|
|
5871
|
+
b(m(
|
|
5872
|
+
Ue.find((f) => f.variant === e)?.classes,
|
|
5872
5873
|
s
|
|
5873
5874
|
)), v(m(
|
|
5874
|
-
Ue.find((
|
|
5875
|
-
|
|
5876
|
-
)),
|
|
5877
|
-
Ue.find((
|
|
5875
|
+
Ue.find((f) => f.variant === e)?.childClasses,
|
|
5876
|
+
i
|
|
5877
|
+
)), L(m(
|
|
5878
|
+
Ue.find((f) => f.variant === e)?.imgDivClasses,
|
|
5878
5879
|
a
|
|
5879
5880
|
));
|
|
5880
|
-
}, [e, s,
|
|
5881
|
+
}, [e, s, i, a]), /* @__PURE__ */ B("div", { className: g, ref: x, "data-testid": c, children: [
|
|
5881
5882
|
/* @__PURE__ */ t("div", { className: M, children: n || // if we have an image prop - display
|
|
5882
5883
|
(e === "available" ? (
|
|
5883
5884
|
// else if we are variant 'available' ...
|
|
@@ -5889,7 +5890,53 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5889
5890
|
/* @__PURE__ */ t("div", { className: C, "data-testid": r, children: d })
|
|
5890
5891
|
] });
|
|
5891
5892
|
}
|
|
5892
|
-
),
|
|
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 = [
|
|
5893
5940
|
{
|
|
5894
5941
|
variant: "default",
|
|
5895
5942
|
classes: "bg-[#d0cfd1] hover:bg-[#bbbabc]",
|
|
@@ -5909,46 +5956,46 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5909
5956
|
buttonClasses: "translate-x-0",
|
|
5910
5957
|
toggledButtonClasses: "translate-x-8 lg:translate-x-6"
|
|
5911
5958
|
}
|
|
5912
|
-
],
|
|
5959
|
+
], us = re(
|
|
5913
5960
|
({
|
|
5914
5961
|
defaultChecked: e = !1,
|
|
5915
5962
|
disabled: s = !1,
|
|
5916
5963
|
onCheckedChange: n,
|
|
5917
5964
|
label: r,
|
|
5918
|
-
dataTestId:
|
|
5919
|
-
className:
|
|
5965
|
+
dataTestId: c,
|
|
5966
|
+
className: i,
|
|
5920
5967
|
classNameButton: a,
|
|
5921
5968
|
variant: d = "default",
|
|
5922
5969
|
type: l = "button",
|
|
5923
|
-
children:
|
|
5970
|
+
children: x,
|
|
5924
5971
|
...g
|
|
5925
|
-
},
|
|
5926
|
-
const [M,
|
|
5972
|
+
}, b) => {
|
|
5973
|
+
const [M, L] = Y(e);
|
|
5927
5974
|
return /* @__PURE__ */ t(
|
|
5928
5975
|
"button",
|
|
5929
5976
|
{
|
|
5930
5977
|
onClick: () => {
|
|
5931
5978
|
const v = !M;
|
|
5932
|
-
|
|
5979
|
+
L(v), n && n(v);
|
|
5933
5980
|
},
|
|
5934
5981
|
disabled: s,
|
|
5935
5982
|
role: "switch",
|
|
5936
5983
|
"aria-checked": M,
|
|
5937
5984
|
"aria-disabled": s,
|
|
5938
|
-
"data-testid":
|
|
5985
|
+
"data-testid": c,
|
|
5939
5986
|
...g,
|
|
5940
|
-
ref:
|
|
5987
|
+
ref: b,
|
|
5941
5988
|
"aria-label": r || `Toggle ${M ? "on" : "off"}`,
|
|
5942
5989
|
className: m(
|
|
5943
5990
|
`${B0}
|
|
5944
5991
|
${M ? Me.find((v) => v.variant === d)?.toggledClasses : Me.find((v) => v.variant === d)?.classes}`,
|
|
5945
|
-
|
|
5992
|
+
i
|
|
5946
5993
|
),
|
|
5947
5994
|
children: /* @__PURE__ */ t(
|
|
5948
5995
|
"div",
|
|
5949
5996
|
{
|
|
5950
5997
|
className: m(
|
|
5951
|
-
`${
|
|
5998
|
+
`${I0}
|
|
5952
5999
|
${M ? Me.find((v) => v.variant === d)?.toggledButtonClasses : Me.find((v) => v.variant === d)?.buttonClasses}`,
|
|
5953
6000
|
a
|
|
5954
6001
|
)
|
|
@@ -5957,62 +6004,62 @@ const V0 = "data:image/svg+xml,%3csvg%20width='20'%20height='21'%20viewBox='0%20
|
|
|
5957
6004
|
}
|
|
5958
6005
|
);
|
|
5959
6006
|
}
|
|
5960
|
-
), V2 = z2(void 0),
|
|
6007
|
+
), V2 = z2(void 0), A0 = re(
|
|
5961
6008
|
({
|
|
5962
6009
|
children: e,
|
|
5963
6010
|
delay: s = 0,
|
|
5964
6011
|
className: n,
|
|
5965
6012
|
id: r = "tooltip-content",
|
|
5966
|
-
dataTestId:
|
|
5967
|
-
...
|
|
6013
|
+
dataTestId: c,
|
|
6014
|
+
...i
|
|
5968
6015
|
}, a) => {
|
|
5969
|
-
const [d, l] =
|
|
5970
|
-
let
|
|
6016
|
+
const [d, l] = Y(!1);
|
|
6017
|
+
let x;
|
|
5971
6018
|
const g = $e(() => {
|
|
5972
|
-
|
|
5973
|
-
}, [s]),
|
|
5974
|
-
clearTimeout(
|
|
5975
|
-
}, []), M = We.toArray(e),
|
|
6019
|
+
x = setTimeout(() => l(!0), s);
|
|
6020
|
+
}, [s]), b = $e(() => {
|
|
6021
|
+
clearTimeout(x), l(!1);
|
|
6022
|
+
}, []), M = We.toArray(e), L = M.find((v) => {
|
|
5976
6023
|
if (xe(v))
|
|
5977
6024
|
return v.type.displayName !== "TooltipContent";
|
|
5978
6025
|
}), C = M.find((v) => {
|
|
5979
6026
|
if (xe(v))
|
|
5980
6027
|
return v.type.displayName === "TooltipContent";
|
|
5981
6028
|
});
|
|
5982
|
-
return /* @__PURE__ */ t(V2.Provider, { value: { id: r }, children: /* @__PURE__ */
|
|
6029
|
+
return /* @__PURE__ */ t(V2.Provider, { value: { id: r }, children: /* @__PURE__ */ B(
|
|
5983
6030
|
"div",
|
|
5984
6031
|
{
|
|
5985
6032
|
ref: a,
|
|
5986
6033
|
className: m("relative inline-block", n),
|
|
5987
6034
|
onMouseEnter: g,
|
|
5988
|
-
onMouseLeave:
|
|
5989
|
-
"data-testid":
|
|
6035
|
+
onMouseLeave: b,
|
|
6036
|
+
"data-testid": c,
|
|
5990
6037
|
"aria-describedby": r,
|
|
5991
6038
|
onFocus: g,
|
|
5992
|
-
onBlur:
|
|
5993
|
-
...
|
|
6039
|
+
onBlur: b,
|
|
6040
|
+
...i,
|
|
5994
6041
|
children: [
|
|
5995
|
-
|
|
6042
|
+
L,
|
|
5996
6043
|
d && C
|
|
5997
6044
|
]
|
|
5998
6045
|
}
|
|
5999
6046
|
) });
|
|
6000
6047
|
}
|
|
6001
6048
|
);
|
|
6002
|
-
|
|
6049
|
+
A0.displayName = "Tooltip";
|
|
6003
6050
|
const E0 = re(
|
|
6004
|
-
({ children: e, className: s, position: n, dataTestId: r, ...
|
|
6005
|
-
const [a, d] =
|
|
6051
|
+
({ children: e, className: s, position: n, dataTestId: r, ...c }, i) => {
|
|
6052
|
+
const [a, d] = Y("mt-2"), l = H2(V2);
|
|
6006
6053
|
if (!l)
|
|
6007
6054
|
throw new Error("TooltipContent must be used within a tooltip");
|
|
6008
|
-
const { id:
|
|
6055
|
+
const { id: x } = l;
|
|
6009
6056
|
return Z(() => {
|
|
6010
6057
|
n === "s" ? d("left-1/2 -translate-x-1/2 top-full mt-2") : n === "n" ? d("left-1/2 -translate-x-1/2 -top-1 -translate-y-full ") : n === "nw" ? d("left-0 -top-1 -translate-y-full") : n === "ne" ? d("right-0 -top-1 -translate-y-full") : n === "se" ? d("right-0 top-full mt-2") : n === "w" ? d("-translate-x-full -left-2 -translate-y-1/2 top-1/2") : n === "e" ? d("-right-2 translate-x-full -translate-y-1/2 top-1/2") : n === "c" && d("left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2");
|
|
6011
6058
|
}, [n, s]), /* @__PURE__ */ t(
|
|
6012
6059
|
"div",
|
|
6013
6060
|
{
|
|
6014
|
-
ref:
|
|
6015
|
-
id:
|
|
6061
|
+
ref: i,
|
|
6062
|
+
id: x,
|
|
6016
6063
|
role: "tooltip",
|
|
6017
6064
|
"data-testid": r,
|
|
6018
6065
|
className: m(
|
|
@@ -6020,7 +6067,7 @@ const E0 = re(
|
|
|
6020
6067
|
a,
|
|
6021
6068
|
s
|
|
6022
6069
|
),
|
|
6023
|
-
...
|
|
6070
|
+
...c,
|
|
6024
6071
|
children: e
|
|
6025
6072
|
}
|
|
6026
6073
|
);
|
|
@@ -6063,7 +6110,8 @@ export {
|
|
|
6063
6110
|
S0 as Slider,
|
|
6064
6111
|
cs as Status,
|
|
6065
6112
|
X0 as Tabs,
|
|
6066
|
-
ds as
|
|
6067
|
-
|
|
6113
|
+
ds as TextArea,
|
|
6114
|
+
us as Toggle,
|
|
6115
|
+
A0 as Tooltip,
|
|
6068
6116
|
E0 as TooltipContent
|
|
6069
6117
|
};
|