@everlywell/consumer-ui 1.39.3 → 1.39.5

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