@mx-cartographer/experiences 8.0.19 → 8.0.21

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.
Files changed (55) hide show
  1. package/CHANGELOG.md +12 -4
  2. package/dist/{AccountStore-DpYvNnql.mjs → AccountStore-B7zfcad7.mjs} +1 -1
  3. package/dist/{BudgetUtil-CLhRnCoX.mjs → BudgetUtil-DZpOoZQa.mjs} +1 -1
  4. package/dist/{EmbeddedCard-xngm4vLT.mjs → EmbeddedCard-D0Pgpiuq.mjs} +89 -81
  5. package/dist/{GlobalAccountFilter-B73Pw1hJ.mjs → GlobalAccountFilter-CmnaZDS6.mjs} +27 -27
  6. package/dist/{Help-DBAosGjO.mjs → Help-BkmSY96v.mjs} +1 -1
  7. package/dist/{ManageIncome-CvfRTf-j.mjs → ManageIncome-DfKQ48km.mjs} +2 -2
  8. package/dist/{NotificationSettings-D7VqsrZy.mjs → NotificationSettings-DBT37CVB.mjs} +1 -1
  9. package/dist/{RecurringSettings-DJIUgK5A.mjs → RecurringSettings-CpFfjTIL.mjs} +1 -1
  10. package/dist/{SpendingLegend-BCnXkPCD.mjs → SpendingLegend-CypdabwS.mjs} +1 -1
  11. package/dist/{TransactionDetails-KklNHa-s.mjs → TransactionDetails-D57Cfnwh.mjs} +2 -2
  12. package/dist/WidgetContainer-DYKMArWw.mjs +468 -0
  13. package/dist/accounts/index.es.js +96 -94
  14. package/dist/budgets/index.es.js +448 -444
  15. package/dist/cashflow/index.es.js +234 -232
  16. package/dist/common/components/GlobalAccountFilter.d.ts +2 -1
  17. package/dist/common/components/WidgetContainer.d.ts +2 -1
  18. package/dist/common/components/WidgetDateRangeSelector.d.ts +12 -0
  19. package/dist/common/hooks/index.d.ts +1 -0
  20. package/dist/common/hooks/useWidgetHeaderStyles.d.ts +32 -0
  21. package/dist/common/index.es.js +133 -132
  22. package/dist/common/utils/PostMessage.d.ts +1 -0
  23. package/dist/core/types/Widgets.d.ts +1 -0
  24. package/dist/dashboard/index.es.js +3 -3
  25. package/dist/debts/components/actions/DebtsPriorityAction.d.ts +2 -1
  26. package/dist/debts/components/debtspriority/DebtsPriorityButton.d.ts +2 -1
  27. package/dist/debts/index.es.js +589 -587
  28. package/dist/finstrong/FinstrongWidget.d.ts +1 -1
  29. package/dist/finstrong/index.es.js +738 -746
  30. package/dist/goals/GoalsWidget.d.ts +1 -1
  31. package/dist/goals/index.es.js +439 -438
  32. package/dist/help/HelpWidget.d.ts +1 -1
  33. package/dist/help/index.es.js +21 -12
  34. package/dist/insights/components/index.d.ts +1 -0
  35. package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta.d.ts +5 -0
  36. package/dist/insights/components/shared/InsightsCard/ContentAndDescription.d.ts +0 -2
  37. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI.d.ts +0 -2
  38. package/dist/insights/components/shared/InsightsCard/Description.d.ts +0 -2
  39. package/dist/insights/components/shared/InsightsCard/DescriptionMUI.d.ts +0 -2
  40. package/dist/insights/index.es.js +562 -579
  41. package/dist/insights/types/CommonBeat.d.ts +0 -1
  42. package/dist/investments/InvestmentsWidget.d.ts +1 -1
  43. package/dist/investments/index.es.js +418 -417
  44. package/dist/networth/index.es.js +265 -278
  45. package/dist/notifications/index.es.js +1 -1
  46. package/dist/recurringtransactions/RecurringTransactionsWidget.d.ts +1 -1
  47. package/dist/recurringtransactions/index.es.js +235 -232
  48. package/dist/settings/SettingsWidget.d.ts +1 -1
  49. package/dist/settings/index.es.js +283 -282
  50. package/dist/spending/index.es.js +110 -109
  51. package/dist/transactions/index.es.js +280 -277
  52. package/dist/trends/index.es.js +623 -616
  53. package/dist/{useScreenSize-B6JyS_Lj.mjs → useScreenSize-CUcpY7aJ.mjs} +1 -1
  54. package/package.json +2 -2
  55. package/dist/WidgetContainer-D-pbSa7L.mjs +0 -441
@@ -1,119 +1,119 @@
1
- import { jsx as e, jsxs as r, Fragment as D } from "react/jsx-runtime";
2
- import { fromUnixTime as re } from "date-fns/fromUnixTime";
1
+ import { jsx as t, jsxs as r, Fragment as D } from "react/jsx-runtime";
2
+ import { fromUnixTime as rt } from "date-fns/fromUnixTime";
3
3
  import { observer as _ } from "mobx-react-lite";
4
- import ie from "@mui/material/Stack/Stack";
4
+ import it from "@mui/material/Stack/Stack";
5
5
  import { useTheme as z } from "@mui/material/styles";
6
- import { L as ae } from "../LineChart-EAr5ox5U.mjs";
7
- import { p as se, q as $, u as N, g as G, d as ce, b as Y } from "../hooks-BxkfR-Ff.mjs";
8
- import { u as q } from "../useScreenSize-B6JyS_Lj.mjs";
9
- import { f as le, D as de } from "../DateFormats-BMpMrZpW.mjs";
6
+ import { L as at } from "../LineChart-EAr5ox5U.mjs";
7
+ import { p as st, q as R, u as E, g as G, d as ct, b as Y } from "../hooks-BxkfR-Ff.mjs";
8
+ import { u as q } from "../useScreenSize-CUcpY7aJ.mjs";
9
+ import { f as lt, D as mt } from "../DateFormats-BMpMrZpW.mjs";
10
10
  import u from "react";
11
- import me from "@mui/material/Button";
12
- import T from "@mui/material/Divider";
13
- import j from "@mui/material/List";
14
- import k from "@mui/material/ListSubheader";
15
- import m from "@mui/material/Stack";
16
- import { Text as d, Icon as R, P as Z } from "@mxenabled/mxui";
17
- import A from "@mui/material/ListItem";
11
+ import dt from "@mui/material/Button";
12
+ import L from "@mui/material/Divider";
13
+ import $ from "@mui/material/List";
14
+ import A from "@mui/material/ListSubheader";
15
+ import d from "@mui/material/Stack";
16
+ import { Text as m, Icon as H, P as Z } from "@mxenabled/mxui";
17
+ import O from "@mui/material/ListItem";
18
18
  import J from "@mui/material/ListItemButton";
19
19
  import b from "@mui/material/ListItemText";
20
20
  import { i as Q } from "../DateUtil-wcYTmDRD.mjs";
21
21
  import { C as x } from "../CurrencyText-CA-E5N_y.mjs";
22
22
  import P from "@mui/material/styles/useTheme";
23
- import { Stack as he } from "@mui/material";
24
- import ee from "@mui/material/Box";
25
- import pe from "@mui/material/Collapse";
23
+ import { Stack as ht } from "@mui/material";
24
+ import tt from "@mui/material/Box";
25
+ import pt from "@mui/material/Collapse";
26
26
  import F from "@mui/material/ListItemIcon";
27
27
  import { g as K } from "../NetWorthStore-BqZ44-4M.mjs";
28
- import { N as St } from "../NetWorthStore-BqZ44-4M.mjs";
28
+ import { N as Se } from "../NetWorthStore-BqZ44-4M.mjs";
29
29
  import { D as U } from "../Drawer-Bbe4AMB1.mjs";
30
- import { A as W } from "../Analytics-0Xm_BjHU.mjs";
31
- import { format as ue, fromUnixTime as fe, differenceInMonths as xe } from "date-fns";
32
- import { Icon as te } from "@mxenabled/mx-icons";
30
+ import { A as v } from "../Analytics-0Xm_BjHU.mjs";
31
+ import { format as ut, fromUnixTime as ft, differenceInMonths as xt } from "date-fns";
32
+ import { Icon as et } from "@mxenabled/mx-icons";
33
33
  import { f as V } from "../NumberFormatting-QCaNwbjv.mjs";
34
- import { u as ne } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
35
- import { L as oe } from "../Loader-D3rjKx72.mjs";
36
- import { M as ge } from "../MicroWidgetContainer-B_EnfvCq.mjs";
37
- import { C as ye } from "../ConnectionsDrawer-IA7vnv1J.mjs";
38
- import { W as Ce } from "../WidgetContainer-D-pbSa7L.mjs";
39
- import { E as be } from "../EmptyState-DHAkGsjk.mjs";
40
- const _e = () => {
41
- const { isMobile: t } = q(), { availableWidth: a } = se(), i = z(), {
34
+ import { u as nt } from "../useWidgetLoadTimer-DgN1bTyu.mjs";
35
+ import { L as ot } from "../Loader-D3rjKx72.mjs";
36
+ import { M as gt } from "../MicroWidgetContainer-B_EnfvCq.mjs";
37
+ import { C as yt } from "../ConnectionsDrawer-IA7vnv1J.mjs";
38
+ import { W as Ct } from "../WidgetContainer-DYKMArWw.mjs";
39
+ import { E as bt } from "../EmptyState-DHAkGsjk.mjs";
40
+ const _t = () => {
41
+ const { isMobile: e } = q(), { availableWidth: s } = st(), i = z(), {
42
42
  hoveredData: n,
43
- netWorthChartData: s,
43
+ netWorthChartData: a,
44
44
  selectedData: o,
45
45
  setHoveredIndex: c,
46
46
  setSelectedIndex: l
47
- } = $(), f = a - 320, g = s.map((h) => ({
48
- x: le(re(h.x), de.MONTH_SHORT),
47
+ } = R(), g = s - 320, f = a.map((h) => ({
48
+ x: lt(rt(h.x), mt.MONTH_SHORT),
49
49
  y: h.y
50
- })), w = o ? { index: s.findIndex((h) => h.x === o.x) } : void 0, y = n ? { index: s.findIndex((h) => h.x === n.x) } : void 0, v = (h) => ({
51
- fill: h === w?.index ? i.palette.success.main : "",
52
- filter: h === y?.index ? `drop-shadow(0px 0px 10px ${i.palette.success.main})` : "none",
50
+ })), W = o ? { index: a.findIndex((h) => h.x === o.x) } : void 0, S = n ? { index: a.findIndex((h) => h.x === n.x) } : void 0, w = (h) => ({
51
+ fill: h === W?.index ? i.palette.success.main : "",
52
+ filter: h === S?.index ? `drop-shadow(0px 0px 10px ${i.palette.success.main})` : "none",
53
53
  stroke: i.palette.success.main
54
- }), I = (h, M) => {
54
+ }), y = (h, M) => {
55
55
  l(M);
56
- }, L = (h) => {
56
+ }, k = (h) => {
57
57
  c(h);
58
- }, E = () => {
58
+ }, N = () => {
59
59
  c(-1);
60
60
  };
61
- return /* @__PURE__ */ e(ie, { sx: { width: "100%" }, children: /* @__PURE__ */ e(
62
- ae,
61
+ return /* @__PURE__ */ t(it, { sx: { width: "100%" }, children: /* @__PURE__ */ t(
62
+ at,
63
63
  {
64
64
  baseline: "min",
65
65
  chartFor: "networthChart",
66
66
  chartXaxisSx: { "& .MuiChartsAxis-tickLabel": { transform: "translateX(8px)" } },
67
67
  chartYaxisSx: { "& .MuiChartsAxis-tickLabel": { transform: "translateX(-8px)" } },
68
68
  colors: [i.palette.success.main],
69
- datasets: [g],
69
+ datasets: [f],
70
70
  height: 350,
71
71
  labels: [],
72
72
  margin: { right: 20, left: 38 },
73
- markHandlers: { onMarkClick: I, onMouseEnter: L, onMouseLeave: E },
74
- markStyles: v,
73
+ markHandlers: { onMarkClick: y, onMouseEnter: k, onMouseLeave: N },
74
+ markStyles: w,
75
75
  showArea: !0,
76
76
  useCustomMark: !0,
77
77
  valueFormatterString: "0.0[0]a",
78
- width: t ? a - 48 : f
78
+ width: e ? s - 48 : g
79
79
  }
80
80
  ) });
81
- }, we = _(_e), ve = ({
82
- item: t,
83
- getStyles: a,
81
+ }, wt = _(_t), vt = ({
82
+ item: e,
83
+ getStyles: s,
84
84
  isHovered: i = !1,
85
85
  isSelected: n = !1,
86
- onItemClick: s,
86
+ onItemClick: a,
87
87
  onMouseEnter: o,
88
88
  onMouseLeave: c
89
89
  }) => {
90
- const [l, f] = u.useState({
90
+ const [l, g] = u.useState({
91
91
  color: ""
92
92
  });
93
93
  return u.useEffect(() => {
94
- f(a(t));
94
+ g(s(e));
95
95
  }, [i, n]), /* @__PURE__ */ r(u.Fragment, { children: [
96
- /* @__PURE__ */ e(
97
- A,
96
+ /* @__PURE__ */ t(
97
+ O,
98
98
  {
99
99
  sx: {
100
100
  ...l,
101
101
  minHeight: 44,
102
102
  "&:hover": { color: n ? "inherit" : l.color }
103
103
  },
104
- children: /* @__PURE__ */ e(
104
+ children: /* @__PURE__ */ t(
105
105
  J,
106
106
  {
107
- onClick: (g) => s?.(g, t.x),
108
- onMouseEnter: () => o(t.x),
107
+ onClick: (f) => a?.(f, e.x),
108
+ onMouseEnter: () => o(e.x),
109
109
  onMouseLeave: () => c(),
110
110
  sx: { minHeight: 20, padding: 12 },
111
- children: /* @__PURE__ */ e(
111
+ children: /* @__PURE__ */ t(
112
112
  b,
113
113
  {
114
- primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
115
- /* @__PURE__ */ e(d, { variant: "body1", children: Q(t.x) }),
116
- /* @__PURE__ */ e(x, { amount: t.y, sx: { color: "inherit" }, variant: "body1" })
114
+ primary: /* @__PURE__ */ r(d, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
115
+ /* @__PURE__ */ t(m, { variant: "body1", children: Q(e.x) }),
116
+ /* @__PURE__ */ t(x, { amount: e.y, sx: { color: "inherit" }, variant: "body1" })
117
117
  ] })
118
118
  }
119
119
  )
@@ -121,19 +121,19 @@ const _e = () => {
121
121
  )
122
122
  }
123
123
  ),
124
- /* @__PURE__ */ e(T, {})
125
- ] }, t.x);
126
- }, We = _(ve), Se = ({
127
- currencyLabel: t,
128
- currencyVariant: a = "body2",
124
+ /* @__PURE__ */ t(L, {})
125
+ ] }, e.x);
126
+ }, Wt = _(vt), St = ({
127
+ currencyLabel: e,
128
+ currencyVariant: s = "body2",
129
129
  iconSize: i,
130
130
  netWorth: n,
131
- theme: s
131
+ theme: a
132
132
  }) => {
133
- let o = s.palette.secondary.main, c = s.palette.secondary.main, l = "trending_flat";
134
- return n.change < 0 ? l = "trending_down" : n.change > 0 && (o = s.palette.success.main, c = s.palette.success.main, l = "trending_up"), /* @__PURE__ */ r(he, { alignItems: "center", direction: "row", spacing: 4, children: [
135
- /* @__PURE__ */ e(
136
- R,
133
+ let o = a.palette.secondary.main, c = a.palette.secondary.main, l = "trending_flat";
134
+ return n.change < 0 ? l = "trending_down" : n.change > 0 && (o = a.palette.success.main, c = a.palette.success.main, l = "trending_up"), /* @__PURE__ */ r(ht, { alignItems: "center", direction: "row", spacing: 4, children: [
135
+ /* @__PURE__ */ t(
136
+ H,
137
137
  {
138
138
  name: l,
139
139
  size: i,
@@ -142,40 +142,40 @@ const _e = () => {
142
142
  }
143
143
  }
144
144
  ),
145
- /* @__PURE__ */ e(x, { amount: n.change, color: c, variant: a }),
146
- /* @__PURE__ */ e(d, { variant: "body2", children: t })
145
+ /* @__PURE__ */ t(x, { amount: n.change, color: c, variant: s }),
146
+ /* @__PURE__ */ t(m, { variant: "body2", children: e })
147
147
  ] });
148
- }, B = _(Se), Te = ({
149
- netWorth: t,
150
- gains: a,
148
+ }, B = _(St), Tt = ({
149
+ netWorth: e,
150
+ gains: s,
151
151
  losses: i,
152
152
  totalGains: n,
153
- totalLosses: s
153
+ totalLosses: a
154
154
  }) => {
155
- const { net_worth: o } = N(), c = P();
155
+ const { net_worth: o } = E(), c = P();
156
156
  return /* @__PURE__ */ r(D, { children: [
157
- /* @__PURE__ */ r(m, { alignItems: "center", justifyContent: "space-between", mb: 8, pt: 24, children: [
158
- /* @__PURE__ */ e(d, { variant: "body2", children: Q(t?.x) }),
159
- /* @__PURE__ */ e(d, { variant: "body1", children: o.total_change }),
160
- t && /* @__PURE__ */ e(B, { currencyVariant: "h1", iconSize: 32, netWorth: t, theme: c })
157
+ /* @__PURE__ */ r(d, { alignItems: "center", justifyContent: "space-between", mb: 8, pt: 24, children: [
158
+ /* @__PURE__ */ t(m, { variant: "body2", children: Q(e?.x) }),
159
+ /* @__PURE__ */ t(m, { variant: "body1", children: o.total_change }),
160
+ e && /* @__PURE__ */ t(B, { currencyVariant: "h1", iconSize: 32, netWorth: e, theme: c })
161
161
  ] }),
162
- /* @__PURE__ */ r(j, { children: [
163
- /* @__PURE__ */ e(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
162
+ /* @__PURE__ */ r($, { children: [
163
+ /* @__PURE__ */ t(A, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
164
164
  b,
165
165
  {
166
- primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
167
- /* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "caption", children: o.gains }),
168
- /* @__PURE__ */ e(x, { amount: n, sx: { fontWeight: 400 }, variant: "caption" })
166
+ primary: /* @__PURE__ */ r(d, { direction: "row", justifyContent: "space-between", children: [
167
+ /* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "caption", children: o.gains }),
168
+ /* @__PURE__ */ t(x, { amount: n, sx: { fontWeight: 400 }, variant: "caption" })
169
169
  ] })
170
170
  }
171
171
  ) }),
172
- a?.map((l) => /* @__PURE__ */ r(u.Fragment, { children: [
173
- /* @__PURE__ */ e(A, { sx: { backgroundColor: c.palette.background.paper, py: 14 }, children: /* @__PURE__ */ e(
172
+ s?.map((l) => /* @__PURE__ */ r(u.Fragment, { children: [
173
+ /* @__PURE__ */ t(O, { sx: { backgroundColor: c.palette.background.paper, py: 14 }, children: /* @__PURE__ */ t(
174
174
  b,
175
175
  {
176
- primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
177
- /* @__PURE__ */ e(d, { sx: { mr: 10 }, variant: "body1", children: l.accountName }),
178
- /* @__PURE__ */ e(
176
+ primary: /* @__PURE__ */ r(d, { direction: "row", justifyContent: "space-between", children: [
177
+ /* @__PURE__ */ t(m, { sx: { mr: 10 }, variant: "body1", children: l.accountName }),
178
+ /* @__PURE__ */ t(
179
179
  x,
180
180
  {
181
181
  amount: l.gain,
@@ -187,28 +187,28 @@ const _e = () => {
187
187
  sx: { px: 16 }
188
188
  }
189
189
  ) }),
190
- /* @__PURE__ */ e(T, {})
190
+ /* @__PURE__ */ t(L, {})
191
191
  ] }, l.accountName)),
192
- /* @__PURE__ */ e(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
192
+ /* @__PURE__ */ t(A, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
193
193
  b,
194
194
  {
195
- primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
196
- /* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "caption", children: o.losses }),
197
- /* @__PURE__ */ e(x, { amount: s, sx: { fontWeight: 400 }, variant: "caption" })
195
+ primary: /* @__PURE__ */ r(d, { direction: "row", justifyContent: "space-between", children: [
196
+ /* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "caption", children: o.losses }),
197
+ /* @__PURE__ */ t(x, { amount: a, sx: { fontWeight: 400 }, variant: "caption" })
198
198
  ] })
199
199
  }
200
200
  ) }),
201
201
  i?.map((l) => /* @__PURE__ */ r(D, { children: [
202
- /* @__PURE__ */ e(
203
- A,
202
+ /* @__PURE__ */ t(
203
+ O,
204
204
  {
205
205
  sx: { backgroundColor: c.palette.background.paper, py: 14 },
206
- children: /* @__PURE__ */ e(
206
+ children: /* @__PURE__ */ t(
207
207
  b,
208
208
  {
209
- primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
210
- /* @__PURE__ */ e(
211
- d,
209
+ primary: /* @__PURE__ */ r(d, { direction: "row", justifyContent: "space-between", children: [
210
+ /* @__PURE__ */ t(
211
+ m,
212
212
  {
213
213
  sx: {
214
214
  mr: 10
@@ -217,7 +217,7 @@ const _e = () => {
217
217
  children: l.accountName
218
218
  }
219
219
  ),
220
- /* @__PURE__ */ e(
220
+ /* @__PURE__ */ t(
221
221
  x,
222
222
  {
223
223
  amount: l.loss,
@@ -232,31 +232,31 @@ const _e = () => {
232
232
  },
233
233
  l.accountName
234
234
  ),
235
- /* @__PURE__ */ e(T, {})
235
+ /* @__PURE__ */ t(L, {})
236
236
  ] }))
237
237
  ] })
238
238
  ] });
239
- }, Ie = _(Te), Le = ({ accounts: t, name: a, icon: i }) => {
240
- const [n, s] = u.useState(!1);
239
+ }, It = _(Tt), Lt = ({ accounts: e, name: s, icon: i }) => {
240
+ const [n, a] = u.useState(!1);
241
241
  return /* @__PURE__ */ r(D, { children: [
242
- /* @__PURE__ */ e(A, { sx: (o) => ({ backgroundColor: o.palette.background.paper }), children: /* @__PURE__ */ r(J, { onClick: () => s(!n), children: [
243
- i && /* @__PURE__ */ e(F, { children: /* @__PURE__ */ e(R, { name: i, size: 24, sx: { mr: 12 } }) }),
244
- /* @__PURE__ */ e(
242
+ /* @__PURE__ */ t(O, { sx: (o) => ({ backgroundColor: o.palette.background.paper }), children: /* @__PURE__ */ r(J, { onClick: () => a(!n), children: [
243
+ i && /* @__PURE__ */ t(F, { children: /* @__PURE__ */ t(H, { name: i, size: 24, sx: { mr: 12 } }) }),
244
+ /* @__PURE__ */ t(
245
245
  b,
246
246
  {
247
- primary: /* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "body1", children: a })
247
+ primary: /* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "body1", children: s })
248
248
  }
249
249
  ),
250
- /* @__PURE__ */ e(F, { children: n ? /* @__PURE__ */ e(R, { name: "expand_less", size: 24 }) : /* @__PURE__ */ e(R, { name: "expand_more", size: 24 }) })
250
+ /* @__PURE__ */ t(F, { children: n ? /* @__PURE__ */ t(H, { name: "expand_less", size: 24 }) : /* @__PURE__ */ t(H, { name: "expand_more", size: 24 }) })
251
251
  ] }) }),
252
- /* @__PURE__ */ e(T, {}),
253
- /* @__PURE__ */ e(pe, { in: n, timeout: "auto", unmountOnExit: !0, children: t.map((o, c) => /* @__PURE__ */ r(j, { children: [
254
- /* @__PURE__ */ e(A, { sx: () => ({ py: 14 }), children: /* @__PURE__ */ e(
252
+ /* @__PURE__ */ t(L, {}),
253
+ /* @__PURE__ */ t(pt, { in: n, timeout: "auto", unmountOnExit: !0, children: e.map((o, c) => /* @__PURE__ */ r($, { children: [
254
+ /* @__PURE__ */ t(O, { sx: () => ({ py: 14 }), children: /* @__PURE__ */ t(
255
255
  b,
256
256
  {
257
- primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
258
- /* @__PURE__ */ e(
259
- d,
257
+ primary: /* @__PURE__ */ r(d, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
258
+ /* @__PURE__ */ t(
259
+ m,
260
260
  {
261
261
  sx: {
262
262
  marginRight: 10
@@ -265,7 +265,7 @@ const _e = () => {
265
265
  children: o.accountName
266
266
  }
267
267
  ),
268
- /* @__PURE__ */ e(
268
+ /* @__PURE__ */ t(
269
269
  x,
270
270
  {
271
271
  amount: o.balance,
@@ -279,20 +279,20 @@ const _e = () => {
279
279
  sx: { pl: 72, pr: 16 }
280
280
  }
281
281
  ) }),
282
- c < t.length - 1 ? /* @__PURE__ */ e(T, { variant: "inset" }) : /* @__PURE__ */ e(T, {})
282
+ c < e.length - 1 ? /* @__PURE__ */ t(L, { variant: "inset" }) : /* @__PURE__ */ t(L, {})
283
283
  ] }, o.accountName)) })
284
284
  ] });
285
- }, X = ({ groupedAccounts: t }) => /* @__PURE__ */ e(D, { children: t.map(({ accounts: a, icon: i, name: n }) => /* @__PURE__ */ e(Le, { accounts: a, icon: i, name: n }, n)) }), De = ({
286
- netWorth: t,
287
- assets: a,
285
+ }, X = ({ groupedAccounts: e }) => /* @__PURE__ */ t(D, { children: e.map(({ accounts: s, icon: i, name: n }) => /* @__PURE__ */ t(Lt, { accounts: s, icon: i, name: n }, n)) }), Nt = ({
286
+ netWorth: e,
287
+ assets: s,
288
288
  liabilities: i,
289
289
  totalAssets: n,
290
- totalLiabilities: s
290
+ totalLiabilities: a
291
291
  }) => {
292
- const { net_worth: o } = N(), c = P();
292
+ const { net_worth: o } = E(), c = P();
293
293
  return /* @__PURE__ */ r(D, { children: [
294
294
  /* @__PURE__ */ r(
295
- ee,
295
+ tt,
296
296
  {
297
297
  sx: {
298
298
  alignItems: "center",
@@ -303,40 +303,40 @@ const _e = () => {
303
303
  marginBottom: 8
304
304
  },
305
305
  children: [
306
- /* @__PURE__ */ e(d, { variant: "body1", children: o.current_net_worth }),
307
- /* @__PURE__ */ e(x, { amount: t?.y ?? 0, variant: "h1" }),
308
- t && /* @__PURE__ */ e(
306
+ /* @__PURE__ */ t(m, { variant: "body1", children: o.current_net_worth }),
307
+ /* @__PURE__ */ t(x, { amount: e?.y ?? 0, variant: "h1" }),
308
+ e && /* @__PURE__ */ t(
309
309
  B,
310
310
  {
311
311
  currencyLabel: o.this_month,
312
312
  iconSize: 20,
313
- netWorth: t,
313
+ netWorth: e,
314
314
  theme: c
315
315
  }
316
316
  )
317
317
  ]
318
318
  }
319
319
  ),
320
- /* @__PURE__ */ r(j, { children: [
321
- /* @__PURE__ */ e(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
320
+ /* @__PURE__ */ r($, { children: [
321
+ /* @__PURE__ */ t(A, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
322
322
  b,
323
323
  {
324
- primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
325
- /* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "caption", children: o.assets }),
326
- /* @__PURE__ */ e(x, { amount: n, sx: { fontWeight: 400 }, variant: "caption" })
324
+ primary: /* @__PURE__ */ r(d, { direction: "row", justifyContent: "space-between", children: [
325
+ /* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "caption", children: o.assets }),
326
+ /* @__PURE__ */ t(x, { amount: n, sx: { fontWeight: 400 }, variant: "caption" })
327
327
  ] })
328
328
  }
329
329
  ) }),
330
- /* @__PURE__ */ e(X, { groupedAccounts: K(a) }),
331
- /* @__PURE__ */ e(k, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ e(
330
+ /* @__PURE__ */ t(X, { groupedAccounts: K(s) }),
331
+ /* @__PURE__ */ t(A, { sx: { mb: 8, mt: 12, mx: 8 }, children: /* @__PURE__ */ t(
332
332
  b,
333
333
  {
334
- primary: /* @__PURE__ */ r(m, { direction: "row", justifyContent: "space-between", children: [
335
- /* @__PURE__ */ e(d, { sx: { fontWeight: 700 }, variant: "caption", children: o.liabilities }),
336
- /* @__PURE__ */ e(
334
+ primary: /* @__PURE__ */ r(d, { direction: "row", justifyContent: "space-between", children: [
335
+ /* @__PURE__ */ t(m, { sx: { fontWeight: 700 }, variant: "caption", children: o.liabilities }),
336
+ /* @__PURE__ */ t(
337
337
  x,
338
338
  {
339
- amount: s,
339
+ amount: a,
340
340
  sx: { fontWeight: 400 },
341
341
  variant: "caption"
342
342
  }
@@ -344,202 +344,189 @@ const _e = () => {
344
344
  ] })
345
345
  }
346
346
  ) }),
347
- /* @__PURE__ */ e(X, { groupedAccounts: K(i) })
347
+ /* @__PURE__ */ t(X, { groupedAccounts: K(i) })
348
348
  ] })
349
349
  ] });
350
- }, Ne = _(De), Ee = () => {
351
- const { net_worth: t } = N(), a = z(), { onEvent: i } = G(), {
350
+ }, Dt = _(Nt), Et = () => {
351
+ const { net_worth: e } = E(), s = z(), { onEvent: i } = G(), {
352
352
  assetsLiabilities: n,
353
- gainsLosses: s,
353
+ gainsLosses: a,
354
354
  hoveredData: o,
355
355
  netWorthChartData: c,
356
356
  selectedData: l,
357
- setHoveredIndex: f,
358
- setSelectedIndex: g
359
- } = $(), [w, y] = u.useState(!1), [v, I] = u.useState(!1), L = (p) => {
360
- const C = p.x === o?.x, H = p.x === l?.x, S = {
357
+ setHoveredIndex: g,
358
+ setSelectedIndex: f
359
+ } = R(), [W, S] = u.useState(!1), [w, y] = u.useState(!1), k = (p) => {
360
+ const C = p.x === o?.x, T = p.x === l?.x, I = {
361
361
  backgroundColor: "inherit",
362
362
  borderBottom: "inherit",
363
363
  color: "inherit"
364
364
  };
365
- return C && (S.color = H ? "inherit" : S.color, S.backgroundColor = a.palette.action.hover), H && (S.backgroundColor = a.palette.primary.main, S.borderBottom = a.palette.neutral.light, S.color = a.palette.common.white), S;
366
- }, E = (p, C) => {
367
- g(C), p.currentTarget instanceof HTMLDivElement && y(!0);
365
+ return C && (I.color = T ? "inherit" : I.color, I.backgroundColor = s.palette.action.hover), T && (I.backgroundColor = s.palette.primary.main, I.borderBottom = s.palette.neutral.light, I.color = s.palette.common.white), I;
366
+ }, N = (p, C) => {
367
+ f(C), p.currentTarget instanceof HTMLDivElement && S(!0);
368
368
  }, h = () => {
369
- I(!0), i(W.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES);
369
+ y(!0), i(v.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES);
370
370
  }, M = (p) => {
371
- f(p);
372
- }, O = () => {
373
- f(-1);
371
+ g(p);
372
+ }, j = () => {
373
+ g(-1);
374
374
  };
375
- return /* @__PURE__ */ r(m, { direction: "column", sx: { width: 320 }, children: [
376
- /* @__PURE__ */ r(j, { children: [
377
- /* @__PURE__ */ e(k, { sx: { backgroundColor: "transparent", mb: 8, mt: 12, px: 12 }, children: /* @__PURE__ */ e(d, { bold: !0, component: "h2", variant: "body1", children: t.monthly_totals }) }),
378
- /* @__PURE__ */ e(T, {}),
379
- c.map((p, C) => /* @__PURE__ */ e(
380
- We,
375
+ return /* @__PURE__ */ r(d, { direction: "column", sx: { width: 320 }, children: [
376
+ /* @__PURE__ */ r($, { children: [
377
+ /* @__PURE__ */ t(A, { sx: { backgroundColor: "transparent", mb: 8, mt: 12, px: 12 }, children: /* @__PURE__ */ t(m, { bold: !0, component: "h2", variant: "body1", children: e.monthly_totals }) }),
378
+ /* @__PURE__ */ t(L, {}),
379
+ c.map((p, C) => /* @__PURE__ */ t(
380
+ Wt,
381
381
  {
382
- getStyles: L,
382
+ getStyles: k,
383
383
  isHovered: p.x === o?.x,
384
384
  isSelected: p.x === l?.x,
385
385
  item: p,
386
- onItemClick: (H) => E(H, C),
386
+ onItemClick: (T) => N(T, C),
387
387
  onMouseEnter: () => M(C),
388
- onMouseLeave: () => O()
388
+ onMouseLeave: () => j()
389
389
  },
390
390
  p.x
391
391
  ))
392
392
  ] }),
393
- /* @__PURE__ */ e(
394
- me,
393
+ /* @__PURE__ */ t(
394
+ dt,
395
395
  {
396
396
  onClick: () => h(),
397
397
  sx: { alignSelf: "center", marginTop: 16, width: "fit-content" },
398
398
  variant: "outlined",
399
- children: t.view_assets_and_liabilities
399
+ children: e.view_assets_and_liabilities
400
400
  }
401
401
  ),
402
- /* @__PURE__ */ e(
402
+ /* @__PURE__ */ t(
403
403
  U,
404
404
  {
405
405
  ariaLabelClose: "Close",
406
- isOpen: w,
407
- onClose: () => y(!1),
406
+ isOpen: W,
407
+ onClose: () => S(!1),
408
408
  shouldShowHeaderBorders: !1,
409
409
  shouldShowHeaderShadow: !0,
410
- title: t.gains_and_losses,
411
- children: s && /* @__PURE__ */ e(Ie, { ...s })
410
+ title: e.gains_and_losses,
411
+ children: a && /* @__PURE__ */ t(It, { ...a })
412
412
  }
413
413
  ),
414
- /* @__PURE__ */ e(
414
+ /* @__PURE__ */ t(
415
415
  U,
416
416
  {
417
417
  ariaLabelClose: "Close",
418
- isOpen: v,
419
- onClose: () => I(!1),
418
+ isOpen: w,
419
+ onClose: () => y(!1),
420
420
  shouldShowHeaderBorders: !1,
421
421
  shouldShowHeaderShadow: !0,
422
- title: t.assets_and_liabilities,
423
- children: n && /* @__PURE__ */ e(Ne, { ...n })
422
+ title: e.assets_and_liabilities,
423
+ children: n && /* @__PURE__ */ t(Dt, { ...n })
424
424
  }
425
425
  )
426
426
  ] });
427
- }, Me = _(Ee), ke = ({ hoveredData: t, selectedData: a }) => {
428
- const { net_worth: i } = N(), n = z(), s = t || a, o = ue(fe(s.x), "MMMM");
429
- return /* @__PURE__ */ r(m, { alignItems: "center", direction: "column", m: 24, children: [
430
- /* @__PURE__ */ e(d, { color: n.palette.secondary.main, variant: "body2", children: `${o} ${i.net_worth}` }),
431
- /* @__PURE__ */ e(x, { amount: s.y, variant: "h2" }),
432
- /* @__PURE__ */ e(B, { currencyLabel: i.this_month, netWorth: s, theme: n })
427
+ }, kt = _(Et), Mt = ({ hoveredData: e, selectedData: s }) => {
428
+ const { net_worth: i } = E(), n = z(), a = e || s, o = ut(ft(a.x), "MMMM");
429
+ return /* @__PURE__ */ r(d, { alignItems: "center", direction: "column", m: 24, children: [
430
+ /* @__PURE__ */ t(m, { color: n.palette.secondary.main, variant: "body2", children: `${o} ${i.net_worth}` }),
431
+ /* @__PURE__ */ t(x, { amount: a.y, variant: "h2" }),
432
+ /* @__PURE__ */ t(B, { currencyLabel: i.this_month, netWorth: a, theme: n })
433
433
  ] });
434
- }, Ae = _(ke), Oe = ({ amount: t, copy: a, trendValue: i }) => {
434
+ }, At = _(Mt), Ot = ({ amount: e, copy: s, trendValue: i }) => {
435
435
  const n = i > 0, o = i === 0 ? "trending_flat" : n ? "trending_up" : "trending_down";
436
- return /* @__PURE__ */ r(m, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
437
- /* @__PURE__ */ e(Z, { variant: "h1", children: V(t, "0,0") }),
438
- t !== 0 && /* @__PURE__ */ r(m, { sx: { color: n ? "success.main" : "text.secondary" }, children: [
439
- /* @__PURE__ */ r(m, { sx: { flexDirection: "row", gap: 8 }, children: [
440
- /* @__PURE__ */ e(te, { name: o, size: 20 }),
441
- /* @__PURE__ */ e(d, { sx: { fontWeight: 600, textAlign: "right" }, variant: "body1", children: V(i, "0,0.00") })
436
+ return /* @__PURE__ */ r(d, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
437
+ /* @__PURE__ */ t(Z, { variant: "h1", children: V(e, "0,0") }),
438
+ e !== 0 && /* @__PURE__ */ r(d, { sx: { color: n ? "success.main" : "text.secondary" }, children: [
439
+ /* @__PURE__ */ r(d, { sx: { flexDirection: "row", gap: 8 }, children: [
440
+ /* @__PURE__ */ t(et, { name: o, size: 20 }),
441
+ /* @__PURE__ */ t(m, { sx: { fontWeight: 600, textAlign: "right" }, variant: "body1", children: V(i, "0,0.00") })
442
442
  ] }),
443
- /* @__PURE__ */ e(d, { sx: { display: "block", textAlign: "right" }, variant: "caption", children: a.this_month })
443
+ /* @__PURE__ */ t(m, { sx: { display: "block", textAlign: "right" }, variant: "caption", children: s.this_month })
444
444
  ] })
445
445
  ] });
446
- }, He = ({ copy: t }) => /* @__PURE__ */ r(m, { sx: { flexDirection: "row", gap: 12 }, children: [
447
- /* @__PURE__ */ e(te, { name: "elevation", size: 32, sx: { color: "text.primary" } }),
448
- /* @__PURE__ */ r(m, { children: [
449
- /* @__PURE__ */ e(d, { sx: { display: "block", fontWeight: 600 }, variant: "body1", children: t.empty_widget_header }),
450
- /* @__PURE__ */ e(Z, { sx: { color: "text.secondary" }, variant: "body2", children: t.zero_state_description })
446
+ }, Ht = ({ copy: e }) => /* @__PURE__ */ r(d, { sx: { flexDirection: "row", gap: 12 }, children: [
447
+ /* @__PURE__ */ t(et, { name: "elevation", size: 32, sx: { color: "text.primary" } }),
448
+ /* @__PURE__ */ r(d, { children: [
449
+ /* @__PURE__ */ t(m, { sx: { display: "block", fontWeight: 600 }, variant: "body1", children: e.empty_widget_header }),
450
+ /* @__PURE__ */ t(Z, { sx: { color: "text.secondary" }, variant: "body2", children: e.zero_state_description })
451
451
  ] })
452
- ] }), _t = _(({ onCTAClick: t }) => {
453
- const { visibleAccounts: a } = ce(), { onEvent: i } = G(), { net_worth: n, common: s } = N(), { isInitialized: o } = Y(), { isNetWorthDataLoaded: c, loadNetWorthData: l, netWorthData: f, selectedData: g } = $();
452
+ ] }), _e = _(({ onCTAClick: e }) => {
453
+ const { visibleAccounts: s } = ct(), { onEvent: i } = G(), { net_worth: n, common: a } = E(), { isInitialized: o } = Y(), { isNetWorthDataLoaded: c, loadNetWorthData: l, netWorthData: g, selectedData: f } = R();
454
454
  if (u.useEffect(() => {
455
455
  c || l().finally();
456
- }, []), ne({
456
+ }, []), nt({
457
457
  widgetName: "NetWorthMicroWidget",
458
458
  isLoaded: c
459
459
  }), u.useEffect(() => {
460
- c && i(W.NET_WORTH_LOAD_WIDGET, {
461
- state: a?.length ? "default" : "zeroState"
460
+ c && i(v.NET_WORTH_LOAD_WIDGET, {
461
+ state: s?.length ? "default" : "zeroState"
462
462
  });
463
- }, [c]), !o || !c) return /* @__PURE__ */ e(oe, { height: 100 });
464
- const w = () => {
463
+ }, [c]), !o || !c) return /* @__PURE__ */ t(ot, { height: 100 });
464
+ const W = () => {
465
465
  i(
466
- a.length ? W.NET_WORTH_CLICK_VIEW_DETAILS : W.NET_WORTH_CLICK_GET_STARTED
467
- ), t();
466
+ s.length ? v.NET_WORTH_CLICK_VIEW_DETAILS : v.NET_WORTH_CLICK_GET_STARTED
467
+ ), e();
468
468
  };
469
- return /* @__PURE__ */ e(
470
- ge,
469
+ return /* @__PURE__ */ t(
470
+ gt,
471
471
  {
472
472
  className: "mx-networth-microwidget",
473
- ctaLabel: s.see_details,
474
- onCTAClick: w,
473
+ ctaLabel: a.see_details,
474
+ onCTAClick: W,
475
475
  title: n.net_worth,
476
- children: f.accounts.length ? /* @__PURE__ */ e(
477
- Oe,
476
+ children: g.accounts.length ? /* @__PURE__ */ t(
477
+ Ot,
478
478
  {
479
- amount: g?.y,
479
+ amount: f?.y,
480
480
  copy: n,
481
- trendValue: g?.change
481
+ trendValue: f?.change
482
482
  }
483
- ) : /* @__PURE__ */ e(He, { copy: n })
483
+ ) : /* @__PURE__ */ t(Ht, { copy: n })
484
484
  }
485
485
  );
486
- }), wt = _(({ onBackClick: t }) => {
487
- const { isInitialized: a } = Y(), { accounts: i, net_worth: n } = N(), {
488
- hoveredData: s,
489
- isNetWorthDataLoaded: o,
490
- loadNetWorthData: c,
491
- netWorthChartData: l,
486
+ }), we = _(({ onBackClick: e, onMenuClick: s }) => {
487
+ const { isInitialized: i } = Y(), { accounts: n, net_worth: a } = E(), {
488
+ hoveredData: o,
489
+ isNetWorthDataLoaded: c,
490
+ loadNetWorthData: l,
491
+ netWorthChartData: g,
492
492
  selectedData: f,
493
- setTimeframe: g,
494
- timeframe: w
495
- } = $(), { isMobile: y } = q(), { onEvent: v } = G(), [I, L] = u.useState(!1);
496
- ne({
493
+ setTimeframe: W,
494
+ timeframe: S
495
+ } = R(), { isMobile: w } = q(), { onEvent: y } = G(), [k, N] = u.useState(!1);
496
+ nt({
497
497
  widgetName: "NetWorthWidget",
498
- isLoaded: o
498
+ isLoaded: c
499
499
  }), u.useEffect(() => {
500
- o || c().finally(), v(W.NET_WORTH_VIEW);
500
+ c || l().finally(), y(v.NET_WORTH_VIEW);
501
501
  }, []), u.useEffect(() => {
502
- v(W.NET_WORTH_WIDGET_CLICK_TIMEFRAME, { time_period: w + "M" });
503
- }, [w]);
504
- const E = async (O) => {
505
- const p = O[0], C = O[1];
506
- p && C && g(xe(C, p));
507
- }, h = () => {
508
- L(!0), v(W.ACCOUNTS_CLICK_CONNECT);
502
+ y(v.NET_WORTH_WIDGET_CLICK_TIMEFRAME, { time_period: S + "M" });
503
+ }, [S]);
504
+ const h = async (p) => {
505
+ const C = p[0], T = p[1];
506
+ C && T && W(xt(T, C));
507
+ }, M = () => {
508
+ N(!0), y(v.ACCOUNTS_CLICK_CONNECT);
509
509
  };
510
- if (!a || !o) return /* @__PURE__ */ e(oe, {});
511
- const M = l.length === 0;
510
+ if (!i || !c) return /* @__PURE__ */ t(ot, {});
511
+ const j = g.length === 0;
512
512
  return /* @__PURE__ */ r(
513
- Ce,
513
+ Ct,
514
514
  {
515
- calendarActions: { onRangeChanged: E },
516
- dateRangeVariant: y ? "timeframetabs" : "timeframebuttons",
517
- onAccountsFilterClick: () => v(W.NET_WORTH_WIDGET_CLICK_FILTER),
518
- onBackClick: t,
519
- showDividerAboveDateSelector: !1,
520
- sx: {
521
- p: y ? 0 : 48,
522
- "& .MuiCardHeader-root": {
523
- px: 16,
524
- py: 12
525
- },
526
- "& .MuiBox-root": {
527
- m: 0
528
- },
529
- "& .MuiTabs-root": {
530
- width: "100%"
531
- }
532
- },
533
- title: n.net_worth,
515
+ calendarActions: { onRangeChanged: h },
516
+ dateRangeVariant: w ? "timeframetabs" : "timeframebuttons",
517
+ onAccountsFilterClick: () => y(v.NET_WORTH_WIDGET_CLICK_FILTER),
518
+ onBackClick: e,
519
+ onMenuClick: s,
520
+ title: a.net_worth,
534
521
  children: [
535
- M ? /* @__PURE__ */ e(ee, { sx: { justifyItems: "center" }, children: /* @__PURE__ */ e(
536
- be,
522
+ j ? /* @__PURE__ */ t(tt, { sx: { justifyItems: "center" }, children: /* @__PURE__ */ t(
523
+ bt,
537
524
  {
538
- header: n.empty_widget_header,
525
+ header: a.empty_widget_header,
539
526
  icon: "elevation",
540
- onClick: h,
541
- primaryButton: n.empty_widget_button,
542
- subText: n.empty_widget_description,
527
+ onClick: M,
528
+ primaryButton: a.empty_widget_button,
529
+ subText: a.empty_widget_description,
543
530
  sx: {
544
531
  width: { sm: 432 },
545
532
  ".buttons-footer": {
@@ -548,26 +535,26 @@ const _e = () => {
548
535
  }
549
536
  }
550
537
  ) }) : /* @__PURE__ */ r(D, { children: [
551
- f && /* @__PURE__ */ e(Ae, { hoveredData: s, selectedData: f }),
538
+ f && /* @__PURE__ */ t(At, { hoveredData: o, selectedData: f }),
552
539
  /* @__PURE__ */ r(
553
- m,
540
+ d,
554
541
  {
555
- alignItems: y ? "center" : "flex-start",
556
- direction: y ? "column" : "row",
557
- spacing: y ? 0 : 48,
542
+ alignItems: w ? "center" : "flex-start",
543
+ direction: w ? "column" : "row",
544
+ spacing: w ? 0 : 48,
558
545
  children: [
559
- /* @__PURE__ */ e(we, {}),
560
- /* @__PURE__ */ e(Me, {})
546
+ /* @__PURE__ */ t(wt, {}),
547
+ /* @__PURE__ */ t(kt, {})
561
548
  ]
562
549
  }
563
550
  )
564
551
  ] }),
565
- /* @__PURE__ */ e(
566
- ye,
552
+ /* @__PURE__ */ t(
553
+ yt,
567
554
  {
568
- onClose: () => L(!1),
569
- showConnectionsWidget: I,
570
- title: i.manage_connections
555
+ onClose: () => N(!1),
556
+ showConnectionsWidget: k,
557
+ title: n.manage_connections
571
558
  }
572
559
  )
573
560
  ]
@@ -575,10 +562,10 @@ const _e = () => {
575
562
  );
576
563
  });
577
564
  export {
578
- we as NetWorthChart,
579
- Me as NetWorthList,
580
- _t as NetWorthMicroWidget,
581
- St as NetWorthStore,
582
- Ae as NetWorthSummary,
583
- wt as NetWorthWidget
565
+ wt as NetWorthChart,
566
+ kt as NetWorthList,
567
+ _e as NetWorthMicroWidget,
568
+ Se as NetWorthStore,
569
+ At as NetWorthSummary,
570
+ we as NetWorthWidget
584
571
  };