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