@mx-cartographer/experiences 7.0.0-alpha.mega1 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (78) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/{Account-DY6nxO7y.mjs → Account-BFol-JYA.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-DvPs81kL.mjs → AccountDetailsContent-Do3z1FnQ.mjs} +8 -8
  4. package/dist/{AccountDetailsHeader-W2U7ZVm_.mjs → AccountDetailsHeader-DnEyQMpX.mjs} +12 -12
  5. package/dist/{AccountFields-DAVcbZy5.mjs → AccountFields-CeHZrIQe.mjs} +2 -2
  6. package/dist/{AccountListItem-DFlbdcmT.mjs → AccountListItem-C7JzYpqf.mjs} +3 -3
  7. package/dist/{AccountStore-CU7qV3vg.mjs → AccountStore-Cu3GoLh-.mjs} +1 -1
  8. package/dist/{Accounts-BLlrQA5m.mjs → Accounts-BuYXUMhP.mjs} +1 -1
  9. package/dist/{BudgetUtil-Ci1TN0J5.mjs → BudgetUtil-spowPvBM.mjs} +2 -2
  10. package/dist/{Category-5S6uwuXz.mjs → Category-CevNQ03n.mjs} +4 -4
  11. package/dist/{CategorySelectorDrawer-rHyHHYuh.mjs → CategorySelectorDrawer-Dyzb3UDU.mjs} +1 -1
  12. package/dist/{CategoryStore-B5EW6I1d.mjs → CategoryStore-BOyzQjQp.mjs} +2 -2
  13. package/dist/{CategoryUtil-DRyruNgi.mjs → CategoryUtil-BR3H5i6n.mjs} +1 -1
  14. package/dist/{ConnectDrawer-D9cR5phc.mjs → ConnectDrawer-WfKHsHSF.mjs} +1 -1
  15. package/dist/{ConnectionsDrawer-BzGqljSp.mjs → ConnectionsDrawer-Czp-E0-m.mjs} +2 -2
  16. package/dist/{CurrencyInput-D74cemI2.mjs → CurrencyInput-CSZjO22Z.mjs} +1 -1
  17. package/dist/{DebtsStore-S0l9kr0r.mjs → DebtsStore-D9holN8L.mjs} +1 -1
  18. package/dist/ExportCsvAction-dpvaZxbS.mjs +24 -0
  19. package/dist/{GoalStore-DioeeL-s.mjs → GoalStore-Drf76ell.mjs} +4 -4
  20. package/dist/{Help-DpYRO8oA.mjs → Help-DRUwVDvo.mjs} +1 -1
  21. package/dist/{LineChart-CcyX38kK.mjs → LineChart-CYiUS-px.mjs} +88 -85
  22. package/dist/{ListItemAction-BabpYivr.mjs → ListItemAction-BzmbPuNp.mjs} +1 -1
  23. package/dist/{ManageIncome-ndMuhJMG.mjs → ManageIncome-B6kmMN_z.mjs} +178 -186
  24. package/dist/{MicroWidgetContainer-CsvHLYKX.mjs → MicroWidgetContainer-DmYiksbT.mjs} +1 -1
  25. package/dist/{MiniWidgetContainer-BoOp-A05.mjs → MiniWidgetContainer-DqKQNubH.mjs} +1 -1
  26. package/dist/{NetWorthStore-PD-RUe09.mjs → NetWorthStore-BK1_NbXW.mjs} +2 -2
  27. package/dist/{Notification-AMGWM1Al.mjs → Notification-ByMBpJ5u.mjs} +33 -22
  28. package/dist/{NotificationSettings-VhHuMAFU.mjs → NotificationSettings-BznqGVQ2.mjs} +35 -34
  29. package/dist/{OriginalBalanceAction-D39mx6uE.mjs → OriginalBalanceAction-CSu5brQE.mjs} +3 -3
  30. package/dist/RecurringSettings-Be1dzkMz.mjs +57 -0
  31. package/dist/ResponsiveButton-DZFp78fJ.mjs +45 -0
  32. package/dist/{SettingsStore-CE7jDVFL.mjs → SettingsStore-B4gi6oOw.mjs} +1 -1
  33. package/dist/{SpendingData-BkrxzHdr.mjs → SpendingData-D5vsfYKo.mjs} +5 -5
  34. package/dist/{Transaction-CA0FW2Ij.mjs → Transaction-CyqrHmAA.mjs} +1 -1
  35. package/dist/{TransactionDetails-WBHFmbxL.mjs → TransactionDetails-D4B9DSWo.mjs} +421 -417
  36. package/dist/{TransactionStore-CeLdmVnC.mjs → TransactionStore-DSyXtPek.mjs} +8 -8
  37. package/dist/TrendsStore-DR8etTL2.mjs +547 -0
  38. package/dist/{ViewMoreMicroCard-CAPFNz-J.mjs → ViewMoreMicroCard-BZI5VMNW.mjs} +476 -468
  39. package/dist/{WidgetContainer-DWCusxYI.mjs → WidgetContainer-BG-fdDOf.mjs} +110 -104
  40. package/dist/accounts/index.es.js +12 -12
  41. package/dist/analytics/index.es.js +8 -8
  42. package/dist/budgets/index.es.js +10 -10
  43. package/dist/cashflow/index.es.js +7 -7
  44. package/dist/categories/index.es.js +2 -2
  45. package/dist/common/components/WidgetContainer.d.ts +1 -1
  46. package/dist/common/components/charts/LineChart.d.ts +1 -0
  47. package/dist/common/components/index.d.ts +1 -0
  48. package/dist/common/components/listitems/ToggleButtonListItem.d.ts +2 -1
  49. package/dist/common/constants/Analytics.d.ts +16 -10
  50. package/dist/common/index.es.js +432 -469
  51. package/dist/dashboard/index.es.js +13 -13
  52. package/dist/debts/index.es.js +66 -66
  53. package/dist/{exportTransactionsToCSV-CmwsKl2D.mjs → exportTransactionsToCSV-BlVifaOG.mjs} +2 -2
  54. package/dist/finstrong/index.es.js +6 -6
  55. package/dist/goals/index.es.js +32 -32
  56. package/dist/help/index.es.js +3 -3
  57. package/dist/{hooks-30y_BLwc.mjs → hooks-02T565vf.mjs} +10 -10
  58. package/dist/investments/index.es.js +3 -3
  59. package/dist/merchants/index.es.js +1 -1
  60. package/dist/microinsights/components/carouselheader/CarouselHeader.d.ts +1 -0
  61. package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel.d.ts +1 -0
  62. package/dist/microinsights/index.es.js +1 -1
  63. package/dist/networth/index.es.js +7 -7
  64. package/dist/notifications/index.es.js +9 -9
  65. package/dist/recurringtransactions/index.es.js +8 -8
  66. package/dist/settings/index.es.js +25 -25
  67. package/dist/spending/index.es.js +13 -13
  68. package/dist/transactions/components/shared/TransactionList.d.ts +2 -0
  69. package/dist/transactions/components/transactionwidget/actions/ExportCsvAction.d.ts +5 -1
  70. package/dist/transactions/index.d.ts +1 -0
  71. package/dist/transactions/index.es.js +143 -141
  72. package/dist/trends/constants/TrendsWidget.d.ts +3 -0
  73. package/dist/trends/index.es.js +576 -635
  74. package/package.json +1 -1
  75. package/dist/RecurringSettings-D_HnMYZP.mjs +0 -57
  76. package/dist/TrendsStore-BHJUapXF.mjs +0 -487
  77. package/dist/index.d.ts +0 -0
  78. package/dist/trends/components/TransactionsList.d.ts +0 -7
@@ -4,20 +4,20 @@ import { observer as f } from "mobx-react-lite";
4
4
  import p from "@mui/material/Unstable_Grid2";
5
5
  import u from "@mui/material/Skeleton";
6
6
  import s from "@mui/material/Stack";
7
- import B from "@mui/material/styles/useTheme";
8
- import { l as A, u as v, c as C, a as M, j as D } from "../hooks-30y_BLwc.mjs";
9
- import G from "@mui/material/Paper";
10
- import { Icon as S, H1 as k, P as F } from "@mxenabled/mxui";
7
+ import k from "@mui/material/styles/useTheme";
8
+ import { m as A, u as v, c as C, a as M, k as B } from "../hooks-02T565vf.mjs";
9
+ import D from "@mui/material/Paper";
10
+ import { Icon as S, H1 as G, P as F } from "@mxenabled/mxui";
11
11
  import { useMediaQuery as W } from "@mui/system";
12
12
  import I from "@mui/material/Box";
13
13
  import T from "@mui/material/Button";
14
- import j from "@mui/material/IconButton";
15
- import $ from "@mui/material/Tooltip";
14
+ import $ from "@mui/material/IconButton";
15
+ import j from "@mui/material/Tooltip";
16
16
  import H from "@mui/material/useMediaQuery";
17
- import { i as R, j as Q } from "../ConnectDrawer-D9cR5phc.mjs";
17
+ import { i as R, j as Q } from "../ConnectDrawer-WfKHsHSF.mjs";
18
18
  import { u as z } from "../useScreenSize-B6JyS_Lj.mjs";
19
19
  const E = f(() => {
20
- const e = B(), {
20
+ const e = k(), {
21
21
  appDataStore: { banner: c, loadBanner: i, user: d }
22
22
  } = A();
23
23
  return r.useEffect(() => {
@@ -57,8 +57,8 @@ const E = f(() => {
57
57
  ) : null;
58
58
  }), P = ({ handleConnectClick: e }) => {
59
59
  const { common: c } = v(), i = H("(max-width: 700px)");
60
- return /* @__PURE__ */ t(I, { my: 4, children: i ? /* @__PURE__ */ t($, { id: "add-accounts", placement: "bottom", title: c.add_accounts, children: /* @__PURE__ */ t(
61
- j,
60
+ return /* @__PURE__ */ t(I, { my: 4, children: i ? /* @__PURE__ */ t(j, { id: "add-accounts", placement: "bottom", title: c.add_accounts, children: /* @__PURE__ */ t(
61
+ $,
62
62
  {
63
63
  "aria-controls": "add_accounts",
64
64
  "aria-describedby": "add-accounts",
@@ -86,7 +86,7 @@ const E = f(() => {
86
86
  }
87
87
  ) });
88
88
  }, N = f(P), O = () => {
89
- const [e, c] = r.useState(!1), i = W("(max-width:320px)"), { visibleAccounts: d } = C(), { selectedAccountGuids: _, setSelectedAccountGuids: g } = M(), { common: o, connect: l } = v(), { config: x } = D(), { isMobile: b } = z(), n = {
89
+ const [e, c] = r.useState(!1), i = W("(max-width:320px)"), { visibleAccounts: d } = C(), { selectedAccountGuids: _, setSelectedAccountGuids: g } = M(), { common: o, connect: l } = v(), { config: x } = B(), { isMobile: b } = z(), n = {
90
90
  accountFilterOptionsCopy: {
91
91
  accountTypeAccounts: o.account_filter.account_type_accounts,
92
92
  cancelButton: o.cancel_button,
@@ -105,9 +105,9 @@ const E = f(() => {
105
105
  return m > 1 && m < 12 ? o.good_morning : m >= 12 && m < 18 ? o.good_afternoon : o.good_evening;
106
106
  };
107
107
  return /* @__PURE__ */ a(r.Fragment, { children: [
108
- /* @__PURE__ */ t(G, { sx: { gap: 12, mb: b ? 24 : 0, p: 24 }, children: /* @__PURE__ */ a(s, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
108
+ /* @__PURE__ */ t(D, { sx: { gap: 12, mb: b ? 24 : 0, p: 24 }, children: /* @__PURE__ */ a(s, { alignItems: "center", flexDirection: "row", justifyContent: "space-between", children: [
109
109
  /* @__PURE__ */ a(s, { children: [
110
- /* @__PURE__ */ t(k, { variant: i ? "H2" : "H1", children: y() }),
110
+ /* @__PURE__ */ t(G, { variant: i ? "H2" : "H1", children: y() }),
111
111
  /* @__PURE__ */ t(F, { color: "text.secondary", children: o.heres_your_spending_overview })
112
112
  ] }),
113
113
  /* @__PURE__ */ a(s, { flexDirection: "row", children: [
@@ -5,29 +5,29 @@ import f from "@mui/material/Stack";
5
5
  import { useTheme as j, Card as pe, Stack as _, Box as O } from "@mui/material";
6
6
  import { Text as i, H3 as we, InstitutionLogo as Ce, Icon as ee } from "@mxenabled/mxui";
7
7
  import { intervalToDuration as De, formatDuration as Se } from "date-fns";
8
- import { D as L } from "../DebtsStore-S0l9kr0r.mjs";
9
- import { a as Sr } from "../DebtsStore-S0l9kr0r.mjs";
8
+ import { D as L } from "../DebtsStore-D9holN8L.mjs";
9
+ import { a as Sr } from "../DebtsStore-D9holN8L.mjs";
10
10
  import { f as B, a as ve } from "../NumberFormatting-CtWHhyBX.mjs";
11
11
  import { f as K, D as U } from "../Dialog-CWW597AF.mjs";
12
- import { G as Te, x as q, u as C, i as z, g as M, c as Z, a as Ae } from "../hooks-30y_BLwc.mjs";
12
+ import { G as Te, x as q, u as C, j as z, e as M, c as Z, a as Ae } from "../hooks-02T565vf.mjs";
13
13
  import { u as X } from "../useScreenSize-B6JyS_Lj.mjs";
14
14
  import { D as te } from "../Drawer-kEE73B87.mjs";
15
15
  import { b as T } from "../Localization-2MODESHW.mjs";
16
- import { A as Ee, u as Ie } from "../AccountDetailsHeader-W2U7ZVm_.mjs";
16
+ import { A as Ee, u as Ie } from "../AccountDetailsHeader-DnEyQMpX.mjs";
17
17
  import Be from "@mui/material/Card";
18
18
  import Me from "@mui/material/CardContent";
19
19
  import ke from "@mui/material/CardHeader";
20
- import { LineChart as Ne } from "@mui/x-charts";
21
- import { useTheme as Pe } from "@mui/material/styles";
22
- import { A as v, W as Re } from "../WidgetContainer-DWCusxYI.mjs";
20
+ import { LineChart as Pe } from "@mui/x-charts";
21
+ import { useTheme as Ne } from "@mui/material/styles";
22
+ import { A as v, W as Re } from "../WidgetContainer-BG-fdDOf.mjs";
23
23
  import ie from "@mui/material/Tab";
24
24
  import Le from "@mui/material/Tabs";
25
25
  import me from "@mui/material/List";
26
26
  import W from "@mui/material/Divider";
27
- import { M as $e, I as He, O as Fe } from "../OriginalBalanceAction-D39mx6uE.mjs";
27
+ import { M as $e, I as He, O as Fe } from "../OriginalBalanceAction-CSu5brQE.mjs";
28
28
  import Oe from "@mui/material/TextField";
29
- import { L as J } from "../ListItemAction-BabpYivr.mjs";
30
- import { C as re } from "../CurrencyInput-D74cemI2.mjs";
29
+ import { L as J } from "../ListItemAction-BzmbPuNp.mjs";
30
+ import { C as re } from "../CurrencyInput-CSZjO22Z.mjs";
31
31
  import le from "@mui/material/Alert";
32
32
  import se from "@mui/material/AlertTitle";
33
33
  import he from "@mui/icons-material/CheckCircle";
@@ -37,7 +37,7 @@ import { T as de } from "../TabContentContainer-j01JYR_7.mjs";
37
37
  import { DataGridPro as Ge } from "@mui/x-data-grid-pro";
38
38
  import ue from "@mui/material/Box";
39
39
  import { H as G } from "../HeaderCell-DjuifqHJ.mjs";
40
- import { f as je } from "../ConnectDrawer-D9cR5phc.mjs";
40
+ import { f as je } from "../ConnectDrawer-WfKHsHSF.mjs";
41
41
  import be from "@mui/material/Button";
42
42
  import ze from "@mui/material/IconButton";
43
43
  import Xe from "@mui/material/ListItem";
@@ -69,17 +69,17 @@ function Ke(a, o, n = 0) {
69
69
  const d = /* @__PURE__ */ new Date(), m = /* @__PURE__ */ new Date();
70
70
  for (; r.some((p) => p.balance >= 0.01 && !p.is_impossible); ) {
71
71
  let p = !1;
72
- for (const [g, x] of r.entries()) {
73
- if (x.balance <= 0.01 || x.is_impossible) continue;
74
- const k = (x.interest_rate ?? 0) / 100 / 12, S = x.balance * k;
75
- let u = x.monthly_payment ?? 0;
76
- g === 0 && n && (u += n), x.balance += S;
77
- const A = Math.min(x.balance, u + l);
72
+ for (const [x, g] of r.entries()) {
73
+ if (g.balance <= 0.01 || g.is_impossible) continue;
74
+ const k = (g.interest_rate ?? 0) / 100 / 12, S = g.balance * k;
75
+ let u = g.monthly_payment ?? 0;
76
+ x === 0 && n && (u += n), g.balance += S;
77
+ const A = Math.min(g.balance, u + l);
78
78
  if (A <= S) {
79
- x.is_impossible = !0;
79
+ g.is_impossible = !0;
80
80
  continue;
81
81
  }
82
- x.balance -= A, x.balance = x.balance < 0.01 ? 0 : x.balance, t += S, x.balance <= 0 && (l += u), A > 0 && (p = !0);
82
+ g.balance -= A, g.balance = g.balance < 0.01 ? 0 : g.balance, t += S, g.balance <= 0 && (l += u), A > 0 && (p = !0);
83
83
  }
84
84
  p && m.setMonth(m.getMonth() + 1);
85
85
  }
@@ -96,8 +96,8 @@ const R = () => {
96
96
  return q().uiStore;
97
97
  }, Ue = ({ debts: a, onClickCta: o, sx: n }) => {
98
98
  const r = j(), { isMobile: t } = X(), { debts: l } = C(), { selectedDebtPriority: d } = R(), { monthlyCashFlowProfile: m } = z(), { payoffDate: c, payoffSavings: h, payoffDuration: p } = y.useMemo(() => {
99
- const g = m?.extra_payment ?? 0;
100
- return Ke(a, d, g);
99
+ const x = m?.extra_payment ?? 0;
100
+ return Ke(a, d, x);
101
101
  }, [a, d, m]);
102
102
  return /* @__PURE__ */ e(
103
103
  pe,
@@ -526,32 +526,32 @@ const ye = ({
526
526
  onClickArea: l,
527
527
  onHoverArea: d
528
528
  }) => {
529
- const m = Pe(), { onEvent: c } = M(), h = r.filter((b) => !b.is_impossible), p = [
529
+ const m = Ne(), { onEvent: c } = M(), h = r.filter((b) => !b.is_impossible), p = [
530
530
  ...new Set(
531
531
  h.flatMap((b) => b.dataset.map((w) => new Date(w.x).getTime()))
532
532
  )
533
- ].sort((b, w) => b - w).map((b) => new Date(b)), g = h.map((b) => {
534
- const w = new Map(b.dataset.map((P) => [new Date(P.x).getTime(), P.y]));
533
+ ].sort((b, w) => b - w).map((b) => new Date(b)), x = h.map((b) => {
534
+ const w = new Map(b.dataset.map((N) => [new Date(N.x).getTime(), N.y]));
535
535
  let I = w.get(p[0].getTime()) ?? 0;
536
- const N = p.map((P) => {
537
- const H = w.get(P.getTime()) ?? I;
538
- return I = H, { x: P, y: H };
536
+ const P = p.map((N) => {
537
+ const H = w.get(N.getTime()) ?? I;
538
+ return I = H, { x: N, y: H };
539
539
  });
540
- return { ...b, dataset: N };
541
- }), x = g.reduce(
540
+ return { ...b, dataset: P };
541
+ }), g = x.reduce(
542
542
  (b, w) => b + (w.dataset[0]?.y ?? 0),
543
543
  0
544
544
  ), E = p.map((b, w) => {
545
- const I = w / (p.length - 1), N = x * (1 - I);
546
- return { x: b, y: N };
547
- }), k = Math.ceil(x / 100) * 100, S = p, u = g.map((b, w) => {
548
- const I = 1 - w / g.length * 0.5, N = et(Qe, I);
545
+ const I = w / (p.length - 1), P = g * (1 - I);
546
+ return { x: b, y: P };
547
+ }), k = Math.ceil(g / 100) * 100, S = p, u = x.map((b, w) => {
548
+ const I = 1 - w / x.length * 0.5, P = et(Qe, I);
549
549
  return {
550
550
  id: `debt-${w}`,
551
551
  guid: b.guid,
552
552
  label: b.name,
553
- data: b.dataset.map((P) => P.y),
554
- color: N,
553
+ data: b.dataset.map((N) => N.y),
554
+ color: P,
555
555
  curve: "linear",
556
556
  type: "line",
557
557
  area: !0,
@@ -572,14 +572,14 @@ const ye = ({
572
572
  });
573
573
  const A = (b) => u.findIndex((w) => w?.guid === b);
574
574
  return /* @__PURE__ */ e(
575
- Ne,
575
+ Pe,
576
576
  {
577
577
  axisHighlight: { x: "none" },
578
578
  disableLineItemHighlight: !0,
579
579
  height: o,
580
580
  onAreaClick: (b, w) => {
581
581
  l?.();
582
- const I = u.find((N) => N.id === w.seriesId);
582
+ const I = u.find((P) => P.id === w.seriesId);
583
583
  c(v.DEBTS_CLICK_CHART_AREA, { account_guid: I?.guid });
584
584
  },
585
585
  onHighlightChange: (b) => {
@@ -1009,7 +1009,7 @@ const ye = ({
1009
1009
  }
1010
1010
  );
1011
1011
  };
1012
- function gt(a, o) {
1012
+ function xt(a, o) {
1013
1013
  const n = (r) => {
1014
1014
  if (typeof r == "number") return r;
1015
1015
  if (r === "!" || r === "✓") return 1 / 0;
@@ -1017,7 +1017,7 @@ function gt(a, o) {
1017
1017
  };
1018
1018
  return n(a) - n(o);
1019
1019
  }
1020
- function xt(a) {
1020
+ function gt(a) {
1021
1021
  return a.is_paid_off ? "✓" : a.priority === void 0 || a.is_impossible ? "!" : a.priority;
1022
1022
  }
1023
1023
  const wt = (a) => {
@@ -1069,13 +1069,13 @@ const wt = (a) => {
1069
1069
  }) => {
1070
1070
  const l = j(), { onEvent: d } = M(), { isMobile: m } = X(), { debts: c } = C(), [h, p] = y.useState([
1071
1071
  { field: "priority", sort: "asc" }
1072
- ]), g = [
1072
+ ]), x = [
1073
1073
  {
1074
1074
  field: "priority",
1075
1075
  headerName: c.table_column_priority,
1076
1076
  renderHeader: G,
1077
1077
  renderCell: Ct,
1078
- sortComparator: gt,
1078
+ sortComparator: xt,
1079
1079
  sortable: !0,
1080
1080
  hideSortIcons: !0,
1081
1081
  type: "custom",
@@ -1148,8 +1148,8 @@ const wt = (a) => {
1148
1148
  minWidth: 122,
1149
1149
  flex: 0.6
1150
1150
  }
1151
- ], x = [
1152
- ...g.slice(0, 3),
1151
+ ], g = [
1152
+ ...x.slice(0, 3),
1153
1153
  {
1154
1154
  field: "chevron",
1155
1155
  headerName: "",
@@ -1165,7 +1165,7 @@ const wt = (a) => {
1165
1165
  ], E = y.useMemo(() => o.map((u, A) => ({
1166
1166
  ...u,
1167
1167
  id: A,
1168
- priority: xt(u)
1168
+ priority: gt(u)
1169
1169
  })), [o]), k = (u) => {
1170
1170
  const Y = u.target.closest("[data-id]")?.getAttribute("data-id"), b = o[Number(Y)];
1171
1171
  r?.(b?.guid ?? "");
@@ -1184,16 +1184,16 @@ const wt = (a) => {
1184
1184
  children: /* @__PURE__ */ e(
1185
1185
  Ge,
1186
1186
  {
1187
- columns: m ? x : g,
1187
+ columns: m ? g : x,
1188
1188
  disableColumnFilter: !0,
1189
1189
  disableColumnMenu: !0,
1190
1190
  hideFooter: !0,
1191
1191
  initialState: { sorting: { sortModel: h } },
1192
1192
  onRowClick: (u) => {
1193
- t(), d(v.TRENDS_CLICK_TABLE_ROW, { account_guid: u.row.guid });
1193
+ t(), d(v.DEBTS_CLICK_TABLE_ROW, { account_guid: u.row.guid });
1194
1194
  },
1195
1195
  onSortModelChange: (u) => {
1196
- p(u), d(v.TRENDS_CLICK_TABLE_SORT);
1196
+ p(u), d(v.DEBTS_CLICK_TABLE_SORT);
1197
1197
  },
1198
1198
  rows: E,
1199
1199
  slotProps: {
@@ -1328,15 +1328,15 @@ const wt = (a) => {
1328
1328
  let c = !1;
1329
1329
  for (const [h, p] of r.entries()) {
1330
1330
  if (p.balance <= 0.01) continue;
1331
- const g = l[h].dataset, E = (p.interest_rate ?? 0) / 100 / 12, k = p.balance * E;
1331
+ const x = l[h].dataset, E = (p.interest_rate ?? 0) / 100 / 12, k = p.balance * E;
1332
1332
  let S = p.monthly_payment ?? 0;
1333
1333
  h === 0 && (S += n), p.balance += k;
1334
1334
  const u = Math.min(p.balance, S + d);
1335
1335
  if (u <= k) {
1336
- p.is_impossible = !0, l[h].is_impossible = !0, l[h].priority = void 0, g.push({ x: new Date(t), y: p.balance });
1336
+ p.is_impossible = !0, l[h].is_impossible = !0, l[h].priority = void 0, x.push({ x: new Date(t), y: p.balance });
1337
1337
  continue;
1338
1338
  }
1339
- p.balance -= u, p.balance = p.balance < 0.01 ? 0 : p.balance, g.push({
1339
+ p.balance -= u, p.balance = p.balance < 0.01 ? 0 : p.balance, x.push({
1340
1340
  x: new Date(t),
1341
1341
  y: Math.max(0, p.balance),
1342
1342
  payment: u,
@@ -1365,10 +1365,10 @@ const wt = (a) => {
1365
1365
  }
1366
1366
  );
1367
1367
  }), Bt = ({ onBackClick: a, sx: o }) => {
1368
- const [n, r] = y.useState(!1), [t, l] = y.useState(!1), [d, m] = y.useState(!1), [c, h] = y.useState(""), { isDesktop: p, isMobile: g } = X(), { debts: x } = C(), { onEvent: E } = M(), { isCopyLoaded: k, isInitialized: S, setSelectedAccounts: u } = Ae(), { setSelectedAccount: A } = Ie(), { selectedDebtPriority: V, setSelectedDebtChartData: Y } = R(), { visibleDebtAccounts: b } = Z(), { goalsLoaded: w, loadGoals: I, monthlyCashFlowProfile: N } = z(), { debts: P } = q(), H = y.useMemo(() => {
1369
- const F = N?.extra_payment ?? 0;
1370
- return Et(P, V, F);
1371
- }, [P, V, N]);
1368
+ const [n, r] = y.useState(!1), [t, l] = y.useState(!1), [d, m] = y.useState(!1), [c, h] = y.useState(""), { isDesktop: p, isMobile: x } = X(), { debts: g } = C(), { onEvent: E } = M(), { isCopyLoaded: k, isInitialized: S, setSelectedAccounts: u } = Ae(), { setSelectedAccount: A } = Ie(), { selectedDebtPriority: V, setSelectedDebtChartData: Y } = R(), { visibleDebtAccounts: b } = Z(), { goalsLoaded: w, loadGoals: I, monthlyCashFlowProfile: P } = z(), { debts: N } = q(), H = y.useMemo(() => {
1369
+ const F = P?.extra_payment ?? 0;
1370
+ return Et(N, V, F);
1371
+ }, [N, V, P]);
1372
1372
  y.useEffect(() => {
1373
1373
  u(b), E(v.DEBTS_VIEW);
1374
1374
  }, []), y.useEffect(() => {
@@ -1379,9 +1379,9 @@ const wt = (a) => {
1379
1379
  const ae = (F) => h(F), oe = () => {
1380
1380
  const F = b.find((Q) => Q.guid === c), ne = H.find((Q) => Q.guid === c);
1381
1381
  F && A(F), ne && Y(ne), r(!0);
1382
- }, fe = () => E(v.DEBTS_CLICK_FILTER), ge = () => {
1382
+ }, fe = () => E(v.DEBTS_CLICK_FILTER), xe = () => {
1383
1383
  m(!0), E(v.DEBTS_CLICK_SNOWBALL_CTA);
1384
- }, xe = () => {
1384
+ }, ge = () => {
1385
1385
  l(!0), E(v.DEBTS_CLICK_PAYDOWN);
1386
1386
  };
1387
1387
  return !w || !k || !S ? /* @__PURE__ */ e(Ye, {}) : /* @__PURE__ */ s(
@@ -1390,46 +1390,46 @@ const wt = (a) => {
1390
1390
  accountOptions: b,
1391
1391
  actions: [
1392
1392
  /* @__PURE__ */ e(At, {}, "prioritize-debts"),
1393
- /* @__PURE__ */ e(It, { onClick: xe }, "extra-paydown")
1393
+ /* @__PURE__ */ e(It, { onClick: ge }, "extra-paydown")
1394
1394
  ],
1395
1395
  onAccountsFilterClick: fe,
1396
1396
  onBackClick: a,
1397
1397
  sx: o,
1398
- title: x.title,
1398
+ title: g.title,
1399
1399
  children: [
1400
1400
  /* @__PURE__ */ s(f, { sx: { px: p ? "48px" : "24px" }, children: [
1401
1401
  /* @__PURE__ */ s(
1402
1402
  f,
1403
1403
  {
1404
1404
  sx: {
1405
- alignItems: g ? "flex-start" : "flex-end",
1406
- flexDirection: g ? "column" : "row",
1407
- mx: g ? "-12px" : 0
1405
+ alignItems: x ? "flex-start" : "flex-end",
1406
+ flexDirection: x ? "column" : "row",
1407
+ mx: x ? "-12px" : 0
1408
1408
  },
1409
1409
  children: [
1410
1410
  /* @__PURE__ */ e(
1411
1411
  ye,
1412
1412
  {
1413
1413
  debts: H,
1414
- height: g ? 250 : void 0,
1414
+ height: x ? 250 : void 0,
1415
1415
  hoveredDebtGuid: c,
1416
1416
  onClickArea: oe,
1417
1417
  onHoverArea: ae,
1418
- sx: { mr: g ? "4px" : "-48px" }
1418
+ sx: { mr: x ? "4px" : "-48px" }
1419
1419
  }
1420
1420
  ),
1421
1421
  /* @__PURE__ */ e(
1422
1422
  qe,
1423
1423
  {
1424
1424
  debts: H,
1425
- onClickCta: ge,
1426
- sx: { mb: g ? "0px" : "64px" }
1425
+ onClickCta: xe,
1426
+ sx: { mb: x ? "0px" : "64px" }
1427
1427
  }
1428
1428
  )
1429
1429
  ]
1430
1430
  }
1431
1431
  ),
1432
- /* @__PURE__ */ e(f, { sx: { mx: g ? "-24px" : 0 }, children: /* @__PURE__ */ e(
1432
+ /* @__PURE__ */ e(f, { sx: { mx: x ? "-24px" : 0 }, children: /* @__PURE__ */ e(
1433
1433
  St,
1434
1434
  {
1435
1435
  debts: H,
@@ -1,7 +1,7 @@
1
1
  import { fromUnixTime as c } from "date-fns/fromUnixTime";
2
- import { C as u } from "./Category-5S6uwuXz.mjs";
2
+ import { c as u } from "./Category-CevNQ03n.mjs";
3
3
  import { f as p, D as m } from "./Dialog-CWW597AF.mjs";
4
- import { T as g } from "./Transaction-CA0FW2Ij.mjs";
4
+ import { T as g } from "./Transaction-CyqrHmAA.mjs";
5
5
  function f(n) {
6
6
  return new Set(
7
7
  n.filter((e) => e.parent_guid !== void 0).map((e) => e.parent_guid)
@@ -17,20 +17,20 @@ import Ne from "@mui/material/ListItemText";
17
17
  import { b } from "../Localization-2MODESHW.mjs";
18
18
  import * as ce from "d3";
19
19
  import { observer as I } from "mobx-react-lite";
20
- import { u as S, a as z, w as $, o as Y, c as ge, e as fe, k as Ke } from "../hooks-30y_BLwc.mjs";
20
+ import { u as S, a as z, w as $, o as Y, c as ge, g as fe, l as Ke } from "../hooks-02T565vf.mjs";
21
21
  import { L as N } from "../Loader-Dp1P2gNw.mjs";
22
22
  import { F as Xo, a as jo } from "../FinstrongStore-mkALvztw.mjs";
23
23
  import q from "@mui/material/Button";
24
24
  import J from "@mui/material/Card";
25
- import { L as ye } from "../LineChart-CcyX38kK.mjs";
26
- import { j as be } from "../ConnectDrawer-D9cR5phc.mjs";
25
+ import { L as ye } from "../LineChart-CYiUS-px.mjs";
26
+ import { j as be } from "../ConnectDrawer-WfKHsHSF.mjs";
27
27
  import Xe from "@mui/material/Accordion";
28
28
  import je from "@mui/material/AccordionDetails";
29
29
  import Ue from "@mui/material/AccordionSummary";
30
30
  import Ve from "@mui/material/CardHeader";
31
31
  import { u as Ye } from "../useDimensions-27p2evRx.mjs";
32
- import { C as qe } from "../ConnectionsDrawer-BzGqljSp.mjs";
33
- import { R as Je } from "../RecurringSettings-D_HnMYZP.mjs";
32
+ import { C as qe } from "../ConnectionsDrawer-Czp-E0-m.mjs";
33
+ import { R as Je } from "../RecurringSettings-Be1dzkMz.mjs";
34
34
  import Qe from "@mui/material/TextField";
35
35
  import { u as xe } from "../useScreenSize-B6JyS_Lj.mjs";
36
36
  import { a as Ze } from "../Dialog-CWW597AF.mjs";
@@ -49,7 +49,7 @@ import lt from "@mui/lab/TimelineConnector";
49
49
  import dt from "@mui/lab/TimelineContent";
50
50
  import pt from "@mui/lab/TimelineDot";
51
51
  import mt from "@mui/lab/TimelineSeparator";
52
- import { W as ut } from "../WidgetContainer-DWCusxYI.mjs";
52
+ import { W as ut } from "../WidgetContainer-BG-fdDOf.mjs";
53
53
  var A = /* @__PURE__ */ ((n) => (n.Connections = "connections", n.CreditScore = "credit_score", n.DateOfBirth = "date_of_birth", n.MonthlyIncome = "monthly_income", n))(A || {});
54
54
  const ht = ({ list: n, onClickItem: o }) => /* @__PURE__ */ e(x, { sx: { bgcolor: "background.paper" }, children: /* @__PURE__ */ e(
55
55
  Be,
@@ -1,5 +1,5 @@
1
- import { T as i, M as G, C as fe, G as pe } from "../GoalStore-DioeeL-s.mjs";
2
- import { a as $n, b as Un } from "../GoalStore-DioeeL-s.mjs";
1
+ import { T as i, M as G, C as fe, G as pe } from "../GoalStore-Drf76ell.mjs";
2
+ import { a as $n, b as Un } from "../GoalStore-Drf76ell.mjs";
3
3
  import { jsxs as s, jsx as e, Fragment as Y } from "react/jsx-runtime";
4
4
  import T from "react";
5
5
  import { observer as M } from "mobx-react-lite";
@@ -15,47 +15,47 @@ import ye from "@mui/material/CardActionArea";
15
15
  import Ae from "@mui/material/CardContent";
16
16
  import he from "@mui/material/Unstable_Grid2";
17
17
  import re from "@mui/material/Avatar";
18
- import He from "@mui/material/CardHeader";
19
- import { Payments as Ce, NoteStack as Se, Person as Re, ChevronRight as B, CheckCircle as je, Icon as ge, ExpandLess as Fe, ExpandMore as ze, AddBox as Ee, Trophy as Xe } from "@mxenabled/mx-icons";
18
+ import je from "@mui/material/CardHeader";
19
+ import { Payments as Ce, NoteStack as Se, Person as Re, ChevronRight as B, CheckCircle as He, Icon as ge, ExpandLess as Fe, ExpandMore as ze, AddBox as Ee, Trophy as Xe } from "@mxenabled/mx-icons";
20
20
  import { fromUnixTime as q } from "date-fns/fromUnixTime";
21
21
  import { b as N } from "../Localization-2MODESHW.mjs";
22
22
  import { a as $e, f as v } from "../NumberFormatting-CtWHhyBX.mjs";
23
23
  import { f as ee, D as te, a as Ue } from "../Dialog-CWW597AF.mjs";
24
- import { u as A, i as x, c as H, o as ve, g as xe, a as Ie } from "../hooks-30y_BLwc.mjs";
24
+ import { u as A, j as x, c as j, o as ve, e as xe, a as Ie } from "../hooks-02T565vf.mjs";
25
25
  import { u as ue } from "../useScreenSize-B6JyS_Lj.mjs";
26
26
  import { S as Ye } from "../StatusBar-BK_uYHAB.mjs";
27
27
  import R from "@mui/material/Divider";
28
28
  import L from "@mui/material/List";
29
- import { L as ne } from "../ListItemAction-BabpYivr.mjs";
30
- import { C as Ge } from "../CurrencyInput-D74cemI2.mjs";
29
+ import { L as ne } from "../ListItemAction-BzmbPuNp.mjs";
30
+ import { C as Ge } from "../CurrencyInput-CSZjO22Z.mjs";
31
31
  import w from "@mui/material/ListItem";
32
32
  import D from "@mui/material/ListItemButton";
33
33
  import K from "@mui/material/ListItemText";
34
34
  import Ze from "@mui/icons-material/DragHandle";
35
35
  import { DataGridPro as qe } from "@mui/x-data-grid-pro";
36
- import { D as j } from "../Drawer-kEE73B87.mjs";
36
+ import { D as H } from "../Drawer-kEE73B87.mjs";
37
37
  import P from "@mui/material/ListItemAvatar";
38
38
  import Je from "@mui/material/Collapse";
39
39
  import Qe from "@mui/material/ListItemIcon";
40
40
  import et from "@mui/material/Checkbox";
41
- import { A as be } from "../ConnectDrawer-D9cR5phc.mjs";
42
- import { u as tt, A as nt } from "../AccountDetailsHeader-W2U7ZVm_.mjs";
43
- import { A as ot } from "../AccountDetailsContent-DvPs81kL.mjs";
41
+ import { A as be } from "../ConnectDrawer-WfKHsHSF.mjs";
42
+ import { u as tt, A as nt } from "../AccountDetailsHeader-DnEyQMpX.mjs";
43
+ import { A as ot } from "../AccountDetailsContent-Do3z1FnQ.mjs";
44
44
  import Ne from "@mui/material/TextField";
45
- import { M as at, I as rt, O as it } from "../OriginalBalanceAction-D39mx6uE.mjs";
45
+ import { M as at, I as rt, O as it } from "../OriginalBalanceAction-CSu5brQE.mjs";
46
46
  import { getUnixTime as lt } from "date-fns/getUnixTime";
47
47
  import { isValid as st } from "date-fns/isValid";
48
48
  import { AdapterDateFns as ct } from "@mui/x-date-pickers/AdapterDateFnsV3";
49
49
  import { DatePicker as dt } from "@mui/x-date-pickers";
50
50
  import { LocalizationProvider as mt } from "@mui/x-date-pickers/LocalizationProvider";
51
51
  import { E as _t } from "../EmptyState-Dcb-o2tl.mjs";
52
- import { A as Z, W as ut } from "../WidgetContainer-DWCusxYI.mjs";
52
+ import { A as Z, W as ut } from "../WidgetContainer-BG-fdDOf.mjs";
53
53
  import { L as ke } from "../Loader-Dp1P2gNw.mjs";
54
54
  import pt from "@mui/material/Stack/Stack";
55
55
  import ht from "@mui/material/Box";
56
56
  import gt from "@mui/material/styles/useTheme";
57
57
  import { S as bt } from "../SingleSegmentDonut-BgbLgwHi.mjs";
58
- import { M as ft } from "../MicroWidgetContainer-CsvHLYKX.mjs";
58
+ import { M as ft } from "../MicroWidgetContainer-DmYiksbT.mjs";
59
59
  function ce({ title: t, subtitle: n }) {
60
60
  return /* @__PURE__ */ s(b, { children: [
61
61
  /* @__PURE__ */ e(y, { bold: !0, variant: "Body", children: t }),
@@ -169,7 +169,7 @@ const yt = (t, n) => {
169
169
  let f = /* @__PURE__ */ e(Ce, {});
170
170
  return t.track_type === i.DEBT_TRACK ? f = /* @__PURE__ */ e(Se, {}) : t.track_type === i.RETIREMENT_TRACK && (f = /* @__PURE__ */ e(Re, {})), /* @__PURE__ */ e(Te, { elevation: 2, children: /* @__PURE__ */ s(ye, { disabled: !d, onClick: d, children: [
171
171
  /* @__PURE__ */ e(
172
- He,
172
+ je,
173
173
  {
174
174
  avatar: /* @__PURE__ */ e(re, { sx: { bgcolor: p, color: c, height: 48, width: 48 }, variant: "rounded", children: f }),
175
175
  subheader: /* @__PURE__ */ e(y, { variant: n || _ ? "H3" : "H2", children: `${v(t.current_amount, _ ? "0,0" : "0,0.00")} / ${At(
@@ -284,7 +284,7 @@ const yt = (t, n) => {
284
284
  }
285
285
  ) }) }) }),
286
286
  /* @__PURE__ */ e(
287
- j,
287
+ H,
288
288
  {
289
289
  ariaLabelClose: d.close_aria,
290
290
  isOpen: a,
@@ -351,7 +351,7 @@ const yt = (t, n) => {
351
351
  }, Et = ({ goal: t }) => {
352
352
  const { goals: n } = A();
353
353
  return /* @__PURE__ */ e(w, { children: /* @__PURE__ */ s(D, { children: [
354
- /* @__PURE__ */ e(P, { sx: { alignItems: "center", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(je, { color: "success", filled: !0, size: 20 }) }),
354
+ /* @__PURE__ */ e(P, { sx: { alignItems: "center", display: "flex", justifyContent: "center" }, children: /* @__PURE__ */ e(He, { color: "success", filled: !0, size: 20 }) }),
355
355
  /* @__PURE__ */ e(K, { primaryTypographyProps: { variant: "Body" }, children: /* @__PURE__ */ s(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
356
356
  /* @__PURE__ */ s(b, { children: [
357
357
  /* @__PURE__ */ e(y, { bold: !0, variant: "Body", children: t.name }),
@@ -376,7 +376,7 @@ const yt = (t, n) => {
376
376
  return t === i.DEBT_TRACK ? (h = n.manage_debt_goals, o = n.manage_debt_drawer_title, g = n.manage_debt_title, l = n.manage_debt_description) : t === i.RETIREMENT_TRACK && (h = n.manage_retirement_goals, o = n.manage_retirement_drawer_title, g = n.manage_retirement_title, l = n.manage_retirement_description), /* @__PURE__ */ s(b, { children: [
377
377
  /* @__PURE__ */ e(_e, { endIcon: /* @__PURE__ */ e(B, {}), onClick: () => c(!0), children: h }),
378
378
  /* @__PURE__ */ e(
379
- j,
379
+ H,
380
380
  {
381
381
  ariaLabelClose: d.close_aria,
382
382
  isOpen: p,
@@ -532,7 +532,7 @@ const yt = (t, n) => {
532
532
  g >= 0 ? l.splice(g, 1) : l.push(o), c(l);
533
533
  };
534
534
  return /* @__PURE__ */ s(
535
- j,
535
+ H,
536
536
  {
537
537
  ariaLabelClose: _.close_aria,
538
538
  isOpen: n,
@@ -576,7 +576,7 @@ const yt = (t, n) => {
576
576
  }
577
577
  );
578
578
  }, It = ({ onClose: t }) => {
579
- const { goals: n } = A(), { addGoal: d, debtGoals: r, setAlert: u, setSelectedGoal: a } = x(), { visibleDebtAccounts: _ } = H(), [p, c] = T.useState(!1), h = Tt(n), o = (l, m, f) => {
579
+ const { goals: n } = A(), { addGoal: d, debtGoals: r, setAlert: u, setSelectedGoal: a } = x(), { visibleDebtAccounts: _ } = j(), [p, c] = T.useState(!1), h = Tt(n), o = (l, m, f) => {
580
580
  f === i.DEBT_TRACK ? c(!0) : a({
581
581
  amount: 0,
582
582
  current_amount: 0,
@@ -639,7 +639,7 @@ const yt = (t, n) => {
639
639
  ),
640
640
  /* @__PURE__ */ e(B, {})
641
641
  ] }),
642
- /* @__PURE__ */ e(j, { isOpen: r, onClose: () => u(!1), title: n.account_details, children: /* @__PURE__ */ s(b, { children: [
642
+ /* @__PURE__ */ e(H, { isOpen: r, onClose: () => u(!1), title: n.account_details, children: /* @__PURE__ */ s(b, { children: [
643
643
  /* @__PURE__ */ e(nt, {}),
644
644
  /* @__PURE__ */ e(ot, {})
645
645
  ] }) })
@@ -679,7 +679,7 @@ const yt = (t, n) => {
679
679
  }
680
680
  );
681
681
  }), Nt = ({ goal: t }) => {
682
- const { visibleCheckingAccounts: n, visibleSavingsAccounts: d } = H(), { accounts: r, goals: u } = A(), { setAlert: a, setSelectedGoal: _, updateGoal: p } = x(), c = !t.guid, [h, o] = T.useState(!1), g = async ({ balance: l, guid: m }) => {
682
+ const { visibleCheckingAccounts: n, visibleSavingsAccounts: d } = j(), { accounts: r, goals: u } = A(), { setAlert: a, setSelectedGoal: _, updateGoal: p } = x(), c = !t.guid, [h, o] = T.useState(!1), g = async ({ balance: l, guid: m }) => {
683
683
  const f = { ...t, account_guid: m, current_amount: l || 0 };
684
684
  c ? _(f) : (await p(f), a(u.alert_account_changed)), o(!1);
685
685
  };
@@ -702,7 +702,7 @@ const yt = (t, n) => {
702
702
  }
703
703
  )
704
704
  ] }),
705
- /* @__PURE__ */ e(j, { isOpen: h, onClose: () => o(!1), title: u.details_change_account, children: /* @__PURE__ */ s(b, { children: [
705
+ /* @__PURE__ */ e(H, { isOpen: h, onClose: () => o(!1), title: u.details_change_account, children: /* @__PURE__ */ s(b, { children: [
706
706
  /* @__PURE__ */ e(y, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "XSmall", children: r.account_types[1] }),
707
707
  /* @__PURE__ */ e(L, { sx: { bgcolor: "background.paper" }, children: n.map((l) => /* @__PURE__ */ e(w, { children: /* @__PURE__ */ s(D, { onClick: () => g(l), children: [
708
708
  /* @__PURE__ */ e(P, { children: /* @__PURE__ */ e(
@@ -841,7 +841,7 @@ const yt = (t, n) => {
841
841
  }
842
842
  );
843
843
  }), Kt = ({ goal: t }) => {
844
- const { goals: n } = A(), { visibleInvestmentAccounts: d } = H(), {
844
+ const { goals: n } = A(), { visibleInvestmentAccounts: d } = j(), {
845
845
  addRetirementGoalAccount: r,
846
846
  newRetirementGoalAccounts: u,
847
847
  retirementGoalAccounts: a,
@@ -892,7 +892,7 @@ const yt = (t, n) => {
892
892
  )
893
893
  ] });
894
894
  }, Mt = M(({ goal: t }) => {
895
- const { goals: n } = A(), { visibleAccounts: d } = H(), r = T.useMemo(
895
+ const { goals: n } = A(), { visibleAccounts: d } = j(), r = T.useMemo(
896
896
  () => d.find((_) => _.guid === t.account_guid),
897
897
  [d, t]
898
898
  ), u = t.track_type;
@@ -937,7 +937,7 @@ const yt = (t, n) => {
937
937
  t.track_type === i.SAVINGS_TRACK && !t.is_complete && /* @__PURE__ */ e(Nt, { goal: t })
938
938
  ] });
939
939
  }), Ot = M(({ onClose: t }) => {
940
- const { visibleInvestmentAccounts: n } = H(), { goals: d, common: r } = A(), {
940
+ const { visibleInvestmentAccounts: n } = j(), { goals: d, common: r } = A(), {
941
941
  addGoal: u,
942
942
  addRetirementGoal: a,
943
943
  deleteGoal: _,
@@ -974,7 +974,7 @@ const yt = (t, n) => {
974
974
  };
975
975
  return /* @__PURE__ */ s(b, { children: [
976
976
  /* @__PURE__ */ e(
977
- j,
977
+ H,
978
978
  {
979
979
  ariaLabelClose: r.close_aria,
980
980
  hasSecondaryAction: S,
@@ -1003,8 +1003,8 @@ const yt = (t, n) => {
1003
1003
  }
1004
1004
  )
1005
1005
  ] });
1006
- }), jn = M(({ onBackClick: t, sx: n }) => {
1007
- const { onEvent: d } = xe(), { isMobile: r } = ue(), { visibleAccounts: u } = H(), { isCopyLoaded: a, isInitialized: _, setSelectedAccounts: p } = Ie(), { goals: c, common: h } = A(), { alert: o, goals: g, goalsLoaded: l, loadGoals: m, monthlyCashFlowProfile: f, setAlert: E, retirmentGoals: C } = x(), [S, I] = T.useState(0), [F, J] = T.useState(!1), z = f?.amount_allocated_for_savings_goals || 0, X = f?.amount_allocated_for_debt_goals || 0, oe = f?.amount_allocated_for_retirement_goals || 0, ie = a ? N(
1006
+ }), Hn = M(({ onBackClick: t, sx: n }) => {
1007
+ const { onEvent: d } = xe(), { isMobile: r } = ue(), { visibleAccounts: u } = j(), { isCopyLoaded: a, isInitialized: _, setSelectedAccounts: p } = Ie(), { goals: c, common: h } = A(), { alert: o, goals: g, goalsLoaded: l, loadGoals: m, monthlyCashFlowProfile: f, setAlert: E, retirmentGoals: C } = x(), [S, I] = T.useState(0), [F, J] = T.useState(!1), z = f?.amount_allocated_for_savings_goals || 0, X = f?.amount_allocated_for_debt_goals || 0, oe = f?.amount_allocated_for_retirement_goals || 0, ie = a ? N(
1008
1008
  r ? c.tab_subtitle_mobile : c.tab_subtitle,
1009
1009
  v(z, "0,0")
1010
1010
  ) : "", le = a ? N(
@@ -1102,7 +1102,7 @@ const yt = (t, n) => {
1102
1102
  ] }),
1103
1103
  /* @__PURE__ */ e(Ot, { onClose: Q }),
1104
1104
  /* @__PURE__ */ e(
1105
- j,
1105
+ H,
1106
1106
  {
1107
1107
  ariaLabelClose: h.close_aria,
1108
1108
  isOpen: F,
@@ -1165,7 +1165,7 @@ const yt = (t, n) => {
1165
1165
  ]
1166
1166
  }
1167
1167
  ), Fn = M(({ onCTAClick: t }) => {
1168
- const { visibleAccounts: n } = H(), { onEvent: d } = xe(), { goals: r } = A(), { isInitialized: u, setSelectedAccounts: a, isCopyLoaded: _ } = Ie(), { ongoingGoalsForMicroWidget: p, loadGoals: c, goalsLoaded: h } = x();
1168
+ const { visibleAccounts: n } = j(), { onEvent: d } = xe(), { goals: r } = A(), { isInitialized: u, setSelectedAccounts: a, isCopyLoaded: _ } = Ie(), { ongoingGoalsForMicroWidget: p, loadGoals: c, goalsLoaded: h } = x();
1169
1169
  T.useEffect(() => {
1170
1170
  a(n);
1171
1171
  }, []), T.useEffect(() => {
@@ -1205,5 +1205,5 @@ export {
1205
1205
  $n as GoalApi,
1206
1206
  Un as GoalStore,
1207
1207
  Fn as GoalsMicroWidget,
1208
- jn as GoalsWidget
1208
+ Hn as GoalsWidget
1209
1209
  };