@mx-cartographer/experiences 3.7.0-alpha.al7 → 3.7.0-alpha.al8

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
@@ -6,7 +6,7 @@ import q from "@mui/material/Divider";
6
6
  import oA from "@mui/material/List";
7
7
  import nt from "@mui/material/ListSubheader";
8
8
  import Ia from "@mui/system/Stack";
9
- import { AccountsIcon as vo, P as vA, Icon as P, useTokens as SA, Text as y, H2 as $t, CategoryIcon as Re, DialogHeader as po, DialogFooter as yo, Drawer as Eo, Footer as wo, DateRangePicker as Da, H3 as To, H1 as Ee, TextField as Ne, IconWeight as BA, MerchantLogo as He, CategoryIconVariants as Xr, InstitutionLogo as we, THEMES as Oa, createMXTheme as Lt } from "@kyper/mui";
9
+ import { AccountsIcon as vo, P as vA, Icon as P, useTokens as SA, Text as y, H2 as $t, CategoryIcon as _e, DialogHeader as po, DialogFooter as yo, Drawer as Eo, Footer as wo, DateRangePicker as Da, H3 as To, H1 as Ee, TextField as Ne, IconWeight as BA, MerchantLogo as He, CategoryIconVariants as Xr, InstitutionLogo as we, THEMES as Oa, createMXTheme as Lt } from "@kyper/mui";
10
10
  import Lo from "bowser";
11
11
  import { getUnixTime as CA } from "date-fns/getUnixTime";
12
12
  import { Honeybadger as xt } from "@honeybadger-io/react";
@@ -42,7 +42,7 @@ import No from "@mui/icons-material/KeyboardArrowRightRounded";
42
42
  import { isSameDay as FA } from "date-fns/isSameDay";
43
43
  import { isWithinInterval as At } from "date-fns/isWithinInterval";
44
44
  import * as Ae from "d3";
45
- import { selectAll as Mo, interpolateString as _o, arc as Ro } from "d3";
45
+ import { selectAll as Mo, interpolateString as Ro, arc as _o } from "d3";
46
46
  import { useTheme as ze, keyframes as Ho, ThemeProvider as Qr } from "@mui/material/styles";
47
47
  import { ResponsiveChartContainer as zo, AreaPlot as qo, LinePlot as Bo, MarkPlot as Ko, BarPlot as ko, ChartsXAxis as Go, ChartsYAxis as Xo, ChartsReferenceLine as Qo, ChartsLegend as Fo, LineChart as Uo } from "@mui/x-charts";
48
48
  import { Stack as Ve, Box as re, useTheme as at, Card as Gn, CardContent as Fr, Divider as Mn, Grid as Pa, List as jo } from "@mui/material";
@@ -52,7 +52,7 @@ import { endOfToday as Qe } from "date-fns/endOfToday";
52
52
  import { endOfYear as Na } from "date-fns/endOfYear";
53
53
  import { startOfYear as Ma } from "date-fns/startOfYear";
54
54
  import { subDays as ie } from "date-fns/subDays";
55
- import { subYears as _a } from "date-fns/subYears";
55
+ import { subYears as Ra } from "date-fns/subYears";
56
56
  import Yo from "@mui/material/ButtonGroup";
57
57
  import Xn from "@mui/material/ToggleButton";
58
58
  import Ur from "@mui/material/ToggleButtonGroup";
@@ -72,12 +72,12 @@ import { makeAutoObservable as bA, runInAction as V, observable as $o } from "mo
72
72
  import { differenceInDays as As } from "date-fns/differenceInDays";
73
73
  import { getMonth as We } from "date-fns/getMonth";
74
74
  import { useVirtualizer as Yr } from "@tanstack/react-virtual";
75
- import { fromUnixTime as Ra, isSameDay as es, format as Vr, subDays as ts, startOfToday as ns, endOfToday as as } from "date-fns";
75
+ import { fromUnixTime as _a, isSameDay as es, format as Vr, subDays as ts, startOfToday as ns, endOfToday as as } from "date-fns";
76
76
  import { addQuarters as Ge } from "date-fns/addQuarters";
77
77
  import { addWeeks as Ye } from "date-fns/addWeeks";
78
78
  import { getDay as pt } from "date-fns/getDay";
79
- import { nextDay as _n } from "date-fns/nextDay";
80
- import { setDate as Rn } from "date-fns/setDate";
79
+ import { nextDay as Rn } from "date-fns/nextDay";
80
+ import { setDate as _n } from "date-fns/setDate";
81
81
  import { fromUnixTime as NA } from "date-fns/fromUnixTime";
82
82
  import ae from "@mui/material/Tab";
83
83
  import rt from "@mui/material/Tabs";
@@ -139,8 +139,8 @@ import Ps from "@mui/material/Grow";
139
139
  import Ns from "react-confetti";
140
140
  import Ms from "react-virtualized-auto-sizer";
141
141
  import { useInView as ri } from "react-intersection-observer";
142
- import _s from "@mui/icons-material/ChevronLeft";
143
- import Rs from "@mui/material/CardActions";
142
+ import Rs from "@mui/icons-material/ChevronLeft";
143
+ import _s from "@mui/material/CardActions";
144
144
  import qa from "@mui/material/Typography";
145
145
  import Hs from "@mui/material/CssBaseline";
146
146
  const zs = async (A, e, n = "1.0.0", a = "Experiences") => {
@@ -389,7 +389,7 @@ const N = {
389
389
  year: "numeric"
390
390
  }
391
391
  }, j = (A, e) => So(new Date(A), Object.assign(e), { locale: Me() });
392
- var Q = /* @__PURE__ */ ((A) => (A[A.ANY = 0] = "ANY", A[A.CHECKING = 1] = "CHECKING", A[A.SAVINGS = 2] = "SAVINGS", A[A.LOAN = 3] = "LOAN", A[A.CREDIT_CARD = 4] = "CREDIT_CARD", A[A.INVESTMENT = 5] = "INVESTMENT", A[A.LINE_OF_CREDIT = 6] = "LINE_OF_CREDIT", A[A.MORTGAGE = 7] = "MORTGAGE", A[A.PROPERTY = 8] = "PROPERTY", A[A.CASH = 9] = "CASH", A[A.INSURANCE = 10] = "INSURANCE", A[A.PREPAID = 11] = "PREPAID", A[A.CHECKING_LINE_OF_CREDIT = 12] = "CHECKING_LINE_OF_CREDIT", A[A.DIGITAL_WALLET = 13] = "DIGITAL_WALLET", A))(Q || {}), Ks = /* @__PURE__ */ ((A) => (A[A.NONE = 0] = "NONE", A[A.MONEY_MARKET = 1] = "MONEY_MARKET", A[A.CERTIFICATE_OF_DEPOSIT = 2] = "CERTIFICATE_OF_DEPOSIT", A[A.AUTO = 3] = "AUTO", A[A.STUDENT = 4] = "STUDENT", A[A.SMALL_BUSINESS = 5] = "SMALL_BUSINESS", A[A.PERSONAL = 6] = "PERSONAL", A[A.PERSONAL_WITH_COLLATERAL = 7] = "PERSONAL_WITH_COLLATERAL", A[A.HOME_EQUITY = 8] = "HOME_EQUITY", A[A.PLAN_401_K = 9] = "PLAN_401_K", A[A.PLAN_403_B = 10] = "PLAN_403_B", A[A.PLAN_529 = 11] = "PLAN_529", A[A.IRA = 12] = "IRA", A[A.ROLLOVER_IRA = 13] = "ROLLOVER_IRA", A[A.ROTH_IRA = 14] = "ROTH_IRA", A[A.TAXABLE = 15] = "TAXABLE", A[A.NON_TAXABLE = 16] = "NON_TAXABLE", A[A.BROKERAGE = 17] = "BROKERAGE", A[A.TRUST = 18] = "TRUST", A[A.UNIFORM_GIFTS_TO_MINORS_ACT = 19] = "UNIFORM_GIFTS_TO_MINORS_ACT", A[A.PLAN_457 = 20] = "PLAN_457", A[A.PENSION = 21] = "PENSION", A[A.EMPLOYEE_STOCK_OWNERSHIP_PLAN = 22] = "EMPLOYEE_STOCK_OWNERSHIP_PLAN", A[A.SIMPLIFIED_EMPLOYEE_PENSION = 23] = "SIMPLIFIED_EMPLOYEE_PENSION", A[A.SIMPLE_IRA = 24] = "SIMPLE_IRA", A[A.BOAT = 25] = "BOAT", A[A.POWERSPORTS = 26] = "POWERSPORTS", A[A.RV = 27] = "RV", A[A.HELOC = 28] = "HELOC", A[A.PLAN_ROTH_401_K = 29] = "PLAN_ROTH_401_K", A[A.FIXED_ANNUITY = 30] = "FIXED_ANNUITY", A[A.VARIABLE_ANNUITY = 31] = "VARIABLE_ANNUITY", A[A.VEHICLE_INSURANCE = 32] = "VEHICLE_INSURANCE", A[A.DISABILITY = 33] = "DISABILITY", A[A.HEALTH = 34] = "HEALTH", A[A.LONG_TERM_CARE = 35] = "LONG_TERM_CARE", A[A.PROPERTY_AND_CASUALTY = 36] = "PROPERTY_AND_CASUALTY", A[A.UNIVERSAL_LIFE = 37] = "UNIVERSAL_LIFE", A[A.TERM_LIFE = 38] = "TERM_LIFE", A[A.WHOLE_LIFE = 39] = "WHOLE_LIFE", A[A.ACCIDENTAL_DEATH_AND_DISMEMBERMENT = 40] = "ACCIDENTAL_DEATH_AND_DISMEMBERMENT", A[A.VARIABLE_UNIVERSAL_LIFE = 41] = "VARIABLE_UNIVERSAL_LIFE", A[A.HSA = 42] = "HSA", A[A.TAX_FREE_SAVINGS_ACCOUNT = 43] = "TAX_FREE_SAVINGS_ACCOUNT", A[A.INDIVIDUAL = 44] = "INDIVIDUAL", A[A.REGISTERED_RETIREMENT_INCOME_FUND = 45] = "REGISTERED_RETIREMENT_INCOME_FUND", A[A.CASH_MANAGEMENT_ACCOUNT = 46] = "CASH_MANAGEMENT_ACCOUNT", A[A.EMPLOYEE_STOCK_PURCHASE_PLAN = 47] = "EMPLOYEE_STOCK_PURCHASE_PLAN", A[A.REGISTERED_EDUCATION_SAVINGS_PLAN = 48] = "REGISTERED_EDUCATION_SAVINGS_PLAN", A[A.PROFIT_SHARING_PLAN = 49] = "PROFIT_SHARING_PLAN", A[A.UNIFORM_TRANSFER_TO_MINORS_ACT = 50] = "UNIFORM_TRANSFER_TO_MINORS_ACT", A[A.PLAN_401_A = 51] = "PLAN_401_A", A[A.SARSEP_IRA = 52] = "SARSEP_IRA", A[A.FIXED_ANNUITY_TRADITIONAL_IRA = 53] = "FIXED_ANNUITY_TRADITIONAL_IRA", A[A.VARIABLE_ANNUITY_TRADITIONAL_IRA = 54] = "VARIABLE_ANNUITY_TRADITIONAL_IRA", A[A.SEPP_IRA = 55] = "SEPP_IRA", A[A.INHERITED_TRADITIONAL_IRA = 56] = "INHERITED_TRADITIONAL_IRA", A[A.FIXED_ANNUITY_ROTH_IRA = 57] = "FIXED_ANNUITY_ROTH_IRA", A[A.VARIABLE_ANNUITY_ROTH_IRA = 58] = "VARIABLE_ANNUITY_ROTH_IRA", A[A.INHERITED_ROTH_IRA = 59] = "INHERITED_ROTH_IRA", A[A.COVERDELL = 60] = "COVERDELL", A[A.ADVISORY_ACCOUNT = 61] = "ADVISORY_ACCOUNT", A[A.BROKERAGE_MARGIN = 62] = "BROKERAGE_MARGIN", A[A.CHARITABLE_GIFT_ACCOUNT = 63] = "CHARITABLE_GIFT_ACCOUNT", A[A.CHURCH_ACCOUNT = 64] = "CHURCH_ACCOUNT", A[A.CONSERVATORSHIP = 65] = "CONSERVATORSHIP", A[A.CUSTODIAL = 66] = "CUSTODIAL", A[A.DEFINED_BENEFIT_PLAN = 67] = "DEFINED_BENEFIT_PLAN", A[A.DEFINED_CONTRIBUTION_PLAN = 68] = "DEFINED_CONTRIBUTION_PLAN", A[A.EDUCATIONAL = 69] = "EDUCATIONAL", A[A.ESTATE = 70] = "ESTATE", A[A.EXECUTOR = 71] = "EXECUTOR", A[A.GROUP_RETIREMENT_SAVINGS_PLAN = 72] = "GROUP_RETIREMENT_SAVINGS_PLAN", A[A.GUARANTEED_INVESTMENT_CERTIFICATE = 73] = "GUARANTEED_INVESTMENT_CERTIFICATE", A[A.HRA = 74] = "HRA", A[A.INDEXED_ANNUITY = 75] = "INDEXED_ANNUITY", A[A.INVESTMENT_CLUB = 76] = "INVESTMENT_CLUB", A[A.IRREVOCABLE_TRUST = 77] = "IRREVOCABLE_TRUST", A[A.JOINT_TENANTS_BY_ENTIRITY = 78] = "JOINT_TENANTS_BY_ENTIRITY", A[A.JOINT_TENANTS_COMMUNITY_PROPERTY = 79] = "JOINT_TENANTS_COMMUNITY_PROPERTY", A[A.JOINT_TENANTS_IN_COMMON = 80] = "JOINT_TENANTS_IN_COMMON", A[A.JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP = 81] = "JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP", A[A.KEOUGH_PLAN = 82] = "KEOUGH_PLAN", A[A.LIFE_INCOME_FUND = 83] = "LIFE_INCOME_FUND", A[A.LIVING_TRUST = 84] = "LIVING_TRUST", A[A.LOCKED_IN_RETIREMENT_ACCOUNT = 85] = "LOCKED_IN_RETIREMENT_ACCOUNT", A[A.LOCKED_IN_RETIREMENT_INVESTMENT_FUND = 86] = "LOCKED_IN_RETIREMENT_INVESTMENT_FUND", A[A.LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT = 87] = "LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT", A[A.MONEY_PURCHASE_PLAN = 88] = "MONEY_PURCHASE_PLAN", A[A.PARTNERSHIP = 89] = "PARTNERSHIP", A[A.PLAN_409_A = 90] = "PLAN_409_A", A[A.PLAN_ROTH_403_B = 91] = "PLAN_ROTH_403_B", A[A.REGISTERED_DISABILITY_SAVINGS_PLAN = 92] = "REGISTERED_DISABILITY_SAVINGS_PLAN", A[A.REGISTERED_LOCKED_IN_SAVINGS_PLAN = 93] = "REGISTERED_LOCKED_IN_SAVINGS_PLAN", A[A.REGISTERED_PENSION_PLAN = 94] = "REGISTERED_PENSION_PLAN", A[A.REGISTERED_RETIREMENT_SAVINGS_PLAN = 95] = "REGISTERED_RETIREMENT_SAVINGS_PLAN", A[A.REVOCABLE_TRUST = 96] = "REVOCABLE_TRUST", A[A.ROTH_CONVERSION = 97] = "ROTH_CONVERSION", A[A.SOLE_PROPRIETORSHIP = 98] = "SOLE_PROPRIETORSHIP", A[A.SPOUSAL_IRA = 99] = "SPOUSAL_IRA", A[A.SPOUSAL_ROTH_IRA = 100] = "SPOUSAL_ROTH_IRA", A[A.TESTAMENTARY_TRUST = 101] = "TESTAMENTARY_TRUST", A[A.THRIFT_SAVINGS_PLAN = 102] = "THRIFT_SAVINGS_PLAN", A[A.INHERITED_ANNUITY = 103] = "INHERITED_ANNUITY", A[A.CORPORATE_ACCOUNT = 104] = "CORPORATE_ACCOUNT", A[A.LIMITED_LIABILITY_ACCOUNT = 105] = "LIMITED_LIABILITY_ACCOUNT", A[A.HSA_SAVINGS = 106] = "HSA_SAVINGS", A[A.HSA_CHECKING = 107] = "HSA_CHECKING", A))(Ks || {}), ii = /* @__PURE__ */ ((A) => (A[A.REAL_ESTATE = 0] = "REAL_ESTATE", A[A.VEHICLE = 1] = "VEHICLE", A[A.ART = 2] = "ART", A[A.JEWELRY = 3] = "JEWELRY", A[A.FURNITURE = 4] = "FURNITURE", A[A.APPLIANCES = 5] = "APPLIANCES", A[A.COMPUTER = 6] = "COMPUTER", A[A.ELECTRONICS = 7] = "ELECTRONICS", A[A.SPORTS_EQUIPMENT = 8] = "SPORTS_EQUIPMENT", A[A.MISCELLANEOUS = 9] = "MISCELLANEOUS", A))(ii || {}), _A = /* @__PURE__ */ ((A) => (A[A.CREATED = 0] = "CREATED", A[A.PREVENTED = 1] = "PREVENTED", A[A.DENIED = 2] = "DENIED", A[A.CHALLENGED = 3] = "CHALLENGED", A[A.REJECTED = 4] = "REJECTED", A[A.LOCKED = 5] = "LOCKED", A[A.CONNECTED = 6] = "CONNECTED", A[A.IMPEDED = 7] = "IMPEDED", A[A.RECONNECTED = 8] = "RECONNECTED", A[A.DEGRADED = 9] = "DEGRADED", A[A.DISCONNECTED = 10] = "DISCONNECTED", A[A.DISCONTINUED = 11] = "DISCONTINUED", A[A.CLOSED = 12] = "CLOSED", A[A.DELAYED = 13] = "DELAYED", A[A.FAILED = 14] = "FAILED", A[A.UPDATED = 15] = "UPDATED", A[A.DISABLED = 16] = "DISABLED", A[A.IMPORTED = 17] = "IMPORTED", A[A.RESUMED = 18] = "RESUMED", A[A.EXPIRED = 19] = "EXPIRED", A[A.IMPAIRED = 20] = "IMPAIRED", A[A.PENDING = 21] = "PENDING", A))(_A || {});
392
+ var Q = /* @__PURE__ */ ((A) => (A[A.ANY = 0] = "ANY", A[A.CHECKING = 1] = "CHECKING", A[A.SAVINGS = 2] = "SAVINGS", A[A.LOAN = 3] = "LOAN", A[A.CREDIT_CARD = 4] = "CREDIT_CARD", A[A.INVESTMENT = 5] = "INVESTMENT", A[A.LINE_OF_CREDIT = 6] = "LINE_OF_CREDIT", A[A.MORTGAGE = 7] = "MORTGAGE", A[A.PROPERTY = 8] = "PROPERTY", A[A.CASH = 9] = "CASH", A[A.INSURANCE = 10] = "INSURANCE", A[A.PREPAID = 11] = "PREPAID", A[A.CHECKING_LINE_OF_CREDIT = 12] = "CHECKING_LINE_OF_CREDIT", A[A.DIGITAL_WALLET = 13] = "DIGITAL_WALLET", A))(Q || {}), Ks = /* @__PURE__ */ ((A) => (A[A.NONE = 0] = "NONE", A[A.MONEY_MARKET = 1] = "MONEY_MARKET", A[A.CERTIFICATE_OF_DEPOSIT = 2] = "CERTIFICATE_OF_DEPOSIT", A[A.AUTO = 3] = "AUTO", A[A.STUDENT = 4] = "STUDENT", A[A.SMALL_BUSINESS = 5] = "SMALL_BUSINESS", A[A.PERSONAL = 6] = "PERSONAL", A[A.PERSONAL_WITH_COLLATERAL = 7] = "PERSONAL_WITH_COLLATERAL", A[A.HOME_EQUITY = 8] = "HOME_EQUITY", A[A.PLAN_401_K = 9] = "PLAN_401_K", A[A.PLAN_403_B = 10] = "PLAN_403_B", A[A.PLAN_529 = 11] = "PLAN_529", A[A.IRA = 12] = "IRA", A[A.ROLLOVER_IRA = 13] = "ROLLOVER_IRA", A[A.ROTH_IRA = 14] = "ROTH_IRA", A[A.TAXABLE = 15] = "TAXABLE", A[A.NON_TAXABLE = 16] = "NON_TAXABLE", A[A.BROKERAGE = 17] = "BROKERAGE", A[A.TRUST = 18] = "TRUST", A[A.UNIFORM_GIFTS_TO_MINORS_ACT = 19] = "UNIFORM_GIFTS_TO_MINORS_ACT", A[A.PLAN_457 = 20] = "PLAN_457", A[A.PENSION = 21] = "PENSION", A[A.EMPLOYEE_STOCK_OWNERSHIP_PLAN = 22] = "EMPLOYEE_STOCK_OWNERSHIP_PLAN", A[A.SIMPLIFIED_EMPLOYEE_PENSION = 23] = "SIMPLIFIED_EMPLOYEE_PENSION", A[A.SIMPLE_IRA = 24] = "SIMPLE_IRA", A[A.BOAT = 25] = "BOAT", A[A.POWERSPORTS = 26] = "POWERSPORTS", A[A.RV = 27] = "RV", A[A.HELOC = 28] = "HELOC", A[A.PLAN_ROTH_401_K = 29] = "PLAN_ROTH_401_K", A[A.FIXED_ANNUITY = 30] = "FIXED_ANNUITY", A[A.VARIABLE_ANNUITY = 31] = "VARIABLE_ANNUITY", A[A.VEHICLE_INSURANCE = 32] = "VEHICLE_INSURANCE", A[A.DISABILITY = 33] = "DISABILITY", A[A.HEALTH = 34] = "HEALTH", A[A.LONG_TERM_CARE = 35] = "LONG_TERM_CARE", A[A.PROPERTY_AND_CASUALTY = 36] = "PROPERTY_AND_CASUALTY", A[A.UNIVERSAL_LIFE = 37] = "UNIVERSAL_LIFE", A[A.TERM_LIFE = 38] = "TERM_LIFE", A[A.WHOLE_LIFE = 39] = "WHOLE_LIFE", A[A.ACCIDENTAL_DEATH_AND_DISMEMBERMENT = 40] = "ACCIDENTAL_DEATH_AND_DISMEMBERMENT", A[A.VARIABLE_UNIVERSAL_LIFE = 41] = "VARIABLE_UNIVERSAL_LIFE", A[A.HSA = 42] = "HSA", A[A.TAX_FREE_SAVINGS_ACCOUNT = 43] = "TAX_FREE_SAVINGS_ACCOUNT", A[A.INDIVIDUAL = 44] = "INDIVIDUAL", A[A.REGISTERED_RETIREMENT_INCOME_FUND = 45] = "REGISTERED_RETIREMENT_INCOME_FUND", A[A.CASH_MANAGEMENT_ACCOUNT = 46] = "CASH_MANAGEMENT_ACCOUNT", A[A.EMPLOYEE_STOCK_PURCHASE_PLAN = 47] = "EMPLOYEE_STOCK_PURCHASE_PLAN", A[A.REGISTERED_EDUCATION_SAVINGS_PLAN = 48] = "REGISTERED_EDUCATION_SAVINGS_PLAN", A[A.PROFIT_SHARING_PLAN = 49] = "PROFIT_SHARING_PLAN", A[A.UNIFORM_TRANSFER_TO_MINORS_ACT = 50] = "UNIFORM_TRANSFER_TO_MINORS_ACT", A[A.PLAN_401_A = 51] = "PLAN_401_A", A[A.SARSEP_IRA = 52] = "SARSEP_IRA", A[A.FIXED_ANNUITY_TRADITIONAL_IRA = 53] = "FIXED_ANNUITY_TRADITIONAL_IRA", A[A.VARIABLE_ANNUITY_TRADITIONAL_IRA = 54] = "VARIABLE_ANNUITY_TRADITIONAL_IRA", A[A.SEPP_IRA = 55] = "SEPP_IRA", A[A.INHERITED_TRADITIONAL_IRA = 56] = "INHERITED_TRADITIONAL_IRA", A[A.FIXED_ANNUITY_ROTH_IRA = 57] = "FIXED_ANNUITY_ROTH_IRA", A[A.VARIABLE_ANNUITY_ROTH_IRA = 58] = "VARIABLE_ANNUITY_ROTH_IRA", A[A.INHERITED_ROTH_IRA = 59] = "INHERITED_ROTH_IRA", A[A.COVERDELL = 60] = "COVERDELL", A[A.ADVISORY_ACCOUNT = 61] = "ADVISORY_ACCOUNT", A[A.BROKERAGE_MARGIN = 62] = "BROKERAGE_MARGIN", A[A.CHARITABLE_GIFT_ACCOUNT = 63] = "CHARITABLE_GIFT_ACCOUNT", A[A.CHURCH_ACCOUNT = 64] = "CHURCH_ACCOUNT", A[A.CONSERVATORSHIP = 65] = "CONSERVATORSHIP", A[A.CUSTODIAL = 66] = "CUSTODIAL", A[A.DEFINED_BENEFIT_PLAN = 67] = "DEFINED_BENEFIT_PLAN", A[A.DEFINED_CONTRIBUTION_PLAN = 68] = "DEFINED_CONTRIBUTION_PLAN", A[A.EDUCATIONAL = 69] = "EDUCATIONAL", A[A.ESTATE = 70] = "ESTATE", A[A.EXECUTOR = 71] = "EXECUTOR", A[A.GROUP_RETIREMENT_SAVINGS_PLAN = 72] = "GROUP_RETIREMENT_SAVINGS_PLAN", A[A.GUARANTEED_INVESTMENT_CERTIFICATE = 73] = "GUARANTEED_INVESTMENT_CERTIFICATE", A[A.HRA = 74] = "HRA", A[A.INDEXED_ANNUITY = 75] = "INDEXED_ANNUITY", A[A.INVESTMENT_CLUB = 76] = "INVESTMENT_CLUB", A[A.IRREVOCABLE_TRUST = 77] = "IRREVOCABLE_TRUST", A[A.JOINT_TENANTS_BY_ENTIRITY = 78] = "JOINT_TENANTS_BY_ENTIRITY", A[A.JOINT_TENANTS_COMMUNITY_PROPERTY = 79] = "JOINT_TENANTS_COMMUNITY_PROPERTY", A[A.JOINT_TENANTS_IN_COMMON = 80] = "JOINT_TENANTS_IN_COMMON", A[A.JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP = 81] = "JOINT_TENANTS_WITH_RIGHTS_OF_SURVIVORSHIP", A[A.KEOUGH_PLAN = 82] = "KEOUGH_PLAN", A[A.LIFE_INCOME_FUND = 83] = "LIFE_INCOME_FUND", A[A.LIVING_TRUST = 84] = "LIVING_TRUST", A[A.LOCKED_IN_RETIREMENT_ACCOUNT = 85] = "LOCKED_IN_RETIREMENT_ACCOUNT", A[A.LOCKED_IN_RETIREMENT_INVESTMENT_FUND = 86] = "LOCKED_IN_RETIREMENT_INVESTMENT_FUND", A[A.LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT = 87] = "LOCKED_IN_RETIREMENT_SAVINGS_ACCOUNT", A[A.MONEY_PURCHASE_PLAN = 88] = "MONEY_PURCHASE_PLAN", A[A.PARTNERSHIP = 89] = "PARTNERSHIP", A[A.PLAN_409_A = 90] = "PLAN_409_A", A[A.PLAN_ROTH_403_B = 91] = "PLAN_ROTH_403_B", A[A.REGISTERED_DISABILITY_SAVINGS_PLAN = 92] = "REGISTERED_DISABILITY_SAVINGS_PLAN", A[A.REGISTERED_LOCKED_IN_SAVINGS_PLAN = 93] = "REGISTERED_LOCKED_IN_SAVINGS_PLAN", A[A.REGISTERED_PENSION_PLAN = 94] = "REGISTERED_PENSION_PLAN", A[A.REGISTERED_RETIREMENT_SAVINGS_PLAN = 95] = "REGISTERED_RETIREMENT_SAVINGS_PLAN", A[A.REVOCABLE_TRUST = 96] = "REVOCABLE_TRUST", A[A.ROTH_CONVERSION = 97] = "ROTH_CONVERSION", A[A.SOLE_PROPRIETORSHIP = 98] = "SOLE_PROPRIETORSHIP", A[A.SPOUSAL_IRA = 99] = "SPOUSAL_IRA", A[A.SPOUSAL_ROTH_IRA = 100] = "SPOUSAL_ROTH_IRA", A[A.TESTAMENTARY_TRUST = 101] = "TESTAMENTARY_TRUST", A[A.THRIFT_SAVINGS_PLAN = 102] = "THRIFT_SAVINGS_PLAN", A[A.INHERITED_ANNUITY = 103] = "INHERITED_ANNUITY", A[A.CORPORATE_ACCOUNT = 104] = "CORPORATE_ACCOUNT", A[A.LIMITED_LIABILITY_ACCOUNT = 105] = "LIMITED_LIABILITY_ACCOUNT", A[A.HSA_SAVINGS = 106] = "HSA_SAVINGS", A[A.HSA_CHECKING = 107] = "HSA_CHECKING", A))(Ks || {}), ii = /* @__PURE__ */ ((A) => (A[A.REAL_ESTATE = 0] = "REAL_ESTATE", A[A.VEHICLE = 1] = "VEHICLE", A[A.ART = 2] = "ART", A[A.JEWELRY = 3] = "JEWELRY", A[A.FURNITURE = 4] = "FURNITURE", A[A.APPLIANCES = 5] = "APPLIANCES", A[A.COMPUTER = 6] = "COMPUTER", A[A.ELECTRONICS = 7] = "ELECTRONICS", A[A.SPORTS_EQUIPMENT = 8] = "SPORTS_EQUIPMENT", A[A.MISCELLANEOUS = 9] = "MISCELLANEOUS", A))(ii || {}), RA = /* @__PURE__ */ ((A) => (A[A.CREATED = 0] = "CREATED", A[A.PREVENTED = 1] = "PREVENTED", A[A.DENIED = 2] = "DENIED", A[A.CHALLENGED = 3] = "CHALLENGED", A[A.REJECTED = 4] = "REJECTED", A[A.LOCKED = 5] = "LOCKED", A[A.CONNECTED = 6] = "CONNECTED", A[A.IMPEDED = 7] = "IMPEDED", A[A.RECONNECTED = 8] = "RECONNECTED", A[A.DEGRADED = 9] = "DEGRADED", A[A.DISCONNECTED = 10] = "DISCONNECTED", A[A.DISCONTINUED = 11] = "DISCONTINUED", A[A.CLOSED = 12] = "CLOSED", A[A.DELAYED = 13] = "DELAYED", A[A.FAILED = 14] = "FAILED", A[A.UPDATED = 15] = "UPDATED", A[A.DISABLED = 16] = "DISABLED", A[A.IMPORTED = 17] = "IMPORTED", A[A.RESUMED = 18] = "RESUMED", A[A.EXPIRED = 19] = "EXPIRED", A[A.IMPAIRED = 20] = "IMPAIRED", A[A.PENDING = 21] = "PENDING", A))(RA || {});
393
393
  const ks = [
394
394
  0,
395
395
  15,
@@ -804,7 +804,7 @@ const qA = {
804
804
  [p.UNCATEGORIZED]: "category",
805
805
  UNKNOWN: "help"
806
806
  }, Ka = 9999999999e-2;
807
- var Xt = /* @__PURE__ */ ((A) => (A.CAD = "CAD", A.USD = "USD", A))(Xt || {}), R = /* @__PURE__ */ ((A) => (A[A.Unknown = 0] = "Unknown", A[A.EveryWeek = 1] = "EveryWeek", A[A.EveryOtherWeek = 2] = "EveryOtherWeek", A[A.EveryMonth = 3] = "EveryMonth", A[A.EveryOtherMonth = 4] = "EveryOtherMonth", A[A.EveryQuarter = 5] = "EveryQuarter", A[A.EveryOtherQuarter = 6] = "EveryOtherQuarter", A[A.EveryYear = 7] = "EveryYear", A))(R || {});
807
+ var Xt = /* @__PURE__ */ ((A) => (A.CAD = "CAD", A.USD = "USD", A))(Xt || {}), _ = /* @__PURE__ */ ((A) => (A[A.Unknown = 0] = "Unknown", A[A.EveryWeek = 1] = "EveryWeek", A[A.EveryOtherWeek = 2] = "EveryOtherWeek", A[A.EveryMonth = 3] = "EveryMonth", A[A.EveryOtherMonth = 4] = "EveryOtherMonth", A[A.EveryQuarter = 5] = "EveryQuarter", A[A.EveryOtherQuarter = 6] = "EveryOtherQuarter", A[A.EveryYear = 7] = "EveryYear", A))(_ || {});
808
808
  const f7 = [
809
809
  { id: 0, copy: "frequency_unknown" },
810
810
  { id: 1, copy: "frequency_every_week" },
@@ -1743,7 +1743,7 @@ const mc = ({
1743
1743
  }) => {
1744
1744
  let i = 0;
1745
1745
  return g.useEffect(() => {
1746
- Mo(".arc-outer").transition("roll").duration(500).attrTween("transform", () => _o("rotate(0)", "rotate(360)"));
1746
+ Mo(".arc-outer").transition("roll").duration(500).attrTween("transform", () => Ro("rotate(0)", "rotate(360)"));
1747
1747
  }, []), /* @__PURE__ */ u(S, { height: a, position: "relative", width: a, children: [
1748
1748
  /* @__PURE__ */ t(S, { height: "100%", padding: a / 3.75, width: "100%", children: r }),
1749
1749
  /* @__PURE__ */ t(
@@ -1756,7 +1756,7 @@ const mc = ({
1756
1756
  children: /* @__PURE__ */ t("g", { children: A.map((o) => {
1757
1757
  const s = i;
1758
1758
  i = i + 2 * Math.PI * (o.value / 100);
1759
- const c = i, l = Ro().cornerRadius(4)({
1759
+ const c = i, l = _o().cornerRadius(4)({
1760
1760
  innerRadius: pc,
1761
1761
  outerRadius: yc + (o.id === n ? Ec : 0),
1762
1762
  startAngle: s,
@@ -1967,10 +1967,10 @@ const mc = ({
1967
1967
  }, fi = ({ categoryGuid: A }) => {
1968
1968
  const e = et[A];
1969
1969
  return /* @__PURE__ */ u(Ve, { alignItems: "center", direction: "column", gap: "8", justifyContent: "center", mb: 4, children: [
1970
- /* @__PURE__ */ t(re, { "aria-label": `${e} category icon`, mb: 4, role: "img", children: /* @__PURE__ */ t(Re, { categoryGuid: A }) }),
1970
+ /* @__PURE__ */ t(re, { "aria-label": `${e} category icon`, mb: 4, role: "img", children: /* @__PURE__ */ t(_e, { categoryGuid: A }) }),
1971
1971
  /* @__PURE__ */ t(y, { variant: "Body", children: e })
1972
1972
  ] });
1973
- }, RA = ({
1973
+ }, _A = ({
1974
1974
  isIncome: A = !1,
1975
1975
  amount: e = 0,
1976
1976
  bold: n,
@@ -2011,7 +2011,7 @@ const mc = ({
2011
2011
  /* @__PURE__ */ u(re, { alignItems: "center", display: "flex", flexDirection: "column", children: [
2012
2012
  /* @__PURE__ */ t(fi, { categoryGuid: A }),
2013
2013
  /* @__PURE__ */ t(y, { variant: "Small", children: bc.sixMonthTotal }),
2014
- /* @__PURE__ */ t(RA, { amount: c, bold: !0, formatString: "0,0", variant: "body2" })
2014
+ /* @__PURE__ */ t(_A, { amount: c, bold: !0, formatString: "0,0", variant: "body2" })
2015
2015
  ] }),
2016
2016
  /* @__PURE__ */ t(Mn, { sx: { my: 16, width: "100%" } }),
2017
2017
  /* @__PURE__ */ t(Pa, { container: !0, children: e.map((l, d) => /* @__PURE__ */ u(g.Fragment, { children: [
@@ -2019,7 +2019,7 @@ const mc = ({
2019
2019
  /* @__PURE__ */ t(Pa, { item: !0, xs: 4, children: /* @__PURE__ */ u(re, { alignItems: "center", display: "flex", flexDirection: "column", children: [
2020
2020
  /* @__PURE__ */ t(y, { color: r.palette.text.secondary, variant: "XSmall", children: j(String(l.x), F.MONTH_SHORT) }),
2021
2021
  /* @__PURE__ */ t(
2022
- RA,
2022
+ _A,
2023
2023
  {
2024
2024
  amount: l.y,
2025
2025
  bold: !0,
@@ -2041,7 +2041,7 @@ const mc = ({
2041
2041
  return r === void 0 ? null : /* @__PURE__ */ t(Gn, { sx: { pt: 4, px: 8 }, children: /* @__PURE__ */ t(Fr, { children: /* @__PURE__ */ u(re, { alignItems: "center", display: "flex", flexDirection: "column", children: [
2042
2042
  /* @__PURE__ */ t(fi, { categoryGuid: A }),
2043
2043
  /* @__PURE__ */ t(y, { color: a.palette.text.secondary, variant: "Small", children: j(String(e), F.MONTH_SHORT_YEAR) }),
2044
- /* @__PURE__ */ t(RA, { amount: r ?? "", bold: !0, formatString: "0,0", variant: "Body" })
2044
+ /* @__PURE__ */ t(_A, { amount: r ?? "", bold: !0, formatString: "0,0", variant: "Body" })
2045
2045
  ] }) }) });
2046
2046
  }, Oc = ({
2047
2047
  labels: A,
@@ -2115,12 +2115,12 @@ const mc = ({
2115
2115
  }), { hoveredSeriesId: v, hoveredAreaData: E, isAreaHovered: L, cursorPos: b } = f, w = L && v && E, I = !w, D = [...e, ...r], O = D.flat().map((G) => G.x), k = D.flat().map((G) => G.y), $ = Math.floor(Math.min(...k) / 100) * 100, B = D.reduce((G, pA) => {
2116
2116
  const yA = pA.reduce((ce, Le) => ce + Le.y, 0);
2117
2117
  return yA > G ? yA : G;
2118
- }, 0), _ = n.map((G) => et[G]), z = e.map((G, pA) => ({
2118
+ }, 0), R = n.map((G) => et[G]), z = e.map((G, pA) => ({
2119
2119
  id: `stacked-${pA}`,
2120
2120
  area: !0,
2121
2121
  color: A[pA] ?? c.palette.primary.main,
2122
2122
  data: G.map((yA) => yA.y),
2123
- label: _[pA],
2123
+ label: R[pA],
2124
2124
  stack: "total",
2125
2125
  type: "line",
2126
2126
  highlightScope: {
@@ -2135,7 +2135,7 @@ const mc = ({
2135
2135
  label: K[pA],
2136
2136
  type: "line",
2137
2137
  valueFormatter: (yA) => X(yA, "0,0")
2138
- })), rA = [...z, ...lA], MA = [..._, ...K], sA = (G) => G.startsWith("stacked-") ? n[parseInt(G.split("-")[1])] : i[parseInt(G.split("-")[1])];
2138
+ })), rA = [...z, ...lA], MA = [...R, ...K], sA = (G) => G.startsWith("stacked-") ? n[parseInt(G.split("-")[1])] : i[parseInt(G.split("-")[1])];
2139
2139
  return /* @__PURE__ */ t(
2140
2140
  re,
2141
2141
  {
@@ -2225,7 +2225,7 @@ const mc = ({
2225
2225
  ...h && z.reduce((G, pA, yA) => {
2226
2226
  const ce = `.MuiAreaElement-series-stacked-${yA}`;
2227
2227
  return G[ce] = {
2228
- opacity: _[yA] === h ? 0.9 : 0.2
2228
+ opacity: R[yA] === h ? 0.9 : 0.2
2229
2229
  }, G;
2230
2230
  }, {})
2231
2231
  },
@@ -2255,7 +2255,7 @@ const mc = ({
2255
2255
  labels: MA,
2256
2256
  setHoveredLegend: C,
2257
2257
  stackedColors: A,
2258
- stackedLabels: _,
2258
+ stackedLabels: R,
2259
2259
  sx: { px: l ? 0 : 24 },
2260
2260
  unstackedColors: a,
2261
2261
  unstackedLabels: K
@@ -2455,13 +2455,13 @@ const mc = ({
2455
2455
  if (f === n.dateRangePickerCopy.dateRangeThisMonth)
2456
2456
  lA[0] = sA ? ye(rA, 1) : YA(rA, 1), lA[1] = OA(sA ? ye(MA, 1) : YA(MA, 1));
2457
2457
  else if (f === n.dateRangePickerCopy.dateRangeYTD || f === n.dateRangePickerCopy.dateRangeLastYear)
2458
- lA[0] = sA ? _a(Ma(rA), 1) : vt(Ma(rA), 1), lA[1] = sA ? _a(Na(rA), 1) : vt(Na(rA), 1);
2458
+ lA[0] = sA ? Ra(Ma(rA), 1) : vt(Ma(rA), 1), lA[1] = sA ? Ra(Na(rA), 1) : vt(Na(rA), 1);
2459
2459
  else {
2460
2460
  const G = Wo(MA, rA);
2461
2461
  lA[0] = K === "previous" ? ie(rA, G) : ge(rA, G), lA[1] = K === "previous" ? ie(MA, G) : ge(MA, G);
2462
2462
  }
2463
2463
  C(lA), A.onRangeChanged(lA);
2464
- }, _ = () => {
2464
+ }, R = () => {
2465
2465
  C(v), I(
2466
2466
  f === n.dateRangePickerCopy.dateRangeThisMonth || f === n.dateRangePickerCopy.dateRangeLastMonth
2467
2467
  ), A.onRangeChanged(v);
@@ -2609,7 +2609,7 @@ const mc = ({
2609
2609
  isOpen: L,
2610
2610
  onClose: () => b(!1),
2611
2611
  onPrimaryAction: () => {
2612
- _(), b(!1);
2612
+ R(), b(!1);
2613
2613
  },
2614
2614
  primaryText: n.dateRangeEditApply,
2615
2615
  title: n.dateRangeEditTitle,
@@ -2633,7 +2633,7 @@ const mc = ({
2633
2633
  copy: { title: n.dateRangeEditTitle },
2634
2634
  isOpen: !0,
2635
2635
  onClose: () => b(!1),
2636
- onPrimaryAction: () => _(),
2636
+ onPrimaryAction: () => R(),
2637
2637
  primaryText: n.dateRangeEditApply,
2638
2638
  sx: {
2639
2639
  "& .MuiDialogContent-root": {
@@ -2719,7 +2719,7 @@ const mc = ({
2719
2719
  strokeWidth: a = di,
2720
2720
  children: r
2721
2721
  }) => {
2722
- const i = SA(), o = _c(i, n), s = (n - a) / 2, c = -90, l = e > 100 ? 100 : e, d = 2 * Math.PI * s * (1 - l / 100), h = n / 2;
2722
+ const i = SA(), o = Rc(i, n), s = (n - a) / 2, c = -90, l = e > 100 ? 100 : e, d = 2 * Math.PI * s * (1 - l / 100), h = n / 2;
2723
2723
  return /* @__PURE__ */ u("div", { className: `mx-cmn-single-segment-donut ${o}`, children: [
2724
2724
  /* @__PURE__ */ u("svg", { height: n, width: n, children: [
2725
2725
  /* @__PURE__ */ t(
@@ -2750,7 +2750,7 @@ const mc = ({
2750
2750
  ] }),
2751
2751
  /* @__PURE__ */ t("div", { className: "mx-cmn-single-segment-donut-children", children: r })
2752
2752
  ] });
2753
- }, _c = (A, e) => GA({
2753
+ }, Rc = (A, e) => GA({
2754
2754
  height: e,
2755
2755
  marginTop: `-${A.Spacing.XSmall}px`,
2756
2756
  position: "relative",
@@ -2793,7 +2793,7 @@ const mc = ({
2793
2793
  if (!e)
2794
2794
  throw new Error(`${A}() must be used within the GlobalDataContext`);
2795
2795
  return e;
2796
- }, DA = () => KA("useAccountStore").globalStore.accountStore, nn = () => KA("useBudgetsStore").globalStore.budgetsStore, ia = () => KA("useCashflowStore").globalStore.cashflowStore, xA = () => KA("useCategoryStore").globalStore.categoryStore, pi = () => KA("useConnectStore").globalStore.connectStore, an = () => KA("useGlobalStore").globalStore, mA = () => KA("useGlobalUiStore").globalStore.globalUiStore, W = () => KA("globalCopyStore").globalStore.copyStore.copy, Rc = () => KA("useMerchantStore").globalStore.merchantStore, Hc = () => KA("useNetWorthStore").globalStore.netWorthStore, yi = () => KA("useNotificationStore").globalStore.notificationStore, kA = () => KA("useRecurringActivityStore").globalStore.recurringActivityStore, uA = () => KA("useTransactionStore").globalStore.transactionStore, rn = () => KA("useUserStore").globalStore.userStore, Y = () => ({ onEvent: KA().onEvent }), T7 = () => ({ onPageView: KA().onPageView }), zc = (A = "useWidgetContainerContext") => {
2796
+ }, DA = () => KA("useAccountStore").globalStore.accountStore, nn = () => KA("useBudgetsStore").globalStore.budgetsStore, ia = () => KA("useCashflowStore").globalStore.cashflowStore, xA = () => KA("useCategoryStore").globalStore.categoryStore, pi = () => KA("useConnectStore").globalStore.connectStore, an = () => KA("useGlobalStore").globalStore, mA = () => KA("useGlobalUiStore").globalStore.globalUiStore, W = () => KA("globalCopyStore").globalStore.copyStore.copy, _c = () => KA("useMerchantStore").globalStore.merchantStore, Hc = () => KA("useNetWorthStore").globalStore.netWorthStore, yi = () => KA("useNotificationStore").globalStore.notificationStore, kA = () => KA("useRecurringActivityStore").globalStore.recurringActivityStore, uA = () => KA("useTransactionStore").globalStore.transactionStore, rn = () => KA("useUserStore").globalStore.userStore, Y = () => ({ onEvent: KA().onEvent }), T7 = () => ({ onPageView: KA().onPageView }), zc = (A = "useWidgetContainerContext") => {
2797
2797
  const e = g.useContext(mi);
2798
2798
  if (!e)
2799
2799
  throw new Error(`${A}() must be used within the WidgetContainerContext`);
@@ -2911,7 +2911,7 @@ const qe = ({
2911
2911
  dateRangeEditTitle: O.date_range_picker.edit_title,
2912
2912
  dateRangeNextAria: O.date_range_picker.next_aria,
2913
2913
  dateRangePreviousAria: O.date_range_picker.previous_aria
2914
- }, _ = r ? r.start : w.start, z = r ? r.end : w.end;
2914
+ }, R = r ? r.start : w.start, z = r ? r.end : w.end;
2915
2915
  return /* @__PURE__ */ u(
2916
2916
  Je,
2917
2917
  {
@@ -2938,7 +2938,7 @@ const qe = ({
2938
2938
  {
2939
2939
  calendarActions: n,
2940
2940
  copy: B,
2941
- range: [_, z],
2941
+ range: [R, z],
2942
2942
  shouldShrinkToIcon: !1,
2943
2943
  variant: i
2944
2944
  }
@@ -3011,7 +3011,7 @@ const qe = ({
3011
3011
  {
3012
3012
  calendarActions: n,
3013
3013
  copy: B,
3014
- range: [_, z],
3014
+ range: [R, z],
3015
3015
  shouldShrinkToIcon: !1,
3016
3016
  variant: i
3017
3017
  }
@@ -3021,7 +3021,7 @@ const qe = ({
3021
3021
  ]
3022
3022
  }
3023
3023
  );
3024
- }, _e = x(Kc), oa = ({
3024
+ }, Re = x(Kc), oa = ({
3025
3025
  allowDecimals: A = !0,
3026
3026
  ariaLabel: e,
3027
3027
  amount: n,
@@ -3408,7 +3408,7 @@ const ot = () => {
3408
3408
  }
3409
3409
  ),
3410
3410
  /* @__PURE__ */ t(y, { bold: !0, sx: { flexGrow: 1, fontSize: 12 }, children: e.remaining_cash }),
3411
- /* @__PURE__ */ t(RA, { amount: A, bold: !0, sx: { fontSize: 12 } })
3411
+ /* @__PURE__ */ t(_A, { amount: A, bold: !0, sx: { fontSize: 12 } })
3412
3412
  ] });
3413
3413
  }, jc = ({ onAddIncomeClick: A }) => {
3414
3414
  const e = fA(), { availableWidth: n } = bt(), { cashAccounts: a, cashBalance: r } = DA(), { selectedAccountGuids: i } = mA(), { cashflow: o } = W(), { userProfile: s } = rn(), {
@@ -3446,7 +3446,7 @@ const ot = () => {
3446
3446
  px: 24,
3447
3447
  children: [
3448
3448
  /* @__PURE__ */ u(T, { pb: 14, pt: 12, children: [
3449
- /* @__PURE__ */ t(RA, { amount: E, variant: "H2" }),
3449
+ /* @__PURE__ */ t(_A, { amount: E, variant: "H2" }),
3450
3450
  /* @__PURE__ */ t(vA, { variant: "XSmall", whiteSpace: "nowrap", children: H(
3451
3451
  o.total_cash_accounts,
3452
3452
  d.length
@@ -3454,12 +3454,12 @@ const ot = () => {
3454
3454
  ] }),
3455
3455
  /* @__PURE__ */ t(T, { pt: 18, children: /* @__PURE__ */ t(P, { name: "remove" }) }),
3456
3456
  /* @__PURE__ */ u(T, { pb: 14, pt: 12, children: [
3457
- /* @__PURE__ */ t(RA, { amount: L, variant: "H2" }),
3457
+ /* @__PURE__ */ t(_A, { amount: L, variant: "H2" }),
3458
3458
  /* @__PURE__ */ t(vA, { variant: "XSmall", whiteSpace: "nowrap", children: H(o.expenses_due, l.length) })
3459
3459
  ] }),
3460
3460
  /* @__PURE__ */ t(T, { pt: 18, children: /* @__PURE__ */ t(P, { name: "equals" }) }),
3461
3461
  /* @__PURE__ */ u(T, { pb: 14, pr: 24, pt: 12, children: [
3462
- /* @__PURE__ */ t(RA, { amount: b, variant: "H2" }),
3462
+ /* @__PURE__ */ t(_A, { amount: b, variant: "H2" }),
3463
3463
  /* @__PURE__ */ u(T, { alignItems: "center", direction: "row", gap: 8, children: [
3464
3464
  /* @__PURE__ */ t(vA, { variant: "XSmall", whiteSpace: "nowrap", children: o.available_to_spend }),
3465
3465
  /* @__PURE__ */ t(jt, { body: o.tooltip_body, title: o.tooltip_title })
@@ -3485,12 +3485,12 @@ const ot = () => {
3485
3485
  o.total_cash_accounts,
3486
3486
  d.length
3487
3487
  ) }),
3488
- /* @__PURE__ */ t(RA, { amount: r, bold: !0, variant: "XSmall" })
3488
+ /* @__PURE__ */ t(_A, { amount: r, bold: !0, variant: "XSmall" })
3489
3489
  ] }),
3490
3490
  /* @__PURE__ */ t(q, {}),
3491
3491
  /* @__PURE__ */ u(T, { direction: "row", justifyContent: "space-between", p: 16, children: [
3492
3492
  /* @__PURE__ */ t(y, { variant: "Small", children: H(o.expenses_due, l.length) }),
3493
- /* @__PURE__ */ t(RA, { amount: L, bold: !0, symbol: "-", variant: "XSmall" })
3493
+ /* @__PURE__ */ t(_A, { amount: L, bold: !0, symbol: "-", variant: "XSmall" })
3494
3494
  ] }),
3495
3495
  /* @__PURE__ */ t(q, {}),
3496
3496
  /* @__PURE__ */ t(
@@ -4343,7 +4343,7 @@ const WA = () => {
4343
4343
  return FA(n, a);
4344
4344
  }, ua = (A) => {
4345
4345
  const e = pt(A);
4346
- let n = _n(A, e);
4346
+ let n = Rn(A, e);
4347
4347
  for (; gA(n, Z()); )
4348
4348
  n = Ye(n, 1);
4349
4349
  return n;
@@ -4351,7 +4351,7 @@ const WA = () => {
4351
4351
  const e = ua(A);
4352
4352
  return Ye(e, 1);
4353
4353
  }, er = (A) => {
4354
- let e = Rn(Z(), A.getDate());
4354
+ let e = _n(Z(), A.getDate());
4355
4355
  for (; gA(e, Z()); )
4356
4356
  e = YA(e, 1);
4357
4357
  return e;
@@ -4713,7 +4713,7 @@ const Il = ({
4713
4713
  type: cn.DELETE
4714
4714
  }
4715
4715
  );
4716
- }, Ml = x(Nl), _l = ({ parentCategory: A, subCategory: e }) => {
4716
+ }, Ml = x(Nl), Rl = ({ parentCategory: A, subCategory: e }) => {
4717
4717
  const {
4718
4718
  onSelect: n,
4719
4719
  selectedGuid: a,
@@ -4796,7 +4796,7 @@ const Il = ({
4796
4796
  ]
4797
4797
  }
4798
4798
  );
4799
- }, Rl = x(_l), Hl = ({ categories: A, parentCategory: e }) => {
4799
+ }, _l = x(Rl), Hl = ({ categories: A, parentCategory: e }) => {
4800
4800
  const { expandedGuid: n, searchValue: a } = Fe(), r = e.guid === n, i = !!a;
4801
4801
  return /* @__PURE__ */ t(
4802
4802
  ei,
@@ -4813,7 +4813,7 @@ const Il = ({
4813
4813
  id: `subcategories-${e.guid}`,
4814
4814
  children: [
4815
4815
  A.map((o) => /* @__PURE__ */ u(g.Fragment, { children: [
4816
- /* @__PURE__ */ t(Rl, { parentCategory: e, subCategory: o }),
4816
+ /* @__PURE__ */ t(_l, { parentCategory: e, subCategory: o }),
4817
4817
  /* @__PURE__ */ t(q, { sx: { ml: 58 } })
4818
4818
  ] }, o.guid)),
4819
4819
  !i && /* @__PURE__ */ t(Ol, { parentCategory: e })
@@ -4837,7 +4837,7 @@ const Il = ({
4837
4837
  id: `category-${A.guid}`,
4838
4838
  onClick: s,
4839
4839
  children: [
4840
- /* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(Re, { categoryGuid: A.guid }) }),
4840
+ /* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(_e, { categoryGuid: A.guid }) }),
4841
4841
  /* @__PURE__ */ t(
4842
4842
  cA,
4843
4843
  {
@@ -5113,7 +5113,7 @@ const Si = ({ transaction: A }) => {
5113
5113
  },
5114
5114
  children: [
5115
5115
  /* @__PURE__ */ t(PA, { children: /* @__PURE__ */ t(Te, { sx: { bgcolor: "border.light" }, variant: "rounded", children: /* @__PURE__ */ t(
5116
- Re,
5116
+ _e,
5117
5117
  {
5118
5118
  categoryGuid: A.top_level_category_guid,
5119
5119
  size: 24,
@@ -5478,7 +5478,7 @@ const Si = ({ transaction: A }) => {
5478
5478
  {
5479
5479
  endIcon: /* @__PURE__ */ t(en, {}),
5480
5480
  onClick: () => h(!0),
5481
- startIcon: /* @__PURE__ */ t(Re, { categoryGuid: r.top_level_category_guid }),
5481
+ startIcon: /* @__PURE__ */ t(_e, { categoryGuid: r.top_level_category_guid }),
5482
5482
  sx: { px: i.Spacing.Small, py: i.Spacing.XSmall },
5483
5483
  children: r.category
5484
5484
  }
@@ -5627,22 +5627,22 @@ const Si = ({ transaction: A }) => {
5627
5627
  B.push({ ...l }), B[0].amount -= 1, v(B);
5628
5628
  }, L = (B) => {
5629
5629
  if (B > 0) {
5630
- const _ = m[B], z = [...m];
5631
- z.splice(B, 1), z[0].amount += _.amount, v(z);
5630
+ const R = m[B], z = [...m];
5631
+ z.splice(B, 1), z[0].amount += R.amount, v(z);
5632
5632
  }
5633
- }, b = (B, _) => {
5633
+ }, b = (B, R) => {
5634
5634
  const z = [...m];
5635
- z[B].amount = _, z[0].amount = A.amount - z.reduce(
5635
+ z[B].amount = R, z[0].amount = A.amount - z.reduce(
5636
5636
  (K, lA, rA) => K + (rA !== 0 ? lA.amount : 0),
5637
5637
  0
5638
5638
  ), v(z);
5639
- }, w = (B, _) => {
5640
- const z = [...m], K = s.find((lA) => lA.guid === _);
5639
+ }, w = (B, R) => {
5640
+ const z = [...m], K = s.find((lA) => lA.guid === R);
5641
5641
  K && (z[B] = {
5642
5642
  ...z[B],
5643
- category_guid: _,
5643
+ category_guid: R,
5644
5644
  category: K.name,
5645
- top_level_category_guid: K.parent_guid || _
5645
+ top_level_category_guid: K.parent_guid || R
5646
5646
  }, v(z));
5647
5647
  }, I = () => {
5648
5648
  if (A.parent_guid || A.has_been_split) {
@@ -5663,8 +5663,8 @@ const Si = ({ transaction: A }) => {
5663
5663
  const B = A.parent_guid ?? A.guid;
5664
5664
  await a(B);
5665
5665
  }, $ = g.useMemo(() => {
5666
- const B = m.some((z) => !z.category_guid), _ = m.some((z) => z.amount <= 0);
5667
- return B || _;
5666
+ const B = m.some((z) => !z.category_guid), R = m.some((z) => z.amount <= 0);
5667
+ return B || R;
5668
5668
  }, [m]);
5669
5669
  return /* @__PURE__ */ u(g.Fragment, { children: [
5670
5670
  A && /* @__PURE__ */ t(U, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ u(dA, { onClick: I, children: [
@@ -6393,7 +6393,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
6393
6393
  displayedDateRange: k,
6394
6394
  isInitialized: $,
6395
6395
  selectedAccountGuids: B,
6396
- selectedAccounts: _,
6396
+ selectedAccounts: R,
6397
6397
  setDisplayedDate: z,
6398
6398
  setSelectedAccounts: K
6399
6399
  } = mA(), [lA, rA] = g.useState(""), [MA, sA] = g.useState(""), [G, pA] = g.useState(!1), [yA, ce] = g.useState(!1), [Le, Cn] = g.useState(!1);
@@ -6403,7 +6403,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
6403
6403
  const IA = LA(Z()), ba = OA(Z());
6404
6404
  z(IA, ba), v({
6405
6405
  dateRange: { start: IA, end: ba },
6406
- accounts: _.map((go) => go.guid)
6406
+ accounts: R.map((go) => go.guid)
6407
6407
  }), Cn(!0), O(J.TRANSACTIONS_VIEW);
6408
6408
  }, []), g.useEffect(() => {
6409
6409
  Le && v({
@@ -6443,7 +6443,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
6443
6443
  ce(!1), i();
6444
6444
  };
6445
6445
  return !$ || !Le ? /* @__PURE__ */ t(Ce, {}) : /* @__PURE__ */ u(
6446
- _e,
6446
+ Re,
6447
6447
  {
6448
6448
  accountOptions: r,
6449
6449
  actions: [
@@ -6587,19 +6587,19 @@ const ir = "connect_widget", or = "connections_widget", md = {
6587
6587
  start_date: CA(A.expectedDate)
6588
6588
  }, a = `${Ct(A.expectedDate)}`, r = `${We(A.expectedDate)}`, i = `${pt(A.expectedDate)}`;
6589
6589
  switch (A.recurrenceType) {
6590
- case R.EveryWeek:
6590
+ case _.EveryWeek:
6591
6591
  n.repeat_interval = "1", n.repeat_weekday = i;
6592
6592
  break;
6593
- case R.EveryOtherWeek:
6593
+ case _.EveryOtherWeek:
6594
6594
  n.repeat_interval = "2", n.repeat_weekday = i;
6595
6595
  break;
6596
- case R.EveryMonth:
6596
+ case _.EveryMonth:
6597
6597
  n.repeat_day = a;
6598
6598
  break;
6599
- case R.EveryQuarter:
6599
+ case _.EveryQuarter:
6600
6600
  n.repeat_day = a, n.repeat_interval = "3";
6601
6601
  break;
6602
- case R.EveryYear:
6602
+ case _.EveryYear:
6603
6603
  n.repeat_day = a, n.repeat_month = r;
6604
6604
  break;
6605
6605
  }
@@ -6621,13 +6621,13 @@ const ir = "connect_widget", or = "connections_widget", md = {
6621
6621
  frequency_title: "Select payment frequency"
6622
6622
  }, Td = ({ activity: A }) => {
6623
6623
  const { cashflowSequences: e, scheduledPayments: n, updateCashflowSequence: a, updateScheduledPayment: r } = kA(), { onEvent: i } = Y(), [o, s] = g.useState(!1), c = A.activityType === EA.Income, l = [
6624
- { id: R.EveryWeek, label: le.frequency_every_week },
6625
- { id: R.EveryOtherWeek, label: le.frequency_every_other_week },
6626
- { id: R.EveryMonth, label: le.frequency_every_month },
6627
- { id: R.EveryOtherMonth, label: le.frequency_every_other_month },
6628
- { id: R.EveryQuarter, label: le.frequency_every_quarter },
6629
- { id: R.EveryOtherQuarter, label: le.frequency_every_other_quarter },
6630
- { id: R.EveryYear, label: le.frequency_every_year }
6624
+ { id: _.EveryWeek, label: le.frequency_every_week },
6625
+ { id: _.EveryOtherWeek, label: le.frequency_every_other_week },
6626
+ { id: _.EveryMonth, label: le.frequency_every_month },
6627
+ { id: _.EveryOtherMonth, label: le.frequency_every_other_month },
6628
+ { id: _.EveryQuarter, label: le.frequency_every_quarter },
6629
+ { id: _.EveryOtherQuarter, label: le.frequency_every_other_quarter },
6630
+ { id: _.EveryYear, label: le.frequency_every_year }
6631
6631
  ], d = async (f) => {
6632
6632
  const m = { ...A, recurrenceType: f };
6633
6633
  if (A.activityType === EA.Expense) {
@@ -6667,7 +6667,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
6667
6667
  (f) => (
6668
6668
  // Filter out every other month and every other quarter when income since cashflow
6669
6669
  // sequence doesn't support them
6670
- A.activityType === EA.Expense || f.id !== R.EveryOtherMonth && f.id !== R.EveryOtherQuarter
6670
+ A.activityType === EA.Expense || f.id !== _.EveryOtherMonth && f.id !== _.EveryOtherQuarter
6671
6671
  )
6672
6672
  ).map((f) => /* @__PURE__ */ u(g.Fragment, { children: [
6673
6673
  /* @__PURE__ */ t(U, { disableGutters: !0, disablePadding: !0, children: /* @__PURE__ */ u(dA, { onClick: () => d(f.id), children: [
@@ -6882,22 +6882,22 @@ const ir = "connect_widget", or = "connections_widget", md = {
6882
6882
  };
6883
6883
  let a = e && ms(e) ? H(n.monthly_ordinal, $A(e, "do")) : n.monthly;
6884
6884
  switch (A) {
6885
- case R.EveryQuarter:
6885
+ case _.EveryQuarter:
6886
6886
  a = e ? H(n.quarterly_ordinal, $A(e, "do")) : n.quarterly;
6887
6887
  break;
6888
- case R.EveryWeek:
6888
+ case _.EveryWeek:
6889
6889
  a = e ? H(n.weekly_ordinal, $A(e, "do")) : n.weekly;
6890
6890
  break;
6891
- case R.EveryYear:
6891
+ case _.EveryYear:
6892
6892
  a = e ? H(n.anually_ordinal, $A(e, "do")) : n.anually;
6893
6893
  break;
6894
- case R.EveryOtherWeek:
6894
+ case _.EveryOtherWeek:
6895
6895
  a = e ? H(n.every_other_week_ordinal, $A(e, "do")) : n.every_other_week;
6896
6896
  break;
6897
- case R.EveryOtherMonth:
6897
+ case _.EveryOtherMonth:
6898
6898
  a = e ? H(n.every_other_month_ordinal, $A(e, "do")) : n.every_other_month;
6899
6899
  break;
6900
- case R.EveryOtherQuarter:
6900
+ case _.EveryOtherQuarter:
6901
6901
  a = e ? H(n.every_other_quarter_ordinal, $A(e, "do")) : n.every_other_quarter;
6902
6902
  break;
6903
6903
  }
@@ -7035,19 +7035,19 @@ const ir = "connect_widget", or = "connections_widget", md = {
7035
7035
  transaction_type: A.transaction_type
7036
7036
  };
7037
7037
  switch (e) {
7038
- case R.EveryWeek:
7038
+ case _.EveryWeek:
7039
7039
  a.repeat_interval = "1", a.repeat_weekday = `${pt(n)}`;
7040
7040
  break;
7041
- case R.EveryOtherWeek:
7041
+ case _.EveryOtherWeek:
7042
7042
  a.repeat_interval = "2", a.repeat_weekday = `${pt(n)}`;
7043
7043
  break;
7044
- case R.EveryMonth:
7044
+ case _.EveryMonth:
7045
7045
  a.repeat_day = `${Ct(n)}`;
7046
7046
  break;
7047
- case R.EveryQuarter:
7047
+ case _.EveryQuarter:
7048
7048
  a.repeat_interval = "3", a.repeat_day = `${Ct(n)}`;
7049
7049
  break;
7050
- case R.EveryYear:
7050
+ case _.EveryYear:
7051
7051
  a.repeat_day = `${Ct(n)}`, a.repeat_month = `${We(n)}`;
7052
7052
  break;
7053
7053
  }
@@ -7070,18 +7070,18 @@ const ir = "connect_widget", or = "connections_widget", md = {
7070
7070
  merchant_guid: A.merchant_guid,
7071
7071
  occurs_on: Un(n, { representation: "date" }),
7072
7072
  recurrence_day: 0,
7073
- recurrence_type: R.EveryMonth
7073
+ recurrence_type: _.EveryMonth
7074
7074
  };
7075
7075
  switch (e) {
7076
- case R.EveryWeek:
7077
- case R.EveryOtherWeek:
7076
+ case _.EveryWeek:
7077
+ case _.EveryOtherWeek:
7078
7078
  a.recurrence_day = pt(n);
7079
7079
  break;
7080
- case R.EveryMonth:
7081
- case R.EveryOtherMonth:
7082
- case R.EveryQuarter:
7083
- case R.EveryOtherQuarter:
7084
- case R.EveryYear:
7080
+ case _.EveryMonth:
7081
+ case _.EveryOtherMonth:
7082
+ case _.EveryQuarter:
7083
+ case _.EveryOtherQuarter:
7084
+ case _.EveryYear:
7085
7085
  a.recurrence_day = Ct(n);
7086
7086
  break;
7087
7087
  }
@@ -7113,7 +7113,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
7113
7113
  ),
7114
7114
  /* @__PURE__ */ t(It, { bgcolor: A, height: "auto", onClick: a, showLoader: !1 })
7115
7115
  ] });
7116
- }, _i = x(Nd), ZA = {
7116
+ }, Ri = x(Nd), ZA = {
7117
7117
  expense_date_label: "Next expense date",
7118
7118
  expense_schedule: "Expense schedule",
7119
7119
  income_date_label: "Next payment date",
@@ -7127,7 +7127,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
7127
7127
  frequency_every_other_quarter: "Every other quarter",
7128
7128
  frequency_every_year: "Yearly",
7129
7129
  frequency_title: "Select payment frequency"
7130
- }, Ri = ({
7130
+ }, _i = ({
7131
7131
  bgcolor: A = "background.default",
7132
7132
  frequency: e,
7133
7133
  isIncome: n,
@@ -7137,40 +7137,40 @@ const ir = "connect_widget", or = "connections_widget", md = {
7137
7137
  transaction: o
7138
7138
  }) => {
7139
7139
  const s = [
7140
- { id: R.EveryWeek, label: ZA.frequency_every_week },
7141
- { id: R.EveryOtherWeek, label: ZA.frequency_every_other_week },
7142
- { id: R.EveryMonth, label: ZA.frequency_every_month },
7143
- { id: R.EveryOtherMonth, label: ZA.frequency_every_other_month },
7144
- { id: R.EveryQuarter, label: ZA.frequency_every_quarter },
7145
- { id: R.EveryOtherQuarter, label: ZA.frequency_every_other_quarter },
7146
- { id: R.EveryYear, label: ZA.frequency_every_year }
7140
+ { id: _.EveryWeek, label: ZA.frequency_every_week },
7141
+ { id: _.EveryOtherWeek, label: ZA.frequency_every_other_week },
7142
+ { id: _.EveryMonth, label: ZA.frequency_every_month },
7143
+ { id: _.EveryOtherMonth, label: ZA.frequency_every_other_month },
7144
+ { id: _.EveryQuarter, label: ZA.frequency_every_quarter },
7145
+ { id: _.EveryOtherQuarter, label: ZA.frequency_every_other_quarter },
7146
+ { id: _.EveryYear, label: ZA.frequency_every_year }
7147
7147
  ];
7148
7148
  g.useEffect(() => {
7149
7149
  const l = NA(o.date);
7150
- i(er(l)), r(R.EveryMonth);
7150
+ i(er(l)), r(_.EveryMonth);
7151
7151
  }, [o]);
7152
7152
  const c = (l) => {
7153
7153
  const d = NA(o.date);
7154
7154
  switch (Number(l.target.value)) {
7155
- case R.EveryWeek:
7155
+ case _.EveryWeek:
7156
7156
  i(ua(d));
7157
7157
  break;
7158
- case R.EveryOtherWeek:
7158
+ case _.EveryOtherWeek:
7159
7159
  i(gl(d));
7160
7160
  break;
7161
- case R.EveryMonth:
7161
+ case _.EveryMonth:
7162
7162
  i(er(d));
7163
7163
  break;
7164
- case R.EveryOtherMonth:
7164
+ case _.EveryOtherMonth:
7165
7165
  i(Cl(d));
7166
7166
  break;
7167
- case R.EveryQuarter:
7167
+ case _.EveryQuarter:
7168
7168
  i(Li(d));
7169
7169
  break;
7170
- case R.EveryOtherQuarter:
7170
+ case _.EveryOtherQuarter:
7171
7171
  i(fl(d));
7172
7172
  break;
7173
- case R.EveryYear:
7173
+ case _.EveryYear:
7174
7174
  i(ml(d));
7175
7175
  break;
7176
7176
  }
@@ -7218,12 +7218,12 @@ const ir = "connect_widget", or = "connections_widget", md = {
7218
7218
  income_details: "Income details",
7219
7219
  next_expense_date: "Next expense date",
7220
7220
  next_payment_date: "Next payment date"
7221
- }, _d = ({
7221
+ }, Rd = ({
7222
7222
  isIncome: A = !1,
7223
7223
  label: e,
7224
7224
  onAddActivity: n = () => null
7225
7225
  }) => {
7226
- const { addCashflowEvent: a, addCashflowSequence: r, addScheduledPayment: i } = kA(), { filter: o, setFilter: s, transactions: c } = uA(), [l, d] = g.useState(!1), [h, C] = g.useState(""), [f, m] = g.useState(R.EveryMonth), [v, E] = g.useState(null), L = g.useMemo(
7226
+ const { addCashflowEvent: a, addCashflowSequence: r, addScheduledPayment: i } = kA(), { filter: o, setFilter: s, transactions: c } = uA(), [l, d] = g.useState(!1), [h, C] = g.useState(""), [f, m] = g.useState(_.EveryMonth), [v, E] = g.useState(null), L = g.useMemo(
7227
7227
  () => c.find((D) => D.guid === h),
7228
7228
  [h]
7229
7229
  ), b = () => {
@@ -7264,7 +7264,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
7264
7264
  onClose: () => d(!1),
7265
7265
  title: e,
7266
7266
  children: /* @__PURE__ */ t(
7267
- _i,
7267
+ Ri,
7268
7268
  {
7269
7269
  description: A ? je.add_income_description : je.add_expense_description,
7270
7270
  onSearch: (D) => {
@@ -7287,7 +7287,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
7287
7287
  onPrimaryAction: w,
7288
7288
  title: A ? je.income_details : je.expense_details,
7289
7289
  children: L && /* @__PURE__ */ t(
7290
- Ri,
7290
+ _i,
7291
7291
  {
7292
7292
  frequency: f,
7293
7293
  isIncome: A,
@@ -7300,7 +7300,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
7300
7300
  }
7301
7301
  )
7302
7302
  ] });
7303
- }, zi = x(_d), Rd = {
7303
+ }, zi = x(Rd), _d = {
7304
7304
  manage_expenses_label: "Add Expense"
7305
7305
  }, Hd = (A, e, n) => e.map((a) => {
7306
7306
  const r = n.find((o) => o.scheduled_payment_guid === a.guid), i = A.find((o) => o.guid === r?.account_guid);
@@ -7331,12 +7331,12 @@ const ir = "connect_widget", or = "connections_widget", md = {
7331
7331
  /* @__PURE__ */ t(Yt, { activity: s, onActivityClick: i, showOrdinal: !0 }),
7332
7332
  /* @__PURE__ */ t(q, { variant: c < r.length - 1 ? "inset" : "fullWidth" })
7333
7333
  ] }, s.scheduledPaymentGuid)),
7334
- /* @__PURE__ */ t(zi, { label: Rd.manage_expenses_label, onAddActivity: o })
7334
+ /* @__PURE__ */ t(zi, { label: _d.manage_expenses_label, onAddActivity: o })
7335
7335
  ] });
7336
7336
  }, qd = x(zd), Bn = (A) => {
7337
7337
  let e = A.user_name || A.feed_name || "";
7338
7338
  return A.account_number && (e = `${e} *${A.account_number}`), e;
7339
- }, Kn = (A) => A ? A.repeat_interval === "1" ? R.EveryWeek : A.repeat_interval === "2" ? R.EveryOtherWeek : A.repeat_day && !A.repeat_month && !A.repeat_interval ? R.EveryMonth : A.repeat_day && A.repeat_interval === "3" ? R.EveryQuarter : A.repeat_day && A.repeat_month ? R.EveryYear : R.Unknown : R.Unknown, Bd = (A, e, n, a, r, i) => {
7339
+ }, Kn = (A) => A ? A.repeat_interval === "1" ? _.EveryWeek : A.repeat_interval === "2" ? _.EveryOtherWeek : A.repeat_day && !A.repeat_month && !A.repeat_interval ? _.EveryMonth : A.repeat_day && A.repeat_interval === "3" ? _.EveryQuarter : A.repeat_day && A.repeat_month ? _.EveryYear : _.Unknown : _.Unknown, Bd = (A, e, n, a, r, i) => {
7340
7340
  const o = e.filter((d) => {
7341
7341
  const h = r.find((f) => f.guid === d.cashflow_sequence_guid), C = i.find((f) => f.guid === d.transaction_guid);
7342
7342
  return h?.end_date === null && C;
@@ -7414,14 +7414,14 @@ const ir = "connect_widget", or = "connections_widget", md = {
7414
7414
  }, c = e.recurrence_day, l = Z(), d = LA(Z()), h = ge(Z(), 30);
7415
7415
  let C = d;
7416
7416
  switch (e.recurrence_type) {
7417
- case R.EveryWeek:
7418
- for (C = _n(C, c); gA(C, h); )
7417
+ case _.EveryWeek:
7418
+ for (C = Rn(C, c); gA(C, h); )
7419
7419
  a.push({
7420
7420
  ...s,
7421
7421
  expectedDate: C
7422
- }), C = _n(C, c);
7422
+ }), C = Rn(C, c);
7423
7423
  break;
7424
- case R.EveryOtherWeek:
7424
+ case _.EveryOtherWeek:
7425
7425
  if (gA(o, d))
7426
7426
  for (C = Ye(o, 2); gA(C, h); )
7427
7427
  yt(C, d) && a.push({
@@ -7444,16 +7444,16 @@ const ir = "connect_widget", or = "connections_widget", md = {
7444
7444
  }), C = Ye(C, 2);
7445
7445
  }
7446
7446
  break;
7447
- case R.EveryMonth:
7447
+ case _.EveryMonth:
7448
7448
  a.push({
7449
7449
  ...s,
7450
- expectedDate: Rn(C, c)
7450
+ expectedDate: _n(C, c)
7451
7451
  }), a.push({
7452
7452
  ...s,
7453
- expectedDate: YA(Rn(C, c), 1)
7453
+ expectedDate: YA(_n(C, c), 1)
7454
7454
  });
7455
7455
  break;
7456
- case R.EveryOtherMonth:
7456
+ case _.EveryOtherMonth:
7457
7457
  gA(o, d) ? gA(YA(o, 2), h) && a.push({
7458
7458
  ...s,
7459
7459
  expectedDate: YA(o, 2)
@@ -7462,7 +7462,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
7462
7462
  expectedDate: o
7463
7463
  });
7464
7464
  break;
7465
- case R.EveryQuarter:
7465
+ case _.EveryQuarter:
7466
7466
  gA(o, d) ? gA(Ge(o, 1), h) && a.push({
7467
7467
  ...s,
7468
7468
  expectedDate: Ge(o, 1)
@@ -7471,7 +7471,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
7471
7471
  expectedDate: o
7472
7472
  });
7473
7473
  break;
7474
- case R.EveryOtherQuarter:
7474
+ case _.EveryOtherQuarter:
7475
7475
  gA(o, d) ? gA(Ge(o, 2), h) && a.push({
7476
7476
  ...s,
7477
7477
  expectedDate: Ge(o, 2)
@@ -7480,7 +7480,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
7480
7480
  expectedDate: o
7481
7481
  });
7482
7482
  break;
7483
- case R.EveryYear:
7483
+ case _.EveryYear:
7484
7484
  gA(o, d) ? gA(vt(o, 1), h) && a.push({
7485
7485
  ...s,
7486
7486
  expectedDate: vt(o, 1)
@@ -7562,7 +7562,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
7562
7562
  }, lt = (A, e) => A + e.amount, En = (A) => A.activityType === EA.Income && At(A.expectedDate, {
7563
7563
  start: LA(Z()),
7564
7564
  end: OA(Z())
7565
- }), _t = (A) => A.activityType === EA.Expense && At(A.expectedDate, {
7565
+ }), Rt = (A) => A.activityType === EA.Expense && At(A.expectedDate, {
7566
7566
  start: LA(Z()),
7567
7567
  end: OA(Z())
7568
7568
  }), wn = (A) => A.occurredOnDate && At(A.occurredOnDate, {
@@ -7629,7 +7629,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
7629
7629
  )
7630
7630
  }
7631
7631
  );
7632
- }, Fd = x(Qd), Rt = ({ icon: A, label: e }) => /* @__PURE__ */ u(T, { alignItems: "center", flexDirection: "row", sx: { gap: 6 }, children: [
7632
+ }, Fd = x(Qd), _t = ({ icon: A, label: e }) => /* @__PURE__ */ u(T, { alignItems: "center", flexDirection: "row", sx: { gap: 6 }, children: [
7633
7633
  /* @__PURE__ */ t(A, {}),
7634
7634
  /* @__PURE__ */ t(y, { variant: "XSmall", children: e })
7635
7635
  ] }), Ud = () => /* @__PURE__ */ u(
@@ -7642,10 +7642,10 @@ const ir = "connect_widget", or = "connections_widget", md = {
7642
7642
  justifyContent: "center",
7643
7643
  mt: 12,
7644
7644
  children: [
7645
- /* @__PURE__ */ t(Rt, { icon: fa, label: "Expense" }),
7646
- /* @__PURE__ */ t(Rt, { icon: ma, label: "Income" }),
7647
- /* @__PURE__ */ t(Rt, { icon: va, label: "Missed" }),
7648
- /* @__PURE__ */ t(Rt, { icon: pa, label: "Paid" })
7645
+ /* @__PURE__ */ t(_t, { icon: fa, label: "Expense" }),
7646
+ /* @__PURE__ */ t(_t, { icon: ma, label: "Income" }),
7647
+ /* @__PURE__ */ t(_t, { icon: va, label: "Missed" }),
7648
+ /* @__PURE__ */ t(_t, { icon: pa, label: "Paid" })
7649
7649
  ]
7650
7650
  }
7651
7651
  ), lr = 58, jd = () => {
@@ -7820,7 +7820,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
7820
7820
  selectedDayActivities: i,
7821
7821
  setSelectedDay: o,
7822
7822
  upcomingActivities: s
7823
- } = kA(), [c, l] = g.useState(0), { onEvent: d } = Y(), h = e.filter(wn), C = a.filter(wn), f = n.filter(wn), m = h.filter(_t).reduce(lt, 0), v = C.filter(_t).reduce(lt, 0), E = f.filter(_t).reduce(lt, 0), L = h.filter(_t).length, b = h.filter(En).reduce(lt, 0), w = C.filter(En).reduce(lt, 0), I = h.filter(En).length, D = ($, B) => {
7823
+ } = kA(), [c, l] = g.useState(0), { onEvent: d } = Y(), h = e.filter(wn), C = a.filter(wn), f = n.filter(wn), m = h.filter(Rt).reduce(lt, 0), v = C.filter(Rt).reduce(lt, 0), E = f.filter(Rt).reduce(lt, 0), L = h.filter(Rt).length, b = h.filter(En).reduce(lt, 0), w = C.filter(En).reduce(lt, 0), I = h.filter(En).length, D = ($, B) => {
7824
7824
  l(B);
7825
7825
  }, O = ($) => {
7826
7826
  d(J.RECURRING_ACTIVITY_CLICK_UPCOMING, {
@@ -7917,7 +7917,7 @@ const ir = "connect_widget", or = "connections_widget", md = {
7917
7917
  }, [a, r]);
7918
7918
  const [l, d] = g.useState(!1);
7919
7919
  return /* @__PURE__ */ u(
7920
- _e,
7920
+ Re,
7921
7921
  {
7922
7922
  accountOptions: n,
7923
7923
  actions: [
@@ -8421,7 +8421,7 @@ const uu = ({ activity: A }) => /* @__PURE__ */ u(aA, { children: [
8421
8421
  ] }),
8422
8422
  /* @__PURE__ */ t(y, { sx: { flexGrow: 1, fontSize: 13 }, children: A.name }),
8423
8423
  /* @__PURE__ */ t(
8424
- RA,
8424
+ _A,
8425
8425
  {
8426
8426
  amount: A.amount,
8427
8427
  bold: !0,
@@ -8670,7 +8670,7 @@ const uu = ({ activity: A }) => /* @__PURE__ */ u(aA, { children: [
8670
8670
  ),
8671
8671
  /* @__PURE__ */ t(y, { variant: "Small", children: `${m} ${f ? `*${f}` : ""}` })
8672
8672
  ] }),
8673
- /* @__PURE__ */ t(RA, { amount: l.balance, bold: !0, variant: "Small" })
8673
+ /* @__PURE__ */ t(_A, { amount: l.balance, bold: !0, variant: "Small" })
8674
8674
  ]
8675
8675
  }
8676
8676
  ),
@@ -8685,7 +8685,7 @@ const uu = ({ activity: A }) => /* @__PURE__ */ u(aA, { children: [
8685
8685
  py: 12,
8686
8686
  children: [
8687
8687
  /* @__PURE__ */ t(y, { variant: "Small", children: n.projected_income }),
8688
- /* @__PURE__ */ t(RA, { amount: l.income, bold: !0, symbol: "+", variant: "Small" })
8688
+ /* @__PURE__ */ t(_A, { amount: l.income, bold: !0, symbol: "+", variant: "Small" })
8689
8689
  ]
8690
8690
  }
8691
8691
  ),
@@ -8700,7 +8700,7 @@ const uu = ({ activity: A }) => /* @__PURE__ */ u(aA, { children: [
8700
8700
  py: 12,
8701
8701
  children: [
8702
8702
  /* @__PURE__ */ t(y, { variant: "Small", children: n.projected_expenses }),
8703
- /* @__PURE__ */ t(RA, { amount: l.expenses, bold: !0, symbol: "-", variant: "Small" })
8703
+ /* @__PURE__ */ t(_A, { amount: l.expenses, bold: !0, symbol: "-", variant: "Small" })
8704
8704
  ]
8705
8705
  }
8706
8706
  ),
@@ -8784,12 +8784,12 @@ const uu = ({ activity: A }) => /* @__PURE__ */ u(aA, { children: [
8784
8784
  padding: e ? "14px 16px" : 0,
8785
8785
  sx: { borderBottomLeftRadius: 4, borderBottomRightRadius: 4 },
8786
8786
  children: [
8787
- !e && /* @__PURE__ */ t(RA, { amount: A, component: "h2", variant: "H2" }),
8787
+ !e && /* @__PURE__ */ t(_A, { amount: A, component: "h2", variant: "H2" }),
8788
8788
  /* @__PURE__ */ u(T, { alignItems: "center", component: "span", direction: "row", gap: 8, mt: 2, children: [
8789
8789
  /* @__PURE__ */ t(y, { bold: n, variant: "Small", children: a }),
8790
8790
  i
8791
8791
  ] }),
8792
- e && /* @__PURE__ */ t(RA, { amount: A, component: "h2", symbol: r, variant: "Small" })
8792
+ e && /* @__PURE__ */ t(_A, { amount: A, component: "h2", symbol: r, variant: "Small" })
8793
8793
  ]
8794
8794
  }
8795
8795
  ), be = {
@@ -8999,7 +8999,7 @@ const uu = ({ activity: A }) => /* @__PURE__ */ u(aA, { children: [
8999
8999
  transform: rotate(360deg);
9000
9000
  }
9001
9001
  `, Ou = () => {
9002
- const { addCashflowEvent: A, addCashflowSequence: e, cashflowSequences: n } = kA(), { cashflow: a, common: r } = W(), { completeOnboarding: i } = ia(), { isDirty: o } = ot(), { isMobile: s } = jA(), { setDisplayedDate: c } = mA(), { filter: l, setFilter: d, transactions: h } = uA(), C = fA(), [f, m] = de(!0), [v, E] = g.useState(R.EveryMonth), [L, b] = de(!1), [w, I] = g.useState(null), [D, O] = de(1), [k, $] = de([]), [B, _] = de(""), z = g.useMemo(
9002
+ const { addCashflowEvent: A, addCashflowSequence: e, cashflowSequences: n } = kA(), { cashflow: a, common: r } = W(), { completeOnboarding: i } = ia(), { isDirty: o } = ot(), { isMobile: s } = jA(), { setDisplayedDate: c } = mA(), { filter: l, setFilter: d, transactions: h } = uA(), C = fA(), [f, m] = de(!0), [v, E] = g.useState(_.EveryMonth), [L, b] = de(!1), [w, I] = g.useState(null), [D, O] = de(1), [k, $] = de([]), [B, R] = de(""), z = g.useMemo(
9003
9003
  () => h.find((sA) => sA.guid === B),
9004
9004
  [B]
9005
9005
  ), K = !!n.length, lA = async () => {
@@ -9087,7 +9087,7 @@ const uu = ({ activity: A }) => /* @__PURE__ */ u(aA, { children: [
9087
9087
  ] })
9088
9088
  ] }),
9089
9089
  MA && /* @__PURE__ */ t(
9090
- _i,
9090
+ Ri,
9091
9091
  {
9092
9092
  bgcolor: "background.paper",
9093
9093
  onSearch: (sA) => d({
@@ -9095,14 +9095,14 @@ const uu = ({ activity: A }) => /* @__PURE__ */ u(aA, { children: [
9095
9095
  custom: (G) => sA ? Hi(G, sA) : wt(G)
9096
9096
  }),
9097
9097
  onSelected: (sA) => {
9098
- _(sA), m(!1);
9098
+ R(sA), m(!1);
9099
9099
  }
9100
9100
  }
9101
9101
  ),
9102
9102
  !K && o && /* @__PURE__ */ t(vA, { color: "error", mt: 16, children: a.confirm_error }),
9103
9103
  z && /* @__PURE__ */ u(aA, { children: [
9104
9104
  /* @__PURE__ */ t(
9105
- Ri,
9105
+ _i,
9106
9106
  {
9107
9107
  bgcolor: "background.paper",
9108
9108
  frequency: v,
@@ -9120,7 +9120,7 @@ const uu = ({ activity: A }) => /* @__PURE__ */ u(aA, { children: [
9120
9120
  "aria-disabled": !z || !w,
9121
9121
  onClick: () => {
9122
9122
  const sA = [...k];
9123
- sA.push({ ...z, nextDate: w, frequency: v }), $(sA), _("");
9123
+ sA.push({ ...z, nextDate: w, frequency: v }), $(sA), R("");
9124
9124
  },
9125
9125
  variant: "contained",
9126
9126
  children: r.confirm_button
@@ -9130,7 +9130,7 @@ const uu = ({ activity: A }) => /* @__PURE__ */ u(aA, { children: [
9130
9130
  iA,
9131
9131
  {
9132
9132
  onClick: () => {
9133
- _(""), m(!0), lA();
9133
+ R(""), m(!0), lA();
9134
9134
  },
9135
9135
  variant: "outlined",
9136
9136
  children: r.cancel_button
@@ -9181,7 +9181,7 @@ const uu = ({ activity: A }) => /* @__PURE__ */ u(aA, { children: [
9181
9181
  );
9182
9182
  C(L), l({ accounts: L.map((b) => b.guid) });
9183
9183
  }, [c, n]), d?.has_completed_cash_flow_onboarding ? /* @__PURE__ */ u(
9184
- _e,
9184
+ Re,
9185
9185
  {
9186
9186
  accountOptions: c,
9187
9187
  actions: [
@@ -9223,7 +9223,7 @@ const uu = ({ activity: A }) => /* @__PURE__ */ u(aA, { children: [
9223
9223
  ]
9224
9224
  }
9225
9225
  ) : /* @__PURE__ */ t(
9226
- _e,
9226
+ Re,
9227
9227
  {
9228
9228
  onBackClick: A,
9229
9229
  sx: { height: "100%", overflow: "auto" },
@@ -9294,7 +9294,7 @@ class Mu {
9294
9294
  await this.globalStore.userStore.updateUserProfile(e);
9295
9295
  };
9296
9296
  }
9297
- class _u {
9297
+ class Ru {
9298
9298
  widgetApi = new Fa("/", "");
9299
9299
  globalStore;
9300
9300
  constructor(e) {
@@ -9307,7 +9307,7 @@ class _u {
9307
9307
  widget_url: { widget_type: e, color_scheme: n, ...a }
9308
9308
  });
9309
9309
  }
9310
- class Ru {
9310
+ class _u {
9311
9311
  globalStore;
9312
9312
  isInitialized = !1;
9313
9313
  selectedAccounts = [];
@@ -9351,7 +9351,7 @@ const Hu = /^[ a-zA-ZÀ-ÿ0-9]+$/, zu = 50, yr = 65, qu = ({
9351
9351
  height: A = "calc(100dvh - 120px)",
9352
9352
  onSelect: e
9353
9353
  }) => {
9354
- const { isLoading: n, merchants: a, loadMerchants: r } = Rc(), { common: i } = W(), [o, s] = g.useState("");
9354
+ const { isLoading: n, merchants: a, loadMerchants: r } = _c(), { common: i } = W(), [o, s] = g.useState("");
9355
9355
  g.useEffect(() => {
9356
9356
  r().finally();
9357
9357
  }, [r]);
@@ -9438,7 +9438,7 @@ class Bu {
9438
9438
  V(() => this.merchant = n);
9439
9439
  };
9440
9440
  }
9441
- const _7 = (A) => {
9441
+ const R7 = (A) => {
9442
9442
  switch (A) {
9443
9443
  case 1:
9444
9444
  case 2:
@@ -9497,7 +9497,7 @@ class ku {
9497
9497
  };
9498
9498
  }
9499
9499
  const Gu = (A, e) => {
9500
- const n = Ra(e[A].delivered_at), a = Ra(e[A - 1]?.delivered_at);
9500
+ const n = _a(e[A].delivered_at), a = _a(e[A - 1]?.delivered_at);
9501
9501
  return !es(n, a);
9502
9502
  }, Xu = ({ notification: A }) => {
9503
9503
  const { accounts: e } = DA(), { budgets: n } = nn(), a = e.find((s) => s.guid === A.entity_guid), r = n.find((s) => s.guid === A.entity_guid), i = A.entity_guid.includes("GOL"), o = {
@@ -9509,7 +9509,7 @@ const Gu = (A, e) => {
9509
9509
  marginRight: 12
9510
9510
  }
9511
9511
  };
9512
- return a || i ? /* @__PURE__ */ t("div", { style: o.badge, children: /* @__PURE__ */ t(we, { alt: "", institutionGuid: a?.institution_guid ?? "", size: 33 }) }) : /* @__PURE__ */ t("div", { style: o.badge, children: /* @__PURE__ */ t(Re, { categoryGuid: r?.category_guid, size: 36 }) });
9512
+ return a || i ? /* @__PURE__ */ t("div", { style: o.badge, children: /* @__PURE__ */ t(we, { alt: "", institutionGuid: a?.institution_guid ?? "", size: 33 }) }) : /* @__PURE__ */ t("div", { style: o.badge, children: /* @__PURE__ */ t(_e, { categoryGuid: r?.category_guid, size: 36 }) });
9513
9513
  }, Qu = ({ notification: A, onClick: e }) => {
9514
9514
  const { updateNotification: n } = yi(), a = at(), r = {
9515
9515
  card: {
@@ -9546,7 +9546,7 @@ const Gu = (A, e) => {
9546
9546
  ] });
9547
9547
  }, Fu = ({ date: A }) => /* @__PURE__ */ t(S, { sx: { display: "flex", justifyContent: "center", mt: 12, py: 8 }, children: /* @__PURE__ */ t(y, { bold: !0, variant: "Small", children: sn(A) }) }), Uu = {
9548
9548
  no_notifications: "No notifications to display"
9549
- }, R7 = ({ onClick: A }) => {
9549
+ }, _7 = ({ onClick: A }) => {
9550
9550
  const { isLoading: e, recentNotifications: n, markAllAsViewed: a } = yi(), r = (i) => {
9551
9551
  A?.(i);
9552
9552
  };
@@ -9933,10 +9933,7 @@ class Yu {
9933
9933
  this.api = new Tr(e, n), await this.loadNetWorth();
9934
9934
  };
9935
9935
  loadNetWorth = async () => {
9936
- const e = (n, a) => [
9937
- ...n,
9938
- ...a.data.monthly_account_balances
9939
- ];
9936
+ const e = (n, a) => [...n, ...a];
9940
9937
  try {
9941
9938
  const n = await this.api.getAccounts(), a = n.map((o) => this.api.getMonthlyAccountBalances(o)).reduce(e, []).sort((o, s) => o.year_month - s.year_month), r = await this.api.getNetWorthMonthlyList(), i = await this.api.getNetWorthChartData();
9942
9939
  V(() => {
@@ -9967,7 +9964,7 @@ class H7 {
9967
9964
  globalUiStore;
9968
9965
  isInitialized = !1;
9969
9966
  constructor() {
9970
- this.accountStore = new z1(this), this.beatStore = new Fc(), this.budgetsStore = new Uc(this), this.cashflowStore = new Mu(this), this.categoryStore = new Wl(this), this.connectStore = new _u(this), this.copyStore = new Qc(), this.netWorthStore = new Yu(this), this.merchantStore = new Bu(), this.notificationStore = new ku(), this.recurringActivityStore = new eu(this), this.transactionStore = new cl(this), this.userStore = new Wu(), this.globalUiStore = new Ru(this), bA(this);
9967
+ this.accountStore = new z1(this), this.beatStore = new Fc(), this.budgetsStore = new Uc(this), this.cashflowStore = new Mu(this), this.categoryStore = new Wl(this), this.connectStore = new Ru(this), this.copyStore = new Qc(), this.netWorthStore = new Yu(this), this.merchantStore = new Bu(), this.notificationStore = new ku(), this.recurringActivityStore = new eu(this), this.transactionStore = new cl(this), this.userStore = new Wu(), this.globalUiStore = new _u(this), bA(this);
9971
9968
  }
9972
9969
  initialize = async (e, n) => {
9973
9970
  await this.copyStore.initialize(e, n), Promise.all([
@@ -10147,7 +10144,7 @@ const Ln = ({
10147
10144
  last_updated_at: "Last updated _1{date} at _2{time}."
10148
10145
  }, Gi = (A) => {
10149
10146
  switch (A.connection_status) {
10150
- case _A.CHALLENGED:
10147
+ case RA.CHALLENGED:
10151
10148
  return {
10152
10149
  cta: "Tap to resolve",
10153
10150
  main: H(
@@ -10157,19 +10154,19 @@ const Ln = ({
10157
10154
  statusName: qA[A.connection_status],
10158
10155
  title: "Additional Information Required"
10159
10156
  };
10160
- case _A.CLOSED:
10157
+ case RA.CLOSED:
10161
10158
  return {
10162
10159
  main: "This connection has been closed. You may track this account manually. If reopened, you may connect the institution again.",
10163
10160
  statusName: qA[A.connection_status],
10164
10161
  title: "Closed account"
10165
10162
  };
10166
- case _A.DEGRADED:
10163
+ case RA.DEGRADED:
10167
10164
  return {
10168
10165
  main: "We are upgrading this connection. Please try again later.",
10169
10166
  statusName: qA[A.connection_status],
10170
10167
  title: "Connection maintenance"
10171
10168
  };
10172
- case _A.DELAYED:
10169
+ case RA.DELAYED:
10173
10170
  return {
10174
10171
  main: H(
10175
10172
  "Importing your data from _1{institution_name} may take a while. We've notified support and are looking into the issue",
@@ -10178,7 +10175,7 @@ const Ln = ({
10178
10175
  statusName: qA[A.connection_status],
10179
10176
  title: "Connection delayed"
10180
10177
  };
10181
- case _A.DENIED:
10178
+ case RA.DENIED:
10182
10179
  return {
10183
10180
  cta: "Update Credentials",
10184
10181
  main: H(
@@ -10188,13 +10185,13 @@ const Ln = ({
10188
10185
  statusName: qA[A.connection_status],
10189
10186
  title: "New Credentials Needed"
10190
10187
  };
10191
- case _A.DISABLED:
10188
+ case RA.DISABLED:
10192
10189
  return {
10193
10190
  main: "Importing data from this institution has been disabled. Please contact us if you believe it has been disabled in error.",
10194
10191
  statusName: qA[A.connection_status],
10195
10192
  title: "Connection disabled"
10196
10193
  };
10197
- case _A.DISCONNECTED:
10194
+ case RA.DISCONNECTED:
10198
10195
  return {
10199
10196
  main: H(
10200
10197
  "It looks like your data from _1{institution_name} cannot be imported. We are working to resolve the issue.",
@@ -10203,20 +10200,20 @@ const Ln = ({
10203
10200
  statusName: qA[A.connection_status],
10204
10201
  title: "Connection maintenance"
10205
10202
  };
10206
- case _A.DISCONTINUED:
10203
+ case RA.DISCONTINUED:
10207
10204
  return {
10208
10205
  main: "Connections to this institution are no longer supported. You may create a manual account and use manual transactions to track data for this account.",
10209
10206
  statusName: qA[A.connection_status],
10210
10207
  title: "Connection discontinued"
10211
10208
  };
10212
- case _A.EXPIRED:
10209
+ case RA.EXPIRED:
10213
10210
  return {
10214
10211
  cta: "Tap to resolve",
10215
10212
  main: "The answer or answers were not provided in time. Please try again.",
10216
10213
  statusName: qA[A.connection_status],
10217
10214
  title: "Credentials expired"
10218
10215
  };
10219
- case _A.FAILED:
10216
+ case RA.FAILED:
10220
10217
  return {
10221
10218
  main: H(
10222
10219
  "There was a problem validating your credentials with _1{institution_name}. Please try again later.",
@@ -10225,7 +10222,7 @@ const Ln = ({
10225
10222
  statusName: qA[A.connection_status],
10226
10223
  title: "Connection failed"
10227
10224
  };
10228
- case _A.IMPAIRED:
10225
+ case RA.IMPAIRED:
10229
10226
  return {
10230
10227
  cta: "Update Credentials",
10231
10228
  main: H(
@@ -10235,7 +10232,7 @@ const Ln = ({
10235
10232
  statusName: qA[A.connection_status],
10236
10233
  title: "New credentials needed"
10237
10234
  };
10238
- case _A.IMPEDED:
10235
+ case RA.IMPEDED:
10239
10236
  return {
10240
10237
  main: H(
10241
10238
  "Your login info was correct, but your attention is needed at _1{institution_name} before we can proceed. You need to log in to _2{institution_name}'s website and resolve the issue.",
@@ -10245,7 +10242,7 @@ const Ln = ({
10245
10242
  statusName: qA[A.connection_status],
10246
10243
  title: "Your attention is needed"
10247
10244
  };
10248
- case _A.IMPORTED:
10245
+ case RA.IMPORTED:
10249
10246
  return {
10250
10247
  cta: "Update Credentials",
10251
10248
  main: H(
@@ -10255,7 +10252,7 @@ const Ln = ({
10255
10252
  statusName: qA[A.connection_status],
10256
10253
  title: "New credentials needed"
10257
10254
  };
10258
- case _A.LOCKED:
10255
+ case RA.LOCKED:
10259
10256
  return {
10260
10257
  cta: "Visit Website",
10261
10258
  main: H(
@@ -10265,7 +10262,7 @@ const Ln = ({
10265
10262
  statusName: qA[A.connection_status],
10266
10263
  title: "Account is locked"
10267
10264
  };
10268
- case _A.PREVENTED:
10265
+ case RA.PREVENTED:
10269
10266
  return {
10270
10267
  cta: "Update Credentials",
10271
10268
  main: "The last 3 attempts to connect have failed. Please re-enter your credentials to continue importing data.",
@@ -10273,7 +10270,7 @@ const Ln = ({
10273
10270
  title: "New credentials needed",
10274
10271
  type: Oe.Error
10275
10272
  };
10276
- case _A.REJECTED:
10273
+ case RA.REJECTED:
10277
10274
  return {
10278
10275
  cta: "Tap to resolve",
10279
10276
  main: "The answer or answers provided were incorrect. Please try again.",
@@ -10900,7 +10897,7 @@ const Ln = ({
10900
10897
  a(!0), h(J.ACCOUNTS_CLICK_CONNECT);
10901
10898
  };
10902
10899
  return /* @__PURE__ */ t(
10903
- _e,
10900
+ Re,
10904
10901
  {
10905
10902
  accountOptions: o,
10906
10903
  actions: [
@@ -10935,7 +10932,7 @@ const Ln = ({
10935
10932
  ] })
10936
10933
  }
10937
10934
  );
10938
- }, z7 = x(N1), M1 = (A, e) => A.filter((n) => e.includes(n.guid)).slice(0, 3), _1 = ({ onPrimaryCtaClick: A, sx: e }) => {
10935
+ }, z7 = x(N1), M1 = (A, e) => A.filter((n) => e.includes(n.guid)).slice(0, 3), R1 = ({ onPrimaryCtaClick: A, sx: e }) => {
10939
10936
  const { accounts: n } = DA(), { selectedAccountGuids: a } = mA(), [r, i] = g.useState(n), o = {
10940
10937
  title: "Accounts",
10941
10938
  primary_cta: "View Accounts",
@@ -10970,7 +10967,7 @@ const Ln = ({
10970
10967
  ] })
10971
10968
  }
10972
10969
  );
10973
- }, q7 = x(_1), R1 = () => /* @__PURE__ */ u(
10970
+ }, q7 = x(R1), _1 = () => /* @__PURE__ */ u(
10974
10971
  "svg",
10975
10972
  {
10976
10973
  fill: "none",
@@ -11424,7 +11421,7 @@ const Ln = ({
11424
11421
  sx: e,
11425
11422
  title: n.title,
11426
11423
  children: /* @__PURE__ */ u(T, { alignItems: "center", direction: "column", m: 24, children: [
11427
- /* @__PURE__ */ t(R1, {}),
11424
+ /* @__PURE__ */ t(_1, {}),
11428
11425
  /* @__PURE__ */ t(
11429
11426
  y,
11430
11427
  {
@@ -12416,13 +12413,13 @@ const Yi = ({
12416
12413
  const O = () => {
12417
12414
  C(
12418
12415
  n.length > 1 ? A.insights_unhidden : A.insight_unhidden
12419
- ), a(n.map((_) => _.name));
12420
- }, k = (_, z) => {
12421
- E(!0), b(_), I(z);
12416
+ ), a(n.map((R) => R.name));
12417
+ }, k = (R, z) => {
12418
+ E(!0), b(R), I(z);
12422
12419
  }, $ = () => {
12423
12420
  E(!1), I(""), b("");
12424
- }, B = (_, z) => {
12425
- a(_), z && E(!1), C(_.length > 1 ? A.insights_unhidden : A.insight_unhidden);
12421
+ }, B = (R, z) => {
12422
+ a(R), z && E(!1), C(R.length > 1 ? A.insights_unhidden : A.insight_unhidden);
12426
12423
  };
12427
12424
  return /* @__PURE__ */ u(aA, { children: [
12428
12425
  /* @__PURE__ */ t(
@@ -12450,16 +12447,16 @@ const Yi = ({
12450
12447
  children: [
12451
12448
  /* @__PURE__ */ t(q, {}),
12452
12449
  n.length > 0 ? /* @__PURE__ */ t(oA, { sx: { height: "100%" }, children: o.map(
12453
- (_) => s[_.key] !== "" && /* @__PURE__ */ t(
12450
+ (R) => s[R.key] !== "" && /* @__PURE__ */ t(
12454
12451
  oA,
12455
12452
  {
12456
- subheader: /* @__PURE__ */ t(wa, { children: s[_.key] }),
12457
- children: _.subcategories.map(
12453
+ subheader: /* @__PURE__ */ t(wa, { children: s[R.key] }),
12454
+ children: R.subcategories.map(
12458
12455
  (z, K) => z.beats.length > 0 && /* @__PURE__ */ u(S, { children: [
12459
12456
  /* @__PURE__ */ t(U, { disablePadding: !0, children: /* @__PURE__ */ u(
12460
12457
  dA,
12461
12458
  {
12462
- onClick: () => k(_.key, z.key),
12459
+ onClick: () => k(R.key, z.key),
12463
12460
  children: [
12464
12461
  /* @__PURE__ */ t(
12465
12462
  cA,
@@ -12479,11 +12476,11 @@ const Yi = ({
12479
12476
  ]
12480
12477
  }
12481
12478
  ) }),
12482
- /* @__PURE__ */ t(q, { sx: { ml: K < _.subcategories.length - 1 ? 24 : 0 } })
12479
+ /* @__PURE__ */ t(q, { sx: { ml: K < R.subcategories.length - 1 ? 24 : 0 } })
12483
12480
  ] }, z.key)
12484
12481
  )
12485
12482
  },
12486
- _.key
12483
+ R.key
12487
12484
  )
12488
12485
  ) }) : /* @__PURE__ */ t(uh, { content: A }),
12489
12486
  /* @__PURE__ */ u(S, { boxSizing: "border-box", pb: 32, pt: 24, px: 24, children: [
@@ -12517,7 +12514,7 @@ const Yi = ({
12517
12514
  hh,
12518
12515
  {
12519
12516
  content: A,
12520
- disabledBeatTemplates: w !== "" ? o.filter((_) => _.key === L)[0].subcategories.filter((_) => _.key === w)[0].beats : [],
12517
+ disabledBeatTemplates: w !== "" ? o.filter((R) => R.key === L)[0].subcategories.filter((R) => R.key === w)[0].beats : [],
12521
12518
  handleEnableBeatTemplates: B,
12522
12519
  isOpen: v,
12523
12520
  isUpdateLoading: i,
@@ -12893,7 +12890,7 @@ const Ta = {
12893
12890
  path: "/micro-widget",
12894
12891
  value: ee
12895
12892
  }
12896
- }, _r = {
12893
+ }, Rr = {
12897
12894
  // carousel control interaction events - clicks and swipes
12898
12895
  [te.ON_CAROUSEL_BACK_CLICK]: {
12899
12896
  action: pe.CONTROL_BACKWARD,
@@ -12935,7 +12932,7 @@ const Ta = {
12935
12932
  ...yh(),
12936
12933
  ...Eh(),
12937
12934
  ...wh()
12938
- }, Th = async (A, e) => !e || !_r[A] ? null : await e.sendAnalyticEvent(_r[A]), Lh = async (A, e) => !e || !Mr[A] ? null : await e.sendAnalyticsPageview(Mr[A]);
12935
+ }, Th = async (A, e) => !e || !Rr[A] ? null : await e.sendAnalyticEvent(Rr[A]), Lh = async (A, e) => !e || !Mr[A] ? null : await e.sendAnalyticsPageview(Mr[A]);
12939
12936
  class Sh {
12940
12937
  onAnalyticEvent = Th;
12941
12938
  onAnalyticPageView = Lh;
@@ -12972,7 +12969,7 @@ const Dt = g.createContext(null), Ih = ({
12972
12969
  const [e, n] = de(p.UNCATEGORIZED);
12973
12970
  return he(() => {
12974
12971
  A.primary_category_guid ? n(A.primary_category_guid) : A.category_guids?.length && n(A.category_guids[0]);
12975
- }, []), /* @__PURE__ */ t(Re, { categoryGuid: e, size: 16, style: { minWidth: 16 } });
12972
+ }, []), /* @__PURE__ */ t(_e, { categoryGuid: e, size: 16, style: { minWidth: 16 } });
12976
12973
  }, Oh = ({ beat: A }) => {
12977
12974
  const e = SA(), n = xh(e);
12978
12975
  return /* @__PURE__ */ t(
@@ -13020,11 +13017,11 @@ const Dt = g.createContext(null), Ih = ({
13020
13017
  return A.names?.map((a, r) => {
13021
13018
  n[a] = e[r];
13022
13019
  }), n;
13023
- }) : [] : [], _h = (A, e) => {
13020
+ }) : [] : [], Rh = (A, e) => {
13024
13021
  const n = Mh(A), a = n.length / 2, r = n.slice(0, a), i = n.slice(a);
13025
13022
  return !r.length || !i.length ? e.Color.Primary300 : r[0].amount > i[0].amount ? e.Color.Error300 : r[0].amount < i[0].amount ? e.Color.Success300 : e.Color.Primary300;
13026
- }, Rh = ({ beat: A }) => {
13027
- const e = SA(), n = _h(A.data_series, e);
13023
+ }, _h = ({ beat: A }) => {
13024
+ const e = SA(), n = Rh(A.data_series, e);
13028
13025
  return /* @__PURE__ */ t(P, { name: "bar_chart", sx: { color: n } });
13029
13026
  }, Ao = () => /* @__PURE__ */ u("svg", { fill: "none", height: "36", viewBox: "0 0 40 36", width: "40", xmlns: "http://www.w3.org/2000/svg", children: [
13030
13027
  /* @__PURE__ */ t(
@@ -13807,9 +13804,9 @@ const Dt = g.createContext(null), Ih = ({
13807
13804
  }
13808
13805
  )
13809
13806
  ] })
13810
- ] }), Rr = ({ beat: A, clientColorScheme: e, color: n, type: a }) => {
13807
+ ] }), _r = ({ beat: A, clientColorScheme: e, color: n, type: a }) => {
13811
13808
  const r = fA(), i = e?.primary_300 ? e.primary_300 : r.palette.primary.main;
13812
- return a === 0 ? /* @__PURE__ */ t(P, { fill: !0, name: "error", sx: { color: n || i } }) : a === 1 && A ? /* @__PURE__ */ t(Dh, { beat: A }) : a === 2 && A ? /* @__PURE__ */ t(Ph, { beat: A }) : a === 3 && A ? /* @__PURE__ */ t(Rh, { beat: A }) : /* @__PURE__ */ t(
13809
+ return a === 0 ? /* @__PURE__ */ t(P, { fill: !0, name: "error", sx: { color: n || i } }) : a === 1 && A ? /* @__PURE__ */ t(Dh, { beat: A }) : a === 2 && A ? /* @__PURE__ */ t(Ph, { beat: A }) : a === 3 && A ? /* @__PURE__ */ t(_h, { beat: A }) : /* @__PURE__ */ t(
13813
13810
  P,
13814
13811
  {
13815
13812
  fill: !0,
@@ -13894,8 +13891,8 @@ const Dt = g.createContext(null), Ih = ({
13894
13891
  description: n?.html_micro_description && n?.html_micro_description.length > 0 ? n.html_micro_description : n.html_description,
13895
13892
  fontColors: { buttonColor: a?.primary_300 },
13896
13893
  heightOverrides: i,
13897
- icon: Rr && /* @__PURE__ */ t(
13898
- Rr,
13894
+ icon: _r && /* @__PURE__ */ t(
13895
+ _r,
13899
13896
  {
13900
13897
  beat: n,
13901
13898
  clientColorScheme: a,
@@ -13931,7 +13928,7 @@ const Dt = g.createContext(null), Ih = ({
13931
13928
  disabled: l,
13932
13929
  onClick: r,
13933
13930
  children: /* @__PURE__ */ t(
13934
- _s,
13931
+ Rs,
13935
13932
  {
13936
13933
  style: {
13937
13934
  color: l ? h : C
@@ -14019,7 +14016,7 @@ const Dt = g.createContext(null), Ih = ({
14019
14016
  L - v > Hh ? I(te.ON_CAROUSEL_FORWARD_SWIPE) : I(te.ON_CAROUSEL_BACK_SWIPE);
14020
14017
  }, B = (rA) => {
14021
14018
  E(rA.targetTouches[0].clientX);
14022
- }, _ = (rA) => {
14019
+ }, R = (rA) => {
14023
14020
  E(null), b(rA.targetTouches[0].clientX);
14024
14021
  }, z = {
14025
14022
  clientColorScheme: e,
@@ -14037,7 +14034,7 @@ const Dt = g.createContext(null), Ih = ({
14037
14034
  onScroll: k,
14038
14035
  onTouchEnd: $,
14039
14036
  onTouchMove: B,
14040
- onTouchStart: _,
14037
+ onTouchStart: R,
14041
14038
  ref: C,
14042
14039
  children: [
14043
14040
  A.map((rA, MA) => /* @__PURE__ */ t(
@@ -14164,7 +14161,7 @@ const Dt = g.createContext(null), Ih = ({
14164
14161
  title: f
14165
14162
  }
14166
14163
  ),
14167
- !!e && /* @__PURE__ */ t(Rs, { sx: { paddingLeft: 0 }, children: /* @__PURE__ */ t("div", { className: "mx-insights-micro-card-link-text", children: e }) })
14164
+ !!e && /* @__PURE__ */ t(_s, { sx: { paddingLeft: 0 }, children: /* @__PURE__ */ t("div", { className: "mx-insights-micro-card-link-text", children: e }) })
14168
14165
  ] })
14169
14166
  ]
14170
14167
  }
@@ -14347,7 +14344,7 @@ const Dt = g.createContext(null), Ih = ({
14347
14344
  }, []), g.useEffect(() => {
14348
14345
  k(!A && ke.isInitialized);
14349
14346
  }, [A, ke.isInitialized]);
14350
- const _ = {
14347
+ const R = {
14351
14348
  showCTAColocatedWithText: a,
14352
14349
  heightOverrides: i,
14353
14350
  onCardClick: o,
@@ -14359,7 +14356,7 @@ const Dt = g.createContext(null), Ih = ({
14359
14356
  carouselSize: I,
14360
14357
  posthog: l,
14361
14358
  variant: b,
14362
- ..._
14359
+ ...R
14363
14360
  };
14364
14361
  return (
14365
14362
  // The Theme provider must wrap the component so that the styles don't break when imported into other applications.
@@ -14392,7 +14389,7 @@ const Dt = g.createContext(null), Ih = ({
14392
14389
  clientColorScheme: n,
14393
14390
  showCarouselControls: h,
14394
14391
  variant: d ? b : void 0,
14395
- ..._
14392
+ ...R
14396
14393
  }
14397
14394
  ),
14398
14395
  O && !e.length && L && /* @__PURE__ */ t(Vh, { clientColorScheme: n, ...z }),
@@ -14565,7 +14562,7 @@ const Dt = g.createContext(null), Ih = ({
14565
14562
  {
14566
14563
  primary: /* @__PURE__ */ u(T, { direction: "row", justifyContent: "space-between", sx: { fontWeight: 400 }, children: [
14567
14564
  /* @__PURE__ */ t(y, { variant: "Body", children: A }),
14568
- /* @__PURE__ */ t(RA, { amount: e, variant: "Body" })
14565
+ /* @__PURE__ */ t(_A, { amount: e, variant: "Body" })
14569
14566
  ] })
14570
14567
  }
14571
14568
  ) }), r3 = x(a3), i3 = {
@@ -14587,7 +14584,7 @@ const Dt = g.createContext(null), Ih = ({
14587
14584
  const { accounts: e } = DA(), { isInitialized: n } = an(), { netWorthData: a, netWorthChartData: r, netWorthMonthlyList: i } = Hc(), [o, s] = g.useState(!1);
14588
14585
  return g.useEffect(() => {
14589
14586
  n && (console.log(a), s(!0));
14590
- }, [n, i]), !n || !o ? /* @__PURE__ */ t(Ce, {}) : /* @__PURE__ */ u(_e, { accountOptions: e, onBackClick: A, sx: { px: 16 }, children: [
14587
+ }, [n, i]), !n || !o ? /* @__PURE__ */ t(Ce, {}) : /* @__PURE__ */ u(Re, { accountOptions: e, onBackClick: A, sx: { px: 16 }, children: [
14591
14588
  /* @__PURE__ */ t(S, { children: /* @__PURE__ */ t(n3, { chartData: r }) }),
14592
14589
  /* @__PURE__ */ t(S, { children: /* @__PURE__ */ t(s3, { netWorthList: i }) })
14593
14590
  ] });
@@ -14704,7 +14701,7 @@ const Dt = g.createContext(null), Ih = ({
14704
14701
  sx: s === "mini" ? { gap: 0, mb: 0 } : { gap: { xs: 4, xl: 8 }, mb: { xs: 4, xl: 8 } },
14705
14702
  children: [
14706
14703
  /* @__PURE__ */ t(
14707
- Re,
14704
+ _e,
14708
14705
  {
14709
14706
  categoryGuid: e ? p.INCOME : h.guid,
14710
14707
  color: h.color,
@@ -15008,10 +15005,10 @@ const Dt = g.createContext(null), Ih = ({
15008
15005
  };
15009
15006
  if (h === 0)
15010
15007
  if (k === "other") {
15011
- const B = L.categoryData.find((_) => _.guid === "other");
15008
+ const B = L.categoryData.find((R) => R.guid === "other");
15012
15009
  s({
15013
15010
  ...$,
15014
- custom: (_) => !!B?.categoryTotals?.find((z) => z.guid === _.top_level_category_guid)
15011
+ custom: (R) => !!B?.categoryTotals?.find((z) => z.guid === R.top_level_category_guid)
15015
15012
  });
15016
15013
  } else
15017
15014
  s({
@@ -15094,7 +15091,7 @@ const Dt = g.createContext(null), Ih = ({
15094
15091
  r(d[0], d[1]);
15095
15092
  };
15096
15093
  return !a || !s ? /* @__PURE__ */ t(Ce, {}) : /* @__PURE__ */ t(
15097
- _e,
15094
+ Re,
15098
15095
  {
15099
15096
  accountOptions: n,
15100
15097
  calendarActions: { onRangeChanged: l },
@@ -15107,11 +15104,11 @@ const Dt = g.createContext(null), Ih = ({
15107
15104
  );
15108
15105
  }, V7 = x(E3), w3 = (A) => {
15109
15106
  const e = A.row[A.field];
15110
- return /* @__PURE__ */ t(T, { alignItems: "flex-end", tabIndex: A.tabIndex, children: /* @__PURE__ */ t(RA, { amount: e, variant: "Small" }) });
15107
+ return /* @__PURE__ */ t(T, { alignItems: "flex-end", tabIndex: A.tabIndex, children: /* @__PURE__ */ t(_A, { amount: e, variant: "Small" }) });
15111
15108
  }, T3 = ({ categoryGuid: A }) => {
15112
15109
  const e = et[A];
15113
15110
  return /* @__PURE__ */ u(T, { alignItems: "center", direction: "row", justifyContent: "center", children: [
15114
- /* @__PURE__ */ t(S, { "aria-label": `${e} category icon`, role: "img", children: /* @__PURE__ */ t(Re, { categoryGuid: A }) }),
15111
+ /* @__PURE__ */ t(S, { "aria-label": `${e} category icon`, role: "img", children: /* @__PURE__ */ t(_e, { categoryGuid: A }) }),
15115
15112
  /* @__PURE__ */ t(y, { sx: { ml: 12, pb: 6 }, variant: "Small", children: e })
15116
15113
  ] });
15117
15114
  }, L3 = (A) => /* @__PURE__ */ t(T, { alignItems: "center", direction: "row", height: "100%", width: "100%", children: /* @__PURE__ */ t(T3, { categoryGuid: A.row.category }) }), Kr = (A) => /* @__PURE__ */ t(y, { fontWeight: 600, variant: "Small", children: A.colDef.headerName }), S3 = ({
@@ -15186,7 +15183,7 @@ const Dt = g.createContext(null), Ih = ({
15186
15183
  const n = ze(), { isDesktop: a, isTablet: r, isMobile: i } = jA(), { accounts: o } = DA(), { categories: s, loadMonthlyCategoryTotals: c, monthlyCategoryTotals: l } = xA(), { isInitialized: d, selectedAccounts: h, setSelectedAccounts: C } = mA(), f = n.palette.mode === "dark", [m, v] = g.useState(!1), [E, L] = g.useState("Chart"), [b, w] = g.useState({
15187
15184
  start: LA(ye(/* @__PURE__ */ new Date(), 5)),
15188
15185
  end: OA(/* @__PURE__ */ new Date())
15189
- }), I = (_, z) => {
15186
+ }), I = (R, z) => {
15190
15187
  L(z ?? E);
15191
15188
  };
15192
15189
  g.useEffect(() => {
@@ -15201,34 +15198,34 @@ const Dt = g.createContext(null), Ih = ({
15201
15198
  });
15202
15199
  }, [s, d, h, w]);
15203
15200
  const D = g.useMemo(
15204
- () => f1(l).sort((_, z) => _.month - z.month),
15201
+ () => f1(l).sort((R, z) => R.month - z.month),
15205
15202
  [l]
15206
15203
  ), O = g.useMemo(
15207
15204
  () => br(D.filter(Qi)),
15208
15205
  [s, l]
15209
15206
  ), k = g.useMemo(
15210
- () => D.map((_) => Ze[_.category_guid] ?? Ze.default),
15207
+ () => D.map((R) => Ze[R.category_guid] ?? Ze.default),
15211
15208
  [s, l]
15212
15209
  ), $ = g.useMemo(
15213
- () => [...new Set(D.map((_) => _.category_guid))],
15210
+ () => [...new Set(D.map((R) => R.category_guid))],
15214
15211
  [s, l]
15215
15212
  ), B = g.useMemo(
15216
15213
  () => br(D.filter(ya)),
15217
15214
  [s, l]
15218
15215
  );
15219
15216
  return !d || !m ? /* @__PURE__ */ t(Ce, {}) : /* @__PURE__ */ t(
15220
- _e,
15217
+ Re,
15221
15218
  {
15222
15219
  accountOptions: o,
15223
15220
  calendarActions: {
15224
- onRangeChanged(_) {
15221
+ onRangeChanged(R) {
15225
15222
  c(
15226
15223
  h,
15227
- _?.[0],
15228
- _?.[1]
15224
+ R?.[0],
15225
+ R?.[1]
15229
15226
  ), w({
15230
- start: _?.[0],
15231
- end: _?.[1]
15227
+ start: R?.[0],
15228
+ end: R?.[1]
15232
15229
  });
15233
15230
  }
15234
15231
  },
@@ -15288,7 +15285,7 @@ const Dt = g.createContext(null), Ih = ({
15288
15285
  onChange: I,
15289
15286
  orientation: "horizontal",
15290
15287
  value: E,
15291
- children: ["Chart", "Table"].map((_) => /* @__PURE__ */ t(
15288
+ children: ["Chart", "Table"].map((R) => /* @__PURE__ */ t(
15292
15289
  Xn,
15293
15290
  {
15294
15291
  sx: {
@@ -15313,10 +15310,10 @@ const Dt = g.createContext(null), Ih = ({
15313
15310
  color: n.palette.grey[500]
15314
15311
  }
15315
15312
  },
15316
- value: _,
15317
- children: _ === "Chart" ? /* @__PURE__ */ t(P, { name: "table_chart_view" }) : /* @__PURE__ */ t(P, { name: "format_list_bulleted" })
15313
+ value: R,
15314
+ children: R === "Chart" ? /* @__PURE__ */ t(P, { name: "table_chart_view" }) : /* @__PURE__ */ t(P, { name: "format_list_bulleted" })
15318
15315
  },
15319
- _
15316
+ R
15320
15317
  ))
15321
15318
  }
15322
15319
  )
@@ -15434,7 +15431,7 @@ export {
15434
15431
  Nh as ChartFilledIcon,
15435
15432
  B7 as ConnectMiniWidget,
15436
15433
  Oe as ConnectionStatus,
15437
- _A as ConnectionStatusEnums,
15434
+ RA as ConnectionStatusEnums,
15438
15435
  Xt as CurrencyCodes,
15439
15436
  oa as CurrencyInput,
15440
15437
  F as DATE_FORMATS_INTL,
@@ -15478,14 +15475,14 @@ export {
15478
15475
  Gh as MicroBeatCarousel,
15479
15476
  gn as MicroInsightCard,
15480
15477
  qe as MiniWidgetContainer,
15481
- Rh as MonthlySpendComparisonIcon,
15478
+ _h as MonthlySpendComparisonIcon,
15482
15479
  y7 as MultiSegmentDonut,
15483
15480
  n3 as NetWorthChart,
15484
15481
  W7 as NetWorthWidget,
15485
15482
  Vh as NoRelevantInsightsCard,
15486
15483
  ci as NonConnectedStatuses,
15487
15484
  Ga as NotificationApi,
15488
- R7 as NotificationList,
15485
+ _7 as NotificationList,
15489
15486
  ku as NotificationStore,
15490
15487
  Bs as ORDINAL_DATE_FORMAT,
15491
15488
  C7 as ORDINAL_MONTH_DAY_YEAR_FORMAT,
@@ -15495,7 +15492,7 @@ export {
15495
15492
  ii as PropertyType,
15496
15493
  Xs as PropertyTypeName,
15497
15494
  f7 as RECURRENCE_COPY,
15498
- R as RecurrenceTypes,
15495
+ _ as RecurrenceTypes,
15499
15496
  x7 as RecurringActivityMiniWidget,
15500
15497
  eu as RecurringActivityStore,
15501
15498
  O7 as RecurringActivityWidget,
@@ -15535,7 +15532,7 @@ export {
15535
15532
  al as UserVerification,
15536
15533
  Zh as ViewMoreMicroCard,
15537
15534
  Fa as WidgetApi,
15538
- _e as WidgetContainer,
15535
+ Re as WidgetContainer,
15539
15536
  mi as WidgetContainerContext,
15540
15537
  vi as WidgetContainerProvider,
15541
15538
  A3 as ZeroStateCard,
@@ -15551,7 +15548,7 @@ export {
15551
15548
  cu as getAccountDetailFields,
15552
15549
  Ws as getCurrencyCodes,
15553
15550
  Me as getLocale,
15554
- _7 as getNotificationDetailRoute,
15551
+ R7 as getNotificationDetailRoute,
15555
15552
  Hn as isValidNumber,
15556
15553
  DA as useAccountStore,
15557
15554
  nn as useBudgetsStore,
@@ -15565,7 +15562,7 @@ export {
15565
15562
  W as useGlobalCopyStore,
15566
15563
  an as useGlobalStore,
15567
15564
  mA as useGlobalUiStore,
15568
- Rc as useMerchantStore,
15565
+ _c as useMerchantStore,
15569
15566
  Hc as useNetWorthStore,
15570
15567
  yi as useNotificationStore,
15571
15568
  T7 as usePageView,