@everlywell/consumer-ui 1.22.0 → 1.23.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 -1
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +10 -10
- package/index.mjs +427 -409
- 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/NavSkeleton/NavSkeleton.d.ts +20 -0
- package/lib/components/Navbar/NavSkeleton/NavSkeleton.d.ts.map +1 -0
- package/lib/components/Navbar/NavSkeleton/NavSkeleton.stories.d.ts +10 -0
- package/lib/components/Navbar/NavSkeleton/NavSkeleton.stories.d.ts.map +1 -0
- package/lib/components/Navbar/NavSkeleton/index.d.ts +3 -0
- package/lib/components/Navbar/NavSkeleton/index.d.ts.map +1 -0
- 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/lib/components/TemporaryCard/TemporaryCard.d.ts +0 -20
- package/lib/components/TemporaryCard/TemporaryCard.d.ts.map +0 -1
- package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts +0 -8
- package/lib/components/TemporaryCard/TemporaryCard.stories.d.ts.map +0 -1
- package/lib/components/TemporaryCard/index.d.ts +0 -3
- package/lib/components/TemporaryCard/index.d.ts.map +0 -1
package/index.mjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import { Text as
|
|
4
|
-
import { CaretRight as
|
|
5
|
-
var
|
|
1
|
+
import { useSteps as Er, Box as C, Stepper as Rr, Link as ue, Icon as oe, Flex as P, Text as G, Button as _r, Image as wr, IconButton as Sr, VStack as Tr, Skeleton as ie, HStack as Fe, SkeletonCircle as Z } from "@everlywell/ui-kit";
|
|
2
|
+
import ce, { useEffect as kr, forwardRef as Or } from "react";
|
|
3
|
+
import { Text as Pr } from "@chakra-ui/react";
|
|
4
|
+
import { CaretRight as Ae, MagnifyingGlass as Lr, List as Ir, Basket as Dr } from "@phosphor-icons/react";
|
|
5
|
+
var le = { exports: {} }, V = {};
|
|
6
6
|
/**
|
|
7
7
|
* @license React
|
|
8
8
|
* react-jsx-runtime.production.min.js
|
|
@@ -12,23 +12,23 @@ 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 He;
|
|
16
|
+
function Fr() {
|
|
17
|
+
if (He)
|
|
18
18
|
return V;
|
|
19
|
-
|
|
20
|
-
var c =
|
|
21
|
-
function
|
|
22
|
-
var
|
|
19
|
+
He = 1;
|
|
20
|
+
var c = ce, s = Symbol.for("react.element"), v = Symbol.for("react.fragment"), h = Object.prototype.hasOwnProperty, E = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, g = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
21
|
+
function R(y, f, S) {
|
|
22
|
+
var x, _ = {}, 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,
|
|
24
|
+
for (x in f)
|
|
25
|
+
h.call(f, x) && !g.hasOwnProperty(x) && (_[x] = f[x]);
|
|
26
26
|
if (y && y.defaultProps)
|
|
27
|
-
for (
|
|
28
|
-
|
|
29
|
-
return { $$typeof:
|
|
27
|
+
for (x in f = y.defaultProps, f)
|
|
28
|
+
_[x] === void 0 && (_[x] = f[x]);
|
|
29
|
+
return { $$typeof: s, type: y, key: T, ref: O, props: _, _owner: E.current };
|
|
30
30
|
}
|
|
31
|
-
return V.Fragment = v, V.jsx =
|
|
31
|
+
return V.Fragment = v, V.jsx = R, V.jsxs = R, V;
|
|
32
32
|
}
|
|
33
33
|
var M = {};
|
|
34
34
|
/**
|
|
@@ -40,57 +40,57 @@ 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 =
|
|
47
|
-
function
|
|
43
|
+
var We;
|
|
44
|
+
function Ar() {
|
|
45
|
+
return We || (We = 1, process.env.NODE_ENV !== "production" && function() {
|
|
46
|
+
var c = ce, s = Symbol.for("react.element"), v = Symbol.for("react.portal"), h = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), g = Symbol.for("react.profiler"), R = Symbol.for("react.provider"), y = Symbol.for("react.context"), f = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), x = Symbol.for("react.suspense_list"), _ = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), O = Symbol.for("react.offscreen"), Y = Symbol.iterator, Ve = "@@iterator";
|
|
47
|
+
function Me(e) {
|
|
48
48
|
if (e === null || typeof e != "object")
|
|
49
49
|
return null;
|
|
50
|
-
var r = Y && e[Y] || e[
|
|
50
|
+
var r = Y && e[Y] || e[Ve];
|
|
51
51
|
return typeof r == "function" ? r : null;
|
|
52
52
|
}
|
|
53
53
|
var D = c.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
54
|
-
function
|
|
54
|
+
function b(e) {
|
|
55
55
|
{
|
|
56
|
-
for (var r = arguments.length, t = new Array(r > 1 ? r - 1 : 0),
|
|
57
|
-
t[
|
|
58
|
-
|
|
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
|
+
Ye("error", e, t);
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
function
|
|
61
|
+
function Ye(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
|
|
72
|
-
|
|
73
|
-
function
|
|
74
|
-
return !!(typeof e == "string" || typeof e == "function" || e === h || e ===
|
|
71
|
+
var Be = !1, Ne = !1, Ue = !1, ze = !1, Ze = !1, fe;
|
|
72
|
+
fe = Symbol.for("react.module.reference");
|
|
73
|
+
function Ge(e) {
|
|
74
|
+
return !!(typeof e == "string" || typeof e == "function" || e === h || e === g || Ze || e === E || e === S || e === x || ze || e === O || Be || Ne || Ue || typeof e == "object" && e !== null && (e.$$typeof === T || e.$$typeof === _ || e.$$typeof === R || e.$$typeof === y || 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 === fe || e.getModuleId !== void 0));
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
var
|
|
82
|
-
if (
|
|
83
|
-
return
|
|
80
|
+
function Je(e, r, t) {
|
|
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 de(e) {
|
|
88
88
|
return e.displayName || "Context";
|
|
89
89
|
}
|
|
90
90
|
function k(e) {
|
|
91
91
|
if (e == null)
|
|
92
92
|
return null;
|
|
93
|
-
if (typeof e.tag == "number" &&
|
|
93
|
+
if (typeof e.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof e == "function")
|
|
94
94
|
return e.displayName || e.name || null;
|
|
95
95
|
if (typeof e == "string")
|
|
96
96
|
return 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 E:
|
|
105
105
|
return "StrictMode";
|
|
106
106
|
case S:
|
|
107
107
|
return "Suspense";
|
|
108
|
-
case
|
|
108
|
+
case x:
|
|
109
109
|
return "SuspenseList";
|
|
110
110
|
}
|
|
111
111
|
if (typeof e == "object")
|
|
112
112
|
switch (e.$$typeof) {
|
|
113
113
|
case y:
|
|
114
114
|
var r = e;
|
|
115
|
-
return
|
|
116
|
-
case
|
|
115
|
+
return de(r) + ".Consumer";
|
|
116
|
+
case R:
|
|
117
117
|
var t = e;
|
|
118
|
-
return
|
|
118
|
+
return de(t._context) + ".Provider";
|
|
119
119
|
case f:
|
|
120
|
-
return
|
|
121
|
-
case
|
|
122
|
-
var
|
|
123
|
-
return
|
|
120
|
+
return Je(e, e.render, "ForwardRef");
|
|
121
|
+
case _:
|
|
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,18 +132,18 @@ function Lr() {
|
|
|
132
132
|
}
|
|
133
133
|
return null;
|
|
134
134
|
}
|
|
135
|
-
var L = Object.assign, H = 0,
|
|
136
|
-
function
|
|
135
|
+
var L = Object.assign, H = 0, pe, he, ve, ge, xe, be, me;
|
|
136
|
+
function Ce() {
|
|
137
137
|
}
|
|
138
|
-
|
|
139
|
-
function
|
|
138
|
+
Ce.__reactDisabledLog = !0;
|
|
139
|
+
function qe() {
|
|
140
140
|
{
|
|
141
141
|
if (H === 0) {
|
|
142
|
-
|
|
142
|
+
pe = console.log, he = console.info, ve = console.warn, ge = console.error, xe = console.group, be = console.groupCollapsed, me = console.groupEnd;
|
|
143
143
|
var e = {
|
|
144
144
|
configurable: !0,
|
|
145
145
|
enumerable: !0,
|
|
146
|
-
value:
|
|
146
|
+
value: Ce,
|
|
147
147
|
writable: !0
|
|
148
148
|
};
|
|
149
149
|
Object.defineProperties(console, {
|
|
@@ -159,7 +159,7 @@ function Lr() {
|
|
|
159
159
|
H++;
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
function
|
|
162
|
+
function Ke() {
|
|
163
163
|
{
|
|
164
164
|
if (H--, H === 0) {
|
|
165
165
|
var e = {
|
|
@@ -169,64 +169,64 @@ function Lr() {
|
|
|
169
169
|
};
|
|
170
170
|
Object.defineProperties(console, {
|
|
171
171
|
log: L({}, e, {
|
|
172
|
-
value:
|
|
172
|
+
value: pe
|
|
173
173
|
}),
|
|
174
174
|
info: L({}, e, {
|
|
175
|
-
value:
|
|
175
|
+
value: he
|
|
176
176
|
}),
|
|
177
177
|
warn: L({}, e, {
|
|
178
|
-
value:
|
|
178
|
+
value: ve
|
|
179
179
|
}),
|
|
180
180
|
error: L({}, e, {
|
|
181
|
-
value:
|
|
181
|
+
value: ge
|
|
182
182
|
}),
|
|
183
183
|
group: L({}, e, {
|
|
184
|
-
value:
|
|
184
|
+
value: xe
|
|
185
185
|
}),
|
|
186
186
|
groupCollapsed: L({}, e, {
|
|
187
|
-
value:
|
|
187
|
+
value: be
|
|
188
188
|
}),
|
|
189
189
|
groupEnd: L({}, e, {
|
|
190
|
-
value:
|
|
190
|
+
value: me
|
|
191
191
|
})
|
|
192
192
|
});
|
|
193
193
|
}
|
|
194
|
-
H < 0 &&
|
|
194
|
+
H < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
var
|
|
197
|
+
var J = D.ReactCurrentDispatcher, q;
|
|
198
198
|
function B(e, r, t) {
|
|
199
199
|
{
|
|
200
|
-
if (
|
|
200
|
+
if (q === void 0)
|
|
201
201
|
try {
|
|
202
202
|
throw Error();
|
|
203
203
|
} catch (l) {
|
|
204
|
-
var
|
|
205
|
-
|
|
204
|
+
var i = l.stack.trim().match(/\n( *(at )?)/);
|
|
205
|
+
q = i && i[1] || "";
|
|
206
206
|
}
|
|
207
207
|
return `
|
|
208
|
-
` +
|
|
208
|
+
` + q + e;
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
var
|
|
211
|
+
var K = !1, N;
|
|
212
212
|
{
|
|
213
|
-
var
|
|
214
|
-
N = new
|
|
213
|
+
var Xe = typeof WeakMap == "function" ? WeakMap : Map;
|
|
214
|
+
N = new Xe();
|
|
215
215
|
}
|
|
216
|
-
function
|
|
217
|
-
if (!e ||
|
|
216
|
+
function ye(e, r) {
|
|
217
|
+
if (!e || K)
|
|
218
218
|
return "";
|
|
219
219
|
{
|
|
220
220
|
var t = N.get(e);
|
|
221
221
|
if (t !== void 0)
|
|
222
222
|
return t;
|
|
223
223
|
}
|
|
224
|
-
var
|
|
225
|
-
|
|
224
|
+
var i;
|
|
225
|
+
K = !0;
|
|
226
226
|
var l = Error.prepareStackTrace;
|
|
227
227
|
Error.prepareStackTrace = void 0;
|
|
228
|
-
var
|
|
229
|
-
|
|
228
|
+
var u;
|
|
229
|
+
u = J.current, J.current = null, qe();
|
|
230
230
|
try {
|
|
231
231
|
if (r) {
|
|
232
232
|
var o = function() {
|
|
@@ -239,146 +239,146 @@ function Lr() {
|
|
|
239
239
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
240
240
|
try {
|
|
241
241
|
Reflect.construct(o, []);
|
|
242
|
-
} catch (
|
|
243
|
-
|
|
242
|
+
} catch (j) {
|
|
243
|
+
i = j;
|
|
244
244
|
}
|
|
245
245
|
Reflect.construct(e, [], o);
|
|
246
246
|
} else {
|
|
247
247
|
try {
|
|
248
248
|
o.call();
|
|
249
|
-
} catch (
|
|
250
|
-
|
|
249
|
+
} catch (j) {
|
|
250
|
+
i = j;
|
|
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 (j) {
|
|
258
|
+
i = j;
|
|
259
259
|
}
|
|
260
260
|
e();
|
|
261
261
|
}
|
|
262
|
-
} catch (
|
|
263
|
-
if (
|
|
264
|
-
for (var
|
|
265
|
-
`),
|
|
266
|
-
`), d =
|
|
262
|
+
} catch (j) {
|
|
263
|
+
if (j && i && typeof j.stack == "string") {
|
|
264
|
+
for (var a = j.stack.split(`
|
|
265
|
+
`), m = i.stack.split(`
|
|
266
|
+
`), d = a.length - 1, p = m.length - 1; d >= 1 && p >= 0 && a[d] !== m[p]; )
|
|
267
267
|
p--;
|
|
268
268
|
for (; d >= 1 && p >= 0; d--, p--)
|
|
269
|
-
if (
|
|
269
|
+
if (a[d] !== m[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] !== m[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
|
-
|
|
282
|
+
K = !1, J.current = u, Ke(), 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
|
-
function
|
|
288
|
-
return
|
|
287
|
+
function Qe(e, r, t) {
|
|
288
|
+
return ye(e, !1);
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function er(e) {
|
|
291
291
|
var r = e.prototype;
|
|
292
292
|
return !!(r && r.isReactComponent);
|
|
293
293
|
}
|
|
294
|
-
function
|
|
294
|
+
function U(e, r, t) {
|
|
295
295
|
if (e == null)
|
|
296
296
|
return "";
|
|
297
297
|
if (typeof e == "function")
|
|
298
|
-
return
|
|
298
|
+
return ye(e, er(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 x:
|
|
305
305
|
return B("SuspenseList");
|
|
306
306
|
}
|
|
307
307
|
if (typeof e == "object")
|
|
308
308
|
switch (e.$$typeof) {
|
|
309
309
|
case f:
|
|
310
|
-
return
|
|
311
|
-
case
|
|
312
|
-
return
|
|
310
|
+
return Qe(e.render);
|
|
311
|
+
case _:
|
|
312
|
+
return U(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
|
|
316
|
+
return U(u(l), r, t);
|
|
317
317
|
} catch {
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
}
|
|
321
321
|
return "";
|
|
322
322
|
}
|
|
323
|
-
var W = Object.prototype.hasOwnProperty,
|
|
324
|
-
function
|
|
323
|
+
var W = Object.prototype.hasOwnProperty, je = {}, Ee = D.ReactDebugCurrentFrame;
|
|
324
|
+
function z(e) {
|
|
325
325
|
if (e) {
|
|
326
|
-
var r = e._owner, t =
|
|
327
|
-
|
|
326
|
+
var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
|
|
327
|
+
Ee.setExtraStackFrame(t);
|
|
328
328
|
} else
|
|
329
|
-
|
|
329
|
+
Ee.setExtraStackFrame(null);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function rr(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 m = 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 m.name = "Invariant Violation", m;
|
|
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) && (z(l), b("%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), z(null)), a instanceof Error && !(a.message in je) && (je[a.message] = !0, z(l), b("Failed %s type: %s", t, a.message), z(null));
|
|
347
347
|
}
|
|
348
348
|
}
|
|
349
349
|
}
|
|
350
|
-
var
|
|
351
|
-
function
|
|
352
|
-
return
|
|
350
|
+
var tr = Array.isArray;
|
|
351
|
+
function X(e) {
|
|
352
|
+
return tr(e);
|
|
353
353
|
}
|
|
354
|
-
function
|
|
354
|
+
function nr(e) {
|
|
355
355
|
{
|
|
356
356
|
var r = typeof Symbol == "function" && Symbol.toStringTag, t = r && e[Symbol.toStringTag] || e.constructor.name || "Object";
|
|
357
357
|
return t;
|
|
358
358
|
}
|
|
359
359
|
}
|
|
360
|
-
function
|
|
360
|
+
function ir(e) {
|
|
361
361
|
try {
|
|
362
|
-
return
|
|
362
|
+
return Re(e), !1;
|
|
363
363
|
} catch {
|
|
364
364
|
return !0;
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
|
-
function
|
|
367
|
+
function Re(e) {
|
|
368
368
|
return "" + e;
|
|
369
369
|
}
|
|
370
|
-
function
|
|
371
|
-
if (
|
|
372
|
-
return
|
|
370
|
+
function _e(e) {
|
|
371
|
+
if (ir(e))
|
|
372
|
+
return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", nr(e)), Re(e);
|
|
373
373
|
}
|
|
374
|
-
var $ = D.ReactCurrentOwner,
|
|
374
|
+
var $ = D.ReactCurrentOwner, ar = {
|
|
375
375
|
key: !0,
|
|
376
376
|
ref: !0,
|
|
377
377
|
__self: !0,
|
|
378
378
|
__source: !0
|
|
379
|
-
},
|
|
380
|
-
|
|
381
|
-
function
|
|
379
|
+
}, we, Se, Q;
|
|
380
|
+
Q = {};
|
|
381
|
+
function or(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 lr(e) {
|
|
390
390
|
if (W.call(e, "key")) {
|
|
391
391
|
var r = Object.getOwnPropertyDescriptor(e, "key").get;
|
|
392
392
|
if (r && r.isReactWarning)
|
|
@@ -394,16 +394,16 @@ function Lr() {
|
|
|
394
394
|
}
|
|
395
395
|
return e.key !== void 0;
|
|
396
396
|
}
|
|
397
|
-
function
|
|
397
|
+
function sr(e, r) {
|
|
398
398
|
if (typeof e.ref == "string" && $.current && r && $.current.stateNode !== r) {
|
|
399
399
|
var t = k($.current.type);
|
|
400
|
-
|
|
400
|
+
Q[t] || (b('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', k($.current.type), e.ref), Q[t] = !0);
|
|
401
401
|
}
|
|
402
402
|
}
|
|
403
|
-
function
|
|
403
|
+
function ur(e, r) {
|
|
404
404
|
{
|
|
405
405
|
var t = function() {
|
|
406
|
-
|
|
406
|
+
we || (we = !0, b("%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));
|
|
407
407
|
};
|
|
408
408
|
t.isReactWarning = !0, Object.defineProperty(e, "key", {
|
|
409
409
|
get: t,
|
|
@@ -411,10 +411,10 @@ function Lr() {
|
|
|
411
411
|
});
|
|
412
412
|
}
|
|
413
413
|
}
|
|
414
|
-
function
|
|
414
|
+
function cr(e, r) {
|
|
415
415
|
{
|
|
416
416
|
var t = function() {
|
|
417
|
-
|
|
417
|
+
Se || (Se = !0, b("%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,70 +422,70 @@ function Lr() {
|
|
|
422
422
|
});
|
|
423
423
|
}
|
|
424
424
|
}
|
|
425
|
-
var
|
|
426
|
-
var
|
|
425
|
+
var fr = 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
|
|
454
|
+
function dr(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, m = null;
|
|
457
|
+
t !== void 0 && (_e(t), a = "" + t), lr(r) && (_e(r.key), a = "" + r.key), or(r) && (m = r.ref, sr(r, l));
|
|
458
|
+
for (u in r)
|
|
459
|
+
W.call(r, u) && !ar.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 || m) {
|
|
466
466
|
var p = typeof e == "function" ? e.displayName || e.name || "Unknown" : e;
|
|
467
|
-
|
|
467
|
+
a && ur(o, p), m && cr(o, p);
|
|
468
468
|
}
|
|
469
|
-
return
|
|
469
|
+
return fr(e, a, m, l, i, $.current, o);
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
|
-
var
|
|
472
|
+
var ee = D.ReactCurrentOwner, Te = D.ReactDebugCurrentFrame;
|
|
473
473
|
function F(e) {
|
|
474
474
|
if (e) {
|
|
475
|
-
var r = e._owner, t =
|
|
476
|
-
|
|
475
|
+
var r = e._owner, t = U(e.type, e._source, r ? r.type : null);
|
|
476
|
+
Te.setExtraStackFrame(t);
|
|
477
477
|
} else
|
|
478
|
-
|
|
478
|
+
Te.setExtraStackFrame(null);
|
|
479
479
|
}
|
|
480
|
-
var
|
|
481
|
-
|
|
482
|
-
function
|
|
483
|
-
return typeof e == "object" && e !== null && e.$$typeof ===
|
|
480
|
+
var re;
|
|
481
|
+
re = !1;
|
|
482
|
+
function te(e) {
|
|
483
|
+
return typeof e == "object" && e !== null && e.$$typeof === s;
|
|
484
484
|
}
|
|
485
|
-
function
|
|
485
|
+
function ke() {
|
|
486
486
|
{
|
|
487
|
-
if (
|
|
488
|
-
var e = k(
|
|
487
|
+
if (ee.current) {
|
|
488
|
+
var e = k(ee.current.type);
|
|
489
489
|
if (e)
|
|
490
490
|
return `
|
|
491
491
|
|
|
@@ -494,7 +494,7 @@ Check the render method of \`` + e + "`.";
|
|
|
494
494
|
return "";
|
|
495
495
|
}
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function pr(e) {
|
|
498
498
|
{
|
|
499
499
|
if (e !== void 0) {
|
|
500
500
|
var r = e.fileName.replace(/^.*[\\\/]/, ""), t = e.lineNumber;
|
|
@@ -505,10 +505,10 @@ Check your code at ` + r + ":" + t + ".";
|
|
|
505
505
|
return "";
|
|
506
506
|
}
|
|
507
507
|
}
|
|
508
|
-
var
|
|
509
|
-
function
|
|
508
|
+
var Oe = {};
|
|
509
|
+
function hr(e) {
|
|
510
510
|
{
|
|
511
|
-
var r =
|
|
511
|
+
var r = ke();
|
|
512
512
|
if (!r) {
|
|
513
513
|
var t = typeof e == "string" ? e : e.displayName || e.name;
|
|
514
514
|
t && (r = `
|
|
@@ -518,39 +518,39 @@ Check the top-level render call using <` + t + ">.");
|
|
|
518
518
|
return r;
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
|
-
function
|
|
521
|
+
function Pe(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
|
-
var t =
|
|
527
|
-
if (
|
|
526
|
+
var t = hr(r);
|
|
527
|
+
if (Oe[t])
|
|
528
528
|
return;
|
|
529
|
-
|
|
530
|
-
var
|
|
531
|
-
e && e._owner && e._owner !==
|
|
529
|
+
Oe[t] = !0;
|
|
530
|
+
var i = "";
|
|
531
|
+
e && e._owner && e._owner !== ee.current && (i = " It was passed a child from " + k(e._owner.type) + "."), F(e), b('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 Le(e, r) {
|
|
535
535
|
{
|
|
536
536
|
if (typeof e != "object")
|
|
537
537
|
return;
|
|
538
|
-
if (
|
|
538
|
+
if (X(e))
|
|
539
539
|
for (var t = 0; t < e.length; t++) {
|
|
540
|
-
var
|
|
541
|
-
|
|
540
|
+
var i = e[t];
|
|
541
|
+
te(i) && Pe(i, r);
|
|
542
542
|
}
|
|
543
|
-
else if (
|
|
543
|
+
else if (te(e))
|
|
544
544
|
e._store && (e._store.validated = !0);
|
|
545
545
|
else if (e) {
|
|
546
|
-
var l =
|
|
546
|
+
var l = Me(e);
|
|
547
547
|
if (typeof l == "function" && l !== e.entries)
|
|
548
|
-
for (var
|
|
549
|
-
|
|
548
|
+
for (var u = l.call(e), o; !(o = u.next()).done; )
|
|
549
|
+
te(o.value) && Pe(o.value, r);
|
|
550
550
|
}
|
|
551
551
|
}
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function vr(e) {
|
|
554
554
|
{
|
|
555
555
|
var r = e.type;
|
|
556
556
|
if (r == null || typeof r == "string")
|
|
@@ -560,167 +560,140 @@ 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 === _))
|
|
564
564
|
t = r.propTypes;
|
|
565
565
|
else
|
|
566
566
|
return;
|
|
567
567
|
if (t) {
|
|
568
|
-
var
|
|
569
|
-
|
|
570
|
-
} else if (r.PropTypes !== void 0 && !
|
|
571
|
-
|
|
568
|
+
var i = k(r);
|
|
569
|
+
rr(t, e.props, "prop", i, e);
|
|
570
|
+
} else if (r.PropTypes !== void 0 && !re) {
|
|
571
|
+
re = !0;
|
|
572
572
|
var l = k(r);
|
|
573
|
-
|
|
573
|
+
b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", l || "Unknown");
|
|
574
574
|
}
|
|
575
|
-
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved &&
|
|
575
|
+
typeof r.getDefaultProps == "function" && !r.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
576
576
|
}
|
|
577
577
|
}
|
|
578
|
-
function
|
|
578
|
+
function gr(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),
|
|
581
|
+
var i = r[t];
|
|
582
|
+
if (i !== "children" && i !== "key") {
|
|
583
|
+
F(e), b("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
|
-
e.ref !== null && (F(e),
|
|
587
|
+
e.ref !== null && (F(e), b("Invalid attribute `ref` supplied to `React.Fragment`."), F(null));
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
|
-
var
|
|
591
|
-
function
|
|
590
|
+
var Ie = {};
|
|
591
|
+
function De(e, r, t, i, l, u) {
|
|
592
592
|
{
|
|
593
|
-
var o =
|
|
593
|
+
var o = Ge(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 m = pr(l);
|
|
598
|
+
m ? a += m : a += ke();
|
|
599
599
|
var d;
|
|
600
|
-
e === null ? d = "null" :
|
|
600
|
+
e === null ? d = "null" : X(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, b("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 =
|
|
602
|
+
var p = dr(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 (
|
|
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 (X(w)) {
|
|
610
|
+
for (var A = 0; A < w.length; A++)
|
|
611
|
+
Le(w[A], e);
|
|
612
|
+
Object.freeze && Object.freeze(w);
|
|
613
613
|
} else
|
|
614
|
-
|
|
614
|
+
b("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
|
+
Le(w, e);
|
|
617
617
|
}
|
|
618
618
|
if (W.call(r, "key")) {
|
|
619
|
-
var I = k(e),
|
|
620
|
-
return
|
|
621
|
-
}),
|
|
622
|
-
if (!
|
|
623
|
-
var
|
|
624
|
-
|
|
619
|
+
var I = k(e), j = Object.keys(r).filter(function(jr) {
|
|
620
|
+
return jr !== "key";
|
|
621
|
+
}), ne = j.length > 0 ? "{key: someKey, " + j.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
622
|
+
if (!Ie[I + ne]) {
|
|
623
|
+
var yr = j.length > 0 ? "{" + j.join(": ..., ") + ": ...}" : "{}";
|
|
624
|
+
b(`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} />`,
|
|
629
|
+
<%s key={someKey} {...props} />`, ne, I, yr, I), Ie[I + ne] = !0;
|
|
630
630
|
}
|
|
631
631
|
}
|
|
632
|
-
return e === h ?
|
|
632
|
+
return e === h ? gr(p) : vr(p), p;
|
|
633
633
|
}
|
|
634
634
|
}
|
|
635
|
-
function
|
|
636
|
-
return
|
|
635
|
+
function xr(e, r, t) {
|
|
636
|
+
return De(e, r, t, !0);
|
|
637
637
|
}
|
|
638
|
-
function
|
|
639
|
-
return
|
|
638
|
+
function br(e, r, t) {
|
|
639
|
+
return De(e, r, t, !1);
|
|
640
640
|
}
|
|
641
|
-
var mr =
|
|
642
|
-
M.Fragment = h, M.jsx = mr, M.jsxs =
|
|
641
|
+
var mr = br, Cr = xr;
|
|
642
|
+
M.Fragment = h, M.jsx = mr, M.jsxs = Cr;
|
|
643
643
|
}()), M;
|
|
644
644
|
}
|
|
645
|
-
process.env.NODE_ENV === "production" ?
|
|
646
|
-
var
|
|
647
|
-
|
|
648
|
-
title: c,
|
|
649
|
-
subtitle: u,
|
|
650
|
-
children: v
|
|
651
|
-
}) {
|
|
652
|
-
return /* @__PURE__ */ a.jsxs(
|
|
653
|
-
P,
|
|
654
|
-
{
|
|
655
|
-
flexDirection: "column",
|
|
656
|
-
border: "1px solid",
|
|
657
|
-
borderColor: "tints.black",
|
|
658
|
-
padding: "8",
|
|
659
|
-
alignItems: "center",
|
|
660
|
-
children: [
|
|
661
|
-
/* @__PURE__ */ a.jsx(
|
|
662
|
-
Le,
|
|
663
|
-
{ as: "h3", marginBottom: "10", children: c }
|
|
664
|
-
),
|
|
665
|
-
/* @__PURE__ */ a.jsx(
|
|
666
|
-
Le,
|
|
667
|
-
{ as: "h4", marginBottom: "4", fontSize: "xl", children: u }
|
|
668
|
-
),
|
|
669
|
-
v
|
|
670
|
-
]
|
|
671
|
-
}
|
|
672
|
-
);
|
|
673
|
-
}
|
|
674
|
-
const ne = 60, Ae = 6, Ir = (c) => {
|
|
645
|
+
process.env.NODE_ENV === "production" ? le.exports = Fr() : le.exports = Ar();
|
|
646
|
+
var n = le.exports;
|
|
647
|
+
const ae = 60, $e = 6, Hr = (c) => {
|
|
675
648
|
const {
|
|
676
|
-
activeStepIndex:
|
|
649
|
+
activeStepIndex: s,
|
|
677
650
|
hideIndicators: v = !1,
|
|
678
651
|
steps: h,
|
|
679
|
-
stepperTheme:
|
|
652
|
+
stepperTheme: E = {
|
|
680
653
|
light: "eggplant.light",
|
|
681
654
|
base: "eggplant.base"
|
|
682
655
|
}
|
|
683
|
-
} = c, { activeStep:
|
|
684
|
-
index:
|
|
656
|
+
} = c, { activeStep: g, setActiveStep: R } = Er({
|
|
657
|
+
index: s,
|
|
685
658
|
count: h.length
|
|
686
659
|
});
|
|
687
|
-
return
|
|
688
|
-
|
|
689
|
-
}, [
|
|
690
|
-
|
|
691
|
-
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */
|
|
692
|
-
|
|
660
|
+
return kr(() => {
|
|
661
|
+
R(s);
|
|
662
|
+
}, [s, R]), /* @__PURE__ */ n.jsx(
|
|
663
|
+
C,
|
|
664
|
+
{ position: "relative", width: "100%", "data-testid": "stepper", children: /* @__PURE__ */ n.jsx(
|
|
665
|
+
Rr,
|
|
693
666
|
{
|
|
694
667
|
role: "progressbar",
|
|
695
|
-
index:
|
|
668
|
+
index: g,
|
|
696
669
|
width: "100%",
|
|
697
670
|
display: "flex",
|
|
698
671
|
flexWrap: "nowrap",
|
|
699
672
|
children: h.map((y, f) => {
|
|
700
|
-
const S =
|
|
701
|
-
let O = `${
|
|
702
|
-
const Y = `calc(100% - ((${
|
|
703
|
-
return S ? O = Y : (
|
|
704
|
-
|
|
673
|
+
const S = g === f, x = f === 0, _ = f === h.length - 1, T = g > f;
|
|
674
|
+
let O = `${ae}px`;
|
|
675
|
+
const Y = `calc(100% - ((${ae * (h.length - 1)}px) - (${h.length - 1} * ${$e * 2}px)))`;
|
|
676
|
+
return S ? O = Y : (x || _) && (O = `${ae - $e}px`), /* @__PURE__ */ n.jsx(
|
|
677
|
+
C,
|
|
705
678
|
{
|
|
706
679
|
width: O,
|
|
707
680
|
opacity: T || S ? 1 : 0.2,
|
|
708
|
-
paddingRight:
|
|
709
|
-
paddingLeft:
|
|
681
|
+
paddingRight: _ ? "0" : "6px",
|
|
682
|
+
paddingLeft: x ? "0" : "6px",
|
|
710
683
|
transition: "width 0.4s ease-in-out, opacity 0.4s ease-in-out",
|
|
711
|
-
children: /* @__PURE__ */
|
|
712
|
-
|
|
684
|
+
children: /* @__PURE__ */ n.jsx(
|
|
685
|
+
C,
|
|
713
686
|
{
|
|
714
687
|
paddingTop: v ? 2 : 5,
|
|
715
688
|
position: "relative",
|
|
716
689
|
width: "100%",
|
|
717
|
-
children: /* @__PURE__ */
|
|
718
|
-
|
|
690
|
+
children: /* @__PURE__ */ n.jsx(
|
|
691
|
+
C,
|
|
719
692
|
{
|
|
720
693
|
width: "100%",
|
|
721
694
|
position: "absolute",
|
|
722
695
|
top: "0",
|
|
723
|
-
backgroundColor: T ?
|
|
696
|
+
backgroundColor: T ? E.light : E.base,
|
|
724
697
|
height: v ? "4px" : "8px",
|
|
725
698
|
borderRadius: "4",
|
|
726
699
|
left: "0"
|
|
@@ -735,18 +708,18 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
735
708
|
}
|
|
736
709
|
) }
|
|
737
710
|
);
|
|
738
|
-
},
|
|
711
|
+
}, Nr = ce.memo(Hr), Ur = ({
|
|
739
712
|
children: c,
|
|
740
|
-
...
|
|
741
|
-
}) => /* @__PURE__ */
|
|
742
|
-
|
|
743
|
-
{ color: "tints.uiGrey", fontSize: ["md", null, "lg"], ...
|
|
744
|
-
),
|
|
713
|
+
...s
|
|
714
|
+
}) => /* @__PURE__ */ n.jsx(
|
|
715
|
+
Pr,
|
|
716
|
+
{ color: "tints.uiGrey", fontSize: ["md", null, "lg"], ...s, children: c }
|
|
717
|
+
), zr = ({
|
|
745
718
|
label: c,
|
|
746
|
-
additionalContent:
|
|
719
|
+
additionalContent: s,
|
|
747
720
|
...v
|
|
748
|
-
}) => /* @__PURE__ */
|
|
749
|
-
|
|
721
|
+
}) => /* @__PURE__ */ n.jsxs(
|
|
722
|
+
ue,
|
|
750
723
|
{
|
|
751
724
|
display: "flex",
|
|
752
725
|
alignItems: "center",
|
|
@@ -757,13 +730,14 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
757
730
|
_hover: { color: "viridian.base", textDecoration: "none" },
|
|
758
731
|
borderBottom: ["1px", null, "unset"],
|
|
759
732
|
borderColor: ["tints.cream", null, "unset"],
|
|
733
|
+
width: ["100%", null, "fit-content"],
|
|
760
734
|
...v,
|
|
761
735
|
children: [
|
|
762
|
-
/* @__PURE__ */
|
|
763
|
-
|
|
736
|
+
/* @__PURE__ */ n.jsx(
|
|
737
|
+
oe,
|
|
764
738
|
{
|
|
765
739
|
display: ["none", null, "block"],
|
|
766
|
-
as:
|
|
740
|
+
as: Ae,
|
|
767
741
|
fontSize: "lg",
|
|
768
742
|
color: "viridian.light",
|
|
769
743
|
role: "img",
|
|
@@ -771,15 +745,15 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
771
745
|
weight: "bold"
|
|
772
746
|
}
|
|
773
747
|
),
|
|
774
|
-
/* @__PURE__ */
|
|
748
|
+
/* @__PURE__ */ n.jsxs(
|
|
775
749
|
P,
|
|
776
750
|
{ alignItems: "center", gap: "1", width: ["100%", null, "auto"], children: [
|
|
777
|
-
/* @__PURE__ */
|
|
778
|
-
|
|
751
|
+
/* @__PURE__ */ n.jsx(
|
|
752
|
+
G,
|
|
779
753
|
{ fontSize: ["xl", null, "lg"], fontWeight: "medium", children: c }
|
|
780
754
|
),
|
|
781
|
-
|
|
782
|
-
|
|
755
|
+
s && (typeof s == "string" ? /* @__PURE__ */ n.jsx(
|
|
756
|
+
G,
|
|
783
757
|
{
|
|
784
758
|
fontSize: ["xl", null, "lg"],
|
|
785
759
|
fontWeight: "medium",
|
|
@@ -789,14 +763,14 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
789
763
|
color: "viridian.base"
|
|
790
764
|
}
|
|
791
765
|
},
|
|
792
|
-
children:
|
|
766
|
+
children: s
|
|
793
767
|
}
|
|
794
|
-
) :
|
|
795
|
-
/* @__PURE__ */
|
|
796
|
-
|
|
768
|
+
) : s),
|
|
769
|
+
/* @__PURE__ */ n.jsx(
|
|
770
|
+
oe,
|
|
797
771
|
{
|
|
798
772
|
display: ["block", null, "none"],
|
|
799
|
-
as:
|
|
773
|
+
as: Ae,
|
|
800
774
|
fontSize: "2xl",
|
|
801
775
|
color: "tints.uiGrey",
|
|
802
776
|
role: "img",
|
|
@@ -808,50 +782,51 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
808
782
|
)
|
|
809
783
|
]
|
|
810
784
|
}
|
|
811
|
-
),
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
|
|
820
|
-
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
785
|
+
), Wr = (c) => {
|
|
786
|
+
const { isSelected: s, as: v } = c;
|
|
787
|
+
return v === ue ? "tints.cream" : s ? "tints.lightCream" : "transparent";
|
|
788
|
+
}, Zr = Or(
|
|
789
|
+
(c, s) => {
|
|
790
|
+
const { children: v, isSelected: h, ...E } = c, g = c.backgroundColor || Wr(c);
|
|
791
|
+
return /* @__PURE__ */ n.jsx(
|
|
792
|
+
_r,
|
|
793
|
+
{
|
|
794
|
+
ref: s,
|
|
795
|
+
borderRadius: "full",
|
|
796
|
+
backgroundColor: g,
|
|
797
|
+
fontSize: "lg",
|
|
798
|
+
fontWeight: "normal",
|
|
799
|
+
color: "tints.black",
|
|
800
|
+
_hover: {
|
|
801
|
+
backgroundColor: g,
|
|
802
|
+
textDecoration: "none",
|
|
803
|
+
filter: "brightness(0.95)"
|
|
804
|
+
},
|
|
805
|
+
...E,
|
|
806
|
+
children: v
|
|
807
|
+
}
|
|
808
|
+
);
|
|
834
809
|
}
|
|
835
|
-
),
|
|
810
|
+
), Gr = ({
|
|
836
811
|
title: c,
|
|
837
|
-
description:
|
|
812
|
+
description: s,
|
|
838
813
|
imageSrc: v,
|
|
839
814
|
imageElement: h,
|
|
840
|
-
button:
|
|
841
|
-
backgroundColor:
|
|
842
|
-
onClick:
|
|
815
|
+
button: E,
|
|
816
|
+
backgroundColor: g = "viridian.wash",
|
|
817
|
+
onClick: R
|
|
843
818
|
}) => {
|
|
844
|
-
const y = "80px";
|
|
845
|
-
return /* @__PURE__ */
|
|
819
|
+
const y = "80px", f = "200px";
|
|
820
|
+
return /* @__PURE__ */ n.jsxs(
|
|
846
821
|
P,
|
|
847
822
|
{
|
|
848
823
|
direction: ["row", null, "column"],
|
|
849
824
|
alignItems: ["center"],
|
|
850
825
|
borderRadius: "xl",
|
|
851
826
|
overflow: "hidden",
|
|
852
|
-
|
|
853
|
-
backgroundColor:
|
|
854
|
-
onClick:
|
|
827
|
+
height: [y, null, "272px"],
|
|
828
|
+
backgroundColor: g,
|
|
829
|
+
onClick: R,
|
|
855
830
|
"data-testid": "spotlight-card",
|
|
856
831
|
position: "relative",
|
|
857
832
|
transition: "box-shadow 0.2s ease-in-out",
|
|
@@ -860,26 +835,33 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
860
835
|
cursor: "pointer"
|
|
861
836
|
},
|
|
862
837
|
children: [
|
|
863
|
-
/* @__PURE__ */
|
|
864
|
-
|
|
838
|
+
/* @__PURE__ */ n.jsx(
|
|
839
|
+
C,
|
|
865
840
|
{
|
|
866
841
|
width: ["72px", null, "100%"],
|
|
867
842
|
height: ["100%"],
|
|
868
843
|
flex: [null, null, "1"],
|
|
869
|
-
children: v ? /* @__PURE__ */
|
|
870
|
-
|
|
844
|
+
children: v ? /* @__PURE__ */ n.jsx(
|
|
845
|
+
wr,
|
|
871
846
|
{
|
|
872
847
|
src: v,
|
|
873
848
|
objectFit: "cover",
|
|
874
|
-
height: [y, null,
|
|
849
|
+
height: [y, null, f],
|
|
875
850
|
width: "100%",
|
|
876
851
|
alt: "",
|
|
877
852
|
"data-testid": "spotlight-card-image"
|
|
878
853
|
}
|
|
879
|
-
) :
|
|
854
|
+
) : /* @__PURE__ */ n.jsx(
|
|
855
|
+
C,
|
|
856
|
+
{
|
|
857
|
+
height: [y, null, f],
|
|
858
|
+
overflow: "hidden",
|
|
859
|
+
children: h
|
|
860
|
+
}
|
|
861
|
+
)
|
|
880
862
|
}
|
|
881
863
|
),
|
|
882
|
-
/* @__PURE__ */
|
|
864
|
+
/* @__PURE__ */ n.jsxs(
|
|
883
865
|
P,
|
|
884
866
|
{
|
|
885
867
|
direction: ["column", null, "row"],
|
|
@@ -890,28 +872,28 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
890
872
|
width: "100%",
|
|
891
873
|
position: [null, null, "absolute"],
|
|
892
874
|
bottom: [null, null, "0"],
|
|
893
|
-
backgroundColor: [null, null, `${
|
|
875
|
+
backgroundColor: [null, null, `${g}CC`],
|
|
894
876
|
backdropFilter: [null, null, "blur(8px)"],
|
|
895
877
|
children: [
|
|
896
|
-
/* @__PURE__ */
|
|
897
|
-
|
|
878
|
+
/* @__PURE__ */ n.jsxs(
|
|
879
|
+
C,
|
|
898
880
|
{ children: [
|
|
899
|
-
/* @__PURE__ */
|
|
900
|
-
|
|
881
|
+
/* @__PURE__ */ n.jsx(
|
|
882
|
+
G,
|
|
901
883
|
{ fontSize: "lg", fontWeight: "medium", children: c }
|
|
902
884
|
),
|
|
903
|
-
/* @__PURE__ */
|
|
885
|
+
/* @__PURE__ */ n.jsx(G, { fontSize: "sm", children: s })
|
|
904
886
|
] }
|
|
905
887
|
),
|
|
906
|
-
/* @__PURE__ */
|
|
888
|
+
/* @__PURE__ */ n.jsx(C, { display: ["none", null, "block"], children: E })
|
|
907
889
|
]
|
|
908
890
|
}
|
|
909
891
|
)
|
|
910
892
|
]
|
|
911
893
|
}
|
|
912
894
|
);
|
|
913
|
-
},
|
|
914
|
-
|
|
895
|
+
}, se = (c) => /* @__PURE__ */ n.jsx(
|
|
896
|
+
Sr,
|
|
915
897
|
{
|
|
916
898
|
size: "sm",
|
|
917
899
|
width: ["40px", null, "46px"],
|
|
@@ -931,7 +913,7 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
931
913
|
},
|
|
932
914
|
...c
|
|
933
915
|
}
|
|
934
|
-
),
|
|
916
|
+
), $r = () => /* @__PURE__ */ n.jsx(
|
|
935
917
|
"svg",
|
|
936
918
|
{
|
|
937
919
|
width: "116",
|
|
@@ -941,9 +923,9 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
941
923
|
xmlns: "http://www.w3.org/2000/svg",
|
|
942
924
|
role: "img",
|
|
943
925
|
"aria-label": "Everlywell Logo",
|
|
944
|
-
children: /* @__PURE__ */
|
|
926
|
+
children: /* @__PURE__ */ n.jsx(
|
|
945
927
|
"g",
|
|
946
|
-
{ id: "Everlywell Logo", children: /* @__PURE__ */
|
|
928
|
+
{ id: "Everlywell Logo", children: /* @__PURE__ */ n.jsx(
|
|
947
929
|
"path",
|
|
948
930
|
{
|
|
949
931
|
id: "Everlywell Logo_2",
|
|
@@ -955,75 +937,75 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
955
937
|
) }
|
|
956
938
|
)
|
|
957
939
|
}
|
|
958
|
-
),
|
|
940
|
+
), Jr = ({
|
|
959
941
|
desktopTopButtons: c,
|
|
960
|
-
kitRegistrationElement:
|
|
942
|
+
kitRegistrationElement: s,
|
|
961
943
|
profileElement: v,
|
|
962
944
|
cartElement: h,
|
|
963
|
-
onSearchClick:
|
|
964
|
-
onMenuClick:
|
|
965
|
-
hasSearch:
|
|
945
|
+
onSearchClick: E,
|
|
946
|
+
onMenuClick: g,
|
|
947
|
+
hasSearch: R = !1,
|
|
966
948
|
logoLink: y = "https://www.everlywell.com"
|
|
967
|
-
}) => /* @__PURE__ */
|
|
968
|
-
|
|
949
|
+
}) => /* @__PURE__ */ n.jsx(
|
|
950
|
+
C,
|
|
969
951
|
{
|
|
970
952
|
bg: "background.default",
|
|
971
953
|
padding: "4",
|
|
972
954
|
borderBottom: "1px solid",
|
|
973
955
|
borderColor: "tints.lightCream",
|
|
974
|
-
children: /* @__PURE__ */
|
|
956
|
+
children: /* @__PURE__ */ n.jsxs(
|
|
975
957
|
P,
|
|
976
958
|
{ justifyContent: "space-between", alignItems: "center", children: [
|
|
977
|
-
/* @__PURE__ */
|
|
959
|
+
/* @__PURE__ */ n.jsxs(
|
|
978
960
|
P,
|
|
979
961
|
{ alignItems: "center", gap: "5", children: [
|
|
980
|
-
/* @__PURE__ */
|
|
981
|
-
|
|
982
|
-
{ href: y, "aria-label": "Go to homepage", children: /* @__PURE__ */
|
|
962
|
+
/* @__PURE__ */ n.jsx(
|
|
963
|
+
ue,
|
|
964
|
+
{ href: y, "aria-label": "Go to homepage", children: /* @__PURE__ */ n.jsx($r, {}) }
|
|
983
965
|
),
|
|
984
|
-
/* @__PURE__ */
|
|
966
|
+
/* @__PURE__ */ n.jsx(P, { display: ["none", null, "flex"], children: c })
|
|
985
967
|
] }
|
|
986
968
|
),
|
|
987
|
-
/* @__PURE__ */
|
|
969
|
+
/* @__PURE__ */ n.jsxs(
|
|
988
970
|
P,
|
|
989
971
|
{ alignItems: "center", gap: "2", children: [
|
|
990
|
-
/* @__PURE__ */
|
|
991
|
-
|
|
992
|
-
|
|
972
|
+
/* @__PURE__ */ n.jsx(C, { display: ["none", null, "block"], children: s }),
|
|
973
|
+
R ? /* @__PURE__ */ n.jsx(
|
|
974
|
+
se,
|
|
993
975
|
{
|
|
994
976
|
"aria-label": "Search",
|
|
995
|
-
icon: /* @__PURE__ */
|
|
996
|
-
onClick:
|
|
977
|
+
icon: /* @__PURE__ */ n.jsx(oe, { as: Lr }),
|
|
978
|
+
onClick: E
|
|
997
979
|
}
|
|
998
980
|
) : null,
|
|
999
981
|
h,
|
|
1000
|
-
/* @__PURE__ */
|
|
1001
|
-
|
|
1002
|
-
{ display: ["flex", null, "none"], children: /* @__PURE__ */
|
|
1003
|
-
|
|
982
|
+
/* @__PURE__ */ n.jsx(
|
|
983
|
+
C,
|
|
984
|
+
{ display: ["flex", null, "none"], children: /* @__PURE__ */ n.jsx(
|
|
985
|
+
se,
|
|
1004
986
|
{
|
|
1005
|
-
icon: /* @__PURE__ */
|
|
987
|
+
icon: /* @__PURE__ */ n.jsx(Ir, {}),
|
|
1006
988
|
"aria-label": "menu",
|
|
1007
989
|
"data-testid": "menu-button",
|
|
1008
|
-
onClick:
|
|
990
|
+
onClick: g
|
|
1009
991
|
}
|
|
1010
992
|
) }
|
|
1011
993
|
),
|
|
1012
|
-
/* @__PURE__ */
|
|
994
|
+
/* @__PURE__ */ n.jsx(C, { display: ["none", null, "block"], children: v })
|
|
1013
995
|
] }
|
|
1014
996
|
)
|
|
1015
997
|
] }
|
|
1016
998
|
)
|
|
1017
999
|
}
|
|
1018
|
-
),
|
|
1000
|
+
), qr = ({
|
|
1019
1001
|
count: c = 0,
|
|
1020
|
-
...
|
|
1021
|
-
}) => /* @__PURE__ */
|
|
1022
|
-
|
|
1002
|
+
...s
|
|
1003
|
+
}) => /* @__PURE__ */ n.jsxs(
|
|
1004
|
+
C,
|
|
1023
1005
|
{ position: "relative", display: "inline-block", children: [
|
|
1024
|
-
/* @__PURE__ */
|
|
1025
|
-
c > 0 && /* @__PURE__ */
|
|
1026
|
-
|
|
1006
|
+
/* @__PURE__ */ n.jsx(se, { icon: /* @__PURE__ */ n.jsx(Dr, {}), ...s }),
|
|
1007
|
+
c > 0 && /* @__PURE__ */ n.jsx(
|
|
1008
|
+
C,
|
|
1027
1009
|
{
|
|
1028
1010
|
display: "flex",
|
|
1029
1011
|
minWidth: "20px",
|
|
@@ -1044,15 +1026,51 @@ const ne = 60, Ae = 6, Ir = (c) => {
|
|
|
1044
1026
|
}
|
|
1045
1027
|
)
|
|
1046
1028
|
] }
|
|
1029
|
+
), Kr = ({
|
|
1030
|
+
numLinks: c = 5,
|
|
1031
|
+
showPromoButton: s = !0
|
|
1032
|
+
}) => /* @__PURE__ */ n.jsx(
|
|
1033
|
+
Tr,
|
|
1034
|
+
{ spacing: 0, align: "stretch", children: /* @__PURE__ */ n.jsx(
|
|
1035
|
+
C,
|
|
1036
|
+
{ paddingY: 4, paddingX: 6, borderBottomWidth: "1px", children: /* @__PURE__ */ n.jsxs(
|
|
1037
|
+
P,
|
|
1038
|
+
{ justify: "space-between", align: "center", children: [
|
|
1039
|
+
/* @__PURE__ */ n.jsx(ie, { w: "120px", h: "48px" }),
|
|
1040
|
+
/* @__PURE__ */ n.jsxs(
|
|
1041
|
+
Fe,
|
|
1042
|
+
{ spacing: 8, marginLeft: 12, children: [
|
|
1043
|
+
Array.from({ length: c }).map(
|
|
1044
|
+
(v, h) => /* @__PURE__ */ n.jsx(ie, { width: "90px", height: "48px" }, h)
|
|
1045
|
+
),
|
|
1046
|
+
s && /* @__PURE__ */ n.jsx(ie, { width: "110px", height: "48px", borderRadius: "full" })
|
|
1047
|
+
] }
|
|
1048
|
+
),
|
|
1049
|
+
/* @__PURE__ */ n.jsxs(
|
|
1050
|
+
Fe,
|
|
1051
|
+
{ spacing: 4, ml: "auto", children: [
|
|
1052
|
+
/* @__PURE__ */ n.jsx(Z, { width: "120px", height: "48px" }),
|
|
1053
|
+
" ",
|
|
1054
|
+
/* @__PURE__ */ n.jsx(Z, { width: "48px", height: "48px" }),
|
|
1055
|
+
" ",
|
|
1056
|
+
/* @__PURE__ */ n.jsx(Z, { width: "48px", height: "48px" }),
|
|
1057
|
+
" ",
|
|
1058
|
+
/* @__PURE__ */ n.jsx(Z, { width: "48px", height: "48px" }),
|
|
1059
|
+
" "
|
|
1060
|
+
] }
|
|
1061
|
+
)
|
|
1062
|
+
] }
|
|
1063
|
+
) }
|
|
1064
|
+
) }
|
|
1047
1065
|
);
|
|
1048
1066
|
export {
|
|
1049
|
-
|
|
1050
|
-
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
|
|
1057
|
-
|
|
1067
|
+
qr as BasketButton,
|
|
1068
|
+
Ur as CategoryLabel,
|
|
1069
|
+
Zr as NavButton,
|
|
1070
|
+
Kr as NavSkeleton,
|
|
1071
|
+
zr as NavbarDrawerLink,
|
|
1072
|
+
Gr as SpotlightCard,
|
|
1073
|
+
Nr as Stepper,
|
|
1074
|
+
se as TopNavIconButton,
|
|
1075
|
+
Jr as TopNavigation
|
|
1058
1076
|
};
|