everest-npm-features 0.0.63 → 0.0.64

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 (98) hide show
  1. package/dist/{PlayArrow-71FP5PzJ.js → PlayArrow-WUr_Eyo1.js} +5 -5
  2. package/dist/assets/styles2.css +1 -1
  3. package/dist/{auth-BBeOw4mt.js → auth-Cg-RJNB1.js} +1 -1
  4. package/dist/bank-CPJa0NOE.js +47 -0
  5. package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
  6. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  7. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  8. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  9. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  10. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  11. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  12. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  13. package/dist/components/RocketRamp/Player/Sell/index.js +6 -6
  14. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  15. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  20. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  21. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  24. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  25. package/dist/components/Shared/FullKyc/countryList.js +33 -30
  26. package/dist/components/Shared/FullKyc/edd.js +3 -3
  27. package/dist/components/Shared/FullKyc/index.js +11 -10
  28. package/dist/components/Shared/FullKyc/pep.js +68 -64
  29. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  30. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  31. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  32. package/dist/components/Shared/Sumsub/index.js +2 -2
  33. package/dist/components/Wallet/Account/createIban.js +15 -540
  34. package/dist/components/Wallet/Account/eWallet.js +7 -7
  35. package/dist/components/Wallet/Account/iban.js +77 -56
  36. package/dist/components/Wallet/Account/ibanItem.js +3 -3
  37. package/dist/components/Wallet/Account/index.js +216 -181
  38. package/dist/components/Wallet/Account/sendIban.js +2 -2
  39. package/dist/components/Wallet/Buy/confirmTransaction.js +6 -6
  40. package/dist/components/Wallet/Buy/form.js +5 -5
  41. package/dist/components/Wallet/Buy/index.js +6 -6
  42. package/dist/components/Wallet/Deposit/index.js +2 -2
  43. package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
  44. package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
  45. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
  46. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
  47. package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
  48. package/dist/components/Wallet/History/index.js +2 -2
  49. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +11 -11
  50. package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
  51. package/dist/components/Wallet/Portfolio/index.js +5 -5
  52. package/dist/components/Wallet/Profile/documents.js +37 -37
  53. package/dist/components/Wallet/Profile/index.js +5 -5
  54. package/dist/components/Wallet/Profile/storage.js +14 -14
  55. package/dist/components/Wallet/Receive/index.js +3 -3
  56. package/dist/components/Wallet/Sell/confirmTransaction.js +5 -5
  57. package/dist/components/Wallet/Sell/form.js +5 -5
  58. package/dist/components/Wallet/Sell/index.js +6 -6
  59. package/dist/components/Wallet/Send/index.js +36 -36
  60. package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
  61. package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
  62. package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
  63. package/dist/components/Wallet/Shared/addBank.js +4 -4
  64. package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
  65. package/dist/components/Wallet/Shared/manualSend.js +4 -4
  66. package/dist/components/Wallet/SignIn/index.js +3 -3
  67. package/dist/components/Wallet/SignUp/index.js +3 -3
  68. package/dist/components/Wallet/Stake/gems/index.js +34 -31
  69. package/dist/components/Wallet/Stake/id/index.js +12 -9
  70. package/dist/components/Wallet/Stake/index.js +6 -6
  71. package/dist/components/Wallet/Swap/form.js +7 -7
  72. package/dist/components/Wallet/Swap/index.js +5 -5
  73. package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
  74. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  75. package/dist/components/Wallet/Withdraw/form.js +4 -4
  76. package/dist/components/Wallet/Withdraw/index.js +5 -5
  77. package/dist/{constants-DX0YBtP2.js → constants-BRS2liAt.js} +214 -212
  78. package/dist/createIban-DKoCQ4o3.js +573 -0
  79. package/dist/{cryptoAssets-B8rAI7pp.js → cryptoAssets-BD0cJpXM.js} +1 -1
  80. package/dist/{index-JY6-UKlX.js → index-BUtxhHso.js} +87 -86
  81. package/dist/{index-B4XvACQN.js → index-C2weAjLp.js} +70 -69
  82. package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
  83. package/dist/{index-_fiTunwZ.js → index-CZhiRUiE.js} +4 -4
  84. package/dist/{index-DuWW5roi.js → index-D7Eq-pbC.js} +65 -64
  85. package/dist/{index-DkiQ8pRO.js → index-DX8IEulu.js} +52 -52
  86. package/dist/{index-bK14vCZw.js → index-hgn4Pjw3.js} +5 -5
  87. package/dist/index-oPbOSCUk.js +545 -0
  88. package/dist/{kyc-BNMPoeHt.js → kyc-C7NviI9l.js} +1 -1
  89. package/dist/main.js +7 -7
  90. package/dist/{order-BXeCIvqC.js → order-DBuLYKfx.js} +1 -1
  91. package/dist/{otpForm-DeeegaX2.js → otpForm-DhVp5Gvi.js} +2 -2
  92. package/dist/{stake-BO2TYVJ7.js → stake-DGXpiw_Y.js} +1 -1
  93. package/dist/styles.module-C99UuHOT.js +22 -0
  94. package/dist/{wallet-BPXOp8UG.js → wallet-BLx0XKpK.js} +1 -1
  95. package/package.json +7 -7
  96. package/dist/bank-HVb0GFsa.js +0 -37
  97. package/dist/index-CTPMPwYK.js +0 -533
  98. package/dist/styles.module-C1sNeKjL.js +0 -22
@@ -1,13 +1,13 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../hoc/withThemeProvider.js";
4
- import { b as f, C as Y, F as b, M as d, P as l, i as u } from "../../../index-DuWW5roi.js";
4
+ import { b as f, C as Y, F as b, M as d, P as l, i as u } from "../../../index-D7Eq-pbC.js";
5
5
  import "../../../react-redux-C7I9-1M6.js";
6
- import "../../../constants-DX0YBtP2.js";
7
- import "../../../PlayArrow-71FP5PzJ.js";
8
- import "../../../cryptoAssets-B8rAI7pp.js";
9
- import "../../../wallet-BPXOp8UG.js";
10
- import "../../../order-BXeCIvqC.js";
6
+ import "../../../constants-BRS2liAt.js";
7
+ import "../../../PlayArrow-WUr_Eyo1.js";
8
+ import "../../../cryptoAssets-BD0cJpXM.js";
9
+ import "../../../wallet-BLx0XKpK.js";
10
+ import "../../../order-DBuLYKfx.js";
11
11
  import "../../../util/constants.js";
12
12
  import "../../../context/snackBarContext.js";
13
13
  import "../Shared/Container/index.js";
@@ -6,8 +6,8 @@ import p from "../../../hoc/withThemeProvider.js";
6
6
  import "../../../index-DlQqWbXG.js";
7
7
  import "../Shared/appButton.js";
8
8
  import "react";
9
- import "../../../otpForm-DeeegaX2.js";
10
- import "../../../constants-DX0YBtP2.js";
9
+ import "../../../otpForm-DhVp5Gvi.js";
10
+ import "../../../constants-BRS2liAt.js";
11
11
  import { useSnackBarContext as h } from "../../../context/snackBarContext.js";
12
12
  import "../../../util/conversions.js";
13
13
  import "../../../index-CAoLi5Qq.js";
@@ -5,8 +5,8 @@ import { useRef as _, useState as A, createRef as w } from "react";
5
5
  import b from "./input.js";
6
6
  import "../../../index-DlQqWbXG.js";
7
7
  import "../../../hoc/withThemeProvider.js";
8
- import "../../../otpForm-DeeegaX2.js";
9
- import "../../../constants-DX0YBtP2.js";
8
+ import "../../../otpForm-DhVp5Gvi.js";
9
+ import "../../../constants-BRS2liAt.js";
10
10
  import { useSnackBarContext as I } from "../../../context/snackBarContext.js";
11
11
  import v from "../../../hooks/useEverestDispatch.js";
12
12
  import "../../../util/conversions.js";
@@ -14,13 +14,13 @@ import me from "./orgInfo.js";
14
14
  import pe from "./orgDetails.js";
15
15
  import fe from "./verify.js";
16
16
  import Te from "./success.js";
17
- import { K as _e, a as y, b as h, c as b, d as ue, e as Ce, f as de } from "../../../constants-DX0YBtP2.js";
18
- import { r as u, k as De } from "../../../kyc-BNMPoeHt.js";
17
+ import { K as _e, a as y, b as h, c as b, d as ue, e as Ce, f as de } from "../../../constants-BRS2liAt.js";
18
+ import { r as u, k as De } from "../../../kyc-C7NviI9l.js";
19
19
  import { u as K } from "../../../react-redux-C7I9-1M6.js";
20
20
  import Oe from "../../Shared/loader.js";
21
21
  import "../../../index-DlQqWbXG.js";
22
22
  import Ee from "../Shared/appButton.js";
23
- import "../../../otpForm-DeeegaX2.js";
23
+ import "../../../otpForm-DhVp5Gvi.js";
24
24
  import { useSnackBarContext as Ne } from "../../../context/snackBarContext.js";
25
25
  import Ae from "../../../hooks/useEverestDispatch.js";
26
26
  import "../../../util/conversions.js";
@@ -31,7 +31,7 @@ import "../../../moment-h96o7c8I.js";
31
31
  import "../../../index.esm-BsMAMhYW.js";
32
32
  import "../../../web3-u4qDZYpo.js";
33
33
  import "../../../index-ceeCtFuh.js";
34
- import { F as g } from "../../../index-CTPMPwYK.js";
34
+ import { F as g } from "../../../index-oPbOSCUk.js";
35
35
  import "../../../context/dialogContext.js";
36
36
  import "@mui/icons-material";
37
37
  const C = {
@@ -5,9 +5,9 @@ import { useRef as d, useState as S, useEffect as b, createRef as P } from "reac
5
5
  import D from "./input.js";
6
6
  import "../../../index-DlQqWbXG.js";
7
7
  import "../../../hoc/withThemeProvider.js";
8
- import "../../../otpForm-DeeegaX2.js";
9
- import "../../../constants-DX0YBtP2.js";
10
- import { a } from "../../../kyc-BNMPoeHt.js";
8
+ import "../../../otpForm-DhVp5Gvi.js";
9
+ import "../../../constants-BRS2liAt.js";
10
+ import { a } from "../../../kyc-C7NviI9l.js";
11
11
  import { useSnackBarContext as q } from "../../../context/snackBarContext.js";
12
12
  import G from "../../../hooks/useEverestDispatch.js";
13
13
  import "../../../util/conversions.js";
@@ -7,7 +7,7 @@ import * as N from "react";
7
7
  import I, { Children as Wn, isValidElement as xt, cloneElement as Pt, useRef as Vn, useState as zn } from "react";
8
8
  import Zn from "react-dom";
9
9
  import { P as o, b as F, a as K, s as k, u as J, g as dt, d as at, c as B, m as nt, e as $t, r as Hn, f as Yn } from "../../../memoTheme-DnE8lj0t.js";
10
- import { e as Kn, c as St, i as Xn, L as wt, u as Qn, F as Jn, T as _n, M as qn } from "../../../otpForm-DeeegaX2.js";
10
+ import { e as Kn, c as St, i as Xn, L as wt, u as Qn, F as Jn, T as _n, M as qn } from "../../../otpForm-DhVp5Gvi.js";
11
11
  import { _ as tr, a as er, T as ge, u as nr, b as rr, c as Jt, d as It, r as dr, e as rn, f as ar, g as Zt, h as ir } from "../../../Portal-BeS9yJCZ.js";
12
12
  import { keyframes as Ct, css as dn } from "@emotion/react";
13
13
  import { i as ye } from "../../../tooltip-BW0UyWw7.js";
@@ -17,7 +17,7 @@ import _ from "./input.js";
17
17
  import { pick as lr } from "../../../util/functions.js";
18
18
  import "../../../index-DlQqWbXG.js";
19
19
  import "../../../hoc/withThemeProvider.js";
20
- import "../../../constants-DX0YBtP2.js";
20
+ import "../../../constants-BRS2liAt.js";
21
21
  import { useSnackBarContext as ur } from "../../../context/snackBarContext.js";
22
22
  import "../../../util/conversions.js";
23
23
  import "../../../index-CAoLi5Qq.js";
@@ -8,8 +8,8 @@ import { c as C } from "../../../createSvgIcon-B28GrUxG.js";
8
8
  import { useState as b } from "react";
9
9
  import "../../../index-DlQqWbXG.js";
10
10
  import "../../../hoc/withThemeProvider.js";
11
- import "../../../otpForm-DeeegaX2.js";
12
- import "../../../constants-DX0YBtP2.js";
11
+ import "../../../otpForm-DhVp5Gvi.js";
12
+ import "../../../constants-BRS2liAt.js";
13
13
  import { useSnackBarContext as k } from "../../../context/snackBarContext.js";
14
14
  import "../../../util/conversions.js";
15
15
  import "../../../index-CAoLi5Qq.js";
@@ -2,8 +2,8 @@ import { jsx as e, jsxs as p, Fragment as i } from "react/jsx-runtime";
2
2
  import { useState as u, useEffect as h } from "react";
3
3
  import f from "../../../hoc/withThemeProvider.js";
4
4
  import { u as g } from "../../../react-redux-C7I9-1M6.js";
5
- import "../../../constants-DX0YBtP2.js";
6
- import { a as x } from "../../../order-BXeCIvqC.js";
5
+ import "../../../constants-BRS2liAt.js";
6
+ import { a as x } from "../../../order-DBuLYKfx.js";
7
7
  import { Box as n, Pagination as P, CircularProgress as N, Typography as v } from "@mui/material";
8
8
  import y from "../../Shared/HistoryItem/index.js";
9
9
  import { AuthContainer as C } from "../Shared/Container/index.js";
@@ -8,11 +8,11 @@ import { AuthContainer as ee } from "../Shared/Container/index.js";
8
8
  import T from "../Shared/appButton.js";
9
9
  import "../../../hoc/withThemeProvider.js";
10
10
  import { displayWalletAddress as te } from "../../../util/functions.js";
11
- import { BACK_BTN_ICON as re, EVER_CHAIN_NETWORK as k, ETHEREUM_NETWORK as N } from "../../../util/constants.js";
12
- import "../../../otpForm-DeeegaX2.js";
13
- import { at as se, au as oe, av as ne, aw as ae, ax as ie } from "../../../constants-DX0YBtP2.js";
14
- import { a as ce } from "../../../index-BQNs1mvn.js";
15
- import { h as le } from "../../../wallet-BPXOp8UG.js";
11
+ import { BACK_BTN_ICON as re, EVER_CHAIN_NETWORK as z, ETHEREUM_NETWORK as N } from "../../../util/constants.js";
12
+ import "../../../otpForm-DhVp5Gvi.js";
13
+ import { av as se, aw as oe, ax as ne, ay as ae, az as ie } from "../../../constants-BRS2liAt.js";
14
+ import { a as ce } from "../../../index-CREgBh59.js";
15
+ import { h as le } from "../../../wallet-BLx0XKpK.js";
16
16
  import { useSnackBarContext as de } from "../../../context/snackBarContext.js";
17
17
  import me from "../../../hooks/useEverestDispatch.js";
18
18
  import { numberFormat as he, fromHuman as ue, getGweiFromWei as pe, getUnFormattedValueFromWei as fe } from "../../../util/conversions.js";
@@ -41,7 +41,7 @@ import '../../../assets/index6.css';const ge = (r) => ({
41
41
  payload: r
42
42
  }), we = () => ({
43
43
  type: se
44
- }), Te = "_container_nw82g_1", q = {
44
+ }), Te = "_container_nw82g_1", k = {
45
45
  container: Te,
46
46
  "inner-container": "_inner-container_nw82g_13",
47
47
  "heading-text": "_heading-text_nw82g_27",
@@ -54,7 +54,7 @@ import '../../../assets/index6.css';const ge = (r) => ({
54
54
  onBack: d,
55
55
  initialBalance: m
56
56
  }) => {
57
- const { showAlertMessage: S } = de(), h = me(), i = b((t) => t.bridge), c = i.gasFee, W = i.loader, y = i.error, v = i.withdrawStatus, C = i.txId, z = (t) => t ? ("GasLimit" in t ? t.GasLimit : t.gasLimit) ?? 0 : 0, B = (t) => {
57
+ const { showAlertMessage: S } = de(), h = me(), i = b((t) => t.bridge), c = i.gasFee, W = i.loader, y = i.error, v = i.withdrawStatus, C = i.txId, q = (t) => t ? ("GasLimit" in t ? t.GasLimit : t.gasLimit) ?? 0 : 0, B = (t) => {
58
58
  var o;
59
59
  if (t)
60
60
  return (o = "BaseGasPriceCap" in t ? t.BaseGasPriceCap : t.baseGasPriceCap) == null ? void 0 : o.toString();
@@ -64,11 +64,11 @@ import '../../../assets/index6.css';const ge = (r) => ({
64
64
  return (o = "TotalMaxEthSpent" in t ? t.TotalMaxEthSpent : t.totalMaxEthSpent) == null ? void 0 : o.toString();
65
65
  }, I = b((t) => t.user.wallets);
66
66
  I.loader;
67
- const P = I.data, g = a === k ? N : k, l = b(ce).everWalletAddress, [U, F] = R(m ?? ""), H = he(U), [G, O] = R(""), [V, x] = R(!1), E = ue(G, r === "ID" ? 18 : 6);
67
+ const P = I.data, g = a === z ? N : z, l = b(ce).everWalletAddress, [U, F] = R(m ?? ""), H = he(U), [G, O] = R(""), [V, x] = R(!1), E = ue(G, r === "ID" ? 18 : 6);
68
68
  _(() => (m || h(le()), () => {
69
69
  h(we());
70
70
  }), [m]), _(() => {
71
- i.showFeePopUp && z(c) > 0 && x(!0);
71
+ i.showFeePopUp && q(c) > 0 && x(!0);
72
72
  }, [c, i.showFeePopUp]), _(() => {
73
73
  y && S({ message: y });
74
74
  }, [y]), _(() => {
@@ -141,7 +141,7 @@ import '../../../assets/index6.css';const ge = (r) => ({
141
141
  u,
142
142
  {
143
143
  sx: { ml: 4, mt: "-20px !important" },
144
- className: q["heading-text"],
144
+ className: k["heading-text"],
145
145
  variant: "h5",
146
146
  children: /* @__PURE__ */ s("strong", { children: [
147
147
  "Move ",
@@ -210,7 +210,7 @@ import '../../../assets/index6.css';const ge = (r) => ({
210
210
  {
211
211
  "aria-label": "close",
212
212
  onClick: () => x(!1),
213
- className: q["close-btn"],
213
+ className: k["close-btn"],
214
214
  children: /* @__PURE__ */ e(Z, {})
215
215
  }
216
216
  ),
@@ -1,6 +1,6 @@
1
1
  import { jsx as o, jsxs as t } from "react/jsx-runtime";
2
- import C from "react";
3
- import { Box as p, Button as b, Avatar as h, Typography as g, Menu as I, MenuItem as k } from "@mui/material";
2
+ import y from "react";
3
+ import { Box as p, Button as C, Avatar as h, Typography as g, Menu as I, MenuItem as k } from "@mui/material";
4
4
  import { c as v } from "../../../createSvgIcon-B28GrUxG.js";
5
5
  const M = v(/* @__PURE__ */ o("path", {
6
6
  d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z"
@@ -12,14 +12,14 @@ function B({
12
12
  setValue: f,
13
13
  allText: l
14
14
  }) {
15
- const [c, i] = C.useState(null), x = !!c, m = (n) => {
16
- i(n.currentTarget);
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);
15
+ const [c, s] = y.useState(null), x = !!c, m = (n) => {
16
+ s(n.currentTarget);
17
+ }, i = (n) => {
18
+ s(null), typeof n == "string" && f(n);
19
+ }, e = a.find((n) => n.label === r), d = u || (e == null ? void 0 : e.img);
20
20
  return /* @__PURE__ */ t(p, { display: "flex", alignItems: "center", justifyContent: "center", gap: 1, children: [
21
21
  /* @__PURE__ */ t(
22
- b,
22
+ C,
23
23
  {
24
24
  onClick: m,
25
25
  sx: {
@@ -33,10 +33,10 @@ function B({
33
33
  },
34
34
  endIcon: /* @__PURE__ */ o(M, {}),
35
35
  children: [
36
- s && /* @__PURE__ */ o(
36
+ d && /* @__PURE__ */ o(
37
37
  h,
38
38
  {
39
- src: s,
39
+ src: d,
40
40
  alt: "dd-icon",
41
41
  sx: { width: 24, height: 24, marginRight: 1 }
42
42
  }
@@ -45,25 +45,40 @@ function B({
45
45
  ]
46
46
  }
47
47
  ),
48
- /* @__PURE__ */ o(I, { anchorEl: c, open: x, onClose: () => d(null), children: a.map((n, y) => /* @__PURE__ */ o(
49
- k,
48
+ /* @__PURE__ */ o(
49
+ I,
50
50
  {
51
- onClick: () => d(n.value),
52
- value: n.value,
53
- children: /* @__PURE__ */ t(p, { display: "flex", alignItems: "center", gap: 1, children: [
54
- n.img && /* @__PURE__ */ o(
55
- h,
56
- {
57
- src: n.img,
58
- alt: n.label,
59
- sx: { width: 20, height: 20 }
51
+ anchorEl: c,
52
+ open: x,
53
+ onClose: () => i(null),
54
+ slotProps: {
55
+ paper: {
56
+ sx: {
57
+ borderRadius: "8px"
60
58
  }
61
- ),
62
- /* @__PURE__ */ o(g, { variant: "body2", children: n.label })
63
- ] })
64
- },
65
- y
66
- )) })
59
+ }
60
+ },
61
+ children: a.map((n, b) => /* @__PURE__ */ o(
62
+ k,
63
+ {
64
+ onClick: () => i(n.value),
65
+ value: n.value,
66
+ children: /* @__PURE__ */ t(p, { display: "flex", alignItems: "center", gap: 1, children: [
67
+ n.img && /* @__PURE__ */ o(
68
+ h,
69
+ {
70
+ src: n.img,
71
+ alt: n.label,
72
+ sx: { width: 20, height: 20 }
73
+ }
74
+ ),
75
+ /* @__PURE__ */ o(g, { variant: "body2", children: n.label })
76
+ ] })
77
+ },
78
+ b
79
+ ))
80
+ }
81
+ )
67
82
  ] });
68
83
  }
69
84
  export {
@@ -1,10 +1,10 @@
1
1
  import { jsx as B, Fragment as HA, jsxs as s } from "react/jsx-runtime";
2
2
  import { US_DOLLAR_ISO3 as h, EVER_CHAIN_NETWORK as k, EURO_ISO3 as NA, DIALOG_SUCCESS_ICON as hA, BACK_BTN_ICON as IA, DIALOG_ERROR_ICON as mA } from "../../../util/constants.js";
3
3
  import { useTheme as WA, Box as o, Grid as t, Typography as P, CircularProgress as K } from "@mui/material";
4
- import "../../../constants-DX0YBtP2.js";
5
- import { i as dA } from "../../../wallet-BPXOp8UG.js";
6
- import { k as xA } from "../../../order-BXeCIvqC.js";
7
- import { c as CA } from "../../../stake-BO2TYVJ7.js";
4
+ import "../../../constants-BRS2liAt.js";
5
+ import { i as dA } from "../../../wallet-BLx0XKpK.js";
6
+ import { k as xA } from "../../../order-DBuLYKfx.js";
7
+ import { c as CA } from "../../../stake-DGXpiw_Y.js";
8
8
  import { useState as r, useEffect as M, createRef as F } from "react";
9
9
  import { u as I } from "../../../react-redux-C7I9-1M6.js";
10
10
  import { s as m, T as J } from "../../../tokenRow-BiNtHOKV.js";
@@ -14,7 +14,7 @@ import pA from "../../../hoc/withThemeProvider.js";
14
14
  import "../../../index-DlQqWbXG.js";
15
15
  import { AuthInnerContainer as ZA, AuthContainer as LA } from "../Shared/Container/index.js";
16
16
  import $ from "../Shared/appButton.js";
17
- import "../../../otpForm-DeeegaX2.js";
17
+ import "../../../otpForm-DhVp5Gvi.js";
18
18
  import { useSnackBarContext as yA } from "../../../context/snackBarContext.js";
19
19
  import TA from "../../../hooks/useEverestDispatch.js";
20
20
  import "../../../index-CAoLi5Qq.js";
@@ -1,6 +1,6 @@
1
- import { jsxs as t, Fragment as v, jsx as e } from "react/jsx-runtime";
1
+ import { jsxs as t, Fragment as N, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as f, useEffect as F, useRef as Y } from "react";
3
- import { Backdrop as oe, CircularProgress as W, Typography as l, Button as re, Box as c, Dialog as B, DialogTitle as $, IconButton as k, Divider as H, DialogContent as j, Grid as h } from "@mui/material";
3
+ import { Backdrop as oe, CircularProgress as W, Typography as l, Button as re, Box as c, Dialog as B, DialogTitle as $, IconButton as k, Divider as H, DialogContent as j, Grid as u } from "@mui/material";
4
4
  import { C as z } from "../../../Close-DSxLLo08.js";
5
5
  import { D as ie } from "../../../Delete-Bj8zmXnh.js";
6
6
  import { C as ce } from "../../../Cancel-pHQsCjtK.js";
@@ -10,14 +10,14 @@ import { W as ae } from "../../../react-webcam-B3cXh1XT.js";
10
10
  import { A as se } from "../../../ArrowBack-DEJjwfp0.js";
11
11
  import de from "../../Shared/transition.js";
12
12
  import { getDocName as me } from "../../../util/functions.js";
13
- import { u as he } from "../../../react-redux-C7I9-1M6.js";
14
- import { ag as ue, ah as pe, ai as fe, aj as ge, ak as xe, al as De } from "../../../constants-DX0YBtP2.js";
15
- import { e as Ce } from "../../../index-BQNs1mvn.js";
13
+ import { u as ue } from "../../../react-redux-C7I9-1M6.js";
14
+ import { aj as he, ak as pe, al as fe, am as ge, an as xe, ao as De } from "../../../constants-BRS2liAt.js";
15
+ import { e as Ce } from "../../../index-CREgBh59.js";
16
16
  import { s as i } from "../../../styles.module-DFoezEqS.js";
17
17
  import { RIGHT_ARROW as V, DELETE_ICON as be } from "../../../util/constants.js";
18
- import { useDialog as ve } from "../../../hooks/useDialog/index.js";
18
+ import { useDialog as Ne } from "../../../hooks/useDialog/index.js";
19
19
  import g from "../Shared/appButton.js";
20
- import Ne from "../../../hooks/useEverestDispatch.js";
20
+ import ve from "../../../hooks/useEverestDispatch.js";
21
21
  const ye = () => ({
22
22
  type: pe
23
23
  }), Ee = (o) => ({
@@ -27,7 +27,7 @@ const ye = () => ({
27
27
  type: xe,
28
28
  payload: o
29
29
  }), J = () => ({
30
- type: ue
30
+ type: he
31
31
  }), Te = (o) => ({
32
32
  type: De,
33
33
  payload: o
@@ -38,7 +38,7 @@ const ye = () => ({
38
38
  showAlertMessage: o,
39
39
  documentName: m,
40
40
  setDocumentName: x,
41
- setDocumentScreen: u
41
+ setDocumentScreen: h
42
42
  }) => /* @__PURE__ */ t(c, { className: "text-center", children: [
43
43
  /* @__PURE__ */ e(L, { totalSteps: 2, currentStep: 1 }),
44
44
  /* @__PURE__ */ e(l, { className: "secondary-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Name your document" }) }),
@@ -57,7 +57,7 @@ const ye = () => ({
57
57
  onClick: () => {
58
58
  if (!m)
59
59
  return o({ message: "Please provide the document name" }), !1;
60
- u(2);
60
+ h(2);
61
61
  },
62
62
  disabled: !m,
63
63
  fullWidth: !0,
@@ -68,7 +68,7 @@ const ye = () => ({
68
68
  showAlertMessage: o,
69
69
  uploadLoader: m,
70
70
  uploadDocument: x,
71
- documentFile: u,
71
+ documentFile: h,
72
72
  setDocumentFile: a,
73
73
  setDocumentScreen: r
74
74
  }) => {
@@ -76,8 +76,8 @@ const ye = () => ({
76
76
  return /* @__PURE__ */ t(c, { className: "text-center", children: [
77
77
  /* @__PURE__ */ e(L, { totalSteps: 2, currentStep: 2 }),
78
78
  /* @__PURE__ */ e(l, { className: "fw500", variant: "h6", children: "Uploaded files must be image format (PDF, PNG or JPEG/JPG)" }),
79
- /* @__PURE__ */ t(h, { mt: 2, container: !0, spacing: 2, children: [
80
- /* @__PURE__ */ e(h, { size: 6, children: /* @__PURE__ */ e(
79
+ /* @__PURE__ */ t(u, { mt: 2, container: !0, spacing: 2, children: [
80
+ /* @__PURE__ */ e(u, { size: 6, children: /* @__PURE__ */ e(
81
81
  g,
82
82
  {
83
83
  variantType: "secondary",
@@ -86,7 +86,7 @@ const ye = () => ({
86
86
  children: "Use Camera"
87
87
  }
88
88
  ) }),
89
- /* @__PURE__ */ e(h, { size: 6, children: /* @__PURE__ */ e(
89
+ /* @__PURE__ */ e(u, { size: 6, children: /* @__PURE__ */ e(
90
90
  g,
91
91
  {
92
92
  variantType: "secondary",
@@ -134,11 +134,11 @@ const ye = () => ({
134
134
  {
135
135
  sx: { mt: 4, mb: 4 },
136
136
  onClick: () => {
137
- if (!u)
137
+ if (!h)
138
138
  return o({ message: "Please provide the document" }), !1;
139
139
  x();
140
140
  },
141
- disabled: !u,
141
+ disabled: !h,
142
142
  fullWidth: !0,
143
143
  children: /* @__PURE__ */ e("strong", { children: "Submit" })
144
144
  }
@@ -148,7 +148,7 @@ const ye = () => ({
148
148
  showAlertMessage: o,
149
149
  documentFile: m,
150
150
  setDocumentFile: x,
151
- uploadDocument: u,
151
+ uploadDocument: h,
152
152
  uploadLoader: a
153
153
  }) => {
154
154
  const r = Y(null), s = {
@@ -171,16 +171,16 @@ const ye = () => ({
171
171
  const d = r.current.getScreenshot(), b = d.split(/[,]/);
172
172
  x(b[1]), p(d);
173
173
  }
174
- }, N = () => {
174
+ }, v = () => {
175
175
  if (!D)
176
176
  return o({
177
177
  message: "Please take the photo of the document"
178
178
  }), !1;
179
- u();
179
+ h();
180
180
  };
181
181
  return /* @__PURE__ */ t(c, { className: "text-center", children: [
182
182
  /* @__PURE__ */ e(L, { totalSteps: 2, currentStep: 2 }),
183
- D ? /* @__PURE__ */ t(v, { children: [
183
+ D ? /* @__PURE__ */ t(N, { children: [
184
184
  /* @__PURE__ */ t(
185
185
  c,
186
186
  {
@@ -205,11 +205,11 @@ const ye = () => ({
205
205
  /* @__PURE__ */ e("br", {}),
206
206
  "one moment please"
207
207
  ] })
208
- ] }) : /* @__PURE__ */ t(v, { children: [
208
+ ] }) : /* @__PURE__ */ t(N, { children: [
209
209
  /* @__PURE__ */ e(
210
210
  g,
211
211
  {
212
- onClick: N,
212
+ onClick: v,
213
213
  sx: { mt: 6 },
214
214
  disabled: !m,
215
215
  fullWidth: !0,
@@ -227,7 +227,7 @@ const ye = () => ({
227
227
  }
228
228
  )
229
229
  ] })
230
- ] }) : /* @__PURE__ */ t(v, { children: [
230
+ ] }) : /* @__PURE__ */ t(N, { children: [
231
231
  /* @__PURE__ */ t(c, { className: i["doc-video-box"], children: [
232
232
  /* @__PURE__ */ e("span", {}),
233
233
  /* @__PURE__ */ e(
@@ -248,7 +248,7 @@ const ye = () => ({
248
248
  ] })
249
249
  ] });
250
250
  }, Ke = ({ showAlertMessage: o, identityDocs: m }) => {
251
- const { openDialog: x, ConfirmDialog: u } = ve(), a = Ne(), r = he(Ce), s = r.data, D = r.loader, p = r.message, C = r.error, N = r.preview.front, d = r.preview.back, b = r.preview.loader, I = r.uploadLoader, [y, E] = f(!1), [P, O] = f(!1), [w, S] = f(1), [K, Q] = f(!1), [U, q] = f(""), [R, _] = f("");
251
+ const { openDialog: x, ConfirmDialog: h } = Ne(), a = ve(), r = ue(Ce), s = r.data, D = r.loader, p = r.message, C = r.error, v = r.preview.front, d = r.preview.back, b = r.preview.loader, I = r.uploadLoader, [y, E] = f(!1), [P, O] = f(!1), [w, S] = f(1), [K, Q] = f(!1), [U, q] = f(""), [R, _] = f("");
252
252
  F(() => {
253
253
  C && o({ message: C });
254
254
  }, [C]), F(() => {
@@ -293,9 +293,9 @@ const ye = () => ({
293
293
  {
294
294
  className: i["menu-item"],
295
295
  onClick: () => n.documentId && Z(n.documentId),
296
- children: /* @__PURE__ */ t(h, { container: !0, sx: { width: "100%" }, children: [
297
- /* @__PURE__ */ e(h, { size: 10, className: "content-center", children: /* @__PURE__ */ e(c, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(l, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.documentType && me(n.documentType) }) }) }) }),
298
- /* @__PURE__ */ e(h, { size: 2, children: /* @__PURE__ */ e(l, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: V, alt: "arrow" }) }) })
296
+ children: /* @__PURE__ */ t(u, { container: !0, sx: { width: "100%" }, children: [
297
+ /* @__PURE__ */ e(u, { size: 10, className: "content-center", children: /* @__PURE__ */ e(c, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(l, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.documentType && me(n.documentType) }) }) }) }),
298
+ /* @__PURE__ */ e(u, { size: 2, children: /* @__PURE__ */ e(l, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: V, alt: "arrow" }) }) })
299
299
  ] })
300
300
  }
301
301
  ) : /* @__PURE__ */ t(c, { sx: { position: "relative" }, className: i["menu-item"], children: [
@@ -308,22 +308,22 @@ const ye = () => ({
308
308
  }
309
309
  ),
310
310
  /* @__PURE__ */ t(
311
- h,
311
+ u,
312
312
  {
313
313
  onClick: () => ee(n.filename),
314
314
  container: !0,
315
315
  sx: { width: "100%" },
316
316
  children: [
317
- /* @__PURE__ */ e(h, { size: 10, className: "content-center", children: /* @__PURE__ */ e(c, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(l, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.filename }) }) }) }),
318
- /* @__PURE__ */ e(h, { size: 2, children: /* @__PURE__ */ e(l, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: V, alt: "arrow" }) }) })
317
+ /* @__PURE__ */ e(u, { size: 10, className: "content-center", children: /* @__PURE__ */ e(c, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(l, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.filename }) }) }) }),
318
+ /* @__PURE__ */ e(u, { size: 2, children: /* @__PURE__ */ e(l, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: V, alt: "arrow" }) }) })
319
319
  ]
320
320
  }
321
321
  )
322
322
  ] }), A = () => {
323
323
  q(""), _(""), S(1), Q(!1);
324
324
  };
325
- return /* @__PURE__ */ t(v, { children: [
326
- /* @__PURE__ */ e(u, {}),
325
+ return /* @__PURE__ */ t(N, { children: [
326
+ /* @__PURE__ */ e(h, {}),
327
327
  /* @__PURE__ */ e(
328
328
  oe,
329
329
  {
@@ -349,7 +349,7 @@ const ye = () => ({
349
349
  ]
350
350
  }
351
351
  ),
352
- D ? /* @__PURE__ */ e(c, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(W, {}) }) : /* @__PURE__ */ t(v, { children: [
352
+ D ? /* @__PURE__ */ e(c, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(W, {}) }) : /* @__PURE__ */ t(N, { children: [
353
353
  m && m.map((n, T) => /* @__PURE__ */ e(M, { data: n, type: "identity" }, T)),
354
354
  s && s.map((n, T) => /* @__PURE__ */ e(M, { data: n, type: "normal" }, T)),
355
355
  !m && s.length === 0 && /* @__PURE__ */ e(l, { mt: 4, className: "text-center", variant: "h4", children: "No Documents" })
@@ -360,7 +360,7 @@ const ye = () => ({
360
360
  sx: { mt: 4 },
361
361
  onClick: () => Q(!0),
362
362
  fullWidth: !0,
363
- children: /* @__PURE__ */ e("strong", { children: "Add new document" })
363
+ children: /* @__PURE__ */ e("strong", { children: "Add New Document" })
364
364
  }
365
365
  ),
366
366
  /* @__PURE__ */ t(
@@ -392,7 +392,7 @@ const ye = () => ({
392
392
  /* @__PURE__ */ t(
393
393
  B,
394
394
  {
395
- open: !!N,
395
+ open: !!v,
396
396
  fullWidth: !0,
397
397
  onClose: () => a(J()),
398
398
  children: [
@@ -417,11 +417,11 @@ const ye = () => ({
417
417
  "img",
418
418
  {
419
419
  className: i["video-box-inner-content"],
420
- src: "data:image/jpeg;base64," + N,
420
+ src: "data:image/jpeg;base64," + v,
421
421
  alt: "Front"
422
422
  }
423
423
  ),
424
- d && /* @__PURE__ */ t(v, { children: [
424
+ d && /* @__PURE__ */ t(N, { children: [
425
425
  /* @__PURE__ */ e(l, { variant: "h5", mt: 2, mb: 3, children: "Back Image" }),
426
426
  /* @__PURE__ */ e(
427
427
  "img",
@@ -1,8 +1,8 @@
1
1
  import { jsxs as r, Fragment as U, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as Z, useEffect as _ } from "react";
3
3
  import { u as R } from "../../../react-redux-C7I9-1M6.js";
4
- import { ap as q, aq as W, ar as Q, as as X, c as b, K as j } from "../../../constants-DX0YBtP2.js";
5
- import { a as $ } from "../../../index-BQNs1mvn.js";
4
+ import { ar as W, as as q, at as Q, au as X, c as b, K as j } from "../../../constants-BRS2liAt.js";
5
+ import { a as $ } from "../../../index-CREgBh59.js";
6
6
  import { Grid as t, Box as h, Typography as n, Button as p, Avatar as J, Divider as e2, Dialog as t2, DialogContent as r2 } from "@mui/material";
7
7
  import { s as o } from "../../../styles.module-DFoezEqS.js";
8
8
  import l from "../Shared/inputField.js";
@@ -12,7 +12,7 @@ import n2 from "../../../hoc/withThemeProvider.js";
12
12
  import "../../../index-DlQqWbXG.js";
13
13
  import { AuthInnerContainer as L } from "../Shared/Container/index.js";
14
14
  import "../Shared/appButton.js";
15
- import "../../../otpForm-DeeegaX2.js";
15
+ import "../../../otpForm-DhVp5Gvi.js";
16
16
  import { useSnackBarContext as c2 } from "../../../context/snackBarContext.js";
17
17
  import d2 from "../../../hooks/useEverestDispatch.js";
18
18
  import "../../../util/conversions.js";
@@ -28,9 +28,9 @@ import "../../../context/dialogContext.js";
28
28
  import "@mui/icons-material";
29
29
  import f2 from "./storage.js";
30
30
  const u2 = () => ({
31
- type: q
32
- }), h2 = () => ({
33
31
  type: W
32
+ }), h2 = () => ({
33
+ type: q
34
34
  }), m2 = () => ({
35
35
  type: Q
36
36
  }), C2 = (g) => ({