@everlywell/consumer-ui 1.36.0 → 1.37.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +9 -9
- package/index.mjs +474 -459
- package/lib/components/Footer/ComplianceLinks/ComplianceLinks.d.ts +14 -0
- package/lib/components/Footer/ComplianceLinks/ComplianceLinks.d.ts.map +1 -0
- package/lib/components/Footer/ComplianceLinks/ComplianceLinks.stories.d.ts +26 -0
- package/lib/components/Footer/ComplianceLinks/ComplianceLinks.stories.d.ts.map +1 -0
- package/lib/components/Footer/Footer/Footer.builder.d.ts +4 -0
- package/lib/components/Footer/Footer/Footer.builder.d.ts.map +1 -0
- package/lib/components/Footer/Footer/Footer.d.ts +35 -0
- package/lib/components/Footer/Footer/Footer.d.ts.map +1 -0
- package/lib/components/Footer/Footer/Footer.stories.d.ts +8 -0
- package/lib/components/Footer/Footer/Footer.stories.d.ts.map +1 -0
- package/lib/components/Footer/NavigationLinks/NavigationLinks.d.ts +16 -0
- package/lib/components/Footer/NavigationLinks/NavigationLinks.d.ts.map +1 -0
- package/lib/components/Footer/NavigationLinks/NavigationLinks.stories.d.ts +28 -0
- package/lib/components/Footer/NavigationLinks/NavigationLinks.stories.d.ts.map +1 -0
- package/lib/components/Footer/UpdatesAndSocial/UpdatesAndSocial.d.ts +14 -0
- package/lib/components/Footer/UpdatesAndSocial/UpdatesAndSocial.d.ts.map +1 -0
- package/lib/components/Footer/UpdatesAndSocial/UpdatesAndSocial.stories.d.ts +40 -0
- package/lib/components/Footer/UpdatesAndSocial/UpdatesAndSocial.stories.d.ts.map +1 -0
- package/lib/components/Footer/index.d.ts +2 -0
- package/lib/components/Footer/index.d.ts.map +1 -0
- package/lib/components/Logo/Logo.d.ts +8 -0
- package/lib/components/Logo/Logo.d.ts.map +1 -0
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts.map +1 -1
- package/lib/components/Navbar/NavigationBar/NavigationBar.d.ts +1 -1
- package/lib/components/Navbar/NavigationBar/NavigationBar.d.ts.map +1 -1
- package/package.json +2 -2
- package/lib/components/Navbar/TopNavigation/Logo.d.ts +0 -2
- package/lib/components/Navbar/TopNavigation/Logo.d.ts.map +0 -1
package/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { useSteps as Mt, Box as E, Stepper as
|
|
2
|
-
import
|
|
3
|
-
import { Text as qt, useBreakpointValue as
|
|
4
|
-
import { CaretRight as
|
|
5
|
-
import { motion as
|
|
6
|
-
var
|
|
1
|
+
import { useSteps as Mt, Box as E, Stepper as Bt, Icon as ue, Flex as k, Text as K, Link as Y, Button as xt, Image as Wt, IconButton as Vt, theme as Ue, VStack as Nt, Skeleton as Ne, HStack as ct, SkeletonCircle as De, DrawerContent as Yt, DrawerOverlay as zt, Drawer as Gt, DrawerHeader as Ut, DrawerBody as Zt, Grid as Kt, GridItem as Xt } from "@everlywell/ui-kit";
|
|
2
|
+
import Xe, { useEffect as Z, forwardRef as bt, useRef as Jt, useCallback as mt, useState as W } from "react";
|
|
3
|
+
import { Text as qt, useBreakpointValue as Je, Box as Qt, InputGroup as en, Input as tn, InputRightElement as nn, Icon as rn } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as dt, MagnifyingGlass as yt, List as ln, Basket as an, CaretLeft as on, X as sn, User as ft, QrCode as un } from "@phosphor-icons/react";
|
|
5
|
+
import { motion as qe, AnimatePresence as cn } from "framer-motion";
|
|
6
|
+
var Ze = { exports: {} }, Ce = {};
|
|
7
7
|
/**
|
|
8
8
|
* @license React
|
|
9
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -13,21 +13,21 @@ var Ue = { 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 l =
|
|
21
|
-
function b(R, c,
|
|
16
|
+
var pt;
|
|
17
|
+
function dn() {
|
|
18
|
+
if (pt) return Ce;
|
|
19
|
+
pt = 1;
|
|
20
|
+
var l = Xe, i = Symbol.for("react.element"), p = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, y = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function b(R, c, j) {
|
|
22
22
|
var s, C = {}, g = null, u = null;
|
|
23
|
-
|
|
23
|
+
j !== void 0 && (g = "" + j), c.key !== void 0 && (g = "" + c.key), c.ref !== void 0 && (u = c.ref);
|
|
24
24
|
for (s in c) d.call(c, s) && !v.hasOwnProperty(s) && (C[s] = c[s]);
|
|
25
25
|
if (R && R.defaultProps) for (s in c = R.defaultProps, c) C[s] === void 0 && (C[s] = c[s]);
|
|
26
|
-
return { $$typeof:
|
|
26
|
+
return { $$typeof: i, type: R, key: g, ref: u, props: C, _owner: y.current };
|
|
27
27
|
}
|
|
28
28
|
return Ce.Fragment = p, Ce.jsx = b, Ce.jsxs = b, Ce;
|
|
29
29
|
}
|
|
30
|
-
var
|
|
30
|
+
var je = {};
|
|
31
31
|
/**
|
|
32
32
|
* @license React
|
|
33
33
|
* react-jsx-runtime.development.js
|
|
@@ -37,54 +37,54 @@ var ye = {};
|
|
|
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 l =
|
|
44
|
-
function
|
|
40
|
+
var ht;
|
|
41
|
+
function fn() {
|
|
42
|
+
return ht || (ht = 1, process.env.NODE_ENV !== "production" && function() {
|
|
43
|
+
var l = Xe, i = Symbol.for("react.element"), p = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), R = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), D = Symbol.iterator, Q = "@@iterator";
|
|
44
|
+
function ee(e) {
|
|
45
45
|
if (e === null || typeof e != "object")
|
|
46
46
|
return null;
|
|
47
|
-
var
|
|
48
|
-
return typeof
|
|
47
|
+
var n = D && e[D] || e[Q];
|
|
48
|
+
return typeof n == "function" ? n : null;
|
|
49
49
|
}
|
|
50
|
-
var
|
|
50
|
+
var F = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
51
51
|
function _(e) {
|
|
52
52
|
{
|
|
53
|
-
for (var
|
|
54
|
-
|
|
55
|
-
de("error", e,
|
|
53
|
+
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
|
|
54
|
+
r[o - 1] = arguments[o];
|
|
55
|
+
de("error", e, r);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
function de(e,
|
|
58
|
+
function de(e, n, r) {
|
|
59
59
|
{
|
|
60
|
-
var
|
|
61
|
-
x !== "" && (
|
|
62
|
-
var m =
|
|
60
|
+
var o = F.ReactDebugCurrentFrame, x = o.getStackAddendum();
|
|
61
|
+
x !== "" && (n += "%s", r = r.concat([x]));
|
|
62
|
+
var m = r.map(function(h) {
|
|
63
63
|
return String(h);
|
|
64
64
|
});
|
|
65
|
-
m.unshift("Warning: " +
|
|
65
|
+
m.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, m);
|
|
66
66
|
}
|
|
67
67
|
}
|
|
68
|
-
var fe = !1, pe = !1,
|
|
68
|
+
var fe = !1, pe = !1, X = !1, z = !1, L = !1, w;
|
|
69
69
|
w = Symbol.for("react.module.reference");
|
|
70
|
-
function
|
|
71
|
-
return !!(typeof e == "string" || typeof e == "function" || e === d || e === v ||
|
|
70
|
+
function H(e) {
|
|
71
|
+
return !!(typeof e == "string" || typeof e == "function" || e === d || e === v || L || e === y || e === j || e === s || z || e === u || fe || pe || X || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === C || e.$$typeof === b || e.$$typeof === R || e.$$typeof === c || // This needs to include all possible module reference object
|
|
72
72
|
// types supported by any Flight configuration anywhere since
|
|
73
73
|
// we don't know which Flight build this will end up being used
|
|
74
74
|
// with.
|
|
75
75
|
e.$$typeof === w || e.getModuleId !== void 0));
|
|
76
76
|
}
|
|
77
|
-
function we(e,
|
|
78
|
-
var
|
|
79
|
-
if (
|
|
80
|
-
return
|
|
81
|
-
var x =
|
|
82
|
-
return x !== "" ?
|
|
77
|
+
function we(e, n, r) {
|
|
78
|
+
var o = e.displayName;
|
|
79
|
+
if (o)
|
|
80
|
+
return o;
|
|
81
|
+
var x = n.displayName || n.name || "";
|
|
82
|
+
return x !== "" ? r + "(" + x + ")" : r;
|
|
83
83
|
}
|
|
84
84
|
function he(e) {
|
|
85
85
|
return e.displayName || "Context";
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function A(e) {
|
|
88
88
|
if (e == null)
|
|
89
89
|
return null;
|
|
90
90
|
if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
@@ -98,9 +98,9 @@ function cr() {
|
|
|
98
98
|
return "Portal";
|
|
99
99
|
case v:
|
|
100
100
|
return "Profiler";
|
|
101
|
-
case j:
|
|
102
|
-
return "StrictMode";
|
|
103
101
|
case y:
|
|
102
|
+
return "StrictMode";
|
|
103
|
+
case j:
|
|
104
104
|
return "Suspense";
|
|
105
105
|
case s:
|
|
106
106
|
return "SuspenseList";
|
|
@@ -108,20 +108,20 @@ function cr() {
|
|
|
108
108
|
if (typeof e == "object")
|
|
109
109
|
switch (e.$$typeof) {
|
|
110
110
|
case R:
|
|
111
|
-
var r = e;
|
|
112
|
-
return he(r) + ".Consumer";
|
|
113
|
-
case b:
|
|
114
111
|
var n = e;
|
|
115
|
-
return he(n
|
|
112
|
+
return he(n) + ".Consumer";
|
|
113
|
+
case b:
|
|
114
|
+
var r = e;
|
|
115
|
+
return he(r._context) + ".Provider";
|
|
116
116
|
case c:
|
|
117
117
|
return we(e, e.render, "ForwardRef");
|
|
118
118
|
case C:
|
|
119
|
-
var
|
|
120
|
-
return
|
|
119
|
+
var o = e.displayName || null;
|
|
120
|
+
return o !== null ? o : A(e.type) || "Memo";
|
|
121
121
|
case g: {
|
|
122
122
|
var x = e, m = x._payload, h = x._init;
|
|
123
123
|
try {
|
|
124
|
-
return
|
|
124
|
+
return A(h(m));
|
|
125
125
|
} catch {
|
|
126
126
|
return null;
|
|
127
127
|
}
|
|
@@ -129,14 +129,14 @@ function cr() {
|
|
|
129
129
|
}
|
|
130
130
|
return null;
|
|
131
131
|
}
|
|
132
|
-
var
|
|
132
|
+
var V = Object.assign, N = 0, Ee, Re, _e, te, Se, ge, ne;
|
|
133
133
|
function Te() {
|
|
134
134
|
}
|
|
135
135
|
Te.__reactDisabledLog = !0;
|
|
136
|
-
function
|
|
136
|
+
function Oe() {
|
|
137
137
|
{
|
|
138
|
-
if (
|
|
139
|
-
Ee = console.log, Re = console.info, _e = console.warn, te = console.error, Se = console.group, ge = console.groupCollapsed,
|
|
138
|
+
if (N === 0) {
|
|
139
|
+
Ee = console.log, Re = console.info, _e = console.warn, te = console.error, Se = console.group, ge = console.groupCollapsed, ne = console.groupEnd;
|
|
140
140
|
var e = {
|
|
141
141
|
configurable: !0,
|
|
142
142
|
enumerable: !0,
|
|
@@ -153,53 +153,53 @@ function cr() {
|
|
|
153
153
|
groupEnd: e
|
|
154
154
|
});
|
|
155
155
|
}
|
|
156
|
-
|
|
156
|
+
N++;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function re() {
|
|
160
160
|
{
|
|
161
|
-
if (
|
|
161
|
+
if (N--, N === 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:
|
|
168
|
+
log: V({}, e, {
|
|
169
169
|
value: Ee
|
|
170
170
|
}),
|
|
171
|
-
info:
|
|
171
|
+
info: V({}, e, {
|
|
172
172
|
value: Re
|
|
173
173
|
}),
|
|
174
|
-
warn:
|
|
174
|
+
warn: V({}, e, {
|
|
175
175
|
value: _e
|
|
176
176
|
}),
|
|
177
|
-
error:
|
|
177
|
+
error: V({}, e, {
|
|
178
178
|
value: te
|
|
179
179
|
}),
|
|
180
|
-
group:
|
|
180
|
+
group: V({}, e, {
|
|
181
181
|
value: Se
|
|
182
182
|
}),
|
|
183
|
-
groupCollapsed:
|
|
183
|
+
groupCollapsed: V({}, e, {
|
|
184
184
|
value: ge
|
|
185
185
|
}),
|
|
186
|
-
groupEnd:
|
|
187
|
-
value:
|
|
186
|
+
groupEnd: V({}, e, {
|
|
187
|
+
value: ne
|
|
188
188
|
})
|
|
189
189
|
});
|
|
190
190
|
}
|
|
191
|
-
|
|
191
|
+
N < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
function le(e,
|
|
194
|
+
var B = F.ReactCurrentDispatcher, ve;
|
|
195
|
+
function le(e, n, r) {
|
|
196
196
|
{
|
|
197
197
|
if (ve === void 0)
|
|
198
198
|
try {
|
|
199
199
|
throw Error();
|
|
200
200
|
} catch (x) {
|
|
201
|
-
var
|
|
202
|
-
ve =
|
|
201
|
+
var o = x.stack.trim().match(/\n( *(at )?)/);
|
|
202
|
+
ve = o && o[1] || "";
|
|
203
203
|
}
|
|
204
204
|
return `
|
|
205
205
|
` + ve + e;
|
|
@@ -210,22 +210,22 @@ function cr() {
|
|
|
210
210
|
var Le = typeof WeakMap == "function" ? WeakMap : Map;
|
|
211
211
|
ae = new Le();
|
|
212
212
|
}
|
|
213
|
-
function ke(e,
|
|
213
|
+
function ke(e, n) {
|
|
214
214
|
if (!e || xe)
|
|
215
215
|
return "";
|
|
216
216
|
{
|
|
217
|
-
var
|
|
218
|
-
if (
|
|
219
|
-
return
|
|
217
|
+
var r = ae.get(e);
|
|
218
|
+
if (r !== void 0)
|
|
219
|
+
return r;
|
|
220
220
|
}
|
|
221
|
-
var
|
|
221
|
+
var o;
|
|
222
222
|
xe = !0;
|
|
223
223
|
var x = Error.prepareStackTrace;
|
|
224
224
|
Error.prepareStackTrace = void 0;
|
|
225
225
|
var m;
|
|
226
|
-
m =
|
|
226
|
+
m = B.current, B.current = null, Oe();
|
|
227
227
|
try {
|
|
228
|
-
if (
|
|
228
|
+
if (n) {
|
|
229
229
|
var h = function() {
|
|
230
230
|
throw Error();
|
|
231
231
|
};
|
|
@@ -236,67 +236,67 @@ function cr() {
|
|
|
236
236
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
237
237
|
try {
|
|
238
238
|
Reflect.construct(h, []);
|
|
239
|
-
} catch (
|
|
240
|
-
|
|
239
|
+
} catch ($) {
|
|
240
|
+
o = $;
|
|
241
241
|
}
|
|
242
242
|
Reflect.construct(e, [], h);
|
|
243
243
|
} else {
|
|
244
244
|
try {
|
|
245
245
|
h.call();
|
|
246
|
-
} catch (
|
|
247
|
-
|
|
246
|
+
} catch ($) {
|
|
247
|
+
o = $;
|
|
248
248
|
}
|
|
249
249
|
e.call(h.prototype);
|
|
250
250
|
}
|
|
251
251
|
} else {
|
|
252
252
|
try {
|
|
253
253
|
throw Error();
|
|
254
|
-
} catch (
|
|
255
|
-
|
|
254
|
+
} catch ($) {
|
|
255
|
+
o = $;
|
|
256
256
|
}
|
|
257
257
|
e();
|
|
258
258
|
}
|
|
259
|
-
} catch (
|
|
260
|
-
if (
|
|
261
|
-
for (var f =
|
|
262
|
-
`),
|
|
263
|
-
`), S = f.length - 1, T =
|
|
259
|
+
} catch ($) {
|
|
260
|
+
if ($ && o && typeof $.stack == "string") {
|
|
261
|
+
for (var f = $.stack.split(`
|
|
262
|
+
`), O = o.stack.split(`
|
|
263
|
+
`), S = f.length - 1, T = O.length - 1; S >= 1 && T >= 0 && f[S] !== O[T]; )
|
|
264
264
|
T--;
|
|
265
265
|
for (; S >= 1 && T >= 0; S--, T--)
|
|
266
|
-
if (f[S] !==
|
|
266
|
+
if (f[S] !== O[T]) {
|
|
267
267
|
if (S !== 1 || T !== 1)
|
|
268
268
|
do
|
|
269
|
-
if (S--, T--, T < 0 || f[S] !==
|
|
270
|
-
var
|
|
269
|
+
if (S--, T--, T < 0 || f[S] !== O[T]) {
|
|
270
|
+
var M = `
|
|
271
271
|
` + f[S].replace(" at new ", " at ");
|
|
272
|
-
return e.displayName &&
|
|
272
|
+
return e.displayName && M.includes("<anonymous>") && (M = M.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, M), M;
|
|
273
273
|
}
|
|
274
274
|
while (S >= 1 && T >= 0);
|
|
275
275
|
break;
|
|
276
276
|
}
|
|
277
277
|
}
|
|
278
278
|
} finally {
|
|
279
|
-
xe = !1,
|
|
279
|
+
xe = !1, B.current = m, re(), Error.prepareStackTrace = x;
|
|
280
280
|
}
|
|
281
|
-
var se = e ? e.displayName || e.name : "",
|
|
282
|
-
return typeof e == "function" && ae.set(e,
|
|
281
|
+
var se = e ? e.displayName || e.name : "", q = se ? le(se) : "";
|
|
282
|
+
return typeof e == "function" && ae.set(e, q), q;
|
|
283
283
|
}
|
|
284
|
-
function He(e,
|
|
284
|
+
function He(e, n, r) {
|
|
285
285
|
return ke(e, !1);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
var
|
|
289
|
-
return !!(
|
|
287
|
+
function $e(e) {
|
|
288
|
+
var n = e.prototype;
|
|
289
|
+
return !!(n && n.isReactComponent);
|
|
290
290
|
}
|
|
291
|
-
function
|
|
291
|
+
function oe(e, n, r) {
|
|
292
292
|
if (e == null)
|
|
293
293
|
return "";
|
|
294
294
|
if (typeof e == "function")
|
|
295
|
-
return ke(e,
|
|
295
|
+
return ke(e, $e(e));
|
|
296
296
|
if (typeof e == "string")
|
|
297
297
|
return le(e);
|
|
298
298
|
switch (e) {
|
|
299
|
-
case
|
|
299
|
+
case j:
|
|
300
300
|
return le("Suspense");
|
|
301
301
|
case s:
|
|
302
302
|
return le("SuspenseList");
|
|
@@ -306,26 +306,26 @@ function cr() {
|
|
|
306
306
|
case c:
|
|
307
307
|
return He(e.render);
|
|
308
308
|
case C:
|
|
309
|
-
return
|
|
309
|
+
return oe(e.type, n, r);
|
|
310
310
|
case g: {
|
|
311
|
-
var
|
|
311
|
+
var o = e, x = o._payload, m = o._init;
|
|
312
312
|
try {
|
|
313
|
-
return
|
|
313
|
+
return oe(m(x), n, r);
|
|
314
314
|
} catch {
|
|
315
315
|
}
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
return "";
|
|
319
319
|
}
|
|
320
|
-
var G = Object.prototype.hasOwnProperty, be = {}, me =
|
|
320
|
+
var G = Object.prototype.hasOwnProperty, be = {}, me = F.ReactDebugCurrentFrame;
|
|
321
321
|
function a(e) {
|
|
322
322
|
if (e) {
|
|
323
|
-
var
|
|
324
|
-
me.setExtraStackFrame(
|
|
323
|
+
var n = e._owner, r = oe(e.type, e._source, n ? n.type : null);
|
|
324
|
+
me.setExtraStackFrame(r);
|
|
325
325
|
} else
|
|
326
326
|
me.setExtraStackFrame(null);
|
|
327
327
|
}
|
|
328
|
-
function I(e,
|
|
328
|
+
function I(e, n, r, o, x) {
|
|
329
329
|
{
|
|
330
330
|
var m = Function.call.bind(G);
|
|
331
331
|
for (var h in e)
|
|
@@ -333,100 +333,100 @@ function cr() {
|
|
|
333
333
|
var f = void 0;
|
|
334
334
|
try {
|
|
335
335
|
if (typeof e[h] != "function") {
|
|
336
|
-
var
|
|
337
|
-
throw
|
|
336
|
+
var O = Error((o || "React class") + ": " + r + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
337
|
+
throw O.name = "Invariant Violation", O;
|
|
338
338
|
}
|
|
339
|
-
f = e[h](
|
|
339
|
+
f = e[h](n, h, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
340
340
|
} catch (S) {
|
|
341
341
|
f = S;
|
|
342
342
|
}
|
|
343
|
-
f && !(f instanceof Error) && (a(x), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",
|
|
343
|
+
f && !(f instanceof Error) && (a(x), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", r, h, typeof f), a(null)), f instanceof Error && !(f.message in be) && (be[f.message] = !0, a(x), _("Failed %s type: %s", r, f.message), a(null));
|
|
344
344
|
}
|
|
345
345
|
}
|
|
346
346
|
}
|
|
347
347
|
var U = Array.isArray;
|
|
348
|
-
function
|
|
348
|
+
function P(e) {
|
|
349
349
|
return U(e);
|
|
350
350
|
}
|
|
351
|
-
function
|
|
351
|
+
function Ae(e) {
|
|
352
352
|
{
|
|
353
|
-
var
|
|
354
|
-
return
|
|
353
|
+
var n = typeof Symbol == "function" && Symbol.toStringTag, r = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
354
|
+
return r;
|
|
355
355
|
}
|
|
356
356
|
}
|
|
357
|
-
function
|
|
357
|
+
function J(e) {
|
|
358
358
|
try {
|
|
359
|
-
return
|
|
359
|
+
return Qe(e), !1;
|
|
360
360
|
} catch {
|
|
361
361
|
return !0;
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
|
-
function
|
|
364
|
+
function Qe(e) {
|
|
365
365
|
return "" + e;
|
|
366
366
|
}
|
|
367
|
-
function
|
|
368
|
-
if (
|
|
369
|
-
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",
|
|
367
|
+
function et(e) {
|
|
368
|
+
if (J(e))
|
|
369
|
+
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ae(e)), Qe(e);
|
|
370
370
|
}
|
|
371
|
-
var
|
|
371
|
+
var ye = F.ReactCurrentOwner, Ct = {
|
|
372
372
|
key: !0,
|
|
373
373
|
ref: !0,
|
|
374
374
|
__self: !0,
|
|
375
375
|
__source: !0
|
|
376
|
-
},
|
|
376
|
+
}, tt, nt, Fe;
|
|
377
377
|
Fe = {};
|
|
378
|
-
function
|
|
378
|
+
function jt(e) {
|
|
379
379
|
if (G.call(e, "ref")) {
|
|
380
|
-
var
|
|
381
|
-
if (
|
|
380
|
+
var n = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
381
|
+
if (n && n.isReactWarning)
|
|
382
382
|
return !1;
|
|
383
383
|
}
|
|
384
384
|
return e.ref !== void 0;
|
|
385
385
|
}
|
|
386
386
|
function wt(e) {
|
|
387
387
|
if (G.call(e, "key")) {
|
|
388
|
-
var
|
|
389
|
-
if (
|
|
388
|
+
var n = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
389
|
+
if (n && n.isReactWarning)
|
|
390
390
|
return !1;
|
|
391
391
|
}
|
|
392
392
|
return e.key !== void 0;
|
|
393
393
|
}
|
|
394
|
-
function Et(e,
|
|
395
|
-
if (typeof e.ref == "string" &&
|
|
396
|
-
var
|
|
397
|
-
Fe[
|
|
394
|
+
function Et(e, n) {
|
|
395
|
+
if (typeof e.ref == "string" && ye.current && n && ye.current.stateNode !== n) {
|
|
396
|
+
var r = A(ye.current.type);
|
|
397
|
+
Fe[r] || (_('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', A(ye.current.type), e.ref), Fe[r] = !0);
|
|
398
398
|
}
|
|
399
399
|
}
|
|
400
|
-
function Rt(e,
|
|
400
|
+
function Rt(e, n) {
|
|
401
401
|
{
|
|
402
|
-
var
|
|
403
|
-
|
|
402
|
+
var r = function() {
|
|
403
|
+
tt || (tt = !0, _("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
|
|
404
404
|
};
|
|
405
|
-
|
|
406
|
-
get:
|
|
405
|
+
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
406
|
+
get: r,
|
|
407
407
|
configurable: !0
|
|
408
408
|
});
|
|
409
409
|
}
|
|
410
410
|
}
|
|
411
|
-
function _t(e,
|
|
411
|
+
function _t(e, n) {
|
|
412
412
|
{
|
|
413
|
-
var
|
|
414
|
-
|
|
413
|
+
var r = function() {
|
|
414
|
+
nt || (nt = !0, _("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
|
|
415
415
|
};
|
|
416
|
-
|
|
417
|
-
get:
|
|
416
|
+
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
417
|
+
get: r,
|
|
418
418
|
configurable: !0
|
|
419
419
|
});
|
|
420
420
|
}
|
|
421
421
|
}
|
|
422
|
-
var St = function(e,
|
|
422
|
+
var St = function(e, n, r, o, x, m, h) {
|
|
423
423
|
var f = {
|
|
424
424
|
// This tag allows us to uniquely identify this as a React Element
|
|
425
|
-
$$typeof:
|
|
425
|
+
$$typeof: i,
|
|
426
426
|
// Built-in properties that belong on the element
|
|
427
427
|
type: e,
|
|
428
|
-
key:
|
|
429
|
-
ref:
|
|
428
|
+
key: n,
|
|
429
|
+
ref: r,
|
|
430
430
|
props: h,
|
|
431
431
|
// Record the component responsible for creating this element.
|
|
432
432
|
_owner: m
|
|
@@ -440,7 +440,7 @@ function cr() {
|
|
|
440
440
|
configurable: !1,
|
|
441
441
|
enumerable: !1,
|
|
442
442
|
writable: !1,
|
|
443
|
-
value:
|
|
443
|
+
value: o
|
|
444
444
|
}), Object.defineProperty(f, "_source", {
|
|
445
445
|
configurable: !1,
|
|
446
446
|
enumerable: !1,
|
|
@@ -448,41 +448,41 @@ function cr() {
|
|
|
448
448
|
value: x
|
|
449
449
|
}), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
|
|
450
450
|
};
|
|
451
|
-
function Tt(e,
|
|
451
|
+
function Tt(e, n, r, o, x) {
|
|
452
452
|
{
|
|
453
|
-
var m, h = {}, f = null,
|
|
454
|
-
|
|
455
|
-
for (m in
|
|
456
|
-
G.call(
|
|
453
|
+
var m, h = {}, f = null, O = null;
|
|
454
|
+
r !== void 0 && (et(r), f = "" + r), wt(n) && (et(n.key), f = "" + n.key), jt(n) && (O = n.ref, Et(n, x));
|
|
455
|
+
for (m in n)
|
|
456
|
+
G.call(n, m) && !Ct.hasOwnProperty(m) && (h[m] = n[m]);
|
|
457
457
|
if (e && e.defaultProps) {
|
|
458
458
|
var S = e.defaultProps;
|
|
459
459
|
for (m in S)
|
|
460
460
|
h[m] === void 0 && (h[m] = S[m]);
|
|
461
461
|
}
|
|
462
|
-
if (f ||
|
|
462
|
+
if (f || O) {
|
|
463
463
|
var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
464
|
-
f && Rt(h, T),
|
|
464
|
+
f && Rt(h, T), O && _t(h, T);
|
|
465
465
|
}
|
|
466
|
-
return St(e, f,
|
|
466
|
+
return St(e, f, O, x, o, ye.current, h);
|
|
467
467
|
}
|
|
468
468
|
}
|
|
469
|
-
var Me =
|
|
470
|
-
function
|
|
469
|
+
var Me = F.ReactCurrentOwner, rt = F.ReactDebugCurrentFrame;
|
|
470
|
+
function ie(e) {
|
|
471
471
|
if (e) {
|
|
472
|
-
var
|
|
473
|
-
rt.setExtraStackFrame(
|
|
472
|
+
var n = e._owner, r = oe(e.type, e._source, n ? n.type : null);
|
|
473
|
+
rt.setExtraStackFrame(r);
|
|
474
474
|
} else
|
|
475
475
|
rt.setExtraStackFrame(null);
|
|
476
476
|
}
|
|
477
|
-
var
|
|
478
|
-
|
|
479
|
-
function
|
|
480
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
477
|
+
var Be;
|
|
478
|
+
Be = !1;
|
|
479
|
+
function We(e) {
|
|
480
|
+
return typeof e == "object" && e !== null && e.$$typeof === i;
|
|
481
481
|
}
|
|
482
|
-
function
|
|
482
|
+
function lt() {
|
|
483
483
|
{
|
|
484
484
|
if (Me.current) {
|
|
485
|
-
var e =
|
|
485
|
+
var e = A(Me.current.type);
|
|
486
486
|
if (e)
|
|
487
487
|
return `
|
|
488
488
|
|
|
@@ -494,164 +494,164 @@ Check the render method of \`` + e + "`.";
|
|
|
494
494
|
function kt(e) {
|
|
495
495
|
return "";
|
|
496
496
|
}
|
|
497
|
-
var
|
|
497
|
+
var at = {};
|
|
498
498
|
function Dt(e) {
|
|
499
499
|
{
|
|
500
|
-
var
|
|
501
|
-
if (!
|
|
502
|
-
var
|
|
503
|
-
|
|
500
|
+
var n = lt();
|
|
501
|
+
if (!n) {
|
|
502
|
+
var r = typeof e == "string" ? e : e.displayName || e.name;
|
|
503
|
+
r && (n = `
|
|
504
504
|
|
|
505
|
-
Check the top-level render call using <` +
|
|
505
|
+
Check the top-level render call using <` + r + ">.");
|
|
506
506
|
}
|
|
507
|
-
return
|
|
507
|
+
return n;
|
|
508
508
|
}
|
|
509
509
|
}
|
|
510
|
-
function
|
|
510
|
+
function ot(e, n) {
|
|
511
511
|
{
|
|
512
512
|
if (!e._store || e._store.validated || e.key != null)
|
|
513
513
|
return;
|
|
514
514
|
e._store.validated = !0;
|
|
515
|
-
var
|
|
516
|
-
if (
|
|
515
|
+
var r = Dt(n);
|
|
516
|
+
if (at[r])
|
|
517
517
|
return;
|
|
518
|
-
|
|
519
|
-
var
|
|
520
|
-
e && e._owner && e._owner !== Me.current && (
|
|
518
|
+
at[r] = !0;
|
|
519
|
+
var o = "";
|
|
520
|
+
e && e._owner && e._owner !== Me.current && (o = " It was passed a child from " + A(e._owner.type) + "."), ie(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), ie(null);
|
|
521
521
|
}
|
|
522
522
|
}
|
|
523
|
-
function it(e,
|
|
523
|
+
function it(e, n) {
|
|
524
524
|
{
|
|
525
525
|
if (typeof e != "object")
|
|
526
526
|
return;
|
|
527
|
-
if (
|
|
528
|
-
for (var
|
|
529
|
-
var
|
|
530
|
-
|
|
527
|
+
if (P(e))
|
|
528
|
+
for (var r = 0; r < e.length; r++) {
|
|
529
|
+
var o = e[r];
|
|
530
|
+
We(o) && ot(o, n);
|
|
531
531
|
}
|
|
532
|
-
else if (
|
|
532
|
+
else if (We(e))
|
|
533
533
|
e._store && (e._store.validated = !0);
|
|
534
534
|
else if (e) {
|
|
535
|
-
var x =
|
|
535
|
+
var x = ee(e);
|
|
536
536
|
if (typeof x == "function" && x !== e.entries)
|
|
537
537
|
for (var m = x.call(e), h; !(h = m.next()).done; )
|
|
538
|
-
|
|
538
|
+
We(h.value) && ot(h.value, n);
|
|
539
539
|
}
|
|
540
540
|
}
|
|
541
541
|
}
|
|
542
542
|
function It(e) {
|
|
543
543
|
{
|
|
544
|
-
var
|
|
545
|
-
if (
|
|
544
|
+
var n = e.type;
|
|
545
|
+
if (n == null || typeof n == "string")
|
|
546
546
|
return;
|
|
547
|
-
var
|
|
548
|
-
if (typeof
|
|
549
|
-
|
|
550
|
-
else if (typeof
|
|
547
|
+
var r;
|
|
548
|
+
if (typeof n == "function")
|
|
549
|
+
r = n.propTypes;
|
|
550
|
+
else if (typeof n == "object" && (n.$$typeof === c || // Note: Memo only checks outer props here.
|
|
551
551
|
// Inner props are checked in the reconciler.
|
|
552
|
-
|
|
553
|
-
|
|
552
|
+
n.$$typeof === C))
|
|
553
|
+
r = n.propTypes;
|
|
554
554
|
else
|
|
555
555
|
return;
|
|
556
|
-
if (
|
|
557
|
-
var
|
|
558
|
-
I(
|
|
559
|
-
} else if (
|
|
560
|
-
|
|
561
|
-
var x =
|
|
556
|
+
if (r) {
|
|
557
|
+
var o = A(n);
|
|
558
|
+
I(r, e.props, "prop", o, e);
|
|
559
|
+
} else if (n.PropTypes !== void 0 && !Be) {
|
|
560
|
+
Be = !0;
|
|
561
|
+
var x = A(n);
|
|
562
562
|
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
|
|
563
563
|
}
|
|
564
|
-
typeof
|
|
564
|
+
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function Pt(e) {
|
|
568
568
|
{
|
|
569
|
-
for (var
|
|
570
|
-
var
|
|
571
|
-
if (
|
|
572
|
-
|
|
569
|
+
for (var n = Object.keys(e.props), r = 0; r < n.length; r++) {
|
|
570
|
+
var o = n[r];
|
|
571
|
+
if (o !== "children" && o !== "key") {
|
|
572
|
+
ie(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), ie(null);
|
|
573
573
|
break;
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
|
-
e.ref !== null && (
|
|
576
|
+
e.ref !== null && (ie(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), ie(null));
|
|
577
577
|
}
|
|
578
578
|
}
|
|
579
|
-
var
|
|
580
|
-
function
|
|
579
|
+
var st = {};
|
|
580
|
+
function ut(e, n, r, o, x, m) {
|
|
581
581
|
{
|
|
582
|
-
var h =
|
|
582
|
+
var h = H(e);
|
|
583
583
|
if (!h) {
|
|
584
584
|
var f = "";
|
|
585
585
|
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
586
|
-
var
|
|
587
|
-
|
|
586
|
+
var O = kt();
|
|
587
|
+
O ? f += O : f += lt();
|
|
588
588
|
var S;
|
|
589
|
-
e === null ? S = "null" :
|
|
589
|
+
e === null ? S = "null" : P(e) ? S = "array" : e !== void 0 && e.$$typeof === i ? (S = "<" + (A(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, f);
|
|
590
590
|
}
|
|
591
|
-
var T = Tt(e,
|
|
591
|
+
var T = Tt(e, n, r, x, m);
|
|
592
592
|
if (T == null)
|
|
593
593
|
return T;
|
|
594
594
|
if (h) {
|
|
595
|
-
var
|
|
596
|
-
if (
|
|
597
|
-
if (
|
|
598
|
-
if (
|
|
599
|
-
for (var se = 0; se <
|
|
600
|
-
it(
|
|
601
|
-
Object.freeze && Object.freeze(
|
|
595
|
+
var M = n.children;
|
|
596
|
+
if (M !== void 0)
|
|
597
|
+
if (o)
|
|
598
|
+
if (P(M)) {
|
|
599
|
+
for (var se = 0; se < M.length; se++)
|
|
600
|
+
it(M[se], e);
|
|
601
|
+
Object.freeze && Object.freeze(M);
|
|
602
602
|
} else
|
|
603
603
|
_("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
604
604
|
else
|
|
605
|
-
it(
|
|
605
|
+
it(M, e);
|
|
606
606
|
}
|
|
607
|
-
if (G.call(
|
|
608
|
-
var
|
|
607
|
+
if (G.call(n, "key")) {
|
|
608
|
+
var q = A(e), $ = Object.keys(n).filter(function(Ft) {
|
|
609
609
|
return Ft !== "key";
|
|
610
|
-
}), Ve =
|
|
611
|
-
if (!
|
|
612
|
-
var
|
|
610
|
+
}), Ve = $.length > 0 ? "{key: someKey, " + $.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
611
|
+
if (!st[q + Ve]) {
|
|
612
|
+
var At = $.length > 0 ? "{" + $.join(": ..., ") + ": ...}" : "{}";
|
|
613
613
|
_(`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} />`, Ve,
|
|
618
|
+
<%s key={someKey} {...props} />`, Ve, q, At, q), st[q + Ve] = !0;
|
|
619
619
|
}
|
|
620
620
|
}
|
|
621
|
-
return e === d ?
|
|
621
|
+
return e === d ? Pt(T) : It(T), T;
|
|
622
622
|
}
|
|
623
623
|
}
|
|
624
|
-
function
|
|
625
|
-
return
|
|
624
|
+
function Ot(e, n, r) {
|
|
625
|
+
return ut(e, n, r, !0);
|
|
626
626
|
}
|
|
627
|
-
function Lt(e,
|
|
628
|
-
return
|
|
627
|
+
function Lt(e, n, r) {
|
|
628
|
+
return ut(e, n, r, !1);
|
|
629
629
|
}
|
|
630
|
-
var Ht = Lt,
|
|
631
|
-
|
|
632
|
-
}()),
|
|
630
|
+
var Ht = Lt, $t = Ot;
|
|
631
|
+
je.Fragment = d, je.jsx = Ht, je.jsxs = $t;
|
|
632
|
+
}()), je;
|
|
633
633
|
}
|
|
634
|
-
process.env.NODE_ENV === "production" ?
|
|
635
|
-
var t =
|
|
636
|
-
const Ye = 60,
|
|
634
|
+
process.env.NODE_ENV === "production" ? Ze.exports = dn() : Ze.exports = fn();
|
|
635
|
+
var t = Ze.exports;
|
|
636
|
+
const Ye = 60, gt = 6, pn = (l) => {
|
|
637
637
|
const {
|
|
638
|
-
activeStepIndex:
|
|
638
|
+
activeStepIndex: i,
|
|
639
639
|
hideIndicators: p = !1,
|
|
640
640
|
steps: d,
|
|
641
|
-
stepperTheme:
|
|
641
|
+
stepperTheme: y = {
|
|
642
642
|
light: "eggplant.light",
|
|
643
643
|
base: "eggplant.base"
|
|
644
644
|
}
|
|
645
645
|
} = l, { activeStep: v, setActiveStep: b } = Mt({
|
|
646
|
-
index:
|
|
646
|
+
index: i,
|
|
647
647
|
count: d.length
|
|
648
648
|
});
|
|
649
649
|
return Z(() => {
|
|
650
|
-
b(
|
|
651
|
-
}, [
|
|
650
|
+
b(i);
|
|
651
|
+
}, [i, b]), /* @__PURE__ */ t.jsx(
|
|
652
652
|
E,
|
|
653
653
|
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
|
|
654
|
-
|
|
654
|
+
Bt,
|
|
655
655
|
{
|
|
656
656
|
role: "progressbar",
|
|
657
657
|
index: v,
|
|
@@ -659,14 +659,14 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
659
659
|
display: "flex",
|
|
660
660
|
flexWrap: "nowrap",
|
|
661
661
|
children: d.map((R, c) => {
|
|
662
|
-
const
|
|
662
|
+
const j = v === c, s = c === 0, C = c === d.length - 1, g = v > c;
|
|
663
663
|
let u = `${Ye}px`;
|
|
664
|
-
const D = `calc(100% - ((${Ye * (d.length - 1)}px) - (${d.length - 1} * ${
|
|
665
|
-
return
|
|
664
|
+
const D = `calc(100% - ((${Ye * (d.length - 1)}px) - (${d.length - 1} * ${gt * 2}px)))`;
|
|
665
|
+
return j ? u = D : (s || C) && (u = `${Ye - gt}px`), /* @__PURE__ */ t.jsx(
|
|
666
666
|
E,
|
|
667
667
|
{
|
|
668
668
|
width: u,
|
|
669
|
-
opacity: g ||
|
|
669
|
+
opacity: g || j ? 1 : 0.2,
|
|
670
670
|
paddingRight: C ? "0" : "6px",
|
|
671
671
|
paddingLeft: s ? "0" : "6px",
|
|
672
672
|
transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
|
|
@@ -682,7 +682,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
682
682
|
width: "100%",
|
|
683
683
|
position: "absolute",
|
|
684
684
|
top: "0",
|
|
685
|
-
backgroundColor: g ?
|
|
685
|
+
backgroundColor: g ? y.light : y.base,
|
|
686
686
|
height: p ? "4px" : "8px",
|
|
687
687
|
borderRadius: "4",
|
|
688
688
|
left: "0"
|
|
@@ -697,33 +697,33 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
697
697
|
}
|
|
698
698
|
) }
|
|
699
699
|
);
|
|
700
|
-
},
|
|
700
|
+
}, kn = Xe.memo(pn), Dn = ({
|
|
701
701
|
children: l,
|
|
702
|
-
...
|
|
702
|
+
...i
|
|
703
703
|
}) => /* @__PURE__ */ t.jsx(
|
|
704
704
|
qt,
|
|
705
|
-
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...
|
|
706
|
-
),
|
|
705
|
+
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...i, children: l }
|
|
706
|
+
), Pe = (l, i) => {
|
|
707
707
|
const p = (l == null ? void 0 : l.startsWith("http")) || (l == null ? void 0 : l.startsWith("mailto"));
|
|
708
|
-
return
|
|
708
|
+
return i && !p ? {
|
|
709
709
|
to: l
|
|
710
710
|
} : {
|
|
711
711
|
href: l
|
|
712
712
|
};
|
|
713
713
|
}, ze = bt(
|
|
714
|
-
(l,
|
|
714
|
+
(l, i) => {
|
|
715
715
|
const {
|
|
716
716
|
label: p,
|
|
717
717
|
additionalContent: d,
|
|
718
|
-
mainTextFontSize:
|
|
718
|
+
mainTextFontSize: y,
|
|
719
719
|
linkComponent: v,
|
|
720
720
|
href: b,
|
|
721
721
|
...R
|
|
722
|
-
} = l, c = v ||
|
|
722
|
+
} = l, c = v || Y, j = Pe(b, !!v);
|
|
723
723
|
return /* @__PURE__ */ t.jsxs(
|
|
724
724
|
E,
|
|
725
725
|
{
|
|
726
|
-
ref:
|
|
726
|
+
ref: i,
|
|
727
727
|
as: c,
|
|
728
728
|
display: "flex",
|
|
729
729
|
alignItems: "center",
|
|
@@ -736,14 +736,14 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
736
736
|
borderColor: ["tints.cream", null, null, "unset"],
|
|
737
737
|
width: ["100%", null, null, "fit-content"],
|
|
738
738
|
cursor: "pointer",
|
|
739
|
-
...
|
|
739
|
+
...j,
|
|
740
740
|
...R,
|
|
741
741
|
children: [
|
|
742
742
|
/* @__PURE__ */ t.jsx(
|
|
743
743
|
ue,
|
|
744
744
|
{
|
|
745
745
|
display: ["none", null, null, "block"],
|
|
746
|
-
as:
|
|
746
|
+
as: dt,
|
|
747
747
|
fontSize: "lg",
|
|
748
748
|
color: "viridian.light",
|
|
749
749
|
role: "img",
|
|
@@ -757,7 +757,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
757
757
|
/* @__PURE__ */ t.jsx(
|
|
758
758
|
K,
|
|
759
759
|
{
|
|
760
|
-
fontSize: [
|
|
760
|
+
fontSize: [y || "xl", null, null, "lg"],
|
|
761
761
|
fontWeight: "medium",
|
|
762
762
|
children: p
|
|
763
763
|
}
|
|
@@ -780,7 +780,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
780
780
|
ue,
|
|
781
781
|
{
|
|
782
782
|
display: ["block", null, null, "none"],
|
|
783
|
-
as:
|
|
783
|
+
as: dt,
|
|
784
784
|
fontSize: "2xl",
|
|
785
785
|
color: "tints.uiGrey",
|
|
786
786
|
role: "img",
|
|
@@ -795,12 +795,12 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
795
795
|
);
|
|
796
796
|
}
|
|
797
797
|
), Ie = bt(
|
|
798
|
-
(l,
|
|
799
|
-
const { children: p, isSelected: d, ...
|
|
798
|
+
(l, i) => {
|
|
799
|
+
const { children: p, isSelected: d, ...y } = l, v = l.backgroundColor || (d ? "tints.lightCream" : "transparent");
|
|
800
800
|
return /* @__PURE__ */ t.jsx(
|
|
801
801
|
xt,
|
|
802
802
|
{
|
|
803
|
-
ref:
|
|
803
|
+
ref: i,
|
|
804
804
|
borderRadius: "full",
|
|
805
805
|
backgroundColor: v,
|
|
806
806
|
fontSize: "lg !important",
|
|
@@ -824,23 +824,23 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
824
824
|
textDecoration: "none",
|
|
825
825
|
filter: "brightness(0.95)"
|
|
826
826
|
},
|
|
827
|
-
...
|
|
827
|
+
...y,
|
|
828
828
|
children: p
|
|
829
829
|
}
|
|
830
830
|
);
|
|
831
831
|
}
|
|
832
|
-
),
|
|
832
|
+
), hn = ({
|
|
833
833
|
title: l,
|
|
834
|
-
description:
|
|
834
|
+
description: i,
|
|
835
835
|
imageSrc: p,
|
|
836
836
|
imageElement: d,
|
|
837
|
-
button:
|
|
837
|
+
button: y,
|
|
838
838
|
backgroundColor: v = "viridian.wash",
|
|
839
839
|
onClick: b,
|
|
840
840
|
href: R,
|
|
841
841
|
linkComponent: c
|
|
842
842
|
}) => {
|
|
843
|
-
const g = c ||
|
|
843
|
+
const g = c || Y, u = Pe(R, !!c), D = Je({
|
|
844
844
|
base: !1,
|
|
845
845
|
tablet: !1,
|
|
846
846
|
largeTablet: !1,
|
|
@@ -884,7 +884,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
884
884
|
}
|
|
885
885
|
},
|
|
886
886
|
children: p ? /* @__PURE__ */ t.jsx(
|
|
887
|
-
|
|
887
|
+
Wt,
|
|
888
888
|
{
|
|
889
889
|
src: p,
|
|
890
890
|
objectFit: "cover",
|
|
@@ -931,11 +931,11 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
931
931
|
),
|
|
932
932
|
/* @__PURE__ */ t.jsx(
|
|
933
933
|
K,
|
|
934
|
-
{ fontSize: "sm", color: "tints.darkGrey", children:
|
|
934
|
+
{ fontSize: "sm", color: "tints.darkGrey", children: i }
|
|
935
935
|
)
|
|
936
936
|
] }
|
|
937
937
|
),
|
|
938
|
-
D ? /* @__PURE__ */ t.jsx(E, { children:
|
|
938
|
+
D ? /* @__PURE__ */ t.jsx(E, { children: y }) : null
|
|
939
939
|
]
|
|
940
940
|
}
|
|
941
941
|
)
|
|
@@ -963,11 +963,15 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
963
963
|
},
|
|
964
964
|
...l
|
|
965
965
|
}
|
|
966
|
-
),
|
|
967
|
-
|
|
966
|
+
), gn = ({
|
|
967
|
+
color: l = Ue.colors.viridian.base,
|
|
968
|
+
width: i
|
|
969
|
+
}) => /* @__PURE__ */ t.jsx(
|
|
970
|
+
Qt,
|
|
968
971
|
{
|
|
969
|
-
|
|
970
|
-
|
|
972
|
+
as: "svg",
|
|
973
|
+
width: i,
|
|
974
|
+
height: "auto",
|
|
971
975
|
viewBox: "0 0 116 24",
|
|
972
976
|
fill: "none",
|
|
973
977
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -978,26 +982,26 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
978
982
|
{ id: "Everlywell Logo", children: /* @__PURE__ */ t.jsx(
|
|
979
983
|
"path",
|
|
980
984
|
{
|
|
985
|
+
fill: l,
|
|
981
986
|
id: "Everlywell Logo_2",
|
|
982
987
|
fillRule: "evenodd",
|
|
983
988
|
clipRule: "evenodd",
|
|
984
|
-
d: "M54.8224 1V17.8352H52.4272V1H54.8224ZM5.65731 14.992C4.9835 14.4474 4.59261 13.726 4.48231 12.8278H13.7822C13.9984 10.4829 13.5723 8.70006 12.5039 7.47915C11.4322 6.25824 9.93769 5.64945 8.01698 5.64945C6.23518 5.64945 4.78896 6.22479 3.67214 7.38216C2.55841 8.5395 2 9.92767 2 11.8377C2 13.7476 2.56171 15.273 3.68501 16.4136C4.80831 17.5542 6.30612 18.1229 8.18163 18.1229C9.11125 18.1229 10.0216 17.9489 10.9125 17.5944C11.8034 17.2431 12.533 16.7447 13.1075 16.1025L11.5517 14.5371C11.2095 14.9217 10.7253 15.2294 10.099 15.4636C9.46959 15.6944 8.84662 15.8115 8.22684 15.8115C7.18735 15.8115 6.33197 15.5372 5.65731 14.992ZM10.4671 8.60977C11.0772 9.10817 11.416 9.81395 11.4774 10.7305H4.52751C4.71152 9.81395 5.12475 9.10817 5.77027 8.60977C6.41589 8.11136 7.18735 7.86384 8.08473 7.86384C9.05966 7.86384 9.85696 8.11136 10.4671 8.60977ZM22.1465 17.8819L27.0047 5.93699H24.3771L22.6565 10.2486L20.8424 15.2828L18.8217 9.76697L17.2884 5.93699H14.6382L19.5189 17.8819H22.1465ZM30.3737 12.8244C30.4835 13.7242 30.8741 14.4467 31.5487 14.992C32.2234 15.5372 33.0788 15.8115 34.1181 15.8115C34.7379 15.8115 35.361 15.6944 35.9905 15.4636C36.6166 15.2294 37.1009 14.9217 37.4431 14.5371L38.999 16.1025C38.4244 16.7447 37.6948 17.2431 36.8039 17.5944C35.9129 17.9489 35.0027 18.1229 34.0729 18.1229C32.1975 18.1229 30.6997 17.5542 29.5764 16.4136C28.453 15.273 27.8914 13.7476 27.8914 11.8377C27.8914 9.92767 28.4498 8.5395 29.5635 7.38216C30.6804 6.22479 32.1265 5.64945 33.9084 5.64945C35.829 5.64945 37.3236 6.25824 38.3952 7.47915C39.4638 8.70006 39.8899 10.4829 39.6736 12.8278H30.3769L30.3737 12.8244ZM37.3688 10.7305C37.3075 9.81395 36.9685 9.10817 36.3584 8.60977C35.7483 8.11136 34.951 7.86384 33.9762 7.86384C33.0788 7.86384 32.3073 8.11136 31.6617 8.60977C31.0161 9.10817 30.6029 9.81395 30.4189 10.7305H37.3688ZM44.5032 7.5263L44.3418 5.96085H44.3385H42.108V17.8355H44.5032V11.4031C44.5032 10.3595 44.8001 9.5567 45.3877 8.99473C45.9751 8.43278 46.7112 8.15181 47.5956 8.15181C48.3703 8.15181 49.0417 8.39264 49.6163 8.87432L50.7073 6.70677C49.9811 6.03445 49.0353 5.6966 47.8732 5.6966C46.2914 5.6966 45.1681 6.30539 44.5032 7.5263ZM60.3782 12.3193V5.96054H57.983V12.3428C57.983 14.1089 58.4286 15.5004 59.3195 16.5106C60.2104 17.5241 61.3789 18.0292 62.8186 18.0292C64.552 18.0292 65.8787 17.387 66.7923 16.1025V18.1262C66.7923 19.2669 66.4824 20.1499 65.8626 20.7754C65.2429 21.401 64.494 21.7154 63.6094 21.7154C61.8889 21.7154 60.8754 20.9661 60.5654 19.4742H58.2187C58.3252 20.9326 58.8644 22.0532 59.8327 22.8326C60.8011 23.612 62.1214 24 63.6546 24C65.188 24 66.4727 23.5049 67.5121 22.5081C68.5515 21.5147 69.0712 20.0697 69.0712 18.1731V5.96054H66.6761V12.1521C66.6761 13.1623 66.3791 14.0153 65.7819 14.7043C65.188 15.3967 64.4681 15.7412 63.4933 15.7412C62.5184 15.7412 61.7566 15.4268 61.2047 14.8013C60.6526 14.1725 60.3782 13.3463 60.3782 12.3193ZM81.5989 5.93699L84.3427 15.2828L87.1768 5.93699H89.8496L85.8275 17.8819H83.0385L81.6892 13.9315L80.5724 9.79039L79.4328 13.9315L78.0836 17.8819H75.2945L71.2498 5.93699H73.9453L76.7795 15.2828L79.5232 5.93699H81.5924H81.5989ZM94.65 14.992C93.9754 14.4467 93.5848 13.7242 93.475 12.8244L93.4847 12.8278H102.781C102.998 10.4829 102.572 8.70006 101.503 7.47915C100.431 6.25824 98.9368 5.64945 97.0162 5.64945C95.2343 5.64945 93.785 6.22479 92.668 7.38216C91.5544 8.5395 90.9959 9.92767 90.9959 11.8377C90.9959 13.7476 91.5576 15.273 92.6809 16.4136C93.8043 17.5542 95.3021 18.1229 97.1775 18.1229C98.1073 18.1229 99.0175 17.9489 99.9084 17.5944C100.799 17.2431 101.529 16.7447 102.103 16.1025L100.544 14.5371C100.202 14.9217 99.7212 15.2328 99.0918 15.4636C98.4623 15.6944 97.8393 15.8115 97.2196 15.8115C96.1802 15.8115 95.3247 15.5372 94.65 14.992ZM99.4598 8.60977C100.07 9.10817 100.409 9.81395 100.47 10.7305H93.5202C93.7042 9.81395 94.1175 9.10817 94.763 8.60977C95.4086 8.11136 96.1802 7.86384 97.0774 7.86384C98.0524 7.86384 98.8465 8.11136 99.4598 8.60977ZM107.698 1V17.8352H105.303V1H107.698ZM113.53 17.8352V1H111.135V17.8352H113.53Z"
|
|
985
|
-
fill: "#28724F"
|
|
989
|
+
d: "M54.8224 1V17.8352H52.4272V1H54.8224ZM5.65731 14.992C4.9835 14.4474 4.59261 13.726 4.48231 12.8278H13.7822C13.9984 10.4829 13.5723 8.70006 12.5039 7.47915C11.4322 6.25824 9.93769 5.64945 8.01698 5.64945C6.23518 5.64945 4.78896 6.22479 3.67214 7.38216C2.55841 8.5395 2 9.92767 2 11.8377C2 13.7476 2.56171 15.273 3.68501 16.4136C4.80831 17.5542 6.30612 18.1229 8.18163 18.1229C9.11125 18.1229 10.0216 17.9489 10.9125 17.5944C11.8034 17.2431 12.533 16.7447 13.1075 16.1025L11.5517 14.5371C11.2095 14.9217 10.7253 15.2294 10.099 15.4636C9.46959 15.6944 8.84662 15.8115 8.22684 15.8115C7.18735 15.8115 6.33197 15.5372 5.65731 14.992ZM10.4671 8.60977C11.0772 9.10817 11.416 9.81395 11.4774 10.7305H4.52751C4.71152 9.81395 5.12475 9.10817 5.77027 8.60977C6.41589 8.11136 7.18735 7.86384 8.08473 7.86384C9.05966 7.86384 9.85696 8.11136 10.4671 8.60977ZM22.1465 17.8819L27.0047 5.93699H24.3771L22.6565 10.2486L20.8424 15.2828L18.8217 9.76697L17.2884 5.93699H14.6382L19.5189 17.8819H22.1465ZM30.3737 12.8244C30.4835 13.7242 30.8741 14.4467 31.5487 14.992C32.2234 15.5372 33.0788 15.8115 34.1181 15.8115C34.7379 15.8115 35.361 15.6944 35.9905 15.4636C36.6166 15.2294 37.1009 14.9217 37.4431 14.5371L38.999 16.1025C38.4244 16.7447 37.6948 17.2431 36.8039 17.5944C35.9129 17.9489 35.0027 18.1229 34.0729 18.1229C32.1975 18.1229 30.6997 17.5542 29.5764 16.4136C28.453 15.273 27.8914 13.7476 27.8914 11.8377C27.8914 9.92767 28.4498 8.5395 29.5635 7.38216C30.6804 6.22479 32.1265 5.64945 33.9084 5.64945C35.829 5.64945 37.3236 6.25824 38.3952 7.47915C39.4638 8.70006 39.8899 10.4829 39.6736 12.8278H30.3769L30.3737 12.8244ZM37.3688 10.7305C37.3075 9.81395 36.9685 9.10817 36.3584 8.60977C35.7483 8.11136 34.951 7.86384 33.9762 7.86384C33.0788 7.86384 32.3073 8.11136 31.6617 8.60977C31.0161 9.10817 30.6029 9.81395 30.4189 10.7305H37.3688ZM44.5032 7.5263L44.3418 5.96085H44.3385H42.108V17.8355H44.5032V11.4031C44.5032 10.3595 44.8001 9.5567 45.3877 8.99473C45.9751 8.43278 46.7112 8.15181 47.5956 8.15181C48.3703 8.15181 49.0417 8.39264 49.6163 8.87432L50.7073 6.70677C49.9811 6.03445 49.0353 5.6966 47.8732 5.6966C46.2914 5.6966 45.1681 6.30539 44.5032 7.5263ZM60.3782 12.3193V5.96054H57.983V12.3428C57.983 14.1089 58.4286 15.5004 59.3195 16.5106C60.2104 17.5241 61.3789 18.0292 62.8186 18.0292C64.552 18.0292 65.8787 17.387 66.7923 16.1025V18.1262C66.7923 19.2669 66.4824 20.1499 65.8626 20.7754C65.2429 21.401 64.494 21.7154 63.6094 21.7154C61.8889 21.7154 60.8754 20.9661 60.5654 19.4742H58.2187C58.3252 20.9326 58.8644 22.0532 59.8327 22.8326C60.8011 23.612 62.1214 24 63.6546 24C65.188 24 66.4727 23.5049 67.5121 22.5081C68.5515 21.5147 69.0712 20.0697 69.0712 18.1731V5.96054H66.6761V12.1521C66.6761 13.1623 66.3791 14.0153 65.7819 14.7043C65.188 15.3967 64.4681 15.7412 63.4933 15.7412C62.5184 15.7412 61.7566 15.4268 61.2047 14.8013C60.6526 14.1725 60.3782 13.3463 60.3782 12.3193ZM81.5989 5.93699L84.3427 15.2828L87.1768 5.93699H89.8496L85.8275 17.8819H83.0385L81.6892 13.9315L80.5724 9.79039L79.4328 13.9315L78.0836 17.8819H75.2945L71.2498 5.93699H73.9453L76.7795 15.2828L79.5232 5.93699H81.5924H81.5989ZM94.65 14.992C93.9754 14.4467 93.5848 13.7242 93.475 12.8244L93.4847 12.8278H102.781C102.998 10.4829 102.572 8.70006 101.503 7.47915C100.431 6.25824 98.9368 5.64945 97.0162 5.64945C95.2343 5.64945 93.785 6.22479 92.668 7.38216C91.5544 8.5395 90.9959 9.92767 90.9959 11.8377C90.9959 13.7476 91.5576 15.273 92.6809 16.4136C93.8043 17.5542 95.3021 18.1229 97.1775 18.1229C98.1073 18.1229 99.0175 17.9489 99.9084 17.5944C100.799 17.2431 101.529 16.7447 102.103 16.1025L100.544 14.5371C100.202 14.9217 99.7212 15.2328 99.0918 15.4636C98.4623 15.6944 97.8393 15.8115 97.2196 15.8115C96.1802 15.8115 95.3247 15.5372 94.65 14.992ZM99.4598 8.60977C100.07 9.10817 100.409 9.81395 100.47 10.7305H93.5202C93.7042 9.81395 94.1175 9.10817 94.763 8.60977C95.4086 8.11136 96.1802 7.86384 97.0774 7.86384C98.0524 7.86384 98.8465 8.11136 99.4598 8.60977ZM107.698 1V17.8352H105.303V1H107.698ZM113.53 17.8352V1H111.135V17.8352H113.53Z"
|
|
986
990
|
}
|
|
987
991
|
) }
|
|
988
992
|
)
|
|
989
993
|
}
|
|
990
|
-
),
|
|
994
|
+
), vn = ({
|
|
991
995
|
desktopTopButtons: l,
|
|
992
|
-
kitRegistrationElement:
|
|
996
|
+
kitRegistrationElement: i,
|
|
993
997
|
profileElement: p,
|
|
994
998
|
cartElement: d,
|
|
995
|
-
onSearchClick:
|
|
999
|
+
onSearchClick: y,
|
|
996
1000
|
onMenuClick: v,
|
|
997
1001
|
hasSearch: b = !1,
|
|
998
1002
|
logoLink: R = "https://www.everlywell.com",
|
|
999
1003
|
setTopOffset: c,
|
|
1000
|
-
linkComponent:
|
|
1004
|
+
linkComponent: j,
|
|
1001
1005
|
onLogoClick: s
|
|
1002
1006
|
}) => {
|
|
1003
1007
|
const C = Jt(null), g = mt(() => {
|
|
@@ -1020,7 +1024,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1020
1024
|
position: "sticky",
|
|
1021
1025
|
top: "0",
|
|
1022
1026
|
width: "100%",
|
|
1023
|
-
zIndex: ["sticky", null, null, "
|
|
1027
|
+
zIndex: ["sticky", null, null, "modal"],
|
|
1024
1028
|
onMouseEnter: g,
|
|
1025
1029
|
children: /* @__PURE__ */ t.jsxs(
|
|
1026
1030
|
k,
|
|
@@ -1033,9 +1037,9 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1033
1037
|
{
|
|
1034
1038
|
"aria-label": "Go to homepage",
|
|
1035
1039
|
onClick: s,
|
|
1036
|
-
as:
|
|
1037
|
-
...
|
|
1038
|
-
children: /* @__PURE__ */ t.jsx(
|
|
1040
|
+
as: j || Y,
|
|
1041
|
+
...Pe(R, !!j),
|
|
1042
|
+
children: /* @__PURE__ */ t.jsx(gn, { width: "116px" })
|
|
1039
1043
|
}
|
|
1040
1044
|
),
|
|
1041
1045
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1049,14 +1053,14 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1049
1053
|
{ alignItems: "center", gap: "2", children: [
|
|
1050
1054
|
/* @__PURE__ */ t.jsx(
|
|
1051
1055
|
E,
|
|
1052
|
-
{ display: ["none", null, null, "block"], children:
|
|
1056
|
+
{ display: ["none", null, null, "block"], children: i }
|
|
1053
1057
|
),
|
|
1054
1058
|
b ? /* @__PURE__ */ t.jsx(
|
|
1055
1059
|
ce,
|
|
1056
1060
|
{
|
|
1057
1061
|
"aria-label": "Search",
|
|
1058
|
-
icon: /* @__PURE__ */ t.jsx(ue, { as:
|
|
1059
|
-
onClick:
|
|
1062
|
+
icon: /* @__PURE__ */ t.jsx(ue, { as: yt }),
|
|
1063
|
+
onClick: y
|
|
1060
1064
|
}
|
|
1061
1065
|
) : null,
|
|
1062
1066
|
d,
|
|
@@ -1065,7 +1069,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1065
1069
|
{ display: ["flex", null, null, "none"], children: /* @__PURE__ */ t.jsx(
|
|
1066
1070
|
ce,
|
|
1067
1071
|
{
|
|
1068
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1072
|
+
icon: /* @__PURE__ */ t.jsx(ln, {}),
|
|
1069
1073
|
"aria-label": "menu",
|
|
1070
1074
|
"data-testid": "menu-button",
|
|
1071
1075
|
onClick: v
|
|
@@ -1079,13 +1083,13 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1079
1083
|
)
|
|
1080
1084
|
}
|
|
1081
1085
|
);
|
|
1082
|
-
},
|
|
1086
|
+
}, xn = ({
|
|
1083
1087
|
count: l = 0,
|
|
1084
|
-
...
|
|
1088
|
+
...i
|
|
1085
1089
|
}) => /* @__PURE__ */ t.jsxs(
|
|
1086
1090
|
E,
|
|
1087
1091
|
{ position: "relative", display: "inline-block", children: [
|
|
1088
|
-
/* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(
|
|
1092
|
+
/* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(an, {}), ...i }),
|
|
1089
1093
|
l > 0 && /* @__PURE__ */ t.jsx(
|
|
1090
1094
|
E,
|
|
1091
1095
|
{
|
|
@@ -1108,9 +1112,9 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1108
1112
|
}
|
|
1109
1113
|
)
|
|
1110
1114
|
] }
|
|
1111
|
-
),
|
|
1115
|
+
), In = ({
|
|
1112
1116
|
numDesktopLinks: l = 5,
|
|
1113
|
-
showPromoButton:
|
|
1117
|
+
showPromoButton: i = !1
|
|
1114
1118
|
}) => /* @__PURE__ */ t.jsx(
|
|
1115
1119
|
Nt,
|
|
1116
1120
|
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
|
|
@@ -1125,7 +1129,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1125
1129
|
{ justify: "space-between", align: "center", children: [
|
|
1126
1130
|
/* @__PURE__ */ t.jsx(Ne, { w: "120px", h: "48px" }),
|
|
1127
1131
|
/* @__PURE__ */ t.jsxs(
|
|
1128
|
-
|
|
1132
|
+
ct,
|
|
1129
1133
|
{
|
|
1130
1134
|
spacing: 8,
|
|
1131
1135
|
marginLeft: 12,
|
|
@@ -1135,12 +1139,12 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1135
1139
|
Array.from({ length: l }).map(
|
|
1136
1140
|
(p, d) => /* @__PURE__ */ t.jsx(Ne, { width: "90px", height: "48px" }, d)
|
|
1137
1141
|
),
|
|
1138
|
-
|
|
1142
|
+
i && /* @__PURE__ */ t.jsx(Ne, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1139
1143
|
]
|
|
1140
1144
|
}
|
|
1141
1145
|
),
|
|
1142
1146
|
/* @__PURE__ */ t.jsxs(
|
|
1143
|
-
|
|
1147
|
+
ct,
|
|
1144
1148
|
{ spacing: 4, ml: "auto", children: [
|
|
1145
1149
|
/* @__PURE__ */ t.jsx(
|
|
1146
1150
|
De,
|
|
@@ -1164,46 +1168,47 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1164
1168
|
)
|
|
1165
1169
|
}
|
|
1166
1170
|
) }
|
|
1167
|
-
),
|
|
1171
|
+
), bn = (l, i) => {
|
|
1168
1172
|
let p;
|
|
1169
1173
|
return (...d) => {
|
|
1170
1174
|
p && clearTimeout(p), p = setTimeout(() => {
|
|
1171
1175
|
l(...d);
|
|
1172
|
-
},
|
|
1176
|
+
}, i);
|
|
1173
1177
|
};
|
|
1174
|
-
},
|
|
1178
|
+
}, Ke = "nav-drawer-hover", vt = (l) => {
|
|
1175
1179
|
window.dispatchEvent(
|
|
1176
|
-
new CustomEvent(
|
|
1180
|
+
new CustomEvent(Ke, {
|
|
1177
1181
|
detail: { isHovering: l },
|
|
1178
1182
|
bubbles: !0,
|
|
1179
1183
|
cancelable: !0
|
|
1180
1184
|
})
|
|
1181
1185
|
);
|
|
1182
|
-
},
|
|
1186
|
+
}, mn = (l = !1, i = !1, p = !1) => l || !i ? "column" : p ? "row" : "row-reverse", yn = qe(Yt), Cn = qe(zt), Ge = ({
|
|
1183
1187
|
isOpen: l = !1,
|
|
1184
|
-
onClose:
|
|
1188
|
+
onClose: i,
|
|
1185
1189
|
title: p,
|
|
1186
1190
|
navDrawerLinks: d,
|
|
1187
|
-
bottomNavButtons:
|
|
1191
|
+
bottomNavButtons: y,
|
|
1188
1192
|
spotlightCards: v,
|
|
1189
1193
|
bottomButton: b,
|
|
1190
1194
|
hasBackButton: R = !0,
|
|
1191
1195
|
onBackClick: c,
|
|
1192
|
-
hasOnlySpotlightCards:
|
|
1196
|
+
hasOnlySpotlightCards: j = !1,
|
|
1193
1197
|
hasSearch: s = !1,
|
|
1194
1198
|
onSearch: C = () => ({}),
|
|
1195
1199
|
topOffset: g
|
|
1196
1200
|
}) => {
|
|
1197
|
-
|
|
1201
|
+
var X, z;
|
|
1202
|
+
const u = Je({
|
|
1198
1203
|
base: !1,
|
|
1199
1204
|
tablet: !1,
|
|
1200
1205
|
largeTablet: !1,
|
|
1201
1206
|
desktop: !0
|
|
1202
|
-
}), D = u ? "top" : "right", [
|
|
1203
|
-
|
|
1207
|
+
}), D = u ? "top" : "right", [Q, ee] = W(0), [F, _] = W(!1), de = () => {
|
|
1208
|
+
ee((L) => L + 1);
|
|
1204
1209
|
}, fe = mt(
|
|
1205
|
-
|
|
1206
|
-
C(
|
|
1210
|
+
bn((L) => {
|
|
1211
|
+
C(L), de();
|
|
1207
1212
|
}, 100),
|
|
1208
1213
|
[]
|
|
1209
1214
|
);
|
|
@@ -1211,25 +1216,39 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1211
1216
|
l && _(!0);
|
|
1212
1217
|
}, [l]);
|
|
1213
1218
|
const pe = () => {
|
|
1214
|
-
l || (_(!1),
|
|
1219
|
+
l || (_(!1), i());
|
|
1215
1220
|
};
|
|
1216
1221
|
return /* @__PURE__ */ t.jsx(
|
|
1217
1222
|
Gt,
|
|
1218
1223
|
{
|
|
1219
|
-
isOpen:
|
|
1224
|
+
isOpen: F || l,
|
|
1220
1225
|
onClose: () => {
|
|
1221
|
-
|
|
1226
|
+
F && u || i();
|
|
1222
1227
|
},
|
|
1223
1228
|
placement: D,
|
|
1224
1229
|
blockScrollOnMount: !1,
|
|
1225
1230
|
autoFocus: !1,
|
|
1231
|
+
...u ? {
|
|
1232
|
+
styleConfig: {
|
|
1233
|
+
baseStyle: {
|
|
1234
|
+
...Ue.components.Drawer.baseStyle,
|
|
1235
|
+
dialogContainer: {
|
|
1236
|
+
...(z = (X = Ue.components.Drawer) == null ? void 0 : X.baseStyle) == null ? void 0 : z.dialogContainer,
|
|
1237
|
+
// Push the drawer down by the top offset on desktop to not cover the top navigation
|
|
1238
|
+
top: u ? `${g}px` : void 0,
|
|
1239
|
+
// Lower index on desktop to make sure the drawer is below the top navigation
|
|
1240
|
+
zIndex: ["overlay"]
|
|
1241
|
+
}
|
|
1242
|
+
}
|
|
1243
|
+
}
|
|
1244
|
+
} : {},
|
|
1226
1245
|
children: /* @__PURE__ */ t.jsx(
|
|
1227
|
-
|
|
1246
|
+
cn,
|
|
1228
1247
|
{ children: l ? /* @__PURE__ */ t.jsxs(
|
|
1229
1248
|
t.Fragment,
|
|
1230
1249
|
{ children: [
|
|
1231
1250
|
/* @__PURE__ */ t.jsx(
|
|
1232
|
-
|
|
1251
|
+
Cn,
|
|
1233
1252
|
{
|
|
1234
1253
|
backgroundColor: "tints.black",
|
|
1235
1254
|
top: ["0", null, null, `${g}px`],
|
|
@@ -1247,17 +1266,17 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1247
1266
|
}
|
|
1248
1267
|
),
|
|
1249
1268
|
/* @__PURE__ */ t.jsxs(
|
|
1250
|
-
|
|
1269
|
+
yn,
|
|
1251
1270
|
{
|
|
1252
|
-
onClick: (
|
|
1253
|
-
const
|
|
1254
|
-
|
|
1271
|
+
onClick: (L) => {
|
|
1272
|
+
const H = L.target.closest("a");
|
|
1273
|
+
H && H.href === window.location.href && i();
|
|
1255
1274
|
},
|
|
1256
1275
|
onMouseEnter: () => {
|
|
1257
|
-
u &&
|
|
1276
|
+
u && vt(!0);
|
|
1258
1277
|
},
|
|
1259
1278
|
onMouseLeave: () => {
|
|
1260
|
-
u &&
|
|
1279
|
+
u && vt(!1);
|
|
1261
1280
|
},
|
|
1262
1281
|
paddingTop: "4",
|
|
1263
1282
|
paddingX: [4, null, null, 12],
|
|
@@ -1267,6 +1286,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1267
1286
|
position: "relative",
|
|
1268
1287
|
top: u ? `${g}px !important` : void 0,
|
|
1269
1288
|
onAnimationComplete: pe,
|
|
1289
|
+
boxShadow: "none",
|
|
1270
1290
|
...u ? {
|
|
1271
1291
|
initial: { height: 0, opacity: 0 },
|
|
1272
1292
|
animate: { height: "auto", opacity: 1 },
|
|
@@ -1291,7 +1311,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1291
1311
|
R ? /* @__PURE__ */ t.jsx(
|
|
1292
1312
|
ce,
|
|
1293
1313
|
{
|
|
1294
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1314
|
+
icon: /* @__PURE__ */ t.jsx(on, {}),
|
|
1295
1315
|
onClick: () => {
|
|
1296
1316
|
c && c();
|
|
1297
1317
|
},
|
|
@@ -1309,8 +1329,8 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1309
1329
|
/* @__PURE__ */ t.jsx(
|
|
1310
1330
|
ce,
|
|
1311
1331
|
{
|
|
1312
|
-
icon: /* @__PURE__ */ t.jsx(
|
|
1313
|
-
onClick:
|
|
1332
|
+
icon: /* @__PURE__ */ t.jsx(sn, {}),
|
|
1333
|
+
onClick: i,
|
|
1314
1334
|
"aria-label": "Close"
|
|
1315
1335
|
}
|
|
1316
1336
|
)
|
|
@@ -1318,13 +1338,13 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1318
1338
|
}
|
|
1319
1339
|
),
|
|
1320
1340
|
s && /* @__PURE__ */ t.jsxs(
|
|
1321
|
-
|
|
1341
|
+
en,
|
|
1322
1342
|
{ width: "100%", children: [
|
|
1323
1343
|
/* @__PURE__ */ t.jsx(
|
|
1324
|
-
|
|
1344
|
+
tn,
|
|
1325
1345
|
{
|
|
1326
|
-
onChange: (
|
|
1327
|
-
fe(
|
|
1346
|
+
onChange: (L) => {
|
|
1347
|
+
fe(L.target.value);
|
|
1328
1348
|
},
|
|
1329
1349
|
placeholder: "Search",
|
|
1330
1350
|
autoFocus: !0,
|
|
@@ -1333,8 +1353,8 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1333
1353
|
}
|
|
1334
1354
|
),
|
|
1335
1355
|
/* @__PURE__ */ t.jsx(
|
|
1336
|
-
|
|
1337
|
-
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(
|
|
1356
|
+
nn,
|
|
1357
|
+
{ pointerEvents: "none", children: /* @__PURE__ */ t.jsx(rn, { as: yt, color: "gray.500" }) }
|
|
1338
1358
|
)
|
|
1339
1359
|
] }
|
|
1340
1360
|
)
|
|
@@ -1348,7 +1368,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1348
1368
|
paddingBottom: [6, null, null, 4],
|
|
1349
1369
|
"data-testid": `navbar-drawer-body-${p.toLowerCase()}`,
|
|
1350
1370
|
children: /* @__PURE__ */ t.jsxs(
|
|
1351
|
-
|
|
1371
|
+
qe.div,
|
|
1352
1372
|
{
|
|
1353
1373
|
...u ? {
|
|
1354
1374
|
initial: { opacity: 0, y: -5 },
|
|
@@ -1367,8 +1387,8 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1367
1387
|
} : {},
|
|
1368
1388
|
style: {
|
|
1369
1389
|
display: "flex",
|
|
1370
|
-
flexDirection:
|
|
1371
|
-
|
|
1390
|
+
flexDirection: mn(
|
|
1391
|
+
j,
|
|
1372
1392
|
u,
|
|
1373
1393
|
s
|
|
1374
1394
|
),
|
|
@@ -1398,7 +1418,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1398
1418
|
width: ["100%", null, null, s ? null : "auto"],
|
|
1399
1419
|
children: [
|
|
1400
1420
|
d ? /* @__PURE__ */ t.jsx(E, { children: d }) : null,
|
|
1401
|
-
|
|
1421
|
+
y && !u ? /* @__PURE__ */ t.jsx(E, { children: y }) : null,
|
|
1402
1422
|
b ? /* @__PURE__ */ t.jsx(
|
|
1403
1423
|
E,
|
|
1404
1424
|
{
|
|
@@ -1413,7 +1433,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1413
1433
|
)
|
|
1414
1434
|
]
|
|
1415
1435
|
},
|
|
1416
|
-
|
|
1436
|
+
Q
|
|
1417
1437
|
)
|
|
1418
1438
|
}
|
|
1419
1439
|
)
|
|
@@ -1425,88 +1445,88 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1425
1445
|
)
|
|
1426
1446
|
}
|
|
1427
1447
|
);
|
|
1428
|
-
},
|
|
1429
|
-
const o = /* @__PURE__ */ new Set();
|
|
1430
|
-
return l.reduce((p, d) => {
|
|
1431
|
-
var v;
|
|
1432
|
-
const j = ((v = d.sections) == null ? void 0 : v.reduce((b, R) => {
|
|
1433
|
-
const c = R.links.filter((y) => o.has(y.label) || y.isSearchable !== !0 ? !1 : (o.add(y.label), !0));
|
|
1434
|
-
return [...b, ...c];
|
|
1435
|
-
}, [])) ?? [];
|
|
1436
|
-
return [...p, ...j];
|
|
1437
|
-
}, []);
|
|
1438
|
-
}, jr = ({
|
|
1448
|
+
}, jn = ({
|
|
1439
1449
|
source: l,
|
|
1440
|
-
onSearchCallback:
|
|
1450
|
+
onSearchCallback: i,
|
|
1441
1451
|
isActive: p
|
|
1442
1452
|
}) => {
|
|
1443
|
-
const [d,
|
|
1453
|
+
const [d, y] = W(""), [v, b] = W([]), R = (s, C) => {
|
|
1444
1454
|
if (!s) return [];
|
|
1445
1455
|
const g = s.toLowerCase();
|
|
1446
1456
|
return C.filter((u) => {
|
|
1447
|
-
const D = u.label.toLowerCase().includes(g),
|
|
1448
|
-
return D ||
|
|
1457
|
+
const D = u.label.toLowerCase().includes(g), Q = typeof u.additionalContent == "string" && u.additionalContent.toLowerCase().includes(g);
|
|
1458
|
+
return D || Q;
|
|
1449
1459
|
}).sort((u, D) => u.label.localeCompare(D.label));
|
|
1450
1460
|
}, c = (s) => {
|
|
1451
|
-
if (
|
|
1461
|
+
if (y(s), !s) {
|
|
1452
1462
|
b([]);
|
|
1453
1463
|
return;
|
|
1454
1464
|
}
|
|
1455
1465
|
const C = R(s, l);
|
|
1456
|
-
b(C),
|
|
1457
|
-
},
|
|
1458
|
-
|
|
1466
|
+
b(C), i && i(s, C);
|
|
1467
|
+
}, j = () => {
|
|
1468
|
+
y(""), b([]);
|
|
1459
1469
|
};
|
|
1460
1470
|
return Z(() => {
|
|
1461
|
-
p || (
|
|
1471
|
+
p || (y(""), b([]));
|
|
1462
1472
|
}, [p]), {
|
|
1463
1473
|
query: d,
|
|
1464
1474
|
results: v,
|
|
1465
|
-
handleClose:
|
|
1475
|
+
handleClose: j,
|
|
1466
1476
|
handleSearch: c
|
|
1467
1477
|
};
|
|
1468
|
-
},
|
|
1478
|
+
}, wn = (l) => {
|
|
1479
|
+
const i = /* @__PURE__ */ new Set();
|
|
1480
|
+
return l.reduce((p, d) => {
|
|
1481
|
+
var v;
|
|
1482
|
+
const y = ((v = d.sections) == null ? void 0 : v.reduce((b, R) => {
|
|
1483
|
+
const c = R.links.filter((j) => i.has(j.label) || j.isSearchable !== !0 ? !1 : (i.add(j.label), !0));
|
|
1484
|
+
return [...b, ...c];
|
|
1485
|
+
}, [])) ?? [];
|
|
1486
|
+
return [...p, ...y];
|
|
1487
|
+
}, []);
|
|
1488
|
+
}, Pn = ({
|
|
1469
1489
|
categories: l = [],
|
|
1470
|
-
onCartClick:
|
|
1490
|
+
onCartClick: i,
|
|
1471
1491
|
mainCategoryLabel: p = "Menu",
|
|
1472
1492
|
logoLink: d = "https://www.everlywell.com",
|
|
1473
|
-
hasSearch:
|
|
1493
|
+
hasSearch: y = !0,
|
|
1474
1494
|
onSearchClick: v,
|
|
1475
1495
|
registrationUrl: b,
|
|
1476
1496
|
profileUrl: R = "https://secure.everlywell.com/login",
|
|
1477
1497
|
mobileBottomButtons: c = [],
|
|
1478
|
-
numberOfCartItems:
|
|
1498
|
+
numberOfCartItems: j = 0,
|
|
1479
1499
|
linkComponent: s,
|
|
1480
1500
|
onSearchCallback: C,
|
|
1481
1501
|
onLinkClick: g,
|
|
1482
1502
|
onCategoryOpen: u,
|
|
1483
1503
|
onMobileMenuOpen: D,
|
|
1484
|
-
onBackToMainMenu:
|
|
1485
|
-
onRegisterKitClick:
|
|
1486
|
-
onProfileClick:
|
|
1504
|
+
onBackToMainMenu: Q,
|
|
1505
|
+
onRegisterKitClick: ee,
|
|
1506
|
+
onProfileClick: F,
|
|
1487
1507
|
onLogoClick: _,
|
|
1488
1508
|
shopAllProductsUrl: de,
|
|
1489
1509
|
onShopAllProductsClick: fe
|
|
1490
1510
|
}) => {
|
|
1491
1511
|
var G, be, me;
|
|
1492
|
-
const [pe,
|
|
1512
|
+
const [pe, X] = W(!1), [z, L] = W(!1), [w, H] = W(null), [we, he] = W(!1), [A, V] = W(!1), [N, Ee] = W(0), Re = Je({
|
|
1493
1513
|
base: !1,
|
|
1494
1514
|
tablet: !1,
|
|
1495
1515
|
largeTablet: !1,
|
|
1496
1516
|
desktop: !0
|
|
1497
1517
|
}) ?? !1;
|
|
1498
1518
|
Z(() => {
|
|
1499
|
-
|
|
1519
|
+
re(), H(null);
|
|
1500
1520
|
}, [Re]);
|
|
1501
1521
|
const {
|
|
1502
1522
|
query: _e,
|
|
1503
1523
|
results: te,
|
|
1504
1524
|
handleSearch: Se
|
|
1505
|
-
} =
|
|
1506
|
-
source:
|
|
1525
|
+
} = jn({
|
|
1526
|
+
source: wn(l),
|
|
1507
1527
|
onSearchCallback: C,
|
|
1508
|
-
isActive:
|
|
1509
|
-
}), ge = te.length > 0,
|
|
1528
|
+
isActive: z
|
|
1529
|
+
}), ge = te.length > 0, ne = s || Y, Te = Pe(de, !!s), Oe = _e && /* @__PURE__ */ t.jsxs(
|
|
1510
1530
|
k,
|
|
1511
1531
|
{ gap: ge ? "6" : 0, direction: "column", children: [
|
|
1512
1532
|
ge ? /* @__PURE__ */ t.jsx(K, { color: "tints.uiGrey", children: `${te.length} Results` }) : /* @__PURE__ */ t.jsxs(
|
|
@@ -1519,7 +1539,7 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1519
1539
|
/* @__PURE__ */ t.jsx(
|
|
1520
1540
|
xt,
|
|
1521
1541
|
{
|
|
1522
|
-
as:
|
|
1542
|
+
as: ne,
|
|
1523
1543
|
onClick: fe,
|
|
1524
1544
|
_hover: { textDecoration: "none" },
|
|
1525
1545
|
width: ["100%", null, null, "auto"],
|
|
@@ -1548,62 +1568,59 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1548
1568
|
) }
|
|
1549
1569
|
)
|
|
1550
1570
|
] }
|
|
1551
|
-
),
|
|
1552
|
-
|
|
1553
|
-
},
|
|
1554
|
-
|
|
1571
|
+
), re = () => {
|
|
1572
|
+
X(!1), H(null);
|
|
1573
|
+
}, B = (a) => "href" in a, ve = (a) => {
|
|
1574
|
+
B(a) ? g == null || g(a.label) : H(a);
|
|
1555
1575
|
}, le = (a) => {
|
|
1556
|
-
he(!0),
|
|
1576
|
+
he(!0), L(!1), H(null), !B(a) && (a.sections || a.spotlightCards) && H(a);
|
|
1557
1577
|
}, xe = () => {
|
|
1558
1578
|
he(!1);
|
|
1559
1579
|
};
|
|
1560
1580
|
Z(() => {
|
|
1561
1581
|
const a = (I) => {
|
|
1562
|
-
|
|
1582
|
+
V(I.detail.isHovering);
|
|
1563
1583
|
};
|
|
1564
1584
|
return window.addEventListener(
|
|
1565
|
-
|
|
1585
|
+
Ke,
|
|
1566
1586
|
a
|
|
1567
1587
|
), () => {
|
|
1568
1588
|
window.removeEventListener(
|
|
1569
|
-
|
|
1589
|
+
Ke,
|
|
1570
1590
|
a
|
|
1571
1591
|
);
|
|
1572
1592
|
};
|
|
1573
1593
|
}, []), Z(() => {
|
|
1574
|
-
!we && !
|
|
1575
|
-
}, [we,
|
|
1594
|
+
!we && !A && (H(null), L(!1));
|
|
1595
|
+
}, [we, A]), Z(() => {
|
|
1576
1596
|
let a = window.location.href;
|
|
1577
1597
|
const I = () => {
|
|
1578
|
-
const
|
|
1579
|
-
|
|
1598
|
+
const P = window.location.href;
|
|
1599
|
+
P !== a && (a = P, re(), H(null));
|
|
1580
1600
|
}, U = setInterval(I, 100);
|
|
1581
1601
|
return window.addEventListener("popstate", I), () => {
|
|
1582
1602
|
window.removeEventListener("popstate", I), clearInterval(U);
|
|
1583
1603
|
};
|
|
1584
1604
|
}, []);
|
|
1585
|
-
const ae =
|
|
1586
|
-
t.
|
|
1587
|
-
|
|
1588
|
-
|
|
1589
|
-
|
|
1590
|
-
|
|
1591
|
-
onMouseEnter: () => {
|
|
1592
|
-
le(a), u == null || u(a.label);
|
|
1593
|
-
},
|
|
1594
|
-
onMouseLeave: xe,
|
|
1595
|
-
isSelected: (w == null ? void 0 : w.label) === a.label,
|
|
1596
|
-
as: W(a) && re ? re : z,
|
|
1597
|
-
href: W(a) ? a.href : void 0,
|
|
1598
|
-
onClick: W(a) ? () => g == null ? void 0 : g(a.label) : void 0,
|
|
1599
|
-
...a.buttonProps,
|
|
1600
|
-
children: a.label
|
|
1605
|
+
const ae = l == null ? void 0 : l.map(
|
|
1606
|
+
(a, I) => /* @__PURE__ */ t.jsx(
|
|
1607
|
+
Ie,
|
|
1608
|
+
{
|
|
1609
|
+
onMouseEnter: () => {
|
|
1610
|
+
le(a), u == null || u(a.label);
|
|
1601
1611
|
},
|
|
1602
|
-
|
|
1603
|
-
|
|
1604
|
-
|
|
1612
|
+
onMouseLeave: xe,
|
|
1613
|
+
isSelected: (w == null ? void 0 : w.label) === a.label,
|
|
1614
|
+
as: B(a) && ne ? ne : Y,
|
|
1615
|
+
href: B(a) ? a.href : void 0,
|
|
1616
|
+
onClick: B(a) ? () => g == null ? void 0 : g(a.label) : void 0,
|
|
1617
|
+
...a.buttonProps,
|
|
1618
|
+
children: a.label
|
|
1619
|
+
},
|
|
1620
|
+
`${a.label}-${I}`
|
|
1621
|
+
)
|
|
1605
1622
|
), Le = (G = l.filter(
|
|
1606
|
-
(a) => !
|
|
1623
|
+
(a) => !B(a) && a.isMobileTopLink !== !1
|
|
1607
1624
|
)) == null ? void 0 : G.map((a) => {
|
|
1608
1625
|
const I = a;
|
|
1609
1626
|
return /* @__PURE__ */ t.jsx(
|
|
@@ -1625,24 +1642,22 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1625
1642
|
},
|
|
1626
1643
|
I.label
|
|
1627
1644
|
);
|
|
1628
|
-
})
|
|
1629
|
-
vt(l);
|
|
1630
|
-
const ke = /* @__PURE__ */ t.jsxs(
|
|
1645
|
+
}), ke = /* @__PURE__ */ t.jsxs(
|
|
1631
1646
|
t.Fragment,
|
|
1632
1647
|
{ children: [
|
|
1633
1648
|
/* @__PURE__ */ t.jsx(
|
|
1634
1649
|
Ie,
|
|
1635
1650
|
{
|
|
1636
|
-
as:
|
|
1651
|
+
as: Y,
|
|
1637
1652
|
href: R,
|
|
1638
1653
|
width: "100%",
|
|
1639
1654
|
backgroundColor: "tints.cream",
|
|
1640
|
-
onClick:
|
|
1655
|
+
onClick: F,
|
|
1641
1656
|
children: /* @__PURE__ */ t.jsxs(
|
|
1642
1657
|
k,
|
|
1643
1658
|
{ gap: "2", children: [
|
|
1644
1659
|
"My Everly",
|
|
1645
|
-
/* @__PURE__ */ t.jsx(ue, { as:
|
|
1660
|
+
/* @__PURE__ */ t.jsx(ue, { as: ft, size: 24 })
|
|
1646
1661
|
] }
|
|
1647
1662
|
)
|
|
1648
1663
|
},
|
|
@@ -1651,16 +1666,16 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1651
1666
|
/* @__PURE__ */ t.jsx(
|
|
1652
1667
|
Ie,
|
|
1653
1668
|
{
|
|
1654
|
-
as:
|
|
1669
|
+
as: Y,
|
|
1655
1670
|
width: "100%",
|
|
1656
1671
|
href: b,
|
|
1657
1672
|
backgroundColor: "tints.cream",
|
|
1658
|
-
onClick:
|
|
1673
|
+
onClick: ee,
|
|
1659
1674
|
children: /* @__PURE__ */ t.jsxs(
|
|
1660
1675
|
k,
|
|
1661
1676
|
{ gap: "2", children: [
|
|
1662
1677
|
"Register kit",
|
|
1663
|
-
/* @__PURE__ */ t.jsx(ue, { as:
|
|
1678
|
+
/* @__PURE__ */ t.jsx(ue, { as: un, size: 24 })
|
|
1664
1679
|
] }
|
|
1665
1680
|
)
|
|
1666
1681
|
},
|
|
@@ -1673,12 +1688,12 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1673
1688
|
c,
|
|
1674
1689
|
ke
|
|
1675
1690
|
] }
|
|
1676
|
-
),
|
|
1691
|
+
), $e = w ? /* @__PURE__ */ t.jsx(
|
|
1677
1692
|
k,
|
|
1678
1693
|
{ direction: ["column", null, null, "row"], gap: "8", children: (be = w == null ? void 0 : w.sections) == null ? void 0 : be.map((a, I) => {
|
|
1679
1694
|
const U = [];
|
|
1680
|
-
for (let
|
|
1681
|
-
U.push(a.links.slice(
|
|
1695
|
+
for (let P = 0; P < a.links.length; P += 3)
|
|
1696
|
+
U.push(a.links.slice(P, P + 3));
|
|
1682
1697
|
return /* @__PURE__ */ t.jsxs(
|
|
1683
1698
|
E,
|
|
1684
1699
|
{ children: [
|
|
@@ -1697,27 +1712,27 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1697
1712
|
flexDirection: ["column", null, null, "row"],
|
|
1698
1713
|
gap: [null, null, null, 8],
|
|
1699
1714
|
children: U == null ? void 0 : U.map(
|
|
1700
|
-
(
|
|
1715
|
+
(P, Ae) => /* @__PURE__ */ t.jsx(
|
|
1701
1716
|
k,
|
|
1702
1717
|
{
|
|
1703
1718
|
flexDirection: ["column"],
|
|
1704
1719
|
gap: [null, null, null, 5],
|
|
1705
1720
|
marginLeft: [null, null, null, -2],
|
|
1706
|
-
children:
|
|
1707
|
-
(
|
|
1721
|
+
children: P == null ? void 0 : P.map(
|
|
1722
|
+
(J) => /* @__PURE__ */ t.jsx(
|
|
1708
1723
|
ze,
|
|
1709
1724
|
{
|
|
1710
|
-
label:
|
|
1711
|
-
href:
|
|
1712
|
-
additionalContent:
|
|
1725
|
+
label: J.label,
|
|
1726
|
+
href: J.href,
|
|
1727
|
+
additionalContent: J.additionalContent,
|
|
1713
1728
|
linkComponent: s,
|
|
1714
|
-
onClick: () => g == null ? void 0 : g(
|
|
1729
|
+
onClick: () => g == null ? void 0 : g(J.label)
|
|
1715
1730
|
},
|
|
1716
|
-
|
|
1731
|
+
J.label
|
|
1717
1732
|
)
|
|
1718
1733
|
)
|
|
1719
1734
|
},
|
|
1720
|
-
|
|
1735
|
+
Ae
|
|
1721
1736
|
)
|
|
1722
1737
|
)
|
|
1723
1738
|
}
|
|
@@ -1726,45 +1741,45 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1726
1741
|
`${a.title}-${I}`
|
|
1727
1742
|
);
|
|
1728
1743
|
}) }
|
|
1729
|
-
) : null,
|
|
1730
|
-
(a) => /* @__PURE__ */ t.jsx(
|
|
1744
|
+
) : null, oe = w != null && w.spotlightCards ? (me = w.spotlightCards) == null ? void 0 : me.map(
|
|
1745
|
+
(a) => /* @__PURE__ */ t.jsx(hn, { ...a }, a.title)
|
|
1731
1746
|
) : /* @__PURE__ */ t.jsx(E, {});
|
|
1732
1747
|
return /* @__PURE__ */ t.jsxs(
|
|
1733
1748
|
t.Fragment,
|
|
1734
1749
|
{ children: [
|
|
1735
1750
|
/* @__PURE__ */ t.jsx(
|
|
1736
|
-
|
|
1751
|
+
vn,
|
|
1737
1752
|
{
|
|
1738
1753
|
desktopTopButtons: ae,
|
|
1739
1754
|
kitRegistrationElement: /* @__PURE__ */ t.jsx(
|
|
1740
1755
|
Ie,
|
|
1741
1756
|
{
|
|
1742
|
-
as:
|
|
1757
|
+
as: Y,
|
|
1743
1758
|
href: b,
|
|
1744
|
-
onClick:
|
|
1759
|
+
onClick: ee,
|
|
1745
1760
|
backgroundColor: "tints.cream",
|
|
1746
1761
|
children: "Register Kit"
|
|
1747
1762
|
}
|
|
1748
1763
|
),
|
|
1749
1764
|
profileElement: /* @__PURE__ */ t.jsx(
|
|
1750
|
-
|
|
1751
|
-
{ href: R, "aria-label": "login", onClick:
|
|
1765
|
+
Y,
|
|
1766
|
+
{ href: R, "aria-label": "login", onClick: F, children: /* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(ue, { as: ft }), "aria-label": "Profile" }) }
|
|
1752
1767
|
),
|
|
1753
1768
|
cartElement: /* @__PURE__ */ t.jsx(
|
|
1754
|
-
|
|
1769
|
+
xn,
|
|
1755
1770
|
{
|
|
1756
1771
|
"aria-label": "Cart",
|
|
1757
|
-
count:
|
|
1758
|
-
onClick:
|
|
1772
|
+
count: j,
|
|
1773
|
+
onClick: i
|
|
1759
1774
|
}
|
|
1760
1775
|
),
|
|
1761
1776
|
onSearchClick: () => {
|
|
1762
|
-
|
|
1777
|
+
L(!z), v == null || v();
|
|
1763
1778
|
},
|
|
1764
1779
|
onMenuClick: () => {
|
|
1765
|
-
|
|
1780
|
+
X(!0), D == null || D();
|
|
1766
1781
|
},
|
|
1767
|
-
hasSearch:
|
|
1782
|
+
hasSearch: y,
|
|
1768
1783
|
logoLink: d,
|
|
1769
1784
|
linkComponent: s,
|
|
1770
1785
|
onLogoClick: _,
|
|
@@ -1778,12 +1793,12 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1778
1793
|
Ge,
|
|
1779
1794
|
{
|
|
1780
1795
|
isOpen: pe,
|
|
1781
|
-
onClose:
|
|
1796
|
+
onClose: re,
|
|
1782
1797
|
title: p,
|
|
1783
1798
|
navDrawerLinks: Le,
|
|
1784
1799
|
bottomNavButtons: He,
|
|
1785
1800
|
hasBackButton: !1,
|
|
1786
|
-
topOffset:
|
|
1801
|
+
topOffset: N
|
|
1787
1802
|
}
|
|
1788
1803
|
),
|
|
1789
1804
|
/* @__PURE__ */ t.jsx(
|
|
@@ -1791,28 +1806,28 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1791
1806
|
{
|
|
1792
1807
|
isOpen: !!w,
|
|
1793
1808
|
onClose: () => {
|
|
1794
|
-
|
|
1809
|
+
re(), H(null);
|
|
1795
1810
|
},
|
|
1796
1811
|
title: (w == null ? void 0 : w.label) || "",
|
|
1797
|
-
navDrawerLinks:
|
|
1798
|
-
onBackClick: () =>
|
|
1799
|
-
spotlightCards:
|
|
1812
|
+
navDrawerLinks: $e,
|
|
1813
|
+
onBackClick: () => H(null),
|
|
1814
|
+
spotlightCards: oe,
|
|
1800
1815
|
hasOnlySpotlightCards: w == null ? void 0 : w.hasOnlySpotlightCards,
|
|
1801
1816
|
bottomButton: w == null ? void 0 : w.bottomButton,
|
|
1802
|
-
topOffset:
|
|
1817
|
+
topOffset: N
|
|
1803
1818
|
}
|
|
1804
1819
|
),
|
|
1805
1820
|
/* @__PURE__ */ t.jsx(
|
|
1806
1821
|
Ge,
|
|
1807
1822
|
{
|
|
1808
|
-
isOpen:
|
|
1809
|
-
onClose: () =>
|
|
1823
|
+
isOpen: z,
|
|
1824
|
+
onClose: () => L(!1),
|
|
1810
1825
|
title: "Search",
|
|
1811
|
-
navDrawerLinks:
|
|
1826
|
+
navDrawerLinks: Oe,
|
|
1812
1827
|
onSearch: Se,
|
|
1813
1828
|
hasSearch: !0,
|
|
1814
1829
|
hasBackButton: !1,
|
|
1815
|
-
topOffset:
|
|
1830
|
+
topOffset: N
|
|
1816
1831
|
}
|
|
1817
1832
|
)
|
|
1818
1833
|
] }
|
|
@@ -1821,15 +1836,15 @@ const Ye = 60, ht = 6, dr = (l) => {
|
|
|
1821
1836
|
);
|
|
1822
1837
|
};
|
|
1823
1838
|
export {
|
|
1824
|
-
|
|
1825
|
-
|
|
1839
|
+
xn as BasketButton,
|
|
1840
|
+
Dn as CategoryLabel,
|
|
1826
1841
|
Ie as NavButton,
|
|
1827
|
-
|
|
1842
|
+
In as NavSkeleton,
|
|
1828
1843
|
Ge as NavbarDrawer,
|
|
1829
1844
|
ze as NavbarDrawerLink,
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1845
|
+
Pn as NavigationBar,
|
|
1846
|
+
hn as SpotlightCard,
|
|
1847
|
+
kn as Stepper,
|
|
1833
1848
|
ce as TopNavIconButton,
|
|
1834
|
-
|
|
1849
|
+
vn as TopNavigation
|
|
1835
1850
|
};
|