@everlywell/consumer-ui 1.37.3 → 1.37.5
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.d.mts +1 -0
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +10 -10
- package/index.mjs +1302 -903
- package/lib/components/Footer/Footer/Footer.d.ts +2 -1
- package/lib/components/Footer/Footer/Footer.d.ts.map +1 -1
- package/lib/components/Footer/Footer/Footer.stories.d.ts +1 -1
- package/lib/components/Footer/Footer/Footer.stories.d.ts.map +1 -1
- package/lib/components/Footer/Footer/index.d.ts +3 -0
- package/lib/components/Footer/Footer/index.d.ts.map +1 -0
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts +3 -0
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts.map +1 -1
- package/lib/components/Navbar/TopNavigation/TopNavigation.d.ts.map +1 -1
- package/package.json +1 -1
- package/lib/components/Footer/index.d.ts +0 -2
- package/lib/components/Footer/index.d.ts.map +0 -1
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useSteps as
|
|
2
|
-
import
|
|
3
|
-
import { Text as
|
|
4
|
-
import { CaretRight as
|
|
5
|
-
import { motion as
|
|
6
|
-
var
|
|
1
|
+
import { useSteps as Yt, Box as b, Stepper as Gt, Icon as K, Flex as C, Text as L, Link as W, Button as Ct, Image as Ut, IconButton as Zt, theme as Ee, DrawerContent as Kt, DrawerOverlay as Xt, Drawer as Jt, DrawerHeader as qt, DrawerBody as Qt, VStack as er, Skeleton as Ge, HStack as ft, SkeletonCircle as Le, Grid as tr, GridItem as rr, Accordion as nr, AccordionItem as lr, AccordionButton as ir, AccordionPanel as or, InputGroup as ar, Input as sr, InputRightElement as ur, Container as cr } from "@everlywell/ui-kit";
|
|
2
|
+
import Ae, { useEffect as Z, forwardRef as yt, useState as V, useCallback as Et, useRef as dr } from "react";
|
|
3
|
+
import { Text as fr, useBreakpointValue as Pe, Box as hr, InputGroup as pr, Input as gr, InputRightElement as xr, Icon as vr } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as ht, CaretLeft as mr, X as br, MagnifyingGlass as Rt, List as jr, Basket as wr, User as pt, QrCode as Cr, CaretDown as yr, ArrowRight as Er, InstagramLogo as Rr, LinkedinLogo as _r, FacebookLogo as Sr, TiktokLogo as Tr, XLogo as kr } from "@phosphor-icons/react";
|
|
5
|
+
import { motion as et, AnimatePresence as Dr } from "framer-motion";
|
|
6
|
+
var Xe = { exports: {} }, Ce = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,21 +13,21 @@ var Ze = { exports: {} }, Ce = {};
|
|
|
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
|
|
17
|
-
function
|
|
18
|
-
if (
|
|
19
|
-
|
|
20
|
-
var
|
|
21
|
-
function
|
|
22
|
-
var
|
|
23
|
-
j !== void 0 && (
|
|
24
|
-
for (
|
|
25
|
-
if (
|
|
26
|
-
return { $$typeof: i, type:
|
|
16
|
+
var gt;
|
|
17
|
+
function Ir() {
|
|
18
|
+
if (gt) return Ce;
|
|
19
|
+
gt = 1;
|
|
20
|
+
var n = Ae, i = Symbol.for("react.element"), u = Symbol.for("react.fragment"), c = Object.prototype.hasOwnProperty, f = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function h(y, g, j) {
|
|
22
|
+
var o, R = {}, m = null, p = null;
|
|
23
|
+
j !== void 0 && (m = "" + j), g.key !== void 0 && (m = "" + g.key), g.ref !== void 0 && (p = g.ref);
|
|
24
|
+
for (o in g) c.call(g, o) && !s.hasOwnProperty(o) && (R[o] = g[o]);
|
|
25
|
+
if (y && y.defaultProps) for (o in g = y.defaultProps, g) R[o] === void 0 && (R[o] = g[o]);
|
|
26
|
+
return { $$typeof: i, type: y, key: m, ref: p, props: R, _owner: f.current };
|
|
27
27
|
}
|
|
28
|
-
return Ce.Fragment =
|
|
28
|
+
return Ce.Fragment = u, Ce.jsx = h, Ce.jsxs = h, Ce;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var ye = {};
|
|
31
31
|
/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.development.js
|
|
@@ -37,91 +37,91 @@ var je = {};
|
|
|
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
|
|
41
|
-
function
|
|
42
|
-
return
|
|
43
|
-
var
|
|
44
|
-
function
|
|
40
|
+
var xt;
|
|
41
|
+
function Lr() {
|
|
42
|
+
return xt || (xt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
var n = Ae, i = Symbol.for("react.element"), u = Symbol.for("react.portal"), c = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), h = Symbol.for("react.provider"), y = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), o = Symbol.for("react.suspense_list"), R = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), p = Symbol.for("react.offscreen"), S = Symbol.iterator, N = "@@iterator";
|
|
44
|
+
function Y(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var
|
|
48
|
-
return typeof
|
|
47
|
+
var r = S && e[S] || e[N];
|
|
48
|
+
return typeof r == "function" ? r : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
51
|
-
function
|
|
50
|
+
var M = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
|
+
function T(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var
|
|
54
|
-
|
|
55
|
-
|
|
53
|
+
for (var r = arguments.length, l = new Array(r > 1 ? r - 1 : 0), d = 1; d < r; d++)
|
|
54
|
+
l[d - 1] = arguments[d];
|
|
55
|
+
fe("error", e, l);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function fe(e, r, l) {
|
|
59
59
|
{
|
|
60
|
-
var
|
|
61
|
-
|
|
62
|
-
var
|
|
63
|
-
return String(
|
|
60
|
+
var d = M.ReactDebugCurrentFrame, w = d.getStackAddendum();
|
|
61
|
+
w !== "" && (r += "%s", l = l.concat([w]));
|
|
62
|
+
var E = l.map(function(v) {
|
|
63
|
+
return String(v);
|
|
64
64
|
});
|
|
65
|
-
|
|
65
|
+
E.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, E);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
68
|
+
var he = !1, pe = !1, Q = !1, X = !1, P = !1, _;
|
|
69
|
+
_ = Symbol.for("react.module.reference");
|
|
70
|
+
function $(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === c || e === s || P || e === f || e === j || e === o || X || e === p || he || pe || Q || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === R || e.$$typeof === h || e.$$typeof === y || e.$$typeof === g || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
75
|
-
e.$$typeof ===
|
|
75
|
+
e.$$typeof === _ || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
var
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
81
|
-
var
|
|
82
|
-
return
|
|
77
|
+
function Re(e, r, l) {
|
|
78
|
+
var d = e.displayName;
|
|
79
|
+
if (d)
|
|
80
|
+
return d;
|
|
81
|
+
var w = r.displayName || r.name || "";
|
|
82
|
+
return w !== "" ? l + "(" + w + ")" : l;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function ge(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function F(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
|
-
if (typeof e.tag == "number" &&
|
|
90
|
+
if (typeof e.tag == "number" && T("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 c:
|
|
96
96
|
return "Fragment";
|
|
97
|
-
case
|
|
97
|
+
case u:
|
|
98
98
|
return "Portal";
|
|
99
|
-
case
|
|
99
|
+
case s:
|
|
100
100
|
return "Profiler";
|
|
101
|
-
case
|
|
101
|
+
case f:
|
|
102
102
|
return "StrictMode";
|
|
103
103
|
case j:
|
|
104
104
|
return "Suspense";
|
|
105
|
-
case
|
|
105
|
+
case o:
|
|
106
106
|
return "SuspenseList";
|
|
107
107
|
}
|
|
108
108
|
if (typeof e == "object")
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
|
-
case
|
|
111
|
-
var n = e;
|
|
112
|
-
return he(n) + ".Consumer";
|
|
113
|
-
case b:
|
|
110
|
+
case y:
|
|
114
111
|
var r = e;
|
|
115
|
-
return
|
|
116
|
-
case
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
return
|
|
121
|
-
case
|
|
122
|
-
var
|
|
112
|
+
return ge(r) + ".Consumer";
|
|
113
|
+
case h:
|
|
114
|
+
var l = e;
|
|
115
|
+
return ge(l._context) + ".Provider";
|
|
116
|
+
case g:
|
|
117
|
+
return Re(e, e.render, "ForwardRef");
|
|
118
|
+
case R:
|
|
119
|
+
var d = e.displayName || null;
|
|
120
|
+
return d !== null ? d : F(e.type) || "Memo";
|
|
121
|
+
case m: {
|
|
122
|
+
var w = e, E = w._payload, v = w._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return F(v(E));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,18 +129,18 @@ function fn() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
133
|
-
function
|
|
132
|
+
var G = Object.assign, U = 0, _e, Se, Te, re, ke, xe, ne;
|
|
133
|
+
function De() {
|
|
134
134
|
}
|
|
135
|
-
|
|
136
|
-
function
|
|
135
|
+
De.__reactDisabledLog = !0;
|
|
136
|
+
function $e() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
139
|
-
|
|
138
|
+
if (U === 0) {
|
|
139
|
+
_e = console.log, Se = console.info, Te = console.warn, re = console.error, ke = console.group, xe = console.groupCollapsed, ne = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
143
|
-
value:
|
|
143
|
+
value: De,
|
|
144
144
|
writable: !0
|
|
145
145
|
};
|
|
146
146
|
Object.defineProperties(console, {
|
|
@@ -153,336 +153,336 @@ function fn() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
U++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function le() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if (U--, U === 0) {
|
|
162
162
|
var e = {
|
|
163
163
|
configurable: !0,
|
|
164
164
|
enumerable: !0,
|
|
165
165
|
writable: !0
|
|
166
166
|
};
|
|
167
167
|
Object.defineProperties(console, {
|
|
168
|
-
log:
|
|
169
|
-
value:
|
|
168
|
+
log: G({}, e, {
|
|
169
|
+
value: _e
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
172
|
-
value:
|
|
171
|
+
info: G({}, e, {
|
|
172
|
+
value: Se
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
175
|
-
value:
|
|
174
|
+
warn: G({}, e, {
|
|
175
|
+
value: Te
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
178
|
-
value:
|
|
177
|
+
error: G({}, e, {
|
|
178
|
+
value: re
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
181
|
-
value:
|
|
180
|
+
group: G({}, e, {
|
|
181
|
+
value: ke
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
184
|
-
value:
|
|
183
|
+
groupCollapsed: G({}, e, {
|
|
184
|
+
value: xe
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
186
|
+
groupEnd: G({}, e, {
|
|
187
187
|
value: ne
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
U < 0 && T("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
function
|
|
194
|
+
var z = M.ReactCurrentDispatcher, ve;
|
|
195
|
+
function ie(e, r, l) {
|
|
196
196
|
{
|
|
197
197
|
if (ve === void 0)
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
|
-
} catch (
|
|
201
|
-
var
|
|
202
|
-
ve =
|
|
200
|
+
} catch (w) {
|
|
201
|
+
var d = w.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
ve = d && d[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
205
|
` + ve + e;
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
|
-
var
|
|
208
|
+
var me = !1, oe;
|
|
209
209
|
{
|
|
210
|
-
var
|
|
211
|
-
|
|
210
|
+
var He = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
|
+
oe = new He();
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
if (!e ||
|
|
213
|
+
function Ie(e, r) {
|
|
214
|
+
if (!e || me)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
217
|
-
var
|
|
218
|
-
if (
|
|
219
|
-
return
|
|
217
|
+
var l = oe.get(e);
|
|
218
|
+
if (l !== void 0)
|
|
219
|
+
return l;
|
|
220
220
|
}
|
|
221
|
-
var
|
|
222
|
-
|
|
223
|
-
var
|
|
221
|
+
var d;
|
|
222
|
+
me = !0;
|
|
223
|
+
var w = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
|
-
var
|
|
226
|
-
|
|
225
|
+
var E;
|
|
226
|
+
E = z.current, z.current = null, $e();
|
|
227
227
|
try {
|
|
228
|
-
if (
|
|
229
|
-
var
|
|
228
|
+
if (r) {
|
|
229
|
+
var v = function() {
|
|
230
230
|
throw Error();
|
|
231
231
|
};
|
|
232
|
-
if (Object.defineProperty(
|
|
232
|
+
if (Object.defineProperty(v.prototype, "props", {
|
|
233
233
|
set: function() {
|
|
234
234
|
throw Error();
|
|
235
235
|
}
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
|
-
Reflect.construct(
|
|
239
|
-
} catch (
|
|
240
|
-
|
|
238
|
+
Reflect.construct(v, []);
|
|
239
|
+
} catch (H) {
|
|
240
|
+
d = H;
|
|
241
241
|
}
|
|
242
|
-
Reflect.construct(e, [],
|
|
242
|
+
Reflect.construct(e, [], v);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
|
-
|
|
246
|
-
} catch (
|
|
247
|
-
|
|
245
|
+
v.call();
|
|
246
|
+
} catch (H) {
|
|
247
|
+
d = H;
|
|
248
248
|
}
|
|
249
|
-
e.call(
|
|
249
|
+
e.call(v.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
|
|
254
|
+
} catch (H) {
|
|
255
|
+
d = H;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var
|
|
262
|
-
`),
|
|
263
|
-
`),
|
|
264
|
-
|
|
265
|
-
for (;
|
|
266
|
-
if (
|
|
267
|
-
if (
|
|
259
|
+
} catch (H) {
|
|
260
|
+
if (H && d && typeof H.stack == "string") {
|
|
261
|
+
for (var x = H.stack.split(`
|
|
262
|
+
`), A = d.stack.split(`
|
|
263
|
+
`), k = x.length - 1, D = A.length - 1; k >= 1 && D >= 0 && x[k] !== A[D]; )
|
|
264
|
+
D--;
|
|
265
|
+
for (; k >= 1 && D >= 0; k--, D--)
|
|
266
|
+
if (x[k] !== A[D]) {
|
|
267
|
+
if (k !== 1 || D !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (
|
|
270
|
-
var
|
|
271
|
-
` +
|
|
272
|
-
return e.displayName &&
|
|
269
|
+
if (k--, D--, D < 0 || x[k] !== A[D]) {
|
|
270
|
+
var B = `
|
|
271
|
+
` + x[k].replace(" at new ", " at ");
|
|
272
|
+
return e.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", e.displayName)), typeof e == "function" && oe.set(e, B), B;
|
|
273
273
|
}
|
|
274
|
-
while (
|
|
274
|
+
while (k >= 1 && D >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
|
|
279
|
+
me = !1, z.current = E, le(), Error.prepareStackTrace = w;
|
|
280
280
|
}
|
|
281
|
-
var
|
|
282
|
-
return typeof e == "function" &&
|
|
281
|
+
var ue = e ? e.displayName || e.name : "", te = ue ? ie(ue) : "";
|
|
282
|
+
return typeof e == "function" && oe.set(e, te), te;
|
|
283
283
|
}
|
|
284
|
-
function
|
|
285
|
-
return
|
|
284
|
+
function Fe(e, r, l) {
|
|
285
|
+
return Ie(e, !1);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
var
|
|
289
|
-
return !!(
|
|
287
|
+
function Me(e) {
|
|
288
|
+
var r = e.prototype;
|
|
289
|
+
return !!(r && r.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function ae(e, r, l) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return
|
|
295
|
+
return Ie(e, Me(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
|
-
return
|
|
297
|
+
return ie(e);
|
|
298
298
|
switch (e) {
|
|
299
299
|
case j:
|
|
300
|
-
return
|
|
301
|
-
case
|
|
302
|
-
return
|
|
300
|
+
return ie("Suspense");
|
|
301
|
+
case o:
|
|
302
|
+
return ie("SuspenseList");
|
|
303
303
|
}
|
|
304
304
|
if (typeof e == "object")
|
|
305
305
|
switch (e.$$typeof) {
|
|
306
|
-
case
|
|
307
|
-
return
|
|
308
|
-
case
|
|
309
|
-
return
|
|
310
|
-
case
|
|
311
|
-
var
|
|
306
|
+
case g:
|
|
307
|
+
return Fe(e.render);
|
|
308
|
+
case R:
|
|
309
|
+
return ae(e.type, r, l);
|
|
310
|
+
case m: {
|
|
311
|
+
var d = e, w = d._payload, E = d._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return ae(E(w), r, l);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var
|
|
320
|
+
var J = Object.prototype.hasOwnProperty, be = {}, je = M.ReactDebugCurrentFrame;
|
|
321
321
|
function a(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var
|
|
324
|
-
|
|
323
|
+
var r = e._owner, l = ae(e.type, e._source, r ? r.type : null);
|
|
324
|
+
je.setExtraStackFrame(l);
|
|
325
325
|
} else
|
|
326
|
-
|
|
326
|
+
je.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function I(e,
|
|
328
|
+
function I(e, r, l, d, w) {
|
|
329
329
|
{
|
|
330
|
-
var
|
|
331
|
-
for (var
|
|
332
|
-
if (
|
|
333
|
-
var
|
|
330
|
+
var E = Function.call.bind(J);
|
|
331
|
+
for (var v in e)
|
|
332
|
+
if (E(e, v)) {
|
|
333
|
+
var x = void 0;
|
|
334
334
|
try {
|
|
335
|
-
if (typeof e[
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
335
|
+
if (typeof e[v] != "function") {
|
|
336
|
+
var A = Error((d || "React class") + ": " + l + " type `" + v + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[v] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw A.name = "Invariant Violation", A;
|
|
338
338
|
}
|
|
339
|
-
|
|
340
|
-
} catch (
|
|
341
|
-
|
|
339
|
+
x = e[v](r, v, d, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
|
+
} catch (k) {
|
|
341
|
+
x = k;
|
|
342
342
|
}
|
|
343
|
-
|
|
343
|
+
x && !(x instanceof Error) && (a(w), T("%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).", d || "React class", l, v, typeof x), a(null)), x instanceof Error && !(x.message in be) && (be[x.message] = !0, a(w), T("Failed %s type: %s", l, x.message), a(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
|
-
var
|
|
348
|
-
function
|
|
349
|
-
return
|
|
347
|
+
var q = Array.isArray;
|
|
348
|
+
function O(e) {
|
|
349
|
+
return q(e);
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function Be(e) {
|
|
352
352
|
{
|
|
353
|
-
var
|
|
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
|
-
function
|
|
357
|
+
function ee(e) {
|
|
358
358
|
try {
|
|
359
|
-
return
|
|
359
|
+
return tt(e), !1;
|
|
360
360
|
} catch {
|
|
361
361
|
return !0;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function tt(e) {
|
|
365
365
|
return "" + e;
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
if (
|
|
369
|
-
return
|
|
367
|
+
function rt(e) {
|
|
368
|
+
if (ee(e))
|
|
369
|
+
return T("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Be(e)), tt(e);
|
|
370
370
|
}
|
|
371
|
-
var
|
|
371
|
+
var we = M.ReactCurrentOwner, St = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
375
375
|
__source: !0
|
|
376
|
-
},
|
|
377
|
-
|
|
378
|
-
function
|
|
379
|
-
if (
|
|
380
|
-
var
|
|
381
|
-
if (
|
|
376
|
+
}, nt, lt, We;
|
|
377
|
+
We = {};
|
|
378
|
+
function Tt(e) {
|
|
379
|
+
if (J.call(e, "ref")) {
|
|
380
|
+
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
|
+
if (r && r.isReactWarning)
|
|
382
382
|
return !1;
|
|
383
383
|
}
|
|
384
384
|
return e.ref !== void 0;
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
if (
|
|
388
|
-
var
|
|
389
|
-
if (
|
|
386
|
+
function kt(e) {
|
|
387
|
+
if (J.call(e, "key")) {
|
|
388
|
+
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
|
+
if (r && r.isReactWarning)
|
|
390
390
|
return !1;
|
|
391
391
|
}
|
|
392
392
|
return e.key !== void 0;
|
|
393
393
|
}
|
|
394
|
-
function
|
|
395
|
-
if (typeof e.ref == "string" &&
|
|
396
|
-
var
|
|
397
|
-
|
|
394
|
+
function Dt(e, r) {
|
|
395
|
+
if (typeof e.ref == "string" && we.current && r && we.current.stateNode !== r) {
|
|
396
|
+
var l = F(we.current.type);
|
|
397
|
+
We[l] || (T('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', F(we.current.type), e.ref), We[l] = !0);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
|
-
function
|
|
400
|
+
function It(e, r) {
|
|
401
401
|
{
|
|
402
|
-
var
|
|
403
|
-
|
|
402
|
+
var l = function() {
|
|
403
|
+
nt || (nt = !0, T("%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
|
-
function
|
|
411
|
+
function Lt(e, r) {
|
|
412
412
|
{
|
|
413
|
-
var
|
|
414
|
-
|
|
413
|
+
var l = function() {
|
|
414
|
+
lt || (lt = !0, T("%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
|
|
423
|
-
var
|
|
422
|
+
var Ot = function(e, r, l, d, w, E, v) {
|
|
423
|
+
var x = {
|
|
424
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
425
|
$$typeof: i,
|
|
426
426
|
// Built-in properties that belong on the element
|
|
427
427
|
type: e,
|
|
428
|
-
key:
|
|
429
|
-
ref:
|
|
430
|
-
props:
|
|
428
|
+
key: r,
|
|
429
|
+
ref: l,
|
|
430
|
+
props: v,
|
|
431
431
|
// Record the component responsible for creating this element.
|
|
432
|
-
_owner:
|
|
432
|
+
_owner: E
|
|
433
433
|
};
|
|
434
|
-
return
|
|
434
|
+
return x._store = {}, Object.defineProperty(x._store, "validated", {
|
|
435
435
|
configurable: !1,
|
|
436
436
|
enumerable: !1,
|
|
437
437
|
writable: !0,
|
|
438
438
|
value: !1
|
|
439
|
-
}), Object.defineProperty(
|
|
439
|
+
}), Object.defineProperty(x, "_self", {
|
|
440
440
|
configurable: !1,
|
|
441
441
|
enumerable: !1,
|
|
442
442
|
writable: !1,
|
|
443
|
-
value:
|
|
444
|
-
}), Object.defineProperty(
|
|
443
|
+
value: d
|
|
444
|
+
}), Object.defineProperty(x, "_source", {
|
|
445
445
|
configurable: !1,
|
|
446
446
|
enumerable: !1,
|
|
447
447
|
writable: !1,
|
|
448
|
-
value:
|
|
449
|
-
}), Object.freeze && (Object.freeze(
|
|
448
|
+
value: w
|
|
449
|
+
}), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
|
|
450
450
|
};
|
|
451
|
-
function
|
|
451
|
+
function At(e, r, l, d, w) {
|
|
452
452
|
{
|
|
453
|
-
var
|
|
454
|
-
|
|
455
|
-
for (
|
|
456
|
-
|
|
453
|
+
var E, v = {}, x = null, A = null;
|
|
454
|
+
l !== void 0 && (rt(l), x = "" + l), kt(r) && (rt(r.key), x = "" + r.key), Tt(r) && (A = r.ref, Dt(r, w));
|
|
455
|
+
for (E in r)
|
|
456
|
+
J.call(r, E) && !St.hasOwnProperty(E) && (v[E] = r[E]);
|
|
457
457
|
if (e && e.defaultProps) {
|
|
458
|
-
var
|
|
459
|
-
for (
|
|
460
|
-
|
|
458
|
+
var k = e.defaultProps;
|
|
459
|
+
for (E in k)
|
|
460
|
+
v[E] === void 0 && (v[E] = k[E]);
|
|
461
461
|
}
|
|
462
|
-
if (
|
|
463
|
-
var
|
|
464
|
-
|
|
462
|
+
if (x || A) {
|
|
463
|
+
var D = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
+
x && It(v, D), A && Lt(v, D);
|
|
465
465
|
}
|
|
466
|
-
return
|
|
466
|
+
return Ot(e, x, A, w, d, we.current, v);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
var
|
|
470
|
-
function
|
|
469
|
+
var Ne = M.ReactCurrentOwner, it = M.ReactDebugCurrentFrame;
|
|
470
|
+
function se(e) {
|
|
471
471
|
if (e) {
|
|
472
|
-
var
|
|
473
|
-
|
|
472
|
+
var r = e._owner, l = ae(e.type, e._source, r ? r.type : null);
|
|
473
|
+
it.setExtraStackFrame(l);
|
|
474
474
|
} else
|
|
475
|
-
|
|
475
|
+
it.setExtraStackFrame(null);
|
|
476
476
|
}
|
|
477
|
-
var
|
|
478
|
-
|
|
479
|
-
function
|
|
477
|
+
var Ve;
|
|
478
|
+
Ve = !1;
|
|
479
|
+
function ze(e) {
|
|
480
480
|
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function ot() {
|
|
483
483
|
{
|
|
484
|
-
if (
|
|
485
|
-
var e =
|
|
484
|
+
if (Ne.current) {
|
|
485
|
+
var e = F(Ne.current.type);
|
|
486
486
|
if (e)
|
|
487
487
|
return `
|
|
488
488
|
|
|
@@ -491,199 +491,199 @@ Check the render method of \`` + e + "`.";
|
|
|
491
491
|
return "";
|
|
492
492
|
}
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function Pt(e) {
|
|
495
495
|
return "";
|
|
496
496
|
}
|
|
497
497
|
var at = {};
|
|
498
|
-
function
|
|
498
|
+
function $t(e) {
|
|
499
499
|
{
|
|
500
|
-
var
|
|
501
|
-
if (!
|
|
502
|
-
var
|
|
503
|
-
|
|
500
|
+
var r = ot();
|
|
501
|
+
if (!r) {
|
|
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
|
-
return
|
|
507
|
+
return r;
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function st(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 (at[
|
|
515
|
+
var l = $t(r);
|
|
516
|
+
if (at[l])
|
|
517
517
|
return;
|
|
518
|
-
at[
|
|
519
|
-
var
|
|
520
|
-
e && e._owner && e._owner !==
|
|
518
|
+
at[l] = !0;
|
|
519
|
+
var d = "";
|
|
520
|
+
e && e._owner && e._owner !== Ne.current && (d = " It was passed a child from " + F(e._owner.type) + "."), se(e), T('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, d), se(null);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function ut(e, r) {
|
|
524
524
|
{
|
|
525
525
|
if (typeof e != "object")
|
|
526
526
|
return;
|
|
527
|
-
if (
|
|
528
|
-
for (var
|
|
529
|
-
var
|
|
530
|
-
|
|
527
|
+
if (O(e))
|
|
528
|
+
for (var l = 0; l < e.length; l++) {
|
|
529
|
+
var d = e[l];
|
|
530
|
+
ze(d) && st(d, r);
|
|
531
531
|
}
|
|
532
|
-
else if (
|
|
532
|
+
else if (ze(e))
|
|
533
533
|
e._store && (e._store.validated = !0);
|
|
534
534
|
else if (e) {
|
|
535
|
-
var
|
|
536
|
-
if (typeof
|
|
537
|
-
for (var
|
|
538
|
-
|
|
535
|
+
var w = Y(e);
|
|
536
|
+
if (typeof w == "function" && w !== e.entries)
|
|
537
|
+
for (var E = w.call(e), v; !(v = E.next()).done; )
|
|
538
|
+
ze(v.value) && st(v.value, r);
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
|
-
function
|
|
542
|
+
function Ht(e) {
|
|
543
543
|
{
|
|
544
|
-
var
|
|
545
|
-
if (
|
|
544
|
+
var r = e.type;
|
|
545
|
+
if (r == null || typeof r == "string")
|
|
546
546
|
return;
|
|
547
|
-
var
|
|
548
|
-
if (typeof
|
|
549
|
-
|
|
550
|
-
else if (typeof
|
|
547
|
+
var l;
|
|
548
|
+
if (typeof r == "function")
|
|
549
|
+
l = r.propTypes;
|
|
550
|
+
else if (typeof r == "object" && (r.$$typeof === g || // Note: Memo only checks outer props here.
|
|
551
551
|
// Inner props are checked in the reconciler.
|
|
552
|
-
|
|
553
|
-
|
|
552
|
+
r.$$typeof === R))
|
|
553
|
+
l = r.propTypes;
|
|
554
554
|
else
|
|
555
555
|
return;
|
|
556
|
-
if (
|
|
557
|
-
var
|
|
558
|
-
I(
|
|
559
|
-
} else if (
|
|
560
|
-
|
|
561
|
-
var
|
|
562
|
-
|
|
556
|
+
if (l) {
|
|
557
|
+
var d = F(r);
|
|
558
|
+
I(l, e.props, "prop", d, e);
|
|
559
|
+
} else if (r.PropTypes !== void 0 && !Ve) {
|
|
560
|
+
Ve = !0;
|
|
561
|
+
var w = F(r);
|
|
562
|
+
T("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", w || "Unknown");
|
|
563
563
|
}
|
|
564
|
-
typeof
|
|
564
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && T("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function Ft(e) {
|
|
568
568
|
{
|
|
569
|
-
for (var
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
572
|
-
|
|
569
|
+
for (var r = Object.keys(e.props), l = 0; l < r.length; l++) {
|
|
570
|
+
var d = r[l];
|
|
571
|
+
if (d !== "children" && d !== "key") {
|
|
572
|
+
se(e), T("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", d), se(null);
|
|
573
573
|
break;
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
e.ref !== null && (
|
|
576
|
+
e.ref !== null && (se(e), T("Invalid attribute `ref` supplied to `React.Fragment`."), se(null));
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
var
|
|
580
|
-
function
|
|
579
|
+
var ct = {};
|
|
580
|
+
function dt(e, r, l, d, w, E) {
|
|
581
581
|
{
|
|
582
|
-
var
|
|
583
|
-
if (!
|
|
584
|
-
var
|
|
585
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
586
|
-
var
|
|
587
|
-
|
|
588
|
-
var
|
|
589
|
-
e === null ?
|
|
582
|
+
var v = $(e);
|
|
583
|
+
if (!v) {
|
|
584
|
+
var x = "";
|
|
585
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (x += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
586
|
+
var A = Pt();
|
|
587
|
+
A ? x += A : x += ot();
|
|
588
|
+
var k;
|
|
589
|
+
e === null ? k = "null" : O(e) ? k = "array" : e !== void 0 && e.$$typeof === i ? (k = "<" + (F(e.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : k = typeof e, T("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", k, x);
|
|
590
590
|
}
|
|
591
|
-
var
|
|
592
|
-
if (
|
|
593
|
-
return
|
|
594
|
-
if (
|
|
595
|
-
var
|
|
596
|
-
if (
|
|
597
|
-
if (
|
|
598
|
-
if (
|
|
599
|
-
for (var
|
|
600
|
-
|
|
601
|
-
Object.freeze && Object.freeze(
|
|
591
|
+
var D = At(e, r, l, w, E);
|
|
592
|
+
if (D == null)
|
|
593
|
+
return D;
|
|
594
|
+
if (v) {
|
|
595
|
+
var B = r.children;
|
|
596
|
+
if (B !== void 0)
|
|
597
|
+
if (d)
|
|
598
|
+
if (O(B)) {
|
|
599
|
+
for (var ue = 0; ue < B.length; ue++)
|
|
600
|
+
ut(B[ue], e);
|
|
601
|
+
Object.freeze && Object.freeze(B);
|
|
602
602
|
} else
|
|
603
|
-
|
|
603
|
+
T("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
|
+
ut(B, e);
|
|
606
606
|
}
|
|
607
|
-
if (
|
|
608
|
-
var
|
|
609
|
-
return
|
|
610
|
-
}),
|
|
611
|
-
if (!
|
|
612
|
-
var
|
|
613
|
-
|
|
607
|
+
if (J.call(r, "key")) {
|
|
608
|
+
var te = F(e), H = Object.keys(r).filter(function(zt) {
|
|
609
|
+
return zt !== "key";
|
|
610
|
+
}), Ye = H.length > 0 ? "{key: someKey, " + H.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
611
|
+
if (!ct[te + Ye]) {
|
|
612
|
+
var Vt = H.length > 0 ? "{" + H.join(": ..., ") + ": ...}" : "{}";
|
|
613
|
+
T(`A props object containing a "key" prop is being spread into JSX:
|
|
614
614
|
let props = %s;
|
|
615
615
|
<%s {...props} />
|
|
616
616
|
React keys must be passed directly to JSX without using spread:
|
|
617
617
|
let props = %s;
|
|
618
|
-
<%s key={someKey} {...props} />`,
|
|
618
|
+
<%s key={someKey} {...props} />`, Ye, te, Vt, te), ct[te + Ye] = !0;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
return e ===
|
|
621
|
+
return e === c ? Ft(D) : Ht(D), D;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
return
|
|
624
|
+
function Mt(e, r, l) {
|
|
625
|
+
return dt(e, r, l, !0);
|
|
626
626
|
}
|
|
627
|
-
function
|
|
628
|
-
return
|
|
627
|
+
function Bt(e, r, l) {
|
|
628
|
+
return dt(e, r, l, !1);
|
|
629
629
|
}
|
|
630
|
-
var
|
|
631
|
-
|
|
632
|
-
}()),
|
|
630
|
+
var Wt = Bt, Nt = Mt;
|
|
631
|
+
ye.Fragment = c, ye.jsx = Wt, ye.jsxs = Nt;
|
|
632
|
+
}()), ye;
|
|
633
633
|
}
|
|
634
|
-
process.env.NODE_ENV === "production" ?
|
|
635
|
-
var t =
|
|
636
|
-
const
|
|
634
|
+
process.env.NODE_ENV === "production" ? Xe.exports = Ir() : Xe.exports = Lr();
|
|
635
|
+
var t = Xe.exports;
|
|
636
|
+
const Ue = 60, vt = 6, Or = (n) => {
|
|
637
637
|
const {
|
|
638
638
|
activeStepIndex: i,
|
|
639
|
-
hideIndicators:
|
|
640
|
-
steps:
|
|
641
|
-
stepperTheme:
|
|
639
|
+
hideIndicators: u = !1,
|
|
640
|
+
steps: c,
|
|
641
|
+
stepperTheme: f = {
|
|
642
642
|
light: "eggplant.light",
|
|
643
643
|
base: "eggplant.base"
|
|
644
644
|
}
|
|
645
|
-
} =
|
|
645
|
+
} = n, { activeStep: s, setActiveStep: h } = Yt({
|
|
646
646
|
index: i,
|
|
647
|
-
count:
|
|
647
|
+
count: c.length
|
|
648
648
|
});
|
|
649
649
|
return Z(() => {
|
|
650
|
-
|
|
651
|
-
}, [i,
|
|
652
|
-
|
|
650
|
+
h(i);
|
|
651
|
+
}, [i, h]), /* @__PURE__ */ t.jsx(
|
|
652
|
+
b,
|
|
653
653
|
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
|
|
654
|
-
|
|
654
|
+
Gt,
|
|
655
655
|
{
|
|
656
656
|
role: "progressbar",
|
|
657
|
-
index:
|
|
657
|
+
index: s,
|
|
658
658
|
width: "100%",
|
|
659
659
|
display: "flex",
|
|
660
660
|
flexWrap: "nowrap",
|
|
661
|
-
children:
|
|
662
|
-
const j =
|
|
663
|
-
let
|
|
664
|
-
const
|
|
665
|
-
return j ?
|
|
666
|
-
|
|
661
|
+
children: c.map((y, g) => {
|
|
662
|
+
const j = s === g, o = g === 0, R = g === c.length - 1, m = s > g;
|
|
663
|
+
let p = `${Ue}px`;
|
|
664
|
+
const S = `calc(100% - ((${Ue * (c.length - 1)}px) - (${c.length - 1} * ${vt * 2}px)))`;
|
|
665
|
+
return j ? p = S : (o || R) && (p = `${Ue - vt}px`), /* @__PURE__ */ t.jsx(
|
|
666
|
+
b,
|
|
667
667
|
{
|
|
668
|
-
width:
|
|
669
|
-
opacity:
|
|
670
|
-
paddingRight:
|
|
671
|
-
paddingLeft:
|
|
668
|
+
width: p,
|
|
669
|
+
opacity: m || j ? 1 : 0.2,
|
|
670
|
+
paddingRight: R ? "0" : "6px",
|
|
671
|
+
paddingLeft: o ? "0" : "6px",
|
|
672
672
|
transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
|
|
673
673
|
children: /* @__PURE__ */ t.jsx(
|
|
674
|
-
|
|
674
|
+
b,
|
|
675
675
|
{
|
|
676
|
-
paddingTop:
|
|
676
|
+
paddingTop: u ? 2 : 5,
|
|
677
677
|
position: "relative",
|
|
678
678
|
width: "100%",
|
|
679
679
|
children: /* @__PURE__ */ t.jsx(
|
|
680
|
-
|
|
680
|
+
b,
|
|
681
681
|
{
|
|
682
682
|
width: "100%",
|
|
683
683
|
position: "absolute",
|
|
684
684
|
top: "0",
|
|
685
|
-
backgroundColor:
|
|
686
|
-
height:
|
|
685
|
+
backgroundColor: m ? f.light : f.base,
|
|
686
|
+
height: u ? "4px" : "8px",
|
|
687
687
|
borderRadius: "4",
|
|
688
688
|
left: "0"
|
|
689
689
|
}
|
|
@@ -691,40 +691,40 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
691
691
|
}
|
|
692
692
|
)
|
|
693
693
|
},
|
|
694
|
-
`step-${
|
|
694
|
+
`step-${g}`
|
|
695
695
|
);
|
|
696
696
|
})
|
|
697
697
|
}
|
|
698
698
|
) }
|
|
699
699
|
);
|
|
700
|
-
},
|
|
701
|
-
children:
|
|
700
|
+
}, Qr = Ae.memo(Or), en = ({
|
|
701
|
+
children: n,
|
|
702
702
|
...i
|
|
703
703
|
}) => /* @__PURE__ */ t.jsx(
|
|
704
|
-
|
|
705
|
-
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...i, children:
|
|
706
|
-
),
|
|
707
|
-
const
|
|
708
|
-
return i && !
|
|
709
|
-
to:
|
|
704
|
+
fr,
|
|
705
|
+
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...i, children: n }
|
|
706
|
+
), de = (n, i) => {
|
|
707
|
+
const u = (n == null ? void 0 : n.startsWith("http")) || (n == null ? void 0 : n.startsWith("mailto"));
|
|
708
|
+
return i && !u ? {
|
|
709
|
+
to: n
|
|
710
710
|
} : {
|
|
711
|
-
href:
|
|
711
|
+
href: n
|
|
712
712
|
};
|
|
713
|
-
},
|
|
714
|
-
(
|
|
713
|
+
}, Ze = yt(
|
|
714
|
+
(n, i) => {
|
|
715
715
|
const {
|
|
716
|
-
label:
|
|
717
|
-
additionalContent:
|
|
718
|
-
mainTextFontSize:
|
|
719
|
-
linkComponent:
|
|
720
|
-
href:
|
|
721
|
-
...
|
|
722
|
-
} =
|
|
716
|
+
label: u,
|
|
717
|
+
additionalContent: c,
|
|
718
|
+
mainTextFontSize: f,
|
|
719
|
+
linkComponent: s,
|
|
720
|
+
href: h,
|
|
721
|
+
...y
|
|
722
|
+
} = n, g = s || W, j = de(h, !!s);
|
|
723
723
|
return /* @__PURE__ */ t.jsxs(
|
|
724
|
-
|
|
724
|
+
b,
|
|
725
725
|
{
|
|
726
726
|
ref: i,
|
|
727
|
-
as:
|
|
727
|
+
as: g,
|
|
728
728
|
display: "flex",
|
|
729
729
|
alignItems: "center",
|
|
730
730
|
gap: [null, null, null, 1],
|
|
@@ -737,13 +737,13 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
737
737
|
width: ["100%", null, null, "fit-content"],
|
|
738
738
|
cursor: "pointer",
|
|
739
739
|
...j,
|
|
740
|
-
...
|
|
740
|
+
...y,
|
|
741
741
|
children: [
|
|
742
742
|
/* @__PURE__ */ t.jsx(
|
|
743
|
-
|
|
743
|
+
K,
|
|
744
744
|
{
|
|
745
745
|
display: ["none", null, null, "block"],
|
|
746
|
-
as:
|
|
746
|
+
as: ht,
|
|
747
747
|
fontSize: "lg",
|
|
748
748
|
color: "viridian.light",
|
|
749
749
|
role: "img",
|
|
@@ -752,18 +752,18 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
752
752
|
}
|
|
753
753
|
),
|
|
754
754
|
/* @__PURE__ */ t.jsxs(
|
|
755
|
-
|
|
755
|
+
C,
|
|
756
756
|
{ alignItems: "center", gap: "1", width: ["100%", null, null, "auto"], children: [
|
|
757
757
|
/* @__PURE__ */ t.jsx(
|
|
758
|
-
|
|
758
|
+
L,
|
|
759
759
|
{
|
|
760
|
-
fontSize: [
|
|
760
|
+
fontSize: [f || "xl", null, null, "lg"],
|
|
761
761
|
fontWeight: "medium",
|
|
762
|
-
children:
|
|
762
|
+
children: u
|
|
763
763
|
}
|
|
764
764
|
),
|
|
765
|
-
|
|
766
|
-
|
|
765
|
+
c && (typeof c == "string" ? /* @__PURE__ */ t.jsx(
|
|
766
|
+
L,
|
|
767
767
|
{
|
|
768
768
|
fontSize: ["xl", null, null, "lg"],
|
|
769
769
|
fontWeight: "medium",
|
|
@@ -773,14 +773,14 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
773
773
|
color: "viridian.base"
|
|
774
774
|
}
|
|
775
775
|
},
|
|
776
|
-
children:
|
|
776
|
+
children: c
|
|
777
777
|
}
|
|
778
|
-
) :
|
|
778
|
+
) : c),
|
|
779
779
|
/* @__PURE__ */ t.jsx(
|
|
780
|
-
|
|
780
|
+
K,
|
|
781
781
|
{
|
|
782
782
|
display: ["block", null, null, "none"],
|
|
783
|
-
as:
|
|
783
|
+
as: ht,
|
|
784
784
|
fontSize: "2xl",
|
|
785
785
|
color: "tints.uiGrey",
|
|
786
786
|
role: "img",
|
|
@@ -794,15 +794,15 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
794
794
|
}
|
|
795
795
|
);
|
|
796
796
|
}
|
|
797
|
-
),
|
|
798
|
-
(
|
|
799
|
-
const { children:
|
|
797
|
+
), Oe = yt(
|
|
798
|
+
(n, i) => {
|
|
799
|
+
const { children: u, isSelected: c, ...f } = n, s = n.backgroundColor || (c ? "tints.lightCream" : "transparent");
|
|
800
800
|
return /* @__PURE__ */ t.jsx(
|
|
801
|
-
|
|
801
|
+
Ct,
|
|
802
802
|
{
|
|
803
803
|
ref: i,
|
|
804
804
|
borderRadius: "full",
|
|
805
|
-
backgroundColor:
|
|
805
|
+
backgroundColor: s,
|
|
806
806
|
fontSize: "lg !important",
|
|
807
807
|
fontWeight: "normal",
|
|
808
808
|
color: "tints.black",
|
|
@@ -820,42 +820,42 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
820
820
|
left: [null, null, null, -2]
|
|
821
821
|
},
|
|
822
822
|
_hover: {
|
|
823
|
-
backgroundColor:
|
|
823
|
+
backgroundColor: s,
|
|
824
824
|
textDecoration: "none",
|
|
825
825
|
filter: "brightness(0.95)"
|
|
826
826
|
},
|
|
827
|
-
...
|
|
828
|
-
children:
|
|
827
|
+
...f,
|
|
828
|
+
children: u
|
|
829
829
|
}
|
|
830
830
|
);
|
|
831
831
|
}
|
|
832
|
-
),
|
|
833
|
-
title:
|
|
832
|
+
), Ar = ({
|
|
833
|
+
title: n,
|
|
834
834
|
description: i,
|
|
835
|
-
imageSrc:
|
|
836
|
-
imageElement:
|
|
837
|
-
button:
|
|
838
|
-
backgroundColor:
|
|
839
|
-
onClick:
|
|
840
|
-
href:
|
|
841
|
-
linkComponent:
|
|
835
|
+
imageSrc: u,
|
|
836
|
+
imageElement: c,
|
|
837
|
+
button: f,
|
|
838
|
+
backgroundColor: s = "viridian.wash",
|
|
839
|
+
onClick: h,
|
|
840
|
+
href: y,
|
|
841
|
+
linkComponent: g
|
|
842
842
|
}) => {
|
|
843
|
-
const
|
|
843
|
+
const m = g || W, p = de(y, !!g), S = Pe({
|
|
844
844
|
base: !1,
|
|
845
845
|
tablet: !1,
|
|
846
846
|
largeTablet: !1,
|
|
847
847
|
desktop: !0
|
|
848
848
|
});
|
|
849
849
|
return /* @__PURE__ */ t.jsxs(
|
|
850
|
-
|
|
850
|
+
C,
|
|
851
851
|
{
|
|
852
852
|
direction: ["row", null, null, "column"],
|
|
853
853
|
alignItems: ["center"],
|
|
854
854
|
borderRadius: "xl",
|
|
855
855
|
overflow: "hidden",
|
|
856
856
|
height: ["80px", null, null, "272px"],
|
|
857
|
-
backgroundColor:
|
|
858
|
-
onClick:
|
|
857
|
+
backgroundColor: s,
|
|
858
|
+
onClick: h,
|
|
859
859
|
"data-testid": "spotlight-card",
|
|
860
860
|
position: "relative",
|
|
861
861
|
transition: "box-shadow 0.2s ease-in-out",
|
|
@@ -869,40 +869,40 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
869
869
|
border: "1px solid",
|
|
870
870
|
borderColor: "tints.white"
|
|
871
871
|
},
|
|
872
|
-
as:
|
|
873
|
-
...
|
|
872
|
+
as: S ? C : m,
|
|
873
|
+
...S ? {} : p,
|
|
874
874
|
children: [
|
|
875
875
|
/* @__PURE__ */ t.jsx(
|
|
876
|
-
|
|
876
|
+
b,
|
|
877
877
|
{
|
|
878
878
|
width: ["72px", null, null, "100%"],
|
|
879
879
|
height: ["100%", null, null, "188px"],
|
|
880
880
|
sx: {
|
|
881
881
|
img: {
|
|
882
|
-
height:
|
|
882
|
+
height: S ? "188px" : "100%"
|
|
883
883
|
}
|
|
884
884
|
},
|
|
885
|
-
children:
|
|
886
|
-
|
|
885
|
+
children: u ? /* @__PURE__ */ t.jsx(
|
|
886
|
+
Ut,
|
|
887
887
|
{
|
|
888
|
-
src:
|
|
888
|
+
src: u,
|
|
889
889
|
objectFit: "cover",
|
|
890
890
|
width: "100%",
|
|
891
891
|
alt: "",
|
|
892
892
|
"data-testid": "spotlight-card-image"
|
|
893
893
|
}
|
|
894
894
|
) : /* @__PURE__ */ t.jsx(
|
|
895
|
-
|
|
895
|
+
b,
|
|
896
896
|
{
|
|
897
897
|
height: [80, null, null, 188],
|
|
898
898
|
overflow: "hidden",
|
|
899
|
-
children:
|
|
899
|
+
children: c
|
|
900
900
|
}
|
|
901
901
|
)
|
|
902
902
|
}
|
|
903
903
|
),
|
|
904
904
|
/* @__PURE__ */ t.jsxs(
|
|
905
|
-
|
|
905
|
+
C,
|
|
906
906
|
{
|
|
907
907
|
direction: ["column", null, null, "row"],
|
|
908
908
|
justifyContent: [null, null, null, "space-between"],
|
|
@@ -916,33 +916,33 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
916
916
|
],
|
|
917
917
|
width: "100%",
|
|
918
918
|
bottom: [null, null, null, "0"],
|
|
919
|
-
backgroundColor: [null, null, null, `${
|
|
919
|
+
backgroundColor: [null, null, null, `${s}CC`],
|
|
920
920
|
backdropFilter: [null, null, null, "blur(8px)"],
|
|
921
921
|
flex: "1",
|
|
922
922
|
gap: [null, null, null, 3],
|
|
923
923
|
children: [
|
|
924
924
|
/* @__PURE__ */ t.jsxs(
|
|
925
|
-
|
|
925
|
+
C,
|
|
926
926
|
{ direction: "column", justifyContent: "center", height: "100%", children: [
|
|
927
927
|
/* @__PURE__ */ t.jsx(
|
|
928
|
-
|
|
929
|
-
{ fontSize: "lg", fontWeight: "medium", color: "tints.black", children:
|
|
928
|
+
L,
|
|
929
|
+
{ fontSize: "lg", fontWeight: "medium", color: "tints.black", children: n }
|
|
930
930
|
),
|
|
931
931
|
/* @__PURE__ */ t.jsx(
|
|
932
|
-
|
|
932
|
+
L,
|
|
933
933
|
{ fontSize: "sm", color: "tints.darkGrey", children: i }
|
|
934
934
|
)
|
|
935
935
|
] }
|
|
936
936
|
),
|
|
937
|
-
|
|
937
|
+
S ? /* @__PURE__ */ t.jsx(b, { children: f }) : null
|
|
938
938
|
]
|
|
939
939
|
}
|
|
940
940
|
)
|
|
941
941
|
]
|
|
942
942
|
}
|
|
943
943
|
);
|
|
944
|
-
}, ce = (
|
|
945
|
-
|
|
944
|
+
}, ce = (n) => /* @__PURE__ */ t.jsx(
|
|
945
|
+
Zt,
|
|
946
946
|
{
|
|
947
947
|
size: "sm",
|
|
948
948
|
width: ["40px", null, null, "46px"],
|
|
@@ -960,13 +960,13 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
960
960
|
backgroundColor: "tints.cream",
|
|
961
961
|
filter: "brightness(0.95)"
|
|
962
962
|
},
|
|
963
|
-
...
|
|
963
|
+
...n
|
|
964
964
|
}
|
|
965
|
-
),
|
|
966
|
-
color:
|
|
965
|
+
), _t = ({
|
|
966
|
+
color: n = Ee.colors.viridian.base,
|
|
967
967
|
width: i
|
|
968
968
|
}) => /* @__PURE__ */ t.jsx(
|
|
969
|
-
|
|
969
|
+
hr,
|
|
970
970
|
{
|
|
971
971
|
as: "svg",
|
|
972
972
|
width: i,
|
|
@@ -981,7 +981,7 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
981
981
|
{ id: "Everlywell Logo", children: /* @__PURE__ */ t.jsx(
|
|
982
982
|
"path",
|
|
983
983
|
{
|
|
984
|
-
fill:
|
|
984
|
+
fill: n,
|
|
985
985
|
id: "Everlywell Logo_2",
|
|
986
986
|
fillRule: "evenodd",
|
|
987
987
|
clipRule: "evenodd",
|
|
@@ -990,251 +990,81 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
990
990
|
) }
|
|
991
991
|
)
|
|
992
992
|
}
|
|
993
|
-
),
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
onSearchClick: y,
|
|
999
|
-
onMenuClick: v,
|
|
1000
|
-
hasSearch: b = !1,
|
|
1001
|
-
logoLink: R = "https://www.everlywell.com",
|
|
1002
|
-
setTopOffset: c,
|
|
1003
|
-
linkComponent: j,
|
|
1004
|
-
onLogoClick: s
|
|
1005
|
-
}) => {
|
|
1006
|
-
const C = Jt(null), g = mt(() => {
|
|
1007
|
-
if (C.current) {
|
|
1008
|
-
const u = C.current.getBoundingClientRect();
|
|
1009
|
-
c(u.bottom);
|
|
1010
|
-
}
|
|
1011
|
-
}, []);
|
|
1012
|
-
return Z(() => {
|
|
1013
|
-
g();
|
|
1014
|
-
}, [g]), /* @__PURE__ */ t.jsx(
|
|
1015
|
-
E,
|
|
1016
|
-
{
|
|
1017
|
-
ref: C,
|
|
1018
|
-
paddingY: "4",
|
|
1019
|
-
paddingX: [4, null, null, 12],
|
|
1020
|
-
borderBottom: "1px solid",
|
|
1021
|
-
borderColor: "tints.lightCream",
|
|
1022
|
-
backgroundColor: "tints.white",
|
|
1023
|
-
position: "sticky",
|
|
1024
|
-
top: "0",
|
|
1025
|
-
width: "100%",
|
|
1026
|
-
zIndex: ["sticky", null, null, "modal"],
|
|
1027
|
-
onMouseEnter: g,
|
|
1028
|
-
children: /* @__PURE__ */ t.jsxs(
|
|
1029
|
-
k,
|
|
1030
|
-
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
1031
|
-
/* @__PURE__ */ t.jsxs(
|
|
1032
|
-
k,
|
|
1033
|
-
{ alignItems: "center", gap: "5", children: [
|
|
1034
|
-
/* @__PURE__ */ t.jsx(
|
|
1035
|
-
E,
|
|
1036
|
-
{
|
|
1037
|
-
"aria-label": "Go to homepage",
|
|
1038
|
-
onClick: s,
|
|
1039
|
-
as: j || Y,
|
|
1040
|
-
...Pe(R, !!j),
|
|
1041
|
-
children: /* @__PURE__ */ t.jsx(gn, { width: "116px" })
|
|
1042
|
-
}
|
|
1043
|
-
),
|
|
1044
|
-
/* @__PURE__ */ t.jsx(
|
|
1045
|
-
k,
|
|
1046
|
-
{ display: ["none", null, null, "flex"], children: l }
|
|
1047
|
-
)
|
|
1048
|
-
] }
|
|
1049
|
-
),
|
|
1050
|
-
/* @__PURE__ */ t.jsxs(
|
|
1051
|
-
k,
|
|
1052
|
-
{ alignItems: "center", gap: "2", children: [
|
|
1053
|
-
/* @__PURE__ */ t.jsx(
|
|
1054
|
-
E,
|
|
1055
|
-
{ display: ["none", null, null, "block"], children: i }
|
|
1056
|
-
),
|
|
1057
|
-
b ? /* @__PURE__ */ t.jsx(
|
|
1058
|
-
ce,
|
|
1059
|
-
{
|
|
1060
|
-
"aria-label": "Search",
|
|
1061
|
-
icon: /* @__PURE__ */ t.jsx(ue, { as: yt }),
|
|
1062
|
-
onClick: y
|
|
1063
|
-
}
|
|
1064
|
-
) : null,
|
|
1065
|
-
d,
|
|
1066
|
-
/* @__PURE__ */ t.jsx(
|
|
1067
|
-
E,
|
|
1068
|
-
{ display: ["flex", null, null, "none"], children: /* @__PURE__ */ t.jsx(
|
|
1069
|
-
ce,
|
|
1070
|
-
{
|
|
1071
|
-
icon: /* @__PURE__ */ t.jsx(ln, {}),
|
|
1072
|
-
"aria-label": "menu",
|
|
1073
|
-
"data-testid": "menu-button",
|
|
1074
|
-
onClick: v
|
|
1075
|
-
}
|
|
1076
|
-
) }
|
|
1077
|
-
),
|
|
1078
|
-
/* @__PURE__ */ t.jsx(E, { display: ["none", null, null, "block"], children: p })
|
|
1079
|
-
] }
|
|
1080
|
-
)
|
|
1081
|
-
] }
|
|
1082
|
-
)
|
|
1083
|
-
}
|
|
1084
|
-
);
|
|
1085
|
-
}, xn = ({
|
|
1086
|
-
count: l = 0,
|
|
1087
|
-
...i
|
|
1088
|
-
}) => /* @__PURE__ */ t.jsxs(
|
|
1089
|
-
E,
|
|
1090
|
-
{ position: "relative", display: "inline-block", children: [
|
|
1091
|
-
/* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(an, {}), ...i }),
|
|
1092
|
-
l > 0 && /* @__PURE__ */ t.jsx(
|
|
1093
|
-
E,
|
|
1094
|
-
{
|
|
1095
|
-
display: "flex",
|
|
1096
|
-
minWidth: "20px",
|
|
1097
|
-
height: "20px",
|
|
1098
|
-
py: "4px",
|
|
1099
|
-
px: "6px",
|
|
1100
|
-
justifyContent: "center",
|
|
1101
|
-
alignItems: "center",
|
|
1102
|
-
position: "absolute",
|
|
1103
|
-
right: "-4px",
|
|
1104
|
-
top: "-4px",
|
|
1105
|
-
borderRadius: "32px",
|
|
1106
|
-
background: "viridian.base",
|
|
1107
|
-
color: "white",
|
|
1108
|
-
fontSize: "xs",
|
|
1109
|
-
fontWeight: "normal",
|
|
1110
|
-
children: l
|
|
1111
|
-
}
|
|
1112
|
-
)
|
|
1113
|
-
] }
|
|
1114
|
-
), In = ({
|
|
1115
|
-
numDesktopLinks: l = 5,
|
|
1116
|
-
showPromoButton: i = !1
|
|
1117
|
-
}) => /* @__PURE__ */ t.jsx(
|
|
1118
|
-
Nt,
|
|
1119
|
-
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
|
|
1120
|
-
E,
|
|
1121
|
-
{
|
|
1122
|
-
paddingY: 4,
|
|
1123
|
-
paddingX: 6,
|
|
1124
|
-
borderBottomWidth: "1px",
|
|
1125
|
-
borderColor: "tints.lightCream",
|
|
1126
|
-
children: /* @__PURE__ */ t.jsxs(
|
|
1127
|
-
k,
|
|
1128
|
-
{ justify: "space-between", align: "center", children: [
|
|
1129
|
-
/* @__PURE__ */ t.jsx(Ne, { w: "120px", h: "48px" }),
|
|
1130
|
-
/* @__PURE__ */ t.jsxs(
|
|
1131
|
-
ct,
|
|
1132
|
-
{
|
|
1133
|
-
spacing: 8,
|
|
1134
|
-
marginLeft: 12,
|
|
1135
|
-
display: ["none", null, null, "flex"],
|
|
1136
|
-
"data-testid": "desktop-nav",
|
|
1137
|
-
children: [
|
|
1138
|
-
Array.from({ length: l }).map(
|
|
1139
|
-
(p, d) => /* @__PURE__ */ t.jsx(Ne, { width: "90px", height: "48px" }, d)
|
|
1140
|
-
),
|
|
1141
|
-
i && /* @__PURE__ */ t.jsx(Ne, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1142
|
-
]
|
|
1143
|
-
}
|
|
1144
|
-
),
|
|
1145
|
-
/* @__PURE__ */ t.jsxs(
|
|
1146
|
-
ct,
|
|
1147
|
-
{ spacing: 4, ml: "auto", children: [
|
|
1148
|
-
/* @__PURE__ */ t.jsx(
|
|
1149
|
-
De,
|
|
1150
|
-
{
|
|
1151
|
-
width: "120px",
|
|
1152
|
-
height: "48px",
|
|
1153
|
-
display: ["none", null, null, "block"],
|
|
1154
|
-
"data-testid": "register-kit"
|
|
1155
|
-
}
|
|
1156
|
-
),
|
|
1157
|
-
" ",
|
|
1158
|
-
/* @__PURE__ */ t.jsx(De, { width: "48px", height: "48px" }),
|
|
1159
|
-
" ",
|
|
1160
|
-
/* @__PURE__ */ t.jsx(De, { width: "48px", height: "48px" }),
|
|
1161
|
-
" ",
|
|
1162
|
-
/* @__PURE__ */ t.jsx(De, { width: "48px", height: "48px" }),
|
|
1163
|
-
" "
|
|
1164
|
-
] }
|
|
1165
|
-
)
|
|
1166
|
-
] }
|
|
1167
|
-
)
|
|
1168
|
-
}
|
|
1169
|
-
) }
|
|
1170
|
-
), bn = (l, i) => {
|
|
1171
|
-
let p;
|
|
1172
|
-
return (...d) => {
|
|
1173
|
-
p && clearTimeout(p), p = setTimeout(() => {
|
|
1174
|
-
l(...d);
|
|
993
|
+
), Pr = (n, i) => {
|
|
994
|
+
let u;
|
|
995
|
+
return (...c) => {
|
|
996
|
+
u && clearTimeout(u), u = setTimeout(() => {
|
|
997
|
+
n(...c);
|
|
1175
998
|
}, i);
|
|
1176
999
|
};
|
|
1177
|
-
},
|
|
1000
|
+
}, Je = "nav-drawer-hover", qe = "nav-drawer-animation-start", Qe = "nav-drawer-animation-end", mt = (n) => {
|
|
1001
|
+
window.dispatchEvent(
|
|
1002
|
+
new CustomEvent(Je, {
|
|
1003
|
+
detail: { isHovering: n },
|
|
1004
|
+
bubbles: !0,
|
|
1005
|
+
cancelable: !0
|
|
1006
|
+
})
|
|
1007
|
+
);
|
|
1008
|
+
}, bt = (n) => {
|
|
1178
1009
|
window.dispatchEvent(
|
|
1179
|
-
new CustomEvent(
|
|
1180
|
-
detail: { isHovering: l },
|
|
1010
|
+
new CustomEvent(n, {
|
|
1181
1011
|
bubbles: !0,
|
|
1182
1012
|
cancelable: !0
|
|
1183
1013
|
})
|
|
1184
1014
|
);
|
|
1185
|
-
},
|
|
1186
|
-
isOpen:
|
|
1015
|
+
}, $r = (n = !1, i = !1, u = !1) => n || !i ? "column" : u ? "row" : "row-reverse", Hr = et(Kt), Fr = et(Xt), Ke = ({
|
|
1016
|
+
isOpen: n = !1,
|
|
1187
1017
|
onClose: i,
|
|
1188
|
-
title:
|
|
1189
|
-
navDrawerLinks:
|
|
1190
|
-
bottomNavButtons:
|
|
1191
|
-
spotlightCards:
|
|
1192
|
-
bottomButton:
|
|
1193
|
-
hasBackButton:
|
|
1194
|
-
onBackClick:
|
|
1018
|
+
title: u,
|
|
1019
|
+
navDrawerLinks: c,
|
|
1020
|
+
bottomNavButtons: f,
|
|
1021
|
+
spotlightCards: s,
|
|
1022
|
+
bottomButton: h,
|
|
1023
|
+
hasBackButton: y = !0,
|
|
1024
|
+
onBackClick: g,
|
|
1195
1025
|
hasOnlySpotlightCards: j = !1,
|
|
1196
|
-
hasSearch:
|
|
1197
|
-
onSearch:
|
|
1198
|
-
topOffset:
|
|
1026
|
+
hasSearch: o = !1,
|
|
1027
|
+
onSearch: R = () => ({}),
|
|
1028
|
+
topOffset: m
|
|
1199
1029
|
}) => {
|
|
1200
|
-
var
|
|
1201
|
-
const
|
|
1030
|
+
var Q, X;
|
|
1031
|
+
const p = Pe({
|
|
1202
1032
|
base: !1,
|
|
1203
1033
|
tablet: !1,
|
|
1204
1034
|
largeTablet: !1,
|
|
1205
1035
|
desktop: !0
|
|
1206
|
-
}),
|
|
1207
|
-
|
|
1208
|
-
},
|
|
1209
|
-
|
|
1210
|
-
|
|
1036
|
+
}), S = p ? "top" : "right", [N, Y] = V(0), [M, T] = V(!1), fe = () => {
|
|
1037
|
+
Y((P) => P + 1);
|
|
1038
|
+
}, he = Et(
|
|
1039
|
+
Pr((P) => {
|
|
1040
|
+
R(P), fe();
|
|
1211
1041
|
}, 100),
|
|
1212
1042
|
[]
|
|
1213
1043
|
);
|
|
1214
1044
|
Z(() => {
|
|
1215
|
-
|
|
1216
|
-
}, [
|
|
1045
|
+
n && (T(!0), bt(qe));
|
|
1046
|
+
}, [n]);
|
|
1217
1047
|
const pe = () => {
|
|
1218
|
-
|
|
1048
|
+
n || (T(!1), i()), bt(Qe);
|
|
1219
1049
|
};
|
|
1220
1050
|
return /* @__PURE__ */ t.jsx(
|
|
1221
|
-
|
|
1051
|
+
Jt,
|
|
1222
1052
|
{
|
|
1223
|
-
isOpen:
|
|
1053
|
+
isOpen: M || n,
|
|
1224
1054
|
onClose: () => {
|
|
1225
|
-
|
|
1055
|
+
M && p || i();
|
|
1226
1056
|
},
|
|
1227
|
-
placement:
|
|
1057
|
+
placement: S,
|
|
1228
1058
|
blockScrollOnMount: !1,
|
|
1229
1059
|
autoFocus: !1,
|
|
1230
|
-
...
|
|
1060
|
+
...p ? {
|
|
1231
1061
|
styleConfig: {
|
|
1232
1062
|
baseStyle: {
|
|
1233
|
-
...
|
|
1063
|
+
...Ee.components.Drawer.baseStyle,
|
|
1234
1064
|
dialogContainer: {
|
|
1235
|
-
...(
|
|
1065
|
+
...(X = (Q = Ee.components.Drawer) == null ? void 0 : Q.baseStyle) == null ? void 0 : X.dialogContainer,
|
|
1236
1066
|
// Push the drawer down by the top offset on desktop to not cover the top navigation
|
|
1237
|
-
top:
|
|
1067
|
+
top: p ? `${m}px` : void 0,
|
|
1238
1068
|
// Lower index on desktop to make sure the drawer is below the top navigation
|
|
1239
1069
|
zIndex: ["overlay"]
|
|
1240
1070
|
}
|
|
@@ -1242,40 +1072,40 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
1242
1072
|
}
|
|
1243
1073
|
} : {},
|
|
1244
1074
|
children: /* @__PURE__ */ t.jsx(
|
|
1245
|
-
|
|
1246
|
-
{ children:
|
|
1075
|
+
Dr,
|
|
1076
|
+
{ children: n ? /* @__PURE__ */ t.jsxs(
|
|
1247
1077
|
t.Fragment,
|
|
1248
1078
|
{ children: [
|
|
1249
1079
|
/* @__PURE__ */ t.jsx(
|
|
1250
|
-
|
|
1080
|
+
Fr,
|
|
1251
1081
|
{
|
|
1252
1082
|
backgroundColor: "tints.black",
|
|
1253
|
-
top: ["0", null, null, `${
|
|
1254
|
-
opacity:
|
|
1255
|
-
...
|
|
1083
|
+
top: ["0", null, null, `${m}px`],
|
|
1084
|
+
opacity: p ? void 0 : "0.4 !important",
|
|
1085
|
+
...p ? {
|
|
1256
1086
|
initial: { opacity: 0 },
|
|
1257
1087
|
animate: { opacity: 0.4 },
|
|
1258
1088
|
exit: { opacity: 0 },
|
|
1259
1089
|
transition: {
|
|
1260
1090
|
duration: 0.2,
|
|
1261
|
-
delay: 0.
|
|
1091
|
+
delay: 0.15,
|
|
1262
1092
|
ease: "easeOut"
|
|
1263
1093
|
}
|
|
1264
1094
|
} : {}
|
|
1265
1095
|
}
|
|
1266
1096
|
),
|
|
1267
1097
|
/* @__PURE__ */ t.jsxs(
|
|
1268
|
-
|
|
1098
|
+
Hr,
|
|
1269
1099
|
{
|
|
1270
|
-
onClick: (
|
|
1271
|
-
const
|
|
1272
|
-
|
|
1100
|
+
onClick: (P) => {
|
|
1101
|
+
const $ = P.target.closest("a");
|
|
1102
|
+
$ && $.href === window.location.href && i();
|
|
1273
1103
|
},
|
|
1274
1104
|
onMouseEnter: () => {
|
|
1275
|
-
|
|
1105
|
+
p && mt(!0);
|
|
1276
1106
|
},
|
|
1277
1107
|
onMouseLeave: () => {
|
|
1278
|
-
|
|
1108
|
+
p && mt(!1);
|
|
1279
1109
|
},
|
|
1280
1110
|
paddingTop: "4",
|
|
1281
1111
|
paddingX: [4, null, null, 12],
|
|
@@ -1283,52 +1113,52 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
1283
1113
|
overflow: ["auto", null, null, "hidden"],
|
|
1284
1114
|
maxHeight: "100vh",
|
|
1285
1115
|
position: "relative",
|
|
1286
|
-
top:
|
|
1116
|
+
top: p ? `${m}px !important` : void 0,
|
|
1287
1117
|
onAnimationComplete: pe,
|
|
1288
1118
|
boxShadow: "none",
|
|
1289
|
-
...
|
|
1119
|
+
...p ? {
|
|
1290
1120
|
initial: { height: 0, opacity: 0 },
|
|
1291
1121
|
animate: { height: "auto", opacity: 1 },
|
|
1292
1122
|
exit: { height: 0, opacity: 0 },
|
|
1293
1123
|
transition: { duration: 0.3 }
|
|
1294
1124
|
} : {},
|
|
1295
1125
|
children: [
|
|
1296
|
-
!
|
|
1297
|
-
|
|
1126
|
+
!o && p ? null : /* @__PURE__ */ t.jsxs(
|
|
1127
|
+
qt,
|
|
1298
1128
|
{
|
|
1299
1129
|
padding: "0",
|
|
1300
|
-
flexDirection:
|
|
1301
|
-
gap:
|
|
1130
|
+
flexDirection: o ? "column" : "row",
|
|
1131
|
+
gap: o ? "4" : "0",
|
|
1302
1132
|
children: [
|
|
1303
|
-
|
|
1304
|
-
|
|
1133
|
+
p ? null : /* @__PURE__ */ t.jsxs(
|
|
1134
|
+
C,
|
|
1305
1135
|
{
|
|
1306
1136
|
width: "100%",
|
|
1307
1137
|
justifyContent: "space-between",
|
|
1308
1138
|
alignItems: "center",
|
|
1309
1139
|
children: [
|
|
1310
|
-
|
|
1140
|
+
y ? /* @__PURE__ */ t.jsx(
|
|
1311
1141
|
ce,
|
|
1312
1142
|
{
|
|
1313
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1143
|
+
icon: /* @__PURE__ */ t.jsx(mr, {}),
|
|
1314
1144
|
onClick: () => {
|
|
1315
|
-
|
|
1145
|
+
g && g();
|
|
1316
1146
|
},
|
|
1317
1147
|
"aria-label": "Back"
|
|
1318
1148
|
}
|
|
1319
1149
|
) : null,
|
|
1320
1150
|
/* @__PURE__ */ t.jsx(
|
|
1321
|
-
|
|
1151
|
+
L,
|
|
1322
1152
|
{
|
|
1323
1153
|
color: "tints.uiGrey",
|
|
1324
1154
|
fontSize: ["xl", null, null, "lg"],
|
|
1325
|
-
children:
|
|
1155
|
+
children: u
|
|
1326
1156
|
}
|
|
1327
1157
|
),
|
|
1328
1158
|
/* @__PURE__ */ t.jsx(
|
|
1329
1159
|
ce,
|
|
1330
1160
|
{
|
|
1331
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1161
|
+
icon: /* @__PURE__ */ t.jsx(br, {}),
|
|
1332
1162
|
onClick: i,
|
|
1333
1163
|
"aria-label": "Close"
|
|
1334
1164
|
}
|
|
@@ -1336,14 +1166,14 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
1336
1166
|
]
|
|
1337
1167
|
}
|
|
1338
1168
|
),
|
|
1339
|
-
|
|
1340
|
-
|
|
1169
|
+
o && /* @__PURE__ */ t.jsxs(
|
|
1170
|
+
pr,
|
|
1341
1171
|
{ width: "100%", children: [
|
|
1342
1172
|
/* @__PURE__ */ t.jsx(
|
|
1343
|
-
|
|
1173
|
+
gr,
|
|
1344
1174
|
{
|
|
1345
|
-
onChange: (
|
|
1346
|
-
|
|
1175
|
+
onChange: (P) => {
|
|
1176
|
+
he(P.target.value);
|
|
1347
1177
|
},
|
|
1348
1178
|
placeholder: "Search",
|
|
1349
1179
|
autoFocus: !0,
|
|
@@ -1352,8 +1182,8 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
1352
1182
|
}
|
|
1353
1183
|
),
|
|
1354
1184
|
/* @__PURE__ */ t.jsx(
|
|
1355
|
-
|
|
1356
|
-
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(
|
|
1185
|
+
xr,
|
|
1186
|
+
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(vr, { as: Rt, color: "gray.500" }) }
|
|
1357
1187
|
)
|
|
1358
1188
|
] }
|
|
1359
1189
|
)
|
|
@@ -1361,15 +1191,15 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
1361
1191
|
}
|
|
1362
1192
|
),
|
|
1363
1193
|
/* @__PURE__ */ t.jsx(
|
|
1364
|
-
|
|
1194
|
+
Qt,
|
|
1365
1195
|
{
|
|
1366
1196
|
paddingX: "0",
|
|
1367
1197
|
paddingBottom: [6, null, null, 4],
|
|
1368
|
-
"data-testid": `navbar-drawer-body-${
|
|
1198
|
+
"data-testid": `navbar-drawer-body-${u.toLowerCase()}`,
|
|
1369
1199
|
children: /* @__PURE__ */ t.jsxs(
|
|
1370
|
-
|
|
1200
|
+
et.div,
|
|
1371
1201
|
{
|
|
1372
|
-
...
|
|
1202
|
+
...p ? {
|
|
1373
1203
|
initial: { opacity: 0, y: -5 },
|
|
1374
1204
|
animate: { opacity: 1, y: 0 },
|
|
1375
1205
|
exit: { opacity: 0, y: -5 },
|
|
@@ -1386,17 +1216,17 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
1386
1216
|
} : {},
|
|
1387
1217
|
style: {
|
|
1388
1218
|
display: "flex",
|
|
1389
|
-
flexDirection:
|
|
1219
|
+
flexDirection: $r(
|
|
1390
1220
|
j,
|
|
1391
|
-
|
|
1392
|
-
|
|
1221
|
+
p,
|
|
1222
|
+
o
|
|
1393
1223
|
),
|
|
1394
1224
|
gap: "24px",
|
|
1395
1225
|
justifyContent: "space-between"
|
|
1396
1226
|
},
|
|
1397
1227
|
children: [
|
|
1398
|
-
|
|
1399
|
-
|
|
1228
|
+
s ? /* @__PURE__ */ t.jsx(
|
|
1229
|
+
b,
|
|
1400
1230
|
{
|
|
1401
1231
|
gap: [3, null, null, 6],
|
|
1402
1232
|
display: "flex",
|
|
@@ -1405,26 +1235,26 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
1405
1235
|
flexWrap: "wrap",
|
|
1406
1236
|
flexDirection: ["column", null, null, "row"]
|
|
1407
1237
|
},
|
|
1408
|
-
children:
|
|
1238
|
+
children: s
|
|
1409
1239
|
}
|
|
1410
1240
|
) : null,
|
|
1411
1241
|
/* @__PURE__ */ t.jsxs(
|
|
1412
|
-
|
|
1242
|
+
C,
|
|
1413
1243
|
{
|
|
1414
1244
|
position: [null, null, null, "relative"],
|
|
1415
1245
|
flexDirection: "column",
|
|
1416
1246
|
gap: "6",
|
|
1417
|
-
width: ["100%", null, null,
|
|
1247
|
+
width: ["100%", null, null, o ? null : "auto"],
|
|
1418
1248
|
children: [
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
|
|
1422
|
-
|
|
1249
|
+
c ? /* @__PURE__ */ t.jsx(b, { children: c }) : null,
|
|
1250
|
+
f && !p ? /* @__PURE__ */ t.jsx(b, { children: f }) : null,
|
|
1251
|
+
h ? /* @__PURE__ */ t.jsx(
|
|
1252
|
+
b,
|
|
1423
1253
|
{
|
|
1424
1254
|
width: ["100%"],
|
|
1425
1255
|
position: [null, null, null, "absolute"],
|
|
1426
1256
|
bottom: [null, null, null, 0],
|
|
1427
|
-
children:
|
|
1257
|
+
children: h
|
|
1428
1258
|
}
|
|
1429
1259
|
) : null
|
|
1430
1260
|
]
|
|
@@ -1432,7 +1262,7 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
1432
1262
|
)
|
|
1433
1263
|
]
|
|
1434
1264
|
},
|
|
1435
|
-
|
|
1265
|
+
N
|
|
1436
1266
|
)
|
|
1437
1267
|
}
|
|
1438
1268
|
)
|
|
@@ -1444,122 +1274,309 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
1444
1274
|
)
|
|
1445
1275
|
}
|
|
1446
1276
|
);
|
|
1447
|
-
},
|
|
1448
|
-
|
|
1277
|
+
}, Mr = ({
|
|
1278
|
+
desktopTopButtons: n,
|
|
1279
|
+
kitRegistrationElement: i,
|
|
1280
|
+
profileElement: u,
|
|
1281
|
+
cartElement: c,
|
|
1282
|
+
onSearchClick: f,
|
|
1283
|
+
onMenuClick: s,
|
|
1284
|
+
hasSearch: h = !1,
|
|
1285
|
+
logoLink: y = "https://www.everlywell.com",
|
|
1286
|
+
setTopOffset: g,
|
|
1287
|
+
linkComponent: j,
|
|
1288
|
+
onLogoClick: o
|
|
1289
|
+
}) => {
|
|
1290
|
+
const R = dr(null), [m, p] = V(!1);
|
|
1291
|
+
Z(() => {
|
|
1292
|
+
const N = () => p(!0), Y = () => p(!1);
|
|
1293
|
+
return window.addEventListener(qe, N), window.addEventListener(Qe, Y), () => {
|
|
1294
|
+
window.removeEventListener(
|
|
1295
|
+
qe,
|
|
1296
|
+
N
|
|
1297
|
+
), window.removeEventListener(Qe, Y);
|
|
1298
|
+
};
|
|
1299
|
+
}, []);
|
|
1300
|
+
const S = Et(() => {
|
|
1301
|
+
if (R.current) {
|
|
1302
|
+
const N = R.current.getBoundingClientRect();
|
|
1303
|
+
g(N.bottom);
|
|
1304
|
+
}
|
|
1305
|
+
}, []);
|
|
1306
|
+
return Z(() => {
|
|
1307
|
+
S();
|
|
1308
|
+
}, [S]), /* @__PURE__ */ t.jsx(
|
|
1309
|
+
b,
|
|
1310
|
+
{
|
|
1311
|
+
ref: R,
|
|
1312
|
+
paddingY: "4",
|
|
1313
|
+
paddingX: [4, null, null, 12],
|
|
1314
|
+
borderBottom: "1px solid",
|
|
1315
|
+
borderColor: "tints.lightCream",
|
|
1316
|
+
backgroundColor: "tints.white",
|
|
1317
|
+
position: "sticky",
|
|
1318
|
+
top: "0",
|
|
1319
|
+
width: "100%",
|
|
1320
|
+
zIndex: ["sticky", null, null, m ? "modal" : "sticky"],
|
|
1321
|
+
onMouseEnter: S,
|
|
1322
|
+
children: /* @__PURE__ */ t.jsxs(
|
|
1323
|
+
C,
|
|
1324
|
+
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
1325
|
+
/* @__PURE__ */ t.jsxs(
|
|
1326
|
+
C,
|
|
1327
|
+
{ alignItems: "center", gap: "5", children: [
|
|
1328
|
+
/* @__PURE__ */ t.jsx(
|
|
1329
|
+
b,
|
|
1330
|
+
{
|
|
1331
|
+
"aria-label": "Go to homepage",
|
|
1332
|
+
onClick: o,
|
|
1333
|
+
as: j || W,
|
|
1334
|
+
...de(y, !!j),
|
|
1335
|
+
children: /* @__PURE__ */ t.jsx(_t, { width: "116px" })
|
|
1336
|
+
}
|
|
1337
|
+
),
|
|
1338
|
+
/* @__PURE__ */ t.jsx(
|
|
1339
|
+
C,
|
|
1340
|
+
{ display: ["none", null, null, "flex"], children: n }
|
|
1341
|
+
)
|
|
1342
|
+
] }
|
|
1343
|
+
),
|
|
1344
|
+
/* @__PURE__ */ t.jsxs(
|
|
1345
|
+
C,
|
|
1346
|
+
{ alignItems: "center", gap: "2", children: [
|
|
1347
|
+
/* @__PURE__ */ t.jsx(
|
|
1348
|
+
b,
|
|
1349
|
+
{ display: ["none", null, null, "block"], children: i }
|
|
1350
|
+
),
|
|
1351
|
+
h ? /* @__PURE__ */ t.jsx(
|
|
1352
|
+
ce,
|
|
1353
|
+
{
|
|
1354
|
+
"aria-label": "Search",
|
|
1355
|
+
icon: /* @__PURE__ */ t.jsx(K, { as: Rt }),
|
|
1356
|
+
onClick: f
|
|
1357
|
+
}
|
|
1358
|
+
) : null,
|
|
1359
|
+
c,
|
|
1360
|
+
/* @__PURE__ */ t.jsx(
|
|
1361
|
+
b,
|
|
1362
|
+
{ display: ["flex", null, null, "none"], children: /* @__PURE__ */ t.jsx(
|
|
1363
|
+
ce,
|
|
1364
|
+
{
|
|
1365
|
+
icon: /* @__PURE__ */ t.jsx(jr, {}),
|
|
1366
|
+
"aria-label": "menu",
|
|
1367
|
+
"data-testid": "menu-button",
|
|
1368
|
+
onClick: s
|
|
1369
|
+
}
|
|
1370
|
+
) }
|
|
1371
|
+
),
|
|
1372
|
+
/* @__PURE__ */ t.jsx(b, { display: ["none", null, null, "block"], children: u })
|
|
1373
|
+
] }
|
|
1374
|
+
)
|
|
1375
|
+
] }
|
|
1376
|
+
)
|
|
1377
|
+
}
|
|
1378
|
+
);
|
|
1379
|
+
}, Br = ({
|
|
1380
|
+
count: n = 0,
|
|
1381
|
+
...i
|
|
1382
|
+
}) => /* @__PURE__ */ t.jsxs(
|
|
1383
|
+
b,
|
|
1384
|
+
{ position: "relative", display: "inline-block", children: [
|
|
1385
|
+
/* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(wr, {}), ...i }),
|
|
1386
|
+
n > 0 && /* @__PURE__ */ t.jsx(
|
|
1387
|
+
b,
|
|
1388
|
+
{
|
|
1389
|
+
display: "flex",
|
|
1390
|
+
minWidth: "20px",
|
|
1391
|
+
height: "20px",
|
|
1392
|
+
py: "4px",
|
|
1393
|
+
px: "6px",
|
|
1394
|
+
justifyContent: "center",
|
|
1395
|
+
alignItems: "center",
|
|
1396
|
+
position: "absolute",
|
|
1397
|
+
right: "-4px",
|
|
1398
|
+
top: "-4px",
|
|
1399
|
+
borderRadius: "32px",
|
|
1400
|
+
background: "viridian.base",
|
|
1401
|
+
color: "white",
|
|
1402
|
+
fontSize: "xs",
|
|
1403
|
+
fontWeight: "normal",
|
|
1404
|
+
children: n
|
|
1405
|
+
}
|
|
1406
|
+
)
|
|
1407
|
+
] }
|
|
1408
|
+
), tn = ({
|
|
1409
|
+
numDesktopLinks: n = 5,
|
|
1410
|
+
showPromoButton: i = !1
|
|
1411
|
+
}) => /* @__PURE__ */ t.jsx(
|
|
1412
|
+
er,
|
|
1413
|
+
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
|
|
1414
|
+
b,
|
|
1415
|
+
{
|
|
1416
|
+
paddingY: 4,
|
|
1417
|
+
paddingX: 6,
|
|
1418
|
+
borderBottomWidth: "1px",
|
|
1419
|
+
borderColor: "tints.lightCream",
|
|
1420
|
+
children: /* @__PURE__ */ t.jsxs(
|
|
1421
|
+
C,
|
|
1422
|
+
{ justify: "space-between", align: "center", children: [
|
|
1423
|
+
/* @__PURE__ */ t.jsx(Ge, { w: "120px", h: "48px" }),
|
|
1424
|
+
/* @__PURE__ */ t.jsxs(
|
|
1425
|
+
ft,
|
|
1426
|
+
{
|
|
1427
|
+
spacing: 8,
|
|
1428
|
+
marginLeft: 12,
|
|
1429
|
+
display: ["none", null, null, "flex"],
|
|
1430
|
+
"data-testid": "desktop-nav",
|
|
1431
|
+
children: [
|
|
1432
|
+
Array.from({ length: n }).map(
|
|
1433
|
+
(u, c) => /* @__PURE__ */ t.jsx(Ge, { width: "90px", height: "48px" }, c)
|
|
1434
|
+
),
|
|
1435
|
+
i && /* @__PURE__ */ t.jsx(Ge, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1436
|
+
]
|
|
1437
|
+
}
|
|
1438
|
+
),
|
|
1439
|
+
/* @__PURE__ */ t.jsxs(
|
|
1440
|
+
ft,
|
|
1441
|
+
{ spacing: 4, ml: "auto", children: [
|
|
1442
|
+
/* @__PURE__ */ t.jsx(
|
|
1443
|
+
Le,
|
|
1444
|
+
{
|
|
1445
|
+
width: "120px",
|
|
1446
|
+
height: "48px",
|
|
1447
|
+
display: ["none", null, null, "block"],
|
|
1448
|
+
"data-testid": "register-kit"
|
|
1449
|
+
}
|
|
1450
|
+
),
|
|
1451
|
+
" ",
|
|
1452
|
+
/* @__PURE__ */ t.jsx(Le, { width: "48px", height: "48px" }),
|
|
1453
|
+
" ",
|
|
1454
|
+
/* @__PURE__ */ t.jsx(Le, { width: "48px", height: "48px" }),
|
|
1455
|
+
" ",
|
|
1456
|
+
/* @__PURE__ */ t.jsx(Le, { width: "48px", height: "48px" }),
|
|
1457
|
+
" "
|
|
1458
|
+
] }
|
|
1459
|
+
)
|
|
1460
|
+
] }
|
|
1461
|
+
)
|
|
1462
|
+
}
|
|
1463
|
+
) }
|
|
1464
|
+
), Wr = ({
|
|
1465
|
+
source: n,
|
|
1449
1466
|
onSearchCallback: i,
|
|
1450
|
-
isActive:
|
|
1467
|
+
isActive: u
|
|
1451
1468
|
}) => {
|
|
1452
|
-
const [
|
|
1453
|
-
if (!
|
|
1454
|
-
const
|
|
1455
|
-
return
|
|
1456
|
-
const
|
|
1457
|
-
return
|
|
1458
|
-
}).sort((
|
|
1459
|
-
},
|
|
1460
|
-
if (
|
|
1461
|
-
|
|
1469
|
+
const [c, f] = V(""), [s, h] = V([]), y = (o, R) => {
|
|
1470
|
+
if (!o) return [];
|
|
1471
|
+
const m = o.toLowerCase();
|
|
1472
|
+
return R.filter((p) => {
|
|
1473
|
+
const S = p.label.toLowerCase().includes(m), N = typeof p.additionalContent == "string" && p.additionalContent.toLowerCase().includes(m);
|
|
1474
|
+
return S || N;
|
|
1475
|
+
}).sort((p, S) => p.label.localeCompare(S.label));
|
|
1476
|
+
}, g = (o) => {
|
|
1477
|
+
if (f(o), !o) {
|
|
1478
|
+
h([]);
|
|
1462
1479
|
return;
|
|
1463
1480
|
}
|
|
1464
|
-
const
|
|
1465
|
-
|
|
1481
|
+
const R = y(o, n);
|
|
1482
|
+
h(R), i && i(o, R);
|
|
1466
1483
|
}, j = () => {
|
|
1467
|
-
|
|
1484
|
+
f(""), h([]);
|
|
1468
1485
|
};
|
|
1469
1486
|
return Z(() => {
|
|
1470
|
-
|
|
1471
|
-
}, [
|
|
1472
|
-
query:
|
|
1473
|
-
results:
|
|
1487
|
+
u || (f(""), h([]));
|
|
1488
|
+
}, [u]), {
|
|
1489
|
+
query: c,
|
|
1490
|
+
results: s,
|
|
1474
1491
|
handleClose: j,
|
|
1475
|
-
handleSearch:
|
|
1492
|
+
handleSearch: g
|
|
1476
1493
|
};
|
|
1477
|
-
},
|
|
1494
|
+
}, Nr = (n) => {
|
|
1478
1495
|
const i = /* @__PURE__ */ new Set();
|
|
1479
|
-
return
|
|
1480
|
-
var
|
|
1481
|
-
const
|
|
1482
|
-
const
|
|
1483
|
-
return [...
|
|
1496
|
+
return n.reduce((u, c) => {
|
|
1497
|
+
var s;
|
|
1498
|
+
const f = ((s = c.sections) == null ? void 0 : s.reduce((h, y) => {
|
|
1499
|
+
const g = y.links.filter((j) => i.has(j.label) || j.isSearchable !== !0 ? !1 : (i.add(j.label), !0));
|
|
1500
|
+
return [...h, ...g];
|
|
1484
1501
|
}, [])) ?? [];
|
|
1485
|
-
return [...
|
|
1502
|
+
return [...u, ...f];
|
|
1486
1503
|
}, []);
|
|
1487
|
-
},
|
|
1488
|
-
categories:
|
|
1504
|
+
}, rn = ({
|
|
1505
|
+
categories: n = [],
|
|
1489
1506
|
onCartClick: i,
|
|
1490
|
-
mainCategoryLabel:
|
|
1491
|
-
logoLink:
|
|
1492
|
-
hasSearch:
|
|
1493
|
-
onSearchClick:
|
|
1494
|
-
registrationUrl:
|
|
1495
|
-
profileUrl:
|
|
1496
|
-
mobileBottomButtons:
|
|
1507
|
+
mainCategoryLabel: u = "Menu",
|
|
1508
|
+
logoLink: c = "https://www.everlywell.com",
|
|
1509
|
+
hasSearch: f = !0,
|
|
1510
|
+
onSearchClick: s,
|
|
1511
|
+
registrationUrl: h,
|
|
1512
|
+
profileUrl: y = "https://secure.everlywell.com/login",
|
|
1513
|
+
mobileBottomButtons: g = [],
|
|
1497
1514
|
numberOfCartItems: j = 0,
|
|
1498
|
-
linkComponent:
|
|
1499
|
-
onSearchCallback:
|
|
1500
|
-
onLinkClick:
|
|
1501
|
-
onCategoryOpen:
|
|
1502
|
-
onMobileMenuOpen:
|
|
1503
|
-
onBackToMainMenu:
|
|
1504
|
-
onRegisterKitClick:
|
|
1505
|
-
onProfileClick:
|
|
1506
|
-
onLogoClick:
|
|
1507
|
-
shopAllProductsUrl:
|
|
1508
|
-
onShopAllProductsClick:
|
|
1515
|
+
linkComponent: o,
|
|
1516
|
+
onSearchCallback: R,
|
|
1517
|
+
onLinkClick: m,
|
|
1518
|
+
onCategoryOpen: p,
|
|
1519
|
+
onMobileMenuOpen: S,
|
|
1520
|
+
onBackToMainMenu: N,
|
|
1521
|
+
onRegisterKitClick: Y,
|
|
1522
|
+
onProfileClick: M,
|
|
1523
|
+
onLogoClick: T,
|
|
1524
|
+
shopAllProductsUrl: fe,
|
|
1525
|
+
onShopAllProductsClick: he
|
|
1509
1526
|
}) => {
|
|
1510
|
-
var
|
|
1511
|
-
const [pe,
|
|
1527
|
+
var J, be, je;
|
|
1528
|
+
const [pe, Q] = V(!1), [X, P] = V(!1), [_, $] = V(null), [Re, ge] = V(!1), [F, G] = V(!1), [U, _e] = V(0), Se = Pe({
|
|
1512
1529
|
base: !1,
|
|
1513
1530
|
tablet: !1,
|
|
1514
1531
|
largeTablet: !1,
|
|
1515
1532
|
desktop: !0
|
|
1516
1533
|
}) ?? !1;
|
|
1517
1534
|
Z(() => {
|
|
1518
|
-
|
|
1519
|
-
}, [
|
|
1535
|
+
le(), $(null);
|
|
1536
|
+
}, [Se]);
|
|
1520
1537
|
const {
|
|
1521
|
-
query:
|
|
1522
|
-
results:
|
|
1523
|
-
handleSearch:
|
|
1524
|
-
} =
|
|
1525
|
-
source:
|
|
1526
|
-
onSearchCallback:
|
|
1527
|
-
isActive:
|
|
1528
|
-
}),
|
|
1529
|
-
|
|
1530
|
-
{ gap:
|
|
1531
|
-
|
|
1532
|
-
|
|
1538
|
+
query: Te,
|
|
1539
|
+
results: re,
|
|
1540
|
+
handleSearch: ke
|
|
1541
|
+
} = Wr({
|
|
1542
|
+
source: Nr(n),
|
|
1543
|
+
onSearchCallback: R,
|
|
1544
|
+
isActive: X
|
|
1545
|
+
}), xe = re.length > 0, ne = o || W, De = de(fe, !!o), $e = Te && /* @__PURE__ */ t.jsxs(
|
|
1546
|
+
C,
|
|
1547
|
+
{ gap: xe ? "6" : 0, direction: "column", children: [
|
|
1548
|
+
xe ? /* @__PURE__ */ t.jsx(L, { color: "tints.uiGrey", children: `${re.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
1549
|
+
C,
|
|
1533
1550
|
{ direction: "column", gap: "6", alignItems: "flex-start", children: [
|
|
1534
1551
|
/* @__PURE__ */ t.jsx(
|
|
1535
|
-
|
|
1552
|
+
L,
|
|
1536
1553
|
{ color: "tints.uiGrey", children: "We didn't find what you were looking for." }
|
|
1537
1554
|
),
|
|
1538
1555
|
/* @__PURE__ */ t.jsx(
|
|
1539
|
-
|
|
1556
|
+
Ct,
|
|
1540
1557
|
{
|
|
1541
1558
|
as: ne,
|
|
1542
|
-
onClick:
|
|
1559
|
+
onClick: he,
|
|
1543
1560
|
_hover: { textDecoration: "none" },
|
|
1544
1561
|
width: ["100%", null, null, "auto"],
|
|
1545
|
-
...
|
|
1562
|
+
...De,
|
|
1546
1563
|
children: "Shop all products"
|
|
1547
1564
|
}
|
|
1548
1565
|
)
|
|
1549
1566
|
] }
|
|
1550
1567
|
),
|
|
1551
1568
|
/* @__PURE__ */ t.jsx(
|
|
1552
|
-
|
|
1553
|
-
{ columns: [1, 1, 1, 4], children:
|
|
1569
|
+
tr,
|
|
1570
|
+
{ columns: [1, 1, 1, 4], children: re.map(
|
|
1554
1571
|
(a, I) => /* @__PURE__ */ t.jsx(
|
|
1555
|
-
|
|
1572
|
+
rr,
|
|
1556
1573
|
{ children: /* @__PURE__ */ t.jsx(
|
|
1557
|
-
|
|
1574
|
+
Ze,
|
|
1558
1575
|
{
|
|
1559
1576
|
href: a.href,
|
|
1560
1577
|
label: a.label,
|
|
1561
1578
|
additionalContent: a == null ? void 0 : a.additionalContent,
|
|
1562
|
-
linkComponent:
|
|
1579
|
+
linkComponent: o
|
|
1563
1580
|
}
|
|
1564
1581
|
) },
|
|
1565
1582
|
`${a.label}-${I}`
|
|
@@ -1567,137 +1584,137 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
1567
1584
|
) }
|
|
1568
1585
|
)
|
|
1569
1586
|
] }
|
|
1570
|
-
),
|
|
1571
|
-
|
|
1572
|
-
},
|
|
1573
|
-
|
|
1574
|
-
},
|
|
1575
|
-
|
|
1576
|
-
},
|
|
1577
|
-
|
|
1587
|
+
), le = () => {
|
|
1588
|
+
Q(!1), $(null);
|
|
1589
|
+
}, z = (a) => "href" in a, ve = (a) => {
|
|
1590
|
+
z(a) ? m == null || m(a.label) : $(a);
|
|
1591
|
+
}, ie = (a) => {
|
|
1592
|
+
ge(!0), P(!1), $(null), !z(a) && (a.sections || a.spotlightCards) && $(a);
|
|
1593
|
+
}, me = () => {
|
|
1594
|
+
ge(!1);
|
|
1578
1595
|
};
|
|
1579
1596
|
Z(() => {
|
|
1580
1597
|
const a = (I) => {
|
|
1581
|
-
|
|
1598
|
+
G(I.detail.isHovering);
|
|
1582
1599
|
};
|
|
1583
1600
|
return window.addEventListener(
|
|
1584
|
-
|
|
1601
|
+
Je,
|
|
1585
1602
|
a
|
|
1586
1603
|
), () => {
|
|
1587
1604
|
window.removeEventListener(
|
|
1588
|
-
|
|
1605
|
+
Je,
|
|
1589
1606
|
a
|
|
1590
1607
|
);
|
|
1591
1608
|
};
|
|
1592
1609
|
}, []), Z(() => {
|
|
1593
|
-
!
|
|
1594
|
-
}, [
|
|
1610
|
+
!Re && !F && ($(null), P(!1));
|
|
1611
|
+
}, [Re, F]), Z(() => {
|
|
1595
1612
|
let a = window.location.href;
|
|
1596
1613
|
const I = () => {
|
|
1597
|
-
const
|
|
1598
|
-
|
|
1599
|
-
},
|
|
1614
|
+
const O = window.location.href;
|
|
1615
|
+
O !== a && (a = O, le(), $(null));
|
|
1616
|
+
}, q = setInterval(I, 100);
|
|
1600
1617
|
return window.addEventListener("popstate", I), () => {
|
|
1601
|
-
window.removeEventListener("popstate", I), clearInterval(
|
|
1618
|
+
window.removeEventListener("popstate", I), clearInterval(q);
|
|
1602
1619
|
};
|
|
1603
1620
|
}, []);
|
|
1604
|
-
const
|
|
1621
|
+
const oe = n == null ? void 0 : n.map(
|
|
1605
1622
|
(a, I) => /* @__PURE__ */ t.jsx(
|
|
1606
|
-
|
|
1623
|
+
Oe,
|
|
1607
1624
|
{
|
|
1608
1625
|
onMouseEnter: () => {
|
|
1609
|
-
|
|
1626
|
+
ie(a), p == null || p(a.label);
|
|
1610
1627
|
},
|
|
1611
|
-
onMouseLeave:
|
|
1612
|
-
isSelected: (
|
|
1613
|
-
as:
|
|
1614
|
-
href:
|
|
1615
|
-
onClick:
|
|
1628
|
+
onMouseLeave: me,
|
|
1629
|
+
isSelected: (_ == null ? void 0 : _.label) === a.label,
|
|
1630
|
+
as: z(a) && ne ? ne : W,
|
|
1631
|
+
href: z(a) ? a.href : void 0,
|
|
1632
|
+
onClick: z(a) ? () => m == null ? void 0 : m(a.label) : void 0,
|
|
1616
1633
|
...a.buttonProps,
|
|
1617
1634
|
children: a.label
|
|
1618
1635
|
},
|
|
1619
1636
|
`${a.label}-${I}`
|
|
1620
1637
|
)
|
|
1621
|
-
),
|
|
1622
|
-
(a) => !
|
|
1623
|
-
)) == null ? void 0 :
|
|
1638
|
+
), He = (J = n.filter(
|
|
1639
|
+
(a) => !z(a) && a.isMobileTopLink !== !1
|
|
1640
|
+
)) == null ? void 0 : J.map((a) => {
|
|
1624
1641
|
const I = a;
|
|
1625
1642
|
return /* @__PURE__ */ t.jsx(
|
|
1626
|
-
|
|
1643
|
+
b,
|
|
1627
1644
|
{
|
|
1628
1645
|
onClick: () => {
|
|
1629
|
-
ve(I),
|
|
1646
|
+
ve(I), p == null || p(I.label);
|
|
1630
1647
|
},
|
|
1631
1648
|
children: /* @__PURE__ */ t.jsx(
|
|
1632
|
-
|
|
1649
|
+
Ze,
|
|
1633
1650
|
{
|
|
1634
1651
|
label: I.label,
|
|
1635
1652
|
role: "link",
|
|
1636
1653
|
additionalContent: I.additionalContent,
|
|
1637
1654
|
mainTextFontSize: "3xl",
|
|
1638
|
-
linkComponent:
|
|
1655
|
+
linkComponent: o
|
|
1639
1656
|
}
|
|
1640
1657
|
)
|
|
1641
1658
|
},
|
|
1642
1659
|
I.label
|
|
1643
1660
|
);
|
|
1644
|
-
}),
|
|
1661
|
+
}), Ie = /* @__PURE__ */ t.jsxs(
|
|
1645
1662
|
t.Fragment,
|
|
1646
1663
|
{ children: [
|
|
1647
1664
|
/* @__PURE__ */ t.jsx(
|
|
1648
|
-
|
|
1665
|
+
Oe,
|
|
1649
1666
|
{
|
|
1650
|
-
as:
|
|
1651
|
-
href:
|
|
1667
|
+
as: W,
|
|
1668
|
+
href: y,
|
|
1652
1669
|
width: "100%",
|
|
1653
1670
|
backgroundColor: "tints.cream",
|
|
1654
|
-
onClick:
|
|
1671
|
+
onClick: M,
|
|
1655
1672
|
children: /* @__PURE__ */ t.jsxs(
|
|
1656
|
-
|
|
1673
|
+
C,
|
|
1657
1674
|
{ gap: "2", children: [
|
|
1658
1675
|
"My Everly",
|
|
1659
|
-
/* @__PURE__ */ t.jsx(
|
|
1676
|
+
/* @__PURE__ */ t.jsx(K, { as: pt, size: 24 })
|
|
1660
1677
|
] }
|
|
1661
1678
|
)
|
|
1662
1679
|
},
|
|
1663
1680
|
"my-everly"
|
|
1664
1681
|
),
|
|
1665
1682
|
/* @__PURE__ */ t.jsx(
|
|
1666
|
-
|
|
1683
|
+
Oe,
|
|
1667
1684
|
{
|
|
1668
|
-
as:
|
|
1685
|
+
as: W,
|
|
1669
1686
|
width: "100%",
|
|
1670
|
-
href:
|
|
1687
|
+
href: h,
|
|
1671
1688
|
backgroundColor: "tints.cream",
|
|
1672
|
-
onClick:
|
|
1689
|
+
onClick: Y,
|
|
1673
1690
|
children: /* @__PURE__ */ t.jsxs(
|
|
1674
|
-
|
|
1691
|
+
C,
|
|
1675
1692
|
{ gap: "2", children: [
|
|
1676
1693
|
"Register kit",
|
|
1677
|
-
/* @__PURE__ */ t.jsx(
|
|
1694
|
+
/* @__PURE__ */ t.jsx(K, { as: Cr, size: 24 })
|
|
1678
1695
|
] }
|
|
1679
1696
|
)
|
|
1680
1697
|
},
|
|
1681
1698
|
"register-kit"
|
|
1682
1699
|
)
|
|
1683
1700
|
] }
|
|
1684
|
-
),
|
|
1685
|
-
|
|
1701
|
+
), Fe = /* @__PURE__ */ t.jsxs(
|
|
1702
|
+
C,
|
|
1686
1703
|
{ gap: "2", flexDirection: "column", children: [
|
|
1687
|
-
|
|
1688
|
-
|
|
1704
|
+
g,
|
|
1705
|
+
Ie
|
|
1689
1706
|
] }
|
|
1690
|
-
),
|
|
1691
|
-
|
|
1692
|
-
{ direction: ["column", null, null, "row"], gap: "8", children: (be =
|
|
1693
|
-
const
|
|
1694
|
-
for (let
|
|
1695
|
-
|
|
1707
|
+
), Me = _ ? /* @__PURE__ */ t.jsx(
|
|
1708
|
+
C,
|
|
1709
|
+
{ direction: ["column", null, null, "row"], gap: "8", children: (be = _ == null ? void 0 : _.sections) == null ? void 0 : be.map((a, I) => {
|
|
1710
|
+
const q = [];
|
|
1711
|
+
for (let O = 0; O < a.links.length; O += 3)
|
|
1712
|
+
q.push(a.links.slice(O, O + 3));
|
|
1696
1713
|
return /* @__PURE__ */ t.jsxs(
|
|
1697
|
-
|
|
1714
|
+
b,
|
|
1698
1715
|
{ children: [
|
|
1699
1716
|
/* @__PURE__ */ t.jsx(
|
|
1700
|
-
|
|
1717
|
+
L,
|
|
1701
1718
|
{
|
|
1702
1719
|
fontSize: "md",
|
|
1703
1720
|
color: "tints.uiGrey",
|
|
@@ -1706,32 +1723,32 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
1706
1723
|
}
|
|
1707
1724
|
),
|
|
1708
1725
|
/* @__PURE__ */ t.jsx(
|
|
1709
|
-
|
|
1726
|
+
C,
|
|
1710
1727
|
{
|
|
1711
1728
|
flexDirection: ["column", null, null, "row"],
|
|
1712
1729
|
gap: [null, null, null, 8],
|
|
1713
|
-
children:
|
|
1714
|
-
(
|
|
1715
|
-
|
|
1730
|
+
children: q == null ? void 0 : q.map(
|
|
1731
|
+
(O, Be) => /* @__PURE__ */ t.jsx(
|
|
1732
|
+
C,
|
|
1716
1733
|
{
|
|
1717
1734
|
flexDirection: ["column"],
|
|
1718
1735
|
gap: [null, null, null, 5],
|
|
1719
1736
|
marginLeft: [null, null, null, -2],
|
|
1720
|
-
children:
|
|
1721
|
-
(
|
|
1722
|
-
|
|
1737
|
+
children: O == null ? void 0 : O.map(
|
|
1738
|
+
(ee) => /* @__PURE__ */ t.jsx(
|
|
1739
|
+
Ze,
|
|
1723
1740
|
{
|
|
1724
|
-
label:
|
|
1725
|
-
href:
|
|
1726
|
-
additionalContent:
|
|
1727
|
-
linkComponent:
|
|
1728
|
-
onClick: () =>
|
|
1741
|
+
label: ee.label,
|
|
1742
|
+
href: ee.href,
|
|
1743
|
+
additionalContent: ee.additionalContent,
|
|
1744
|
+
linkComponent: o,
|
|
1745
|
+
onClick: () => m == null ? void 0 : m(ee.label)
|
|
1729
1746
|
},
|
|
1730
|
-
|
|
1747
|
+
ee.label
|
|
1731
1748
|
)
|
|
1732
1749
|
)
|
|
1733
1750
|
},
|
|
1734
|
-
|
|
1751
|
+
Be
|
|
1735
1752
|
)
|
|
1736
1753
|
)
|
|
1737
1754
|
}
|
|
@@ -1740,32 +1757,32 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
1740
1757
|
`${a.title}-${I}`
|
|
1741
1758
|
);
|
|
1742
1759
|
}) }
|
|
1743
|
-
) : null,
|
|
1744
|
-
(a) => /* @__PURE__ */ t.jsx(
|
|
1745
|
-
) : /* @__PURE__ */ t.jsx(
|
|
1760
|
+
) : null, ae = _ != null && _.spotlightCards ? (je = _.spotlightCards) == null ? void 0 : je.map(
|
|
1761
|
+
(a) => /* @__PURE__ */ t.jsx(Ar, { ...a }, a.title)
|
|
1762
|
+
) : /* @__PURE__ */ t.jsx(b, {});
|
|
1746
1763
|
return /* @__PURE__ */ t.jsxs(
|
|
1747
1764
|
t.Fragment,
|
|
1748
1765
|
{ children: [
|
|
1749
1766
|
/* @__PURE__ */ t.jsx(
|
|
1750
|
-
|
|
1767
|
+
Mr,
|
|
1751
1768
|
{
|
|
1752
|
-
desktopTopButtons:
|
|
1769
|
+
desktopTopButtons: oe,
|
|
1753
1770
|
kitRegistrationElement: /* @__PURE__ */ t.jsx(
|
|
1754
|
-
|
|
1771
|
+
Oe,
|
|
1755
1772
|
{
|
|
1756
|
-
as:
|
|
1757
|
-
href:
|
|
1758
|
-
onClick:
|
|
1773
|
+
as: W,
|
|
1774
|
+
href: h,
|
|
1775
|
+
onClick: Y,
|
|
1759
1776
|
backgroundColor: "tints.cream",
|
|
1760
1777
|
children: "Register Kit"
|
|
1761
1778
|
}
|
|
1762
1779
|
),
|
|
1763
1780
|
profileElement: /* @__PURE__ */ t.jsx(
|
|
1764
|
-
|
|
1765
|
-
{ href:
|
|
1781
|
+
W,
|
|
1782
|
+
{ href: y, "aria-label": "login", onClick: M, children: /* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(K, { as: pt }), "aria-label": "Profile" }) }
|
|
1766
1783
|
),
|
|
1767
1784
|
cartElement: /* @__PURE__ */ t.jsx(
|
|
1768
|
-
|
|
1785
|
+
Br,
|
|
1769
1786
|
{
|
|
1770
1787
|
"aria-label": "Cart",
|
|
1771
1788
|
count: j,
|
|
@@ -1773,77 +1790,459 @@ const Ye = 60, gt = 6, pn = (l) => {
|
|
|
1773
1790
|
}
|
|
1774
1791
|
),
|
|
1775
1792
|
onSearchClick: () => {
|
|
1776
|
-
|
|
1793
|
+
P(!X), s == null || s();
|
|
1777
1794
|
},
|
|
1778
1795
|
onMenuClick: () => {
|
|
1779
|
-
|
|
1796
|
+
Q(!0), S == null || S();
|
|
1780
1797
|
},
|
|
1781
|
-
hasSearch:
|
|
1782
|
-
logoLink:
|
|
1783
|
-
linkComponent:
|
|
1784
|
-
onLogoClick:
|
|
1785
|
-
setTopOffset:
|
|
1798
|
+
hasSearch: f,
|
|
1799
|
+
logoLink: c,
|
|
1800
|
+
linkComponent: o,
|
|
1801
|
+
onLogoClick: T,
|
|
1802
|
+
setTopOffset: _e
|
|
1786
1803
|
}
|
|
1787
1804
|
),
|
|
1788
1805
|
/* @__PURE__ */ t.jsxs(
|
|
1789
|
-
|
|
1806
|
+
b,
|
|
1790
1807
|
{ position: "relative", zIndex: "modal", children: [
|
|
1791
1808
|
/* @__PURE__ */ t.jsx(
|
|
1792
|
-
|
|
1809
|
+
Ke,
|
|
1793
1810
|
{
|
|
1794
1811
|
isOpen: pe,
|
|
1795
|
-
onClose:
|
|
1796
|
-
title:
|
|
1797
|
-
navDrawerLinks:
|
|
1798
|
-
bottomNavButtons:
|
|
1812
|
+
onClose: le,
|
|
1813
|
+
title: u,
|
|
1814
|
+
navDrawerLinks: He,
|
|
1815
|
+
bottomNavButtons: Fe,
|
|
1799
1816
|
hasBackButton: !1,
|
|
1800
|
-
topOffset:
|
|
1817
|
+
topOffset: U
|
|
1801
1818
|
}
|
|
1802
1819
|
),
|
|
1803
1820
|
/* @__PURE__ */ t.jsx(
|
|
1804
|
-
|
|
1821
|
+
Ke,
|
|
1805
1822
|
{
|
|
1806
|
-
isOpen: !!
|
|
1823
|
+
isOpen: !!_,
|
|
1807
1824
|
onClose: () => {
|
|
1808
|
-
|
|
1825
|
+
le(), $(null);
|
|
1809
1826
|
},
|
|
1810
|
-
title: (
|
|
1811
|
-
navDrawerLinks:
|
|
1812
|
-
onBackClick: () =>
|
|
1813
|
-
spotlightCards:
|
|
1814
|
-
hasOnlySpotlightCards:
|
|
1815
|
-
bottomButton:
|
|
1816
|
-
topOffset:
|
|
1827
|
+
title: (_ == null ? void 0 : _.label) || "",
|
|
1828
|
+
navDrawerLinks: Me,
|
|
1829
|
+
onBackClick: () => $(null),
|
|
1830
|
+
spotlightCards: ae,
|
|
1831
|
+
hasOnlySpotlightCards: _ == null ? void 0 : _.hasOnlySpotlightCards,
|
|
1832
|
+
bottomButton: _ == null ? void 0 : _.bottomButton,
|
|
1833
|
+
topOffset: U
|
|
1817
1834
|
}
|
|
1818
1835
|
),
|
|
1819
1836
|
/* @__PURE__ */ t.jsx(
|
|
1820
|
-
|
|
1837
|
+
Ke,
|
|
1821
1838
|
{
|
|
1822
|
-
isOpen:
|
|
1823
|
-
onClose: () =>
|
|
1839
|
+
isOpen: X,
|
|
1840
|
+
onClose: () => P(!1),
|
|
1824
1841
|
title: "Search",
|
|
1825
|
-
navDrawerLinks:
|
|
1826
|
-
onSearch:
|
|
1842
|
+
navDrawerLinks: $e,
|
|
1843
|
+
onSearch: ke,
|
|
1827
1844
|
hasSearch: !0,
|
|
1828
1845
|
hasBackButton: !1,
|
|
1829
|
-
topOffset:
|
|
1846
|
+
topOffset: U
|
|
1830
1847
|
}
|
|
1831
1848
|
)
|
|
1832
1849
|
] }
|
|
1833
1850
|
)
|
|
1834
1851
|
] }
|
|
1835
1852
|
);
|
|
1836
|
-
}
|
|
1853
|
+
}, jt = ({ links: n, linkComponent: i, onLinkClick: u }) => {
|
|
1854
|
+
const c = i || W, f = (s) => {
|
|
1855
|
+
u && u(s);
|
|
1856
|
+
};
|
|
1857
|
+
return /* @__PURE__ */ t.jsx(
|
|
1858
|
+
C,
|
|
1859
|
+
{ direction: "column", gap: 6, children: n.map(
|
|
1860
|
+
(s) => /* @__PURE__ */ t.jsx(
|
|
1861
|
+
L,
|
|
1862
|
+
{
|
|
1863
|
+
as: c,
|
|
1864
|
+
color: "white",
|
|
1865
|
+
size: "lg",
|
|
1866
|
+
_hover: { color: "viridian.lighter", textDecoration: "none" },
|
|
1867
|
+
onClick: () => f(s.label),
|
|
1868
|
+
...de(s.href, !!i),
|
|
1869
|
+
children: s.label
|
|
1870
|
+
},
|
|
1871
|
+
s.label
|
|
1872
|
+
)
|
|
1873
|
+
) }
|
|
1874
|
+
);
|
|
1875
|
+
}, Vr = ({ title: n, links: i, isLast: u }) => {
|
|
1876
|
+
const c = u ? "transparent" : `${Ee.colors.viridian.lighter}20`;
|
|
1877
|
+
return i ? /* @__PURE__ */ t.jsx(
|
|
1878
|
+
lr,
|
|
1879
|
+
{ borderColor: c, children: ({ isExpanded: f }) => /* @__PURE__ */ t.jsxs(
|
|
1880
|
+
t.Fragment,
|
|
1881
|
+
{ children: [
|
|
1882
|
+
/* @__PURE__ */ t.jsxs(
|
|
1883
|
+
ir,
|
|
1884
|
+
{ paddingX: 0, paddingY: 4, _hover: { bg: "transparent" }, children: [
|
|
1885
|
+
/* @__PURE__ */ t.jsx(
|
|
1886
|
+
L,
|
|
1887
|
+
{ color: "viridian.lighter", size: "lg", flex: "1", textAlign: "left", children: n }
|
|
1888
|
+
),
|
|
1889
|
+
/* @__PURE__ */ t.jsx(
|
|
1890
|
+
K,
|
|
1891
|
+
{
|
|
1892
|
+
as: yr,
|
|
1893
|
+
size: "sm",
|
|
1894
|
+
color: "viridian.lighter",
|
|
1895
|
+
transform: f ? "rotate(-180deg)" : "rotate(0deg)",
|
|
1896
|
+
transition: "transform 0.3s ease"
|
|
1897
|
+
}
|
|
1898
|
+
)
|
|
1899
|
+
] }
|
|
1900
|
+
),
|
|
1901
|
+
/* @__PURE__ */ t.jsx(
|
|
1902
|
+
or,
|
|
1903
|
+
{ pb: 4, px: 0, children: i }
|
|
1904
|
+
)
|
|
1905
|
+
] }
|
|
1906
|
+
) }
|
|
1907
|
+
) : null;
|
|
1908
|
+
}, zr = ({ title: n, links: i }) => i ? /* @__PURE__ */ t.jsxs(
|
|
1909
|
+
b,
|
|
1910
|
+
{ children: [
|
|
1911
|
+
/* @__PURE__ */ t.jsx(
|
|
1912
|
+
L,
|
|
1913
|
+
{ color: "viridian.lighter", mb: 6, fontSize: "lg", children: n }
|
|
1914
|
+
),
|
|
1915
|
+
i
|
|
1916
|
+
] }
|
|
1917
|
+
) : null, Yr = ({
|
|
1918
|
+
sections: n,
|
|
1919
|
+
linkComponent: i,
|
|
1920
|
+
onLinkClick: u
|
|
1921
|
+
}) => Pe({
|
|
1922
|
+
base: !1,
|
|
1923
|
+
tablet: !1,
|
|
1924
|
+
largeTablet: !0,
|
|
1925
|
+
desktop: !0
|
|
1926
|
+
}) ? /* @__PURE__ */ t.jsx(
|
|
1927
|
+
C,
|
|
1928
|
+
{
|
|
1929
|
+
justify: "space-between",
|
|
1930
|
+
align: "flex-start",
|
|
1931
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1932
|
+
C,
|
|
1933
|
+
{ gap: 120, children: n.map(
|
|
1934
|
+
({ title: f, links: s }) => /* @__PURE__ */ t.jsx(
|
|
1935
|
+
zr,
|
|
1936
|
+
{
|
|
1937
|
+
title: f,
|
|
1938
|
+
links: /* @__PURE__ */ t.jsx(
|
|
1939
|
+
jt,
|
|
1940
|
+
{
|
|
1941
|
+
links: s,
|
|
1942
|
+
linkComponent: i,
|
|
1943
|
+
onLinkClick: u
|
|
1944
|
+
}
|
|
1945
|
+
)
|
|
1946
|
+
},
|
|
1947
|
+
f
|
|
1948
|
+
)
|
|
1949
|
+
) }
|
|
1950
|
+
)
|
|
1951
|
+
}
|
|
1952
|
+
) : /* @__PURE__ */ t.jsx(
|
|
1953
|
+
nr,
|
|
1954
|
+
{
|
|
1955
|
+
allowMultiple: !0,
|
|
1956
|
+
defaultIndex: [0],
|
|
1957
|
+
width: "100%",
|
|
1958
|
+
display: "flex",
|
|
1959
|
+
flexDirection: "column",
|
|
1960
|
+
children: n.map(
|
|
1961
|
+
({ title: f, links: s }, h) => /* @__PURE__ */ t.jsx(
|
|
1962
|
+
Vr,
|
|
1963
|
+
{
|
|
1964
|
+
title: f,
|
|
1965
|
+
links: /* @__PURE__ */ t.jsx(
|
|
1966
|
+
jt,
|
|
1967
|
+
{
|
|
1968
|
+
links: s,
|
|
1969
|
+
linkComponent: i,
|
|
1970
|
+
onLinkClick: u
|
|
1971
|
+
}
|
|
1972
|
+
),
|
|
1973
|
+
isLast: h === n.length - 1
|
|
1974
|
+
},
|
|
1975
|
+
f
|
|
1976
|
+
)
|
|
1977
|
+
)
|
|
1978
|
+
}
|
|
1979
|
+
), wt = {
|
|
1980
|
+
instagram: Rr,
|
|
1981
|
+
linkedin: _r,
|
|
1982
|
+
facebook: Sr,
|
|
1983
|
+
tiktok: Tr,
|
|
1984
|
+
x: kr
|
|
1985
|
+
}, Gr = ({
|
|
1986
|
+
socialLinks: n,
|
|
1987
|
+
onEmailSubmit: i,
|
|
1988
|
+
socialMediaLabel: u,
|
|
1989
|
+
newsletterLabel: c,
|
|
1990
|
+
onLinkClick: f
|
|
1991
|
+
}) => {
|
|
1992
|
+
const [s, h] = Ae.useState(""), y = () => {
|
|
1993
|
+
s && i && (i(s), h(""));
|
|
1994
|
+
}, g = (o) => {
|
|
1995
|
+
o.key === "Enter" && y();
|
|
1996
|
+
}, j = (o) => {
|
|
1997
|
+
f && f(o);
|
|
1998
|
+
};
|
|
1999
|
+
return /* @__PURE__ */ t.jsxs(
|
|
2000
|
+
b,
|
|
2001
|
+
{ width: ["100%", null, null, "440px"], children: [
|
|
2002
|
+
/* @__PURE__ */ t.jsxs(
|
|
2003
|
+
b,
|
|
2004
|
+
{ mb: [8, 10], children: [
|
|
2005
|
+
/* @__PURE__ */ t.jsx(
|
|
2006
|
+
L,
|
|
2007
|
+
{ color: "viridian.lighter", mb: 6, size: "lg", children: c }
|
|
2008
|
+
),
|
|
2009
|
+
/* @__PURE__ */ t.jsxs(
|
|
2010
|
+
ar,
|
|
2011
|
+
{ children: [
|
|
2012
|
+
/* @__PURE__ */ t.jsx(
|
|
2013
|
+
sr,
|
|
2014
|
+
{
|
|
2015
|
+
placeholder: "Enter your email",
|
|
2016
|
+
bg: "transparent",
|
|
2017
|
+
border: "1px solid",
|
|
2018
|
+
borderColor: "viridian.lighter",
|
|
2019
|
+
color: "viridian.lighter",
|
|
2020
|
+
_placeholder: { color: "viridian.lighter" },
|
|
2021
|
+
opacity: 0.66,
|
|
2022
|
+
height: "52px",
|
|
2023
|
+
pr: "48px",
|
|
2024
|
+
value: s,
|
|
2025
|
+
onChange: (o) => h(o.target.value),
|
|
2026
|
+
onKeyPress: g
|
|
2027
|
+
}
|
|
2028
|
+
),
|
|
2029
|
+
/* @__PURE__ */ t.jsx(
|
|
2030
|
+
ur,
|
|
2031
|
+
{ h: "52px", pr: 4, children: /* @__PURE__ */ t.jsx(
|
|
2032
|
+
K,
|
|
2033
|
+
{
|
|
2034
|
+
as: Er,
|
|
2035
|
+
color: "viridian.lighter",
|
|
2036
|
+
width: "24px",
|
|
2037
|
+
height: "24px",
|
|
2038
|
+
opacity: 0.66,
|
|
2039
|
+
cursor: "pointer",
|
|
2040
|
+
onClick: y,
|
|
2041
|
+
"data-testid": "arrow-right-icon",
|
|
2042
|
+
role: "button",
|
|
2043
|
+
"aria-label": "Submit"
|
|
2044
|
+
}
|
|
2045
|
+
) }
|
|
2046
|
+
)
|
|
2047
|
+
] }
|
|
2048
|
+
)
|
|
2049
|
+
] }
|
|
2050
|
+
),
|
|
2051
|
+
/* @__PURE__ */ t.jsxs(
|
|
2052
|
+
b,
|
|
2053
|
+
{ children: [
|
|
2054
|
+
/* @__PURE__ */ t.jsx(
|
|
2055
|
+
L,
|
|
2056
|
+
{ color: "viridian.lighter", marginBottom: 4, size: "lg", children: u }
|
|
2057
|
+
),
|
|
2058
|
+
/* @__PURE__ */ t.jsx(
|
|
2059
|
+
C,
|
|
2060
|
+
{ gap: 3, children: n == null ? void 0 : n.map(
|
|
2061
|
+
(o) => /* @__PURE__ */ t.jsx(
|
|
2062
|
+
W,
|
|
2063
|
+
{
|
|
2064
|
+
href: o.href,
|
|
2065
|
+
target: "_blank",
|
|
2066
|
+
rel: "noopener noreferrer",
|
|
2067
|
+
"aria-label": o.name,
|
|
2068
|
+
onClick: () => j(o.name),
|
|
2069
|
+
children: wt[o.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
|
|
2070
|
+
K,
|
|
2071
|
+
{
|
|
2072
|
+
as: wt[o.name.toLowerCase()],
|
|
2073
|
+
color: "white",
|
|
2074
|
+
width: ["48px", null, "24px", null],
|
|
2075
|
+
height: ["48px", null, "24px", null]
|
|
2076
|
+
}
|
|
2077
|
+
)
|
|
2078
|
+
},
|
|
2079
|
+
o.name
|
|
2080
|
+
)
|
|
2081
|
+
) }
|
|
2082
|
+
)
|
|
2083
|
+
] }
|
|
2084
|
+
)
|
|
2085
|
+
] }
|
|
2086
|
+
);
|
|
2087
|
+
}, Ur = ({
|
|
2088
|
+
links: n,
|
|
2089
|
+
linkComponent: i,
|
|
2090
|
+
onLinkClick: u
|
|
2091
|
+
}) => {
|
|
2092
|
+
const c = i || W, f = (h) => {
|
|
2093
|
+
u && u(h);
|
|
2094
|
+
}, s = n == null ? void 0 : n.map(
|
|
2095
|
+
(h) => /* @__PURE__ */ t.jsx(
|
|
2096
|
+
L,
|
|
2097
|
+
{
|
|
2098
|
+
as: c,
|
|
2099
|
+
color: "viridian.lighter",
|
|
2100
|
+
size: "sm",
|
|
2101
|
+
_hover: { color: "white", textDecoration: "none" },
|
|
2102
|
+
onClick: () => f(h.label),
|
|
2103
|
+
...de(h.href, !!i),
|
|
2104
|
+
children: h.label
|
|
2105
|
+
},
|
|
2106
|
+
h.label
|
|
2107
|
+
)
|
|
2108
|
+
);
|
|
2109
|
+
return /* @__PURE__ */ t.jsxs(
|
|
2110
|
+
C,
|
|
2111
|
+
{
|
|
2112
|
+
direction: ["column", "column", "row"],
|
|
2113
|
+
justify: "space-between",
|
|
2114
|
+
align: ["flex-start", "flex-start", "center"],
|
|
2115
|
+
gap: [6, 6, 0],
|
|
2116
|
+
children: [
|
|
2117
|
+
/* @__PURE__ */ t.jsx(
|
|
2118
|
+
C,
|
|
2119
|
+
{
|
|
2120
|
+
direction: "row",
|
|
2121
|
+
flexWrap: "wrap",
|
|
2122
|
+
gap: [4, 6, 10],
|
|
2123
|
+
width: ["100%", "auto"],
|
|
2124
|
+
children: s
|
|
2125
|
+
}
|
|
2126
|
+
),
|
|
2127
|
+
/* @__PURE__ */ t.jsxs(
|
|
2128
|
+
L,
|
|
2129
|
+
{ color: "viridian.lighter", fontSize: "sm", children: [
|
|
2130
|
+
"© Everlywell ",
|
|
2131
|
+
(/* @__PURE__ */ new Date()).getFullYear()
|
|
2132
|
+
] }
|
|
2133
|
+
)
|
|
2134
|
+
]
|
|
2135
|
+
}
|
|
2136
|
+
);
|
|
2137
|
+
}, nn = ({
|
|
2138
|
+
navigationSections: n = [],
|
|
2139
|
+
disclaimer: i,
|
|
2140
|
+
newsletterLabel: u,
|
|
2141
|
+
socialMediaLabel: c,
|
|
2142
|
+
socialLinks: f,
|
|
2143
|
+
complianceLinks: s,
|
|
2144
|
+
linkComponent: h,
|
|
2145
|
+
onEmailSubmit: y,
|
|
2146
|
+
additionalContent: g,
|
|
2147
|
+
onLinkClick: j,
|
|
2148
|
+
onSocialMediaClick: o
|
|
2149
|
+
}) => /* @__PURE__ */ t.jsx(
|
|
2150
|
+
b,
|
|
2151
|
+
{ as: "footer", bg: "viridian.dark", py: [6, 8], px: [4, 6], children: /* @__PURE__ */ t.jsxs(
|
|
2152
|
+
cr,
|
|
2153
|
+
{ size: "fluid", children: [
|
|
2154
|
+
/* @__PURE__ */ t.jsxs(
|
|
2155
|
+
C,
|
|
2156
|
+
{ direction: "column", gap: [8, 12], children: [
|
|
2157
|
+
/* @__PURE__ */ t.jsx(
|
|
2158
|
+
b,
|
|
2159
|
+
{ children: /* @__PURE__ */ t.jsx(_t, { width: ["150px", "202px"], color: "white" }) }
|
|
2160
|
+
),
|
|
2161
|
+
/* @__PURE__ */ t.jsxs(
|
|
2162
|
+
C,
|
|
2163
|
+
{
|
|
2164
|
+
direction: ["column", null, null, "row"],
|
|
2165
|
+
justify: "space-between",
|
|
2166
|
+
align: ["flex-start"],
|
|
2167
|
+
gap: [8, 8, 8, 0],
|
|
2168
|
+
children: [
|
|
2169
|
+
/* @__PURE__ */ t.jsx(
|
|
2170
|
+
Yr,
|
|
2171
|
+
{
|
|
2172
|
+
sections: n,
|
|
2173
|
+
linkComponent: h,
|
|
2174
|
+
onLinkClick: j
|
|
2175
|
+
}
|
|
2176
|
+
),
|
|
2177
|
+
/* @__PURE__ */ t.jsx(
|
|
2178
|
+
Gr,
|
|
2179
|
+
{
|
|
2180
|
+
socialLinks: f,
|
|
2181
|
+
newsletterLabel: u,
|
|
2182
|
+
socialMediaLabel: c,
|
|
2183
|
+
onEmailSubmit: y,
|
|
2184
|
+
onLinkClick: o
|
|
2185
|
+
}
|
|
2186
|
+
)
|
|
2187
|
+
]
|
|
2188
|
+
}
|
|
2189
|
+
),
|
|
2190
|
+
/* @__PURE__ */ t.jsxs(
|
|
2191
|
+
C,
|
|
2192
|
+
{
|
|
2193
|
+
direction: ["column", "column", "row"],
|
|
2194
|
+
justify: "space-between",
|
|
2195
|
+
alignContent: "center",
|
|
2196
|
+
align: ["flex-start", "flex-start", "center"],
|
|
2197
|
+
gap: [6, 6, 0],
|
|
2198
|
+
children: [
|
|
2199
|
+
/* @__PURE__ */ t.jsx(
|
|
2200
|
+
L,
|
|
2201
|
+
{
|
|
2202
|
+
color: "viridian.lighter",
|
|
2203
|
+
fontSize: "sm",
|
|
2204
|
+
maxWidth: ["100%", "100%", "1024px"],
|
|
2205
|
+
children: i
|
|
2206
|
+
}
|
|
2207
|
+
),
|
|
2208
|
+
g
|
|
2209
|
+
]
|
|
2210
|
+
}
|
|
2211
|
+
)
|
|
2212
|
+
] }
|
|
2213
|
+
),
|
|
2214
|
+
/* @__PURE__ */ t.jsx(
|
|
2215
|
+
b,
|
|
2216
|
+
{
|
|
2217
|
+
borderTop: "1px solid",
|
|
2218
|
+
borderColor: `${Ee.colors.viridian.lighter}20`,
|
|
2219
|
+
marginTop: "10",
|
|
2220
|
+
marginBottom: "8"
|
|
2221
|
+
}
|
|
2222
|
+
),
|
|
2223
|
+
/* @__PURE__ */ t.jsx(
|
|
2224
|
+
Ur,
|
|
2225
|
+
{
|
|
2226
|
+
disclaimer: i,
|
|
2227
|
+
links: s,
|
|
2228
|
+
linkComponent: h,
|
|
2229
|
+
onLinkClick: j
|
|
2230
|
+
}
|
|
2231
|
+
)
|
|
2232
|
+
] }
|
|
2233
|
+
) }
|
|
2234
|
+
);
|
|
1837
2235
|
export {
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
2236
|
+
Br as BasketButton,
|
|
2237
|
+
en as CategoryLabel,
|
|
2238
|
+
nn as Footer,
|
|
2239
|
+
Oe as NavButton,
|
|
2240
|
+
tn as NavSkeleton,
|
|
2241
|
+
Ke as NavbarDrawer,
|
|
2242
|
+
Ze as NavbarDrawerLink,
|
|
2243
|
+
rn as NavigationBar,
|
|
2244
|
+
Ar as SpotlightCard,
|
|
2245
|
+
Qr as Stepper,
|
|
1847
2246
|
ce as TopNavIconButton,
|
|
1848
|
-
|
|
2247
|
+
Mr as TopNavigation
|
|
1849
2248
|
};
|