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