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,19 +1,19 @@
1
1
  import { jsxs as a, jsx as e, Fragment as b } from "react/jsx-runtime";
2
- import { useRef as $e, useState as u, useEffect as y } from "react";
3
- import { u as B, a as Pe } from "../../../react-redux-C7I9-1M6.js";
4
- import { P as Be } from "../../../PlayArrow-1Y66tCVx.js";
5
- import { I as De } from "../../../Info-83BXSu73.js";
6
- import { G as ze } from "../../../generic-token-B_ptO5yb.js";
7
- import { getCentralLedgetNetwork as D, getNetworkBackGround as me, getCurrencySymbol as Ue } from "../../../util/functions.js";
8
- import de from "../Shared/TokenModal/index.js";
9
- import { formatNumberWithoutRounding as ue } from "../../../util/conversions.js";
10
- import { F as A } from "../../../constants-BJByDTQY.js";
2
+ import { useRef as We, useState as u, useEffect as y } from "react";
3
+ import { u as P, a as $e } from "../../../react-redux-C7I9-1M6.js";
4
+ import { P as Pe } from "../../../PlayArrow-DRCGjsrx.js";
5
+ import { I as Be } from "../../../Info-D2UkGxyK.js";
6
+ import { G as De } from "../../../generic-token-B_ptO5yb.js";
7
+ import { getCentralLedgetNetwork as B, getNetworkBackGround as ce, getCurrencySymbol as Ue } from "../../../util/functions.js";
8
+ import me from "../Shared/TokenModal/index.js";
9
+ import { formatNumberWithoutRounding as de } from "../../../util/conversions.js";
10
+ import { F as z } from "../../../constants-CsMPRK0U.js";
11
11
  import { u as qe } from "../../../index-f15o1nhn.js";
12
- import { f as Ge, a as Ye, b as je } from "../../../cryptoAssets-BcVSdM1C.js";
13
- import { u as He } from "../../../wallet-z7NHqtCj.js";
14
- import { o as z, a as Ke, b as Xe, c as Ve, d as Je } from "../../../order-DhUA-ZNX.js";
12
+ import { f as Ge, a as Ye, b as je } from "../../../cryptoAssets-CzNDY1j6.js";
13
+ import { u as He } from "../../../wallet-DDW5KCHp.js";
14
+ import { o as D, a as Ke, b as Xe, c as Ve, d as Je } from "../../../order-DmTHC7ZG.js";
15
15
  import { DIALOG_SUCCESS_ICON as Qe, TOKEN_TO_TOKEN as U, ARROW_ICON as Ze, ESTIMATE_TOOLTIP_TEXT as et } from "../../../util/constants.js";
16
- import { M as tt } from "../../../tooltip-CwdohO6q.js";
16
+ import { M as tt } from "../../../tooltip-DGtrVEzU.js";
17
17
  import rt from "../../../hoc/withThemeProvider.js";
18
18
  import "../Shared/appButton.js";
19
19
  import "../Shared/Auth/otpForm.js";
@@ -30,46 +30,46 @@ import "../../../web3-u4qDZYpo.js";
30
30
  import "../../../index-B8QKlEgj.js";
31
31
  import "../../../index-ceeCtFuh.js";
32
32
  import { s as i } from "../../../styles.module-BFHktEw2.js";
33
- import { B as N } from "../../../Box-Be0E_-eR.js";
34
- import { G as n } from "../../../Grid-BaaKMDwM.js";
35
- import { T as l } from "../../../Typography-Ds4fpvK8.js";
36
- import { F as _ } from "../../../FormControl-Cc-02KHW.js";
37
- import { F as I } from "../../../FilledInput-n9W_V8GV.js";
38
- import { F as pe, I as q } from "../../../TextField-Cm9apaOp.js";
39
- import { C as h } from "../../../CircularProgress-fePUtoaj.js";
40
- import { S as G } from "../../../Select-DpKw-a6h.js";
41
- import { M as w } from "../../../MenuItem-BkJ_C9Xs.js";
42
- import { L as fe } from "../../../ListItemIcon-DIz-ZmJ0.js";
43
- import { I as he } from "../../../IconButton-8B2ygvr4.js";
44
- import { B as st } from "../../../Button-DCBtFwk3.js";
45
- const it = ({ partnerKey: M, navigate: Y }) => {
46
- var le, ce;
47
- const j = $e(null), { openDialog: xe, ConfirmDialog: ge } = nt(), { showAlertMessage: d } = at(), x = B((t) => t.order), v = B(
33
+ import { B as k } from "../../../Box-B12x52NC.js";
34
+ import { G as n } from "../../../Grid-BXyV_lM8.js";
35
+ import { T as l } from "../../../Typography-DBlMiOti.js";
36
+ import { F as N } from "../../../FormControl-DeeQCuu5.js";
37
+ import { F as A } from "../../../FilledInput-DrGeWgue.js";
38
+ import { F as ue, I as q } from "../../../TextField-q_SeLeNd.js";
39
+ import { C as h } from "../../../CircularProgress-t8uGhLMo.js";
40
+ import { S as G } from "../../../Select-Chubcks_.js";
41
+ import { M as _ } from "../../../MenuItem-CeCt0bfa.js";
42
+ import { L as pe } from "../../../ListItemIcon-GKRFb1Gr.js";
43
+ import { I as fe } from "../../../IconButton-eWRhV6Q9.js";
44
+ import { B as st } from "../../../Button-C57IMamW.js";
45
+ const it = ({ partnerKey: I, navigate: Y }) => {
46
+ var ie, le;
47
+ const j = We(null), { openDialog: he, ConfirmDialog: xe } = nt(), { showAlertMessage: d } = at(), x = P((t) => t.order), w = P(
48
48
  (t) => t.cryptoAssets
49
- ), H = B(qe), be = H.data, { loader: ye } = H, O = v.featureTokens.swap.inputList, r = v.featureTokens.swap.inputDefault, k = v.featureTokens.swap.outputList, o = v.featureTokens.swap.outputDefault, S = v.loader, R = x.error, K = x.create.order_id, F = x.loader, c = x.estimate[A], C = c.output_token.amount, X = c.conversion_price, we = c.total_fee, T = Number((le = c == null ? void 0 : c.input_token) == null ? void 0 : le.fiat_amount), V = Number((ce = c == null ? void 0 : c.output_token) == null ? void 0 : ce.fiat_amount);
49
+ ), H = P(qe), ge = H.data, { loader: be } = H, M = w.featureTokens.swap.inputList, r = w.featureTokens.swap.inputDefault, v = w.featureTokens.swap.outputList, o = w.featureTokens.swap.outputDefault, S = w.loader, O = x.error, K = x.create.order_id, F = x.loader, c = x.estimate[z], C = c.output_token.amount, X = c.conversion_price, ye = c.total_fee, T = Number((ie = c == null ? void 0 : c.input_token) == null ? void 0 : ie.fiat_amount), V = Number((le = c == null ? void 0 : c.output_token) == null ? void 0 : le.fiat_amount);
50
50
  let J = 0, Q = 0;
51
51
  const Z = c.fee_breakdown;
52
52
  for (let t = 0; t < Z.length; t++) {
53
53
  const s = Z[t];
54
54
  s.name === "ev_fee" ? J = Number(s.value) : s.name === "network_fee" && (Q = Number(s.value));
55
55
  }
56
- const [g, E] = u("0.05"), [L, ve] = u(!1), [ke, ee] = u(!1), [Ne, te] = u(!1), [re, _e] = u(!1), [W, oe] = u(!1), [p, Se] = u(""), [$, Fe] = u(50), [Ce, Te] = u(1e4), [ae, Ae] = u(""), Ie = /^([0-9]*(\,|\.)[0-9]+|[0-9]+)$/, P = Ue("USD"), m = Pe(), Me = (t) => {
56
+ const [g, R] = u("0.05"), [E, we] = u(!1), [ve, ee] = u(!1), [ke, te] = u(!1), [re, Ne] = u(!1), [L, oe] = u(!1), [p, _e] = u(""), [W, Se] = u(50), [Fe, Ce] = u(1e4), [ae, Te] = u(""), ze = /^([0-9]*(\,|\.)[0-9]+|[0-9]+)$/, $ = Ue("USD"), m = $e(), Ae = (t) => {
57
57
  m(Ye(t));
58
- }, ne = (t) => {
58
+ }, Ie = (t) => {
59
59
  m(je(t));
60
60
  };
61
61
  y(() => {
62
- K && W && xe({
62
+ K && L && he({
63
63
  icon: Qe,
64
64
  title: "Swap Success",
65
65
  message: "Your transaction was successful for more details on the transaction, please view your transaction history.",
66
66
  cancelButtonText: "Swap again",
67
67
  onCancel: () => {
68
- m(z()), oe(!1);
68
+ m(D()), oe(!1);
69
69
  },
70
70
  confirmButtonText: "Track Order",
71
71
  onConfirm: () => {
72
- Y && Y("/history"), m(z());
72
+ Y && Y("/history"), m(D());
73
73
  },
74
74
  height: "490px"
75
75
  });
@@ -77,71 +77,71 @@ const it = ({ partnerKey: M, navigate: Y }) => {
77
77
  const t = j.current;
78
78
  (t == null ? void 0 : t.id) === r.id && (t == null ? void 0 : t.wallet) === p || (j.current = { id: r.id, wallet: p }, m(
79
79
  Ge({
80
- type: A,
80
+ type: z,
81
81
  id: r.id,
82
+ outputId: o.id,
82
83
  walletAddress: p,
83
- partnerKey: M
84
+ partnerKey: I
84
85
  })
85
86
  ));
86
87
  }, [r.id, p]), y(() => (m(He()), m(Ke(U)), () => {
87
- m(z());
88
+ m(D());
88
89
  }), []), y(() => {
89
90
  const t = x.types.length;
90
91
  if (t > 0)
91
92
  for (let s = 0; s < t; s++) {
92
93
  const f = x.types[s];
93
94
  if (f.type === U) {
94
- Fe(parseFloat(f.min_deposit_amount)), Te(parseFloat(f.max_deposit_amount));
95
+ Se(parseFloat(f.min_deposit_amount)), Ce(parseFloat(f.max_deposit_amount));
95
96
  break;
96
97
  }
97
98
  }
98
99
  }, [x.types]), y(() => {
99
- R && d({ message: R });
100
- }, [R]), y(() => {
100
+ O && d({ message: O });
101
+ }, [O]), y(() => {
101
102
  if (o && o.id && g) {
102
- m(Xe(A)), ve(!1), Ae("");
103
+ m(Xe(z)), we(!1), Te("");
103
104
  const t = setTimeout(() => {
104
- Oe();
105
+ Me();
105
106
  }, 1e3);
106
107
  return () => clearTimeout(t);
107
108
  }
108
109
  }, [g, r, o]);
109
- const Oe = () => {
110
+ const Me = () => {
110
111
  r.network && o && o.network && m(
111
112
  Ve(
112
113
  {
113
- apiKey: M,
114
+ apiKey: I,
114
115
  transaction_type: U,
115
116
  coin_amount: g,
116
117
  input_token: r.symbol,
117
- input_token_network: D(
118
+ input_token_network: B(
118
119
  r.network.name
119
120
  ),
120
121
  exchange: r.exchange,
121
122
  output_token: o.symbol,
122
- output_token_network: D(
123
+ output_token_network: B(
123
124
  o.network.name
124
125
  ),
125
126
  output_exchange: o.exchange
126
127
  },
127
- A
128
+ z
128
129
  )
129
130
  );
131
+ }, Oe = (t) => {
132
+ _e(t);
130
133
  }, Re = (t) => {
131
- Se(t);
132
- }, Ee = (t) => {
133
134
  const s = t.target.value;
134
- s ? /^([0-9.]+)$/.test(s) && E(ue(s, 8)) : E("");
135
- }, se = (t) => {
136
- if (k) {
137
- const s = k.find((f) => f.symbol === t);
138
- ne(s);
135
+ s ? /^([0-9.]+)$/.test(s) && R(de(s, 8)) : R("");
136
+ }, ne = (t) => {
137
+ if (v) {
138
+ const s = v.find((f) => f.symbol === t);
139
+ Ie(s);
139
140
  }
140
- }, ie = (t) => {
141
- ne({ symbol: "" });
142
- const s = O.find((f) => f.symbol === t);
143
- Me(s);
144
- }, Le = () => {
141
+ }, se = (t) => {
142
+ const s = M.find((f) => f.symbol === t);
143
+ Ae(s);
144
+ }, Ee = () => {
145
145
  if (!r)
146
146
  return d({
147
147
  message: "Please select token you want to swap"
@@ -154,7 +154,7 @@ const it = ({ partnerKey: M, navigate: Y }) => {
154
154
  return d({ message: "Please enter amount" }), !1;
155
155
  if (!p)
156
156
  return d({ message: "Please select/enter wallet address" }), !1;
157
- if (!Ie.test(g))
157
+ if (!ze.test(g))
158
158
  return d({ message: "Please provide a valid amount" }), !1;
159
159
  if (!C)
160
160
  return d({
@@ -164,31 +164,31 @@ const it = ({ partnerKey: M, navigate: Y }) => {
164
164
  return d({
165
165
  message: "You don't have enough balance to make this swap"
166
166
  }), !1;
167
- if ($ * 1 > T * 1)
167
+ if (W * 1 > T * 1)
168
168
  return d({
169
169
  message: "The input amount of this transaction is below our minimum, please try a higher transaction amount"
170
170
  }), !1;
171
- if (Ce * 1 < T * 1)
171
+ if (Fe * 1 < T * 1)
172
172
  return d({
173
173
  message: "The input amount of this transaction is above our maximum, please try a lower transaction amount"
174
174
  }), !1;
175
- if (W)
175
+ if (L)
176
176
  return !1;
177
177
  oe(!0), m(
178
178
  Je({
179
- apiKey: M,
179
+ apiKey: I,
180
180
  quoteId: c.quote_id,
181
181
  walletAddress: p
182
182
  })
183
183
  );
184
- }, We = () => {
185
- r && E(ue(r.fmt_balance + "", 8));
184
+ }, Le = () => {
185
+ r && R(de(r.fmt_balance + "", 8));
186
186
  };
187
187
  return /* @__PURE__ */ a(ot, { addPadding: !0, children: [
188
- /* @__PURE__ */ a(N, { children: [
189
- /* @__PURE__ */ e(ge, {}),
188
+ /* @__PURE__ */ a(k, { children: [
189
+ /* @__PURE__ */ e(xe, {}),
190
190
  /* @__PURE__ */ a(n, { container: !0, children: [
191
- /* @__PURE__ */ e(n, { item: !0, xs: 2.5, children: /* @__PURE__ */ e(
191
+ /* @__PURE__ */ e(n, { size: 2.5, children: /* @__PURE__ */ e(
192
192
  l,
193
193
  {
194
194
  className: i.label,
@@ -197,7 +197,7 @@ const it = ({ partnerKey: M, navigate: Y }) => {
197
197
  children: "You Swap"
198
198
  }
199
199
  ) }),
200
- /* @__PURE__ */ e(n, { item: !0, xs: 9.5, children: p && r && /* @__PURE__ */ a(
200
+ /* @__PURE__ */ e(n, { size: 9.5, children: p && r && /* @__PURE__ */ a(
201
201
  l,
202
202
  {
203
203
  className: i["balance-label"],
@@ -209,37 +209,37 @@ const it = ({ partnerKey: M, navigate: Y }) => {
209
209
  " ",
210
210
  r.symbol,
211
211
  " ",
212
- /* @__PURE__ */ e("span", { className: i["max-btn"], onClick: We, children: "MAX" })
212
+ /* @__PURE__ */ e("span", { className: i["max-btn"], onClick: Le, children: "MAX" })
213
213
  ]
214
214
  }
215
215
  ) })
216
216
  ] }),
217
217
  /* @__PURE__ */ a(n, { spacing: 0, mt: 0.5, container: !0, children: [
218
- /* @__PURE__ */ e(n, { item: !0, xs: 6, children: /* @__PURE__ */ a(
219
- _,
218
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ a(
219
+ N,
220
220
  {
221
221
  className: `${i.amount} ${i["fiat-field"]}`,
222
222
  fullWidth: !0,
223
223
  children: [
224
224
  /* @__PURE__ */ e(
225
- I,
225
+ A,
226
226
  {
227
227
  disableUnderline: !0,
228
228
  value: g,
229
- onChange: Ee,
229
+ onChange: Re,
230
230
  type: "text",
231
- placeholder: `${$ > 0 ? "$" + $ + " minimum value" : ""}`,
232
- error: L,
231
+ placeholder: `${W > 0 ? "$" + W + " minimum value" : ""}`,
232
+ error: E,
233
233
  required: !0,
234
234
  fullWidth: !0
235
235
  }
236
236
  ),
237
- /* @__PURE__ */ e(pe, { className: i["amount-symbol"], children: T > 0 ? "$" + (T * 1).toFixed(2) : /* @__PURE__ */ e(b, { children: " " }) })
237
+ /* @__PURE__ */ e(ue, { className: i["amount-symbol"], children: T > 0 ? "$" + (T * 1).toFixed(2) : /* @__PURE__ */ e(b, { children: " " }) })
238
238
  ]
239
239
  }
240
240
  ) }),
241
- /* @__PURE__ */ e(n, { item: !0, xs: 6, className: "content-center", children: S ? /* @__PURE__ */ e(h, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ a(
242
- _,
241
+ /* @__PURE__ */ e(n, { size: 6, className: "content-center", children: S ? /* @__PURE__ */ e(h, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ a(
242
+ N,
243
243
  {
244
244
  variant: "filled",
245
245
  className: `text-left ${i["crypto-picker"]}`,
@@ -248,14 +248,14 @@ const it = ({ partnerKey: M, navigate: Y }) => {
248
248
  (r == null ? void 0 : r.network) && /* @__PURE__ */ e(
249
249
  q,
250
250
  {
251
- className: `${i["network-label"]} ${i[me(r == null ? void 0 : r.network.name)]}`,
252
- children: D(r == null ? void 0 : r.network.name)
251
+ className: `${i["network-label"]} ${i[ce(r == null ? void 0 : r.network.name)]}`,
252
+ children: B(r == null ? void 0 : r.network.name)
253
253
  }
254
254
  ),
255
255
  /* @__PURE__ */ a(
256
256
  G,
257
257
  {
258
- input: /* @__PURE__ */ e(I, { disableUnderline: !0 }),
258
+ input: /* @__PURE__ */ e(A, { disableUnderline: !0 }),
259
259
  sx: {
260
260
  borderTopLeftRadius: 0,
261
261
  "&::before": {
@@ -280,17 +280,17 @@ const it = ({ partnerKey: M, navigate: Y }) => {
280
280
  variant: "filled",
281
281
  value: r && r.symbol,
282
282
  displayEmpty: !0,
283
- onChange: (t) => ie(t.target.value),
283
+ onChange: (t) => se(t.target.value),
284
284
  onOpen: (t) => {
285
285
  te(!0), t.preventDefault();
286
286
  },
287
287
  defaultOpen: !1,
288
288
  open: !1,
289
- error: L,
289
+ error: E,
290
290
  children: [
291
- /* @__PURE__ */ e(w, { value: "", children: "Please select input" }),
292
- O.map((t) => /* @__PURE__ */ a(w, { value: t.symbol, children: [
293
- /* @__PURE__ */ e(fe, { className: i["dropdown-list-item"], children: /* @__PURE__ */ e(
291
+ /* @__PURE__ */ e(_, { value: "", children: "Please select input" }),
292
+ M.map((t) => /* @__PURE__ */ a(_, { value: t.symbol, children: [
293
+ /* @__PURE__ */ e(pe, { className: i["dropdown-list-item"], children: /* @__PURE__ */ e(
294
294
  "img",
295
295
  {
296
296
  src: t.icon_uri,
@@ -310,7 +310,7 @@ const it = ({ partnerKey: M, navigate: Y }) => {
310
310
  ae && /* @__PURE__ */ e(l, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: ae }) })
311
311
  ] }),
312
312
  /* @__PURE__ */ a(n, { mt: 4, container: !0, children: [
313
- /* @__PURE__ */ e(n, { item: !0, xs: 4, children: /* @__PURE__ */ e(
313
+ /* @__PURE__ */ e(n, { size: 4, children: /* @__PURE__ */ e(
314
314
  l,
315
315
  {
316
316
  className: i.label,
@@ -319,26 +319,17 @@ const it = ({ partnerKey: M, navigate: Y }) => {
319
319
  children: "You Receive"
320
320
  }
321
321
  ) }),
322
- /* @__PURE__ */ e(
323
- n,
324
- {
325
- sx: { marginTop: "-20px" },
326
- className: "text-center",
327
- item: !0,
328
- xs: 4,
329
- children: /* @__PURE__ */ e("img", { src: Ze, alt: "arrow" })
330
- }
331
- )
322
+ /* @__PURE__ */ e(n, { sx: { marginTop: "-20px" }, className: "text-center", size: 4, children: /* @__PURE__ */ e("img", { src: Ze, alt: "arrow" }) })
332
323
  ] }),
333
324
  /* @__PURE__ */ a(n, { mt: 0.5, container: !0, children: [
334
- /* @__PURE__ */ e(n, { item: !0, xs: 6, children: /* @__PURE__ */ a(
335
- _,
325
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ a(
326
+ N,
336
327
  {
337
328
  className: `${i.amount} ${i["fiat-field"]}`,
338
329
  fullWidth: !0,
339
330
  children: [
340
331
  /* @__PURE__ */ e(
341
- I,
332
+ A,
342
333
  {
343
334
  disableUnderline: !0,
344
335
  value: C && parseFloat(C).toFixed(5),
@@ -347,18 +338,18 @@ const it = ({ partnerKey: M, navigate: Y }) => {
347
338
  fullWidth: !0
348
339
  }
349
340
  ),
350
- /* @__PURE__ */ e(pe, { className: i["amount-symbol"], children: V > 0 ? "$" + (V * 1).toFixed(2) : /* @__PURE__ */ e(b, { children: " " }) })
341
+ /* @__PURE__ */ e(ue, { className: i["amount-symbol"], children: V > 0 ? "$" + (V * 1).toFixed(2) : /* @__PURE__ */ e(b, { children: " " }) })
351
342
  ]
352
343
  }
353
344
  ) }),
354
- /* @__PURE__ */ e(n, { item: !0, xs: 6, className: "content-center", children: S ? /* @__PURE__ */ e(
345
+ /* @__PURE__ */ e(n, { size: 6, className: "content-center", children: S ? /* @__PURE__ */ e(
355
346
  h,
356
347
  {
357
348
  sx: { ml: 1 },
358
349
  size: 30
359
350
  }
360
351
  ) : /* @__PURE__ */ a(
361
- _,
352
+ N,
362
353
  {
363
354
  variant: "filled",
364
355
  className: `text-left ${i["crypto-picker"]}`,
@@ -367,14 +358,14 @@ const it = ({ partnerKey: M, navigate: Y }) => {
367
358
  (o == null ? void 0 : o.network) && /* @__PURE__ */ e(
368
359
  q,
369
360
  {
370
- className: `${i["network-label"]} ${i[me(o == null ? void 0 : o.network.name)]}`,
361
+ className: `${i["network-label"]} ${i[ce(o == null ? void 0 : o.network.name)]}`,
371
362
  children: o == null ? void 0 : o.network.name
372
363
  }
373
364
  ),
374
365
  /* @__PURE__ */ a(
375
366
  G,
376
367
  {
377
- input: /* @__PURE__ */ e(I, { disableUnderline: !0 }),
368
+ input: /* @__PURE__ */ e(A, { disableUnderline: !0 }),
378
369
  sx: {
379
370
  borderTopLeftRadius: 0,
380
371
  "&::before": {
@@ -399,21 +390,21 @@ const it = ({ partnerKey: M, navigate: Y }) => {
399
390
  variant: "filled",
400
391
  value: o && o.symbol,
401
392
  displayEmpty: !0,
402
- onChange: (t) => se(t.target.value),
393
+ onChange: (t) => ne(t.target.value),
403
394
  onOpen: (t) => {
404
395
  ee(!0), t.preventDefault();
405
396
  },
406
397
  defaultOpen: !1,
407
398
  open: !1,
408
399
  children: [
409
- /* @__PURE__ */ e(w, { value: "", children: "Please select output" }),
410
- k && k.map((t) => /* @__PURE__ */ a(w, { value: t.symbol, children: [
411
- /* @__PURE__ */ e(fe, { className: i["dropdown-list-item"], children: /* @__PURE__ */ e(
400
+ /* @__PURE__ */ e(_, { value: "", children: "Please select output" }),
401
+ v && v.map((t) => /* @__PURE__ */ a(_, { value: t.symbol, children: [
402
+ /* @__PURE__ */ e(pe, { className: i["dropdown-list-item"], children: /* @__PURE__ */ e(
412
403
  "img",
413
404
  {
414
405
  src: t.icon_uri,
415
406
  onError: ({ currentTarget: s }) => {
416
- s.onerror = null, s.src = ze;
407
+ s.onerror = null, s.src = De;
417
408
  },
418
409
  alt: "tokenImage",
419
410
  width: "40",
@@ -429,18 +420,18 @@ const it = ({ partnerKey: M, navigate: Y }) => {
429
420
  }
430
421
  ) })
431
422
  ] }),
432
- /* @__PURE__ */ e(N, { mt: 2.5, className: i["fee-area"], children: /* @__PURE__ */ a(n, { container: !0, children: [
433
- /* @__PURE__ */ e(n, { className: "text-left", item: !0, xs: 12, children: /* @__PURE__ */ a(
434
- he,
423
+ /* @__PURE__ */ e(k, { mt: 2.5, className: i["fee-area"], children: /* @__PURE__ */ a(n, { container: !0, children: [
424
+ /* @__PURE__ */ e(n, { className: "text-left", size: 12, children: /* @__PURE__ */ a(
425
+ fe,
435
426
  {
436
427
  sx: { padding: "0" },
437
- onClick: () => _e((t) => !t),
428
+ onClick: () => Ne((t) => !t),
438
429
  disableFocusRipple: !0,
439
430
  disableRipple: !0,
440
431
  children: [
441
432
  /* @__PURE__ */ e(l, { variant: "caption", children: /* @__PURE__ */ e("strong", { children: "Fee Calculation" }) }),
442
433
  /* @__PURE__ */ e(
443
- Be,
434
+ Pe,
444
435
  {
445
436
  sx: {
446
437
  transform: `rotate(${re ? "90" : "0"}deg)`,
@@ -452,9 +443,9 @@ const it = ({ partnerKey: M, navigate: Y }) => {
452
443
  }
453
444
  ) }),
454
445
  re && /* @__PURE__ */ a(b, { children: [
455
- /* @__PURE__ */ e(n, { className: "text-left", item: !0, xs: 6, children: /* @__PURE__ */ e(l, { variant: "caption", children: "Everest Fee" }) }),
456
- /* @__PURE__ */ e(n, { className: "text-right", item: !0, xs: 6, children: /* @__PURE__ */ a(l, { variant: "caption", children: [
457
- P,
446
+ /* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(l, { variant: "caption", children: "Everest Fee" }) }),
447
+ /* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ a(l, { variant: "caption", children: [
448
+ $,
458
449
  F ? /* @__PURE__ */ e(
459
450
  h,
460
451
  {
@@ -463,9 +454,9 @@ const it = ({ partnerKey: M, navigate: Y }) => {
463
454
  }
464
455
  ) : J.toFixed(2)
465
456
  ] }) }),
466
- /* @__PURE__ */ e(n, { className: "text-left", item: !0, xs: 6, children: /* @__PURE__ */ e(l, { variant: "caption", children: "Network Fee" }) }),
467
- /* @__PURE__ */ e(n, { className: "text-right", item: !0, xs: 6, children: /* @__PURE__ */ a(l, { variant: "caption", children: [
468
- P,
457
+ /* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(l, { variant: "caption", children: "Network Fee" }) }),
458
+ /* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ a(l, { variant: "caption", children: [
459
+ $,
469
460
  F ? /* @__PURE__ */ e(
470
461
  h,
471
462
  {
@@ -475,25 +466,25 @@ const it = ({ partnerKey: M, navigate: Y }) => {
475
466
  ) : Q.toFixed(2)
476
467
  ] }) })
477
468
  ] }),
478
- /* @__PURE__ */ e(n, { className: "text-left", item: !0, xs: 6, children: /* @__PURE__ */ e(l, { variant: "caption", children: "Total Fees" }) }),
479
- /* @__PURE__ */ e(n, { className: "text-right", item: !0, xs: 6, children: /* @__PURE__ */ a(l, { variant: "caption", children: [
480
- P,
469
+ /* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ e(l, { variant: "caption", children: "Total Fees" }) }),
470
+ /* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ a(l, { variant: "caption", children: [
471
+ $,
481
472
  F ? /* @__PURE__ */ e(
482
473
  h,
483
474
  {
484
475
  sx: { ml: 1 },
485
476
  size: 15
486
477
  }
487
- ) : Number(we).toFixed(2)
478
+ ) : Number(ye).toFixed(2)
488
479
  ] }) }),
489
480
  o && r && /* @__PURE__ */ a(b, { children: [
490
- /* @__PURE__ */ e(n, { className: "text-left", item: !0, xs: 6, children: /* @__PURE__ */ a(l, { variant: "caption", children: [
481
+ /* @__PURE__ */ e(n, { className: "text-left", size: 6, children: /* @__PURE__ */ a(l, { variant: "caption", children: [
491
482
  "1 ",
492
483
  r == null ? void 0 : r.symbol,
493
484
  " ",
494
- /* @__PURE__ */ e(tt, { title: et, placement: "right", children: /* @__PURE__ */ e(he, { className: i["info-fee-icon"], children: /* @__PURE__ */ e(De, { sx: { fontSize: "14px" } }) }) })
485
+ /* @__PURE__ */ e(tt, { title: et, placement: "right", children: /* @__PURE__ */ e(fe, { className: i["info-fee-icon"], children: /* @__PURE__ */ e(Be, { sx: { fontSize: "14px" } }) }) })
495
486
  ] }) }),
496
- /* @__PURE__ */ e(n, { className: "text-right", item: !0, xs: 6, children: /* @__PURE__ */ e(l, { variant: "caption", children: F ? /* @__PURE__ */ e(
487
+ /* @__PURE__ */ e(n, { className: "text-right", size: 6, children: /* @__PURE__ */ e(l, { variant: "caption", children: F ? /* @__PURE__ */ e(
497
488
  h,
498
489
  {
499
490
  sx: { ml: 1 },
@@ -502,36 +493,33 @@ const it = ({ partnerKey: M, navigate: Y }) => {
502
493
  ) : X && parseFloat(X).toFixed(6) + " " + (o == null ? void 0 : o.symbol) }) })
503
494
  ] })
504
495
  ] }) }),
505
- /* @__PURE__ */ e(N, { sx: { alignItems: "left", width: "100%" }, children: ye ? /* @__PURE__ */ e(N, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(h, {}) }) : /* @__PURE__ */ e(b, { children: /* @__PURE__ */ a(
506
- _,
496
+ /* @__PURE__ */ e(k, { sx: { alignItems: "left", width: "100%" }, children: be ? /* @__PURE__ */ e(k, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(h, {}) }) : /* @__PURE__ */ e(b, { children: /* @__PURE__ */ a(
497
+ N,
507
498
  {
508
499
  variant: "filled",
509
500
  fullWidth: !0,
510
501
  children: [
511
502
  !p && /* @__PURE__ */ e(q, { children: "Select wallet address" }),
512
- /* @__PURE__ */ a(
503
+ /* @__PURE__ */ e(
513
504
  G,
514
505
  {
515
506
  value: p,
516
- onChange: (t) => Re(t.target.value),
517
- children: [
518
- /* @__PURE__ */ e(w, { value: "", children: /* @__PURE__ */ e("em", { children: "None" }) }),
519
- be.map((t, s) => /* @__PURE__ */ e(w, { value: t.address, children: t.name + "(" + t.address + ")" }, s))
520
- ]
507
+ onChange: (t) => Oe(t.target.value),
508
+ children: ge.map((t, s) => /* @__PURE__ */ e(_, { value: t.address, children: t.name + "(" + t.address + ")" }, s))
521
509
  }
522
510
  )
523
511
  ]
524
512
  }
525
513
  ) }) }),
526
- /* @__PURE__ */ e(N, { mt: 4, children: /* @__PURE__ */ e(
514
+ /* @__PURE__ */ e(k, { mt: 4, children: /* @__PURE__ */ e(
527
515
  st,
528
516
  {
529
517
  className: "wallet-btn",
530
518
  fullWidth: !0,
531
519
  variant: "contained",
532
- onClick: Le,
533
- disabled: L || !C,
534
- children: /* @__PURE__ */ e("strong", { children: W ? /* @__PURE__ */ a(b, { children: [
520
+ onClick: Ee,
521
+ disabled: E || !C,
522
+ children: /* @__PURE__ */ e("strong", { children: L ? /* @__PURE__ */ a(b, { children: [
535
523
  /* @__PURE__ */ e(h, { size: 15, color: "inherit" }),
536
524
  " Processing..."
537
525
  ] }) : "Swap" })
@@ -539,23 +527,23 @@ const it = ({ partnerKey: M, navigate: Y }) => {
539
527
  ) })
540
528
  ] }),
541
529
  /* @__PURE__ */ e(
542
- de,
530
+ me,
543
531
  {
544
- open: Ne,
532
+ open: ke,
545
533
  setModal: te,
546
534
  loader: S,
547
- tokenList: O,
548
- tokenSelect: ie
535
+ tokenList: M,
536
+ tokenSelect: se
549
537
  }
550
538
  ),
551
539
  /* @__PURE__ */ e(
552
- de,
540
+ me,
553
541
  {
554
- open: ke,
542
+ open: ve,
555
543
  setModal: ee,
556
544
  loader: S,
557
- tokenList: k ?? [],
558
- tokenSelect: se,
545
+ tokenList: v ?? [],
546
+ tokenSelect: ne,
559
547
  showBalance: !1
560
548
  }
561
549
  )
@@ -1,9 +1,9 @@
1
1
  import { jsx as n, Fragment as s, jsxs as m } from "react/jsx-runtime";
2
2
  import { useState as o } from "react";
3
3
  import l from "../../../hoc/withThemeProvider.js";
4
- import { B as t } from "../../../Box-Be0E_-eR.js";
5
- import { G as i } from "../../../Grid2-DX2sucnU.js";
6
- import { T as c } from "../../../Typography-Ds4fpvK8.js";
4
+ import { B as t } from "../../../Box-B12x52NC.js";
5
+ import { G as i } from "../../../Grid-BXyV_lM8.js";
6
+ import { T as c } from "../../../Typography-DBlMiOti.js";
7
7
  import '../../../assets/index.css';const p = "_container_1pyai_1", _ = "_active_1pyai_43", e = {
8
8
  container: p,
9
9
  "inner-container": "_inner-container_1pyai_13",