@mx-cartographer/experiences 8.1.0 → 8.1.2

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 (91) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/dist/{Account-DuOz1a27.mjs → Account-BIKn4XEZ.mjs} +1 -1
  3. package/dist/{Account-BiB1F8lL.mjs → Account-CMjOp7S2.mjs} +2 -2
  4. package/dist/{AccountDetailsHeader-IPRH6Wja.mjs → AccountDetailsHeader-D_a0XUkL.mjs} +6 -6
  5. package/dist/{AccountFields-BbPSfzru.mjs → AccountFields-nrrEXd46.mjs} +30 -29
  6. package/dist/{AccountListItem-qpACFl6i.mjs → AccountListItem-D80egD01.mjs} +5 -5
  7. package/dist/{AccountStore-BeEiLNhW.mjs → AccountStore-B3S_p5Qa.mjs} +3 -3
  8. package/dist/{Accounts-o7ohkngR.mjs → Accounts-DX3xJE97.mjs} +1 -1
  9. package/dist/{Analytics-CjZ0emfs.mjs → Analytics-CxK7O19c.mjs} +2 -2
  10. package/dist/{BudgetUtil-CLh4xtj4.mjs → BudgetUtil-DalEN9--.mjs} +47 -47
  11. package/dist/{CashflowStore-CeAzChyD.mjs → CashflowStore-BEi92kJg.mjs} +10 -10
  12. package/dist/{Category-CevNQ03n.mjs → Category-Ccoew_sA.mjs} +2 -2
  13. package/dist/{CategorySelectorDrawer-BG04ByUx.mjs → CategorySelectorDrawer-DjeHNx71.mjs} +7 -7
  14. package/dist/{CategoryStore-Bp1kO9Z-.mjs → CategoryStore-CA4NTaKH.mjs} +2 -2
  15. package/dist/{CategoryUtil-DKRCegQv.mjs → CategoryUtil-BJOHgYKS.mjs} +3 -3
  16. package/dist/{Connect-eYIWqCEr.mjs → Connect-BRLh-69J.mjs} +1 -1
  17. package/dist/{ConnectDrawer-C0wjwcJt.mjs → ConnectDrawer-5BpU4IQU.mjs} +3 -3
  18. package/dist/{ConnectionsDrawer-IA7vnv1J.mjs → ConnectionsDrawer-DxpSlJN7.mjs} +3 -3
  19. package/dist/{CurrencyInput-BkNVHxSV.mjs → CurrencyInput-CSJ3zMgE.mjs} +18 -18
  20. package/dist/DateUtil-D0TO0DaZ.mjs +58 -0
  21. package/dist/{DebtsStore-BZqNLaqd.mjs → DebtsStore-BJlC2-yO.mjs} +1 -1
  22. package/dist/{Dialog-Ck34yr-d.mjs → Dialog-iLlBR8TG.mjs} +6 -6
  23. package/dist/{Donut-CpxJlVvJ.mjs → Donut-D7ekbgf5.mjs} +12 -12
  24. package/dist/{Drawer-Bbe4AMB1.mjs → Drawer-XPaLYjiO.mjs} +11 -11
  25. package/dist/{EmbeddedCard-j7IGx3s1.mjs → EmbeddedCard-BCcn_fK2.mjs} +193 -193
  26. package/dist/{ExportCsvAction-7sjz7AXQ.mjs → ExportCsvAction-BPjdEUXx.mjs} +5 -5
  27. package/dist/{FinstrongStore-DgyDJTEP.mjs → FinstrongStore-DYawCv1d.mjs} +54 -54
  28. package/dist/{GlobalAccountFilter-CmnaZDS6.mjs → GlobalAccountFilter-CZbiDwBH.mjs} +1 -1
  29. package/dist/{GoalStore-DcaT4fM6.mjs → GoalStore-DmqM1ZfW.mjs} +1 -1
  30. package/dist/{Help-B8mD4aLJ.mjs → Help-CgpJK03Q.mjs} +6 -6
  31. package/dist/{Help-cTsMzSQh.mjs → Help-DuhUdMTZ.mjs} +95 -98
  32. package/dist/{IconBacking-B9oC6uL2.mjs → IconBacking-DgT8DCeh.mjs} +11 -11
  33. package/dist/{LineChart-DkD_s9NN.mjs → LineChart-jJVBE8V8.mjs} +1 -1
  34. package/dist/{ListItemAction-4KB7P75M.mjs → ListItemAction-Buv7tPLp.mjs} +4 -4
  35. package/dist/{Loader-D3rjKx72.mjs → Loader-CxeBwuPG.mjs} +5 -5
  36. package/dist/{ManageIncome-DwSE_a8L.mjs → ManageIncome-CrHDAku7.mjs} +8 -8
  37. package/dist/MicroWidgetContainer-CEcwdfti.mjs +45 -0
  38. package/dist/MiniWidgetContainer-CmTGSUL5.mjs +66 -0
  39. package/dist/{NetWorthStore-Ba3q3VcH.mjs → NetWorthStore-BY-B_hxy.mjs} +4 -4
  40. package/dist/{NotificationSettings-DB-eNgSv.mjs → NotificationSettings-DOgnTxzv.mjs} +9 -9
  41. package/dist/{OriginalBalanceAction-AB1TGb5P.mjs → OriginalBalanceAction-C8VJZUat.mjs} +9 -9
  42. package/dist/{RecurringSettings-CZKeZC4m.mjs → RecurringSettings-CIpZL4CX.mjs} +2 -2
  43. package/dist/{RecurringTransactions-kzlU8OFY.mjs → RecurringTransactions-DCt94TN4.mjs} +47 -47
  44. package/dist/{RecurringTransactionsStore-D62Dt2BF.mjs → RecurringTransactionsStore-CFJYC7lI.mjs} +1 -1
  45. package/dist/{ResponsiveButton-DZFp78fJ.mjs → ResponsiveButton-BNsV08Ud.mjs} +12 -12
  46. package/dist/{SettingsStore-Dsz1mvd3.mjs → SettingsStore-BcbuKfFO.mjs} +1 -1
  47. package/dist/{SingleSegmentDonut-BgbLgwHi.mjs → SingleSegmentDonut-PsRQPkmV.mjs} +5 -5
  48. package/dist/{SpendingData-CoZOmlZD.mjs → SpendingData-Dj85XEUp.mjs} +3 -3
  49. package/dist/{SpendingLegend-DljKEG69.mjs → SpendingLegend-DIWHSsKw.mjs} +5 -5
  50. package/dist/{StatusBar-BK_uYHAB.mjs → StatusBar-CPfSXe80.mjs} +6 -6
  51. package/dist/{TabContentContainer-j01JYR_7.mjs → TabContentContainer-CnMXkVqr.mjs} +8 -8
  52. package/dist/{TransactionDetails-CN-yZkin.mjs → TransactionDetails-Db8dwHoM.mjs} +21 -21
  53. package/dist/{TransactionStore-6ovFO8P1.mjs → TransactionStore-BUsP-unK.mjs} +40 -57
  54. package/dist/{TrendsStore-DZa6cyQC.mjs → TrendsStore-bYjIGqyR.mjs} +1 -1
  55. package/dist/{ViewMoreMicroCard-BsEitNRJ.mjs → ViewMoreMicroCard-C7dC9lDT.mjs} +93 -94
  56. package/dist/WidgetContainer-CCR7I0gu.mjs +470 -0
  57. package/dist/accounts/index.es.js +29 -29
  58. package/dist/analytics/index.es.js +10 -10
  59. package/dist/budgets/index.es.js +19 -19
  60. package/dist/cashflow/index.es.js +110 -110
  61. package/dist/categories/index.es.js +2 -2
  62. package/dist/common/hooks/useWidgetHeaderStyles.d.ts +1 -0
  63. package/dist/common/index.es.js +250 -250
  64. package/dist/core/index.es.js +64 -64
  65. package/dist/dashboard/index.es.js +22 -22
  66. package/dist/debts/index.es.js +22 -22
  67. package/dist/{exportTransactionsToCSV-Dnd5lVq7.mjs → exportTransactionsToCSV-B2Lp7AMl.mjs} +7 -7
  68. package/dist/finstrong/index.es.js +22 -22
  69. package/dist/goals/index.es.js +17 -17
  70. package/dist/help/index.es.js +5 -5
  71. package/dist/{hooks-BxkfR-Ff.mjs → hooks-HwStH7q_.mjs} +9 -9
  72. package/dist/insights/index.es.js +328 -328
  73. package/dist/investments/index.es.js +10 -10
  74. package/dist/merchants/index.es.js +9 -9
  75. package/dist/microinsights/index.es.js +1 -1
  76. package/dist/networth/index.es.js +25 -25
  77. package/dist/notifications/index.es.js +5 -5
  78. package/dist/recurringtransactions/index.es.js +23 -23
  79. package/dist/settings/index.es.js +96 -96
  80. package/dist/spending/index.es.js +65 -65
  81. package/dist/transactions/index.es.js +74 -74
  82. package/dist/trends/index.es.js +55 -55
  83. package/dist/{useAccountDisplayName-DKwT1mWv.mjs → useAccountDisplayName-SrQA7K_6.mjs} +1 -1
  84. package/dist/{useInsightsEnabled-DL_oNyI0.mjs → useInsightsEnabled-DzvRm5Bo.mjs} +1 -1
  85. package/dist/{useScreenSize-CUcpY7aJ.mjs → useScreenSize-CeFhWTt_.mjs} +1 -1
  86. package/dist/{useWidgetLoadTimer-DgN1bTyu.mjs → useWidgetLoadTimer-wkBTL5xx.mjs} +1 -1
  87. package/package.json +20 -20
  88. package/dist/DateUtil-C57sqxn4.mjs +0 -54
  89. package/dist/MicroWidgetContainer-B_EnfvCq.mjs +0 -45
  90. package/dist/MiniWidgetContainer-Bhkv-hpz.mjs +0 -66
  91. package/dist/WidgetContainer-Bc75FqK7.mjs +0 -468
@@ -1,34 +1,34 @@
1
- import { jsxs as a, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as a, jsx as t } from "react/jsx-runtime";
2
2
  import _, { useMemo as q, useState as K, useEffect as J } from "react";
3
3
  import A from "@mui/material/Box";
4
4
  import Y from "@mui/material/Button";
5
5
  import c from "@mui/material/Stack";
6
- import { Icon as E, P as N, H3 as P, Text as f, MerchantLogo as tt, H2 as et } from "@mxenabled/mxui";
7
- import { Receipt as rt, Icon as nt } from "@mxenabled/mx-icons";
8
- import { L as it, O as ot, e as at } from "./exportTransactionsToCSV-Dnd5lVq7.mjs";
6
+ import { Icon as $, P as N, H3 as P, Text as f, MerchantLogo as ee, H2 as te } from "@mxenabled/mxui";
7
+ import { Receipt as re, Icon as ne } from "@mxenabled/mx-icons";
8
+ import { L as ie, O as oe, e as ae } from "./exportTransactionsToCSV-B2Lp7AMl.mjs";
9
9
  import { observer as H } from "mobx-react-lite";
10
- import { useVirtualizer as st } from "@tanstack/react-virtual";
11
- import lt from "@mui/material/Divider";
12
- import ct from "@mui/material/List";
13
- import { G as dt, h as W, u as O, g as ht, b as mt } from "./hooks-BxkfR-Ff.mjs";
14
- import pt from "@mui/material/ListItemAvatar";
15
- import ut from "@mui/material/ListItemText";
16
- import { useTheme as z } from "@mui/material/styles";
17
- import { T as ft } from "./Transaction-Cn5_iFm0.mjs";
10
+ import { useVirtualizer as se } from "@tanstack/react-virtual";
11
+ import le from "@mui/material/Divider";
12
+ import ce from "@mui/material/List";
13
+ import { G as de, h as z, u as O, g as he, b as me } from "./hooks-HwStH7q_.mjs";
14
+ import pe from "@mui/material/ListItemAvatar";
15
+ import ue from "@mui/material/ListItemText";
16
+ import { useTheme as W } from "@mui/material/styles";
17
+ import { T as fe } from "./Transaction-Cn5_iFm0.mjs";
18
18
  import { f as B } from "./NumberFormatting-CyrvFgfd.mjs";
19
19
  import { fromUnixTime as R } from "date-fns/fromUnixTime";
20
20
  import { isSameDay as Z } from "date-fns/isSameDay";
21
- import { f as gt, D as xt } from "./DateFormats-CaOj_4eI.mjs";
22
- import { h as bt } from "./DateUtil-C57sqxn4.mjs";
23
- import { L as Q } from "./Loader-D3rjKx72.mjs";
24
- import { A as yt } from "./Analytics-0Xm_BjHU.mjs";
25
- import _t from "@mui/material/Tab";
26
- import wt from "@mui/material/Tabs";
27
- import Ct from "@mui/material/IconButton";
28
- import { ChartContainer as vt, ChartsReferenceLine as j, ChartsXAxis as Tt, BarPlot as Dt } from "@mui/x-charts";
29
- import { D as St } from "./Drawer-Bbe4AMB1.mjs";
30
- import It from "@mui/material/Card";
31
- const Lt = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) => {
21
+ import { f as ge, D as xe } from "./DateFormats-CaOj_4eI.mjs";
22
+ import { i as be } from "./DateUtil-D0TO0DaZ.mjs";
23
+ import { L as Q } from "./Loader-CxeBwuPG.mjs";
24
+ import { A as ye } from "./Analytics-0Xm_BjHU.mjs";
25
+ import _e from "@mui/material/Tab";
26
+ import we from "@mui/material/Tabs";
27
+ import Ce from "@mui/material/IconButton";
28
+ import { D as ve } from "./Drawer-XPaLYjiO.mjs";
29
+ import { ChartContainer as Te, ChartsReferenceLine as j, ChartsXAxis as Se, BarPlot as De } from "@mui/x-charts";
30
+ import Ie from "@mui/material/Card";
31
+ const Le = ({ message: e, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) => {
32
32
  const s = i || r, h = i ? "chevron_right" : "close";
33
33
  return /* @__PURE__ */ a(
34
34
  c,
@@ -48,24 +48,24 @@ const Lt = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) =
48
48
  },
49
49
  children: [
50
50
  /* @__PURE__ */ a(c, { sx: { flexDirection: "row", gap: 4 }, children: [
51
- /* @__PURE__ */ e(E, { color: "info", fill: !0, name: "lightbulb", size: 24 }),
52
- /* @__PURE__ */ e(N, { color: "primary.dark", fontWeight: 400, noWrap: !1, variant: "subtitle2", children: t })
51
+ /* @__PURE__ */ t($, { color: "info", fill: !0, name: "lightbulb", size: 24 }),
52
+ /* @__PURE__ */ t(N, { color: "primary.dark", fontWeight: 400, noWrap: !1, variant: "subtitle2", children: e })
53
53
  ] }),
54
- s && /* @__PURE__ */ e(
55
- Ct,
54
+ s && /* @__PURE__ */ t(
55
+ Ce,
56
56
  {
57
57
  "aria-label": n,
58
58
  onClick: s,
59
59
  size: "small",
60
60
  sx: { minHeight: 0, minWidth: 0, p: 0 },
61
- children: /* @__PURE__ */ e(E, { color: "primary", fill: !0, name: h, size: 20 })
61
+ children: /* @__PURE__ */ t($, { color: "primary", fill: !0, name: h, size: 20 })
62
62
  }
63
63
  )
64
64
  ]
65
65
  }
66
66
  );
67
- }, kt = ({
68
- ariaLabel: t,
67
+ }, ke = ({
68
+ ariaLabel: e,
69
69
  beat: n,
70
70
  chart: r,
71
71
  children: i,
@@ -78,14 +78,14 @@ const Lt = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) =
78
78
  const { heading: d, subHeading: u } = n, x = q(
79
79
  () => s ?? (o.length ? o.length - 1 : 0),
80
80
  [s, o.length]
81
- ), [y, p] = K(x), S = (v, T) => {
81
+ ), [y, p] = K(x), D = (v, T) => {
82
82
  g?.(T), p(T);
83
83
  }, I = (v) => {
84
84
  p(v);
85
85
  };
86
86
  return /* @__PURE__ */ a(A, { sx: { bgcolor: "background.paper", width: "100%" }, children: [
87
- /* @__PURE__ */ e(wt, { "aria-label": t, onChange: S, value: y, variant: "fullWidth", children: o.map((v, T) => /* @__PURE__ */ e(
88
- _t,
87
+ /* @__PURE__ */ t(we, { "aria-label": e, onChange: D, value: y, variant: "fullWidth", children: o.map((v, T) => /* @__PURE__ */ t(
88
+ _e,
89
89
  {
90
90
  id: `transaction-details-tab-${T}`,
91
91
  label: v.label,
@@ -93,68 +93,68 @@ const Lt = ({ message: t, tipAriaLabel: n, onDismiss: r, onAction: i, sx: o }) =
93
93
  },
94
94
  `${v.label}-${T}`
95
95
  )) }),
96
- /* @__PURE__ */ e(c, { sx: { pt: 16, px: 24 }, children: (d || u) && /* @__PURE__ */ a(c, { sx: { gap: 4 }, children: [
97
- d && /* @__PURE__ */ e(P, { children: d }),
96
+ /* @__PURE__ */ t(c, { sx: { pt: 16, px: 24 }, children: (d || u) && /* @__PURE__ */ a(c, { sx: { gap: 4 }, children: [
97
+ d && /* @__PURE__ */ t(P, { children: d }),
98
98
  u && /* @__PURE__ */ a(c, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
99
99
  h,
100
- /* @__PURE__ */ e(f, { textTransform: "uppercase", variant: "body2", children: u.description })
100
+ /* @__PURE__ */ t(f, { textTransform: "uppercase", variant: "body2", children: u.description })
101
101
  ] })
102
102
  ] }) }),
103
103
  r?.(y, I),
104
- m && /* @__PURE__ */ e(Lt, { ...m }),
104
+ m && /* @__PURE__ */ t(Le, { ...m }),
105
105
  i?.(y)
106
106
  ] });
107
107
  }, V = () => {
108
- if (!_.useContext(dt))
108
+ if (!_.useContext(de))
109
109
  throw new Error("useTransactionsUiStore() must be used within the GlobalDataContext");
110
- return W().uiStore;
110
+ return z().uiStore;
111
111
  };
112
- function At() {
112
+ function Ae() {
113
113
  return window.opener && window.opener.location ? window.opener.location.toString() : document.referrer;
114
114
  }
115
- function X(t) {
116
- const n = At().replace(/([^:]+:\/\/[^\/]+).*/, "$1"), r = window.parent || window.opener || !1;
117
- return r && r.postMessage && n ? (r.postMessage(t, n), !0) : !1;
115
+ function X(e) {
116
+ const n = Ae().replace(/([^:]+:\/\/[^\/]+).*/, "$1"), r = window.parent || window.opener || !1;
117
+ return r && r.postMessage && n ? (r.postMessage(e, n), !0) : !1;
118
118
  }
119
- function $t(t) {
119
+ function Ee(e) {
120
120
  return X({
121
- metadata: { beat_guid: t },
121
+ metadata: { beat_guid: e },
122
122
  mx: !0,
123
123
  type: "mx/moneyDashboard/insightOnTransaction"
124
124
  });
125
125
  }
126
- function ve(t) {
126
+ function wt(e) {
127
127
  return X({
128
- metadata: { template: t },
128
+ metadata: { template: e },
129
129
  mx: !0,
130
130
  type: "mx/pulse/client_configured_cta"
131
131
  });
132
132
  }
133
- const Et = ({ transaction: t, onClick: n }) => {
134
- const i = z().palette.mode === "dark", { associatedBeats: o } = W(), { expandedSplits: s } = V(), { transactions: h } = O(), { showInsights: g } = V(), m = t.transaction_type === ft.CREDIT, d = _.useMemo(() => o.find((u) => u.associated_transaction_guid === t.guid), [o, t]);
133
+ const $e = ({ transaction: e, onClick: n }) => {
134
+ const i = W().palette.mode === "dark", { associatedBeats: o } = z(), { expandedSplits: s } = V(), { transactions: h } = O(), { showInsights: g } = V(), m = e.transaction_type === fe.CREDIT, d = _.useMemo(() => o.find((u) => u.associated_transaction_guid === e.guid), [o, e]);
135
135
  return (
136
136
  //TODO: implement common/components/ListItemRow.tsx
137
137
  /* @__PURE__ */ a(
138
- it,
138
+ ie,
139
139
  {
140
- clickEventName: ot.ON_TRANSACTION_LIST_ITEM_CLICK,
141
- onClick: n ? () => n(t.guid) : void 0,
140
+ clickEventName: oe.ON_TRANSACTION_LIST_ITEM_CLICK,
141
+ onClick: n ? () => n(e.guid) : void 0,
142
142
  children: [
143
- /* @__PURE__ */ e(pt, { children: t.parent_guid && s.includes(t.parent_guid) ? /* @__PURE__ */ e(_.Fragment, {}) : /* @__PURE__ */ e(
144
- tt,
143
+ /* @__PURE__ */ t(pe, { children: e.parent_guid && s.includes(e.parent_guid) ? /* @__PURE__ */ t(_.Fragment, {}) : /* @__PURE__ */ t(
144
+ ee,
145
145
  {
146
- categoryGuid: t.top_level_category_guid || "",
147
- merchantGuid: t.merchant_guid || ""
146
+ categoryGuid: e.top_level_category_guid || "",
147
+ merchantGuid: e.merchant_guid || ""
148
148
  }
149
149
  ) }),
150
- /* @__PURE__ */ e(
151
- ut,
150
+ /* @__PURE__ */ t(
151
+ ue,
152
152
  {
153
153
  disableTypography: !0,
154
154
  secondary: /* @__PURE__ */ a(c, { direction: "row", justifyContent: "space-between", children: [
155
155
  /* @__PURE__ */ a(c, { alignItems: "center", direction: "row", gap: 4, children: [
156
- t.is_flagged && /* @__PURE__ */ e(
157
- E,
156
+ e.is_flagged && /* @__PURE__ */ t(
157
+ $,
158
158
  {
159
159
  fill: !0,
160
160
  name: "flag",
@@ -162,17 +162,17 @@ const Et = ({ transaction: t, onClick: n }) => {
162
162
  sx: { color: i ? "primary.main" : "warning.dark" }
163
163
  }
164
164
  ),
165
- t.is_hidden && /* @__PURE__ */ e(E, { name: "visibility_off", size: 16 }),
166
- t.has_been_split && /* @__PURE__ */ e(E, { name: "call_split", size: 16 }),
167
- /* @__PURE__ */ e(f, { variant: "caption", children: t.has_been_split ? h.split_transaction_category_label : t.category })
165
+ e.is_hidden && /* @__PURE__ */ t($, { name: "visibility_off", size: 16 }),
166
+ e.has_been_split && /* @__PURE__ */ t($, { name: "call_split", size: 16 }),
167
+ /* @__PURE__ */ t(f, { variant: "caption", children: e.has_been_split ? h.split_transaction_category_label : e.category })
168
168
  ] }),
169
- d && g && /* @__PURE__ */ e(
169
+ d && g && /* @__PURE__ */ t(
170
170
  f,
171
171
  {
172
172
  bold: !0,
173
173
  color: "action.active",
174
174
  onClick: (u) => {
175
- u.stopPropagation(), u.preventDefault(), $t(d.guid);
175
+ u.stopPropagation(), u.preventDefault(), Ee(d.guid);
176
176
  },
177
177
  variant: "caption",
178
178
  children: d.short_title
@@ -181,8 +181,8 @@ const Et = ({ transaction: t, onClick: n }) => {
181
181
  ] }),
182
182
  children: /* @__PURE__ */ a(c, { direction: "row", justifyContent: "space-between", sx: { gap: 8 }, children: [
183
183
  /* @__PURE__ */ a(f, { bold: !0, variant: "body1", children: [
184
- t.is_hidden && h.hide_trnx_cancel_hidden_note,
185
- t.payee || t.description || t.feed_description
184
+ e.is_hidden && h.hide_trnx_cancel_hidden_note,
185
+ e.payee || e.description || e.feed_description
186
186
  ] }),
187
187
  /* @__PURE__ */ a(
188
188
  f,
@@ -193,7 +193,7 @@ const Et = ({ transaction: t, onClick: n }) => {
193
193
  variant: "body1",
194
194
  children: [
195
195
  m ? "+" : "",
196
- B(t.amount, "0,0.00")
196
+ B(e.amount, "0,0.00")
197
197
  ]
198
198
  }
199
199
  )
@@ -204,24 +204,24 @@ const Et = ({ transaction: t, onClick: n }) => {
204
204
  }
205
205
  )
206
206
  );
207
- }, Mt = H(Et), Rt = ({
208
- bgcolor: t = "background.default",
207
+ }, Me = H($e), Re = ({
208
+ bgcolor: e = "background.default",
209
209
  children: n
210
- }) => /* @__PURE__ */ e(A, { display: "inline-block", sx: { bgcolor: t, py: 6, width: "100%" }, children: /* @__PURE__ */ e(f, { bold: !0, sx: { pl: 24 }, variant: "caption", children: n }) }), Wt = ({ showIcon: t = !0, showSubtitle: n = !0 }) => {
210
+ }) => /* @__PURE__ */ t(A, { display: "inline-block", sx: { bgcolor: e, py: 6, width: "100%" }, children: /* @__PURE__ */ t(f, { bold: !0, sx: { pl: 24 }, variant: "caption", children: n }) }), ze = ({ showIcon: e = !0, showSubtitle: n = !0 }) => {
211
211
  const { transactions: r } = O();
212
212
  return /* @__PURE__ */ a(c, { alignItems: "center", gap: 12, height: "auto", mb: 24, mt: 24, children: [
213
- t && /* @__PURE__ */ e(rt, { color: "action", sx: { fontSize: 32 } }),
214
- /* @__PURE__ */ e(f, { bold: !0, color: "text.secondary", variant: "body2", children: r.zero_state_no_transactions }),
215
- n && /* @__PURE__ */ e(f, { color: "text.secondary", variant: "caption", children: r.zero_state_there_are_no_transactions })
213
+ e && /* @__PURE__ */ t(re, { color: "action", sx: { fontSize: 32 } }),
214
+ /* @__PURE__ */ t(f, { bold: !0, color: "text.secondary", variant: "body2", children: r.zero_state_no_transactions }),
215
+ n && /* @__PURE__ */ t(f, { color: "text.secondary", variant: "caption", children: r.zero_state_there_are_no_transactions })
216
216
  ] });
217
- }, zt = H(Wt), G = (t, n) => {
218
- const r = R(n[t].date), i = R(n[t - 1]?.date);
217
+ }, We = H(ze), G = (e, n) => {
218
+ const r = R(n[e].date), i = R(n[e - 1]?.date);
219
219
  return !Z(r, i);
220
- }, Bt = (t, n) => {
221
- const r = R(n[t].date), i = R(n[t + 1]?.date);
220
+ }, Be = (e, n) => {
221
+ const r = R(n[e].date), i = R(n[e + 1]?.date);
222
222
  return Z(r, i);
223
- }, Te = (t) => t?.data ? t.data.map((n) => Object.fromEntries((t.names || []).map((r, i) => [r, n[i]]))) : [], De = (t, n = "") => t.map((i) => {
224
- const o = gt(i.date, xt.MONTH_SHORT);
223
+ }, Ct = (e) => e?.data ? e.data.map((n) => Object.fromEntries((e.names || []).map((r, i) => [r, n[i]]))) : [], vt = (e, n = "") => e.map((i) => {
224
+ const o = ge(i.date, xe.MONTH_SHORT);
225
225
  return {
226
226
  ariaLabel: `
227
227
  ${o},
@@ -231,39 +231,39 @@ const Et = ({ transaction: t, onClick: n }) => {
231
231
  value: i.amount,
232
232
  formattedAmount: B(i.amount, "0,0")
233
233
  };
234
- }), U = 65, F = 32, Vt = ({
235
- bgcolor: t,
234
+ }), U = 65, F = 32, Ve = ({
235
+ bgcolor: e,
236
236
  filter: n,
237
237
  height: r = "calc(100dvh - 36px)",
238
- loader: i = /* @__PURE__ */ e(Q, { label: "Loading", size: 40 }),
238
+ loader: i = /* @__PURE__ */ t(Q, { label: "Loading", size: 40 }),
239
239
  onClick: o,
240
240
  showInsights: s = !1,
241
241
  showLoader: h = !1,
242
242
  showHiddenTransactions: g = !1,
243
243
  transaction: m,
244
244
  width: d = "100%",
245
- zeroState: u = /* @__PURE__ */ e(zt, {})
245
+ zeroState: u = /* @__PURE__ */ t(We, {})
246
246
  }) => {
247
- const { isLoading: x, sortedTransactions: y } = W(), p = _.useMemo(() => {
247
+ const { isLoading: x, sortedTransactions: y } = z(), p = _.useMemo(() => {
248
248
  const b = n ? y.filter(n) : y, w = m ?? b;
249
249
  return g ? w : w.filter((l) => !l.is_hidden);
250
- }, [y, g, m]), { clearExpandedSplits: S, setShowInsights: I, toggleSplit: v } = V(), { onEvent: T } = ht(), M = (b) => {
250
+ }, [y, g, m]), { clearExpandedSplits: D, setShowInsights: I, toggleSplit: v } = V(), { onEvent: T } = he(), M = (b) => {
251
251
  const w = p.find((l) => l.guid === b);
252
252
  if (w?.has_been_split) {
253
253
  v(w.guid);
254
254
  return;
255
255
  }
256
- T(yt.ACCOUNT_DETAILS_CLICK_TRANSACTION, {
256
+ T(ye.ACCOUNT_DETAILS_CLICK_TRANSACTION, {
257
257
  account_guid: w?.account_guid,
258
258
  transaction_guid: b
259
259
  }), o?.(b);
260
- }, L = _.useRef(null), k = st({
260
+ }, L = _.useRef(null), k = se({
261
261
  count: p.length,
262
262
  getScrollElement: () => L.current,
263
263
  estimateSize: (b) => U + (G(b, p) ? F : 0),
264
264
  overscan: 5
265
265
  });
266
- return _.useEffect(() => k.measure(), [p]), _.useEffect(() => I(s), [s]), _.useEffect(() => () => S(), []), /* @__PURE__ */ e(ct, { component: "div", role: "list", sx: { width: d }, children: /* @__PURE__ */ e(A, { height: r, overflow: "auto", ref: L, role: "presentation", width: d, children: /* @__PURE__ */ a(
266
+ return _.useEffect(() => k.measure(), [p]), _.useEffect(() => I(s), [s]), _.useEffect(() => () => D(), []), /* @__PURE__ */ t(ce, { component: "div", role: "list", sx: { width: d }, children: /* @__PURE__ */ t(A, { height: r, overflow: "auto", ref: L, role: "presentation", width: d, children: /* @__PURE__ */ a(
267
267
  A,
268
268
  {
269
269
  height: (
@@ -277,28 +277,28 @@ const Et = ({ transaction: t, onClick: n }) => {
277
277
  (x || h) && i,
278
278
  !x && !h && k.getVirtualItems().length === 0 && u,
279
279
  !x && !h && k.getVirtualItems().length > 0 && k.getVirtualItems().map((b) => {
280
- const w = p[b.index], l = G(b.index, p), C = Bt(b.index, p), D = U + (l ? F : 0);
280
+ const w = p[b.index], l = G(b.index, p), C = Be(b.index, p), S = U + (l ? F : 0);
281
281
  return /* @__PURE__ */ a(
282
282
  A,
283
283
  {
284
284
  role: "listitem",
285
285
  sx: {
286
- height: D,
286
+ height: S,
287
287
  position: "absolute",
288
288
  transform: `translateY(${b.start}px)`,
289
289
  width: "100%",
290
290
  bgcolor: "background.paper"
291
291
  },
292
292
  children: [
293
- l && /* @__PURE__ */ e(Rt, { bgcolor: t, children: bt(w.date) }),
294
- /* @__PURE__ */ e(
295
- Mt,
293
+ l && /* @__PURE__ */ t(Re, { bgcolor: e, children: be(w.date) }),
294
+ /* @__PURE__ */ t(
295
+ Me,
296
296
  {
297
297
  ...o && { onClick: M },
298
298
  transaction: w
299
299
  }
300
300
  ),
301
- /* @__PURE__ */ e(lt, { sx: { ml: C ? 68 : 0 } })
301
+ /* @__PURE__ */ t(le, { sx: { ml: C ? 68 : 0 } })
302
302
  ]
303
303
  },
304
304
  w.guid
@@ -307,28 +307,28 @@ const Et = ({ transaction: t, onClick: n }) => {
307
307
  ]
308
308
  }
309
309
  ) }) });
310
- }, Nt = H(Vt), Ht = (t) => {
310
+ }, Ne = H(Ve), He = (e) => {
311
311
  const [n, r] = K({ width: 0, height: 0 });
312
312
  return J(() => {
313
313
  const i = () => {
314
- if (t.current) {
315
- const { offsetWidth: o, offsetHeight: s } = t.current;
314
+ if (e.current) {
315
+ const { offsetWidth: o, offsetHeight: s } = e.current;
316
316
  r({ width: o, height: s });
317
317
  }
318
318
  };
319
319
  return i(), window.addEventListener("resize", i), () => {
320
320
  window.removeEventListener("resize", i);
321
321
  };
322
- }, [t]), n;
323
- }, Ot = ({
324
- color: t,
322
+ }, [e]), n;
323
+ }, Oe = ({
324
+ color: e,
325
325
  legendStyle: n = {},
326
326
  monthlyAmount: r,
327
327
  monthlyAmountLabel: i,
328
328
  trendAmount: o,
329
329
  trendAmountLabel: s
330
330
  }) => {
331
- const h = z();
331
+ const h = W();
332
332
  return /* @__PURE__ */ a(
333
333
  c,
334
334
  {
@@ -343,7 +343,7 @@ const Et = ({ transaction: t, onClick: n }) => {
343
343
  },
344
344
  children: [
345
345
  i && /* @__PURE__ */ a(c, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
346
- /* @__PURE__ */ e(
346
+ /* @__PURE__ */ t(
347
347
  "svg",
348
348
  {
349
349
  "aria-hidden": "true",
@@ -352,7 +352,7 @@ const Et = ({ transaction: t, onClick: n }) => {
352
352
  height: "12",
353
353
  role: "figure",
354
354
  width: "12",
355
- children: /* @__PURE__ */ e("rect", { fill: t, height: "12", rx: "2", width: "12" })
355
+ children: /* @__PURE__ */ t("rect", { fill: e, height: "12", rx: "2", width: "12" })
356
356
  }
357
357
  ),
358
358
  /* @__PURE__ */ a(f, { id: "chartLegendLabel", variant: "caption", children: [
@@ -362,7 +362,7 @@ const Et = ({ transaction: t, onClick: n }) => {
362
362
  ] })
363
363
  ] }),
364
364
  s && /* @__PURE__ */ a(c, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
365
- /* @__PURE__ */ e(
365
+ /* @__PURE__ */ t(
366
366
  "svg",
367
367
  {
368
368
  "aria-hidden": "true",
@@ -371,7 +371,7 @@ const Et = ({ transaction: t, onClick: n }) => {
371
371
  height: "12",
372
372
  role: "figure",
373
373
  width: "12",
374
- children: /* @__PURE__ */ e("rect", { fill: h.palette.chart.chart7, height: "12", rx: "2", width: "12" })
374
+ children: /* @__PURE__ */ t("rect", { fill: h.palette.chart.chart7, height: "12", rx: "2", width: "12" })
375
375
  }
376
376
  ),
377
377
  /* @__PURE__ */ a(f, { id: "chartLegendLabel", variant: "caption", children: [
@@ -383,12 +383,12 @@ const Et = ({ transaction: t, onClick: n }) => {
383
383
  ]
384
384
  }
385
385
  );
386
- }, jt = (t, n) => {
387
- if (t <= 0 || n <= 0) return "";
388
- const r = Math.min(4, t / 2, n / 2);
389
- return `M${r},0 L${t - r},0 Q${t},0 ${t},${r} L${t},${n} L0,${n} L0,${r} Q0,0 ${r},0 Z`;
390
- }, Gt = ({
391
- colorRange: t,
386
+ }, je = (e, n) => {
387
+ if (e <= 0 || n <= 0) return "";
388
+ const r = Math.min(4, e / 2, n / 2);
389
+ return `M${r},0 L${e - r},0 Q${e},0 ${e},${r} L${e},${n} L0,${n} L0,${r} Q0,0 ${r},0 Z`;
390
+ }, Ge = ({
391
+ colorRange: e,
392
392
  data: n,
393
393
  dataIndex: r,
394
394
  removeSelectedTabColorChange: i,
@@ -396,18 +396,18 @@ const Et = ({ transaction: t, onClick: n }) => {
396
396
  style: s,
397
397
  ...h
398
398
  }) => {
399
- const g = z(), { ariaLabel: m, formattedAmount: d } = n[r], u = o === r ? "bold" : 400, x = s.x ?? 0, y = s.y ?? 0, p = s.width ?? 0, S = s.height ?? 0;
399
+ const g = W(), { ariaLabel: m, formattedAmount: d } = n[r], u = o === r ? "bold" : 400, x = s.x ?? 0, y = s.y ?? 0, p = s.width ?? 0, D = s.height ?? 0;
400
400
  return /* @__PURE__ */ a("g", { "aria-label": m, children: [
401
- /* @__PURE__ */ e(
401
+ /* @__PURE__ */ t(
402
402
  "path",
403
403
  {
404
404
  ...h,
405
- d: jt(p, S),
406
- fill: t[r],
405
+ d: je(p, D),
406
+ fill: e[r],
407
407
  transform: `translate(${x}, ${y})`
408
408
  }
409
409
  ),
410
- /* @__PURE__ */ e(
410
+ /* @__PURE__ */ t(
411
411
  "text",
412
412
  {
413
413
  fill: g.palette.text.primary,
@@ -420,8 +420,8 @@ const Et = ({ transaction: t, onClick: n }) => {
420
420
  }
421
421
  )
422
422
  ] });
423
- }, Ut = ({
424
- amounts: t,
423
+ }, Ue = ({
424
+ amounts: e,
425
425
  color: n,
426
426
  data: r,
427
427
  heightOverride: i,
@@ -438,8 +438,8 @@ const Et = ({ transaction: t, onClick: n }) => {
438
438
  selectedTabIndex: d,
439
439
  trendAmountLabel: u
440
440
  }) => {
441
- const x = _.useRef(null), { height: y, width: p } = Ht(x), S = z(), I = _.useMemo(() => {
442
- const l = r.map(({ value: $ }) => $), C = Math.min(...l), D = Math.max(...l);
441
+ const x = _.useRef(null), { height: y, width: p } = He(x), D = W(), I = _.useMemo(() => {
442
+ const l = r.map(({ value: E }) => E), C = Math.min(...l), S = Math.max(...l);
443
443
  return {
444
444
  series: [
445
445
  {
@@ -449,7 +449,7 @@ const Et = ({ transaction: t, onClick: n }) => {
449
449
  ],
450
450
  xAxis: [
451
451
  {
452
- data: r.map(({ label: $ }) => $),
452
+ data: r.map(({ label: E }) => E),
453
453
  scaleType: "band",
454
454
  categoryGapRatio: 0.45
455
455
  }
@@ -458,30 +458,30 @@ const Et = ({ transaction: t, onClick: n }) => {
458
458
  {
459
459
  scaleType: "linear",
460
460
  min: C < 0 ? C * 1.2 : 0,
461
- max: D > 0 ? D : 0
461
+ max: S > 0 ? S : 0
462
462
  }
463
463
  ]
464
464
  };
465
465
  }, [r]), v = _.useMemo(() => {
466
466
  const l = `${n}80`;
467
- return m ? r.map(() => n) : d == null ? [...new Array(r.length - 1).fill(l), n] : r.map((C, D) => D === d ? n : l);
467
+ return m ? r.map(() => n) : d == null ? [...new Array(r.length - 1).fill(l), n] : r.map((C, S) => S === d ? n : l);
468
468
  }, [n, r, d]), T = _.useMemo(
469
469
  () => r[d ?? r.length - 1],
470
470
  [r, d]
471
- ), L = r.reduce((l, C) => Math.min(l, C.value), 1 / 0) < 0, k = /* @__PURE__ */ e(
472
- Ot,
471
+ ), L = r.reduce((l, C) => Math.min(l, C.value), 1 / 0) < 0, k = /* @__PURE__ */ t(
472
+ Oe,
473
473
  {
474
474
  color: n,
475
475
  legendStyle: { pl: o.left },
476
476
  monthlyAmount: T.formattedAmount,
477
477
  monthlyAmountLabel: g,
478
- trendAmount: t?.formattedAverage,
478
+ trendAmount: e?.formattedAverage,
479
479
  trendAmountLabel: u
480
480
  }
481
481
  ), b = g || u, w = (l, { dataIndex: C }) => s?.(C);
482
482
  return /* @__PURE__ */ a(c, { sx: { alignItems: "center", width: "100%" }, children: [
483
483
  b && h === "top" && k,
484
- /* @__PURE__ */ e(
484
+ /* @__PURE__ */ t(
485
485
  A,
486
486
  {
487
487
  ref: x,
@@ -500,7 +500,7 @@ const Et = ({ transaction: t, onClick: n }) => {
500
500
  }
501
501
  },
502
502
  children: /* @__PURE__ */ a(
503
- vt,
503
+ Te,
504
504
  {
505
505
  height: y,
506
506
  margin: {
@@ -514,44 +514,44 @@ const Et = ({ transaction: t, onClick: n }) => {
514
514
  xAxis: I.xAxis,
515
515
  yAxis: [{ width: 0 }],
516
516
  children: [
517
- t?.average && /* @__PURE__ */ e(
517
+ e?.average && /* @__PURE__ */ t(
518
518
  j,
519
519
  {
520
520
  labelAlign: "middle",
521
521
  lineStyle: {
522
- stroke: S.palette.chart.chart7,
522
+ stroke: D.palette.chart.chart7,
523
523
  strokeDasharray: "4",
524
524
  strokeLinecap: "round",
525
525
  strokeWidth: 1
526
526
  },
527
- y: t?.average
527
+ y: e?.average
528
528
  }
529
529
  ),
530
- L && /* @__PURE__ */ e(
530
+ L && /* @__PURE__ */ t(
531
531
  j,
532
532
  {
533
533
  labelAlign: "middle",
534
534
  lineStyle: {
535
- stroke: S.palette.chart.chart7
535
+ stroke: D.palette.chart.chart7
536
536
  },
537
537
  y: 0
538
538
  }
539
539
  ),
540
- /* @__PURE__ */ e(
541
- Tt,
540
+ /* @__PURE__ */ t(
541
+ Se,
542
542
  {
543
543
  position: "bottom",
544
544
  slots: {
545
545
  // eslint-disable-next-line @typescript-eslint/no-unused-vars
546
- axisTickLabel: ({ text: l, ownerState: C, ...D }) => {
547
- const $ = r[d ?? r.length - 1]?.label;
548
- return /* @__PURE__ */ e(
546
+ axisTickLabel: ({ text: l, ownerState: C, ...S }) => {
547
+ const E = r[d ?? r.length - 1]?.label;
548
+ return /* @__PURE__ */ t(
549
549
  "text",
550
550
  {
551
- ...D,
551
+ ...S,
552
552
  style: {
553
- ...D.style,
554
- fontWeight: !m && $ === l ? "bold" : 400
553
+ ...S.style,
554
+ fontWeight: !m && E === l ? "bold" : 400
555
555
  },
556
556
  children: l
557
557
  }
@@ -574,17 +574,17 @@ const Et = ({ transaction: t, onClick: n }) => {
574
574
  }
575
575
  }
576
576
  ),
577
- /* @__PURE__ */ e(
578
- Dt,
577
+ /* @__PURE__ */ t(
578
+ De,
579
579
  {
580
580
  onItemClick: w,
581
581
  slots: {
582
582
  bar: (l) => {
583
- const { ownerState: C, ...D } = l;
584
- return /* @__PURE__ */ e(
585
- Gt,
583
+ const { ownerState: C, ...S } = l;
584
+ return /* @__PURE__ */ t(
585
+ Ge,
586
586
  {
587
- ...D,
587
+ ...S,
588
588
  colorRange: v,
589
589
  data: r,
590
590
  dataIndex: C.dataIndex,
@@ -609,8 +609,8 @@ const Et = ({ transaction: t, onClick: n }) => {
609
609
  ),
610
610
  b && h === "bottom" && k
611
611
  ] });
612
- }, Ft = ({
613
- ariaLabel: t,
612
+ }, Tt = ({
613
+ ariaLabel: e,
614
614
  barChartProps: n,
615
615
  beat: r,
616
616
  data: i,
@@ -623,14 +623,14 @@ const Et = ({ transaction: t, onClick: n }) => {
623
623
  title: u,
624
624
  transactionListProps: x = {}
625
625
  }) => {
626
- const { common: y, transactions: p } = O(), { isCopyLoaded: S } = mt(), { sortedTransactionsWithSplits: I, tags: v } = W();
627
- return S ? /* @__PURE__ */ e(St, { ariaLabelClose: y.close_aria, isOpen: h, onClose: g, title: u, children: /* @__PURE__ */ e(
628
- kt,
626
+ const { common: y, transactions: p } = O(), { isCopyLoaded: D } = me(), { sortedTransactionsWithSplits: I, tags: v } = z();
627
+ return D ? /* @__PURE__ */ t(ve, { ariaLabelClose: y.close_aria, isOpen: h, onClose: g, title: u, children: /* @__PURE__ */ t(
628
+ ke,
629
629
  {
630
- ariaLabel: t,
630
+ ariaLabel: e,
631
631
  beat: r,
632
- chart: (T, M) => /* @__PURE__ */ e(A, { sx: { pt: 16 }, children: /* @__PURE__ */ e(
633
- Ut,
632
+ chart: (T, M) => /* @__PURE__ */ t(A, { sx: { pt: 16 }, children: /* @__PURE__ */ t(
633
+ Ue,
634
634
  {
635
635
  ...n,
636
636
  onBarClick: (L) => {
@@ -660,30 +660,30 @@ const Et = ({ transaction: t, onClick: n }) => {
660
660
  px: 24
661
661
  },
662
662
  children: [
663
- /* @__PURE__ */ e(f, { bold: !0, variant: "body1", children: p.transactions_title }),
664
- (x?.transaction || I.length > 0) && /* @__PURE__ */ e(
663
+ /* @__PURE__ */ t(f, { bold: !0, variant: "body1", children: p.transactions_title }),
664
+ (x?.transaction || I.length > 0) && /* @__PURE__ */ t(
665
665
  Y,
666
666
  {
667
667
  onClick: () => {
668
- at(
668
+ ae(
669
669
  x?.transaction || I,
670
670
  v
671
671
  );
672
672
  },
673
- startIcon: /* @__PURE__ */ e(nt, { name: "ios_share" }),
673
+ startIcon: /* @__PURE__ */ t(ne, { name: "ios_share" }),
674
674
  sx: { height: 28 },
675
- children: /* @__PURE__ */ e(f, { bold: !0, variant: "body2", children: p.export_csv_btn })
675
+ children: /* @__PURE__ */ t(f, { bold: !0, variant: "body2", children: p.export_csv_btn })
676
676
  }
677
677
  )
678
678
  ]
679
679
  }
680
680
  ),
681
- /* @__PURE__ */ e(Nt, { ...x })
681
+ /* @__PURE__ */ t(Ne, { ...x })
682
682
  ] })
683
683
  }
684
- ) }) : /* @__PURE__ */ e(Q, {});
685
- }, Se = Ft, Kt = ({
686
- amount: t,
684
+ ) }) : /* @__PURE__ */ t(Q, {});
685
+ }, St = ({
686
+ amount: e,
687
687
  borderRadius: n = "2px",
688
688
  count: r,
689
689
  completeColor: i = "success.main",
@@ -695,14 +695,14 @@ const Et = ({ transaction: t, onClick: n }) => {
695
695
  sx: d
696
696
  }) => /* @__PURE__ */ a(c, { className: "details-container", sx: { p: 24, width: "100%", gap: 16, ...d }, children: [
697
697
  /* @__PURE__ */ a(c, { sx: { alignItems: "center", flexDirection: "row", gap: 12 }, children: [
698
- /* @__PURE__ */ e(A, { children: o }),
698
+ /* @__PURE__ */ t(A, { children: o }),
699
699
  /* @__PURE__ */ a(c, { children: [
700
- typeof s == "string" ? /* @__PURE__ */ e(N, { dangerouslySetInnerHTML: { __html: s }, variant: "body2" }) : s,
701
- typeof t == "string" ? /* @__PURE__ */ e(et, { children: t }) : t
700
+ typeof s == "string" ? /* @__PURE__ */ t(N, { dangerouslySetInnerHTML: { __html: s }, variant: "body2" }) : s,
701
+ typeof e == "string" ? /* @__PURE__ */ t(te, { children: e }) : e
702
702
  ] })
703
703
  ] }),
704
704
  /* @__PURE__ */ a(c, { sx: { gap: 4 }, children: [
705
- /* @__PURE__ */ e(
705
+ /* @__PURE__ */ t(
706
706
  c,
707
707
  {
708
708
  sx: {
@@ -712,7 +712,7 @@ const Et = ({ transaction: t, onClick: n }) => {
712
712
  height: r ? 20 : 16,
713
713
  width: "100%"
714
714
  },
715
- children: /* @__PURE__ */ e(
715
+ children: /* @__PURE__ */ t(
716
716
  A,
717
717
  {
718
718
  sx: {
@@ -725,25 +725,25 @@ const Et = ({ transaction: t, onClick: n }) => {
725
725
  height: r ? 20 : 16,
726
726
  width: `${g}%`
727
727
  },
728
- children: /* @__PURE__ */ e(f, { sx: { color: "primary.dark" }, variant: "caption", children: r })
728
+ children: /* @__PURE__ */ t(f, { sx: { color: "primary.dark" }, variant: "caption", children: r })
729
729
  }
730
730
  )
731
731
  }
732
732
  ),
733
733
  !r && /* @__PURE__ */ a(c, { sx: { flexDirection: "row", justifyContent: "space-between" }, children: [
734
- /* @__PURE__ */ e(f, { variant: "body2", children: h }),
735
- /* @__PURE__ */ e(f, { variant: "body2", children: m })
734
+ /* @__PURE__ */ t(f, { variant: "body2", children: h }),
735
+ /* @__PURE__ */ t(f, { variant: "body2", children: m })
736
736
  ] })
737
737
  ] })
738
- ] }), Ie = Kt, Le = ({
739
- title: t,
738
+ ] }), Dt = ({
739
+ title: e,
740
740
  description: n,
741
741
  callToAction: r,
742
742
  instanceSlot: i = void 0,
743
743
  onCtaClick: o = () => {
744
744
  }
745
- }) => /* @__PURE__ */ a(It, { sx: { pt: 8, pr: 16, pb: 12, pl: 8, borderRadius: "8px" }, children: [
746
- /* @__PURE__ */ e(
745
+ }) => /* @__PURE__ */ a(Ie, { sx: { pt: 8, pr: 16, pb: 12, pl: 8, borderRadius: "8px" }, children: [
746
+ /* @__PURE__ */ t(
747
747
  c,
748
748
  {
749
749
  sx: {
@@ -753,7 +753,7 @@ const Et = ({ transaction: t, onClick: n }) => {
753
753
  pt: 4,
754
754
  pl: 8
755
755
  },
756
- children: /* @__PURE__ */ e(f, { bold: !0, variant: "body1", children: t })
756
+ children: /* @__PURE__ */ t(f, { bold: !0, variant: "body1", children: e })
757
757
  }
758
758
  ),
759
759
  /* @__PURE__ */ a(
@@ -767,8 +767,8 @@ const Et = ({ transaction: t, onClick: n }) => {
767
767
  },
768
768
  children: [
769
769
  /* @__PURE__ */ a(c, { children: [
770
- /* @__PURE__ */ e(c, { sx: { pt: 2, pl: 8, pb: 8 }, children: /* @__PURE__ */ e(N, { sx: { fontWeight: 400 }, variant: "subtitle2", children: n }) }),
771
- /* @__PURE__ */ e(c, { sx: { alignItems: "flex-start" }, children: /* @__PURE__ */ e(
770
+ /* @__PURE__ */ t(c, { sx: { pt: 2, pl: 8, pb: 8 }, children: /* @__PURE__ */ t(N, { sx: { fontWeight: 400 }, variant: "subtitle2", children: n }) }),
771
+ /* @__PURE__ */ t(c, { sx: { alignItems: "flex-start" }, children: /* @__PURE__ */ t(
772
772
  Y,
773
773
  {
774
774
  onClick: o,
@@ -792,19 +792,19 @@ const Et = ({ transaction: t, onClick: n }) => {
792
792
  )
793
793
  ] });
794
794
  export {
795
- Ut as B,
796
- Se as C,
797
- Le as E,
798
- Rt as S,
799
- Nt as T,
800
- Mt as a,
801
- Ie as b,
802
- Te as c,
803
- De as d,
804
- Ht as e,
805
- kt as f,
806
- Bt as h,
807
- ve as p,
795
+ Ue as B,
796
+ Tt as C,
797
+ Dt as E,
798
+ Re as S,
799
+ Ne as T,
800
+ Me as a,
801
+ St as b,
802
+ Ct as c,
803
+ vt as d,
804
+ He as e,
805
+ ke as f,
806
+ Be as h,
807
+ wt as p,
808
808
  G as s,
809
809
  V as u
810
810
  };