@everlywell/consumer-ui 1.37.0 → 1.37.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.mjs CHANGED
@@ -1,9 +1,9 @@
1
- import { useSteps as Mt, Box as E, Stepper as Bt, Icon as ue, Flex as k, Text as K, Link as z, Button as xt, Image as Wt, IconButton as Vt, theme as Nt, VStack as Yt, Skeleton as Ne, HStack as ut, SkeletonCircle as De, DrawerContent as zt, DrawerOverlay as Gt, Drawer as Ut, DrawerHeader as Zt, DrawerBody as Kt, Grid as Xt, GridItem as Jt } from "@everlywell/ui-kit";
2
- import Ke, { useEffect as Z, forwardRef as bt, useRef as qt, useCallback as mt, useState as W } from "react";
3
- import { Text as Qt, useBreakpointValue as Xe, Box as er, InputGroup as tr, Input as rr, InputRightElement as nr, Icon as lr } from "@chakra-ui/react";
4
- import { CaretRight as ct, MagnifyingGlass as jt, List as ar, Basket as ir, CaretLeft as or, X as sr, User as dt, QrCode as ur } from "@phosphor-icons/react";
5
- import { motion as Je, AnimatePresence as cr } from "framer-motion";
6
- var Ue = { exports: {} }, Ce = {};
1
+ import { useSteps as Mt, Box as E, Stepper as Bt, Icon as ue, Flex as k, Text as K, Link as Y, Button as xt, Image as Wt, IconButton as Vt, theme as Ue, VStack as Nt, Skeleton as Ne, HStack as ct, SkeletonCircle as De, DrawerContent as Yt, DrawerOverlay as zt, Drawer as Gt, DrawerHeader as Ut, DrawerBody as Zt, Grid as Kt, GridItem as Xt } from "@everlywell/ui-kit";
2
+ import Xe, { useEffect as Z, forwardRef as bt, useRef as Jt, useCallback as mt, useState as W } from "react";
3
+ import { Text as qt, useBreakpointValue as Je, Box as Qt, InputGroup as en, Input as tn, InputRightElement as nn, Icon as rn } from "@chakra-ui/react";
4
+ import { CaretRight as dt, MagnifyingGlass as yt, List as ln, Basket as an, CaretLeft as on, X as sn, User as ft, QrCode as un } from "@phosphor-icons/react";
5
+ import { motion as qe, AnimatePresence as cn } from "framer-motion";
6
+ var Ze = { exports: {} }, Ce = {};
7
7
  /**
8
8
  * @license React
9
9
  * react-jsx-runtime.production.min.js
@@ -13,21 +13,21 @@ var Ue = { exports: {} }, Ce = {};
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 ft;
17
- function dr() {
18
- if (ft) return Ce;
19
- ft = 1;
20
- var l = Ke, o = Symbol.for("react.element"), p = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, j = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
21
- function b(R, c, y) {
16
+ var pt;
17
+ function dn() {
18
+ if (pt) return Ce;
19
+ pt = 1;
20
+ var l = Xe, i = Symbol.for("react.element"), p = Symbol.for("react.fragment"), d = Object.prototype.hasOwnProperty, y = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, v = { key: !0, ref: !0, __self: !0, __source: !0 };
21
+ function b(R, c, j) {
22
22
  var s, C = {}, g = null, u = null;
23
- y !== void 0 && (g = "" + y), c.key !== void 0 && (g = "" + c.key), c.ref !== void 0 && (u = c.ref);
23
+ j !== void 0 && (g = "" + j), c.key !== void 0 && (g = "" + c.key), c.ref !== void 0 && (u = c.ref);
24
24
  for (s in c) d.call(c, s) && !v.hasOwnProperty(s) && (C[s] = c[s]);
25
25
  if (R && R.defaultProps) for (s in c = R.defaultProps, c) C[s] === void 0 && (C[s] = c[s]);
26
- return { $$typeof: o, type: R, key: g, ref: u, props: C, _owner: j.current };
26
+ return { $$typeof: i, type: R, key: g, ref: u, props: C, _owner: y.current };
27
27
  }
28
28
  return Ce.Fragment = p, Ce.jsx = b, Ce.jsxs = b, Ce;
29
29
  }
30
- var ye = {};
30
+ var je = {};
31
31
  /**
32
32
  * @license React
33
33
  * react-jsx-runtime.development.js
@@ -37,54 +37,54 @@ var ye = {};
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 pt;
41
- function fr() {
42
- return pt || (pt = 1, process.env.NODE_ENV !== "production" && function() {
43
- var l = Ke, o = Symbol.for("react.element"), p = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), R = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), D = Symbol.iterator, q = "@@iterator";
44
- function Q(e) {
40
+ var ht;
41
+ function fn() {
42
+ return ht || (ht = 1, process.env.NODE_ENV !== "production" && function() {
43
+ var l = Xe, i = Symbol.for("react.element"), p = Symbol.for("react.portal"), d = Symbol.for("react.fragment"), y = Symbol.for("react.strict_mode"), v = Symbol.for("react.profiler"), b = Symbol.for("react.provider"), R = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), j = Symbol.for("react.suspense"), s = Symbol.for("react.suspense_list"), C = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), D = Symbol.iterator, Q = "@@iterator";
44
+ function ee(e) {
45
45
  if (e === null || typeof e != "object")
46
46
  return null;
47
- var r = D && e[D] || e[q];
48
- return typeof r == "function" ? r : null;
47
+ var n = D && e[D] || e[Q];
48
+ return typeof n == "function" ? n : null;
49
49
  }
50
- var $ = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
50
+ var F = l.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
51
51
  function _(e) {
52
52
  {
53
- for (var r = arguments.length, n = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
54
- n[i - 1] = arguments[i];
55
- de("error", e, n);
53
+ for (var n = arguments.length, r = new Array(n > 1 ? n - 1 : 0), o = 1; o < n; o++)
54
+ r[o - 1] = arguments[o];
55
+ de("error", e, r);
56
56
  }
57
57
  }
58
- function de(e, r, n) {
58
+ function de(e, n, r) {
59
59
  {
60
- var i = $.ReactDebugCurrentFrame, x = i.getStackAddendum();
61
- x !== "" && (r += "%s", n = n.concat([x]));
62
- var m = n.map(function(h) {
60
+ var o = F.ReactDebugCurrentFrame, x = o.getStackAddendum();
61
+ x !== "" && (n += "%s", r = r.concat([x]));
62
+ var m = r.map(function(h) {
63
63
  return String(h);
64
64
  });
65
- m.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, m);
65
+ m.unshift("Warning: " + n), Function.prototype.apply.call(console[e], console, m);
66
66
  }
67
67
  }
68
- var fe = !1, pe = !1, A = !1, ee = !1, V = !1, w;
68
+ var fe = !1, pe = !1, X = !1, z = !1, L = !1, w;
69
69
  w = Symbol.for("react.module.reference");
70
- function M(e) {
71
- return !!(typeof e == "string" || typeof e == "function" || e === d || e === v || V || e === j || e === y || e === s || ee || e === u || fe || pe || A || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === C || e.$$typeof === b || e.$$typeof === R || e.$$typeof === c || // This needs to include all possible module reference object
70
+ function H(e) {
71
+ return !!(typeof e == "string" || typeof e == "function" || e === d || e === v || L || e === y || e === j || e === s || z || e === u || fe || pe || X || typeof e == "object" && e !== null && (e.$$typeof === g || e.$$typeof === C || e.$$typeof === b || e.$$typeof === R || e.$$typeof === c || // This needs to include all possible module reference object
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 === w || e.getModuleId !== void 0));
76
76
  }
77
- function we(e, r, n) {
78
- var i = e.displayName;
79
- if (i)
80
- return i;
81
- var x = r.displayName || r.name || "";
82
- return x !== "" ? n + "(" + x + ")" : n;
77
+ function we(e, n, r) {
78
+ var o = e.displayName;
79
+ if (o)
80
+ return o;
81
+ var x = n.displayName || n.name || "";
82
+ return x !== "" ? r + "(" + x + ")" : r;
83
83
  }
84
84
  function he(e) {
85
85
  return e.displayName || "Context";
86
86
  }
87
- function H(e) {
87
+ function A(e) {
88
88
  if (e == null)
89
89
  return null;
90
90
  if (typeof e.tag == "number" && _("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
@@ -98,9 +98,9 @@ function fr() {
98
98
  return "Portal";
99
99
  case v:
100
100
  return "Profiler";
101
- case j:
102
- return "StrictMode";
103
101
  case y:
102
+ return "StrictMode";
103
+ case j:
104
104
  return "Suspense";
105
105
  case s:
106
106
  return "SuspenseList";
@@ -108,20 +108,20 @@ function fr() {
108
108
  if (typeof e == "object")
109
109
  switch (e.$$typeof) {
110
110
  case R:
111
- var r = e;
112
- return he(r) + ".Consumer";
113
- case b:
114
111
  var n = e;
115
- return he(n._context) + ".Provider";
112
+ return he(n) + ".Consumer";
113
+ case b:
114
+ var r = e;
115
+ return he(r._context) + ".Provider";
116
116
  case c:
117
117
  return we(e, e.render, "ForwardRef");
118
118
  case C:
119
- var i = e.displayName || null;
120
- return i !== null ? i : H(e.type) || "Memo";
119
+ var o = e.displayName || null;
120
+ return o !== null ? o : A(e.type) || "Memo";
121
121
  case g: {
122
122
  var x = e, m = x._payload, h = x._init;
123
123
  try {
124
- return H(h(m));
124
+ return A(h(m));
125
125
  } catch {
126
126
  return null;
127
127
  }
@@ -129,14 +129,14 @@ function fr() {
129
129
  }
130
130
  return null;
131
131
  }
132
- var N = Object.assign, Y = 0, Ee, Re, _e, te, Se, ge, re;
132
+ var V = Object.assign, N = 0, Ee, Re, _e, te, Se, ge, ne;
133
133
  function Te() {
134
134
  }
135
135
  Te.__reactDisabledLog = !0;
136
- function Pe() {
136
+ function Oe() {
137
137
  {
138
- if (Y === 0) {
139
- Ee = console.log, Re = console.info, _e = console.warn, te = console.error, Se = console.group, ge = console.groupCollapsed, re = console.groupEnd;
138
+ if (N === 0) {
139
+ Ee = console.log, Re = console.info, _e = console.warn, te = console.error, Se = console.group, ge = console.groupCollapsed, ne = console.groupEnd;
140
140
  var e = {
141
141
  configurable: !0,
142
142
  enumerable: !0,
@@ -153,53 +153,53 @@ function fr() {
153
153
  groupEnd: e
154
154
  });
155
155
  }
156
- Y++;
156
+ N++;
157
157
  }
158
158
  }
159
- function ne() {
159
+ function re() {
160
160
  {
161
- if (Y--, Y === 0) {
161
+ if (N--, N === 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: N({}, e, {
168
+ log: V({}, e, {
169
169
  value: Ee
170
170
  }),
171
- info: N({}, e, {
171
+ info: V({}, e, {
172
172
  value: Re
173
173
  }),
174
- warn: N({}, e, {
174
+ warn: V({}, e, {
175
175
  value: _e
176
176
  }),
177
- error: N({}, e, {
177
+ error: V({}, e, {
178
178
  value: te
179
179
  }),
180
- group: N({}, e, {
180
+ group: V({}, e, {
181
181
  value: Se
182
182
  }),
183
- groupCollapsed: N({}, e, {
183
+ groupCollapsed: V({}, e, {
184
184
  value: ge
185
185
  }),
186
- groupEnd: N({}, e, {
187
- value: re
186
+ groupEnd: V({}, e, {
187
+ value: ne
188
188
  })
189
189
  });
190
190
  }
191
- Y < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
191
+ N < 0 && _("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
192
192
  }
193
193
  }
194
- var B = $.ReactCurrentDispatcher, ve;
195
- function le(e, r, n) {
194
+ var B = F.ReactCurrentDispatcher, ve;
195
+ function le(e, n, r) {
196
196
  {
197
197
  if (ve === void 0)
198
198
  try {
199
199
  throw Error();
200
200
  } catch (x) {
201
- var i = x.stack.trim().match(/\n( *(at )?)/);
202
- ve = i && i[1] || "";
201
+ var o = x.stack.trim().match(/\n( *(at )?)/);
202
+ ve = o && o[1] || "";
203
203
  }
204
204
  return `
205
205
  ` + ve + e;
@@ -210,22 +210,22 @@ function fr() {
210
210
  var Le = typeof WeakMap == "function" ? WeakMap : Map;
211
211
  ae = new Le();
212
212
  }
213
- function ke(e, r) {
213
+ function ke(e, n) {
214
214
  if (!e || xe)
215
215
  return "";
216
216
  {
217
- var n = ae.get(e);
218
- if (n !== void 0)
219
- return n;
217
+ var r = ae.get(e);
218
+ if (r !== void 0)
219
+ return r;
220
220
  }
221
- var i;
221
+ var o;
222
222
  xe = !0;
223
223
  var x = Error.prepareStackTrace;
224
224
  Error.prepareStackTrace = void 0;
225
225
  var m;
226
- m = B.current, B.current = null, Pe();
226
+ m = B.current, B.current = null, Oe();
227
227
  try {
228
- if (r) {
228
+ if (n) {
229
229
  var h = function() {
230
230
  throw Error();
231
231
  };
@@ -236,59 +236,59 @@ function fr() {
236
236
  }), typeof Reflect == "object" && Reflect.construct) {
237
237
  try {
238
238
  Reflect.construct(h, []);
239
- } catch (L) {
240
- i = L;
239
+ } catch ($) {
240
+ o = $;
241
241
  }
242
242
  Reflect.construct(e, [], h);
243
243
  } else {
244
244
  try {
245
245
  h.call();
246
- } catch (L) {
247
- i = L;
246
+ } catch ($) {
247
+ o = $;
248
248
  }
249
249
  e.call(h.prototype);
250
250
  }
251
251
  } else {
252
252
  try {
253
253
  throw Error();
254
- } catch (L) {
255
- i = L;
254
+ } catch ($) {
255
+ o = $;
256
256
  }
257
257
  e();
258
258
  }
259
- } catch (L) {
260
- if (L && i && typeof L.stack == "string") {
261
- for (var f = L.stack.split(`
262
- `), P = i.stack.split(`
263
- `), S = f.length - 1, T = P.length - 1; S >= 1 && T >= 0 && f[S] !== P[T]; )
259
+ } catch ($) {
260
+ if ($ && o && typeof $.stack == "string") {
261
+ for (var f = $.stack.split(`
262
+ `), O = o.stack.split(`
263
+ `), S = f.length - 1, T = O.length - 1; S >= 1 && T >= 0 && f[S] !== O[T]; )
264
264
  T--;
265
265
  for (; S >= 1 && T >= 0; S--, T--)
266
- if (f[S] !== P[T]) {
266
+ if (f[S] !== O[T]) {
267
267
  if (S !== 1 || T !== 1)
268
268
  do
269
- if (S--, T--, T < 0 || f[S] !== P[T]) {
270
- var F = `
269
+ if (S--, T--, T < 0 || f[S] !== O[T]) {
270
+ var M = `
271
271
  ` + f[S].replace(" at new ", " at ");
272
- return e.displayName && F.includes("<anonymous>") && (F = F.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, F), F;
272
+ return e.displayName && M.includes("<anonymous>") && (M = M.replace("<anonymous>", e.displayName)), typeof e == "function" && ae.set(e, M), M;
273
273
  }
274
274
  while (S >= 1 && T >= 0);
275
275
  break;
276
276
  }
277
277
  }
278
278
  } finally {
279
- xe = !1, B.current = m, ne(), Error.prepareStackTrace = x;
279
+ xe = !1, B.current = m, re(), Error.prepareStackTrace = x;
280
280
  }
281
- var se = e ? e.displayName || e.name : "", J = se ? le(se) : "";
282
- return typeof e == "function" && ae.set(e, J), J;
281
+ var se = e ? e.displayName || e.name : "", q = se ? le(se) : "";
282
+ return typeof e == "function" && ae.set(e, q), q;
283
283
  }
284
- function He(e, r, n) {
284
+ function He(e, n, r) {
285
285
  return ke(e, !1);
286
286
  }
287
287
  function $e(e) {
288
- var r = e.prototype;
289
- return !!(r && r.isReactComponent);
288
+ var n = e.prototype;
289
+ return !!(n && n.isReactComponent);
290
290
  }
291
- function ie(e, r, n) {
291
+ function oe(e, n, r) {
292
292
  if (e == null)
293
293
  return "";
294
294
  if (typeof e == "function")
@@ -296,7 +296,7 @@ function fr() {
296
296
  if (typeof e == "string")
297
297
  return le(e);
298
298
  switch (e) {
299
- case y:
299
+ case j:
300
300
  return le("Suspense");
301
301
  case s:
302
302
  return le("SuspenseList");
@@ -306,26 +306,26 @@ function fr() {
306
306
  case c:
307
307
  return He(e.render);
308
308
  case C:
309
- return ie(e.type, r, n);
309
+ return oe(e.type, n, r);
310
310
  case g: {
311
- var i = e, x = i._payload, m = i._init;
311
+ var o = e, x = o._payload, m = o._init;
312
312
  try {
313
- return ie(m(x), r, n);
313
+ return oe(m(x), n, r);
314
314
  } catch {
315
315
  }
316
316
  }
317
317
  }
318
318
  return "";
319
319
  }
320
- var G = Object.prototype.hasOwnProperty, be = {}, me = $.ReactDebugCurrentFrame;
320
+ var G = Object.prototype.hasOwnProperty, be = {}, me = F.ReactDebugCurrentFrame;
321
321
  function a(e) {
322
322
  if (e) {
323
- var r = e._owner, n = ie(e.type, e._source, r ? r.type : null);
324
- me.setExtraStackFrame(n);
323
+ var n = e._owner, r = oe(e.type, e._source, n ? n.type : null);
324
+ me.setExtraStackFrame(r);
325
325
  } else
326
326
  me.setExtraStackFrame(null);
327
327
  }
328
- function I(e, r, n, i, x) {
328
+ function I(e, n, r, o, x) {
329
329
  {
330
330
  var m = Function.call.bind(G);
331
331
  for (var h in e)
@@ -333,100 +333,100 @@ function fr() {
333
333
  var f = void 0;
334
334
  try {
335
335
  if (typeof e[h] != "function") {
336
- var P = Error((i || "React class") + ": " + n + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
- throw P.name = "Invariant Violation", P;
336
+ var O = Error((o || "React class") + ": " + r + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
337
+ throw O.name = "Invariant Violation", O;
338
338
  }
339
- f = e[h](r, h, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
339
+ f = e[h](n, h, o, r, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
340
340
  } catch (S) {
341
341
  f = S;
342
342
  }
343
- f && !(f instanceof Error) && (a(x), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", n, h, typeof f), a(null)), f instanceof Error && !(f.message in be) && (be[f.message] = !0, a(x), _("Failed %s type: %s", n, f.message), a(null));
343
+ f && !(f instanceof Error) && (a(x), _("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", o || "React class", r, h, typeof f), a(null)), f instanceof Error && !(f.message in be) && (be[f.message] = !0, a(x), _("Failed %s type: %s", r, f.message), a(null));
344
344
  }
345
345
  }
346
346
  }
347
347
  var U = Array.isArray;
348
- function O(e) {
348
+ function P(e) {
349
349
  return U(e);
350
350
  }
351
351
  function Ae(e) {
352
352
  {
353
- var r = typeof Symbol == "function" && Symbol.toStringTag, n = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
354
- return n;
353
+ var n = typeof Symbol == "function" && Symbol.toStringTag, r = n && e[Symbol.toStringTag] || e.constructor.name || "Object";
354
+ return r;
355
355
  }
356
356
  }
357
- function X(e) {
357
+ function J(e) {
358
358
  try {
359
- return qe(e), !1;
359
+ return Qe(e), !1;
360
360
  } catch {
361
361
  return !0;
362
362
  }
363
363
  }
364
- function qe(e) {
364
+ function Qe(e) {
365
365
  return "" + e;
366
366
  }
367
- function Qe(e) {
368
- if (X(e))
369
- return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ae(e)), qe(e);
367
+ function et(e) {
368
+ if (J(e))
369
+ return _("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Ae(e)), Qe(e);
370
370
  }
371
- var je = $.ReactCurrentOwner, Ct = {
371
+ var ye = F.ReactCurrentOwner, Ct = {
372
372
  key: !0,
373
373
  ref: !0,
374
374
  __self: !0,
375
375
  __source: !0
376
- }, et, tt, Fe;
376
+ }, tt, nt, Fe;
377
377
  Fe = {};
378
- function yt(e) {
378
+ function jt(e) {
379
379
  if (G.call(e, "ref")) {
380
- var r = Object.getOwnPropertyDescriptor(e, "ref").get;
381
- if (r && r.isReactWarning)
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
386
  function wt(e) {
387
387
  if (G.call(e, "key")) {
388
- var r = Object.getOwnPropertyDescriptor(e, "key").get;
389
- if (r && r.isReactWarning)
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 Et(e, r) {
395
- if (typeof e.ref == "string" && je.current && r && je.current.stateNode !== r) {
396
- var n = H(je.current.type);
397
- Fe[n] || (_('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', H(je.current.type), e.ref), Fe[n] = !0);
394
+ function Et(e, n) {
395
+ if (typeof e.ref == "string" && ye.current && n && ye.current.stateNode !== n) {
396
+ var r = A(ye.current.type);
397
+ Fe[r] || (_('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', A(ye.current.type), e.ref), Fe[r] = !0);
398
398
  }
399
399
  }
400
- function Rt(e, r) {
400
+ function Rt(e, n) {
401
401
  {
402
- var n = function() {
403
- et || (et = !0, _("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
402
+ var r = function() {
403
+ tt || (tt = !0, _("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
404
404
  };
405
- n.isReactWarning = !0, Object.defineProperty(e, "key", {
406
- get: n,
405
+ r.isReactWarning = !0, Object.defineProperty(e, "key", {
406
+ get: r,
407
407
  configurable: !0
408
408
  });
409
409
  }
410
410
  }
411
- function _t(e, r) {
411
+ function _t(e, n) {
412
412
  {
413
- var n = function() {
414
- tt || (tt = !0, _("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", r));
413
+ var r = function() {
414
+ nt || (nt = !0, _("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
415
415
  };
416
- n.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
- get: n,
416
+ r.isReactWarning = !0, Object.defineProperty(e, "ref", {
417
+ get: r,
418
418
  configurable: !0
419
419
  });
420
420
  }
421
421
  }
422
- var St = function(e, r, n, i, x, m, h) {
422
+ var St = function(e, n, r, o, x, m, h) {
423
423
  var f = {
424
424
  // This tag allows us to uniquely identify this as a React Element
425
- $$typeof: o,
425
+ $$typeof: i,
426
426
  // Built-in properties that belong on the element
427
427
  type: e,
428
- key: r,
429
- ref: n,
428
+ key: n,
429
+ ref: r,
430
430
  props: h,
431
431
  // Record the component responsible for creating this element.
432
432
  _owner: m
@@ -440,7 +440,7 @@ function fr() {
440
440
  configurable: !1,
441
441
  enumerable: !1,
442
442
  writable: !1,
443
- value: i
443
+ value: o
444
444
  }), Object.defineProperty(f, "_source", {
445
445
  configurable: !1,
446
446
  enumerable: !1,
@@ -448,41 +448,41 @@ function fr() {
448
448
  value: x
449
449
  }), Object.freeze && (Object.freeze(f.props), Object.freeze(f)), f;
450
450
  };
451
- function Tt(e, r, n, i, x) {
451
+ function Tt(e, n, r, o, x) {
452
452
  {
453
- var m, h = {}, f = null, P = null;
454
- n !== void 0 && (Qe(n), f = "" + n), wt(r) && (Qe(r.key), f = "" + r.key), yt(r) && (P = r.ref, Et(r, x));
455
- for (m in r)
456
- G.call(r, m) && !Ct.hasOwnProperty(m) && (h[m] = r[m]);
453
+ var m, h = {}, f = null, O = null;
454
+ r !== void 0 && (et(r), f = "" + r), wt(n) && (et(n.key), f = "" + n.key), jt(n) && (O = n.ref, Et(n, x));
455
+ for (m in n)
456
+ G.call(n, m) && !Ct.hasOwnProperty(m) && (h[m] = n[m]);
457
457
  if (e && e.defaultProps) {
458
458
  var S = e.defaultProps;
459
459
  for (m in S)
460
460
  h[m] === void 0 && (h[m] = S[m]);
461
461
  }
462
- if (f || P) {
462
+ if (f || O) {
463
463
  var T = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
464
- f && Rt(h, T), P && _t(h, T);
464
+ f && Rt(h, T), O && _t(h, T);
465
465
  }
466
- return St(e, f, P, x, i, je.current, h);
466
+ return St(e, f, O, x, o, ye.current, h);
467
467
  }
468
468
  }
469
- var Me = $.ReactCurrentOwner, rt = $.ReactDebugCurrentFrame;
470
- function oe(e) {
469
+ var Me = F.ReactCurrentOwner, rt = F.ReactDebugCurrentFrame;
470
+ function ie(e) {
471
471
  if (e) {
472
- var r = e._owner, n = ie(e.type, e._source, r ? r.type : null);
473
- rt.setExtraStackFrame(n);
472
+ var n = e._owner, r = oe(e.type, e._source, n ? n.type : null);
473
+ rt.setExtraStackFrame(r);
474
474
  } else
475
475
  rt.setExtraStackFrame(null);
476
476
  }
477
477
  var Be;
478
478
  Be = !1;
479
479
  function We(e) {
480
- return typeof e == "object" && e !== null && e.$$typeof === o;
480
+ return typeof e == "object" && e !== null && e.$$typeof === i;
481
481
  }
482
- function nt() {
482
+ function lt() {
483
483
  {
484
484
  if (Me.current) {
485
- var e = H(Me.current.type);
485
+ var e = A(Me.current.type);
486
486
  if (e)
487
487
  return `
488
488
 
@@ -494,161 +494,161 @@ Check the render method of \`` + e + "`.";
494
494
  function kt(e) {
495
495
  return "";
496
496
  }
497
- var lt = {};
497
+ var at = {};
498
498
  function Dt(e) {
499
499
  {
500
- var r = nt();
501
- if (!r) {
502
- var n = typeof e == "string" ? e : e.displayName || e.name;
503
- n && (r = `
500
+ var n = lt();
501
+ if (!n) {
502
+ var r = typeof e == "string" ? e : e.displayName || e.name;
503
+ r && (n = `
504
504
 
505
- Check the top-level render call using <` + n + ">.");
505
+ Check the top-level render call using <` + r + ">.");
506
506
  }
507
- return r;
507
+ return n;
508
508
  }
509
509
  }
510
- function at(e, r) {
510
+ function ot(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 n = Dt(r);
516
- if (lt[n])
515
+ var r = Dt(n);
516
+ if (at[r])
517
517
  return;
518
- lt[n] = !0;
519
- var i = "";
520
- e && e._owner && e._owner !== Me.current && (i = " It was passed a child from " + H(e._owner.type) + "."), oe(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, i), oe(null);
518
+ at[r] = !0;
519
+ var o = "";
520
+ e && e._owner && e._owner !== Me.current && (o = " It was passed a child from " + A(e._owner.type) + "."), ie(e), _('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', r, o), ie(null);
521
521
  }
522
522
  }
523
- function it(e, r) {
523
+ function it(e, n) {
524
524
  {
525
525
  if (typeof e != "object")
526
526
  return;
527
- if (O(e))
528
- for (var n = 0; n < e.length; n++) {
529
- var i = e[n];
530
- We(i) && at(i, r);
527
+ if (P(e))
528
+ for (var r = 0; r < e.length; r++) {
529
+ var o = e[r];
530
+ We(o) && ot(o, n);
531
531
  }
532
532
  else if (We(e))
533
533
  e._store && (e._store.validated = !0);
534
534
  else if (e) {
535
- var x = Q(e);
535
+ var x = ee(e);
536
536
  if (typeof x == "function" && x !== e.entries)
537
537
  for (var m = x.call(e), h; !(h = m.next()).done; )
538
- We(h.value) && at(h.value, r);
538
+ We(h.value) && ot(h.value, n);
539
539
  }
540
540
  }
541
541
  }
542
542
  function It(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 n;
548
- if (typeof r == "function")
549
- n = r.propTypes;
550
- else if (typeof r == "object" && (r.$$typeof === c || // Note: Memo only checks outer props here.
547
+ var r;
548
+ if (typeof n == "function")
549
+ r = n.propTypes;
550
+ else if (typeof n == "object" && (n.$$typeof === c || // Note: Memo only checks outer props here.
551
551
  // Inner props are checked in the reconciler.
552
- r.$$typeof === C))
553
- n = r.propTypes;
552
+ n.$$typeof === C))
553
+ r = n.propTypes;
554
554
  else
555
555
  return;
556
- if (n) {
557
- var i = H(r);
558
- I(n, e.props, "prop", i, e);
559
- } else if (r.PropTypes !== void 0 && !Be) {
556
+ if (r) {
557
+ var o = A(n);
558
+ I(r, e.props, "prop", o, e);
559
+ } else if (n.PropTypes !== void 0 && !Be) {
560
560
  Be = !0;
561
- var x = H(r);
561
+ var x = A(n);
562
562
  _("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", x || "Unknown");
563
563
  }
564
- typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
564
+ typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && _("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
565
565
  }
566
566
  }
567
- function Ot(e) {
567
+ function Pt(e) {
568
568
  {
569
- for (var r = Object.keys(e.props), n = 0; n < r.length; n++) {
570
- var i = r[n];
571
- if (i !== "children" && i !== "key") {
572
- oe(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), oe(null);
569
+ for (var n = Object.keys(e.props), r = 0; r < n.length; r++) {
570
+ var o = n[r];
571
+ if (o !== "children" && o !== "key") {
572
+ ie(e), _("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", o), ie(null);
573
573
  break;
574
574
  }
575
575
  }
576
- e.ref !== null && (oe(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), oe(null));
576
+ e.ref !== null && (ie(e), _("Invalid attribute `ref` supplied to `React.Fragment`."), ie(null));
577
577
  }
578
578
  }
579
- var ot = {};
580
- function st(e, r, n, i, x, m) {
579
+ var st = {};
580
+ function ut(e, n, r, o, x, m) {
581
581
  {
582
- var h = M(e);
582
+ var h = H(e);
583
583
  if (!h) {
584
584
  var f = "";
585
585
  (e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (f += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
586
- var P = kt();
587
- P ? f += P : f += nt();
586
+ var O = kt();
587
+ O ? f += O : f += lt();
588
588
  var S;
589
- e === null ? S = "null" : O(e) ? S = "array" : e !== void 0 && e.$$typeof === o ? (S = "<" + (H(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, f);
589
+ e === null ? S = "null" : P(e) ? S = "array" : e !== void 0 && e.$$typeof === i ? (S = "<" + (A(e.type) || "Unknown") + " />", f = " Did you accidentally export a JSX literal instead of a component?") : S = typeof e, _("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", S, f);
590
590
  }
591
- var T = Tt(e, r, n, x, m);
591
+ var T = Tt(e, n, r, x, m);
592
592
  if (T == null)
593
593
  return T;
594
594
  if (h) {
595
- var F = r.children;
596
- if (F !== void 0)
597
- if (i)
598
- if (O(F)) {
599
- for (var se = 0; se < F.length; se++)
600
- it(F[se], e);
601
- Object.freeze && Object.freeze(F);
595
+ var M = n.children;
596
+ if (M !== void 0)
597
+ if (o)
598
+ if (P(M)) {
599
+ for (var se = 0; se < M.length; se++)
600
+ it(M[se], e);
601
+ Object.freeze && Object.freeze(M);
602
602
  } else
603
603
  _("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
604
604
  else
605
- it(F, e);
605
+ it(M, e);
606
606
  }
607
- if (G.call(r, "key")) {
608
- var J = H(e), L = Object.keys(r).filter(function(Ft) {
607
+ if (G.call(n, "key")) {
608
+ var q = A(e), $ = Object.keys(n).filter(function(Ft) {
609
609
  return Ft !== "key";
610
- }), Ve = L.length > 0 ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}";
611
- if (!ot[J + Ve]) {
612
- var At = L.length > 0 ? "{" + L.join(": ..., ") + ": ...}" : "{}";
610
+ }), Ve = $.length > 0 ? "{key: someKey, " + $.join(": ..., ") + ": ...}" : "{key: someKey}";
611
+ if (!st[q + Ve]) {
612
+ var At = $.length > 0 ? "{" + $.join(": ..., ") + ": ...}" : "{}";
613
613
  _(`A props object containing a "key" prop is being spread into JSX:
614
614
  let props = %s;
615
615
  <%s {...props} />
616
616
  React keys must be passed directly to JSX without using spread:
617
617
  let props = %s;
618
- <%s key={someKey} {...props} />`, Ve, J, At, J), ot[J + Ve] = !0;
618
+ <%s key={someKey} {...props} />`, Ve, q, At, q), st[q + Ve] = !0;
619
619
  }
620
620
  }
621
- return e === d ? Ot(T) : It(T), T;
621
+ return e === d ? Pt(T) : It(T), T;
622
622
  }
623
623
  }
624
- function Pt(e, r, n) {
625
- return st(e, r, n, !0);
624
+ function Ot(e, n, r) {
625
+ return ut(e, n, r, !0);
626
626
  }
627
- function Lt(e, r, n) {
628
- return st(e, r, n, !1);
627
+ function Lt(e, n, r) {
628
+ return ut(e, n, r, !1);
629
629
  }
630
- var Ht = Lt, $t = Pt;
631
- ye.Fragment = d, ye.jsx = Ht, ye.jsxs = $t;
632
- }()), ye;
630
+ var Ht = Lt, $t = Ot;
631
+ je.Fragment = d, je.jsx = Ht, je.jsxs = $t;
632
+ }()), je;
633
633
  }
634
- process.env.NODE_ENV === "production" ? Ue.exports = dr() : Ue.exports = fr();
635
- var t = Ue.exports;
636
- const Ye = 60, ht = 6, pr = (l) => {
634
+ process.env.NODE_ENV === "production" ? Ze.exports = dn() : Ze.exports = fn();
635
+ var t = Ze.exports;
636
+ const Ye = 60, gt = 6, pn = (l) => {
637
637
  const {
638
- activeStepIndex: o,
638
+ activeStepIndex: i,
639
639
  hideIndicators: p = !1,
640
640
  steps: d,
641
- stepperTheme: j = {
641
+ stepperTheme: y = {
642
642
  light: "eggplant.light",
643
643
  base: "eggplant.base"
644
644
  }
645
645
  } = l, { activeStep: v, setActiveStep: b } = Mt({
646
- index: o,
646
+ index: i,
647
647
  count: d.length
648
648
  });
649
649
  return Z(() => {
650
- b(o);
651
- }, [o, b]), /* @__PURE__ */ t.jsx(
650
+ b(i);
651
+ }, [i, b]), /* @__PURE__ */ t.jsx(
652
652
  E,
653
653
  { position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ t.jsx(
654
654
  Bt,
@@ -659,14 +659,14 @@ const Ye = 60, ht = 6, pr = (l) => {
659
659
  display: "flex",
660
660
  flexWrap: "nowrap",
661
661
  children: d.map((R, c) => {
662
- const y = v === c, s = c === 0, C = c === d.length - 1, g = v > c;
662
+ const j = v === c, s = c === 0, C = c === d.length - 1, g = v > c;
663
663
  let u = `${Ye}px`;
664
- const D = `calc(100% - ((${Ye * (d.length - 1)}px) - (${d.length - 1} * ${ht * 2}px)))`;
665
- return y ? u = D : (s || C) && (u = `${Ye - ht}px`), /* @__PURE__ */ t.jsx(
664
+ const D = `calc(100% - ((${Ye * (d.length - 1)}px) - (${d.length - 1} * ${gt * 2}px)))`;
665
+ return j ? u = D : (s || C) && (u = `${Ye - gt}px`), /* @__PURE__ */ t.jsx(
666
666
  E,
667
667
  {
668
668
  width: u,
669
- opacity: g || y ? 1 : 0.2,
669
+ opacity: g || j ? 1 : 0.2,
670
670
  paddingRight: C ? "0" : "6px",
671
671
  paddingLeft: s ? "0" : "6px",
672
672
  transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
@@ -682,7 +682,7 @@ const Ye = 60, ht = 6, pr = (l) => {
682
682
  width: "100%",
683
683
  position: "absolute",
684
684
  top: "0",
685
- backgroundColor: g ? j.light : j.base,
685
+ backgroundColor: g ? y.light : y.base,
686
686
  height: p ? "4px" : "8px",
687
687
  borderRadius: "4",
688
688
  left: "0"
@@ -697,33 +697,33 @@ const Ye = 60, ht = 6, pr = (l) => {
697
697
  }
698
698
  ) }
699
699
  );
700
- }, Tr = Ke.memo(pr), kr = ({
700
+ }, kn = Xe.memo(pn), Dn = ({
701
701
  children: l,
702
- ...o
702
+ ...i
703
703
  }) => /* @__PURE__ */ t.jsx(
704
- Qt,
705
- { color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...o, children: l }
706
- ), Oe = (l, o) => {
704
+ qt,
705
+ { color: "tints.uiGrey", fontSize: ["md", null, null, "lg"], ...i, children: l }
706
+ ), Pe = (l, i) => {
707
707
  const p = (l == null ? void 0 : l.startsWith("http")) || (l == null ? void 0 : l.startsWith("mailto"));
708
- return o && !p ? {
708
+ return i && !p ? {
709
709
  to: l
710
710
  } : {
711
711
  href: l
712
712
  };
713
713
  }, ze = bt(
714
- (l, o) => {
714
+ (l, i) => {
715
715
  const {
716
716
  label: p,
717
717
  additionalContent: d,
718
- mainTextFontSize: j,
718
+ mainTextFontSize: y,
719
719
  linkComponent: v,
720
720
  href: b,
721
721
  ...R
722
- } = l, c = v || z, y = Oe(b, !!v);
722
+ } = l, c = v || Y, j = Pe(b, !!v);
723
723
  return /* @__PURE__ */ t.jsxs(
724
724
  E,
725
725
  {
726
- ref: o,
726
+ ref: i,
727
727
  as: c,
728
728
  display: "flex",
729
729
  alignItems: "center",
@@ -736,14 +736,14 @@ const Ye = 60, ht = 6, pr = (l) => {
736
736
  borderColor: ["tints.cream", null, null, "unset"],
737
737
  width: ["100%", null, null, "fit-content"],
738
738
  cursor: "pointer",
739
- ...y,
739
+ ...j,
740
740
  ...R,
741
741
  children: [
742
742
  /* @__PURE__ */ t.jsx(
743
743
  ue,
744
744
  {
745
745
  display: ["none", null, null, "block"],
746
- as: ct,
746
+ as: dt,
747
747
  fontSize: "lg",
748
748
  color: "viridian.light",
749
749
  role: "img",
@@ -757,7 +757,7 @@ const Ye = 60, ht = 6, pr = (l) => {
757
757
  /* @__PURE__ */ t.jsx(
758
758
  K,
759
759
  {
760
- fontSize: [j || "xl", null, null, "lg"],
760
+ fontSize: [y || "xl", null, null, "lg"],
761
761
  fontWeight: "medium",
762
762
  children: p
763
763
  }
@@ -780,7 +780,7 @@ const Ye = 60, ht = 6, pr = (l) => {
780
780
  ue,
781
781
  {
782
782
  display: ["block", null, null, "none"],
783
- as: ct,
783
+ as: dt,
784
784
  fontSize: "2xl",
785
785
  color: "tints.uiGrey",
786
786
  role: "img",
@@ -795,12 +795,12 @@ const Ye = 60, ht = 6, pr = (l) => {
795
795
  );
796
796
  }
797
797
  ), Ie = bt(
798
- (l, o) => {
799
- const { children: p, isSelected: d, ...j } = l, v = l.backgroundColor || (d ? "tints.lightCream" : "transparent");
798
+ (l, i) => {
799
+ const { children: p, isSelected: d, ...y } = l, v = l.backgroundColor || (d ? "tints.lightCream" : "transparent");
800
800
  return /* @__PURE__ */ t.jsx(
801
801
  xt,
802
802
  {
803
- ref: o,
803
+ ref: i,
804
804
  borderRadius: "full",
805
805
  backgroundColor: v,
806
806
  fontSize: "lg !important",
@@ -824,23 +824,23 @@ const Ye = 60, ht = 6, pr = (l) => {
824
824
  textDecoration: "none",
825
825
  filter: "brightness(0.95)"
826
826
  },
827
- ...j,
827
+ ...y,
828
828
  children: p
829
829
  }
830
830
  );
831
831
  }
832
- ), hr = ({
832
+ ), hn = ({
833
833
  title: l,
834
- description: o,
834
+ description: i,
835
835
  imageSrc: p,
836
836
  imageElement: d,
837
- button: j,
837
+ button: y,
838
838
  backgroundColor: v = "viridian.wash",
839
839
  onClick: b,
840
840
  href: R,
841
841
  linkComponent: c
842
842
  }) => {
843
- const g = c || z, u = Oe(R, !!c), D = Xe({
843
+ const g = c || Y, u = Pe(R, !!c), D = Je({
844
844
  base: !1,
845
845
  tablet: !1,
846
846
  largeTablet: !1,
@@ -931,11 +931,11 @@ const Ye = 60, ht = 6, pr = (l) => {
931
931
  ),
932
932
  /* @__PURE__ */ t.jsx(
933
933
  K,
934
- { fontSize: "sm", color: "tints.darkGrey", children: o }
934
+ { fontSize: "sm", color: "tints.darkGrey", children: i }
935
935
  )
936
936
  ] }
937
937
  ),
938
- D ? /* @__PURE__ */ t.jsx(E, { children: j }) : null
938
+ D ? /* @__PURE__ */ t.jsx(E, { children: y }) : null
939
939
  ]
940
940
  }
941
941
  )
@@ -963,14 +963,14 @@ const Ye = 60, ht = 6, pr = (l) => {
963
963
  },
964
964
  ...l
965
965
  }
966
- ), gr = ({
967
- color: l = Nt.colors.viridian.base,
968
- width: o
966
+ ), gn = ({
967
+ color: l = Ue.colors.viridian.base,
968
+ width: i
969
969
  }) => /* @__PURE__ */ t.jsx(
970
- er,
970
+ Qt,
971
971
  {
972
972
  as: "svg",
973
- width: o,
973
+ width: i,
974
974
  height: "auto",
975
975
  viewBox: "0 0 116 24",
976
976
  fill: "none",
@@ -991,20 +991,20 @@ const Ye = 60, ht = 6, pr = (l) => {
991
991
  ) }
992
992
  )
993
993
  }
994
- ), vr = ({
994
+ ), vn = ({
995
995
  desktopTopButtons: l,
996
- kitRegistrationElement: o,
996
+ kitRegistrationElement: i,
997
997
  profileElement: p,
998
998
  cartElement: d,
999
- onSearchClick: j,
999
+ onSearchClick: y,
1000
1000
  onMenuClick: v,
1001
1001
  hasSearch: b = !1,
1002
1002
  logoLink: R = "https://www.everlywell.com",
1003
1003
  setTopOffset: c,
1004
- linkComponent: y,
1004
+ linkComponent: j,
1005
1005
  onLogoClick: s
1006
1006
  }) => {
1007
- const C = qt(null), g = mt(() => {
1007
+ const C = Jt(null), g = mt(() => {
1008
1008
  if (C.current) {
1009
1009
  const u = C.current.getBoundingClientRect();
1010
1010
  c(u.bottom);
@@ -1024,7 +1024,7 @@ const Ye = 60, ht = 6, pr = (l) => {
1024
1024
  position: "sticky",
1025
1025
  top: "0",
1026
1026
  width: "100%",
1027
- zIndex: ["sticky", null, null, "tooltip"],
1027
+ zIndex: ["sticky", null, null, "modal"],
1028
1028
  onMouseEnter: g,
1029
1029
  children: /* @__PURE__ */ t.jsxs(
1030
1030
  k,
@@ -1037,9 +1037,9 @@ const Ye = 60, ht = 6, pr = (l) => {
1037
1037
  {
1038
1038
  "aria-label": "Go to homepage",
1039
1039
  onClick: s,
1040
- as: y || z,
1041
- ...Oe(R, !!y),
1042
- children: /* @__PURE__ */ t.jsx(gr, { width: "116px" })
1040
+ as: j || Y,
1041
+ ...Pe(R, !!j),
1042
+ children: /* @__PURE__ */ t.jsx(gn, { width: "116px" })
1043
1043
  }
1044
1044
  ),
1045
1045
  /* @__PURE__ */ t.jsx(
@@ -1053,14 +1053,14 @@ const Ye = 60, ht = 6, pr = (l) => {
1053
1053
  { alignItems: "center", gap: "2", children: [
1054
1054
  /* @__PURE__ */ t.jsx(
1055
1055
  E,
1056
- { display: ["none", null, null, "block"], children: o }
1056
+ { display: ["none", null, null, "block"], children: i }
1057
1057
  ),
1058
1058
  b ? /* @__PURE__ */ t.jsx(
1059
1059
  ce,
1060
1060
  {
1061
1061
  "aria-label": "Search",
1062
- icon: /* @__PURE__ */ t.jsx(ue, { as: jt }),
1063
- onClick: j
1062
+ icon: /* @__PURE__ */ t.jsx(ue, { as: yt }),
1063
+ onClick: y
1064
1064
  }
1065
1065
  ) : null,
1066
1066
  d,
@@ -1069,7 +1069,7 @@ const Ye = 60, ht = 6, pr = (l) => {
1069
1069
  { display: ["flex", null, null, "none"], children: /* @__PURE__ */ t.jsx(
1070
1070
  ce,
1071
1071
  {
1072
- icon: /* @__PURE__ */ t.jsx(ar, {}),
1072
+ icon: /* @__PURE__ */ t.jsx(ln, {}),
1073
1073
  "aria-label": "menu",
1074
1074
  "data-testid": "menu-button",
1075
1075
  onClick: v
@@ -1083,13 +1083,13 @@ const Ye = 60, ht = 6, pr = (l) => {
1083
1083
  )
1084
1084
  }
1085
1085
  );
1086
- }, xr = ({
1086
+ }, xn = ({
1087
1087
  count: l = 0,
1088
- ...o
1088
+ ...i
1089
1089
  }) => /* @__PURE__ */ t.jsxs(
1090
1090
  E,
1091
1091
  { position: "relative", display: "inline-block", children: [
1092
- /* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(ir, {}), ...o }),
1092
+ /* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(an, {}), ...i }),
1093
1093
  l > 0 && /* @__PURE__ */ t.jsx(
1094
1094
  E,
1095
1095
  {
@@ -1112,11 +1112,11 @@ const Ye = 60, ht = 6, pr = (l) => {
1112
1112
  }
1113
1113
  )
1114
1114
  ] }
1115
- ), Dr = ({
1115
+ ), In = ({
1116
1116
  numDesktopLinks: l = 5,
1117
- showPromoButton: o = !1
1117
+ showPromoButton: i = !1
1118
1118
  }) => /* @__PURE__ */ t.jsx(
1119
- Yt,
1119
+ Nt,
1120
1120
  { spacing: 0, align: "stretch", children: /* @__PURE__ */ t.jsx(
1121
1121
  E,
1122
1122
  {
@@ -1129,7 +1129,7 @@ const Ye = 60, ht = 6, pr = (l) => {
1129
1129
  { justify: "space-between", align: "center", children: [
1130
1130
  /* @__PURE__ */ t.jsx(Ne, { w: "120px", h: "48px" }),
1131
1131
  /* @__PURE__ */ t.jsxs(
1132
- ut,
1132
+ ct,
1133
1133
  {
1134
1134
  spacing: 8,
1135
1135
  marginLeft: 12,
@@ -1139,12 +1139,12 @@ const Ye = 60, ht = 6, pr = (l) => {
1139
1139
  Array.from({ length: l }).map(
1140
1140
  (p, d) => /* @__PURE__ */ t.jsx(Ne, { width: "90px", height: "48px" }, d)
1141
1141
  ),
1142
- o && /* @__PURE__ */ t.jsx(Ne, { width: "110px", height: "48px", borderRadius: "full" })
1142
+ i && /* @__PURE__ */ t.jsx(Ne, { width: "110px", height: "48px", borderRadius: "full" })
1143
1143
  ]
1144
1144
  }
1145
1145
  ),
1146
1146
  /* @__PURE__ */ t.jsxs(
1147
- ut,
1147
+ ct,
1148
1148
  { spacing: 4, ml: "auto", children: [
1149
1149
  /* @__PURE__ */ t.jsx(
1150
1150
  De,
@@ -1168,46 +1168,47 @@ const Ye = 60, ht = 6, pr = (l) => {
1168
1168
  )
1169
1169
  }
1170
1170
  ) }
1171
- ), br = (l, o) => {
1171
+ ), bn = (l, i) => {
1172
1172
  let p;
1173
1173
  return (...d) => {
1174
1174
  p && clearTimeout(p), p = setTimeout(() => {
1175
1175
  l(...d);
1176
- }, o);
1176
+ }, i);
1177
1177
  };
1178
- }, Ze = "nav-drawer-hover", gt = (l) => {
1178
+ }, Ke = "nav-drawer-hover", vt = (l) => {
1179
1179
  window.dispatchEvent(
1180
- new CustomEvent(Ze, {
1180
+ new CustomEvent(Ke, {
1181
1181
  detail: { isHovering: l },
1182
1182
  bubbles: !0,
1183
1183
  cancelable: !0
1184
1184
  })
1185
1185
  );
1186
- }, mr = (l = !1, o = !1, p = !1) => l || !o ? "column" : p ? "row" : "row-reverse", jr = Je(zt), Cr = Je(Gt), Ge = ({
1186
+ }, mn = (l = !1, i = !1, p = !1) => l || !i ? "column" : p ? "row" : "row-reverse", yn = qe(Yt), Cn = qe(zt), Ge = ({
1187
1187
  isOpen: l = !1,
1188
- onClose: o,
1188
+ onClose: i,
1189
1189
  title: p,
1190
1190
  navDrawerLinks: d,
1191
- bottomNavButtons: j,
1191
+ bottomNavButtons: y,
1192
1192
  spotlightCards: v,
1193
1193
  bottomButton: b,
1194
1194
  hasBackButton: R = !0,
1195
1195
  onBackClick: c,
1196
- hasOnlySpotlightCards: y = !1,
1196
+ hasOnlySpotlightCards: j = !1,
1197
1197
  hasSearch: s = !1,
1198
1198
  onSearch: C = () => ({}),
1199
1199
  topOffset: g
1200
1200
  }) => {
1201
- const u = Xe({
1201
+ var X, z;
1202
+ const u = Je({
1202
1203
  base: !1,
1203
1204
  tablet: !1,
1204
1205
  largeTablet: !1,
1205
1206
  desktop: !0
1206
- }), D = u ? "top" : "right", [q, Q] = W(0), [$, _] = W(!1), de = () => {
1207
- Q((A) => A + 1);
1207
+ }), D = u ? "top" : "right", [Q, ee] = W(0), [F, _] = W(!1), de = () => {
1208
+ ee((L) => L + 1);
1208
1209
  }, fe = mt(
1209
- br((A) => {
1210
- C(A), de();
1210
+ bn((L) => {
1211
+ C(L), de();
1211
1212
  }, 100),
1212
1213
  []
1213
1214
  );
@@ -1215,25 +1216,39 @@ const Ye = 60, ht = 6, pr = (l) => {
1215
1216
  l && _(!0);
1216
1217
  }, [l]);
1217
1218
  const pe = () => {
1218
- l || (_(!1), o());
1219
+ l || (_(!1), i());
1219
1220
  };
1220
1221
  return /* @__PURE__ */ t.jsx(
1221
- Ut,
1222
+ Gt,
1222
1223
  {
1223
- isOpen: $ || l,
1224
+ isOpen: F || l,
1224
1225
  onClose: () => {
1225
- $ && u || o();
1226
+ F && u || i();
1226
1227
  },
1227
1228
  placement: D,
1228
1229
  blockScrollOnMount: !1,
1229
1230
  autoFocus: !1,
1231
+ ...u ? {
1232
+ styleConfig: {
1233
+ baseStyle: {
1234
+ ...Ue.components.Drawer.baseStyle,
1235
+ dialogContainer: {
1236
+ ...(z = (X = Ue.components.Drawer) == null ? void 0 : X.baseStyle) == null ? void 0 : z.dialogContainer,
1237
+ // Push the drawer down by the top offset on desktop to not cover the top navigation
1238
+ top: u ? `${g}px` : void 0,
1239
+ // Lower index on desktop to make sure the drawer is below the top navigation
1240
+ zIndex: ["overlay"]
1241
+ }
1242
+ }
1243
+ }
1244
+ } : {},
1230
1245
  children: /* @__PURE__ */ t.jsx(
1231
- cr,
1246
+ cn,
1232
1247
  { children: l ? /* @__PURE__ */ t.jsxs(
1233
1248
  t.Fragment,
1234
1249
  { children: [
1235
1250
  /* @__PURE__ */ t.jsx(
1236
- Cr,
1251
+ Cn,
1237
1252
  {
1238
1253
  backgroundColor: "tints.black",
1239
1254
  top: ["0", null, null, `${g}px`],
@@ -1251,17 +1266,17 @@ const Ye = 60, ht = 6, pr = (l) => {
1251
1266
  }
1252
1267
  ),
1253
1268
  /* @__PURE__ */ t.jsxs(
1254
- jr,
1269
+ yn,
1255
1270
  {
1256
- onClick: (A) => {
1257
- const V = A.target.closest("a");
1258
- V && V.href === window.location.href && o();
1271
+ onClick: (L) => {
1272
+ const H = L.target.closest("a");
1273
+ H && H.href === window.location.href && i();
1259
1274
  },
1260
1275
  onMouseEnter: () => {
1261
- u && gt(!0);
1276
+ u && vt(!0);
1262
1277
  },
1263
1278
  onMouseLeave: () => {
1264
- u && gt(!1);
1279
+ u && vt(!1);
1265
1280
  },
1266
1281
  paddingTop: "4",
1267
1282
  paddingX: [4, null, null, 12],
@@ -1271,6 +1286,7 @@ const Ye = 60, ht = 6, pr = (l) => {
1271
1286
  position: "relative",
1272
1287
  top: u ? `${g}px !important` : void 0,
1273
1288
  onAnimationComplete: pe,
1289
+ boxShadow: "none",
1274
1290
  ...u ? {
1275
1291
  initial: { height: 0, opacity: 0 },
1276
1292
  animate: { height: "auto", opacity: 1 },
@@ -1279,7 +1295,7 @@ const Ye = 60, ht = 6, pr = (l) => {
1279
1295
  } : {},
1280
1296
  children: [
1281
1297
  !s && u ? null : /* @__PURE__ */ t.jsxs(
1282
- Zt,
1298
+ Ut,
1283
1299
  {
1284
1300
  padding: "0",
1285
1301
  flexDirection: s ? "column" : "row",
@@ -1295,7 +1311,7 @@ const Ye = 60, ht = 6, pr = (l) => {
1295
1311
  R ? /* @__PURE__ */ t.jsx(
1296
1312
  ce,
1297
1313
  {
1298
- icon: /* @__PURE__ */ t.jsx(or, {}),
1314
+ icon: /* @__PURE__ */ t.jsx(on, {}),
1299
1315
  onClick: () => {
1300
1316
  c && c();
1301
1317
  },
@@ -1313,8 +1329,8 @@ const Ye = 60, ht = 6, pr = (l) => {
1313
1329
  /* @__PURE__ */ t.jsx(
1314
1330
  ce,
1315
1331
  {
1316
- icon: /* @__PURE__ */ t.jsx(sr, {}),
1317
- onClick: o,
1332
+ icon: /* @__PURE__ */ t.jsx(sn, {}),
1333
+ onClick: i,
1318
1334
  "aria-label": "Close"
1319
1335
  }
1320
1336
  )
@@ -1322,13 +1338,13 @@ const Ye = 60, ht = 6, pr = (l) => {
1322
1338
  }
1323
1339
  ),
1324
1340
  s && /* @__PURE__ */ t.jsxs(
1325
- tr,
1341
+ en,
1326
1342
  { width: "100%", children: [
1327
1343
  /* @__PURE__ */ t.jsx(
1328
- rr,
1344
+ tn,
1329
1345
  {
1330
- onChange: (A) => {
1331
- fe(A.target.value);
1346
+ onChange: (L) => {
1347
+ fe(L.target.value);
1332
1348
  },
1333
1349
  placeholder: "Search",
1334
1350
  autoFocus: !0,
@@ -1337,8 +1353,8 @@ const Ye = 60, ht = 6, pr = (l) => {
1337
1353
  }
1338
1354
  ),
1339
1355
  /* @__PURE__ */ t.jsx(
1340
- nr,
1341
- { pointerEvents: "none", children: /* @__PURE__ */ t.jsx(lr, { as: jt, color: "gray.500" }) }
1356
+ nn,
1357
+ { pointerEvents: "none", children: /* @__PURE__ */ t.jsx(rn, { as: yt, color: "gray.500" }) }
1342
1358
  )
1343
1359
  ] }
1344
1360
  )
@@ -1346,13 +1362,13 @@ const Ye = 60, ht = 6, pr = (l) => {
1346
1362
  }
1347
1363
  ),
1348
1364
  /* @__PURE__ */ t.jsx(
1349
- Kt,
1365
+ Zt,
1350
1366
  {
1351
1367
  paddingX: "0",
1352
1368
  paddingBottom: [6, null, null, 4],
1353
1369
  "data-testid": `navbar-drawer-body-${p.toLowerCase()}`,
1354
1370
  children: /* @__PURE__ */ t.jsxs(
1355
- Je.div,
1371
+ qe.div,
1356
1372
  {
1357
1373
  ...u ? {
1358
1374
  initial: { opacity: 0, y: -5 },
@@ -1371,8 +1387,8 @@ const Ye = 60, ht = 6, pr = (l) => {
1371
1387
  } : {},
1372
1388
  style: {
1373
1389
  display: "flex",
1374
- flexDirection: mr(
1375
- y,
1390
+ flexDirection: mn(
1391
+ j,
1376
1392
  u,
1377
1393
  s
1378
1394
  ),
@@ -1402,7 +1418,7 @@ const Ye = 60, ht = 6, pr = (l) => {
1402
1418
  width: ["100%", null, null, s ? null : "auto"],
1403
1419
  children: [
1404
1420
  d ? /* @__PURE__ */ t.jsx(E, { children: d }) : null,
1405
- j && !u ? /* @__PURE__ */ t.jsx(E, { children: j }) : null,
1421
+ y && !u ? /* @__PURE__ */ t.jsx(E, { children: y }) : null,
1406
1422
  b ? /* @__PURE__ */ t.jsx(
1407
1423
  E,
1408
1424
  {
@@ -1417,7 +1433,7 @@ const Ye = 60, ht = 6, pr = (l) => {
1417
1433
  )
1418
1434
  ]
1419
1435
  },
1420
- q
1436
+ Q
1421
1437
  )
1422
1438
  }
1423
1439
  )
@@ -1429,88 +1445,88 @@ const Ye = 60, ht = 6, pr = (l) => {
1429
1445
  )
1430
1446
  }
1431
1447
  );
1432
- }, vt = (l) => {
1433
- const o = /* @__PURE__ */ new Set();
1434
- return l.reduce((p, d) => {
1435
- var v;
1436
- const j = ((v = d.sections) == null ? void 0 : v.reduce((b, R) => {
1437
- const c = R.links.filter((y) => o.has(y.label) || y.isSearchable !== !0 ? !1 : (o.add(y.label), !0));
1438
- return [...b, ...c];
1439
- }, [])) ?? [];
1440
- return [...p, ...j];
1441
- }, []);
1442
- }, yr = ({
1448
+ }, jn = ({
1443
1449
  source: l,
1444
- onSearchCallback: o,
1450
+ onSearchCallback: i,
1445
1451
  isActive: p
1446
1452
  }) => {
1447
- const [d, j] = W(""), [v, b] = W([]), R = (s, C) => {
1453
+ const [d, y] = W(""), [v, b] = W([]), R = (s, C) => {
1448
1454
  if (!s) return [];
1449
1455
  const g = s.toLowerCase();
1450
1456
  return C.filter((u) => {
1451
- const D = u.label.toLowerCase().includes(g), q = typeof u.additionalContent == "string" && u.additionalContent.toLowerCase().includes(g);
1452
- return D || q;
1457
+ const D = u.label.toLowerCase().includes(g), Q = typeof u.additionalContent == "string" && u.additionalContent.toLowerCase().includes(g);
1458
+ return D || Q;
1453
1459
  }).sort((u, D) => u.label.localeCompare(D.label));
1454
1460
  }, c = (s) => {
1455
- if (j(s), !s) {
1461
+ if (y(s), !s) {
1456
1462
  b([]);
1457
1463
  return;
1458
1464
  }
1459
1465
  const C = R(s, l);
1460
- b(C), o && o(s, C);
1461
- }, y = () => {
1462
- j(""), b([]);
1466
+ b(C), i && i(s, C);
1467
+ }, j = () => {
1468
+ y(""), b([]);
1463
1469
  };
1464
1470
  return Z(() => {
1465
- p || (j(""), b([]));
1471
+ p || (y(""), b([]));
1466
1472
  }, [p]), {
1467
1473
  query: d,
1468
1474
  results: v,
1469
- handleClose: y,
1475
+ handleClose: j,
1470
1476
  handleSearch: c
1471
1477
  };
1472
- }, Ir = ({
1478
+ }, wn = (l) => {
1479
+ const i = /* @__PURE__ */ new Set();
1480
+ return l.reduce((p, d) => {
1481
+ var v;
1482
+ const y = ((v = d.sections) == null ? void 0 : v.reduce((b, R) => {
1483
+ const c = R.links.filter((j) => i.has(j.label) || j.isSearchable !== !0 ? !1 : (i.add(j.label), !0));
1484
+ return [...b, ...c];
1485
+ }, [])) ?? [];
1486
+ return [...p, ...y];
1487
+ }, []);
1488
+ }, Pn = ({
1473
1489
  categories: l = [],
1474
- onCartClick: o,
1490
+ onCartClick: i,
1475
1491
  mainCategoryLabel: p = "Menu",
1476
1492
  logoLink: d = "https://www.everlywell.com",
1477
- hasSearch: j = !0,
1493
+ hasSearch: y = !0,
1478
1494
  onSearchClick: v,
1479
1495
  registrationUrl: b,
1480
1496
  profileUrl: R = "https://secure.everlywell.com/login",
1481
1497
  mobileBottomButtons: c = [],
1482
- numberOfCartItems: y = 0,
1498
+ numberOfCartItems: j = 0,
1483
1499
  linkComponent: s,
1484
1500
  onSearchCallback: C,
1485
1501
  onLinkClick: g,
1486
1502
  onCategoryOpen: u,
1487
1503
  onMobileMenuOpen: D,
1488
- onBackToMainMenu: q,
1489
- onRegisterKitClick: Q,
1490
- onProfileClick: $,
1504
+ onBackToMainMenu: Q,
1505
+ onRegisterKitClick: ee,
1506
+ onProfileClick: F,
1491
1507
  onLogoClick: _,
1492
1508
  shopAllProductsUrl: de,
1493
1509
  onShopAllProductsClick: fe
1494
1510
  }) => {
1495
1511
  var G, be, me;
1496
- const [pe, A] = W(!1), [ee, V] = W(!1), [w, M] = W(null), [we, he] = W(!1), [H, N] = W(!1), [Y, Ee] = W(0), Re = Xe({
1512
+ const [pe, X] = W(!1), [z, L] = W(!1), [w, H] = W(null), [we, he] = W(!1), [A, V] = W(!1), [N, Ee] = W(0), Re = Je({
1497
1513
  base: !1,
1498
1514
  tablet: !1,
1499
1515
  largeTablet: !1,
1500
1516
  desktop: !0
1501
1517
  }) ?? !1;
1502
1518
  Z(() => {
1503
- ne(), M(null);
1519
+ re(), H(null);
1504
1520
  }, [Re]);
1505
1521
  const {
1506
1522
  query: _e,
1507
1523
  results: te,
1508
1524
  handleSearch: Se
1509
- } = yr({
1510
- source: vt(l),
1525
+ } = jn({
1526
+ source: wn(l),
1511
1527
  onSearchCallback: C,
1512
- isActive: ee
1513
- }), ge = te.length > 0, re = s || z, Te = Oe(de, !!s), Pe = _e && /* @__PURE__ */ t.jsxs(
1528
+ isActive: z
1529
+ }), ge = te.length > 0, ne = s || Y, Te = Pe(de, !!s), Oe = _e && /* @__PURE__ */ t.jsxs(
1514
1530
  k,
1515
1531
  { gap: ge ? "6" : 0, direction: "column", children: [
1516
1532
  ge ? /* @__PURE__ */ t.jsx(K, { color: "tints.uiGrey", children: `${te.length} Results` }) : /* @__PURE__ */ t.jsxs(
@@ -1523,7 +1539,7 @@ const Ye = 60, ht = 6, pr = (l) => {
1523
1539
  /* @__PURE__ */ t.jsx(
1524
1540
  xt,
1525
1541
  {
1526
- as: re,
1542
+ as: ne,
1527
1543
  onClick: fe,
1528
1544
  _hover: { textDecoration: "none" },
1529
1545
  width: ["100%", null, null, "auto"],
@@ -1534,10 +1550,10 @@ const Ye = 60, ht = 6, pr = (l) => {
1534
1550
  ] }
1535
1551
  ),
1536
1552
  /* @__PURE__ */ t.jsx(
1537
- Xt,
1553
+ Kt,
1538
1554
  { columns: [1, 1, 1, 4], children: te.map(
1539
1555
  (a, I) => /* @__PURE__ */ t.jsx(
1540
- Jt,
1556
+ Xt,
1541
1557
  { children: /* @__PURE__ */ t.jsx(
1542
1558
  ze,
1543
1559
  {
@@ -1552,60 +1568,57 @@ const Ye = 60, ht = 6, pr = (l) => {
1552
1568
  ) }
1553
1569
  )
1554
1570
  ] }
1555
- ), ne = () => {
1556
- A(!1), M(null);
1571
+ ), re = () => {
1572
+ X(!1), H(null);
1557
1573
  }, B = (a) => "href" in a, ve = (a) => {
1558
- B(a) ? g == null || g(a.label) : M(a);
1574
+ B(a) ? g == null || g(a.label) : H(a);
1559
1575
  }, le = (a) => {
1560
- he(!0), V(!1), M(null), !B(a) && (a.sections || a.spotlightCards) && M(a);
1576
+ he(!0), L(!1), H(null), !B(a) && (a.sections || a.spotlightCards) && H(a);
1561
1577
  }, xe = () => {
1562
1578
  he(!1);
1563
1579
  };
1564
1580
  Z(() => {
1565
1581
  const a = (I) => {
1566
- N(I.detail.isHovering);
1582
+ V(I.detail.isHovering);
1567
1583
  };
1568
1584
  return window.addEventListener(
1569
- Ze,
1585
+ Ke,
1570
1586
  a
1571
1587
  ), () => {
1572
1588
  window.removeEventListener(
1573
- Ze,
1589
+ Ke,
1574
1590
  a
1575
1591
  );
1576
1592
  };
1577
1593
  }, []), Z(() => {
1578
- !we && !H && (M(null), V(!1));
1579
- }, [we, H]), Z(() => {
1594
+ !we && !A && (H(null), L(!1));
1595
+ }, [we, A]), Z(() => {
1580
1596
  let a = window.location.href;
1581
1597
  const I = () => {
1582
- const O = window.location.href;
1583
- O !== a && (a = O, ne(), M(null));
1598
+ const P = window.location.href;
1599
+ P !== a && (a = P, re(), H(null));
1584
1600
  }, U = setInterval(I, 100);
1585
1601
  return window.addEventListener("popstate", I), () => {
1586
1602
  window.removeEventListener("popstate", I), clearInterval(U);
1587
1603
  };
1588
1604
  }, []);
1589
- const ae = /* @__PURE__ */ t.jsx(
1590
- t.Fragment,
1591
- { children: l == null ? void 0 : l.map(
1592
- (a, I) => /* @__PURE__ */ t.jsx(
1593
- Ie,
1594
- {
1595
- onMouseEnter: () => {
1596
- le(a), u == null || u(a.label);
1597
- },
1598
- onMouseLeave: xe,
1599
- isSelected: (w == null ? void 0 : w.label) === a.label,
1600
- as: B(a) && re ? re : z,
1601
- href: B(a) ? a.href : void 0,
1602
- onClick: B(a) ? () => g == null ? void 0 : g(a.label) : void 0,
1603
- ...a.buttonProps,
1604
- children: a.label
1605
+ const ae = l == null ? void 0 : l.map(
1606
+ (a, I) => /* @__PURE__ */ t.jsx(
1607
+ Ie,
1608
+ {
1609
+ onMouseEnter: () => {
1610
+ le(a), u == null || u(a.label);
1605
1611
  },
1606
- `${a.label}-${I}`
1607
- )
1608
- ) }
1612
+ onMouseLeave: xe,
1613
+ isSelected: (w == null ? void 0 : w.label) === a.label,
1614
+ as: B(a) && ne ? ne : Y,
1615
+ href: B(a) ? a.href : void 0,
1616
+ onClick: B(a) ? () => g == null ? void 0 : g(a.label) : void 0,
1617
+ ...a.buttonProps,
1618
+ children: a.label
1619
+ },
1620
+ `${a.label}-${I}`
1621
+ )
1609
1622
  ), Le = (G = l.filter(
1610
1623
  (a) => !B(a) && a.isMobileTopLink !== !1
1611
1624
  )) == null ? void 0 : G.map((a) => {
@@ -1629,24 +1642,22 @@ const Ye = 60, ht = 6, pr = (l) => {
1629
1642
  },
1630
1643
  I.label
1631
1644
  );
1632
- });
1633
- vt(l);
1634
- const ke = /* @__PURE__ */ t.jsxs(
1645
+ }), ke = /* @__PURE__ */ t.jsxs(
1635
1646
  t.Fragment,
1636
1647
  { children: [
1637
1648
  /* @__PURE__ */ t.jsx(
1638
1649
  Ie,
1639
1650
  {
1640
- as: z,
1651
+ as: Y,
1641
1652
  href: R,
1642
1653
  width: "100%",
1643
1654
  backgroundColor: "tints.cream",
1644
- onClick: $,
1655
+ onClick: F,
1645
1656
  children: /* @__PURE__ */ t.jsxs(
1646
1657
  k,
1647
1658
  { gap: "2", children: [
1648
1659
  "My Everly",
1649
- /* @__PURE__ */ t.jsx(ue, { as: dt, size: 24 })
1660
+ /* @__PURE__ */ t.jsx(ue, { as: ft, size: 24 })
1650
1661
  ] }
1651
1662
  )
1652
1663
  },
@@ -1655,16 +1666,16 @@ const Ye = 60, ht = 6, pr = (l) => {
1655
1666
  /* @__PURE__ */ t.jsx(
1656
1667
  Ie,
1657
1668
  {
1658
- as: z,
1669
+ as: Y,
1659
1670
  width: "100%",
1660
1671
  href: b,
1661
1672
  backgroundColor: "tints.cream",
1662
- onClick: Q,
1673
+ onClick: ee,
1663
1674
  children: /* @__PURE__ */ t.jsxs(
1664
1675
  k,
1665
1676
  { gap: "2", children: [
1666
1677
  "Register kit",
1667
- /* @__PURE__ */ t.jsx(ue, { as: ur, size: 24 })
1678
+ /* @__PURE__ */ t.jsx(ue, { as: un, size: 24 })
1668
1679
  ] }
1669
1680
  )
1670
1681
  },
@@ -1681,8 +1692,8 @@ const Ye = 60, ht = 6, pr = (l) => {
1681
1692
  k,
1682
1693
  { direction: ["column", null, null, "row"], gap: "8", children: (be = w == null ? void 0 : w.sections) == null ? void 0 : be.map((a, I) => {
1683
1694
  const U = [];
1684
- for (let O = 0; O < a.links.length; O += 3)
1685
- U.push(a.links.slice(O, O + 3));
1695
+ for (let P = 0; P < a.links.length; P += 3)
1696
+ U.push(a.links.slice(P, P + 3));
1686
1697
  return /* @__PURE__ */ t.jsxs(
1687
1698
  E,
1688
1699
  { children: [
@@ -1701,23 +1712,23 @@ const Ye = 60, ht = 6, pr = (l) => {
1701
1712
  flexDirection: ["column", null, null, "row"],
1702
1713
  gap: [null, null, null, 8],
1703
1714
  children: U == null ? void 0 : U.map(
1704
- (O, Ae) => /* @__PURE__ */ t.jsx(
1715
+ (P, Ae) => /* @__PURE__ */ t.jsx(
1705
1716
  k,
1706
1717
  {
1707
1718
  flexDirection: ["column"],
1708
1719
  gap: [null, null, null, 5],
1709
1720
  marginLeft: [null, null, null, -2],
1710
- children: O == null ? void 0 : O.map(
1711
- (X) => /* @__PURE__ */ t.jsx(
1721
+ children: P == null ? void 0 : P.map(
1722
+ (J) => /* @__PURE__ */ t.jsx(
1712
1723
  ze,
1713
1724
  {
1714
- label: X.label,
1715
- href: X.href,
1716
- additionalContent: X.additionalContent,
1725
+ label: J.label,
1726
+ href: J.href,
1727
+ additionalContent: J.additionalContent,
1717
1728
  linkComponent: s,
1718
- onClick: () => g == null ? void 0 : g(X.label)
1729
+ onClick: () => g == null ? void 0 : g(J.label)
1719
1730
  },
1720
- X.label
1731
+ J.label
1721
1732
  )
1722
1733
  )
1723
1734
  },
@@ -1730,45 +1741,45 @@ const Ye = 60, ht = 6, pr = (l) => {
1730
1741
  `${a.title}-${I}`
1731
1742
  );
1732
1743
  }) }
1733
- ) : null, ie = w != null && w.spotlightCards ? (me = w.spotlightCards) == null ? void 0 : me.map(
1734
- (a) => /* @__PURE__ */ t.jsx(hr, { ...a }, a.title)
1744
+ ) : null, oe = w != null && w.spotlightCards ? (me = w.spotlightCards) == null ? void 0 : me.map(
1745
+ (a) => /* @__PURE__ */ t.jsx(hn, { ...a }, a.title)
1735
1746
  ) : /* @__PURE__ */ t.jsx(E, {});
1736
1747
  return /* @__PURE__ */ t.jsxs(
1737
1748
  t.Fragment,
1738
1749
  { children: [
1739
1750
  /* @__PURE__ */ t.jsx(
1740
- vr,
1751
+ vn,
1741
1752
  {
1742
1753
  desktopTopButtons: ae,
1743
1754
  kitRegistrationElement: /* @__PURE__ */ t.jsx(
1744
1755
  Ie,
1745
1756
  {
1746
- as: z,
1757
+ as: Y,
1747
1758
  href: b,
1748
- onClick: Q,
1759
+ onClick: ee,
1749
1760
  backgroundColor: "tints.cream",
1750
1761
  children: "Register Kit"
1751
1762
  }
1752
1763
  ),
1753
1764
  profileElement: /* @__PURE__ */ t.jsx(
1754
- z,
1755
- { href: R, "aria-label": "login", onClick: $, children: /* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(ue, { as: dt }), "aria-label": "Profile" }) }
1765
+ Y,
1766
+ { href: R, "aria-label": "login", onClick: F, children: /* @__PURE__ */ t.jsx(ce, { icon: /* @__PURE__ */ t.jsx(ue, { as: ft }), "aria-label": "Profile" }) }
1756
1767
  ),
1757
1768
  cartElement: /* @__PURE__ */ t.jsx(
1758
- xr,
1769
+ xn,
1759
1770
  {
1760
1771
  "aria-label": "Cart",
1761
- count: y,
1762
- onClick: o
1772
+ count: j,
1773
+ onClick: i
1763
1774
  }
1764
1775
  ),
1765
1776
  onSearchClick: () => {
1766
- V(!ee), v == null || v();
1777
+ L(!z), v == null || v();
1767
1778
  },
1768
1779
  onMenuClick: () => {
1769
- A(!0), D == null || D();
1780
+ X(!0), D == null || D();
1770
1781
  },
1771
- hasSearch: j,
1782
+ hasSearch: y,
1772
1783
  logoLink: d,
1773
1784
  linkComponent: s,
1774
1785
  onLogoClick: _,
@@ -1782,12 +1793,12 @@ const Ye = 60, ht = 6, pr = (l) => {
1782
1793
  Ge,
1783
1794
  {
1784
1795
  isOpen: pe,
1785
- onClose: ne,
1796
+ onClose: re,
1786
1797
  title: p,
1787
1798
  navDrawerLinks: Le,
1788
1799
  bottomNavButtons: He,
1789
1800
  hasBackButton: !1,
1790
- topOffset: Y
1801
+ topOffset: N
1791
1802
  }
1792
1803
  ),
1793
1804
  /* @__PURE__ */ t.jsx(
@@ -1795,28 +1806,28 @@ const Ye = 60, ht = 6, pr = (l) => {
1795
1806
  {
1796
1807
  isOpen: !!w,
1797
1808
  onClose: () => {
1798
- ne(), M(null);
1809
+ re(), H(null);
1799
1810
  },
1800
1811
  title: (w == null ? void 0 : w.label) || "",
1801
1812
  navDrawerLinks: $e,
1802
- onBackClick: () => M(null),
1803
- spotlightCards: ie,
1813
+ onBackClick: () => H(null),
1814
+ spotlightCards: oe,
1804
1815
  hasOnlySpotlightCards: w == null ? void 0 : w.hasOnlySpotlightCards,
1805
1816
  bottomButton: w == null ? void 0 : w.bottomButton,
1806
- topOffset: Y
1817
+ topOffset: N
1807
1818
  }
1808
1819
  ),
1809
1820
  /* @__PURE__ */ t.jsx(
1810
1821
  Ge,
1811
1822
  {
1812
- isOpen: ee,
1813
- onClose: () => V(!1),
1823
+ isOpen: z,
1824
+ onClose: () => L(!1),
1814
1825
  title: "Search",
1815
- navDrawerLinks: Pe,
1826
+ navDrawerLinks: Oe,
1816
1827
  onSearch: Se,
1817
1828
  hasSearch: !0,
1818
1829
  hasBackButton: !1,
1819
- topOffset: Y
1830
+ topOffset: N
1820
1831
  }
1821
1832
  )
1822
1833
  ] }
@@ -1825,15 +1836,15 @@ const Ye = 60, ht = 6, pr = (l) => {
1825
1836
  );
1826
1837
  };
1827
1838
  export {
1828
- xr as BasketButton,
1829
- kr as CategoryLabel,
1839
+ xn as BasketButton,
1840
+ Dn as CategoryLabel,
1830
1841
  Ie as NavButton,
1831
- Dr as NavSkeleton,
1842
+ In as NavSkeleton,
1832
1843
  Ge as NavbarDrawer,
1833
1844
  ze as NavbarDrawerLink,
1834
- Ir as NavigationBar,
1835
- hr as SpotlightCard,
1836
- Tr as Stepper,
1845
+ Pn as NavigationBar,
1846
+ hn as SpotlightCard,
1847
+ kn as Stepper,
1837
1848
  ce as TopNavIconButton,
1838
- vr as TopNavigation
1849
+ vn as TopNavigation
1839
1850
  };