@everlywell/consumer-ui 1.41.0 → 1.41.2

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