@mx-cartographer/experiences 8.2.3 → 8.2.4-alpha-ram1-bug-testing

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 (77) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist/{AccountDetailsHeader-CfdnKyJK.mjs → AccountDetailsHeader-DIysk_4w.mjs} +1 -1
  3. package/dist/{AccountFields-CAy0x_4i.mjs → AccountFields-mwJ8NXsX.mjs} +18 -18
  4. package/dist/{AccountListItem-BYyeeCf6.mjs → AccountListItem-BDXHs4tV.mjs} +7 -8
  5. package/dist/{CategorySelectorDrawer-Cu1ohxeM.mjs → CategorySelectorDrawer-CmaDLhnf.mjs} +71 -68
  6. package/dist/{ConnectCard-Dix8BoV_.mjs → ConnectCard-CCep7Zqe.mjs} +9 -9
  7. package/dist/{ConnectDrawer-DgfsTpyW.mjs → ConnectDrawer-Cnjr3Ddg.mjs} +2 -2
  8. package/dist/{ConnectionsDrawer-D7IXAza2.mjs → ConnectionsDrawer-CtfPXk0M.mjs} +1 -1
  9. package/dist/{CurrencyDialog-d4dL7vA5.mjs → CurrencyDialog-DumQCTPO.mjs} +18 -16
  10. package/dist/{CurrencyInput-B59ugxPN.mjs → CurrencyInput-adTIRtL3.mjs} +28 -26
  11. package/dist/{Dialog-iLlBR8TG.mjs → Dialog-CwWc0AbH.mjs} +11 -11
  12. package/dist/{Drawer-XPaLYjiO.mjs → Drawer-BXqqBMxg.mjs} +26 -28
  13. package/dist/{EmbeddedCard-BNl3quCs.mjs → EmbeddedCard-DPwJjqMH.mjs} +37 -37
  14. package/dist/{EmptyState-DHAkGsjk.mjs → EmptyState-CJUDc3kD.mjs} +17 -17
  15. package/dist/{ExportCsvAction-hDprC41l.mjs → ExportCsvAction-Bw02ZJEj.mjs} +2 -2
  16. package/dist/{GlobalAccountFilter-DrhtwPqh.mjs → GlobalAccountFilter-7Cg2-9A5.mjs} +25 -25
  17. package/dist/{Help-BSQm9o29.mjs → Help-DJ8PrVHX.mjs} +56 -73
  18. package/dist/{ListItemAction-DGjHxNDJ.mjs → ListItemAction-CwspSmQi.mjs} +22 -22
  19. package/dist/{ManageIncome-DwylSiWs.mjs → ManageIncome-B1JfqslT.mjs} +6 -6
  20. package/dist/{NotificationSettings-CCg-Tml2.mjs → NotificationSettings-6p-h5phZ.mjs} +48 -48
  21. package/dist/{OriginalBalanceAction-CvDx0K6k.mjs → OriginalBalanceAction-CkJPnp2c.mjs} +2 -2
  22. package/dist/{RecurringSettings-CPXLW6AR.mjs → RecurringSettings-cm6MK_aS.mjs} +1 -1
  23. package/dist/{ResponsiveButton-BNsV08Ud.mjs → ResponsiveButton-CC9F_Ezk.mjs} +1 -1
  24. package/dist/SearchBox-Cpgu_gdO.mjs +50 -0
  25. package/dist/Select-BFt-HD-L.mjs +55 -0
  26. package/dist/{SelectionBox-Bx2a5rh4.mjs → SelectionBox-B4xELRgp.mjs} +1 -1
  27. package/dist/{SingleSegmentDonut-PsRQPkmV.mjs → SingleSegmentDonut-7Uy6VEld.mjs} +1 -1
  28. package/dist/{SpendingLegend-BmkEr9Nh.mjs → SpendingLegend-5Ct_FZ8o.mjs} +1 -1
  29. package/dist/{ToggleListItem-BLu_fWA2.mjs → ToggleListItem-Dl1lXNwj.mjs} +29 -28
  30. package/dist/{TransactionDetails-CbBSxdOi.mjs → TransactionDetails-C3dlAzYf.mjs} +386 -393
  31. package/dist/{ViewMoreMicroCard-D_LoKlJU.mjs → ViewMoreMicroCard-BD_MNc2z.mjs} +526 -518
  32. package/dist/{WidgetContainer-CYcmwsSu.mjs → WidgetContainer-DNuz_s7W.mjs} +5 -5
  33. package/dist/accounts/index.es.js +199 -194
  34. package/dist/analytics/index.es.js +1 -1
  35. package/dist/budgets/index.es.js +183 -184
  36. package/dist/cashflow/index.es.js +70 -80
  37. package/dist/categories/index.es.js +1 -1
  38. package/dist/common/components/ErrorBoundary.d.ts +1 -1
  39. package/dist/common/components/WidgetContainer.d.ts +1 -1
  40. package/dist/common/components/charts/stackedlinechart/CustomAreaTooltip.d.ts +1 -1
  41. package/dist/common/hooks/usePrevious.d.ts +1 -1
  42. package/dist/common/index.es.js +206 -194
  43. package/dist/common/utils/Theme.d.ts +6 -5
  44. package/dist/common/utils/index.d.ts +1 -1
  45. package/dist/dashboard/index.es.js +47 -47
  46. package/dist/debts/index.es.js +140 -140
  47. package/dist/finstrong/index.es.js +40 -32
  48. package/dist/finstrong/util/finstrongUtils.d.ts +1 -1
  49. package/dist/goals/index.es.js +154 -165
  50. package/dist/help/index.es.js +2 -2
  51. package/dist/insights/components/insights/UserFeedback/Types.d.ts +1 -1
  52. package/dist/insights/components/shared/DirectDeposit/DirectDepositSubHeader.d.ts +3 -3
  53. package/dist/insights/hooks/useContainerDimensions.d.ts +1 -1
  54. package/dist/insights/index.es.js +677 -687
  55. package/dist/insights/themes/Typography.d.ts +0 -2
  56. package/dist/investments/index.es.js +205 -207
  57. package/dist/merchants/index.es.js +1 -1
  58. package/dist/microinsights/cards/InsightCard.d.ts +2 -2
  59. package/dist/microinsights/cards/NoRelevantInsightsCard.d.ts +3 -5
  60. package/dist/microinsights/cards/ViewMoreMicroCard.d.ts +3 -5
  61. package/dist/microinsights/cards/ZeroStateCard.d.ts +3 -5
  62. package/dist/microinsights/carousel/BeatList.d.ts +2 -2
  63. package/dist/microinsights/carousel/MicroBeatCarousel.d.ts +12 -1
  64. package/dist/microinsights/index.es.js +1 -1
  65. package/dist/microinsights/interfaces.d.ts +11 -5
  66. package/dist/networth/index.es.js +85 -87
  67. package/dist/notifications/index.es.js +7 -8
  68. package/dist/recurringtransactions/index.es.js +53 -53
  69. package/dist/settings/index.es.js +111 -111
  70. package/dist/spending/index.es.js +7 -7
  71. package/dist/transactions/components/shared/TransactionList.d.ts +2 -2
  72. package/dist/transactions/index.es.js +138 -140
  73. package/dist/trends/index.es.js +293 -292
  74. package/dist/{useScreenSize-CeFhWTt_.mjs → useScreenSize-mWpmnh5w.mjs} +1 -1
  75. package/package.json +29 -23
  76. package/dist/SearchBox-CwDgvWVJ.mjs +0 -48
  77. package/dist/Select-BZRUpOib.mjs +0 -51
@@ -1,51 +1,50 @@
1
- import { jsxs as o, jsx as e, Fragment as ae } from "react/jsx-runtime";
1
+ import { jsxs as i, jsx as e, Fragment as le } from "react/jsx-runtime";
2
2
  import T, { useState as O } from "react";
3
3
  import { observer as $ } from "mobx-react-lite";
4
4
  import _ from "@mui/material/Stack";
5
5
  import Fe from "@mui/material/Tab";
6
6
  import Ee from "@mui/material/Tabs";
7
- import { C as pe } from "../ConnectionsDrawer-D7IXAza2.mjs";
7
+ import { C as pe } from "../ConnectionsDrawer-CtfPXk0M.mjs";
8
8
  import xe from "@mui/material/useMediaQuery";
9
9
  import Ne from "@mui/material/Box";
10
10
  import Me from "@mui/material/Collapse";
11
11
  import Y from "@mui/material/Divider";
12
- import te from "@mui/material/List";
13
- import ne from "@mui/material/ListItem";
12
+ import ne from "@mui/material/List";
13
+ import ie from "@mui/material/ListItem";
14
14
  import Ge from "@mui/material/ListItemButton";
15
15
  import ye from "@mui/material/ToggleButton";
16
16
  import fe from "@mui/material/ToggleButtonGroup";
17
- import { Text as i, P as X, InstitutionLogo as oe } from "@mxenabled/mxui";
17
+ import { Text as o, P as X, InstitutionLogo as oe } from "@mxenabled/mxui";
18
18
  import Ue from "@mui/material/Button";
19
- import { u as N, g as ve, v as U, b as J, d as le } from "../hooks-BaO_gOI6.mjs";
19
+ import { u as N, g as ve, v as U, b as J, d as ce } from "../hooks-BaO_gOI6.mjs";
20
20
  import { A as z } from "../Analytics-CzGzz_sE.mjs";
21
- import { f as ie, a as je } from "../NumberFormatting--XMeeBfr.mjs";
22
- import { u as j } from "../useScreenSize-CeFhWTt_.mjs";
23
- import ce from "@mui/material/styles/useTheme";
21
+ import { f as re, a as je } from "../NumberFormatting--XMeeBfr.mjs";
22
+ import { u as j } from "../useScreenSize-mWpmnh5w.mjs";
23
+ import { useTheme as Z } from "@mui/material/styles";
24
24
  import { Icon as B } from "@mxenabled/mx-icons";
25
25
  import { D as He } from "../Donut-SzzfZDHF.mjs";
26
- import { useTheme as ze } from "@mui/material/styles";
27
- import { f as Oe, A as V } from "../InvestmentUtil-BItV7uEs.mjs";
28
- import Ve from "@mui/material/ListItemText";
26
+ import { f as ze, A as V } from "../InvestmentUtil-BItV7uEs.mjs";
27
+ import Oe from "@mui/material/ListItemText";
29
28
  import de from "@mui/material/IconButton";
30
- import Re from "@mui/material/Tooltip";
29
+ import Ve from "@mui/material/Tooltip";
31
30
  import be from "@mui/material/Accordion";
32
31
  import _e from "@mui/material/AccordionDetails";
33
32
  import we from "@mui/material/AccordionSummary";
34
- import re from "@mui/material/Paper";
33
+ import se from "@mui/material/Paper";
35
34
  import p from "@mui/system/Stack";
36
35
  import Ce from "@mui/material/TextField";
37
- import { D as $e } from "../Drawer-XPaLYjiO.mjs";
38
- import { DataGridPro as Pe } from "@mui/x-data-grid-pro";
39
- import { Stack as qe } from "@mui/material";
36
+ import { D as Re } from "../Drawer-BXqqBMxg.mjs";
37
+ import { DataGridPro as $e } from "@mui/x-data-grid-pro";
38
+ import { Stack as Pe } from "@mui/material";
40
39
  import { L as De } from "../Loader-CxeBwuPG.mjs";
41
- import { u as Ke } from "../useWidgetLoadTimer-CJb-RELP.mjs";
42
- import { W as Ye } from "../WidgetContainer-CYcmwsSu.mjs";
43
- import { A as Qe } from "../Account-BaJmiJAG.mjs";
44
- import { E as Je } from "../EmptyState-DHAkGsjk.mjs";
40
+ import { u as qe } from "../useWidgetLoadTimer-CJb-RELP.mjs";
41
+ import { W as Ke } from "../WidgetContainer-DNuz_s7W.mjs";
42
+ import { A as Ye } from "../Account-BaJmiJAG.mjs";
43
+ import { E as Qe } from "../EmptyState-CJUDc3kD.mjs";
45
44
  const me = ({ sx: t = {} }) => {
46
45
  const { investments: u } = N(), { onEvent: c } = ve(), { setShowConnectionsWidget: m } = U();
47
- return /* @__PURE__ */ o(_, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...t }, children: [
48
- /* @__PURE__ */ o(
46
+ return /* @__PURE__ */ i(_, { sx: { alignItems: "center", gap: 24, height: 164, p: 24, width: "100%", ...t }, children: [
47
+ /* @__PURE__ */ i(
49
48
  _,
50
49
  {
51
50
  className: "inner-container",
@@ -56,13 +55,12 @@ const me = ({ sx: t = {} }) => {
56
55
  textAlign: "center"
57
56
  },
58
57
  children: [
59
- /* @__PURE__ */ e(i, { sx: { fontWeight: 600, whiteSpace: "normal" }, variant: "body1", children: u.overview.investment_accounts_footer }),
58
+ /* @__PURE__ */ e(o, { sx: { fontWeight: 600 }, variant: "body1", children: u.overview.investment_accounts_footer }),
60
59
  /* @__PURE__ */ e(
61
- i,
60
+ o,
62
61
  {
63
62
  sx: {
64
63
  color: "text.secondary",
65
- whiteSpace: "normal",
66
64
  fontWeight: 400
67
65
  },
68
66
  variant: "subtitle2",
@@ -84,7 +82,7 @@ const me = ({ sx: t = {} }) => {
84
82
  }
85
83
  )
86
84
  ] });
87
- }, Xe = {
85
+ }, Je = {
88
86
  allocations_cash: "#AEDCCC",
89
87
  allocations_convertible: "#80CAD0",
90
88
  allocations_foreign_bond: "#51B9D4",
@@ -94,7 +92,7 @@ const me = ({ sx: t = {} }) => {
94
92
  allocations_unknown: "#161D6A",
95
93
  allocations_us_bond: "#254995",
96
94
  allocations_us_stock: "#1E2D84"
97
- }, Ze = [
95
+ }, Xe = [
98
96
  {
99
97
  name: "allocations_cash"
100
98
  },
@@ -122,10 +120,10 @@ const me = ({ sx: t = {} }) => {
122
120
  {
123
121
  name: "allocations_unknown"
124
122
  }
125
- ], et = (t, u, c) => {
123
+ ], Ze = (t, u, c) => {
126
124
  const m = u, f = c;
127
125
  return t >= Math.min(m, f) && t < Math.max(m, f);
128
- }, tt = (t, u, c) => {
126
+ }, et = (t, u, c) => {
129
127
  const m = [
130
128
  ...new Set(t.map((d) => d.name.toLowerCase()))
131
129
  ];
@@ -142,7 +140,7 @@ const me = ({ sx: t = {} }) => {
142
140
  percentage: l / c
143
141
  };
144
142
  });
145
- }, Q = (t) => t.calculated_market_value ? t.calculated_market_value : t.market_value, nt = (t, u, c) => {
143
+ }, Q = (t) => t.calculated_market_value ? t.calculated_market_value : t.market_value, tt = (t, u, c) => {
146
144
  const m = Object.values(u.allocations_list), f = [];
147
145
  let v = 0;
148
146
  const d = t.map(({ guid: n }) => n), l = c.filter(({ account_guid: n }) => d.includes(n)).map((n) => ({
@@ -162,7 +160,7 @@ const me = ({ sx: t = {} }) => {
162
160
  }),
163
161
  { marketValue: 0, totalGainLoss: 0 }
164
162
  ), y = b + x;
165
- Ze.forEach((n, g) => {
163
+ Xe.forEach((n, g) => {
166
164
  const C = l.filter(
167
165
  (W) => !!W[n.name]
168
166
  );
@@ -170,7 +168,7 @@ const me = ({ sx: t = {} }) => {
170
168
  (W, A) => W + Q(A) * A[n.name] / 100,
171
169
  0
172
170
  );
173
- const k = tt(
171
+ const k = et(
174
172
  C,
175
173
  n.name,
176
174
  D
@@ -192,7 +190,7 @@ const me = ({ sx: t = {} }) => {
192
190
  holdings: k,
193
191
  percentage: D / y,
194
192
  value: D,
195
- color: Xe[n.name]
193
+ color: Je[n.name]
196
194
  }), v += D);
197
195
  });
198
196
  const r = f.map(
@@ -211,7 +209,7 @@ const me = ({ sx: t = {} }) => {
211
209
  totalMarketValue: y,
212
210
  totalGainLossPercentage: s / h
213
211
  };
214
- }, se = (t) => t < 1e-3 ? "< 0.1%" : je(t), R = (t) => t === 0 ? ie(t, "0,0.00") : et(t, -0.01, 0.01) ? "< $0.01" : ie(t, "0,0.00"), ot = ({
212
+ }, ae = (t) => t < 1e-3 ? "< 0.1%" : je(t), R = (t) => t === 0 ? re(t, "0,0.00") : Ze(t, -0.01, 0.01) ? "< $0.01" : re(t, "0,0.00"), nt = ({
215
213
  data: t,
216
214
  onSelected: u,
217
215
  selectedId: c,
@@ -226,7 +224,7 @@ const me = ({ sx: t = {} }) => {
226
224
  { label: l.tabs_label_dollar, value: 0 },
227
225
  { label: l.tabs_label_percent, value: 1 }
228
226
  ], h = !t?.investmentsData.length, { isSmallMobile: b } = j();
229
- return /* @__PURE__ */ o(_, { sx: { mt: 15, gap: 12, width: d ? 250 : 412 }, children: [
227
+ return /* @__PURE__ */ i(_, { sx: { mt: 15, gap: 12, width: d ? 250 : 412 }, children: [
230
228
  /* @__PURE__ */ e(
231
229
  fe,
232
230
  {
@@ -234,19 +232,19 @@ const me = ({ sx: t = {} }) => {
234
232
  fullWidth: !0,
235
233
  onChange: v,
236
234
  value: h ? -1 : m,
237
- children: x.map(({ label: s, value: y }) => /* @__PURE__ */ e(ye, { color: "primary", value: y, children: /* @__PURE__ */ e(i, { bold: !0, textTransform: "capitalize", variant: "body1", children: s }) }, s))
235
+ children: x.map(({ label: s, value: y }) => /* @__PURE__ */ e(ye, { color: "primary", value: y, children: /* @__PURE__ */ e(o, { bold: !0, textTransform: "capitalize", variant: "body1", children: s }) }, s))
238
236
  }
239
237
  ),
240
- /* @__PURE__ */ e(te, { sx: { px: 12 }, children: t.investmentsData.map((s) => /* @__PURE__ */ o(T.Fragment, { children: [
238
+ /* @__PURE__ */ e(ne, { sx: { px: 12 }, children: t.investmentsData.map((s) => /* @__PURE__ */ i(T.Fragment, { children: [
241
239
  /* @__PURE__ */ e(
242
- ne,
240
+ ie,
243
241
  {
244
242
  disableGutters: !0,
245
243
  disablePadding: !0,
246
244
  sx: {
247
245
  minHeight: 44
248
246
  },
249
- children: /* @__PURE__ */ o(
247
+ children: /* @__PURE__ */ i(
250
248
  Ge,
251
249
  {
252
250
  "aria-expanded": c === s.guid,
@@ -263,7 +261,7 @@ const me = ({ sx: t = {} }) => {
263
261
  width: 8
264
262
  }
265
263
  ),
266
- /* @__PURE__ */ o(
264
+ /* @__PURE__ */ i(
267
265
  _,
268
266
  {
269
267
  alignItems: "center",
@@ -271,8 +269,8 @@ const me = ({ sx: t = {} }) => {
271
269
  justifyContent: "space-between",
272
270
  width: "100%",
273
271
  children: [
274
- /* @__PURE__ */ e(i, { bold: c === s.guid, children: s.displayName }),
275
- /* @__PURE__ */ e(i, { bold: c === s.guid, variant: "body1", children: m === 0 ? R(s.value) : se(s.percentage) })
272
+ /* @__PURE__ */ e(o, { bold: c === s.guid, children: s.displayName }),
273
+ /* @__PURE__ */ e(o, { bold: c === s.guid, variant: "body1", children: m === 0 ? R(s.value) : ae(s.percentage) })
276
274
  ]
277
275
  }
278
276
  )
@@ -282,21 +280,21 @@ const me = ({ sx: t = {} }) => {
282
280
  }
283
281
  ),
284
282
  /* @__PURE__ */ e(Y, {}),
285
- s.holdings && s.holdings.length > 0 && /* @__PURE__ */ e(Me, { in: c === s.guid, unmountOnExit: !0, children: /* @__PURE__ */ o(te, { children: [
283
+ s.holdings && s.holdings.length > 0 && /* @__PURE__ */ e(Me, { in: c === s.guid, unmountOnExit: !0, children: /* @__PURE__ */ i(ne, { children: [
286
284
  s?.holdings?.map((y) => /* @__PURE__ */ e(
287
- ne,
285
+ ie,
288
286
  {
289
287
  sx: {
290
288
  pl: 24,
291
289
  pr: 8,
292
290
  py: 0
293
291
  },
294
- children: /* @__PURE__ */ o(_, { direction: "row", justifyContent: "space-between", width: "100%", children: [
295
- /* @__PURE__ */ o(i, { children: [
292
+ children: /* @__PURE__ */ i(_, { direction: "row", justifyContent: "space-between", width: "100%", children: [
293
+ /* @__PURE__ */ i(o, { children: [
296
294
  y.displayName,
297
295
  " "
298
296
  ] }),
299
- /* @__PURE__ */ e(i, { children: m === 0 ? R(y.value) : se(y.percentage) })
297
+ /* @__PURE__ */ e(o, { children: m === 0 ? R(y.value) : ae(y.percentage) })
300
298
  ] })
301
299
  },
302
300
  y.displayName
@@ -304,8 +302,8 @@ const me = ({ sx: t = {} }) => {
304
302
  /* @__PURE__ */ e(Y, {})
305
303
  ] }) })
306
304
  ] }, s.guid)) }),
307
- h ? /* @__PURE__ */ o(ae, { children: [
308
- /* @__PURE__ */ e(i, { sx: { color: "secondary.main", p: 8, textAlign: "center" }, children: l.empty_data }),
305
+ h ? /* @__PURE__ */ i(le, { children: [
306
+ /* @__PURE__ */ e(o, { sx: { color: "secondary.main", p: 8, textAlign: "center" }, children: l.empty_data }),
309
307
  /* @__PURE__ */ e(Y, {}),
310
308
  /* @__PURE__ */ e(
311
309
  me,
@@ -315,7 +313,7 @@ const me = ({ sx: t = {} }) => {
315
313
  }
316
314
  }
317
315
  )
318
- ] }) : m === 0 && /* @__PURE__ */ e(i, { bold: !0, sx: { textAlign: "right", pr: 24 }, children: `${l.total_label_text} ${R(t.totalAmount)}` })
316
+ ] }) : m === 0 && /* @__PURE__ */ e(o, { bold: !0, sx: { textAlign: "right", pr: 24 }, children: `${l.total_label_text} ${R(t.totalAmount)}` })
319
317
  ] });
320
318
  }, it = ({
321
319
  data: t,
@@ -328,12 +326,12 @@ const me = ({ sx: t = {} }) => {
328
326
  size: l = 150,
329
327
  totalLabel: x
330
328
  }) => {
331
- const h = ce(), b = h.palette.mode === "dark", s = T.useMemo(
329
+ const h = Z(), b = h.palette.mode === "dark", s = T.useMemo(
332
330
  () => d ? t.investmentsData.find(({ guid: k }) => k === d) : void 0,
333
331
  [d]
334
332
  ), {
335
333
  investments: { allocation: y }
336
- } = N(), r = T.useMemo(() => t.donutData.length > 0 ? t.donutData : [{ id: "0", color: h.palette.neutral.light, value: 100 }], [t, h]), n = b ? "#0AC295" : "#09A57F", g = b ? "grey.300" : "grey.700", C = () => s ? y.pie_chart_centered_click_for_details : c ? se(t.totalGainLossPercentage) : R(t.totalGainLoss), D = t.totalGainLoss >= 0 ? n : g;
334
+ } = N(), r = T.useMemo(() => t.donutData.length > 0 ? t.donutData : [{ id: "0", color: h.palette.neutral.light, value: 100 }], [t, h]), n = b ? "#0AC295" : "#09A57F", g = b ? "grey.300" : "grey.700", C = () => s ? y.pie_chart_centered_click_for_details : c ? ae(t.totalGainLossPercentage) : R(t.totalGainLoss), D = t.totalGainLoss >= 0 ? n : g;
337
335
  return /* @__PURE__ */ e(
338
336
  He,
339
337
  {
@@ -344,10 +342,10 @@ const me = ({ sx: t = {} }) => {
344
342
  onMouseLeave: f,
345
343
  selectedId: d,
346
344
  size: l,
347
- children: /* @__PURE__ */ e(_, { alignItems: "center", height: "100%", justifyContent: "center", width: "100%", children: /* @__PURE__ */ e(_, { alignItems: "center", justifyContent: "center", minHeight: l, minWidth: l, children: /* @__PURE__ */ o(_, { alignItems: "center", sx: { gap: { xs: 4, xl: 8 }, mb: { xs: 4, xl: 8 } }, children: [
348
- /* @__PURE__ */ e(i, { color: "text.secondary", noWrap: !0, children: s?.displayName ?? x }),
345
+ children: /* @__PURE__ */ e(_, { alignItems: "center", height: "100%", justifyContent: "center", width: "100%", children: /* @__PURE__ */ e(_, { alignItems: "center", justifyContent: "center", minHeight: l, minWidth: l, children: /* @__PURE__ */ i(_, { alignItems: "center", sx: { gap: { xs: 4, xl: 8 }, mb: { xs: 4, xl: 8 } }, children: [
346
+ /* @__PURE__ */ e(o, { color: "text.secondary", noWrap: !0, children: s?.displayName ?? x }),
349
347
  /* @__PURE__ */ e(X, { color: "text.primary", variant: "h1", children: R(s?.value ?? t.totalMarketValue) }),
350
- /* @__PURE__ */ o(_, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
348
+ /* @__PURE__ */ i(_, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
351
349
  !s && /* @__PURE__ */ e(
352
350
  B,
353
351
  {
@@ -357,7 +355,7 @@ const me = ({ sx: t = {} }) => {
357
355
  }
358
356
  ),
359
357
  /* @__PURE__ */ e(
360
- i,
358
+ o,
361
359
  {
362
360
  sx: {
363
361
  color: D,
@@ -371,17 +369,17 @@ const me = ({ sx: t = {} }) => {
371
369
  ] }) }) })
372
370
  }
373
371
  );
374
- }, rt = () => {
372
+ }, ot = () => {
375
373
  const [t, u] = T.useState(0), [c, m] = T.useState(""), [f, v] = T.useState(""), d = (n) => {
376
374
  c !== n ? m(n) : (m(""), v(""));
377
- }, { selectedAccountGuids: l } = J(), { visibleHoldings: x } = U(), { visibleInvestmentAccounts: h } = le(), {
375
+ }, { selectedAccountGuids: l } = J(), { visibleHoldings: x } = U(), { visibleInvestmentAccounts: h } = ce(), {
378
376
  investments: { allocation: b }
379
- } = N(), s = nt(
377
+ } = N(), s = tt(
380
378
  h.filter(({ guid: n }) => l.includes(n)),
381
379
  b,
382
380
  x
383
381
  ), { isMobile: y } = j(), r = xe("(max-width:768px)");
384
- return /* @__PURE__ */ o(
382
+ return /* @__PURE__ */ i(
385
383
  _,
386
384
  {
387
385
  alignItems: r ? "center" : "flex-start",
@@ -412,7 +410,7 @@ const me = ({ sx: t = {} }) => {
412
410
  }
413
411
  ),
414
412
  /* @__PURE__ */ e(
415
- ot,
413
+ nt,
416
414
  {
417
415
  data: s,
418
416
  onSelected: d,
@@ -424,7 +422,7 @@ const me = ({ sx: t = {} }) => {
424
422
  ]
425
423
  }
426
424
  );
427
- }, st = $(rt), at = ({
425
+ }, rt = $(ot), st = ({
428
426
  analysisDetails: t,
429
427
  analysisType: u,
430
428
  copy: c,
@@ -432,13 +430,13 @@ const me = ({ sx: t = {} }) => {
432
430
  }) => {
433
431
  const { isSmallMobile: f } = j(), v = T.useMemo(() => Object.keys(t).filter((l) => t[l] >= 1).map((l) => ({
434
432
  key: l,
435
- value: ie(t[l], "0,0"),
436
- formattedKey: Oe(l)
433
+ value: re(t[l], "0,0"),
434
+ formattedKey: ze(l)
437
435
  })), [t]), d = [
438
436
  { label: c.equities, value: V.Stocks },
439
437
  { label: c.bonds, value: V.Bonds }
440
438
  ];
441
- return /* @__PURE__ */ o(_, { sx: { gap: 12, width: { md: 412 } }, children: [
439
+ return /* @__PURE__ */ i(_, { sx: { gap: 12, width: { md: 412 } }, children: [
442
440
  /* @__PURE__ */ e(
443
441
  fe,
444
442
  {
@@ -458,23 +456,23 @@ const me = ({ sx: t = {} }) => {
458
456
  }
459
457
  ),
460
458
  v.length ? /* @__PURE__ */ e(
461
- te,
459
+ ne,
462
460
  {
463
461
  sx: {
464
462
  "& .MuiListItemSecondaryAction-root": { pr: 12 },
465
463
  "& .MuiListItem-divider": { borderColor: "neutral.light" },
466
464
  "& .MuiListItem-root": { minHeight: 44, px: 12 }
467
465
  },
468
- children: v.map(({ value: l, formattedKey: x }) => /* @__PURE__ */ e(ne, { divider: !0, secondaryAction: /* @__PURE__ */ e(i, { children: l }), children: /* @__PURE__ */ e(
469
- Ve,
466
+ children: v.map(({ value: l, formattedKey: x }) => /* @__PURE__ */ e(ie, { divider: !0, secondaryAction: /* @__PURE__ */ e(o, { children: l }), children: /* @__PURE__ */ e(
467
+ Oe,
470
468
  {
471
469
  primary: x,
472
- primaryTypographyProps: { fontStyle: "normal" }
470
+ slotProps: { primary: { fontStyle: "normal" } }
473
471
  }
474
472
  ) }, x))
475
473
  }
476
- ) : /* @__PURE__ */ o(ae, { children: [
477
- /* @__PURE__ */ e(i, { sx: { color: "secondary.main", p: 8, textAlign: "center" }, children: c.empty_data }),
474
+ ) : /* @__PURE__ */ i(le, { children: [
475
+ /* @__PURE__ */ e(o, { sx: { color: "secondary.main", p: 8, textAlign: "center" }, children: c.empty_data }),
478
476
  /* @__PURE__ */ e(Y, { sx: { borderColor: "neutral.light" } }),
479
477
  /* @__PURE__ */ e(
480
478
  me,
@@ -486,29 +484,29 @@ const me = ({ sx: t = {} }) => {
486
484
  )
487
485
  ] })
488
486
  ] });
489
- }, lt = ({ body: t, title: u }) => /* @__PURE__ */ o(_, { sx: { gap: 4, p: 12 }, children: [
490
- /* @__PURE__ */ e(i, { bold: !0, variant: "body1", children: u }),
487
+ }, at = ({ body: t, title: u }) => /* @__PURE__ */ i(_, { sx: { gap: 4, p: 12 }, children: [
488
+ /* @__PURE__ */ e(o, { bold: !0, variant: "body1", children: u }),
491
489
  /* @__PURE__ */ e(X, { variant: "subtitle2", children: t })
492
- ] }), ct = ({
490
+ ] }), lt = ({
493
491
  placement: t = "bottom",
494
492
  tooltip_info_body: u,
495
493
  tooltip_info_title: c
496
494
  }) => /* @__PURE__ */ e(
497
- Re,
495
+ Ve,
498
496
  {
499
497
  enterTouchDelay: 500,
500
498
  placement: t,
501
- title: /* @__PURE__ */ e(lt, { body: u, title: c }),
499
+ title: /* @__PURE__ */ e(at, { body: u, title: c }),
502
500
  children: /* @__PURE__ */ e(de, { "aria-label": c, sx: { minHeight: 0, minWidth: 0, p: 0 }, children: /* @__PURE__ */ e(B, { name: "info", sx: { color: "info.main" } }) })
503
501
  }
504
- ), dt = () => {
502
+ ), ct = () => {
505
503
  const {
506
504
  investments: { analysis: t }
507
- } = N(), { analysisChartData: u, analysisDetails: c, analysisType: m, setAnalysisType: f } = U(), v = xe("(min-width:320px) and (max-width:375px)"), { isMobile: d } = j(), x = ze().palette.mode === "dark", { cellDimension: h, columns: b, rows: s, textVariant: y } = T.useMemo(() => {
505
+ } = N(), { analysisChartData: u, analysisDetails: c, analysisType: m, setAnalysisType: f } = U(), v = xe("(min-width:320px) and (max-width:375px)"), { isMobile: d } = j(), x = Z().palette.mode === "dark", { cellDimension: h, columns: b, rows: s, textVariant: y } = T.useMemo(() => {
508
506
  const r = m === V.Stocks, n = Object.values(r ? t.stock_column_labels : t.bond_column_labels), g = Object.values(r ? t.stock_row_labels : t.bond_row_labels);
509
507
  return { cellDimension: d ? 72 : 100, columns: n, rows: g, textVariant: d ? "caption" : "body1" };
510
508
  }, [t, d, m]);
511
- return /* @__PURE__ */ o(
509
+ return /* @__PURE__ */ i(
512
510
  _,
513
511
  {
514
512
  sx: {
@@ -519,7 +517,7 @@ const me = ({ sx: t = {} }) => {
519
517
  px: 16
520
518
  },
521
519
  children: [
522
- /* @__PURE__ */ o(
520
+ /* @__PURE__ */ i(
523
521
  _,
524
522
  {
525
523
  sx: {
@@ -529,7 +527,7 @@ const me = ({ sx: t = {} }) => {
529
527
  pr: { lg: 72 }
530
528
  },
531
529
  children: [
532
- /* @__PURE__ */ o(
530
+ /* @__PURE__ */ i(
533
531
  _,
534
532
  {
535
533
  sx: {
@@ -551,7 +549,7 @@ const me = ({ sx: t = {} }) => {
551
549
  justifyContent: "space-around"
552
550
  },
553
551
  children: b.map((r) => /* @__PURE__ */ e(
554
- i,
552
+ o,
555
553
  {
556
554
  sx: {
557
555
  color: "secondary.main",
@@ -568,8 +566,8 @@ const me = ({ sx: t = {} }) => {
568
566
  ]
569
567
  }
570
568
  ),
571
- /* @__PURE__ */ o(_, { sx: { gap: 4 }, children: [
572
- /* @__PURE__ */ o(
569
+ /* @__PURE__ */ i(_, { sx: { gap: 4 }, children: [
570
+ /* @__PURE__ */ i(
573
571
  _,
574
572
  {
575
573
  sx: {
@@ -579,9 +577,9 @@ const me = ({ sx: t = {} }) => {
579
577
  pb: 12
580
578
  },
581
579
  children: [
582
- /* @__PURE__ */ e(i, { bold: !0, children: t.invest_analysis }),
580
+ /* @__PURE__ */ e(o, { bold: !0, children: t.invest_analysis }),
583
581
  /* @__PURE__ */ e(
584
- ct,
582
+ lt,
585
583
  {
586
584
  tooltip_info_body: t.tooltip_info_body,
587
585
  tooltip_info_title: t.tooltip_info_title
@@ -610,7 +608,7 @@ const me = ({ sx: t = {} }) => {
610
608
  width: h
611
609
  },
612
610
  children: /* @__PURE__ */ e(
613
- i,
611
+ o,
614
612
  {
615
613
  sx: {
616
614
  color: H,
@@ -624,9 +622,9 @@ const me = ({ sx: t = {} }) => {
624
622
  D
625
623
  );
626
624
  }) }, n)),
627
- /* @__PURE__ */ e(_, { sx: { alignSelf: "center", flexDirection: "row", pt: 12 }, children: s.map((r) => /* @__PURE__ */ e(_, { sx: { alignItems: "center", width: h }, children: /* @__PURE__ */ e(i, { color: "secondary.main", variant: y, children: r }) }, r)) }),
625
+ /* @__PURE__ */ e(_, { sx: { alignSelf: "center", flexDirection: "row", pt: 12 }, children: s.map((r) => /* @__PURE__ */ e(_, { sx: { alignItems: "center", width: h }, children: /* @__PURE__ */ e(o, { color: "secondary.main", variant: y, children: r }) }, r)) }),
628
626
  /* @__PURE__ */ e(
629
- i,
627
+ o,
630
628
  {
631
629
  bold: !0,
632
630
  sx: { color: "secondary.main", pt: d ? 4 : 24, textAlign: "center" },
@@ -639,7 +637,7 @@ const me = ({ sx: t = {} }) => {
639
637
  }
640
638
  ),
641
639
  /* @__PURE__ */ e(
642
- at,
640
+ st,
643
641
  {
644
642
  analysisDetails: c,
645
643
  analysisType: m,
@@ -654,7 +652,7 @@ const me = ({ sx: t = {} }) => {
654
652
  ]
655
653
  }
656
654
  );
657
- }, mt = $(dt), ut = ({
655
+ }, dt = $(ct), mt = ({
658
656
  accountHoldingsData: t,
659
657
  currentEditedCostBasis: u,
660
658
  editingHoldingId: c,
@@ -671,15 +669,15 @@ const me = ({ sx: t = {} }) => {
671
669
  [r]: g
672
670
  }));
673
671
  };
674
- return /* @__PURE__ */ o(
675
- $e,
672
+ return /* @__PURE__ */ i(
673
+ Re,
676
674
  {
677
675
  ariaLabelClose: h.overview.close_investment_drawer,
678
676
  isOpen: l,
679
677
  onClose: x,
680
678
  title: h.overview.investment_details,
681
679
  children: [
682
- /* @__PURE__ */ o(p, { sx: { gap: 8, p: 24 }, children: [
680
+ /* @__PURE__ */ i(p, { sx: { gap: 8, p: 24 }, children: [
683
681
  /* @__PURE__ */ e(
684
682
  oe,
685
683
  {
@@ -688,11 +686,11 @@ const me = ({ sx: t = {} }) => {
688
686
  size: 64
689
687
  }
690
688
  ),
691
- /* @__PURE__ */ e(i, { sx: { color: "text.primary" }, variant: "body2", children: t.accounts.memberName }),
692
- /* @__PURE__ */ e(i, { sx: { color: "text.primary" }, variant: "h2", children: t.accounts.user_name || t.accounts.name }),
693
- /* @__PURE__ */ o(p, { sx: { alignItems: "center", flexDirection: "row", justifyContent: "space-between" }, children: [
694
- /* @__PURE__ */ e(i, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: h.overview.current_balance }),
695
- /* @__PURE__ */ e(i, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: t.accounts.balance?.toLocaleString("en-US", {
689
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "body2", children: t.accounts.memberName }),
690
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "h2", children: t.accounts.user_name || t.accounts.name }),
691
+ /* @__PURE__ */ i(p, { sx: { alignItems: "center", flexDirection: "row", justifyContent: "space-between" }, children: [
692
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: h.overview.current_balance }),
693
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: t.accounts.balance?.toLocaleString("en-US", {
696
694
  currency: "USD",
697
695
  maximumFractionDigits: 2,
698
696
  minimumFractionDigits: 2,
@@ -700,7 +698,7 @@ const me = ({ sx: t = {} }) => {
700
698
  }) })
701
699
  ] })
702
700
  ] }),
703
- /* @__PURE__ */ o(
701
+ /* @__PURE__ */ i(
704
702
  p,
705
703
  {
706
704
  sx: {
@@ -711,14 +709,14 @@ const me = ({ sx: t = {} }) => {
711
709
  py: 10
712
710
  },
713
711
  children: [
714
- /* @__PURE__ */ e(i, { sx: { color: "text.primary", fontWeight: 700 }, variant: "caption", children: h.overview.holding }),
715
- /* @__PURE__ */ e(i, { sx: { color: "text.primary", fontWeight: 700 }, variant: "caption", children: h.overview.market_value })
712
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 700 }, variant: "caption", children: h.overview.holding }),
713
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 700 }, variant: "caption", children: h.overview.market_value })
716
714
  ]
717
715
  }
718
716
  ),
719
717
  t.holdings?.map((r, n) => {
720
718
  const g = c === r.id;
721
- return /* @__PURE__ */ o(
719
+ return /* @__PURE__ */ i(
722
720
  be,
723
721
  {
724
722
  disableGutters: !0,
@@ -742,9 +740,9 @@ const me = ({ sx: t = {} }) => {
742
740
  borderColor: "divider"
743
741
  }
744
742
  ],
745
- children: /* @__PURE__ */ o(p, { sx: { flexDirection: "row", width: "100%" }, children: [
743
+ children: /* @__PURE__ */ i(p, { sx: { flexDirection: "row", width: "100%" }, children: [
746
744
  /* @__PURE__ */ e("div", { style: { width: 24 } }),
747
- /* @__PURE__ */ o(
745
+ /* @__PURE__ */ i(
748
746
  p,
749
747
  {
750
748
  sx: [
@@ -770,13 +768,13 @@ const me = ({ sx: t = {} }) => {
770
768
  flexDirection: "row",
771
769
  gap: 12
772
770
  },
773
- children: /* @__PURE__ */ o(p, { sx: { overflow: "hidden", width: 98 }, children: [
774
- /* @__PURE__ */ e(i, { sx: { fontWeight: 600 }, variant: "body1", children: r.holding }),
775
- /* @__PURE__ */ e(i, { variant: "caption", children: r.description })
771
+ children: /* @__PURE__ */ i(p, { sx: { overflow: "hidden", width: 98 }, children: [
772
+ /* @__PURE__ */ e(o, { sx: { fontWeight: 600 }, variant: "body1", children: r.holding }),
773
+ /* @__PURE__ */ e(o, { variant: "caption", children: r.description })
776
774
  ] })
777
775
  }
778
776
  ),
779
- /* @__PURE__ */ o(
777
+ /* @__PURE__ */ i(
780
778
  p,
781
779
  {
782
780
  sx: {
@@ -787,14 +785,14 @@ const me = ({ sx: t = {} }) => {
787
785
  justifyContent: "flex-end"
788
786
  },
789
787
  children: [
790
- /* @__PURE__ */ o(p, { children: [
791
- /* @__PURE__ */ e(i, { sx: { fontWeight: 600, textAlign: "right" }, variant: "body1", children: r.marketValue?.toLocaleString("en-US", {
788
+ /* @__PURE__ */ i(p, { children: [
789
+ /* @__PURE__ */ e(o, { sx: { fontWeight: 600, textAlign: "right" }, variant: "body1", children: r.marketValue?.toLocaleString("en-US", {
792
790
  currency: "USD",
793
791
  maximumFractionDigits: 2,
794
792
  minimumFractionDigits: 2,
795
793
  style: "currency"
796
794
  }) }),
797
- /* @__PURE__ */ o(p, { sx: { alignItems: "center", gap: 2, flexDirection: "row" }, children: [
795
+ /* @__PURE__ */ i(p, { sx: { alignItems: "center", gap: 2, flexDirection: "row" }, children: [
798
796
  r.totalGainLoss !== 0 && /* @__PURE__ */ e(
799
797
  B,
800
798
  {
@@ -808,7 +806,7 @@ const me = ({ sx: t = {} }) => {
808
806
  }
809
807
  ),
810
808
  /* @__PURE__ */ e(
811
- i,
809
+ o,
812
810
  {
813
811
  sx: {
814
812
  color: r.totalGainLoss <= 0 ? "grey.700" : "success.main",
@@ -818,9 +816,9 @@ const me = ({ sx: t = {} }) => {
818
816
  children: r.costBasis ? `${(r.totalGainLoss / r.costBasis * 100).toFixed(2)}%` : "0.00%"
819
817
  }
820
818
  ),
821
- /* @__PURE__ */ e(i, { sx: { color: "grey.700" }, variant: "caption", children: "|" }),
819
+ /* @__PURE__ */ e(o, { sx: { color: "grey.700" }, variant: "caption", children: "|" }),
822
820
  /* @__PURE__ */ e(
823
- i,
821
+ o,
824
822
  {
825
823
  sx: {
826
824
  color: r.totalGainLoss <= 0 ? "grey.700" : "success.main",
@@ -853,7 +851,7 @@ const me = ({ sx: t = {} }) => {
853
851
  ] })
854
852
  }
855
853
  ),
856
- /* @__PURE__ */ e(_e, { children: /* @__PURE__ */ o(
854
+ /* @__PURE__ */ e(_e, { children: /* @__PURE__ */ i(
857
855
  p,
858
856
  {
859
857
  sx: {
@@ -864,8 +862,8 @@ const me = ({ sx: t = {} }) => {
864
862
  },
865
863
  children: [
866
864
  /* @__PURE__ */ e(p, { sx: { width: 32 } }),
867
- /* @__PURE__ */ o(p, { sx: { flex: 1 }, children: [
868
- /* @__PURE__ */ o(
865
+ /* @__PURE__ */ i(p, { sx: { flex: 1 }, children: [
866
+ /* @__PURE__ */ i(
869
867
  p,
870
868
  {
871
869
  sx: {
@@ -878,12 +876,12 @@ const me = ({ sx: t = {} }) => {
878
876
  pr: 24
879
877
  },
880
878
  children: [
881
- /* @__PURE__ */ e(i, { sx: { color: "text.primary" }, variant: "body1", children: h.overview.quantity }),
882
- /* @__PURE__ */ e(i, { sx: { color: "text.primary" }, variant: "body2", children: r.qty })
879
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "body1", children: h.overview.quantity }),
880
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "body2", children: r.qty })
883
881
  ]
884
882
  }
885
883
  ),
886
- /* @__PURE__ */ o(
884
+ /* @__PURE__ */ i(
887
885
  p,
888
886
  {
889
887
  sx: {
@@ -894,8 +892,8 @@ const me = ({ sx: t = {} }) => {
894
892
  pr: 24
895
893
  },
896
894
  children: [
897
- /* @__PURE__ */ e(i, { sx: { color: "text.primary" }, variant: "body1", children: h.overview.cost_basis_header }),
898
- /* @__PURE__ */ o(
895
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary" }, variant: "body1", children: h.overview.cost_basis_header }),
896
+ /* @__PURE__ */ i(
899
897
  p,
900
898
  {
901
899
  direction: "row",
@@ -927,7 +925,7 @@ const me = ({ sx: t = {} }) => {
927
925
  },
928
926
  value: u
929
927
  }
930
- ) : /* @__PURE__ */ e(i, { sx: { fontSize: 14, width: 58 }, variant: "body2", children: r.costBasis?.toLocaleString("en-US", {
928
+ ) : /* @__PURE__ */ e(o, { sx: { fontSize: 14, width: 58 }, variant: "body2", children: r.costBasis?.toLocaleString("en-US", {
931
929
  currency: "USD",
932
930
  maximumFractionDigits: 2,
933
931
  minimumFractionDigits: 2,
@@ -959,10 +957,10 @@ const me = ({ sx: t = {} }) => {
959
957
  ]
960
958
  }
961
959
  );
962
- }, ht = $(ut), K = (t) => /* @__PURE__ */ o(qe, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
963
- /* @__PURE__ */ e(i, { sx: { color: "text.primary", fontWeight: 600, fontSize: 14 }, variant: "body2", children: t.colDef.headerName }),
960
+ }, ut = $(mt), K = (t) => /* @__PURE__ */ i(Pe, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
961
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600, fontSize: 14 }, variant: "body2", children: t.colDef.headerName }),
964
962
  /* @__PURE__ */ e(B, { name: "expand_all", size: 12 })
965
- ] }), gt = ({
963
+ ] }), ht = ({
966
964
  data: t,
967
965
  editingHoldingId: u,
968
966
  currentEditedCostBasis: c,
@@ -971,7 +969,7 @@ const me = ({ sx: t = {} }) => {
971
969
  handleCostBasisKeyDown: v,
972
970
  handleCostBasisBlur: d
973
971
  }) => {
974
- const { investments: l } = N(), h = ce().palette.mode === "dark", b = "success.main", s = h ? "grey.300" : "grey.700", y = (n, g = "lesserThan") => g === "greaterThan" ? n >= 0 ? b : s : n <= 0 ? s : b, r = [
972
+ const { investments: l } = N(), h = Z().palette.mode === "dark", b = "success.main", s = h ? "grey.300" : "grey.700", y = (n, g = "lesserThan") => g === "greaterThan" ? n >= 0 ? b : s : n <= 0 ? s : b, r = [
975
973
  {
976
974
  field: "qty",
977
975
  headerName: l.overview.qty_header,
@@ -985,9 +983,9 @@ const me = ({ sx: t = {} }) => {
985
983
  headerName: l.overview.holding_header,
986
984
  flex: 1,
987
985
  renderHeader: K,
988
- renderCell: (n) => /* @__PURE__ */ e(_, { sx: { alignItems: "center", gap: 16, flexDirection: "row" }, children: /* @__PURE__ */ o(_, { children: [
989
- /* @__PURE__ */ e(i, { sx: { fontWeight: 700 }, children: n.row.holding }),
990
- /* @__PURE__ */ e(i, { sx: { color: "text.secondary", fontWeight: 400 }, variant: "tiny", children: n.row.description })
986
+ renderCell: (n) => /* @__PURE__ */ e(_, { sx: { alignItems: "center", gap: 16, flexDirection: "row" }, children: /* @__PURE__ */ i(_, { children: [
987
+ /* @__PURE__ */ e(o, { sx: { fontWeight: 700 }, children: n.row.holding }),
988
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary", fontWeight: 400 }, variant: "tiny", children: n.row.description })
991
989
  ] }) })
992
990
  },
993
991
  {
@@ -997,7 +995,7 @@ const me = ({ sx: t = {} }) => {
997
995
  renderHeader: K,
998
996
  renderCell: (n) => {
999
997
  const g = u === n.row.id;
1000
- return /* @__PURE__ */ o(_, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
998
+ return /* @__PURE__ */ i(_, { sx: { alignItems: "center", flexDirection: "row", gap: 4 }, children: [
1001
999
  g ? /* @__PURE__ */ e(
1002
1000
  Ce,
1003
1001
  {
@@ -1021,7 +1019,7 @@ const me = ({ sx: t = {} }) => {
1021
1019
  },
1022
1020
  value: c
1023
1021
  }
1024
- ) : /* @__PURE__ */ e(i, { sx: { fontSize: 14, width: 57 }, variant: "body2", children: n.value?.toLocaleString("en-US", {
1022
+ ) : /* @__PURE__ */ e(o, { sx: { fontSize: 14, width: 57 }, variant: "body2", children: n.value?.toLocaleString("en-US", {
1025
1023
  currency: "USD",
1026
1024
  maximumFractionDigits: 2,
1027
1025
  minimumFractionDigits: 2,
@@ -1047,7 +1045,7 @@ const me = ({ sx: t = {} }) => {
1047
1045
  renderHeader: K,
1048
1046
  renderCell: (n) => {
1049
1047
  const g = n.row.costBasis, C = g ? n.row.totalGainLoss / g * 100 : 0;
1050
- return /* @__PURE__ */ o(_, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
1048
+ return /* @__PURE__ */ i(_, { sx: { alignItems: "center", flexDirection: "row", gap: 2 }, children: [
1051
1049
  n.value !== 0 && /* @__PURE__ */ e(
1052
1050
  B,
1053
1051
  {
@@ -1061,7 +1059,7 @@ const me = ({ sx: t = {} }) => {
1061
1059
  }
1062
1060
  ),
1063
1061
  /* @__PURE__ */ e(
1064
- i,
1062
+ o,
1065
1063
  {
1066
1064
  sx: {
1067
1065
  color: y(n.value),
@@ -1071,9 +1069,9 @@ const me = ({ sx: t = {} }) => {
1071
1069
  children: g ? `${C.toFixed(2)}%` : "0.00%"
1072
1070
  }
1073
1071
  ),
1074
- /* @__PURE__ */ e(i, { sx: { color: "text.secondary" }, variant: "caption", children: "|" }),
1072
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: "|" }),
1075
1073
  /* @__PURE__ */ e(
1076
- i,
1074
+ o,
1077
1075
  {
1078
1076
  sx: {
1079
1077
  color: y(n.value),
@@ -1099,7 +1097,7 @@ const me = ({ sx: t = {} }) => {
1099
1097
  headerName: l.overview.market_value_header,
1100
1098
  width: 132,
1101
1099
  renderHeader: K,
1102
- renderCell: (n) => /* @__PURE__ */ e(i, { sx: { fontWeight: 700 }, variant: "body2", children: n.value?.toLocaleString("en-US", {
1100
+ renderCell: (n) => /* @__PURE__ */ e(o, { sx: { fontWeight: 700 }, variant: "body2", children: n.value?.toLocaleString("en-US", {
1103
1101
  currency: "USD",
1104
1102
  maximumFractionDigits: 2,
1105
1103
  minimumFractionDigits: 2,
@@ -1110,14 +1108,14 @@ const me = ({ sx: t = {} }) => {
1110
1108
  }
1111
1109
  ];
1112
1110
  return /* @__PURE__ */ e(
1113
- re,
1111
+ se,
1114
1112
  {
1115
1113
  sx: {
1116
1114
  boxShadow: "none",
1117
1115
  width: "100%"
1118
1116
  },
1119
1117
  children: /* @__PURE__ */ e(
1120
- Pe,
1118
+ $e,
1121
1119
  {
1122
1120
  columns: r,
1123
1121
  disableColumnFilter: !0,
@@ -1130,18 +1128,18 @@ const me = ({ sx: t = {} }) => {
1130
1128
  )
1131
1129
  }
1132
1130
  );
1133
- }, pt = () => {
1131
+ }, gt = () => {
1134
1132
  const { isMobile: t } = j(), [u, c] = O({}), [m, f] = O(!1), { selectedAccountGuids: v } = J(), { visibleHoldings: d, updateHoldings: l } = U(), [x, h] = T.useState(!1), [b, s] = O({
1135
1133
  accounts: [],
1136
1134
  holdings: []
1137
- }), { accounts: y, investments: r } = N(), { isCopyLoaded: n } = J(), [g, C] = O(null), [D, k] = O(""), A = ce().palette.mode === "dark", G = A ? "#0AC295" : "#09A57F", F = A ? "grey.300" : "grey.700", L = (a, w = "lesserThan") => w === "greaterThan" ? a >= 0 ? G : F : a <= 0 ? F : G, H = (a, w) => {
1135
+ }), { accounts: y, investments: r } = N(), { isCopyLoaded: n } = J(), [g, C] = O(null), [D, k] = O(""), A = Z().palette.mode === "dark", G = A ? "#0AC295" : "#09A57F", F = A ? "grey.300" : "grey.700", L = (a, w = "lesserThan") => w === "greaterThan" ? a >= 0 ? G : F : a <= 0 ? F : G, H = (a, w) => {
1138
1136
  C(a), k(w.toFixed(2));
1139
- }, Z = (a) => {
1137
+ }, ee = (a) => {
1140
1138
  const w = a.target.value;
1141
1139
  /^\d*\.?\d*$/.test(w) && k(w);
1142
1140
  }, ue = (a, w) => {
1143
- a.key === "Enter" ? ee(w) : a.key === "Escape" && C(null);
1144
- }, ee = (a) => {
1141
+ a.key === "Enter" ? te(w) : a.key === "Escape" && C(null);
1142
+ }, te = (a) => {
1145
1143
  const w = d.find(({ guid: E }) => E === a);
1146
1144
  if (!w) return;
1147
1145
  const M = Number(D);
@@ -1160,7 +1158,7 @@ const me = ({ sx: t = {} }) => {
1160
1158
  ...E,
1161
1159
  [a]: M
1162
1160
  }));
1163
- }, { visibleHoldings: he } = U(), { visibleInvestmentAccounts: Le } = le(), P = Le.filter(
1161
+ }, { visibleHoldings: he } = U(), { visibleInvestmentAccounts: Le } = ce(), P = Le.filter(
1164
1162
  ({ guid: a }) => v.includes(a)
1165
1163
  ), Ie = P.reduce((a, w) => a + (w.balance || 0), 0), Ae = P.map(({ guid: a }) => a), q = he.filter(
1166
1164
  ({ account_guid: a }) => Ae.includes(a)
@@ -1170,16 +1168,16 @@ const me = ({ sx: t = {} }) => {
1170
1168
  }, 0), Te = () => {
1171
1169
  f(!1);
1172
1170
  };
1173
- return n ? /* @__PURE__ */ o(p, { sx: { alignItems: "center", gap: 48, pt: 48, width: "100%" }, children: [
1174
- !!P.length && /* @__PURE__ */ o(p, { sx: { alignItems: "center" }, children: [
1175
- /* @__PURE__ */ e(i, { sx: { color: "text.secondary" }, children: r.overview.total_portfolio }),
1171
+ return n ? /* @__PURE__ */ i(p, { sx: { alignItems: "center", gap: 48, pt: 48, width: "100%" }, children: [
1172
+ !!P.length && /* @__PURE__ */ i(p, { sx: { alignItems: "center" }, children: [
1173
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, children: r.overview.total_portfolio }),
1176
1174
  /* @__PURE__ */ e(X, { variant: "h1", children: Ie.toLocaleString("en-US", {
1177
1175
  currency: "USD",
1178
1176
  maximumFractionDigits: 2,
1179
1177
  minimumFractionDigits: 2,
1180
1178
  style: "currency"
1181
1179
  }) }),
1182
- /* @__PURE__ */ o(p, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
1180
+ /* @__PURE__ */ i(p, { sx: { alignItems: "center", flexDirection: "row", gap: 8 }, children: [
1183
1181
  /* @__PURE__ */ e(
1184
1182
  B,
1185
1183
  {
@@ -1189,7 +1187,7 @@ const me = ({ sx: t = {} }) => {
1189
1187
  }
1190
1188
  ),
1191
1189
  /* @__PURE__ */ e(
1192
- i,
1190
+ o,
1193
1191
  {
1194
1192
  sx: { color: L(q, "greaterThan"), fontWeight: 700 },
1195
1193
  variant: "body2",
@@ -1218,7 +1216,7 @@ const me = ({ sx: t = {} }) => {
1218
1216
  ), ge = E ? S / E * 100 : 0;
1219
1217
  if (t)
1220
1218
  return /* @__PURE__ */ e(
1221
- re,
1219
+ se,
1222
1220
  {
1223
1221
  onClick: w.length ? () => {
1224
1222
  f(!0), s({
@@ -1230,7 +1228,7 @@ const me = ({ sx: t = {} }) => {
1230
1228
  width: "100%",
1231
1229
  overflow: "hidden"
1232
1230
  },
1233
- children: /* @__PURE__ */ o(
1231
+ children: /* @__PURE__ */ i(
1234
1232
  p,
1235
1233
  {
1236
1234
  sx: {
@@ -1243,7 +1241,7 @@ const me = ({ sx: t = {} }) => {
1243
1241
  pt: 14
1244
1242
  },
1245
1243
  children: [
1246
- /* @__PURE__ */ o(
1244
+ /* @__PURE__ */ i(
1247
1245
  p,
1248
1246
  {
1249
1247
  sx: {
@@ -1264,14 +1262,14 @@ const me = ({ sx: t = {} }) => {
1264
1262
  size: 32
1265
1263
  }
1266
1264
  ),
1267
- /* @__PURE__ */ o(p, { sx: { overflow: "hidden", pl: 13, pr: 13 }, children: [
1268
- /* @__PURE__ */ e(i, { sx: { color: "text.secondary" }, variant: "caption", children: a.memberName }),
1269
- /* @__PURE__ */ e(i, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: a.user_name || a.name })
1265
+ /* @__PURE__ */ i(p, { sx: { overflow: "hidden", pl: 13, pr: 13 }, children: [
1266
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: a.memberName }),
1267
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: a.user_name || a.name })
1270
1268
  ] })
1271
1269
  ]
1272
1270
  }
1273
1271
  ),
1274
- /* @__PURE__ */ o(
1272
+ /* @__PURE__ */ i(
1275
1273
  p,
1276
1274
  {
1277
1275
  sx: {
@@ -1282,7 +1280,7 @@ const me = ({ sx: t = {} }) => {
1282
1280
  pt: 8
1283
1281
  },
1284
1282
  children: [
1285
- /* @__PURE__ */ o(
1283
+ /* @__PURE__ */ i(
1286
1284
  p,
1287
1285
  {
1288
1286
  sx: {
@@ -1297,8 +1295,8 @@ const me = ({ sx: t = {} }) => {
1297
1295
  pt: 14
1298
1296
  },
1299
1297
  children: [
1300
- /* @__PURE__ */ e(i, { sx: { color: "text.secondary", fontSize: 11 }, variant: "body2", children: r.overview.total_gain_Loss }),
1301
- /* @__PURE__ */ o(
1298
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary", fontSize: 11 }, variant: "body2", children: r.overview.total_gain_Loss }),
1299
+ /* @__PURE__ */ i(
1302
1300
  p,
1303
1301
  {
1304
1302
  sx: {
@@ -1316,8 +1314,8 @@ const me = ({ sx: t = {} }) => {
1316
1314
  sx: { color: L(S) }
1317
1315
  }
1318
1316
  ),
1319
- /* @__PURE__ */ o(
1320
- i,
1317
+ /* @__PURE__ */ i(
1318
+ o,
1321
1319
  {
1322
1320
  sx: {
1323
1321
  color: L(S),
@@ -1330,9 +1328,9 @@ const me = ({ sx: t = {} }) => {
1330
1328
  ]
1331
1329
  }
1332
1330
  ),
1333
- /* @__PURE__ */ e(i, { sx: { color: "text.secondary" }, variant: "caption", children: "|" }),
1331
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: "|" }),
1334
1332
  /* @__PURE__ */ e(
1335
- i,
1333
+ o,
1336
1334
  {
1337
1335
  sx: {
1338
1336
  color: L(S),
@@ -1353,7 +1351,7 @@ const me = ({ sx: t = {} }) => {
1353
1351
  ]
1354
1352
  }
1355
1353
  ),
1356
- /* @__PURE__ */ o(
1354
+ /* @__PURE__ */ i(
1357
1355
  p,
1358
1356
  {
1359
1357
  sx: {
@@ -1366,8 +1364,8 @@ const me = ({ sx: t = {} }) => {
1366
1364
  pt: 14
1367
1365
  },
1368
1366
  children: [
1369
- /* @__PURE__ */ e(i, { sx: { color: "text.secondary" }, variant: "caption", children: r.overview.total_value }),
1370
- /* @__PURE__ */ e(i, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: E?.toLocaleString("en-US", {
1367
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: r.overview.total_value }),
1368
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: E?.toLocaleString("en-US", {
1371
1369
  currency: "USD",
1372
1370
  maximumFractionDigits: 2,
1373
1371
  minimumFractionDigits: 2,
@@ -1386,7 +1384,7 @@ const me = ({ sx: t = {} }) => {
1386
1384
  a.guid
1387
1385
  );
1388
1386
  const ke = A ? "grey.700" : "grey.400", Be = w.length ? "text.primary" : ke;
1389
- return /* @__PURE__ */ o(
1387
+ return /* @__PURE__ */ i(
1390
1388
  be,
1391
1389
  {
1392
1390
  expanded: u[a.guid] === !0,
@@ -1399,7 +1397,7 @@ const me = ({ sx: t = {} }) => {
1399
1397
  width: "100%"
1400
1398
  },
1401
1399
  children: [
1402
- /* @__PURE__ */ o(
1400
+ /* @__PURE__ */ i(
1403
1401
  we,
1404
1402
  {
1405
1403
  "aria-controls": "panel1a-content",
@@ -1412,7 +1410,7 @@ const me = ({ sx: t = {} }) => {
1412
1410
  }
1413
1411
  ],
1414
1412
  children: [
1415
- /* @__PURE__ */ o(
1413
+ /* @__PURE__ */ i(
1416
1414
  p,
1417
1415
  {
1418
1416
  sx: {
@@ -1432,17 +1430,17 @@ const me = ({ sx: t = {} }) => {
1432
1430
  size: 32
1433
1431
  }
1434
1432
  ),
1435
- /* @__PURE__ */ o(p, { sx: { alignItems: "flex-start" }, children: [
1436
- /* @__PURE__ */ e(i, { sx: { color: "text.secondary" }, variant: "caption", children: a.memberName }),
1437
- /* @__PURE__ */ e(i, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: a.user_name || a.name })
1433
+ /* @__PURE__ */ i(p, { sx: { alignItems: "flex-start" }, children: [
1434
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: a.memberName }),
1435
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: a.user_name || a.name })
1438
1436
  ] })
1439
1437
  ]
1440
1438
  }
1441
1439
  ),
1442
- /* @__PURE__ */ o(p, { sx: { flexDirection: "row" }, children: [
1443
- /* @__PURE__ */ o(p, { sx: { alignItems: "flex-end", pb: 14, pl: 24, pr: 24, pt: 14 }, children: [
1444
- /* @__PURE__ */ e(i, { sx: { color: "text.secondary" }, variant: "caption", children: r.overview.total_gain_Loss }),
1445
- /* @__PURE__ */ o(
1440
+ /* @__PURE__ */ i(p, { sx: { flexDirection: "row" }, children: [
1441
+ /* @__PURE__ */ i(p, { sx: { alignItems: "flex-end", pb: 14, pl: 24, pr: 24, pt: 14 }, children: [
1442
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: r.overview.total_gain_Loss }),
1443
+ /* @__PURE__ */ i(
1446
1444
  p,
1447
1445
  {
1448
1446
  sx: {
@@ -1460,8 +1458,8 @@ const me = ({ sx: t = {} }) => {
1460
1458
  sx: { color: L(S) }
1461
1459
  }
1462
1460
  ),
1463
- /* @__PURE__ */ o(
1464
- i,
1461
+ /* @__PURE__ */ i(
1462
+ o,
1465
1463
  {
1466
1464
  sx: {
1467
1465
  color: L(S),
@@ -1474,9 +1472,9 @@ const me = ({ sx: t = {} }) => {
1474
1472
  ]
1475
1473
  }
1476
1474
  ),
1477
- /* @__PURE__ */ e(i, { sx: { color: "text.secondary" }, variant: "caption", children: "|" }),
1475
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: "|" }),
1478
1476
  /* @__PURE__ */ e(
1479
- i,
1477
+ o,
1480
1478
  {
1481
1479
  sx: {
1482
1480
  color: L(S),
@@ -1495,9 +1493,9 @@ const me = ({ sx: t = {} }) => {
1495
1493
  }
1496
1494
  )
1497
1495
  ] }),
1498
- /* @__PURE__ */ e(p, { sx: { alignItems: "flex-end", gap: 12, pb: 14, pl: 16, pr: 16, pt: 14 }, children: /* @__PURE__ */ o(p, { sx: { alignItems: "flex-end" }, children: [
1499
- /* @__PURE__ */ e(i, { sx: { color: "text.secondary" }, variant: "caption", children: r.overview.total_value }),
1500
- /* @__PURE__ */ e(i, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: E?.toLocaleString("en-US", {
1496
+ /* @__PURE__ */ e(p, { sx: { alignItems: "flex-end", gap: 12, pb: 14, pl: 16, pr: 16, pt: 14 }, children: /* @__PURE__ */ i(p, { sx: { alignItems: "flex-end" }, children: [
1497
+ /* @__PURE__ */ e(o, { sx: { color: "text.secondary" }, variant: "caption", children: r.overview.total_value }),
1498
+ /* @__PURE__ */ e(o, { sx: { color: "text.primary", fontWeight: 600 }, variant: "body1", children: E?.toLocaleString("en-US", {
1501
1499
  currency: "USD",
1502
1500
  maximumFractionDigits: 2,
1503
1501
  minimumFractionDigits: 2,
@@ -1508,14 +1506,14 @@ const me = ({ sx: t = {} }) => {
1508
1506
  ]
1509
1507
  }
1510
1508
  ),
1511
- /* @__PURE__ */ e(_e, { sx: { bgcolor: "background.default", p: 12 }, children: /* @__PURE__ */ e(re, { sx: { border: 1, borderColor: "neutral.light" }, children: /* @__PURE__ */ e(
1512
- gt,
1509
+ /* @__PURE__ */ e(_e, { sx: { bgcolor: "background.default", p: 12 }, children: /* @__PURE__ */ e(se, { sx: { border: 1, borderColor: "neutral.light" }, children: /* @__PURE__ */ e(
1510
+ ht,
1513
1511
  {
1514
1512
  currentEditedCostBasis: D,
1515
1513
  data: w,
1516
1514
  editingHoldingId: g,
1517
- handleCostBasisBlur: ee,
1518
- handleCostBasisChange: Z,
1515
+ handleCostBasisBlur: te,
1516
+ handleCostBasisChange: ee,
1519
1517
  handleCostBasisClick: H,
1520
1518
  handleCostBasisKeyDown: ue
1521
1519
  }
@@ -1527,13 +1525,13 @@ const me = ({ sx: t = {} }) => {
1527
1525
  }),
1528
1526
  /* @__PURE__ */ e(me, {}),
1529
1527
  /* @__PURE__ */ e(
1530
- ht,
1528
+ ut,
1531
1529
  {
1532
1530
  accountHoldingsData: b,
1533
1531
  currentEditedCostBasis: D,
1534
1532
  editingHoldingId: g,
1535
- handleCostBasisBlur: ee,
1536
- handleCostBasisChange: Z,
1533
+ handleCostBasisBlur: te,
1534
+ handleCostBasisChange: ee,
1537
1535
  handleCostBasisClick: H,
1538
1536
  handleCostBasisKeyDown: ue,
1539
1537
  isOpen: m,
@@ -1549,17 +1547,17 @@ const me = ({ sx: t = {} }) => {
1549
1547
  }
1550
1548
  )
1551
1549
  ] }) : /* @__PURE__ */ e(De, {});
1552
- }, xt = $(pt), yt = ({ title: t }) => /* @__PURE__ */ e(i, { bold: !0, variant: "body1", children: t }), dn = $(({ onBackClick: t, onMenuClick: u, sx: c }) => {
1550
+ }, pt = $(gt), xt = ({ title: t }) => /* @__PURE__ */ e(o, { bold: !0, variant: "body1", children: t }), ln = $(({ onBackClick: t, onMenuClick: u, sx: c }) => {
1553
1551
  const { onEvent: m } = ve(), { isMobile: f } = j(), {
1554
1552
  isAccountDataLoaded: v,
1555
1553
  loadAccountData: d,
1556
1554
  visibleInvestmentAccounts: l
1557
- } = le(), {
1555
+ } = ce(), {
1558
1556
  visibleHoldings: x,
1559
1557
  setShowConnectionsWidget: h,
1560
1558
  showConnectionsWidget: b
1561
1559
  } = U(), { investments: s, accounts: y } = N(), { isInitialized: r } = J(), [n, g] = T.useState(0), { loadHoldings: C, holdingsLoaded: D } = U();
1562
- Ke({
1560
+ qe({
1563
1561
  widgetName: "InvestmentsWidget",
1564
1562
  isLoaded: D
1565
1563
  }), T.useEffect(() => {
@@ -1580,17 +1578,17 @@ const me = ({ sx: t = {} }) => {
1580
1578
  s.tab_allocation_title,
1581
1579
  s.tab_analysis_title
1582
1580
  ];
1583
- return /* @__PURE__ */ o(
1584
- Ye,
1581
+ return /* @__PURE__ */ i(
1582
+ Ke,
1585
1583
  {
1586
- allowedAccountTypes: [Qe.INVESTMENT],
1584
+ allowedAccountTypes: [Ye.INVESTMENT],
1587
1585
  onAccountsFilterClick: k,
1588
1586
  onBackClick: t,
1589
1587
  onMenuClick: u,
1590
1588
  sx: c,
1591
1589
  title: s.title,
1592
1590
  children: [
1593
- /* @__PURE__ */ o(_, { mx: f ? 0 : 48, my: 24, children: [
1591
+ /* @__PURE__ */ i(_, { mx: f ? 0 : 48, my: 24, children: [
1594
1592
  /* @__PURE__ */ e(
1595
1593
  Ee,
1596
1594
  {
@@ -1601,11 +1599,11 @@ const me = ({ sx: t = {} }) => {
1601
1599
  textColor: "primary",
1602
1600
  value: A ? -1 : n,
1603
1601
  variant: "fullWidth",
1604
- children: G.map((F) => /* @__PURE__ */ e(Fe, { disabled: A, label: /* @__PURE__ */ e(yt, { title: F }) }, F))
1602
+ children: G.map((F) => /* @__PURE__ */ e(Fe, { disabled: A, label: /* @__PURE__ */ e(xt, { title: F }) }, F))
1605
1603
  }
1606
1604
  ),
1607
1605
  A ? /* @__PURE__ */ e(
1608
- Je,
1606
+ Qe,
1609
1607
  {
1610
1608
  header: s.empty_state_header,
1611
1609
  icon: "bid_landscape",
@@ -1626,10 +1624,10 @@ const me = ({ sx: t = {} }) => {
1626
1624
  px: 16
1627
1625
  }
1628
1626
  }
1629
- ) : /* @__PURE__ */ o(ae, { children: [
1630
- n === 0 && /* @__PURE__ */ e(xt, {}),
1631
- n === 1 && /* @__PURE__ */ e(st, {}),
1632
- n === 2 && /* @__PURE__ */ e(mt, {})
1627
+ ) : /* @__PURE__ */ i(le, { children: [
1628
+ n === 0 && /* @__PURE__ */ e(pt, {}),
1629
+ n === 1 && /* @__PURE__ */ e(rt, {}),
1630
+ n === 2 && /* @__PURE__ */ e(dt, {})
1633
1631
  ] })
1634
1632
  ] }),
1635
1633
  /* @__PURE__ */ e(
@@ -1645,5 +1643,5 @@ const me = ({ sx: t = {} }) => {
1645
1643
  );
1646
1644
  });
1647
1645
  export {
1648
- dn as InvestmentsWidget
1646
+ ln as InvestmentsWidget
1649
1647
  };