@mx-cartographer/experiences 6.26.21-alpha.mega1 → 6.26.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.
- package/CHANGELOG.md +1 -1
- package/dist/index.es.js +559 -563
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -6,7 +6,7 @@ import P from "@mui/material/Divider";
|
|
|
6
6
|
import ae from "@mui/material/List";
|
|
7
7
|
import $t from "@mui/material/ListSubheader";
|
|
8
8
|
import Oe from "@mui/system/Stack";
|
|
9
|
-
import { AccountsIcon as Ul, P as X, Icon as U, useTokens as At, Text as C, H2 as fn, CategoryIcon as Lt, DialogHeader as Vl, DialogFooter as Kl, Drawer as zl, Footer as Yl, DateRangePicker as sr, H3 as
|
|
9
|
+
import { AccountsIcon as Ul, P as X, Icon as U, useTokens as At, Text as C, H2 as fn, CategoryIcon as Lt, DialogHeader as Vl, DialogFooter as Kl, Drawer as zl, Footer as Yl, DateRangePicker as sr, H3 as qe, H1 as Qt, TextField as Ln, IconWeight as It, MerchantLogo as Jt, CategoryIconList as jl, CategoryIconVariants as Bs, InstitutionLogo as Tt, ChevronRightIcon as Hs, THEMES as cr } from "@mxenabled/mxui";
|
|
10
10
|
import Xl from "bowser";
|
|
11
11
|
import { getUnixTime as Fe } from "date-fns/getUnixTime";
|
|
12
12
|
import { intlFormat as Zl } from "date-fns/intlFormat";
|
|
@@ -18,7 +18,7 @@ import { getDay as ql } from "date-fns/getDay";
|
|
|
18
18
|
import { isBefore as ot } from "date-fns/isBefore";
|
|
19
19
|
import { nextDay as ea } from "date-fns/nextDay";
|
|
20
20
|
import { setDate as ta } from "date-fns/setDate";
|
|
21
|
-
import { startOfToday as
|
|
21
|
+
import { startOfToday as ve } from "date-fns/startOfToday";
|
|
22
22
|
import { fromUnixTime as Ue } from "date-fns/fromUnixTime";
|
|
23
23
|
import ja from "numeral";
|
|
24
24
|
import te from "@mui/material/Button";
|
|
@@ -38,10 +38,10 @@ import { css as Cn, keyframes as td } from "@mxenabled/cssinjs";
|
|
|
38
38
|
import { addDays as Fn } from "date-fns/addDays";
|
|
39
39
|
import { eachDayOfInterval as nd } from "date-fns/eachDayOfInterval";
|
|
40
40
|
import { eachWeekOfInterval as id } from "date-fns/eachWeekOfInterval";
|
|
41
|
-
import { endOfMonth as
|
|
41
|
+
import { endOfMonth as Qe } from "date-fns/endOfMonth";
|
|
42
42
|
import { format as pn } from "date-fns/format";
|
|
43
43
|
import { isSameMonth as ad } from "date-fns/isSameMonth";
|
|
44
|
-
import { startOfMonth as
|
|
44
|
+
import { startOfMonth as Ze } from "date-fns/startOfMonth";
|
|
45
45
|
import { subMonths as Ht } from "date-fns/subMonths";
|
|
46
46
|
import Nt from "@mui/material/Paper";
|
|
47
47
|
import { ChevronLeft as Ws, ChevronRight as ze, ArrowBack as od, Icon as pt, AccountBalance as co, ExpandMore as ui, CheckCircle as ma, Edit as rd, Delete as $s, Schedule as sd, MonetizationOn as cd, Cancel as Us, CurrencyExchange as ld, Check as dd, TrendingUp as Vs, ArrowRightAlt as _d, TrendingDown as Ks, Payments as lo, CalendarMonth as ud, CreditCard as zs, Savings as hd, ContentCopy as gd, MultilineChart as Ys, NoteStack as js, Person as Xs, ExpandLess as Zs, AddBox as qs, Trophy as md, Star as pd, Settings as fd } from "@mxenabled/mx-icons";
|
|
@@ -49,7 +49,7 @@ import { isSameDay as Dt } from "date-fns/isSameDay";
|
|
|
49
49
|
import { isWithinInterval as _o } from "date-fns/isWithinInterval";
|
|
50
50
|
import * as Rt from "d3";
|
|
51
51
|
import { selectAll as Cd, interpolateString as bd, arc as yd } from "d3";
|
|
52
|
-
import { useTheme as
|
|
52
|
+
import { useTheme as Ye, alpha as Nn, keyframes as Sd, ThemeProvider as Ed } from "@mui/material/styles";
|
|
53
53
|
import { ResponsiveChartContainer as Td, ChartsReferenceLine as Ad, AreaPlot as xd, LinePlot as Id, MarkPlot as vd, BarPlot as wd, ChartsXAxis as Dd, ChartsYAxis as Nd, ChartsAxisHighlight as Rd, LineChart as Qs, PieChart as Od } from "@mui/x-charts";
|
|
54
54
|
import { ChartsTooltip as Ld } from "@mui/x-charts/ChartsTooltip";
|
|
55
55
|
import bt from "@mui/material/Card";
|
|
@@ -344,7 +344,7 @@ const G_ = async (e, n, i = "1.0.0", a = "Experiences") => {
|
|
|
344
344
|
TRENDS_CLICK_GET_STARTED: "trends_click_getStarted",
|
|
345
345
|
TRENDS_CLICK_VIEW_MORE: "trends_click_viewMore",
|
|
346
346
|
TRENDS_LOAD_WIDGET: "trends_load_widget"
|
|
347
|
-
}, B_ = "do",
|
|
347
|
+
}, B_ = "do", z2 = "MMM do, yyyy", re = {
|
|
348
348
|
TIME_STAMP_HOUR_MINUTE: {
|
|
349
349
|
hour: "numeric",
|
|
350
350
|
minute: "numeric"
|
|
@@ -429,7 +429,7 @@ const P_ = [
|
|
|
429
429
|
/* IMPAIRED */
|
|
430
430
|
], uc = [..._c, ...dc];
|
|
431
431
|
var Yn = /* @__PURE__ */ ((e) => (e.Connected = "Connected", e.Error = "Error", e.Processing = "Processing", e.RequiresMfa = "RequiresMfa", e))(Yn || {});
|
|
432
|
-
const
|
|
432
|
+
const Y2 = {
|
|
433
433
|
3: "Challenged",
|
|
434
434
|
12: "Closed",
|
|
435
435
|
9: "Degraded",
|
|
@@ -479,7 +479,7 @@ const YT = {
|
|
|
479
479
|
2: "savings"
|
|
480
480
|
}, F_ = {
|
|
481
481
|
5: "bid_landscape"
|
|
482
|
-
},
|
|
482
|
+
}, j2 = {
|
|
483
483
|
0: "Real Estate",
|
|
484
484
|
1: "Vehicle",
|
|
485
485
|
2: "Art",
|
|
@@ -819,7 +819,7 @@ const YT = {
|
|
|
819
819
|
UNKNOWN: "help"
|
|
820
820
|
}, br = 9999999999e-2;
|
|
821
821
|
var oa = /* @__PURE__ */ ((e) => (e.CAD = "CAD", e.USD = "USD", e))(oa || {}), U_ = /* @__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))(U_ || {});
|
|
822
|
-
const
|
|
822
|
+
const X2 = [
|
|
823
823
|
{ id: 0, copy: "frequency_unknown" },
|
|
824
824
|
{ id: 1, copy: "frequency_every_week" },
|
|
825
825
|
{ id: 2, copy: "frequency_every_other_week" },
|
|
@@ -828,7 +828,7 @@ const XT = [
|
|
|
828
828
|
{ id: 5, copy: "frequency_every_quarter" },
|
|
829
829
|
{ id: 6, copy: "frequency_every_other_quarter" },
|
|
830
830
|
{ id: 7, copy: "frequency_every_year" }
|
|
831
|
-
],
|
|
831
|
+
], Z2 = {
|
|
832
832
|
ERROR: "ERROR",
|
|
833
833
|
LOADING: "LOADING",
|
|
834
834
|
SUCCESS: "SUCCESS"
|
|
@@ -840,7 +840,7 @@ const Ii = 44, yr = (e, n) => e.find((i) => i.guid === n), Y_ = (e, n) => e.find
|
|
|
840
840
|
const i = e.find((a) => a.subCategories.find((o) => o.guid === n));
|
|
841
841
|
if (i)
|
|
842
842
|
return i.subCategories.find((a) => a.guid === n);
|
|
843
|
-
},
|
|
843
|
+
}, q2 = (e, n) => {
|
|
844
844
|
const i = [];
|
|
845
845
|
for (const a of n) {
|
|
846
846
|
const o = yr(e, a.category_guid);
|
|
@@ -861,21 +861,21 @@ const Ii = 44, yr = (e, n) => e.find((i) => i.guid === n), Y_ = (e, n) => e.find
|
|
|
861
861
|
});
|
|
862
862
|
}
|
|
863
863
|
return i;
|
|
864
|
-
},
|
|
864
|
+
}, Q2 = (e, n) => {
|
|
865
865
|
const i = e.find((a) => a.guid === n);
|
|
866
866
|
return i ? i.guid === D.INCOME || i.parent_guid === D.INCOME : !1;
|
|
867
867
|
}, Io = (e) => {
|
|
868
868
|
const n = ql(e);
|
|
869
869
|
let i = ea(e, n);
|
|
870
|
-
for (; ot(i,
|
|
870
|
+
for (; ot(i, ve()); )
|
|
871
871
|
i = Ps(i, 1);
|
|
872
872
|
return i;
|
|
873
873
|
}, X_ = (e) => {
|
|
874
874
|
const n = Io(e);
|
|
875
875
|
return Ps(n, 1);
|
|
876
876
|
}, Z_ = (e) => {
|
|
877
|
-
let n = ta(
|
|
878
|
-
for (; ot(n,
|
|
877
|
+
let n = ta(ve(), e.getDate());
|
|
878
|
+
for (; ot(n, ve()); )
|
|
879
879
|
n = rn(n, 1);
|
|
880
880
|
return n;
|
|
881
881
|
}, q_ = (e) => {
|
|
@@ -883,7 +883,7 @@ const Ii = 44, yr = (e, n) => e.find((i) => i.guid === n), Y_ = (e, n) => e.find
|
|
|
883
883
|
return rn(n, 1);
|
|
884
884
|
}, pc = (e) => {
|
|
885
885
|
let n = Mi(e, 1);
|
|
886
|
-
for (; ot(n,
|
|
886
|
+
for (; ot(n, ve()); )
|
|
887
887
|
n = Mi(n, 1);
|
|
888
888
|
return n;
|
|
889
889
|
}, Q_ = (e) => {
|
|
@@ -909,7 +909,7 @@ const Ii = 44, yr = (e, n) => e.find((i) => i.guid === n), Y_ = (e, n) => e.find
|
|
|
909
909
|
[]
|
|
910
910
|
);
|
|
911
911
|
return i ? o : o.join("");
|
|
912
|
-
},
|
|
912
|
+
}, J2 = (e, n, i, ...a) => !e || !n ? "" : T(i === 1 ? e : n, ...a), Wn = () => {
|
|
913
913
|
const e = "en-us", n = ["en-us", "en-ca", "fr", "fr-ca", "es"], i = window?.app?.options?.language?.toLowerCase() ?? "", a = window.navigator.language.toLowerCase();
|
|
914
914
|
return i === "browser" && n.includes(a) ? a : n.includes(i) ? i : e;
|
|
915
915
|
};
|
|
@@ -1003,7 +1003,7 @@ const H = (e, n, i) => {
|
|
|
1003
1003
|
}) => {
|
|
1004
1004
|
const a = iu(n).select(e);
|
|
1005
1005
|
return `${e}${i[a]}`;
|
|
1006
|
-
},
|
|
1006
|
+
}, eT = (e, n) => {
|
|
1007
1007
|
const i = e.palette.mode === "dark", a = (s, c) => {
|
|
1008
1008
|
const l = n?.[s];
|
|
1009
1009
|
return {
|
|
@@ -1229,7 +1229,7 @@ class Ri {
|
|
|
1229
1229
|
}
|
|
1230
1230
|
getGlobalCopy = async (n, i) => this.fetchInstance.post(`${B.LOCALIZED_CONTENT}/${n}`, { translation_key: i }).then((a) => a);
|
|
1231
1231
|
}
|
|
1232
|
-
class
|
|
1232
|
+
class tT {
|
|
1233
1233
|
fetchInstance;
|
|
1234
1234
|
constructor(n, i) {
|
|
1235
1235
|
this.fetchInstance = new dt(n, i);
|
|
@@ -1253,7 +1253,7 @@ class Tr {
|
|
|
1253
1253
|
// A bug ticket has been filed to fix it, but should not require any changes here.
|
|
1254
1254
|
markAllAsViewed = (n) => this.fetchInstance.put(`${B.NOTIFICATIONS}/mark_all_as_viewed`, { channel: n }).finally();
|
|
1255
1255
|
}
|
|
1256
|
-
class
|
|
1256
|
+
class nT {
|
|
1257
1257
|
fetchInstance;
|
|
1258
1258
|
constructor(n, i) {
|
|
1259
1259
|
this.fetchInstance = new dt(n, i);
|
|
@@ -1290,7 +1290,7 @@ const Pa = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
|
|
|
1290
1290
|
guid: a.guid
|
|
1291
1291
|
};
|
|
1292
1292
|
return Object.prototype.hasOwnProperty.call(i, o) ? i[o] = i[o].concat(r) : i[o] = [r], i;
|
|
1293
|
-
}, {}), ti = g.createContext(null),
|
|
1293
|
+
}, {}), ti = g.createContext(null), iT = ({
|
|
1294
1294
|
children: e,
|
|
1295
1295
|
globalStore: n,
|
|
1296
1296
|
onEvent: i,
|
|
@@ -1321,7 +1321,7 @@ const Pa = (e, n) => e.reduce((i, a) => (i[a.guid] = n?.includes(a.guid), i), {}
|
|
|
1321
1321
|
if (!n)
|
|
1322
1322
|
throw new Error(`${e}() must be used within the GlobalDataContext`);
|
|
1323
1323
|
return n;
|
|
1324
|
-
}, be = () => nt("useAccountStore").globalStore.accountStore, wt = () => nt("useAppConfig").globalStore.appDataStore.appConfig, wo = () => nt("useAnalyticsStore").globalStore.analyticsStore, ut = () => nt("useBudgetsStore").globalStore.budgetsStore, Do = () => nt("useCashflowStore").globalStore.cashflowStore, $e = () => nt("useCategoryStore").globalStore.categoryStore, bc = () => nt("useConnectStore").globalStore.connectStore, Sa = () => nt("useDebtsStore").globalStore.debtsStore, bi = () => nt("useFinstrongStore").globalStore.finstrongStore, yi = () => nt("useGlobalStore").globalStore, ce = () => nt("useGlobalUiStore").globalStore.globalUiStore, A = () => nt("globalCopyStore").globalStore.copyStore.copy, _t = () => nt("useGoalStore").globalStore.goalStore, No = () => nt("useHelpStore").globalStore.helpStore, Xn = () => nt("useHoldingStore").globalStore.holdingStore, ru = () => nt("useMerchantStore").globalStore.merchantStore, yc = () => nt("useNetWorthStore").globalStore.netWorthStore, Sc = () => nt("useNotificationStore").globalStore.notificationStore, rt = () => nt("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, yt = () => nt("useSettingsStore").globalStore.settingsStore, Le = () => nt("useTransactionStore").globalStore.transactionStore, Si = () => nt("useTrendsStore").globalStore.trendsStore, ft = () => nt("useUserStore").globalStore.userStore, q = () => ({ onEvent: nt().onEvent }),
|
|
1324
|
+
}, be = () => nt("useAccountStore").globalStore.accountStore, wt = () => nt("useAppConfig").globalStore.appDataStore.appConfig, wo = () => nt("useAnalyticsStore").globalStore.analyticsStore, ut = () => nt("useBudgetsStore").globalStore.budgetsStore, Do = () => nt("useCashflowStore").globalStore.cashflowStore, $e = () => nt("useCategoryStore").globalStore.categoryStore, bc = () => nt("useConnectStore").globalStore.connectStore, Sa = () => nt("useDebtsStore").globalStore.debtsStore, bi = () => nt("useFinstrongStore").globalStore.finstrongStore, yi = () => nt("useGlobalStore").globalStore, ce = () => nt("useGlobalUiStore").globalStore.globalUiStore, A = () => nt("globalCopyStore").globalStore.copyStore.copy, _t = () => nt("useGoalStore").globalStore.goalStore, No = () => nt("useHelpStore").globalStore.helpStore, Xn = () => nt("useHoldingStore").globalStore.holdingStore, ru = () => nt("useMerchantStore").globalStore.merchantStore, yc = () => nt("useNetWorthStore").globalStore.netWorthStore, Sc = () => nt("useNotificationStore").globalStore.notificationStore, rt = () => nt("useRecurringTransactionsStore").globalStore.recurringTransactionsStore, yt = () => nt("useSettingsStore").globalStore.settingsStore, Le = () => nt("useTransactionStore").globalStore.transactionStore, Si = () => nt("useTrendsStore").globalStore.trendsStore, ft = () => nt("useUserStore").globalStore.userStore, q = () => ({ onEvent: nt().onEvent }), aT = () => ({ onPageView: nt().onPageView }), su = (e = "useWidgetContainerContext") => {
|
|
1325
1325
|
const n = g.useContext(Cc);
|
|
1326
1326
|
if (!n)
|
|
1327
1327
|
throw new Error(`${e}() must be used within the WidgetContainerContext`);
|
|
@@ -1578,7 +1578,7 @@ const cu = (e, n) => {
|
|
|
1578
1578
|
// Between 600 and 1200
|
|
1579
1579
|
isTablet: e > a && e <= r
|
|
1580
1580
|
}), c;
|
|
1581
|
-
},
|
|
1581
|
+
}, oT = (e) => {
|
|
1582
1582
|
const n = Gs();
|
|
1583
1583
|
return Pn(() => {
|
|
1584
1584
|
n.current = e;
|
|
@@ -1853,7 +1853,7 @@ const cu = (e, n) => {
|
|
|
1853
1853
|
}), mu = (e, n) => e + n, pu = (e, n) => Math.abs(n) > e ? Math.abs(n) : e, fu = (e, n) => [...e, n.value], vr = (e, n, i) => {
|
|
1854
1854
|
const a = e && n ? i / 2 : i;
|
|
1855
1855
|
return e ? a : 0;
|
|
1856
|
-
}, Cu = (e, n, i, a) => e / (n < 0 ? -i : n) * a || 0,
|
|
1856
|
+
}, Cu = (e, n, i, a) => e / (n < 0 ? -i : n) * a || 0, rT = ({
|
|
1857
1857
|
average: e,
|
|
1858
1858
|
barWidth: n = "8%",
|
|
1859
1859
|
color: i,
|
|
@@ -1935,7 +1935,7 @@ const cu = (e, n) => {
|
|
|
1935
1935
|
gap: 4
|
|
1936
1936
|
}
|
|
1937
1937
|
}), Eu = ({ beginDate: e, date: n, endDate: i, isInMonth: a, onClick: o }) => {
|
|
1938
|
-
const r = Ee(), s = Tu(r), c = e && i && _o(n, { start: e, end: i }) && !Dt(n, e) && !Dt(n, i), l = e && i && Dt(e, n) && !Dt(e, i), u = i && e && Dt(i, n) && !Dt(e, i), _ = e && Dt(e, n) || i && Dt(i, n), h = Dt(n,
|
|
1938
|
+
const r = Ee(), s = Tu(r), c = e && i && _o(n, { start: e, end: i }) && !Dt(n, e) && !Dt(n, i), l = e && i && Dt(e, n) && !Dt(e, i), u = i && e && Dt(i, n) && !Dt(e, i), _ = e && Dt(e, n) || i && Dt(i, n), h = Dt(n, ve());
|
|
1939
1939
|
return /* @__PURE__ */ t(
|
|
1940
1940
|
"div",
|
|
1941
1941
|
{
|
|
@@ -2027,12 +2027,12 @@ const xu = ({
|
|
|
2027
2027
|
selectionType: r = "Single"
|
|
2028
2028
|
/* Single */
|
|
2029
2029
|
}) => {
|
|
2030
|
-
const s = At(), c = Iu(s), [l, u] = g.useState(
|
|
2030
|
+
const s = At(), c = Iu(s), [l, u] = g.useState(ve), [_, h] = g.useState(n), [p, m] = g.useState(i);
|
|
2031
2031
|
g.useEffect(() => {
|
|
2032
2032
|
h(n), m(i), n && u(n);
|
|
2033
2033
|
}, [n, i]);
|
|
2034
2034
|
const f = g.useMemo(() => {
|
|
2035
|
-
const v = id({ start:
|
|
2035
|
+
const v = id({ start: Ze(l), end: Qe(l) }), w = [];
|
|
2036
2036
|
for (let N = 0; N < v.length; N++) {
|
|
2037
2037
|
const R = v[N], M = nd({ start: R, end: Fn(R, 6) }), k = [];
|
|
2038
2038
|
for (let G = 0; G < M.length; G++)
|
|
@@ -2049,7 +2049,7 @@ const xu = ({
|
|
|
2049
2049
|
!_ || p ? (h(v), m(void 0)) : ot(v, _) ? (m(_), h(v), o?.(v, _)) : (m(v), o?.(_, v));
|
|
2050
2050
|
}
|
|
2051
2051
|
}, y = () => {
|
|
2052
|
-
const v =
|
|
2052
|
+
const v = ve();
|
|
2053
2053
|
u(v), r !== "None" && (h(v), r === "Single" ? a?.(v) : (m(v), o?.(v, v)));
|
|
2054
2054
|
}, E = () => {
|
|
2055
2055
|
u(rn(l, 1));
|
|
@@ -2171,7 +2171,7 @@ const xu = ({
|
|
|
2171
2171
|
)
|
|
2172
2172
|
] });
|
|
2173
2173
|
}, Nu = (e) => {
|
|
2174
|
-
const n =
|
|
2174
|
+
const n = Ye(), i = e.showLabel, a = e.style, o = Number(e.x), r = Number(e.y), s = e.handlers?.onMarkClick, c = e.handlers?.onMouseEnter, l = e.handlers?.onMouseLeave, u = un(n.breakpoints.up("sm")), _ = e.valueFormatterString ? H(e.yData[e.dataIndex], e.valueFormatterString) : String(e.yData[e.dataIndex]), h = u ? n.typography.Small?.fontSize : n.typography.XSmall?.fontSize, p = h ? parseFloat(h.toString()) * 0.6 : 8, y = _.length * p + 8 + 8, E = 24, I = o - y / 2, v = r - 30;
|
|
2175
2175
|
return /* @__PURE__ */ d(Z, { children: [
|
|
2176
2176
|
i && /* @__PURE__ */ d(Z, { children: [
|
|
2177
2177
|
e.labelBackgroundColor && /* @__PURE__ */ t(
|
|
@@ -2393,17 +2393,17 @@ const ni = ({
|
|
|
2393
2393
|
title: L,
|
|
2394
2394
|
useCustomMark: W = !1,
|
|
2395
2395
|
valueFormatterString: K,
|
|
2396
|
-
width:
|
|
2396
|
+
width: oe
|
|
2397
2397
|
}) => {
|
|
2398
|
-
const
|
|
2398
|
+
const ne = Ye(), fe = r.flat().map((J) => J.x), Ae = r.flat().map((J) => J.y), Me = Math.round(Ae.reduce((J, ke) => ke + J, 0) / Ae.length), he = Math.floor(Math.min(...Ae) / 100) * 100, me = Math.ceil(Math.max(...Ae) / 100) * 100, je = r.map((J, ke) => ({
|
|
2399
2399
|
type: I ? "bar" : "line",
|
|
2400
2400
|
curve: a,
|
|
2401
|
-
color: I ?
|
|
2402
|
-
data: J.map((
|
|
2401
|
+
color: I ? ne.palette.chart?.chart6 : i[ke] ?? ne.palette.primary.main,
|
|
2402
|
+
data: J.map((xe) => xe.y),
|
|
2403
2403
|
area: S,
|
|
2404
2404
|
baseline: n,
|
|
2405
2405
|
showMark: !0,
|
|
2406
|
-
valueFormatter: (
|
|
2406
|
+
valueFormatter: (xe) => K ? H(xe || 0, K) : String(xe)
|
|
2407
2407
|
})), pe = {
|
|
2408
2408
|
...{
|
|
2409
2409
|
top: 60,
|
|
@@ -2419,7 +2419,7 @@ const ni = ({
|
|
|
2419
2419
|
{
|
|
2420
2420
|
height: s,
|
|
2421
2421
|
margin: pe,
|
|
2422
|
-
series:
|
|
2422
|
+
series: je,
|
|
2423
2423
|
sx: {
|
|
2424
2424
|
p: 4,
|
|
2425
2425
|
"& .MuiBarLabel-root": {
|
|
@@ -2430,19 +2430,19 @@ const ni = ({
|
|
|
2430
2430
|
opacity: 0.15
|
|
2431
2431
|
}
|
|
2432
2432
|
},
|
|
2433
|
-
width:
|
|
2433
|
+
width: oe,
|
|
2434
2434
|
xAxis: [{ data: fe, scaleType: I ? "band" : "point" }],
|
|
2435
2435
|
yAxis: [
|
|
2436
2436
|
{
|
|
2437
2437
|
min: c ? -22 : he,
|
|
2438
2438
|
max: me || 100,
|
|
2439
|
-
colorMap: S &&
|
|
2439
|
+
colorMap: S && je.length < 2 ? {
|
|
2440
2440
|
type: "continuous",
|
|
2441
2441
|
min: he,
|
|
2442
2442
|
max: me,
|
|
2443
2443
|
color: [
|
|
2444
|
-
|
|
2445
|
-
i[0] ??
|
|
2444
|
+
ne.palette.background.paper,
|
|
2445
|
+
i[0] ?? ne.palette.primary.main
|
|
2446
2446
|
]
|
|
2447
2447
|
} : void 0,
|
|
2448
2448
|
valueFormatter: (J) => K ? H(J, K) : String(J)
|
|
@@ -2453,7 +2453,7 @@ const ni = ({
|
|
|
2453
2453
|
Ad,
|
|
2454
2454
|
{
|
|
2455
2455
|
lineStyle: {
|
|
2456
|
-
stroke: u ?
|
|
2456
|
+
stroke: u ? ne.palette.neutral.main : ne.palette.neutral.dark,
|
|
2457
2457
|
strokeDasharray: "10, 8",
|
|
2458
2458
|
strokeWidth: 2
|
|
2459
2459
|
},
|
|
@@ -2469,7 +2469,7 @@ const ni = ({
|
|
|
2469
2469
|
Ru,
|
|
2470
2470
|
{
|
|
2471
2471
|
...J,
|
|
2472
|
-
lineColor: J.ownerState.color ??
|
|
2472
|
+
lineColor: J.ownerState.color ?? ne.palette.primary.main
|
|
2473
2473
|
}
|
|
2474
2474
|
)
|
|
2475
2475
|
}
|
|
@@ -2489,7 +2489,7 @@ const ni = ({
|
|
|
2489
2489
|
showLabel: w,
|
|
2490
2490
|
style: f?.(J.dataIndex) ?? {},
|
|
2491
2491
|
valueFormatterString: K,
|
|
2492
|
-
yData:
|
|
2492
|
+
yData: Ae,
|
|
2493
2493
|
...J
|
|
2494
2494
|
}
|
|
2495
2495
|
)
|
|
@@ -2552,7 +2552,7 @@ const ni = ({
|
|
|
2552
2552
|
average: y ? Me : void 0,
|
|
2553
2553
|
customLegendVariant: o,
|
|
2554
2554
|
labels: l,
|
|
2555
|
-
series:
|
|
2555
|
+
series: je,
|
|
2556
2556
|
style: { position: "absolute", top: 16, left: 16 },
|
|
2557
2557
|
title: L,
|
|
2558
2558
|
valueFormatterString: K
|
|
@@ -2605,7 +2605,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
2605
2605
|
),
|
|
2606
2606
|
/* @__PURE__ */ t(C, { variant: "Body", children: o })
|
|
2607
2607
|
] });
|
|
2608
|
-
},
|
|
2608
|
+
}, Xe = ({
|
|
2609
2609
|
isIncome: e = !1,
|
|
2610
2610
|
amount: n = 0,
|
|
2611
2611
|
bold: i,
|
|
@@ -2624,7 +2624,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
2624
2624
|
cursorPosition: a,
|
|
2625
2625
|
chartContainerRef: o
|
|
2626
2626
|
}) => {
|
|
2627
|
-
const r =
|
|
2627
|
+
const r = Ye(), s = Gs(null), [c, l] = xt({ x: a.x, y: a.y });
|
|
2628
2628
|
if (Pn(() => {
|
|
2629
2629
|
(() => {
|
|
2630
2630
|
const h = s.current, p = o.current;
|
|
@@ -2650,7 +2650,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
2650
2650
|
/* @__PURE__ */ d(O, { alignItems: "center", display: "flex", flexDirection: "column", children: [
|
|
2651
2651
|
/* @__PURE__ */ t(Ic, { categoryGuid: e, topLevelCategoryGuid: n }),
|
|
2652
2652
|
/* @__PURE__ */ t(C, { variant: "Small", children: `${i.length}-month total` }),
|
|
2653
|
-
/* @__PURE__ */ t(
|
|
2653
|
+
/* @__PURE__ */ t(Xe, { amount: u, bold: !0, formatString: "0,0", variant: "body2" })
|
|
2654
2654
|
] }),
|
|
2655
2655
|
/* @__PURE__ */ t(P, { sx: { my: 16, width: "100%" } }),
|
|
2656
2656
|
/* @__PURE__ */ t(st, { container: !0, children: i.map((_, h) => /* @__PURE__ */ d(g.Fragment, { children: [
|
|
@@ -2658,7 +2658,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
2658
2658
|
/* @__PURE__ */ t(st, { item: !0, xs: 4, children: /* @__PURE__ */ d(O, { alignItems: "center", display: "flex", flexDirection: "column", children: [
|
|
2659
2659
|
/* @__PURE__ */ t(C, { color: r.palette.text.secondary, variant: "XSmall", children: _.x }),
|
|
2660
2660
|
/* @__PURE__ */ t(
|
|
2661
|
-
|
|
2661
|
+
Xe,
|
|
2662
2662
|
{
|
|
2663
2663
|
amount: _.y,
|
|
2664
2664
|
bold: !0,
|
|
@@ -2681,7 +2681,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
2681
2681
|
return s === void 0 || !c ? null : /* @__PURE__ */ t(ga, { sx: { pt: 4, px: 8 }, children: /* @__PURE__ */ t(Jl, { children: /* @__PURE__ */ d(An, { alignItems: "center", display: "flex", flexDirection: "column", children: [
|
|
2682
2682
|
/* @__PURE__ */ t(Ic, { categoryGuid: e, topLevelCategoryGuid: n }),
|
|
2683
2683
|
/* @__PURE__ */ t(C, { color: r.palette.text.secondary, variant: "Small", children: ue(c, re.MONTH_SHORT_YEAR) }),
|
|
2684
|
-
/* @__PURE__ */ t(
|
|
2684
|
+
/* @__PURE__ */ t(Xe, { amount: String(s), bold: !0, formatString: "0,0", variant: "Body" })
|
|
2685
2685
|
] }) }) });
|
|
2686
2686
|
}, Fu = ({
|
|
2687
2687
|
sx: e,
|
|
@@ -2751,7 +2751,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
2751
2751
|
availableHeight: s = 0,
|
|
2752
2752
|
minimumHeight: c = 350
|
|
2753
2753
|
}) => {
|
|
2754
|
-
const l =
|
|
2754
|
+
const l = Ye(), { isMobile: u } = Ce(), [_, { height: h }] = ii(), p = g.useRef(null), [m, f] = g.useState(0);
|
|
2755
2755
|
g.useEffect(() => {
|
|
2756
2756
|
const z = Math.max(s - h, c);
|
|
2757
2757
|
f(z);
|
|
@@ -2761,11 +2761,11 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
2761
2761
|
hoveredAreaData: null,
|
|
2762
2762
|
isAreaHovered: !1,
|
|
2763
2763
|
cursorPos: { x: 0, y: 0 }
|
|
2764
|
-
}), { hoveredSeriesId: v, hoveredAreaData: w, isAreaHovered: N, cursorPos: R } = E, M = N && v && w, k = !M, G = [...o, ...r], L = G[0]?.dataset.length ?? 0, W = G.flatMap((z) => z.dataset.map((Be) => Be.x)), K = G.flatMap((z) => z.dataset.map((Be) => Be.y)),
|
|
2764
|
+
}), { hoveredSeriesId: v, hoveredAreaData: w, isAreaHovered: N, cursorPos: R } = E, M = N && v && w, k = !M, G = [...o, ...r], L = G[0]?.dataset.length ?? 0, W = G.flatMap((z) => z.dataset.map((Be) => Be.x)), K = G.flatMap((z) => z.dataset.map((Be) => Be.y)), oe = o[0]?.dataset?.map(
|
|
2765
2765
|
(z, Be) => o.reduce((ct, En) => ct + En.dataset[Be]?.y || 0, 0)
|
|
2766
|
-
) ?? [0],
|
|
2766
|
+
) ?? [0], ne = Math.max(...oe), fe = Math.max(
|
|
2767
2767
|
...r.flatMap((z) => z.dataset.map((Be) => Be.y))
|
|
2768
|
-
),
|
|
2768
|
+
), Ae = Math.floor(Math.min(...K) / 100) * 100, Me = Math.ceil(Math.max(ne, fe) / 100) * 100, he = o.map((z, Be) => ({
|
|
2769
2769
|
id: `stacked-${Be}`,
|
|
2770
2770
|
guid: z.category_guid,
|
|
2771
2771
|
top_level_guid: z.top_level_category_guid,
|
|
@@ -2787,7 +2787,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
2787
2787
|
label: z.category_name,
|
|
2788
2788
|
type: "line",
|
|
2789
2789
|
valueFormatter: (ct) => H(ct, "0,0")
|
|
2790
|
-
})),
|
|
2790
|
+
})), je = [...he, ...me], V = [
|
|
2791
2791
|
...he.map(({ guid: z, top_level_guid: Be }) => ({
|
|
2792
2792
|
guid: z,
|
|
2793
2793
|
top_level_guid: Be
|
|
@@ -2806,11 +2806,11 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
2806
2806
|
y(z), i?.(z ?? "");
|
|
2807
2807
|
}, ke = (z) => {
|
|
2808
2808
|
a?.(z ?? "");
|
|
2809
|
-
},
|
|
2809
|
+
}, xe = () => {
|
|
2810
2810
|
const z = pe(String(v)).guid;
|
|
2811
2811
|
z && a?.(z);
|
|
2812
2812
|
}, Ve = (z) => {
|
|
2813
|
-
const Be = String(z?.seriesId), ct = pe(Be).guid, En =
|
|
2813
|
+
const Be = String(z?.seriesId), ct = pe(Be).guid, En = je.find((xi) => xi.id === Be), La = En && z?.dataIndex !== void 0, Ma = En && z?.dataIndex === void 0;
|
|
2814
2814
|
if (La)
|
|
2815
2815
|
I({
|
|
2816
2816
|
hoveredSeriesId: Be,
|
|
@@ -2880,9 +2880,9 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
2880
2880
|
{
|
|
2881
2881
|
height: m,
|
|
2882
2882
|
margin: { bottom: 50 },
|
|
2883
|
-
onAreaClick:
|
|
2883
|
+
onAreaClick: xe,
|
|
2884
2884
|
onHighlightChange: Ve,
|
|
2885
|
-
series:
|
|
2885
|
+
series: je,
|
|
2886
2886
|
skipAnimation: !0,
|
|
2887
2887
|
slotProps: {
|
|
2888
2888
|
legend: {
|
|
@@ -2914,7 +2914,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
2914
2914
|
],
|
|
2915
2915
|
yAxis: [
|
|
2916
2916
|
{
|
|
2917
|
-
min:
|
|
2917
|
+
min: Ae,
|
|
2918
2918
|
max: Me || 100
|
|
2919
2919
|
}
|
|
2920
2920
|
]
|
|
@@ -3129,7 +3129,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
3129
3129
|
calendarActions: e,
|
|
3130
3130
|
color: n = "primary",
|
|
3131
3131
|
copy: i,
|
|
3132
|
-
range: a = [
|
|
3132
|
+
range: a = [Ze(ve()), Qe(mn())],
|
|
3133
3133
|
shouldShrinkToIcon: o = !0,
|
|
3134
3134
|
variant: r = "outlined"
|
|
3135
3135
|
}) => {
|
|
@@ -3148,22 +3148,22 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
3148
3148
|
]
|
|
3149
3149
|
};
|
|
3150
3150
|
g.useEffect(() => {
|
|
3151
|
-
|
|
3151
|
+
m(a);
|
|
3152
3152
|
}, [a]), g.useEffect(() => {
|
|
3153
3153
|
(r === "timeframebuttons" || r === "timeframetabs") && e.onRangeChanged(N());
|
|
3154
3154
|
}, [I]);
|
|
3155
3155
|
const N = () => {
|
|
3156
|
-
const G =
|
|
3157
|
-
return [
|
|
3156
|
+
const G = Qe(mn());
|
|
3157
|
+
return [Qe(Ht(G, I)), G];
|
|
3158
3158
|
}, R = (G) => {
|
|
3159
|
-
const L = [...l], W = l[0], K = l[1],
|
|
3159
|
+
const L = [...l], W = l[0], K = l[1], oe = G === "previous";
|
|
3160
3160
|
if (_ === i.dateRangePickerCopy.dateRangeThisMonth)
|
|
3161
|
-
L[0] =
|
|
3161
|
+
L[0] = oe ? Ht(W, 1) : rn(W, 1), L[1] = Qe(oe ? Ht(K, 1) : rn(K, 1));
|
|
3162
3162
|
else if (_ === i.dateRangePickerCopy.dateRangeYTD || _ === i.dateRangePickerCopy.dateRangeLastYear)
|
|
3163
|
-
L[0] =
|
|
3163
|
+
L[0] = oe ? Za(ur(W), 1) : Ji(ur(W), 1), L[1] = oe ? Za(_r(W), 1) : Ji(_r(W), 1);
|
|
3164
3164
|
else {
|
|
3165
|
-
const
|
|
3166
|
-
|
|
3165
|
+
const ne = Md(K, W);
|
|
3166
|
+
L[0] = G === "previous" ? Ot(W, ne) : Fn(W, ne), L[1] = G === "previous" ? Ot(K, ne) : Fn(K, ne);
|
|
3167
3167
|
}
|
|
3168
3168
|
u(L), e.onRangeChanged(L);
|
|
3169
3169
|
}, M = () => {
|
|
@@ -3305,7 +3305,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
3305
3305
|
copy: i.dateRangePickerCopy,
|
|
3306
3306
|
dateRange: p,
|
|
3307
3307
|
onRangeChanged: (G, L) => {
|
|
3308
|
-
|
|
3308
|
+
m(G), h(L);
|
|
3309
3309
|
},
|
|
3310
3310
|
selectedShortcut: _,
|
|
3311
3311
|
sx: { p: 16 }
|
|
@@ -3332,7 +3332,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
3332
3332
|
copy: i.dateRangePickerCopy,
|
|
3333
3333
|
dateRange: p,
|
|
3334
3334
|
onRangeChanged: (G, L) => {
|
|
3335
|
-
|
|
3335
|
+
m(G), h(L);
|
|
3336
3336
|
},
|
|
3337
3337
|
selectedShortcut: _,
|
|
3338
3338
|
sx: {
|
|
@@ -3346,7 +3346,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
|
3346
3346
|
}
|
|
3347
3347
|
)
|
|
3348
3348
|
] });
|
|
3349
|
-
},
|
|
3349
|
+
}, sT = ({
|
|
3350
3350
|
hasGap: e = !1,
|
|
3351
3351
|
segments: n,
|
|
3352
3352
|
size: i = gc,
|
|
@@ -3472,7 +3472,7 @@ class Ku extends g.Component {
|
|
|
3472
3472
|
return { hasError: !0 };
|
|
3473
3473
|
}
|
|
3474
3474
|
render() {
|
|
3475
|
-
return this.state.hasError ? /* @__PURE__ */ t(
|
|
3475
|
+
return this.state.hasError ? /* @__PURE__ */ t(qe, { sx: { pt: 24 }, children: Vu.text }) : this.props.children;
|
|
3476
3476
|
}
|
|
3477
3477
|
}
|
|
3478
3478
|
const Ea = ({
|
|
@@ -3501,7 +3501,7 @@ const Ea = ({
|
|
|
3501
3501
|
),
|
|
3502
3502
|
subheader: o && /* @__PURE__ */ t(X, { sx: { color: "text.secondary" }, variant: "body2", children: o }),
|
|
3503
3503
|
sx: { p: 0, pb: 8, width: "calc(100% - 8px)", "& .MuiCardHeader-action": { mt: 0 } },
|
|
3504
|
-
title: /* @__PURE__ */ t(
|
|
3504
|
+
title: /* @__PURE__ */ t(qe, { sx: { width: "calc(100% - 10px)" }, children: s })
|
|
3505
3505
|
}
|
|
3506
3506
|
),
|
|
3507
3507
|
/* @__PURE__ */ t(Pt, { ref: l, sx: { p: 0, ":last-child": { pb: 0 } }, children: /* @__PURE__ */ t(vo, { availableHeight: u, availableWidth: _, children: e }) })
|
|
@@ -3527,7 +3527,7 @@ const Ea = ({
|
|
|
3527
3527
|
subheader: s || null,
|
|
3528
3528
|
subheaderTypographyProps: { variant: "Small" },
|
|
3529
3529
|
sx: { pb: 4 },
|
|
3530
|
-
title: l ? /* @__PURE__ */ t(
|
|
3530
|
+
title: l ? /* @__PURE__ */ t(qe, { sx: { pb: 4 }, children: l }) : null
|
|
3531
3531
|
}
|
|
3532
3532
|
),
|
|
3533
3533
|
/* @__PURE__ */ t(Pt, { ref: u, sx: { p: 0 }, children: /* @__PURE__ */ t(vo, { availableHeight: _, availableWidth: h, children: i }) })
|
|
@@ -3558,7 +3558,7 @@ const Ea = ({
|
|
|
3558
3558
|
};
|
|
3559
3559
|
if (!M)
|
|
3560
3560
|
return /* @__PURE__ */ t(de, {});
|
|
3561
|
-
const
|
|
3561
|
+
const oe = {
|
|
3562
3562
|
accountFilterOptionsCopy: {
|
|
3563
3563
|
accountTypeAccounts: L.account_filter.account_type_accounts,
|
|
3564
3564
|
cancelButton: L.cancel_button,
|
|
@@ -3572,7 +3572,7 @@ const Ea = ({
|
|
|
3572
3572
|
zeroStateTitle: L.account_filter.zero_state_title
|
|
3573
3573
|
},
|
|
3574
3574
|
title: L.account_filter.title
|
|
3575
|
-
},
|
|
3575
|
+
}, ne = {
|
|
3576
3576
|
dateRangePickerCopy: {
|
|
3577
3577
|
dateRangeFrom: L.date_range_picker.from,
|
|
3578
3578
|
dateRangeTo: L.date_range_picker.to,
|
|
@@ -3590,7 +3590,7 @@ const Ea = ({
|
|
|
3590
3590
|
dateRangeEditTitle: L.date_range_picker.edit_title,
|
|
3591
3591
|
dateRangeNextAria: L.date_range_picker.next_aria,
|
|
3592
3592
|
dateRangePreviousAria: L.date_range_picker.previous_aria
|
|
3593
|
-
}, fe = o ? o.start : R.start,
|
|
3593
|
+
}, fe = o ? o.start : R.start, Ae = o ? o.end : R.end, Me = n?.length > 1;
|
|
3594
3594
|
return /* @__PURE__ */ d(
|
|
3595
3595
|
bt,
|
|
3596
3596
|
{
|
|
@@ -3611,8 +3611,8 @@ const Ea = ({
|
|
|
3611
3611
|
wr,
|
|
3612
3612
|
{
|
|
3613
3613
|
calendarActions: i,
|
|
3614
|
-
copy:
|
|
3615
|
-
range: [fe,
|
|
3614
|
+
copy: ne,
|
|
3615
|
+
range: [fe, Ae],
|
|
3616
3616
|
shouldShrinkToIcon: !1,
|
|
3617
3617
|
variant: r
|
|
3618
3618
|
}
|
|
@@ -3621,7 +3621,7 @@ const Ea = ({
|
|
|
3621
3621
|
Tc,
|
|
3622
3622
|
{
|
|
3623
3623
|
accounts: e,
|
|
3624
|
-
copy:
|
|
3624
|
+
copy: oe,
|
|
3625
3625
|
onConnectAccountClick: () => f(!0),
|
|
3626
3626
|
onFilterClick: (he) => {
|
|
3627
3627
|
G(he), u?.();
|
|
@@ -3633,26 +3633,26 @@ const Ea = ({
|
|
|
3633
3633
|
),
|
|
3634
3634
|
n?.map((he) => {
|
|
3635
3635
|
if (g.isValidElement(he)) return he;
|
|
3636
|
-
const { iconName: me, onClick:
|
|
3636
|
+
const { iconName: me, onClick: je, label: V } = he;
|
|
3637
3637
|
return Me ? v || N ? /* @__PURE__ */ t(
|
|
3638
3638
|
te,
|
|
3639
3639
|
{
|
|
3640
|
-
onClick:
|
|
3640
|
+
onClick: je,
|
|
3641
3641
|
startIcon: /* @__PURE__ */ t(U, { name: me, size: 24 }),
|
|
3642
3642
|
sx: { my: 4 },
|
|
3643
3643
|
children: V
|
|
3644
3644
|
},
|
|
3645
3645
|
me
|
|
3646
|
-
) : /* @__PURE__ */ t(We, { "aria-label": V, color: "primary", onClick:
|
|
3646
|
+
) : /* @__PURE__ */ t(We, { "aria-label": V, color: "primary", onClick: je, children: /* @__PURE__ */ t(U, { name: me, size: 24 }) }, me) : v || N ? /* @__PURE__ */ t(
|
|
3647
3647
|
te,
|
|
3648
3648
|
{
|
|
3649
|
-
onClick:
|
|
3649
|
+
onClick: je,
|
|
3650
3650
|
startIcon: /* @__PURE__ */ t(U, { name: me, size: 24 }),
|
|
3651
3651
|
sx: { my: 4 },
|
|
3652
3652
|
children: V
|
|
3653
3653
|
},
|
|
3654
3654
|
me
|
|
3655
|
-
) : /* @__PURE__ */ t(We, { "aria-label": V, color: "primary", onClick:
|
|
3655
|
+
) : /* @__PURE__ */ t(We, { "aria-label": V, color: "primary", onClick: je, children: /* @__PURE__ */ t(U, { name: me, size: 24 }) }, me);
|
|
3656
3656
|
})
|
|
3657
3657
|
] }),
|
|
3658
3658
|
sx: {
|
|
@@ -3678,7 +3678,7 @@ const Ea = ({
|
|
|
3678
3678
|
children: /* @__PURE__ */ t(U, { name: "arrow_back", size: 24 })
|
|
3679
3679
|
}
|
|
3680
3680
|
),
|
|
3681
|
-
/* @__PURE__ */ t(
|
|
3681
|
+
/* @__PURE__ */ t(qe, { children: p })
|
|
3682
3682
|
] })
|
|
3683
3683
|
}
|
|
3684
3684
|
),
|
|
@@ -3689,8 +3689,8 @@ const Ea = ({
|
|
|
3689
3689
|
wr,
|
|
3690
3690
|
{
|
|
3691
3691
|
calendarActions: i,
|
|
3692
|
-
copy:
|
|
3693
|
-
range: [fe,
|
|
3692
|
+
copy: ne,
|
|
3693
|
+
range: [fe, Ae],
|
|
3694
3694
|
shouldShrinkToIcon: !1,
|
|
3695
3695
|
variant: r
|
|
3696
3696
|
}
|
|
@@ -3850,7 +3850,7 @@ const Dr = "connect_widget", Nr = "connections_widget", ju = ({
|
|
|
3850
3850
|
"& .MuiInputBase-adornedStart > .p": {
|
|
3851
3851
|
marginRight: e.Spacing.Tiny
|
|
3852
3852
|
}
|
|
3853
|
-
}),
|
|
3853
|
+
}), cT = ({
|
|
3854
3854
|
icon: e,
|
|
3855
3855
|
label: n,
|
|
3856
3856
|
onClick: i,
|
|
@@ -4532,7 +4532,7 @@ class oh {
|
|
|
4532
4532
|
api = new Or("/", "");
|
|
4533
4533
|
globalStore;
|
|
4534
4534
|
alert = "";
|
|
4535
|
-
dateRange = { start:
|
|
4535
|
+
dateRange = { start: Ze(ve()), end: Qe(ve()) };
|
|
4536
4536
|
budgets = [];
|
|
4537
4537
|
selectedBudget;
|
|
4538
4538
|
selectedSubBudget;
|
|
@@ -4676,7 +4676,7 @@ const Ei = () => {
|
|
|
4676
4676
|
}
|
|
4677
4677
|
),
|
|
4678
4678
|
/* @__PURE__ */ t(C, { bold: !0, sx: { flexGrow: 1, fontSize: 12 }, children: n.remaining_cash }),
|
|
4679
|
-
/* @__PURE__ */ t(
|
|
4679
|
+
/* @__PURE__ */ t(Xe, { amount: e, bold: !0, sx: { fontSize: 12 } })
|
|
4680
4680
|
] });
|
|
4681
4681
|
}, Mo = x(rh), sh = ({ onAddIncomeClick: e }) => {
|
|
4682
4682
|
const n = Ee(), { availableWidth: i } = $n(), { isMobile: a } = Ce(), { visibleCashAccounts: o, visibleCashBalance: r } = be(), { selectedAccountGuids: s } = ce(), { cashflow: c } = A(), { userProfile: l } = ft(), {
|
|
@@ -4714,7 +4714,7 @@ const Ei = () => {
|
|
|
4714
4714
|
px: 24,
|
|
4715
4715
|
children: [
|
|
4716
4716
|
/* @__PURE__ */ d(b, { pb: 14, pt: 12, children: [
|
|
4717
|
-
/* @__PURE__ */ t(
|
|
4717
|
+
/* @__PURE__ */ t(Xe, { amount: I, variant: "H2" }),
|
|
4718
4718
|
/* @__PURE__ */ t(X, { variant: "XSmall", whiteSpace: "nowrap", children: T(
|
|
4719
4719
|
c.total_cash_accounts,
|
|
4720
4720
|
h.length
|
|
@@ -4722,12 +4722,12 @@ const Ei = () => {
|
|
|
4722
4722
|
] }),
|
|
4723
4723
|
/* @__PURE__ */ t(b, { pt: 18, children: /* @__PURE__ */ t(U, { name: "remove" }) }),
|
|
4724
4724
|
/* @__PURE__ */ d(b, { pb: 14, pt: 12, children: [
|
|
4725
|
-
/* @__PURE__ */ t(
|
|
4725
|
+
/* @__PURE__ */ t(Xe, { amount: v, variant: "H2" }),
|
|
4726
4726
|
/* @__PURE__ */ t(X, { variant: "XSmall", whiteSpace: "nowrap", children: T(c.expenses_due, _.length) })
|
|
4727
4727
|
] }),
|
|
4728
4728
|
/* @__PURE__ */ t(b, { pt: 18, children: /* @__PURE__ */ t(U, { name: "equal" }) }),
|
|
4729
4729
|
/* @__PURE__ */ d(b, { pb: 14, pr: 24, pt: 12, children: [
|
|
4730
|
-
/* @__PURE__ */ t(
|
|
4730
|
+
/* @__PURE__ */ t(Xe, { amount: w, variant: "H2" }),
|
|
4731
4731
|
/* @__PURE__ */ d(b, { alignItems: "center", direction: "row", gap: 8, children: [
|
|
4732
4732
|
/* @__PURE__ */ t(X, { variant: "XSmall", whiteSpace: "nowrap", children: c.available_to_spend }),
|
|
4733
4733
|
/* @__PURE__ */ t(Oo, { body: c.tooltip_body, title: c.tooltip_title })
|
|
@@ -4753,12 +4753,12 @@ const Ei = () => {
|
|
|
4753
4753
|
c.total_cash_accounts,
|
|
4754
4754
|
h.length
|
|
4755
4755
|
) }),
|
|
4756
|
-
/* @__PURE__ */ t(
|
|
4756
|
+
/* @__PURE__ */ t(Xe, { amount: r, bold: !0, variant: "XSmall" })
|
|
4757
4757
|
] }),
|
|
4758
4758
|
/* @__PURE__ */ t(P, {}),
|
|
4759
4759
|
/* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", p: 16, children: [
|
|
4760
4760
|
/* @__PURE__ */ t(C, { variant: "Small", children: T(c.expenses_due, _.length) }),
|
|
4761
|
-
/* @__PURE__ */ t(
|
|
4761
|
+
/* @__PURE__ */ t(Xe, { amount: v, bold: !0, symbol: "-", variant: "XSmall" })
|
|
4762
4762
|
] }),
|
|
4763
4763
|
/* @__PURE__ */ t(P, {}),
|
|
4764
4764
|
/* @__PURE__ */ t(
|
|
@@ -4819,7 +4819,7 @@ const Ei = () => {
|
|
|
4819
4819
|
children: /* @__PURE__ */ t(ch, { onAddIncomeClick: e })
|
|
4820
4820
|
}
|
|
4821
4821
|
) : /* @__PURE__ */ t(de, {});
|
|
4822
|
-
},
|
|
4822
|
+
}, lT = x(lh), dh = (e) => {
|
|
4823
4823
|
if (!e) return "";
|
|
4824
4824
|
let n = e.user_name || e.feed_name || "";
|
|
4825
4825
|
return e.account_number && (n = `${n} *${e.account_number}`), n;
|
|
@@ -4875,7 +4875,7 @@ const Ei = () => {
|
|
|
4875
4875
|
const u = e.transactions.find(
|
|
4876
4876
|
(_) => _.repeating_transaction_guid === e.guid && _.date > Fe(Ot(l.expectedDate, 5)) && _.date < Fe(Fn(l.expectedDate, 5))
|
|
4877
4877
|
);
|
|
4878
|
-
u ? (l.transaction = u, l.status = et.Paid, l.occurredOnDate = Ue(u.date)) : ot(l.expectedDate, Ot(
|
|
4878
|
+
u ? (l.transaction = u, l.status = et.Paid, l.occurredOnDate = Ue(u.date)) : ot(l.expectedDate, Ot(ve(), 3)) && (l.status = et.Missed);
|
|
4879
4879
|
}
|
|
4880
4880
|
return i;
|
|
4881
4881
|
}, uh = (e, n, i) => {
|
|
@@ -4956,7 +4956,7 @@ const Ei = () => {
|
|
|
4956
4956
|
recurrences: [i]
|
|
4957
4957
|
}), n;
|
|
4958
4958
|
}, []), sa = (e, n, i) => {
|
|
4959
|
-
const a = ea(
|
|
4959
|
+
const a = ea(ve(), n.recurrence_day), o = ic(ve(), n.recurrence_day), r = ki(n.recurrence_day), s = n.second_recurrence_day ? ki(n.second_recurrence_day) : "";
|
|
4960
4960
|
let c = i ? T(e.monthly_ordinal, r) : e.monthly;
|
|
4961
4961
|
switch (n.recurrence_type) {
|
|
4962
4962
|
case Se.EveryQuarter:
|
|
@@ -5503,7 +5503,7 @@ const Dc = (e, n) => {
|
|
|
5503
5503
|
}, kh = (e, n, i) => {
|
|
5504
5504
|
const {
|
|
5505
5505
|
accounts: a = [],
|
|
5506
|
-
dateRange: o = { start:
|
|
5506
|
+
dateRange: o = { start: Ze(ve()), end: mn() },
|
|
5507
5507
|
custom: r = () => !0,
|
|
5508
5508
|
searchTerm: s = "",
|
|
5509
5509
|
showSplits: c = !1
|
|
@@ -5557,8 +5557,8 @@ const Nc = {
|
|
|
5557
5557
|
tags: []
|
|
5558
5558
|
};
|
|
5559
5559
|
let Wh = class {
|
|
5560
|
-
beginDate =
|
|
5561
|
-
endDate =
|
|
5560
|
+
beginDate = Ze(/* @__PURE__ */ new Date());
|
|
5561
|
+
endDate = Qe(/* @__PURE__ */ new Date());
|
|
5562
5562
|
expandedSplits = [];
|
|
5563
5563
|
isInitialized = !1;
|
|
5564
5564
|
height = 550;
|
|
@@ -5603,7 +5603,7 @@ class $h {
|
|
|
5603
5603
|
api = new ca("/", "");
|
|
5604
5604
|
beatApi = new li("/", "");
|
|
5605
5605
|
associatedBeats = [];
|
|
5606
|
-
cachedStartDate = Ot(
|
|
5606
|
+
cachedStartDate = Ot(ve(), 90);
|
|
5607
5607
|
filter = {};
|
|
5608
5608
|
isLoading = !0;
|
|
5609
5609
|
rawTransactions = [];
|
|
@@ -5622,7 +5622,7 @@ class $h {
|
|
|
5622
5622
|
transactions: a
|
|
5623
5623
|
} = {}) => {
|
|
5624
5624
|
await Promise.all([
|
|
5625
|
-
this.loadAssociatedBeats(
|
|
5625
|
+
this.loadAssociatedBeats(Ze(/* @__PURE__ */ new Date()), n),
|
|
5626
5626
|
this.loadTags(),
|
|
5627
5627
|
this.loadTaggings(),
|
|
5628
5628
|
this.loadTransactionRules(i),
|
|
@@ -5995,7 +5995,7 @@ const zh = ({ transaction: e, onClick: n }) => {
|
|
|
5995
5995
|
}
|
|
5996
5996
|
);
|
|
5997
5997
|
}, eg = x(Jh), tg = (e) => /* @__PURE__ */ t(C, { tabIndex: e.tabIndex, variant: "Small", children: ue(Ue(e.row.date), re.MONTH_DAY) }), ng = (e) => {
|
|
5998
|
-
const n =
|
|
5998
|
+
const n = Ye(), { transactions: i } = A(), { is_flagged: a, is_hidden: o, has_been_viewed: r, parent_guid: s } = e.row, l = !r && !!!s;
|
|
5999
5999
|
return /* @__PURE__ */ d(
|
|
6000
6000
|
O,
|
|
6001
6001
|
{
|
|
@@ -6540,9 +6540,9 @@ const sg = ({
|
|
|
6540
6540
|
)
|
|
6541
6541
|
);
|
|
6542
6542
|
}, $r = (e) => {
|
|
6543
|
-
const n = [], i =
|
|
6543
|
+
const n = [], i = ve();
|
|
6544
6544
|
for (let a = 0; a <= Fr; a++) {
|
|
6545
|
-
const o =
|
|
6545
|
+
const o = Ze(Ht(i, Fr - a)), s = e.filter(
|
|
6546
6546
|
(c) => c.year_month === Number(pn(o, "yyyyMM"))
|
|
6547
6547
|
).reduce((c, l) => c + l.total, 0);
|
|
6548
6548
|
n.push({
|
|
@@ -6650,7 +6650,7 @@ class wg {
|
|
|
6650
6650
|
}
|
|
6651
6651
|
};
|
|
6652
6652
|
loadMonthlyCategoryTotals = async (n = this.globalStore.globalUiStore.selectedAccounts, i, a) => {
|
|
6653
|
-
const o = Fe(
|
|
6653
|
+
const o = Fe(Ze(i ?? Ht(/* @__PURE__ */ new Date(), 11))), r = Fe(Qe(a ?? /* @__PURE__ */ new Date()));
|
|
6654
6654
|
try {
|
|
6655
6655
|
const s = await this.api.getMonthlyCategoryTotals(o, r, n);
|
|
6656
6656
|
ee(() => {
|
|
@@ -6668,8 +6668,8 @@ class wg {
|
|
|
6668
6668
|
Fe(a),
|
|
6669
6669
|
n
|
|
6670
6670
|
), r = await this.api.getMonthlyCategoryTotals(
|
|
6671
|
-
Fe(
|
|
6672
|
-
Fe(
|
|
6671
|
+
Fe(Ze(Ht(a, 11))),
|
|
6672
|
+
Fe(Qe(a)),
|
|
6673
6673
|
n
|
|
6674
6674
|
);
|
|
6675
6675
|
ee(() => {
|
|
@@ -7264,11 +7264,11 @@ const Lc = ({ transaction: e }) => {
|
|
|
7264
7264
|
}, I = (G, L) => {
|
|
7265
7265
|
const W = [...f];
|
|
7266
7266
|
W[G].amount = L, W[0].amount = e.amount - W.reduce(
|
|
7267
|
-
(K,
|
|
7267
|
+
(K, oe, ne) => K + (ne !== 0 ? oe.amount : 0),
|
|
7268
7268
|
0
|
|
7269
7269
|
), S(W);
|
|
7270
7270
|
}, v = (G, L) => {
|
|
7271
|
-
const W = [...f], K = c.find((
|
|
7271
|
+
const W = [...f], K = c.find((oe) => oe.guid === L);
|
|
7272
7272
|
K && (W[G] = {
|
|
7273
7273
|
...W[G],
|
|
7274
7274
|
category_guid: L,
|
|
@@ -7932,13 +7932,13 @@ const Lc = ({ transaction: e }) => {
|
|
|
7932
7932
|
} = Le(), {
|
|
7933
7933
|
manualTransaction: W,
|
|
7934
7934
|
isAmountValid: K,
|
|
7935
|
-
searchValue:
|
|
7936
|
-
setSearchValue:
|
|
7935
|
+
searchValue: oe,
|
|
7936
|
+
setSearchValue: ne,
|
|
7937
7937
|
setShowInsights: fe,
|
|
7938
|
-
updateManualTransaction:
|
|
7939
|
-
} = vt(), { userProfile: Me } = ft(), [he, me] = g.useState(""), [
|
|
7938
|
+
updateManualTransaction: Ae
|
|
7939
|
+
} = vt(), { userProfile: Me } = ft(), [he, me] = g.useState(""), [je, V] = g.useState(""), [pe, J] = g.useState(!1), [ke, xe] = g.useState(!1), [Ve, St] = g.useState(!1);
|
|
7940
7940
|
g.useEffect(() => {
|
|
7941
|
-
const ht = o.filter((ai) => !ai.is_hidden), or =
|
|
7941
|
+
const ht = o.filter((ai) => !ai.is_hidden), or = Ze(ve()), rr = Qe(ve());
|
|
7942
7942
|
y(ht), S(or, rr), R({
|
|
7943
7943
|
accounts: ht.map((ai) => ai.guid),
|
|
7944
7944
|
custom: (ai) => !ai.accountIsClosed && !ai.accountIsHidden,
|
|
@@ -7956,19 +7956,19 @@ const Lc = ({ transaction: e }) => {
|
|
|
7956
7956
|
const Wt = g.useMemo(
|
|
7957
7957
|
() => o.filter((ht) => ht.is_manual),
|
|
7958
7958
|
[o]
|
|
7959
|
-
), z =
|
|
7959
|
+
), z = je ? G.find((ht) => ht.guid === je) : void 0, Be = K && !!W.payee && !!W.account_guid && !!W.category_guid, ct = (ht) => {
|
|
7960
7960
|
S(ht[0], ht[1]);
|
|
7961
7961
|
}, En = (ht) => {
|
|
7962
|
-
|
|
7962
|
+
ne(ht), R({
|
|
7963
7963
|
...w,
|
|
7964
7964
|
searchTerm: ht
|
|
7965
7965
|
}), l(F.TRANSACTIONS_CLICK_SEARCH, { search_term: ht });
|
|
7966
7966
|
}, La = () => {
|
|
7967
7967
|
Dc(M, k), l(F.TRANSACTIONS_CLICK_EXPORT);
|
|
7968
7968
|
}, Ma = () => {
|
|
7969
|
-
Wt.length > 0 ? (
|
|
7969
|
+
Wt.length > 0 ? (Ae({
|
|
7970
7970
|
...Nc,
|
|
7971
|
-
date: Fe(
|
|
7971
|
+
date: Fe(ve()),
|
|
7972
7972
|
user_guid: Me?.user_guid || ""
|
|
7973
7973
|
}), me(
|
|
7974
7974
|
"addTransaction"
|
|
@@ -7977,9 +7977,9 @@ const Lc = ({ transaction: e }) => {
|
|
|
7977
7977
|
}, xi = async () => {
|
|
7978
7978
|
Be && await v(W), me("");
|
|
7979
7979
|
}, ka = () => {
|
|
7980
|
-
J(!1),
|
|
7980
|
+
J(!1), xe(!0);
|
|
7981
7981
|
}, Ga = async () => {
|
|
7982
|
-
|
|
7982
|
+
xe(!1), await r();
|
|
7983
7983
|
}, Wl = async () => {
|
|
7984
7984
|
z && !z.has_been_viewed && await L({ ...z, has_been_viewed: !0 }), me("");
|
|
7985
7985
|
};
|
|
@@ -8012,7 +8012,7 @@ const Lc = ({ transaction: e }) => {
|
|
|
8012
8012
|
{
|
|
8013
8013
|
onChange: En,
|
|
8014
8014
|
placeholder: _.action_bar_search_placeholder,
|
|
8015
|
-
searchValue:
|
|
8015
|
+
searchValue: oe
|
|
8016
8016
|
}
|
|
8017
8017
|
) }),
|
|
8018
8018
|
/* @__PURE__ */ t(
|
|
@@ -8118,7 +8118,7 @@ const Lc = ({ transaction: e }) => {
|
|
|
8118
8118
|
]
|
|
8119
8119
|
}
|
|
8120
8120
|
);
|
|
8121
|
-
},
|
|
8121
|
+
}, uT = x(cm), Hc = ({
|
|
8122
8122
|
frequency: e,
|
|
8123
8123
|
firstDay: n,
|
|
8124
8124
|
secondDay: i,
|
|
@@ -8151,7 +8151,7 @@ const Lc = ({ transaction: e }) => {
|
|
|
8151
8151
|
label: ki(y + 1)
|
|
8152
8152
|
}));
|
|
8153
8153
|
u[30].label += ` (${s.last_day_of_month})`;
|
|
8154
|
-
const _ = u.slice(0, 15), h = u.slice(14), p = e === Se.EveryWeek || e === Se.EveryOtherWeek, m = e === Se.TwiceAMonth || e === Se.EveryMonth || e === Se.EveryOtherMonth || e === Se.EveryQuarter || e === Se.EveryOtherQuarter, f = ic(
|
|
8154
|
+
const _ = u.slice(0, 15), h = u.slice(14), p = e === Se.EveryWeek || e === Se.EveryOtherWeek, m = e === Se.TwiceAMonth || e === Se.EveryMonth || e === Se.EveryOtherMonth || e === Se.EveryQuarter || e === Se.EveryOtherQuarter, f = ic(ve(), n), S = (y) => {
|
|
8155
8155
|
y && o(r_(y));
|
|
8156
8156
|
};
|
|
8157
8157
|
return /* @__PURE__ */ d(b, { gap: 24, sx: { m: 24 }, children: [
|
|
@@ -8250,7 +8250,7 @@ const Lc = ({ transaction: e }) => {
|
|
|
8250
8250
|
g.useEffect(() => {
|
|
8251
8251
|
s({
|
|
8252
8252
|
accounts: a,
|
|
8253
|
-
dateRange: { start: Ot(
|
|
8253
|
+
dateRange: { start: Ot(ve(), 90), end: Qe(ve()) },
|
|
8254
8254
|
custom: (v) => v.repeating_transaction_guid === n.guid
|
|
8255
8255
|
});
|
|
8256
8256
|
}, [n]);
|
|
@@ -8739,13 +8739,13 @@ const Lc = ({ transaction: e }) => {
|
|
|
8739
8739
|
fr(/* @__PURE__ */ new Date()) * Ii + Vr
|
|
8740
8740
|
), s = (l) => {
|
|
8741
8741
|
r(fr(l) * Ii + Vr), a({
|
|
8742
|
-
start:
|
|
8743
|
-
end:
|
|
8742
|
+
start: Ze(l),
|
|
8743
|
+
end: Qe(l)
|
|
8744
8744
|
}), n(F.RECURRING_TRANSACTIONS_CLICK_CALENDAR_RIGHT);
|
|
8745
8745
|
}, c = /* @__PURE__ */ t(
|
|
8746
8746
|
bo,
|
|
8747
8747
|
{
|
|
8748
|
-
minDate:
|
|
8748
|
+
minDate: Ze(/* @__PURE__ */ new Date()),
|
|
8749
8749
|
onMonthChange: s,
|
|
8750
8750
|
showDaysOutsideCurrentMonth: !0,
|
|
8751
8751
|
slots: {
|
|
@@ -9033,20 +9033,20 @@ const Lc = ({ transaction: e }) => {
|
|
|
9033
9033
|
}, G = () => {
|
|
9034
9034
|
const W = rn(s.start, 1);
|
|
9035
9035
|
S({
|
|
9036
|
-
start:
|
|
9037
|
-
end:
|
|
9036
|
+
start: Ze(W),
|
|
9037
|
+
end: Qe(W)
|
|
9038
9038
|
});
|
|
9039
9039
|
}, L = () => {
|
|
9040
9040
|
const W = Ht(s.start, 1);
|
|
9041
9041
|
S({
|
|
9042
|
-
start:
|
|
9043
|
-
end:
|
|
9042
|
+
start: Ze(W),
|
|
9043
|
+
end: Qe(W)
|
|
9044
9044
|
});
|
|
9045
9045
|
};
|
|
9046
9046
|
return /* @__PURE__ */ d(Dn, { container: !0, sx: { pt: 16, px: 24, spacing: 24 }, children: [
|
|
9047
9047
|
/* @__PURE__ */ t(Dn, { md: !0, sm: 12, width: "100%", children: /* @__PURE__ */ d(b, { sx: { gap: 16 }, children: [
|
|
9048
9048
|
/* @__PURE__ */ d(b, { alignItems: "center", direction: "row", justifyContent: "space-between", children: [
|
|
9049
|
-
/* @__PURE__ */ t(
|
|
9049
|
+
/* @__PURE__ */ t(qe, { sx: { px: 24 }, children: T(
|
|
9050
9050
|
e.header_title,
|
|
9051
9051
|
ue(s.start, re.MONTH_LONG)
|
|
9052
9052
|
) }),
|
|
@@ -9139,15 +9139,15 @@ const Lc = ({ transaction: e }) => {
|
|
|
9139
9139
|
)
|
|
9140
9140
|
] }) })
|
|
9141
9141
|
] });
|
|
9142
|
-
}),
|
|
9142
|
+
}), hT = x(({ onBackClick: e, sx: n = {} }) => {
|
|
9143
9143
|
const { accounts: i } = be(), { recurring: a } = A(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = ce(), { isDataLoaded: l, loadRepeatingTransactions: u, setDateRange: _ } = rt(), { setFilter: h } = Le(), { onEvent: p } = q(), [m, f] = g.useState(!1);
|
|
9144
9144
|
return g.useEffect(() => {
|
|
9145
9145
|
c(i);
|
|
9146
9146
|
}, [i]), g.useEffect(() => {
|
|
9147
9147
|
r && (h({
|
|
9148
|
-
dateRange: { start: Ot(
|
|
9148
|
+
dateRange: { start: Ot(ve(), 90), end: mn() },
|
|
9149
9149
|
accounts: s
|
|
9150
|
-
}), _({ start:
|
|
9150
|
+
}), _({ start: Ze(/* @__PURE__ */ new Date()), end: Qe(/* @__PURE__ */ new Date()) }), u().finally());
|
|
9151
9151
|
}, [r]), o ? /* @__PURE__ */ d(
|
|
9152
9152
|
Ct,
|
|
9153
9153
|
{
|
|
@@ -9204,14 +9204,14 @@ const Lc = ({ transaction: e }) => {
|
|
|
9204
9204
|
}
|
|
9205
9205
|
)
|
|
9206
9206
|
] });
|
|
9207
|
-
}),
|
|
9207
|
+
}), gT = x(
|
|
9208
9208
|
({ onPrimaryCtaClick: e, sx: n }) => {
|
|
9209
9209
|
const { accounts: i } = be(), { recurring: a } = A(), { setFilter: o } = Le(), { isDataLoaded: r, loadRepeatingTransactions: s } = rt(), { isCopyLoaded: c, isInitialized: l, setSelectedAccounts: u, selectedAccountGuids: _ } = ce();
|
|
9210
9210
|
return g.useEffect(() => {
|
|
9211
9211
|
l && u(i);
|
|
9212
9212
|
}, [l]), g.useEffect(() => {
|
|
9213
9213
|
_.length > 0 && (o({
|
|
9214
|
-
dateRange: { start: Ot(
|
|
9214
|
+
dateRange: { start: Ot(ve(), 90), end: mn() },
|
|
9215
9215
|
accounts: _
|
|
9216
9216
|
}), s().finally());
|
|
9217
9217
|
}, [_]), !c || !l ? /* @__PURE__ */ t(de, {}) : /* @__PURE__ */ t(
|
|
@@ -9305,7 +9305,7 @@ const Lc = ({ transaction: e }) => {
|
|
|
9305
9305
|
/* @__PURE__ */ t(X, { color: "text.secondary", variant: "subtitle2", children: e.zero_state_content_description })
|
|
9306
9306
|
] })
|
|
9307
9307
|
] });
|
|
9308
|
-
}),
|
|
9308
|
+
}), mT = x(
|
|
9309
9309
|
({ onCTAClick: e }) => {
|
|
9310
9310
|
const [n, i] = g.useState(!1), { onEvent: a } = q(), o = Ee(), { accounts: r } = be(), [s, { width: c }] = ii(), { isCopyLoaded: l, isInitialized: u, selectedAccountGuids: _, setSelectedAccounts: h } = ce(), {
|
|
9311
9311
|
loadRepeatingTransactions: p,
|
|
@@ -9322,9 +9322,9 @@ const Lc = ({ transaction: e }) => {
|
|
|
9322
9322
|
h(r);
|
|
9323
9323
|
}, [r]), g.useEffect(() => {
|
|
9324
9324
|
u && (N({
|
|
9325
|
-
dateRange: { start: Ot(
|
|
9325
|
+
dateRange: { start: Ot(ve(), 90), end: mn() },
|
|
9326
9326
|
accounts: _
|
|
9327
|
-
}), I({ start:
|
|
9327
|
+
}), I({ start: Ze(/* @__PURE__ */ new Date()), end: Qe(/* @__PURE__ */ new Date()) }), p().finally(), i(!0));
|
|
9328
9328
|
}, [u]), g.useEffect(() => {
|
|
9329
9329
|
n && a(F.RECURRING_TRANSACTIONS_LOAD_WIDGET, {
|
|
9330
9330
|
state: m.length > 0 ? "default" : "zeroState"
|
|
@@ -9350,14 +9350,14 @@ const Lc = ({ transaction: e }) => {
|
|
|
9350
9350
|
), e();
|
|
9351
9351
|
};
|
|
9352
9352
|
if (!l || !n || !w) return /* @__PURE__ */ t(de, { height: 100 });
|
|
9353
|
-
const
|
|
9353
|
+
const oe = 32, ne = m.length > 0, fe = () => ne ? k ? /* @__PURE__ */ t(
|
|
9354
9354
|
bm,
|
|
9355
9355
|
{
|
|
9356
|
-
logoSize:
|
|
9356
|
+
logoSize: oe,
|
|
9357
9357
|
maxLogos: 3,
|
|
9358
9358
|
upcomingRecurrences: m.slice(0, 3)
|
|
9359
9359
|
}
|
|
9360
|
-
) : /* @__PURE__ */ t(Cm, { maxLogos: 3, upcomingRecurrences: m.slice(0, 3) }) : /* @__PURE__ */ t(b, { sx: { width: k ? 64 : 104 } }),
|
|
9360
|
+
) : /* @__PURE__ */ t(Cm, { maxLogos: 3, upcomingRecurrences: m.slice(0, 3) }) : /* @__PURE__ */ t(b, { sx: { width: k ? 64 : 104 } }), Ae = [
|
|
9361
9361
|
{
|
|
9362
9362
|
amount: y,
|
|
9363
9363
|
bgColor: "success.main",
|
|
@@ -9440,7 +9440,7 @@ const Lc = ({ transaction: e }) => {
|
|
|
9440
9440
|
gap: 16,
|
|
9441
9441
|
mt: 4
|
|
9442
9442
|
},
|
|
9443
|
-
children:
|
|
9443
|
+
children: Ae.map((he, me) => /* @__PURE__ */ t(
|
|
9444
9444
|
ym,
|
|
9445
9445
|
{
|
|
9446
9446
|
amount: he.amount,
|
|
@@ -9479,7 +9479,7 @@ class Em {
|
|
|
9479
9479
|
transactions = [];
|
|
9480
9480
|
repeatingTransactions = [];
|
|
9481
9481
|
selectedDay;
|
|
9482
|
-
dateRange = { start:
|
|
9482
|
+
dateRange = { start: Ze(ve()), end: Qe(ve()) };
|
|
9483
9483
|
isDataLoaded = !1;
|
|
9484
9484
|
constructor(n) {
|
|
9485
9485
|
this.globalStore = n, this.api = new Yr(n.endpoint, n.sessionToken), Pe(this);
|
|
@@ -9505,7 +9505,7 @@ class Em {
|
|
|
9505
9505
|
*/
|
|
9506
9506
|
get upcomingRecurrences() {
|
|
9507
9507
|
return this.recurrences.filter(
|
|
9508
|
-
(n) => sn(n.expectedDate, Ot(
|
|
9508
|
+
(n) => sn(n.expectedDate, Ot(ve(), 3)) && ot(n.expectedDate, this.dateRange.end) && n.status === et.Upcoming
|
|
9509
9509
|
);
|
|
9510
9510
|
}
|
|
9511
9511
|
/**
|
|
@@ -9541,7 +9541,7 @@ class Em {
|
|
|
9541
9541
|
);
|
|
9542
9542
|
}
|
|
9543
9543
|
get nextIncomeRecurrence() {
|
|
9544
|
-
return this.upcomingIncome.find((n) => sn(n.expectedDate,
|
|
9544
|
+
return this.upcomingIncome.find((n) => sn(n.expectedDate, ve()));
|
|
9545
9545
|
}
|
|
9546
9546
|
/**
|
|
9547
9547
|
* Returns the expense recurrences for the current month.
|
|
@@ -9921,7 +9921,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
9921
9921
|
] }),
|
|
9922
9922
|
/* @__PURE__ */ t(C, { sx: { flexGrow: 1, fontSize: 13 }, children: e.name }),
|
|
9923
9923
|
/* @__PURE__ */ t(
|
|
9924
|
-
|
|
9924
|
+
Xe,
|
|
9925
9925
|
{
|
|
9926
9926
|
amount: e.amount,
|
|
9927
9927
|
bold: !0,
|
|
@@ -10089,9 +10089,9 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
10089
10089
|
}
|
|
10090
10090
|
], l = g.useMemo(() => s.map((u) => {
|
|
10091
10091
|
const _ = a.filter(
|
|
10092
|
-
da(u, { start:
|
|
10092
|
+
da(u, { start: ve(), end: Fn(ve(), 30) })
|
|
10093
10093
|
).reduce((m, f) => m + f.amount, 0), h = o.filter(
|
|
10094
|
-
da(u, { start:
|
|
10094
|
+
da(u, { start: ve(), end: Fn(ve(), 30) })
|
|
10095
10095
|
).reduce((m, f) => m + f.amount, 0), p = (u.balance || 0) + h - _;
|
|
10096
10096
|
return {
|
|
10097
10097
|
account: u,
|
|
@@ -10203,7 +10203,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
10203
10203
|
),
|
|
10204
10204
|
/* @__PURE__ */ t(C, { variant: "Small", children: `${f} ${m ? `*${m}` : ""}` })
|
|
10205
10205
|
] }),
|
|
10206
|
-
/* @__PURE__ */ t(
|
|
10206
|
+
/* @__PURE__ */ t(Xe, { amount: u.balance, bold: !0, variant: "Small" })
|
|
10207
10207
|
]
|
|
10208
10208
|
}
|
|
10209
10209
|
),
|
|
@@ -10218,7 +10218,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
10218
10218
|
py: 12,
|
|
10219
10219
|
children: [
|
|
10220
10220
|
/* @__PURE__ */ t(C, { variant: "Small", children: i.projected_income }),
|
|
10221
|
-
/* @__PURE__ */ t(
|
|
10221
|
+
/* @__PURE__ */ t(Xe, { amount: u.income, bold: !0, symbol: "+", variant: "Small" })
|
|
10222
10222
|
]
|
|
10223
10223
|
}
|
|
10224
10224
|
),
|
|
@@ -10233,7 +10233,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
10233
10233
|
py: 12,
|
|
10234
10234
|
children: [
|
|
10235
10235
|
/* @__PURE__ */ t(C, { variant: "Small", children: i.projected_expenses }),
|
|
10236
|
-
/* @__PURE__ */ t(
|
|
10236
|
+
/* @__PURE__ */ t(Xe, { amount: u.expenses, bold: !0, symbol: "-", variant: "Small" })
|
|
10237
10237
|
]
|
|
10238
10238
|
}
|
|
10239
10239
|
),
|
|
@@ -10322,12 +10322,12 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
10322
10322
|
padding: n ? "14px 16px" : 0,
|
|
10323
10323
|
sx: { borderBottomLeftRadius: 4, borderBottomRightRadius: 4 },
|
|
10324
10324
|
children: [
|
|
10325
|
-
!n && /* @__PURE__ */ t(
|
|
10325
|
+
!n && /* @__PURE__ */ t(Xe, { amount: e, component: "h2", variant: "H2" }),
|
|
10326
10326
|
/* @__PURE__ */ d(b, { alignItems: "center", component: "span", direction: "row", gap: 8, mt: 2, children: [
|
|
10327
10327
|
/* @__PURE__ */ t(C, { bold: i, variant: "Small", children: a }),
|
|
10328
10328
|
r
|
|
10329
10329
|
] }),
|
|
10330
|
-
n && /* @__PURE__ */ t(
|
|
10330
|
+
n && /* @__PURE__ */ t(Xe, { amount: e, component: "h2", symbol: o, variant: "Small" })
|
|
10331
10331
|
]
|
|
10332
10332
|
}
|
|
10333
10333
|
), qr = (e, n) => (i) => i.accountGuid && e.includes(i.accountGuid) && (So(i.expectedDate) || sn(i.expectedDate, n.start)) && ot(i.expectedDate, n.end), Fm = () => {
|
|
@@ -10511,28 +10511,28 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
10511
10511
|
transform: rotate(360deg);
|
|
10512
10512
|
}
|
|
10513
10513
|
`, Ym = () => {
|
|
10514
|
-
const { addRepeatingTransaction: e, repeatingTransactions: n } = rt(), { cashflow: i, common: a } = A(), { completeOnboarding: o } = Do(), { isDirty: r } = Ei(), { isMobile: s } = Ce(), { isCopyLoaded: c, setDisplayedDate: l } = ce(), { filter: u, setFilter: _, transactions: h } = Le(), p = Ee(), [m, f] = xt(!0), [S, y] = g.useState(Se.EveryMonth), [E, I] = g.useState(1), [v, w] = g.useState(15), [N, R] = xt(!1), [M, k] = xt(1), [G, L] = xt([]), [W, K] = xt(""),
|
|
10514
|
+
const { addRepeatingTransaction: e, repeatingTransactions: n } = rt(), { cashflow: i, common: a } = A(), { completeOnboarding: o } = Do(), { isDirty: r } = Ei(), { isMobile: s } = Ce(), { isCopyLoaded: c, setDisplayedDate: l } = ce(), { filter: u, setFilter: _, transactions: h } = Le(), p = Ee(), [m, f] = xt(!0), [S, y] = g.useState(Se.EveryMonth), [E, I] = g.useState(1), [v, w] = g.useState(15), [N, R] = xt(!1), [M, k] = xt(1), [G, L] = xt([]), [W, K] = xt(""), oe = g.useMemo(
|
|
10515
10515
|
() => h.find((he) => he.guid === W),
|
|
10516
10516
|
[W, h]
|
|
10517
|
-
),
|
|
10517
|
+
), ne = !!n.filter(
|
|
10518
10518
|
(he) => he.repeating_transaction_type === cn.Income
|
|
10519
10519
|
).length, fe = async () => {
|
|
10520
10520
|
k(2), l(
|
|
10521
10521
|
// Beginning of the month, 90 days before today
|
|
10522
|
-
|
|
10523
|
-
|
|
10522
|
+
Ze(Ot(ve(), 90)),
|
|
10523
|
+
ve()
|
|
10524
10524
|
), _({ ...u, custom: Gi }), k(3);
|
|
10525
|
-
},
|
|
10525
|
+
}, Ae = async () => {
|
|
10526
10526
|
if (!(G.length < 1)) {
|
|
10527
10527
|
R(!0);
|
|
10528
10528
|
for (let he = 0; he < G.length; he++) {
|
|
10529
|
-
const me = G[he],
|
|
10529
|
+
const me = G[he], je = no(S, Ue(me.date)), V = {
|
|
10530
10530
|
account_guid: me.account_guid,
|
|
10531
10531
|
amount: me.amount,
|
|
10532
10532
|
merchant_guid: me.merchant_guid,
|
|
10533
10533
|
description: me.feed_description || me.description,
|
|
10534
|
-
predicted_occurs_on: fa(
|
|
10535
|
-
recurrence_day:
|
|
10534
|
+
predicted_occurs_on: fa(je, { representation: "date" }),
|
|
10535
|
+
recurrence_day: je.getDay(),
|
|
10536
10536
|
recurrence_type: S,
|
|
10537
10537
|
repeating_transaction_type: cn.Income,
|
|
10538
10538
|
transaction_type: me.transaction_type
|
|
@@ -10541,7 +10541,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
10541
10541
|
}
|
|
10542
10542
|
await o();
|
|
10543
10543
|
}
|
|
10544
|
-
}, Me = !
|
|
10544
|
+
}, Me = !oe && m || !oe && G.length < 1;
|
|
10545
10545
|
return c ? /* @__PURE__ */ d(
|
|
10546
10546
|
O,
|
|
10547
10547
|
{
|
|
@@ -10583,7 +10583,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
10583
10583
|
children: [
|
|
10584
10584
|
/* @__PURE__ */ t(Qt, { pb: 12, children: i.add_income_title }),
|
|
10585
10585
|
/* @__PURE__ */ t(X, { mb: 24, children: i.add_income_description }),
|
|
10586
|
-
G.length > 0 && !
|
|
10586
|
+
G.length > 0 && !oe && /* @__PURE__ */ d(Z, { children: [
|
|
10587
10587
|
/* @__PURE__ */ t(ae, { children: G.map((he, me) => /* @__PURE__ */ d(g.Fragment, { children: [
|
|
10588
10588
|
/* @__PURE__ */ t(Aa, { bgcolor: "background.paper", children: ya(
|
|
10589
10589
|
Fe(he.nextDate || he.date)
|
|
@@ -10616,8 +10616,8 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
10616
10616
|
}
|
|
10617
10617
|
}
|
|
10618
10618
|
),
|
|
10619
|
-
!
|
|
10620
|
-
|
|
10619
|
+
!ne && r && /* @__PURE__ */ t(X, { color: "error", mt: 16, children: i.confirm_error }),
|
|
10620
|
+
oe && /* @__PURE__ */ d(Z, { children: [
|
|
10621
10621
|
/* @__PURE__ */ t(
|
|
10622
10622
|
$c,
|
|
10623
10623
|
{
|
|
@@ -10628,19 +10628,19 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
10628
10628
|
onFrequencyChange: y,
|
|
10629
10629
|
onSecondDayChange: w,
|
|
10630
10630
|
secondDay: v,
|
|
10631
|
-
transaction:
|
|
10631
|
+
transaction: oe
|
|
10632
10632
|
}
|
|
10633
10633
|
),
|
|
10634
10634
|
/* @__PURE__ */ d(b, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
|
|
10635
10635
|
/* @__PURE__ */ t(
|
|
10636
10636
|
te,
|
|
10637
10637
|
{
|
|
10638
|
-
"aria-disabled": !
|
|
10638
|
+
"aria-disabled": !oe,
|
|
10639
10639
|
onClick: () => {
|
|
10640
10640
|
const he = [...G];
|
|
10641
10641
|
he.push({
|
|
10642
|
-
...
|
|
10643
|
-
nextDate: no(S, Ue(
|
|
10642
|
+
...oe,
|
|
10643
|
+
nextDate: no(S, Ue(oe.date)),
|
|
10644
10644
|
frequency: S
|
|
10645
10645
|
}), L(he), K("");
|
|
10646
10646
|
},
|
|
@@ -10660,12 +10660,12 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
10660
10660
|
)
|
|
10661
10661
|
] })
|
|
10662
10662
|
] }),
|
|
10663
|
-
G.length > 0 && !
|
|
10663
|
+
G.length > 0 && !oe && /* @__PURE__ */ d(b, { direction: "row", gap: 16, ml: 24, mt: 32, children: [
|
|
10664
10664
|
/* @__PURE__ */ t(
|
|
10665
10665
|
te,
|
|
10666
10666
|
{
|
|
10667
10667
|
"aria-disabled": G.length < 1 || N,
|
|
10668
|
-
onClick:
|
|
10668
|
+
onClick: Ae,
|
|
10669
10669
|
startIcon: N ? /* @__PURE__ */ t(
|
|
10670
10670
|
U,
|
|
10671
10671
|
{
|
|
@@ -10704,7 +10704,7 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
10704
10704
|
(R) => a.includes(R.guid) && w.includes(R.guid)
|
|
10705
10705
|
);
|
|
10706
10706
|
p(N), u({
|
|
10707
|
-
dateRange: { start: Ot(
|
|
10707
|
+
dateRange: { start: Ot(ve(), 90), end: mn() },
|
|
10708
10708
|
accounts: N.map((R) => R.guid)
|
|
10709
10709
|
});
|
|
10710
10710
|
}, [l, i]), !y || !E ? /* @__PURE__ */ t(de, {}) : _?.has_completed_cash_flow_onboarding ? /* @__PURE__ */ d(
|
|
@@ -10758,8 +10758,8 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
|
|
|
10758
10758
|
children: /* @__PURE__ */ t(jm, {})
|
|
10759
10759
|
}
|
|
10760
10760
|
);
|
|
10761
|
-
},
|
|
10762
|
-
class
|
|
10761
|
+
}, pT = x(Xm);
|
|
10762
|
+
class fT {
|
|
10763
10763
|
fetchInstance;
|
|
10764
10764
|
constructor(n, i) {
|
|
10765
10765
|
this.fetchInstance = new dt(n, i);
|
|
@@ -10780,7 +10780,7 @@ class f2 {
|
|
|
10780
10780
|
}
|
|
10781
10781
|
let Zm = class {
|
|
10782
10782
|
// Cashflow is hard-coded to display 30 days starting from today
|
|
10783
|
-
dateRange = { start:
|
|
10783
|
+
dateRange = { start: ve(), end: Fn(ve(), 30) };
|
|
10784
10784
|
isDirty = !1;
|
|
10785
10785
|
nextIncome = void 0;
|
|
10786
10786
|
upcomingExpenses = [];
|
|
@@ -10790,13 +10790,13 @@ let Zm = class {
|
|
|
10790
10790
|
}
|
|
10791
10791
|
// Returns the number of days until the next income activity or 0 if there is no income activity
|
|
10792
10792
|
get daysUntilNextIncome() {
|
|
10793
|
-
return this.nextIncome ? Math.abs(Vd(
|
|
10793
|
+
return this.nextIncome ? Math.abs(Vd(ve(), this.nextIncome.expectedDate)) : 0;
|
|
10794
10794
|
}
|
|
10795
10795
|
// Returns the expenses (Activities) until the next income activity or the end of the month
|
|
10796
10796
|
// if there is no income activity
|
|
10797
10797
|
get expensesTilNextIncome() {
|
|
10798
10798
|
return this.upcomingExpenses.filter(
|
|
10799
|
-
(n) => ot(n.expectedDate, this.nextIncome?.expectedDate ||
|
|
10799
|
+
(n) => ot(n.expectedDate, this.nextIncome?.expectedDate || Qe(/* @__PURE__ */ new Date()))
|
|
10800
10800
|
);
|
|
10801
10801
|
}
|
|
10802
10802
|
setNextIncome = (n) => {
|
|
@@ -11297,7 +11297,7 @@ const Sn = () => {
|
|
|
11297
11297
|
return isNaN(i) ? 0 : i;
|
|
11298
11298
|
}, Ko = (e, n) => {
|
|
11299
11299
|
const i = [];
|
|
11300
|
-
let a =
|
|
11300
|
+
let a = Ze(n?.start ?? Ht(/* @__PURE__ */ new Date(), 5));
|
|
11301
11301
|
const o = n?.end ?? /* @__PURE__ */ new Date();
|
|
11302
11302
|
for (; ot(a, o); )
|
|
11303
11303
|
i.push({
|
|
@@ -11318,8 +11318,8 @@ const Sn = () => {
|
|
|
11318
11318
|
const n = [], i = e.filter(
|
|
11319
11319
|
(r) => r.top_level_category_guid !== D.INCOME && r.top_level_category_guid !== D.TRANSFER && r.total > 0
|
|
11320
11320
|
);
|
|
11321
|
-
let a =
|
|
11322
|
-
const o =
|
|
11321
|
+
let a = Ze(Ht(/* @__PURE__ */ new Date(), 5));
|
|
11322
|
+
const o = Qe(/* @__PURE__ */ new Date());
|
|
11323
11323
|
for (; ot(a, o); )
|
|
11324
11324
|
n.push({
|
|
11325
11325
|
x: ue(a, re.MONTH_SHORT),
|
|
@@ -11344,7 +11344,7 @@ const Sn = () => {
|
|
|
11344
11344
|
}
|
|
11345
11345
|
return c;
|
|
11346
11346
|
}, dp = () => {
|
|
11347
|
-
const e =
|
|
11347
|
+
const e = Ye(), { selectedAccount: n } = Vt(), { monthlyCategoryTotals: i } = $e(), { trends: a } = A(), o = [e.palette.chart?.chart1, e.palette.chart?.chart2], r = cp(i, n.account_type), s = lp(r, n.account_type, a), c = [_e.LOAN, _e.MORTGAGE].includes(n.account_type);
|
|
11348
11348
|
return /* @__PURE__ */ t("div", { "data-testid": "TrendsChart", children: /* @__PURE__ */ t(
|
|
11349
11349
|
ni,
|
|
11350
11350
|
{
|
|
@@ -11378,7 +11378,7 @@ const Sn = () => {
|
|
|
11378
11378
|
_n,
|
|
11379
11379
|
{
|
|
11380
11380
|
sx: { pb: 0 },
|
|
11381
|
-
title: /* @__PURE__ */ t(
|
|
11381
|
+
title: /* @__PURE__ */ t(qe, { sx: { pb: 4 }, children: ue(/* @__PURE__ */ new Date(), re.MONTH_LONG) })
|
|
11382
11382
|
}
|
|
11383
11383
|
),
|
|
11384
11384
|
/* @__PURE__ */ t(Pt, { sx: { p: 0 }, children: /* @__PURE__ */ t(_p, {}) })
|
|
@@ -11436,7 +11436,7 @@ const qc = ({
|
|
|
11436
11436
|
onClickArea: r,
|
|
11437
11437
|
onHoverArea: s
|
|
11438
11438
|
}) => {
|
|
11439
|
-
const c =
|
|
11439
|
+
const c = Ye(), { onEvent: l } = q(), u = a.filter((w) => !w.is_impossible), _ = [
|
|
11440
11440
|
...new Set(
|
|
11441
11441
|
u.flatMap((w) => w.dataset.map((N) => new Date(N.x).getTime()))
|
|
11442
11442
|
)
|
|
@@ -11561,7 +11561,7 @@ const qc = ({
|
|
|
11561
11561
|
}
|
|
11562
11562
|
},
|
|
11563
11563
|
children: [
|
|
11564
|
-
/* @__PURE__ */ t(_n, { sx: { pb: 0 }, title: /* @__PURE__ */ t(
|
|
11564
|
+
/* @__PURE__ */ t(_n, { sx: { pb: 0 }, title: /* @__PURE__ */ t(qe, { sx: { pb: 4 }, children: n.details_chart_title }) }),
|
|
11565
11565
|
/* @__PURE__ */ t(Pt, { sx: { p: 0 }, children: /* @__PURE__ */ t(qc, { debts: [i], height: 250 }) })
|
|
11566
11566
|
]
|
|
11567
11567
|
}
|
|
@@ -12388,11 +12388,11 @@ const zt = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
|
|
|
12388
12388
|
S && R().finally();
|
|
12389
12389
|
}, [S]);
|
|
12390
12390
|
const L = (fe) => u(fe), W = () => {
|
|
12391
|
-
const fe = w.find((Me) => Me.guid === l),
|
|
12392
|
-
fe && E(fe),
|
|
12393
|
-
}, K = () => m(F.DEBTS_CLICK_FILTER),
|
|
12391
|
+
const fe = w.find((Me) => Me.guid === l), Ae = G.find((Me) => Me.guid === l);
|
|
12392
|
+
fe && E(fe), Ae && v(Ae), a(!0);
|
|
12393
|
+
}, K = () => m(F.DEBTS_CLICK_FILTER), oe = () => {
|
|
12394
12394
|
c(!0), m(F.DEBTS_CLICK_SNOWBALL_CTA);
|
|
12395
|
-
},
|
|
12395
|
+
}, ne = () => {
|
|
12396
12396
|
r(!0), m(F.DEBTS_CLICK_PAYDOWN);
|
|
12397
12397
|
};
|
|
12398
12398
|
return !N || !f || !S ? /* @__PURE__ */ t(de, {}) : /* @__PURE__ */ d(
|
|
@@ -12401,7 +12401,7 @@ const zt = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
|
|
|
12401
12401
|
accountOptions: w,
|
|
12402
12402
|
actions: [
|
|
12403
12403
|
/* @__PURE__ */ t(Up, {}, "prioritize-debts"),
|
|
12404
|
-
/* @__PURE__ */ t(Kp, { onClick:
|
|
12404
|
+
/* @__PURE__ */ t(Kp, { onClick: ne }, "extra-paydown")
|
|
12405
12405
|
],
|
|
12406
12406
|
onAccountsFilterClick: K,
|
|
12407
12407
|
onBackClick: e,
|
|
@@ -12433,7 +12433,7 @@ const zt = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
|
|
|
12433
12433
|
ep,
|
|
12434
12434
|
{
|
|
12435
12435
|
debts: G,
|
|
12436
|
-
onClickCta:
|
|
12436
|
+
onClickCta: oe,
|
|
12437
12437
|
sx: { mb: h ? "0px" : "64px" }
|
|
12438
12438
|
}
|
|
12439
12439
|
)
|
|
@@ -12462,7 +12462,7 @@ const zt = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
|
|
|
12462
12462
|
]
|
|
12463
12463
|
}
|
|
12464
12464
|
);
|
|
12465
|
-
},
|
|
12465
|
+
}, bT = x(zp), Yp = {
|
|
12466
12466
|
unnamed_label: "Unnamed Debt"
|
|
12467
12467
|
};
|
|
12468
12468
|
function jp(e, n) {
|
|
@@ -12658,7 +12658,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
|
|
|
12658
12658
|
unitsPerSegment: h,
|
|
12659
12659
|
isFinacialStrengthGraph: p
|
|
12660
12660
|
}) => {
|
|
12661
|
-
const m =
|
|
12661
|
+
const m = Ye(), f = [
|
|
12662
12662
|
{ offset: "13.62%", color: m.palette.chartMono.chartMono2 },
|
|
12663
12663
|
{ offset: "36.67%", color: m.palette.chartMono.chartMono3 },
|
|
12664
12664
|
{ offset: "59.72%", color: m.palette.chartMono.chartMono4 },
|
|
@@ -12712,7 +12712,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
|
|
|
12712
12712
|
footerRightContent: _,
|
|
12713
12713
|
isFinacialStrengthGraph: h = !1
|
|
12714
12714
|
}) => {
|
|
12715
|
-
const p =
|
|
12715
|
+
const p = Ye(), m = -Math.PI / 1.35, f = Math.PI / 1.35, S = f - m, y = S / (r - o), E = (n - o) * y, I = m + E + 0.02, v = i !== "SM" ? 0.1 : 0.12, w = e, N = e * (1 - v), R = w * 2.5, M = R / 2, k = R / 2, G = (N + w) / 2, L = n !== 25 && n !== 50 && n !== 75 && n !== 100 ? 0 : 0.12, [W, K] = t1(G, I, L), oe = n / 25, ne = {
|
|
12716
12716
|
L: { markerSize: 12, healthScoreFontSize: 64 },
|
|
12717
12717
|
M: { markerSize: 10, healthScoreFontSize: 48 },
|
|
12718
12718
|
SM: { markerSize: 3, healthScoreFontSize: 14 }
|
|
@@ -12748,22 +12748,22 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
|
|
|
12748
12748
|
legend: { hidden: !0 }
|
|
12749
12749
|
},
|
|
12750
12750
|
slots: {
|
|
12751
|
-
pieArc: (
|
|
12751
|
+
pieArc: (Ae) => /* @__PURE__ */ t(
|
|
12752
12752
|
a1,
|
|
12753
12753
|
{
|
|
12754
|
-
arcColor:
|
|
12754
|
+
arcColor: Ae.color,
|
|
12755
12755
|
arcRadius: e,
|
|
12756
12756
|
arcStartAngle: m,
|
|
12757
12757
|
centerX: M,
|
|
12758
12758
|
centerY: k,
|
|
12759
|
-
dataIndex:
|
|
12759
|
+
dataIndex: Ae.dataIndex,
|
|
12760
12760
|
dialScoreData: a,
|
|
12761
12761
|
innerArcRadius: N,
|
|
12762
12762
|
isFinacialStrengthGraph: h,
|
|
12763
12763
|
outterArcRadius: w,
|
|
12764
12764
|
progressEndAngle: I,
|
|
12765
12765
|
totalAngularSpan: S,
|
|
12766
|
-
unitsPerSegment:
|
|
12766
|
+
unitsPerSegment: oe
|
|
12767
12767
|
}
|
|
12768
12768
|
)
|
|
12769
12769
|
},
|
|
@@ -12779,7 +12779,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
|
|
|
12779
12779
|
cx: M + W,
|
|
12780
12780
|
cy: k + K,
|
|
12781
12781
|
fill: p.palette.common.white,
|
|
12782
|
-
r:
|
|
12782
|
+
r: ne[i].markerSize,
|
|
12783
12783
|
stroke: h ? "url(#arcGradient)" : s,
|
|
12784
12784
|
strokeWidth: i !== "SM" ? 3 : 1
|
|
12785
12785
|
}
|
|
@@ -12806,7 +12806,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
|
|
|
12806
12806
|
X,
|
|
12807
12807
|
{
|
|
12808
12808
|
sx: {
|
|
12809
|
-
fontSize:
|
|
12809
|
+
fontSize: ne[i].healthScoreFontSize,
|
|
12810
12810
|
lineHeight: i !== "SM" ? "48px" : "100%"
|
|
12811
12811
|
},
|
|
12812
12812
|
variant: "H1",
|
|
@@ -12896,7 +12896,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
|
|
|
12896
12896
|
}
|
|
12897
12897
|
);
|
|
12898
12898
|
}
|
|
12899
|
-
),
|
|
12899
|
+
), yT = x(
|
|
12900
12900
|
({
|
|
12901
12901
|
arcRadius: e,
|
|
12902
12902
|
size: n = "L",
|
|
@@ -12905,7 +12905,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
|
|
|
12905
12905
|
minValue: o = 300,
|
|
12906
12906
|
footerCenterContent: r
|
|
12907
12907
|
}) => {
|
|
12908
|
-
const c =
|
|
12908
|
+
const c = Ye().palette.mode === "dark", l = [
|
|
12909
12909
|
{
|
|
12910
12910
|
id: 1,
|
|
12911
12911
|
label: "Poor",
|
|
@@ -13080,7 +13080,7 @@ const Na = ({
|
|
|
13080
13080
|
},
|
|
13081
13081
|
children: [
|
|
13082
13082
|
n && /* @__PURE__ */ t(co, { sx: { height: 20, width: 20 } }),
|
|
13083
|
-
/* @__PURE__ */ t(
|
|
13083
|
+
/* @__PURE__ */ t(qe, { className: "connect-more-accounts-title", sx: { ...e && { fontSize: 15 } }, children: a || u.connect_more_accounts_title })
|
|
13084
13084
|
]
|
|
13085
13085
|
}
|
|
13086
13086
|
),
|
|
@@ -13115,7 +13115,7 @@ const Na = ({
|
|
|
13115
13115
|
}
|
|
13116
13116
|
);
|
|
13117
13117
|
}, s1 = x(() => {
|
|
13118
|
-
const e =
|
|
13118
|
+
const e = Ye(), [n, { width: i }] = ii(), { finstrong: a } = A(), { isCopyLoaded: o, isInitialized: r } = ce(), { healthScore: s, healthScoreChange: c } = bi(), l = e.palette.mode === "dark", u = Xo(s?.health_score, a);
|
|
13119
13119
|
return !o || !r ? /* @__PURE__ */ t(de, {}) : /* @__PURE__ */ d(bt, { ref: n, sx: { p: 16 }, children: [
|
|
13120
13120
|
/* @__PURE__ */ t(
|
|
13121
13121
|
_n,
|
|
@@ -13134,7 +13134,7 @@ const Na = ({
|
|
|
13134
13134
|
children: a.financial_strength_header_action
|
|
13135
13135
|
}
|
|
13136
13136
|
),
|
|
13137
|
-
subheader: /* @__PURE__ */ t(
|
|
13137
|
+
subheader: /* @__PURE__ */ t(qe, { color: "text.primary", children: a.financial_strength_header }),
|
|
13138
13138
|
sx: {
|
|
13139
13139
|
p: 0,
|
|
13140
13140
|
"& .MuiCardHeader-content": {
|
|
@@ -13211,7 +13211,7 @@ const Na = ({
|
|
|
13211
13211
|
title: i
|
|
13212
13212
|
}) => {
|
|
13213
13213
|
let a;
|
|
13214
|
-
const { refreshAccounts: o } = be(), { loadWidget: r } = bc(), { connect: s } = A(), c =
|
|
13214
|
+
const { refreshAccounts: o } = be(), { loadWidget: r } = bc(), { connect: s } = A(), c = Ye(), [l, u] = g.useState(!1), [_, h] = g.useState(!1);
|
|
13215
13215
|
return g.useEffect(() => (n ? (u(!0), r({ widget: "connections_widget", mode: c.palette.mode }).then((p) => {
|
|
13216
13216
|
a = new Hd({
|
|
13217
13217
|
container: `#${Nr}`,
|
|
@@ -13284,7 +13284,7 @@ const Na = ({
|
|
|
13284
13284
|
}
|
|
13285
13285
|
);
|
|
13286
13286
|
}, d1 = x(l1), _1 = ({ isOpen: e, onClose: n }) => {
|
|
13287
|
-
const { finstrong: i } = A(), a =
|
|
13287
|
+
const { finstrong: i } = A(), a = Ye(), { updateUser: o, user: r } = ft(), [s, c] = g.useState(r.birthday), l = (_) => {
|
|
13288
13288
|
c(Math.floor(new Date(_).getTime() / 1e3));
|
|
13289
13289
|
};
|
|
13290
13290
|
return /* @__PURE__ */ t(
|
|
@@ -13395,7 +13395,7 @@ const Na = ({
|
|
|
13395
13395
|
return /* @__PURE__ */ d(le, { isOpen: e, onClose: n, title: s.financial_profile, children: [
|
|
13396
13396
|
/* @__PURE__ */ d(b, { sx: { gap: 20, p: 24 }, children: [
|
|
13397
13397
|
/* @__PURE__ */ d(b, { sx: { gap: 8 }, children: [
|
|
13398
|
-
/* @__PURE__ */ t(
|
|
13398
|
+
/* @__PURE__ */ t(qe, { children: s.your_financial_profile }),
|
|
13399
13399
|
/* @__PURE__ */ t(X, { children: s.financial_profile_description })
|
|
13400
13400
|
] }),
|
|
13401
13401
|
/* @__PURE__ */ t(
|
|
@@ -13728,7 +13728,7 @@ const Na = ({
|
|
|
13728
13728
|
const { finstrong: u } = A(), { isCopyLoaded: _ } = ce();
|
|
13729
13729
|
return _ ? /* @__PURE__ */ d(le, { isOpen: o, onClose: s, title: a || u.key_indicators, children: [
|
|
13730
13730
|
(l || i) && /* @__PURE__ */ d(b, { sx: { p: 24, pb: 0, gap: 8, backgroundColor: "background.paper" }, children: [
|
|
13731
|
-
l && /* @__PURE__ */ t(
|
|
13731
|
+
l && /* @__PURE__ */ t(qe, { children: l }),
|
|
13732
13732
|
i && /* @__PURE__ */ t(X, { children: i })
|
|
13733
13733
|
] }),
|
|
13734
13734
|
c && /* @__PURE__ */ t(
|
|
@@ -13847,7 +13847,7 @@ const Na = ({
|
|
|
13847
13847
|
) })
|
|
13848
13848
|
] }) });
|
|
13849
13849
|
}, T1 = x(E1), A1 = ({ isOpen: e, onClose: n }) => {
|
|
13850
|
-
const i =
|
|
13850
|
+
const i = Ye(), { finstrong: a } = A(), { isCopyLoaded: o, isInitialized: r } = ce(), { healthScore: s, healthScoreChangeReports: c, augmentedChartData: l } = bi();
|
|
13851
13851
|
if (!o || !r) return /* @__PURE__ */ t(de, {});
|
|
13852
13852
|
const u = Xo(s.health_score || 0, a), _ = c.slice().reverse();
|
|
13853
13853
|
return /* @__PURE__ */ t(
|
|
@@ -13903,7 +13903,7 @@ const Na = ({
|
|
|
13903
13903
|
return i ? /* @__PURE__ */ d(b, { sx: { alignItems: "center", gap: 12, pt: 12, pb: 32 }, children: [
|
|
13904
13904
|
/* @__PURE__ */ t(Ys, { size: 48 }),
|
|
13905
13905
|
/* @__PURE__ */ d(b, { sx: { alignItems: "center", gap: 4, textAlign: "center" }, children: [
|
|
13906
|
-
/* @__PURE__ */ t(
|
|
13906
|
+
/* @__PURE__ */ t(qe, { children: n.missing_data_title }),
|
|
13907
13907
|
/* @__PURE__ */ t(X, { sx: { width: { sm: 348 } }, variant: "subtitle1", children: n.missing_data_description })
|
|
13908
13908
|
] }),
|
|
13909
13909
|
/* @__PURE__ */ t(O, { children: /* @__PURE__ */ t(
|
|
@@ -13924,7 +13924,7 @@ const Na = ({
|
|
|
13924
13924
|
) })
|
|
13925
13925
|
] }) : /* @__PURE__ */ t(de, {});
|
|
13926
13926
|
}, v1 = x(I1), w1 = ({ onBackClick: e, sx: n }) => {
|
|
13927
|
-
const i =
|
|
13927
|
+
const i = Ye(), { visibleAccounts: a } = be(), { dateRange: o, isDataLoaded: r, loadBudgetData: s, setTheme: c } = ut(), { reloadCategoryTotals: l } = $e(), { augmentedChartData: u, calculateHealthScore: _, healthScore: h, loadAugmentedChartData: p } = bi(), { finstrong: m, connect: f } = A(), { isCopyLoaded: S, isInitialized: y, selectedAccounts: E, setSelectedAccounts: I } = ce(), { isMobile: v } = Ce(), [w, N] = g.useState(!1);
|
|
13928
13928
|
g.useEffect(() => {
|
|
13929
13929
|
c(i);
|
|
13930
13930
|
}, []), g.useEffect(() => I(a), [a]), g.useEffect(() => {
|
|
@@ -13976,7 +13976,7 @@ const Na = ({
|
|
|
13976
13976
|
] }),
|
|
13977
13977
|
/* @__PURE__ */ t(b, { sx: { maxWidth: 848, minWidth: 288, width: { md: 720 } }, children: /* @__PURE__ */ d(bt, { sx: { background: i.palette.background.paper, p: 16 }, children: [
|
|
13978
13978
|
/* @__PURE__ */ d(b, { direction: "row", sx: { alignItems: "center", justifyContent: "space-between" }, children: [
|
|
13979
|
-
/* @__PURE__ */ t(
|
|
13979
|
+
/* @__PURE__ */ t(qe, { children: m.key_indicators }),
|
|
13980
13980
|
/* @__PURE__ */ t(
|
|
13981
13981
|
te,
|
|
13982
13982
|
{
|
|
@@ -14039,7 +14039,7 @@ const Na = ({
|
|
|
14039
14039
|
]
|
|
14040
14040
|
}
|
|
14041
14041
|
);
|
|
14042
|
-
},
|
|
14042
|
+
}, ST = x(w1);
|
|
14043
14043
|
class os {
|
|
14044
14044
|
fetchInstance;
|
|
14045
14045
|
constructor(n, i) {
|
|
@@ -14389,7 +14389,7 @@ const N1 = (e, n) => {
|
|
|
14389
14389
|
title: _,
|
|
14390
14390
|
children: /* @__PURE__ */ d(b, { children: [
|
|
14391
14391
|
/* @__PURE__ */ d(b, { m: 24, children: [
|
|
14392
|
-
/* @__PURE__ */ t(
|
|
14392
|
+
/* @__PURE__ */ t(qe, { children: h }),
|
|
14393
14393
|
/* @__PURE__ */ t(X, { color: "text.secondary", sx: { textWrap: "wrap" }, variant: "ParagraphSmall", children: p })
|
|
14394
14394
|
] }),
|
|
14395
14395
|
/* @__PURE__ */ t(O1, { trackType: e }),
|
|
@@ -14958,8 +14958,8 @@ const N1 = (e, n) => {
|
|
|
14958
14958
|
return n.filter((W) => L.some((K) => K.account_guid === W.guid));
|
|
14959
14959
|
}, [E, n, l, u]), w = g.useMemo(() => {
|
|
14960
14960
|
if (!_) return !1;
|
|
14961
|
-
const { account_guid: L, track_type: W, name: K, amount:
|
|
14962
|
-
return W === Y.SAVINGS_TRACK ? L ? !!K && !!
|
|
14961
|
+
const { account_guid: L, track_type: W, name: K, amount: oe, retirement_age: ne } = _;
|
|
14962
|
+
return W === Y.SAVINGS_TRACK ? L ? !!K && !!oe : !1 : W === Y.RETIREMENT_TRACK ? v.length ? !!K && !!oe && !!ne && !!f.birthday : !1 : !0;
|
|
14963
14963
|
}, [_, v, f.birthday]);
|
|
14964
14964
|
let N = a.delete_button, R = () => y(!0);
|
|
14965
14965
|
E ? (R = () => M(), N = a.save_button) : I && (R = () => G(), N = i.mark_as_complete_button);
|
|
@@ -15008,7 +15008,7 @@ const N1 = (e, n) => {
|
|
|
15008
15008
|
}
|
|
15009
15009
|
)
|
|
15010
15010
|
] });
|
|
15011
|
-
}),
|
|
15011
|
+
}), ET = x(({ onBackClick: e, sx: n }) => {
|
|
15012
15012
|
const { onEvent: i } = q(), { isMobile: a } = Ce(), { visibleAccounts: o } = be(), { isCopyLoaded: r, isInitialized: s, setSelectedAccounts: c } = ce(), { goals: l, common: u } = A(), { alert: _, goals: h, goalsLoaded: p, loadGoals: m, monthlyCashFlowProfile: f, setAlert: S, retirmentGoals: y } = _t(), [E, I] = g.useState(0), [v, w] = g.useState(!1), N = f?.amount_allocated_for_savings_goals || 0, R = f?.amount_allocated_for_debt_goals || 0, M = f?.amount_allocated_for_retirement_goals || 0, k = r ? T(
|
|
15013
15013
|
a ? l.tab_subtitle_mobile : l.tab_subtitle,
|
|
15014
15014
|
H(N, "0,0")
|
|
@@ -15028,9 +15028,9 @@ const N1 = (e, n) => {
|
|
|
15028
15028
|
i(F.GOALS_CLICK_FILTER);
|
|
15029
15029
|
}, K = () => {
|
|
15030
15030
|
w(!0), i(F.GOALS_CLICK_ADD);
|
|
15031
|
-
},
|
|
15031
|
+
}, oe = (fe) => {
|
|
15032
15032
|
w(!1), fe === Y.SAVINGS_TRACK ? I(0) : fe === Y.DEBT_TRACK ? I(1) : fe === Y.RETIREMENT_TRACK && I(2);
|
|
15033
|
-
},
|
|
15033
|
+
}, ne = g.useMemo(
|
|
15034
15034
|
() => p && (h.length === 0 || h.every(({ track_type: fe }) => !fe) && y.length === 0),
|
|
15035
15035
|
[h, p, y]
|
|
15036
15036
|
);
|
|
@@ -15054,37 +15054,37 @@ const N1 = (e, n) => {
|
|
|
15054
15054
|
/* @__PURE__ */ d(
|
|
15055
15055
|
Ut,
|
|
15056
15056
|
{
|
|
15057
|
-
onChange: (fe,
|
|
15057
|
+
onChange: (fe, Ae) => I(Ae),
|
|
15058
15058
|
sx: { bgcolor: "background.paper" },
|
|
15059
15059
|
textColor: "primary",
|
|
15060
|
-
value:
|
|
15060
|
+
value: ne ? !1 : E,
|
|
15061
15061
|
variant: "fullWidth",
|
|
15062
15062
|
children: [
|
|
15063
15063
|
/* @__PURE__ */ t(
|
|
15064
15064
|
tt,
|
|
15065
15065
|
{
|
|
15066
|
-
disabled:
|
|
15066
|
+
disabled: ne,
|
|
15067
15067
|
label: /* @__PURE__ */ t(Wa, { subtitle: k, title: l.tab_saving_title })
|
|
15068
15068
|
}
|
|
15069
15069
|
),
|
|
15070
15070
|
/* @__PURE__ */ t(
|
|
15071
15071
|
tt,
|
|
15072
15072
|
{
|
|
15073
|
-
disabled:
|
|
15073
|
+
disabled: ne,
|
|
15074
15074
|
label: /* @__PURE__ */ t(Wa, { subtitle: G, title: l.tab_debt_title })
|
|
15075
15075
|
}
|
|
15076
15076
|
),
|
|
15077
15077
|
/* @__PURE__ */ t(
|
|
15078
15078
|
tt,
|
|
15079
15079
|
{
|
|
15080
|
-
disabled:
|
|
15080
|
+
disabled: ne,
|
|
15081
15081
|
label: /* @__PURE__ */ t(Wa, { subtitle: L, title: l.tab_retirement_title })
|
|
15082
15082
|
}
|
|
15083
15083
|
)
|
|
15084
15084
|
]
|
|
15085
15085
|
}
|
|
15086
15086
|
),
|
|
15087
|
-
|
|
15087
|
+
ne ? /* @__PURE__ */ t(
|
|
15088
15088
|
jn,
|
|
15089
15089
|
{
|
|
15090
15090
|
header: l.create_goals_header,
|
|
@@ -15105,7 +15105,7 @@ const N1 = (e, n) => {
|
|
|
15105
15105
|
E === 2 && /* @__PURE__ */ t($a, { onAddGoals: K, trackType: Y.RETIREMENT_TRACK })
|
|
15106
15106
|
] })
|
|
15107
15107
|
] }),
|
|
15108
|
-
/* @__PURE__ */ t(z1, { onClose:
|
|
15108
|
+
/* @__PURE__ */ t(z1, { onClose: oe }),
|
|
15109
15109
|
/* @__PURE__ */ t(
|
|
15110
15110
|
le,
|
|
15111
15111
|
{
|
|
@@ -15113,7 +15113,7 @@ const N1 = (e, n) => {
|
|
|
15113
15113
|
isOpen: v,
|
|
15114
15114
|
onClose: () => w(!1),
|
|
15115
15115
|
title: l.add_goal_title,
|
|
15116
|
-
children: /* @__PURE__ */ t(H1, { onClose:
|
|
15116
|
+
children: /* @__PURE__ */ t(H1, { onClose: oe })
|
|
15117
15117
|
}
|
|
15118
15118
|
),
|
|
15119
15119
|
/* @__PURE__ */ t(Wi, { onClose: () => S(""), open: !!_, children: /* @__PURE__ */ t(Mn, { onClose: () => S(""), severity: "success", variant: "filled", children: _ }) })
|
|
@@ -15348,7 +15348,7 @@ const j1 = x(({ goal: e }) => {
|
|
|
15348
15348
|
)
|
|
15349
15349
|
]
|
|
15350
15350
|
}
|
|
15351
|
-
),
|
|
15351
|
+
), TT = x(({ onCTAClick: e }) => {
|
|
15352
15352
|
const { visibleAccounts: n } = be(), { onEvent: i } = q(), { goals: a } = A(), { isInitialized: o, setSelectedAccounts: r, isCopyLoaded: s } = ce(), { ongoingGoalsForMicroWidget: c, loadGoals: l, goalsLoaded: u } = _t();
|
|
15353
15353
|
g.useEffect(() => {
|
|
15354
15354
|
r(n);
|
|
@@ -15990,7 +15990,7 @@ const mf = /^[ a-zA-ZÀ-ÿ0-9]+$/, pf = 50, ls = 65, ff = ({
|
|
|
15990
15990
|
!a.length && /* @__PURE__ */ t(b, { alignItems: "center", my: 24, children: /* @__PURE__ */ t(C, { bold: !0, color: "secondary", variant: "Small", children: r.search_zero_state }) })
|
|
15991
15991
|
] }) }) })
|
|
15992
15992
|
] }) : /* @__PURE__ */ t(de, {});
|
|
15993
|
-
},
|
|
15993
|
+
}, AT = x(ff);
|
|
15994
15994
|
class ds {
|
|
15995
15995
|
fetchInstance;
|
|
15996
15996
|
constructor(n, i) {
|
|
@@ -16031,7 +16031,7 @@ const bf = ({
|
|
|
16031
16031
|
onMouseLeave: o,
|
|
16032
16032
|
selectedData: r
|
|
16033
16033
|
}) => {
|
|
16034
|
-
const { isMobile: s } = Ce(), { availableWidth: c } = $n(), l =
|
|
16034
|
+
const { isMobile: s } = Ce(), { availableWidth: c } = $n(), l = Ye(), u = c - 320, _ = e.map((f) => ({
|
|
16035
16035
|
x: pn(Ue(f.x), "MMM"),
|
|
16036
16036
|
y: f.y
|
|
16037
16037
|
})), h = r ? { index: e.findIndex((f) => f.x === r.x) } : void 0, p = n ? { index: e.findIndex((f) => f.x === n.x) } : void 0, m = (f) => ({
|
|
@@ -16091,7 +16091,7 @@ const bf = ({
|
|
|
16091
16091
|
{
|
|
16092
16092
|
primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
|
|
16093
16093
|
/* @__PURE__ */ t(C, { variant: "Body", children: fc(e.x) }),
|
|
16094
|
-
/* @__PURE__ */ t(
|
|
16094
|
+
/* @__PURE__ */ t(Xe, { amount: e.y, sx: { color: "inherit" }, variant: "Body" })
|
|
16095
16095
|
] })
|
|
16096
16096
|
}
|
|
16097
16097
|
)
|
|
@@ -16110,7 +16110,7 @@ const bf = ({
|
|
|
16110
16110
|
onMouseLeave: r,
|
|
16111
16111
|
selectedData: s
|
|
16112
16112
|
}) => {
|
|
16113
|
-
const { net_worth: c } = A(), l =
|
|
16113
|
+
const { net_worth: c } = A(), l = Ye(), u = (_) => {
|
|
16114
16114
|
const h = _.x === n?.x, p = _.x === s?.x, m = {
|
|
16115
16115
|
backgroundColor: "inherit",
|
|
16116
16116
|
borderBottom: "inherit",
|
|
@@ -16165,14 +16165,14 @@ const bf = ({
|
|
|
16165
16165
|
}
|
|
16166
16166
|
}
|
|
16167
16167
|
),
|
|
16168
|
-
/* @__PURE__ */ t(
|
|
16168
|
+
/* @__PURE__ */ t(Xe, { amount: a.change, color: s, variant: n }),
|
|
16169
16169
|
/* @__PURE__ */ t(C, { variant: "Small", children: e })
|
|
16170
16170
|
] });
|
|
16171
16171
|
}, Jo = x(xf), If = ({ hoveredData: e, selectedData: n }) => {
|
|
16172
|
-
const { net_worth: i } = A(), a =
|
|
16172
|
+
const { net_worth: i } = A(), a = Ye(), o = e || n, r = ec(ci(o.x), "MMMM");
|
|
16173
16173
|
return /* @__PURE__ */ d(b, { alignItems: "center", direction: "column", m: 24, children: [
|
|
16174
16174
|
/* @__PURE__ */ t(C, { color: a.palette.secondary.main, variant: "Small", children: `${r} ${i.net_worth}` }),
|
|
16175
|
-
/* @__PURE__ */ t(
|
|
16175
|
+
/* @__PURE__ */ t(Xe, { amount: o.y, variant: "H2" }),
|
|
16176
16176
|
/* @__PURE__ */ t(Jo, { currencyLabel: i.this_month, netWorth: o, theme: a })
|
|
16177
16177
|
] });
|
|
16178
16178
|
}, vf = x(If), gl = 13, wf = (e, n) => e.filter((i) => {
|
|
@@ -16181,7 +16181,7 @@ const bf = ({
|
|
|
16181
16181
|
}), Df = (e, n) => [...e, ...n], _s = (e) => {
|
|
16182
16182
|
if (e && e.length > 0)
|
|
16183
16183
|
return e[e.length - 1];
|
|
16184
|
-
}, Nf = (e, n) => e.year_month - n.year_month, Rf = () => Array.from({ length: gl }, (e, n) => Math.floor(
|
|
16184
|
+
}, Nf = (e, n) => e.year_month - n.year_month, Rf = () => Array.from({ length: gl }, (e, n) => Math.floor(Ze(Ht(/* @__PURE__ */ new Date(), n)).getTime() / 1e3)).sort(), Of = (e, n, i) => !e.length || !n.length ? [] : Rf().reduceRight((o, r) => {
|
|
16185
16185
|
const s = n.filter(
|
|
16186
16186
|
({ year_month: _ }) => _ === parseInt(pn(Ue(r), "yyyyMM"))
|
|
16187
16187
|
), c = e.map((_) => {
|
|
@@ -16332,7 +16332,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16332
16332
|
/* @__PURE__ */ t(C, { sx: { display: "block", fontWeight: 600 }, variant: "body1", children: e.empty_widget_header }),
|
|
16333
16333
|
/* @__PURE__ */ t(X, { sx: { color: "text.secondary" }, variant: "body2", children: e.zero_state_description })
|
|
16334
16334
|
] })
|
|
16335
|
-
] }),
|
|
16335
|
+
] }), xT = x(({ onCTAClick: e }) => {
|
|
16336
16336
|
const [n, i] = g.useState(!1), { visibleAccounts: a } = be(), { onEvent: o } = q(), { net_worth: r, common: s } = A(), { isInitialized: c, selectedAccounts: l, setSelectedAccounts: u } = ce(), { loadChartData: _, loadNetWorthData: h, netWorthData: p, selectedData: m } = yc(), f = async () => {
|
|
16337
16337
|
await h(l), await _(1), i(!0);
|
|
16338
16338
|
};
|
|
@@ -16393,7 +16393,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16393
16393
|
}
|
|
16394
16394
|
),
|
|
16395
16395
|
/* @__PURE__ */ t(
|
|
16396
|
-
|
|
16396
|
+
Xe,
|
|
16397
16397
|
{
|
|
16398
16398
|
amount: r.balance,
|
|
16399
16399
|
sx: {
|
|
@@ -16431,7 +16431,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16431
16431
|
},
|
|
16432
16432
|
children: [
|
|
16433
16433
|
/* @__PURE__ */ t(C, { variant: "Body", children: r.current_net_worth }),
|
|
16434
|
-
/* @__PURE__ */ t(
|
|
16434
|
+
/* @__PURE__ */ t(Xe, { amount: e?.y ?? 0, variant: "H1" }),
|
|
16435
16435
|
e && /* @__PURE__ */ t(
|
|
16436
16436
|
Jo,
|
|
16437
16437
|
{
|
|
@@ -16450,7 +16450,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16450
16450
|
{
|
|
16451
16451
|
primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", children: [
|
|
16452
16452
|
/* @__PURE__ */ t(C, { sx: { fontWeight: 700 }, variant: "XSmall", children: r.assets }),
|
|
16453
|
-
/* @__PURE__ */ t(
|
|
16453
|
+
/* @__PURE__ */ t(Xe, { amount: a, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
16454
16454
|
] })
|
|
16455
16455
|
}
|
|
16456
16456
|
) }),
|
|
@@ -16460,7 +16460,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16460
16460
|
{
|
|
16461
16461
|
primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", children: [
|
|
16462
16462
|
/* @__PURE__ */ t(C, { sx: { fontWeight: 700 }, variant: "XSmall", children: r.liabilities }),
|
|
16463
|
-
/* @__PURE__ */ t(
|
|
16463
|
+
/* @__PURE__ */ t(Xe, { amount: o, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
16464
16464
|
] })
|
|
16465
16465
|
}
|
|
16466
16466
|
) }),
|
|
@@ -16487,7 +16487,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16487
16487
|
{
|
|
16488
16488
|
primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", children: [
|
|
16489
16489
|
/* @__PURE__ */ t(C, { sx: { fontWeight: 700 }, variant: "XSmall", children: r.gains }),
|
|
16490
|
-
/* @__PURE__ */ t(
|
|
16490
|
+
/* @__PURE__ */ t(Xe, { amount: a, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
16491
16491
|
] })
|
|
16492
16492
|
}
|
|
16493
16493
|
) }),
|
|
@@ -16498,7 +16498,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16498
16498
|
primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
|
|
16499
16499
|
/* @__PURE__ */ t(C, { variant: "Body", children: c.accountName }),
|
|
16500
16500
|
/* @__PURE__ */ t(
|
|
16501
|
-
|
|
16501
|
+
Xe,
|
|
16502
16502
|
{
|
|
16503
16503
|
amount: c.gain,
|
|
16504
16504
|
sx: { color: s.palette.success.main, fontWeight: 700 },
|
|
@@ -16516,7 +16516,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16516
16516
|
{
|
|
16517
16517
|
primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", children: [
|
|
16518
16518
|
/* @__PURE__ */ t(C, { sx: { fontWeight: 700 }, variant: "XSmall", children: r.losses }),
|
|
16519
|
-
/* @__PURE__ */ t(
|
|
16519
|
+
/* @__PURE__ */ t(Xe, { amount: o, sx: { fontWeight: 400 }, variant: "XSmall" })
|
|
16520
16520
|
] })
|
|
16521
16521
|
}
|
|
16522
16522
|
) }),
|
|
@@ -16530,7 +16530,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16530
16530
|
{
|
|
16531
16531
|
primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
|
|
16532
16532
|
/* @__PURE__ */ t(C, { variant: "Body", children: c.accountName }),
|
|
16533
|
-
/* @__PURE__ */ t(
|
|
16533
|
+
/* @__PURE__ */ t(Xe, { amount: c.loss, sx: { fontWeight: 700 }, variant: "Body" })
|
|
16534
16534
|
] }),
|
|
16535
16535
|
sx: { px: 16 }
|
|
16536
16536
|
}
|
|
@@ -16542,7 +16542,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16542
16542
|
] }))
|
|
16543
16543
|
] })
|
|
16544
16544
|
] });
|
|
16545
|
-
}, $f = x(Wf),
|
|
16545
|
+
}, $f = x(Wf), IT = x(({ onBackClick: e }) => {
|
|
16546
16546
|
const { isCopyLoaded: n, isInitialized: i, selectedAccounts: a, setSelectedAccounts: o } = ce(), { accounts: r, net_worth: s } = A(), { visibleAccounts: c } = be(), {
|
|
16547
16547
|
assetsLiabilities: l,
|
|
16548
16548
|
gainsLosses: u,
|
|
@@ -16553,7 +16553,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16553
16553
|
selectedData: f,
|
|
16554
16554
|
setHoveredData: S,
|
|
16555
16555
|
setSelectedData: y
|
|
16556
|
-
} = yc(), { isMobile: E } = Ce(), { onEvent: I } = q(), [v, w] = g.useState(!1), [N, R] = g.useState(6), [M, k] = g.useState(!1), [G, L] = g.useState(!1), [W, K] = g.useState(!1),
|
|
16556
|
+
} = yc(), { isMobile: E } = Ce(), { onEvent: I } = q(), [v, w] = g.useState(!1), [N, R] = g.useState(6), [M, k] = g.useState(!1), [G, L] = g.useState(!1), [W, K] = g.useState(!1), oe = async () => {
|
|
16557
16557
|
await p(a), await h(N), w(!0);
|
|
16558
16558
|
};
|
|
16559
16559
|
g.useEffect(() => {
|
|
@@ -16561,15 +16561,15 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16561
16561
|
}, []), g.useEffect(() => {
|
|
16562
16562
|
o(c);
|
|
16563
16563
|
}, [c]), g.useEffect(() => {
|
|
16564
|
-
i &&
|
|
16564
|
+
i && oe().finally();
|
|
16565
16565
|
}, [i, a]), g.useEffect(() => {
|
|
16566
16566
|
I(F.NET_WORTH_WIDGET_CLICK_TIMEFRAME, { time_period: N + "M" }), h(N).finally();
|
|
16567
16567
|
}, [N]);
|
|
16568
|
-
const
|
|
16568
|
+
const ne = (V, pe) => {
|
|
16569
16569
|
y(pe), V.currentTarget instanceof HTMLDivElement && k(!0);
|
|
16570
16570
|
}, fe = (V) => {
|
|
16571
16571
|
S(V);
|
|
16572
|
-
},
|
|
16572
|
+
}, Ae = () => {
|
|
16573
16573
|
S(null);
|
|
16574
16574
|
}, Me = () => {
|
|
16575
16575
|
I(F.NET_WORTH_WIDGET_CLICK_ASSETS_LIABILITIES), L(!0);
|
|
@@ -16580,11 +16580,11 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16580
16580
|
chartData: m,
|
|
16581
16581
|
hoveredData: _,
|
|
16582
16582
|
onButtonClick: Me,
|
|
16583
|
-
onDataClick:
|
|
16583
|
+
onDataClick: ne,
|
|
16584
16584
|
onMouseEnter: fe,
|
|
16585
|
-
onMouseLeave:
|
|
16585
|
+
onMouseLeave: Ae,
|
|
16586
16586
|
selectedData: f
|
|
16587
|
-
},
|
|
16587
|
+
}, je = () => {
|
|
16588
16588
|
K(!0), I(F.ACCOUNTS_CLICK_CONNECT);
|
|
16589
16589
|
};
|
|
16590
16590
|
return n ? /* @__PURE__ */ t(
|
|
@@ -16632,7 +16632,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16632
16632
|
{
|
|
16633
16633
|
header: s.empty_widget_header,
|
|
16634
16634
|
icon: "elevation",
|
|
16635
|
-
onClick:
|
|
16635
|
+
onClick: je,
|
|
16636
16636
|
primaryButton: s.empty_widget_button,
|
|
16637
16637
|
subText: s.empty_widget_description,
|
|
16638
16638
|
sx: {
|
|
@@ -16678,7 +16678,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
|
|
|
16678
16678
|
] }) : /* @__PURE__ */ t(de, {})
|
|
16679
16679
|
}
|
|
16680
16680
|
) : /* @__PURE__ */ t(de, {});
|
|
16681
|
-
}),
|
|
16681
|
+
}), vT = (e) => {
|
|
16682
16682
|
switch (e) {
|
|
16683
16683
|
case Zn.BudgetExceeded:
|
|
16684
16684
|
case Zn.BudgetOffTarget:
|
|
@@ -17228,7 +17228,7 @@ const ml = x(() => {
|
|
|
17228
17228
|
)
|
|
17229
17229
|
] });
|
|
17230
17230
|
}), iC = ({ availableWidth: e, handleOnLeavClick: n }) => {
|
|
17231
|
-
const i =
|
|
17231
|
+
const i = Ye(), { common: a, settings: o } = A(), { isDesktop: r, isMobile: s, isSmallMobile: c, isTablet: l } = Ce(e), { config: u } = wt(), { updateUser: _ } = yt(), { user: h } = ft(), [p, m] = g.useState({
|
|
17232
17232
|
first_name: h.first_name,
|
|
17233
17233
|
last_name: h.last_name,
|
|
17234
17234
|
email: h.email,
|
|
@@ -17249,8 +17249,8 @@ const ml = x(() => {
|
|
|
17249
17249
|
}, [f]);
|
|
17250
17250
|
const N = () => {
|
|
17251
17251
|
if (p.birthday) {
|
|
17252
|
-
const L = new Date(p.birthday * 1e3), W = L.getUTCFullYear(), K = L.getUTCMonth(),
|
|
17253
|
-
return new Date(W, K,
|
|
17252
|
+
const L = new Date(p.birthday * 1e3), W = L.getUTCFullYear(), K = L.getUTCMonth(), oe = L.getUTCDate();
|
|
17253
|
+
return new Date(W, K, oe);
|
|
17254
17254
|
}
|
|
17255
17255
|
}, R = async () => {
|
|
17256
17256
|
await _({ ...h, ...p }), S(!1);
|
|
@@ -17280,7 +17280,7 @@ const ml = x(() => {
|
|
|
17280
17280
|
}
|
|
17281
17281
|
},
|
|
17282
17282
|
children: [
|
|
17283
|
-
/* @__PURE__ */ t(
|
|
17283
|
+
/* @__PURE__ */ t(qe, { children: o.personal_details }),
|
|
17284
17284
|
/* @__PURE__ */ t(X, { variant: "Body", children: o.update_information }),
|
|
17285
17285
|
/* @__PURE__ */ d(
|
|
17286
17286
|
b,
|
|
@@ -17764,7 +17764,7 @@ const oC = ({
|
|
|
17764
17764
|
},
|
|
17765
17765
|
children: [
|
|
17766
17766
|
/* @__PURE__ */ d(b, { gap: 4, children: [
|
|
17767
|
-
/* @__PURE__ */ t(
|
|
17767
|
+
/* @__PURE__ */ t(qe, { children: n.mobile_devices_title }),
|
|
17768
17768
|
/* @__PURE__ */ t(X, { variant: "Body", children: n.mobile_devices_info })
|
|
17769
17769
|
] }),
|
|
17770
17770
|
e ? /* @__PURE__ */ t(
|
|
@@ -17962,7 +17962,7 @@ const oC = ({
|
|
|
17962
17962
|
n().finally();
|
|
17963
17963
|
}, []), /* @__PURE__ */ d(b, { sx: { gap: 24, py: 24 }, children: [
|
|
17964
17964
|
/* @__PURE__ */ d(b, { sx: { px: 24 }, children: [
|
|
17965
|
-
/* @__PURE__ */ t(
|
|
17965
|
+
/* @__PURE__ */ t(qe, { children: e.transaction_rules_label }),
|
|
17966
17966
|
/* @__PURE__ */ t(X, { variant: "Body", children: e.transaction_rules_description })
|
|
17967
17967
|
] }),
|
|
17968
17968
|
/* @__PURE__ */ t(ae, { children: i.map((a, o) => /* @__PURE__ */ t(gC, { rule: a }, o)) })
|
|
@@ -18014,8 +18014,8 @@ const oC = ({
|
|
|
18014
18014
|
children: s ? /* @__PURE__ */ t(gi, { dateAdapter: Jn, children: /* @__PURE__ */ t(
|
|
18015
18015
|
bo,
|
|
18016
18016
|
{
|
|
18017
|
-
maxDate:
|
|
18018
|
-
minDate:
|
|
18017
|
+
maxDate: Qe(/* @__PURE__ */ new Date()),
|
|
18018
|
+
minDate: Ze(/* @__PURE__ */ new Date()),
|
|
18019
18019
|
onChange: (E) => {
|
|
18020
18020
|
p(E.getDate());
|
|
18021
18021
|
},
|
|
@@ -18254,7 +18254,7 @@ const oC = ({
|
|
|
18254
18254
|
await a(u);
|
|
18255
18255
|
};
|
|
18256
18256
|
return /* @__PURE__ */ d(b, { children: [
|
|
18257
|
-
/* @__PURE__ */ t(
|
|
18257
|
+
/* @__PURE__ */ t(qe, { sx: { mt: 24 }, children: n.delivery_method_title }),
|
|
18258
18258
|
i.email_notifications_enabled && /* @__PURE__ */ d(Z, { children: [
|
|
18259
18259
|
/* @__PURE__ */ t(
|
|
18260
18260
|
On,
|
|
@@ -18319,7 +18319,7 @@ const oC = ({
|
|
|
18319
18319
|
return /* @__PURE__ */ d(b, { ref: n, children: [
|
|
18320
18320
|
/* @__PURE__ */ t(P, {}),
|
|
18321
18321
|
/* @__PURE__ */ d(b, { sx: { pt: 12 }, children: [
|
|
18322
|
-
/* @__PURE__ */ t(
|
|
18322
|
+
/* @__PURE__ */ t(qe, { sx: { lineHeight: "20px", pb: 4, pt: 16 }, children: o.personal_details }),
|
|
18323
18323
|
/* @__PURE__ */ d(b, { sx: { flexDirection: i <= 768 ? "column" : "row", gap: 24, py: 16 }, children: [
|
|
18324
18324
|
e.display_email_edit_field_in_settings && /* @__PURE__ */ d(b, { sx: { flex: 1, pb: 14 }, children: [
|
|
18325
18325
|
/* @__PURE__ */ t(
|
|
@@ -18421,7 +18421,7 @@ const oC = ({
|
|
|
18421
18421
|
/* @__PURE__ */ t(fC, {}),
|
|
18422
18422
|
/* @__PURE__ */ t(P, { sx: { my: 24 } })
|
|
18423
18423
|
] }),
|
|
18424
|
-
/* @__PURE__ */ t(
|
|
18424
|
+
/* @__PURE__ */ t(qe, { sx: { mb: 4 }, children: o.notification_types_title })
|
|
18425
18425
|
] }),
|
|
18426
18426
|
/* @__PURE__ */ d(ae, { children: [
|
|
18427
18427
|
e.includes(Mt.Accounts) && /* @__PURE__ */ t(j, { children: /* @__PURE__ */ d(ge, { onClick: () => u(Mt.Accounts), children: [
|
|
@@ -18466,7 +18466,7 @@ const oC = ({
|
|
|
18466
18466
|
return /* @__PURE__ */ d(g.Fragment, { children: [
|
|
18467
18467
|
/* @__PURE__ */ d(st, { container: !0, sx: { alignItems: "center", mb: 24 }, children: [
|
|
18468
18468
|
/* @__PURE__ */ d(st, { item: !0, md: 12, sm: 12, xs: 12, children: [
|
|
18469
|
-
/* @__PURE__ */ t(
|
|
18469
|
+
/* @__PURE__ */ t(qe, { children: o }),
|
|
18470
18470
|
/* @__PURE__ */ t(X, { variant: "Body", children: a })
|
|
18471
18471
|
] }),
|
|
18472
18472
|
n && /* @__PURE__ */ t(
|
|
@@ -18562,7 +18562,7 @@ const oC = ({
|
|
|
18562
18562
|
imageLargeBreakPoint: o = 12,
|
|
18563
18563
|
sx: r
|
|
18564
18564
|
}) => {
|
|
18565
|
-
const s =
|
|
18565
|
+
const s = Ye();
|
|
18566
18566
|
return /* @__PURE__ */ d(g.Fragment, { children: [
|
|
18567
18567
|
/* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(st, { container: !0, rowSpacing: 24, children: [
|
|
18568
18568
|
/* @__PURE__ */ t(st, { item: !0, lg: 12, md: 12, sm: 12, xs: 12, children: n }),
|
|
@@ -18606,7 +18606,7 @@ const oC = ({
|
|
|
18606
18606
|
return /* @__PURE__ */ d(g.Fragment, { children: [
|
|
18607
18607
|
/* @__PURE__ */ d(st, { container: !0, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
|
|
18608
18608
|
/* @__PURE__ */ d(st, { item: !0, sm: 6, xs: 12, children: [
|
|
18609
|
-
/* @__PURE__ */ t(
|
|
18609
|
+
/* @__PURE__ */ t(qe, { color: "text.primary", children: o }),
|
|
18610
18610
|
/* @__PURE__ */ d(
|
|
18611
18611
|
c_,
|
|
18612
18612
|
{
|
|
@@ -18653,7 +18653,7 @@ const oC = ({
|
|
|
18653
18653
|
imageLargeBreakPoint: o = 4,
|
|
18654
18654
|
sx: r
|
|
18655
18655
|
}) => {
|
|
18656
|
-
const s =
|
|
18656
|
+
const s = Ye();
|
|
18657
18657
|
return /* @__PURE__ */ d(g.Fragment, { children: [
|
|
18658
18658
|
/* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(st, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
|
|
18659
18659
|
/* @__PURE__ */ t(
|
|
@@ -18700,7 +18700,7 @@ const oC = ({
|
|
|
18700
18700
|
imageLargeBreakPoint: o = 4,
|
|
18701
18701
|
sx: r
|
|
18702
18702
|
}) => {
|
|
18703
|
-
const s =
|
|
18703
|
+
const s = Ye();
|
|
18704
18704
|
return /* @__PURE__ */ d(g.Fragment, { children: [
|
|
18705
18705
|
/* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(st, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
|
|
18706
18706
|
/* @__PURE__ */ t(st, { item: !0, lg: 12 - o, md: 12, sm: 12, xs: 12, children: n }),
|
|
@@ -18738,7 +18738,7 @@ const oC = ({
|
|
|
18738
18738
|
imageLargeBreakPoint: o = 12,
|
|
18739
18739
|
sx: r
|
|
18740
18740
|
}) => {
|
|
18741
|
-
const s =
|
|
18741
|
+
const s = Ye();
|
|
18742
18742
|
return /* @__PURE__ */ d(g.Fragment, { children: [
|
|
18743
18743
|
/* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(st, { container: !0, rowSpacing: 24, children: [
|
|
18744
18744
|
/* @__PURE__ */ t(
|
|
@@ -18770,7 +18770,7 @@ const oC = ({
|
|
|
18770
18770
|
] }) }),
|
|
18771
18771
|
i && /* @__PURE__ */ t(P, {})
|
|
18772
18772
|
] });
|
|
18773
|
-
}, $ = ({ content: e, sx: n }) => /* @__PURE__ */ t(X, { sx: { lineHeight: "24px", py: 6, ...n }, children: e }), Te = ({ content: e, sx: n }) => /* @__PURE__ */ t(
|
|
18773
|
+
}, $ = ({ content: e, sx: n }) => /* @__PURE__ */ t(X, { sx: { lineHeight: "24px", py: 6, ...n }, children: e }), Te = ({ content: e, sx: n }) => /* @__PURE__ */ t(qe, { color: "text.primary", sx: { py: 12, whiteSpace: { sm: "nowrap", xs: "wrap" }, ...n }, children: e }), ie = ({
|
|
18774
18774
|
items: e,
|
|
18775
18775
|
listType: n = "ul",
|
|
18776
18776
|
subItemPlacement: i,
|
|
@@ -18782,49 +18782,49 @@ const oC = ({
|
|
|
18782
18782
|
/* @__PURE__ */ t($, { content: c, sx: { py: 1 } }),
|
|
18783
18783
|
i === l ? /* @__PURE__ */ t(s, { ...o === "ol" && { type: "a" }, children: a.map((u, _) => /* @__PURE__ */ t("li", { children: /* @__PURE__ */ t($, { content: u, sx: { py: 1 } }) }, _)) }) : null
|
|
18784
18784
|
] }, l)) }) });
|
|
18785
|
-
},
|
|
18786
|
-
ACCOUNT_DETAILS: `${
|
|
18787
|
-
ACCOUNT_OVERVIEW: `${
|
|
18788
|
-
ACCOUNT_ADD: `${
|
|
18789
|
-
ACCOUNT_BROKEN_CONNECTION: `${
|
|
18790
|
-
ACCOUNT_HIDE: `${
|
|
18791
|
-
ACCOUNT_MANAGE_CONNECTIONS: `${
|
|
18792
|
-
BUDGETS_ADD_SUB_BUDGET: `${
|
|
18793
|
-
BUDGETS_WIDGET: `${
|
|
18794
|
-
BUDGETS_EDIT_INCOME: `${
|
|
18795
|
-
CASHFLOW_WIDGET: `${
|
|
18796
|
-
CASHFLOW_EXPENSE_DETAILS: `${
|
|
18797
|
-
CASHFLOW_MANAGE_EXPENSES: `${
|
|
18798
|
-
DEBTS_DETAILS: `${
|
|
18799
|
-
DEBTS_OVERVIEW: `${
|
|
18800
|
-
DEBTS_PRIORITIZATION: `${
|
|
18801
|
-
DEBTS_SNOWBALL_METHOD: `${
|
|
18802
|
-
GENERAL_CATEGORIZE_TRANSACTIONS: `${
|
|
18803
|
-
GOALS_CREATE_GOAL: `${
|
|
18804
|
-
GOALS_DEBT_GOALS: `${
|
|
18805
|
-
GOALS_WIDGET_OVERVIEW: `${
|
|
18806
|
-
GOALS_MANAGE_GOALS: `${
|
|
18807
|
-
GOALS_RETIREMENT_GOALS: `${
|
|
18808
|
-
GOALS_SAVINGS_GOALS: `${
|
|
18809
|
-
INSIGHTS_CAROUSEL: `${
|
|
18810
|
-
INSIGHTS_FEED: `${
|
|
18811
|
-
INVESTMENTS_WIDGET_DETAILS: `${
|
|
18812
|
-
MOBILE_ADD_MOBILE_DEVICE: `${
|
|
18813
|
-
NETWORTH_ASSETS_LIABILITIES: `${
|
|
18814
|
-
NETWORTH_GAINS_LOSSES: `${
|
|
18815
|
-
NETWORTH_WIDGET: `${
|
|
18816
|
-
NOTIFICATIONS_MANAGING: `${
|
|
18817
|
-
NOTIFICATIONS_OVERVIEW: `${
|
|
18818
|
-
RECURRING_TRANSACTIONS_EXPENSE_DETAILS: `${
|
|
18819
|
-
RECURRING_TRANSACTIONS_MANAGE_EXPENSES: `${
|
|
18820
|
-
RECURRING_TRANSACTIONS_OVERVIEW: `${
|
|
18821
|
-
SPENDING_WIDGET: `${
|
|
18822
|
-
TRANSACTIONS_CATEGORIZE: `${
|
|
18823
|
-
TRANSACTIONS_EDIT: `${
|
|
18824
|
-
TRANSACTIONS_EXPORT: `${
|
|
18825
|
-
TRANSACTIONS_OVERVIEW: `${
|
|
18826
|
-
TRANSACTIONS_RULES: `${
|
|
18827
|
-
TRENDS_WIDGET: `${
|
|
18785
|
+
}, Ie = "https://content.moneydesktop.com/storage/MD_Assets/md/help", Re = {
|
|
18786
|
+
ACCOUNT_DETAILS: `${Ie}/account/AccountDetails.png`,
|
|
18787
|
+
ACCOUNT_OVERVIEW: `${Ie}/account/AccountsOverview.png`,
|
|
18788
|
+
ACCOUNT_ADD: `${Ie}/account/AddAccount.png`,
|
|
18789
|
+
ACCOUNT_BROKEN_CONNECTION: `${Ie}/account/BrokenConnection.png`,
|
|
18790
|
+
ACCOUNT_HIDE: `${Ie}/account/AccountHide.png`,
|
|
18791
|
+
ACCOUNT_MANAGE_CONNECTIONS: `${Ie}/account/ManageConnections.png`,
|
|
18792
|
+
BUDGETS_ADD_SUB_BUDGET: `${Ie}/budgets/AddSubBudget.png`,
|
|
18793
|
+
BUDGETS_WIDGET: `${Ie}/budgets/BudgetWidget.png`,
|
|
18794
|
+
BUDGETS_EDIT_INCOME: `${Ie}/budgets/EditIncome.png`,
|
|
18795
|
+
CASHFLOW_WIDGET: `${Ie}/cashflow/CashFlowWidget.png`,
|
|
18796
|
+
CASHFLOW_EXPENSE_DETAILS: `${Ie}/cashflow/ExpenseDetailsCurrent.png`,
|
|
18797
|
+
CASHFLOW_MANAGE_EXPENSES: `${Ie}/cashflow/ManageExpenses.png`,
|
|
18798
|
+
DEBTS_DETAILS: `${Ie}/debts/DebtDetails.png`,
|
|
18799
|
+
DEBTS_OVERVIEW: `${Ie}/debts/DebtOverview.png`,
|
|
18800
|
+
DEBTS_PRIORITIZATION: `${Ie}/debts/DebtPrioritization.png`,
|
|
18801
|
+
DEBTS_SNOWBALL_METHOD: `${Ie}/debts/SnowballMethod.png`,
|
|
18802
|
+
GENERAL_CATEGORIZE_TRANSACTIONS: `${Ie}/general/CategorizeTransactions.png`,
|
|
18803
|
+
GOALS_CREATE_GOAL: `${Ie}/goals/CreateGoal.png`,
|
|
18804
|
+
GOALS_DEBT_GOALS: `${Ie}/goals/DebtGoals.png`,
|
|
18805
|
+
GOALS_WIDGET_OVERVIEW: `${Ie}/goals/GoalsWidgetOverview.png`,
|
|
18806
|
+
GOALS_MANAGE_GOALS: `${Ie}/goals/ManageGoals.png`,
|
|
18807
|
+
GOALS_RETIREMENT_GOALS: `${Ie}/goals/RetirementGoals.png`,
|
|
18808
|
+
GOALS_SAVINGS_GOALS: `${Ie}/goals/SavingsGoals.png`,
|
|
18809
|
+
INSIGHTS_CAROUSEL: `${Ie}/insights/InsightsCarousel.png`,
|
|
18810
|
+
INSIGHTS_FEED: `${Ie}/insights/InsightsFeed.png`,
|
|
18811
|
+
INVESTMENTS_WIDGET_DETAILS: `${Ie}/investments/WidgetDetails.png`,
|
|
18812
|
+
MOBILE_ADD_MOBILE_DEVICE: `${Ie}/mobile/AddMobileDevice.png`,
|
|
18813
|
+
NETWORTH_ASSETS_LIABILITIES: `${Ie}/networth/AssetsLiabilities.png`,
|
|
18814
|
+
NETWORTH_GAINS_LOSSES: `${Ie}/networth/GainsLosses.png`,
|
|
18815
|
+
NETWORTH_WIDGET: `${Ie}/networth/NetWorthWidget.png`,
|
|
18816
|
+
NOTIFICATIONS_MANAGING: `${Ie}/notifications/ManagingNotifications.png`,
|
|
18817
|
+
NOTIFICATIONS_OVERVIEW: `${Ie}/notifications/NotificationOverview.png`,
|
|
18818
|
+
RECURRING_TRANSACTIONS_EXPENSE_DETAILS: `${Ie}/recurringtransactions/expenseDetails.png`,
|
|
18819
|
+
RECURRING_TRANSACTIONS_MANAGE_EXPENSES: `${Ie}/recurringtransactions/manageExpenses.png`,
|
|
18820
|
+
RECURRING_TRANSACTIONS_OVERVIEW: `${Ie}/recurringtransactions/overview.png`,
|
|
18821
|
+
SPENDING_WIDGET: `${Ie}/spending/SpendingWidget.png`,
|
|
18822
|
+
TRANSACTIONS_CATEGORIZE: `${Ie}/transactions/CategorizeTransactions.png`,
|
|
18823
|
+
TRANSACTIONS_EDIT: `${Ie}/transactions/EditTransactions.png`,
|
|
18824
|
+
TRANSACTIONS_EXPORT: `${Ie}/transactions/ExportTransactions.png`,
|
|
18825
|
+
TRANSACTIONS_OVERVIEW: `${Ie}/transactions/Overview.png`,
|
|
18826
|
+
TRANSACTIONS_RULES: `${Ie}/transactions/TransactionRules.png`,
|
|
18827
|
+
TRENDS_WIDGET: `${Ie}/trends/TrendsWidget.png`
|
|
18828
18828
|
}, EC = ({ copy: e, topicKey: n }) => ({
|
|
18829
18829
|
"accounts-overview": /* @__PURE__ */ d(g.Fragment, { children: [
|
|
18830
18830
|
/* @__PURE__ */ t(
|
|
@@ -18834,7 +18834,7 @@ const oC = ({
|
|
|
18834
18834
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
18835
18835
|
/* @__PURE__ */ t($, { content: e.accounts_overview.description, sx: { mt: 24 } }),
|
|
18836
18836
|
/* @__PURE__ */ t(
|
|
18837
|
-
|
|
18837
|
+
ie,
|
|
18838
18838
|
{
|
|
18839
18839
|
items: [
|
|
18840
18840
|
e.accounts_overview.widget_overview_instruction_step_1,
|
|
@@ -18854,7 +18854,7 @@ const oC = ({
|
|
|
18854
18854
|
{
|
|
18855
18855
|
altImage: e.accounts_overview.alt_image_account_details,
|
|
18856
18856
|
content: /* @__PURE__ */ t(g.Fragment, { children: /* @__PURE__ */ t(
|
|
18857
|
-
|
|
18857
|
+
ie,
|
|
18858
18858
|
{
|
|
18859
18859
|
items: [
|
|
18860
18860
|
T(
|
|
@@ -18890,7 +18890,7 @@ const oC = ({
|
|
|
18890
18890
|
altImage: e.accounts_overview.alt_image_manage_connections,
|
|
18891
18891
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
18892
18892
|
/* @__PURE__ */ t(
|
|
18893
|
-
|
|
18893
|
+
ie,
|
|
18894
18894
|
{
|
|
18895
18895
|
items: [
|
|
18896
18896
|
T(
|
|
@@ -18925,7 +18925,7 @@ const oC = ({
|
|
|
18925
18925
|
),
|
|
18926
18926
|
/* @__PURE__ */ t(Te, { content: e.accounts_overview.hide_account_title }),
|
|
18927
18927
|
/* @__PURE__ */ t(
|
|
18928
|
-
|
|
18928
|
+
ie,
|
|
18929
18929
|
{
|
|
18930
18930
|
items: [
|
|
18931
18931
|
T(
|
|
@@ -18942,7 +18942,7 @@ const oC = ({
|
|
|
18942
18942
|
),
|
|
18943
18943
|
/* @__PURE__ */ t(Te, { content: e.accounts_overview.unhide_account_title }),
|
|
18944
18944
|
/* @__PURE__ */ t(
|
|
18945
|
-
|
|
18945
|
+
ie,
|
|
18946
18946
|
{
|
|
18947
18947
|
items: [
|
|
18948
18948
|
T(
|
|
@@ -18970,7 +18970,7 @@ const oC = ({
|
|
|
18970
18970
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
18971
18971
|
/* @__PURE__ */ t($, { content: e.trouble_adding_an_account.steps_title }),
|
|
18972
18972
|
/* @__PURE__ */ t(
|
|
18973
|
-
|
|
18973
|
+
ie,
|
|
18974
18974
|
{
|
|
18975
18975
|
items: [
|
|
18976
18976
|
e.trouble_adding_an_account.step_1,
|
|
@@ -19005,7 +19005,7 @@ const oC = ({
|
|
|
19005
19005
|
}
|
|
19006
19006
|
),
|
|
19007
19007
|
/* @__PURE__ */ t(
|
|
19008
|
-
|
|
19008
|
+
ie,
|
|
19009
19009
|
{
|
|
19010
19010
|
items: [
|
|
19011
19011
|
e.need_to_fix_a_broken_account.step_1,
|
|
@@ -19039,7 +19039,7 @@ const oC = ({
|
|
|
19039
19039
|
/* @__PURE__ */ t(Te, { content: e.seeing_duplicate_accounts.warning_title }),
|
|
19040
19040
|
/* @__PURE__ */ t(Te, { content: e.seeing_duplicate_accounts.instructions_title }),
|
|
19041
19041
|
/* @__PURE__ */ t(
|
|
19042
|
-
|
|
19042
|
+
ie,
|
|
19043
19043
|
{
|
|
19044
19044
|
items: [
|
|
19045
19045
|
e.seeing_duplicate_accounts.step_1_instruction,
|
|
@@ -19073,7 +19073,7 @@ const oC = ({
|
|
|
19073
19073
|
/* @__PURE__ */ t($, { content: i.overview_description, sx: { mt: 24 } }),
|
|
19074
19074
|
/* @__PURE__ */ t($, { content: i.overview_list_description, sx: { mt: 12 } }),
|
|
19075
19075
|
/* @__PURE__ */ t(
|
|
19076
|
-
|
|
19076
|
+
ie,
|
|
19077
19077
|
{
|
|
19078
19078
|
items: [
|
|
19079
19079
|
T(
|
|
@@ -19099,7 +19099,7 @@ const oC = ({
|
|
|
19099
19099
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
19100
19100
|
/* @__PURE__ */ t($, { content: i.adjusting_income_list_description, sx: { mt: 24 } }),
|
|
19101
19101
|
/* @__PURE__ */ t(
|
|
19102
|
-
|
|
19102
|
+
ie,
|
|
19103
19103
|
{
|
|
19104
19104
|
items: [
|
|
19105
19105
|
T(
|
|
@@ -19124,7 +19124,7 @@ const oC = ({
|
|
|
19124
19124
|
{
|
|
19125
19125
|
altImage: i.create_budget_alt_image,
|
|
19126
19126
|
content: /* @__PURE__ */ t(g.Fragment, { children: /* @__PURE__ */ t(
|
|
19127
|
-
|
|
19127
|
+
ie,
|
|
19128
19128
|
{
|
|
19129
19129
|
items: [
|
|
19130
19130
|
i.create_budget_list_items_1,
|
|
@@ -19248,7 +19248,7 @@ const oC = ({
|
|
|
19248
19248
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
19249
19249
|
/* @__PURE__ */ t($, { content: n.debt_prioritization_list_1_desc }),
|
|
19250
19250
|
/* @__PURE__ */ t(
|
|
19251
|
-
|
|
19251
|
+
ie,
|
|
19252
19252
|
{
|
|
19253
19253
|
items: [
|
|
19254
19254
|
T(
|
|
@@ -19272,7 +19272,7 @@ const oC = ({
|
|
|
19272
19272
|
),
|
|
19273
19273
|
/* @__PURE__ */ t($, { content: n.debt_prioritization_list_2_desc, sx: { mt: 12 } }),
|
|
19274
19274
|
/* @__PURE__ */ t(
|
|
19275
|
-
|
|
19275
|
+
ie,
|
|
19276
19276
|
{
|
|
19277
19277
|
items: [
|
|
19278
19278
|
n.debt_prioritization_list_2_item_1,
|
|
@@ -19292,7 +19292,7 @@ const oC = ({
|
|
|
19292
19292
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
19293
19293
|
/* @__PURE__ */ t($, { content: n.debt_chart_list_dec }),
|
|
19294
19294
|
/* @__PURE__ */ t(
|
|
19295
|
-
|
|
19295
|
+
ie,
|
|
19296
19296
|
{
|
|
19297
19297
|
items: [
|
|
19298
19298
|
T(
|
|
@@ -19320,7 +19320,7 @@ const oC = ({
|
|
|
19320
19320
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
19321
19321
|
/* @__PURE__ */ t($, { content: n.debt_list_dec }),
|
|
19322
19322
|
/* @__PURE__ */ t(
|
|
19323
|
-
|
|
19323
|
+
ie,
|
|
19324
19324
|
{
|
|
19325
19325
|
items: [
|
|
19326
19326
|
n.debt_list_item_1,
|
|
@@ -19340,7 +19340,7 @@ const oC = ({
|
|
|
19340
19340
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
19341
19341
|
/* @__PURE__ */ t($, { content: n.debt_details_list_1_desc, sx: { mt: 24 } }),
|
|
19342
19342
|
/* @__PURE__ */ t(
|
|
19343
|
-
|
|
19343
|
+
ie,
|
|
19344
19344
|
{
|
|
19345
19345
|
items: [
|
|
19346
19346
|
n.debt_details_list_1_item_1,
|
|
@@ -19354,7 +19354,7 @@ const oC = ({
|
|
|
19354
19354
|
),
|
|
19355
19355
|
/* @__PURE__ */ t($, { content: n.debt_details_list_2_desc, sx: { mt: 12 } }),
|
|
19356
19356
|
/* @__PURE__ */ t(
|
|
19357
|
-
|
|
19357
|
+
ie,
|
|
19358
19358
|
{
|
|
19359
19359
|
items: [
|
|
19360
19360
|
n.debt_details_list_2_item_1,
|
|
@@ -19378,7 +19378,7 @@ const oC = ({
|
|
|
19378
19378
|
/* @__PURE__ */ t($, { content: n.hiding_accounts_desc }),
|
|
19379
19379
|
/* @__PURE__ */ t($, { content: n.hiding_accounts_list_1_desc, sx: { mt: 12 } }),
|
|
19380
19380
|
/* @__PURE__ */ t(
|
|
19381
|
-
|
|
19381
|
+
ie,
|
|
19382
19382
|
{
|
|
19383
19383
|
items: [
|
|
19384
19384
|
n.hiding_accounts_list_1_item_1,
|
|
@@ -19393,7 +19393,7 @@ const oC = ({
|
|
|
19393
19393
|
),
|
|
19394
19394
|
/* @__PURE__ */ t($, { content: n.hiding_accounts_list_2_desc, sx: { mt: 12 } }),
|
|
19395
19395
|
/* @__PURE__ */ t(
|
|
19396
|
-
|
|
19396
|
+
ie,
|
|
19397
19397
|
{
|
|
19398
19398
|
items: [
|
|
19399
19399
|
n.hiding_accounts_list_2_item_1,
|
|
@@ -19414,7 +19414,7 @@ const oC = ({
|
|
|
19414
19414
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
19415
19415
|
/* @__PURE__ */ t($, { content: n.extra_payments_list_1_desc }),
|
|
19416
19416
|
/* @__PURE__ */ t(
|
|
19417
|
-
|
|
19417
|
+
ie,
|
|
19418
19418
|
{
|
|
19419
19419
|
items: [
|
|
19420
19420
|
T(
|
|
@@ -19466,7 +19466,7 @@ const oC = ({
|
|
|
19466
19466
|
}
|
|
19467
19467
|
),
|
|
19468
19468
|
/* @__PURE__ */ t(
|
|
19469
|
-
|
|
19469
|
+
ie,
|
|
19470
19470
|
{
|
|
19471
19471
|
items: [
|
|
19472
19472
|
T(
|
|
@@ -19500,7 +19500,7 @@ const oC = ({
|
|
|
19500
19500
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
19501
19501
|
/* @__PURE__ */ t($, { content: i.transactions_categorized_subheader }),
|
|
19502
19502
|
/* @__PURE__ */ t(
|
|
19503
|
-
|
|
19503
|
+
ie,
|
|
19504
19504
|
{
|
|
19505
19505
|
items: [
|
|
19506
19506
|
T(
|
|
@@ -19522,7 +19522,7 @@ const oC = ({
|
|
|
19522
19522
|
}
|
|
19523
19523
|
),
|
|
19524
19524
|
/* @__PURE__ */ t(
|
|
19525
|
-
|
|
19525
|
+
ie,
|
|
19526
19526
|
{
|
|
19527
19527
|
items: [
|
|
19528
19528
|
T(
|
|
@@ -19559,7 +19559,7 @@ const oC = ({
|
|
|
19559
19559
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
19560
19560
|
/* @__PURE__ */ t($, { content: i.supported_browser_subheader }),
|
|
19561
19561
|
/* @__PURE__ */ t(
|
|
19562
|
-
|
|
19562
|
+
ie,
|
|
19563
19563
|
{
|
|
19564
19564
|
items: [
|
|
19565
19565
|
i.supported_browser_step1,
|
|
@@ -19569,7 +19569,7 @@ const oC = ({
|
|
|
19569
19569
|
),
|
|
19570
19570
|
/* @__PURE__ */ t($, { content: i.display_issues_subheader, sx: { mt: 6 } }),
|
|
19571
19571
|
/* @__PURE__ */ t(
|
|
19572
|
-
|
|
19572
|
+
ie,
|
|
19573
19573
|
{
|
|
19574
19574
|
items: [
|
|
19575
19575
|
T(
|
|
@@ -19614,7 +19614,7 @@ const oC = ({
|
|
|
19614
19614
|
/* @__PURE__ */ t(Te, { content: n.setting_goals_section_title }),
|
|
19615
19615
|
/* @__PURE__ */ t($, { content: `${n.setting_goals_title_text}:` }),
|
|
19616
19616
|
/* @__PURE__ */ t(
|
|
19617
|
-
|
|
19617
|
+
ie,
|
|
19618
19618
|
{
|
|
19619
19619
|
items: [
|
|
19620
19620
|
T(
|
|
@@ -19642,7 +19642,7 @@ const oC = ({
|
|
|
19642
19642
|
{
|
|
19643
19643
|
altImage: "create_goal",
|
|
19644
19644
|
content: /* @__PURE__ */ t(
|
|
19645
|
-
|
|
19645
|
+
ie,
|
|
19646
19646
|
{
|
|
19647
19647
|
items: [
|
|
19648
19648
|
T(
|
|
@@ -19676,7 +19676,7 @@ const oC = ({
|
|
|
19676
19676
|
{
|
|
19677
19677
|
altImage: "savings_goal",
|
|
19678
19678
|
content: /* @__PURE__ */ t(
|
|
19679
|
-
|
|
19679
|
+
ie,
|
|
19680
19680
|
{
|
|
19681
19681
|
items: [
|
|
19682
19682
|
n.savings_goals_step1,
|
|
@@ -19700,7 +19700,7 @@ const oC = ({
|
|
|
19700
19700
|
{
|
|
19701
19701
|
altImage: "debt_payoff",
|
|
19702
19702
|
content: /* @__PURE__ */ t(g.Fragment, { children: /* @__PURE__ */ t(
|
|
19703
|
-
|
|
19703
|
+
ie,
|
|
19704
19704
|
{
|
|
19705
19705
|
items: [
|
|
19706
19706
|
n.debt_payoff_goals_step1,
|
|
@@ -19726,7 +19726,7 @@ const oC = ({
|
|
|
19726
19726
|
{
|
|
19727
19727
|
altImage: "retirement_goal",
|
|
19728
19728
|
content: /* @__PURE__ */ t(
|
|
19729
|
-
|
|
19729
|
+
ie,
|
|
19730
19730
|
{
|
|
19731
19731
|
items: [
|
|
19732
19732
|
T(
|
|
@@ -19759,7 +19759,7 @@ const oC = ({
|
|
|
19759
19759
|
{
|
|
19760
19760
|
altImage: "manage_goal",
|
|
19761
19761
|
content: /* @__PURE__ */ t(
|
|
19762
|
-
|
|
19762
|
+
ie,
|
|
19763
19763
|
{
|
|
19764
19764
|
items: [
|
|
19765
19765
|
T(
|
|
@@ -19816,7 +19816,7 @@ const oC = ({
|
|
|
19816
19816
|
}
|
|
19817
19817
|
),
|
|
19818
19818
|
/* @__PURE__ */ t(
|
|
19819
|
-
|
|
19819
|
+
ie,
|
|
19820
19820
|
{
|
|
19821
19821
|
items: [
|
|
19822
19822
|
n.list_1_item_1,
|
|
@@ -19838,7 +19838,7 @@ const oC = ({
|
|
|
19838
19838
|
sx: { mt: 12 }
|
|
19839
19839
|
}
|
|
19840
19840
|
),
|
|
19841
|
-
/* @__PURE__ */ t(
|
|
19841
|
+
/* @__PURE__ */ t(ie, { items: [n.list_2_item_1, n.list_2_item_2] })
|
|
19842
19842
|
] }),
|
|
19843
19843
|
hasDivider: !1,
|
|
19844
19844
|
image: Re.INVESTMENTS_WIDGET_DETAILS,
|
|
@@ -19858,7 +19858,7 @@ const oC = ({
|
|
|
19858
19858
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
19859
19859
|
/* @__PURE__ */ t($, { content: n.mobile_devices_overview_subheader }),
|
|
19860
19860
|
/* @__PURE__ */ t(
|
|
19861
|
-
|
|
19861
|
+
ie,
|
|
19862
19862
|
{
|
|
19863
19863
|
items: [
|
|
19864
19864
|
T(
|
|
@@ -19898,7 +19898,7 @@ const oC = ({
|
|
|
19898
19898
|
),
|
|
19899
19899
|
/* @__PURE__ */ t($, { content: n.preventing_app_crashes_subheader }),
|
|
19900
19900
|
/* @__PURE__ */ t(
|
|
19901
|
-
|
|
19901
|
+
ie,
|
|
19902
19902
|
{
|
|
19903
19903
|
items: [
|
|
19904
19904
|
T(
|
|
@@ -19984,7 +19984,7 @@ const oC = ({
|
|
|
19984
19984
|
}
|
|
19985
19985
|
),
|
|
19986
19986
|
/* @__PURE__ */ t(
|
|
19987
|
-
|
|
19987
|
+
ie,
|
|
19988
19988
|
{
|
|
19989
19989
|
items: [
|
|
19990
19990
|
T(
|
|
@@ -20017,7 +20017,7 @@ const oC = ({
|
|
|
20017
20017
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
20018
20018
|
/* @__PURE__ */ t($, { content: i.assets_liabilities_subheader }),
|
|
20019
20019
|
/* @__PURE__ */ t(
|
|
20020
|
-
|
|
20020
|
+
ie,
|
|
20021
20021
|
{
|
|
20022
20022
|
items: [
|
|
20023
20023
|
T(
|
|
@@ -20030,7 +20030,7 @@ const oC = ({
|
|
|
20030
20030
|
}
|
|
20031
20031
|
),
|
|
20032
20032
|
/* @__PURE__ */ t(
|
|
20033
|
-
|
|
20033
|
+
ie,
|
|
20034
20034
|
{
|
|
20035
20035
|
items: [
|
|
20036
20036
|
T(
|
|
@@ -20084,7 +20084,7 @@ const oC = ({
|
|
|
20084
20084
|
{
|
|
20085
20085
|
altImage: e.notifications_overview.alt_image_managing_notifications,
|
|
20086
20086
|
content: /* @__PURE__ */ t(g.Fragment, { children: /* @__PURE__ */ t(
|
|
20087
|
-
|
|
20087
|
+
ie,
|
|
20088
20088
|
{
|
|
20089
20089
|
items: [
|
|
20090
20090
|
e.notifications_overview.managing_notifications_list_1,
|
|
@@ -20112,7 +20112,7 @@ const oC = ({
|
|
|
20112
20112
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
20113
20113
|
/* @__PURE__ */ t(Te, { content: e.notifications_overview.notification_work_section_title }),
|
|
20114
20114
|
/* @__PURE__ */ t(
|
|
20115
|
-
|
|
20115
|
+
ie,
|
|
20116
20116
|
{
|
|
20117
20117
|
items: [
|
|
20118
20118
|
T(
|
|
@@ -20144,7 +20144,7 @@ const oC = ({
|
|
|
20144
20144
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
20145
20145
|
/* @__PURE__ */ t(Te, { content: e.notifications_overview.verify_email_section_title }),
|
|
20146
20146
|
/* @__PURE__ */ t(
|
|
20147
|
-
|
|
20147
|
+
ie,
|
|
20148
20148
|
{
|
|
20149
20149
|
items: [
|
|
20150
20150
|
e.notifications_overview.verify_email_list_1,
|
|
@@ -20223,7 +20223,7 @@ const oC = ({
|
|
|
20223
20223
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
20224
20224
|
/* @__PURE__ */ t($, { content: n.payment_frequency_dec_1 }),
|
|
20225
20225
|
/* @__PURE__ */ t(
|
|
20226
|
-
|
|
20226
|
+
ie,
|
|
20227
20227
|
{
|
|
20228
20228
|
items: [
|
|
20229
20229
|
n.payment_list_item_1,
|
|
@@ -20264,7 +20264,7 @@ const oC = ({
|
|
|
20264
20264
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
20265
20265
|
/* @__PURE__ */ t($, { content: i.widget_instruction }),
|
|
20266
20266
|
/* @__PURE__ */ t(
|
|
20267
|
-
|
|
20267
|
+
ie,
|
|
20268
20268
|
{
|
|
20269
20269
|
items: [
|
|
20270
20270
|
i.widget_overview_instruction_1,
|
|
@@ -20290,7 +20290,7 @@ const oC = ({
|
|
|
20290
20290
|
/* @__PURE__ */ t(Te, { content: i.date_range_section_title }),
|
|
20291
20291
|
/* @__PURE__ */ t($, { content: i.date_range_section }),
|
|
20292
20292
|
/* @__PURE__ */ t(
|
|
20293
|
-
|
|
20293
|
+
ie,
|
|
20294
20294
|
{
|
|
20295
20295
|
items: [
|
|
20296
20296
|
T(
|
|
@@ -20319,7 +20319,7 @@ const oC = ({
|
|
|
20319
20319
|
at,
|
|
20320
20320
|
{
|
|
20321
20321
|
content: /* @__PURE__ */ t(
|
|
20322
|
-
|
|
20322
|
+
ie,
|
|
20323
20323
|
{
|
|
20324
20324
|
items: [
|
|
20325
20325
|
T(
|
|
@@ -20344,7 +20344,7 @@ const oC = ({
|
|
|
20344
20344
|
at,
|
|
20345
20345
|
{
|
|
20346
20346
|
content: /* @__PURE__ */ t(
|
|
20347
|
-
|
|
20347
|
+
ie,
|
|
20348
20348
|
{
|
|
20349
20349
|
items: [i.category_seem_off_list_1, i.category_seem_off_list_2]
|
|
20350
20350
|
}
|
|
@@ -20363,7 +20363,7 @@ const oC = ({
|
|
|
20363
20363
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
20364
20364
|
/* @__PURE__ */ t($, { content: e.transactions_widget_overview.widget_overview_description }),
|
|
20365
20365
|
/* @__PURE__ */ t(
|
|
20366
|
-
|
|
20366
|
+
ie,
|
|
20367
20367
|
{
|
|
20368
20368
|
items: [
|
|
20369
20369
|
e.transactions_widget_overview.widget_overview_new_transactions,
|
|
@@ -20408,7 +20408,7 @@ const oC = ({
|
|
|
20408
20408
|
}
|
|
20409
20409
|
),
|
|
20410
20410
|
/* @__PURE__ */ t(
|
|
20411
|
-
|
|
20411
|
+
ie,
|
|
20412
20412
|
{
|
|
20413
20413
|
items: [
|
|
20414
20414
|
e.transactions_widget_overview.edit_transactions_payee_description,
|
|
@@ -20426,7 +20426,7 @@ const oC = ({
|
|
|
20426
20426
|
}
|
|
20427
20427
|
),
|
|
20428
20428
|
/* @__PURE__ */ t(
|
|
20429
|
-
|
|
20429
|
+
ie,
|
|
20430
20430
|
{
|
|
20431
20431
|
items: [
|
|
20432
20432
|
e.transactions_widget_overview.edit_transactions_flag_tracking,
|
|
@@ -20466,7 +20466,7 @@ const oC = ({
|
|
|
20466
20466
|
}
|
|
20467
20467
|
),
|
|
20468
20468
|
/* @__PURE__ */ t(
|
|
20469
|
-
|
|
20469
|
+
ie,
|
|
20470
20470
|
{
|
|
20471
20471
|
items: [
|
|
20472
20472
|
T(
|
|
@@ -20504,7 +20504,7 @@ const oC = ({
|
|
|
20504
20504
|
}
|
|
20505
20505
|
),
|
|
20506
20506
|
/* @__PURE__ */ t(
|
|
20507
|
-
|
|
20507
|
+
ie,
|
|
20508
20508
|
{
|
|
20509
20509
|
items: [
|
|
20510
20510
|
e.transactions_widget_overview.transaction_rules_recategorize,
|
|
@@ -20524,7 +20524,7 @@ const oC = ({
|
|
|
20524
20524
|
}
|
|
20525
20525
|
),
|
|
20526
20526
|
/* @__PURE__ */ t(
|
|
20527
|
-
|
|
20527
|
+
ie,
|
|
20528
20528
|
{
|
|
20529
20529
|
items: [
|
|
20530
20530
|
T(
|
|
@@ -20548,7 +20548,7 @@ const oC = ({
|
|
|
20548
20548
|
}
|
|
20549
20549
|
),
|
|
20550
20550
|
/* @__PURE__ */ t(
|
|
20551
|
-
|
|
20551
|
+
ie,
|
|
20552
20552
|
{
|
|
20553
20553
|
items: [
|
|
20554
20554
|
T(
|
|
@@ -20583,7 +20583,7 @@ const oC = ({
|
|
|
20583
20583
|
}
|
|
20584
20584
|
),
|
|
20585
20585
|
/* @__PURE__ */ t(
|
|
20586
|
-
|
|
20586
|
+
ie,
|
|
20587
20587
|
{
|
|
20588
20588
|
items: [
|
|
20589
20589
|
e.transactions_widget_overview.split_transactions_select_transaction,
|
|
@@ -20608,7 +20608,7 @@ const oC = ({
|
|
|
20608
20608
|
}
|
|
20609
20609
|
),
|
|
20610
20610
|
/* @__PURE__ */ t(
|
|
20611
|
-
|
|
20611
|
+
ie,
|
|
20612
20612
|
{
|
|
20613
20613
|
items: [
|
|
20614
20614
|
e.transactions_widget_overview.split_transactions_delete_select_split_transaction,
|
|
@@ -20633,7 +20633,7 @@ const oC = ({
|
|
|
20633
20633
|
"seeing-duplicate-transactions": /* @__PURE__ */ d(g.Fragment, { children: [
|
|
20634
20634
|
/* @__PURE__ */ t($, { content: e.duplicate_transactions.duplicate_transactions_title, sx: { pt: 24 } }),
|
|
20635
20635
|
/* @__PURE__ */ t(
|
|
20636
|
-
|
|
20636
|
+
ie,
|
|
20637
20637
|
{
|
|
20638
20638
|
items: [
|
|
20639
20639
|
T(
|
|
@@ -20656,7 +20656,7 @@ const oC = ({
|
|
|
20656
20656
|
"missing-transactions": /* @__PURE__ */ d(g.Fragment, { children: [
|
|
20657
20657
|
/* @__PURE__ */ t($, { content: e.missing_transactions.missing_transactions_title, sx: { pt: 24 } }),
|
|
20658
20658
|
/* @__PURE__ */ t(
|
|
20659
|
-
|
|
20659
|
+
ie,
|
|
20660
20660
|
{
|
|
20661
20661
|
items: [
|
|
20662
20662
|
T(
|
|
@@ -20679,7 +20679,7 @@ const oC = ({
|
|
|
20679
20679
|
"pending-transactions": /* @__PURE__ */ d(g.Fragment, { children: [
|
|
20680
20680
|
/* @__PURE__ */ t($, { content: e.pending_transactions.pending_transactions_title, sx: { pt: 24 } }),
|
|
20681
20681
|
/* @__PURE__ */ t(
|
|
20682
|
-
|
|
20682
|
+
ie,
|
|
20683
20683
|
{
|
|
20684
20684
|
items: [
|
|
20685
20685
|
T(
|
|
@@ -20707,7 +20707,7 @@ const oC = ({
|
|
|
20707
20707
|
),
|
|
20708
20708
|
/* @__PURE__ */ t($, { content: e.export_transactions.export_to_export, sx: { pt: 12 } }),
|
|
20709
20709
|
/* @__PURE__ */ t(
|
|
20710
|
-
|
|
20710
|
+
ie,
|
|
20711
20711
|
{
|
|
20712
20712
|
items: [
|
|
20713
20713
|
T(
|
|
@@ -20738,7 +20738,7 @@ const oC = ({
|
|
|
20738
20738
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
20739
20739
|
/* @__PURE__ */ t($, { content: e.trends_widget_overview.widget_overview_description }),
|
|
20740
20740
|
/* @__PURE__ */ t(
|
|
20741
|
-
|
|
20741
|
+
ie,
|
|
20742
20742
|
{
|
|
20743
20743
|
items: [
|
|
20744
20744
|
T(
|
|
@@ -20768,7 +20768,7 @@ const oC = ({
|
|
|
20768
20768
|
content: /* @__PURE__ */ d(g.Fragment, { children: [
|
|
20769
20769
|
/* @__PURE__ */ t(Te, { content: e.trends_widget_overview.exploring_trends_title }),
|
|
20770
20770
|
/* @__PURE__ */ t(
|
|
20771
|
-
|
|
20771
|
+
ie,
|
|
20772
20772
|
{
|
|
20773
20773
|
items: [
|
|
20774
20774
|
e.trends_widget_overview.exploring_trends_instruction_1,
|
|
@@ -20789,7 +20789,7 @@ const oC = ({
|
|
|
20789
20789
|
/* @__PURE__ */ t(Te, { content: e.trends_widget_overview.list_view_title }),
|
|
20790
20790
|
/* @__PURE__ */ t($, { content: e.trends_widget_overview.list_view_description }),
|
|
20791
20791
|
/* @__PURE__ */ t(
|
|
20792
|
-
|
|
20792
|
+
ie,
|
|
20793
20793
|
{
|
|
20794
20794
|
items: [
|
|
20795
20795
|
e.trends_widget_overview.list_view_instruction_1,
|
|
@@ -20814,7 +20814,7 @@ const oC = ({
|
|
|
20814
20814
|
/* @__PURE__ */ t(Te, { content: i.insights_work_section_title }),
|
|
20815
20815
|
/* @__PURE__ */ t($, { content: i.insights_work_description }),
|
|
20816
20816
|
/* @__PURE__ */ t(
|
|
20817
|
-
|
|
20817
|
+
ie,
|
|
20818
20818
|
{
|
|
20819
20819
|
items: [
|
|
20820
20820
|
T(
|
|
@@ -20881,7 +20881,7 @@ const oC = ({
|
|
|
20881
20881
|
}
|
|
20882
20882
|
),
|
|
20883
20883
|
/* @__PURE__ */ t(
|
|
20884
|
-
|
|
20884
|
+
ie,
|
|
20885
20885
|
{
|
|
20886
20886
|
items: [
|
|
20887
20887
|
T(
|
|
@@ -21581,7 +21581,7 @@ const oC = ({
|
|
|
21581
21581
|
}
|
|
21582
21582
|
)
|
|
21583
21583
|
] });
|
|
21584
|
-
},
|
|
21584
|
+
}, wT = x(({ sx: e }) => {
|
|
21585
21585
|
const { isCopyLoaded: n, isInitialized: i } = ce();
|
|
21586
21586
|
return !n || !i ? /* @__PURE__ */ t(de, {}) : /* @__PURE__ */ t(Ct, { sx: { p: 16 }, children: /* @__PURE__ */ t(yl, { sx: e }) });
|
|
21587
21587
|
}), ZC = x(({ selectedTab: e }) => {
|
|
@@ -21617,7 +21617,7 @@ const oC = ({
|
|
|
21617
21617
|
] });
|
|
21618
21618
|
});
|
|
21619
21619
|
var ri = /* @__PURE__ */ ((e) => (e[e.Profile = 0] = "Profile", e[e.Devices = 1] = "Devices", e[e.Notifications = 2] = "Notifications", e[e.TransactionRules = 3] = "TransactionRules", e[e.Help = 4] = "Help", e))(ri || {});
|
|
21620
|
-
const
|
|
21620
|
+
const DT = x(({ onBackClick: e, sx: n }) => {
|
|
21621
21621
|
const { settings: i } = A(), { isCopyLoaded: a, isInitialized: o } = ce(), { config: r } = wt(), { isMobile: s } = Ce(), {
|
|
21622
21622
|
display_user_profile_in_settings: c,
|
|
21623
21623
|
display_mobile_devices_in_settings: l,
|
|
@@ -21655,13 +21655,13 @@ const D2 = x(({ onBackClick: e, sx: n }) => {
|
|
|
21655
21655
|
] })
|
|
21656
21656
|
}
|
|
21657
21657
|
);
|
|
21658
|
-
}),
|
|
21658
|
+
}), NT = x((e) => {
|
|
21659
21659
|
const { clientConfig: n } = wt(), i = n?.master?.deep_link_params?.view;
|
|
21660
21660
|
return i ? /* @__PURE__ */ t(_a, { view: i }) : /* @__PURE__ */ t(Ct, { ...e, children: /* @__PURE__ */ t(b, { my: 24, children: /* @__PURE__ */ t(_a, {}) }) });
|
|
21661
|
-
}),
|
|
21661
|
+
}), RT = (e) => {
|
|
21662
21662
|
const { isMobile: n } = Ce();
|
|
21663
21663
|
return /* @__PURE__ */ t(Ct, { ...e, children: /* @__PURE__ */ t(b, { sx: { mx: n ? 0 : 48, my: 24 }, children: /* @__PURE__ */ t(fl, {}) }) });
|
|
21664
|
-
},
|
|
21664
|
+
}, OT = x(
|
|
21665
21665
|
({ notificationTypes: e, isOpen: n, onClose: i, onNotificationClick: a }) => {
|
|
21666
21666
|
const { config: o } = wt(), { notifications: r, settings: s } = A(), { isCopyLoaded: c } = ce(), [l, u] = g.useState(!1);
|
|
21667
21667
|
return c ? /* @__PURE__ */ d(Z, { children: [
|
|
@@ -21889,7 +21889,7 @@ const e0 = (e) => e.reduce((i, a) => {
|
|
|
21889
21889
|
] });
|
|
21890
21890
|
}, i0 = (e) => {
|
|
21891
21891
|
const n = e.row[e.field];
|
|
21892
|
-
return /* @__PURE__ */ t(b, { alignItems: "flex-end", tabIndex: e.tabIndex, children: /* @__PURE__ */ t(
|
|
21892
|
+
return /* @__PURE__ */ t(b, { alignItems: "flex-end", tabIndex: e.tabIndex, children: /* @__PURE__ */ t(Xe, { amount: n, variant: "Small" }) });
|
|
21893
21893
|
}, a0 = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
|
|
21894
21894
|
const { categories: i } = A(), a = ba[e];
|
|
21895
21895
|
return /* @__PURE__ */ d(b, { alignItems: "center", direction: "row", justifyContent: "center", children: [
|
|
@@ -22027,7 +22027,7 @@ const e0 = (e) => e.reduce((i, a) => {
|
|
|
22027
22027
|
}
|
|
22028
22028
|
);
|
|
22029
22029
|
}, l0 = x(c0), d0 = ({ onBackClick: e, sx: n }) => {
|
|
22030
|
-
const { onEvent: i } = q(), { isDesktop: a, isTablet: o, isMobile: r } = Ce(), { visibleAccounts: s } = be(), { loadMonthlyCategoryTotals: c, monthlyCategoryTotals: l, getCategoryName: u } = $e(), { sortedTransactions: _ } = Le(), { selectedDateRange: h, setSelectedDateRange: p } = Si(), { isCopyLoaded: m, isInitialized: f, selectedAccounts: S, setSelectedAccounts: y } = ce(), { trends: E } = A(), [I, v] = g.useState(!1), [w, N] = g.useState(!1), [R, M] = g.useState("Chart"), [k, G] = g.useState(""), [L, W] = g.useState(window.innerHeight),
|
|
22030
|
+
const { onEvent: i } = q(), { isDesktop: a, isTablet: o, isMobile: r } = Ce(), { visibleAccounts: s } = be(), { loadMonthlyCategoryTotals: c, monthlyCategoryTotals: l, getCategoryName: u } = $e(), { sortedTransactions: _ } = Le(), { selectedDateRange: h, setSelectedDateRange: p } = Si(), { isCopyLoaded: m, isInitialized: f, selectedAccounts: S, setSelectedAccounts: y } = ce(), { trends: E } = A(), [I, v] = g.useState(!1), [w, N] = g.useState(!1), [R, M] = g.useState("Chart"), [k, G] = g.useState(""), [L, W] = g.useState(window.innerHeight), oe = L - (r ? 315 : 345);
|
|
22031
22031
|
g.useEffect(() => {
|
|
22032
22032
|
const J = () => W(window.innerHeight);
|
|
22033
22033
|
return window.addEventListener("resize", J), () => window.removeEventListener("resize", J);
|
|
@@ -22042,14 +22042,14 @@ const e0 = (e) => e.reduce((i, a) => {
|
|
|
22042
22042
|
v(!0);
|
|
22043
22043
|
});
|
|
22044
22044
|
}, [f, S, h]);
|
|
22045
|
-
const
|
|
22045
|
+
const ne = g.useMemo(() => {
|
|
22046
22046
|
if (!I) return { stackedDatasets: [], unstackedDatasets: [] };
|
|
22047
22047
|
const J = t0(
|
|
22048
22048
|
l,
|
|
22049
22049
|
h.start,
|
|
22050
22050
|
h.end
|
|
22051
22051
|
), ke = k.length ? J.filter(
|
|
22052
|
-
(
|
|
22052
|
+
(xe) => xe.top_level_category_guid === k || xe.category_guid === k
|
|
22053
22053
|
) : op(J);
|
|
22054
22054
|
return {
|
|
22055
22055
|
stackedDatasets: ke.filter(ip),
|
|
@@ -22057,9 +22057,9 @@ const e0 = (e) => e.reduce((i, a) => {
|
|
|
22057
22057
|
};
|
|
22058
22058
|
}, [l, k, h]), fe = (J, ke) => {
|
|
22059
22059
|
M(ke ?? R), i(F.TRENDS_CLICK_TOGGLE);
|
|
22060
|
-
},
|
|
22061
|
-
const ke = mo(J?.[0], 1),
|
|
22062
|
-
p({ start: ke, end:
|
|
22060
|
+
}, Ae = (J) => {
|
|
22061
|
+
const ke = mo(J?.[0], 1), xe = J?.[1], Ve = po(xe, ke);
|
|
22062
|
+
p({ start: ke, end: xe }), i(F.TRENDS_CLICK_DATE, {
|
|
22063
22063
|
time_period: Ve + "M"
|
|
22064
22064
|
});
|
|
22065
22065
|
}, Me = () => {
|
|
@@ -22068,7 +22068,7 @@ const e0 = (e) => e.reduce((i, a) => {
|
|
|
22068
22068
|
G(J);
|
|
22069
22069
|
}, me = (J) => {
|
|
22070
22070
|
G(J), i(F.TRENDS_CLICK_LEGEND, { category: u(J) });
|
|
22071
|
-
},
|
|
22071
|
+
}, je = (J) => {
|
|
22072
22072
|
i(F.TRENDS_HOVER_LEGEND, { category: u(J) });
|
|
22073
22073
|
}, V = (J) => {
|
|
22074
22074
|
i(F.TRENDS_HOVER_AREA, { category: J });
|
|
@@ -22079,7 +22079,7 @@ const e0 = (e) => e.reduce((i, a) => {
|
|
|
22079
22079
|
Ct,
|
|
22080
22080
|
{
|
|
22081
22081
|
accountOptions: s,
|
|
22082
|
-
calendarActions: { onRangeChanged:
|
|
22082
|
+
calendarActions: { onRangeChanged: Ae },
|
|
22083
22083
|
dateRange: h,
|
|
22084
22084
|
dateRangeVariant: "timeframebuttons",
|
|
22085
22085
|
onAccountsFilterClick: Me,
|
|
@@ -22124,13 +22124,13 @@ const e0 = (e) => e.reduce((i, a) => {
|
|
|
22124
22124
|
R === "Chart" && /* @__PURE__ */ t(
|
|
22125
22125
|
Wu,
|
|
22126
22126
|
{
|
|
22127
|
-
availableHeight:
|
|
22127
|
+
availableHeight: oe,
|
|
22128
22128
|
onClickLegend: me,
|
|
22129
22129
|
onHoverArea: V,
|
|
22130
|
-
onHoverLegend:
|
|
22130
|
+
onHoverLegend: je,
|
|
22131
22131
|
onHoverPoint: pe,
|
|
22132
|
-
stackedDatasets:
|
|
22133
|
-
unstackedDatasets:
|
|
22132
|
+
stackedDatasets: ne.stackedDatasets,
|
|
22133
|
+
unstackedDatasets: ne.unstackedDatasets
|
|
22134
22134
|
}
|
|
22135
22135
|
),
|
|
22136
22136
|
R === "Table" && /* @__PURE__ */ t(
|
|
@@ -22158,8 +22158,8 @@ const e0 = (e) => e.reduce((i, a) => {
|
|
|
22158
22158
|
]
|
|
22159
22159
|
}
|
|
22160
22160
|
);
|
|
22161
|
-
},
|
|
22162
|
-
const e =
|
|
22161
|
+
}, LT = x(d0), _0 = () => {
|
|
22162
|
+
const e = Ye(), { monthlyCategoryTotals: n } = $e(), { trends: i } = A(), a = sp(n);
|
|
22163
22163
|
return /* @__PURE__ */ t(
|
|
22164
22164
|
ni,
|
|
22165
22165
|
{
|
|
@@ -22193,7 +22193,7 @@ const e0 = (e) => e.reduce((i, a) => {
|
|
|
22193
22193
|
children: o ? /* @__PURE__ */ t(u0, {}) : /* @__PURE__ */ t(de, {})
|
|
22194
22194
|
}
|
|
22195
22195
|
);
|
|
22196
|
-
},
|
|
22196
|
+
}, MT = x(h0), g0 = 70, Ss = ({
|
|
22197
22197
|
title: e,
|
|
22198
22198
|
totalAmount: n,
|
|
22199
22199
|
transactionType: i,
|
|
@@ -22260,7 +22260,7 @@ const e0 = (e) => e.reduce((i, a) => {
|
|
|
22260
22260
|
{
|
|
22261
22261
|
ref: c,
|
|
22262
22262
|
sx: { overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap" },
|
|
22263
|
-
children: /* @__PURE__ */ t(
|
|
22263
|
+
children: /* @__PURE__ */ t(qe, { children: _ })
|
|
22264
22264
|
}
|
|
22265
22265
|
),
|
|
22266
22266
|
r && s >= 450 && !y && /* @__PURE__ */ t(
|
|
@@ -22286,7 +22286,7 @@ const e0 = (e) => e.reduce((i, a) => {
|
|
|
22286
22286
|
/* @__PURE__ */ t(X, { color: "text.secondary", variant: "subtitle2", children: e.zero_state_content_description })
|
|
22287
22287
|
] })
|
|
22288
22288
|
] });
|
|
22289
|
-
}),
|
|
22289
|
+
}), kT = x(({ onCtaClick: e }) => {
|
|
22290
22290
|
const { visibleAccounts: n } = be(), { onEvent: i } = q(), { monthlyCategoryTotals: a, loadMonthlyCategoryTotals: o, monthlyTotalsLoaded: r } = $e(), s = {
|
|
22291
22291
|
start: Xd(/* @__PURE__ */ new Date(), 1),
|
|
22292
22292
|
end: /* @__PURE__ */ new Date()
|
|
@@ -22469,7 +22469,7 @@ const e0 = (e) => e.reduce((i, a) => {
|
|
|
22469
22469
|
u(!l);
|
|
22470
22470
|
}, p = a.length + (l ? i.length : 0);
|
|
22471
22471
|
return /* @__PURE__ */ t(b, { sx: { bgColor: "background.paper", width: "100%" }, children: /* @__PURE__ */ d(ae, { children: [
|
|
22472
|
-
/* @__PURE__ */ t(b, { sx: { pb: 4, pt: 16, px: 16 }, children: /* @__PURE__ */ t(
|
|
22472
|
+
/* @__PURE__ */ t(b, { sx: { pb: 4, pt: 16, px: 16 }, children: /* @__PURE__ */ t(qe, { children: c.categories }) }),
|
|
22473
22473
|
a.map((m, f) => /* @__PURE__ */ t(
|
|
22474
22474
|
Es,
|
|
22475
22475
|
{
|
|
@@ -23842,7 +23842,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
23842
23842
|
shouldApplyNewAnimation: c = !1,
|
|
23843
23843
|
visibleCardsCount: l = 1
|
|
23844
23844
|
}) => {
|
|
23845
|
-
const u =
|
|
23845
|
+
const u = Ye(), { carouselCopy: _ } = Kn(), h = Math.floor(s) > r || n - l + 1 === 0, p = s < 0 || i - 1 === n, m = u.palette.grey[500], f = e?.primary_300 ?? u.palette.primary.main;
|
|
23846
23846
|
return /* @__PURE__ */ d(
|
|
23847
23847
|
b,
|
|
23848
23848
|
{
|
|
@@ -23944,8 +23944,8 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
23944
23944
|
const V = f.current.offsetWidth, pe = 8;
|
|
23945
23945
|
let J;
|
|
23946
23946
|
if (m > 1) {
|
|
23947
|
-
const
|
|
23948
|
-
J = (V -
|
|
23947
|
+
const xe = (V - (m - 1) * pe) / m / 3;
|
|
23948
|
+
J = (V - xe - (m - 1) * pe) / m;
|
|
23949
23949
|
} else
|
|
23950
23950
|
J = V;
|
|
23951
23951
|
M(J);
|
|
@@ -23980,18 +23980,18 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
23980
23980
|
top: 0,
|
|
23981
23981
|
behavior: "smooth"
|
|
23982
23982
|
});
|
|
23983
|
-
},
|
|
23983
|
+
}, oe = () => {
|
|
23984
23984
|
W(jt.ON_CAROUSEL_BACK_CLICK), f.current && R && f.current.scrollTo({
|
|
23985
23985
|
left: Math.max(0, y - (R + 8)),
|
|
23986
23986
|
top: 0,
|
|
23987
23987
|
behavior: "smooth"
|
|
23988
23988
|
});
|
|
23989
|
-
},
|
|
23989
|
+
}, ne = () => {
|
|
23990
23990
|
f.current && E(f.current.scrollLeft);
|
|
23991
23991
|
}, fe = () => {
|
|
23992
23992
|
if (!w || !I) return;
|
|
23993
23993
|
w - I > M0 ? W(jt.ON_CAROUSEL_FORWARD_SWIPE) : W(jt.ON_CAROUSEL_BACK_SWIPE);
|
|
23994
|
-
},
|
|
23994
|
+
}, Ae = (V) => {
|
|
23995
23995
|
v(V.targetTouches[0].clientX);
|
|
23996
23996
|
}, Me = (V) => {
|
|
23997
23997
|
v(null), N(V.targetTouches[0].clientX);
|
|
@@ -24002,7 +24002,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24002
24002
|
posthog: s,
|
|
24003
24003
|
showIcon: u,
|
|
24004
24004
|
variant: h
|
|
24005
|
-
}, me = R ? Math.round(y / (R + 8)) : 0,
|
|
24005
|
+
}, me = R ? Math.round(y / (R + 8)) : 0, je = f.current ? f.current.scrollWidth - f.current.offsetWidth : 0;
|
|
24006
24006
|
return /* @__PURE__ */ d(
|
|
24007
24007
|
b,
|
|
24008
24008
|
{
|
|
@@ -24021,9 +24021,9 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24021
24021
|
b,
|
|
24022
24022
|
{
|
|
24023
24023
|
direction: "row",
|
|
24024
|
-
onScroll:
|
|
24024
|
+
onScroll: ne,
|
|
24025
24025
|
onTouchEnd: fe,
|
|
24026
|
-
onTouchMove:
|
|
24026
|
+
onTouchMove: Ae,
|
|
24027
24027
|
onTouchStart: Me,
|
|
24028
24028
|
ref: f,
|
|
24029
24029
|
sx: {
|
|
@@ -24045,7 +24045,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24045
24045
|
},
|
|
24046
24046
|
children: [
|
|
24047
24047
|
n.map((V, pe) => {
|
|
24048
|
-
const J = pe + 1, ke = n.length + 1,
|
|
24048
|
+
const J = pe + 1, ke = n.length + 1, xe = T(
|
|
24049
24049
|
L.card_position_in_carousel_aria,
|
|
24050
24050
|
J.toString(),
|
|
24051
24051
|
ke.toString()
|
|
@@ -24053,7 +24053,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24053
24053
|
return /* @__PURE__ */ t(
|
|
24054
24054
|
k0,
|
|
24055
24055
|
{
|
|
24056
|
-
ariaLabel: `${
|
|
24056
|
+
ariaLabel: `${xe}: ${Wt}, ${z}`,
|
|
24057
24057
|
beat: V,
|
|
24058
24058
|
index: pe,
|
|
24059
24059
|
isActiveCard: pe === me,
|
|
@@ -24083,8 +24083,8 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24083
24083
|
currentBeatIndex: me + m - 1,
|
|
24084
24084
|
numBeats: n.length + 1,
|
|
24085
24085
|
onNextClick: K,
|
|
24086
|
-
onPreviousClick:
|
|
24087
|
-
scrollRightBoundary:
|
|
24086
|
+
onPreviousClick: oe,
|
|
24087
|
+
scrollRightBoundary: je,
|
|
24088
24088
|
scrollX: y,
|
|
24089
24089
|
shouldApplyNewAnimation: k,
|
|
24090
24090
|
visibleCardsCount: m
|
|
@@ -24237,7 +24237,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24237
24237
|
widthOverrides: u
|
|
24238
24238
|
}
|
|
24239
24239
|
);
|
|
24240
|
-
},
|
|
24240
|
+
}, GT = x(Ol), Ll = ({
|
|
24241
24241
|
ariaLabel: e,
|
|
24242
24242
|
carouselSize: n,
|
|
24243
24243
|
heightOverrides: i,
|
|
@@ -24279,7 +24279,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24279
24279
|
widthOverrides: l
|
|
24280
24280
|
}
|
|
24281
24281
|
);
|
|
24282
|
-
},
|
|
24282
|
+
}, BT = x(Ll), $0 = () => /* @__PURE__ */ t(
|
|
24283
24283
|
O,
|
|
24284
24284
|
{
|
|
24285
24285
|
sx: {
|
|
@@ -24322,7 +24322,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24322
24322
|
visibleCardsCount: R = 1,
|
|
24323
24323
|
widthOverrides: M
|
|
24324
24324
|
}) => {
|
|
24325
|
-
const k =
|
|
24325
|
+
const k = Ye(), [G, L] = xt("STANDARD"), [W, K] = xt(!1), oe = cu([u], Tn), ne = lu([_], Tn);
|
|
24326
24326
|
g.useEffect(() => {
|
|
24327
24327
|
Tn.isInitialized || Tn.initialize(r, I, c);
|
|
24328
24328
|
}, [r, I, c, Tn.isInitialized]), g.useEffect(() => {
|
|
@@ -24340,7 +24340,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24340
24340
|
showWithMargin: E,
|
|
24341
24341
|
useDarkMode: v,
|
|
24342
24342
|
widthOverrides: M
|
|
24343
|
-
},
|
|
24343
|
+
}, Ae = {
|
|
24344
24344
|
carouselSize: G,
|
|
24345
24345
|
variant: N,
|
|
24346
24346
|
...fe
|
|
@@ -24349,7 +24349,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24349
24349
|
// The Theme provider must wrap the component so that the styles don't break when imported into other applications.
|
|
24350
24350
|
/* @__PURE__ */ d(Ed, { theme: k, children: [
|
|
24351
24351
|
/* @__PURE__ */ t(o_, {}),
|
|
24352
|
-
/* @__PURE__ */ t(A0, { onEvent:
|
|
24352
|
+
/* @__PURE__ */ t(A0, { onEvent: oe, onPageview: ne, store: Tn, children: /* @__PURE__ */ d(W0, { heightOverrides: s, widthOverrides: M, children: [
|
|
24353
24353
|
(n || !Tn.isInitialized) && /* @__PURE__ */ t($0, {}),
|
|
24354
24354
|
W && S && /* @__PURE__ */ t(
|
|
24355
24355
|
F0,
|
|
@@ -24373,8 +24373,8 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24373
24373
|
...fe
|
|
24374
24374
|
}
|
|
24375
24375
|
),
|
|
24376
|
-
W && !i.length && w && /* @__PURE__ */ t(Ol, { clientColorScheme: a, ...
|
|
24377
|
-
W && !i.length && !w && /* @__PURE__ */ t(Ll, { ...
|
|
24376
|
+
W && !i.length && w && /* @__PURE__ */ t(Ol, { clientColorScheme: a, ...Ae }),
|
|
24377
|
+
W && !i.length && !w && /* @__PURE__ */ t(Ll, { ...Ae })
|
|
24378
24378
|
] }) })
|
|
24379
24379
|
] })
|
|
24380
24380
|
);
|
|
@@ -24628,7 +24628,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24628
24628
|
selectedDateRange: i,
|
|
24629
24629
|
totals: a
|
|
24630
24630
|
}) => {
|
|
24631
|
-
const o =
|
|
24631
|
+
const o = Ye(), { trends: r } = A(), { isSmallMobile: s, isMobile: c, isSmallTablet: l, isTablet: u } = Ce(), _ = [o.palette.chart?.chart1, o.palette.chart?.chart2], h = J0(a, i), p = eb(h, r), [m, f] = g.useState(0), S = 458, y = 195, E = 56, I = c || s ? y : l || u ? S : m;
|
|
24632
24632
|
return g.useEffect(() => {
|
|
24633
24633
|
const v = Math.max(e - E, n);
|
|
24634
24634
|
f(v);
|
|
@@ -24664,7 +24664,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24664
24664
|
selectedAccounts: I,
|
|
24665
24665
|
selectedAccountGuids: v,
|
|
24666
24666
|
setSelectedAccounts: w
|
|
24667
|
-
} = ce(), { trends: N } = A(), R = du(), M = r || o, [k, G] = g.useState(!1), [L, W] = g.useState("Chart"), [K,
|
|
24667
|
+
} = ce(), { trends: N } = A(), R = du(), M = r || o, [k, G] = g.useState(!1), [L, W] = g.useState("Chart"), [K, oe] = g.useState(""), [ne, fe] = g.useState(!1), [Ae, Me] = g.useState(window.innerHeight), he = Ae - 208, me = Ae - (R ? 494 : 266);
|
|
24668
24668
|
g.useEffect(() => {
|
|
24669
24669
|
const Ve = () => Me(window.innerHeight);
|
|
24670
24670
|
return window.addEventListener("resize", Ve), () => window.removeEventListener("resize", Ve);
|
|
@@ -24694,7 +24694,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24694
24694
|
});
|
|
24695
24695
|
}
|
|
24696
24696
|
}, [_]);
|
|
24697
|
-
const
|
|
24697
|
+
const je = (Ve) => {
|
|
24698
24698
|
f(Ve), fe(!0);
|
|
24699
24699
|
}, V = () => {
|
|
24700
24700
|
f(null), fe(!1);
|
|
@@ -24707,8 +24707,8 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24707
24707
|
});
|
|
24708
24708
|
}, ke = () => {
|
|
24709
24709
|
a(F.TRENDS_CLICK_FILTER);
|
|
24710
|
-
},
|
|
24711
|
-
|
|
24710
|
+
}, xe = (Ve) => {
|
|
24711
|
+
oe(Ve);
|
|
24712
24712
|
};
|
|
24713
24713
|
return !y || !k ? /* @__PURE__ */ t(de, {}) : h && _.length === 0 ? /* @__PURE__ */ t(
|
|
24714
24714
|
jn,
|
|
@@ -24757,7 +24757,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24757
24757
|
]
|
|
24758
24758
|
}
|
|
24759
24759
|
),
|
|
24760
|
-
/* @__PURE__ */ t(b, { alignItems: "center", flexDirection: "row", width: "100%", children: /* @__PURE__ */ t(O, { flexGrow: 1, children: K && /* @__PURE__ */ d(te, { onClick: () =>
|
|
24760
|
+
/* @__PURE__ */ t(b, { alignItems: "center", flexDirection: "row", width: "100%", children: /* @__PURE__ */ t(O, { flexGrow: 1, children: K && /* @__PURE__ */ d(te, { onClick: () => oe(""), sx: { p: 0, pr: 5 }, children: [
|
|
24761
24761
|
/* @__PURE__ */ t(U, { name: "arrow_back" }),
|
|
24762
24762
|
N.all_categories
|
|
24763
24763
|
] }) }) }),
|
|
@@ -24777,7 +24777,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24777
24777
|
{
|
|
24778
24778
|
height: "unset",
|
|
24779
24779
|
monthlyCategoryTotals: _,
|
|
24780
|
-
onClickRow:
|
|
24780
|
+
onClickRow: xe,
|
|
24781
24781
|
selectedCategory: K,
|
|
24782
24782
|
selectedDateRange: m
|
|
24783
24783
|
}
|
|
@@ -24789,7 +24789,7 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24789
24789
|
f0,
|
|
24790
24790
|
{
|
|
24791
24791
|
availableHeight: me,
|
|
24792
|
-
onCategoryClick:
|
|
24792
|
+
onCategoryClick: je
|
|
24793
24793
|
}
|
|
24794
24794
|
)
|
|
24795
24795
|
] })
|
|
@@ -24797,11 +24797,11 @@ const Ui = g.createContext(null), A0 = ({
|
|
|
24797
24797
|
]
|
|
24798
24798
|
}
|
|
24799
24799
|
),
|
|
24800
|
-
|
|
24800
|
+
ne && /* @__PURE__ */ t(Q0, { onClose: V })
|
|
24801
24801
|
]
|
|
24802
24802
|
}
|
|
24803
24803
|
);
|
|
24804
|
-
},
|
|
24804
|
+
}, HT = x(ib);
|
|
24805
24805
|
class ab {
|
|
24806
24806
|
globalStore;
|
|
24807
24807
|
selectedCategoryData = null;
|
|
@@ -24809,8 +24809,8 @@ class ab {
|
|
|
24809
24809
|
visibleListLength = 5;
|
|
24810
24810
|
constructor(n) {
|
|
24811
24811
|
this.globalStore = n, this.selectedDateRange = {
|
|
24812
|
-
start: mo(
|
|
24813
|
-
end:
|
|
24812
|
+
start: mo(Qe(Ht(/* @__PURE__ */ new Date(), 6)), 1),
|
|
24813
|
+
end: Qe(/* @__PURE__ */ new Date())
|
|
24814
24814
|
}, Pe(this);
|
|
24815
24815
|
}
|
|
24816
24816
|
setSelectedCategoryData = (n) => {
|
|
@@ -24823,7 +24823,7 @@ class ab {
|
|
|
24823
24823
|
this.visibleListLength = n;
|
|
24824
24824
|
};
|
|
24825
24825
|
get sortedDetailedCategoriesWithTransactions() {
|
|
24826
|
-
return this.globalStore.categoryStore.detailedCategoriesWithTransactions.slice().filter((n) => n.totalAmount !== 0).sort((n, i) => Math.abs(i.totalAmount) - Math.abs(n.totalAmount));
|
|
24826
|
+
return this.globalStore.categoryStore.detailedCategoriesWithTransactions.slice().filter((n) => n.totalAmount !== 0).filter((n) => n.isTransfer === !1).sort((n, i) => Math.abs(i.totalAmount) - Math.abs(n.totalAmount));
|
|
24827
24827
|
}
|
|
24828
24828
|
get selectedDateRangeMonthCount() {
|
|
24829
24829
|
return po(this.selectedDateRange.end, this.selectedDateRange.start) + 1;
|
|
@@ -24920,8 +24920,8 @@ class sb {
|
|
|
24920
24920
|
selectedAccountGuids = this.selectedAccounts.map((n) => n.guid);
|
|
24921
24921
|
displayedDate = /* @__PURE__ */ new Date();
|
|
24922
24922
|
displayedDateRange = {
|
|
24923
|
-
start:
|
|
24924
|
-
end:
|
|
24923
|
+
start: Ze(this.displayedDate),
|
|
24924
|
+
end: Qe(this.displayedDate)
|
|
24925
24925
|
};
|
|
24926
24926
|
constructor(n) {
|
|
24927
24927
|
Pe(this), this.globalStore = n;
|
|
@@ -25004,7 +25004,7 @@ class cb {
|
|
|
25004
25004
|
}
|
|
25005
25005
|
};
|
|
25006
25006
|
}
|
|
25007
|
-
class
|
|
25007
|
+
class PT {
|
|
25008
25008
|
// Global properties
|
|
25009
25009
|
appConfig = ys;
|
|
25010
25010
|
endpoint = "/";
|
|
@@ -25881,7 +25881,7 @@ const Va = ({
|
|
|
25881
25881
|
] }) : /* @__PURE__ */ t(de, {})
|
|
25882
25882
|
}
|
|
25883
25883
|
) : /* @__PURE__ */ t(de, {});
|
|
25884
|
-
},
|
|
25884
|
+
}, FT = x(vb), wb = ({ onPrimaryCtaClick: e, sx: n }) => {
|
|
25885
25885
|
const { visibleAccounts: i } = be(), { accounts: a } = A(), { isCopyLoaded: o, isInitialized: r, selectedAccounts: s, setSelectedAccounts: c } = ce();
|
|
25886
25886
|
return g.useEffect(() => {
|
|
25887
25887
|
c(i);
|
|
@@ -25912,7 +25912,7 @@ const Va = ({
|
|
|
25912
25912
|
] }) : /* @__PURE__ */ t(de, {})
|
|
25913
25913
|
}
|
|
25914
25914
|
) : /* @__PURE__ */ t(de, {});
|
|
25915
|
-
},
|
|
25915
|
+
}, WT = x(wb), Db = () => /* @__PURE__ */ d(
|
|
25916
25916
|
"svg",
|
|
25917
25917
|
{
|
|
25918
25918
|
fill: "none",
|
|
@@ -26397,7 +26397,7 @@ const Va = ({
|
|
|
26397
26397
|
]
|
|
26398
26398
|
}
|
|
26399
26399
|
) : /* @__PURE__ */ t(de, {});
|
|
26400
|
-
}, $
|
|
26400
|
+
}, $T = x(Ob);
|
|
26401
26401
|
class Ns {
|
|
26402
26402
|
fetchInstance;
|
|
26403
26403
|
constructor(n, i) {
|
|
@@ -26774,7 +26774,7 @@ const kb = () => {
|
|
|
26774
26774
|
]
|
|
26775
26775
|
}
|
|
26776
26776
|
) : /* @__PURE__ */ t(de, {});
|
|
26777
|
-
},
|
|
26777
|
+
}, UT = x(Pb), Rs = 5, Fb = 100, Wb = 25, $b = (e) => {
|
|
26778
26778
|
const n = (o) => {
|
|
26779
26779
|
o.active || e.alphaTarget(0.3).restart(), o.subject.fx = o.subject.x, o.subject.fy = o.subject.y;
|
|
26780
26780
|
}, i = (o) => {
|
|
@@ -27193,7 +27193,7 @@ const qb = ({
|
|
|
27193
27193
|
return g.useEffect(() => {
|
|
27194
27194
|
s(n);
|
|
27195
27195
|
}, [n]), g.useEffect(() => {
|
|
27196
|
-
_ && !o && p(h,
|
|
27196
|
+
_ && !o && p(h, Ze(/* @__PURE__ */ new Date()), Qe(/* @__PURE__ */ new Date())).then(
|
|
27197
27197
|
() => {
|
|
27198
27198
|
r().finally();
|
|
27199
27199
|
}
|
|
@@ -27233,7 +27233,7 @@ const qb = ({
|
|
|
27233
27233
|
]
|
|
27234
27234
|
}
|
|
27235
27235
|
) : /* @__PURE__ */ t(de, {});
|
|
27236
|
-
},
|
|
27236
|
+
}, VT = x(ay), Hl = ({ budget: e }) => {
|
|
27237
27237
|
const {
|
|
27238
27238
|
amount: n,
|
|
27239
27239
|
budgetColors: { background: i },
|
|
@@ -27587,7 +27587,7 @@ const qb = ({
|
|
|
27587
27587
|
});
|
|
27588
27588
|
};
|
|
27589
27589
|
return /* @__PURE__ */ d(bt, { elevation: 2, children: [
|
|
27590
|
-
/* @__PURE__ */ t(_n, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ t(
|
|
27590
|
+
/* @__PURE__ */ t(_n, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ t(qe, { children: n.budget_categories_title }) }),
|
|
27591
27591
|
/* @__PURE__ */ t(Pt, { sx: { p: 0, ":last-child": { p: 0 } }, children: /* @__PURE__ */ t(ae, { children: i.map((r) => /* @__PURE__ */ d(g.Fragment, { children: [
|
|
27592
27592
|
/* @__PURE__ */ t(_y, { budget: r, onClick: o }),
|
|
27593
27593
|
/* @__PURE__ */ t(P, {})
|
|
@@ -27630,7 +27630,7 @@ const qb = ({
|
|
|
27630
27630
|
}), m(!0), n(F.BUDGETS_CLICK_EDIT_INCOME);
|
|
27631
27631
|
};
|
|
27632
27632
|
return /* @__PURE__ */ d(bt, { elevation: 2, sx: { overflow: "visible" }, children: [
|
|
27633
|
-
/* @__PURE__ */ t(_n, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ t(
|
|
27633
|
+
/* @__PURE__ */ t(_n, { sx: { pb: 8, pl: 24 }, title: /* @__PURE__ */ t(qe, { children: a.overview_title }) }),
|
|
27634
27634
|
/* @__PURE__ */ t(Pt, { sx: { pt: 12, px: 24 }, children: /* @__PURE__ */ d(b, { gap: 24, children: [
|
|
27635
27635
|
/* @__PURE__ */ d(b, { gap: 8, children: [
|
|
27636
27636
|
/* @__PURE__ */ t(C, { bold: !0, sx: { mb: 8 }, variant: "Body", children: a.spending_title }),
|
|
@@ -27676,7 +27676,7 @@ const qb = ({
|
|
|
27676
27676
|
}
|
|
27677
27677
|
)
|
|
27678
27678
|
] });
|
|
27679
|
-
}), Ls = 480,
|
|
27679
|
+
}), Ls = 480, KT = x(({ onBackClick: e, sx: n }) => {
|
|
27680
27680
|
const i = Ee(), { onEvent: a } = q(), { visibleAccounts: o } = be(), { budgets: r, common: s } = A(), { isCopyLoaded: c, isInitialized: l, selectedAccounts: u, setDisplayedDate: _, setSelectedAccounts: h } = ce(), {
|
|
27681
27681
|
alert: p,
|
|
27682
27682
|
dateRange: m,
|
|
@@ -27688,21 +27688,21 @@ const qb = ({
|
|
|
27688
27688
|
detailedBudgets: v
|
|
27689
27689
|
} = ut(), { loadRepeatingTransactions: w, setDateRange: N } = rt(), { reloadCategoryTotals: R } = $e(), { isSmallTablet: M, isMobile: k, isSmallMobile: G } = Ce(), L = M || k || G, [W, K] = g.useState(!1);
|
|
27690
27690
|
g.useEffect(() => {
|
|
27691
|
-
I(i), h(o),
|
|
27691
|
+
I(i), h(o), _(m.start, m.end), a(F.BUDGETS_VIEW);
|
|
27692
27692
|
}, []), g.useEffect(() => {
|
|
27693
27693
|
h(o);
|
|
27694
27694
|
}, [o]), g.useEffect(() => {
|
|
27695
|
-
l && (
|
|
27695
|
+
l && (R(u, m.start, m.end).finally(), N(m), f || (w().finally(), S().finally()));
|
|
27696
27696
|
}, [l, u, m]);
|
|
27697
|
-
const
|
|
27697
|
+
const oe = (he) => {
|
|
27698
27698
|
y({ start: he[0] || /* @__PURE__ */ new Date(), end: he[1] || /* @__PURE__ */ new Date() });
|
|
27699
|
-
},
|
|
27699
|
+
}, ne = () => {
|
|
27700
27700
|
a(F.BUDGETS_CLICK_FILTER);
|
|
27701
27701
|
}, fe = () => {
|
|
27702
27702
|
K(!0), a(F.BUDGETS_CLICK_ADD);
|
|
27703
|
-
},
|
|
27703
|
+
}, Ae = () => {
|
|
27704
27704
|
K(!1);
|
|
27705
|
-
}, Me = sn(m.end,
|
|
27705
|
+
}, Me = sn(m.end, Ze(/* @__PURE__ */ new Date()));
|
|
27706
27706
|
return !c || !l || !f ? /* @__PURE__ */ t(de, {}) : /* @__PURE__ */ d(
|
|
27707
27707
|
Ct,
|
|
27708
27708
|
{
|
|
@@ -27714,12 +27714,8 @@ const qb = ({
|
|
|
27714
27714
|
onClick: fe
|
|
27715
27715
|
}
|
|
27716
27716
|
],
|
|
27717
|
-
calendarActions: {
|
|
27718
|
-
|
|
27719
|
-
shouldDisableNext: Me,
|
|
27720
|
-
shouldDisablePicker: !0
|
|
27721
|
-
},
|
|
27722
|
-
onAccountsFilterClick: oe,
|
|
27717
|
+
calendarActions: { onRangeChanged: oe, shouldDisableNext: Me },
|
|
27718
|
+
onAccountsFilterClick: ne,
|
|
27723
27719
|
onBackClick: e,
|
|
27724
27720
|
sx: n,
|
|
27725
27721
|
title: r.budgets_title,
|
|
@@ -27767,7 +27763,7 @@ const qb = ({
|
|
|
27767
27763
|
isOpen: W,
|
|
27768
27764
|
onClose: () => K(!1),
|
|
27769
27765
|
title: r.add_new_title,
|
|
27770
|
-
children: /* @__PURE__ */ t(Bl, { onRecalculateBudgets:
|
|
27766
|
+
children: /* @__PURE__ */ t(Bl, { onRecalculateBudgets: Ae })
|
|
27771
27767
|
}
|
|
27772
27768
|
),
|
|
27773
27769
|
/* @__PURE__ */ t(
|
|
@@ -27953,7 +27949,7 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
27953
27949
|
/* @__PURE__ */ t(xn, { height: 300, variant: "rounded", width: "100%" })
|
|
27954
27950
|
] }) : /* @__PURE__ */ t(b, { direction: "column", spacing: 24, children: u.map((_) => /* @__PURE__ */ t(g.Fragment, { children: _.component }, _.index)) }) })
|
|
27955
27951
|
] });
|
|
27956
|
-
},
|
|
27952
|
+
}, zT = x(by), ar = ({ sx: e = {} }) => {
|
|
27957
27953
|
const { investments: n } = A(), { onEvent: i } = q(), { setShowConnectionsWidget: a } = Xn();
|
|
27958
27954
|
return /* @__PURE__ */ d(b, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...e }, children: [
|
|
27959
27955
|
/* @__PURE__ */ d(
|
|
@@ -28415,7 +28411,7 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
28415
28411
|
), Oy = () => {
|
|
28416
28412
|
const {
|
|
28417
28413
|
investments: { analysis: e }
|
|
28418
|
-
} = A(), { analysisChartData: n, analysisDetails: i, analysisType: a, setAnalysisType: o } = Xn(), r = un("(min-width:320px) and (max-width:375px)"), { isMobile: s } = Ce(), l =
|
|
28414
|
+
} = A(), { analysisChartData: n, analysisDetails: i, analysisType: a, setAnalysisType: o } = Xn(), r = un("(min-width:320px) and (max-width:375px)"), { isMobile: s } = Ce(), l = Ye().palette.mode === "dark", { cellDimension: u, columns: _, rows: h, textVariant: p } = g.useMemo(() => {
|
|
28419
28415
|
const m = a === Hn.Stocks, f = Object.values(m ? e.stock_column_labels : e.bond_column_labels), S = Object.values(m ? e.stock_row_labels : e.bond_row_labels);
|
|
28420
28416
|
return { cellDimension: s ? 72 : 100, columns: f, rows: S, textVariant: s ? "XSmall" : "Body" };
|
|
28421
28417
|
}, [e, s, a]);
|
|
@@ -29058,10 +29054,10 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
29058
29054
|
const J = Number(E);
|
|
29059
29055
|
if (c({ ...pe, cost_basis: J }), e) {
|
|
29060
29056
|
const ke = _.holdings.map(
|
|
29061
|
-
(
|
|
29057
|
+
(xe) => xe.id === V ? { ...xe, costBasis: J } : xe
|
|
29062
29058
|
);
|
|
29063
|
-
h((
|
|
29064
|
-
...
|
|
29059
|
+
h((xe) => ({
|
|
29060
|
+
...xe,
|
|
29065
29061
|
holdings: ke
|
|
29066
29062
|
}));
|
|
29067
29063
|
}
|
|
@@ -29071,20 +29067,20 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
29071
29067
|
...ke,
|
|
29072
29068
|
[V]: J
|
|
29073
29069
|
}));
|
|
29074
|
-
}, { visibleHoldings:
|
|
29070
|
+
}, { visibleHoldings: oe } = Xn(), { visibleInvestmentAccounts: ne } = be(), fe = ne.filter(
|
|
29075
29071
|
({ guid: V }) => r.includes(V)
|
|
29076
|
-
),
|
|
29072
|
+
), Ae = fe.reduce((V, pe) => V + (pe.balance || 0), 0), Me = fe.map(({ guid: V }) => V), me = oe.filter(
|
|
29077
29073
|
({ account_guid: V }) => Me.includes(V)
|
|
29078
29074
|
).reduce((V, pe) => {
|
|
29079
29075
|
const J = pe.market_value ? pe.market_value - (pe.cost_basis || 0) : 0;
|
|
29080
29076
|
return V + J;
|
|
29081
|
-
}, 0),
|
|
29077
|
+
}, 0), je = () => {
|
|
29082
29078
|
o(!1);
|
|
29083
29079
|
};
|
|
29084
29080
|
return f ? /* @__PURE__ */ d(Oe, { sx: { alignItems: "center", gap: 48, pt: 48, width: "100%" }, children: [
|
|
29085
29081
|
!!fe.length && /* @__PURE__ */ d(Oe, { sx: { alignItems: "center" }, children: [
|
|
29086
29082
|
/* @__PURE__ */ t(C, { sx: { color: "text.secondary" }, children: m.overview.total_portfolio }),
|
|
29087
|
-
/* @__PURE__ */ t(Qt, { children:
|
|
29083
|
+
/* @__PURE__ */ t(Qt, { children: Ae.toLocaleString("en-US", {
|
|
29088
29084
|
currency: "USD",
|
|
29089
29085
|
maximumFractionDigits: 2,
|
|
29090
29086
|
minimumFractionDigits: 2,
|
|
@@ -29115,7 +29111,7 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
29115
29111
|
] })
|
|
29116
29112
|
] }),
|
|
29117
29113
|
fe.map((V) => {
|
|
29118
|
-
const pe =
|
|
29114
|
+
const pe = oe.filter((z) => z.account_guid === V.guid).map((z) => ({
|
|
29119
29115
|
id: z.guid,
|
|
29120
29116
|
qty: z.shares || 0,
|
|
29121
29117
|
holding: z.symbol || z.description || "Unknown",
|
|
@@ -29123,10 +29119,10 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
29123
29119
|
totalGainLoss: z.market_value ? z.market_value - (z.cost_basis || 0) : 0,
|
|
29124
29120
|
marketValue: z.market_value || 0,
|
|
29125
29121
|
description: z.description || ""
|
|
29126
|
-
})), J = pe.length > 0, ke = V.balance,
|
|
29122
|
+
})), J = pe.length > 0, ke = V.balance, xe = pe.reduce(
|
|
29127
29123
|
(z, Be) => Be.totalGainLoss + z,
|
|
29128
29124
|
0
|
|
29129
|
-
), Ve = ke ?
|
|
29125
|
+
), Ve = ke ? xe / ke * 100 : 0;
|
|
29130
29126
|
if (e)
|
|
29131
29127
|
return /* @__PURE__ */ t(
|
|
29132
29128
|
Nt,
|
|
@@ -29219,19 +29215,19 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
29219
29215
|
justifyContent: "flex-end"
|
|
29220
29216
|
},
|
|
29221
29217
|
children: [
|
|
29222
|
-
|
|
29218
|
+
xe !== 0 && /* @__PURE__ */ t(
|
|
29223
29219
|
pt,
|
|
29224
29220
|
{
|
|
29225
|
-
name:
|
|
29221
|
+
name: xe > 0 ? "trending_up" : "trending_down",
|
|
29226
29222
|
size: 20,
|
|
29227
|
-
sx: { color: M(
|
|
29223
|
+
sx: { color: M(xe) }
|
|
29228
29224
|
}
|
|
29229
29225
|
),
|
|
29230
29226
|
/* @__PURE__ */ d(
|
|
29231
29227
|
C,
|
|
29232
29228
|
{
|
|
29233
29229
|
sx: {
|
|
29234
|
-
color: M(
|
|
29230
|
+
color: M(xe),
|
|
29235
29231
|
fontWeight: 600
|
|
29236
29232
|
},
|
|
29237
29233
|
variant: "Body",
|
|
@@ -29246,11 +29242,11 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
29246
29242
|
C,
|
|
29247
29243
|
{
|
|
29248
29244
|
sx: {
|
|
29249
|
-
color: M(
|
|
29245
|
+
color: M(xe),
|
|
29250
29246
|
fontWeight: 600
|
|
29251
29247
|
},
|
|
29252
29248
|
variant: "Body",
|
|
29253
|
-
children: Math.abs(
|
|
29249
|
+
children: Math.abs(xe).toLocaleString("en-US", {
|
|
29254
29250
|
currency: "USD",
|
|
29255
29251
|
maximumFractionDigits: 2,
|
|
29256
29252
|
minimumFractionDigits: 2,
|
|
@@ -29363,19 +29359,19 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
29363
29359
|
justifyContent: "flex-end"
|
|
29364
29360
|
},
|
|
29365
29361
|
children: [
|
|
29366
|
-
|
|
29362
|
+
xe !== 0 && /* @__PURE__ */ t(
|
|
29367
29363
|
pt,
|
|
29368
29364
|
{
|
|
29369
|
-
name:
|
|
29365
|
+
name: xe >= 0 ? "trending_up" : "trending_down",
|
|
29370
29366
|
size: 20,
|
|
29371
|
-
sx: { color: M(
|
|
29367
|
+
sx: { color: M(xe) }
|
|
29372
29368
|
}
|
|
29373
29369
|
),
|
|
29374
29370
|
/* @__PURE__ */ d(
|
|
29375
29371
|
C,
|
|
29376
29372
|
{
|
|
29377
29373
|
sx: {
|
|
29378
|
-
color: M(
|
|
29374
|
+
color: M(xe),
|
|
29379
29375
|
fontWeight: 600
|
|
29380
29376
|
},
|
|
29381
29377
|
variant: "Body",
|
|
@@ -29390,11 +29386,11 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
29390
29386
|
C,
|
|
29391
29387
|
{
|
|
29392
29388
|
sx: {
|
|
29393
|
-
color: M(
|
|
29389
|
+
color: M(xe),
|
|
29394
29390
|
fontWeight: 600
|
|
29395
29391
|
},
|
|
29396
29392
|
variant: "Body",
|
|
29397
|
-
children: Math.abs(
|
|
29393
|
+
children: Math.abs(xe).toLocaleString("en-US", {
|
|
29398
29394
|
currency: "USD",
|
|
29399
29395
|
maximumFractionDigits: 2,
|
|
29400
29396
|
minimumFractionDigits: 2,
|
|
@@ -29448,7 +29444,7 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
29448
29444
|
handleCostBasisClick: k,
|
|
29449
29445
|
handleCostBasisKeyDown: L,
|
|
29450
29446
|
isOpen: a,
|
|
29451
|
-
onClose:
|
|
29447
|
+
onClose: je
|
|
29452
29448
|
}
|
|
29453
29449
|
),
|
|
29454
29450
|
/* @__PURE__ */ t(
|
|
@@ -29460,7 +29456,7 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
29460
29456
|
}
|
|
29461
29457
|
)
|
|
29462
29458
|
] }) : /* @__PURE__ */ t(de, {});
|
|
29463
|
-
}, Hy = x(By), Py = ({ title: e }) => /* @__PURE__ */ t(C, { bold: !0, variant: "Body", children: e }),
|
|
29459
|
+
}, Hy = x(By), Py = ({ title: e }) => /* @__PURE__ */ t(C, { bold: !0, variant: "Body", children: e }), YT = x(({ onBackClick: e, sx: n }) => {
|
|
29464
29460
|
const { onEvent: i } = q(), { isMobile: a } = Ce(), { visibleInvestmentAccounts: o } = be(), {
|
|
29465
29461
|
visibleHoldings: r,
|
|
29466
29462
|
setShowConnectionsWidget: s,
|
|
@@ -29718,8 +29714,8 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
29718
29714
|
g.useEffect(() => {
|
|
29719
29715
|
c(
|
|
29720
29716
|
a,
|
|
29721
|
-
|
|
29722
|
-
|
|
29717
|
+
Ze(/* @__PURE__ */ new Date()),
|
|
29718
|
+
Qe(/* @__PURE__ */ new Date())
|
|
29723
29719
|
).finally();
|
|
29724
29720
|
}, [a]);
|
|
29725
29721
|
const [u, _] = g.useState(""), [h, p] = g.useState(0), m = g.useMemo(
|
|
@@ -29808,7 +29804,7 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
29808
29804
|
children: /* @__PURE__ */ t(Uy, {})
|
|
29809
29805
|
}
|
|
29810
29806
|
);
|
|
29811
|
-
},
|
|
29807
|
+
}, jT = x(Vy), Ky = ({
|
|
29812
29808
|
data: e,
|
|
29813
29809
|
onSelected: n,
|
|
29814
29810
|
selectedId: i = "",
|
|
@@ -29962,32 +29958,32 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
29962
29958
|
), k = g.useMemo(
|
|
29963
29959
|
() => h.find((K) => K.guid === I),
|
|
29964
29960
|
[I, h]
|
|
29965
|
-
), G = (K,
|
|
29966
|
-
E(
|
|
29961
|
+
), G = (K, oe) => {
|
|
29962
|
+
E(oe), S("");
|
|
29967
29963
|
}, L = (K) => {
|
|
29968
29964
|
S(f === K || K === "0" ? "" : K);
|
|
29969
29965
|
}, W = (K) => {
|
|
29970
|
-
const
|
|
29966
|
+
const oe = {
|
|
29971
29967
|
accounts: p || u,
|
|
29972
29968
|
dateRange: c
|
|
29973
29969
|
};
|
|
29974
29970
|
if (y === 0)
|
|
29975
29971
|
if (K === "other") {
|
|
29976
|
-
const
|
|
29972
|
+
const ne = R.categoryData.find((fe) => fe.guid === "other");
|
|
29977
29973
|
_({
|
|
29978
|
-
...
|
|
29979
|
-
custom: (fe) => !!
|
|
29974
|
+
...oe,
|
|
29975
|
+
custom: (fe) => !!ne?.categoryTotals?.find((Ae) => Ae.guid === fe.top_level_category_guid)
|
|
29980
29976
|
});
|
|
29981
29977
|
} else
|
|
29982
29978
|
_({
|
|
29983
|
-
...
|
|
29984
|
-
custom: (
|
|
29979
|
+
...oe,
|
|
29980
|
+
custom: (ne) => K ? ne.top_level_category_guid === K : ne.top_level_category_guid !== D.INCOME && ne.top_level_category_guid !== D.INVESTMENTS && ne.top_level_category_guid !== D.TRANSFER,
|
|
29985
29981
|
showSplits: !!K
|
|
29986
29982
|
});
|
|
29987
29983
|
else
|
|
29988
29984
|
_({
|
|
29989
|
-
...
|
|
29990
|
-
custom: (
|
|
29985
|
+
...oe,
|
|
29986
|
+
custom: (ne) => K ? ne.category_guid === K : ne.category_guid === D.INCOME || ne.top_level_category_guid === D.INCOME
|
|
29991
29987
|
});
|
|
29992
29988
|
N(!0);
|
|
29993
29989
|
};
|
|
@@ -30064,7 +30060,7 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
30064
30060
|
g.useEffect(() => {
|
|
30065
30061
|
c(i);
|
|
30066
30062
|
}, [i]), g.useEffect(() => {
|
|
30067
|
-
_ && Array.isArray(_) && _.length === 2 ? s(_[0], _[1]) : s(
|
|
30063
|
+
_ && Array.isArray(_) && _.length === 2 ? s(_[0], _[1]) : s(Ze(ve()), Qe(ve())), p(!0), l(F.SPENDING_VIEW);
|
|
30068
30064
|
}, []);
|
|
30069
30065
|
const m = (f) => {
|
|
30070
30066
|
s(f[0], f[1]);
|
|
@@ -30081,7 +30077,7 @@ const by = ({ widgets: e, isLoading: n }) => {
|
|
|
30081
30077
|
children: /* @__PURE__ */ t(O, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(Zy, {}) })
|
|
30082
30078
|
}
|
|
30083
30079
|
);
|
|
30084
|
-
},
|
|
30080
|
+
}, XT = x(qy);
|
|
30085
30081
|
export {
|
|
30086
30082
|
F as ANALYTICS_EVENTS,
|
|
30087
30083
|
Ns as AccountApi,
|
|
@@ -30096,30 +30092,30 @@ export {
|
|
|
30096
30092
|
H_ as AccountSubType,
|
|
30097
30093
|
_e as AccountType,
|
|
30098
30094
|
Eo as AccountTypeName,
|
|
30099
|
-
|
|
30100
|
-
|
|
30095
|
+
WT as AccountsMiniWidget,
|
|
30096
|
+
FT as AccountsWidget,
|
|
30101
30097
|
im as AddAccountModal,
|
|
30102
30098
|
$c as AddRecurringTransactionDetails,
|
|
30103
30099
|
au as AnalyticsApi,
|
|
30104
30100
|
B as ApiEndpoints,
|
|
30105
30101
|
T0 as AppStore,
|
|
30106
30102
|
Sr as BannerApi,
|
|
30107
|
-
|
|
30103
|
+
rT as BarChart,
|
|
30108
30104
|
li as BeatApi,
|
|
30109
30105
|
k0 as BeatCard,
|
|
30110
30106
|
Zi as BottomActions,
|
|
30111
|
-
|
|
30112
|
-
|
|
30107
|
+
VT as BubbleBudgetsMiniWidget,
|
|
30108
|
+
KT as BubbleBudgetsWidget,
|
|
30113
30109
|
fs as BudgetNotificationProfiles,
|
|
30114
30110
|
Zn as BudgetNotificationTypes,
|
|
30115
30111
|
xu as Calendar,
|
|
30116
30112
|
Ac as CalendarSelectionTypes,
|
|
30117
30113
|
F0 as CarouselHeader,
|
|
30118
|
-
|
|
30119
|
-
|
|
30114
|
+
fT as CashflowApi,
|
|
30115
|
+
lT as CashflowMiniWidget,
|
|
30120
30116
|
jm as CashflowOnboarding,
|
|
30121
30117
|
qm as CashflowStore,
|
|
30122
|
-
|
|
30118
|
+
pT as CashflowWidget,
|
|
30123
30119
|
Er as CategoryApi,
|
|
30124
30120
|
si as CategoryColors,
|
|
30125
30121
|
ba as CategoryGuidToName,
|
|
@@ -30132,24 +30128,24 @@ export {
|
|
|
30132
30128
|
D0 as ChartFilledIcon,
|
|
30133
30129
|
vc as ConnectCard,
|
|
30134
30130
|
bn as ConnectDrawer,
|
|
30135
|
-
$
|
|
30131
|
+
$T as ConnectMiniWidget,
|
|
30136
30132
|
Yn as ConnectionStatus,
|
|
30137
30133
|
Et as ConnectionStatusEnums,
|
|
30138
|
-
|
|
30134
|
+
yT as CreditScoreGraph,
|
|
30139
30135
|
oa as CurrencyCodes,
|
|
30140
30136
|
en as CurrencyInput,
|
|
30141
|
-
|
|
30137
|
+
Xe as CurrencyText,
|
|
30142
30138
|
re as DATE_FORMATS_INTL,
|
|
30143
30139
|
gc as DEFAULT_DONUT_SIZE,
|
|
30144
30140
|
mc as DEFAULT_STROKE_WIDTH,
|
|
30145
|
-
|
|
30141
|
+
zT as Dashboard,
|
|
30146
30142
|
qi as DashboardLocation,
|
|
30147
30143
|
eo as DataRow,
|
|
30148
30144
|
wr as DateRangeSelector,
|
|
30149
30145
|
qc as DebtsChart,
|
|
30150
30146
|
Zp as DebtsStore,
|
|
30151
30147
|
Fp as DebtsTable,
|
|
30152
|
-
|
|
30148
|
+
bT as DebtsWidget,
|
|
30153
30149
|
lC as DeviceTab,
|
|
30154
30150
|
tl as DialScoreCard,
|
|
30155
30151
|
Ge as Dialog,
|
|
@@ -30164,20 +30160,20 @@ export {
|
|
|
30164
30160
|
nl as FinancialStrengthGraph,
|
|
30165
30161
|
is as FinstrongApi,
|
|
30166
30162
|
r1 as FinstrongStore,
|
|
30167
|
-
|
|
30163
|
+
ST as FinstrongWidget,
|
|
30168
30164
|
Se as Frequency,
|
|
30169
30165
|
Ri as GlobalCopyApi,
|
|
30170
30166
|
Qu as GlobalCopyStore,
|
|
30171
30167
|
ti as GlobalDataContext,
|
|
30172
|
-
|
|
30173
|
-
|
|
30168
|
+
iT as GlobalDataProvider,
|
|
30169
|
+
PT as GlobalStore,
|
|
30174
30170
|
os as GoalApi,
|
|
30175
30171
|
Y1 as GoalStore,
|
|
30176
30172
|
ao as GoalType,
|
|
30177
|
-
|
|
30178
|
-
|
|
30173
|
+
TT as GoalsMicroWidget,
|
|
30174
|
+
ET as GoalsWidget,
|
|
30179
30175
|
yl as Help,
|
|
30180
|
-
|
|
30176
|
+
wT as HelpWidget,
|
|
30181
30177
|
To as INCOME_ACCOUNT_TYPES,
|
|
30182
30178
|
Bn as IconBacking,
|
|
30183
30179
|
Oo as InformationTooltip,
|
|
@@ -30185,18 +30181,18 @@ export {
|
|
|
30185
30181
|
V0 as InsightsMicroWidget,
|
|
30186
30182
|
A0 as InsightsMicroWidgetDataProvider,
|
|
30187
30183
|
Cs as InsightsNotificationProfiles,
|
|
30188
|
-
|
|
30184
|
+
YT as InvestmentsWidget,
|
|
30189
30185
|
K_ as IterationItemTypes,
|
|
30190
|
-
|
|
30186
|
+
Z2 as LOADING_STATUS,
|
|
30191
30187
|
ni as LineChart,
|
|
30192
30188
|
tn as ListItemAction,
|
|
30193
30189
|
qu as ListItemWrapper,
|
|
30194
30190
|
de as Loader,
|
|
30195
|
-
|
|
30191
|
+
tT as LocalizedCopyApi,
|
|
30196
30192
|
_m as ManageExpenses,
|
|
30197
30193
|
Ho as ManageIncome,
|
|
30198
30194
|
Gn as MemberConnectionStatus,
|
|
30199
|
-
|
|
30195
|
+
AT as MerchantLookup,
|
|
30200
30196
|
Cf as MerchantStore,
|
|
30201
30197
|
Gt as MetaType,
|
|
30202
30198
|
dc as MfaStatuses,
|
|
@@ -30205,45 +30201,45 @@ export {
|
|
|
30205
30201
|
Ea as MicroWidgetContainer,
|
|
30206
30202
|
Un as MiniWidgetContainer,
|
|
30207
30203
|
O0 as MonthlySpendComparisonIcon,
|
|
30208
|
-
|
|
30204
|
+
sT as MultiSegmentDonut,
|
|
30209
30205
|
yf as NetWorthChart,
|
|
30210
30206
|
Af as NetWorthList,
|
|
30211
|
-
|
|
30207
|
+
xT as NetWorthMicroWidget,
|
|
30212
30208
|
kf as NetWorthStore,
|
|
30213
30209
|
vf as NetWorthSummary,
|
|
30214
|
-
|
|
30215
|
-
|
|
30210
|
+
IT as NetWorthWidget,
|
|
30211
|
+
GT as NoRelevantInsightsCard,
|
|
30216
30212
|
uc as NonConnectedStatuses,
|
|
30217
30213
|
Tr as NotificationApi,
|
|
30218
|
-
|
|
30214
|
+
OT as NotificationDrawer,
|
|
30219
30215
|
Qf as NotificationList,
|
|
30220
30216
|
_a as NotificationSettings,
|
|
30221
|
-
|
|
30217
|
+
NT as NotificationSettingsWidget,
|
|
30222
30218
|
Kf as NotificationStore,
|
|
30223
30219
|
Mt as NotificationTypes,
|
|
30224
30220
|
B_ as ORDINAL_DATE_FORMAT,
|
|
30225
|
-
|
|
30221
|
+
z2 as ORDINAL_MONTH_DAY_YEAR_FORMAT,
|
|
30226
30222
|
Ao as PAYMENT_ACCOUNT_TYPES,
|
|
30227
30223
|
Cr as PaymentCategories,
|
|
30228
30224
|
V_ as PlanTypes,
|
|
30229
30225
|
P_ as ProcessingStatuses,
|
|
30230
30226
|
aC as ProfileTab,
|
|
30231
30227
|
lc as PropertyType,
|
|
30232
|
-
|
|
30233
|
-
|
|
30228
|
+
j2 as PropertyTypeName,
|
|
30229
|
+
X2 as RECURRENCE_COPY,
|
|
30234
30230
|
et as RecurrenceStatus,
|
|
30235
30231
|
Zt as RecurrenceType,
|
|
30236
30232
|
U_ as RecurrenceTypes,
|
|
30237
30233
|
Po as RecurringSettings,
|
|
30238
|
-
|
|
30239
|
-
|
|
30234
|
+
mT as RecurringTransactionsMicroWidget,
|
|
30235
|
+
gT as RecurringTransactionsMiniWidget,
|
|
30240
30236
|
Em as RecurringTransactionsStore,
|
|
30241
|
-
|
|
30237
|
+
hT as RecurringTransactionsWidget,
|
|
30242
30238
|
cn as RepeatingType,
|
|
30243
|
-
|
|
30239
|
+
cT as ResponsiveButton,
|
|
30244
30240
|
xo as SPENDING_ACCOUNT_TYPES,
|
|
30245
30241
|
Ph as ScheduledPaymentTypes,
|
|
30246
|
-
|
|
30242
|
+
nT as ScheduledPaymentsApi,
|
|
30247
30243
|
Fh as ScreenSize,
|
|
30248
30244
|
Ta as SearchBox,
|
|
30249
30245
|
zi as Select,
|
|
@@ -30252,16 +30248,16 @@ export {
|
|
|
30252
30248
|
gs as SettingsApi,
|
|
30253
30249
|
tC as SettingsStore,
|
|
30254
30250
|
ri as SettingsTabs,
|
|
30255
|
-
|
|
30251
|
+
DT as SettingsWidget,
|
|
30256
30252
|
ZC as SettingsWidgetContents,
|
|
30257
30253
|
Ro as SingleSegmentDonut,
|
|
30258
30254
|
z_ as Sizes,
|
|
30259
|
-
|
|
30260
|
-
|
|
30255
|
+
jT as SpendingMiniWidget,
|
|
30256
|
+
XT as SpendingWidget,
|
|
30261
30257
|
Wu as StackedLineChart,
|
|
30262
30258
|
di as StatusBar,
|
|
30263
|
-
|
|
30264
|
-
|
|
30259
|
+
Y2 as StatusName,
|
|
30260
|
+
UT as SurveyMiniWidget,
|
|
30265
30261
|
Ii as TOUCH_TARGET,
|
|
30266
30262
|
Q as TRANSACTION_EVENTS,
|
|
30267
30263
|
Rn as TabContentContainer,
|
|
@@ -30274,17 +30270,17 @@ export {
|
|
|
30274
30270
|
Vn as TransactionList,
|
|
30275
30271
|
Go as TransactionRow,
|
|
30276
30272
|
fl as TransactionRulesTab,
|
|
30277
|
-
|
|
30273
|
+
RT as TransactionRulesWidget,
|
|
30278
30274
|
ko as TransactionStatus,
|
|
30279
30275
|
$h as TransactionStore,
|
|
30280
30276
|
rg as TransactionTable,
|
|
30281
30277
|
Xt as TransactionType,
|
|
30282
|
-
|
|
30283
|
-
|
|
30284
|
-
|
|
30285
|
-
|
|
30278
|
+
uT as TransactionWidget,
|
|
30279
|
+
LT as TrendsFullWidget,
|
|
30280
|
+
kT as TrendsMicroWidget,
|
|
30281
|
+
MT as TrendsMiniWidget,
|
|
30286
30282
|
ab as TrendsStore,
|
|
30287
|
-
|
|
30283
|
+
HT as TrendsWidget,
|
|
30288
30284
|
Ha as UserApi,
|
|
30289
30285
|
cb as UserStore,
|
|
30290
30286
|
Bh as UserVerification,
|
|
@@ -30293,11 +30289,11 @@ export {
|
|
|
30293
30289
|
Ct as WidgetContainer,
|
|
30294
30290
|
Cc as WidgetContainerContext,
|
|
30295
30291
|
vo as WidgetContainerProvider,
|
|
30296
|
-
|
|
30292
|
+
BT as ZeroStateCard,
|
|
30297
30293
|
wl as ZeroStateIcon,
|
|
30298
30294
|
G_ as analyticsSession,
|
|
30299
30295
|
T as buildDynamicCopy,
|
|
30300
|
-
|
|
30296
|
+
J2 as buildPluralCopy,
|
|
30301
30297
|
Dc as exportTransactionsToCSV,
|
|
30302
30298
|
Vf as filterRecentNotifications,
|
|
30303
30299
|
H as formatCurrency,
|
|
@@ -30308,14 +30304,14 @@ export {
|
|
|
30308
30304
|
zc as getAccountBalanceDetails,
|
|
30309
30305
|
Dm as getAccountDetailFields,
|
|
30310
30306
|
yr as getCategory,
|
|
30311
|
-
|
|
30312
|
-
|
|
30307
|
+
q2 as getCategoryTotalsByParent,
|
|
30308
|
+
eT as getClientTheme,
|
|
30313
30309
|
tu as getCurrencyCodes,
|
|
30314
30310
|
Y_ as getDetailedCategory,
|
|
30315
30311
|
j_ as getDetailedSubCategory,
|
|
30316
30312
|
Wn as getLocale,
|
|
30317
|
-
|
|
30318
|
-
|
|
30313
|
+
vT as getNotificationDetailRoute,
|
|
30314
|
+
Q2 as isIncome,
|
|
30319
30315
|
Ja as isValidNumber,
|
|
30320
30316
|
be as useAccountStore,
|
|
30321
30317
|
Vt as useAccountUiStore,
|
|
@@ -30340,8 +30336,8 @@ export {
|
|
|
30340
30336
|
ru as useMerchantStore,
|
|
30341
30337
|
yc as useNetWorthStore,
|
|
30342
30338
|
Sc as useNotificationStore,
|
|
30343
|
-
|
|
30344
|
-
|
|
30339
|
+
aT as usePageView,
|
|
30340
|
+
oT as usePrevious,
|
|
30345
30341
|
rt as useRecurringTransactionsStore,
|
|
30346
30342
|
Ce as useScreenSize,
|
|
30347
30343
|
yt as useSettingsStore,
|