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,5 +1,5 @@
1
1
  import { jsx as t } from "react/jsx-runtime";
2
- import { u as n } from "../useTheme-BQJ5lp0i.js";
2
+ import { useTheme as n } from "@mui/material";
3
3
  const i = (o) => {
4
4
  const e = n();
5
5
  return /* @__PURE__ */ t("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: /* @__PURE__ */ t(
@@ -1,5 +1,5 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
- import { u as i } from "../useTheme-BQJ5lp0i.js";
2
+ import { useTheme as i } from "@mui/material";
3
3
  const h = (r) => {
4
4
  const e = i();
5
5
  return /* @__PURE__ */ o("svg", { width: "32", height: "32", viewBox: "8 8 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
@@ -1,5 +1,5 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
- import { u as i } from "../useTheme-BQJ5lp0i.js";
2
+ import { useTheme as i } from "@mui/material";
3
3
  const h = (r) => {
4
4
  const e = i();
5
5
  return /* @__PURE__ */ o("svg", { width: "32", height: "32", viewBox: "8 8 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
@@ -1,7 +1,7 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
- import { u as s } from "../useTheme-BQJ5lp0i.js";
2
+ import { useTheme as i } from "@mui/material";
3
3
  const n = (r) => {
4
- const e = s();
4
+ const e = i();
5
5
  return /* @__PURE__ */ o("svg", { width: "32", height: "32", viewBox: "8 8 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
6
6
  /* @__PURE__ */ t("rect", { width: "48", height: "48", rx: "24", fill: e.palette.custom.greyscale.grey200 }),
7
7
  /* @__PURE__ */ t(
@@ -1,7 +1,7 @@
1
1
  import { jsxs as o, jsx as t } from "react/jsx-runtime";
2
- import { u as s } from "../useTheme-BQJ5lp0i.js";
2
+ import { useTheme as i } from "@mui/material";
3
3
  const n = (r) => {
4
- const e = s();
4
+ const e = i();
5
5
  return /* @__PURE__ */ o("svg", { width: "32", height: "32", viewBox: "8 8 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
6
6
  /* @__PURE__ */ t("rect", { width: "48", height: "48", rx: "24", fill: e.palette.custom.greyscale.grey200 }),
7
7
  /* @__PURE__ */ t(
@@ -1,5 +1,5 @@
1
1
  import { jsxs as o, jsx as e } from "react/jsx-runtime";
2
- import { u as n } from "../useTheme-BQJ5lp0i.js";
2
+ import { useTheme as n } from "@mui/material";
3
3
  const l = (r) => {
4
4
  const t = n();
5
5
  return /* @__PURE__ */ o("svg", { width: "32", height: "32", viewBox: "8 8 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...r, children: [
@@ -1,5 +1,5 @@
1
1
  import { jsxs as r, jsx as e } from "react/jsx-runtime";
2
- import { u as n } from "../useTheme-BQJ5lp0i.js";
2
+ import { useTheme as n } from "@mui/material";
3
3
  const h = (o) => {
4
4
  const t = n();
5
5
  return /* @__PURE__ */ r("svg", { width: "32", height: "32", viewBox: "8 8 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...o, children: [
@@ -1,5 +1,5 @@
1
1
  import { jsx as e } from "react/jsx-runtime";
2
- import { u as n } from "../useTheme-BQJ5lp0i.js";
2
+ import { useTheme as n } from "@mui/material";
3
3
  const i = (t) => {
4
4
  const o = n();
5
5
  return /* @__PURE__ */ e("svg", { width: "32", height: "32", viewBox: "0 0 32 32", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...t, children: /* @__PURE__ */ e(
@@ -2,23 +2,24 @@ import { jsxs as a, Fragment as _, jsx as e } from "react/jsx-runtime";
2
2
  import { useRef as ye, useMemo as Ve, useState as p, useEffect as h } from "react";
3
3
  import Je from "./hoc/withThemeProvider.js";
4
4
  import { u as C } from "./react-redux-C7I9-1M6.js";
5
- import { P as Qe } from "./PlayArrow-Bjz9LxhD.js";
6
- import { I as Ze } from "./Info-BVeUSPyk.js";
5
+ import { Box as F, Grid as s, Typography as m, FormControl as T, FilledInput as P, FormHelperText as be, CircularProgress as g, InputLabel as V, Select as J, MenuItem as M, ListItemIcon as Ne, IconButton as ve } from "@mui/material";
6
+ import { P as Qe } from "./PlayArrow-BVDyfxsQ.js";
7
+ import { I as Ze } from "./Info-DOoRR7sR.js";
7
8
  import { G as et } from "./generic-token-B_ptO5yb.js";
8
- import { getCentralLedgetNetwork as V, getNetworkBackGround as be, getCurrencySymbol as tt } from "./util/functions.js";
9
- import Ne from "./components/Wallet/Shared/TokenModal/index.js";
10
- import { formatNumberWithoutRounding as ve } from "./util/conversions.js";
9
+ import { getCentralLedgetNetwork as Q, getNetworkBackGround as _e, getCurrencySymbol as tt } from "./util/functions.js";
10
+ import Ce from "./components/Wallet/Shared/TokenModal/index.js";
11
+ import { formatNumberWithoutRounding as Se } from "./util/conversions.js";
11
12
  import { af as A } from "./constants-DrmtdI1J.js";
12
- import { c as ot, d as rt } from "./index-BQNs1mvn.js";
13
- import { f as nt, a as at, b as st } from "./cryptoAssets-DyGDknvq.js";
14
- import { b as Z, c as _e, d as it, e as lt, f as ct, g as mt } from "./order-DEp_Lmar.js";
13
+ import { c as ot, d as nt } from "./index-BQNs1mvn.js";
14
+ import { f as rt, a as at, b as st } from "./cryptoAssets-DyGDknvq.js";
15
+ import { b as Z, c as ke, d as it, e as lt, f as ct, g as mt } from "./order-DEp_Lmar.js";
15
16
  import { DIALOG_SUCCESS_ICON as dt, TOKEN_TO_TOKEN as ee, ARROW_ICON as ut, ESTIMATE_TOOLTIP_TEXT as pt } from "./util/constants.js";
16
- import { M as ft } from "./tooltip-3UvETWtS.js";
17
+ import { M as ft } from "./tooltip-BW0UyWw7.js";
17
18
  import "./index-DlQqWbXG.js";
18
19
  import Ie from "./components/Wallet/Shared/appButton.js";
19
- import "./components/Wallet/Shared/Auth/otpForm.js";
20
+ import "./otpForm-fiNqeB5H.js";
20
21
  import { useSnackBarContext as ht } from "./context/snackBarContext.js";
21
- import Fe from "./hooks/useEverestDispatch.js";
22
+ import Re from "./hooks/useEverestDispatch.js";
22
23
  import "./index-CAoLi5Qq.js";
23
24
  import "./react-webcam-B3cXh1XT.js";
24
25
  import "./components/Shared/transition.js";
@@ -26,26 +27,16 @@ import "./moment-h96o7c8I.js";
26
27
  import "./index.esm-BsMAMhYW.js";
27
28
  import "./web3-u4qDZYpo.js";
28
29
  import { s as i } from "./styles.module-DMd29SPQ.js";
29
- import Ce from "./components/Wallet/Shared/Order/selectCustomIcon.js";
30
+ import we from "./components/Wallet/Shared/Order/selectCustomIcon.js";
30
31
  import "./index-ceeCtFuh.js";
31
32
  import { u as xt, a as gt } from "./wallet-CauUBXou.js";
32
33
  import { AuthContainer as yt } from "./components/Wallet/Shared/Container/index.js";
33
34
  import bt from "./components/Shared/MinimalKyc/index.js";
34
35
  import Nt from "./components/Wallet/Shared/Input/index.js";
35
- import { M as vt } from "./index-eEBuSKOo.js";
36
+ import { M as vt } from "./index-CDwzoHu7.js";
36
37
  import "./index.esm-I_Bp2YLf.js";
37
38
  import { useDialogContext as _t } from "./context/dialogContext.js";
38
- import { B as R } from "./Box-B0YSYLco.js";
39
- import { G as s } from "./Grid-CFe3amXO.js";
40
- import { T as m } from "./Typography-pAaje37G.js";
41
- import { F as T } from "./FormControl-RtZDQMdA.js";
42
- import { F as P } from "./FilledInput-DuNqnPjc.js";
43
- import { F as Se, I as J } from "./TextField-DPpRUQe3.js";
44
- import { C as g } from "./CircularProgress-xZA3lvba.js";
45
- import { S as Q } from "./Select-CB5yWmyn.js";
46
- import { M } from "./MenuItem-DUdYOJr4.js";
47
- import { L as ke } from "./ListItemIcon-CUcyTEEm.js";
48
- import { I as we } from "./IconButton-DHm-hucF.js";
39
+ import "@mui/icons-material";
49
40
  const Ct = ({
50
41
  partnerKey: k,
51
42
  navigate: w,
@@ -55,29 +46,29 @@ const Ct = ({
55
46
  setScreen: U
56
47
  }) => {
57
48
  var xe, ge;
58
- const B = ye(null), z = ye(null), { openDialog: S } = _t(), d = C((t) => t.order), b = C(
49
+ const q = ye(null), z = ye(null), { openDialog: S } = _t(), d = C((t) => t.order), b = C(
59
50
  (t) => t.cryptoAssets
60
- ), E = C(ot), N = C(rt), { data: L, loader: Re } = E, { data: te, loader: Te } = N, Me = Ve(() => [
51
+ ), E = C(ot), N = C(nt), { data: L, loader: Fe } = E, { data: te, loader: Te } = N, Me = Ve(() => [
61
52
  ...L,
62
53
  ...te.filter(
63
54
  (t) => !L.some(
64
- (n) => n.address.toLowerCase() === t.address.toLowerCase()
55
+ (r) => r.address.toLowerCase() === t.address.toLowerCase()
65
56
  )
66
57
  )
67
- ], [L, te]), q = b.featureTokens.swap.inputList, o = b.featureTokens.swap.inputDefault, I = b.featureTokens.swap.outputList, r = b.featureTokens.swap.outputDefault, W = b.loader, K = d.error, F = d.create.order_id, O = d.loader, oe = d.depositAddress, re = d.depositAddressError, u = d.estimate[A], D = u.output_token.amount, ne = u.conversion_price, Ae = u.total_fee, $ = Number((xe = u == null ? void 0 : u.input_token) == null ? void 0 : xe.fiat_amount), ae = Number((ge = u == null ? void 0 : u.output_token) == null ? void 0 : ge.fiat_amount);
58
+ ], [L, te]), B = b.featureTokens.swap.inputList, o = b.featureTokens.swap.inputDefault, I = b.featureTokens.swap.outputList, n = b.featureTokens.swap.outputDefault, W = b.loader, K = d.error, R = d.create.order_id, O = d.loader, oe = d.depositAddress, ne = d.depositAddressError, u = d.estimate[A], D = u.output_token.amount, re = u.conversion_price, Ae = u.total_fee, $ = Number((xe = u == null ? void 0 : u.input_token) == null ? void 0 : xe.fiat_amount), ae = Number((ge = u == null ? void 0 : u.output_token) == null ? void 0 : ge.fiat_amount);
68
59
  let se = 0, ie = 0;
69
60
  const le = u.fee_breakdown;
70
61
  for (let t = 0; t < le.length; t++) {
71
- const n = le[t];
72
- n.name === "ev_fee" ? se = Number(n.value) : n.name === "network_fee" && (ie = Number(n.value));
62
+ const r = le[t];
63
+ r.name === "ev_fee" ? se = Number(r.value) : r.name === "network_fee" && (ie = Number(r.value));
73
64
  }
74
- const [v, Y] = p("0.05"), [G, ze] = p(!1), [Le, ce] = p(!1), [We, me] = p(!1), [de, Oe] = p(!1), [j, ue] = p(!1), [H, De] = p(50), [$e, Pe] = p(1e4), [pe, Ue] = p(""), Be = /^([0-9]*(\,|\.)[0-9]+|[0-9]+)$/, X = tt("USD"), f = Fe(), qe = (t) => {
65
+ const [v, Y] = p("0.05"), [G, ze] = p(!1), [Le, ce] = p(!1), [We, me] = p(!1), [de, Oe] = p(!1), [j, ue] = p(!1), [H, De] = p(50), [$e, Pe] = p(1e4), [pe, Ue] = p(""), qe = /^([0-9]*(\,|\.)[0-9]+|[0-9]+)$/, X = tt("USD"), f = Re(), Be = (t) => {
75
66
  f(at(t));
76
67
  }, Ke = (t) => {
77
68
  f(st(t));
78
69
  };
79
70
  h(() => {
80
- F && j && (L.some((n) => n.address === l) ? S({
71
+ R && j && (L.some((r) => r.address === l) ? S({
81
72
  icon: dt,
82
73
  title: "Swap Success",
83
74
  message: "Your transaction was successful for more details on the transaction, please view your transaction history.",
@@ -90,20 +81,20 @@ const Ct = ({
90
81
  w && w("/history"), f(Z());
91
82
  },
92
83
  height: "490px"
93
- }) : f(_e(F)));
94
- }, [F]), h(() => {
95
- re > 0 && (B.current = setTimeout(() => {
96
- f(_e(F));
84
+ }) : f(ke(R)));
85
+ }, [R]), h(() => {
86
+ ne > 0 && (q.current = setTimeout(() => {
87
+ f(ke(R));
97
88
  }, 1e4));
98
- }, [re, F]), h(() => {
89
+ }, [ne, R]), h(() => {
99
90
  oe && U(St);
100
91
  }, [oe]), h(() => {
101
92
  const t = z.current;
102
93
  (t == null ? void 0 : t.id) === o.id && (t == null ? void 0 : t.wallet) === l || (l && (z.current = { id: o.id, wallet: l }), f(
103
- nt({
94
+ rt({
104
95
  type: A,
105
96
  id: o.id,
106
- outputId: r.id,
97
+ outputId: n.id,
107
98
  walletAddress: l,
108
99
  partnerKey: k
109
100
  })
@@ -111,8 +102,8 @@ const Ct = ({
111
102
  }, [o.id, l]), h(() => {
112
103
  const t = d.types.length;
113
104
  if (t > 0)
114
- for (let n = 0; n < t; n++) {
115
- const x = d.types[n];
105
+ for (let r = 0; r < t; r++) {
106
+ const x = d.types[r];
116
107
  if (x.type === ee) {
117
108
  De(parseFloat(x.min_deposit_amount)), Pe(parseFloat(x.max_deposit_amount));
118
109
  break;
@@ -121,31 +112,31 @@ const Ct = ({
121
112
  }, [d.types]), h(() => {
122
113
  K && c({ message: K });
123
114
  }, [K]), h(() => {
124
- if (r && r.id && v) {
115
+ if (n && n.id && v) {
125
116
  f(it(A)), ze(!1), Ue("");
126
117
  const t = setTimeout(() => {
127
118
  Ye();
128
119
  }, 1e3);
129
120
  return () => clearTimeout(t);
130
121
  }
131
- }, [v, o, r]);
122
+ }, [v, o, n]);
132
123
  const Ye = () => {
133
- o.network && r && r.network && f(
124
+ o.network && n && n.network && f(
134
125
  lt(
135
126
  {
136
127
  apiKey: k,
137
128
  transaction_type: ee,
138
129
  coin_amount: v,
139
130
  input_token: o.symbol,
140
- input_token_network: V(
131
+ input_token_network: Q(
141
132
  o.network.name
142
133
  ),
143
134
  exchange: o.exchange,
144
- output_token: r.symbol,
145
- output_token_network: V(
146
- r.network.name
135
+ output_token: n.symbol,
136
+ output_token_network: Q(
137
+ n.network.name
147
138
  ),
148
- output_exchange: r.exchange
139
+ output_exchange: n.exchange
149
140
  },
150
141
  A
151
142
  )
@@ -153,22 +144,22 @@ const Ct = ({
153
144
  }, Ge = (t) => {
154
145
  y && y(t);
155
146
  }, je = (t) => {
156
- const n = t.target.value;
157
- n ? /^([0-9.]+)$/.test(n) && Y(ve(n, 8)) : Y("");
147
+ const r = t.target.value;
148
+ r ? /^([0-9.]+)$/.test(r) && Y(Se(r, 8)) : Y("");
158
149
  }, fe = (t) => {
159
150
  if (I) {
160
- const n = I.find((x) => x.symbol === t);
161
- Ke(n);
151
+ const r = I.find((x) => x.symbol === t);
152
+ Ke(r);
162
153
  }
163
154
  }, he = (t) => {
164
- const n = q.find((x) => x.symbol === t);
165
- qe(n);
155
+ const r = B.find((x) => x.symbol === t);
156
+ Be(r);
166
157
  }, He = () => {
167
158
  if (!o)
168
159
  return c({
169
160
  message: "Please select token you want to swap"
170
161
  }), !1;
171
- if (!r)
162
+ if (!n)
172
163
  return c({
173
164
  message: "Please select token you want to receive"
174
165
  }), !1;
@@ -176,7 +167,7 @@ const Ct = ({
176
167
  return c({ message: "Please enter amount" }), !1;
177
168
  if (!l)
178
169
  return c({ message: "Please select/enter wallet address" }), !1;
179
- if (!Be.test(v))
170
+ if (!qe.test(v))
180
171
  return c({ message: "Please provide a valid amount" }), !1;
181
172
  if (!D)
182
173
  return c({
@@ -204,10 +195,10 @@ const Ct = ({
204
195
  })
205
196
  );
206
197
  }, Xe = () => {
207
- o && Y(ve(o.fmt_balance + "", 8));
198
+ o && Y(Se(o.fmt_balance + "", 8));
208
199
  };
209
200
  return /* @__PURE__ */ a(_, { children: [
210
- /* @__PURE__ */ a(R, { children: [
201
+ /* @__PURE__ */ a(F, { children: [
211
202
  /* @__PURE__ */ a(s, { container: !0, children: [
212
203
  /* @__PURE__ */ e(s, { size: 2.5, children: /* @__PURE__ */ e(
213
204
  m,
@@ -255,7 +246,7 @@ const Ct = ({
255
246
  fullWidth: !0
256
247
  }
257
248
  ),
258
- /* @__PURE__ */ e(Se, { className: i["crypto-helper-text"], children: $ > 0 ? "$" + ($ * 1).toFixed(2) : /* @__PURE__ */ e(_, { children: " " }) })
249
+ /* @__PURE__ */ e(be, { className: i["crypto-helper-text"], children: $ > 0 ? "$" + ($ * 1).toFixed(2) : /* @__PURE__ */ e(_, { children: " " }) })
259
250
  ]
260
251
  }
261
252
  ) }),
@@ -267,16 +258,16 @@ const Ct = ({
267
258
  fullWidth: !0,
268
259
  children: [
269
260
  (o == null ? void 0 : o.network) && /* @__PURE__ */ e(
270
- J,
261
+ V,
271
262
  {
272
- className: `${i["network-label"]} ${i[be(o == null ? void 0 : o.network.name)]}`,
273
- children: V(o == null ? void 0 : o.network.name)
263
+ className: `${i["network-label"]} ${i[_e(o == null ? void 0 : o.network.name)]}`,
264
+ children: Q(o == null ? void 0 : o.network.name)
274
265
  }
275
266
  ),
276
267
  /* @__PURE__ */ a(
277
- Q,
268
+ J,
278
269
  {
279
- IconComponent: Ce,
270
+ IconComponent: we,
280
271
  input: /* @__PURE__ */ e(P, { disableUnderline: !0 }),
281
272
  sx: {
282
273
  borderTopLeftRadius: 0,
@@ -311,8 +302,8 @@ const Ct = ({
311
302
  error: G,
312
303
  children: [
313
304
  /* @__PURE__ */ e(M, { value: "", children: "Please select input" }),
314
- q.map((t) => /* @__PURE__ */ a(M, { value: t.symbol, children: [
315
- /* @__PURE__ */ e(ke, { className: i["dropdown-list-item"], children: /* @__PURE__ */ e(
305
+ B.map((t) => /* @__PURE__ */ a(M, { value: t.symbol, children: [
306
+ /* @__PURE__ */ e(Ne, { className: i["dropdown-list-item"], children: /* @__PURE__ */ e(
316
307
  "img",
317
308
  {
318
309
  src: t.icon_uri,
@@ -358,7 +349,7 @@ const Ct = ({
358
349
  fullWidth: !0
359
350
  }
360
351
  ),
361
- /* @__PURE__ */ e(Se, { className: i["crypto-helper-text"], children: ae > 0 ? "$" + (ae * 1).toFixed(2) : /* @__PURE__ */ e(_, { children: " " }) })
352
+ /* @__PURE__ */ e(be, { className: i["crypto-helper-text"], children: ae > 0 ? "$" + (ae * 1).toFixed(2) : /* @__PURE__ */ e(_, { children: " " }) })
362
353
  ]
363
354
  }
364
355
  ) }),
@@ -375,17 +366,17 @@ const Ct = ({
375
366
  className: `text-left ${i["crypto-picker"]}`,
376
367
  fullWidth: !0,
377
368
  children: [
378
- (r == null ? void 0 : r.network) && /* @__PURE__ */ e(
379
- J,
369
+ (n == null ? void 0 : n.network) && /* @__PURE__ */ e(
370
+ V,
380
371
  {
381
- className: `${i["network-label"]} ${i[be(r == null ? void 0 : r.network.name)]}`,
382
- children: r == null ? void 0 : r.network.name
372
+ className: `${i["network-label"]} ${i[_e(n == null ? void 0 : n.network.name)]}`,
373
+ children: n == null ? void 0 : n.network.name
383
374
  }
384
375
  ),
385
376
  /* @__PURE__ */ a(
386
- Q,
377
+ J,
387
378
  {
388
- IconComponent: Ce,
379
+ IconComponent: we,
389
380
  input: /* @__PURE__ */ e(P, { disableUnderline: !0 }),
390
381
  sx: {
391
382
  borderTopLeftRadius: 0,
@@ -405,11 +396,11 @@ const Ct = ({
405
396
  ".MuiSvgIcon-root": {
406
397
  fill: "#16359D !important"
407
398
  },
408
- padding: r && r.symbol !== "" ? "0px" : "4.95px"
399
+ padding: n && n.symbol !== "" ? "0px" : "4.95px"
409
400
  },
410
401
  className: "buy-select-dd",
411
402
  variant: "filled",
412
- value: r && r.symbol,
403
+ value: n && n.symbol,
413
404
  displayEmpty: !0,
414
405
  onChange: (t) => fe(t.target.value),
415
406
  onOpen: (t) => {
@@ -420,12 +411,12 @@ const Ct = ({
420
411
  children: [
421
412
  /* @__PURE__ */ e(M, { value: "", children: "Please select output" }),
422
413
  I && I.map((t) => /* @__PURE__ */ a(M, { value: t.symbol, children: [
423
- /* @__PURE__ */ e(ke, { className: i["dropdown-list-item"], children: /* @__PURE__ */ e(
414
+ /* @__PURE__ */ e(Ne, { className: i["dropdown-list-item"], children: /* @__PURE__ */ e(
424
415
  "img",
425
416
  {
426
417
  src: t.icon_uri,
427
- onError: ({ currentTarget: n }) => {
428
- n.onerror = null, n.src = et;
418
+ onError: ({ currentTarget: r }) => {
419
+ r.onerror = null, r.src = et;
429
420
  },
430
421
  alt: "tokenImage",
431
422
  width: "40",
@@ -441,9 +432,9 @@ const Ct = ({
441
432
  }
442
433
  ) })
443
434
  ] }),
444
- /* @__PURE__ */ e(R, { mt: 2.5, className: i["fee-area"], children: /* @__PURE__ */ a(s, { container: !0, children: [
435
+ /* @__PURE__ */ e(F, { mt: 2.5, className: i["fee-area"], children: /* @__PURE__ */ a(s, { container: !0, children: [
445
436
  /* @__PURE__ */ e(s, { className: "text-left", size: 12, children: /* @__PURE__ */ a(
446
- we,
437
+ ve,
447
438
  {
448
439
  sx: { padding: "0" },
449
440
  onClick: () => Oe((t) => !t),
@@ -498,12 +489,12 @@ const Ct = ({
498
489
  }
499
490
  ) : Number(Ae).toFixed(2)
500
491
  ] }) }),
501
- r && o && /* @__PURE__ */ a(_, { children: [
492
+ n && o && /* @__PURE__ */ a(_, { children: [
502
493
  /* @__PURE__ */ e(s, { className: "text-left", size: 6, children: /* @__PURE__ */ a(m, { variant: "caption", children: [
503
494
  "1 ",
504
495
  o == null ? void 0 : o.symbol,
505
496
  " ",
506
- /* @__PURE__ */ e(ft, { title: pt, placement: "right", children: /* @__PURE__ */ e(we, { className: i["info-fee-icon"], children: /* @__PURE__ */ e(Ze, { sx: { fontSize: "14px" } }) }) })
497
+ /* @__PURE__ */ e(ft, { title: pt, placement: "right", children: /* @__PURE__ */ e(ve, { className: i["info-fee-icon"], children: /* @__PURE__ */ e(Ze, { sx: { fontSize: "14px" } }) }) })
507
498
  ] }) }),
508
499
  /* @__PURE__ */ e(s, { className: "text-right", size: 6, children: /* @__PURE__ */ e(m, { variant: "caption", children: O ? /* @__PURE__ */ e(
509
500
  g,
@@ -511,28 +502,28 @@ const Ct = ({
511
502
  sx: { ml: 1 },
512
503
  size: 15
513
504
  }
514
- ) : ne && parseFloat(ne).toFixed(6) + " " + (r == null ? void 0 : r.symbol) }) })
505
+ ) : re && parseFloat(re).toFixed(6) + " " + (n == null ? void 0 : n.symbol) }) })
515
506
  ] })
516
507
  ] }) }),
517
- /* @__PURE__ */ e(R, { sx: { alignItems: "left", width: "100%" }, children: Re || Te ? /* @__PURE__ */ e(R, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(g, {}) }) : /* @__PURE__ */ e(_, { children: /* @__PURE__ */ a(
508
+ /* @__PURE__ */ e(F, { sx: { alignItems: "left", width: "100%" }, children: Fe || Te ? /* @__PURE__ */ e(F, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(g, {}) }) : /* @__PURE__ */ e(_, { children: /* @__PURE__ */ a(
518
509
  T,
519
510
  {
520
511
  variant: "filled",
521
512
  fullWidth: !0,
522
513
  children: [
523
- !l && /* @__PURE__ */ e(J, { children: "Select wallet address" }),
514
+ !l && /* @__PURE__ */ e(V, { children: "Select wallet address" }),
524
515
  /* @__PURE__ */ e(
525
- Q,
516
+ J,
526
517
  {
527
518
  value: l,
528
519
  onChange: (t) => Ge(t.target.value),
529
- children: Me.map((t, n) => /* @__PURE__ */ e(M, { value: t.address, children: t.name + "(" + t.address + ")" }, n))
520
+ children: Me.map((t, r) => /* @__PURE__ */ e(M, { value: t.address, children: t.name + "(" + t.address + ")" }, r))
530
521
  }
531
522
  )
532
523
  ]
533
524
  }
534
525
  ) }) }),
535
- /* @__PURE__ */ e(R, { mt: 4, children: /* @__PURE__ */ e(
526
+ /* @__PURE__ */ e(F, { mt: 4, children: /* @__PURE__ */ e(
536
527
  Ie,
537
528
  {
538
529
  fullWidth: !0,
@@ -546,17 +537,17 @@ const Ct = ({
546
537
  ) })
547
538
  ] }),
548
539
  /* @__PURE__ */ e(
549
- Ne,
540
+ Ce,
550
541
  {
551
542
  open: We,
552
543
  setModal: me,
553
544
  loader: W,
554
- tokenList: q,
545
+ tokenList: B,
555
546
  tokenSelect: he
556
547
  }
557
548
  ),
558
549
  /* @__PURE__ */ e(
559
- Ne,
550
+ Ce,
560
551
  {
561
552
  open: Le,
562
553
  setModal: ce,
@@ -568,7 +559,7 @@ const Ct = ({
568
559
  )
569
560
  ] });
570
561
  }, Ee = "FORM_SCREEN", St = "MANUAL_SEND_SCREEN", kt = "MINIMAL_KYC_SCREEN", wt = ({ partnerKey: k, navigate: w }) => {
571
- const c = Fe(), l = C((N) => N.order), y = l.error, U = C((N) => N.fiatAssets), B = C(
562
+ const c = Re(), l = C((N) => N.order), y = l.error, U = C((N) => N.fiatAssets), q = C(
572
563
  (N) => N.cryptoAssets
573
564
  ), [z, S] = p(Ee), [d, b] = p(""), { showAlertMessage: E } = ht();
574
565
  return h(() => {
@@ -583,7 +574,7 @@ const Ct = ({
583
574
  {
584
575
  setScreen: S,
585
576
  fiatAssets: U,
586
- cryptoAssets: B,
577
+ cryptoAssets: q,
587
578
  orderData: l,
588
579
  dispatch: c,
589
580
  partnerKey: k,
@@ -614,11 +605,11 @@ const Ct = ({
614
605
  }
615
606
  )
616
607
  }[z] });
617
- }, Co = Je(wt);
608
+ }, fo = Je(wt);
618
609
  export {
619
610
  Ee as F,
620
611
  St as M,
621
612
  Ct as S,
622
613
  kt as a,
623
- Co as i
614
+ fo as i
624
615
  };