everest-npm-features 0.0.61 → 0.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (229) hide show
  1. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  2. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  3. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  4. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  5. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  6. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  7. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  8. package/dist/{PlayArrow-Bjz9LxhD.js → PlayArrow-BVDyfxsQ.js} +1 -1
  9. package/dist/Portal-BeS9yJCZ.js +968 -0
  10. package/dist/{auth-Cwq6nfwY.js → auth-DTJdu6mq.js} +10 -10
  11. package/dist/components/RocketRamp/MinimalKyc/form.js +45 -50
  12. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  13. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +4 -6
  14. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -6
  15. package/dist/components/RocketRamp/Player/Buy/form.js +6 -15
  16. package/dist/components/RocketRamp/Player/Buy/index.js +3 -3
  17. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  18. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  20. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +4 -9
  21. package/dist/components/RocketRamp/Player/Sell/form.js +6 -15
  22. package/dist/components/RocketRamp/Player/Sell/index.js +11 -10
  23. package/dist/components/RocketRamp/Player/SignIn/index.js +22 -24
  24. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +32 -34
  25. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +30 -32
  26. package/dist/components/RocketRamp/Player/SignUp/email.js +20 -22
  27. package/dist/components/RocketRamp/Player/SignUp/index.js +48 -51
  28. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +67 -73
  29. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  30. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  31. package/dist/components/RocketRamp/ResetPassword/index.js +22 -24
  32. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  33. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  34. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  35. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  36. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  37. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  38. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  39. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  40. package/dist/components/RocketRamp/Store/SignUp/index.js +52 -55
  41. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +47 -53
  42. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +32 -36
  43. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  44. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  45. package/dist/components/RocketRamp/Transactions/index.js +22 -23
  46. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  47. package/dist/components/Shared/FullKyc/edd.js +50 -52
  48. package/dist/components/Shared/FullKyc/index.js +11 -9
  49. package/dist/components/Shared/FullKyc/pep.js +35 -43
  50. package/dist/components/Shared/FullKyc/personalDetails.js +5 -5
  51. package/dist/components/Shared/FullKyc/userInfo.js +6 -11
  52. package/dist/components/Shared/HistoryItem/index.js +43 -48
  53. package/dist/components/Shared/Incode/index.js +31 -35
  54. package/dist/components/Shared/MinimalKyc/index.js +59 -64
  55. package/dist/components/Shared/Sumsub/index.js +74 -61
  56. package/dist/components/Shared/loader.js +4 -5
  57. package/dist/components/Shared/tooltip.js +2 -2
  58. package/dist/components/Shared/transition.js +4 -4
  59. package/dist/components/Wallet/Account/createIban.js +34 -37
  60. package/dist/components/Wallet/Account/eWallet.js +35 -39
  61. package/dist/components/Wallet/Account/iban.js +49 -53
  62. package/dist/components/Wallet/Account/ibanItem.js +68 -73
  63. package/dist/components/Wallet/Account/index.js +66 -73
  64. package/dist/components/Wallet/Account/sendIban.js +79 -88
  65. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -8
  66. package/dist/components/Wallet/Buy/form.js +6 -16
  67. package/dist/components/Wallet/Buy/index.js +2 -2
  68. package/dist/components/Wallet/Deposit/index.js +15 -17
  69. package/dist/components/Wallet/EnterpriseKyc/edd.js +31 -32
  70. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  71. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  72. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  73. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  74. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  75. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3590 -1481
  77. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  78. package/dist/components/Wallet/EnterpriseKyc/verify.js +21 -21
  79. package/dist/components/Wallet/History/index.js +22 -796
  80. package/dist/components/Wallet/Home/index.js +13 -14
  81. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +91 -96
  82. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  83. package/dist/components/Wallet/Portfolio/index.js +47 -50
  84. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  85. package/dist/components/Wallet/Profile/documents.js +125 -134
  86. package/dist/components/Wallet/Profile/index.js +37 -42
  87. package/dist/components/Wallet/Profile/storage.js +39 -47
  88. package/dist/components/Wallet/Receive/index.js +31 -36
  89. package/dist/components/Wallet/Sell/confirmTransaction.js +6 -8
  90. package/dist/components/Wallet/Sell/form.js +6 -16
  91. package/dist/components/Wallet/Sell/index.js +2 -2
  92. package/dist/components/Wallet/Send/index.js +98 -107
  93. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  94. package/dist/components/Wallet/Shared/Auth/otpForm.js +8 -355
  95. package/dist/components/Wallet/Shared/BankSelect/index.js +44 -48
  96. package/dist/components/Wallet/Shared/CardCorp/index.js +17 -18
  97. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  98. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  99. package/dist/components/Wallet/Shared/Container/index.js +15 -16
  100. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  101. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  102. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  103. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  104. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  105. package/dist/components/Wallet/Shared/addBank.js +40 -44
  106. package/dist/components/Wallet/Shared/appButton.js +11 -15
  107. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  108. package/dist/components/Wallet/Shared/button.js +7 -7
  109. package/dist/components/Wallet/Shared/connectPlaidBank.js +15 -16
  110. package/dist/components/Wallet/Shared/inputField.js +5 -5
  111. package/dist/components/Wallet/Shared/manualSend.js +7 -11
  112. package/dist/components/Wallet/Shared/noData.js +4 -5
  113. package/dist/components/Wallet/Shared/pin.js +25 -27
  114. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  115. package/dist/components/Wallet/Shared/step.js +12 -13
  116. package/dist/components/Wallet/Shared/timer.js +1 -1
  117. package/dist/components/Wallet/SignIn/index.js +16 -16
  118. package/dist/components/Wallet/SignUp/index.js +62 -152
  119. package/dist/components/Wallet/SignUp/terms.js +1 -1
  120. package/dist/components/Wallet/Stake/gems/index.js +51 -58
  121. package/dist/components/Wallet/Stake/id/index.js +73 -81
  122. package/dist/components/Wallet/Stake/index.js +64 -67
  123. package/dist/components/Wallet/Swap/form.js +8 -17
  124. package/dist/components/Wallet/Swap/index.js +2 -2
  125. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  126. package/dist/components/Wallet/Withdraw/bankSelect.js +40 -44
  127. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -6
  128. package/dist/components/Wallet/Withdraw/form.js +4 -15
  129. package/dist/components/Wallet/Withdraw/index.js +2 -2
  130. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  131. package/dist/hoc/withThemeProvider.js +5 -732
  132. package/dist/hooks/useDialog/index.js +22 -23
  133. package/dist/hooks/useRrDialog/index.js +43 -46
  134. package/dist/hooks/useSnackBar.js +24 -696
  135. package/dist/icons/buyIcon.js +1 -1
  136. package/dist/icons/canceledBuyIcon.js +1 -1
  137. package/dist/icons/canceledRedeemIcon.js +1 -1
  138. package/dist/icons/failedBuyIcon.js +2 -2
  139. package/dist/icons/failedRedeemIcon.js +2 -2
  140. package/dist/icons/pendingBuyIcon.js +1 -1
  141. package/dist/icons/pendingRedeemIcon.js +1 -1
  142. package/dist/icons/redeemIcon.js +1 -1
  143. package/dist/{index-BbVpeed7.js → index-3OQ4M69t.js} +87 -96
  144. package/dist/{index-BHG1bT4t.js → index-BBFbUCRZ.js} +123 -128
  145. package/dist/{index-Dh_ahu-u.js → index-C1WPCgkl.js} +129 -140
  146. package/dist/{index-eEBuSKOo.js → index-CDwzoHu7.js} +124 -134
  147. package/dist/{index-B9oucF3r.js → index-CK4kLRAw.js} +189 -198
  148. package/dist/{index-C7Td5yoW.js → index-CYX3j0V7.js} +172 -181
  149. package/dist/{index-D2JWUPz8.js → index-ILpK4BCB.js} +154 -163
  150. package/dist/main.js +7 -7
  151. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  152. package/dist/otpForm-fiNqeB5H.js +7378 -0
  153. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  154. package/dist/tooltip-BW0UyWw7.js +2129 -0
  155. package/package.json +6 -6
  156. package/dist/Alert-DzsbFW3-.js +0 -369
  157. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  158. package/dist/Avatar-1XklXr4O.js +0 -281
  159. package/dist/Backdrop-CioURPVG.js +0 -359
  160. package/dist/Box-B0YSYLco.js +0 -59
  161. package/dist/Button-Df4vgU24.js +0 -663
  162. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  163. package/dist/CardContent-D9wTdpu-.js +0 -141
  164. package/dist/CircularProgress-xZA3lvba.js +0 -252
  165. package/dist/Close-CxzDL3J-.js +0 -9
  166. package/dist/Container-urNKV7hm.js +0 -181
  167. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  168. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  169. package/dist/DialogContent-BMwlOnbW.js +0 -567
  170. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  171. package/dist/Divider-BShhMFf4.js +0 -297
  172. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  173. package/dist/FormControl-RtZDQMdA.js +0 -258
  174. package/dist/FormControlLabel-BliKW48y.js +0 -519
  175. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  176. package/dist/Grid-CFe3amXO.js +0 -410
  177. package/dist/Grow-CnGtel3u.js +0 -196
  178. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  179. package/dist/IconButton-DHm-hucF.js +0 -297
  180. package/dist/InputAdornment-DMiED3JH.js +0 -173
  181. package/dist/Link-DBA9Yifs.js +0 -266
  182. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  183. package/dist/Menu-DLYFFrEk.js +0 -1239
  184. package/dist/MenuItem-DUdYOJr4.js +0 -271
  185. package/dist/Modal-CFIQ_s3T.js +0 -743
  186. package/dist/Paper-Bgt2WXI6.js +0 -186
  187. package/dist/Popper-BBAoiZKn.js +0 -1409
  188. package/dist/Portal-BMAxiQwe.js +0 -69
  189. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  190. package/dist/Select-CB5yWmyn.js +0 -1886
  191. package/dist/Slide-B9Nw0LZ4.js +0 -235
  192. package/dist/Stack-k55YTxET.js +0 -172
  193. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  194. package/dist/TextField-DPpRUQe3.js +0 -978
  195. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  196. package/dist/Typography-pAaje37G.js +0 -260
  197. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  198. package/dist/clsx-BTaloaeC.js +0 -264
  199. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  200. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  201. package/dist/createTheme-CD19zQB7.js +0 -3825
  202. package/dist/debounce-46wSf_lW.js +0 -15
  203. package/dist/defaultTheme-C35y5cLB.js +0 -5
  204. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  205. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  206. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  207. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  208. package/dist/exactProp-C1Lmtwf_.js +0 -13
  209. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  210. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  211. package/dist/index-B0Z-Gjno.js +0 -22
  212. package/dist/index-DUcLo3x5.js +0 -43
  213. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  214. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  215. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  216. package/dist/memoTheme-yHaPezod.js +0 -15
  217. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  218. package/dist/radioButton-CzlYB0Lh.js +0 -402
  219. package/dist/refType-BsTH3qnM.js +0 -56
  220. package/dist/tooltip-3UvETWtS.js +0 -740
  221. package/dist/useControlled-nm4pBabJ.js +0 -31
  222. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  223. package/dist/useFormControl-CatNKXAi.js +0 -10
  224. package/dist/useId-CK6Kn3Tn.js +0 -21
  225. package/dist/useSlot-CW7SOYlh.js +0 -125
  226. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  227. package/dist/useTheme-BQJ5lp0i.js +0 -11
  228. package/dist/useTheme-S5_DHFsQ.js +0 -17
  229. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,20 +1,19 @@
1
- import { jsxs as t, jsx as r } from "react/jsx-runtime";
2
- import o from "../Shared/Container/index.js";
1
+ import { jsxs as t, jsx as n } from "react/jsx-runtime";
2
+ import { Typography as o, Grid as r } from "@mui/material";
3
+ import s from "../Shared/Container/index.js";
3
4
  import e from "../Shared/appButton.js";
4
- import s from "../../../hoc/withThemeProvider.js";
5
- import { T as c } from "../../../Typography-pAaje37G.js";
6
- import { G as n } from "../../../Grid-CFe3amXO.js";
7
- const l = ({ navigate: i }) => /* @__PURE__ */ t(o, { children: [
8
- /* @__PURE__ */ r(c, { variant: "h5", children: /* @__PURE__ */ r("strong", { children: "Welcome to EverWallet Enterprise" }) }),
9
- /* @__PURE__ */ t(n, { sx: { margin: "0 auto", width: "70%" }, container: !0, children: [
10
- /* @__PURE__ */ r(n, { mt: 7, size: { xs: 12 }, children: /* @__PURE__ */ r(e, { onClick: () => {
5
+ import c from "../../../hoc/withThemeProvider.js";
6
+ const l = ({ navigate: i }) => /* @__PURE__ */ t(s, { children: [
7
+ /* @__PURE__ */ n(o, { variant: "h5", children: /* @__PURE__ */ n("strong", { children: "Welcome to EverWallet" }) }),
8
+ /* @__PURE__ */ t(r, { sx: { margin: "0 auto", width: "70%" }, container: !0, children: [
9
+ /* @__PURE__ */ n(r, { mt: 7, size: { xs: 12 }, children: /* @__PURE__ */ n(e, { onClick: () => {
11
10
  i("/signin");
12
- }, fullWidth: !0, children: /* @__PURE__ */ r("strong", { children: "Sign In" }) }) }),
13
- /* @__PURE__ */ r(n, { mt: 2.5, size: { xs: 12 }, children: /* @__PURE__ */ r(e, { onClick: () => {
11
+ }, fullWidth: !0, children: /* @__PURE__ */ n("strong", { children: "Sign In" }) }) }),
12
+ /* @__PURE__ */ n(r, { mt: 2.5, size: { xs: 12 }, children: /* @__PURE__ */ n(e, { onClick: () => {
14
13
  i("/signup");
15
- }, variantType: "secondary", fullWidth: !0, children: /* @__PURE__ */ r("strong", { children: "Create Account" }) }) })
14
+ }, variantType: "secondary", fullWidth: !0, children: /* @__PURE__ */ n("strong", { children: "Create Account" }) }) })
16
15
  ] })
17
- ] }), x = s(l);
16
+ ] }), f = c(l);
18
17
  export {
19
- x as default
18
+ f as default
20
19
  };
@@ -1,64 +1,59 @@
1
1
  import { jsxs as s, Fragment as g, jsx as e } from "react/jsx-runtime";
2
- import { useState as C, useEffect as T } from "react";
2
+ import { useState as C, useEffect as w } from "react";
3
3
  import { u as N } from "../../../react-redux-C7I9-1M6.js";
4
- import { C as j } from "../../../Close-CNwiMz_O.js";
4
+ import { Box as u, Typography as p, FormControl as j, TextField as $, Dialog as J, IconButton as X, DialogContent as Y, Grid as n } from "@mui/material";
5
+ import { C as Z } from "../../../Close-DSxLLo08.js";
5
6
  import "../../../index-DlQqWbXG.js";
6
- import w from "../Shared/appButton.js";
7
+ import T from "../Shared/appButton.js";
7
8
  import "../../../hoc/withThemeProvider.js";
8
- import { displayWalletAddress as $ } from "../../../util/functions.js";
9
- import { BACK_BTN_ICON as J, EVER_CHAIN_NETWORK as B, ETHEREUM_NETWORK as M } from "../../../util/constants.js";
10
- import "../Shared/Auth/otpForm.js";
11
- import { an as X, ao as Y, ap as Z, aq as ee, ar as te } from "../../../constants-DrmtdI1J.js";
12
- import { a as re } from "../../../index-BQNs1mvn.js";
13
- import { h as se } from "../../../wallet-CauUBXou.js";
14
- import { useSnackBarContext as oe } from "../../../context/snackBarContext.js";
15
- import ae from "../../../hooks/useEverestDispatch.js";
16
- import { numberFormat as ne, fromHuman as ie, getGweiFromWei as ce, getUnFormattedValueFromWei as le } from "../../../util/conversions.js";
9
+ import { displayWalletAddress as ee } from "../../../util/functions.js";
10
+ import { BACK_BTN_ICON as te, EVER_CHAIN_NETWORK as k, ETHEREUM_NETWORK as M } from "../../../util/constants.js";
11
+ import "../../../otpForm-fiNqeB5H.js";
12
+ import { an as re, ao as se, ap as oe, aq as ne, ar as ae } from "../../../constants-DrmtdI1J.js";
13
+ import { a as ie } from "../../../index-BQNs1mvn.js";
14
+ import { h as ce } from "../../../wallet-CauUBXou.js";
15
+ import { useSnackBarContext as le } from "../../../context/snackBarContext.js";
16
+ import de from "../../../hooks/useEverestDispatch.js";
17
+ import { numberFormat as me, fromHuman as he, getGweiFromWei as ue, getUnFormattedValueFromWei as pe } from "../../../util/conversions.js";
17
18
  import "../../../index-CAoLi5Qq.js";
18
19
  import "../../../react-webcam-B3cXh1XT.js";
19
20
  import "../../Shared/transition.js";
20
- import "../../../tooltip-3UvETWtS.js";
21
+ import "../../../tooltip-BW0UyWw7.js";
21
22
  import "../../../moment-h96o7c8I.js";
22
23
  import "../../../index.esm-BsMAMhYW.js";
23
24
  import "../../../web3-u4qDZYpo.js";
24
25
  import "../../../index-ceeCtFuh.js";
25
26
  import "../../../index.esm-I_Bp2YLf.js";
26
27
  import "../../../context/dialogContext.js";
27
- import { B as p } from "../../../Box-B0YSYLco.js";
28
- import { T as u } from "../../../Typography-pAaje37G.js";
29
- import { F as me } from "../../../FormControl-RtZDQMdA.js";
30
- import { T as de } from "../../../TextField-DPpRUQe3.js";
31
- import { D as he, a as pe } from "../../../DialogContent-BMwlOnbW.js";
32
- import { I as ue } from "../../../IconButton-DHm-hucF.js";
33
- import { G as a } from "../../../Grid-CFe3amXO.js";
28
+ import "@mui/icons-material";
34
29
  import '../../../assets/index6.css';const fe = (r) => ({
35
- type: Y,
30
+ type: se,
36
31
  payload: r
37
32
  }), ge = (r) => ({
38
- type: Z,
33
+ type: oe,
39
34
  payload: r
40
35
  }), xe = (r) => ({
41
- type: ee,
36
+ type: ne,
42
37
  payload: r
43
38
  }), Ee = (r) => ({
44
- type: te,
39
+ type: ae,
45
40
  payload: r
46
41
  }), _e = () => ({
47
- type: X
48
- }), Te = "_container_nw82g_1", y = {
49
- container: Te,
42
+ type: re
43
+ }), we = "_container_nw82g_1", y = {
44
+ container: we,
50
45
  "inner-container": "_inner-container_nw82g_13",
51
46
  "heading-text": "_heading-text_nw82g_27",
52
47
  "close-btn": "_close-btn_nw82g_41"
53
- }, st = ({
48
+ }, Ye = ({
54
49
  token: r,
55
- network: n,
50
+ network: a,
56
51
  tokenAddress: A,
57
52
  depositAddress: S,
58
- onBack: m,
59
- initialBalance: d
53
+ onBack: d,
54
+ initialBalance: m
60
55
  }) => {
61
- const { showAlertMessage: W } = oe(), h = ae(), i = N((t) => t.bridge), c = i.gasFee, I = i.loader, G = i.error, v = i.withdrawStatus, R = i.txId, k = (t) => t ? ("GasLimit" in t ? t.GasLimit : t.gasLimit) ?? 0 : 0, z = (t) => {
56
+ const { showAlertMessage: W } = le(), h = de(), i = N((t) => t.bridge), c = i.gasFee, I = i.loader, v = i.error, G = i.withdrawStatus, R = i.txId, z = (t) => t ? ("GasLimit" in t ? t.GasLimit : t.gasLimit) ?? 0 : 0, B = (t) => {
62
57
  var o;
63
58
  if (t)
64
59
  return (o = "BaseGasPriceCap" in t ? t.BaseGasPriceCap : t.baseGasPriceCap) == null ? void 0 : o.toString();
@@ -66,34 +61,34 @@ import '../../../assets/index6.css';const fe = (r) => ({
66
61
  var o;
67
62
  if (t)
68
63
  return (o = "TotalMaxEthSpent" in t ? t.TotalMaxEthSpent : t.totalMaxEthSpent) == null ? void 0 : o.toString();
69
- }, F = N((t) => t.user.wallets);
70
- F.loader;
71
- const P = F.data, x = n === B ? M : B, l = N(re).everWalletAddress, [U, D] = C(d ?? ""), H = ne(U), [b, O] = C(""), [V, E] = C(!1), _ = ie(b, r === "ID" ? 18 : 6);
72
- T(() => (d || h(se()), () => {
64
+ }, P = N((t) => t.user.wallets);
65
+ P.loader;
66
+ const F = P.data, x = a === k ? M : k, l = N(ie).everWalletAddress, [U, O] = C(m ?? ""), H = me(U), [b, D] = C(""), [V, E] = C(!1), _ = he(b, r === "ID" ? 18 : 6);
67
+ w(() => (m || h(ce()), () => {
73
68
  h(_e());
74
- }), [d]), T(() => {
75
- i.showFeePopUp && k(c) > 0 && E(!0);
76
- }, [c, i.showFeePopUp]), T(() => {
77
- G && W({ message: G });
78
- }, [G]), T(() => {
79
- if (d) {
80
- D(d);
69
+ }), [m]), w(() => {
70
+ i.showFeePopUp && z(c) > 0 && E(!0);
71
+ }, [c, i.showFeePopUp]), w(() => {
72
+ v && W({ message: v });
73
+ }, [v]), w(() => {
74
+ if (m) {
75
+ O(m);
81
76
  return;
82
77
  }
83
- const t = P.find(
78
+ const t = F.find(
84
79
  (o) => o.address === l
85
80
  );
86
81
  if (t) {
87
82
  const o = t.tokens;
88
83
  for (let f = 0; f < o.length; f++)
89
84
  if (o[f].network.toLowerCase() === x.toLowerCase() && o[f].symbol === r) {
90
- D(o[f].fmt_balance.replaceAll(",", ""));
85
+ O(o[f].fmt_balance.replaceAll(",", ""));
91
86
  break;
92
87
  }
93
88
  }
94
- }, [P, l, d]);
89
+ }, [F, l, m]);
95
90
  const K = (t) => {
96
- t ? /^([0-9.,]+)$/.test(t) && O(t) : O("");
91
+ t ? /^([0-9.,]+)$/.test(t) && D(t) : D("");
97
92
  }, Q = () => {
98
93
  if (!c) {
99
94
  W({
@@ -101,7 +96,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
101
96
  });
102
97
  return;
103
98
  }
104
- h(n === M ? ge({
99
+ h(a === M ? ge({
105
100
  walletAddress: l,
106
101
  amount: _,
107
102
  token: r,
@@ -114,7 +109,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
114
109
  gas: c
115
110
  }));
116
111
  }, q = () => {
117
- h(n === M ? fe({
112
+ h(a === M ? fe({
118
113
  walletAddress: l,
119
114
  amount: _,
120
115
  token: r
@@ -126,7 +121,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
126
121
  }));
127
122
  };
128
123
  return /* @__PURE__ */ s(g, { children: [
129
- /* @__PURE__ */ e(p, { className: y.container, children: /* @__PURE__ */ s(p, { className: y["inner-container"], children: [
124
+ /* @__PURE__ */ e(u, { className: y.container, children: /* @__PURE__ */ s(u, { className: y["inner-container"], children: [
130
125
  /* @__PURE__ */ e(
131
126
  "img",
132
127
  {
@@ -136,13 +131,13 @@ import '../../../assets/index6.css';const fe = (r) => ({
136
131
  left: "-18px"
137
132
  },
138
133
  className: "cursor-pointer",
139
- src: J,
140
- onClick: () => m ? m() : alert("backFunc"),
134
+ src: te,
135
+ onClick: () => d ? d() : alert("backFunc"),
141
136
  alt: "back"
142
137
  }
143
138
  ),
144
139
  /* @__PURE__ */ e(
145
- u,
140
+ p,
146
141
  {
147
142
  sx: { ml: 4, mt: "-20px !important" },
148
143
  className: y["heading-text"],
@@ -151,22 +146,22 @@ import '../../../assets/index6.css';const fe = (r) => ({
151
146
  "Move ",
152
147
  r,
153
148
  " to ",
154
- n
149
+ a
155
150
  ] })
156
151
  }
157
152
  ),
158
- /* @__PURE__ */ s(p, { className: "container-padding text-center", children: [
159
- /* @__PURE__ */ s(u, { variant: "h5", children: [
153
+ /* @__PURE__ */ s(u, { className: "container-padding text-center", children: [
154
+ /* @__PURE__ */ s(p, { variant: "h5", children: [
160
155
  x,
161
156
  " ",
162
157
  r,
163
158
  " Balance: ",
164
159
  /* @__PURE__ */ e("strong", { children: H })
165
160
  ] }),
166
- /* @__PURE__ */ e(me, { sx: { mt: 6 }, fullWidth: !0, children: /* @__PURE__ */ e(
167
- de,
161
+ /* @__PURE__ */ e(j, { sx: { mt: 6 }, fullWidth: !0, children: /* @__PURE__ */ e(
162
+ $,
168
163
  {
169
- label: `Amount to Move to ${n}`,
164
+ label: `Amount to Move to ${a}`,
170
165
  value: b,
171
166
  fullWidth: !0,
172
167
  required: !0,
@@ -175,7 +170,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
175
170
  }
176
171
  ) }),
177
172
  /* @__PURE__ */ e(
178
- u,
173
+ p,
179
174
  {
180
175
  className: "primary-text-color",
181
176
  sx: { mt: 6 },
@@ -185,7 +180,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
185
180
  }
186
181
  ),
187
182
  /* @__PURE__ */ e(
188
- w,
183
+ T,
189
184
  {
190
185
  sx: { mt: 4 },
191
186
  onClick: q,
@@ -197,7 +192,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
197
192
  ] })
198
193
  ] }) }),
199
194
  /* @__PURE__ */ s(
200
- he,
195
+ J,
201
196
  {
202
197
  open: V,
203
198
  fullWidth: !0,
@@ -209,58 +204,58 @@ import '../../../assets/index6.css';const fe = (r) => ({
209
204
  }
210
205
  },
211
206
  children: [
212
- !v && /* @__PURE__ */ e(
213
- ue,
207
+ !G && /* @__PURE__ */ e(
208
+ X,
214
209
  {
215
210
  "aria-label": "close",
216
211
  onClick: () => E(!1),
217
212
  className: y["close-btn"],
218
- children: /* @__PURE__ */ e(j, {})
213
+ children: /* @__PURE__ */ e(Z, {})
219
214
  }
220
215
  ),
221
- /* @__PURE__ */ s(pe, { sx: { py: 6 }, children: [
222
- /* @__PURE__ */ e(u, { className: "text-center", variant: "h5", children: /* @__PURE__ */ s("strong", { children: [
216
+ /* @__PURE__ */ s(Y, { sx: { py: 6 }, children: [
217
+ /* @__PURE__ */ e(p, { className: "text-center", variant: "h5", children: /* @__PURE__ */ s("strong", { children: [
223
218
  "Move to ",
224
- n,
219
+ a,
225
220
  " Confirmation"
226
221
  ] }) }),
227
- v ? /* @__PURE__ */ s(g, { children: [
222
+ G ? /* @__PURE__ */ s(g, { children: [
228
223
  /* @__PURE__ */ e(
229
- u,
224
+ p,
230
225
  {
231
226
  sx: { mt: 2, mb: 2 },
232
227
  className: "text-center",
233
228
  variant: "body1",
234
- children: v === "finished" ? /* @__PURE__ */ s(g, { children: [
229
+ children: G === "finished" ? /* @__PURE__ */ s(g, { children: [
235
230
  r,
236
231
  " has been successfully withdraw from ",
237
232
  x,
238
233
  " ",
239
234
  "to ",
240
- n,
235
+ a,
241
236
  "Network."
242
237
  ] }) : /* @__PURE__ */ s(g, { children: [
243
238
  r,
244
239
  " withdraw from ",
245
240
  x,
246
241
  " to ",
247
- n,
242
+ a,
248
243
  " network is currently ongoing. Please check balance after 2 minutes."
249
244
  ] })
250
245
  }
251
246
  ),
252
- /* @__PURE__ */ e(p, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
253
- w,
247
+ /* @__PURE__ */ e(u, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
248
+ T,
254
249
  {
255
250
  sx: { mt: 2 },
256
- onClick: () => m ? m() : E(!1),
251
+ onClick: () => d ? d() : E(!1),
257
252
  fullWidth: !0,
258
253
  children: /* @__PURE__ */ e("strong", { children: "Go Back" })
259
254
  }
260
255
  ) })
261
256
  ] }) : R ? /* @__PURE__ */ s(g, { children: [
262
257
  /* @__PURE__ */ e(
263
- u,
258
+ p,
264
259
  {
265
260
  sx: { mt: 2, mb: 2 },
266
261
  className: "text-center",
@@ -268,7 +263,7 @@ import '../../../assets/index6.css';const fe = (r) => ({
268
263
  children: "This transaction is under way, it is not yet completed, you can track status of transaction using Etherscan link provided."
269
264
  }
270
265
  ),
271
- /* @__PURE__ */ e(p, { sx: { textAlign: "center", mb: 2 }, children: /* @__PURE__ */ s(
266
+ /* @__PURE__ */ e(u, { sx: { textAlign: "center", mb: 2 }, children: /* @__PURE__ */ s(
272
267
  "a",
273
268
  {
274
269
  style: { wordBreak: "break-all" },
@@ -281,35 +276,35 @@ import '../../../assets/index6.css';const fe = (r) => ({
281
276
  ]
282
277
  }
283
278
  ) }),
284
- /* @__PURE__ */ e(p, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
285
- w,
279
+ /* @__PURE__ */ e(u, { sx: { px: { xs: 0, md: 12 } }, children: /* @__PURE__ */ e(
280
+ T,
286
281
  {
287
282
  sx: { mt: 2 },
288
- onClick: () => m ? m() : E(!1),
283
+ onClick: () => d ? d() : E(!1),
289
284
  fullWidth: !0,
290
285
  children: /* @__PURE__ */ e("strong", { children: "Go Back" })
291
286
  }
292
287
  ) })
293
- ] }) : /* @__PURE__ */ s(a, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
294
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
295
- /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: r }),
296
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
297
- /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: b }),
298
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
299
- /* @__PURE__ */ e(a, { className: "fw500 text-right", size: 6, children: $(l) }),
300
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
301
- /* @__PURE__ */ s(a, { className: "fw500 text-right", size: 6, children: [
302
- ce(z(c) ?? ""),
288
+ ] }) : /* @__PURE__ */ s(n, { mt: 4, container: !0, spacing: 2, sx: { padding: "0% 15%" }, children: [
289
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Token Name" }) }),
290
+ /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: r }),
291
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Amount" }) }),
292
+ /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: b }),
293
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Wallet Address" }) }),
294
+ /* @__PURE__ */ e(n, { className: "fw500 text-right", size: 6, children: ee(l) }),
295
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
296
+ /* @__PURE__ */ s(n, { className: "fw500 text-right", size: 6, children: [
297
+ ue(B(c) ?? ""),
303
298
  " Gwei"
304
299
  ] }),
305
- /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
306
- /* @__PURE__ */ s(a, { className: "fw500 text-right", size: 6, children: [
307
- le(L(c) ?? ""),
300
+ /* @__PURE__ */ e(n, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
301
+ /* @__PURE__ */ s(n, { className: "fw500 text-right", size: 6, children: [
302
+ pe(L(c) ?? ""),
308
303
  " ",
309
304
  "ETH"
310
305
  ] }),
311
306
  /* @__PURE__ */ e(
312
- w,
307
+ T,
313
308
  {
314
309
  sx: { mt: 4 },
315
310
  onClick: Q,
@@ -326,5 +321,5 @@ import '../../../assets/index6.css';const fe = (r) => ({
326
321
  ] });
327
322
  };
328
323
  export {
329
- st as default
324
+ Ye as default
330
325
  };
@@ -1,32 +1,27 @@
1
- import { jsx as o, jsxs as a } from "react/jsx-runtime";
1
+ import { jsx as o, jsxs as t } from "react/jsx-runtime";
2
2
  import C from "react";
3
- import { c as b } from "../../../createSvgIcon-Cuzqm90l.js";
4
- import { B as p } from "../../../Box-B0YSYLco.js";
5
- import { B as M } from "../../../Button-Df4vgU24.js";
6
- import { A as h } from "../../../Avatar-1XklXr4O.js";
7
- import { T as m } from "../../../Typography-pAaje37G.js";
8
- import { M as I } from "../../../Menu-DLYFFrEk.js";
9
- import { M as k } from "../../../MenuItem-DUdYOJr4.js";
10
- const v = b(/* @__PURE__ */ o("path", {
3
+ import { Box as p, Button as b, Avatar as h, Typography as g, Menu as I, MenuItem as k } from "@mui/material";
4
+ import { c as v } from "../../../createSvgIcon-B28GrUxG.js";
5
+ const M = v(/* @__PURE__ */ o("path", {
11
6
  d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
12
7
  }), "ExpandMore");
13
- function z({
14
- list: e,
15
- iconUrl: f,
8
+ function B({
9
+ list: a,
10
+ iconUrl: u,
16
11
  value: r,
17
- setValue: g,
12
+ setValue: f,
18
13
  allText: l
19
14
  }) {
20
- const [c, i] = C.useState(null), u = !!c, x = (n) => {
15
+ const [c, i] = C.useState(null), x = !!c, m = (n) => {
21
16
  i(n.currentTarget);
22
- }, s = (n) => {
23
- i(null), typeof n == "string" && g(n);
24
- }, t = e.find((n) => n.label === r), d = f || (t == null ? void 0 : t.img);
25
- return /* @__PURE__ */ a(p, { display: "flex", alignItems: "center", justifyContent: "center", gap: 1, children: [
26
- /* @__PURE__ */ a(
27
- M,
17
+ }, d = (n) => {
18
+ i(null), typeof n == "string" && f(n);
19
+ }, e = a.find((n) => n.label === r), s = u || (e == null ? void 0 : e.img);
20
+ return /* @__PURE__ */ t(p, { display: "flex", alignItems: "center", justifyContent: "center", gap: 1, children: [
21
+ /* @__PURE__ */ t(
22
+ b,
28
23
  {
29
- onClick: x,
24
+ onClick: m,
30
25
  sx: {
31
26
  textTransform: "none",
32
27
  color: "#000",
@@ -36,26 +31,26 @@ function z({
36
31
  backgroundColor: "transparent"
37
32
  }
38
33
  },
39
- endIcon: /* @__PURE__ */ o(v, {}),
34
+ endIcon: /* @__PURE__ */ o(M, {}),
40
35
  children: [
41
- d && /* @__PURE__ */ o(
36
+ s && /* @__PURE__ */ o(
42
37
  h,
43
38
  {
44
- src: d,
39
+ src: s,
45
40
  alt: "dd-icon",
46
41
  sx: { width: 24, height: 24, marginRight: 1 }
47
42
  }
48
43
  ),
49
- /* @__PURE__ */ o(m, { variant: "body2", fontWeight: 500, children: r || l || "All" })
44
+ /* @__PURE__ */ o(g, { variant: "body2", fontWeight: 500, children: r || l || "All" })
50
45
  ]
51
46
  }
52
47
  ),
53
- /* @__PURE__ */ o(I, { anchorEl: c, open: u, onClose: () => s(null), children: e.map((n, y) => /* @__PURE__ */ o(
48
+ /* @__PURE__ */ o(I, { anchorEl: c, open: x, onClose: () => d(null), children: a.map((n, y) => /* @__PURE__ */ o(
54
49
  k,
55
50
  {
56
- onClick: () => s(n.value),
51
+ onClick: () => d(n.value),
57
52
  value: n.value,
58
- children: /* @__PURE__ */ a(p, { display: "flex", alignItems: "center", gap: 1, children: [
53
+ children: /* @__PURE__ */ t(p, { display: "flex", alignItems: "center", gap: 1, children: [
59
54
  n.img && /* @__PURE__ */ o(
60
55
  h,
61
56
  {
@@ -64,7 +59,7 @@ function z({
64
59
  sx: { width: 20, height: 20 }
65
60
  }
66
61
  ),
67
- /* @__PURE__ */ o(m, { variant: "body2", children: n.label })
62
+ /* @__PURE__ */ o(g, { variant: "body2", children: n.label })
68
63
  ] })
69
64
  },
70
65
  y
@@ -72,5 +67,5 @@ function z({
72
67
  ] });
73
68
  }
74
69
  export {
75
- z as default
70
+ B as default
76
71
  };