everest-npm-features 0.0.61 → 0.0.63
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/ArrowBack-DEJjwfp0.js +8 -0
- package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
- package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
- package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
- package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
- package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
- package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
- package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
- package/dist/PlayArrow-71FP5PzJ.js +13 -0
- package/dist/Portal-BeS9yJCZ.js +968 -0
- package/dist/assets/styles.css +1 -1
- package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
- package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
- package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
- package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
- package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
- package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
- package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
- package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
- package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
- package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
- package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
- package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
- package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
- package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
- package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
- package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
- package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
- package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
- package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
- package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
- package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
- package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
- package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
- package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
- package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
- package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
- package/dist/components/RocketRamp/Transactions/index.js +23 -24
- package/dist/components/Shared/FullKyc/countryList.js +15 -17
- package/dist/components/Shared/FullKyc/edd.js +51 -53
- package/dist/components/Shared/FullKyc/index.js +13 -11
- package/dist/components/Shared/FullKyc/pep.js +35 -43
- package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
- package/dist/components/Shared/FullKyc/userInfo.js +8 -13
- package/dist/components/Shared/HistoryItem/index.js +43 -48
- package/dist/components/Shared/Incode/index.js +31 -35
- package/dist/components/Shared/MinimalKyc/index.js +60 -65
- package/dist/components/Shared/Sumsub/index.js +75 -62
- package/dist/components/Shared/loader.js +4 -5
- package/dist/components/Shared/tooltip.js +2 -2
- package/dist/components/Shared/transition.js +4 -4
- package/dist/components/Wallet/Account/createIban.d.ts +1 -2
- package/dist/components/Wallet/Account/createIban.js +324 -102
- package/dist/components/Wallet/Account/eWallet.js +37 -43
- package/dist/components/Wallet/Account/iban.d.ts +1 -0
- package/dist/components/Wallet/Account/iban.js +41 -45
- package/dist/components/Wallet/Account/ibanItem.js +70 -75
- package/dist/components/Wallet/Account/index.d.ts +1 -0
- package/dist/components/Wallet/Account/index.js +113 -118
- package/dist/components/Wallet/Account/sendIban.js +79 -88
- package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
- package/dist/components/Wallet/Buy/form.js +8 -18
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +16 -18
- package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
- package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
- package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
- package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
- package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
- package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
- package/dist/components/Wallet/History/index.js +23 -797
- package/dist/components/Wallet/Home/index.js +13 -14
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
- package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
- package/dist/components/Wallet/Portfolio/index.js +48 -51
- package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
- package/dist/components/Wallet/Profile/documents.js +164 -176
- package/dist/components/Wallet/Profile/index.js +39 -44
- package/dist/components/Wallet/Profile/storage.js +39 -47
- package/dist/components/Wallet/Receive/index.js +32 -37
- package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
- package/dist/components/Wallet/Sell/form.js +8 -18
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +98 -107
- package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
- package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
- package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
- package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
- package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
- package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
- package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
- package/dist/components/Wallet/Shared/Container/index.js +11 -11
- package/dist/components/Wallet/Shared/Input/index.js +3 -3
- package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
- package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
- package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
- package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
- package/dist/components/Wallet/Shared/addBank.js +41 -45
- package/dist/components/Wallet/Shared/appButton.js +11 -15
- package/dist/components/Wallet/Shared/backBtn.js +8 -9
- package/dist/components/Wallet/Shared/button.js +7 -7
- package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
- package/dist/components/Wallet/Shared/inputField.js +5 -5
- package/dist/components/Wallet/Shared/manualSend.js +9 -13
- package/dist/components/Wallet/Shared/noData.js +4 -5
- package/dist/components/Wallet/Shared/pin.js +25 -27
- package/dist/components/Wallet/Shared/radioButton.js +39 -5
- package/dist/components/Wallet/Shared/step.js +12 -13
- package/dist/components/Wallet/Shared/timer.js +1 -1
- package/dist/components/Wallet/SignIn/index.js +17 -17
- package/dist/components/Wallet/SignUp/index.js +63 -153
- package/dist/components/Wallet/SignUp/terms.js +1 -1
- package/dist/components/Wallet/Stake/gems/index.js +71 -69
- package/dist/components/Wallet/Stake/id/index.js +77 -84
- package/dist/components/Wallet/Stake/index.js +65 -68
- package/dist/components/Wallet/Swap/form.js +11 -20
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
- package/dist/components/Wallet/Withdraw/form.js +6 -17
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
- package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
- package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
- package/dist/hoc/withThemeProvider.js +5 -732
- package/dist/hooks/useDialog/index.js +22 -23
- package/dist/hooks/useRrDialog/index.js +43 -46
- package/dist/hooks/useSnackBar.js +24 -696
- package/dist/icons/buyIcon.js +1 -1
- package/dist/icons/canceledBuyIcon.js +1 -1
- package/dist/icons/canceledRedeemIcon.js +1 -1
- package/dist/icons/failedBuyIcon.js +2 -2
- package/dist/icons/failedRedeemIcon.js +2 -2
- package/dist/icons/pendingBuyIcon.js +1 -1
- package/dist/icons/pendingRedeemIcon.js +1 -1
- package/dist/icons/redeemIcon.js +1 -1
- package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
- package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
- package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
- package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
- package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
- package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
- package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
- package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/memoTheme-DnE8lj0t.js +3481 -0
- package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
- package/dist/otpForm-DeeegaX2.js +7378 -0
- package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
- package/dist/styles.module-DFoezEqS.js +28 -0
- package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
- package/dist/tooltip-BW0UyWw7.js +2129 -0
- package/dist/util/constants.d.ts +1 -0
- package/dist/util/constants.js +72 -71
- package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
- package/package.json +6 -6
- package/dist/Alert-DzsbFW3-.js +0 -369
- package/dist/Autocomplete-CE-OI2t8.js +0 -2429
- package/dist/Avatar-1XklXr4O.js +0 -281
- package/dist/Backdrop-CioURPVG.js +0 -359
- package/dist/Box-B0YSYLco.js +0 -59
- package/dist/Button-Df4vgU24.js +0 -663
- package/dist/ButtonBase-DLF5c6wi.js +0 -870
- package/dist/CardContent-D9wTdpu-.js +0 -141
- package/dist/CircularProgress-xZA3lvba.js +0 -252
- package/dist/Close-CxzDL3J-.js +0 -9
- package/dist/Container-urNKV7hm.js +0 -181
- package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
- package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
- package/dist/DialogContent-BMwlOnbW.js +0 -567
- package/dist/DialogTitle-CfS0bb2K.js +0 -70
- package/dist/Divider-BShhMFf4.js +0 -297
- package/dist/FilledInput-DuNqnPjc.js +0 -1292
- package/dist/FormControl-RtZDQMdA.js +0 -258
- package/dist/FormControlLabel-BliKW48y.js +0 -519
- package/dist/GlobalStyles-ChMhDfTS.js +0 -59
- package/dist/Grid-CFe3amXO.js +0 -410
- package/dist/Grow-CnGtel3u.js +0 -196
- package/dist/HTMLElementType-BrQSV2FE.js +0 -13
- package/dist/IconButton-DHm-hucF.js +0 -297
- package/dist/InputAdornment-DMiED3JH.js +0 -173
- package/dist/Link-DBA9Yifs.js +0 -266
- package/dist/ListItemIcon-CUcyTEEm.js +0 -84
- package/dist/Menu-DLYFFrEk.js +0 -1239
- package/dist/MenuItem-DUdYOJr4.js +0 -271
- package/dist/Modal-CFIQ_s3T.js +0 -743
- package/dist/Paper-Bgt2WXI6.js +0 -186
- package/dist/PlayArrow-Bjz9LxhD.js +0 -13
- package/dist/Popper-BBAoiZKn.js +0 -1409
- package/dist/Portal-BMAxiQwe.js +0 -69
- package/dist/RadioGroup-nvoSN0JN.js +0 -189
- package/dist/Select-CB5yWmyn.js +0 -1886
- package/dist/Slide-B9Nw0LZ4.js +0 -235
- package/dist/Stack-k55YTxET.js +0 -172
- package/dist/SwitchBase-C8zFyg_x.js +0 -318
- package/dist/TextField-DPpRUQe3.js +0 -978
- package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
- package/dist/Typography-pAaje37G.js +0 -260
- package/dist/chainPropTypes-D9lkm76m.js +0 -8
- package/dist/clsx-BTaloaeC.js +0 -264
- package/dist/createChainedFunction-C0nujS3O.js +0 -9
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
- package/dist/createTheme-CD19zQB7.js +0 -3825
- package/dist/debounce-46wSf_lW.js +0 -15
- package/dist/defaultTheme-C35y5cLB.js +0 -5
- package/dist/dividerClasses-BDxa2gAa.js +0 -10
- package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
- package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
- package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
- package/dist/exactProp-C1Lmtwf_.js +0 -13
- package/dist/extendSxProp-B8UjbJ56.js +0 -37
- package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
- package/dist/index-B0Z-Gjno.js +0 -22
- package/dist/index-DUcLo3x5.js +0 -43
- package/dist/isFocusVisible-CPZqtjv2.js +0 -12
- package/dist/isHostComponent-kiaBvYVo.js +0 -6
- package/dist/isMuiElement-DnSE4qG4.js +0 -13
- package/dist/memoTheme-yHaPezod.js +0 -15
- package/dist/ownerWindow-CRgpWY6I.js +0 -7
- package/dist/radioButton-CzlYB0Lh.js +0 -402
- package/dist/refType-BsTH3qnM.js +0 -56
- package/dist/styles.module-CHPRGltL.js +0 -28
- package/dist/tooltip-3UvETWtS.js +0 -740
- package/dist/useControlled-nm4pBabJ.js +0 -31
- package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
- package/dist/useFormControl-CatNKXAi.js +0 -10
- package/dist/useId-CK6Kn3Tn.js +0 -21
- package/dist/useSlot-CW7SOYlh.js +0 -125
- package/dist/useSlotProps-BfEOwJvJ.js +0 -25
- package/dist/useTheme-BQJ5lp0i.js +0 -11
- package/dist/useTheme-S5_DHFsQ.js +0 -17
- package/dist/useThemeProps-DN9MjdTl.js +0 -29
|
@@ -1,49 +1,40 @@
|
|
|
1
1
|
import { jsxs as t, Fragment as v, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as c, useEffect as f } from "react";
|
|
3
3
|
import Re from "./hoc/withThemeProvider.js";
|
|
4
|
-
import Se from "
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
4
|
+
import { Typography as i, Box as C, Grid as r, CircularProgress as E, Dialog as ae, IconButton as U, DialogContent as oe, InputLabel as Se, FormControl as Me, Select as ze, MenuItem as se, ListItemIcon as Oe } from "@mui/material";
|
|
5
|
+
import Pe from "./components/RocketRamp/Shared/backBtn.js";
|
|
6
|
+
import { getCurrencySymbol as ue, getOrionBalance as we } from "./util/functions.js";
|
|
7
|
+
import { PAYMENT_BANK as ce, SEPA_ICON as We, VISA_ICON as Be, ID_TOKEN_SYMBOL as Le, FIAT_WITHDRAW as Xe, FIAT_TO_EVER_ID as De, FIAT_TO_TOKEN as Ye, ESTIMATE_TOOLTIP_TEXT as qe, TOKEN_TO_FIAT as Ke } from "./util/constants.js";
|
|
7
8
|
import j from "./components/RocketRamp/Shared/Button/index.js";
|
|
8
|
-
import { aK as
|
|
9
|
-
import { e as pe, f as
|
|
9
|
+
import { aK as V } from "./constants-DX0YBtP2.js";
|
|
10
|
+
import { e as pe, f as $e, j as Ge, d as je, g as Ue } from "./order-BXeCIvqC.js";
|
|
10
11
|
import "./index-DlQqWbXG.js";
|
|
11
12
|
import "./components/Wallet/Shared/appButton.js";
|
|
12
13
|
import { u as W } from "./react-redux-C7I9-1M6.js";
|
|
13
|
-
import "./
|
|
14
|
-
import { P as
|
|
15
|
-
import { f as
|
|
14
|
+
import "./otpForm-DeeegaX2.js";
|
|
15
|
+
import { P as Ve, f as He } from "./PlayArrow-71FP5PzJ.js";
|
|
16
|
+
import { f as Je } from "./cryptoAssets-B8rAI7pp.js";
|
|
16
17
|
import "./context/snackBarContext.js";
|
|
17
|
-
import
|
|
18
|
+
import Qe from "./hooks/useEverestDispatch.js";
|
|
18
19
|
import "./util/conversions.js";
|
|
19
20
|
import "./index-CAoLi5Qq.js";
|
|
20
|
-
import { useSnackBar as
|
|
21
|
+
import { useSnackBar as Ze } from "./hooks/useSnackBar.js";
|
|
21
22
|
import "./react-webcam-B3cXh1XT.js";
|
|
22
|
-
import
|
|
23
|
-
import { M as
|
|
23
|
+
import le from "./components/Shared/transition.js";
|
|
24
|
+
import { M as et } from "./tooltip-BW0UyWw7.js";
|
|
24
25
|
import "./moment-h96o7c8I.js";
|
|
25
26
|
import "./index.esm-BsMAMhYW.js";
|
|
26
27
|
import "./web3-u4qDZYpo.js";
|
|
27
28
|
import "./index-ceeCtFuh.js";
|
|
28
29
|
import "./index.esm-I_Bp2YLf.js";
|
|
29
30
|
import "./context/dialogContext.js";
|
|
30
|
-
import
|
|
31
|
-
import
|
|
32
|
-
import {
|
|
33
|
-
import
|
|
34
|
-
import
|
|
35
|
-
import {
|
|
36
|
-
import
|
|
37
|
-
import { C as I } from "./CircularProgress-xZA3lvba.js";
|
|
38
|
-
import { I as et } from "./TextField-DPpRUQe3.js";
|
|
39
|
-
import { F as tt } from "./FormControl-RtZDQMdA.js";
|
|
40
|
-
import { S as rt } from "./Select-CB5yWmyn.js";
|
|
41
|
-
import { M as ce } from "./MenuItem-DUdYOJr4.js";
|
|
42
|
-
import { L as nt } from "./ListItemIcon-CUcyTEEm.js";
|
|
43
|
-
import { I as V } from "./IconButton-DHm-hucF.js";
|
|
44
|
-
import { C as le } from "./Close-CNwiMz_O.js";
|
|
45
|
-
import { D as me, a as de } from "./DialogContent-BMwlOnbW.js";
|
|
46
|
-
import './assets/index8.css';const E = {
|
|
31
|
+
import "@mui/icons-material";
|
|
32
|
+
import tt from "./components/RocketRamp/MinimalKyc/form.js";
|
|
33
|
+
import { I as nt } from "./Info-DOoRR7sR.js";
|
|
34
|
+
import { G as rt } from "./generic-token-B_ptO5yb.js";
|
|
35
|
+
import me from "./components/RocketRamp/Shared/Input/index.js";
|
|
36
|
+
import { C as de } from "./Close-DSxLLo08.js";
|
|
37
|
+
import './assets/index8.css';const I = {
|
|
47
38
|
"confirm-payment": "_confirm-payment_1oe7d_1",
|
|
48
39
|
"confirm-transaction-network": "_confirm-transaction-network_1oe7d_33",
|
|
49
40
|
"buy-info": "_buy-info_1oe7d_57",
|
|
@@ -57,7 +48,7 @@ import './assets/index8.css';const E = {
|
|
|
57
48
|
navigate: S,
|
|
58
49
|
store: p
|
|
59
50
|
}) => {
|
|
60
|
-
const
|
|
51
|
+
const a = d.estimate, A = d.create.order_id, x = d.loader, h = d.card, l = a.crypto_amount, b = ue(a.fiat_currency), [F, _] = c(!1), [B, N] = c(!1), [s, L] = c(!1);
|
|
61
52
|
f(() => {
|
|
62
53
|
A && F && (N(!1), L(!0));
|
|
63
54
|
}, [A]), f(() => {
|
|
@@ -68,98 +59,98 @@ import './assets/index8.css';const E = {
|
|
|
68
59
|
pe(
|
|
69
60
|
{
|
|
70
61
|
apiKey: y,
|
|
71
|
-
transaction_type:
|
|
72
|
-
coin_amount:
|
|
73
|
-
exchange:
|
|
74
|
-
payment_type:
|
|
75
|
-
fiat_ccy:
|
|
76
|
-
crypto_ccy:
|
|
77
|
-
network:
|
|
78
|
-
payment_provider:
|
|
62
|
+
transaction_type: a.transaction_type,
|
|
63
|
+
coin_amount: a.fiat_amount,
|
|
64
|
+
exchange: a.exchange,
|
|
65
|
+
payment_type: a.payment_type,
|
|
66
|
+
fiat_ccy: a.fiat_currency,
|
|
67
|
+
crypto_ccy: a.crypto_currency,
|
|
68
|
+
network: a.network,
|
|
69
|
+
payment_provider: a.payment_provider
|
|
79
70
|
},
|
|
80
|
-
|
|
71
|
+
V
|
|
81
72
|
)
|
|
82
73
|
);
|
|
83
74
|
}, D = () => {
|
|
84
75
|
k(
|
|
85
|
-
|
|
76
|
+
$e({
|
|
86
77
|
apiKey: y,
|
|
87
|
-
quoteId:
|
|
78
|
+
quoteId: a.quote_id,
|
|
88
79
|
walletAddress: u,
|
|
89
80
|
paymentMethodId: h.payment_method.id,
|
|
90
81
|
storeId: p.info.id
|
|
91
82
|
})
|
|
92
83
|
), _(!0);
|
|
93
84
|
}, z = ({ label: Y, value: q }) => /* @__PURE__ */ t(v, { children: [
|
|
94
|
-
/* @__PURE__ */ e(
|
|
95
|
-
/* @__PURE__ */ e(
|
|
85
|
+
/* @__PURE__ */ e(r, { size: 4, children: /* @__PURE__ */ e("strong", { children: Y }) }),
|
|
86
|
+
/* @__PURE__ */ e(r, { className: "fw500 text-right", size: 8, children: q })
|
|
96
87
|
] });
|
|
97
88
|
return /* @__PURE__ */ t(v, { children: [
|
|
98
|
-
/* @__PURE__ */ e(
|
|
89
|
+
/* @__PURE__ */ e(Pe, { onClickHandler: () => T(he) }),
|
|
99
90
|
/* @__PURE__ */ e(i, { mt: 2, variant: "sm", fontWeight: 600, children: "Token Send From" }),
|
|
100
|
-
/* @__PURE__ */ t(C, { mt: 2, className:
|
|
91
|
+
/* @__PURE__ */ t(C, { mt: 2, className: I["confirm-payment"], children: [
|
|
101
92
|
/* @__PURE__ */ e(
|
|
102
93
|
"img",
|
|
103
94
|
{
|
|
104
|
-
src:
|
|
95
|
+
src: a.payment_type === ce ? We : Be,
|
|
105
96
|
width: 100,
|
|
106
97
|
alt: "payment"
|
|
107
98
|
}
|
|
108
99
|
),
|
|
109
|
-
/* @__PURE__ */ e(i, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children:
|
|
100
|
+
/* @__PURE__ */ e(i, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: a.payment_type === ce ? "Bank Account" : "Debit Card" }) })
|
|
110
101
|
] }),
|
|
111
102
|
/* @__PURE__ */ e(i, { mt: 4, variant: "sm", fontWeight: 600, children: "To Wallet Address" }),
|
|
112
103
|
/* @__PURE__ */ e(
|
|
113
104
|
C,
|
|
114
105
|
{
|
|
115
106
|
mt: 2,
|
|
116
|
-
className:
|
|
107
|
+
className: I["confirm-payment"],
|
|
117
108
|
sx: { width: "100% !important" },
|
|
118
109
|
children: /* @__PURE__ */ e(i, { variant: "caption", component: "p", children: /* @__PURE__ */ e("strong", { children: u }) })
|
|
119
110
|
}
|
|
120
111
|
),
|
|
121
112
|
/* @__PURE__ */ e(i, { mt: 3, variant: "sm", fontWeight: 600, component: "p", children: "Order Estimate Details" }),
|
|
122
|
-
/* @__PURE__ */ e(C, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ t(
|
|
123
|
-
/* @__PURE__ */ e(
|
|
124
|
-
|
|
113
|
+
/* @__PURE__ */ e(C, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ t(r, { container: !0, children: [
|
|
114
|
+
/* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
115
|
+
a.crypto_currency.toUpperCase(),
|
|
125
116
|
" @",
|
|
126
117
|
" ",
|
|
127
|
-
Number(
|
|
118
|
+
Number(a.conversion_price).toFixed(2),
|
|
128
119
|
" ",
|
|
129
|
-
|
|
120
|
+
a.fiat_currency
|
|
130
121
|
] }) }),
|
|
131
|
-
/* @__PURE__ */ e(
|
|
122
|
+
/* @__PURE__ */ e(r, { className: "flex-right", size: { xs: 6 }, children: /* @__PURE__ */ e(
|
|
132
123
|
"span",
|
|
133
124
|
{
|
|
134
|
-
className:
|
|
125
|
+
className: I["confirm-transaction-network"],
|
|
135
126
|
style: {
|
|
136
|
-
backgroundColor:
|
|
127
|
+
backgroundColor: a.network === "Ethereum" ? "#A1A9DC" : "#5D8CCC"
|
|
137
128
|
},
|
|
138
|
-
children:
|
|
129
|
+
children: a.network
|
|
139
130
|
}
|
|
140
131
|
) }),
|
|
141
|
-
/* @__PURE__ */ e(
|
|
142
|
-
Number(
|
|
132
|
+
/* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
133
|
+
Number(a.crypto_amount).toFixed(2),
|
|
143
134
|
" ",
|
|
144
|
-
|
|
135
|
+
a.crypto_currency.toUpperCase()
|
|
145
136
|
] }) }),
|
|
146
|
-
/* @__PURE__ */ e(
|
|
147
|
-
(Number(l) - Number(
|
|
137
|
+
/* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
138
|
+
(Number(l) - Number(a.total_fee)).toFixed(2),
|
|
148
139
|
" ",
|
|
149
|
-
|
|
140
|
+
a.fiat_currency
|
|
150
141
|
] }) }),
|
|
151
|
-
/* @__PURE__ */ e(
|
|
152
|
-
/* @__PURE__ */ e(
|
|
153
|
-
Number(
|
|
142
|
+
/* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
|
|
143
|
+
/* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
144
|
+
Number(a.total_fee).toFixed(2),
|
|
154
145
|
" ",
|
|
155
|
-
|
|
146
|
+
a.fiat_currency
|
|
156
147
|
] }) }),
|
|
157
|
-
/* @__PURE__ */ e(
|
|
158
|
-
/* @__PURE__ */ e(
|
|
148
|
+
/* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ e("strong", { children: "Total Receive" }) }) }),
|
|
149
|
+
/* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ t("strong", { children: [
|
|
159
150
|
b,
|
|
160
|
-
Number(
|
|
151
|
+
Number(a.fiat_out_amount).toFixed(2),
|
|
161
152
|
" ",
|
|
162
|
-
|
|
153
|
+
a.fiat_currency
|
|
163
154
|
] }) }) })
|
|
164
155
|
] }) }),
|
|
165
156
|
/* @__PURE__ */ e(C, { mt: 4, children: /* @__PURE__ */ e(
|
|
@@ -169,13 +160,13 @@ import './assets/index8.css';const E = {
|
|
|
169
160
|
disabled: x,
|
|
170
161
|
fullWidth: !0,
|
|
171
162
|
children: /* @__PURE__ */ e("strong", { children: x ? /* @__PURE__ */ t(v, { children: [
|
|
172
|
-
/* @__PURE__ */ e(
|
|
163
|
+
/* @__PURE__ */ e(E, { size: 15, color: "inherit" }),
|
|
173
164
|
" Processing..."
|
|
174
165
|
] }) : "Sell" })
|
|
175
166
|
}
|
|
176
167
|
) }),
|
|
177
168
|
/* @__PURE__ */ t(
|
|
178
|
-
|
|
169
|
+
ae,
|
|
179
170
|
{
|
|
180
171
|
PaperProps: {
|
|
181
172
|
sx: { maxWidth: "inherit", width: "60%" }
|
|
@@ -183,21 +174,21 @@ import './assets/index8.css';const E = {
|
|
|
183
174
|
open: B,
|
|
184
175
|
fullWidth: !0,
|
|
185
176
|
onClose: () => N(!1),
|
|
186
|
-
TransitionComponent:
|
|
177
|
+
TransitionComponent: le,
|
|
187
178
|
children: [
|
|
188
179
|
/* @__PURE__ */ e(
|
|
189
|
-
|
|
180
|
+
U,
|
|
190
181
|
{
|
|
191
182
|
"aria-label": "close",
|
|
192
183
|
onClick: () => N(!1),
|
|
193
|
-
className:
|
|
194
|
-
children: /* @__PURE__ */ e(
|
|
184
|
+
className: I["close-btn"],
|
|
185
|
+
children: /* @__PURE__ */ e(de, {})
|
|
195
186
|
}
|
|
196
187
|
),
|
|
197
|
-
/* @__PURE__ */ t(
|
|
188
|
+
/* @__PURE__ */ t(oe, { sx: { mt: 1 }, children: [
|
|
198
189
|
/* @__PURE__ */ e(i, { className: "text-center", variant: "h4", children: /* @__PURE__ */ e("strong", { children: "Payout Details" }) }),
|
|
199
190
|
/* @__PURE__ */ e(i, { sx: { mt: 2 }, className: "text-center", variant: "body1", children: "You will receieve funds in the following card:" }),
|
|
200
|
-
/* @__PURE__ */ t(
|
|
191
|
+
/* @__PURE__ */ t(r, { container: !0, spacing: 1, sx: { padding: "0% 15%" }, children: [
|
|
201
192
|
/* @__PURE__ */ e(z, { label: "Name", value: h.account_holder_name }),
|
|
202
193
|
/* @__PURE__ */ e(
|
|
203
194
|
z,
|
|
@@ -221,7 +212,7 @@ import './assets/index8.css';const E = {
|
|
|
221
212
|
sx: { mt: 2 },
|
|
222
213
|
fullWidth: !0,
|
|
223
214
|
children: /* @__PURE__ */ e("strong", { children: x ? /* @__PURE__ */ t(v, { children: [
|
|
224
|
-
/* @__PURE__ */ e(
|
|
215
|
+
/* @__PURE__ */ e(E, { size: 15, color: "inherit" }),
|
|
225
216
|
" Processing..."
|
|
226
217
|
] }) : "Submit" })
|
|
227
218
|
}
|
|
@@ -232,7 +223,7 @@ import './assets/index8.css';const E = {
|
|
|
232
223
|
}
|
|
233
224
|
),
|
|
234
225
|
/* @__PURE__ */ t(
|
|
235
|
-
|
|
226
|
+
ae,
|
|
236
227
|
{
|
|
237
228
|
PaperProps: {
|
|
238
229
|
sx: { maxWidth: "inherit", width: "60%" }
|
|
@@ -240,21 +231,21 @@ import './assets/index8.css';const E = {
|
|
|
240
231
|
open: s,
|
|
241
232
|
fullWidth: !0,
|
|
242
233
|
onClose: () => L(!1),
|
|
243
|
-
TransitionComponent:
|
|
234
|
+
TransitionComponent: le,
|
|
244
235
|
children: [
|
|
245
236
|
/* @__PURE__ */ e(
|
|
246
|
-
|
|
237
|
+
U,
|
|
247
238
|
{
|
|
248
239
|
"aria-label": "close",
|
|
249
240
|
onClick: () => L(!1),
|
|
250
|
-
className:
|
|
251
|
-
children: /* @__PURE__ */ e(
|
|
241
|
+
className: I["close-btn"],
|
|
242
|
+
children: /* @__PURE__ */ e(de, {})
|
|
252
243
|
}
|
|
253
244
|
),
|
|
254
|
-
/* @__PURE__ */ t(
|
|
245
|
+
/* @__PURE__ */ t(oe, { sx: { mt: 1 }, children: [
|
|
255
246
|
/* @__PURE__ */ e(i, { className: "text-center", variant: "h4", children: /* @__PURE__ */ e("strong", { children: "Order Complete" }) }),
|
|
256
247
|
/* @__PURE__ */ e(i, { sx: { mt: 2 }, className: "text-center", variant: "body1", children: "Your order has been successfully completed. You can track your order either from dashboard or transaction history page." }),
|
|
257
|
-
/* @__PURE__ */ t(
|
|
248
|
+
/* @__PURE__ */ t(r, { container: !0, spacing: 1, sx: { padding: "0% 15%" }, children: [
|
|
258
249
|
/* @__PURE__ */ e(z, { label: "Order ID ", value: A }),
|
|
259
250
|
/* @__PURE__ */ e(
|
|
260
251
|
j,
|
|
@@ -271,7 +262,7 @@ import './assets/index8.css';const E = {
|
|
|
271
262
|
}
|
|
272
263
|
)
|
|
273
264
|
] });
|
|
274
|
-
},
|
|
265
|
+
}, at = ({
|
|
275
266
|
setScreen: T,
|
|
276
267
|
orderData: y,
|
|
277
268
|
dispatch: d,
|
|
@@ -279,7 +270,7 @@ import './assets/index8.css';const E = {
|
|
|
279
270
|
cryptoAssets: u,
|
|
280
271
|
getCryptoAssets: S,
|
|
281
272
|
showAlertMessage: p,
|
|
282
|
-
partnerKey:
|
|
273
|
+
partnerKey: a,
|
|
283
274
|
balance: A,
|
|
284
275
|
store: x
|
|
285
276
|
}) => {
|
|
@@ -288,23 +279,23 @@ import './assets/index8.css';const E = {
|
|
|
288
279
|
const F = u.featureTokens.list, _ = u.featureTokens.default, B = u.loader, N = y.loader, s = y.estimate, L = y.card, M = s.fiat_out_amount, D = s.conversion_price, z = s.total_fee;
|
|
289
280
|
let Y = 0, q = 0;
|
|
290
281
|
const Z = s.fee_breakdown;
|
|
291
|
-
for (let
|
|
292
|
-
const
|
|
293
|
-
|
|
282
|
+
for (let n = 0; n < Z.length; n++) {
|
|
283
|
+
const o = Z[n];
|
|
284
|
+
o.name === "ev_fee" ? Y = Number(o.value) : o.name === "network_fee" && (q = Number(o.value));
|
|
294
285
|
}
|
|
295
286
|
const [g, H] = c({
|
|
296
287
|
symbol: ""
|
|
297
|
-
}), [J, O] = c(!1), [X, ye] = c(0), [K, xe] = c(0), [_e, ge] = c([]), [ee, be] = c(!1), [te, Ne] = c(50), [
|
|
288
|
+
}), [J, O] = c(!1), [X, ye] = c(0), [K, xe] = c(0), [_e, ge] = c([]), [ee, be] = c(!1), [te, Ne] = c(50), [ne, ve] = c(3e3), [Q, Ce] = c(50), [re, ke] = c(3e3), [Fe, P] = c(""), [w, ie] = c(
|
|
298
289
|
s.crypto_amount || Q.toString()
|
|
299
290
|
);
|
|
300
291
|
f(() => {
|
|
301
|
-
d(
|
|
292
|
+
d(Ge());
|
|
302
293
|
}, []), f(() => {
|
|
303
294
|
if (s.crypto_currency) {
|
|
304
|
-
const
|
|
305
|
-
(
|
|
295
|
+
const n = F.find(
|
|
296
|
+
(o) => o.symbol === s.crypto_currency
|
|
306
297
|
);
|
|
307
|
-
H(
|
|
298
|
+
H(n);
|
|
308
299
|
} else
|
|
309
300
|
_ && _.id && H(_);
|
|
310
301
|
}, [_, s.crypto_currency]), f(() => {
|
|
@@ -312,53 +303,53 @@ import './assets/index8.css';const E = {
|
|
|
312
303
|
}, [K]), f(() => {
|
|
313
304
|
if (b.length === 0)
|
|
314
305
|
return;
|
|
315
|
-
const
|
|
316
|
-
for (let
|
|
317
|
-
if (b[
|
|
318
|
-
const m = b[
|
|
319
|
-
xe(b[
|
|
306
|
+
const n = [];
|
|
307
|
+
for (let o = 0; o < b.length; o++) {
|
|
308
|
+
if (b[o].symbol === h) {
|
|
309
|
+
const m = b[o].payment_options;
|
|
310
|
+
xe(b[o].id);
|
|
320
311
|
let $ = !1;
|
|
321
312
|
for (let R = 0; R < m.length; R++) {
|
|
322
313
|
const G = m[R];
|
|
323
|
-
G.active && (
|
|
314
|
+
G.active && (n.push(G), m[R].id === X && ($ = !0));
|
|
324
315
|
}
|
|
325
|
-
$ || ye(
|
|
316
|
+
$ || ye(n[0].id);
|
|
326
317
|
}
|
|
327
|
-
ge(
|
|
318
|
+
ge(n);
|
|
328
319
|
}
|
|
329
320
|
}, [h, b]), f(() => {
|
|
330
321
|
if (g && g.id && w && X && K) {
|
|
331
|
-
d(
|
|
332
|
-
const
|
|
333
|
-
|
|
322
|
+
d(je(V)), O(!1), P("");
|
|
323
|
+
const n = setTimeout(() => {
|
|
324
|
+
Ee();
|
|
334
325
|
}, 1e3);
|
|
335
|
-
return () => clearTimeout(
|
|
326
|
+
return () => clearTimeout(n);
|
|
336
327
|
}
|
|
337
328
|
}, [g, w, X, F, K]);
|
|
338
|
-
const
|
|
329
|
+
const Ee = () => {
|
|
339
330
|
var R;
|
|
340
|
-
const
|
|
341
|
-
if (g.symbol ===
|
|
342
|
-
if (te >
|
|
331
|
+
const n = parseFloat(w);
|
|
332
|
+
if (g.symbol === Le) {
|
|
333
|
+
if (te > n)
|
|
343
334
|
return P(
|
|
344
335
|
`Minimum value should be greater than ${l + te}`
|
|
345
336
|
), O(!0), !1;
|
|
346
|
-
if (
|
|
337
|
+
if (ne * 1 < n)
|
|
347
338
|
return P(
|
|
348
|
-
`Maximum value should be less than ${l +
|
|
339
|
+
`Maximum value should be less than ${l + ne}`
|
|
349
340
|
), O(!0), !1;
|
|
350
341
|
} else {
|
|
351
|
-
if (Q * 1 >
|
|
342
|
+
if (Q * 1 > n)
|
|
352
343
|
return P(
|
|
353
344
|
`Minimum value should be greater than ${l + Q}`
|
|
354
345
|
), O(!0), !1;
|
|
355
|
-
if (
|
|
346
|
+
if (re * 1 < n)
|
|
356
347
|
return P(
|
|
357
|
-
`Maximum value should be less than ${l +
|
|
348
|
+
`Maximum value should be less than ${l + re}`
|
|
358
349
|
), O(!0), !1;
|
|
359
350
|
}
|
|
360
|
-
const
|
|
361
|
-
if (
|
|
351
|
+
const o = parseFloat(x.balance.usd);
|
|
352
|
+
if (n > o)
|
|
362
353
|
return P(
|
|
363
354
|
`Store doesn't have enough balance. Currently only ${x.balance.usd} credits can be purchased`
|
|
364
355
|
), O(!0), !1;
|
|
@@ -366,8 +357,8 @@ import './assets/index8.css';const E = {
|
|
|
366
357
|
d(
|
|
367
358
|
pe(
|
|
368
359
|
{
|
|
369
|
-
apiKey:
|
|
370
|
-
transaction_type:
|
|
360
|
+
apiKey: a,
|
|
361
|
+
transaction_type: Xe,
|
|
371
362
|
coin_amount: w,
|
|
372
363
|
exchange: g.exchange,
|
|
373
364
|
payment_type: $,
|
|
@@ -376,31 +367,31 @@ import './assets/index8.css';const E = {
|
|
|
376
367
|
network: (R = g.network) == null ? void 0 : R.name,
|
|
377
368
|
payment_provider: m.payment_provider
|
|
378
369
|
},
|
|
379
|
-
|
|
370
|
+
V
|
|
380
371
|
)
|
|
381
372
|
);
|
|
382
373
|
};
|
|
383
374
|
f(() => {
|
|
384
|
-
const
|
|
385
|
-
if (
|
|
386
|
-
for (let
|
|
387
|
-
const m = y.types[
|
|
388
|
-
if (m.type ===
|
|
375
|
+
const n = y.types.length;
|
|
376
|
+
if (n > 0)
|
|
377
|
+
for (let o = 0; o < n; o++) {
|
|
378
|
+
const m = y.types[o];
|
|
379
|
+
if (m.type === De) {
|
|
389
380
|
Ne(parseFloat(m.min_deposit_amount)), ve(parseFloat(m.max_deposit_amount));
|
|
390
381
|
break;
|
|
391
382
|
}
|
|
392
|
-
if (m.type ===
|
|
383
|
+
if (m.type === Ye) {
|
|
393
384
|
Ce(parseFloat(m.min_deposit_amount)), ke(parseFloat(m.max_deposit_amount));
|
|
394
385
|
break;
|
|
395
386
|
}
|
|
396
387
|
}
|
|
397
388
|
}, [y.types]);
|
|
398
|
-
const
|
|
399
|
-
const
|
|
400
|
-
|
|
401
|
-
}, Te = (
|
|
402
|
-
const
|
|
403
|
-
H(
|
|
389
|
+
const Ie = (n) => {
|
|
390
|
+
const o = n.target.value;
|
|
391
|
+
o ? /^([0-9]+)$/.test(o) && ie(o) : ie("");
|
|
392
|
+
}, Te = (n) => {
|
|
393
|
+
const o = F.find((m) => m.symbol === n);
|
|
394
|
+
H(o);
|
|
404
395
|
}, Ae = () => {
|
|
405
396
|
if (!g.id)
|
|
406
397
|
return p({ message: "Please select token" }), !1;
|
|
@@ -419,8 +410,8 @@ import './assets/index8.css';const E = {
|
|
|
419
410
|
T(fe);
|
|
420
411
|
};
|
|
421
412
|
return /* @__PURE__ */ t(v, { children: [
|
|
422
|
-
/* @__PURE__ */ t(
|
|
423
|
-
/* @__PURE__ */ e(
|
|
413
|
+
/* @__PURE__ */ t(r, { mt: 0.5, spacing: 1, container: !0, children: [
|
|
414
|
+
/* @__PURE__ */ e(r, { size: { xs: 3.5 }, children: /* @__PURE__ */ t(C, { className: I["buy-info"], children: [
|
|
424
415
|
/* @__PURE__ */ e(i, { variant: "2xl", children: /* @__PURE__ */ e("strong", { children: "Redeem Request" }) }),
|
|
425
416
|
/* @__PURE__ */ t(i, { variant: "md", children: [
|
|
426
417
|
"1 credit = ",
|
|
@@ -428,27 +419,27 @@ import './assets/index8.css';const E = {
|
|
|
428
419
|
l
|
|
429
420
|
] })
|
|
430
421
|
] }) }),
|
|
431
|
-
/* @__PURE__ */ e(
|
|
422
|
+
/* @__PURE__ */ e(r, { size: { xs: 6 }, children: /* @__PURE__ */ t(
|
|
432
423
|
C,
|
|
433
424
|
{
|
|
434
|
-
className:
|
|
425
|
+
className: I["buy-info"],
|
|
435
426
|
sx: {
|
|
436
427
|
padding: "0px 50px !important",
|
|
437
428
|
alignItems: "center"
|
|
438
429
|
},
|
|
439
430
|
children: [
|
|
440
431
|
/* @__PURE__ */ e(i, { variant: "md", children: "MAX amount you can request:" }),
|
|
441
|
-
/* @__PURE__ */ e(i, { variant: "md", children: x.balanceLoader ? /* @__PURE__ */ e(
|
|
432
|
+
/* @__PURE__ */ e(i, { variant: "md", children: x.balanceLoader ? /* @__PURE__ */ e(E, { sx: { ml: 1 }, size: 15, color: "primary" }) : /* @__PURE__ */ t(v, { children: [
|
|
442
433
|
x.balance.usd,
|
|
443
434
|
" credits"
|
|
444
435
|
] }) })
|
|
445
436
|
]
|
|
446
437
|
}
|
|
447
438
|
) }),
|
|
448
|
-
/* @__PURE__ */ e(
|
|
439
|
+
/* @__PURE__ */ e(r, { size: { xs: 2.5 }, children: /* @__PURE__ */ t(
|
|
449
440
|
C,
|
|
450
441
|
{
|
|
451
|
-
className:
|
|
442
|
+
className: I["buy-info"],
|
|
452
443
|
sx: {
|
|
453
444
|
background: "black !important",
|
|
454
445
|
color: "white !important"
|
|
@@ -460,13 +451,13 @@ import './assets/index8.css';const E = {
|
|
|
460
451
|
}
|
|
461
452
|
) })
|
|
462
453
|
] }),
|
|
463
|
-
/* @__PURE__ */ t(
|
|
464
|
-
/* @__PURE__ */ e(
|
|
465
|
-
|
|
454
|
+
/* @__PURE__ */ t(r, { mt: 2, spacing: 2, container: !0, children: [
|
|
455
|
+
/* @__PURE__ */ e(r, { size: { xs: 6 }, children: /* @__PURE__ */ e(
|
|
456
|
+
me,
|
|
466
457
|
{
|
|
467
458
|
label: "You Sell",
|
|
468
459
|
value: w,
|
|
469
|
-
onChange:
|
|
460
|
+
onChange: Ie,
|
|
470
461
|
type: "text",
|
|
471
462
|
labelFontWeight: 600,
|
|
472
463
|
error: J,
|
|
@@ -475,10 +466,10 @@ import './assets/index8.css';const E = {
|
|
|
475
466
|
fullWidth: !0
|
|
476
467
|
}
|
|
477
468
|
) }),
|
|
478
|
-
/* @__PURE__ */ e(
|
|
479
|
-
/* @__PURE__ */ e(
|
|
480
|
-
/* @__PURE__ */ e(
|
|
481
|
-
|
|
469
|
+
/* @__PURE__ */ e(r, { size: { xs: 5 }, className: "content-center", children: B ? /* @__PURE__ */ e(E, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ t(v, { children: [
|
|
470
|
+
/* @__PURE__ */ e(Se, { children: " " }),
|
|
471
|
+
/* @__PURE__ */ e(Me, { variant: "outlined", fullWidth: !0, children: /* @__PURE__ */ t(
|
|
472
|
+
ze,
|
|
482
473
|
{
|
|
483
474
|
sx: { marginTop: "-2px" },
|
|
484
475
|
inputProps: {
|
|
@@ -489,31 +480,31 @@ import './assets/index8.css';const E = {
|
|
|
489
480
|
}
|
|
490
481
|
},
|
|
491
482
|
value: g.symbol,
|
|
492
|
-
onChange: (
|
|
483
|
+
onChange: (n) => Te(n.target.value),
|
|
493
484
|
children: [
|
|
494
|
-
/* @__PURE__ */ e(
|
|
495
|
-
F.map((
|
|
496
|
-
/* @__PURE__ */ e(
|
|
485
|
+
/* @__PURE__ */ e(se, { value: "", children: "Please select" }),
|
|
486
|
+
F.map((n) => /* @__PURE__ */ t(se, { value: n.symbol, children: [
|
|
487
|
+
/* @__PURE__ */ e(Oe, { className: "dropdown-list-item", children: /* @__PURE__ */ e(
|
|
497
488
|
"img",
|
|
498
489
|
{
|
|
499
|
-
src:
|
|
500
|
-
onError: ({ currentTarget:
|
|
501
|
-
|
|
490
|
+
src: n.icon_uri,
|
|
491
|
+
onError: ({ currentTarget: o }) => {
|
|
492
|
+
o.onerror = null, o.src = rt;
|
|
502
493
|
},
|
|
503
494
|
alt: "tokenImg",
|
|
504
495
|
width: "36",
|
|
505
496
|
height: "36"
|
|
506
497
|
}
|
|
507
498
|
) }),
|
|
508
|
-
/* @__PURE__ */ e("span", { children:
|
|
509
|
-
] },
|
|
499
|
+
/* @__PURE__ */ e("span", { children: n.name })
|
|
500
|
+
] }, n.id))
|
|
510
501
|
]
|
|
511
502
|
}
|
|
512
503
|
) })
|
|
513
504
|
] }) })
|
|
514
505
|
] }),
|
|
515
|
-
/* @__PURE__ */ e(
|
|
516
|
-
|
|
506
|
+
/* @__PURE__ */ e(r, { mt: 3, spacing: 2, container: !0, children: /* @__PURE__ */ e(r, { size: { xs: 6 }, children: /* @__PURE__ */ e(
|
|
507
|
+
me,
|
|
517
508
|
{
|
|
518
509
|
label: "You Receive",
|
|
519
510
|
labelFontWeight: 600,
|
|
@@ -525,18 +516,18 @@ import './assets/index8.css';const E = {
|
|
|
525
516
|
fullWidth: !0
|
|
526
517
|
}
|
|
527
518
|
) }) }),
|
|
528
|
-
/* @__PURE__ */ e(C, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ t(
|
|
529
|
-
/* @__PURE__ */ e(
|
|
530
|
-
|
|
519
|
+
/* @__PURE__ */ e(C, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ t(r, { container: !0, children: [
|
|
520
|
+
/* @__PURE__ */ e(r, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ t(
|
|
521
|
+
U,
|
|
531
522
|
{
|
|
532
523
|
sx: { padding: "0" },
|
|
533
|
-
onClick: () => be((
|
|
524
|
+
onClick: () => be((n) => !n),
|
|
534
525
|
disableFocusRipple: !0,
|
|
535
526
|
disableRipple: !0,
|
|
536
527
|
children: [
|
|
537
528
|
/* @__PURE__ */ e(i, { variant: "md", fontWeight: 500, children: "Fee Calculation" }),
|
|
538
529
|
/* @__PURE__ */ e(
|
|
539
|
-
|
|
530
|
+
Ve,
|
|
540
531
|
{
|
|
541
532
|
sx: {
|
|
542
533
|
transform: `rotate(${ee ? "90" : "0"}deg)`,
|
|
@@ -548,11 +539,11 @@ import './assets/index8.css';const E = {
|
|
|
548
539
|
}
|
|
549
540
|
) }),
|
|
550
541
|
ee && /* @__PURE__ */ t(v, { children: [
|
|
551
|
-
/* @__PURE__ */ e(
|
|
552
|
-
/* @__PURE__ */ e(
|
|
542
|
+
/* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Everest Fee" }) }),
|
|
543
|
+
/* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
553
544
|
l,
|
|
554
545
|
N ? /* @__PURE__ */ e(
|
|
555
|
-
|
|
546
|
+
E,
|
|
556
547
|
{
|
|
557
548
|
sx: { ml: 1 },
|
|
558
549
|
size: 15,
|
|
@@ -560,11 +551,11 @@ import './assets/index8.css';const E = {
|
|
|
560
551
|
}
|
|
561
552
|
) : Y.toFixed(2)
|
|
562
553
|
] }) }),
|
|
563
|
-
/* @__PURE__ */ e(
|
|
564
|
-
/* @__PURE__ */ e(
|
|
554
|
+
/* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Network Fee" }) }),
|
|
555
|
+
/* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
565
556
|
l,
|
|
566
557
|
N ? /* @__PURE__ */ e(
|
|
567
|
-
|
|
558
|
+
E,
|
|
568
559
|
{
|
|
569
560
|
sx: { ml: 1 },
|
|
570
561
|
size: 15,
|
|
@@ -573,23 +564,23 @@ import './assets/index8.css';const E = {
|
|
|
573
564
|
) : q.toFixed(2)
|
|
574
565
|
] }) })
|
|
575
566
|
] }),
|
|
576
|
-
/* @__PURE__ */ e(
|
|
577
|
-
/* @__PURE__ */ e(
|
|
567
|
+
/* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
|
|
568
|
+
/* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
578
569
|
l,
|
|
579
|
-
N ? /* @__PURE__ */ e(
|
|
570
|
+
N ? /* @__PURE__ */ e(E, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(z).toFixed(2)
|
|
580
571
|
] }) }),
|
|
581
572
|
g && /* @__PURE__ */ t(v, { children: [
|
|
582
|
-
/* @__PURE__ */ e(
|
|
573
|
+
/* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
583
574
|
"1 ",
|
|
584
575
|
g.symbol,
|
|
585
576
|
" ",
|
|
586
577
|
/* @__PURE__ */ e(
|
|
587
|
-
|
|
578
|
+
et,
|
|
588
579
|
{
|
|
589
|
-
title:
|
|
580
|
+
title: qe,
|
|
590
581
|
placement: "right",
|
|
591
|
-
children: /* @__PURE__ */ e(
|
|
592
|
-
|
|
582
|
+
children: /* @__PURE__ */ e(U, { className: "info-fee-icon", children: /* @__PURE__ */ e(
|
|
583
|
+
nt,
|
|
593
584
|
{
|
|
594
585
|
sx: {
|
|
595
586
|
fontSize: "14px"
|
|
@@ -599,10 +590,10 @@ import './assets/index8.css';const E = {
|
|
|
599
590
|
}
|
|
600
591
|
)
|
|
601
592
|
] }) }),
|
|
602
|
-
/* @__PURE__ */ e(
|
|
593
|
+
/* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ t(i, { variant: "caption", children: [
|
|
603
594
|
l,
|
|
604
595
|
N ? /* @__PURE__ */ e(
|
|
605
|
-
|
|
596
|
+
E,
|
|
606
597
|
{
|
|
607
598
|
sx: { ml: 1 },
|
|
608
599
|
size: 15,
|
|
@@ -622,24 +613,24 @@ import './assets/index8.css';const E = {
|
|
|
622
613
|
}
|
|
623
614
|
) })
|
|
624
615
|
] });
|
|
625
|
-
}, he = "FORM_SCREEN", fe = "CONFIRM_SCREEN",
|
|
626
|
-
const d =
|
|
616
|
+
}, he = "FORM_SCREEN", fe = "CONFIRM_SCREEN", Kt = "PAYMENT_SCREEN", ot = "MINIMAL_KYC_SCREEN", st = ({ partnerKey: T, navigate: y }) => {
|
|
617
|
+
const d = Qe(), k = W((s) => s.app), u = W((s) => s.order), S = W(
|
|
627
618
|
(s) => s.user.profile
|
|
628
|
-
), p = u.error,
|
|
619
|
+
), p = u.error, a = W(
|
|
629
620
|
(s) => s.user.profile.everWalletAddress
|
|
630
621
|
), A = W(
|
|
631
622
|
(s) => s.fiatAssets
|
|
632
623
|
), x = W(
|
|
633
624
|
(s) => s.cryptoAssets
|
|
634
|
-
), [h, l] = c(he), [b, F] = c(0), { showAlertMessage: _, snackBar: B } =
|
|
625
|
+
), [h, l] = c(he), [b, F] = c(0), { showAlertMessage: _, snackBar: B } = Ze();
|
|
635
626
|
return f(() => {
|
|
636
|
-
F(
|
|
627
|
+
F(we(S.tokens.list));
|
|
637
628
|
}, [S.tokens]), f(() => {
|
|
638
629
|
p && _({ message: p });
|
|
639
630
|
}, [p]), f(() => {
|
|
640
|
-
u.initMinimalKyc && (_({ message: p, type: "info" }), l(
|
|
631
|
+
u.initMinimalKyc && (_({ message: p, type: "info" }), l(ot));
|
|
641
632
|
}, [u.initMinimalKyc]), f(() => {
|
|
642
|
-
d(
|
|
633
|
+
d(He()), d(Ue(Ke));
|
|
643
634
|
}, []), /* @__PURE__ */ t(v, { children: [
|
|
644
635
|
B,
|
|
645
636
|
/* @__PURE__ */ e(
|
|
@@ -653,7 +644,7 @@ import './assets/index8.css';const E = {
|
|
|
653
644
|
},
|
|
654
645
|
children: {
|
|
655
646
|
FORM_SCREEN: /* @__PURE__ */ e(
|
|
656
|
-
|
|
647
|
+
at,
|
|
657
648
|
{
|
|
658
649
|
showAlertMessage: _,
|
|
659
650
|
setScreen: l,
|
|
@@ -662,7 +653,7 @@ import './assets/index8.css';const E = {
|
|
|
662
653
|
orderData: u,
|
|
663
654
|
dispatch: d,
|
|
664
655
|
getCryptoAssets: (s) => {
|
|
665
|
-
d(
|
|
656
|
+
d(Je({ type: V, id: s, partnerKey: T }));
|
|
666
657
|
},
|
|
667
658
|
partnerKey: T,
|
|
668
659
|
balance: b,
|
|
@@ -677,13 +668,13 @@ import './assets/index8.css';const E = {
|
|
|
677
668
|
showAlertMessage: _,
|
|
678
669
|
orderData: u,
|
|
679
670
|
dispatch: d,
|
|
680
|
-
walletAddress:
|
|
671
|
+
walletAddress: a,
|
|
681
672
|
navigate: y,
|
|
682
673
|
store: k.store
|
|
683
674
|
}
|
|
684
675
|
),
|
|
685
676
|
MINIMAL_KYC_SCREEN: /* @__PURE__ */ e(
|
|
686
|
-
|
|
677
|
+
tt,
|
|
687
678
|
{
|
|
688
679
|
onComplete: () => {
|
|
689
680
|
l(fe);
|
|
@@ -694,13 +685,13 @@ import './assets/index8.css';const E = {
|
|
|
694
685
|
}
|
|
695
686
|
)
|
|
696
687
|
] });
|
|
697
|
-
},
|
|
688
|
+
}, $t = Re(st);
|
|
698
689
|
export {
|
|
699
690
|
it as B,
|
|
700
691
|
fe as C,
|
|
701
692
|
he as F,
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
693
|
+
ot as M,
|
|
694
|
+
Kt as P,
|
|
695
|
+
at as S,
|
|
696
|
+
$t as i
|
|
706
697
|
};
|