@everlywell/consumer-ui 1.22.0 → 1.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +9 -9
- package/index.mjs +310 -301
- package/lib/components/Navbar/NavButton/NavButton.d.ts +3 -8
- package/lib/components/Navbar/NavButton/NavButton.d.ts.map +1 -1
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts +52 -0
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.d.ts.map +1 -0
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.stories.d.ts +9 -0
- package/lib/components/Navbar/NavbarDrawer/NavbarDrawer.stories.d.ts.map +1 -0
- package/lib/components/Navbar/NavbarDrawer/index.d.ts +3 -0
- package/lib/components/Navbar/NavbarDrawer/index.d.ts.map +1 -0
- package/lib/components/Navbar/NavbarDrawerLink/NavbarDrawerLink.d.ts.map +1 -1
- package/lib/components/Navbar/SpotlightCard/SpotlightCard.d.ts.map +1 -1
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Flex as P, Heading as
|
|
2
|
-
import
|
|
3
|
-
import { Text as
|
|
4
|
-
import { CaretRight as
|
|
5
|
-
var
|
|
1
|
+
import { Flex as P, Heading as Ie, useSteps as yr, Box as E, Stepper as Er, Link as le, Icon as ie, Text as Z, Button as Rr, Image as _r, IconButton as jr } from "@everlywell/ui-kit";
|
|
2
|
+
import se, { useEffect as wr, forwardRef as Sr } from "react";
|
|
3
|
+
import { Text as Tr } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as De, MagnifyingGlass as kr, List as Or, Basket as Pr } from "@phosphor-icons/react";
|
|
5
|
+
var ae = { exports: {} }, V = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-jsx-runtime.production.min.js
|
|
@@ -12,21 +12,21 @@ var ie = { exports: {} }, V = {};
|
|
|
12
12
|
* This source code is licensed under the MIT license found in the
|
|
13
13
|
* LICENSE file in the root directory of this source tree.
|
|
14
14
|
*/
|
|
15
|
-
var
|
|
16
|
-
function
|
|
17
|
-
if (
|
|
15
|
+
var Fe;
|
|
16
|
+
function Lr() {
|
|
17
|
+
if (Fe)
|
|
18
18
|
return V;
|
|
19
|
-
|
|
20
|
-
var c =
|
|
21
|
-
function _(
|
|
22
|
-
var
|
|
19
|
+
Fe = 1;
|
|
20
|
+
var c = se, s = Symbol.for("react.element"), v = Symbol.for("react.fragment"), h = Object.prototype.hasOwnProperty, R = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function _(C, f, S) {
|
|
22
|
+
var b, j = {}, T = null, O = null;
|
|
23
23
|
S !== void 0 && (T = "" + S), f.key !== void 0 && (T = "" + f.key), f.ref !== void 0 && (O = f.ref);
|
|
24
|
-
for (
|
|
25
|
-
h.call(f,
|
|
26
|
-
if (
|
|
27
|
-
for (
|
|
28
|
-
|
|
29
|
-
return { $$typeof:
|
|
24
|
+
for (b in f)
|
|
25
|
+
h.call(f, b) && !g.hasOwnProperty(b) && (j[b] = f[b]);
|
|
26
|
+
if (C && C.defaultProps)
|
|
27
|
+
for (b in f = C.defaultProps, f)
|
|
28
|
+
j[b] === void 0 && (j[b] = f[b]);
|
|
29
|
+
return { $$typeof: s, type: C, key: T, ref: O, props: j, _owner: R.current };
|
|
30
30
|
}
|
|
31
31
|
return V.Fragment = v, V.jsx = _, V.jsxs = _, V;
|
|
32
32
|
}
|
|
@@ -40,10 +40,10 @@ var M = {};
|
|
|
40
40
|
* This source code is licensed under the MIT license found in the
|
|
41
41
|
* LICENSE file in the root directory of this source tree.
|
|
42
42
|
*/
|
|
43
|
-
var
|
|
44
|
-
function
|
|
45
|
-
return
|
|
46
|
-
var c =
|
|
43
|
+
var Ae;
|
|
44
|
+
function Ir() {
|
|
45
|
+
return Ae || (Ae = 1, process.env.NODE_ENV !== "production" && function() {
|
|
46
|
+
var c = se, s = Symbol.for("react.element"), v = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), _ = Symbol.for("react.provider"), C = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), b = Symbol.for("react.suspense_list"), j = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), Y = Symbol.iterator, We = "@@iterator";
|
|
47
47
|
function $e(e) {
|
|
48
48
|
if (e === null || typeof e != "object")
|
|
49
49
|
return null;
|
|
@@ -53,38 +53,38 @@ function Lr() {
|
|
|
53
53
|
var D = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
54
54
|
function m(e) {
|
|
55
55
|
{
|
|
56
|
-
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0),
|
|
57
|
-
t[
|
|
56
|
+
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0), i = 1; i < r; i++)
|
|
57
|
+
t[i - 1] = arguments[i];
|
|
58
58
|
Ve("error", e, t);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
function Ve(e, r, t) {
|
|
62
62
|
{
|
|
63
|
-
var
|
|
63
|
+
var i = D.ReactDebugCurrentFrame, l = i.getStackAddendum();
|
|
64
64
|
l !== "" && (r += "%s", t = t.concat([l]));
|
|
65
|
-
var
|
|
65
|
+
var u = t.map(function(o) {
|
|
66
66
|
return String(o);
|
|
67
67
|
});
|
|
68
|
-
|
|
68
|
+
u.unshift("Warning: " + r), Function.prototype.apply.call(console[e], console, u);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
|
-
var Me = !1, Ye = !1, Be = !1, Ne = !1, ze = !1,
|
|
72
|
-
|
|
71
|
+
var Me = !1, Ye = !1, Be = !1, Ne = !1, ze = !1, ue;
|
|
72
|
+
ue = Symbol.for("react.module.reference");
|
|
73
73
|
function Ue(e) {
|
|
74
|
-
return !!(typeof e == "string" || typeof e == "function" || e === h || e ===
|
|
74
|
+
return !!(typeof e == "string" || typeof e == "function" || e === h || e === g || ze || e === R || e === S || e === b || Ne || e === O || Me || Ye || Be || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === j || e.$$typeof === _ || e.$$typeof === C || e.$$typeof === f || // This needs to include all possible module reference object
|
|
75
75
|
// types supported by any Flight configuration anywhere since
|
|
76
76
|
// we don't know which Flight build this will end up being used
|
|
77
77
|
// with.
|
|
78
|
-
e.$$typeof ===
|
|
78
|
+
e.$$typeof === ue || e.getModuleId !== void 0));
|
|
79
79
|
}
|
|
80
80
|
function Ze(e, r, t) {
|
|
81
|
-
var
|
|
82
|
-
if (
|
|
83
|
-
return
|
|
81
|
+
var i = e.displayName;
|
|
82
|
+
if (i)
|
|
83
|
+
return i;
|
|
84
84
|
var l = r.displayName || r.name || "";
|
|
85
85
|
return l !== "" ? t + "(" + l + ")" : t;
|
|
86
86
|
}
|
|
87
|
-
function
|
|
87
|
+
function ce(e) {
|
|
88
88
|
return e.displayName || "Context";
|
|
89
89
|
}
|
|
90
90
|
function k(e) {
|
|
@@ -99,32 +99,32 @@ function Lr() {
|
|
|
99
99
|
return "Fragment";
|
|
100
100
|
case v:
|
|
101
101
|
return "Portal";
|
|
102
|
-
case
|
|
102
|
+
case g:
|
|
103
103
|
return "Profiler";
|
|
104
|
-
case
|
|
104
|
+
case R:
|
|
105
105
|
return "StrictMode";
|
|
106
106
|
case S:
|
|
107
107
|
return "Suspense";
|
|
108
|
-
case
|
|
108
|
+
case b:
|
|
109
109
|
return "SuspenseList";
|
|
110
110
|
}
|
|
111
111
|
if (typeof e == "object")
|
|
112
112
|
switch (e.$$typeof) {
|
|
113
|
-
case
|
|
113
|
+
case C:
|
|
114
114
|
var r = e;
|
|
115
|
-
return
|
|
115
|
+
return ce(r) + ".Consumer";
|
|
116
116
|
case _:
|
|
117
117
|
var t = e;
|
|
118
|
-
return
|
|
118
|
+
return ce(t._context) + ".Provider";
|
|
119
119
|
case f:
|
|
120
120
|
return Ze(e, e.render, "ForwardRef");
|
|
121
|
-
case
|
|
122
|
-
var
|
|
123
|
-
return
|
|
121
|
+
case j:
|
|
122
|
+
var i = e.displayName || null;
|
|
123
|
+
return i !== null ? i : k(e.type) || "Memo";
|
|
124
124
|
case T: {
|
|
125
|
-
var l = e,
|
|
125
|
+
var l = e, u = l._payload, o = l._init;
|
|
126
126
|
try {
|
|
127
|
-
return k(o(
|
|
127
|
+
return k(o(u));
|
|
128
128
|
} catch {
|
|
129
129
|
return null;
|
|
130
130
|
}
|
|
@@ -132,14 +132,14 @@ function Lr() {
|
|
|
132
132
|
}
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
135
|
-
var L = Object.assign, H = 0,
|
|
135
|
+
var L = Object.assign, H = 0, fe, de, pe, ve, he, ge, be;
|
|
136
136
|
function me() {
|
|
137
137
|
}
|
|
138
138
|
me.__reactDisabledLog = !0;
|
|
139
139
|
function Ge() {
|
|
140
140
|
{
|
|
141
141
|
if (H === 0) {
|
|
142
|
-
|
|
142
|
+
fe = console.log, de = console.info, pe = console.warn, ve = console.error, he = console.group, ge = console.groupCollapsed, be = console.groupEnd;
|
|
143
143
|
var e = {
|
|
144
144
|
configurable: !0,
|
|
145
145
|
enumerable: !0,
|
|
@@ -169,25 +169,25 @@ function Lr() {
|
|
|
169
169
|
};
|
|
170
170
|
Object.defineProperties(console, {
|
|
171
171
|
log: L({}, e, {
|
|
172
|
-
value:
|
|
172
|
+
value: fe
|
|
173
173
|
}),
|
|
174
174
|
info: L({}, e, {
|
|
175
|
-
value:
|
|
175
|
+
value: de
|
|
176
176
|
}),
|
|
177
177
|
warn: L({}, e, {
|
|
178
|
-
value:
|
|
178
|
+
value: pe
|
|
179
179
|
}),
|
|
180
180
|
error: L({}, e, {
|
|
181
|
-
value:
|
|
181
|
+
value: ve
|
|
182
182
|
}),
|
|
183
183
|
group: L({}, e, {
|
|
184
|
-
value:
|
|
184
|
+
value: he
|
|
185
185
|
}),
|
|
186
186
|
groupCollapsed: L({}, e, {
|
|
187
|
-
value:
|
|
187
|
+
value: ge
|
|
188
188
|
}),
|
|
189
189
|
groupEnd: L({}, e, {
|
|
190
|
-
value:
|
|
190
|
+
value: be
|
|
191
191
|
})
|
|
192
192
|
});
|
|
193
193
|
}
|
|
@@ -201,8 +201,8 @@ function Lr() {
|
|
|
201
201
|
try {
|
|
202
202
|
throw Error();
|
|
203
203
|
} catch (l) {
|
|
204
|
-
var
|
|
205
|
-
J =
|
|
204
|
+
var i = l.stack.trim().match(/\n( *(at )?)/);
|
|
205
|
+
J = i && i[1] || "";
|
|
206
206
|
}
|
|
207
207
|
return `
|
|
208
208
|
` + J + e;
|
|
@@ -213,7 +213,7 @@ function Lr() {
|
|
|
213
213
|
var qe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
214
214
|
N = new qe();
|
|
215
215
|
}
|
|
216
|
-
function
|
|
216
|
+
function xe(e, r) {
|
|
217
217
|
if (!e || q)
|
|
218
218
|
return "";
|
|
219
219
|
{
|
|
@@ -221,12 +221,12 @@ function Lr() {
|
|
|
221
221
|
if (t !== void 0)
|
|
222
222
|
return t;
|
|
223
223
|
}
|
|
224
|
-
var
|
|
224
|
+
var i;
|
|
225
225
|
q = !0;
|
|
226
226
|
var l = Error.prepareStackTrace;
|
|
227
227
|
Error.prepareStackTrace = void 0;
|
|
228
|
-
var
|
|
229
|
-
|
|
228
|
+
var u;
|
|
229
|
+
u = G.current, G.current = null, Ge();
|
|
230
230
|
try {
|
|
231
231
|
if (r) {
|
|
232
232
|
var o = function() {
|
|
@@ -239,53 +239,53 @@ function Lr() {
|
|
|
239
239
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
240
240
|
try {
|
|
241
241
|
Reflect.construct(o, []);
|
|
242
|
-
} catch (
|
|
243
|
-
|
|
242
|
+
} catch (y) {
|
|
243
|
+
i = y;
|
|
244
244
|
}
|
|
245
245
|
Reflect.construct(e, [], o);
|
|
246
246
|
} else {
|
|
247
247
|
try {
|
|
248
248
|
o.call();
|
|
249
|
-
} catch (
|
|
250
|
-
|
|
249
|
+
} catch (y) {
|
|
250
|
+
i = y;
|
|
251
251
|
}
|
|
252
252
|
e.call(o.prototype);
|
|
253
253
|
}
|
|
254
254
|
} else {
|
|
255
255
|
try {
|
|
256
256
|
throw Error();
|
|
257
|
-
} catch (
|
|
258
|
-
|
|
257
|
+
} catch (y) {
|
|
258
|
+
i = y;
|
|
259
259
|
}
|
|
260
260
|
e();
|
|
261
261
|
}
|
|
262
|
-
} catch (
|
|
263
|
-
if (
|
|
264
|
-
for (var
|
|
265
|
-
`),
|
|
266
|
-
`), d =
|
|
262
|
+
} catch (y) {
|
|
263
|
+
if (y && i && typeof y.stack == "string") {
|
|
264
|
+
for (var a = y.stack.split(`
|
|
265
|
+
`), x = i.stack.split(`
|
|
266
|
+
`), d = a.length - 1, p = x.length - 1; d >= 1 && p >= 0 && a[d] !== x[p]; )
|
|
267
267
|
p--;
|
|
268
268
|
for (; d >= 1 && p >= 0; d--, p--)
|
|
269
|
-
if (
|
|
269
|
+
if (a[d] !== x[p]) {
|
|
270
270
|
if (d !== 1 || p !== 1)
|
|
271
271
|
do
|
|
272
|
-
if (d--, p--, p < 0 ||
|
|
273
|
-
var
|
|
274
|
-
` +
|
|
275
|
-
return e.displayName &&
|
|
272
|
+
if (d--, p--, p < 0 || a[d] !== x[p]) {
|
|
273
|
+
var w = `
|
|
274
|
+
` + a[d].replace(" at new ", " at ");
|
|
275
|
+
return e.displayName && w.includes("<anonymous>") && (w = w.replace("<anonymous>", e.displayName)), typeof e == "function" && N.set(e, w), w;
|
|
276
276
|
}
|
|
277
277
|
while (d >= 1 && p >= 0);
|
|
278
278
|
break;
|
|
279
279
|
}
|
|
280
280
|
}
|
|
281
281
|
} finally {
|
|
282
|
-
q = !1, G.current =
|
|
282
|
+
q = !1, G.current = u, Je(), Error.prepareStackTrace = l;
|
|
283
283
|
}
|
|
284
284
|
var A = e ? e.displayName || e.name : "", I = A ? B(A) : "";
|
|
285
285
|
return typeof e == "function" && N.set(e, I), I;
|
|
286
286
|
}
|
|
287
287
|
function Ke(e, r, t) {
|
|
288
|
-
return
|
|
288
|
+
return xe(e, !1);
|
|
289
289
|
}
|
|
290
290
|
function Xe(e) {
|
|
291
291
|
var r = e.prototype;
|
|
@@ -295,55 +295,55 @@ function Lr() {
|
|
|
295
295
|
if (e == null)
|
|
296
296
|
return "";
|
|
297
297
|
if (typeof e == "function")
|
|
298
|
-
return
|
|
298
|
+
return xe(e, Xe(e));
|
|
299
299
|
if (typeof e == "string")
|
|
300
300
|
return B(e);
|
|
301
301
|
switch (e) {
|
|
302
302
|
case S:
|
|
303
303
|
return B("Suspense");
|
|
304
|
-
case
|
|
304
|
+
case b:
|
|
305
305
|
return B("SuspenseList");
|
|
306
306
|
}
|
|
307
307
|
if (typeof e == "object")
|
|
308
308
|
switch (e.$$typeof) {
|
|
309
309
|
case f:
|
|
310
310
|
return Ke(e.render);
|
|
311
|
-
case
|
|
311
|
+
case j:
|
|
312
312
|
return z(e.type, r, t);
|
|
313
313
|
case T: {
|
|
314
|
-
var
|
|
314
|
+
var i = e, l = i._payload, u = i._init;
|
|
315
315
|
try {
|
|
316
|
-
return z(
|
|
316
|
+
return z(u(l), r, t);
|
|
317
317
|
} catch {
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
return "";
|
|
322
322
|
}
|
|
323
|
-
var W = Object.prototype.hasOwnProperty, Ce = {},
|
|
323
|
+
var W = Object.prototype.hasOwnProperty, Ce = {}, ye = D.ReactDebugCurrentFrame;
|
|
324
324
|
function U(e) {
|
|
325
325
|
if (e) {
|
|
326
326
|
var r = e._owner, t = z(e.type, e._source, r ? r.type : null);
|
|
327
|
-
|
|
327
|
+
ye.setExtraStackFrame(t);
|
|
328
328
|
} else
|
|
329
|
-
|
|
329
|
+
ye.setExtraStackFrame(null);
|
|
330
330
|
}
|
|
331
|
-
function Qe(e, r, t,
|
|
331
|
+
function Qe(e, r, t, i, l) {
|
|
332
332
|
{
|
|
333
|
-
var
|
|
333
|
+
var u = Function.call.bind(W);
|
|
334
334
|
for (var o in e)
|
|
335
|
-
if (
|
|
336
|
-
var
|
|
335
|
+
if (u(e, o)) {
|
|
336
|
+
var a = void 0;
|
|
337
337
|
try {
|
|
338
338
|
if (typeof e[o] != "function") {
|
|
339
|
-
var
|
|
340
|
-
throw
|
|
339
|
+
var x = Error((i || "React class") + ": " + t + " type `" + o + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[o] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
340
|
+
throw x.name = "Invariant Violation", x;
|
|
341
341
|
}
|
|
342
|
-
|
|
342
|
+
a = e[o](r, o, i, t, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
343
343
|
} catch (d) {
|
|
344
|
-
|
|
344
|
+
a = d;
|
|
345
345
|
}
|
|
346
|
-
|
|
346
|
+
a && !(a instanceof Error) && (U(l), m("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", t, o, typeof a), U(null)), a instanceof Error && !(a.message in Ce) && (Ce[a.message] = !0, U(l), m("Failed %s type: %s", t, a.message), U(null));
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
}
|
|
@@ -359,26 +359,26 @@ function Lr() {
|
|
|
359
359
|
}
|
|
360
360
|
function tr(e) {
|
|
361
361
|
try {
|
|
362
|
-
return
|
|
362
|
+
return Ee(e), !1;
|
|
363
363
|
} catch {
|
|
364
364
|
return !0;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function
|
|
367
|
+
function Ee(e) {
|
|
368
368
|
return "" + e;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
370
|
+
function Re(e) {
|
|
371
371
|
if (tr(e))
|
|
372
|
-
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rr(e)),
|
|
372
|
+
return m("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", rr(e)), Ee(e);
|
|
373
373
|
}
|
|
374
374
|
var $ = D.ReactCurrentOwner, nr = {
|
|
375
375
|
key: !0,
|
|
376
376
|
ref: !0,
|
|
377
377
|
__self: !0,
|
|
378
378
|
__source: !0
|
|
379
|
-
}, _e,
|
|
379
|
+
}, _e, je, X;
|
|
380
380
|
X = {};
|
|
381
|
-
function
|
|
381
|
+
function ir(e) {
|
|
382
382
|
if (W.call(e, "ref")) {
|
|
383
383
|
var r = Object.getOwnPropertyDescriptor(e, "ref").get;
|
|
384
384
|
if (r && r.isReactWarning)
|
|
@@ -386,7 +386,7 @@ function Lr() {
|
|
|
386
386
|
}
|
|
387
387
|
return e.ref !== void 0;
|
|
388
388
|
}
|
|
389
|
-
function
|
|
389
|
+
function ar(e) {
|
|
390
390
|
if (W.call(e, "key")) {
|
|
391
391
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
392
392
|
if (r && r.isReactWarning)
|
|
@@ -414,7 +414,7 @@ function Lr() {
|
|
|
414
414
|
function sr(e, r) {
|
|
415
415
|
{
|
|
416
416
|
var t = function() {
|
|
417
|
-
|
|
417
|
+
je || (je = !0, m("%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));
|
|
418
418
|
};
|
|
419
419
|
t.isReactWarning = !0, Object.defineProperty(e, "ref", {
|
|
420
420
|
get: t,
|
|
@@ -422,67 +422,67 @@ function Lr() {
|
|
|
422
422
|
});
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
var ur = function(e, r, t,
|
|
426
|
-
var
|
|
425
|
+
var ur = function(e, r, t, i, l, u, o) {
|
|
426
|
+
var a = {
|
|
427
427
|
// This tag allows us to uniquely identify this as a React Element
|
|
428
|
-
$$typeof:
|
|
428
|
+
$$typeof: s,
|
|
429
429
|
// Built-in properties that belong on the element
|
|
430
430
|
type: e,
|
|
431
431
|
key: r,
|
|
432
432
|
ref: t,
|
|
433
433
|
props: o,
|
|
434
434
|
// Record the component responsible for creating this element.
|
|
435
|
-
_owner:
|
|
435
|
+
_owner: u
|
|
436
436
|
};
|
|
437
|
-
return
|
|
437
|
+
return a._store = {}, Object.defineProperty(a._store, "validated", {
|
|
438
438
|
configurable: !1,
|
|
439
439
|
enumerable: !1,
|
|
440
440
|
writable: !0,
|
|
441
441
|
value: !1
|
|
442
|
-
}), Object.defineProperty(
|
|
442
|
+
}), Object.defineProperty(a, "_self", {
|
|
443
443
|
configurable: !1,
|
|
444
444
|
enumerable: !1,
|
|
445
445
|
writable: !1,
|
|
446
|
-
value:
|
|
447
|
-
}), Object.defineProperty(
|
|
446
|
+
value: i
|
|
447
|
+
}), Object.defineProperty(a, "_source", {
|
|
448
448
|
configurable: !1,
|
|
449
449
|
enumerable: !1,
|
|
450
450
|
writable: !1,
|
|
451
451
|
value: l
|
|
452
|
-
}), Object.freeze && (Object.freeze(
|
|
452
|
+
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
453
453
|
};
|
|
454
|
-
function cr(e, r, t,
|
|
454
|
+
function cr(e, r, t, i, l) {
|
|
455
455
|
{
|
|
456
|
-
var
|
|
457
|
-
t !== void 0 && (
|
|
458
|
-
for (
|
|
459
|
-
W.call(r,
|
|
456
|
+
var u, o = {}, a = null, x = null;
|
|
457
|
+
t !== void 0 && (Re(t), a = "" + t), ar(r) && (Re(r.key), a = "" + r.key), ir(r) && (x = r.ref, or(r, l));
|
|
458
|
+
for (u in r)
|
|
459
|
+
W.call(r, u) && !nr.hasOwnProperty(u) && (o[u] = r[u]);
|
|
460
460
|
if (e && e.defaultProps) {
|
|
461
461
|
var d = e.defaultProps;
|
|
462
|
-
for (
|
|
463
|
-
o[
|
|
462
|
+
for (u in d)
|
|
463
|
+
o[u] === void 0 && (o[u] = d[u]);
|
|
464
464
|
}
|
|
465
|
-
if (
|
|
465
|
+
if (a || x) {
|
|
466
466
|
var p = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
467
|
-
|
|
467
|
+
a && lr(o, p), x && sr(o, p);
|
|
468
468
|
}
|
|
469
|
-
return ur(e,
|
|
469
|
+
return ur(e, a, x, l, i, $.current, o);
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
var Q = D.ReactCurrentOwner,
|
|
472
|
+
var Q = D.ReactCurrentOwner, we = D.ReactDebugCurrentFrame;
|
|
473
473
|
function F(e) {
|
|
474
474
|
if (e) {
|
|
475
475
|
var r = e._owner, t = z(e.type, e._source, r ? r.type : null);
|
|
476
|
-
|
|
476
|
+
we.setExtraStackFrame(t);
|
|
477
477
|
} else
|
|
478
|
-
|
|
478
|
+
we.setExtraStackFrame(null);
|
|
479
479
|
}
|
|
480
480
|
var ee;
|
|
481
481
|
ee = !1;
|
|
482
482
|
function re(e) {
|
|
483
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
483
|
+
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function Se() {
|
|
486
486
|
{
|
|
487
487
|
if (Q.current) {
|
|
488
488
|
var e = k(Q.current.type);
|
|
@@ -505,10 +505,10 @@ Check your code at ` + r + ":" + t + ".";
|
|
|
505
505
|
return "";
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
var
|
|
508
|
+
var Te = {};
|
|
509
509
|
function dr(e) {
|
|
510
510
|
{
|
|
511
|
-
var r =
|
|
511
|
+
var r = Se();
|
|
512
512
|
if (!r) {
|
|
513
513
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
514
514
|
t && (r = `
|
|
@@ -518,35 +518,35 @@ Check the top-level render call using <` + t + ">.");
|
|
|
518
518
|
return r;
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function ke(e, r) {
|
|
522
522
|
{
|
|
523
523
|
if (!e._store || e._store.validated || e.key != null)
|
|
524
524
|
return;
|
|
525
525
|
e._store.validated = !0;
|
|
526
526
|
var t = dr(r);
|
|
527
|
-
if (
|
|
527
|
+
if (Te[t])
|
|
528
528
|
return;
|
|
529
|
-
|
|
530
|
-
var
|
|
531
|
-
e && e._owner && e._owner !== Q.current && (
|
|
529
|
+
Te[t] = !0;
|
|
530
|
+
var i = "";
|
|
531
|
+
e && e._owner && e._owner !== Q.current && (i = " It was passed a child from " + k(e._owner.type) + "."), F(e), m('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', t, i), F(null);
|
|
532
532
|
}
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function Oe(e, r) {
|
|
535
535
|
{
|
|
536
536
|
if (typeof e != "object")
|
|
537
537
|
return;
|
|
538
538
|
if (K(e))
|
|
539
539
|
for (var t = 0; t < e.length; t++) {
|
|
540
|
-
var
|
|
541
|
-
re(
|
|
540
|
+
var i = e[t];
|
|
541
|
+
re(i) && ke(i, r);
|
|
542
542
|
}
|
|
543
543
|
else if (re(e))
|
|
544
544
|
e._store && (e._store.validated = !0);
|
|
545
545
|
else if (e) {
|
|
546
546
|
var l = $e(e);
|
|
547
547
|
if (typeof l == "function" && l !== e.entries)
|
|
548
|
-
for (var
|
|
549
|
-
re(o.value) &&
|
|
548
|
+
for (var u = l.call(e), o; !(o = u.next()).done; )
|
|
549
|
+
re(o.value) && ke(o.value, r);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
}
|
|
@@ -560,13 +560,13 @@ Check the top-level render call using <` + t + ">.");
|
|
|
560
560
|
t = r.propTypes;
|
|
561
561
|
else if (typeof r == "object" && (r.$$typeof === f || // Note: Memo only checks outer props here.
|
|
562
562
|
// Inner props are checked in the reconciler.
|
|
563
|
-
r.$$typeof ===
|
|
563
|
+
r.$$typeof === j))
|
|
564
564
|
t = r.propTypes;
|
|
565
565
|
else
|
|
566
566
|
return;
|
|
567
567
|
if (t) {
|
|
568
|
-
var
|
|
569
|
-
Qe(t, e.props, "prop",
|
|
568
|
+
var i = k(r);
|
|
569
|
+
Qe(t, e.props, "prop", i, e);
|
|
570
570
|
} else if (r.PropTypes !== void 0 && !ee) {
|
|
571
571
|
ee = !0;
|
|
572
572
|
var l = k(r);
|
|
@@ -578,78 +578,78 @@ Check the top-level render call using <` + t + ">.");
|
|
|
578
578
|
function vr(e) {
|
|
579
579
|
{
|
|
580
580
|
for (var r = Object.keys(e.props), t = 0; t < r.length; t++) {
|
|
581
|
-
var
|
|
582
|
-
if (
|
|
583
|
-
F(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",
|
|
581
|
+
var i = r[t];
|
|
582
|
+
if (i !== "children" && i !== "key") {
|
|
583
|
+
F(e), m("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), F(null);
|
|
584
584
|
break;
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
587
|
e.ref !== null && (F(e), m("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
|
-
var
|
|
591
|
-
function
|
|
590
|
+
var Pe = {};
|
|
591
|
+
function Le(e, r, t, i, l, u) {
|
|
592
592
|
{
|
|
593
593
|
var o = Ue(e);
|
|
594
594
|
if (!o) {
|
|
595
|
-
var
|
|
596
|
-
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (
|
|
597
|
-
var
|
|
598
|
-
|
|
595
|
+
var a = "";
|
|
596
|
+
(e === void 0 || typeof e == "object" && e !== null && Object.keys(e).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
597
|
+
var x = fr(l);
|
|
598
|
+
x ? a += x : a += Se();
|
|
599
599
|
var d;
|
|
600
|
-
e === null ? d = "null" : K(e) ? d = "array" : e !== void 0 && e.$$typeof ===
|
|
600
|
+
e === null ? d = "null" : K(e) ? d = "array" : e !== void 0 && e.$$typeof === s ? (d = "<" + (k(e.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : d = typeof e, m("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", d, a);
|
|
601
601
|
}
|
|
602
|
-
var p = cr(e, r, t, l,
|
|
602
|
+
var p = cr(e, r, t, l, u);
|
|
603
603
|
if (p == null)
|
|
604
604
|
return p;
|
|
605
605
|
if (o) {
|
|
606
|
-
var
|
|
607
|
-
if (
|
|
608
|
-
if (
|
|
609
|
-
if (K(
|
|
610
|
-
for (var A = 0; A <
|
|
611
|
-
|
|
612
|
-
Object.freeze && Object.freeze(
|
|
606
|
+
var w = r.children;
|
|
607
|
+
if (w !== void 0)
|
|
608
|
+
if (i)
|
|
609
|
+
if (K(w)) {
|
|
610
|
+
for (var A = 0; A < w.length; A++)
|
|
611
|
+
Oe(w[A], e);
|
|
612
|
+
Object.freeze && Object.freeze(w);
|
|
613
613
|
} else
|
|
614
614
|
m("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
615
615
|
else
|
|
616
|
-
|
|
616
|
+
Oe(w, e);
|
|
617
617
|
}
|
|
618
618
|
if (W.call(r, "key")) {
|
|
619
|
-
var I = k(e),
|
|
620
|
-
return
|
|
621
|
-
}), te =
|
|
622
|
-
if (!
|
|
623
|
-
var
|
|
619
|
+
var I = k(e), y = Object.keys(r).filter(function(Cr) {
|
|
620
|
+
return Cr !== "key";
|
|
621
|
+
}), te = y.length > 0 ? "{key: someKey, " + y.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
622
|
+
if (!Pe[I + te]) {
|
|
623
|
+
var xr = y.length > 0 ? "{" + y.join(": ..., ") + ": ...}" : "{}";
|
|
624
624
|
m(`A props object containing a "key" prop is being spread into JSX:
|
|
625
625
|
let props = %s;
|
|
626
626
|
<%s {...props} />
|
|
627
627
|
React keys must be passed directly to JSX without using spread:
|
|
628
628
|
let props = %s;
|
|
629
|
-
<%s key={someKey} {...props} />`, te, I,
|
|
629
|
+
<%s key={someKey} {...props} />`, te, I, xr, I), Pe[I + te] = !0;
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
632
|
return e === h ? vr(p) : pr(p), p;
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
635
|
function hr(e, r, t) {
|
|
636
|
-
return
|
|
636
|
+
return Le(e, r, t, !0);
|
|
637
637
|
}
|
|
638
638
|
function gr(e, r, t) {
|
|
639
|
-
return
|
|
639
|
+
return Le(e, r, t, !1);
|
|
640
640
|
}
|
|
641
|
-
var
|
|
642
|
-
M.Fragment = h, M.jsx =
|
|
641
|
+
var br = gr, mr = hr;
|
|
642
|
+
M.Fragment = h, M.jsx = br, M.jsxs = mr;
|
|
643
643
|
}()), M;
|
|
644
644
|
}
|
|
645
|
-
process.env.NODE_ENV === "production" ?
|
|
646
|
-
var
|
|
647
|
-
function
|
|
645
|
+
process.env.NODE_ENV === "production" ? ae.exports = Lr() : ae.exports = Ir();
|
|
646
|
+
var n = ae.exports;
|
|
647
|
+
function Mr({
|
|
648
648
|
title: c,
|
|
649
|
-
subtitle:
|
|
649
|
+
subtitle: s,
|
|
650
650
|
children: v
|
|
651
651
|
}) {
|
|
652
|
-
return /* @__PURE__ */
|
|
652
|
+
return /* @__PURE__ */ n.jsxs(
|
|
653
653
|
P,
|
|
654
654
|
{
|
|
655
655
|
flexDirection: "column",
|
|
@@ -658,69 +658,69 @@ function $r({
|
|
|
658
658
|
padding: "8",
|
|
659
659
|
alignItems: "center",
|
|
660
660
|
children: [
|
|
661
|
-
/* @__PURE__ */
|
|
662
|
-
|
|
661
|
+
/* @__PURE__ */ n.jsx(
|
|
662
|
+
Ie,
|
|
663
663
|
{ as: "h3", marginBottom: "10", children: c }
|
|
664
664
|
),
|
|
665
|
-
/* @__PURE__ */
|
|
666
|
-
|
|
667
|
-
{ as: "h4", marginBottom: "4", fontSize: "xl", children:
|
|
665
|
+
/* @__PURE__ */ n.jsx(
|
|
666
|
+
Ie,
|
|
667
|
+
{ as: "h4", marginBottom: "4", fontSize: "xl", children: s }
|
|
668
668
|
),
|
|
669
669
|
v
|
|
670
670
|
]
|
|
671
671
|
}
|
|
672
672
|
);
|
|
673
673
|
}
|
|
674
|
-
const ne = 60,
|
|
674
|
+
const ne = 60, He = 6, Dr = (c) => {
|
|
675
675
|
const {
|
|
676
|
-
activeStepIndex:
|
|
676
|
+
activeStepIndex: s,
|
|
677
677
|
hideIndicators: v = !1,
|
|
678
678
|
steps: h,
|
|
679
|
-
stepperTheme:
|
|
679
|
+
stepperTheme: R = {
|
|
680
680
|
light: "eggplant.light",
|
|
681
681
|
base: "eggplant.base"
|
|
682
682
|
}
|
|
683
|
-
} = c, { activeStep:
|
|
684
|
-
index:
|
|
683
|
+
} = c, { activeStep: g, setActiveStep: _ } = yr({
|
|
684
|
+
index: s,
|
|
685
685
|
count: h.length
|
|
686
686
|
});
|
|
687
687
|
return wr(() => {
|
|
688
|
-
_(
|
|
689
|
-
}, [
|
|
688
|
+
_(s);
|
|
689
|
+
}, [s, _]), /* @__PURE__ */ n.jsx(
|
|
690
690
|
E,
|
|
691
|
-
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */
|
|
691
|
+
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ n.jsx(
|
|
692
692
|
Er,
|
|
693
693
|
{
|
|
694
694
|
role: "progressbar",
|
|
695
|
-
index:
|
|
695
|
+
index: g,
|
|
696
696
|
width: "100%",
|
|
697
697
|
display: "flex",
|
|
698
698
|
flexWrap: "nowrap",
|
|
699
|
-
children: h.map((
|
|
700
|
-
const S =
|
|
699
|
+
children: h.map((C, f) => {
|
|
700
|
+
const S = g === f, b = f === 0, j = f === h.length - 1, T = g > f;
|
|
701
701
|
let O = `${ne}px`;
|
|
702
|
-
const Y = `calc(100% - ((${ne * (h.length - 1)}px) - (${h.length - 1} * ${
|
|
703
|
-
return S ? O = Y : (
|
|
702
|
+
const Y = `calc(100% - ((${ne * (h.length - 1)}px) - (${h.length - 1} * ${He * 2}px)))`;
|
|
703
|
+
return S ? O = Y : (b || j) && (O = `${ne - He}px`), /* @__PURE__ */ n.jsx(
|
|
704
704
|
E,
|
|
705
705
|
{
|
|
706
706
|
width: O,
|
|
707
707
|
opacity: T || S ? 1 : 0.2,
|
|
708
|
-
paddingRight:
|
|
709
|
-
paddingLeft:
|
|
708
|
+
paddingRight: j ? "0" : "6px",
|
|
709
|
+
paddingLeft: b ? "0" : "6px",
|
|
710
710
|
transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
|
|
711
|
-
children: /* @__PURE__ */
|
|
711
|
+
children: /* @__PURE__ */ n.jsx(
|
|
712
712
|
E,
|
|
713
713
|
{
|
|
714
714
|
paddingTop: v ? 2 : 5,
|
|
715
715
|
position: "relative",
|
|
716
716
|
width: "100%",
|
|
717
|
-
children: /* @__PURE__ */
|
|
717
|
+
children: /* @__PURE__ */ n.jsx(
|
|
718
718
|
E,
|
|
719
719
|
{
|
|
720
720
|
width: "100%",
|
|
721
721
|
position: "absolute",
|
|
722
722
|
top: "0",
|
|
723
|
-
backgroundColor: T ?
|
|
723
|
+
backgroundColor: T ? R.light : R.base,
|
|
724
724
|
height: v ? "4px" : "8px",
|
|
725
725
|
borderRadius: "4",
|
|
726
726
|
left: "0"
|
|
@@ -735,18 +735,18 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
735
735
|
}
|
|
736
736
|
) }
|
|
737
737
|
);
|
|
738
|
-
},
|
|
738
|
+
}, Yr = se.memo(Dr), Br = ({
|
|
739
739
|
children: c,
|
|
740
|
-
...
|
|
741
|
-
}) => /* @__PURE__ */
|
|
742
|
-
|
|
743
|
-
{ color: "tints.uiGrey", fontSize: ["md", null, "lg"], ...
|
|
744
|
-
),
|
|
740
|
+
...s
|
|
741
|
+
}) => /* @__PURE__ */ n.jsx(
|
|
742
|
+
Tr,
|
|
743
|
+
{ color: "tints.uiGrey", fontSize: ["md", null, "lg"], ...s, children: c }
|
|
744
|
+
), Nr = ({
|
|
745
745
|
label: c,
|
|
746
|
-
additionalContent:
|
|
746
|
+
additionalContent: s,
|
|
747
747
|
...v
|
|
748
|
-
}) => /* @__PURE__ */
|
|
749
|
-
|
|
748
|
+
}) => /* @__PURE__ */ n.jsxs(
|
|
749
|
+
le,
|
|
750
750
|
{
|
|
751
751
|
display: "flex",
|
|
752
752
|
alignItems: "center",
|
|
@@ -757,13 +757,14 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
757
757
|
_hover: { color: "viridian.base", textDecoration: "none" },
|
|
758
758
|
borderBottom: ["1px", null, "unset"],
|
|
759
759
|
borderColor: ["tints.cream", null, "unset"],
|
|
760
|
+
width: ["100%", null, "fit-content"],
|
|
760
761
|
...v,
|
|
761
762
|
children: [
|
|
762
|
-
/* @__PURE__ */
|
|
763
|
-
|
|
763
|
+
/* @__PURE__ */ n.jsx(
|
|
764
|
+
ie,
|
|
764
765
|
{
|
|
765
766
|
display: ["none", null, "block"],
|
|
766
|
-
as:
|
|
767
|
+
as: De,
|
|
767
768
|
fontSize: "lg",
|
|
768
769
|
color: "viridian.light",
|
|
769
770
|
role: "img",
|
|
@@ -771,14 +772,14 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
771
772
|
weight: "bold"
|
|
772
773
|
}
|
|
773
774
|
),
|
|
774
|
-
/* @__PURE__ */
|
|
775
|
+
/* @__PURE__ */ n.jsxs(
|
|
775
776
|
P,
|
|
776
777
|
{ alignItems: "center", gap: "1", width: ["100%", null, "auto"], children: [
|
|
777
|
-
/* @__PURE__ */
|
|
778
|
+
/* @__PURE__ */ n.jsx(
|
|
778
779
|
Z,
|
|
779
780
|
{ fontSize: ["xl", null, "lg"], fontWeight: "medium", children: c }
|
|
780
781
|
),
|
|
781
|
-
|
|
782
|
+
s && (typeof s == "string" ? /* @__PURE__ */ n.jsx(
|
|
782
783
|
Z,
|
|
783
784
|
{
|
|
784
785
|
fontSize: ["xl", null, "lg"],
|
|
@@ -789,14 +790,14 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
789
790
|
color: "viridian.base"
|
|
790
791
|
}
|
|
791
792
|
},
|
|
792
|
-
children:
|
|
793
|
+
children: s
|
|
793
794
|
}
|
|
794
|
-
) :
|
|
795
|
-
/* @__PURE__ */
|
|
796
|
-
|
|
795
|
+
) : s),
|
|
796
|
+
/* @__PURE__ */ n.jsx(
|
|
797
|
+
ie,
|
|
797
798
|
{
|
|
798
799
|
display: ["block", null, "none"],
|
|
799
|
-
as:
|
|
800
|
+
as: De,
|
|
800
801
|
fontSize: "2xl",
|
|
801
802
|
color: "tints.uiGrey",
|
|
802
803
|
role: "img",
|
|
@@ -808,49 +809,50 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
808
809
|
)
|
|
809
810
|
]
|
|
810
811
|
}
|
|
811
|
-
),
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
812
|
+
), Fr = (c) => {
|
|
813
|
+
const { isSelected: s, as: v } = c;
|
|
814
|
+
return v === le ? "tints.cream" : s ? "tints.lightCream" : "transparent";
|
|
815
|
+
}, zr = Sr(
|
|
816
|
+
(c, s) => {
|
|
817
|
+
const { children: v, isSelected: h, ...R } = c, g = c.backgroundColor || Fr(c);
|
|
818
|
+
return /* @__PURE__ */ n.jsx(
|
|
819
|
+
Rr,
|
|
820
|
+
{
|
|
821
|
+
ref: s,
|
|
822
|
+
borderRadius: "full",
|
|
823
|
+
backgroundColor: g,
|
|
824
|
+
fontSize: "lg",
|
|
825
|
+
fontWeight: "normal",
|
|
826
|
+
color: "tints.black",
|
|
827
|
+
_hover: {
|
|
828
|
+
backgroundColor: g,
|
|
829
|
+
textDecoration: "none",
|
|
830
|
+
filter: "brightness(0.95)"
|
|
831
|
+
},
|
|
832
|
+
...R,
|
|
833
|
+
children: v
|
|
834
|
+
}
|
|
835
|
+
);
|
|
834
836
|
}
|
|
835
|
-
),
|
|
837
|
+
), Ur = ({
|
|
836
838
|
title: c,
|
|
837
|
-
description:
|
|
839
|
+
description: s,
|
|
838
840
|
imageSrc: v,
|
|
839
841
|
imageElement: h,
|
|
840
|
-
button:
|
|
841
|
-
backgroundColor:
|
|
842
|
+
button: R,
|
|
843
|
+
backgroundColor: g = "viridian.wash",
|
|
842
844
|
onClick: _
|
|
843
845
|
}) => {
|
|
844
|
-
const
|
|
845
|
-
return /* @__PURE__ */
|
|
846
|
+
const C = "80px", f = "200px";
|
|
847
|
+
return /* @__PURE__ */ n.jsxs(
|
|
846
848
|
P,
|
|
847
849
|
{
|
|
848
850
|
direction: ["row", null, "column"],
|
|
849
851
|
alignItems: ["center"],
|
|
850
852
|
borderRadius: "xl",
|
|
851
853
|
overflow: "hidden",
|
|
852
|
-
|
|
853
|
-
backgroundColor:
|
|
854
|
+
height: [C, null, "272px"],
|
|
855
|
+
backgroundColor: g,
|
|
854
856
|
onClick: _,
|
|
855
857
|
"data-testid": "spotlight-card",
|
|
856
858
|
position: "relative",
|
|
@@ -860,26 +862,33 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
860
862
|
cursor: "pointer"
|
|
861
863
|
},
|
|
862
864
|
children: [
|
|
863
|
-
/* @__PURE__ */
|
|
865
|
+
/* @__PURE__ */ n.jsx(
|
|
864
866
|
E,
|
|
865
867
|
{
|
|
866
868
|
width: ["72px", null, "100%"],
|
|
867
869
|
height: ["100%"],
|
|
868
870
|
flex: [null, null, "1"],
|
|
869
|
-
children: v ? /* @__PURE__ */
|
|
870
|
-
|
|
871
|
+
children: v ? /* @__PURE__ */ n.jsx(
|
|
872
|
+
_r,
|
|
871
873
|
{
|
|
872
874
|
src: v,
|
|
873
875
|
objectFit: "cover",
|
|
874
|
-
height: [
|
|
876
|
+
height: [C, null, f],
|
|
875
877
|
width: "100%",
|
|
876
878
|
alt: "",
|
|
877
879
|
"data-testid": "spotlight-card-image"
|
|
878
880
|
}
|
|
879
|
-
) :
|
|
881
|
+
) : /* @__PURE__ */ n.jsx(
|
|
882
|
+
E,
|
|
883
|
+
{
|
|
884
|
+
height: [C, null, f],
|
|
885
|
+
overflow: "hidden",
|
|
886
|
+
children: h
|
|
887
|
+
}
|
|
888
|
+
)
|
|
880
889
|
}
|
|
881
890
|
),
|
|
882
|
-
/* @__PURE__ */
|
|
891
|
+
/* @__PURE__ */ n.jsxs(
|
|
883
892
|
P,
|
|
884
893
|
{
|
|
885
894
|
direction: ["column", null, "row"],
|
|
@@ -890,27 +899,27 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
890
899
|
width: "100%",
|
|
891
900
|
position: [null, null, "absolute"],
|
|
892
901
|
bottom: [null, null, "0"],
|
|
893
|
-
backgroundColor: [null, null, `${
|
|
902
|
+
backgroundColor: [null, null, `${g}CC`],
|
|
894
903
|
backdropFilter: [null, null, "blur(8px)"],
|
|
895
904
|
children: [
|
|
896
|
-
/* @__PURE__ */
|
|
905
|
+
/* @__PURE__ */ n.jsxs(
|
|
897
906
|
E,
|
|
898
907
|
{ children: [
|
|
899
|
-
/* @__PURE__ */
|
|
908
|
+
/* @__PURE__ */ n.jsx(
|
|
900
909
|
Z,
|
|
901
910
|
{ fontSize: "lg", fontWeight: "medium", children: c }
|
|
902
911
|
),
|
|
903
|
-
/* @__PURE__ */
|
|
912
|
+
/* @__PURE__ */ n.jsx(Z, { fontSize: "sm", children: s })
|
|
904
913
|
] }
|
|
905
914
|
),
|
|
906
|
-
/* @__PURE__ */
|
|
915
|
+
/* @__PURE__ */ n.jsx(E, { display: ["none", null, "block"], children: R })
|
|
907
916
|
]
|
|
908
917
|
}
|
|
909
918
|
)
|
|
910
919
|
]
|
|
911
920
|
}
|
|
912
921
|
);
|
|
913
|
-
}, oe = (c) => /* @__PURE__ */
|
|
922
|
+
}, oe = (c) => /* @__PURE__ */ n.jsx(
|
|
914
923
|
jr,
|
|
915
924
|
{
|
|
916
925
|
size: "sm",
|
|
@@ -931,7 +940,7 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
931
940
|
},
|
|
932
941
|
...c
|
|
933
942
|
}
|
|
934
|
-
),
|
|
943
|
+
), Ar = () => /* @__PURE__ */ n.jsx(
|
|
935
944
|
"svg",
|
|
936
945
|
{
|
|
937
946
|
width: "116",
|
|
@@ -941,9 +950,9 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
941
950
|
xmlns: "http://www.w3.org/2000/svg",
|
|
942
951
|
role: "img",
|
|
943
952
|
"aria-label": "Everlywell Logo",
|
|
944
|
-
children: /* @__PURE__ */
|
|
953
|
+
children: /* @__PURE__ */ n.jsx(
|
|
945
954
|
"g",
|
|
946
|
-
{ id: "Everlywell Logo", children: /* @__PURE__ */
|
|
955
|
+
{ id: "Everlywell Logo", children: /* @__PURE__ */ n.jsx(
|
|
947
956
|
"path",
|
|
948
957
|
{
|
|
949
958
|
id: "Everlywell Logo_2",
|
|
@@ -955,74 +964,74 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
955
964
|
) }
|
|
956
965
|
)
|
|
957
966
|
}
|
|
958
|
-
),
|
|
967
|
+
), Zr = ({
|
|
959
968
|
desktopTopButtons: c,
|
|
960
|
-
kitRegistrationElement:
|
|
969
|
+
kitRegistrationElement: s,
|
|
961
970
|
profileElement: v,
|
|
962
971
|
cartElement: h,
|
|
963
|
-
onSearchClick:
|
|
964
|
-
onMenuClick:
|
|
972
|
+
onSearchClick: R,
|
|
973
|
+
onMenuClick: g,
|
|
965
974
|
hasSearch: _ = !1,
|
|
966
|
-
logoLink:
|
|
967
|
-
}) => /* @__PURE__ */
|
|
975
|
+
logoLink: C = "https://www.everlywell.com"
|
|
976
|
+
}) => /* @__PURE__ */ n.jsx(
|
|
968
977
|
E,
|
|
969
978
|
{
|
|
970
979
|
bg: "background.default",
|
|
971
980
|
padding: "4",
|
|
972
981
|
borderBottom: "1px solid",
|
|
973
982
|
borderColor: "tints.lightCream",
|
|
974
|
-
children: /* @__PURE__ */
|
|
983
|
+
children: /* @__PURE__ */ n.jsxs(
|
|
975
984
|
P,
|
|
976
985
|
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
977
|
-
/* @__PURE__ */
|
|
986
|
+
/* @__PURE__ */ n.jsxs(
|
|
978
987
|
P,
|
|
979
988
|
{ alignItems: "center", gap: "5", children: [
|
|
980
|
-
/* @__PURE__ */
|
|
981
|
-
|
|
982
|
-
{ href:
|
|
989
|
+
/* @__PURE__ */ n.jsx(
|
|
990
|
+
le,
|
|
991
|
+
{ href: C, "aria-label": "Go to homepage", children: /* @__PURE__ */ n.jsx(Ar, {}) }
|
|
983
992
|
),
|
|
984
|
-
/* @__PURE__ */
|
|
993
|
+
/* @__PURE__ */ n.jsx(P, { display: ["none", null, "flex"], children: c })
|
|
985
994
|
] }
|
|
986
995
|
),
|
|
987
|
-
/* @__PURE__ */
|
|
996
|
+
/* @__PURE__ */ n.jsxs(
|
|
988
997
|
P,
|
|
989
998
|
{ alignItems: "center", gap: "2", children: [
|
|
990
|
-
/* @__PURE__ */
|
|
991
|
-
_ ? /* @__PURE__ */
|
|
999
|
+
/* @__PURE__ */ n.jsx(E, { display: ["none", null, "block"], children: s }),
|
|
1000
|
+
_ ? /* @__PURE__ */ n.jsx(
|
|
992
1001
|
oe,
|
|
993
1002
|
{
|
|
994
1003
|
"aria-label": "Search",
|
|
995
|
-
icon: /* @__PURE__ */
|
|
996
|
-
onClick:
|
|
1004
|
+
icon: /* @__PURE__ */ n.jsx(ie, { as: kr }),
|
|
1005
|
+
onClick: R
|
|
997
1006
|
}
|
|
998
1007
|
) : null,
|
|
999
1008
|
h,
|
|
1000
|
-
/* @__PURE__ */
|
|
1009
|
+
/* @__PURE__ */ n.jsx(
|
|
1001
1010
|
E,
|
|
1002
|
-
{ display: ["flex", null, "none"], children: /* @__PURE__ */
|
|
1011
|
+
{ display: ["flex", null, "none"], children: /* @__PURE__ */ n.jsx(
|
|
1003
1012
|
oe,
|
|
1004
1013
|
{
|
|
1005
|
-
icon: /* @__PURE__ */
|
|
1014
|
+
icon: /* @__PURE__ */ n.jsx(Or, {}),
|
|
1006
1015
|
"aria-label": "menu",
|
|
1007
1016
|
"data-testid": "menu-button",
|
|
1008
|
-
onClick:
|
|
1017
|
+
onClick: g
|
|
1009
1018
|
}
|
|
1010
1019
|
) }
|
|
1011
1020
|
),
|
|
1012
|
-
/* @__PURE__ */
|
|
1021
|
+
/* @__PURE__ */ n.jsx(E, { display: ["none", null, "block"], children: v })
|
|
1013
1022
|
] }
|
|
1014
1023
|
)
|
|
1015
1024
|
] }
|
|
1016
1025
|
)
|
|
1017
1026
|
}
|
|
1018
|
-
),
|
|
1027
|
+
), Gr = ({
|
|
1019
1028
|
count: c = 0,
|
|
1020
|
-
...
|
|
1021
|
-
}) => /* @__PURE__ */
|
|
1029
|
+
...s
|
|
1030
|
+
}) => /* @__PURE__ */ n.jsxs(
|
|
1022
1031
|
E,
|
|
1023
1032
|
{ position: "relative", display: "inline-block", children: [
|
|
1024
|
-
/* @__PURE__ */
|
|
1025
|
-
c > 0 && /* @__PURE__ */
|
|
1033
|
+
/* @__PURE__ */ n.jsx(oe, { icon: /* @__PURE__ */ n.jsx(Pr, {}), ...s }),
|
|
1034
|
+
c > 0 && /* @__PURE__ */ n.jsx(
|
|
1026
1035
|
E,
|
|
1027
1036
|
{
|
|
1028
1037
|
display: "flex",
|
|
@@ -1046,13 +1055,13 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
1046
1055
|
] }
|
|
1047
1056
|
);
|
|
1048
1057
|
export {
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1058
|
+
Gr as BasketButton,
|
|
1059
|
+
Br as CategoryLabel,
|
|
1060
|
+
zr as NavButton,
|
|
1061
|
+
Nr as NavbarDrawerLink,
|
|
1062
|
+
Ur as SpotlightCard,
|
|
1063
|
+
Yr as Stepper,
|
|
1064
|
+
Mr as TemporaryCard,
|
|
1056
1065
|
oe as TopNavIconButton,
|
|
1057
|
-
|
|
1066
|
+
Zr as TopNavigation
|
|
1058
1067
|
};
|