everest-npm-features 0.0.61 → 0.0.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  3. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  4. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  5. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  6. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  7. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  8. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  9. package/dist/PlayArrow-71FP5PzJ.js +13 -0
  10. package/dist/Portal-BeS9yJCZ.js +968 -0
  11. package/dist/assets/styles.css +1 -1
  12. package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
  13. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -53
  51. package/dist/components/Shared/FullKyc/index.js +13 -11
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -13
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  63. package/dist/components/Wallet/Account/createIban.js +324 -102
  64. package/dist/components/Wallet/Account/eWallet.js +37 -43
  65. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  66. package/dist/components/Wallet/Account/iban.js +41 -45
  67. package/dist/components/Wallet/Account/ibanItem.js +70 -75
  68. package/dist/components/Wallet/Account/index.d.ts +1 -0
  69. package/dist/components/Wallet/Account/index.js +113 -118
  70. package/dist/components/Wallet/Account/sendIban.js +79 -88
  71. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
  72. package/dist/components/Wallet/Buy/form.js +8 -18
  73. package/dist/components/Wallet/Buy/index.js +6 -6
  74. package/dist/components/Wallet/Deposit/index.js +16 -18
  75. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  77. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  79. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  80. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  81. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
  82. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
  83. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  84. package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
  85. package/dist/components/Wallet/History/index.js +23 -797
  86. package/dist/components/Wallet/Home/index.js +13 -14
  87. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
  88. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  89. package/dist/components/Wallet/Portfolio/index.js +48 -51
  90. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  91. package/dist/components/Wallet/Profile/documents.js +164 -176
  92. package/dist/components/Wallet/Profile/index.js +39 -44
  93. package/dist/components/Wallet/Profile/storage.js +39 -47
  94. package/dist/components/Wallet/Receive/index.js +32 -37
  95. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
  96. package/dist/components/Wallet/Sell/form.js +8 -18
  97. package/dist/components/Wallet/Sell/index.js +6 -6
  98. package/dist/components/Wallet/Send/index.js +98 -107
  99. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  100. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  101. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  102. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
  103. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  104. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  105. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  106. package/dist/components/Wallet/Shared/Container/index.js +11 -11
  107. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  108. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  109. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  110. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  111. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  112. package/dist/components/Wallet/Shared/addBank.js +41 -45
  113. package/dist/components/Wallet/Shared/appButton.js +11 -15
  114. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  115. package/dist/components/Wallet/Shared/button.js +7 -7
  116. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  117. package/dist/components/Wallet/Shared/inputField.js +5 -5
  118. package/dist/components/Wallet/Shared/manualSend.js +9 -13
  119. package/dist/components/Wallet/Shared/noData.js +4 -5
  120. package/dist/components/Wallet/Shared/pin.js +25 -27
  121. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  122. package/dist/components/Wallet/Shared/step.js +12 -13
  123. package/dist/components/Wallet/Shared/timer.js +1 -1
  124. package/dist/components/Wallet/SignIn/index.js +17 -17
  125. package/dist/components/Wallet/SignUp/index.js +63 -153
  126. package/dist/components/Wallet/SignUp/terms.js +1 -1
  127. package/dist/components/Wallet/Stake/gems/index.js +71 -69
  128. package/dist/components/Wallet/Stake/id/index.js +77 -84
  129. package/dist/components/Wallet/Stake/index.js +65 -68
  130. package/dist/components/Wallet/Swap/form.js +11 -20
  131. package/dist/components/Wallet/Swap/index.js +5 -5
  132. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  133. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  134. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  135. package/dist/components/Wallet/Withdraw/form.js +6 -17
  136. package/dist/components/Wallet/Withdraw/index.js +5 -5
  137. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  138. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  139. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  140. package/dist/hoc/withThemeProvider.js +5 -732
  141. package/dist/hooks/useDialog/index.js +22 -23
  142. package/dist/hooks/useRrDialog/index.js +43 -46
  143. package/dist/hooks/useSnackBar.js +24 -696
  144. package/dist/icons/buyIcon.js +1 -1
  145. package/dist/icons/canceledBuyIcon.js +1 -1
  146. package/dist/icons/canceledRedeemIcon.js +1 -1
  147. package/dist/icons/failedBuyIcon.js +2 -2
  148. package/dist/icons/failedRedeemIcon.js +2 -2
  149. package/dist/icons/pendingBuyIcon.js +1 -1
  150. package/dist/icons/pendingRedeemIcon.js +1 -1
  151. package/dist/icons/redeemIcon.js +1 -1
  152. package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
  153. package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
  154. package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
  155. package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
  156. package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
  157. package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
  158. package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
  159. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  160. package/dist/main.js +7 -7
  161. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  162. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  163. package/dist/otpForm-DeeegaX2.js +7378 -0
  164. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  165. package/dist/styles.module-DFoezEqS.js +28 -0
  166. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  167. package/dist/tooltip-BW0UyWw7.js +2129 -0
  168. package/dist/util/constants.d.ts +1 -0
  169. package/dist/util/constants.js +72 -71
  170. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  171. package/package.json +6 -6
  172. package/dist/Alert-DzsbFW3-.js +0 -369
  173. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  174. package/dist/Avatar-1XklXr4O.js +0 -281
  175. package/dist/Backdrop-CioURPVG.js +0 -359
  176. package/dist/Box-B0YSYLco.js +0 -59
  177. package/dist/Button-Df4vgU24.js +0 -663
  178. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  179. package/dist/CardContent-D9wTdpu-.js +0 -141
  180. package/dist/CircularProgress-xZA3lvba.js +0 -252
  181. package/dist/Close-CxzDL3J-.js +0 -9
  182. package/dist/Container-urNKV7hm.js +0 -181
  183. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  184. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  185. package/dist/DialogContent-BMwlOnbW.js +0 -567
  186. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  187. package/dist/Divider-BShhMFf4.js +0 -297
  188. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  189. package/dist/FormControl-RtZDQMdA.js +0 -258
  190. package/dist/FormControlLabel-BliKW48y.js +0 -519
  191. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  192. package/dist/Grid-CFe3amXO.js +0 -410
  193. package/dist/Grow-CnGtel3u.js +0 -196
  194. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  195. package/dist/IconButton-DHm-hucF.js +0 -297
  196. package/dist/InputAdornment-DMiED3JH.js +0 -173
  197. package/dist/Link-DBA9Yifs.js +0 -266
  198. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  199. package/dist/Menu-DLYFFrEk.js +0 -1239
  200. package/dist/MenuItem-DUdYOJr4.js +0 -271
  201. package/dist/Modal-CFIQ_s3T.js +0 -743
  202. package/dist/Paper-Bgt2WXI6.js +0 -186
  203. package/dist/PlayArrow-Bjz9LxhD.js +0 -13
  204. package/dist/Popper-BBAoiZKn.js +0 -1409
  205. package/dist/Portal-BMAxiQwe.js +0 -69
  206. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  207. package/dist/Select-CB5yWmyn.js +0 -1886
  208. package/dist/Slide-B9Nw0LZ4.js +0 -235
  209. package/dist/Stack-k55YTxET.js +0 -172
  210. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  211. package/dist/TextField-DPpRUQe3.js +0 -978
  212. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  213. package/dist/Typography-pAaje37G.js +0 -260
  214. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  215. package/dist/clsx-BTaloaeC.js +0 -264
  216. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  217. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  218. package/dist/createTheme-CD19zQB7.js +0 -3825
  219. package/dist/debounce-46wSf_lW.js +0 -15
  220. package/dist/defaultTheme-C35y5cLB.js +0 -5
  221. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  222. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  223. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  224. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  225. package/dist/exactProp-C1Lmtwf_.js +0 -13
  226. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  227. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  228. package/dist/index-B0Z-Gjno.js +0 -22
  229. package/dist/index-DUcLo3x5.js +0 -43
  230. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  231. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  232. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  233. package/dist/memoTheme-yHaPezod.js +0 -15
  234. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  235. package/dist/radioButton-CzlYB0Lh.js +0 -402
  236. package/dist/refType-BsTH3qnM.js +0 -56
  237. package/dist/styles.module-CHPRGltL.js +0 -28
  238. package/dist/tooltip-3UvETWtS.js +0 -740
  239. package/dist/useControlled-nm4pBabJ.js +0 -31
  240. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  241. package/dist/useFormControl-CatNKXAi.js +0 -10
  242. package/dist/useId-CK6Kn3Tn.js +0 -21
  243. package/dist/useSlot-CW7SOYlh.js +0 -125
  244. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  245. package/dist/useTheme-BQJ5lp0i.js +0 -11
  246. package/dist/useTheme-S5_DHFsQ.js +0 -17
  247. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,35 +1,29 @@
1
- import { jsxs as t, Fragment as C, jsx as e } from "react/jsx-runtime";
2
- import M from "../../Shared/noData.js";
3
- import { M as h } from "../../../../tooltip-3UvETWtS.js";
4
- import { I as p } from "../../../../Info-BVeUSPyk.js";
1
+ import { jsxs as r, Fragment as I, jsx as e } from "react/jsx-runtime";
2
+ import { Backdrop as w, CircularProgress as m, Grid as t, Box as a, Typography as o, IconButton as p, FormControl as G, TextField as b } from "@mui/material";
3
+ import B from "../../Shared/noData.js";
4
+ import { M as f } from "../../../../tooltip-BW0UyWw7.js";
5
+ import { I as u } from "../../../../Info-DOoRR7sR.js";
5
6
  import { s as i } from "../../../../styles.module-C1sNeKjL.js";
6
7
  import s from "../../Shared/appButton.js";
7
- import { B as w } from "../../../../Backdrop-CioURPVG.js";
8
- import { C as f } from "../../../../CircularProgress-xZA3lvba.js";
9
- import { G as r } from "../../../../Grid-CFe3amXO.js";
10
- import { B as a } from "../../../../Box-B0YSYLco.js";
11
- import { T as o } from "../../../../Typography-pAaje37G.js";
12
- import { I as u } from "../../../../IconButton-DHm-hucF.js";
13
- import { F as G } from "../../../../FormControl-RtZDQMdA.js";
14
- import { T as B } from "../../../../TextField-DPpRUQe3.js";
15
- const Q = ({
16
- loader: x,
17
- stakeData: c,
18
- totalStake: g,
19
- totalReward: k,
20
- StakeItem: T,
21
- stakeStart: v,
22
- amount: E,
23
- setAmount: l,
8
+ import { AuthContainer as x } from "../../Shared/Container/index.js";
9
+ const Y = ({
10
+ loader: g,
11
+ stakeData: l,
12
+ totalStake: k,
13
+ totalReward: T,
14
+ StakeItem: v,
15
+ stakeStart: E,
16
+ amount: S,
17
+ setAmount: c,
24
18
  balanceLoader: N,
25
- balance: m,
26
- onMoveToEthereum: S,
27
- onMoveToEverChain: y,
28
- ethereumBalance: D
19
+ balance: d,
20
+ onMoveToEthereum: y,
21
+ onMoveToEverChain: D,
22
+ ethereumBalance: M
29
23
  }) => {
30
24
  const z = (n) => {
31
- n ? /^([0-9.,]+)$/.test(n) && l(n) : l("");
32
- }, I = [
25
+ n ? /^([0-9.,]+)$/.test(n) && c(n) : c("");
26
+ }, C = [
33
27
  "To earn reward tokens you must stake GEMS “to EverChain”",
34
28
  "Staking GEMS for a 365 day commitment will earn up to 20% APY in ID tokens*",
35
29
  "* there is a 10M maximum supply of IDs for staking GEMS",
@@ -37,7 +31,7 @@ const Q = ({
37
31
  ].join(`
38
32
 
39
33
  `);
40
- return /* @__PURE__ */ t(C, { children: [
34
+ return /* @__PURE__ */ r(I, { children: [
41
35
  /* @__PURE__ */ e(
42
36
  w,
43
37
  {
@@ -45,31 +39,31 @@ const Q = ({
45
39
  color: "#fff",
46
40
  zIndex: (n) => n.zIndex.drawer + 1e3
47
41
  },
48
- open: x,
49
- children: /* @__PURE__ */ e(f, { color: "inherit" })
42
+ open: g,
43
+ children: /* @__PURE__ */ e(m, { color: "inherit" })
50
44
  }
51
45
  ),
52
- /* @__PURE__ */ t(r, { spacing: 2, container: !0, width: "100%", children: [
53
- /* @__PURE__ */ e(r, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(a, { className: i["inner-container"], children: /* @__PURE__ */ t(a, { p: 3, children: [
46
+ /* @__PURE__ */ r(t, { spacing: 2, container: !0, width: "100%", children: [
47
+ /* @__PURE__ */ e(t, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(x, { addTopMargin: !1, children: /* @__PURE__ */ r(a, { p: 3, children: [
54
48
  /* @__PURE__ */ e(o, { className: i["heading-text"], variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Current Stakes" }) }),
55
- /* @__PURE__ */ t(r, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
56
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
57
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ t(o, { className: "text-right fs16 fw500", children: [
58
- g,
49
+ /* @__PURE__ */ r(t, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
50
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
51
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ r(o, { className: "text-right fs16 fw500", children: [
52
+ k,
59
53
  " GEMS"
60
54
  ] }) }),
61
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
62
- /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ t(o, { className: "text-right fs16 fw500", children: [
63
- k,
55
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ e(o, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
56
+ /* @__PURE__ */ e(t, { size: 6, children: /* @__PURE__ */ r(o, { className: "text-right fs16 fw500", children: [
57
+ T,
64
58
  " ID"
65
59
  ] }) })
66
60
  ] }),
67
- /* @__PURE__ */ t(a, { mt: 6, children: [
68
- c.length === 0 && /* @__PURE__ */ e(M, { text: "No GEM are staked at the moment" }),
69
- c.map((n, d) => /* @__PURE__ */ e(T, { data: n }, d))
61
+ /* @__PURE__ */ r(a, { mt: 6, children: [
62
+ l.length === 0 && /* @__PURE__ */ e(B, { text: "No GEM are staked at the moment" }),
63
+ l.map((n, h) => /* @__PURE__ */ e(v, { data: n }, h))
70
64
  ] })
71
65
  ] }) }) }),
72
- /* @__PURE__ */ e(r, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ t(a, { p: 3, className: i["inner-container"], children: [
66
+ /* @__PURE__ */ e(t, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ e(x, { addTopMargin: !1, children: /* @__PURE__ */ r(a, { p: 3, children: [
73
67
  /* @__PURE__ */ e(
74
68
  o,
75
69
  {
@@ -80,12 +74,12 @@ const Q = ({
80
74
  }
81
75
  ),
82
76
  /* @__PURE__ */ e(
83
- h,
77
+ f,
84
78
  {
85
- title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: I }),
79
+ title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: C }),
86
80
  placement: "bottom",
87
- children: /* @__PURE__ */ e(u, { className: i["info-icon"], children: /* @__PURE__ */ e(
88
- p,
81
+ children: /* @__PURE__ */ e(p, { className: i["info-icon"], children: /* @__PURE__ */ e(
82
+ u,
89
83
  {
90
84
  sx: {
91
85
  fontSize: "26px",
@@ -95,22 +89,22 @@ const Q = ({
95
89
  ) })
96
90
  }
97
91
  ),
98
- /* @__PURE__ */ t(a, { className: `${i["add-container"]} text-center`, children: [
92
+ /* @__PURE__ */ r(a, { className: `${i["add-container"]} text-center`, children: [
99
93
  /* @__PURE__ */ e(o, { variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Available GEMS on EverChain" }) }),
100
- N ? /* @__PURE__ */ e(f, {}) : /* @__PURE__ */ e(
94
+ N ? /* @__PURE__ */ e(m, {}) : /* @__PURE__ */ e(
101
95
  o,
102
96
  {
103
97
  sx: { mt: 2 },
104
98
  className: "secondary-text-color",
105
99
  variant: "h3",
106
- children: /* @__PURE__ */ t("strong", { children: [
107
- m,
100
+ children: /* @__PURE__ */ r("strong", { children: [
101
+ d,
108
102
  " GEMS"
109
103
  ] })
110
104
  }
111
105
  ),
112
- /* @__PURE__ */ t(r, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
113
- /* @__PURE__ */ e(r, { size: 11, children: /* @__PURE__ */ t("fieldset", { className: i["move-id"], children: [
106
+ /* @__PURE__ */ r(t, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
107
+ /* @__PURE__ */ e(t, { size: 11, children: /* @__PURE__ */ r("fieldset", { className: i["move-id"], children: [
114
108
  /* @__PURE__ */ e(
115
109
  "legend",
116
110
  {
@@ -123,7 +117,7 @@ const Q = ({
123
117
  s,
124
118
  {
125
119
  variantType: "secondary",
126
- onClick: () => y(Number(D)),
120
+ onClick: () => D(Number(M)),
127
121
  children: "To EverChain"
128
122
  }
129
123
  ),
@@ -135,18 +129,18 @@ const Q = ({
135
129
  ml: { md: 3 },
136
130
  mt: { xs: 1, md: 0 }
137
131
  },
138
- onClick: () => S(Number(m)),
132
+ onClick: () => y(Number(d)),
139
133
  children: "To Ethereum"
140
134
  }
141
135
  )
142
136
  ] }) }),
143
- /* @__PURE__ */ e(r, { size: 1, children: /* @__PURE__ */ e(
144
- h,
137
+ /* @__PURE__ */ e(t, { size: 1, children: /* @__PURE__ */ e(
138
+ f,
145
139
  {
146
140
  title: "To stake your GEMS token, the token must be on EverChain. To move GEMS from Ethereum to EverChain or back requires ETH to pay the network fees.",
147
141
  placement: "top",
148
- children: /* @__PURE__ */ e(u, { className: i["button-icon"], children: /* @__PURE__ */ e(
149
- p,
142
+ children: /* @__PURE__ */ e(p, { className: i["button-icon"], children: /* @__PURE__ */ e(
143
+ u,
150
144
  {
151
145
  sx: {
152
146
  fontSize: "24px",
@@ -157,8 +151,8 @@ const Q = ({
157
151
  }
158
152
  ) })
159
153
  ] }),
160
- /* @__PURE__ */ t(
161
- r,
154
+ /* @__PURE__ */ r(
155
+ t,
162
156
  {
163
157
  mt: 4,
164
158
  sx: {
@@ -168,36 +162,44 @@ const Q = ({
168
162
  container: !0,
169
163
  width: "100%",
170
164
  children: [
171
- /* @__PURE__ */ e(r, { size: 4 }),
165
+ /* @__PURE__ */ e(t, { size: 4 }),
172
166
  /* @__PURE__ */ e(
173
- r,
167
+ t,
174
168
  {
175
169
  className: `${i["time-item"]} ${i["item-last"]} ${i.active}`,
176
170
  size: 4,
177
171
  children: /* @__PURE__ */ e(o, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
178
172
  }
179
173
  ),
180
- /* @__PURE__ */ e(r, { size: 4 })
174
+ /* @__PURE__ */ e(t, { size: 4 })
181
175
  ]
182
176
  }
183
177
  ),
184
178
  /* @__PURE__ */ e(G, { sx: { mt: 4 }, fullWidth: !0, children: /* @__PURE__ */ e(
185
- B,
179
+ b,
186
180
  {
187
181
  variant: "filled",
188
182
  placeholder: "Amount to Stake",
189
- value: E,
183
+ value: S,
190
184
  fullWidth: !0,
191
185
  required: !0,
192
186
  onChange: (n) => z(n.target.value)
193
187
  }
194
188
  ) }),
195
- /* @__PURE__ */ e(s, { sx: { mt: 4 }, onClick: () => v(), fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Stake" }) })
189
+ /* @__PURE__ */ e(
190
+ s,
191
+ {
192
+ sx: { mt: 4 },
193
+ onClick: () => E(),
194
+ fullWidth: !0,
195
+ children: /* @__PURE__ */ e("strong", { children: "Stake" })
196
+ }
197
+ )
196
198
  ] })
197
- ] }) })
199
+ ] }) }) })
198
200
  ] })
199
201
  ] });
200
202
  };
201
203
  export {
202
- Q as default
204
+ Y as default
203
205
  };
@@ -1,39 +1,32 @@
1
- import { jsxs as t, Fragment as _, jsx as e } from "react/jsx-runtime";
2
- import F from "../../Shared/noData.js";
3
- import { M as f } from "../../../../tooltip-3UvETWtS.js";
4
- import { I as u } from "../../../../Info-BVeUSPyk.js";
5
- import { STAKE_ID_MIN_DAYS as g, STAKE_ID_MID_DAYS as x, STAKE_ID_MAX_DAYS as T } from "../../../../util/constants.js";
6
- import { s as r } from "../../../../styles.module-C1sNeKjL.js";
1
+ import { jsxs as t, Fragment as B, jsx as e } from "react/jsx-runtime";
2
+ import { Backdrop as F, CircularProgress as f, Grid as r, Box as a, Typography as n, IconButton as u, Divider as g, FormControl as Y, TextField as R } from "@mui/material";
3
+ import P from "../../Shared/noData.js";
4
+ import { M as x } from "../../../../tooltip-BW0UyWw7.js";
5
+ import { I as T } from "../../../../Info-DOoRR7sR.js";
6
+ import { STAKE_ID_MIN_DAYS as k, STAKE_ID_MID_DAYS as D, STAKE_ID_MAX_DAYS as v } from "../../../../util/constants.js";
7
+ import { s as i } from "../../../../styles.module-C1sNeKjL.js";
7
8
  import c from "../../Shared/appButton.js";
8
- import { B as M } from "../../../../Backdrop-CioURPVG.js";
9
- import { C as k } from "../../../../CircularProgress-xZA3lvba.js";
10
- import { G as i } from "../../../../Grid-CFe3amXO.js";
11
- import { B as a } from "../../../../Box-B0YSYLco.js";
12
- import { T as n } from "../../../../Typography-pAaje37G.js";
13
- import { I as D } from "../../../../IconButton-DHm-hucF.js";
14
- import { D as I } from "../../../../Divider-BShhMFf4.js";
15
- import { F as Y } from "../../../../FormControl-RtZDQMdA.js";
16
- import { T as R } from "../../../../TextField-DPpRUQe3.js";
17
- const ie = ({
18
- loader: v,
9
+ import { AuthContainer as I } from "../../Shared/Container/index.js";
10
+ const Q = ({
11
+ loader: N,
19
12
  stakeData: d,
20
- totalStake: N,
21
- totalReward: y,
22
- StakeItem: C,
23
- stakeStart: z,
24
- amount: w,
25
- setAmount: m,
26
- stakeDuration: s,
27
- setStakeDuration: l,
28
- balanceLoader: S,
29
- balance: h,
30
- onMoveToEthereum: A,
31
- onMoveToEverChain: E,
32
- ethereumBalance: $
13
+ totalStake: y,
14
+ totalReward: C,
15
+ StakeItem: z,
16
+ stakeStart: w,
17
+ amount: S,
18
+ setAmount: h,
19
+ stakeDuration: l,
20
+ setStakeDuration: s,
21
+ balanceLoader: A,
22
+ balance: m,
23
+ onMoveToEthereum: E,
24
+ onMoveToEverChain: $,
25
+ ethereumBalance: b
33
26
  }) => {
34
- const b = (o) => {
35
- o ? /^([0-9.,]+)$/.test(o) && m(o) : m("");
36
- }, B = [
27
+ const _ = (o) => {
28
+ o ? /^([0-9.,]+)$/.test(o) && h(o) : h("");
29
+ }, M = [
37
30
  "To earn reward tokens you must stake ID tokens in your EverWallet",
38
31
  "Staking Rewards...",
39
32
  `Commit for 90 days to earn 3% APY
@@ -44,55 +37,55 @@ Commit for 365 days to earn 18% APY`,
44
37
  ].join(`
45
38
 
46
39
  `);
47
- return /* @__PURE__ */ t(_, { children: [
40
+ return /* @__PURE__ */ t(B, { children: [
48
41
  /* @__PURE__ */ e(
49
- M,
42
+ F,
50
43
  {
51
44
  sx: {
52
45
  color: "#fff",
53
46
  zIndex: (o) => o.zIndex.drawer + 1e3
54
47
  },
55
- open: v,
56
- children: /* @__PURE__ */ e(k, { color: "inherit" })
48
+ open: N,
49
+ children: /* @__PURE__ */ e(f, { color: "inherit" })
57
50
  }
58
51
  ),
59
- /* @__PURE__ */ t(i, { spacing: 2, container: !0, width: "100%", children: [
60
- /* @__PURE__ */ e(i, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(a, { className: r["inner-container"], children: /* @__PURE__ */ t(a, { p: 3, children: [
61
- /* @__PURE__ */ e(n, { className: r["heading-text"], variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Current Stakes" }) }),
62
- /* @__PURE__ */ t(i, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
63
- /* @__PURE__ */ e(i, { size: 6, children: /* @__PURE__ */ e(n, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
64
- /* @__PURE__ */ e(i, { size: 6, children: /* @__PURE__ */ t(n, { className: "text-right fs16 fw500", children: [
65
- N,
52
+ /* @__PURE__ */ t(r, { spacing: 2, container: !0, width: "100%", children: [
53
+ /* @__PURE__ */ e(r, { size: { xs: 12, md: 5 }, children: /* @__PURE__ */ e(I, { addTopMargin: !1, children: /* @__PURE__ */ t(a, { p: 3, children: [
54
+ /* @__PURE__ */ e(n, { className: i["heading-text"], variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Current Stakes" }) }),
55
+ /* @__PURE__ */ t(r, { mt: 4, spacing: 1, container: !0, width: "100%", children: [
56
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(n, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Staked" }) }) }),
57
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ t(n, { className: "text-right fs16 fw500", children: [
58
+ y,
66
59
  " ID"
67
60
  ] }) }),
68
- /* @__PURE__ */ e(i, { size: 6, children: /* @__PURE__ */ e(n, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
69
- /* @__PURE__ */ e(i, { size: 6, children: /* @__PURE__ */ t(n, { className: "text-right fs16 fw500", children: [
70
- y,
61
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ e(n, { className: "fs16", children: /* @__PURE__ */ e("strong", { children: "Total Reward" }) }) }),
62
+ /* @__PURE__ */ e(r, { size: 6, children: /* @__PURE__ */ t(n, { className: "text-right fs16 fw500", children: [
63
+ C,
71
64
  " ID"
72
65
  ] }) })
73
66
  ] }),
74
67
  /* @__PURE__ */ t(a, { mt: 6, children: [
75
- d.length === 0 && /* @__PURE__ */ e(F, { text: "No ID are staked at the moment" }),
76
- d.map((o, p) => /* @__PURE__ */ e(C, { data: o }, p))
68
+ d.length === 0 && /* @__PURE__ */ e(P, { text: "No ID are staked at the moment" }),
69
+ d.map((o, p) => /* @__PURE__ */ e(z, { data: o }, p))
77
70
  ] })
78
71
  ] }) }) }),
79
- /* @__PURE__ */ e(i, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ t(a, { p: 3, className: r["inner-container"], children: [
72
+ /* @__PURE__ */ e(r, { size: { xs: 12, md: 7 }, children: /* @__PURE__ */ e(I, { addTopMargin: !1, children: /* @__PURE__ */ t(a, { p: 3, children: [
80
73
  /* @__PURE__ */ e(
81
74
  n,
82
75
  {
83
- className: r["heading-text"],
76
+ className: i["heading-text"],
84
77
  variant: "h6",
85
78
  component: "span",
86
79
  children: /* @__PURE__ */ e("strong", { children: "Stake Tokens" })
87
80
  }
88
81
  ),
89
82
  /* @__PURE__ */ e(
90
- f,
83
+ x,
91
84
  {
92
- title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: B }),
85
+ title: /* @__PURE__ */ e(a, { sx: { whiteSpace: "pre-line" }, children: M }),
93
86
  placement: "bottom",
94
- children: /* @__PURE__ */ e(D, { className: r["info-icon"], children: /* @__PURE__ */ e(
95
- u,
87
+ children: /* @__PURE__ */ e(u, { className: i["info-icon"], children: /* @__PURE__ */ e(
88
+ T,
96
89
  {
97
90
  sx: {
98
91
  fontSize: "26px",
@@ -102,28 +95,28 @@ Commit for 365 days to earn 18% APY`,
102
95
  ) })
103
96
  }
104
97
  ),
105
- /* @__PURE__ */ t(a, { className: `${r["add-container"]} text-center`, children: [
98
+ /* @__PURE__ */ t(a, { className: `${i["add-container"]} text-center`, children: [
106
99
  /* @__PURE__ */ e(n, { variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Available ID on EverChain" }) }),
107
- S ? /* @__PURE__ */ e(k, {}) : /* @__PURE__ */ e(
100
+ A ? /* @__PURE__ */ e(f, {}) : /* @__PURE__ */ e(
108
101
  n,
109
102
  {
110
103
  sx: { mt: 2 },
111
104
  className: "secondary-text-color",
112
105
  variant: "h3",
113
106
  children: /* @__PURE__ */ t("strong", { children: [
114
- h,
107
+ m,
115
108
  " ID"
116
109
  ] })
117
110
  }
118
111
  ),
119
- /* @__PURE__ */ t(i, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
120
- /* @__PURE__ */ e(i, { size: 11, children: /* @__PURE__ */ t("fieldset", { className: r["move-id"], children: [
121
- /* @__PURE__ */ e("legend", { className: r["move-id-text"], children: "Move ID Tokens" }),
112
+ /* @__PURE__ */ t(r, { className: "items-center", container: !0, mt: 4, width: "100%", children: [
113
+ /* @__PURE__ */ e(r, { size: 11, children: /* @__PURE__ */ t("fieldset", { className: i["move-id"], children: [
114
+ /* @__PURE__ */ e("legend", { className: i["move-id-text"], children: "Move ID Tokens" }),
122
115
  /* @__PURE__ */ e(
123
116
  c,
124
117
  {
125
118
  variantType: "secondary",
126
- onClick: () => E(Number($)),
119
+ onClick: () => $(Number(b)),
127
120
  children: "To EverChain"
128
121
  }
129
122
  ),
@@ -135,18 +128,18 @@ Commit for 365 days to earn 18% APY`,
135
128
  ml: { md: 3 },
136
129
  mt: { xs: 1, md: 0 }
137
130
  },
138
- onClick: () => A(Number(h)),
131
+ onClick: () => E(Number(m)),
139
132
  children: "To Ethereum"
140
133
  }
141
134
  )
142
135
  ] }) }),
143
- /* @__PURE__ */ e(i, { size: 1, children: /* @__PURE__ */ e(
144
- f,
136
+ /* @__PURE__ */ e(r, { size: 1, children: /* @__PURE__ */ e(
137
+ x,
145
138
  {
146
139
  title: "To stake your ID Token, the token must be on EverChain. To move ID Token from Ethereum to EverChain or back requires ETH to pay the network fees.",
147
140
  placement: "top",
148
- children: /* @__PURE__ */ e(D, { className: r["button-icon"], children: /* @__PURE__ */ e(
149
- u,
141
+ children: /* @__PURE__ */ e(u, { className: i["button-icon"], children: /* @__PURE__ */ e(
142
+ T,
150
143
  {
151
144
  sx: {
152
145
  fontSize: "24px",
@@ -158,7 +151,7 @@ Commit for 365 days to earn 18% APY`,
158
151
  ) })
159
152
  ] }),
160
153
  /* @__PURE__ */ t(
161
- i,
154
+ r,
162
155
  {
163
156
  mt: 4,
164
157
  sx: {
@@ -170,30 +163,30 @@ Commit for 365 days to earn 18% APY`,
170
163
  width: "100%",
171
164
  children: [
172
165
  /* @__PURE__ */ e(
173
- i,
166
+ r,
174
167
  {
175
- className: `${r["time-item"]} ${r["item-1st"]} ${s === g ? r.active : ""}`,
176
- onClick: () => l(g),
168
+ className: `${i["time-item"]} ${i["item-1st"]} ${l === k ? i.active : ""}`,
169
+ onClick: () => s(k),
177
170
  size: 3.9,
178
171
  children: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("strong", { children: "90 Days" }) })
179
172
  }
180
173
  ),
181
- /* @__PURE__ */ e(i, { size: 0.01, children: /* @__PURE__ */ e(I, { orientation: "vertical" }) }),
174
+ /* @__PURE__ */ e(r, { size: 0.01, children: /* @__PURE__ */ e(g, { orientation: "vertical" }) }),
182
175
  /* @__PURE__ */ e(
183
- i,
176
+ r,
184
177
  {
185
- className: `${r["time-item"]} ${s === x ? r.active : ""}`,
186
- onClick: () => l(x),
178
+ className: `${i["time-item"]} ${l === D ? i.active : ""}`,
179
+ onClick: () => s(D),
187
180
  size: 3.9,
188
181
  children: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("strong", { children: "180 Days" }) })
189
182
  }
190
183
  ),
191
- /* @__PURE__ */ e(i, { size: 0.01, children: /* @__PURE__ */ e(I, { orientation: "vertical" }) }),
184
+ /* @__PURE__ */ e(r, { size: 0.01, children: /* @__PURE__ */ e(g, { orientation: "vertical" }) }),
192
185
  /* @__PURE__ */ e(
193
- i,
186
+ r,
194
187
  {
195
- className: `${r["time-item"]} ${r["item-last"]} ${s === T ? r.active : ""}`,
196
- onClick: () => l(T),
188
+ className: `${i["time-item"]} ${i["item-last"]} ${l === v ? i.active : ""}`,
189
+ onClick: () => s(v),
197
190
  size: 4,
198
191
  children: /* @__PURE__ */ e(n, { children: /* @__PURE__ */ e("strong", { children: "365 Days" }) })
199
192
  }
@@ -206,18 +199,18 @@ Commit for 365 days to earn 18% APY`,
206
199
  {
207
200
  variant: "filled",
208
201
  placeholder: "Amount to Stake",
209
- value: w,
202
+ value: S,
210
203
  fullWidth: !0,
211
204
  required: !0,
212
- onChange: (o) => b(o.target.value)
205
+ onChange: (o) => _(o.target.value)
213
206
  }
214
207
  ) }),
215
- /* @__PURE__ */ e(c, { sx: { mt: 4 }, onClick: () => z(), fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Stake" }) })
208
+ /* @__PURE__ */ e(c, { sx: { mt: 4 }, onClick: () => w(), fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Stake" }) })
216
209
  ] })
217
- ] }) })
210
+ ] }) }) })
218
211
  ] })
219
212
  ] });
220
213
  };
221
214
  export {
222
- ie as default
215
+ Q as default
223
216
  };