@mx-cartographer/experiences 9.2.4-alpha.al0 → 9.3.0-alpha.bb1

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 (1802) hide show
  1. package/CHANGELOG.md +0 -12
  2. package/dist/accounts/AccountsMiniWidget/index.es.js +56 -0
  3. package/dist/accounts/AccountsMiniWidget/index.es.js.map +1 -0
  4. package/dist/accounts/AccountsWidget/index.es.js +75 -0
  5. package/dist/accounts/AccountsWidget/index.es.js.map +1 -0
  6. package/dist/accounts/ConnectMiniWidget/index.es.js +35 -0
  7. package/dist/accounts/ConnectMiniWidget/index.es.js.map +1 -0
  8. package/dist/accounts/components/AccountListItem/index.es.js +91 -0
  9. package/dist/accounts/components/AccountListItem/index.es.js.map +1 -0
  10. package/dist/accounts/components/AccountsList/index.es.js +129 -0
  11. package/dist/accounts/components/AccountsList/index.es.js.map +1 -0
  12. package/dist/accounts/components/AccountsListCompact/index.es.js +86 -0
  13. package/dist/accounts/components/AccountsListCompact/index.es.js.map +1 -0
  14. package/dist/accounts/components/ConnectImage/index.es.js +388 -0
  15. package/dist/accounts/components/ConnectImage/index.es.js.map +1 -0
  16. package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js +27 -0
  17. package/dist/accounts/components/ConnectMiniWidgetCard/index.es.js.map +1 -0
  18. package/dist/accounts/components/ConnectionStatusIcons/index.es.js +23 -0
  19. package/dist/accounts/components/ConnectionStatusIcons/index.es.js.map +1 -0
  20. package/dist/accounts/components/ConnectionsDrawer/index.es.js +52 -0
  21. package/dist/accounts/components/ConnectionsDrawer/index.es.js.map +1 -0
  22. package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js +134 -0
  23. package/dist/accounts/components/detailsdrawer/Accounts/AccountActions/index.es.js.map +1 -0
  24. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js +32 -0
  25. package/dist/accounts/components/detailsdrawer/Accounts/AccountActionsRow/index.es.js.map +1 -0
  26. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js +158 -0
  27. package/dist/accounts/components/detailsdrawer/Accounts/AccountConnection/index.es.js.map +1 -0
  28. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js +119 -0
  29. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailEdit/index.es.js.map +1 -0
  30. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js +75 -0
  31. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetails/index.es.js.map +1 -0
  32. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js +38 -0
  33. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsChart/index.es.js.map +1 -0
  34. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js +50 -0
  35. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsContent/index.es.js.map +1 -0
  36. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer/index.es.js +21 -0
  37. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsDrawer/index.es.js.map +1 -0
  38. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js +81 -0
  39. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsHeader/index.es.js.map +1 -0
  40. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js +22 -0
  41. package/dist/accounts/components/detailsdrawer/Accounts/AccountDetailsTab/index.es.js.map +1 -0
  42. package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js +75 -0
  43. package/dist/accounts/components/detailsdrawer/Accounts/ConnectionErrorMessage/index.es.js.map +1 -0
  44. package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js +37 -0
  45. package/dist/accounts/components/detailsdrawer/Transactions/TransactionsTab/index.es.js.map +1 -0
  46. package/dist/accounts/constants/Accounts/index.es.js +10 -0
  47. package/dist/accounts/constants/Accounts/index.es.js.map +1 -0
  48. package/dist/accounts/constants/Accounts.d.ts +1 -4
  49. package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js +11 -0
  50. package/dist/accounts/hooks/useGetMergeableAccounts/index.es.js.map +1 -0
  51. package/dist/accounts/hooks/useUiStore/index.es.js +12 -0
  52. package/dist/accounts/hooks/useUiStore/index.es.js.map +1 -0
  53. package/dist/accounts/index.es.js +23 -784
  54. package/dist/accounts/utils/AccountDetails/index.es.js +28 -0
  55. package/dist/accounts/utils/AccountDetails/index.es.js.map +1 -0
  56. package/dist/accounts/utils/AccountFields/index.es.js +131 -0
  57. package/dist/accounts/utils/AccountFields/index.es.js.map +1 -0
  58. package/dist/accounts/utils/getConnectionMessages/index.es.js +131 -0
  59. package/dist/accounts/utils/getConnectionMessages/index.es.js.map +1 -0
  60. package/dist/analytics/SurveyMiniWidget/index.es.js +117 -0
  61. package/dist/analytics/SurveyMiniWidget/index.es.js.map +1 -0
  62. package/dist/analytics/components/OpenTextField/index.es.js +23 -0
  63. package/dist/analytics/components/OpenTextField/index.es.js.map +1 -0
  64. package/dist/analytics/components/RatingScale/index.es.js +56 -0
  65. package/dist/analytics/components/RatingScale/index.es.js.map +1 -0
  66. package/dist/analytics/index.es.js +2 -151
  67. package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js +100 -0
  68. package/dist/budgets/BubbleBudgetsMiniWidget/index.es.js.map +1 -0
  69. package/dist/budgets/BubbleBudgetsWidget/index.es.js +143 -0
  70. package/dist/budgets/BubbleBudgetsWidget/index.es.js.map +1 -0
  71. package/dist/budgets/components/AddBudgets/index.es.js +31 -0
  72. package/dist/budgets/components/AddBudgets/index.es.js.map +1 -0
  73. package/dist/budgets/components/BubbleBudgets/index.es.js +47 -0
  74. package/dist/budgets/components/BubbleBudgets/index.es.js.map +1 -0
  75. package/dist/budgets/components/BubbleChart/Bubble/index.es.js +128 -0
  76. package/dist/budgets/components/BubbleChart/Bubble/index.es.js.map +1 -0
  77. package/dist/budgets/components/BubbleChart/Mercury/index.es.js +29 -0
  78. package/dist/budgets/components/BubbleChart/Mercury/index.es.js.map +1 -0
  79. package/dist/budgets/components/BubbleChart/index.es.js +59 -0
  80. package/dist/budgets/components/BubbleChart/index.es.js.map +1 -0
  81. package/dist/budgets/components/BudgetDetailsDrawer/index.es.js +106 -0
  82. package/dist/budgets/components/BudgetDetailsDrawer/index.es.js.map +1 -0
  83. package/dist/budgets/components/BudgetDetailsDrawerV2/index.es.js +126 -0
  84. package/dist/budgets/components/BudgetDetailsDrawerV2/index.es.js.map +1 -0
  85. package/dist/budgets/components/BudgetList/BudgetRow/index.es.js +71 -0
  86. package/dist/budgets/components/BudgetList/BudgetRow/index.es.js.map +1 -0
  87. package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js +62 -0
  88. package/dist/budgets/components/BudgetList/SubBudgetRow/index.es.js.map +1 -0
  89. package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js +38 -0
  90. package/dist/budgets/components/BudgetList/SubBudgetZeroState/index.es.js.map +1 -0
  91. package/dist/budgets/components/BudgetList/index.es.js +44 -0
  92. package/dist/budgets/components/BudgetList/index.es.js.map +1 -0
  93. package/dist/budgets/components/BudgetsEmptyState/index.es.js +109 -0
  94. package/dist/budgets/components/BudgetsEmptyState/index.es.js.map +1 -0
  95. package/dist/budgets/components/MerchantBudgetDetailsDrawer/index.es.js +54 -0
  96. package/dist/budgets/components/MerchantBudgetDetailsDrawer/index.es.js.map +1 -0
  97. package/dist/budgets/components/Overview/index.es.js +129 -0
  98. package/dist/budgets/components/Overview/index.es.js.map +1 -0
  99. package/dist/budgets/components/addbudget/Header/index.es.js +70 -0
  100. package/dist/budgets/components/addbudget/Header/index.es.js.map +1 -0
  101. package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js +30 -0
  102. package/dist/budgets/components/addbudget/RecalculateBudgetRow/index.es.js.map +1 -0
  103. package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js +62 -0
  104. package/dist/budgets/components/addbudget/RecalculateBudgets/index.es.js.map +1 -0
  105. package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js +50 -0
  106. package/dist/budgets/components/addbudget/UnbudgetedRow/index.es.js.map +1 -0
  107. package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js +98 -0
  108. package/dist/budgets/components/budgetdetails/AddSubBudget/index.es.js.map +1 -0
  109. package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js +66 -0
  110. package/dist/budgets/components/budgetdetails/BudgetDetails/index.es.js.map +1 -0
  111. package/dist/budgets/components/budgetdetails/Header/index.es.js +48 -0
  112. package/dist/budgets/components/budgetdetails/Header/index.es.js.map +1 -0
  113. package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js +98 -0
  114. package/dist/budgets/components/budgetdetails/SubBudgetList/index.es.js.map +1 -0
  115. package/dist/budgets/components/shared/BudgetAmount/index.es.js +27 -0
  116. package/dist/budgets/components/shared/BudgetAmount/index.es.js.map +1 -0
  117. package/dist/budgets/components/shared/BudgetDetailsTopSection/index.es.js +84 -0
  118. package/dist/budgets/components/shared/BudgetDetailsTopSection/index.es.js.map +1 -0
  119. package/dist/budgets/index.es.js +6 -1400
  120. package/dist/budgets/utils/BubblesSVG/index.es.js +73 -0
  121. package/dist/budgets/utils/BubblesSVG/index.es.js.map +1 -0
  122. package/dist/cashflow/CashflowMiniWidget/index.es.js +45 -0
  123. package/dist/cashflow/CashflowMiniWidget/index.es.js.map +1 -0
  124. package/dist/cashflow/CashflowOnboarding/index.es.js +224 -0
  125. package/dist/cashflow/CashflowOnboarding/index.es.js.map +1 -0
  126. package/dist/cashflow/CashflowWidget/index.es.js +82 -0
  127. package/dist/cashflow/CashflowWidget/index.es.js.map +1 -0
  128. package/dist/cashflow/components/CashflowAmountHeading/index.es.js +45 -0
  129. package/dist/cashflow/components/CashflowAmountHeading/index.es.js.map +1 -0
  130. package/dist/cashflow/components/CashflowContent/index.es.js +63 -0
  131. package/dist/cashflow/components/CashflowContent/index.es.js.map +1 -0
  132. package/dist/cashflow/components/CashflowHeading/index.es.js +101 -0
  133. package/dist/cashflow/components/CashflowHeading/index.es.js.map +1 -0
  134. package/dist/cashflow/components/CashflowWidgetContent/index.es.js +167 -0
  135. package/dist/cashflow/components/CashflowWidgetContent/index.es.js.map +1 -0
  136. package/dist/cashflow/components/DetailsExpenseHeader/index.es.js +37 -0
  137. package/dist/cashflow/components/DetailsExpenseHeader/index.es.js.map +1 -0
  138. package/dist/cashflow/components/DetailsExpenseRow/index.es.js +57 -0
  139. package/dist/cashflow/components/DetailsExpenseRow/index.es.js.map +1 -0
  140. package/dist/cashflow/components/DetailsFooter/index.es.js +21 -0
  141. package/dist/cashflow/components/DetailsFooter/index.es.js.map +1 -0
  142. package/dist/cashflow/components/DetailsTab/index.es.js +90 -0
  143. package/dist/cashflow/components/DetailsTab/index.es.js.map +1 -0
  144. package/dist/cashflow/components/RemainingCash/index.es.js +35 -0
  145. package/dist/cashflow/components/RemainingCash/index.es.js.map +1 -0
  146. package/dist/cashflow/components/SummaryTab/index.es.js +258 -0
  147. package/dist/cashflow/components/SummaryTab/index.es.js.map +1 -0
  148. package/dist/cashflow/components/onboarding/StepOne/index.es.js +128 -0
  149. package/dist/cashflow/components/onboarding/StepOne/index.es.js.map +1 -0
  150. package/dist/cashflow/components/onboarding/StepTwo/index.es.js +26 -0
  151. package/dist/cashflow/components/onboarding/StepTwo/index.es.js.map +1 -0
  152. package/dist/cashflow/constants/CashflowImages/index.es.js +9 -0
  153. package/dist/cashflow/constants/CashflowImages/index.es.js.map +1 -0
  154. package/dist/cashflow/context/hooks/index.es.js +12 -0
  155. package/dist/cashflow/context/hooks/index.es.js.map +1 -0
  156. package/dist/cashflow/context/hooks.d.ts +1 -1
  157. package/dist/cashflow/index.es.js +6 -1058
  158. package/dist/cashflow/util/Filters/index.es.js +9 -0
  159. package/dist/cashflow/util/Filters/index.es.js.map +1 -0
  160. package/dist/categories/components/CategoryList/index.es.js +38 -0
  161. package/dist/categories/components/CategoryList/index.es.js.map +1 -0
  162. package/dist/categories/components/CategoryRow/index.es.js +65 -0
  163. package/dist/categories/components/CategoryRow/index.es.js.map +1 -0
  164. package/dist/categories/components/CategorySelector/index.es.js +39 -0
  165. package/dist/categories/components/CategorySelector/index.es.js.map +1 -0
  166. package/dist/categories/components/CategorySelectorDrawer/index.es.js +24 -0
  167. package/dist/categories/components/CategorySelectorDrawer/index.es.js.map +1 -0
  168. package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js +46 -0
  169. package/dist/categories/components/CustomCategories/AddSubcategory/index.es.js.map +1 -0
  170. package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js +61 -0
  171. package/dist/categories/components/CustomCategories/CustomCategoryModal/index.es.js.map +1 -0
  172. package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js +26 -0
  173. package/dist/categories/components/CustomCategories/DeleteSubcategory/index.es.js.map +1 -0
  174. package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js +29 -0
  175. package/dist/categories/components/CustomCategories/RenameSubcategory/index.es.js.map +1 -0
  176. package/dist/categories/components/SubcategoryList/index.es.js +41 -0
  177. package/dist/categories/components/SubcategoryList/index.es.js.map +1 -0
  178. package/dist/categories/components/SubcategoryRow/index.es.js +90 -0
  179. package/dist/categories/components/SubcategoryRow/index.es.js.map +1 -0
  180. package/dist/categories/constants/OnClickEvents/index.es.js +18 -0
  181. package/dist/categories/constants/OnClickEvents/index.es.js.map +1 -0
  182. package/dist/categories/context/hooks/index.es.js +12 -0
  183. package/dist/categories/context/hooks/index.es.js.map +1 -0
  184. package/dist/categories/index.es.js +8 -6
  185. package/dist/common/components/Banner/index.es.js +39 -0
  186. package/dist/common/components/Banner/index.es.js.map +1 -0
  187. package/dist/common/components/ConnectCard/index.es.js +58 -0
  188. package/dist/common/components/ConnectCard/index.es.js.map +1 -0
  189. package/dist/common/components/ConnectDrawer/index.es.js +53 -0
  190. package/dist/common/components/ConnectDrawer/index.es.js.map +1 -0
  191. package/dist/common/components/ConnectStatus/index.es.js +39 -0
  192. package/dist/common/components/ConnectStatus/index.es.js.map +1 -0
  193. package/dist/common/components/ConnectStatus.d.ts +6 -0
  194. package/dist/common/components/CurrencyDialog/index.es.js +119 -0
  195. package/dist/common/components/CurrencyDialog/index.es.js.map +1 -0
  196. package/dist/common/components/CurrencyInput/index.es.js +49 -0
  197. package/dist/common/components/CurrencyInput/index.es.js.map +1 -0
  198. package/dist/common/components/CurrencyText/index.es.js +17 -0
  199. package/dist/common/components/CurrencyText/index.es.js.map +1 -0
  200. package/dist/common/components/DataRow/index.es.js +53 -0
  201. package/dist/common/components/DataRow/index.es.js.map +1 -0
  202. package/dist/common/components/EmptyState/index.es.js +68 -0
  203. package/dist/common/components/EmptyState/index.es.js.map +1 -0
  204. package/dist/common/components/Error/index.es.js +86 -0
  205. package/dist/common/components/Error/index.es.js.map +1 -0
  206. package/dist/common/components/ErrorBoundary/index.es.js +26 -0
  207. package/dist/common/components/ErrorBoundary/index.es.js.map +1 -0
  208. package/dist/common/components/GlobalAccountFilter/GlobalAccountFilterList/index.es.js +133 -0
  209. package/dist/common/components/GlobalAccountFilter/GlobalAccountFilterList/index.es.js.map +1 -0
  210. package/dist/common/components/GlobalAccountFilter/index.es.js +97 -0
  211. package/dist/common/components/GlobalAccountFilter/index.es.js.map +1 -0
  212. package/dist/common/components/IconBacking/index.es.js +25 -0
  213. package/dist/common/components/IconBacking/index.es.js.map +1 -0
  214. package/dist/common/components/InformationTooltip/index.es.js +49 -0
  215. package/dist/common/components/InformationTooltip/index.es.js.map +1 -0
  216. package/dist/common/components/ListItemAction/index.es.js +55 -0
  217. package/dist/common/components/ListItemAction/index.es.js.map +1 -0
  218. package/dist/common/components/ListItemRow/index.es.js +65 -0
  219. package/dist/common/components/ListItemRow/index.es.js.map +1 -0
  220. package/dist/common/components/ListItemWrapper/index.es.js +37 -0
  221. package/dist/common/components/ListItemWrapper/index.es.js.map +1 -0
  222. package/dist/common/components/Loader/index.es.js +17 -0
  223. package/dist/common/components/Loader/index.es.js.map +1 -0
  224. package/dist/common/components/MicroWidgetContainer/index.es.js +60 -0
  225. package/dist/common/components/MicroWidgetContainer/index.es.js.map +1 -0
  226. package/dist/common/components/MiniWidgetContainer/index.es.js +77 -0
  227. package/dist/common/components/MiniWidgetContainer/index.es.js.map +1 -0
  228. package/dist/common/components/ResponsiveButton/index.es.js +37 -0
  229. package/dist/common/components/ResponsiveButton/index.es.js.map +1 -0
  230. package/dist/common/components/SearchBox/index.es.js +59 -0
  231. package/dist/common/components/SearchBox/index.es.js.map +1 -0
  232. package/dist/common/components/Select/index.es.js +33 -0
  233. package/dist/common/components/Select/index.es.js.map +1 -0
  234. package/dist/common/components/SelectionBox/index.es.js +45 -0
  235. package/dist/common/components/SelectionBox/index.es.js.map +1 -0
  236. package/dist/common/components/SkeletonLoader/index.es.js +104 -0
  237. package/dist/common/components/SkeletonLoader/index.es.js.map +1 -0
  238. package/dist/common/components/SubheaderRow/index.es.js +23 -0
  239. package/dist/common/components/SubheaderRow/index.es.js.map +1 -0
  240. package/dist/common/components/TabContentContainer/index.es.js +14 -0
  241. package/dist/common/components/TabContentContainer/index.es.js.map +1 -0
  242. package/dist/common/components/TinyBarChart/index.es.js +80 -0
  243. package/dist/common/components/TinyBarChart/index.es.js.map +1 -0
  244. package/dist/common/components/TinyBarChart.d.ts +1 -1
  245. package/dist/common/components/WidgetContainer/index.es.js +146 -0
  246. package/dist/common/components/WidgetContainer/index.es.js.map +1 -0
  247. package/dist/common/components/WidgetDateRangeSelector/index.es.js +38 -0
  248. package/dist/common/components/WidgetDateRangeSelector/index.es.js.map +1 -0
  249. package/dist/common/components/addaccounts/AddAccounts/index.es.js +50 -0
  250. package/dist/common/components/addaccounts/AddAccounts/index.es.js.map +1 -0
  251. package/dist/common/components/calendar/Calendar/index.es.js +148 -0
  252. package/dist/common/components/calendar/Calendar/index.es.js.map +1 -0
  253. package/dist/common/components/calendar/Day/index.es.js +82 -0
  254. package/dist/common/components/calendar/Day/index.es.js.map +1 -0
  255. package/dist/common/components/calendar/Header/index.es.js +42 -0
  256. package/dist/common/components/calendar/Header/index.es.js.map +1 -0
  257. package/dist/common/components/charts/Donut/index.es.js +82 -0
  258. package/dist/common/components/charts/Donut/index.es.js.map +1 -0
  259. package/dist/common/components/charts/LineChart/CustomLegend/index.es.js +95 -0
  260. package/dist/common/components/charts/LineChart/CustomLegend/index.es.js.map +1 -0
  261. package/dist/common/components/charts/LineChart/CustomLine/index.es.js +27 -0
  262. package/dist/common/components/charts/LineChart/CustomLine/index.es.js.map +1 -0
  263. package/dist/common/components/charts/LineChart/CustomMark/index.es.js +56 -0
  264. package/dist/common/components/charts/LineChart/CustomMark/index.es.js.map +1 -0
  265. package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js +138 -0
  266. package/dist/common/components/charts/LineChart/CustomTooltip/index.es.js.map +1 -0
  267. package/dist/common/components/charts/LineChart/index.es.js +194 -0
  268. package/dist/common/components/charts/LineChart/index.es.js.map +1 -0
  269. package/dist/common/components/charts/LineChart/utils/markerShapes/index.es.js +26 -0
  270. package/dist/common/components/charts/LineChart/utils/markerShapes/index.es.js.map +1 -0
  271. package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js +31 -0
  272. package/dist/common/components/charts/StackedLineChart/CategoryIconLabel/index.es.js.map +1 -0
  273. package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js +97 -0
  274. package/dist/common/components/charts/StackedLineChart/CustomAreaTooltip/index.es.js.map +1 -0
  275. package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js +54 -0
  276. package/dist/common/components/charts/StackedLineChart/CustomLegend/index.es.js.map +1 -0
  277. package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js +51 -0
  278. package/dist/common/components/charts/StackedLineChart/CustomPointTooltip/index.es.js.map +1 -0
  279. package/dist/common/components/charts/StackedLineChart/index.es.js +208 -0
  280. package/dist/common/components/charts/StackedLineChart/index.es.js.map +1 -0
  281. package/dist/common/components/charts/StatusBar/index.es.js +25 -0
  282. package/dist/common/components/charts/StatusBar/index.es.js.map +1 -0
  283. package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js +258 -0
  284. package/dist/common/components/daterangeselector/DateRangeSelector/index.es.js.map +1 -0
  285. package/dist/common/components/dialog/Dialog/index.es.js +58 -0
  286. package/dist/common/components/dialog/Dialog/index.es.js.map +1 -0
  287. package/dist/common/components/donuts/MultiSegmentDonut/index.es.js +53 -0
  288. package/dist/common/components/donuts/MultiSegmentDonut/index.es.js.map +1 -0
  289. package/dist/common/components/donuts/SingleSegmentDonut/index.es.js +50 -0
  290. package/dist/common/components/donuts/SingleSegmentDonut/index.es.js.map +1 -0
  291. package/dist/common/components/drawer/Drawer/index.es.js +57 -0
  292. package/dist/common/components/drawer/Drawer/index.es.js.map +1 -0
  293. package/dist/common/components/drawer/Footer/index.es.js +31 -0
  294. package/dist/common/components/drawer/Footer/index.es.js.map +1 -0
  295. package/dist/common/components/drawer/Header/index.es.js +52 -0
  296. package/dist/common/components/drawer/Header/index.es.js.map +1 -0
  297. package/dist/common/components/listitems/CollapseExpandListItem/index.es.js +41 -0
  298. package/dist/common/components/listitems/CollapseExpandListItem/index.es.js.map +1 -0
  299. package/dist/common/components/listitems/ToggleButtonListItem/index.es.js +54 -0
  300. package/dist/common/components/listitems/ToggleButtonListItem/index.es.js.map +1 -0
  301. package/dist/common/components/listitems/ToggleListItem/index.es.js +37 -0
  302. package/dist/common/components/listitems/ToggleListItem/index.es.js.map +1 -0
  303. package/dist/common/constants/Account/index.es.js +32 -0
  304. package/dist/common/constants/Account/index.es.js.map +1 -0
  305. package/dist/common/constants/Analytics/index.es.js +139 -0
  306. package/dist/common/constants/Analytics/index.es.js.map +1 -0
  307. package/dist/common/constants/Connect/index.es.js +10 -0
  308. package/dist/common/constants/Connect/index.es.js.map +1 -0
  309. package/dist/common/constants/Connect.d.ts +4 -0
  310. package/dist/common/constants/Donut/index.es.js +7 -0
  311. package/dist/common/constants/Donut/index.es.js.map +1 -0
  312. package/dist/common/constants/FinStrong/index.es.js +33 -0
  313. package/dist/common/constants/FinStrong/index.es.js.map +1 -0
  314. package/dist/common/constants/ScheduledPayment/index.es.js +40 -0
  315. package/dist/common/constants/ScheduledPayment/index.es.js.map +1 -0
  316. package/dist/common/constants/Sizes/index.es.js +9 -0
  317. package/dist/common/constants/Sizes/index.es.js.map +1 -0
  318. package/dist/common/constants/SpendingPlan/index.es.js +10 -0
  319. package/dist/common/constants/SpendingPlan/index.es.js.map +1 -0
  320. package/dist/common/constants/index.d.ts +1 -0
  321. package/dist/common/context/GlobalDataProvider/index.es.js +19 -0
  322. package/dist/common/context/GlobalDataProvider/index.es.js.map +1 -0
  323. package/dist/common/context/WidgetContainerProvider/index.es.js +16 -0
  324. package/dist/common/context/WidgetContainerProvider/index.es.js.map +1 -0
  325. package/dist/common/context/hooks/index.es.js +46 -0
  326. package/dist/common/context/hooks/index.es.js.map +1 -0
  327. package/dist/common/hooks/useAccountDisplayName/index.es.js +13 -0
  328. package/dist/common/hooks/useAccountDisplayName/index.es.js.map +1 -0
  329. package/dist/common/hooks/useAriaLive/index.es.js +34 -0
  330. package/dist/common/hooks/useAriaLive/index.es.js.map +1 -0
  331. package/dist/common/hooks/useCombineEvents/index.es.js +22 -0
  332. package/dist/common/hooks/useCombineEvents/index.es.js.map +1 -0
  333. package/dist/common/hooks/useDimensions/index.es.js +41 -0
  334. package/dist/common/hooks/useDimensions/index.es.js.map +1 -0
  335. package/dist/common/hooks/useInsightsEnabled/index.es.js +13 -0
  336. package/dist/common/hooks/useInsightsEnabled/index.es.js.map +1 -0
  337. package/dist/common/hooks/usePrevious/index.es.js +13 -0
  338. package/dist/common/hooks/usePrevious/index.es.js.map +1 -0
  339. package/dist/common/hooks/useScreenSize/index.es.js +26 -0
  340. package/dist/common/hooks/useScreenSize/index.es.js.map +1 -0
  341. package/dist/common/hooks/useWidgetHeaderStyles/index.es.js +46 -0
  342. package/dist/common/hooks/useWidgetHeaderStyles/index.es.js.map +1 -0
  343. package/dist/common/hooks/useWidgetLoadTimer/index.es.js +24 -0
  344. package/dist/common/hooks/useWidgetLoadTimer/index.es.js.map +1 -0
  345. package/dist/common/index.es.js +154 -310
  346. package/dist/common/types/Charts.d.ts +10 -0
  347. package/dist/common/utils/AccountDisplayName/index.es.js +14 -0
  348. package/dist/common/utils/AccountDisplayName/index.es.js.map +1 -0
  349. package/dist/common/utils/AccountFilter/index.es.js +31 -0
  350. package/dist/common/utils/AccountFilter/index.es.js.map +1 -0
  351. package/dist/common/utils/Analytics/index.es.js +31 -0
  352. package/dist/common/utils/Analytics/index.es.js.map +1 -0
  353. package/dist/common/utils/PostMessage/index.es.js +29 -0
  354. package/dist/common/utils/PostMessage/index.es.js.map +1 -0
  355. package/dist/common/utils/Theme/index.es.js +96 -0
  356. package/dist/common/utils/Theme/index.es.js.map +1 -0
  357. package/dist/core/api/AccountApi/index.es.js +22 -0
  358. package/dist/core/api/AccountApi/index.es.js.map +1 -0
  359. package/dist/core/api/AnalyticsApi/index.es.js +34 -0
  360. package/dist/core/api/AnalyticsApi/index.es.js.map +1 -0
  361. package/dist/core/api/AppDataApi/index.es.js +14 -0
  362. package/dist/core/api/AppDataApi/index.es.js.map +1 -0
  363. package/dist/core/api/BannerApi/index.es.js +23 -0
  364. package/dist/core/api/BannerApi/index.es.js.map +1 -0
  365. package/dist/core/api/BeatApi/index.es.js +24 -0
  366. package/dist/core/api/BeatApi/index.es.js.map +1 -0
  367. package/dist/core/api/BudgetsApi/index.es.js +28 -0
  368. package/dist/core/api/BudgetsApi/index.es.js.map +1 -0
  369. package/dist/core/api/CategoryApi/index.es.js +29 -0
  370. package/dist/core/api/CategoryApi/index.es.js.map +1 -0
  371. package/dist/core/api/FinstrongApi/index.es.js +22 -0
  372. package/dist/core/api/FinstrongApi/index.es.js.map +1 -0
  373. package/dist/core/api/GlobalCopyApi/index.es.js +14 -0
  374. package/dist/core/api/GlobalCopyApi/index.es.js.map +1 -0
  375. package/dist/core/api/GoalApi/index.es.js +28 -0
  376. package/dist/core/api/GoalApi/index.es.js.map +1 -0
  377. package/dist/core/api/HelpApi/index.es.js +14 -0
  378. package/dist/core/api/HelpApi/index.es.js.map +1 -0
  379. package/dist/core/api/HoldingApi/index.es.js +15 -0
  380. package/dist/core/api/HoldingApi/index.es.js.map +1 -0
  381. package/dist/core/api/MerchantApi/index.es.js +18 -0
  382. package/dist/core/api/MerchantApi/index.es.js.map +1 -0
  383. package/dist/core/api/NotificationApi/index.es.js +19 -0
  384. package/dist/core/api/NotificationApi/index.es.js.map +1 -0
  385. package/dist/core/api/RepeatingTransactionsApi/index.es.js +17 -0
  386. package/dist/core/api/RepeatingTransactionsApi/index.es.js.map +1 -0
  387. package/dist/core/api/ScheduledPaymentsApi/index.es.js +22 -0
  388. package/dist/core/api/ScheduledPaymentsApi/index.es.js.map +1 -0
  389. package/dist/core/api/SettingsApi/index.es.js +24 -0
  390. package/dist/core/api/SettingsApi/index.es.js.map +1 -0
  391. package/dist/core/api/TransactionApi/index.es.js +55 -0
  392. package/dist/core/api/TransactionApi/index.es.js.map +1 -0
  393. package/dist/core/api/UserApi/index.es.js +16 -0
  394. package/dist/core/api/UserApi/index.es.js.map +1 -0
  395. package/dist/core/api/WidgetApi/index.es.js +14 -0
  396. package/dist/core/api/WidgetApi/index.es.js.map +1 -0
  397. package/dist/core/constants/ApiEndpoints/index.es.js +51 -0
  398. package/dist/core/constants/ApiEndpoints/index.es.js.map +1 -0
  399. package/dist/core/constants/Category/index.es.js +299 -0
  400. package/dist/core/constants/Category/index.es.js.map +1 -0
  401. package/dist/core/constants/DateFormats/index.es.js +55 -0
  402. package/dist/core/constants/DateFormats/index.es.js.map +1 -0
  403. package/dist/core/constants/Debts/index.es.js +8 -0
  404. package/dist/core/constants/Debts/index.es.js.map +1 -0
  405. package/dist/core/constants/DefaultConfig/index.es.js +109 -0
  406. package/dist/core/constants/DefaultConfig/index.es.js.map +1 -0
  407. package/dist/core/constants/Help/index.es.js +183 -0
  408. package/dist/core/constants/Help/index.es.js.map +1 -0
  409. package/dist/core/constants/Investments/index.es.js +56 -0
  410. package/dist/core/constants/Investments/index.es.js.map +1 -0
  411. package/dist/core/constants/Numbers/index.es.js +9 -0
  412. package/dist/core/constants/Numbers/index.es.js.map +1 -0
  413. package/dist/core/constants/Table/index.es.js +18 -0
  414. package/dist/core/constants/Table/index.es.js.map +1 -0
  415. package/dist/core/constants/Transaction/index.es.js +43 -0
  416. package/dist/core/constants/Transaction/index.es.js.map +1 -0
  417. package/dist/core/constants/repeatingTransactions/index.es.js +8 -0
  418. package/dist/core/constants/repeatingTransactions/index.es.js.map +1 -0
  419. package/dist/core/index.es.js +134 -107
  420. package/dist/core/stores/AccountStore/index.es.js +247 -0
  421. package/dist/core/stores/AccountStore/index.es.js.map +1 -0
  422. package/dist/core/stores/AnalyticsStore/index.es.js +55 -0
  423. package/dist/core/stores/AnalyticsStore/index.es.js.map +1 -0
  424. package/dist/core/stores/AppDataStore/index.es.js +61 -0
  425. package/dist/core/stores/AppDataStore/index.es.js.map +1 -0
  426. package/dist/core/stores/AppDataStore.d.ts +2 -2
  427. package/dist/core/stores/BeatStore/index.es.js +43 -0
  428. package/dist/core/stores/BeatStore/index.es.js.map +1 -0
  429. package/dist/core/stores/BudgetsStore/index.es.js +155 -0
  430. package/dist/core/stores/BudgetsStore/index.es.js.map +1 -0
  431. package/dist/core/stores/CashflowStore/index.es.js +62 -0
  432. package/dist/core/stores/CashflowStore/index.es.js.map +1 -0
  433. package/dist/core/stores/CategoryStore/index.es.js +147 -0
  434. package/dist/core/stores/CategoryStore/index.es.js.map +1 -0
  435. package/dist/core/stores/ConnectStore/index.es.js +19 -0
  436. package/dist/core/stores/ConnectStore/index.es.js.map +1 -0
  437. package/dist/core/stores/DebtsStore/index.es.js +40 -0
  438. package/dist/core/stores/DebtsStore/index.es.js.map +1 -0
  439. package/dist/core/stores/FinstrongStore/index.es.js +156 -0
  440. package/dist/core/stores/FinstrongStore/index.es.js.map +1 -0
  441. package/dist/core/stores/GlobalCopyStore/index.es.js +32 -0
  442. package/dist/core/stores/GlobalCopyStore/index.es.js.map +1 -0
  443. package/dist/core/stores/GlobalStore/index.es.js +87 -0
  444. package/dist/core/stores/GlobalStore/index.es.js.map +1 -0
  445. package/dist/core/stores/GlobalUiStore/index.es.js +68 -0
  446. package/dist/core/stores/GlobalUiStore/index.es.js.map +1 -0
  447. package/dist/core/stores/GlobalUiStore.d.ts +2 -2
  448. package/dist/core/stores/GoalStore/index.es.js +233 -0
  449. package/dist/core/stores/GoalStore/index.es.js.map +1 -0
  450. package/dist/core/stores/HelpStore/index.es.js +45 -0
  451. package/dist/core/stores/HelpStore/index.es.js.map +1 -0
  452. package/dist/core/stores/HelpStore.d.ts +1 -1
  453. package/dist/core/stores/HoldingStore/index.es.js +60 -0
  454. package/dist/core/stores/HoldingStore/index.es.js.map +1 -0
  455. package/dist/core/stores/MerchantStore/index.es.js +28 -0
  456. package/dist/core/stores/MerchantStore/index.es.js.map +1 -0
  457. package/dist/core/stores/NetWorthStore/index.es.js +73 -0
  458. package/dist/core/stores/NetWorthStore/index.es.js.map +1 -0
  459. package/dist/core/stores/NotificationStore/index.es.js +46 -0
  460. package/dist/core/stores/NotificationStore/index.es.js.map +1 -0
  461. package/dist/core/stores/RecurringTransactionsStore/index.es.js +199 -0
  462. package/dist/core/stores/RecurringTransactionsStore/index.es.js.map +1 -0
  463. package/dist/core/stores/RecurringTransactionsStore.d.ts +3 -3
  464. package/dist/core/stores/SettingsStore/index.es.js +184 -0
  465. package/dist/core/stores/SettingsStore/index.es.js.map +1 -0
  466. package/dist/core/stores/SettingsStore.d.ts +1 -1
  467. package/dist/core/stores/TransactionStore/index.es.js +372 -0
  468. package/dist/core/stores/TransactionStore/index.es.js.map +1 -0
  469. package/dist/core/stores/TrendsStore/index.es.js +51 -0
  470. package/dist/core/stores/TrendsStore/index.es.js.map +1 -0
  471. package/dist/core/stores/UserStore/index.es.js +49 -0
  472. package/dist/core/stores/UserStore/index.es.js.map +1 -0
  473. package/dist/core/types/Account/index.es.js +118 -0
  474. package/dist/core/types/Account/index.es.js.map +1 -0
  475. package/dist/core/types/Beat/index.es.js +8 -0
  476. package/dist/core/types/Beat/index.es.js.map +1 -0
  477. package/dist/core/types/Expense/index.es.js +11 -0
  478. package/dist/core/types/Expense/index.es.js.map +1 -0
  479. package/dist/core/types/Finstrong/index.es.js +14 -0
  480. package/dist/core/types/Finstrong/index.es.js.map +1 -0
  481. package/dist/core/types/Goal/index.es.js +14 -0
  482. package/dist/core/types/Goal/index.es.js.map +1 -0
  483. package/dist/core/types/Notification/index.es.js +17 -0
  484. package/dist/core/types/Notification/index.es.js.map +1 -0
  485. package/dist/core/types/RepeatingTransaction/index.es.js +17 -0
  486. package/dist/core/types/RepeatingTransaction/index.es.js.map +1 -0
  487. package/dist/core/types/ScreenSize/index.es.js +8 -0
  488. package/dist/core/types/ScreenSize/index.es.js.map +1 -0
  489. package/dist/core/types/Transaction/index.es.js +11 -0
  490. package/dist/core/types/Transaction/index.es.js.map +1 -0
  491. package/dist/core/types/localization/RecurringCopy.d.ts +0 -6
  492. package/dist/core/utils/AccountUtils/index.es.js +27 -0
  493. package/dist/core/utils/AccountUtils/index.es.js.map +1 -0
  494. package/dist/core/utils/BeatUtils/index.es.js +50 -0
  495. package/dist/core/utils/BeatUtils/index.es.js.map +1 -0
  496. package/dist/core/utils/BudgetUtil/index.es.js +71 -0
  497. package/dist/core/utils/BudgetUtil/index.es.js.map +1 -0
  498. package/dist/core/utils/CategoryUtil/index.es.js +60 -0
  499. package/dist/core/utils/CategoryUtil/index.es.js.map +1 -0
  500. package/dist/core/utils/DateUtil/index.es.js +70 -0
  501. package/dist/core/utils/DateUtil/index.es.js.map +1 -0
  502. package/dist/core/utils/DebtUtils/index.es.js +144 -0
  503. package/dist/core/utils/DebtUtils/index.es.js.map +1 -0
  504. package/dist/core/utils/Fetch/index.es.js +74 -0
  505. package/dist/core/utils/Fetch/index.es.js.map +1 -0
  506. package/dist/core/utils/FinstrongUtils/index.es.js +11 -0
  507. package/dist/core/utils/FinstrongUtils/index.es.js.map +1 -0
  508. package/dist/core/utils/GoalsUtil/index.es.js +113 -0
  509. package/dist/core/utils/GoalsUtil/index.es.js.map +1 -0
  510. package/dist/core/utils/HelpUtil/index.es.js +23 -0
  511. package/dist/core/utils/HelpUtil/index.es.js.map +1 -0
  512. package/dist/core/utils/InvestmentUtil/index.es.js +77 -0
  513. package/dist/core/utils/InvestmentUtil/index.es.js.map +1 -0
  514. package/dist/core/utils/Localization/index.es.js +34 -0
  515. package/dist/core/utils/Localization/index.es.js.map +1 -0
  516. package/dist/core/utils/NetWorthUtils/index.es.js +115 -0
  517. package/dist/core/utils/NetWorthUtils/index.es.js.map +1 -0
  518. package/dist/core/utils/NotificationUtils/index.es.js +17 -0
  519. package/dist/core/utils/NotificationUtils/index.es.js.map +1 -0
  520. package/dist/core/utils/NumberFormatting/index.es.js +31 -0
  521. package/dist/core/utils/NumberFormatting/index.es.js.map +1 -0
  522. package/dist/core/utils/RecurringTransactionsUtil/index.es.js +285 -0
  523. package/dist/core/utils/RecurringTransactionsUtil/index.es.js.map +1 -0
  524. package/dist/core/utils/SettingsUtil/index.es.js +56 -0
  525. package/dist/core/utils/SettingsUtil/index.es.js.map +1 -0
  526. package/dist/core/utils/TransactionUtils/index.es.js +113 -0
  527. package/dist/core/utils/TransactionUtils/index.es.js.map +1 -0
  528. package/dist/core/utils/TrendsUtil/index.es.js +72 -0
  529. package/dist/core/utils/TrendsUtil/index.es.js.map +1 -0
  530. package/dist/core/utils/UserUtils/index.es.js +6 -0
  531. package/dist/core/utils/UserUtils/index.es.js.map +1 -0
  532. package/dist/dashboard/Dashboard/index.es.js +99 -0
  533. package/dist/dashboard/Dashboard/index.es.js.map +1 -0
  534. package/dist/dashboard/Greeting/index.es.js +49 -0
  535. package/dist/dashboard/Greeting/index.es.js.map +1 -0
  536. package/dist/dashboard/constants/Dashboard/index.es.js +8 -0
  537. package/dist/dashboard/constants/Dashboard/index.es.js.map +1 -0
  538. package/dist/dashboard/index.es.js +4 -153
  539. package/dist/debts/DebtsWidget/index.es.js +138 -0
  540. package/dist/debts/DebtsWidget/index.es.js.map +1 -0
  541. package/dist/debts/components/DebtDrawer/index.es.js +26 -0
  542. package/dist/debts/components/DebtDrawer/index.es.js.map +1 -0
  543. package/dist/debts/components/DebtsChart/index.es.js +135 -0
  544. package/dist/debts/components/DebtsChart/index.es.js.map +1 -0
  545. package/dist/debts/components/DebtsTable/AccountCell/index.es.js +30 -0
  546. package/dist/debts/components/DebtsTable/AccountCell/index.es.js.map +1 -0
  547. package/dist/debts/components/DebtsTable/PriorityCell/index.es.js +35 -0
  548. package/dist/debts/components/DebtsTable/PriorityCell/index.es.js.map +1 -0
  549. package/dist/debts/components/DebtsTable/index.es.js +193 -0
  550. package/dist/debts/components/DebtsTable/index.es.js.map +1 -0
  551. package/dist/debts/components/PaydownDrawer/index.es.js +19 -0
  552. package/dist/debts/components/PaydownDrawer/index.es.js.map +1 -0
  553. package/dist/debts/components/SnowballCard/index.es.js +87 -0
  554. package/dist/debts/components/SnowballCard/index.es.js.map +1 -0
  555. package/dist/debts/components/SnowballDrawer/index.es.js +457 -0
  556. package/dist/debts/components/SnowballDrawer/index.es.js.map +1 -0
  557. package/dist/debts/components/actions/DebtsPriorityAction/index.es.js +37 -0
  558. package/dist/debts/components/actions/DebtsPriorityAction/index.es.js.map +1 -0
  559. package/dist/debts/components/actions/ExtraPaymentAction/index.es.js +43 -0
  560. package/dist/debts/components/actions/ExtraPaymentAction/index.es.js.map +1 -0
  561. package/dist/debts/components/actions/InterestRateAction/index.es.js +41 -0
  562. package/dist/debts/components/actions/InterestRateAction/index.es.js.map +1 -0
  563. package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js +43 -0
  564. package/dist/debts/components/actions/MonthlyPaymentAction/index.es.js.map +1 -0
  565. package/dist/debts/components/actions/OriginalBalanceAction/index.es.js +43 -0
  566. package/dist/debts/components/actions/OriginalBalanceAction/index.es.js.map +1 -0
  567. package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js +43 -0
  568. package/dist/debts/components/debtsdrawer/DebtDetailsChart/index.es.js.map +1 -0
  569. package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js +54 -0
  570. package/dist/debts/components/debtsdrawer/DebtDetailsContent/index.es.js.map +1 -0
  571. package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js +40 -0
  572. package/dist/debts/components/debtsdrawer/DebtDetailsTab/index.es.js.map +1 -0
  573. package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js +108 -0
  574. package/dist/debts/components/debtsdrawer/DebtScheduleTab/index.es.js.map +1 -0
  575. package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js +86 -0
  576. package/dist/debts/components/debtsdrawer/DebtStatusCard/index.es.js.map +1 -0
  577. package/dist/debts/components/debtspaydown/PaydownButton/index.es.js +32 -0
  578. package/dist/debts/components/debtspaydown/PaydownButton/index.es.js.map +1 -0
  579. package/dist/debts/components/debtspaydown/PaydownContent/index.es.js +77 -0
  580. package/dist/debts/components/debtspaydown/PaydownContent/index.es.js.map +1 -0
  581. package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js +32 -0
  582. package/dist/debts/components/debtspriority/DebtsPriorityButton/index.es.js.map +1 -0
  583. package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js +78 -0
  584. package/dist/debts/components/debtspriority/DebtsPrioriyPopover/index.es.js.map +1 -0
  585. package/dist/debts/hooks/useDebtsUiStore/index.es.js +12 -0
  586. package/dist/debts/hooks/useDebtsUiStore/index.es.js.map +1 -0
  587. package/dist/debts/index.es.js +6 -1496
  588. package/dist/debts/utils/DebtsChart/index.es.js +15 -0
  589. package/dist/debts/utils/DebtsChart/index.es.js.map +1 -0
  590. package/dist/debts/utils/DebtsTable/index.es.js +17 -0
  591. package/dist/debts/utils/DebtsTable/index.es.js.map +1 -0
  592. package/dist/debts/utils/SnowballCard/index.es.js +40 -0
  593. package/dist/debts/utils/SnowballCard/index.es.js.map +1 -0
  594. package/dist/finstrong/FinancialStrengthCard/index.es.js +127 -0
  595. package/dist/finstrong/FinancialStrengthCard/index.es.js.map +1 -0
  596. package/dist/finstrong/FinstrongWidget/index.es.js +175 -0
  597. package/dist/finstrong/FinstrongWidget/index.es.js.map +1 -0
  598. package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js +80 -0
  599. package/dist/finstrong/components/ConnectMoreAccountsCard/index.es.js.map +1 -0
  600. package/dist/finstrong/components/CreditScore/CreditScoreContent/index.es.js +39 -0
  601. package/dist/finstrong/components/CreditScore/CreditScoreContent/index.es.js.map +1 -0
  602. package/dist/finstrong/components/CreditScore/CreditScoreHeader/index.es.js +22 -0
  603. package/dist/finstrong/components/CreditScore/CreditScoreHeader/index.es.js.map +1 -0
  604. package/dist/finstrong/components/CreditScoreGraph/index.es.js +61 -0
  605. package/dist/finstrong/components/CreditScoreGraph/index.es.js.map +1 -0
  606. package/dist/finstrong/components/FinancialStrengthGraph/index.es.js +44 -0
  607. package/dist/finstrong/components/FinancialStrengthGraph/index.es.js.map +1 -0
  608. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent/index.es.js +43 -0
  609. package/dist/finstrong/components/HaveManageableDebt/DebtPaymentTabContent/index.es.js.map +1 -0
  610. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent/index.es.js +88 -0
  611. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtComponent/index.es.js.map +1 -0
  612. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar/index.es.js +73 -0
  613. package/dist/finstrong/components/HaveManageableDebt/HaveManageableDebtProgressBar/index.es.js.map +1 -0
  614. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent/index.es.js +40 -0
  615. package/dist/finstrong/components/HaveManageableDebt/IncomeTabContent/index.es.js.map +1 -0
  616. package/dist/finstrong/components/HealthChart/index.es.js +117 -0
  617. package/dist/finstrong/components/HealthChart/index.es.js.map +1 -0
  618. package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js +71 -0
  619. package/dist/finstrong/components/KeyIndicatorsBorrowTab/index.es.js.map +1 -0
  620. package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js +92 -0
  621. package/dist/finstrong/components/KeyIndicatorsDrawer/index.es.js.map +1 -0
  622. package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js +73 -0
  623. package/dist/finstrong/components/KeyIndicatorsSaveTab/index.es.js.map +1 -0
  624. package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js +58 -0
  625. package/dist/finstrong/components/KeyIndicatorsSpendTab/index.es.js.map +1 -0
  626. package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js +65 -0
  627. package/dist/finstrong/components/KeyIndicatorsTabItem/index.es.js.map +1 -0
  628. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer/index.es.js +93 -0
  629. package/dist/finstrong/components/KeyIndicatorsTabItemDrawer/index.es.js.map +1 -0
  630. package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js +78 -0
  631. package/dist/finstrong/components/KeyIndicatorsTabsWidget/index.es.js.map +1 -0
  632. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator/index.es.js +170 -0
  633. package/dist/finstrong/components/MaintainingEmergencySavings/EstimatedContributionCalculator/index.es.js.map +1 -0
  634. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent/index.es.js +51 -0
  635. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsContent/index.es.js.map +1 -0
  636. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky/index.es.js +53 -0
  637. package/dist/finstrong/components/MaintainingEmergencySavings/MaintainingEmergencySavingsSticky/index.es.js.map +1 -0
  638. package/dist/finstrong/components/ManageCreditScore/index.es.js +52 -0
  639. package/dist/finstrong/components/ManageCreditScore/index.es.js.map +1 -0
  640. package/dist/finstrong/components/ManageDOB/index.es.js +79 -0
  641. package/dist/finstrong/components/ManageDOB/index.es.js.map +1 -0
  642. package/dist/finstrong/components/MissingData/index.es.js +51 -0
  643. package/dist/finstrong/components/MissingData/index.es.js.map +1 -0
  644. package/dist/finstrong/components/ProfileDrawer/index.es.js +124 -0
  645. package/dist/finstrong/components/ProfileDrawer/index.es.js.map +1 -0
  646. package/dist/finstrong/components/ProfileList/index.es.js +65 -0
  647. package/dist/finstrong/components/ProfileList/index.es.js.map +1 -0
  648. package/dist/finstrong/components/ProfileProgressBar/index.es.js +32 -0
  649. package/dist/finstrong/components/ProfileProgressBar/index.es.js.map +1 -0
  650. package/dist/finstrong/components/ProgressBar/index.es.js +53 -0
  651. package/dist/finstrong/components/ProgressBar/index.es.js.map +1 -0
  652. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent/index.es.js +27 -0
  653. package/dist/finstrong/components/SaveEnoughToLiveOn/AvailableTabContent/index.es.js.map +1 -0
  654. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent/index.es.js +51 -0
  655. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnDrawerContent/index.es.js.map +1 -0
  656. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar/index.es.js +56 -0
  657. package/dist/finstrong/components/SaveEnoughToLiveOn/SaveEnoughToLiveOnProgressBar/index.es.js.map +1 -0
  658. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent/index.es.js +34 -0
  659. package/dist/finstrong/components/SaveEnoughToLiveOn/SpendingTabContent/index.es.js.map +1 -0
  660. package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js +90 -0
  661. package/dist/finstrong/components/ScoreHistoryDrawer/index.es.js.map +1 -0
  662. package/dist/finstrong/components/ScoreRubricDrawer/index.es.js +118 -0
  663. package/dist/finstrong/components/ScoreRubricDrawer/index.es.js.map +1 -0
  664. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent/index.es.js +130 -0
  665. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeComponent/index.es.js.map +1 -0
  666. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar/index.es.js +50 -0
  667. package/dist/finstrong/components/SpendLessThanYouMake/SpendLessThanYouMakeProgressBar/index.es.js.map +1 -0
  668. package/dist/finstrong/components/StatusChip/index.es.js +37 -0
  669. package/dist/finstrong/components/StatusChip/index.es.js.map +1 -0
  670. package/dist/finstrong/components/onboarding/Onboarding/index.es.js +57 -0
  671. package/dist/finstrong/components/onboarding/Onboarding/index.es.js.map +1 -0
  672. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome/index.es.js +57 -0
  673. package/dist/finstrong/components/onboarding/OnboardingAddMonthlyIncome/index.es.js.map +1 -0
  674. package/dist/finstrong/components/onboarding/OnboardingBirthday/index.es.js +46 -0
  675. package/dist/finstrong/components/onboarding/OnboardingBirthday/index.es.js.map +1 -0
  676. package/dist/finstrong/components/onboarding/OnboardingCreditScore/index.es.js +28 -0
  677. package/dist/finstrong/components/onboarding/OnboardingCreditScore/index.es.js.map +1 -0
  678. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer/index.es.js +313 -0
  679. package/dist/finstrong/components/onboarding/OnboardingStepsDrawer/index.es.js.map +1 -0
  680. package/dist/finstrong/components/onboarding/OnboardingStepsHeader/index.es.js +25 -0
  681. package/dist/finstrong/components/onboarding/OnboardingStepsHeader/index.es.js.map +1 -0
  682. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent/index.es.js +69 -0
  683. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeDrawerComponent/index.es.js.map +1 -0
  684. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent/index.es.js +38 -0
  685. package/dist/finstrong/components/paybillsontime/PayBillsOnTimeStickyComponent/index.es.js.map +1 -0
  686. package/dist/finstrong/components/shared/Accounts/index.es.js +102 -0
  687. package/dist/finstrong/components/shared/Accounts/index.es.js.map +1 -0
  688. package/dist/finstrong/components/shared/CustomDoubleBarPlot/index.es.js +48 -0
  689. package/dist/finstrong/components/shared/CustomDoubleBarPlot/index.es.js.map +1 -0
  690. package/dist/finstrong/components/shared/CustomPieArc/index.es.js +52 -0
  691. package/dist/finstrong/components/shared/CustomPieArc/index.es.js.map +1 -0
  692. package/dist/finstrong/components/shared/DialScoreCard/index.es.js +186 -0
  693. package/dist/finstrong/components/shared/DialScoreCard/index.es.js.map +1 -0
  694. package/dist/finstrong/components/shared/DoubleBarChart/index.es.js +196 -0
  695. package/dist/finstrong/components/shared/DoubleBarChart/index.es.js.map +1 -0
  696. package/dist/finstrong/components/shared/LineGraph/index.es.js +136 -0
  697. package/dist/finstrong/components/shared/LineGraph/index.es.js.map +1 -0
  698. package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js +107 -0
  699. package/dist/finstrong/components/shared/ScoreHistoryTimeline/index.es.js.map +1 -0
  700. package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js +40 -0
  701. package/dist/finstrong/components/shared/ScoreHistoryTimelineItem/index.es.js.map +1 -0
  702. package/dist/finstrong/components/shared/TotalCard/index.es.js +30 -0
  703. package/dist/finstrong/components/shared/TotalCard/index.es.js.map +1 -0
  704. package/dist/finstrong/components/shared/Transactions/index.es.js +129 -0
  705. package/dist/finstrong/components/shared/Transactions/index.es.js.map +1 -0
  706. package/dist/finstrong/constants/index/index.es.js +9 -0
  707. package/dist/finstrong/constants/index/index.es.js.map +1 -0
  708. package/dist/finstrong/index.es.js +8 -3912
  709. package/dist/finstrong/util/finstrongUtils/index.es.js +206 -0
  710. package/dist/finstrong/util/finstrongUtils/index.es.js.map +1 -0
  711. package/dist/goals/GoalsMicroWidget/index.es.js +44 -0
  712. package/dist/goals/GoalsMicroWidget/index.es.js.map +1 -0
  713. package/dist/goals/GoalsWidget/index.es.js +141 -0
  714. package/dist/goals/GoalsWidget/index.es.js.map +1 -0
  715. package/dist/goals/components/AccountSelectionDrawer/index.es.js +54 -0
  716. package/dist/goals/components/AccountSelectionDrawer/index.es.js.map +1 -0
  717. package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js +72 -0
  718. package/dist/goals/components/AddGoal/AddGoalListItem/index.es.js.map +1 -0
  719. package/dist/goals/components/AddGoal/index.es.js +59 -0
  720. package/dist/goals/components/AddGoal/index.es.js.map +1 -0
  721. package/dist/goals/components/GoalDetails/index.es.js +115 -0
  722. package/dist/goals/components/GoalDetails/index.es.js.map +1 -0
  723. package/dist/goals/components/GoalDetailsDrawer/index.es.js +83 -0
  724. package/dist/goals/components/GoalDetailsDrawer/index.es.js.map +1 -0
  725. package/dist/goals/components/GoalList/index.es.js +135 -0
  726. package/dist/goals/components/GoalList/index.es.js.map +1 -0
  727. package/dist/goals/components/GoalStatusCard/index.es.js +95 -0
  728. package/dist/goals/components/GoalStatusCard/index.es.js.map +1 -0
  729. package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js +59 -0
  730. package/dist/goals/components/ManageGoals/CompleteListItem/index.es.js.map +1 -0
  731. package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js +83 -0
  732. package/dist/goals/components/ManageGoals/OngoingListItem/index.es.js.map +1 -0
  733. package/dist/goals/components/ManageGoals/index.es.js +89 -0
  734. package/dist/goals/components/ManageGoals/index.es.js.map +1 -0
  735. package/dist/goals/components/TabTitle/index.es.js +19 -0
  736. package/dist/goals/components/TabTitle/index.es.js.map +1 -0
  737. package/dist/goals/components/actions/AccountAction/index.es.js +28 -0
  738. package/dist/goals/components/actions/AccountAction/index.es.js.map +1 -0
  739. package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js +56 -0
  740. package/dist/goals/components/actions/AddRetirementAccountAction/index.es.js.map +1 -0
  741. package/dist/goals/components/actions/AmountToSaveAction/index.es.js +45 -0
  742. package/dist/goals/components/actions/AmountToSaveAction/index.es.js.map +1 -0
  743. package/dist/goals/components/actions/BirthdayAction/index.es.js +44 -0
  744. package/dist/goals/components/actions/BirthdayAction/index.es.js.map +1 -0
  745. package/dist/goals/components/actions/ChangeAccountAction/index.es.js +127 -0
  746. package/dist/goals/components/actions/ChangeAccountAction/index.es.js.map +1 -0
  747. package/dist/goals/components/actions/ContributionAction/index.es.js +49 -0
  748. package/dist/goals/components/actions/ContributionAction/index.es.js.map +1 -0
  749. package/dist/goals/components/actions/GoalNameAction/index.es.js +41 -0
  750. package/dist/goals/components/actions/GoalNameAction/index.es.js.map +1 -0
  751. package/dist/goals/components/actions/InterestRateAction/index.es.js +42 -0
  752. package/dist/goals/components/actions/InterestRateAction/index.es.js.map +1 -0
  753. package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js +47 -0
  754. package/dist/goals/components/actions/MonthlyPaymentAction/index.es.js.map +1 -0
  755. package/dist/goals/components/actions/OriginalBalanceAction/index.es.js +47 -0
  756. package/dist/goals/components/actions/OriginalBalanceAction/index.es.js.map +1 -0
  757. package/dist/goals/components/actions/RetirementAgeAction/index.es.js +42 -0
  758. package/dist/goals/components/actions/RetirementAgeAction/index.es.js.map +1 -0
  759. package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js +64 -0
  760. package/dist/goals/components/micro/GoalMicroStatusCard/index.es.js.map +1 -0
  761. package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js +35 -0
  762. package/dist/goals/components/micro/GoalsMicroEmptyState/index.es.js.map +1 -0
  763. package/dist/goals/index.es.js +4 -1088
  764. package/dist/help/HelpWidget/index.es.js +25 -0
  765. package/dist/help/HelpWidget/index.es.js.map +1 -0
  766. package/dist/help/components/Help/index.es.js +48 -0
  767. package/dist/help/components/Help/index.es.js.map +1 -0
  768. package/dist/help/components/HelpContent/index.es.js +25 -0
  769. package/dist/help/components/HelpContent/index.es.js.map +1 -0
  770. package/dist/help/components/HelpList/index.es.js +142 -0
  771. package/dist/help/components/HelpList/index.es.js.map +1 -0
  772. package/dist/help/components/content/BottomImageContent/index.es.js +51 -0
  773. package/dist/help/components/content/BottomImageContent/index.es.js.map +1 -0
  774. package/dist/help/components/content/ContentItem/index.es.js +46 -0
  775. package/dist/help/components/content/ContentItem/index.es.js.map +1 -0
  776. package/dist/help/components/content/Header/index.es.js +83 -0
  777. package/dist/help/components/content/Header/index.es.js.map +1 -0
  778. package/dist/help/components/content/LeftImageContent/index.es.js +57 -0
  779. package/dist/help/components/content/LeftImageContent/index.es.js.map +1 -0
  780. package/dist/help/components/content/NoImageContent/index.es.js +15 -0
  781. package/dist/help/components/content/NoImageContent/index.es.js.map +1 -0
  782. package/dist/help/components/content/RightImageContent/index.es.js +55 -0
  783. package/dist/help/components/content/RightImageContent/index.es.js.map +1 -0
  784. package/dist/help/components/content/TopImageContent/index.es.js +51 -0
  785. package/dist/help/components/content/TopImageContent/index.es.js.map +1 -0
  786. package/dist/help/components/content/section/Accounts/index.es.js +159 -0
  787. package/dist/help/components/content/section/Accounts/index.es.js.map +1 -0
  788. package/dist/help/components/content/section/Budgets/index.es.js +66 -0
  789. package/dist/help/components/content/section/Budgets/index.es.js.map +1 -0
  790. package/dist/help/components/content/section/CashFlow/index.es.js +47 -0
  791. package/dist/help/components/content/section/CashFlow/index.es.js.map +1 -0
  792. package/dist/help/components/content/section/Debts/index.es.js +168 -0
  793. package/dist/help/components/content/section/Debts/index.es.js.map +1 -0
  794. package/dist/help/components/content/section/General/index.es.js +84 -0
  795. package/dist/help/components/content/section/General/index.es.js.map +1 -0
  796. package/dist/help/components/content/section/Goals/index.es.js +112 -0
  797. package/dist/help/components/content/section/Goals/index.es.js.map +1 -0
  798. package/dist/help/components/content/section/Insights/index.es.js +79 -0
  799. package/dist/help/components/content/section/Insights/index.es.js.map +1 -0
  800. package/dist/help/components/content/section/Investments/index.es.js +48 -0
  801. package/dist/help/components/content/section/Investments/index.es.js.map +1 -0
  802. package/dist/help/components/content/section/Mobile/index.es.js +48 -0
  803. package/dist/help/components/content/section/Mobile/index.es.js.map +1 -0
  804. package/dist/help/components/content/section/NetWorth/index.es.js +61 -0
  805. package/dist/help/components/content/section/NetWorth/index.es.js.map +1 -0
  806. package/dist/help/components/content/section/Notifications/index.es.js +53 -0
  807. package/dist/help/components/content/section/Notifications/index.es.js.map +1 -0
  808. package/dist/help/components/content/section/RecurringTransactions/index.es.js +72 -0
  809. package/dist/help/components/content/section/RecurringTransactions/index.es.js.map +1 -0
  810. package/dist/help/components/content/section/Spending/index.es.js +63 -0
  811. package/dist/help/components/content/section/Spending/index.es.js.map +1 -0
  812. package/dist/help/components/content/section/Transactions/index.es.js +209 -0
  813. package/dist/help/components/content/section/Transactions/index.es.js.map +1 -0
  814. package/dist/help/components/content/section/Trends/index.es.js +43 -0
  815. package/dist/help/components/content/section/Trends/index.es.js.map +1 -0
  816. package/dist/help/components/content/section/index/index.es.js +37 -0
  817. package/dist/help/components/content/section/index/index.es.js.map +1 -0
  818. package/dist/help/components/requestsupport/ContactSupport/index.es.js +90 -0
  819. package/dist/help/components/requestsupport/ContactSupport/index.es.js.map +1 -0
  820. package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js +99 -0
  821. package/dist/help/components/requestsupport/HelpByCategoryList/index.es.js.map +1 -0
  822. package/dist/help/components/requestsupport/MissingInstitution/index.es.js +103 -0
  823. package/dist/help/components/requestsupport/MissingInstitution/index.es.js.map +1 -0
  824. package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js +52 -0
  825. package/dist/help/components/requestsupport/PopularTopicsDrawer/index.es.js.map +1 -0
  826. package/dist/help/components/requestsupport/PopularTopicsList/index.es.js +24 -0
  827. package/dist/help/components/requestsupport/PopularTopicsList/index.es.js.map +1 -0
  828. package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js +40 -0
  829. package/dist/help/components/requestsupport/PopularTopicsRow/index.es.js.map +1 -0
  830. package/dist/help/components/requestsupport/RequestSupport/index.es.js +172 -0
  831. package/dist/help/components/requestsupport/RequestSupport/index.es.js.map +1 -0
  832. package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js +46 -0
  833. package/dist/help/components/requestsupport/RequestSupportFooter/index.es.js.map +1 -0
  834. package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js +47 -0
  835. package/dist/help/components/requestsupport/RequestSupportHeader/index.es.js.map +1 -0
  836. package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js +68 -0
  837. package/dist/help/components/requestsupport/RequestSupportInstitution/index.es.js.map +1 -0
  838. package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js +71 -0
  839. package/dist/help/components/requestsupport/SupportSuccessMessage/index.es.js.map +1 -0
  840. package/dist/help/constants/HelpImages/index.es.js +49 -0
  841. package/dist/help/constants/HelpImages/index.es.js.map +1 -0
  842. package/dist/help/index.es.js +4 -26
  843. package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js +16 -0
  844. package/dist/help/utils/getInstitutionsBasedOnGuid/index.es.js.map +1 -0
  845. package/dist/insights/components/feed/Header/index.es.js +75 -0
  846. package/dist/insights/components/feed/Header/index.es.js.map +1 -0
  847. package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability/index.es.js +12 -0
  848. package/dist/insights/components/insights/AccountDiscoverability/AccountDiscoverability/index.es.js.map +1 -0
  849. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert/index.es.js +22 -0
  850. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/AmericanUpcomingTaxDeadlineAlert/index.es.js.map +1 -0
  851. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/AmericanUpcomingTaxDeadlineAlert.svg/index.es.js +274 -0
  852. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/AmericanUpcomingTaxDeadlineAlert.svg/index.es.js.map +1 -0
  853. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/UpcomingTaxDeadlineAlertCIBC.svg/index.es.js +56 -0
  854. package/dist/insights/components/insights/AmericanUpcomingTaxDeadlineAlert/images/UpcomingTaxDeadlineAlertCIBC.svg/index.es.js.map +1 -0
  855. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard/index.es.js +35 -0
  856. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandard/index.es.js.map +1 -0
  857. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI/index.es.js +41 -0
  858. package/dist/insights/components/insights/BillAmountNotStandard/BillAmountNotStandardMUI/index.es.js.map +1 -0
  859. package/dist/insights/components/insights/CashBack/CashBack/index.es.js +45 -0
  860. package/dist/insights/components/insights/CashBack/CashBack/index.es.js.map +1 -0
  861. package/dist/insights/components/insights/CashBack/images/CashBack.png/index.es.js +6 -0
  862. package/dist/insights/components/insights/CashBack/images/CashBack.png/index.es.js.map +1 -0
  863. package/dist/insights/components/insights/CategoryBudget/CategoryBudget/index.es.js +55 -0
  864. package/dist/insights/components/insights/CategoryBudget/CategoryBudget/index.es.js.map +1 -0
  865. package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2/index.es.js +46 -0
  866. package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2/index.es.js.map +1 -0
  867. package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI/index.es.js +48 -0
  868. package/dist/insights/components/insights/CategorySpendingV2/CategorySpendingV2MUI/index.es.js.map +1 -0
  869. package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff/index.es.js +66 -0
  870. package/dist/insights/components/insights/CelebrateCreditCardPayoff/CelebrateCreditCardPayoff/index.es.js.map +1 -0
  871. package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffDark.svg/index.es.js +85 -0
  872. package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffDark.svg/index.es.js.map +1 -0
  873. package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffLight.svg/index.es.js +85 -0
  874. package/dist/insights/components/insights/CelebrateCreditCardPayoff/images/CelebrateCreditCardPayoffLight.svg/index.es.js.map +1 -0
  875. package/dist/insights/components/insights/CustomTransaction/CustomTransaction/index.es.js +24 -0
  876. package/dist/insights/components/insights/CustomTransaction/CustomTransaction/index.es.js.map +1 -0
  877. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody/index.es.js +120 -0
  878. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsBody/index.es.js.map +1 -0
  879. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent/index.es.js +143 -0
  880. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsLearnMoreDrawerContent/index.es.js.map +1 -0
  881. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight/index.es.js +20 -0
  882. package/dist/insights/components/insights/DiscoveredAccounts/DiscoveredAccountsMiniInsight/index.es.js.map +1 -0
  883. package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday/index.es.js +29 -0
  884. package/dist/insights/components/insights/FederalBankHoliday/FederalBankHoliday/index.es.js.map +1 -0
  885. package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI/index.es.js +20 -0
  886. package/dist/insights/components/insights/FederalBankHoliday/FederalBankHolidayMUI/index.es.js.map +1 -0
  887. package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHoliday.svg/index.es.js +55 -0
  888. package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHoliday.svg/index.es.js.map +1 -0
  889. package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHolidayMUI.svg/index.es.js +494 -0
  890. package/dist/insights/components/insights/FederalBankHoliday/images/FederalBankHolidayMUI.svg/index.es.js.map +1 -0
  891. package/dist/insights/components/insights/FederalBankHoliday/images/FederalHolidayCibc.svg/index.es.js +88 -0
  892. package/dist/insights/components/insights/FederalBankHoliday/images/FederalHolidayCibc.svg/index.es.js.map +1 -0
  893. package/dist/insights/components/insights/MarketingHub/Offer/index.es.js +44 -0
  894. package/dist/insights/components/insights/MarketingHub/Offer/index.es.js.map +1 -0
  895. package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2/index.es.js +33 -0
  896. package/dist/insights/components/insights/MonthlyDebtToIncomeComparisonV2/MonthlyDebtToIncomeComparisonV2/index.es.js.map +1 -0
  897. package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection/index.es.js +29 -0
  898. package/dist/insights/components/insights/MonthlyEmergencyFundReview/LastMonthsContributionSection/index.es.js.map +1 -0
  899. package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody/index.es.js +42 -0
  900. package/dist/insights/components/insights/MonthlyEmergencyFundReview/MonthlyEmergencyFundReviewBody/index.es.js.map +1 -0
  901. package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection/index.es.js +27 -0
  902. package/dist/insights/components/insights/MonthlyEmergencyFundReview/ProjectedCompletionSection/index.es.js.map +1 -0
  903. package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection/index.es.js +28 -0
  904. package/dist/insights/components/insights/MonthlyEmergencyFundReview/TotalSection/index.es.js.map +1 -0
  905. package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison/index.es.js +33 -0
  906. package/dist/insights/components/insights/MonthlySavingsToIncomeComparison/MonthlySavingsToIncomeComparison/index.es.js.map +1 -0
  907. package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2/index.es.js +37 -0
  908. package/dist/insights/components/insights/MonthlySpendToIncomeComparisonV2/MonthlySpendToIncomeComparisonV2/index.es.js.map +1 -0
  909. package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2/index.es.js +35 -0
  910. package/dist/insights/components/insights/MonthlySpendingComparisonV2/MonthlySpendingComparisonV2/index.es.js.map +1 -0
  911. package/dist/insights/components/insights/P2pCategorization/P2pCategorization/index.es.js +20 -0
  912. package/dist/insights/components/insights/P2pCategorization/P2pCategorization/index.es.js.map +1 -0
  913. package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions/index.es.js +83 -0
  914. package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationMultipleTransactions/index.es.js.map +1 -0
  915. package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction/index.es.js +42 -0
  916. package/dist/insights/components/insights/P2pCategorization/shared/P2pCategorizationSingleTransaction/index.es.js.map +1 -0
  917. package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary/index.es.js +40 -0
  918. package/dist/insights/components/insights/SavingsAccountBalancesSummary/SavingsAccountBalancesSummary/index.es.js.map +1 -0
  919. package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody/index.es.js +19 -0
  920. package/dist/insights/components/insights/SetUpDirectDeposit/SetUpDirectDepositBody/index.es.js.map +1 -0
  921. package/dist/insights/components/insights/SharedDeposit/SharedDeposit/index.es.js +104 -0
  922. package/dist/insights/components/insights/SharedDeposit/SharedDeposit/index.es.js.map +1 -0
  923. package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox/index.es.js +37 -0
  924. package/dist/insights/components/insights/SwitchDirectDeposit/AccountBox/index.es.js.map +1 -0
  925. package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody/index.es.js +25 -0
  926. package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositBody/index.es.js.map +1 -0
  927. package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer/index.es.js +36 -0
  928. package/dist/insights/components/insights/SwitchDirectDeposit/SwitchDirectDepositMainContainer/index.es.js.map +1 -0
  929. package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit/index.es.js +38 -0
  930. package/dist/insights/components/insights/UnifiedDeposit/UnifiedDeposit/index.es.js.map +1 -0
  931. package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody/index.es.js +86 -0
  932. package/dist/insights/components/insights/UnifiedDeposit/UnifiedDepositBody/index.es.js.map +1 -0
  933. package/dist/insights/components/insights/UserFeedback/StyledToggleButton/index.es.js +34 -0
  934. package/dist/insights/components/insights/UserFeedback/StyledToggleButton/index.es.js.map +1 -0
  935. package/dist/insights/components/insights/UserFeedback/UserFeedback/index.es.js +133 -0
  936. package/dist/insights/components/insights/UserFeedback/UserFeedback/index.es.js.map +1 -0
  937. package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek/index.es.js +59 -0
  938. package/dist/insights/components/insights/WeeklyNoSpendDays/BubbleWeek/index.es.js.map +1 -0
  939. package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons/index.es.js +23 -0
  940. package/dist/insights/components/insights/WeeklyNoSpendDays/NoSpendIcons/index.es.js.map +1 -0
  941. package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays/index.es.js +51 -0
  942. package/dist/insights/components/insights/WeeklyNoSpendDays/WeeklyNoSpendDays/index.es.js.map +1 -0
  943. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_0.png/index.es.js +6 -0
  944. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_0.png/index.es.js.map +1 -0
  945. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_1.png/index.es.js +6 -0
  946. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_1.png/index.es.js.map +1 -0
  947. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_2.png/index.es.js +6 -0
  948. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_2.png/index.es.js.map +1 -0
  949. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_3.png/index.es.js +6 -0
  950. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_3.png/index.es.js.map +1 -0
  951. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_4.png/index.es.js +6 -0
  952. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_4.png/index.es.js.map +1 -0
  953. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_5.png/index.es.js +6 -0
  954. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_5.png/index.es.js.map +1 -0
  955. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_6.png/index.es.js +6 -0
  956. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_6.png/index.es.js.map +1 -0
  957. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_7.png/index.es.js +6 -0
  958. package/dist/insights/components/insights/WeeklyNoSpendDays/images/no_spend_7.png/index.es.js.map +1 -0
  959. package/dist/insights/components/shared/BottomSheet/index.es.js +39 -0
  960. package/dist/insights/components/shared/BottomSheet/index.es.js.map +1 -0
  961. package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate/index.es.js +66 -0
  962. package/dist/insights/components/shared/ChartDrawerTemplate/ChartDrawerTemplate/index.es.js.map +1 -0
  963. package/dist/insights/components/shared/ChartDrawerTemplate/TipSection/index.es.js +60 -0
  964. package/dist/insights/components/shared/ChartDrawerTemplate/TipSection/index.es.js.map +1 -0
  965. package/dist/insights/components/shared/ChartTransactionWithDrillDown/index.es.js +76 -0
  966. package/dist/insights/components/shared/ChartTransactionWithDrillDown/index.es.js.map +1 -0
  967. package/dist/insights/components/shared/Charts/BarChart/BarChart/index.es.js +147 -0
  968. package/dist/insights/components/shared/Charts/BarChart/BarChart/index.es.js.map +1 -0
  969. package/dist/insights/components/shared/Charts/BarChart/BarChartV2/index.es.js +148 -0
  970. package/dist/insights/components/shared/Charts/BarChart/BarChartV2/index.es.js.map +1 -0
  971. package/dist/insights/components/shared/Charts/BarChart/ChartLegend/index.es.js +75 -0
  972. package/dist/insights/components/shared/Charts/BarChart/ChartLegend/index.es.js.map +1 -0
  973. package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2/index.es.js +80 -0
  974. package/dist/insights/components/shared/Charts/BarChart/ChartLegendV2/index.es.js.map +1 -0
  975. package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot/index.es.js +72 -0
  976. package/dist/insights/components/shared/Charts/BarChart/CustomBarPlot/index.es.js.map +1 -0
  977. package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2/index.es.js +32 -0
  978. package/dist/insights/components/shared/Charts/BarChart/CustomBarPlotV2/index.es.js.map +1 -0
  979. package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot/index.es.js +51 -0
  980. package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlot/index.es.js.map +1 -0
  981. package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI/index.es.js +45 -0
  982. package/dist/insights/components/shared/Charts/BarChart/CustomDoubleBarPlotMXUI/index.es.js.map +1 -0
  983. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart/index.es.js +118 -0
  984. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChart/index.es.js.map +1 -0
  985. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend/index.es.js +73 -0
  986. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegend/index.es.js.map +1 -0
  987. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI/index.es.js +73 -0
  988. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartLegendMXUI/index.es.js.map +1 -0
  989. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI/index.es.js +116 -0
  990. package/dist/insights/components/shared/Charts/BarChart/DoubleBarChartMXUI/index.es.js.map +1 -0
  991. package/dist/insights/components/shared/Charts/EmptyBarChart/index.es.js +14 -0
  992. package/dist/insights/components/shared/Charts/EmptyBarChart/index.es.js.map +1 -0
  993. package/dist/insights/components/shared/Confetti/index.es.js +32 -0
  994. package/dist/insights/components/shared/Confetti/index.es.js.map +1 -0
  995. package/dist/insights/components/shared/ConnectionCard/index.es.js +90 -0
  996. package/dist/insights/components/shared/ConnectionCard/index.es.js.map +1 -0
  997. package/dist/insights/components/shared/Coupon/index.es.js +66 -0
  998. package/dist/insights/components/shared/Coupon/index.es.js.map +1 -0
  999. package/dist/insights/components/shared/DeepLinks/DeepLinkDialog/index.es.js +34 -0
  1000. package/dist/insights/components/shared/DeepLinks/DeepLinkDialog/index.es.js.map +1 -0
  1001. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle/index.es.js +20 -0
  1002. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Circle/index.es.js.map +1 -0
  1003. package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink/index.es.js +163 -0
  1004. package/dist/insights/components/shared/DeepLinks/DirectDeposit/DirectDepositDeepLink/index.es.js.map +1 -0
  1005. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot/index.es.js +19 -0
  1006. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Dot/index.es.js.map +1 -0
  1007. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval/index.es.js +16 -0
  1008. package/dist/insights/components/shared/DeepLinks/DirectDeposit/Oval/index.es.js.map +1 -0
  1009. package/dist/insights/components/shared/DirectDeposit/DirectDeposit/index.es.js +85 -0
  1010. package/dist/insights/components/shared/DirectDeposit/DirectDeposit/index.es.js.map +1 -0
  1011. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader/index.es.js +20 -0
  1012. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader/index.es.js.map +1 -0
  1013. package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader/index.es.js +33 -0
  1014. package/dist/insights/components/shared/DirectDeposit/FullFeedBodyHeader/index.es.js.map +1 -0
  1015. package/dist/insights/components/shared/DirectDeposit/LeftBox/index.es.js +29 -0
  1016. package/dist/insights/components/shared/DirectDeposit/LeftBox/index.es.js.map +1 -0
  1017. package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader/index.es.js +29 -0
  1018. package/dist/insights/components/shared/DirectDeposit/MiniBodyHeader/index.es.js.map +1 -0
  1019. package/dist/insights/components/shared/DirectDeposit/RightBox/index.es.js +43 -0
  1020. package/dist/insights/components/shared/DirectDeposit/RightBox/index.es.js.map +1 -0
  1021. package/dist/insights/components/shared/DiscoveredAccountsConnect/index.es.js +82 -0
  1022. package/dist/insights/components/shared/DiscoveredAccountsConnect/index.es.js.map +1 -0
  1023. package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper/index.es.js +58 -0
  1024. package/dist/insights/components/shared/DrillDownCalculation/BalanceStepper/index.es.js.map +1 -0
  1025. package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation/index.es.js +264 -0
  1026. package/dist/insights/components/shared/DrillDownCalculation/DrillDownCalculation/index.es.js.map +1 -0
  1027. package/dist/insights/components/shared/ErrorCard/ErrorCard/index.es.js +76 -0
  1028. package/dist/insights/components/shared/ErrorCard/ErrorCard/index.es.js.map +1 -0
  1029. package/dist/insights/components/shared/ErrorCard/images/ErrorViewCibc.svg/index.es.js +57 -0
  1030. package/dist/insights/components/shared/ErrorCard/images/ErrorViewCibc.svg/index.es.js.map +1 -0
  1031. package/dist/insights/components/shared/GenericFeedback/FeedbackButtons/index.es.js +47 -0
  1032. package/dist/insights/components/shared/GenericFeedback/FeedbackButtons/index.es.js.map +1 -0
  1033. package/dist/insights/components/shared/GenericFeedback/FeedbackDescription/index.es.js +16 -0
  1034. package/dist/insights/components/shared/GenericFeedback/FeedbackDescription/index.es.js.map +1 -0
  1035. package/dist/insights/components/shared/GenericFeedback/FeedbackHeader/index.es.js +29 -0
  1036. package/dist/insights/components/shared/GenericFeedback/FeedbackHeader/index.es.js.map +1 -0
  1037. package/dist/insights/components/shared/GenericFeedback/FeedbackOptions/index.es.js +50 -0
  1038. package/dist/insights/components/shared/GenericFeedback/FeedbackOptions/index.es.js.map +1 -0
  1039. package/dist/insights/components/shared/GenericFeedback/FeedbackText/index.es.js +45 -0
  1040. package/dist/insights/components/shared/GenericFeedback/FeedbackText/index.es.js.map +1 -0
  1041. package/dist/insights/components/shared/GoalProgress/index.es.js +42 -0
  1042. package/dist/insights/components/shared/GoalProgress/index.es.js.map +1 -0
  1043. package/dist/insights/components/shared/GradientBox/index.es.js +33 -0
  1044. package/dist/insights/components/shared/GradientBox/index.es.js.map +1 -0
  1045. package/dist/insights/components/shared/InsightsCard/BeatCard/index.es.js +31 -0
  1046. package/dist/insights/components/shared/InsightsCard/BeatCard/index.es.js.map +1 -0
  1047. package/dist/insights/components/shared/InsightsCard/BeatCardMUI/index.es.js +32 -0
  1048. package/dist/insights/components/shared/InsightsCard/BeatCardMUI/index.es.js.map +1 -0
  1049. package/dist/insights/components/shared/InsightsCard/CardButtonSection/index.es.js +20 -0
  1050. package/dist/insights/components/shared/InsightsCard/CardButtonSection/index.es.js.map +1 -0
  1051. package/dist/insights/components/shared/InsightsCard/CardError/index.es.js +30 -0
  1052. package/dist/insights/components/shared/InsightsCard/CardError/index.es.js.map +1 -0
  1053. package/dist/insights/components/shared/InsightsCard/CardFooter/index.es.js +24 -0
  1054. package/dist/insights/components/shared/InsightsCard/CardFooter/index.es.js.map +1 -0
  1055. package/dist/insights/components/shared/InsightsCard/CardHeader/index.es.js +28 -0
  1056. package/dist/insights/components/shared/InsightsCard/CardHeader/index.es.js.map +1 -0
  1057. package/dist/insights/components/shared/InsightsCard/CardHeaderMUI/index.es.js +30 -0
  1058. package/dist/insights/components/shared/InsightsCard/CardHeaderMUI/index.es.js.map +1 -0
  1059. package/dist/insights/components/shared/InsightsCard/CardLoading/index.es.js +21 -0
  1060. package/dist/insights/components/shared/InsightsCard/CardLoading/index.es.js.map +1 -0
  1061. package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta/index.es.js +38 -0
  1062. package/dist/insights/components/shared/InsightsCard/ClientConfigurableCta/index.es.js.map +1 -0
  1063. package/dist/insights/components/shared/InsightsCard/ContentAndDescription/index.es.js +43 -0
  1064. package/dist/insights/components/shared/InsightsCard/ContentAndDescription/index.es.js.map +1 -0
  1065. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI/index.es.js +43 -0
  1066. package/dist/insights/components/shared/InsightsCard/ContentAndDescriptionMUI/index.es.js.map +1 -0
  1067. package/dist/insights/components/shared/InsightsCard/Description/index.es.js +31 -0
  1068. package/dist/insights/components/shared/InsightsCard/Description/index.es.js.map +1 -0
  1069. package/dist/insights/components/shared/InsightsCard/DescriptionMUI/index.es.js +30 -0
  1070. package/dist/insights/components/shared/InsightsCard/DescriptionMUI/index.es.js.map +1 -0
  1071. package/dist/insights/components/shared/InsightsCard/EmbeddedCard/index.es.js +69 -0
  1072. package/dist/insights/components/shared/InsightsCard/EmbeddedCard/index.es.js.map +1 -0
  1073. package/dist/insights/components/shared/InsightsCard/FeedbackCard/index.es.js +120 -0
  1074. package/dist/insights/components/shared/InsightsCard/FeedbackCard/index.es.js.map +1 -0
  1075. package/dist/insights/components/shared/InsightsCard/InsightButton/index.es.js +25 -0
  1076. package/dist/insights/components/shared/InsightsCard/InsightButton/index.es.js.map +1 -0
  1077. package/dist/insights/components/shared/InsightsCard/MiniDescription/index.es.js +44 -0
  1078. package/dist/insights/components/shared/InsightsCard/MiniDescription/index.es.js.map +1 -0
  1079. package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI/index.es.js +42 -0
  1080. package/dist/insights/components/shared/InsightsCard/MiniDescriptionMUI/index.es.js.map +1 -0
  1081. package/dist/insights/components/shared/InsightsCard/images/BeatErrorView.svg/index.es.js +728 -0
  1082. package/dist/insights/components/shared/InsightsCard/images/BeatErrorView.svg/index.es.js.map +1 -0
  1083. package/dist/insights/components/shared/MenuAction/index.es.js +68 -0
  1084. package/dist/insights/components/shared/MenuAction/index.es.js.map +1 -0
  1085. package/dist/insights/components/shared/MiniInsightCard/index.es.js +69 -0
  1086. package/dist/insights/components/shared/MiniInsightCard/index.es.js.map +1 -0
  1087. package/dist/insights/components/shared/P2P/P2PMultipleCategorization/index.es.js +107 -0
  1088. package/dist/insights/components/shared/P2P/P2PMultipleCategorization/index.es.js.map +1 -0
  1089. package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount/index.es.js +75 -0
  1090. package/dist/insights/components/shared/P2PCategorizationSingleAccount/P2PCategorizationSingleAccount/index.es.js.map +1 -0
  1091. package/dist/insights/components/shared/ProgressBar/index.es.js +39 -0
  1092. package/dist/insights/components/shared/ProgressBar/index.es.js.map +1 -0
  1093. package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100/index.es.js +55 -0
  1094. package/dist/insights/components/shared/SaveAnExtra100/SaveAnExtra100/index.es.js.map +1 -0
  1095. package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection/index.es.js +77 -0
  1096. package/dist/insights/components/shared/SaveEnoughToLiveOnBottomSection/index.es.js.map +1 -0
  1097. package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection/index.es.js +12 -0
  1098. package/dist/insights/components/shared/SaveEnoughToLiveOnTopSection/index.es.js.map +1 -0
  1099. package/dist/insights/components/shared/StatusIndicator/index.es.js +69 -0
  1100. package/dist/insights/components/shared/StatusIndicator/index.es.js.map +1 -0
  1101. package/dist/insights/components/shared/ThemedSVGImage/index.es.js +49 -0
  1102. package/dist/insights/components/shared/ThemedSVGImage/index.es.js.map +1 -0
  1103. package/dist/insights/components/shared/TransactionCard/index.es.js +93 -0
  1104. package/dist/insights/components/shared/TransactionCard/index.es.js.map +1 -0
  1105. package/dist/insights/components/shared/ZeroState/LinedCardZeroState/index.es.js +23 -0
  1106. package/dist/insights/components/shared/ZeroState/LinedCardZeroState/index.es.js.map +1 -0
  1107. package/dist/insights/components/shared/images/BarChartEmptyState.svg/index.es.js +101 -0
  1108. package/dist/insights/components/shared/images/BarChartEmptyState.svg/index.es.js.map +1 -0
  1109. package/dist/insights/components/shared/images/CouponLeft.svg/index.es.js +104 -0
  1110. package/dist/insights/components/shared/images/CouponLeft.svg/index.es.js.map +1 -0
  1111. package/dist/insights/components/shared/images/CouponLeftDark.svg/index.es.js +104 -0
  1112. package/dist/insights/components/shared/images/CouponLeftDark.svg/index.es.js.map +1 -0
  1113. package/dist/insights/components/shared/images/CouponPerferation.svg/index.es.js +38 -0
  1114. package/dist/insights/components/shared/images/CouponPerferation.svg/index.es.js.map +1 -0
  1115. package/dist/insights/components/shared/images/EmptyBarChart.svg/index.es.js +101 -0
  1116. package/dist/insights/components/shared/images/EmptyBarChart.svg/index.es.js.map +1 -0
  1117. package/dist/insights/components/shared/images/LinedCardZeroState.svg/index.es.js +91 -0
  1118. package/dist/insights/components/shared/images/LinedCardZeroState.svg/index.es.js.map +1 -0
  1119. package/dist/insights/components/shared/images/SaveEnoughToLiveOnBottom.svg/index.es.js +21 -0
  1120. package/dist/insights/components/shared/images/SaveEnoughToLiveOnBottom.svg/index.es.js.map +1 -0
  1121. package/dist/insights/components/shared/images/SaveEnoughToLiveOnTop.svg/index.es.js +815 -0
  1122. package/dist/insights/components/shared/images/SaveEnoughToLiveOnTop.svg/index.es.js.map +1 -0
  1123. package/dist/insights/hooks/useContainerDimensions/index.es.js +26 -0
  1124. package/dist/insights/hooks/useContainerDimensions/index.es.js.map +1 -0
  1125. package/dist/insights/images/Loading.gif/index.es.js +6 -0
  1126. package/dist/insights/images/Loading.gif/index.es.js.map +1 -0
  1127. package/dist/insights/index.es.js +183 -4871
  1128. package/dist/insights/types/Charts/BarChart.d.ts +2 -11
  1129. package/dist/insights/types/CommonBeat/index.es.js +8 -0
  1130. package/dist/insights/types/CommonBeat/index.es.js.map +1 -0
  1131. package/dist/investments/InvestmentsWidget/index.es.js +98 -0
  1132. package/dist/investments/InvestmentsWidget/index.es.js.map +1 -0
  1133. package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js +136 -0
  1134. package/dist/investments/components/Allocation/InvestementAllocationList/index.es.js.map +1 -0
  1135. package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js +86 -0
  1136. package/dist/investments/components/Allocation/InvestmentsAllocationChart/index.es.js.map +1 -0
  1137. package/dist/investments/components/Allocation/index.es.js +55 -0
  1138. package/dist/investments/components/Allocation/index.es.js.map +1 -0
  1139. package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js +103 -0
  1140. package/dist/investments/components/Allocation/util/createInvestementsAllocationData/index.es.js.map +1 -0
  1141. package/dist/investments/components/Analysis/index.es.js +167 -0
  1142. package/dist/investments/components/Analysis/index.es.js.map +1 -0
  1143. package/dist/investments/components/AnalysisDetails/index.es.js +86 -0
  1144. package/dist/investments/components/AnalysisDetails/index.es.js.map +1 -0
  1145. package/dist/investments/components/EmptyStateFooterComponent/index.es.js +52 -0
  1146. package/dist/investments/components/EmptyStateFooterComponent/index.es.js.map +1 -0
  1147. package/dist/investments/components/HeaderCell/index.es.js +28 -0
  1148. package/dist/investments/components/HeaderCell/index.es.js.map +1 -0
  1149. package/dist/investments/components/HoldingDrawer/index.es.js +327 -0
  1150. package/dist/investments/components/HoldingDrawer/index.es.js.map +1 -0
  1151. package/dist/investments/components/HoldingTable/index.es.js +199 -0
  1152. package/dist/investments/components/HoldingTable/index.es.js.map +1 -0
  1153. package/dist/investments/components/InfoToolTip/index.es.js +45 -0
  1154. package/dist/investments/components/InfoToolTip/index.es.js.map +1 -0
  1155. package/dist/investments/components/Overview/index.es.js +456 -0
  1156. package/dist/investments/components/Overview/index.es.js.map +1 -0
  1157. package/dist/investments/components/TabTitle/index.es.js +12 -0
  1158. package/dist/investments/components/TabTitle/index.es.js.map +1 -0
  1159. package/dist/investments/index.es.js +2 -1675
  1160. package/dist/merchants/components/MerchantLookup/index.es.js +91 -0
  1161. package/dist/merchants/components/MerchantLookup/index.es.js.map +1 -0
  1162. package/dist/merchants/index.es.js +2 -76
  1163. package/dist/microinsights/InsightsMicroWidget/index.es.js +109 -0
  1164. package/dist/microinsights/InsightsMicroWidget/index.es.js.map +1 -0
  1165. package/dist/microinsights/MicroCardTemplate/index.es.js +159 -0
  1166. package/dist/microinsights/MicroCardTemplate/index.es.js.map +1 -0
  1167. package/dist/microinsights/MicroWidgetContainer/index.es.js +24 -0
  1168. package/dist/microinsights/MicroWidgetContainer/index.es.js.map +1 -0
  1169. package/dist/microinsights/Spinner/index.es.js +19 -0
  1170. package/dist/microinsights/Spinner/index.es.js.map +1 -0
  1171. package/dist/microinsights/analytics/index.es.js +12 -0
  1172. package/dist/microinsights/analytics/index.es.js.map +1 -0
  1173. package/dist/microinsights/beaticons/AreaChartIcon/index.es.js +18 -0
  1174. package/dist/microinsights/beaticons/AreaChartIcon/index.es.js.map +1 -0
  1175. package/dist/microinsights/beaticons/AverageSpendComparisonIcon/index.es.js +23 -0
  1176. package/dist/microinsights/beaticons/AverageSpendComparisonIcon/index.es.js.map +1 -0
  1177. package/dist/microinsights/beaticons/BeatCategoryIcon/index.es.js +16 -0
  1178. package/dist/microinsights/beaticons/BeatCategoryIcon/index.es.js.map +1 -0
  1179. package/dist/microinsights/beaticons/BeatIcon/index.es.js +162 -0
  1180. package/dist/microinsights/beaticons/BeatIcon/index.es.js.map +1 -0
  1181. package/dist/microinsights/beaticons/BeatMaterialIcon/index.es.js +25 -0
  1182. package/dist/microinsights/beaticons/BeatMaterialIcon/index.es.js.map +1 -0
  1183. package/dist/microinsights/beaticons/BeatMerchantLogo/index.es.js +20 -0
  1184. package/dist/microinsights/beaticons/BeatMerchantLogo/index.es.js.map +1 -0
  1185. package/dist/microinsights/beaticons/ChartFilledIcon/index.es.js +21 -0
  1186. package/dist/microinsights/beaticons/ChartFilledIcon/index.es.js.map +1 -0
  1187. package/dist/microinsights/beaticons/InstitutionLogoIcon/index.es.js +12 -0
  1188. package/dist/microinsights/beaticons/InstitutionLogoIcon/index.es.js.map +1 -0
  1189. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon/index.es.js +17 -0
  1190. package/dist/microinsights/beaticons/MonthlySpendComparisonIcon/index.es.js.map +1 -0
  1191. package/dist/microinsights/beaticons/ZeroStateIcon/index.es.js +722 -0
  1192. package/dist/microinsights/beaticons/ZeroStateIcon/index.es.js.map +1 -0
  1193. package/dist/microinsights/cards/InsightCard/index.es.js +71 -0
  1194. package/dist/microinsights/cards/InsightCard/index.es.js.map +1 -0
  1195. package/dist/microinsights/cards/NoRelevantInsightsCard/index.es.js +38 -0
  1196. package/dist/microinsights/cards/NoRelevantInsightsCard/index.es.js.map +1 -0
  1197. package/dist/microinsights/cards/ViewMoreMicroCard/index.es.js +43 -0
  1198. package/dist/microinsights/cards/ViewMoreMicroCard/index.es.js.map +1 -0
  1199. package/dist/microinsights/cards/ZeroStateCard/index.es.js +32 -0
  1200. package/dist/microinsights/cards/ZeroStateCard/index.es.js.map +1 -0
  1201. package/dist/microinsights/carousel/BeatList/index.es.js +37 -0
  1202. package/dist/microinsights/carousel/BeatList/index.es.js.map +1 -0
  1203. package/dist/microinsights/carousel/CarouselControls/index.es.js +63 -0
  1204. package/dist/microinsights/carousel/CarouselControls/index.es.js.map +1 -0
  1205. package/dist/microinsights/carousel/CarouselHeader/index.es.js +39 -0
  1206. package/dist/microinsights/carousel/CarouselHeader/index.es.js.map +1 -0
  1207. package/dist/microinsights/carousel/MicroBeatCarousel/index.es.js +147 -0
  1208. package/dist/microinsights/carousel/MicroBeatCarousel/index.es.js.map +1 -0
  1209. package/dist/microinsights/constants/Analytics/index.es.js +148 -0
  1210. package/dist/microinsights/constants/Analytics/index.es.js.map +1 -0
  1211. package/dist/microinsights/constants/App/index.es.js +11 -0
  1212. package/dist/microinsights/constants/App/index.es.js.map +1 -0
  1213. package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js +17 -0
  1214. package/dist/microinsights/context/InsightsMicroWidgetDataProvider/index.es.js.map +1 -0
  1215. package/dist/microinsights/context/hooks/index.es.js +27 -0
  1216. package/dist/microinsights/context/hooks/index.es.js.map +1 -0
  1217. package/dist/microinsights/index.es.js +28 -826
  1218. package/dist/microinsights/stores/AppStore/index.es.js +27 -0
  1219. package/dist/microinsights/stores/AppStore/index.es.js.map +1 -0
  1220. package/dist/microinsights/stores/CopyStore/index.es.js +34 -0
  1221. package/dist/microinsights/stores/CopyStore/index.es.js.map +1 -0
  1222. package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js +33 -0
  1223. package/dist/microinsights/stores/InsightsMicroWidgetStore/index.es.js.map +1 -0
  1224. package/dist/microinsights/utils/DataSeries/index.es.js +11 -0
  1225. package/dist/microinsights/utils/DataSeries/index.es.js.map +1 -0
  1226. package/dist/microinsights/utils/colorType/index.es.js +13 -0
  1227. package/dist/microinsights/utils/colorType/index.es.js.map +1 -0
  1228. package/dist/networth/NetWorthMicroWidget/index.es.js +40 -0
  1229. package/dist/networth/NetWorthMicroWidget/index.es.js.map +1 -0
  1230. package/dist/networth/NetWorthWidget/index.es.js +78 -0
  1231. package/dist/networth/NetWorthWidget/index.es.js.map +1 -0
  1232. package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js +158 -0
  1233. package/dist/networth/components/AssetsLiabilitiesDetail/index.es.js.map +1 -0
  1234. package/dist/networth/components/GainsLossesDetail/index.es.js +137 -0
  1235. package/dist/networth/components/GainsLossesDetail/index.es.js.map +1 -0
  1236. package/dist/networth/components/NetWorthChange/index.es.js +34 -0
  1237. package/dist/networth/components/NetWorthChange/index.es.js.map +1 -0
  1238. package/dist/networth/components/NetWorthChart/index.es.js +58 -0
  1239. package/dist/networth/components/NetWorthChart/index.es.js.map +1 -0
  1240. package/dist/networth/components/NetWorthList/index.es.js +99 -0
  1241. package/dist/networth/components/NetWorthList/index.es.js.map +1 -0
  1242. package/dist/networth/components/NetWorthListItem/index.es.js +50 -0
  1243. package/dist/networth/components/NetWorthListItem/index.es.js.map +1 -0
  1244. package/dist/networth/components/NetWorthSummary/index.es.js +38 -0
  1245. package/dist/networth/components/NetWorthSummary/index.es.js.map +1 -0
  1246. package/dist/networth/components/micro/NetworthData/index.es.js +49 -0
  1247. package/dist/networth/components/micro/NetworthData/index.es.js.map +1 -0
  1248. package/dist/networth/components/micro/ZeroState/index.es.js +31 -0
  1249. package/dist/networth/components/micro/ZeroState/index.es.js.map +1 -0
  1250. package/dist/networth/index.es.js +4 -565
  1251. package/dist/notifications/components/DateRow/index.es.js +23 -0
  1252. package/dist/notifications/components/DateRow/index.es.js.map +1 -0
  1253. package/dist/notifications/components/NotificationBadge/index.es.js +33 -0
  1254. package/dist/notifications/components/NotificationBadge/index.es.js.map +1 -0
  1255. package/dist/notifications/components/NotificationCard/index.es.js +56 -0
  1256. package/dist/notifications/components/NotificationCard/index.es.js.map +1 -0
  1257. package/dist/notifications/components/NotificationDrawer/index.es.js +47 -0
  1258. package/dist/notifications/components/NotificationDrawer/index.es.js.map +1 -0
  1259. package/dist/notifications/components/NotificationList/index.es.js +42 -0
  1260. package/dist/notifications/components/NotificationList/index.es.js.map +1 -0
  1261. package/dist/notifications/components/NotificationsEmptyState/index.es.js +49 -0
  1262. package/dist/notifications/components/NotificationsEmptyState/index.es.js.map +1 -0
  1263. package/dist/notifications/constants/NotificationConstants/index.es.js +24 -0
  1264. package/dist/notifications/constants/NotificationConstants/index.es.js.map +1 -0
  1265. package/dist/notifications/index.es.js +6 -198
  1266. package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js +54 -0
  1267. package/dist/recurringtransactions/RecurringTransactionsMicroWidget/index.es.js.map +1 -0
  1268. package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js +47 -0
  1269. package/dist/recurringtransactions/RecurringTransactionsMiniWidget/index.es.js.map +1 -0
  1270. package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js +87 -0
  1271. package/dist/recurringtransactions/RecurringTransactionsWidget/index.es.js.map +1 -0
  1272. package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js +30 -0
  1273. package/dist/recurringtransactions/ZeroStateMicroWidget/index.es.js.map +1 -0
  1274. package/dist/recurringtransactions/components/MicroWidgetContent/index.es.js +103 -0
  1275. package/dist/recurringtransactions/components/MicroWidgetContent/index.es.js.map +1 -0
  1276. package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js +45 -0
  1277. package/dist/recurringtransactions/components/MiniWidgetContent/index.es.js.map +1 -0
  1278. package/dist/recurringtransactions/components/PaymentSchedule/index.es.js +133 -0
  1279. package/dist/recurringtransactions/components/PaymentSchedule/index.es.js.map +1 -0
  1280. package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js +64 -0
  1281. package/dist/recurringtransactions/components/RecurrenceBadges/index.es.js.map +1 -0
  1282. package/dist/recurringtransactions/components/RecurrenceList/index.es.js +87 -0
  1283. package/dist/recurringtransactions/components/RecurrenceList/index.es.js.map +1 -0
  1284. package/dist/recurringtransactions/components/RecurrenceRow/index.es.js +133 -0
  1285. package/dist/recurringtransactions/components/RecurrenceRow/index.es.js.map +1 -0
  1286. package/dist/recurringtransactions/components/RecurringSettingsDrawer/index.es.js +20 -0
  1287. package/dist/recurringtransactions/components/RecurringSettingsDrawer/index.es.js.map +1 -0
  1288. package/dist/recurringtransactions/components/RecurringStatus/index.es.js +114 -0
  1289. package/dist/recurringtransactions/components/RecurringStatus/index.es.js.map +1 -0
  1290. package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js +181 -0
  1291. package/dist/recurringtransactions/components/RecurringTransactionDetails/index.es.js.map +1 -0
  1292. package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer/index.es.js +27 -0
  1293. package/dist/recurringtransactions/components/RecurringTransactionDetailsDrawer/index.es.js.map +1 -0
  1294. package/dist/recurringtransactions/components/RecurringTransactionList/index.es.js +181 -0
  1295. package/dist/recurringtransactions/components/RecurringTransactionList/index.es.js.map +1 -0
  1296. package/dist/recurringtransactions/components/RecurringTransactions/index.es.js +155 -0
  1297. package/dist/recurringtransactions/components/RecurringTransactions/index.es.js.map +1 -0
  1298. package/dist/recurringtransactions/components/UpcomingRecurrenceCard/index.es.js +63 -0
  1299. package/dist/recurringtransactions/components/UpcomingRecurrenceCard/index.es.js.map +1 -0
  1300. package/dist/recurringtransactions/components/actions/LinkTransactionDrawer/index.es.js +46 -0
  1301. package/dist/recurringtransactions/components/actions/LinkTransactionDrawer/index.es.js.map +1 -0
  1302. package/dist/recurringtransactions/components/actions/MarkAsPaidDialog/index.es.js +28 -0
  1303. package/dist/recurringtransactions/components/actions/MarkAsPaidDialog/index.es.js.map +1 -0
  1304. package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog/index.es.js +28 -0
  1305. package/dist/recurringtransactions/components/actions/MarkAsUnpaidDialog/index.es.js.map +1 -0
  1306. package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js +47 -0
  1307. package/dist/recurringtransactions/components/actions/PaymentScheduleAction/index.es.js.map +1 -0
  1308. package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js +19 -0
  1309. package/dist/recurringtransactions/components/micro/MerchantLogosRow/index.es.js.map +1 -0
  1310. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js +33 -0
  1311. package/dist/recurringtransactions/components/micro/OverlappingMerchantLogos/index.es.js.map +1 -0
  1312. package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js +37 -0
  1313. package/dist/recurringtransactions/components/micro/RecurrenceLegend/index.es.js.map +1 -0
  1314. package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js +48 -0
  1315. package/dist/recurringtransactions/components/recurrencecalendar/Legend/index.es.js.map +1 -0
  1316. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js +111 -0
  1317. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceCalendar/index.es.js.map +1 -0
  1318. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js +48 -0
  1319. package/dist/recurringtransactions/components/recurrencecalendar/RecurrenceDay/index.es.js.map +1 -0
  1320. package/dist/recurringtransactions/components/shared/RecurringSettings/AddRecurringTransaction/index.es.js +93 -0
  1321. package/dist/recurringtransactions/components/shared/RecurringSettings/AddRecurringTransaction/index.es.js.map +1 -0
  1322. package/dist/recurringtransactions/components/shared/RecurringSettings/AddRecurringTransactionDetails/index.es.js +42 -0
  1323. package/dist/recurringtransactions/components/shared/RecurringSettings/AddRecurringTransactionDetails/index.es.js.map +1 -0
  1324. package/dist/recurringtransactions/components/shared/RecurringSettings/ManageExpenses/index.es.js +57 -0
  1325. package/dist/recurringtransactions/components/shared/RecurringSettings/ManageExpenses/index.es.js.map +1 -0
  1326. package/dist/recurringtransactions/components/shared/RecurringSettings/ManageIncome/index.es.js +72 -0
  1327. package/dist/recurringtransactions/components/shared/RecurringSettings/ManageIncome/index.es.js.map +1 -0
  1328. package/dist/recurringtransactions/components/shared/RecurringSettings/RecurringRow/index.es.js +96 -0
  1329. package/dist/recurringtransactions/components/shared/RecurringSettings/RecurringRow/index.es.js.map +1 -0
  1330. package/dist/recurringtransactions/components/shared/RecurringSettings/RecurringSettingsZeroState/index.es.js +47 -0
  1331. package/dist/recurringtransactions/components/shared/RecurringSettings/RecurringSettingsZeroState/index.es.js.map +1 -0
  1332. package/dist/recurringtransactions/components/shared/RecurringSettings/SelectTransaction/index.es.js +45 -0
  1333. package/dist/recurringtransactions/components/shared/RecurringSettings/SelectTransaction/index.es.js.map +1 -0
  1334. package/dist/recurringtransactions/components/shared/RecurringSettings/index.es.js +37 -0
  1335. package/dist/recurringtransactions/components/shared/RecurringSettings/index.es.js.map +1 -0
  1336. package/dist/recurringtransactions/index.es.js +18 -1022
  1337. package/dist/settings/NotificationSettingsWidget/index.es.js +32 -0
  1338. package/dist/settings/NotificationSettingsWidget/index.es.js.map +1 -0
  1339. package/dist/settings/SettingsWidget/index.es.js +82 -0
  1340. package/dist/settings/SettingsWidget/index.es.js.map +1 -0
  1341. package/dist/settings/TransactionRulesWidget/index.es.js +28 -0
  1342. package/dist/settings/TransactionRulesWidget/index.es.js.map +1 -0
  1343. package/dist/settings/components/SettingsWidgetContents/index.es.js +47 -0
  1344. package/dist/settings/components/SettingsWidgetContents/index.es.js.map +1 -0
  1345. package/dist/settings/components/devices/DeviceDialog/index.es.js +127 -0
  1346. package/dist/settings/components/devices/DeviceDialog/index.es.js.map +1 -0
  1347. package/dist/settings/components/devices/DeviceList/index.es.js +125 -0
  1348. package/dist/settings/components/devices/DeviceList/index.es.js.map +1 -0
  1349. package/dist/settings/components/devices/DeviceTab/index.es.js +107 -0
  1350. package/dist/settings/components/devices/DeviceTab/index.es.js.map +1 -0
  1351. package/dist/settings/components/devices/DeviceTable/index.es.js +120 -0
  1352. package/dist/settings/components/devices/DeviceTable/index.es.js.map +1 -0
  1353. package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js +92 -0
  1354. package/dist/settings/components/notifications/AccountNotificationProfile/index.es.js.map +1 -0
  1355. package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js +44 -0
  1356. package/dist/settings/components/notifications/AccountNotificationProfiles/index.es.js.map +1 -0
  1357. package/dist/settings/components/notifications/AccountProfileListItem/index.es.js +84 -0
  1358. package/dist/settings/components/notifications/AccountProfileListItem/index.es.js.map +1 -0
  1359. package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js +14 -0
  1360. package/dist/settings/components/notifications/BudgetNotificationProfiles/index.es.js.map +1 -0
  1361. package/dist/settings/components/notifications/DeliveryMethods/index.es.js +78 -0
  1362. package/dist/settings/components/notifications/DeliveryMethods/index.es.js.map +1 -0
  1363. package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js +14 -0
  1364. package/dist/settings/components/notifications/InsightsNotificationProfiles/index.es.js.map +1 -0
  1365. package/dist/settings/components/notifications/NotificationProfile/index.es.js +80 -0
  1366. package/dist/settings/components/notifications/NotificationProfile/index.es.js.map +1 -0
  1367. package/dist/settings/components/notifications/NotificationSettings/index.es.js +94 -0
  1368. package/dist/settings/components/notifications/NotificationSettings/index.es.js.map +1 -0
  1369. package/dist/settings/components/notifications/PersonalDetails/index.es.js +111 -0
  1370. package/dist/settings/components/notifications/PersonalDetails/index.es.js.map +1 -0
  1371. package/dist/settings/components/profile/ProfileTab/index.es.js +178 -0
  1372. package/dist/settings/components/profile/ProfileTab/index.es.js.map +1 -0
  1373. package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js +88 -0
  1374. package/dist/settings/components/profile/actions/VerifyEmailAction/index.es.js.map +1 -0
  1375. package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js +105 -0
  1376. package/dist/settings/components/profile/actions/VerifyPhoneAction/index.es.js.map +1 -0
  1377. package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js +40 -0
  1378. package/dist/settings/components/profile/actions/VerifyTokenAction/index.es.js.map +1 -0
  1379. package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js +35 -0
  1380. package/dist/settings/components/transactionrules/TransactionRulesTab/index.es.js.map +1 -0
  1381. package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js +34 -0
  1382. package/dist/settings/components/transactionrules/actions/DeleteRuleAction/index.es.js.map +1 -0
  1383. package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js +31 -0
  1384. package/dist/settings/components/transactionrules/actions/EditCategoryAction/index.es.js.map +1 -0
  1385. package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js +45 -0
  1386. package/dist/settings/components/transactionrules/actions/EditPayeeAction/index.es.js.map +1 -0
  1387. package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js +36 -0
  1388. package/dist/settings/components/transactionrules/actions/EditRuleAction/index.es.js.map +1 -0
  1389. package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js +46 -0
  1390. package/dist/settings/components/transactionrules/components/EditRuleDetails/index.es.js.map +1 -0
  1391. package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js +26 -0
  1392. package/dist/settings/components/transactionrules/components/RuleListItem/index.es.js.map +1 -0
  1393. package/dist/settings/constants/Settings/index.es.js +8 -0
  1394. package/dist/settings/constants/Settings/index.es.js.map +1 -0
  1395. package/dist/settings/index.es.js +23 -892
  1396. package/dist/spending/SpendingMiniWidget/index.es.js +41 -0
  1397. package/dist/spending/SpendingMiniWidget/index.es.js.map +1 -0
  1398. package/dist/spending/SpendingWidget/index.es.js +51 -0
  1399. package/dist/spending/SpendingWidget/index.es.js.map +1 -0
  1400. package/dist/spending/components/MiniSpendingChart/index.es.js +112 -0
  1401. package/dist/spending/components/MiniSpendingChart/index.es.js.map +1 -0
  1402. package/dist/spending/components/Spending/index.es.js +123 -0
  1403. package/dist/spending/components/Spending/index.es.js.map +1 -0
  1404. package/dist/spending/components/SpendingChart/index.es.js +60 -0
  1405. package/dist/spending/components/SpendingChart/index.es.js.map +1 -0
  1406. package/dist/spending/components/SpendingDonut/index.es.js +132 -0
  1407. package/dist/spending/components/SpendingDonut/index.es.js.map +1 -0
  1408. package/dist/spending/components/SpendingLegend/index.es.js +46 -0
  1409. package/dist/spending/components/SpendingLegend/index.es.js.map +1 -0
  1410. package/dist/spending/components/SpendingList/index.es.js +124 -0
  1411. package/dist/spending/components/SpendingList/index.es.js.map +1 -0
  1412. package/dist/spending/components/SpendingTabLabel/index.es.js +22 -0
  1413. package/dist/spending/components/SpendingTabLabel/index.es.js.map +1 -0
  1414. package/dist/spending/index.es.js +4 -491
  1415. package/dist/spending/utils/SpendingData/index.es.js +72 -0
  1416. package/dist/spending/utils/SpendingData/index.es.js.map +1 -0
  1417. package/dist/transactions/TransactionWidget/index.es.js +189 -0
  1418. package/dist/transactions/TransactionWidget/index.es.js.map +1 -0
  1419. package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js +85 -0
  1420. package/dist/transactions/components/shared/TransactionDetails/Description/index.es.js.map +1 -0
  1421. package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js +49 -0
  1422. package/dist/transactions/components/shared/TransactionDetails/FlagTransaction/index.es.js.map +1 -0
  1423. package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js +151 -0
  1424. package/dist/transactions/components/shared/TransactionDetails/ManualTransactionDetails/index.es.js.map +1 -0
  1425. package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js +39 -0
  1426. package/dist/transactions/components/shared/TransactionDetails/TransactionAmountHeader/index.es.js.map +1 -0
  1427. package/dist/transactions/components/shared/TransactionDetails/TransactionDetailsView/index.es.js +82 -0
  1428. package/dist/transactions/components/shared/TransactionDetails/TransactionDetailsView/index.es.js.map +1 -0
  1429. package/dist/transactions/components/shared/TransactionDetails/actions/AddMerchantBudgetAction/index.es.js +161 -0
  1430. package/dist/transactions/components/shared/TransactionDetails/actions/AddMerchantBudgetAction/index.es.js.map +1 -0
  1431. package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js +105 -0
  1432. package/dist/transactions/components/shared/TransactionDetails/actions/CategoryAction/index.es.js.map +1 -0
  1433. package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js +103 -0
  1434. package/dist/transactions/components/shared/TransactionDetails/actions/DateAction/index.es.js.map +1 -0
  1435. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js +66 -0
  1436. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteAction/index.es.js.map +1 -0
  1437. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js +77 -0
  1438. package/dist/transactions/components/shared/TransactionDetails/actions/DeleteLogoAction/index.es.js.map +1 -0
  1439. package/dist/transactions/components/shared/TransactionDetails/actions/ExcludeAction/index.es.js +90 -0
  1440. package/dist/transactions/components/shared/TransactionDetails/actions/ExcludeAction/index.es.js.map +1 -0
  1441. package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js +101 -0
  1442. package/dist/transactions/components/shared/TransactionDetails/actions/MemoAction/index.es.js.map +1 -0
  1443. package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js +150 -0
  1444. package/dist/transactions/components/shared/TransactionDetails/actions/SplitAction/index.es.js.map +1 -0
  1445. package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js +94 -0
  1446. package/dist/transactions/components/shared/TransactionDetails/actions/TagsAction/index.es.js.map +1 -0
  1447. package/dist/transactions/components/shared/TransactionDetails/index.es.js +255 -0
  1448. package/dist/transactions/components/shared/TransactionDetails/index.es.js.map +1 -0
  1449. package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js +92 -0
  1450. package/dist/transactions/components/shared/TransactionList/TransactionRow/index.es.js.map +1 -0
  1451. package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js +39 -0
  1452. package/dist/transactions/components/shared/TransactionList/ZeroState/index.es.js.map +1 -0
  1453. package/dist/transactions/components/shared/TransactionList/index.es.js +92 -0
  1454. package/dist/transactions/components/shared/TransactionList/index.es.js.map +1 -0
  1455. package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js +12 -0
  1456. package/dist/transactions/components/shared/TransactionTable/cells/AccountCell/index.es.js.map +1 -0
  1457. package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js +30 -0
  1458. package/dist/transactions/components/shared/TransactionTable/cells/AmountCell/index.es.js.map +1 -0
  1459. package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js +38 -0
  1460. package/dist/transactions/components/shared/TransactionTable/cells/CategoryCell/index.es.js.map +1 -0
  1461. package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js +14 -0
  1462. package/dist/transactions/components/shared/TransactionTable/cells/DateCell/index.es.js.map +1 -0
  1463. package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js +46 -0
  1464. package/dist/transactions/components/shared/TransactionTable/cells/FlagCell/index.es.js.map +1 -0
  1465. package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js +12 -0
  1466. package/dist/transactions/components/shared/TransactionTable/cells/HeaderCell/index.es.js.map +1 -0
  1467. package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js +28 -0
  1468. package/dist/transactions/components/shared/TransactionTable/cells/PayeeCell/index.es.js.map +1 -0
  1469. package/dist/transactions/components/shared/TransactionTable/index.es.js +124 -0
  1470. package/dist/transactions/components/shared/TransactionTable/index.es.js.map +1 -0
  1471. package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates/index.es.js +25 -0
  1472. package/dist/transactions/components/shared/getEmbeddedInstanceSlotByBeatTemplates/index.es.js.map +1 -0
  1473. package/dist/transactions/components/splitmanager/SplitManager/index.es.js +68 -0
  1474. package/dist/transactions/components/splitmanager/SplitManager/index.es.js.map +1 -0
  1475. package/dist/transactions/components/splitmanager/SplitRow/index.es.js +119 -0
  1476. package/dist/transactions/components/splitmanager/SplitRow/index.es.js.map +1 -0
  1477. package/dist/transactions/components/tagmanager/Header/index.es.js +68 -0
  1478. package/dist/transactions/components/tagmanager/Header/index.es.js.map +1 -0
  1479. package/dist/transactions/components/tagmanager/SearchBox/index.es.js +48 -0
  1480. package/dist/transactions/components/tagmanager/SearchBox/index.es.js.map +1 -0
  1481. package/dist/transactions/components/tagmanager/TagManager/index.es.js +36 -0
  1482. package/dist/transactions/components/tagmanager/TagManager/index.es.js.map +1 -0
  1483. package/dist/transactions/components/tagmanager/TagRow/index.es.js +108 -0
  1484. package/dist/transactions/components/tagmanager/TagRow/index.es.js.map +1 -0
  1485. package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js +33 -0
  1486. package/dist/transactions/components/transactionwidget/AddAccountModal/index.es.js.map +1 -0
  1487. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js +44 -0
  1488. package/dist/transactions/components/transactionwidget/actions/EditCategoryAction/index.es.js.map +1 -0
  1489. package/dist/transactions/components/transactionwidget/actions/ExportCsvAction/index.es.js +26 -0
  1490. package/dist/transactions/components/transactionwidget/actions/ExportCsvAction/index.es.js.map +1 -0
  1491. package/dist/transactions/constants/Actions/index.es.js +22 -0
  1492. package/dist/transactions/constants/Actions/index.es.js.map +1 -0
  1493. package/dist/transactions/constants/OnClickEvents/index.es.js +50 -0
  1494. package/dist/transactions/constants/OnClickEvents/index.es.js.map +1 -0
  1495. package/dist/transactions/context/hooks/index.es.js +12 -0
  1496. package/dist/transactions/context/hooks/index.es.js.map +1 -0
  1497. package/dist/transactions/index.es.js +17 -604
  1498. package/dist/transactions/utils/Filters/index.es.js +11 -0
  1499. package/dist/transactions/utils/Filters/index.es.js.map +1 -0
  1500. package/dist/transactions/utils/Transactions/index.es.js +24 -0
  1501. package/dist/transactions/utils/Transactions/index.es.js.map +1 -0
  1502. package/dist/trends/TrendsFullWidget/index.es.js +154 -0
  1503. package/dist/trends/TrendsFullWidget/index.es.js.map +1 -0
  1504. package/dist/trends/TrendsMicroWidget/index.es.js +72 -0
  1505. package/dist/trends/TrendsMicroWidget/index.es.js.map +1 -0
  1506. package/dist/trends/TrendsMiniWidget/index.es.js +43 -0
  1507. package/dist/trends/TrendsMiniWidget/index.es.js.map +1 -0
  1508. package/dist/trends/TrendsWidget/index.es.js +207 -0
  1509. package/dist/trends/TrendsWidget/index.es.js.map +1 -0
  1510. package/dist/trends/ZeroStateMicroWidget/index.es.js +30 -0
  1511. package/dist/trends/ZeroStateMicroWidget/index.es.js.map +1 -0
  1512. package/dist/trends/components/CategoriesList/index.es.js +64 -0
  1513. package/dist/trends/components/CategoriesList/index.es.js.map +1 -0
  1514. package/dist/trends/components/CategoriesListItem/index.es.js +44 -0
  1515. package/dist/trends/components/CategoriesListItem/index.es.js.map +1 -0
  1516. package/dist/trends/components/CategoryDetailChart/index.es.js +45 -0
  1517. package/dist/trends/components/CategoryDetailChart/index.es.js.map +1 -0
  1518. package/dist/trends/components/CategoryDetails/index.es.js +104 -0
  1519. package/dist/trends/components/CategoryDetails/index.es.js.map +1 -0
  1520. package/dist/trends/components/DateRangeText/index.es.js +26 -0
  1521. package/dist/trends/components/DateRangeText/index.es.js.map +1 -0
  1522. package/dist/trends/components/SpendingChart/index.es.js +28 -0
  1523. package/dist/trends/components/SpendingChart/index.es.js.map +1 -0
  1524. package/dist/trends/components/TrendsChart/index.es.js +63 -0
  1525. package/dist/trends/components/TrendsChart/index.es.js.map +1 -0
  1526. package/dist/trends/components/TrendsChartTotals/index.es.js +58 -0
  1527. package/dist/trends/components/TrendsChartTotals/index.es.js.map +1 -0
  1528. package/dist/trends/components/TrendsDrawer/index.es.js +38 -0
  1529. package/dist/trends/components/TrendsDrawer/index.es.js.map +1 -0
  1530. package/dist/trends/components/TrendsInsights/index.es.js +38 -0
  1531. package/dist/trends/components/TrendsInsights/index.es.js.map +1 -0
  1532. package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js +82 -0
  1533. package/dist/trends/components/TrendsMicroSpendingIncomeBox/index.es.js.map +1 -0
  1534. package/dist/trends/components/TrendsTableContainer/index.es.js +56 -0
  1535. package/dist/trends/components/TrendsTableContainer/index.es.js.map +1 -0
  1536. package/dist/trends/components/TrendsViewToggle/index.es.js +28 -0
  1537. package/dist/trends/components/TrendsViewToggle/index.es.js.map +1 -0
  1538. package/dist/trends/components/trendstable/AccessibleSortIcon/index.es.js +49 -0
  1539. package/dist/trends/components/trendstable/AccessibleSortIcon/index.es.js.map +1 -0
  1540. package/dist/trends/components/trendstable/AmountCell/index.es.js +24 -0
  1541. package/dist/trends/components/trendstable/AmountCell/index.es.js.map +1 -0
  1542. package/dist/trends/components/trendstable/CategoryCell/index.es.js +30 -0
  1543. package/dist/trends/components/trendstable/CategoryCell/index.es.js.map +1 -0
  1544. package/dist/trends/components/trendstable/HeaderCell/index.es.js +12 -0
  1545. package/dist/trends/components/trendstable/HeaderCell/index.es.js.map +1 -0
  1546. package/dist/trends/components/trendstable/TrendsTable/index.es.js +52 -0
  1547. package/dist/trends/components/trendstable/TrendsTable/index.es.js.map +1 -0
  1548. package/dist/trends/constants/TrendsInsights/index.es.js +40 -0
  1549. package/dist/trends/constants/TrendsInsights/index.es.js.map +1 -0
  1550. package/dist/trends/constants/TrendsWidget/index.es.js +6 -0
  1551. package/dist/trends/constants/TrendsWidget/index.es.js.map +1 -0
  1552. package/dist/trends/index.es.js +8 -1612
  1553. package/dist/trends/utils/SpendingData/index.es.js +53 -0
  1554. package/dist/trends/utils/SpendingData/index.es.js.map +1 -0
  1555. package/dist/trends/utils/TrendsTable/index.es.js +101 -0
  1556. package/dist/trends/utils/TrendsTable/index.es.js.map +1 -0
  1557. package/dist/trends/utils/TrendsWidget/index.es.js +11 -0
  1558. package/dist/trends/utils/TrendsWidget/index.es.js.map +1 -0
  1559. package/dist/trends/utils/shared/index.es.js +18 -0
  1560. package/dist/trends/utils/shared/index.es.js.map +1 -0
  1561. package/package.json +34 -39
  1562. package/dist/Account-DR7Plrqy.mjs +0 -119
  1563. package/dist/Account-DR7Plrqy.mjs.map +0 -1
  1564. package/dist/AccountDetailsDrawer-JORrub4d.mjs +0 -922
  1565. package/dist/AccountDetailsDrawer-JORrub4d.mjs.map +0 -1
  1566. package/dist/AccountDetailsHeader-C84CSN2K.mjs +0 -230
  1567. package/dist/AccountDetailsHeader-C84CSN2K.mjs.map +0 -1
  1568. package/dist/AccountUtils-Cbh8r9cP.mjs +0 -29
  1569. package/dist/AccountUtils-Cbh8r9cP.mjs.map +0 -1
  1570. package/dist/Analytics-B8AaC22u.mjs +0 -54
  1571. package/dist/Analytics-B8AaC22u.mjs.map +0 -1
  1572. package/dist/Analytics-D-jdcL72.mjs +0 -140
  1573. package/dist/Analytics-D-jdcL72.mjs.map +0 -1
  1574. package/dist/ApiEndpoints-DXwIYNUV.mjs +0 -50
  1575. package/dist/ApiEndpoints-DXwIYNUV.mjs.map +0 -1
  1576. package/dist/BeatMaterialIcon-1KOfRZrA.mjs +0 -27
  1577. package/dist/BeatMaterialIcon-1KOfRZrA.mjs.map +0 -1
  1578. package/dist/BudgetUtil-Bg2AQJpQ.mjs +0 -75
  1579. package/dist/BudgetUtil-Bg2AQJpQ.mjs.map +0 -1
  1580. package/dist/Category-DEKZGLYe.mjs +0 -302
  1581. package/dist/Category-DEKZGLYe.mjs.map +0 -1
  1582. package/dist/CategorySelectorDrawer-BuSaE8-f.mjs +0 -431
  1583. package/dist/CategorySelectorDrawer-BuSaE8-f.mjs.map +0 -1
  1584. package/dist/Connect-BH0Pt6zc.mjs +0 -43
  1585. package/dist/Connect-BH0Pt6zc.mjs.map +0 -1
  1586. package/dist/ConnectCard-D7exwcv8.mjs +0 -55
  1587. package/dist/ConnectCard-D7exwcv8.mjs.map +0 -1
  1588. package/dist/ConnectDrawer-BQ9ouCgh.mjs +0 -58
  1589. package/dist/ConnectDrawer-BQ9ouCgh.mjs.map +0 -1
  1590. package/dist/ConnectionsDrawer-CCDnZGh0.mjs +0 -54
  1591. package/dist/ConnectionsDrawer-CCDnZGh0.mjs.map +0 -1
  1592. package/dist/CurrencyDialog-DumQCTPO.mjs +0 -374
  1593. package/dist/CurrencyDialog-DumQCTPO.mjs.map +0 -1
  1594. package/dist/CurrencyInput-DaGEQaLW.mjs +0 -88
  1595. package/dist/CurrencyInput-DaGEQaLW.mjs.map +0 -1
  1596. package/dist/CurrencyText-CCbE6MmF.mjs +0 -21
  1597. package/dist/CurrencyText-CCbE6MmF.mjs.map +0 -1
  1598. package/dist/DateFormats-HudZ3Bjs.mjs +0 -65
  1599. package/dist/DateFormats-HudZ3Bjs.mjs.map +0 -1
  1600. package/dist/DateUtil-Bl7d7C1W.mjs +0 -76
  1601. package/dist/DateUtil-Bl7d7C1W.mjs.map +0 -1
  1602. package/dist/DebtUtils-i4pI2Uoe.mjs +0 -154
  1603. package/dist/DebtUtils-i4pI2Uoe.mjs.map +0 -1
  1604. package/dist/Dialog-Bvd2n8hz.mjs +0 -67
  1605. package/dist/Dialog-Bvd2n8hz.mjs.map +0 -1
  1606. package/dist/Donut-SzzfZDHF.mjs +0 -89
  1607. package/dist/Donut-SzzfZDHF.mjs.map +0 -1
  1608. package/dist/Drawer-CWQYTC6t.mjs +0 -187
  1609. package/dist/Drawer-CWQYTC6t.mjs.map +0 -1
  1610. package/dist/EmbeddedCard-AdIOFTGI.mjs +0 -860
  1611. package/dist/EmbeddedCard-AdIOFTGI.mjs.map +0 -1
  1612. package/dist/EmptyState-CJUDc3kD.mjs +0 -85
  1613. package/dist/EmptyState-CJUDc3kD.mjs.map +0 -1
  1614. package/dist/Error-Dtw6yxkf.mjs +0 -85
  1615. package/dist/Error-Dtw6yxkf.mjs.map +0 -1
  1616. package/dist/ErrorBoundary-C7BlHx04.mjs +0 -27
  1617. package/dist/ErrorBoundary-C7BlHx04.mjs.map +0 -1
  1618. package/dist/ExportCsvAction-CuQY5irL.mjs +0 -25
  1619. package/dist/ExportCsvAction-CuQY5irL.mjs.map +0 -1
  1620. package/dist/GlobalAccountFilter-BhzR5Vb1.mjs +0 -230
  1621. package/dist/GlobalAccountFilter-BhzR5Vb1.mjs.map +0 -1
  1622. package/dist/GlobalCopyApi-CLhyon-B.mjs +0 -145
  1623. package/dist/GlobalCopyApi-CLhyon-B.mjs.map +0 -1
  1624. package/dist/GoalsUtil-C9EnLWvC.mjs +0 -108
  1625. package/dist/GoalsUtil-C9EnLWvC.mjs.map +0 -1
  1626. package/dist/HeaderCell-P8w6CmfO.mjs +0 -7
  1627. package/dist/HeaderCell-P8w6CmfO.mjs.map +0 -1
  1628. package/dist/Help-CkQTjORd.mjs +0 -300
  1629. package/dist/Help-CkQTjORd.mjs.map +0 -1
  1630. package/dist/Help-wVQI-yjk.mjs +0 -3210
  1631. package/dist/Help-wVQI-yjk.mjs.map +0 -1
  1632. package/dist/IconBacking-DgT8DCeh.mjs +0 -40
  1633. package/dist/IconBacking-DgT8DCeh.mjs.map +0 -1
  1634. package/dist/InformationTooltip-4su8bn1e.mjs +0 -42
  1635. package/dist/InformationTooltip-4su8bn1e.mjs.map +0 -1
  1636. package/dist/InvestmentUtil-BItV7uEs.mjs +0 -135
  1637. package/dist/InvestmentUtil-BItV7uEs.mjs.map +0 -1
  1638. package/dist/LineChart-CUfiH86G.mjs +0 -613
  1639. package/dist/LineChart-CUfiH86G.mjs.map +0 -1
  1640. package/dist/ListItemAction-BqUCLj_w.mjs +0 -70
  1641. package/dist/ListItemAction-BqUCLj_w.mjs.map +0 -1
  1642. package/dist/ListItemRow-kH1rn8Xu.mjs +0 -68
  1643. package/dist/ListItemRow-kH1rn8Xu.mjs.map +0 -1
  1644. package/dist/ListItemWrapper-DRse79Iu.mjs +0 -44
  1645. package/dist/ListItemWrapper-DRse79Iu.mjs.map +0 -1
  1646. package/dist/Loader-CxeBwuPG.mjs +0 -22
  1647. package/dist/Loader-CxeBwuPG.mjs.map +0 -1
  1648. package/dist/Localization-DnoVyBNK.mjs +0 -39
  1649. package/dist/Localization-DnoVyBNK.mjs.map +0 -1
  1650. package/dist/ManageIncome-lfbxMoW8.mjs +0 -906
  1651. package/dist/ManageIncome-lfbxMoW8.mjs.map +0 -1
  1652. package/dist/MicroWidgetContainer-B2NnKBgW.mjs +0 -46
  1653. package/dist/MicroWidgetContainer-B2NnKBgW.mjs.map +0 -1
  1654. package/dist/MiniWidgetContainer-Bmv_WeUd.mjs +0 -67
  1655. package/dist/MiniWidgetContainer-Bmv_WeUd.mjs.map +0 -1
  1656. package/dist/NetWorthUtils-Dj7CgAg2.mjs +0 -96
  1657. package/dist/NetWorthUtils-Dj7CgAg2.mjs.map +0 -1
  1658. package/dist/Notification-DTNYSd8P.mjs +0 -8
  1659. package/dist/Notification-DTNYSd8P.mjs.map +0 -1
  1660. package/dist/NotificationSettings-BOz1Xkf4.mjs +0 -678
  1661. package/dist/NotificationSettings-BOz1Xkf4.mjs.map +0 -1
  1662. package/dist/NotificationUtils-BRGFTePr.mjs +0 -24
  1663. package/dist/NotificationUtils-BRGFTePr.mjs.map +0 -1
  1664. package/dist/NumberFormatting--XMeeBfr.mjs +0 -50
  1665. package/dist/NumberFormatting--XMeeBfr.mjs.map +0 -1
  1666. package/dist/OriginalBalanceAction-YrvxBYAl.mjs +0 -115
  1667. package/dist/OriginalBalanceAction-YrvxBYAl.mjs.map +0 -1
  1668. package/dist/RecurringSettings-BG5wxPbS.mjs +0 -89
  1669. package/dist/RecurringSettings-BG5wxPbS.mjs.map +0 -1
  1670. package/dist/RecurringTransactionsUtil-CfWviBh1.mjs +0 -299
  1671. package/dist/RecurringTransactionsUtil-CfWviBh1.mjs.map +0 -1
  1672. package/dist/ResponsiveButton-CC9F_Ezk.mjs +0 -46
  1673. package/dist/ResponsiveButton-CC9F_Ezk.mjs.map +0 -1
  1674. package/dist/SearchBox-Cpgu_gdO.mjs +0 -51
  1675. package/dist/SearchBox-Cpgu_gdO.mjs.map +0 -1
  1676. package/dist/Select-CSpkK5cR.mjs +0 -62
  1677. package/dist/Select-CSpkK5cR.mjs.map +0 -1
  1678. package/dist/SelectionBox-B4xELRgp.mjs +0 -49
  1679. package/dist/SelectionBox-B4xELRgp.mjs.map +0 -1
  1680. package/dist/SingleSegmentDonut-7Uy6VEld.mjs +0 -70
  1681. package/dist/SingleSegmentDonut-7Uy6VEld.mjs.map +0 -1
  1682. package/dist/Sizes-DISGrlUg.mjs +0 -7
  1683. package/dist/Sizes-DISGrlUg.mjs.map +0 -1
  1684. package/dist/SkeletonLoader-BaNboJjD.mjs +0 -39
  1685. package/dist/SkeletonLoader-BaNboJjD.mjs.map +0 -1
  1686. package/dist/SpendingData-Fii_xATx.mjs +0 -54
  1687. package/dist/SpendingData-Fii_xATx.mjs.map +0 -1
  1688. package/dist/SpendingLegend-CxvNOg3c.mjs +0 -204
  1689. package/dist/SpendingLegend-CxvNOg3c.mjs.map +0 -1
  1690. package/dist/StatusBar-CPfSXe80.mjs +0 -31
  1691. package/dist/StatusBar-CPfSXe80.mjs.map +0 -1
  1692. package/dist/TabContentContainer-B0eYJP5p.mjs +0 -49
  1693. package/dist/TabContentContainer-B0eYJP5p.mjs.map +0 -1
  1694. package/dist/ToggleListItem-Dl1lXNwj.mjs +0 -92
  1695. package/dist/ToggleListItem-Dl1lXNwj.mjs.map +0 -1
  1696. package/dist/TransactionDetails-naGZa2sb.mjs +0 -1710
  1697. package/dist/TransactionDetails-naGZa2sb.mjs.map +0 -1
  1698. package/dist/TransactionUtils-BphBJBbU.mjs +0 -235
  1699. package/dist/TransactionUtils-BphBJBbU.mjs.map +0 -1
  1700. package/dist/TrendsUtil-D9z3kIj_.mjs +0 -70
  1701. package/dist/TrendsUtil-D9z3kIj_.mjs.map +0 -1
  1702. package/dist/UserStore-Cp-2Jtnw.mjs +0 -3210
  1703. package/dist/UserStore-Cp-2Jtnw.mjs.map +0 -1
  1704. package/dist/ViewMoreMicroCard-B4oeGrbE.mjs +0 -1280
  1705. package/dist/ViewMoreMicroCard-B4oeGrbE.mjs.map +0 -1
  1706. package/dist/WidgetContainer-BBzwzqOz.mjs +0 -487
  1707. package/dist/WidgetContainer-BBzwzqOz.mjs.map +0 -1
  1708. package/dist/accounts/components/ConnectStatus.d.ts +0 -7
  1709. package/dist/accounts/index.es.js.map +0 -1
  1710. package/dist/analytics/index.es.js.map +0 -1
  1711. package/dist/budgets/index.es.js.map +0 -1
  1712. package/dist/cashflow/index.es.js.map +0 -1
  1713. package/dist/categories/index.es.js.map +0 -1
  1714. package/dist/common/index.es.js.map +0 -1
  1715. package/dist/core/index.es.js.map +0 -1
  1716. package/dist/dashboard/index.es.js.map +0 -1
  1717. package/dist/debts/index.es.js.map +0 -1
  1718. package/dist/finstrong/index.es.js.map +0 -1
  1719. package/dist/goals/index.es.js.map +0 -1
  1720. package/dist/help/index.es.js.map +0 -1
  1721. package/dist/hooks-97sNJ_lf.mjs +0 -78
  1722. package/dist/hooks-97sNJ_lf.mjs.map +0 -1
  1723. package/dist/insights/index.es.js.map +0 -1
  1724. package/dist/investments/index.es.js.map +0 -1
  1725. package/dist/merchants/index.es.js.map +0 -1
  1726. package/dist/microinsights/index.es.js.map +0 -1
  1727. package/dist/networth/index.es.js.map +0 -1
  1728. package/dist/notifications/index.es.js.map +0 -1
  1729. package/dist/recurringtransactions/index.es.js.map +0 -1
  1730. package/dist/settings/index.es.js.map +0 -1
  1731. package/dist/spending/index.es.js.map +0 -1
  1732. package/dist/transactions/index.es.js.map +0 -1
  1733. package/dist/trends/index.es.js.map +0 -1
  1734. package/dist/useAccountDisplayName-BsiXA0qf.mjs +0 -24
  1735. package/dist/useAccountDisplayName-BsiXA0qf.mjs.map +0 -1
  1736. package/dist/useAriaLive-MkYebyUR.mjs +0 -36
  1737. package/dist/useAriaLive-MkYebyUR.mjs.map +0 -1
  1738. package/dist/useDimensions-CeDR9V8N.mjs +0 -37
  1739. package/dist/useDimensions-CeDR9V8N.mjs.map +0 -1
  1740. package/dist/useInsightsEnabled-D5Sdm0TJ.mjs +0 -12
  1741. package/dist/useInsightsEnabled-D5Sdm0TJ.mjs.map +0 -1
  1742. package/dist/useScreenSize-mWpmnh5w.mjs +0 -37
  1743. package/dist/useScreenSize-mWpmnh5w.mjs.map +0 -1
  1744. package/dist/useWidgetLoadTimer-B0tB-yzL.mjs +0 -20
  1745. package/dist/useWidgetLoadTimer-B0tB-yzL.mjs.map +0 -1
  1746. /package/dist/budgets/components/{bubblechart → BubbleChart}/Bubble.d.ts +0 -0
  1747. /package/dist/budgets/components/{bubblechart → BubbleChart}/Mercury.d.ts +0 -0
  1748. /package/dist/budgets/components/{budgetlist → BudgetList}/BudgetRow.d.ts +0 -0
  1749. /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetRow.d.ts +0 -0
  1750. /package/dist/budgets/components/{budgetlist → BudgetList}/SubBudgetZeroState.d.ts +0 -0
  1751. /package/dist/common/components/{globalaccountfilter → GlobalAccountFilter}/GlobalAccountFilterList.d.ts +0 -0
  1752. /package/dist/common/components/charts/{linechart → LineChart}/CustomLegend.d.ts +0 -0
  1753. /package/dist/common/components/charts/{linechart → LineChart}/CustomLine.d.ts +0 -0
  1754. /package/dist/common/components/charts/{linechart → LineChart}/CustomMark.d.ts +0 -0
  1755. /package/dist/common/components/charts/{linechart → LineChart}/CustomTooltip.d.ts +0 -0
  1756. /package/dist/common/components/charts/{linechart → LineChart}/utils/markerShapes.d.ts +0 -0
  1757. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CategoryIconLabel.d.ts +0 -0
  1758. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomAreaTooltip.d.ts +0 -0
  1759. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomLegend.d.ts +0 -0
  1760. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/CustomPointTooltip.d.ts +0 -0
  1761. /package/dist/common/components/charts/{stackedlinechart → StackedLineChart}/utils.d.ts +0 -0
  1762. /package/dist/debts/components/{debtstable → DebtsTable}/AccountCell.d.ts +0 -0
  1763. /package/dist/debts/components/{debtstable → DebtsTable}/PriorityCell.d.ts +0 -0
  1764. /package/dist/goals/components/{addgoal → AddGoal}/AddGoalListItem.d.ts +0 -0
  1765. /package/dist/goals/components/{managegoals → ManageGoals}/CompleteListItem.d.ts +0 -0
  1766. /package/dist/goals/components/{managegoals → ManageGoals}/OngoingListItem.d.ts +0 -0
  1767. /package/dist/goals/components/{managegoals → ManageGoals}/ReorderGoals.d.ts +0 -0
  1768. /package/dist/investments/components/{allocation → Allocation}/InvestementAllocationList.d.ts +0 -0
  1769. /package/dist/investments/components/{allocation → Allocation}/InvestmentsAllocationChart.d.ts +0 -0
  1770. /package/dist/investments/components/{allocation → Allocation}/util/createInvestementsAllocationData.d.ts +0 -0
  1771. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/AddRecurringTransaction.d.ts +0 -0
  1772. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/AddRecurringTransactionDetails.d.ts +0 -0
  1773. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/ManageExpenses.d.ts +0 -0
  1774. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/ManageIncome.d.ts +0 -0
  1775. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/RecurringRow.d.ts +0 -0
  1776. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/RecurringSettingsZeroState.d.ts +0 -0
  1777. /package/dist/recurringtransactions/components/shared/{recurringsettings → RecurringSettings}/SelectTransaction.d.ts +0 -0
  1778. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/Description.d.ts +0 -0
  1779. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/FlagTransaction.d.ts +0 -0
  1780. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/ManualTransactionDetails.d.ts +0 -0
  1781. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/TransactionAmountHeader.d.ts +0 -0
  1782. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/TransactionDetailsView.d.ts +0 -0
  1783. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/AddMerchantBudgetAction.d.ts +0 -0
  1784. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/CategoryAction.d.ts +0 -0
  1785. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DateAction.d.ts +0 -0
  1786. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteAction.d.ts +0 -0
  1787. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/DeleteLogoAction.d.ts +0 -0
  1788. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/ExcludeAction.d.ts +0 -0
  1789. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/MemoAction.d.ts +0 -0
  1790. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/SplitAction.d.ts +0 -0
  1791. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/TagsAction.d.ts +0 -0
  1792. /package/dist/transactions/components/shared/{transactiondetails → TransactionDetails}/actions/index.d.ts +0 -0
  1793. /package/dist/transactions/components/shared/{transactionlist → TransactionList}/TransactionRow.d.ts +0 -0
  1794. /package/dist/transactions/components/shared/{transactionlist → TransactionList}/ZeroState.d.ts +0 -0
  1795. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AccountCell.d.ts +0 -0
  1796. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/AmountCell.d.ts +0 -0
  1797. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/CategoryCell.d.ts +0 -0
  1798. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/DateCell.d.ts +0 -0
  1799. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/FlagCell.d.ts +0 -0
  1800. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/HeaderCell.d.ts +0 -0
  1801. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/PayeeCell.d.ts +0 -0
  1802. /package/dist/transactions/components/shared/{transactiontable → TransactionTable}/cells/index.d.ts +0 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/AccountUtils.ts"],"sourcesContent":["import {\n type Account,\n type DetailedAccount,\n type Institution,\n type Member,\n AccountType,\n ConnectionStatus,\n ErrorStatuses,\n MfaStatuses,\n ProcessingStatuses,\n} from '../'\n\nexport const isAccountLiability = (account: Account) =>\n account &&\n (account.account_type === AccountType.CREDIT_CARD ||\n account.account_type === AccountType.LOAN ||\n account.account_type === AccountType.MORTGAGE ||\n account.account_type === AccountType.LINE_OF_CREDIT ||\n account.account_type === AccountType.CHECKING_LINE_OF_CREDIT)\n\n/**\n * Returns the balance to use as an account's spendable / starting balance.\n * For checking/savings accounts it uses available_balance when present and\n * enabled via config, otherwise the current balance. All other account types\n * use the current balance. Single source of truth shared by the Accounts,\n * Financial Strength, and Cash Flow experiences.\n */\nexport const getAccountStartingBalance = (\n account: Account,\n showAvailableBalance: boolean,\n): number => {\n const isCheckingOrSavings =\n account.account_type === AccountType.CHECKING || account.account_type === AccountType.SAVINGS\n\n if (isCheckingOrSavings && account.available_balance != null && showAvailableBalance) {\n return account.available_balance\n }\n\n return account.balance || 0\n}\n\nexport const isManual = (account: Account) => account.is_manual || !account.guid\n\nexport const usesCreditLimitField = (account: Account) =>\n account.account_type === AccountType.LINE_OF_CREDIT ||\n account.account_type === AccountType.CREDIT_CARD ||\n account.account_type === AccountType.CHECKING_LINE_OF_CREDIT\n\nexport const usesInterestRateField = (account: Account) =>\n account.account_type === AccountType.SAVINGS ||\n account.account_type === AccountType.CHECKING ||\n account.account_type === AccountType.LINE_OF_CREDIT ||\n account.account_type === AccountType.CREDIT_CARD ||\n account.account_type === AccountType.LOAN ||\n account.account_type === AccountType.MORTGAGE\n\nexport const usesOriginalBalanceField = (account: Account) =>\n account.account_type === AccountType.LOAN || account.account_type === AccountType.MORTGAGE\n\nexport const augmentAccounts = (\n accounts: Account[],\n institutions: Institution[],\n members: Member[],\n shouldExcludeExternalAccounts: boolean,\n shouldExcludeHeldAccounts: boolean,\n): DetailedAccount[] => {\n return accounts\n .filter((account) => !(account.member_is_managed_by_user && shouldExcludeExternalAccounts))\n .filter((account) => !(!account.member_is_managed_by_user && shouldExcludeHeldAccounts))\n .sort(accountSorter)\n .map((account) => {\n const institution = institutions.find((inst) => inst.guid === account.institution_guid)\n const member = members.find((member) => member.guid === account.member_guid)\n\n return buildDetailedAccount(account, institution, member)\n })\n}\n\nconst buildDetailedAccount = (account: Account, institution?: Institution, member?: Member) => {\n // TODO: Needs to be localized here\n let connectionStatus = ConnectionStatus.Connected\n if (member) {\n if (ErrorStatuses.includes(member.connection_status)) {\n connectionStatus = ConnectionStatus.Error\n } else if (ProcessingStatuses.includes(member.connection_status)) {\n connectionStatus = ConnectionStatus.Processing\n } else if (MfaStatuses.includes(member.connection_status)) {\n connectionStatus = ConnectionStatus.RequiresMfa\n }\n }\n\n const displayName = [\n account.user_name || account.feed_name || '',\n account.account_number ? `*${account.account_number}` : '',\n ]\n .join(' ')\n .trim()\n\n return {\n ...account,\n connectionStatus,\n displayName,\n institution,\n member,\n }\n}\n\nconst accountSorter = (a: Account, b: Account) => {\n // orders by account type descending (Checking -> Savings -> Credit card)\n if (a.account_type > b.account_type) return 1\n if (a.account_type < b.account_type) return -1\n // orders by name (Emergency Savings -> Health Savings -> Rainy Day Savings)\n if ((a.name || '') > (b.name || '')) return 1\n if ((a.name || '') < (b.name || '')) return -1\n return 0\n}\n"],"mappings":";AAYA,IAAa,IAAA,CAAsB,MACjC,MACC,EAAQ,iBAAiB,EAAY,eACpC,EAAQ,iBAAiB,EAAY,QACrC,EAAQ,iBAAiB,EAAY,YACrC,EAAQ,iBAAiB,EAAY,kBACrC,EAAQ,iBAAiB,EAAY,0BAS5B,IAAA,CACX,GACA,OAGE,EAAQ,iBAAiB,EAAY,YAAY,EAAQ,iBAAiB,EAAY,YAE7D,EAAQ,qBAAqB,QAAQ,IACvD,EAAQ,oBAGV,EAAQ,WAAW,GAGf,IAAA,CAAY,MAAqB,EAAQ,aAAa,CAAC,EAAQ,MAE/D,IAAA,CAAwB,MACnC,EAAQ,iBAAiB,EAAY,kBACrC,EAAQ,iBAAiB,EAAY,eACrC,EAAQ,iBAAiB,EAAY,yBAE1B,IAAA,CAAyB,MACpC,EAAQ,iBAAiB,EAAY,WACrC,EAAQ,iBAAiB,EAAY,YACrC,EAAQ,iBAAiB,EAAY,kBACrC,EAAQ,iBAAiB,EAAY,eACrC,EAAQ,iBAAiB,EAAY,QACrC,EAAQ,iBAAiB,EAAY,UAE1B,IAAA,CAA4B,MACvC,EAAQ,iBAAiB,EAAY,QAAQ,EAAQ,iBAAiB,EAAY,UAEvE,IAAA,CACX,GACA,GACA,GACA,GACA,MAEO,EACJ,OAAA,CAAQ,MAAY,EAAE,EAAQ,6BAA6B,EAA8B,EACzF,OAAA,CAAQ,MAAY,EAAE,CAAC,EAAQ,6BAA6B,EAA0B,EACtF,KAAK,CAAa,EAClB,IAAA,CAAK,MAAY;AAChB,QAAM,IAAc,EAAa,KAAA,CAAM,MAAS,EAAK,SAAS,EAAQ,gBAAgB,GAChF,IAAS,EAAQ,KAAA,CAAM,MAAW,EAAO,SAAS,EAAQ,WAAW;AAE3E,SAAO,EAAqB,GAAS,GAAa,CAAM;AAC1D,CAAC,GAGC,IAAA,CAAwB,GAAkB,GAA2B,MAAoB;AAE7F,MAAI,IAAmB,EAAiB;AACxC,EAAI,MACE,EAAc,SAAS,EAAO,iBAAiB,IACjD,IAAmB,EAAiB,QAC3B,EAAmB,SAAS,EAAO,iBAAiB,IAC7D,IAAmB,EAAiB,aAC3B,EAAY,SAAS,EAAO,iBAAiB,MACtD,IAAmB,EAAiB;AAIxC,QAAM,IAAc,CAClB,EAAQ,aAAa,EAAQ,aAAa,IAC1C,EAAQ,iBAAiB,IAAI,EAAQ,cAAA,KAAmB,EAC1D,EACG,KAAK,GAAG,EACR,KAAK;AAER,SAAO;AAAA,IACL,GAAG;AAAA,IACH,kBAAA;AAAA,IACA,aAAA;AAAA,IACA,aAAA;AAAA,IACA,QAAA;AAAA,EACF;AACF,GAEM,IAAA,CAAiB,GAAY,MAE7B,EAAE,eAAe,EAAE,eAAqB,IACxC,EAAE,eAAe,EAAE,eAAqB,MAEvC,EAAE,QAAQ,OAAO,EAAE,QAAQ,MAAY,KACvC,EAAE,QAAQ,OAAO,EAAE,QAAQ,MAAY,KACrC"}
@@ -0,0 +1,50 @@
1
+ function n(t, s, _, l = "asc") {
2
+ const a = l === "desc" ? -1 : 1;
3
+ return [...t, ...s].sort((i, e) => i[_] < e[_] ? -1 * a : i[_] > e[_] ? 1 * a : 0);
4
+ }
5
+ var c = (t) => ({
6
+ ...t,
7
+ image_url: t.image_url,
8
+ guid: t.guid,
9
+ created_at: t.created_at,
10
+ dismissed_at: t.dismissed_at,
11
+ active_at: t.campaign_activated_at,
12
+ displayed_at: t.has_been_viewed,
13
+ post_message_secondary: t.pulse_post_message_secondary,
14
+ title: t.pulse_title || t.campaign_name,
15
+ html_title: t.pulse_title || t.campaign_name,
16
+ short_title: t.pulse_title || t.campaign_name,
17
+ html_short_title: t.pulse_title || t.campaign_name,
18
+ micro_title: t.pulse_title || t.campaign_name,
19
+ html_micro_title: t.pulse_title || t.campaign_name,
20
+ supporting_action: t.pulse_call_to_action_text_secondary,
21
+ description: t.pulse_body,
22
+ html_description: t.pulse_body,
23
+ micro_description: t.pulse_body,
24
+ html_micro_description: t.pulse_body,
25
+ call_to_action: t.pulse_call_to_action_text,
26
+ html_micro_call_to_action: t.pulse_call_to_action_text,
27
+ micro_call_to_action: t.pulse_call_to_action_text,
28
+ is_dismissed: t.has_been_dismissed,
29
+ icon_type: 5,
30
+ template: "MarketingOffer",
31
+ account_guids: [],
32
+ data_series: {},
33
+ has_been_displayed: !1,
34
+ is_obsolete: !1,
35
+ is_refreshable: !1,
36
+ is_sampled: !1,
37
+ merchant_guids: [],
38
+ payload: {},
39
+ pulse_campaign_name: t.campaign_name,
40
+ scheduled_payment_guids: [],
41
+ transaction_guids: [],
42
+ user_guid: "",
43
+ user_verification: 0
44
+ });
45
+ export {
46
+ n as orderArray,
47
+ c as transformOfferIntoBeatLikeObject
48
+ };
49
+
50
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/BeatUtils.ts"],"sourcesContent":["import { Offer } from '../types'\n\ntype SortOrder = 'asc' | 'desc'\n\nexport function orderArray<T>(arr1: T[], arr2: T[], prop: keyof T, order: SortOrder = 'asc'): T[] {\n const direction = order === 'desc' ? -1 : 1\n return [...arr1, ...arr2].sort((item1, item2) => {\n if (item1[prop] < item2[prop]) return -1 * direction\n if (item1[prop] > item2[prop]) return 1 * direction\n return 0\n })\n}\n\nexport const transformOfferIntoBeatLikeObject = (offer: Offer) => {\n return {\n ...offer, //fields that are offer specific, adding here for visibility\n image_url: offer.image_url,\n guid: offer.guid,\n created_at: offer.created_at,\n dismissed_at: offer.dismissed_at,\n active_at: offer.campaign_activated_at,\n displayed_at: offer.has_been_viewed,\n post_message_secondary: offer.pulse_post_message_secondary, //offer fields mapped to beat fields for functionality\n title: offer.pulse_title || offer.campaign_name,\n html_title: offer.pulse_title || offer.campaign_name,\n short_title: offer.pulse_title || offer.campaign_name,\n html_short_title: offer.pulse_title || offer.campaign_name,\n micro_title: offer.pulse_title || offer.campaign_name,\n html_micro_title: offer.pulse_title || offer.campaign_name,\n supporting_action: offer.pulse_call_to_action_text_secondary,\n description: offer.pulse_body,\n html_description: offer.pulse_body,\n micro_description: offer.pulse_body,\n html_micro_description: offer.pulse_body,\n call_to_action: offer.pulse_call_to_action_text,\n html_micro_call_to_action: offer.pulse_call_to_action_text,\n micro_call_to_action: offer.pulse_call_to_action_text,\n is_dismissed: offer.has_been_dismissed,\n icon_type: 5,\n template: 'MarketingOffer',\n //beat fields we null out\n account_guids: [],\n data_series: {},\n has_been_displayed: false,\n is_obsolete: false,\n is_refreshable: false,\n is_sampled: false,\n merchant_guids: [],\n payload: {},\n pulse_campaign_name: offer.campaign_name,\n scheduled_payment_guids: [],\n transaction_guids: [],\n user_guid: '',\n user_verification: 0,\n }\n}\n"],"mappings":"AAIA,SAAgB,EAAc,GAAW,GAAW,GAAe,IAAmB,OAAY;AAChG,QAAM,IAAY,MAAU,SAAS,KAAK;AAC1C,SAAO,CAAC,GAAG,GAAM,GAAG,CAAI,EAAE,KAAA,CAAM,GAAO,MACjC,EAAM,CAAA,IAAQ,EAAM,CAAA,IAAc,KAAK,IACvC,EAAM,CAAA,IAAQ,EAAM,CAAA,IAAc,IAAI,IACnC,CACR;AACH;AAEA,IAAa,IAAA,CAAoC,OACxC;AAAA,EACL,GAAG;AAAA,EACH,WAAW,EAAM;AAAA,EACjB,MAAM,EAAM;AAAA,EACZ,YAAY,EAAM;AAAA,EAClB,cAAc,EAAM;AAAA,EACpB,WAAW,EAAM;AAAA,EACjB,cAAc,EAAM;AAAA,EACpB,wBAAwB,EAAM;AAAA,EAC9B,OAAO,EAAM,eAAe,EAAM;AAAA,EAClC,YAAY,EAAM,eAAe,EAAM;AAAA,EACvC,aAAa,EAAM,eAAe,EAAM;AAAA,EACxC,kBAAkB,EAAM,eAAe,EAAM;AAAA,EAC7C,aAAa,EAAM,eAAe,EAAM;AAAA,EACxC,kBAAkB,EAAM,eAAe,EAAM;AAAA,EAC7C,mBAAmB,EAAM;AAAA,EACzB,aAAa,EAAM;AAAA,EACnB,kBAAkB,EAAM;AAAA,EACxB,mBAAmB,EAAM;AAAA,EACzB,wBAAwB,EAAM;AAAA,EAC9B,gBAAgB,EAAM;AAAA,EACtB,2BAA2B,EAAM;AAAA,EACjC,sBAAsB,EAAM;AAAA,EAC5B,cAAc,EAAM;AAAA,EACpB,WAAW;AAAA,EACX,UAAU;AAAA,EAEV,eAAe,CAAC;AAAA,EAChB,aAAa,CAAC;AAAA,EACd,oBAAoB;AAAA,EACpB,aAAa;AAAA,EACb,gBAAgB;AAAA,EAChB,YAAY;AAAA,EACZ,gBAAgB,CAAC;AAAA,EACjB,SAAS,CAAC;AAAA,EACV,qBAAqB,EAAM;AAAA,EAC3B,yBAAyB,CAAC;AAAA,EAC1B,mBAAmB,CAAC;AAAA,EACpB,WAAW;AAAA,EACX,mBAAmB;AACrB"}
@@ -0,0 +1,71 @@
1
+ import { buildDynamicCopy as d } from "../Localization/index.es.js";
2
+ import { findDetailedCategory as _, findDetailedSubCategory as y } from "../CategoryUtil/index.es.js";
3
+ import { formatCurrency as f } from "../NumberFormatting/index.es.js";
4
+ var l = (r, t) => !r && !t ? 0 : !r && t ? 101 : t / r * 100, p = (r, t) => {
5
+ const e = {
6
+ background: t.palette.success.main,
7
+ description: r <= 100 ? t.palette.text.secondary : t.palette.error.main,
8
+ text: t.palette.common.white,
9
+ mercury: t.palette.success.lighter
10
+ };
11
+ return r > 100 ? (e.background = t.palette.error.main, e.mercury = t.palette.error.lighter) : r > 80 && (e.background = t.palette.warning.main, e.text = t.palette.grey[900], e.mercury = t.palette.warning.lighter), e;
12
+ }, x = (r) => r.map((t) => {
13
+ const e = t.transaction_total;
14
+ return t.amount - e;
15
+ }).reduce((t, e) => t + e, 0), w = (r, t, e, n) => {
16
+ const a = [];
17
+ for (const o of r) {
18
+ const i = _(t, o.category_guid);
19
+ if (!i) continue;
20
+ const u = i.totalAmount, s = l(o.amount, u), c = o.amount - u;
21
+ a.push({
22
+ ...o,
23
+ budgetColors: p(s, n),
24
+ category: i,
25
+ description: d(c < 0 ? e.budget_remaining_over : e.budget_remaining_left, f(Math.abs(c), "0,0")),
26
+ percentage: s,
27
+ subBudgets: [],
28
+ transaction_total: u
29
+ });
30
+ }
31
+ for (const o of r) {
32
+ const i = y(t, o.category_guid);
33
+ if (!i) continue;
34
+ const u = i.currentAmount, s = a.find((b) => b.category_guid === i.parent_guid);
35
+ if (!s) continue;
36
+ const c = o.amount - u, g = l(o.amount, u);
37
+ s && s.subBudgets.push({
38
+ ...o,
39
+ budgetColors: p(g, n),
40
+ category: i,
41
+ description: d(c < 0 ? e.budget_remaining_over : e.budget_remaining_left, f(Math.abs(c), "0,0")),
42
+ percentage: g,
43
+ subBudgets: [],
44
+ transaction_total: u
45
+ });
46
+ }
47
+ return a;
48
+ }, m = (r, t) => r.find((e) => e.guid === t), D = (r, t, e) => {
49
+ const n = m(r, e);
50
+ if (n)
51
+ return m(n.subBudgets, t);
52
+ }, M = (r, t) => {
53
+ const e = Math.max(0, t - r), n = t > 0 ? Math.min(100, r / t * 100) : 0;
54
+ let a = "success";
55
+ return n >= 100 ? a = "error" : n >= 50 && (a = "warning"), {
56
+ remainingAmount: e,
57
+ spentPercentage: n,
58
+ iconColor: a
59
+ };
60
+ };
61
+ export {
62
+ w as augmentBudgets,
63
+ m as findBudget,
64
+ D as findSubBudget,
65
+ p as getBudgetColors,
66
+ x as getBudgetDifference,
67
+ l as getBudgetPercentage,
68
+ M as getRemainingAmountSpentPercentage
69
+ };
70
+
71
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/BudgetUtil.ts"],"sourcesContent":["import type { Theme } from '@mui/system'\n\nimport type { Budget, BudgetColors, BudgetsCopy, DetailedCategory, DetailedBudget } from '../types'\n\nimport { findDetailedCategory, findDetailedSubCategory } from './CategoryUtil'\nimport { formatCurrency } from './NumberFormatting'\nimport { buildDynamicCopy } from './Localization'\n\nexport const getBudgetPercentage = (budgetAmount: number, totalAmount: number) => {\n // No budget amount and nothing spent results in zero percent and green bubble\n if (!budgetAmount && !totalAmount) {\n return 0\n }\n\n // No budget amount and money spent results in 101 percent and red bubble\n if (!budgetAmount && totalAmount) {\n return 101\n }\n\n // Budget amount and money spent results in calculating percentage for color\n return (totalAmount / budgetAmount) * 100\n}\n\nexport const getBudgetColors = (percentage: number, theme: Theme) => {\n const budgetColors: BudgetColors = {\n background: theme.palette.success.main,\n description: percentage <= 100 ? theme.palette.text.secondary : theme.palette.error.main,\n text: theme.palette.common.white,\n mercury: theme.palette.success.lighter,\n }\n\n if (percentage > 100) {\n budgetColors.background = theme.palette.error.main\n budgetColors.mercury = theme.palette.error.lighter\n } else if (percentage > 80) {\n budgetColors.background = theme.palette.warning.main\n budgetColors.text = theme.palette.grey['900']\n budgetColors.mercury = theme.palette.warning.lighter\n }\n\n return budgetColors\n}\n\nexport const getBudgetDifference = (budgets: DetailedBudget[]) => {\n const differences = budgets.map((budget) => {\n const currentAmount = budget.transaction_total\n const totalAmount = budget.amount\n return totalAmount - currentAmount\n })\n\n return differences.reduce((total, difference) => total + difference, 0)\n}\n\nexport const augmentBudgets = (\n budgets: Budget[],\n categories: DetailedCategory[],\n copy: BudgetsCopy,\n theme: Theme,\n): DetailedBudget[] => {\n const detailedBudgets = [] as DetailedBudget[]\n\n // Top-level Categories\n for (const budget of budgets) {\n const category = findDetailedCategory(categories, budget.category_guid)\n if (!category) continue\n\n const spent = category.totalAmount\n\n const percentage = getBudgetPercentage(budget.amount, spent)\n const difference = budget.amount - spent\n\n detailedBudgets.push({\n ...budget,\n budgetColors: getBudgetColors(percentage, theme),\n category,\n description: buildDynamicCopy(\n difference < 0 ? copy.budget_remaining_over : copy.budget_remaining_left,\n formatCurrency(Math.abs(difference), '0,0'),\n ) as string,\n percentage,\n subBudgets: [],\n transaction_total: spent,\n })\n }\n\n // Sub categories\n for (const budget of budgets) {\n const category = findDetailedSubCategory(categories, budget.category_guid)\n if (!category) continue\n\n const spent = category.currentAmount\n\n const parentBudget = detailedBudgets.find((b) => b.category_guid === category.parent_guid)\n if (!parentBudget) continue\n\n const difference = budget.amount - spent\n const percentage = getBudgetPercentage(budget.amount, spent)\n\n if (parentBudget) {\n parentBudget.subBudgets.push({\n ...budget,\n budgetColors: getBudgetColors(percentage, theme),\n category,\n description: buildDynamicCopy(\n difference < 0 ? copy.budget_remaining_over : copy.budget_remaining_left,\n formatCurrency(Math.abs(difference), '0,0'),\n ) as string,\n percentage,\n subBudgets: [],\n transaction_total: spent,\n })\n }\n }\n\n return detailedBudgets\n}\n\nexport const findBudget = (budgets: DetailedBudget[], guid: string): DetailedBudget | undefined => {\n return budgets.find((budget) => budget.guid === guid)\n}\n\nexport const findSubBudget = (\n budgets: DetailedBudget[],\n guid: string,\n parentGuid: string,\n): DetailedBudget | undefined => {\n const parent = findBudget(budgets, parentGuid)\n if (!parent) return undefined\n\n return findBudget(parent.subBudgets, guid)\n}\n\nexport const getRemainingAmountSpentPercentage = (totalTransaction: number, amount: number) => {\n const remainingAmount = Math.max(0, amount - totalTransaction)\n const spentPercentage = amount > 0 ? Math.min(100, (totalTransaction / amount) * 100) : 0\n\n let iconColor = 'success'\n if (spentPercentage >= 100) iconColor = 'error'\n else if (spentPercentage >= 50) iconColor = 'warning'\n\n return {\n remainingAmount,\n spentPercentage,\n iconColor,\n }\n}\n"],"mappings":"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"}
@@ -0,0 +1,60 @@
1
+ import { CategoryColors as M, CategoryGuids as h, CategoryIcon as T } from "../../constants/Category/index.es.js";
2
+ import { DATE_FORMATS_INTL as b, formatDate as D } from "../../constants/DateFormats/index.es.js";
3
+ import { CategoryIconList as N } from "@mxenabled/mxui";
4
+ import { format as c } from "date-fns/format";
5
+ import { startOfMonth as O } from "date-fns/startOfMonth";
6
+ import { startOfToday as E } from "date-fns/startOfToday";
7
+ import { subMonths as I } from "date-fns/subMonths";
8
+ var R = 3, f = 12, k = (t, e, r, o) => t.filter((a) => !a.parent_guid).map((a) => p(a, e, r, o, t.filter((n) => n.parent_guid === a.guid))), z = (t, e) => {
9
+ const r = N.find((o) => o.guid === t);
10
+ return r ? e.palette.categories[r.colorName] || "" : e.palette.categories.uncategorized || "";
11
+ }, p = (t, e, r, o, a = []) => {
12
+ const n = t.guid, u = t.parent_guid || n, s = n === u, g = r.find((i) => i.category_guid === n)?.total || 0, d = y(o.filter((i) => i.category_guid === n)), m = y(o.filter((i) => i.category_guid === n || i.top_level_category_guid === n)), l = a.map((i) => p(i, e, r, o)), A = l.reduce((i, C) => i + C.currentAmount, g), v = e.default_categories[t.guid] ? e.default_categories[t.guid].replace(/&amp;/g, "&") : t.name;
13
+ return {
14
+ ...t,
15
+ currentAmount: g,
16
+ averageAmount: _(d),
17
+ color: M[u],
18
+ icon: T[u],
19
+ isTransfer: u === h.TRANSFER,
20
+ monthlyAmounts: d,
21
+ name: v,
22
+ subCategories: l,
23
+ totalAmount: s ? A : 0,
24
+ totalAverageAmount: _(m),
25
+ totalMonthlyAmounts: s ? m : []
26
+ };
27
+ }, B = (t, e) => t.map((r) => {
28
+ const o = e.filter((a) => a.category_guid === r.guid || a.top_level_category_guid === r.guid);
29
+ return {
30
+ ...r,
31
+ transactions: o
32
+ };
33
+ }), _ = (t, e = R) => {
34
+ const r = e > history.length ? history.length : e;
35
+ return Math.ceil(Math.max(0, t.slice(-r).reduce((o, a) => o + a.amount, 0) / r));
36
+ }, y = (t) => {
37
+ const e = [], r = E();
38
+ for (let o = 0; o <= f; o++) {
39
+ const a = O(I(r, f - o)), n = t.filter((u) => u.year_month === Number(c(a, "yyyyMM"))).reduce((u, s) => u + s.total, 0);
40
+ e.push({
41
+ amount: n,
42
+ isoDate: c(a, "yyyy-MM-dd"),
43
+ label: D(a, b.MONTH_YEAR)
44
+ });
45
+ }
46
+ return e;
47
+ }, P = (t, e) => t.find((r) => r.guid === e), V = (t, e) => {
48
+ const r = t.find((o) => o.subCategories.find((a) => a.guid === e));
49
+ if (r)
50
+ return r.subCategories.find((o) => o.guid === e);
51
+ };
52
+ export {
53
+ k as augmentCategories,
54
+ P as findDetailedCategory,
55
+ V as findDetailedSubCategory,
56
+ z as getCategoryColor,
57
+ B as getDetailedCategoryTransactions
58
+ };
59
+
60
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/CategoryUtil.ts"],"sourcesContent":["import { format } from 'date-fns/format'\nimport { startOfMonth } from 'date-fns/startOfMonth'\nimport { startOfToday } from 'date-fns/startOfToday'\nimport { subMonths } from 'date-fns/subMonths'\n\nimport type { Palette, Theme } from '@mui/material'\n\nimport { CategoryIconList } from '@mxenabled/mxui'\n\nimport {\n CategoryColors,\n CategoryGuids,\n CategoryIcon,\n DATE_FORMATS_INTL,\n formatDate,\n} from '../constants'\n\nimport type {\n Category,\n DateRangeCategoryTotals,\n DetailedCategory,\n DetailedCategoryWithTransactions,\n MonthlyAmount,\n MonthlyCategoryTotals,\n Transaction,\n CategoryCopy,\n CategoryTotal,\n} from '../types'\n\nconst MONTHLY_AVERAGE_LENGTH = 3\nconst MONTHS_OF_HISTORY = 12\n\n/**\n * Augment categories\n * @param categories - Categories to augment\n * @param monthlyCategoryTotals - Monthly category totals\n * @param currentCategoryTotals - Current month category totals\n * @param copy - Category copy\n */\nexport const augmentCategories = (\n categories: Category[],\n copy: CategoryCopy,\n currentCategoryTotals: DateRangeCategoryTotals[],\n monthlyCategoryTotals: MonthlyCategoryTotals[],\n): DetailedCategory[] => {\n return categories\n .filter((category) => !category.parent_guid)\n .map((category) =>\n getDetailedCategory(\n category,\n copy,\n currentCategoryTotals,\n monthlyCategoryTotals,\n categories.filter((c) => c.parent_guid === category.guid),\n ),\n )\n}\n\nexport const getCategoryColor = (guid: string, theme: Theme) => {\n const categoryInfo = CategoryIconList.find((c) => c.guid === guid)\n if (!categoryInfo) return theme.palette.categories.uncategorized || ''\n\n return theme.palette.categories[categoryInfo.colorName as keyof Palette['categories']] || ''\n}\n\nexport const getCategoryIcon = (guid: string) => {\n return CategoryIconList.find((c) => c.guid === guid)?.icon\n}\n\n/**\n * Get an augmented category with additional details\n * @param category - The category to augment\n * @param copy - Category copy\n * @param currentCategoryTotals - Current month category totals\n * @param monthlyCategoryTotals - Past monthly category totals\n * @param subCategories - Subcategories for the specified category (If applicable)\n */\nconst getDetailedCategory = (\n category: Category,\n copy: CategoryCopy,\n currentCategoryTotals: DateRangeCategoryTotals[],\n monthlyCategoryTotals: MonthlyCategoryTotals[],\n subCategories: Category[] = [],\n): DetailedCategory => {\n const guid = category.guid\n const parentGuid = category.parent_guid || guid\n const isParent = guid === parentGuid\n\n const currentAmount = currentCategoryTotals.find((t) => t.category_guid === guid)?.total || 0\n const monthlyAmounts = getMonthlyAmounts(\n monthlyCategoryTotals.filter((total) => total.category_guid === guid),\n )\n const totalMonthlyAmounts = getMonthlyAmounts(\n monthlyCategoryTotals.filter(\n (total) => total.category_guid === guid || total.top_level_category_guid === guid,\n ),\n )\n const detailedSubCategories = subCategories.map((subCategory) =>\n getDetailedCategory(subCategory, copy, currentCategoryTotals, monthlyCategoryTotals),\n )\n const totalAmount = detailedSubCategories.reduce(\n (total, current) => total + current.currentAmount,\n currentAmount,\n )\n\n const name = copy.default_categories[category.guid]\n ? copy.default_categories[category.guid].replace(/&amp;/g, '&')\n : category.name\n\n return {\n ...category,\n currentAmount,\n averageAmount: getAverage(monthlyAmounts),\n color: CategoryColors[parentGuid],\n icon: CategoryIcon[parentGuid],\n isTransfer: parentGuid === CategoryGuids.TRANSFER,\n monthlyAmounts,\n name,\n subCategories: detailedSubCategories,\n totalAmount: isParent ? totalAmount : 0,\n totalAverageAmount: getAverage(totalMonthlyAmounts),\n totalMonthlyAmounts: isParent ? totalMonthlyAmounts : [],\n }\n}\n/**\n * get the transactions belonging to parent categories\n * @param detailedCategories - detailed categories from the category store\n * @param transactions - sortedTransactions from the transaction store\n */\nexport const getDetailedCategoryTransactions = (\n detailedCategories: DetailedCategory[],\n transactions: Transaction[],\n): DetailedCategoryWithTransactions[] => {\n return detailedCategories.map((category) => {\n const categoryTransactions = transactions.filter(\n (transaction) =>\n transaction.category_guid === category.guid ||\n transaction.top_level_category_guid === category.guid,\n )\n\n return {\n ...category,\n transactions: categoryTransactions,\n }\n })\n}\n\n/**\n * Get the average amount based on the number of months (numMonths) requested\n * @param monthlyAmounts - Monthly amounts to calculate and average from\n * @param numMonths - Number of months to base the average on (DEFAULT: 3)\n */\nconst getAverage = (\n monthlyAmounts: MonthlyAmount[],\n numMonths: number = MONTHLY_AVERAGE_LENGTH,\n): number => {\n const monthsBack = numMonths > history.length ? history.length : numMonths\n\n return Math.ceil(\n Math.max(\n 0,\n monthlyAmounts.slice(-monthsBack).reduce((total, current) => total + current.amount, 0) /\n monthsBack,\n ),\n )\n}\n\n/**\n * Get the last 12 months of amounts for a category\n * @param categoryTotals - Monthly category totals\n */\nconst getMonthlyAmounts = (categoryTotals: MonthlyCategoryTotals[]): MonthlyAmount[] => {\n const monthlyAmounts: MonthlyAmount[] = []\n const today = startOfToday()\n for (let i = 0; i <= MONTHS_OF_HISTORY; i++) {\n const historyDate = startOfMonth(subMonths(today, MONTHS_OF_HISTORY - i))\n const monthlyTotals = categoryTotals.filter(\n (total) => total.year_month === Number(format(historyDate, 'yyyyMM')),\n )\n const totalAmount = monthlyTotals.reduce((acc, curr) => acc + curr.total, 0)\n\n monthlyAmounts.push({\n amount: totalAmount,\n isoDate: format(historyDate, 'yyyy-MM-dd'),\n label: formatDate(historyDate, DATE_FORMATS_INTL.MONTH_YEAR),\n })\n }\n\n return monthlyAmounts\n}\n\nexport const findCategory = (\n categories: Category[],\n categoryGuid: string | undefined,\n): Category | undefined => {\n return categories.find((c) => c.guid === categoryGuid)\n}\n\nexport const findDetailedCategory = (\n detailedCategories: DetailedCategory[],\n guid: string | undefined,\n): DetailedCategory | undefined => {\n return detailedCategories.find((dc) => dc.guid === guid)\n}\n\nexport const findDetailedSubCategory = (\n detailedCategories: DetailedCategory[],\n guid: string | undefined,\n): DetailedCategory | undefined => {\n const parent = detailedCategories.find((dc) => dc.subCategories.find((sc) => sc.guid === guid))\n if (!parent) return undefined\n\n return parent.subCategories.find((sc) => sc.guid === guid)\n}\n\nexport const findCategoryTotalsByParent = (\n categories: Category[],\n dateRangeTotals: DateRangeCategoryTotals[],\n): CategoryTotal[] => {\n const categoryTotals = [] as CategoryTotal[]\n\n // Iterate over the category data from BE and roll up all categories into parent categories\n // acc is the accumulated category totals of type CategoryTotal that is initialized as an empty []\n // curr is the current DateRangeCategoryTotal\n\n for (const dateRangeTotal of dateRangeTotals) {\n const category = findCategory(categories, dateRangeTotal.category_guid)\n if (!category) continue\n\n const parentGuid = category.parent_guid ?? category.guid\n const parentCategory = findCategory(categories, parentGuid)\n if (!parentCategory) continue\n\n const categoryTotal = {\n amount: dateRangeTotal.total,\n category,\n guid: category.guid,\n subCategoryTotals: [],\n }\n\n const parentCategoryTotal = categoryTotals.find((ct) => ct.guid === parentGuid)\n if (parentCategoryTotal) {\n parentCategoryTotal.amount += dateRangeTotal.total\n parentCategoryTotal.subCategoryTotals.push(categoryTotal)\n } else {\n categoryTotals.push({\n amount: dateRangeTotal.total,\n category: parentCategory,\n guid: parentGuid,\n subCategoryTotals: [categoryTotal],\n })\n }\n }\n\n return categoryTotals\n}\n\nexport const isIncome = (categories: Category[], guid: string) => {\n const category = categories.find((c) => c.guid === guid)\n if (!category) return false\n\n return category.guid === CategoryGuids.INCOME || category.parent_guid === CategoryGuids.INCOME\n}\n"],"mappings":"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"}
@@ -0,0 +1,70 @@
1
+ import { DATE_FORMATS_INTL as T, formatDate as s } from "../../constants/DateFormats/index.es.js";
2
+ import { addMonths as i } from "date-fns/addMonths";
3
+ import { endOfMonth as h } from "date-fns/endOfMonth";
4
+ import { isBefore as n } from "date-fns/isBefore";
5
+ import { startOfToday as r } from "date-fns/startOfToday";
6
+ import { addYears as u } from "date-fns/addYears";
7
+ import { fromUnixTime as y } from "date-fns/fromUnixTime";
8
+ import { addQuarters as x } from "date-fns/addQuarters";
9
+ import { addWeeks as d } from "date-fns/addWeeks";
10
+ import { nextDay as p } from "date-fns/nextDay";
11
+ import { setDate as g } from "date-fns/setDate";
12
+ import { getDay as v } from "date-fns/getDay";
13
+ var B = (e) => {
14
+ let t = p(e, v(e));
15
+ for (; n(t, r()); ) t = d(t, 1);
16
+ return t;
17
+ }, H = (e) => {
18
+ let t = e;
19
+ for (; n(t, r()); ) t = d(t, 2);
20
+ return t;
21
+ }, M = (e, t) => {
22
+ const a = r(), [o, m] = [e, t].sort((f, l) => f - l), D = (f, l) => l >= 28 ? h(f) : g(f, l);
23
+ return [
24
+ D(a, o),
25
+ D(a, m),
26
+ D(i(a, 1), o),
27
+ D(i(a, 1), m),
28
+ D(i(a, 2), o),
29
+ D(i(a, 2), m)
30
+ ];
31
+ }, Q = (e, t) => {
32
+ const a = r(), o = M(e, t);
33
+ return o.find((m) => !n(m, a)) ?? o[o.length - 1];
34
+ }, K = (e) => {
35
+ let t = g(r(), e.getDate());
36
+ for (; n(t, r()); ) t = i(t, 1);
37
+ return t;
38
+ }, R = (e) => {
39
+ let t = e;
40
+ for (; n(t, r()); ) t = i(t, 2);
41
+ return t;
42
+ }, I = (e) => {
43
+ let t = x(e, 1);
44
+ for (; n(t, r()); ) t = x(t, 1);
45
+ return t;
46
+ }, L = (e) => {
47
+ let t = e;
48
+ for (; n(t, r()); ) t = x(t, 2);
49
+ return t;
50
+ }, S = (e) => u(e, 1), N = (e) => {
51
+ const t = y(e);
52
+ return new Date(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate());
53
+ }, b = (e) => s(y(e), T.DAY_OF_WEEK_MONTH_DAY), j = (e) => s(N(e), T.DAY_OF_WEEK_MONTH_DAY), q = (e) => e ? s(y(e), T.MONTH_YEAR) : "";
54
+ export {
55
+ q as fromTimestampToMonthYear,
56
+ b as fromUnixToDayOfWeekAndDate,
57
+ N as fromUnixUTC,
58
+ j as fromUnixUTCToDayOfWeekAndDate,
59
+ R as getNextBiMonthlyDate,
60
+ L as getNextBiQuarterlyDate,
61
+ H as getNextBiWeeklyDate,
62
+ K as getNextMonthlyDate,
63
+ I as getNextQuarterlyDate,
64
+ Q as getNextTwiceMonthlyDate,
65
+ B as getNextWeeklyDate,
66
+ S as getNextYearlyDate,
67
+ M as getTwiceMonthlyDates
68
+ };
69
+
70
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/DateUtil.ts"],"sourcesContent":["import { addMonths } from 'date-fns/addMonths'\nimport { addQuarters } from 'date-fns/addQuarters'\nimport { addWeeks } from 'date-fns/addWeeks'\nimport { addYears } from 'date-fns/addYears'\nimport { endOfMonth } from 'date-fns/endOfMonth'\nimport { getDay } from 'date-fns/getDay'\nimport { isBefore } from 'date-fns/isBefore'\nimport { nextDay } from 'date-fns/nextDay'\nimport { setDate } from 'date-fns/setDate'\nimport { startOfToday } from 'date-fns/startOfToday'\nimport { fromUnixTime } from 'date-fns/fromUnixTime'\nimport { type Day } from 'date-fns'\n\nimport { DATE_FORMATS_INTL, formatDate } from '../constants'\n\nexport const getNextWeeklyDate = (date: Date): Date => {\n const dayOfWeek = getDay(date)\n let nextDate = nextDay(date, dayOfWeek as Day)\n while (isBefore(nextDate, startOfToday())) {\n nextDate = addWeeks(nextDate, 1)\n }\n return nextDate\n}\n\nexport const getNextBiWeeklyDate = (date: Date): Date => {\n let nextDate = date\n while (isBefore(nextDate, startOfToday())) {\n nextDate = addWeeks(nextDate, 2)\n }\n return nextDate\n}\n\nexport const getTwiceMonthlyDates = (day1: number, day2: number): Date[] => {\n const today = startOfToday()\n const [firstDay, secondDay] = [day1, day2].sort((a, b) => a - b)\n const makeDateForDay = (month: Date, day: number) =>\n day >= 28 ? endOfMonth(month) : setDate(month, day)\n\n return [\n makeDateForDay(today, firstDay),\n makeDateForDay(today, secondDay),\n makeDateForDay(addMonths(today, 1), firstDay),\n makeDateForDay(addMonths(today, 1), secondDay),\n makeDateForDay(addMonths(today, 2), firstDay),\n makeDateForDay(addMonths(today, 2), secondDay),\n ]\n}\n\nexport const getNextTwiceMonthlyDate = (day1: number, day2: number): Date => {\n const today = startOfToday()\n const candidates = getTwiceMonthlyDates(day1, day2)\n return candidates.find((c) => !isBefore(c, today)) ?? candidates[candidates.length - 1]\n}\n\nexport const getNextMonthlyDate = (date: Date): Date => {\n let nextDate = setDate(startOfToday(), date.getDate())\n while (isBefore(nextDate, startOfToday())) {\n nextDate = addMonths(nextDate, 1)\n }\n return nextDate\n}\n\nexport const getNextBiMonthlyDate = (date: Date): Date => {\n let nextDate = date\n while (isBefore(nextDate, startOfToday())) {\n nextDate = addMonths(nextDate, 2)\n }\n return nextDate\n}\n\nexport const getNextQuarterlyDate = (date: Date): Date => {\n let nextDate = addQuarters(date, 1)\n while (isBefore(nextDate, startOfToday())) {\n nextDate = addQuarters(nextDate, 1)\n }\n return nextDate\n}\n\nexport const getNextBiQuarterlyDate = (date: Date): Date => {\n let nextDate = date\n while (isBefore(nextDate, startOfToday())) {\n nextDate = addQuarters(nextDate, 2)\n }\n return nextDate\n}\n\nexport const getNextYearlyDate = (date: Date): Date => {\n return addYears(date, 1)\n}\n\nexport const fromUnixUTC = (utcTime: number) => {\n const date = fromUnixTime(utcTime)\n return new Date(date.getUTCFullYear(), date.getUTCMonth(), date.getUTCDate())\n}\n\nexport const fromUnixToDayOfWeekAndDate = (date: number) =>\n formatDate(fromUnixTime(date), DATE_FORMATS_INTL.DAY_OF_WEEK_MONTH_DAY)\n\n// UTC variant for post dates, which are absolute calendar dates that must not\n// shift across the day boundary when localized.\nexport const fromUnixUTCToDayOfWeekAndDate = (date: number) =>\n formatDate(fromUnixUTC(date), DATE_FORMATS_INTL.DAY_OF_WEEK_MONTH_DAY)\n\nexport const fromTimestampToMonthYear = (timestamp?: number) =>\n timestamp ? formatDate(fromUnixTime(timestamp), DATE_FORMATS_INTL.MONTH_YEAR) : ''\n"],"mappings":";;;;;;;;;;;;AAeA,IAAa,IAAA,CAAqB,MAAqB;AAErD,MAAI,IAAW,EAAQ,GADL,EAAO,CACI,CAAgB;AAC7C,SAAO,EAAS,GAAU,EAAa,CAAC,IACtC,CAAA,IAAW,EAAS,GAAU,CAAC;AAEjC,SAAO;AACT,GAEa,IAAA,CAAuB,MAAqB;AACvD,MAAI,IAAW;AACf,SAAO,EAAS,GAAU,EAAa,CAAC,IACtC,CAAA,IAAW,EAAS,GAAU,CAAC;AAEjC,SAAO;AACT,GAEa,IAAA,CAAwB,GAAc,MAAyB;AAC1E,QAAM,IAAQ,EAAa,GACrB,CAAC,GAAU,CAAA,IAAa,CAAC,GAAM,CAAI,EAAE,KAAA,CAAM,GAAG,MAAM,IAAI,CAAC,GACzD,IAAA,CAAkB,GAAa,MACnC,KAAO,KAAK,EAAW,CAAK,IAAI,EAAQ,GAAO,CAAG;AAEpD,SAAO;AAAA,IACL,EAAe,GAAO,CAAQ;AAAA,IAC9B,EAAe,GAAO,CAAS;AAAA,IAC/B,EAAe,EAAU,GAAO,CAAC,GAAG,CAAQ;AAAA,IAC5C,EAAe,EAAU,GAAO,CAAC,GAAG,CAAS;AAAA,IAC7C,EAAe,EAAU,GAAO,CAAC,GAAG,CAAQ;AAAA,IAC5C,EAAe,EAAU,GAAO,CAAC,GAAG,CAAS;AAAA,EAC/C;AACF,GAEa,IAAA,CAA2B,GAAc,MAAuB;AAC3E,QAAM,IAAQ,EAAa,GACrB,IAAa,EAAqB,GAAM,CAAI;AAClD,SAAO,EAAW,KAAA,CAAM,MAAM,CAAC,EAAS,GAAG,CAAK,CAAC,KAAK,EAAW,EAAW,SAAS,CAAA;AACvF,GAEa,IAAA,CAAsB,MAAqB;AACtD,MAAI,IAAW,EAAQ,EAAa,GAAG,EAAK,QAAQ,CAAC;AACrD,SAAO,EAAS,GAAU,EAAa,CAAC,IACtC,CAAA,IAAW,EAAU,GAAU,CAAC;AAElC,SAAO;AACT,GAEa,IAAA,CAAwB,MAAqB;AACxD,MAAI,IAAW;AACf,SAAO,EAAS,GAAU,EAAa,CAAC,IACtC,CAAA,IAAW,EAAU,GAAU,CAAC;AAElC,SAAO;AACT,GAEa,IAAA,CAAwB,MAAqB;AACxD,MAAI,IAAW,EAAY,GAAM,CAAC;AAClC,SAAO,EAAS,GAAU,EAAa,CAAC,IACtC,CAAA,IAAW,EAAY,GAAU,CAAC;AAEpC,SAAO;AACT,GAEa,IAAA,CAA0B,MAAqB;AAC1D,MAAI,IAAW;AACf,SAAO,EAAS,GAAU,EAAa,CAAC,IACtC,CAAA,IAAW,EAAY,GAAU,CAAC;AAEpC,SAAO;AACT,GAEa,IAAA,CAAqB,MACzB,EAAS,GAAM,CAAC,GAGZ,IAAA,CAAe,MAAoB;AAC9C,QAAM,IAAO,EAAa,CAAO;AACjC,SAAO,IAAI,KAAK,EAAK,eAAe,GAAG,EAAK,YAAY,GAAG,EAAK,WAAW,CAAC;AAC9E,GAEa,IAAA,CAA8B,MACzC,EAAW,EAAa,CAAI,GAAG,EAAkB,qBAAqB,GAI3D,IAAA,CAAiC,MAC5C,EAAW,EAAY,CAAI,GAAG,EAAkB,qBAAqB,GAE1D,IAAA,CAA4B,MACvC,IAAY,EAAW,EAAa,CAAS,GAAG,EAAkB,UAAU,IAAI"}
@@ -0,0 +1,144 @@
1
+ import { AccountType as C } from "../../types/Account/index.es.js";
2
+ import { DebtPriority as b } from "../../constants/Debts/index.es.js";
3
+ import { addMonths as E } from "date-fns/addMonths";
4
+ import { startOfMonth as x } from "date-fns/startOfMonth";
5
+ import { getUnixTime as w } from "date-fns/getUnixTime";
6
+ import { getDate as T } from "date-fns/getDate";
7
+ import { fromUnixTime as d } from "date-fns/fromUnixTime";
8
+ var F = { unnamed_label: "Unnamed Debt" }, G = (a, n, t = 0) => {
9
+ const r = a.map((s) => ({ ...s }));
10
+ S(r, n);
11
+ const i = /* @__PURE__ */ new Date(), e = [];
12
+ let o = 0, m = 1;
13
+ for (const s of r) e.push({
14
+ ...s,
15
+ dataset: [{
16
+ x: new Date(i),
17
+ y: s.balance
18
+ }]
19
+ });
20
+ for (; r.some((s) => s.balance >= 0.01 && !s.is_impossible); ) {
21
+ let s = !1, p = !1, c = !1;
22
+ for (const [_, l] of r.entries()) {
23
+ if (l.balance <= 0.01) continue;
24
+ const y = e[_].dataset, u = (l.interest_rate ?? 0) / 100 / 12, D = l.balance * u, v = l.monthly_payment ?? 0;
25
+ let M = v, h = 0;
26
+ !c && t > 0 && (M += t, c = !0), !p && o > 0 && (h = o, p = !0), l.balance += D;
27
+ const f = Math.min(l.balance, M + h);
28
+ if (f <= D) {
29
+ l.is_impossible = !0, e[_].is_impossible = !0, e[_].priority = void 0, y.push({
30
+ x: new Date(i),
31
+ y: l.balance
32
+ });
33
+ continue;
34
+ }
35
+ l.balance -= f, l.balance = l.balance < 0.01 ? 0 : l.balance, y.push({
36
+ x: new Date(i),
37
+ y: Math.max(0, l.balance),
38
+ payment: f,
39
+ extra: h
40
+ }), l.balance <= 0 && (o += v, e[_].projected_payoff_date = new Date(i)), f > 0 && (s = !0);
41
+ }
42
+ s && i.setMonth(i.getMonth() + 1);
43
+ }
44
+ return e.forEach((s) => {
45
+ (s.interest_rate === void 0 || s.monthly_payment === void 0) && (s.projected_payoff_date = void 0);
46
+ }), e.forEach((s) => {
47
+ s.priority = !s.is_paid_off && !s.is_impossible ? m++ : void 0;
48
+ }), e;
49
+ }, U = (a, n, t) => ({
50
+ description: n ? a.empty_state_description : a.empty_state_description_no_aggregation,
51
+ header: n ? a.empty_state_header : a.empty_state_header_no_aggregation,
52
+ onClickHandler: n ? t : void 0,
53
+ primaryButton: n ? a.connect_accounts : void 0
54
+ });
55
+ function K(a, n) {
56
+ const t = a.filter((e) => e.account_type === C.CHECKING_LINE_OF_CREDIT ? Number(e.balance) <= 0 : e.is_excluded_from_debts !== !0), r = n.filter((e) => t.some((o) => o.guid === e.account_guid)).map((e) => P(t.find((o) => o.guid === e.account_guid), e)), i = t.filter((e) => !r.some((o) => o.account.guid === e.guid)).map((e) => P(e));
57
+ return [...r, ...i];
58
+ }
59
+ function P(a, n) {
60
+ const t = {
61
+ account: a,
62
+ goal: n,
63
+ guid: a.guid
64
+ };
65
+ if (n) {
66
+ const r = n.payment_due_at ? T(d(n.payment_due_at)) : 1, i = x(/* @__PURE__ */ new Date()).setDate(r);
67
+ t.balance = Math.abs(n.amount - n.current_amount), t.interest_rate = n.interest_rate, t.is_paid_off = n.is_complete, t.monthly_payment = n.monthly_payment, t.name = n.name, t.original_balance = n.initial_amount, t.payment_due_date = i;
68
+ } else {
69
+ const r = a.payment_due_at ? T(d(a.payment_due_at)) : 1, i = x(/* @__PURE__ */ new Date()).setDate(r), e = a.balance ?? 0, o = a.minimum_payment ?? void 0, m = a.interest_rate ?? a.apr ?? a.apy;
70
+ t.balance = Math.max(e, 0), t.interest_rate = m, t.is_paid_off = e === 0, t.monthly_payment = o, t.name = a?.name ?? F.unnamed_label, t.original_balance = a.original_balance, t.payment_due_date = i;
71
+ }
72
+ return t.is_impossible = !1, t.priority = void 0, t.projected_payoff_date = void 0, t;
73
+ }
74
+ var I = (a) => (a[a.length - 1] || {}).timestamp, S = (a, n) => {
75
+ const [t, r] = a.reduce(([i, e], o) => (o.is_paid_off || o.is_impossible ? e.push({
76
+ ...o,
77
+ minimumPayments: []
78
+ }) : i.push(A(o)), [i, e]), [[], []]);
79
+ switch (n) {
80
+ case b.FASTEST_PAYOFF_FIRST:
81
+ t.sort((i, e) => (i.minimumFinalPayment ?? 0) - (e.minimumFinalPayment ?? 0));
82
+ break;
83
+ case b.HIGHEST_INTEREST:
84
+ t.sort((i, e) => (e.interest_rate ?? 0) - (i.interest_rate ?? 0));
85
+ break;
86
+ case b.LOWEST_BALANCE:
87
+ t.sort((i, e) => i.balance - e.balance);
88
+ break;
89
+ case b.HIGHEST_BALANCE:
90
+ t.sort((i, e) => e.balance - i.balance);
91
+ break;
92
+ default:
93
+ t.sort((i, e) => i.balance - e.balance);
94
+ }
95
+ a.splice(0, a.length, ...t, ...r);
96
+ }, A = (a) => {
97
+ const { monthly_payment: n, interest_rate: t, balance: r, payment_due_date: i } = a, e = H(r, t ?? 0, n ?? 0), o = N(e, r, t ?? 0, n ?? 0, i), m = I(o);
98
+ return {
99
+ ...a,
100
+ minimumFinalPayment: m,
101
+ minimumPayments: o
102
+ };
103
+ }, H = (a, n = 0, t = 0) => {
104
+ if (t === 0) return 0;
105
+ const r = n / 1200;
106
+ return Math.ceil(r === 0 ? a / t : -Math.log(1 - r * a / t) / Math.log(1 + r));
107
+ }, N = (a, n, t, r, i) => {
108
+ const e = [];
109
+ if (t === 0) {
110
+ for (let m = 0; m < a; m++) {
111
+ const s = n - r * (m + 1), p = n - r * m, c = s >= 0 ? r : p;
112
+ e.push({
113
+ balance: s >= 0 ? s : 0,
114
+ interest: t,
115
+ payment: c,
116
+ principal: c,
117
+ timestamp: w(E(d(i), m + 1))
118
+ });
119
+ }
120
+ return e;
121
+ }
122
+ const o = t / 1200;
123
+ for (let m = 0; m < a; m++) {
124
+ const s = w(E(d(i), m + 1)), p = Math.pow(1 + o, m), c = n * p - r * ((p - 1) / o), _ = Math.pow(1 + o, m + 1), l = n * _ - r * ((_ - 1) / o), y = r + Math.min(l, 0), u = c * o;
125
+ e.push({
126
+ balance: Math.max(0, l),
127
+ interest: u,
128
+ payment: y,
129
+ principal: y - u,
130
+ timestamp: s
131
+ });
132
+ }
133
+ return e;
134
+ };
135
+ export {
136
+ U as buildEmptyStateProps,
137
+ I as calculateFinalPayment,
138
+ P as createDebt,
139
+ K as loadDebts,
140
+ S as sortDebtsByPrioriy,
141
+ G as transformDebtsChartData
142
+ };
143
+
144
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/DebtUtils.ts"],"sourcesContent":["import { getDate } from 'date-fns/getDate'\nimport { addMonths } from 'date-fns/addMonths'\nimport { fromUnixTime } from 'date-fns/fromUnixTime'\nimport { getUnixTime } from 'date-fns/getUnixTime'\nimport { startOfMonth } from 'date-fns/startOfMonth'\n\nimport { DebtPriority, INTEREST_TO_DECIMAL, MONTHS } from '../constants/Debts'\nimport { AccountType, type Account, type Debt, type DebtsCopy, type Goal } from '../types'\n\nconst copy = {\n unnamed_label: 'Unnamed Debt',\n}\n\ntype DataPoint = { x: Date; y: number; payment?: number; extra?: number }\ntype Dataset = DataPoint[]\n\nexport interface DebtChartData extends Debt {\n dataset: Dataset\n}\n\ninterface MonthlyPayment {\n balance: number\n interest: number\n payment: number\n principal: number\n timestamp: number\n}\n\ninterface DebtWithPayments extends Debt {\n minimumPayments: MonthlyPayment[]\n minimumFinalPayment?: number | undefined\n}\n\nexport const transformDebtsChartData = (\n debts: Debt[],\n debtPriority: DebtPriority,\n extraPaydown = 0,\n): DebtChartData[] => {\n // Copy debts to avoid overwiting balance during payoff calculation\n const sortedDebts = debts.map((d) => ({ ...d }))\n sortDebtsByPrioriy(sortedDebts, debtPriority)\n\n const currentDate = new Date()\n const chartData: DebtChartData[] = []\n let monthlyExtra = 0\n let priorityCounter = 1\n\n // Initialize chartData for each debt\n for (const debt of sortedDebts) {\n chartData.push({\n ...debt,\n // Start with the initial balance\n dataset: [{ x: new Date(currentDate), y: debt.balance }],\n })\n }\n\n // Process debts using the Snowball method\n while (sortedDebts.some((debt) => debt.balance >= 0.01 && !debt.is_impossible)) {\n let madePayment = false // Track if any payment was made this month\n let hasAppliedSnowballExtra = false // Track if snowball extra has been applied this month\n let hasAppliedExtraPaydown = false // Track if extraPaydown has been applied this month\n\n for (const [index, debt] of sortedDebts.entries()) {\n // Skip if debt is already paid off\n if (debt.balance <= 0.01) continue\n\n const dataset = chartData[index].dataset\n const interestRate = (debt.interest_rate ?? 0) / 100\n const monthlyRate = interestRate / 12\n const monthlyInterest = debt.balance * monthlyRate\n const baseMonthlyPayment = debt.monthly_payment ?? 0\n let monthlyPayment = baseMonthlyPayment\n let extraThisMonth = 0\n\n // Add extra payment to the highest priority unpaid debt (first unpaid debt in sorted order)\n if (!hasAppliedExtraPaydown && extraPaydown > 0) {\n monthlyPayment += extraPaydown\n hasAppliedExtraPaydown = true\n }\n\n // Add snowball extra payment to the highest priority unpaid debt\n if (!hasAppliedSnowballExtra && monthlyExtra > 0) {\n extraThisMonth = monthlyExtra\n hasAppliedSnowballExtra = true\n }\n\n // Apply interest before payment\n debt.balance += monthlyInterest\n // Apply monthly payment with any extra payment from snowball\n const appliedPayment = Math.min(debt.balance, monthlyPayment + extraThisMonth)\n\n // If payment doesn't reduce balance, mark as stagnant\n if (appliedPayment <= monthlyInterest) {\n debt.is_impossible = true\n chartData[index].is_impossible = true\n chartData[index].priority = undefined\n dataset.push({ x: new Date(currentDate), y: debt.balance })\n continue\n }\n\n debt.balance -= appliedPayment\n // Avoid floating-point precision issues\n debt.balance = debt.balance < 0.01 ? 0 : debt.balance\n // Add a data point for the current debt balance\n dataset.push({\n x: new Date(currentDate),\n y: Math.max(0, debt.balance),\n payment: appliedPayment,\n extra: extraThisMonth,\n })\n\n // Roll over payments when debt gets paid off (snowball effect)\n // Only roll over the base monthly payment to avoid double-counting extraPaydown\n if (debt.balance <= 0) {\n monthlyExtra += baseMonthlyPayment\n chartData[index].projected_payoff_date = new Date(currentDate)\n }\n\n if (appliedPayment > 0) madePayment = true\n }\n\n if (madePayment) currentDate.setMonth(currentDate.getMonth() + 1)\n }\n\n // Don't project a debt as paid off until missing info is provided\n chartData.forEach((d) => {\n if (d.interest_rate === undefined || d.monthly_payment === undefined) {\n d.projected_payoff_date = undefined\n }\n })\n\n // Set priorities after all calculations\n chartData.forEach((debt) => {\n debt.priority = !debt.is_paid_off && !debt.is_impossible ? priorityCounter++ : undefined\n })\n\n return chartData\n}\n\nexport const buildEmptyStateProps = (\n copy: DebtsCopy,\n hasAggregation: boolean,\n handler: () => void,\n) => ({\n description: hasAggregation\n ? copy.empty_state_description\n : copy.empty_state_description_no_aggregation,\n header: hasAggregation ? copy.empty_state_header : copy.empty_state_header_no_aggregation,\n onClickHandler: hasAggregation ? handler : undefined,\n primaryButton: hasAggregation ? copy.connect_accounts : undefined,\n})\n\nexport function loadDebts(accounts: Account[], goals: Goal[]): Debt[] {\n const debtAccounts = accounts.filter((acc) => {\n // Exclude checking line of credit accounts with positive balance\n // Q: Because CLOC spending is represented by negative? (this logic is from raja)\n if (acc.account_type === AccountType.CHECKING_LINE_OF_CREDIT) {\n return Number(acc.balance) <= 0\n }\n // Exclude explicity excluded acccounts\n return acc.is_excluded_from_debts !== true\n })\n\n // Creat debts with associated goals\n const goalDebts = goals\n .filter((goal) => debtAccounts.some((acc) => acc.guid === goal.account_guid))\n .map((goal) =>\n createDebt(debtAccounts.find((acc) => acc.guid === goal.account_guid) as Account, goal),\n )\n\n // Create debts without associated goals, but are based on liabity accounts\n const liabilityDebts = debtAccounts\n .filter((acc) => !goalDebts.some((debt) => debt.account.guid === acc.guid))\n .map((account) => createDebt(account))\n\n return [...goalDebts, ...liabilityDebts]\n}\n\nexport function createDebt(account: Account, goal?: Goal): Debt {\n const debt = { account, goal, guid: account.guid } as Debt\n\n if (goal) {\n // Derive next payment date; default to 1st of month\n const paymentDay = goal.payment_due_at ? getDate(fromUnixTime(goal.payment_due_at)) : 1\n const paymentDueDate = startOfMonth(new Date()).setDate(paymentDay)\n\n debt.balance = Math.abs(goal.amount - goal.current_amount)\n debt.interest_rate = goal.interest_rate\n debt.is_paid_off = goal.is_complete\n debt.monthly_payment = goal.monthly_payment\n debt.name = goal.name\n debt.original_balance = goal.initial_amount // TODO: Does a debt need this?\n debt.payment_due_date = paymentDueDate\n } else {\n // Derive next payment date; default to 1st of month\n const paymentDay = account.payment_due_at ? getDate(fromUnixTime(account.payment_due_at)) : 1\n const paymentDueDate = startOfMonth(new Date()).setDate(paymentDay)\n const balance = account.balance ?? 0\n const monthlyPayment = account.minimum_payment ?? undefined\n const rate = account.interest_rate ?? account.apr ?? account.apy\n\n debt.balance = Math.max(balance, 0) // Don't use overpaid/negative balances for debt calculations\n debt.interest_rate = rate\n debt.is_paid_off = balance === 0\n debt.monthly_payment = monthlyPayment\n debt.name = account?.name ?? copy.unnamed_label\n debt.original_balance = account.original_balance // TODO: Does a debt need this?\n debt.payment_due_date = paymentDueDate\n }\n\n debt.is_impossible = false\n debt.priority = undefined\n debt.projected_payoff_date = undefined\n\n return debt\n}\n\nexport const calculateFinalPayment = (monthlyPayments: MonthlyPayment[]) => {\n const lastPayment = monthlyPayments[monthlyPayments.length - 1] || {}\n\n return lastPayment.timestamp\n}\n\n// Sorts (in place) the passed debts array, according to the given priority\nexport const sortDebtsByPrioriy = (debts: Debt[], debtPriority: DebtPriority) => {\n // Separate valid debts that can be prioritized from those that can't be\n\n const [activeDebts, inactiveDebts] = debts.reduce<[DebtWithPayments[], DebtWithPayments[]]>(\n ([active, inactive], debt) => {\n if (debt.is_paid_off || debt.is_impossible) {\n inactive.push({ ...debt, minimumPayments: [] })\n } else {\n active.push(calculateMinimumPayments(debt))\n }\n return [active, inactive]\n },\n [[], []],\n )\n\n switch (debtPriority) {\n case DebtPriority.FASTEST_PAYOFF_FIRST:\n activeDebts.sort((a, b) => (a.minimumFinalPayment ?? 0) - (b.minimumFinalPayment ?? 0))\n break\n case DebtPriority.HIGHEST_INTEREST:\n activeDebts.sort((a, b) => (b.interest_rate ?? 0) - (a.interest_rate ?? 0))\n break\n case DebtPriority.LOWEST_BALANCE:\n activeDebts.sort((a, b) => a.balance - b.balance)\n break\n case DebtPriority.HIGHEST_BALANCE:\n activeDebts.sort((a, b) => b.balance - a.balance)\n break\n default:\n activeDebts.sort((a, b) => a.balance - b.balance) // Default to lowest balance\n }\n\n // Reorder debts to begin with sorted/active and end with paid/impossible\n debts.splice(0, debts.length, ...activeDebts, ...inactiveDebts)\n}\n\nconst calculateMinimumPayments = (debt: Debt): DebtWithPayments => {\n const { monthly_payment, interest_rate, balance, payment_due_date } = debt\n const paymentCount = getPaymentCount(balance, interest_rate ?? 0, monthly_payment ?? 0)\n\n const minimumPayments = getMonthlyPayments(\n paymentCount,\n balance,\n interest_rate ?? 0,\n monthly_payment ?? 0,\n payment_due_date,\n )\n\n const minimumFinalPayment = calculateFinalPayment(minimumPayments)\n\n return {\n ...debt,\n minimumFinalPayment,\n minimumPayments,\n }\n}\n\nconst getPaymentCount = (\n balance: number,\n interestRate: number | undefined = 0,\n minimumPayment: number | undefined = 0,\n) => {\n if (minimumPayment === 0) return 0\n\n const monthlyInterestRate = interestRate / (MONTHS * INTEREST_TO_DECIMAL)\n\n return Math.ceil(\n monthlyInterestRate === 0\n ? balance / minimumPayment\n : -Math.log(1 - (monthlyInterestRate * balance) / minimumPayment) /\n Math.log(1 + monthlyInterestRate),\n )\n}\n\nconst getMonthlyPayments = (\n paymentCount: number,\n startingBalance: number,\n interestRate: number,\n scheduledPayment: number,\n startingDate: number,\n) => {\n const monthlyPayments = []\n // If the interest rate is zero, getting the monthly payment is easier, so\n // keep its logic separate from actual interest rate calculations.\n\n if (interestRate === 0) {\n for (let i = 0; i < paymentCount; i++) {\n const newBalance = startingBalance - scheduledPayment * (i + 1)\n const prevBalance = startingBalance - scheduledPayment * i\n const payment = newBalance >= 0 ? scheduledPayment : prevBalance\n monthlyPayments.push({\n balance: newBalance >= 0 ? newBalance : 0,\n interest: interestRate,\n payment,\n principal: payment,\n timestamp: getUnixTime(\n addMonths(\n fromUnixTime(startingDate), // convert seconds → Date\n i + 1, // add (index + 1) months\n ),\n ),\n })\n }\n return monthlyPayments\n }\n const monthlyRate = interestRate / 1200\n\n for (let index = 0; index < paymentCount; index++) {\n const timestamp = getUnixTime(addMonths(fromUnixTime(startingDate), index + 1))\n\n const priorPow = Math.pow(1 + monthlyRate, index)\n const priorBalance =\n startingBalance * priorPow - scheduledPayment * ((priorPow - 1) / monthlyRate)\n\n const pow = Math.pow(1 + monthlyRate, index + 1)\n const balance = startingBalance * pow - scheduledPayment * ((pow - 1) / monthlyRate)\n\n const payment = scheduledPayment + Math.min(balance, 0)\n const interest = priorBalance * monthlyRate\n\n monthlyPayments.push({\n balance: Math.max(0, balance),\n interest,\n payment,\n principal: payment - interest,\n timestamp,\n })\n }\n\n return monthlyPayments\n}\n"],"mappings":"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"}
@@ -0,0 +1,74 @@
1
+ import { getLocale as h } from "../Localization/index.es.js";
2
+ var o = class extends Error {
3
+ status;
4
+ constructor(s, r) {
5
+ super(s), this.name = "ApiError", this.status = r;
6
+ }
7
+ }, a = class {
8
+ endpoint = "/";
9
+ headers;
10
+ onError;
11
+ constructor(s, r, t, n) {
12
+ this.endpoint = s;
13
+ const e = {
14
+ Accept: "application/json",
15
+ "Accept-Language": h(),
16
+ "Content-Type": "application/json",
17
+ "MD-Session-Token": r
18
+ };
19
+ this.headers = t || e, this.onError = n;
20
+ }
21
+ get = async (s) => {
22
+ const r = {
23
+ method: "GET",
24
+ headers: this.headers
25
+ };
26
+ return fetch(`${this.endpoint}${s}`, r).then((t) => {
27
+ if (!t.ok) throw new o(`ApiGetRequestError: ${t.status} ${t.statusText}`, t.status);
28
+ return t.text();
29
+ }).then((t) => t.length ? JSON.parse(t) : {}).then((t) => t).catch((t) => {
30
+ throw this.onError?.(t, void 0, "ApiGetRequestError"), t;
31
+ });
32
+ };
33
+ post = async (s, r) => {
34
+ const t = r ? JSON.stringify(r) : void 0, n = {
35
+ method: "POST",
36
+ headers: this.headers,
37
+ body: t
38
+ };
39
+ return fetch(`${this.endpoint}${s}`, n).then((e) => {
40
+ if (!e.ok) throw new o(`ApiPostRequestError: ${e.status} ${e.statusText}`, e.status);
41
+ return e.text();
42
+ }).then((e) => e.length ? JSON.parse(e) : {}).then((e) => e);
43
+ };
44
+ put = async (s, r) => {
45
+ const t = JSON.stringify(r), n = {
46
+ method: "PUT",
47
+ headers: this.headers,
48
+ body: t
49
+ };
50
+ return fetch(`${this.endpoint}${s}`, n).then((e) => {
51
+ if (!e.ok) throw new o(`ApiPutRequestError: ${e.status} ${e.statusText}`, e.status);
52
+ return e.text();
53
+ }).then((e) => e.length ? JSON.parse(e) : {}).then((e) => e).catch((e) => {
54
+ throw window?.app?.config?.type === "pulse" && this.onError?.(e, void 0, "ApiPutRequestError"), e;
55
+ });
56
+ };
57
+ delete = async (s) => {
58
+ const r = {
59
+ method: "DELETE",
60
+ headers: this.headers
61
+ };
62
+ return fetch(`${this.endpoint}${s}`, r).then((t) => {
63
+ if (!t.ok) throw new o(`ApiDeleteRequestError: ${t.status} ${t.statusText}`, t.status);
64
+ return t.text();
65
+ }).then((t) => t.length ? JSON.parse(t) : {}).then((t) => t);
66
+ };
67
+ };
68
+ export {
69
+ o as ApiError,
70
+ a as Fetch,
71
+ a as default
72
+ };
73
+
74
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/Fetch.ts"],"sourcesContent":["import { type GlobalErrorHandler } from '../types'\nimport { getLocale } from './Localization'\n\nexport class ApiError extends Error {\n public status: number\n constructor(message: string, status: number) {\n super(message)\n this.name = 'ApiError'\n this.status = status\n }\n}\n\nexport class Fetch {\n endpoint = '/'\n headers: Record<string, string>\n onError?: GlobalErrorHandler\n\n constructor(\n endpoint: string,\n token: string,\n headers?: Record<string, string>,\n onError?: GlobalErrorHandler,\n ) {\n this.endpoint = endpoint\n const defaultHeaders = {\n Accept: 'application/json',\n 'Accept-Language': getLocale(),\n 'Content-Type': 'application/json',\n 'MD-Session-Token': token,\n }\n this.headers = headers || defaultHeaders\n this.onError = onError\n }\n\n get = async (url: string) => {\n const options = {\n method: 'GET',\n headers: this.headers,\n }\n\n return fetch(`${this.endpoint}${url}`, options)\n .then((response) => {\n if (!response.ok) {\n throw new ApiError(\n `ApiGetRequestError: ${response.status} ${response.statusText}`,\n response.status,\n )\n }\n return response.text()\n })\n .then((text) => (text.length ? JSON.parse(text) : {}))\n .then((data) => data)\n .catch((err) => {\n this.onError?.(err, undefined, 'ApiGetRequestError')\n throw err\n })\n }\n\n post = async (url: string, data?: any) => {\n const body = data ? JSON.stringify(data) : undefined\n const options = {\n method: 'POST',\n headers: this.headers,\n body,\n }\n\n return fetch(`${this.endpoint}${url}`, options)\n .then((response) => {\n if (!response.ok) {\n throw new ApiError(\n `ApiPostRequestError: ${response.status} ${response.statusText}`,\n response.status,\n )\n }\n\n return response.text()\n })\n .then((text) => (text.length ? JSON.parse(text) : {}))\n .then((data) => data)\n }\n\n put = async (url: string, data: any) => {\n const body = JSON.stringify(data)\n const options = {\n method: 'PUT',\n headers: this.headers,\n body,\n }\n\n return fetch(`${this.endpoint}${url}`, options)\n .then((response) => {\n if (!response.ok) {\n throw new ApiError(\n `ApiPutRequestError: ${response.status} ${response.statusText}`,\n response.status,\n )\n }\n return response.text()\n })\n .then((text) => (text.length ? JSON.parse(text) : {}))\n .then((data) => data)\n .catch((err) => {\n if (window?.app?.config?.type === 'pulse') {\n this.onError?.(err, undefined, 'ApiPutRequestError')\n }\n throw err\n })\n }\n\n delete = async (url: string) => {\n const options = {\n method: 'DELETE',\n headers: this.headers,\n }\n\n return fetch(`${this.endpoint}${url}`, options)\n .then((response) => {\n if (!response.ok) {\n throw new ApiError(\n `ApiDeleteRequestError: ${response.status} ${response.statusText}`,\n response.status,\n )\n }\n return response.text()\n })\n .then((text) => (text.length ? JSON.parse(text) : {}))\n .then((data) => data)\n }\n}\n\nexport default Fetch\n"],"mappings":"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"}
@@ -0,0 +1,11 @@
1
+ import { DATE_FORMATS_INTL as t, formatDate as h } from "../../constants/DateFormats/index.es.js";
2
+ var o = (r) => r.sort((e, a) => e.monthly_health_score_average.year !== a.monthly_health_score_average.year ? e.monthly_health_score_average.year - a.monthly_health_score_average.year : e.monthly_health_score_average.month - a.monthly_health_score_average.month).map((e) => ({
3
+ x: h(new Date(0, e.monthly_health_score_average.month - 1, 1), t.MONTH_SHORT),
4
+ y: Math.round(e.monthly_health_score_average.average_health_score)
5
+ })), n = (r) => r.map(({ transaction: e }) => ({ ...e })).sort((e, a) => a.date - e.date);
6
+ export {
7
+ o as augmentChartData,
8
+ n as augmentSpendingFeeTransactions
9
+ };
10
+
11
+ //# sourceMappingURL=index.es.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.es.js","names":[],"sources":["../../../../src/core/utils/FinstrongUtils.ts"],"sourcesContent":["import { DATE_FORMATS_INTL, formatDate } from '../constants'\nimport { type Transaction } from '../types'\nimport type { SpendingFeeTransaction, MonthlyHealthScoreItem } from '../../core/types/Finstrong'\n\nexport const augmentChartData = (averageHealthScores: MonthlyHealthScoreItem[]) => {\n return averageHealthScores\n .sort((a, b) => {\n // Sort by year first, then by month\n if (a.monthly_health_score_average.year !== b.monthly_health_score_average.year) {\n return a.monthly_health_score_average.year - b.monthly_health_score_average.year\n }\n return a.monthly_health_score_average.month - b.monthly_health_score_average.month\n })\n .map((item) => ({\n x: formatDate(\n new Date(0, item.monthly_health_score_average.month - 1, 1),\n DATE_FORMATS_INTL.MONTH_SHORT,\n ),\n y: Math.round(item.monthly_health_score_average.average_health_score),\n }))\n}\n\nexport const augmentSpendingFeeTransactions = (\n spendingFeeTransactions: SpendingFeeTransaction[],\n): Transaction[] => {\n const organizedSpendingFeeTransactions = spendingFeeTransactions\n .map(({ transaction }: SpendingFeeTransaction) => {\n return {\n ...transaction,\n }\n })\n .sort((a, b) => b.date - a.date)\n\n return organizedSpendingFeeTransactions\n}\n"],"mappings":";AAIA,IAAa,IAAA,CAAoB,MACxB,EACJ,KAAA,CAAM,GAAG,MAEJ,EAAE,6BAA6B,SAAS,EAAE,6BAA6B,OAClE,EAAE,6BAA6B,OAAO,EAAE,6BAA6B,OAEvE,EAAE,6BAA6B,QAAQ,EAAE,6BAA6B,KAC9E,EACA,IAAA,CAAK,OAAU;AAAA,EACd,GAAG,EACD,IAAI,KAAK,GAAG,EAAK,6BAA6B,QAAQ,GAAG,CAAC,GAC1D,EAAkB,WACpB;AAAA,EACA,GAAG,KAAK,MAAM,EAAK,6BAA6B,oBAAoB;AACtE,EAAE,GAGO,IAAA,CACX,MAEyC,EACtC,IAAA,CAAK,EAAE,aAAA,EAAA,OACC,EACL,GAAG,EACL,EACD,EACA,KAAA,CAAM,GAAG,MAAM,EAAE,OAAO,EAAE,IAEtB"}