@mx-cartographer/experiences 7.1.3 → 7.1.4-ram1-alpha-finstrong-credit-score-graph-check

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 (125) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/dist/{Account-8IUM_CLv.mjs → Account-CpRTVIHg.mjs} +1 -1
  3. package/dist/{AccountDetailsContent-CuZSSAEc.mjs → AccountDetailsContent-6aPMU6Hp.mjs} +10 -10
  4. package/dist/{AccountDetailsHeader-BZBsIKdF.mjs → AccountDetailsHeader-BkUZYoV8.mjs} +8 -8
  5. package/dist/{AccountFields-BD_0GT68.mjs → AccountFields-DOLjKu5l.mjs} +5 -5
  6. package/dist/{AccountListItem-CllIBCao.mjs → AccountListItem-CTT5m4qx.mjs} +4 -4
  7. package/dist/{AccountStore-BL0FE1QL.mjs → AccountStore-DTfpr3h0.mjs} +26 -15
  8. package/dist/{Accounts-Bvc9TJaO.mjs → Accounts-D0BmvNxn.mjs} +1 -1
  9. package/dist/{BudgetUtil-psfk-Amb.mjs → BudgetUtil-D2Jcp-E-.mjs} +1 -1
  10. package/dist/{CategorySelectorDrawer-BmenK5bu.mjs → CategorySelectorDrawer-DomNyubP.mjs} +3 -3
  11. package/dist/{CategoryStore-BCcpI3oJ.mjs → CategoryStore-C1IfDPCE.mjs} +1 -1
  12. package/dist/{CategoryUtil-BR3H5i6n.mjs → CategoryUtil-DUM8NuGO.mjs} +1 -1
  13. package/dist/{ConnectDrawer-CPTXh70j.mjs → ConnectDrawer--gJHyp-S.mjs} +2 -2
  14. package/dist/{ConnectionsDrawer-Dkb4vBmt.mjs → ConnectionsDrawer-DabiwV9L.mjs} +3 -3
  15. package/dist/{CurrencyInput-C4xNRL2W.mjs → CurrencyInput-CC5cwVit.mjs} +1 -1
  16. package/dist/{DateUtil-BcuH7ErC.mjs → DateUtil-CBdcsyuk.mjs} +3 -3
  17. package/dist/{DebtsStore-D4grpB4m.mjs → DebtsStore-9aR2sTJQ.mjs} +1 -1
  18. package/dist/{Dialog-CWW597AF.mjs → Dialog-BPTr3qHE.mjs} +2 -2
  19. package/dist/Drawer-BEtCk82g.mjs +163 -0
  20. package/dist/{ExportCsvAction-CBJAfyAw.mjs → ExportCsvAction-Um-CDa4C.mjs} +3 -3
  21. package/dist/FinstrongStore-CC4SrBjA.mjs +436 -0
  22. package/dist/{GoalStore-B5MZzPLZ.mjs → GoalStore-CiBKZvTg.mjs} +3 -3
  23. package/dist/{Help-CzBAsKA2.mjs → Help-BZ8pIkkR.mjs} +2 -2
  24. package/dist/LineChart-CE3oLBQ0.mjs +566 -0
  25. package/dist/{ListItemAction-DSrYDGAP.mjs → ListItemAction-DGaxy7oz.mjs} +10 -10
  26. package/dist/{ManageIncome-DUuT-yMV.mjs → ManageIncome-BaNgfwr5.mjs} +34 -32
  27. package/dist/{MicroWidgetContainer-C4QQHfD7.mjs → MicroWidgetContainer-C3iV1FBR.mjs} +1 -1
  28. package/dist/{MiniWidgetContainer-DTQdRK-3.mjs → MiniWidgetContainer-LtXXgZ6H.mjs} +1 -1
  29. package/dist/{NetWorthStore-Do1Gk8Te.mjs → NetWorthStore-MnpP5KEc.mjs} +2 -2
  30. package/dist/{NotificationSettings-BuShgjn6.mjs → NotificationSettings-Ckx8tgQj.mjs} +5 -5
  31. package/dist/{OriginalBalanceAction-BsxcvNEF.mjs → OriginalBalanceAction-CGZDUsCc.mjs} +3 -3
  32. package/dist/{RecurringSettings-BVOt46uV.mjs → RecurringSettings-DE4T4yQy.mjs} +4 -4
  33. package/dist/{RecurringTransactions-ej39mgA6.mjs → RecurringTransactions-CngsRZ3K.mjs} +45 -44
  34. package/dist/{RecurringTransactionsStore-DrzS1LmF.mjs → RecurringTransactionsStore-C4RVULF8.mjs} +1 -1
  35. package/dist/{SpendingData-D5vsfYKo.mjs → SpendingData-BuJ03S9d.mjs} +16 -16
  36. package/dist/SpendingLegend-D24CEkL3.mjs +170 -0
  37. package/dist/{TransactionDetails-_cXLXTd3.mjs → TransactionDetails-DRlrltGq.mjs} +11 -8
  38. package/dist/{TransactionStore-B-Tq_YFE.mjs → TransactionStore-D8MKYDMb.mjs} +3 -3
  39. package/dist/{TrendsStore-ZZ8X36lJ.mjs → TrendsStore-DL3Vuh71.mjs} +14 -14
  40. package/dist/{User-DaJAQ09j.mjs → User-BthIKO4w.mjs} +2 -2
  41. package/dist/{WidgetContainer-DtPnPQZY.mjs → WidgetContainer-DJA1bxLn.mjs} +4 -4
  42. package/dist/accounts/components/AccountsListCompact.d.ts +10 -0
  43. package/dist/accounts/index.es.js +14 -14
  44. package/dist/accounts/stores/AccountStore.d.ts +2 -0
  45. package/dist/analytics/index.es.js +2 -2
  46. package/dist/budgets/index.es.js +12 -12
  47. package/dist/cashflow/index.es.js +287 -295
  48. package/dist/categories/index.es.js +2 -2
  49. package/dist/common/components/Select.d.ts +4 -2
  50. package/dist/common/components/charts/LineChart.d.ts +2 -0
  51. package/dist/common/components/charts/linechart/CustomMark.d.ts +2 -0
  52. package/dist/common/components/drawer/Drawer.d.ts +3 -0
  53. package/dist/common/components/drawer/Footer.d.ts +17 -0
  54. package/dist/common/index.es.js +33 -33
  55. package/dist/common/types/Finstrong.d.ts +50 -0
  56. package/dist/common/types/index.d.ts +1 -1
  57. package/dist/common/types/localization/FinstrongCopy.d.ts +57 -1
  58. package/dist/dashboard/index.es.js +2 -2
  59. package/dist/debts/index.es.js +11 -11
  60. package/dist/{exportTransactionsToCSV-D8TTNrrE.mjs → exportTransactionsToCSV-XqdHNe2V.mjs} +2 -2
  61. package/dist/finstrong/api/FinstrongApi.d.ts +5 -0
  62. package/dist/finstrong/components/ConnectMoreAccountsCard.d.ts +2 -1
  63. package/dist/finstrong/components/CreditOverTimeGraph.d.ts +1 -0
  64. package/dist/finstrong/components/CreditScore/CreditScoreContent.d.ts +4 -0
  65. package/dist/finstrong/components/CreditScore/CreditScoreHeader.d.ts +4 -0
  66. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent.d.ts +3 -0
  67. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent.d.ts +3 -0
  68. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar.d.ts +4 -0
  69. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent.d.ts +3 -0
  70. package/dist/finstrong/components/KeyIndicatorsBorrowTab.d.ts +2 -2
  71. package/dist/finstrong/components/KeyIndicatorsDrawer.d.ts +1 -1
  72. package/dist/finstrong/components/KeyIndicatorsSaveTab.d.ts +2 -2
  73. package/dist/finstrong/components/KeyIndicatorsSpendTab.d.ts +2 -2
  74. package/dist/finstrong/components/KeyIndicatorsTabItem.d.ts +4 -3
  75. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer.d.ts +10 -0
  76. package/dist/finstrong/components/KeyIndicatorsTabsWidget.d.ts +2 -2
  77. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator.d.ts +6 -0
  78. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent.d.ts +4 -0
  79. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky.d.ts +4 -0
  80. package/dist/finstrong/components/ProgressBar.d.ts +15 -0
  81. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent.d.ts +3 -0
  82. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent.d.ts +3 -0
  83. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar.d.ts +4 -0
  84. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent.d.ts +3 -0
  85. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent.d.ts +3 -0
  86. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar.d.ts +4 -0
  87. package/dist/finstrong/components/StatusChip.d.ts +5 -0
  88. package/dist/finstrong/components/onboarding/Onboarding.d.ts +2 -0
  89. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome.d.ts +11 -0
  90. package/dist/finstrong/components/onboarding/OnboardingBirthday.d.ts +8 -0
  91. package/dist/finstrong/components/onboarding/OnboardingCreditScore.d.ts +8 -0
  92. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer.d.ts +14 -0
  93. package/dist/finstrong/components/onboarding/OnboardingStepsHeader.d.ts +8 -0
  94. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent.d.ts +4 -0
  95. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent.d.ts +4 -0
  96. package/dist/finstrong/components/shared/Accounts.d.ts +8 -0
  97. package/dist/finstrong/components/shared/CustomDoubleBarPlot.d.ts +25 -0
  98. package/dist/finstrong/components/shared/DoubleBarChart.d.ts +28 -0
  99. package/dist/finstrong/components/shared/LineGraph.d.ts +7 -0
  100. package/dist/finstrong/components/shared/TotalCard.d.ts +8 -0
  101. package/dist/finstrong/components/shared/TransactionList.d.ts +15 -0
  102. package/dist/finstrong/components/shared/Transactions.d.ts +11 -0
  103. package/dist/finstrong/constants/index.d.ts +8 -0
  104. package/dist/finstrong/index.es.js +2899 -1017
  105. package/dist/finstrong/stores/FinstrongStore.d.ts +9 -1
  106. package/dist/finstrong/util/finstrongUtils.d.ts +65 -1
  107. package/dist/goals/index.es.js +14 -14
  108. package/dist/help/index.es.js +3 -3
  109. package/dist/{hooks-CE2TKk4a.mjs → hooks-CBST3rkm.mjs} +3 -3
  110. package/dist/investments/index.es.js +4 -4
  111. package/dist/merchants/index.es.js +1 -1
  112. package/dist/networth/index.es.js +34 -34
  113. package/dist/notifications/index.es.js +4 -4
  114. package/dist/recurringtransactions/index.es.js +13 -13
  115. package/dist/settings/index.es.js +8 -8
  116. package/dist/spending/index.es.js +222 -373
  117. package/dist/transactions/index.es.js +15 -15
  118. package/dist/trends/index.es.js +15 -15
  119. package/dist/{useAccountDisplayName-BXGkZN5B.mjs → useAccountDisplayName-DH1CuQ9R.mjs} +2 -2
  120. package/dist/{useInsightsEnabled-DSnpkUq0.mjs → useInsightsEnabled-jdvS1ppf.mjs} +1 -1
  121. package/package.json +1 -1
  122. package/dist/Drawer-kEE73B87.mjs +0 -113
  123. package/dist/FinstrongStore-F2c607dj.mjs +0 -101
  124. package/dist/LineChart-B35qvXik.mjs +0 -541
  125. package/dist/finstrong/utils/Finstrong.d.ts +0 -6
@@ -1,7 +1,7 @@
1
1
  import { jsxs as c, jsx as e, Fragment as L } from "react/jsx-runtime";
2
2
  import u from "react";
3
3
  import { observer as A } from "mobx-react-lite";
4
- import P from "@mui/material/Box";
4
+ import M from "@mui/material/Box";
5
5
  import T from "@mui/material/Divider";
6
6
  import K from "@mui/material/List";
7
7
  import p from "@mui/material/Stack";
@@ -10,29 +10,29 @@ import ie from "@mui/material/ListItem";
10
10
  import se from "@mui/material/ListItemAvatar";
11
11
  import ce from "@mui/material/ListItemButton";
12
12
  import le from "@mui/material/ListItemText";
13
- import { F as d, S as N, D as Y, g as Q, R as E, e as de } from "./RecurringTransactions-ej39mgA6.mjs";
13
+ import { F as d, S as N, D as Y, g as Q, R as E, e as de } from "./RecurringTransactions-CngsRZ3K.mjs";
14
14
  import { subDays as ue } from "date-fns/subDays";
15
15
  import { startOfToday as z } from "date-fns/startOfToday";
16
16
  import { endOfMonth as _e } from "date-fns/endOfMonth";
17
17
  import $ from "@mui/material/Button";
18
18
  import { Delete as me, Add as he, ReceiptLong as pe } from "@mxenabled/mx-icons";
19
- import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-_cXLXTd3.mjs";
19
+ import { T as X, a as ye, u as ge, S as fe, b as Ce } from "./TransactionDetails-DRlrltGq.mjs";
20
20
  import { getDayOfYear as be } from "date-fns/getDayOfYear";
21
21
  import { setDayOfYear as xe } from "date-fns/setDayOfYear";
22
22
  import { AdapterDateFns as Se } from "@mui/x-date-pickers/AdapterDateFnsV3";
23
23
  import { DatePicker as ve } from "@mui/x-date-pickers";
24
24
  import { LocalizationProvider as we } from "@mui/x-date-pickers/LocalizationProvider";
25
- import { u as w, j as M, g as F, b as Ae, h as Z, o as De } from "./hooks-CE2TKk4a.mjs";
25
+ import { u as w, j as F, g as G, b as Ae, h as Z, o as De } from "./hooks-CBST3rkm.mjs";
26
26
  import { b as Ie, f as J } from "./NumberFormatting-Buh7u8Oi.mjs";
27
- import { D as O } from "./Drawer-kEE73B87.mjs";
28
- import { A as R } from "./WidgetContainer-DtPnPQZY.mjs";
29
- import { f as Ee, D as Re, a as Te } from "./Dialog-CWW597AF.mjs";
27
+ import { D as O } from "./Drawer-BEtCk82g.mjs";
28
+ import { A as R } from "./WidgetContainer-DJA1bxLn.mjs";
29
+ import { f as Ee, a as Re, D as Te } from "./Dialog-BPTr3qHE.mjs";
30
30
  import { formatISO as Le } from "date-fns/formatISO";
31
31
  import { fromUnixTime as Oe } from "date-fns/fromUnixTime";
32
32
  import { S as ke } from "./SearchBox-B2_zLv8-.mjs";
33
- import { h as Ne } from "./DateUtil-BcuH7ErC.mjs";
33
+ import { h as Ne } from "./DateUtil-CBdcsyuk.mjs";
34
34
  import { b as B } from "./Category-CevNQ03n.mjs";
35
- import { T as V } from "./User-DaJAQ09j.mjs";
35
+ import { T as V } from "./User-BthIKO4w.mjs";
36
36
  const ee = ({
37
37
  frequency: n,
38
38
  firstDay: t,
@@ -117,7 +117,7 @@ const ee = ({
117
117
  ) })
118
118
  ] });
119
119
  }, Me = A(({ repeatingTransaction: n }) => {
120
- const { recurring: t } = w(), { updateRepeatingTransaction: r } = M(), { onEvent: i } = F(), [s, l] = u.useState(!1), [o, a] = u.useState(n.recurrence_type), [m, y] = u.useState(n.recurrence_day), [C, v] = u.useState(n.second_recurrence_day), b = async () => {
120
+ const { recurring: t } = w(), { updateRepeatingTransaction: r } = F(), { onEvent: i } = G(), [s, l] = u.useState(!1), [o, a] = u.useState(n.recurrence_type), [m, y] = u.useState(n.recurrence_day), [C, v] = u.useState(n.second_recurrence_day), b = async () => {
121
121
  await r({
122
122
  ...n,
123
123
  recurrence_type: o,
@@ -161,7 +161,7 @@ const ee = ({
161
161
  ] });
162
162
  }), Fe = A(
163
163
  ({ onDeleted: n, recurringTransaction: t }) => {
164
- const { recurring: r } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = F(), { deleteRepeatingTransaction: l } = M(), { setFilter: o, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = u.useState(!1), [g, D] = u.useState("");
164
+ const { recurring: r } = w(), { selectedAccountGuids: i } = Ae(), { onEvent: s } = G(), { deleteRepeatingTransaction: l } = F(), { setFilter: o, transactions: a } = Z(), { amount: m, description: y, merchant_guid: C } = t, [v, b] = u.useState(!1), [g, D] = u.useState("");
165
165
  u.useEffect(() => {
166
166
  o({
167
167
  accounts: i,
@@ -174,7 +174,7 @@ const ee = ({
174
174
  [g, a]
175
175
  ), h = t.repeating_transaction_type === E.Income, k = async () => {
176
176
  await l(t.guid), n();
177
- }, G = () => {
177
+ }, P = () => {
178
178
  b(!0), s(R.RECURRING_TRANSACTIONS_DETAILS_CLICK_DELETE);
179
179
  };
180
180
  return /* @__PURE__ */ c(p, { bgcolor: "background.default", direction: "column", height: "100%", children: [
@@ -228,7 +228,7 @@ const ee = ({
228
228
  $,
229
229
  {
230
230
  color: "error",
231
- onClick: G,
231
+ onClick: P,
232
232
  startIcon: /* @__PURE__ */ e(me, {}),
233
233
  sx: { mx: 24, my: 16 },
234
234
  variant: "text",
@@ -394,18 +394,20 @@ const ee = ({
394
394
  /* @__PURE__ */ e(fe, { bgcolor: n, children: Ne(a.date) }),
395
395
  /* @__PURE__ */ e(Ce, { transaction: a })
396
396
  ] }),
397
- /* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
398
- /* @__PURE__ */ e(
399
- ee,
400
- {
401
- firstDay: t,
402
- frequency: i,
403
- onFirstDayChange: l,
404
- onFrequencyChange: s,
405
- onSecondDayChange: o,
406
- secondDay: r
407
- }
408
- )
397
+ /* @__PURE__ */ c(M, { children: [
398
+ /* @__PURE__ */ e(S, { bold: !0, sx: { mx: 24 }, variant: "Body", children: m.payment_schedule }),
399
+ /* @__PURE__ */ e(
400
+ ee,
401
+ {
402
+ firstDay: t,
403
+ frequency: i,
404
+ onFirstDayChange: l,
405
+ onFrequencyChange: s,
406
+ onSecondDayChange: o,
407
+ secondDay: r
408
+ }
409
+ )
410
+ ] })
409
411
  ] });
410
412
  }
411
413
  ), q = (n) => n.top_level_category_guid !== B.INCOME && n.transaction_type === V.DEBIT, Ye = (n, t) => q(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description.toLowerCase().includes(t.toLowerCase()) || n.feed_description.toLowerCase().includes(t.toLowerCase()) : !1, W = (n) => n.top_level_category_guid === B.INCOME || n.top_level_category_guid === B.TRANSFER && n.transaction_type === V.CREDIT, ze = (n, t) => W(n) ? n.payee?.toLowerCase().includes(t.toLowerCase()) || n.description?.toLowerCase().includes(t.toLowerCase()) || n.feed_description?.toLowerCase().includes(t.toLowerCase()) : !1, te = A(
@@ -414,7 +416,7 @@ const ee = ({
414
416
  label: t,
415
417
  onAddRecurringTransaction: r = () => null
416
418
  }) => {
417
- const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: a } = M(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, D] = u.useState(d.EveryMonth), [f, h] = u.useState(1), [k, G] = u.useState(15), _ = u.useMemo(
419
+ const { recurring: i } = w(), { filter: s, setFilter: l, transactions: o } = Z(), { addRepeatingTransaction: a } = F(), { user: m } = De(), [y, C] = u.useState(!1), [v, b] = u.useState(""), [g, D] = u.useState(d.EveryMonth), [f, h] = u.useState(1), [k, P] = u.useState(15), _ = u.useMemo(
418
420
  () => o.find((x) => x.guid === v),
419
421
  [v, o]
420
422
  ), ne = () => {
@@ -483,7 +485,7 @@ const ee = ({
483
485
  frequency: g,
484
486
  onFirstDayChange: h,
485
487
  onFrequencyChange: D,
486
- onSecondDayChange: G,
488
+ onSecondDayChange: P,
487
489
  secondDay: k,
488
490
  transaction: _
489
491
  }
@@ -494,7 +496,7 @@ const ee = ({
494
496
  }
495
497
  ), Be = A(
496
498
  ({ zeroStateFor: n }) => {
497
- const { recurring: t } = w(), { onEvent: r } = F(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, o = i ? t.add_income : t.add_expense;
499
+ const { recurring: t } = w(), { onEvent: r } = G(), i = n === "income", s = i ? t.recurring_setting_zero_state_income_title : t.recurring_setting_zero_state_expenses_title, l = i ? t.recurring_setting_zero_state_income_description : t.recurring_setting_zero_state_expenses_description, o = i ? t.add_income : t.add_expense;
498
500
  return /* @__PURE__ */ c(p, { sx: { alignItems: "center", p: 24, pt: 48 }, children: [
499
501
  /* @__PURE__ */ e(pe, { size: 48 }),
500
502
  /* @__PURE__ */ e(U, { sx: { my: 8, fontWeight: 600 }, variant: "body1", children: s }),
@@ -514,7 +516,7 @@ const ee = ({
514
516
  ] });
515
517
  }
516
518
  ), wt = A(({ forOverview: n = !1 }) => {
517
- const { recurring: t } = w(), { repeatingTransactions: r } = M(), { onEvent: i } = F(), s = (a) => {
519
+ const { recurring: t } = w(), { repeatingTransactions: r } = F(), { onEvent: i } = G(), s = (a) => {
518
520
  i(R.RECURRING_TRANSACTIONS_CLICK_INCOME, {
519
521
  repeating_transaction_guid: a.guid
520
522
  });
@@ -532,7 +534,7 @@ const ee = ({
532
534
  },
533
535
  children: [
534
536
  n && /* @__PURE__ */ e(S, { bold: !0, sx: { mb: 4, mt: 12, mx: 24 }, variant: "Small", children: t.income }),
535
- /* @__PURE__ */ e(P, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: o.map((a, m) => /* @__PURE__ */ c(u.Fragment, { children: [
537
+ /* @__PURE__ */ e(M, { sx: { flex: 1, overflow: "auto" }, children: /* @__PURE__ */ e(K, { sx: { bgcolor: "background.paper" }, children: o.map((a, m) => /* @__PURE__ */ c(u.Fragment, { children: [
536
538
  /* @__PURE__ */ e(Ge, { onClick: s, repeatingTransaction: a }),
537
539
  /* @__PURE__ */ e(
538
540
  T,
@@ -541,10 +543,10 @@ const ee = ({
541
543
  }
542
544
  )
543
545
  ] }, a.guid)) }) }),
544
- /* @__PURE__ */ c(P, { children: [
546
+ /* @__PURE__ */ c(M, { children: [
545
547
  /* @__PURE__ */ e(T, {}),
546
548
  /* @__PURE__ */ e(
547
- P,
549
+ M,
548
550
  {
549
551
  sx: {
550
552
  alignContent: "center",
@@ -6,7 +6,7 @@ import b from "@mui/material/CardHeader";
6
6
  import { P as u, H3 as v } from "@mxenabled/mxui";
7
7
  import { ChevronRight as W } from "@mxenabled/mx-icons";
8
8
  import { u as M } from "./useDimensions-27p2evRx.mjs";
9
- import { W as w } from "./hooks-CE2TKk4a.mjs";
9
+ import { W as w } from "./hooks-CBST3rkm.mjs";
10
10
  const H = ({
11
11
  children: e,
12
12
  className: o,
@@ -8,7 +8,7 @@ import W from "@mui/material/IconButton";
8
8
  import { Icon as z, ChevronRight as H } from "@mxenabled/mx-icons";
9
9
  import { H3 as I, Text as B, P as M } from "@mxenabled/mxui";
10
10
  import { u as S } from "./useDimensions-27p2evRx.mjs";
11
- import { W as j } from "./hooks-CE2TKk4a.mjs";
11
+ import { W as j } from "./hooks-CBST3rkm.mjs";
12
12
  const w = ({
13
13
  children: a,
14
14
  className: m = "mx-cmn-mini-widget",
@@ -3,8 +3,8 @@ import { format as A } from "date-fns/format";
3
3
  import { fromUnixTime as W } from "date-fns/fromUnixTime";
4
4
  import { startOfMonth as _ } from "date-fns/startOfMonth";
5
5
  import { subMonths as B } from "date-fns/subMonths";
6
- import { a as b } from "./Accounts-Bvc9TJaO.mjs";
7
- import { e as N, a as M, f as v } from "./ConnectDrawer-CPTXh70j.mjs";
6
+ import { a as b } from "./Accounts-D0BmvNxn.mjs";
7
+ import { e as N, a as M, f as v } from "./ConnectDrawer--gJHyp-S.mjs";
8
8
  const f = 13, L = (n, t) => n.filter((e) => {
9
9
  const { is_closed: r, is_deleted: s, is_hidden: a, is_manual: i } = e;
10
10
  return r || s || a ? !1 : i || !e.guid ? !0 : t.some((l) => n.some((g) => l.guid === g.member_guid));
@@ -15,13 +15,13 @@ import { DateCalendar as te } from "@mui/x-date-pickers/DateCalendar";
15
15
  import { LocalizationProvider as ne } from "@mui/x-date-pickers/LocalizationProvider";
16
16
  import { AdapterDateFns as ie } from "@mui/x-date-pickers/AdapterDateFnsV3";
17
17
  import { A as oe, T as F, a as P, N as y } from "./ToggleListItem-r0Kx56wF.mjs";
18
- import { u as D, r as T, o as A, d as se, g as ae, a as W, b as le } from "./hooks-CE2TKk4a.mjs";
18
+ import { u as D, r as T, o as A, d as se, g as ae, a as W, b as le } from "./hooks-CBST3rkm.mjs";
19
19
  import { b as ce } from "./Localization-2MODESHW.mjs";
20
20
  import { b as re, f as de } from "./NumberFormatting-Buh7u8Oi.mjs";
21
- import { a as M } from "./Dialog-CWW597AF.mjs";
22
- import { C as me } from "./CurrencyInput-C4xNRL2W.mjs";
21
+ import { D as M } from "./Dialog-BPTr3qHE.mjs";
22
+ import { C as me } from "./CurrencyInput-CC5cwVit.mjs";
23
23
  import { u as he } from "./useScreenSize-B6JyS_Lj.mjs";
24
- import { D as J } from "./Drawer-kEE73B87.mjs";
24
+ import { D as J } from "./Drawer-BEtCk82g.mjs";
25
25
  import _e from "@mui/material/Collapse";
26
26
  import ue from "@mui/material/Card";
27
27
  import pe from "@mui/material/CardContent";
@@ -30,7 +30,7 @@ import R from "@mui/material/Button";
30
30
  import L from "@mui/material/TextField";
31
31
  import { u as fe } from "./useDimensions-27p2evRx.mjs";
32
32
  import X from "@mui/material/styles/useTheme";
33
- import { u as ge } from "./useInsightsEnabled-DSnpkUq0.mjs";
33
+ import { u as ge } from "./useInsightsEnabled-jdvS1ppf.mjs";
34
34
  import { L as ye } from "./Loader-DUaFpDGv.mjs";
35
35
  const be = C(() => {
36
36
  const { common: n, settings: t } = D(), { sendEmailVerification: s } = T(), { user: c } = A(), i = X(), [d, a] = f.useState(!1), o = () => {
@@ -2,10 +2,10 @@ import { jsx as o } from "react/jsx-runtime";
2
2
  import _ from "react";
3
3
  import { observer as p } from "mobx-react-lite";
4
4
  import v from "@mui/material/TextField";
5
- import { L as y } from "./ListItemAction-DSrYDGAP.mjs";
6
- import { u as h, l as b } from "./hooks-CE2TKk4a.mjs";
5
+ import { L as y } from "./ListItemAction-DGaxy7oz.mjs";
6
+ import { u as h, l as b } from "./hooks-CBST3rkm.mjs";
7
7
  import { a as T, f as S } from "./NumberFormatting-Buh7u8Oi.mjs";
8
- import { C as f } from "./CurrencyInput-C4xNRL2W.mjs";
8
+ import { C as f } from "./CurrencyInput-CC5cwVit.mjs";
9
9
  const F = p(({ goal: e }) => {
10
10
  const { goals: a } = h(), { setAlert: r, setSelectedGoal: l, updateGoal: m } = b(), [t, s] = _.useState(e.interest_rate ?? 0), c = !e.guid, i = t < 0, d = async () => {
11
11
  const n = { ...e, interest_rate: t };
@@ -7,10 +7,10 @@ import b from "@mui/material/Tabs";
7
7
  import d from "@mui/material/Divider";
8
8
  import R from "@mui/material/List";
9
9
  import T from "@mui/material/Stack";
10
- import { R as C, A as S, a as E, M as v } from "./ManageIncome-DUuT-yMV.mjs";
11
- import { u as _, j as A, g as f } from "./hooks-CE2TKk4a.mjs";
12
- import { R as y, F as N } from "./RecurringTransactions-ej39mgA6.mjs";
13
- import { A as m } from "./WidgetContainer-DtPnPQZY.mjs";
10
+ import { R as C, A as S, a as E, M as v } from "./ManageIncome-BaNgfwr5.mjs";
11
+ import { u as _, j as A, g as f } from "./hooks-CBST3rkm.mjs";
12
+ import { R as y, F as N } from "./RecurringTransactions-CngsRZ3K.mjs";
13
+ import { A as m } from "./WidgetContainer-DJA1bxLn.mjs";
14
14
  const I = h(() => {
15
15
  const { recurring: g } = _(), { repeatingTransactions: n } = A(), { onEvent: o } = f(), l = (r) => {
16
16
  o(m.RECURRING_TRANSACTIONS_CLICK_EXPENSE, {
@@ -17,7 +17,7 @@ import { formatISO as H } from "date-fns/formatISO";
17
17
  import { fromUnixTime as V } from "date-fns/fromUnixTime";
18
18
  import { getUnixTime as y } from "date-fns/getUnixTime";
19
19
  import { isAfter as h } from "date-fns/isAfter";
20
- import { isBefore as i } from "date-fns/isBefore";
20
+ import { isBefore as u } from "date-fns/isBefore";
21
21
  import { isSameDay as X } from "date-fns/isSameDay";
22
22
  import { nextDay as E } from "date-fns/nextDay";
23
23
  import { parseISO as J } from "date-fns/parseISO";
@@ -29,9 +29,9 @@ import { subQuarters as N } from "date-fns/subQuarters";
29
29
  import { subYears as T } from "date-fns/subYears";
30
30
  import { lastDayOfMonth as q } from "date-fns/lastDayOfMonth";
31
31
  import { setDayOfYear as F } from "date-fns/setDayOfYear";
32
- import { g as R, a as ee, b as te, c as re, d as oe, e as ae, f as ne } from "./DateUtil-BcuH7ErC.mjs";
32
+ import { g as R, a as ee, b as te, c as re, d as oe, e as ae, f as ne } from "./DateUtil-CBdcsyuk.mjs";
33
33
  import { b as W } from "./NumberFormatting-Buh7u8Oi.mjs";
34
- import { f as v, D as k } from "./Dialog-CWW597AF.mjs";
34
+ import { f as v, a as k } from "./Dialog-BPTr3qHE.mjs";
35
35
  import { b as l } from "./Localization-2MODESHW.mjs";
36
36
  var s = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e[e.TwiceAMonth = 8] = "TwiceAMonth", e))(s || {}), p = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(p || {}), O = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(O || {}), Y = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e[e.Income = 3] = "Income", e[e.Transfer = 4] = "Transfer", e))(Y || {});
37
37
  const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
@@ -51,22 +51,23 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
51
51
  o,
52
52
  /* @__PURE__ */ d(C, { children: /* @__PURE__ */ d(I, { name: "chevron_right", size: 24 }) })
53
53
  ] }) }) : /* @__PURE__ */ d(w, { disableGutters: !1, disablePadding: !1, children: o });
54
- }, Fe = se, Re = ({ label: e, onChange: a, options: t, value: n }) => /* @__PURE__ */ d(
54
+ }, Fe = se, Re = ({ label: e, onChange: a, options: t, value: n, ...o }) => /* @__PURE__ */ d(
55
55
  j,
56
56
  {
57
57
  InputLabelProps: { shrink: !0 },
58
58
  SelectProps: {
59
- IconComponent: (r) => /* @__PURE__ */ d(z, { size: 20, sx: { mr: 4 }, ...r })
59
+ IconComponent: (c) => /* @__PURE__ */ d(z, { size: 20, sx: { mr: 4 }, ...c })
60
60
  },
61
61
  defaultValue: 0,
62
62
  label: e,
63
- onChange: (r) => {
64
- a(Number(r.target.value));
63
+ onChange: (c) => {
64
+ a(Number(c.target.value));
65
65
  },
66
66
  select: !0,
67
67
  value: n,
68
68
  variant: "outlined",
69
- children: t.map((r) => /* @__PURE__ */ d($, { value: r.id, children: r.label }, r.id))
69
+ ...o,
70
+ children: t.map((c) => /* @__PURE__ */ d($, { value: c.id, children: c.label }, c.id))
70
71
  }
71
72
  ), ce = (e) => {
72
73
  if (!e) return "";
@@ -93,93 +94,93 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
93
94
  status: p.Upcoming,
94
95
  type: e.repeating_transaction_type === Y.Income ? O.Income : O.Expense,
95
96
  transaction: void 0
96
- }, u = a.start, c = a.end;
97
+ }, c = a.start, i = a.end;
97
98
  switch (e.recurrence_type) {
98
99
  case s.EveryWeek:
99
- t.push(...ue(r, u, c));
100
+ t.push(...ue(r, c, i));
100
101
  break;
101
102
  case s.EveryOtherWeek:
102
- t.push(...de(r, u, c));
103
+ t.push(...de(r, c, i));
103
104
  break;
104
105
  case s.TwiceAMonth:
105
- t.push(...me(r, u, c));
106
+ t.push(...me(r, c, i));
106
107
  break;
107
108
  case s.EveryMonth:
108
- t.push(...le(r, u, c));
109
+ t.push(...le(r, c, i));
109
110
  break;
110
111
  case s.EveryOtherMonth:
111
- t.push(...he(r, u, c));
112
+ t.push(...he(r, c, i));
112
113
  break;
113
114
  case s.EveryQuarter:
114
- t.push(...fe(r, u, c));
115
+ t.push(...fe(r, c, i));
115
116
  break;
116
117
  case s.EveryOtherQuarter:
117
- t.push(...pe(r, u, c));
118
+ t.push(...pe(r, c, i));
118
119
  break;
119
120
  case s.EveryYear:
120
- t.push(...ye(r, u, c));
121
+ t.push(...ye(r, c, i));
121
122
  break;
122
123
  }
123
124
  for (const m of t) {
124
125
  const _ = e.transactions.find(
125
126
  (x) => x.repeating_transaction_guid === e.guid && x.date > y(D(m.expectedDate, 5)) && x.date < y(Q(m.expectedDate, 5))
126
127
  );
127
- _ ? (m.transaction = _, m.status = p.Paid, m.occurredOnDate = V(_.date)) : i(m.expectedDate, D(b(), 3)) && (m.status = p.Missed);
128
+ _ ? (m.transaction = _, m.status = p.Paid, m.occurredOnDate = V(_.date)) : u(m.expectedDate, D(b(), 3)) && (m.status = p.Missed);
128
129
  }
129
130
  return t;
130
131
  }, ue = (e, a, t) => {
131
132
  const n = [];
132
133
  let o = E(a, e.recurrenceDay);
133
- for (; i(o, t); )
134
+ for (; u(o, t); )
134
135
  n.push({ ...e, expectedDate: o }), o = E(o, e.recurrenceDay);
135
136
  return n;
136
137
  }, de = (e, a, t) => {
137
138
  const n = [], o = e.expectedDate;
138
- if (i(o, t)) {
139
+ if (u(o, t)) {
139
140
  let r = D(o, 14);
140
141
  for (; h(r, a) || X(r, a); )
141
142
  n.push({ ...e, expectedDate: r }), r = D(r, 14);
142
- for (r = o; h(r, a) && i(r, t); )
143
+ for (r = o; h(r, a) && u(r, t); )
143
144
  n.push({ ...e, expectedDate: r }), r = Q(r, 14);
144
145
  }
145
146
  return n;
146
147
  }, me = (e, a, t) => {
147
148
  const n = [];
148
149
  let o = g(a, e.recurrenceDay);
149
- for (; i(o, t); )
150
+ for (; u(o, t); )
150
151
  n.push({ ...e, expectedDate: o }), o = f(o, 1);
151
152
  let r = e.secondRecurrenceDay && e.secondRecurrenceDay < 28 ? g(a, e.secondRecurrenceDay) : q(a);
152
- for (; i(r, t); )
153
+ for (; u(r, t); )
153
154
  n.push({ ...e, expectedDate: r }), r = f(r, 1);
154
155
  return n;
155
156
  }, le = (e, a, t) => {
156
157
  const n = [];
157
158
  let o = g(a, e.recurrenceDay);
158
- for (n.push({ ...e, expectedDate: o }), o = f(o, 1); i(o, t); )
159
+ for (n.push({ ...e, expectedDate: o }), o = f(o, 1); u(o, t); )
159
160
  n.push({ ...e, expectedDate: o }), o = f(o, 1);
160
161
  return n;
161
162
  }, he = (e, a, t) => {
162
163
  const n = [], o = e.expectedDate;
163
- let r = i(o, t) ? o : Z(o, 2);
164
- for (; i(r, t); )
164
+ let r = u(o, t) ? o : Z(o, 2);
165
+ for (; u(r, t); )
165
166
  h(r, a) && n.push({ ...e, expectedDate: r }), r = f(r, 2);
166
167
  return n;
167
168
  }, fe = (e, a, t) => {
168
169
  const n = [], o = e.expectedDate;
169
- let r = i(o, t) ? o : N(o, 1);
170
- for (; i(r, t); )
170
+ let r = u(o, t) ? o : N(o, 1);
171
+ for (; u(r, t); )
171
172
  h(r, a) && n.push({ ...e, expectedDate: r }), r = A(r, 1);
172
173
  return n;
173
174
  }, pe = (e, a, t) => {
174
175
  const n = [], o = e.expectedDate;
175
- let r = i(o, t) ? o : N(o, 2);
176
- for (; i(r, t); )
176
+ let r = u(o, t) ? o : N(o, 2);
177
+ for (; u(r, t); )
177
178
  h(r, a) && n.push({ ...e, expectedDate: r }), r = A(r, 2);
178
179
  return n;
179
180
  }, ye = (e, a, t) => {
180
181
  const n = [], o = e.expectedDate;
181
- let r = i(o, t) ? o : T(o, 1);
182
- for (; i(r, t); )
182
+ let r = u(o, t) ? o : T(o, 1);
183
+ for (; u(r, t); )
183
184
  h(r, a) && n.push({ ...e, expectedDate: r }), r = K(r, 1);
184
185
  return n;
185
186
  }, et = (e, a) => {
@@ -195,11 +196,11 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
195
196
  const n = [];
196
197
  for (const o of a) {
197
198
  const r = t.filter(
198
- (u) => u.repeating_transaction_guid === o.guid
199
+ (c) => c.repeating_transaction_guid === o.guid
199
200
  );
200
201
  t.length > 0 && n.push({
201
202
  ...o,
202
- account: e.find((u) => u.guid === o.account_guid),
203
+ account: e.find((c) => c.guid === o.account_guid),
203
204
  transactions: r
204
205
  });
205
206
  }
@@ -214,41 +215,41 @@ const se = ({ iconName: e, label: a, onClick: t, value: n }) => {
214
215
  recurrences: [t]
215
216
  }), a;
216
217
  }, []), ot = (e, a, t) => {
217
- const n = E(b(), a.recurrence_day), o = F(b(), a.recurrence_day), r = W(a.recurrence_day), u = a.second_recurrence_day ? W(a.second_recurrence_day) : "";
218
- let c = t ? l(e.monthly_ordinal, r) : e.monthly;
218
+ const n = E(b(), a.recurrence_day), o = F(b(), a.recurrence_day), r = W(a.recurrence_day), c = a.second_recurrence_day ? W(a.second_recurrence_day) : "";
219
+ let i = t ? l(e.monthly_ordinal, r) : e.monthly;
219
220
  switch (a.recurrence_type) {
220
221
  case s.EveryQuarter:
221
- c = t ? l(e.quarterly_ordinal, r) : e.quarterly;
222
+ i = t ? l(e.quarterly_ordinal, r) : e.quarterly;
222
223
  break;
223
224
  case s.EveryWeek:
224
- c = t ? l(
225
+ i = t ? l(
225
226
  e.weekly_ordinal,
226
227
  v(n, k.DAY_OF_WEEK)
227
228
  ) : e.weekly;
228
229
  break;
229
230
  case s.EveryYear:
230
- c = t ? l(
231
+ i = t ? l(
231
232
  e.anually_ordinal,
232
233
  v(o, k.MONTH_DAY)
233
234
  ) : e.anually;
234
235
  break;
235
236
  case s.EveryOtherWeek:
236
- c = t ? l(
237
+ i = t ? l(
237
238
  e.every_other_week_ordinal,
238
239
  v(n, k.DAY_OF_WEEK)
239
240
  ) : e.every_other_week;
240
241
  break;
241
242
  case s.EveryOtherMonth:
242
- c = t ? l(e.every_other_month_ordinal, r) : e.every_other_month;
243
+ i = t ? l(e.every_other_month_ordinal, r) : e.every_other_month;
243
244
  break;
244
245
  case s.EveryOtherQuarter:
245
- c = t ? l(e.every_other_quarter_ordinal, r) : e.every_other_quarter;
246
+ i = t ? l(e.every_other_quarter_ordinal, r) : e.every_other_quarter;
246
247
  break;
247
248
  case s.TwiceAMonth:
248
- c = t ? l(e.twice_a_month_ordinal, r, u) : e.twice_a_month;
249
+ i = t ? l(e.twice_a_month_ordinal, r, c) : e.twice_a_month;
249
250
  break;
250
251
  }
251
- return c;
252
+ return i;
252
253
  }, at = (e, a) => {
253
254
  let t = a;
254
255
  switch (e) {
@@ -8,7 +8,7 @@ import { startOfMonth as S } from "date-fns/startOfMonth";
8
8
  import { startOfToday as c } from "date-fns/startOfToday";
9
9
  import { subDays as y } from "date-fns/subDays";
10
10
  import { F as x, A as o } from "./Fetch-87LIQbEA.mjs";
11
- import { b as E, a, c as d, d as u } from "./RecurringTransactions-ej39mgA6.mjs";
11
+ import { b as E, a, c as d, d as u } from "./RecurringTransactions-CngsRZ3K.mjs";
12
12
  var A = /* @__PURE__ */ ((r) => (r.Small = "small", r.Medium = "medium", r.Large = "large", r))(A || {});
13
13
  const U = 44;
14
14
  class h {
@@ -4,40 +4,40 @@ import { startOfMonth as _ } from "date-fns/startOfMonth";
4
4
  import { subMonths as y } from "date-fns/subMonths";
5
5
  import { endOfMonth as M } from "date-fns/endOfMonth";
6
6
  import { b as n, P as l } from "./Category-CevNQ03n.mjs";
7
- import { f as m, D as T } from "./Dialog-CWW597AF.mjs";
7
+ import { f as m, a as T } from "./Dialog-BPTr3qHE.mjs";
8
8
  const i = (e) => (e.top_level_category_guid === n.INCOME || e.category_guid === n.INCOME) && !h(e), C = (e) => !i(e) && !f(e), p = (e) => l.includes(e.top_level_category_guid) || l.includes(e.category_guid), f = (e) => e.top_level_category_guid === n.TRANSFER || e.category_guid === n.TRANSFER, h = (e) => e.top_level_category_guid === n.INVESTMENTS || e.category_guid === n.INVESTMENTS, N = (e) => !i(e) && !p(e) && !f(e) && !h(e), w = (e) => e.filter((r) => r.category_guid === r.top_level_category_guid), F = (e, r) => {
9
9
  if (r === 0) return 0;
10
- const o = (e - r) / r;
11
- return isNaN(o) ? 0 : o;
10
+ const a = (e - r) / r;
11
+ return isNaN(a) ? 0 : a;
12
12
  }, g = (e, r) => {
13
- const o = [];
13
+ const a = [];
14
14
  let t = _(r?.start ?? y(/* @__PURE__ */ new Date(), 5));
15
15
  const s = r?.end ?? /* @__PURE__ */ new Date();
16
16
  for (; d(t, s); )
17
- o.push({
17
+ a.push({
18
18
  x: m(t, T.MONTH_SHORT),
19
- y: e.filter((a) => a.year === t.getFullYear() && a.month === t.getMonth() + 1).reduce((a, c) => a + c.total, 0)
19
+ y: e.filter((o) => o.year === t.getFullYear() && o.month === t.getMonth() + 1).reduce((o, c) => o + c.total, 0)
20
20
  }), t = u(t, 1);
21
- return o;
21
+ return a;
22
22
  }, b = (e, r) => {
23
- const o = e.filter(i);
24
- return g(o, r).map((t) => ({ ...t, y: Math.abs(t.y) }));
23
+ const a = e.filter(i);
24
+ return g(a, r).map((t) => ({ ...t, y: Math.abs(t.y) }));
25
25
  }, A = (e, r) => {
26
- const o = e.filter(p);
27
- return g(o, r).map((t) => ({ ...t, y: Math.abs(t.y) }));
26
+ const a = e.filter(p);
27
+ return g(a, r).map((t) => ({ ...t, y: Math.abs(t.y) }));
28
28
  }, x = (e, r) => {
29
- const o = e.filter(N);
30
- return g(o, r);
29
+ const a = e.filter(N);
30
+ return g(a, r);
31
31
  }, H = (e) => {
32
- const r = [], o = e.filter(
33
- (a) => a.top_level_category_guid !== n.INCOME && a.top_level_category_guid !== n.TRANSFER && a.total > 0
32
+ const r = [], a = e.filter(
33
+ (o) => o.top_level_category_guid !== n.INCOME && o.top_level_category_guid !== n.TRANSFER && o.total > 0
34
34
  );
35
35
  let t = _(y(/* @__PURE__ */ new Date(), 5));
36
36
  const s = M(/* @__PURE__ */ new Date());
37
37
  for (; d(t, s); )
38
38
  r.push({
39
39
  x: m(t, T.MONTH_SHORT),
40
- y: o.filter((a) => a.year === t.getFullYear() && a.month === t.getMonth() + 1).reduce((a, c) => a + c.total, 0)
40
+ y: a.filter((o) => o.year === t.getFullYear() && o.month === t.getMonth() + 1).reduce((o, c) => o + c.total, 0)
41
41
  }), t = u(t, 1);
42
42
  return r;
43
43
  };