@everlywell/consumer-ui 1.35.0 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +10 -12
- package/index.mjs +556 -561
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts.map +1 -1
- package/lib/components/Navbar/NavigationBar/NavigationBar.builder.d.ts.map +1 -1
- package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts.map +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useSteps as
|
|
2
|
-
import Ke, { useEffect as Z, forwardRef as bt, useRef as Jt, useCallback as mt, useState as
|
|
3
|
-
import { Text as qt, useBreakpointValue as Xe, InputGroup as Qt, Input as
|
|
4
|
-
import { CaretRight as ct, MagnifyingGlass as jt, List as
|
|
5
|
-
import { motion as Je, AnimatePresence as
|
|
6
|
-
var
|
|
1
|
+
import { useSteps as Mt, Box as E, Stepper as Wt, Icon as ue, Flex as k, Text as K, Link as z, Button as xt, Image as Bt, IconButton as Vt, VStack as Nt, Skeleton as Ne, HStack as ut, SkeletonCircle as De, DrawerContent as Yt, DrawerOverlay as zt, Drawer as Gt, DrawerHeader as Ut, DrawerBody as Zt, Grid as Kt, GridItem as Xt } from "@everlywell/ui-kit";
|
|
2
|
+
import Ke, { useEffect as Z, forwardRef as bt, useRef as Jt, useCallback as mt, useState as B } from "react";
|
|
3
|
+
import { Text as qt, useBreakpointValue as Xe, InputGroup as Qt, Input as er, InputRightElement as tr, Icon as rr } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as ct, MagnifyingGlass as jt, List as nr, Basket as lr, CaretLeft as ar, X as ir, User as dt, QrCode as or } from "@phosphor-icons/react";
|
|
5
|
+
import { motion as Je, AnimatePresence as sr } from "framer-motion";
|
|
6
|
+
var Ue = { exports: {} }, Ce = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -14,24 +14,20 @@ var Ge = { exports: {} }, Ce = {};
|
|
|
14
14
|
* LICENSE file in the root directory of this source tree.
|
|
15
15
|
*/
|
|
16
16
|
var ft;
|
|
17
|
-
function
|
|
18
|
-
if (ft)
|
|
19
|
-
return Ce;
|
|
17
|
+
function ur() {
|
|
18
|
+
if (ft) return Ce;
|
|
20
19
|
ft = 1;
|
|
21
|
-
var l = Ke,
|
|
22
|
-
function
|
|
23
|
-
var
|
|
24
|
-
|
|
25
|
-
for (
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
for (o in c = R.defaultProps, c)
|
|
29
|
-
j[o] === void 0 && (j[o] = c[o]);
|
|
30
|
-
return { $$typeof: s, type: R, key: v, ref: u, props: j, _owner: w.current };
|
|
20
|
+
var l = Ke, o = Symbol.for("react.element"), p = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, j = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function b(R, c, y) {
|
|
22
|
+
var s, C = {}, g = null, u = null;
|
|
23
|
+
y !== void 0 && (g = "" + y), c.key !== void 0 && (g = "" + c.key), c.ref !== void 0 && (u = c.ref);
|
|
24
|
+
for (s in c) d.call(c, s) && !v.hasOwnProperty(s) && (C[s] = c[s]);
|
|
25
|
+
if (R && R.defaultProps) for (s in c = R.defaultProps, c) C[s] === void 0 && (C[s] = c[s]);
|
|
26
|
+
return { $$typeof: o, type: R, key: g, ref: u, props: C, _owner: j.current };
|
|
31
27
|
}
|
|
32
|
-
return Ce.Fragment = p, Ce.jsx =
|
|
28
|
+
return Ce.Fragment = p, Ce.jsx = b, Ce.jsxs = b, Ce;
|
|
33
29
|
}
|
|
34
|
-
var
|
|
30
|
+
var ye = {};
|
|
35
31
|
/**
|
|
36
32
|
* @license React
|
|
37
33
|
* react-jsx-runtime.development.js
|
|
@@ -42,53 +38,53 @@ var we = {};
|
|
|
42
38
|
* LICENSE file in the root directory of this source tree.
|
|
43
39
|
*/
|
|
44
40
|
var pt;
|
|
45
|
-
function
|
|
41
|
+
function cr() {
|
|
46
42
|
return pt || (pt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
-
var l = Ke,
|
|
43
|
+
var l = Ke, o = Symbol.for("react.element"), p = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), R = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), D = Symbol.iterator, q = "@@iterator";
|
|
48
44
|
function Q(e) {
|
|
49
45
|
if (e === null || typeof e != "object")
|
|
50
46
|
return null;
|
|
51
|
-
var
|
|
52
|
-
return typeof
|
|
47
|
+
var r = D && e[D] || e[q];
|
|
48
|
+
return typeof r == "function" ? r : null;
|
|
53
49
|
}
|
|
54
|
-
var
|
|
50
|
+
var A = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
55
51
|
function _(e) {
|
|
56
52
|
{
|
|
57
|
-
for (var
|
|
58
|
-
|
|
59
|
-
de("error", e,
|
|
53
|
+
for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
54
|
+
n[i - 1] = arguments[i];
|
|
55
|
+
de("error", e, n);
|
|
60
56
|
}
|
|
61
57
|
}
|
|
62
|
-
function de(e,
|
|
58
|
+
function de(e, r, n) {
|
|
63
59
|
{
|
|
64
|
-
var i =
|
|
65
|
-
x !== "" && (
|
|
66
|
-
var
|
|
60
|
+
var i = A.ReactDebugCurrentFrame, x = i.getStackAddendum();
|
|
61
|
+
x !== "" && (r += "%s", n = n.concat([x]));
|
|
62
|
+
var m = n.map(function(h) {
|
|
67
63
|
return String(h);
|
|
68
64
|
});
|
|
69
|
-
|
|
65
|
+
m.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, m);
|
|
70
66
|
}
|
|
71
67
|
}
|
|
72
|
-
var fe = !1, pe = !1,
|
|
73
|
-
|
|
74
|
-
function
|
|
75
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e ===
|
|
68
|
+
var fe = !1, pe = !1, $ = !1, ee = !1, V = !1, w;
|
|
69
|
+
w = Symbol.for("react.module.reference");
|
|
70
|
+
function M(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === v || V || e === j || e === y || e === s || ee || e === u || fe || pe || $ || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === C || e.$$typeof === b || e.$$typeof === R || e.$$typeof === c || // This needs to include all possible module reference object
|
|
76
72
|
// types supported by any Flight configuration anywhere since
|
|
77
73
|
// we don't know which Flight build this will end up being used
|
|
78
74
|
// with.
|
|
79
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === w || e.getModuleId !== void 0));
|
|
80
76
|
}
|
|
81
|
-
function
|
|
77
|
+
function we(e, r, n) {
|
|
82
78
|
var i = e.displayName;
|
|
83
79
|
if (i)
|
|
84
80
|
return i;
|
|
85
|
-
var x =
|
|
86
|
-
return x !== "" ?
|
|
81
|
+
var x = r.displayName || r.name || "";
|
|
82
|
+
return x !== "" ? n + "(" + x + ")" : n;
|
|
87
83
|
}
|
|
88
84
|
function he(e) {
|
|
89
85
|
return e.displayName || "Context";
|
|
90
86
|
}
|
|
91
|
-
function
|
|
87
|
+
function H(e) {
|
|
92
88
|
if (e == null)
|
|
93
89
|
return null;
|
|
94
90
|
if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -100,32 +96,32 @@ function dn() {
|
|
|
100
96
|
return "Fragment";
|
|
101
97
|
case p:
|
|
102
98
|
return "Portal";
|
|
103
|
-
case
|
|
99
|
+
case v:
|
|
104
100
|
return "Profiler";
|
|
105
|
-
case
|
|
101
|
+
case j:
|
|
106
102
|
return "StrictMode";
|
|
107
|
-
case
|
|
103
|
+
case y:
|
|
108
104
|
return "Suspense";
|
|
109
|
-
case
|
|
105
|
+
case s:
|
|
110
106
|
return "SuspenseList";
|
|
111
107
|
}
|
|
112
108
|
if (typeof e == "object")
|
|
113
109
|
switch (e.$$typeof) {
|
|
114
110
|
case R:
|
|
115
|
-
var n = e;
|
|
116
|
-
return he(n) + ".Consumer";
|
|
117
|
-
case m:
|
|
118
111
|
var r = e;
|
|
119
|
-
return he(r
|
|
112
|
+
return he(r) + ".Consumer";
|
|
113
|
+
case b:
|
|
114
|
+
var n = e;
|
|
115
|
+
return he(n._context) + ".Provider";
|
|
120
116
|
case c:
|
|
121
|
-
return
|
|
122
|
-
case
|
|
117
|
+
return we(e, e.render, "ForwardRef");
|
|
118
|
+
case C:
|
|
123
119
|
var i = e.displayName || null;
|
|
124
|
-
return i !== null ? i :
|
|
125
|
-
case
|
|
126
|
-
var x = e,
|
|
120
|
+
return i !== null ? i : H(e.type) || "Memo";
|
|
121
|
+
case g: {
|
|
122
|
+
var x = e, m = x._payload, h = x._init;
|
|
127
123
|
try {
|
|
128
|
-
return
|
|
124
|
+
return H(h(m));
|
|
129
125
|
} catch {
|
|
130
126
|
return null;
|
|
131
127
|
}
|
|
@@ -133,14 +129,14 @@ function dn() {
|
|
|
133
129
|
}
|
|
134
130
|
return null;
|
|
135
131
|
}
|
|
136
|
-
var N = Object.assign, Y = 0, Ee, Re, _e, te, Se,
|
|
132
|
+
var N = Object.assign, Y = 0, Ee, Re, _e, te, Se, ge, re;
|
|
137
133
|
function Te() {
|
|
138
134
|
}
|
|
139
135
|
Te.__reactDisabledLog = !0;
|
|
140
|
-
function
|
|
136
|
+
function Pe() {
|
|
141
137
|
{
|
|
142
138
|
if (Y === 0) {
|
|
143
|
-
Ee = console.log, Re = console.info, _e = console.warn, te = console.error, Se = console.group,
|
|
139
|
+
Ee = console.log, Re = console.info, _e = console.warn, te = console.error, Se = console.group, ge = console.groupCollapsed, re = console.groupEnd;
|
|
144
140
|
var e = {
|
|
145
141
|
configurable: !0,
|
|
146
142
|
enumerable: !0,
|
|
@@ -160,7 +156,7 @@ function dn() {
|
|
|
160
156
|
Y++;
|
|
161
157
|
}
|
|
162
158
|
}
|
|
163
|
-
function
|
|
159
|
+
function ne() {
|
|
164
160
|
{
|
|
165
161
|
if (Y--, Y === 0) {
|
|
166
162
|
var e = {
|
|
@@ -185,28 +181,28 @@ function dn() {
|
|
|
185
181
|
value: Se
|
|
186
182
|
}),
|
|
187
183
|
groupCollapsed: N({}, e, {
|
|
188
|
-
value:
|
|
184
|
+
value: ge
|
|
189
185
|
}),
|
|
190
186
|
groupEnd: N({}, e, {
|
|
191
|
-
value:
|
|
187
|
+
value: re
|
|
192
188
|
})
|
|
193
189
|
});
|
|
194
190
|
}
|
|
195
191
|
Y < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
196
192
|
}
|
|
197
193
|
}
|
|
198
|
-
var
|
|
199
|
-
function le(e,
|
|
194
|
+
var W = A.ReactCurrentDispatcher, ve;
|
|
195
|
+
function le(e, r, n) {
|
|
200
196
|
{
|
|
201
|
-
if (
|
|
197
|
+
if (ve === void 0)
|
|
202
198
|
try {
|
|
203
199
|
throw Error();
|
|
204
200
|
} catch (x) {
|
|
205
201
|
var i = x.stack.trim().match(/\n( *(at )?)/);
|
|
206
|
-
|
|
202
|
+
ve = i && i[1] || "";
|
|
207
203
|
}
|
|
208
204
|
return `
|
|
209
|
-
` +
|
|
205
|
+
` + ve + e;
|
|
210
206
|
}
|
|
211
207
|
}
|
|
212
208
|
var xe = !1, ae;
|
|
@@ -214,22 +210,22 @@ function dn() {
|
|
|
214
210
|
var Le = typeof WeakMap == "function" ? WeakMap : Map;
|
|
215
211
|
ae = new Le();
|
|
216
212
|
}
|
|
217
|
-
function ke(e,
|
|
213
|
+
function ke(e, r) {
|
|
218
214
|
if (!e || xe)
|
|
219
215
|
return "";
|
|
220
216
|
{
|
|
221
|
-
var
|
|
222
|
-
if (
|
|
223
|
-
return
|
|
217
|
+
var n = ae.get(e);
|
|
218
|
+
if (n !== void 0)
|
|
219
|
+
return n;
|
|
224
220
|
}
|
|
225
221
|
var i;
|
|
226
222
|
xe = !0;
|
|
227
223
|
var x = Error.prepareStackTrace;
|
|
228
224
|
Error.prepareStackTrace = void 0;
|
|
229
|
-
var
|
|
230
|
-
|
|
225
|
+
var m;
|
|
226
|
+
m = W.current, W.current = null, Pe();
|
|
231
227
|
try {
|
|
232
|
-
if (
|
|
228
|
+
if (r) {
|
|
233
229
|
var h = function() {
|
|
234
230
|
throw Error();
|
|
235
231
|
};
|
|
@@ -263,99 +259,99 @@ function dn() {
|
|
|
263
259
|
} catch (L) {
|
|
264
260
|
if (L && i && typeof L.stack == "string") {
|
|
265
261
|
for (var f = L.stack.split(`
|
|
266
|
-
`),
|
|
267
|
-
`), S = f.length - 1, T =
|
|
262
|
+
`), P = i.stack.split(`
|
|
263
|
+
`), S = f.length - 1, T = P.length - 1; S >= 1 && T >= 0 && f[S] !== P[T]; )
|
|
268
264
|
T--;
|
|
269
265
|
for (; S >= 1 && T >= 0; S--, T--)
|
|
270
|
-
if (f[S] !==
|
|
266
|
+
if (f[S] !== P[T]) {
|
|
271
267
|
if (S !== 1 || T !== 1)
|
|
272
268
|
do
|
|
273
|
-
if (S--, T--, T < 0 || f[S] !==
|
|
274
|
-
var
|
|
269
|
+
if (S--, T--, T < 0 || f[S] !== P[T]) {
|
|
270
|
+
var F = `
|
|
275
271
|
` + f[S].replace(" at new ", " at ");
|
|
276
|
-
return e.displayName &&
|
|
272
|
+
return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, F), F;
|
|
277
273
|
}
|
|
278
274
|
while (S >= 1 && T >= 0);
|
|
279
275
|
break;
|
|
280
276
|
}
|
|
281
277
|
}
|
|
282
278
|
} finally {
|
|
283
|
-
xe = !1,
|
|
279
|
+
xe = !1, W.current = m, ne(), Error.prepareStackTrace = x;
|
|
284
280
|
}
|
|
285
281
|
var se = e ? e.displayName || e.name : "", J = se ? le(se) : "";
|
|
286
282
|
return typeof e == "function" && ae.set(e, J), J;
|
|
287
283
|
}
|
|
288
|
-
function
|
|
284
|
+
function He(e, r, n) {
|
|
289
285
|
return ke(e, !1);
|
|
290
286
|
}
|
|
291
|
-
function
|
|
292
|
-
var
|
|
293
|
-
return !!(
|
|
287
|
+
function Ae(e) {
|
|
288
|
+
var r = e.prototype;
|
|
289
|
+
return !!(r && r.isReactComponent);
|
|
294
290
|
}
|
|
295
|
-
function ie(e,
|
|
291
|
+
function ie(e, r, n) {
|
|
296
292
|
if (e == null)
|
|
297
293
|
return "";
|
|
298
294
|
if (typeof e == "function")
|
|
299
|
-
return ke(e,
|
|
295
|
+
return ke(e, Ae(e));
|
|
300
296
|
if (typeof e == "string")
|
|
301
297
|
return le(e);
|
|
302
298
|
switch (e) {
|
|
303
|
-
case
|
|
299
|
+
case y:
|
|
304
300
|
return le("Suspense");
|
|
305
|
-
case
|
|
301
|
+
case s:
|
|
306
302
|
return le("SuspenseList");
|
|
307
303
|
}
|
|
308
304
|
if (typeof e == "object")
|
|
309
305
|
switch (e.$$typeof) {
|
|
310
306
|
case c:
|
|
311
|
-
return
|
|
312
|
-
case
|
|
313
|
-
return ie(e.type,
|
|
314
|
-
case
|
|
315
|
-
var i = e, x = i._payload,
|
|
307
|
+
return He(e.render);
|
|
308
|
+
case C:
|
|
309
|
+
return ie(e.type, r, n);
|
|
310
|
+
case g: {
|
|
311
|
+
var i = e, x = i._payload, m = i._init;
|
|
316
312
|
try {
|
|
317
|
-
return ie(
|
|
313
|
+
return ie(m(x), r, n);
|
|
318
314
|
} catch {
|
|
319
315
|
}
|
|
320
316
|
}
|
|
321
317
|
}
|
|
322
318
|
return "";
|
|
323
319
|
}
|
|
324
|
-
var
|
|
320
|
+
var G = Object.prototype.hasOwnProperty, be = {}, me = A.ReactDebugCurrentFrame;
|
|
325
321
|
function a(e) {
|
|
326
322
|
if (e) {
|
|
327
|
-
var
|
|
328
|
-
me.setExtraStackFrame(
|
|
323
|
+
var r = e._owner, n = ie(e.type, e._source, r ? r.type : null);
|
|
324
|
+
me.setExtraStackFrame(n);
|
|
329
325
|
} else
|
|
330
326
|
me.setExtraStackFrame(null);
|
|
331
327
|
}
|
|
332
|
-
function
|
|
328
|
+
function I(e, r, n, i, x) {
|
|
333
329
|
{
|
|
334
|
-
var
|
|
330
|
+
var m = Function.call.bind(G);
|
|
335
331
|
for (var h in e)
|
|
336
|
-
if (
|
|
332
|
+
if (m(e, h)) {
|
|
337
333
|
var f = void 0;
|
|
338
334
|
try {
|
|
339
335
|
if (typeof e[h] != "function") {
|
|
340
|
-
var
|
|
341
|
-
throw
|
|
336
|
+
var P = Error((i || "React class") + ": " + n + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw P.name = "Invariant Violation", P;
|
|
342
338
|
}
|
|
343
|
-
f = e[h](
|
|
339
|
+
f = e[h](r, h, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
344
340
|
} catch (S) {
|
|
345
341
|
f = S;
|
|
346
342
|
}
|
|
347
|
-
f && !(f instanceof Error) && (a(x), _("%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).", i || "React class",
|
|
343
|
+
f && !(f instanceof Error) && (a(x), _("%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).", i || "React class", n, h, typeof f), a(null)), f instanceof Error && !(f.message in be) && (be[f.message] = !0, a(x), _("Failed %s type: %s", n, f.message), a(null));
|
|
348
344
|
}
|
|
349
345
|
}
|
|
350
346
|
}
|
|
351
|
-
var
|
|
352
|
-
function
|
|
353
|
-
return
|
|
347
|
+
var U = Array.isArray;
|
|
348
|
+
function O(e) {
|
|
349
|
+
return U(e);
|
|
354
350
|
}
|
|
355
|
-
function
|
|
351
|
+
function $e(e) {
|
|
356
352
|
{
|
|
357
|
-
var
|
|
358
|
-
return
|
|
353
|
+
var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
|
+
return n;
|
|
359
355
|
}
|
|
360
356
|
}
|
|
361
357
|
function X(e) {
|
|
@@ -370,70 +366,70 @@ function dn() {
|
|
|
370
366
|
}
|
|
371
367
|
function Qe(e) {
|
|
372
368
|
if (X(e))
|
|
373
|
-
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
369
|
+
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", $e(e)), qe(e);
|
|
374
370
|
}
|
|
375
|
-
var je =
|
|
371
|
+
var je = A.ReactCurrentOwner, Ct = {
|
|
376
372
|
key: !0,
|
|
377
373
|
ref: !0,
|
|
378
374
|
__self: !0,
|
|
379
375
|
__source: !0
|
|
380
|
-
}, et, tt,
|
|
381
|
-
|
|
382
|
-
function
|
|
383
|
-
if (
|
|
384
|
-
var
|
|
385
|
-
if (
|
|
376
|
+
}, et, tt, Fe;
|
|
377
|
+
Fe = {};
|
|
378
|
+
function yt(e) {
|
|
379
|
+
if (G.call(e, "ref")) {
|
|
380
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
|
+
if (r && r.isReactWarning)
|
|
386
382
|
return !1;
|
|
387
383
|
}
|
|
388
384
|
return e.ref !== void 0;
|
|
389
385
|
}
|
|
390
|
-
function
|
|
391
|
-
if (
|
|
392
|
-
var
|
|
393
|
-
if (
|
|
386
|
+
function wt(e) {
|
|
387
|
+
if (G.call(e, "key")) {
|
|
388
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
|
+
if (r && r.isReactWarning)
|
|
394
390
|
return !1;
|
|
395
391
|
}
|
|
396
392
|
return e.key !== void 0;
|
|
397
393
|
}
|
|
398
|
-
function Et(e,
|
|
399
|
-
if (typeof e.ref == "string" && je.current &&
|
|
400
|
-
var
|
|
401
|
-
|
|
394
|
+
function Et(e, r) {
|
|
395
|
+
if (typeof e.ref == "string" && je.current && r && je.current.stateNode !== r) {
|
|
396
|
+
var n = H(je.current.type);
|
|
397
|
+
Fe[n] || (_('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', H(je.current.type), e.ref), Fe[n] = !0);
|
|
402
398
|
}
|
|
403
399
|
}
|
|
404
|
-
function Rt(e,
|
|
400
|
+
function Rt(e, r) {
|
|
405
401
|
{
|
|
406
|
-
var
|
|
407
|
-
et || (et = !0, _("%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)",
|
|
402
|
+
var n = function() {
|
|
403
|
+
et || (et = !0, _("%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));
|
|
408
404
|
};
|
|
409
|
-
|
|
410
|
-
get:
|
|
405
|
+
n.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
406
|
+
get: n,
|
|
411
407
|
configurable: !0
|
|
412
408
|
});
|
|
413
409
|
}
|
|
414
410
|
}
|
|
415
|
-
function _t(e,
|
|
411
|
+
function _t(e, r) {
|
|
416
412
|
{
|
|
417
|
-
var
|
|
418
|
-
tt || (tt = !0, _("%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)",
|
|
413
|
+
var n = function() {
|
|
414
|
+
tt || (tt = !0, _("%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));
|
|
419
415
|
};
|
|
420
|
-
|
|
421
|
-
get:
|
|
416
|
+
n.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
417
|
+
get: n,
|
|
422
418
|
configurable: !0
|
|
423
419
|
});
|
|
424
420
|
}
|
|
425
421
|
}
|
|
426
|
-
var St = function(e,
|
|
422
|
+
var St = function(e, r, n, i, x, m, h) {
|
|
427
423
|
var f = {
|
|
428
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
429
|
-
$$typeof:
|
|
425
|
+
$$typeof: o,
|
|
430
426
|
// Built-in properties that belong on the element
|
|
431
427
|
type: e,
|
|
432
|
-
key:
|
|
433
|
-
ref:
|
|
428
|
+
key: r,
|
|
429
|
+
ref: n,
|
|
434
430
|
props: h,
|
|
435
431
|
// Record the component responsible for creating this element.
|
|
436
|
-
_owner:
|
|
432
|
+
_owner: m
|
|
437
433
|
};
|
|
438
434
|
return f._store = {}, Object.defineProperty(f._store, "validated", {
|
|
439
435
|
configurable: !1,
|
|
@@ -452,41 +448,41 @@ function dn() {
|
|
|
452
448
|
value: x
|
|
453
449
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
454
450
|
};
|
|
455
|
-
function Tt(e,
|
|
451
|
+
function Tt(e, r, n, i, x) {
|
|
456
452
|
{
|
|
457
|
-
var
|
|
458
|
-
|
|
459
|
-
for (
|
|
460
|
-
|
|
453
|
+
var m, h = {}, f = null, P = null;
|
|
454
|
+
n !== void 0 && (Qe(n), f = "" + n), wt(r) && (Qe(r.key), f = "" + r.key), yt(r) && (P = r.ref, Et(r, x));
|
|
455
|
+
for (m in r)
|
|
456
|
+
G.call(r, m) && !Ct.hasOwnProperty(m) && (h[m] = r[m]);
|
|
461
457
|
if (e && e.defaultProps) {
|
|
462
458
|
var S = e.defaultProps;
|
|
463
|
-
for (
|
|
464
|
-
h[
|
|
459
|
+
for (m in S)
|
|
460
|
+
h[m] === void 0 && (h[m] = S[m]);
|
|
465
461
|
}
|
|
466
|
-
if (f ||
|
|
462
|
+
if (f || P) {
|
|
467
463
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
468
|
-
f && Rt(h, T),
|
|
464
|
+
f && Rt(h, T), P && _t(h, T);
|
|
469
465
|
}
|
|
470
|
-
return St(e, f,
|
|
466
|
+
return St(e, f, P, x, i, je.current, h);
|
|
471
467
|
}
|
|
472
468
|
}
|
|
473
|
-
var
|
|
469
|
+
var Me = A.ReactCurrentOwner, rt = A.ReactDebugCurrentFrame;
|
|
474
470
|
function oe(e) {
|
|
475
471
|
if (e) {
|
|
476
|
-
var
|
|
477
|
-
|
|
472
|
+
var r = e._owner, n = ie(e.type, e._source, r ? r.type : null);
|
|
473
|
+
rt.setExtraStackFrame(n);
|
|
478
474
|
} else
|
|
479
|
-
|
|
475
|
+
rt.setExtraStackFrame(null);
|
|
480
476
|
}
|
|
481
|
-
var
|
|
482
|
-
|
|
483
|
-
function
|
|
484
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
477
|
+
var We;
|
|
478
|
+
We = !1;
|
|
479
|
+
function Be(e) {
|
|
480
|
+
return typeof e == "object" && e !== null && e.$$typeof === o;
|
|
485
481
|
}
|
|
486
|
-
function
|
|
482
|
+
function nt() {
|
|
487
483
|
{
|
|
488
|
-
if (
|
|
489
|
-
var e =
|
|
484
|
+
if (Me.current) {
|
|
485
|
+
var e = H(Me.current.type);
|
|
490
486
|
if (e)
|
|
491
487
|
return `
|
|
492
488
|
|
|
@@ -496,90 +492,82 @@ Check the render method of \`` + e + "`.";
|
|
|
496
492
|
}
|
|
497
493
|
}
|
|
498
494
|
function kt(e) {
|
|
499
|
-
|
|
500
|
-
if (e !== void 0) {
|
|
501
|
-
var n = e.fileName.replace(/^.*[\\\/]/, ""), r = e.lineNumber;
|
|
502
|
-
return `
|
|
503
|
-
|
|
504
|
-
Check your code at ` + n + ":" + r + ".";
|
|
505
|
-
}
|
|
506
|
-
return "";
|
|
507
|
-
}
|
|
495
|
+
return "";
|
|
508
496
|
}
|
|
509
497
|
var lt = {};
|
|
510
498
|
function Dt(e) {
|
|
511
499
|
{
|
|
512
|
-
var
|
|
513
|
-
if (!
|
|
514
|
-
var
|
|
515
|
-
|
|
500
|
+
var r = nt();
|
|
501
|
+
if (!r) {
|
|
502
|
+
var n = typeof e == "string" ? e : e.displayName || e.name;
|
|
503
|
+
n && (r = `
|
|
516
504
|
|
|
517
|
-
Check the top-level render call using <` +
|
|
505
|
+
Check the top-level render call using <` + n + ">.");
|
|
518
506
|
}
|
|
519
|
-
return
|
|
507
|
+
return r;
|
|
520
508
|
}
|
|
521
509
|
}
|
|
522
|
-
function at(e,
|
|
510
|
+
function at(e, r) {
|
|
523
511
|
{
|
|
524
512
|
if (!e._store || e._store.validated || e.key != null)
|
|
525
513
|
return;
|
|
526
514
|
e._store.validated = !0;
|
|
527
|
-
var
|
|
528
|
-
if (lt[
|
|
515
|
+
var n = Dt(r);
|
|
516
|
+
if (lt[n])
|
|
529
517
|
return;
|
|
530
|
-
lt[
|
|
518
|
+
lt[n] = !0;
|
|
531
519
|
var i = "";
|
|
532
|
-
e && e._owner && e._owner !==
|
|
520
|
+
e && e._owner && e._owner !== Me.current && (i = " It was passed a child from " + H(e._owner.type) + "."), oe(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, i), oe(null);
|
|
533
521
|
}
|
|
534
522
|
}
|
|
535
|
-
function it(e,
|
|
523
|
+
function it(e, r) {
|
|
536
524
|
{
|
|
537
525
|
if (typeof e != "object")
|
|
538
526
|
return;
|
|
539
|
-
if (
|
|
540
|
-
for (var
|
|
541
|
-
var i = e[
|
|
542
|
-
|
|
527
|
+
if (O(e))
|
|
528
|
+
for (var n = 0; n < e.length; n++) {
|
|
529
|
+
var i = e[n];
|
|
530
|
+
Be(i) && at(i, r);
|
|
543
531
|
}
|
|
544
|
-
else if (
|
|
532
|
+
else if (Be(e))
|
|
545
533
|
e._store && (e._store.validated = !0);
|
|
546
534
|
else if (e) {
|
|
547
535
|
var x = Q(e);
|
|
548
536
|
if (typeof x == "function" && x !== e.entries)
|
|
549
|
-
for (var
|
|
550
|
-
|
|
537
|
+
for (var m = x.call(e), h; !(h = m.next()).done; )
|
|
538
|
+
Be(h.value) && at(h.value, r);
|
|
551
539
|
}
|
|
552
540
|
}
|
|
553
541
|
}
|
|
554
|
-
function
|
|
542
|
+
function It(e) {
|
|
555
543
|
{
|
|
556
|
-
var
|
|
557
|
-
if (
|
|
544
|
+
var r = e.type;
|
|
545
|
+
if (r == null || typeof r == "string")
|
|
558
546
|
return;
|
|
559
|
-
var
|
|
560
|
-
if (typeof
|
|
561
|
-
|
|
562
|
-
else if (typeof
|
|
547
|
+
var n;
|
|
548
|
+
if (typeof r == "function")
|
|
549
|
+
n = r.propTypes;
|
|
550
|
+
else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
|
|
563
551
|
// Inner props are checked in the reconciler.
|
|
564
|
-
|
|
565
|
-
|
|
552
|
+
r.$$typeof === C))
|
|
553
|
+
n = r.propTypes;
|
|
566
554
|
else
|
|
567
555
|
return;
|
|
568
|
-
if (
|
|
569
|
-
var i =
|
|
570
|
-
|
|
571
|
-
} else if (
|
|
572
|
-
|
|
573
|
-
var x =
|
|
556
|
+
if (n) {
|
|
557
|
+
var i = H(r);
|
|
558
|
+
I(n, e.props, "prop", i, e);
|
|
559
|
+
} else if (r.PropTypes !== void 0 && !We) {
|
|
560
|
+
We = !0;
|
|
561
|
+
var x = H(r);
|
|
574
562
|
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
575
563
|
}
|
|
576
|
-
typeof
|
|
564
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
577
565
|
}
|
|
578
566
|
}
|
|
579
|
-
function
|
|
567
|
+
function Ot(e) {
|
|
580
568
|
{
|
|
581
|
-
for (var
|
|
582
|
-
var i = n
|
|
569
|
+
for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
|
|
570
|
+
var i = r[n];
|
|
583
571
|
if (i !== "children" && i !== "key") {
|
|
584
572
|
oe(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), oe(null);
|
|
585
573
|
break;
|
|
@@ -589,112 +577,112 @@ Check the top-level render call using <` + r + ">.");
|
|
|
589
577
|
}
|
|
590
578
|
}
|
|
591
579
|
var ot = {};
|
|
592
|
-
function st(e,
|
|
580
|
+
function st(e, r, n, i, x, m) {
|
|
593
581
|
{
|
|
594
|
-
var h =
|
|
582
|
+
var h = M(e);
|
|
595
583
|
if (!h) {
|
|
596
584
|
var f = "";
|
|
597
585
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
598
|
-
var
|
|
599
|
-
|
|
586
|
+
var P = kt();
|
|
587
|
+
P ? f += P : f += nt();
|
|
600
588
|
var S;
|
|
601
|
-
e === null ? S = "null" :
|
|
589
|
+
e === null ? S = "null" : O(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (H(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, f);
|
|
602
590
|
}
|
|
603
|
-
var T = Tt(e,
|
|
591
|
+
var T = Tt(e, r, n, x, m);
|
|
604
592
|
if (T == null)
|
|
605
593
|
return T;
|
|
606
594
|
if (h) {
|
|
607
|
-
var
|
|
608
|
-
if (
|
|
595
|
+
var F = r.children;
|
|
596
|
+
if (F !== void 0)
|
|
609
597
|
if (i)
|
|
610
|
-
if (
|
|
611
|
-
for (var se = 0; se <
|
|
612
|
-
it(
|
|
613
|
-
Object.freeze && Object.freeze(
|
|
598
|
+
if (O(F)) {
|
|
599
|
+
for (var se = 0; se < F.length; se++)
|
|
600
|
+
it(F[se], e);
|
|
601
|
+
Object.freeze && Object.freeze(F);
|
|
614
602
|
} else
|
|
615
603
|
_("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
616
604
|
else
|
|
617
|
-
it(
|
|
605
|
+
it(F, e);
|
|
618
606
|
}
|
|
619
|
-
if (
|
|
620
|
-
var J =
|
|
621
|
-
return
|
|
607
|
+
if (G.call(r, "key")) {
|
|
608
|
+
var J = H(e), L = Object.keys(r).filter(function(Ft) {
|
|
609
|
+
return Ft !== "key";
|
|
622
610
|
}), Ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
623
611
|
if (!ot[J + Ve]) {
|
|
624
|
-
var
|
|
612
|
+
var $t = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
|
|
625
613
|
_(`A props object containing a "key" prop is being spread into JSX:
|
|
626
614
|
let props = %s;
|
|
627
615
|
<%s {...props} />
|
|
628
616
|
React keys must be passed directly to JSX without using spread:
|
|
629
617
|
let props = %s;
|
|
630
|
-
<%s key={someKey} {...props} />`, Ve, J,
|
|
618
|
+
<%s key={someKey} {...props} />`, Ve, J, $t, J), ot[J + Ve] = !0;
|
|
631
619
|
}
|
|
632
620
|
}
|
|
633
|
-
return e === d ?
|
|
621
|
+
return e === d ? Ot(T) : It(T), T;
|
|
634
622
|
}
|
|
635
623
|
}
|
|
636
|
-
function
|
|
637
|
-
return st(e,
|
|
624
|
+
function Pt(e, r, n) {
|
|
625
|
+
return st(e, r, n, !0);
|
|
638
626
|
}
|
|
639
|
-
function Lt(e,
|
|
640
|
-
return st(e,
|
|
627
|
+
function Lt(e, r, n) {
|
|
628
|
+
return st(e, r, n, !1);
|
|
641
629
|
}
|
|
642
|
-
var
|
|
643
|
-
|
|
644
|
-
}()),
|
|
630
|
+
var Ht = Lt, At = Pt;
|
|
631
|
+
ye.Fragment = d, ye.jsx = Ht, ye.jsxs = At;
|
|
632
|
+
}()), ye;
|
|
645
633
|
}
|
|
646
|
-
process.env.NODE_ENV === "production" ?
|
|
647
|
-
var t =
|
|
648
|
-
const Ye = 60, ht = 6,
|
|
634
|
+
process.env.NODE_ENV === "production" ? Ue.exports = ur() : Ue.exports = cr();
|
|
635
|
+
var t = Ue.exports;
|
|
636
|
+
const Ye = 60, ht = 6, dr = (l) => {
|
|
649
637
|
const {
|
|
650
|
-
activeStepIndex:
|
|
638
|
+
activeStepIndex: o,
|
|
651
639
|
hideIndicators: p = !1,
|
|
652
640
|
steps: d,
|
|
653
|
-
stepperTheme:
|
|
641
|
+
stepperTheme: j = {
|
|
654
642
|
light: "eggplant.light",
|
|
655
643
|
base: "eggplant.base"
|
|
656
644
|
}
|
|
657
|
-
} = l, { activeStep:
|
|
658
|
-
index:
|
|
645
|
+
} = l, { activeStep: v, setActiveStep: b } = Mt({
|
|
646
|
+
index: o,
|
|
659
647
|
count: d.length
|
|
660
648
|
});
|
|
661
649
|
return Z(() => {
|
|
662
|
-
|
|
663
|
-
}, [
|
|
664
|
-
|
|
650
|
+
b(o);
|
|
651
|
+
}, [o, b]), /* @__PURE__ */ t.jsx(
|
|
652
|
+
E,
|
|
665
653
|
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
|
|
666
|
-
|
|
654
|
+
Wt,
|
|
667
655
|
{
|
|
668
656
|
role: "progressbar",
|
|
669
|
-
index:
|
|
657
|
+
index: v,
|
|
670
658
|
width: "100%",
|
|
671
659
|
display: "flex",
|
|
672
660
|
flexWrap: "nowrap",
|
|
673
661
|
children: d.map((R, c) => {
|
|
674
|
-
const
|
|
662
|
+
const y = v === c, s = c === 0, C = c === d.length - 1, g = v > c;
|
|
675
663
|
let u = `${Ye}px`;
|
|
676
|
-
const
|
|
677
|
-
return
|
|
678
|
-
|
|
664
|
+
const D = `calc(100% - ((${Ye * (d.length - 1)}px) - (${d.length - 1} * ${ht * 2}px)))`;
|
|
665
|
+
return y ? u = D : (s || C) && (u = `${Ye - ht}px`), /* @__PURE__ */ t.jsx(
|
|
666
|
+
E,
|
|
679
667
|
{
|
|
680
668
|
width: u,
|
|
681
|
-
opacity:
|
|
682
|
-
paddingRight:
|
|
683
|
-
paddingLeft:
|
|
669
|
+
opacity: g || y ? 1 : 0.2,
|
|
670
|
+
paddingRight: C ? "0" : "6px",
|
|
671
|
+
paddingLeft: s ? "0" : "6px",
|
|
684
672
|
transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
|
|
685
673
|
children: /* @__PURE__ */ t.jsx(
|
|
686
|
-
|
|
674
|
+
E,
|
|
687
675
|
{
|
|
688
676
|
paddingTop: p ? 2 : 5,
|
|
689
677
|
position: "relative",
|
|
690
678
|
width: "100%",
|
|
691
679
|
children: /* @__PURE__ */ t.jsx(
|
|
692
|
-
|
|
680
|
+
E,
|
|
693
681
|
{
|
|
694
682
|
width: "100%",
|
|
695
683
|
position: "absolute",
|
|
696
684
|
top: "0",
|
|
697
|
-
backgroundColor:
|
|
685
|
+
backgroundColor: g ? j.light : j.base,
|
|
698
686
|
height: p ? "4px" : "8px",
|
|
699
687
|
borderRadius: "4",
|
|
700
688
|
left: "0"
|
|
@@ -709,33 +697,33 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
709
697
|
}
|
|
710
698
|
) }
|
|
711
699
|
);
|
|
712
|
-
},
|
|
700
|
+
}, _r = Ke.memo(dr), Sr = ({
|
|
713
701
|
children: l,
|
|
714
|
-
...
|
|
702
|
+
...o
|
|
715
703
|
}) => /* @__PURE__ */ t.jsx(
|
|
716
704
|
qt,
|
|
717
|
-
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...
|
|
718
|
-
),
|
|
705
|
+
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...o, children: l }
|
|
706
|
+
), Oe = (l, o) => {
|
|
719
707
|
const p = (l == null ? void 0 : l.startsWith("http")) || (l == null ? void 0 : l.startsWith("mailto"));
|
|
720
|
-
return
|
|
708
|
+
return o && !p ? {
|
|
721
709
|
to: l
|
|
722
710
|
} : {
|
|
723
711
|
href: l
|
|
724
712
|
};
|
|
725
713
|
}, ze = bt(
|
|
726
|
-
(l,
|
|
714
|
+
(l, o) => {
|
|
727
715
|
const {
|
|
728
716
|
label: p,
|
|
729
717
|
additionalContent: d,
|
|
730
|
-
mainTextFontSize:
|
|
731
|
-
linkComponent:
|
|
732
|
-
href:
|
|
718
|
+
mainTextFontSize: j,
|
|
719
|
+
linkComponent: v,
|
|
720
|
+
href: b,
|
|
733
721
|
...R
|
|
734
|
-
} = l, c =
|
|
722
|
+
} = l, c = v || z, y = Oe(b, !!v);
|
|
735
723
|
return /* @__PURE__ */ t.jsxs(
|
|
736
|
-
|
|
724
|
+
E,
|
|
737
725
|
{
|
|
738
|
-
ref:
|
|
726
|
+
ref: o,
|
|
739
727
|
as: c,
|
|
740
728
|
display: "flex",
|
|
741
729
|
alignItems: "center",
|
|
@@ -748,7 +736,7 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
748
736
|
borderColor: ["tints.cream", null, null, "unset"],
|
|
749
737
|
width: ["100%", null, null, "fit-content"],
|
|
750
738
|
cursor: "pointer",
|
|
751
|
-
...
|
|
739
|
+
...y,
|
|
752
740
|
...R,
|
|
753
741
|
children: [
|
|
754
742
|
/* @__PURE__ */ t.jsx(
|
|
@@ -764,12 +752,12 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
764
752
|
}
|
|
765
753
|
),
|
|
766
754
|
/* @__PURE__ */ t.jsxs(
|
|
767
|
-
|
|
755
|
+
k,
|
|
768
756
|
{ alignItems: "center", gap: "1", width: ["100%", null, null, "auto"], children: [
|
|
769
757
|
/* @__PURE__ */ t.jsx(
|
|
770
758
|
K,
|
|
771
759
|
{
|
|
772
|
-
fontSize: [
|
|
760
|
+
fontSize: [j || "xl", null, null, "lg"],
|
|
773
761
|
fontWeight: "medium",
|
|
774
762
|
children: p
|
|
775
763
|
}
|
|
@@ -806,15 +794,15 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
806
794
|
}
|
|
807
795
|
);
|
|
808
796
|
}
|
|
809
|
-
),
|
|
810
|
-
(l,
|
|
811
|
-
const { children: p, isSelected: d, ...
|
|
797
|
+
), Ie = bt(
|
|
798
|
+
(l, o) => {
|
|
799
|
+
const { children: p, isSelected: d, ...j } = l, v = l.backgroundColor || (d ? "tints.lightCream" : "transparent");
|
|
812
800
|
return /* @__PURE__ */ t.jsx(
|
|
813
801
|
xt,
|
|
814
802
|
{
|
|
815
|
-
ref:
|
|
803
|
+
ref: o,
|
|
816
804
|
borderRadius: "full",
|
|
817
|
-
backgroundColor:
|
|
805
|
+
backgroundColor: v,
|
|
818
806
|
fontSize: "lg !important",
|
|
819
807
|
fontWeight: "normal",
|
|
820
808
|
color: "tints.black",
|
|
@@ -832,47 +820,49 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
832
820
|
left: [null, null, null, -2]
|
|
833
821
|
},
|
|
834
822
|
_hover: {
|
|
835
|
-
backgroundColor:
|
|
823
|
+
backgroundColor: v,
|
|
836
824
|
textDecoration: "none",
|
|
837
825
|
filter: "brightness(0.95)"
|
|
838
826
|
},
|
|
839
|
-
...
|
|
827
|
+
...j,
|
|
840
828
|
children: p
|
|
841
829
|
}
|
|
842
830
|
);
|
|
843
831
|
}
|
|
844
|
-
),
|
|
832
|
+
), fr = ({
|
|
845
833
|
title: l,
|
|
846
|
-
description:
|
|
834
|
+
description: o,
|
|
847
835
|
imageSrc: p,
|
|
848
836
|
imageElement: d,
|
|
849
|
-
button:
|
|
850
|
-
backgroundColor:
|
|
851
|
-
onClick:
|
|
837
|
+
button: j,
|
|
838
|
+
backgroundColor: v = "viridian.wash",
|
|
839
|
+
onClick: b,
|
|
852
840
|
href: R,
|
|
853
841
|
linkComponent: c
|
|
854
842
|
}) => {
|
|
855
|
-
const
|
|
843
|
+
const g = c || z, u = Oe(R, !!c), D = Xe({
|
|
856
844
|
base: !1,
|
|
857
845
|
tablet: !1,
|
|
858
846
|
largeTablet: !1,
|
|
859
847
|
desktop: !0
|
|
860
848
|
});
|
|
861
849
|
return /* @__PURE__ */ t.jsxs(
|
|
862
|
-
|
|
850
|
+
k,
|
|
863
851
|
{
|
|
864
852
|
direction: ["row", null, null, "column"],
|
|
865
853
|
alignItems: ["center"],
|
|
866
854
|
borderRadius: "xl",
|
|
867
855
|
overflow: "hidden",
|
|
868
|
-
height: [
|
|
869
|
-
backgroundColor:
|
|
870
|
-
onClick:
|
|
856
|
+
height: ["80px", null, null, "272px"],
|
|
857
|
+
backgroundColor: v,
|
|
858
|
+
onClick: b,
|
|
871
859
|
"data-testid": "spotlight-card",
|
|
872
860
|
position: "relative",
|
|
873
861
|
transition: "box-shadow 0.2s ease-in-out",
|
|
874
862
|
border: "1px solid",
|
|
875
863
|
borderColor: "transparent",
|
|
864
|
+
minWidth: ["100%", null, null, "320px"],
|
|
865
|
+
maxWidth: ["100%", null, null, "380px"],
|
|
876
866
|
_hover: {
|
|
877
867
|
boxShadow: "lg",
|
|
878
868
|
cursor: "pointer",
|
|
@@ -880,29 +870,32 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
880
870
|
border: "1px solid",
|
|
881
871
|
borderColor: "tints.white"
|
|
882
872
|
},
|
|
883
|
-
as:
|
|
884
|
-
...
|
|
873
|
+
as: D ? k : g,
|
|
874
|
+
...D ? {} : u,
|
|
885
875
|
children: [
|
|
886
876
|
/* @__PURE__ */ t.jsx(
|
|
887
|
-
|
|
877
|
+
E,
|
|
888
878
|
{
|
|
889
879
|
width: ["72px", null, null, "100%"],
|
|
890
|
-
height: ["100%"],
|
|
891
|
-
|
|
880
|
+
height: ["100%", null, null, "188px"],
|
|
881
|
+
sx: {
|
|
882
|
+
img: {
|
|
883
|
+
height: D ? "188px" : "100%"
|
|
884
|
+
}
|
|
885
|
+
},
|
|
892
886
|
children: p ? /* @__PURE__ */ t.jsx(
|
|
893
|
-
|
|
887
|
+
Bt,
|
|
894
888
|
{
|
|
895
889
|
src: p,
|
|
896
890
|
objectFit: "cover",
|
|
897
|
-
height: [b, null, null, o],
|
|
898
891
|
width: "100%",
|
|
899
892
|
alt: "",
|
|
900
893
|
"data-testid": "spotlight-card-image"
|
|
901
894
|
}
|
|
902
895
|
) : /* @__PURE__ */ t.jsx(
|
|
903
|
-
|
|
896
|
+
E,
|
|
904
897
|
{
|
|
905
|
-
height: [
|
|
898
|
+
height: [80, null, null, 188],
|
|
906
899
|
overflow: "hidden",
|
|
907
900
|
children: d
|
|
908
901
|
}
|
|
@@ -910,33 +903,39 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
910
903
|
}
|
|
911
904
|
),
|
|
912
905
|
/* @__PURE__ */ t.jsxs(
|
|
913
|
-
|
|
906
|
+
k,
|
|
914
907
|
{
|
|
915
908
|
direction: ["column", null, null, "row"],
|
|
916
909
|
justifyContent: [null, null, null, "space-between"],
|
|
917
910
|
alignItems: ["left", null, null, "center"],
|
|
918
911
|
padding: "4",
|
|
919
|
-
height: [
|
|
912
|
+
height: [
|
|
913
|
+
"80px",
|
|
914
|
+
null,
|
|
915
|
+
null,
|
|
916
|
+
"84px"
|
|
917
|
+
],
|
|
920
918
|
width: "100%",
|
|
921
|
-
position: [null, null, null, "absolute"],
|
|
922
919
|
bottom: [null, null, null, "0"],
|
|
923
|
-
backgroundColor: [null, null, null, `${
|
|
920
|
+
backgroundColor: [null, null, null, `${v}CC`],
|
|
924
921
|
backdropFilter: [null, null, null, "blur(8px)"],
|
|
922
|
+
flex: "1",
|
|
923
|
+
gap: [null, null, null, 3],
|
|
925
924
|
children: [
|
|
926
925
|
/* @__PURE__ */ t.jsxs(
|
|
927
|
-
|
|
928
|
-
{ children: [
|
|
926
|
+
k,
|
|
927
|
+
{ direction: "column", justifyContent: "center", height: "100%", children: [
|
|
929
928
|
/* @__PURE__ */ t.jsx(
|
|
930
929
|
K,
|
|
931
930
|
{ fontSize: "lg", fontWeight: "medium", color: "tints.black", children: l }
|
|
932
931
|
),
|
|
933
932
|
/* @__PURE__ */ t.jsx(
|
|
934
933
|
K,
|
|
935
|
-
{ fontSize: "sm", color: "tints.
|
|
934
|
+
{ fontSize: "sm", color: "tints.darkGrey", children: o }
|
|
936
935
|
)
|
|
937
936
|
] }
|
|
938
937
|
),
|
|
939
|
-
|
|
938
|
+
D ? /* @__PURE__ */ t.jsx(E, { children: j }) : null
|
|
940
939
|
]
|
|
941
940
|
}
|
|
942
941
|
)
|
|
@@ -964,7 +963,7 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
964
963
|
},
|
|
965
964
|
...l
|
|
966
965
|
}
|
|
967
|
-
),
|
|
966
|
+
), pr = () => /* @__PURE__ */ t.jsx(
|
|
968
967
|
"svg",
|
|
969
968
|
{
|
|
970
969
|
width: "116",
|
|
@@ -988,31 +987,31 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
988
987
|
) }
|
|
989
988
|
)
|
|
990
989
|
}
|
|
991
|
-
),
|
|
990
|
+
), hr = ({
|
|
992
991
|
desktopTopButtons: l,
|
|
993
|
-
kitRegistrationElement:
|
|
992
|
+
kitRegistrationElement: o,
|
|
994
993
|
profileElement: p,
|
|
995
994
|
cartElement: d,
|
|
996
|
-
onSearchClick:
|
|
997
|
-
onMenuClick:
|
|
998
|
-
hasSearch:
|
|
995
|
+
onSearchClick: j,
|
|
996
|
+
onMenuClick: v,
|
|
997
|
+
hasSearch: b = !1,
|
|
999
998
|
logoLink: R = "https://www.everlywell.com",
|
|
1000
999
|
setTopOffset: c,
|
|
1001
|
-
linkComponent:
|
|
1002
|
-
onLogoClick:
|
|
1000
|
+
linkComponent: y,
|
|
1001
|
+
onLogoClick: s
|
|
1003
1002
|
}) => {
|
|
1004
|
-
const
|
|
1005
|
-
if (
|
|
1006
|
-
const u =
|
|
1003
|
+
const C = Jt(null), g = mt(() => {
|
|
1004
|
+
if (C.current) {
|
|
1005
|
+
const u = C.current.getBoundingClientRect();
|
|
1007
1006
|
c(u.bottom);
|
|
1008
1007
|
}
|
|
1009
1008
|
}, []);
|
|
1010
1009
|
return Z(() => {
|
|
1011
|
-
|
|
1012
|
-
}, [
|
|
1013
|
-
|
|
1010
|
+
g();
|
|
1011
|
+
}, [g]), /* @__PURE__ */ t.jsx(
|
|
1012
|
+
E,
|
|
1014
1013
|
{
|
|
1015
|
-
ref:
|
|
1014
|
+
ref: C,
|
|
1016
1015
|
paddingY: "4",
|
|
1017
1016
|
paddingX: [4, null, null, 12],
|
|
1018
1017
|
borderBottom: "1px solid",
|
|
@@ -1022,73 +1021,73 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1022
1021
|
top: "0",
|
|
1023
1022
|
width: "100%",
|
|
1024
1023
|
zIndex: ["sticky", null, null, "tooltip"],
|
|
1025
|
-
onMouseEnter:
|
|
1024
|
+
onMouseEnter: g,
|
|
1026
1025
|
children: /* @__PURE__ */ t.jsxs(
|
|
1027
|
-
|
|
1026
|
+
k,
|
|
1028
1027
|
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
1029
1028
|
/* @__PURE__ */ t.jsxs(
|
|
1030
|
-
|
|
1029
|
+
k,
|
|
1031
1030
|
{ alignItems: "center", gap: "5", children: [
|
|
1032
1031
|
/* @__PURE__ */ t.jsx(
|
|
1033
|
-
|
|
1032
|
+
E,
|
|
1034
1033
|
{
|
|
1035
1034
|
"aria-label": "Go to homepage",
|
|
1036
|
-
onClick:
|
|
1037
|
-
as:
|
|
1038
|
-
...
|
|
1039
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1035
|
+
onClick: s,
|
|
1036
|
+
as: y || z,
|
|
1037
|
+
...Oe(R, !!y),
|
|
1038
|
+
children: /* @__PURE__ */ t.jsx(pr, {})
|
|
1040
1039
|
}
|
|
1041
1040
|
),
|
|
1042
1041
|
/* @__PURE__ */ t.jsx(
|
|
1043
|
-
|
|
1042
|
+
k,
|
|
1044
1043
|
{ display: ["none", null, null, "flex"], children: l }
|
|
1045
1044
|
)
|
|
1046
1045
|
] }
|
|
1047
1046
|
),
|
|
1048
1047
|
/* @__PURE__ */ t.jsxs(
|
|
1049
|
-
|
|
1048
|
+
k,
|
|
1050
1049
|
{ alignItems: "center", gap: "2", children: [
|
|
1051
1050
|
/* @__PURE__ */ t.jsx(
|
|
1052
|
-
|
|
1053
|
-
{ display: ["none", null, null, "block"], children:
|
|
1051
|
+
E,
|
|
1052
|
+
{ display: ["none", null, null, "block"], children: o }
|
|
1054
1053
|
),
|
|
1055
|
-
|
|
1054
|
+
b ? /* @__PURE__ */ t.jsx(
|
|
1056
1055
|
ce,
|
|
1057
1056
|
{
|
|
1058
1057
|
"aria-label": "Search",
|
|
1059
1058
|
icon: /* @__PURE__ */ t.jsx(ue, { as: jt }),
|
|
1060
|
-
onClick:
|
|
1059
|
+
onClick: j
|
|
1061
1060
|
}
|
|
1062
1061
|
) : null,
|
|
1063
1062
|
d,
|
|
1064
1063
|
/* @__PURE__ */ t.jsx(
|
|
1065
|
-
|
|
1064
|
+
E,
|
|
1066
1065
|
{ display: ["flex", null, null, "none"], children: /* @__PURE__ */ t.jsx(
|
|
1067
1066
|
ce,
|
|
1068
1067
|
{
|
|
1069
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1068
|
+
icon: /* @__PURE__ */ t.jsx(nr, {}),
|
|
1070
1069
|
"aria-label": "menu",
|
|
1071
1070
|
"data-testid": "menu-button",
|
|
1072
|
-
onClick:
|
|
1071
|
+
onClick: v
|
|
1073
1072
|
}
|
|
1074
1073
|
) }
|
|
1075
1074
|
),
|
|
1076
|
-
/* @__PURE__ */ t.jsx(
|
|
1075
|
+
/* @__PURE__ */ t.jsx(E, { display: ["none", null, null, "block"], children: p })
|
|
1077
1076
|
] }
|
|
1078
1077
|
)
|
|
1079
1078
|
] }
|
|
1080
1079
|
)
|
|
1081
1080
|
}
|
|
1082
1081
|
);
|
|
1083
|
-
},
|
|
1082
|
+
}, gr = ({
|
|
1084
1083
|
count: l = 0,
|
|
1085
|
-
...
|
|
1084
|
+
...o
|
|
1086
1085
|
}) => /* @__PURE__ */ t.jsxs(
|
|
1087
|
-
|
|
1086
|
+
E,
|
|
1088
1087
|
{ position: "relative", display: "inline-block", children: [
|
|
1089
|
-
/* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(
|
|
1088
|
+
/* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(lr, {}), ...o }),
|
|
1090
1089
|
l > 0 && /* @__PURE__ */ t.jsx(
|
|
1091
|
-
|
|
1090
|
+
E,
|
|
1092
1091
|
{
|
|
1093
1092
|
display: "flex",
|
|
1094
1093
|
minWidth: "20px",
|
|
@@ -1109,20 +1108,20 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1109
1108
|
}
|
|
1110
1109
|
)
|
|
1111
1110
|
] }
|
|
1112
|
-
),
|
|
1111
|
+
), Tr = ({
|
|
1113
1112
|
numDesktopLinks: l = 5,
|
|
1114
|
-
showPromoButton:
|
|
1113
|
+
showPromoButton: o = !1
|
|
1115
1114
|
}) => /* @__PURE__ */ t.jsx(
|
|
1116
1115
|
Nt,
|
|
1117
1116
|
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
|
|
1118
|
-
|
|
1117
|
+
E,
|
|
1119
1118
|
{
|
|
1120
1119
|
paddingY: 4,
|
|
1121
1120
|
paddingX: 6,
|
|
1122
1121
|
borderBottomWidth: "1px",
|
|
1123
1122
|
borderColor: "tints.lightCream",
|
|
1124
1123
|
children: /* @__PURE__ */ t.jsxs(
|
|
1125
|
-
|
|
1124
|
+
k,
|
|
1126
1125
|
{ justify: "space-between", align: "center", children: [
|
|
1127
1126
|
/* @__PURE__ */ t.jsx(Ne, { w: "120px", h: "48px" }),
|
|
1128
1127
|
/* @__PURE__ */ t.jsxs(
|
|
@@ -1136,7 +1135,7 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1136
1135
|
Array.from({ length: l }).map(
|
|
1137
1136
|
(p, d) => /* @__PURE__ */ t.jsx(Ne, { width: "90px", height: "48px" }, d)
|
|
1138
1137
|
),
|
|
1139
|
-
|
|
1138
|
+
o && /* @__PURE__ */ t.jsx(Ne, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1140
1139
|
]
|
|
1141
1140
|
}
|
|
1142
1141
|
),
|
|
@@ -1165,14 +1164,14 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1165
1164
|
)
|
|
1166
1165
|
}
|
|
1167
1166
|
) }
|
|
1168
|
-
),
|
|
1167
|
+
), vr = (l, o) => {
|
|
1169
1168
|
let p;
|
|
1170
1169
|
return (...d) => {
|
|
1171
1170
|
p && clearTimeout(p), p = setTimeout(() => {
|
|
1172
1171
|
l(...d);
|
|
1173
|
-
},
|
|
1172
|
+
}, o);
|
|
1174
1173
|
};
|
|
1175
|
-
}, Ze = "nav-drawer-hover",
|
|
1174
|
+
}, Ze = "nav-drawer-hover", gt = (l) => {
|
|
1176
1175
|
window.dispatchEvent(
|
|
1177
1176
|
new CustomEvent(Ze, {
|
|
1178
1177
|
detail: { isHovering: l },
|
|
@@ -1180,31 +1179,31 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1180
1179
|
cancelable: !0
|
|
1181
1180
|
})
|
|
1182
1181
|
);
|
|
1183
|
-
},
|
|
1182
|
+
}, xr = (l = !1, o = !1, p = !1) => l || !o ? "column" : p ? "row" : "row-reverse", br = Je(Yt), mr = Je(zt), Ge = ({
|
|
1184
1183
|
isOpen: l = !1,
|
|
1185
|
-
onClose:
|
|
1184
|
+
onClose: o,
|
|
1186
1185
|
title: p,
|
|
1187
1186
|
navDrawerLinks: d,
|
|
1188
|
-
bottomNavButtons:
|
|
1189
|
-
spotlightCards:
|
|
1190
|
-
bottomButton:
|
|
1187
|
+
bottomNavButtons: j,
|
|
1188
|
+
spotlightCards: v,
|
|
1189
|
+
bottomButton: b,
|
|
1191
1190
|
hasBackButton: R = !0,
|
|
1192
1191
|
onBackClick: c,
|
|
1193
|
-
hasOnlySpotlightCards:
|
|
1194
|
-
hasSearch:
|
|
1195
|
-
onSearch:
|
|
1196
|
-
topOffset:
|
|
1192
|
+
hasOnlySpotlightCards: y = !1,
|
|
1193
|
+
hasSearch: s = !1,
|
|
1194
|
+
onSearch: C = () => ({}),
|
|
1195
|
+
topOffset: g
|
|
1197
1196
|
}) => {
|
|
1198
1197
|
const u = Xe({
|
|
1199
1198
|
base: !1,
|
|
1200
1199
|
tablet: !1,
|
|
1201
1200
|
largeTablet: !1,
|
|
1202
1201
|
desktop: !0
|
|
1203
|
-
}),
|
|
1204
|
-
Q((
|
|
1202
|
+
}), D = u ? "top" : "right", [q, Q] = B(0), [A, _] = B(!1), de = () => {
|
|
1203
|
+
Q(($) => $ + 1);
|
|
1205
1204
|
}, fe = mt(
|
|
1206
|
-
|
|
1207
|
-
|
|
1205
|
+
vr(($) => {
|
|
1206
|
+
C($), de();
|
|
1208
1207
|
}, 100),
|
|
1209
1208
|
[]
|
|
1210
1209
|
);
|
|
@@ -1212,28 +1211,28 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1212
1211
|
l && _(!0);
|
|
1213
1212
|
}, [l]);
|
|
1214
1213
|
const pe = () => {
|
|
1215
|
-
l || (_(!1),
|
|
1214
|
+
l || (_(!1), o());
|
|
1216
1215
|
};
|
|
1217
1216
|
return /* @__PURE__ */ t.jsx(
|
|
1218
|
-
|
|
1217
|
+
Gt,
|
|
1219
1218
|
{
|
|
1220
|
-
isOpen:
|
|
1219
|
+
isOpen: A || l,
|
|
1221
1220
|
onClose: () => {
|
|
1222
|
-
|
|
1221
|
+
A && u || o();
|
|
1223
1222
|
},
|
|
1224
|
-
placement:
|
|
1223
|
+
placement: D,
|
|
1225
1224
|
blockScrollOnMount: !1,
|
|
1226
1225
|
autoFocus: !1,
|
|
1227
1226
|
children: /* @__PURE__ */ t.jsx(
|
|
1228
|
-
|
|
1227
|
+
sr,
|
|
1229
1228
|
{ children: l ? /* @__PURE__ */ t.jsxs(
|
|
1230
1229
|
t.Fragment,
|
|
1231
1230
|
{ children: [
|
|
1232
1231
|
/* @__PURE__ */ t.jsx(
|
|
1233
|
-
|
|
1232
|
+
mr,
|
|
1234
1233
|
{
|
|
1235
1234
|
backgroundColor: "tints.black",
|
|
1236
|
-
top: ["0", null, null, `${
|
|
1235
|
+
top: ["0", null, null, `${g}px`],
|
|
1237
1236
|
opacity: u ? void 0 : "0.4 !important",
|
|
1238
1237
|
...u ? {
|
|
1239
1238
|
initial: { opacity: 0 },
|
|
@@ -1248,17 +1247,17 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1248
1247
|
}
|
|
1249
1248
|
),
|
|
1250
1249
|
/* @__PURE__ */ t.jsxs(
|
|
1251
|
-
|
|
1250
|
+
br,
|
|
1252
1251
|
{
|
|
1253
|
-
onClick: (
|
|
1254
|
-
const V =
|
|
1255
|
-
V && V.href === window.location.href &&
|
|
1252
|
+
onClick: ($) => {
|
|
1253
|
+
const V = $.target.closest("a");
|
|
1254
|
+
V && V.href === window.location.href && o();
|
|
1256
1255
|
},
|
|
1257
1256
|
onMouseEnter: () => {
|
|
1258
|
-
u &&
|
|
1257
|
+
u && gt(!0);
|
|
1259
1258
|
},
|
|
1260
1259
|
onMouseLeave: () => {
|
|
1261
|
-
u &&
|
|
1260
|
+
u && gt(!1);
|
|
1262
1261
|
},
|
|
1263
1262
|
paddingTop: "4",
|
|
1264
1263
|
paddingX: [4, null, null, 12],
|
|
@@ -1266,7 +1265,7 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1266
1265
|
overflow: ["auto", null, null, "hidden"],
|
|
1267
1266
|
maxHeight: "100vh",
|
|
1268
1267
|
position: "relative",
|
|
1269
|
-
top: u ? `${
|
|
1268
|
+
top: u ? `${g}px !important` : void 0,
|
|
1270
1269
|
onAnimationComplete: pe,
|
|
1271
1270
|
...u ? {
|
|
1272
1271
|
initial: { height: 0, opacity: 0 },
|
|
@@ -1275,15 +1274,15 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1275
1274
|
transition: { duration: 0.3 }
|
|
1276
1275
|
} : {},
|
|
1277
1276
|
children: [
|
|
1278
|
-
!
|
|
1279
|
-
|
|
1277
|
+
!s && u ? null : /* @__PURE__ */ t.jsxs(
|
|
1278
|
+
Ut,
|
|
1280
1279
|
{
|
|
1281
1280
|
padding: "0",
|
|
1282
|
-
flexDirection:
|
|
1283
|
-
gap:
|
|
1281
|
+
flexDirection: s ? "column" : "row",
|
|
1282
|
+
gap: s ? "4" : "0",
|
|
1284
1283
|
children: [
|
|
1285
1284
|
u ? null : /* @__PURE__ */ t.jsxs(
|
|
1286
|
-
|
|
1285
|
+
k,
|
|
1287
1286
|
{
|
|
1288
1287
|
width: "100%",
|
|
1289
1288
|
justifyContent: "space-between",
|
|
@@ -1292,7 +1291,7 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1292
1291
|
R ? /* @__PURE__ */ t.jsx(
|
|
1293
1292
|
ce,
|
|
1294
1293
|
{
|
|
1295
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1294
|
+
icon: /* @__PURE__ */ t.jsx(ar, {}),
|
|
1296
1295
|
onClick: () => {
|
|
1297
1296
|
c && c();
|
|
1298
1297
|
},
|
|
@@ -1310,22 +1309,22 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1310
1309
|
/* @__PURE__ */ t.jsx(
|
|
1311
1310
|
ce,
|
|
1312
1311
|
{
|
|
1313
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1314
|
-
onClick:
|
|
1312
|
+
icon: /* @__PURE__ */ t.jsx(ir, {}),
|
|
1313
|
+
onClick: o,
|
|
1315
1314
|
"aria-label": "Close"
|
|
1316
1315
|
}
|
|
1317
1316
|
)
|
|
1318
1317
|
]
|
|
1319
1318
|
}
|
|
1320
1319
|
),
|
|
1321
|
-
|
|
1320
|
+
s && /* @__PURE__ */ t.jsxs(
|
|
1322
1321
|
Qt,
|
|
1323
1322
|
{ width: "100%", children: [
|
|
1324
1323
|
/* @__PURE__ */ t.jsx(
|
|
1325
|
-
|
|
1324
|
+
er,
|
|
1326
1325
|
{
|
|
1327
|
-
onChange: (
|
|
1328
|
-
fe(
|
|
1326
|
+
onChange: ($) => {
|
|
1327
|
+
fe($.target.value);
|
|
1329
1328
|
},
|
|
1330
1329
|
placeholder: "Search",
|
|
1331
1330
|
autoFocus: !0,
|
|
@@ -1334,8 +1333,8 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1334
1333
|
}
|
|
1335
1334
|
),
|
|
1336
1335
|
/* @__PURE__ */ t.jsx(
|
|
1337
|
-
|
|
1338
|
-
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(
|
|
1336
|
+
tr,
|
|
1337
|
+
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(rr, { as: jt, color: "gray.500" }) }
|
|
1339
1338
|
)
|
|
1340
1339
|
] }
|
|
1341
1340
|
)
|
|
@@ -1368,48 +1367,45 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1368
1367
|
} : {},
|
|
1369
1368
|
style: {
|
|
1370
1369
|
display: "flex",
|
|
1371
|
-
flexDirection:
|
|
1372
|
-
|
|
1370
|
+
flexDirection: xr(
|
|
1371
|
+
y,
|
|
1373
1372
|
u,
|
|
1374
|
-
|
|
1373
|
+
s
|
|
1375
1374
|
),
|
|
1376
1375
|
gap: "24px",
|
|
1377
1376
|
justifyContent: "space-between"
|
|
1378
1377
|
},
|
|
1379
1378
|
children: [
|
|
1380
|
-
|
|
1381
|
-
|
|
1379
|
+
v ? /* @__PURE__ */ t.jsx(
|
|
1380
|
+
E,
|
|
1382
1381
|
{
|
|
1383
|
-
gap:
|
|
1382
|
+
gap: [3, null, null, 6],
|
|
1384
1383
|
display: "flex",
|
|
1385
1384
|
justifyContent: [null, null, null, "center"],
|
|
1386
1385
|
sx: {
|
|
1387
|
-
"& > *": {
|
|
1388
|
-
width: ["100%", null, null, "365px", "432px"]
|
|
1389
|
-
},
|
|
1390
1386
|
flexWrap: "wrap",
|
|
1391
1387
|
flexDirection: ["column", null, null, "row"]
|
|
1392
1388
|
},
|
|
1393
|
-
children:
|
|
1389
|
+
children: v
|
|
1394
1390
|
}
|
|
1395
1391
|
) : null,
|
|
1396
1392
|
/* @__PURE__ */ t.jsxs(
|
|
1397
|
-
|
|
1393
|
+
k,
|
|
1398
1394
|
{
|
|
1399
1395
|
position: [null, null, null, "relative"],
|
|
1400
1396
|
flexDirection: "column",
|
|
1401
1397
|
gap: "6",
|
|
1402
|
-
width: ["100%", null, null,
|
|
1398
|
+
width: ["100%", null, null, s ? null : "auto"],
|
|
1403
1399
|
children: [
|
|
1404
|
-
d ? /* @__PURE__ */ t.jsx(
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1400
|
+
d ? /* @__PURE__ */ t.jsx(E, { children: d }) : null,
|
|
1401
|
+
j && !u ? /* @__PURE__ */ t.jsx(E, { children: j }) : null,
|
|
1402
|
+
b ? /* @__PURE__ */ t.jsx(
|
|
1403
|
+
E,
|
|
1408
1404
|
{
|
|
1409
1405
|
width: ["100%"],
|
|
1410
1406
|
position: [null, null, null, "absolute"],
|
|
1411
1407
|
bottom: [null, null, null, 0],
|
|
1412
|
-
children:
|
|
1408
|
+
children: b
|
|
1413
1409
|
}
|
|
1414
1410
|
) : null
|
|
1415
1411
|
]
|
|
@@ -1429,93 +1425,92 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1429
1425
|
)
|
|
1430
1426
|
}
|
|
1431
1427
|
);
|
|
1432
|
-
},
|
|
1433
|
-
const
|
|
1428
|
+
}, vt = (l) => {
|
|
1429
|
+
const o = /* @__PURE__ */ new Set();
|
|
1434
1430
|
return l.reduce((p, d) => {
|
|
1435
|
-
var
|
|
1436
|
-
const
|
|
1437
|
-
const c = R.links.filter((
|
|
1438
|
-
return [...
|
|
1431
|
+
var v;
|
|
1432
|
+
const j = ((v = d.sections) == null ? void 0 : v.reduce((b, R) => {
|
|
1433
|
+
const c = R.links.filter((y) => o.has(y.label) || y.isSearchable !== !0 ? !1 : (o.add(y.label), !0));
|
|
1434
|
+
return [...b, ...c];
|
|
1439
1435
|
}, [])) ?? [];
|
|
1440
|
-
return [...p, ...
|
|
1436
|
+
return [...p, ...j];
|
|
1441
1437
|
}, []);
|
|
1442
|
-
},
|
|
1438
|
+
}, jr = ({
|
|
1443
1439
|
source: l,
|
|
1444
|
-
onSearchCallback:
|
|
1440
|
+
onSearchCallback: o,
|
|
1445
1441
|
isActive: p
|
|
1446
1442
|
}) => {
|
|
1447
|
-
const [d,
|
|
1448
|
-
if (!
|
|
1449
|
-
|
|
1450
|
-
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
|
-
|
|
1457
|
-
m([]);
|
|
1443
|
+
const [d, j] = B(""), [v, b] = B([]), R = (s, C) => {
|
|
1444
|
+
if (!s) return [];
|
|
1445
|
+
const g = s.toLowerCase();
|
|
1446
|
+
return C.filter((u) => {
|
|
1447
|
+
const D = u.label.toLowerCase().includes(g), q = typeof u.additionalContent == "string" && u.additionalContent.toLowerCase().includes(g);
|
|
1448
|
+
return D || q;
|
|
1449
|
+
}).sort((u, D) => u.label.localeCompare(D.label));
|
|
1450
|
+
}, c = (s) => {
|
|
1451
|
+
if (j(s), !s) {
|
|
1452
|
+
b([]);
|
|
1458
1453
|
return;
|
|
1459
1454
|
}
|
|
1460
|
-
const
|
|
1461
|
-
|
|
1462
|
-
},
|
|
1463
|
-
|
|
1455
|
+
const C = R(s, l);
|
|
1456
|
+
b(C), o && o(s, C);
|
|
1457
|
+
}, y = () => {
|
|
1458
|
+
j(""), b([]);
|
|
1464
1459
|
};
|
|
1465
1460
|
return Z(() => {
|
|
1466
|
-
p || (
|
|
1461
|
+
p || (j(""), b([]));
|
|
1467
1462
|
}, [p]), {
|
|
1468
1463
|
query: d,
|
|
1469
|
-
results:
|
|
1470
|
-
handleClose:
|
|
1464
|
+
results: v,
|
|
1465
|
+
handleClose: y,
|
|
1471
1466
|
handleSearch: c
|
|
1472
1467
|
};
|
|
1473
|
-
},
|
|
1468
|
+
}, kr = ({
|
|
1474
1469
|
categories: l = [],
|
|
1475
|
-
onCartClick:
|
|
1470
|
+
onCartClick: o,
|
|
1476
1471
|
mainCategoryLabel: p = "Menu",
|
|
1477
1472
|
logoLink: d = "https://www.everlywell.com",
|
|
1478
|
-
hasSearch:
|
|
1479
|
-
onSearchClick:
|
|
1480
|
-
registrationUrl:
|
|
1473
|
+
hasSearch: j = !0,
|
|
1474
|
+
onSearchClick: v,
|
|
1475
|
+
registrationUrl: b,
|
|
1481
1476
|
profileUrl: R = "https://secure.everlywell.com/login",
|
|
1482
1477
|
mobileBottomButtons: c = [],
|
|
1483
|
-
numberOfCartItems:
|
|
1484
|
-
linkComponent:
|
|
1485
|
-
onSearchCallback:
|
|
1486
|
-
onLinkClick:
|
|
1478
|
+
numberOfCartItems: y = 0,
|
|
1479
|
+
linkComponent: s,
|
|
1480
|
+
onSearchCallback: C,
|
|
1481
|
+
onLinkClick: g,
|
|
1487
1482
|
onCategoryOpen: u,
|
|
1488
|
-
onMobileMenuOpen:
|
|
1483
|
+
onMobileMenuOpen: D,
|
|
1489
1484
|
onBackToMainMenu: q,
|
|
1490
1485
|
onRegisterKitClick: Q,
|
|
1491
|
-
onProfileClick:
|
|
1486
|
+
onProfileClick: A,
|
|
1492
1487
|
onLogoClick: _,
|
|
1493
1488
|
shopAllProductsUrl: de,
|
|
1494
1489
|
onShopAllProductsClick: fe
|
|
1495
1490
|
}) => {
|
|
1496
|
-
var
|
|
1497
|
-
const [pe,
|
|
1491
|
+
var G, be, me;
|
|
1492
|
+
const [pe, $] = B(!1), [ee, V] = B(!1), [w, M] = B(null), [we, he] = B(!1), [H, N] = B(!1), [Y, Ee] = B(0), Re = Xe({
|
|
1498
1493
|
base: !1,
|
|
1499
1494
|
tablet: !1,
|
|
1500
1495
|
largeTablet: !1,
|
|
1501
1496
|
desktop: !0
|
|
1502
1497
|
}) ?? !1;
|
|
1503
1498
|
Z(() => {
|
|
1504
|
-
|
|
1499
|
+
ne(), M(null);
|
|
1505
1500
|
}, [Re]);
|
|
1506
1501
|
const {
|
|
1507
1502
|
query: _e,
|
|
1508
1503
|
results: te,
|
|
1509
1504
|
handleSearch: Se
|
|
1510
|
-
} =
|
|
1511
|
-
source:
|
|
1512
|
-
onSearchCallback:
|
|
1505
|
+
} = jr({
|
|
1506
|
+
source: vt(l),
|
|
1507
|
+
onSearchCallback: C,
|
|
1513
1508
|
isActive: ee
|
|
1514
|
-
}),
|
|
1515
|
-
|
|
1516
|
-
{ gap:
|
|
1517
|
-
|
|
1518
|
-
|
|
1509
|
+
}), ge = te.length > 0, re = s || z, Te = Oe(de, !!s), Pe = _e && /* @__PURE__ */ t.jsxs(
|
|
1510
|
+
k,
|
|
1511
|
+
{ gap: ge ? "6" : 0, direction: "column", children: [
|
|
1512
|
+
ge ? /* @__PURE__ */ t.jsx(K, { color: "tints.uiGrey", children: `${te.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
1513
|
+
k,
|
|
1519
1514
|
{ direction: "column", gap: "6", alignItems: "flex-start", children: [
|
|
1520
1515
|
/* @__PURE__ */ t.jsx(
|
|
1521
1516
|
K,
|
|
@@ -1524,7 +1519,7 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1524
1519
|
/* @__PURE__ */ t.jsx(
|
|
1525
1520
|
xt,
|
|
1526
1521
|
{
|
|
1527
|
-
as:
|
|
1522
|
+
as: re,
|
|
1528
1523
|
onClick: fe,
|
|
1529
1524
|
_hover: { textDecoration: "none" },
|
|
1530
1525
|
width: ["100%", null, null, "auto"],
|
|
@@ -1537,7 +1532,7 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1537
1532
|
/* @__PURE__ */ t.jsx(
|
|
1538
1533
|
Kt,
|
|
1539
1534
|
{ columns: [1, 1, 1, 4], children: te.map(
|
|
1540
|
-
(a,
|
|
1535
|
+
(a, I) => /* @__PURE__ */ t.jsx(
|
|
1541
1536
|
Xt,
|
|
1542
1537
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1543
1538
|
ze,
|
|
@@ -1545,26 +1540,26 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1545
1540
|
href: a.href,
|
|
1546
1541
|
label: a.label,
|
|
1547
1542
|
additionalContent: a == null ? void 0 : a.additionalContent,
|
|
1548
|
-
linkComponent:
|
|
1543
|
+
linkComponent: s
|
|
1549
1544
|
}
|
|
1550
1545
|
) },
|
|
1551
|
-
`${a.label}-${
|
|
1546
|
+
`${a.label}-${I}`
|
|
1552
1547
|
)
|
|
1553
1548
|
) }
|
|
1554
1549
|
)
|
|
1555
1550
|
] }
|
|
1556
|
-
),
|
|
1557
|
-
|
|
1558
|
-
},
|
|
1559
|
-
|
|
1551
|
+
), ne = () => {
|
|
1552
|
+
$(!1), M(null);
|
|
1553
|
+
}, W = (a) => "href" in a, ve = (a) => {
|
|
1554
|
+
W(a) ? g == null || g(a.label) : M(a);
|
|
1560
1555
|
}, le = (a) => {
|
|
1561
|
-
he(!0), V(!1),
|
|
1556
|
+
he(!0), V(!1), M(null), !W(a) && (a.sections || a.spotlightCards) && M(a);
|
|
1562
1557
|
}, xe = () => {
|
|
1563
1558
|
he(!1);
|
|
1564
1559
|
};
|
|
1565
1560
|
Z(() => {
|
|
1566
|
-
const a = (
|
|
1567
|
-
N(
|
|
1561
|
+
const a = (I) => {
|
|
1562
|
+
N(I.detail.isHovering);
|
|
1568
1563
|
};
|
|
1569
1564
|
return window.addEventListener(
|
|
1570
1565
|
Ze,
|
|
@@ -1576,75 +1571,75 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1576
1571
|
);
|
|
1577
1572
|
};
|
|
1578
1573
|
}, []), Z(() => {
|
|
1579
|
-
!
|
|
1580
|
-
}, [
|
|
1574
|
+
!we && !H && (M(null), V(!1));
|
|
1575
|
+
}, [we, H]), Z(() => {
|
|
1581
1576
|
let a = window.location.href;
|
|
1582
|
-
const
|
|
1583
|
-
const
|
|
1584
|
-
|
|
1585
|
-
},
|
|
1586
|
-
return window.addEventListener("popstate",
|
|
1587
|
-
window.removeEventListener("popstate",
|
|
1577
|
+
const I = () => {
|
|
1578
|
+
const O = window.location.href;
|
|
1579
|
+
O !== a && (a = O, ne(), M(null));
|
|
1580
|
+
}, U = setInterval(I, 100);
|
|
1581
|
+
return window.addEventListener("popstate", I), () => {
|
|
1582
|
+
window.removeEventListener("popstate", I), clearInterval(U);
|
|
1588
1583
|
};
|
|
1589
1584
|
}, []);
|
|
1590
1585
|
const ae = /* @__PURE__ */ t.jsx(
|
|
1591
1586
|
t.Fragment,
|
|
1592
1587
|
{ children: l == null ? void 0 : l.map(
|
|
1593
|
-
(a,
|
|
1594
|
-
|
|
1588
|
+
(a, I) => /* @__PURE__ */ t.jsx(
|
|
1589
|
+
Ie,
|
|
1595
1590
|
{
|
|
1596
1591
|
onMouseEnter: () => {
|
|
1597
1592
|
le(a), u == null || u(a.label);
|
|
1598
1593
|
},
|
|
1599
1594
|
onMouseLeave: xe,
|
|
1600
|
-
isSelected: (
|
|
1601
|
-
as:
|
|
1602
|
-
href:
|
|
1603
|
-
onClick:
|
|
1595
|
+
isSelected: (w == null ? void 0 : w.label) === a.label,
|
|
1596
|
+
as: W(a) && re ? re : z,
|
|
1597
|
+
href: W(a) ? a.href : void 0,
|
|
1598
|
+
onClick: W(a) ? () => g == null ? void 0 : g(a.label) : void 0,
|
|
1604
1599
|
...a.buttonProps,
|
|
1605
1600
|
children: a.label
|
|
1606
1601
|
},
|
|
1607
|
-
`${a.label}-${
|
|
1602
|
+
`${a.label}-${I}`
|
|
1608
1603
|
)
|
|
1609
1604
|
) }
|
|
1610
|
-
), Le = (
|
|
1611
|
-
(a) => !
|
|
1612
|
-
)) == null ? void 0 :
|
|
1613
|
-
const
|
|
1605
|
+
), Le = (G = l.filter(
|
|
1606
|
+
(a) => !W(a) && a.isMobileTopLink !== !1
|
|
1607
|
+
)) == null ? void 0 : G.map((a) => {
|
|
1608
|
+
const I = a;
|
|
1614
1609
|
return /* @__PURE__ */ t.jsx(
|
|
1615
|
-
|
|
1610
|
+
E,
|
|
1616
1611
|
{
|
|
1617
1612
|
onClick: () => {
|
|
1618
|
-
|
|
1613
|
+
ve(I), u == null || u(I.label);
|
|
1619
1614
|
},
|
|
1620
1615
|
children: /* @__PURE__ */ t.jsx(
|
|
1621
1616
|
ze,
|
|
1622
1617
|
{
|
|
1623
|
-
label:
|
|
1618
|
+
label: I.label,
|
|
1624
1619
|
role: "link",
|
|
1625
|
-
additionalContent:
|
|
1620
|
+
additionalContent: I.additionalContent,
|
|
1626
1621
|
mainTextFontSize: "3xl",
|
|
1627
|
-
linkComponent:
|
|
1622
|
+
linkComponent: s
|
|
1628
1623
|
}
|
|
1629
1624
|
)
|
|
1630
1625
|
},
|
|
1631
|
-
|
|
1626
|
+
I.label
|
|
1632
1627
|
);
|
|
1633
1628
|
});
|
|
1634
|
-
|
|
1629
|
+
vt(l);
|
|
1635
1630
|
const ke = /* @__PURE__ */ t.jsxs(
|
|
1636
1631
|
t.Fragment,
|
|
1637
1632
|
{ children: [
|
|
1638
1633
|
/* @__PURE__ */ t.jsx(
|
|
1639
|
-
|
|
1634
|
+
Ie,
|
|
1640
1635
|
{
|
|
1641
1636
|
as: z,
|
|
1642
1637
|
href: R,
|
|
1643
1638
|
width: "100%",
|
|
1644
1639
|
backgroundColor: "tints.cream",
|
|
1645
|
-
onClick:
|
|
1640
|
+
onClick: A,
|
|
1646
1641
|
children: /* @__PURE__ */ t.jsxs(
|
|
1647
|
-
|
|
1642
|
+
k,
|
|
1648
1643
|
{ gap: "2", children: [
|
|
1649
1644
|
"My Everly",
|
|
1650
1645
|
/* @__PURE__ */ t.jsx(ue, { as: dt, size: 24 })
|
|
@@ -1654,38 +1649,38 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1654
1649
|
"my-everly"
|
|
1655
1650
|
),
|
|
1656
1651
|
/* @__PURE__ */ t.jsx(
|
|
1657
|
-
|
|
1652
|
+
Ie,
|
|
1658
1653
|
{
|
|
1659
1654
|
as: z,
|
|
1660
1655
|
width: "100%",
|
|
1661
|
-
href:
|
|
1656
|
+
href: b,
|
|
1662
1657
|
backgroundColor: "tints.cream",
|
|
1663
1658
|
onClick: Q,
|
|
1664
1659
|
children: /* @__PURE__ */ t.jsxs(
|
|
1665
|
-
|
|
1660
|
+
k,
|
|
1666
1661
|
{ gap: "2", children: [
|
|
1667
1662
|
"Register kit",
|
|
1668
|
-
/* @__PURE__ */ t.jsx(ue, { as:
|
|
1663
|
+
/* @__PURE__ */ t.jsx(ue, { as: or, size: 24 })
|
|
1669
1664
|
] }
|
|
1670
1665
|
)
|
|
1671
1666
|
},
|
|
1672
1667
|
"register-kit"
|
|
1673
1668
|
)
|
|
1674
1669
|
] }
|
|
1675
|
-
),
|
|
1676
|
-
|
|
1670
|
+
), He = /* @__PURE__ */ t.jsxs(
|
|
1671
|
+
k,
|
|
1677
1672
|
{ gap: "2", flexDirection: "column", children: [
|
|
1678
1673
|
c,
|
|
1679
1674
|
ke
|
|
1680
1675
|
] }
|
|
1681
|
-
),
|
|
1682
|
-
|
|
1683
|
-
{ direction: ["column", null, null, "row"], gap: "8", children: (be =
|
|
1684
|
-
const
|
|
1685
|
-
for (let
|
|
1686
|
-
|
|
1676
|
+
), Ae = w ? /* @__PURE__ */ t.jsx(
|
|
1677
|
+
k,
|
|
1678
|
+
{ direction: ["column", null, null, "row"], gap: "8", children: (be = w == null ? void 0 : w.sections) == null ? void 0 : be.map((a, I) => {
|
|
1679
|
+
const U = [];
|
|
1680
|
+
for (let O = 0; O < a.links.length; O += 3)
|
|
1681
|
+
U.push(a.links.slice(O, O + 3));
|
|
1687
1682
|
return /* @__PURE__ */ t.jsxs(
|
|
1688
|
-
|
|
1683
|
+
E,
|
|
1689
1684
|
{ children: [
|
|
1690
1685
|
/* @__PURE__ */ t.jsx(
|
|
1691
1686
|
K,
|
|
@@ -1697,55 +1692,55 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1697
1692
|
}
|
|
1698
1693
|
),
|
|
1699
1694
|
/* @__PURE__ */ t.jsx(
|
|
1700
|
-
|
|
1695
|
+
k,
|
|
1701
1696
|
{
|
|
1702
1697
|
flexDirection: ["column", null, null, "row"],
|
|
1703
1698
|
gap: [null, null, null, 8],
|
|
1704
|
-
children:
|
|
1705
|
-
(
|
|
1706
|
-
|
|
1699
|
+
children: U == null ? void 0 : U.map(
|
|
1700
|
+
(O, $e) => /* @__PURE__ */ t.jsx(
|
|
1701
|
+
k,
|
|
1707
1702
|
{
|
|
1708
1703
|
flexDirection: ["column"],
|
|
1709
1704
|
gap: [null, null, null, 5],
|
|
1710
1705
|
marginLeft: [null, null, null, -2],
|
|
1711
|
-
children:
|
|
1706
|
+
children: O == null ? void 0 : O.map(
|
|
1712
1707
|
(X) => /* @__PURE__ */ t.jsx(
|
|
1713
1708
|
ze,
|
|
1714
1709
|
{
|
|
1715
1710
|
label: X.label,
|
|
1716
1711
|
href: X.href,
|
|
1717
1712
|
additionalContent: X.additionalContent,
|
|
1718
|
-
linkComponent:
|
|
1719
|
-
onClick: () =>
|
|
1713
|
+
linkComponent: s,
|
|
1714
|
+
onClick: () => g == null ? void 0 : g(X.label)
|
|
1720
1715
|
},
|
|
1721
1716
|
X.label
|
|
1722
1717
|
)
|
|
1723
1718
|
)
|
|
1724
1719
|
},
|
|
1725
|
-
|
|
1720
|
+
$e
|
|
1726
1721
|
)
|
|
1727
1722
|
)
|
|
1728
1723
|
}
|
|
1729
1724
|
)
|
|
1730
1725
|
] },
|
|
1731
|
-
`${a.title}-${
|
|
1726
|
+
`${a.title}-${I}`
|
|
1732
1727
|
);
|
|
1733
1728
|
}) }
|
|
1734
|
-
) : null, ie =
|
|
1735
|
-
(a) => /* @__PURE__ */ t.jsx(
|
|
1736
|
-
) : /* @__PURE__ */ t.jsx(
|
|
1729
|
+
) : null, ie = w != null && w.spotlightCards ? (me = w.spotlightCards) == null ? void 0 : me.map(
|
|
1730
|
+
(a) => /* @__PURE__ */ t.jsx(fr, { ...a }, a.title)
|
|
1731
|
+
) : /* @__PURE__ */ t.jsx(E, {});
|
|
1737
1732
|
return /* @__PURE__ */ t.jsxs(
|
|
1738
1733
|
t.Fragment,
|
|
1739
1734
|
{ children: [
|
|
1740
1735
|
/* @__PURE__ */ t.jsx(
|
|
1741
|
-
|
|
1736
|
+
hr,
|
|
1742
1737
|
{
|
|
1743
1738
|
desktopTopButtons: ae,
|
|
1744
1739
|
kitRegistrationElement: /* @__PURE__ */ t.jsx(
|
|
1745
|
-
|
|
1740
|
+
Ie,
|
|
1746
1741
|
{
|
|
1747
1742
|
as: z,
|
|
1748
|
-
href:
|
|
1743
|
+
href: b,
|
|
1749
1744
|
onClick: Q,
|
|
1750
1745
|
backgroundColor: "tints.cream",
|
|
1751
1746
|
children: "Register Kit"
|
|
@@ -1753,67 +1748,67 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1753
1748
|
),
|
|
1754
1749
|
profileElement: /* @__PURE__ */ t.jsx(
|
|
1755
1750
|
z,
|
|
1756
|
-
{ href: R, "aria-label": "login", onClick:
|
|
1751
|
+
{ href: R, "aria-label": "login", onClick: A, children: /* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(ue, { as: dt }), "aria-label": "Profile" }) }
|
|
1757
1752
|
),
|
|
1758
1753
|
cartElement: /* @__PURE__ */ t.jsx(
|
|
1759
|
-
|
|
1754
|
+
gr,
|
|
1760
1755
|
{
|
|
1761
1756
|
"aria-label": "Cart",
|
|
1762
|
-
count:
|
|
1763
|
-
onClick:
|
|
1757
|
+
count: y,
|
|
1758
|
+
onClick: o
|
|
1764
1759
|
}
|
|
1765
1760
|
),
|
|
1766
1761
|
onSearchClick: () => {
|
|
1767
|
-
V(!ee),
|
|
1762
|
+
V(!ee), v == null || v();
|
|
1768
1763
|
},
|
|
1769
1764
|
onMenuClick: () => {
|
|
1770
|
-
|
|
1765
|
+
$(!0), D == null || D();
|
|
1771
1766
|
},
|
|
1772
|
-
hasSearch:
|
|
1767
|
+
hasSearch: j,
|
|
1773
1768
|
logoLink: d,
|
|
1774
|
-
linkComponent:
|
|
1769
|
+
linkComponent: s,
|
|
1775
1770
|
onLogoClick: _,
|
|
1776
1771
|
setTopOffset: Ee
|
|
1777
1772
|
}
|
|
1778
1773
|
),
|
|
1779
1774
|
/* @__PURE__ */ t.jsxs(
|
|
1780
|
-
|
|
1775
|
+
E,
|
|
1781
1776
|
{ position: "relative", zIndex: "modal", children: [
|
|
1782
1777
|
/* @__PURE__ */ t.jsx(
|
|
1783
|
-
|
|
1778
|
+
Ge,
|
|
1784
1779
|
{
|
|
1785
1780
|
isOpen: pe,
|
|
1786
|
-
onClose:
|
|
1781
|
+
onClose: ne,
|
|
1787
1782
|
title: p,
|
|
1788
1783
|
navDrawerLinks: Le,
|
|
1789
|
-
bottomNavButtons:
|
|
1784
|
+
bottomNavButtons: He,
|
|
1790
1785
|
hasBackButton: !1,
|
|
1791
1786
|
topOffset: Y
|
|
1792
1787
|
}
|
|
1793
1788
|
),
|
|
1794
1789
|
/* @__PURE__ */ t.jsx(
|
|
1795
|
-
|
|
1790
|
+
Ge,
|
|
1796
1791
|
{
|
|
1797
|
-
isOpen: !!
|
|
1792
|
+
isOpen: !!w,
|
|
1798
1793
|
onClose: () => {
|
|
1799
|
-
|
|
1794
|
+
ne(), M(null);
|
|
1800
1795
|
},
|
|
1801
|
-
title: (
|
|
1802
|
-
navDrawerLinks:
|
|
1803
|
-
onBackClick: () =>
|
|
1796
|
+
title: (w == null ? void 0 : w.label) || "",
|
|
1797
|
+
navDrawerLinks: Ae,
|
|
1798
|
+
onBackClick: () => M(null),
|
|
1804
1799
|
spotlightCards: ie,
|
|
1805
|
-
hasOnlySpotlightCards:
|
|
1806
|
-
bottomButton:
|
|
1800
|
+
hasOnlySpotlightCards: w == null ? void 0 : w.hasOnlySpotlightCards,
|
|
1801
|
+
bottomButton: w == null ? void 0 : w.bottomButton,
|
|
1807
1802
|
topOffset: Y
|
|
1808
1803
|
}
|
|
1809
1804
|
),
|
|
1810
1805
|
/* @__PURE__ */ t.jsx(
|
|
1811
|
-
|
|
1806
|
+
Ge,
|
|
1812
1807
|
{
|
|
1813
1808
|
isOpen: ee,
|
|
1814
1809
|
onClose: () => V(!1),
|
|
1815
1810
|
title: "Search",
|
|
1816
|
-
navDrawerLinks:
|
|
1811
|
+
navDrawerLinks: Pe,
|
|
1817
1812
|
onSearch: Se,
|
|
1818
1813
|
hasSearch: !0,
|
|
1819
1814
|
hasBackButton: !1,
|
|
@@ -1826,15 +1821,15 @@ const Ye = 60, ht = 6, fn = (l) => {
|
|
|
1826
1821
|
);
|
|
1827
1822
|
};
|
|
1828
1823
|
export {
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1824
|
+
gr as BasketButton,
|
|
1825
|
+
Sr as CategoryLabel,
|
|
1826
|
+
Ie as NavButton,
|
|
1827
|
+
Tr as NavSkeleton,
|
|
1828
|
+
Ge as NavbarDrawer,
|
|
1834
1829
|
ze as NavbarDrawerLink,
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1830
|
+
kr as NavigationBar,
|
|
1831
|
+
fr as SpotlightCard,
|
|
1832
|
+
_r as Stepper,
|
|
1838
1833
|
ce as TopNavIconButton,
|
|
1839
|
-
|
|
1834
|
+
hr as TopNavigation
|
|
1840
1835
|
};
|