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.
- package/dist/{PlayArrow-71FP5PzJ.js → PlayArrow-WUr_Eyo1.js} +5 -5
- package/dist/assets/styles2.css +1 -1
- package/dist/{auth-BBeOw4mt.js → auth-Cg-RJNB1.js} +1 -1
- package/dist/bank-CPJa0NOE.js +47 -0
- package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
- package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
- package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
- package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
- package/dist/components/RocketRamp/Transactions/index.js +2 -2
- package/dist/components/Shared/FullKyc/countryList.js +33 -30
- package/dist/components/Shared/FullKyc/edd.js +3 -3
- package/dist/components/Shared/FullKyc/index.js +11 -10
- package/dist/components/Shared/FullKyc/pep.js +68 -64
- package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
- package/dist/components/Shared/FullKyc/userInfo.js +4 -4
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Shared/Sumsub/index.js +2 -2
- package/dist/components/Wallet/Account/createIban.js +15 -540
- package/dist/components/Wallet/Account/eWallet.js +7 -7
- package/dist/components/Wallet/Account/iban.js +77 -56
- package/dist/components/Wallet/Account/ibanItem.js +3 -3
- package/dist/components/Wallet/Account/index.js +216 -181
- package/dist/components/Wallet/Account/sendIban.js +2 -2
- package/dist/components/Wallet/Buy/confirmTransaction.js +6 -6
- package/dist/components/Wallet/Buy/form.js +5 -5
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +11 -11
- package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
- package/dist/components/Wallet/Portfolio/index.js +5 -5
- package/dist/components/Wallet/Profile/documents.js +37 -37
- package/dist/components/Wallet/Profile/index.js +5 -5
- package/dist/components/Wallet/Profile/storage.js +14 -14
- package/dist/components/Wallet/Receive/index.js +3 -3
- package/dist/components/Wallet/Sell/confirmTransaction.js +5 -5
- package/dist/components/Wallet/Sell/form.js +5 -5
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +36 -36
- package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
- package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
- package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
- package/dist/components/Wallet/Shared/addBank.js +4 -4
- package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
- package/dist/components/Wallet/Shared/manualSend.js +4 -4
- package/dist/components/Wallet/SignIn/index.js +3 -3
- package/dist/components/Wallet/SignUp/index.js +3 -3
- package/dist/components/Wallet/Stake/gems/index.js +34 -31
- package/dist/components/Wallet/Stake/id/index.js +12 -9
- package/dist/components/Wallet/Stake/index.js +6 -6
- package/dist/components/Wallet/Swap/form.js +7 -7
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DX0YBtP2.js → constants-BRS2liAt.js} +214 -212
- package/dist/createIban-DKoCQ4o3.js +573 -0
- package/dist/{cryptoAssets-B8rAI7pp.js → cryptoAssets-BD0cJpXM.js} +1 -1
- package/dist/{index-JY6-UKlX.js → index-BUtxhHso.js} +87 -86
- package/dist/{index-B4XvACQN.js → index-C2weAjLp.js} +70 -69
- package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
- package/dist/{index-_fiTunwZ.js → index-CZhiRUiE.js} +4 -4
- package/dist/{index-DuWW5roi.js → index-D7Eq-pbC.js} +65 -64
- package/dist/{index-DkiQ8pRO.js → index-DX8IEulu.js} +52 -52
- package/dist/{index-bK14vCZw.js → index-hgn4Pjw3.js} +5 -5
- package/dist/index-oPbOSCUk.js +545 -0
- package/dist/{kyc-BNMPoeHt.js → kyc-C7NviI9l.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-BXeCIvqC.js → order-DBuLYKfx.js} +1 -1
- package/dist/{otpForm-DeeegaX2.js → otpForm-DhVp5Gvi.js} +2 -2
- package/dist/{stake-BO2TYVJ7.js → stake-DGXpiw_Y.js} +1 -1
- package/dist/styles.module-C99UuHOT.js +22 -0
- package/dist/{wallet-BPXOp8UG.js → wallet-BLx0XKpK.js} +1 -1
- package/package.json +7 -7
- package/dist/bank-HVb0GFsa.js +0 -37
- package/dist/index-CTPMPwYK.js +0 -533
- package/dist/styles.module-C1sNeKjL.js +0 -22
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import { jsxs as a, Fragment as w, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useMemo as Ze, useState as d, useEffect as h, useCallback as et } from "react";
|
|
3
3
|
import tt from "./hoc/withThemeProvider.js";
|
|
4
|
-
import { Grid as o, Typography as s, FormControl as te, FilledInput as le, FormHelperText as
|
|
5
|
-
import { P as nt, f as rt } from "./PlayArrow-
|
|
4
|
+
import { Grid as o, Typography as s, FormControl as te, FilledInput as le, FormHelperText as Oe, CircularProgress as S, Select as ue, MenuItem as ce, ListItemIcon as ze, Box as F, InputLabel as ke, IconButton as we } from "@mui/material";
|
|
5
|
+
import { P as nt, f as rt } from "./PlayArrow-WUr_Eyo1.js";
|
|
6
6
|
import { I as it } from "./Info-DOoRR7sR.js";
|
|
7
|
-
import { G as
|
|
8
|
-
import { PAYMENT_PROVIDER_PAYSAFE as ot, ID_TOKEN_SYMBOL as
|
|
9
|
-
import {
|
|
10
|
-
import { c as pt, d as ut, u as ft } from "./index-
|
|
11
|
-
import { d as ht, e as $e, b as
|
|
7
|
+
import { G as We } from "./generic-token-B_ptO5yb.js";
|
|
8
|
+
import { PAYMENT_PROVIDER_PAYSAFE as ot, ID_TOKEN_SYMBOL as Be, FIAT_TO_EVER_ID as he, FIAT_TO_TOKEN as ye, ESTIMATE_TOOLTIP_TEXT as at, DIALOG_SUCCESS_ICON as st, PAYMENT_PROVIDER_PLAID as lt, PAYMENT_PROVIDER_CARDCORP as ct, PAYMENT_BANK as Te, SEPA_ICON as mt, VISA_ICON as dt } from "./util/constants.js";
|
|
9
|
+
import { aA as B } from "./constants-BRS2liAt.js";
|
|
10
|
+
import { c as pt, d as ut, u as ft } from "./index-CREgBh59.js";
|
|
11
|
+
import { d as ht, e as $e, b as _e, f as yt, g as Le, h as _t } from "./order-DBuLYKfx.js";
|
|
12
12
|
import { M as xt } from "./tooltip-BW0UyWw7.js";
|
|
13
13
|
import { getCurrencySymbol as Ye, getNetworkBackGround as gt } from "./util/functions.js";
|
|
14
|
-
import
|
|
14
|
+
import ge from "./components/Wallet/Shared/appButton.js";
|
|
15
15
|
import Ct from "./components/Wallet/Shared/backBtn.js";
|
|
16
16
|
import { s as m } from "./styles.module-DMd29SPQ.js";
|
|
17
|
-
import { p as Nt,
|
|
17
|
+
import { p as Nt, h as vt } from "./bank-CPJa0NOE.js";
|
|
18
18
|
import { u as bt } from "./index.esm-BsMAMhYW.js";
|
|
19
19
|
import { u as W } from "./react-redux-C7I9-1M6.js";
|
|
20
20
|
import "./index-DlQqWbXG.js";
|
|
21
|
-
import "./otpForm-
|
|
21
|
+
import "./otpForm-DhVp5Gvi.js";
|
|
22
22
|
import { useSnackBarContext as Et } from "./context/snackBarContext.js";
|
|
23
23
|
import "./util/conversions.js";
|
|
24
24
|
import "./index-CAoLi5Qq.js";
|
|
@@ -30,8 +30,8 @@ import "./index.esm-I_Bp2YLf.js";
|
|
|
30
30
|
import { useDialogContext as Rt } from "./context/dialogContext.js";
|
|
31
31
|
import "@mui/icons-material";
|
|
32
32
|
import "./index-ceeCtFuh.js";
|
|
33
|
-
import { f as At } from "./cryptoAssets-
|
|
34
|
-
import { u as Pt, a as St } from "./wallet-
|
|
33
|
+
import { f as At } from "./cryptoAssets-BD0cJpXM.js";
|
|
34
|
+
import { u as Pt, a as St } from "./wallet-BLx0XKpK.js";
|
|
35
35
|
import { AuthContainer as Ft } from "./components/Wallet/Shared/Container/index.js";
|
|
36
36
|
import Mt from "./components/Wallet/Shared/CardPayment/index.js";
|
|
37
37
|
import It from "./components/Shared/MinimalKyc/index.js";
|
|
@@ -41,7 +41,7 @@ import { c as kt } from "./countries-BVn1FubK.js";
|
|
|
41
41
|
import wt from "./hooks/useEverestDispatch.js";
|
|
42
42
|
import Wt from "./components/Wallet/Shared/TokenModal/index.js";
|
|
43
43
|
import { PaymentButton as Bt } from "./components/Wallet/Shared/Order/paymentButton.js";
|
|
44
|
-
import
|
|
44
|
+
import fe from "./components/Wallet/Shared/Order/selectCustomIcon.js";
|
|
45
45
|
const Tt = ({
|
|
46
46
|
setScreen: N,
|
|
47
47
|
orderData: y,
|
|
@@ -62,12 +62,12 @@ const Tt = ({
|
|
|
62
62
|
paymentOptions: G,
|
|
63
63
|
setPaymentOptions: b
|
|
64
64
|
}) => {
|
|
65
|
-
var
|
|
65
|
+
var Fe, Me;
|
|
66
66
|
const H = W(pt), T = W(ut), { data: z, loader: X } = H, { data: ne, loader: de } = T, L = x.fiats, re = x.loader, k = M.featureTokens.buy.list, $ = M.featureTokens.buy.default, ie = M.loader, Y = y.loader, _ = y.estimate[B], J = _.crypto_out_amount, p = _.conversion_price, D = _.total_fee;
|
|
67
67
|
let oe = 0, ae = 0;
|
|
68
|
-
const
|
|
69
|
-
for (let t = 0; t <
|
|
70
|
-
const n =
|
|
68
|
+
const Ce = _.fee_breakdown;
|
|
69
|
+
for (let t = 0; t < Ce.length; t++) {
|
|
70
|
+
const n = Ce[t];
|
|
71
71
|
n.name === "ev_fee" ? oe = Number(n.value) : n.name === "network_fee" && (ae = Number(n.value));
|
|
72
72
|
}
|
|
73
73
|
const De = Ze(() => [
|
|
@@ -77,9 +77,9 @@ const Tt = ({
|
|
|
77
77
|
(n) => n.address.toLowerCase() === t.address.toLowerCase()
|
|
78
78
|
)
|
|
79
79
|
)
|
|
80
|
-
], [z, ne]), [pe, Q] = d(!1), [q, qe] = d([]), [
|
|
80
|
+
], [z, ne]), [pe, Q] = d(!1), [q, qe] = d([]), [Ne, Ue] = d(!1), [ve, Ke] = d(50), [be, Ve] = d(3e3), [Z, je] = d(50), [Ee, Ge] = d(3e3), [Re, ee] = d(""), [U, Ae] = d(
|
|
81
81
|
_.fiat_amount || Z.toString()
|
|
82
|
-
), [He,
|
|
82
|
+
), [He, Pe] = d(!1), K = L.find((t) => t.id === f), A = Ye(K == null ? void 0 : K.symbol);
|
|
83
83
|
h(() => {
|
|
84
84
|
const t = [];
|
|
85
85
|
for (let n = 0; n < L.length; n++) {
|
|
@@ -87,8 +87,8 @@ const Tt = ({
|
|
|
87
87
|
l.id = C.id, l.name = C.name, l.icon_uri = C.icon_uri, l.symbol = C.symbol, l.payment_options = [];
|
|
88
88
|
const P = C.payment_options;
|
|
89
89
|
for (let V = 0; V < P.length; V++) {
|
|
90
|
-
const
|
|
91
|
-
se.payment_provider !== ot && se.active && se.payin_allowed && (Object.assign(
|
|
90
|
+
const Ie = {}, se = P[V];
|
|
91
|
+
se.payment_provider !== ot && se.active && se.payin_allowed && (Object.assign(Ie, se), l.payment_options.push(Ie));
|
|
92
92
|
}
|
|
93
93
|
l.payment_options.length > 0 && t.push(l);
|
|
94
94
|
}
|
|
@@ -125,23 +125,23 @@ const Tt = ({
|
|
|
125
125
|
const Xe = () => {
|
|
126
126
|
var C;
|
|
127
127
|
const t = parseFloat(U);
|
|
128
|
-
if (i.symbol ===
|
|
129
|
-
if (
|
|
128
|
+
if (i.symbol === Be) {
|
|
129
|
+
if (ve > t)
|
|
130
130
|
return ee(
|
|
131
|
-
`Minimum value should be greater than ${A +
|
|
131
|
+
`Minimum value should be greater than ${A + ve}`
|
|
132
132
|
), Q(!0), !1;
|
|
133
|
-
if (
|
|
133
|
+
if (be * 1 < t)
|
|
134
134
|
return ee(
|
|
135
|
-
`Maximum value should be less than ${A +
|
|
135
|
+
`Maximum value should be less than ${A + be}`
|
|
136
136
|
), Q(!0), !1;
|
|
137
137
|
} else {
|
|
138
138
|
if (Z * 1 > t)
|
|
139
139
|
return ee(
|
|
140
140
|
`Minimum value should be greater than ${A + Z}`
|
|
141
141
|
), Q(!0), !1;
|
|
142
|
-
if (
|
|
142
|
+
if (Ee * 1 < t)
|
|
143
143
|
return ee(
|
|
144
|
-
`Maximum value should be less than ${A +
|
|
144
|
+
`Maximum value should be less than ${A + Ee}`
|
|
145
145
|
), Q(!0), !1;
|
|
146
146
|
}
|
|
147
147
|
const n = G.find((P) => P.id === g), l = n.payment_type;
|
|
@@ -149,7 +149,7 @@ const Tt = ({
|
|
|
149
149
|
$e(
|
|
150
150
|
{
|
|
151
151
|
apiKey: u,
|
|
152
|
-
transaction_type: i.symbol ===
|
|
152
|
+
transaction_type: i.symbol === Be ? he : ye,
|
|
153
153
|
coin_amount: U,
|
|
154
154
|
exchange: i.exchange,
|
|
155
155
|
payment_type: l,
|
|
@@ -167,13 +167,13 @@ const Tt = ({
|
|
|
167
167
|
if (t > 0)
|
|
168
168
|
for (let n = 0; n < t; n++) {
|
|
169
169
|
const l = y.types[n];
|
|
170
|
-
l.type ===
|
|
170
|
+
l.type === he && (Ke(parseFloat(l.min_deposit_amount)), Ve(parseFloat(l.max_deposit_amount))), l.type === ye && (je(parseFloat(l.min_deposit_amount)), Ge(parseFloat(l.max_deposit_amount)));
|
|
171
171
|
}
|
|
172
172
|
}, [y.types]);
|
|
173
173
|
const Je = (t) => {
|
|
174
174
|
const n = t.target.value;
|
|
175
|
-
n ? /^([0-9.]+)$/.test(n) &&
|
|
176
|
-
},
|
|
175
|
+
n ? /^([0-9.]+)$/.test(n) && Ae(n) : Ae("");
|
|
176
|
+
}, Se = (t) => {
|
|
177
177
|
const n = k.find((l) => l.symbol === t);
|
|
178
178
|
I(n);
|
|
179
179
|
}, Qe = () => {
|
|
@@ -214,7 +214,7 @@ const Tt = ({
|
|
|
214
214
|
fullWidth: !0
|
|
215
215
|
}
|
|
216
216
|
),
|
|
217
|
-
/* @__PURE__ */ e(
|
|
217
|
+
/* @__PURE__ */ e(Oe, { className: m["amount-symbol"], children: " " })
|
|
218
218
|
]
|
|
219
219
|
}
|
|
220
220
|
) }),
|
|
@@ -233,7 +233,7 @@ const Tt = ({
|
|
|
233
233
|
children: /* @__PURE__ */ e(
|
|
234
234
|
ue,
|
|
235
235
|
{
|
|
236
|
-
IconComponent:
|
|
236
|
+
IconComponent: fe,
|
|
237
237
|
input: /* @__PURE__ */ e(le, { disableUnderline: !0 }),
|
|
238
238
|
sx: {
|
|
239
239
|
borderTopLeftRadius: 0,
|
|
@@ -260,12 +260,12 @@ const Tt = ({
|
|
|
260
260
|
onChange: (t) => j(t.target.value),
|
|
261
261
|
error: pe,
|
|
262
262
|
children: q.map((t) => /* @__PURE__ */ a(ce, { value: t.id, children: [
|
|
263
|
-
/* @__PURE__ */ e(
|
|
263
|
+
/* @__PURE__ */ e(ze, { className: m["dropdown-list-item"], children: /* @__PURE__ */ e(
|
|
264
264
|
"img",
|
|
265
265
|
{
|
|
266
266
|
src: t.icon_uri,
|
|
267
267
|
onError: ({ currentTarget: n }) => {
|
|
268
|
-
n.onerror = null, n.src =
|
|
268
|
+
n.onerror = null, n.src = We;
|
|
269
269
|
},
|
|
270
270
|
alt: "tokenImg",
|
|
271
271
|
width: "40",
|
|
@@ -278,7 +278,7 @@ const Tt = ({
|
|
|
278
278
|
)
|
|
279
279
|
}
|
|
280
280
|
) }),
|
|
281
|
-
|
|
281
|
+
Re && /* @__PURE__ */ e(s, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: Re }) })
|
|
282
282
|
] }),
|
|
283
283
|
/* @__PURE__ */ a(F, { className: "text-left", mt: 3, children: [
|
|
284
284
|
/* @__PURE__ */ e(s, { variant: "sm", fontWeight: 600, children: "Select Payment Method" }),
|
|
@@ -310,7 +310,7 @@ const Tt = ({
|
|
|
310
310
|
fullWidth: !0
|
|
311
311
|
}
|
|
312
312
|
),
|
|
313
|
-
/* @__PURE__ */ e(
|
|
313
|
+
/* @__PURE__ */ e(Oe, { className: m["crypto-helper-text"], children: +((Fe = _ == null ? void 0 : _.output_token) == null ? void 0 : Fe.fiat_amount) * 1 > 0 ? A + (+((Me = _ == null ? void 0 : _.output_token) == null ? void 0 : Me.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(w, { children: " " }) })
|
|
314
314
|
]
|
|
315
315
|
}
|
|
316
316
|
) }),
|
|
@@ -322,7 +322,7 @@ const Tt = ({
|
|
|
322
322
|
fullWidth: !0,
|
|
323
323
|
children: [
|
|
324
324
|
(i == null ? void 0 : i.network) && /* @__PURE__ */ e(
|
|
325
|
-
|
|
325
|
+
ke,
|
|
326
326
|
{
|
|
327
327
|
className: `${m["network-label"]} ${m[gt(i == null ? void 0 : i.network.name)]}`,
|
|
328
328
|
children: i == null ? void 0 : i.network.name
|
|
@@ -331,7 +331,7 @@ const Tt = ({
|
|
|
331
331
|
/* @__PURE__ */ a(
|
|
332
332
|
ue,
|
|
333
333
|
{
|
|
334
|
-
IconComponent:
|
|
334
|
+
IconComponent: fe,
|
|
335
335
|
input: /* @__PURE__ */ e(le, { disableUnderline: !0 }),
|
|
336
336
|
sx: {
|
|
337
337
|
borderTopLeftRadius: 0,
|
|
@@ -356,21 +356,21 @@ const Tt = ({
|
|
|
356
356
|
variant: "filled",
|
|
357
357
|
value: i.symbol,
|
|
358
358
|
displayEmpty: !0,
|
|
359
|
-
onChange: (t) =>
|
|
359
|
+
onChange: (t) => Se(t.target.value),
|
|
360
360
|
onOpen: (t) => {
|
|
361
|
-
|
|
361
|
+
Pe(!0), t.preventDefault();
|
|
362
362
|
},
|
|
363
363
|
defaultOpen: !1,
|
|
364
364
|
open: !1,
|
|
365
365
|
children: [
|
|
366
366
|
/* @__PURE__ */ e(ce, { value: "", children: "Please select" }),
|
|
367
367
|
k.map((t) => /* @__PURE__ */ a(ce, { value: t.symbol, children: [
|
|
368
|
-
/* @__PURE__ */ e(
|
|
368
|
+
/* @__PURE__ */ e(ze, { className: m["dropdown-list-item"], children: /* @__PURE__ */ e(
|
|
369
369
|
"img",
|
|
370
370
|
{
|
|
371
371
|
src: t.icon_uri,
|
|
372
372
|
onError: ({ currentTarget: n }) => {
|
|
373
|
-
n.onerror = null, n.src =
|
|
373
|
+
n.onerror = null, n.src = We;
|
|
374
374
|
},
|
|
375
375
|
alt: "tokenImg",
|
|
376
376
|
width: "40",
|
|
@@ -388,7 +388,7 @@ const Tt = ({
|
|
|
388
388
|
] }),
|
|
389
389
|
/* @__PURE__ */ e(F, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ a(o, { container: !0, children: [
|
|
390
390
|
/* @__PURE__ */ e(o, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ a(
|
|
391
|
-
|
|
391
|
+
we,
|
|
392
392
|
{
|
|
393
393
|
sx: { padding: "0" },
|
|
394
394
|
onClick: () => Ue((t) => !t),
|
|
@@ -400,7 +400,7 @@ const Tt = ({
|
|
|
400
400
|
nt,
|
|
401
401
|
{
|
|
402
402
|
sx: {
|
|
403
|
-
transform: `rotate(${
|
|
403
|
+
transform: `rotate(${Ne ? "90" : "0"}deg)`,
|
|
404
404
|
fontSize: "15px"
|
|
405
405
|
}
|
|
406
406
|
}
|
|
@@ -408,7 +408,7 @@ const Tt = ({
|
|
|
408
408
|
]
|
|
409
409
|
}
|
|
410
410
|
) }),
|
|
411
|
-
|
|
411
|
+
Ne && /* @__PURE__ */ a(w, { children: [
|
|
412
412
|
/* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Everest Fee" }) }),
|
|
413
413
|
/* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
|
|
414
414
|
A,
|
|
@@ -449,7 +449,7 @@ const Tt = ({
|
|
|
449
449
|
{
|
|
450
450
|
title: at,
|
|
451
451
|
placement: "right",
|
|
452
|
-
children: /* @__PURE__ */ e(
|
|
452
|
+
children: /* @__PURE__ */ e(we, { className: "info-fee-icon", children: /* @__PURE__ */ e(
|
|
453
453
|
it,
|
|
454
454
|
{
|
|
455
455
|
sx: {
|
|
@@ -474,10 +474,11 @@ const Tt = ({
|
|
|
474
474
|
] })
|
|
475
475
|
] }) }),
|
|
476
476
|
/* @__PURE__ */ e(F, { sx: { alignItems: "left", width: "100%" }, children: X || de ? /* @__PURE__ */ e(F, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(S, {}) }) : /* @__PURE__ */ e(w, { children: /* @__PURE__ */ a(te, { variant: "filled", fullWidth: !0, children: [
|
|
477
|
-
!v && /* @__PURE__ */ e(
|
|
477
|
+
!v && /* @__PURE__ */ e(ke, { children: "Select wallet address" }),
|
|
478
478
|
/* @__PURE__ */ e(
|
|
479
479
|
ue,
|
|
480
480
|
{
|
|
481
|
+
IconComponent: fe,
|
|
481
482
|
value: v,
|
|
482
483
|
onChange: (t) => r && r(t.target.value),
|
|
483
484
|
children: De.map((t, n) => /* @__PURE__ */ e(ce, { value: t.address, children: t.name + "(" + t.address + ")" }, n))
|
|
@@ -485,7 +486,7 @@ const Tt = ({
|
|
|
485
486
|
)
|
|
486
487
|
] }) }) }),
|
|
487
488
|
/* @__PURE__ */ e(F, { mt: 4, children: /* @__PURE__ */ e(
|
|
488
|
-
|
|
489
|
+
ge,
|
|
489
490
|
{
|
|
490
491
|
onClick: Qe,
|
|
491
492
|
disabled: pe || !J,
|
|
@@ -497,10 +498,10 @@ const Tt = ({
|
|
|
497
498
|
Wt,
|
|
498
499
|
{
|
|
499
500
|
open: He,
|
|
500
|
-
setModal:
|
|
501
|
+
setModal: Pe,
|
|
501
502
|
loader: ie,
|
|
502
503
|
tokenList: k,
|
|
503
|
-
tokenSelect:
|
|
504
|
+
tokenSelect: Se
|
|
504
505
|
}
|
|
505
506
|
)
|
|
506
507
|
] });
|
|
@@ -521,11 +522,11 @@ const Tt = ({
|
|
|
521
522
|
message: "Your transaction was successful. It can take a few minutes to receive your token.",
|
|
522
523
|
cancelButtonText: "Buy again",
|
|
523
524
|
onCancel: () => {
|
|
524
|
-
x(
|
|
525
|
+
x(_e()), N(xe);
|
|
525
526
|
},
|
|
526
527
|
confirmButtonText: "Track Order",
|
|
527
528
|
onConfirm: () => {
|
|
528
|
-
c && c("/history"), x(
|
|
529
|
+
c && c("/history"), x(_e());
|
|
529
530
|
},
|
|
530
531
|
height: "490px"
|
|
531
532
|
});
|
|
@@ -577,7 +578,7 @@ const Tt = ({
|
|
|
577
578
|
/* @__PURE__ */ e(
|
|
578
579
|
Ct,
|
|
579
580
|
{
|
|
580
|
-
onClickHandler: () => N(
|
|
581
|
+
onClickHandler: () => N(xe),
|
|
581
582
|
backBtnText: "Confirm Your Order"
|
|
582
583
|
}
|
|
583
584
|
),
|
|
@@ -586,12 +587,12 @@ const Tt = ({
|
|
|
586
587
|
/* @__PURE__ */ e(
|
|
587
588
|
"img",
|
|
588
589
|
{
|
|
589
|
-
src: r.payment_type ===
|
|
590
|
+
src: r.payment_type === Te ? mt : dt,
|
|
590
591
|
width: 100,
|
|
591
592
|
alt: "payment"
|
|
592
593
|
}
|
|
593
594
|
),
|
|
594
|
-
/* @__PURE__ */ e(s, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: r.payment_type ===
|
|
595
|
+
/* @__PURE__ */ e(s, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: r.payment_type === Te ? "Bank Account" : "Debit Card" }) })
|
|
595
596
|
] }),
|
|
596
597
|
/* @__PURE__ */ e(s, { mt: 4, variant: "sm", fontWeight: 600, children: "To Wallet Address" }),
|
|
597
598
|
/* @__PURE__ */ e(
|
|
@@ -648,7 +649,7 @@ const Tt = ({
|
|
|
648
649
|
] }) }) })
|
|
649
650
|
] }) }),
|
|
650
651
|
/* @__PURE__ */ e(F, { mt: 4, children: /* @__PURE__ */ e(
|
|
651
|
-
|
|
652
|
+
ge,
|
|
652
653
|
{
|
|
653
654
|
onClick: X,
|
|
654
655
|
disabled: I,
|
|
@@ -660,7 +661,7 @@ const Tt = ({
|
|
|
660
661
|
}
|
|
661
662
|
) })
|
|
662
663
|
] });
|
|
663
|
-
},
|
|
664
|
+
}, xe = "FORM_SCREEN", me = "CONFIRM_SCREEN", $t = "PAYMENT_SCREEN", Yt = "CARD_CORP_SCREEN", Dt = "MINIMAL_KYC_SCREEN", qt = ({
|
|
664
665
|
partnerKey: N,
|
|
665
666
|
baseUrl: y,
|
|
666
667
|
checkoutSdkKey: E,
|
|
@@ -671,7 +672,7 @@ const Tt = ({
|
|
|
671
672
|
(p) => p.user.profile
|
|
672
673
|
), g = I.everWalletAddress, O = I.residentialAddress.country || "USA", f = W((p) => p.fiatAssets), j = W(
|
|
673
674
|
(p) => p.cryptoAssets
|
|
674
|
-
), [G, b] = d(
|
|
675
|
+
), [G, b] = d(xe), [H, T] = d({
|
|
675
676
|
symbol: ""
|
|
676
677
|
}), [z, X] = d(0), [ne, de] = d(1), [L, re] = d([]), [k, $] = d(g), [ie, Y] = d("");
|
|
677
678
|
return h(() => {
|
|
@@ -683,8 +684,8 @@ const Tt = ({
|
|
|
683
684
|
i && R({ message: i });
|
|
684
685
|
}, [i]), h(() => {
|
|
685
686
|
u.initMinimalKyc && (R({ message: i, type: "info" }), b(Dt));
|
|
686
|
-
}, [u.initMinimalKyc]), h(() => (c(rt()), c(
|
|
687
|
-
c(
|
|
687
|
+
}, [u.initMinimalKyc]), h(() => (c(rt()), c(Le(ye)), c(Le(he)), c(Pt()), c(St()), () => {
|
|
688
|
+
c(_e());
|
|
688
689
|
}), []), /* @__PURE__ */ e(Ft, { addPadding: !0, children: {
|
|
689
690
|
FORM_SCREEN: /* @__PURE__ */ e(
|
|
690
691
|
Tt,
|
|
@@ -764,7 +765,7 @@ const Tt = ({
|
|
|
764
765
|
It,
|
|
765
766
|
{
|
|
766
767
|
inputComponent: Ot,
|
|
767
|
-
buttonComponent:
|
|
768
|
+
buttonComponent: ge,
|
|
768
769
|
onComplete: () => {
|
|
769
770
|
b(me);
|
|
770
771
|
}
|
|
@@ -775,7 +776,7 @@ const Tt = ({
|
|
|
775
776
|
export {
|
|
776
777
|
Tt as B,
|
|
777
778
|
me as C,
|
|
778
|
-
|
|
779
|
+
xe as F,
|
|
779
780
|
Dt as M,
|
|
780
781
|
$t as P,
|
|
781
782
|
Lt as a,
|