@mx-cartographer/experiences 6.26.23-alpha.al0 → 6.26.23-alpha.san2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.es.js CHANGED
@@ -54,7 +54,7 @@ import { ResponsiveChartContainer as Td, ChartsReferenceLine as Ad, AreaPlot as
54
54
  import { ChartsTooltip as Ld } from "@mui/x-charts/ChartsTooltip";
55
55
  import bt from "@mui/material/Card";
56
56
  import Pt from "@mui/material/CardContent";
57
- import st from "@mui/material/Grid";
57
+ import _t from "@mui/material/Grid";
58
58
  import { differenceInCalendarDays as Md } from "date-fns/differenceInCalendarDays";
59
59
  import { endOfToday as pn } from "date-fns/endOfToday";
60
60
  import { endOfYear as _r } from "date-fns/endOfYear";
@@ -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", j2 = "MMM do, yyyy", ae = {
347
+ }, B_ = "do", jT = "MMM do, yyyy", ae = {
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 X2 = {
432
+ const XT = {
433
433
  3: "Challenged",
434
434
  12: "Closed",
435
435
  9: "Degraded",
@@ -479,7 +479,7 @@ const X2 = {
479
479
  2: "savings"
480
480
  }, F_ = {
481
481
  5: "bid_landscape"
482
- }, Z2 = {
482
+ }, ZT = {
483
483
  0: "Real Estate",
484
484
  1: "Vehicle",
485
485
  2: "Art",
@@ -819,7 +819,7 @@ const X2 = {
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 q2 = [
822
+ const qT = [
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 q2 = [
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
- ], Q2 = {
831
+ ], QT = {
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
- }, J2 = (e, n) => {
843
+ }, JT = (e, n) => {
844
844
  const i = [];
845
845
  for (const a of n) {
846
846
  const o = yr(e, a.category_guid);
@@ -861,7 +861,7 @@ 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
- }, eT = (e, n) => {
864
+ }, e2 = (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) => {
@@ -909,11 +909,11 @@ 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
- }, tT = (e, n, i, ...a) => !e || !n ? "" : T(i === 1 ? e : n, ...a), Wn = () => {
912
+ }, t2 = (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
  };
916
- class dt {
916
+ class lt {
917
917
  endpoint = "/";
918
918
  headers;
919
919
  constructor(n, i, a) {
@@ -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
- }, nT = (e, n) => {
1006
+ }, n2 = (e, n) => {
1007
1007
  const i = e.palette.mode === "dark", a = (s, c) => {
1008
1008
  const l = n?.[s];
1009
1009
  return {
@@ -1138,7 +1138,7 @@ const H = (e, n, i) => {
1138
1138
  class au {
1139
1139
  fetchInstance;
1140
1140
  constructor(n, i) {
1141
- this.fetchInstance = new dt(n, i);
1141
+ this.fetchInstance = new lt(n, i);
1142
1142
  }
1143
1143
  initializeAnalyticsSession = async (n, i) => {
1144
1144
  const a = Xl.getParser(window.navigator.userAgent), { analytics_session: o } = await this.fetchInstance.post(B.ANALYTICS_SESSION, {
@@ -1166,7 +1166,7 @@ class au {
1166
1166
  class Sr {
1167
1167
  fetchInstance;
1168
1168
  constructor(n) {
1169
- this.fetchInstance = new dt(n, "", {
1169
+ this.fetchInstance = new lt(n, "", {
1170
1170
  Accept: "application/json",
1171
1171
  "Content-Type": "application/json"
1172
1172
  });
@@ -1183,7 +1183,7 @@ class Sr {
1183
1183
  class li {
1184
1184
  fetchInstance;
1185
1185
  constructor(n, i) {
1186
- this.fetchInstance = new dt(n, i);
1186
+ this.fetchInstance = new lt(n, i);
1187
1187
  }
1188
1188
  getBeats = async (n, i) => {
1189
1189
  const a = `page=${n || 1}&per_page=${i || 5}`;
@@ -1200,7 +1200,7 @@ class li {
1200
1200
  class Er {
1201
1201
  fetchInstance;
1202
1202
  constructor(n, i) {
1203
- this.fetchInstance = new dt(n, i);
1203
+ this.fetchInstance = new lt(n, i);
1204
1204
  }
1205
1205
  addCategory = async (n) => this.fetchInstance.post(B.CATEGORIES, n).then((i) => i.category);
1206
1206
  getCategories = async () => this.fetchInstance.get(B.CATEGORIES).then((n) => n.categories);
@@ -1225,14 +1225,14 @@ class Er {
1225
1225
  class Ri {
1226
1226
  fetchInstance;
1227
1227
  constructor(n, i) {
1228
- this.fetchInstance = new dt(n, i);
1228
+ this.fetchInstance = new lt(n, i);
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 iT {
1232
+ class i2 {
1233
1233
  fetchInstance;
1234
1234
  constructor(n, i) {
1235
- this.fetchInstance = new dt(n, i);
1235
+ this.fetchInstance = new lt(n, i);
1236
1236
  }
1237
1237
  getLocalizedCopy = async (n) => this.fetchInstance.post(B.LOCALIZED_COPY, n).then((i) => i);
1238
1238
  getLocalizedContent = async (n) => this.fetchInstance.post(`${B.LOCALIZED_CONTENT}/${n}`).then((i) => i);
@@ -1240,7 +1240,7 @@ class iT {
1240
1240
  class Tr {
1241
1241
  fetchInstance;
1242
1242
  constructor(n, i) {
1243
- this.fetchInstance = new dt(n, i);
1243
+ this.fetchInstance = new lt(n, i);
1244
1244
  }
1245
1245
  getNotifications = () => this.fetchInstance.get(B.NOTIFICATIONS).then(
1246
1246
  (n) => n.notifications.map((i) => i.notification)
@@ -1253,10 +1253,10 @@ 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 aT {
1256
+ class a2 {
1257
1257
  fetchInstance;
1258
1258
  constructor(n, i) {
1259
- this.fetchInstance = new dt(n, i);
1259
+ this.fetchInstance = new lt(n, i);
1260
1260
  }
1261
1261
  addScheduledPayment = async (n) => this.fetchInstance.post(B.SCHEDULED_PAYMENTS, {
1262
1262
  ...n,
@@ -1270,7 +1270,7 @@ class aT {
1270
1270
  class Ha {
1271
1271
  fetchInstance;
1272
1272
  constructor(n, i) {
1273
- this.fetchInstance = new dt(n, i);
1273
+ this.fetchInstance = new lt(n, i);
1274
1274
  }
1275
1275
  getUserFeatures = async () => this.fetchInstance.get(B.USER_FEATURES).then((n) => n.user_features).catch((n) => n);
1276
1276
  updateUser = async (n) => this.fetchInstance.put(B.USER, n).then((i) => i.user);
@@ -1279,7 +1279,7 @@ class Ha {
1279
1279
  class Ar {
1280
1280
  fetchInstance;
1281
1281
  constructor(n, i) {
1282
- this.fetchInstance = new dt(n, i);
1282
+ this.fetchInstance = new lt(n, i);
1283
1283
  }
1284
1284
  requestWidgetUrl = async (n) => this.fetchInstance.post(B.WIDGET_URLS, n).then((i) => i.widget_url);
1285
1285
  }
@@ -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), oT = ({
1293
+ }, {}), ti = g.createContext(null), o2 = ({
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
- }, Se = () => nt("useAccountStore").globalStore.accountStore, vt = () => nt("useAppConfig").globalStore.appDataStore.appConfig, vo = () => nt("useAnalyticsStore").globalStore.analyticsStore, ut = () => nt("useBudgetsStore").globalStore.budgetsStore, Do = () => nt("useCashflowStore").globalStore.cashflowStore, Ue = () => nt("useCategoryStore").globalStore.categoryStore, bc = () => nt("useConnectStore").globalStore.connectStore, Sa = () => nt("useDebtsStore").globalStore.debtsStore, bi = () => nt("useFinstrongStore").globalStore.finstrongStore, yi = () => nt("useGlobalStore").globalStore, re = () => 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, ke = () => nt("useTransactionStore").globalStore.transactionStore, Si = () => nt("useTrendsStore").globalStore.trendsStore, ft = () => nt("useUserStore").globalStore.userStore, q = () => ({ onEvent: nt().onEvent }), rT = () => ({ onPageView: nt().onPageView }), su = (e = "useWidgetContainerContext") => {
1324
+ }, Se = () => nt("useAccountStore").globalStore.accountStore, vt = () => nt("useAppConfig").globalStore.appDataStore.appConfig, vo = () => nt("useAnalyticsStore").globalStore.analyticsStore, ut = () => nt("useBudgetsStore").globalStore.budgetsStore, Do = () => nt("useCashflowStore").globalStore.cashflowStore, Ue = () => nt("useCategoryStore").globalStore.categoryStore, bc = () => nt("useConnectStore").globalStore.connectStore, Sa = () => nt("useDebtsStore").globalStore.debtsStore, bi = () => nt("useFinstrongStore").globalStore.finstrongStore, yi = () => nt("useGlobalStore").globalStore, re = () => nt("useGlobalUiStore").globalStore.globalUiStore, A = () => nt("globalCopyStore").globalStore.copyStore.copy, dt = () => 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, ke = () => nt("useTransactionStore").globalStore.transactionStore, Si = () => nt("useTrendsStore").globalStore.trendsStore, ft = () => nt("useUserStore").globalStore.userStore, q = () => ({ onEvent: nt().onEvent }), r2 = () => ({ 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
- }, sT = (e) => {
1581
+ }, s2 = (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], wr = (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, cT = ({
1856
+ }, Cu = (e, n, i, a) => e / (n < 0 ? -i : n) * a || 0, c2 = ({
1857
1857
  average: e,
1858
1858
  barWidth: n = "8%",
1859
1859
  color: i,
@@ -2737,9 +2737,9 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2737
2737
  /* @__PURE__ */ t(je, { amount: u, bold: !0, formatString: "0,0", variant: "body2" })
2738
2738
  ] }),
2739
2739
  /* @__PURE__ */ t(P, { sx: { my: 16, width: "100%" } }),
2740
- /* @__PURE__ */ t(st, { container: !0, children: i.map((_, h) => /* @__PURE__ */ d(g.Fragment, { children: [
2740
+ /* @__PURE__ */ t(_t, { container: !0, children: i.map((_, h) => /* @__PURE__ */ d(g.Fragment, { children: [
2741
2741
  h > 0 && h % 3 === 0 && /* @__PURE__ */ t(P, { sx: { my: 16, width: "100%" } }),
2742
- /* @__PURE__ */ t(st, { item: !0, xs: 4, children: /* @__PURE__ */ d(O, { alignItems: "center", display: "flex", flexDirection: "column", children: [
2742
+ /* @__PURE__ */ t(_t, { item: !0, xs: 4, children: /* @__PURE__ */ d(O, { alignItems: "center", display: "flex", flexDirection: "column", children: [
2743
2743
  /* @__PURE__ */ t(C, { color: r.palette.text.secondary, variant: "XSmall", children: _.x }),
2744
2744
  /* @__PURE__ */ t(
2745
2745
  je,
@@ -2846,7 +2846,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2846
2846
  isAreaHovered: !1,
2847
2847
  cursorPos: { x: 0, y: 0 }
2848
2848
  }), { hoveredSeriesId: w, hoveredAreaData: v, isAreaHovered: N, cursorPos: R } = E, M = N && w && v, k = !M, G = [...o, ...r], L = G[0]?.dataset.length ?? 0, W = G.flatMap((K) => K.dataset.map((He) => He.x)), Y = G.flatMap((K) => K.dataset.map((He) => He.y)), ee = o[0]?.dataset?.map(
2849
- (K, He) => o.reduce((ct, Tn) => ct + Tn.dataset[He]?.y || 0, 0)
2849
+ (K, He) => o.reduce((st, Tn) => st + Tn.dataset[He]?.y || 0, 0)
2850
2850
  ) ?? [0], ue = Math.max(...ee), _e = Math.max(
2851
2851
  ...r.flatMap((K) => K.dataset.map((He) => He.y))
2852
2852
  ), Le = Math.floor(Math.min(...Y) / 100) * 100, Re = Math.ceil(Math.max(ue, _e) / 100) * 100, he = o.map((K, He) => ({
@@ -2855,22 +2855,22 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2855
2855
  top_level_guid: K.top_level_category_guid,
2856
2856
  area: !0,
2857
2857
  color: o[He].category_color ?? l.palette.primary.main,
2858
- data: K.dataset.map((ct) => ct.y),
2858
+ data: K.dataset.map((st) => st.y),
2859
2859
  label: o[He].category_name,
2860
2860
  stack: "total",
2861
2861
  type: "line",
2862
2862
  highlightScope: { highlight: "item" },
2863
- valueFormatter: (ct) => H(ct, "0,0")
2863
+ valueFormatter: (st) => H(st, "0,0")
2864
2864
  })), me = r.map((K, He) => ({
2865
2865
  id: `unstacked-${He}`,
2866
2866
  guid: K.category_guid,
2867
2867
  top_level_guid: K.top_level_category_guid,
2868
2868
  area: !1,
2869
2869
  color: K.category_color,
2870
- data: K.dataset.map((ct) => ct.y),
2870
+ data: K.dataset.map((st) => st.y),
2871
2871
  label: K.category_name,
2872
2872
  type: "line",
2873
- valueFormatter: (ct) => H(ct, "0,0")
2873
+ valueFormatter: (st) => H(st, "0,0")
2874
2874
  })), qe = [...he, ...me], $ = [
2875
2875
  ...he.map(({ guid: K, top_level_guid: He }) => ({
2876
2876
  guid: K,
@@ -2881,10 +2881,10 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2881
2881
  top_level_guid: He
2882
2882
  }))
2883
2883
  ], pe = (K) => {
2884
- const ct = K.startsWith("stacked-") ? o[parseInt(K.split("-")[1])] : r[parseInt(K.split("-")[1])];
2884
+ const st = K.startsWith("stacked-") ? o[parseInt(K.split("-")[1])] : r[parseInt(K.split("-")[1])];
2885
2885
  return {
2886
- guid: ct?.category_guid,
2887
- topLevelGuid: ct?.top_level_category_guid
2886
+ guid: st?.category_guid,
2887
+ topLevelGuid: st?.top_level_category_guid
2888
2888
  };
2889
2889
  }, be = (K) => {
2890
2890
  y(K), i?.(K ?? "");
@@ -2894,14 +2894,14 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2894
2894
  const K = pe(String(w)).guid;
2895
2895
  K && a?.(K);
2896
2896
  }, Ge = (K) => {
2897
- const He = String(K?.seriesId), ct = pe(He).guid, Tn = qe.find((xi) => xi.id === He), La = Tn && K?.dataIndex !== void 0, Ma = Tn && K?.dataIndex === void 0;
2897
+ const He = String(K?.seriesId), st = pe(He).guid, Tn = qe.find((xi) => xi.id === He), La = Tn && K?.dataIndex !== void 0, Ma = Tn && K?.dataIndex === void 0;
2898
2898
  if (La)
2899
2899
  I({
2900
2900
  hoveredSeriesId: He,
2901
2901
  hoveredAreaData: null,
2902
2902
  isAreaHovered: !1,
2903
2903
  cursorPos: R
2904
- }), n?.(ct);
2904
+ }), n?.(st);
2905
2905
  else if (Ma) {
2906
2906
  const xi = Tn?.data.map((ka, Ga) => ({
2907
2907
  x: W[Ga],
@@ -2912,7 +2912,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2912
2912
  hoveredAreaData: xi,
2913
2913
  isAreaHovered: !0,
2914
2914
  cursorPos: R
2915
- }), e?.(ct);
2915
+ }), e?.(st);
2916
2916
  } else
2917
2917
  I({
2918
2918
  hoveredSeriesId: null,
@@ -2922,8 +2922,8 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2922
2922
  });
2923
2923
  }, St = (K) => {
2924
2924
  const He = K.currentTarget.getBoundingClientRect();
2925
- I((ct) => ({
2926
- ...ct,
2925
+ I((st) => ({
2926
+ ...st,
2927
2927
  cursorPos: {
2928
2928
  x: K.clientX - He.left,
2929
2929
  y: K.clientY - He.top
@@ -2945,10 +2945,10 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
2945
2945
  '& [class*="MuiLineElement-series-unstacked-"]': {
2946
2946
  strokeWidth: 3
2947
2947
  },
2948
- ...S && he.reduce((K, He, ct) => {
2949
- const Tn = `.MuiAreaElement-series-stacked-${ct}`;
2948
+ ...S && he.reduce((K, He, st) => {
2949
+ const Tn = `.MuiAreaElement-series-stacked-${st}`;
2950
2950
  return K[Tn] = {
2951
- opacity: he[ct].guid === S ? 0.9 : 0.2
2951
+ opacity: he[st].guid === S ? 0.9 : 0.2
2952
2952
  }, K;
2953
2953
  }, {})
2954
2954
  };
@@ -3430,7 +3430,7 @@ const Ic = ({ categoryGuid: e, topLevelCategoryGuid: n }) => {
3430
3430
  }
3431
3431
  )
3432
3432
  ] });
3433
- }, lT = ({
3433
+ }, l2 = ({
3434
3434
  hasGap: e = !1,
3435
3435
  segments: n,
3436
3436
  size: i = gc,
@@ -3934,7 +3934,7 @@ const Dr = "connect_widget", Nr = "connections_widget", ju = ({
3934
3934
  "& .MuiInputBase-adornedStart > .p": {
3935
3935
  marginRight: e.Spacing.Tiny
3936
3936
  }
3937
- }), dT = ({
3937
+ }), d2 = ({
3938
3938
  icon: e,
3939
3939
  label: n,
3940
3940
  onClick: i,
@@ -4536,7 +4536,7 @@ class nh {
4536
4536
  class Or {
4537
4537
  fetchInstance;
4538
4538
  constructor(n, i) {
4539
- this.fetchInstance = new dt(n, i);
4539
+ this.fetchInstance = new lt(n, i);
4540
4540
  }
4541
4541
  addBudget = async (n, i, a = null) => this.fetchInstance.post(B.BUDGETS, {
4542
4542
  amount: i,
@@ -4903,7 +4903,7 @@ const Ei = () => {
4903
4903
  children: /* @__PURE__ */ t(ch, { onAddIncomeClick: e })
4904
4904
  }
4905
4905
  ) : /* @__PURE__ */ t(ce, {});
4906
- }, _T = x(lh), dh = (e) => {
4906
+ }, _2 = x(lh), dh = (e) => {
4907
4907
  if (!e) return "";
4908
4908
  let n = e.user_name || e.feed_name || "";
4909
4909
  return e.account_number && (n = `${n} *${e.account_number}`), n;
@@ -5105,7 +5105,7 @@ const Ei = () => {
5105
5105
  class ca {
5106
5106
  fetchInstance;
5107
5107
  constructor(n, i) {
5108
- this.fetchInstance = new dt(n, i);
5108
+ this.fetchInstance = new lt(n, i);
5109
5109
  }
5110
5110
  addTag = async (n) => this.fetchInstance.post(B.TAGS, n).then((i) => i.tag);
5111
5111
  addTagging = async (n) => this.fetchInstance.post(B.TAGGINGS, n).then((i) => i.tagging);
@@ -5610,7 +5610,7 @@ const Dc = (e, n) => {
5610
5610
  const i = e.toLowerCase().split(" "), a = n?.toString().toLowerCase() ?? "";
5611
5611
  return i.every((o) => a.indexOf(o) > -1);
5612
5612
  };
5613
- var Bh = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.CORRECT = 1] = "CORRECT", e[e.INCORRECT = 2] = "INCORRECT", e))(Bh || {}), Hh = /* @__PURE__ */ ((e) => (e.Missed = "Missed", e.Paid = "Paid", e.Upcoming = "Upcoming expense", e.Income = "Income", e))(Hh || {}), Ph = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e))(Ph || {}), z = /* @__PURE__ */ ((e) => (e[e.DEBT_TRACK = 1] = "DEBT_TRACK", e[e.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", e[e.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", e[e.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", e))(z || {}), ao = /* @__PURE__ */ ((e) => (e[e.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", e[e.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", e[e.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", e[e.ACTION = 4] = "ACTION", e))(ao || {}), Gt = /* @__PURE__ */ ((e) => (e[e.AUTOMOBILE = 1] = "AUTOMOBILE", e[e.COLLEGE = 2] = "COLLEGE", e[e.HOUSE = 3] = "HOUSE", e[e.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", e[e.VACATION = 5] = "VACATION", e[e.ELECTRONIC = 6] = "ELECTRONIC", e[e.OTHER = 7] = "OTHER", e[e.RETIREMENT = 8] = "RETIREMENT", e[e.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", e[e.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", e[e.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", e[e.CREDIT_CARD = 12] = "CREDIT_CARD", e[e.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", e[e.LOANS = 14] = "LOANS", e))(Gt || {}), Mt = /* @__PURE__ */ ((e) => (e.Accounts = "accounts", e.Budgets = "budgets", e.Insights = "insights", e.Personal = "personal", e))(Mt || {}), lt = /* @__PURE__ */ ((e) => (e[e.DebtPaymentReminder = 3] = "DebtPaymentReminder", e[e.AccountBalanceLow = 6] = "AccountBalanceLow", e[e.AccountDepositLarge = 7] = "AccountDepositLarge", e[e.TransactionExpenseLarge = 8] = "TransactionExpenseLarge", e[e.TransactionFeeCharge = 9] = "TransactionFeeCharge", e[e.InternationalTransaction = 23] = "InternationalTransaction", e[e.AccountDepositLargePosted = 48] = "AccountDepositLargePosted", e))(lt || {}), Zn = /* @__PURE__ */ ((e) => (e[e.BudgetExceeded = 1] = "BudgetExceeded", e[e.BudgetOffTarget = 2] = "BudgetOffTarget", e))(Zn || {}), Je = /* @__PURE__ */ ((e) => (e[e.AccountBalanceLow = 33] = "AccountBalanceLow", e[e.BillAmountNotStandard = 49] = "BillAmountNotStandard", e[e.CategorySpending = 50] = "CategorySpending", e[e.CreditCardCloseToLimit = 51] = "CreditCardCloseToLimit", e[e.DebtPaymentReminder = 37] = "DebtPaymentReminder", e[e.DuplicatePayment = 42] = "DuplicatePayment", e[e.MonthlySpendComparison = 53] = "MonthlySpendComparison", e[e.MonthlySpendToIncomeComparison = 54] = "MonthlySpendToIncomeComparison", e[e.MonthlySubscriptionAggregate = 55] = "MonthlySubscriptionAggregate", e[e.MonthlyTopMerchantSpending = 56] = "MonthlyTopMerchantSpending", e[e.SaveAnExtra100Dollars = 57] = "SaveAnExtra100Dollars", e[e.SavingsOpportunity = 58] = "SavingsOpportunity", e[e.SetUpDirectDeposit = 59] = "SetUpDirectDeposit", e[e.SwitchDirectDeposit = 60] = "SwitchDirectDeposit", e[e.UncategorizedTransactions = 61] = "UncategorizedTransactions", e[e.UnifiedDeposit = 62] = "UnifiedDeposit", e[e.UpcomingBill = 63] = "UpcomingBill", e[e.WeekendSpendingSummary = 64] = "WeekendSpendingSummary", e[e.WeeklyNewMerchants = 65] = "WeeklyNewMerchants", e[e.DiscoveredAccounts = 52] = "DiscoveredAccounts", e[e.TransactionExpenseLarge = 39] = "TransactionExpenseLarge", e[e.PromotionalCampaignMessages = 67] = "PromotionalCampaignMessages", e[e.TransparentOverdraft = 68] = "TransparentOverdraft", e))(Je || {}), Xt = /* @__PURE__ */ ((e) => (e[e.CREDIT = 1] = "CREDIT", e[e.DEBIT = 2] = "DEBIT", e))(Xt || {}), ko = /* @__PURE__ */ ((e) => (e[e.POSTED = 1] = "POSTED", e[e.PENDING = 2] = "PENDING", e))(ko || {}), Fh = /* @__PURE__ */ ((e) => (e.Desktop = "Desktop", e.Mobile = "Mobile", e))(Fh || {}), Ee = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e[e.TwiceAMonth = 8] = "TwiceAMonth", e))(Ee || {}), et = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(et || {}), Zt = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(Zt || {}), cn = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e[e.Income = 3] = "Income", e[e.Transfer = 4] = "Transfer", e))(cn || {});
5613
+ var Bh = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.CORRECT = 1] = "CORRECT", e[e.INCORRECT = 2] = "INCORRECT", e))(Bh || {}), Hh = /* @__PURE__ */ ((e) => (e.Missed = "Missed", e.Paid = "Paid", e.Upcoming = "Upcoming expense", e.Income = "Income", e))(Hh || {}), Ph = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e))(Ph || {}), z = /* @__PURE__ */ ((e) => (e[e.DEBT_TRACK = 1] = "DEBT_TRACK", e[e.SAVINGS_TRACK = 2] = "SAVINGS_TRACK", e[e.RETIREMENT_TRACK = 3] = "RETIREMENT_TRACK", e[e.EMERGENCY_FUND_TRACK = 4] = "EMERGENCY_FUND_TRACK", e))(z || {}), ao = /* @__PURE__ */ ((e) => (e[e.SAVE_AMOUNT = 1] = "SAVE_AMOUNT", e[e.KEEP_BALANCE_BELOW = 2] = "KEEP_BALANCE_BELOW", e[e.KEEP_BALANCE_ABOVE = 3] = "KEEP_BALANCE_ABOVE", e[e.ACTION = 4] = "ACTION", e))(ao || {}), Gt = /* @__PURE__ */ ((e) => (e[e.AUTOMOBILE = 1] = "AUTOMOBILE", e[e.COLLEGE = 2] = "COLLEGE", e[e.HOUSE = 3] = "HOUSE", e[e.RECREATIONAL_VEHICLE = 4] = "RECREATIONAL_VEHICLE", e[e.VACATION = 5] = "VACATION", e[e.ELECTRONIC = 6] = "ELECTRONIC", e[e.OTHER = 7] = "OTHER", e[e.RETIREMENT = 8] = "RETIREMENT", e[e.EMERGENCY_FUND = 9] = "EMERGENCY_FUND", e[e.SETUP_BUDGETS = 10] = "SETUP_BUDGETS", e[e.START_MONEY_MANAGEMENT = 11] = "START_MONEY_MANAGEMENT", e[e.CREDIT_CARD = 12] = "CREDIT_CARD", e[e.LINE_OF_CREDIT = 13] = "LINE_OF_CREDIT", e[e.LOANS = 14] = "LOANS", e))(Gt || {}), Mt = /* @__PURE__ */ ((e) => (e.Accounts = "accounts", e.Budgets = "budgets", e.Insights = "insights", e.Personal = "personal", e))(Mt || {}), ct = /* @__PURE__ */ ((e) => (e[e.DebtPaymentReminder = 3] = "DebtPaymentReminder", e[e.AccountBalanceLow = 6] = "AccountBalanceLow", e[e.AccountDepositLarge = 7] = "AccountDepositLarge", e[e.TransactionExpenseLarge = 8] = "TransactionExpenseLarge", e[e.TransactionFeeCharge = 9] = "TransactionFeeCharge", e[e.InternationalTransaction = 23] = "InternationalTransaction", e[e.AccountDepositLargePosted = 48] = "AccountDepositLargePosted", e))(ct || {}), Zn = /* @__PURE__ */ ((e) => (e[e.BudgetExceeded = 1] = "BudgetExceeded", e[e.BudgetOffTarget = 2] = "BudgetOffTarget", e))(Zn || {}), Je = /* @__PURE__ */ ((e) => (e[e.AccountBalanceLow = 33] = "AccountBalanceLow", e[e.BillAmountNotStandard = 49] = "BillAmountNotStandard", e[e.CategorySpending = 50] = "CategorySpending", e[e.CreditCardCloseToLimit = 51] = "CreditCardCloseToLimit", e[e.DebtPaymentReminder = 37] = "DebtPaymentReminder", e[e.DuplicatePayment = 42] = "DuplicatePayment", e[e.MonthlySpendComparison = 53] = "MonthlySpendComparison", e[e.MonthlySpendToIncomeComparison = 54] = "MonthlySpendToIncomeComparison", e[e.MonthlySubscriptionAggregate = 55] = "MonthlySubscriptionAggregate", e[e.MonthlyTopMerchantSpending = 56] = "MonthlyTopMerchantSpending", e[e.SaveAnExtra100Dollars = 57] = "SaveAnExtra100Dollars", e[e.SavingsOpportunity = 58] = "SavingsOpportunity", e[e.SetUpDirectDeposit = 59] = "SetUpDirectDeposit", e[e.SwitchDirectDeposit = 60] = "SwitchDirectDeposit", e[e.UncategorizedTransactions = 61] = "UncategorizedTransactions", e[e.UnifiedDeposit = 62] = "UnifiedDeposit", e[e.UpcomingBill = 63] = "UpcomingBill", e[e.WeekendSpendingSummary = 64] = "WeekendSpendingSummary", e[e.WeeklyNewMerchants = 65] = "WeeklyNewMerchants", e[e.DiscoveredAccounts = 52] = "DiscoveredAccounts", e[e.TransactionExpenseLarge = 39] = "TransactionExpenseLarge", e[e.PromotionalCampaignMessages = 67] = "PromotionalCampaignMessages", e[e.TransparentOverdraft = 68] = "TransparentOverdraft", e))(Je || {}), Xt = /* @__PURE__ */ ((e) => (e[e.CREDIT = 1] = "CREDIT", e[e.DEBIT = 2] = "DEBIT", e))(Xt || {}), ko = /* @__PURE__ */ ((e) => (e[e.POSTED = 1] = "POSTED", e[e.PENDING = 2] = "PENDING", e))(ko || {}), Fh = /* @__PURE__ */ ((e) => (e.Desktop = "Desktop", e.Mobile = "Mobile", e))(Fh || {}), Ee = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.EveryWeek = 1] = "EveryWeek", e[e.EveryOtherWeek = 2] = "EveryOtherWeek", e[e.EveryMonth = 3] = "EveryMonth", e[e.EveryOtherMonth = 4] = "EveryOtherMonth", e[e.EveryQuarter = 5] = "EveryQuarter", e[e.EveryOtherQuarter = 6] = "EveryOtherQuarter", e[e.EveryYear = 7] = "EveryYear", e[e.TwiceAMonth = 8] = "TwiceAMonth", e))(Ee || {}), et = /* @__PURE__ */ ((e) => (e[e.Paid = 0] = "Paid", e[e.Missed = 1] = "Missed", e[e.Upcoming = 2] = "Upcoming", e))(et || {}), Zt = /* @__PURE__ */ ((e) => (e[e.Expense = 0] = "Expense", e[e.Income = 1] = "Income", e))(Zt || {}), cn = /* @__PURE__ */ ((e) => (e[e.Unknown = 0] = "Unknown", e[e.Subscription = 1] = "Subscription", e[e.Bill = 2] = "Bill", e[e.Income = 3] = "Income", e[e.Transfer = 4] = "Transfer", e))(cn || {});
5614
5614
  const Nc = {
5615
5615
  account_guid: "",
5616
5616
  amount: 0,
@@ -7182,8 +7182,8 @@ const Lc = ({ transaction: e }) => {
7182
7182
  pb: r.Spacing.Tiny,
7183
7183
  px: r.Spacing.XSmall,
7184
7184
  children: [
7185
- /* @__PURE__ */ d(st, { alignItems: m ? "center" : "start", container: !0, children: [
7186
- /* @__PURE__ */ t(st, { item: !0, xs: 7, children: /* @__PURE__ */ d(b, { alignItems: "start", children: [
7185
+ /* @__PURE__ */ d(_t, { alignItems: m ? "center" : "start", container: !0, children: [
7186
+ /* @__PURE__ */ t(_t, { item: !0, xs: 7, children: /* @__PURE__ */ d(b, { alignItems: "start", children: [
7187
7187
  /* @__PURE__ */ t(
7188
7188
  te,
7189
7189
  {
@@ -7208,7 +7208,7 @@ const Lc = ({ transaction: e }) => {
7208
7208
  }
7209
7209
  ) })
7210
7210
  ] }) }),
7211
- /* @__PURE__ */ t(st, { item: !0, xs: 5, children: m ? /* @__PURE__ */ t("div", { className: "mx-txn-split-manager-row-top-container", children: /* @__PURE__ */ t(C, { children: H(o.amount, "0,0.00") }) }) : /* @__PURE__ */ d(b, { alignItems: "start", children: [
7211
+ /* @__PURE__ */ t(_t, { item: !0, xs: 5, children: m ? /* @__PURE__ */ t("div", { className: "mx-txn-split-manager-row-top-container", children: /* @__PURE__ */ t(C, { children: H(o.amount, "0,0.00") }) }) : /* @__PURE__ */ d(b, { alignItems: "start", children: [
7212
7212
  /* @__PURE__ */ d(b, { alignItems: "start", direction: "row", gap: r.Spacing.XSmall, children: [
7213
7213
  /* @__PURE__ */ t(
7214
7214
  en,
@@ -8040,7 +8040,7 @@ const Lc = ({ transaction: e }) => {
8040
8040
  const Wt = g.useMemo(
8041
8041
  () => o.filter((ht) => ht.is_manual),
8042
8042
  [o]
8043
- ), K = qe ? G.find((ht) => ht.guid === qe) : void 0, He = Y && !!W.payee && !!W.account_guid && !!W.category_guid, ct = (ht) => {
8043
+ ), K = qe ? G.find((ht) => ht.guid === qe) : void 0, He = Y && !!W.payee && !!W.account_guid && !!W.category_guid, st = (ht) => {
8044
8044
  S(ht[0], ht[1]);
8045
8045
  }, Tn = (ht) => {
8046
8046
  ue(ht), R({
@@ -8084,7 +8084,7 @@ const Lc = ({ transaction: e }) => {
8084
8084
  accountOptions: o,
8085
8085
  actions: Ba,
8086
8086
  calendarActions: {
8087
- onRangeChanged: ct
8087
+ onRangeChanged: st
8088
8088
  },
8089
8089
  onAccountsFilterClick: () => l(F.ACCOUNTS_CLICK_FILTER),
8090
8090
  onBackClick: e,
@@ -8202,7 +8202,7 @@ const Lc = ({ transaction: e }) => {
8202
8202
  ]
8203
8203
  }
8204
8204
  );
8205
- }, gT = x(cm), Hc = ({
8205
+ }, g2 = x(cm), Hc = ({
8206
8206
  frequency: e,
8207
8207
  firstDay: n,
8208
8208
  secondDay: i,
@@ -9223,7 +9223,7 @@ const Lc = ({ transaction: e }) => {
9223
9223
  )
9224
9224
  ] }) })
9225
9225
  ] });
9226
- }), mT = x(({ onBackClick: e, sx: n = {} }) => {
9226
+ }), m2 = x(({ onBackClick: e, sx: n = {} }) => {
9227
9227
  const { accounts: i } = Se(), { recurring: a } = A(), { isCopyLoaded: o, isInitialized: r, selectedAccountGuids: s, setSelectedAccounts: c } = re(), { isDataLoaded: l, loadRepeatingTransactions: u, setDateRange: _ } = rt(), { setFilter: h } = ke(), { onEvent: m } = q(), [p, f] = g.useState(!1);
9228
9228
  return g.useEffect(() => {
9229
9229
  c(i);
@@ -9288,7 +9288,7 @@ const Lc = ({ transaction: e }) => {
9288
9288
  }
9289
9289
  )
9290
9290
  ] });
9291
- }), pT = x(
9291
+ }), p2 = x(
9292
9292
  ({ onPrimaryCtaClick: e, sx: n }) => {
9293
9293
  const { accounts: i } = Se(), { recurring: a } = A(), { setFilter: o } = ke(), { isDataLoaded: r, loadRepeatingTransactions: s } = rt(), { isCopyLoaded: c, isInitialized: l, setSelectedAccounts: u, selectedAccountGuids: _ } = re();
9294
9294
  return g.useEffect(() => {
@@ -9389,7 +9389,7 @@ const Lc = ({ transaction: e }) => {
9389
9389
  /* @__PURE__ */ t(X, { color: "text.secondary", variant: "subtitle2", children: e.zero_state_content_description })
9390
9390
  ] })
9391
9391
  ] });
9392
- }), fT = x(
9392
+ }), f2 = x(
9393
9393
  ({ onCTAClick: e }) => {
9394
9394
  const [n, i] = g.useState(!1), { onEvent: a } = q(), o = Te(), { accounts: r } = Se(), [s, { width: c }] = ii(), { isCopyLoaded: l, isInitialized: u, selectedAccountGuids: _, setSelectedAccounts: h } = re(), {
9395
9395
  loadRepeatingTransactions: m,
@@ -9546,7 +9546,7 @@ const Lc = ({ transaction: e }) => {
9546
9546
  class Yr {
9547
9547
  fetchInstance;
9548
9548
  constructor(n, i) {
9549
- this.fetchInstance = new dt(n, i);
9549
+ this.fetchInstance = new lt(n, i);
9550
9550
  }
9551
9551
  addRepeatingTransaction = async (n) => this.fetchInstance.post(B.REPEATING_TRANSACTIONS, n).then((i) => i.repeating_transaction);
9552
9552
  getRepeatingTransactions = async () => this.fetchInstance.get(B.REPEATING_TRANSACTIONS).then((n) => n.repeating_transactions);
@@ -10842,11 +10842,11 @@ const Om = ({ recurrence: e }) => /* @__PURE__ */ d(Z, { children: [
10842
10842
  children: /* @__PURE__ */ t(jm, {})
10843
10843
  }
10844
10844
  );
10845
- }, CT = x(Xm);
10846
- class bT {
10845
+ }, C2 = x(Xm);
10846
+ class b2 {
10847
10847
  fetchInstance;
10848
10848
  constructor(n, i) {
10849
- this.fetchInstance = new dt(n, i);
10849
+ this.fetchInstance = new lt(n, i);
10850
10850
  }
10851
10851
  addCashflowEvent = async (n) => this.fetchInstance.post(B.CASHFLOW_EVENTS, { ...n }).then((i) => i);
10852
10852
  addCashflowSequence = async (n) => this.fetchInstance.post(B.CASHFLOW_SEQUENCES, { ...n }).then((i) => i.cashflow_sequence);
@@ -10958,7 +10958,7 @@ const En = () => {
10958
10958
  throw new Error("useCateUiStore() must be used within the GlobalDataContext");
10959
10959
  return Sa().uiStore;
10960
10960
  }, Jm = ({ debts: e, onClickCta: n, sx: i }) => {
10961
- const a = dn(), { isMobile: o } = Ce(), { debts: r } = A(), { selectedDebtPriority: s } = En(), { monthlyCashFlowProfile: c } = _t(), { payoffDate: l, payoffSavings: u, payoffDuration: _ } = g.useMemo(() => {
10961
+ const a = dn(), { isMobile: o } = Ce(), { debts: r } = A(), { selectedDebtPriority: s } = En(), { monthlyCashFlowProfile: c } = dt(), { payoffDate: l, payoffSavings: u, payoffDuration: _ } = g.useMemo(() => {
10962
10962
  const h = c?.extra_payment ?? 0;
10963
10963
  return Qm(e, s, h);
10964
10964
  }, [e, s, c]);
@@ -11725,7 +11725,7 @@ const qc = ({
11725
11725
  ) })
11726
11726
  ] }) });
11727
11727
  }, yp = x(bp), Qc = x(({ goal: e }) => {
11728
- const { goals: n } = A(), { setAlert: i, setSelectedGoal: a, updateGoal: o } = _t(), [r, s] = g.useState(e.interest_rate ?? 0), c = !e.guid, l = r < 0, u = async () => {
11728
+ const { goals: n } = A(), { setAlert: i, setSelectedGoal: a, updateGoal: o } = dt(), [r, s] = g.useState(e.interest_rate ?? 0), c = !e.guid, l = r < 0, u = async () => {
11729
11729
  const h = { ...e, interest_rate: r };
11730
11730
  e.interest_rate = r, c ? a(h) : (await o(h), i(n.alert_goal_updated_interest_rate));
11731
11731
  }, _ = () => {
@@ -11758,7 +11758,7 @@ const qc = ({
11758
11758
  }
11759
11759
  );
11760
11760
  }), Jc = x(({ goal: e }) => {
11761
- const { goals: n } = A(), { setAlert: i, setSelectedGoal: a, updateGoal: o } = _t(), [r, s] = g.useState(e.monthly_payment ?? 0), c = !e.guid, l = r < 0 || r > 9999999999e-2, u = async () => {
11761
+ const { goals: n } = A(), { setAlert: i, setSelectedGoal: a, updateGoal: o } = dt(), [r, s] = g.useState(e.monthly_payment ?? 0), c = !e.guid, l = r < 0 || r > 9999999999e-2, u = async () => {
11762
11762
  const h = { ...e, monthly_payment: r };
11763
11763
  e.monthly_payment = r, c ? a(h) : (await o({ ...e, monthly_payment: r }), i(n.alert_goal_updated_payment));
11764
11764
  }, _ = () => {
@@ -11792,7 +11792,7 @@ const qc = ({
11792
11792
  }
11793
11793
  );
11794
11794
  }), el = x(({ goal: e }) => {
11795
- const { goals: n } = A(), { setAlert: i, setSelectedGoal: a, updateGoal: o } = _t(), [r, s] = g.useState(e.initial_amount), c = !e.guid, l = r < 0 || r > 9999999999e-2, u = async () => {
11795
+ const { goals: n } = A(), { setAlert: i, setSelectedGoal: a, updateGoal: o } = dt(), [r, s] = g.useState(e.initial_amount), c = !e.guid, l = r < 0 || r > 9999999999e-2, u = async () => {
11796
11796
  const h = { ...e, initial_amount: r };
11797
11797
  e.initial_amount = r, c ? a(h) : (await o({ ...e, initial_amount: r }), i(n.alert_goal_updated_balance));
11798
11798
  }, _ = () => {
@@ -12037,7 +12037,7 @@ const qc = ({
12037
12037
  }
12038
12038
  );
12039
12039
  }, Rp = x(() => {
12040
- const { debts: e } = A(), { monthlyCashFlowProfile: n, updateMonthlyCashFlowProfile: i } = _t(), { onEvent: a } = q(), [o, r] = g.useState(n?.extra_payment ?? 0), s = o < 0 || o > 9999999999e-2, c = async () => {
12040
+ const { debts: e } = A(), { monthlyCashFlowProfile: n, updateMonthlyCashFlowProfile: i } = dt(), { onEvent: a } = q(), [o, r] = g.useState(n?.extra_payment ?? 0), s = o < 0 || o > 9999999999e-2, c = async () => {
12041
12041
  n && (await i({ ...n, extra_payment: o }), n.extra_payment = o, a(F.DEBTS_SAVE_PAYDOWN_ACTION, {
12042
12042
  user_guid: n?.user_guid
12043
12043
  }));
@@ -12071,7 +12071,7 @@ const qc = ({
12071
12071
  }
12072
12072
  );
12073
12073
  }), Op = () => {
12074
- const { debts: e } = A(), { totalMonthlyPayments: n } = Sa(), { monthlyCashFlowProfile: i } = _t(), a = n + Number(i?.extra_payment);
12074
+ const { debts: e } = A(), { totalMonthlyPayments: n } = Sa(), { monthlyCashFlowProfile: i } = dt(), a = n + Number(i?.extra_payment);
12075
12075
  return /* @__PURE__ */ d(b, { sx: { backgroundColor: "background.default", height: "100%" }, children: [
12076
12076
  /* @__PURE__ */ d(b, { p: 24, children: [
12077
12077
  /* @__PURE__ */ d(b, { alignItems: "center", gap: 4, mb: 24, children: [
@@ -12446,7 +12446,7 @@ const zt = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
12446
12446
  l.priority = !l.is_paid_off && !l.is_impossible ? c++ : void 0;
12447
12447
  }), r;
12448
12448
  }, Kp = x(({ onClick: e }) => {
12449
- const { debts: n } = A(), { isDesktop: i } = Ce(), { totalMonthlyPayments: a } = Sa(), { monthlyCashFlowProfile: o } = _t(), r = a + Number(o?.extra_payment), s = i ? n.paydown_button_long : n.paydown_button_short;
12449
+ const { debts: n } = A(), { isDesktop: i } = Ce(), { totalMonthlyPayments: a } = Sa(), { monthlyCashFlowProfile: o } = dt(), r = a + Number(o?.extra_payment), s = i ? n.paydown_button_long : n.paydown_button_short;
12450
12450
  return /* @__PURE__ */ t(
12451
12451
  te,
12452
12452
  {
@@ -12460,7 +12460,7 @@ const zt = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
12460
12460
  }
12461
12461
  );
12462
12462
  }), zp = ({ onBackClick: e, sx: n }) => {
12463
- const [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState(!1), [l, u] = g.useState(""), { isDesktop: _, isMobile: h } = Ce(), { debts: m } = A(), { onEvent: p } = q(), { isCopyLoaded: f, isInitialized: S, setSelectedAccounts: y } = re(), { setSelectedAccount: E } = Vt(), { selectedDebtPriority: I, setSelectedDebtChartData: w } = En(), { visibleDebtAccounts: v } = Se(), { goalsLoaded: N, loadGoals: R, monthlyCashFlowProfile: M } = _t(), { debts: k } = Sa(), G = g.useMemo(() => {
12463
+ const [i, a] = g.useState(!1), [o, r] = g.useState(!1), [s, c] = g.useState(!1), [l, u] = g.useState(""), { isDesktop: _, isMobile: h } = Ce(), { debts: m } = A(), { onEvent: p } = q(), { isCopyLoaded: f, isInitialized: S, setSelectedAccounts: y } = re(), { setSelectedAccount: E } = Vt(), { selectedDebtPriority: I, setSelectedDebtChartData: w } = En(), { visibleDebtAccounts: v } = Se(), { goalsLoaded: N, loadGoals: R, monthlyCashFlowProfile: M } = dt(), { debts: k } = Sa(), G = g.useMemo(() => {
12464
12464
  const _e = M?.extra_payment ?? 0;
12465
12465
  return Vp(k, I, _e);
12466
12466
  }, [k, I, M]);
@@ -12546,7 +12546,7 @@ const zt = (e) => /* @__PURE__ */ t(C, { fontWeight: 600, variant: "Small", chil
12546
12546
  ]
12547
12547
  }
12548
12548
  );
12549
- }, ST = x(zp), Yp = {
12549
+ }, S2 = x(zp), Yp = {
12550
12550
  unnamed_label: "Unnamed Debt"
12551
12551
  };
12552
12552
  function jp(e, n) {
@@ -12980,7 +12980,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
12980
12980
  }
12981
12981
  );
12982
12982
  }
12983
- ), ET = x(
12983
+ ), E2 = x(
12984
12984
  ({
12985
12985
  arcRadius: e,
12986
12986
  size: n = "L",
@@ -13048,7 +13048,7 @@ const qp = ({ list: e, onClickItem: n }) => /* @__PURE__ */ t(O, { sx: { bgcolor
13048
13048
  class is {
13049
13049
  fetchInstance;
13050
13050
  constructor(n, i) {
13051
- this.fetchInstance = new dt(n, i);
13051
+ this.fetchInstance = new lt(n, i);
13052
13052
  }
13053
13053
  calculateHealthScore = async () => this.fetchInstance.post(`${B.HEALTH_SCORES}/calculate`).then((n) => n.health_score);
13054
13054
  getAverageHealthScores = async () => this.fetchInstance.get(`${B.HEALTH_SCORES}/monthly_averages`).then((n) => n);
@@ -14123,11 +14123,11 @@ const Na = ({
14123
14123
  ]
14124
14124
  }
14125
14125
  );
14126
- }, TT = x(v1);
14126
+ }, T2 = x(v1);
14127
14127
  class os {
14128
14128
  fetchInstance;
14129
14129
  constructor(n, i) {
14130
- this.fetchInstance = new dt(n, i);
14130
+ this.fetchInstance = new lt(n, i);
14131
14131
  }
14132
14132
  addGoal = async (n) => this.fetchInstance.post(B.GOALS, n).then((i) => i.goal);
14133
14133
  addRetirementGoal = async (n) => this.fetchInstance.post(B.RETIREMENT_GOALS, n).then((i) => i.retirement_goal);
@@ -14278,7 +14278,7 @@ const N1 = (e, n) => {
14278
14278
  ] }) });
14279
14279
  }
14280
14280
  ), O1 = x(({ trackType: e }) => {
14281
- const { goals: n } = A(), { setAlert: i, monthlyCashFlowProfile: a, updateMonthlyCashFlowProfile: o } = _t(), r = g.useMemo(() => {
14281
+ const { goals: n } = A(), { setAlert: i, monthlyCashFlowProfile: a, updateMonthlyCashFlowProfile: o } = dt(), r = g.useMemo(() => {
14282
14282
  let u = 0;
14283
14283
  return e === z.SAVINGS_TRACK ? u = a?.amount_allocated_for_savings_goals || 0 : e === z.DEBT_TRACK ? u = a?.amount_allocated_for_debt_goals || 0 : e === z.RETIREMENT_TRACK && (u = a?.amount_allocated_for_retirement_goals || 0), u;
14284
14284
  }, [a]), [s, c] = g.useState(r), l = async () => {
@@ -14311,7 +14311,7 @@ const N1 = (e, n) => {
14311
14311
  }
14312
14312
  ) });
14313
14313
  }), L1 = ({ goals: e }) => {
14314
- const { goals: n, common: i } = A(), { reorderGoals: a, setAlert: o } = _t(), [r, s] = g.useState(!1), [c, l] = g.useState(e.map((p) => ({ ...p })));
14314
+ const { goals: n, common: i } = A(), { reorderGoals: a, setAlert: o } = dt(), [r, s] = g.useState(!1), [c, l] = g.useState(e.map((p) => ({ ...p })));
14315
14315
  g.useEffect(() => {
14316
14316
  r && l(e.map((p) => ({ ...p })));
14317
14317
  }, [r]);
@@ -14456,7 +14456,7 @@ const N1 = (e, n) => {
14456
14456
  ] }) })
14457
14457
  ] }) }, e.guid);
14458
14458
  }, G1 = ({ trackType: e }) => {
14459
- const { goals: n, common: i } = A(), { orderedGoals: a } = _t(), o = a.filter((p) => p.track_type === e), r = o.filter(
14459
+ const { goals: n, common: i } = A(), { orderedGoals: a } = dt(), o = a.filter((p) => p.track_type === e), r = o.filter(
14460
14460
  (p) => p.track_type === z.SAVINGS_TRACK && !p.has_been_spent || p.track_type !== z.SAVINGS_TRACK && !p.is_complete
14461
14461
  ), s = o.filter(
14462
14462
  (p) => p.track_type === z.SAVINGS_TRACK && p.has_been_spent || p.track_type !== z.SAVINGS_TRACK && p.is_complete
@@ -14511,7 +14511,7 @@ const N1 = (e, n) => {
14511
14511
  )
14512
14512
  ] });
14513
14513
  }, $a = x(({ trackType: e, onAddGoals: n }) => {
14514
- const { isMobile: i } = Ce(), { goals: a } = A(), { orderedGoals: o, setSelectedGoal: r } = _t(), s = o.filter((_) => _.track_type === e), c = s.filter(
14514
+ const { isMobile: i } = Ce(), { goals: a } = A(), { orderedGoals: o, setSelectedGoal: r } = dt(), s = o.filter((_) => _.track_type === e), c = s.filter(
14515
14515
  (_) => _.track_type === z.SAVINGS_TRACK && !_.has_been_spent || _.track_type !== z.SAVINGS_TRACK && !_.is_complete
14516
14516
  ), l = s.filter(
14517
14517
  (_) => _.track_type === z.SAVINGS_TRACK && _.has_been_spent || _.track_type !== z.SAVINGS_TRACK && _.is_complete
@@ -14665,7 +14665,7 @@ const N1 = (e, n) => {
14665
14665
  }
14666
14666
  );
14667
14667
  }, H1 = ({ onClose: e }) => {
14668
- const { goals: n } = A(), { addGoal: i, debtGoals: a, setAlert: o, setSelectedGoal: r } = _t(), { visibleDebtAccounts: s } = Se(), [c, l] = g.useState(!1), u = D1(n), _ = (m, p, f) => {
14668
+ const { goals: n } = A(), { addGoal: i, debtGoals: a, setAlert: o, setSelectedGoal: r } = dt(), { visibleDebtAccounts: s } = Se(), [c, l] = g.useState(!1), u = D1(n), _ = (m, p, f) => {
14669
14669
  f === z.DEBT_TRACK ? l(!0) : r({
14670
14670
  amount: 0,
14671
14671
  current_amount: 0,
@@ -14734,7 +14734,7 @@ const N1 = (e, n) => {
14734
14734
  ] }) })
14735
14735
  ] });
14736
14736
  }, P1 = x(({ goal: e }) => {
14737
- const { goals: n } = A(), { setAlert: i, setSelectedGoal: a, updateGoal: o } = _t(), [r, s] = g.useState(e.amount), c = !e.guid, l = r < 0 || r > 9999999999e-2, u = e.track_type === z.SAVINGS_TRACK && e.has_been_spent || e.track_type !== z.SAVINGS_TRACK && e.is_complete, _ = async () => {
14737
+ const { goals: n } = A(), { setAlert: i, setSelectedGoal: a, updateGoal: o } = dt(), [r, s] = g.useState(e.amount), c = !e.guid, l = r < 0 || r > 9999999999e-2, u = e.track_type === z.SAVINGS_TRACK && e.has_been_spent || e.track_type !== z.SAVINGS_TRACK && e.is_complete, _ = async () => {
14738
14738
  const m = { ...e, amount: r };
14739
14739
  e.amount = r, c ? a(m) : (await o(m), i(n.alert_goal_updated_amount));
14740
14740
  }, h = () => {
@@ -14768,7 +14768,7 @@ const N1 = (e, n) => {
14768
14768
  }
14769
14769
  );
14770
14770
  }), F1 = ({ goal: e }) => {
14771
- const { visibleCheckingAccounts: n, visibleSavingsAccounts: i } = Se(), { accounts: a, goals: o } = A(), { setAlert: r, setSelectedGoal: s, updateGoal: c } = _t(), l = !e.guid, [u, _] = g.useState(!1), h = async ({ balance: m, guid: p }) => {
14771
+ const { visibleCheckingAccounts: n, visibleSavingsAccounts: i } = Se(), { accounts: a, goals: o } = A(), { setAlert: r, setSelectedGoal: s, updateGoal: c } = dt(), l = !e.guid, [u, _] = g.useState(!1), h = async ({ balance: m, guid: p }) => {
14772
14772
  const f = { ...e, account_guid: p, current_amount: m || 0 };
14773
14773
  l ? s(f) : (await c(f), r(o.alert_account_changed)), _(!1);
14774
14774
  };
@@ -14839,7 +14839,7 @@ const N1 = (e, n) => {
14839
14839
  ] }) })
14840
14840
  ] });
14841
14841
  }, W1 = x(({ goal: e }) => {
14842
- const { goals: n } = A(), { setAlert: i, setSelectedGoal: a, updateGoal: o } = _t(), [r, s] = g.useState(e.name), c = !e.guid, l = e.track_type === z.SAVINGS_TRACK && e.has_been_spent || e.track_type !== z.SAVINGS_TRACK && e.is_complete, u = async () => {
14842
+ const { goals: n } = A(), { setAlert: i, setSelectedGoal: a, updateGoal: o } = dt(), [r, s] = g.useState(e.name), c = !e.guid, l = e.track_type === z.SAVINGS_TRACK && e.has_been_spent || e.track_type !== z.SAVINGS_TRACK && e.is_complete, u = async () => {
14843
14843
  const h = { ...e, name: r };
14844
14844
  e.name = r, c ? a(h) : (await o(h), i(n.alert_goal_updated_name));
14845
14845
  }, _ = () => {
@@ -14870,7 +14870,7 @@ const N1 = (e, n) => {
14870
14870
  }
14871
14871
  );
14872
14872
  }), $1 = ({ goal: e }) => {
14873
- const { goals: n } = A(), { setAlert: i, setSelectedGoal: a, updateGoal: o } = _t(), [r, s] = g.useState(e.retirement_age || 65), c = !e.guid, l = async () => {
14873
+ const { goals: n } = A(), { setAlert: i, setSelectedGoal: a, updateGoal: o } = dt(), [r, s] = g.useState(e.retirement_age || 65), c = !e.guid, l = async () => {
14874
14874
  if (!isNaN(r)) {
14875
14875
  const h = { ...e, retirement_age: r };
14876
14876
  e.retirement_age = r, c ? a(h) : (await o(h), i(n.alert_goal_updated_retirement_age));
@@ -14904,7 +14904,7 @@ const N1 = (e, n) => {
14904
14904
  }
14905
14905
  );
14906
14906
  }, U1 = x(({ goal: e }) => {
14907
- const { goals: n } = A(), { user: i, updateUser: a } = ft(), { setAlert: o } = _t(), [r, s] = g.useState(Ve(i.birthday ?? 0)), [c, l] = g.useState(null), u = e.is_complete, _ = async () => {
14907
+ const { goals: n } = A(), { user: i, updateUser: a } = ft(), { setAlert: o } = dt(), [r, s] = g.useState(Ve(i.birthday ?? 0)), [c, l] = g.useState(null), u = e.is_complete, _ = async () => {
14908
14908
  r && f_(r) && (await a({ ...i, birthday: We(r) }), o(n.alert_goal_updated_birthday));
14909
14909
  };
14910
14910
  return /* @__PURE__ */ t(
@@ -14938,7 +14938,7 @@ const N1 = (e, n) => {
14938
14938
  setAlert: c,
14939
14939
  setNewRetirementGoalAccounts: l,
14940
14940
  setSelectedGoal: u
14941
- } = _t(), [_, h] = g.useState(!1), m = !e.guid, p = i.filter(
14941
+ } = dt(), [_, h] = g.useState(!1), m = !e.guid, p = i.filter(
14942
14942
  (y) => m ? o.find((E) => E.account_guid === y.guid) : r.find((E) => E.account_guid === y.guid)
14943
14943
  ), f = i.filter(
14944
14944
  (y) => !r.find((E) => E.account_guid === y.guid)
@@ -15037,7 +15037,7 @@ const N1 = (e, n) => {
15037
15037
  setAlert: h,
15038
15038
  setSelectedGoal: m,
15039
15039
  updateGoal: p
15040
- } = _t(), { user: f } = ft(), [S, y] = g.useState(!1), E = !_?.guid, I = _?.track_type === z.SAVINGS_TRACK && _.is_complete && !_.has_been_spent, w = g.useMemo(() => {
15040
+ } = dt(), { user: f } = ft(), [S, y] = g.useState(!1), E = !_?.guid, I = _?.track_type === z.SAVINGS_TRACK && _.is_complete && !_.has_been_spent, w = g.useMemo(() => {
15041
15041
  const L = E ? l : u;
15042
15042
  return n.filter((W) => L.some((Y) => Y.account_guid === W.guid));
15043
15043
  }, [E, n, l, u]), v = g.useMemo(() => {
@@ -15092,8 +15092,8 @@ const N1 = (e, n) => {
15092
15092
  }
15093
15093
  )
15094
15094
  ] });
15095
- }), AT = x(({ onBackClick: e, sx: n }) => {
15096
- const { onEvent: i } = q(), { isMobile: a } = Ce(), { visibleAccounts: o } = Se(), { isCopyLoaded: r, isInitialized: s, setSelectedAccounts: c } = re(), { goals: l, common: u } = A(), { alert: _, goals: h, goalsLoaded: m, loadGoals: p, monthlyCashFlowProfile: f, setAlert: S, retirmentGoals: y } = _t(), [E, I] = g.useState(0), [w, v] = 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(
15095
+ }), A2 = x(({ onBackClick: e, sx: n }) => {
15096
+ const { onEvent: i } = q(), { isMobile: a } = Ce(), { visibleAccounts: o } = Se(), { isCopyLoaded: r, isInitialized: s, setSelectedAccounts: c } = re(), { goals: l, common: u } = A(), { alert: _, goals: h, goalsLoaded: m, loadGoals: p, monthlyCashFlowProfile: f, setAlert: S, retirmentGoals: y } = dt(), [E, I] = g.useState(0), [w, v] = 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(
15097
15097
  a ? l.tab_subtitle_mobile : l.tab_subtitle,
15098
15098
  H(N, "0,0")
15099
15099
  ) : "", G = r ? T(
@@ -15432,8 +15432,8 @@ const j1 = x(({ goal: e }) => {
15432
15432
  )
15433
15433
  ]
15434
15434
  }
15435
- ), xT = x(({ onCTAClick: e }) => {
15436
- const { visibleAccounts: n } = Se(), { onEvent: i } = q(), { goals: a } = A(), { isInitialized: o, setSelectedAccounts: r, isCopyLoaded: s } = re(), { ongoingGoalsForMicroWidget: c, loadGoals: l, goalsLoaded: u } = _t();
15435
+ ), x2 = x(({ onCTAClick: e }) => {
15436
+ const { visibleAccounts: n } = Se(), { onEvent: i } = q(), { goals: a } = A(), { isInitialized: o, setSelectedAccounts: r, isCopyLoaded: s } = re(), { ongoingGoalsForMicroWidget: c, loadGoals: l, goalsLoaded: u } = dt();
15437
15437
  g.useEffect(() => {
15438
15438
  r(n);
15439
15439
  }, []), g.useEffect(() => {
@@ -15472,7 +15472,7 @@ const j1 = x(({ goal: e }) => {
15472
15472
  class rs {
15473
15473
  fetchInstance;
15474
15474
  constructor(n, i) {
15475
- this.fetchInstance = new dt(n, i);
15475
+ this.fetchInstance = new lt(n, i);
15476
15476
  }
15477
15477
  createSupportTicket = async (n) => this.fetchInstance.post(B.SUPPORT_TICKETS, n).then((i) => i);
15478
15478
  }
@@ -15835,7 +15835,7 @@ class nf {
15835
15835
  class ss {
15836
15836
  fetchInstance;
15837
15837
  constructor(n, i) {
15838
- this.fetchInstance = new dt(n, i);
15838
+ this.fetchInstance = new lt(n, i);
15839
15839
  }
15840
15840
  getHoldings = async () => this.fetchInstance.get(B.HOLDINGS).then((n) => n.holdings);
15841
15841
  updateHoldings = async (n) => this.fetchInstance.put(`${B.HOLDINGS}/${n.guid}`, n).then((i) => i.holding);
@@ -16074,11 +16074,11 @@ const mf = /^[ a-zA-ZÀ-ÿ0-9]+$/, pf = 50, ls = 65, ff = ({
16074
16074
  !a.length && /* @__PURE__ */ t(b, { alignItems: "center", my: 24, children: /* @__PURE__ */ t(C, { bold: !0, color: "secondary", variant: "Small", children: r.search_zero_state }) })
16075
16075
  ] }) }) })
16076
16076
  ] }) : /* @__PURE__ */ t(ce, {});
16077
- }, IT = x(ff);
16077
+ }, I2 = x(ff);
16078
16078
  class ds {
16079
16079
  fetchInstance;
16080
16080
  constructor(n, i) {
16081
- this.fetchInstance = new dt(n, i);
16081
+ this.fetchInstance = new lt(n, i);
16082
16082
  }
16083
16083
  getMerchants = async (n = [], i = [], a = 1, o = 25) => {
16084
16084
  let r = B.MERCHANTS;
@@ -16416,7 +16416,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16416
16416
  /* @__PURE__ */ t(C, { sx: { display: "block", fontWeight: 600 }, variant: "body1", children: e.empty_widget_header }),
16417
16417
  /* @__PURE__ */ t(X, { sx: { color: "text.secondary" }, variant: "body2", children: e.zero_state_description })
16418
16418
  ] })
16419
- ] }), wT = x(({ onCTAClick: e }) => {
16419
+ ] }), w2 = x(({ onCTAClick: e }) => {
16420
16420
  const [n, i] = g.useState(!1), { visibleAccounts: a } = Se(), { onEvent: o } = q(), { net_worth: r, common: s } = A(), { isInitialized: c, selectedAccounts: l, setSelectedAccounts: u } = re(), { loadChartData: _, loadNetWorthData: h, netWorthData: m, selectedData: p } = yc(), f = async () => {
16421
16421
  await h(l), await _(1), i(!0);
16422
16422
  };
@@ -16613,8 +16613,24 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16613
16613
  oe,
16614
16614
  {
16615
16615
  primary: /* @__PURE__ */ d(b, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
16616
- /* @__PURE__ */ t(C, { variant: "Body", children: c.accountName }),
16617
- /* @__PURE__ */ t(je, { amount: c.loss, sx: { fontWeight: 700 }, variant: "Body" })
16616
+ /* @__PURE__ */ t(
16617
+ C,
16618
+ {
16619
+ sx: {
16620
+ marginRight: 10
16621
+ },
16622
+ variant: "Body",
16623
+ children: c.accountName
16624
+ }
16625
+ ),
16626
+ /* @__PURE__ */ t(
16627
+ je,
16628
+ {
16629
+ amount: c.loss,
16630
+ sx: { flexShrink: 0, fontWeight: 700 },
16631
+ variant: "Body"
16632
+ }
16633
+ )
16618
16634
  ] }),
16619
16635
  sx: { px: 16 }
16620
16636
  }
@@ -16626,7 +16642,7 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16626
16642
  ] }))
16627
16643
  ] })
16628
16644
  ] });
16629
- }, $f = x(Wf), vT = x(({ onBackClick: e }) => {
16645
+ }, $f = x(Wf), v2 = x(({ onBackClick: e }) => {
16630
16646
  const { isCopyLoaded: n, isInitialized: i, selectedAccounts: a, setSelectedAccounts: o } = re(), { accounts: r, net_worth: s } = A(), { visibleAccounts: c } = Se(), {
16631
16647
  assetsLiabilities: l,
16632
16648
  gainsLosses: u,
@@ -16762,18 +16778,18 @@ const Gf = ({ amount: e, copy: n, trendValue: i }) => {
16762
16778
  ] }) : /* @__PURE__ */ t(ce, {})
16763
16779
  }
16764
16780
  ) : /* @__PURE__ */ t(ce, {});
16765
- }), DT = (e) => {
16781
+ }), D2 = (e) => {
16766
16782
  switch (e) {
16767
16783
  case Zn.BudgetExceeded:
16768
16784
  case Zn.BudgetOffTarget:
16769
16785
  return B.BUDGETS;
16770
- case lt.DebtPaymentReminder:
16771
- case lt.AccountBalanceLow:
16772
- case lt.AccountDepositLarge:
16786
+ case ct.DebtPaymentReminder:
16787
+ case ct.AccountBalanceLow:
16788
+ case ct.AccountDepositLarge:
16773
16789
  return B.ACCOUNTS;
16774
- case lt.TransactionExpenseLarge:
16775
- case lt.TransactionFeeCharge:
16776
- case lt.InternationalTransaction:
16790
+ case ct.TransactionExpenseLarge:
16791
+ case ct.TransactionFeeCharge:
16792
+ case ct.InternationalTransaction:
16777
16793
  return B.TRANSACTIONS;
16778
16794
  default:
16779
16795
  return null;
@@ -16918,7 +16934,7 @@ const zf = ({ date: e }) => /* @__PURE__ */ t(O, { sx: { display: "flex", justif
16918
16934
  class gs {
16919
16935
  fetchInstance;
16920
16936
  constructor(n, i) {
16921
- this.fetchInstance = new dt(n, i);
16937
+ this.fetchInstance = new lt(n, i);
16922
16938
  }
16923
16939
  deleteDevice = async (n) => this.fetchInstance.delete(`${B.DEVICES}/${n}`).then((i) => i);
16924
16940
  generateDeviceToken = async () => this.fetchInstance.get(`${B.USER}/mobile_token`).then((n) => n.mobile_token);
@@ -16936,13 +16952,13 @@ class gs {
16936
16952
  const ms = "PARENT-ENTITY", Jf = (e, n) => ({
16937
16953
  [Zn.BudgetExceeded]: n.notification_budget_exceeded,
16938
16954
  [Zn.BudgetOffTarget]: n.notification_budget_off_target,
16939
- [lt.DebtPaymentReminder]: n.notification_debt_payment_reminder,
16940
- [lt.AccountBalanceLow]: n.notification_low_balance,
16941
- [lt.AccountDepositLargePosted]: n.notification_large_deposit,
16942
- [lt.AccountDepositLarge]: n.notification_large_deposit,
16943
- [lt.TransactionExpenseLarge]: n.notification_large_expense,
16944
- [lt.TransactionFeeCharge]: n.notification_transaction_fee,
16945
- [lt.InternationalTransaction]: n.notification_transaction_is_international,
16955
+ [ct.DebtPaymentReminder]: n.notification_debt_payment_reminder,
16956
+ [ct.AccountBalanceLow]: n.notification_low_balance,
16957
+ [ct.AccountDepositLargePosted]: n.notification_large_deposit,
16958
+ [ct.AccountDepositLarge]: n.notification_large_deposit,
16959
+ [ct.TransactionExpenseLarge]: n.notification_large_expense,
16960
+ [ct.TransactionFeeCharge]: n.notification_transaction_fee,
16961
+ [ct.InternationalTransaction]: n.notification_transaction_is_international,
16946
16962
  [Je.AccountBalanceLow]: n.account_balance_low,
16947
16963
  [Je.BillAmountNotStandard]: n.bill_amount_not_standard,
16948
16964
  [Je.CategorySpending]: n.category_spending,
@@ -17008,7 +17024,7 @@ class tC {
17008
17024
  get accountProfiles() {
17009
17025
  const n = this.globalStore.appDataStore.clientCommunicationProfile;
17010
17026
  return this.detailedNotificationProfiles.filter(
17011
- (i) => i.notification_type === lt.DebtPaymentReminder && n.debt_payment_reminder_notifications_enabled || i.notification_type === lt.AccountBalanceLow && n.low_balance_notifications_enabled || i.notification_type === lt.AccountDepositLarge && n.large_deposit_notifications_enabled || i.notification_type === lt.TransactionExpenseLarge && n.large_expense_notifications_enabled || i.notification_type === lt.TransactionFeeCharge && n.transaction_fee_notifications_enabled || i.notification_type === lt.InternationalTransaction && n.transaction_is_international_notifications_enabled || i.notification_type === lt.AccountDepositLargePosted && n.large_deposit_notifications_enabled
17027
+ (i) => i.notification_type === ct.DebtPaymentReminder && n.debt_payment_reminder_notifications_enabled || i.notification_type === ct.AccountBalanceLow && n.low_balance_notifications_enabled || i.notification_type === ct.AccountDepositLarge && n.large_deposit_notifications_enabled || i.notification_type === ct.TransactionExpenseLarge && n.large_expense_notifications_enabled || i.notification_type === ct.TransactionFeeCharge && n.transaction_fee_notifications_enabled || i.notification_type === ct.InternationalTransaction && n.transaction_is_international_notifications_enabled || i.notification_type === ct.AccountDepositLargePosted && n.large_deposit_notifications_enabled
17012
17028
  );
17013
17029
  }
17014
17030
  get budgetProfiles() {
@@ -18053,7 +18069,7 @@ const oC = ({
18053
18069
  ] });
18054
18070
  }), mC = x(
18055
18071
  ({ onProfileUpdated: e, profile: n }) => {
18056
- const { common: i, recurring: a, settings: o } = A(), { updateAccount: r } = Se(), s = n.notification_type === lt.DebtPaymentReminder, [c, l] = g.useState(!1), [u, _] = g.useState(n.threshold || 0), [h, m] = g.useState(
18072
+ const { common: i, recurring: a, settings: o } = A(), { updateAccount: r } = Se(), s = n.notification_type === ct.DebtPaymentReminder, [c, l] = g.useState(!1), [u, _] = g.useState(n.threshold || 0), [h, m] = g.useState(
18057
18073
  n.account?.day_payment_is_due || 0
18058
18074
  ), p = n.account?.name || n.account?.feed_name || "", f = n.account?.day_payment_is_due ? T(
18059
18075
  o.notification_debt_payment_date,
@@ -18548,27 +18564,35 @@ const oC = ({
18548
18564
  }) => {
18549
18565
  const [c, l] = xt(null), u = Math.ceil(i.length / 2);
18550
18566
  return /* @__PURE__ */ d(g.Fragment, { children: [
18551
- /* @__PURE__ */ d(st, { container: !0, sx: { alignItems: "center", mb: 24 }, children: [
18552
- /* @__PURE__ */ d(st, { item: !0, md: 12, sm: 12, xs: 12, children: [
18553
- /* @__PURE__ */ t(Ze, { children: o }),
18554
- /* @__PURE__ */ t(X, { variant: "Body", children: a })
18555
- ] }),
18556
- n && /* @__PURE__ */ t(
18557
- st,
18558
- {
18559
- item: !0,
18560
- md: 6,
18561
- sm: 12,
18562
- sx: {
18563
- display: "flex",
18564
- justifyContent: { md: "flex-end", sm: "flex-start", xs: "flex-start" },
18565
- mt: { xs: 12, sm: 12, md: 0 }
18566
- },
18567
- xs: 12,
18568
- children: /* @__PURE__ */ t(te, { "aria-label": e, onClick: r, variant: "contained", children: e })
18569
- }
18570
- )
18571
- ] }),
18567
+ /* @__PURE__ */ d(
18568
+ _t,
18569
+ {
18570
+ container: !0,
18571
+ sx: {
18572
+ alignItems: "center",
18573
+ justifyContent: "space-between",
18574
+ mb: 24
18575
+ },
18576
+ children: [
18577
+ /* @__PURE__ */ d(b, { children: [
18578
+ /* @__PURE__ */ t(Ze, { children: o }),
18579
+ /* @__PURE__ */ t(X, { variant: "Body", children: a })
18580
+ ] }),
18581
+ n && /* @__PURE__ */ t(
18582
+ b,
18583
+ {
18584
+ sx: {
18585
+ pt: {
18586
+ xs: 12,
18587
+ md: 0
18588
+ }
18589
+ },
18590
+ children: /* @__PURE__ */ t(te, { "aria-label": e, onClick: r, variant: "contained", children: e })
18591
+ }
18592
+ )
18593
+ ]
18594
+ }
18595
+ ),
18572
18596
  /* @__PURE__ */ t(b, { sx: { flexDirection: { xs: "column", md: "row" }, gap: 12 }, children: [0, 1].map((_) => {
18573
18597
  const h = _ === 0 ? 0 : u, m = _ === 0 ? u : i.length, p = i.slice(h, m);
18574
18598
  return /* @__PURE__ */ t(b, { sx: { flex: 1, gap: 12, maxWidth: { md: "calc(50% - 6px)" } }, children: p.map(({ guid: f, icon: S, topics: y, title: E }, I) => {
@@ -18648,10 +18672,10 @@ const oC = ({
18648
18672
  }) => {
18649
18673
  const s = Ye();
18650
18674
  return /* @__PURE__ */ d(g.Fragment, { children: [
18651
- /* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(st, { container: !0, rowSpacing: 24, children: [
18652
- /* @__PURE__ */ t(st, { item: !0, lg: 12, md: 12, sm: 12, xs: 12, children: n }),
18675
+ /* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(_t, { container: !0, rowSpacing: 24, children: [
18676
+ /* @__PURE__ */ t(_t, { item: !0, lg: 12, md: 12, sm: 12, xs: 12, children: n }),
18653
18677
  /* @__PURE__ */ t(
18654
- st,
18678
+ _t,
18655
18679
  {
18656
18680
  item: !0,
18657
18681
  lg: o,
@@ -18688,8 +18712,8 @@ const oC = ({
18688
18712
  }) => {
18689
18713
  const { help: s } = A();
18690
18714
  return /* @__PURE__ */ d(g.Fragment, { children: [
18691
- /* @__PURE__ */ d(st, { container: !0, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
18692
- /* @__PURE__ */ d(st, { item: !0, sm: 6, xs: 12, children: [
18715
+ /* @__PURE__ */ d(_t, { container: !0, sx: { alignItems: "center", justifyContent: "space-between" }, children: [
18716
+ /* @__PURE__ */ d(_t, { item: !0, sm: 6, xs: 12, children: [
18693
18717
  /* @__PURE__ */ t(Ze, { color: "text.primary", children: o }),
18694
18718
  /* @__PURE__ */ d(
18695
18719
  c_,
@@ -18713,7 +18737,7 @@ const oC = ({
18713
18737
  )
18714
18738
  ] }),
18715
18739
  n && /* @__PURE__ */ t(
18716
- st,
18740
+ _t,
18717
18741
  {
18718
18742
  item: !0,
18719
18743
  sm: 6,
@@ -18739,9 +18763,9 @@ const oC = ({
18739
18763
  }) => {
18740
18764
  const s = Ye();
18741
18765
  return /* @__PURE__ */ d(g.Fragment, { children: [
18742
- /* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(st, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
18766
+ /* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(_t, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
18743
18767
  /* @__PURE__ */ t(
18744
- st,
18768
+ _t,
18745
18769
  {
18746
18770
  item: !0,
18747
18771
  lg: o,
@@ -18765,7 +18789,7 @@ const oC = ({
18765
18789
  children: /* @__PURE__ */ t("img", { alt: e, src: a })
18766
18790
  }
18767
18791
  ),
18768
- /* @__PURE__ */ t(st, { item: !0, lg: 12 - o, md: 12, sm: 12, xs: 12, children: n })
18792
+ /* @__PURE__ */ t(_t, { item: !0, lg: 12 - o, md: 12, sm: 12, xs: 12, children: n })
18769
18793
  ] }) }),
18770
18794
  i && /* @__PURE__ */ t(P, {})
18771
18795
  ] });
@@ -18786,10 +18810,10 @@ const oC = ({
18786
18810
  }) => {
18787
18811
  const s = Ye();
18788
18812
  return /* @__PURE__ */ d(g.Fragment, { children: [
18789
- /* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(st, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
18790
- /* @__PURE__ */ t(st, { item: !0, lg: 12 - o, md: 12, sm: 12, xs: 12, children: n }),
18813
+ /* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(_t, { container: !0, spacing: 24, sx: { alignItems: "flex-start" }, children: [
18814
+ /* @__PURE__ */ t(_t, { item: !0, lg: 12 - o, md: 12, sm: 12, xs: 12, children: n }),
18791
18815
  /* @__PURE__ */ t(
18792
- st,
18816
+ _t,
18793
18817
  {
18794
18818
  item: !0,
18795
18819
  lg: o,
@@ -18824,9 +18848,9 @@ const oC = ({
18824
18848
  }) => {
18825
18849
  const s = Ye();
18826
18850
  return /* @__PURE__ */ d(g.Fragment, { children: [
18827
- /* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(st, { container: !0, rowSpacing: 24, children: [
18851
+ /* @__PURE__ */ t(O, { sx: { pb: 48, ...r }, children: /* @__PURE__ */ d(_t, { container: !0, rowSpacing: 24, children: [
18828
18852
  /* @__PURE__ */ t(
18829
- st,
18853
+ _t,
18830
18854
  {
18831
18855
  item: !0,
18832
18856
  lg: o,
@@ -18850,7 +18874,7 @@ const oC = ({
18850
18874
  children: /* @__PURE__ */ t("img", { alt: e, src: a })
18851
18875
  }
18852
18876
  ),
18853
- /* @__PURE__ */ t(st, { item: !0, lg: 12, md: 12, sm: 12, xs: 12, children: n })
18877
+ /* @__PURE__ */ t(_t, { item: !0, lg: 12, md: 12, sm: 12, xs: 12, children: n })
18854
18878
  ] }) }),
18855
18879
  i && /* @__PURE__ */ t(P, {})
18856
18880
  ] });
@@ -21665,7 +21689,7 @@ const oC = ({
21665
21689
  }
21666
21690
  )
21667
21691
  ] });
21668
- }, NT = x(({ sx: e }) => {
21692
+ }, N2 = x(({ sx: e }) => {
21669
21693
  const { isCopyLoaded: n, isInitialized: i } = re();
21670
21694
  return !n || !i ? /* @__PURE__ */ t(ce, {}) : /* @__PURE__ */ t(Ct, { sx: { p: 16 }, children: /* @__PURE__ */ t(yl, { sx: e }) });
21671
21695
  }), ZC = x(({ selectedTab: e }) => {
@@ -21701,7 +21725,7 @@ const oC = ({
21701
21725
  ] });
21702
21726
  });
21703
21727
  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 || {});
21704
- const RT = x(({ onBackClick: e, sx: n }) => {
21728
+ const R2 = x(({ onBackClick: e, sx: n }) => {
21705
21729
  const { settings: i } = A(), { isCopyLoaded: a, isInitialized: o } = re(), { config: r } = vt(), { isMobile: s } = Ce(), {
21706
21730
  display_user_profile_in_settings: c,
21707
21731
  display_mobile_devices_in_settings: l,
@@ -21739,13 +21763,13 @@ const RT = x(({ onBackClick: e, sx: n }) => {
21739
21763
  ] })
21740
21764
  }
21741
21765
  );
21742
- }), OT = x((e) => {
21766
+ }), O2 = x((e) => {
21743
21767
  const { clientConfig: n } = vt(), i = n?.master?.deep_link_params?.view;
21744
21768
  return i ? /* @__PURE__ */ t(_a, { view: i }) : /* @__PURE__ */ t(Ct, { ...e, children: /* @__PURE__ */ t(b, { my: 24, children: /* @__PURE__ */ t(_a, {}) }) });
21745
- }), LT = (e) => {
21769
+ }), L2 = (e) => {
21746
21770
  const { isMobile: n } = Ce();
21747
21771
  return /* @__PURE__ */ t(Ct, { ...e, children: /* @__PURE__ */ t(b, { sx: { mx: n ? 0 : 48, my: 24 }, children: /* @__PURE__ */ t(fl, {}) }) });
21748
- }, MT = x(
21772
+ }, M2 = x(
21749
21773
  ({ notificationTypes: e, isOpen: n, onClose: i, onNotificationClick: a }) => {
21750
21774
  const { config: o } = vt(), { notifications: r, settings: s } = A(), { isCopyLoaded: c } = re(), [l, u] = g.useState(!1);
21751
21775
  return c ? /* @__PURE__ */ d(Z, { children: [
@@ -22265,7 +22289,7 @@ const e0 = (e) => e.reduce((i, a) => {
22265
22289
  ]
22266
22290
  }
22267
22291
  );
22268
- }, kT = x(u0), h0 = () => {
22292
+ }, k2 = x(u0), h0 = () => {
22269
22293
  const e = Ye(), { monthlyCategoryTotals: n } = Ue(), { trends: i } = A(), a = sp(n);
22270
22294
  return /* @__PURE__ */ t(
22271
22295
  ni,
@@ -22300,7 +22324,7 @@ const e0 = (e) => e.reduce((i, a) => {
22300
22324
  children: o ? /* @__PURE__ */ t(g0, {}) : /* @__PURE__ */ t(ce, {})
22301
22325
  }
22302
22326
  );
22303
- }, GT = x(m0), p0 = 70, Ss = ({
22327
+ }, G2 = x(m0), p0 = 70, Ss = ({
22304
22328
  title: e,
22305
22329
  totalAmount: n,
22306
22330
  transactionType: i,
@@ -22393,7 +22417,7 @@ const e0 = (e) => e.reduce((i, a) => {
22393
22417
  /* @__PURE__ */ t(X, { color: "text.secondary", variant: "subtitle2", children: e.zero_state_content_description })
22394
22418
  ] })
22395
22419
  ] });
22396
- }), BT = x(({ onCtaClick: e }) => {
22420
+ }), B2 = x(({ onCtaClick: e }) => {
22397
22421
  const { visibleAccounts: n } = Se(), { onEvent: i } = q(), { monthlyCategoryTotals: a, loadMonthlyCategoryTotals: o, monthlyTotalsLoaded: r } = Ue(), s = {
22398
22422
  start: Xd(/* @__PURE__ */ new Date(), 1),
22399
22423
  end: /* @__PURE__ */ new Date()
@@ -24344,7 +24368,7 @@ const Ui = g.createContext(null), I0 = ({
24344
24368
  widthOverrides: u
24345
24369
  }
24346
24370
  );
24347
- }, HT = x(Ol), Ll = ({
24371
+ }, H2 = x(Ol), Ll = ({
24348
24372
  ariaLabel: e,
24349
24373
  carouselSize: n,
24350
24374
  heightOverrides: i,
@@ -24386,7 +24410,7 @@ const Ui = g.createContext(null), I0 = ({
24386
24410
  widthOverrides: l
24387
24411
  }
24388
24412
  );
24389
- }, PT = x(Ll), V0 = () => /* @__PURE__ */ t(
24413
+ }, P2 = x(Ll), V0 = () => /* @__PURE__ */ t(
24390
24414
  O,
24391
24415
  {
24392
24416
  sx: {
@@ -24909,7 +24933,7 @@ const Ui = g.createContext(null), I0 = ({
24909
24933
  ]
24910
24934
  }
24911
24935
  );
24912
- }, FT = x(ob);
24936
+ }, F2 = x(ob);
24913
24937
  class rb {
24914
24938
  globalStore;
24915
24939
  selectedCategoryData = null;
@@ -24956,7 +24980,7 @@ class rb {
24956
24980
  class Ds {
24957
24981
  fetchInstance;
24958
24982
  constructor(n, i) {
24959
- this.fetchInstance = new dt(n, i);
24983
+ this.fetchInstance = new lt(n, i);
24960
24984
  }
24961
24985
  getAppData = async () => this.fetchInstance.get(B.APP_DATA).then((n) => n);
24962
24986
  }
@@ -25112,7 +25136,7 @@ class db {
25112
25136
  }
25113
25137
  };
25114
25138
  }
25115
- class WT {
25139
+ class W2 {
25116
25140
  // Global properties
25117
25141
  appConfig = ys;
25118
25142
  endpoint = "/";
@@ -25989,7 +26013,7 @@ const Va = ({
25989
26013
  ] }) : /* @__PURE__ */ t(ce, {})
25990
26014
  }
25991
26015
  ) : /* @__PURE__ */ t(ce, {});
25992
- }, $T = x(Db), Nb = ({ onPrimaryCtaClick: e, sx: n }) => {
26016
+ }, $2 = x(Db), Nb = ({ onPrimaryCtaClick: e, sx: n }) => {
25993
26017
  const { visibleAccounts: i } = Se(), { accounts: a } = A(), { isCopyLoaded: o, isInitialized: r, selectedAccounts: s, setSelectedAccounts: c } = re();
25994
26018
  return g.useEffect(() => {
25995
26019
  c(i);
@@ -26020,7 +26044,7 @@ const Va = ({
26020
26044
  ] }) : /* @__PURE__ */ t(ce, {})
26021
26045
  }
26022
26046
  ) : /* @__PURE__ */ t(ce, {});
26023
- }, UT = x(Nb), Rb = () => /* @__PURE__ */ d(
26047
+ }, U2 = x(Nb), Rb = () => /* @__PURE__ */ d(
26024
26048
  "svg",
26025
26049
  {
26026
26050
  fill: "none",
@@ -26505,11 +26529,11 @@ const Va = ({
26505
26529
  ]
26506
26530
  }
26507
26531
  ) : /* @__PURE__ */ t(ce, {});
26508
- }, VT = x(Mb);
26532
+ }, V2 = x(Mb);
26509
26533
  class Ns {
26510
26534
  fetchInstance;
26511
26535
  constructor(n, i) {
26512
- this.fetchInstance = new dt(n, i);
26536
+ this.fetchInstance = new lt(n, i);
26513
26537
  }
26514
26538
  createAccount = async (n) => this.fetchInstance.post(B.ACCOUNTS, n).then((i) => i.account).catch((i) => i);
26515
26539
  deleteAccount = async (n) => this.fetchInstance.delete(`${B.ACCOUNTS}/${n}`).catch((i) => i);
@@ -26882,7 +26906,7 @@ const Bb = () => {
26882
26906
  ]
26883
26907
  }
26884
26908
  ) : /* @__PURE__ */ t(ce, {});
26885
- }, KT = x(Wb), Rs = 5, $b = 100, Ub = 25, Vb = (e) => {
26909
+ }, K2 = x(Wb), Rs = 5, $b = 100, Ub = 25, Vb = (e) => {
26886
26910
  const n = (o) => {
26887
26911
  o.active || e.alphaTarget(0.3).restart(), o.subject.fx = o.subject.x, o.subject.fy = o.subject.y;
26888
26912
  }, i = (o) => {
@@ -27341,7 +27365,7 @@ const Jb = ({
27341
27365
  ]
27342
27366
  }
27343
27367
  ) : /* @__PURE__ */ t(ce, {});
27344
- }, zT = x(ry), Hl = ({ budget: e }) => {
27368
+ }, z2 = x(ry), Hl = ({ budget: e }) => {
27345
27369
  const {
27346
27370
  amount: n,
27347
27371
  budgetColors: { background: i },
@@ -27784,7 +27808,7 @@ const Jb = ({
27784
27808
  }
27785
27809
  )
27786
27810
  ] });
27787
- }), Ls = 480, YT = x(({ onBackClick: e, sx: n }) => {
27811
+ }), Ls = 480, Y2 = x(({ onBackClick: e, sx: n }) => {
27788
27812
  const i = Te(), { onEvent: a } = q(), { visibleAccounts: o } = Se(), { budgets: r, common: s } = A(), { isCopyLoaded: c, isInitialized: l, selectedAccounts: u, setDisplayedDate: _, setSelectedAccounts: h } = re(), {
27789
27813
  alert: m,
27790
27814
  dateRange: p,
@@ -28057,7 +28081,7 @@ const Sy = ({ widgets: e, isLoading: n }) => {
28057
28081
  /* @__PURE__ */ t(xn, { height: 300, variant: "rounded", width: "100%" })
28058
28082
  ] }) : /* @__PURE__ */ t(b, { direction: "column", spacing: 24, children: u.map((_) => /* @__PURE__ */ t(g.Fragment, { children: _.component }, _.index)) }) })
28059
28083
  ] });
28060
- }, jT = x(Sy), ar = ({ sx: e = {} }) => {
28084
+ }, j2 = x(Sy), ar = ({ sx: e = {} }) => {
28061
28085
  const { investments: n } = A(), { onEvent: i } = q(), { setShowConnectionsWidget: a } = Xn();
28062
28086
  return /* @__PURE__ */ d(b, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...e }, children: [
28063
28087
  /* @__PURE__ */ d(
@@ -29564,7 +29588,7 @@ const Sy = ({ widgets: e, isLoading: n }) => {
29564
29588
  }
29565
29589
  )
29566
29590
  ] }) : /* @__PURE__ */ t(ce, {});
29567
- }, Fy = x(Py), Wy = ({ title: e }) => /* @__PURE__ */ t(C, { bold: !0, variant: "Body", children: e }), XT = x(({ onBackClick: e, sx: n }) => {
29591
+ }, Fy = x(Py), Wy = ({ title: e }) => /* @__PURE__ */ t(C, { bold: !0, variant: "Body", children: e }), X2 = x(({ onBackClick: e, sx: n }) => {
29568
29592
  const { onEvent: i } = q(), { isMobile: a } = Ce(), { visibleInvestmentAccounts: o } = Se(), {
29569
29593
  visibleHoldings: r,
29570
29594
  setShowConnectionsWidget: s,
@@ -29912,7 +29936,7 @@ const Sy = ({ widgets: e, isLoading: n }) => {
29912
29936
  children: /* @__PURE__ */ t(Ky, {})
29913
29937
  }
29914
29938
  );
29915
- }, ZT = x(zy), Yy = ({
29939
+ }, Z2 = x(zy), Yy = ({
29916
29940
  data: e,
29917
29941
  onSelected: n,
29918
29942
  selectedId: i = "",
@@ -30185,7 +30209,7 @@ const Sy = ({ widgets: e, isLoading: n }) => {
30185
30209
  children: /* @__PURE__ */ t(O, { height: "calc(100dvh - 150px)", overflow: "scroll", width: "100%", children: /* @__PURE__ */ t(Qy, {}) })
30186
30210
  }
30187
30211
  );
30188
- }, qT = x(Jy);
30212
+ }, q2 = x(Jy);
30189
30213
  export {
30190
30214
  F as ANALYTICS_EVENTS,
30191
30215
  Ns as AccountApi,
@@ -30195,35 +30219,35 @@ export {
30195
30219
  hc as AccountIcon,
30196
30220
  F_ as AccountIconVariants,
30197
30221
  ps as AccountNotificationProfiles,
30198
- lt as AccountNotificationTypes,
30222
+ ct as AccountNotificationTypes,
30199
30223
  Gb as AccountStore,
30200
30224
  H_ as AccountSubType,
30201
30225
  le as AccountType,
30202
30226
  Eo as AccountTypeName,
30203
- UT as AccountsMiniWidget,
30204
- $T as AccountsWidget,
30227
+ U2 as AccountsMiniWidget,
30228
+ $2 as AccountsWidget,
30205
30229
  im as AddAccountModal,
30206
30230
  $c as AddRecurringTransactionDetails,
30207
30231
  au as AnalyticsApi,
30208
30232
  B as ApiEndpoints,
30209
30233
  x0 as AppStore,
30210
30234
  Sr as BannerApi,
30211
- cT as BarChart,
30235
+ c2 as BarChart,
30212
30236
  li as BeatApi,
30213
30237
  B0 as BeatCard,
30214
30238
  Zi as BottomActions,
30215
- zT as BubbleBudgetsMiniWidget,
30216
- YT as BubbleBudgetsWidget,
30239
+ z2 as BubbleBudgetsMiniWidget,
30240
+ Y2 as BubbleBudgetsWidget,
30217
30241
  fs as BudgetNotificationProfiles,
30218
30242
  Zn as BudgetNotificationTypes,
30219
30243
  xu as Calendar,
30220
30244
  Ac as CalendarSelectionTypes,
30221
30245
  $0 as CarouselHeader,
30222
- bT as CashflowApi,
30223
- _T as CashflowMiniWidget,
30246
+ b2 as CashflowApi,
30247
+ _2 as CashflowMiniWidget,
30224
30248
  jm as CashflowOnboarding,
30225
30249
  qm as CashflowStore,
30226
- CT as CashflowWidget,
30250
+ C2 as CashflowWidget,
30227
30251
  Er as CategoryApi,
30228
30252
  si as CategoryColors,
30229
30253
  ba as CategoryGuidToName,
@@ -30236,24 +30260,24 @@ export {
30236
30260
  R0 as ChartFilledIcon,
30237
30261
  wc as ConnectCard,
30238
30262
  yn as ConnectDrawer,
30239
- VT as ConnectMiniWidget,
30263
+ V2 as ConnectMiniWidget,
30240
30264
  Yn as ConnectionStatus,
30241
30265
  Et as ConnectionStatusEnums,
30242
- ET as CreditScoreGraph,
30266
+ E2 as CreditScoreGraph,
30243
30267
  oa as CurrencyCodes,
30244
30268
  en as CurrencyInput,
30245
30269
  je as CurrencyText,
30246
30270
  ae as DATE_FORMATS_INTL,
30247
30271
  gc as DEFAULT_DONUT_SIZE,
30248
30272
  mc as DEFAULT_STROKE_WIDTH,
30249
- jT as Dashboard,
30273
+ j2 as Dashboard,
30250
30274
  qi as DashboardLocation,
30251
30275
  eo as DataRow,
30252
30276
  vr as DateRangeSelector,
30253
30277
  qc as DebtsChart,
30254
30278
  Zp as DebtsStore,
30255
30279
  Fp as DebtsTable,
30256
- ST as DebtsWidget,
30280
+ S2 as DebtsWidget,
30257
30281
  lC as DeviceTab,
30258
30282
  tl as DialScoreCard,
30259
30283
  Be as Dialog,
@@ -30263,25 +30287,25 @@ export {
30263
30287
  Ku as ErrorBoundary,
30264
30288
  _c as ErrorStatuses,
30265
30289
  Hh as ExpenseStatus,
30266
- dt as Fetch,
30290
+ lt as Fetch,
30267
30291
  kt as FieldType,
30268
30292
  nl as FinancialStrengthGraph,
30269
30293
  is as FinstrongApi,
30270
30294
  r1 as FinstrongStore,
30271
- TT as FinstrongWidget,
30295
+ T2 as FinstrongWidget,
30272
30296
  Ee as Frequency,
30273
30297
  Ri as GlobalCopyApi,
30274
30298
  Qu as GlobalCopyStore,
30275
30299
  ti as GlobalDataContext,
30276
- oT as GlobalDataProvider,
30277
- WT as GlobalStore,
30300
+ o2 as GlobalDataProvider,
30301
+ W2 as GlobalStore,
30278
30302
  os as GoalApi,
30279
30303
  Y1 as GoalStore,
30280
30304
  ao as GoalType,
30281
- xT as GoalsMicroWidget,
30282
- AT as GoalsWidget,
30305
+ x2 as GoalsMicroWidget,
30306
+ A2 as GoalsWidget,
30283
30307
  yl as Help,
30284
- NT as HelpWidget,
30308
+ N2 as HelpWidget,
30285
30309
  To as INCOME_ACCOUNT_TYPES,
30286
30310
  Bn as IconBacking,
30287
30311
  Oo as InformationTooltip,
@@ -30289,18 +30313,18 @@ export {
30289
30313
  z0 as InsightsMicroWidget,
30290
30314
  I0 as InsightsMicroWidgetDataProvider,
30291
30315
  Cs as InsightsNotificationProfiles,
30292
- XT as InvestmentsWidget,
30316
+ X2 as InvestmentsWidget,
30293
30317
  K_ as IterationItemTypes,
30294
- Q2 as LOADING_STATUS,
30318
+ QT as LOADING_STATUS,
30295
30319
  ni as LineChart,
30296
30320
  tn as ListItemAction,
30297
30321
  qu as ListItemWrapper,
30298
30322
  ce as Loader,
30299
- iT as LocalizedCopyApi,
30323
+ i2 as LocalizedCopyApi,
30300
30324
  _m as ManageExpenses,
30301
30325
  Ho as ManageIncome,
30302
30326
  Gn as MemberConnectionStatus,
30303
- IT as MerchantLookup,
30327
+ I2 as MerchantLookup,
30304
30328
  Cf as MerchantStore,
30305
30329
  Gt as MetaType,
30306
30330
  dc as MfaStatuses,
@@ -30309,45 +30333,45 @@ export {
30309
30333
  Ea as MicroWidgetContainer,
30310
30334
  Un as MiniWidgetContainer,
30311
30335
  M0 as MonthlySpendComparisonIcon,
30312
- lT as MultiSegmentDonut,
30336
+ l2 as MultiSegmentDonut,
30313
30337
  yf as NetWorthChart,
30314
30338
  Af as NetWorthList,
30315
- wT as NetWorthMicroWidget,
30339
+ w2 as NetWorthMicroWidget,
30316
30340
  kf as NetWorthStore,
30317
30341
  wf as NetWorthSummary,
30318
- vT as NetWorthWidget,
30319
- HT as NoRelevantInsightsCard,
30342
+ v2 as NetWorthWidget,
30343
+ H2 as NoRelevantInsightsCard,
30320
30344
  uc as NonConnectedStatuses,
30321
30345
  Tr as NotificationApi,
30322
- MT as NotificationDrawer,
30346
+ M2 as NotificationDrawer,
30323
30347
  Qf as NotificationList,
30324
30348
  _a as NotificationSettings,
30325
- OT as NotificationSettingsWidget,
30349
+ O2 as NotificationSettingsWidget,
30326
30350
  Kf as NotificationStore,
30327
30351
  Mt as NotificationTypes,
30328
30352
  B_ as ORDINAL_DATE_FORMAT,
30329
- j2 as ORDINAL_MONTH_DAY_YEAR_FORMAT,
30353
+ jT as ORDINAL_MONTH_DAY_YEAR_FORMAT,
30330
30354
  Ao as PAYMENT_ACCOUNT_TYPES,
30331
30355
  Cr as PaymentCategories,
30332
30356
  V_ as PlanTypes,
30333
30357
  P_ as ProcessingStatuses,
30334
30358
  aC as ProfileTab,
30335
30359
  lc as PropertyType,
30336
- Z2 as PropertyTypeName,
30337
- q2 as RECURRENCE_COPY,
30360
+ ZT as PropertyTypeName,
30361
+ qT as RECURRENCE_COPY,
30338
30362
  et as RecurrenceStatus,
30339
30363
  Zt as RecurrenceType,
30340
30364
  U_ as RecurrenceTypes,
30341
30365
  Po as RecurringSettings,
30342
- fT as RecurringTransactionsMicroWidget,
30343
- pT as RecurringTransactionsMiniWidget,
30366
+ f2 as RecurringTransactionsMicroWidget,
30367
+ p2 as RecurringTransactionsMiniWidget,
30344
30368
  Em as RecurringTransactionsStore,
30345
- mT as RecurringTransactionsWidget,
30369
+ m2 as RecurringTransactionsWidget,
30346
30370
  cn as RepeatingType,
30347
- dT as ResponsiveButton,
30371
+ d2 as ResponsiveButton,
30348
30372
  xo as SPENDING_ACCOUNT_TYPES,
30349
30373
  Ph as ScheduledPaymentTypes,
30350
- aT as ScheduledPaymentsApi,
30374
+ a2 as ScheduledPaymentsApi,
30351
30375
  Fh as ScreenSize,
30352
30376
  Ta as SearchBox,
30353
30377
  zi as Select,
@@ -30356,16 +30380,16 @@ export {
30356
30380
  gs as SettingsApi,
30357
30381
  tC as SettingsStore,
30358
30382
  ri as SettingsTabs,
30359
- RT as SettingsWidget,
30383
+ R2 as SettingsWidget,
30360
30384
  ZC as SettingsWidgetContents,
30361
30385
  Ro as SingleSegmentDonut,
30362
30386
  z_ as Sizes,
30363
- ZT as SpendingMiniWidget,
30364
- qT as SpendingWidget,
30387
+ Z2 as SpendingMiniWidget,
30388
+ q2 as SpendingWidget,
30365
30389
  Wu as StackedLineChart,
30366
30390
  di as StatusBar,
30367
- X2 as StatusName,
30368
- KT as SurveyMiniWidget,
30391
+ XT as StatusName,
30392
+ K2 as SurveyMiniWidget,
30369
30393
  Ii as TOUCH_TARGET,
30370
30394
  Q as TRANSACTION_EVENTS,
30371
30395
  Rn as TabContentContainer,
@@ -30378,17 +30402,17 @@ export {
30378
30402
  Vn as TransactionList,
30379
30403
  Go as TransactionRow,
30380
30404
  fl as TransactionRulesTab,
30381
- LT as TransactionRulesWidget,
30405
+ L2 as TransactionRulesWidget,
30382
30406
  ko as TransactionStatus,
30383
30407
  $h as TransactionStore,
30384
30408
  rg as TransactionTable,
30385
30409
  Xt as TransactionType,
30386
- gT as TransactionWidget,
30387
- kT as TrendsFullWidget,
30388
- BT as TrendsMicroWidget,
30389
- GT as TrendsMiniWidget,
30410
+ g2 as TransactionWidget,
30411
+ k2 as TrendsFullWidget,
30412
+ B2 as TrendsMicroWidget,
30413
+ G2 as TrendsMiniWidget,
30390
30414
  rb as TrendsStore,
30391
- FT as TrendsWidget,
30415
+ F2 as TrendsWidget,
30392
30416
  Ha as UserApi,
30393
30417
  db as UserStore,
30394
30418
  Bh as UserVerification,
@@ -30397,11 +30421,11 @@ export {
30397
30421
  Ct as WidgetContainer,
30398
30422
  Cc as WidgetContainerContext,
30399
30423
  wo as WidgetContainerProvider,
30400
- PT as ZeroStateCard,
30424
+ P2 as ZeroStateCard,
30401
30425
  vl as ZeroStateIcon,
30402
30426
  G_ as analyticsSession,
30403
30427
  T as buildDynamicCopy,
30404
- tT as buildPluralCopy,
30428
+ t2 as buildPluralCopy,
30405
30429
  Dc as exportTransactionsToCSV,
30406
30430
  Vf as filterRecentNotifications,
30407
30431
  H as formatCurrency,
@@ -30412,14 +30436,14 @@ export {
30412
30436
  zc as getAccountBalanceDetails,
30413
30437
  Dm as getAccountDetailFields,
30414
30438
  yr as getCategory,
30415
- J2 as getCategoryTotalsByParent,
30416
- nT as getClientTheme,
30439
+ JT as getCategoryTotalsByParent,
30440
+ n2 as getClientTheme,
30417
30441
  tu as getCurrencyCodes,
30418
30442
  Y_ as getDetailedCategory,
30419
30443
  j_ as getDetailedSubCategory,
30420
30444
  Wn as getLocale,
30421
- DT as getNotificationDetailRoute,
30422
- eT as isIncome,
30445
+ D2 as getNotificationDetailRoute,
30446
+ e2 as isIncome,
30423
30447
  Ja as isValidNumber,
30424
30448
  Se as useAccountStore,
30425
30449
  Vt as useAccountUiStore,
@@ -30437,15 +30461,15 @@ export {
30437
30461
  A as useGlobalCopyStore,
30438
30462
  yi as useGlobalStore,
30439
30463
  re as useGlobalUiStore,
30440
- _t as useGoalStore,
30464
+ dt as useGoalStore,
30441
30465
  No as useHelpStore,
30442
30466
  Xn as useHoldingStore,
30443
30467
  du as useInsightsEnabled,
30444
30468
  ru as useMerchantStore,
30445
30469
  yc as useNetWorthStore,
30446
30470
  Sc as useNotificationStore,
30447
- rT as usePageView,
30448
- sT as usePrevious,
30471
+ r2 as usePageView,
30472
+ s2 as usePrevious,
30449
30473
  rt as useRecurringTransactionsStore,
30450
30474
  Ce as useScreenSize,
30451
30475
  yt as useSettingsStore,