@mx-cartographer/insights-ui 1.16.11-alpha.JB7 → 1.16.11-alpha.JB9
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/dist/index.es.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { jsx as e, jsxs as
|
|
1
|
+
import { jsx as e, jsxs as h, Fragment as O } from "react/jsx-runtime";
|
|
2
2
|
import * as i from "react";
|
|
3
|
-
import Z, { useState as oe, useRef as
|
|
4
|
-
import { BottomSheetTransition as Le, P as
|
|
3
|
+
import Z, { useState as oe, useRef as D, useLayoutEffect as ke, useMemo as me, useCallback as He, forwardRef as Y, useEffect as se } from "react";
|
|
4
|
+
import { BottomSheetTransition as Le, P as S, Text as M, MerchantLogo as U, InstitutionLogo as V, H3 as ae, CategoryIcon as Ce, createMXTheme as Re, CheckmarkFilledIcon as Ie, H2 as ee } from "@mxenabled/mxui";
|
|
5
5
|
import ge from "@mui/material/Dialog";
|
|
6
6
|
import Ve from "react-confetti";
|
|
7
|
-
import { Icon as
|
|
7
|
+
import { Icon as g } from "@mxenabled/mx-icons";
|
|
8
8
|
import u from "@mui/material/Box";
|
|
9
9
|
import p from "@mui/material/Stack";
|
|
10
10
|
import { useInView as Ge } from "react-intersection-observer";
|
|
@@ -21,10 +21,10 @@ import { ResponsiveChartContainer as we, ChartsReferenceLine as ne, ChartsXAxis
|
|
|
21
21
|
import { useChartContainerDimensions as ve } from "@mui/x-charts/internals";
|
|
22
22
|
import { animated as I, to as q, useSpring as We } from "@react-spring/web";
|
|
23
23
|
import ze from "@mui/material/Paper";
|
|
24
|
-
import { CardHeader as
|
|
25
|
-
import
|
|
24
|
+
import { CardHeader as Te } from "@mui/material";
|
|
25
|
+
import T from "@mui/material/Button";
|
|
26
26
|
import Ze from "@mui/material/DialogTitle";
|
|
27
|
-
import
|
|
27
|
+
import De from "@mui/material/FormControl";
|
|
28
28
|
import Ue from "@mui/material/FormControlLabel";
|
|
29
29
|
import je from "@mui/material/Radio";
|
|
30
30
|
import Xe from "@mui/material/RadioGroup";
|
|
@@ -44,7 +44,7 @@ const Be = ({
|
|
|
44
44
|
showBackground: a = !1,
|
|
45
45
|
width: c = 450
|
|
46
46
|
}) => {
|
|
47
|
-
const [
|
|
47
|
+
const [d, m] = Z.useState(!1);
|
|
48
48
|
return Z.useEffect(() => {
|
|
49
49
|
m(!!t);
|
|
50
50
|
}, [t]), /* @__PURE__ */ e(
|
|
@@ -68,7 +68,7 @@ const Be = ({
|
|
|
68
68
|
}
|
|
69
69
|
},
|
|
70
70
|
TransitionComponent: Le,
|
|
71
|
-
disableScrollLock:
|
|
71
|
+
disableScrollLock: d,
|
|
72
72
|
hideBackdrop: a,
|
|
73
73
|
onClose: o,
|
|
74
74
|
open: s,
|
|
@@ -112,10 +112,10 @@ const Be = ({
|
|
|
112
112
|
percent: n,
|
|
113
113
|
height: l = 12
|
|
114
114
|
}) => {
|
|
115
|
-
const [s, o] = Ge({ triggerOnce: !0 }), [a, c] = Z.useState("0%"),
|
|
115
|
+
const [s, o] = Ge({ triggerOnce: !0 }), [a, c] = Z.useState("0%"), d = n > 100 ? 100 : n;
|
|
116
116
|
return Z.useEffect(() => {
|
|
117
|
-
o && c(`${
|
|
118
|
-
}, [o,
|
|
117
|
+
o && c(`${d}%`);
|
|
118
|
+
}, [o, d]), /* @__PURE__ */ e(Z.Fragment, { children: /* @__PURE__ */ h(
|
|
119
119
|
u,
|
|
120
120
|
{
|
|
121
121
|
ref: s,
|
|
@@ -162,8 +162,8 @@ const Be = ({
|
|
|
162
162
|
height: n = 8,
|
|
163
163
|
percentageCompleteText: l,
|
|
164
164
|
progressColorOverride: s
|
|
165
|
-
}) => /* @__PURE__ */
|
|
166
|
-
/* @__PURE__ */
|
|
165
|
+
}) => /* @__PURE__ */ h(u, { className: "mx-insights-goal-progress", "data-ui-test": "goal-progress", sx: { mb: 16 }, children: [
|
|
166
|
+
/* @__PURE__ */ h(
|
|
167
167
|
p,
|
|
168
168
|
{
|
|
169
169
|
sx: {
|
|
@@ -173,9 +173,9 @@ const Be = ({
|
|
|
173
173
|
mt: 4
|
|
174
174
|
},
|
|
175
175
|
children: [
|
|
176
|
-
/* @__PURE__ */ e(
|
|
176
|
+
/* @__PURE__ */ e(g, { color: "success", fill: !0, name: "check_circle", size: 16 }),
|
|
177
177
|
/* @__PURE__ */ e(
|
|
178
|
-
|
|
178
|
+
S,
|
|
179
179
|
{
|
|
180
180
|
bold: !0,
|
|
181
181
|
className: "mx-insights-goal-progress",
|
|
@@ -200,7 +200,7 @@ const Be = ({
|
|
|
200
200
|
children: t,
|
|
201
201
|
gradientOverride: r,
|
|
202
202
|
title: n
|
|
203
|
-
}) => /* @__PURE__ */
|
|
203
|
+
}) => /* @__PURE__ */ h(
|
|
204
204
|
u,
|
|
205
205
|
{
|
|
206
206
|
className: "mx-insights-gradient-box",
|
|
@@ -211,7 +211,7 @@ const Be = ({
|
|
|
211
211
|
},
|
|
212
212
|
children: [
|
|
213
213
|
n && /* @__PURE__ */ e(
|
|
214
|
-
|
|
214
|
+
S,
|
|
215
215
|
{
|
|
216
216
|
className: "mx-insights-gradient-box-title",
|
|
217
217
|
"data-ui-test": "gradient-box-title",
|
|
@@ -240,9 +240,9 @@ const Be = ({
|
|
|
240
240
|
subHeader: o,
|
|
241
241
|
height: a
|
|
242
242
|
}) => {
|
|
243
|
-
const [c,
|
|
243
|
+
const [c, d] = Z.useState(null), m = () => {
|
|
244
244
|
const E = document.getElementsByClassName("mx-mini-insight-card")[0].clientHeight, y = document.getElementsByClassName("mx-mini-insight-card-header")[0].clientHeight + document.getElementsByClassName("mx-mini-insight-card-content-body")[0].clientHeight, k = E - y - 24;
|
|
245
|
-
|
|
245
|
+
d(Math.floor(k / 20));
|
|
246
246
|
};
|
|
247
247
|
return Z.useEffect(() => (m(), window.addEventListener("resize", m), () => window.removeEventListener("resize", m)), []), /* @__PURE__ */ e(
|
|
248
248
|
j,
|
|
@@ -251,7 +251,7 @@ const Be = ({
|
|
|
251
251
|
"aria-labelledby": t.guid,
|
|
252
252
|
className: "mx-mini-insight-card",
|
|
253
253
|
sx: { height: a, pb: 24, pt: 0, px: 0 },
|
|
254
|
-
children: t.dismissed_at ? n : /* @__PURE__ */
|
|
254
|
+
children: t.dismissed_at ? n : /* @__PURE__ */ h(Z.Fragment, { children: [
|
|
255
255
|
/* @__PURE__ */ e(
|
|
256
256
|
Oe,
|
|
257
257
|
{
|
|
@@ -262,7 +262,7 @@ const Be = ({
|
|
|
262
262
|
titleTypographyProps: { fontSize: 18, fontWeight: 600, variant: "h3" }
|
|
263
263
|
}
|
|
264
264
|
),
|
|
265
|
-
/* @__PURE__ */
|
|
265
|
+
/* @__PURE__ */ h(
|
|
266
266
|
Se,
|
|
267
267
|
{
|
|
268
268
|
className: "mx-mini-insight-card-content",
|
|
@@ -311,23 +311,23 @@ const Be = ({
|
|
|
311
311
|
tabIndex: o = 0,
|
|
312
312
|
...a
|
|
313
313
|
}) => {
|
|
314
|
-
const [c,
|
|
315
|
-
m(), l(k,
|
|
314
|
+
const [c, d] = oe(null), m = () => d(null), E = (k, x) => {
|
|
315
|
+
m(), l(k, x);
|
|
316
316
|
};
|
|
317
|
-
return /* @__PURE__ */
|
|
317
|
+
return /* @__PURE__ */ h(O, { children: [
|
|
318
318
|
/* @__PURE__ */ e(
|
|
319
319
|
z,
|
|
320
320
|
{
|
|
321
321
|
"aria-hidden": t,
|
|
322
322
|
"aria-label": r,
|
|
323
323
|
onClick: (k) => {
|
|
324
|
-
|
|
324
|
+
d(k.currentTarget), s();
|
|
325
325
|
},
|
|
326
326
|
sx: { position: "relative !important", bottom: 6 },
|
|
327
327
|
tabIndex: o,
|
|
328
328
|
...a,
|
|
329
329
|
children: /* @__PURE__ */ e(
|
|
330
|
-
|
|
330
|
+
g,
|
|
331
331
|
{
|
|
332
332
|
name: "more_horiz",
|
|
333
333
|
size: 24,
|
|
@@ -349,7 +349,7 @@ const Be = ({
|
|
|
349
349
|
onClose: m,
|
|
350
350
|
open: !!c,
|
|
351
351
|
transformOrigin: { horizontal: "right", vertical: "top" },
|
|
352
|
-
children: n.map(({ icon: k, key:
|
|
352
|
+
children: n.map(({ icon: k, key: x, text: J }, v) => /* @__PURE__ */ h(Fe, { onClick: () => E(v, x), sx: { p: 12 }, children: [
|
|
353
353
|
/* @__PURE__ */ e(ie, { sx: { minWidth: "32px !important" }, children: k }),
|
|
354
354
|
/* @__PURE__ */ e(
|
|
355
355
|
re,
|
|
@@ -362,7 +362,7 @@ const Be = ({
|
|
|
362
362
|
}
|
|
363
363
|
}
|
|
364
364
|
)
|
|
365
|
-
] },
|
|
365
|
+
] }, x))
|
|
366
366
|
}
|
|
367
367
|
)
|
|
368
368
|
] });
|
|
@@ -372,7 +372,7 @@ const Be = ({
|
|
|
372
372
|
legendLabelAvg: n,
|
|
373
373
|
legendLabelMain: l,
|
|
374
374
|
legendStyle: s = {}
|
|
375
|
-
}) => /* @__PURE__ */
|
|
375
|
+
}) => /* @__PURE__ */ h(
|
|
376
376
|
p,
|
|
377
377
|
{
|
|
378
378
|
sx: {
|
|
@@ -384,7 +384,7 @@ const Be = ({
|
|
|
384
384
|
...s
|
|
385
385
|
},
|
|
386
386
|
children: [
|
|
387
|
-
l && /* @__PURE__ */
|
|
387
|
+
l && /* @__PURE__ */ h(p, { alignItems: "center", flexDirection: "row", gap: 8, children: [
|
|
388
388
|
/* @__PURE__ */ e(
|
|
389
389
|
"svg",
|
|
390
390
|
{
|
|
@@ -399,7 +399,7 @@ const Be = ({
|
|
|
399
399
|
),
|
|
400
400
|
/* @__PURE__ */ e(M, { id: "chartLegendLabel", sx: { fontSize: 11, fontWeight: 400 }, variant: "XSmall", children: l })
|
|
401
401
|
] }),
|
|
402
|
-
t && n && /* @__PURE__ */
|
|
402
|
+
t && n && /* @__PURE__ */ h(p, { alignItems: "center", flexDirection: "row", gap: 8, children: [
|
|
403
403
|
/* @__PURE__ */ e(
|
|
404
404
|
p,
|
|
405
405
|
{
|
|
@@ -421,7 +421,7 @@ const Be = ({
|
|
|
421
421
|
))
|
|
422
422
|
}
|
|
423
423
|
),
|
|
424
|
-
/* @__PURE__ */
|
|
424
|
+
/* @__PURE__ */ h(M, { sx: { fontSize: 11, fontWeight: 400, ml: 0 }, variant: "XSmall", children: [
|
|
425
425
|
n,
|
|
426
426
|
": ",
|
|
427
427
|
t
|
|
@@ -438,32 +438,32 @@ const Be = ({
|
|
|
438
438
|
style: o,
|
|
439
439
|
...a
|
|
440
440
|
}) => {
|
|
441
|
-
const c = F(),
|
|
442
|
-
|
|
441
|
+
const c = F(), d = D(null);
|
|
442
|
+
ke(() => {
|
|
443
443
|
const f = new ResizeObserver(() => {
|
|
444
444
|
window.requestAnimationFrame(() => {
|
|
445
|
-
if (
|
|
446
|
-
const { width:
|
|
445
|
+
if (d.current) {
|
|
446
|
+
const { width: C, height: W } = d.current.getBoundingClientRect();
|
|
447
447
|
if (W === 0) {
|
|
448
|
-
const w =
|
|
448
|
+
const w = d.current;
|
|
449
449
|
w.style.height = "1px", w.style.transform = `translate3d(${o.x?.get()}px, ${Number(o.y?.get()) - 1}px, 0px)`;
|
|
450
450
|
}
|
|
451
|
-
const P =
|
|
451
|
+
const P = C / 2, $ = d.current.querySelector("text");
|
|
452
452
|
$ && $.setAttribute("transform", `translate(${P}, -10)`);
|
|
453
453
|
}
|
|
454
454
|
});
|
|
455
455
|
});
|
|
456
|
-
return
|
|
457
|
-
|
|
456
|
+
return d.current && f.observe(d.current), () => {
|
|
457
|
+
d.current && f.unobserve(d.current);
|
|
458
458
|
};
|
|
459
459
|
}, []);
|
|
460
|
-
const { ariaLabel: m, category: E, categoryGuid: y, formattedAmount: k, imageSize:
|
|
461
|
-
return /* @__PURE__ */
|
|
460
|
+
const { ariaLabel: m, category: E, categoryGuid: y, formattedAmount: k, imageSize: x, merchantGuid: J } = r[n], v = s === n ? "bold" : 400;
|
|
461
|
+
return /* @__PURE__ */ h("g", { "aria-label": m, children: [
|
|
462
462
|
/* @__PURE__ */ e(
|
|
463
463
|
I.rect,
|
|
464
464
|
{
|
|
465
465
|
...a,
|
|
466
|
-
ref:
|
|
466
|
+
ref: d,
|
|
467
467
|
fill: t[n],
|
|
468
468
|
rx: 2,
|
|
469
469
|
style: o
|
|
@@ -472,22 +472,22 @@ const Be = ({
|
|
|
472
472
|
(J || y) && /* @__PURE__ */ e(
|
|
473
473
|
I.foreignObject,
|
|
474
474
|
{
|
|
475
|
-
height:
|
|
476
|
-
width:
|
|
475
|
+
height: x || 32,
|
|
476
|
+
width: x || 32,
|
|
477
477
|
x: o.x && o.width ? q(
|
|
478
478
|
[o.x, o.width],
|
|
479
|
-
(f,
|
|
479
|
+
(f, C) => Number(f ?? 0) + Number(C ?? 0) / 2 - (x || 32) / 2
|
|
480
480
|
) : 0,
|
|
481
481
|
y: o.y && o.height ? q(
|
|
482
482
|
[o.y, o.height],
|
|
483
|
-
(f,
|
|
483
|
+
(f, C) => Number(f ?? 0) + Number(C ?? 0) / 2 - (x || 32) / 2
|
|
484
484
|
) : 0,
|
|
485
485
|
children: /* @__PURE__ */ e(
|
|
486
486
|
I.div,
|
|
487
487
|
{
|
|
488
488
|
style: {
|
|
489
|
-
width:
|
|
490
|
-
height:
|
|
489
|
+
width: x || 32,
|
|
490
|
+
height: x || 32,
|
|
491
491
|
display: "flex",
|
|
492
492
|
alignItems: "center",
|
|
493
493
|
justifyContent: "center"
|
|
@@ -498,7 +498,7 @@ const Be = ({
|
|
|
498
498
|
alt: E,
|
|
499
499
|
categoryGuid: y || "",
|
|
500
500
|
merchantGuid: J || "",
|
|
501
|
-
size:
|
|
501
|
+
size: x || 32
|
|
502
502
|
}
|
|
503
503
|
)
|
|
504
504
|
}
|
|
@@ -512,7 +512,7 @@ const Be = ({
|
|
|
512
512
|
fontSize: 11,
|
|
513
513
|
fontWeight: l ? "bold" : v,
|
|
514
514
|
textAnchor: "middle",
|
|
515
|
-
x: o.x && o.width ? q([o.x, o.width], (f,
|
|
515
|
+
x: o.x && o.width ? q([o.x, o.width], (f, C) => Number(f ?? 0) + Number(C ?? 0) / 2) : 0,
|
|
516
516
|
y: o.y ? o.y.to((f) => f - (E ? 26 : 14)) : 0,
|
|
517
517
|
children: k
|
|
518
518
|
}
|
|
@@ -524,7 +524,7 @@ const Be = ({
|
|
|
524
524
|
fontSize: 9,
|
|
525
525
|
fontWeight: s === n && !l ? "bold" : 400,
|
|
526
526
|
textAnchor: "middle",
|
|
527
|
-
x: o.x && o.width ? q([o.x, o.width], (f,
|
|
527
|
+
x: o.x && o.width ? q([o.x, o.width], (f, C) => Number(f ?? 0) + Number(C ?? 0) / 2) : 0,
|
|
528
528
|
y: o.y ? o.y.to((f) => f - 14) : 0,
|
|
529
529
|
children: E
|
|
530
530
|
}
|
|
@@ -544,14 +544,14 @@ const Be = ({
|
|
|
544
544
|
},
|
|
545
545
|
legendLabelAvg: a,
|
|
546
546
|
legendLabelMain: c,
|
|
547
|
-
selectedTabIndex:
|
|
547
|
+
selectedTabIndex: d,
|
|
548
548
|
removeSelectedTabColorChange: m,
|
|
549
549
|
onBarClick: E
|
|
550
550
|
}) => {
|
|
551
|
-
const y = F(), { containerRef: k, height:
|
|
551
|
+
const y = F(), { containerRef: k, height: x, width: J } = ve(), f = n.reduce((w, H) => Math.min(w, H.value), 1 / 0) < 0, C = me(() => {
|
|
552
552
|
const w = `${r}80`;
|
|
553
|
-
return m ? n.map(() => r) :
|
|
554
|
-
}, [r, n,
|
|
553
|
+
return m ? n.map(() => r) : d === void 0 ? [...new Array(n.length - 1).fill(w), r] : n.map((H, L) => L === d ? r : w);
|
|
554
|
+
}, [r, n, d]), W = He(
|
|
555
555
|
(w, { dataIndex: H }) => E && E(H),
|
|
556
556
|
[E]
|
|
557
557
|
), P = me(() => {
|
|
@@ -581,16 +581,16 @@ const Be = ({
|
|
|
581
581
|
]
|
|
582
582
|
};
|
|
583
583
|
}, [n]);
|
|
584
|
-
return /* @__PURE__ */
|
|
584
|
+
return /* @__PURE__ */ h(p, { alignItems: "center", sx: { mb: l ? 16 : 24, width: "100%" }, children: [
|
|
585
585
|
/* @__PURE__ */ e(
|
|
586
586
|
u,
|
|
587
587
|
{
|
|
588
588
|
ref: k,
|
|
589
589
|
sx: { height: s || (l ? 120 : 172), width: "100%", mb: 8 },
|
|
590
|
-
children: /* @__PURE__ */
|
|
590
|
+
children: /* @__PURE__ */ h(
|
|
591
591
|
we,
|
|
592
592
|
{
|
|
593
|
-
height:
|
|
593
|
+
height: x,
|
|
594
594
|
margin: {
|
|
595
595
|
top: 45,
|
|
596
596
|
right: o.right,
|
|
@@ -634,7 +634,7 @@ const Be = ({
|
|
|
634
634
|
slots: {
|
|
635
635
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
636
636
|
axisTickLabel: ({ text: w, ownerState: H, ...L }) => {
|
|
637
|
-
const R = n[
|
|
637
|
+
const R = n[d ?? n.length - 1]?.label;
|
|
638
638
|
return /* @__PURE__ */ e(
|
|
639
639
|
"text",
|
|
640
640
|
{
|
|
@@ -677,11 +677,11 @@ const Be = ({
|
|
|
677
677
|
rt,
|
|
678
678
|
{
|
|
679
679
|
...R,
|
|
680
|
-
colorRange:
|
|
680
|
+
colorRange: C,
|
|
681
681
|
data: n,
|
|
682
682
|
dataIndex: H.dataIndex,
|
|
683
683
|
removeSelectedTabColorChange: m,
|
|
684
|
-
selectedTabIndex:
|
|
684
|
+
selectedTabIndex: d || n.length - 1,
|
|
685
685
|
style: L
|
|
686
686
|
}
|
|
687
687
|
);
|
|
@@ -712,15 +712,15 @@ const Be = ({
|
|
|
712
712
|
style: l,
|
|
713
713
|
...s
|
|
714
714
|
}) => {
|
|
715
|
-
const o = F(), a =
|
|
715
|
+
const o = F(), a = D(null), { width: c } = We({
|
|
716
716
|
width: l.width
|
|
717
717
|
});
|
|
718
|
-
|
|
718
|
+
ke(() => {
|
|
719
719
|
const J = new ResizeObserver(() => {
|
|
720
720
|
window.requestAnimationFrame(() => {
|
|
721
721
|
if (a.current) {
|
|
722
|
-
const { width: v } = a.current.getBoundingClientRect(), f = v / 2,
|
|
723
|
-
|
|
722
|
+
const { width: v } = a.current.getBoundingClientRect(), f = v / 2, C = a.current.querySelector("text");
|
|
723
|
+
C && C.setAttribute("transform", `translate(${f}, -8)`);
|
|
724
724
|
}
|
|
725
725
|
});
|
|
726
726
|
});
|
|
@@ -728,8 +728,8 @@ const Be = ({
|
|
|
728
728
|
a.current && J.unobserve(a.current);
|
|
729
729
|
};
|
|
730
730
|
}, []);
|
|
731
|
-
const { ariaLabelComparison:
|
|
732
|
-
return /* @__PURE__ */
|
|
731
|
+
const { ariaLabelComparison: d, ariaLabelMain: m, formattedComparison: E, formattedMain: y } = r[n.index], k = n.type === 0 ? m : d, x = n.type === 0 ? y : E;
|
|
732
|
+
return /* @__PURE__ */ h("g", { "aria-label": k, children: [
|
|
733
733
|
/* @__PURE__ */ e(I.rect, { ...s, ref: a, fill: t, rx: 2, style: l }),
|
|
734
734
|
/* @__PURE__ */ e(
|
|
735
735
|
I.text,
|
|
@@ -741,7 +741,7 @@ const Be = ({
|
|
|
741
741
|
transform: c.to((J) => `translate(${J / 2}, -8)`),
|
|
742
742
|
x: l.x,
|
|
743
743
|
y: l.y,
|
|
744
|
-
children:
|
|
744
|
+
children: x
|
|
745
745
|
}
|
|
746
746
|
)
|
|
747
747
|
] });
|
|
@@ -751,7 +751,7 @@ const Be = ({
|
|
|
751
751
|
legendLabelMain: n,
|
|
752
752
|
legendStyle: l = {},
|
|
753
753
|
mainColor: s
|
|
754
|
-
}) => /* @__PURE__ */
|
|
754
|
+
}) => /* @__PURE__ */ h(
|
|
755
755
|
p,
|
|
756
756
|
{
|
|
757
757
|
sx: {
|
|
@@ -763,7 +763,7 @@ const Be = ({
|
|
|
763
763
|
...l
|
|
764
764
|
},
|
|
765
765
|
children: [
|
|
766
|
-
n && /* @__PURE__ */
|
|
766
|
+
n && /* @__PURE__ */ h(p, { alignItems: "center", flexDirection: "row", gap: 8, children: [
|
|
767
767
|
/* @__PURE__ */ e(
|
|
768
768
|
"svg",
|
|
769
769
|
{
|
|
@@ -778,7 +778,7 @@ const Be = ({
|
|
|
778
778
|
),
|
|
779
779
|
/* @__PURE__ */ e(M, { id: "legendMain", sx: { fontSize: 11, fontWeight: 400 }, variant: "XSmall", children: n })
|
|
780
780
|
] }),
|
|
781
|
-
r && /* @__PURE__ */
|
|
781
|
+
r && /* @__PURE__ */ h(p, { alignItems: "center", flexDirection: "row", gap: 8, children: [
|
|
782
782
|
/* @__PURE__ */ e(
|
|
783
783
|
"svg",
|
|
784
784
|
{
|
|
@@ -804,7 +804,7 @@ const Be = ({
|
|
|
804
804
|
isMini: o = !1,
|
|
805
805
|
legendLabelComparison: a,
|
|
806
806
|
legendLabelMain: c,
|
|
807
|
-
margin:
|
|
807
|
+
margin: d = {
|
|
808
808
|
bottom: 30,
|
|
809
809
|
left: 40,
|
|
810
810
|
right: 40,
|
|
@@ -812,23 +812,23 @@ const Be = ({
|
|
|
812
812
|
},
|
|
813
813
|
onBarClick: m
|
|
814
814
|
}) => {
|
|
815
|
-
const E = F(), { containerRef: y, height: k, width:
|
|
816
|
-
const
|
|
817
|
-
m?.(v * 2 + Number(
|
|
815
|
+
const E = F(), { containerRef: y, height: k, width: x } = ve(), J = ({ dataIndex: v, seriesId: f }) => {
|
|
816
|
+
const C = f.toString().split("-").pop();
|
|
817
|
+
m?.(v * 2 + Number(C));
|
|
818
818
|
};
|
|
819
|
-
return /* @__PURE__ */
|
|
820
|
-
/* @__PURE__ */ e(u, { ref: y, sx: { height: o ? 120 : 172, width: "100%", mb: 8 }, children: /* @__PURE__ */
|
|
819
|
+
return /* @__PURE__ */ h(p, { alignItems: "center", sx: { mb: o ? 16 : 24, width: "100%" }, children: [
|
|
820
|
+
/* @__PURE__ */ e(u, { ref: y, sx: { height: o ? 120 : 172, width: "100%", mb: 8 }, children: /* @__PURE__ */ h(
|
|
821
821
|
we,
|
|
822
822
|
{
|
|
823
823
|
colors: l,
|
|
824
824
|
dataset: s,
|
|
825
825
|
height: k,
|
|
826
|
-
margin:
|
|
826
|
+
margin: d,
|
|
827
827
|
series: [
|
|
828
828
|
{ dataKey: "main", type: "bar" },
|
|
829
829
|
{ dataKey: "comparison", type: "bar" }
|
|
830
830
|
],
|
|
831
|
-
width:
|
|
831
|
+
width: x,
|
|
832
832
|
xAxis: [{ barGapRatio: r, categoryGapRatio: n, dataKey: "label", scaleType: "band" }],
|
|
833
833
|
children: [
|
|
834
834
|
t?.average && /* @__PURE__ */ e(
|
|
@@ -864,10 +864,10 @@ const Be = ({
|
|
|
864
864
|
/* @__PURE__ */ e(
|
|
865
865
|
Je,
|
|
866
866
|
{
|
|
867
|
-
onItemClick: (v, { dataIndex: f, seriesId:
|
|
867
|
+
onItemClick: (v, { dataIndex: f, seriesId: C }) => J({ dataIndex: f, seriesId: C.toString() }),
|
|
868
868
|
slots: {
|
|
869
869
|
bar: (v) => {
|
|
870
|
-
const { ownerState: f, style:
|
|
870
|
+
const { ownerState: f, style: C, ...W } = v;
|
|
871
871
|
return /* @__PURE__ */ e(
|
|
872
872
|
nt,
|
|
873
873
|
{
|
|
@@ -878,7 +878,7 @@ const Be = ({
|
|
|
878
878
|
index: f.dataIndex,
|
|
879
879
|
type: Number(f.id.toString().split("-").pop())
|
|
880
880
|
},
|
|
881
|
-
style:
|
|
881
|
+
style: C
|
|
882
882
|
}
|
|
883
883
|
);
|
|
884
884
|
}
|
|
@@ -894,7 +894,7 @@ const Be = ({
|
|
|
894
894
|
comparisonColor: l[1],
|
|
895
895
|
legendLabelComparison: a,
|
|
896
896
|
legendLabelMain: c,
|
|
897
|
-
legendStyle: { mr:
|
|
897
|
+
legendStyle: { mr: d.left + d.right },
|
|
898
898
|
mainColor: l[0]
|
|
899
899
|
}
|
|
900
900
|
)
|
|
@@ -911,14 +911,14 @@ const Be = ({
|
|
|
911
911
|
}
|
|
912
912
|
});
|
|
913
913
|
}, K = ({ divProps: t, image: r, isMini: n = !1 }) => {
|
|
914
|
-
const l = F(), s =
|
|
914
|
+
const l = F(), s = D(null), o = {
|
|
915
915
|
100: l.palette.primary.lighter,
|
|
916
916
|
200: l.palette.primary.light,
|
|
917
917
|
300: l.palette.primary.main,
|
|
918
918
|
400: l.palette.primary.dark,
|
|
919
919
|
500: l.palette.primary.darker
|
|
920
920
|
};
|
|
921
|
-
return
|
|
921
|
+
return se(() => {
|
|
922
922
|
if (!s.current) return;
|
|
923
923
|
const a = s.current, c = a.querySelectorAll(".Overlay");
|
|
924
924
|
["brand100", "brand200", "brand300", "brand400", "brand500"].forEach((m) => {
|
|
@@ -942,7 +942,7 @@ function X() {
|
|
|
942
942
|
}
|
|
943
943
|
const de = (t) => {
|
|
944
944
|
const [r, n] = oe({ width: 0, height: 0 });
|
|
945
|
-
return
|
|
945
|
+
return se(() => {
|
|
946
946
|
const l = () => {
|
|
947
947
|
if (t.current) {
|
|
948
948
|
const { offsetWidth: s, offsetHeight: o } = t.current;
|
|
@@ -958,7 +958,7 @@ const de = (t) => {
|
|
|
958
958
|
miniWidget: { gap: 8, p: "12px 16px", mt: 0 },
|
|
959
959
|
insightFeed: { gap: 12, p: "0px 16px 16px", mt: 22 }
|
|
960
960
|
}
|
|
961
|
-
}, ye = "miniWidget", fe = "insightFeed",
|
|
961
|
+
}, ye = "miniWidget", fe = "insightFeed", Ae = ({
|
|
962
962
|
account: t,
|
|
963
963
|
animation: r,
|
|
964
964
|
leftLowerText: n,
|
|
@@ -967,10 +967,10 @@ const de = (t) => {
|
|
|
967
967
|
isMini: o,
|
|
968
968
|
headerString: a,
|
|
969
969
|
rightLowerText: c,
|
|
970
|
-
rightUpperText:
|
|
970
|
+
rightUpperText: d
|
|
971
971
|
}) => {
|
|
972
|
-
const m = o ? ye : fe, E =
|
|
973
|
-
return /* @__PURE__ */
|
|
972
|
+
const m = o ? ye : fe, E = D(null), { height: y, width: k } = de(E);
|
|
973
|
+
return /* @__PURE__ */ h(
|
|
974
974
|
u,
|
|
975
975
|
{
|
|
976
976
|
ref: E,
|
|
@@ -981,7 +981,7 @@ const de = (t) => {
|
|
|
981
981
|
width: "100%",
|
|
982
982
|
children: [
|
|
983
983
|
/* @__PURE__ */ e(ce, { height: y, shouldRun: r.shouldRun, width: k }),
|
|
984
|
-
/* @__PURE__ */
|
|
984
|
+
/* @__PURE__ */ h(
|
|
985
985
|
j,
|
|
986
986
|
{
|
|
987
987
|
elevation: 1,
|
|
@@ -1001,14 +1001,14 @@ const de = (t) => {
|
|
|
1001
1001
|
children: [
|
|
1002
1002
|
m === fe && /* @__PURE__ */ e(mt, { account: t, headerString: a }),
|
|
1003
1003
|
m === ye && /* @__PURE__ */ e(ut, { account: t, headerString: a }),
|
|
1004
|
-
/* @__PURE__ */
|
|
1004
|
+
/* @__PURE__ */ h(p, { direction: "row", gap: 12, height: 58, width: "100%", children: [
|
|
1005
1005
|
/* @__PURE__ */ e(Et, { leftLowerText: n, leftUpperText: l }),
|
|
1006
1006
|
/* @__PURE__ */ e(
|
|
1007
1007
|
pt,
|
|
1008
1008
|
{
|
|
1009
1009
|
isComplete: s,
|
|
1010
1010
|
rightLowerText: c,
|
|
1011
|
-
rightUpperText:
|
|
1011
|
+
rightUpperText: d
|
|
1012
1012
|
}
|
|
1013
1013
|
)
|
|
1014
1014
|
] })
|
|
@@ -1027,10 +1027,10 @@ const de = (t) => {
|
|
|
1027
1027
|
size: o,
|
|
1028
1028
|
subHeaderString: a,
|
|
1029
1029
|
textSX: c
|
|
1030
|
-
}) => /* @__PURE__ */
|
|
1031
|
-
s && /* @__PURE__ */ e(
|
|
1030
|
+
}) => /* @__PURE__ */ h(O, { children: [
|
|
1031
|
+
s && /* @__PURE__ */ e(g, { color: r, fill: n, name: s, size: o, sx: l }),
|
|
1032
1032
|
/* @__PURE__ */ e(M, { bold: t, sx: c, children: a })
|
|
1033
|
-
] }), N = 48, mt = ({ account: t, headerString: r }) => /* @__PURE__ */
|
|
1033
|
+
] }), N = 48, mt = ({ account: t, headerString: r }) => /* @__PURE__ */ h(O, { children: [
|
|
1034
1034
|
/* @__PURE__ */ e(
|
|
1035
1035
|
ze,
|
|
1036
1036
|
{
|
|
@@ -1054,8 +1054,8 @@ const de = (t) => {
|
|
|
1054
1054
|
)
|
|
1055
1055
|
}
|
|
1056
1056
|
),
|
|
1057
|
-
/* @__PURE__ */ e(
|
|
1058
|
-
] }), Et = ({ leftLowerText: t, leftUpperText: r }) => /* @__PURE__ */
|
|
1057
|
+
/* @__PURE__ */ e(S, { bold: !0, sx: { width: "100%", textAlign: "center" }, children: r })
|
|
1058
|
+
] }), Et = ({ leftLowerText: t, leftUpperText: r }) => /* @__PURE__ */ h(
|
|
1059
1059
|
u,
|
|
1060
1060
|
{
|
|
1061
1061
|
sx: {
|
|
@@ -1067,7 +1067,7 @@ const de = (t) => {
|
|
|
1067
1067
|
},
|
|
1068
1068
|
children: [
|
|
1069
1069
|
/* @__PURE__ */ e(
|
|
1070
|
-
|
|
1070
|
+
S,
|
|
1071
1071
|
{
|
|
1072
1072
|
"data-ui-test": "mx-insights-sudd-left-upper-text",
|
|
1073
1073
|
sx: { color: "secondary.light" },
|
|
@@ -1075,10 +1075,10 @@ const de = (t) => {
|
|
|
1075
1075
|
children: r
|
|
1076
1076
|
}
|
|
1077
1077
|
),
|
|
1078
|
-
/* @__PURE__ */ e(
|
|
1078
|
+
/* @__PURE__ */ e(S, { bold: !0, "data-ui-test": "mx-insights-sudd-left-lower-text", variant: "Small", children: t })
|
|
1079
1079
|
]
|
|
1080
1080
|
}
|
|
1081
|
-
), ut = ({ account: t, headerString: r }) => /* @__PURE__ */
|
|
1081
|
+
), ut = ({ account: t, headerString: r }) => /* @__PURE__ */ h(
|
|
1082
1082
|
u,
|
|
1083
1083
|
{
|
|
1084
1084
|
"data-ui-test": "mx-insights-sudd-mini-body-header",
|
|
@@ -1094,7 +1094,7 @@ const de = (t) => {
|
|
|
1094
1094
|
width: 20
|
|
1095
1095
|
}
|
|
1096
1096
|
),
|
|
1097
|
-
/* @__PURE__ */ e(
|
|
1097
|
+
/* @__PURE__ */ e(S, { bold: !0, "data-ui-test": "mx-insights-sudd-mini-body-header-text", children: r })
|
|
1098
1098
|
]
|
|
1099
1099
|
}
|
|
1100
1100
|
), pt = ({
|
|
@@ -1112,9 +1112,9 @@ const de = (t) => {
|
|
|
1112
1112
|
p: 12,
|
|
1113
1113
|
width: "100%"
|
|
1114
1114
|
},
|
|
1115
|
-
children: /* @__PURE__ */
|
|
1115
|
+
children: /* @__PURE__ */ h(p, { alignItems: "center", gap: 2, justifyContent: "center", children: [
|
|
1116
1116
|
/* @__PURE__ */ e(
|
|
1117
|
-
|
|
1117
|
+
S,
|
|
1118
1118
|
{
|
|
1119
1119
|
"data-ui-test": "mx-insights-sudd-right-upper-text",
|
|
1120
1120
|
sx: {
|
|
@@ -1125,7 +1125,7 @@ const de = (t) => {
|
|
|
1125
1125
|
}
|
|
1126
1126
|
),
|
|
1127
1127
|
/* @__PURE__ */ e(
|
|
1128
|
-
|
|
1128
|
+
S,
|
|
1129
1129
|
{
|
|
1130
1130
|
bold: !0,
|
|
1131
1131
|
"data-ui-test": "mx-insights-sudd-right-lower-text",
|
|
@@ -1142,19 +1142,19 @@ const de = (t) => {
|
|
|
1142
1142
|
)
|
|
1143
1143
|
] })
|
|
1144
1144
|
}
|
|
1145
|
-
), yt = (t, r) => /* @__PURE__ */ i.createElement("svg", { width: 124, height: 107, viewBox: "0 0 124 107", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: r, ...t }, /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M78.3577 97.4096H32.9454C31.9936 97.4096 31.2148 96.6308 31.2148 95.679V54.2712C31.2148 53.3194 31.9936 52.5405 32.9454 52.5405H78.3577C79.3096 52.5405 80.0884 53.3194 80.0884 54.2712V95.679C80.0884 96.6308 79.3096 97.4096 78.3577 97.4096Z", fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M80.0884 54.2701V58.1431H31.2148V54.2701C31.2148 53.3189 31.9933 52.5396 32.9454 52.5396H78.3578C79.3099 52.5396 80.0884 53.3189 80.0884 54.2701Z", fill: "#E8F6FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M35.8132 55.4896C35.8132 56.2271 35.2154 56.8249 34.4779 56.8249C33.7404 56.8249 33.1426 56.2271 33.1426 55.4896C33.1426 54.7521 33.7404 54.1543 34.4779 54.1543C35.2154 54.1543 35.8132 54.7521 35.8132 55.4896Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M40.1267 55.4896C40.1267 56.2271 39.5289 56.8249 38.7914 56.8249C38.0539 56.8249 37.4561 56.2271 37.4561 55.4896C37.4561 54.7521 38.0539 54.1543 38.7914 54.1543C39.5289 54.1543 40.1267 54.7521 40.1267 55.4896Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M44.4372 55.4896C44.4372 56.2271 43.8394 56.8249 43.1019 56.8249C42.3645 56.8249 41.7666 56.2271 41.7666 55.4896C41.7666 54.7521 42.3645 54.1543 43.1019 54.1543C43.8394 54.1543 44.4372 54.7521 44.4372 55.4896Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M83.6985 106.675H38.2863C37.3344 106.675 36.5557 105.896 36.5557 104.944V63.5363C36.5557 62.5845 37.3344 61.8057 38.2863 61.8057H83.6985C84.6504 61.8057 85.4292 62.5845 85.4292 63.5363V104.944C85.4292 105.896 84.6504 106.675 83.6985 106.675Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M85.4292 63.5353V67.4083H36.5557V63.5353C36.5557 62.5841 37.3342 61.8047 38.2862 61.8047H83.6986C84.6507 61.8047 85.4292 62.5841 85.4292 63.5353Z", fill: "#E8F6FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M41.155 64.7547C41.155 65.4922 40.5572 66.0901 39.8197 66.0901C39.0823 66.0901 38.4844 65.4922 38.4844 64.7547C38.4844 64.0173 39.0823 63.4194 39.8197 63.4194C40.5572 63.4194 41.155 64.0173 41.155 64.7547Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M45.4675 64.7547C45.4675 65.4922 44.8697 66.0901 44.1322 66.0901C43.3947 66.0901 42.7969 65.4922 42.7969 64.7547C42.7969 64.0173 43.3947 63.4194 44.1322 63.4194C44.8697 63.4194 45.4675 64.0173 45.4675 64.7547Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M49.779 64.7547C49.779 65.4922 49.1812 66.0901 48.4437 66.0901C47.7063 66.0901 47.1084 65.4922 47.1084 64.7547C47.1084 64.0173 47.7063 63.4194 48.4437 63.4194C49.1812 63.4194 49.779 64.0173 49.779 64.7547Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M117.767 74.9926H72.3547C71.4029 74.9926 70.624 74.2139 70.624 73.2619V31.8541C70.624 30.9023 71.4029 30.1235 72.3547 30.1235H117.767C118.719 30.1235 119.498 30.9023 119.498 31.8541V73.2619C119.498 74.2139 118.719 74.9926 117.767 74.9926Z", fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("mask", { id: "mask0", "mask-type": "alpha", maskUnits: "userSpaceOnUse", x: 70, y: 30, width: 50, height: 6 }, /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M70.624 30.0874H119.498V35.6909H70.624V30.0874Z", fill: "white" })), /* @__PURE__ */ i.createElement("g", { mask: "url(#mask0)" }, /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M119.498 31.8185V35.6915H70.624V31.8185C70.624 30.8673 71.4025 30.0879 72.3546 30.0879H117.767C118.719 30.0879 119.498 30.8673 119.498 31.8185Z", fill: "#CDD3DD" })), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M75.1814 33.0384C75.1814 33.7759 74.5835 34.3738 73.8461 34.3738C73.1086 34.3738 72.5107 33.7759 72.5107 33.0384C72.5107 32.3009 73.1086 31.7031 73.8461 31.7031C74.5835 31.7031 75.1814 32.3009 75.1814 33.0384Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M79.4939 33.0384C79.4939 33.7759 78.896 34.3738 78.1586 34.3738C77.4211 34.3738 76.8232 33.7759 76.8232 33.0384C76.8232 32.3009 77.4211 31.7031 78.1586 31.7031C78.896 31.7031 79.4939 32.3009 79.4939 33.0384Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M83.8054 33.0384C83.8054 33.7759 83.2076 34.3738 82.4701 34.3738C81.7326 34.3738 81.1348 33.7759 81.1348 33.0384C81.1348 32.3009 81.7326 31.7031 82.4701 31.7031C83.2076 31.7031 83.8054 32.3009 83.8054 33.0384Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.0693 82.5761H101.728V80.5459H91.0693V82.5761Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.0693 85.5937H121.426V84.644H91.0693V85.5937Z", fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.0693 91.0863H122.441V90.1367H91.0693V91.0863Z", fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.0693 93.833H123.771V92.8833H91.0693V93.833Z", fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.0693 96.5786H110.937V95.6289H91.0693V96.5786Z", fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.0693 88.3397H123.771V87.3901H91.0693V88.3397Z", fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M33.1426 35.0087H42.6513V32.9785H33.1426V35.0087Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M33.1426 38.0277H60.2242V37.0781H33.1426V38.0277Z", fill: "#D6EEFF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M33.1426 43.518H61.1298V42.5684H33.1426V43.518Z", fill: "#D6EEFF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M33.1426 46.2645H53.7589V45.3149H33.1426V46.2645Z", fill: "#D6EEFF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M33.1426 40.7724H62.3157V39.8228H33.1426V40.7724Z", fill: "#D6EEFF" }), /* @__PURE__ */ i.createElement("g", { filter: "url(#filter0_d)" }, /* @__PURE__ */ i.createElement("mask", { id: "mask1", "mask-type": "alpha", maskUnits: "userSpaceOnUse", x: 52, y: 36, width: 51, height: 65 }, /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M52.8486 36.0361H102.157V100.752H52.8486V36.0361Z", fill: "white" })), /* @__PURE__ */ i.createElement("g", { mask: "url(#mask1)" }, /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M100.652 100.752H54.3538C53.5259 100.752 52.8486 100.075 52.8486 99.2473V37.541C52.8486 36.7133 53.5259 36.0361 54.3538 36.0361H100.652C101.48 36.0361 102.157 36.7133 102.157 37.541V99.2473C102.157 100.075 101.48 100.752 100.652 100.752Z", fill: "white" })), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 64.132H97.0019V62.9336H66.0273V64.132Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 66.6379H87.8484V65.4395H66.0273V66.6379Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 95.1347H87.177V93.4868H66.0273V95.1347Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M59.5523 67.7822C57.9041 67.7822 56.5557 66.434 56.5557 64.7861C56.5557 63.1383 57.9041 61.79 59.5523 61.79C61.2004 61.79 62.549 63.1383 62.549 64.7861C62.549 66.434 61.2004 67.7822 59.5523 67.7822Z", fill: "#E4E8EE", stroke: "#E4E8EE", strokeWidth: 0.531397 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M59.5523 87.6983C57.9041 87.6983 56.5557 86.35 56.5557 84.7022C56.5557 83.0542 57.9041 81.7061 59.5523 81.7061C61.2004 81.7061 62.549 83.0542 62.549 84.7022C62.549 86.35 61.2004 87.6983 59.5523 87.6983Z", fill: "#E4E8EE", stroke: "#E4E8EE", strokeWidth: 0.531397 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M59.5523 77.7417C57.9041 77.7417 56.5557 76.3935 56.5557 74.7456C56.5557 73.0978 57.9041 71.7495 59.5523 71.7495C61.2004 71.7495 62.549 73.0978 62.549 74.7456C62.549 76.3935 61.2004 77.7417 59.5523 77.7417Z", fill: "#E4E8EE", stroke: "#E4E8EE", strokeWidth: 0.531397 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 74.0906H97.0019V72.8921H66.0273V74.0906Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 76.5969H87.8484V75.3984H66.0273V76.5969Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 84.0496H97.0019V82.8511H66.0273V84.0496Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 86.5554H87.8484V85.3569H66.0273V86.5554Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M56.5527 53.5731L58.7522 55.3118L62.6507 50.8042", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M56.5527 53.5731L58.7522 55.3118L62.6507 50.8042", stroke: "#E4E8EE", strokeWidth: 0.797096 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M56.5527 43.6146L58.7522 45.3532L62.6507 40.8457", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M56.5527 43.6146L58.7522 45.3532L62.6507 40.8457", stroke: "#E4E8EE", strokeWidth: 0.797096 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 42.273H97.0019V40.7573H66.0273V42.273Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 45.442H87.8484V43.9263H66.0273V45.442Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M64.7861 41.5145H98.2397H64.7861Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M64.7861 41.5145H98.2397", stroke: "#E4E8EE", strokeWidth: 0.265699 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M64.7861 44.6844H89.0278H64.7861Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M64.7861 44.6844H89.0278", stroke: "#E4E8EE", strokeWidth: 0.265699 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 52.2316H97.0019V50.7158H66.0273V52.2316Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 55.3995H87.8484V53.8838H66.0273V55.3995Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M64.7861 51.4739H98.2397H64.7861Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M64.7861 51.4739H98.2397", stroke: "#E4E8EE", strokeWidth: 0.265699 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M64.7861 54.6419H89.0278H64.7861Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M64.7861 54.6419H89.0278", stroke: "#E4E8EE", strokeWidth: 0.265699 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M58.1973 59.0614H96.6276H58.1973Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M58.1973 59.0614H96.6276", stroke: "#E4E8EE", strokeWidth: 0.265699 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M59.5521 92.0054V96.6176V92.0054Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M59.5521 92.0054V96.6176", stroke: "#E4E8EE", strokeWidth: 0.797096 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M57.2451 94.3109H61.8582H57.2451Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M57.2451 94.3109H61.8582", stroke: "#E4E8EE", strokeWidth: 0.797096 })), /* @__PURE__ */ i.createElement("g", { filter: "url(#filter1_d)" }, /* @__PURE__ */ i.createElement("circle", { cx: 48.4218, cy: 47.4218, r: 45.4218, fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("mask", { id: "mask2", "mask-type": "alpha", maskUnits: "userSpaceOnUse", x: 4, y: 3, width: 88, height: 88 }, /* @__PURE__ */ i.createElement("circle", { cx: 48.4212, cy: 47.4217, r: 43.4622, fill: "#F8F9FB" })), /* @__PURE__ */ i.createElement("g", { mask: "url(#mask2)" }, /* @__PURE__ */ i.createElement("rect", { width: 93.6272, height: 94.0068, transform: "translate(3 -0.528809)", fill: "white" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 12.6294, width: 9.10967, height: 9.10967, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 50.8384, width: 9.10967, height: 9.10967, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 77.5361, width: 9.10967, height: 9.10967, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 26.293, width: 9.10967, height: 9.10967, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 12.6294, width: 33.1491, height: 3.54265, rx: 0.506093, fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 50.8384, width: 33.1491, height: 3.54265, rx: 0.506093, fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 77.5361, width: 33.1491, height: 3.54265, rx: 0.506093, fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 26.293, width: 33.1491, height: 3.54265, rx: 0.506093, fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 6.0498, width: 33.1491, height: 2.65699, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 44.2598, width: 33.1491, height: 2.65699, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 70.9556, width: 33.1491, height: 2.65699, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 18.1948, width: 25.6842, height: 3.54265, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 56.4058, width: 25.6842, height: 3.54265, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 83.1025, width: 25.6842, height: 3.54265, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 31.8604, width: 25.6842, height: 3.54265, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 68.4131, y: 15.4131, width: 15.5624, height: 3.54265, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 68.4131, y: 53.6221, width: 15.5624, height: 3.54265, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 68.4131, y: 80.3179, width: 15.5624, height: 3.54265, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 68.4131, y: 29.0767, width: 15.5624, height: 3.54265, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 23.8901H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 62.1001H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 88.7959H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 37.5547H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 10.2246H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 48.4355H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 75.1313H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 23.8901H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 62.1001H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 88.7959H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }))), /* @__PURE__ */ i.createElement("path", { d: "M76.0285 81.4569L76.7644 80.721L80.4085 83.0384L100.493 103.122C101.095 103.725 101.095 104.702 100.493 105.304C99.8901 105.907 98.9134 105.907 98.3109 105.304L78.3227 85.3158L76.0285 81.4569Z", fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("defs", null, /* @__PURE__ */ i.createElement("filter", { id: "filter0_d", x: 51.8364, y: 35.4035, width: 51.333, height: 66.7404, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ i.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ i.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ i.createElement("feOffset", { dy: 0.37957 }), /* @__PURE__ */ i.createElement("feGaussianBlur", { stdDeviation: 0.506093 }), /* @__PURE__ */ i.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.341176 0 0 0 0 0.4 0 0 0 0 0.458824 0 0 0 0.15 0" }), /* @__PURE__ */ i.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow" }), /* @__PURE__ */ i.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow", result: "shape" })), /* @__PURE__ */ i.createElement("filter", { id: "filter1_d", x: 0.469535, y: 0.734768, width: 95.9046, height: 95.9046, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ i.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ i.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ i.createElement("feOffset", { dy: 1.26523 }), /* @__PURE__ */ i.createElement("feGaussianBlur", { stdDeviation: 1.26523 }), /* @__PURE__ */ i.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.341176 0 0 0 0 0.4 0 0 0 0 0.458824 0 0 0 0.16 0" }), /* @__PURE__ */ i.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow" }), /* @__PURE__ */ i.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow", result: "shape" })))), ft = Y(yt), kt = {
|
|
1145
|
+
), yt = (t, r) => /* @__PURE__ */ i.createElement("svg", { width: 124, height: 107, viewBox: "0 0 124 107", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: r, ...t }, /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M78.3577 97.4096H32.9454C31.9936 97.4096 31.2148 96.6308 31.2148 95.679V54.2712C31.2148 53.3194 31.9936 52.5405 32.9454 52.5405H78.3577C79.3096 52.5405 80.0884 53.3194 80.0884 54.2712V95.679C80.0884 96.6308 79.3096 97.4096 78.3577 97.4096Z", fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M80.0884 54.2701V58.1431H31.2148V54.2701C31.2148 53.3189 31.9933 52.5396 32.9454 52.5396H78.3578C79.3099 52.5396 80.0884 53.3189 80.0884 54.2701Z", fill: "#E8F6FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M35.8132 55.4896C35.8132 56.2271 35.2154 56.8249 34.4779 56.8249C33.7404 56.8249 33.1426 56.2271 33.1426 55.4896C33.1426 54.7521 33.7404 54.1543 34.4779 54.1543C35.2154 54.1543 35.8132 54.7521 35.8132 55.4896Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M40.1267 55.4896C40.1267 56.2271 39.5289 56.8249 38.7914 56.8249C38.0539 56.8249 37.4561 56.2271 37.4561 55.4896C37.4561 54.7521 38.0539 54.1543 38.7914 54.1543C39.5289 54.1543 40.1267 54.7521 40.1267 55.4896Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M44.4372 55.4896C44.4372 56.2271 43.8394 56.8249 43.1019 56.8249C42.3645 56.8249 41.7666 56.2271 41.7666 55.4896C41.7666 54.7521 42.3645 54.1543 43.1019 54.1543C43.8394 54.1543 44.4372 54.7521 44.4372 55.4896Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M83.6985 106.675H38.2863C37.3344 106.675 36.5557 105.896 36.5557 104.944V63.5363C36.5557 62.5845 37.3344 61.8057 38.2863 61.8057H83.6985C84.6504 61.8057 85.4292 62.5845 85.4292 63.5363V104.944C85.4292 105.896 84.6504 106.675 83.6985 106.675Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M85.4292 63.5353V67.4083H36.5557V63.5353C36.5557 62.5841 37.3342 61.8047 38.2862 61.8047H83.6986C84.6507 61.8047 85.4292 62.5841 85.4292 63.5353Z", fill: "#E8F6FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M41.155 64.7547C41.155 65.4922 40.5572 66.0901 39.8197 66.0901C39.0823 66.0901 38.4844 65.4922 38.4844 64.7547C38.4844 64.0173 39.0823 63.4194 39.8197 63.4194C40.5572 63.4194 41.155 64.0173 41.155 64.7547Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M45.4675 64.7547C45.4675 65.4922 44.8697 66.0901 44.1322 66.0901C43.3947 66.0901 42.7969 65.4922 42.7969 64.7547C42.7969 64.0173 43.3947 63.4194 44.1322 63.4194C44.8697 63.4194 45.4675 64.0173 45.4675 64.7547Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M49.779 64.7547C49.779 65.4922 49.1812 66.0901 48.4437 66.0901C47.7063 66.0901 47.1084 65.4922 47.1084 64.7547C47.1084 64.0173 47.7063 63.4194 48.4437 63.4194C49.1812 63.4194 49.779 64.0173 49.779 64.7547Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M117.767 74.9926H72.3547C71.4029 74.9926 70.624 74.2139 70.624 73.2619V31.8541C70.624 30.9023 71.4029 30.1235 72.3547 30.1235H117.767C118.719 30.1235 119.498 30.9023 119.498 31.8541V73.2619C119.498 74.2139 118.719 74.9926 117.767 74.9926Z", fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("mask", { id: "mask0", "mask-type": "alpha", maskUnits: "userSpaceOnUse", x: 70, y: 30, width: 50, height: 6 }, /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M70.624 30.0874H119.498V35.6909H70.624V30.0874Z", fill: "white" })), /* @__PURE__ */ i.createElement("g", { mask: "url(#mask0)" }, /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M119.498 31.8185V35.6915H70.624V31.8185C70.624 30.8673 71.4025 30.0879 72.3546 30.0879H117.767C118.719 30.0879 119.498 30.8673 119.498 31.8185Z", fill: "#CDD3DD" })), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M75.1814 33.0384C75.1814 33.7759 74.5835 34.3738 73.8461 34.3738C73.1086 34.3738 72.5107 33.7759 72.5107 33.0384C72.5107 32.3009 73.1086 31.7031 73.8461 31.7031C74.5835 31.7031 75.1814 32.3009 75.1814 33.0384Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M79.4939 33.0384C79.4939 33.7759 78.896 34.3738 78.1586 34.3738C77.4211 34.3738 76.8232 33.7759 76.8232 33.0384C76.8232 32.3009 77.4211 31.7031 78.1586 31.7031C78.896 31.7031 79.4939 32.3009 79.4939 33.0384Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M83.8054 33.0384C83.8054 33.7759 83.2076 34.3738 82.4701 34.3738C81.7326 34.3738 81.1348 33.7759 81.1348 33.0384C81.1348 32.3009 81.7326 31.7031 82.4701 31.7031C83.2076 31.7031 83.8054 32.3009 83.8054 33.0384Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.0693 82.5761H101.728V80.5459H91.0693V82.5761Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.0693 85.5937H121.426V84.644H91.0693V85.5937Z", fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.0693 91.0863H122.441V90.1367H91.0693V91.0863Z", fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.0693 93.833H123.771V92.8833H91.0693V93.833Z", fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.0693 96.5786H110.937V95.6289H91.0693V96.5786Z", fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M91.0693 88.3397H123.771V87.3901H91.0693V88.3397Z", fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M33.1426 35.0087H42.6513V32.9785H33.1426V35.0087Z", fill: "#C3E4FF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M33.1426 38.0277H60.2242V37.0781H33.1426V38.0277Z", fill: "#D6EEFF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M33.1426 43.518H61.1298V42.5684H33.1426V43.518Z", fill: "#D6EEFF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M33.1426 46.2645H53.7589V45.3149H33.1426V46.2645Z", fill: "#D6EEFF" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M33.1426 40.7724H62.3157V39.8228H33.1426V40.7724Z", fill: "#D6EEFF" }), /* @__PURE__ */ i.createElement("g", { filter: "url(#filter0_d)" }, /* @__PURE__ */ i.createElement("mask", { id: "mask1", "mask-type": "alpha", maskUnits: "userSpaceOnUse", x: 52, y: 36, width: 51, height: 65 }, /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M52.8486 36.0361H102.157V100.752H52.8486V36.0361Z", fill: "white" })), /* @__PURE__ */ i.createElement("g", { mask: "url(#mask1)" }, /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M100.652 100.752H54.3538C53.5259 100.752 52.8486 100.075 52.8486 99.2473V37.541C52.8486 36.7133 53.5259 36.0361 54.3538 36.0361H100.652C101.48 36.0361 102.157 36.7133 102.157 37.541V99.2473C102.157 100.075 101.48 100.752 100.652 100.752Z", fill: "white" })), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 64.132H97.0019V62.9336H66.0273V64.132Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 66.6379H87.8484V65.4395H66.0273V66.6379Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 95.1347H87.177V93.4868H66.0273V95.1347Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M59.5523 67.7822C57.9041 67.7822 56.5557 66.434 56.5557 64.7861C56.5557 63.1383 57.9041 61.79 59.5523 61.79C61.2004 61.79 62.549 63.1383 62.549 64.7861C62.549 66.434 61.2004 67.7822 59.5523 67.7822Z", fill: "#E4E8EE", stroke: "#E4E8EE", strokeWidth: 0.531397 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M59.5523 87.6983C57.9041 87.6983 56.5557 86.35 56.5557 84.7022C56.5557 83.0542 57.9041 81.7061 59.5523 81.7061C61.2004 81.7061 62.549 83.0542 62.549 84.7022C62.549 86.35 61.2004 87.6983 59.5523 87.6983Z", fill: "#E4E8EE", stroke: "#E4E8EE", strokeWidth: 0.531397 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M59.5523 77.7417C57.9041 77.7417 56.5557 76.3935 56.5557 74.7456C56.5557 73.0978 57.9041 71.7495 59.5523 71.7495C61.2004 71.7495 62.549 73.0978 62.549 74.7456C62.549 76.3935 61.2004 77.7417 59.5523 77.7417Z", fill: "#E4E8EE", stroke: "#E4E8EE", strokeWidth: 0.531397 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 74.0906H97.0019V72.8921H66.0273V74.0906Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 76.5969H87.8484V75.3984H66.0273V76.5969Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 84.0496H97.0019V82.8511H66.0273V84.0496Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 86.5554H87.8484V85.3569H66.0273V86.5554Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M56.5527 53.5731L58.7522 55.3118L62.6507 50.8042", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M56.5527 53.5731L58.7522 55.3118L62.6507 50.8042", stroke: "#E4E8EE", strokeWidth: 0.797096 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M56.5527 43.6146L58.7522 45.3532L62.6507 40.8457", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M56.5527 43.6146L58.7522 45.3532L62.6507 40.8457", stroke: "#E4E8EE", strokeWidth: 0.797096 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 42.273H97.0019V40.7573H66.0273V42.273Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 45.442H87.8484V43.9263H66.0273V45.442Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M64.7861 41.5145H98.2397H64.7861Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M64.7861 41.5145H98.2397", stroke: "#E4E8EE", strokeWidth: 0.265699 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M64.7861 44.6844H89.0278H64.7861Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M64.7861 44.6844H89.0278", stroke: "#E4E8EE", strokeWidth: 0.265699 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 52.2316H97.0019V50.7158H66.0273V52.2316Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M66.0273 55.3995H87.8484V53.8838H66.0273V55.3995Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M64.7861 51.4739H98.2397H64.7861Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M64.7861 51.4739H98.2397", stroke: "#E4E8EE", strokeWidth: 0.265699 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M64.7861 54.6419H89.0278H64.7861Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M64.7861 54.6419H89.0278", stroke: "#E4E8EE", strokeWidth: 0.265699 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M58.1973 59.0614H96.6276H58.1973Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M58.1973 59.0614H96.6276", stroke: "#E4E8EE", strokeWidth: 0.265699 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M59.5521 92.0054V96.6176V92.0054Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M59.5521 92.0054V96.6176", stroke: "#E4E8EE", strokeWidth: 0.797096 }), /* @__PURE__ */ i.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M57.2451 94.3109H61.8582H57.2451Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M57.2451 94.3109H61.8582", stroke: "#E4E8EE", strokeWidth: 0.797096 })), /* @__PURE__ */ i.createElement("g", { filter: "url(#filter1_d)" }, /* @__PURE__ */ i.createElement("circle", { cx: 48.4218, cy: 47.4218, r: 45.4218, fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("mask", { id: "mask2", "mask-type": "alpha", maskUnits: "userSpaceOnUse", x: 4, y: 3, width: 88, height: 88 }, /* @__PURE__ */ i.createElement("circle", { cx: 48.4212, cy: 47.4217, r: 43.4622, fill: "#F8F9FB" })), /* @__PURE__ */ i.createElement("g", { mask: "url(#mask2)" }, /* @__PURE__ */ i.createElement("rect", { width: 93.6272, height: 94.0068, transform: "translate(3 -0.528809)", fill: "white" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 12.6294, width: 9.10967, height: 9.10967, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 50.8384, width: 9.10967, height: 9.10967, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 77.5361, width: 9.10967, height: 9.10967, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 26.293, width: 9.10967, height: 9.10967, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 12.6294, width: 33.1491, height: 3.54265, rx: 0.506093, fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 50.8384, width: 33.1491, height: 3.54265, rx: 0.506093, fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 77.5361, width: 33.1491, height: 3.54265, rx: 0.506093, fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 26.293, width: 33.1491, height: 3.54265, rx: 0.506093, fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 6.0498, width: 33.1491, height: 2.65699, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 44.2598, width: 33.1491, height: 2.65699, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 12.8691, y: 70.9556, width: 33.1491, height: 2.65699, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 18.1948, width: 25.6842, height: 3.54265, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 56.4058, width: 25.6842, height: 3.54265, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 83.1025, width: 25.6842, height: 3.54265, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 23.75, y: 31.8604, width: 25.6842, height: 3.54265, rx: 0.506093, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 68.4131, y: 15.4131, width: 15.5624, height: 3.54265, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 68.4131, y: 53.6221, width: 15.5624, height: 3.54265, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 68.4131, y: 80.3179, width: 15.5624, height: 3.54265, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("rect", { x: 68.4131, y: 29.0767, width: 15.5624, height: 3.54265, rx: 0.506093, fill: "#A8B1BD" }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 23.8901H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 62.1001H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 88.7959H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 37.5547H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 10.2246H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 48.4355H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 75.1313H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 23.8901H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 62.1001H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }), /* @__PURE__ */ i.createElement("path", { d: "M10.9707 88.7959H85.8724", stroke: "#E4E8EE", strokeWidth: 0.253046 }))), /* @__PURE__ */ i.createElement("path", { d: "M76.0285 81.4569L76.7644 80.721L80.4085 83.0384L100.493 103.122C101.095 103.725 101.095 104.702 100.493 105.304C99.8901 105.907 98.9134 105.907 98.3109 105.304L78.3227 85.3158L76.0285 81.4569Z", fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("defs", null, /* @__PURE__ */ i.createElement("filter", { id: "filter0_d", x: 51.8364, y: 35.4035, width: 51.333, height: 66.7404, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ i.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ i.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ i.createElement("feOffset", { dy: 0.37957 }), /* @__PURE__ */ i.createElement("feGaussianBlur", { stdDeviation: 0.506093 }), /* @__PURE__ */ i.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.341176 0 0 0 0 0.4 0 0 0 0 0.458824 0 0 0 0.15 0" }), /* @__PURE__ */ i.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow" }), /* @__PURE__ */ i.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow", result: "shape" })), /* @__PURE__ */ i.createElement("filter", { id: "filter1_d", x: 0.469535, y: 0.734768, width: 95.9046, height: 95.9046, filterUnits: "userSpaceOnUse", colorInterpolationFilters: "sRGB" }, /* @__PURE__ */ i.createElement("feFlood", { floodOpacity: 0, result: "BackgroundImageFix" }), /* @__PURE__ */ i.createElement("feColorMatrix", { in: "SourceAlpha", type: "matrix", values: "0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0", result: "hardAlpha" }), /* @__PURE__ */ i.createElement("feOffset", { dy: 1.26523 }), /* @__PURE__ */ i.createElement("feGaussianBlur", { stdDeviation: 1.26523 }), /* @__PURE__ */ i.createElement("feColorMatrix", { type: "matrix", values: "0 0 0 0 0.341176 0 0 0 0 0.4 0 0 0 0 0.458824 0 0 0 0.16 0" }), /* @__PURE__ */ i.createElement("feBlend", { mode: "normal", in2: "BackgroundImageFix", result: "effect1_dropShadow" }), /* @__PURE__ */ i.createElement("feBlend", { mode: "normal", in: "SourceGraphic", in2: "effect1_dropShadow", result: "shape" })))), ft = Y(yt), xt = {
|
|
1146
1146
|
marginBottom: 16,
|
|
1147
1147
|
maxWidth: 120,
|
|
1148
1148
|
width: "100%"
|
|
1149
|
-
},
|
|
1149
|
+
}, kt = ({ erroredText: t }) => /* @__PURE__ */ h(
|
|
1150
1150
|
p,
|
|
1151
1151
|
{
|
|
1152
1152
|
sx: {
|
|
1153
1153
|
alignItems: "center"
|
|
1154
1154
|
},
|
|
1155
1155
|
children: [
|
|
1156
|
-
/* @__PURE__ */ e(K, { divProps: { style:
|
|
1157
|
-
/* @__PURE__ */ e(
|
|
1156
|
+
/* @__PURE__ */ e(K, { divProps: { style: xt }, image: ft }),
|
|
1157
|
+
/* @__PURE__ */ e(S, { color: "secondary", sx: { mx: 8, mb: 8 }, variant: "ParagraphSmall", children: t })
|
|
1158
1158
|
]
|
|
1159
1159
|
}
|
|
1160
1160
|
), Ct = ({
|
|
@@ -1165,7 +1165,7 @@ const de = (t) => {
|
|
|
1165
1165
|
sx: s = {},
|
|
1166
1166
|
title: o
|
|
1167
1167
|
}) => /* @__PURE__ */ e(
|
|
1168
|
-
|
|
1168
|
+
Te,
|
|
1169
1169
|
{
|
|
1170
1170
|
action: t,
|
|
1171
1171
|
subheader: l,
|
|
@@ -1198,40 +1198,55 @@ const de = (t) => {
|
|
|
1198
1198
|
)
|
|
1199
1199
|
}
|
|
1200
1200
|
), wt = ({ content: t, isLoading: r, sx: n }) => {
|
|
1201
|
-
const
|
|
1202
|
-
if (o.current) {
|
|
1203
|
-
const c = o.current, h = c.parentElement;
|
|
1204
|
-
if (h) {
|
|
1205
|
-
const k = 180 - Array.from(h.children).reduce((v, f) => f !== c ? v + f.clientHeight : v, 0) - 24, J = Math.floor(k / 26);
|
|
1206
|
-
J !== l && s(J);
|
|
1207
|
-
}
|
|
1208
|
-
}
|
|
1209
|
-
};
|
|
1201
|
+
const l = D(null), [s, o] = oe(t);
|
|
1210
1202
|
return se(() => {
|
|
1211
|
-
a()
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1203
|
+
const a = () => {
|
|
1204
|
+
const c = l.current;
|
|
1205
|
+
if (!c) return;
|
|
1206
|
+
const d = c.innerText, m = Array.from(c.childNodes);
|
|
1207
|
+
let E = d;
|
|
1208
|
+
for (; c.scrollHeight > c.clientHeight && E.length > 0; ) {
|
|
1209
|
+
E = E.slice(0, -1);
|
|
1210
|
+
let y = 0;
|
|
1211
|
+
const k = m.map((x) => {
|
|
1212
|
+
if (x.nodeType === Node.TEXT_NODE) {
|
|
1213
|
+
const J = E.slice(
|
|
1214
|
+
y,
|
|
1215
|
+
y + (x.textContent?.length ?? 0)
|
|
1216
|
+
);
|
|
1217
|
+
return y += x.textContent?.length ?? 0, J;
|
|
1218
|
+
} else if (x.nodeType === Node.ELEMENT_NODE) {
|
|
1219
|
+
const J = E.slice(
|
|
1220
|
+
y,
|
|
1221
|
+
y + x.innerText.length
|
|
1222
|
+
);
|
|
1223
|
+
y += x.innerText.length;
|
|
1224
|
+
const v = x.cloneNode(!0);
|
|
1225
|
+
return v.innerText = J, v.outerHTML;
|
|
1226
|
+
}
|
|
1227
|
+
return "";
|
|
1228
|
+
}).join("");
|
|
1229
|
+
c.innerHTML = k + "...";
|
|
1230
|
+
}
|
|
1231
|
+
o(c.innerHTML);
|
|
1215
1232
|
};
|
|
1216
|
-
|
|
1233
|
+
return a(), window.addEventListener("resize", a), () => window.removeEventListener("resize", a);
|
|
1234
|
+
}, [t]), /* @__PURE__ */ e(
|
|
1217
1235
|
u,
|
|
1218
1236
|
{
|
|
1219
|
-
ref:
|
|
1220
|
-
dangerouslySetInnerHTML: { __html:
|
|
1237
|
+
ref: l,
|
|
1238
|
+
dangerouslySetInnerHTML: { __html: r ? "" : s },
|
|
1221
1239
|
sx: {
|
|
1240
|
+
flexGrow: 1,
|
|
1222
1241
|
fontSize: 13,
|
|
1223
|
-
lineHeight: "
|
|
1224
|
-
display: "-webkit-box",
|
|
1225
|
-
WebkitBoxOrient: "vertical",
|
|
1226
|
-
overflow: "hidden",
|
|
1227
|
-
textOverflow: "ellipsis",
|
|
1228
|
-
WebkitLineClamp: l > 0 ? l : "auto",
|
|
1242
|
+
lineHeight: "20px",
|
|
1229
1243
|
m: 0,
|
|
1230
1244
|
pb: 8,
|
|
1231
1245
|
// pulse already has apadding of 8 so the 8px here and 8px in pulse will equal 16px.
|
|
1232
1246
|
pt: 16,
|
|
1233
1247
|
px: 8,
|
|
1234
1248
|
// The new description design has a 24px padding on the x axis, however, pulse already adds 16px. In order to not break existing insights we are only using 8px here so it adds up to 24. Once all insights are moved to this repo we make pulse 0px and this 24px.
|
|
1249
|
+
overflow: "hidden",
|
|
1235
1250
|
...n
|
|
1236
1251
|
}
|
|
1237
1252
|
}
|
|
@@ -1245,7 +1260,7 @@ const de = (t) => {
|
|
|
1245
1260
|
inDescriptionCtaOnClick: o,
|
|
1246
1261
|
isLoading: a = !1,
|
|
1247
1262
|
isMini: c = !1,
|
|
1248
|
-
hasFullWidthImage:
|
|
1263
|
+
hasFullWidthImage: d,
|
|
1249
1264
|
hasFooterButton: m = !1,
|
|
1250
1265
|
sx: E
|
|
1251
1266
|
}) => {
|
|
@@ -1254,14 +1269,14 @@ const de = (t) => {
|
|
|
1254
1269
|
{
|
|
1255
1270
|
beat: r,
|
|
1256
1271
|
footerButton: m,
|
|
1257
|
-
hasFullWidthImage:
|
|
1272
|
+
hasFullWidthImage: d,
|
|
1258
1273
|
inDescriptionCtaOnClick: o,
|
|
1259
1274
|
sx: E
|
|
1260
1275
|
}
|
|
1261
1276
|
);
|
|
1262
|
-
return /* @__PURE__ */
|
|
1277
|
+
return /* @__PURE__ */ h(O, { children: [
|
|
1263
1278
|
l === "top" && y(),
|
|
1264
|
-
/* @__PURE__ */ e(p, { sx: { alignItems: "center", ...
|
|
1279
|
+
/* @__PURE__ */ e(p, { sx: { alignItems: "center", ...d && c && { mx: -16 } }, children: n }),
|
|
1265
1280
|
l === "bottom" && y(),
|
|
1266
1281
|
t && /* @__PURE__ */ e(
|
|
1267
1282
|
M,
|
|
@@ -1277,7 +1292,7 @@ const de = (t) => {
|
|
|
1277
1292
|
}
|
|
1278
1293
|
)
|
|
1279
1294
|
] });
|
|
1280
|
-
},
|
|
1295
|
+
}, b = ({
|
|
1281
1296
|
altLoadingText: t,
|
|
1282
1297
|
asteriskText: r,
|
|
1283
1298
|
beat: n,
|
|
@@ -1286,13 +1301,13 @@ const de = (t) => {
|
|
|
1286
1301
|
contentProps: o,
|
|
1287
1302
|
errorText: a = "",
|
|
1288
1303
|
feedback: c,
|
|
1289
|
-
header:
|
|
1304
|
+
header: d,
|
|
1290
1305
|
isError: m = !1,
|
|
1291
1306
|
isLoading: E = !1,
|
|
1292
1307
|
isMini: y = !1
|
|
1293
|
-
}) => /* @__PURE__ */
|
|
1294
|
-
/* @__PURE__ */ e(Ct, { ...
|
|
1295
|
-
m ? /* @__PURE__ */ e(
|
|
1308
|
+
}) => /* @__PURE__ */ h(u, { sx: { display: "flex", flexDirection: "column", height: "100%" }, children: [
|
|
1309
|
+
/* @__PURE__ */ e(Ct, { ...d, isMini: y, title: n.html_title }),
|
|
1310
|
+
m ? /* @__PURE__ */ e(kt, { erroredText: a }) : /* @__PURE__ */ h(O, { children: [
|
|
1296
1311
|
/* @__PURE__ */ e(
|
|
1297
1312
|
Mt,
|
|
1298
1313
|
{
|
|
@@ -1334,7 +1349,7 @@ const de = (t) => {
|
|
|
1334
1349
|
sx: s
|
|
1335
1350
|
}) => {
|
|
1336
1351
|
const { html_description: o, in_description_cta: a } = t, c = r ? 16 : 8;
|
|
1337
|
-
return /* @__PURE__ */
|
|
1352
|
+
return /* @__PURE__ */ h(
|
|
1338
1353
|
Se,
|
|
1339
1354
|
{
|
|
1340
1355
|
sx: {
|
|
@@ -1346,7 +1361,7 @@ const de = (t) => {
|
|
|
1346
1361
|
},
|
|
1347
1362
|
children: [
|
|
1348
1363
|
/* @__PURE__ */ e(
|
|
1349
|
-
|
|
1364
|
+
S,
|
|
1350
1365
|
{
|
|
1351
1366
|
dangerouslySetInnerHTML: { __html: o },
|
|
1352
1367
|
sx: {
|
|
@@ -1362,14 +1377,14 @@ const de = (t) => {
|
|
|
1362
1377
|
variant: "ParagraphSmall"
|
|
1363
1378
|
}
|
|
1364
1379
|
),
|
|
1365
|
-
a && l && /* @__PURE__ */
|
|
1380
|
+
a && l && /* @__PURE__ */ h(T, { fullWidth: !0, onClick: l, sx: { mb: c }, children: [
|
|
1366
1381
|
a,
|
|
1367
|
-
/* @__PURE__ */ e(
|
|
1382
|
+
/* @__PURE__ */ e(g, { name: "chevron_right" })
|
|
1368
1383
|
] })
|
|
1369
1384
|
]
|
|
1370
1385
|
}
|
|
1371
1386
|
);
|
|
1372
|
-
},
|
|
1387
|
+
}, A = ({
|
|
1373
1388
|
beat: t,
|
|
1374
1389
|
disabled: r = !1,
|
|
1375
1390
|
hide: n = !1,
|
|
@@ -1379,7 +1394,7 @@ const de = (t) => {
|
|
|
1379
1394
|
variant: a = !s && "text",
|
|
1380
1395
|
...c
|
|
1381
1396
|
}) => n ? null : /* @__PURE__ */ e(
|
|
1382
|
-
|
|
1397
|
+
T,
|
|
1383
1398
|
{
|
|
1384
1399
|
disabled: r,
|
|
1385
1400
|
fullWidth: !0,
|
|
@@ -1397,18 +1412,18 @@ const de = (t) => {
|
|
|
1397
1412
|
...c,
|
|
1398
1413
|
children: s ? t.call_to_action : t.supporting_action
|
|
1399
1414
|
}
|
|
1400
|
-
), vt = (t, r) => /* @__PURE__ */ i.createElement("svg", { width: 295, height: 142, viewBox: "0 0 295 142", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: r, ...t }, /* @__PURE__ */ i.createElement("path", { d: "M0.5 4C0.5 2.067 2.067 0.5 4 0.5H291C292.933 0.5 294.5 2.067 294.5 4V39.5H0.5V4Z", stroke: "#EEF1F6" }), /* @__PURE__ */ i.createElement("path", { d: "M0.5 102.5H294.5V138C294.5 139.933 292.933 141.5 291 141.5H4.00001C2.06701 141.5 0.5 139.933 0.5 138V102.5Z", fill: "#F8F9FB", stroke: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 0.5, y: 39.5, width: 294, height: 63, fill: "white", stroke: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 16, y: 55, width: 32, height: 32, rx: 2, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 16, y: 15, width: 80, height: 8, rx: 2, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 16, y: 118, width: 80, height: 8, rx: 2, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 226, y: 118, width: 56, height: 8, rx: 2, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 64, y: 60, width: 80, height: 8, rx: 2, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 232, y: 60, width: 47, height: 8, rx: 2, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 64, y: 76, width: 60, height: 4, rx: 2, fill: "#EEF1F6" })), Zt = Y(vt),
|
|
1415
|
+
), vt = (t, r) => /* @__PURE__ */ i.createElement("svg", { width: 295, height: 142, viewBox: "0 0 295 142", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: r, ...t }, /* @__PURE__ */ i.createElement("path", { d: "M0.5 4C0.5 2.067 2.067 0.5 4 0.5H291C292.933 0.5 294.5 2.067 294.5 4V39.5H0.5V4Z", stroke: "#EEF1F6" }), /* @__PURE__ */ i.createElement("path", { d: "M0.5 102.5H294.5V138C294.5 139.933 292.933 141.5 291 141.5H4.00001C2.06701 141.5 0.5 139.933 0.5 138V102.5Z", fill: "#F8F9FB", stroke: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 0.5, y: 39.5, width: 294, height: 63, fill: "white", stroke: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 16, y: 55, width: 32, height: 32, rx: 2, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 16, y: 15, width: 80, height: 8, rx: 2, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 16, y: 118, width: 80, height: 8, rx: 2, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 226, y: 118, width: 56, height: 8, rx: 2, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 64, y: 60, width: 80, height: 8, rx: 2, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 232, y: 60, width: 47, height: 8, rx: 2, fill: "#EEF1F6" }), /* @__PURE__ */ i.createElement("rect", { x: 64, y: 76, width: 60, height: 4, rx: 2, fill: "#EEF1F6" })), Zt = Y(vt), At = {
|
|
1401
1416
|
padding: 8,
|
|
1402
1417
|
marginTop: 8,
|
|
1403
1418
|
marginBottom: 12
|
|
1404
|
-
},
|
|
1419
|
+
}, bt = () => /* @__PURE__ */ e(
|
|
1405
1420
|
p,
|
|
1406
1421
|
{
|
|
1407
1422
|
sx: {
|
|
1408
1423
|
flexDirection: "row",
|
|
1409
1424
|
justifyContent: "center"
|
|
1410
1425
|
},
|
|
1411
|
-
children: /* @__PURE__ */ e(K, { divProps: { style:
|
|
1426
|
+
children: /* @__PURE__ */ e(K, { divProps: { style: At }, image: Zt })
|
|
1412
1427
|
}
|
|
1413
1428
|
), zi = ({
|
|
1414
1429
|
headerText: t,
|
|
@@ -1417,7 +1432,7 @@ const de = (t) => {
|
|
|
1417
1432
|
onClose: l,
|
|
1418
1433
|
rating: s,
|
|
1419
1434
|
sx: o = {}
|
|
1420
|
-
}) => /* @__PURE__ */
|
|
1435
|
+
}) => /* @__PURE__ */ h(Ze, { fontSize: 18, id: "alert-dialog-title", children: [
|
|
1421
1436
|
t,
|
|
1422
1437
|
/* @__PURE__ */ e(
|
|
1423
1438
|
z,
|
|
@@ -1432,7 +1447,7 @@ const de = (t) => {
|
|
|
1432
1447
|
right: 12
|
|
1433
1448
|
},
|
|
1434
1449
|
children: /* @__PURE__ */ e(
|
|
1435
|
-
|
|
1450
|
+
g,
|
|
1436
1451
|
{
|
|
1437
1452
|
name: "cancel",
|
|
1438
1453
|
sx: {
|
|
@@ -1442,7 +1457,7 @@ const de = (t) => {
|
|
|
1442
1457
|
)
|
|
1443
1458
|
}
|
|
1444
1459
|
)
|
|
1445
|
-
] }),
|
|
1460
|
+
] }), Ti = ({
|
|
1446
1461
|
buttonText: t,
|
|
1447
1462
|
errorMessage: r,
|
|
1448
1463
|
feedbackMessage: n,
|
|
@@ -1451,7 +1466,7 @@ const de = (t) => {
|
|
|
1451
1466
|
selectedRadio: o
|
|
1452
1467
|
}) => {
|
|
1453
1468
|
const { cancelText: a, submitText: c } = t;
|
|
1454
|
-
return /* @__PURE__ */
|
|
1469
|
+
return /* @__PURE__ */ h(
|
|
1455
1470
|
u,
|
|
1456
1471
|
{
|
|
1457
1472
|
sx: {
|
|
@@ -1462,7 +1477,7 @@ const de = (t) => {
|
|
|
1462
1477
|
},
|
|
1463
1478
|
children: [
|
|
1464
1479
|
/* @__PURE__ */ e(
|
|
1465
|
-
|
|
1480
|
+
T,
|
|
1466
1481
|
{
|
|
1467
1482
|
className: "mx-insights-beat-feedback-submit-button",
|
|
1468
1483
|
"data-ui-test": "submit-button",
|
|
@@ -1481,7 +1496,7 @@ const de = (t) => {
|
|
|
1481
1496
|
}
|
|
1482
1497
|
),
|
|
1483
1498
|
/* @__PURE__ */ e(
|
|
1484
|
-
|
|
1499
|
+
T,
|
|
1485
1500
|
{
|
|
1486
1501
|
className: "mx-insights-beat-feedback-no-thanks-button",
|
|
1487
1502
|
"data-ui-test": "no-thanks-button",
|
|
@@ -1500,13 +1515,13 @@ const de = (t) => {
|
|
|
1500
1515
|
]
|
|
1501
1516
|
}
|
|
1502
1517
|
);
|
|
1503
|
-
},
|
|
1518
|
+
}, Di = ({ bodyText: t }) => /* @__PURE__ */ e(u, { style: { padding: "8px 24px 8px 0px" }, children: /* @__PURE__ */ e(S, { "data-ui-test": "feedback-description", children: t }) }), Ui = ({
|
|
1504
1519
|
feedbackOptions: t,
|
|
1505
1520
|
groupAriaLabel: r,
|
|
1506
1521
|
selectedRadio: n,
|
|
1507
1522
|
setSelectedRadio: l
|
|
1508
1523
|
}) => /* @__PURE__ */ e(
|
|
1509
|
-
|
|
1524
|
+
De,
|
|
1510
1525
|
{
|
|
1511
1526
|
sx: {
|
|
1512
1527
|
p: 24,
|
|
@@ -1559,13 +1574,13 @@ const de = (t) => {
|
|
|
1559
1574
|
feedbackMessage: o,
|
|
1560
1575
|
sendAnalytics: a,
|
|
1561
1576
|
setFeedbackMessage: c,
|
|
1562
|
-
validateForm:
|
|
1577
|
+
validateForm: d
|
|
1563
1578
|
}) => {
|
|
1564
1579
|
const m = qe(Pe)({
|
|
1565
1580
|
height: 93,
|
|
1566
1581
|
resize: "none"
|
|
1567
1582
|
});
|
|
1568
|
-
return /* @__PURE__ */
|
|
1583
|
+
return /* @__PURE__ */ h(
|
|
1569
1584
|
u,
|
|
1570
1585
|
{
|
|
1571
1586
|
"aria-label": s,
|
|
@@ -1583,7 +1598,7 @@ const de = (t) => {
|
|
|
1583
1598
|
minRows: 4,
|
|
1584
1599
|
name: "Feedback",
|
|
1585
1600
|
onChange: (E) => {
|
|
1586
|
-
c(E.target.value),
|
|
1601
|
+
c(E.target.value), d(E.target.value);
|
|
1587
1602
|
},
|
|
1588
1603
|
onClick: () => a(),
|
|
1589
1604
|
placeholder: l,
|
|
@@ -1595,7 +1610,7 @@ const de = (t) => {
|
|
|
1595
1610
|
}
|
|
1596
1611
|
),
|
|
1597
1612
|
n && /* @__PURE__ */ e(
|
|
1598
|
-
|
|
1613
|
+
S,
|
|
1599
1614
|
{
|
|
1600
1615
|
sx: {
|
|
1601
1616
|
color: t ? "error.darker" : null,
|
|
@@ -1608,7 +1623,7 @@ const de = (t) => {
|
|
|
1608
1623
|
]
|
|
1609
1624
|
}
|
|
1610
1625
|
);
|
|
1611
|
-
}, Ht = (t, r) => /* @__PURE__ */ i.createElement("svg", { width: 288, height: 156, viewBox: "0 0 288 156", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: r, ...t }, /* @__PURE__ */ i.createElement("rect", { width: 288, height: 156 }), /* @__PURE__ */ i.createElement("line", { x1: 16, y1: 119.5, x2: 272, y2: 119.5, stroke: "#A8B1BD" }), /* @__PURE__ */ i.createElement("path", { d: "M242 18C242 16.8954 242.895 16 244 16H262C263.105 16 264 16.8954 264 18V119H242V18Z", fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("path", { d: "M198 37C198 35.8954 198.895 35 200 35H218C219.105 35 220 35.8954 220 37V119H198V37Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M154 54C154 52.8954 154.895 52 156 52H174C175.105 52 176 52.8954 176 54V119H154V54Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M110 77C110 75.8954 110.895 75 112 75H130C131.105 75 132 75.8954 132 77V119H110V77Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M66 61C66 59.8954 66.8954 59 68 59H86C87.1046 59 88 59.8954 88 61V119H66V61Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M22 72C22 70.8954 22.8954 70 24 70H42C43.1046 70 44 70.8954 44 72V119H22V72Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 23, y: 130, width: 20, height: 6, rx: 3, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 67, y: 130, width: 20, height: 6, rx: 3, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 111, y: 130, width: 20, height: 6, rx: 3, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 155, y: 130, width: 20, height: 6, rx: 3, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 199, y: 130, width: 20, height: 6, rx: 3, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 243, y: 130, width: 20, height: 6, rx: 3, fill: "#CDD3DD" })),
|
|
1626
|
+
}, Ht = (t, r) => /* @__PURE__ */ i.createElement("svg", { width: 288, height: 156, viewBox: "0 0 288 156", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: r, ...t }, /* @__PURE__ */ i.createElement("rect", { width: 288, height: 156 }), /* @__PURE__ */ i.createElement("line", { x1: 16, y1: 119.5, x2: 272, y2: 119.5, stroke: "#A8B1BD" }), /* @__PURE__ */ i.createElement("path", { d: "M242 18C242 16.8954 242.895 16 244 16H262C263.105 16 264 16.8954 264 18V119H242V18Z", fill: "#CDD3DD" }), /* @__PURE__ */ i.createElement("path", { d: "M198 37C198 35.8954 198.895 35 200 35H218C219.105 35 220 35.8954 220 37V119H198V37Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M154 54C154 52.8954 154.895 52 156 52H174C175.105 52 176 52.8954 176 54V119H154V54Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M110 77C110 75.8954 110.895 75 112 75H130C131.105 75 132 75.8954 132 77V119H110V77Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M66 61C66 59.8954 66.8954 59 68 59H86C87.1046 59 88 59.8954 88 61V119H66V61Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("path", { d: "M22 72C22 70.8954 22.8954 70 24 70H42C43.1046 70 44 70.8954 44 72V119H22V72Z", fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 23, y: 130, width: 20, height: 6, rx: 3, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 67, y: 130, width: 20, height: 6, rx: 3, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 111, y: 130, width: 20, height: 6, rx: 3, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 155, y: 130, width: 20, height: 6, rx: 3, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 199, y: 130, width: 20, height: 6, rx: 3, fill: "#E4E8EE" }), /* @__PURE__ */ i.createElement("rect", { x: 243, y: 130, width: 20, height: 6, rx: 3, fill: "#CDD3DD" })), be = Y(Ht), Xi = ({
|
|
1612
1627
|
amounts: t,
|
|
1613
1628
|
beat: r,
|
|
1614
1629
|
buttonProps: n,
|
|
@@ -1617,20 +1632,20 @@ const de = (t) => {
|
|
|
1617
1632
|
legendLabelAvg: o,
|
|
1618
1633
|
legendLabelMain: a,
|
|
1619
1634
|
onBarClick: c,
|
|
1620
|
-
...
|
|
1621
|
-
}) => /* @__PURE__ */ e(
|
|
1635
|
+
...d
|
|
1636
|
+
}) => /* @__PURE__ */ e(b, { ...d, beat: r, button: /* @__PURE__ */ e(A, { ...n, beat: r }), children: s.length > 0 ? /* @__PURE__ */ e(
|
|
1622
1637
|
_,
|
|
1623
1638
|
{
|
|
1624
1639
|
amounts: t,
|
|
1625
1640
|
color: l,
|
|
1626
1641
|
data: s,
|
|
1627
|
-
isMini:
|
|
1642
|
+
isMini: d.isMini,
|
|
1628
1643
|
legendLabelAvg: o,
|
|
1629
1644
|
legendLabelMain: a,
|
|
1630
1645
|
margin: { bottom: 32, left: 2, right: 2, top: 24 },
|
|
1631
1646
|
onBarClick: c
|
|
1632
1647
|
}
|
|
1633
|
-
) : /* @__PURE__ */ e(K, { image:
|
|
1648
|
+
) : /* @__PURE__ */ e(K, { image: be }) });
|
|
1634
1649
|
var G = /* @__PURE__ */ ((t) => (t.Primary = "Primary", t.Secondary = "Secondary", t))(G || {});
|
|
1635
1650
|
const Pi = ({
|
|
1636
1651
|
amounts: t,
|
|
@@ -1641,16 +1656,16 @@ const Pi = ({
|
|
|
1641
1656
|
legendLabelAvg: o,
|
|
1642
1657
|
legendLabelMain: a,
|
|
1643
1658
|
onBarClick: c,
|
|
1644
|
-
selectedTabIndex:
|
|
1659
|
+
selectedTabIndex: d,
|
|
1645
1660
|
...m
|
|
1646
1661
|
}) => /* @__PURE__ */ e(
|
|
1647
|
-
|
|
1662
|
+
b,
|
|
1648
1663
|
{
|
|
1649
1664
|
...m,
|
|
1650
1665
|
beat: r,
|
|
1651
|
-
button: s.length ? /* @__PURE__ */
|
|
1666
|
+
button: s.length ? /* @__PURE__ */ h(p, { spacing: 10, sx: { pt: 8 }, children: [
|
|
1652
1667
|
/* @__PURE__ */ e(
|
|
1653
|
-
|
|
1668
|
+
A,
|
|
1654
1669
|
{
|
|
1655
1670
|
...n,
|
|
1656
1671
|
beat: r,
|
|
@@ -1658,7 +1673,7 @@ const Pi = ({
|
|
|
1658
1673
|
}
|
|
1659
1674
|
),
|
|
1660
1675
|
/* @__PURE__ */ e(
|
|
1661
|
-
|
|
1676
|
+
A,
|
|
1662
1677
|
{
|
|
1663
1678
|
...n,
|
|
1664
1679
|
beat: r,
|
|
@@ -1683,7 +1698,7 @@ const Pi = ({
|
|
|
1683
1698
|
top: 24
|
|
1684
1699
|
},
|
|
1685
1700
|
onBarClick: c,
|
|
1686
|
-
selectedTabIndex:
|
|
1701
|
+
selectedTabIndex: d
|
|
1687
1702
|
}
|
|
1688
1703
|
) : /* @__PURE__ */ e(X, {})
|
|
1689
1704
|
}
|
|
@@ -1696,15 +1711,15 @@ const Pi = ({
|
|
|
1696
1711
|
transactionDescription: o,
|
|
1697
1712
|
...a
|
|
1698
1713
|
}) => {
|
|
1699
|
-
const { primary_transaction: c, primary_category_guid:
|
|
1714
|
+
const { primary_transaction: c, primary_category_guid: d } = t;
|
|
1700
1715
|
if (!c) return null;
|
|
1701
|
-
const m = c.top_level_category_guid || c.category_guid ||
|
|
1716
|
+
const m = c.top_level_category_guid || c.category_guid || d || "", E = c.merchant_guid || "", y = m || d, k = s ? "linear-gradient(#19B07B, #006642)" : "linear-gradient(#D9FDEA, #8DF1CE)";
|
|
1702
1717
|
return /* @__PURE__ */ e(
|
|
1703
|
-
|
|
1718
|
+
b,
|
|
1704
1719
|
{
|
|
1705
1720
|
...a,
|
|
1706
1721
|
beat: t,
|
|
1707
|
-
button: /* @__PURE__ */ e(u, { sx: { pb: 16, px: 16 }, children: /* @__PURE__ */ e(
|
|
1722
|
+
button: /* @__PURE__ */ e(u, { sx: { pb: 16, px: 16 }, children: /* @__PURE__ */ e(A, { ...r, beat: t }) }),
|
|
1708
1723
|
contentProps: {
|
|
1709
1724
|
hasFullWidthImage: !0,
|
|
1710
1725
|
sx: { px: 0 }
|
|
@@ -1713,7 +1728,7 @@ const Pi = ({
|
|
|
1713
1728
|
...a.header,
|
|
1714
1729
|
hasFullWidthImage: !0
|
|
1715
1730
|
},
|
|
1716
|
-
children: /* @__PURE__ */ e(u, { sx: { background: k, p: 16, width: "100%" }, children: /* @__PURE__ */ e(j, { sx: { bgcolor: s ? "grey.800" : "common.white", p: 16 }, children: /* @__PURE__ */
|
|
1731
|
+
children: /* @__PURE__ */ e(u, { sx: { background: k, p: 16, width: "100%" }, children: /* @__PURE__ */ e(j, { sx: { bgcolor: s ? "grey.800" : "common.white", p: 16 }, children: /* @__PURE__ */ h(p, { sx: { alignItems: "center", gap: 12 }, children: [
|
|
1717
1732
|
/* @__PURE__ */ e(
|
|
1718
1733
|
U,
|
|
1719
1734
|
{
|
|
@@ -1723,10 +1738,10 @@ const Pi = ({
|
|
|
1723
1738
|
size: 40
|
|
1724
1739
|
}
|
|
1725
1740
|
),
|
|
1726
|
-
/* @__PURE__ */
|
|
1741
|
+
/* @__PURE__ */ h(p, { sx: { alignItems: "center", gap: 4 }, children: [
|
|
1727
1742
|
/* @__PURE__ */ e(ae, { color: "success.main", children: l }),
|
|
1728
1743
|
/* @__PURE__ */ e(M, { bold: !0, sx: { fontSize: 13, lineHeight: "16px" }, children: o }),
|
|
1729
|
-
/* @__PURE__ */
|
|
1744
|
+
/* @__PURE__ */ h(p, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
|
|
1730
1745
|
y && /* @__PURE__ */ e(
|
|
1731
1746
|
Ce,
|
|
1732
1747
|
{
|
|
@@ -1744,7 +1759,7 @@ const Pi = ({
|
|
|
1744
1759
|
}
|
|
1745
1760
|
);
|
|
1746
1761
|
}, Q = ({ sx: t }) => /* @__PURE__ */ e(
|
|
1747
|
-
|
|
1762
|
+
g,
|
|
1748
1763
|
{
|
|
1749
1764
|
fill: !0,
|
|
1750
1765
|
name: "circle",
|
|
@@ -1773,7 +1788,7 @@ const Pi = ({
|
|
|
1773
1788
|
p: 16,
|
|
1774
1789
|
width: "100%"
|
|
1775
1790
|
},
|
|
1776
|
-
children: /* @__PURE__ */
|
|
1791
|
+
children: /* @__PURE__ */ h(
|
|
1777
1792
|
u,
|
|
1778
1793
|
{
|
|
1779
1794
|
ref: o,
|
|
@@ -1788,7 +1803,7 @@ const Pi = ({
|
|
|
1788
1803
|
},
|
|
1789
1804
|
children: [
|
|
1790
1805
|
/* @__PURE__ */ e(ce, { height: a, shouldRun: s, width: c }),
|
|
1791
|
-
/* @__PURE__ */
|
|
1806
|
+
/* @__PURE__ */ h(
|
|
1792
1807
|
u,
|
|
1793
1808
|
{
|
|
1794
1809
|
sx: {
|
|
@@ -1799,7 +1814,7 @@ const Pi = ({
|
|
|
1799
1814
|
width: 268
|
|
1800
1815
|
},
|
|
1801
1816
|
children: [
|
|
1802
|
-
/* @__PURE__ */
|
|
1817
|
+
/* @__PURE__ */ h(
|
|
1803
1818
|
u,
|
|
1804
1819
|
{
|
|
1805
1820
|
sx: {
|
|
@@ -1823,7 +1838,7 @@ const Pi = ({
|
|
|
1823
1838
|
/* @__PURE__ */ e(Q, { sx: { marginLeft: 11 } }),
|
|
1824
1839
|
/* @__PURE__ */ e(Q, { sx: { marginLeft: 4 } }),
|
|
1825
1840
|
s ? /* @__PURE__ */ e(
|
|
1826
|
-
|
|
1841
|
+
g,
|
|
1827
1842
|
{
|
|
1828
1843
|
fill: !0,
|
|
1829
1844
|
name: "check_circle",
|
|
@@ -1837,7 +1852,7 @@ const Pi = ({
|
|
|
1837
1852
|
}
|
|
1838
1853
|
}
|
|
1839
1854
|
) : /* @__PURE__ */ e(
|
|
1840
|
-
|
|
1855
|
+
g,
|
|
1841
1856
|
{
|
|
1842
1857
|
name: "link",
|
|
1843
1858
|
size: 28,
|
|
@@ -1899,12 +1914,12 @@ const Pi = ({
|
|
|
1899
1914
|
height: "100%",
|
|
1900
1915
|
justifyContent: "space-between",
|
|
1901
1916
|
sx: { bgcolor: "background.paper" },
|
|
1902
|
-
children: /* @__PURE__ */
|
|
1903
|
-
/* @__PURE__ */
|
|
1917
|
+
children: /* @__PURE__ */ h(u, { height: "100%", overflow: "auto", children: [
|
|
1918
|
+
/* @__PURE__ */ h(u, { children: [
|
|
1904
1919
|
/* @__PURE__ */ e(ae, { sx: { p: "16px 24px 8px 24px", whiteSpace: "wrap" }, children: t.header_text }),
|
|
1905
|
-
/* @__PURE__ */
|
|
1906
|
-
/* @__PURE__ */ e(
|
|
1907
|
-
/* @__PURE__ */ e(Ee, { children: t.benefits_list_array.map((n, l) => /* @__PURE__ */
|
|
1920
|
+
/* @__PURE__ */ h(p, { sx: { gap: 12, px: 24 }, children: [
|
|
1921
|
+
/* @__PURE__ */ e(S, { color: "textSecondary", fontSize: 13, children: t.description }),
|
|
1922
|
+
/* @__PURE__ */ e(Ee, { children: t.benefits_list_array.map((n, l) => /* @__PURE__ */ h(
|
|
1908
1923
|
ue,
|
|
1909
1924
|
{
|
|
1910
1925
|
sx: {
|
|
@@ -1915,7 +1930,7 @@ const Pi = ({
|
|
|
1915
1930
|
minHeight: "unset"
|
|
1916
1931
|
},
|
|
1917
1932
|
children: [
|
|
1918
|
-
/* @__PURE__ */ e(ie, { children: /* @__PURE__ */ e(
|
|
1933
|
+
/* @__PURE__ */ e(ie, { children: /* @__PURE__ */ e(g, { color: "success", name: "check_circle", size: 16, sx: { lineHeight: 1.2 } }) }),
|
|
1919
1934
|
/* @__PURE__ */ e(
|
|
1920
1935
|
re,
|
|
1921
1936
|
{
|
|
@@ -1930,10 +1945,10 @@ const Pi = ({
|
|
|
1930
1945
|
)) })
|
|
1931
1946
|
] })
|
|
1932
1947
|
] }),
|
|
1933
|
-
/* @__PURE__ */
|
|
1948
|
+
/* @__PURE__ */ h(u, { children: [
|
|
1934
1949
|
/* @__PURE__ */ e(M, { bold: !0, fontSize: 15, sx: { p: "16px 24px 8px 24px" }, children: t.shared_info_header_text }),
|
|
1935
|
-
/* @__PURE__ */ e(
|
|
1936
|
-
/* @__PURE__ */ e(Ee, { sx: { p: "16px 24px" }, children: t.shared_info_list_array.map((n, l) => /* @__PURE__ */
|
|
1950
|
+
/* @__PURE__ */ e(S, { color: "textSecondary", fontSize: 13, sx: { mb: 16, mx: 24 }, children: t.shared_info_description }),
|
|
1951
|
+
/* @__PURE__ */ e(Ee, { sx: { p: "16px 24px" }, children: t.shared_info_list_array.map((n, l) => /* @__PURE__ */ h(
|
|
1937
1952
|
ue,
|
|
1938
1953
|
{
|
|
1939
1954
|
sx: {
|
|
@@ -1949,7 +1964,7 @@ const Pi = ({
|
|
|
1949
1964
|
p: 16
|
|
1950
1965
|
},
|
|
1951
1966
|
children: [
|
|
1952
|
-
/* @__PURE__ */ e(ie, { children: /* @__PURE__ */ e(
|
|
1967
|
+
/* @__PURE__ */ e(ie, { children: /* @__PURE__ */ e(g, { name: n.icon_name, size: 24 }) }),
|
|
1953
1968
|
/* @__PURE__ */ e(
|
|
1954
1969
|
re,
|
|
1955
1970
|
{
|
|
@@ -1970,15 +1985,15 @@ const Pi = ({
|
|
|
1970
1985
|
`lower-list-${l}`
|
|
1971
1986
|
)) })
|
|
1972
1987
|
] }),
|
|
1973
|
-
/* @__PURE__ */
|
|
1988
|
+
/* @__PURE__ */ h(p, { sx: { alignItems: "center", justifyContent: "center", pb: 16 }, children: [
|
|
1974
1989
|
/* @__PURE__ */ e(M, { bold: !0, sx: { p: "16px 24px 8px 24px" }, children: t.footer_title }),
|
|
1975
|
-
/* @__PURE__ */
|
|
1990
|
+
/* @__PURE__ */ h(u, { sx: { display: "flex", gap: 24, p: "12px 24px" }, children: [
|
|
1976
1991
|
/* @__PURE__ */ e(
|
|
1977
1992
|
z,
|
|
1978
1993
|
{
|
|
1979
1994
|
"aria-label": t.aria_label_thumbs_down,
|
|
1980
1995
|
onClick: () => r("no"),
|
|
1981
|
-
children: /* @__PURE__ */ e(
|
|
1996
|
+
children: /* @__PURE__ */ e(g, { color: "secondary", name: "thumb_down", size: 24 })
|
|
1982
1997
|
}
|
|
1983
1998
|
),
|
|
1984
1999
|
/* @__PURE__ */ e(
|
|
@@ -1986,7 +2001,7 @@ const Pi = ({
|
|
|
1986
2001
|
{
|
|
1987
2002
|
"aria-label": t.aria_label_thumbs_up,
|
|
1988
2003
|
onClick: () => r("yes"),
|
|
1989
|
-
children: /* @__PURE__ */ e(
|
|
2004
|
+
children: /* @__PURE__ */ e(g, { color: "secondary", name: "thumb_up", size: 24 })
|
|
1990
2005
|
}
|
|
1991
2006
|
)
|
|
1992
2007
|
] })
|
|
@@ -2020,7 +2035,7 @@ const Pi = ({
|
|
|
2020
2035
|
marginBottom: 16,
|
|
2021
2036
|
width: r ? "30%" : "50%"
|
|
2022
2037
|
}, o = t ? { ...s, width: r ? "50%" : "70%" } : s;
|
|
2023
|
-
return /* @__PURE__ */ e(
|
|
2038
|
+
return /* @__PURE__ */ e(b, { ...n, isMini: r, children: /* @__PURE__ */ e(K, { divProps: { style: o }, image: l }) });
|
|
2024
2039
|
}, _i = ({
|
|
2025
2040
|
altLoadingText: t,
|
|
2026
2041
|
beat: r,
|
|
@@ -2028,13 +2043,13 @@ const Pi = ({
|
|
|
2028
2043
|
header: l,
|
|
2029
2044
|
isMini: s
|
|
2030
2045
|
}) => /* @__PURE__ */ e(
|
|
2031
|
-
|
|
2046
|
+
b,
|
|
2032
2047
|
{
|
|
2033
2048
|
altLoadingText: t,
|
|
2034
2049
|
beat: r,
|
|
2035
|
-
button: /* @__PURE__ */
|
|
2050
|
+
button: /* @__PURE__ */ h(p, { spacing: 10, children: [
|
|
2036
2051
|
/* @__PURE__ */ e(
|
|
2037
|
-
|
|
2052
|
+
A,
|
|
2038
2053
|
{
|
|
2039
2054
|
beat: r,
|
|
2040
2055
|
...n,
|
|
@@ -2042,7 +2057,7 @@ const Pi = ({
|
|
|
2042
2057
|
}
|
|
2043
2058
|
),
|
|
2044
2059
|
r.supporting_action && /* @__PURE__ */ e(
|
|
2045
|
-
|
|
2060
|
+
A,
|
|
2046
2061
|
{
|
|
2047
2062
|
...n,
|
|
2048
2063
|
beat: r,
|
|
@@ -2072,10 +2087,10 @@ const Pi = ({
|
|
|
2072
2087
|
onBarClick: a,
|
|
2073
2088
|
...c
|
|
2074
2089
|
}) => /* @__PURE__ */ e(
|
|
2075
|
-
|
|
2090
|
+
b,
|
|
2076
2091
|
{
|
|
2077
2092
|
beat: t,
|
|
2078
|
-
button: l.length ? /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(
|
|
2093
|
+
button: l.length ? /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(A, { ...r, beat: t }) }) : null,
|
|
2079
2094
|
...c,
|
|
2080
2095
|
children: l.length ? /* @__PURE__ */ e(
|
|
2081
2096
|
he,
|
|
@@ -2104,10 +2119,10 @@ const Pi = ({
|
|
|
2104
2119
|
showGoalContributedLastMonth: o,
|
|
2105
2120
|
showProjectedToCompleteDate: a,
|
|
2106
2121
|
title: c,
|
|
2107
|
-
totalSavedText:
|
|
2122
|
+
totalSavedText: d
|
|
2108
2123
|
}) => {
|
|
2109
2124
|
const m = Re(n ? "dark" : "light");
|
|
2110
|
-
return /* @__PURE__ */ e(Ke, { theme: m, children: /* @__PURE__ */ e(u, { className: "mx-insights-mefr-body", "data-ui-test": "mefr-body", sx: { mb: 16 }, children: /* @__PURE__ */
|
|
2125
|
+
return /* @__PURE__ */ e(Ke, { theme: m, children: /* @__PURE__ */ e(u, { className: "mx-insights-mefr-body", "data-ui-test": "mefr-body", sx: { mb: 16 }, children: /* @__PURE__ */ h(et, { title: c, children: [
|
|
2111
2126
|
/* @__PURE__ */ e(
|
|
2112
2127
|
$e,
|
|
2113
2128
|
{
|
|
@@ -2115,7 +2130,7 @@ const Pi = ({
|
|
|
2115
2130
|
percentageCompleteText: s
|
|
2116
2131
|
}
|
|
2117
2132
|
),
|
|
2118
|
-
/* @__PURE__ */
|
|
2133
|
+
/* @__PURE__ */ h(
|
|
2119
2134
|
u,
|
|
2120
2135
|
{
|
|
2121
2136
|
className: "mx-insights-mefr-body-content",
|
|
@@ -2128,14 +2143,14 @@ const Pi = ({
|
|
|
2128
2143
|
Ft,
|
|
2129
2144
|
{
|
|
2130
2145
|
showGoalContributedLastMonth: o,
|
|
2131
|
-
totalSavedText:
|
|
2146
|
+
totalSavedText: d
|
|
2132
2147
|
}
|
|
2133
2148
|
)
|
|
2134
2149
|
]
|
|
2135
2150
|
}
|
|
2136
2151
|
)
|
|
2137
2152
|
] }) }) });
|
|
2138
|
-
}, Ot = ({ goalContribution: t }) => /* @__PURE__ */
|
|
2153
|
+
}, Ot = ({ goalContribution: t }) => /* @__PURE__ */ h(
|
|
2139
2154
|
p,
|
|
2140
2155
|
{
|
|
2141
2156
|
"data-ui-test": "mefr-body-contributed",
|
|
@@ -2146,7 +2161,7 @@ const Pi = ({
|
|
|
2146
2161
|
size: 13
|
|
2147
2162
|
},
|
|
2148
2163
|
children: [
|
|
2149
|
-
/* @__PURE__ */ e(
|
|
2164
|
+
/* @__PURE__ */ e(g, { color: "secondary", fill: !0, name: "bid_landscape", sx: { mr: 4 } }),
|
|
2150
2165
|
/* @__PURE__ */ e(
|
|
2151
2166
|
M,
|
|
2152
2167
|
{
|
|
@@ -2157,7 +2172,7 @@ const Pi = ({
|
|
|
2157
2172
|
)
|
|
2158
2173
|
]
|
|
2159
2174
|
}
|
|
2160
|
-
), Yt = ({ goalCompletionDate: t }) => /* @__PURE__ */
|
|
2175
|
+
), Yt = ({ goalCompletionDate: t }) => /* @__PURE__ */ h(
|
|
2161
2176
|
p,
|
|
2162
2177
|
{
|
|
2163
2178
|
"data-ui-test": "mefr-body-projected",
|
|
@@ -2168,7 +2183,7 @@ const Pi = ({
|
|
|
2168
2183
|
size: 13
|
|
2169
2184
|
},
|
|
2170
2185
|
children: [
|
|
2171
|
-
/* @__PURE__ */ e(
|
|
2186
|
+
/* @__PURE__ */ e(g, { name: "calendar_month", sx: { mr: 4 } }),
|
|
2172
2187
|
/* @__PURE__ */ e(
|
|
2173
2188
|
M,
|
|
2174
2189
|
{
|
|
@@ -2182,7 +2197,7 @@ const Pi = ({
|
|
|
2182
2197
|
), Ft = ({
|
|
2183
2198
|
showGoalContributedLastMonth: t,
|
|
2184
2199
|
totalSavedText: r
|
|
2185
|
-
}) => /* @__PURE__ */
|
|
2200
|
+
}) => /* @__PURE__ */ h(
|
|
2186
2201
|
p,
|
|
2187
2202
|
{
|
|
2188
2203
|
"data-ui-test": "mefr-body-saved",
|
|
@@ -2193,7 +2208,7 @@ const Pi = ({
|
|
|
2193
2208
|
size: 13
|
|
2194
2209
|
},
|
|
2195
2210
|
children: [
|
|
2196
|
-
/* @__PURE__ */ e(
|
|
2211
|
+
/* @__PURE__ */ e(g, { name: "paid", sx: { mr: 4 } }),
|
|
2197
2212
|
/* @__PURE__ */ e(
|
|
2198
2213
|
M,
|
|
2199
2214
|
{
|
|
@@ -2215,10 +2230,10 @@ const Pi = ({
|
|
|
2215
2230
|
onBarClick: a,
|
|
2216
2231
|
...c
|
|
2217
2232
|
}) => /* @__PURE__ */ e(
|
|
2218
|
-
|
|
2233
|
+
b,
|
|
2219
2234
|
{
|
|
2220
2235
|
beat: t,
|
|
2221
|
-
button: l.length ? /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(
|
|
2236
|
+
button: l.length ? /* @__PURE__ */ e(p, { children: /* @__PURE__ */ e(A, { ...r, beat: t }) }) : null,
|
|
2222
2237
|
...c,
|
|
2223
2238
|
children: l.length ? /* @__PURE__ */ e(
|
|
2224
2239
|
he,
|
|
@@ -2247,20 +2262,20 @@ const Pi = ({
|
|
|
2247
2262
|
legendLabelAvg: o,
|
|
2248
2263
|
legendLabelMain: a,
|
|
2249
2264
|
onBarClick: c,
|
|
2250
|
-
...
|
|
2251
|
-
}) => /* @__PURE__ */ e(
|
|
2265
|
+
...d
|
|
2266
|
+
}) => /* @__PURE__ */ e(b, { ...d, beat: r, button: /* @__PURE__ */ e(A, { ...n, beat: r }), children: s.length > 0 ? /* @__PURE__ */ e(
|
|
2252
2267
|
_,
|
|
2253
2268
|
{
|
|
2254
2269
|
amounts: t,
|
|
2255
2270
|
color: l,
|
|
2256
2271
|
data: s,
|
|
2257
|
-
isMini:
|
|
2272
|
+
isMini: d.isMini,
|
|
2258
2273
|
legendLabelAvg: o,
|
|
2259
2274
|
legendLabelMain: a,
|
|
2260
2275
|
margin: { bottom: 32, left: 2, right: 2, top: 24 },
|
|
2261
2276
|
onBarClick: c
|
|
2262
2277
|
}
|
|
2263
|
-
) : /* @__PURE__ */ e(K, { image:
|
|
2278
|
+
) : /* @__PURE__ */ e(K, { image: be }) }), r1 = ({
|
|
2264
2279
|
beat: t,
|
|
2265
2280
|
buttonProps: r,
|
|
2266
2281
|
colors: n,
|
|
@@ -2270,11 +2285,11 @@ const Pi = ({
|
|
|
2270
2285
|
onBarClick: a,
|
|
2271
2286
|
...c
|
|
2272
2287
|
}) => /* @__PURE__ */ e(
|
|
2273
|
-
|
|
2288
|
+
b,
|
|
2274
2289
|
{
|
|
2275
2290
|
...c,
|
|
2276
2291
|
beat: t,
|
|
2277
|
-
button: l.length ? /* @__PURE__ */ e(p, { spacing: 10, sx: { pt: 8 }, children: /* @__PURE__ */ e(
|
|
2292
|
+
button: l.length ? /* @__PURE__ */ e(p, { spacing: 10, sx: { pt: 8 }, children: /* @__PURE__ */ e(A, { ...r, beat: t }) }) : null,
|
|
2278
2293
|
children: l.length ? /* @__PURE__ */ e(
|
|
2279
2294
|
he,
|
|
2280
2295
|
{
|
|
@@ -2299,11 +2314,11 @@ const Pi = ({
|
|
|
2299
2314
|
transactions: n,
|
|
2300
2315
|
...l
|
|
2301
2316
|
}) => /* @__PURE__ */ e(
|
|
2302
|
-
|
|
2317
|
+
b,
|
|
2303
2318
|
{
|
|
2304
2319
|
...l,
|
|
2305
2320
|
beat: t,
|
|
2306
|
-
button: t.call_to_action && /* @__PURE__ */ e(
|
|
2321
|
+
button: t.call_to_action && /* @__PURE__ */ e(A, { ...r, beat: t }),
|
|
2307
2322
|
children: n.length > 1 ? /* @__PURE__ */ e(
|
|
2308
2323
|
Kt,
|
|
2309
2324
|
{
|
|
@@ -2393,7 +2408,7 @@ const Pi = ({
|
|
|
2393
2408
|
top: l(c),
|
|
2394
2409
|
width: 48
|
|
2395
2410
|
},
|
|
2396
|
-
children: /* @__PURE__ */ e(
|
|
2411
|
+
children: /* @__PURE__ */ e(S, { fontSize: 24, children: ` +${o}` })
|
|
2397
2412
|
},
|
|
2398
2413
|
"display-count"
|
|
2399
2414
|
);
|
|
@@ -2402,7 +2417,7 @@ const Pi = ({
|
|
|
2402
2417
|
)
|
|
2403
2418
|
}
|
|
2404
2419
|
);
|
|
2405
|
-
}, Wt = ({ amount: t, categoryGuid: r, description: n, feedDescription: l, merchantGuid: s }) => /* @__PURE__ */
|
|
2420
|
+
}, Wt = ({ amount: t, categoryGuid: r, description: n, feedDescription: l, merchantGuid: s }) => /* @__PURE__ */ h(
|
|
2406
2421
|
p,
|
|
2407
2422
|
{
|
|
2408
2423
|
sx: {
|
|
@@ -2443,14 +2458,14 @@ const Pi = ({
|
|
|
2443
2458
|
legendLabelMain: o,
|
|
2444
2459
|
onBarClick: a,
|
|
2445
2460
|
selectedTabIndex: c,
|
|
2446
|
-
...
|
|
2461
|
+
...d
|
|
2447
2462
|
}) => /* @__PURE__ */ e(
|
|
2448
|
-
|
|
2463
|
+
b,
|
|
2449
2464
|
{
|
|
2450
|
-
...
|
|
2465
|
+
...d,
|
|
2451
2466
|
beat: r,
|
|
2452
2467
|
button: s.length ? /* @__PURE__ */ e(p, { spacing: 10, sx: { pt: 8 }, children: /* @__PURE__ */ e(
|
|
2453
|
-
|
|
2468
|
+
A,
|
|
2454
2469
|
{
|
|
2455
2470
|
...n,
|
|
2456
2471
|
beat: r,
|
|
@@ -2463,7 +2478,7 @@ const Pi = ({
|
|
|
2463
2478
|
amounts: t,
|
|
2464
2479
|
color: l,
|
|
2465
2480
|
data: s,
|
|
2466
|
-
isMini:
|
|
2481
|
+
isMini: d.isMini,
|
|
2467
2482
|
legendLabelMain: o,
|
|
2468
2483
|
margin: {
|
|
2469
2484
|
bottom: 32,
|
|
@@ -2485,9 +2500,9 @@ const Pi = ({
|
|
|
2485
2500
|
isMini: o,
|
|
2486
2501
|
headerString: a,
|
|
2487
2502
|
rightLowerText: c,
|
|
2488
|
-
rightUpperText:
|
|
2503
|
+
rightUpperText: d
|
|
2489
2504
|
}) => /* @__PURE__ */ e(
|
|
2490
|
-
|
|
2505
|
+
Ae,
|
|
2491
2506
|
{
|
|
2492
2507
|
account: t,
|
|
2493
2508
|
animation: r,
|
|
@@ -2497,9 +2512,9 @@ const Pi = ({
|
|
|
2497
2512
|
leftLowerText: n,
|
|
2498
2513
|
leftUpperText: l,
|
|
2499
2514
|
rightLowerText: c,
|
|
2500
|
-
rightUpperText:
|
|
2515
|
+
rightUpperText: d
|
|
2501
2516
|
}
|
|
2502
|
-
),
|
|
2517
|
+
), xe = ({ accountGuid: t, accountName: r }) => /* @__PURE__ */ h(
|
|
2503
2518
|
p,
|
|
2504
2519
|
{
|
|
2505
2520
|
className: "mx-insights-sdd-account-Card",
|
|
@@ -2526,7 +2541,7 @@ const Pi = ({
|
|
|
2526
2541
|
}
|
|
2527
2542
|
),
|
|
2528
2543
|
/* @__PURE__ */ e(
|
|
2529
|
-
|
|
2544
|
+
S,
|
|
2530
2545
|
{
|
|
2531
2546
|
className: "mx-insights-sdd-account-account-name",
|
|
2532
2547
|
sx: { textAlign: "center" },
|
|
@@ -2541,16 +2556,16 @@ const Pi = ({
|
|
|
2541
2556
|
externalAccountName: r,
|
|
2542
2557
|
heldAccountName: n,
|
|
2543
2558
|
sourceAccountGuid: l
|
|
2544
|
-
}) => /* @__PURE__ */
|
|
2559
|
+
}) => /* @__PURE__ */ h(
|
|
2545
2560
|
p,
|
|
2546
2561
|
{
|
|
2547
2562
|
className: "mx-insights-sdd-main-container",
|
|
2548
2563
|
direction: "row",
|
|
2549
2564
|
sx: { gap: 8, justifyContent: "center", py: 12, width: "100%" },
|
|
2550
2565
|
children: [
|
|
2551
|
-
/* @__PURE__ */ e(
|
|
2566
|
+
/* @__PURE__ */ e(xe, { accountGuid: l, accountName: r }),
|
|
2552
2567
|
/* @__PURE__ */ e(
|
|
2553
|
-
|
|
2568
|
+
g,
|
|
2554
2569
|
{
|
|
2555
2570
|
className: "mx-insights-sdd-arrow-forward-icon",
|
|
2556
2571
|
name: "arrow_forward",
|
|
@@ -2559,7 +2574,7 @@ const Pi = ({
|
|
|
2559
2574
|
weight: 400
|
|
2560
2575
|
}
|
|
2561
2576
|
),
|
|
2562
|
-
/* @__PURE__ */ e(
|
|
2577
|
+
/* @__PURE__ */ e(xe, { accountGuid: t, accountName: n })
|
|
2563
2578
|
]
|
|
2564
2579
|
}
|
|
2565
2580
|
), s1 = ({
|
|
@@ -2571,20 +2586,20 @@ const Pi = ({
|
|
|
2571
2586
|
headerString: o,
|
|
2572
2587
|
isComplete: a,
|
|
2573
2588
|
isMini: c,
|
|
2574
|
-
leftLowerText:
|
|
2589
|
+
leftLowerText: d,
|
|
2575
2590
|
leftUpperText: m,
|
|
2576
2591
|
rightLowerText: E,
|
|
2577
2592
|
rightUpperText: y,
|
|
2578
2593
|
sourceAccountGuid: k
|
|
2579
2594
|
}) => /* @__PURE__ */ e(Z.Fragment, { children: a ? /* @__PURE__ */ e(
|
|
2580
|
-
|
|
2595
|
+
Ae,
|
|
2581
2596
|
{
|
|
2582
2597
|
account: t,
|
|
2583
2598
|
animation: r,
|
|
2584
2599
|
headerString: o,
|
|
2585
2600
|
isComplete: a,
|
|
2586
2601
|
isMini: c,
|
|
2587
|
-
leftLowerText:
|
|
2602
|
+
leftLowerText: d,
|
|
2588
2603
|
leftUpperText: m,
|
|
2589
2604
|
rightLowerText: E,
|
|
2590
2605
|
rightUpperText: y
|
|
@@ -2597,7 +2612,7 @@ const Pi = ({
|
|
|
2597
2612
|
heldAccountName: s,
|
|
2598
2613
|
sourceAccountGuid: k
|
|
2599
2614
|
}
|
|
2600
|
-
) }),
|
|
2615
|
+
) }), Tt = ({
|
|
2601
2616
|
beat: t,
|
|
2602
2617
|
category: r,
|
|
2603
2618
|
formattedNumber: n,
|
|
@@ -2624,7 +2639,7 @@ const Pi = ({
|
|
|
2624
2639
|
width: "100%"
|
|
2625
2640
|
}
|
|
2626
2641
|
};
|
|
2627
|
-
return /* @__PURE__ */ e(p, { sx: a.boxContainer, children: /* @__PURE__ */
|
|
2642
|
+
return /* @__PURE__ */ e(p, { sx: a.boxContainer, children: /* @__PURE__ */ h(
|
|
2628
2643
|
j,
|
|
2629
2644
|
{
|
|
2630
2645
|
sx: {
|
|
@@ -2642,7 +2657,7 @@ const Pi = ({
|
|
|
2642
2657
|
}
|
|
2643
2658
|
),
|
|
2644
2659
|
/* @__PURE__ */ e(
|
|
2645
|
-
|
|
2660
|
+
S,
|
|
2646
2661
|
{
|
|
2647
2662
|
bold: !0,
|
|
2648
2663
|
sx: { color: "success.main", fontSize: 18, fontWeight: 700, mt: 12 },
|
|
@@ -2650,8 +2665,8 @@ const Pi = ({
|
|
|
2650
2665
|
children: n
|
|
2651
2666
|
}
|
|
2652
2667
|
),
|
|
2653
|
-
/* @__PURE__ */ e(
|
|
2654
|
-
/* @__PURE__ */
|
|
2668
|
+
/* @__PURE__ */ e(S, { sx: { fontSize: 13, fontWeight: 400, p: 4 }, variant: "Small", children: t.primary_transaction?.description }),
|
|
2669
|
+
/* @__PURE__ */ h(p, { alignItems: "center", direction: "row", children: [
|
|
2655
2670
|
t.primary_transaction?.top_level_category_guid && /* @__PURE__ */ e(
|
|
2656
2671
|
Ce,
|
|
2657
2672
|
{
|
|
@@ -2662,7 +2677,7 @@ const Pi = ({
|
|
|
2662
2677
|
}
|
|
2663
2678
|
),
|
|
2664
2679
|
/* @__PURE__ */ e(
|
|
2665
|
-
|
|
2680
|
+
S,
|
|
2666
2681
|
{
|
|
2667
2682
|
sx: { color: "text.secondary", fontSize: 11, fontWeight: 400, ml: 8 },
|
|
2668
2683
|
variant: "XSmall",
|
|
@@ -2682,11 +2697,11 @@ const Pi = ({
|
|
|
2682
2697
|
isMini: o,
|
|
2683
2698
|
...a
|
|
2684
2699
|
}) => /* @__PURE__ */ e(
|
|
2685
|
-
|
|
2700
|
+
b,
|
|
2686
2701
|
{
|
|
2687
2702
|
...a,
|
|
2688
2703
|
beat: t,
|
|
2689
|
-
button: /* @__PURE__ */ e(u, { sx: { pt: 8, px: 16 }, children: /* @__PURE__ */ e(
|
|
2704
|
+
button: /* @__PURE__ */ e(u, { sx: { pt: 8, px: 16 }, children: /* @__PURE__ */ e(A, { ...r, beat: t }) }),
|
|
2690
2705
|
contentProps: {
|
|
2691
2706
|
hasFullWidthImage: !0
|
|
2692
2707
|
},
|
|
@@ -2696,7 +2711,7 @@ const Pi = ({
|
|
|
2696
2711
|
},
|
|
2697
2712
|
isMini: o,
|
|
2698
2713
|
children: /* @__PURE__ */ e(
|
|
2699
|
-
|
|
2714
|
+
Tt,
|
|
2700
2715
|
{
|
|
2701
2716
|
beat: t,
|
|
2702
2717
|
category: n,
|
|
@@ -2706,7 +2721,7 @@ const Pi = ({
|
|
|
2706
2721
|
}
|
|
2707
2722
|
)
|
|
2708
2723
|
}
|
|
2709
|
-
),
|
|
2724
|
+
), Dt = ({ noSpendDays: t, daysOfTheWeek: r }) => {
|
|
2710
2725
|
const n = F();
|
|
2711
2726
|
return /* @__PURE__ */ e(
|
|
2712
2727
|
le,
|
|
@@ -2721,7 +2736,7 @@ const Pi = ({
|
|
|
2721
2736
|
width: "100%",
|
|
2722
2737
|
children: r.map((l, s) => {
|
|
2723
2738
|
const o = t[l];
|
|
2724
|
-
return /* @__PURE__ */
|
|
2739
|
+
return /* @__PURE__ */ h(le, { alignItems: "center", spacing: 3, children: [
|
|
2725
2740
|
/* @__PURE__ */ e(
|
|
2726
2741
|
M,
|
|
2727
2742
|
{
|
|
@@ -2745,11 +2760,11 @@ const Pi = ({
|
|
|
2745
2760
|
displayData: l,
|
|
2746
2761
|
...s
|
|
2747
2762
|
}) => {
|
|
2748
|
-
const { no_spend_days: o } = t.payload, { noSpendDays: a, dollarBillAltText: c, daysOfTheWeek:
|
|
2749
|
-
return /* @__PURE__ */ e(
|
|
2763
|
+
const { no_spend_days: o } = t.payload, { noSpendDays: a, dollarBillAltText: c, daysOfTheWeek: d } = l, m = $t[o.length || 0], E = Z.useRef(null), { height: y, width: k } = de(E);
|
|
2764
|
+
return /* @__PURE__ */ e(b, { ...s, beat: t, button: /* @__PURE__ */ e(A, { ...r, beat: t }), children: n ? /* @__PURE__ */ e(bt, {}) : /* @__PURE__ */ h(le, { ref: E, alignItems: "center", justifyContent: "center", width: "100%", children: [
|
|
2750
2765
|
/* @__PURE__ */ e("img", { alt: c, src: m, width: 138 }),
|
|
2751
2766
|
o?.length >= 4 && /* @__PURE__ */ e(ce, { height: y, shouldRun: !0, width: k }),
|
|
2752
|
-
/* @__PURE__ */ e(
|
|
2767
|
+
/* @__PURE__ */ e(Dt, { daysOfTheWeek: d, noSpendDays: a })
|
|
2753
2768
|
] }) });
|
|
2754
2769
|
}, ei = ({
|
|
2755
2770
|
children: t,
|
|
@@ -2757,7 +2772,7 @@ const Pi = ({
|
|
|
2757
2772
|
shouldShow: n,
|
|
2758
2773
|
onClose: l,
|
|
2759
2774
|
...s
|
|
2760
|
-
}) => /* @__PURE__ */
|
|
2775
|
+
}) => /* @__PURE__ */ h(ge, { fullScreen: !0, onClose: l, open: n, ...s, children: [
|
|
2761
2776
|
/* @__PURE__ */ e(Ze, { children: r.title }),
|
|
2762
2777
|
/* @__PURE__ */ e(
|
|
2763
2778
|
z,
|
|
@@ -2769,7 +2784,7 @@ const Pi = ({
|
|
|
2769
2784
|
right: 8,
|
|
2770
2785
|
top: 8
|
|
2771
2786
|
},
|
|
2772
|
-
children: /* @__PURE__ */ e(
|
|
2787
|
+
children: /* @__PURE__ */ e(g, { name: "close" })
|
|
2773
2788
|
}
|
|
2774
2789
|
),
|
|
2775
2790
|
/* @__PURE__ */ e(Qe, { sx: { mb: 24 }, children: t })
|
|
@@ -2813,18 +2828,18 @@ const Pi = ({
|
|
|
2813
2828
|
isLoading: s,
|
|
2814
2829
|
...o
|
|
2815
2830
|
}) => {
|
|
2816
|
-
const [a, c] = Z.useState(t.were_working_on_it), [
|
|
2831
|
+
const [a, c] = Z.useState(t.were_working_on_it), [d, m] = Z.useState(0);
|
|
2817
2832
|
return Z.useEffect(() => {
|
|
2818
|
-
if (
|
|
2833
|
+
if (d <= 2) {
|
|
2819
2834
|
const E = [t.were_working_on_it, t.were_getting_closer, t.almost_there], y = setTimeout(() => {
|
|
2820
|
-
m(
|
|
2835
|
+
m(d + 1), c(E[d]);
|
|
2821
2836
|
}, 4e3);
|
|
2822
2837
|
return () => clearTimeout(y);
|
|
2823
2838
|
}
|
|
2824
|
-
}, [t,
|
|
2825
|
-
/* @__PURE__ */ e(p, { sx: { alignItems: "center", justifyContent: "space-between", mb: 24 }, children: /* @__PURE__ */ e(te, { borderColor: "#E5E5E5", size: 119, children: /* @__PURE__ */ e(te, { borderColor: "#B2B2B2", size: 97, children: /* @__PURE__ */
|
|
2839
|
+
}, [t, d, a]), /* @__PURE__ */ h(ei, { copy: t, ...o, children: [
|
|
2840
|
+
/* @__PURE__ */ e(p, { sx: { alignItems: "center", justifyContent: "space-between", mb: 24 }, children: /* @__PURE__ */ e(te, { borderColor: "#E5E5E5", size: 119, children: /* @__PURE__ */ e(te, { borderColor: "#B2B2B2", size: 97, children: /* @__PURE__ */ h(te, { borderColor: "#808080", size: 75, children: [
|
|
2826
2841
|
/* @__PURE__ */ e(ti, {}),
|
|
2827
|
-
/* @__PURE__ */
|
|
2842
|
+
/* @__PURE__ */ h(u, { sx: { alignItems: "center", display: "flex", gap: 4, zIndex: 1 }, children: [
|
|
2828
2843
|
/* @__PURE__ */ e(
|
|
2829
2844
|
V,
|
|
2830
2845
|
{
|
|
@@ -2836,8 +2851,8 @@ const Pi = ({
|
|
|
2836
2851
|
),
|
|
2837
2852
|
/* @__PURE__ */ e(B, {}),
|
|
2838
2853
|
/* @__PURE__ */ e(B, {}),
|
|
2839
|
-
l ? /* @__PURE__ */ e(
|
|
2840
|
-
|
|
2854
|
+
l ? /* @__PURE__ */ e(g, { color: "error", fill: !0, name: "error", size: 32 }) : /* @__PURE__ */ e(
|
|
2855
|
+
g,
|
|
2841
2856
|
{
|
|
2842
2857
|
fill: !0,
|
|
2843
2858
|
name: "nest_clock_farsight_analog",
|
|
@@ -2861,24 +2876,24 @@ const Pi = ({
|
|
|
2861
2876
|
height: 64,
|
|
2862
2877
|
width: 64
|
|
2863
2878
|
},
|
|
2864
|
-
children: /* @__PURE__ */ e(
|
|
2879
|
+
children: /* @__PURE__ */ e(g, { fill: !0, name: "monetization_on", size: 48 })
|
|
2865
2880
|
}
|
|
2866
2881
|
)
|
|
2867
2882
|
] })
|
|
2868
2883
|
] }) }) }) }),
|
|
2869
|
-
/* @__PURE__ */
|
|
2884
|
+
/* @__PURE__ */ h(p, { sx: { alignItems: "center", justifyContent: "center" }, children: [
|
|
2870
2885
|
n && !l && /* @__PURE__ */ e(ee, { sx: { textAlign: "center", whiteSpace: "wrap" }, children: t.your_direct_deposit_has_been_updated_successfully }),
|
|
2871
|
-
s && /* @__PURE__ */
|
|
2886
|
+
s && /* @__PURE__ */ h(O, { children: [
|
|
2872
2887
|
/* @__PURE__ */ e(ee, { children: t.connecting }),
|
|
2873
2888
|
/* @__PURE__ */ e(u, { sx: { my: 24, width: "50%" }, children: /* @__PURE__ */ e(Ne, { "aria-label": t.loading }) }),
|
|
2874
2889
|
/* @__PURE__ */ e(M, { bold: !0, variant: "Body", children: t.syncing_your_information }),
|
|
2875
2890
|
/* @__PURE__ */ e(M, { sx: { mt: 8 }, variant: "Small", children: a })
|
|
2876
2891
|
] }),
|
|
2877
|
-
l && /* @__PURE__ */
|
|
2878
|
-
/* @__PURE__ */
|
|
2892
|
+
l && /* @__PURE__ */ h(p, { sx: { gap: 24, px: 24, pb: 24 }, children: [
|
|
2893
|
+
/* @__PURE__ */ h(p, { children: [
|
|
2879
2894
|
/* @__PURE__ */ e(ee, { sx: { alignSelf: "center" }, children: t.error_title }),
|
|
2880
2895
|
/* @__PURE__ */ e(
|
|
2881
|
-
|
|
2896
|
+
S,
|
|
2882
2897
|
{
|
|
2883
2898
|
dangerouslySetInnerHTML: { __html: t.error_description },
|
|
2884
2899
|
sx: {
|
|
@@ -2892,27 +2907,27 @@ const Pi = ({
|
|
|
2892
2907
|
}
|
|
2893
2908
|
)
|
|
2894
2909
|
] }),
|
|
2895
|
-
/* @__PURE__ */ e(
|
|
2910
|
+
/* @__PURE__ */ e(T, { onClick: o.onClose, sx: { mx: "auto" }, variant: "contained", children: t.error_button_text })
|
|
2896
2911
|
] })
|
|
2897
2912
|
] })
|
|
2898
2913
|
] });
|
|
2899
2914
|
};
|
|
2900
2915
|
export {
|
|
2901
|
-
|
|
2916
|
+
xe as AccountBox,
|
|
2902
2917
|
_ as BarChart,
|
|
2903
|
-
|
|
2918
|
+
b as BeatCard,
|
|
2904
2919
|
ji as BeatFeedbackText,
|
|
2905
2920
|
Xi as BillAmountNotStandard,
|
|
2906
2921
|
Yi as BottomSheet,
|
|
2907
2922
|
Wi as CardButtonSection,
|
|
2908
|
-
|
|
2923
|
+
kt as CardError,
|
|
2909
2924
|
Ct as CardHeader,
|
|
2910
2925
|
St as CardLoading,
|
|
2911
2926
|
Pi as CategorySpendingV2,
|
|
2912
2927
|
ce as Confetti,
|
|
2913
2928
|
Mt as ContentAndDescription,
|
|
2914
2929
|
Jt as Description,
|
|
2915
|
-
|
|
2930
|
+
Ae as DirectDeposit,
|
|
2916
2931
|
h1 as DirectDepositDeepLink,
|
|
2917
2932
|
Ki as DirectDepositSubHeader,
|
|
2918
2933
|
Lt as DiscoveredAccountsBody,
|
|
@@ -2921,15 +2936,15 @@ export {
|
|
|
2921
2936
|
he as DoubleBarChart,
|
|
2922
2937
|
X as EmptyBarChart,
|
|
2923
2938
|
Bi as FederalBankHoliday,
|
|
2924
|
-
|
|
2925
|
-
|
|
2939
|
+
Ti as FeedbackButtons,
|
|
2940
|
+
Di as FeedbackDescription,
|
|
2926
2941
|
zi as FeedbackHeader,
|
|
2927
2942
|
Ui as FeedbackOptions,
|
|
2928
2943
|
mt as FullFeedBodyHeader,
|
|
2929
|
-
|
|
2944
|
+
A as InsightButton,
|
|
2930
2945
|
Ot as LastMonthsContributionSection,
|
|
2931
2946
|
Et as LeftBox,
|
|
2932
|
-
|
|
2947
|
+
bt as LinedCardZeroState,
|
|
2933
2948
|
Fi as MenuAction,
|
|
2934
2949
|
ut as MiniBodyHeader,
|
|
2935
2950
|
wt as MiniDescription,
|