everest-npm-features 0.0.60 → 0.0.62

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 (238) hide show
  1. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  2. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  3. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  4. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  5. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  6. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  7. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  8. package/dist/{PlayArrow-BlkZJiHn.js → PlayArrow-BVDyfxsQ.js} +2 -2
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/assets/index7.css +1 -1
  11. package/dist/assets/index8.css +1 -1
  12. package/dist/{auth-WhDJHZtr.js → auth-DTJdu6mq.js} +11 -11
  13. package/dist/{bank-BaOrdTcI.js → bank-C4pmTe--.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -52
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +9 -9
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -54
  51. package/dist/components/Shared/FullKyc/index.js +13 -12
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +7 -8
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -14
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.js +34 -38
  63. package/dist/components/Wallet/Account/eWallet.js +35 -39
  64. package/dist/components/Wallet/Account/iban.js +49 -53
  65. package/dist/components/Wallet/Account/ibanItem.js +70 -76
  66. package/dist/components/Wallet/Account/index.js +68 -76
  67. package/dist/components/Wallet/Account/sendIban.js +79 -88
  68. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -12
  69. package/dist/components/Wallet/Buy/form.js +8 -18
  70. package/dist/components/Wallet/Buy/index.js +6 -6
  71. package/dist/components/Wallet/Deposit/index.js +16 -19
  72. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -34
  73. package/dist/components/Wallet/EnterpriseKyc/index.js +76 -81
  74. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  76. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  77. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +37 -39
  79. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1483
  80. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  81. package/dist/components/Wallet/EnterpriseKyc/verify.js +23 -24
  82. package/dist/components/Wallet/History/index.js +23 -797
  83. package/dist/components/Wallet/Home/index.js +13 -14
  84. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -97
  85. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  86. package/dist/components/Wallet/Portfolio/index.js +48 -52
  87. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  88. package/dist/components/Wallet/Profile/documents.js +125 -134
  89. package/dist/components/Wallet/Profile/index.js +38 -44
  90. package/dist/components/Wallet/Profile/storage.js +39 -47
  91. package/dist/components/Wallet/Receive/index.js +32 -37
  92. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -11
  93. package/dist/components/Wallet/Sell/form.js +8 -18
  94. package/dist/components/Wallet/Sell/index.js +6 -6
  95. package/dist/components/Wallet/Send/index.js +336 -324
  96. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  97. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  98. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  99. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -20
  100. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  101. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  102. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  103. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  104. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  105. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  106. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  107. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  108. package/dist/components/Wallet/Shared/addBank.js +41 -46
  109. package/dist/components/Wallet/Shared/appButton.js +11 -15
  110. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  111. package/dist/components/Wallet/Shared/button.js +7 -7
  112. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  113. package/dist/components/Wallet/Shared/inputField.js +5 -5
  114. package/dist/components/Wallet/Shared/manualSend.js +9 -14
  115. package/dist/components/Wallet/Shared/noData.js +4 -5
  116. package/dist/components/Wallet/Shared/pin.js +25 -27
  117. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  118. package/dist/components/Wallet/Shared/step.js +12 -13
  119. package/dist/components/Wallet/Shared/timer.js +1 -1
  120. package/dist/components/Wallet/SignIn/index.js +17 -17
  121. package/dist/components/Wallet/SignUp/index.js +63 -153
  122. package/dist/components/Wallet/SignUp/terms.js +1 -1
  123. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  124. package/dist/components/Wallet/Stake/id/index.js +73 -81
  125. package/dist/components/Wallet/Stake/index.js +65 -69
  126. package/dist/components/Wallet/Swap/form.js +11 -21
  127. package/dist/components/Wallet/Swap/index.js +5 -5
  128. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  129. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  130. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  131. package/dist/components/Wallet/Withdraw/form.js +6 -17
  132. package/dist/components/Wallet/Withdraw/index.js +5 -5
  133. package/dist/{constants-DREDnCMu.js → constants-DrmtdI1J.js} +7 -7
  134. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  135. package/dist/{cryptoAssets-DbyDgq4J.js → cryptoAssets-DyGDknvq.js} +1 -1
  136. package/dist/hoc/withThemeProvider.js +5 -732
  137. package/dist/hooks/useDialog/index.js +22 -23
  138. package/dist/hooks/useRrDialog/index.js +43 -46
  139. package/dist/hooks/useSnackBar.js +24 -696
  140. package/dist/icons/buyIcon.js +1 -1
  141. package/dist/icons/canceledBuyIcon.js +1 -1
  142. package/dist/icons/canceledRedeemIcon.js +1 -1
  143. package/dist/icons/failedBuyIcon.js +2 -2
  144. package/dist/icons/failedRedeemIcon.js +2 -2
  145. package/dist/icons/pendingBuyIcon.js +1 -1
  146. package/dist/icons/pendingRedeemIcon.js +1 -1
  147. package/dist/icons/redeemIcon.js +1 -1
  148. package/dist/{index-DYP5Ex_T.js → index-3OQ4M69t.js} +89 -99
  149. package/dist/{index-B3HnUBnB.js → index-BBFbUCRZ.js} +123 -129
  150. package/dist/{index-PoMNqntN.js → index-C1WPCgkl.js} +130 -141
  151. package/dist/{index-BXutc9ik.js → index-CDwzoHu7.js} +134 -145
  152. package/dist/{index-DV1dVcrY.js → index-CK4kLRAw.js} +172 -182
  153. package/dist/{index-DJ7xuxBy.js → index-CYX3j0V7.js} +175 -185
  154. package/dist/{index-CuPCW3XC.js → index-ILpK4BCB.js} +154 -163
  155. package/dist/{kyc-D4s_B9Cf.js → kyc-ksV3vBP_.js} +1 -1
  156. package/dist/main.js +7 -7
  157. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  158. package/dist/{order-DGBbo_Ox.js → order-DEp_Lmar.js} +1 -1
  159. package/dist/otpForm-fiNqeB5H.js +7378 -0
  160. package/dist/{stake-CdMc5H7D.js → stake-Ct7-_aWW.js} +1 -1
  161. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  162. package/dist/tooltip-BW0UyWw7.js +2129 -0
  163. package/dist/{wallet-DvfdQOju.js → wallet-CauUBXou.js} +1 -1
  164. package/package.json +6 -6
  165. package/dist/Alert-DzsbFW3-.js +0 -369
  166. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  167. package/dist/Avatar-1XklXr4O.js +0 -281
  168. package/dist/Backdrop-CioURPVG.js +0 -359
  169. package/dist/Box-B0YSYLco.js +0 -59
  170. package/dist/Button-Df4vgU24.js +0 -663
  171. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  172. package/dist/CardContent-D9wTdpu-.js +0 -141
  173. package/dist/CircularProgress-xZA3lvba.js +0 -252
  174. package/dist/Close-CxzDL3J-.js +0 -9
  175. package/dist/Container-urNKV7hm.js +0 -181
  176. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  177. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  178. package/dist/DialogContent-BMwlOnbW.js +0 -567
  179. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  180. package/dist/Divider-BShhMFf4.js +0 -297
  181. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  182. package/dist/FormControl-RtZDQMdA.js +0 -258
  183. package/dist/FormControlLabel-BliKW48y.js +0 -519
  184. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  185. package/dist/Grid-CFe3amXO.js +0 -410
  186. package/dist/Grow-CnGtel3u.js +0 -196
  187. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  188. package/dist/IconButton-DHm-hucF.js +0 -297
  189. package/dist/InputAdornment-DMiED3JH.js +0 -173
  190. package/dist/Link-DBA9Yifs.js +0 -266
  191. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  192. package/dist/Menu-DLYFFrEk.js +0 -1239
  193. package/dist/MenuItem-DUdYOJr4.js +0 -271
  194. package/dist/Modal-CFIQ_s3T.js +0 -743
  195. package/dist/Paper-Bgt2WXI6.js +0 -186
  196. package/dist/Popper-BBAoiZKn.js +0 -1409
  197. package/dist/Portal-BMAxiQwe.js +0 -69
  198. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  199. package/dist/Select-CB5yWmyn.js +0 -1886
  200. package/dist/Slide-B9Nw0LZ4.js +0 -235
  201. package/dist/Stack-k55YTxET.js +0 -172
  202. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  203. package/dist/TextField-DPpRUQe3.js +0 -978
  204. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  205. package/dist/Typography-pAaje37G.js +0 -260
  206. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  207. package/dist/clsx-BTaloaeC.js +0 -264
  208. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  209. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  210. package/dist/createTheme-CD19zQB7.js +0 -3825
  211. package/dist/debounce-46wSf_lW.js +0 -15
  212. package/dist/defaultTheme-C35y5cLB.js +0 -5
  213. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  214. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  215. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  216. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  217. package/dist/exactProp-C1Lmtwf_.js +0 -13
  218. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  219. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  220. package/dist/index-B0Z-Gjno.js +0 -22
  221. package/dist/index-DUcLo3x5.js +0 -43
  222. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  223. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  224. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  225. package/dist/memoTheme-yHaPezod.js +0 -15
  226. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  227. package/dist/radioButton-CzlYB0Lh.js +0 -402
  228. package/dist/refType-BsTH3qnM.js +0 -56
  229. package/dist/tooltip-3UvETWtS.js +0 -740
  230. package/dist/useControlled-nm4pBabJ.js +0 -31
  231. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  232. package/dist/useFormControl-CatNKXAi.js +0 -10
  233. package/dist/useId-CK6Kn3Tn.js +0 -21
  234. package/dist/useSlot-CW7SOYlh.js +0 -125
  235. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  236. package/dist/useTheme-BQJ5lp0i.js +0 -11
  237. package/dist/useTheme-S5_DHFsQ.js +0 -17
  238. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,41 +1,38 @@
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 { P as rt, f as nt } from "./PlayArrow-BlkZJiHn.js";
5
- import { I as ot } from "./Info-BVeUSPyk.js";
6
- import { G as Ie } from "./generic-token-B_ptO5yb.js";
7
- import { PAYMENT_PROVIDER_PAYSAFE as it, ID_TOKEN_SYMBOL as Oe, FIAT_TO_EVER_ID as fe, FIAT_TO_TOKEN as he, ESTIMATE_TOOLTIP_TEXT as at, DIALOG_SUCCESS_ICON as st, PAYMENT_PROVIDER_PLAID as lt, PAYMENT_PROVIDER_CARDCORP as ct, PAYMENT_BANK as ze, SEPA_ICON as mt, VISA_ICON as dt } from "./util/constants.js";
8
- import { as as B } from "./constants-DREDnCMu.js";
4
+ import { Grid as o, Typography as s, FormControl as te, FilledInput as le, FormHelperText as Ie, CircularProgress as S, Select as ue, MenuItem as ce, ListItemIcon as Oe, Box as F, InputLabel as ze, IconButton as ke } from "@mui/material";
5
+ import { P as nt, f as rt } from "./PlayArrow-BVDyfxsQ.js";
6
+ import { I as it } from "./Info-DOoRR7sR.js";
7
+ import { G as we } from "./generic-token-B_ptO5yb.js";
8
+ import { PAYMENT_PROVIDER_PAYSAFE as ot, ID_TOKEN_SYMBOL as We, FIAT_TO_EVER_ID as fe, FIAT_TO_TOKEN as he, ESTIMATE_TOOLTIP_TEXT as at, DIALOG_SUCCESS_ICON as st, PAYMENT_PROVIDER_PLAID as lt, PAYMENT_PROVIDER_CARDCORP as ct, PAYMENT_BANK as Be, SEPA_ICON as mt, VISA_ICON as dt } from "./util/constants.js";
9
+ import { as as B } from "./constants-DrmtdI1J.js";
9
10
  import { c as pt, d as ut, u as ft } from "./index-BQNs1mvn.js";
10
- import { d as ht, e as $e, b as ye, f as yt, g as ke, h as _t } from "./order-DGBbo_Ox.js";
11
- import { M as xt } from "./tooltip-3UvETWtS.js";
11
+ import { d as ht, e as $e, b as ye, f as yt, g as Te, h as _t } from "./order-DEp_Lmar.js";
12
+ import { M as xt } from "./tooltip-BW0UyWw7.js";
12
13
  import { getCurrencySymbol as Ye, getNetworkBackGround as gt } from "./util/functions.js";
13
14
  import xe from "./components/Wallet/Shared/appButton.js";
14
15
  import Ct from "./components/Wallet/Shared/backBtn.js";
15
16
  import { s as m } from "./styles.module-DMd29SPQ.js";
16
- import { p as Nt, f as vt } from "./bank-BaOrdTcI.js";
17
+ import { p as Nt, f as vt } from "./bank-C4pmTe--.js";
17
18
  import { u as bt } from "./index.esm-BsMAMhYW.js";
18
19
  import { u as W } from "./react-redux-C7I9-1M6.js";
19
20
  import "./index-DlQqWbXG.js";
20
- import "./components/Wallet/Shared/Auth/otpForm.js";
21
+ import "./otpForm-fiNqeB5H.js";
21
22
  import { useSnackBarContext as Et } from "./context/snackBarContext.js";
22
23
  import "./util/conversions.js";
23
24
  import "./index-CAoLi5Qq.js";
24
25
  import "./react-webcam-B3cXh1XT.js";
25
26
  import "./components/Shared/transition.js";
26
- import "./components/Wallet/Shared/pin.js";
27
27
  import "./moment-h96o7c8I.js";
28
28
  import "./web3-u4qDZYpo.js";
29
29
  import "./index.esm-I_Bp2YLf.js";
30
30
  import { useDialogContext as Rt } from "./context/dialogContext.js";
31
+ import "@mui/icons-material";
31
32
  import "./index-ceeCtFuh.js";
32
- import { T as s } from "./Typography-pAaje37G.js";
33
- import { B as S } from "./Box-B0YSYLco.js";
34
- import { G as i } from "./Grid-CFe3amXO.js";
35
- import { C as P } from "./CircularProgress-xZA3lvba.js";
36
- import { f as At } from "./cryptoAssets-DbyDgq4J.js";
37
- import { u as Ft, a as Pt } from "./wallet-DvfdQOju.js";
38
- import { AuthContainer as St } from "./components/Wallet/Shared/Container/index.js";
33
+ import { f as At } from "./cryptoAssets-DyGDknvq.js";
34
+ import { u as Pt, a as St } from "./wallet-CauUBXou.js";
35
+ import { AuthContainer as Ft } from "./components/Wallet/Shared/Container/index.js";
39
36
  import Mt from "./components/Wallet/Shared/CardPayment/index.js";
40
37
  import It from "./components/Shared/MinimalKyc/index.js";
41
38
  import Ot from "./components/Wallet/Shared/Input/index.js";
@@ -44,14 +41,7 @@ import { c as kt } from "./countries-BVn1FubK.js";
44
41
  import wt from "./hooks/useEverestDispatch.js";
45
42
  import Wt from "./components/Wallet/Shared/TokenModal/index.js";
46
43
  import { PaymentButton as Bt } from "./components/Wallet/Shared/Order/paymentButton.js";
47
- import we from "./components/Wallet/Shared/Order/selectCustomIcon.js";
48
- import { F as te } from "./FormControl-RtZDQMdA.js";
49
- import { F as le } from "./FilledInput-DuNqnPjc.js";
50
- import { F as We, I as Be } from "./TextField-DPpRUQe3.js";
51
- import { S as ue } from "./Select-CB5yWmyn.js";
52
- import { M as ce } from "./MenuItem-DUdYOJr4.js";
53
- import { L as Te } from "./ListItemIcon-CUcyTEEm.js";
54
- import { I as Le } from "./IconButton-DHm-hucF.js";
44
+ import Le from "./components/Wallet/Shared/Order/selectCustomIcon.js";
55
45
  const Tt = ({
56
46
  setScreen: N,
57
47
  orderData: y,
@@ -62,43 +52,43 @@ const Tt = ({
62
52
  showAlertMessage: c,
63
53
  partnerKey: u,
64
54
  walletAddress: v,
65
- setWalletAddress: n,
66
- outputToken: o,
55
+ setWalletAddress: r,
56
+ outputToken: i,
67
57
  setOutputToken: I,
68
58
  paymentId: g,
69
59
  setPaymentId: O,
70
60
  currencyId: f,
71
- setCurrencyId: V,
72
- paymentOptions: j,
61
+ setCurrencyId: j,
62
+ paymentOptions: G,
73
63
  setPaymentOptions: b
74
64
  }) => {
75
- var Pe, Se;
76
- const H = W(pt), T = W(ut), { data: z, loader: X } = H, { data: re, loader: de } = T, L = x.fiats, ne = x.loader, k = M.featureTokens.buy.list, $ = M.featureTokens.buy.default, oe = M.loader, Y = y.loader, _ = y.estimate[B], J = _.crypto_out_amount, p = _.conversion_price, D = _.total_fee;
77
- let ie = 0, ae = 0;
65
+ var Se, Fe;
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
+ let oe = 0, ae = 0;
78
68
  const ge = _.fee_breakdown;
79
69
  for (let t = 0; t < ge.length; t++) {
80
- const r = ge[t];
81
- r.name === "ev_fee" ? ie = Number(r.value) : r.name === "network_fee" && (ae = Number(r.value));
70
+ const n = ge[t];
71
+ n.name === "ev_fee" ? oe = Number(n.value) : n.name === "network_fee" && (ae = Number(n.value));
82
72
  }
83
73
  const De = Ze(() => [
84
74
  ...z,
85
- ...re.filter(
75
+ ...ne.filter(
86
76
  (t) => !z.some(
87
- (r) => r.address.toLowerCase() === t.address.toLowerCase()
77
+ (n) => n.address.toLowerCase() === t.address.toLowerCase()
88
78
  )
89
79
  )
90
- ], [z, re]), [pe, Q] = d(!1), [q, qe] = d([]), [Ce, Ue] = d(!1), [Ne, Ke] = d(50), [ve, Ge] = d(3e3), [Z, Ve] = d(50), [be, je] = d(3e3), [Ee, ee] = d(""), [U, Re] = d(
80
+ ], [z, ne]), [pe, Q] = d(!1), [q, qe] = d([]), [Ce, Ue] = d(!1), [Ne, Ke] = d(50), [ve, Ve] = d(3e3), [Z, je] = d(50), [be, Ge] = d(3e3), [Ee, ee] = d(""), [U, Re] = d(
91
81
  _.fiat_amount || Z.toString()
92
82
  ), [He, Ae] = d(!1), K = L.find((t) => t.id === f), A = Ye(K == null ? void 0 : K.symbol);
93
83
  h(() => {
94
84
  const t = [];
95
- for (let r = 0; r < L.length; r++) {
96
- const l = {}, C = L[r];
85
+ for (let n = 0; n < L.length; n++) {
86
+ const l = {}, C = L[n];
97
87
  l.id = C.id, l.name = C.name, l.icon_uri = C.icon_uri, l.symbol = C.symbol, l.payment_options = [];
98
- const F = C.payment_options;
99
- for (let G = 0; G < F.length; G++) {
100
- const Me = {}, se = F[G];
101
- se.payment_provider !== it && se.active && se.payin_allowed && (Object.assign(Me, se), l.payment_options.push(Me));
88
+ const P = C.payment_options;
89
+ for (let V = 0; V < P.length; V++) {
90
+ const Me = {}, se = P[V];
91
+ se.payment_provider !== ot && se.active && se.payin_allowed && (Object.assign(Me, se), l.payment_options.push(Me));
102
92
  }
103
93
  l.payment_options.length > 0 && t.push(l);
104
94
  }
@@ -107,35 +97,35 @@ const Tt = ({
107
97
  if (!f || q.length === 0)
108
98
  return;
109
99
  const t = [];
110
- for (let r = 0; r < q.length; r++) {
111
- if (q[r].id === f) {
112
- const l = q[r].payment_options;
100
+ for (let n = 0; n < q.length; n++) {
101
+ if (q[n].id === f) {
102
+ const l = q[n].payment_options;
113
103
  let C = !1;
114
- for (let F = 0; F < l.length; F++) {
115
- const G = l[F];
116
- G.active && (t.push(G), l[F].id === g && (C = !0));
104
+ for (let P = 0; P < l.length; P++) {
105
+ const V = l[P];
106
+ V.active && (t.push(V), l[P].id === g && (C = !0));
117
107
  }
118
108
  C || O(t[0].id);
119
109
  }
120
110
  b(t);
121
111
  }
122
112
  }, [f, q]), h(() => {
123
- !o.symbol && $ && $.id && I($);
113
+ !i.symbol && $ && $.id && I($);
124
114
  }, [$]), h(() => {
125
115
  f && R && R(f);
126
116
  }, [f, v]), h(() => {
127
- if (o && o.id && U && g && f) {
117
+ if (i && i.id && U && g && f) {
128
118
  E(ht(B)), Q(!1), ee("");
129
119
  const t = setTimeout(() => {
130
120
  Xe();
131
121
  }, 1e3);
132
122
  return () => clearTimeout(t);
133
123
  }
134
- }, [o, U, g, k, f]);
124
+ }, [i, U, g, k, f]);
135
125
  const Xe = () => {
136
126
  var C;
137
127
  const t = parseFloat(U);
138
- if (o.symbol === Oe) {
128
+ if (i.symbol === We) {
139
129
  if (Ne > t)
140
130
  return ee(
141
131
  `Minimum value should be greater than ${A + Ne}`
@@ -154,19 +144,19 @@ const Tt = ({
154
144
  `Maximum value should be less than ${A + be}`
155
145
  ), Q(!0), !1;
156
146
  }
157
- const r = j.find((F) => F.id === g), l = r.payment_type;
147
+ const n = G.find((P) => P.id === g), l = n.payment_type;
158
148
  E(
159
149
  $e(
160
150
  {
161
151
  apiKey: u,
162
- transaction_type: o.symbol === Oe ? fe : he,
152
+ transaction_type: i.symbol === We ? fe : he,
163
153
  coin_amount: U,
164
- exchange: o.exchange,
154
+ exchange: i.exchange,
165
155
  payment_type: l,
166
156
  fiat_ccy: K == null ? void 0 : K.symbol,
167
- crypto_ccy: o.symbol,
168
- network: (C = o.network) == null ? void 0 : C.name,
169
- payment_provider: r.payment_provider
157
+ crypto_ccy: i.symbol,
158
+ network: (C = i.network) == null ? void 0 : C.name,
159
+ payment_provider: n.payment_provider
170
160
  },
171
161
  B
172
162
  )
@@ -175,19 +165,19 @@ const Tt = ({
175
165
  h(() => {
176
166
  const t = y.types.length;
177
167
  if (t > 0)
178
- for (let r = 0; r < t; r++) {
179
- const l = y.types[r];
180
- l.type === fe && (Ke(parseFloat(l.min_deposit_amount)), Ge(parseFloat(l.max_deposit_amount))), l.type === he && (Ve(parseFloat(l.min_deposit_amount)), je(parseFloat(l.max_deposit_amount)));
168
+ for (let n = 0; n < t; n++) {
169
+ const l = y.types[n];
170
+ l.type === fe && (Ke(parseFloat(l.min_deposit_amount)), Ve(parseFloat(l.max_deposit_amount))), l.type === he && (je(parseFloat(l.min_deposit_amount)), Ge(parseFloat(l.max_deposit_amount)));
181
171
  }
182
172
  }, [y.types]);
183
173
  const Je = (t) => {
184
- const r = t.target.value;
185
- r ? /^([0-9.]+)$/.test(r) && Re(r) : Re("");
186
- }, Fe = (t) => {
187
- const r = k.find((l) => l.symbol === t);
188
- I(r);
174
+ const n = t.target.value;
175
+ n ? /^([0-9.]+)$/.test(n) && Re(n) : Re("");
176
+ }, Pe = (t) => {
177
+ const n = k.find((l) => l.symbol === t);
178
+ I(n);
189
179
  }, Qe = () => {
190
- if (!o.id)
180
+ if (!i.id)
191
181
  return c({ message: "Please select token" }), !1;
192
182
  if (!g)
193
183
  return c({ message: "Please select payment method" }), !1;
@@ -202,9 +192,9 @@ const Tt = ({
202
192
  N(me);
203
193
  };
204
194
  return /* @__PURE__ */ a(w, { children: [
205
- /* @__PURE__ */ e(i, { container: !0, children: /* @__PURE__ */ e(i, { size: { xs: 6 }, children: /* @__PURE__ */ e(s, { className: m.label, variant: "caption", component: "p", children: "You Pay" }) }) }),
206
- /* @__PURE__ */ a(i, { mt: 0.5, spacing: 0, container: !0, className: m["field-set"], children: [
207
- /* @__PURE__ */ e(i, { size: { xs: 7 }, children: /* @__PURE__ */ a(
195
+ /* @__PURE__ */ e(o, { container: !0, children: /* @__PURE__ */ e(o, { size: { xs: 6 }, children: /* @__PURE__ */ e(s, { className: m.label, variant: "caption", component: "p", children: "You Pay" }) }) }),
196
+ /* @__PURE__ */ a(o, { mt: 0.5, spacing: 0, container: !0, className: m["field-set"], children: [
197
+ /* @__PURE__ */ e(o, { size: { xs: 7 }, children: /* @__PURE__ */ a(
208
198
  te,
209
199
  {
210
200
  variant: "filled",
@@ -224,12 +214,12 @@ const Tt = ({
224
214
  fullWidth: !0
225
215
  }
226
216
  ),
227
- /* @__PURE__ */ e(We, { className: m["amount-symbol"], children: " " })
217
+ /* @__PURE__ */ e(Ie, { className: m["amount-symbol"], children: " " })
228
218
  ]
229
219
  }
230
220
  ) }),
231
- /* @__PURE__ */ e(i, { size: { xs: 5 }, className: "content-center", children: ne ? /* @__PURE__ */ e(
232
- P,
221
+ /* @__PURE__ */ e(o, { size: { xs: 5 }, className: "content-center", children: re ? /* @__PURE__ */ e(
222
+ S,
233
223
  {
234
224
  sx: { ml: 1 },
235
225
  size: 30
@@ -243,7 +233,7 @@ const Tt = ({
243
233
  children: /* @__PURE__ */ e(
244
234
  ue,
245
235
  {
246
- IconComponent: we,
236
+ IconComponent: Le,
247
237
  input: /* @__PURE__ */ e(le, { disableUnderline: !0 }),
248
238
  sx: {
249
239
  borderTopLeftRadius: 0,
@@ -267,15 +257,15 @@ const Tt = ({
267
257
  value: f,
268
258
  variant: "filled",
269
259
  displayEmpty: !0,
270
- onChange: (t) => V(t.target.value),
260
+ onChange: (t) => j(t.target.value),
271
261
  error: pe,
272
262
  children: q.map((t) => /* @__PURE__ */ a(ce, { value: t.id, children: [
273
- /* @__PURE__ */ e(Te, { className: m["dropdown-list-item"], children: /* @__PURE__ */ e(
263
+ /* @__PURE__ */ e(Oe, { className: m["dropdown-list-item"], children: /* @__PURE__ */ e(
274
264
  "img",
275
265
  {
276
266
  src: t.icon_uri,
277
- onError: ({ currentTarget: r }) => {
278
- r.onerror = null, r.src = Ie;
267
+ onError: ({ currentTarget: n }) => {
268
+ n.onerror = null, n.src = we;
279
269
  },
280
270
  alt: "tokenImg",
281
271
  width: "40",
@@ -290,9 +280,9 @@ const Tt = ({
290
280
  ) }),
291
281
  Ee && /* @__PURE__ */ e(s, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: Ee }) })
292
282
  ] }),
293
- /* @__PURE__ */ a(S, { className: "text-left", mt: 3, children: [
283
+ /* @__PURE__ */ a(F, { className: "text-left", mt: 3, children: [
294
284
  /* @__PURE__ */ e(s, { variant: "sm", fontWeight: 600, children: "Select Payment Method" }),
295
- ne ? /* @__PURE__ */ e(P, { sx: { ml: 1, mt: 3 }, size: 50 }) : /* @__PURE__ */ e(i, { mt: 0.5, container: !0, children: j.map((t) => /* @__PURE__ */ e(i, { size: { xs: 2.5 }, children: /* @__PURE__ */ e(
285
+ re ? /* @__PURE__ */ e(S, { sx: { ml: 1, mt: 3 }, size: 50 }) : /* @__PURE__ */ e(o, { mt: 0.5, container: !0, children: G.map((t) => /* @__PURE__ */ e(o, { size: { xs: 2.5 }, children: /* @__PURE__ */ e(
296
286
  Bt,
297
287
  {
298
288
  label: t.payment_type,
@@ -302,9 +292,9 @@ const Tt = ({
302
292
  }
303
293
  ) }, t.id)) })
304
294
  ] }),
305
- /* @__PURE__ */ e(i, { mt: 4, container: !0, children: /* @__PURE__ */ e(i, { size: { xs: 4 }, children: /* @__PURE__ */ e(s, { className: m.label, variant: "caption", component: "p", children: "You Receive" }) }) }),
306
- /* @__PURE__ */ a(i, { mt: 0.5, container: !0, className: m["field-set"], children: [
307
- /* @__PURE__ */ e(i, { size: { xs: 7 }, children: /* @__PURE__ */ a(
295
+ /* @__PURE__ */ e(o, { mt: 4, container: !0, children: /* @__PURE__ */ e(o, { size: { xs: 4 }, children: /* @__PURE__ */ e(s, { className: m.label, variant: "caption", component: "p", children: "You Receive" }) }) }),
296
+ /* @__PURE__ */ a(o, { mt: 0.5, container: !0, className: m["field-set"], children: [
297
+ /* @__PURE__ */ e(o, { size: { xs: 7 }, children: /* @__PURE__ */ a(
308
298
  te,
309
299
  {
310
300
  className: `${m.amount} ${m["crypto-field"]}`,
@@ -320,28 +310,28 @@ const Tt = ({
320
310
  fullWidth: !0
321
311
  }
322
312
  ),
323
- /* @__PURE__ */ e(We, { className: m["crypto-helper-text"], children: +((Pe = _ == null ? void 0 : _.output_token) == null ? void 0 : Pe.fiat_amount) * 1 > 0 ? A + (+((Se = _ == null ? void 0 : _.output_token) == null ? void 0 : Se.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(w, { children: " " }) })
313
+ /* @__PURE__ */ e(Ie, { className: m["crypto-helper-text"], children: +((Se = _ == null ? void 0 : _.output_token) == null ? void 0 : Se.fiat_amount) * 1 > 0 ? A + (+((Fe = _ == null ? void 0 : _.output_token) == null ? void 0 : Fe.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(w, { children: " " }) })
324
314
  ]
325
315
  }
326
316
  ) }),
327
- /* @__PURE__ */ e(i, { size: { xs: 5 }, className: "content-center", children: oe ? /* @__PURE__ */ e(P, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ a(
317
+ /* @__PURE__ */ e(o, { size: { xs: 5 }, className: "content-center", children: ie ? /* @__PURE__ */ e(S, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ a(
328
318
  te,
329
319
  {
330
320
  variant: "filled",
331
321
  className: `text-left ${m["crypto-picker"]}`,
332
322
  fullWidth: !0,
333
323
  children: [
334
- (o == null ? void 0 : o.network) && /* @__PURE__ */ e(
335
- Be,
324
+ (i == null ? void 0 : i.network) && /* @__PURE__ */ e(
325
+ ze,
336
326
  {
337
- className: `${m["network-label"]} ${m[gt(o == null ? void 0 : o.network.name)]}`,
338
- children: o == null ? void 0 : o.network.name
327
+ className: `${m["network-label"]} ${m[gt(i == null ? void 0 : i.network.name)]}`,
328
+ children: i == null ? void 0 : i.network.name
339
329
  }
340
330
  ),
341
331
  /* @__PURE__ */ a(
342
332
  ue,
343
333
  {
344
- IconComponent: we,
334
+ IconComponent: Le,
345
335
  input: /* @__PURE__ */ e(le, { disableUnderline: !0 }),
346
336
  sx: {
347
337
  borderTopLeftRadius: 0,
@@ -364,9 +354,9 @@ const Tt = ({
364
354
  },
365
355
  className: "buy-select-dd",
366
356
  variant: "filled",
367
- value: o.symbol,
357
+ value: i.symbol,
368
358
  displayEmpty: !0,
369
- onChange: (t) => Fe(t.target.value),
359
+ onChange: (t) => Pe(t.target.value),
370
360
  onOpen: (t) => {
371
361
  Ae(!0), t.preventDefault();
372
362
  },
@@ -375,12 +365,12 @@ const Tt = ({
375
365
  children: [
376
366
  /* @__PURE__ */ e(ce, { value: "", children: "Please select" }),
377
367
  k.map((t) => /* @__PURE__ */ a(ce, { value: t.symbol, children: [
378
- /* @__PURE__ */ e(Te, { className: m["dropdown-list-item"], children: /* @__PURE__ */ e(
368
+ /* @__PURE__ */ e(Oe, { className: m["dropdown-list-item"], children: /* @__PURE__ */ e(
379
369
  "img",
380
370
  {
381
371
  src: t.icon_uri,
382
- onError: ({ currentTarget: r }) => {
383
- r.onerror = null, r.src = Ie;
372
+ onError: ({ currentTarget: n }) => {
373
+ n.onerror = null, n.src = we;
384
374
  },
385
375
  alt: "tokenImg",
386
376
  width: "40",
@@ -396,9 +386,9 @@ const Tt = ({
396
386
  }
397
387
  ) })
398
388
  ] }),
399
- /* @__PURE__ */ e(S, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ a(i, { container: !0, children: [
400
- /* @__PURE__ */ e(i, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ a(
401
- Le,
389
+ /* @__PURE__ */ e(F, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ a(o, { container: !0, children: [
390
+ /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ a(
391
+ ke,
402
392
  {
403
393
  sx: { padding: "0" },
404
394
  onClick: () => Ue((t) => !t),
@@ -407,7 +397,7 @@ const Tt = ({
407
397
  children: [
408
398
  /* @__PURE__ */ e(s, { variant: "caption", fontWeight: 700, children: "Fee Calculation" }),
409
399
  /* @__PURE__ */ e(
410
- rt,
400
+ nt,
411
401
  {
412
402
  sx: {
413
403
  transform: `rotate(${Ce ? "90" : "0"}deg)`,
@@ -419,23 +409,23 @@ const Tt = ({
419
409
  }
420
410
  ) }),
421
411
  Ce && /* @__PURE__ */ a(w, { children: [
422
- /* @__PURE__ */ e(i, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Everest Fee" }) }),
423
- /* @__PURE__ */ e(i, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
412
+ /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Everest Fee" }) }),
413
+ /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
424
414
  A,
425
415
  Y ? /* @__PURE__ */ e(
426
- P,
416
+ S,
427
417
  {
428
418
  sx: { ml: 1 },
429
419
  size: 15,
430
420
  color: "primary"
431
421
  }
432
- ) : ie.toFixed(2)
422
+ ) : oe.toFixed(2)
433
423
  ] }) }),
434
- /* @__PURE__ */ e(i, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Network Fee" }) }),
435
- /* @__PURE__ */ e(i, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
424
+ /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Network Fee" }) }),
425
+ /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
436
426
  A,
437
427
  Y ? /* @__PURE__ */ e(
438
- P,
428
+ S,
439
429
  {
440
430
  sx: { ml: 1 },
441
431
  size: 15,
@@ -444,23 +434,23 @@ const Tt = ({
444
434
  ) : ae.toFixed(2)
445
435
  ] }) })
446
436
  ] }),
447
- /* @__PURE__ */ e(i, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Total Fees" }) }),
448
- /* @__PURE__ */ e(i, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
437
+ /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Total Fees" }) }),
438
+ /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
449
439
  A,
450
- Y ? /* @__PURE__ */ e(P, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(D).toFixed(2)
440
+ Y ? /* @__PURE__ */ e(S, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(D).toFixed(2)
451
441
  ] }) }),
452
- o && /* @__PURE__ */ a(w, { children: [
453
- /* @__PURE__ */ e(i, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
442
+ i && /* @__PURE__ */ a(w, { children: [
443
+ /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
454
444
  "1 ",
455
- o.symbol,
445
+ i.symbol,
456
446
  " ",
457
447
  /* @__PURE__ */ e(
458
448
  xt,
459
449
  {
460
450
  title: at,
461
451
  placement: "right",
462
- children: /* @__PURE__ */ e(Le, { className: "info-fee-icon", children: /* @__PURE__ */ e(
463
- ot,
452
+ children: /* @__PURE__ */ e(ke, { className: "info-fee-icon", children: /* @__PURE__ */ e(
453
+ it,
464
454
  {
465
455
  sx: {
466
456
  fontSize: "14px"
@@ -470,10 +460,10 @@ const Tt = ({
470
460
  }
471
461
  )
472
462
  ] }) }),
473
- /* @__PURE__ */ e(i, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
463
+ /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
474
464
  A,
475
465
  Y ? /* @__PURE__ */ e(
476
- P,
466
+ S,
477
467
  {
478
468
  sx: { ml: 1 },
479
469
  size: 15,
@@ -483,18 +473,18 @@ const Tt = ({
483
473
  ] }) })
484
474
  ] })
485
475
  ] }) }),
486
- /* @__PURE__ */ e(S, { sx: { alignItems: "left", width: "100%" }, children: X || de ? /* @__PURE__ */ e(S, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(P, {}) }) : /* @__PURE__ */ e(w, { children: /* @__PURE__ */ a(te, { variant: "filled", fullWidth: !0, children: [
487
- !v && /* @__PURE__ */ e(Be, { children: "Select wallet address" }),
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(ze, { children: "Select wallet address" }),
488
478
  /* @__PURE__ */ e(
489
479
  ue,
490
480
  {
491
481
  value: v,
492
- onChange: (t) => n && n(t.target.value),
493
- children: De.map((t, r) => /* @__PURE__ */ e(ce, { value: t.address, children: t.name + "(" + t.address + ")" }, r))
482
+ onChange: (t) => r && r(t.target.value),
483
+ children: De.map((t, n) => /* @__PURE__ */ e(ce, { value: t.address, children: t.name + "(" + t.address + ")" }, n))
494
484
  }
495
485
  )
496
486
  ] }) }) }),
497
- /* @__PURE__ */ e(S, { mt: 4, children: /* @__PURE__ */ e(
487
+ /* @__PURE__ */ e(F, { mt: 4, children: /* @__PURE__ */ e(
498
488
  xe,
499
489
  {
500
490
  onClick: Qe,
@@ -508,9 +498,9 @@ const Tt = ({
508
498
  {
509
499
  open: He,
510
500
  setModal: Ae,
511
- loader: oe,
501
+ loader: ie,
512
502
  tokenList: k,
513
- tokenSelect: Fe
503
+ tokenSelect: Pe
514
504
  }
515
505
  )
516
506
  ] });
@@ -523,7 +513,7 @@ const Tt = ({
523
513
  plaidCountry: R,
524
514
  navigate: c
525
515
  }) => {
526
- const { openDialog: u } = Rt(), { plaidToken: v } = W(ft), n = E.estimate[B], o = E.create.order_id, I = E.loader, g = n.fiat_amount, O = Ye(n.fiat_currency), [f, V] = d(!1), b = {
516
+ const { openDialog: u } = Rt(), { plaidToken: v } = W(ft), r = E.estimate[B], i = E.create.order_id, I = E.loader, g = r.fiat_amount, O = Ye(r.fiat_currency), [f, j] = d(!1), b = {
527
517
  onSuccess: et(() => {
528
518
  u({
529
519
  title: "Buy Success",
@@ -539,7 +529,7 @@ const Tt = ({
539
529
  },
540
530
  height: "490px"
541
531
  });
542
- }, [o]),
532
+ }, [i]),
543
533
  onExit: () => {
544
534
  z(), x(vt());
545
535
  },
@@ -548,13 +538,13 @@ const Tt = ({
548
538
  h(() => {
549
539
  T && v && H();
550
540
  }, [T, v]), h(() => {
551
- o && f && (n.payment_provider === lt ? x(
541
+ i && f && (r.payment_provider === lt ? x(
552
542
  Nt({
553
543
  country_code: R,
554
544
  payment_id: E.create.provider_token
555
545
  })
556
- ) : n.payment_provider === ct ? N(Yt) : N($t));
557
- }, [o]), h(() => {
546
+ ) : r.payment_provider === ct ? N(Yt) : N($t));
547
+ }, [i]), h(() => {
558
548
  z();
559
549
  }, []);
560
550
  const z = () => {
@@ -562,14 +552,14 @@ const Tt = ({
562
552
  $e(
563
553
  {
564
554
  apiKey: y,
565
- transaction_type: n.transaction_type,
566
- coin_amount: n.fiat_amount,
567
- exchange: n.exchange,
568
- payment_type: n.payment_type,
569
- fiat_ccy: n.fiat_currency,
570
- crypto_ccy: n.crypto_currency,
571
- network: n.network,
572
- payment_provider: n.payment_provider
555
+ transaction_type: r.transaction_type,
556
+ coin_amount: r.fiat_amount,
557
+ exchange: r.exchange,
558
+ payment_type: r.payment_type,
559
+ fiat_ccy: r.fiat_currency,
560
+ crypto_ccy: r.crypto_currency,
561
+ network: r.network,
562
+ payment_provider: r.payment_provider
573
563
  },
574
564
  B
575
565
  )
@@ -578,10 +568,10 @@ const Tt = ({
578
568
  x(
579
569
  yt({
580
570
  apiKey: y,
581
- quoteId: n.quote_id,
571
+ quoteId: r.quote_id,
582
572
  walletAddress: M
583
573
  })
584
- ), V(!0);
574
+ ), j(!0);
585
575
  };
586
576
  return /* @__PURE__ */ a(w, { children: [
587
577
  /* @__PURE__ */ e(
@@ -592,20 +582,20 @@ const Tt = ({
592
582
  }
593
583
  ),
594
584
  /* @__PURE__ */ e(s, { mt: 2, variant: "sm", fontWeight: 600, children: "Using payment method" }),
595
- n.payment_type && /* @__PURE__ */ a(S, { mt: 2, className: m["confirm-payment"], children: [
585
+ r.payment_type && /* @__PURE__ */ a(F, { mt: 2, className: m["confirm-payment"], children: [
596
586
  /* @__PURE__ */ e(
597
587
  "img",
598
588
  {
599
- src: n.payment_type === ze ? mt : dt,
589
+ src: r.payment_type === Be ? mt : dt,
600
590
  width: 100,
601
591
  alt: "payment"
602
592
  }
603
593
  ),
604
- /* @__PURE__ */ e(s, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: n.payment_type === ze ? "Bank Account" : "Debit Card" }) })
594
+ /* @__PURE__ */ e(s, { variant: "caption", component: "span", children: /* @__PURE__ */ e("strong", { children: r.payment_type === Be ? "Bank Account" : "Debit Card" }) })
605
595
  ] }),
606
596
  /* @__PURE__ */ e(s, { mt: 4, variant: "sm", fontWeight: 600, children: "To Wallet Address" }),
607
597
  /* @__PURE__ */ e(
608
- S,
598
+ F,
609
599
  {
610
600
  mt: 2,
611
601
  className: m["confirm-payment"],
@@ -614,57 +604,57 @@ const Tt = ({
614
604
  }
615
605
  ),
616
606
  /* @__PURE__ */ e(s, { mt: 3, variant: "sm", fontWeight: 600, component: "p", children: "Order Estimate Details" }),
617
- /* @__PURE__ */ e(S, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ a(i, { container: !0, children: [
618
- /* @__PURE__ */ e(i, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
619
- n.crypto_currency.toUpperCase(),
607
+ /* @__PURE__ */ e(F, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ a(o, { container: !0, children: [
608
+ /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
609
+ r.crypto_currency.toUpperCase(),
620
610
  " @",
621
611
  " ",
622
- Number(n.conversion_price).toFixed(2),
612
+ Number(r.conversion_price).toFixed(2),
623
613
  " ",
624
- n.fiat_currency
614
+ r.fiat_currency
625
615
  ] }) }),
626
- /* @__PURE__ */ e(i, { className: "flex-right", size: { xs: 6 }, children: /* @__PURE__ */ e(
616
+ /* @__PURE__ */ e(o, { className: "flex-right", size: { xs: 6 }, children: /* @__PURE__ */ e(
627
617
  "span",
628
618
  {
629
619
  className: m["confirm-transaction-network"],
630
620
  style: {
631
- backgroundColor: n.network === "Ethereum" ? "#A1A9DC" : "#5D8CCC"
621
+ backgroundColor: r.network === "Ethereum" ? "#A1A9DC" : "#5D8CCC"
632
622
  },
633
- children: n.network
623
+ children: r.network
634
624
  }
635
625
  ) }),
636
- /* @__PURE__ */ e(i, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
637
- Number(n.crypto_out_amount).toFixed(5),
626
+ /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
627
+ Number(r.crypto_out_amount).toFixed(5),
638
628
  " ",
639
- n.crypto_currency.toUpperCase()
629
+ r.crypto_currency.toUpperCase()
640
630
  ] }) }),
641
- /* @__PURE__ */ e(i, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
642
- (Number(g) - Number(n.total_fee)).toFixed(2),
631
+ /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
632
+ (Number(g) - Number(r.total_fee)).toFixed(2),
643
633
  " ",
644
- n.fiat_currency
634
+ r.fiat_currency
645
635
  ] }) }),
646
- /* @__PURE__ */ e(i, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Total Fees" }) }),
647
- /* @__PURE__ */ e(i, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
648
- Number(n.total_fee).toFixed(2),
636
+ /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Total Fees" }) }),
637
+ /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ a(s, { variant: "caption", children: [
638
+ Number(r.total_fee).toFixed(2),
649
639
  " ",
650
- n.fiat_currency
640
+ r.fiat_currency
651
641
  ] }) }),
652
- /* @__PURE__ */ e(i, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: /* @__PURE__ */ e("strong", { children: "Order Total" }) }) }),
653
- /* @__PURE__ */ e(i, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: /* @__PURE__ */ a("strong", { children: [
642
+ /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: /* @__PURE__ */ e("strong", { children: "Order Total" }) }) }),
643
+ /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: /* @__PURE__ */ a("strong", { children: [
654
644
  O,
655
645
  Number(g).toFixed(2),
656
646
  " ",
657
- n.fiat_currency
647
+ r.fiat_currency
658
648
  ] }) }) })
659
649
  ] }) }),
660
- /* @__PURE__ */ e(S, { mt: 4, children: /* @__PURE__ */ e(
650
+ /* @__PURE__ */ e(F, { mt: 4, children: /* @__PURE__ */ e(
661
651
  xe,
662
652
  {
663
653
  onClick: X,
664
654
  disabled: I,
665
655
  fullWidth: !0,
666
656
  children: /* @__PURE__ */ e("strong", { children: I ? /* @__PURE__ */ a(w, { children: [
667
- /* @__PURE__ */ e(P, { size: 15, color: "inherit" }),
657
+ /* @__PURE__ */ e(S, { size: 15, color: "inherit" }),
668
658
  " Processing..."
669
659
  ] }) : "Payment Details" })
670
660
  }
@@ -677,32 +667,32 @@ const Tt = ({
677
667
  cardCorpSrcUrl: x,
678
668
  navigate: M
679
669
  }) => {
680
- const { showAlertMessage: R } = Et(), c = wt(), u = W((p) => p.order), v = u.create.provider_token, n = u.create.checkout_integrity, o = u.error, I = W(
670
+ const { showAlertMessage: R } = Et(), c = wt(), u = W((p) => p.order), v = u.create.provider_token, r = u.create.checkout_integrity, i = u.error, I = W(
681
671
  (p) => p.user.profile
682
- ), g = I.everWalletAddress, O = I.residentialAddress.country || "USA", f = W((p) => p.fiatAssets), V = W(
672
+ ), g = I.everWalletAddress, O = I.residentialAddress.country || "USA", f = W((p) => p.fiatAssets), j = W(
683
673
  (p) => p.cryptoAssets
684
- ), [j, b] = d(_e), [H, T] = d({
674
+ ), [G, b] = d(_e), [H, T] = d({
685
675
  symbol: ""
686
- }), [z, X] = d(0), [re, de] = d(1), [L, ne] = d([]), [k, $] = d(g), [oe, Y] = d("");
676
+ }), [z, X] = d(0), [ne, de] = d(1), [L, re] = d([]), [k, $] = d(g), [ie, Y] = d("");
687
677
  return h(() => {
688
678
  if (O) {
689
679
  const p = kt.find((D) => D.alpha3 === O);
690
680
  p && Y(p.alpha2);
691
681
  }
692
682
  }, [O]), h(() => {
693
- o && R({ message: o });
694
- }, [o]), h(() => {
695
- u.initMinimalKyc && (R({ message: o, type: "info" }), b(Dt));
696
- }, [u.initMinimalKyc]), h(() => (c(nt()), c(ke(he)), c(ke(fe)), c(Ft()), c(Pt()), () => {
683
+ i && R({ message: i });
684
+ }, [i]), h(() => {
685
+ u.initMinimalKyc && (R({ message: i, type: "info" }), b(Dt));
686
+ }, [u.initMinimalKyc]), h(() => (c(rt()), c(Te(he)), c(Te(fe)), c(Pt()), c(St()), () => {
697
687
  c(ye());
698
- }), []), /* @__PURE__ */ e(St, { addPadding: !0, children: {
688
+ }), []), /* @__PURE__ */ e(Ft, { addPadding: !0, children: {
699
689
  FORM_SCREEN: /* @__PURE__ */ e(
700
690
  Tt,
701
691
  {
702
692
  showAlertMessage: R,
703
693
  setScreen: b,
704
694
  fiatAssets: f,
705
- cryptoAssets: V,
695
+ cryptoAssets: j,
706
696
  orderData: u,
707
697
  dispatch: c,
708
698
  getCryptoAssets: (p) => {
@@ -722,10 +712,10 @@ const Tt = ({
722
712
  setOutputToken: T,
723
713
  paymentId: z,
724
714
  setPaymentId: X,
725
- currencyId: re,
715
+ currencyId: ne,
726
716
  setCurrencyId: de,
727
717
  paymentOptions: L,
728
- setPaymentOptions: ne
718
+ setPaymentOptions: re
729
719
  }
730
720
  ),
731
721
  CONFIRM_SCREEN: /* @__PURE__ */ e(
@@ -737,7 +727,7 @@ const Tt = ({
737
727
  orderData: u,
738
728
  dispatch: c,
739
729
  walletAddress: k,
740
- plaidCountry: oe,
730
+ plaidCountry: ie,
741
731
  navigate: M
742
732
  }
743
733
  ),
@@ -747,11 +737,11 @@ const Tt = ({
747
737
  checkoutKey: E,
748
738
  orderData: u,
749
739
  initPaymentRequest: (p) => {
750
- const D = u.estimate[B], ie = u.create.order_id, ae = {
740
+ const D = u.estimate[B], oe = u.create.order_id, ae = {
751
741
  token: p,
752
742
  amount: Number(D.fiat_amount),
753
743
  currency: D.fiat_currency,
754
- reference: ie,
744
+ reference: oe,
755
745
  success_url: `${y}/dashboard?payment=success`,
756
746
  fail_url: `${y}/dashboard?payment=failed`
757
747
  };
@@ -764,7 +754,7 @@ const Tt = ({
764
754
  zt,
765
755
  {
766
756
  checkoutId: v,
767
- integrity: n,
757
+ integrity: r,
768
758
  onResultUrl: `${y}/dashboard`,
769
759
  backBtnFunc: () => b(me),
770
760
  srcUrl: x
@@ -780,8 +770,8 @@ const Tt = ({
780
770
  }
781
771
  }
782
772
  )
783
- }[j] });
784
- }, Ur = tt(qt);
773
+ }[G] });
774
+ }, wn = tt(qt);
785
775
  export {
786
776
  Tt as B,
787
777
  me as C,
@@ -790,5 +780,5 @@ export {
790
780
  $t as P,
791
781
  Lt as a,
792
782
  Yt as b,
793
- Ur as i
783
+ wn as i
794
784
  };