everest-npm-features 0.0.61 → 0.0.63

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