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