@mx-cartographer/experiences 6.26.18-alpha.mega3 → 6.26.18-alpha.mega4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (676) hide show
  1. package/dist/{common/constants/Account/index.es.js → Account-DM32_5k9.mjs} +4 -4
  2. package/dist/AccountDetailsContent-B_qRSB8l.mjs +677 -0
  3. package/dist/AccountDetailsHeader-CAm6ADMq.mjs +119 -0
  4. package/dist/{accounts/utils/AccountFields/index.es.js → AccountFields-Bb4pds0q.mjs} +17 -18
  5. package/dist/AccountListItem-G7iAesaO.mjs +90 -0
  6. package/dist/{accounts/stores/AccountStore/index.es.js → AccountStore-RSanus_m.mjs} +50 -24
  7. package/dist/Accounts-BfAQRG8R.mjs +9 -0
  8. package/dist/BeatApi-DLu87ijw.mjs +21 -0
  9. package/dist/{microinsights/utils/beatUtils/index.es.js → BeatStore-By4aGoRM.mjs} +36 -6
  10. package/dist/BudgetUtil-DcqclhiQ.mjs +101 -0
  11. package/dist/CashflowStore-D9Dpuz7X.mjs +91 -0
  12. package/dist/{common/constants/Category/index.es.js → Category-5S6uwuXz.mjs} +7 -7
  13. package/dist/CategorySelectorDrawer-DgrePTRg.mjs +397 -0
  14. package/dist/{categories/stores/CategoryStore/index.es.js → CategoryStore-B5EW6I1d.mjs} +77 -29
  15. package/dist/{categories/util/CategoryUtil/index.es.js → CategoryUtil-DRyruNgi.mjs} +22 -22
  16. package/dist/ConnectDrawer-DPnfeIfn.mjs +508 -0
  17. package/dist/ConnectionsDrawer-BCzpuNsK.mjs +52 -0
  18. package/dist/{common/components/CurrencyInput/index.es.js → CurrencyInput-DzsPiUsU.mjs} +24 -25
  19. package/dist/CurrencyText-YUhH2caW.mjs +20 -0
  20. package/dist/DateUtil-BcuH7ErC.mjs +48 -0
  21. package/dist/DebtsStore-C6VcBnpG.mjs +60 -0
  22. package/dist/Dialog-CWW597AF.mjs +123 -0
  23. package/dist/{common/components/charts/Donut/index.es.js → Donut-1UMNcG67.mjs} +11 -11
  24. package/dist/Drawer-kEE73B87.mjs +113 -0
  25. package/dist/{common/components/EmptyState/index.es.js → EmptyState-Dcb-o2tl.mjs} +1 -1
  26. package/dist/Fetch-CkFKy79O.mjs +116 -0
  27. package/dist/FinstrongStore-mkALvztw.mjs +101 -0
  28. package/dist/GoalStore-DyCr4wNc.mjs +263 -0
  29. package/dist/{trends/components/TrendsTable/HeaderCell/index.es.js → HeaderCell-DjuifqHJ.mjs} +1 -1
  30. package/dist/{help/constants/Help/index.es.js → Help-DhcC-C05.mjs} +27 -6
  31. package/dist/Help-toqAK5eD.mjs +3173 -0
  32. package/dist/{common/components/IconBacking/index.es.js → IconBacking-B9oC6uL2.mjs} +10 -10
  33. package/dist/InvestmentUtil-jOyOgzIB.mjs +134 -0
  34. package/dist/LineChart-CQWu5KoO.mjs +403 -0
  35. package/dist/{common/components/ListItemAction/index.es.js → ListItemAction-Df3OPMOW.mjs} +18 -18
  36. package/dist/Loader-Dp1P2gNw.mjs +14 -0
  37. package/dist/{common/utils/Localization/index.es.js → Localization-2MODESHW.mjs} +8 -8
  38. package/dist/ManageIncome-BVt_XQbo.mjs +535 -0
  39. package/dist/MerchantStore-DVH-QOf0.mjs +37 -0
  40. package/dist/{common/components/MicroWidgetContainer/index.es.js → MicroWidgetContainer-DaLW43tE.mjs} +11 -11
  41. package/dist/{common/components/MiniWidgetContainer/index.es.js → MiniWidgetContainer-BcNPxZt2.mjs} +11 -11
  42. package/dist/NetWorthStore-DE8CQBMM.mjs +150 -0
  43. package/dist/Notification-AMGWM1Al.mjs +78 -0
  44. package/dist/NotificationSettings-CPZN0l8X.mjs +667 -0
  45. package/dist/NotificationStore-DHtSGySy.mjs +67 -0
  46. package/dist/NumberFormatting-CtWHhyBX.mjs +40 -0
  47. package/dist/OriginalBalanceAction-s9sUxofR.mjs +115 -0
  48. package/dist/RecurringSettings-DIEsympT.mjs +57 -0
  49. package/dist/{recurringtransactions/stores/RecurringTransactionsStore/index.es.js → RecurringTransactionsStore-BKLD3OWo.mjs} +65 -49
  50. package/dist/RepeatingTransaction-BPWfaB3f.mjs +282 -0
  51. package/dist/{common/components/SearchBox/index.es.js → SearchBox-B2_zLv8-.mjs} +12 -12
  52. package/dist/SettingsStore-CE7jDVFL.mjs +265 -0
  53. package/dist/{common/components/donuts/SingleSegmentDonut/index.es.js → SingleSegmentDonut-BgbLgwHi.mjs} +27 -26
  54. package/dist/SpendingData-ByFCw95X.mjs +53 -0
  55. package/dist/{common/components/charts/StatusBar/index.es.js → StatusBar-BK_uYHAB.mjs} +1 -1
  56. package/dist/{common/components/TabContentContainer/index.es.js → TabContentContainer-j01JYR_7.mjs} +1 -1
  57. package/dist/Transaction-C-5-Iuab.mjs +312 -0
  58. package/dist/{transactions/api/TransactionApi/index.es.js → TransactionApi-DbbcjI2L.mjs} +4 -5
  59. package/dist/TransactionDetails-B5qfs9Zh.mjs +1283 -0
  60. package/dist/TransactionStore-BWi6_2Ny.mjs +669 -0
  61. package/dist/TrendsStore-Borh98aN.mjs +448 -0
  62. package/dist/ViewMoreMicroCard-CAPFNz-J.mjs +1959 -0
  63. package/dist/WidgetContainer-CmGNZW0M.mjs +548 -0
  64. package/dist/accounts/index.es.js +750 -24
  65. package/dist/analytics/index.es.js +169 -2
  66. package/dist/budgets/index.es.js +1068 -4
  67. package/dist/cashflow/index.es.js +1096 -10
  68. package/dist/categories/index.es.js +7 -10
  69. package/dist/common/index.es.js +1449 -232
  70. package/dist/dashboard/index.es.js +179 -4
  71. package/dist/debts/index.es.js +1458 -8
  72. package/dist/{transactions/utils/exportTransactionsToCSV/index.es.js → exportTransactionsToCSV-j4g8bdVZ.mjs} +9 -9
  73. package/dist/finstrong/index.es.js +1453 -12
  74. package/dist/goals/index.es.js +1207 -8
  75. package/dist/help/index.es.js +12 -4
  76. package/dist/hooks-ClhFlg78.mjs +71 -0
  77. package/dist/insights/index.es.js +1 -1
  78. package/dist/investments/index.es.js +1636 -2
  79. package/dist/merchants/index.es.js +77 -4
  80. package/dist/microinsights/index.es.js +13 -25
  81. package/dist/networth/index.es.js +540 -12
  82. package/dist/notifications/index.es.js +190 -10
  83. package/dist/recurringtransactions/index.es.js +877 -18
  84. package/dist/settings/index.es.js +877 -27
  85. package/dist/spending/index.es.js +568 -4
  86. package/dist/transactions/index.es.js +585 -25
  87. package/dist/trends/index.es.js +1101 -10
  88. package/dist/useCombineEvents-DaDBSR_1.mjs +92 -0
  89. package/dist/{common/hooks/useDimensions/index.es.js → useDimensions-27p2evRx.mjs} +1 -1
  90. package/dist/{common/hooks/useScreenSize/index.es.js → useScreenSize-B6JyS_Lj.mjs} +1 -1
  91. package/package.json +1 -1
  92. package/dist/accounts/AccountsMiniWidget/index.es.js +0 -45
  93. package/dist/accounts/AccountsWidget/index.es.js +0 -67
  94. package/dist/accounts/ConnectMiniWidget/index.es.js +0 -41
  95. package/dist/accounts/api/AccountApi/index.es.js +0 -20
  96. package/dist/accounts/components/AccountListItem/index.es.js +0 -84
  97. package/dist/accounts/components/AccountsList/index.es.js +0 -164
  98. package/dist/accounts/components/ConnectImage/index.es.js +0 -444
  99. package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js +0 -27
  100. package/dist/accounts/components/ConnectStatus/index.es.js +0 -37
  101. package/dist/accounts/components/ConnectionStatusIcons/index.es.js +0 -12
  102. package/dist/accounts/components/ConnectionsDrawer/index.es.js +0 -54
  103. package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js +0 -134
  104. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js +0 -21
  105. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js +0 -103
  106. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js +0 -120
  107. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js +0 -58
  108. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js +0 -43
  109. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js +0 -50
  110. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js +0 -47
  111. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js +0 -20
  112. package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js +0 -74
  113. package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js +0 -37
  114. package/dist/accounts/constants/Accounts/index.es.js +0 -5
  115. package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js +0 -11
  116. package/dist/accounts/hooks/useUiStore/index.es.js +0 -11
  117. package/dist/accounts/stores/UiStore/index.es.js +0 -15
  118. package/dist/accounts/utils/Accounts/index.es.js +0 -9
  119. package/dist/accounts/utils/getConnectionMessages/index.es.js +0 -162
  120. package/dist/analytics/SurveyMiniWidget/index.es.js +0 -101
  121. package/dist/analytics/components/OpenTextField/index.es.js +0 -23
  122. package/dist/analytics/components/RatingScale/index.es.js +0 -68
  123. package/dist/analytics/stores/AnalyticsStore/index.es.js +0 -54
  124. package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js +0 -71
  125. package/dist/budgets/BubbleBudgetsWidget/index.es.js +0 -139
  126. package/dist/budgets/api/BudgetsApi/index.es.js +0 -26
  127. package/dist/budgets/components/AddBudgets/index.es.js +0 -30
  128. package/dist/budgets/components/BubbleBudgets/index.es.js +0 -61
  129. package/dist/budgets/components/BubbleChart/Bubble/index.es.js +0 -97
  130. package/dist/budgets/components/BubbleChart/Mercury/index.es.js +0 -27
  131. package/dist/budgets/components/BubbleChart/index.es.js +0 -22
  132. package/dist/budgets/components/BudgetDetailsDrawer/index.es.js +0 -95
  133. package/dist/budgets/components/BudgetList/BudgetRow/index.es.js +0 -42
  134. package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js +0 -36
  135. package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js +0 -16
  136. package/dist/budgets/components/BudgetList/index.es.js +0 -30
  137. package/dist/budgets/components/BudgetsEmptyState/index.es.js +0 -85
  138. package/dist/budgets/components/Overview/index.es.js +0 -105
  139. package/dist/budgets/components/addbudget/Header/index.es.js +0 -28
  140. package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js +0 -30
  141. package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js +0 -39
  142. package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js +0 -46
  143. package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js +0 -73
  144. package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js +0 -75
  145. package/dist/budgets/components/budgetdetails/Header/index.es.js +0 -31
  146. package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js +0 -102
  147. package/dist/budgets/components/shared/BudgetAmount/index.es.js +0 -37
  148. package/dist/budgets/store/BudgetsStore/index.es.js +0 -139
  149. package/dist/budgets/utils/BubblesSVG/index.es.js +0 -51
  150. package/dist/budgets/utils/BudgetUtil/index.es.js +0 -70
  151. package/dist/cashflow/CashflowMiniWidget/index.es.js +0 -27
  152. package/dist/cashflow/CashflowOnboarding/index.es.js +0 -220
  153. package/dist/cashflow/CashflowWidget/index.es.js +0 -91
  154. package/dist/cashflow/api/CashflowApi/index.es.js +0 -25
  155. package/dist/cashflow/components/CashflowAmountHeading/index.es.js +0 -32
  156. package/dist/cashflow/components/CashflowContent/index.es.js +0 -61
  157. package/dist/cashflow/components/CashflowHeading/index.es.js +0 -113
  158. package/dist/cashflow/components/CashflowWidgetContent/index.es.js +0 -146
  159. package/dist/cashflow/components/DetailsExpenseHeader/index.es.js +0 -38
  160. package/dist/cashflow/components/DetailsExpenseRow/index.es.js +0 -31
  161. package/dist/cashflow/components/DetailsFooter/index.es.js +0 -22
  162. package/dist/cashflow/components/DetailsTab/index.es.js +0 -92
  163. package/dist/cashflow/components/RemainingCash/index.es.js +0 -27
  164. package/dist/cashflow/components/SummaryTab/index.es.js +0 -258
  165. package/dist/cashflow/components/onboarding/StepOne/index.es.js +0 -82
  166. package/dist/cashflow/components/onboarding/StepTwo/index.es.js +0 -17
  167. package/dist/cashflow/constants/CashflowImages/index.es.js +0 -7
  168. package/dist/cashflow/context/hooks/index.es.js +0 -11
  169. package/dist/cashflow/stores/CashflowStore/index.es.js +0 -19
  170. package/dist/cashflow/stores/UiStore/index.es.js +0 -38
  171. package/dist/cashflow/util/Filters/index.es.js +0 -7
  172. package/dist/categories/components/CategoryList/index.es.js +0 -38
  173. package/dist/categories/components/CategoryRow/index.es.js +0 -58
  174. package/dist/categories/components/CategorySelector/index.es.js +0 -48
  175. package/dist/categories/components/CategorySelectorDrawer/index.es.js +0 -30
  176. package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js +0 -40
  177. package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js +0 -66
  178. package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js +0 -30
  179. package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js +0 -29
  180. package/dist/categories/components/SubcategoryList/index.es.js +0 -39
  181. package/dist/categories/components/SubcategoryRow/index.es.js +0 -103
  182. package/dist/categories/constants/OnClickEvents/index.es.js +0 -16
  183. package/dist/categories/context/hooks/index.es.js +0 -11
  184. package/dist/categories/stores/UiStore/index.es.js +0 -27
  185. package/dist/common/api/AnalyticsApi/index.es.js +0 -34
  186. package/dist/common/api/AppDataApi/index.es.js +0 -12
  187. package/dist/common/api/BannerApi/index.es.js +0 -21
  188. package/dist/common/api/BeatApi/index.es.js +0 -22
  189. package/dist/common/api/CategoryApi/index.es.js +0 -30
  190. package/dist/common/api/GlobalCopyApi/index.es.js +0 -12
  191. package/dist/common/api/LocalizedCopyApi/index.es.js +0 -13
  192. package/dist/common/api/NotificationApi/index.es.js +0 -21
  193. package/dist/common/api/ScheduledPaymentsApi/index.es.js +0 -20
  194. package/dist/common/api/UserApi/index.es.js +0 -14
  195. package/dist/common/api/WidgetApi/index.es.js +0 -12
  196. package/dist/common/components/Banner/index.es.js +0 -49
  197. package/dist/common/components/ConnectCard/index.es.js +0 -56
  198. package/dist/common/components/ConnectDrawer/index.es.js +0 -58
  199. package/dist/common/components/CurrencyText/index.es.js +0 -20
  200. package/dist/common/components/DataRow/index.es.js +0 -29
  201. package/dist/common/components/ErrorBoundary/index.es.js +0 -24
  202. package/dist/common/components/InformationTooltip/index.es.js +0 -41
  203. package/dist/common/components/ListItemRow/index.es.js +0 -67
  204. package/dist/common/components/ListItemWrapper/index.es.js +0 -32
  205. package/dist/common/components/Loader/index.es.js +0 -14
  206. package/dist/common/components/ResponsiveButton/index.es.js +0 -45
  207. package/dist/common/components/Select/index.es.js +0 -25
  208. package/dist/common/components/SelectionBox/index.es.js +0 -48
  209. package/dist/common/components/SubheaderRow/index.es.js +0 -10
  210. package/dist/common/components/WidgetContainer/index.es.js +0 -195
  211. package/dist/common/components/accountfilter/AccountFilter/index.es.js +0 -93
  212. package/dist/common/components/accountfilter/AccountFilterOptions/index.es.js +0 -222
  213. package/dist/common/components/addaccounts/AddAccounts/index.es.js +0 -43
  214. package/dist/common/components/barchart/Bar/index.es.js +0 -79
  215. package/dist/common/components/barchart/BarChart/index.es.js +0 -70
  216. package/dist/common/components/barchart/BarColumn/index.es.js +0 -86
  217. package/dist/common/components/barchart/Legend/index.es.js +0 -45
  218. package/dist/common/components/barchart/Util/index.es.js +0 -11
  219. package/dist/common/components/calendar/Calendar/index.es.js +0 -131
  220. package/dist/common/components/calendar/Day/index.es.js +0 -96
  221. package/dist/common/components/calendar/Header/index.es.js +0 -32
  222. package/dist/common/components/charts/LineChart/CustomLegend/index.es.js +0 -64
  223. package/dist/common/components/charts/LineChart/CustomLine/index.es.js +0 -22
  224. package/dist/common/components/charts/LineChart/CustomMark/index.es.js +0 -65
  225. package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js +0 -73
  226. package/dist/common/components/charts/LineChart/index.es.js +0 -208
  227. package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js +0 -24
  228. package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js +0 -69
  229. package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js +0 -70
  230. package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js +0 -22
  231. package/dist/common/components/charts/StackedLineChart/index.es.js +0 -222
  232. package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js +0 -254
  233. package/dist/common/components/dialog/Dialog/index.es.js +0 -61
  234. package/dist/common/components/donuts/MultiSegmentDonut/index.es.js +0 -60
  235. package/dist/common/components/drawer/Drawer/index.es.js +0 -71
  236. package/dist/common/components/drawer/Header/index.es.js +0 -51
  237. package/dist/common/components/listitems/CollapseExpandListItem/index.es.js +0 -36
  238. package/dist/common/components/listitems/ToggleButtonListItem/index.es.js +0 -42
  239. package/dist/common/components/listitems/ToggleListItem/index.es.js +0 -38
  240. package/dist/common/constants/Analytics/index.es.js +0 -117
  241. package/dist/common/constants/ApiEndpoints/index.es.js +0 -50
  242. package/dist/common/constants/Connect/index.es.js +0 -5
  243. package/dist/common/constants/DateFormats/index.es.js +0 -65
  244. package/dist/common/constants/DefaultConfig/index.es.js +0 -105
  245. package/dist/common/constants/Donut/index.es.js +0 -5
  246. package/dist/common/constants/FinStrong/index.es.js +0 -31
  247. package/dist/common/constants/Numbers/index.es.js +0 -6
  248. package/dist/common/constants/ScheduledPayment/index.es.js +0 -15
  249. package/dist/common/constants/Sizes/index.es.js +0 -6
  250. package/dist/common/constants/SpendingPlan/index.es.js +0 -11
  251. package/dist/common/constants/Table/index.es.js +0 -16
  252. package/dist/common/context/GlobalDataProvider/index.es.js +0 -23
  253. package/dist/common/context/WidgetContainerProvider/index.es.js +0 -17
  254. package/dist/common/context/hooks/index.es.js +0 -44
  255. package/dist/common/hooks/useCombineEvents/index.es.js +0 -20
  256. package/dist/common/hooks/useInsightsEnabled/index.es.js +0 -11
  257. package/dist/common/hooks/usePrevious/index.es.js +0 -11
  258. package/dist/common/stores/AppDataStore/index.es.js +0 -57
  259. package/dist/common/stores/ConnectStore/index.es.js +0 -15
  260. package/dist/common/stores/GlobalCopyStore/index.es.js +0 -35
  261. package/dist/common/stores/GlobalStore/index.es.js +0 -90
  262. package/dist/common/stores/GlobalUiStore/index.es.js +0 -54
  263. package/dist/common/stores/UserStore/index.es.js +0 -50
  264. package/dist/common/types/Account/index.es.js +0 -118
  265. package/dist/common/types/Beat/index.es.js +0 -4
  266. package/dist/common/types/Expense/index.es.js +0 -5
  267. package/dist/common/types/Goal/index.es.js +0 -6
  268. package/dist/common/types/Notification/index.es.js +0 -7
  269. package/dist/common/types/RepeatingTransaction/index.es.js +0 -7
  270. package/dist/common/types/ScreenSize/index.es.js +0 -4
  271. package/dist/common/types/Transaction/index.es.js +0 -5
  272. package/dist/common/utils/AccountFilter/index.es.js +0 -13
  273. package/dist/common/utils/Analytics/index.es.js +0 -36
  274. package/dist/common/utils/Categories/index.es.js +0 -37
  275. package/dist/common/utils/DateUtil/index.es.js +0 -48
  276. package/dist/common/utils/Fetch/index.es.js +0 -69
  277. package/dist/common/utils/NumberFormatting/index.es.js +0 -38
  278. package/dist/common/utils/PostMessage/index.es.js +0 -19
  279. package/dist/common/utils/Theme/index.es.js +0 -136
  280. package/dist/dashboard/Dashboard/index.es.js +0 -47
  281. package/dist/dashboard/Greeting/index.es.js +0 -71
  282. package/dist/dashboard/constants/Dashboard/index.es.js +0 -4
  283. package/dist/debts/DebtsWidget/index.es.js +0 -111
  284. package/dist/debts/components/DebtDrawer/index.es.js +0 -28
  285. package/dist/debts/components/DebtsChart/index.es.js +0 -134
  286. package/dist/debts/components/DebtsTable/AccountCell/index.es.js +0 -24
  287. package/dist/debts/components/DebtsTable/PriorityCell/index.es.js +0 -32
  288. package/dist/debts/components/DebtsTable/index.es.js +0 -174
  289. package/dist/debts/components/PaydownDrawer/index.es.js +0 -21
  290. package/dist/debts/components/SnowballCard/index.es.js +0 -65
  291. package/dist/debts/components/SnowballDrawer/index.es.js +0 -374
  292. package/dist/debts/components/actions/DebtsPriorityAction/index.es.js +0 -28
  293. package/dist/debts/components/actions/ExtraPaymentAction/index.es.js +0 -46
  294. package/dist/debts/components/actions/InterestRateAction/index.es.js +0 -42
  295. package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js +0 -44
  296. package/dist/debts/components/actions/OriginalBalanceAction/index.es.js +0 -44
  297. package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js +0 -41
  298. package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js +0 -51
  299. package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js +0 -38
  300. package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js +0 -80
  301. package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js +0 -61
  302. package/dist/debts/components/debtspaydown/PaydownButton/index.es.js +0 -25
  303. package/dist/debts/components/debtspaydown/PaydownContent/index.es.js +0 -31
  304. package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js +0 -34
  305. package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js +0 -74
  306. package/dist/debts/constants/index/index.es.js +0 -4
  307. package/dist/debts/hooks/useDebtsUiStore/index.es.js +0 -11
  308. package/dist/debts/store/DebtsStore/index.es.js +0 -20
  309. package/dist/debts/store/DebtsUiStore/index.es.js +0 -23
  310. package/dist/debts/utils/DebtStore/index.es.js +0 -26
  311. package/dist/debts/utils/DebtsChart/index.es.js +0 -13
  312. package/dist/debts/utils/DebtsTable/index.es.js +0 -15
  313. package/dist/debts/utils/DebtsWidget/index.es.js +0 -42
  314. package/dist/debts/utils/SnowballCard/index.es.js +0 -37
  315. package/dist/debts/utils/shared/index.es.js +0 -21
  316. package/dist/finstrong/FinancialStrengthCard/index.es.js +0 -113
  317. package/dist/finstrong/FinstrongWidget/index.es.js +0 -141
  318. package/dist/finstrong/api/FinstrongApi/index.es.js +0 -15
  319. package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js +0 -76
  320. package/dist/finstrong/components/CreditScoreGraph/index.es.js +0 -75
  321. package/dist/finstrong/components/FinancialStrengthGraph/index.es.js +0 -30
  322. package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js +0 -63
  323. package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js +0 -49
  324. package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js +0 -63
  325. package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js +0 -58
  326. package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js +0 -58
  327. package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js +0 -68
  328. package/dist/finstrong/components/ManageCreditScore/index.es.js +0 -49
  329. package/dist/finstrong/components/ManageDOB/index.es.js +0 -62
  330. package/dist/finstrong/components/MissingData/index.es.js +0 -38
  331. package/dist/finstrong/components/ProfileDrawer/index.es.js +0 -107
  332. package/dist/finstrong/components/ProfileList/index.es.js +0 -56
  333. package/dist/finstrong/components/ProfileProgressBar/index.es.js +0 -26
  334. package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js +0 -69
  335. package/dist/finstrong/components/shared/CustomPieArc/index.es.js +0 -63
  336. package/dist/finstrong/components/shared/DialScoreCard/index.es.js +0 -190
  337. package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js +0 -106
  338. package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js +0 -20
  339. package/dist/finstrong/stores/FinstrongStore/index.es.js +0 -81
  340. package/dist/finstrong/util/finstrongUtils/index.es.js +0 -108
  341. package/dist/finstrong/utils/Finstrong/index.es.js +0 -13
  342. package/dist/goals/GoalsMicroWidget/index.es.js +0 -51
  343. package/dist/goals/GoalsWidget/index.es.js +0 -138
  344. package/dist/goals/api/GoalApi/index.es.js +0 -26
  345. package/dist/goals/components/AccountSelectionDrawer/index.es.js +0 -73
  346. package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js +0 -51
  347. package/dist/goals/components/AddGoal/index.es.js +0 -56
  348. package/dist/goals/components/GoalDetails/index.es.js +0 -69
  349. package/dist/goals/components/GoalDetailsDrawer/index.es.js +0 -82
  350. package/dist/goals/components/GoalList/index.es.js +0 -87
  351. package/dist/goals/components/GoalStatusCard/index.es.js +0 -59
  352. package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js +0 -35
  353. package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js +0 -47
  354. package/dist/goals/components/ManageGoals/ReorderGoals/index.es.js +0 -118
  355. package/dist/goals/components/ManageGoals/index.es.js +0 -74
  356. package/dist/goals/components/TabTitle/index.es.js +0 -12
  357. package/dist/goals/components/actions/AccountAction/index.es.js +0 -46
  358. package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js +0 -66
  359. package/dist/goals/components/actions/AmountToSaveAction/index.es.js +0 -46
  360. package/dist/goals/components/actions/BirthdayAction/index.es.js +0 -42
  361. package/dist/goals/components/actions/ChangeAccountAction/index.es.js +0 -91
  362. package/dist/goals/components/actions/ContributionAction/index.es.js +0 -46
  363. package/dist/goals/components/actions/GoalNameAction/index.es.js +0 -42
  364. package/dist/goals/components/actions/InterestRateAction/index.es.js +0 -44
  365. package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js +0 -45
  366. package/dist/goals/components/actions/OriginalBalanceAction/index.es.js +0 -45
  367. package/dist/goals/components/actions/RetirementAgeAction/index.es.js +0 -43
  368. package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js +0 -42
  369. package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js +0 -31
  370. package/dist/goals/stores/GoalStore/index.es.js +0 -184
  371. package/dist/goals/util/GoalsUtil/index.es.js +0 -98
  372. package/dist/help/HelpWidget/index.es.js +0 -13
  373. package/dist/help/api/HelpApi/index.es.js +0 -12
  374. package/dist/help/components/Help/index.es.js +0 -45
  375. package/dist/help/components/HelpContent/index.es.js +0 -32
  376. package/dist/help/components/HelpList/index.es.js +0 -118
  377. package/dist/help/components/content/BottomImageContent/index.es.js +0 -50
  378. package/dist/help/components/content/ContentItem/index.es.js +0 -21
  379. package/dist/help/components/content/Header/index.es.js +0 -62
  380. package/dist/help/components/content/LeftImageContent/index.es.js +0 -50
  381. package/dist/help/components/content/NoImageContent/index.es.js +0 -14
  382. package/dist/help/components/content/RightImageContent/index.es.js +0 -48
  383. package/dist/help/components/content/TopImageContent/index.es.js +0 -50
  384. package/dist/help/components/content/section/Accounts/index.es.js +0 -249
  385. package/dist/help/components/content/section/Budgets/index.es.js +0 -102
  386. package/dist/help/components/content/section/CashFlow/index.es.js +0 -71
  387. package/dist/help/components/content/section/Debts/index.es.js +0 -252
  388. package/dist/help/components/content/section/General/index.es.js +0 -163
  389. package/dist/help/components/content/section/Goals/index.es.js +0 -195
  390. package/dist/help/components/content/section/Insights/index.es.js +0 -136
  391. package/dist/help/components/content/section/Investments/index.es.js +0 -71
  392. package/dist/help/components/content/section/Mobile/index.es.js +0 -85
  393. package/dist/help/components/content/section/NetWorth/index.es.js +0 -142
  394. package/dist/help/components/content/section/Notifications/index.es.js +0 -120
  395. package/dist/help/components/content/section/RecurringTransactions/index.es.js +0 -104
  396. package/dist/help/components/content/section/Spending/index.es.js +0 -112
  397. package/dist/help/components/content/section/Transactions/index.es.js +0 -389
  398. package/dist/help/components/content/section/Trends/index.es.js +0 -83
  399. package/dist/help/components/content/section/index/index.es.js +0 -35
  400. package/dist/help/components/requestsupport/ContactSupport/index.es.js +0 -99
  401. package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js +0 -82
  402. package/dist/help/components/requestsupport/MissingInstitution/index.es.js +0 -95
  403. package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js +0 -50
  404. package/dist/help/components/requestsupport/PopularTopicsList/index.es.js +0 -22
  405. package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js +0 -30
  406. package/dist/help/components/requestsupport/RequestSupport/index.es.js +0 -179
  407. package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js +0 -26
  408. package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js +0 -39
  409. package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js +0 -75
  410. package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js +0 -29
  411. package/dist/help/constants/HelpImages/index.es.js +0 -47
  412. package/dist/help/store/HelpStore/index.es.js +0 -42
  413. package/dist/help/utils/getAccessibleHelpCategories/index.es.js +0 -21
  414. package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js +0 -14
  415. package/dist/insights/store/BeatStore/index.es.js +0 -35
  416. package/dist/investments/InvestmentsWidget/index.es.js +0 -107
  417. package/dist/investments/api/HoldingApi/index.es.js +0 -13
  418. package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js +0 -126
  419. package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js +0 -67
  420. package/dist/investments/components/Allocation/index.es.js +0 -67
  421. package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js +0 -134
  422. package/dist/investments/components/Analysis/index.es.js +0 -169
  423. package/dist/investments/components/AnalysisDetails/index.es.js +0 -81
  424. package/dist/investments/components/EmptyStateFooterComponent/index.es.js +0 -52
  425. package/dist/investments/components/HeaderCell/index.es.js +0 -11
  426. package/dist/investments/components/HoldingDrawer/index.es.js +0 -322
  427. package/dist/investments/components/HoldingTable/index.es.js +0 -183
  428. package/dist/investments/components/InfoToolTip/index.es.js +0 -25
  429. package/dist/investments/components/Overview/index.es.js +0 -441
  430. package/dist/investments/components/TabTitle/index.es.js +0 -6
  431. package/dist/investments/constants/index/index.es.js +0 -53
  432. package/dist/investments/stores/HoldingStore/index.es.js +0 -59
  433. package/dist/investments/util/InvestmentUtil/index.es.js +0 -100
  434. package/dist/merchants/api/MerchantApi/index.es.js +0 -16
  435. package/dist/merchants/components/MerchantLookup/index.es.js +0 -77
  436. package/dist/merchants/stores/MerchantStore/index.es.js +0 -26
  437. package/dist/microinsights/analytics/index.es.js +0 -10
  438. package/dist/microinsights/components/MicroWidgetContainer/index.es.js +0 -28
  439. package/dist/microinsights/components/beatCard/BeatCard/index.es.js +0 -98
  440. package/dist/microinsights/components/beaticons/BeatCategoryIcon/index.es.js +0 -13
  441. package/dist/microinsights/components/beaticons/BeatIcon/index.es.js +0 -22
  442. package/dist/microinsights/components/beaticons/BeatMerchantLogo/index.es.js +0 -24
  443. package/dist/microinsights/components/beaticons/ChartFilledIcon/index.es.js +0 -31
  444. package/dist/microinsights/components/beaticons/MonthlySpendComparisonIcon/index.es.js +0 -14
  445. package/dist/microinsights/components/beaticons/ZeroStateIcon/index.es.js +0 -786
  446. package/dist/microinsights/components/carouselheader/CarouselHeader/index.es.js +0 -82
  447. package/dist/microinsights/components/insightsmicrowidget/InsightsMicroWidget/index.es.js +0 -105
  448. package/dist/microinsights/components/microBeatCarousel/CarouselControls/index.es.js +0 -101
  449. package/dist/microinsights/components/microBeatCarousel/MicroBeatCarousel/index.es.js +0 -187
  450. package/dist/microinsights/components/microInsightCard/MicroInsightCard/index.es.js +0 -152
  451. package/dist/microinsights/components/noRelevantInsightsCard/NoRelevantInsightsCard/index.es.js +0 -67
  452. package/dist/microinsights/components/spinner/Spinner/index.es.js +0 -19
  453. package/dist/microinsights/components/viewMoreMicroCard/ViewMoreMicroCard/index.es.js +0 -58
  454. package/dist/microinsights/components/zeroStateCard/ZeroStateCard/index.es.js +0 -55
  455. package/dist/microinsights/constants/Analytics/index.es.js +0 -163
  456. package/dist/microinsights/constants/App/index.es.js +0 -11
  457. package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js +0 -12
  458. package/dist/microinsights/context/hooks/index.es.js +0 -31
  459. package/dist/microinsights/stores/AppStore/index.es.js +0 -25
  460. package/dist/microinsights/stores/CopyStore/index.es.js +0 -32
  461. package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js +0 -31
  462. package/dist/microinsights/utils/DataSeries/index.es.js +0 -9
  463. package/dist/networth/NetWorthMicroWidget/index.es.js +0 -44
  464. package/dist/networth/NetWorthWidget/index.es.js +0 -159
  465. package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js +0 -109
  466. package/dist/networth/components/GainsLossesDetail/index.es.js +0 -94
  467. package/dist/networth/components/NetWorthChange/index.es.js +0 -31
  468. package/dist/networth/components/NetWorthChart/index.es.js +0 -45
  469. package/dist/networth/components/NetWorthList/index.es.js +0 -60
  470. package/dist/networth/components/NetWorthListItem/index.es.js +0 -60
  471. package/dist/networth/components/NetWorthSummary/index.es.js +0 -20
  472. package/dist/networth/components/micro/NetworthData/index.es.js +0 -21
  473. package/dist/networth/components/micro/ZeroState/index.es.js +0 -14
  474. package/dist/networth/stores/NetWorthStore/index.es.js +0 -65
  475. package/dist/networth/utils/NetWorthUtils/index.es.js +0 -95
  476. package/dist/notifications/components/DateRow/index.es.js +0 -8
  477. package/dist/notifications/components/NotificationBadge/index.es.js +0 -26
  478. package/dist/notifications/components/NotificationCard/index.es.js +0 -42
  479. package/dist/notifications/components/NotificationDrawer/index.es.js +0 -67
  480. package/dist/notifications/components/NotificationList/index.es.js +0 -36
  481. package/dist/notifications/components/NotificationsEmptyState/index.es.js +0 -34
  482. package/dist/notifications/constants/NotificationConstants/index.es.js +0 -22
  483. package/dist/notifications/stores/NotificationStore/index.es.js +0 -37
  484. package/dist/notifications/utils/NotificationUtils/index.es.js +0 -16
  485. package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js +0 -179
  486. package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js +0 -37
  487. package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js +0 -67
  488. package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js +0 -19
  489. package/dist/recurringtransactions/api/RepeatingTransactionsApi/index.es.js +0 -18
  490. package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js +0 -32
  491. package/dist/recurringtransactions/components/PaymentSchedule/index.es.js +0 -100
  492. package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js +0 -20
  493. package/dist/recurringtransactions/components/RecurrenceList/index.es.js +0 -69
  494. package/dist/recurringtransactions/components/RecurrenceRow/index.es.js +0 -149
  495. package/dist/recurringtransactions/components/RecurringStatus/index.es.js +0 -42
  496. package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js +0 -130
  497. package/dist/recurringtransactions/components/RecurringTransactions/index.es.js +0 -163
  498. package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js +0 -56
  499. package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js +0 -17
  500. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js +0 -44
  501. package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js +0 -31
  502. package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js +0 -32
  503. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js +0 -84
  504. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js +0 -68
  505. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransaction/index.es.js +0 -114
  506. package/dist/recurringtransactions/components/shared/recurringsettings/AddRecurringTransactionDetails/index.es.js +0 -44
  507. package/dist/recurringtransactions/components/shared/recurringsettings/ManageExpenses/index.es.js +0 -31
  508. package/dist/recurringtransactions/components/shared/recurringsettings/ManageIncome/index.es.js +0 -38
  509. package/dist/recurringtransactions/components/shared/recurringsettings/RecurringRow/index.es.js +0 -108
  510. package/dist/recurringtransactions/components/shared/recurringsettings/SelectTransaction/index.es.js +0 -37
  511. package/dist/recurringtransactions/components/shared/recurringsettings/index.es.js +0 -36
  512. package/dist/recurringtransactions/util/RecurringTransactions/index.es.js +0 -232
  513. package/dist/settings/NotificationSettingsWidget/index.es.js +0 -13
  514. package/dist/settings/SettingsWidget/index.es.js +0 -55
  515. package/dist/settings/TransactionRulesWidget/index.es.js +0 -12
  516. package/dist/settings/api/SettingsApi/index.es.js +0 -23
  517. package/dist/settings/components/SettingsWidgetContents/index.es.js +0 -47
  518. package/dist/settings/components/devices/DeviceDialog/index.es.js +0 -129
  519. package/dist/settings/components/devices/DeviceList/index.es.js +0 -118
  520. package/dist/settings/components/devices/DeviceTab/index.es.js +0 -79
  521. package/dist/settings/components/devices/DeviceTable/index.es.js +0 -134
  522. package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js +0 -80
  523. package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js +0 -55
  524. package/dist/settings/components/notifications/AccountProfileListItem/index.es.js +0 -102
  525. package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js +0 -12
  526. package/dist/settings/components/notifications/DeliveryMethods/index.es.js +0 -77
  527. package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js +0 -12
  528. package/dist/settings/components/notifications/NotificationProfile/index.es.js +0 -96
  529. package/dist/settings/components/notifications/NotificationSettings/index.es.js +0 -89
  530. package/dist/settings/components/notifications/PersonalDetails/index.es.js +0 -99
  531. package/dist/settings/components/profile/ProfileTab/index.es.js +0 -204
  532. package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js +0 -63
  533. package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js +0 -80
  534. package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js +0 -36
  535. package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js +0 -23
  536. package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js +0 -34
  537. package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js +0 -38
  538. package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js +0 -52
  539. package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js +0 -33
  540. package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js +0 -52
  541. package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js +0 -20
  542. package/dist/settings/constants/Settings/index.es.js +0 -4
  543. package/dist/settings/stores/SettingsStore/index.es.js +0 -187
  544. package/dist/settings/util/Notifications/index.es.js +0 -64
  545. package/dist/spending/SpendingMiniWidget/index.es.js +0 -26
  546. package/dist/spending/SpendingWidget/index.es.js +0 -38
  547. package/dist/spending/components/MiniSpendingChart/index.es.js +0 -115
  548. package/dist/spending/components/Spending/index.es.js +0 -141
  549. package/dist/spending/components/SpendingChart/index.es.js +0 -61
  550. package/dist/spending/components/SpendingDonut/index.es.js +0 -69
  551. package/dist/spending/components/SpendingLegend/index.es.js +0 -25
  552. package/dist/spending/components/SpendingList/index.es.js +0 -96
  553. package/dist/spending/components/SpendingTabLabel/index.es.js +0 -11
  554. package/dist/spending/utils/SpendingData/index.es.js +0 -86
  555. package/dist/transactions/TransactionWidget/index.es.js +0 -242
  556. package/dist/transactions/analytics/index.es.js +0 -5
  557. package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js +0 -68
  558. package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js +0 -43
  559. package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js +0 -126
  560. package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js +0 -27
  561. package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js +0 -105
  562. package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js +0 -81
  563. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js +0 -60
  564. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js +0 -60
  565. package/dist/transactions/components/shared/TransactionDetails/actions/HideAction/index.es.js +0 -90
  566. package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js +0 -91
  567. package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js +0 -143
  568. package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js +0 -75
  569. package/dist/transactions/components/shared/TransactionDetails/index.es.js +0 -79
  570. package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js +0 -84
  571. package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js +0 -17
  572. package/dist/transactions/components/shared/TransactionList/index.es.js +0 -82
  573. package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js +0 -9
  574. package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js +0 -20
  575. package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js +0 -29
  576. package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js +0 -8
  577. package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js +0 -38
  578. package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js +0 -6
  579. package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js +0 -16
  580. package/dist/transactions/components/shared/TransactionTable/index.es.js +0 -110
  581. package/dist/transactions/components/splitmanager/SplitManager/index.es.js +0 -69
  582. package/dist/transactions/components/splitmanager/SplitRow/index.es.js +0 -126
  583. package/dist/transactions/components/tagmanager/Header/index.es.js +0 -78
  584. package/dist/transactions/components/tagmanager/SearchBox/index.es.js +0 -37
  585. package/dist/transactions/components/tagmanager/TagManager/index.es.js +0 -32
  586. package/dist/transactions/components/tagmanager/TagRow/index.es.js +0 -114
  587. package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js +0 -29
  588. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js +0 -54
  589. package/dist/transactions/constants/Actions/index.es.js +0 -19
  590. package/dist/transactions/constants/Analytics/index.es.js +0 -259
  591. package/dist/transactions/constants/OnClickEvents/index.es.js +0 -48
  592. package/dist/transactions/constants/Transaction/index.es.js +0 -33
  593. package/dist/transactions/constants/TransactionsTable/index.es.js +0 -11
  594. package/dist/transactions/context/hooks/index.es.js +0 -11
  595. package/dist/transactions/stores/TransactionStore/index.es.js +0 -224
  596. package/dist/transactions/stores/UiStore/index.es.js +0 -48
  597. package/dist/transactions/utils/Filters/index.es.js +0 -9
  598. package/dist/transactions/utils/Transactions/index.es.js +0 -13
  599. package/dist/transactions/utils/buildDetailedTransactions/index.es.js +0 -35
  600. package/dist/transactions/utils/sortAndFilterTransactions/index.es.js +0 -44
  601. package/dist/trends/TrendsFullWidget/index.es.js +0 -157
  602. package/dist/trends/TrendsMicroWidget/index.es.js +0 -86
  603. package/dist/trends/TrendsMiniWidget/index.es.js +0 -28
  604. package/dist/trends/TrendsWidget/index.es.js +0 -173
  605. package/dist/trends/ZeroStateMicroWidget/index.es.js +0 -19
  606. package/dist/trends/components/CategoriesList/index.es.js +0 -62
  607. package/dist/trends/components/CategoriesListItem/index.es.js +0 -25
  608. package/dist/trends/components/CategoryDetailChart/index.es.js +0 -34
  609. package/dist/trends/components/CategoryDetailDrawer/index.es.js +0 -44
  610. package/dist/trends/components/DateRangeText/index.es.js +0 -39
  611. package/dist/trends/components/SpendingChart/index.es.js +0 -28
  612. package/dist/trends/components/TransactionsList/index.es.js +0 -81
  613. package/dist/trends/components/TrendsChart/index.es.js +0 -45
  614. package/dist/trends/components/TrendsChartTotals/index.es.js +0 -56
  615. package/dist/trends/components/TrendsDrawer/index.es.js +0 -48
  616. package/dist/trends/components/TrendsInsights/index.es.js +0 -43
  617. package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js +0 -96
  618. package/dist/trends/components/TrendsTable/AmountCell/index.es.js +0 -10
  619. package/dist/trends/components/TrendsTable/CategoryCell/index.es.js +0 -30
  620. package/dist/trends/components/TrendsTable/index.es.js +0 -96
  621. package/dist/trends/components/TrendsViewToggle/index.es.js +0 -17
  622. package/dist/trends/constants/TrendsInsights/index.es.js +0 -38
  623. package/dist/trends/stores/TrendsStore/index.es.js +0 -77
  624. package/dist/trends/utils/SpendingData/index.es.js +0 -47
  625. package/dist/trends/utils/TrendsData/index.es.js +0 -41
  626. package/dist/trends/utils/shared/index.es.js +0 -15
  627. /package/dist/budgets/components/{BubbleChart → bubblechart}/Bubble.d.ts +0 -0
  628. /package/dist/budgets/components/{BubbleChart → bubblechart}/Mercury.d.ts +0 -0
  629. /package/dist/budgets/components/{BudgetList → budgetlist}/BudgetRow.d.ts +0 -0
  630. /package/dist/budgets/components/{BudgetList → budgetlist}/SubBudgetRow.d.ts +0 -0
  631. /package/dist/budgets/components/{BudgetList → budgetlist}/SubBudgetZeroState.d.ts +0 -0
  632. /package/dist/common/components/charts/{LineChart → linechart}/CustomLegend.d.ts +0 -0
  633. /package/dist/common/components/charts/{LineChart → linechart}/CustomLine.d.ts +0 -0
  634. /package/dist/common/components/charts/{LineChart → linechart}/CustomMark.d.ts +0 -0
  635. /package/dist/common/components/charts/{LineChart → linechart}/CustomTooltip.d.ts +0 -0
  636. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CategoryIconLabel.d.ts +0 -0
  637. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CustomAreaTooltip.d.ts +0 -0
  638. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CustomLegend.d.ts +0 -0
  639. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/CustomPointTooltip.d.ts +0 -0
  640. /package/dist/common/components/charts/{StackedLineChart → stackedlinechart}/utils.d.ts +0 -0
  641. /package/dist/debts/components/{DebtsTable → debtstable}/AccountCell.d.ts +0 -0
  642. /package/dist/debts/components/{DebtsTable → debtstable}/PriorityCell.d.ts +0 -0
  643. /package/dist/goals/components/{AddGoal → addgoal}/AddGoalListItem.d.ts +0 -0
  644. /package/dist/goals/components/{ManageGoals → managegoals}/CompleteListItem.d.ts +0 -0
  645. /package/dist/goals/components/{ManageGoals → managegoals}/OngoingListItem.d.ts +0 -0
  646. /package/dist/goals/components/{ManageGoals → managegoals}/ReorderGoals.d.ts +0 -0
  647. /package/dist/investments/components/{Allocation → allocation}/InvestementAllocationList.d.ts +0 -0
  648. /package/dist/investments/components/{Allocation → allocation}/InvestmentsAllocationChart.d.ts +0 -0
  649. /package/dist/investments/components/{Allocation → allocation}/util/createInvestementsAllocationData.d.ts +0 -0
  650. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/Description.d.ts +0 -0
  651. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/FlagTransaction.d.ts +0 -0
  652. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/ManualTransactionDetails.d.ts +0 -0
  653. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/TransactionAmountHeader.d.ts +0 -0
  654. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/CategoryAction.d.ts +0 -0
  655. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/DateAction.d.ts +0 -0
  656. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/DeleteAction.d.ts +0 -0
  657. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/DeleteLogoAction.d.ts +0 -0
  658. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/HideAction.d.ts +0 -0
  659. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/MemoAction.d.ts +0 -0
  660. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/SplitAction.d.ts +0 -0
  661. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/TagsAction.d.ts +0 -0
  662. /package/dist/transactions/components/shared/{TransactionDetails → transactiondetails}/actions/index.d.ts +0 -0
  663. /package/dist/transactions/components/shared/{TransactionList → transactionlist}/DateRow.d.ts +0 -0
  664. /package/dist/transactions/components/shared/{TransactionList → transactionlist}/TransactionRow.d.ts +0 -0
  665. /package/dist/transactions/components/shared/{TransactionList → transactionlist}/ZeroState.d.ts +0 -0
  666. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/AccountCell.d.ts +0 -0
  667. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/AmountCell.d.ts +0 -0
  668. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/CategoryCell.d.ts +0 -0
  669. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/DateCell.d.ts +0 -0
  670. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/FlagCell.d.ts +0 -0
  671. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/HeaderCell.d.ts +0 -0
  672. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/PayeeCell.d.ts +0 -0
  673. /package/dist/transactions/components/shared/{TransactionTable → transactiontable}/cells/index.d.ts +0 -0
  674. /package/dist/trends/components/{TrendsTable → trendstable}/AmountCell.d.ts +0 -0
  675. /package/dist/trends/components/{TrendsTable → trendstable}/CategoryCell.d.ts +0 -0
  676. /package/dist/trends/components/{TrendsTable → trendstable}/HeaderCell.d.ts +0 -0
@@ -1,234 +1,1451 @@
1
- import { AnalyticsApi as t } from "./api/AnalyticsApi/index.es.js";
2
- import { BannerApi as a } from "./api/BannerApi/index.es.js";
3
- import { BeatApi as p } from "./api/BeatApi/index.es.js";
4
- import { CategoryApi as f } from "./api/CategoryApi/index.es.js";
5
- import { GlobalCopyApi as m } from "./api/GlobalCopyApi/index.es.js";
6
- import { LocalizedCopyApi as x } from "./api/LocalizedCopyApi/index.es.js";
7
- import { NotificationApi as c } from "./api/NotificationApi/index.es.js";
8
- import { ScheduledPaymentsApi as C } from "./api/ScheduledPaymentsApi/index.es.js";
9
- import { UserApi as T } from "./api/UserApi/index.es.js";
10
- import { WidgetApi as g } from "./api/WidgetApi/index.es.js";
11
- import { default as N } from "./components/ErrorBoundary/index.es.js";
12
- import { default as D } from "./components/MicroWidgetContainer/index.es.js";
13
- import { default as P } from "./components/MiniWidgetContainer/index.es.js";
14
- import { default as R } from "./components/WidgetContainer/index.es.js";
15
- import { default as L } from "./components/ConnectDrawer/index.es.js";
16
- import { default as G } from "./components/CurrencyInput/index.es.js";
17
- import { default as U } from "./components/Loader/index.es.js";
18
- import { default as M } from "./components/ResponsiveButton/index.es.js";
19
- import { default as F } from "./components/SearchBox/index.es.js";
20
- import { default as v } from "./components/SelectionBox/index.es.js";
21
- import { default as H } from "./components/TabContentContainer/index.es.js";
22
- import { default as z } from "./components/IconBacking/index.es.js";
23
- import { default as q } from "./components/DataRow/index.es.js";
24
- import { default as Z } from "./components/InformationTooltip/index.es.js";
25
- import { ConnectCard as J } from "./components/ConnectCard/index.es.js";
26
- import { CurrencyText as X } from "./components/CurrencyText/index.es.js";
27
- import { EmptyState as ee } from "./components/EmptyState/index.es.js";
28
- import { ListItemAction as te } from "./components/ListItemAction/index.es.js";
29
- import { ListItemWrapper as ae } from "./components/ListItemWrapper/index.es.js";
30
- import { Select as pe } from "./components/Select/index.es.js";
31
- import { ToggleButtonListItem as fe } from "./components/listitems/ToggleButtonListItem/index.es.js";
32
- import { ToggleListItem as me } from "./components/listitems/ToggleListItem/index.es.js";
33
- import { default as xe } from "./components/accountfilter/AccountFilter/index.es.js";
34
- import { default as ce } from "./components/barchart/BarChart/index.es.js";
35
- import { default as Ce, CalendarSelectionTypes as de } from "./components/calendar/Calendar/index.es.js";
36
- import { default as ye } from "./components/charts/Donut/index.es.js";
37
- import { LineChart as Ae } from "./components/charts/LineChart/index.es.js";
38
- import { StackedLineChart as Ee } from "./components/charts/StackedLineChart/index.es.js";
39
- import { default as Ie } from "./components/charts/StatusBar/index.es.js";
40
- import { default as _e } from "./components/daterangeselector/DateRangeSelector/index.es.js";
41
- import { default as be } from "./components/dialog/Dialog/index.es.js";
42
- import { default as Oe } from "./components/donuts/MultiSegmentDonut/index.es.js";
43
- import { default as he } from "./components/donuts/SingleSegmentDonut/index.es.js";
44
- import { default as Be } from "./components/drawer/Drawer/index.es.js";
45
- import { ApiEndpoints as We } from "./constants/ApiEndpoints/index.es.js";
46
- import { ANALYTICS_EVENTS as Ye } from "./constants/Analytics/index.es.js";
47
- import { DATE_FORMATS_INTL as we, ORDINAL_DATE_FORMAT as He, ORDINAL_MONTH_DAY_YEAR_FORMAT as Ve, formatDate as ze } from "./constants/DateFormats/index.es.js";
48
- import { INCOME_ACCOUNT_TYPES as qe, PAYMENT_ACCOUNT_TYPES as Ke, SPENDING_ACCOUNT_TYPES as Ze } from "./constants/Account/index.es.js";
49
- import { CategoryColors as Je, CategoryGuidToName as Qe, CategoryGuids as Xe, CategoryIcon as $e, PaymentCategories as eo } from "./constants/Category/index.es.js";
50
- import { CurrencyCodes as to } from "./constants/Numbers/index.es.js";
51
- import { RECURRENCE_COPY as ao, RecurrenceTypes as no } from "./constants/ScheduledPayment/index.es.js";
52
- import { IterationItemTypes as so, LOADING_STATUS as fo, PlanTypes as io } from "./constants/SpendingPlan/index.es.js";
53
- import { DEFAULT_DONUT_SIZE as uo, DEFAULT_STROKE_WIDTH as xo } from "./constants/Donut/index.es.js";
54
- import { Sizes as co, TOUCH_TARGET as So } from "./constants/Sizes/index.es.js";
55
- import { useAccountStore as To, useAppConfig as yo, useBudgetsStore as go, useCashflowStore as Ao, useCategoryStore as No, useDebtStore as Eo, useEvent as Do, useFinstrongStore as Io, useGlobalCopyStore as Po, useGlobalStore as _o, useGlobalUiStore as Ro, useGoalStore as bo, useHelpStore as Lo, useHoldingStore as Oo, useMerchantStore as Go, useNetWorthStore as ho, useNotificationStore as Uo, usePageView as Bo, useRecurringTransactionsStore as Mo, useSettingsStore as Wo, useTransactionStore as Fo, useTrendsStore as Yo, useUserStore as vo, useWidgetContainerProvider as wo } from "./context/hooks/index.es.js";
56
- import { GlobalDataContext as Vo, GlobalDataProvider as zo } from "./context/GlobalDataProvider/index.es.js";
57
- import { WidgetContainerContext as qo, WidgetContainerProvider as Ko } from "./context/WidgetContainerProvider/index.es.js";
58
- import { useCombineEvents as jo, useCombinePageviews as Jo } from "./hooks/useCombineEvents/index.es.js";
59
- import { useInsightsEnabled as Xo } from "./hooks/useInsightsEnabled/index.es.js";
60
- import { useScreenSize as et } from "./hooks/useScreenSize/index.es.js";
61
- import { usePrevious as tt } from "./hooks/usePrevious/index.es.js";
62
- import { GlobalCopyStore as at } from "./stores/GlobalCopyStore/index.es.js";
63
- import { GlobalStore as pt } from "./stores/GlobalStore/index.es.js";
64
- import { UserStore as ft } from "./stores/UserStore/index.es.js";
65
- import { AccountIcon as mt, AccountIconVariants as ut, AccountSubType as xt, AccountType as lt, AccountTypeName as ct, ConnectionStatus as St, ConnectionStatusEnums as Ct, ErrorStatuses as dt, MfaStatuses as Tt, NonConnectedStatuses as yt, ProcessingStatuses as gt, PropertyType as At, PropertyTypeName as Nt, StatusName as Et } from "./types/Account/index.es.js";
66
- import { UserVerification as It } from "./types/Beat/index.es.js";
67
- import { ExpenseStatus as _t, ScheduledPaymentTypes as Rt } from "./types/Expense/index.es.js";
68
- import { GoalType as Lt, MetaType as Ot, TrackType as Gt } from "./types/Goal/index.es.js";
69
- import { AccountNotificationTypes as Ut, BudgetNotificationTypes as Bt, InsightNotificationTypes as Mt, NotificationTypes as Wt } from "./types/Notification/index.es.js";
70
- import { TransactionStatus as Yt, TransactionType as vt } from "./types/Transaction/index.es.js";
71
- import { ScreenSize as Ht } from "./types/ScreenSize/index.es.js";
72
- import { Frequency as zt, RecurrenceStatus as kt, RecurrenceType as qt, RepeatingType as Kt } from "./types/RepeatingTransaction/index.es.js";
73
- import { analyticsSession as jt } from "./utils/Analytics/index.es.js";
74
- import { getCategory as Qt, getCategoryTotalsByParent as Xt, getDetailedCategory as $t, getDetailedSubCategory as er, isIncome as or } from "./utils/Categories/index.es.js";
75
- import { fromTimestampToMonthYear as rr } from "./utils/DateUtil/index.es.js";
76
- import { Fetch as nr } from "./utils/Fetch/index.es.js";
77
- import { buildDynamicCopy as sr, buildPluralCopy as fr, getLocale as ir } from "./utils/Localization/index.es.js";
78
- import { formatCurrency as ur, formatOrdinal as xr, formatPercentage as lr, getCurrencyCodes as cr, isValidNumber as Sr } from "./utils/NumberFormatting/index.es.js";
79
- import { getClientTheme as dr } from "./utils/Theme/index.es.js";
1
+ import { G as M } from "../useCombineEvents-DaDBSR_1.mjs";
2
+ import { A as ls, a as us, u as hs, b as gs } from "../useCombineEvents-DaDBSR_1.mjs";
3
+ import { F as y, A as l } from "../Fetch-CkFKy79O.mjs";
4
+ import { B as ms } from "../BeatApi-DLu87ijw.mjs";
5
+ import { C as st } from "../CategoryStore-B5EW6I1d.mjs";
6
+ import { a as ys } from "../CategoryStore-B5EW6I1d.mjs";
7
+ import { N as rt } from "../NotificationStore-DHtSGySy.mjs";
8
+ import { a as Ss } from "../NotificationStore-DHtSGySy.mjs";
9
+ import { T as at } from "../Transaction-C-5-Iuab.mjs";
10
+ import { C as ws, b as xs, L as Cs, a as Ds } from "../Transaction-C-5-Iuab.mjs";
11
+ import { H as ot } from "../Help-DhcC-C05.mjs";
12
+ import { E as As } from "../Help-DhcC-C05.mjs";
13
+ import { M as Ts } from "../MicroWidgetContainer-DaLW43tE.mjs";
14
+ import { M as Is } from "../MiniWidgetContainer-BcNPxZt2.mjs";
15
+ import { A as Fs, D as Ms, W as $s } from "../WidgetContainer-CmGNZW0M.mjs";
16
+ import { i as ks, a as Us, e as Os, l as Ls, A as Gs, f as Hs, j as Ps, d as qs, k as Ws, E as Qs, h as Ys, N as zs, g as Xs, P as Ks, m as js, S as Vs } from "../ConnectDrawer-DPnfeIfn.mjs";
17
+ import { C as Js } from "../CurrencyInput-DzsPiUsU.mjs";
18
+ import { L as er } from "../Loader-Dp1P2gNw.mjs";
19
+ import { jsxs as m, jsx as n } from "react/jsx-runtime";
20
+ import Z, { useRef as nt, useEffect as it } from "react";
21
+ import ct from "@mui/material/Button";
22
+ import dt from "@mui/material/IconButton";
23
+ import lt from "@mui/material/Tooltip";
24
+ import ut from "@mui/material/styles/useTheme";
25
+ import { S as rr } from "../SearchBox-B2_zLv8-.mjs";
26
+ import { T as ht } from "../TransactionStore-BWi6_2Ny.mjs";
27
+ import { S as or } from "../TransactionStore-BWi6_2Ny.mjs";
28
+ import { T as ir } from "../TabContentContainer-j01JYR_7.mjs";
29
+ import { I as dr } from "../IconBacking-B9oC6uL2.mjs";
30
+ import { D as ur, F as hr, a as gr, c as pr, R as mr, S as _r } from "../RepeatingTransaction-BPWfaB3f.mjs";
31
+ import { C as gt } from "../CashflowStore-D9Dpuz7X.mjs";
32
+ import { I as fr } from "../CashflowStore-D9Dpuz7X.mjs";
33
+ import { b as pt } from "../GoalStore-DyCr4wNc.mjs";
34
+ import { C as br, G as wr, M as xr, T as Cr } from "../GoalStore-DyCr4wNc.mjs";
35
+ import { C as vr } from "../CurrencyText-YUhH2caW.mjs";
36
+ import { E as Er } from "../EmptyState-Dcb-o2tl.mjs";
37
+ import { L as Br } from "../ListItemAction-Df3OPMOW.mjs";
38
+ import { A as Nr, B as Fr, I as Mr, N as $r, T as Rr, a as kr } from "../Notification-AMGWM1Al.mjs";
39
+ import { css as w, keyframes as mt } from "@mxenabled/cssinjs";
40
+ import { useTokens as x, Text as B } from "@mxenabled/mxui";
41
+ import { D as Or } from "../Donut-1UMNcG67.mjs";
42
+ import { L as Gr } from "../LineChart-CQWu5KoO.mjs";
43
+ import { T as _t } from "../TrendsStore-Borh98aN.mjs";
44
+ import { S as Pr, u as qr } from "../TrendsStore-Borh98aN.mjs";
45
+ import { S as Qr } from "../StatusBar-BK_uYHAB.mjs";
46
+ import { D as zr, a as Xr, O as Kr, b as jr, f as Vr } from "../Dialog-CWW597AF.mjs";
47
+ import { D as yt, a as ft } from "../SingleSegmentDonut-BgbLgwHi.mjs";
48
+ import { S as Jr } from "../SingleSegmentDonut-BgbLgwHi.mjs";
49
+ import { D as ea } from "../Drawer-kEE73B87.mjs";
50
+ import { I as ra, P as aa, S as oa } from "../Account-DM32_5k9.mjs";
51
+ import { c as E } from "../Category-5S6uwuXz.mjs";
52
+ import { a as ia, C as ca, b as da, P as la } from "../Category-5S6uwuXz.mjs";
53
+ import { C as ha, f as ga, b as pa, a as ma, g as _a, i as ya } from "../NumberFormatting-CtWHhyBX.mjs";
54
+ import { R as St } from "../RecurringTransactionsStore-BKLD3OWo.mjs";
55
+ import { S as Sa, T as ba } from "../RecurringTransactionsStore-BKLD3OWo.mjs";
56
+ import { G as xa, A as Ca, B as Da, W as va, c as Aa, j as Ea, e as Ta, t as Ba, k as Ia, x as Na, g as Fa, v as Ma, u as $a, l as Ra, a as ka, i as Ua, y as Oa, s as La, b as Ga, q as Ha, m as Pa, z as qa, f as Wa, r as Qa, n as Ya, w as za, o as Xa, p as Ka } from "../hooks-ClhFlg78.mjs";
57
+ import { u as Va } from "../useScreenSize-B6JyS_Lj.mjs";
58
+ import { makeAutoObservable as _, runInAction as p, reaction as bt } from "mobx";
59
+ import { a as wt } from "../AccountStore-RSanus_m.mjs";
60
+ import xt from "posthog-js";
61
+ import { B as Ct } from "../BeatStore-By4aGoRM.mjs";
62
+ import { endOfMonth as J } from "date-fns/endOfMonth";
63
+ import { startOfMonth as tt } from "date-fns/startOfMonth";
64
+ import { startOfToday as O } from "date-fns/startOfToday";
65
+ import { f as Dt, a as vt, b as L } from "../BudgetUtil-DcqclhiQ.mjs";
66
+ import { g as Ja, e as to, c as eo, d as so, i as ro } from "../BudgetUtil-DcqclhiQ.mjs";
67
+ import { a as At } from "../DebtsStore-C6VcBnpG.mjs";
68
+ import { a as Et } from "../FinstrongStore-mkALvztw.mjs";
69
+ import { A as Tt, m as Bt, a as It, b as Nt } from "../InvestmentUtil-jOyOgzIB.mjs";
70
+ import { M as Ft } from "../MerchantStore-DVH-QOf0.mjs";
71
+ import { N as Mt } from "../NetWorthStore-DE8CQBMM.mjs";
72
+ import { a as $t } from "../SettingsStore-CE7jDVFL.mjs";
73
+ import { addMonths as Rt } from "date-fns/addMonths";
74
+ import { getMonth as T } from "date-fns/getMonth";
75
+ import { i as oo } from "../DateUtil-BcuH7ErC.mjs";
76
+ import { b as io, a as co, g as lo } from "../Localization-2MODESHW.mjs";
77
+ import { alpha as kt, lighten as G, darken as H } from "@mui/material";
78
+ var Ut = /* @__PURE__ */ ((s) => (s[s.Unknown = 0] = "Unknown", s[s.EveryWeek = 1] = "EveryWeek", s[s.EveryOtherWeek = 2] = "EveryOtherWeek", s[s.EveryMonth = 3] = "EveryMonth", s[s.EveryOtherMonth = 4] = "EveryOtherMonth", s[s.EveryQuarter = 5] = "EveryQuarter", s[s.EveryOtherQuarter = 6] = "EveryOtherQuarter", s[s.EveryYear = 7] = "EveryYear", s))(Ut || {});
79
+ const Ze = [
80
+ { id: 0, copy: "frequency_unknown" },
81
+ { id: 1, copy: "frequency_every_week" },
82
+ { id: 2, copy: "frequency_every_other_week" },
83
+ { id: 3, copy: "frequency_every_month" },
84
+ { id: 4, copy: "frequency_every_other_month" },
85
+ { id: 5, copy: "frequency_every_quarter" },
86
+ { id: 6, copy: "frequency_every_other_quarter" },
87
+ { id: 7, copy: "frequency_every_year" }
88
+ ], Je = {
89
+ ERROR: "ERROR",
90
+ LOADING: "LOADING",
91
+ SUCCESS: "SUCCESS"
92
+ };
93
+ var Ot = /* @__PURE__ */ ((s) => (s[s.SpendingPlan = 0] = "SpendingPlan", s[s.Budgets = 1] = "Budgets", s))(Ot || {}), Lt = /* @__PURE__ */ ((s) => (s[s.RecurringExpense = 0] = "RecurringExpense", s[s.PlannedExpense = 1] = "PlannedExpense", s[s.Other = 2] = "Other", s[s.Income = 3] = "Income", s))(Lt || {});
94
+ const ts = (s, t) => {
95
+ const e = s.palette.mode === "dark", r = (d, c) => {
96
+ const i = t?.[d];
97
+ return {
98
+ lighter: i ? G(i, 0.5) : c.lighter,
99
+ light: i ? G(i, 0.25) : c.light,
100
+ main: i || c.main,
101
+ dark: i ? H(i, 0.25) : c.dark,
102
+ darker: i ? H(i, 0.5) : c.darker
103
+ };
104
+ }, a = {
105
+ primary: r(e ? "primary_color_dark" : "primary_color", s.palette.primary),
106
+ secondary: r(e ? "neutral_color_dark" : "neutral_color", s.palette.secondary),
107
+ error: r(e ? "error_color_dark" : "error_color", s.palette.error),
108
+ warning: r(e ? "warning_color_dark" : "warning_color", s.palette.warning),
109
+ info: r(e ? "info_color_dark" : "info_color", s.palette.info),
110
+ success: r(e ? "success_color_dark" : "success_color", s.palette.success)
111
+ }, o = {
112
+ MuiTabs: {
113
+ styleOverrides: {
114
+ indicator: {
115
+ backgroundColor: a.primary.light
116
+ }
117
+ }
118
+ },
119
+ MuiPickersCalendarHeader: {
120
+ styleOverrides: {
121
+ switchViewButton: {
122
+ color: a.primary.lighter,
123
+ "&:hover": {
124
+ backgroundColor: kt(a.primary.light, 0.1)
125
+ }
126
+ }
127
+ }
128
+ },
129
+ ...t?.button_corner_radius ? {
130
+ MuiButton: {
131
+ styleOverrides: {
132
+ root: {
133
+ borderRadius: `${t.button_corner_radius}px`
134
+ }
135
+ }
136
+ }
137
+ } : {},
138
+ ...t?.card_corner_radius ? {
139
+ MuiCard: {
140
+ styleOverrides: {
141
+ root: {
142
+ borderRadius: `${t.card_corner_radius}px`
143
+ }
144
+ }
145
+ },
146
+ MuiPaper: {
147
+ styleOverrides: {
148
+ root: {
149
+ borderRadius: `${t.card_corner_radius}px`
150
+ }
151
+ }
152
+ }
153
+ } : {}
154
+ };
155
+ return {
156
+ typography: {
157
+ fontFamily: t?.system_font ?? s.typography.fontFamily,
158
+ H1: {
159
+ fontFamily: t?.system_font ?? s.typography.fontFamily
160
+ },
161
+ h1: {
162
+ fontFamily: t?.system_font ?? s.typography.fontFamily
163
+ },
164
+ H2: {
165
+ fontFamily: t?.system_font ?? s.typography.fontFamily
166
+ },
167
+ h2: {
168
+ fontFamily: t?.system_font ?? s.typography.fontFamily
169
+ },
170
+ H3: {
171
+ fontFamily: t?.system_font ?? s.typography.fontFamily
172
+ },
173
+ h3: {
174
+ fontFamily: t?.system_font ?? s.typography.fontFamily
175
+ },
176
+ Body: {
177
+ fontFamily: t?.system_font ?? s.typography.fontFamily
178
+ },
179
+ body1: {
180
+ fontFamily: t?.system_font ?? s.typography.fontFamily
181
+ },
182
+ Small: {
183
+ fontFamily: t?.system_font ?? s.typography.fontFamily
184
+ },
185
+ body2: {
186
+ fontFamily: t?.system_font ?? s.typography.fontFamily
187
+ },
188
+ Button: {
189
+ fontFamily: t?.system_font ?? s.typography.fontFamily
190
+ },
191
+ button: {
192
+ fontFamily: t?.system_font ?? s.typography.fontFamily
193
+ },
194
+ XSmall: {
195
+ fontFamily: t?.system_font ?? s.typography.fontFamily
196
+ },
197
+ caption: {
198
+ fontFamily: t?.system_font ?? s.typography.fontFamily
199
+ },
200
+ Paragraph: {
201
+ fontFamily: t?.system_font ?? s.typography.fontFamily
202
+ },
203
+ subtitle1: {
204
+ fontFamily: t?.system_font ?? s.typography.fontFamily
205
+ },
206
+ ParagraphSmall: {
207
+ fontFamily: t?.system_font ?? s.typography.fontFamily
208
+ },
209
+ subtitle2: {
210
+ fontFamily: t?.system_font ?? s.typography.fontFamily
211
+ },
212
+ Tiny: {
213
+ fontFamily: t?.system_font ?? s.typography.fontFamily
214
+ },
215
+ tiny: {
216
+ fontFamily: t?.system_font ?? s.typography.fontFamily
217
+ }
218
+ },
219
+ palette: a,
220
+ components: o,
221
+ shape: {
222
+ borderRadius: t?.button_corner_radius ?? s.shape.borderRadius
223
+ }
224
+ };
225
+ };
226
+ class P {
227
+ fetchInstance;
228
+ constructor(t) {
229
+ this.fetchInstance = new y(t, "", {
230
+ Accept: "application/json",
231
+ "Content-Type": "application/json"
232
+ });
233
+ }
234
+ getBanner = async (t) => {
235
+ try {
236
+ const e = `/banner/${t}/account_widget_banner`;
237
+ return this.fetchInstance?.get(e).then((r) => r.banner) ?? {};
238
+ } catch (e) {
239
+ return console.error("Error fetching banner:", e), null;
240
+ }
241
+ };
242
+ }
243
+ class es {
244
+ fetchInstance;
245
+ constructor(t, e) {
246
+ this.fetchInstance = new y(t, e);
247
+ }
248
+ getLocalizedCopy = async (t) => this.fetchInstance.post(l.LOCALIZED_COPY, t).then((e) => e);
249
+ getLocalizedContent = async (t) => this.fetchInstance.post(`${l.LOCALIZED_CONTENT}/${t}`).then((e) => e);
250
+ }
251
+ class ss {
252
+ fetchInstance;
253
+ constructor(t, e) {
254
+ this.fetchInstance = new y(t, e);
255
+ }
256
+ addScheduledPayment = async (t) => this.fetchInstance.post(l.SCHEDULED_PAYMENTS, {
257
+ ...t,
258
+ is_recurring: "true",
259
+ transaction_type: at.DEBIT
260
+ }).then((e) => e.scheduled_payment);
261
+ getScheduledPayments = async () => this.fetchInstance.get(l.SCHEDULED_PAYMENTS).then((t) => t.scheduled_payments);
262
+ updateScheduledPayment = async (t) => this.fetchInstance.put(`${l.SCHEDULED_PAYMENTS}/${t.guid}`, t).then((e) => e.scheduled_payment);
263
+ deleteScheduledPayment = async (t) => this.fetchInstance.delete(`${l.SCHEDULED_PAYMENTS}/${t}`).then((e) => e);
264
+ }
265
+ class $ {
266
+ fetchInstance;
267
+ constructor(t, e) {
268
+ this.fetchInstance = new y(t, e);
269
+ }
270
+ getUserFeatures = async () => this.fetchInstance.get(l.USER_FEATURES).then((t) => t.user_features).catch((t) => t);
271
+ updateUser = async (t) => this.fetchInstance.put(l.USER, t).then((e) => e.user);
272
+ updateUserProfile = async (t) => this.fetchInstance.put(`${l.USER_PROFILES}/${t.guid}`, t).then((e) => e.user_profile);
273
+ }
274
+ class q {
275
+ fetchInstance;
276
+ constructor(t, e) {
277
+ this.fetchInstance = new y(t, e);
278
+ }
279
+ requestWidgetUrl = async (t) => this.fetchInstance.post(l.WIDGET_URLS, t).then((e) => e.widget_url);
280
+ }
281
+ const rs = (s) => {
282
+ const t = nt();
283
+ return it(() => {
284
+ t.current = s;
285
+ }, [s]), t.current;
286
+ }, Gt = ({ color: s, labelAverage: t, labelMain: e }) => {
287
+ const r = x(), a = Ht(r, s);
288
+ return /* @__PURE__ */ m("div", { className: `mx-cmn-bar-chart-legend ${a}`, children: [
289
+ /* @__PURE__ */ n("div", { "aria-label": e, className: "mx-cmn-color-square", role: "img" }),
290
+ /* @__PURE__ */ n(B, { variant: "XSmall", children: e }),
291
+ /* @__PURE__ */ m("div", { "aria-label": t, className: "mx-cmn-triple-dot", role: "img", children: [
292
+ /* @__PURE__ */ n("div", { className: "mx-cmn-dot" }),
293
+ /* @__PURE__ */ n("div", { className: "mx-cmn-dot" }),
294
+ /* @__PURE__ */ n("div", { className: "mx-cmn-dot" })
295
+ ] }),
296
+ /* @__PURE__ */ n(B, { variant: "XSmall", children: t })
297
+ ] });
298
+ }, Ht = (s, t) => w({
299
+ alignItems: "center",
300
+ display: "flex",
301
+ gap: s.Spacing.XSmall,
302
+ justifyContent: "flex-end",
303
+ marginRight: s.Spacing.XLarge,
304
+ paddingBottom: s.Spacing.XSmall,
305
+ width: "100%",
306
+ "& .mx-cmn-color-square": {
307
+ backgroundColor: t,
308
+ height: 6,
309
+ width: 6
310
+ },
311
+ "& .mx-cmn-triple-dot": {
312
+ display: "flex",
313
+ gap: 1
314
+ },
315
+ "& .mx-cmn-dot": {
316
+ backgroundColor: s.Color.Neutral500,
317
+ height: 3,
318
+ width: 3,
319
+ borderRadius: 1.5
320
+ },
321
+ "& > .kyper-text": {
322
+ marginRight: s.Spacing.XSmall
323
+ }
324
+ }), W = ({
325
+ ariaLabel: s,
326
+ color: t,
327
+ height: e,
328
+ index: r,
329
+ label: a,
330
+ onClick: o,
331
+ selectedIndex: d,
332
+ value: c
333
+ }) => {
334
+ const i = x(), u = Pt(i, t, e), h = (S) => {
335
+ o && (S.key === " " || S.key === "Enter") && o(r);
336
+ }, f = d === void 0 || d === r ? "primary" : "secondary", g = () => /* @__PURE__ */ n(
337
+ B,
338
+ {
339
+ "aria-hidden": !0,
340
+ bold: d === r,
341
+ className: "mx-cmn-bar-text",
342
+ color: f,
343
+ component: "div",
344
+ variant: "Small",
345
+ children: a
346
+ }
347
+ );
348
+ return /* @__PURE__ */ m("div", { className: `mx-cmn-bar-container ${u} ${c < 0 ? "mx-cmn-negative" : ""}`, children: [
349
+ c >= 0 && /* @__PURE__ */ n(g, {}),
350
+ /* @__PURE__ */ n(
351
+ "div",
352
+ {
353
+ "aria-label": s,
354
+ className: `mx-cmn-bar ${o ? "mx-cmn-clickable" : ""} ${c < 0 ? "mx-cmn-bar-negative" : ""}`,
355
+ onClick: o ? () => o?.(r) : void 0,
356
+ onKeyDown: h,
357
+ role: s ? "button" : void 0,
358
+ tabIndex: s ? 0 : void 0
359
+ }
360
+ ),
361
+ c < 0 && /* @__PURE__ */ n(g, {})
362
+ ] });
363
+ }, Pt = (s, t, e) => {
364
+ const r = `expandBar-${Math.round(e)}`, a = mt(r, { from: { height: 0 }, to: { height: e } });
365
+ return w({
366
+ display: "flex",
367
+ flexDirection: "column",
368
+ justifyContent: "flex-end",
369
+ height: "100%",
370
+ "&.mx-cmn-negative": {
371
+ justifyContent: "flex-start"
372
+ },
373
+ "& .mx-cmn-bar": {
374
+ animationDelay: ".5s",
375
+ animationDuration: "1s",
376
+ animationFillMode: "forwards",
377
+ animationName: a,
378
+ animationTimingFunction: s.Easing.Default,
379
+ backgroundColor: t,
380
+ borderRadius: `${s.BorderRadius.Medium}px ${s.BorderRadius.Medium}px 0 0`,
381
+ maxHeight: e
382
+ },
383
+ "& .mx-cmn-bar-negative": {
384
+ borderRadius: `0 0 ${s.BorderRadius.Medium}px ${s.BorderRadius.Medium}px`,
385
+ marginTop: -s.Spacing.XTiny
386
+ },
387
+ "& .mx-cmn-bar-text": {
388
+ display: "flex",
389
+ justifyContent: "center",
390
+ marginBottom: s.Spacing.Tiny,
391
+ marginTop: s.Spacing.Tiny,
392
+ whiteSpace: "nowrap",
393
+ width: "100%"
394
+ }
395
+ });
396
+ }, Q = ({
397
+ ariaLabel: s,
398
+ averageLineHeight: t,
399
+ bottomHeight: e,
400
+ color: r,
401
+ index: a = -1,
402
+ onClick: o,
403
+ range: d,
404
+ selectedIndex: c,
405
+ topHeight: i,
406
+ value: u,
407
+ valueLabel: h = "",
408
+ width: f,
409
+ xAxisLabel: g = ""
410
+ }) => {
411
+ const S = x(), C = qt(S, f), D = u / d * i, v = Math.abs(u) / d * e, A = c === void 0 || c === a ? "primary" : "secondary";
412
+ return /* @__PURE__ */ m("div", { className: `mx-cmn-barchart-bar-column ${C}`, children: [
413
+ /* @__PURE__ */ n("div", { style: { height: i }, children: u >= 0 && /* @__PURE__ */ n(
414
+ W,
415
+ {
416
+ ariaLabel: s,
417
+ color: r,
418
+ height: D,
419
+ index: a,
420
+ label: h,
421
+ onClick: o,
422
+ selectedIndex: c,
423
+ value: u
424
+ }
425
+ ) }),
426
+ /* @__PURE__ */ n("div", { className: "mx-cmn-zero-line" }),
427
+ t !== 0 && /* @__PURE__ */ n("div", { className: "mx-cmn-chart-average", style: { bottom: t } }),
428
+ /* @__PURE__ */ n("div", { style: { height: e }, children: u < 0 && /* @__PURE__ */ n(
429
+ W,
430
+ {
431
+ ariaLabel: s,
432
+ color: r,
433
+ height: v,
434
+ index: a,
435
+ label: h,
436
+ onClick: o,
437
+ value: u
438
+ }
439
+ ) }),
440
+ /* @__PURE__ */ n(
441
+ "div",
442
+ {
443
+ className: `mx-cmn-bar-label ${o ? "mx-cmn-clickable" : ""}`,
444
+ onClick: o ? () => o(a) : void 0,
445
+ children: /* @__PURE__ */ n(B, { bold: c === a, color: A, variant: "Small", children: g })
446
+ }
447
+ )
448
+ ] });
449
+ }, qt = (s, t) => w({
450
+ display: "flex",
451
+ flexDirection: "column",
452
+ flexGrow: t === void 0 ? 1 : 0,
453
+ width: t,
454
+ "& .mx-cmn-chart-average": {
455
+ borderTop: `${s.Spacing.XTiny}px dotted ${s.Color.Neutral500}`,
456
+ position: "relative",
457
+ marginRight: s.Spacing.XTiny
458
+ },
459
+ "& .mx-cmn-zero-line": {
460
+ borderBottom: "1px solid text.primary",
461
+ width: "100%"
462
+ },
463
+ "& .mx-cmn-bar-label": {
464
+ minHeight: s.Spacing.Medium,
465
+ maxHeight: s.Spacing.Medium,
466
+ marginBottom: s.Spacing.XSmall,
467
+ marginTop: s.Spacing.XSmall,
468
+ textAlign: "center",
469
+ width: "100%"
470
+ },
471
+ "& .mx-cmn-clickable": {
472
+ cursor: "pointer"
473
+ }
474
+ }), Wt = (s, t) => s + t, Qt = (s, t) => Math.abs(t) > s ? Math.abs(t) : s, Yt = (s, t) => [...s, t.value], Y = (s, t, e) => {
475
+ const r = s && t ? e / 2 : e;
476
+ return s ? r : 0;
477
+ }, zt = (s, t, e, r) => s / (t < 0 ? -e : t) * r || 0, Xt = ({
478
+ average: s,
479
+ barWidth: t = "8%",
480
+ color: e,
481
+ data: r,
482
+ height: a,
483
+ legendLabelAverage: o,
484
+ legendLabelMain: d,
485
+ onBarClick: c,
486
+ selectedIndex: i,
487
+ valueFormatter: u = (h) => `${h}`
488
+ }) => {
489
+ const h = x(), f = Kt(h), g = r.reduce(Yt, []), S = s !== void 0 ? s : g.reduce(Wt, 0) / g.length, C = Math.max(...g), D = Math.min(...g), v = g.reduce(Qt, 0), A = C >= 0, R = D < 0, I = Y(A, R, a), N = Y(R, A, a), k = zt(S, C, D, I || N), et = (b) => i === void 0 || b === i ? e : `${e}80`, U = () => /* @__PURE__ */ n(
490
+ Q,
491
+ {
492
+ averageLineHeight: k,
493
+ bottomHeight: N,
494
+ color: "",
495
+ range: v,
496
+ topHeight: I,
497
+ value: 0,
498
+ width: void 0
499
+ }
500
+ );
501
+ return /* @__PURE__ */ m("div", { className: `mx-cmn-bar-chart ${f}`, children: [
502
+ /* @__PURE__ */ m("div", { className: "mx-cmn-chart-container", children: [
503
+ /* @__PURE__ */ n(U, {}),
504
+ r.map((b, F) => /* @__PURE__ */ m(Z.Fragment, { children: [
505
+ /* @__PURE__ */ n(
506
+ Q,
507
+ {
508
+ ariaLabel: b.ariaLabel,
509
+ averageLineHeight: k,
510
+ bottomHeight: N,
511
+ color: et(F),
512
+ index: F,
513
+ onClick: c,
514
+ range: v,
515
+ selectedIndex: i,
516
+ topHeight: I,
517
+ value: b.value,
518
+ valueLabel: u(b.value),
519
+ width: t,
520
+ xAxisLabel: b.label
521
+ }
522
+ ),
523
+ /* @__PURE__ */ n(U, {})
524
+ ] }, `column-${F}`))
525
+ ] }),
526
+ /* @__PURE__ */ n(Gt, { color: e, labelAverage: o, labelMain: d })
527
+ ] });
528
+ }, Kt = (s) => w({
529
+ "& .mx-cmn-chart-container": {
530
+ alignItems: "flex-end",
531
+ display: "flex",
532
+ justifyContent: "space-evenly",
533
+ marginTop: s.Spacing.Large,
534
+ marginBottom: s.Spacing.Medium
535
+ }
536
+ }), as = Xt, jt = ({
537
+ hasGap: s = !1,
538
+ segments: t,
539
+ size: e = yt,
540
+ strokeWidth: r = ft,
541
+ children: a
542
+ }) => {
543
+ const o = x(), d = Vt(o, e), c = (e - r) / 2, i = e / 2;
544
+ let u = -90 - (s ? 1 : 0), h = 0;
545
+ return /* @__PURE__ */ m("div", { className: `mx-cmn-multi-segment-donut ${d}`, children: [
546
+ /* @__PURE__ */ m("svg", { height: e, width: e, children: [
547
+ /* @__PURE__ */ n(
548
+ "circle",
549
+ {
550
+ cx: i,
551
+ cy: i,
552
+ fill: "none",
553
+ r: c,
554
+ stroke: o.Color.Neutral300,
555
+ strokeWidth: r
556
+ }
557
+ ),
558
+ t.map((f, g) => (u += 360 * h + (s ? 1 : 0), h = (f.percent - (s ? 0.3 : 0)) / 100, /* @__PURE__ */ n(
559
+ "circle",
560
+ {
561
+ cx: i,
562
+ cy: i,
563
+ fill: "none",
564
+ r: c,
565
+ stroke: f.color,
566
+ strokeDasharray: 2 * Math.PI * c,
567
+ strokeDashoffset: 2 * Math.PI * c * (1 - h),
568
+ strokeWidth: r,
569
+ transform: `rotate(${u}, ${i}, ${i})`
570
+ },
571
+ g
572
+ )))
573
+ ] }),
574
+ /* @__PURE__ */ n("div", { className: "mx-cmn-multi-segment-donut-children", children: a })
575
+ ] });
576
+ }, Vt = (s, t) => w({
577
+ height: t,
578
+ marginTop: `-${s.Spacing.XSmall}px`,
579
+ position: "relative",
580
+ width: t,
581
+ "& .mx-cmn-multi-segment-donut-children": {
582
+ left: "50%",
583
+ position: "absolute",
584
+ textAlign: "center",
585
+ top: "50%",
586
+ transform: "translate(-50%, -50%)"
587
+ }
588
+ }), os = jt, Zt = ({
589
+ icon: s,
590
+ label: t,
591
+ onClick: e,
592
+ placement: r = "bottom",
593
+ tooltipText: a,
594
+ variant: o = "text"
595
+ }) => {
596
+ const d = ut();
597
+ return /* @__PURE__ */ m(Z.Fragment, { children: [
598
+ /* @__PURE__ */ n(
599
+ ct,
600
+ {
601
+ onClick: e,
602
+ startIcon: s,
603
+ sx: {
604
+ [d.breakpoints.down("lg")]: { display: "none" },
605
+ [d.breakpoints.up("lg")]: { display: "inline-flex" }
606
+ },
607
+ title: a,
608
+ variant: o,
609
+ children: t
610
+ }
611
+ ),
612
+ /* @__PURE__ */ n(
613
+ lt,
614
+ {
615
+ describeChild: !0,
616
+ placement: r,
617
+ sx: { display: { xs: "inline-flex", lg: "none" } },
618
+ title: a,
619
+ children: /* @__PURE__ */ n(dt, { onClick: e, children: s })
620
+ }
621
+ )
622
+ ] });
623
+ }, ns = Zt;
624
+ class Jt {
625
+ globalStore;
626
+ api = new M("/", "");
627
+ copy = {};
628
+ featureNamespace = "experiences";
629
+ isInitialized = !1;
630
+ constructor(t) {
631
+ this.globalStore = t, this.api = new M(t.endpoint, t.sessionToken), _(this);
632
+ }
633
+ // DEPRECATED: Initialize api in constructor and use loadCopy instead
634
+ // TODO: Remove this function
635
+ initialize = async (t, e) => {
636
+ this.api = new M(t, e), await this.loadCopy();
637
+ };
638
+ loadCopy = async () => {
639
+ await this.getCopy(this.featureNamespace), p(() => {
640
+ this.isInitialized = !0;
641
+ });
642
+ };
643
+ getCopy = async (t, e = "") => {
644
+ try {
645
+ const r = await this.api.getGlobalCopy(t, e);
646
+ p(() => {
647
+ this.copy = r[t];
648
+ });
649
+ } catch (r) {
650
+ console.error(`Error occurred while fetching ${this.featureNamespace} copy: ${r}`);
651
+ }
652
+ };
653
+ }
654
+ class te {
655
+ globalStore;
656
+ survey = null;
657
+ currentQuestionIndex = 0;
658
+ question = null;
659
+ response = null;
660
+ responses = {};
661
+ constructor(t) {
662
+ this.globalStore = t, _(this);
663
+ }
664
+ get isLastQuestion() {
665
+ return this.currentQuestionIndex === this.surveyQuestions.length - 1;
666
+ }
667
+ get questionCount() {
668
+ return `${this.currentQuestionIndex + 1}/${this.surveyQuestions.length}`;
669
+ }
670
+ get responsePayload() {
671
+ return {
672
+ $survey_id: this.surveyId,
673
+ ...this.responses
674
+ };
675
+ }
676
+ // TODO hardcode elsewhere
677
+ get surveyId() {
678
+ return window.app?.postHogPublicKey === "phc_KclQGnOZEaYCttkpiVpuyOYeBlixGo6xNphYgWV4CXo" ? "0196caa6-9b37-0000-98a7-f04e8d56faf5" : "0196a6b0-ccde-0000-b980-0b84ea2fef4a";
679
+ }
680
+ get surveyQuestions() {
681
+ return this.survey ? this.survey.questions : [];
682
+ }
683
+ loadSurvey = (t = !1) => {
684
+ xt.getActiveMatchingSurveys((e) => {
685
+ p(() => {
686
+ if (e.length > 0) {
687
+ const r = e.find((a) => a.id === this.surveyId);
688
+ r && (this.survey = r, this.currentQuestionIndex = 0, this.question = r.questions[0], this.response = null, this.responses = {});
689
+ }
690
+ });
691
+ }, t);
692
+ };
693
+ nextQuestion = () => {
694
+ this.currentQuestionIndex < this.surveyQuestions.length - 1 && (this.currentQuestionIndex += 1), this.response = null, this.question = this.surveyQuestions[this.currentQuestionIndex];
695
+ };
696
+ resetStore = () => {
697
+ this.survey = null, this.currentQuestionIndex = 0, this.question = null, this.response = null, this.responses = {};
698
+ };
699
+ setResponse = (t) => {
700
+ this.response = t, this.question && (this.responses[`$survey_response_${this.question.id}`] = t);
701
+ };
702
+ }
703
+ class z {
704
+ fetchInstance;
705
+ constructor(t, e) {
706
+ this.fetchInstance = new y(t, e);
707
+ }
708
+ addBudget = async (t, e, r = null) => this.fetchInstance.post(l.BUDGETS, {
709
+ amount: e,
710
+ category_guid: t.guid,
711
+ category_name: t.name,
712
+ parent_guid: r
713
+ }).then((a) => a.budget).catch((a) => {
714
+ throw a;
715
+ });
716
+ deleteBudget = async (t) => this.fetchInstance.delete(`${l.BUDGETS}/${t}`).then((e) => e).catch((e) => {
717
+ throw e;
718
+ });
719
+ getBudgets = async () => this.fetchInstance.get(l.BUDGETS).then((t) => t.budgets).catch((t) => t);
720
+ updateBudget = async (t) => this.fetchInstance.put(`${l.BUDGETS}/${t.guid}`, t).then((e) => e.budget).catch((e) => {
721
+ throw e;
722
+ });
723
+ }
724
+ class ee {
725
+ api = new z("/", "");
726
+ globalStore;
727
+ alert = "";
728
+ dateRange = { start: tt(O()), end: J(O()) };
729
+ budgets = [];
730
+ selectedBudget;
731
+ selectedSubBudget;
732
+ isDataLoaded = !1;
733
+ theme = {};
734
+ constructor(t) {
735
+ this.globalStore = t, this.api = new z(t.endpoint, t.sessionToken), _(this);
736
+ }
737
+ loadBudgetData = async () => {
738
+ await this.loadBudgets(), bt(
739
+ () => this.detailedBudgets,
740
+ (t) => {
741
+ if (t) {
742
+ const e = this.selectedBudget;
743
+ e && (this.selectedBudget = Dt(t, e.guid));
744
+ const r = this.selectedSubBudget;
745
+ r && r.parent_guid && (this.selectedSubBudget = vt(
746
+ t,
747
+ r.guid,
748
+ r.parent_guid
749
+ ));
750
+ }
751
+ }
752
+ );
753
+ };
754
+ get detailedBudgets() {
755
+ return L(
756
+ this.budgets.filter(
757
+ (t) => t.category_guid !== E.INCOME && t.category_guid !== E.TRANSFER && t.category_guid !== E.INVESTMENTS
758
+ ),
759
+ this.globalStore.categoryStore.detailedCategories,
760
+ this.globalStore.copyStore.copy.budgets,
761
+ this.theme
762
+ ).sort((t, e) => t.percentage > e.percentage ? -1 : t.percentage < e.percentage ? 1 : 0);
763
+ }
764
+ get incomeBudget() {
765
+ return L(
766
+ this.budgets.filter((r) => !r.parent_guid),
767
+ this.globalStore.categoryStore.detailedCategories,
768
+ this.globalStore.copyStore.copy.budgets,
769
+ this.theme
770
+ ).reduce(
771
+ (r, a) => a.category_guid !== E.INCOME ? r : !r || a.percentage > r.percentage ? a : r,
772
+ void 0
773
+ )?.amount;
774
+ }
775
+ get unbudgetedCategories() {
776
+ return this.globalStore.categoryStore.spendCategories.filter(
777
+ (t) => !this.detailedBudgets.find((e) => e.category_guid === t.guid)
778
+ );
779
+ }
780
+ get totalBudgeted() {
781
+ return this.detailedBudgets.reduce((t, e) => t + e.amount, 0);
782
+ }
783
+ addBudget = async (t, e, r = null) => {
784
+ try {
785
+ const a = await this.api.addBudget(t, e, r);
786
+ p(() => {
787
+ this.budgets.push(a);
788
+ });
789
+ } catch (a) {
790
+ console.error(`Error adding budget: ${a}`);
791
+ }
792
+ };
793
+ deleteBudget = async (t) => {
794
+ try {
795
+ await this.api.deleteBudget(t), p(() => {
796
+ const e = this.budgets.findIndex((r) => r.guid === t);
797
+ e >= 0 && this.budgets.splice(e, 1);
798
+ });
799
+ } catch (e) {
800
+ console.error(`Error deleting budget: ${e}`);
801
+ }
802
+ };
803
+ loadBudgets = async () => {
804
+ try {
805
+ const t = await this.api.getBudgets();
806
+ p(() => {
807
+ this.budgets = t, this.isDataLoaded = !0;
808
+ });
809
+ } catch (t) {
810
+ throw console.error(`Error occurred while loading budgets: ${t}`), t;
811
+ }
812
+ };
813
+ setAlert = (t) => this.alert = t;
814
+ setDateRange = (t) => this.dateRange = t;
815
+ setSelectedBudget = (t) => this.selectedBudget = t;
816
+ setSelectedSubBudget = (t) => this.selectedSubBudget = t;
817
+ setTheme = (t) => this.theme = t;
818
+ /**
819
+ * Recalculate budget by using the average amount from top-level categories
820
+ * @param categories Detailed categories
821
+ */
822
+ recalculateBudgets = async (t) => {
823
+ try {
824
+ for (const r of t) {
825
+ const a = this.budgets.find((o) => o.category_guid === r.guid);
826
+ a ? await this.api.updateBudget({
827
+ ...a,
828
+ amount: r.totalAverageAmount
829
+ }) : await this.api.addBudget(r, r.totalAverageAmount);
830
+ }
831
+ const e = this.budgets.filter(
832
+ (r) => !t.find((a) => a.guid === r.category_guid)
833
+ );
834
+ for (const r of e)
835
+ await this.api.deleteBudget(r.guid);
836
+ return await this.loadBudgets(), { data: this.budgets, isSuccess: !0 };
837
+ } catch (e) {
838
+ return console.error("error recalculating budgets", e), { data: [], isSuccess: !1 };
839
+ }
840
+ };
841
+ updateBudget = async (t) => {
842
+ try {
843
+ const e = await this.api.updateBudget(t);
844
+ p(() => {
845
+ const r = this.budgets.findIndex((a) => a.guid === t.guid);
846
+ r >= 0 && (this.budgets[r] = e);
847
+ });
848
+ } catch (e) {
849
+ console.error(`Error updating budget: ${e}`);
850
+ }
851
+ };
852
+ }
853
+ var se = /* @__PURE__ */ ((s) => (s[s.UNKNOWN = 0] = "UNKNOWN", s[s.CORRECT = 1] = "CORRECT", s[s.INCORRECT = 2] = "INCORRECT", s))(se || {}), re = /* @__PURE__ */ ((s) => (s.Missed = "Missed", s.Paid = "Paid", s.Upcoming = "Upcoming expense", s.Income = "Income", s))(re || {}), ae = /* @__PURE__ */ ((s) => (s[s.Unknown = 0] = "Unknown", s[s.Subscription = 1] = "Subscription", s[s.Bill = 2] = "Bill", s))(ae || {}), oe = /* @__PURE__ */ ((s) => (s.Desktop = "Desktop", s.Mobile = "Mobile", s))(oe || {});
854
+ class X {
855
+ fetchInstance;
856
+ constructor(t, e) {
857
+ this.fetchInstance = new y(t, e);
858
+ }
859
+ createSupportTicket = async (t) => this.fetchInstance.post(l.SUPPORT_TICKETS, t).then((e) => e);
860
+ }
861
+ const ne = (s, t) => s.guid === "general" || s.guid === "insights" ? !0 : s.flags ? s.flags.every((e) => t[e]) : !1, ie = (s, t) => {
862
+ const e = [];
863
+ for (const r of ot) {
864
+ const a = t[r.guid];
865
+ if (!a) continue;
866
+ const o = {
867
+ ...r,
868
+ title: a.label,
869
+ topics: r.topics.map(({ topicKey: d }, c) => ({
870
+ topicKey: d,
871
+ label: a.topics[c]
872
+ }))
873
+ };
874
+ ne(o, s) && e.push(o);
875
+ }
876
+ return e;
877
+ };
878
+ class ce {
879
+ alert = { message: "", severity: void 0 };
880
+ api = new X("/", "");
881
+ appConfig;
882
+ globalStore;
883
+ isLoading = !1;
884
+ constructor(t) {
885
+ this.globalStore = t, this.api = new X(t.endpoint, t.sessionToken), _(this);
886
+ }
887
+ createSupportTicket = async (t) => {
888
+ try {
889
+ this.isLoading = !0, await this.api.createSupportTicket(t), this.setAlert(this.copy.request_support_submit_success_message, "success");
890
+ } catch (e) {
891
+ this.setAlert(this.copy.request_support_submit_failure_message, "error"), console.error("Error occurred while submitting:", e);
892
+ } finally {
893
+ this.isLoading = !1;
894
+ }
895
+ };
896
+ setAlert = (t, e = void 0) => this.alert = { message: t, severity: e };
897
+ get copy() {
898
+ return this.globalStore.copyStore.copy.help;
899
+ }
900
+ get helpCategories() {
901
+ const { client_communication_profile: t, client_profile: e } = this.globalStore.appDataStore.appData, {
902
+ help: { category_list: r }
903
+ } = this.globalStore.copyStore.copy;
904
+ return ie(
905
+ {
906
+ ...t,
907
+ ...e,
908
+ ...this.globalStore.appConfig.config
909
+ },
910
+ r
911
+ );
912
+ }
913
+ }
914
+ class K {
915
+ fetchInstance;
916
+ constructor(t, e) {
917
+ this.fetchInstance = new y(t, e);
918
+ }
919
+ getHoldings = async () => this.fetchInstance.get(l.HOLDINGS).then((t) => t.holdings);
920
+ updateHoldings = async (t) => this.fetchInstance.put(`${l.HOLDINGS}/${t.guid}`, t).then((e) => e.holding);
921
+ }
922
+ class de {
923
+ analysisType = Tt.Stocks;
924
+ api = new K("/", "");
925
+ holdings = [];
926
+ holdingsLoaded = !1;
927
+ globalStore;
928
+ showConnectionsWidget = !1;
929
+ constructor(t) {
930
+ this.globalStore = t, this.api = new K(t.endpoint, t.sessionToken), _(this);
931
+ }
932
+ get analysisChartData() {
933
+ return Bt(It(this.visibleHoldings), this.analysisType);
934
+ }
935
+ get analysisDetails() {
936
+ return Nt(this.visibleHoldings)[this.analysisType] || {};
937
+ }
938
+ get visibleHoldings() {
939
+ return this.holdings.filter(
940
+ (t) => this.globalStore.globalUiStore.selectedAccountGuids.includes(t.account_guid)
941
+ );
942
+ }
943
+ setShowConnectionsWidget = (t) => {
944
+ this.showConnectionsWidget = t;
945
+ };
946
+ loadHoldings = async () => {
947
+ try {
948
+ const t = await this.api.getHoldings();
949
+ p(() => {
950
+ this.holdings = [...t], this.holdingsLoaded = !0;
951
+ });
952
+ } catch (t) {
953
+ console.error(`Error occured while getting holdings: ${t}`);
954
+ }
955
+ };
956
+ setAnalysisType = (t) => {
957
+ this.analysisType = t;
958
+ };
959
+ updateHoldings = async (t) => {
960
+ this.holdingsLoaded = !1;
961
+ try {
962
+ const e = await this.api.updateHoldings(t), r = this.holdings.findIndex(({ guid: a }) => a === t.guid);
963
+ if (r >= 0) {
964
+ const a = [...this.holdings];
965
+ a[r] = e, p(() => {
966
+ this.holdings = a, this.holdingsLoaded = !0;
967
+ });
968
+ }
969
+ } catch (e) {
970
+ console.error(`Error occurred while updating holding: ${e}`);
971
+ }
972
+ };
973
+ }
974
+ const j = {
975
+ clientConfig: {},
976
+ clientStyleProfile: {},
977
+ config: {
978
+ assets_prefix: "/assets",
979
+ bundle: "widgetLoader",
980
+ client_guid: "",
981
+ dashboard_accounts_index: 6,
982
+ dashboard_accounts_location: 0,
983
+ dashboard_activity_index: 2,
984
+ dashboard_activity_location: 0,
985
+ dashboard_budgets_index: 5,
986
+ dashboard_budgets_location: 1,
987
+ dashboard_cash_flow_index: 0,
988
+ dashboard_cash_flow_location: 0,
989
+ dashboard_connect_index: 7,
990
+ dashboard_connect_location: 1,
991
+ dashboard_insights_index: 3,
992
+ dashboard_insights_location: 1,
993
+ dashboard_spending_index: 1,
994
+ dashboard_spending_location: 1,
995
+ dashboard_trends_index: 4,
996
+ dashboard_trends_location: 0,
997
+ display_account_number_in_accounts: !0,
998
+ display_add_manual_transaction_in_transactions: !0,
999
+ display_available_balance_in_accounts: !0,
1000
+ display_email_edit_field_in_settings: !0,
1001
+ display_mobile_devices_in_settings: !0,
1002
+ display_notification_settings_in_settings: !0,
1003
+ display_only_external_accounts_in_accounts: !1,
1004
+ display_password_options_in_settings: !0,
1005
+ display_sms_edit_field_in_settings: !0,
1006
+ display_terms_and_conditions: !0,
1007
+ display_user_profile_in_settings: !0,
1008
+ display_user_transaction_rules_in_settings: !0,
1009
+ enable_add_account_in_zero_state: !0,
1010
+ enable_aggregation_prompts: !0,
1011
+ enable_external_accounts_in_goals_widget: !0,
1012
+ enable_funds_transfers_in_goals_widget: !1,
1013
+ enable_manual_accounts: !0,
1014
+ enable_mark_account_closed_for_held_accounts: !0,
1015
+ enable_mark_account_duplicate_for_held_accounts: !0,
1016
+ enable_renaming_home_accounts: !0,
1017
+ enable_support_requests: !1,
1018
+ language: "en-US",
1019
+ product_name: "Money Dashboard",
1020
+ session_token: "",
1021
+ show_account_nicknames_in_master: !1,
1022
+ show_accounts_widget_in_master: !0,
1023
+ show_budgets_widget_in_master: !0,
1024
+ show_carousel_card_border_in_pulse_micro_widget: !1,
1025
+ show_cash_flow_widget_in_master: !0,
1026
+ show_connections_widget_in_master: !0,
1027
+ show_cta_colocated_with_text_in_pulse_micro_widget: !0,
1028
+ show_debts_widget_in_master: !0,
1029
+ show_finstrong_widget_in_master: !0,
1030
+ show_full_experience_link_in_pulse_micro_widget: !1,
1031
+ show_full_experience_link_in_pulse_mini_widget: !1,
1032
+ show_goals_widget_in_master: !0,
1033
+ show_help_widget_in_master: !0,
1034
+ show_horizontal_padding_in_pulse_micro_widget: !0,
1035
+ show_icon_in_pulse_micro_widget: !0,
1036
+ show_insights_widget_in_master: !0,
1037
+ show_investments_widget_in_master: !1,
1038
+ show_mx_branding: !0,
1039
+ show_navigation_controls_in_pulse_micro_widget: !0,
1040
+ show_net_worth_widget_in_master: !0,
1041
+ show_notifications_widget_in_master: !0,
1042
+ show_recurring_transactions_widget_in_master: !0,
1043
+ show_settings_widget_in_master: !0,
1044
+ show_spending_plan_widget_in_master: !1,
1045
+ show_spending_widget_in_master: !0,
1046
+ show_transactions_widget_in_master: !0,
1047
+ show_trends_widget_in_master: !0,
1048
+ type: "money-dashboard",
1049
+ websocket: {
1050
+ hmac: "",
1051
+ token: "",
1052
+ url: ""
1053
+ },
1054
+ widgets_display_name: "Money Dashboard "
1055
+ },
1056
+ honeyBadgerPublicKey: "",
1057
+ options: {
1058
+ assets_prefix: "/assets",
1059
+ brokaw_auth: {
1060
+ token: "",
1061
+ hmac: "",
1062
+ url: ""
1063
+ },
1064
+ brokaw_websocket_url: "",
1065
+ bundle: "widgetLoader",
1066
+ custom_copy_namespace: "",
1067
+ language: "en-US",
1068
+ product_name: "Master Widget",
1069
+ session_token: "",
1070
+ subtype: "master",
1071
+ type: "money_dashboard"
1072
+ },
1073
+ postHogPublicKey: "phc_1fVYJICC69TpW4wagp9o2XqQ8E7X98cAmcR5psSpfkE",
1074
+ userFeatures: []
1075
+ };
1076
+ class V {
1077
+ fetchInstance;
1078
+ constructor(t, e) {
1079
+ this.fetchInstance = new y(t, e);
1080
+ }
1081
+ getAppData = async () => this.fetchInstance.get(l.APP_DATA).then((t) => t);
1082
+ }
1083
+ class le {
1084
+ globalStore;
1085
+ api = new V("/", "");
1086
+ bannerApi = new P("/");
1087
+ appData = {};
1088
+ banner = {};
1089
+ constructor(t) {
1090
+ this.globalStore = t, this.api = new V(t.endpoint, t.sessionToken), _(this);
1091
+ }
1092
+ get appConfig() {
1093
+ return this.globalStore.appConfig;
1094
+ }
1095
+ get clientCommunicationProfile() {
1096
+ return this.appData.client_communication_profile;
1097
+ }
1098
+ get clientInsightProfile() {
1099
+ return this.appData.client_insight_profile;
1100
+ }
1101
+ get user() {
1102
+ return this.appData.user;
1103
+ }
1104
+ get userCommunicationProfile() {
1105
+ return this.appData.user_communication_profile;
1106
+ }
1107
+ get userProfile() {
1108
+ return this.appData.user_profile;
1109
+ }
1110
+ loadAppData = async (t) => {
1111
+ try {
1112
+ const e = t || await this.api.getAppData();
1113
+ p(() => {
1114
+ this.appData = e, this.bannerApi = new P(e.address?.bullseye || "/");
1115
+ });
1116
+ } catch (e) {
1117
+ console.error(`Error loading app data: ${e}`);
1118
+ }
1119
+ };
1120
+ loadBanner = async () => {
1121
+ try {
1122
+ const t = this.user?.guid ?? null, e = t ? await this.bannerApi.getBanner(t) : {};
1123
+ p(() => {
1124
+ this.banner = e;
1125
+ });
1126
+ } catch (t) {
1127
+ console.error(`Error loading banner: ${t}`);
1128
+ }
1129
+ };
1130
+ setUser = (t) => this.appData.user = t;
1131
+ setUserCommunicationProfile = (t) => this.appData.user_communication_profile = t;
1132
+ setUserProfile = (t) => this.appData.user_profile = t;
1133
+ }
1134
+ class ue {
1135
+ globalStore;
1136
+ widgetApi = new q("/", "");
1137
+ constructor(t) {
1138
+ this.globalStore = t, this.widgetApi = new q(t.endpoint, t.sessionToken), _(this);
1139
+ }
1140
+ loadWidget = async ({ widget: t = "connect_widget", mode: e = "light", ...r }) => await this.widgetApi.requestWidgetUrl({
1141
+ widget_url: { widget_type: t, color_scheme: e, ...r }
1142
+ });
1143
+ }
1144
+ class he {
1145
+ globalStore;
1146
+ isInitialized = !1;
1147
+ selectedAccounts = [];
1148
+ selectedAccountGuids = this.selectedAccounts.map((t) => t.guid);
1149
+ displayedDate = /* @__PURE__ */ new Date();
1150
+ displayedDateRange = {
1151
+ start: tt(this.displayedDate),
1152
+ end: J(this.displayedDate)
1153
+ };
1154
+ constructor(t) {
1155
+ _(this), this.globalStore = t;
1156
+ }
1157
+ get isCopyLoaded() {
1158
+ return this.globalStore.copyStore.isInitialized;
1159
+ }
1160
+ setInitialized = (t) => {
1161
+ this.isInitialized = t;
1162
+ };
1163
+ // for the global account filter
1164
+ // if excluded from 1 widget, excluded from all
1165
+ setSelectedAccounts = (t) => {
1166
+ this.selectedAccounts = t.filter(
1167
+ (e) => !(e.is_excluded_from_accounts || e.is_excluded_from_budgets || e.is_excluded_from_cash_flow || e.is_excluded_from_debts || e.is_excluded_from_goals || e.is_excluded_from_investments || e.is_excluded_from_net_worth || e.is_excluded_from_spending || e.is_excluded_from_transactions || e.is_excluded_from_trends)
1168
+ ), this.selectedAccountGuids = this.selectedAccounts.map((e) => e.guid);
1169
+ };
1170
+ // Sets an array of selected account guids for the AccountFilter component
1171
+ setSelectedAccountGuids = async (t) => {
1172
+ const e = new Set(this.selectedAccountGuids), r = new Set(t), a = [...r].filter((d) => !e.has(d)), o = [...e].filter((d) => !r.has(d));
1173
+ a.length > 0 && this.globalStore.accountStore.updateAccountFiltering(a, !1), o.length > 0 && this.globalStore.accountStore.updateAccountFiltering(o, !0), this.selectedAccountGuids = t;
1174
+ };
1175
+ setDisplayedDate = (t, e) => {
1176
+ this.displayedDate = e, this.displayedDateRange = {
1177
+ start: t,
1178
+ end: e
1179
+ };
1180
+ };
1181
+ get shouldDisableNextDate() {
1182
+ const t = T(this.displayedDate), e = T(Rt(/* @__PURE__ */ new Date(), 1));
1183
+ return t === e;
1184
+ }
1185
+ get shouldDisablePrevDate() {
1186
+ const t = T(this.displayedDate), e = T(/* @__PURE__ */ new Date());
1187
+ return t === e;
1188
+ }
1189
+ }
1190
+ class ge {
1191
+ globalStore;
1192
+ api = new $("/", "");
1193
+ userFeatures = [];
1194
+ constructor(t) {
1195
+ this.globalStore = t, this.api = new $(t.endpoint, t.sessionToken), _(this);
1196
+ }
1197
+ // DEPRECATED: Initialize api in constructor and use loadUserFeatures instead
1198
+ // TODO: Remove this function
1199
+ initialize = async (t, e) => {
1200
+ this.api = new $(t, e), await this.loadUserFeatures();
1201
+ };
1202
+ get userProfile() {
1203
+ return this.globalStore.appDataStore.userProfile;
1204
+ }
1205
+ get user() {
1206
+ return this.globalStore.appDataStore.user;
1207
+ }
1208
+ loadUserFeatures = async (t) => {
1209
+ try {
1210
+ const e = t || await this.api.getUserFeatures();
1211
+ p(() => {
1212
+ this.userFeatures = e;
1213
+ });
1214
+ } catch (e) {
1215
+ console.error(`Error occurred while loading user features: ${e}`);
1216
+ }
1217
+ };
1218
+ updateUser = async (t) => {
1219
+ try {
1220
+ const e = await this.api.updateUser(t);
1221
+ this.globalStore.appDataStore.setUser(e);
1222
+ } catch (e) {
1223
+ console.error(`Error updating User: ${e}`);
1224
+ }
1225
+ };
1226
+ updateUserProfile = async (t) => {
1227
+ try {
1228
+ const e = await this.api.updateUserProfile(t);
1229
+ this.globalStore.appDataStore.setUserProfile(e);
1230
+ } catch (e) {
1231
+ console.error(`Error occurred while updating user profile: ${e}`);
1232
+ }
1233
+ };
1234
+ }
1235
+ class is {
1236
+ // Global properties
1237
+ appConfig = j;
1238
+ endpoint = "/";
1239
+ sessionToken = "";
1240
+ // Data Stores
1241
+ accountStore;
1242
+ appDataStore;
1243
+ analyticsStore;
1244
+ beatStore;
1245
+ budgetsStore;
1246
+ cashflowStore;
1247
+ categoryStore;
1248
+ connectStore;
1249
+ copyStore;
1250
+ debtsStore;
1251
+ finstrongStore;
1252
+ goalStore;
1253
+ helpStore;
1254
+ holdingStore;
1255
+ merchantStore;
1256
+ netWorthStore;
1257
+ notificationStore;
1258
+ recurringTransactionsStore;
1259
+ settingsStore;
1260
+ transactionStore;
1261
+ trendsStore;
1262
+ userStore;
1263
+ // UI Stores
1264
+ globalUiStore;
1265
+ constructor(t = j, e = "/") {
1266
+ this.appConfig = t, this.endpoint = e, this.sessionToken = t.options.session_token ?? "", this.accountStore = new wt(this), this.appDataStore = new le(this), this.analyticsStore = new te(this), this.beatStore = new Ct(this), this.budgetsStore = new ee(this), this.cashflowStore = new gt(this), this.categoryStore = new st(this), this.connectStore = new ue(this), this.copyStore = new Jt(this), this.debtsStore = new At(this), this.finstrongStore = new Et(this), this.goalStore = new pt(this), this.helpStore = new ce(this), this.holdingStore = new de(this), this.merchantStore = new Ft(this), this.netWorthStore = new Mt(this), this.notificationStore = new rt(this), this.recurringTransactionsStore = new St(this), this.settingsStore = new $t(this), this.transactionStore = new ht(this), this.trendsStore = new _t(this), this.userStore = new ge(this), this.globalUiStore = new he(this), _(this);
1267
+ }
1268
+ get isInitialized() {
1269
+ return this.globalUiStore.isInitialized;
1270
+ }
1271
+ loadData = async ({
1272
+ accounts: t,
1273
+ appData: e,
1274
+ associatedBeats: r,
1275
+ categories: a,
1276
+ institutions: o,
1277
+ transactionRules: d,
1278
+ transactions: c,
1279
+ userFeatures: i
1280
+ } = {}) => {
1281
+ await Promise.all([
1282
+ // Load copy, config and quser data
1283
+ this.copyStore.loadCopy(),
1284
+ this.appDataStore.loadAppData(e),
1285
+ this.userStore.loadUserFeatures(i)
1286
+ ]), await Promise.all([
1287
+ this.accountStore.loadAccountData({ accounts: t, institutions: o }),
1288
+ this.categoryStore.loadCategories(a),
1289
+ this.transactionStore.loadTransactionData({
1290
+ associatedBeats: r,
1291
+ transactionRules: d,
1292
+ transactions: c
1293
+ })
1294
+ ]), this.globalUiStore.setInitialized(!0);
1295
+ };
1296
+ }
80
1297
  export {
81
- Ye as ANALYTICS_EVENTS,
82
- xe as AccountFilter,
83
- mt as AccountIcon,
84
- ut as AccountIconVariants,
85
- Ut as AccountNotificationTypes,
86
- xt as AccountSubType,
87
- lt as AccountType,
88
- ct as AccountTypeName,
89
- t as AnalyticsApi,
90
- We as ApiEndpoints,
91
- a as BannerApi,
92
- ce as BarChart,
93
- p as BeatApi,
94
- Bt as BudgetNotificationTypes,
95
- Ce as Calendar,
96
- de as CalendarSelectionTypes,
97
- f as CategoryApi,
98
- Je as CategoryColors,
99
- Qe as CategoryGuidToName,
100
- Xe as CategoryGuids,
101
- $e as CategoryIcon,
102
- J as ConnectCard,
103
- L as ConnectDrawer,
104
- St as ConnectionStatus,
105
- Ct as ConnectionStatusEnums,
106
- to as CurrencyCodes,
107
- G as CurrencyInput,
108
- X as CurrencyText,
109
- we as DATE_FORMATS_INTL,
110
- uo as DEFAULT_DONUT_SIZE,
111
- xo as DEFAULT_STROKE_WIDTH,
112
- q as DataRow,
113
- _e as DateRangeSelector,
114
- be as Dialog,
115
- ye as Donut,
116
- Be as Drawer,
117
- ee as EmptyState,
118
- N as ErrorBoundary,
119
- dt as ErrorStatuses,
120
- _t as ExpenseStatus,
121
- nr as Fetch,
122
- zt as Frequency,
123
- m as GlobalCopyApi,
124
- at as GlobalCopyStore,
125
- Vo as GlobalDataContext,
126
- zo as GlobalDataProvider,
127
- pt as GlobalStore,
128
- Lt as GoalType,
129
- qe as INCOME_ACCOUNT_TYPES,
130
- z as IconBacking,
131
- Z as InformationTooltip,
132
- Mt as InsightNotificationTypes,
133
- so as IterationItemTypes,
134
- fo as LOADING_STATUS,
135
- Ae as LineChart,
136
- te as ListItemAction,
137
- ae as ListItemWrapper,
138
- U as Loader,
139
- x as LocalizedCopyApi,
140
- Ot as MetaType,
141
- Tt as MfaStatuses,
142
- D as MicroWidgetContainer,
143
- P as MiniWidgetContainer,
144
- Oe as MultiSegmentDonut,
145
- yt as NonConnectedStatuses,
146
- c as NotificationApi,
147
- Wt as NotificationTypes,
148
- He as ORDINAL_DATE_FORMAT,
149
- Ve as ORDINAL_MONTH_DAY_YEAR_FORMAT,
150
- Ke as PAYMENT_ACCOUNT_TYPES,
151
- eo as PaymentCategories,
152
- io as PlanTypes,
153
- gt as ProcessingStatuses,
154
- At as PropertyType,
155
- Nt as PropertyTypeName,
156
- ao as RECURRENCE_COPY,
157
- kt as RecurrenceStatus,
158
- qt as RecurrenceType,
159
- no as RecurrenceTypes,
160
- Kt as RepeatingType,
161
- M as ResponsiveButton,
162
- Ze as SPENDING_ACCOUNT_TYPES,
163
- Rt as ScheduledPaymentTypes,
164
- C as ScheduledPaymentsApi,
165
- Ht as ScreenSize,
166
- F as SearchBox,
167
- pe as Select,
168
- v as SelectionBox,
169
- he as SingleSegmentDonut,
170
- co as Sizes,
171
- Ee as StackedLineChart,
172
- Ie as StatusBar,
173
- Et as StatusName,
174
- So as TOUCH_TARGET,
175
- H as TabContentContainer,
176
- fe as ToggleButtonListItem,
177
- me as ToggleListItem,
178
- Gt as TrackType,
179
- Yt as TransactionStatus,
180
- vt as TransactionType,
181
- T as UserApi,
182
- ft as UserStore,
183
- It as UserVerification,
184
- g as WidgetApi,
185
- R as WidgetContainer,
186
- qo as WidgetContainerContext,
187
- Ko as WidgetContainerProvider,
188
- jt as analyticsSession,
189
- sr as buildDynamicCopy,
190
- fr as buildPluralCopy,
191
- ur as formatCurrency,
192
- ze as formatDate,
193
- xr as formatOrdinal,
194
- lr as formatPercentage,
195
- rr as fromTimestampToMonthYear,
196
- Qt as getCategory,
197
- Xt as getCategoryTotalsByParent,
198
- dr as getClientTheme,
199
- cr as getCurrencyCodes,
200
- $t as getDetailedCategory,
201
- er as getDetailedSubCategory,
202
- ir as getLocale,
203
- or as isIncome,
204
- Sr as isValidNumber,
205
- To as useAccountStore,
206
- yo as useAppConfig,
207
- go as useBudgetsStore,
208
- Ao as useCashflowStore,
209
- No as useCategoryStore,
210
- jo as useCombineEvents,
211
- Jo as useCombinePageviews,
212
- Eo as useDebtStore,
213
- Do as useEvent,
214
- Io as useFinstrongStore,
215
- Po as useGlobalCopyStore,
216
- _o as useGlobalStore,
217
- Ro as useGlobalUiStore,
218
- bo as useGoalStore,
219
- Lo as useHelpStore,
220
- Oo as useHoldingStore,
221
- Xo as useInsightsEnabled,
222
- Go as useMerchantStore,
223
- ho as useNetWorthStore,
224
- Uo as useNotificationStore,
225
- Bo as usePageView,
226
- tt as usePrevious,
227
- Mo as useRecurringTransactionsStore,
228
- et as useScreenSize,
229
- Wo as useSettingsStore,
230
- Fo as useTransactionStore,
231
- Yo as useTrendsStore,
232
- vo as useUserStore,
233
- wo as useWidgetContainerProvider
1298
+ Fs as ANALYTICS_EVENTS,
1299
+ ks as AccountFilter,
1300
+ Us as AccountIcon,
1301
+ Os as AccountIconVariants,
1302
+ Nr as AccountNotificationTypes,
1303
+ Ls as AccountSubType,
1304
+ Gs as AccountType,
1305
+ Hs as AccountTypeName,
1306
+ ls as AnalyticsApi,
1307
+ l as ApiEndpoints,
1308
+ P as BannerApi,
1309
+ as as BarChart,
1310
+ ms as BeatApi,
1311
+ Fr as BudgetNotificationTypes,
1312
+ ws as Calendar,
1313
+ xs as CalendarSelectionTypes,
1314
+ ys as CategoryApi,
1315
+ ia as CategoryColors,
1316
+ ca as CategoryGuidToName,
1317
+ E as CategoryGuids,
1318
+ da as CategoryIcon,
1319
+ br as ConnectCard,
1320
+ Ps as ConnectDrawer,
1321
+ qs as ConnectionStatus,
1322
+ Ws as ConnectionStatusEnums,
1323
+ ha as CurrencyCodes,
1324
+ Js as CurrencyInput,
1325
+ vr as CurrencyText,
1326
+ zr as DATE_FORMATS_INTL,
1327
+ yt as DEFAULT_DONUT_SIZE,
1328
+ ft as DEFAULT_STROKE_WIDTH,
1329
+ ur as DataRow,
1330
+ Ms as DateRangeSelector,
1331
+ Xr as Dialog,
1332
+ Or as Donut,
1333
+ ea as Drawer,
1334
+ Er as EmptyState,
1335
+ As as ErrorBoundary,
1336
+ Qs as ErrorStatuses,
1337
+ re as ExpenseStatus,
1338
+ y as Fetch,
1339
+ hr as Frequency,
1340
+ M as GlobalCopyApi,
1341
+ Jt as GlobalCopyStore,
1342
+ xa as GlobalDataContext,
1343
+ Ca as GlobalDataProvider,
1344
+ is as GlobalStore,
1345
+ wr as GoalType,
1346
+ ra as INCOME_ACCOUNT_TYPES,
1347
+ dr as IconBacking,
1348
+ fr as InformationTooltip,
1349
+ Mr as InsightNotificationTypes,
1350
+ Lt as IterationItemTypes,
1351
+ Je as LOADING_STATUS,
1352
+ Gr as LineChart,
1353
+ Br as ListItemAction,
1354
+ Cs as ListItemWrapper,
1355
+ er as Loader,
1356
+ es as LocalizedCopyApi,
1357
+ xr as MetaType,
1358
+ Ys as MfaStatuses,
1359
+ Ts as MicroWidgetContainer,
1360
+ Is as MiniWidgetContainer,
1361
+ os as MultiSegmentDonut,
1362
+ zs as NonConnectedStatuses,
1363
+ Ss as NotificationApi,
1364
+ $r as NotificationTypes,
1365
+ Kr as ORDINAL_DATE_FORMAT,
1366
+ jr as ORDINAL_MONTH_DAY_YEAR_FORMAT,
1367
+ aa as PAYMENT_ACCOUNT_TYPES,
1368
+ la as PaymentCategories,
1369
+ Ot as PlanTypes,
1370
+ Xs as ProcessingStatuses,
1371
+ Ks as PropertyType,
1372
+ js as PropertyTypeName,
1373
+ Ze as RECURRENCE_COPY,
1374
+ gr as RecurrenceStatus,
1375
+ pr as RecurrenceType,
1376
+ Ut as RecurrenceTypes,
1377
+ mr as RepeatingType,
1378
+ ns as ResponsiveButton,
1379
+ oa as SPENDING_ACCOUNT_TYPES,
1380
+ ae as ScheduledPaymentTypes,
1381
+ ss as ScheduledPaymentsApi,
1382
+ oe as ScreenSize,
1383
+ rr as SearchBox,
1384
+ _r as Select,
1385
+ or as SelectionBox,
1386
+ Jr as SingleSegmentDonut,
1387
+ Sa as Sizes,
1388
+ Pr as StackedLineChart,
1389
+ Qr as StatusBar,
1390
+ Vs as StatusName,
1391
+ ba as TOUCH_TARGET,
1392
+ ir as TabContentContainer,
1393
+ Rr as ToggleButtonListItem,
1394
+ kr as ToggleListItem,
1395
+ Cr as TrackType,
1396
+ Ds as TransactionStatus,
1397
+ at as TransactionType,
1398
+ $ as UserApi,
1399
+ ge as UserStore,
1400
+ se as UserVerification,
1401
+ q as WidgetApi,
1402
+ $s as WidgetContainer,
1403
+ Da as WidgetContainerContext,
1404
+ va as WidgetContainerProvider,
1405
+ us as analyticsSession,
1406
+ io as buildDynamicCopy,
1407
+ co as buildPluralCopy,
1408
+ ga as formatCurrency,
1409
+ Vr as formatDate,
1410
+ pa as formatOrdinal,
1411
+ ma as formatPercentage,
1412
+ oo as fromTimestampToMonthYear,
1413
+ Ja as getCategory,
1414
+ to as getCategoryTotalsByParent,
1415
+ ts as getClientTheme,
1416
+ _a as getCurrencyCodes,
1417
+ eo as getDetailedCategory,
1418
+ so as getDetailedSubCategory,
1419
+ lo as getLocale,
1420
+ ro as isIncome,
1421
+ ya as isValidNumber,
1422
+ Aa as useAccountStore,
1423
+ Ea as useAppConfig,
1424
+ Ta as useBudgetsStore,
1425
+ Ba as useCashflowStore,
1426
+ Ia as useCategoryStore,
1427
+ hs as useCombineEvents,
1428
+ gs as useCombinePageviews,
1429
+ Na as useDebtStore,
1430
+ Fa as useEvent,
1431
+ Ma as useFinstrongStore,
1432
+ $a as useGlobalCopyStore,
1433
+ Ra as useGlobalStore,
1434
+ ka as useGlobalUiStore,
1435
+ Ua as useGoalStore,
1436
+ Oa as useHelpStore,
1437
+ La as useHoldingStore,
1438
+ qr as useInsightsEnabled,
1439
+ Ga as useMerchantStore,
1440
+ Ha as useNetWorthStore,
1441
+ Pa as useNotificationStore,
1442
+ qa as usePageView,
1443
+ rs as usePrevious,
1444
+ Wa as useRecurringTransactionsStore,
1445
+ Va as useScreenSize,
1446
+ Qa as useSettingsStore,
1447
+ Ya as useTransactionStore,
1448
+ za as useTrendsStore,
1449
+ Xa as useUserStore,
1450
+ Ka as useWidgetContainerProvider
234
1451
  };