@mx-cartographer/experiences 7.0.27-alpha.sms5 → 7.0.27-alpha.sms6

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 (54) hide show
  1. package/dist/{Account-BW3-oYEs.mjs → Account-CK-DrCEa.mjs} +1 -1
  2. package/dist/{AccountDetailsContent-UxSEMBo_.mjs → AccountDetailsContent-BZAbCT6q.mjs} +8 -8
  3. package/dist/{AccountDetailsHeader-Eb3WvBGm.mjs → AccountDetailsHeader-DXTi1p0V.mjs} +11 -11
  4. package/dist/{AccountFields-CIz-r3gP.mjs → AccountFields-Bxvi1C4Z.mjs} +2 -2
  5. package/dist/{AccountListItem-B-ZjJ4Gp.mjs → AccountListItem-CnE3rCVZ.mjs} +3 -3
  6. package/dist/{AccountStore-BaMynkQT.mjs → AccountStore-DiGbJBUT.mjs} +2 -2
  7. package/dist/{Accounts-CA-nqAjT.mjs → Accounts-BBkQjUmS.mjs} +1 -1
  8. package/dist/{BudgetUtil-CeSLAcsl.mjs → BudgetUtil-D5jO0box.mjs} +1 -1
  9. package/dist/{CategorySelectorDrawer-BJ9jlCyt.mjs → CategorySelectorDrawer-joMax4Fb.mjs} +1 -1
  10. package/dist/{ConnectDrawer-phFH6OHt.mjs → ConnectDrawer-D86nRDxQ.mjs} +1 -1
  11. package/dist/{ConnectionsDrawer-ihxkAi1P.mjs → ConnectionsDrawer-BkNr5Up0.mjs} +2 -2
  12. package/dist/{CurrencyInput-bEx2Mbd0.mjs → CurrencyInput-BkflFU_-.mjs} +1 -1
  13. package/dist/{DebtsStore-VkyMADzd.mjs → DebtsStore-qrqY9Abz.mjs} +1 -1
  14. package/dist/{ExportCsvAction-CbdFfDV5.mjs → ExportCsvAction-DRfdZis1.mjs} +3 -3
  15. package/dist/{GoalStore-eSOkI6uE.mjs → GoalStore-BQRcowCN.mjs} +2 -2
  16. package/dist/{Help-KAAMEubC.mjs → Help-B3dFeYi2.mjs} +1 -1
  17. package/dist/{LineChart-BWWmmJxV.mjs → LineChart-Dyps2sOy.mjs} +1 -1
  18. package/dist/{ListItemAction-DNZZ5fSa.mjs → ListItemAction-BgKx_n6d.mjs} +1 -1
  19. package/dist/{ManageIncome-DbsiKUoO.mjs → ManageIncome-CFh-N0KK.mjs} +4 -4
  20. package/dist/{MicroWidgetContainer-Dxz8uBN9.mjs → MicroWidgetContainer-DPDsZIiS.mjs} +1 -1
  21. package/dist/{MiniWidgetContainer-CTyjmE1h.mjs → MiniWidgetContainer-BzW7V_04.mjs} +1 -1
  22. package/dist/{NetWorthStore-B6xF9eGH.mjs → NetWorthStore-DWG9Mkuu.mjs} +2 -2
  23. package/dist/{NotificationSettings-D9eiZJk9.mjs → NotificationSettings-BaG4tpPe.mjs} +219 -214
  24. package/dist/{OriginalBalanceAction-DepsKiJz.mjs → OriginalBalanceAction-B--pIAF0.mjs} +3 -3
  25. package/dist/{RecurringSettings-Dj29piAQ.mjs → RecurringSettings-C9TjSuS_.mjs} +3 -3
  26. package/dist/{TransactionDetails-C-z3HGTT.mjs → TransactionDetails-C2gYzV0z.mjs} +37 -37
  27. package/dist/{TransactionStore-Cep_Eeql.mjs → TransactionStore-CZOvxcSw.mjs} +2 -2
  28. package/dist/{TrendsStore-WrHxzdbQ.mjs → TrendsStore-pvzHAX6B.mjs} +225 -231
  29. package/dist/{User-Dq9Qj764.mjs → User-D-O9EHMb.mjs} +1 -1
  30. package/dist/{WidgetContainer-CdBs9WOZ.mjs → WidgetContainer-Bn6JPnY3.mjs} +2 -2
  31. package/dist/accounts/index.es.js +12 -12
  32. package/dist/analytics/index.es.js +11 -11
  33. package/dist/budgets/index.es.js +10 -10
  34. package/dist/cashflow/index.es.js +7 -7
  35. package/dist/categories/index.es.js +1 -1
  36. package/dist/common/index.es.js +105 -104
  37. package/dist/dashboard/index.es.js +2 -2
  38. package/dist/debts/index.es.js +9 -9
  39. package/dist/{exportTransactionsToCSV-B5qAKd6C.mjs → exportTransactionsToCSV-zyHeWfQo.mjs} +1 -1
  40. package/dist/finstrong/index.es.js +6 -6
  41. package/dist/goals/index.es.js +11 -11
  42. package/dist/help/index.es.js +3 -3
  43. package/dist/{hooks-DkUqN6JE.mjs → hooks-DlI63qSB.mjs} +8 -8
  44. package/dist/investments/index.es.js +3 -3
  45. package/dist/merchants/index.es.js +1 -1
  46. package/dist/networth/index.es.js +7 -7
  47. package/dist/notifications/index.es.js +2 -2
  48. package/dist/recurringtransactions/index.es.js +8 -8
  49. package/dist/settings/index.es.js +6 -6
  50. package/dist/spending/index.es.js +14 -14
  51. package/dist/transactions/index.es.js +13 -13
  52. package/dist/trends/index.es.js +70 -69
  53. package/dist/useInsightsEnabled-fGr6xrSj.mjs +11 -0
  54. package/package.json +1 -1
@@ -1,25 +1,25 @@
1
- import { jsxs as l, jsx as e, Fragment as M } from "react/jsx-runtime";
1
+ import { jsxs as l, jsx as e, Fragment as B } from "react/jsx-runtime";
2
2
  import f from "react";
3
- import { observer as x } from "mobx-react-lite";
4
- import v from "@mui/material/Divider";
3
+ import { observer as C } from "mobx-react-lite";
4
+ import T from "@mui/material/Divider";
5
5
  import E from "@mui/material/List";
6
6
  import O from "@mui/material/ListItem";
7
7
  import N from "@mui/material/ListItemText";
8
8
  import V from "@mui/material/ListItemButton";
9
9
  import h from "@mui/material/Stack";
10
- import { ChevronRight as k, ExpandMore as K, Star as Q } from "@mxenabled/mx-icons";
11
- import { Text as b, InstitutionLogo as Y, H3 as U } from "@mxenabled/mxui";
10
+ import { ChevronRight as w, ExpandMore as K, Star as Q } from "@mxenabled/mx-icons";
11
+ import { Text as x, InstitutionLogo as Y, H3 as U } from "@mxenabled/mxui";
12
12
  import { endOfMonth as Z } from "date-fns/endOfMonth";
13
13
  import { startOfMonth as ee } from "date-fns/startOfMonth";
14
14
  import { DateCalendar as te } from "@mui/x-date-pickers/DateCalendar";
15
15
  import { LocalizationProvider as ne } from "@mui/x-date-pickers/LocalizationProvider";
16
16
  import { AdapterDateFns as ie } from "@mui/x-date-pickers/AdapterDateFnsV3";
17
- import { A as oe, T as F, a as P, N as C } from "./Notification-ByMBpJ5u.mjs";
18
- import { u as D, r as T, o as w, c as se, e as ae, m as W, a as le } from "./hooks-DkUqN6JE.mjs";
19
- import { b as ce } from "./Localization-2MODESHW.mjs";
17
+ import { A as oe, T as F, a as P, N as y } from "./Notification-ByMBpJ5u.mjs";
18
+ import { u as D, r as v, o as A, c as se, f as ae, m as W, a as ce } from "./hooks-DlI63qSB.mjs";
19
+ import { b as le } from "./Localization-2MODESHW.mjs";
20
20
  import { b as re, f as de } from "./NumberFormatting-CtWHhyBX.mjs";
21
- import { a as B } from "./Dialog-CWW597AF.mjs";
22
- import { C as me } from "./CurrencyInput-bEx2Mbd0.mjs";
21
+ import { a as M } from "./Dialog-CWW597AF.mjs";
22
+ import { C as me } from "./CurrencyInput-BkflFU_-.mjs";
23
23
  import { u as he } from "./useScreenSize-B6JyS_Lj.mjs";
24
24
  import { D as J } from "./Drawer-kEE73B87.mjs";
25
25
  import _e from "@mui/material/Collapse";
@@ -30,26 +30,27 @@ import R from "@mui/material/Button";
30
30
  import L from "@mui/material/TextField";
31
31
  import { u as fe } from "./useDimensions-27p2evRx.mjs";
32
32
  import X from "@mui/material/styles/useTheme";
33
- import { L as ge } from "./Loader-DUaFpDGv.mjs";
34
- const ye = x(() => {
35
- const { common: n, settings: t } = D(), { sendEmailVerification: s } = T(), { user: c } = w(), i = X(), [r, a] = f.useState(!1), o = () => {
36
- a(!1);
33
+ import { u as ge } from "./useInsightsEnabled-fGr6xrSj.mjs";
34
+ import { L as ye } from "./Loader-DUaFpDGv.mjs";
35
+ const be = C(() => {
36
+ const { common: n, settings: t } = D(), { sendEmailVerification: s } = v(), { user: a } = A(), o = X(), [r, c] = f.useState(!1), i = () => {
37
+ c(!1);
37
38
  }, d = () => {
38
- a(!0);
39
+ c(!0);
39
40
  };
40
41
  return /* @__PURE__ */ l(f.Fragment, { children: [
41
42
  /* @__PURE__ */ l(R, { onClick: d, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
42
- /* @__PURE__ */ e(b, { variant: "Small", children: t.verify_email }),
43
- /* @__PURE__ */ e(k, {})
43
+ /* @__PURE__ */ e(x, { variant: "Small", children: t.verify_email }),
44
+ /* @__PURE__ */ e(w, {})
44
45
  ] }),
45
46
  /* @__PURE__ */ e(
46
- B,
47
+ M,
47
48
  {
48
49
  copy: { title: "" },
49
50
  isOpen: r,
50
- onClose: o,
51
+ onClose: i,
51
52
  onPrimaryAction: s,
52
- onSecondaryAction: o,
53
+ onSecondaryAction: i,
53
54
  primaryText: t.send_verification,
54
55
  secondaryText: n.back,
55
56
  sx: {
@@ -61,38 +62,38 @@ const ye = x(() => {
61
62
  }
62
63
  },
63
64
  children: /* @__PURE__ */ l(h, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
64
- /* @__PURE__ */ e(b, { bold: !0, truncate: !1, variant: "Body", children: t.confirm_your_email }),
65
- /* @__PURE__ */ e(b, { truncate: !1, variant: "Small", children: t.confirm_email }),
65
+ /* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "Body", children: t.confirm_your_email }),
66
+ /* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: t.confirm_email }),
66
67
  /* @__PURE__ */ e(
67
- b,
68
+ x,
68
69
  {
69
70
  sx: {
70
- border: `1px solid ${i.palette.border.light}`,
71
+ border: `1px solid ${o.palette.border.light}`,
71
72
  borderRadius: "4px",
72
73
  p: "16px 32px"
73
74
  },
74
75
  variant: "H3",
75
- children: c.email
76
+ children: a.email
76
77
  }
77
78
  ),
78
- /* @__PURE__ */ e(b, { truncate: !1, variant: "Small", children: t.verification_notice_email })
79
+ /* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: t.verification_notice_email })
79
80
  ] })
80
81
  }
81
82
  )
82
83
  ] });
83
- }), be = x(
84
+ }), xe = C(
84
85
  ({ handleClose: n, handleVerify: t, isOpen: s }) => {
85
- const { common: c, settings: i } = D(), [r, a] = f.useState("");
86
+ const { common: a, settings: o } = D(), [r, c] = f.useState("");
86
87
  return /* @__PURE__ */ e(
87
- B,
88
+ M,
88
89
  {
89
- copy: { title: i.enter_verification_code },
90
+ copy: { title: o.enter_verification_code },
90
91
  isOpen: s,
91
92
  onClose: n,
92
93
  onPrimaryAction: () => t(r),
93
94
  onSecondaryAction: n,
94
- primaryText: i.verify,
95
- secondaryText: c.cancel_button,
95
+ primaryText: o.verify,
96
+ secondaryText: a.cancel_button,
96
97
  sx: {
97
98
  "& .MuiDialogContent-root": { pt: 0, width: 400 },
98
99
  "& .MuiToolbar-root:last-child": {
@@ -101,34 +102,34 @@ const ye = x(() => {
101
102
  justifyContent: "flex-end"
102
103
  }
103
104
  },
104
- children: /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(L, { onChange: (o) => a(o.target.value), sx: { width: 352 }, value: r }) })
105
+ children: /* @__PURE__ */ e(h, { children: /* @__PURE__ */ e(L, { onChange: (i) => c(i.target.value), sx: { width: 352 }, value: r }) })
105
106
  }
106
107
  );
107
108
  }
108
- ), xe = x(() => {
109
- const { common: n, settings: t } = D(), { sendPhoneVerification: s, verifyPhoneToken: c } = T(), { user: i } = w(), r = X(), [a, o] = f.useState(!1), [d, m] = f.useState(!1), _ = () => {
110
- o(!1);
109
+ ), Ce = C(() => {
110
+ const { common: n, settings: t } = D(), { sendPhoneVerification: s, verifyPhoneToken: a } = v(), { user: o } = A(), r = X(), [c, i] = f.useState(!1), [d, m] = f.useState(!1), _ = () => {
111
+ i(!1);
111
112
  }, u = () => {
112
- o(!0);
113
+ i(!0);
113
114
  }, g = () => {
114
115
  s().finally(() => {
115
116
  m(!0);
116
117
  });
117
- }, p = (y) => {
118
- c(y).finally(() => {
118
+ }, p = (b) => {
119
+ a(b).finally(() => {
119
120
  m(!1);
120
121
  });
121
122
  };
122
123
  return /* @__PURE__ */ l(f.Fragment, { children: [
123
124
  /* @__PURE__ */ l(R, { onClick: u, sx: { height: "auto", p: 4, width: "fit-content" }, children: [
124
- /* @__PURE__ */ e(b, { variant: "Small", children: t.verify_phone }),
125
- /* @__PURE__ */ e(k, {})
125
+ /* @__PURE__ */ e(x, { variant: "Small", children: t.verify_phone }),
126
+ /* @__PURE__ */ e(w, {})
126
127
  ] }),
127
128
  /* @__PURE__ */ e(
128
- B,
129
+ M,
129
130
  {
130
131
  copy: { title: "" },
131
- isOpen: a,
132
+ isOpen: c,
132
133
  onClose: _,
133
134
  onPrimaryAction: g,
134
135
  onSecondaryAction: _,
@@ -143,10 +144,10 @@ const ye = x(() => {
143
144
  }
144
145
  },
145
146
  children: /* @__PURE__ */ l(h, { spacing: 16, sx: { px: 40, textAlign: "center", width: "100%" }, children: [
146
- /* @__PURE__ */ e(b, { bold: !0, truncate: !1, variant: "Body", children: t.confirm_your_phone }),
147
- /* @__PURE__ */ e(b, { truncate: !1, variant: "Small", children: t.confirm_phone }),
147
+ /* @__PURE__ */ e(x, { bold: !0, truncate: !1, variant: "Body", children: t.confirm_your_phone }),
148
+ /* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: t.confirm_phone }),
148
149
  /* @__PURE__ */ e(
149
- b,
150
+ x,
150
151
  {
151
152
  sx: {
152
153
  border: `1px solid ${r.palette.border.light}`,
@@ -154,15 +155,15 @@ const ye = x(() => {
154
155
  p: "16px 32px"
155
156
  },
156
157
  variant: "H3",
157
- children: i.phone
158
+ children: o.phone
158
159
  }
159
160
  ),
160
- /* @__PURE__ */ e(b, { truncate: !1, variant: "Small", children: t.verification_notice_phone })
161
+ /* @__PURE__ */ e(x, { truncate: !1, variant: "Small", children: t.verification_notice_phone })
161
162
  ] })
162
163
  }
163
164
  ),
164
165
  /* @__PURE__ */ e(
165
- be,
166
+ xe,
166
167
  {
167
168
  handleClose: () => m(!1),
168
169
  handleVerify: p,
@@ -170,15 +171,15 @@ const ye = x(() => {
170
171
  }
171
172
  )
172
173
  ] });
173
- }), Ce = x(
174
+ }), Te = C(
174
175
  ({ onProfileUpdated: n, profile: t }) => {
175
- const { common: s, recurring: c, settings: i } = D(), { updateAccount: r } = se(), a = t.notification_type === oe.DebtPaymentReminder, [o, d] = f.useState(!1), [m, _] = f.useState(t.threshold || 0), [u, g] = f.useState(
176
+ const { common: s, recurring: a, settings: o } = D(), { updateAccount: r } = se(), c = t.notification_type === oe.DebtPaymentReminder, [i, d] = f.useState(!1), [m, _] = f.useState(t.threshold || 0), [u, g] = f.useState(
176
177
  t.account?.day_payment_is_due || 0
177
- ), p = t.account?.name || t.account?.feed_name || "", y = t.account?.day_payment_is_due ? ce(
178
- i.notification_debt_payment_date,
178
+ ), p = t.account?.name || t.account?.feed_name || "", b = t.account?.day_payment_is_due ? le(
179
+ o.notification_debt_payment_date,
179
180
  re(t.account?.day_payment_is_due)
180
- ) : i.notification_debt_payment_zero_state, S = a ? y : de(t.threshold ?? 0, "0,0"), A = async () => {
181
- a && t.account ? await r({ ...t.account, day_payment_is_due: u }) : n({ ...t, threshold: m });
181
+ ) : o.notification_debt_payment_zero_state, S = c ? b : de(t.threshold ?? 0, "0,0"), I = async () => {
182
+ c && t.account ? await r({ ...t.account, day_payment_is_due: u }) : n({ ...t, threshold: m });
182
183
  };
183
184
  return /* @__PURE__ */ l(h, { children: [
184
185
  /* @__PURE__ */ e(
@@ -191,7 +192,7 @@ const ye = x(() => {
191
192
  institutionGuid: t.account?.institution_guid
192
193
  }
193
194
  ) : void 0,
194
- endIcon: /* @__PURE__ */ e(k, {}),
195
+ endIcon: /* @__PURE__ */ e(w, {}),
195
196
  isChecked: t.is_enabled,
196
197
  isPrimaryTextBold: !0,
197
198
  onClick: () => d(!0),
@@ -204,24 +205,24 @@ const ye = x(() => {
204
205
  }
205
206
  ),
206
207
  /* @__PURE__ */ e(
207
- B,
208
+ M,
208
209
  {
209
210
  copy: {
210
- title: a ? c.day_of_the_month : i.notification_threshold_label,
211
+ title: c ? a.day_of_the_month : o.notification_threshold_label,
211
212
  close_aria: s.close_aria
212
213
  },
213
- disablePrimaryButton: a && u === 0,
214
- isOpen: o,
214
+ disablePrimaryButton: c && u === 0,
215
+ isOpen: i,
215
216
  onClose: () => d(!1),
216
- onPrimaryAction: A,
217
+ onPrimaryAction: I,
217
218
  primaryText: s.save_button,
218
- children: a ? /* @__PURE__ */ e(ne, { dateAdapter: ie, children: /* @__PURE__ */ e(
219
+ children: c ? /* @__PURE__ */ e(ne, { dateAdapter: ie, children: /* @__PURE__ */ e(
219
220
  te,
220
221
  {
221
222
  maxDate: Z(/* @__PURE__ */ new Date()),
222
223
  minDate: ee(/* @__PURE__ */ new Date()),
223
- onChange: (I) => {
224
- g(I.getDate());
224
+ onChange: (k) => {
225
+ g(k.getDate());
225
226
  },
226
227
  slots: {
227
228
  // Hides the arrows
@@ -243,7 +244,7 @@ const ye = x(() => {
243
244
  autoFocus: !0,
244
245
  fullWidth: !0,
245
246
  minAmount: 0,
246
- setAmount: (I) => _(Number(I) || 0),
247
+ setAmount: (k) => _(Number(k) || 0),
247
248
  sx: { ".MuiTypography-Body": { p: 0 } }
248
249
  }
249
250
  )
@@ -251,9 +252,9 @@ const ye = x(() => {
251
252
  )
252
253
  ] });
253
254
  }
254
- ), ve = x(
255
+ ), ve = C(
255
256
  ({ onUpdateProfile: n, profile: t }) => {
256
- const { settings: s } = D(), { user: c } = w(), { clientCommunicationProfile: i, userCommunicationsProfile: r } = T(), { isMobile: a } = he(), o = t.notification_type > 2, {
257
+ const { settings: s } = D(), { user: a } = A(), { clientCommunicationProfile: o, userCommunicationsProfile: r } = v(), { isMobile: c } = he(), i = t.notification_type > 2, {
257
258
  opted_out_of_email_notifications: d,
258
259
  opted_out_of_push_notifications: m,
259
260
  opted_out_of_sms_notifications: _
@@ -261,35 +262,35 @@ const ye = x(() => {
261
262
  email_notifications_enabled: u,
262
263
  push_notifications_enabled: g,
263
264
  sms_notifications_enabled: p
264
- } = i;
265
+ } = o;
265
266
  return /* @__PURE__ */ l(h, { children: [
266
- (u || p || g) && /* @__PURE__ */ l(M, { children: [
267
- /* @__PURE__ */ e(b, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "caption", children: s.delivery_method_title }),
267
+ (u || p || g) && /* @__PURE__ */ l(B, { children: [
268
+ /* @__PURE__ */ e(x, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "caption", children: s.delivery_method_title }),
268
269
  /* @__PURE__ */ l(E, { sx: { bgcolor: "background.paper" }, children: [
269
270
  u && /* @__PURE__ */ e(h, { sx: { pl: 24 }, children: /* @__PURE__ */ e(
270
271
  P,
271
272
  {
272
- isChecked: !d && t.email_channel && !!c.email,
273
- isDisabled: d || !c.email,
273
+ isChecked: !d && t.email_channel && !!a.email,
274
+ isDisabled: d || !a.email,
274
275
  onToggle: () => n({ ...t, email_channel: !t.email_channel }),
275
276
  primaryText: s.delivery_method_email_label,
276
- secondaryText: d || !t.email_channel || !c.email ? s.notification_disabled : s.notification_enabled,
277
+ secondaryText: d || !t.email_channel || !a.email ? s.notification_disabled : s.notification_enabled,
277
278
  useExtraPadding: !1
278
279
  }
279
280
  ) }),
280
- u && (p || g) && /* @__PURE__ */ e(v, { sx: { ml: a ? 0 : 24 } }),
281
+ u && (p || g) && /* @__PURE__ */ e(T, { sx: { ml: c ? 0 : 24 } }),
281
282
  p && /* @__PURE__ */ e(h, { sx: { pl: 24 }, children: /* @__PURE__ */ e(
282
283
  P,
283
284
  {
284
- isChecked: !_ && t.sms_channel && !!c.phone,
285
- isDisabled: _ || !c.phone,
285
+ isChecked: !_ && t.sms_channel && !!a.phone,
286
+ isDisabled: _ || !a.phone,
286
287
  onToggle: () => n({ ...t, sms_channel: !t.sms_channel }),
287
288
  primaryText: `${s.delivery_method_sms_label}`,
288
- secondaryText: _ || !t.sms_channel || !c.phone ? s.notification_disabled : s.notification_enabled,
289
+ secondaryText: _ || !t.sms_channel || !a.phone ? s.notification_disabled : s.notification_enabled,
289
290
  useExtraPadding: !1
290
291
  }
291
292
  ) }),
292
- p && g && /* @__PURE__ */ e(v, { sx: { ml: a ? 0 : 24 } }),
293
+ p && g && /* @__PURE__ */ e(T, { sx: { ml: c ? 0 : 24 } }),
293
294
  g && /* @__PURE__ */ e(h, { sx: { pl: 24 }, children: /* @__PURE__ */ e(
294
295
  P,
295
296
  {
@@ -301,89 +302,87 @@ const ye = x(() => {
301
302
  useExtraPadding: !1
302
303
  }
303
304
  ) }),
304
- /* @__PURE__ */ e(v, {})
305
+ /* @__PURE__ */ e(T, {})
305
306
  ] })
306
307
  ] }),
307
- o && !!t.children?.length && /* @__PURE__ */ l(h, { children: [
308
- /* @__PURE__ */ e(b, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "caption", children: s.accounts_threshold_title }),
309
- /* @__PURE__ */ e(E, { sx: { bgcolor: "background.paper" }, children: t.children?.map((y) => /* @__PURE__ */ e(
310
- Ce,
308
+ i && !!t.children?.length && /* @__PURE__ */ l(h, { children: [
309
+ /* @__PURE__ */ e(x, { bold: !0, sx: { mb: 4, ml: 24, mt: 12 }, variant: "caption", children: s.accounts_threshold_title }),
310
+ /* @__PURE__ */ e(E, { sx: { bgcolor: "background.paper" }, children: t.children?.map((b) => /* @__PURE__ */ e(
311
+ Te,
311
312
  {
312
313
  onProfileUpdated: n,
313
- profile: y
314
+ profile: b
314
315
  },
315
- y.guid
316
+ b.guid
316
317
  )) })
317
318
  ] })
318
319
  ] });
319
320
  }
320
- ), H = x(() => {
321
- const { accountProfiles: n, updateNotificationProfile: t } = T(), [s, c] = f.useState(""), i = f.useMemo(
322
- () => n.find((o) => o.guid === s),
321
+ ), H = C(() => {
322
+ const { accountProfiles: n, updateNotificationProfile: t } = v(), [s, a] = f.useState(""), o = f.useMemo(
323
+ () => n.find((i) => i.guid === s),
323
324
  [n, s]
324
- ), r = async (o) => {
325
+ ), r = async (i) => {
325
326
  await t({
326
- ...o,
327
- is_enabled: !o.is_enabled
327
+ ...i,
328
+ is_enabled: !i.is_enabled
328
329
  });
329
- }, a = async (o) => {
330
- await t(o);
330
+ }, c = async (i) => {
331
+ await t(i);
331
332
  };
332
333
  return /* @__PURE__ */ l(h, { sx: { backgroundColor: "background.paper" }, children: [
333
- n.filter((o) => o.children && o.children.length > 0).map((o) => /* @__PURE__ */ e(
334
+ n.filter((i) => i.children && i.children.length > 0).map((i) => /* @__PURE__ */ e(
334
335
  F,
335
336
  {
336
- endIcon: /* @__PURE__ */ e(k, {}),
337
- isChecked: o.is_enabled,
338
- isDisabled: !o.is_enabled,
339
- onClick: () => c(o.guid),
340
- onToggle: () => r(o),
341
- primaryText: o.label,
342
- secondaryText: o.is_enabled ? o.deliveryMethodsLabel : void 0
337
+ endIcon: /* @__PURE__ */ e(w, {}),
338
+ isChecked: i.is_enabled,
339
+ isDisabled: !i.is_enabled,
340
+ onClick: () => a(i.guid),
341
+ onToggle: () => r(i),
342
+ primaryText: i.label,
343
+ secondaryText: i.is_enabled ? i.deliveryMethodsLabel : void 0
343
344
  },
344
- o.guid
345
+ i.guid
345
346
  )),
346
347
  /* @__PURE__ */ e(
347
348
  J,
348
349
  {
349
- isOpen: !!i,
350
- onClose: () => c(""),
351
- title: i ? i.label : "",
352
- children: i && /* @__PURE__ */ e(
350
+ isOpen: !!o,
351
+ onClose: () => a(""),
352
+ title: o ? o.label : "",
353
+ children: o && /* @__PURE__ */ e(
353
354
  ve,
354
355
  {
355
- onUpdateProfile: a,
356
- profile: i
356
+ onUpdateProfile: c,
357
+ profile: o
357
358
  }
358
359
  )
359
360
  }
360
361
  )
361
362
  ] });
362
- }), q = x(({ profile: n }) => {
363
+ }), q = C(({ profile: n }) => {
363
364
  const { settings: t } = D(), {
364
365
  clientCommunicationProfile: {
365
366
  email_notifications_enabled: s,
366
- push_notifications_enabled: c,
367
- sms_notifications_enabled: i
367
+ push_notifications_enabled: a,
368
+ sms_notifications_enabled: o
368
369
  },
369
370
  updateNotificationProfile: r,
370
371
  userCommunicationsProfile: {
371
- opted_out_of_email_notifications: a,
372
- opted_out_of_push_notifications: o,
372
+ opted_out_of_email_notifications: c,
373
+ opted_out_of_push_notifications: i,
373
374
  opted_out_of_sms_notifications: d
374
375
  }
375
- } = T();
376
- console.log("in profile?");
377
- const { user: m } = w(), [_, u] = f.useState(!1), g = async () => {
376
+ } = v(), { user: m } = A(), [_, u] = f.useState(!1), g = async () => {
378
377
  await p({ ...n, is_enabled: !n.is_enabled }), n.is_enabled && u(!1);
379
378
  }, p = async (S) => {
380
379
  await r(S);
381
- }, y = s || i || c;
380
+ }, b = s || o || a;
382
381
  return /* @__PURE__ */ l(E, { sx: { bgcolor: "background.paper" }, children: [
383
382
  /* @__PURE__ */ e(
384
383
  F,
385
384
  {
386
- endIcon: y ? /* @__PURE__ */ e(
385
+ endIcon: b ? /* @__PURE__ */ e(
387
386
  K,
388
387
  {
389
388
  sx: {
@@ -401,12 +400,12 @@ const ye = x(() => {
401
400
  },
402
401
  n.guid
403
402
  ),
404
- y && /* @__PURE__ */ e(_e, { in: _, children: /* @__PURE__ */ l(E, { sx: { bgcolor: "background.paper" }, children: [
403
+ b && /* @__PURE__ */ e(_e, { in: _, children: /* @__PURE__ */ l(E, { sx: { bgcolor: "background.paper" }, children: [
405
404
  s && /* @__PURE__ */ e(
406
405
  P,
407
406
  {
408
- isChecked: !a && n.email_channel && !!m.email,
409
- isDisabled: a || !m.email,
407
+ isChecked: !c && n.email_channel && !!m.email,
408
+ isDisabled: c || !m.email,
410
409
  onToggle: () => p({
411
410
  ...n,
412
411
  email_channel: !n.email_channel
@@ -414,8 +413,8 @@ const ye = x(() => {
414
413
  primaryText: t.delivery_method_email_label
415
414
  }
416
415
  ),
417
- s && (i || c) && /* @__PURE__ */ e(v, { sx: { ml: 48 } }),
418
- i && /* @__PURE__ */ e(
416
+ s && (o || a) && /* @__PURE__ */ e(T, { sx: { ml: 48 } }),
417
+ o && /* @__PURE__ */ e(
419
418
  P,
420
419
  {
421
420
  isChecked: !d && n.sms_channel && !!m.phone,
@@ -427,12 +426,12 @@ const ye = x(() => {
427
426
  primaryText: t.delivery_method_sms_label
428
427
  }
429
428
  ),
430
- i && c && /* @__PURE__ */ e(v, { sx: { ml: 48 } }),
431
- c && /* @__PURE__ */ e(
429
+ o && a && /* @__PURE__ */ e(T, { sx: { ml: 48 } }),
430
+ a && /* @__PURE__ */ e(
432
431
  P,
433
432
  {
434
- isChecked: !o && n.push_channel,
435
- isDisabled: o,
433
+ isChecked: !i && n.push_channel,
434
+ isDisabled: i,
436
435
  onToggle: () => p({
437
436
  ...n,
438
437
  push_channel: !n.push_channel
@@ -441,61 +440,61 @@ const ye = x(() => {
441
440
  }
442
441
  )
443
442
  ] }) }),
444
- /* @__PURE__ */ e(v, {})
443
+ /* @__PURE__ */ e(T, {})
445
444
  ] }, n.guid);
446
- }), z = x(() => {
447
- const { budgetProfiles: n } = T();
445
+ }), z = C(() => {
446
+ const { budgetProfiles: n } = v();
448
447
  return /* @__PURE__ */ e(h, { children: n.map((t) => /* @__PURE__ */ e(q, { profile: t }, t.guid)) });
449
- }), Te = x(() => {
448
+ }), Pe = C(() => {
450
449
  const { onEvent: n } = ae(), { settings: t } = D(), {
451
450
  clientCommunicationProfile: s,
452
- updateUserCommunicationProfile: c,
453
- userCommunicationsProfile: i
454
- } = T(), { user: r } = w(), a = async (o, d) => {
455
- const m = { ...i, [o]: d };
451
+ updateUserCommunicationProfile: a,
452
+ userCommunicationsProfile: o
453
+ } = v(), { user: r } = A(), c = async (i, d) => {
454
+ const m = { ...o, [i]: d };
456
455
  if (n) {
457
- const u = o.split("_")[3];
456
+ const u = i.split("_")[3];
458
457
  d === !1 ? n("opt_in_notification_method", { notificationType: u }) : n("opt_out_notification_method", { notificationType: u });
459
458
  }
460
- await c(m);
459
+ await a(m);
461
460
  };
462
461
  return /* @__PURE__ */ l(h, { children: [
463
462
  /* @__PURE__ */ e(U, { sx: { mt: 24 }, children: t.delivery_method_title }),
464
- s.email_notifications_enabled && /* @__PURE__ */ l(M, { children: [
463
+ s.email_notifications_enabled && /* @__PURE__ */ l(B, { children: [
465
464
  /* @__PURE__ */ e(
466
465
  P,
467
466
  {
468
- isChecked: !!r.email && !i.opted_out_of_email_notifications,
467
+ isChecked: !!r.email && !o.opted_out_of_email_notifications,
469
468
  isDisabled: !r.email,
470
- onToggle: () => a(
469
+ onToggle: () => c(
471
470
  "opted_out_of_email_notifications",
472
- !i.opted_out_of_email_notifications
471
+ !o.opted_out_of_email_notifications
473
472
  ),
474
473
  primaryText: t.delivery_method_email_title,
475
- secondaryText: r.email && !i.opted_out_of_email_notifications ? t.notification_enabled : t.notification_disabled,
474
+ secondaryText: r.email && !o.opted_out_of_email_notifications ? t.notification_enabled : t.notification_disabled,
476
475
  useExtraPadding: !1
477
476
  }
478
477
  ),
479
- (s.sms_notifications_enabled || s.push_notifications_enabled) && /* @__PURE__ */ e(v, {})
478
+ (s.sms_notifications_enabled || s.push_notifications_enabled) && /* @__PURE__ */ e(T, {})
480
479
  ] }),
481
- s.sms_notifications_enabled && /* @__PURE__ */ l(M, { children: [
480
+ s.sms_notifications_enabled && /* @__PURE__ */ l(B, { children: [
482
481
  /* @__PURE__ */ e(
483
482
  P,
484
483
  {
485
- isChecked: !!r.phone && !i.opted_out_of_sms_notifications,
484
+ isChecked: !!r.phone && !o.opted_out_of_sms_notifications,
486
485
  isDisabled: !r.phone,
487
- onToggle: () => a("opted_out_of_sms_notifications", !i.opted_out_of_sms_notifications),
486
+ onToggle: () => c("opted_out_of_sms_notifications", !o.opted_out_of_sms_notifications),
488
487
  primaryText: t.delivery_method_sms_title,
489
- secondaryText: r.phone && !i.opted_out_of_sms_notifications ? t.notification_enabled : t.notification_disabled,
488
+ secondaryText: r.phone && !o.opted_out_of_sms_notifications ? t.notification_enabled : t.notification_disabled,
490
489
  useExtraPadding: !1
491
490
  }
492
491
  ),
493
- s.push_notifications_enabled && /* @__PURE__ */ e(v, {})
492
+ s.push_notifications_enabled && /* @__PURE__ */ e(T, {})
494
493
  ] }),
495
494
  s.push_notifications_enabled && /* @__PURE__ */ e(
496
495
  P,
497
496
  {
498
- isChecked: !i.opted_out_of_push_notifications,
497
+ isChecked: !o.opted_out_of_push_notifications,
499
498
  isDisabled: !0,
500
499
  onToggle: () => {
501
500
  },
@@ -506,34 +505,34 @@ const ye = x(() => {
506
505
  ),
507
506
  s.sms_notifications_enabled && /* @__PURE__ */ e(ue, { sx: { backgroundColor: "background.default", mt: 12 }, variant: "outlined", children: /* @__PURE__ */ e(pe, { children: /* @__PURE__ */ l(h, { alignItems: "flex-start", direction: "row", gap: 6, children: [
508
507
  /* @__PURE__ */ e(Q, { color: "primary", filled: !0 }),
509
- /* @__PURE__ */ e(b, { sx: { whiteSpace: "wrap" }, variant: "XSmall", children: t.delivery_method_sms_note_1 })
508
+ /* @__PURE__ */ e(x, { sx: { whiteSpace: "wrap" }, variant: "XSmall", children: t.delivery_method_sms_note_1 })
510
509
  ] }) }) })
511
510
  ] });
512
- }), $ = x(() => {
513
- const { insightsProfiles: n } = T();
514
- return console.log("insightsProfiles", n), /* @__PURE__ */ e(h, { children: n.map((t) => /* @__PURE__ */ e(q, { profile: t }, t.guid)) });
515
- }), Pe = () => {
516
- const { config: n } = W(), [t, { width: s }] = fe(), { common: c, settings: i } = D(), { updateUser: r } = T(), { user: a } = w(), [o, d] = f.useState(!1), [m, _] = f.useState({
517
- email: a.email,
518
- phone: a.phone
519
- }), u = m.email && !a.email_is_verified && !o, g = m.phone && !a.phone_is_verified && !o, p = (S) => {
520
- const { name: A, value: I } = S.target, j = { ...m, [A]: I };
521
- _(j), d(JSON.stringify({ ...a, ...j }) !== JSON.stringify(a));
522
- }, y = async () => {
523
- await r({ ...a, ...m }), d(!1);
511
+ }), $ = C(() => {
512
+ const { insightsProfiles: n } = v();
513
+ return /* @__PURE__ */ e(h, { children: n.map((t) => /* @__PURE__ */ e(q, { profile: t }, t.guid)) });
514
+ }), De = () => {
515
+ const { config: n } = W(), [t, { width: s }] = fe(), { common: a, settings: o } = D(), { updateUser: r } = v(), { user: c } = A(), [i, d] = f.useState(!1), [m, _] = f.useState({
516
+ email: c.email,
517
+ phone: c.phone
518
+ }), u = m.email && !c.email_is_verified && !i, g = m.phone && !c.phone_is_verified && !i, p = (S) => {
519
+ const { name: I, value: k } = S.target, j = { ...m, [I]: k };
520
+ _(j), d(JSON.stringify({ ...c, ...j }) !== JSON.stringify(c));
521
+ }, b = async () => {
522
+ await r({ ...c, ...m }), d(!1);
524
523
  };
525
524
  return /* @__PURE__ */ l(h, { ref: t, children: [
526
- /* @__PURE__ */ e(v, {}),
525
+ /* @__PURE__ */ e(T, {}),
527
526
  /* @__PURE__ */ l(h, { sx: { pt: 12 }, children: [
528
- /* @__PURE__ */ e(U, { sx: { lineHeight: "20px", pb: 4, pt: 16 }, children: i.personal_details }),
527
+ /* @__PURE__ */ e(U, { sx: { lineHeight: "20px", pb: 4, pt: 16 }, children: o.personal_details }),
529
528
  /* @__PURE__ */ l(h, { sx: { flexDirection: s <= 768 ? "column" : "row", gap: 24, py: 16 }, children: [
530
529
  n.display_email_edit_field_in_settings && /* @__PURE__ */ l(h, { sx: { flex: 1, pb: 14 }, children: [
531
530
  /* @__PURE__ */ e(
532
531
  L,
533
532
  {
534
- defaultValue: a.email,
533
+ defaultValue: c.email,
535
534
  fullWidth: !0,
536
- label: i.email_address,
535
+ label: o.email_address,
537
536
  name: "email",
538
537
  onChange: p
539
538
  }
@@ -550,7 +549,7 @@ const ye = x(() => {
550
549
  }
551
550
  }
552
551
  },
553
- children: /* @__PURE__ */ e(ye, {})
552
+ children: /* @__PURE__ */ e(be, {})
554
553
  }
555
554
  )
556
555
  ] }),
@@ -558,9 +557,9 @@ const ye = x(() => {
558
557
  /* @__PURE__ */ e(
559
558
  L,
560
559
  {
561
- defaultValue: a.phone,
560
+ defaultValue: c.phone,
562
561
  fullWidth: !0,
563
- label: i.mobile_number,
562
+ label: o.mobile_number,
564
563
  name: "phone",
565
564
  onChange: p
566
565
  }
@@ -577,7 +576,7 @@ const ye = x(() => {
577
576
  }
578
577
  }
579
578
  },
580
- children: /* @__PURE__ */ e(xe, {})
579
+ children: /* @__PURE__ */ e(Ce, {})
581
580
  }
582
581
  )
583
582
  ] })
@@ -585,71 +584,77 @@ const ye = x(() => {
585
584
  /* @__PURE__ */ e(
586
585
  R,
587
586
  {
588
- disabled: !o,
589
- onClick: y,
587
+ disabled: !i,
588
+ onClick: b,
590
589
  sx: { width: 84 },
591
590
  variant: "contained",
592
- children: c.save_button
591
+ children: a.save_button
593
592
  }
594
593
  )
595
594
  ] })
596
595
  ] });
597
- }, De = x(Pe), st = x(
598
- ({ notificationTypes: n = [], showPersonalDetails: t = !1, view: s }) => {
599
- const { config: c } = W(), { settings: i } = D(), { isInitialized: r } = le(), { clientCommunicationProfile: a, loadNotificationProfiles: o } = T(), [d, m] = f.useState(
596
+ }, Se = C(De), ct = C(
597
+ ({
598
+ showPersonalDetails: n = !1,
599
+ view: t
600
+ }) => {
601
+ const { config: s } = W(), { settings: a } = D(), { isInitialized: o } = ce(), { clientCommunicationProfile: r, loadNotificationProfiles: c } = v(), i = ge(), [d, m] = f.useState(
600
602
  void 0
601
- );
602
- if (f.useEffect(() => {
603
- r && o().finally();
604
- }, [r]), !r)
605
- return /* @__PURE__ */ e(ge, {});
606
- let _ = i.manage_account_notifications;
607
- d === C.Budgets ? _ = i.manage_budget_notifications : d === C.Insights && (_ = i.manage_insights_notifications);
603
+ ), _ = [
604
+ y.Accounts,
605
+ y.Budgets
606
+ ];
607
+ if (i && _.push(y.Insights), f.useEffect(() => {
608
+ o && c().finally();
609
+ }, [o]), !o)
610
+ return /* @__PURE__ */ e(ye, {});
611
+ let u = a.manage_account_notifications;
612
+ d === y.Budgets ? u = a.manage_budget_notifications : d === y.Insights && (u = a.manage_insights_notifications);
608
613
  const {
609
- email_notifications_enabled: u,
610
- sms_notifications_enabled: g,
611
- push_notifications_enabled: p
612
- } = a, y = u || g || p;
613
- if (s === "accounts")
614
+ email_notifications_enabled: g,
615
+ sms_notifications_enabled: p,
616
+ push_notifications_enabled: b
617
+ } = r, S = g || p || b;
618
+ if (t === "accounts")
614
619
  return /* @__PURE__ */ e(H, {});
615
- if (s === "budgets")
620
+ if (t === "budgets")
616
621
  return /* @__PURE__ */ e(z, {});
617
- if (s === "insights")
618
- return console.log("view is insights"), /* @__PURE__ */ e($, {});
619
- const S = c.display_email_edit_field_in_settings || c.display_sms_edit_field_in_settings, A = t && a.can_edit_contact_info && S;
620
- return /* @__PURE__ */ l(h, { sx: { pt: y ? 0 : 24 }, children: [
622
+ if (t === "insights")
623
+ return /* @__PURE__ */ e($, {});
624
+ const I = s.display_email_edit_field_in_settings || s.display_sms_edit_field_in_settings, k = n && r.can_edit_contact_info && I;
625
+ return /* @__PURE__ */ l(h, { sx: { pt: S ? 0 : 24 }, children: [
621
626
  /* @__PURE__ */ l(h, { sx: { px: 24 }, children: [
622
- y && /* @__PURE__ */ l(M, { children: [
623
- /* @__PURE__ */ e(Te, {}),
624
- /* @__PURE__ */ e(v, { sx: { my: 24 } })
627
+ S && /* @__PURE__ */ l(B, { children: [
628
+ /* @__PURE__ */ e(Pe, {}),
629
+ /* @__PURE__ */ e(T, { sx: { my: 24 } })
625
630
  ] }),
626
- /* @__PURE__ */ e(U, { sx: { mb: 4 }, children: i.notification_types_title })
631
+ /* @__PURE__ */ e(U, { sx: { mb: 4 }, children: a.notification_types_title })
627
632
  ] }),
628
633
  /* @__PURE__ */ l(E, { children: [
629
- n.includes(C.Accounts) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ l(V, { onClick: () => m(C.Accounts), children: [
630
- /* @__PURE__ */ e(N, { primary: i.accounts_title, secondary: i.accounts_subtitle }),
631
- /* @__PURE__ */ e(k, {})
634
+ _.includes(y.Accounts) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ l(V, { onClick: () => m(y.Accounts), children: [
635
+ /* @__PURE__ */ e(N, { primary: a.accounts_title, secondary: a.accounts_subtitle }),
636
+ /* @__PURE__ */ e(w, {})
632
637
  ] }) }),
633
- n.includes(C.Budgets) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ l(V, { onClick: () => m(C.Budgets), children: [
634
- /* @__PURE__ */ e(N, { primary: i.budgets_title, secondary: i.budgets_subtitle }),
635
- /* @__PURE__ */ e(k, {})
638
+ _.includes(y.Budgets) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ l(V, { onClick: () => m(y.Budgets), children: [
639
+ /* @__PURE__ */ e(N, { primary: a.budgets_title, secondary: a.budgets_subtitle }),
640
+ /* @__PURE__ */ e(w, {})
636
641
  ] }) }),
637
- n.includes(C.Insights) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ l(V, { onClick: () => m(C.Insights), children: [
638
- /* @__PURE__ */ e(N, { primary: i.insights_title, secondary: i.insights_subtitle }),
639
- /* @__PURE__ */ e(k, {})
642
+ _.includes(y.Insights) && /* @__PURE__ */ e(O, { children: /* @__PURE__ */ l(V, { onClick: () => m(y.Insights), children: [
643
+ /* @__PURE__ */ e(N, { primary: a.insights_title, secondary: a.insights_subtitle }),
644
+ /* @__PURE__ */ e(w, {})
640
645
  ] }) })
641
646
  ] }),
642
- A && /* @__PURE__ */ e(h, { sx: { px: 24 }, children: /* @__PURE__ */ e(De, {}) }),
647
+ k && /* @__PURE__ */ e(h, { sx: { px: 24 }, children: /* @__PURE__ */ e(Se, {}) }),
643
648
  /* @__PURE__ */ e(
644
649
  J,
645
650
  {
646
651
  isOpen: !!d,
647
652
  onClose: () => m(void 0),
648
- title: _,
653
+ title: u,
649
654
  children: /* @__PURE__ */ l(h, { children: [
650
- d === C.Accounts && /* @__PURE__ */ e(H, {}),
651
- d === C.Budgets && /* @__PURE__ */ e(z, {}),
652
- d === C.Insights && /* @__PURE__ */ e($, {})
655
+ d === y.Accounts && /* @__PURE__ */ e(H, {}),
656
+ d === y.Budgets && /* @__PURE__ */ e(z, {}),
657
+ d === y.Insights && /* @__PURE__ */ e($, {})
653
658
  ] })
654
659
  }
655
660
  )
@@ -660,7 +665,7 @@ export {
660
665
  H as A,
661
666
  z as B,
662
667
  $ as I,
663
- st as N,
664
- ye as V,
665
- xe as a
668
+ ct as N,
669
+ be as V,
670
+ Ce as a
666
671
  };