@everlywell/consumer-ui 1.43.0 → 1.43.1
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 +9 -9
- package/index.mjs +296 -311
- package/lib/components/Navbar/TopNavigation/TopNavigation.d.ts.map +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { useSteps as
|
|
2
|
-
import Pe, { useEffect as oe, forwardRef as
|
|
3
|
-
import { Text as
|
|
4
|
-
import { CaretRight as Et, MagnifyingGlass as
|
|
5
|
-
import { motion as gt, AnimatePresence as
|
|
1
|
+
import { useSteps as tn, Box as j, Stepper as nn, Icon as ee, Flex as k, Text as z, Link as X, Button as ht, Image as rn, IconButton as on, theme as K, useMediaQuery as ct, VStack as ln, Skeleton as it, HStack as yt, SkeletonCircle as Ye, DrawerContent as At, DrawerOverlay as Pt, Drawer as $t, DrawerHeader as Mt, DrawerBody as Ht, Grid as an, GridItem as sn, Accordion as cn, AccordionItem as un, AccordionButton as dn, AccordionPanel as fn, InputGroup as pn, Input as hn, InputRightElement as gn, Container as xn, DrawerFooter as vn, DrawerCloseButton as mn, Modal as bn, ModalOverlay as Cn, ModalContent as wn, ModalHeader as jn, ModalBody as yn, ModalFooter as En, ModalCloseButton as kn } from "@everlywell/ui-kit";
|
|
2
|
+
import Pe, { useEffect as oe, forwardRef as Ft, useRef as Rn, useCallback as Bt, useState as Z } from "react";
|
|
3
|
+
import { Text as _n, useBreakpointValue as je, Box as Sn, InputGroup as Tn, Input as Dn, InputRightElement as In, Icon as Ln } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as Et, MagnifyingGlass as zt, List as On, Basket as An, CaretLeft as Pn, X as Wt, User as kt, QrCode as $n, CaretDown as Mn, ArrowRight as Hn, InstagramLogo as Fn, LinkedinLogo as Bn, FacebookLogo as zn, TiktokLogo as Wn, XLogo as Nn } from "@phosphor-icons/react";
|
|
5
|
+
import { motion as gt, AnimatePresence as Vn } from "framer-motion";
|
|
6
6
|
var ut = { exports: {} }, Oe = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
@@ -14,16 +14,16 @@ var ut = { exports: {} }, Oe = {};
|
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
16
|
var Rt;
|
|
17
|
-
function
|
|
17
|
+
function Yn() {
|
|
18
18
|
if (Rt) return Oe;
|
|
19
19
|
Rt = 1;
|
|
20
20
|
var n = Pe, o = Symbol.for("react.element"), s = Symbol.for("react.fragment"), a = 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 p(v, g, d) {
|
|
22
|
-
var f, x = {},
|
|
23
|
-
d !== void 0 && (
|
|
22
|
+
var f, x = {}, y = null, R = null;
|
|
23
|
+
d !== void 0 && (y = "" + d), g.key !== void 0 && (y = "" + g.key), g.ref !== void 0 && (R = g.ref);
|
|
24
24
|
for (f in g) a.call(g, f) && !u.hasOwnProperty(f) && (x[f] = g[f]);
|
|
25
25
|
if (v && v.defaultProps) for (f in g = v.defaultProps, g) x[f] === void 0 && (x[f] = g[f]);
|
|
26
|
-
return { $$typeof: o, type: v, key:
|
|
26
|
+
return { $$typeof: o, type: v, key: y, ref: R, props: x, _owner: c.current };
|
|
27
27
|
}
|
|
28
28
|
return Oe.Fragment = s, Oe.jsx = p, Oe.jsxs = p, Oe;
|
|
29
29
|
}
|
|
@@ -38,13 +38,13 @@ var Ae = {};
|
|
|
38
38
|
* LICENSE file in the root directory of this source tree.
|
|
39
39
|
*/
|
|
40
40
|
var _t;
|
|
41
|
-
function
|
|
41
|
+
function Gn() {
|
|
42
42
|
return _t || (_t = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
-
var n = Pe, o = Symbol.for("react.element"), s = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"),
|
|
43
|
+
var n = Pe, o = Symbol.for("react.element"), s = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), c = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), f = Symbol.for("react.suspense_list"), x = Symbol.for("react.memo"), y = Symbol.for("react.lazy"), R = Symbol.for("react.offscreen"), b = Symbol.iterator, _ = "@@iterator";
|
|
44
44
|
function m(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var r =
|
|
47
|
+
var r = b && e[b] || e[_];
|
|
48
48
|
return typeof r == "function" ? r : null;
|
|
49
49
|
}
|
|
50
50
|
var F = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
@@ -59,8 +59,8 @@ function Zn() {
|
|
|
59
59
|
{
|
|
60
60
|
var h = F.ReactDebugCurrentFrame, E = h.getStackAddendum();
|
|
61
61
|
E !== "" && (r += "%s", l = l.concat([E]));
|
|
62
|
-
var D = l.map(function(
|
|
63
|
-
return String(
|
|
62
|
+
var D = l.map(function(w) {
|
|
63
|
+
return String(w);
|
|
64
64
|
});
|
|
65
65
|
D.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, D);
|
|
66
66
|
}
|
|
@@ -68,7 +68,7 @@ function Zn() {
|
|
|
68
68
|
var $ = !1, B = !1, J = !1, te = !1, V = !1, ie;
|
|
69
69
|
ie = Symbol.for("react.module.reference");
|
|
70
70
|
function le(e) {
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === a || e === u || V || e === c || e === d || e === f || te || e === R || $ || B || J || typeof e == "object" && e !== null && (e.$$typeof ===
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === a || e === u || V || e === c || e === d || e === f || te || e === R || $ || B || J || typeof e == "object" && e !== null && (e.$$typeof === y || e.$$typeof === x || e.$$typeof === p || e.$$typeof === v || 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.
|
|
@@ -118,10 +118,10 @@ function Zn() {
|
|
|
118
118
|
case x:
|
|
119
119
|
var h = e.displayName || null;
|
|
120
120
|
return h !== null ? h : L(e.type) || "Memo";
|
|
121
|
-
case
|
|
122
|
-
var E = e, D = E._payload,
|
|
121
|
+
case y: {
|
|
122
|
+
var E = e, D = E._payload, w = E._init;
|
|
123
123
|
try {
|
|
124
|
-
return L(
|
|
124
|
+
return L(w(D));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,14 +129,14 @@ function Zn() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var O = Object.assign, q = 0, ae, $e,
|
|
132
|
+
var O = Object.assign, q = 0, ae, $e, he, Me, He, ke, Re;
|
|
133
133
|
function se() {
|
|
134
134
|
}
|
|
135
135
|
se.__reactDisabledLog = !0;
|
|
136
136
|
function Fe() {
|
|
137
137
|
{
|
|
138
138
|
if (q === 0) {
|
|
139
|
-
ae = console.log, $e = console.info,
|
|
139
|
+
ae = console.log, $e = console.info, he = console.warn, Me = console.error, He = console.group, ke = console.groupCollapsed, Re = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -172,7 +172,7 @@ function Zn() {
|
|
|
172
172
|
value: $e
|
|
173
173
|
}),
|
|
174
174
|
warn: O({}, e, {
|
|
175
|
-
value:
|
|
175
|
+
value: he
|
|
176
176
|
}),
|
|
177
177
|
error: O({}, e, {
|
|
178
178
|
value: Me
|
|
@@ -192,7 +192,7 @@ function Zn() {
|
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
var _e = F.ReactCurrentDispatcher, Se;
|
|
195
|
-
function
|
|
195
|
+
function ge(e, r, l) {
|
|
196
196
|
{
|
|
197
197
|
if (Se === void 0)
|
|
198
198
|
try {
|
|
@@ -205,16 +205,16 @@ function Zn() {
|
|
|
205
205
|
` + Se + e;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
var ue = !1,
|
|
208
|
+
var ue = !1, xe;
|
|
209
209
|
{
|
|
210
210
|
var Be = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
-
|
|
211
|
+
xe = new Be();
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function ve(e, r) {
|
|
214
214
|
if (!e || ue)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
217
|
-
var l =
|
|
217
|
+
var l = xe.get(e);
|
|
218
218
|
if (l !== void 0)
|
|
219
219
|
return l;
|
|
220
220
|
}
|
|
@@ -226,27 +226,27 @@ function Zn() {
|
|
|
226
226
|
D = _e.current, _e.current = null, Fe();
|
|
227
227
|
try {
|
|
228
228
|
if (r) {
|
|
229
|
-
var
|
|
229
|
+
var w = function() {
|
|
230
230
|
throw Error();
|
|
231
231
|
};
|
|
232
|
-
if (Object.defineProperty(
|
|
232
|
+
if (Object.defineProperty(w.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(w, []);
|
|
239
239
|
} catch (Y) {
|
|
240
240
|
h = Y;
|
|
241
241
|
}
|
|
242
|
-
Reflect.construct(e, [],
|
|
242
|
+
Reflect.construct(e, [], w);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
|
-
|
|
245
|
+
w.call();
|
|
246
246
|
} catch (Y) {
|
|
247
247
|
h = Y;
|
|
248
248
|
}
|
|
249
|
-
e.call(
|
|
249
|
+
e.call(w.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
@@ -258,18 +258,18 @@ function Zn() {
|
|
|
258
258
|
}
|
|
259
259
|
} catch (Y) {
|
|
260
260
|
if (Y && h && typeof Y.stack == "string") {
|
|
261
|
-
for (var
|
|
261
|
+
for (var C = Y.stack.split(`
|
|
262
262
|
`), N = h.stack.split(`
|
|
263
|
-
`), P =
|
|
263
|
+
`), P = C.length - 1, M = N.length - 1; P >= 1 && M >= 0 && C[P] !== N[M]; )
|
|
264
264
|
M--;
|
|
265
265
|
for (; P >= 1 && M >= 0; P--, M--)
|
|
266
|
-
if (
|
|
266
|
+
if (C[P] !== N[M]) {
|
|
267
267
|
if (P !== 1 || M !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (P--, M--, M < 0 ||
|
|
269
|
+
if (P--, M--, M < 0 || C[P] !== N[M]) {
|
|
270
270
|
var U = `
|
|
271
|
-
` +
|
|
272
|
-
return e.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", e.displayName)), typeof e == "function" &&
|
|
271
|
+
` + C[P].replace(" at new ", " at ");
|
|
272
|
+
return e.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", e.displayName)), typeof e == "function" && xe.set(e, U), U;
|
|
273
273
|
}
|
|
274
274
|
while (P >= 1 && M >= 0);
|
|
275
275
|
break;
|
|
@@ -278,11 +278,11 @@ function Zn() {
|
|
|
278
278
|
} finally {
|
|
279
279
|
ue = !1, _e.current = D, ce(), Error.prepareStackTrace = E;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
282
|
-
return typeof e == "function" &&
|
|
281
|
+
var we = e ? e.displayName || e.name : "", pe = we ? ge(we) : "";
|
|
282
|
+
return typeof e == "function" && xe.set(e, pe), pe;
|
|
283
283
|
}
|
|
284
284
|
function Xe(e, r, l) {
|
|
285
|
-
return
|
|
285
|
+
return ve(e, !1);
|
|
286
286
|
}
|
|
287
287
|
function Ke(e) {
|
|
288
288
|
var r = e.prototype;
|
|
@@ -292,14 +292,14 @@ function Zn() {
|
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return
|
|
295
|
+
return ve(e, Ke(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
|
-
return
|
|
297
|
+
return ge(e);
|
|
298
298
|
switch (e) {
|
|
299
299
|
case d:
|
|
300
|
-
return
|
|
300
|
+
return ge("Suspense");
|
|
301
301
|
case f:
|
|
302
|
-
return
|
|
302
|
+
return ge("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
@@ -307,7 +307,7 @@ function Zn() {
|
|
|
307
307
|
return Xe(e.render);
|
|
308
308
|
case x:
|
|
309
309
|
return re(e.type, r, l);
|
|
310
|
-
case
|
|
310
|
+
case y: {
|
|
311
311
|
var h = e, E = h._payload, D = h._init;
|
|
312
312
|
try {
|
|
313
313
|
return re(D(E), r, l);
|
|
@@ -318,7 +318,7 @@ function Zn() {
|
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
320
|
var G = Object.prototype.hasOwnProperty, ze = {}, We = F.ReactDebugCurrentFrame;
|
|
321
|
-
function
|
|
321
|
+
function me(e) {
|
|
322
322
|
if (e) {
|
|
323
323
|
var r = e._owner, l = re(e.type, e._source, r ? r.type : null);
|
|
324
324
|
We.setExtraStackFrame(l);
|
|
@@ -328,19 +328,19 @@ function Zn() {
|
|
|
328
328
|
function Te(e, r, l, h, E) {
|
|
329
329
|
{
|
|
330
330
|
var D = Function.call.bind(G);
|
|
331
|
-
for (var
|
|
332
|
-
if (D(e,
|
|
333
|
-
var
|
|
331
|
+
for (var w in e)
|
|
332
|
+
if (D(e, w)) {
|
|
333
|
+
var C = void 0;
|
|
334
334
|
try {
|
|
335
|
-
if (typeof e[
|
|
336
|
-
var N = Error((h || "React class") + ": " + l + " type `" +
|
|
335
|
+
if (typeof e[w] != "function") {
|
|
336
|
+
var N = Error((h || "React class") + ": " + l + " type `" + w + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[w] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
337
|
throw N.name = "Invariant Violation", N;
|
|
338
338
|
}
|
|
339
|
-
|
|
339
|
+
C = e[w](r, w, h, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (P) {
|
|
341
|
-
|
|
341
|
+
C = P;
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
C && !(C instanceof Error) && (me(E), 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).", h || "React class", l, w, typeof C), me(null)), C instanceof Error && !(C.message in ze) && (ze[C.message] = !0, me(E), S("Failed %s type: %s", l, C.message), me(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -397,7 +397,7 @@ function Zn() {
|
|
|
397
397
|
i[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', L(de.current.type), e.ref), i[l] = !0);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function be(e, r) {
|
|
401
401
|
{
|
|
402
402
|
var l = function() {
|
|
403
403
|
Ie || (Ie = !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));
|
|
@@ -419,55 +419,55 @@ function Zn() {
|
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
var et = function(e, r, l, h, E, D,
|
|
423
|
-
var
|
|
422
|
+
var et = function(e, r, l, h, E, D, w) {
|
|
423
|
+
var C = {
|
|
424
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
425
|
$$typeof: o,
|
|
426
426
|
// Built-in properties that belong on the element
|
|
427
427
|
type: e,
|
|
428
428
|
key: r,
|
|
429
429
|
ref: l,
|
|
430
|
-
props:
|
|
430
|
+
props: w,
|
|
431
431
|
// Record the component responsible for creating this element.
|
|
432
432
|
_owner: D
|
|
433
433
|
};
|
|
434
|
-
return
|
|
434
|
+
return C._store = {}, Object.defineProperty(C._store, "validated", {
|
|
435
435
|
configurable: !1,
|
|
436
436
|
enumerable: !1,
|
|
437
437
|
writable: !0,
|
|
438
438
|
value: !1
|
|
439
|
-
}), Object.defineProperty(
|
|
439
|
+
}), Object.defineProperty(C, "_self", {
|
|
440
440
|
configurable: !1,
|
|
441
441
|
enumerable: !1,
|
|
442
442
|
writable: !1,
|
|
443
443
|
value: h
|
|
444
|
-
}), Object.defineProperty(
|
|
444
|
+
}), Object.defineProperty(C, "_source", {
|
|
445
445
|
configurable: !1,
|
|
446
446
|
enumerable: !1,
|
|
447
447
|
writable: !1,
|
|
448
448
|
value: E
|
|
449
|
-
}), Object.freeze && (Object.freeze(
|
|
449
|
+
}), Object.freeze && (Object.freeze(C.props), Object.freeze(C)), C;
|
|
450
450
|
};
|
|
451
|
-
function
|
|
451
|
+
function Vt(e, r, l, h, E) {
|
|
452
452
|
{
|
|
453
|
-
var D,
|
|
454
|
-
l !== void 0 && (Ne(l),
|
|
453
|
+
var D, w = {}, C = null, N = null;
|
|
454
|
+
l !== void 0 && (Ne(l), C = "" + l), A(r) && (Ne(r.key), C = "" + r.key), I(r) && (N = r.ref, H(r, E));
|
|
455
455
|
for (D in r)
|
|
456
|
-
G.call(r, D) && !Ve.hasOwnProperty(D) && (
|
|
456
|
+
G.call(r, D) && !Ve.hasOwnProperty(D) && (w[D] = r[D]);
|
|
457
457
|
if (e && e.defaultProps) {
|
|
458
458
|
var P = e.defaultProps;
|
|
459
459
|
for (D in P)
|
|
460
|
-
|
|
460
|
+
w[D] === void 0 && (w[D] = P[D]);
|
|
461
461
|
}
|
|
462
|
-
if (
|
|
462
|
+
if (C || N) {
|
|
463
463
|
var M = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
-
|
|
464
|
+
C && be(w, M), N && fe(w, M);
|
|
465
465
|
}
|
|
466
|
-
return et(e,
|
|
466
|
+
return et(e, C, N, E, h, de.current, w);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
469
|
var tt = F.ReactCurrentOwner, xt = F.ReactDebugCurrentFrame;
|
|
470
|
-
function
|
|
470
|
+
function Ce(e) {
|
|
471
471
|
if (e) {
|
|
472
472
|
var r = e._owner, l = re(e.type, e._source, r ? r.type : null);
|
|
473
473
|
xt.setExtraStackFrame(l);
|
|
@@ -491,11 +491,11 @@ Check the render method of \`` + e + "`.";
|
|
|
491
491
|
return "";
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function Yt(e) {
|
|
495
495
|
return "";
|
|
496
496
|
}
|
|
497
497
|
var mt = {};
|
|
498
|
-
function
|
|
498
|
+
function Gt(e) {
|
|
499
499
|
{
|
|
500
500
|
var r = vt();
|
|
501
501
|
if (!r) {
|
|
@@ -512,12 +512,12 @@ Check the top-level render call using <` + l + ">.");
|
|
|
512
512
|
if (!e._store || e._store.validated || e.key != null)
|
|
513
513
|
return;
|
|
514
514
|
e._store.validated = !0;
|
|
515
|
-
var l =
|
|
515
|
+
var l = Gt(r);
|
|
516
516
|
if (mt[l])
|
|
517
517
|
return;
|
|
518
518
|
mt[l] = !0;
|
|
519
519
|
var h = "";
|
|
520
|
-
e && e._owner && e._owner !== tt.current && (h = " It was passed a child from " + L(e._owner.type) + "."),
|
|
520
|
+
e && e._owner && e._owner !== tt.current && (h = " It was passed a child from " + L(e._owner.type) + "."), Ce(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, h), Ce(null);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
523
|
function Ct(e, r) {
|
|
@@ -534,12 +534,12 @@ Check the top-level render call using <` + l + ">.");
|
|
|
534
534
|
else if (e) {
|
|
535
535
|
var E = m(e);
|
|
536
536
|
if (typeof E == "function" && E !== e.entries)
|
|
537
|
-
for (var D = E.call(e),
|
|
538
|
-
rt(
|
|
537
|
+
for (var D = E.call(e), w; !(w = D.next()).done; )
|
|
538
|
+
rt(w.value) && bt(w.value, r);
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Ut(e) {
|
|
543
543
|
{
|
|
544
544
|
var r = e.type;
|
|
545
545
|
if (r == null || typeof r == "string")
|
|
@@ -564,40 +564,40 @@ Check the top-level render call using <` + l + ">.");
|
|
|
564
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 Zt(e) {
|
|
568
568
|
{
|
|
569
569
|
for (var r = Object.keys(e.props), l = 0; l < r.length; l++) {
|
|
570
570
|
var h = r[l];
|
|
571
571
|
if (h !== "children" && h !== "key") {
|
|
572
|
-
|
|
572
|
+
Ce(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", h), Ce(null);
|
|
573
573
|
break;
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
e.ref !== null && (
|
|
576
|
+
e.ref !== null && (Ce(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), Ce(null));
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
579
|
var wt = {};
|
|
580
580
|
function jt(e, r, l, h, E, D) {
|
|
581
581
|
{
|
|
582
|
-
var
|
|
583
|
-
if (!
|
|
584
|
-
var
|
|
585
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
586
|
-
var N =
|
|
587
|
-
N ?
|
|
582
|
+
var w = le(e);
|
|
583
|
+
if (!w) {
|
|
584
|
+
var C = "";
|
|
585
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (C += " 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 N = Yt();
|
|
587
|
+
N ? C += N : C += vt();
|
|
588
588
|
var P;
|
|
589
|
-
e === null ? P = "null" : De(e) ? P = "array" : e !== void 0 && e.$$typeof === o ? (P = "<" + (L(e.type) || "Unknown") + " />",
|
|
589
|
+
e === null ? P = "null" : De(e) ? P = "array" : e !== void 0 && e.$$typeof === o ? (P = "<" + (L(e.type) || "Unknown") + " />", C = " 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, C);
|
|
590
590
|
}
|
|
591
|
-
var M =
|
|
591
|
+
var M = Vt(e, r, l, E, D);
|
|
592
592
|
if (M == null)
|
|
593
593
|
return M;
|
|
594
|
-
if (
|
|
594
|
+
if (w) {
|
|
595
595
|
var U = r.children;
|
|
596
596
|
if (U !== void 0)
|
|
597
597
|
if (h)
|
|
598
598
|
if (De(U)) {
|
|
599
|
-
for (var
|
|
600
|
-
Ct(U[
|
|
599
|
+
for (var we = 0; we < U.length; we++)
|
|
600
|
+
Ct(U[we], e);
|
|
601
601
|
Object.freeze && Object.freeze(U);
|
|
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.");
|
|
@@ -605,35 +605,35 @@ Check the top-level render call using <` + l + ">.");
|
|
|
605
605
|
Ct(U, e);
|
|
606
606
|
}
|
|
607
607
|
if (G.call(r, "key")) {
|
|
608
|
-
var pe = L(e), Y = Object.keys(r).filter(function(
|
|
609
|
-
return
|
|
608
|
+
var pe = L(e), Y = Object.keys(r).filter(function(en) {
|
|
609
|
+
return en !== "key";
|
|
610
610
|
}), ot = Y.length > 0 ? "{key: someKey, " + Y.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
611
611
|
if (!wt[pe + ot]) {
|
|
612
|
-
var
|
|
612
|
+
var qt = Y.length > 0 ? "{" + Y.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} />`, ot, pe,
|
|
618
|
+
<%s key={someKey} {...props} />`, ot, pe, qt, pe), wt[pe + ot] = !0;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
return e === a ?
|
|
621
|
+
return e === a ? Zt(M) : Ut(M), M;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
function
|
|
624
|
+
function Xt(e, r, l) {
|
|
625
625
|
return jt(e, r, l, !0);
|
|
626
626
|
}
|
|
627
|
-
function
|
|
627
|
+
function Kt(e, r, l) {
|
|
628
628
|
return jt(e, r, l, !1);
|
|
629
629
|
}
|
|
630
|
-
var
|
|
631
|
-
Ae.Fragment = a, Ae.jsx =
|
|
630
|
+
var Jt = Kt, Qt = Xt;
|
|
631
|
+
Ae.Fragment = a, Ae.jsx = Jt, Ae.jsxs = Qt;
|
|
632
632
|
}()), Ae;
|
|
633
633
|
}
|
|
634
|
-
process.env.NODE_ENV === "production" ? ut.exports =
|
|
634
|
+
process.env.NODE_ENV === "production" ? ut.exports = Yn() : ut.exports = Gn();
|
|
635
635
|
var t = ut.exports;
|
|
636
|
-
const lt = 60, St = 6,
|
|
636
|
+
const lt = 60, St = 6, Un = (n) => {
|
|
637
637
|
const {
|
|
638
638
|
activeStepIndex: o,
|
|
639
639
|
hideIndicators: s = !1,
|
|
@@ -642,16 +642,16 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
642
642
|
light: "eggplant.light",
|
|
643
643
|
base: "eggplant.base"
|
|
644
644
|
}
|
|
645
|
-
} = n, { activeStep: u, setActiveStep: p } =
|
|
645
|
+
} = n, { activeStep: u, setActiveStep: p } = tn({
|
|
646
646
|
index: o,
|
|
647
647
|
count: a.length
|
|
648
648
|
});
|
|
649
649
|
return oe(() => {
|
|
650
650
|
p(o);
|
|
651
651
|
}, [o, p]), /* @__PURE__ */ t.jsx(
|
|
652
|
-
|
|
652
|
+
j,
|
|
653
653
|
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
|
|
654
|
-
|
|
654
|
+
nn,
|
|
655
655
|
{
|
|
656
656
|
role: "progressbar",
|
|
657
657
|
index: u,
|
|
@@ -659,30 +659,30 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
659
659
|
display: "flex",
|
|
660
660
|
flexWrap: "nowrap",
|
|
661
661
|
children: a.map((v, g) => {
|
|
662
|
-
const d = u === g, f = g === 0, x = g === a.length - 1,
|
|
662
|
+
const d = u === g, f = g === 0, x = g === a.length - 1, y = u > g;
|
|
663
663
|
let R = `${lt}px`;
|
|
664
|
-
const
|
|
665
|
-
return d ? R =
|
|
666
|
-
|
|
664
|
+
const b = `calc(100% - ((${lt * (a.length - 1)}px) - (${a.length - 1} * ${St * 2}px)))`;
|
|
665
|
+
return d ? R = b : (f || x) && (R = `${lt - St}px`), /* @__PURE__ */ t.jsx(
|
|
666
|
+
j,
|
|
667
667
|
{
|
|
668
668
|
width: R,
|
|
669
|
-
opacity:
|
|
669
|
+
opacity: y || d ? 1 : 0.2,
|
|
670
670
|
paddingRight: x ? "0" : "6px",
|
|
671
671
|
paddingLeft: f ? "0" : "6px",
|
|
672
672
|
transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
|
|
673
673
|
children: /* @__PURE__ */ t.jsx(
|
|
674
|
-
|
|
674
|
+
j,
|
|
675
675
|
{
|
|
676
676
|
paddingTop: s ? 2 : 5,
|
|
677
677
|
position: "relative",
|
|
678
678
|
width: "100%",
|
|
679
679
|
children: /* @__PURE__ */ t.jsx(
|
|
680
|
-
|
|
680
|
+
j,
|
|
681
681
|
{
|
|
682
682
|
width: "100%",
|
|
683
683
|
position: "absolute",
|
|
684
684
|
top: "0",
|
|
685
|
-
backgroundColor:
|
|
685
|
+
backgroundColor: y ? c.light : c.base,
|
|
686
686
|
height: s ? "4px" : "8px",
|
|
687
687
|
borderRadius: "4",
|
|
688
688
|
left: "0"
|
|
@@ -697,11 +697,11 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
697
697
|
}
|
|
698
698
|
) }
|
|
699
699
|
);
|
|
700
|
-
}, vr = Pe.memo(
|
|
700
|
+
}, vr = Pe.memo(Un), mr = ({
|
|
701
701
|
children: n,
|
|
702
702
|
...o
|
|
703
703
|
}) => /* @__PURE__ */ t.jsx(
|
|
704
|
-
|
|
704
|
+
_n,
|
|
705
705
|
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...o, children: n }
|
|
706
706
|
), Ee = (n, o) => {
|
|
707
707
|
const s = (n == null ? void 0 : n.startsWith("http")) || (n == null ? void 0 : n.startsWith("mailto"));
|
|
@@ -710,7 +710,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
710
710
|
} : {
|
|
711
711
|
href: n
|
|
712
712
|
};
|
|
713
|
-
}, Ge =
|
|
713
|
+
}, Ge = Ft(
|
|
714
714
|
(n, o) => {
|
|
715
715
|
const {
|
|
716
716
|
label: s,
|
|
@@ -720,16 +720,16 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
720
720
|
href: p,
|
|
721
721
|
forceMobileStyle: v = !1,
|
|
722
722
|
...g
|
|
723
|
-
} = n, d = u || X, f = Ee(p, !!u), x = v ? c || "xl" : [c || "xl", null, null, "lg"],
|
|
723
|
+
} = n, d = u || X, f = Ee(p, !!u), x = v ? c || "xl" : [c || "xl", null, null, "lg"], y = v ? "xl" : ["xl", null, null, "lg"], R = v ? void 0 : [null, null, null, 1], b = v ? void 0 : [null, null, null, "space-between"], _ = v ? "3" : [3, null, null, 0], m = v ? "1px" : ["1px", null, null, "unset"], F = v ? "tints.cream" : ["tints.cream", null, null, "unset"], S = v ? "100%" : ["100%", null, null, "fit-content"], W = v ? "none" : ["none", null, null, "block"], $ = v ? "100%" : ["100%", null, null, "auto"], B = v ? "block" : ["block", null, null, "none"];
|
|
724
724
|
return /* @__PURE__ */ t.jsxs(
|
|
725
|
-
|
|
725
|
+
j,
|
|
726
726
|
{
|
|
727
727
|
ref: o,
|
|
728
728
|
as: d,
|
|
729
729
|
display: "flex",
|
|
730
730
|
alignItems: "center",
|
|
731
731
|
gap: R,
|
|
732
|
-
justifyContent:
|
|
732
|
+
justifyContent: b,
|
|
733
733
|
paddingY: _,
|
|
734
734
|
color: "tints.black",
|
|
735
735
|
_hover: { color: "viridian.base", textDecoration: "none" },
|
|
@@ -766,7 +766,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
766
766
|
a && (typeof a == "string" ? /* @__PURE__ */ t.jsx(
|
|
767
767
|
z,
|
|
768
768
|
{
|
|
769
|
-
fontSize:
|
|
769
|
+
fontSize: y,
|
|
770
770
|
fontWeight: "medium",
|
|
771
771
|
color: "tints.uiGrey",
|
|
772
772
|
sx: {
|
|
@@ -795,7 +795,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
795
795
|
}
|
|
796
796
|
);
|
|
797
797
|
}
|
|
798
|
-
), Ue =
|
|
798
|
+
), Ue = Ft(
|
|
799
799
|
(n, o) => {
|
|
800
800
|
const { children: s, isSelected: a, ...c } = n, u = n.backgroundColor || (a ? "tints.lightCream" : "transparent");
|
|
801
801
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -830,7 +830,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
830
830
|
}
|
|
831
831
|
);
|
|
832
832
|
}
|
|
833
|
-
),
|
|
833
|
+
), Zn = ({
|
|
834
834
|
title: n,
|
|
835
835
|
description: o,
|
|
836
836
|
imageSrc: s,
|
|
@@ -842,7 +842,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
842
842
|
linkComponent: g,
|
|
843
843
|
forceMobileStyle: d = !1
|
|
844
844
|
}) => {
|
|
845
|
-
const R = g || X,
|
|
845
|
+
const R = g || X, b = Ee(v, !!g), _ = je({
|
|
846
846
|
base: !1,
|
|
847
847
|
tablet: !1,
|
|
848
848
|
largeTablet: !1,
|
|
@@ -872,10 +872,10 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
872
872
|
borderColor: "tints.white"
|
|
873
873
|
},
|
|
874
874
|
as: d ? R : _ ? k : R,
|
|
875
|
-
...d ?
|
|
875
|
+
...d ? b : _ ? {} : b,
|
|
876
876
|
children: [
|
|
877
877
|
/* @__PURE__ */ t.jsx(
|
|
878
|
-
|
|
878
|
+
j,
|
|
879
879
|
{
|
|
880
880
|
width: d ? "72px" : ["72px", null, null, "100%"],
|
|
881
881
|
height: d ? "100%" : ["100%", null, null, "188px"],
|
|
@@ -886,7 +886,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
886
886
|
}
|
|
887
887
|
},
|
|
888
888
|
children: s ? /* @__PURE__ */ t.jsx(
|
|
889
|
-
|
|
889
|
+
rn,
|
|
890
890
|
{
|
|
891
891
|
src: s,
|
|
892
892
|
objectFit: "cover",
|
|
@@ -895,7 +895,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
895
895
|
"data-testid": "spotlight-card-image"
|
|
896
896
|
}
|
|
897
897
|
) : /* @__PURE__ */ t.jsx(
|
|
898
|
-
|
|
898
|
+
j,
|
|
899
899
|
{
|
|
900
900
|
height: d ? 80 : [80, null, null, 188],
|
|
901
901
|
overflow: "hidden",
|
|
@@ -938,15 +938,15 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
938
938
|
)
|
|
939
939
|
] }
|
|
940
940
|
),
|
|
941
|
-
d ? null : _ ? /* @__PURE__ */ t.jsx(
|
|
941
|
+
d ? null : _ ? /* @__PURE__ */ t.jsx(j, { children: c }) : null
|
|
942
942
|
]
|
|
943
943
|
}
|
|
944
944
|
)
|
|
945
945
|
]
|
|
946
946
|
}
|
|
947
947
|
);
|
|
948
|
-
},
|
|
949
|
-
|
|
948
|
+
}, ye = (n) => /* @__PURE__ */ t.jsx(
|
|
949
|
+
on,
|
|
950
950
|
{
|
|
951
951
|
size: "sm",
|
|
952
952
|
width: ["40px", null, null, "46px"],
|
|
@@ -966,11 +966,11 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
966
966
|
},
|
|
967
967
|
...n
|
|
968
968
|
}
|
|
969
|
-
),
|
|
969
|
+
), Nt = ({
|
|
970
970
|
color: n = K.colors.viridian.base,
|
|
971
971
|
width: o
|
|
972
972
|
}) => /* @__PURE__ */ t.jsx(
|
|
973
|
-
|
|
973
|
+
Sn,
|
|
974
974
|
{
|
|
975
975
|
as: "svg",
|
|
976
976
|
width: o,
|
|
@@ -994,7 +994,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
994
994
|
) }
|
|
995
995
|
)
|
|
996
996
|
}
|
|
997
|
-
),
|
|
997
|
+
), Xn = () => /* @__PURE__ */ t.jsxs(
|
|
998
998
|
"svg",
|
|
999
999
|
{
|
|
1000
1000
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -1030,7 +1030,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1030
1030
|
)
|
|
1031
1031
|
]
|
|
1032
1032
|
}
|
|
1033
|
-
),
|
|
1033
|
+
), Kn = {
|
|
1034
1034
|
"&::before": {
|
|
1035
1035
|
content: '""',
|
|
1036
1036
|
position: "absolute",
|
|
@@ -1065,9 +1065,9 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1065
1065
|
logoLink: d = "https://www.everlywell.com",
|
|
1066
1066
|
setTopOffset: f,
|
|
1067
1067
|
linkComponent: x,
|
|
1068
|
-
onLogoClick:
|
|
1068
|
+
onLogoClick: y
|
|
1069
1069
|
}) => {
|
|
1070
|
-
const R =
|
|
1070
|
+
const R = Rn(null), [b] = ct(`(max-width: ${K.breakpoints.mediumTablet})`), [_] = ct(`(max-width: ${K.breakpoints.mediumDesktop})`), m = Bt(() => {
|
|
1071
1071
|
if (R.current) {
|
|
1072
1072
|
const F = R.current.getBoundingClientRect();
|
|
1073
1073
|
f(F.bottom);
|
|
@@ -1076,11 +1076,11 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1076
1076
|
return oe(() => {
|
|
1077
1077
|
m();
|
|
1078
1078
|
}, [m]), /* @__PURE__ */ t.jsx(
|
|
1079
|
-
|
|
1079
|
+
j,
|
|
1080
1080
|
{
|
|
1081
1081
|
ref: R,
|
|
1082
1082
|
paddingY: "4",
|
|
1083
|
-
paddingX:
|
|
1083
|
+
paddingX: b ? 4 : _ ? 6 : 8,
|
|
1084
1084
|
borderBottom: "1px solid",
|
|
1085
1085
|
borderColor: "tints.lightCream",
|
|
1086
1086
|
backgroundColor: "tints.white",
|
|
@@ -1093,13 +1093,13 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1093
1093
|
k,
|
|
1094
1094
|
{ alignItems: "center", gap: "5", children: [
|
|
1095
1095
|
/* @__PURE__ */ t.jsx(
|
|
1096
|
-
|
|
1096
|
+
j,
|
|
1097
1097
|
{
|
|
1098
1098
|
"aria-label": "Go to homepage",
|
|
1099
|
-
onClick:
|
|
1099
|
+
onClick: y,
|
|
1100
1100
|
as: x || X,
|
|
1101
1101
|
...Ee(d, !!x),
|
|
1102
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1102
|
+
children: /* @__PURE__ */ t.jsx(Nt, { width: "116px" })
|
|
1103
1103
|
}
|
|
1104
1104
|
),
|
|
1105
1105
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1112,53 +1112,38 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1112
1112
|
k,
|
|
1113
1113
|
{ alignItems: "center", gap: "2", children: [
|
|
1114
1114
|
/* @__PURE__ */ t.jsx(
|
|
1115
|
-
|
|
1115
|
+
j,
|
|
1116
1116
|
{ display: ["none", null, "none", "none", "none", "block"], children: o }
|
|
1117
1117
|
),
|
|
1118
|
-
p ? g ?
|
|
1119
|
-
he,
|
|
1120
|
-
{
|
|
1121
|
-
"aria-label": "Search",
|
|
1122
|
-
icon: /* @__PURE__ */ t.jsx(Tt, {}),
|
|
1123
|
-
onClick: v,
|
|
1124
|
-
backgroundColor: "eggplant.wash",
|
|
1125
|
-
fill: "eggplant.base",
|
|
1126
|
-
_hover: {
|
|
1127
|
-
backgroundColor: "eggplant.wash",
|
|
1128
|
-
filter: "brightness(0.95)"
|
|
1129
|
-
},
|
|
1130
|
-
position: "relative",
|
|
1131
|
-
overflow: "hidden",
|
|
1132
|
-
sx: Dt
|
|
1133
|
-
}
|
|
1134
|
-
) : /* @__PURE__ */ t.jsxs(
|
|
1118
|
+
p ? g ? /* @__PURE__ */ t.jsxs(
|
|
1135
1119
|
ht,
|
|
1136
1120
|
{
|
|
1137
|
-
height: "48px",
|
|
1138
|
-
paddingX: "16px !important",
|
|
1139
|
-
fontSize: "lg",
|
|
1140
|
-
color: "
|
|
1121
|
+
height: b ? "40px" : "48px",
|
|
1122
|
+
paddingX: b ? "12px !important" : "16px !important",
|
|
1123
|
+
fontSize: b ? "12px" : "lg",
|
|
1124
|
+
color: "violet.dark",
|
|
1141
1125
|
backgroundColor: "eggplant.wash",
|
|
1142
1126
|
_hover: {
|
|
1143
1127
|
backgroundColor: "eggplant.wash",
|
|
1144
1128
|
filter: "brightness(0.95)"
|
|
1145
1129
|
},
|
|
1146
1130
|
fill: "eggplant.base",
|
|
1147
|
-
gap: 2,
|
|
1131
|
+
gap: b ? 1 : 2,
|
|
1148
1132
|
onClick: v,
|
|
1149
1133
|
position: "relative",
|
|
1150
1134
|
overflow: "hidden",
|
|
1151
|
-
|
|
1135
|
+
borderRadius: "full",
|
|
1136
|
+
sx: Kn,
|
|
1152
1137
|
children: [
|
|
1153
|
-
/* @__PURE__ */ t.jsx(
|
|
1154
|
-
/* @__PURE__ */ t.jsx("span", { children: "Ask or Search" })
|
|
1138
|
+
/* @__PURE__ */ t.jsx(Xn, {}),
|
|
1139
|
+
/* @__PURE__ */ t.jsx("span", { children: b ? "AI Search" : "Ask or Search" })
|
|
1155
1140
|
]
|
|
1156
1141
|
}
|
|
1157
1142
|
) : /* @__PURE__ */ t.jsx(
|
|
1158
|
-
|
|
1143
|
+
ye,
|
|
1159
1144
|
{
|
|
1160
1145
|
"aria-label": "Search",
|
|
1161
|
-
icon: /* @__PURE__ */ t.jsx(ee, { as:
|
|
1146
|
+
icon: /* @__PURE__ */ t.jsx(ee, { as: zt }),
|
|
1162
1147
|
onClick: c,
|
|
1163
1148
|
backgroundColor: "tints.cream",
|
|
1164
1149
|
color: "tints.black",
|
|
@@ -1170,11 +1155,11 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1170
1155
|
) : null,
|
|
1171
1156
|
a,
|
|
1172
1157
|
/* @__PURE__ */ t.jsx(
|
|
1173
|
-
|
|
1158
|
+
j,
|
|
1174
1159
|
{ display: ["flex", null, null, "flex", "flex", "flex", "none"], children: /* @__PURE__ */ t.jsx(
|
|
1175
|
-
|
|
1160
|
+
ye,
|
|
1176
1161
|
{
|
|
1177
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1162
|
+
icon: /* @__PURE__ */ t.jsx(On, {}),
|
|
1178
1163
|
"aria-label": "menu",
|
|
1179
1164
|
"data-testid": "menu-button",
|
|
1180
1165
|
onClick: u
|
|
@@ -1182,7 +1167,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1182
1167
|
) }
|
|
1183
1168
|
),
|
|
1184
1169
|
/* @__PURE__ */ t.jsx(
|
|
1185
|
-
|
|
1170
|
+
j,
|
|
1186
1171
|
{ display: ["none", null, null, "none", "none", "none", "block"], children: s }
|
|
1187
1172
|
)
|
|
1188
1173
|
] }
|
|
@@ -1195,11 +1180,11 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1195
1180
|
count: n = 0,
|
|
1196
1181
|
...o
|
|
1197
1182
|
}) => /* @__PURE__ */ t.jsxs(
|
|
1198
|
-
|
|
1183
|
+
j,
|
|
1199
1184
|
{ position: "relative", display: "inline-block", children: [
|
|
1200
|
-
/* @__PURE__ */ t.jsx(
|
|
1185
|
+
/* @__PURE__ */ t.jsx(ye, { icon: /* @__PURE__ */ t.jsx(An, {}), ...o }),
|
|
1201
1186
|
n > 0 && /* @__PURE__ */ t.jsx(
|
|
1202
|
-
|
|
1187
|
+
j,
|
|
1203
1188
|
{
|
|
1204
1189
|
display: "flex",
|
|
1205
1190
|
minWidth: "20px",
|
|
@@ -1224,9 +1209,9 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1224
1209
|
numDesktopLinks: n = 5,
|
|
1225
1210
|
showPromoButton: o = !1
|
|
1226
1211
|
}) => /* @__PURE__ */ t.jsx(
|
|
1227
|
-
|
|
1212
|
+
ln,
|
|
1228
1213
|
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
|
|
1229
|
-
|
|
1214
|
+
j,
|
|
1230
1215
|
{
|
|
1231
1216
|
paddingY: 4,
|
|
1232
1217
|
paddingX: 6,
|
|
@@ -1309,7 +1294,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1309
1294
|
return n.includes(o) || o.includes(n);
|
|
1310
1295
|
const a = er(n, o), c = Math.max(n.length, o.length);
|
|
1311
1296
|
return 1 - a / c >= s;
|
|
1312
|
-
},
|
|
1297
|
+
}, Tt = (n, o) => {
|
|
1313
1298
|
const s = n.split(/\s+/);
|
|
1314
1299
|
return o.length <= 4 ? s.some((a) => a.includes(o)) : s.some((a) => {
|
|
1315
1300
|
if (Ze(a, o))
|
|
@@ -1322,7 +1307,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1322
1307
|
}
|
|
1323
1308
|
return !1;
|
|
1324
1309
|
});
|
|
1325
|
-
}, dt = "nav-drawer-hover", ft = "nav-drawer-animation-start", pt = "nav-drawer-animation-end",
|
|
1310
|
+
}, dt = "nav-drawer-hover", ft = "nav-drawer-animation-start", pt = "nav-drawer-animation-end", Dt = (n) => {
|
|
1326
1311
|
window.dispatchEvent(
|
|
1327
1312
|
new CustomEvent(dt, {
|
|
1328
1313
|
detail: { isHovering: n },
|
|
@@ -1330,14 +1315,14 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1330
1315
|
cancelable: !0
|
|
1331
1316
|
})
|
|
1332
1317
|
);
|
|
1333
|
-
},
|
|
1318
|
+
}, It = (n) => {
|
|
1334
1319
|
window.dispatchEvent(
|
|
1335
1320
|
new CustomEvent(n, {
|
|
1336
1321
|
bubbles: !0,
|
|
1337
1322
|
cancelable: !0
|
|
1338
1323
|
})
|
|
1339
1324
|
);
|
|
1340
|
-
}, tr = (n = !1, o = !1, s = !1) => n || !o ? "column" : s ? "row" : "row-reverse", nr = gt(
|
|
1325
|
+
}, tr = (n = !1, o = !1, s = !1) => n || !o ? "column" : s ? "row" : "row-reverse", nr = gt(At), rr = gt(Pt), st = ({
|
|
1341
1326
|
isOpen: n = !1,
|
|
1342
1327
|
onClose: o,
|
|
1343
1328
|
title: s,
|
|
@@ -1350,33 +1335,33 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1350
1335
|
hasOnlySpotlightCards: d = !1,
|
|
1351
1336
|
hasSearch: f = !1,
|
|
1352
1337
|
onSearch: x = () => ({}),
|
|
1353
|
-
topOffset:
|
|
1338
|
+
topOffset: y,
|
|
1354
1339
|
forceMobilePlacement: R = !1
|
|
1355
1340
|
}) => {
|
|
1356
1341
|
var V, ie, le, ne, T, L;
|
|
1357
|
-
const
|
|
1342
|
+
const b = je({
|
|
1358
1343
|
base: !1,
|
|
1359
1344
|
tablet: !1,
|
|
1360
1345
|
largeTablet: !1,
|
|
1361
1346
|
mediumDesktop: !0,
|
|
1362
1347
|
desktop: !0,
|
|
1363
1348
|
fullDesktop: !0
|
|
1364
|
-
}) ?? !1, _ = R ? "right" :
|
|
1349
|
+
}) ?? !1, _ = R ? "right" : b ? "top" : "right", m = _ === "right", [F, S] = Z(0), [W, $] = Z(!1), B = () => {
|
|
1365
1350
|
S((O) => O + 1);
|
|
1366
|
-
}, J =
|
|
1351
|
+
}, J = Bt(
|
|
1367
1352
|
qn((O) => {
|
|
1368
1353
|
x(O), B();
|
|
1369
1354
|
}, 100),
|
|
1370
1355
|
[]
|
|
1371
1356
|
);
|
|
1372
1357
|
oe(() => {
|
|
1373
|
-
n && ($(!0),
|
|
1358
|
+
n && ($(!0), It(ft));
|
|
1374
1359
|
}, [n]);
|
|
1375
1360
|
const te = () => {
|
|
1376
|
-
n || ($(!1), o()),
|
|
1361
|
+
n || ($(!1), o()), It(pt);
|
|
1377
1362
|
};
|
|
1378
1363
|
return /* @__PURE__ */ t.jsx(
|
|
1379
|
-
|
|
1364
|
+
$t,
|
|
1380
1365
|
{
|
|
1381
1366
|
isOpen: W || n,
|
|
1382
1367
|
closeOnOverlayClick: !0,
|
|
@@ -1410,7 +1395,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1410
1395
|
dialogContainer: {
|
|
1411
1396
|
...(L = (T = K.components.Drawer) == null ? void 0 : T.baseStyle) == null ? void 0 : L.dialogContainer,
|
|
1412
1397
|
// Push the drawer down by the top offset on desktop to not cover the top navigation
|
|
1413
|
-
top: `${
|
|
1398
|
+
top: `${y}px`,
|
|
1414
1399
|
// Lower index on desktop to make sure the drawer is below the top navigation
|
|
1415
1400
|
zIndex: "overlay"
|
|
1416
1401
|
}
|
|
@@ -1418,7 +1403,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1418
1403
|
}
|
|
1419
1404
|
},
|
|
1420
1405
|
children: /* @__PURE__ */ t.jsx(
|
|
1421
|
-
|
|
1406
|
+
Vn,
|
|
1422
1407
|
{ children: n ? /* @__PURE__ */ t.jsxs(
|
|
1423
1408
|
t.Fragment,
|
|
1424
1409
|
{ children: [
|
|
@@ -1426,7 +1411,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1426
1411
|
rr,
|
|
1427
1412
|
{
|
|
1428
1413
|
backgroundColor: "tints.black",
|
|
1429
|
-
top: m ? "0" : `${
|
|
1414
|
+
top: m ? "0" : `${y}px`,
|
|
1430
1415
|
opacity: m ? "0.4 !important" : void 0,
|
|
1431
1416
|
zIndex: m ? "modal" : "overlay",
|
|
1432
1417
|
...m ? {} : {
|
|
@@ -1449,10 +1434,10 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1449
1434
|
ae && ae.href === window.location.href && o();
|
|
1450
1435
|
},
|
|
1451
1436
|
onMouseEnter: () => {
|
|
1452
|
-
m ||
|
|
1437
|
+
m || Dt(!0);
|
|
1453
1438
|
},
|
|
1454
1439
|
onMouseLeave: (O) => {
|
|
1455
|
-
m || (!f || f && (O.target === O.currentTarget || !O.currentTarget.contains(O.target) && !W)) &&
|
|
1440
|
+
m || (!f || f && (O.target === O.currentTarget || !O.currentTarget.contains(O.target) && !W)) && Dt(!1);
|
|
1456
1441
|
},
|
|
1457
1442
|
paddingTop: "4",
|
|
1458
1443
|
paddingX: m ? "4" : "12",
|
|
@@ -1460,7 +1445,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1460
1445
|
overflow: m ? "auto" : "hidden",
|
|
1461
1446
|
maxHeight: "100vh",
|
|
1462
1447
|
position: "relative",
|
|
1463
|
-
top: m ? void 0 : `${
|
|
1448
|
+
top: m ? void 0 : `${y}px !important`,
|
|
1464
1449
|
onAnimationComplete: te,
|
|
1465
1450
|
boxShadow: "none",
|
|
1466
1451
|
...m ? {
|
|
@@ -1476,7 +1461,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1476
1461
|
},
|
|
1477
1462
|
children: [
|
|
1478
1463
|
!f && !m ? null : /* @__PURE__ */ t.jsxs(
|
|
1479
|
-
|
|
1464
|
+
Mt,
|
|
1480
1465
|
{
|
|
1481
1466
|
padding: "0",
|
|
1482
1467
|
flexDirection: f ? "column" : "row",
|
|
@@ -1490,9 +1475,9 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1490
1475
|
alignItems: "center",
|
|
1491
1476
|
children: [
|
|
1492
1477
|
v ? /* @__PURE__ */ t.jsx(
|
|
1493
|
-
|
|
1478
|
+
ye,
|
|
1494
1479
|
{
|
|
1495
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1480
|
+
icon: /* @__PURE__ */ t.jsx(Pn, {}),
|
|
1496
1481
|
onClick: () => {
|
|
1497
1482
|
g && g();
|
|
1498
1483
|
},
|
|
@@ -1508,9 +1493,9 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1508
1493
|
}
|
|
1509
1494
|
),
|
|
1510
1495
|
/* @__PURE__ */ t.jsx(
|
|
1511
|
-
|
|
1496
|
+
ye,
|
|
1512
1497
|
{
|
|
1513
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1498
|
+
icon: /* @__PURE__ */ t.jsx(Wt, {}),
|
|
1514
1499
|
onClick: o,
|
|
1515
1500
|
"aria-label": "Close"
|
|
1516
1501
|
}
|
|
@@ -1519,10 +1504,10 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1519
1504
|
}
|
|
1520
1505
|
) : null,
|
|
1521
1506
|
f && /* @__PURE__ */ t.jsxs(
|
|
1522
|
-
|
|
1507
|
+
Tn,
|
|
1523
1508
|
{ width: "100%", children: [
|
|
1524
1509
|
/* @__PURE__ */ t.jsx(
|
|
1525
|
-
|
|
1510
|
+
Dn,
|
|
1526
1511
|
{
|
|
1527
1512
|
onChange: (O) => {
|
|
1528
1513
|
J(O.target.value);
|
|
@@ -1534,8 +1519,8 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1534
1519
|
}
|
|
1535
1520
|
),
|
|
1536
1521
|
/* @__PURE__ */ t.jsx(
|
|
1537
|
-
|
|
1538
|
-
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(
|
|
1522
|
+
In,
|
|
1523
|
+
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(Ln, { as: zt, color: "gray.500" }) }
|
|
1539
1524
|
)
|
|
1540
1525
|
] }
|
|
1541
1526
|
)
|
|
@@ -1543,7 +1528,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1543
1528
|
}
|
|
1544
1529
|
),
|
|
1545
1530
|
/* @__PURE__ */ t.jsx(
|
|
1546
|
-
|
|
1531
|
+
Ht,
|
|
1547
1532
|
{
|
|
1548
1533
|
paddingX: "0",
|
|
1549
1534
|
paddingBottom: m ? "6" : "4",
|
|
@@ -1578,7 +1563,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1578
1563
|
},
|
|
1579
1564
|
children: [
|
|
1580
1565
|
u ? /* @__PURE__ */ t.jsx(
|
|
1581
|
-
|
|
1566
|
+
j,
|
|
1582
1567
|
{
|
|
1583
1568
|
gap: m ? "3" : "6",
|
|
1584
1569
|
display: "flex",
|
|
@@ -1598,10 +1583,10 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1598
1583
|
gap: "6",
|
|
1599
1584
|
width: m ? "100%" : f ? void 0 : "auto",
|
|
1600
1585
|
children: [
|
|
1601
|
-
a ? /* @__PURE__ */ t.jsx(
|
|
1602
|
-
c && m ? /* @__PURE__ */ t.jsx(
|
|
1586
|
+
a ? /* @__PURE__ */ t.jsx(j, { children: a }) : null,
|
|
1587
|
+
c && m ? /* @__PURE__ */ t.jsx(j, { children: c }) : null,
|
|
1603
1588
|
p ? /* @__PURE__ */ t.jsx(
|
|
1604
|
-
|
|
1589
|
+
j,
|
|
1605
1590
|
{
|
|
1606
1591
|
width: "100%",
|
|
1607
1592
|
position: m ? void 0 : "absolute",
|
|
@@ -1635,15 +1620,15 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1635
1620
|
const [a, c] = Z(""), [u, p] = Z([]), v = (f, x) => {
|
|
1636
1621
|
if (!f) return [];
|
|
1637
1622
|
const R = at(f).split(/\s+/);
|
|
1638
|
-
return x.filter((
|
|
1639
|
-
const _ = at(
|
|
1640
|
-
if (R.some(($) =>
|
|
1641
|
-
const F = _.split(/\s+/), S = R.some(($) => F.some((B) => B.includes($) || Ze($, B))), W = typeof
|
|
1642
|
-
const B = at(
|
|
1643
|
-
return
|
|
1623
|
+
return x.filter((b) => {
|
|
1624
|
+
const _ = at(b.label);
|
|
1625
|
+
if (R.some(($) => Tt(_, $))) return !0;
|
|
1626
|
+
const F = _.split(/\s+/), S = R.some(($) => F.some((B) => B.includes($) || Ze($, B))), W = typeof b.additionalContent == "string" && R.some(($) => {
|
|
1627
|
+
const B = at(b.additionalContent);
|
|
1628
|
+
return Tt(B, $) || B.split(/\s+/).some((J) => J.includes($) || Ze($, J));
|
|
1644
1629
|
});
|
|
1645
1630
|
return S || W;
|
|
1646
|
-
}).sort((
|
|
1631
|
+
}).sort((b, _) => b.label.localeCompare(_.label));
|
|
1647
1632
|
}, g = (f) => {
|
|
1648
1633
|
if (c(f), !f) {
|
|
1649
1634
|
p([]);
|
|
@@ -1685,9 +1670,9 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1685
1670
|
profileUrl: d = "https://secure.everlywell.com/login",
|
|
1686
1671
|
mobileBottomButtons: f = [],
|
|
1687
1672
|
numberOfCartItems: x = 0,
|
|
1688
|
-
linkComponent:
|
|
1673
|
+
linkComponent: y,
|
|
1689
1674
|
onSearchCallback: R,
|
|
1690
|
-
onLinkClick:
|
|
1675
|
+
onLinkClick: b,
|
|
1691
1676
|
onCategoryOpen: _,
|
|
1692
1677
|
onMobileMenuOpen: m,
|
|
1693
1678
|
onBackToMainMenu: F,
|
|
@@ -1699,7 +1684,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1699
1684
|
hideableButtons: te
|
|
1700
1685
|
}) => {
|
|
1701
1686
|
var Ve, Ie, Le;
|
|
1702
|
-
const [V, ie] = Z(!1), [le, ne] = Z(!1), [T, L] = Z(null), [O, q] = Z(!1), [ae, $e] = Z(!1), [
|
|
1687
|
+
const [V, ie] = Z(!1), [le, ne] = Z(!1), [T, L] = Z(null), [O, q] = Z(!1), [ae, $e] = Z(!1), [he, Me] = Z(0), [He, ke] = Z(!1), [Re, se] = Z(!1);
|
|
1703
1688
|
oe(() => {
|
|
1704
1689
|
const i = () => ke(!0), I = () => ke(!1);
|
|
1705
1690
|
return window.addEventListener(ft, i), window.addEventListener(pt, I), () => {
|
|
@@ -1709,21 +1694,21 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1709
1694
|
), window.removeEventListener(pt, I);
|
|
1710
1695
|
};
|
|
1711
1696
|
}, []);
|
|
1712
|
-
const Fe =
|
|
1697
|
+
const Fe = je({
|
|
1713
1698
|
base: !1,
|
|
1714
1699
|
tablet: !1,
|
|
1715
1700
|
largeTablet: !1,
|
|
1716
1701
|
mediumDesktop: !0,
|
|
1717
1702
|
desktop: !0,
|
|
1718
1703
|
fullDesktop: !0
|
|
1719
|
-
}) ?? !1, ce =
|
|
1704
|
+
}) ?? !1, ce = je({
|
|
1720
1705
|
base: !1,
|
|
1721
1706
|
tablet: !1,
|
|
1722
1707
|
largeTablet: !1,
|
|
1723
1708
|
mediumDesktop: !1,
|
|
1724
1709
|
desktop: !1,
|
|
1725
1710
|
fullDesktop: !0
|
|
1726
|
-
}) ?? !1, _e = !ce, Se =
|
|
1711
|
+
}) ?? !1, _e = !ce, Se = je({
|
|
1727
1712
|
base: !0,
|
|
1728
1713
|
tablet: !0,
|
|
1729
1714
|
largeTablet: !0,
|
|
@@ -1735,14 +1720,14 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1735
1720
|
re(), L(null);
|
|
1736
1721
|
}, [Fe]);
|
|
1737
1722
|
const {
|
|
1738
|
-
query:
|
|
1723
|
+
query: ge,
|
|
1739
1724
|
results: ue,
|
|
1740
|
-
handleSearch:
|
|
1725
|
+
handleSearch: xe
|
|
1741
1726
|
} = or({
|
|
1742
1727
|
source: ir(n),
|
|
1743
1728
|
onSearchCallback: R,
|
|
1744
1729
|
isActive: le
|
|
1745
|
-
}), Be = ue.length > 0,
|
|
1730
|
+
}), Be = ue.length > 0, ve = y || X, Xe = Ee(B, !!y), Ke = ge && /* @__PURE__ */ t.jsxs(
|
|
1746
1731
|
k,
|
|
1747
1732
|
{ gap: Be ? "6" : 0, direction: "column", children: [
|
|
1748
1733
|
Be ? /* @__PURE__ */ t.jsx(z, { color: "tints.uiGrey", children: `${ue.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
@@ -1755,7 +1740,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1755
1740
|
/* @__PURE__ */ t.jsx(
|
|
1756
1741
|
ht,
|
|
1757
1742
|
{
|
|
1758
|
-
as:
|
|
1743
|
+
as: ve,
|
|
1759
1744
|
onClick: J,
|
|
1760
1745
|
_hover: { textDecoration: "none" },
|
|
1761
1746
|
width: ["100%", null, null, "auto"],
|
|
@@ -1766,17 +1751,17 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1766
1751
|
] }
|
|
1767
1752
|
),
|
|
1768
1753
|
/* @__PURE__ */ t.jsx(
|
|
1769
|
-
|
|
1754
|
+
an,
|
|
1770
1755
|
{ columns: [1, 1, 1, 4], children: ue.map(
|
|
1771
1756
|
(i, I) => /* @__PURE__ */ t.jsx(
|
|
1772
|
-
|
|
1757
|
+
sn,
|
|
1773
1758
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1774
1759
|
Ge,
|
|
1775
1760
|
{
|
|
1776
1761
|
href: i.href,
|
|
1777
1762
|
label: i.label,
|
|
1778
1763
|
additionalContent: i == null ? void 0 : i.additionalContent,
|
|
1779
|
-
linkComponent:
|
|
1764
|
+
linkComponent: y,
|
|
1780
1765
|
forceMobileStyle: !Fe
|
|
1781
1766
|
}
|
|
1782
1767
|
) },
|
|
@@ -1788,10 +1773,10 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1788
1773
|
), re = () => {
|
|
1789
1774
|
ie(!1), L(null);
|
|
1790
1775
|
}, G = (i) => "href" in i, ze = (i) => {
|
|
1791
|
-
G(i) ?
|
|
1776
|
+
G(i) ? b == null || b(i.label) : (se(V || !ce), L(i));
|
|
1792
1777
|
}, We = (i) => {
|
|
1793
1778
|
q(!0), ne(!1), L(null), !G(i) && (i.sections || i.spotlightCards) && (se(!1), L(i));
|
|
1794
|
-
},
|
|
1779
|
+
}, me = () => {
|
|
1795
1780
|
q(!1);
|
|
1796
1781
|
};
|
|
1797
1782
|
oe(() => {
|
|
@@ -1820,7 +1805,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1820
1805
|
};
|
|
1821
1806
|
}, []);
|
|
1822
1807
|
const Te = (i) => G(i) && (!i.buttonProps || Object.keys(i.buttonProps).length === 0 || i.buttonProps === void 0), Je = n == null ? void 0 : n.map((i, I) => {
|
|
1823
|
-
var H,
|
|
1808
|
+
var H, be;
|
|
1824
1809
|
const A = te.includes(i.label);
|
|
1825
1810
|
return /* @__PURE__ */ t.jsx(
|
|
1826
1811
|
Ue,
|
|
@@ -1830,11 +1815,11 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1830
1815
|
onMouseEnter: () => {
|
|
1831
1816
|
We(i), _ == null || _(i.label);
|
|
1832
1817
|
},
|
|
1833
|
-
onMouseLeave:
|
|
1818
|
+
onMouseLeave: me,
|
|
1834
1819
|
isSelected: (T == null ? void 0 : T.label) === i.label,
|
|
1835
|
-
as: G(i) &&
|
|
1820
|
+
as: G(i) && ve ? ve : X,
|
|
1836
1821
|
href: G(i) ? i.href : void 0,
|
|
1837
|
-
onClick: G(i) ? () =>
|
|
1822
|
+
onClick: G(i) ? () => b == null ? void 0 : b(i.label) : void 0,
|
|
1838
1823
|
...A && {
|
|
1839
1824
|
display: { base: "none", fullDesktop: "flex" }
|
|
1840
1825
|
},
|
|
@@ -1845,7 +1830,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1845
1830
|
filter: "brightness(0.95)"
|
|
1846
1831
|
}
|
|
1847
1832
|
} : {},
|
|
1848
|
-
...((
|
|
1833
|
+
...((be = i == null ? void 0 : i.context) == null ? void 0 : be.desktop) !== "link" && i.buttonProps,
|
|
1849
1834
|
children: i.label
|
|
1850
1835
|
},
|
|
1851
1836
|
`${i.label}-${I}`
|
|
@@ -1859,7 +1844,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1859
1844
|
var H;
|
|
1860
1845
|
const A = i;
|
|
1861
1846
|
return Te(A) || ((H = A == null ? void 0 : A.context) == null ? void 0 : H.mobile) === "link" ? /* @__PURE__ */ t.jsx(
|
|
1862
|
-
|
|
1847
|
+
j,
|
|
1863
1848
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1864
1849
|
Ge,
|
|
1865
1850
|
{
|
|
@@ -1867,13 +1852,13 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1867
1852
|
role: "link",
|
|
1868
1853
|
href: A.href,
|
|
1869
1854
|
mainTextFontSize: "3xl",
|
|
1870
|
-
linkComponent:
|
|
1855
|
+
linkComponent: y,
|
|
1871
1856
|
forceMobileStyle: !0
|
|
1872
1857
|
}
|
|
1873
1858
|
) },
|
|
1874
1859
|
`${A.label}-${I}`
|
|
1875
1860
|
) : /* @__PURE__ */ t.jsx(
|
|
1876
|
-
|
|
1861
|
+
j,
|
|
1877
1862
|
{
|
|
1878
1863
|
onClick: () => {
|
|
1879
1864
|
ze(A), _ == null || _(A.label);
|
|
@@ -1885,7 +1870,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1885
1870
|
role: "link",
|
|
1886
1871
|
additionalContent: A.additionalContent,
|
|
1887
1872
|
mainTextFontSize: "3xl",
|
|
1888
|
-
linkComponent:
|
|
1873
|
+
linkComponent: y,
|
|
1889
1874
|
forceMobileStyle: !0
|
|
1890
1875
|
}
|
|
1891
1876
|
)
|
|
@@ -1925,7 +1910,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1925
1910
|
k,
|
|
1926
1911
|
{ gap: "2", children: [
|
|
1927
1912
|
"Register kit",
|
|
1928
|
-
/* @__PURE__ */ t.jsx(ee, { as:
|
|
1913
|
+
/* @__PURE__ */ t.jsx(ee, { as: $n, size: 24 })
|
|
1929
1914
|
] }
|
|
1930
1915
|
)
|
|
1931
1916
|
},
|
|
@@ -1945,7 +1930,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1945
1930
|
for (let H = 0; H < i.links.length; H += 3)
|
|
1946
1931
|
A.push(i.links.slice(H, H + 3));
|
|
1947
1932
|
return /* @__PURE__ */ t.jsxs(
|
|
1948
|
-
|
|
1933
|
+
j,
|
|
1949
1934
|
{ children: [
|
|
1950
1935
|
/* @__PURE__ */ t.jsx(
|
|
1951
1936
|
z,
|
|
@@ -1962,7 +1947,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1962
1947
|
flexDirection: Q ? "column" : ["column", null, null, "row"],
|
|
1963
1948
|
gap: Q ? void 0 : [null, null, null, 8],
|
|
1964
1949
|
children: A == null ? void 0 : A.map(
|
|
1965
|
-
(H,
|
|
1950
|
+
(H, be) => /* @__PURE__ */ t.jsx(
|
|
1966
1951
|
k,
|
|
1967
1952
|
{
|
|
1968
1953
|
flexDirection: "column",
|
|
@@ -1975,15 +1960,15 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1975
1960
|
label: fe.label,
|
|
1976
1961
|
href: fe.href,
|
|
1977
1962
|
additionalContent: fe.additionalContent,
|
|
1978
|
-
linkComponent:
|
|
1963
|
+
linkComponent: y,
|
|
1979
1964
|
forceMobileStyle: Q,
|
|
1980
|
-
onClick: () =>
|
|
1965
|
+
onClick: () => b == null ? void 0 : b(fe.label)
|
|
1981
1966
|
},
|
|
1982
1967
|
`${fe.label}-${et}`
|
|
1983
1968
|
)
|
|
1984
1969
|
)
|
|
1985
1970
|
},
|
|
1986
|
-
|
|
1971
|
+
be
|
|
1987
1972
|
)
|
|
1988
1973
|
)
|
|
1989
1974
|
}
|
|
@@ -1994,16 +1979,16 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
1994
1979
|
}) }
|
|
1995
1980
|
) : null, de = T != null && T.spotlightCards ? (Le = T.spotlightCards) == null ? void 0 : Le.map(
|
|
1996
1981
|
(i, I) => /* @__PURE__ */ t.jsx(
|
|
1997
|
-
|
|
1982
|
+
Zn,
|
|
1998
1983
|
{
|
|
1999
1984
|
...i,
|
|
2000
1985
|
forceMobileStyle: Q
|
|
2001
1986
|
},
|
|
2002
1987
|
`${i.title}-${I}`
|
|
2003
1988
|
)
|
|
2004
|
-
) : /* @__PURE__ */ t.jsx(
|
|
1989
|
+
) : /* @__PURE__ */ t.jsx(j, {});
|
|
2005
1990
|
return /* @__PURE__ */ t.jsxs(
|
|
2006
|
-
|
|
1991
|
+
j,
|
|
2007
1992
|
{
|
|
2008
1993
|
as: "nav",
|
|
2009
1994
|
"aria-label": "Main navigation",
|
|
@@ -2030,7 +2015,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2030
2015
|
),
|
|
2031
2016
|
profileElement: /* @__PURE__ */ t.jsx(
|
|
2032
2017
|
X,
|
|
2033
|
-
{ href: d, "aria-label": "login", onClick: W, children: /* @__PURE__ */ t.jsx(
|
|
2018
|
+
{ href: d, "aria-label": "login", onClick: W, children: /* @__PURE__ */ t.jsx(ye, { icon: /* @__PURE__ */ t.jsx(ee, { as: kt }), "aria-label": "Profile" }) }
|
|
2034
2019
|
),
|
|
2035
2020
|
cartElement: /* @__PURE__ */ t.jsx(
|
|
2036
2021
|
Qn,
|
|
@@ -2050,13 +2035,13 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2050
2035
|
hasEvaEnabled: u,
|
|
2051
2036
|
onEvaClick: p,
|
|
2052
2037
|
logoLink: a,
|
|
2053
|
-
linkComponent:
|
|
2038
|
+
linkComponent: y,
|
|
2054
2039
|
onLogoClick: $,
|
|
2055
2040
|
setTopOffset: Me
|
|
2056
2041
|
}
|
|
2057
2042
|
),
|
|
2058
2043
|
/* @__PURE__ */ t.jsxs(
|
|
2059
|
-
|
|
2044
|
+
j,
|
|
2060
2045
|
{ position: "relative", zIndex: "modal", children: [
|
|
2061
2046
|
/* @__PURE__ */ t.jsx(
|
|
2062
2047
|
st,
|
|
@@ -2067,7 +2052,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2067
2052
|
navDrawerLinks: De,
|
|
2068
2053
|
bottomNavButtons: qe,
|
|
2069
2054
|
hasBackButton: !1,
|
|
2070
|
-
topOffset:
|
|
2055
|
+
topOffset: he,
|
|
2071
2056
|
forceMobilePlacement: !0
|
|
2072
2057
|
}
|
|
2073
2058
|
),
|
|
@@ -2086,7 +2071,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2086
2071
|
spotlightCards: de,
|
|
2087
2072
|
hasOnlySpotlightCards: T == null ? void 0 : T.hasOnlySpotlightCards,
|
|
2088
2073
|
bottomButton: T == null ? void 0 : T.bottomButton,
|
|
2089
|
-
topOffset:
|
|
2074
|
+
topOffset: he,
|
|
2090
2075
|
forceMobilePlacement: Re || V || // Below 1400px, if main menu is open, always use mobile closing
|
|
2091
2076
|
V && !ce
|
|
2092
2077
|
}
|
|
@@ -2098,10 +2083,10 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2098
2083
|
onClose: () => ne(!1),
|
|
2099
2084
|
title: "Search",
|
|
2100
2085
|
navDrawerLinks: Ke,
|
|
2101
|
-
onSearch:
|
|
2086
|
+
onSearch: xe,
|
|
2102
2087
|
hasSearch: !0,
|
|
2103
2088
|
hasBackButton: !1,
|
|
2104
|
-
topOffset:
|
|
2089
|
+
topOffset: he
|
|
2105
2090
|
}
|
|
2106
2091
|
)
|
|
2107
2092
|
] }
|
|
@@ -2109,7 +2094,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2109
2094
|
]
|
|
2110
2095
|
}
|
|
2111
2096
|
);
|
|
2112
|
-
},
|
|
2097
|
+
}, Lt = ({ links: n, linkComponent: o, onLinkClick: s }) => {
|
|
2113
2098
|
const a = o || X, c = (u) => {
|
|
2114
2099
|
s && s(u);
|
|
2115
2100
|
};
|
|
@@ -2134,12 +2119,12 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2134
2119
|
}, lr = ({ title: n, links: o, isLast: s }) => {
|
|
2135
2120
|
const a = s ? "transparent" : `${K.colors.viridian.lighter}20`;
|
|
2136
2121
|
return o ? /* @__PURE__ */ t.jsx(
|
|
2137
|
-
|
|
2122
|
+
un,
|
|
2138
2123
|
{ borderColor: a, children: ({ isExpanded: c }) => /* @__PURE__ */ t.jsxs(
|
|
2139
2124
|
t.Fragment,
|
|
2140
2125
|
{ children: [
|
|
2141
2126
|
/* @__PURE__ */ t.jsxs(
|
|
2142
|
-
|
|
2127
|
+
dn,
|
|
2143
2128
|
{ paddingX: 0, paddingY: 4, _hover: { bg: "transparent" }, children: [
|
|
2144
2129
|
/* @__PURE__ */ t.jsx(
|
|
2145
2130
|
z,
|
|
@@ -2148,7 +2133,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2148
2133
|
/* @__PURE__ */ t.jsx(
|
|
2149
2134
|
ee,
|
|
2150
2135
|
{
|
|
2151
|
-
as:
|
|
2136
|
+
as: Mn,
|
|
2152
2137
|
size: "sm",
|
|
2153
2138
|
color: "viridian.lighter",
|
|
2154
2139
|
transform: c ? "rotate(-180deg)" : "rotate(0deg)",
|
|
@@ -2158,14 +2143,14 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2158
2143
|
] }
|
|
2159
2144
|
),
|
|
2160
2145
|
/* @__PURE__ */ t.jsx(
|
|
2161
|
-
|
|
2146
|
+
fn,
|
|
2162
2147
|
{ pb: 4, px: 0, children: o }
|
|
2163
2148
|
)
|
|
2164
2149
|
] }
|
|
2165
2150
|
) }
|
|
2166
2151
|
) : null;
|
|
2167
2152
|
}, ar = ({ title: n, links: o }) => o ? /* @__PURE__ */ t.jsxs(
|
|
2168
|
-
|
|
2153
|
+
j,
|
|
2169
2154
|
{ children: [
|
|
2170
2155
|
/* @__PURE__ */ t.jsx(
|
|
2171
2156
|
z,
|
|
@@ -2177,7 +2162,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2177
2162
|
sections: n,
|
|
2178
2163
|
linkComponent: o,
|
|
2179
2164
|
onLinkClick: s
|
|
2180
|
-
}) =>
|
|
2165
|
+
}) => je({
|
|
2181
2166
|
base: !1,
|
|
2182
2167
|
tablet: !1,
|
|
2183
2168
|
largeTablet: !0,
|
|
@@ -2195,7 +2180,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2195
2180
|
{
|
|
2196
2181
|
title: c,
|
|
2197
2182
|
links: /* @__PURE__ */ t.jsx(
|
|
2198
|
-
|
|
2183
|
+
Lt,
|
|
2199
2184
|
{
|
|
2200
2185
|
links: u,
|
|
2201
2186
|
linkComponent: o,
|
|
@@ -2209,7 +2194,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2209
2194
|
)
|
|
2210
2195
|
}
|
|
2211
2196
|
) : /* @__PURE__ */ t.jsx(
|
|
2212
|
-
|
|
2197
|
+
cn,
|
|
2213
2198
|
{
|
|
2214
2199
|
allowMultiple: !0,
|
|
2215
2200
|
defaultIndex: [0],
|
|
@@ -2222,7 +2207,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2222
2207
|
{
|
|
2223
2208
|
title: c,
|
|
2224
2209
|
links: /* @__PURE__ */ t.jsx(
|
|
2225
|
-
|
|
2210
|
+
Lt,
|
|
2226
2211
|
{
|
|
2227
2212
|
links: u,
|
|
2228
2213
|
linkComponent: o,
|
|
@@ -2235,12 +2220,12 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2235
2220
|
)
|
|
2236
2221
|
)
|
|
2237
2222
|
}
|
|
2238
|
-
),
|
|
2239
|
-
instagram:
|
|
2240
|
-
linkedin:
|
|
2241
|
-
facebook:
|
|
2242
|
-
tiktok:
|
|
2243
|
-
x:
|
|
2223
|
+
), Ot = {
|
|
2224
|
+
instagram: Fn,
|
|
2225
|
+
linkedin: Bn,
|
|
2226
|
+
facebook: zn,
|
|
2227
|
+
tiktok: Wn,
|
|
2228
|
+
x: Nn
|
|
2244
2229
|
}, cr = ({
|
|
2245
2230
|
socialLinks: n,
|
|
2246
2231
|
onEmailSubmit: o,
|
|
@@ -2257,20 +2242,20 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2257
2242
|
c && c(x);
|
|
2258
2243
|
};
|
|
2259
2244
|
return /* @__PURE__ */ t.jsxs(
|
|
2260
|
-
|
|
2245
|
+
j,
|
|
2261
2246
|
{ width: ["100%", null, null, "440px"], children: [
|
|
2262
2247
|
u && /* @__PURE__ */ t.jsxs(
|
|
2263
|
-
|
|
2248
|
+
j,
|
|
2264
2249
|
{ mb: [8, 10], children: [
|
|
2265
2250
|
/* @__PURE__ */ t.jsx(
|
|
2266
2251
|
z,
|
|
2267
2252
|
{ color: "viridian.lighter", mb: 6, size: "lg", children: a }
|
|
2268
2253
|
),
|
|
2269
2254
|
/* @__PURE__ */ t.jsxs(
|
|
2270
|
-
|
|
2255
|
+
pn,
|
|
2271
2256
|
{ children: [
|
|
2272
2257
|
/* @__PURE__ */ t.jsx(
|
|
2273
|
-
|
|
2258
|
+
hn,
|
|
2274
2259
|
{
|
|
2275
2260
|
placeholder: "Enter your email",
|
|
2276
2261
|
bg: "transparent",
|
|
@@ -2287,11 +2272,11 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2287
2272
|
}
|
|
2288
2273
|
),
|
|
2289
2274
|
/* @__PURE__ */ t.jsx(
|
|
2290
|
-
|
|
2275
|
+
gn,
|
|
2291
2276
|
{ h: "52px", pr: 4, children: /* @__PURE__ */ t.jsx(
|
|
2292
2277
|
ee,
|
|
2293
2278
|
{
|
|
2294
|
-
as:
|
|
2279
|
+
as: Hn,
|
|
2295
2280
|
color: "viridian.lighter",
|
|
2296
2281
|
width: "24px",
|
|
2297
2282
|
height: "24px",
|
|
@@ -2309,7 +2294,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2309
2294
|
] }
|
|
2310
2295
|
),
|
|
2311
2296
|
/* @__PURE__ */ t.jsxs(
|
|
2312
|
-
|
|
2297
|
+
j,
|
|
2313
2298
|
{ children: [
|
|
2314
2299
|
/* @__PURE__ */ t.jsx(
|
|
2315
2300
|
z,
|
|
@@ -2326,10 +2311,10 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2326
2311
|
rel: "noopener noreferrer",
|
|
2327
2312
|
"aria-label": x.name,
|
|
2328
2313
|
onClick: () => f(x.name),
|
|
2329
|
-
children:
|
|
2314
|
+
children: Ot[x.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
|
|
2330
2315
|
ee,
|
|
2331
2316
|
{
|
|
2332
|
-
as:
|
|
2317
|
+
as: Ot[x.name.toLowerCase()],
|
|
2333
2318
|
color: "white",
|
|
2334
2319
|
width: ["48px", null, "24px", null],
|
|
2335
2320
|
height: ["48px", null, "24px", null]
|
|
@@ -2407,17 +2392,17 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2407
2392
|
onLinkClick: d,
|
|
2408
2393
|
onSocialMediaClick: f,
|
|
2409
2394
|
showNewsletter: x = !0
|
|
2410
|
-
},
|
|
2411
|
-
|
|
2412
|
-
{ as: "footer", bg: "viridian.dark", py: [6, 8], px: [4, 6], ref:
|
|
2413
|
-
|
|
2395
|
+
}, y) => /* @__PURE__ */ t.jsx(
|
|
2396
|
+
j,
|
|
2397
|
+
{ as: "footer", bg: "viridian.dark", py: [6, 8], px: [4, 6], ref: y, children: /* @__PURE__ */ t.jsxs(
|
|
2398
|
+
xn,
|
|
2414
2399
|
{ size: "fluid", children: [
|
|
2415
2400
|
/* @__PURE__ */ t.jsxs(
|
|
2416
2401
|
k,
|
|
2417
2402
|
{ direction: "column", gap: [8, 12], children: [
|
|
2418
2403
|
/* @__PURE__ */ t.jsx(
|
|
2419
|
-
|
|
2420
|
-
{ children: /* @__PURE__ */ t.jsx(
|
|
2404
|
+
j,
|
|
2405
|
+
{ children: /* @__PURE__ */ t.jsx(Nt, { width: ["150px", "202px"], color: "white" }) }
|
|
2421
2406
|
),
|
|
2422
2407
|
/* @__PURE__ */ t.jsxs(
|
|
2423
2408
|
k,
|
|
@@ -2477,7 +2462,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2477
2462
|
] }
|
|
2478
2463
|
),
|
|
2479
2464
|
/* @__PURE__ */ t.jsx(
|
|
2480
|
-
|
|
2465
|
+
j,
|
|
2481
2466
|
{
|
|
2482
2467
|
borderTop: "1px solid",
|
|
2483
2468
|
borderColor: `${K.colors.viridian.lighter}20`,
|
|
@@ -2497,21 +2482,21 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2497
2482
|
] }
|
|
2498
2483
|
) }
|
|
2499
2484
|
)), dr = (n) => n ? {
|
|
2500
|
-
Container:
|
|
2501
|
-
Overlay:
|
|
2502
|
-
Content:
|
|
2503
|
-
Header:
|
|
2504
|
-
Body:
|
|
2505
|
-
Footer:
|
|
2506
|
-
CloseButton:
|
|
2485
|
+
Container: $t,
|
|
2486
|
+
Overlay: Pt,
|
|
2487
|
+
Content: At,
|
|
2488
|
+
Header: Mt,
|
|
2489
|
+
Body: Ht,
|
|
2490
|
+
Footer: vn,
|
|
2491
|
+
CloseButton: mn
|
|
2507
2492
|
} : {
|
|
2508
|
-
Container:
|
|
2509
|
-
Overlay:
|
|
2510
|
-
Content:
|
|
2511
|
-
Header:
|
|
2512
|
-
Body:
|
|
2513
|
-
Footer:
|
|
2514
|
-
CloseButton:
|
|
2493
|
+
Container: bn,
|
|
2494
|
+
Overlay: Cn,
|
|
2495
|
+
Content: wn,
|
|
2496
|
+
Header: jn,
|
|
2497
|
+
Body: yn,
|
|
2498
|
+
Footer: En,
|
|
2499
|
+
CloseButton: kn
|
|
2515
2500
|
}, jr = ({
|
|
2516
2501
|
isOpen: n,
|
|
2517
2502
|
onClose: o,
|
|
@@ -2526,16 +2511,16 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2526
2511
|
}) => {
|
|
2527
2512
|
var W, $, B, J, te;
|
|
2528
2513
|
const [f] = ct(`(max-width: ${K.breakpoints.tablet})`), x = (te = (J = (B = ($ = (W = K) == null ? void 0 : W.components) == null ? void 0 : $.Modal) == null ? void 0 : B.baseStyle) == null ? void 0 : J.overlay) == null ? void 0 : te.background, {
|
|
2529
|
-
Container:
|
|
2514
|
+
Container: y,
|
|
2530
2515
|
Overlay: R,
|
|
2531
|
-
Content:
|
|
2516
|
+
Content: b,
|
|
2532
2517
|
Header: _,
|
|
2533
2518
|
Body: m,
|
|
2534
2519
|
Footer: F,
|
|
2535
2520
|
CloseButton: S
|
|
2536
2521
|
} = dr(f);
|
|
2537
2522
|
return /* @__PURE__ */ t.jsxs(
|
|
2538
|
-
|
|
2523
|
+
y,
|
|
2539
2524
|
{
|
|
2540
2525
|
...d,
|
|
2541
2526
|
isOpen: n,
|
|
@@ -2545,7 +2530,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2545
2530
|
children: [
|
|
2546
2531
|
/* @__PURE__ */ t.jsx(R, { backdropFilter: "auto", backgroundColor: x }),
|
|
2547
2532
|
/* @__PURE__ */ t.jsxs(
|
|
2548
|
-
|
|
2533
|
+
b,
|
|
2549
2534
|
{
|
|
2550
2535
|
backgroundColor: "tints.white",
|
|
2551
2536
|
borderRadius: f ? "20px 20px 0 0" : "20px",
|
|
@@ -2585,7 +2570,7 @@ const lt = 60, St = 6, Xn = (n) => {
|
|
|
2585
2570
|
fontSize: "1rem"
|
|
2586
2571
|
}
|
|
2587
2572
|
},
|
|
2588
|
-
children: /* @__PURE__ */ t.jsx(ee, { as:
|
|
2573
|
+
children: /* @__PURE__ */ t.jsx(ee, { as: Wt, weight: "light" })
|
|
2589
2574
|
}
|
|
2590
2575
|
)
|
|
2591
2576
|
]
|
|
@@ -2618,8 +2603,8 @@ export {
|
|
|
2618
2603
|
st as NavbarDrawer,
|
|
2619
2604
|
Ge as NavbarDrawerLink,
|
|
2620
2605
|
Cr as NavigationBar,
|
|
2621
|
-
|
|
2606
|
+
Zn as SpotlightCard,
|
|
2622
2607
|
vr as Stepper,
|
|
2623
|
-
|
|
2608
|
+
ye as TopNavIconButton,
|
|
2624
2609
|
Jn as TopNavigation
|
|
2625
2610
|
};
|