@everlywell/consumer-ui 1.23.1 → 1.24.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.mts +2 -0
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +11 -11
- package/index.mjs +1079 -605
- package/lib/components/Navbar/NavButton/NavButton.d.ts +4 -3
- package/lib/components/Navbar/NavButton/NavButton.d.ts.map +1 -1
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts +9 -3
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts.map +1 -1
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.stories.d.ts.map +1 -1
- package/lib/components/Navbar/NavbarDrawerLink/NavbarDrawerLink.d.ts +21 -1
- package/lib/components/Navbar/NavbarDrawerLink/NavbarDrawerLink.d.ts.map +1 -1
- package/lib/components/Navbar/NavigationBar/NavigationBar.builder.d.ts +8 -0
- package/lib/components/Navbar/NavigationBar/NavigationBar.builder.d.ts.map +1 -0
- package/lib/components/Navbar/NavigationBar/NavigationBar.d.ts +105 -0
- package/lib/components/Navbar/NavigationBar/NavigationBar.d.ts.map +1 -0
- package/lib/components/Navbar/NavigationBar/NavigationBar.stories.d.ts +12 -0
- package/lib/components/Navbar/NavigationBar/NavigationBar.stories.d.ts.map +1 -0
- package/lib/components/Navbar/NavigationBar/index.d.ts +3 -0
- package/lib/components/Navbar/NavigationBar/index.d.ts.map +1 -0
- package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts +14 -3
- package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts.map +1 -1
- package/lib/components/Navbar/TopNavigation/TopNavigation.d.ts +7 -2
- package/lib/components/Navbar/TopNavigation/TopNavigation.d.ts.map +1 -1
- package/lib/components/Navbar/TopNavigation/TopNavigation.stories.d.ts +3 -2
- package/lib/components/Navbar/TopNavigation/TopNavigation.stories.d.ts.map +1 -1
- package/lib/components/Navbar/types.d.ts +19 -0
- package/lib/components/Navbar/types.d.ts.map +1 -0
- package/lib/utils/testHelpers/setupTests.d.ts +6 -0
- package/lib/utils/testHelpers/setupTests.d.ts.map +1 -0
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { useSteps as
|
|
2
|
-
import
|
|
3
|
-
import { Text as
|
|
4
|
-
import { CaretRight as
|
|
5
|
-
|
|
1
|
+
import { useSteps as Mn, Box as C, Stepper as Fn, Icon as pe, Flex as L, Text as U, Link as te, Button as Hn, Image as An, IconButton as $n, VStack as Wn, Skeleton as Oe, HStack as Xe, SkeletonCircle as de, Drawer as Bn, DrawerOverlay as Vn, DrawerContent as Nn, DrawerHeader as Yn, DrawerBody as zn } from "@everlywell/ui-kit";
|
|
2
|
+
import Ie, { useEffect as ne, forwardRef as on, useRef as Un, useState as z, useCallback as an } from "react";
|
|
3
|
+
import { Text as Gn, useBreakpointValue as Zn } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as Je, MagnifyingGlass as Xn, List as Jn, Basket as Kn, CaretLeft as qn, X as Qn, User as et } from "@phosphor-icons/react";
|
|
5
|
+
import { motion as Ke } from "framer-motion";
|
|
6
|
+
var Le = { exports: {} }, Q = {};
|
|
6
7
|
/**
|
|
7
8
|
* @license React
|
|
8
9
|
* react-jsx-runtime.production.min.js
|
|
@@ -12,25 +13,25 @@ var le = { exports: {} }, V = {};
|
|
|
12
13
|
* This source code is licensed under the MIT license found in the
|
|
13
14
|
* LICENSE file in the root directory of this source tree.
|
|
14
15
|
*/
|
|
15
|
-
var
|
|
16
|
-
function
|
|
17
|
-
if (
|
|
18
|
-
return
|
|
19
|
-
|
|
20
|
-
var
|
|
21
|
-
function
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
for (
|
|
25
|
-
|
|
26
|
-
if (
|
|
27
|
-
for (
|
|
28
|
-
|
|
29
|
-
return { $$typeof:
|
|
16
|
+
var qe;
|
|
17
|
+
function nt() {
|
|
18
|
+
if (qe)
|
|
19
|
+
return Q;
|
|
20
|
+
qe = 1;
|
|
21
|
+
var i = Ie, f = Symbol.for("react.element"), m = Symbol.for("react.fragment"), p = Object.prototype.hasOwnProperty, w = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, b = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
22
|
+
function E(S, u, x) {
|
|
23
|
+
var h, v = {}, R = null, a = null;
|
|
24
|
+
x !== void 0 && (R = "" + x), u.key !== void 0 && (R = "" + u.key), u.ref !== void 0 && (a = u.ref);
|
|
25
|
+
for (h in u)
|
|
26
|
+
p.call(u, h) && !b.hasOwnProperty(h) && (v[h] = u[h]);
|
|
27
|
+
if (S && S.defaultProps)
|
|
28
|
+
for (h in u = S.defaultProps, u)
|
|
29
|
+
v[h] === void 0 && (v[h] = u[h]);
|
|
30
|
+
return { $$typeof: f, type: S, key: R, ref: a, props: v, _owner: w.current };
|
|
30
31
|
}
|
|
31
|
-
return
|
|
32
|
+
return Q.Fragment = m, Q.jsx = E, Q.jsxs = E, Q;
|
|
32
33
|
}
|
|
33
|
-
var
|
|
34
|
+
var ee = {};
|
|
34
35
|
/**
|
|
35
36
|
* @license React
|
|
36
37
|
* react-jsx-runtime.development.js
|
|
@@ -40,91 +41,91 @@ var M = {};
|
|
|
40
41
|
* This source code is licensed under the MIT license found in the
|
|
41
42
|
* LICENSE file in the root directory of this source tree.
|
|
42
43
|
*/
|
|
43
|
-
var
|
|
44
|
-
function
|
|
45
|
-
return
|
|
46
|
-
var
|
|
47
|
-
function
|
|
44
|
+
var Qe;
|
|
45
|
+
function tt() {
|
|
46
|
+
return Qe || (Qe = 1, process.env.NODE_ENV !== "production" && function() {
|
|
47
|
+
var i = Ie, f = Symbol.for("react.element"), m = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), b = Symbol.for("react.profiler"), E = Symbol.for("react.provider"), S = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), x = Symbol.for("react.suspense"), h = Symbol.for("react.suspense_list"), v = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), a = Symbol.for("react.offscreen"), k = Symbol.iterator, B = "@@iterator";
|
|
48
|
+
function he(e) {
|
|
48
49
|
if (e === null || typeof e != "object")
|
|
49
50
|
return null;
|
|
50
|
-
var
|
|
51
|
-
return typeof
|
|
51
|
+
var n = k && e[k] || e[B];
|
|
52
|
+
return typeof n == "function" ? n : null;
|
|
52
53
|
}
|
|
53
|
-
var
|
|
54
|
-
function
|
|
54
|
+
var F = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
55
|
+
function _(e) {
|
|
55
56
|
{
|
|
56
|
-
for (var
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), l = 1; l < n; l++)
|
|
58
|
+
r[l - 1] = arguments[l];
|
|
59
|
+
re("error", e, r);
|
|
59
60
|
}
|
|
60
61
|
}
|
|
61
|
-
function
|
|
62
|
+
function re(e, n, r) {
|
|
62
63
|
{
|
|
63
|
-
var
|
|
64
|
-
|
|
65
|
-
var
|
|
66
|
-
return String(
|
|
64
|
+
var l = F.ReactDebugCurrentFrame, d = l.getStackAddendum();
|
|
65
|
+
d !== "" && (n += "%s", r = r.concat([d]));
|
|
66
|
+
var g = r.map(function(c) {
|
|
67
|
+
return String(c);
|
|
67
68
|
});
|
|
68
|
-
|
|
69
|
+
g.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, g);
|
|
69
70
|
}
|
|
70
71
|
}
|
|
71
|
-
var
|
|
72
|
-
|
|
73
|
-
function
|
|
74
|
-
return !!(typeof e == "string" || typeof e == "function" || e ===
|
|
72
|
+
var ve = !1, ge = !1, le = !1, xe = !1, be = !1, ie;
|
|
73
|
+
ie = Symbol.for("react.module.reference");
|
|
74
|
+
function me(e) {
|
|
75
|
+
return !!(typeof e == "string" || typeof e == "function" || e === p || e === b || be || e === w || e === x || e === h || xe || e === a || ve || ge || le || typeof e == "object" && e !== null && (e.$$typeof === R || e.$$typeof === v || e.$$typeof === E || e.$$typeof === S || e.$$typeof === u || // This needs to include all possible module reference object
|
|
75
76
|
// types supported by any Flight configuration anywhere since
|
|
76
77
|
// we don't know which Flight build this will end up being used
|
|
77
78
|
// with.
|
|
78
|
-
e.$$typeof ===
|
|
79
|
+
e.$$typeof === ie || e.getModuleId !== void 0));
|
|
79
80
|
}
|
|
80
|
-
function
|
|
81
|
-
var
|
|
82
|
-
if (
|
|
83
|
-
return
|
|
84
|
-
var
|
|
85
|
-
return
|
|
81
|
+
function Ce(e, n, r) {
|
|
82
|
+
var l = e.displayName;
|
|
83
|
+
if (l)
|
|
84
|
+
return l;
|
|
85
|
+
var d = n.displayName || n.name || "";
|
|
86
|
+
return d !== "" ? r + "(" + d + ")" : r;
|
|
86
87
|
}
|
|
87
|
-
function
|
|
88
|
+
function oe(e) {
|
|
88
89
|
return e.displayName || "Context";
|
|
89
90
|
}
|
|
90
|
-
function
|
|
91
|
+
function D(e) {
|
|
91
92
|
if (e == null)
|
|
92
93
|
return null;
|
|
93
|
-
if (typeof e.tag == "number" &&
|
|
94
|
+
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")
|
|
94
95
|
return e.displayName || e.name || null;
|
|
95
96
|
if (typeof e == "string")
|
|
96
97
|
return e;
|
|
97
98
|
switch (e) {
|
|
98
|
-
case
|
|
99
|
+
case p:
|
|
99
100
|
return "Fragment";
|
|
100
|
-
case
|
|
101
|
+
case m:
|
|
101
102
|
return "Portal";
|
|
102
|
-
case
|
|
103
|
+
case b:
|
|
103
104
|
return "Profiler";
|
|
104
|
-
case
|
|
105
|
+
case w:
|
|
105
106
|
return "StrictMode";
|
|
106
|
-
case S:
|
|
107
|
-
return "Suspense";
|
|
108
107
|
case x:
|
|
108
|
+
return "Suspense";
|
|
109
|
+
case h:
|
|
109
110
|
return "SuspenseList";
|
|
110
111
|
}
|
|
111
112
|
if (typeof e == "object")
|
|
112
113
|
switch (e.$$typeof) {
|
|
113
|
-
case
|
|
114
|
+
case S:
|
|
115
|
+
var n = e;
|
|
116
|
+
return oe(n) + ".Consumer";
|
|
117
|
+
case E:
|
|
114
118
|
var r = e;
|
|
115
|
-
return
|
|
116
|
-
case
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
return
|
|
121
|
-
case
|
|
122
|
-
var
|
|
123
|
-
return i !== null ? i : k(e.type) || "Memo";
|
|
124
|
-
case T: {
|
|
125
|
-
var l = e, u = l._payload, o = l._init;
|
|
119
|
+
return oe(r._context) + ".Provider";
|
|
120
|
+
case u:
|
|
121
|
+
return Ce(e, e.render, "ForwardRef");
|
|
122
|
+
case v:
|
|
123
|
+
var l = e.displayName || null;
|
|
124
|
+
return l !== null ? l : D(e.type) || "Memo";
|
|
125
|
+
case R: {
|
|
126
|
+
var d = e, g = d._payload, c = d._init;
|
|
126
127
|
try {
|
|
127
|
-
return
|
|
128
|
+
return D(c(g));
|
|
128
129
|
} catch {
|
|
129
130
|
return null;
|
|
130
131
|
}
|
|
@@ -132,18 +133,18 @@ function Ar() {
|
|
|
132
133
|
}
|
|
133
134
|
return null;
|
|
134
135
|
}
|
|
135
|
-
var
|
|
136
|
-
function
|
|
136
|
+
var H = Object.assign, $ = 0, Z, X, J, o, I, A, O;
|
|
137
|
+
function ae() {
|
|
137
138
|
}
|
|
138
|
-
|
|
139
|
-
function
|
|
139
|
+
ae.__reactDisabledLog = !0;
|
|
140
|
+
function V() {
|
|
140
141
|
{
|
|
141
|
-
if (
|
|
142
|
-
|
|
142
|
+
if ($ === 0) {
|
|
143
|
+
Z = console.log, X = console.info, J = console.warn, o = console.error, I = console.group, A = console.groupCollapsed, O = console.groupEnd;
|
|
143
144
|
var e = {
|
|
144
145
|
configurable: !0,
|
|
145
146
|
enumerable: !0,
|
|
146
|
-
value:
|
|
147
|
+
value: ae,
|
|
147
148
|
writable: !0
|
|
148
149
|
};
|
|
149
150
|
Object.defineProperties(console, {
|
|
@@ -156,336 +157,336 @@ function Ar() {
|
|
|
156
157
|
groupEnd: e
|
|
157
158
|
});
|
|
158
159
|
}
|
|
159
|
-
|
|
160
|
+
$++;
|
|
160
161
|
}
|
|
161
162
|
}
|
|
162
|
-
function
|
|
163
|
+
function un() {
|
|
163
164
|
{
|
|
164
|
-
if (
|
|
165
|
+
if ($--, $ === 0) {
|
|
165
166
|
var e = {
|
|
166
167
|
configurable: !0,
|
|
167
168
|
enumerable: !0,
|
|
168
169
|
writable: !0
|
|
169
170
|
};
|
|
170
171
|
Object.defineProperties(console, {
|
|
171
|
-
log:
|
|
172
|
-
value:
|
|
172
|
+
log: H({}, e, {
|
|
173
|
+
value: Z
|
|
173
174
|
}),
|
|
174
|
-
info:
|
|
175
|
-
value:
|
|
175
|
+
info: H({}, e, {
|
|
176
|
+
value: X
|
|
176
177
|
}),
|
|
177
|
-
warn:
|
|
178
|
-
value:
|
|
178
|
+
warn: H({}, e, {
|
|
179
|
+
value: J
|
|
179
180
|
}),
|
|
180
|
-
error:
|
|
181
|
-
value:
|
|
181
|
+
error: H({}, e, {
|
|
182
|
+
value: o
|
|
182
183
|
}),
|
|
183
|
-
group:
|
|
184
|
-
value:
|
|
184
|
+
group: H({}, e, {
|
|
185
|
+
value: I
|
|
185
186
|
}),
|
|
186
|
-
groupCollapsed:
|
|
187
|
-
value:
|
|
187
|
+
groupCollapsed: H({}, e, {
|
|
188
|
+
value: A
|
|
188
189
|
}),
|
|
189
|
-
groupEnd:
|
|
190
|
-
value:
|
|
190
|
+
groupEnd: H({}, e, {
|
|
191
|
+
value: O
|
|
191
192
|
})
|
|
192
193
|
});
|
|
193
194
|
}
|
|
194
|
-
|
|
195
|
+
$ < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
195
196
|
}
|
|
196
197
|
}
|
|
197
|
-
var
|
|
198
|
-
function
|
|
198
|
+
var ye = F.ReactCurrentDispatcher, we;
|
|
199
|
+
function se(e, n, r) {
|
|
199
200
|
{
|
|
200
|
-
if (
|
|
201
|
+
if (we === void 0)
|
|
201
202
|
try {
|
|
202
203
|
throw Error();
|
|
203
|
-
} catch (
|
|
204
|
-
var
|
|
205
|
-
|
|
204
|
+
} catch (d) {
|
|
205
|
+
var l = d.stack.trim().match(/\n( *(at )?)/);
|
|
206
|
+
we = l && l[1] || "";
|
|
206
207
|
}
|
|
207
208
|
return `
|
|
208
|
-
` +
|
|
209
|
+
` + we + e;
|
|
209
210
|
}
|
|
210
211
|
}
|
|
211
|
-
var
|
|
212
|
+
var je = !1, ue;
|
|
212
213
|
{
|
|
213
|
-
var
|
|
214
|
-
|
|
214
|
+
var cn = typeof WeakMap == "function" ? WeakMap : Map;
|
|
215
|
+
ue = new cn();
|
|
215
216
|
}
|
|
216
|
-
function
|
|
217
|
-
if (!e ||
|
|
217
|
+
function Me(e, n) {
|
|
218
|
+
if (!e || je)
|
|
218
219
|
return "";
|
|
219
220
|
{
|
|
220
|
-
var
|
|
221
|
-
if (
|
|
222
|
-
return
|
|
221
|
+
var r = ue.get(e);
|
|
222
|
+
if (r !== void 0)
|
|
223
|
+
return r;
|
|
223
224
|
}
|
|
224
|
-
var
|
|
225
|
-
|
|
226
|
-
var
|
|
225
|
+
var l;
|
|
226
|
+
je = !0;
|
|
227
|
+
var d = Error.prepareStackTrace;
|
|
227
228
|
Error.prepareStackTrace = void 0;
|
|
228
|
-
var
|
|
229
|
-
|
|
229
|
+
var g;
|
|
230
|
+
g = ye.current, ye.current = null, V();
|
|
230
231
|
try {
|
|
231
|
-
if (
|
|
232
|
-
var
|
|
232
|
+
if (n) {
|
|
233
|
+
var c = function() {
|
|
233
234
|
throw Error();
|
|
234
235
|
};
|
|
235
|
-
if (Object.defineProperty(
|
|
236
|
+
if (Object.defineProperty(c.prototype, "props", {
|
|
236
237
|
set: function() {
|
|
237
238
|
throw Error();
|
|
238
239
|
}
|
|
239
240
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
240
241
|
try {
|
|
241
|
-
Reflect.construct(
|
|
242
|
-
} catch (
|
|
243
|
-
|
|
242
|
+
Reflect.construct(c, []);
|
|
243
|
+
} catch (P) {
|
|
244
|
+
l = P;
|
|
244
245
|
}
|
|
245
|
-
Reflect.construct(e, [],
|
|
246
|
+
Reflect.construct(e, [], c);
|
|
246
247
|
} else {
|
|
247
248
|
try {
|
|
248
|
-
|
|
249
|
-
} catch (
|
|
250
|
-
|
|
249
|
+
c.call();
|
|
250
|
+
} catch (P) {
|
|
251
|
+
l = P;
|
|
251
252
|
}
|
|
252
|
-
e.call(
|
|
253
|
+
e.call(c.prototype);
|
|
253
254
|
}
|
|
254
255
|
} else {
|
|
255
256
|
try {
|
|
256
257
|
throw Error();
|
|
257
|
-
} catch (
|
|
258
|
-
|
|
258
|
+
} catch (P) {
|
|
259
|
+
l = P;
|
|
259
260
|
}
|
|
260
261
|
e();
|
|
261
262
|
}
|
|
262
|
-
} catch (
|
|
263
|
-
if (
|
|
264
|
-
for (var
|
|
265
|
-
`),
|
|
266
|
-
`),
|
|
267
|
-
|
|
268
|
-
for (;
|
|
269
|
-
if (
|
|
270
|
-
if (
|
|
263
|
+
} catch (P) {
|
|
264
|
+
if (P && l && typeof P.stack == "string") {
|
|
265
|
+
for (var s = P.stack.split(`
|
|
266
|
+
`), T = l.stack.split(`
|
|
267
|
+
`), y = s.length - 1, j = T.length - 1; y >= 1 && j >= 0 && s[y] !== T[j]; )
|
|
268
|
+
j--;
|
|
269
|
+
for (; y >= 1 && j >= 0; y--, j--)
|
|
270
|
+
if (s[y] !== T[j]) {
|
|
271
|
+
if (y !== 1 || j !== 1)
|
|
271
272
|
do
|
|
272
|
-
if (
|
|
273
|
-
var
|
|
274
|
-
` +
|
|
275
|
-
return e.displayName &&
|
|
273
|
+
if (y--, j--, j < 0 || s[y] !== T[j]) {
|
|
274
|
+
var M = `
|
|
275
|
+
` + s[y].replace(" at new ", " at ");
|
|
276
|
+
return e.displayName && M.includes("<anonymous>") && (M = M.replace("<anonymous>", e.displayName)), typeof e == "function" && ue.set(e, M), M;
|
|
276
277
|
}
|
|
277
|
-
while (
|
|
278
|
+
while (y >= 1 && j >= 0);
|
|
278
279
|
break;
|
|
279
280
|
}
|
|
280
281
|
}
|
|
281
282
|
} finally {
|
|
282
|
-
|
|
283
|
+
je = !1, ye.current = g, un(), Error.prepareStackTrace = d;
|
|
283
284
|
}
|
|
284
|
-
var
|
|
285
|
-
return typeof e == "function" &&
|
|
285
|
+
var Y = e ? e.displayName || e.name : "", W = Y ? se(Y) : "";
|
|
286
|
+
return typeof e == "function" && ue.set(e, W), W;
|
|
286
287
|
}
|
|
287
|
-
function
|
|
288
|
-
return
|
|
288
|
+
function fn(e, n, r) {
|
|
289
|
+
return Me(e, !1);
|
|
289
290
|
}
|
|
290
|
-
function
|
|
291
|
-
var
|
|
292
|
-
return !!(
|
|
291
|
+
function dn(e) {
|
|
292
|
+
var n = e.prototype;
|
|
293
|
+
return !!(n && n.isReactComponent);
|
|
293
294
|
}
|
|
294
|
-
function
|
|
295
|
+
function ce(e, n, r) {
|
|
295
296
|
if (e == null)
|
|
296
297
|
return "";
|
|
297
298
|
if (typeof e == "function")
|
|
298
|
-
return
|
|
299
|
+
return Me(e, dn(e));
|
|
299
300
|
if (typeof e == "string")
|
|
300
|
-
return
|
|
301
|
+
return se(e);
|
|
301
302
|
switch (e) {
|
|
302
|
-
case S:
|
|
303
|
-
return B("Suspense");
|
|
304
303
|
case x:
|
|
305
|
-
return
|
|
304
|
+
return se("Suspense");
|
|
305
|
+
case h:
|
|
306
|
+
return se("SuspenseList");
|
|
306
307
|
}
|
|
307
308
|
if (typeof e == "object")
|
|
308
309
|
switch (e.$$typeof) {
|
|
309
|
-
case
|
|
310
|
-
return
|
|
311
|
-
case
|
|
312
|
-
return
|
|
313
|
-
case
|
|
314
|
-
var
|
|
310
|
+
case u:
|
|
311
|
+
return fn(e.render);
|
|
312
|
+
case v:
|
|
313
|
+
return ce(e.type, n, r);
|
|
314
|
+
case R: {
|
|
315
|
+
var l = e, d = l._payload, g = l._init;
|
|
315
316
|
try {
|
|
316
|
-
return
|
|
317
|
+
return ce(g(d), n, r);
|
|
317
318
|
} catch {
|
|
318
319
|
}
|
|
319
320
|
}
|
|
320
321
|
}
|
|
321
322
|
return "";
|
|
322
323
|
}
|
|
323
|
-
var
|
|
324
|
-
function
|
|
324
|
+
var K = Object.prototype.hasOwnProperty, Fe = {}, He = F.ReactDebugCurrentFrame;
|
|
325
|
+
function fe(e) {
|
|
325
326
|
if (e) {
|
|
326
|
-
var
|
|
327
|
-
|
|
327
|
+
var n = e._owner, r = ce(e.type, e._source, n ? n.type : null);
|
|
328
|
+
He.setExtraStackFrame(r);
|
|
328
329
|
} else
|
|
329
|
-
|
|
330
|
+
He.setExtraStackFrame(null);
|
|
330
331
|
}
|
|
331
|
-
function
|
|
332
|
+
function pn(e, n, r, l, d) {
|
|
332
333
|
{
|
|
333
|
-
var
|
|
334
|
-
for (var
|
|
335
|
-
if (
|
|
336
|
-
var
|
|
334
|
+
var g = Function.call.bind(K);
|
|
335
|
+
for (var c in e)
|
|
336
|
+
if (g(e, c)) {
|
|
337
|
+
var s = void 0;
|
|
337
338
|
try {
|
|
338
|
-
if (typeof e[
|
|
339
|
-
var
|
|
340
|
-
throw
|
|
339
|
+
if (typeof e[c] != "function") {
|
|
340
|
+
var T = Error((l || "React class") + ": " + r + " type `" + c + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[c] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
341
|
+
throw T.name = "Invariant Violation", T;
|
|
341
342
|
}
|
|
342
|
-
|
|
343
|
-
} catch (
|
|
344
|
-
|
|
343
|
+
s = e[c](n, c, l, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
344
|
+
} catch (y) {
|
|
345
|
+
s = y;
|
|
345
346
|
}
|
|
346
|
-
|
|
347
|
+
s && !(s instanceof Error) && (fe(d), _("%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).", l || "React class", r, c, typeof s), fe(null)), s instanceof Error && !(s.message in Fe) && (Fe[s.message] = !0, fe(d), _("Failed %s type: %s", r, s.message), fe(null));
|
|
347
348
|
}
|
|
348
349
|
}
|
|
349
350
|
}
|
|
350
|
-
var
|
|
351
|
-
function
|
|
352
|
-
return
|
|
351
|
+
var hn = Array.isArray;
|
|
352
|
+
function Ee(e) {
|
|
353
|
+
return hn(e);
|
|
353
354
|
}
|
|
354
|
-
function
|
|
355
|
+
function vn(e) {
|
|
355
356
|
{
|
|
356
|
-
var
|
|
357
|
-
return
|
|
357
|
+
var n = typeof Symbol == "function" && Symbol.toStringTag, r = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
358
|
+
return r;
|
|
358
359
|
}
|
|
359
360
|
}
|
|
360
|
-
function
|
|
361
|
+
function gn(e) {
|
|
361
362
|
try {
|
|
362
|
-
return
|
|
363
|
+
return Ae(e), !1;
|
|
363
364
|
} catch {
|
|
364
365
|
return !0;
|
|
365
366
|
}
|
|
366
367
|
}
|
|
367
|
-
function
|
|
368
|
+
function Ae(e) {
|
|
368
369
|
return "" + e;
|
|
369
370
|
}
|
|
370
|
-
function
|
|
371
|
-
if (
|
|
372
|
-
return
|
|
371
|
+
function $e(e) {
|
|
372
|
+
if (gn(e))
|
|
373
|
+
return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", vn(e)), Ae(e);
|
|
373
374
|
}
|
|
374
|
-
var
|
|
375
|
+
var q = F.ReactCurrentOwner, xn = {
|
|
375
376
|
key: !0,
|
|
376
377
|
ref: !0,
|
|
377
378
|
__self: !0,
|
|
378
379
|
__source: !0
|
|
379
|
-
},
|
|
380
|
-
|
|
381
|
-
function
|
|
382
|
-
if (
|
|
383
|
-
var
|
|
384
|
-
if (
|
|
380
|
+
}, We, Be, Re;
|
|
381
|
+
Re = {};
|
|
382
|
+
function bn(e) {
|
|
383
|
+
if (K.call(e, "ref")) {
|
|
384
|
+
var n = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
385
|
+
if (n && n.isReactWarning)
|
|
385
386
|
return !1;
|
|
386
387
|
}
|
|
387
388
|
return e.ref !== void 0;
|
|
388
389
|
}
|
|
389
|
-
function
|
|
390
|
-
if (
|
|
391
|
-
var
|
|
392
|
-
if (
|
|
390
|
+
function mn(e) {
|
|
391
|
+
if (K.call(e, "key")) {
|
|
392
|
+
var n = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
393
|
+
if (n && n.isReactWarning)
|
|
393
394
|
return !1;
|
|
394
395
|
}
|
|
395
396
|
return e.key !== void 0;
|
|
396
397
|
}
|
|
397
|
-
function
|
|
398
|
-
if (typeof e.ref == "string" &&
|
|
399
|
-
var
|
|
400
|
-
|
|
398
|
+
function Cn(e, n) {
|
|
399
|
+
if (typeof e.ref == "string" && q.current && n && q.current.stateNode !== n) {
|
|
400
|
+
var r = D(q.current.type);
|
|
401
|
+
Re[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', D(q.current.type), e.ref), Re[r] = !0);
|
|
401
402
|
}
|
|
402
403
|
}
|
|
403
|
-
function
|
|
404
|
+
function yn(e, n) {
|
|
404
405
|
{
|
|
405
|
-
var
|
|
406
|
-
|
|
406
|
+
var r = function() {
|
|
407
|
+
We || (We = !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));
|
|
407
408
|
};
|
|
408
|
-
|
|
409
|
-
get:
|
|
409
|
+
r.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
410
|
+
get: r,
|
|
410
411
|
configurable: !0
|
|
411
412
|
});
|
|
412
413
|
}
|
|
413
414
|
}
|
|
414
|
-
function
|
|
415
|
+
function wn(e, n) {
|
|
415
416
|
{
|
|
416
|
-
var
|
|
417
|
-
|
|
417
|
+
var r = function() {
|
|
418
|
+
Be || (Be = !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));
|
|
418
419
|
};
|
|
419
|
-
|
|
420
|
-
get:
|
|
420
|
+
r.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
421
|
+
get: r,
|
|
421
422
|
configurable: !0
|
|
422
423
|
});
|
|
423
424
|
}
|
|
424
425
|
}
|
|
425
|
-
var
|
|
426
|
-
var
|
|
426
|
+
var jn = function(e, n, r, l, d, g, c) {
|
|
427
|
+
var s = {
|
|
427
428
|
// This tag allows us to uniquely identify this as a React Element
|
|
428
|
-
$$typeof:
|
|
429
|
+
$$typeof: f,
|
|
429
430
|
// Built-in properties that belong on the element
|
|
430
431
|
type: e,
|
|
431
|
-
key:
|
|
432
|
-
ref:
|
|
433
|
-
props:
|
|
432
|
+
key: n,
|
|
433
|
+
ref: r,
|
|
434
|
+
props: c,
|
|
434
435
|
// Record the component responsible for creating this element.
|
|
435
|
-
_owner:
|
|
436
|
+
_owner: g
|
|
436
437
|
};
|
|
437
|
-
return
|
|
438
|
+
return s._store = {}, Object.defineProperty(s._store, "validated", {
|
|
438
439
|
configurable: !1,
|
|
439
440
|
enumerable: !1,
|
|
440
441
|
writable: !0,
|
|
441
442
|
value: !1
|
|
442
|
-
}), Object.defineProperty(
|
|
443
|
+
}), Object.defineProperty(s, "_self", {
|
|
443
444
|
configurable: !1,
|
|
444
445
|
enumerable: !1,
|
|
445
446
|
writable: !1,
|
|
446
|
-
value:
|
|
447
|
-
}), Object.defineProperty(
|
|
447
|
+
value: l
|
|
448
|
+
}), Object.defineProperty(s, "_source", {
|
|
448
449
|
configurable: !1,
|
|
449
450
|
enumerable: !1,
|
|
450
451
|
writable: !1,
|
|
451
|
-
value:
|
|
452
|
-
}), Object.freeze && (Object.freeze(
|
|
452
|
+
value: d
|
|
453
|
+
}), Object.freeze && (Object.freeze(s.props), Object.freeze(s)), s;
|
|
453
454
|
};
|
|
454
|
-
function
|
|
455
|
+
function En(e, n, r, l, d) {
|
|
455
456
|
{
|
|
456
|
-
var
|
|
457
|
-
|
|
458
|
-
for (
|
|
459
|
-
|
|
457
|
+
var g, c = {}, s = null, T = null;
|
|
458
|
+
r !== void 0 && ($e(r), s = "" + r), mn(n) && ($e(n.key), s = "" + n.key), bn(n) && (T = n.ref, Cn(n, d));
|
|
459
|
+
for (g in n)
|
|
460
|
+
K.call(n, g) && !xn.hasOwnProperty(g) && (c[g] = n[g]);
|
|
460
461
|
if (e && e.defaultProps) {
|
|
461
|
-
var
|
|
462
|
-
for (
|
|
463
|
-
|
|
462
|
+
var y = e.defaultProps;
|
|
463
|
+
for (g in y)
|
|
464
|
+
c[g] === void 0 && (c[g] = y[g]);
|
|
464
465
|
}
|
|
465
|
-
if (
|
|
466
|
-
var
|
|
467
|
-
|
|
466
|
+
if (s || T) {
|
|
467
|
+
var j = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
468
|
+
s && yn(c, j), T && wn(c, j);
|
|
468
469
|
}
|
|
469
|
-
return
|
|
470
|
+
return jn(e, s, T, d, l, q.current, c);
|
|
470
471
|
}
|
|
471
472
|
}
|
|
472
|
-
var
|
|
473
|
-
function
|
|
473
|
+
var _e = F.ReactCurrentOwner, Ve = F.ReactDebugCurrentFrame;
|
|
474
|
+
function N(e) {
|
|
474
475
|
if (e) {
|
|
475
|
-
var
|
|
476
|
-
|
|
476
|
+
var n = e._owner, r = ce(e.type, e._source, n ? n.type : null);
|
|
477
|
+
Ve.setExtraStackFrame(r);
|
|
477
478
|
} else
|
|
478
|
-
|
|
479
|
+
Ve.setExtraStackFrame(null);
|
|
479
480
|
}
|
|
480
|
-
var
|
|
481
|
-
|
|
482
|
-
function
|
|
483
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
481
|
+
var Se;
|
|
482
|
+
Se = !1;
|
|
483
|
+
function ke(e) {
|
|
484
|
+
return typeof e == "object" && e !== null && e.$$typeof === f;
|
|
484
485
|
}
|
|
485
|
-
function
|
|
486
|
+
function Ne() {
|
|
486
487
|
{
|
|
487
|
-
if (
|
|
488
|
-
var e =
|
|
488
|
+
if (_e.current) {
|
|
489
|
+
var e = D(_e.current.type);
|
|
489
490
|
if (e)
|
|
490
491
|
return `
|
|
491
492
|
|
|
@@ -494,207 +495,207 @@ Check the render method of \`` + e + "`.";
|
|
|
494
495
|
return "";
|
|
495
496
|
}
|
|
496
497
|
}
|
|
497
|
-
function
|
|
498
|
+
function Rn(e) {
|
|
498
499
|
{
|
|
499
500
|
if (e !== void 0) {
|
|
500
|
-
var
|
|
501
|
+
var n = e.fileName.replace(/^.*[\\\/]/, ""), r = e.lineNumber;
|
|
501
502
|
return `
|
|
502
503
|
|
|
503
|
-
Check your code at ` +
|
|
504
|
+
Check your code at ` + n + ":" + r + ".";
|
|
504
505
|
}
|
|
505
506
|
return "";
|
|
506
507
|
}
|
|
507
508
|
}
|
|
508
|
-
var
|
|
509
|
-
function
|
|
509
|
+
var Ye = {};
|
|
510
|
+
function _n(e) {
|
|
510
511
|
{
|
|
511
|
-
var
|
|
512
|
-
if (!
|
|
513
|
-
var
|
|
514
|
-
|
|
512
|
+
var n = Ne();
|
|
513
|
+
if (!n) {
|
|
514
|
+
var r = typeof e == "string" ? e : e.displayName || e.name;
|
|
515
|
+
r && (n = `
|
|
515
516
|
|
|
516
|
-
Check the top-level render call using <` +
|
|
517
|
+
Check the top-level render call using <` + r + ">.");
|
|
517
518
|
}
|
|
518
|
-
return
|
|
519
|
+
return n;
|
|
519
520
|
}
|
|
520
521
|
}
|
|
521
|
-
function
|
|
522
|
+
function ze(e, n) {
|
|
522
523
|
{
|
|
523
524
|
if (!e._store || e._store.validated || e.key != null)
|
|
524
525
|
return;
|
|
525
526
|
e._store.validated = !0;
|
|
526
|
-
var
|
|
527
|
-
if (
|
|
527
|
+
var r = _n(n);
|
|
528
|
+
if (Ye[r])
|
|
528
529
|
return;
|
|
529
|
-
|
|
530
|
-
var
|
|
531
|
-
e && e._owner && e._owner !==
|
|
530
|
+
Ye[r] = !0;
|
|
531
|
+
var l = "";
|
|
532
|
+
e && e._owner && e._owner !== _e.current && (l = " It was passed a child from " + D(e._owner.type) + "."), N(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, l), N(null);
|
|
532
533
|
}
|
|
533
534
|
}
|
|
534
|
-
function
|
|
535
|
+
function Ue(e, n) {
|
|
535
536
|
{
|
|
536
537
|
if (typeof e != "object")
|
|
537
538
|
return;
|
|
538
|
-
if (
|
|
539
|
-
for (var
|
|
540
|
-
var
|
|
541
|
-
|
|
539
|
+
if (Ee(e))
|
|
540
|
+
for (var r = 0; r < e.length; r++) {
|
|
541
|
+
var l = e[r];
|
|
542
|
+
ke(l) && ze(l, n);
|
|
542
543
|
}
|
|
543
|
-
else if (
|
|
544
|
+
else if (ke(e))
|
|
544
545
|
e._store && (e._store.validated = !0);
|
|
545
546
|
else if (e) {
|
|
546
|
-
var
|
|
547
|
-
if (typeof
|
|
548
|
-
for (var
|
|
549
|
-
|
|
547
|
+
var d = he(e);
|
|
548
|
+
if (typeof d == "function" && d !== e.entries)
|
|
549
|
+
for (var g = d.call(e), c; !(c = g.next()).done; )
|
|
550
|
+
ke(c.value) && ze(c.value, n);
|
|
550
551
|
}
|
|
551
552
|
}
|
|
552
553
|
}
|
|
553
|
-
function
|
|
554
|
+
function Sn(e) {
|
|
554
555
|
{
|
|
555
|
-
var
|
|
556
|
-
if (
|
|
556
|
+
var n = e.type;
|
|
557
|
+
if (n == null || typeof n == "string")
|
|
557
558
|
return;
|
|
558
|
-
var
|
|
559
|
-
if (typeof
|
|
560
|
-
|
|
561
|
-
else if (typeof
|
|
559
|
+
var r;
|
|
560
|
+
if (typeof n == "function")
|
|
561
|
+
r = n.propTypes;
|
|
562
|
+
else if (typeof n == "object" && (n.$$typeof === u || // Note: Memo only checks outer props here.
|
|
562
563
|
// Inner props are checked in the reconciler.
|
|
563
|
-
|
|
564
|
-
|
|
564
|
+
n.$$typeof === v))
|
|
565
|
+
r = n.propTypes;
|
|
565
566
|
else
|
|
566
567
|
return;
|
|
567
|
-
if (
|
|
568
|
-
var
|
|
569
|
-
|
|
570
|
-
} else if (
|
|
571
|
-
|
|
572
|
-
var
|
|
573
|
-
|
|
568
|
+
if (r) {
|
|
569
|
+
var l = D(n);
|
|
570
|
+
pn(r, e.props, "prop", l, e);
|
|
571
|
+
} else if (n.PropTypes !== void 0 && !Se) {
|
|
572
|
+
Se = !0;
|
|
573
|
+
var d = D(n);
|
|
574
|
+
_("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", d || "Unknown");
|
|
574
575
|
}
|
|
575
|
-
typeof
|
|
576
|
+
typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
576
577
|
}
|
|
577
578
|
}
|
|
578
|
-
function
|
|
579
|
+
function kn(e) {
|
|
579
580
|
{
|
|
580
|
-
for (var
|
|
581
|
-
var
|
|
582
|
-
if (
|
|
583
|
-
|
|
581
|
+
for (var n = Object.keys(e.props), r = 0; r < n.length; r++) {
|
|
582
|
+
var l = n[r];
|
|
583
|
+
if (l !== "children" && l !== "key") {
|
|
584
|
+
N(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", l), N(null);
|
|
584
585
|
break;
|
|
585
586
|
}
|
|
586
587
|
}
|
|
587
|
-
e.ref !== null && (
|
|
588
|
+
e.ref !== null && (N(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), N(null));
|
|
588
589
|
}
|
|
589
590
|
}
|
|
590
|
-
var
|
|
591
|
-
function
|
|
591
|
+
var Ge = {};
|
|
592
|
+
function Ze(e, n, r, l, d, g) {
|
|
592
593
|
{
|
|
593
|
-
var
|
|
594
|
-
if (!
|
|
595
|
-
var
|
|
596
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
597
|
-
var
|
|
598
|
-
|
|
599
|
-
var
|
|
600
|
-
e === null ?
|
|
594
|
+
var c = me(e);
|
|
595
|
+
if (!c) {
|
|
596
|
+
var s = "";
|
|
597
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (s += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
598
|
+
var T = Rn(d);
|
|
599
|
+
T ? s += T : s += Ne();
|
|
600
|
+
var y;
|
|
601
|
+
e === null ? y = "null" : Ee(e) ? y = "array" : e !== void 0 && e.$$typeof === f ? (y = "<" + (D(e.type) || "Unknown") + " />", s = " Did you accidentally export a JSX literal instead of a component?") : y = 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", y, s);
|
|
601
602
|
}
|
|
602
|
-
var
|
|
603
|
-
if (
|
|
604
|
-
return
|
|
605
|
-
if (
|
|
606
|
-
var
|
|
607
|
-
if (
|
|
608
|
-
if (
|
|
609
|
-
if (
|
|
610
|
-
for (var
|
|
611
|
-
|
|
612
|
-
Object.freeze && Object.freeze(
|
|
603
|
+
var j = En(e, n, r, d, g);
|
|
604
|
+
if (j == null)
|
|
605
|
+
return j;
|
|
606
|
+
if (c) {
|
|
607
|
+
var M = n.children;
|
|
608
|
+
if (M !== void 0)
|
|
609
|
+
if (l)
|
|
610
|
+
if (Ee(M)) {
|
|
611
|
+
for (var Y = 0; Y < M.length; Y++)
|
|
612
|
+
Ue(M[Y], e);
|
|
613
|
+
Object.freeze && Object.freeze(M);
|
|
613
614
|
} else
|
|
614
|
-
|
|
615
|
+
_("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
615
616
|
else
|
|
616
|
-
|
|
617
|
+
Ue(M, e);
|
|
617
618
|
}
|
|
618
|
-
if (
|
|
619
|
-
var
|
|
620
|
-
return
|
|
621
|
-
}),
|
|
622
|
-
if (!
|
|
623
|
-
var
|
|
624
|
-
|
|
619
|
+
if (K.call(n, "key")) {
|
|
620
|
+
var W = D(e), P = Object.keys(n).filter(function(In) {
|
|
621
|
+
return In !== "key";
|
|
622
|
+
}), Te = P.length > 0 ? "{key: someKey, " + P.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
623
|
+
if (!Ge[W + Te]) {
|
|
624
|
+
var Dn = P.length > 0 ? "{" + P.join(": ..., ") + ": ...}" : "{}";
|
|
625
|
+
_(`A props object containing a "key" prop is being spread into JSX:
|
|
625
626
|
let props = %s;
|
|
626
627
|
<%s {...props} />
|
|
627
628
|
React keys must be passed directly to JSX without using spread:
|
|
628
629
|
let props = %s;
|
|
629
|
-
<%s key={someKey} {...props} />`,
|
|
630
|
+
<%s key={someKey} {...props} />`, Te, W, Dn, W), Ge[W + Te] = !0;
|
|
630
631
|
}
|
|
631
632
|
}
|
|
632
|
-
return e ===
|
|
633
|
+
return e === p ? kn(j) : Sn(j), j;
|
|
633
634
|
}
|
|
634
635
|
}
|
|
635
|
-
function
|
|
636
|
-
return
|
|
636
|
+
function Tn(e, n, r) {
|
|
637
|
+
return Ze(e, n, r, !0);
|
|
637
638
|
}
|
|
638
|
-
function
|
|
639
|
-
return
|
|
639
|
+
function On(e, n, r) {
|
|
640
|
+
return Ze(e, n, r, !1);
|
|
640
641
|
}
|
|
641
|
-
var
|
|
642
|
-
|
|
643
|
-
}()),
|
|
642
|
+
var Pn = On, Ln = Tn;
|
|
643
|
+
ee.Fragment = p, ee.jsx = Pn, ee.jsxs = Ln;
|
|
644
|
+
}()), ee;
|
|
644
645
|
}
|
|
645
|
-
process.env.NODE_ENV === "production" ?
|
|
646
|
-
var
|
|
647
|
-
const
|
|
646
|
+
process.env.NODE_ENV === "production" ? Le.exports = nt() : Le.exports = tt();
|
|
647
|
+
var t = Le.exports;
|
|
648
|
+
const Pe = 60, en = 6, rt = (i) => {
|
|
648
649
|
const {
|
|
649
|
-
activeStepIndex:
|
|
650
|
-
hideIndicators:
|
|
651
|
-
steps:
|
|
652
|
-
stepperTheme:
|
|
650
|
+
activeStepIndex: f,
|
|
651
|
+
hideIndicators: m = !1,
|
|
652
|
+
steps: p,
|
|
653
|
+
stepperTheme: w = {
|
|
653
654
|
light: "eggplant.light",
|
|
654
655
|
base: "eggplant.base"
|
|
655
656
|
}
|
|
656
|
-
} =
|
|
657
|
-
index:
|
|
658
|
-
count:
|
|
657
|
+
} = i, { activeStep: b, setActiveStep: E } = Mn({
|
|
658
|
+
index: f,
|
|
659
|
+
count: p.length
|
|
659
660
|
});
|
|
660
|
-
return
|
|
661
|
-
|
|
662
|
-
}, [
|
|
661
|
+
return ne(() => {
|
|
662
|
+
E(f);
|
|
663
|
+
}, [f, E]), /* @__PURE__ */ t.jsx(
|
|
663
664
|
C,
|
|
664
|
-
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */
|
|
665
|
-
|
|
665
|
+
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
|
|
666
|
+
Fn,
|
|
666
667
|
{
|
|
667
668
|
role: "progressbar",
|
|
668
|
-
index:
|
|
669
|
+
index: b,
|
|
669
670
|
width: "100%",
|
|
670
671
|
display: "flex",
|
|
671
672
|
flexWrap: "nowrap",
|
|
672
|
-
children:
|
|
673
|
-
const
|
|
674
|
-
let
|
|
675
|
-
const
|
|
676
|
-
return
|
|
673
|
+
children: p.map((S, u) => {
|
|
674
|
+
const x = b === u, h = u === 0, v = u === p.length - 1, R = b > u;
|
|
675
|
+
let a = `${Pe}px`;
|
|
676
|
+
const k = `calc(100% - ((${Pe * (p.length - 1)}px) - (${p.length - 1} * ${en * 2}px)))`;
|
|
677
|
+
return x ? a = k : (h || v) && (a = `${Pe - en}px`), /* @__PURE__ */ t.jsx(
|
|
677
678
|
C,
|
|
678
679
|
{
|
|
679
|
-
width:
|
|
680
|
-
opacity:
|
|
681
|
-
paddingRight:
|
|
682
|
-
paddingLeft:
|
|
680
|
+
width: a,
|
|
681
|
+
opacity: R || x ? 1 : 0.2,
|
|
682
|
+
paddingRight: v ? "0" : "6px",
|
|
683
|
+
paddingLeft: h ? "0" : "6px",
|
|
683
684
|
transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
|
|
684
|
-
children: /* @__PURE__ */
|
|
685
|
+
children: /* @__PURE__ */ t.jsx(
|
|
685
686
|
C,
|
|
686
687
|
{
|
|
687
|
-
paddingTop:
|
|
688
|
+
paddingTop: m ? 2 : 5,
|
|
688
689
|
position: "relative",
|
|
689
690
|
width: "100%",
|
|
690
|
-
children: /* @__PURE__ */
|
|
691
|
+
children: /* @__PURE__ */ t.jsx(
|
|
691
692
|
C,
|
|
692
693
|
{
|
|
693
694
|
width: "100%",
|
|
694
695
|
position: "absolute",
|
|
695
696
|
top: "0",
|
|
696
|
-
backgroundColor:
|
|
697
|
-
height:
|
|
697
|
+
backgroundColor: R ? w.light : w.base,
|
|
698
|
+
height: m ? "4px" : "8px",
|
|
698
699
|
borderRadius: "4",
|
|
699
700
|
left: "0"
|
|
700
701
|
}
|
|
@@ -702,203 +703,243 @@ const ae = 60, $e = 6, Hr = (c) => {
|
|
|
702
703
|
}
|
|
703
704
|
)
|
|
704
705
|
},
|
|
705
|
-
`step-${
|
|
706
|
+
`step-${u}`
|
|
706
707
|
);
|
|
707
708
|
})
|
|
708
709
|
}
|
|
709
710
|
) }
|
|
710
711
|
);
|
|
711
|
-
},
|
|
712
|
-
children:
|
|
713
|
-
...
|
|
714
|
-
}) => /* @__PURE__ */
|
|
715
|
-
|
|
716
|
-
{ color: "tints.uiGrey", fontSize: ["md", null, "lg"], ...
|
|
717
|
-
),
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
s && (typeof s == "string" ? /* @__PURE__ */ n.jsx(
|
|
756
|
-
G,
|
|
757
|
-
{
|
|
758
|
-
fontSize: ["xl", null, "lg"],
|
|
759
|
-
fontWeight: "medium",
|
|
760
|
-
color: "tints.uiGrey",
|
|
761
|
-
sx: {
|
|
762
|
-
"a:hover &": {
|
|
763
|
-
color: "viridian.base"
|
|
764
|
-
}
|
|
765
|
-
},
|
|
766
|
-
children: s
|
|
767
|
-
}
|
|
768
|
-
) : s),
|
|
769
|
-
/* @__PURE__ */ n.jsx(
|
|
770
|
-
oe,
|
|
712
|
+
}, pt = Ie.memo(rt), ht = ({
|
|
713
|
+
children: i,
|
|
714
|
+
...f
|
|
715
|
+
}) => /* @__PURE__ */ t.jsx(
|
|
716
|
+
Gn,
|
|
717
|
+
{ color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...f, children: i }
|
|
718
|
+
), sn = (i, f) => {
|
|
719
|
+
const m = (i == null ? void 0 : i.startsWith("http")) || (i == null ? void 0 : i.startsWith("mailto"));
|
|
720
|
+
return f && !m ? {
|
|
721
|
+
to: i
|
|
722
|
+
} : {
|
|
723
|
+
href: i
|
|
724
|
+
};
|
|
725
|
+
}, nn = on(
|
|
726
|
+
(i, f) => {
|
|
727
|
+
const {
|
|
728
|
+
label: m,
|
|
729
|
+
additionalContent: p,
|
|
730
|
+
mainTextFontSize: w,
|
|
731
|
+
linkComponent: b,
|
|
732
|
+
href: E,
|
|
733
|
+
...S
|
|
734
|
+
} = i, u = b || te, x = sn(E, !!b);
|
|
735
|
+
return /* @__PURE__ */ t.jsxs(
|
|
736
|
+
C,
|
|
737
|
+
{
|
|
738
|
+
ref: f,
|
|
739
|
+
as: u,
|
|
740
|
+
display: "flex",
|
|
741
|
+
alignItems: "center",
|
|
742
|
+
gap: [null, null, null, 1],
|
|
743
|
+
justifyContent: [null, null, null, "space-between"],
|
|
744
|
+
paddingY: [3, null, null, 0],
|
|
745
|
+
color: "tints.black",
|
|
746
|
+
_hover: { color: "viridian.base", textDecoration: "none" },
|
|
747
|
+
borderBottom: ["1px", null, null, "unset"],
|
|
748
|
+
borderColor: ["tints.cream", null, null, "unset"],
|
|
749
|
+
width: ["100%", null, null, "fit-content"],
|
|
750
|
+
cursor: "pointer",
|
|
751
|
+
...x,
|
|
752
|
+
...S,
|
|
753
|
+
children: [
|
|
754
|
+
/* @__PURE__ */ t.jsx(
|
|
755
|
+
pe,
|
|
771
756
|
{
|
|
772
|
-
display: ["
|
|
773
|
-
as:
|
|
774
|
-
fontSize: "
|
|
775
|
-
color: "
|
|
757
|
+
display: ["none", null, null, "block"],
|
|
758
|
+
as: Je,
|
|
759
|
+
fontSize: "lg",
|
|
760
|
+
color: "viridian.light",
|
|
776
761
|
role: "img",
|
|
777
762
|
"aria-label": "Caret right icon",
|
|
778
|
-
|
|
763
|
+
weight: "bold"
|
|
779
764
|
}
|
|
765
|
+
),
|
|
766
|
+
/* @__PURE__ */ t.jsxs(
|
|
767
|
+
L,
|
|
768
|
+
{ alignItems: "center", gap: "1", width: ["100%", null, null, "auto"], children: [
|
|
769
|
+
/* @__PURE__ */ t.jsx(
|
|
770
|
+
U,
|
|
771
|
+
{
|
|
772
|
+
fontSize: [w || "xl", null, null, "lg"],
|
|
773
|
+
fontWeight: "medium",
|
|
774
|
+
children: m
|
|
775
|
+
}
|
|
776
|
+
),
|
|
777
|
+
p && (typeof p == "string" ? /* @__PURE__ */ t.jsx(
|
|
778
|
+
U,
|
|
779
|
+
{
|
|
780
|
+
fontSize: ["xl", null, null, "lg"],
|
|
781
|
+
fontWeight: "medium",
|
|
782
|
+
color: "tints.uiGrey",
|
|
783
|
+
sx: {
|
|
784
|
+
"a:hover &": {
|
|
785
|
+
color: "viridian.base"
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
children: p
|
|
789
|
+
}
|
|
790
|
+
) : p),
|
|
791
|
+
/* @__PURE__ */ t.jsx(
|
|
792
|
+
pe,
|
|
793
|
+
{
|
|
794
|
+
display: ["block", null, null, "none"],
|
|
795
|
+
as: Je,
|
|
796
|
+
fontSize: "2xl",
|
|
797
|
+
color: "tints.uiGrey",
|
|
798
|
+
role: "img",
|
|
799
|
+
"aria-label": "Caret right icon",
|
|
800
|
+
marginLeft: "auto"
|
|
801
|
+
}
|
|
802
|
+
)
|
|
803
|
+
] }
|
|
780
804
|
)
|
|
781
|
-
]
|
|
782
|
-
|
|
783
|
-
|
|
805
|
+
]
|
|
806
|
+
}
|
|
807
|
+
);
|
|
784
808
|
}
|
|
785
|
-
),
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
const { children: v, isSelected: h, ...E } = c, g = c.backgroundColor || Wr(c);
|
|
791
|
-
return /* @__PURE__ */ n.jsx(
|
|
792
|
-
_r,
|
|
809
|
+
), tn = on(
|
|
810
|
+
(i, f) => {
|
|
811
|
+
const { children: m, isSelected: p, ...w } = i, b = p ? "tints.lightCream" : "transparent";
|
|
812
|
+
return /* @__PURE__ */ t.jsx(
|
|
813
|
+
Hn,
|
|
793
814
|
{
|
|
794
|
-
ref:
|
|
815
|
+
ref: f,
|
|
795
816
|
borderRadius: "full",
|
|
796
|
-
backgroundColor:
|
|
797
|
-
fontSize: "lg",
|
|
817
|
+
backgroundColor: b,
|
|
818
|
+
fontSize: "lg !important",
|
|
798
819
|
fontWeight: "normal",
|
|
799
820
|
color: "tints.black",
|
|
821
|
+
_before: {
|
|
822
|
+
content: '""',
|
|
823
|
+
position: "absolute",
|
|
824
|
+
top: [null, null, null, -6],
|
|
825
|
+
right: [null, null, null, -2],
|
|
826
|
+
bottom: [null, null, null, -6],
|
|
827
|
+
left: [null, null, null, -2]
|
|
828
|
+
},
|
|
800
829
|
_hover: {
|
|
801
|
-
backgroundColor:
|
|
830
|
+
backgroundColor: b,
|
|
802
831
|
textDecoration: "none",
|
|
803
832
|
filter: "brightness(0.95)"
|
|
804
833
|
},
|
|
805
|
-
...
|
|
806
|
-
children:
|
|
834
|
+
...w,
|
|
835
|
+
children: m
|
|
807
836
|
}
|
|
808
837
|
);
|
|
809
838
|
}
|
|
810
|
-
),
|
|
811
|
-
title:
|
|
812
|
-
description:
|
|
813
|
-
imageSrc:
|
|
814
|
-
imageElement:
|
|
815
|
-
button:
|
|
816
|
-
backgroundColor:
|
|
817
|
-
onClick:
|
|
839
|
+
), lt = ({
|
|
840
|
+
title: i,
|
|
841
|
+
description: f,
|
|
842
|
+
imageSrc: m,
|
|
843
|
+
imageElement: p,
|
|
844
|
+
button: w,
|
|
845
|
+
backgroundColor: b = "viridian.wash",
|
|
846
|
+
onClick: E,
|
|
847
|
+
href: S,
|
|
848
|
+
linkComponent: u
|
|
818
849
|
}) => {
|
|
819
|
-
const
|
|
820
|
-
return /* @__PURE__ */
|
|
821
|
-
|
|
850
|
+
const x = "80px", h = "200px", v = "272px", R = u || te, a = sn(S, !!u);
|
|
851
|
+
return /* @__PURE__ */ t.jsxs(
|
|
852
|
+
L,
|
|
822
853
|
{
|
|
823
|
-
direction: ["row", null, "column"],
|
|
854
|
+
direction: ["row", null, null, "column"],
|
|
824
855
|
alignItems: ["center"],
|
|
825
856
|
borderRadius: "xl",
|
|
826
857
|
overflow: "hidden",
|
|
827
|
-
height: [
|
|
828
|
-
backgroundColor:
|
|
829
|
-
onClick:
|
|
858
|
+
height: [x, null, null, v],
|
|
859
|
+
backgroundColor: b,
|
|
860
|
+
onClick: E,
|
|
830
861
|
"data-testid": "spotlight-card",
|
|
831
862
|
position: "relative",
|
|
832
863
|
transition: "box-shadow 0.2s ease-in-out",
|
|
864
|
+
border: "1px solid",
|
|
865
|
+
borderColor: "transparent",
|
|
833
866
|
_hover: {
|
|
834
867
|
boxShadow: "lg",
|
|
835
|
-
cursor: "pointer"
|
|
868
|
+
cursor: "pointer",
|
|
869
|
+
textDecoration: "none",
|
|
870
|
+
border: "1px solid",
|
|
871
|
+
borderColor: "tints.white"
|
|
836
872
|
},
|
|
873
|
+
as: R,
|
|
874
|
+
...a,
|
|
837
875
|
children: [
|
|
838
|
-
/* @__PURE__ */
|
|
876
|
+
/* @__PURE__ */ t.jsx(
|
|
839
877
|
C,
|
|
840
878
|
{
|
|
841
|
-
width: ["72px", null, "100%"],
|
|
879
|
+
width: ["72px", null, null, "100%"],
|
|
842
880
|
height: ["100%"],
|
|
843
|
-
flex: [null, null, "1"],
|
|
844
|
-
children:
|
|
845
|
-
|
|
881
|
+
flex: [null, null, null, "1"],
|
|
882
|
+
children: m ? /* @__PURE__ */ t.jsx(
|
|
883
|
+
An,
|
|
846
884
|
{
|
|
847
|
-
src:
|
|
885
|
+
src: m,
|
|
848
886
|
objectFit: "cover",
|
|
849
|
-
height: [
|
|
887
|
+
height: [x, null, null, h],
|
|
850
888
|
width: "100%",
|
|
851
889
|
alt: "",
|
|
852
890
|
"data-testid": "spotlight-card-image"
|
|
853
891
|
}
|
|
854
|
-
) : /* @__PURE__ */
|
|
892
|
+
) : /* @__PURE__ */ t.jsx(
|
|
855
893
|
C,
|
|
856
894
|
{
|
|
857
|
-
height: [
|
|
895
|
+
height: [x, null, null, h],
|
|
858
896
|
overflow: "hidden",
|
|
859
|
-
children:
|
|
897
|
+
children: p
|
|
860
898
|
}
|
|
861
899
|
)
|
|
862
900
|
}
|
|
863
901
|
),
|
|
864
|
-
/* @__PURE__ */
|
|
865
|
-
|
|
902
|
+
/* @__PURE__ */ t.jsxs(
|
|
903
|
+
L,
|
|
866
904
|
{
|
|
867
|
-
direction: ["column", null, "row"],
|
|
868
|
-
justifyContent: [null, null, "space-between"],
|
|
869
|
-
alignItems: ["left", null, "center"],
|
|
905
|
+
direction: ["column", null, null, "row"],
|
|
906
|
+
justifyContent: [null, null, null, "space-between"],
|
|
907
|
+
alignItems: ["left", null, null, "center"],
|
|
870
908
|
padding: "4",
|
|
871
|
-
height: ["100%", null, "auto"],
|
|
909
|
+
height: ["100%", null, null, "auto"],
|
|
872
910
|
width: "100%",
|
|
873
|
-
position: [null, null, "absolute"],
|
|
874
|
-
bottom: [null, null, "0"],
|
|
875
|
-
backgroundColor: [null, null, `${
|
|
876
|
-
backdropFilter: [null, null, "blur(8px)"],
|
|
911
|
+
position: [null, null, null, "absolute"],
|
|
912
|
+
bottom: [null, null, null, "0"],
|
|
913
|
+
backgroundColor: [null, null, null, `${b}CC`],
|
|
914
|
+
backdropFilter: [null, null, null, "blur(8px)"],
|
|
877
915
|
children: [
|
|
878
|
-
/* @__PURE__ */
|
|
916
|
+
/* @__PURE__ */ t.jsxs(
|
|
879
917
|
C,
|
|
880
918
|
{ children: [
|
|
881
|
-
/* @__PURE__ */
|
|
882
|
-
|
|
883
|
-
{ fontSize: "lg", fontWeight: "medium", children:
|
|
919
|
+
/* @__PURE__ */ t.jsx(
|
|
920
|
+
U,
|
|
921
|
+
{ fontSize: "lg", fontWeight: "medium", color: "tints.black", children: i }
|
|
884
922
|
),
|
|
885
|
-
/* @__PURE__ */
|
|
923
|
+
/* @__PURE__ */ t.jsx(
|
|
924
|
+
U,
|
|
925
|
+
{ fontSize: "sm", color: "tints.black", children: f }
|
|
926
|
+
)
|
|
886
927
|
] }
|
|
887
928
|
),
|
|
888
|
-
/* @__PURE__ */
|
|
929
|
+
/* @__PURE__ */ t.jsx(C, { display: ["none", null, null, "block"], children: w })
|
|
889
930
|
]
|
|
890
931
|
}
|
|
891
932
|
)
|
|
892
933
|
]
|
|
893
934
|
}
|
|
894
935
|
);
|
|
895
|
-
},
|
|
896
|
-
|
|
936
|
+
}, G = (i) => /* @__PURE__ */ t.jsx(
|
|
937
|
+
$n,
|
|
897
938
|
{
|
|
898
939
|
size: "sm",
|
|
899
|
-
width: ["40px", null, "46px"],
|
|
900
|
-
height: ["40px", null, "46px"],
|
|
901
|
-
padding: ["2 !important", null, "3 !important"],
|
|
940
|
+
width: ["40px", null, null, "46px"],
|
|
941
|
+
height: ["40px", null, null, "46px"],
|
|
942
|
+
padding: ["2 !important", null, null, "3 !important"],
|
|
902
943
|
colorScheme: "whiteCS",
|
|
903
944
|
backgroundColor: "tints.cream",
|
|
904
945
|
sx: {
|
|
@@ -911,9 +952,9 @@ const ae = 60, $e = 6, Hr = (c) => {
|
|
|
911
952
|
backgroundColor: "tints.cream",
|
|
912
953
|
filter: "brightness(0.95)"
|
|
913
954
|
},
|
|
914
|
-
...
|
|
955
|
+
...i
|
|
915
956
|
}
|
|
916
|
-
),
|
|
957
|
+
), it = () => /* @__PURE__ */ t.jsx(
|
|
917
958
|
"svg",
|
|
918
959
|
{
|
|
919
960
|
width: "116",
|
|
@@ -923,9 +964,9 @@ const ae = 60, $e = 6, Hr = (c) => {
|
|
|
923
964
|
xmlns: "http://www.w3.org/2000/svg",
|
|
924
965
|
role: "img",
|
|
925
966
|
"aria-label": "Everlywell Logo",
|
|
926
|
-
children: /* @__PURE__ */
|
|
967
|
+
children: /* @__PURE__ */ t.jsx(
|
|
927
968
|
"g",
|
|
928
|
-
{ id: "Everlywell Logo", children: /* @__PURE__ */
|
|
969
|
+
{ id: "Everlywell Logo", children: /* @__PURE__ */ t.jsx(
|
|
929
970
|
"path",
|
|
930
971
|
{
|
|
931
972
|
id: "Everlywell Logo_2",
|
|
@@ -937,74 +978,105 @@ const ae = 60, $e = 6, Hr = (c) => {
|
|
|
937
978
|
) }
|
|
938
979
|
)
|
|
939
980
|
}
|
|
940
|
-
),
|
|
941
|
-
desktopTopButtons:
|
|
942
|
-
kitRegistrationElement:
|
|
943
|
-
profileElement:
|
|
944
|
-
cartElement:
|
|
945
|
-
onSearchClick:
|
|
946
|
-
onMenuClick:
|
|
947
|
-
hasSearch:
|
|
948
|
-
logoLink:
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
{
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
|
|
967
|
-
|
|
968
|
-
|
|
969
|
-
|
|
970
|
-
|
|
971
|
-
|
|
972
|
-
|
|
973
|
-
|
|
974
|
-
|
|
975
|
-
|
|
976
|
-
|
|
977
|
-
|
|
978
|
-
|
|
979
|
-
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
981
|
+
), ot = ({
|
|
982
|
+
desktopTopButtons: i,
|
|
983
|
+
kitRegistrationElement: f,
|
|
984
|
+
profileElement: m,
|
|
985
|
+
cartElement: p,
|
|
986
|
+
onSearchClick: w,
|
|
987
|
+
onMenuClick: b,
|
|
988
|
+
hasSearch: E = !1,
|
|
989
|
+
logoLink: S = "https://www.everlywell.com",
|
|
990
|
+
onHeightChange: u
|
|
991
|
+
}) => {
|
|
992
|
+
const x = Un(null), [h, v] = z(0), R = 100, a = an(() => {
|
|
993
|
+
if (x.current && u) {
|
|
994
|
+
const k = Date.now();
|
|
995
|
+
if (k - h > R) {
|
|
996
|
+
const B = x.current.getBoundingClientRect().height;
|
|
997
|
+
u(B), v(k);
|
|
998
|
+
}
|
|
999
|
+
}
|
|
1000
|
+
}, [u, h]);
|
|
1001
|
+
return ne(() => {
|
|
1002
|
+
a();
|
|
1003
|
+
const k = new ResizeObserver(() => {
|
|
1004
|
+
a();
|
|
1005
|
+
});
|
|
1006
|
+
return x.current && k.observe(x.current), () => {
|
|
1007
|
+
k.disconnect();
|
|
1008
|
+
};
|
|
1009
|
+
}, [a]), /* @__PURE__ */ t.jsx(
|
|
1010
|
+
C,
|
|
1011
|
+
{
|
|
1012
|
+
ref: x,
|
|
1013
|
+
paddingY: "4",
|
|
1014
|
+
paddingX: [4, null, null, 12],
|
|
1015
|
+
borderBottom: "1px solid",
|
|
1016
|
+
borderColor: "tints.lightCream",
|
|
1017
|
+
backgroundColor: "tints.white",
|
|
1018
|
+
position: "fixed",
|
|
1019
|
+
width: "100%",
|
|
1020
|
+
zIndex: ["sticky", null, null, "tooltip"],
|
|
1021
|
+
children: /* @__PURE__ */ t.jsxs(
|
|
1022
|
+
L,
|
|
1023
|
+
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
1024
|
+
/* @__PURE__ */ t.jsxs(
|
|
1025
|
+
L,
|
|
1026
|
+
{ alignItems: "center", gap: "5", children: [
|
|
1027
|
+
/* @__PURE__ */ t.jsx(
|
|
1028
|
+
te,
|
|
1029
|
+
{ href: S, "aria-label": "Go to homepage", children: /* @__PURE__ */ t.jsx(it, {}) }
|
|
1030
|
+
),
|
|
1031
|
+
/* @__PURE__ */ t.jsx(
|
|
1032
|
+
L,
|
|
1033
|
+
{ display: ["none", null, null, "flex"], children: i }
|
|
1034
|
+
)
|
|
1035
|
+
] }
|
|
1036
|
+
),
|
|
1037
|
+
/* @__PURE__ */ t.jsxs(
|
|
1038
|
+
L,
|
|
1039
|
+
{ alignItems: "center", gap: "2", children: [
|
|
1040
|
+
/* @__PURE__ */ t.jsx(
|
|
1041
|
+
C,
|
|
1042
|
+
{ display: ["none", null, null, "block"], children: f }
|
|
1043
|
+
),
|
|
1044
|
+
E ? /* @__PURE__ */ t.jsx(
|
|
1045
|
+
G,
|
|
986
1046
|
{
|
|
987
|
-
|
|
988
|
-
|
|
989
|
-
|
|
990
|
-
onClick: g
|
|
1047
|
+
"aria-label": "Search",
|
|
1048
|
+
icon: /* @__PURE__ */ t.jsx(pe, { as: Xn }),
|
|
1049
|
+
onClick: w
|
|
991
1050
|
}
|
|
992
|
-
)
|
|
993
|
-
|
|
994
|
-
|
|
995
|
-
|
|
996
|
-
|
|
997
|
-
|
|
998
|
-
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
}
|
|
1051
|
+
) : null,
|
|
1052
|
+
p,
|
|
1053
|
+
/* @__PURE__ */ t.jsx(
|
|
1054
|
+
C,
|
|
1055
|
+
{ display: ["flex", null, null, "none"], children: /* @__PURE__ */ t.jsx(
|
|
1056
|
+
G,
|
|
1057
|
+
{
|
|
1058
|
+
icon: /* @__PURE__ */ t.jsx(Jn, {}),
|
|
1059
|
+
"aria-label": "menu",
|
|
1060
|
+
"data-testid": "menu-button",
|
|
1061
|
+
onClick: b
|
|
1062
|
+
}
|
|
1063
|
+
) }
|
|
1064
|
+
),
|
|
1065
|
+
/* @__PURE__ */ t.jsx(C, { display: ["none", null, null, "block"], children: m })
|
|
1066
|
+
] }
|
|
1067
|
+
)
|
|
1068
|
+
] }
|
|
1069
|
+
)
|
|
1070
|
+
}
|
|
1071
|
+
);
|
|
1072
|
+
}, at = ({
|
|
1073
|
+
count: i = 0,
|
|
1074
|
+
...f
|
|
1075
|
+
}) => /* @__PURE__ */ t.jsxs(
|
|
1004
1076
|
C,
|
|
1005
1077
|
{ position: "relative", display: "inline-block", children: [
|
|
1006
|
-
/* @__PURE__ */
|
|
1007
|
-
|
|
1078
|
+
/* @__PURE__ */ t.jsx(G, { icon: /* @__PURE__ */ t.jsx(Kn, {}), ...f }),
|
|
1079
|
+
i > 0 && /* @__PURE__ */ t.jsx(
|
|
1008
1080
|
C,
|
|
1009
1081
|
{
|
|
1010
1082
|
display: "flex",
|
|
@@ -1022,55 +1094,457 @@ const ae = 60, $e = 6, Hr = (c) => {
|
|
|
1022
1094
|
color: "white",
|
|
1023
1095
|
fontSize: "xs",
|
|
1024
1096
|
fontWeight: "normal",
|
|
1025
|
-
children:
|
|
1097
|
+
children: i
|
|
1026
1098
|
}
|
|
1027
1099
|
)
|
|
1028
1100
|
] }
|
|
1029
|
-
),
|
|
1030
|
-
numLinks:
|
|
1031
|
-
showPromoButton:
|
|
1032
|
-
}) => /* @__PURE__ */
|
|
1033
|
-
|
|
1034
|
-
{ spacing: 0, align: "stretch", children: /* @__PURE__ */
|
|
1101
|
+
), vt = ({
|
|
1102
|
+
numLinks: i = 5,
|
|
1103
|
+
showPromoButton: f = !0
|
|
1104
|
+
}) => /* @__PURE__ */ t.jsx(
|
|
1105
|
+
Wn,
|
|
1106
|
+
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
|
|
1035
1107
|
C,
|
|
1036
|
-
{ paddingY: 4, paddingX: 6, borderBottomWidth: "1px", children: /* @__PURE__ */
|
|
1037
|
-
|
|
1108
|
+
{ paddingY: 4, paddingX: 6, borderBottomWidth: "1px", children: /* @__PURE__ */ t.jsxs(
|
|
1109
|
+
L,
|
|
1038
1110
|
{ justify: "space-between", align: "center", children: [
|
|
1039
|
-
/* @__PURE__ */
|
|
1040
|
-
/* @__PURE__ */
|
|
1041
|
-
|
|
1111
|
+
/* @__PURE__ */ t.jsx(Oe, { w: "120px", h: "48px" }),
|
|
1112
|
+
/* @__PURE__ */ t.jsxs(
|
|
1113
|
+
Xe,
|
|
1042
1114
|
{ spacing: 8, marginLeft: 12, children: [
|
|
1043
|
-
Array.from({ length:
|
|
1044
|
-
(
|
|
1115
|
+
Array.from({ length: i }).map(
|
|
1116
|
+
(m, p) => /* @__PURE__ */ t.jsx(Oe, { width: "90px", height: "48px" }, p)
|
|
1045
1117
|
),
|
|
1046
|
-
|
|
1118
|
+
f && /* @__PURE__ */ t.jsx(Oe, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1047
1119
|
] }
|
|
1048
1120
|
),
|
|
1049
|
-
/* @__PURE__ */
|
|
1050
|
-
|
|
1121
|
+
/* @__PURE__ */ t.jsxs(
|
|
1122
|
+
Xe,
|
|
1051
1123
|
{ spacing: 4, ml: "auto", children: [
|
|
1052
|
-
/* @__PURE__ */
|
|
1124
|
+
/* @__PURE__ */ t.jsx(de, { width: "120px", height: "48px" }),
|
|
1053
1125
|
" ",
|
|
1054
|
-
/* @__PURE__ */
|
|
1126
|
+
/* @__PURE__ */ t.jsx(de, { width: "48px", height: "48px" }),
|
|
1055
1127
|
" ",
|
|
1056
|
-
/* @__PURE__ */
|
|
1128
|
+
/* @__PURE__ */ t.jsx(de, { width: "48px", height: "48px" }),
|
|
1057
1129
|
" ",
|
|
1058
|
-
/* @__PURE__ */
|
|
1130
|
+
/* @__PURE__ */ t.jsx(de, { width: "48px", height: "48px" }),
|
|
1059
1131
|
" "
|
|
1060
1132
|
] }
|
|
1061
1133
|
)
|
|
1062
1134
|
] }
|
|
1063
1135
|
) }
|
|
1064
1136
|
) }
|
|
1065
|
-
)
|
|
1137
|
+
), De = "nav-drawer-hover", rn = (i) => {
|
|
1138
|
+
window.dispatchEvent(
|
|
1139
|
+
new CustomEvent(De, {
|
|
1140
|
+
detail: { isHovering: i },
|
|
1141
|
+
bubbles: !0,
|
|
1142
|
+
cancelable: !0
|
|
1143
|
+
})
|
|
1144
|
+
);
|
|
1145
|
+
}, ln = ({
|
|
1146
|
+
isOpen: i = !1,
|
|
1147
|
+
onClose: f,
|
|
1148
|
+
title: m,
|
|
1149
|
+
navDrawerLinks: p,
|
|
1150
|
+
bottomNavButtons: w,
|
|
1151
|
+
spotlightCards: b,
|
|
1152
|
+
bottomButton: E,
|
|
1153
|
+
hasBackButton: S = !0,
|
|
1154
|
+
onBackClick: u,
|
|
1155
|
+
hasOnlySpotlightCards: x = !1,
|
|
1156
|
+
navHeight: h
|
|
1157
|
+
}) => {
|
|
1158
|
+
const v = Zn({
|
|
1159
|
+
base: !1,
|
|
1160
|
+
tablet: !1,
|
|
1161
|
+
largeTablet: !1,
|
|
1162
|
+
desktop: !0
|
|
1163
|
+
}), R = v ? "top" : "left";
|
|
1164
|
+
return /* @__PURE__ */ t.jsxs(
|
|
1165
|
+
Bn,
|
|
1166
|
+
{
|
|
1167
|
+
isOpen: i,
|
|
1168
|
+
onClose: f,
|
|
1169
|
+
placement: R,
|
|
1170
|
+
blockScrollOnMount: !1,
|
|
1171
|
+
autoFocus: !1,
|
|
1172
|
+
children: [
|
|
1173
|
+
/* @__PURE__ */ t.jsx(
|
|
1174
|
+
Vn,
|
|
1175
|
+
{
|
|
1176
|
+
backgroundColor: "tints.black",
|
|
1177
|
+
top: ["0", null, null, h ? `${h}px` : null],
|
|
1178
|
+
opacity: v ? void 0 : "0.4 !important",
|
|
1179
|
+
motionProps: v ? {
|
|
1180
|
+
initial: { opacity: 0 },
|
|
1181
|
+
animate: { opacity: 0.4 },
|
|
1182
|
+
exit: { opacity: 0 },
|
|
1183
|
+
transition: {
|
|
1184
|
+
duration: 0.4,
|
|
1185
|
+
delay: 0.2,
|
|
1186
|
+
ease: "easeOut"
|
|
1187
|
+
}
|
|
1188
|
+
} : {}
|
|
1189
|
+
}
|
|
1190
|
+
),
|
|
1191
|
+
/* @__PURE__ */ t.jsxs(
|
|
1192
|
+
Nn,
|
|
1193
|
+
{
|
|
1194
|
+
onMouseEnter: () => {
|
|
1195
|
+
v && rn(!0);
|
|
1196
|
+
},
|
|
1197
|
+
onMouseLeave: () => {
|
|
1198
|
+
v && rn(!1);
|
|
1199
|
+
},
|
|
1200
|
+
paddingTop: [4, null, null, h ? `${h + 24}px` : null],
|
|
1201
|
+
paddingX: [4, null, null, 12],
|
|
1202
|
+
paddingBottom: "24",
|
|
1203
|
+
overflow: "auto",
|
|
1204
|
+
maxHeight: "100vh",
|
|
1205
|
+
position: "relative",
|
|
1206
|
+
children: [
|
|
1207
|
+
v ? null : /* @__PURE__ */ t.jsx(
|
|
1208
|
+
Yn,
|
|
1209
|
+
{ padding: "0", children: /* @__PURE__ */ t.jsxs(
|
|
1210
|
+
L,
|
|
1211
|
+
{
|
|
1212
|
+
width: "100%",
|
|
1213
|
+
justifyContent: "space-between",
|
|
1214
|
+
alignItems: "center",
|
|
1215
|
+
children: [
|
|
1216
|
+
S ? /* @__PURE__ */ t.jsx(
|
|
1217
|
+
G,
|
|
1218
|
+
{
|
|
1219
|
+
icon: /* @__PURE__ */ t.jsx(qn, {}),
|
|
1220
|
+
onClick: () => {
|
|
1221
|
+
u && u(), f();
|
|
1222
|
+
},
|
|
1223
|
+
"aria-label": "Back"
|
|
1224
|
+
}
|
|
1225
|
+
) : null,
|
|
1226
|
+
/* @__PURE__ */ t.jsx(
|
|
1227
|
+
U,
|
|
1228
|
+
{ color: "tints.uiGrey", fontSize: ["xl", null, null, "lg"], children: m }
|
|
1229
|
+
),
|
|
1230
|
+
/* @__PURE__ */ t.jsx(
|
|
1231
|
+
G,
|
|
1232
|
+
{
|
|
1233
|
+
icon: /* @__PURE__ */ t.jsx(Qn, {}),
|
|
1234
|
+
onClick: f,
|
|
1235
|
+
"aria-label": "Close"
|
|
1236
|
+
}
|
|
1237
|
+
)
|
|
1238
|
+
]
|
|
1239
|
+
}
|
|
1240
|
+
) }
|
|
1241
|
+
),
|
|
1242
|
+
/* @__PURE__ */ t.jsx(
|
|
1243
|
+
zn,
|
|
1244
|
+
{
|
|
1245
|
+
paddingX: "0",
|
|
1246
|
+
paddingBottom: [6, null, null, 4],
|
|
1247
|
+
"data-testid": `navbar-drawer-body-${m.toLowerCase()}`,
|
|
1248
|
+
children: /* @__PURE__ */ t.jsx(
|
|
1249
|
+
Ke.div,
|
|
1250
|
+
{ ...v ? {
|
|
1251
|
+
initial: { opacity: 0, y: 0 },
|
|
1252
|
+
animate: { opacity: 1, y: 0 },
|
|
1253
|
+
exit: { opacity: 0, y: 0 },
|
|
1254
|
+
transition: {
|
|
1255
|
+
duration: 0.3,
|
|
1256
|
+
ease: [0.4, 0, 0.2, 1],
|
|
1257
|
+
exit: {
|
|
1258
|
+
duration: 0.3,
|
|
1259
|
+
ease: [0.4, 0, 0.2, 1]
|
|
1260
|
+
}
|
|
1261
|
+
}
|
|
1262
|
+
} : {}, children: /* @__PURE__ */ t.jsxs(
|
|
1263
|
+
Ke.div,
|
|
1264
|
+
{
|
|
1265
|
+
...v ? {
|
|
1266
|
+
initial: { opacity: 0, y: -5 },
|
|
1267
|
+
animate: { opacity: 1, y: 0 },
|
|
1268
|
+
exit: { opacity: 0, y: -5 },
|
|
1269
|
+
transition: {
|
|
1270
|
+
duration: 0.5,
|
|
1271
|
+
delay: 0.2,
|
|
1272
|
+
ease: [0.4, 0, 0.2, 1],
|
|
1273
|
+
exit: {
|
|
1274
|
+
duration: 0.5,
|
|
1275
|
+
delay: 0.2,
|
|
1276
|
+
ease: [0.4, 0, 0.2, 1]
|
|
1277
|
+
}
|
|
1278
|
+
}
|
|
1279
|
+
} : {},
|
|
1280
|
+
style: {
|
|
1281
|
+
display: "flex",
|
|
1282
|
+
flexDirection: x ? "column" : v ? "row-reverse" : "column",
|
|
1283
|
+
gap: "24px",
|
|
1284
|
+
justifyContent: "space-between"
|
|
1285
|
+
},
|
|
1286
|
+
children: [
|
|
1287
|
+
b ? /* @__PURE__ */ t.jsx(
|
|
1288
|
+
C,
|
|
1289
|
+
{
|
|
1290
|
+
gap: "6",
|
|
1291
|
+
display: "grid",
|
|
1292
|
+
justifyContent: [null, null, null, "center"],
|
|
1293
|
+
gridTemplateColumns: x ? [
|
|
1294
|
+
null,
|
|
1295
|
+
null,
|
|
1296
|
+
"repeat(2, 380px)",
|
|
1297
|
+
"repeat(3, 375px)",
|
|
1298
|
+
"repeat(3, 432px)"
|
|
1299
|
+
] : void 0,
|
|
1300
|
+
children: b
|
|
1301
|
+
}
|
|
1302
|
+
) : null,
|
|
1303
|
+
/* @__PURE__ */ t.jsxs(
|
|
1304
|
+
L,
|
|
1305
|
+
{
|
|
1306
|
+
position: [null, null, null, "relative"],
|
|
1307
|
+
flexDirection: "column",
|
|
1308
|
+
gap: "6",
|
|
1309
|
+
width: ["100%", null, null, "auto"],
|
|
1310
|
+
children: [
|
|
1311
|
+
p ? /* @__PURE__ */ t.jsx(C, { children: p }) : null,
|
|
1312
|
+
w && !v ? /* @__PURE__ */ t.jsx(C, { children: w }) : null,
|
|
1313
|
+
E ? /* @__PURE__ */ t.jsx(
|
|
1314
|
+
C,
|
|
1315
|
+
{
|
|
1316
|
+
width: ["100%"],
|
|
1317
|
+
position: [null, null, null, "absolute"],
|
|
1318
|
+
bottom: [null, null, null, 0],
|
|
1319
|
+
children: E
|
|
1320
|
+
}
|
|
1321
|
+
) : null
|
|
1322
|
+
]
|
|
1323
|
+
}
|
|
1324
|
+
)
|
|
1325
|
+
]
|
|
1326
|
+
}
|
|
1327
|
+
) }
|
|
1328
|
+
)
|
|
1329
|
+
}
|
|
1330
|
+
)
|
|
1331
|
+
]
|
|
1332
|
+
}
|
|
1333
|
+
)
|
|
1334
|
+
]
|
|
1335
|
+
}
|
|
1336
|
+
);
|
|
1337
|
+
}, gt = ({
|
|
1338
|
+
categories: i = [],
|
|
1339
|
+
onCartClick: f,
|
|
1340
|
+
mainCategoryLabel: m = "Menu",
|
|
1341
|
+
logoLink: p = "https://www.everlywell.com",
|
|
1342
|
+
hasSearch: w = !0,
|
|
1343
|
+
onSearchClick: b,
|
|
1344
|
+
registrationUrl: E,
|
|
1345
|
+
profileUrl: S = "https://secure.everlywell.com/login",
|
|
1346
|
+
mobileBottomButtons: u = [],
|
|
1347
|
+
numberOfCartItems: x = 0,
|
|
1348
|
+
linkComponent: h
|
|
1349
|
+
}) => {
|
|
1350
|
+
var Z, X, J;
|
|
1351
|
+
const [v, R] = z(!1), [a, k] = z(null), [B, he] = z(0), [F, _] = z(!1), [re, ve] = z(!1), ge = an((o) => {
|
|
1352
|
+
he(o);
|
|
1353
|
+
}, []), le = () => {
|
|
1354
|
+
R(!1), k(null);
|
|
1355
|
+
}, xe = (o) => {
|
|
1356
|
+
k(o);
|
|
1357
|
+
}, be = (o) => {
|
|
1358
|
+
_(!0), (o.sections || o.spotlightCards) && k(o);
|
|
1359
|
+
}, ie = () => {
|
|
1360
|
+
_(!1);
|
|
1361
|
+
};
|
|
1362
|
+
ne(() => {
|
|
1363
|
+
const o = (I) => {
|
|
1364
|
+
ve(I.detail.isHovering);
|
|
1365
|
+
};
|
|
1366
|
+
return window.addEventListener(
|
|
1367
|
+
De,
|
|
1368
|
+
o
|
|
1369
|
+
), () => {
|
|
1370
|
+
window.removeEventListener(
|
|
1371
|
+
De,
|
|
1372
|
+
o
|
|
1373
|
+
);
|
|
1374
|
+
};
|
|
1375
|
+
}, []), ne(() => {
|
|
1376
|
+
!F && !re && k(null);
|
|
1377
|
+
}, [F, re]), ne(() => {
|
|
1378
|
+
let o = window.location.href;
|
|
1379
|
+
const I = () => {
|
|
1380
|
+
const O = window.location.href;
|
|
1381
|
+
O !== o && (o = O, le(), k(null));
|
|
1382
|
+
}, A = setInterval(I, 100);
|
|
1383
|
+
return window.addEventListener("popstate", I), () => {
|
|
1384
|
+
window.removeEventListener("popstate", I), clearInterval(A);
|
|
1385
|
+
};
|
|
1386
|
+
}, []);
|
|
1387
|
+
const me = () => {
|
|
1388
|
+
k(null);
|
|
1389
|
+
}, Ce = /* @__PURE__ */ t.jsx(
|
|
1390
|
+
t.Fragment,
|
|
1391
|
+
{ children: i == null ? void 0 : i.map(
|
|
1392
|
+
(o, I) => /* @__PURE__ */ t.jsx(
|
|
1393
|
+
tn,
|
|
1394
|
+
{
|
|
1395
|
+
onMouseEnter: () => {
|
|
1396
|
+
be(o);
|
|
1397
|
+
},
|
|
1398
|
+
onMouseLeave: ie,
|
|
1399
|
+
isSelected: (a == null ? void 0 : a.label) === o.label,
|
|
1400
|
+
...o.buttonProps,
|
|
1401
|
+
children: o.label
|
|
1402
|
+
},
|
|
1403
|
+
`${o.label}-${I}`
|
|
1404
|
+
)
|
|
1405
|
+
) }
|
|
1406
|
+
), oe = (Z = i.filter((o) => o.isMobileTopLink !== !1)) == null ? void 0 : Z.map(
|
|
1407
|
+
(o) => /* @__PURE__ */ t.jsx(
|
|
1408
|
+
C,
|
|
1409
|
+
{ onClick: () => xe(o), children: /* @__PURE__ */ t.jsx(
|
|
1410
|
+
nn,
|
|
1411
|
+
{
|
|
1412
|
+
label: o.label,
|
|
1413
|
+
role: "link",
|
|
1414
|
+
additionalContent: o.additionalContent,
|
|
1415
|
+
mainTextFontSize: "3xl",
|
|
1416
|
+
linkComponent: h
|
|
1417
|
+
}
|
|
1418
|
+
) },
|
|
1419
|
+
o.label
|
|
1420
|
+
)
|
|
1421
|
+
), D = /* @__PURE__ */ t.jsx(
|
|
1422
|
+
L,
|
|
1423
|
+
{ gap: "2", flexDirection: "column", children: u }
|
|
1424
|
+
), H = a ? /* @__PURE__ */ t.jsx(
|
|
1425
|
+
L,
|
|
1426
|
+
{ direction: ["column", null, null, "row"], gap: "8", children: (X = a == null ? void 0 : a.sections) == null ? void 0 : X.map((o, I) => {
|
|
1427
|
+
const A = [];
|
|
1428
|
+
for (let O = 0; O < o.links.length; O += 3)
|
|
1429
|
+
A.push(o.links.slice(O, O + 3));
|
|
1430
|
+
return /* @__PURE__ */ t.jsxs(
|
|
1431
|
+
C,
|
|
1432
|
+
{ children: [
|
|
1433
|
+
/* @__PURE__ */ t.jsx(
|
|
1434
|
+
U,
|
|
1435
|
+
{
|
|
1436
|
+
fontSize: "md",
|
|
1437
|
+
color: "tints.uiGrey",
|
|
1438
|
+
marginBottom: [0, null, null, 6],
|
|
1439
|
+
children: o.title
|
|
1440
|
+
}
|
|
1441
|
+
),
|
|
1442
|
+
/* @__PURE__ */ t.jsx(
|
|
1443
|
+
L,
|
|
1444
|
+
{
|
|
1445
|
+
flexDirection: ["column", null, null, "row"],
|
|
1446
|
+
gap: [null, null, null, 8],
|
|
1447
|
+
children: A == null ? void 0 : A.map(
|
|
1448
|
+
(O, ae) => /* @__PURE__ */ t.jsx(
|
|
1449
|
+
L,
|
|
1450
|
+
{
|
|
1451
|
+
flexDirection: ["column"],
|
|
1452
|
+
gap: [null, null, null, 5],
|
|
1453
|
+
marginLeft: [null, null, null, -2],
|
|
1454
|
+
children: O == null ? void 0 : O.map(
|
|
1455
|
+
(V) => /* @__PURE__ */ t.jsx(
|
|
1456
|
+
nn,
|
|
1457
|
+
{
|
|
1458
|
+
label: V.label,
|
|
1459
|
+
href: V.href,
|
|
1460
|
+
additionalContent: V.additionalContent,
|
|
1461
|
+
linkComponent: h
|
|
1462
|
+
},
|
|
1463
|
+
V.label
|
|
1464
|
+
)
|
|
1465
|
+
)
|
|
1466
|
+
},
|
|
1467
|
+
ae
|
|
1468
|
+
)
|
|
1469
|
+
)
|
|
1470
|
+
}
|
|
1471
|
+
)
|
|
1472
|
+
] },
|
|
1473
|
+
`${o.title}-${I}`
|
|
1474
|
+
);
|
|
1475
|
+
}) }
|
|
1476
|
+
) : null, $ = a != null && a.spotlightCards ? (J = a.spotlightCards) == null ? void 0 : J.map(
|
|
1477
|
+
(o) => /* @__PURE__ */ t.jsx(lt, { ...o }, o.title)
|
|
1478
|
+
) : /* @__PURE__ */ t.jsx(C, {});
|
|
1479
|
+
return /* @__PURE__ */ t.jsxs(
|
|
1480
|
+
t.Fragment,
|
|
1481
|
+
{ children: [
|
|
1482
|
+
/* @__PURE__ */ t.jsx(
|
|
1483
|
+
ot,
|
|
1484
|
+
{
|
|
1485
|
+
desktopTopButtons: Ce,
|
|
1486
|
+
kitRegistrationElement: /* @__PURE__ */ t.jsx(
|
|
1487
|
+
tn,
|
|
1488
|
+
{ as: te, href: E, children: "Register Kit" }
|
|
1489
|
+
),
|
|
1490
|
+
profileElement: /* @__PURE__ */ t.jsx(
|
|
1491
|
+
te,
|
|
1492
|
+
{ href: S, "aria-label": "login", children: /* @__PURE__ */ t.jsx(G, { icon: /* @__PURE__ */ t.jsx(pe, { as: et }), "aria-label": "Profile" }) }
|
|
1493
|
+
),
|
|
1494
|
+
cartElement: /* @__PURE__ */ t.jsx(
|
|
1495
|
+
at,
|
|
1496
|
+
{
|
|
1497
|
+
"aria-label": "Cart",
|
|
1498
|
+
count: x,
|
|
1499
|
+
onClick: f
|
|
1500
|
+
}
|
|
1501
|
+
),
|
|
1502
|
+
onSearchClick: b,
|
|
1503
|
+
onMenuClick: () => R(!0),
|
|
1504
|
+
hasSearch: w,
|
|
1505
|
+
logoLink: p,
|
|
1506
|
+
onHeightChange: ge
|
|
1507
|
+
}
|
|
1508
|
+
),
|
|
1509
|
+
/* @__PURE__ */ t.jsx(
|
|
1510
|
+
ln,
|
|
1511
|
+
{
|
|
1512
|
+
isOpen: v,
|
|
1513
|
+
onClose: le,
|
|
1514
|
+
title: m,
|
|
1515
|
+
navDrawerLinks: oe,
|
|
1516
|
+
bottomNavButtons: D,
|
|
1517
|
+
hasBackButton: !1,
|
|
1518
|
+
navHeight: B
|
|
1519
|
+
}
|
|
1520
|
+
),
|
|
1521
|
+
/* @__PURE__ */ t.jsx(
|
|
1522
|
+
ln,
|
|
1523
|
+
{
|
|
1524
|
+
isOpen: !!a,
|
|
1525
|
+
onClose: () => k(null),
|
|
1526
|
+
title: (a == null ? void 0 : a.label) || "",
|
|
1527
|
+
navDrawerLinks: H,
|
|
1528
|
+
onBackClick: me,
|
|
1529
|
+
spotlightCards: $,
|
|
1530
|
+
hasOnlySpotlightCards: a == null ? void 0 : a.hasOnlySpotlightCards,
|
|
1531
|
+
navHeight: B,
|
|
1532
|
+
bottomButton: a == null ? void 0 : a.bottomButton
|
|
1533
|
+
}
|
|
1534
|
+
)
|
|
1535
|
+
] }
|
|
1536
|
+
);
|
|
1537
|
+
};
|
|
1066
1538
|
export {
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
|
-
|
|
1072
|
-
|
|
1073
|
-
|
|
1074
|
-
|
|
1075
|
-
|
|
1539
|
+
at as BasketButton,
|
|
1540
|
+
ht as CategoryLabel,
|
|
1541
|
+
tn as NavButton,
|
|
1542
|
+
vt as NavSkeleton,
|
|
1543
|
+
ln as NavbarDrawer,
|
|
1544
|
+
nn as NavbarDrawerLink,
|
|
1545
|
+
gt as NavigationBar,
|
|
1546
|
+
lt as SpotlightCard,
|
|
1547
|
+
pt as Stepper,
|
|
1548
|
+
G as TopNavIconButton,
|
|
1549
|
+
ot as TopNavigation
|
|
1076
1550
|
};
|