everest-npm-features 0.0.63 → 0.0.64

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 (98) hide show
  1. package/dist/{PlayArrow-71FP5PzJ.js → PlayArrow-WUr_Eyo1.js} +5 -5
  2. package/dist/assets/styles2.css +1 -1
  3. package/dist/{auth-BBeOw4mt.js → auth-Cg-RJNB1.js} +1 -1
  4. package/dist/bank-CPJa0NOE.js +47 -0
  5. package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  8. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  9. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  10. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  11. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  12. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  13. package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
  14. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  20. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  21. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  24. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  25. package/dist/components/Shared/FullKyc/countryList.js +33 -30
  26. package/dist/components/Shared/FullKyc/edd.js +3 -3
  27. package/dist/components/Shared/FullKyc/index.js +11 -10
  28. package/dist/components/Shared/FullKyc/pep.js +68 -64
  29. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  30. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  31. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  32. package/dist/components/Shared/Sumsub/index.js +2 -2
  33. package/dist/components/Wallet/Account/createIban.js +15 -540
  34. package/dist/components/Wallet/Account/eWallet.js +7 -7
  35. package/dist/components/Wallet/Account/iban.js +77 -56
  36. package/dist/components/Wallet/Account/ibanItem.js +3 -3
  37. package/dist/components/Wallet/Account/index.js +216 -181
  38. package/dist/components/Wallet/Account/sendIban.js +2 -2
  39. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -6
  40. package/dist/components/Wallet/Buy/form.js +5 -5
  41. package/dist/components/Wallet/Buy/index.js +6 -6
  42. package/dist/components/Wallet/Deposit/index.js +2 -2
  43. package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
  44. package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
  45. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
  46. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
  47. package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
  48. package/dist/components/Wallet/History/index.js +2 -2
  49. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +11 -11
  50. package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
  51. package/dist/components/Wallet/Portfolio/index.js +5 -5
  52. package/dist/components/Wallet/Profile/documents.js +37 -37
  53. package/dist/components/Wallet/Profile/index.js +5 -5
  54. package/dist/components/Wallet/Profile/storage.js +14 -14
  55. package/dist/components/Wallet/Receive/index.js +3 -3
  56. package/dist/components/Wallet/Sell/confirmTransaction.js +5 -5
  57. package/dist/components/Wallet/Sell/form.js +5 -5
  58. package/dist/components/Wallet/Sell/index.js +6 -6
  59. package/dist/components/Wallet/Send/index.js +36 -36
  60. package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
  61. package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
  62. package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
  63. package/dist/components/Wallet/Shared/addBank.js +4 -4
  64. package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
  65. package/dist/components/Wallet/Shared/manualSend.js +4 -4
  66. package/dist/components/Wallet/SignIn/index.js +3 -3
  67. package/dist/components/Wallet/SignUp/index.js +3 -3
  68. package/dist/components/Wallet/Stake/gems/index.js +34 -31
  69. package/dist/components/Wallet/Stake/id/index.js +12 -9
  70. package/dist/components/Wallet/Stake/index.js +6 -6
  71. package/dist/components/Wallet/Swap/form.js +7 -7
  72. package/dist/components/Wallet/Swap/index.js +5 -5
  73. package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
  74. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  75. package/dist/components/Wallet/Withdraw/form.js +4 -4
  76. package/dist/components/Wallet/Withdraw/index.js +5 -5
  77. package/dist/{constants-DX0YBtP2.js → constants-BRS2liAt.js} +214 -212
  78. package/dist/createIban-DKoCQ4o3.js +573 -0
  79. package/dist/{cryptoAssets-B8rAI7pp.js → cryptoAssets-BD0cJpXM.js} +1 -1
  80. package/dist/{index-JY6-UKlX.js → index-BUtxhHso.js} +87 -86
  81. package/dist/{index-B4XvACQN.js → index-C2weAjLp.js} +70 -69
  82. package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
  83. package/dist/{index-_fiTunwZ.js → index-CZhiRUiE.js} +4 -4
  84. package/dist/{index-DuWW5roi.js → index-D7Eq-pbC.js} +65 -64
  85. package/dist/{index-DkiQ8pRO.js → index-DX8IEulu.js} +52 -52
  86. package/dist/{index-bK14vCZw.js → index-hgn4Pjw3.js} +5 -5
  87. package/dist/index-oPbOSCUk.js +545 -0
  88. package/dist/{kyc-BNMPoeHt.js → kyc-C7NviI9l.js} +1 -1
  89. package/dist/main.js +7 -7
  90. package/dist/{order-BXeCIvqC.js → order-DBuLYKfx.js} +1 -1
  91. package/dist/{otpForm-DeeegaX2.js → otpForm-DhVp5Gvi.js} +2 -2
  92. package/dist/{stake-BO2TYVJ7.js → stake-DGXpiw_Y.js} +1 -1
  93. package/dist/styles.module-C99UuHOT.js +22 -0
  94. package/dist/{wallet-BPXOp8UG.js → wallet-BLx0XKpK.js} +1 -1
  95. package/package.json +7 -7
  96. package/dist/bank-HVb0GFsa.js +0 -37
  97. package/dist/index-CTPMPwYK.js +0 -533
  98. package/dist/styles.module-C1sNeKjL.js +0 -22
@@ -1,31 +1,31 @@
1
- import { jsxs as n, Fragment as Z, jsx as e } from "react/jsx-runtime";
2
- import { useState as W, useEffect as c } from "react";
3
- import { u as h } from "../../../react-redux-C7I9-1M6.js";
4
- import "../../../constants-DX0YBtP2.js";
5
- import { u as de, c as ue, d as pe } from "../../../index-BQNs1mvn.js";
6
- import { u as he, a as fe, b as ge, c as be, d as _e, e as xe, g as Ne } from "../../../wallet-BPXOp8UG.js";
7
- import { u as We, c as Ce, d as we, e as ke } from "../../../bank-HVb0GFsa.js";
8
- import { Box as r, Grid as m, Typography as l, IconButton as C, CircularProgress as w, Button as ve, Stack as Ie, Dialog as De, DialogTitle as ye, DialogContent as Ae } from "@mui/material";
9
- import { LINKED_WALLET_TOOLTIP as Te, CONNECTED_WALLET_TOOLTIP as Le, BRAND_VORTEX_ID as Be, WALLET_ICON as Re, DELETE_ICON as Se } from "../../../util/constants.js";
10
- import { M as U } from "../../../tooltip-BW0UyWw7.js";
11
- import { I as ee } from "../../../Info-DOoRR7sR.js";
12
- import { C as Ee } from "../../../Cancel-pHQsCjtK.js";
13
- import { D as qe } from "../../../Delete-Bj8zmXnh.js";
14
- import { C as ze } from "../../../Close-DSxLLo08.js";
15
- import Pe from "../../Shared/transition.js";
16
- import te from "../Shared/inputField.js";
17
- import Oe from "../Shared/addBank.js";
18
- import $e from "../Shared/connectPlaidBank.js";
19
- import Me from "../Shared/ConnectWallet/index.js";
20
- import He from "./iban.js";
21
- import je from "./eWallet.js";
22
- import { useSnackBarContext as Fe } from "../../../context/snackBarContext.js";
23
- import ne from "../Shared/appButton.js";
24
- import { AuthInnerContainer as S } from "../Shared/Container/index.js";
1
+ import { jsxs as o, Fragment as ne, jsx as e } from "react/jsx-runtime";
2
+ import { useState as w, useEffect as c } from "react";
3
+ import { u as m } from "../../../react-redux-C7I9-1M6.js";
4
+ import { a as ge, ai as be } from "../../../constants-BRS2liAt.js";
5
+ import { u as _e, c as xe, d as Ne, p as Ce } from "../../../index-CREgBh59.js";
6
+ import { u as ye, a as we, b as We, c as Ie, d as Ae, e as ke, g as ve } from "../../../wallet-BLx0XKpK.js";
7
+ import { u as De, c as Se, d as oe, e as Te, f as Re } from "../../../bank-CPJa0NOE.js";
8
+ import { Box as i, Grid as d, Typography as l, IconButton as W, CircularProgress as I, Button as Be, Stack as Ee, Dialog as Le, DialogTitle as Oe, DialogContent as Pe } from "@mui/material";
9
+ import { DIALOG_ERROR_ICON as qe, LINKED_WALLET_TOOLTIP as ze, CONNECTED_WALLET_TOOLTIP as $e, BRAND_VORTEX_ID as Me, WALLET_ICON as Fe, DELETE_ICON as He } from "../../../util/constants.js";
10
+ import { M as se } from "../../../tooltip-BW0UyWw7.js";
11
+ import { I as re } from "../../../Info-DOoRR7sR.js";
12
+ import { C as Ve } from "../../../Cancel-pHQsCjtK.js";
13
+ import { D as je } from "../../../Delete-Bj8zmXnh.js";
14
+ import { C as Ge } from "../../../Close-DSxLLo08.js";
15
+ import Ke from "../../Shared/transition.js";
16
+ import ae from "../Shared/inputField.js";
17
+ import Ye from "../Shared/addBank.js";
18
+ import Ue from "../Shared/connectPlaidBank.js";
19
+ import Xe from "../Shared/ConnectWallet/index.js";
20
+ import Je from "./iban.js";
21
+ import Qe from "./eWallet.js";
22
+ import { useSnackBarContext as Ze } from "../../../context/snackBarContext.js";
23
+ import ie from "../Shared/appButton.js";
24
+ import { AuthInnerContainer as O } from "../Shared/Container/index.js";
25
25
  import "../../../index-DlQqWbXG.js";
26
- import Ge from "../../../hoc/withThemeProvider.js";
27
- import "../../../otpForm-DeeegaX2.js";
28
- import Ke from "../../../hooks/useEverestDispatch.js";
26
+ import et from "../../../hoc/withThemeProvider.js";
27
+ import "../../../otpForm-DhVp5Gvi.js";
28
+ import tt from "../../../hooks/useEverestDispatch.js";
29
29
  import "../../../util/conversions.js";
30
30
  import "../../../index-CAoLi5Qq.js";
31
31
  import "../../../react-webcam-B3cXh1XT.js";
@@ -33,12 +33,13 @@ import "../../../moment-h96o7c8I.js";
33
33
  import "../../../index.esm-BsMAMhYW.js";
34
34
  import "../../../index-ceeCtFuh.js";
35
35
  import "../../../index.esm-I_Bp2YLf.js";
36
- import { useDialogContext as Ve } from "../../../context/dialogContext.js";
36
+ import { useDialogContext as nt } from "../../../context/dialogContext.js";
37
37
  import "@mui/icons-material";
38
- import '../../../assets/index3.css';const Xe = "_container_arwo8_1", Je = "_heading_arwo8_27", a = {
39
- container: Xe,
38
+ import { c as ot } from "../../../createIban-DKoCQ4o3.js";
39
+ import '../../../assets/index3.css';const st = "_container_arwo8_1", rt = "_heading_arwo8_27", r = {
40
+ container: st,
40
41
  "inner-container": "_inner-container_arwo8_13",
41
- heading: Je,
42
+ heading: rt,
42
43
  "account-item": "_account-item_arwo8_41",
43
44
  "account-item-text": "_account-item-text_arwo8_71",
44
45
  "primary-color": "_primary-color_arwo8_81",
@@ -47,89 +48,123 @@ import '../../../assets/index3.css';const Xe = "_container_arwo8_1", Je = "_head
47
48
  "remove-icon": "_remove-icon_arwo8_107",
48
49
  "delete-disable": "_delete-disable_arwo8_121",
49
50
  "confirm-edit": "_confirm-edit_arwo8_137"
50
- }, Qe = ({
51
- baseUrl: E,
51
+ }, at = ({
52
+ baseUrl: P,
52
53
  checkoutSdkKey: q,
53
54
  appKey: z,
54
- appKeyEur: P,
55
- paymentWidgetSrcUrl: O,
56
- navigate: $,
57
- brandId: M
55
+ appKeyEur: $,
56
+ paymentWidgetSrcUrl: M,
57
+ navigate: F,
58
+ brandId: H
58
59
  }) => {
59
- const o = Ke(), { showAlertMessage: i } = Fe(), { openDialog: k } = Ve(), v = h((t) => t.app.features), f = h(de), oe = f.loader, u = f.message, H = f.banks, j = f.iban, [F, G] = W(!1), [ae, g] = W(!1), [I, se] = W(""), [D, re] = W(""), K = h(ue), V = K.data, { error: y, message: A, loader: T } = K, X = h((t) => t.user.profile), J = X.tokens, L = X.everWalletAddress, Q = h(pe), b = Q.data, {
60
- error: B,
61
- message: R,
62
- loader: ie
63
- } = Q;
60
+ const n = tt(), { showAlertMessage: a } = Ze(), { openDialog: f } = nt(), A = m((t) => t.app.features), b = m(_e), ce = b.loader, h = b.message, V = b.banks, j = b.iban, [G, K] = w(!1), [le, _] = w(!1), [k, me] = w(""), [v, de] = w(""), Y = m(xe), U = Y.data, { error: D, message: S, loader: T } = Y, R = m(
61
+ (t) => t.user.profile
62
+ ), X = R.tokens, B = R.everWalletAddress, J = m(Ne), x = J.data, {
63
+ error: E,
64
+ message: L,
65
+ loader: ue
66
+ } = J, u = m(Ce), Q = m((t) => t.user), Z = Q.kyc.status, ee = Q.kyc.processComplete;
64
67
  c(() => {
65
- if (u) {
66
- G(!1);
67
- const t = typeof u == "string" ? u : String(u);
68
- (t.includes("created") || t.includes("successfully") || t.includes("Account")) && i({ message: t, type: "success" });
68
+ if (h) {
69
+ K(!1);
70
+ const t = typeof h == "string" ? h : String(h);
71
+ (t.includes("created") || t.includes("successfully") || t.includes("Account")) && a({ message: t, type: "success" });
69
72
  }
70
- }, [u]), c(() => {
71
- B && i({ message: B });
72
- }, [B]), c(() => {
73
- R && i({ message: R, type: "success" });
74
- }, [R]), c(() => {
75
- y && i({ message: y });
76
- }, [y]), c(() => {
77
- A && (g(!1), i({ message: A, type: "success" }));
78
- }, [A]), c(() => (V.length <= 0 && o(he()), b.length <= 0 && o(fe()), o(We()), o(Ce()), () => {
79
- o(ge("")), o(be(""));
73
+ }, [h]), c(() => {
74
+ E && a({ message: E });
75
+ }, [E]), c(() => {
76
+ L && a({ message: L, type: "success" });
77
+ }, [L]), c(() => {
78
+ D && a({ message: D });
79
+ }, [D]), c(() => {
80
+ S && (_(!1), a({ message: S, type: "success" }));
81
+ }, [S]), c(() => (U.length <= 0 && n(ye()), x.length <= 0 && n(we()), n(De()), n(Se()), () => {
82
+ n(We("")), n(Ie(""));
80
83
  }), []), c(() => {
81
- L && o(_e(L));
82
- }, [L, o]);
83
- const le = () => {
84
- if (!I)
85
- return i({ message: "Please provide the wallet name" }), !1;
86
- if (!D)
87
- return i({
84
+ B && n(Ae(B));
85
+ }, [B, n]), c(() => {
86
+ if (u.shouldAutoCreate && u.currency && ee) {
87
+ if (Z === ge || Z === be) {
88
+ f({
89
+ title: "Under Review",
90
+ message: "Your profile is currently being reviewed. If approved, you will have additional capabilities on the Everest platform.",
91
+ width: "550px",
92
+ cancelButtonShow: !1,
93
+ confirmButtonText: "Dismiss",
94
+ height: "270px"
95
+ });
96
+ return;
97
+ }
98
+ if (!ot.find(
99
+ (s) => s.alpha3 === R.residentialAddress.country
100
+ )) {
101
+ f({
102
+ title: "Not Allowed",
103
+ message: "Currently we are not supporting your country for Virtual IBAN.",
104
+ icon: qe,
105
+ width: "575px",
106
+ height: "450px",
107
+ confirmButtonText: "Continue",
108
+ cancelButtonShow: !1
109
+ });
110
+ return;
111
+ }
112
+ n(oe({ currency: u.currency })), a({
113
+ message: `Virtual IBAN for ${u.currency} is being created.`,
114
+ type: "success"
115
+ }), n(Te());
116
+ }
117
+ }, [u.shouldAutoCreate, u.currency, ee, n]);
118
+ const pe = () => {
119
+ if (!k)
120
+ return a({ message: "Please provide the wallet name" }), !1;
121
+ if (!v)
122
+ return a({
88
123
  message: "Please provide the wallet private key"
89
124
  }), !1;
90
- T || o(
91
- xe({
92
- name: I,
93
- privatekey: Buffer.from(D).toString("base64")
125
+ T || n(
126
+ ke({
127
+ name: k,
128
+ privatekey: Buffer.from(v).toString("base64")
94
129
  })
95
130
  );
96
- }, ce = (t) => {
97
- k({
98
- icon: Se,
131
+ }, fe = (t) => {
132
+ f({
133
+ icon: He,
99
134
  height: "450px",
100
135
  title: "Are you sure you want to delete?",
101
136
  message: "This action cannot be undone.",
102
137
  onConfirm: () => {
103
- o(ke(t));
138
+ n(Re(t));
104
139
  },
105
140
  cancelButtonShow: !0
106
141
  });
107
- }, p = ({
142
+ }, g = ({
108
143
  data: t,
109
144
  type: s,
110
- children: _,
111
- rightAdornment: d
145
+ children: N,
146
+ rightAdornment: p
112
147
  }) => {
113
- let x, N;
114
- return s === "connectedWallet" || s === "linkedWallet" ? "name" in t && "address" in t && (x = t.name, N = t.address) : s === "iban" ? "accountName" in t && "accountNumber" in t && (x = t.accountName, N = `${t.ownerFirstName} ${t.ownerLastName}: ${t.accountNumber}`) : "accountName" in t && "accountNumber" in t && (x = t.accountName, N = t.accountNumber), /* @__PURE__ */ n(r, { className: a["account-item"], children: [
115
- s === "bankAccount" && F && "id" in t && /* @__PURE__ */ e(
116
- C,
148
+ let C, y;
149
+ return s === "connectedWallet" || s === "linkedWallet" ? "name" in t && "address" in t && (C = t.name, y = t.address) : s === "iban" ? "accountName" in t && "accountNumber" in t && (C = t.accountName, y = `${t.ownerFirstName} ${t.ownerLastName}: ${t.accountNumber}`) : "accountName" in t && "accountNumber" in t && (C = t.accountName, y = t.accountNumber), /* @__PURE__ */ o(i, { className: r["account-item"], children: [
150
+ s === "bankAccount" && G && "id" in t && /* @__PURE__ */ e(
151
+ W,
117
152
  {
118
- className: a["remove-icon"],
119
- onClick: () => ce(t.id),
120
- children: /* @__PURE__ */ e(Ee, {})
153
+ className: r["remove-icon"],
154
+ onClick: () => fe(t.id),
155
+ children: /* @__PURE__ */ e(Ve, {})
121
156
  }
122
157
  ),
123
- /* @__PURE__ */ n(m, { container: !0, width: "100%", alignItems: "center", spacing: 1, children: [
124
- /* @__PURE__ */ e(m, { size: { xs: 2, md: 1 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: Re, alt: "Icon", height: 28, width: 28 }) }),
125
- /* @__PURE__ */ n(m, { size: { xs: 7, md: 7 }, children: [
158
+ /* @__PURE__ */ o(d, { container: !0, width: "100%", alignItems: "center", spacing: 1, children: [
159
+ /* @__PURE__ */ e(d, { size: { xs: 2, md: 1 }, className: "content-center", children: /* @__PURE__ */ e("img", { src: Fe, alt: "Icon", height: 28, width: 28 }) }),
160
+ /* @__PURE__ */ o(d, { size: { xs: 7, md: 7 }, children: [
126
161
  /* @__PURE__ */ e(
127
162
  l,
128
163
  {
129
164
  variant: "body1",
130
165
  component: "p",
131
- className: `${a["account-item-text"]} ${a["primary-color"]}`,
132
- children: /* @__PURE__ */ e("strong", { children: x })
166
+ className: `${r["account-item-text"]} ${r["primary-color"]}`,
167
+ children: /* @__PURE__ */ e("strong", { children: C })
133
168
  }
134
169
  ),
135
170
  /* @__PURE__ */ e(
@@ -137,56 +172,56 @@ import '../../../assets/index3.css';const Xe = "_container_arwo8_1", Je = "_head
137
172
  {
138
173
  variant: "caption",
139
174
  component: "p",
140
- className: `${a["account-item-text"]} ${a["secondary-color"]}`,
141
- children: /* @__PURE__ */ e("strong", { children: N })
175
+ className: `${r["account-item-text"]} ${r["secondary-color"]}`,
176
+ children: /* @__PURE__ */ e("strong", { children: y })
142
177
  }
143
178
  )
144
179
  ] }),
145
- d ? /* @__PURE__ */ e(
146
- m,
180
+ p ? /* @__PURE__ */ e(
181
+ d,
147
182
  {
148
183
  size: { xs: 3, md: 4 },
149
184
  sx: { display: "flex", justifyContent: "flex-end" },
150
- children: d
185
+ children: p
151
186
  }
152
187
  ) : null
153
188
  ] }),
154
- _
189
+ N
155
190
  ] });
156
- }, me = (t) => {
157
- const s = b.length;
158
- let _ = !1;
159
- for (let d = 0; d < s; d++)
160
- if (b[d].address.toLowerCase() === t.toLowerCase()) {
161
- _ = !0;
191
+ }, he = (t) => {
192
+ const s = x.length;
193
+ let N = !1;
194
+ for (let p = 0; p < s; p++)
195
+ if (x[p].address.toLowerCase() === t.toLowerCase()) {
196
+ N = !0;
162
197
  break;
163
198
  }
164
- _ ? i({
199
+ N ? a({
165
200
  message: "This wallet address is already connected."
166
- }) : o(Ne(t));
167
- }, Y = (t) => {
168
- o(we({ currency: t }));
201
+ }) : n(ve(t));
202
+ }, te = (t) => {
203
+ n(oe({ currency: t }));
169
204
  };
170
- return /* @__PURE__ */ n(Z, { children: [
171
- /* @__PURE__ */ e(r, { className: a.container, children: /* @__PURE__ */ n(m, { spacing: 2, container: !0, width: "100%", children: [
172
- /* @__PURE__ */ n(m, { size: { md: 6, xs: 12 }, children: [
173
- /* @__PURE__ */ n(S, { p: 3, children: [
205
+ return /* @__PURE__ */ o(ne, { children: [
206
+ /* @__PURE__ */ e(i, { className: r.container, children: /* @__PURE__ */ o(d, { spacing: 2, container: !0, width: "100%", children: [
207
+ /* @__PURE__ */ o(d, { size: { md: 6, xs: 12 }, children: [
208
+ /* @__PURE__ */ o(O, { p: 3, children: [
174
209
  /* @__PURE__ */ e(
175
210
  l,
176
211
  {
177
- className: a.heading,
212
+ className: r.heading,
178
213
  variant: "h6",
179
214
  component: "span",
180
215
  children: /* @__PURE__ */ e("strong", { children: "Linked Wallets" })
181
216
  }
182
217
  ),
183
218
  /* @__PURE__ */ e(
184
- U,
219
+ se,
185
220
  {
186
- title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children: Te }),
221
+ title: /* @__PURE__ */ e(i, { sx: { whiteSpace: "pre-line" }, children: ze }),
187
222
  placement: "bottom",
188
- children: /* @__PURE__ */ e(C, { className: a["info-icon"], children: /* @__PURE__ */ e(
189
- ee,
223
+ children: /* @__PURE__ */ e(W, { className: r["info-icon"], children: /* @__PURE__ */ e(
224
+ re,
190
225
  {
191
226
  sx: {
192
227
  fontSize: "26px",
@@ -196,35 +231,35 @@ import '../../../assets/index3.css';const Xe = "_container_arwo8_1", Je = "_head
196
231
  ) })
197
232
  }
198
233
  ),
199
- T && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
200
- V.map((t, s) => /* @__PURE__ */ e(p, { type: "linkedWallet", data: t }, s)),
234
+ T && /* @__PURE__ */ e(i, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(I, { size: 50 }) }),
235
+ U.map((t, s) => /* @__PURE__ */ e(g, { type: "linkedWallet", data: t }, s)),
201
236
  /* @__PURE__ */ e(
202
- ne,
237
+ ie,
203
238
  {
204
239
  sx: { mt: 4 },
205
- onClick: () => g(!0),
240
+ onClick: () => _(!0),
206
241
  fullWidth: !0,
207
242
  children: /* @__PURE__ */ e("strong", { children: "Add Wallet" })
208
243
  }
209
244
  )
210
245
  ] }),
211
- /* @__PURE__ */ n(S, { p: 3, mt: 2, children: [
246
+ /* @__PURE__ */ o(O, { p: 3, mt: 2, children: [
212
247
  /* @__PURE__ */ e(
213
248
  l,
214
249
  {
215
- className: a.heading,
250
+ className: r.heading,
216
251
  variant: "h6",
217
252
  component: "span",
218
253
  children: /* @__PURE__ */ e("strong", { children: "Connected Wallets" })
219
254
  }
220
255
  ),
221
256
  /* @__PURE__ */ e(
222
- U,
257
+ se,
223
258
  {
224
- title: /* @__PURE__ */ e(r, { sx: { whiteSpace: "pre-line" }, children: Le }),
259
+ title: /* @__PURE__ */ e(i, { sx: { whiteSpace: "pre-line" }, children: $e }),
225
260
  placement: "bottom",
226
- children: /* @__PURE__ */ e(C, { className: a["info-icon"], children: /* @__PURE__ */ e(
227
- ee,
261
+ children: /* @__PURE__ */ e(W, { className: r["info-icon"], children: /* @__PURE__ */ e(
262
+ re,
228
263
  {
229
264
  sx: {
230
265
  fontSize: "26px",
@@ -234,118 +269,118 @@ import '../../../assets/index3.css';const Xe = "_container_arwo8_1", Je = "_head
234
269
  ) })
235
270
  }
236
271
  ),
237
- ie && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
238
- b.map((t, s) => /* @__PURE__ */ e(p, { type: "connectedWallet", data: t }, s)),
272
+ ue && /* @__PURE__ */ e(i, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(I, { size: 50 }) }),
273
+ x.map((t, s) => /* @__PURE__ */ e(g, { type: "connectedWallet", data: t }, s)),
239
274
  /* @__PURE__ */ e(
240
- Me,
275
+ Xe,
241
276
  {
242
- addressHandler: me,
277
+ addressHandler: he,
243
278
  btnClass: "wallet-btn"
244
279
  }
245
280
  )
246
281
  ] })
247
282
  ] }),
248
- /* @__PURE__ */ n(m, { size: { md: 6, xs: 12 }, children: [
249
- v.eWallet && M !== Be && /* @__PURE__ */ e(r, { mb: 2, children: /* @__PURE__ */ e(
250
- je,
283
+ /* @__PURE__ */ o(d, { size: { md: 6, xs: 12 }, children: [
284
+ A.eWallet && H !== Me && /* @__PURE__ */ e(i, { mb: 2, children: /* @__PURE__ */ e(
285
+ Qe,
251
286
  {
252
- openDialog: k,
253
- dispatch: o,
287
+ openDialog: f,
288
+ dispatch: n,
254
289
  iban: j,
255
- baseUrl: E,
290
+ baseUrl: P,
256
291
  checkoutSdkKey: q,
257
292
  appKey: z,
258
- appKeyEur: P,
259
- paymentWidgetSrcUrl: O,
260
- navigate: $,
261
- AccountItem: p,
262
- createIbanRequest: Y,
263
- tokenData: J
293
+ appKeyEur: $,
294
+ paymentWidgetSrcUrl: M,
295
+ navigate: F,
296
+ AccountItem: g,
297
+ createIbanRequest: te,
298
+ tokenData: X
264
299
  }
265
300
  ) }),
266
- v.iban && /* @__PURE__ */ e(
267
- He,
301
+ A.iban && /* @__PURE__ */ e(
302
+ Je,
268
303
  {
269
- openDialog: k,
270
- dispatch: o,
304
+ openDialog: f,
305
+ dispatch: n,
271
306
  iban: j,
272
- baseUrl: E,
307
+ baseUrl: P,
273
308
  checkoutSdkKey: q,
274
309
  appKey: z,
275
- appKeyEur: P,
276
- paymentWidgetSrcUrl: O,
277
- navigate: $,
278
- AccountItem: p,
279
- createIbanRequest: Y,
280
- tokenData: J,
281
- brandId: M
310
+ appKeyEur: $,
311
+ paymentWidgetSrcUrl: M,
312
+ navigate: F,
313
+ AccountItem: g,
314
+ createIbanRequest: te,
315
+ tokenData: X,
316
+ brandId: H
282
317
  }
283
318
  ),
284
- /* @__PURE__ */ e(S, { mt: 2, children: /* @__PURE__ */ n(r, { p: 3, mt: v.iban ? 2 : 0, children: [
285
- /* @__PURE__ */ e(l, { className: a.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
286
- H.length > 0 && /* @__PURE__ */ n(
287
- ve,
319
+ /* @__PURE__ */ e(O, { mt: 2, children: /* @__PURE__ */ o(i, { p: 3, mt: A.iban ? 2 : 0, children: [
320
+ /* @__PURE__ */ e(l, { className: r.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Bank Accounts" }) }),
321
+ V.length > 0 && /* @__PURE__ */ o(
322
+ Be,
288
323
  {
289
- className: `${F ? a["delete-disable"] : a["confirm-edit"]} normal-text`,
324
+ className: `${G ? r["delete-disable"] : r["confirm-edit"]} normal-text`,
290
325
  sx: { mt: 3, mb: 3 },
291
326
  variant: "contained",
292
- onClick: () => G((t) => !t),
327
+ onClick: () => K((t) => !t),
293
328
  children: [
294
- /* @__PURE__ */ e(qe, {}),
329
+ /* @__PURE__ */ e(je, {}),
295
330
  "Delete"
296
331
  ]
297
332
  }
298
333
  ),
299
- oe && /* @__PURE__ */ e(r, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(w, { size: 50 }) }),
300
- H.map((t, s) => /* @__PURE__ */ e(p, { type: "bankAccount", data: t }, s)),
301
- /* @__PURE__ */ n(Ie, { mt: 4, gap: 1, children: [
302
- /* @__PURE__ */ e($e, {}),
334
+ ce && /* @__PURE__ */ e(i, { mt: 4, className: "flex-center", children: /* @__PURE__ */ e(I, { size: 50 }) }),
335
+ V.map((t, s) => /* @__PURE__ */ e(g, { type: "bankAccount", data: t }, s)),
336
+ /* @__PURE__ */ o(Ee, { mt: 4, gap: 1, children: [
337
+ /* @__PURE__ */ e(Ue, {}),
303
338
  /* @__PURE__ */ e(l, { className: "text-center", variant: "h6", children: /* @__PURE__ */ e("strong", { children: "OR" }) }),
304
- /* @__PURE__ */ e(Oe, {})
339
+ /* @__PURE__ */ e(Ye, {})
305
340
  ] })
306
341
  ] }) })
307
342
  ] })
308
343
  ] }) }),
309
- /* @__PURE__ */ n(
310
- De,
344
+ /* @__PURE__ */ o(
345
+ Le,
311
346
  {
312
347
  fullWidth: !0,
313
- open: ae,
314
- onClose: () => g(!1),
315
- TransitionComponent: Pe,
348
+ open: le,
349
+ onClose: () => _(!1),
350
+ TransitionComponent: Ke,
316
351
  children: [
317
- /* @__PURE__ */ n(ye, { className: "buy-modal-text-color", children: [
352
+ /* @__PURE__ */ o(Oe, { className: "buy-modal-text-color", children: [
318
353
  /* @__PURE__ */ e(l, { variant: "subtitle1", component: "p", children: /* @__PURE__ */ e("strong", { children: "Wallets" }) }),
319
354
  /* @__PURE__ */ e(
320
- C,
355
+ W,
321
356
  {
322
357
  "aria-label": "close",
323
- onClick: () => g(!1),
358
+ onClick: () => _(!1),
324
359
  className: "menu-buttons",
325
- children: /* @__PURE__ */ e(ze, {})
360
+ children: /* @__PURE__ */ e(Ge, {})
326
361
  }
327
362
  )
328
363
  ] }),
329
- /* @__PURE__ */ n(Ae, { dividers: !0, children: [
364
+ /* @__PURE__ */ o(Pe, { dividers: !0, children: [
330
365
  /* @__PURE__ */ e(l, { className: "text-center buy-modal-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Add Linked Wallet" }) }),
331
366
  /* @__PURE__ */ e(
332
- te,
367
+ ae,
333
368
  {
334
369
  label: "Name",
335
- value: I,
336
- onChangeHandler: (t) => se(t)
370
+ value: k,
371
+ onChangeHandler: (t) => me(t)
337
372
  }
338
373
  ),
339
374
  /* @__PURE__ */ e(
340
- te,
375
+ ae,
341
376
  {
342
377
  label: "Private Key",
343
- value: D,
344
- onChangeHandler: (t) => re(t)
378
+ value: v,
379
+ onChangeHandler: (t) => de(t)
345
380
  }
346
381
  ),
347
- /* @__PURE__ */ e(ne, { sx: { mt: 4 }, onClick: le, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: T ? /* @__PURE__ */ n(Z, { children: [
348
- /* @__PURE__ */ e(w, { size: 15, color: "inherit" }),
382
+ /* @__PURE__ */ e(ie, { sx: { mt: 4 }, onClick: pe, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: T ? /* @__PURE__ */ o(ne, { children: [
383
+ /* @__PURE__ */ e(I, { size: 15, color: "inherit" }),
349
384
  " Processing..."
350
385
  ] }) : "Import Wallet" }) })
351
386
  ] })
@@ -353,7 +388,7 @@ import '../../../assets/index3.css';const Xe = "_container_arwo8_1", Je = "_head
353
388
  }
354
389
  )
355
390
  ] });
356
- }, St = Ge(Qe);
391
+ }, jt = et(at);
357
392
  export {
358
- St as default
393
+ jt as default
359
394
  };
@@ -6,8 +6,8 @@ import { I as M } from "../../../Info-DOoRR7sR.js";
6
6
  import { u as O } from "../../../react-redux-C7I9-1M6.js";
7
7
  import H from "../../Shared/transition.js";
8
8
  import { M as J } from "../../../tooltip-BW0UyWw7.js";
9
- import { ad as K, ae as b } from "../../../constants-DX0YBtP2.js";
10
- import { s as L } from "../../../bank-HVb0GFsa.js";
9
+ import { af as K, ag as b } from "../../../constants-BRS2liAt.js";
10
+ import { s as L } from "../../../bank-CPJa0NOE.js";
11
11
  import { useSnackBarContext as Q } from "../../../context/snackBarContext.js";
12
12
  import V from "../Shared/appButton.js";
13
13
  import { EURO_ISO3 as T } from "../../../util/constants.js";
@@ -6,16 +6,16 @@ import "../../../util/functions.js";
6
6
  import "../../../util/constants.js";
7
7
  import "../../../styles.module-DMd29SPQ.js";
8
8
  import "../Shared/appButton.js";
9
- import "../../../constants-DX0YBtP2.js";
10
- import "../../../index-BQNs1mvn.js";
11
- import "../../../order-BXeCIvqC.js";
12
- import "../../../bank-HVb0GFsa.js";
13
- import { a as F } from "../../../index-DuWW5roi.js";
9
+ import "../../../constants-BRS2liAt.js";
10
+ import "../../../index-CREgBh59.js";
11
+ import "../../../order-DBuLYKfx.js";
12
+ import "../../../bank-CPJa0NOE.js";
13
+ import { a as F } from "../../../index-D7Eq-pbC.js";
14
14
  import "../../../index.esm-BsMAMhYW.js";
15
15
  import "../../../react-redux-C7I9-1M6.js";
16
16
  import "../../../index-DlQqWbXG.js";
17
17
  import "../../../hoc/withThemeProvider.js";
18
- import "../../../otpForm-DeeegaX2.js";
18
+ import "../../../otpForm-DhVp5Gvi.js";
19
19
  import "../../../context/snackBarContext.js";
20
20
  import "../../../util/conversions.js";
21
21
  import "../../../index-CAoLi5Qq.js";
@@ -1,17 +1,17 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "@mui/material";
4
- import "../../../PlayArrow-71FP5PzJ.js";
4
+ import "../../../PlayArrow-WUr_Eyo1.js";
5
5
  import "../../../Info-DOoRR7sR.js";
6
6
  import "../../../generic-token-B_ptO5yb.js";
7
7
  import "../../../util/constants.js";
8
- import "../../../constants-DX0YBtP2.js";
9
- import "../../../index-BQNs1mvn.js";
10
- import "../../../order-BXeCIvqC.js";
8
+ import "../../../constants-BRS2liAt.js";
9
+ import "../../../index-CREgBh59.js";
10
+ import "../../../order-DBuLYKfx.js";
11
11
  import "../../../tooltip-BW0UyWw7.js";
12
12
  import "../../../util/functions.js";
13
13
  import "../Shared/appButton.js";
14
- import { B as k } from "../../../index-DuWW5roi.js";
14
+ import { B as k } from "../../../index-D7Eq-pbC.js";
15
15
  import "../../../styles.module-DMd29SPQ.js";
16
16
  import "../Shared/TokenModal/index.js";
17
17
  import "../../../react-redux-C7I9-1M6.js";