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