@everlywell/consumer-ui 1.41.0 → 1.41.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { useSteps as en, Box as j, Stepper as tn, Icon as J, Flex as E, Text as P, Link as Y, Button as Rt, Image as nn, IconButton as rn, theme as se, VStack as ln, Skeleton as Ke, HStack as pt, SkeletonCircle as Me, DrawerContent as St, DrawerOverlay as _t, Drawer as Tt, DrawerHeader as kt, DrawerBody as Dt, Grid as on, GridItem as an, Accordion as sn, AccordionItem as cn, AccordionButton as un, AccordionPanel as dn, InputGroup as fn, Input as hn, InputRightElement as pn, Container as gn, DrawerFooter as xn, DrawerCloseButton as vn, Modal as mn, ModalOverlay as bn, ModalContent as jn, ModalHeader as wn, ModalBody as Cn, ModalFooter as yn, ModalCloseButton as En, useMediaQuery as Rn } from "@everlywell/ui-kit";
1
+ import { useSteps as en, Box as w, Stepper as tn, Icon as J, Flex as E, Text as P, Link as Y, Button as Rt, Image as nn, IconButton as rn, theme as se, VStack as ln, Skeleton as Ke, HStack as pt, SkeletonCircle as Me, DrawerContent as St, DrawerOverlay as _t, Drawer as Tt, DrawerHeader as kt, DrawerBody as Dt, Grid as on, GridItem as an, Accordion as sn, AccordionItem as un, AccordionButton as cn, AccordionPanel as dn, InputGroup as fn, Input as hn, InputRightElement as pn, Container as gn, DrawerFooter as xn, DrawerCloseButton as vn, Modal as mn, ModalOverlay as bn, ModalContent as jn, ModalHeader as wn, ModalBody as Cn, ModalFooter as yn, ModalCloseButton as En, useMediaQuery as Rn } from "@everlywell/ui-kit";
2
2
  import Re, { useEffect as te, forwardRef as It, useRef as Sn, useCallback as Lt, useState as K } from "react";
3
3
  import { Text as _n, useBreakpointValue as He, Box as Tn, InputGroup as kn, Input as Dn, InputRightElement as In, Icon as Ln } from "@chakra-ui/react";
4
4
  import { CaretRight as gt, MagnifyingGlass as Ot, List as On, Basket as An, CaretLeft as Pn, X as At, User as xt, QrCode as Mn, CaretDown as $n, ArrowRight as Bn, InstagramLogo as Hn, LinkedinLogo as Fn, FacebookLogo as Wn, TiktokLogo as zn, XLogo as Nn } from "@phosphor-icons/react";
@@ -17,15 +17,15 @@ var vt;
17
17
  function Yn() {
18
18
  if (vt) return ye;
19
19
  vt = 1;
20
- var n = Re, l = Symbol.for("react.element"), s = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, u = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, c = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function f(w, p, b) {
22
- var a, C = {}, m = null, g = null;
23
- b !== void 0 && (m = "" + b), p.key !== void 0 && (m = "" + p.key), p.ref !== void 0 && (g = p.ref);
24
- for (a in p) i.call(p, a) && !c.hasOwnProperty(a) && (C[a] = p[a]);
25
- if (w && w.defaultProps) for (a in p = w.defaultProps, p) C[a] === void 0 && (C[a] = p[a]);
26
- return { $$typeof: l, type: w, key: m, ref: g, props: C, _owner: u.current };
20
+ var n = Re, l = Symbol.for("react.element"), a = Symbol.for("react.fragment"), i = Object.prototype.hasOwnProperty, s = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, u = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function f(C, p, j) {
22
+ var c, g = {}, m = null, x = null;
23
+ j !== void 0 && (m = "" + j), p.key !== void 0 && (m = "" + p.key), p.ref !== void 0 && (x = p.ref);
24
+ for (c in p) i.call(p, c) && !u.hasOwnProperty(c) && (g[c] = p[c]);
25
+ if (C && C.defaultProps) for (c in p = C.defaultProps, p) g[c] === void 0 && (g[c] = p[c]);
26
+ return { $$typeof: l, type: C, key: m, ref: x, props: g, _owner: s.current };
27
27
  }
28
- return ye.Fragment = s, ye.jsx = f, ye.jsxs = f, ye;
28
+ return ye.Fragment = a, ye.jsx = f, ye.jsxs = f, ye;
29
29
  }
30
30
  var Ee = {};
31
31
  /**
@@ -40,7 +40,7 @@ var Ee = {};
40
40
  var mt;
41
41
  function Gn() {
42
42
  return mt || (mt = 1, process.env.NODE_ENV !== "production" && function() {
43
- var n = Re, l = Symbol.for("react.element"), s = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), c = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), w = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), b = Symbol.for("react.suspense"), a = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), T = Symbol.iterator, G = "@@iterator";
43
+ var n = Re, l = Symbol.for("react.element"), a = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), C = Symbol.for("react.context"), p = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), m = Symbol.for("react.lazy"), x = Symbol.for("react.offscreen"), T = Symbol.iterator, G = "@@iterator";
44
44
  function Q(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
@@ -59,8 +59,8 @@ function Gn() {
59
59
  {
60
60
  var h = O.ReactDebugCurrentFrame, y = h.getStackAddendum();
61
61
  y !== "" && (r += "%s", o = o.concat([y]));
62
- var R = o.map(function(v) {
63
- return String(v);
62
+ var R = o.map(function(b) {
63
+ return String(b);
64
64
  });
65
65
  R.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, R);
66
66
  }
@@ -68,7 +68,7 @@ function Gn() {
68
68
  var A = !1, $ = !1, W = !1, U = !1, L = !1, S;
69
69
  S = Symbol.for("react.module.reference");
70
70
  function B(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === i || e === c || L || e === u || e === b || e === a || U || e === g || A || $ || W || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === C || e.$$typeof === f || e.$$typeof === w || e.$$typeof === p || // This needs to include all possible module reference object
71
+ return !!(typeof e == "string" || typeof e == "function" || e === i || e === u || L || e === s || e === j || e === c || U || e === x || A || $ || W || typeof e == "object" && e !== null && (e.$$typeof === m || e.$$typeof === g || e.$$typeof === f || e.$$typeof === C || e.$$typeof === p || // This needs to include all possible module reference object
72
72
  // types supported by any Flight configuration anywhere since
73
73
  // we don't know which Flight build this will end up being used
74
74
  // with.
@@ -94,20 +94,20 @@ function Gn() {
94
94
  switch (e) {
95
95
  case i:
96
96
  return "Fragment";
97
- case s:
97
+ case a:
98
98
  return "Portal";
99
- case c:
100
- return "Profiler";
101
99
  case u:
100
+ return "Profiler";
101
+ case s:
102
102
  return "StrictMode";
103
- case b:
103
+ case j:
104
104
  return "Suspense";
105
- case a:
105
+ case c:
106
106
  return "SuspenseList";
107
107
  }
108
108
  if (typeof e == "object")
109
109
  switch (e.$$typeof) {
110
- case w:
110
+ case C:
111
111
  var r = e;
112
112
  return xe(r) + ".Consumer";
113
113
  case f:
@@ -115,13 +115,13 @@ function Gn() {
115
115
  return xe(o._context) + ".Provider";
116
116
  case p:
117
117
  return Se(e, e.render, "ForwardRef");
118
- case C:
118
+ case g:
119
119
  var h = e.displayName || null;
120
120
  return h !== null ? h : z(e.type) || "Memo";
121
121
  case m: {
122
- var y = e, R = y._payload, v = y._init;
122
+ var y = e, R = y._payload, b = y._init;
123
123
  try {
124
- return z(v(R));
124
+ return z(b(R));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,14 +129,14 @@ function Gn() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var q = Object.assign, ee = 0, _e, Te, ve, ke, De, ce, Ie;
132
+ var q = Object.assign, ee = 0, _e, Te, ve, ke, De, ue, Ie;
133
133
  function me() {
134
134
  }
135
135
  me.__reactDisabledLog = !0;
136
136
  function be() {
137
137
  {
138
138
  if (ee === 0) {
139
- _e = console.log, Te = console.info, ve = console.warn, ke = console.error, De = console.group, ce = console.groupCollapsed, Ie = console.groupEnd;
139
+ _e = console.log, Te = console.info, ve = console.warn, ke = console.error, De = console.group, ue = console.groupCollapsed, Ie = console.groupEnd;
140
140
  var e = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
@@ -181,7 +181,7 @@ function Gn() {
181
181
  value: De
182
182
  }),
183
183
  groupCollapsed: q({}, e, {
184
- value: ce
184
+ value: ue
185
185
  }),
186
186
  groupEnd: q({}, e, {
187
187
  value: Ie
@@ -205,16 +205,16 @@ function Gn() {
205
205
  ` + ne + e;
206
206
  }
207
207
  }
208
- var we = !1, ue;
208
+ var we = !1, ce;
209
209
  {
210
210
  var We = typeof WeakMap == "function" ? WeakMap : Map;
211
- ue = new We();
211
+ ce = new We();
212
212
  }
213
213
  function Le(e, r) {
214
214
  if (!e || we)
215
215
  return "";
216
216
  {
217
- var o = ue.get(e);
217
+ var o = ce.get(e);
218
218
  if (o !== void 0)
219
219
  return o;
220
220
  }
@@ -226,27 +226,27 @@ function Gn() {
226
226
  R = je.current, je.current = null, be();
227
227
  try {
228
228
  if (r) {
229
- var v = function() {
229
+ var b = function() {
230
230
  throw Error();
231
231
  };
232
- if (Object.defineProperty(v.prototype, "props", {
232
+ if (Object.defineProperty(b.prototype, "props", {
233
233
  set: function() {
234
234
  throw Error();
235
235
  }
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
- Reflect.construct(v, []);
238
+ Reflect.construct(b, []);
239
239
  } catch (F) {
240
240
  h = F;
241
241
  }
242
- Reflect.construct(e, [], v);
242
+ Reflect.construct(e, [], b);
243
243
  } else {
244
244
  try {
245
- v.call();
245
+ b.call();
246
246
  } catch (F) {
247
247
  h = F;
248
248
  }
249
- e.call(v.prototype);
249
+ e.call(b.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
@@ -258,18 +258,18 @@ function Gn() {
258
258
  }
259
259
  } catch (F) {
260
260
  if (F && h && typeof F.stack == "string") {
261
- for (var x = F.stack.split(`
261
+ for (var v = F.stack.split(`
262
262
  `), M = h.stack.split(`
263
- `), D = x.length - 1, I = M.length - 1; D >= 1 && I >= 0 && x[D] !== M[I]; )
263
+ `), D = v.length - 1, I = M.length - 1; D >= 1 && I >= 0 && v[D] !== M[I]; )
264
264
  I--;
265
265
  for (; D >= 1 && I >= 0; D--, I--)
266
- if (x[D] !== M[I]) {
266
+ if (v[D] !== M[I]) {
267
267
  if (D !== 1 || I !== 1)
268
268
  do
269
- if (D--, I--, I < 0 || x[D] !== M[I]) {
269
+ if (D--, I--, I < 0 || v[D] !== M[I]) {
270
270
  var V = `
271
- ` + x[D].replace(" at new ", " at ");
272
- return e.displayName && V.includes("<anonymous>") && (V = V.replace("<anonymous>", e.displayName)), typeof e == "function" && ue.set(e, V), V;
271
+ ` + v[D].replace(" at new ", " at ");
272
+ return e.displayName && V.includes("<anonymous>") && (V = V.replace("<anonymous>", e.displayName)), typeof e == "function" && ce.set(e, V), V;
273
273
  }
274
274
  while (D >= 1 && I >= 0);
275
275
  break;
@@ -279,7 +279,7 @@ function Gn() {
279
279
  we = !1, je.current = R, Fe(), Error.prepareStackTrace = y;
280
280
  }
281
281
  var he = e ? e.displayName || e.name : "", ae = he ? Z(he) : "";
282
- return typeof e == "function" && ue.set(e, ae), ae;
282
+ return typeof e == "function" && ce.set(e, ae), ae;
283
283
  }
284
284
  function ze(e, r, o) {
285
285
  return Le(e, !1);
@@ -296,16 +296,16 @@ function Gn() {
296
296
  if (typeof e == "string")
297
297
  return Z(e);
298
298
  switch (e) {
299
- case b:
299
+ case j:
300
300
  return Z("Suspense");
301
- case a:
301
+ case c:
302
302
  return Z("SuspenseList");
303
303
  }
304
304
  if (typeof e == "object")
305
305
  switch (e.$$typeof) {
306
306
  case p:
307
307
  return ze(e.render);
308
- case C:
308
+ case g:
309
309
  return de(e.type, r, o);
310
310
  case m: {
311
311
  var h = e, y = h._payload, R = h._init;
@@ -328,19 +328,19 @@ function Gn() {
328
328
  function Ae(e, r, o, h, y) {
329
329
  {
330
330
  var R = Function.call.bind(le);
331
- for (var v in e)
332
- if (R(e, v)) {
333
- var x = void 0;
331
+ for (var b in e)
332
+ if (R(e, b)) {
333
+ var v = void 0;
334
334
  try {
335
- if (typeof e[v] != "function") {
336
- var M = Error((h || "React class") + ": " + o + " 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`.");
335
+ if (typeof e[b] != "function") {
336
+ var M = Error((h || "React class") + ": " + o + " type `" + b + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[b] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
337
  throw M.name = "Invariant Violation", M;
338
338
  }
339
- x = e[v](r, v, h, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
+ v = e[b](r, b, h, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
340
  } catch (D) {
341
- x = D;
341
+ v = D;
342
342
  }
343
- x && !(x instanceof Error) && (oe(y), _("%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).", h || "React class", o, v, typeof x), oe(null)), x instanceof Error && !(x.message in Oe) && (Oe[x.message] = !0, oe(y), _("Failed %s type: %s", o, x.message), oe(null));
343
+ v && !(v instanceof Error) && (oe(y), _("%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).", h || "React class", o, b, typeof v), oe(null)), v instanceof Error && !(v.message in Oe) && (Oe[v.message] = !0, oe(y), _("Failed %s type: %s", o, v.message), oe(null));
344
344
  }
345
345
  }
346
346
  }
@@ -419,51 +419,51 @@ function Gn() {
419
419
  });
420
420
  }
421
421
  }
422
- var zt = function(e, r, o, h, y, R, v) {
423
- var x = {
422
+ var zt = function(e, r, o, h, y, R, b) {
423
+ var v = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
425
  $$typeof: l,
426
426
  // Built-in properties that belong on the element
427
427
  type: e,
428
428
  key: r,
429
429
  ref: o,
430
- props: v,
430
+ props: b,
431
431
  // Record the component responsible for creating this element.
432
432
  _owner: R
433
433
  };
434
- return x._store = {}, Object.defineProperty(x._store, "validated", {
434
+ return v._store = {}, Object.defineProperty(v._store, "validated", {
435
435
  configurable: !1,
436
436
  enumerable: !1,
437
437
  writable: !0,
438
438
  value: !1
439
- }), Object.defineProperty(x, "_self", {
439
+ }), Object.defineProperty(v, "_self", {
440
440
  configurable: !1,
441
441
  enumerable: !1,
442
442
  writable: !1,
443
443
  value: h
444
- }), Object.defineProperty(x, "_source", {
444
+ }), Object.defineProperty(v, "_source", {
445
445
  configurable: !1,
446
446
  enumerable: !1,
447
447
  writable: !1,
448
448
  value: y
449
- }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
449
+ }), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
450
450
  };
451
451
  function Nt(e, r, o, h, y) {
452
452
  {
453
- var R, v = {}, x = null, M = null;
454
- o !== void 0 && (re(o), x = "" + o), Bt(r) && (re(r.key), x = "" + r.key), $t(r) && (M = r.ref, Ht(r, y));
453
+ var R, b = {}, v = null, M = null;
454
+ o !== void 0 && (re(o), v = "" + o), Bt(r) && (re(r.key), v = "" + r.key), $t(r) && (M = r.ref, Ht(r, y));
455
455
  for (R in r)
456
- le.call(r, R) && !Mt.hasOwnProperty(R) && (v[R] = r[R]);
456
+ le.call(r, R) && !Mt.hasOwnProperty(R) && (b[R] = r[R]);
457
457
  if (e && e.defaultProps) {
458
458
  var D = e.defaultProps;
459
459
  for (R in D)
460
- v[R] === void 0 && (v[R] = D[R]);
460
+ b[R] === void 0 && (b[R] = D[R]);
461
461
  }
462
- if (x || M) {
462
+ if (v || M) {
463
463
  var I = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
- x && Ft(v, I), M && Wt(v, I);
464
+ v && Ft(b, I), M && Wt(b, I);
465
465
  }
466
- return zt(e, x, M, y, h, ie.current, v);
466
+ return zt(e, v, M, y, h, ie.current, b);
467
467
  }
468
468
  }
469
469
  var Ye = O.ReactCurrentOwner, at = O.ReactDebugCurrentFrame;
@@ -494,7 +494,7 @@ Check the render method of \`` + e + "`.";
494
494
  function Vt(e) {
495
495
  return "";
496
496
  }
497
- var ct = {};
497
+ var ut = {};
498
498
  function Yt(e) {
499
499
  {
500
500
  var r = st();
@@ -507,15 +507,15 @@ Check the top-level render call using <` + o + ">.");
507
507
  return r;
508
508
  }
509
509
  }
510
- function ut(e, r) {
510
+ function ct(e, r) {
511
511
  {
512
512
  if (!e._store || e._store.validated || e.key != null)
513
513
  return;
514
514
  e._store.validated = !0;
515
515
  var o = Yt(r);
516
- if (ct[o])
516
+ if (ut[o])
517
517
  return;
518
- ct[o] = !0;
518
+ ut[o] = !0;
519
519
  var h = "";
520
520
  e && e._owner && e._owner !== Ye.current && (h = " It was passed a child from " + z(e._owner.type) + "."), fe(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, h), fe(null);
521
521
  }
@@ -527,15 +527,15 @@ Check the top-level render call using <` + o + ">.");
527
527
  if (k(e))
528
528
  for (var o = 0; o < e.length; o++) {
529
529
  var h = e[o];
530
- Ue(h) && ut(h, r);
530
+ Ue(h) && ct(h, r);
531
531
  }
532
532
  else if (Ue(e))
533
533
  e._store && (e._store.validated = !0);
534
534
  else if (e) {
535
535
  var y = Q(e);
536
536
  if (typeof y == "function" && y !== e.entries)
537
- for (var R = y.call(e), v; !(v = R.next()).done; )
538
- Ue(v.value) && ut(v.value, r);
537
+ for (var R = y.call(e), b; !(b = R.next()).done; )
538
+ Ue(b.value) && ct(b.value, r);
539
539
  }
540
540
  }
541
541
  }
@@ -549,7 +549,7 @@ Check the top-level render call using <` + o + ">.");
549
549
  o = r.propTypes;
550
550
  else if (typeof r == "object" && (r.$$typeof === p || // Note: Memo only checks outer props here.
551
551
  // Inner props are checked in the reconciler.
552
- r.$$typeof === C))
552
+ r.$$typeof === g))
553
553
  o = r.propTypes;
554
554
  else
555
555
  return;
@@ -579,19 +579,19 @@ Check the top-level render call using <` + o + ">.");
579
579
  var ft = {};
580
580
  function ht(e, r, o, h, y, R) {
581
581
  {
582
- var v = B(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.");
582
+ var b = B(e);
583
+ if (!b) {
584
+ var v = "";
585
+ (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (v += " 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
586
  var M = Vt();
587
- M ? x += M : x += st();
587
+ M ? v += M : v += st();
588
588
  var D;
589
- e === null ? D = "null" : k(e) ? D = "array" : e !== void 0 && e.$$typeof === l ? (D = "<" + (z(e.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : D = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, x);
589
+ e === null ? D = "null" : k(e) ? D = "array" : e !== void 0 && e.$$typeof === l ? (D = "<" + (z(e.type) || "Unknown") + " />", v = " Did you accidentally export a JSX literal instead of a component?") : D = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, v);
590
590
  }
591
591
  var I = Nt(e, r, o, y, R);
592
592
  if (I == null)
593
593
  return I;
594
- if (v) {
594
+ if (b) {
595
595
  var V = r.children;
596
596
  if (V !== void 0)
597
597
  if (h)
@@ -636,54 +636,54 @@ var t = et.exports;
636
636
  const Xe = 60, bt = 6, Un = (n) => {
637
637
  const {
638
638
  activeStepIndex: l,
639
- hideIndicators: s = !1,
639
+ hideIndicators: a = !1,
640
640
  steps: i,
641
- stepperTheme: u = {
641
+ stepperTheme: s = {
642
642
  light: "eggplant.light",
643
643
  base: "eggplant.base"
644
644
  }
645
- } = n, { activeStep: c, setActiveStep: f } = en({
645
+ } = n, { activeStep: u, setActiveStep: f } = en({
646
646
  index: l,
647
647
  count: i.length
648
648
  });
649
649
  return te(() => {
650
650
  f(l);
651
651
  }, [l, f]), /* @__PURE__ */ t.jsx(
652
- j,
652
+ w,
653
653
  { position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
654
654
  tn,
655
655
  {
656
656
  role: "progressbar",
657
- index: c,
657
+ index: u,
658
658
  width: "100%",
659
659
  display: "flex",
660
660
  flexWrap: "nowrap",
661
- children: i.map((w, p) => {
662
- const b = c === p, a = p === 0, C = p === i.length - 1, m = c > p;
663
- let g = `${Xe}px`;
661
+ children: i.map((C, p) => {
662
+ const j = u === p, c = p === 0, g = p === i.length - 1, m = u > p;
663
+ let x = `${Xe}px`;
664
664
  const T = `calc(100% - ((${Xe * (i.length - 1)}px) - (${i.length - 1} * ${bt * 2}px)))`;
665
- return b ? g = T : (a || C) && (g = `${Xe - bt}px`), /* @__PURE__ */ t.jsx(
666
- j,
665
+ return j ? x = T : (c || g) && (x = `${Xe - bt}px`), /* @__PURE__ */ t.jsx(
666
+ w,
667
667
  {
668
- width: g,
669
- opacity: m || b ? 1 : 0.2,
670
- paddingRight: C ? "0" : "6px",
671
- paddingLeft: a ? "0" : "6px",
668
+ width: x,
669
+ opacity: m || j ? 1 : 0.2,
670
+ paddingRight: g ? "0" : "6px",
671
+ paddingLeft: c ? "0" : "6px",
672
672
  transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
673
673
  children: /* @__PURE__ */ t.jsx(
674
- j,
674
+ w,
675
675
  {
676
- paddingTop: s ? 2 : 5,
676
+ paddingTop: a ? 2 : 5,
677
677
  position: "relative",
678
678
  width: "100%",
679
679
  children: /* @__PURE__ */ t.jsx(
680
- j,
680
+ w,
681
681
  {
682
682
  width: "100%",
683
683
  position: "absolute",
684
684
  top: "0",
685
- backgroundColor: m ? u.light : u.base,
686
- height: s ? "4px" : "8px",
685
+ backgroundColor: m ? s.light : s.base,
686
+ height: a ? "4px" : "8px",
687
687
  borderRadius: "4",
688
688
  left: "0"
689
689
  }
@@ -704,8 +704,8 @@ const Xe = 60, bt = 6, Un = (n) => {
704
704
  _n,
705
705
  { color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...l, children: n }
706
706
  ), ge = (n, l) => {
707
- const s = (n == null ? void 0 : n.startsWith("http")) || (n == null ? void 0 : n.startsWith("mailto"));
708
- return l && !s ? {
707
+ const a = (n == null ? void 0 : n.startsWith("http")) || (n == null ? void 0 : n.startsWith("mailto"));
708
+ return l && !a ? {
709
709
  to: n
710
710
  } : {
711
711
  href: n
@@ -713,15 +713,15 @@ const Xe = 60, bt = 6, Un = (n) => {
713
713
  }, Je = It(
714
714
  (n, l) => {
715
715
  const {
716
- label: s,
716
+ label: a,
717
717
  additionalContent: i,
718
- mainTextFontSize: u,
719
- linkComponent: c,
718
+ mainTextFontSize: s,
719
+ linkComponent: u,
720
720
  href: f,
721
- ...w
722
- } = n, p = c || Y, b = ge(f, !!c);
721
+ ...C
722
+ } = n, p = u || Y, j = ge(f, !!u);
723
723
  return /* @__PURE__ */ t.jsxs(
724
- j,
724
+ w,
725
725
  {
726
726
  ref: l,
727
727
  as: p,
@@ -736,8 +736,8 @@ const Xe = 60, bt = 6, Un = (n) => {
736
736
  borderColor: ["tints.cream", null, null, "unset"],
737
737
  width: ["100%", null, null, "fit-content"],
738
738
  cursor: "pointer",
739
- ...b,
740
- ...w,
739
+ ...j,
740
+ ...C,
741
741
  children: [
742
742
  /* @__PURE__ */ t.jsx(
743
743
  J,
@@ -757,9 +757,9 @@ const Xe = 60, bt = 6, Un = (n) => {
757
757
  /* @__PURE__ */ t.jsx(
758
758
  P,
759
759
  {
760
- fontSize: [u || "xl", null, null, "lg"],
760
+ fontSize: [s || "xl", null, null, "lg"],
761
761
  fontWeight: "medium",
762
- children: s
762
+ children: a
763
763
  }
764
764
  ),
765
765
  i && (typeof i == "string" ? /* @__PURE__ */ t.jsx(
@@ -796,13 +796,13 @@ const Xe = 60, bt = 6, Un = (n) => {
796
796
  }
797
797
  ), $e = It(
798
798
  (n, l) => {
799
- const { children: s, isSelected: i, ...u } = n, c = n.backgroundColor || (i ? "tints.lightCream" : "transparent");
799
+ const { children: a, isSelected: i, ...s } = n, u = n.backgroundColor || (i ? "tints.lightCream" : "transparent");
800
800
  return /* @__PURE__ */ t.jsx(
801
801
  Rt,
802
802
  {
803
803
  ref: l,
804
804
  borderRadius: "full",
805
- backgroundColor: c,
805
+ backgroundColor: u,
806
806
  fontSize: "lg !important",
807
807
  fontWeight: "normal",
808
808
  color: "tints.black",
@@ -820,27 +820,27 @@ const Xe = 60, bt = 6, Un = (n) => {
820
820
  left: [null, null, null, -2]
821
821
  },
822
822
  _hover: {
823
- backgroundColor: c,
823
+ backgroundColor: u,
824
824
  textDecoration: "none",
825
825
  filter: "brightness(0.95)"
826
826
  },
827
- ...u,
828
- children: s
827
+ ...s,
828
+ children: a
829
829
  }
830
830
  );
831
831
  }
832
832
  ), Zn = ({
833
833
  title: n,
834
834
  description: l,
835
- imageSrc: s,
835
+ imageSrc: a,
836
836
  imageElement: i,
837
- button: u,
838
- backgroundColor: c = "viridian.wash",
837
+ button: s,
838
+ backgroundColor: u = "viridian.wash",
839
839
  onClick: f,
840
- href: w,
840
+ href: C,
841
841
  linkComponent: p
842
842
  }) => {
843
- const m = p || Y, g = ge(w, !!p), T = He({
843
+ const m = p || Y, x = ge(C, !!p), T = He({
844
844
  base: !1,
845
845
  tablet: !1,
846
846
  largeTablet: !1,
@@ -854,7 +854,7 @@ const Xe = 60, bt = 6, Un = (n) => {
854
854
  borderRadius: "xl",
855
855
  overflow: "hidden",
856
856
  height: ["80px", null, null, "272px"],
857
- backgroundColor: c,
857
+ backgroundColor: u,
858
858
  onClick: f,
859
859
  "data-testid": "spotlight-card",
860
860
  position: "relative",
@@ -870,10 +870,10 @@ const Xe = 60, bt = 6, Un = (n) => {
870
870
  borderColor: "tints.white"
871
871
  },
872
872
  as: T ? E : m,
873
- ...T ? {} : g,
873
+ ...T ? {} : x,
874
874
  children: [
875
875
  /* @__PURE__ */ t.jsx(
876
- j,
876
+ w,
877
877
  {
878
878
  width: ["72px", null, null, "100%"],
879
879
  height: ["100%", null, null, "188px"],
@@ -882,17 +882,17 @@ const Xe = 60, bt = 6, Un = (n) => {
882
882
  height: T ? "188px" : "100%"
883
883
  }
884
884
  },
885
- children: s ? /* @__PURE__ */ t.jsx(
885
+ children: a ? /* @__PURE__ */ t.jsx(
886
886
  nn,
887
887
  {
888
- src: s,
888
+ src: a,
889
889
  objectFit: "cover",
890
890
  width: "100%",
891
891
  alt: "",
892
892
  "data-testid": "spotlight-card-image"
893
893
  }
894
894
  ) : /* @__PURE__ */ t.jsx(
895
- j,
895
+ w,
896
896
  {
897
897
  height: [80, null, null, 188],
898
898
  overflow: "hidden",
@@ -916,7 +916,7 @@ const Xe = 60, bt = 6, Un = (n) => {
916
916
  ],
917
917
  width: "100%",
918
918
  bottom: [null, null, null, "0"],
919
- backgroundColor: [null, null, null, `${c}CC`],
919
+ backgroundColor: [null, null, null, `${u}CC`],
920
920
  backdropFilter: [null, null, null, "blur(8px)"],
921
921
  flex: "1",
922
922
  gap: [null, null, null, 3],
@@ -934,7 +934,7 @@ const Xe = 60, bt = 6, Un = (n) => {
934
934
  )
935
935
  ] }
936
936
  ),
937
- T ? /* @__PURE__ */ t.jsx(j, { children: u }) : null
937
+ T ? /* @__PURE__ */ t.jsx(w, { children: s }) : null
938
938
  ]
939
939
  }
940
940
  )
@@ -993,28 +993,28 @@ const Xe = 60, bt = 6, Un = (n) => {
993
993
  ), Kn = ({
994
994
  desktopTopButtons: n,
995
995
  kitRegistrationElement: l,
996
- profileElement: s,
996
+ profileElement: a,
997
997
  cartElement: i,
998
- onSearchClick: u,
999
- onMenuClick: c,
998
+ onSearchClick: s,
999
+ onMenuClick: u,
1000
1000
  hasSearch: f = !1,
1001
- logoLink: w = "https://www.everlywell.com",
1001
+ logoLink: C = "https://www.everlywell.com",
1002
1002
  setTopOffset: p,
1003
- linkComponent: b,
1004
- onLogoClick: a
1003
+ linkComponent: j,
1004
+ onLogoClick: c
1005
1005
  }) => {
1006
- const C = Sn(null), m = Lt(() => {
1007
- if (C.current) {
1008
- const g = C.current.getBoundingClientRect();
1009
- p(g.bottom);
1006
+ const g = Sn(null), m = Lt(() => {
1007
+ if (g.current) {
1008
+ const x = g.current.getBoundingClientRect();
1009
+ p(x.bottom);
1010
1010
  }
1011
1011
  }, []);
1012
1012
  return te(() => {
1013
1013
  m();
1014
1014
  }, [m]), /* @__PURE__ */ t.jsx(
1015
- j,
1015
+ w,
1016
1016
  {
1017
- ref: C,
1017
+ ref: g,
1018
1018
  paddingY: "4",
1019
1019
  paddingX: [4, null, null, 12],
1020
1020
  borderBottom: "1px solid",
@@ -1029,12 +1029,12 @@ const Xe = 60, bt = 6, Un = (n) => {
1029
1029
  E,
1030
1030
  { alignItems: "center", gap: "5", children: [
1031
1031
  /* @__PURE__ */ t.jsx(
1032
- j,
1032
+ w,
1033
1033
  {
1034
1034
  "aria-label": "Go to homepage",
1035
- onClick: a,
1036
- as: b || Y,
1037
- ...ge(w, !!b),
1035
+ onClick: c,
1036
+ as: j || Y,
1037
+ ...ge(C, !!j),
1038
1038
  children: /* @__PURE__ */ t.jsx(Pt, { width: "116px" })
1039
1039
  }
1040
1040
  ),
@@ -1048,7 +1048,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1048
1048
  E,
1049
1049
  { alignItems: "center", gap: "2", children: [
1050
1050
  /* @__PURE__ */ t.jsx(
1051
- j,
1051
+ w,
1052
1052
  { display: ["none", null, null, "block"], children: l }
1053
1053
  ),
1054
1054
  f ? /* @__PURE__ */ t.jsx(
@@ -1056,23 +1056,23 @@ const Xe = 60, bt = 6, Un = (n) => {
1056
1056
  {
1057
1057
  "aria-label": "Search",
1058
1058
  icon: /* @__PURE__ */ t.jsx(J, { as: Ot }),
1059
- onClick: u
1059
+ onClick: s
1060
1060
  }
1061
1061
  ) : null,
1062
1062
  i,
1063
1063
  /* @__PURE__ */ t.jsx(
1064
- j,
1064
+ w,
1065
1065
  { display: ["flex", null, null, "none"], children: /* @__PURE__ */ t.jsx(
1066
1066
  pe,
1067
1067
  {
1068
1068
  icon: /* @__PURE__ */ t.jsx(On, {}),
1069
1069
  "aria-label": "menu",
1070
1070
  "data-testid": "menu-button",
1071
- onClick: c
1071
+ onClick: u
1072
1072
  }
1073
1073
  ) }
1074
1074
  ),
1075
- /* @__PURE__ */ t.jsx(j, { display: ["none", null, null, "block"], children: s })
1075
+ /* @__PURE__ */ t.jsx(w, { display: ["none", null, null, "block"], children: a })
1076
1076
  ] }
1077
1077
  )
1078
1078
  ] }
@@ -1083,11 +1083,11 @@ const Xe = 60, bt = 6, Un = (n) => {
1083
1083
  count: n = 0,
1084
1084
  ...l
1085
1085
  }) => /* @__PURE__ */ t.jsxs(
1086
- j,
1086
+ w,
1087
1087
  { position: "relative", display: "inline-block", children: [
1088
1088
  /* @__PURE__ */ t.jsx(pe, { icon: /* @__PURE__ */ t.jsx(An, {}), ...l }),
1089
1089
  n > 0 && /* @__PURE__ */ t.jsx(
1090
- j,
1090
+ w,
1091
1091
  {
1092
1092
  display: "flex",
1093
1093
  minWidth: "20px",
@@ -1114,7 +1114,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1114
1114
  }) => /* @__PURE__ */ t.jsx(
1115
1115
  ln,
1116
1116
  { spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
1117
- j,
1117
+ w,
1118
1118
  {
1119
1119
  paddingY: 4,
1120
1120
  paddingX: 6,
@@ -1133,7 +1133,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1133
1133
  "data-testid": "desktop-nav",
1134
1134
  children: [
1135
1135
  Array.from({ length: n }).map(
1136
- (s, i) => /* @__PURE__ */ t.jsx(Ke, { width: "90px", height: "48px" }, i)
1136
+ (a, i) => /* @__PURE__ */ t.jsx(Ke, { width: "90px", height: "48px" }, i)
1137
1137
  ),
1138
1138
  l && /* @__PURE__ */ t.jsx(Ke, { width: "110px", height: "48px", borderRadius: "full" })
1139
1139
  ]
@@ -1165,47 +1165,47 @@ const Xe = 60, bt = 6, Un = (n) => {
1165
1165
  }
1166
1166
  ) }
1167
1167
  ), Jn = (n, l) => {
1168
- let s;
1168
+ let a;
1169
1169
  return (...i) => {
1170
- s && clearTimeout(s), s = setTimeout(() => {
1170
+ a && clearTimeout(a), a = setTimeout(() => {
1171
1171
  n(...i);
1172
1172
  }, l);
1173
1173
  };
1174
1174
  }, Qe = (n) => n.toLowerCase().replace(/['']/g, "").replace(/[^a-z0-9]/g, ""), Qn = (n, l) => {
1175
1175
  n.length < l.length && ([n, l] = [l, n]);
1176
- let s = Array(l.length + 1).fill(0), i = Array(l.length + 1).fill(0);
1177
- for (let u = 0; u <= l.length; u++)
1178
- s[u] = u;
1179
- for (let u = 1; u <= n.length; u++) {
1180
- i[0] = u;
1181
- for (let c = 1; c <= l.length; c++) {
1182
- const f = n[u - 1] === l[c - 1] ? 0 : 1;
1183
- i[c] = Math.min(
1184
- i[c - 1] + 1,
1176
+ let a = Array(l.length + 1).fill(0), i = Array(l.length + 1).fill(0);
1177
+ for (let s = 0; s <= l.length; s++)
1178
+ a[s] = s;
1179
+ for (let s = 1; s <= n.length; s++) {
1180
+ i[0] = s;
1181
+ for (let u = 1; u <= l.length; u++) {
1182
+ const f = n[s - 1] === l[u - 1] ? 0 : 1;
1183
+ i[u] = Math.min(
1184
+ i[u - 1] + 1,
1185
1185
  // Insertion
1186
- s[c] + 1,
1186
+ a[u] + 1,
1187
1187
  // Deletion
1188
- s[c - 1] + f
1188
+ a[u - 1] + f
1189
1189
  // Substitution
1190
1190
  );
1191
1191
  }
1192
- [s, i] = [i, s];
1192
+ [a, i] = [i, a];
1193
1193
  }
1194
- return s[l.length];
1195
- }, Be = (n, l, s = 0.6) => {
1194
+ return a[l.length];
1195
+ }, Be = (n, l, a = 0.6) => {
1196
1196
  if (n.length <= 3 || l.length <= 3)
1197
1197
  return n.includes(l) || l.includes(n);
1198
- const i = Qn(n, l), u = Math.max(n.length, l.length);
1199
- return 1 - i / u >= s;
1198
+ const i = Qn(n, l), s = Math.max(n.length, l.length);
1199
+ return 1 - i / s >= a;
1200
1200
  }, jt = (n, l) => {
1201
- const s = n.split(/\s+/);
1202
- return l.length <= 4 ? s.some((i) => i.includes(l)) : s.some((i) => {
1201
+ const a = n.split(/\s+/);
1202
+ return l.length <= 4 ? a.some((i) => i.includes(l)) : a.some((i) => {
1203
1203
  if (Be(i, l))
1204
1204
  return !0;
1205
1205
  if (i.length >= l.length)
1206
- for (let u = 0; u <= i.length - l.length; u++) {
1207
- const c = i.slice(u, u + l.length + 1);
1208
- if (Be(l, c))
1206
+ for (let s = 0; s <= i.length - l.length; s++) {
1207
+ const u = i.slice(s, s + l.length + 1);
1208
+ if (Be(l, u))
1209
1209
  return !0;
1210
1210
  }
1211
1211
  return !1;
@@ -1225,32 +1225,32 @@ const Xe = 60, bt = 6, Un = (n) => {
1225
1225
  cancelable: !0
1226
1226
  })
1227
1227
  );
1228
- }, qn = (n = !1, l = !1, s = !1) => n || !l ? "column" : s ? "row" : "row-reverse", er = lt(St), tr = lt(_t), qe = ({
1228
+ }, qn = (n = !1, l = !1, a = !1) => n || !l ? "column" : a ? "row" : "row-reverse", er = lt(St), tr = lt(_t), qe = ({
1229
1229
  isOpen: n = !1,
1230
1230
  onClose: l,
1231
- title: s,
1231
+ title: a,
1232
1232
  navDrawerLinks: i,
1233
- bottomNavButtons: u,
1234
- spotlightCards: c,
1233
+ bottomNavButtons: s,
1234
+ spotlightCards: u,
1235
1235
  bottomButton: f,
1236
- hasBackButton: w = !0,
1236
+ hasBackButton: C = !0,
1237
1237
  onBackClick: p,
1238
- hasOnlySpotlightCards: b = !1,
1239
- hasSearch: a = !1,
1240
- onSearch: C = () => ({}),
1238
+ hasOnlySpotlightCards: j = !1,
1239
+ hasSearch: c = !1,
1240
+ onSearch: g = () => ({}),
1241
1241
  topOffset: m
1242
1242
  }) => {
1243
1243
  var W, U;
1244
- const g = He({
1244
+ const x = He({
1245
1245
  base: !1,
1246
1246
  tablet: !1,
1247
1247
  largeTablet: !1,
1248
1248
  desktop: !0
1249
- }), T = g ? "top" : "right", [G, Q] = K(0), [O, _] = K(!1), X = () => {
1249
+ }), T = x ? "top" : "right", [G, Q] = K(0), [O, _] = K(!1), X = () => {
1250
1250
  Q((L) => L + 1);
1251
1251
  }, A = Lt(
1252
1252
  Jn((L) => {
1253
- C(L), X();
1253
+ g(L), X();
1254
1254
  }, 100),
1255
1255
  []
1256
1256
  );
@@ -1265,19 +1265,19 @@ const Xe = 60, bt = 6, Un = (n) => {
1265
1265
  {
1266
1266
  isOpen: O || n,
1267
1267
  onClose: () => {
1268
- O && g || l();
1268
+ O && x || l();
1269
1269
  },
1270
1270
  placement: T,
1271
1271
  blockScrollOnMount: !1,
1272
1272
  autoFocus: !1,
1273
- ...g ? {
1273
+ ...x ? {
1274
1274
  styleConfig: {
1275
1275
  baseStyle: {
1276
1276
  ...se.components.Drawer.baseStyle,
1277
1277
  dialogContainer: {
1278
1278
  ...(U = (W = se.components.Drawer) == null ? void 0 : W.baseStyle) == null ? void 0 : U.dialogContainer,
1279
1279
  // Push the drawer down by the top offset on desktop to not cover the top navigation
1280
- top: g ? `${m}px` : void 0,
1280
+ top: x ? `${m}px` : void 0,
1281
1281
  // Lower index on desktop to make sure the drawer is below the top navigation
1282
1282
  zIndex: ["overlay"]
1283
1283
  }
@@ -1294,8 +1294,8 @@ const Xe = 60, bt = 6, Un = (n) => {
1294
1294
  {
1295
1295
  backgroundColor: "tints.black",
1296
1296
  top: ["0", null, null, `${m}px`],
1297
- opacity: g ? void 0 : "0.4 !important",
1298
- ...g ? {
1297
+ opacity: x ? void 0 : "0.4 !important",
1298
+ ...x ? {
1299
1299
  initial: { opacity: 0 },
1300
1300
  animate: { opacity: 0.4 },
1301
1301
  exit: { opacity: 0 },
@@ -1315,10 +1315,10 @@ const Xe = 60, bt = 6, Un = (n) => {
1315
1315
  B && B.href === window.location.href && l();
1316
1316
  },
1317
1317
  onMouseEnter: () => {
1318
- g && wt(!0);
1318
+ x && wt(!0);
1319
1319
  },
1320
1320
  onMouseLeave: (L) => {
1321
- g && (!a || a && (L.target === L.currentTarget || !L.currentTarget.contains(L.target) && !O)) && wt(!1);
1321
+ x && (!c || c && (L.target === L.currentTarget || !L.currentTarget.contains(L.target) && !O)) && wt(!1);
1322
1322
  },
1323
1323
  paddingTop: "4",
1324
1324
  paddingX: [4, null, null, 12],
@@ -1326,31 +1326,31 @@ const Xe = 60, bt = 6, Un = (n) => {
1326
1326
  overflow: ["auto", null, null, "hidden"],
1327
1327
  maxHeight: "100vh",
1328
1328
  position: "relative",
1329
- top: g ? `${m}px !important` : void 0,
1329
+ top: x ? `${m}px !important` : void 0,
1330
1330
  onAnimationComplete: $,
1331
1331
  boxShadow: "none",
1332
- ...g ? {
1332
+ ...x ? {
1333
1333
  initial: { height: 0, opacity: 0 },
1334
1334
  animate: { height: "auto", opacity: 1 },
1335
1335
  exit: { height: 0, opacity: 0 },
1336
1336
  transition: { duration: 0.3 }
1337
1337
  } : {},
1338
1338
  children: [
1339
- !a && g ? null : /* @__PURE__ */ t.jsxs(
1339
+ !c && x ? null : /* @__PURE__ */ t.jsxs(
1340
1340
  kt,
1341
1341
  {
1342
1342
  padding: "0",
1343
- flexDirection: a ? "column" : "row",
1344
- gap: a ? "4" : "0",
1343
+ flexDirection: c ? "column" : "row",
1344
+ gap: c ? "4" : "0",
1345
1345
  children: [
1346
- g ? null : /* @__PURE__ */ t.jsxs(
1346
+ x ? null : /* @__PURE__ */ t.jsxs(
1347
1347
  E,
1348
1348
  {
1349
1349
  width: "100%",
1350
1350
  justifyContent: "space-between",
1351
1351
  alignItems: "center",
1352
1352
  children: [
1353
- w ? /* @__PURE__ */ t.jsx(
1353
+ C ? /* @__PURE__ */ t.jsx(
1354
1354
  pe,
1355
1355
  {
1356
1356
  icon: /* @__PURE__ */ t.jsx(Pn, {}),
@@ -1365,7 +1365,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1365
1365
  {
1366
1366
  color: "tints.uiGrey",
1367
1367
  fontSize: ["xl", null, null, "lg"],
1368
- children: s
1368
+ children: a
1369
1369
  }
1370
1370
  ),
1371
1371
  /* @__PURE__ */ t.jsx(
@@ -1379,7 +1379,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1379
1379
  ]
1380
1380
  }
1381
1381
  ),
1382
- a && /* @__PURE__ */ t.jsxs(
1382
+ c && /* @__PURE__ */ t.jsxs(
1383
1383
  kn,
1384
1384
  { width: "100%", children: [
1385
1385
  /* @__PURE__ */ t.jsx(
@@ -1408,11 +1408,11 @@ const Xe = 60, bt = 6, Un = (n) => {
1408
1408
  {
1409
1409
  paddingX: "0",
1410
1410
  paddingBottom: [6, null, null, 4],
1411
- "data-testid": `navbar-drawer-body-${s.toLowerCase()}`,
1411
+ "data-testid": `navbar-drawer-body-${a.toLowerCase()}`,
1412
1412
  children: /* @__PURE__ */ t.jsxs(
1413
1413
  lt.div,
1414
1414
  {
1415
- ...g ? {
1415
+ ...x ? {
1416
1416
  initial: { opacity: 0, y: -5 },
1417
1417
  animate: { opacity: 1, y: 0 },
1418
1418
  exit: { opacity: 0, y: -5 },
@@ -1430,16 +1430,16 @@ const Xe = 60, bt = 6, Un = (n) => {
1430
1430
  style: {
1431
1431
  display: "flex",
1432
1432
  flexDirection: qn(
1433
- b,
1434
- g,
1435
- a
1433
+ j,
1434
+ x,
1435
+ c
1436
1436
  ),
1437
1437
  gap: "24px",
1438
1438
  justifyContent: "space-between"
1439
1439
  },
1440
1440
  children: [
1441
- c ? /* @__PURE__ */ t.jsx(
1442
- j,
1441
+ u ? /* @__PURE__ */ t.jsx(
1442
+ w,
1443
1443
  {
1444
1444
  gap: [3, null, null, 6],
1445
1445
  display: "flex",
@@ -1448,7 +1448,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1448
1448
  flexWrap: "wrap",
1449
1449
  flexDirection: ["column", null, null, "row"]
1450
1450
  },
1451
- children: c
1451
+ children: u
1452
1452
  }
1453
1453
  ) : null,
1454
1454
  /* @__PURE__ */ t.jsxs(
@@ -1457,12 +1457,12 @@ const Xe = 60, bt = 6, Un = (n) => {
1457
1457
  position: [null, null, null, "relative"],
1458
1458
  flexDirection: "column",
1459
1459
  gap: "6",
1460
- width: ["100%", null, null, a ? null : "auto"],
1460
+ width: ["100%", null, null, c ? null : "auto"],
1461
1461
  children: [
1462
- i ? /* @__PURE__ */ t.jsx(j, { children: i }) : null,
1463
- u && !g ? /* @__PURE__ */ t.jsx(j, { children: u }) : null,
1462
+ i ? /* @__PURE__ */ t.jsx(w, { children: i }) : null,
1463
+ s && !x ? /* @__PURE__ */ t.jsx(w, { children: s }) : null,
1464
1464
  f ? /* @__PURE__ */ t.jsx(
1465
- j,
1465
+ w,
1466
1466
  {
1467
1467
  width: ["100%"],
1468
1468
  position: [null, null, null, "absolute"],
@@ -1490,63 +1490,63 @@ const Xe = 60, bt = 6, Un = (n) => {
1490
1490
  }, nr = ({
1491
1491
  source: n,
1492
1492
  onSearchCallback: l,
1493
- isActive: s
1493
+ isActive: a
1494
1494
  }) => {
1495
- const [i, u] = K(""), [c, f] = K([]), w = (a, C) => {
1496
- if (!a) return [];
1497
- const g = Qe(a).split(/\s+/);
1498
- return C.filter((T) => {
1495
+ const [i, s] = K(""), [u, f] = K([]), C = (c, g) => {
1496
+ if (!c) return [];
1497
+ const x = Qe(c).split(/\s+/);
1498
+ return g.filter((T) => {
1499
1499
  const G = Qe(T.label);
1500
- if (g.some((A) => jt(G, A))) return !0;
1501
- const O = G.split(/\s+/), _ = g.some((A) => O.some(($) => $.includes(A) || Be(A, $))), X = typeof T.additionalContent == "string" && g.some((A) => {
1500
+ if (x.some((A) => jt(G, A))) return !0;
1501
+ const O = G.split(/\s+/), _ = x.some((A) => O.some(($) => $.includes(A) || Be(A, $))), X = typeof T.additionalContent == "string" && x.some((A) => {
1502
1502
  const $ = Qe(T.additionalContent);
1503
1503
  return jt($, A) || $.split(/\s+/).some((W) => W.includes(A) || Be(A, W));
1504
1504
  });
1505
1505
  return _ || X;
1506
1506
  }).sort((T, G) => T.label.localeCompare(G.label));
1507
- }, p = (a) => {
1508
- if (u(a), !a) {
1507
+ }, p = (c) => {
1508
+ if (s(c), !c) {
1509
1509
  f([]);
1510
1510
  return;
1511
1511
  }
1512
- const C = w(a, n);
1513
- f(C), l && l(a, C);
1514
- }, b = () => {
1515
- u(""), f([]);
1512
+ const g = C(c, n);
1513
+ f(g), l && l(c, g);
1514
+ }, j = () => {
1515
+ s(""), f([]);
1516
1516
  };
1517
1517
  return te(() => {
1518
- s || (u(""), f([]));
1519
- }, [s]), {
1518
+ a || (s(""), f([]));
1519
+ }, [a]), {
1520
1520
  query: i,
1521
- results: c,
1522
- handleClose: b,
1521
+ results: u,
1522
+ handleClose: j,
1523
1523
  handleSearch: p
1524
1524
  };
1525
1525
  }, rr = (n) => {
1526
1526
  const l = /* @__PURE__ */ new Set();
1527
- return n.reduce((s, i) => {
1528
- var c;
1529
- const u = ((c = i.sections) == null ? void 0 : c.reduce((f, w) => {
1530
- const p = w.links.filter((b) => l.has(b.label) || b.isSearchable !== !0 ? !1 : (l.add(b.label), !0));
1527
+ return n.reduce((a, i) => {
1528
+ var u;
1529
+ const s = ((u = i.sections) == null ? void 0 : u.reduce((f, C) => {
1530
+ const p = C.links.filter((j) => l.has(j.label) || j.isSearchable !== !0 ? !1 : (l.add(j.label), !0));
1531
1531
  return [...f, ...p];
1532
1532
  }, [])) ?? [];
1533
- return [...s, ...u];
1533
+ return [...a, ...s];
1534
1534
  }, []);
1535
1535
  }, mr = ({
1536
1536
  categories: n = [],
1537
1537
  onCartClick: l,
1538
- mainCategoryLabel: s = "Menu",
1538
+ mainCategoryLabel: a = "Menu",
1539
1539
  logoLink: i = "https://www.everlywell.com",
1540
- hasSearch: u = !0,
1541
- onSearchClick: c,
1540
+ hasSearch: s = !0,
1541
+ onSearchClick: u,
1542
1542
  registrationUrl: f,
1543
- profileUrl: w = "https://secure.everlywell.com/login",
1543
+ profileUrl: C = "https://secure.everlywell.com/login",
1544
1544
  mobileBottomButtons: p = [],
1545
- numberOfCartItems: b = 0,
1546
- linkComponent: a,
1547
- onSearchCallback: C,
1545
+ numberOfCartItems: j = 0,
1546
+ linkComponent: c,
1547
+ onSearchCallback: g,
1548
1548
  onLinkClick: m,
1549
- onCategoryOpen: g,
1549
+ onCategoryOpen: x,
1550
1550
  onMobileMenuOpen: T,
1551
1551
  onBackToMainMenu: G,
1552
1552
  onRegisterKitClick: Q,
@@ -1577,16 +1577,16 @@ const Xe = 60, bt = 6, Un = (n) => {
1577
1577
  }, [ke]);
1578
1578
  const {
1579
1579
  query: De,
1580
- results: ce,
1580
+ results: ue,
1581
1581
  handleSearch: Ie
1582
1582
  } = nr({
1583
1583
  source: rr(n),
1584
- onSearchCallback: C,
1584
+ onSearchCallback: g,
1585
1585
  isActive: U
1586
- }), me = ce.length > 0, be = a || Y, Fe = ge(X, !!a), je = De && /* @__PURE__ */ t.jsxs(
1586
+ }), me = ue.length > 0, be = c || Y, Fe = ge(X, !!c), je = De && /* @__PURE__ */ t.jsxs(
1587
1587
  E,
1588
1588
  { gap: me ? "6" : 0, direction: "column", children: [
1589
- me ? /* @__PURE__ */ t.jsx(P, { color: "tints.uiGrey", children: `${ce.length} Results` }) : /* @__PURE__ */ t.jsxs(
1589
+ me ? /* @__PURE__ */ t.jsx(P, { color: "tints.uiGrey", children: `${ue.length} Results` }) : /* @__PURE__ */ t.jsxs(
1590
1590
  E,
1591
1591
  { direction: "column", gap: "6", alignItems: "flex-start", children: [
1592
1592
  /* @__PURE__ */ t.jsx(
@@ -1608,7 +1608,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1608
1608
  ),
1609
1609
  /* @__PURE__ */ t.jsx(
1610
1610
  on,
1611
- { columns: [1, 1, 1, 4], children: ce.map(
1611
+ { columns: [1, 1, 1, 4], children: ue.map(
1612
1612
  (d, k) => /* @__PURE__ */ t.jsx(
1613
1613
  an,
1614
1614
  { children: /* @__PURE__ */ t.jsx(
@@ -1617,7 +1617,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1617
1617
  href: d.href,
1618
1618
  label: d.label,
1619
1619
  additionalContent: d == null ? void 0 : d.additionalContent,
1620
- linkComponent: a
1620
+ linkComponent: c
1621
1621
  }
1622
1622
  ) },
1623
1623
  `${d.label}-${k}`
@@ -1629,7 +1629,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1629
1629
  W(!1), B(null);
1630
1630
  }, Z = (d) => "href" in d, we = (d) => {
1631
1631
  Z(d) ? m == null || m(d.label) : B(d);
1632
- }, ue = (d) => {
1632
+ }, ce = (d) => {
1633
1633
  xe(!0), L(!1), B(null), !Z(d) && (d.sections || d.spotlightCards) && B(d);
1634
1634
  }, We = () => {
1635
1635
  xe(!1);
@@ -1664,7 +1664,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1664
1664
  $e,
1665
1665
  {
1666
1666
  onMouseEnter: () => {
1667
- ue(d), g == null || g(d.label);
1667
+ ce(d), x == null || x(d.label);
1668
1668
  },
1669
1669
  onMouseLeave: We,
1670
1670
  isSelected: (S == null ? void 0 : S.label) === d.label,
@@ -1681,10 +1681,10 @@ const Xe = 60, bt = 6, Un = (n) => {
1681
1681
  )) == null ? void 0 : Ce.map((d, k) => {
1682
1682
  const H = d;
1683
1683
  return /* @__PURE__ */ t.jsx(
1684
- j,
1684
+ w,
1685
1685
  {
1686
1686
  onClick: () => {
1687
- we(H), g == null || g(H.label);
1687
+ we(H), x == null || x(H.label);
1688
1688
  },
1689
1689
  children: /* @__PURE__ */ t.jsx(
1690
1690
  Je,
@@ -1693,7 +1693,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1693
1693
  role: "link",
1694
1694
  additionalContent: H.additionalContent,
1695
1695
  mainTextFontSize: "3xl",
1696
- linkComponent: a
1696
+ linkComponent: c
1697
1697
  }
1698
1698
  )
1699
1699
  },
@@ -1706,7 +1706,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1706
1706
  $e,
1707
1707
  {
1708
1708
  as: Y,
1709
- href: w,
1709
+ href: C,
1710
1710
  width: "100%",
1711
1711
  backgroundColor: "tints.cream",
1712
1712
  onClick: O,
@@ -1752,7 +1752,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1752
1752
  for (let N = 0; N < d.links.length; N += 3)
1753
1753
  H.push(d.links.slice(N, N + 3));
1754
1754
  return /* @__PURE__ */ t.jsxs(
1755
- j,
1755
+ w,
1756
1756
  { children: [
1757
1757
  /* @__PURE__ */ t.jsx(
1758
1758
  P,
@@ -1782,7 +1782,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1782
1782
  label: re.label,
1783
1783
  href: re.href,
1784
1784
  additionalContent: re.additionalContent,
1785
- linkComponent: a,
1785
+ linkComponent: c,
1786
1786
  onClick: () => m == null ? void 0 : m(re.label)
1787
1787
  },
1788
1788
  `${re.label}-${ie}`
@@ -1800,9 +1800,9 @@ const Xe = 60, bt = 6, Un = (n) => {
1800
1800
  }) }
1801
1801
  ) : null, Oe = S != null && S.spotlightCards ? (Ae = S.spotlightCards) == null ? void 0 : Ae.map(
1802
1802
  (d, k) => /* @__PURE__ */ t.jsx(Zn, { ...d }, `${d.title}-${k}`)
1803
- ) : /* @__PURE__ */ t.jsx(j, {});
1803
+ ) : /* @__PURE__ */ t.jsx(w, {});
1804
1804
  return /* @__PURE__ */ t.jsxs(
1805
- j,
1805
+ w,
1806
1806
  {
1807
1807
  as: "nav",
1808
1808
  "aria-label": "Main navigation",
@@ -1827,38 +1827,38 @@ const Xe = 60, bt = 6, Un = (n) => {
1827
1827
  ),
1828
1828
  profileElement: /* @__PURE__ */ t.jsx(
1829
1829
  Y,
1830
- { href: w, "aria-label": "login", onClick: O, children: /* @__PURE__ */ t.jsx(pe, { icon: /* @__PURE__ */ t.jsx(J, { as: xt }), "aria-label": "Profile" }) }
1830
+ { href: C, "aria-label": "login", onClick: O, children: /* @__PURE__ */ t.jsx(pe, { icon: /* @__PURE__ */ t.jsx(J, { as: xt }), "aria-label": "Profile" }) }
1831
1831
  ),
1832
1832
  cartElement: /* @__PURE__ */ t.jsx(
1833
1833
  Xn,
1834
1834
  {
1835
1835
  "aria-label": "Cart",
1836
- count: b,
1836
+ count: j,
1837
1837
  onClick: l
1838
1838
  }
1839
1839
  ),
1840
1840
  onSearchClick: () => {
1841
- L(!U), c == null || c();
1841
+ L(!U), u == null || u();
1842
1842
  },
1843
1843
  onMenuClick: () => {
1844
1844
  W(!0), T == null || T();
1845
1845
  },
1846
- hasSearch: u,
1846
+ hasSearch: s,
1847
1847
  logoLink: i,
1848
- linkComponent: a,
1848
+ linkComponent: c,
1849
1849
  onLogoClick: _,
1850
1850
  setTopOffset: _e
1851
1851
  }
1852
1852
  ),
1853
1853
  /* @__PURE__ */ t.jsxs(
1854
- j,
1854
+ w,
1855
1855
  { position: "relative", zIndex: "modal", children: [
1856
1856
  /* @__PURE__ */ t.jsx(
1857
1857
  qe,
1858
1858
  {
1859
1859
  isOpen: $,
1860
1860
  onClose: ne,
1861
- title: s,
1861
+ title: a,
1862
1862
  navDrawerLinks: ze,
1863
1863
  bottomNavButtons: de,
1864
1864
  hasBackButton: !1,
@@ -1899,37 +1899,37 @@ const Xe = 60, bt = 6, Un = (n) => {
1899
1899
  ]
1900
1900
  }
1901
1901
  );
1902
- }, yt = ({ links: n, linkComponent: l, onLinkClick: s }) => {
1903
- const i = l || Y, u = (c) => {
1904
- s && s(c);
1902
+ }, yt = ({ links: n, linkComponent: l, onLinkClick: a }) => {
1903
+ const i = l || Y, s = (u) => {
1904
+ a && a(u);
1905
1905
  };
1906
1906
  return /* @__PURE__ */ t.jsx(
1907
1907
  E,
1908
1908
  { direction: "column", gap: 6, children: n.map(
1909
- (c) => /* @__PURE__ */ t.jsx(
1909
+ (u) => /* @__PURE__ */ t.jsx(
1910
1910
  P,
1911
1911
  {
1912
1912
  as: i,
1913
1913
  color: "white",
1914
1914
  size: "lg",
1915
1915
  _hover: { color: "viridian.lighter", textDecoration: "none" },
1916
- onClick: () => u(c.label),
1917
- ...ge(c.href, !!l),
1918
- children: c.label
1916
+ onClick: () => s(u.label),
1917
+ ...ge(u.href, !!l),
1918
+ children: u.label
1919
1919
  },
1920
- c.label
1920
+ u.label
1921
1921
  )
1922
1922
  ) }
1923
1923
  );
1924
- }, lr = ({ title: n, links: l, isLast: s }) => {
1925
- const i = s ? "transparent" : `${se.colors.viridian.lighter}20`;
1924
+ }, lr = ({ title: n, links: l, isLast: a }) => {
1925
+ const i = a ? "transparent" : `${se.colors.viridian.lighter}20`;
1926
1926
  return l ? /* @__PURE__ */ t.jsx(
1927
- cn,
1928
- { borderColor: i, children: ({ isExpanded: u }) => /* @__PURE__ */ t.jsxs(
1927
+ un,
1928
+ { borderColor: i, children: ({ isExpanded: s }) => /* @__PURE__ */ t.jsxs(
1929
1929
  t.Fragment,
1930
1930
  { children: [
1931
1931
  /* @__PURE__ */ t.jsxs(
1932
- un,
1932
+ cn,
1933
1933
  { paddingX: 0, paddingY: 4, _hover: { bg: "transparent" }, children: [
1934
1934
  /* @__PURE__ */ t.jsx(
1935
1935
  P,
@@ -1941,7 +1941,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1941
1941
  as: $n,
1942
1942
  size: "sm",
1943
1943
  color: "viridian.lighter",
1944
- transform: u ? "rotate(-180deg)" : "rotate(0deg)",
1944
+ transform: s ? "rotate(-180deg)" : "rotate(0deg)",
1945
1945
  transition: "transform 0.3s ease"
1946
1946
  }
1947
1947
  )
@@ -1955,7 +1955,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1955
1955
  ) }
1956
1956
  ) : null;
1957
1957
  }, or = ({ title: n, links: l }) => l ? /* @__PURE__ */ t.jsxs(
1958
- j,
1958
+ w,
1959
1959
  { children: [
1960
1960
  /* @__PURE__ */ t.jsx(
1961
1961
  P,
@@ -1966,7 +1966,7 @@ const Xe = 60, bt = 6, Un = (n) => {
1966
1966
  ) : null, ir = ({
1967
1967
  sections: n,
1968
1968
  linkComponent: l,
1969
- onLinkClick: s
1969
+ onLinkClick: a
1970
1970
  }) => He({
1971
1971
  base: !1,
1972
1972
  tablet: !1,
@@ -1980,20 +1980,20 @@ const Xe = 60, bt = 6, Un = (n) => {
1980
1980
  children: /* @__PURE__ */ t.jsx(
1981
1981
  E,
1982
1982
  { gap: 120, children: n.map(
1983
- ({ title: u, links: c }) => /* @__PURE__ */ t.jsx(
1983
+ ({ title: s, links: u }) => /* @__PURE__ */ t.jsx(
1984
1984
  or,
1985
1985
  {
1986
- title: u,
1986
+ title: s,
1987
1987
  links: /* @__PURE__ */ t.jsx(
1988
1988
  yt,
1989
1989
  {
1990
- links: c,
1990
+ links: u,
1991
1991
  linkComponent: l,
1992
- onLinkClick: s
1992
+ onLinkClick: a
1993
1993
  }
1994
1994
  )
1995
1995
  },
1996
- u
1996
+ s
1997
1997
  )
1998
1998
  ) }
1999
1999
  )
@@ -2007,21 +2007,21 @@ const Xe = 60, bt = 6, Un = (n) => {
2007
2007
  display: "flex",
2008
2008
  flexDirection: "column",
2009
2009
  children: n.map(
2010
- ({ title: u, links: c }, f) => /* @__PURE__ */ t.jsx(
2010
+ ({ title: s, links: u }, f) => /* @__PURE__ */ t.jsx(
2011
2011
  lr,
2012
2012
  {
2013
- title: u,
2013
+ title: s,
2014
2014
  links: /* @__PURE__ */ t.jsx(
2015
2015
  yt,
2016
2016
  {
2017
- links: c,
2017
+ links: u,
2018
2018
  linkComponent: l,
2019
- onLinkClick: s
2019
+ onLinkClick: a
2020
2020
  }
2021
2021
  ),
2022
2022
  isLast: f === n.length - 1
2023
2023
  },
2024
- u
2024
+ s
2025
2025
  )
2026
2026
  )
2027
2027
  }
@@ -2034,22 +2034,23 @@ const Xe = 60, bt = 6, Un = (n) => {
2034
2034
  }, ar = ({
2035
2035
  socialLinks: n,
2036
2036
  onEmailSubmit: l,
2037
- socialMediaLabel: s,
2037
+ socialMediaLabel: a,
2038
2038
  newsletterLabel: i,
2039
- onLinkClick: u
2039
+ onLinkClick: s,
2040
+ showNewsletter: u = !0
2040
2041
  }) => {
2041
- const [c, f] = Re.useState(""), w = () => {
2042
- c && l && (l(c), f(""));
2043
- }, p = (a) => {
2044
- a.key === "Enter" && w();
2045
- }, b = (a) => {
2046
- u && u(a);
2042
+ const [f, C] = Re.useState(""), p = () => {
2043
+ f && l && (l(f), C(""));
2044
+ }, j = (g) => {
2045
+ g.key === "Enter" && p();
2046
+ }, c = (g) => {
2047
+ s && s(g);
2047
2048
  };
2048
2049
  return /* @__PURE__ */ t.jsxs(
2049
- j,
2050
+ w,
2050
2051
  { width: ["100%", null, null, "440px"], children: [
2051
- /* @__PURE__ */ t.jsxs(
2052
- j,
2052
+ u && /* @__PURE__ */ t.jsxs(
2053
+ w,
2053
2054
  { mb: [8, 10], children: [
2054
2055
  /* @__PURE__ */ t.jsx(
2055
2056
  P,
@@ -2070,9 +2071,9 @@ const Xe = 60, bt = 6, Un = (n) => {
2070
2071
  opacity: 0.66,
2071
2072
  height: "52px",
2072
2073
  pr: "48px",
2073
- value: c,
2074
- onChange: (a) => f(a.target.value),
2075
- onKeyPress: p
2074
+ value: f,
2075
+ onChange: (g) => C(g.target.value),
2076
+ onKeyPress: j
2076
2077
  }
2077
2078
  ),
2078
2079
  /* @__PURE__ */ t.jsx(
@@ -2086,7 +2087,7 @@ const Xe = 60, bt = 6, Un = (n) => {
2086
2087
  height: "24px",
2087
2088
  opacity: 0.66,
2088
2089
  cursor: "pointer",
2089
- onClick: w,
2090
+ onClick: p,
2090
2091
  "data-testid": "arrow-right-icon",
2091
2092
  role: "button",
2092
2093
  "aria-label": "Submit"
@@ -2098,34 +2099,34 @@ const Xe = 60, bt = 6, Un = (n) => {
2098
2099
  ] }
2099
2100
  ),
2100
2101
  /* @__PURE__ */ t.jsxs(
2101
- j,
2102
+ w,
2102
2103
  { children: [
2103
2104
  /* @__PURE__ */ t.jsx(
2104
2105
  P,
2105
- { color: "viridian.lighter", marginBottom: 4, size: "lg", children: s }
2106
+ { color: "viridian.lighter", marginBottom: 4, size: "lg", children: a }
2106
2107
  ),
2107
2108
  /* @__PURE__ */ t.jsx(
2108
2109
  E,
2109
2110
  { gap: 3, children: n == null ? void 0 : n.map(
2110
- (a) => /* @__PURE__ */ t.jsx(
2111
+ (g) => /* @__PURE__ */ t.jsx(
2111
2112
  Y,
2112
2113
  {
2113
- href: a.href,
2114
+ href: g.href,
2114
2115
  target: "_blank",
2115
2116
  rel: "noopener noreferrer",
2116
- "aria-label": a.name,
2117
- onClick: () => b(a.name),
2118
- children: Et[a.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
2117
+ "aria-label": g.name,
2118
+ onClick: () => c(g.name),
2119
+ children: Et[g.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
2119
2120
  J,
2120
2121
  {
2121
- as: Et[a.name.toLowerCase()],
2122
+ as: Et[g.name.toLowerCase()],
2122
2123
  color: "white",
2123
2124
  width: ["48px", null, "24px", null],
2124
2125
  height: ["48px", null, "24px", null]
2125
2126
  }
2126
2127
  )
2127
2128
  },
2128
- a.name
2129
+ g.name
2129
2130
  )
2130
2131
  ) }
2131
2132
  )
@@ -2136,11 +2137,11 @@ const Xe = 60, bt = 6, Un = (n) => {
2136
2137
  }, sr = ({
2137
2138
  links: n,
2138
2139
  linkComponent: l,
2139
- onLinkClick: s
2140
+ onLinkClick: a
2140
2141
  }) => {
2141
- const i = l || Y, u = (f) => {
2142
- s && s(f);
2143
- }, c = n == null ? void 0 : n.map(
2142
+ const i = l || Y, s = (f) => {
2143
+ a && a(f);
2144
+ }, u = n == null ? void 0 : n.map(
2144
2145
  (f) => /* @__PURE__ */ t.jsx(
2145
2146
  P,
2146
2147
  {
@@ -2148,7 +2149,7 @@ const Xe = 60, bt = 6, Un = (n) => {
2148
2149
  color: "viridian.lighter",
2149
2150
  size: "sm",
2150
2151
  _hover: { color: "white", textDecoration: "none" },
2151
- onClick: () => u(f.label),
2152
+ onClick: () => s(f.label),
2152
2153
  ...ge(f.href, !!l),
2153
2154
  children: f.label
2154
2155
  },
@@ -2170,7 +2171,7 @@ const Xe = 60, bt = 6, Un = (n) => {
2170
2171
  flexWrap: "wrap",
2171
2172
  gap: [4, 6, 10],
2172
2173
  width: ["100%", "auto"],
2173
- children: c
2174
+ children: u
2174
2175
  }
2175
2176
  ),
2176
2177
  /* @__PURE__ */ t.jsxs(
@@ -2186,25 +2187,26 @@ const Xe = 60, bt = 6, Un = (n) => {
2186
2187
  }, br = Re.forwardRef(({
2187
2188
  navigationSections: n = [],
2188
2189
  disclaimer: l,
2189
- newsletterLabel: s,
2190
+ newsletterLabel: a,
2190
2191
  socialMediaLabel: i,
2191
- socialLinks: u,
2192
- complianceLinks: c,
2192
+ socialLinks: s,
2193
+ complianceLinks: u,
2193
2194
  linkComponent: f,
2194
- onEmailSubmit: w,
2195
+ onEmailSubmit: C,
2195
2196
  additionalContent: p,
2196
- onLinkClick: b,
2197
- onSocialMediaClick: a
2198
- }, C) => /* @__PURE__ */ t.jsx(
2199
- j,
2200
- { as: "footer", bg: "viridian.dark", py: [6, 8], px: [4, 6], ref: C, children: /* @__PURE__ */ t.jsxs(
2197
+ onLinkClick: j,
2198
+ onSocialMediaClick: c,
2199
+ showNewsletter: g = !0
2200
+ }, m) => /* @__PURE__ */ t.jsx(
2201
+ w,
2202
+ { as: "footer", bg: "viridian.dark", py: [6, 8], px: [4, 6], ref: m, children: /* @__PURE__ */ t.jsxs(
2201
2203
  gn,
2202
2204
  { size: "fluid", children: [
2203
2205
  /* @__PURE__ */ t.jsxs(
2204
2206
  E,
2205
2207
  { direction: "column", gap: [8, 12], children: [
2206
2208
  /* @__PURE__ */ t.jsx(
2207
- j,
2209
+ w,
2208
2210
  { children: /* @__PURE__ */ t.jsx(Pt, { width: ["150px", "202px"], color: "white" }) }
2209
2211
  ),
2210
2212
  /* @__PURE__ */ t.jsxs(
@@ -2220,17 +2222,18 @@ const Xe = 60, bt = 6, Un = (n) => {
2220
2222
  {
2221
2223
  sections: n,
2222
2224
  linkComponent: f,
2223
- onLinkClick: b
2225
+ onLinkClick: j
2224
2226
  }
2225
2227
  ),
2226
2228
  /* @__PURE__ */ t.jsx(
2227
2229
  ar,
2228
2230
  {
2229
- socialLinks: u,
2230
- newsletterLabel: s,
2231
+ socialLinks: s,
2232
+ newsletterLabel: a,
2231
2233
  socialMediaLabel: i,
2232
- onEmailSubmit: w,
2233
- onLinkClick: a
2234
+ onEmailSubmit: C,
2235
+ onLinkClick: c,
2236
+ showNewsletter: g
2234
2237
  }
2235
2238
  )
2236
2239
  ]
@@ -2264,7 +2267,7 @@ const Xe = 60, bt = 6, Un = (n) => {
2264
2267
  ] }
2265
2268
  ),
2266
2269
  /* @__PURE__ */ t.jsx(
2267
- j,
2270
+ w,
2268
2271
  {
2269
2272
  borderTop: "1px solid",
2270
2273
  borderColor: `${se.colors.viridian.lighter}20`,
@@ -2276,14 +2279,14 @@ const Xe = 60, bt = 6, Un = (n) => {
2276
2279
  sr,
2277
2280
  {
2278
2281
  disclaimer: l,
2279
- links: c,
2282
+ links: u,
2280
2283
  linkComponent: f,
2281
- onLinkClick: b
2284
+ onLinkClick: j
2282
2285
  }
2283
2286
  )
2284
2287
  ] }
2285
2288
  ) }
2286
- )), cr = (n) => n ? {
2289
+ )), ur = (n) => n ? {
2287
2290
  Container: Tt,
2288
2291
  Overlay: _t,
2289
2292
  Content: St,
@@ -2302,43 +2305,43 @@ const Xe = 60, bt = 6, Un = (n) => {
2302
2305
  }, jr = ({
2303
2306
  isOpen: n,
2304
2307
  onClose: l,
2305
- children: s,
2308
+ children: a,
2306
2309
  header: i,
2307
- footer: u,
2308
- headerProps: c,
2310
+ footer: s,
2311
+ headerProps: u,
2309
2312
  bodyProps: f,
2310
- footerProps: w,
2313
+ footerProps: C,
2311
2314
  contentProps: p,
2312
- ...b
2315
+ ...j
2313
2316
  }) => {
2314
2317
  var X, A, $, W, U;
2315
- const [a] = Rn(`(max-width: ${se.breakpoints.tablet})`), C = (U = (W = ($ = (A = (X = se) == null ? void 0 : X.components) == null ? void 0 : A.Modal) == null ? void 0 : $.baseStyle) == null ? void 0 : W.overlay) == null ? void 0 : U.background, {
2318
+ const [c] = Rn(`(max-width: ${se.breakpoints.tablet})`), g = (U = (W = ($ = (A = (X = se) == null ? void 0 : X.components) == null ? void 0 : A.Modal) == null ? void 0 : $.baseStyle) == null ? void 0 : W.overlay) == null ? void 0 : U.background, {
2316
2319
  Container: m,
2317
- Overlay: g,
2320
+ Overlay: x,
2318
2321
  Content: T,
2319
2322
  Header: G,
2320
2323
  Body: Q,
2321
2324
  Footer: O,
2322
2325
  CloseButton: _
2323
- } = cr(a);
2326
+ } = ur(c);
2324
2327
  return /* @__PURE__ */ t.jsxs(
2325
2328
  m,
2326
2329
  {
2327
- ...b,
2330
+ ...j,
2328
2331
  isOpen: n,
2329
2332
  onClose: l,
2330
2333
  size: "xl",
2331
- ...a ? { placement: "bottom" } : {},
2334
+ ...c ? { placement: "bottom" } : {},
2332
2335
  children: [
2333
- /* @__PURE__ */ t.jsx(g, { backdropFilter: "auto", backgroundColor: C }),
2336
+ /* @__PURE__ */ t.jsx(x, { backdropFilter: "auto", backgroundColor: g }),
2334
2337
  /* @__PURE__ */ t.jsxs(
2335
2338
  T,
2336
2339
  {
2337
2340
  backgroundColor: "tints.white",
2338
- borderRadius: a ? "20px 20px 0 0" : "20px",
2341
+ borderRadius: c ? "20px 20px 0 0" : "20px",
2339
2342
  overflowY: "auto",
2340
2343
  gap: 0,
2341
- ...i && a && { paddingTop: 0 },
2344
+ ...i && c && { paddingTop: 0 },
2342
2345
  ...p,
2343
2346
  children: [
2344
2347
  /* @__PURE__ */ t.jsxs(
@@ -2356,8 +2359,8 @@ const Xe = 60, bt = 6, Un = (n) => {
2356
2359
  zIndex: "modal",
2357
2360
  backgroundColor: "tints.white",
2358
2361
  paddingInline: 4,
2359
- ...a ? { paddingBlock: 4 } : { paddingTop: 6, paddingBlockEnd: 2 },
2360
- ...c,
2362
+ ...c ? { paddingBlock: 4 } : { paddingTop: 6, paddingBlockEnd: 2 },
2363
+ ...u,
2361
2364
  children: [
2362
2365
  i,
2363
2366
  /* @__PURE__ */ t.jsx(
@@ -2384,10 +2387,10 @@ const Xe = 60, bt = 6, Un = (n) => {
2384
2387
  color: "tints.darkGrey",
2385
2388
  paddingInline: 4,
2386
2389
  ...f,
2387
- children: s
2390
+ children: a
2388
2391
  }
2389
2392
  ),
2390
- /* @__PURE__ */ t.jsx(O, { paddingInline: 4, ...w, children: u })
2393
+ /* @__PURE__ */ t.jsx(O, { paddingInline: 4, ...C, children: s })
2391
2394
  ]
2392
2395
  }
2393
2396
  )