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,56 +1,45 @@
1
- import { jsxs as n, Fragment as E, jsx as e } from "react/jsx-runtime";
2
- import { useMemo as et, useState as h, useEffect as x, useRef as tt } from "react";
3
- import rt from "./hoc/withThemeProvider.js";
4
- import { P as nt, f as ot } from "./PlayArrow-BlkZJiHn.js";
5
- import { I as it } from "./Info-BVeUSPyk.js";
6
- import { G as me } from "./generic-token-B_ptO5yb.js";
7
- import { TOKEN_TO_FIAT as de, ESTIMATE_TOOLTIP_TEXT as st, SELL_WITHDRAW_ICON as at, DIALOG_SUCCESS_ICON as Re, DIALOG_ERROR_ICON as lt } from "./util/constants.js";
8
- import { aE as R, af as ct } from "./constants-DREDnCMu.js";
1
+ import { jsxs as r, Fragment as E, jsx as e } from "react/jsx-runtime";
2
+ import { useMemo as et, useState as p, useEffect as x, useRef as tt } from "react";
3
+ import nt from "./hoc/withThemeProvider.js";
4
+ import { Grid as n, Typography as i, FormControl as V, FilledInput as te, FormHelperText as Ee, CircularProgress as I, InputLabel as Te, Select as le, MenuItem as ne, ListItemIcon as Ae, Box as T, IconButton as me, Divider as ce } from "@mui/material";
5
+ import { P as rt, f as ot } from "./PlayArrow-BVDyfxsQ.js";
6
+ import { I as it } from "./Info-DOoRR7sR.js";
7
+ import { G as de } from "./generic-token-B_ptO5yb.js";
8
+ import { TOKEN_TO_FIAT as ue, ESTIMATE_TOOLTIP_TEXT as st, SELL_WITHDRAW_ICON as at, DIALOG_SUCCESS_ICON as Re, DIALOG_ERROR_ICON as lt } from "./util/constants.js";
9
+ import { aK as R, af as ct } from "./constants-DrmtdI1J.js";
9
10
  import { c as ze, d as mt } from "./index-BQNs1mvn.js";
10
- import { d as dt, e as We, b as X, c as Ee, f as ut, i as pt, g as ht } from "./order-DGBbo_Ox.js";
11
- import { M as ft } from "./tooltip-3UvETWtS.js";
11
+ import { d as dt, e as We, b as X, c as Fe, f as ut, i as ht, g as pt } from "./order-DEp_Lmar.js";
12
+ import { M as ft } from "./tooltip-BW0UyWw7.js";
12
13
  import { getCurrencySymbol as Me, getNetworkBackGround as xt, displayWalletAddress as yt } from "./util/functions.js";
13
14
  import gt from "./components/Wallet/Shared/backBtn.js";
14
15
  import { s as l } from "./styles.module-DMd29SPQ.js";
15
16
  import J from "./components/Wallet/Shared/appButton.js";
16
17
  import { u as L } from "./react-redux-C7I9-1M6.js";
17
18
  import "./index-DlQqWbXG.js";
18
- import "./components/Wallet/Shared/Auth/otpForm.js";
19
- import { useSnackBarContext as pe } from "./context/snackBarContext.js";
19
+ import "./otpForm-fiNqeB5H.js";
20
+ import { useSnackBarContext as he } from "./context/snackBarContext.js";
20
21
  import { formatNumberWithoutRounding as bt } from "./util/conversions.js";
21
22
  import { Q as _t } from "./index-CAoLi5Qq.js";
22
23
  import "./react-webcam-B3cXh1XT.js";
23
24
  import "./components/Shared/transition.js";
24
- import "./components/Wallet/Shared/pin.js";
25
25
  import "./moment-h96o7c8I.js";
26
26
  import "./index.esm-BsMAMhYW.js";
27
27
  import "./web3-u4qDZYpo.js";
28
28
  import "./index-ceeCtFuh.js";
29
29
  import "./index.esm-I_Bp2YLf.js";
30
30
  import { useDialogContext as Le } from "./context/dialogContext.js";
31
- import { T as i } from "./Typography-pAaje37G.js";
32
- import { B as T } from "./Box-B0YSYLco.js";
33
- import { G as r } from "./Grid-CFe3amXO.js";
34
- import { C as I } from "./CircularProgress-xZA3lvba.js";
35
- import { f as Ct } from "./cryptoAssets-DbyDgq4J.js";
36
- import { u as Nt, a as vt } from "./wallet-DvfdQOju.js";
31
+ import "@mui/icons-material";
32
+ import { f as Ct } from "./cryptoAssets-DyGDknvq.js";
33
+ import { u as Nt, a as vt } from "./wallet-CauUBXou.js";
37
34
  import { AuthContainer as kt } from "./components/Wallet/Shared/Container/index.js";
38
35
  import St from "./components/Shared/MinimalKyc/index.js";
39
36
  import Oe from "./components/Wallet/Shared/Input/index.js";
40
- import { C as wt } from "./ContentCopy-coPwrEuz.js";
37
+ import { C as wt } from "./ContentCopy-D0C0zbQj.js";
41
38
  import Et from "./components/Wallet/Shared/timer.js";
42
39
  import Be from "./hooks/useEverestDispatch.js";
43
- import { D as le } from "./Divider-BShhMFf4.js";
44
- import { I as ue } from "./IconButton-DHm-hucF.js";
45
40
  import Tt from "./components/Wallet/Shared/TokenModal/index.js";
46
41
  import { useDialog as At } from "./hooks/useDialog/index.js";
47
- import Te from "./components/Wallet/Shared/Order/selectCustomIcon.js";
48
- import { F as V } from "./FormControl-RtZDQMdA.js";
49
- import { F as te } from "./FilledInput-DuNqnPjc.js";
50
- import { F as Ae, I as Fe } from "./TextField-DPpRUQe3.js";
51
- import { S as ce } from "./Select-CB5yWmyn.js";
52
- import { M as re } from "./MenuItem-DUdYOJr4.js";
53
- import { L as Ie } from "./ListItemIcon-CUcyTEEm.js";
42
+ import Ie from "./components/Wallet/Shared/Order/selectCustomIcon.js";
54
43
  const Ft = ({
55
44
  setScreen: k,
56
45
  orderData: d,
@@ -60,28 +49,28 @@ const Ft = ({
60
49
  getCryptoAssets: S,
61
50
  showAlertMessage: y,
62
51
  partnerKey: z,
63
- walletAddress: p,
52
+ walletAddress: h,
64
53
  setWalletAddress: o,
65
54
  navigate: g
66
55
  }) => {
67
56
  var ke, Se, we;
68
- const { openDialog: v, ConfirmDialog: A } = At(), O = L((t) => t.app.features).withdraw, D = L(ze), G = L(mt), { data: F, loader: H } = D, { data: w, loader: m } = G, K = et(() => [
57
+ const { openDialog: v, ConfirmDialog: A } = At(), O = L((t) => t.app.features).withdraw, D = L(ze), G = L(mt), { data: F, loader: K } = D, { data: w, loader: m } = G, H = et(() => [
69
58
  ...F,
70
59
  ...w.filter(
71
60
  (t) => !F.some(
72
61
  (s) => s.address.toLowerCase() === t.address.toLowerCase()
73
62
  )
74
63
  )
75
- ], [F, w]), $ = u.fiats, he = u.loader, B = f.featureTokens.sell.list, _ = f.featureTokens.sell.default, fe = f.loader, Z = d.loader, C = d.estimate[R], W = C.fiat_out_amount, $e = C.conversion_price, Ue = C.total_fee;
64
+ ], [F, w]), $ = u.fiats, pe = u.loader, B = f.featureTokens.sell.list, _ = f.featureTokens.sell.default, fe = f.loader, Z = d.loader, C = d.estimate[R], W = C.fiat_out_amount, $e = C.conversion_price, Ue = C.total_fee;
76
65
  let xe = 0, ye = 0;
77
66
  const ge = C.fee_breakdown;
78
67
  for (let t = 0; t < ge.length; t++) {
79
68
  const s = ge[t];
80
69
  s.name === "ev_fee" ? xe = Number(s.value) : s.name === "network_fee" && (ye = Number(s.value));
81
70
  }
82
- const [a, be] = h({
71
+ const [a, be] = p({
83
72
  symbol: ""
84
- }), [ne, oe] = h(!1), [P, qe] = h(2), [Ye, De] = h([]), [_e, Ge] = h(!1), [j, He] = h(50), [ie, Ke] = h(3e3), [Ce, se] = h(""), [U, ae] = h(C.crypto_amount || "0.05"), [je, Ne] = h(!1), ee = Number((ke = C == null ? void 0 : C.input_token) == null ? void 0 : ke.fiat_amount), q = $.find((t) => t.id === P), M = Me(q == null ? void 0 : q.symbol);
73
+ }), [re, oe] = p(!1), [P, qe] = p(2), [Ye, De] = p([]), [_e, Ge] = p(!1), [j, Ke] = p(50), [ie, He] = p(3e3), [Ce, se] = p(""), [U, ae] = p(C.crypto_amount || "0.05"), [je, Ne] = p(!1), ee = Number((ke = C == null ? void 0 : C.input_token) == null ? void 0 : ke.fiat_amount), q = $.find((t) => t.id === P), M = Me(q == null ? void 0 : q.symbol);
85
74
  x(() => {
86
75
  const t = [];
87
76
  for (let s = 0; s < $.length; s++) {
@@ -99,7 +88,7 @@ const Ft = ({
99
88
  ), oe(!0)));
100
89
  }, [W]), x(() => {
101
90
  P && S && S(P);
102
- }, [P, p]), x(() => {
91
+ }, [P, h]), x(() => {
103
92
  if (a && a.id && U && P) {
104
93
  c(dt(R)), oe(!1), se("");
105
94
  const t = setTimeout(() => {
@@ -114,7 +103,7 @@ const Ft = ({
114
103
  We(
115
104
  {
116
105
  apiKey: z,
117
- transaction_type: de,
106
+ transaction_type: ue,
118
107
  coin_amount: U,
119
108
  exchange: a.exchange,
120
109
  fiat_ccy: q == null ? void 0 : q.symbol,
@@ -130,8 +119,8 @@ const Ft = ({
130
119
  if (t > 0)
131
120
  for (let s = 0; s < t; s++) {
132
121
  const N = d.types[s];
133
- if (N.type === de) {
134
- He(parseFloat(N.min_deposit_amount)), Ke(parseFloat(N.max_deposit_amount));
122
+ if (N.type === ue) {
123
+ Ke(parseFloat(N.min_deposit_amount)), He(parseFloat(N.max_deposit_amount));
135
124
  break;
136
125
  }
137
126
  }
@@ -182,11 +171,11 @@ const Ft = ({
182
171
  }, Ze = () => {
183
172
  a && ae(bt(a.fmt_balance + "", 8));
184
173
  };
185
- return /* @__PURE__ */ n(E, { children: [
174
+ return /* @__PURE__ */ r(E, { children: [
186
175
  /* @__PURE__ */ e(A, {}),
187
- /* @__PURE__ */ n(r, { container: !0, children: [
188
- /* @__PURE__ */ e(r, { size: { xs: 2.5 }, children: /* @__PURE__ */ e(i, { className: l.label, variant: "caption", component: "p", children: "You Sell" }) }),
189
- /* @__PURE__ */ e(r, { size: { xs: 9.5 }, children: p && a && /* @__PURE__ */ n(
176
+ /* @__PURE__ */ r(n, { container: !0, children: [
177
+ /* @__PURE__ */ e(n, { size: { xs: 2.5 }, children: /* @__PURE__ */ e(i, { className: l.label, variant: "caption", component: "p", children: "You Sell" }) }),
178
+ /* @__PURE__ */ e(n, { size: { xs: 9.5 }, children: h && a && /* @__PURE__ */ r(
190
179
  i,
191
180
  {
192
181
  className: l["balance-label"],
@@ -203,8 +192,8 @@ const Ft = ({
203
192
  }
204
193
  ) })
205
194
  ] }),
206
- /* @__PURE__ */ n(r, { mt: 0.5, spacing: 0, container: !0, className: l["field-set"], children: [
207
- /* @__PURE__ */ e(r, { size: { xs: 7 }, children: /* @__PURE__ */ n(
195
+ /* @__PURE__ */ r(n, { mt: 0.5, spacing: 0, container: !0, className: l["field-set"], children: [
196
+ /* @__PURE__ */ e(n, { size: { xs: 7 }, children: /* @__PURE__ */ r(
208
197
  V,
209
198
  {
210
199
  variant: "filled",
@@ -218,17 +207,17 @@ const Ft = ({
218
207
  onChange: Ve,
219
208
  type: "text",
220
209
  placeholder: `${j > 0 ? M + j + " minimum value" : ""}`,
221
- error: ne,
210
+ error: re,
222
211
  disableUnderline: !0,
223
212
  required: !0,
224
213
  fullWidth: !0
225
214
  }
226
215
  ),
227
- /* @__PURE__ */ e(Ae, { className: l["crypto-helper-text"], children: ee > 0 ? "$" + (ee * 1).toFixed(2) : /* @__PURE__ */ e(E, { children: " " }) })
216
+ /* @__PURE__ */ e(Ee, { className: l["crypto-helper-text"], children: ee > 0 ? "$" + (ee * 1).toFixed(2) : /* @__PURE__ */ e(E, { children: " " }) })
228
217
  ]
229
218
  }
230
219
  ) }),
231
- /* @__PURE__ */ e(r, { size: { xs: 5 }, className: "content-center", children: fe ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ n(
220
+ /* @__PURE__ */ e(n, { size: { xs: 5 }, className: "content-center", children: fe ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ r(
232
221
  V,
233
222
  {
234
223
  variant: "filled",
@@ -236,16 +225,16 @@ const Ft = ({
236
225
  fullWidth: !0,
237
226
  children: [
238
227
  (a == null ? void 0 : a.network) && /* @__PURE__ */ e(
239
- Fe,
228
+ Te,
240
229
  {
241
230
  className: `${l["network-label"]} ${l[xt(a == null ? void 0 : a.network.name)]}`,
242
231
  children: a == null ? void 0 : a.network.name
243
232
  }
244
233
  ),
245
- /* @__PURE__ */ n(
246
- ce,
234
+ /* @__PURE__ */ r(
235
+ le,
247
236
  {
248
- IconComponent: Te,
237
+ IconComponent: Ie,
249
238
  input: /* @__PURE__ */ e(te, { disableUnderline: !0 }),
250
239
  sx: {
251
240
  borderTopLeftRadius: 0,
@@ -277,14 +266,14 @@ const Ft = ({
277
266
  defaultOpen: !1,
278
267
  open: !1,
279
268
  children: [
280
- /* @__PURE__ */ e(re, { value: "", children: "Please select" }),
281
- B.map((t) => /* @__PURE__ */ n(re, { value: t.symbol, children: [
282
- /* @__PURE__ */ e(Ie, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
269
+ /* @__PURE__ */ e(ne, { value: "", children: "Please select" }),
270
+ B.map((t) => /* @__PURE__ */ r(ne, { value: t.symbol, children: [
271
+ /* @__PURE__ */ e(Ae, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
283
272
  "img",
284
273
  {
285
274
  src: t.icon_uri,
286
275
  onError: ({ currentTarget: s }) => {
287
- s.onerror = null, s.src = me;
276
+ s.onerror = null, s.src = de;
288
277
  },
289
278
  alt: "tokenImg",
290
279
  width: "40",
@@ -301,9 +290,9 @@ const Ft = ({
301
290
  ) }),
302
291
  Ce && /* @__PURE__ */ e(i, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: Ce }) })
303
292
  ] }),
304
- /* @__PURE__ */ e(r, { mt: 4, container: !0, children: /* @__PURE__ */ e(r, { size: { xs: 4 }, children: /* @__PURE__ */ e(i, { className: l.label, variant: "caption", component: "p", children: "You Receive" }) }) }),
305
- /* @__PURE__ */ n(r, { mt: 0.5, container: !0, className: l["field-set"], children: [
306
- /* @__PURE__ */ e(r, { size: { xs: 7 }, children: /* @__PURE__ */ n(
293
+ /* @__PURE__ */ e(n, { mt: 4, container: !0, children: /* @__PURE__ */ e(n, { size: { xs: 4 }, children: /* @__PURE__ */ e(i, { className: l.label, variant: "caption", component: "p", children: "You Receive" }) }) }),
294
+ /* @__PURE__ */ r(n, { mt: 0.5, container: !0, className: l["field-set"], children: [
295
+ /* @__PURE__ */ e(n, { size: { xs: 7 }, children: /* @__PURE__ */ r(
307
296
  V,
308
297
  {
309
298
  className: `${l.amount} ${l["fiat-field"]}`,
@@ -319,11 +308,11 @@ const Ft = ({
319
308
  fullWidth: !0
320
309
  }
321
310
  ),
322
- /* @__PURE__ */ e(Ae, { className: l["amount-symbol"], children: +((Se = C == null ? void 0 : C.output_token) == null ? void 0 : Se.fiat_amount) * 1 > 0 ? M + (+((we = C == null ? void 0 : C.output_token) == null ? void 0 : we.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(E, { children: " " }) })
311
+ /* @__PURE__ */ e(Ee, { className: l["amount-symbol"], children: +((Se = C == null ? void 0 : C.output_token) == null ? void 0 : Se.fiat_amount) * 1 > 0 ? M + (+((we = C == null ? void 0 : C.output_token) == null ? void 0 : we.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(E, { children: " " }) })
323
312
  ]
324
313
  }
325
314
  ) }),
326
- /* @__PURE__ */ e(r, { size: { xs: 5 }, className: "content-center", children: he ? /* @__PURE__ */ e(
315
+ /* @__PURE__ */ e(n, { size: { xs: 5 }, className: "content-center", children: pe ? /* @__PURE__ */ e(
327
316
  I,
328
317
  {
329
318
  sx: { ml: 1 },
@@ -336,9 +325,9 @@ const Ft = ({
336
325
  className: `text-left ${l["fiat-picker"]}`,
337
326
  fullWidth: !0,
338
327
  children: /* @__PURE__ */ e(
339
- ce,
328
+ le,
340
329
  {
341
- IconComponent: Te,
330
+ IconComponent: Ie,
342
331
  input: /* @__PURE__ */ e(te, { disableUnderline: !0 }),
343
332
  sx: {
344
333
  borderTopLeftRadius: 0,
@@ -363,14 +352,14 @@ const Ft = ({
363
352
  variant: "filled",
364
353
  displayEmpty: !0,
365
354
  onChange: (t) => qe(t.target.value),
366
- error: ne,
367
- children: Ye.map((t) => /* @__PURE__ */ n(re, { value: t.id, children: [
368
- /* @__PURE__ */ e(Ie, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
355
+ error: re,
356
+ children: Ye.map((t) => /* @__PURE__ */ r(ne, { value: t.id, children: [
357
+ /* @__PURE__ */ e(Ae, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
369
358
  "img",
370
359
  {
371
360
  src: t.icon_uri,
372
361
  onError: ({ currentTarget: s }) => {
373
- s.onerror = null, s.src = me;
362
+ s.onerror = null, s.src = de;
374
363
  },
375
364
  alt: "tokenImg",
376
365
  width: "40",
@@ -384,9 +373,9 @@ const Ft = ({
384
373
  }
385
374
  ) })
386
375
  ] }),
387
- /* @__PURE__ */ e(T, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ n(r, { container: !0, children: [
388
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ n(
389
- ue,
376
+ /* @__PURE__ */ e(T, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ r(n, { container: !0, children: [
377
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ r(
378
+ me,
390
379
  {
391
380
  sx: { padding: "0" },
392
381
  onClick: () => Ge((t) => !t),
@@ -395,7 +384,7 @@ const Ft = ({
395
384
  children: [
396
385
  /* @__PURE__ */ e(i, { variant: "caption", fontWeight: 700, children: "Fee Calculation" }),
397
386
  /* @__PURE__ */ e(
398
- nt,
387
+ rt,
399
388
  {
400
389
  sx: {
401
390
  transform: `rotate(${_e ? "90" : "0"}deg)`,
@@ -406,9 +395,9 @@ const Ft = ({
406
395
  ]
407
396
  }
408
397
  ) }),
409
- _e && /* @__PURE__ */ n(E, { children: [
410
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Everest Fee" }) }),
411
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
398
+ _e && /* @__PURE__ */ r(E, { children: [
399
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Everest Fee" }) }),
400
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
412
401
  M,
413
402
  Z ? /* @__PURE__ */ e(
414
403
  I,
@@ -419,8 +408,8 @@ const Ft = ({
419
408
  }
420
409
  ) : xe.toFixed(2)
421
410
  ] }) }),
422
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Network Fee" }) }),
423
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
411
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Network Fee" }) }),
412
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
424
413
  M,
425
414
  Z ? /* @__PURE__ */ e(
426
415
  I,
@@ -432,13 +421,13 @@ const Ft = ({
432
421
  ) : ye.toFixed(2)
433
422
  ] }) })
434
423
  ] }),
435
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
436
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
424
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
425
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
437
426
  M,
438
427
  Z ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(Ue).toFixed(2)
439
428
  ] }) }),
440
- a && /* @__PURE__ */ n(E, { children: [
441
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
429
+ a && /* @__PURE__ */ r(E, { children: [
430
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
442
431
  "1 ",
443
432
  a.symbol,
444
433
  " ",
@@ -447,7 +436,7 @@ const Ft = ({
447
436
  {
448
437
  title: st,
449
438
  placement: "right",
450
- children: /* @__PURE__ */ e(ue, { className: "info-fee-icon", children: /* @__PURE__ */ e(
439
+ children: /* @__PURE__ */ e(me, { className: "info-fee-icon", children: /* @__PURE__ */ e(
451
440
  it,
452
441
  {
453
442
  sx: {
@@ -458,7 +447,7 @@ const Ft = ({
458
447
  }
459
448
  )
460
449
  ] }) }),
461
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
450
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
462
451
  M,
463
452
  Z ? /* @__PURE__ */ e(
464
453
  I,
@@ -471,28 +460,28 @@ const Ft = ({
471
460
  ] }) })
472
461
  ] })
473
462
  ] }) }),
474
- /* @__PURE__ */ e(T, { sx: { alignItems: "left", width: "100%" }, children: H || m ? /* @__PURE__ */ e(T, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(I, {}) }) : /* @__PURE__ */ e(E, { children: /* @__PURE__ */ n(V, { variant: "filled", fullWidth: !0, children: [
475
- !p && /* @__PURE__ */ e(Fe, { children: "Select wallet address" }),
463
+ /* @__PURE__ */ e(T, { sx: { alignItems: "left", width: "100%" }, children: K || m ? /* @__PURE__ */ e(T, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(I, {}) }) : /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(V, { variant: "filled", fullWidth: !0, children: [
464
+ !h && /* @__PURE__ */ e(Te, { children: "Select wallet address" }),
476
465
  /* @__PURE__ */ e(
477
- ce,
466
+ le,
478
467
  {
479
- value: p,
468
+ value: h,
480
469
  onChange: (t) => o && o(t.target.value),
481
- children: K.map((t, s) => /* @__PURE__ */ e(re, { value: t.address, children: t.name + "(" + t.address + ")" }, s))
470
+ children: H.map((t, s) => /* @__PURE__ */ e(ne, { value: t.address, children: t.name + "(" + t.address + ")" }, s))
482
471
  }
483
472
  )
484
473
  ] }) }) }),
485
- /* @__PURE__ */ n(T, { mt: 4, children: [
474
+ /* @__PURE__ */ r(T, { mt: 4, children: [
486
475
  /* @__PURE__ */ e(
487
476
  J,
488
477
  {
489
478
  onClick: Xe,
490
- disabled: ne || !W,
479
+ disabled: re || !W,
491
480
  fullWidth: !0,
492
481
  children: /* @__PURE__ */ e("strong", { children: "Next" })
493
482
  }
494
483
  ),
495
- O && /* @__PURE__ */ n(E, { children: [
484
+ O && /* @__PURE__ */ r(E, { children: [
496
485
  /* @__PURE__ */ e(
497
486
  J,
498
487
  {
@@ -535,13 +524,13 @@ const Ft = ({
535
524
  walletAddress: f,
536
525
  navigate: S
537
526
  }) => {
538
- const y = tt(null), z = L(ze), { openDialog: p } = Le();
539
- pe();
527
+ const y = tt(null), z = L(ze), { openDialog: h } = Le();
528
+ he();
540
529
  const o = c.estimate[R], g = c.create.order_id, v = c.depositAddress, A = c.depositAddressError, b = c.loader;
541
530
  o.fiat_amount;
542
- const O = Me(o.fiat_currency), [D, G] = h(!1);
531
+ const O = Me(o.fiat_currency), [D, G] = p(!1);
543
532
  x(() => {
544
- g && D && (z.data.some((K) => K.address === f) ? p({
533
+ g && D && (z.data.some((H) => H.address === f) ? h({
545
534
  icon: Re,
546
535
  title: "Sell Success",
547
536
  message: "Your transaction was successful for more details on the transaction please track your order.",
@@ -554,10 +543,10 @@ const Ft = ({
554
543
  S && S("/history"), u(X());
555
544
  },
556
545
  height: "490px"
557
- }) : u(Ee(g)));
546
+ }) : u(Fe(g)));
558
547
  }, [g]), x(() => {
559
548
  A > 0 && (y.current = setTimeout(() => {
560
- u(Ee(g));
549
+ u(Fe(g));
561
550
  }, 1e4));
562
551
  }, [A, g]), x(() => {
563
552
  v && k(zt);
@@ -581,7 +570,7 @@ const Ft = ({
581
570
  R
582
571
  )
583
572
  );
584
- }, H = () => {
573
+ }, K = () => {
585
574
  u(
586
575
  ut({
587
576
  apiKey: d,
@@ -590,7 +579,7 @@ const Ft = ({
590
579
  })
591
580
  ), G(!0);
592
581
  };
593
- return /* @__PURE__ */ n(E, { children: [
582
+ return /* @__PURE__ */ r(E, { children: [
594
583
  /* @__PURE__ */ e(
595
584
  gt,
596
585
  {
@@ -609,8 +598,8 @@ const Ft = ({
609
598
  }
610
599
  ),
611
600
  /* @__PURE__ */ e(i, { mt: 3, variant: "sm", fontWeight: 600, component: "p", children: "Order Estimate Details" }),
612
- /* @__PURE__ */ e(T, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ n(r, { container: !0, children: [
613
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
601
+ /* @__PURE__ */ e(T, { sx: { color: "#A6A6A6" }, children: /* @__PURE__ */ r(n, { container: !0, children: [
602
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
614
603
  o.crypto_amount,
615
604
  " ",
616
605
  o.crypto_currency.toUpperCase(),
@@ -620,7 +609,7 @@ const Ft = ({
620
609
  " ",
621
610
  o.fiat_currency
622
611
  ] }) }),
623
- /* @__PURE__ */ e(r, { className: "flex-right", size: { xs: 6 }, children: /* @__PURE__ */ e(
612
+ /* @__PURE__ */ e(n, { className: "flex-right", size: { xs: 6 }, children: /* @__PURE__ */ e(
624
613
  "span",
625
614
  {
626
615
  className: l["confirm-transaction-network"],
@@ -630,24 +619,24 @@ const Ft = ({
630
619
  children: o.network
631
620
  }
632
621
  ) }),
633
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
622
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
634
623
  Number(o.crypto_amount).toFixed(5),
635
624
  " ",
636
625
  o.crypto_currency.toUpperCase()
637
626
  ] }) }),
638
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
627
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
639
628
  Number(o.fiat_base_amount).toFixed(2),
640
629
  " ",
641
630
  o.fiat_currency
642
631
  ] }) }),
643
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
644
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ n(i, { variant: "caption", children: [
632
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
633
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
645
634
  Number(o.total_fee).toFixed(2),
646
635
  " ",
647
636
  o.fiat_currency
648
637
  ] }) }),
649
- /* @__PURE__ */ e(r, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ e("strong", { children: "Order Total" }) }) }),
650
- /* @__PURE__ */ e(r, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ n("strong", { children: [
638
+ /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ e("strong", { children: "Order Total" }) }) }),
639
+ /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: /* @__PURE__ */ r("strong", { children: [
651
640
  O,
652
641
  Number(o.fiat_out_amount).toFixed(2),
653
642
  " ",
@@ -657,10 +646,10 @@ const Ft = ({
657
646
  /* @__PURE__ */ e(T, { mt: 4, children: /* @__PURE__ */ e(
658
647
  J,
659
648
  {
660
- onClick: H,
649
+ onClick: K,
661
650
  disabled: b,
662
651
  fullWidth: !0,
663
- children: /* @__PURE__ */ e("strong", { children: b ? /* @__PURE__ */ n(E, { children: [
652
+ children: /* @__PURE__ */ e("strong", { children: b ? /* @__PURE__ */ r(E, { children: [
664
653
  /* @__PURE__ */ e(I, { size: 15, color: "inherit" }),
665
654
  " Processing..."
666
655
  ] }) : "Sell" })
@@ -677,14 +666,14 @@ const Ft = ({
677
666
  var B;
678
667
  const S = Be(), y = L(
679
668
  (_) => _.cryptoAssets
680
- ), { showAlertMessage: z } = pe(), { openDialog: p } = Le(), o = d.create.order_id, g = d.depositAddress, v = d.depositComplete, A = d.error, [b, O] = h(!1), [D, G] = h(!1), [F, H] = h("");
669
+ ), { showAlertMessage: z } = he(), { openDialog: h } = Le(), o = d.create.order_id, g = d.depositAddress, v = d.depositComplete, A = d.error, [b, O] = p(!1), [D, G] = p(!1), [F, K] = p("");
681
670
  let w = "Swap", m = d.estimate[ct];
682
671
  k === R && (w = "Sell", m = d.estimate[R]);
683
- let K = (B = y.tokens.find(
672
+ let H = (B = y.tokens.find(
684
673
  (_) => _.symbol === m.input_token.symbol
685
674
  )) == null ? void 0 : B.icon_uri;
686
675
  x(() => {
687
- A && (O(!1), z({ message: String(A) }), p({
676
+ A && (O(!1), z({ message: String(A) }), h({
688
677
  icon: lt,
689
678
  title: w + " Error",
690
679
  message: "There has been an error with processing your transaction.",
@@ -696,7 +685,7 @@ const Ft = ({
696
685
  height: "490px"
697
686
  }));
698
687
  }, [A]), x(() => {
699
- v && (O(!1), G(!0), p({
688
+ v && (O(!1), G(!0), h({
700
689
  icon: Re,
701
690
  title: w + " Success",
702
691
  message: "Your transaction was successful for more details on the transaction please track your order.",
@@ -718,21 +707,21 @@ const Ft = ({
718
707
  });
719
708
  return;
720
709
  }
721
- b || (O(!0), S(pt({
710
+ b || (O(!0), S(ht({
722
711
  order_id: o,
723
712
  tx_hash: F
724
713
  })));
725
714
  };
726
- return /* @__PURE__ */ n(T, { mt: 12, children: [
727
- /* @__PURE__ */ n(r, { rowSpacing: 2, container: !0, children: [
728
- /* @__PURE__ */ e(r, { size: 8, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Send Your Tokens" }) }) }),
729
- /* @__PURE__ */ e(r, { className: "flex-right", size: 4, children: /* @__PURE__ */ e(
715
+ return /* @__PURE__ */ r(T, { mt: 12, children: [
716
+ /* @__PURE__ */ r(n, { rowSpacing: 2, container: !0, children: [
717
+ /* @__PURE__ */ e(n, { size: 8, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Send Your Tokens" }) }) }),
718
+ /* @__PURE__ */ e(n, { className: "flex-right", size: 4, children: /* @__PURE__ */ e(
730
719
  Et,
731
720
  {
732
721
  preText: "in ",
733
722
  clearTimer: D,
734
723
  onFinish: () => {
735
- p({
724
+ h({
736
725
  title: "Timer Error",
737
726
  message: "We did not receive your token before the timer expired. Please return to " + w + " and try again.",
738
727
  confirmButtonShow: !1,
@@ -747,29 +736,29 @@ const Ft = ({
747
736
  }
748
737
  ) })
749
738
  ] }),
750
- /* @__PURE__ */ n(r, { mt: 4, rowSpacing: 2, container: !0, children: [
751
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: "From Wallet" }) }),
752
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-right", variant: "body1", children: yt(u) }) }),
753
- /* @__PURE__ */ e(le, { sx: { width: "100%", mt: 1 } }),
754
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: "Token" }) }),
755
- /* @__PURE__ */ n(r, { className: "flex-right", alignItems: "center", size: 6, children: [
739
+ /* @__PURE__ */ r(n, { mt: 4, rowSpacing: 2, container: !0, children: [
740
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: "From Wallet" }) }),
741
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-right", variant: "body1", children: yt(u) }) }),
742
+ /* @__PURE__ */ e(ce, { sx: { width: "100%", mt: 1 } }),
743
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: "Token" }) }),
744
+ /* @__PURE__ */ r(n, { className: "flex-right", alignItems: "center", size: 6, children: [
756
745
  /* @__PURE__ */ e(
757
746
  "img",
758
747
  {
759
748
  style: { marginRight: "10px" },
760
749
  width: 32,
761
- src: K,
750
+ src: H,
762
751
  onError: ({ currentTarget: _ }) => {
763
- _.onerror = null, _.src = me;
752
+ _.onerror = null, _.src = de;
764
753
  },
765
754
  alt: "token"
766
755
  }
767
756
  ),
768
757
  /* @__PURE__ */ e(i, { className: "text-right", variant: "body1", children: m == null ? void 0 : m.input_token.symbol })
769
758
  ] }),
770
- /* @__PURE__ */ e(le, { sx: { width: "100%", mt: 1 } }),
771
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: "Network" }) }),
772
- /* @__PURE__ */ e(r, { className: "flex-right", size: 6, children: /* @__PURE__ */ e(
759
+ /* @__PURE__ */ e(ce, { sx: { width: "100%", mt: 1 } }),
760
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: "Network" }) }),
761
+ /* @__PURE__ */ e(n, { className: "flex-right", size: 6, children: /* @__PURE__ */ e(
773
762
  "span",
774
763
  {
775
764
  className: l["confirm-transaction-network"],
@@ -779,16 +768,16 @@ const Ft = ({
779
768
  children: m == null ? void 0 : m.input_token.network
780
769
  }
781
770
  ) }),
782
- /* @__PURE__ */ e(le, { sx: { width: "100%", mt: 1 } }),
783
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: /* @__PURE__ */ e("strong", { children: "Amount to Send" }) }) }),
784
- /* @__PURE__ */ e(r, { className: "flex-right", size: 6, children: /* @__PURE__ */ e(i, { className: "text-right", variant: "body1", children: /* @__PURE__ */ n("strong", { children: [
771
+ /* @__PURE__ */ e(ce, { sx: { width: "100%", mt: 1 } }),
772
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e(i, { className: "text-left", variant: "body1", children: /* @__PURE__ */ e("strong", { children: "Amount to Send" }) }) }),
773
+ /* @__PURE__ */ e(n, { className: "flex-right", size: 6, children: /* @__PURE__ */ e(i, { className: "text-right", variant: "body1", children: /* @__PURE__ */ r("strong", { children: [
785
774
  (+(m == null ? void 0 : m.crypto_amount) * 1).toFixed(5),
786
775
  " ",
787
776
  m == null ? void 0 : m.input_token.symbol
788
777
  ] }) }) })
789
778
  ] }),
790
779
  /* @__PURE__ */ e(i, { mt: 4, variant: "body2", children: /* @__PURE__ */ e("b", { children: "To Wallet Address" }) }),
791
- /* @__PURE__ */ n(
780
+ /* @__PURE__ */ r(
792
781
  T,
793
782
  {
794
783
  mt: 1.5,
@@ -796,7 +785,7 @@ const Ft = ({
796
785
  children: [
797
786
  /* @__PURE__ */ e(i, { variant: "caption", component: "p", children: /* @__PURE__ */ e("strong", { children: g }) }),
798
787
  /* @__PURE__ */ e(
799
- ue,
788
+ me,
800
789
  {
801
790
  onClick: () => {
802
791
  navigator.clipboard.writeText(g);
@@ -826,13 +815,13 @@ const Ft = ({
826
815
  Oe,
827
816
  {
828
817
  value: F,
829
- onChange: (_) => H(_.target.value),
818
+ onChange: (_) => K(_.target.value),
830
819
  type: "text",
831
820
  required: !0,
832
821
  fullWidth: !0
833
822
  }
834
823
  ),
835
- /* @__PURE__ */ e(J, { sx: { mt: 2 }, onClick: $, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: b ? /* @__PURE__ */ n(E, { children: [
824
+ /* @__PURE__ */ e(J, { sx: { mt: 2 }, onClick: $, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: b ? /* @__PURE__ */ r(E, { children: [
836
825
  /* @__PURE__ */ e(I, { size: 15, color: "inherit" }),
837
826
  " Processing..."
838
827
  ] }) : "Continue" }) })
@@ -840,19 +829,19 @@ const Ft = ({
840
829
  }, Y = "FORM_SCREEN", Pe = "CONFIRM_SCREEN", zt = "MANUAL_SEND_SCREEN", Wt = "MINIMAL_KYC_SCREEN", Mt = ({ partnerKey: k, navigate: d }) => {
841
830
  const c = Be(), u = L((b) => b.order), f = u.error, S = L((b) => b.fiatAssets), y = L(
842
831
  (b) => b.cryptoAssets
843
- ), [z, p] = h(Y), [o, g] = h(""), { showAlertMessage: v } = pe();
832
+ ), [z, h] = p(Y), [o, g] = p(""), { showAlertMessage: v } = he();
844
833
  return x(() => {
845
834
  f && v({ message: f });
846
835
  }, [f]), x(() => {
847
- u.initMinimalKyc && (v({ message: f, type: "info" }), p(Wt));
848
- }, [u.initMinimalKyc]), x(() => (c(ot()), c(ht(de)), c(Nt()), c(vt()), () => {
836
+ u.initMinimalKyc && (v({ message: f, type: "info" }), h(Wt));
837
+ }, [u.initMinimalKyc]), x(() => (c(ot()), c(pt(ue)), c(Nt()), c(vt()), () => {
849
838
  c(X());
850
839
  }), []), /* @__PURE__ */ e(kt, { addPadding: !0, children: {
851
840
  FORM_SCREEN: /* @__PURE__ */ e(
852
841
  Ft,
853
842
  {
854
843
  showAlertMessage: v,
855
- setScreen: p,
844
+ setScreen: h,
856
845
  fiatAssets: S,
857
846
  cryptoAssets: y,
858
847
  orderData: u,
@@ -877,7 +866,7 @@ const Ft = ({
877
866
  It,
878
867
  {
879
868
  partnerKey: k,
880
- setScreen: p,
869
+ setScreen: h,
881
870
  showAlertMessage: v,
882
871
  orderData: u,
883
872
  dispatch: c,
@@ -889,7 +878,7 @@ const Ft = ({
889
878
  Rt,
890
879
  {
891
880
  orderData: u,
892
- setScreen: p,
881
+ setScreen: h,
893
882
  walletAddress: o,
894
883
  from: R,
895
884
  navigate: d
@@ -901,12 +890,12 @@ const Ft = ({
901
890
  inputComponent: Oe,
902
891
  buttonComponent: J,
903
892
  onComplete: () => {
904
- p(Pe);
893
+ h(Pe);
905
894
  }
906
895
  }
907
896
  )
908
897
  }[z] });
909
- }, Mr = rt(Mt);
898
+ }, Sn = nt(Mt);
910
899
  export {
911
900
  Pe as C,
912
901
  Y as F,
@@ -915,5 +904,5 @@ export {
915
904
  It as a,
916
905
  zt as b,
917
906
  Wt as c,
918
- Mr as i
907
+ Sn as i
919
908
  };