everest-npm-features 0.0.57 → 0.0.59

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 (103) hide show
  1. package/dist/{PlayArrow-jzz8Y3XD.js → PlayArrow-BlkZJiHn.js} +1 -1
  2. package/dist/{auth-jjVjqywi.js → auth-WhDJHZtr.js} +1 -1
  3. package/dist/{bank-BM66KfAv.js → bank-BaOrdTcI.js} +1 -1
  4. package/dist/components/RocketRamp/MinimalKyc/form.js +5 -4
  5. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  8. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  9. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  10. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  11. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  12. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  13. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  14. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  19. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  20. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  21. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  23. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  24. package/dist/components/Shared/FullKyc/edd.js +5 -4
  25. package/dist/components/Shared/FullKyc/index.js +4 -4
  26. package/dist/components/Shared/FullKyc/pep.js +1 -1
  27. package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
  28. package/dist/components/Shared/FullKyc/userInfo.js +3 -3
  29. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  30. package/dist/components/Shared/Sumsub/index.d.ts +5 -0
  31. package/dist/components/Shared/Sumsub/index.js +83 -0
  32. package/dist/components/Wallet/Account/createIban.js +4 -3
  33. package/dist/components/Wallet/Account/eWallet.d.ts +4 -2
  34. package/dist/components/Wallet/Account/eWallet.js +30 -28
  35. package/dist/components/Wallet/Account/iban.d.ts +4 -2
  36. package/dist/components/Wallet/Account/iban.js +30 -28
  37. package/dist/components/Wallet/Account/ibanItem.d.ts +4 -2
  38. package/dist/components/Wallet/Account/ibanItem.js +180 -175
  39. package/dist/components/Wallet/Account/index.js +191 -177
  40. package/dist/components/Wallet/Account/sendIban.js +11 -11
  41. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -5
  42. package/dist/components/Wallet/Buy/form.js +4 -4
  43. package/dist/components/Wallet/Buy/index.js +6 -6
  44. package/dist/components/Wallet/Deposit/index.js +4 -3
  45. package/dist/components/Wallet/EnterpriseKyc/edd.js +4 -3
  46. package/dist/components/Wallet/EnterpriseKyc/index.js +3 -3
  47. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +13 -12
  48. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +4 -3
  49. package/dist/components/Wallet/EnterpriseKyc/verify.js +4 -3
  50. package/dist/components/Wallet/History/index.js +2 -2
  51. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.d.ts +7 -13
  52. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +216 -231
  53. package/dist/components/Wallet/Portfolio/index.js +8 -7
  54. package/dist/components/Wallet/Portfolio/tokenRow.js +1 -1
  55. package/dist/components/Wallet/Profile/documents.js +15 -15
  56. package/dist/components/Wallet/Profile/index.js +4 -3
  57. package/dist/components/Wallet/Profile/storage.js +12 -12
  58. package/dist/components/Wallet/Receive/index.js +2 -2
  59. package/dist/components/Wallet/Sell/confirmTransaction.js +5 -4
  60. package/dist/components/Wallet/Sell/form.js +4 -4
  61. package/dist/components/Wallet/Sell/index.js +6 -6
  62. package/dist/components/Wallet/Send/index.js +14 -13
  63. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  64. package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
  65. package/dist/components/Wallet/Shared/CardCorp/index.js +4 -3
  66. package/dist/components/Wallet/Shared/addBank.js +5 -4
  67. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  68. package/dist/components/Wallet/Shared/manualSend.js +5 -4
  69. package/dist/components/Wallet/SignIn/index.js +2 -2
  70. package/dist/components/Wallet/SignUp/index.js +2 -2
  71. package/dist/components/Wallet/Stake/gems/index.d.ts +26 -2
  72. package/dist/components/Wallet/Stake/gems/index.js +74 -85
  73. package/dist/components/Wallet/Stake/id/index.d.ts +27 -1
  74. package/dist/components/Wallet/Stake/id/index.js +68 -78
  75. package/dist/components/Wallet/Stake/index.d.ts +4 -1
  76. package/dist/components/Wallet/Stake/index.js +233 -201
  77. package/dist/components/Wallet/Swap/form.js +7 -6
  78. package/dist/components/Wallet/Swap/index.js +5 -5
  79. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  80. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  81. package/dist/components/Wallet/Withdraw/form.js +4 -4
  82. package/dist/components/Wallet/Withdraw/index.js +5 -5
  83. package/dist/{constants-Dtk3Gd0Y.js → constants-DREDnCMu.js} +482 -481
  84. package/dist/{cryptoAssets-DT2afvDJ.js → cryptoAssets-DbyDgq4J.js} +1 -1
  85. package/dist/{index-BGJ8RVKA.js → index-BXutc9ik.js} +8 -7
  86. package/dist/index-CWoxdH_Z.js +543 -0
  87. package/dist/{index-CyPm8GTl.js → index-CuPCW3XC.js} +29 -29
  88. package/dist/{index-BUnkeQv6.js → index-DJ7xuxBy.js} +9 -8
  89. package/dist/{index-BEFNlxwM.js → index-DV1dVcrY.js} +31 -30
  90. package/dist/{index-B4pP4oLo.js → index-DYP5Ex_T.js} +9 -8
  91. package/dist/{index-JdlBukUO.js → index-PoMNqntN.js} +4 -4
  92. package/dist/index.esm-I_Bp2YLf.js +224 -0
  93. package/dist/kyc-D4s_B9Cf.js +33 -0
  94. package/dist/main.js +7 -7
  95. package/dist/{order-DuPcaU0K.js → order-DGBbo_Ox.js} +1 -1
  96. package/dist/{stake-WaB8Q4v-.js → stake-CdMc5H7D.js} +1 -1
  97. package/dist/{tokenRow-B-tustzZ.js → tokenRow-C-iMHhPj.js} +14 -12
  98. package/dist/util/constants.d.ts +5 -0
  99. package/dist/util/constants.js +105 -101
  100. package/dist/{wallet-BxwOFeSW.js → wallet-DvfdQOju.js} +10 -10
  101. package/package.json +4 -2
  102. package/dist/index-BU6Lajc_.js +0 -503
  103. package/dist/kyc-BOm2LCSg.js +0 -26
@@ -1,20 +1,20 @@
1
- import { jsx as e, Fragment as v, jsxs as o } from "react/jsx-runtime";
2
- import { useState as a, useMemo as B, useEffect as E } from "react";
3
- import "../../../constants-Dtk3Gd0Y.js";
4
- import { v as le } from "../../../order-DuPcaU0K.js";
5
- import z from "../Shared/appButton.js";
6
- import { C as se } from "../../../ContentCopy-coPwrEuz.js";
7
- import { C as O } from "../../../Close-CNwiMz_O.js";
8
- import L from "../../Shared/transition.js";
1
+ import { jsx as e, Fragment as I, jsxs as n } from "react/jsx-runtime";
2
+ import { useState as u, useMemo as f, useEffect as k } from "react";
3
+ import "../../../constants-DREDnCMu.js";
4
+ import { v as ye } from "../../../order-DGBbo_Ox.js";
5
+ import U from "../Shared/appButton.js";
6
+ import { C as be } from "../../../ContentCopy-coPwrEuz.js";
7
+ import { C as Y } from "../../../Close-CNwiMz_O.js";
8
+ import q from "../../Shared/transition.js";
9
9
  import "../../../index-DlQqWbXG.js";
10
10
  import "../../../hoc/withThemeProvider.js";
11
- import { u as $ } from "../../../react-redux-C7I9-1M6.js";
12
- import { GBP_ISO3 as ae, FEATURE_EWALLET as ce } from "../../../util/constants.js";
11
+ import { u as J } from "../../../react-redux-C7I9-1M6.js";
12
+ import { GBP_ISO3 as K, FEATURE_EWALLET as ge, EURO_ISO3 as Ce, SYNTHETIC_EUR as ve, SYNTHETIC_GBP as Ie } from "../../../util/constants.js";
13
13
  import "../Shared/Auth/otpForm.js";
14
- import { useSnackBarContext as V } from "../../../context/snackBarContext.js";
14
+ import { useSnackBarContext as ee } from "../../../context/snackBarContext.js";
15
15
  import "../../../util/conversions.js";
16
16
  import "../../../index-CAoLi5Qq.js";
17
- import ue from "../Shared/inputField.js";
17
+ import Te from "../Shared/inputField.js";
18
18
  import "../../../react-webcam-B3cXh1XT.js";
19
19
  import "../../../tooltip-3UvETWtS.js";
20
20
  import "../Shared/pin.js";
@@ -22,180 +22,185 @@ import "../../../moment-h96o7c8I.js";
22
22
  import "../../../index.esm-BsMAMhYW.js";
23
23
  import "../../../web3-u4qDZYpo.js";
24
24
  import "../../../index-ceeCtFuh.js";
25
- import de from "../Shared/CardCorp/index.js";
25
+ import Ne from "../Shared/CardCorp/index.js";
26
+ import "../../../index.esm-I_Bp2YLf.js";
26
27
  import "../../../context/dialogContext.js";
27
- import me from "./sendIban.js";
28
- import { G as p } from "../../../Grid-CFe3amXO.js";
29
- import { T as m } from "../../../Typography-pAaje37G.js";
30
- import { D as j, a as G } from "../../../DialogContent-BMwlOnbW.js";
31
- import { D as H } from "../../../DialogTitle-CfS0bb2K.js";
32
- import { I as S } from "../../../IconButton-DHm-hucF.js";
33
- import { B as D } from "../../../Box-B0YSYLco.js";
34
- import { C as pe } from "../../../CircularProgress-xZA3lvba.js";
28
+ import xe from "./sendIban.js";
29
+ import { G as T } from "../../../Grid-CFe3amXO.js";
30
+ import { D as Q, a as X } from "../../../DialogContent-BMwlOnbW.js";
31
+ import { D as Z } from "../../../DialogTitle-CfS0bb2K.js";
32
+ import { T as a } from "../../../Typography-pAaje37G.js";
33
+ import { I as z } from "../../../IconButton-DHm-hucF.js";
34
+ import { B as M } from "../../../Box-B0YSYLco.js";
35
+ import { C as D } from "../../../CircularProgress-xZA3lvba.js";
35
36
  const i = ({
36
- label: x,
37
+ label: N,
37
38
  value: r,
38
- showCopyBtn: k
39
+ showCopyBtn: x
39
40
  }) => {
40
- const { showAlertMessage: I } = V();
41
- return /* @__PURE__ */ o(v, { children: [
42
- /* @__PURE__ */ e(p, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: x }) }),
43
- /* @__PURE__ */ o(p, { size: 7, className: "fw500 text-left d-flex items-center", children: [
41
+ const { showAlertMessage: B } = ee();
42
+ return /* @__PURE__ */ n(I, { children: [
43
+ /* @__PURE__ */ e(T, { size: 5, className: "d-flex items-center", children: /* @__PURE__ */ e("strong", { children: N }) }),
44
+ /* @__PURE__ */ n(T, { size: 7, className: "fw500 text-left d-flex items-center", children: [
44
45
  r,
45
- k && /* @__PURE__ */ e(S, { onClick: () => {
46
- navigator.clipboard.writeText(r), I({
47
- message: `${x} has been copied successfully.`,
46
+ x && /* @__PURE__ */ e(z, { onClick: () => {
47
+ navigator.clipboard.writeText(r), B({
48
+ message: `${N} has been copied successfully.`,
48
49
  type: "success"
49
50
  });
50
- }, children: /* @__PURE__ */ e(se, { fontSize: "small", color: "primary" }) })
51
+ }, children: /* @__PURE__ */ e(be, { fontSize: "small", color: "primary" }) })
51
52
  ] })
52
53
  ] });
53
- }, Je = ({
54
- AccountItem: x,
54
+ }, sr = ({
55
+ AccountItem: N,
55
56
  data: r,
56
- appKey: k,
57
- appKeyEur: I,
58
- paymentWidgetSrcUrl: c,
59
- dispatch: F,
60
- iban: q,
61
- navigate: J,
62
- from: K
57
+ appKey: x,
58
+ appKeyEur: B,
59
+ paymentWidgetSrcUrl: m,
60
+ dispatch: L,
61
+ iban: re,
62
+ navigate: Be,
63
+ from: ne,
64
+ tokenData: l
63
65
  }) => {
64
- var _;
65
- const [Q, M] = a(!1), [X, Y] = a(!1), [f, U] = a(!1), [P, T] = a(""), [N, h] = a(null), [R, y] = a(null), [u, l] = a(!1), { showAlertMessage: b } = V(), s = K === ce, C = $(
66
- (t) => t.order
67
- ), w = C.v4Payment ?? null, g = C.v4PaymentLoader ?? !1, Z = $((t) => t.session.uuid), ee = () => {
68
- T(""), h(null), y(null), l(!1), U(!0);
66
+ var $;
67
+ const [oe, R] = u(!1), [te, le] = u(!1), [h, O] = u(!1), [P, w] = u(""), [A, y] = u(null), [_, b] = u(null), [p, s] = u(!1), { showAlertMessage: g } = ee(), c = ne === ge, C = J(
68
+ (o) => o.order
69
+ ), E = C.v4Payment ?? null, v = C.v4PaymentLoader ?? !1, ie = J((o) => o.session.uuid), se = (l == null ? void 0 : l.loader) ?? !1, ce = () => {
70
+ w(""), y(null), b(null), s(!1), O(!0);
69
71
  }, W = () => {
70
- U(!1), T(""), h(null), y(null), l(!1);
71
- }, re = () => {
72
- const t = Number(P);
73
- if (!P || Number.isNaN(t) || t <= 0) {
74
- b({
72
+ O(!1), w(""), y(null), b(null), s(!1);
73
+ }, ue = () => {
74
+ const o = Number(P);
75
+ if (!P || Number.isNaN(o) || o <= 0) {
76
+ g({
75
77
  message: "Please enter a valid amount greater than zero.",
76
78
  type: "error"
77
79
  });
78
80
  return;
79
81
  }
80
- if (!k) {
81
- b({
82
+ if (!x) {
83
+ g({
82
84
  message: "Unable to identify application key.",
83
85
  type: "error"
84
86
  });
85
87
  return;
86
88
  }
87
- if (!I) {
88
- b({
89
+ if (!B) {
90
+ g({
89
91
  message: "Unable to identify application EUR key.",
90
92
  type: "error"
91
93
  });
92
94
  return;
93
95
  }
94
- const ie = Math.round(t * 100);
95
- F(
96
- le({
97
- apiKey: I,
96
+ const G = Math.round(o * 100);
97
+ L(
98
+ ye({
99
+ apiKey: B,
98
100
  ccy: "EUR",
99
101
  transaction_type: "CHECKOUT",
100
- amount: ie,
101
- uuid: Z ?? void 0
102
+ amount: G,
103
+ uuid: ie ?? void 0
102
104
  })
103
- ), l(!0);
104
- }, oe = () => {
105
- if (s) {
106
- ee();
105
+ ), s(!0);
106
+ }, ae = () => {
107
+ if (c) {
108
+ ce();
107
109
  return;
108
110
  }
109
- M(!0);
110
- }, n = B(() => w ?? null, [w]), d = B(() => {
111
- var t;
112
- return n ? (n == null ? void 0 : n.checkout_id) ?? ((t = n == null ? void 0 : n.order) == null ? void 0 : t.provider_token) ?? (n == null ? void 0 : n.provider_token) ?? null : null;
113
- }, [n]), A = ((_ = n == null ? void 0 : n.order) == null ? void 0 : _.order_id) ?? null, ne = B(() => c ? c.endsWith("/") ? c : `${c}/` : "", [c]), te = B(() => R ? `/?paymentId=${encodeURIComponent(R)}` : "/", [R]);
114
- return E(() => {
115
- u && d && (h(d), y(A ?? null), l(!1));
116
- }, [u, d, A]), E(() => {
117
- u && f && (!d || N || (h(d), y(A ?? null), l(!1)));
111
+ R(!0);
112
+ }, t = f(() => E ?? null, [E]), d = f(() => {
113
+ var o;
114
+ return t ? (t == null ? void 0 : t.checkout_id) ?? ((o = t == null ? void 0 : t.order) == null ? void 0 : o.provider_token) ?? (t == null ? void 0 : t.provider_token) ?? null : null;
115
+ }, [t]), S = (($ = t == null ? void 0 : t.order) == null ? void 0 : $.order_id) ?? null, me = f(() => m ? m.endsWith("/") ? m : `${m}/` : "", [m]), F = f(() => {
116
+ const o = (l == null ? void 0 : l.list) ?? [];
117
+ if (!o.length) return null;
118
+ const H = {
119
+ [Ce]: ve,
120
+ [K]: Ie
121
+ }[(r.currency ?? "").toUpperCase()] ?? null;
122
+ if (!H) return null;
123
+ const j = o.find((he) => he.symbol === H);
124
+ if (!j) return null;
125
+ const V = parseFloat(
126
+ (j.fmt_balance ?? "0").toString().replaceAll(",", "")
127
+ );
128
+ return Number.isNaN(V) ? null : V / 100;
129
+ }, [l == null ? void 0 : l.list, r.currency]), pe = f(() => F == null ? "--" : `${F.toLocaleString(void 0, {
130
+ minimumFractionDigits: 2,
131
+ maximumFractionDigits: 2
132
+ })} ${r.currency ?? ""}`, [F, r.currency]), de = f(() => _ ? `/?paymentId=${encodeURIComponent(_)}` : "/", [_]);
133
+ k(() => {
134
+ p && d && (y(d), b(S ?? null), s(!1));
135
+ }, [p, d, S]), k(() => {
136
+ p && h && (!d || A || (y(d), b(S ?? null), s(!1)));
118
137
  }, [
119
- u,
120
- f,
138
+ p,
139
+ h,
121
140
  d,
122
- N,
123
- A
124
- ]), E(() => {
125
- s && (f || (T(""), h(null), y(null)));
126
- }, [s, f]), E(() => {
127
- if (u && !g) {
128
- if (w) {
129
- l(!1);
141
+ A,
142
+ S
143
+ ]), k(() => {
144
+ c && (h || (w(""), y(null), b(null)));
145
+ }, [c, h]), k(() => {
146
+ if (p && !v) {
147
+ if (E) {
148
+ s(!1);
130
149
  return;
131
150
  }
132
- C.error && (b({
151
+ C.error && (g({
133
152
  message: C.error,
134
153
  type: "error"
135
- }), l(!1));
154
+ }), s(!1));
136
155
  }
137
156
  }, [
138
- u,
139
- g,
140
- w,
157
+ p,
158
+ v,
159
+ E,
141
160
  C.error,
142
- b
143
- ]), /* @__PURE__ */ e(v, { children: r.accountNumber ? /* @__PURE__ */ o(v, { children: [
144
- /* @__PURE__ */ e(x, { type: "iban", data: r, children: /* @__PURE__ */ o(p, { my: 1, spacing: 2, container: !0, alignItems: "center", children: [
145
- /* @__PURE__ */ e(p, { size: { md: 6, xs: 12 }, children: /* @__PURE__ */ e(z, { fullWidth: !0, onClick: oe, children: s ? "Topup" : "Deposit" }) }),
146
- /* @__PURE__ */ e(
147
- p,
148
- {
149
- size: { md: 6, xs: 12 },
150
- sx: {
151
- display: "flex",
152
- justifyContent: { md: "flex-end", xs: "flex-start" },
153
- mt: { md: 0, xs: 1.5 }
154
- },
155
- children: /* @__PURE__ */ e(
156
- m,
157
- {
158
- component: "button",
159
- sx: {
160
- background: "none",
161
- border: "none",
162
- padding: 0,
163
- cursor: "pointer",
164
- color: "primary.main",
165
- textDecoration: "underline",
166
- fontSize: 14
167
- },
168
- onClick: () => J("/history"),
169
- children: "History"
170
- }
171
- )
172
- }
173
- )
174
- ] }) }),
175
- /* @__PURE__ */ o(
176
- j,
161
+ g
162
+ ]);
163
+ const fe = /* @__PURE__ */ n(M, { display: "flex", alignItems: "center", gap: 0.75, children: [
164
+ /* @__PURE__ */ e(a, { component: "span", sx: { fontSize: 14, color: "text.secondary" }, children: "Balance:" }),
165
+ se ? /* @__PURE__ */ e(D, { size: 16, color: "inherit" }) : /* @__PURE__ */ e(
166
+ a,
177
167
  {
178
- open: Q,
168
+ component: "span",
169
+ sx: {
170
+ fontSize: 16,
171
+ fontWeight: 700,
172
+ color: "primary.main"
173
+ },
174
+ children: pe
175
+ }
176
+ )
177
+ ] });
178
+ return /* @__PURE__ */ e(I, { children: r.accountNumber ? /* @__PURE__ */ n(I, { children: [
179
+ /* @__PURE__ */ e(N, { type: "iban", data: r, rightAdornment: fe, children: /* @__PURE__ */ e(T, { my: 1, spacing: 2, container: !0, alignItems: "center", children: /* @__PURE__ */ e(T, { size: { xs: 12 }, children: /* @__PURE__ */ e(U, { fullWidth: !0, onClick: ae, children: c ? "Topup" : "Deposit" }) }) }) }),
180
+ /* @__PURE__ */ n(
181
+ Q,
182
+ {
183
+ open: oe,
179
184
  fullWidth: !0,
180
- onClose: () => M(!1),
181
- TransitionComponent: L,
185
+ onClose: () => R(!1),
186
+ TransitionComponent: q,
182
187
  maxWidth: "md",
183
188
  children: [
184
- /* @__PURE__ */ o(H, { className: "buy-modal-text-color", children: [
185
- /* @__PURE__ */ e(m, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Deposit / Receive" }) }),
189
+ /* @__PURE__ */ n(Z, { className: "buy-modal-text-color", children: [
190
+ /* @__PURE__ */ e(a, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Deposit / Receive" }) }),
186
191
  /* @__PURE__ */ e(
187
- S,
192
+ z,
188
193
  {
189
194
  "aria-label": "close",
190
- onClick: () => M(!1),
195
+ onClick: () => R(!1),
191
196
  className: "menu-buttons",
192
- children: /* @__PURE__ */ e(O, {})
197
+ children: /* @__PURE__ */ e(Y, {})
193
198
  }
194
199
  )
195
200
  ] }),
196
- /* @__PURE__ */ o(G, { dividers: !0, children: [
197
- /* @__PURE__ */ e(m, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
198
- /* @__PURE__ */ o(p, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
201
+ /* @__PURE__ */ n(X, { dividers: !0, children: [
202
+ /* @__PURE__ */ e(a, { variant: "h5", align: "center", children: /* @__PURE__ */ e("strong", { children: "Account Details" }) }),
203
+ /* @__PURE__ */ n(T, { container: !0, spacing: 2, sx: { padding: "5% 15%" }, children: [
199
204
  /* @__PURE__ */ e(
200
205
  i,
201
206
  {
@@ -227,7 +232,7 @@ const i = ({
227
232
  showCopyBtn: !0
228
233
  }
229
234
  ),
230
- r.currency === ae && /* @__PURE__ */ o(v, { children: [
235
+ r.currency === K && /* @__PURE__ */ n(I, { children: [
231
236
  /* @__PURE__ */ e(
232
237
  i,
233
238
  {
@@ -258,51 +263,51 @@ const i = ({
258
263
  ]
259
264
  }
260
265
  ),
261
- s && /* @__PURE__ */ o(
262
- j,
266
+ c && /* @__PURE__ */ n(
267
+ Q,
263
268
  {
264
- open: f,
269
+ open: h,
265
270
  fullWidth: !0,
266
271
  maxWidth: "sm",
267
272
  onClose: W,
268
- TransitionComponent: L,
273
+ TransitionComponent: q,
269
274
  children: [
270
- /* @__PURE__ */ o(H, { className: "buy-modal-text-color", children: [
271
- /* @__PURE__ */ e(m, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "E-Wallet Topup" }) }),
275
+ /* @__PURE__ */ n(Z, { className: "buy-modal-text-color", children: [
276
+ /* @__PURE__ */ e(a, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "E-Wallet Topup" }) }),
272
277
  /* @__PURE__ */ e(
273
- S,
278
+ z,
274
279
  {
275
280
  "aria-label": "close",
276
281
  onClick: W,
277
282
  className: "menu-buttons",
278
- children: /* @__PURE__ */ e(O, {})
283
+ children: /* @__PURE__ */ e(Y, {})
279
284
  }
280
285
  )
281
286
  ] }),
282
- /* @__PURE__ */ e(G, { dividers: !0, children: N ? /* @__PURE__ */ o(D, { mt: 2, children: [
283
- /* @__PURE__ */ e(m, { variant: "body1", mb: 2, children: "Complete your payment using the secure widget below." }),
287
+ /* @__PURE__ */ e(X, { dividers: !0, children: A ? /* @__PURE__ */ n(M, { mt: 2, children: [
288
+ /* @__PURE__ */ e(a, { variant: "body1", mb: 2, children: "Complete your payment using the secure widget below." }),
284
289
  /* @__PURE__ */ e(
285
- de,
290
+ Ne,
286
291
  {
287
- checkoutId: N,
288
- srcUrl: ne,
289
- onResultUrl: te
292
+ checkoutId: A,
293
+ srcUrl: me,
294
+ onResultUrl: de
290
295
  }
291
296
  )
292
- ] }) : /* @__PURE__ */ o(v, { children: [
293
- /* @__PURE__ */ e(m, { variant: "body1", children: "Enter the amount you would like to add to this E-Wallet." }),
297
+ ] }) : /* @__PURE__ */ n(I, { children: [
298
+ /* @__PURE__ */ e(a, { variant: "body1", children: "Enter the amount you would like to add to this E-Wallet." }),
294
299
  /* @__PURE__ */ e(
295
- ue,
300
+ Te,
296
301
  {
297
302
  label: "Topup Amount",
298
303
  type: "number",
299
304
  value: P,
300
- onChangeHandler: (t) => T(t),
305
+ onChangeHandler: (o) => w(o),
301
306
  inputProps: { min: "0", step: "0.01" }
302
307
  }
303
308
  ),
304
- /* @__PURE__ */ o(
305
- D,
309
+ /* @__PURE__ */ n(
310
+ M,
306
311
  {
307
312
  mt: 4,
308
313
  display: "flex",
@@ -310,22 +315,22 @@ const i = ({
310
315
  gap: 2,
311
316
  children: [
312
317
  /* @__PURE__ */ e(
313
- z,
318
+ U,
314
319
  {
315
320
  variantType: "secondary",
316
321
  onClick: W,
317
- disabled: g,
322
+ disabled: v,
318
323
  children: "Cancel"
319
324
  }
320
325
  ),
321
326
  /* @__PURE__ */ e(
322
- z,
327
+ U,
323
328
  {
324
- onClick: re,
325
- disabled: g,
326
- children: /* @__PURE__ */ o("strong", { children: [
327
- g ? /* @__PURE__ */ e(
328
- pe,
329
+ onClick: ue,
330
+ disabled: v,
331
+ children: /* @__PURE__ */ n("strong", { children: [
332
+ v ? /* @__PURE__ */ e(
333
+ D,
329
334
  {
330
335
  size: 18,
331
336
  color: "inherit",
@@ -344,18 +349,18 @@ const i = ({
344
349
  }
345
350
  ),
346
351
  /* @__PURE__ */ e(
347
- me,
352
+ xe,
348
353
  {
349
- iban: q,
354
+ iban: re,
350
355
  data: r,
351
- dispatch: F,
352
- appKey: k,
353
- openModal: X,
354
- setOpenModal: Y
356
+ dispatch: L,
357
+ appKey: x,
358
+ openModal: te,
359
+ setOpenModal: le
355
360
  }
356
361
  )
357
- ] }) : /* @__PURE__ */ o(
358
- D,
362
+ ] }) : /* @__PURE__ */ n(
363
+ M,
359
364
  {
360
365
  className: "text-center",
361
366
  sx: {
@@ -366,13 +371,13 @@ const i = ({
366
371
  borderRadius: "5px"
367
372
  },
368
373
  children: [
369
- /* @__PURE__ */ o("p", { children: [
374
+ /* @__PURE__ */ n("p", { children: [
370
375
  r.currency,
371
376
  " ",
372
- s ? "E-Wallet" : "Virtual IBAN",
377
+ c ? "E-Wallet" : "Virtual IBAN",
373
378
  " creation is in progress. Please wait while we generate your",
374
379
  " ",
375
- s ? "E-Wallet" : "Virtual IBAN",
380
+ c ? "E-Wallet" : "Virtual IBAN",
376
381
  "."
377
382
  ] }),
378
383
  /* @__PURE__ */ e("p", { children: "This may take a few moments. Thank you for your patience!" })
@@ -381,5 +386,5 @@ const i = ({
381
386
  ) });
382
387
  };
383
388
  export {
384
- Je as default
389
+ sr as default
385
390
  };