@everlywell/consumer-ui 1.47.5 → 1.47.7
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/index.js +10 -10
- package/index.mjs +531 -587
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts.map +1 -1
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.stories.d.ts +0 -6
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.stories.d.ts.map +1 -1
- package/lib/components/Navbar/NavbarDrawerLink/NavbarDrawerLink.d.ts.map +1 -1
- package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts.map +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useSteps as
|
|
2
|
-
import se, { useEffect as ee, forwardRef as
|
|
3
|
-
import { Text as
|
|
4
|
-
import { CaretRight as
|
|
5
|
-
import { motion as
|
|
6
|
-
var
|
|
1
|
+
import { useSteps as Qt, Box as R, Stepper as qt, Icon as Ce, Flex as T, Text as z, Link as le, Button as St, Image as en, IconButton as tn, theme as G, useMediaQuery as et, VStack as nn, Skeleton as Xe, HStack as gt, SkeletonCircle as He, DrawerContent as kt, DrawerOverlay as Rt, Drawer as _t, DrawerHeader as Dt, DrawerBody as Tt, Grid as rn, GridItem as on, Accordion as an, AccordionItem as ln, AccordionButton as sn, AccordionPanel as cn, InputGroup as un, Input as dn, InputRightElement as fn, Container as pn, DrawerFooter as hn, DrawerCloseButton as gn, Modal as xn, ModalOverlay as vn, ModalContent as bn, ModalHeader as mn, ModalBody as wn, ModalFooter as yn, ModalCloseButton as jn } from "@everlywell/ui-kit";
|
|
2
|
+
import se, { useEffect as ee, forwardRef as It, useRef as Cn, useCallback as Lt, useState as X } from "react";
|
|
3
|
+
import { Text as En, useBreakpointValue as je, Box as Sn, InputGroup as kn, Input as Rn, InputRightElement as _n, Icon as Dn } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as xt, Basket as Tn, CaretLeft as In, X as Ot, MagnifyingGlass as Ln, CaretDown as On, ArrowRight as An, InstagramLogo as Pn, LinkedinLogo as Mn, FacebookLogo as $n, TiktokLogo as Fn, XLogo as Hn } from "@phosphor-icons/react";
|
|
5
|
+
import { motion as it, AnimatePresence as Bn } from "framer-motion";
|
|
6
|
+
var tt = { exports: {} }, Te = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,17 +13,17 @@ var rt = { exports: {} }, Te = {};
|
|
|
13
13
|
* This source code is licensed under the MIT license found in the
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
|
-
var
|
|
16
|
+
var vt;
|
|
17
17
|
function zn() {
|
|
18
|
-
if (
|
|
19
|
-
|
|
20
|
-
var n = se,
|
|
18
|
+
if (vt) return Te;
|
|
19
|
+
vt = 1;
|
|
20
|
+
var n = se, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, c = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
21
|
function f(d, g, p) {
|
|
22
22
|
var h, C = {}, E = null, v = null;
|
|
23
23
|
p !== void 0 && (E = "" + p), g.key !== void 0 && (E = "" + g.key), g.ref !== void 0 && (v = g.ref);
|
|
24
24
|
for (h in g) i.call(g, h) && !u.hasOwnProperty(h) && (C[h] = g[h]);
|
|
25
25
|
if (d && d.defaultProps) for (h in g = d.defaultProps, g) C[h] === void 0 && (C[h] = g[h]);
|
|
26
|
-
return { $$typeof:
|
|
26
|
+
return { $$typeof: o, type: d, key: E, ref: v, props: C, _owner: c.current };
|
|
27
27
|
}
|
|
28
28
|
return Te.Fragment = s, Te.jsx = f, Te.jsxs = f, Te;
|
|
29
29
|
}
|
|
@@ -37,48 +37,48 @@ var Ie = {};
|
|
|
37
37
|
* This source code is licensed under the MIT license found in the
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
39
|
*/
|
|
40
|
-
var
|
|
40
|
+
var bt;
|
|
41
41
|
function Wn() {
|
|
42
|
-
return
|
|
43
|
-
var n = se,
|
|
42
|
+
return bt || (bt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
var n = se, o = Symbol.for("react.element"), s = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), d = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), p = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), v = Symbol.for("react.offscreen"), w = Symbol.iterator, O = "@@iterator";
|
|
44
44
|
function b(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var
|
|
48
|
-
return typeof
|
|
47
|
+
var r = w && e[w] || e[O];
|
|
48
|
+
return typeof r == "function" ? r : null;
|
|
49
49
|
}
|
|
50
50
|
var $ = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function S(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var
|
|
53
|
+
for (var r = arguments.length, l = new Array(r > 1 ? r - 1 : 0), x = 1; x < r; x++)
|
|
54
54
|
l[x - 1] = arguments[x];
|
|
55
|
-
|
|
55
|
+
y("error", e, l);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function y(e, r, l) {
|
|
59
59
|
{
|
|
60
60
|
var x = $.ReactDebugCurrentFrame, k = x.getStackAddendum();
|
|
61
|
-
k !== "" && (
|
|
62
|
-
var
|
|
63
|
-
return String(
|
|
61
|
+
k !== "" && (r += "%s", l = l.concat([k]));
|
|
62
|
+
var D = l.map(function(j) {
|
|
63
|
+
return String(j);
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
D.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, D);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var A = !1, H = !1,
|
|
68
|
+
var A = !1, H = !1, U = !1, te = !1, he = !1, ne;
|
|
69
69
|
ne = Symbol.for("react.module.reference");
|
|
70
70
|
function ge(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === i || e === u || he || e === c || e === p || e === h || te || e === v || A || H ||
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === i || e === u || he || e === c || e === p || e === h || te || e === v || A || H || U || typeof e == "object" && e !== null && (e.$$typeof === E || e.$$typeof === C || e.$$typeof === f || e.$$typeof === d || e.$$typeof === g || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
75
75
|
e.$$typeof === ne || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
|
-
function xe(e,
|
|
77
|
+
function xe(e, r, l) {
|
|
78
78
|
var x = e.displayName;
|
|
79
79
|
if (x)
|
|
80
80
|
return x;
|
|
81
|
-
var k =
|
|
81
|
+
var k = r.displayName || r.name || "";
|
|
82
82
|
return k !== "" ? l + "(" + k + ")" : l;
|
|
83
83
|
}
|
|
84
84
|
function oe(e) {
|
|
@@ -108,8 +108,8 @@ function Wn() {
|
|
|
108
108
|
if (typeof e == "object")
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
110
|
case d:
|
|
111
|
-
var
|
|
112
|
-
return oe(
|
|
111
|
+
var r = e;
|
|
112
|
+
return oe(r) + ".Consumer";
|
|
113
113
|
case f:
|
|
114
114
|
var l = e;
|
|
115
115
|
return oe(l._context) + ".Provider";
|
|
@@ -119,9 +119,9 @@ function Wn() {
|
|
|
119
119
|
var x = e.displayName || null;
|
|
120
120
|
return x !== null ? x : B(e.type) || "Memo";
|
|
121
121
|
case E: {
|
|
122
|
-
var k = e,
|
|
122
|
+
var k = e, D = k._payload, j = k._init;
|
|
123
123
|
try {
|
|
124
|
-
return B(
|
|
124
|
+
return B(j(D));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,14 +129,14 @@ function Wn() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var I = Object.assign, J = 0, ae, ie, Le, Oe, Ae, ve, Pe;
|
|
133
133
|
function Se() {
|
|
134
134
|
}
|
|
135
135
|
Se.__reactDisabledLog = !0;
|
|
136
136
|
function ke() {
|
|
137
137
|
{
|
|
138
138
|
if (J === 0) {
|
|
139
|
-
ae = console.log, ie = console.info,
|
|
139
|
+
ae = console.log, ie = console.info, Le = console.warn, Oe = console.error, Ae = console.group, ve = console.groupCollapsed, Pe = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -156,7 +156,7 @@ function Wn() {
|
|
|
156
156
|
J++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function We() {
|
|
160
160
|
{
|
|
161
161
|
if (J--, J === 0) {
|
|
162
162
|
var e = {
|
|
@@ -165,26 +165,26 @@ function Wn() {
|
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
168
|
+
log: I({}, e, {
|
|
169
169
|
value: ae
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: I({}, e, {
|
|
172
172
|
value: ie
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
174
|
+
warn: I({}, e, {
|
|
175
|
+
value: Le
|
|
176
|
+
}),
|
|
177
|
+
error: I({}, e, {
|
|
175
178
|
value: Oe
|
|
176
179
|
}),
|
|
177
|
-
|
|
180
|
+
group: I({}, e, {
|
|
178
181
|
value: Ae
|
|
179
182
|
}),
|
|
180
|
-
|
|
181
|
-
value: Pe
|
|
182
|
-
}),
|
|
183
|
-
groupCollapsed: T({}, e, {
|
|
183
|
+
groupCollapsed: I({}, e, {
|
|
184
184
|
value: ve
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
187
|
-
value:
|
|
186
|
+
groupEnd: I({}, e, {
|
|
187
|
+
value: Pe
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
@@ -192,7 +192,7 @@ function Wn() {
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
var Re = $.ReactCurrentDispatcher, K;
|
|
195
|
-
function be(e,
|
|
195
|
+
function be(e, r, l) {
|
|
196
196
|
{
|
|
197
197
|
if (K === void 0)
|
|
198
198
|
try {
|
|
@@ -210,7 +210,7 @@ function Wn() {
|
|
|
210
210
|
var _e = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
211
|
me = new _e();
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function Me(e, r) {
|
|
214
214
|
if (!e || ce)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
@@ -222,31 +222,31 @@ function Wn() {
|
|
|
222
222
|
ce = !0;
|
|
223
223
|
var k = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
225
|
+
var D;
|
|
226
|
+
D = Re.current, Re.current = null, ke();
|
|
227
227
|
try {
|
|
228
|
-
if (
|
|
229
|
-
var
|
|
228
|
+
if (r) {
|
|
229
|
+
var j = function() {
|
|
230
230
|
throw Error();
|
|
231
231
|
};
|
|
232
|
-
if (Object.defineProperty(
|
|
232
|
+
if (Object.defineProperty(j.prototype, "props", {
|
|
233
233
|
set: function() {
|
|
234
234
|
throw Error();
|
|
235
235
|
}
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
|
-
Reflect.construct(
|
|
238
|
+
Reflect.construct(j, []);
|
|
239
239
|
} catch (V) {
|
|
240
240
|
x = V;
|
|
241
241
|
}
|
|
242
|
-
Reflect.construct(e, [],
|
|
242
|
+
Reflect.construct(e, [], j);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
|
-
|
|
245
|
+
j.call();
|
|
246
246
|
} catch (V) {
|
|
247
247
|
x = V;
|
|
248
248
|
}
|
|
249
|
-
e.call(
|
|
249
|
+
e.call(j.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
@@ -276,23 +276,23 @@ function Wn() {
|
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
ce = !1, Re.current =
|
|
279
|
+
ce = !1, Re.current = D, We(), Error.prepareStackTrace = k;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
281
|
+
var ye = e ? e.displayName || e.name : "", pe = ye ? be(ye) : "";
|
|
282
282
|
return typeof e == "function" && me.set(e, pe), pe;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
285
|
-
return
|
|
284
|
+
function Ne(e, r, l) {
|
|
285
|
+
return Me(e, !1);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
var
|
|
289
|
-
return !!(
|
|
287
|
+
function Ve(e) {
|
|
288
|
+
var r = e.prototype;
|
|
289
|
+
return !!(r && r.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function Y(e, r, l) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return
|
|
295
|
+
return Me(e, Ve(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return be(e);
|
|
298
298
|
switch (e) {
|
|
@@ -304,53 +304,53 @@ function Wn() {
|
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
306
|
case g:
|
|
307
|
-
return
|
|
307
|
+
return Ne(e.render);
|
|
308
308
|
case C:
|
|
309
|
-
return
|
|
309
|
+
return Y(e.type, r, l);
|
|
310
310
|
case E: {
|
|
311
|
-
var x = e, k = x._payload,
|
|
311
|
+
var x = e, k = x._payload, D = x._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return Y(D(k), r, l);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var ue = Object.prototype.hasOwnProperty,
|
|
320
|
+
var ue = Object.prototype.hasOwnProperty, $e = {}, De = $.ReactDebugCurrentFrame;
|
|
321
321
|
function de(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var
|
|
323
|
+
var r = e._owner, l = Y(e.type, e._source, r ? r.type : null);
|
|
324
324
|
De.setExtraStackFrame(l);
|
|
325
325
|
} else
|
|
326
326
|
De.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function Fe(e, r, l, x, k) {
|
|
329
329
|
{
|
|
330
|
-
var
|
|
331
|
-
for (var
|
|
332
|
-
if (
|
|
330
|
+
var D = Function.call.bind(ue);
|
|
331
|
+
for (var j in e)
|
|
332
|
+
if (D(e, j)) {
|
|
333
333
|
var m = void 0;
|
|
334
334
|
try {
|
|
335
|
-
if (typeof e[
|
|
336
|
-
var W = Error((x || "React class") + ": " + l + " type `" +
|
|
335
|
+
if (typeof e[j] != "function") {
|
|
336
|
+
var W = Error((x || "React class") + ": " + l + " type `" + j + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[j] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
337
|
throw W.name = "Invariant Violation", W;
|
|
338
338
|
}
|
|
339
|
-
m = e[
|
|
339
|
+
m = e[j](r, j, x, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (P) {
|
|
341
341
|
m = P;
|
|
342
342
|
}
|
|
343
|
-
m && !(m instanceof Error) && (de(k), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", x || "React class", l,
|
|
343
|
+
m && !(m instanceof Error) && (de(k), S("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", x || "React class", l, j, typeof m), de(null)), m instanceof Error && !(m.message in $e) && ($e[m.message] = !0, de(k), S("Failed %s type: %s", l, m.message), de(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
var a = Array.isArray;
|
|
348
|
-
function
|
|
348
|
+
function _(e) {
|
|
349
349
|
return a(e);
|
|
350
350
|
}
|
|
351
351
|
function L(e) {
|
|
352
352
|
{
|
|
353
|
-
var
|
|
353
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, l = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
354
|
return l;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
@@ -373,34 +373,34 @@ function Wn() {
|
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
375
375
|
__source: !0
|
|
376
|
-
}, N,
|
|
377
|
-
|
|
378
|
-
function
|
|
376
|
+
}, N, lt, Ye;
|
|
377
|
+
Ye = {};
|
|
378
|
+
function Pt(e) {
|
|
379
379
|
if (ue.call(e, "ref")) {
|
|
380
|
-
var
|
|
381
|
-
if (
|
|
380
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
|
+
if (r && r.isReactWarning)
|
|
382
382
|
return !1;
|
|
383
383
|
}
|
|
384
384
|
return e.ref !== void 0;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function Mt(e) {
|
|
387
387
|
if (ue.call(e, "key")) {
|
|
388
|
-
var
|
|
389
|
-
if (
|
|
388
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
|
+
if (r && r.isReactWarning)
|
|
390
390
|
return !1;
|
|
391
391
|
}
|
|
392
392
|
return e.key !== void 0;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
395
|
-
if (typeof e.ref == "string" && q.current &&
|
|
394
|
+
function $t(e, r) {
|
|
395
|
+
if (typeof e.ref == "string" && q.current && r && q.current.stateNode !== r) {
|
|
396
396
|
var l = B(q.current.type);
|
|
397
|
-
|
|
397
|
+
Ye[l] || (S('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', B(q.current.type), e.ref), Ye[l] = !0);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function Ft(e, r) {
|
|
401
401
|
{
|
|
402
402
|
var l = function() {
|
|
403
|
-
N || (N = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",
|
|
403
|
+
N || (N = !0, S("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
404
404
|
};
|
|
405
405
|
l.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
406
406
|
get: l,
|
|
@@ -408,10 +408,10 @@ function Wn() {
|
|
|
408
408
|
});
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
function
|
|
411
|
+
function Ht(e, r) {
|
|
412
412
|
{
|
|
413
413
|
var l = function() {
|
|
414
|
-
|
|
414
|
+
lt || (lt = !0, S("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
|
|
415
415
|
};
|
|
416
416
|
l.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
417
417
|
get: l,
|
|
@@ -419,17 +419,17 @@ function Wn() {
|
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
var
|
|
422
|
+
var Bt = function(e, r, l, x, k, D, j) {
|
|
423
423
|
var m = {
|
|
424
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
|
-
$$typeof:
|
|
425
|
+
$$typeof: o,
|
|
426
426
|
// Built-in properties that belong on the element
|
|
427
427
|
type: e,
|
|
428
|
-
key:
|
|
428
|
+
key: r,
|
|
429
429
|
ref: l,
|
|
430
|
-
props:
|
|
430
|
+
props: j,
|
|
431
431
|
// Record the component responsible for creating this element.
|
|
432
|
-
_owner:
|
|
432
|
+
_owner: D
|
|
433
433
|
};
|
|
434
434
|
return m._store = {}, Object.defineProperty(m._store, "validated", {
|
|
435
435
|
configurable: !1,
|
|
@@ -448,41 +448,41 @@ function Wn() {
|
|
|
448
448
|
value: k
|
|
449
449
|
}), Object.freeze && (Object.freeze(m.props), Object.freeze(m)), m;
|
|
450
450
|
};
|
|
451
|
-
function
|
|
451
|
+
function zt(e, r, l, x, k) {
|
|
452
452
|
{
|
|
453
|
-
var
|
|
454
|
-
l !== void 0 && (Q(l), m = "" + l),
|
|
455
|
-
for (
|
|
456
|
-
ue.call(
|
|
453
|
+
var D, j = {}, m = null, W = null;
|
|
454
|
+
l !== void 0 && (Q(l), m = "" + l), Mt(r) && (Q(r.key), m = "" + r.key), Pt(r) && (W = r.ref, $t(r, k));
|
|
455
|
+
for (D in r)
|
|
456
|
+
ue.call(r, D) && !re.hasOwnProperty(D) && (j[D] = r[D]);
|
|
457
457
|
if (e && e.defaultProps) {
|
|
458
458
|
var P = e.defaultProps;
|
|
459
|
-
for (
|
|
460
|
-
|
|
459
|
+
for (D in P)
|
|
460
|
+
j[D] === void 0 && (j[D] = P[D]);
|
|
461
461
|
}
|
|
462
462
|
if (m || W) {
|
|
463
463
|
var M = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
-
m &&
|
|
464
|
+
m && Ft(j, M), W && Ht(j, M);
|
|
465
465
|
}
|
|
466
|
-
return
|
|
466
|
+
return Bt(e, m, W, k, x, q.current, j);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
var
|
|
469
|
+
var Ge = $.ReactCurrentOwner, st = $.ReactDebugCurrentFrame;
|
|
470
470
|
function we(e) {
|
|
471
471
|
if (e) {
|
|
472
|
-
var
|
|
473
|
-
|
|
472
|
+
var r = e._owner, l = Y(e.type, e._source, r ? r.type : null);
|
|
473
|
+
st.setExtraStackFrame(l);
|
|
474
474
|
} else
|
|
475
|
-
|
|
475
|
+
st.setExtraStackFrame(null);
|
|
476
476
|
}
|
|
477
|
-
var
|
|
478
|
-
|
|
479
|
-
function
|
|
480
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
477
|
+
var Ue;
|
|
478
|
+
Ue = !1;
|
|
479
|
+
function Ke(e) {
|
|
480
|
+
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function ct() {
|
|
483
483
|
{
|
|
484
|
-
if (
|
|
485
|
-
var e = B(
|
|
484
|
+
if (Ge.current) {
|
|
485
|
+
var e = B(Ge.current.type);
|
|
486
486
|
if (e)
|
|
487
487
|
return `
|
|
488
488
|
|
|
@@ -491,83 +491,83 @@ Check the render method of \`` + e + "`.";
|
|
|
491
491
|
return "";
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function Wt(e) {
|
|
495
495
|
return "";
|
|
496
496
|
}
|
|
497
|
-
var
|
|
498
|
-
function
|
|
497
|
+
var ut = {};
|
|
498
|
+
function Nt(e) {
|
|
499
499
|
{
|
|
500
|
-
var
|
|
501
|
-
if (!
|
|
500
|
+
var r = ct();
|
|
501
|
+
if (!r) {
|
|
502
502
|
var l = typeof e == "string" ? e : e.displayName || e.name;
|
|
503
|
-
l && (
|
|
503
|
+
l && (r = `
|
|
504
504
|
|
|
505
505
|
Check the top-level render call using <` + l + ">.");
|
|
506
506
|
}
|
|
507
|
-
return
|
|
507
|
+
return r;
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function dt(e, r) {
|
|
511
511
|
{
|
|
512
512
|
if (!e._store || e._store.validated || e.key != null)
|
|
513
513
|
return;
|
|
514
514
|
e._store.validated = !0;
|
|
515
|
-
var l =
|
|
516
|
-
if (
|
|
515
|
+
var l = Nt(r);
|
|
516
|
+
if (ut[l])
|
|
517
517
|
return;
|
|
518
|
-
|
|
518
|
+
ut[l] = !0;
|
|
519
519
|
var x = "";
|
|
520
|
-
e && e._owner && e._owner !==
|
|
520
|
+
e && e._owner && e._owner !== Ge.current && (x = " It was passed a child from " + B(e._owner.type) + "."), we(e), S('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, x), we(null);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function ft(e, r) {
|
|
524
524
|
{
|
|
525
525
|
if (typeof e != "object")
|
|
526
526
|
return;
|
|
527
|
-
if (
|
|
527
|
+
if (_(e))
|
|
528
528
|
for (var l = 0; l < e.length; l++) {
|
|
529
529
|
var x = e[l];
|
|
530
|
-
|
|
530
|
+
Ke(x) && dt(x, r);
|
|
531
531
|
}
|
|
532
|
-
else if (
|
|
532
|
+
else if (Ke(e))
|
|
533
533
|
e._store && (e._store.validated = !0);
|
|
534
534
|
else if (e) {
|
|
535
535
|
var k = b(e);
|
|
536
536
|
if (typeof k == "function" && k !== e.entries)
|
|
537
|
-
for (var
|
|
538
|
-
|
|
537
|
+
for (var D = k.call(e), j; !(j = D.next()).done; )
|
|
538
|
+
Ke(j.value) && dt(j.value, r);
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Vt(e) {
|
|
543
543
|
{
|
|
544
|
-
var
|
|
545
|
-
if (
|
|
544
|
+
var r = e.type;
|
|
545
|
+
if (r == null || typeof r == "string")
|
|
546
546
|
return;
|
|
547
547
|
var l;
|
|
548
|
-
if (typeof
|
|
549
|
-
l =
|
|
550
|
-
else if (typeof
|
|
548
|
+
if (typeof r == "function")
|
|
549
|
+
l = r.propTypes;
|
|
550
|
+
else if (typeof r == "object" && (r.$$typeof === g || // Note: Memo only checks outer props here.
|
|
551
551
|
// Inner props are checked in the reconciler.
|
|
552
|
-
|
|
553
|
-
l =
|
|
552
|
+
r.$$typeof === C))
|
|
553
|
+
l = r.propTypes;
|
|
554
554
|
else
|
|
555
555
|
return;
|
|
556
556
|
if (l) {
|
|
557
|
-
var x = B(
|
|
558
|
-
|
|
559
|
-
} else if (
|
|
560
|
-
|
|
561
|
-
var k = B(
|
|
557
|
+
var x = B(r);
|
|
558
|
+
Fe(l, e.props, "prop", x, e);
|
|
559
|
+
} else if (r.PropTypes !== void 0 && !Ue) {
|
|
560
|
+
Ue = !0;
|
|
561
|
+
var k = B(r);
|
|
562
562
|
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", k || "Unknown");
|
|
563
563
|
}
|
|
564
|
-
typeof
|
|
564
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function Yt(e) {
|
|
568
568
|
{
|
|
569
|
-
for (var
|
|
570
|
-
var x =
|
|
569
|
+
for (var r = Object.keys(e.props), l = 0; l < r.length; l++) {
|
|
570
|
+
var x = r[l];
|
|
571
571
|
if (x !== "children" && x !== "key") {
|
|
572
572
|
we(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", x), we(null);
|
|
573
573
|
break;
|
|
@@ -576,82 +576,82 @@ Check the top-level render call using <` + l + ">.");
|
|
|
576
576
|
e.ref !== null && (we(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), we(null));
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
var
|
|
580
|
-
function
|
|
579
|
+
var pt = {};
|
|
580
|
+
function ht(e, r, l, x, k, D) {
|
|
581
581
|
{
|
|
582
|
-
var
|
|
583
|
-
if (!
|
|
582
|
+
var j = ge(e);
|
|
583
|
+
if (!j) {
|
|
584
584
|
var m = "";
|
|
585
585
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (m += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
586
|
-
var W =
|
|
587
|
-
W ? m += W : m +=
|
|
586
|
+
var W = Wt();
|
|
587
|
+
W ? m += W : m += ct();
|
|
588
588
|
var P;
|
|
589
|
-
e === null ? P = "null" :
|
|
589
|
+
e === null ? P = "null" : _(e) ? P = "array" : e !== void 0 && e.$$typeof === o ? (P = "<" + (B(e.type) || "Unknown") + " />", m = " Did you accidentally export a JSX literal instead of a component?") : P = typeof e, S("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, m);
|
|
590
590
|
}
|
|
591
|
-
var M =
|
|
591
|
+
var M = zt(e, r, l, k, D);
|
|
592
592
|
if (M == null)
|
|
593
593
|
return M;
|
|
594
|
-
if (
|
|
595
|
-
var Z =
|
|
594
|
+
if (j) {
|
|
595
|
+
var Z = r.children;
|
|
596
596
|
if (Z !== void 0)
|
|
597
597
|
if (x)
|
|
598
|
-
if (
|
|
599
|
-
for (var
|
|
600
|
-
|
|
598
|
+
if (_(Z)) {
|
|
599
|
+
for (var ye = 0; ye < Z.length; ye++)
|
|
600
|
+
ft(Z[ye], e);
|
|
601
601
|
Object.freeze && Object.freeze(Z);
|
|
602
602
|
} else
|
|
603
603
|
S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
604
604
|
else
|
|
605
|
-
|
|
605
|
+
ft(Z, e);
|
|
606
606
|
}
|
|
607
|
-
if (ue.call(
|
|
608
|
-
var pe = B(e), V = Object.keys(
|
|
609
|
-
return
|
|
610
|
-
}),
|
|
611
|
-
if (!
|
|
612
|
-
var
|
|
607
|
+
if (ue.call(r, "key")) {
|
|
608
|
+
var pe = B(e), V = Object.keys(r).filter(function(Jt) {
|
|
609
|
+
return Jt !== "key";
|
|
610
|
+
}), Ze = V.length > 0 ? "{key: someKey, " + V.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
611
|
+
if (!pt[pe + Ze]) {
|
|
612
|
+
var Xt = V.length > 0 ? "{" + V.join(": ..., ") + ": ...}" : "{}";
|
|
613
613
|
S(`A props object containing a "key" prop is being spread into JSX:
|
|
614
614
|
let props = %s;
|
|
615
615
|
<%s {...props} />
|
|
616
616
|
React keys must be passed directly to JSX without using spread:
|
|
617
617
|
let props = %s;
|
|
618
|
-
<%s key={someKey} {...props} />`,
|
|
618
|
+
<%s key={someKey} {...props} />`, Ze, pe, Xt, pe), pt[pe + Ze] = !0;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
return e === i ?
|
|
621
|
+
return e === i ? Yt(M) : Vt(M), M;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
return
|
|
624
|
+
function Gt(e, r, l) {
|
|
625
|
+
return ht(e, r, l, !0);
|
|
626
626
|
}
|
|
627
|
-
function
|
|
628
|
-
return
|
|
627
|
+
function Ut(e, r, l) {
|
|
628
|
+
return ht(e, r, l, !1);
|
|
629
629
|
}
|
|
630
|
-
var
|
|
631
|
-
Ie.Fragment = i, Ie.jsx =
|
|
630
|
+
var Kt = Ut, Zt = Gt;
|
|
631
|
+
Ie.Fragment = i, Ie.jsx = Kt, Ie.jsxs = Zt;
|
|
632
632
|
}()), Ie;
|
|
633
633
|
}
|
|
634
|
-
process.env.NODE_ENV === "production" ?
|
|
635
|
-
var t =
|
|
636
|
-
const
|
|
634
|
+
process.env.NODE_ENV === "production" ? tt.exports = zn() : tt.exports = Wn();
|
|
635
|
+
var t = tt.exports;
|
|
636
|
+
const Je = 60, mt = 6, Nn = (n) => {
|
|
637
637
|
const {
|
|
638
|
-
activeStepIndex:
|
|
638
|
+
activeStepIndex: o,
|
|
639
639
|
hideIndicators: s = !1,
|
|
640
640
|
steps: i,
|
|
641
641
|
stepperTheme: c = {
|
|
642
642
|
light: "eggplant.light",
|
|
643
643
|
base: "eggplant.base"
|
|
644
644
|
}
|
|
645
|
-
} = n, { activeStep: u, setActiveStep: f } =
|
|
646
|
-
index:
|
|
645
|
+
} = n, { activeStep: u, setActiveStep: f } = Qt({
|
|
646
|
+
index: o,
|
|
647
647
|
count: i.length
|
|
648
648
|
});
|
|
649
649
|
return ee(() => {
|
|
650
|
-
f(
|
|
651
|
-
}, [
|
|
650
|
+
f(o);
|
|
651
|
+
}, [o, f]), /* @__PURE__ */ t.jsx(
|
|
652
652
|
R,
|
|
653
653
|
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
|
|
654
|
-
|
|
654
|
+
qt,
|
|
655
655
|
{
|
|
656
656
|
role: "progressbar",
|
|
657
657
|
index: u,
|
|
@@ -660,9 +660,9 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
660
660
|
flexWrap: "nowrap",
|
|
661
661
|
children: i.map((d, g) => {
|
|
662
662
|
const p = u === g, h = g === 0, C = g === i.length - 1, E = u > g;
|
|
663
|
-
let v = `${
|
|
664
|
-
const w = `calc(100% - ((${
|
|
665
|
-
return p ? v = w : (h || C) && (v = `${
|
|
663
|
+
let v = `${Je}px`;
|
|
664
|
+
const w = `calc(100% - ((${Je * (i.length - 1)}px) - (${i.length - 1} * ${mt * 2}px)))`;
|
|
665
|
+
return p ? v = w : (h || C) && (v = `${Je - mt}px`), /* @__PURE__ */ t.jsx(
|
|
666
666
|
R,
|
|
667
667
|
{
|
|
668
668
|
width: v,
|
|
@@ -699,19 +699,19 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
699
699
|
);
|
|
700
700
|
}, pr = se.memo(Nn), hr = ({
|
|
701
701
|
children: n,
|
|
702
|
-
...
|
|
702
|
+
...o
|
|
703
703
|
}) => /* @__PURE__ */ t.jsx(
|
|
704
|
-
|
|
705
|
-
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...
|
|
706
|
-
), Ee = (n,
|
|
704
|
+
En,
|
|
705
|
+
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...o, children: n }
|
|
706
|
+
), Ee = (n, o) => {
|
|
707
707
|
const s = (n == null ? void 0 : n.startsWith("http")) || (n == null ? void 0 : n.startsWith("mailto"));
|
|
708
|
-
return
|
|
708
|
+
return o && !s ? {
|
|
709
709
|
to: n
|
|
710
710
|
} : {
|
|
711
711
|
href: n
|
|
712
712
|
};
|
|
713
|
-
},
|
|
714
|
-
(n,
|
|
713
|
+
}, Be = It(
|
|
714
|
+
(n, o) => {
|
|
715
715
|
const {
|
|
716
716
|
label: s,
|
|
717
717
|
additionalContent: i,
|
|
@@ -720,11 +720,11 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
720
720
|
href: f,
|
|
721
721
|
forceMobileStyle: d = !1,
|
|
722
722
|
...g
|
|
723
|
-
} = n, p = u || le, h = Ee(f, !!u), C = d ? c || "xl" : [c || "xl", null, null, "lg"], E = d ? "xl" : ["xl", null, null, "lg"], v = d ? void 0 : [null, null, null, 1], w = d ? void 0 : [null, null, null, "space-between"], O = d ? "3" : [3, null, null, 0], b = d ? "1px" : ["1px", null, null, "unset"], $ = d ? "tints.cream" : ["tints.cream", null, null, "unset"], S = d ? "100%" : ["100%", null, null, "fit-content"],
|
|
723
|
+
} = n, p = u || le, h = Ee(f, !!u), C = d ? c || "xl" : [c || "xl", null, null, "lg"], E = d ? "xl" : ["xl", null, null, "lg"], v = d ? void 0 : [null, null, null, 1], w = d ? void 0 : [null, null, null, "space-between"], O = d ? "3" : [3, null, null, 0], b = d ? "1px" : ["1px", null, null, "unset"], $ = d ? "tints.cream" : ["tints.cream", null, null, "unset"], S = d ? "100%" : ["100%", null, null, "fit-content"], y = d ? "none" : ["none", null, null, "block"], A = d ? "100%" : ["100%", null, null, "auto"], H = d ? "block" : ["block", null, null, "none"];
|
|
724
724
|
return /* @__PURE__ */ t.jsxs(
|
|
725
725
|
R,
|
|
726
726
|
{
|
|
727
|
-
ref:
|
|
727
|
+
ref: o,
|
|
728
728
|
as: p,
|
|
729
729
|
display: "flex",
|
|
730
730
|
alignItems: "center",
|
|
@@ -743,17 +743,16 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
743
743
|
/* @__PURE__ */ t.jsx(
|
|
744
744
|
Ce,
|
|
745
745
|
{
|
|
746
|
-
display:
|
|
747
|
-
as:
|
|
746
|
+
display: y,
|
|
747
|
+
as: xt,
|
|
748
748
|
fontSize: "lg",
|
|
749
749
|
color: "viridian.light",
|
|
750
|
-
|
|
751
|
-
"aria-label": "Caret right icon",
|
|
750
|
+
"aria-hidden": "true",
|
|
752
751
|
weight: "bold"
|
|
753
752
|
}
|
|
754
753
|
),
|
|
755
754
|
/* @__PURE__ */ t.jsxs(
|
|
756
|
-
|
|
755
|
+
T,
|
|
757
756
|
{ alignItems: "center", gap: "1", width: A, children: [
|
|
758
757
|
/* @__PURE__ */ t.jsx(
|
|
759
758
|
z,
|
|
@@ -781,11 +780,10 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
781
780
|
Ce,
|
|
782
781
|
{
|
|
783
782
|
display: H,
|
|
784
|
-
as:
|
|
783
|
+
as: xt,
|
|
785
784
|
fontSize: "2xl",
|
|
786
785
|
color: "tints.uiGrey",
|
|
787
|
-
|
|
788
|
-
"aria-label": "Caret right icon",
|
|
786
|
+
"aria-hidden": "true",
|
|
789
787
|
marginLeft: "auto"
|
|
790
788
|
}
|
|
791
789
|
)
|
|
@@ -795,13 +793,13 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
795
793
|
}
|
|
796
794
|
);
|
|
797
795
|
}
|
|
798
|
-
), Vn =
|
|
799
|
-
(n,
|
|
796
|
+
), Vn = It(
|
|
797
|
+
(n, o) => {
|
|
800
798
|
const { children: s, isSelected: i, ...c } = n, u = n.backgroundColor || (i ? "tints.lightCream" : "transparent");
|
|
801
799
|
return /* @__PURE__ */ t.jsx(
|
|
802
|
-
|
|
800
|
+
St,
|
|
803
801
|
{
|
|
804
|
-
ref:
|
|
802
|
+
ref: o,
|
|
805
803
|
borderRadius: "full",
|
|
806
804
|
backgroundColor: u,
|
|
807
805
|
fontSize: "lg !important",
|
|
@@ -839,7 +837,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
839
837
|
}
|
|
840
838
|
), Yn = ({
|
|
841
839
|
title: n,
|
|
842
|
-
description:
|
|
840
|
+
description: o,
|
|
843
841
|
imageSrc: s,
|
|
844
842
|
imageElement: i,
|
|
845
843
|
button: c,
|
|
@@ -849,14 +847,14 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
849
847
|
linkComponent: g,
|
|
850
848
|
forceMobileStyle: p = !1
|
|
851
849
|
}) => {
|
|
852
|
-
const v = g || le, w = Ee(d, !!g), O =
|
|
850
|
+
const v = g || le, w = Ee(d, !!g), O = je({
|
|
853
851
|
base: !1,
|
|
854
852
|
tablet: !1,
|
|
855
853
|
largeTablet: !1,
|
|
856
854
|
desktop: !0
|
|
857
|
-
});
|
|
855
|
+
}), b = p || !O;
|
|
858
856
|
return /* @__PURE__ */ t.jsxs(
|
|
859
|
-
|
|
857
|
+
T,
|
|
860
858
|
{
|
|
861
859
|
direction: p ? "row" : ["row", null, null, "column"],
|
|
862
860
|
alignItems: "center",
|
|
@@ -878,8 +876,9 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
878
876
|
border: "1px solid",
|
|
879
877
|
borderColor: "tints.white"
|
|
880
878
|
},
|
|
881
|
-
as: p ? v : O ?
|
|
879
|
+
as: p ? v : O ? T : v,
|
|
882
880
|
...p ? w : O ? {} : w,
|
|
881
|
+
"aria-label": b ? n : void 0,
|
|
883
882
|
children: [
|
|
884
883
|
/* @__PURE__ */ t.jsx(
|
|
885
884
|
R,
|
|
@@ -893,7 +892,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
893
892
|
}
|
|
894
893
|
},
|
|
895
894
|
children: s ? /* @__PURE__ */ t.jsx(
|
|
896
|
-
|
|
895
|
+
en,
|
|
897
896
|
{
|
|
898
897
|
src: s,
|
|
899
898
|
objectFit: "cover",
|
|
@@ -913,7 +912,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
913
912
|
}
|
|
914
913
|
),
|
|
915
914
|
/* @__PURE__ */ t.jsxs(
|
|
916
|
-
|
|
915
|
+
T,
|
|
917
916
|
{
|
|
918
917
|
direction: p ? "column" : ["column", null, null, "row"],
|
|
919
918
|
justifyContent: p ? void 0 : [null, null, null, "space-between"],
|
|
@@ -933,7 +932,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
933
932
|
gap: p ? void 0 : [null, null, null, 3],
|
|
934
933
|
children: [
|
|
935
934
|
/* @__PURE__ */ t.jsxs(
|
|
936
|
-
|
|
935
|
+
T,
|
|
937
936
|
{ direction: "column", justifyContent: "center", height: "100%", children: [
|
|
938
937
|
/* @__PURE__ */ t.jsx(
|
|
939
938
|
z,
|
|
@@ -941,7 +940,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
941
940
|
),
|
|
942
941
|
/* @__PURE__ */ t.jsx(
|
|
943
942
|
z,
|
|
944
|
-
{ fontSize: "sm", color: "tints.darkGrey", children:
|
|
943
|
+
{ fontSize: "sm", color: "tints.darkGrey", children: o }
|
|
945
944
|
)
|
|
946
945
|
] }
|
|
947
946
|
),
|
|
@@ -952,8 +951,8 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
952
951
|
]
|
|
953
952
|
}
|
|
954
953
|
);
|
|
955
|
-
},
|
|
956
|
-
|
|
954
|
+
}, nt = (n) => /* @__PURE__ */ t.jsx(
|
|
955
|
+
tn,
|
|
957
956
|
{
|
|
958
957
|
size: "sm",
|
|
959
958
|
width: ["40px", null, null, "46px"],
|
|
@@ -973,14 +972,14 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
973
972
|
},
|
|
974
973
|
...n
|
|
975
974
|
}
|
|
976
|
-
),
|
|
977
|
-
color: n =
|
|
978
|
-
width:
|
|
975
|
+
), At = ({
|
|
976
|
+
color: n = G.colors.viridian.base,
|
|
977
|
+
width: o
|
|
979
978
|
}) => /* @__PURE__ */ t.jsx(
|
|
980
|
-
|
|
979
|
+
Sn,
|
|
981
980
|
{
|
|
982
981
|
as: "svg",
|
|
983
|
-
width:
|
|
982
|
+
width: o,
|
|
984
983
|
height: "auto",
|
|
985
984
|
viewBox: "0 0 116 24",
|
|
986
985
|
fill: "none",
|
|
@@ -1003,13 +1002,13 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1003
1002
|
}
|
|
1004
1003
|
), Gn = ({
|
|
1005
1004
|
desktopTopButtons: n,
|
|
1006
|
-
logoLink:
|
|
1005
|
+
logoLink: o = "https://www.everlywell.com",
|
|
1007
1006
|
setTopOffset: s,
|
|
1008
1007
|
linkComponent: i,
|
|
1009
1008
|
onLogoClick: c,
|
|
1010
1009
|
rightSideButtons: u
|
|
1011
1010
|
}) => {
|
|
1012
|
-
const f =
|
|
1011
|
+
const f = Cn(null), [d] = et(`(max-width: ${G.breakpoints.mediumTablet})`), [g] = et(`(max-width: ${G.breakpoints.mediumDesktop})`), p = Lt(() => {
|
|
1013
1012
|
if (f.current) {
|
|
1014
1013
|
const h = f.current.getBoundingClientRect();
|
|
1015
1014
|
s(h.bottom);
|
|
@@ -1029,10 +1028,10 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1029
1028
|
width: "100%",
|
|
1030
1029
|
onMouseEnter: p,
|
|
1031
1030
|
children: /* @__PURE__ */ t.jsxs(
|
|
1032
|
-
|
|
1031
|
+
T,
|
|
1033
1032
|
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
1034
1033
|
/* @__PURE__ */ t.jsxs(
|
|
1035
|
-
|
|
1034
|
+
T,
|
|
1036
1035
|
{ alignItems: "center", gap: "5", children: [
|
|
1037
1036
|
/* @__PURE__ */ t.jsx(
|
|
1038
1037
|
R,
|
|
@@ -1040,18 +1039,18 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1040
1039
|
"aria-label": "Go to homepage",
|
|
1041
1040
|
onClick: c,
|
|
1042
1041
|
as: i || le,
|
|
1043
|
-
...Ee(
|
|
1044
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1042
|
+
...Ee(o, !!i),
|
|
1043
|
+
children: /* @__PURE__ */ t.jsx(At, { width: "116px" })
|
|
1045
1044
|
}
|
|
1046
1045
|
),
|
|
1047
1046
|
/* @__PURE__ */ t.jsx(
|
|
1048
|
-
|
|
1047
|
+
T,
|
|
1049
1048
|
{ display: ["none", null, "none", "none", "flex", "flex"], children: n }
|
|
1050
1049
|
)
|
|
1051
1050
|
] }
|
|
1052
1051
|
),
|
|
1053
1052
|
/* @__PURE__ */ t.jsx(
|
|
1054
|
-
|
|
1053
|
+
T,
|
|
1055
1054
|
{ alignItems: "center", gap: "2", children: u }
|
|
1056
1055
|
)
|
|
1057
1056
|
] }
|
|
@@ -1060,11 +1059,11 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1060
1059
|
);
|
|
1061
1060
|
}, gr = ({
|
|
1062
1061
|
count: n = 0,
|
|
1063
|
-
...
|
|
1062
|
+
...o
|
|
1064
1063
|
}) => /* @__PURE__ */ t.jsxs(
|
|
1065
1064
|
R,
|
|
1066
1065
|
{ position: "relative", display: "inline-block", children: [
|
|
1067
|
-
/* @__PURE__ */ t.jsx(
|
|
1066
|
+
/* @__PURE__ */ t.jsx(nt, { icon: /* @__PURE__ */ t.jsx(Tn, {}), ...o }),
|
|
1068
1067
|
n > 0 && /* @__PURE__ */ t.jsx(
|
|
1069
1068
|
R,
|
|
1070
1069
|
{
|
|
@@ -1089,9 +1088,9 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1089
1088
|
] }
|
|
1090
1089
|
), xr = ({
|
|
1091
1090
|
numDesktopLinks: n = 5,
|
|
1092
|
-
showPromoButton:
|
|
1091
|
+
showPromoButton: o = !1
|
|
1093
1092
|
}) => /* @__PURE__ */ t.jsx(
|
|
1094
|
-
|
|
1093
|
+
nn,
|
|
1095
1094
|
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
|
|
1096
1095
|
R,
|
|
1097
1096
|
{
|
|
@@ -1100,11 +1099,11 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1100
1099
|
borderBottomWidth: "1px",
|
|
1101
1100
|
borderColor: "tints.lightCream",
|
|
1102
1101
|
children: /* @__PURE__ */ t.jsxs(
|
|
1103
|
-
|
|
1102
|
+
T,
|
|
1104
1103
|
{ justify: "space-between", align: "center", children: [
|
|
1105
|
-
/* @__PURE__ */ t.jsx(
|
|
1104
|
+
/* @__PURE__ */ t.jsx(Xe, { w: "120px", h: "48px" }),
|
|
1106
1105
|
/* @__PURE__ */ t.jsxs(
|
|
1107
|
-
|
|
1106
|
+
gt,
|
|
1108
1107
|
{
|
|
1109
1108
|
spacing: 8,
|
|
1110
1109
|
marginLeft: 12,
|
|
@@ -1112,17 +1111,17 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1112
1111
|
"data-testid": "desktop-nav",
|
|
1113
1112
|
children: [
|
|
1114
1113
|
Array.from({ length: n }).map(
|
|
1115
|
-
(s, i) => /* @__PURE__ */ t.jsx(
|
|
1114
|
+
(s, i) => /* @__PURE__ */ t.jsx(Xe, { width: "90px", height: "48px" }, i)
|
|
1116
1115
|
),
|
|
1117
|
-
|
|
1116
|
+
o && /* @__PURE__ */ t.jsx(Xe, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1118
1117
|
]
|
|
1119
1118
|
}
|
|
1120
1119
|
),
|
|
1121
1120
|
/* @__PURE__ */ t.jsxs(
|
|
1122
|
-
|
|
1121
|
+
gt,
|
|
1123
1122
|
{ spacing: 4, ml: "auto", children: [
|
|
1124
1123
|
/* @__PURE__ */ t.jsx(
|
|
1125
|
-
|
|
1124
|
+
He,
|
|
1126
1125
|
{
|
|
1127
1126
|
width: "120px",
|
|
1128
1127
|
height: "48px",
|
|
@@ -1131,11 +1130,11 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1131
1130
|
}
|
|
1132
1131
|
),
|
|
1133
1132
|
" ",
|
|
1134
|
-
/* @__PURE__ */ t.jsx(
|
|
1133
|
+
/* @__PURE__ */ t.jsx(He, { width: "48px", height: "48px" }),
|
|
1135
1134
|
" ",
|
|
1136
|
-
/* @__PURE__ */ t.jsx(
|
|
1135
|
+
/* @__PURE__ */ t.jsx(He, { width: "48px", height: "48px" }),
|
|
1137
1136
|
" ",
|
|
1138
|
-
/* @__PURE__ */ t.jsx(
|
|
1137
|
+
/* @__PURE__ */ t.jsx(He, { width: "48px", height: "48px" }),
|
|
1139
1138
|
" "
|
|
1140
1139
|
] }
|
|
1141
1140
|
)
|
|
@@ -1143,22 +1142,22 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1143
1142
|
)
|
|
1144
1143
|
}
|
|
1145
1144
|
) }
|
|
1146
|
-
), Un = (n,
|
|
1145
|
+
), Un = (n, o) => {
|
|
1147
1146
|
let s;
|
|
1148
1147
|
return (...i) => {
|
|
1149
1148
|
s && clearTimeout(s), s = setTimeout(() => {
|
|
1150
1149
|
n(...i);
|
|
1151
|
-
},
|
|
1150
|
+
}, o);
|
|
1152
1151
|
};
|
|
1153
|
-
},
|
|
1154
|
-
n.length <
|
|
1155
|
-
let s = Array(
|
|
1156
|
-
for (let c = 0; c <=
|
|
1152
|
+
}, Qe = (n) => n.toLowerCase().replace(/['']/g, "").replace(/[^a-z0-9]/g, ""), Kn = (n, o) => {
|
|
1153
|
+
n.length < o.length && ([n, o] = [o, n]);
|
|
1154
|
+
let s = Array(o.length + 1).fill(0), i = Array(o.length + 1).fill(0);
|
|
1155
|
+
for (let c = 0; c <= o.length; c++)
|
|
1157
1156
|
s[c] = c;
|
|
1158
1157
|
for (let c = 1; c <= n.length; c++) {
|
|
1159
1158
|
i[0] = c;
|
|
1160
|
-
for (let u = 1; u <=
|
|
1161
|
-
const f = n[c - 1] ===
|
|
1159
|
+
for (let u = 1; u <= o.length; u++) {
|
|
1160
|
+
const f = n[c - 1] === o[u - 1] ? 0 : 1;
|
|
1162
1161
|
i[u] = Math.min(
|
|
1163
1162
|
i[u - 1] + 1,
|
|
1164
1163
|
// Insertion
|
|
@@ -1170,43 +1169,43 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1170
1169
|
}
|
|
1171
1170
|
[s, i] = [i, s];
|
|
1172
1171
|
}
|
|
1173
|
-
return s[
|
|
1174
|
-
},
|
|
1175
|
-
if (n.length <= 3 ||
|
|
1176
|
-
return n.includes(
|
|
1177
|
-
const i = Kn(n,
|
|
1172
|
+
return s[o.length];
|
|
1173
|
+
}, ze = (n, o, s = 0.6) => {
|
|
1174
|
+
if (n.length <= 3 || o.length <= 3)
|
|
1175
|
+
return n.includes(o) || o.includes(n);
|
|
1176
|
+
const i = Kn(n, o), c = Math.max(n.length, o.length);
|
|
1178
1177
|
return 1 - i / c >= s;
|
|
1179
|
-
},
|
|
1178
|
+
}, wt = (n, o) => {
|
|
1180
1179
|
const s = n.split(/\s+/);
|
|
1181
|
-
return
|
|
1182
|
-
if (
|
|
1180
|
+
return o.length <= 4 ? s.some((i) => i.includes(o)) : s.some((i) => {
|
|
1181
|
+
if (ze(i, o))
|
|
1183
1182
|
return !0;
|
|
1184
|
-
if (i.length >=
|
|
1185
|
-
for (let c = 0; c <= i.length -
|
|
1186
|
-
const u = i.slice(c, c +
|
|
1187
|
-
if (
|
|
1183
|
+
if (i.length >= o.length)
|
|
1184
|
+
for (let c = 0; c <= i.length - o.length; c++) {
|
|
1185
|
+
const u = i.slice(c, c + o.length + 1);
|
|
1186
|
+
if (ze(o, u))
|
|
1188
1187
|
return !0;
|
|
1189
1188
|
}
|
|
1190
1189
|
return !1;
|
|
1191
1190
|
});
|
|
1192
|
-
},
|
|
1191
|
+
}, rt = "nav-drawer-hover", ot = "nav-drawer-animation-start", at = "nav-drawer-animation-end", yt = (n) => {
|
|
1193
1192
|
window.dispatchEvent(
|
|
1194
|
-
new CustomEvent(
|
|
1193
|
+
new CustomEvent(rt, {
|
|
1195
1194
|
detail: { isHovering: n },
|
|
1196
1195
|
bubbles: !0,
|
|
1197
1196
|
cancelable: !0
|
|
1198
1197
|
})
|
|
1199
1198
|
);
|
|
1200
|
-
},
|
|
1199
|
+
}, jt = (n) => {
|
|
1201
1200
|
window.dispatchEvent(
|
|
1202
1201
|
new CustomEvent(n, {
|
|
1203
1202
|
bubbles: !0,
|
|
1204
1203
|
cancelable: !0
|
|
1205
1204
|
})
|
|
1206
1205
|
);
|
|
1207
|
-
}, Zn = (n = !1,
|
|
1206
|
+
}, Zn = (n = !1, o = !1, s = !1) => n || !o ? "column" : "row", Xn = it(kt), Jn = it(Rt), qe = ({
|
|
1208
1207
|
isOpen: n = !1,
|
|
1209
|
-
onClose:
|
|
1208
|
+
onClose: o,
|
|
1210
1209
|
title: s,
|
|
1211
1210
|
navDrawerLinks: i,
|
|
1212
1211
|
bottomNavButtons: c,
|
|
@@ -1221,34 +1220,34 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1221
1220
|
forceMobilePlacement: v = !1
|
|
1222
1221
|
}) => {
|
|
1223
1222
|
var he, ne, ge, xe, oe, B;
|
|
1224
|
-
const w =
|
|
1223
|
+
const w = je({
|
|
1225
1224
|
base: !1,
|
|
1226
1225
|
tablet: !1,
|
|
1227
1226
|
largeTablet: !1,
|
|
1228
1227
|
mediumDesktop: !0,
|
|
1229
1228
|
desktop: !0,
|
|
1230
1229
|
fullDesktop: !0
|
|
1231
|
-
}) ?? !1, O = v ? "right" : w ? "top" : "right", b = O === "right", [$, S] = X(0), [
|
|
1232
|
-
S((
|
|
1233
|
-
},
|
|
1234
|
-
Un((
|
|
1235
|
-
C(
|
|
1230
|
+
}) ?? !1, O = v ? "right" : w ? "top" : "right", b = O === "right", [$, S] = X(0), [y, A] = X(!1), H = () => {
|
|
1231
|
+
S((I) => I + 1);
|
|
1232
|
+
}, U = Lt(
|
|
1233
|
+
Un((I) => {
|
|
1234
|
+
C(I), H();
|
|
1236
1235
|
}, 100),
|
|
1237
1236
|
[]
|
|
1238
1237
|
);
|
|
1239
1238
|
ee(() => {
|
|
1240
|
-
n && (A(!0),
|
|
1239
|
+
n && (A(!0), jt(ot));
|
|
1241
1240
|
}, [n]);
|
|
1242
1241
|
const te = () => {
|
|
1243
|
-
n || (A(!1),
|
|
1242
|
+
n || (A(!1), o()), jt(at);
|
|
1244
1243
|
};
|
|
1245
1244
|
return /* @__PURE__ */ t.jsx(
|
|
1246
|
-
|
|
1245
|
+
_t,
|
|
1247
1246
|
{
|
|
1248
|
-
isOpen:
|
|
1247
|
+
isOpen: y || n,
|
|
1249
1248
|
closeOnOverlayClick: !0,
|
|
1250
1249
|
onClose: () => {
|
|
1251
|
-
|
|
1250
|
+
y && !b || o();
|
|
1252
1251
|
},
|
|
1253
1252
|
placement: O,
|
|
1254
1253
|
blockScrollOnMount: !1,
|
|
@@ -1256,14 +1255,14 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1256
1255
|
...b ? {
|
|
1257
1256
|
styleConfig: {
|
|
1258
1257
|
baseStyle: {
|
|
1259
|
-
...
|
|
1258
|
+
...G.components.Drawer.baseStyle,
|
|
1260
1259
|
dialogContainer: {
|
|
1261
|
-
...(ne = (he =
|
|
1260
|
+
...(ne = (he = G.components.Drawer) == null ? void 0 : he.baseStyle) == null ? void 0 : ne.dialogContainer,
|
|
1262
1261
|
// Higher z-index for drawer content to be above overlay and navigation
|
|
1263
1262
|
zIndex: "popover"
|
|
1264
1263
|
},
|
|
1265
1264
|
dialog: {
|
|
1266
|
-
...(xe = (ge =
|
|
1265
|
+
...(xe = (ge = G.components.Drawer) == null ? void 0 : ge.baseStyle) == null ? void 0 : xe.dialog,
|
|
1267
1266
|
// Ensure mobile drawer doesn't expand to full width
|
|
1268
1267
|
maxW: "560px",
|
|
1269
1268
|
width: "auto"
|
|
@@ -1273,9 +1272,9 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1273
1272
|
} : {
|
|
1274
1273
|
styleConfig: {
|
|
1275
1274
|
baseStyle: {
|
|
1276
|
-
...
|
|
1275
|
+
...G.components.Drawer.baseStyle,
|
|
1277
1276
|
dialogContainer: {
|
|
1278
|
-
...(B = (oe =
|
|
1277
|
+
...(B = (oe = G.components.Drawer) == null ? void 0 : oe.baseStyle) == null ? void 0 : B.dialogContainer,
|
|
1279
1278
|
// Push the drawer down by the top offset on desktop to not cover the top navigation
|
|
1280
1279
|
top: `${E}px`,
|
|
1281
1280
|
// Lower index on desktop to make sure the drawer is below the top navigation
|
|
@@ -1311,15 +1310,15 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1311
1310
|
/* @__PURE__ */ t.jsxs(
|
|
1312
1311
|
Xn,
|
|
1313
1312
|
{
|
|
1314
|
-
onClick: (
|
|
1315
|
-
const ae =
|
|
1316
|
-
ae && ae.href === window.location.href &&
|
|
1313
|
+
onClick: (I) => {
|
|
1314
|
+
const ae = I.target.closest("a");
|
|
1315
|
+
ae && ae.href === window.location.href && o();
|
|
1317
1316
|
},
|
|
1318
1317
|
onMouseEnter: () => {
|
|
1319
|
-
b ||
|
|
1318
|
+
b || yt(!0);
|
|
1320
1319
|
},
|
|
1321
|
-
onMouseLeave: (
|
|
1322
|
-
b || (!h || h && (
|
|
1320
|
+
onMouseLeave: (I) => {
|
|
1321
|
+
b || (!h || h && (I.target === I.currentTarget || !I.currentTarget.contains(I.target) && !y)) && yt(!1);
|
|
1323
1322
|
},
|
|
1324
1323
|
paddingTop: "4",
|
|
1325
1324
|
paddingX: b ? "4" : "12",
|
|
@@ -1342,137 +1341,82 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1342
1341
|
transition: { duration: 0.3 }
|
|
1343
1342
|
},
|
|
1344
1343
|
children: [
|
|
1345
|
-
/* @__PURE__ */ t.
|
|
1346
|
-
|
|
1347
|
-
{
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
alignItems: "center",
|
|
1362
|
-
children: [
|
|
1363
|
-
d ? /* @__PURE__ */ t.jsx(
|
|
1364
|
-
Le,
|
|
1365
|
-
{
|
|
1366
|
-
icon: /* @__PURE__ */ t.jsx(Ln, {}),
|
|
1367
|
-
onClick: () => {
|
|
1368
|
-
g && g();
|
|
1369
|
-
},
|
|
1370
|
-
"aria-label": "Back"
|
|
1371
|
-
}
|
|
1372
|
-
) : null,
|
|
1373
|
-
/* @__PURE__ */ t.jsx(
|
|
1374
|
-
z,
|
|
1375
|
-
{
|
|
1376
|
-
as: "h2",
|
|
1377
|
-
color: "tints.uiGrey",
|
|
1378
|
-
fontSize: "xl",
|
|
1379
|
-
children: s
|
|
1380
|
-
}
|
|
1381
|
-
),
|
|
1382
|
-
/* @__PURE__ */ t.jsx(
|
|
1383
|
-
Le,
|
|
1384
|
-
{
|
|
1385
|
-
icon: /* @__PURE__ */ t.jsx(We, {}),
|
|
1386
|
-
onClick: r,
|
|
1387
|
-
"aria-label": "Close"
|
|
1388
|
-
}
|
|
1389
|
-
)
|
|
1390
|
-
]
|
|
1391
|
-
}
|
|
1392
|
-
),
|
|
1393
|
-
h && /* @__PURE__ */ t.jsxs(
|
|
1394
|
-
vt,
|
|
1395
|
-
{ width: "100%", children: [
|
|
1396
|
-
/* @__PURE__ */ t.jsx(
|
|
1397
|
-
bt,
|
|
1398
|
-
{
|
|
1399
|
-
onChange: (T) => {
|
|
1400
|
-
Y(T.target.value);
|
|
1401
|
-
},
|
|
1402
|
-
placeholder: "Search",
|
|
1403
|
-
autoFocus: !0,
|
|
1404
|
-
width: "full",
|
|
1405
|
-
type: "search"
|
|
1406
|
-
}
|
|
1407
|
-
),
|
|
1408
|
-
/* @__PURE__ */ t.jsx(
|
|
1409
|
-
mt,
|
|
1410
|
-
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(wt, { as: yt, color: "gray.500" }) }
|
|
1411
|
-
)
|
|
1412
|
-
] }
|
|
1413
|
-
)
|
|
1414
|
-
]
|
|
1415
|
-
}
|
|
1416
|
-
)
|
|
1417
|
-
) : h ? (
|
|
1418
|
-
/* Desktop + search: search input and close button in one row */
|
|
1419
|
-
/* @__PURE__ */ t.jsxs(
|
|
1420
|
-
_,
|
|
1421
|
-
{ width: "100%", alignItems: "center", gap: "2", children: [
|
|
1422
|
-
/* @__PURE__ */ t.jsxs(
|
|
1423
|
-
vt,
|
|
1424
|
-
{ flex: "1", children: [
|
|
1425
|
-
/* @__PURE__ */ t.jsx(
|
|
1426
|
-
bt,
|
|
1344
|
+
!h && !b ? null : /* @__PURE__ */ t.jsxs(
|
|
1345
|
+
Dt,
|
|
1346
|
+
{
|
|
1347
|
+
padding: "0",
|
|
1348
|
+
flexDirection: h ? "column" : "row",
|
|
1349
|
+
gap: h ? "4" : "0",
|
|
1350
|
+
children: [
|
|
1351
|
+
b ? /* @__PURE__ */ t.jsxs(
|
|
1352
|
+
T,
|
|
1353
|
+
{
|
|
1354
|
+
width: "100%",
|
|
1355
|
+
justifyContent: "space-between",
|
|
1356
|
+
alignItems: "center",
|
|
1357
|
+
children: [
|
|
1358
|
+
d ? /* @__PURE__ */ t.jsx(
|
|
1359
|
+
nt,
|
|
1427
1360
|
{
|
|
1428
|
-
|
|
1429
|
-
|
|
1361
|
+
icon: /* @__PURE__ */ t.jsx(In, {}),
|
|
1362
|
+
onClick: () => {
|
|
1363
|
+
g && g();
|
|
1430
1364
|
},
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1365
|
+
"aria-label": "Back"
|
|
1366
|
+
}
|
|
1367
|
+
) : null,
|
|
1368
|
+
/* @__PURE__ */ t.jsx(
|
|
1369
|
+
z,
|
|
1370
|
+
{
|
|
1371
|
+
as: "h2",
|
|
1372
|
+
color: "tints.uiGrey",
|
|
1373
|
+
fontSize: "xl",
|
|
1374
|
+
children: s
|
|
1435
1375
|
}
|
|
1436
1376
|
),
|
|
1437
1377
|
/* @__PURE__ */ t.jsx(
|
|
1438
|
-
|
|
1439
|
-
{
|
|
1378
|
+
nt,
|
|
1379
|
+
{
|
|
1380
|
+
icon: /* @__PURE__ */ t.jsx(Ot, {}),
|
|
1381
|
+
onClick: o,
|
|
1382
|
+
"aria-label": "Close"
|
|
1383
|
+
}
|
|
1440
1384
|
)
|
|
1441
|
-
]
|
|
1442
|
-
),
|
|
1443
|
-
/* @__PURE__ */ t.jsx(
|
|
1444
|
-
Le,
|
|
1445
|
-
{
|
|
1446
|
-
icon: /* @__PURE__ */ t.jsx(We, {}),
|
|
1447
|
-
onClick: r,
|
|
1448
|
-
"aria-label": "Close"
|
|
1449
|
-
}
|
|
1450
|
-
)
|
|
1451
|
-
] }
|
|
1452
|
-
)
|
|
1453
|
-
) : (
|
|
1454
|
-
/* Desktop + no search (category/menu drawer): close button at right */
|
|
1455
|
-
/* @__PURE__ */ t.jsx(
|
|
1456
|
-
_,
|
|
1457
|
-
{ justifyContent: "flex-end", width: "100%", children: /* @__PURE__ */ t.jsx(
|
|
1458
|
-
Le,
|
|
1459
|
-
{
|
|
1460
|
-
icon: /* @__PURE__ */ t.jsx(We, {}),
|
|
1461
|
-
onClick: r,
|
|
1462
|
-
"aria-label": "Close"
|
|
1385
|
+
]
|
|
1463
1386
|
}
|
|
1464
|
-
)
|
|
1465
|
-
|
|
1466
|
-
|
|
1387
|
+
) : null,
|
|
1388
|
+
h && /* @__PURE__ */ t.jsxs(
|
|
1389
|
+
kn,
|
|
1390
|
+
{ width: "100%", children: [
|
|
1391
|
+
/* @__PURE__ */ t.jsx(
|
|
1392
|
+
Rn,
|
|
1393
|
+
{
|
|
1394
|
+
onChange: (I) => {
|
|
1395
|
+
U(I.target.value);
|
|
1396
|
+
},
|
|
1397
|
+
placeholder: "Search",
|
|
1398
|
+
autoFocus: !0,
|
|
1399
|
+
width: "full",
|
|
1400
|
+
type: "search"
|
|
1401
|
+
}
|
|
1402
|
+
),
|
|
1403
|
+
/* @__PURE__ */ t.jsx(
|
|
1404
|
+
_n,
|
|
1405
|
+
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(Dn, { as: Ln, color: "gray.500" }) }
|
|
1406
|
+
)
|
|
1407
|
+
] }
|
|
1408
|
+
)
|
|
1409
|
+
]
|
|
1410
|
+
}
|
|
1467
1411
|
),
|
|
1468
1412
|
/* @__PURE__ */ t.jsx(
|
|
1469
|
-
|
|
1413
|
+
Tt,
|
|
1470
1414
|
{
|
|
1471
1415
|
paddingX: "0",
|
|
1472
1416
|
paddingBottom: b ? "6" : "4",
|
|
1473
1417
|
"data-testid": `navbar-drawer-body-${s.toLowerCase()}`,
|
|
1474
1418
|
children: /* @__PURE__ */ t.jsxs(
|
|
1475
|
-
|
|
1419
|
+
it.div,
|
|
1476
1420
|
{
|
|
1477
1421
|
...b ? {} : {
|
|
1478
1422
|
initial: { opacity: 0, y: -5 },
|
|
@@ -1501,7 +1445,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1501
1445
|
},
|
|
1502
1446
|
children: [
|
|
1503
1447
|
/* @__PURE__ */ t.jsxs(
|
|
1504
|
-
|
|
1448
|
+
T,
|
|
1505
1449
|
{
|
|
1506
1450
|
position: b ? void 0 : "relative",
|
|
1507
1451
|
flexDirection: "column",
|
|
@@ -1552,20 +1496,20 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1552
1496
|
);
|
|
1553
1497
|
}, Qn = ({
|
|
1554
1498
|
source: n,
|
|
1555
|
-
onSearchCallback:
|
|
1499
|
+
onSearchCallback: o,
|
|
1556
1500
|
isActive: s
|
|
1557
1501
|
}) => {
|
|
1558
1502
|
const [i, c] = X(""), [u, f] = X([]), d = (h, C) => {
|
|
1559
1503
|
if (!h) return [];
|
|
1560
|
-
const v =
|
|
1504
|
+
const v = Qe(h).split(/\s+/);
|
|
1561
1505
|
return C.filter((w) => {
|
|
1562
|
-
const O =
|
|
1563
|
-
if (v.some((A) =>
|
|
1564
|
-
const $ = O.split(/\s+/), S = v.some((A) => $.some((H) => H.includes(A) ||
|
|
1565
|
-
const H =
|
|
1566
|
-
return
|
|
1506
|
+
const O = Qe(w.label);
|
|
1507
|
+
if (v.some((A) => wt(O, A))) return !0;
|
|
1508
|
+
const $ = O.split(/\s+/), S = v.some((A) => $.some((H) => H.includes(A) || ze(A, H))), y = typeof w.additionalContent == "string" && v.some((A) => {
|
|
1509
|
+
const H = Qe(w.additionalContent);
|
|
1510
|
+
return wt(H, A) || H.split(/\s+/).some((U) => U.includes(A) || ze(A, U));
|
|
1567
1511
|
});
|
|
1568
|
-
return S ||
|
|
1512
|
+
return S || y;
|
|
1569
1513
|
}).sort((w, O) => w.label.localeCompare(O.label));
|
|
1570
1514
|
}, g = (h) => {
|
|
1571
1515
|
if (c(h), !h) {
|
|
@@ -1573,7 +1517,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1573
1517
|
return;
|
|
1574
1518
|
}
|
|
1575
1519
|
const C = d(h, n);
|
|
1576
|
-
f(C),
|
|
1520
|
+
f(C), o && o(h, C);
|
|
1577
1521
|
}, p = () => {
|
|
1578
1522
|
c(""), f([]);
|
|
1579
1523
|
};
|
|
@@ -1586,17 +1530,17 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1586
1530
|
handleSearch: g
|
|
1587
1531
|
};
|
|
1588
1532
|
}, qn = (n) => {
|
|
1589
|
-
const
|
|
1533
|
+
const o = /* @__PURE__ */ new Set();
|
|
1590
1534
|
return n.reduce((s, i) => {
|
|
1591
1535
|
var u;
|
|
1592
1536
|
const c = ((u = i.sections) == null ? void 0 : u.reduce((f, d) => {
|
|
1593
|
-
const g = d.links.filter((p) =>
|
|
1537
|
+
const g = d.links.filter((p) => o.has(p.label) || p.isSearchable !== !0 ? !1 : (o.add(p.label), !0));
|
|
1594
1538
|
return [...f, ...g];
|
|
1595
1539
|
}, [])) ?? [];
|
|
1596
1540
|
return [...s, ...c];
|
|
1597
1541
|
}, []);
|
|
1598
1542
|
}, er = () => {
|
|
1599
|
-
const [n,
|
|
1543
|
+
const [n, o] = X(!1), [s, i] = X(!1), [c, u] = X(null);
|
|
1600
1544
|
return {
|
|
1601
1545
|
isMainMenuOpen: n,
|
|
1602
1546
|
isSearchOpen: s,
|
|
@@ -1604,16 +1548,16 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1604
1548
|
clearSelectedCategory: () => u(null),
|
|
1605
1549
|
handleSelectCategory: (v) => u(v),
|
|
1606
1550
|
closeMainMenu: () => {
|
|
1607
|
-
|
|
1551
|
+
o(!1), u(null);
|
|
1608
1552
|
},
|
|
1609
1553
|
closeSearch: () => i(!1),
|
|
1610
1554
|
toggleSearch: () => i((v) => !v),
|
|
1611
|
-
openMainMenu: () =>
|
|
1555
|
+
openMainMenu: () => o(!0),
|
|
1612
1556
|
openSearch: () => i(!0)
|
|
1613
1557
|
};
|
|
1614
1558
|
}, tr = "#28724F", vr = ({
|
|
1615
1559
|
categories: n = [],
|
|
1616
|
-
mainCategoryLabel:
|
|
1560
|
+
mainCategoryLabel: o = "Menu",
|
|
1617
1561
|
logoLink: s = "https://www.everlywell.com",
|
|
1618
1562
|
mobileBottomButtons: i = [],
|
|
1619
1563
|
linkComponent: c,
|
|
@@ -1626,49 +1570,49 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1626
1570
|
hideableButtons: C,
|
|
1627
1571
|
children: E
|
|
1628
1572
|
}) => {
|
|
1629
|
-
var De, de,
|
|
1573
|
+
var De, de, Fe;
|
|
1630
1574
|
const v = er(), {
|
|
1631
1575
|
isMainMenuOpen: w,
|
|
1632
1576
|
isSearchOpen: O,
|
|
1633
1577
|
closeMainMenu: b,
|
|
1634
1578
|
closeSearch: $,
|
|
1635
1579
|
clearSelectedCategory: S,
|
|
1636
|
-
selectedCategory:
|
|
1580
|
+
selectedCategory: y,
|
|
1637
1581
|
handleSelectCategory: A
|
|
1638
|
-
} = v, [H,
|
|
1582
|
+
} = v, [H, U] = X(!1), [te, he] = X(!1), [ne, ge] = X(0), [xe, oe] = X(!1), [B, I] = X(!1), J = se.useRef(!1);
|
|
1639
1583
|
ee(() => {
|
|
1640
1584
|
const a = () => {
|
|
1641
1585
|
J.current = !0;
|
|
1642
|
-
},
|
|
1586
|
+
}, _ = () => {
|
|
1643
1587
|
J.current = !1;
|
|
1644
1588
|
};
|
|
1645
|
-
return document.addEventListener("keydown", a, !0), document.addEventListener("mousedown",
|
|
1646
|
-
document.removeEventListener("keydown", a, !0), document.removeEventListener("mousedown",
|
|
1589
|
+
return document.addEventListener("keydown", a, !0), document.addEventListener("mousedown", _, !0), () => {
|
|
1590
|
+
document.removeEventListener("keydown", a, !0), document.removeEventListener("mousedown", _, !0);
|
|
1647
1591
|
};
|
|
1648
1592
|
}, []), ee(() => {
|
|
1649
|
-
const a = () => oe(!0),
|
|
1650
|
-
return window.addEventListener(
|
|
1593
|
+
const a = () => oe(!0), _ = () => oe(!1);
|
|
1594
|
+
return window.addEventListener(ot, a), window.addEventListener(at, _), () => {
|
|
1651
1595
|
window.removeEventListener(
|
|
1652
|
-
|
|
1596
|
+
ot,
|
|
1653
1597
|
a
|
|
1654
|
-
), window.removeEventListener(
|
|
1598
|
+
), window.removeEventListener(at, _);
|
|
1655
1599
|
};
|
|
1656
1600
|
}, []);
|
|
1657
|
-
const ae =
|
|
1601
|
+
const ae = je({
|
|
1658
1602
|
base: !1,
|
|
1659
1603
|
tablet: !1,
|
|
1660
1604
|
largeTablet: !1,
|
|
1661
1605
|
mediumDesktop: !0,
|
|
1662
1606
|
desktop: !0,
|
|
1663
1607
|
fullDesktop: !0
|
|
1664
|
-
}) ?? !1, ie =
|
|
1608
|
+
}) ?? !1, ie = je({
|
|
1665
1609
|
base: !1,
|
|
1666
1610
|
tablet: !1,
|
|
1667
1611
|
largeTablet: !1,
|
|
1668
1612
|
mediumDesktop: !1,
|
|
1669
1613
|
desktop: !1,
|
|
1670
1614
|
fullDesktop: !0
|
|
1671
|
-
}) ?? !1,
|
|
1615
|
+
}) ?? !1, Le = !ie, Oe = je({
|
|
1672
1616
|
base: !0,
|
|
1673
1617
|
tablet: !0,
|
|
1674
1618
|
largeTablet: !0,
|
|
@@ -1680,43 +1624,43 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1680
1624
|
b(), S();
|
|
1681
1625
|
}, [ae]);
|
|
1682
1626
|
const {
|
|
1683
|
-
query:
|
|
1627
|
+
query: Ae,
|
|
1684
1628
|
results: ve,
|
|
1685
|
-
handleSearch:
|
|
1629
|
+
handleSearch: Pe
|
|
1686
1630
|
} = Qn({
|
|
1687
1631
|
source: qn(n),
|
|
1688
1632
|
onSearchCallback: u,
|
|
1689
1633
|
isActive: O
|
|
1690
|
-
}), Se = ve.length > 0, ke = c || le,
|
|
1691
|
-
|
|
1634
|
+
}), Se = ve.length > 0, ke = c || le, We = Ee(p, !!c), Re = Ae && /* @__PURE__ */ t.jsxs(
|
|
1635
|
+
T,
|
|
1692
1636
|
{ gap: Se ? "6" : 0, direction: "column", children: [
|
|
1693
1637
|
Se ? /* @__PURE__ */ t.jsx(z, { color: "tints.uiGrey", children: `${ve.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
1694
|
-
|
|
1638
|
+
T,
|
|
1695
1639
|
{ direction: "column", gap: "6", alignItems: "flex-start", children: [
|
|
1696
1640
|
/* @__PURE__ */ t.jsx(
|
|
1697
1641
|
z,
|
|
1698
1642
|
{ color: "tints.uiGrey", children: "We didn't find what you were looking for." }
|
|
1699
1643
|
),
|
|
1700
1644
|
/* @__PURE__ */ t.jsx(
|
|
1701
|
-
|
|
1645
|
+
St,
|
|
1702
1646
|
{
|
|
1703
1647
|
as: ke,
|
|
1704
1648
|
onClick: h,
|
|
1705
1649
|
_hover: { textDecoration: "none" },
|
|
1706
1650
|
width: ["100%", null, null, "auto"],
|
|
1707
|
-
...
|
|
1651
|
+
...We,
|
|
1708
1652
|
children: "Shop all products"
|
|
1709
1653
|
}
|
|
1710
1654
|
)
|
|
1711
1655
|
] }
|
|
1712
1656
|
),
|
|
1713
1657
|
/* @__PURE__ */ t.jsx(
|
|
1714
|
-
|
|
1658
|
+
rn,
|
|
1715
1659
|
{ columns: [1, 1, 1, 4], children: ve.map(
|
|
1716
|
-
(a,
|
|
1717
|
-
|
|
1660
|
+
(a, _) => /* @__PURE__ */ t.jsx(
|
|
1661
|
+
on,
|
|
1718
1662
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1719
|
-
|
|
1663
|
+
Be,
|
|
1720
1664
|
{
|
|
1721
1665
|
href: a.href,
|
|
1722
1666
|
label: a.label,
|
|
@@ -1725,46 +1669,46 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1725
1669
|
forceMobileStyle: !ae
|
|
1726
1670
|
}
|
|
1727
1671
|
) },
|
|
1728
|
-
`${a.label}-${
|
|
1672
|
+
`${a.label}-${_}`
|
|
1729
1673
|
)
|
|
1730
1674
|
) }
|
|
1731
1675
|
)
|
|
1732
1676
|
] }
|
|
1733
1677
|
), K = (a) => "href" in a, be = (a) => {
|
|
1734
|
-
K(a) ? f == null || f(a.label) : (
|
|
1678
|
+
K(a) ? f == null || f(a.label) : (I(w || !ie), A(a));
|
|
1735
1679
|
}, ce = (a) => {
|
|
1736
|
-
|
|
1680
|
+
U(!0), $(), S(), !K(a) && (a.sections || a.spotlightCards) && (I(!1), A(a));
|
|
1737
1681
|
}, me = () => {
|
|
1738
|
-
|
|
1682
|
+
U(!1);
|
|
1739
1683
|
};
|
|
1740
1684
|
ee(() => {
|
|
1741
|
-
const a = (
|
|
1742
|
-
he(
|
|
1685
|
+
const a = (_) => {
|
|
1686
|
+
he(_.detail.isHovering);
|
|
1743
1687
|
};
|
|
1744
1688
|
return window.addEventListener(
|
|
1745
|
-
|
|
1689
|
+
rt,
|
|
1746
1690
|
a
|
|
1747
1691
|
), () => {
|
|
1748
1692
|
window.removeEventListener(
|
|
1749
|
-
|
|
1693
|
+
rt,
|
|
1750
1694
|
a
|
|
1751
1695
|
);
|
|
1752
1696
|
};
|
|
1753
1697
|
}, []), ee(() => {
|
|
1754
|
-
!H && !te && (S(), $(), !w && ie &&
|
|
1698
|
+
!H && !te && (S(), $(), !w && ie && I(!1));
|
|
1755
1699
|
}, [H, te, w, ie]), ee(() => {
|
|
1756
1700
|
let a = window.location.href;
|
|
1757
|
-
const
|
|
1701
|
+
const _ = () => {
|
|
1758
1702
|
const F = window.location.href;
|
|
1759
1703
|
F !== a && (a = F, b(), S());
|
|
1760
|
-
}, L = setInterval(
|
|
1761
|
-
return window.addEventListener("popstate",
|
|
1762
|
-
window.removeEventListener("popstate",
|
|
1704
|
+
}, L = setInterval(_, 100);
|
|
1705
|
+
return window.addEventListener("popstate", _), () => {
|
|
1706
|
+
window.removeEventListener("popstate", _), clearInterval(L);
|
|
1763
1707
|
};
|
|
1764
1708
|
}, []);
|
|
1765
|
-
const _e = (a) => K(a) && (!a.buttonProps || Object.keys(a.buttonProps).length === 0 || a.buttonProps === void 0),
|
|
1709
|
+
const _e = (a) => K(a) && (!a.buttonProps || Object.keys(a.buttonProps).length === 0 || a.buttonProps === void 0), Me = n == null ? void 0 : n.map((a, _) => {
|
|
1766
1710
|
var Q, q;
|
|
1767
|
-
const L = C.includes(a.label), F = !K(a), fe = (
|
|
1711
|
+
const L = C.includes(a.label), F = !K(a), fe = (y == null ? void 0 : y.label) === a.label;
|
|
1768
1712
|
return /* @__PURE__ */ t.jsx(
|
|
1769
1713
|
Vn,
|
|
1770
1714
|
{
|
|
@@ -1812,20 +1756,20 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1812
1756
|
...((q = a == null ? void 0 : a.context) == null ? void 0 : q.desktop) !== "link" && a.buttonProps,
|
|
1813
1757
|
children: a.label
|
|
1814
1758
|
},
|
|
1815
|
-
`${a.label}-${
|
|
1759
|
+
`${a.label}-${_}`
|
|
1816
1760
|
);
|
|
1817
|
-
}),
|
|
1761
|
+
}), Ne = (De = n.filter(
|
|
1818
1762
|
(a) => {
|
|
1819
|
-
var
|
|
1820
|
-
return ((
|
|
1763
|
+
var _;
|
|
1764
|
+
return ((_ = a == null ? void 0 : a.context) == null ? void 0 : _.mobile) === "link" || (!K(a) && a.isMobileTopLink !== !1 || _e(a)) && (Le && C.includes(a.label) || Oe);
|
|
1821
1765
|
}
|
|
1822
|
-
)) == null ? void 0 : De.map((a,
|
|
1766
|
+
)) == null ? void 0 : De.map((a, _) => {
|
|
1823
1767
|
var F;
|
|
1824
1768
|
const L = a;
|
|
1825
1769
|
return _e(L) || ((F = L == null ? void 0 : L.context) == null ? void 0 : F.mobile) === "link" ? /* @__PURE__ */ t.jsx(
|
|
1826
1770
|
R,
|
|
1827
1771
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1828
|
-
|
|
1772
|
+
Be,
|
|
1829
1773
|
{
|
|
1830
1774
|
label: L.label,
|
|
1831
1775
|
role: "link",
|
|
@@ -1835,7 +1779,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1835
1779
|
forceMobileStyle: !0
|
|
1836
1780
|
}
|
|
1837
1781
|
) },
|
|
1838
|
-
`${L.label}-${
|
|
1782
|
+
`${L.label}-${_}`
|
|
1839
1783
|
) : /* @__PURE__ */ t.jsx(
|
|
1840
1784
|
R,
|
|
1841
1785
|
{
|
|
@@ -1843,7 +1787,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1843
1787
|
be(L), d == null || d(L.label);
|
|
1844
1788
|
},
|
|
1845
1789
|
children: /* @__PURE__ */ t.jsx(
|
|
1846
|
-
|
|
1790
|
+
Be,
|
|
1847
1791
|
{
|
|
1848
1792
|
label: L.label,
|
|
1849
1793
|
role: "link",
|
|
@@ -1854,14 +1798,14 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1854
1798
|
}
|
|
1855
1799
|
)
|
|
1856
1800
|
},
|
|
1857
|
-
`${L.label}-${
|
|
1801
|
+
`${L.label}-${_}`
|
|
1858
1802
|
);
|
|
1859
|
-
}),
|
|
1860
|
-
|
|
1803
|
+
}), Ve = /* @__PURE__ */ t.jsx(
|
|
1804
|
+
T,
|
|
1861
1805
|
{ gap: "2", flexDirection: "column", children: i }
|
|
1862
|
-
),
|
|
1863
|
-
|
|
1864
|
-
{ direction:
|
|
1806
|
+
), Y = B || w, ue = y ? /* @__PURE__ */ t.jsx(
|
|
1807
|
+
T,
|
|
1808
|
+
{ direction: Y ? "column" : ["column", null, null, "row"], gap: "8", children: (de = y == null ? void 0 : y.sections) == null ? void 0 : de.map((a, _) => {
|
|
1865
1809
|
const L = [];
|
|
1866
1810
|
for (let F = 0; F < a.links.length; F += 3)
|
|
1867
1811
|
L.push(a.links.slice(F, F + 3));
|
|
@@ -1874,31 +1818,31 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1874
1818
|
as: "h2",
|
|
1875
1819
|
fontSize: "md",
|
|
1876
1820
|
color: "tints.uiGrey",
|
|
1877
|
-
marginBottom:
|
|
1821
|
+
marginBottom: Y ? 0 : [0, null, null, 6],
|
|
1878
1822
|
children: a.title
|
|
1879
1823
|
}
|
|
1880
1824
|
),
|
|
1881
1825
|
/* @__PURE__ */ t.jsx(
|
|
1882
|
-
|
|
1826
|
+
T,
|
|
1883
1827
|
{
|
|
1884
|
-
flexDirection:
|
|
1885
|
-
gap:
|
|
1828
|
+
flexDirection: Y ? "column" : ["column", null, null, "row"],
|
|
1829
|
+
gap: Y ? void 0 : [null, null, null, 8],
|
|
1886
1830
|
children: L == null ? void 0 : L.map(
|
|
1887
1831
|
(F, fe) => /* @__PURE__ */ t.jsx(
|
|
1888
|
-
|
|
1832
|
+
T,
|
|
1889
1833
|
{
|
|
1890
1834
|
flexDirection: "column",
|
|
1891
|
-
gap:
|
|
1892
|
-
marginLeft:
|
|
1835
|
+
gap: Y ? void 0 : [null, null, null, 5],
|
|
1836
|
+
marginLeft: Y ? void 0 : [null, null, null, -2],
|
|
1893
1837
|
children: F == null ? void 0 : F.map(
|
|
1894
1838
|
(Q, q) => /* @__PURE__ */ t.jsx(
|
|
1895
|
-
|
|
1839
|
+
Be,
|
|
1896
1840
|
{
|
|
1897
1841
|
label: Q.label,
|
|
1898
1842
|
href: Q.href,
|
|
1899
1843
|
additionalContent: Q.additionalContent,
|
|
1900
1844
|
linkComponent: c,
|
|
1901
|
-
forceMobileStyle:
|
|
1845
|
+
forceMobileStyle: Y,
|
|
1902
1846
|
onClick: () => f == null ? void 0 : f(Q.label)
|
|
1903
1847
|
},
|
|
1904
1848
|
`${Q.label}-${q}`
|
|
@@ -1911,17 +1855,17 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1911
1855
|
}
|
|
1912
1856
|
)
|
|
1913
1857
|
] },
|
|
1914
|
-
`${a.title}-${
|
|
1858
|
+
`${a.title}-${_}`
|
|
1915
1859
|
);
|
|
1916
1860
|
}) }
|
|
1917
|
-
) : null,
|
|
1918
|
-
(a,
|
|
1861
|
+
) : null, $e = y != null && y.spotlightCards ? (Fe = y.spotlightCards) == null ? void 0 : Fe.map(
|
|
1862
|
+
(a, _) => /* @__PURE__ */ t.jsx(
|
|
1919
1863
|
Yn,
|
|
1920
1864
|
{
|
|
1921
1865
|
...a,
|
|
1922
|
-
forceMobileStyle:
|
|
1866
|
+
forceMobileStyle: Y
|
|
1923
1867
|
},
|
|
1924
|
-
`${a.title}-${
|
|
1868
|
+
`${a.title}-${_}`
|
|
1925
1869
|
)
|
|
1926
1870
|
) : /* @__PURE__ */ t.jsx(R, {});
|
|
1927
1871
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -1937,7 +1881,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1937
1881
|
/* @__PURE__ */ t.jsx(
|
|
1938
1882
|
Gn,
|
|
1939
1883
|
{
|
|
1940
|
-
desktopTopButtons:
|
|
1884
|
+
desktopTopButtons: Me,
|
|
1941
1885
|
logoLink: s,
|
|
1942
1886
|
linkComponent: c,
|
|
1943
1887
|
onLogoClick: g,
|
|
@@ -1949,46 +1893,46 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1949
1893
|
R,
|
|
1950
1894
|
{ position: "relative", zIndex: "modal", children: [
|
|
1951
1895
|
/* @__PURE__ */ t.jsx(
|
|
1952
|
-
|
|
1896
|
+
qe,
|
|
1953
1897
|
{
|
|
1954
1898
|
isOpen: w,
|
|
1955
1899
|
onClose: b,
|
|
1956
|
-
title:
|
|
1957
|
-
navDrawerLinks:
|
|
1958
|
-
bottomNavButtons:
|
|
1900
|
+
title: o,
|
|
1901
|
+
navDrawerLinks: Ne,
|
|
1902
|
+
bottomNavButtons: Ve,
|
|
1959
1903
|
hasBackButton: !1,
|
|
1960
1904
|
topOffset: ne,
|
|
1961
1905
|
forceMobilePlacement: !0
|
|
1962
1906
|
}
|
|
1963
1907
|
),
|
|
1964
1908
|
/* @__PURE__ */ t.jsx(
|
|
1965
|
-
|
|
1909
|
+
qe,
|
|
1966
1910
|
{
|
|
1967
|
-
isOpen: !!
|
|
1911
|
+
isOpen: !!y,
|
|
1968
1912
|
onClose: () => {
|
|
1969
|
-
b(), S(), w ||
|
|
1913
|
+
b(), S(), w || I(!1);
|
|
1970
1914
|
},
|
|
1971
|
-
title: (
|
|
1915
|
+
title: (y == null ? void 0 : y.label) || "",
|
|
1972
1916
|
navDrawerLinks: ue,
|
|
1973
1917
|
onBackClick: () => {
|
|
1974
|
-
S(), w ||
|
|
1918
|
+
S(), w || I(!1);
|
|
1975
1919
|
},
|
|
1976
|
-
spotlightCards:
|
|
1977
|
-
hasOnlySpotlightCards:
|
|
1978
|
-
bottomButton:
|
|
1920
|
+
spotlightCards: $e,
|
|
1921
|
+
hasOnlySpotlightCards: y == null ? void 0 : y.hasOnlySpotlightCards,
|
|
1922
|
+
bottomButton: y == null ? void 0 : y.bottomButton,
|
|
1979
1923
|
topOffset: ne,
|
|
1980
1924
|
forceMobilePlacement: B || w || // Below 1400px, if main menu is open, always use mobile closing
|
|
1981
1925
|
w && !ie
|
|
1982
1926
|
}
|
|
1983
1927
|
),
|
|
1984
1928
|
/* @__PURE__ */ t.jsx(
|
|
1985
|
-
|
|
1929
|
+
qe,
|
|
1986
1930
|
{
|
|
1987
1931
|
isOpen: O,
|
|
1988
1932
|
onClose: () => $(),
|
|
1989
1933
|
title: "Search",
|
|
1990
1934
|
navDrawerLinks: Re,
|
|
1991
|
-
onSearch:
|
|
1935
|
+
onSearch: Pe,
|
|
1992
1936
|
hasSearch: !0,
|
|
1993
1937
|
hasBackButton: !1,
|
|
1994
1938
|
topOffset: ne
|
|
@@ -1999,17 +1943,17 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
1999
1943
|
]
|
|
2000
1944
|
}
|
|
2001
1945
|
);
|
|
2002
|
-
},
|
|
1946
|
+
}, Ct = ({
|
|
2003
1947
|
links: n,
|
|
2004
|
-
linkComponent:
|
|
1948
|
+
linkComponent: o,
|
|
2005
1949
|
onLinkClick: s,
|
|
2006
1950
|
footerTheme: i
|
|
2007
1951
|
}) => {
|
|
2008
|
-
const c =
|
|
1952
|
+
const c = o || le, u = (f) => {
|
|
2009
1953
|
s && s(f);
|
|
2010
1954
|
};
|
|
2011
1955
|
return /* @__PURE__ */ t.jsx(
|
|
2012
|
-
|
|
1956
|
+
T,
|
|
2013
1957
|
{ direction: "column", gap: 6, children: n.map(
|
|
2014
1958
|
(f) => /* @__PURE__ */ t.jsx(
|
|
2015
1959
|
z,
|
|
@@ -2019,22 +1963,22 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2019
1963
|
size: "lg",
|
|
2020
1964
|
_hover: { color: "viridian.lighter", textDecoration: "none" },
|
|
2021
1965
|
onClick: () => u(f.label),
|
|
2022
|
-
...Ee(f.href, !!
|
|
1966
|
+
...Ee(f.href, !!o),
|
|
2023
1967
|
children: f.label
|
|
2024
1968
|
},
|
|
2025
1969
|
f.label
|
|
2026
1970
|
)
|
|
2027
1971
|
) }
|
|
2028
1972
|
);
|
|
2029
|
-
}, nr = ({ title: n, links:
|
|
2030
|
-
const i = s ? "transparent" : `${
|
|
2031
|
-
return
|
|
2032
|
-
|
|
1973
|
+
}, nr = ({ title: n, links: o, isLast: s }) => {
|
|
1974
|
+
const i = s ? "transparent" : `${G.colors.viridian.lighter}20`;
|
|
1975
|
+
return o ? /* @__PURE__ */ t.jsx(
|
|
1976
|
+
ln,
|
|
2033
1977
|
{ borderColor: i, children: ({ isExpanded: c }) => /* @__PURE__ */ t.jsxs(
|
|
2034
1978
|
t.Fragment,
|
|
2035
1979
|
{ children: [
|
|
2036
1980
|
/* @__PURE__ */ t.jsxs(
|
|
2037
|
-
|
|
1981
|
+
sn,
|
|
2038
1982
|
{ paddingX: 0, paddingY: 4, _hover: { bg: "transparent" }, children: [
|
|
2039
1983
|
/* @__PURE__ */ t.jsx(
|
|
2040
1984
|
z,
|
|
@@ -2053,17 +1997,17 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2053
1997
|
] }
|
|
2054
1998
|
),
|
|
2055
1999
|
/* @__PURE__ */ t.jsx(
|
|
2056
|
-
|
|
2057
|
-
{ pb: 4, px: 0, children:
|
|
2000
|
+
cn,
|
|
2001
|
+
{ pb: 4, px: 0, children: o }
|
|
2058
2002
|
)
|
|
2059
2003
|
] }
|
|
2060
2004
|
) }
|
|
2061
2005
|
) : null;
|
|
2062
2006
|
}, rr = ({
|
|
2063
2007
|
title: n,
|
|
2064
|
-
links:
|
|
2008
|
+
links: o,
|
|
2065
2009
|
footerTheme: s
|
|
2066
|
-
}) =>
|
|
2010
|
+
}) => o ? /* @__PURE__ */ t.jsxs(
|
|
2067
2011
|
R,
|
|
2068
2012
|
{ children: [
|
|
2069
2013
|
/* @__PURE__ */ t.jsx(
|
|
@@ -2075,22 +2019,22 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2075
2019
|
children: n
|
|
2076
2020
|
}
|
|
2077
2021
|
),
|
|
2078
|
-
|
|
2022
|
+
o
|
|
2079
2023
|
] }
|
|
2080
2024
|
) : null, or = ({
|
|
2081
2025
|
sections: n,
|
|
2082
|
-
linkComponent:
|
|
2026
|
+
linkComponent: o,
|
|
2083
2027
|
onLinkClick: s,
|
|
2084
2028
|
footerTheme: i
|
|
2085
|
-
}) =>
|
|
2029
|
+
}) => je({
|
|
2086
2030
|
base: !1,
|
|
2087
2031
|
tablet: !1,
|
|
2088
2032
|
largeTablet: !0,
|
|
2089
2033
|
desktop: !0
|
|
2090
2034
|
}) ? /* @__PURE__ */ t.jsx(
|
|
2091
|
-
|
|
2035
|
+
T,
|
|
2092
2036
|
{ justify: "space-between", align: "flex-start", children: /* @__PURE__ */ t.jsx(
|
|
2093
|
-
|
|
2037
|
+
T,
|
|
2094
2038
|
{ gap: 120, children: n.map(
|
|
2095
2039
|
({ title: u, links: f }) => /* @__PURE__ */ t.jsx(
|
|
2096
2040
|
rr,
|
|
@@ -2098,10 +2042,10 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2098
2042
|
footerTheme: i,
|
|
2099
2043
|
title: u,
|
|
2100
2044
|
links: /* @__PURE__ */ t.jsx(
|
|
2101
|
-
|
|
2045
|
+
Ct,
|
|
2102
2046
|
{
|
|
2103
2047
|
links: f,
|
|
2104
|
-
linkComponent:
|
|
2048
|
+
linkComponent: o,
|
|
2105
2049
|
onLinkClick: s,
|
|
2106
2050
|
footerTheme: i
|
|
2107
2051
|
}
|
|
@@ -2112,7 +2056,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2112
2056
|
) }
|
|
2113
2057
|
) }
|
|
2114
2058
|
) : /* @__PURE__ */ t.jsx(
|
|
2115
|
-
|
|
2059
|
+
an,
|
|
2116
2060
|
{
|
|
2117
2061
|
allowMultiple: !0,
|
|
2118
2062
|
defaultIndex: [0],
|
|
@@ -2125,10 +2069,10 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2125
2069
|
{
|
|
2126
2070
|
title: u,
|
|
2127
2071
|
links: /* @__PURE__ */ t.jsx(
|
|
2128
|
-
|
|
2072
|
+
Ct,
|
|
2129
2073
|
{
|
|
2130
2074
|
links: f,
|
|
2131
|
-
linkComponent:
|
|
2075
|
+
linkComponent: o,
|
|
2132
2076
|
onLinkClick: s,
|
|
2133
2077
|
footerTheme: i
|
|
2134
2078
|
}
|
|
@@ -2139,7 +2083,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2139
2083
|
)
|
|
2140
2084
|
)
|
|
2141
2085
|
}
|
|
2142
|
-
),
|
|
2086
|
+
), Et = {
|
|
2143
2087
|
instagram: Pn,
|
|
2144
2088
|
linkedin: Mn,
|
|
2145
2089
|
facebook: $n,
|
|
@@ -2147,7 +2091,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2147
2091
|
x: Hn
|
|
2148
2092
|
}, ar = ({
|
|
2149
2093
|
socialLinks: n,
|
|
2150
|
-
onEmailSubmit:
|
|
2094
|
+
onEmailSubmit: o,
|
|
2151
2095
|
socialMediaLabel: s,
|
|
2152
2096
|
newsletterLabel: i,
|
|
2153
2097
|
onLinkClick: c,
|
|
@@ -2155,7 +2099,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2155
2099
|
footerTheme: f
|
|
2156
2100
|
}) => {
|
|
2157
2101
|
const d = f === "dark", [g, p] = se.useState(""), h = () => {
|
|
2158
|
-
g &&
|
|
2102
|
+
g && o && (o(g), p(""));
|
|
2159
2103
|
}, C = (v) => {
|
|
2160
2104
|
v.key === "Enter" && h();
|
|
2161
2105
|
}, E = (v) => {
|
|
@@ -2177,10 +2121,10 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2177
2121
|
}
|
|
2178
2122
|
),
|
|
2179
2123
|
/* @__PURE__ */ t.jsxs(
|
|
2180
|
-
|
|
2124
|
+
un,
|
|
2181
2125
|
{ children: [
|
|
2182
2126
|
/* @__PURE__ */ t.jsx(
|
|
2183
|
-
|
|
2127
|
+
dn,
|
|
2184
2128
|
{
|
|
2185
2129
|
"aria-label": "Email address",
|
|
2186
2130
|
type: "email",
|
|
@@ -2201,7 +2145,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2201
2145
|
}
|
|
2202
2146
|
),
|
|
2203
2147
|
/* @__PURE__ */ t.jsx(
|
|
2204
|
-
|
|
2148
|
+
fn,
|
|
2205
2149
|
{ h: "52px", pr: 4, children: /* @__PURE__ */ t.jsx(
|
|
2206
2150
|
Ce,
|
|
2207
2151
|
{
|
|
@@ -2235,7 +2179,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2235
2179
|
}
|
|
2236
2180
|
),
|
|
2237
2181
|
/* @__PURE__ */ t.jsx(
|
|
2238
|
-
|
|
2182
|
+
T,
|
|
2239
2183
|
{ gap: 3, children: n == null ? void 0 : n.map(
|
|
2240
2184
|
(v) => /* @__PURE__ */ t.jsx(
|
|
2241
2185
|
le,
|
|
@@ -2245,10 +2189,10 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2245
2189
|
rel: "noopener noreferrer",
|
|
2246
2190
|
"aria-label": v.name,
|
|
2247
2191
|
onClick: () => E(v.name),
|
|
2248
|
-
children:
|
|
2192
|
+
children: Et[v.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
|
|
2249
2193
|
Ce,
|
|
2250
2194
|
{
|
|
2251
|
-
as:
|
|
2195
|
+
as: Et[v.name.toLowerCase()],
|
|
2252
2196
|
color: d ? "white" : "viridian.base",
|
|
2253
2197
|
width: ["48px", null, "24px", null],
|
|
2254
2198
|
height: ["48px", null, "24px", null]
|
|
@@ -2265,11 +2209,11 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2265
2209
|
);
|
|
2266
2210
|
}, ir = ({
|
|
2267
2211
|
links: n,
|
|
2268
|
-
linkComponent:
|
|
2212
|
+
linkComponent: o,
|
|
2269
2213
|
onLinkClick: s,
|
|
2270
2214
|
footerTheme: i
|
|
2271
2215
|
}) => {
|
|
2272
|
-
const c =
|
|
2216
|
+
const c = o || le, u = i === "dark", [f, d] = se.useState(() => (/* @__PURE__ */ new Date()).getFullYear());
|
|
2273
2217
|
se.useEffect(() => {
|
|
2274
2218
|
d((/* @__PURE__ */ new Date()).getFullYear());
|
|
2275
2219
|
}, []);
|
|
@@ -2284,14 +2228,14 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2284
2228
|
size: "sm",
|
|
2285
2229
|
_hover: { color: u ? "white" : "viridian.lighter", textDecoration: "none" },
|
|
2286
2230
|
onClick: () => g(h.label),
|
|
2287
|
-
...Ee(h.href, !!
|
|
2231
|
+
...Ee(h.href, !!o),
|
|
2288
2232
|
children: h.label
|
|
2289
2233
|
},
|
|
2290
2234
|
h.label
|
|
2291
2235
|
)
|
|
2292
2236
|
);
|
|
2293
2237
|
return /* @__PURE__ */ t.jsxs(
|
|
2294
|
-
|
|
2238
|
+
T,
|
|
2295
2239
|
{
|
|
2296
2240
|
direction: ["column", "column", "row"],
|
|
2297
2241
|
justify: "space-between",
|
|
@@ -2299,7 +2243,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2299
2243
|
gap: [6, 6, 0],
|
|
2300
2244
|
children: [
|
|
2301
2245
|
/* @__PURE__ */ t.jsx(
|
|
2302
|
-
|
|
2246
|
+
T,
|
|
2303
2247
|
{
|
|
2304
2248
|
direction: "row",
|
|
2305
2249
|
flexWrap: "wrap",
|
|
@@ -2324,7 +2268,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2324
2268
|
);
|
|
2325
2269
|
}, br = se.forwardRef(({
|
|
2326
2270
|
navigationSections: n = [],
|
|
2327
|
-
disclaimer:
|
|
2271
|
+
disclaimer: o,
|
|
2328
2272
|
newsletterLabel: s,
|
|
2329
2273
|
socialMediaLabel: i,
|
|
2330
2274
|
socialLinks: c,
|
|
@@ -2347,23 +2291,23 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2347
2291
|
px: [4, 6],
|
|
2348
2292
|
ref: v,
|
|
2349
2293
|
children: /* @__PURE__ */ t.jsxs(
|
|
2350
|
-
|
|
2294
|
+
pn,
|
|
2351
2295
|
{ size: "fluid", children: [
|
|
2352
2296
|
/* @__PURE__ */ t.jsxs(
|
|
2353
|
-
|
|
2297
|
+
T,
|
|
2354
2298
|
{ direction: "column", gap: [8, 12], children: [
|
|
2355
2299
|
/* @__PURE__ */ t.jsx(
|
|
2356
2300
|
R,
|
|
2357
2301
|
{ children: /* @__PURE__ */ t.jsx(
|
|
2358
|
-
|
|
2302
|
+
At,
|
|
2359
2303
|
{
|
|
2360
2304
|
width: ["150px", "202px"],
|
|
2361
|
-
color: w ? "white" :
|
|
2305
|
+
color: w ? "white" : G.colors.viridian.base
|
|
2362
2306
|
}
|
|
2363
2307
|
) }
|
|
2364
2308
|
),
|
|
2365
2309
|
/* @__PURE__ */ t.jsxs(
|
|
2366
|
-
|
|
2310
|
+
T,
|
|
2367
2311
|
{
|
|
2368
2312
|
direction: ["column", null, null, "row"],
|
|
2369
2313
|
justify: "space-between",
|
|
@@ -2395,7 +2339,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2395
2339
|
}
|
|
2396
2340
|
),
|
|
2397
2341
|
/* @__PURE__ */ t.jsxs(
|
|
2398
|
-
|
|
2342
|
+
T,
|
|
2399
2343
|
{
|
|
2400
2344
|
direction: ["column", "column", "row"],
|
|
2401
2345
|
justify: "space-between",
|
|
@@ -2403,13 +2347,13 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2403
2347
|
align: ["flex-start", "flex-start", "center"],
|
|
2404
2348
|
gap: [6, 6, 0],
|
|
2405
2349
|
children: [
|
|
2406
|
-
typeof
|
|
2350
|
+
typeof o == "string" ? /* @__PURE__ */ t.jsx(
|
|
2407
2351
|
z,
|
|
2408
2352
|
{
|
|
2409
2353
|
color: w ? "viridian.lighter" : "tints.uiGrey",
|
|
2410
2354
|
fontSize: "sm",
|
|
2411
2355
|
maxWidth: ["100%", "100%", "1024px"],
|
|
2412
|
-
dangerouslySetInnerHTML: { __html:
|
|
2356
|
+
dangerouslySetInnerHTML: { __html: o },
|
|
2413
2357
|
sx: {
|
|
2414
2358
|
"a:hover": {
|
|
2415
2359
|
color: w ? "viridian.light" : "viridian.base",
|
|
@@ -2417,7 +2361,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2417
2361
|
}
|
|
2418
2362
|
}
|
|
2419
2363
|
}
|
|
2420
|
-
) :
|
|
2364
|
+
) : o,
|
|
2421
2365
|
g
|
|
2422
2366
|
]
|
|
2423
2367
|
}
|
|
@@ -2428,7 +2372,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2428
2372
|
R,
|
|
2429
2373
|
{
|
|
2430
2374
|
borderTop: "1px solid",
|
|
2431
|
-
borderColor: w ? `${
|
|
2375
|
+
borderColor: w ? `${G.colors.viridian.lighter}20` : "tints.darkCream",
|
|
2432
2376
|
marginTop: "10",
|
|
2433
2377
|
marginBottom: "8"
|
|
2434
2378
|
}
|
|
@@ -2447,24 +2391,24 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2447
2391
|
}
|
|
2448
2392
|
);
|
|
2449
2393
|
}), lr = (n) => n ? {
|
|
2450
|
-
Container:
|
|
2451
|
-
Overlay:
|
|
2452
|
-
Content:
|
|
2453
|
-
Header:
|
|
2454
|
-
Body:
|
|
2455
|
-
Footer:
|
|
2456
|
-
CloseButton:
|
|
2394
|
+
Container: _t,
|
|
2395
|
+
Overlay: Rt,
|
|
2396
|
+
Content: kt,
|
|
2397
|
+
Header: Dt,
|
|
2398
|
+
Body: Tt,
|
|
2399
|
+
Footer: hn,
|
|
2400
|
+
CloseButton: gn
|
|
2457
2401
|
} : {
|
|
2458
|
-
Container:
|
|
2459
|
-
Overlay:
|
|
2460
|
-
Content:
|
|
2461
|
-
Header:
|
|
2462
|
-
Body:
|
|
2463
|
-
Footer:
|
|
2464
|
-
CloseButton:
|
|
2402
|
+
Container: xn,
|
|
2403
|
+
Overlay: vn,
|
|
2404
|
+
Content: bn,
|
|
2405
|
+
Header: mn,
|
|
2406
|
+
Body: wn,
|
|
2407
|
+
Footer: yn,
|
|
2408
|
+
CloseButton: jn
|
|
2465
2409
|
}, mr = ({
|
|
2466
2410
|
isOpen: n,
|
|
2467
|
-
onClose:
|
|
2411
|
+
onClose: o,
|
|
2468
2412
|
children: s,
|
|
2469
2413
|
header: i,
|
|
2470
2414
|
footer: c,
|
|
@@ -2474,8 +2418,8 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2474
2418
|
contentProps: g,
|
|
2475
2419
|
...p
|
|
2476
2420
|
}) => {
|
|
2477
|
-
var
|
|
2478
|
-
const [h] =
|
|
2421
|
+
var y, A, H, U, te;
|
|
2422
|
+
const [h] = et(`(max-width: ${G.breakpoints.tablet})`), C = (te = (U = (H = (A = (y = G) == null ? void 0 : y.components) == null ? void 0 : A.Modal) == null ? void 0 : H.baseStyle) == null ? void 0 : U.overlay) == null ? void 0 : te.background, {
|
|
2479
2423
|
Container: E,
|
|
2480
2424
|
Overlay: v,
|
|
2481
2425
|
Content: w,
|
|
@@ -2489,7 +2433,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2489
2433
|
{
|
|
2490
2434
|
...p,
|
|
2491
2435
|
isOpen: n,
|
|
2492
|
-
onClose:
|
|
2436
|
+
onClose: o,
|
|
2493
2437
|
size: "xl",
|
|
2494
2438
|
...h ? { placement: "bottom" } : {},
|
|
2495
2439
|
children: [
|
|
@@ -2535,7 +2479,7 @@ const qe = 60, St = 6, Nn = (n) => {
|
|
|
2535
2479
|
fontSize: "1rem"
|
|
2536
2480
|
}
|
|
2537
2481
|
},
|
|
2538
|
-
children: /* @__PURE__ */ t.jsx(Ce, { as:
|
|
2482
|
+
children: /* @__PURE__ */ t.jsx(Ce, { as: Ot, weight: "light" })
|
|
2539
2483
|
}
|
|
2540
2484
|
)
|
|
2541
2485
|
]
|
|
@@ -2565,12 +2509,12 @@ export {
|
|
|
2565
2509
|
br as Footer,
|
|
2566
2510
|
Vn as NavButton,
|
|
2567
2511
|
xr as NavSkeleton,
|
|
2568
|
-
|
|
2569
|
-
|
|
2512
|
+
qe as NavbarDrawer,
|
|
2513
|
+
Be as NavbarDrawerLink,
|
|
2570
2514
|
vr as NavigationBar,
|
|
2571
2515
|
Yn as SpotlightCard,
|
|
2572
2516
|
pr as Stepper,
|
|
2573
|
-
|
|
2517
|
+
nt as TopNavIconButton,
|
|
2574
2518
|
Gn as TopNavigation,
|
|
2575
2519
|
er as useNavigationBar
|
|
2576
2520
|
};
|