@everlywell/consumer-ui 1.37.6 → 1.38.0

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