everest-npm-features 0.0.23 → 0.0.24

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 (244) hide show
  1. package/dist/{Alert-C1UNQHPD.js → Alert-CbQZ8Nii.js} +142 -116
  2. package/dist/{ArrowBack-Clp4i3dA.js → ArrowBack-BoYSBb8u.js} +1 -1
  3. package/dist/{ArrowDropDown-CoJNyIet.js → ArrowDropDown-BC_iEASy.js} +1 -1
  4. package/dist/{ArrowRight-DXtbS-1g.js → ArrowRight-rYkfGJuF.js} +1 -1
  5. package/dist/{Backdrop-DD6Ysl5O.js → Backdrop-CJBRZv_z.js} +106 -107
  6. package/dist/{Box-Be0E_-eR.js → Box-B12x52NC.js} +17 -16
  7. package/dist/Button-C57IMamW.js +660 -0
  8. package/dist/{ButtonBase-CE33gcZ6.js → ButtonBase-DugIO1pR.js} +194 -194
  9. package/dist/{Cancel-DEk2meuc.js → Cancel-D1JNu4Hj.js} +1 -1
  10. package/dist/{CardContent-B5tGyfc5.js → CardContent-CbObWW6t.js} +44 -45
  11. package/dist/{CheckCircle-BIckgNlV.js → CheckCircle-CyxKX1TY.js} +1 -1
  12. package/dist/{CircularProgress-fePUtoaj.js → CircularProgress-t8uGhLMo.js} +17 -17
  13. package/dist/{Close-D20PIPiF.js → Close-VV7zb3cu.js} +1 -1
  14. package/dist/{Close-Bj6AaxRi.js → Close-jnEgOCZv.js} +1 -1
  15. package/dist/{Container-CTfl6Vy4.js → Container-B3Af6Sc3.js} +20 -20
  16. package/dist/{ContentCopy-DzhD9ue3.js → ContentCopy-Ufwoeeov.js} +1 -1
  17. package/dist/DefaultPropsProvider-B2njZVNv.js +242 -0
  18. package/dist/DefaultPropsProvider-CZh8M2jM.js +351 -0
  19. package/dist/{Delete-BqqmGzYe.js → Delete-TCARcVtU.js} +1 -1
  20. package/dist/{DialogContent-D8jGp88c.js → DialogContent-DzidtXui.js} +202 -140
  21. package/dist/{DialogTitle-CxbjAJOw.js → DialogTitle-Bg61Hr7M.js} +23 -23
  22. package/dist/{Divider-D3PIEE97.js → Divider-Dy5hKfey.js} +31 -30
  23. package/dist/{ErrorOutline-CnwdlXPx.js → ErrorOutline-CI_ys3Zo.js} +1 -1
  24. package/dist/{FileDownload-BX69Jvdx.js → FileDownload-BcYF17B0.js} +1 -1
  25. package/dist/{FilledInput-n9W_V8GV.js → FilledInput-DrGeWgue.js} +352 -335
  26. package/dist/{FormControl-Cc-02KHW.js → FormControl-DeeQCuu5.js} +98 -81
  27. package/dist/{FormControlLabel-BEN9P8rJ.js → FormControlLabel-DVnrJkC8.js} +194 -165
  28. package/dist/GlobalStyles-DhHHc9O0.js +59 -0
  29. package/dist/Grid-BXyV_lM8.js +410 -0
  30. package/dist/Grow-B2p7O_1C.js +196 -0
  31. package/dist/{ownerDocument-C0GI-r2b.js → HTMLElementType-BrQSV2FE.js} +6 -6
  32. package/dist/IconButton-eWRhV6Q9.js +295 -0
  33. package/dist/{Info-83BXSu73.js → Info-D2UkGxyK.js} +1 -1
  34. package/dist/{InputAdornment-Ck_-Z38v.js → InputAdornment-BKuUMfPj.js} +14 -12
  35. package/dist/{Link-BqusVoz5.js → Link-Cm4BkRHO.js} +50 -49
  36. package/dist/{ListItemIcon-DIz-ZmJ0.js → ListItemIcon-GKRFb1Gr.js} +14 -13
  37. package/dist/{MenuItem-BkJ_C9Xs.js → MenuItem-CeCt0bfa.js} +46 -39
  38. package/dist/{Modal-CQcBtr07.js → Modal-csf3Y8d2.js} +265 -269
  39. package/dist/{Paper-B5pcGZbI.js → Paper-CnStNE24.js} +39 -38
  40. package/dist/{PlayArrow-1Y66tCVx.js → PlayArrow-DRCGjsrx.js} +1 -1
  41. package/dist/{Popper-CYsd-3n5.js → Popper-pPBEFLi4.js} +15 -15
  42. package/dist/{Portal-Bw0-5YJ9.js → Portal-CLa9CbMv.js} +36 -37
  43. package/dist/{RadioGroup-DtQqYrwU.js → RadioGroup-KiyYjXaT.js} +29 -28
  44. package/dist/{Select-DpKw-a6h.js → Select-Chubcks_.js} +1248 -933
  45. package/dist/{Slide-CdNJY-CT.js → Slide-DHG0r2gy.js} +68 -66
  46. package/dist/{Stack-C4POCZZb.js → Stack-CcR5RCg8.js} +41 -43
  47. package/dist/SwitchBase-CHO5ZceN.js +317 -0
  48. package/dist/{TextField-Cm9apaOp.js → TextField-q_SeLeNd.js} +144 -135
  49. package/dist/TransitionGroupContext-CYRQkQ6k.js +49 -0
  50. package/dist/{Typography-Ds4fpvK8.js → Typography-DBlMiOti.js} +39 -38
  51. package/dist/{auth-CR0412E5.js → auth-Bf9zHZ-x.js} +1 -1
  52. package/dist/{bank-iFS1RXp-.js → bank-BC4YNBRb.js} +3 -3
  53. package/dist/components/RocketRamp/MinimalKyc/form.js +9 -9
  54. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  55. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  56. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  58. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  59. package/dist/components/RocketRamp/Player/Dashboard/balance.js +7 -7
  60. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  61. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  62. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  63. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  64. package/dist/components/RocketRamp/Player/Sell/index.js +7 -7
  65. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +5 -5
  68. package/dist/components/RocketRamp/Player/SignUp/email.js +5 -5
  69. package/dist/components/RocketRamp/Player/SignUp/index.js +6 -6
  70. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  71. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  72. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  73. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  74. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  75. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  76. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  77. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  78. package/dist/components/RocketRamp/Store/Dashboard/balance.js +6 -6
  79. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  80. package/dist/components/RocketRamp/Store/Dashboard/stats.js +6 -6
  81. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  82. package/dist/components/RocketRamp/Store/SignUp/index.js +6 -6
  83. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  84. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +7 -7
  85. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  86. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  87. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  88. package/dist/components/Shared/FullKyc/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/pep.js +9 -9
  90. package/dist/components/Shared/FullKyc/personalDetails.js +7 -7
  91. package/dist/components/Shared/FullKyc/userInfo.js +11 -11
  92. package/dist/components/Shared/HistoryItem/index.js +7 -7
  93. package/dist/components/Shared/Incode/index.js +5 -5
  94. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  95. package/dist/components/Shared/loader.js +2 -2
  96. package/dist/components/Shared/tooltip.js +2 -2
  97. package/dist/components/Shared/transition.js +1 -1
  98. package/dist/components/Wallet/Account/createIban.d.ts +1 -0
  99. package/dist/components/Wallet/Account/createIban.js +36 -35
  100. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  101. package/dist/components/Wallet/Account/iban.js +16 -16
  102. package/dist/components/Wallet/Account/index.d.ts +1 -0
  103. package/dist/components/Wallet/Account/index.js +76 -70
  104. package/dist/components/Wallet/Account/sendIban.js +61 -61
  105. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  106. package/dist/components/Wallet/Buy/form.d.ts +2 -2
  107. package/dist/components/Wallet/Buy/form.js +17 -17
  108. package/dist/components/Wallet/Buy/index.js +6 -6
  109. package/dist/components/Wallet/Deposit/index.js +7 -7
  110. package/dist/components/Wallet/EnterpriseKyc/edd.js +7 -7
  111. package/dist/components/Wallet/EnterpriseKyc/index.js +26 -24
  112. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  113. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  114. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  115. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  116. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +45 -44
  117. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3626 -100
  118. package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
  119. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +0 -1
  120. package/dist/components/Wallet/EnterpriseKyc/verify.js +5 -5
  121. package/dist/components/Wallet/History/index.js +61 -62
  122. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +14 -14
  123. package/dist/components/Wallet/Portfolio/index.js +95 -95
  124. package/dist/components/Wallet/Portfolio/tokenRow.js +6 -6
  125. package/dist/components/Wallet/Profile/documents.js +17 -17
  126. package/dist/components/Wallet/Profile/index.js +225 -206
  127. package/dist/components/Wallet/Receive/index.js +9 -9
  128. package/dist/components/Wallet/Sell/confirmTransaction.js +7 -7
  129. package/dist/components/Wallet/Sell/form.js +17 -17
  130. package/dist/components/Wallet/Sell/index.js +6 -6
  131. package/dist/components/Wallet/Send/index.js +14 -14
  132. package/dist/components/Wallet/Shared/Auth/emailForm.js +3 -3
  133. package/dist/components/Wallet/Shared/Auth/otpForm.js +217 -10451
  134. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  135. package/dist/components/Wallet/Shared/ConnectWallet/index.js +9 -9
  136. package/dist/components/Wallet/Shared/Container/index.js +3 -3
  137. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  138. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +9 -10
  139. package/dist/components/Wallet/Shared/Order/types.d.ts +23 -2
  140. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  141. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +4 -4
  142. package/dist/components/Wallet/Shared/addBank.js +11 -11
  143. package/dist/components/Wallet/Shared/appButton.js +5 -5
  144. package/dist/components/Wallet/Shared/backBtn.js +8 -8
  145. package/dist/components/Wallet/Shared/button.js +1 -1
  146. package/dist/components/Wallet/Shared/connectPlaidBank.js +5 -5
  147. package/dist/components/Wallet/Shared/inputField.js +1 -1
  148. package/dist/components/Wallet/Shared/noData.js +2 -2
  149. package/dist/components/Wallet/Shared/pin.js +3 -3
  150. package/dist/components/Wallet/Shared/radioButton.js +3 -3
  151. package/dist/components/Wallet/Shared/step.js +2 -2
  152. package/dist/components/Wallet/SignIn/index.js +2 -2
  153. package/dist/components/Wallet/SignUp/index.js +2 -2
  154. package/dist/components/Wallet/SignUp/terms.js +4 -4
  155. package/dist/components/Wallet/Stake/gems/index.js +11 -11
  156. package/dist/components/Wallet/Stake/id/index.js +12 -12
  157. package/dist/components/Wallet/Stake/index.js +10 -10
  158. package/dist/components/Wallet/Swap/index.js +138 -150
  159. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  160. package/dist/components/Wallet/Withdraw/bankSelect.js +10 -10
  161. package/dist/components/Wallet/Withdraw/confirmTransaction.js +7 -7
  162. package/dist/components/Wallet/Withdraw/form.d.ts +2 -2
  163. package/dist/components/Wallet/Withdraw/form.js +16 -16
  164. package/dist/components/Wallet/Withdraw/index.js +5 -5
  165. package/dist/{constants-BJByDTQY.js → constants-CsMPRK0U.js} +285 -284
  166. package/dist/{createSvgIcon-C0wzKL72.js → createSvgIcon-CH41ZVFw.js} +58 -57
  167. package/dist/createTheme-DmGCMO09.js +3825 -0
  168. package/dist/{cryptoAssets-BcVSdM1C.js → cryptoAssets-CzNDY1j6.js} +1 -1
  169. package/dist/defaultTheme-9fAph5zo.js +5 -0
  170. package/dist/{dividerClasses-Cb_Is0-O.js → dividerClasses-DnbM--4s.js} +2 -2
  171. package/dist/{documents-HjBKq9qA.js → documents-CEeV8SyW.js} +16 -16
  172. package/dist/{Transition-CYSgg85A.js → elementAcceptingRef-BbsmdE_3.js} +109 -66
  173. package/dist/{elementTypeAcceptingRef-Bc1kRXA9.js → elementTypeAcceptingRef-CdmXUhJ8.js} +1 -1
  174. package/dist/{emotion-react.browser.esm-BjxI_t8k.js → emotion-react.browser.esm-C2mxoK1z.js} +42 -42
  175. package/dist/{extendSxProp-a8ZTL0ZI.js → extendSxProp-Bwha5fon.js} +1 -1
  176. package/dist/{fiatAssets-C_F8qNzr.js → fiatAssets-DVHfFafS.js} +1 -1
  177. package/dist/hoc/withThemeProvider.js +518 -417
  178. package/dist/hooks/useDialog/index.js +4 -4
  179. package/dist/hooks/useRrDialog/index.js +4 -4
  180. package/dist/hooks/useSnackBar.js +363 -288
  181. package/dist/{iban-Dh7qBGGc.js → iban-DRT7i0vb.js} +74 -85
  182. package/dist/icons/buyIcon.js +1 -1
  183. package/dist/icons/canceledBuyIcon.js +1 -1
  184. package/dist/icons/canceledRedeemIcon.js +1 -1
  185. package/dist/icons/failedBuyIcon.js +1 -1
  186. package/dist/icons/failedRedeemIcon.js +1 -1
  187. package/dist/icons/pendingBuyIcon.js +1 -1
  188. package/dist/icons/pendingRedeemIcon.js +1 -1
  189. package/dist/icons/redeemIcon.js +1 -1
  190. package/dist/index-BB3__zW3.js +644 -0
  191. package/dist/index-C86AoaoB.js +43 -0
  192. package/dist/{index-BFIhKqqi.js → index-C9uGghB8.js} +141 -133
  193. package/dist/{index-DkMQ44xy.js → index-DZ__IpVI.js} +19 -19
  194. package/dist/{index-B2OIoTNN.js → index-DxX5Mo0o.js} +18 -18
  195. package/dist/{index-CQe8cwpc.js → index-VE9lYjq3.js} +22 -22
  196. package/dist/index-eEYiDlpX.js +723 -0
  197. package/dist/{index-CtkDfW5M.js → index-x9CniyQB.js} +1 -1
  198. package/dist/{kyc-DJpiKj5d.js → kyc-BweeW6k9.js} +1 -1
  199. package/dist/main.js +6 -6
  200. package/dist/{order-DhUA-ZNX.js → order-DmTHC7ZG.js} +7 -7
  201. package/dist/{ownerWindow-iFlVse9X.js → ownerWindow-CRgpWY6I.js} +1 -1
  202. package/dist/pep-C5Ge-kU4.js +2691 -0
  203. package/dist/{radioButton-CdYLf2fc.js → radioButton-Bgy7Kxxo.js} +172 -121
  204. package/dist/refType-CaiGhRso.js +56 -0
  205. package/dist/{stake-DWRuAE1u.js → stake-B150utJI.js} +1 -1
  206. package/dist/tokenRow-BR8f4g7G.js +198 -0
  207. package/dist/{tooltip-CwdohO6q.js → tooltip-DGtrVEzU.js} +258 -235
  208. package/dist/useControlled-nm4pBabJ.js +31 -0
  209. package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
  210. package/dist/useSlot-DtSnboW7.js +125 -0
  211. package/dist/useSlotProps-D62tWbb1.js +25 -0
  212. package/dist/useTheme-Bfw5Gt1b.js +17 -0
  213. package/dist/{useTheme-BzIjfC6u.js → useTheme-XTDzJ69d.js} +3 -3
  214. package/dist/useThemeProps-lRuJRcRX.js +29 -0
  215. package/dist/wallet-DDW5KCHp.js +39 -0
  216. package/package.json +7 -6
  217. package/dist/Button-DCBtFwk3.js +0 -452
  218. package/dist/DefaultPropsProvider-5cxFAZuq.js +0 -647
  219. package/dist/DefaultPropsProvider-DOLtk4kZ.js +0 -88
  220. package/dist/GlobalStyles-O5U8h5ZQ.js +0 -23
  221. package/dist/Grid-BaaKMDwM.js +0 -501
  222. package/dist/Grid2-DX2sucnU.js +0 -374
  223. package/dist/Grow-CC3Va50c.js +0 -216
  224. package/dist/IconButton-8B2ygvr4.js +0 -238
  225. package/dist/SwitchBase-B9rcpVZ0.js +0 -261
  226. package/dist/TransitionGroupContext-BzyZRJGo.js +0 -37
  227. package/dist/createTheme-D_EHVLXp.js +0 -3662
  228. package/dist/defaultTheme-CGLnLLk_.js +0 -5
  229. package/dist/index-BEH1PkNC.js +0 -572
  230. package/dist/index-DSZxScyY.js +0 -704
  231. package/dist/index-DlZLKtdr.js +0 -72
  232. package/dist/pep-BsWvrgyM.js +0 -2600
  233. package/dist/resolveComponentProps-CPnCrKvI.js +0 -80
  234. package/dist/styled-CyBKg0N-.js +0 -5
  235. package/dist/tokenRow-QlGBYRKR.js +0 -206
  236. package/dist/useControlled-BYdyS7Pn.js +0 -31
  237. package/dist/useSlot-BdP6R4tz.js +0 -50
  238. package/dist/useTheme-BFI_g9FY.js +0 -9
  239. package/dist/useThemeProps-BOrAzOS4.js +0 -40
  240. package/dist/useThemeWithoutDefault-BWt80cCE.js +0 -12
  241. package/dist/useTimeout-_ag1gI7y.js +0 -56
  242. package/dist/utils-B-vKE_Dv.js +0 -50
  243. package/dist/utils-asicApOI.js +0 -21
  244. package/dist/wallet-z7NHqtCj.js +0 -35
@@ -1,97 +1,97 @@
1
- import { jsxs as r, Fragment as g, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as r, Fragment as _, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as p, useEffect as x } from "react";
3
3
  import qe from "./hoc/withThemeProvider.js";
4
- import { P as Ye } from "./PlayArrow-1Y66tCVx.js";
5
- import { I as Ge } from "./Info-83BXSu73.js";
4
+ import { P as Ye } from "./PlayArrow-DRCGjsrx.js";
5
+ import { I as Ge } from "./Info-D2UkGxyK.js";
6
6
  import { G as xe } from "./generic-token-B_ptO5yb.js";
7
- import { TOKEN_TO_FIAT as Z, ESTIMATE_TOOLTIP_TEXT as Ke, SELL_WITHDRAW_ICON as He, DIALOG_SUCCESS_ICON as De } from "./util/constants.js";
8
- import { aa as R } from "./constants-BJByDTQY.js";
7
+ import { TOKEN_TO_FIAT as te, ESTIMATE_TOOLTIP_TEXT as Ke, SELL_WITHDRAW_ICON as He, DIALOG_SUCCESS_ICON as De } from "./util/constants.js";
8
+ import { ab as R } from "./constants-CsMPRK0U.js";
9
9
  import { u as je } from "./index-f15o1nhn.js";
10
- import { b as Xe, c as ve, o as ee, d as Ve, a as Je } from "./order-DhUA-ZNX.js";
11
- import { M as Qe } from "./tooltip-CwdohO6q.js";
10
+ import { b as Xe, c as ve, o as ne, d as Ve, a as Je } from "./order-DmTHC7ZG.js";
11
+ import { M as Qe } from "./tooltip-DGtrVEzU.js";
12
12
  import { getCurrencySymbol as Ne, getNetworkBackGround as Ze } from "./util/functions.js";
13
13
  import et from "./components/Wallet/Shared/backBtn.js";
14
14
  import { s as l } from "./styles.module-BFHktEw2.js";
15
- import H from "./components/Wallet/Shared/appButton.js";
15
+ import D from "./components/Wallet/Shared/appButton.js";
16
16
  import { useDialog as Ce } from "./hooks/useDialog/index.js";
17
- import { T as s } from "./Typography-Ds4fpvK8.js";
18
- import { B as I } from "./Box-Be0E_-eR.js";
19
- import { G as o } from "./Grid2-DX2sucnU.js";
20
- import { C as S } from "./CircularProgress-fePUtoaj.js";
21
- import { u as O, a as tt } from "./react-redux-C7I9-1M6.js";
22
- import { f as nt } from "./fiatAssets-C_F8qNzr.js";
23
- import { f as rt } from "./cryptoAssets-BcVSdM1C.js";
24
- import { u as ot } from "./wallet-z7NHqtCj.js";
17
+ import { T as s } from "./Typography-DBlMiOti.js";
18
+ import { B as I } from "./Box-B12x52NC.js";
19
+ import { G as o } from "./Grid-BXyV_lM8.js";
20
+ import { C as S } from "./CircularProgress-t8uGhLMo.js";
21
+ import { u as L, a as tt } from "./react-redux-C7I9-1M6.js";
22
+ import { f as nt } from "./fiatAssets-DVHfFafS.js";
23
+ import { f as rt } from "./cryptoAssets-CzNDY1j6.js";
24
+ import { u as ot } from "./wallet-DDW5KCHp.js";
25
25
  import { useSnackBarContext as it } from "./context/snackBarContext.js";
26
26
  import { AuthContainer as at } from "./components/Wallet/Shared/Container/index.js";
27
27
  import st from "./components/Shared/MinimalKyc/index.js";
28
28
  import lt from "./components/Wallet/Shared/Input/index.js";
29
29
  import ct from "./components/Wallet/Shared/TokenModal/index.js";
30
30
  import { formatNumberWithoutRounding as mt } from "./util/conversions.js";
31
- import { F as W } from "./FormControl-Cc-02KHW.js";
32
- import { F as G } from "./FilledInput-n9W_V8GV.js";
33
- import { F as ye, I as be } from "./TextField-Cm9apaOp.js";
34
- import { S as Q } from "./Select-DpKw-a6h.js";
35
- import { M as K } from "./MenuItem-BkJ_C9Xs.js";
36
- import { L as ge } from "./ListItemIcon-DIz-ZmJ0.js";
37
- import { I as _e } from "./IconButton-8B2ygvr4.js";
31
+ import { F as O } from "./FormControl-DeeQCuu5.js";
32
+ import { F as K } from "./FilledInput-DrGeWgue.js";
33
+ import { F as ye, I as be } from "./TextField-q_SeLeNd.js";
34
+ import { S as ee } from "./Select-Chubcks_.js";
35
+ import { M as H } from "./MenuItem-CeCt0bfa.js";
36
+ import { L as ge } from "./ListItemIcon-GKRFb1Gr.js";
37
+ import { I as _e } from "./IconButton-eWRhV6Q9.js";
38
38
  const dt = ({
39
- setScreen: _,
39
+ setScreen: v,
40
40
  orderData: f,
41
41
  dispatch: c,
42
42
  fiatAssets: d,
43
43
  cryptoAssets: h,
44
44
  getCryptoAssets: F,
45
- showAlertMessage: v,
45
+ showAlertMessage: y,
46
46
  partnerKey: M,
47
47
  walletAddress: n,
48
- setWalletAddress: b,
48
+ setWalletAddress: g,
49
49
  navigate: w
50
50
  }) => {
51
51
  var pe, fe, he;
52
- const { openDialog: N, ConfirmDialog: L } = Ce(), D = O((t) => t.app.features).withdraw, B = O(je), Se = B.data, { loader: Fe } = B, P = d.fiats, we = d.loader, $ = h.featureTokens.sell.list, U = h.featureTokens.sell.default, ne = h.loader, q = f.loader, m = f.estimate[R], C = m.fiat_out_amount, Ee = m.conversion_price, Ie = m.total_fee;
53
- let re = 0, oe = 0;
54
- const ie = m.fee_breakdown;
55
- for (let t = 0; t < ie.length; t++) {
56
- const a = ie[t];
57
- a.name === "ev_fee" ? re = Number(a.value) : a.name === "network_fee" && (oe = Number(a.value));
52
+ const { openDialog: N, ConfirmDialog: B } = Ce(), j = L((t) => t.app.features).withdraw, P = L(je), Se = P.data, { loader: Fe } = P, $ = d.fiats, we = d.loader, U = h.featureTokens.sell.list, q = h.featureTokens.sell.default, oe = h.loader, Y = f.loader, m = f.estimate[R], C = m.fiat_out_amount, Ee = m.conversion_price, Ie = m.total_fee;
53
+ let ie = 0, ae = 0;
54
+ const se = m.fee_breakdown;
55
+ for (let t = 0; t < se.length; t++) {
56
+ const a = se[t];
57
+ a.name === "ev_fee" ? ie = Number(a.value) : a.name === "network_fee" && (ae = Number(a.value));
58
58
  }
59
- const [i, ae] = p({
59
+ const [i, le] = p({
60
60
  symbol: ""
61
- }), [j, X] = p(!1), [E, Te] = p(2), [ze, Re] = p([]), [se, Me] = p(!1), [Y, Ae] = p(50), [le, We] = p(3e3), [ce, V] = p(""), [T, J] = p(m.crypto_amount || "0.05"), [Oe, me] = p(!1), de = Number((pe = m == null ? void 0 : m.input_token) == null ? void 0 : pe.fiat_amount), z = P.find((t) => t.id === E), k = Ne(z == null ? void 0 : z.symbol);
61
+ }), [X, V] = p(!1), [E, Te] = p(2), [ze, Re] = p([]), [ce, Me] = p(!1), [W, We] = p(50), [J, Ae] = p(3e3), [me, Q] = p(""), [T, Z] = p(m.crypto_amount || "0.05"), [Oe, de] = p(!1), G = Number((pe = m == null ? void 0 : m.input_token) == null ? void 0 : pe.fiat_amount), z = $.find((t) => t.id === E), k = Ne(z == null ? void 0 : z.symbol);
62
62
  x(() => {
63
63
  const t = [];
64
- for (let a = 0; a < P.length; a++) {
65
- const u = {}, A = P[a];
64
+ for (let a = 0; a < $.length; a++) {
65
+ const u = {}, A = $[a];
66
66
  A.symbol === "EUR" && (u.id = A.id, u.name = A.name, u.icon_uri = A.icon_uri, u.symbol = A.symbol, u.payment_options = [], t.push(u));
67
67
  }
68
68
  Re(t);
69
- }, [P]), x(() => {
70
- U && U.id && ae(U);
71
- }, [U]), x(() => {
72
- C && (Y > +C * 1 && (V(
73
- `Minimum value should be greater than ${k + Y}`
74
- ), X(!0)), le < +C * 1 && (V(
75
- `Maximum value should be less than ${k + le}`
76
- ), X(!0)));
69
+ }, [$]), x(() => {
70
+ q && q.id && le(q);
71
+ }, [q]), x(() => {
72
+ C && (W > +C * 1 && (Q(
73
+ `Minimum value should be greater than ${k + W}`
74
+ ), V(!0)), J < +C * 1 && (Q(
75
+ `Maximum value should be less than ${k + J}`
76
+ ), V(!0)));
77
77
  }, [C]), x(() => {
78
78
  E && F && F(E);
79
79
  }, [E, n]), x(() => {
80
80
  if (i && i.id && T && E) {
81
- c(Xe(R)), X(!1), V("");
81
+ c(Xe(R)), V(!1), Q("");
82
82
  const t = setTimeout(() => {
83
83
  Le();
84
84
  }, 1e3);
85
85
  return () => clearTimeout(t);
86
86
  }
87
- }, [i, T, $, E]);
87
+ }, [i, T, U, E]);
88
88
  const Le = () => {
89
89
  var t;
90
90
  c(
91
91
  ve(
92
92
  {
93
93
  apiKey: M,
94
- transaction_type: Z,
94
+ transaction_type: te,
95
95
  coin_amount: T,
96
96
  exchange: i.exchange,
97
97
  fiat_ccy: z == null ? void 0 : z.symbol,
@@ -107,32 +107,40 @@ const dt = ({
107
107
  if (t > 0)
108
108
  for (let a = 0; a < t; a++) {
109
109
  const u = f.types[a];
110
- if (u.type === Z) {
111
- Ae(parseFloat(u.min_deposit_amount)), We(parseFloat(u.max_deposit_amount));
110
+ if (u.type === te) {
111
+ We(parseFloat(u.min_deposit_amount)), Ae(parseFloat(u.max_deposit_amount));
112
112
  break;
113
113
  }
114
114
  }
115
115
  }, [f.types]);
116
116
  const Be = (t) => {
117
117
  const a = t.target.value;
118
- a ? /^([0-9.]+)$/.test(a) && J(a) : J("");
118
+ a ? /^([0-9.]+)$/.test(a) && Z(a) : Z("");
119
119
  }, ue = (t) => {
120
- const a = $.find((u) => u.symbol === t);
121
- ae(a);
120
+ const a = U.find((u) => u.symbol === t);
121
+ le(a);
122
122
  }, Pe = () => {
123
123
  if (!i.id)
124
- return v({ message: "Please select token" }), !1;
124
+ return y({ message: "Please select token" }), !1;
125
125
  if (!T)
126
- return v({ message: "Please enter amount" }), !1;
126
+ return y({ message: "Please enter amount" }), !1;
127
127
  if (!C)
128
- return v({
128
+ return y({
129
129
  message: "Please wait for the estimate to be calculated and then press next"
130
130
  }), !1;
131
+ if (W * 1 > G * 1)
132
+ return y({
133
+ message: "The input amount of this transaction is below our minimum, please try a higher transaction amount"
134
+ }), !1;
135
+ if (J * 1 < G * 1)
136
+ return y({
137
+ message: "The input amount of this transaction is above our maximum, please try a lower transaction amount"
138
+ }), !1;
131
139
  if (i.fmt_balance && +T > parseFloat(i.fmt_balance))
132
- return v({
140
+ return y({
133
141
  message: "Insufficient Funds. Please provide amount less or equal to available balance"
134
142
  }), !1;
135
- _(ke);
143
+ v(ke);
136
144
  }, $e = () => {
137
145
  N({
138
146
  icon: He,
@@ -149,10 +157,10 @@ const dt = ({
149
157
  cancelButtonShow: !1
150
158
  });
151
159
  }, Ue = () => {
152
- i && J(mt(i.fmt_balance + "", 8));
160
+ i && Z(mt(i.fmt_balance + "", 8));
153
161
  };
154
- return /* @__PURE__ */ r(g, { children: [
155
- /* @__PURE__ */ e(L, {}),
162
+ return /* @__PURE__ */ r(_, { children: [
163
+ /* @__PURE__ */ e(B, {}),
156
164
  /* @__PURE__ */ r(o, { container: !0, children: [
157
165
  /* @__PURE__ */ e(o, { size: { xs: 2.5 }, children: /* @__PURE__ */ e(s, { className: l.label, variant: "caption", component: "p", children: "You Sell" }) }),
158
166
  /* @__PURE__ */ e(o, { size: { xs: 9.5 }, children: n && i && /* @__PURE__ */ r(
@@ -174,31 +182,31 @@ const dt = ({
174
182
  ] }),
175
183
  /* @__PURE__ */ r(o, { mt: 0.5, spacing: 0, container: !0, children: [
176
184
  /* @__PURE__ */ e(o, { size: { xs: 6 }, children: /* @__PURE__ */ r(
177
- W,
185
+ O,
178
186
  {
179
187
  variant: "filled",
180
188
  className: `${l.amount} ${l["fiat-field"]}`,
181
189
  fullWidth: !0,
182
190
  children: [
183
191
  /* @__PURE__ */ e(
184
- G,
192
+ K,
185
193
  {
186
194
  value: T,
187
195
  onChange: Be,
188
196
  type: "text",
189
- placeholder: `${Y > 0 ? k + Y + " minimum value" : ""}`,
190
- error: j,
197
+ placeholder: `${W > 0 ? k + W + " minimum value" : ""}`,
198
+ error: X,
191
199
  disableUnderline: !0,
192
200
  required: !0,
193
201
  fullWidth: !0
194
202
  }
195
203
  ),
196
- /* @__PURE__ */ e(ye, { className: l["amount-symbol"], children: de > 0 ? "$" + (de * 1).toFixed(2) : /* @__PURE__ */ e(g, { children: " " }) })
204
+ /* @__PURE__ */ e(ye, { className: l["amount-symbol"], children: G > 0 ? "$" + (G * 1).toFixed(2) : /* @__PURE__ */ e(_, { children: " " }) })
197
205
  ]
198
206
  }
199
207
  ) }),
200
- /* @__PURE__ */ e(o, { size: { xs: 6 }, className: "content-center", children: ne ? /* @__PURE__ */ e(S, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ r(
201
- W,
208
+ /* @__PURE__ */ e(o, { size: { xs: 6 }, className: "content-center", children: oe ? /* @__PURE__ */ e(S, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ r(
209
+ O,
202
210
  {
203
211
  variant: "filled",
204
212
  className: `text-left ${l["crypto-picker"]}`,
@@ -212,9 +220,9 @@ const dt = ({
212
220
  }
213
221
  ),
214
222
  /* @__PURE__ */ r(
215
- Q,
223
+ ee,
216
224
  {
217
- input: /* @__PURE__ */ e(G, { disableUnderline: !0 }),
225
+ input: /* @__PURE__ */ e(K, { disableUnderline: !0 }),
218
226
  sx: {
219
227
  borderTopLeftRadius: 0,
220
228
  "&::before": {
@@ -240,13 +248,13 @@ const dt = ({
240
248
  displayEmpty: !0,
241
249
  onChange: (t) => ue(t.target.value),
242
250
  onOpen: (t) => {
243
- me(!0), t.preventDefault();
251
+ de(!0), t.preventDefault();
244
252
  },
245
253
  defaultOpen: !1,
246
254
  open: !1,
247
255
  children: [
248
- /* @__PURE__ */ e(K, { value: "", children: "Please select" }),
249
- $.map((t) => /* @__PURE__ */ r(K, { value: t.symbol, children: [
256
+ /* @__PURE__ */ e(H, { value: "", children: "Please select" }),
257
+ U.map((t) => /* @__PURE__ */ r(H, { value: t.symbol, children: [
250
258
  /* @__PURE__ */ e(ge, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
251
259
  "img",
252
260
  {
@@ -267,18 +275,18 @@ const dt = ({
267
275
  ]
268
276
  }
269
277
  ) }),
270
- ce && /* @__PURE__ */ e(s, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: ce }) })
278
+ me && /* @__PURE__ */ e(s, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: me }) })
271
279
  ] }),
272
280
  /* @__PURE__ */ e(o, { mt: 4, container: !0, children: /* @__PURE__ */ e(o, { size: { xs: 4 }, children: /* @__PURE__ */ e(s, { className: l.label, variant: "caption", component: "p", children: "You Receive" }) }) }),
273
281
  /* @__PURE__ */ r(o, { mt: 0.5, container: !0, children: [
274
282
  /* @__PURE__ */ e(o, { size: { xs: 6 }, children: /* @__PURE__ */ r(
275
- W,
283
+ O,
276
284
  {
277
285
  className: `${l.amount} ${l["fiat-field"]}`,
278
286
  fullWidth: !0,
279
287
  children: [
280
288
  /* @__PURE__ */ e(
281
- G,
289
+ K,
282
290
  {
283
291
  disableUnderline: !0,
284
292
  value: C && parseFloat((+C * 1).toFixed(5)),
@@ -287,7 +295,7 @@ const dt = ({
287
295
  fullWidth: !0
288
296
  }
289
297
  ),
290
- /* @__PURE__ */ e(ye, { className: l["amount-symbol"], children: +((fe = m == null ? void 0 : m.output_token) == null ? void 0 : fe.fiat_amount) * 1 > 0 ? k + (+((he = m == null ? void 0 : m.output_token) == null ? void 0 : he.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(g, { children: " " }) })
298
+ /* @__PURE__ */ e(ye, { className: l["amount-symbol"], children: +((fe = m == null ? void 0 : m.output_token) == null ? void 0 : fe.fiat_amount) * 1 > 0 ? k + (+((he = m == null ? void 0 : m.output_token) == null ? void 0 : he.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(_, { children: " " }) })
291
299
  ]
292
300
  }
293
301
  ) }),
@@ -298,15 +306,15 @@ const dt = ({
298
306
  size: 30
299
307
  }
300
308
  ) : /* @__PURE__ */ e(
301
- W,
309
+ O,
302
310
  {
303
311
  variant: "filled",
304
312
  className: `text-left ${l["fiat-picker"]}`,
305
313
  fullWidth: !0,
306
314
  children: /* @__PURE__ */ e(
307
- Q,
315
+ ee,
308
316
  {
309
- input: /* @__PURE__ */ e(G, { disableUnderline: !0 }),
317
+ input: /* @__PURE__ */ e(K, { disableUnderline: !0 }),
310
318
  sx: {
311
319
  borderTopLeftRadius: 0,
312
320
  "&::before": {
@@ -330,8 +338,8 @@ const dt = ({
330
338
  variant: "filled",
331
339
  displayEmpty: !0,
332
340
  onChange: (t) => Te(t.target.value),
333
- error: j,
334
- children: ze.map((t) => /* @__PURE__ */ r(K, { value: t.id, children: [
341
+ error: X,
342
+ children: ze.map((t) => /* @__PURE__ */ r(H, { value: t.id, children: [
335
343
  /* @__PURE__ */ e(ge, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
336
344
  "img",
337
345
  {
@@ -365,7 +373,7 @@ const dt = ({
365
373
  Ye,
366
374
  {
367
375
  sx: {
368
- transform: `rotate(${se ? "90" : "0"}deg)`,
376
+ transform: `rotate(${ce ? "90" : "0"}deg)`,
369
377
  fontSize: "15px"
370
378
  }
371
379
  }
@@ -373,31 +381,31 @@ const dt = ({
373
381
  ]
374
382
  }
375
383
  ) }),
376
- se && /* @__PURE__ */ r(g, { children: [
384
+ ce && /* @__PURE__ */ r(_, { children: [
377
385
  /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Everest Fee" }) }),
378
386
  /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(s, { variant: "caption", children: [
379
387
  k,
380
- q ? /* @__PURE__ */ e(S, { size: 30, color: "primary" }) : re.toFixed(2)
388
+ Y ? /* @__PURE__ */ e(S, { size: 30, color: "primary" }) : ie.toFixed(2)
381
389
  ] }) }),
382
390
  /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Network Fee" }) }),
383
391
  /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(s, { variant: "caption", children: [
384
392
  k,
385
- q ? /* @__PURE__ */ e(
393
+ Y ? /* @__PURE__ */ e(
386
394
  S,
387
395
  {
388
396
  sx: { ml: 1 },
389
397
  size: 15,
390
398
  color: "primary"
391
399
  }
392
- ) : oe.toFixed(2)
400
+ ) : ae.toFixed(2)
393
401
  ] }) })
394
402
  ] }),
395
403
  /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(s, { variant: "caption", children: "Total Fees" }) }),
396
404
  /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(s, { variant: "caption", children: [
397
405
  k,
398
- q ? /* @__PURE__ */ e(S, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(Ie).toFixed(2)
406
+ Y ? /* @__PURE__ */ e(S, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(Ie).toFixed(2)
399
407
  ] }) }),
400
- i && /* @__PURE__ */ r(g, { children: [
408
+ i && /* @__PURE__ */ r(_, { children: [
401
409
  /* @__PURE__ */ e(o, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ r(s, { variant: "caption", children: [
402
410
  "1 ",
403
411
  i.symbol,
@@ -420,7 +428,7 @@ const dt = ({
420
428
  ] }) }),
421
429
  /* @__PURE__ */ e(o, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(s, { variant: "caption", children: [
422
430
  k,
423
- q ? /* @__PURE__ */ e(
431
+ Y ? /* @__PURE__ */ e(
424
432
  S,
425
433
  {
426
434
  sx: { ml: 1 },
@@ -431,30 +439,30 @@ const dt = ({
431
439
  ] }) })
432
440
  ] })
433
441
  ] }) }),
434
- /* @__PURE__ */ e(I, { sx: { alignItems: "left", width: "100%" }, children: Fe ? /* @__PURE__ */ e(I, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(S, {}) }) : /* @__PURE__ */ e(g, { children: /* @__PURE__ */ r(W, { variant: "filled", fullWidth: !0, children: [
442
+ /* @__PURE__ */ e(I, { sx: { alignItems: "left", width: "100%" }, children: Fe ? /* @__PURE__ */ e(I, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(S, {}) }) : /* @__PURE__ */ e(_, { children: /* @__PURE__ */ r(O, { variant: "filled", fullWidth: !0, children: [
435
443
  !n && /* @__PURE__ */ e(be, { children: "Select wallet address" }),
436
444
  /* @__PURE__ */ e(
437
- Q,
445
+ ee,
438
446
  {
439
447
  value: n,
440
- onChange: (t) => b && b(t.target.value),
441
- children: Se.map((t, a) => /* @__PURE__ */ e(K, { value: t.address, children: t.name + "(" + t.address + ")" }, a))
448
+ onChange: (t) => g && g(t.target.value),
449
+ children: Se.map((t, a) => /* @__PURE__ */ e(H, { value: t.address, children: t.name + "(" + t.address + ")" }, a))
442
450
  }
443
451
  )
444
452
  ] }) }) }),
445
453
  /* @__PURE__ */ r(I, { mt: 4, children: [
446
454
  /* @__PURE__ */ e(
447
- H,
455
+ D,
448
456
  {
449
457
  onClick: Pe,
450
- disabled: j || !C,
458
+ disabled: X || !C,
451
459
  fullWidth: !0,
452
460
  children: /* @__PURE__ */ e("strong", { children: "Next" })
453
461
  }
454
462
  ),
455
- D && /* @__PURE__ */ r(g, { children: [
463
+ j && /* @__PURE__ */ r(_, { children: [
456
464
  /* @__PURE__ */ e(
457
- H,
465
+ D,
458
466
  {
459
467
  variantType: "secondary",
460
468
  sx: { mt: 3 },
@@ -480,43 +488,43 @@ const dt = ({
480
488
  ct,
481
489
  {
482
490
  open: Oe,
483
- setModal: me,
484
- loader: ne,
485
- tokenList: $,
491
+ setModal: de,
492
+ loader: oe,
493
+ tokenList: U,
486
494
  tokenSelect: ue
487
495
  }
488
496
  )
489
497
  ] });
490
498
  }, ut = ({
491
- setScreen: _,
499
+ setScreen: v,
492
500
  partnerKey: f,
493
501
  orderData: c,
494
502
  dispatch: d,
495
503
  walletAddress: h,
496
504
  navigate: F
497
505
  }) => {
498
- const { openDialog: v, ConfirmDialog: M } = Ce(), n = c.estimate[R], b = c.create.order_id, w = c.loader;
506
+ const { openDialog: y, ConfirmDialog: M } = Ce(), n = c.estimate[R], g = c.create.order_id, w = c.loader;
499
507
  n.fiat_amount;
500
- const N = Ne(n.fiat_currency), [L, y] = p(!1);
508
+ const N = Ne(n.fiat_currency), [B, b] = p(!1);
501
509
  x(() => {
502
- b && L && v({
510
+ g && B && y({
503
511
  icon: De,
504
512
  title: "Sell Success",
505
513
  message: "Your transaction was successful for more details on the transaction please track your order.",
506
514
  cancelButtonText: "Sell again",
507
515
  onCancel: () => {
508
- d(ee()), _(te);
516
+ d(ne()), v(re);
509
517
  },
510
518
  confirmButtonText: "Track Order",
511
519
  onConfirm: () => {
512
- F && F("/history"), d(ee());
520
+ F && F("/history"), d(ne());
513
521
  },
514
522
  height: "490px"
515
523
  });
516
- }, [b]), x(() => {
517
- D();
524
+ }, [g]), x(() => {
525
+ j();
518
526
  }, []);
519
- const D = () => {
527
+ const j = () => {
520
528
  d(
521
529
  ve(
522
530
  {
@@ -533,21 +541,21 @@ const dt = ({
533
541
  R
534
542
  )
535
543
  );
536
- }, B = () => {
544
+ }, P = () => {
537
545
  d(
538
546
  Ve({
539
547
  apiKey: f,
540
548
  quoteId: n.quote_id,
541
549
  walletAddress: h
542
550
  })
543
- ), y(!0);
551
+ ), b(!0);
544
552
  };
545
- return /* @__PURE__ */ r(g, { children: [
553
+ return /* @__PURE__ */ r(_, { children: [
546
554
  /* @__PURE__ */ e(M, {}),
547
555
  /* @__PURE__ */ e(
548
556
  et,
549
557
  {
550
- onClickHandler: () => _(te),
558
+ onClickHandler: () => v(re),
551
559
  backBtnText: "Confirm Your Order"
552
560
  }
553
561
  ),
@@ -608,28 +616,28 @@ const dt = ({
608
616
  ] }) }) })
609
617
  ] }) }),
610
618
  /* @__PURE__ */ e(I, { mt: 4, children: /* @__PURE__ */ e(
611
- H,
619
+ D,
612
620
  {
613
- onClick: B,
621
+ onClick: P,
614
622
  disabled: w,
615
623
  fullWidth: !0,
616
- children: /* @__PURE__ */ e("strong", { children: w ? /* @__PURE__ */ r(g, { children: [
624
+ children: /* @__PURE__ */ e("strong", { children: w ? /* @__PURE__ */ r(_, { children: [
617
625
  /* @__PURE__ */ e(S, { size: 15, color: "inherit" }),
618
626
  " Processing..."
619
627
  ] }) : "Sell" })
620
628
  }
621
629
  ) })
622
630
  ] });
623
- }, te = "FORM_SCREEN", ke = "CONFIRM_SCREEN", pt = "MINIMAL_KYC_SCREEN", ft = ({ partnerKey: _, navigate: f }) => {
624
- const c = tt(), d = O((y) => y.order), h = d.error, F = O((y) => y.fiatAssets), v = O(
625
- (y) => y.cryptoAssets
626
- ), [M, n] = p(te), [b, w] = p(""), { showAlertMessage: N } = it();
631
+ }, re = "FORM_SCREEN", ke = "CONFIRM_SCREEN", pt = "MINIMAL_KYC_SCREEN", ft = ({ partnerKey: v, navigate: f }) => {
632
+ const c = tt(), d = L((b) => b.order), h = d.error, F = L((b) => b.fiatAssets), y = L(
633
+ (b) => b.cryptoAssets
634
+ ), [M, n] = p(re), [g, w] = p(""), { showAlertMessage: N } = it();
627
635
  return x(() => {
628
636
  h && N({ message: h });
629
637
  }, [h]), x(() => {
630
638
  d.initMinimalKyc && (N({ message: h, type: "info" }), n(pt));
631
- }, [d.initMinimalKyc]), x(() => (c(nt()), c(Je(Z)), c(ot()), () => {
632
- c(ee());
639
+ }, [d.initMinimalKyc]), x(() => (c(nt()), c(Je(te)), c(ot()), () => {
640
+ c(ne());
633
641
  }), []), /* @__PURE__ */ e(at, { addPadding: !0, children: {
634
642
  FORM_SCREEN: /* @__PURE__ */ e(
635
643
  dt,
@@ -637,21 +645,21 @@ const dt = ({
637
645
  showAlertMessage: N,
638
646
  setScreen: n,
639
647
  fiatAssets: F,
640
- cryptoAssets: v,
648
+ cryptoAssets: y,
641
649
  orderData: d,
642
650
  dispatch: c,
643
- getCryptoAssets: (y) => {
651
+ getCryptoAssets: (b) => {
644
652
  c(
645
653
  rt({
646
654
  type: R,
647
- id: y,
648
- walletAddress: b,
649
- partnerKey: _
655
+ id: b,
656
+ walletAddress: g,
657
+ partnerKey: v
650
658
  })
651
659
  );
652
660
  },
653
- partnerKey: _,
654
- walletAddress: b,
661
+ partnerKey: v,
662
+ walletAddress: g,
655
663
  setWalletAddress: w,
656
664
  navigate: f
657
665
  }
@@ -659,12 +667,12 @@ const dt = ({
659
667
  CONFIRM_SCREEN: /* @__PURE__ */ e(
660
668
  ut,
661
669
  {
662
- partnerKey: _,
670
+ partnerKey: v,
663
671
  setScreen: n,
664
672
  showAlertMessage: N,
665
673
  orderData: d,
666
674
  dispatch: c,
667
- walletAddress: b,
675
+ walletAddress: g,
668
676
  navigate: f
669
677
  }
670
678
  ),
@@ -672,7 +680,7 @@ const dt = ({
672
680
  st,
673
681
  {
674
682
  inputComponent: lt,
675
- buttonComponent: H,
683
+ buttonComponent: D,
676
684
  onComplete: () => {
677
685
  n(ke);
678
686
  }
@@ -682,7 +690,7 @@ const dt = ({
682
690
  }, Qt = qe(ft);
683
691
  export {
684
692
  ke as C,
685
- te as F,
693
+ re as F,
686
694
  pt as M,
687
695
  dt as S,
688
696
  ut as a,