@everlywell/consumer-ui 1.40.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,9 +1,9 @@
1
- import { useSteps as Zt, Box as m, Stepper as Kt, Icon as Q, Flex as C, Text as A, Link as N, Button as Rt, Image as Xt, IconButton as Jt, theme as Ee, VStack as Qt, Skeleton as Ke, HStack as pt, SkeletonCircle as $e, DrawerContent as qt, DrawerOverlay as en, Drawer as tn, DrawerHeader as nn, DrawerBody as rn, 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 J, forwardRef as _t, useRef as gn, useCallback as St, useState as G } from "react";
3
- import { Text as xn, useBreakpointValue as Fe, Box as vn, InputGroup as mn, Input as bn, InputRightElement as jn, Icon as wn } from "@chakra-ui/react";
4
- import { CaretRight as gt, MagnifyingGlass as Tt, List as Cn, Basket as yn, CaretLeft as En, X 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 lt, AnimatePresence as On } from "framer-motion";
6
- var et = { exports: {} }, Ce = {};
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
+ import Re, { useEffect as te, forwardRef as It, useRef as Sn, useCallback as Lt, useState as K } from "react";
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
+ 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";
5
+ import { motion as lt, AnimatePresence as Vn } from "framer-motion";
6
+ var et = { exports: {} }, ye = {};
7
7
  /**
8
8
  * @license React
9
9
  * react-jsx-runtime.production.min.js
@@ -14,20 +14,20 @@ var et = { exports: {} }, Ce = {};
14
14
  * LICENSE file in the root directory of this source tree.
15
15
  */
16
16
  var vt;
17
- function Pn() {
18
- if (vt) return Ce;
17
+ function Yn() {
18
+ if (vt) return ye;
19
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, j) {
22
- var c, E = {}, b = null, g = null;
23
- j !== void 0 && (b = "" + j), p.key !== void 0 && (b = "" + 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: b, ref: g, props: E, _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 Ce.Fragment = a, Ce.jsx = h, Ce.jsxs = h, Ce;
28
+ return ye.Fragment = a, ye.jsx = f, ye.jsxs = f, ye;
29
29
  }
30
- var ye = {};
30
+ var Ee = {};
31
31
  /**
32
32
  * @license React
33
33
  * react-jsx-runtime.development.js
@@ -38,67 +38,67 @@ var ye = {};
38
38
  * LICENSE file in the root directory of this source tree.
39
39
  */
40
40
  var mt;
41
- function $n() {
41
+ function Gn() {
42
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"), j = Symbol.for("react.suspense"), c = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), b = Symbol.for("react.lazy"), g = Symbol.for("react.offscreen"), k = Symbol.iterator, Z = "@@iterator";
44
- function ne(e) {
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
+ function Q(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
47
- var n = k && e[k] || e[Z];
48
- return typeof n == "function" ? n : null;
47
+ var r = T && e[T] || e[G];
48
+ return typeof r == "function" ? r : null;
49
49
  }
50
- var O = r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
- function S(e) {
50
+ var O = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
+ function _(e) {
52
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
- re("error", e, i);
53
+ for (var r = arguments.length, o = new Array(r > 1 ? r - 1 : 0), h = 1; h < r; h++)
54
+ o[h - 1] = arguments[h];
55
+ X("error", e, o);
56
56
  }
57
57
  }
58
- function re(e, n, i) {
58
+ function X(e, r, o) {
59
59
  {
60
- var f = O.ReactDebugCurrentFrame, w = f.getStackAddendum();
61
- w !== "" && (n += "%s", i = i.concat([w]));
62
- var R = i.map(function(v) {
63
- return String(v);
60
+ var h = O.ReactDebugCurrentFrame, y = h.getStackAddendum();
61
+ y !== "" && (r += "%s", o = o.concat([y]));
62
+ var R = o.map(function(b) {
63
+ return String(b);
64
64
  });
65
- R.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, R);
65
+ R.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, R);
66
66
  }
67
67
  }
68
- var $ = !1, V = !1, U = !1, q = !1, L = !1, _;
69
- _ = Symbol.for("react.module.reference");
70
- function M(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === o || e === s || L || e === u || e === j || e === c || q || e === g || $ || V || U || typeof e == "object" && e !== null && (e.$$typeof === b || e.$$typeof === E || e.$$typeof === h || e.$$typeof === y || e.$$typeof === p || // This needs to include all possible module reference object
68
+ var A = !1, $ = !1, W = !1, U = !1, L = !1, S;
69
+ S = Symbol.for("react.module.reference");
70
+ function B(e) {
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.
75
- e.$$typeof === _ || e.getModuleId !== void 0));
75
+ e.$$typeof === S || e.getModuleId !== void 0));
76
76
  }
77
- function _e(e, n, i) {
78
- var f = e.displayName;
79
- if (f)
80
- return f;
81
- var w = n.displayName || n.name || "";
82
- return w !== "" ? i + "(" + w + ")" : i;
77
+ function Se(e, r, o) {
78
+ var h = e.displayName;
79
+ if (h)
80
+ return h;
81
+ var y = r.displayName || r.name || "";
82
+ return y !== "" ? o + "(" + y + ")" : o;
83
83
  }
84
- function ge(e) {
84
+ function xe(e) {
85
85
  return e.displayName || "Context";
86
86
  }
87
- function B(e) {
87
+ function z(e) {
88
88
  if (e == null)
89
89
  return null;
90
- if (typeof e.tag == "number" && S("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
90
+ if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
91
91
  return e.displayName || e.name || null;
92
92
  if (typeof e == "string")
93
93
  return e;
94
94
  switch (e) {
95
- case o:
95
+ case i:
96
96
  return "Fragment";
97
97
  case a:
98
98
  return "Portal";
99
- case s:
100
- return "Profiler";
101
99
  case u:
100
+ return "Profiler";
101
+ case s:
102
102
  return "StrictMode";
103
103
  case j:
104
104
  return "Suspense";
@@ -107,21 +107,21 @@ function $n() {
107
107
  }
108
108
  if (typeof e == "object")
109
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";
110
+ case C:
111
+ var r = e;
112
+ return xe(r) + ".Consumer";
113
+ case f:
114
+ var o = e;
115
+ return xe(o._context) + ".Provider";
116
116
  case p:
117
- return _e(e, e.render, "ForwardRef");
118
- case E:
119
- var f = e.displayName || null;
120
- return f !== null ? f : B(e.type) || "Memo";
121
- case b: {
122
- var w = e, R = w._payload, v = w._init;
117
+ return Se(e, e.render, "ForwardRef");
118
+ case g:
119
+ var h = e.displayName || null;
120
+ return h !== null ? h : z(e.type) || "Memo";
121
+ case m: {
122
+ var y = e, R = y._payload, b = y._init;
123
123
  try {
124
- return B(v(R));
124
+ return z(b(R));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,18 +129,18 @@ function $n() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var K = Object.assign, X = 0, Se, Te, xe, ke, De, se, Ie;
133
- function ve() {
134
- }
135
- ve.__reactDisabledLog = !0;
132
+ var q = Object.assign, ee = 0, _e, Te, ve, ke, De, ue, Ie;
136
133
  function me() {
134
+ }
135
+ me.__reactDisabledLog = !0;
136
+ function be() {
137
137
  {
138
- if (X === 0) {
139
- Se = console.log, Te = console.info, xe = console.warn, ke = console.error, De = console.group, se = console.groupCollapsed, Ie = console.groupEnd;
138
+ if (ee === 0) {
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,
143
- value: ve,
143
+ value: me,
144
144
  writable: !0
145
145
  };
146
146
  Object.defineProperties(console, {
@@ -153,208 +153,208 @@ function $n() {
153
153
  groupEnd: e
154
154
  });
155
155
  }
156
- X++;
156
+ ee++;
157
157
  }
158
158
  }
159
- function Be() {
159
+ function Fe() {
160
160
  {
161
- if (X--, X === 0) {
161
+ if (ee--, ee === 0) {
162
162
  var e = {
163
163
  configurable: !0,
164
164
  enumerable: !0,
165
165
  writable: !0
166
166
  };
167
167
  Object.defineProperties(console, {
168
- log: K({}, e, {
169
- value: Se
168
+ log: q({}, e, {
169
+ value: _e
170
170
  }),
171
- info: K({}, e, {
171
+ info: q({}, e, {
172
172
  value: Te
173
173
  }),
174
- warn: K({}, e, {
175
- value: xe
174
+ warn: q({}, e, {
175
+ value: ve
176
176
  }),
177
- error: K({}, e, {
177
+ error: q({}, e, {
178
178
  value: ke
179
179
  }),
180
- group: K({}, e, {
180
+ group: q({}, e, {
181
181
  value: De
182
182
  }),
183
- groupCollapsed: K({}, e, {
184
- value: se
183
+ groupCollapsed: q({}, e, {
184
+ value: ue
185
185
  }),
186
- groupEnd: K({}, e, {
186
+ groupEnd: q({}, e, {
187
187
  value: Ie
188
188
  })
189
189
  });
190
190
  }
191
- X < 0 && S("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ ee < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var be = O.ReactCurrentDispatcher, ee;
195
- function Y(e, n, i) {
194
+ var je = O.ReactCurrentDispatcher, ne;
195
+ function Z(e, r, o) {
196
196
  {
197
- if (ee === void 0)
197
+ if (ne === void 0)
198
198
  try {
199
199
  throw Error();
200
- } catch (w) {
201
- var f = w.stack.trim().match(/\n( *(at )?)/);
202
- ee = f && f[1] || "";
200
+ } catch (y) {
201
+ var h = y.stack.trim().match(/\n( *(at )?)/);
202
+ ne = h && h[1] || "";
203
203
  }
204
204
  return `
205
- ` + ee + e;
205
+ ` + ne + e;
206
206
  }
207
207
  }
208
- var je = !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
- function Le(e, n) {
214
- if (!e || je)
213
+ function Le(e, r) {
214
+ if (!e || we)
215
215
  return "";
216
216
  {
217
- var i = ue.get(e);
218
- if (i !== void 0)
219
- return i;
217
+ var o = ce.get(e);
218
+ if (o !== void 0)
219
+ return o;
220
220
  }
221
- var f;
222
- je = !0;
223
- var w = Error.prepareStackTrace;
221
+ var h;
222
+ we = !0;
223
+ var y = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
225
  var R;
226
- R = be.current, be.current = null, me();
226
+ R = je.current, je.current = null, be();
227
227
  try {
228
- if (n) {
229
- var v = function() {
228
+ if (r) {
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
- f = F;
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
- f = F;
247
+ h = F;
248
248
  }
249
- e.call(v.prototype);
249
+ e.call(b.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
253
253
  throw Error();
254
254
  } catch (F) {
255
- f = F;
255
+ h = F;
256
256
  }
257
257
  e();
258
258
  }
259
259
  } catch (F) {
260
- if (F && f && typeof F.stack == "string") {
261
- for (var x = F.stack.split(`
262
- `), P = f.stack.split(`
263
- `), D = x.length - 1, I = P.length - 1; D >= 1 && I >= 0 && x[D] !== P[I]; )
260
+ if (F && h && typeof F.stack == "string") {
261
+ for (var v = F.stack.split(`
262
+ `), M = h.stack.split(`
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] !== P[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] !== P[I]) {
270
- var z = `
271
- ` + x[D].replace(" at new ", " at ");
272
- return e.displayName && z.includes("<anonymous>") && (z = z.replace("<anonymous>", e.displayName)), typeof e == "function" && ue.set(e, z), z;
269
+ if (D--, I--, I < 0 || v[D] !== M[I]) {
270
+ var 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;
276
276
  }
277
277
  }
278
278
  } finally {
279
- je = !1, be.current = R, Be(), Error.prepareStackTrace = w;
279
+ we = !1, je.current = R, Fe(), Error.prepareStackTrace = y;
280
280
  }
281
- var fe = e ? e.displayName || e.name : "", ae = fe ? Y(fe) : "";
282
- return typeof e == "function" && ue.set(e, ae), ae;
281
+ var he = e ? e.displayName || e.name : "", ae = he ? Z(he) : "";
282
+ return typeof e == "function" && ce.set(e, ae), ae;
283
283
  }
284
- function ze(e, n, i) {
284
+ function ze(e, r, o) {
285
285
  return Le(e, !1);
286
286
  }
287
287
  function Ne(e) {
288
- var n = e.prototype;
289
- return !!(n && n.isReactComponent);
288
+ var r = e.prototype;
289
+ return !!(r && r.isReactComponent);
290
290
  }
291
- function ce(e, n, i) {
291
+ function de(e, r, o) {
292
292
  if (e == null)
293
293
  return "";
294
294
  if (typeof e == "function")
295
295
  return Le(e, Ne(e));
296
296
  if (typeof e == "string")
297
- return Y(e);
297
+ return Z(e);
298
298
  switch (e) {
299
299
  case j:
300
- return Y("Suspense");
300
+ return Z("Suspense");
301
301
  case c:
302
- return Y("SuspenseList");
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 E:
309
- return ce(e.type, n, i);
310
- case b: {
311
- var f = e, w = f._payload, R = f._init;
308
+ case g:
309
+ return de(e.type, r, o);
310
+ case m: {
311
+ var h = e, y = h._payload, R = h._init;
312
312
  try {
313
- return ce(R(w), n, i);
313
+ return de(R(y), r, o);
314
314
  } catch {
315
315
  }
316
316
  }
317
317
  }
318
318
  return "";
319
319
  }
320
- var le = Object.prototype.hasOwnProperty, Ae = {}, we = O.ReactDebugCurrentFrame;
321
- function ie(e) {
320
+ var le = Object.prototype.hasOwnProperty, Oe = {}, Ce = O.ReactDebugCurrentFrame;
321
+ function oe(e) {
322
322
  if (e) {
323
- var n = e._owner, i = ce(e.type, e._source, n ? n.type : null);
324
- we.setExtraStackFrame(i);
323
+ var r = e._owner, o = de(e.type, e._source, r ? r.type : null);
324
+ Ce.setExtraStackFrame(o);
325
325
  } else
326
- we.setExtraStackFrame(null);
326
+ Ce.setExtraStackFrame(null);
327
327
  }
328
- function Oe(e, n, i, f, w) {
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 P = 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 P.name = "Invariant Violation", P;
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
+ throw M.name = "Invariant Violation", M;
338
338
  }
339
- x = e[v](n, v, f, i, 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) && (ie(w), S("%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), ie(null)), x instanceof Error && !(x.message in Ae) && (Ae[x.message] = !0, ie(w), S("Failed %s type: %s", i, x.message), ie(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
  }
347
347
  var d = Array.isArray;
348
- function T(e) {
348
+ function k(e) {
349
349
  return d(e);
350
350
  }
351
351
  function H(e) {
352
352
  {
353
- var n = typeof Symbol == "function" && Symbol.toStringTag, i = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
354
- return i;
353
+ var r = typeof Symbol == "function" && Symbol.toStringTag, o = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
354
+ return o;
355
355
  }
356
356
  }
357
- function W(e) {
357
+ function N(e) {
358
358
  try {
359
359
  return Pe(e), !1;
360
360
  } catch {
@@ -364,113 +364,113 @@ function $n() {
364
364
  function Pe(e) {
365
365
  return "" + e;
366
366
  }
367
- function te(e) {
368
- if (W(e))
369
- return S("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", H(e)), Pe(e);
367
+ function re(e) {
368
+ if (N(e))
369
+ return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", H(e)), Pe(e);
370
370
  }
371
- var oe = O.ReactCurrentOwner, Dt = {
371
+ var ie = O.ReactCurrentOwner, Mt = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
375
375
  __source: !0
376
- }, it, ot, Ve;
376
+ }, ot, it, Ve;
377
377
  Ve = {};
378
- function It(e) {
378
+ function $t(e) {
379
379
  if (le.call(e, "ref")) {
380
- var n = Object.getOwnPropertyDescriptor(e, "ref").get;
381
- if (n && n.isReactWarning)
380
+ var r = Object.getOwnPropertyDescriptor(e, "ref").get;
381
+ if (r && r.isReactWarning)
382
382
  return !1;
383
383
  }
384
384
  return e.ref !== void 0;
385
385
  }
386
- function Lt(e) {
386
+ function Bt(e) {
387
387
  if (le.call(e, "key")) {
388
- var n = Object.getOwnPropertyDescriptor(e, "key").get;
389
- if (n && n.isReactWarning)
388
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
389
+ if (r && r.isReactWarning)
390
390
  return !1;
391
391
  }
392
392
  return e.key !== void 0;
393
393
  }
394
- function At(e, n) {
395
- if (typeof e.ref == "string" && oe.current && n && oe.current.stateNode !== n) {
396
- var i = B(oe.current.type);
397
- Ve[i] || (S('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', B(oe.current.type), e.ref), Ve[i] = !0);
394
+ function Ht(e, r) {
395
+ if (typeof e.ref == "string" && ie.current && r && ie.current.stateNode !== r) {
396
+ var o = z(ie.current.type);
397
+ Ve[o] || (_('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(ie.current.type), e.ref), Ve[o] = !0);
398
398
  }
399
399
  }
400
- function Ot(e, n) {
400
+ function Ft(e, r) {
401
401
  {
402
- var i = function() {
403
- it || (it = !0, S("%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));
402
+ var o = function() {
403
+ ot || (ot = !0, _("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
404
404
  };
405
- i.isReactWarning = !0, Object.defineProperty(e, "key", {
406
- get: i,
405
+ o.isReactWarning = !0, Object.defineProperty(e, "key", {
406
+ get: o,
407
407
  configurable: !0
408
408
  });
409
409
  }
410
410
  }
411
- function Pt(e, n) {
411
+ function Wt(e, r) {
412
412
  {
413
- var i = function() {
414
- ot || (ot = !0, S("%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));
413
+ var o = function() {
414
+ it || (it = !0, _("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
415
415
  };
416
- i.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
- get: i,
416
+ o.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
+ get: o,
418
418
  configurable: !0
419
419
  });
420
420
  }
421
421
  }
422
- var $t = function(e, n, i, f, w, 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
- key: n,
429
- ref: i,
430
- props: v,
428
+ key: r,
429
+ ref: o,
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
- value: f
444
- }), Object.defineProperty(x, "_source", {
443
+ value: h
444
+ }), Object.defineProperty(v, "_source", {
445
445
  configurable: !1,
446
446
  enumerable: !1,
447
447
  writable: !1,
448
- value: w
449
- }), Object.freeze && (Object.freeze(x.props), Object.freeze(x)), x;
448
+ value: y
449
+ }), Object.freeze && (Object.freeze(v.props), Object.freeze(v)), v;
450
450
  };
451
- function Mt(e, n, i, f, w) {
451
+ function Nt(e, r, o, h, y) {
452
452
  {
453
- var R, v = {}, x = null, P = null;
454
- i !== void 0 && (te(i), x = "" + i), Lt(n) && (te(n.key), x = "" + n.key), It(n) && (P = n.ref, At(n, w));
455
- for (R in n)
456
- le.call(n, R) && !Dt.hasOwnProperty(R) && (v[R] = n[R]);
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
+ for (R in 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 || P) {
462
+ if (v || M) {
463
463
  var I = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
- x && Ot(v, I), P && Pt(v, I);
464
+ v && Ft(b, I), M && Wt(b, I);
465
465
  }
466
- return $t(e, x, P, w, f, oe.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;
470
- function de(e) {
470
+ function fe(e) {
471
471
  if (e) {
472
- var n = e._owner, i = ce(e.type, e._source, n ? n.type : null);
473
- at.setExtraStackFrame(i);
472
+ var r = e._owner, o = de(e.type, e._source, r ? r.type : null);
473
+ at.setExtraStackFrame(o);
474
474
  } else
475
475
  at.setExtraStackFrame(null);
476
476
  }
@@ -482,7 +482,7 @@ function $n() {
482
482
  function st() {
483
483
  {
484
484
  if (Ye.current) {
485
- var e = B(Ye.current.type);
485
+ var e = z(Ye.current.type);
486
486
  if (e)
487
487
  return `
488
488
 
@@ -491,198 +491,198 @@ Check the render method of \`` + e + "`.";
491
491
  return "";
492
492
  }
493
493
  }
494
- function Ht(e) {
494
+ function Vt(e) {
495
495
  return "";
496
496
  }
497
497
  var ut = {};
498
- function Ft(e) {
498
+ function Yt(e) {
499
499
  {
500
- var n = st();
501
- if (!n) {
502
- var i = typeof e == "string" ? e : e.displayName || e.name;
503
- i && (n = `
500
+ var r = st();
501
+ if (!r) {
502
+ var o = typeof e == "string" ? e : e.displayName || e.name;
503
+ o && (r = `
504
504
 
505
- Check the top-level render call using <` + i + ">.");
505
+ Check the top-level render call using <` + o + ">.");
506
506
  }
507
- return n;
507
+ return r;
508
508
  }
509
509
  }
510
- function ct(e, n) {
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
- var i = Ft(n);
516
- if (ut[i])
515
+ var o = Yt(r);
516
+ if (ut[o])
517
517
  return;
518
- ut[i] = !0;
519
- var f = "";
520
- e && e._owner && e._owner !== Ye.current && (f = " It was passed a child from " + B(e._owner.type) + "."), de(e), S('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);
518
+ ut[o] = !0;
519
+ var h = "";
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
  }
522
522
  }
523
- function dt(e, n) {
523
+ function dt(e, r) {
524
524
  {
525
525
  if (typeof e != "object")
526
526
  return;
527
- if (T(e))
528
- for (var i = 0; i < e.length; i++) {
529
- var f = e[i];
530
- Ue(f) && ct(f, n);
527
+ if (k(e))
528
+ for (var o = 0; o < e.length; o++) {
529
+ var h = e[o];
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
- var w = ne(e);
536
- if (typeof w == "function" && w !== e.entries)
537
- for (var R = w.call(e), v; !(v = R.next()).done; )
538
- Ue(v.value) && ct(v.value, n);
535
+ var y = Q(e);
536
+ if (typeof y == "function" && y !== e.entries)
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
  }
542
- function Bt(e) {
542
+ function Gt(e) {
543
543
  {
544
- var n = e.type;
545
- if (n == null || typeof n == "string")
544
+ var r = e.type;
545
+ if (r == null || typeof r == "string")
546
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.
547
+ var o;
548
+ if (typeof r == "function")
549
+ o = r.propTypes;
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
- n.$$typeof === E))
553
- i = n.propTypes;
552
+ r.$$typeof === g))
553
+ o = r.propTypes;
554
554
  else
555
555
  return;
556
- if (i) {
557
- var f = B(n);
558
- Oe(i, e.props, "prop", f, e);
559
- } else if (n.PropTypes !== void 0 && !Ge) {
556
+ if (o) {
557
+ var h = z(r);
558
+ Ae(o, e.props, "prop", h, e);
559
+ } else if (r.PropTypes !== void 0 && !Ge) {
560
560
  Ge = !0;
561
- var w = B(n);
562
- S("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", w || "Unknown");
561
+ var y = z(r);
562
+ _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", y || "Unknown");
563
563
  }
564
- typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && S("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
564
+ typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
565
565
  }
566
566
  }
567
- function Wt(e) {
567
+ function Ut(e) {
568
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), S("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", f), de(null);
569
+ for (var r = Object.keys(e.props), o = 0; o < r.length; o++) {
570
+ var h = r[o];
571
+ if (h !== "children" && h !== "key") {
572
+ fe(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", h), fe(null);
573
573
  break;
574
574
  }
575
575
  }
576
- e.ref !== null && (de(e), S("Invalid attribute `ref` supplied to `React.Fragment`."), de(null));
576
+ e.ref !== null && (fe(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), fe(null));
577
577
  }
578
578
  }
579
579
  var ft = {};
580
- function ht(e, n, i, f, w, R) {
580
+ function ht(e, r, o, h, y, R) {
581
581
  {
582
- var v = M(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 P = Ht();
587
- P ? x += P : x += st();
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
+ var M = Vt();
587
+ M ? v += M : v += st();
588
588
  var D;
589
- e === null ? D = "null" : T(e) ? D = "array" : e !== void 0 && e.$$typeof === l ? (D = "<" + (B(e.type) || "Unknown") + " />", x = " Did you accidentally export a JSX literal instead of a component?") : D = typeof e, S("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
- var I = Mt(e, n, i, w, R);
591
+ var I = Nt(e, r, o, y, R);
592
592
  if (I == null)
593
593
  return I;
594
- if (v) {
595
- var z = n.children;
596
- if (z !== void 0)
597
- if (f)
598
- if (T(z)) {
599
- for (var fe = 0; fe < z.length; fe++)
600
- dt(z[fe], e);
601
- Object.freeze && Object.freeze(z);
594
+ if (b) {
595
+ var V = r.children;
596
+ if (V !== void 0)
597
+ if (h)
598
+ if (k(V)) {
599
+ for (var he = 0; he < V.length; he++)
600
+ dt(V[he], e);
601
+ Object.freeze && Object.freeze(V);
602
602
  } else
603
- S("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
603
+ _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
604
604
  else
605
- dt(z, e);
605
+ dt(V, e);
606
606
  }
607
- if (le.call(n, "key")) {
608
- var ae = B(e), F = Object.keys(n).filter(function(Ut) {
609
- return Ut !== "key";
607
+ if (le.call(r, "key")) {
608
+ var ae = z(e), F = Object.keys(r).filter(function(qt) {
609
+ return qt !== "key";
610
610
  }), Ze = F.length > 0 ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}";
611
611
  if (!ft[ae + Ze]) {
612
- var Gt = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
613
- S(`A props object containing a "key" prop is being spread into JSX:
612
+ var Qt = F.length > 0 ? "{" + F.join(": ..., ") + ": ...}" : "{}";
613
+ _(`A props object containing a "key" prop is being spread into JSX:
614
614
  let props = %s;
615
615
  <%s {...props} />
616
616
  React keys must be passed directly to JSX without using spread:
617
617
  let props = %s;
618
- <%s key={someKey} {...props} />`, Ze, ae, Gt, ae), ft[ae + Ze] = !0;
618
+ <%s key={someKey} {...props} />`, Ze, ae, Qt, ae), ft[ae + Ze] = !0;
619
619
  }
620
620
  }
621
- return e === o ? Wt(I) : Bt(I), I;
621
+ return e === i ? Ut(I) : Gt(I), I;
622
622
  }
623
623
  }
624
- function zt(e, n, i) {
625
- return ht(e, n, i, !0);
624
+ function Zt(e, r, o) {
625
+ return ht(e, r, o, !0);
626
626
  }
627
- function Nt(e, n, i) {
628
- return ht(e, n, i, !1);
627
+ function Kt(e, r, o) {
628
+ return ht(e, r, o, !1);
629
629
  }
630
- var Vt = Nt, Yt = zt;
631
- ye.Fragment = o, ye.jsx = Vt, ye.jsxs = Yt;
632
- }()), ye;
630
+ var Xt = Kt, Jt = Zt;
631
+ Ee.Fragment = i, Ee.jsx = Xt, Ee.jsxs = Jt;
632
+ }()), Ee;
633
633
  }
634
- process.env.NODE_ENV === "production" ? et.exports = Pn() : et.exports = $n();
634
+ process.env.NODE_ENV === "production" ? et.exports = Yn() : et.exports = Gn();
635
635
  var t = et.exports;
636
- const Xe = 60, bt = 6, Mn = (r) => {
636
+ const Xe = 60, bt = 6, Un = (n) => {
637
637
  const {
638
638
  activeStepIndex: l,
639
639
  hideIndicators: a = !1,
640
- steps: o,
641
- stepperTheme: u = {
640
+ steps: i,
641
+ stepperTheme: s = {
642
642
  light: "eggplant.light",
643
643
  base: "eggplant.base"
644
644
  }
645
- } = r, { activeStep: s, setActiveStep: h } = Zt({
645
+ } = n, { activeStep: u, setActiveStep: f } = en({
646
646
  index: l,
647
- count: o.length
647
+ count: i.length
648
648
  });
649
- return J(() => {
650
- h(l);
651
- }, [l, h]), /* @__PURE__ */ t.jsx(
652
- m,
649
+ return te(() => {
650
+ f(l);
651
+ }, [l, f]), /* @__PURE__ */ t.jsx(
652
+ w,
653
653
  { position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
654
- Kt,
654
+ tn,
655
655
  {
656
656
  role: "progressbar",
657
- index: s,
657
+ index: u,
658
658
  width: "100%",
659
659
  display: "flex",
660
660
  flexWrap: "nowrap",
661
- children: o.map((y, p) => {
662
- const j = s === p, c = p === 0, E = p === o.length - 1, b = s > p;
663
- let g = `${Xe}px`;
664
- const k = `calc(100% - ((${Xe * (o.length - 1)}px) - (${o.length - 1} * ${bt * 2}px)))`;
665
- return j ? g = k : (c || E) && (g = `${Xe - bt}px`), /* @__PURE__ */ t.jsx(
666
- m,
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
+ const T = `calc(100% - ((${Xe * (i.length - 1)}px) - (${i.length - 1} * ${bt * 2}px)))`;
665
+ return j ? x = T : (c || g) && (x = `${Xe - bt}px`), /* @__PURE__ */ t.jsx(
666
+ w,
667
667
  {
668
- width: g,
669
- opacity: b || j ? 1 : 0.2,
670
- paddingRight: E ? "0" : "6px",
668
+ width: x,
669
+ opacity: m || j ? 1 : 0.2,
670
+ paddingRight: g ? "0" : "6px",
671
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
- m,
674
+ w,
675
675
  {
676
676
  paddingTop: a ? 2 : 5,
677
677
  position: "relative",
678
678
  width: "100%",
679
679
  children: /* @__PURE__ */ t.jsx(
680
- m,
680
+ w,
681
681
  {
682
682
  width: "100%",
683
683
  position: "absolute",
684
684
  top: "0",
685
- backgroundColor: b ? u.light : u.base,
685
+ backgroundColor: m ? s.light : s.base,
686
686
  height: a ? "4px" : "8px",
687
687
  borderRadius: "4",
688
688
  left: "0"
@@ -697,31 +697,31 @@ const Xe = 60, bt = 6, Mn = (r) => {
697
697
  }
698
698
  ) }
699
699
  );
700
- }, lr = Re.memo(Mn), ir = ({
701
- children: r,
700
+ }, gr = Re.memo(Un), xr = ({
701
+ children: n,
702
702
  ...l
703
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"));
704
+ _n,
705
+ { color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...l, children: n }
706
+ ), ge = (n, l) => {
707
+ const a = (n == null ? void 0 : n.startsWith("http")) || (n == null ? void 0 : n.startsWith("mailto"));
708
708
  return l && !a ? {
709
- to: r
709
+ to: n
710
710
  } : {
711
- href: r
711
+ href: n
712
712
  };
713
- }, Je = _t(
714
- (r, l) => {
713
+ }, Je = It(
714
+ (n, l) => {
715
715
  const {
716
716
  label: a,
717
- additionalContent: o,
718
- mainTextFontSize: u,
719
- linkComponent: s,
720
- href: h,
721
- ...y
722
- } = r, p = s || N, j = pe(h, !!s);
717
+ additionalContent: i,
718
+ mainTextFontSize: s,
719
+ linkComponent: u,
720
+ href: f,
721
+ ...C
722
+ } = n, p = u || Y, j = ge(f, !!u);
723
723
  return /* @__PURE__ */ t.jsxs(
724
- m,
724
+ w,
725
725
  {
726
726
  ref: l,
727
727
  as: p,
@@ -737,10 +737,10 @@ const Xe = 60, bt = 6, Mn = (r) => {
737
737
  width: ["100%", null, null, "fit-content"],
738
738
  cursor: "pointer",
739
739
  ...j,
740
- ...y,
740
+ ...C,
741
741
  children: [
742
742
  /* @__PURE__ */ t.jsx(
743
- Q,
743
+ J,
744
744
  {
745
745
  display: ["none", null, null, "block"],
746
746
  as: gt,
@@ -752,18 +752,18 @@ const Xe = 60, bt = 6, Mn = (r) => {
752
752
  }
753
753
  ),
754
754
  /* @__PURE__ */ t.jsxs(
755
- C,
755
+ E,
756
756
  { alignItems: "center", gap: "1", width: ["100%", null, null, "auto"], children: [
757
757
  /* @__PURE__ */ t.jsx(
758
- A,
758
+ P,
759
759
  {
760
- fontSize: [u || "xl", null, null, "lg"],
760
+ fontSize: [s || "xl", null, null, "lg"],
761
761
  fontWeight: "medium",
762
762
  children: a
763
763
  }
764
764
  ),
765
- o && (typeof o == "string" ? /* @__PURE__ */ t.jsx(
766
- A,
765
+ i && (typeof i == "string" ? /* @__PURE__ */ t.jsx(
766
+ P,
767
767
  {
768
768
  fontSize: ["xl", null, null, "lg"],
769
769
  fontWeight: "medium",
@@ -773,11 +773,11 @@ const Xe = 60, bt = 6, Mn = (r) => {
773
773
  color: "viridian.base"
774
774
  }
775
775
  },
776
- children: o
776
+ children: i
777
777
  }
778
- ) : o),
778
+ ) : i),
779
779
  /* @__PURE__ */ t.jsx(
780
- Q,
780
+ J,
781
781
  {
782
782
  display: ["block", null, null, "none"],
783
783
  as: gt,
@@ -794,15 +794,15 @@ const Xe = 60, bt = 6, Mn = (r) => {
794
794
  }
795
795
  );
796
796
  }
797
- ), Me = _t(
798
- (r, l) => {
799
- const { children: a, isSelected: o, ...u } = r, s = r.backgroundColor || (o ? "tints.lightCream" : "transparent");
797
+ ), $e = It(
798
+ (n, l) => {
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: s,
805
+ backgroundColor: u,
806
806
  fontSize: "lg !important",
807
807
  fontWeight: "normal",
808
808
  color: "tints.black",
@@ -820,42 +820,42 @@ const Xe = 60, bt = 6, Mn = (r) => {
820
820
  left: [null, null, null, -2]
821
821
  },
822
822
  _hover: {
823
- backgroundColor: s,
823
+ backgroundColor: u,
824
824
  textDecoration: "none",
825
825
  filter: "brightness(0.95)"
826
826
  },
827
- ...u,
827
+ ...s,
828
828
  children: a
829
829
  }
830
830
  );
831
831
  }
832
- ), Hn = ({
833
- title: r,
832
+ ), Zn = ({
833
+ title: n,
834
834
  description: l,
835
835
  imageSrc: a,
836
- imageElement: o,
837
- button: u,
838
- backgroundColor: s = "viridian.wash",
839
- onClick: h,
840
- href: y,
836
+ imageElement: i,
837
+ button: s,
838
+ backgroundColor: u = "viridian.wash",
839
+ onClick: f,
840
+ href: C,
841
841
  linkComponent: p
842
842
  }) => {
843
- const b = p || N, g = pe(y, !!p), k = Fe({
843
+ const m = p || Y, x = ge(C, !!p), T = He({
844
844
  base: !1,
845
845
  tablet: !1,
846
846
  largeTablet: !1,
847
847
  desktop: !0
848
848
  });
849
849
  return /* @__PURE__ */ t.jsxs(
850
- C,
850
+ E,
851
851
  {
852
852
  direction: ["row", null, null, "column"],
853
853
  alignItems: ["center"],
854
854
  borderRadius: "xl",
855
855
  overflow: "hidden",
856
856
  height: ["80px", null, null, "272px"],
857
- backgroundColor: s,
858
- onClick: h,
857
+ backgroundColor: u,
858
+ onClick: f,
859
859
  "data-testid": "spotlight-card",
860
860
  position: "relative",
861
861
  transition: "box-shadow 0.2s ease-in-out",
@@ -869,21 +869,21 @@ const Xe = 60, bt = 6, Mn = (r) => {
869
869
  border: "1px solid",
870
870
  borderColor: "tints.white"
871
871
  },
872
- as: k ? C : b,
873
- ...k ? {} : g,
872
+ as: T ? E : m,
873
+ ...T ? {} : x,
874
874
  children: [
875
875
  /* @__PURE__ */ t.jsx(
876
- m,
876
+ w,
877
877
  {
878
878
  width: ["72px", null, null, "100%"],
879
879
  height: ["100%", null, null, "188px"],
880
880
  sx: {
881
881
  img: {
882
- height: k ? "188px" : "100%"
882
+ height: T ? "188px" : "100%"
883
883
  }
884
884
  },
885
885
  children: a ? /* @__PURE__ */ t.jsx(
886
- Xt,
886
+ nn,
887
887
  {
888
888
  src: a,
889
889
  objectFit: "cover",
@@ -892,17 +892,17 @@ const Xe = 60, bt = 6, Mn = (r) => {
892
892
  "data-testid": "spotlight-card-image"
893
893
  }
894
894
  ) : /* @__PURE__ */ t.jsx(
895
- m,
895
+ w,
896
896
  {
897
897
  height: [80, null, null, 188],
898
898
  overflow: "hidden",
899
- children: o
899
+ children: i
900
900
  }
901
901
  )
902
902
  }
903
903
  ),
904
904
  /* @__PURE__ */ t.jsxs(
905
- C,
905
+ E,
906
906
  {
907
907
  direction: ["column", null, null, "row"],
908
908
  justifyContent: [null, null, null, "space-between"],
@@ -916,33 +916,33 @@ const Xe = 60, bt = 6, Mn = (r) => {
916
916
  ],
917
917
  width: "100%",
918
918
  bottom: [null, null, null, "0"],
919
- backgroundColor: [null, null, null, `${s}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],
923
923
  children: [
924
924
  /* @__PURE__ */ t.jsxs(
925
- C,
925
+ E,
926
926
  { direction: "column", justifyContent: "center", height: "100%", children: [
927
927
  /* @__PURE__ */ t.jsx(
928
- A,
929
- { fontSize: "lg", fontWeight: "medium", color: "tints.black", children: r }
928
+ P,
929
+ { fontSize: "lg", fontWeight: "medium", color: "tints.black", children: n }
930
930
  ),
931
931
  /* @__PURE__ */ t.jsx(
932
- A,
932
+ P,
933
933
  { fontSize: "sm", color: "tints.darkGrey", children: l }
934
934
  )
935
935
  ] }
936
936
  ),
937
- k ? /* @__PURE__ */ t.jsx(m, { children: u }) : null
937
+ T ? /* @__PURE__ */ t.jsx(w, { children: s }) : null
938
938
  ]
939
939
  }
940
940
  )
941
941
  ]
942
942
  }
943
943
  );
944
- }, he = (r) => /* @__PURE__ */ t.jsx(
945
- Jt,
944
+ }, pe = (n) => /* @__PURE__ */ t.jsx(
945
+ rn,
946
946
  {
947
947
  size: "sm",
948
948
  width: ["40px", null, null, "46px"],
@@ -960,13 +960,13 @@ const Xe = 60, bt = 6, Mn = (r) => {
960
960
  backgroundColor: "tints.cream",
961
961
  filter: "brightness(0.95)"
962
962
  },
963
- ...r
963
+ ...n
964
964
  }
965
- ), kt = ({
966
- color: r = Ee.colors.viridian.base,
965
+ ), Pt = ({
966
+ color: n = se.colors.viridian.base,
967
967
  width: l
968
968
  }) => /* @__PURE__ */ t.jsx(
969
- vn,
969
+ Tn,
970
970
  {
971
971
  as: "svg",
972
972
  width: l,
@@ -981,7 +981,7 @@ const Xe = 60, bt = 6, Mn = (r) => {
981
981
  { id: "Everlywell Logo", children: /* @__PURE__ */ t.jsx(
982
982
  "path",
983
983
  {
984
- fill: r,
984
+ fill: n,
985
985
  id: "Everlywell Logo_2",
986
986
  fillRule: "evenodd",
987
987
  clipRule: "evenodd",
@@ -990,104 +990,104 @@ const Xe = 60, bt = 6, Mn = (r) => {
990
990
  ) }
991
991
  )
992
992
  }
993
- ), Fn = ({
994
- desktopTopButtons: r,
993
+ ), Kn = ({
994
+ desktopTopButtons: n,
995
995
  kitRegistrationElement: l,
996
996
  profileElement: a,
997
- cartElement: o,
998
- onSearchClick: u,
999
- onMenuClick: s,
1000
- hasSearch: h = !1,
1001
- logoLink: y = "https://www.everlywell.com",
997
+ cartElement: i,
998
+ onSearchClick: s,
999
+ onMenuClick: u,
1000
+ hasSearch: f = !1,
1001
+ logoLink: C = "https://www.everlywell.com",
1002
1002
  setTopOffset: p,
1003
1003
  linkComponent: j,
1004
1004
  onLogoClick: c
1005
1005
  }) => {
1006
- const E = gn(null), b = St(() => {
1007
- if (E.current) {
1008
- const g = E.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
- return J(() => {
1013
- b();
1014
- }, [b]), /* @__PURE__ */ t.jsx(
1015
- m,
1012
+ return te(() => {
1013
+ m();
1014
+ }, [m]), /* @__PURE__ */ t.jsx(
1015
+ w,
1016
1016
  {
1017
- ref: E,
1017
+ ref: g,
1018
1018
  paddingY: "4",
1019
1019
  paddingX: [4, null, null, 12],
1020
1020
  borderBottom: "1px solid",
1021
1021
  borderColor: "tints.lightCream",
1022
1022
  backgroundColor: "tints.white",
1023
1023
  width: "100%",
1024
- onMouseEnter: b,
1024
+ onMouseEnter: m,
1025
1025
  children: /* @__PURE__ */ t.jsxs(
1026
- C,
1026
+ E,
1027
1027
  { justifyContent: "space-between", alignItems: "center", children: [
1028
1028
  /* @__PURE__ */ t.jsxs(
1029
- C,
1029
+ E,
1030
1030
  { alignItems: "center", gap: "5", children: [
1031
1031
  /* @__PURE__ */ t.jsx(
1032
- m,
1032
+ w,
1033
1033
  {
1034
1034
  "aria-label": "Go to homepage",
1035
1035
  onClick: c,
1036
- as: j || N,
1037
- ...pe(y, !!j),
1038
- children: /* @__PURE__ */ t.jsx(kt, { width: "116px" })
1036
+ as: j || Y,
1037
+ ...ge(C, !!j),
1038
+ children: /* @__PURE__ */ t.jsx(Pt, { width: "116px" })
1039
1039
  }
1040
1040
  ),
1041
1041
  /* @__PURE__ */ t.jsx(
1042
- C,
1043
- { display: ["none", null, null, "flex"], children: r }
1042
+ E,
1043
+ { display: ["none", null, null, "flex"], children: n }
1044
1044
  )
1045
1045
  ] }
1046
1046
  ),
1047
1047
  /* @__PURE__ */ t.jsxs(
1048
- C,
1048
+ E,
1049
1049
  { alignItems: "center", gap: "2", children: [
1050
1050
  /* @__PURE__ */ t.jsx(
1051
- m,
1051
+ w,
1052
1052
  { display: ["none", null, null, "block"], children: l }
1053
1053
  ),
1054
- h ? /* @__PURE__ */ t.jsx(
1055
- he,
1054
+ f ? /* @__PURE__ */ t.jsx(
1055
+ pe,
1056
1056
  {
1057
1057
  "aria-label": "Search",
1058
- icon: /* @__PURE__ */ t.jsx(Q, { as: Tt }),
1059
- onClick: u
1058
+ icon: /* @__PURE__ */ t.jsx(J, { as: Ot }),
1059
+ onClick: s
1060
1060
  }
1061
1061
  ) : null,
1062
- o,
1062
+ i,
1063
1063
  /* @__PURE__ */ t.jsx(
1064
- m,
1064
+ w,
1065
1065
  { display: ["flex", null, null, "none"], children: /* @__PURE__ */ t.jsx(
1066
- he,
1066
+ pe,
1067
1067
  {
1068
- icon: /* @__PURE__ */ t.jsx(Cn, {}),
1068
+ icon: /* @__PURE__ */ t.jsx(On, {}),
1069
1069
  "aria-label": "menu",
1070
1070
  "data-testid": "menu-button",
1071
- onClick: s
1071
+ onClick: u
1072
1072
  }
1073
1073
  ) }
1074
1074
  ),
1075
- /* @__PURE__ */ t.jsx(m, { display: ["none", null, null, "block"], children: a })
1075
+ /* @__PURE__ */ t.jsx(w, { display: ["none", null, null, "block"], children: a })
1076
1076
  ] }
1077
1077
  )
1078
1078
  ] }
1079
1079
  )
1080
1080
  }
1081
1081
  );
1082
- }, Bn = ({
1083
- count: r = 0,
1082
+ }, Xn = ({
1083
+ count: n = 0,
1084
1084
  ...l
1085
1085
  }) => /* @__PURE__ */ t.jsxs(
1086
- m,
1086
+ w,
1087
1087
  { position: "relative", display: "inline-block", children: [
1088
- /* @__PURE__ */ t.jsx(he, { icon: /* @__PURE__ */ t.jsx(yn, {}), ...l }),
1089
- r > 0 && /* @__PURE__ */ t.jsx(
1090
- m,
1088
+ /* @__PURE__ */ t.jsx(pe, { icon: /* @__PURE__ */ t.jsx(An, {}), ...l }),
1089
+ n > 0 && /* @__PURE__ */ t.jsx(
1090
+ w,
1091
1091
  {
1092
1092
  display: "flex",
1093
1093
  minWidth: "20px",
@@ -1104,24 +1104,24 @@ const Xe = 60, bt = 6, Mn = (r) => {
1104
1104
  color: "white",
1105
1105
  fontSize: "xs",
1106
1106
  fontWeight: "normal",
1107
- children: r
1107
+ children: n
1108
1108
  }
1109
1109
  )
1110
1110
  ] }
1111
- ), or = ({
1112
- numDesktopLinks: r = 5,
1111
+ ), vr = ({
1112
+ numDesktopLinks: n = 5,
1113
1113
  showPromoButton: l = !1
1114
1114
  }) => /* @__PURE__ */ t.jsx(
1115
- Qt,
1115
+ ln,
1116
1116
  { spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
1117
- m,
1117
+ w,
1118
1118
  {
1119
1119
  paddingY: 4,
1120
1120
  paddingX: 6,
1121
1121
  borderBottomWidth: "1px",
1122
1122
  borderColor: "tints.lightCream",
1123
1123
  children: /* @__PURE__ */ t.jsxs(
1124
- C,
1124
+ E,
1125
1125
  { justify: "space-between", align: "center", children: [
1126
1126
  /* @__PURE__ */ t.jsx(Ke, { w: "120px", h: "48px" }),
1127
1127
  /* @__PURE__ */ t.jsxs(
@@ -1132,8 +1132,8 @@ const Xe = 60, bt = 6, Mn = (r) => {
1132
1132
  display: ["none", null, null, "flex"],
1133
1133
  "data-testid": "desktop-nav",
1134
1134
  children: [
1135
- Array.from({ length: r }).map(
1136
- (a, o) => /* @__PURE__ */ t.jsx(Ke, { width: "90px", height: "48px" }, o)
1135
+ Array.from({ length: n }).map(
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
  ]
@@ -1143,7 +1143,7 @@ const Xe = 60, bt = 6, Mn = (r) => {
1143
1143
  pt,
1144
1144
  { spacing: 4, ml: "auto", children: [
1145
1145
  /* @__PURE__ */ t.jsx(
1146
- $e,
1146
+ Me,
1147
1147
  {
1148
1148
  width: "120px",
1149
1149
  height: "48px",
@@ -1152,11 +1152,11 @@ const Xe = 60, bt = 6, Mn = (r) => {
1152
1152
  }
1153
1153
  ),
1154
1154
  " ",
1155
- /* @__PURE__ */ t.jsx($e, { width: "48px", height: "48px" }),
1155
+ /* @__PURE__ */ t.jsx(Me, { width: "48px", height: "48px" }),
1156
1156
  " ",
1157
- /* @__PURE__ */ t.jsx($e, { width: "48px", height: "48px" }),
1157
+ /* @__PURE__ */ t.jsx(Me, { width: "48px", height: "48px" }),
1158
1158
  " ",
1159
- /* @__PURE__ */ t.jsx($e, { width: "48px", height: "48px" }),
1159
+ /* @__PURE__ */ t.jsx(Me, { width: "48px", height: "48px" }),
1160
1160
  " "
1161
1161
  ] }
1162
1162
  )
@@ -1164,120 +1164,120 @@ const Xe = 60, bt = 6, Mn = (r) => {
1164
1164
  )
1165
1165
  }
1166
1166
  ) }
1167
- ), Wn = (r, l) => {
1167
+ ), Jn = (n, l) => {
1168
1168
  let a;
1169
- return (...o) => {
1169
+ return (...i) => {
1170
1170
  a && clearTimeout(a), a = setTimeout(() => {
1171
- r(...o);
1171
+ n(...i);
1172
1172
  }, l);
1173
1173
  };
1174
- }, Qe = (r) => r.toLowerCase().replace(/['']/g, "").replace(/[^a-z0-9]/g, ""), zn = (r, l) => {
1175
- r.length < l.length && ([r, l] = [l, r]);
1176
- let a = Array(l.length + 1).fill(0), o = Array(l.length + 1).fill(0);
1177
- for (let u = 0; u <= l.length; u++)
1178
- a[u] = u;
1179
- for (let u = 1; u <= r.length; u++) {
1180
- o[0] = u;
1181
- for (let s = 1; s <= l.length; s++) {
1182
- const h = r[u - 1] === l[s - 1] ? 0 : 1;
1183
- o[s] = Math.min(
1184
- o[s - 1] + 1,
1174
+ }, Qe = (n) => n.toLowerCase().replace(/['']/g, "").replace(/[^a-z0-9]/g, ""), Qn = (n, l) => {
1175
+ n.length < l.length && ([n, l] = [l, n]);
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
- a[s] + 1,
1186
+ a[u] + 1,
1187
1187
  // Deletion
1188
- a[s - 1] + h
1188
+ a[u - 1] + f
1189
1189
  // Substitution
1190
1190
  );
1191
1191
  }
1192
- [a, o] = [o, a];
1192
+ [a, i] = [i, a];
1193
1193
  }
1194
1194
  return a[l.length];
1195
- }, He = (r, l, a = 0.6) => {
1196
- if (r.length <= 3 || l.length <= 3)
1197
- return r.includes(l) || l.includes(r);
1198
- const o = zn(r, l), u = Math.max(r.length, l.length);
1199
- return 1 - o / u >= a;
1200
- }, jt = (r, l) => {
1201
- const a = r.split(/\s+/);
1202
- return l.length <= 4 ? a.some((o) => o.includes(l)) : a.some((o) => {
1203
- if (He(o, l))
1195
+ }, Be = (n, l, a = 0.6) => {
1196
+ if (n.length <= 3 || l.length <= 3)
1197
+ return n.includes(l) || l.includes(n);
1198
+ const i = Qn(n, l), s = Math.max(n.length, l.length);
1199
+ return 1 - i / s >= a;
1200
+ }, jt = (n, l) => {
1201
+ const a = n.split(/\s+/);
1202
+ return l.length <= 4 ? a.some((i) => i.includes(l)) : a.some((i) => {
1203
+ if (Be(i, l))
1204
1204
  return !0;
1205
- if (o.length >= l.length)
1206
- for (let u = 0; u <= o.length - l.length; u++) {
1207
- const s = o.slice(u, u + l.length + 1);
1208
- if (He(l, s))
1205
+ if (i.length >= l.length)
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;
1212
1212
  });
1213
- }, tt = "nav-drawer-hover", nt = "nav-drawer-animation-start", rt = "nav-drawer-animation-end", wt = (r) => {
1213
+ }, tt = "nav-drawer-hover", nt = "nav-drawer-animation-start", rt = "nav-drawer-animation-end", wt = (n) => {
1214
1214
  window.dispatchEvent(
1215
1215
  new CustomEvent(tt, {
1216
- detail: { isHovering: r },
1216
+ detail: { isHovering: n },
1217
1217
  bubbles: !0,
1218
1218
  cancelable: !0
1219
1219
  })
1220
1220
  );
1221
- }, Ct = (r) => {
1221
+ }, Ct = (n) => {
1222
1222
  window.dispatchEvent(
1223
- new CustomEvent(r, {
1223
+ new CustomEvent(n, {
1224
1224
  bubbles: !0,
1225
1225
  cancelable: !0
1226
1226
  })
1227
1227
  );
1228
- }, Nn = (r = !1, l = !1, a = !1) => r || !l ? "column" : a ? "row" : "row-reverse", Vn = lt(qt), Yn = lt(en), qe = ({
1229
- isOpen: r = !1,
1228
+ }, qn = (n = !1, l = !1, a = !1) => n || !l ? "column" : a ? "row" : "row-reverse", er = lt(St), tr = lt(_t), qe = ({
1229
+ isOpen: n = !1,
1230
1230
  onClose: l,
1231
1231
  title: a,
1232
- navDrawerLinks: o,
1233
- bottomNavButtons: u,
1234
- spotlightCards: s,
1235
- bottomButton: h,
1236
- hasBackButton: y = !0,
1232
+ navDrawerLinks: i,
1233
+ bottomNavButtons: s,
1234
+ spotlightCards: u,
1235
+ bottomButton: f,
1236
+ hasBackButton: C = !0,
1237
1237
  onBackClick: p,
1238
1238
  hasOnlySpotlightCards: j = !1,
1239
1239
  hasSearch: c = !1,
1240
- onSearch: E = () => ({}),
1241
- topOffset: b
1240
+ onSearch: g = () => ({}),
1241
+ topOffset: m
1242
1242
  }) => {
1243
- var U, q;
1244
- const g = Fe({
1243
+ var W, U;
1244
+ const x = He({
1245
1245
  base: !1,
1246
1246
  tablet: !1,
1247
1247
  largeTablet: !1,
1248
1248
  desktop: !0
1249
- }), k = g ? "top" : "right", [Z, ne] = G(0), [O, S] = G(!1), re = () => {
1250
- ne((L) => L + 1);
1251
- }, $ = St(
1252
- Wn((L) => {
1253
- E(L), re();
1249
+ }), T = x ? "top" : "right", [G, Q] = K(0), [O, _] = K(!1), X = () => {
1250
+ Q((L) => L + 1);
1251
+ }, A = Lt(
1252
+ Jn((L) => {
1253
+ g(L), X();
1254
1254
  }, 100),
1255
1255
  []
1256
1256
  );
1257
- J(() => {
1258
- r && (S(!0), Ct(nt));
1259
- }, [r]);
1260
- const V = () => {
1261
- r || (S(!1), l()), Ct(rt);
1257
+ te(() => {
1258
+ n && (_(!0), Ct(nt));
1259
+ }, [n]);
1260
+ const $ = () => {
1261
+ n || (_(!1), l()), Ct(rt);
1262
1262
  };
1263
1263
  return /* @__PURE__ */ t.jsx(
1264
- tn,
1264
+ Tt,
1265
1265
  {
1266
- isOpen: O || r,
1266
+ isOpen: O || n,
1267
1267
  onClose: () => {
1268
- O && g || l();
1268
+ O && x || l();
1269
1269
  },
1270
- placement: k,
1270
+ placement: T,
1271
1271
  blockScrollOnMount: !1,
1272
1272
  autoFocus: !1,
1273
- ...g ? {
1273
+ ...x ? {
1274
1274
  styleConfig: {
1275
1275
  baseStyle: {
1276
- ...Ee.components.Drawer.baseStyle,
1276
+ ...se.components.Drawer.baseStyle,
1277
1277
  dialogContainer: {
1278
- ...(q = (U = Ee.components.Drawer) == null ? void 0 : U.baseStyle) == null ? void 0 : q.dialogContainer,
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 ? `${b}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
  }
@@ -1285,17 +1285,17 @@ const Xe = 60, bt = 6, Mn = (r) => {
1285
1285
  }
1286
1286
  } : {},
1287
1287
  children: /* @__PURE__ */ t.jsx(
1288
- On,
1289
- { children: r ? /* @__PURE__ */ t.jsxs(
1288
+ Vn,
1289
+ { children: n ? /* @__PURE__ */ t.jsxs(
1290
1290
  t.Fragment,
1291
1291
  { children: [
1292
1292
  /* @__PURE__ */ t.jsx(
1293
- Yn,
1293
+ tr,
1294
1294
  {
1295
1295
  backgroundColor: "tints.black",
1296
- top: ["0", null, null, `${b}px`],
1297
- opacity: g ? void 0 : "0.4 !important",
1298
- ...g ? {
1296
+ top: ["0", null, null, `${m}px`],
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 },
@@ -1308,17 +1308,17 @@ const Xe = 60, bt = 6, Mn = (r) => {
1308
1308
  }
1309
1309
  ),
1310
1310
  /* @__PURE__ */ t.jsxs(
1311
- Vn,
1311
+ er,
1312
1312
  {
1313
1313
  onClick: (L) => {
1314
- const M = L.target.closest("a");
1315
- M && M.href === window.location.href && l();
1314
+ const B = L.target.closest("a");
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 && (!c || c && (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,34 +1326,34 @@ const Xe = 60, bt = 6, Mn = (r) => {
1326
1326
  overflow: ["auto", null, null, "hidden"],
1327
1327
  maxHeight: "100vh",
1328
1328
  position: "relative",
1329
- top: g ? `${b}px !important` : void 0,
1330
- onAnimationComplete: V,
1329
+ top: x ? `${m}px !important` : void 0,
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
- !c && g ? null : /* @__PURE__ */ t.jsxs(
1340
- nn,
1339
+ !c && x ? null : /* @__PURE__ */ t.jsxs(
1340
+ kt,
1341
1341
  {
1342
1342
  padding: "0",
1343
1343
  flexDirection: c ? "column" : "row",
1344
1344
  gap: c ? "4" : "0",
1345
1345
  children: [
1346
- g ? null : /* @__PURE__ */ t.jsxs(
1347
- C,
1346
+ x ? null : /* @__PURE__ */ t.jsxs(
1347
+ E,
1348
1348
  {
1349
1349
  width: "100%",
1350
1350
  justifyContent: "space-between",
1351
1351
  alignItems: "center",
1352
1352
  children: [
1353
- y ? /* @__PURE__ */ t.jsx(
1354
- he,
1353
+ C ? /* @__PURE__ */ t.jsx(
1354
+ pe,
1355
1355
  {
1356
- icon: /* @__PURE__ */ t.jsx(En, {}),
1356
+ icon: /* @__PURE__ */ t.jsx(Pn, {}),
1357
1357
  onClick: () => {
1358
1358
  p && p();
1359
1359
  },
@@ -1361,7 +1361,7 @@ const Xe = 60, bt = 6, Mn = (r) => {
1361
1361
  }
1362
1362
  ) : null,
1363
1363
  /* @__PURE__ */ t.jsx(
1364
- A,
1364
+ P,
1365
1365
  {
1366
1366
  color: "tints.uiGrey",
1367
1367
  fontSize: ["xl", null, null, "lg"],
@@ -1369,9 +1369,9 @@ const Xe = 60, bt = 6, Mn = (r) => {
1369
1369
  }
1370
1370
  ),
1371
1371
  /* @__PURE__ */ t.jsx(
1372
- he,
1372
+ pe,
1373
1373
  {
1374
- icon: /* @__PURE__ */ t.jsx(Rn, {}),
1374
+ icon: /* @__PURE__ */ t.jsx(At, {}),
1375
1375
  onClick: l,
1376
1376
  "aria-label": "Close"
1377
1377
  }
@@ -1380,13 +1380,13 @@ const Xe = 60, bt = 6, Mn = (r) => {
1380
1380
  }
1381
1381
  ),
1382
1382
  c && /* @__PURE__ */ t.jsxs(
1383
- mn,
1383
+ kn,
1384
1384
  { width: "100%", children: [
1385
1385
  /* @__PURE__ */ t.jsx(
1386
- bn,
1386
+ Dn,
1387
1387
  {
1388
1388
  onChange: (L) => {
1389
- $(L.target.value);
1389
+ A(L.target.value);
1390
1390
  },
1391
1391
  placeholder: "Search",
1392
1392
  autoFocus: !0,
@@ -1395,8 +1395,8 @@ const Xe = 60, bt = 6, Mn = (r) => {
1395
1395
  }
1396
1396
  ),
1397
1397
  /* @__PURE__ */ t.jsx(
1398
- jn,
1399
- { pointerEvents: "none", children: /* @__PURE__ */ t.jsx(wn, { as: Tt, color: "gray.500" }) }
1398
+ In,
1399
+ { pointerEvents: "none", children: /* @__PURE__ */ t.jsx(Ln, { as: Ot, color: "gray.500" }) }
1400
1400
  )
1401
1401
  ] }
1402
1402
  )
@@ -1404,7 +1404,7 @@ const Xe = 60, bt = 6, Mn = (r) => {
1404
1404
  }
1405
1405
  ),
1406
1406
  /* @__PURE__ */ t.jsx(
1407
- rn,
1407
+ Dt,
1408
1408
  {
1409
1409
  paddingX: "0",
1410
1410
  paddingBottom: [6, null, null, 4],
@@ -1412,7 +1412,7 @@ const Xe = 60, bt = 6, Mn = (r) => {
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 },
@@ -1429,17 +1429,17 @@ const Xe = 60, bt = 6, Mn = (r) => {
1429
1429
  } : {},
1430
1430
  style: {
1431
1431
  display: "flex",
1432
- flexDirection: Nn(
1432
+ flexDirection: qn(
1433
1433
  j,
1434
- g,
1434
+ x,
1435
1435
  c
1436
1436
  ),
1437
1437
  gap: "24px",
1438
1438
  justifyContent: "space-between"
1439
1439
  },
1440
1440
  children: [
1441
- s ? /* @__PURE__ */ t.jsx(
1442
- m,
1441
+ u ? /* @__PURE__ */ t.jsx(
1442
+ w,
1443
1443
  {
1444
1444
  gap: [3, null, null, 6],
1445
1445
  display: "flex",
@@ -1448,26 +1448,26 @@ const Xe = 60, bt = 6, Mn = (r) => {
1448
1448
  flexWrap: "wrap",
1449
1449
  flexDirection: ["column", null, null, "row"]
1450
1450
  },
1451
- children: s
1451
+ children: u
1452
1452
  }
1453
1453
  ) : null,
1454
1454
  /* @__PURE__ */ t.jsxs(
1455
- C,
1455
+ E,
1456
1456
  {
1457
1457
  position: [null, null, null, "relative"],
1458
1458
  flexDirection: "column",
1459
1459
  gap: "6",
1460
1460
  width: ["100%", null, null, c ? null : "auto"],
1461
1461
  children: [
1462
- o ? /* @__PURE__ */ t.jsx(m, { children: o }) : null,
1463
- u && !g ? /* @__PURE__ */ t.jsx(m, { children: u }) : null,
1464
- h ? /* @__PURE__ */ t.jsx(
1465
- m,
1462
+ i ? /* @__PURE__ */ t.jsx(w, { children: i }) : null,
1463
+ s && !x ? /* @__PURE__ */ t.jsx(w, { children: s }) : null,
1464
+ f ? /* @__PURE__ */ t.jsx(
1465
+ w,
1466
1466
  {
1467
1467
  width: ["100%"],
1468
1468
  position: [null, null, null, "absolute"],
1469
1469
  bottom: [null, null, null, 0],
1470
- children: h
1470
+ children: f
1471
1471
  }
1472
1472
  ) : null
1473
1473
  ]
@@ -1475,7 +1475,7 @@ const Xe = 60, bt = 6, Mn = (r) => {
1475
1475
  )
1476
1476
  ]
1477
1477
  },
1478
- Z
1478
+ G
1479
1479
  )
1480
1480
  }
1481
1481
  )
@@ -1487,130 +1487,130 @@ const Xe = 60, bt = 6, Mn = (r) => {
1487
1487
  )
1488
1488
  }
1489
1489
  );
1490
- }, Gn = ({
1491
- source: r,
1490
+ }, nr = ({
1491
+ source: n,
1492
1492
  onSearchCallback: l,
1493
1493
  isActive: a
1494
1494
  }) => {
1495
- const [o, u] = G(""), [s, h] = G([]), y = (c, E) => {
1495
+ const [i, s] = K(""), [u, f] = K([]), C = (c, g) => {
1496
1496
  if (!c) return [];
1497
- const g = Qe(c).split(/\s+/);
1498
- return E.filter((k) => {
1499
- const Z = Qe(k.label);
1500
- if (g.some(($) => jt(Z, $))) return !0;
1501
- const O = Z.split(/\s+/), S = g.some(($) => O.some((V) => V.includes($) || He($, V))), re = typeof k.additionalContent == "string" && g.some(($) => {
1502
- const V = Qe(k.additionalContent);
1503
- return jt(V, $) || V.split(/\s+/).some((U) => U.includes($) || He($, U));
1497
+ const x = Qe(c).split(/\s+/);
1498
+ return g.filter((T) => {
1499
+ const G = Qe(T.label);
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
+ const $ = Qe(T.additionalContent);
1503
+ return jt($, A) || $.split(/\s+/).some((W) => W.includes(A) || Be(A, W));
1504
1504
  });
1505
- return S || re;
1506
- }).sort((k, Z) => k.label.localeCompare(Z.label));
1505
+ return _ || X;
1506
+ }).sort((T, G) => T.label.localeCompare(G.label));
1507
1507
  }, p = (c) => {
1508
- if (u(c), !c) {
1509
- h([]);
1508
+ if (s(c), !c) {
1509
+ f([]);
1510
1510
  return;
1511
1511
  }
1512
- const E = y(c, r);
1513
- h(E), l && l(c, E);
1512
+ const g = C(c, n);
1513
+ f(g), l && l(c, g);
1514
1514
  }, j = () => {
1515
- u(""), h([]);
1515
+ s(""), f([]);
1516
1516
  };
1517
- return J(() => {
1518
- a || (u(""), h([]));
1517
+ return te(() => {
1518
+ a || (s(""), f([]));
1519
1519
  }, [a]), {
1520
- query: o,
1521
- results: s,
1520
+ query: i,
1521
+ results: u,
1522
1522
  handleClose: j,
1523
1523
  handleSearch: p
1524
1524
  };
1525
- }, Un = (r) => {
1525
+ }, rr = (n) => {
1526
1526
  const l = /* @__PURE__ */ new Set();
1527
- return r.reduce((a, o) => {
1528
- var s;
1529
- const u = ((s = o.sections) == null ? void 0 : s.reduce((h, y) => {
1530
- const p = y.links.filter((j) => l.has(j.label) || j.isSearchable !== !0 ? !1 : (l.add(j.label), !0));
1531
- return [...h, ...p];
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
+ return [...f, ...p];
1532
1532
  }, [])) ?? [];
1533
- return [...a, ...u];
1533
+ return [...a, ...s];
1534
1534
  }, []);
1535
- }, ar = ({
1536
- categories: r = [],
1535
+ }, mr = ({
1536
+ categories: n = [],
1537
1537
  onCartClick: l,
1538
1538
  mainCategoryLabel: a = "Menu",
1539
- logoLink: o = "https://www.everlywell.com",
1540
- hasSearch: u = !0,
1541
- onSearchClick: s,
1542
- registrationUrl: h,
1543
- profileUrl: y = "https://secure.everlywell.com/login",
1539
+ logoLink: i = "https://www.everlywell.com",
1540
+ hasSearch: s = !0,
1541
+ onSearchClick: u,
1542
+ registrationUrl: f,
1543
+ profileUrl: C = "https://secure.everlywell.com/login",
1544
1544
  mobileBottomButtons: p = [],
1545
1545
  numberOfCartItems: j = 0,
1546
1546
  linkComponent: c,
1547
- onSearchCallback: E,
1548
- onLinkClick: b,
1549
- onCategoryOpen: g,
1550
- onMobileMenuOpen: k,
1551
- onBackToMainMenu: Z,
1552
- onRegisterKitClick: ne,
1547
+ onSearchCallback: g,
1548
+ onLinkClick: m,
1549
+ onCategoryOpen: x,
1550
+ onMobileMenuOpen: T,
1551
+ onBackToMainMenu: G,
1552
+ onRegisterKitClick: Q,
1553
1553
  onProfileClick: O,
1554
- onLogoClick: S,
1555
- shopAllProductsUrl: re,
1556
- onShopAllProductsClick: $
1554
+ onLogoClick: _,
1555
+ shopAllProductsUrl: X,
1556
+ onShopAllProductsClick: A
1557
1557
  }) => {
1558
- var we, ie, Oe;
1559
- const [V, U] = G(!1), [q, L] = G(!1), [_, M] = G(null), [_e, ge] = G(!1), [B, K] = G(!1), [X, Se] = G(0), [Te, xe] = G(!1);
1560
- J(() => {
1561
- const d = () => xe(!0), T = () => xe(!1);
1562
- return window.addEventListener(nt, d), window.addEventListener(rt, T), () => {
1558
+ var Ce, oe, Ae;
1559
+ const [$, W] = K(!1), [U, L] = K(!1), [S, B] = K(null), [Se, xe] = K(!1), [z, q] = K(!1), [ee, _e] = K(0), [Te, ve] = K(!1);
1560
+ te(() => {
1561
+ const d = () => ve(!0), k = () => ve(!1);
1562
+ return window.addEventListener(nt, d), window.addEventListener(rt, k), () => {
1563
1563
  window.removeEventListener(
1564
1564
  nt,
1565
1565
  d
1566
- ), window.removeEventListener(rt, T);
1566
+ ), window.removeEventListener(rt, k);
1567
1567
  };
1568
1568
  }, []);
1569
- const ke = Fe({
1569
+ const ke = He({
1570
1570
  base: !1,
1571
1571
  tablet: !1,
1572
1572
  largeTablet: !1,
1573
1573
  desktop: !0
1574
1574
  }) ?? !1;
1575
- J(() => {
1576
- ee(), M(null);
1575
+ te(() => {
1576
+ ne(), B(null);
1577
1577
  }, [ke]);
1578
1578
  const {
1579
1579
  query: De,
1580
- results: se,
1580
+ results: ue,
1581
1581
  handleSearch: Ie
1582
- } = Gn({
1583
- source: Un(r),
1584
- onSearchCallback: E,
1585
- isActive: q
1586
- }), ve = se.length > 0, me = c || N, Be = pe(re, !!c), be = De && /* @__PURE__ */ t.jsxs(
1587
- C,
1588
- { gap: ve ? "6" : 0, direction: "column", children: [
1589
- ve ? /* @__PURE__ */ t.jsx(A, { color: "tints.uiGrey", children: `${se.length} Results` }) : /* @__PURE__ */ t.jsxs(
1590
- C,
1582
+ } = nr({
1583
+ source: rr(n),
1584
+ onSearchCallback: g,
1585
+ isActive: U
1586
+ }), me = ue.length > 0, be = c || Y, Fe = ge(X, !!c), je = De && /* @__PURE__ */ t.jsxs(
1587
+ E,
1588
+ { gap: me ? "6" : 0, direction: "column", children: [
1589
+ me ? /* @__PURE__ */ t.jsx(P, { color: "tints.uiGrey", children: `${ue.length} Results` }) : /* @__PURE__ */ t.jsxs(
1590
+ E,
1591
1591
  { direction: "column", gap: "6", alignItems: "flex-start", children: [
1592
1592
  /* @__PURE__ */ t.jsx(
1593
- A,
1593
+ P,
1594
1594
  { color: "tints.uiGrey", children: "We didn't find what you were looking for." }
1595
1595
  ),
1596
1596
  /* @__PURE__ */ t.jsx(
1597
1597
  Rt,
1598
1598
  {
1599
- as: me,
1600
- onClick: $,
1599
+ as: be,
1600
+ onClick: A,
1601
1601
  _hover: { textDecoration: "none" },
1602
1602
  width: ["100%", null, null, "auto"],
1603
- ...Be,
1603
+ ...Fe,
1604
1604
  children: "Shop all products"
1605
1605
  }
1606
1606
  )
1607
1607
  ] }
1608
1608
  ),
1609
1609
  /* @__PURE__ */ t.jsx(
1610
- ln,
1611
- { columns: [1, 1, 1, 4], children: se.map(
1612
- (d, T) => /* @__PURE__ */ t.jsx(
1613
- on,
1610
+ on,
1611
+ { columns: [1, 1, 1, 4], children: ue.map(
1612
+ (d, k) => /* @__PURE__ */ t.jsx(
1613
+ an,
1614
1614
  { children: /* @__PURE__ */ t.jsx(
1615
1615
  Je,
1616
1616
  {
@@ -1620,23 +1620,23 @@ const Xe = 60, bt = 6, Mn = (r) => {
1620
1620
  linkComponent: c
1621
1621
  }
1622
1622
  ) },
1623
- `${d.label}-${T}`
1623
+ `${d.label}-${k}`
1624
1624
  )
1625
1625
  ) }
1626
1626
  )
1627
1627
  ] }
1628
- ), ee = () => {
1629
- U(!1), M(null);
1630
- }, Y = (d) => "href" in d, je = (d) => {
1631
- Y(d) ? b == null || b(d.label) : M(d);
1632
- }, ue = (d) => {
1633
- ge(!0), L(!1), M(null), !Y(d) && (d.sections || d.spotlightCards) && M(d);
1628
+ ), ne = () => {
1629
+ W(!1), B(null);
1630
+ }, Z = (d) => "href" in d, we = (d) => {
1631
+ Z(d) ? m == null || m(d.label) : B(d);
1632
+ }, ce = (d) => {
1633
+ xe(!0), L(!1), B(null), !Z(d) && (d.sections || d.spotlightCards) && B(d);
1634
1634
  }, We = () => {
1635
- ge(!1);
1635
+ xe(!1);
1636
1636
  };
1637
- J(() => {
1638
- const d = (T) => {
1639
- K(T.detail.isHovering);
1637
+ te(() => {
1638
+ const d = (k) => {
1639
+ q(k.detail.isHovering);
1640
1640
  };
1641
1641
  return window.addEventListener(
1642
1642
  tt,
@@ -1647,44 +1647,44 @@ const Xe = 60, bt = 6, Mn = (r) => {
1647
1647
  d
1648
1648
  );
1649
1649
  };
1650
- }, []), J(() => {
1651
- !_e && !B && (M(null), L(!1));
1652
- }, [_e, B]), J(() => {
1650
+ }, []), te(() => {
1651
+ !Se && !z && (B(null), L(!1));
1652
+ }, [Se, z]), te(() => {
1653
1653
  let d = window.location.href;
1654
- const T = () => {
1655
- const W = window.location.href;
1656
- W !== d && (d = W, ee(), M(null));
1657
- }, H = setInterval(T, 100);
1658
- return window.addEventListener("popstate", T), () => {
1659
- window.removeEventListener("popstate", T), clearInterval(H);
1654
+ const k = () => {
1655
+ const N = window.location.href;
1656
+ N !== d && (d = N, ne(), B(null));
1657
+ }, H = setInterval(k, 100);
1658
+ return window.addEventListener("popstate", k), () => {
1659
+ window.removeEventListener("popstate", k), clearInterval(H);
1660
1660
  };
1661
1661
  }, []);
1662
- const Le = r == null ? void 0 : r.map(
1663
- (d, T) => /* @__PURE__ */ t.jsx(
1664
- Me,
1662
+ const Le = n == null ? void 0 : n.map(
1663
+ (d, k) => /* @__PURE__ */ t.jsx(
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
- isSelected: (_ == null ? void 0 : _.label) === d.label,
1671
- as: Y(d) && me ? me : N,
1672
- href: Y(d) ? d.href : void 0,
1673
- onClick: Y(d) ? () => b == null ? void 0 : b(d.label) : void 0,
1670
+ isSelected: (S == null ? void 0 : S.label) === d.label,
1671
+ as: Z(d) && be ? be : Y,
1672
+ href: Z(d) ? d.href : void 0,
1673
+ onClick: Z(d) ? () => m == null ? void 0 : m(d.label) : void 0,
1674
1674
  ...d.buttonProps,
1675
1675
  children: d.label
1676
1676
  },
1677
- `${d.label}-${T}`
1677
+ `${d.label}-${k}`
1678
1678
  )
1679
- ), ze = (we = r.filter(
1680
- (d) => !Y(d) && d.isMobileTopLink !== !1
1681
- )) == null ? void 0 : we.map((d, T) => {
1679
+ ), ze = (Ce = n.filter(
1680
+ (d) => !Z(d) && d.isMobileTopLink !== !1
1681
+ )) == null ? void 0 : Ce.map((d, k) => {
1682
1682
  const H = d;
1683
1683
  return /* @__PURE__ */ t.jsx(
1684
- m,
1684
+ w,
1685
1685
  {
1686
1686
  onClick: () => {
1687
- je(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,
@@ -1697,65 +1697,65 @@ const Xe = 60, bt = 6, Mn = (r) => {
1697
1697
  }
1698
1698
  )
1699
1699
  },
1700
- `${H.label}-${T}`
1700
+ `${H.label}-${k}`
1701
1701
  );
1702
1702
  }), Ne = /* @__PURE__ */ t.jsxs(
1703
1703
  t.Fragment,
1704
1704
  { children: [
1705
1705
  /* @__PURE__ */ t.jsx(
1706
- Me,
1706
+ $e,
1707
1707
  {
1708
- as: N,
1709
- href: y,
1708
+ as: Y,
1709
+ href: C,
1710
1710
  width: "100%",
1711
1711
  backgroundColor: "tints.cream",
1712
1712
  onClick: O,
1713
1713
  children: /* @__PURE__ */ t.jsxs(
1714
- C,
1714
+ E,
1715
1715
  { gap: "2", children: [
1716
1716
  "My Everly",
1717
- /* @__PURE__ */ t.jsx(Q, { as: xt, size: 24 })
1717
+ /* @__PURE__ */ t.jsx(J, { as: xt, size: 24 })
1718
1718
  ] }
1719
1719
  )
1720
1720
  },
1721
1721
  "my-everly"
1722
1722
  ),
1723
1723
  /* @__PURE__ */ t.jsx(
1724
- Me,
1724
+ $e,
1725
1725
  {
1726
- as: N,
1726
+ as: Y,
1727
1727
  width: "100%",
1728
- href: h,
1728
+ href: f,
1729
1729
  backgroundColor: "tints.cream",
1730
- onClick: ne,
1730
+ onClick: Q,
1731
1731
  children: /* @__PURE__ */ t.jsxs(
1732
- C,
1732
+ E,
1733
1733
  { gap: "2", children: [
1734
1734
  "Register kit",
1735
- /* @__PURE__ */ t.jsx(Q, { as: _n, size: 24 })
1735
+ /* @__PURE__ */ t.jsx(J, { as: Mn, size: 24 })
1736
1736
  ] }
1737
1737
  )
1738
1738
  },
1739
1739
  "register-kit"
1740
1740
  )
1741
1741
  ] }
1742
- ), ce = /* @__PURE__ */ t.jsxs(
1743
- C,
1742
+ ), de = /* @__PURE__ */ t.jsxs(
1743
+ E,
1744
1744
  { gap: "2", flexDirection: "column", children: [
1745
1745
  p,
1746
1746
  Ne
1747
1747
  ] }
1748
- ), le = _ ? /* @__PURE__ */ t.jsx(
1749
- C,
1750
- { direction: ["column", null, null, "row"], gap: "8", children: (ie = _ == null ? void 0 : _.sections) == null ? void 0 : ie.map((d, T) => {
1748
+ ), le = S ? /* @__PURE__ */ t.jsx(
1749
+ E,
1750
+ { direction: ["column", null, null, "row"], gap: "8", children: (oe = S == null ? void 0 : S.sections) == null ? void 0 : oe.map((d, k) => {
1751
1751
  const H = [];
1752
- for (let W = 0; W < d.links.length; W += 3)
1753
- H.push(d.links.slice(W, W + 3));
1752
+ for (let N = 0; N < d.links.length; N += 3)
1753
+ H.push(d.links.slice(N, N + 3));
1754
1754
  return /* @__PURE__ */ t.jsxs(
1755
- m,
1755
+ w,
1756
1756
  { children: [
1757
1757
  /* @__PURE__ */ t.jsx(
1758
- A,
1758
+ P,
1759
1759
  {
1760
1760
  fontSize: "md",
1761
1761
  color: "tints.uiGrey",
@@ -1764,28 +1764,28 @@ const Xe = 60, bt = 6, Mn = (r) => {
1764
1764
  }
1765
1765
  ),
1766
1766
  /* @__PURE__ */ t.jsx(
1767
- C,
1767
+ E,
1768
1768
  {
1769
1769
  flexDirection: ["column", null, null, "row"],
1770
1770
  gap: [null, null, null, 8],
1771
1771
  children: H == null ? void 0 : H.map(
1772
- (W, Pe) => /* @__PURE__ */ t.jsx(
1773
- C,
1772
+ (N, Pe) => /* @__PURE__ */ t.jsx(
1773
+ E,
1774
1774
  {
1775
1775
  flexDirection: ["column"],
1776
1776
  gap: [null, null, null, 5],
1777
1777
  marginLeft: [null, null, null, -2],
1778
- children: W == null ? void 0 : W.map(
1779
- (te, oe) => /* @__PURE__ */ t.jsx(
1778
+ children: N == null ? void 0 : N.map(
1779
+ (re, ie) => /* @__PURE__ */ t.jsx(
1780
1780
  Je,
1781
1781
  {
1782
- label: te.label,
1783
- href: te.href,
1784
- additionalContent: te.additionalContent,
1782
+ label: re.label,
1783
+ href: re.href,
1784
+ additionalContent: re.additionalContent,
1785
1785
  linkComponent: c,
1786
- onClick: () => b == null ? void 0 : b(te.label)
1786
+ onClick: () => m == null ? void 0 : m(re.label)
1787
1787
  },
1788
- `${te.label}-${oe}`
1788
+ `${re.label}-${ie}`
1789
1789
  )
1790
1790
  )
1791
1791
  },
@@ -1795,14 +1795,14 @@ const Xe = 60, bt = 6, Mn = (r) => {
1795
1795
  }
1796
1796
  )
1797
1797
  ] },
1798
- `${d.title}-${T}`
1798
+ `${d.title}-${k}`
1799
1799
  );
1800
1800
  }) }
1801
- ) : null, Ae = _ != null && _.spotlightCards ? (Oe = _.spotlightCards) == null ? void 0 : Oe.map(
1802
- (d, T) => /* @__PURE__ */ t.jsx(Hn, { ...d }, `${d.title}-${T}`)
1803
- ) : /* @__PURE__ */ t.jsx(m, {});
1801
+ ) : null, Oe = S != null && S.spotlightCards ? (Ae = S.spotlightCards) == null ? void 0 : Ae.map(
1802
+ (d, k) => /* @__PURE__ */ t.jsx(Zn, { ...d }, `${d.title}-${k}`)
1803
+ ) : /* @__PURE__ */ t.jsx(w, {});
1804
1804
  return /* @__PURE__ */ t.jsxs(
1805
- m,
1805
+ w,
1806
1806
  {
1807
1807
  as: "nav",
1808
1808
  "aria-label": "Main navigation",
@@ -1812,25 +1812,25 @@ const Xe = 60, bt = 6, Mn = (r) => {
1812
1812
  zIndex: ["sticky", null, null, Te ? "modal" : "sticky"],
1813
1813
  children: [
1814
1814
  /* @__PURE__ */ t.jsx(
1815
- Fn,
1815
+ Kn,
1816
1816
  {
1817
1817
  desktopTopButtons: Le,
1818
1818
  kitRegistrationElement: /* @__PURE__ */ t.jsx(
1819
- Me,
1819
+ $e,
1820
1820
  {
1821
- as: N,
1822
- href: h,
1823
- onClick: ne,
1821
+ as: Y,
1822
+ href: f,
1823
+ onClick: Q,
1824
1824
  backgroundColor: "tints.cream",
1825
1825
  children: "Register Kit"
1826
1826
  }
1827
1827
  ),
1828
1828
  profileElement: /* @__PURE__ */ t.jsx(
1829
- N,
1830
- { href: y, "aria-label": "login", onClick: O, children: /* @__PURE__ */ t.jsx(he, { icon: /* @__PURE__ */ t.jsx(Q, { as: xt }), "aria-label": "Profile" }) }
1829
+ Y,
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
- Bn,
1833
+ Xn,
1834
1834
  {
1835
1835
  "aria-label": "Cart",
1836
1836
  count: j,
@@ -1838,60 +1838,60 @@ const Xe = 60, bt = 6, Mn = (r) => {
1838
1838
  }
1839
1839
  ),
1840
1840
  onSearchClick: () => {
1841
- L(!q), s == null || s();
1841
+ L(!U), u == null || u();
1842
1842
  },
1843
1843
  onMenuClick: () => {
1844
- U(!0), k == null || k();
1844
+ W(!0), T == null || T();
1845
1845
  },
1846
- hasSearch: u,
1847
- logoLink: o,
1846
+ hasSearch: s,
1847
+ logoLink: i,
1848
1848
  linkComponent: c,
1849
- onLogoClick: S,
1850
- setTopOffset: Se
1849
+ onLogoClick: _,
1850
+ setTopOffset: _e
1851
1851
  }
1852
1852
  ),
1853
1853
  /* @__PURE__ */ t.jsxs(
1854
- m,
1854
+ w,
1855
1855
  { position: "relative", zIndex: "modal", children: [
1856
1856
  /* @__PURE__ */ t.jsx(
1857
1857
  qe,
1858
1858
  {
1859
- isOpen: V,
1860
- onClose: ee,
1859
+ isOpen: $,
1860
+ onClose: ne,
1861
1861
  title: a,
1862
1862
  navDrawerLinks: ze,
1863
- bottomNavButtons: ce,
1863
+ bottomNavButtons: de,
1864
1864
  hasBackButton: !1,
1865
- topOffset: X
1865
+ topOffset: ee
1866
1866
  }
1867
1867
  ),
1868
1868
  /* @__PURE__ */ t.jsx(
1869
1869
  qe,
1870
1870
  {
1871
- isOpen: !!_,
1871
+ isOpen: !!S,
1872
1872
  onClose: () => {
1873
- ee(), M(null);
1873
+ ne(), B(null);
1874
1874
  },
1875
- title: (_ == null ? void 0 : _.label) || "",
1875
+ title: (S == null ? void 0 : S.label) || "",
1876
1876
  navDrawerLinks: le,
1877
- onBackClick: () => M(null),
1878
- spotlightCards: Ae,
1879
- hasOnlySpotlightCards: _ == null ? void 0 : _.hasOnlySpotlightCards,
1880
- bottomButton: _ == null ? void 0 : _.bottomButton,
1881
- topOffset: X
1877
+ onBackClick: () => B(null),
1878
+ spotlightCards: Oe,
1879
+ hasOnlySpotlightCards: S == null ? void 0 : S.hasOnlySpotlightCards,
1880
+ bottomButton: S == null ? void 0 : S.bottomButton,
1881
+ topOffset: ee
1882
1882
  }
1883
1883
  ),
1884
1884
  /* @__PURE__ */ t.jsx(
1885
1885
  qe,
1886
1886
  {
1887
- isOpen: q,
1887
+ isOpen: U,
1888
1888
  onClose: () => L(!1),
1889
1889
  title: "Search",
1890
- navDrawerLinks: be,
1890
+ navDrawerLinks: je,
1891
1891
  onSearch: Ie,
1892
1892
  hasSearch: !0,
1893
1893
  hasBackButton: !1,
1894
- topOffset: X
1894
+ topOffset: ee
1895
1895
  }
1896
1896
  )
1897
1897
  ] }
@@ -1899,167 +1899,168 @@ const Xe = 60, bt = 6, Mn = (r) => {
1899
1899
  ]
1900
1900
  }
1901
1901
  );
1902
- }, yt = ({ links: r, linkComponent: l, onLinkClick: a }) => {
1903
- const o = l || N, u = (s) => {
1904
- a && a(s);
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
- C,
1908
- { direction: "column", gap: 6, children: r.map(
1909
- (s) => /* @__PURE__ */ t.jsx(
1910
- A,
1907
+ E,
1908
+ { direction: "column", gap: 6, children: n.map(
1909
+ (u) => /* @__PURE__ */ t.jsx(
1910
+ P,
1911
1911
  {
1912
- as: o,
1912
+ as: i,
1913
1913
  color: "white",
1914
1914
  size: "lg",
1915
1915
  _hover: { color: "viridian.lighter", textDecoration: "none" },
1916
- onClick: () => u(s.label),
1917
- ...pe(s.href, !!l),
1918
- children: s.label
1916
+ onClick: () => s(u.label),
1917
+ ...ge(u.href, !!l),
1918
+ children: u.label
1919
1919
  },
1920
- s.label
1920
+ u.label
1921
1921
  )
1922
1922
  ) }
1923
1923
  );
1924
- }, Zn = ({ title: r, links: l, isLast: a }) => {
1925
- const o = a ? "transparent" : `${Ee.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
- sn,
1928
- { borderColor: o, 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
- A,
1936
- { color: "viridian.lighter", size: "lg", flex: "1", textAlign: "left", children: r }
1935
+ P,
1936
+ { color: "viridian.lighter", size: "lg", flex: "1", textAlign: "left", children: n }
1937
1937
  ),
1938
1938
  /* @__PURE__ */ t.jsx(
1939
- Q,
1939
+ J,
1940
1940
  {
1941
- as: Sn,
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
  )
1948
1948
  ] }
1949
1949
  ),
1950
1950
  /* @__PURE__ */ t.jsx(
1951
- cn,
1951
+ dn,
1952
1952
  { pb: 4, px: 0, children: l }
1953
1953
  )
1954
1954
  ] }
1955
1955
  ) }
1956
1956
  ) : null;
1957
- }, Kn = ({ title: r, links: l }) => l ? /* @__PURE__ */ t.jsxs(
1958
- m,
1957
+ }, or = ({ title: n, links: l }) => l ? /* @__PURE__ */ t.jsxs(
1958
+ w,
1959
1959
  { children: [
1960
1960
  /* @__PURE__ */ t.jsx(
1961
- A,
1962
- { color: "viridian.lighter", mb: 6, fontSize: "lg", children: r }
1961
+ P,
1962
+ { color: "viridian.lighter", mb: 6, fontSize: "lg", children: n }
1963
1963
  ),
1964
1964
  l
1965
1965
  ] }
1966
- ) : null, Xn = ({
1967
- sections: r,
1966
+ ) : null, ir = ({
1967
+ sections: n,
1968
1968
  linkComponent: l,
1969
1969
  onLinkClick: a
1970
- }) => Fe({
1970
+ }) => He({
1971
1971
  base: !1,
1972
1972
  tablet: !1,
1973
1973
  largeTablet: !0,
1974
1974
  desktop: !0
1975
1975
  }) ? /* @__PURE__ */ t.jsx(
1976
- C,
1976
+ E,
1977
1977
  {
1978
1978
  justify: "space-between",
1979
1979
  align: "flex-start",
1980
1980
  children: /* @__PURE__ */ t.jsx(
1981
- C,
1982
- { gap: 120, children: r.map(
1983
- ({ title: u, links: s }) => /* @__PURE__ */ t.jsx(
1984
- Kn,
1981
+ E,
1982
+ { gap: 120, children: n.map(
1983
+ ({ title: s, links: u }) => /* @__PURE__ */ t.jsx(
1984
+ or,
1985
1985
  {
1986
- title: u,
1986
+ title: s,
1987
1987
  links: /* @__PURE__ */ t.jsx(
1988
1988
  yt,
1989
1989
  {
1990
- links: s,
1990
+ links: u,
1991
1991
  linkComponent: l,
1992
1992
  onLinkClick: a
1993
1993
  }
1994
1994
  )
1995
1995
  },
1996
- u
1996
+ s
1997
1997
  )
1998
1998
  ) }
1999
1999
  )
2000
2000
  }
2001
2001
  ) : /* @__PURE__ */ t.jsx(
2002
- an,
2002
+ sn,
2003
2003
  {
2004
2004
  allowMultiple: !0,
2005
2005
  defaultIndex: [0],
2006
2006
  width: "100%",
2007
2007
  display: "flex",
2008
2008
  flexDirection: "column",
2009
- children: r.map(
2010
- ({ title: u, links: s }, h) => /* @__PURE__ */ t.jsx(
2011
- Zn,
2009
+ children: n.map(
2010
+ ({ title: s, links: u }, f) => /* @__PURE__ */ t.jsx(
2011
+ lr,
2012
2012
  {
2013
- title: u,
2013
+ title: s,
2014
2014
  links: /* @__PURE__ */ t.jsx(
2015
2015
  yt,
2016
2016
  {
2017
- links: s,
2017
+ links: u,
2018
2018
  linkComponent: l,
2019
2019
  onLinkClick: a
2020
2020
  }
2021
2021
  ),
2022
- isLast: h === r.length - 1
2022
+ isLast: f === n.length - 1
2023
2023
  },
2024
- u
2024
+ s
2025
2025
  )
2026
2026
  )
2027
2027
  }
2028
2028
  ), Et = {
2029
- instagram: kn,
2030
- linkedin: Dn,
2031
- facebook: In,
2032
- tiktok: Ln,
2033
- x: An
2034
- }, Jn = ({
2035
- socialLinks: r,
2029
+ instagram: Hn,
2030
+ linkedin: Fn,
2031
+ facebook: Wn,
2032
+ tiktok: zn,
2033
+ x: Nn
2034
+ }, ar = ({
2035
+ socialLinks: n,
2036
2036
  onEmailSubmit: l,
2037
2037
  socialMediaLabel: a,
2038
- newsletterLabel: o,
2039
- onLinkClick: u
2038
+ newsletterLabel: i,
2039
+ onLinkClick: s,
2040
+ showNewsletter: u = !0
2040
2041
  }) => {
2041
- const [s, h] = Re.useState(""), y = () => {
2042
- s && l && (l(s), h(""));
2043
- }, p = (c) => {
2044
- c.key === "Enter" && y();
2045
- }, j = (c) => {
2046
- u && u(c);
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
- m,
2050
+ w,
2050
2051
  { width: ["100%", null, null, "440px"], children: [
2051
- /* @__PURE__ */ t.jsxs(
2052
- m,
2052
+ u && /* @__PURE__ */ t.jsxs(
2053
+ w,
2053
2054
  { mb: [8, 10], children: [
2054
2055
  /* @__PURE__ */ t.jsx(
2055
- A,
2056
- { color: "viridian.lighter", mb: 6, size: "lg", children: o }
2056
+ P,
2057
+ { color: "viridian.lighter", mb: 6, size: "lg", children: i }
2057
2058
  ),
2058
2059
  /* @__PURE__ */ t.jsxs(
2059
- dn,
2060
+ fn,
2060
2061
  { children: [
2061
2062
  /* @__PURE__ */ t.jsx(
2062
- fn,
2063
+ hn,
2063
2064
  {
2064
2065
  placeholder: "Enter your email",
2065
2066
  bg: "transparent",
@@ -2070,23 +2071,23 @@ const Xe = 60, bt = 6, Mn = (r) => {
2070
2071
  opacity: 0.66,
2071
2072
  height: "52px",
2072
2073
  pr: "48px",
2073
- value: s,
2074
- onChange: (c) => h(c.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(
2079
- hn,
2080
+ pn,
2080
2081
  { h: "52px", pr: 4, children: /* @__PURE__ */ t.jsx(
2081
- Q,
2082
+ J,
2082
2083
  {
2083
- as: Tn,
2084
+ as: Bn,
2084
2085
  color: "viridian.lighter",
2085
2086
  width: "24px",
2086
2087
  height: "24px",
2087
2088
  opacity: 0.66,
2088
2089
  cursor: "pointer",
2089
- onClick: y,
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, Mn = (r) => {
2098
2099
  ] }
2099
2100
  ),
2100
2101
  /* @__PURE__ */ t.jsxs(
2101
- m,
2102
+ w,
2102
2103
  { children: [
2103
2104
  /* @__PURE__ */ t.jsx(
2104
- A,
2105
+ P,
2105
2106
  { color: "viridian.lighter", marginBottom: 4, size: "lg", children: a }
2106
2107
  ),
2107
2108
  /* @__PURE__ */ t.jsx(
2108
- C,
2109
- { gap: 3, children: r == null ? void 0 : r.map(
2110
- (c) => /* @__PURE__ */ t.jsx(
2111
- N,
2109
+ E,
2110
+ { gap: 3, children: n == null ? void 0 : n.map(
2111
+ (g) => /* @__PURE__ */ t.jsx(
2112
+ Y,
2112
2113
  {
2113
- href: c.href,
2114
+ href: g.href,
2114
2115
  target: "_blank",
2115
2116
  rel: "noopener noreferrer",
2116
- "aria-label": c.name,
2117
- onClick: () => j(c.name),
2118
- children: Et[c.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
2119
- Q,
2117
+ "aria-label": g.name,
2118
+ onClick: () => c(g.name),
2119
+ children: Et[g.name.toLowerCase()] && /* @__PURE__ */ t.jsx(
2120
+ J,
2120
2121
  {
2121
- as: Et[c.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
- c.name
2129
+ g.name
2129
2130
  )
2130
2131
  ) }
2131
2132
  )
@@ -2133,30 +2134,30 @@ const Xe = 60, bt = 6, Mn = (r) => {
2133
2134
  )
2134
2135
  ] }
2135
2136
  );
2136
- }, Qn = ({
2137
- links: r,
2137
+ }, sr = ({
2138
+ links: n,
2138
2139
  linkComponent: l,
2139
2140
  onLinkClick: a
2140
2141
  }) => {
2141
- const o = l || N, u = (h) => {
2142
- a && a(h);
2143
- }, s = r == null ? void 0 : r.map(
2144
- (h) => /* @__PURE__ */ t.jsx(
2145
- A,
2142
+ const i = l || Y, s = (f) => {
2143
+ a && a(f);
2144
+ }, u = n == null ? void 0 : n.map(
2145
+ (f) => /* @__PURE__ */ t.jsx(
2146
+ P,
2146
2147
  {
2147
- as: o,
2148
+ as: i,
2148
2149
  color: "viridian.lighter",
2149
2150
  size: "sm",
2150
2151
  _hover: { color: "white", textDecoration: "none" },
2151
- onClick: () => u(h.label),
2152
- ...pe(h.href, !!l),
2153
- children: h.label
2152
+ onClick: () => s(f.label),
2153
+ ...ge(f.href, !!l),
2154
+ children: f.label
2154
2155
  },
2155
- h.label
2156
+ f.label
2156
2157
  )
2157
2158
  );
2158
2159
  return /* @__PURE__ */ t.jsxs(
2159
- C,
2160
+ E,
2160
2161
  {
2161
2162
  direction: ["column", "column", "row"],
2162
2163
  justify: "space-between",
@@ -2164,17 +2165,17 @@ const Xe = 60, bt = 6, Mn = (r) => {
2164
2165
  gap: [6, 6, 0],
2165
2166
  children: [
2166
2167
  /* @__PURE__ */ t.jsx(
2167
- C,
2168
+ E,
2168
2169
  {
2169
2170
  direction: "row",
2170
2171
  flexWrap: "wrap",
2171
2172
  gap: [4, 6, 10],
2172
2173
  width: ["100%", "auto"],
2173
- children: s
2174
+ children: u
2174
2175
  }
2175
2176
  ),
2176
2177
  /* @__PURE__ */ t.jsxs(
2177
- A,
2178
+ P,
2178
2179
  { color: "viridian.lighter", fontSize: "sm", children: [
2179
2180
  "© Everlywell ",
2180
2181
  (/* @__PURE__ */ new Date()).getFullYear()
@@ -2183,32 +2184,33 @@ const Xe = 60, bt = 6, Mn = (r) => {
2183
2184
  ]
2184
2185
  }
2185
2186
  );
2186
- }, sr = Re.forwardRef(({
2187
- navigationSections: r = [],
2187
+ }, br = Re.forwardRef(({
2188
+ navigationSections: n = [],
2188
2189
  disclaimer: l,
2189
2190
  newsletterLabel: a,
2190
- socialMediaLabel: o,
2191
- socialLinks: u,
2192
- complianceLinks: s,
2193
- linkComponent: h,
2194
- onEmailSubmit: y,
2191
+ socialMediaLabel: i,
2192
+ socialLinks: s,
2193
+ complianceLinks: u,
2194
+ linkComponent: f,
2195
+ onEmailSubmit: C,
2195
2196
  additionalContent: p,
2196
2197
  onLinkClick: j,
2197
- onSocialMediaClick: c
2198
- }, E) => /* @__PURE__ */ t.jsx(
2199
- m,
2200
- { as: "footer", bg: "viridian.dark", py: [6, 8], px: [4, 6], ref: E, children: /* @__PURE__ */ t.jsxs(
2201
- pn,
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(
2203
+ gn,
2202
2204
  { size: "fluid", children: [
2203
2205
  /* @__PURE__ */ t.jsxs(
2204
- C,
2206
+ E,
2205
2207
  { direction: "column", gap: [8, 12], children: [
2206
2208
  /* @__PURE__ */ t.jsx(
2207
- m,
2208
- { children: /* @__PURE__ */ t.jsx(kt, { width: ["150px", "202px"], color: "white" }) }
2209
+ w,
2210
+ { children: /* @__PURE__ */ t.jsx(Pt, { width: ["150px", "202px"], color: "white" }) }
2209
2211
  ),
2210
2212
  /* @__PURE__ */ t.jsxs(
2211
- C,
2213
+ E,
2212
2214
  {
2213
2215
  direction: ["column", null, null, "row"],
2214
2216
  justify: "space-between",
@@ -2216,28 +2218,29 @@ const Xe = 60, bt = 6, Mn = (r) => {
2216
2218
  gap: [8, 8, 8, 0],
2217
2219
  children: [
2218
2220
  /* @__PURE__ */ t.jsx(
2219
- Xn,
2221
+ ir,
2220
2222
  {
2221
- sections: r,
2222
- linkComponent: h,
2223
+ sections: n,
2224
+ linkComponent: f,
2223
2225
  onLinkClick: j
2224
2226
  }
2225
2227
  ),
2226
2228
  /* @__PURE__ */ t.jsx(
2227
- Jn,
2229
+ ar,
2228
2230
  {
2229
- socialLinks: u,
2231
+ socialLinks: s,
2230
2232
  newsletterLabel: a,
2231
- socialMediaLabel: o,
2232
- onEmailSubmit: y,
2233
- onLinkClick: c
2233
+ socialMediaLabel: i,
2234
+ onEmailSubmit: C,
2235
+ onLinkClick: c,
2236
+ showNewsletter: g
2234
2237
  }
2235
2238
  )
2236
2239
  ]
2237
2240
  }
2238
2241
  ),
2239
2242
  /* @__PURE__ */ t.jsxs(
2240
- C,
2243
+ E,
2241
2244
  {
2242
2245
  direction: ["column", "column", "row"],
2243
2246
  justify: "space-between",
@@ -2246,7 +2249,7 @@ const Xe = 60, bt = 6, Mn = (r) => {
2246
2249
  gap: [6, 6, 0],
2247
2250
  children: [
2248
2251
  l && /* @__PURE__ */ t.jsx(
2249
- A,
2252
+ P,
2250
2253
  {
2251
2254
  color: "viridian.lighter",
2252
2255
  fontSize: "sm",
@@ -2264,37 +2267,149 @@ const Xe = 60, bt = 6, Mn = (r) => {
2264
2267
  ] }
2265
2268
  ),
2266
2269
  /* @__PURE__ */ t.jsx(
2267
- m,
2270
+ w,
2268
2271
  {
2269
2272
  borderTop: "1px solid",
2270
- borderColor: `${Ee.colors.viridian.lighter}20`,
2273
+ borderColor: `${se.colors.viridian.lighter}20`,
2271
2274
  marginTop: "10",
2272
2275
  marginBottom: "8"
2273
2276
  }
2274
2277
  ),
2275
2278
  /* @__PURE__ */ t.jsx(
2276
- Qn,
2279
+ sr,
2277
2280
  {
2278
2281
  disclaimer: l,
2279
- links: s,
2280
- linkComponent: h,
2282
+ links: u,
2283
+ linkComponent: f,
2281
2284
  onLinkClick: j
2282
2285
  }
2283
2286
  )
2284
2287
  ] }
2285
2288
  ) }
2286
- ));
2289
+ )), ur = (n) => n ? {
2290
+ Container: Tt,
2291
+ Overlay: _t,
2292
+ Content: St,
2293
+ Header: kt,
2294
+ Body: Dt,
2295
+ Footer: xn,
2296
+ CloseButton: vn
2297
+ } : {
2298
+ Container: mn,
2299
+ Overlay: bn,
2300
+ Content: jn,
2301
+ Header: wn,
2302
+ Body: Cn,
2303
+ Footer: yn,
2304
+ CloseButton: En
2305
+ }, jr = ({
2306
+ isOpen: n,
2307
+ onClose: l,
2308
+ children: a,
2309
+ header: i,
2310
+ footer: s,
2311
+ headerProps: u,
2312
+ bodyProps: f,
2313
+ footerProps: C,
2314
+ contentProps: p,
2315
+ ...j
2316
+ }) => {
2317
+ var X, A, $, W, U;
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, {
2319
+ Container: m,
2320
+ Overlay: x,
2321
+ Content: T,
2322
+ Header: G,
2323
+ Body: Q,
2324
+ Footer: O,
2325
+ CloseButton: _
2326
+ } = ur(c);
2327
+ return /* @__PURE__ */ t.jsxs(
2328
+ m,
2329
+ {
2330
+ ...j,
2331
+ isOpen: n,
2332
+ onClose: l,
2333
+ size: "xl",
2334
+ ...c ? { placement: "bottom" } : {},
2335
+ children: [
2336
+ /* @__PURE__ */ t.jsx(x, { backdropFilter: "auto", backgroundColor: g }),
2337
+ /* @__PURE__ */ t.jsxs(
2338
+ T,
2339
+ {
2340
+ backgroundColor: "tints.white",
2341
+ borderRadius: c ? "20px 20px 0 0" : "20px",
2342
+ overflowY: "auto",
2343
+ gap: 0,
2344
+ ...i && c && { paddingTop: 0 },
2345
+ ...p,
2346
+ children: [
2347
+ /* @__PURE__ */ t.jsxs(
2348
+ G,
2349
+ {
2350
+ display: "flex",
2351
+ width: "100%",
2352
+ justifyContent: "space-between",
2353
+ alignItems: "center",
2354
+ fontSize: "lg",
2355
+ color: "tints.black",
2356
+ fontWeight: "normal",
2357
+ position: "sticky",
2358
+ top: 0,
2359
+ zIndex: "modal",
2360
+ backgroundColor: "tints.white",
2361
+ paddingInline: 4,
2362
+ ...c ? { paddingBlock: 4 } : { paddingTop: 6, paddingBlockEnd: 2 },
2363
+ ...u,
2364
+ children: [
2365
+ i,
2366
+ /* @__PURE__ */ t.jsx(
2367
+ _,
2368
+ {
2369
+ position: "static",
2370
+ width: 32,
2371
+ height: 32,
2372
+ backgroundColor: "tints.cream",
2373
+ sx: {
2374
+ ".chakra-icon": {
2375
+ fontSize: "1rem"
2376
+ }
2377
+ },
2378
+ children: /* @__PURE__ */ t.jsx(J, { as: At, weight: "light" })
2379
+ }
2380
+ )
2381
+ ]
2382
+ }
2383
+ ),
2384
+ /* @__PURE__ */ t.jsx(
2385
+ Q,
2386
+ {
2387
+ color: "tints.darkGrey",
2388
+ paddingInline: 4,
2389
+ ...f,
2390
+ children: a
2391
+ }
2392
+ ),
2393
+ /* @__PURE__ */ t.jsx(O, { paddingInline: 4, ...C, children: s })
2394
+ ]
2395
+ }
2396
+ )
2397
+ ]
2398
+ }
2399
+ );
2400
+ };
2287
2401
  export {
2288
- Bn as BasketButton,
2289
- ir as CategoryLabel,
2290
- sr as Footer,
2291
- Me as NavButton,
2292
- or as NavSkeleton,
2402
+ Xn as BasketButton,
2403
+ xr as CategoryLabel,
2404
+ jr as DrawerModal,
2405
+ br as Footer,
2406
+ $e as NavButton,
2407
+ vr as NavSkeleton,
2293
2408
  qe as NavbarDrawer,
2294
2409
  Je as NavbarDrawerLink,
2295
- ar as NavigationBar,
2296
- Hn as SpotlightCard,
2297
- lr as Stepper,
2298
- he as TopNavIconButton,
2299
- Fn as TopNavigation
2410
+ mr as NavigationBar,
2411
+ Zn as SpotlightCard,
2412
+ gr as Stepper,
2413
+ pe as TopNavIconButton,
2414
+ Kn as TopNavigation
2300
2415
  };