@everlywell/consumer-ui 1.41.2 → 1.41.4
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 +429 -427
- package/lib/components/Navbar/NavigationBar/NavigationBar.builder.d.ts.map +1 -1
- package/lib/components/Navbar/NavigationBar/NavigationBar.d.ts.map +1 -1
- package/lib/components/Navbar/TopNavigation/TopNavigation.d.ts.map +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useSteps as tn, Box as C, Stepper as nn, Icon as J, Flex as k, Text as W, Link as X, Button as
|
|
2
|
-
import Ae, { useEffect as
|
|
1
|
+
import { useSteps as tn, Box as C, Stepper as nn, Icon as J, Flex as k, Text as W, Link as X, Button as ht, Image as rn, IconButton as on, theme as K, useMediaQuery as st, VStack as ln, Skeleton as ot, HStack as yt, SkeletonCircle as We, DrawerContent as At, DrawerOverlay as Pt, Drawer as $t, DrawerHeader as Mt, DrawerBody as Ft, 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 wn, ModalContent as jn, ModalHeader as Cn, ModalBody as yn, ModalFooter as En, ModalCloseButton as kn } from "@everlywell/ui-kit";
|
|
2
|
+
import Ae, { useEffect as ie, forwardRef as Ht, useRef as Rn, useCallback as Bt, useState as Z } from "react";
|
|
3
3
|
import { Text as _n, useBreakpointValue as ye, Box as Sn, InputGroup as Tn, Input as Dn, InputRightElement as In, Icon as Ln } from "@chakra-ui/react";
|
|
4
|
-
import { CaretRight as
|
|
5
|
-
import { motion as
|
|
6
|
-
var
|
|
4
|
+
import { CaretRight as Et, MagnifyingGlass as ct, List as On, Basket as An, CaretLeft as Pn, X as zt, User as kt, QrCode as $n, CaretDown as Mn, ArrowRight as Fn, InstagramLogo as Hn, 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
|
+
var ut = { exports: {} }, Le = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,15 +13,15 @@ var ct = { exports: {} }, Le = {};
|
|
|
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 Rt;
|
|
17
17
|
function Yn() {
|
|
18
|
-
if (
|
|
19
|
-
|
|
20
|
-
var n = Ae, o = Symbol.for("react.element"), c = Symbol.for("react.fragment"),
|
|
18
|
+
if (Rt) return Le;
|
|
19
|
+
Rt = 1;
|
|
20
|
+
var n = Ae, o = Symbol.for("react.element"), c = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, s = 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, x, f) {
|
|
22
22
|
var d, g = {}, w = null, y = null;
|
|
23
23
|
f !== void 0 && (w = "" + f), x.key !== void 0 && (w = "" + x.key), x.ref !== void 0 && (y = x.ref);
|
|
24
|
-
for (d in x)
|
|
24
|
+
for (d in x) a.call(x, d) && !u.hasOwnProperty(d) && (g[d] = x[d]);
|
|
25
25
|
if (v && v.defaultProps) for (d in x = v.defaultProps, x) g[d] === void 0 && (g[d] = x[d]);
|
|
26
26
|
return { $$typeof: o, type: v, key: w, ref: y, props: g, _owner: s.current };
|
|
27
27
|
}
|
|
@@ -37,62 +37,62 @@ var Oe = {};
|
|
|
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 _t;
|
|
41
41
|
function Gn() {
|
|
42
|
-
return
|
|
43
|
-
var n = Ae, o = Symbol.for("react.element"), c = Symbol.for("react.portal"),
|
|
42
|
+
return _t || (_t = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
var n = Ae, o = Symbol.for("react.element"), c = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), p = Symbol.for("react.provider"), v = Symbol.for("react.context"), x = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), y = Symbol.for("react.offscreen"), R = Symbol.iterator, O = "@@iterator";
|
|
44
44
|
function m(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var r =
|
|
47
|
+
var r = R && e[R] || e[O];
|
|
48
48
|
return typeof r == "function" ? r : null;
|
|
49
49
|
}
|
|
50
50
|
var H = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
-
function
|
|
51
|
+
function S(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var r = arguments.length,
|
|
54
|
-
|
|
55
|
-
V("error", e,
|
|
53
|
+
for (var r = arguments.length, l = new Array(r > 1 ? r - 1 : 0), h = 1; h < r; h++)
|
|
54
|
+
l[h - 1] = arguments[h];
|
|
55
|
+
V("error", e, l);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function V(e, r,
|
|
58
|
+
function V(e, r, l) {
|
|
59
59
|
{
|
|
60
60
|
var h = H.ReactDebugCurrentFrame, E = h.getStackAddendum();
|
|
61
|
-
E !== "" && (r += "%s",
|
|
62
|
-
var
|
|
61
|
+
E !== "" && (r += "%s", l = l.concat([E]));
|
|
62
|
+
var _ = l.map(function(j) {
|
|
63
63
|
return String(j);
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
_.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, _);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
68
|
+
var P = !1, B = !1, M = !1, ee = !1, le = !1, Q;
|
|
69
69
|
Q = Symbol.for("react.module.reference");
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
70
|
+
function T(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === a || e === u || le || e === s || e === f || e === d || ee || e === y || P || B || M || typeof e == "object" && e !== null && (e.$$typeof === w || e.$$typeof === g || e.$$typeof === p || e.$$typeof === v || e.$$typeof === x || // 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 === Q || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
|
-
function Y(e, r,
|
|
77
|
+
function Y(e, r, l) {
|
|
78
78
|
var h = e.displayName;
|
|
79
79
|
if (h)
|
|
80
80
|
return h;
|
|
81
81
|
var E = r.displayName || r.name || "";
|
|
82
|
-
return E !== "" ?
|
|
82
|
+
return E !== "" ? l + "(" + E + ")" : l;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function ae(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function z(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
|
-
if (typeof e.tag == "number" &&
|
|
90
|
+
if (typeof e.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
91
91
|
return e.displayName || e.name || null;
|
|
92
92
|
if (typeof e == "string")
|
|
93
93
|
return e;
|
|
94
94
|
switch (e) {
|
|
95
|
-
case
|
|
95
|
+
case a:
|
|
96
96
|
return "Fragment";
|
|
97
97
|
case c:
|
|
98
98
|
return "Portal";
|
|
@@ -109,19 +109,19 @@ function Gn() {
|
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
110
|
case v:
|
|
111
111
|
var r = e;
|
|
112
|
-
return
|
|
112
|
+
return ae(r) + ".Consumer";
|
|
113
113
|
case p:
|
|
114
|
-
var
|
|
115
|
-
return
|
|
114
|
+
var l = e;
|
|
115
|
+
return ae(l._context) + ".Provider";
|
|
116
116
|
case x:
|
|
117
117
|
return Y(e, e.render, "ForwardRef");
|
|
118
118
|
case g:
|
|
119
119
|
var h = e.displayName || null;
|
|
120
|
-
return h !== null ? h :
|
|
120
|
+
return h !== null ? h : z(e.type) || "Memo";
|
|
121
121
|
case w: {
|
|
122
|
-
var E = e,
|
|
122
|
+
var E = e, _ = E._payload, j = E._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return z(j(_));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,7 +129,7 @@ function Gn() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var L = Object.assign, te = 0, ne, Pe, $e, Re, _e, se, Se;
|
|
133
133
|
function re() {
|
|
134
134
|
}
|
|
135
135
|
re.__reactDisabledLog = !0;
|
|
@@ -165,34 +165,34 @@ function Gn() {
|
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
168
|
+
log: L({}, e, {
|
|
169
169
|
value: ne
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: L({}, e, {
|
|
172
172
|
value: Pe
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
174
|
+
warn: L({}, e, {
|
|
175
175
|
value: $e
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
177
|
+
error: L({}, e, {
|
|
178
178
|
value: Re
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
180
|
+
group: L({}, e, {
|
|
181
181
|
value: _e
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
183
|
+
groupCollapsed: L({}, e, {
|
|
184
184
|
value: se
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
186
|
+
groupEnd: L({}, e, {
|
|
187
187
|
value: Se
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
te < 0 &&
|
|
191
|
+
te < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
194
|
var Te = H.ReactCurrentDispatcher, fe;
|
|
195
|
-
function xe(e, r,
|
|
195
|
+
function xe(e, r, l) {
|
|
196
196
|
{
|
|
197
197
|
if (fe === void 0)
|
|
198
198
|
try {
|
|
@@ -210,20 +210,20 @@ function Gn() {
|
|
|
210
210
|
var Ze = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
211
|
ce = new Ze();
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function Me(e, r) {
|
|
214
214
|
if (!e || ve)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
217
|
-
var
|
|
218
|
-
if (
|
|
219
|
-
return
|
|
217
|
+
var l = ce.get(e);
|
|
218
|
+
if (l !== void 0)
|
|
219
|
+
return l;
|
|
220
220
|
}
|
|
221
221
|
var h;
|
|
222
222
|
ve = !0;
|
|
223
223
|
var E = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
225
|
+
var _;
|
|
226
|
+
_ = Te.current, Te.current = null, Ge();
|
|
227
227
|
try {
|
|
228
228
|
if (r) {
|
|
229
229
|
var j = function() {
|
|
@@ -260,39 +260,39 @@ function Gn() {
|
|
|
260
260
|
if (G && h && typeof G.stack == "string") {
|
|
261
261
|
for (var b = G.stack.split(`
|
|
262
262
|
`), N = h.stack.split(`
|
|
263
|
-
`),
|
|
264
|
-
|
|
265
|
-
for (;
|
|
266
|
-
if (b[
|
|
267
|
-
if (
|
|
263
|
+
`), A = b.length - 1, $ = N.length - 1; A >= 1 && $ >= 0 && b[A] !== N[$]; )
|
|
264
|
+
$--;
|
|
265
|
+
for (; A >= 1 && $ >= 0; A--, $--)
|
|
266
|
+
if (b[A] !== N[$]) {
|
|
267
|
+
if (A !== 1 || $ !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (
|
|
269
|
+
if (A--, $--, $ < 0 || b[A] !== N[$]) {
|
|
270
270
|
var U = `
|
|
271
|
-
` + b[
|
|
271
|
+
` + b[A].replace(" at new ", " at ");
|
|
272
272
|
return e.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", e.displayName)), typeof e == "function" && ce.set(e, U), U;
|
|
273
273
|
}
|
|
274
|
-
while (
|
|
274
|
+
while (A >= 1 && $ >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
ve = !1, Te.current =
|
|
279
|
+
ve = !1, Te.current = _, Ue(), Error.prepareStackTrace = E;
|
|
280
280
|
}
|
|
281
281
|
var Ce = e ? e.displayName || e.name : "", ge = Ce ? xe(Ce) : "";
|
|
282
282
|
return typeof e == "function" && ce.set(e, ge), ge;
|
|
283
283
|
}
|
|
284
|
-
function me(e, r,
|
|
285
|
-
return
|
|
284
|
+
function me(e, r, l) {
|
|
285
|
+
return Me(e, !1);
|
|
286
286
|
}
|
|
287
287
|
function oe(e) {
|
|
288
288
|
var r = e.prototype;
|
|
289
289
|
return !!(r && r.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function be(e, r,
|
|
291
|
+
function be(e, r, l) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return
|
|
295
|
+
return Me(e, oe(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return xe(e);
|
|
298
298
|
switch (e) {
|
|
@@ -306,41 +306,41 @@ function Gn() {
|
|
|
306
306
|
case x:
|
|
307
307
|
return me(e.render);
|
|
308
308
|
case g:
|
|
309
|
-
return be(e.type, r,
|
|
309
|
+
return be(e.type, r, l);
|
|
310
310
|
case w: {
|
|
311
|
-
var h = e, E = h._payload,
|
|
311
|
+
var h = e, E = h._payload, _ = h._init;
|
|
312
312
|
try {
|
|
313
|
-
return be(
|
|
313
|
+
return be(_(E), r, l);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var pe = Object.prototype.hasOwnProperty,
|
|
320
|
+
var pe = Object.prototype.hasOwnProperty, Fe = {}, we = H.ReactDebugCurrentFrame;
|
|
321
321
|
function ue(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var r = e._owner,
|
|
324
|
-
we.setExtraStackFrame(
|
|
323
|
+
var r = e._owner, l = be(e.type, e._source, r ? r.type : null);
|
|
324
|
+
we.setExtraStackFrame(l);
|
|
325
325
|
} else
|
|
326
326
|
we.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function Xe(e, r,
|
|
328
|
+
function Xe(e, r, l, h, E) {
|
|
329
329
|
{
|
|
330
|
-
var
|
|
330
|
+
var _ = Function.call.bind(pe);
|
|
331
331
|
for (var j in e)
|
|
332
|
-
if (
|
|
332
|
+
if (_(e, j)) {
|
|
333
333
|
var b = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[j] != "function") {
|
|
336
|
-
var N = Error((h || "React class") + ": " +
|
|
336
|
+
var N = Error((h || "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 N.name = "Invariant Violation", N;
|
|
338
338
|
}
|
|
339
|
-
b = e[j](r, j, h,
|
|
340
|
-
} catch (
|
|
341
|
-
b =
|
|
339
|
+
b = e[j](r, j, h, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
|
+
} catch (A) {
|
|
341
|
+
b = A;
|
|
342
342
|
}
|
|
343
|
-
b && !(b instanceof Error) && (ue(E),
|
|
343
|
+
b && !(b instanceof Error) && (ue(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, j, typeof b), ue(null)), b instanceof Error && !(b.message in Fe) && (Fe[b.message] = !0, ue(E), S("Failed %s type: %s", l, b.message), ue(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
@@ -350,32 +350,32 @@ function Gn() {
|
|
|
350
350
|
}
|
|
351
351
|
function Je(e) {
|
|
352
352
|
{
|
|
353
|
-
var r = typeof Symbol == "function" && Symbol.toStringTag,
|
|
354
|
-
return
|
|
353
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, l = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
|
+
return l;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
357
|
function q(e) {
|
|
358
358
|
try {
|
|
359
|
-
return
|
|
359
|
+
return He(e), !1;
|
|
360
360
|
} catch {
|
|
361
361
|
return !0;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function He(e) {
|
|
365
365
|
return "" + e;
|
|
366
366
|
}
|
|
367
367
|
function Be(e) {
|
|
368
368
|
if (q(e))
|
|
369
|
-
return
|
|
369
|
+
return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Je(e)), He(e);
|
|
370
370
|
}
|
|
371
371
|
var de = H.ReactCurrentOwner, ze = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
375
375
|
__source: !0
|
|
376
|
-
}, Ie,
|
|
377
|
-
|
|
378
|
-
function
|
|
376
|
+
}, Ie, i, D;
|
|
377
|
+
D = {};
|
|
378
|
+
function I(e) {
|
|
379
379
|
if (pe.call(e, "ref")) {
|
|
380
380
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
381
|
if (r && r.isReactWarning)
|
|
@@ -383,7 +383,7 @@ function Gn() {
|
|
|
383
383
|
}
|
|
384
384
|
return e.ref !== void 0;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
386
|
+
function F(e) {
|
|
387
387
|
if (pe.call(e, "key")) {
|
|
388
388
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
389
|
if (r && r.isReactWarning)
|
|
@@ -393,43 +393,43 @@ function Gn() {
|
|
|
393
393
|
}
|
|
394
394
|
function Qe(e, r) {
|
|
395
395
|
if (typeof e.ref == "string" && de.current && r && de.current.stateNode !== r) {
|
|
396
|
-
var
|
|
397
|
-
|
|
396
|
+
var l = z(de.current.type);
|
|
397
|
+
D[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', z(de.current.type), e.ref), D[l] = !0);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
400
|
function he(e, r) {
|
|
401
401
|
{
|
|
402
|
-
var
|
|
403
|
-
Ie || (Ie = !0,
|
|
402
|
+
var l = function() {
|
|
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));
|
|
404
404
|
};
|
|
405
|
-
|
|
406
|
-
get:
|
|
405
|
+
l.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
406
|
+
get: l,
|
|
407
407
|
configurable: !0
|
|
408
408
|
});
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
411
|
function qe(e, r) {
|
|
412
412
|
{
|
|
413
|
-
var
|
|
414
|
-
|
|
413
|
+
var l = function() {
|
|
414
|
+
i || (i = !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
|
-
|
|
417
|
-
get:
|
|
416
|
+
l.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
417
|
+
get: l,
|
|
418
418
|
configurable: !0
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
var Nt = function(e, r,
|
|
422
|
+
var Nt = function(e, r, l, h, E, _, j) {
|
|
423
423
|
var b = {
|
|
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
|
-
ref:
|
|
429
|
+
ref: l,
|
|
430
430
|
props: j,
|
|
431
431
|
// Record the component responsible for creating this element.
|
|
432
|
-
_owner:
|
|
432
|
+
_owner: _
|
|
433
433
|
};
|
|
434
434
|
return b._store = {}, Object.defineProperty(b._store, "validated", {
|
|
435
435
|
configurable: !1,
|
|
@@ -448,41 +448,41 @@ function Gn() {
|
|
|
448
448
|
value: E
|
|
449
449
|
}), Object.freeze && (Object.freeze(b.props), Object.freeze(b)), b;
|
|
450
450
|
};
|
|
451
|
-
function Vt(e, r,
|
|
451
|
+
function Vt(e, r, l, h, E) {
|
|
452
452
|
{
|
|
453
|
-
var
|
|
454
|
-
|
|
455
|
-
for (
|
|
456
|
-
pe.call(r,
|
|
453
|
+
var _, j = {}, b = null, N = null;
|
|
454
|
+
l !== void 0 && (Be(l), b = "" + l), F(r) && (Be(r.key), b = "" + r.key), I(r) && (N = r.ref, Qe(r, E));
|
|
455
|
+
for (_ in r)
|
|
456
|
+
pe.call(r, _) && !ze.hasOwnProperty(_) && (j[_] = r[_]);
|
|
457
457
|
if (e && e.defaultProps) {
|
|
458
|
-
var
|
|
459
|
-
for (
|
|
460
|
-
j[
|
|
458
|
+
var A = e.defaultProps;
|
|
459
|
+
for (_ in A)
|
|
460
|
+
j[_] === void 0 && (j[_] = A[_]);
|
|
461
461
|
}
|
|
462
462
|
if (b || N) {
|
|
463
|
-
var
|
|
464
|
-
b && he(j,
|
|
463
|
+
var $ = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
+
b && he(j, $), N && qe(j, $);
|
|
465
465
|
}
|
|
466
466
|
return Nt(e, b, N, E, h, de.current, j);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
var et = H.ReactCurrentOwner,
|
|
469
|
+
var et = H.ReactCurrentOwner, xt = H.ReactDebugCurrentFrame;
|
|
470
470
|
function je(e) {
|
|
471
471
|
if (e) {
|
|
472
|
-
var r = e._owner,
|
|
473
|
-
|
|
472
|
+
var r = e._owner, l = be(e.type, e._source, r ? r.type : null);
|
|
473
|
+
xt.setExtraStackFrame(l);
|
|
474
474
|
} else
|
|
475
|
-
|
|
475
|
+
xt.setExtraStackFrame(null);
|
|
476
476
|
}
|
|
477
477
|
var tt;
|
|
478
478
|
tt = !1;
|
|
479
479
|
function nt(e) {
|
|
480
480
|
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function vt() {
|
|
483
483
|
{
|
|
484
484
|
if (et.current) {
|
|
485
|
-
var e =
|
|
485
|
+
var e = z(et.current.type);
|
|
486
486
|
if (e)
|
|
487
487
|
return `
|
|
488
488
|
|
|
@@ -494,48 +494,48 @@ Check the render method of \`` + e + "`.";
|
|
|
494
494
|
function Yt(e) {
|
|
495
495
|
return "";
|
|
496
496
|
}
|
|
497
|
-
var
|
|
497
|
+
var mt = {};
|
|
498
498
|
function Gt(e) {
|
|
499
499
|
{
|
|
500
|
-
var r =
|
|
500
|
+
var r = vt();
|
|
501
501
|
if (!r) {
|
|
502
|
-
var
|
|
503
|
-
|
|
502
|
+
var l = typeof e == "string" ? e : e.displayName || e.name;
|
|
503
|
+
l && (r = `
|
|
504
504
|
|
|
505
|
-
Check the top-level render call using <` +
|
|
505
|
+
Check the top-level render call using <` + l + ">.");
|
|
506
506
|
}
|
|
507
507
|
return r;
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function bt(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
|
|
516
|
-
if (
|
|
515
|
+
var l = Gt(r);
|
|
516
|
+
if (mt[l])
|
|
517
517
|
return;
|
|
518
|
-
|
|
518
|
+
mt[l] = !0;
|
|
519
519
|
var h = "";
|
|
520
|
-
e && e._owner && e._owner !== et.current && (h = " It was passed a child from " +
|
|
520
|
+
e && e._owner && e._owner !== et.current && (h = " It was passed a child from " + z(e._owner.type) + "."), je(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), je(null);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function wt(e, r) {
|
|
524
524
|
{
|
|
525
525
|
if (typeof e != "object")
|
|
526
526
|
return;
|
|
527
527
|
if (De(e))
|
|
528
|
-
for (var
|
|
529
|
-
var h = e[
|
|
530
|
-
nt(h) &&
|
|
528
|
+
for (var l = 0; l < e.length; l++) {
|
|
529
|
+
var h = e[l];
|
|
530
|
+
nt(h) && bt(h, r);
|
|
531
531
|
}
|
|
532
532
|
else if (nt(e))
|
|
533
533
|
e._store && (e._store.validated = !0);
|
|
534
534
|
else if (e) {
|
|
535
535
|
var E = m(e);
|
|
536
536
|
if (typeof E == "function" && E !== e.entries)
|
|
537
|
-
for (var
|
|
538
|
-
nt(j.value) &&
|
|
537
|
+
for (var _ = E.call(e), j; !(j = _.next()).done; )
|
|
538
|
+
nt(j.value) && bt(j.value, r);
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
}
|
|
@@ -544,109 +544,109 @@ Check the top-level render call using <` + a + ">.");
|
|
|
544
544
|
var r = e.type;
|
|
545
545
|
if (r == null || typeof r == "string")
|
|
546
546
|
return;
|
|
547
|
-
var
|
|
547
|
+
var l;
|
|
548
548
|
if (typeof r == "function")
|
|
549
|
-
|
|
549
|
+
l = r.propTypes;
|
|
550
550
|
else if (typeof r == "object" && (r.$$typeof === x || // Note: Memo only checks outer props here.
|
|
551
551
|
// Inner props are checked in the reconciler.
|
|
552
552
|
r.$$typeof === g))
|
|
553
|
-
|
|
553
|
+
l = r.propTypes;
|
|
554
554
|
else
|
|
555
555
|
return;
|
|
556
|
-
if (
|
|
557
|
-
var h =
|
|
558
|
-
Xe(
|
|
556
|
+
if (l) {
|
|
557
|
+
var h = z(r);
|
|
558
|
+
Xe(l, e.props, "prop", h, e);
|
|
559
559
|
} else if (r.PropTypes !== void 0 && !tt) {
|
|
560
560
|
tt = !0;
|
|
561
|
-
var E =
|
|
562
|
-
|
|
561
|
+
var E = z(r);
|
|
562
|
+
S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
|
|
563
563
|
}
|
|
564
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
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
567
|
function Zt(e) {
|
|
568
568
|
{
|
|
569
|
-
for (var r = Object.keys(e.props),
|
|
570
|
-
var h = r[
|
|
569
|
+
for (var r = Object.keys(e.props), l = 0; l < r.length; l++) {
|
|
570
|
+
var h = r[l];
|
|
571
571
|
if (h !== "children" && h !== "key") {
|
|
572
|
-
je(e),
|
|
572
|
+
je(e), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", h), je(null);
|
|
573
573
|
break;
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
e.ref !== null && (je(e),
|
|
576
|
+
e.ref !== null && (je(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), je(null));
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
var
|
|
580
|
-
function
|
|
579
|
+
var jt = {};
|
|
580
|
+
function Ct(e, r, l, h, E, _) {
|
|
581
581
|
{
|
|
582
|
-
var j =
|
|
582
|
+
var j = T(e);
|
|
583
583
|
if (!j) {
|
|
584
584
|
var b = "";
|
|
585
585
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (b += " 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
586
|
var N = Yt();
|
|
587
|
-
N ? b += N : b +=
|
|
588
|
-
var
|
|
589
|
-
e === null ?
|
|
587
|
+
N ? b += N : b += vt();
|
|
588
|
+
var A;
|
|
589
|
+
e === null ? A = "null" : De(e) ? A = "array" : e !== void 0 && e.$$typeof === o ? (A = "<" + (z(e.type) || "Unknown") + " />", b = " Did you accidentally export a JSX literal instead of a component?") : A = 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", A, b);
|
|
590
590
|
}
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
593
|
-
return
|
|
591
|
+
var $ = Vt(e, r, l, E, _);
|
|
592
|
+
if ($ == null)
|
|
593
|
+
return $;
|
|
594
594
|
if (j) {
|
|
595
595
|
var U = r.children;
|
|
596
596
|
if (U !== void 0)
|
|
597
597
|
if (h)
|
|
598
598
|
if (De(U)) {
|
|
599
599
|
for (var Ce = 0; Ce < U.length; Ce++)
|
|
600
|
-
|
|
600
|
+
wt(U[Ce], 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.");
|
|
604
604
|
else
|
|
605
|
-
|
|
605
|
+
wt(U, e);
|
|
606
606
|
}
|
|
607
607
|
if (pe.call(r, "key")) {
|
|
608
|
-
var ge =
|
|
608
|
+
var ge = z(e), G = Object.keys(r).filter(function(en) {
|
|
609
609
|
return en !== "key";
|
|
610
610
|
}), rt = G.length > 0 ? "{key: someKey, " + G.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
611
|
-
if (!
|
|
611
|
+
if (!jt[ge + rt]) {
|
|
612
612
|
var qt = G.length > 0 ? "{" + G.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} />`, rt, ge, qt, ge),
|
|
618
|
+
<%s key={someKey} {...props} />`, rt, ge, qt, ge), jt[ge + rt] = !0;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
return e ===
|
|
621
|
+
return e === a ? Zt($) : Ut($), $;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
function Xt(e, r,
|
|
625
|
-
return
|
|
624
|
+
function Xt(e, r, l) {
|
|
625
|
+
return Ct(e, r, l, !0);
|
|
626
626
|
}
|
|
627
|
-
function Kt(e, r,
|
|
628
|
-
return
|
|
627
|
+
function Kt(e, r, l) {
|
|
628
|
+
return Ct(e, r, l, !1);
|
|
629
629
|
}
|
|
630
630
|
var Jt = Kt, Qt = Xt;
|
|
631
|
-
Oe.Fragment =
|
|
631
|
+
Oe.Fragment = a, Oe.jsx = Jt, Oe.jsxs = Qt;
|
|
632
632
|
}()), Oe;
|
|
633
633
|
}
|
|
634
|
-
process.env.NODE_ENV === "production" ?
|
|
635
|
-
var t =
|
|
636
|
-
const
|
|
634
|
+
process.env.NODE_ENV === "production" ? ut.exports = Yn() : ut.exports = Gn();
|
|
635
|
+
var t = ut.exports;
|
|
636
|
+
const it = 60, St = 6, Un = (n) => {
|
|
637
637
|
const {
|
|
638
638
|
activeStepIndex: o,
|
|
639
639
|
hideIndicators: c = !1,
|
|
640
|
-
steps:
|
|
640
|
+
steps: a,
|
|
641
641
|
stepperTheme: s = {
|
|
642
642
|
light: "eggplant.light",
|
|
643
643
|
base: "eggplant.base"
|
|
644
644
|
}
|
|
645
645
|
} = n, { activeStep: u, setActiveStep: p } = tn({
|
|
646
646
|
index: o,
|
|
647
|
-
count:
|
|
647
|
+
count: a.length
|
|
648
648
|
});
|
|
649
|
-
return
|
|
649
|
+
return ie(() => {
|
|
650
650
|
p(o);
|
|
651
651
|
}, [o, p]), /* @__PURE__ */ t.jsx(
|
|
652
652
|
C,
|
|
@@ -658,11 +658,11 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
658
658
|
width: "100%",
|
|
659
659
|
display: "flex",
|
|
660
660
|
flexWrap: "nowrap",
|
|
661
|
-
children:
|
|
662
|
-
const f = u === x, d = x === 0, g = x ===
|
|
663
|
-
let y = `${
|
|
664
|
-
const
|
|
665
|
-
return f ? y =
|
|
661
|
+
children: a.map((v, x) => {
|
|
662
|
+
const f = u === x, d = x === 0, g = x === a.length - 1, w = u > x;
|
|
663
|
+
let y = `${it}px`;
|
|
664
|
+
const R = `calc(100% - ((${it * (a.length - 1)}px) - (${a.length - 1} * ${St * 2}px)))`;
|
|
665
|
+
return f ? y = R : (d || g) && (y = `${it - St}px`), /* @__PURE__ */ t.jsx(
|
|
666
666
|
C,
|
|
667
667
|
{
|
|
668
668
|
width: y,
|
|
@@ -710,17 +710,17 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
710
710
|
} : {
|
|
711
711
|
href: n
|
|
712
712
|
};
|
|
713
|
-
}, Ne =
|
|
713
|
+
}, Ne = Ht(
|
|
714
714
|
(n, o) => {
|
|
715
715
|
const {
|
|
716
716
|
label: c,
|
|
717
|
-
additionalContent:
|
|
717
|
+
additionalContent: a,
|
|
718
718
|
mainTextFontSize: s,
|
|
719
719
|
linkComponent: u,
|
|
720
720
|
href: p,
|
|
721
721
|
forceMobileStyle: v = !1,
|
|
722
722
|
...x
|
|
723
|
-
} = n, f = u || X, d = ke(p, !!u), g = v ? s || "xl" : [s || "xl", null, null, "lg"], w = v ? "xl" : ["xl", null, null, "lg"], y = v ? void 0 : [null, null, null, 1],
|
|
723
|
+
} = n, f = u || X, d = ke(p, !!u), g = v ? s || "xl" : [s || "xl", null, null, "lg"], w = v ? "xl" : ["xl", null, null, "lg"], y = v ? void 0 : [null, null, null, 1], R = v ? void 0 : [null, null, null, "space-between"], O = v ? "3" : [3, null, null, 0], m = v ? "1px" : ["1px", null, null, "unset"], H = v ? "tints.cream" : ["tints.cream", null, null, "unset"], S = v ? "100%" : ["100%", null, null, "fit-content"], V = v ? "none" : ["none", null, null, "block"], P = v ? "100%" : ["100%", null, null, "auto"], B = v ? "block" : ["block", null, null, "none"];
|
|
724
724
|
return /* @__PURE__ */ t.jsxs(
|
|
725
725
|
C,
|
|
726
726
|
{
|
|
@@ -729,13 +729,13 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
729
729
|
display: "flex",
|
|
730
730
|
alignItems: "center",
|
|
731
731
|
gap: y,
|
|
732
|
-
justifyContent:
|
|
733
|
-
paddingY:
|
|
732
|
+
justifyContent: R,
|
|
733
|
+
paddingY: O,
|
|
734
734
|
color: "tints.black",
|
|
735
735
|
_hover: { color: "viridian.base", textDecoration: "none" },
|
|
736
736
|
borderBottom: m,
|
|
737
737
|
borderColor: H,
|
|
738
|
-
width:
|
|
738
|
+
width: S,
|
|
739
739
|
cursor: "pointer",
|
|
740
740
|
...d,
|
|
741
741
|
...x,
|
|
@@ -744,7 +744,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
744
744
|
J,
|
|
745
745
|
{
|
|
746
746
|
display: V,
|
|
747
|
-
as:
|
|
747
|
+
as: Et,
|
|
748
748
|
fontSize: "lg",
|
|
749
749
|
color: "viridian.light",
|
|
750
750
|
role: "img",
|
|
@@ -754,7 +754,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
754
754
|
),
|
|
755
755
|
/* @__PURE__ */ t.jsxs(
|
|
756
756
|
k,
|
|
757
|
-
{ alignItems: "center", gap: "1", width:
|
|
757
|
+
{ alignItems: "center", gap: "1", width: P, children: [
|
|
758
758
|
/* @__PURE__ */ t.jsx(
|
|
759
759
|
W,
|
|
760
760
|
{
|
|
@@ -763,7 +763,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
763
763
|
children: c
|
|
764
764
|
}
|
|
765
765
|
),
|
|
766
|
-
|
|
766
|
+
a && (typeof a == "string" ? /* @__PURE__ */ t.jsx(
|
|
767
767
|
W,
|
|
768
768
|
{
|
|
769
769
|
fontSize: w,
|
|
@@ -774,14 +774,14 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
774
774
|
color: "viridian.base"
|
|
775
775
|
}
|
|
776
776
|
},
|
|
777
|
-
children:
|
|
777
|
+
children: a
|
|
778
778
|
}
|
|
779
|
-
) :
|
|
779
|
+
) : a),
|
|
780
780
|
/* @__PURE__ */ t.jsx(
|
|
781
781
|
J,
|
|
782
782
|
{
|
|
783
|
-
display:
|
|
784
|
-
as:
|
|
783
|
+
display: B,
|
|
784
|
+
as: Et,
|
|
785
785
|
fontSize: "2xl",
|
|
786
786
|
color: "tints.uiGrey",
|
|
787
787
|
role: "img",
|
|
@@ -795,11 +795,11 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
795
795
|
}
|
|
796
796
|
);
|
|
797
797
|
}
|
|
798
|
-
), Ve =
|
|
798
|
+
), Ve = Ht(
|
|
799
799
|
(n, o) => {
|
|
800
|
-
const { children: c, isSelected:
|
|
800
|
+
const { children: c, isSelected: a, ...s } = n, u = n.backgroundColor || (a ? "tints.lightCream" : "transparent");
|
|
801
801
|
return /* @__PURE__ */ t.jsx(
|
|
802
|
-
|
|
802
|
+
ht,
|
|
803
803
|
{
|
|
804
804
|
ref: o,
|
|
805
805
|
borderRadius: "full",
|
|
@@ -834,7 +834,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
834
834
|
title: n,
|
|
835
835
|
description: o,
|
|
836
836
|
imageSrc: c,
|
|
837
|
-
imageElement:
|
|
837
|
+
imageElement: a,
|
|
838
838
|
button: s,
|
|
839
839
|
backgroundColor: u = "viridian.wash",
|
|
840
840
|
onClick: p,
|
|
@@ -842,7 +842,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
842
842
|
linkComponent: x,
|
|
843
843
|
forceMobileStyle: f = !1
|
|
844
844
|
}) => {
|
|
845
|
-
const y = x || X,
|
|
845
|
+
const y = x || X, R = ke(v, !!x), O = ye({
|
|
846
846
|
base: !1,
|
|
847
847
|
tablet: !1,
|
|
848
848
|
largeTablet: !1,
|
|
@@ -871,8 +871,8 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
871
871
|
border: "1px solid",
|
|
872
872
|
borderColor: "tints.white"
|
|
873
873
|
},
|
|
874
|
-
as: f ? y :
|
|
875
|
-
...f ?
|
|
874
|
+
as: f ? y : O ? k : y,
|
|
875
|
+
...f ? R : O ? {} : R,
|
|
876
876
|
children: [
|
|
877
877
|
/* @__PURE__ */ t.jsx(
|
|
878
878
|
C,
|
|
@@ -881,7 +881,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
881
881
|
height: f ? "100%" : ["100%", null, null, "188px"],
|
|
882
882
|
sx: {
|
|
883
883
|
img: {
|
|
884
|
-
height: f ? "100%" :
|
|
884
|
+
height: f ? "100%" : O ? "188px" : "100%",
|
|
885
885
|
objectFit: f ? "cover" : "contain"
|
|
886
886
|
}
|
|
887
887
|
},
|
|
@@ -900,7 +900,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
900
900
|
height: f ? 80 : [80, null, null, 188],
|
|
901
901
|
overflow: "hidden",
|
|
902
902
|
...f ? { sx: { div: { height: "100%" } } } : {},
|
|
903
|
-
children:
|
|
903
|
+
children: a
|
|
904
904
|
}
|
|
905
905
|
)
|
|
906
906
|
}
|
|
@@ -938,7 +938,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
938
938
|
)
|
|
939
939
|
] }
|
|
940
940
|
),
|
|
941
|
-
f ? null :
|
|
941
|
+
f ? null : O ? /* @__PURE__ */ t.jsx(C, { children: s }) : null
|
|
942
942
|
]
|
|
943
943
|
}
|
|
944
944
|
)
|
|
@@ -998,7 +998,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
998
998
|
desktopTopButtons: n,
|
|
999
999
|
kitRegistrationElement: o,
|
|
1000
1000
|
profileElement: c,
|
|
1001
|
-
cartElement:
|
|
1001
|
+
cartElement: a,
|
|
1002
1002
|
onSearchClick: s,
|
|
1003
1003
|
onMenuClick: u,
|
|
1004
1004
|
hasSearch: p = !1,
|
|
@@ -1007,25 +1007,25 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1007
1007
|
linkComponent: f,
|
|
1008
1008
|
onLogoClick: d
|
|
1009
1009
|
}) => {
|
|
1010
|
-
const g = Rn(null), [w] =
|
|
1010
|
+
const g = Rn(null), [w] = st(`(max-width: ${K.breakpoints.mediumTablet})`), [y] = st(`(max-width: ${K.breakpoints.mediumDesktop})`), R = Bt(() => {
|
|
1011
1011
|
if (g.current) {
|
|
1012
|
-
const
|
|
1013
|
-
x(
|
|
1012
|
+
const O = g.current.getBoundingClientRect();
|
|
1013
|
+
x(O.bottom);
|
|
1014
1014
|
}
|
|
1015
1015
|
}, []);
|
|
1016
|
-
return
|
|
1017
|
-
|
|
1018
|
-
}, [
|
|
1016
|
+
return ie(() => {
|
|
1017
|
+
R();
|
|
1018
|
+
}, [R]), /* @__PURE__ */ t.jsx(
|
|
1019
1019
|
C,
|
|
1020
1020
|
{
|
|
1021
1021
|
ref: g,
|
|
1022
1022
|
paddingY: "4",
|
|
1023
|
-
paddingX:
|
|
1023
|
+
paddingX: w ? 4 : y ? 6 : 8,
|
|
1024
1024
|
borderBottom: "1px solid",
|
|
1025
1025
|
borderColor: "tints.lightCream",
|
|
1026
1026
|
backgroundColor: "tints.white",
|
|
1027
1027
|
width: "100%",
|
|
1028
|
-
onMouseEnter:
|
|
1028
|
+
onMouseEnter: R,
|
|
1029
1029
|
children: /* @__PURE__ */ t.jsxs(
|
|
1030
1030
|
k,
|
|
1031
1031
|
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
@@ -1059,7 +1059,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1059
1059
|
Ee,
|
|
1060
1060
|
{
|
|
1061
1061
|
"aria-label": "Ask or Search",
|
|
1062
|
-
icon: /* @__PURE__ */ t.jsx(J, { as:
|
|
1062
|
+
icon: /* @__PURE__ */ t.jsx(J, { as: ct }),
|
|
1063
1063
|
onClick: s,
|
|
1064
1064
|
backgroundColor: "eggplant.wash",
|
|
1065
1065
|
color: "eggplant.base",
|
|
@@ -1069,7 +1069,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1069
1069
|
}
|
|
1070
1070
|
}
|
|
1071
1071
|
) : /* @__PURE__ */ t.jsxs(
|
|
1072
|
-
|
|
1072
|
+
ht,
|
|
1073
1073
|
{
|
|
1074
1074
|
"aria-label": "Ask or Search",
|
|
1075
1075
|
onClick: s,
|
|
@@ -1083,12 +1083,12 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1083
1083
|
filter: "brightness(0.95)"
|
|
1084
1084
|
},
|
|
1085
1085
|
children: [
|
|
1086
|
-
/* @__PURE__ */ t.jsx(J, { as:
|
|
1086
|
+
/* @__PURE__ */ t.jsx(J, { as: ct }),
|
|
1087
1087
|
"Ask or Search"
|
|
1088
1088
|
]
|
|
1089
1089
|
}
|
|
1090
1090
|
) : null,
|
|
1091
|
-
|
|
1091
|
+
a,
|
|
1092
1092
|
/* @__PURE__ */ t.jsx(
|
|
1093
1093
|
C,
|
|
1094
1094
|
{ display: ["flex", null, null, "flex", "flex", "flex", "none"], children: /* @__PURE__ */ t.jsx(
|
|
@@ -1154,7 +1154,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1154
1154
|
{ justify: "space-between", align: "center", children: [
|
|
1155
1155
|
/* @__PURE__ */ t.jsx(ot, { w: "120px", h: "48px" }),
|
|
1156
1156
|
/* @__PURE__ */ t.jsxs(
|
|
1157
|
-
|
|
1157
|
+
yt,
|
|
1158
1158
|
{
|
|
1159
1159
|
spacing: 8,
|
|
1160
1160
|
marginLeft: 12,
|
|
@@ -1162,14 +1162,14 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1162
1162
|
"data-testid": "desktop-nav",
|
|
1163
1163
|
children: [
|
|
1164
1164
|
Array.from({ length: n }).map(
|
|
1165
|
-
(c,
|
|
1165
|
+
(c, a) => /* @__PURE__ */ t.jsx(ot, { width: "90px", height: "48px" }, a)
|
|
1166
1166
|
),
|
|
1167
1167
|
o && /* @__PURE__ */ t.jsx(ot, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1168
1168
|
]
|
|
1169
1169
|
}
|
|
1170
1170
|
),
|
|
1171
1171
|
/* @__PURE__ */ t.jsxs(
|
|
1172
|
-
|
|
1172
|
+
yt,
|
|
1173
1173
|
{ spacing: 4, ml: "auto", children: [
|
|
1174
1174
|
/* @__PURE__ */ t.jsx(
|
|
1175
1175
|
We,
|
|
@@ -1195,22 +1195,22 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1195
1195
|
) }
|
|
1196
1196
|
), Jn = (n, o) => {
|
|
1197
1197
|
let c;
|
|
1198
|
-
return (...
|
|
1198
|
+
return (...a) => {
|
|
1199
1199
|
c && clearTimeout(c), c = setTimeout(() => {
|
|
1200
|
-
n(...
|
|
1200
|
+
n(...a);
|
|
1201
1201
|
}, o);
|
|
1202
1202
|
};
|
|
1203
|
-
},
|
|
1203
|
+
}, lt = (n) => n.toLowerCase().replace(/['']/g, "").replace(/[^a-z0-9]/g, ""), Qn = (n, o) => {
|
|
1204
1204
|
n.length < o.length && ([n, o] = [o, n]);
|
|
1205
|
-
let c = Array(o.length + 1).fill(0),
|
|
1205
|
+
let c = Array(o.length + 1).fill(0), a = Array(o.length + 1).fill(0);
|
|
1206
1206
|
for (let s = 0; s <= o.length; s++)
|
|
1207
1207
|
c[s] = s;
|
|
1208
1208
|
for (let s = 1; s <= n.length; s++) {
|
|
1209
|
-
|
|
1209
|
+
a[0] = s;
|
|
1210
1210
|
for (let u = 1; u <= o.length; u++) {
|
|
1211
1211
|
const p = n[s - 1] === o[u - 1] ? 0 : 1;
|
|
1212
|
-
|
|
1213
|
-
|
|
1212
|
+
a[u] = Math.min(
|
|
1213
|
+
a[u - 1] + 1,
|
|
1214
1214
|
// Insertion
|
|
1215
1215
|
c[u] + 1,
|
|
1216
1216
|
// Deletion
|
|
@@ -1218,47 +1218,47 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1218
1218
|
// Substitution
|
|
1219
1219
|
);
|
|
1220
1220
|
}
|
|
1221
|
-
[c,
|
|
1221
|
+
[c, a] = [a, c];
|
|
1222
1222
|
}
|
|
1223
1223
|
return c[o.length];
|
|
1224
1224
|
}, Ye = (n, o, c = 0.6) => {
|
|
1225
1225
|
if (n.length <= 3 || o.length <= 3)
|
|
1226
1226
|
return n.includes(o) || o.includes(n);
|
|
1227
|
-
const
|
|
1228
|
-
return 1 -
|
|
1229
|
-
},
|
|
1227
|
+
const a = Qn(n, o), s = Math.max(n.length, o.length);
|
|
1228
|
+
return 1 - a / s >= c;
|
|
1229
|
+
}, Tt = (n, o) => {
|
|
1230
1230
|
const c = n.split(/\s+/);
|
|
1231
|
-
return o.length <= 4 ? c.some((
|
|
1232
|
-
if (Ye(
|
|
1231
|
+
return o.length <= 4 ? c.some((a) => a.includes(o)) : c.some((a) => {
|
|
1232
|
+
if (Ye(a, o))
|
|
1233
1233
|
return !0;
|
|
1234
|
-
if (
|
|
1235
|
-
for (let s = 0; s <=
|
|
1236
|
-
const u =
|
|
1234
|
+
if (a.length >= o.length)
|
|
1235
|
+
for (let s = 0; s <= a.length - o.length; s++) {
|
|
1236
|
+
const u = a.slice(s, s + o.length + 1);
|
|
1237
1237
|
if (Ye(o, u))
|
|
1238
1238
|
return !0;
|
|
1239
1239
|
}
|
|
1240
1240
|
return !1;
|
|
1241
1241
|
});
|
|
1242
|
-
},
|
|
1242
|
+
}, dt = "nav-drawer-hover", ft = "nav-drawer-animation-start", pt = "nav-drawer-animation-end", Dt = (n) => {
|
|
1243
1243
|
window.dispatchEvent(
|
|
1244
|
-
new CustomEvent(
|
|
1244
|
+
new CustomEvent(dt, {
|
|
1245
1245
|
detail: { isHovering: n },
|
|
1246
1246
|
bubbles: !0,
|
|
1247
1247
|
cancelable: !0
|
|
1248
1248
|
})
|
|
1249
1249
|
);
|
|
1250
|
-
},
|
|
1250
|
+
}, It = (n) => {
|
|
1251
1251
|
window.dispatchEvent(
|
|
1252
1252
|
new CustomEvent(n, {
|
|
1253
1253
|
bubbles: !0,
|
|
1254
1254
|
cancelable: !0
|
|
1255
1255
|
})
|
|
1256
1256
|
);
|
|
1257
|
-
}, qn = (n = !1, o = !1, c = !1) => n || !o ? "column" : c ? "row" : "row-reverse", er =
|
|
1257
|
+
}, qn = (n = !1, o = !1, c = !1) => n || !o ? "column" : c ? "row" : "row-reverse", er = gt(At), tr = gt(Pt), at = ({
|
|
1258
1258
|
isOpen: n = !1,
|
|
1259
1259
|
onClose: o,
|
|
1260
1260
|
title: c,
|
|
1261
|
-
navDrawerLinks:
|
|
1261
|
+
navDrawerLinks: a,
|
|
1262
1262
|
bottomNavButtons: s,
|
|
1263
1263
|
spotlightCards: u,
|
|
1264
1264
|
bottomButton: p,
|
|
@@ -1270,27 +1270,27 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1270
1270
|
topOffset: w,
|
|
1271
1271
|
forceMobilePlacement: y = !1
|
|
1272
1272
|
}) => {
|
|
1273
|
-
var
|
|
1274
|
-
const
|
|
1273
|
+
var le, Q, T, Y, ae, z;
|
|
1274
|
+
const R = ye({
|
|
1275
1275
|
base: !1,
|
|
1276
1276
|
tablet: !1,
|
|
1277
1277
|
largeTablet: !1,
|
|
1278
1278
|
mediumDesktop: !0,
|
|
1279
1279
|
desktop: !0,
|
|
1280
1280
|
fullDesktop: !0
|
|
1281
|
-
}) ?? !1,
|
|
1282
|
-
|
|
1283
|
-
},
|
|
1284
|
-
Jn((
|
|
1285
|
-
g(
|
|
1281
|
+
}) ?? !1, O = y ? "right" : R ? "top" : "right", m = O === "right", [H, S] = Z(0), [V, P] = Z(!1), B = () => {
|
|
1282
|
+
S((L) => L + 1);
|
|
1283
|
+
}, M = Bt(
|
|
1284
|
+
Jn((L) => {
|
|
1285
|
+
g(L), B();
|
|
1286
1286
|
}, 100),
|
|
1287
1287
|
[]
|
|
1288
1288
|
);
|
|
1289
|
-
|
|
1290
|
-
n && (
|
|
1289
|
+
ie(() => {
|
|
1290
|
+
n && (P(!0), It(ft));
|
|
1291
1291
|
}, [n]);
|
|
1292
1292
|
const ee = () => {
|
|
1293
|
-
n || (
|
|
1293
|
+
n || (P(!1), o()), It(pt);
|
|
1294
1294
|
};
|
|
1295
1295
|
return /* @__PURE__ */ t.jsx(
|
|
1296
1296
|
$t,
|
|
@@ -1300,7 +1300,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1300
1300
|
onClose: () => {
|
|
1301
1301
|
V && !m || o();
|
|
1302
1302
|
},
|
|
1303
|
-
placement:
|
|
1303
|
+
placement: O,
|
|
1304
1304
|
blockScrollOnMount: !1,
|
|
1305
1305
|
autoFocus: !1,
|
|
1306
1306
|
...m ? {
|
|
@@ -1308,12 +1308,12 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1308
1308
|
baseStyle: {
|
|
1309
1309
|
...K.components.Drawer.baseStyle,
|
|
1310
1310
|
dialogContainer: {
|
|
1311
|
-
...(Q = (
|
|
1311
|
+
...(Q = (le = K.components.Drawer) == null ? void 0 : le.baseStyle) == null ? void 0 : Q.dialogContainer,
|
|
1312
1312
|
// Higher z-index for drawer content to be above overlay and navigation
|
|
1313
1313
|
zIndex: "popover"
|
|
1314
1314
|
},
|
|
1315
1315
|
dialog: {
|
|
1316
|
-
...(Y = (
|
|
1316
|
+
...(Y = (T = K.components.Drawer) == null ? void 0 : T.baseStyle) == null ? void 0 : Y.dialog,
|
|
1317
1317
|
// Ensure mobile drawer doesn't expand to full width
|
|
1318
1318
|
maxW: "560px",
|
|
1319
1319
|
width: "auto"
|
|
@@ -1325,7 +1325,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1325
1325
|
baseStyle: {
|
|
1326
1326
|
...K.components.Drawer.baseStyle,
|
|
1327
1327
|
dialogContainer: {
|
|
1328
|
-
...(
|
|
1328
|
+
...(z = (ae = K.components.Drawer) == null ? void 0 : ae.baseStyle) == null ? void 0 : z.dialogContainer,
|
|
1329
1329
|
// Push the drawer down by the top offset on desktop to not cover the top navigation
|
|
1330
1330
|
top: `${w}px`,
|
|
1331
1331
|
// Lower index on desktop to make sure the drawer is below the top navigation
|
|
@@ -1361,15 +1361,15 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1361
1361
|
/* @__PURE__ */ t.jsxs(
|
|
1362
1362
|
er,
|
|
1363
1363
|
{
|
|
1364
|
-
onClick: (
|
|
1365
|
-
const ne =
|
|
1364
|
+
onClick: (L) => {
|
|
1365
|
+
const ne = L.target.closest("a");
|
|
1366
1366
|
ne && ne.href === window.location.href && o();
|
|
1367
1367
|
},
|
|
1368
1368
|
onMouseEnter: () => {
|
|
1369
|
-
m ||
|
|
1369
|
+
m || Dt(!0);
|
|
1370
1370
|
},
|
|
1371
|
-
onMouseLeave: (
|
|
1372
|
-
m || (!d || d && (
|
|
1371
|
+
onMouseLeave: (L) => {
|
|
1372
|
+
m || (!d || d && (L.target === L.currentTarget || !L.currentTarget.contains(L.target) && !V)) && Dt(!1);
|
|
1373
1373
|
},
|
|
1374
1374
|
paddingTop: "4",
|
|
1375
1375
|
paddingX: m ? "4" : "12",
|
|
@@ -1393,7 +1393,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1393
1393
|
},
|
|
1394
1394
|
children: [
|
|
1395
1395
|
!d && !m ? null : /* @__PURE__ */ t.jsxs(
|
|
1396
|
-
|
|
1396
|
+
Mt,
|
|
1397
1397
|
{
|
|
1398
1398
|
padding: "0",
|
|
1399
1399
|
flexDirection: d ? "column" : "row",
|
|
@@ -1441,8 +1441,8 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1441
1441
|
/* @__PURE__ */ t.jsx(
|
|
1442
1442
|
Dn,
|
|
1443
1443
|
{
|
|
1444
|
-
onChange: (
|
|
1445
|
-
|
|
1444
|
+
onChange: (L) => {
|
|
1445
|
+
M(L.target.value);
|
|
1446
1446
|
},
|
|
1447
1447
|
placeholder: "Search",
|
|
1448
1448
|
autoFocus: !0,
|
|
@@ -1452,7 +1452,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1452
1452
|
),
|
|
1453
1453
|
/* @__PURE__ */ t.jsx(
|
|
1454
1454
|
In,
|
|
1455
|
-
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(Ln, { as:
|
|
1455
|
+
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(Ln, { as: ct, color: "gray.500" }) }
|
|
1456
1456
|
)
|
|
1457
1457
|
] }
|
|
1458
1458
|
)
|
|
@@ -1460,13 +1460,13 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1460
1460
|
}
|
|
1461
1461
|
),
|
|
1462
1462
|
/* @__PURE__ */ t.jsx(
|
|
1463
|
-
|
|
1463
|
+
Ft,
|
|
1464
1464
|
{
|
|
1465
1465
|
paddingX: "0",
|
|
1466
1466
|
paddingBottom: m ? "6" : "4",
|
|
1467
1467
|
"data-testid": `navbar-drawer-body-${c.toLowerCase()}`,
|
|
1468
1468
|
children: /* @__PURE__ */ t.jsxs(
|
|
1469
|
-
|
|
1469
|
+
gt.div,
|
|
1470
1470
|
{
|
|
1471
1471
|
...m ? {} : {
|
|
1472
1472
|
initial: { opacity: 0, y: -5 },
|
|
@@ -1515,7 +1515,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1515
1515
|
gap: "6",
|
|
1516
1516
|
width: m ? "100%" : d ? void 0 : "auto",
|
|
1517
1517
|
children: [
|
|
1518
|
-
|
|
1518
|
+
a ? /* @__PURE__ */ t.jsx(C, { children: a }) : null,
|
|
1519
1519
|
s && m ? /* @__PURE__ */ t.jsx(C, { children: s }) : null,
|
|
1520
1520
|
p ? /* @__PURE__ */ t.jsx(
|
|
1521
1521
|
C,
|
|
@@ -1549,18 +1549,18 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1549
1549
|
onSearchCallback: o,
|
|
1550
1550
|
isActive: c
|
|
1551
1551
|
}) => {
|
|
1552
|
-
const [
|
|
1552
|
+
const [a, s] = Z(""), [u, p] = Z([]), v = (d, g) => {
|
|
1553
1553
|
if (!d) return [];
|
|
1554
|
-
const y =
|
|
1555
|
-
return g.filter((
|
|
1556
|
-
const
|
|
1557
|
-
if (y.some((
|
|
1558
|
-
const H =
|
|
1559
|
-
const
|
|
1560
|
-
return
|
|
1554
|
+
const y = lt(d).split(/\s+/);
|
|
1555
|
+
return g.filter((R) => {
|
|
1556
|
+
const O = lt(R.label);
|
|
1557
|
+
if (y.some((P) => Tt(O, P))) return !0;
|
|
1558
|
+
const H = O.split(/\s+/), S = y.some((P) => H.some((B) => B.includes(P) || Ye(P, B))), V = typeof R.additionalContent == "string" && y.some((P) => {
|
|
1559
|
+
const B = lt(R.additionalContent);
|
|
1560
|
+
return Tt(B, P) || B.split(/\s+/).some((M) => M.includes(P) || Ye(P, M));
|
|
1561
1561
|
});
|
|
1562
|
-
return
|
|
1563
|
-
}).sort((
|
|
1562
|
+
return S || V;
|
|
1563
|
+
}).sort((R, O) => R.label.localeCompare(O.label));
|
|
1564
1564
|
}, x = (d) => {
|
|
1565
1565
|
if (s(d), !d) {
|
|
1566
1566
|
p([]);
|
|
@@ -1571,19 +1571,19 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1571
1571
|
}, f = () => {
|
|
1572
1572
|
s(""), p([]);
|
|
1573
1573
|
};
|
|
1574
|
-
return
|
|
1574
|
+
return ie(() => {
|
|
1575
1575
|
c || (s(""), p([]));
|
|
1576
1576
|
}, [c]), {
|
|
1577
|
-
query:
|
|
1577
|
+
query: a,
|
|
1578
1578
|
results: u,
|
|
1579
1579
|
handleClose: f,
|
|
1580
1580
|
handleSearch: x
|
|
1581
1581
|
};
|
|
1582
1582
|
}, rr = (n) => {
|
|
1583
1583
|
const o = /* @__PURE__ */ new Set();
|
|
1584
|
-
return n.reduce((c,
|
|
1584
|
+
return n.reduce((c, a) => {
|
|
1585
1585
|
var u;
|
|
1586
|
-
const s = ((u =
|
|
1586
|
+
const s = ((u = a.sections) == null ? void 0 : u.reduce((p, v) => {
|
|
1587
1587
|
const x = v.links.filter((f) => o.has(f.label) || f.isSearchable !== !0 ? !1 : (o.add(f.label), !0));
|
|
1588
1588
|
return [...p, ...x];
|
|
1589
1589
|
}, [])) ?? [];
|
|
@@ -1593,7 +1593,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1593
1593
|
categories: n = [],
|
|
1594
1594
|
onCartClick: o,
|
|
1595
1595
|
mainCategoryLabel: c = "Menu",
|
|
1596
|
-
logoLink:
|
|
1596
|
+
logoLink: a = "https://www.everlywell.com",
|
|
1597
1597
|
hasSearch: s = !0,
|
|
1598
1598
|
onSearchClick: u,
|
|
1599
1599
|
registrationUrl: p,
|
|
@@ -1604,24 +1604,24 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1604
1604
|
onSearchCallback: g,
|
|
1605
1605
|
onLinkClick: w,
|
|
1606
1606
|
onCategoryOpen: y,
|
|
1607
|
-
onMobileMenuOpen:
|
|
1608
|
-
onBackToMainMenu:
|
|
1607
|
+
onMobileMenuOpen: R,
|
|
1608
|
+
onBackToMainMenu: O,
|
|
1609
1609
|
onRegisterKitClick: m,
|
|
1610
1610
|
onProfileClick: H,
|
|
1611
|
-
onLogoClick:
|
|
1611
|
+
onLogoClick: S,
|
|
1612
1612
|
shopAllProductsUrl: V,
|
|
1613
|
-
onShopAllProductsClick:
|
|
1614
|
-
hideableButtons:
|
|
1613
|
+
onShopAllProductsClick: P,
|
|
1614
|
+
hideableButtons: B
|
|
1615
1615
|
}) => {
|
|
1616
1616
|
var de, ze, Ie;
|
|
1617
|
-
const [
|
|
1618
|
-
|
|
1619
|
-
const
|
|
1620
|
-
return window.addEventListener(
|
|
1617
|
+
const [M, ee] = Z(!1), [le, Q] = Z(!1), [T, Y] = Z(null), [ae, z] = Z(!1), [L, te] = Z(!1), [ne, Pe] = Z(0), [$e, Re] = Z(!1), [_e, se] = Z(!1);
|
|
1618
|
+
ie(() => {
|
|
1619
|
+
const i = () => Re(!0), D = () => Re(!1);
|
|
1620
|
+
return window.addEventListener(ft, i), window.addEventListener(pt, D), () => {
|
|
1621
1621
|
window.removeEventListener(
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
), window.removeEventListener(
|
|
1622
|
+
ft,
|
|
1623
|
+
i
|
|
1624
|
+
), window.removeEventListener(pt, D);
|
|
1625
1625
|
};
|
|
1626
1626
|
}, []);
|
|
1627
1627
|
const Se = ye({
|
|
@@ -1646,7 +1646,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1646
1646
|
desktop: !1,
|
|
1647
1647
|
fullDesktop: !1
|
|
1648
1648
|
}) ?? !0;
|
|
1649
|
-
|
|
1649
|
+
ie(() => {
|
|
1650
1650
|
me(), Y(null);
|
|
1651
1651
|
}, [Se]);
|
|
1652
1652
|
const {
|
|
@@ -1656,8 +1656,8 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1656
1656
|
} = nr({
|
|
1657
1657
|
source: rr(n),
|
|
1658
1658
|
onSearchCallback: g,
|
|
1659
|
-
isActive:
|
|
1660
|
-
}), ve = fe.length > 0, ce = d || X, Ze = ke(V, !!d),
|
|
1659
|
+
isActive: le
|
|
1660
|
+
}), ve = fe.length > 0, ce = d || X, Ze = ke(V, !!d), Me = Te && /* @__PURE__ */ t.jsxs(
|
|
1661
1661
|
k,
|
|
1662
1662
|
{ gap: ve ? "6" : 0, direction: "column", children: [
|
|
1663
1663
|
ve ? /* @__PURE__ */ t.jsx(W, { color: "tints.uiGrey", children: `${fe.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
@@ -1668,10 +1668,10 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1668
1668
|
{ color: "tints.uiGrey", children: "We didn't find what you were looking for." }
|
|
1669
1669
|
),
|
|
1670
1670
|
/* @__PURE__ */ t.jsx(
|
|
1671
|
-
|
|
1671
|
+
ht,
|
|
1672
1672
|
{
|
|
1673
1673
|
as: ce,
|
|
1674
|
-
onClick:
|
|
1674
|
+
onClick: P,
|
|
1675
1675
|
_hover: { textDecoration: "none" },
|
|
1676
1676
|
width: ["100%", null, null, "auto"],
|
|
1677
1677
|
...Ze,
|
|
@@ -1683,125 +1683,127 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1683
1683
|
/* @__PURE__ */ t.jsx(
|
|
1684
1684
|
an,
|
|
1685
1685
|
{ columns: [1, 1, 1, 4], children: fe.map(
|
|
1686
|
-
(
|
|
1686
|
+
(i, D) => /* @__PURE__ */ t.jsx(
|
|
1687
1687
|
sn,
|
|
1688
1688
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1689
1689
|
Ne,
|
|
1690
1690
|
{
|
|
1691
|
-
href:
|
|
1692
|
-
label:
|
|
1693
|
-
additionalContent:
|
|
1691
|
+
href: i.href,
|
|
1692
|
+
label: i.label,
|
|
1693
|
+
additionalContent: i == null ? void 0 : i.additionalContent,
|
|
1694
1694
|
linkComponent: d,
|
|
1695
1695
|
forceMobileStyle: !Se
|
|
1696
1696
|
}
|
|
1697
1697
|
) },
|
|
1698
|
-
`${
|
|
1698
|
+
`${i.label}-${D}`
|
|
1699
1699
|
)
|
|
1700
1700
|
) }
|
|
1701
1701
|
)
|
|
1702
1702
|
] }
|
|
1703
1703
|
), me = () => {
|
|
1704
1704
|
ee(!1), Y(null);
|
|
1705
|
-
}, oe = (
|
|
1706
|
-
oe(
|
|
1707
|
-
}, pe = (
|
|
1708
|
-
|
|
1709
|
-
},
|
|
1710
|
-
|
|
1705
|
+
}, oe = (i) => "href" in i, be = (i) => {
|
|
1706
|
+
oe(i) ? w == null || w(i.label) : (se(M || !re), Y(i));
|
|
1707
|
+
}, pe = (i) => {
|
|
1708
|
+
z(!0), Q(!1), Y(null), !oe(i) && (i.sections || i.spotlightCards) && (se(!1), Y(i));
|
|
1709
|
+
}, Fe = () => {
|
|
1710
|
+
z(!1);
|
|
1711
1711
|
};
|
|
1712
|
-
|
|
1713
|
-
const
|
|
1714
|
-
te(
|
|
1712
|
+
ie(() => {
|
|
1713
|
+
const i = (D) => {
|
|
1714
|
+
te(D.detail.isHovering);
|
|
1715
1715
|
};
|
|
1716
1716
|
return window.addEventListener(
|
|
1717
|
-
|
|
1718
|
-
|
|
1717
|
+
dt,
|
|
1718
|
+
i
|
|
1719
1719
|
), () => {
|
|
1720
1720
|
window.removeEventListener(
|
|
1721
|
-
|
|
1722
|
-
|
|
1721
|
+
dt,
|
|
1722
|
+
i
|
|
1723
1723
|
);
|
|
1724
1724
|
};
|
|
1725
|
-
}, []),
|
|
1726
|
-
!
|
|
1727
|
-
}, [
|
|
1728
|
-
let
|
|
1729
|
-
const
|
|
1730
|
-
const
|
|
1731
|
-
|
|
1732
|
-
},
|
|
1733
|
-
return window.addEventListener("popstate",
|
|
1734
|
-
window.removeEventListener("popstate",
|
|
1725
|
+
}, []), ie(() => {
|
|
1726
|
+
!ae && !L && (Y(null), Q(!1), !M && re && se(!1));
|
|
1727
|
+
}, [ae, L, M, re]), ie(() => {
|
|
1728
|
+
let i = window.location.href;
|
|
1729
|
+
const D = () => {
|
|
1730
|
+
const F = window.location.href;
|
|
1731
|
+
F !== i && (i = F, me(), Y(null));
|
|
1732
|
+
}, I = setInterval(D, 100);
|
|
1733
|
+
return window.addEventListener("popstate", D), () => {
|
|
1734
|
+
window.removeEventListener("popstate", D), clearInterval(I);
|
|
1735
1735
|
};
|
|
1736
1736
|
}, []);
|
|
1737
|
-
const we = (
|
|
1738
|
-
(
|
|
1739
|
-
var
|
|
1737
|
+
const we = (i) => oe(i) && (!i.buttonProps || Object.keys(i.buttonProps).length === 0 || i.buttonProps === void 0), ue = re ? n : n == null ? void 0 : n.filter((i) => !B.includes(i.label)), Xe = ue == null ? void 0 : ue.map(
|
|
1738
|
+
(i, D) => {
|
|
1739
|
+
var I, F;
|
|
1740
1740
|
return /* @__PURE__ */ t.jsx(
|
|
1741
1741
|
Ve,
|
|
1742
1742
|
{
|
|
1743
1743
|
height: "48px",
|
|
1744
1744
|
paddingInline: "16px !important",
|
|
1745
1745
|
onMouseEnter: () => {
|
|
1746
|
-
pe(
|
|
1746
|
+
pe(i), y == null || y(i.label);
|
|
1747
1747
|
},
|
|
1748
|
-
onMouseLeave:
|
|
1749
|
-
isSelected: (
|
|
1750
|
-
as: oe(
|
|
1751
|
-
href: oe(
|
|
1752
|
-
onClick: oe(
|
|
1753
|
-
...((
|
|
1748
|
+
onMouseLeave: Fe,
|
|
1749
|
+
isSelected: (T == null ? void 0 : T.label) === i.label,
|
|
1750
|
+
as: oe(i) && ce ? ce : X,
|
|
1751
|
+
href: oe(i) ? i.href : void 0,
|
|
1752
|
+
onClick: oe(i) ? () => w == null ? void 0 : w(i.label) : void 0,
|
|
1753
|
+
...((I = i == null ? void 0 : i.context) == null ? void 0 : I.desktop) === "link" || we(i) ? {
|
|
1754
1754
|
_hover: {
|
|
1755
1755
|
backgroundColor: "tints.lightCream",
|
|
1756
1756
|
textDecoration: "none",
|
|
1757
1757
|
filter: "brightness(0.95)"
|
|
1758
1758
|
}
|
|
1759
1759
|
} : {},
|
|
1760
|
-
...((
|
|
1761
|
-
children:
|
|
1760
|
+
...((F = i == null ? void 0 : i.context) == null ? void 0 : F.desktop) !== "link" && i.buttonProps,
|
|
1761
|
+
children: i.label
|
|
1762
1762
|
},
|
|
1763
|
-
`${
|
|
1763
|
+
`${i.label}-${D}`
|
|
1764
1764
|
);
|
|
1765
1765
|
}
|
|
1766
1766
|
), Ke = (de = n.filter(
|
|
1767
|
-
(
|
|
1768
|
-
var
|
|
1769
|
-
return (
|
|
1767
|
+
(i) => {
|
|
1768
|
+
var D;
|
|
1769
|
+
return ((D = i == null ? void 0 : i.context) == null ? void 0 : D.mobile) === "link" || (!oe(i) && i.isMobileTopLink !== !1 || we(i)) && (Ge && B.includes(i.label) || Ue);
|
|
1770
1770
|
}
|
|
1771
|
-
)) == null ? void 0 : de.map((
|
|
1772
|
-
|
|
1773
|
-
|
|
1771
|
+
)) == null ? void 0 : de.map((i, D) => {
|
|
1772
|
+
var F;
|
|
1773
|
+
const I = i;
|
|
1774
|
+
return we(I) || ((F = I == null ? void 0 : I.context) == null ? void 0 : F.mobile) === "link" ? /* @__PURE__ */ t.jsx(
|
|
1774
1775
|
C,
|
|
1775
1776
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1776
1777
|
Ne,
|
|
1777
1778
|
{
|
|
1778
|
-
label:
|
|
1779
|
+
label: I.label,
|
|
1779
1780
|
role: "link",
|
|
1780
|
-
href:
|
|
1781
|
+
href: I.href,
|
|
1781
1782
|
mainTextFontSize: "3xl",
|
|
1782
|
-
linkComponent: d
|
|
1783
|
+
linkComponent: d,
|
|
1784
|
+
forceMobileStyle: !0
|
|
1783
1785
|
}
|
|
1784
1786
|
) },
|
|
1785
|
-
`${
|
|
1787
|
+
`${I.label}-${D}`
|
|
1786
1788
|
) : /* @__PURE__ */ t.jsx(
|
|
1787
1789
|
C,
|
|
1788
1790
|
{
|
|
1789
1791
|
onClick: () => {
|
|
1790
|
-
be(
|
|
1792
|
+
be(I), y == null || y(I.label);
|
|
1791
1793
|
},
|
|
1792
1794
|
children: /* @__PURE__ */ t.jsx(
|
|
1793
1795
|
Ne,
|
|
1794
1796
|
{
|
|
1795
|
-
label:
|
|
1797
|
+
label: I.label,
|
|
1796
1798
|
role: "link",
|
|
1797
|
-
additionalContent:
|
|
1799
|
+
additionalContent: I.additionalContent,
|
|
1798
1800
|
mainTextFontSize: "3xl",
|
|
1799
1801
|
linkComponent: d,
|
|
1800
1802
|
forceMobileStyle: !0
|
|
1801
1803
|
}
|
|
1802
1804
|
)
|
|
1803
1805
|
},
|
|
1804
|
-
`${
|
|
1806
|
+
`${I.label}-${D}`
|
|
1805
1807
|
);
|
|
1806
1808
|
}), De = /* @__PURE__ */ t.jsxs(
|
|
1807
1809
|
t.Fragment,
|
|
@@ -1818,7 +1820,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1818
1820
|
k,
|
|
1819
1821
|
{ gap: "2", children: [
|
|
1820
1822
|
"Log in to My Everly",
|
|
1821
|
-
/* @__PURE__ */ t.jsx(J, { as:
|
|
1823
|
+
/* @__PURE__ */ t.jsx(J, { as: kt, size: 24 })
|
|
1822
1824
|
] }
|
|
1823
1825
|
)
|
|
1824
1826
|
},
|
|
@@ -1849,12 +1851,12 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1849
1851
|
x,
|
|
1850
1852
|
De
|
|
1851
1853
|
] }
|
|
1852
|
-
), q = _e ||
|
|
1854
|
+
), q = _e || M, He = T ? /* @__PURE__ */ t.jsx(
|
|
1853
1855
|
k,
|
|
1854
|
-
{ direction: q ? "column" : ["column", null, null, "row"], gap: "8", children: (ze =
|
|
1855
|
-
const
|
|
1856
|
-
for (let
|
|
1857
|
-
|
|
1856
|
+
{ direction: q ? "column" : ["column", null, null, "row"], gap: "8", children: (ze = T == null ? void 0 : T.sections) == null ? void 0 : ze.map((i, D) => {
|
|
1857
|
+
const I = [];
|
|
1858
|
+
for (let F = 0; F < i.links.length; F += 3)
|
|
1859
|
+
I.push(i.links.slice(F, F + 3));
|
|
1858
1860
|
return /* @__PURE__ */ t.jsxs(
|
|
1859
1861
|
C,
|
|
1860
1862
|
{ children: [
|
|
@@ -1864,7 +1866,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1864
1866
|
fontSize: "md",
|
|
1865
1867
|
color: "tints.uiGrey",
|
|
1866
1868
|
marginBottom: q ? 0 : [0, null, null, 6],
|
|
1867
|
-
children:
|
|
1869
|
+
children: i.title
|
|
1868
1870
|
}
|
|
1869
1871
|
),
|
|
1870
1872
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1872,14 +1874,14 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1872
1874
|
{
|
|
1873
1875
|
flexDirection: q ? "column" : ["column", null, null, "row"],
|
|
1874
1876
|
gap: q ? void 0 : [null, null, null, 8],
|
|
1875
|
-
children:
|
|
1876
|
-
(
|
|
1877
|
+
children: I == null ? void 0 : I.map(
|
|
1878
|
+
(F, Qe) => /* @__PURE__ */ t.jsx(
|
|
1877
1879
|
k,
|
|
1878
1880
|
{
|
|
1879
1881
|
flexDirection: "column",
|
|
1880
1882
|
gap: q ? void 0 : [null, null, null, 5],
|
|
1881
1883
|
marginLeft: q ? void 0 : [null, null, null, -2],
|
|
1882
|
-
children:
|
|
1884
|
+
children: F == null ? void 0 : F.map(
|
|
1883
1885
|
(he, qe) => /* @__PURE__ */ t.jsx(
|
|
1884
1886
|
Ne,
|
|
1885
1887
|
{
|
|
@@ -1900,17 +1902,17 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1900
1902
|
}
|
|
1901
1903
|
)
|
|
1902
1904
|
] },
|
|
1903
|
-
`${
|
|
1905
|
+
`${i.title}-${D}`
|
|
1904
1906
|
);
|
|
1905
1907
|
}) }
|
|
1906
|
-
) : null, Be =
|
|
1907
|
-
(
|
|
1908
|
+
) : null, Be = T != null && T.spotlightCards ? (Ie = T.spotlightCards) == null ? void 0 : Ie.map(
|
|
1909
|
+
(i, D) => /* @__PURE__ */ t.jsx(
|
|
1908
1910
|
Zn,
|
|
1909
1911
|
{
|
|
1910
|
-
...
|
|
1912
|
+
...i,
|
|
1911
1913
|
forceMobileStyle: q
|
|
1912
1914
|
},
|
|
1913
|
-
`${
|
|
1915
|
+
`${i.title}-${D}`
|
|
1914
1916
|
)
|
|
1915
1917
|
) : /* @__PURE__ */ t.jsx(C, {});
|
|
1916
1918
|
return /* @__PURE__ */ t.jsxs(
|
|
@@ -1941,7 +1943,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1941
1943
|
),
|
|
1942
1944
|
profileElement: /* @__PURE__ */ t.jsx(
|
|
1943
1945
|
X,
|
|
1944
|
-
{ href: v, "aria-label": "login", onClick: H, children: /* @__PURE__ */ t.jsx(Ee, { icon: /* @__PURE__ */ t.jsx(J, { as:
|
|
1946
|
+
{ href: v, "aria-label": "login", onClick: H, children: /* @__PURE__ */ t.jsx(Ee, { icon: /* @__PURE__ */ t.jsx(J, { as: kt }), "aria-label": "Profile" }) }
|
|
1945
1947
|
),
|
|
1946
1948
|
cartElement: /* @__PURE__ */ t.jsx(
|
|
1947
1949
|
Kn,
|
|
@@ -1952,15 +1954,15 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1952
1954
|
}
|
|
1953
1955
|
),
|
|
1954
1956
|
onSearchClick: () => {
|
|
1955
|
-
Q(!
|
|
1957
|
+
Q(!le), u == null || u();
|
|
1956
1958
|
},
|
|
1957
1959
|
onMenuClick: () => {
|
|
1958
|
-
ee(!0),
|
|
1960
|
+
ee(!0), R == null || R();
|
|
1959
1961
|
},
|
|
1960
1962
|
hasSearch: s,
|
|
1961
|
-
logoLink:
|
|
1963
|
+
logoLink: a,
|
|
1962
1964
|
linkComponent: d,
|
|
1963
|
-
onLogoClick:
|
|
1965
|
+
onLogoClick: S,
|
|
1964
1966
|
setTopOffset: Pe
|
|
1965
1967
|
}
|
|
1966
1968
|
),
|
|
@@ -1968,9 +1970,9 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1968
1970
|
C,
|
|
1969
1971
|
{ position: "relative", zIndex: "modal", children: [
|
|
1970
1972
|
/* @__PURE__ */ t.jsx(
|
|
1971
|
-
|
|
1973
|
+
at,
|
|
1972
1974
|
{
|
|
1973
|
-
isOpen:
|
|
1975
|
+
isOpen: M,
|
|
1974
1976
|
onClose: me,
|
|
1975
1977
|
title: c,
|
|
1976
1978
|
navDrawerLinks: Ke,
|
|
@@ -1981,32 +1983,32 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
1981
1983
|
}
|
|
1982
1984
|
),
|
|
1983
1985
|
/* @__PURE__ */ t.jsx(
|
|
1984
|
-
|
|
1986
|
+
at,
|
|
1985
1987
|
{
|
|
1986
|
-
isOpen: !!
|
|
1988
|
+
isOpen: !!T,
|
|
1987
1989
|
onClose: () => {
|
|
1988
|
-
me(), Y(null),
|
|
1990
|
+
me(), Y(null), M || se(!1);
|
|
1989
1991
|
},
|
|
1990
|
-
title: (
|
|
1991
|
-
navDrawerLinks:
|
|
1992
|
+
title: (T == null ? void 0 : T.label) || "",
|
|
1993
|
+
navDrawerLinks: He,
|
|
1992
1994
|
onBackClick: () => {
|
|
1993
|
-
Y(null),
|
|
1995
|
+
Y(null), M || se(!1);
|
|
1994
1996
|
},
|
|
1995
1997
|
spotlightCards: Be,
|
|
1996
|
-
hasOnlySpotlightCards:
|
|
1997
|
-
bottomButton:
|
|
1998
|
+
hasOnlySpotlightCards: T == null ? void 0 : T.hasOnlySpotlightCards,
|
|
1999
|
+
bottomButton: T == null ? void 0 : T.bottomButton,
|
|
1998
2000
|
topOffset: ne,
|
|
1999
|
-
forceMobilePlacement: _e ||
|
|
2000
|
-
|
|
2001
|
+
forceMobilePlacement: _e || M || // Below 1400px, if main menu is open, always use mobile closing
|
|
2002
|
+
M && !re
|
|
2001
2003
|
}
|
|
2002
2004
|
),
|
|
2003
2005
|
/* @__PURE__ */ t.jsx(
|
|
2004
|
-
|
|
2006
|
+
at,
|
|
2005
2007
|
{
|
|
2006
|
-
isOpen:
|
|
2008
|
+
isOpen: le,
|
|
2007
2009
|
onClose: () => Q(!1),
|
|
2008
2010
|
title: "Search",
|
|
2009
|
-
navDrawerLinks:
|
|
2011
|
+
navDrawerLinks: Me,
|
|
2010
2012
|
onSearch: xe,
|
|
2011
2013
|
hasSearch: !0,
|
|
2012
2014
|
hasBackButton: !1,
|
|
@@ -2018,8 +2020,8 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2018
2020
|
]
|
|
2019
2021
|
}
|
|
2020
2022
|
);
|
|
2021
|
-
},
|
|
2022
|
-
const
|
|
2023
|
+
}, Lt = ({ links: n, linkComponent: o, onLinkClick: c }) => {
|
|
2024
|
+
const a = o || X, s = (u) => {
|
|
2023
2025
|
c && c(u);
|
|
2024
2026
|
};
|
|
2025
2027
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -2028,7 +2030,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2028
2030
|
(u) => /* @__PURE__ */ t.jsx(
|
|
2029
2031
|
W,
|
|
2030
2032
|
{
|
|
2031
|
-
as:
|
|
2033
|
+
as: a,
|
|
2032
2034
|
color: "white",
|
|
2033
2035
|
size: "lg",
|
|
2034
2036
|
_hover: { color: "viridian.lighter", textDecoration: "none" },
|
|
@@ -2041,10 +2043,10 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2041
2043
|
) }
|
|
2042
2044
|
);
|
|
2043
2045
|
}, or = ({ title: n, links: o, isLast: c }) => {
|
|
2044
|
-
const
|
|
2046
|
+
const a = c ? "transparent" : `${K.colors.viridian.lighter}20`;
|
|
2045
2047
|
return o ? /* @__PURE__ */ t.jsx(
|
|
2046
2048
|
un,
|
|
2047
|
-
{ borderColor:
|
|
2049
|
+
{ borderColor: a, children: ({ isExpanded: s }) => /* @__PURE__ */ t.jsxs(
|
|
2048
2050
|
t.Fragment,
|
|
2049
2051
|
{ children: [
|
|
2050
2052
|
/* @__PURE__ */ t.jsxs(
|
|
@@ -2057,7 +2059,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2057
2059
|
/* @__PURE__ */ t.jsx(
|
|
2058
2060
|
J,
|
|
2059
2061
|
{
|
|
2060
|
-
as:
|
|
2062
|
+
as: Mn,
|
|
2061
2063
|
size: "sm",
|
|
2062
2064
|
color: "viridian.lighter",
|
|
2063
2065
|
transform: s ? "rotate(-180deg)" : "rotate(0deg)",
|
|
@@ -2073,7 +2075,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2073
2075
|
] }
|
|
2074
2076
|
) }
|
|
2075
2077
|
) : null;
|
|
2076
|
-
},
|
|
2078
|
+
}, ir = ({ title: n, links: o }) => o ? /* @__PURE__ */ t.jsxs(
|
|
2077
2079
|
C,
|
|
2078
2080
|
{ children: [
|
|
2079
2081
|
/* @__PURE__ */ t.jsx(
|
|
@@ -2082,7 +2084,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2082
2084
|
),
|
|
2083
2085
|
o
|
|
2084
2086
|
] }
|
|
2085
|
-
) : null,
|
|
2087
|
+
) : null, lr = ({
|
|
2086
2088
|
sections: n,
|
|
2087
2089
|
linkComponent: o,
|
|
2088
2090
|
onLinkClick: c
|
|
@@ -2100,11 +2102,11 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2100
2102
|
k,
|
|
2101
2103
|
{ gap: 120, children: n.map(
|
|
2102
2104
|
({ title: s, links: u }) => /* @__PURE__ */ t.jsx(
|
|
2103
|
-
|
|
2105
|
+
ir,
|
|
2104
2106
|
{
|
|
2105
2107
|
title: s,
|
|
2106
2108
|
links: /* @__PURE__ */ t.jsx(
|
|
2107
|
-
|
|
2109
|
+
Lt,
|
|
2108
2110
|
{
|
|
2109
2111
|
links: u,
|
|
2110
2112
|
linkComponent: o,
|
|
@@ -2131,7 +2133,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2131
2133
|
{
|
|
2132
2134
|
title: s,
|
|
2133
2135
|
links: /* @__PURE__ */ t.jsx(
|
|
2134
|
-
|
|
2136
|
+
Lt,
|
|
2135
2137
|
{
|
|
2136
2138
|
links: u,
|
|
2137
2139
|
linkComponent: o,
|
|
@@ -2144,17 +2146,17 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2144
2146
|
)
|
|
2145
2147
|
)
|
|
2146
2148
|
}
|
|
2147
|
-
),
|
|
2148
|
-
instagram:
|
|
2149
|
+
), Ot = {
|
|
2150
|
+
instagram: Hn,
|
|
2149
2151
|
linkedin: Bn,
|
|
2150
2152
|
facebook: zn,
|
|
2151
2153
|
tiktok: Wn,
|
|
2152
2154
|
x: Nn
|
|
2153
|
-
},
|
|
2155
|
+
}, ar = ({
|
|
2154
2156
|
socialLinks: n,
|
|
2155
2157
|
onEmailSubmit: o,
|
|
2156
2158
|
socialMediaLabel: c,
|
|
2157
|
-
newsletterLabel:
|
|
2159
|
+
newsletterLabel: a,
|
|
2158
2160
|
onLinkClick: s,
|
|
2159
2161
|
showNewsletter: u = !0
|
|
2160
2162
|
}) => {
|
|
@@ -2173,7 +2175,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2173
2175
|
{ mb: [8, 10], children: [
|
|
2174
2176
|
/* @__PURE__ */ t.jsx(
|
|
2175
2177
|
W,
|
|
2176
|
-
{ color: "viridian.lighter", mb: 6, size: "lg", children:
|
|
2178
|
+
{ color: "viridian.lighter", mb: 6, size: "lg", children: a }
|
|
2177
2179
|
),
|
|
2178
2180
|
/* @__PURE__ */ t.jsxs(
|
|
2179
2181
|
pn,
|
|
@@ -2200,7 +2202,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2200
2202
|
{ h: "52px", pr: 4, children: /* @__PURE__ */ t.jsx(
|
|
2201
2203
|
J,
|
|
2202
2204
|
{
|
|
2203
|
-
as:
|
|
2205
|
+
as: Fn,
|
|
2204
2206
|
color: "viridian.lighter",
|
|
2205
2207
|
width: "24px",
|
|
2206
2208
|
height: "24px",
|
|
@@ -2235,10 +2237,10 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2235
2237
|
rel: "noopener noreferrer",
|
|
2236
2238
|
"aria-label": g.name,
|
|
2237
2239
|
onClick: () => d(g.name),
|
|
2238
|
-
children:
|
|
2240
|
+
children: Ot[g.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
|
|
2239
2241
|
J,
|
|
2240
2242
|
{
|
|
2241
|
-
as:
|
|
2243
|
+
as: Ot[g.name.toLowerCase()],
|
|
2242
2244
|
color: "white",
|
|
2243
2245
|
width: ["48px", null, "24px", null],
|
|
2244
2246
|
height: ["48px", null, "24px", null]
|
|
@@ -2258,13 +2260,13 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2258
2260
|
linkComponent: o,
|
|
2259
2261
|
onLinkClick: c
|
|
2260
2262
|
}) => {
|
|
2261
|
-
const
|
|
2263
|
+
const a = o || X, s = (p) => {
|
|
2262
2264
|
c && c(p);
|
|
2263
2265
|
}, u = n == null ? void 0 : n.map(
|
|
2264
2266
|
(p) => /* @__PURE__ */ t.jsx(
|
|
2265
2267
|
W,
|
|
2266
2268
|
{
|
|
2267
|
-
as:
|
|
2269
|
+
as: a,
|
|
2268
2270
|
color: "viridian.lighter",
|
|
2269
2271
|
size: "sm",
|
|
2270
2272
|
_hover: { color: "white", textDecoration: "none" },
|
|
@@ -2307,7 +2309,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2307
2309
|
navigationSections: n = [],
|
|
2308
2310
|
disclaimer: o,
|
|
2309
2311
|
newsletterLabel: c,
|
|
2310
|
-
socialMediaLabel:
|
|
2312
|
+
socialMediaLabel: a,
|
|
2311
2313
|
socialLinks: s,
|
|
2312
2314
|
complianceLinks: u,
|
|
2313
2315
|
linkComponent: p,
|
|
@@ -2337,7 +2339,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2337
2339
|
gap: [8, 8, 8, 0],
|
|
2338
2340
|
children: [
|
|
2339
2341
|
/* @__PURE__ */ t.jsx(
|
|
2340
|
-
|
|
2342
|
+
lr,
|
|
2341
2343
|
{
|
|
2342
2344
|
sections: n,
|
|
2343
2345
|
linkComponent: p,
|
|
@@ -2345,11 +2347,11 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2345
2347
|
}
|
|
2346
2348
|
),
|
|
2347
2349
|
/* @__PURE__ */ t.jsx(
|
|
2348
|
-
|
|
2350
|
+
ar,
|
|
2349
2351
|
{
|
|
2350
2352
|
socialLinks: s,
|
|
2351
2353
|
newsletterLabel: c,
|
|
2352
|
-
socialMediaLabel:
|
|
2354
|
+
socialMediaLabel: a,
|
|
2353
2355
|
onEmailSubmit: v,
|
|
2354
2356
|
onLinkClick: d,
|
|
2355
2357
|
showNewsletter: g
|
|
@@ -2409,8 +2411,8 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2409
2411
|
Container: $t,
|
|
2410
2412
|
Overlay: Pt,
|
|
2411
2413
|
Content: At,
|
|
2412
|
-
Header:
|
|
2413
|
-
Body:
|
|
2414
|
+
Header: Mt,
|
|
2415
|
+
Body: Ft,
|
|
2414
2416
|
Footer: vn,
|
|
2415
2417
|
CloseButton: mn
|
|
2416
2418
|
} : {
|
|
@@ -2425,7 +2427,7 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2425
2427
|
isOpen: n,
|
|
2426
2428
|
onClose: o,
|
|
2427
2429
|
children: c,
|
|
2428
|
-
header:
|
|
2430
|
+
header: a,
|
|
2429
2431
|
footer: s,
|
|
2430
2432
|
headerProps: u,
|
|
2431
2433
|
bodyProps: p,
|
|
@@ -2433,15 +2435,15 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2433
2435
|
contentProps: x,
|
|
2434
2436
|
...f
|
|
2435
2437
|
}) => {
|
|
2436
|
-
var V,
|
|
2437
|
-
const [d] =
|
|
2438
|
+
var V, P, B, M, ee;
|
|
2439
|
+
const [d] = st(`(max-width: ${K.breakpoints.tablet})`), g = (ee = (M = (B = (P = (V = K) == null ? void 0 : V.components) == null ? void 0 : P.Modal) == null ? void 0 : B.baseStyle) == null ? void 0 : M.overlay) == null ? void 0 : ee.background, {
|
|
2438
2440
|
Container: w,
|
|
2439
2441
|
Overlay: y,
|
|
2440
|
-
Content:
|
|
2441
|
-
Header:
|
|
2442
|
+
Content: R,
|
|
2443
|
+
Header: O,
|
|
2442
2444
|
Body: m,
|
|
2443
2445
|
Footer: H,
|
|
2444
|
-
CloseButton:
|
|
2446
|
+
CloseButton: S
|
|
2445
2447
|
} = cr(d);
|
|
2446
2448
|
return /* @__PURE__ */ t.jsxs(
|
|
2447
2449
|
w,
|
|
@@ -2454,17 +2456,17 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2454
2456
|
children: [
|
|
2455
2457
|
/* @__PURE__ */ t.jsx(y, { backdropFilter: "auto", backgroundColor: g }),
|
|
2456
2458
|
/* @__PURE__ */ t.jsxs(
|
|
2457
|
-
|
|
2459
|
+
R,
|
|
2458
2460
|
{
|
|
2459
2461
|
backgroundColor: "tints.white",
|
|
2460
2462
|
borderRadius: d ? "20px 20px 0 0" : "20px",
|
|
2461
2463
|
overflowY: "auto",
|
|
2462
2464
|
gap: 0,
|
|
2463
|
-
...
|
|
2465
|
+
...a && d && { paddingTop: 0 },
|
|
2464
2466
|
...x,
|
|
2465
2467
|
children: [
|
|
2466
2468
|
/* @__PURE__ */ t.jsxs(
|
|
2467
|
-
|
|
2469
|
+
O,
|
|
2468
2470
|
{
|
|
2469
2471
|
display: "flex",
|
|
2470
2472
|
width: "100%",
|
|
@@ -2481,9 +2483,9 @@ const lt = 60, _t = 6, Un = (n) => {
|
|
|
2481
2483
|
...d ? { paddingBlock: 4 } : { paddingTop: 6, paddingBlockEnd: 2 },
|
|
2482
2484
|
...u,
|
|
2483
2485
|
children: [
|
|
2484
|
-
|
|
2486
|
+
a,
|
|
2485
2487
|
/* @__PURE__ */ t.jsx(
|
|
2486
|
-
|
|
2488
|
+
S,
|
|
2487
2489
|
{
|
|
2488
2490
|
position: "static",
|
|
2489
2491
|
width: 32,
|
|
@@ -2524,7 +2526,7 @@ export {
|
|
|
2524
2526
|
br as Footer,
|
|
2525
2527
|
Ve as NavButton,
|
|
2526
2528
|
vr as NavSkeleton,
|
|
2527
|
-
|
|
2529
|
+
at as NavbarDrawer,
|
|
2528
2530
|
Ne as NavbarDrawerLink,
|
|
2529
2531
|
mr as NavigationBar,
|
|
2530
2532
|
Zn as SpotlightCard,
|