@everlywell/consumer-ui 1.33.0 → 1.35.0

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