everest-npm-features 0.0.63 → 0.0.65

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 (108) hide show
  1. package/dist/{PlayArrow-71FP5PzJ.js → PlayArrow-DbQI55la.js} +5 -5
  2. package/dist/assets/styles.css +1 -1
  3. package/dist/assets/styles2.css +1 -1
  4. package/dist/{auth-BBeOw4mt.js → auth-D_DKdP4p.js} +1 -1
  5. package/dist/bank-DIuQN1YY.js +47 -0
  6. package/dist/components/RocketRamp/MinimalKyc/form.js +5 -5
  7. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
  8. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
  9. package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
  10. package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
  11. package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
  12. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
  13. package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
  14. package/dist/components/RocketRamp/Player/Sell/index.js +7 -7
  15. package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
  16. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
  17. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
  18. package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
  19. package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
  20. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
  21. package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
  22. package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
  23. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
  24. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
  25. package/dist/components/RocketRamp/Transactions/index.js +2 -2
  26. package/dist/components/Shared/FullKyc/countryList.js +33 -30
  27. package/dist/components/Shared/FullKyc/edd.js +5 -5
  28. package/dist/components/Shared/FullKyc/index.js +11 -10
  29. package/dist/components/Shared/FullKyc/pep.js +77 -73
  30. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  31. package/dist/components/Shared/FullKyc/types.d.ts +4 -4
  32. package/dist/components/Shared/FullKyc/userInfo.js +5 -5
  33. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  34. package/dist/components/Shared/Sumsub/index.d.ts +1 -1
  35. package/dist/components/Shared/Sumsub/index.js +36 -34
  36. package/dist/components/Wallet/Account/createIban.js +16 -541
  37. package/dist/components/Wallet/Account/eWallet.js +7 -7
  38. package/dist/components/Wallet/Account/iban.js +77 -56
  39. package/dist/components/Wallet/Account/ibanItem.js +21 -6
  40. package/dist/components/Wallet/Account/index.js +217 -182
  41. package/dist/components/Wallet/Account/sendIban.js +2 -2
  42. package/dist/components/Wallet/Buy/confirmTransaction.js +7 -7
  43. package/dist/components/Wallet/Buy/form.js +5 -5
  44. package/dist/components/Wallet/Buy/index.js +6 -6
  45. package/dist/components/Wallet/Deposit/index.js +3 -3
  46. package/dist/components/Wallet/EnterpriseKyc/edd.js +4 -4
  47. package/dist/components/Wallet/EnterpriseKyc/index.d.ts +1 -1
  48. package/dist/components/Wallet/EnterpriseKyc/index.js +111 -109
  49. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +5 -5
  50. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3 -3
  51. package/dist/components/Wallet/EnterpriseKyc/types.d.ts +16 -4
  52. package/dist/components/Wallet/EnterpriseKyc/verify.js +3 -3
  53. package/dist/components/Wallet/History/index.js +2 -2
  54. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +5 -5
  55. package/dist/components/Wallet/Portfolio/dropdown.js +42 -27
  56. package/dist/components/Wallet/Portfolio/index.js +7 -7
  57. package/dist/components/Wallet/Profile/documents.js +76 -69
  58. package/dist/components/Wallet/Profile/index.js +71 -50
  59. package/dist/components/Wallet/Profile/storage.js +32 -25
  60. package/dist/components/Wallet/Receive/index.js +3 -3
  61. package/dist/components/Wallet/Sell/confirmTransaction.js +6 -6
  62. package/dist/components/Wallet/Sell/form.js +5 -5
  63. package/dist/components/Wallet/Sell/index.js +6 -6
  64. package/dist/components/Wallet/Send/index.js +37 -37
  65. package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
  66. package/dist/components/Wallet/Shared/BankSelect/index.js +4 -4
  67. package/dist/components/Wallet/Shared/CardCorp/index.js +3 -3
  68. package/dist/components/Wallet/Shared/addBank.js +5 -5
  69. package/dist/components/Wallet/Shared/connectPlaidBank.js +7 -7
  70. package/dist/components/Wallet/Shared/manualSend.js +5 -5
  71. package/dist/components/Wallet/SignIn/index.js +3 -3
  72. package/dist/components/Wallet/SignUp/index.js +3 -3
  73. package/dist/components/Wallet/Stake/gems/index.js +34 -31
  74. package/dist/components/Wallet/Stake/id/index.js +24 -16
  75. package/dist/components/Wallet/Stake/index.js +7 -7
  76. package/dist/components/Wallet/Swap/form.js +8 -8
  77. package/dist/components/Wallet/Swap/index.js +5 -5
  78. package/dist/components/Wallet/Withdraw/bankSelect.js +5 -5
  79. package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
  80. package/dist/components/Wallet/Withdraw/form.js +4 -4
  81. package/dist/components/Wallet/Withdraw/index.js +5 -5
  82. package/dist/{constants-DX0YBtP2.js → constants-B-_x7F8X.js} +221 -219
  83. package/dist/createIban-CbxsxTxl.js +580 -0
  84. package/dist/{cryptoAssets-B8rAI7pp.js → cryptoAssets-Cmdg7BR-.js} +1 -1
  85. package/dist/hooks/useDialog/index.js +11 -9
  86. package/dist/{index-DkiQ8pRO.js → index-9VVh1IhH.js} +52 -52
  87. package/dist/{index-JY6-UKlX.js → index-BeEuJLqT.js} +88 -87
  88. package/dist/{index-BQNs1mvn.js → index-CREgBh59.js} +4 -3
  89. package/dist/{index-_fiTunwZ.js → index-C_Vf8Evc.js} +4 -4
  90. package/dist/{index-bK14vCZw.js → index-Cx8dey5q.js} +6 -6
  91. package/dist/{index-B4XvACQN.js → index-DXw2h9nQ.js} +71 -70
  92. package/dist/index-DtTDOPWZ.js +562 -0
  93. package/dist/{index-DuWW5roi.js → index-DuOJBwgp.js} +66 -65
  94. package/dist/{kyc-BNMPoeHt.js → kyc-BXoUxN4z.js} +1 -1
  95. package/dist/main.js +7 -7
  96. package/dist/{order-BXeCIvqC.js → order-DAiOqPsI.js} +1 -1
  97. package/dist/{otpForm-DeeegaX2.js → otpForm-WjQmPs8D.js} +2 -2
  98. package/dist/{stake-BO2TYVJ7.js → stake-CzXNB3em.js} +1 -1
  99. package/dist/styles.module-4N8hJhXS.js +22 -0
  100. package/dist/styles.module-DYytghn2.js +28 -0
  101. package/dist/util/constants.d.ts +2 -2
  102. package/dist/util/constants.js +1 -1
  103. package/dist/{wallet-BPXOp8UG.js → wallet-Cw-0XynY.js} +1 -1
  104. package/package.json +7 -7
  105. package/dist/bank-HVb0GFsa.js +0 -37
  106. package/dist/index-CTPMPwYK.js +0 -533
  107. package/dist/styles.module-C1sNeKjL.js +0 -22
  108. package/dist/styles.module-DFoezEqS.js +0 -28
@@ -1,14 +1,14 @@
1
1
  import { jsxs as r, Fragment as E, jsx as e } from "react/jsx-runtime";
2
2
  import { useMemo as et, useState as p, useEffect as x, useRef as tt } from "react";
3
3
  import nt from "./hoc/withThemeProvider.js";
4
- import { Grid as n, Typography as i, FormControl as V, FilledInput as te, FormHelperText as Ee, CircularProgress as I, InputLabel as Te, Select as le, MenuItem as ne, ListItemIcon as Ae, Box as T, IconButton as me, Divider as ce } from "@mui/material";
5
- import { P as rt, f as ot } from "./PlayArrow-71FP5PzJ.js";
4
+ import { Grid as n, Typography as i, FormControl as V, FilledInput as te, FormHelperText as Te, CircularProgress as F, InputLabel as Ae, Select as le, MenuItem as ne, ListItemIcon as Ie, Box as T, IconButton as de, Divider as ce } from "@mui/material";
5
+ import { P as rt, f as ot } from "./PlayArrow-DbQI55la.js";
6
6
  import { I as it } from "./Info-DOoRR7sR.js";
7
- import { G as de } from "./generic-token-B_ptO5yb.js";
8
- import { TOKEN_TO_FIAT as ue, ESTIMATE_TOOLTIP_TEXT as st, SELL_WITHDRAW_ICON as at, DIALOG_SUCCESS_ICON as Re, DIALOG_ERROR_ICON as lt } from "./util/constants.js";
9
- import { aK as R, af as ct } from "./constants-DX0YBtP2.js";
10
- import { c as ze, d as mt } from "./index-BQNs1mvn.js";
11
- import { d as dt, e as We, b as X, c as Fe, f as ut, i as ht, g as pt } from "./order-BXeCIvqC.js";
7
+ import { G as ue } from "./generic-token-B_ptO5yb.js";
8
+ import { TOKEN_TO_FIAT as he, ESTIMATE_TOOLTIP_TEXT as st, SELL_WITHDRAW_ICON as at, DIALOG_SUCCESS_ICON as Re, DIALOG_ERROR_ICON as lt } from "./util/constants.js";
9
+ import { aM as R, ah as ct } from "./constants-B-_x7F8X.js";
10
+ import { c as ze, d as mt } from "./index-CREgBh59.js";
11
+ import { d as dt, e as We, b as X, c as Fe, f as ut, i as ht, g as pt } from "./order-DAiOqPsI.js";
12
12
  import { M as ft } from "./tooltip-BW0UyWw7.js";
13
13
  import { getCurrencySymbol as Me, getNetworkBackGround as xt, displayWalletAddress as yt } from "./util/functions.js";
14
14
  import gt from "./components/Wallet/Shared/backBtn.js";
@@ -16,21 +16,21 @@ import { s as l } from "./styles.module-DMd29SPQ.js";
16
16
  import J from "./components/Wallet/Shared/appButton.js";
17
17
  import { u as L } from "./react-redux-C7I9-1M6.js";
18
18
  import "./index-DlQqWbXG.js";
19
- import "./otpForm-DeeegaX2.js";
20
- import { useSnackBarContext as he } from "./context/snackBarContext.js";
19
+ import "./otpForm-WjQmPs8D.js";
20
+ import { useSnackBarContext as pe } from "./context/snackBarContext.js";
21
21
  import { formatNumberWithoutRounding as bt } from "./util/conversions.js";
22
22
  import { Q as _t } from "./index-CAoLi5Qq.js";
23
23
  import "./react-webcam-B3cXh1XT.js";
24
24
  import "./components/Shared/transition.js";
25
25
  import "./moment-h96o7c8I.js";
26
+ import "./index.esm-I_Bp2YLf.js";
26
27
  import "./index.esm-BsMAMhYW.js";
27
28
  import "./web3-u4qDZYpo.js";
28
29
  import "./index-ceeCtFuh.js";
29
- import "./index.esm-I_Bp2YLf.js";
30
30
  import { useDialogContext as Le } from "./context/dialogContext.js";
31
31
  import "@mui/icons-material";
32
- import { f as Ct } from "./cryptoAssets-B8rAI7pp.js";
33
- import { u as Nt, a as vt } from "./wallet-BPXOp8UG.js";
32
+ import { f as Ct } from "./cryptoAssets-Cmdg7BR-.js";
33
+ import { u as Nt, a as vt } from "./wallet-Cw-0XynY.js";
34
34
  import { AuthContainer as kt } from "./components/Wallet/Shared/Container/index.js";
35
35
  import St from "./components/Shared/MinimalKyc/index.js";
36
36
  import Oe from "./components/Wallet/Shared/Input/index.js";
@@ -39,8 +39,8 @@ import Et from "./components/Wallet/Shared/timer.js";
39
39
  import Be from "./hooks/useEverestDispatch.js";
40
40
  import Tt from "./components/Wallet/Shared/TokenModal/index.js";
41
41
  import { useDialog as At } from "./hooks/useDialog/index.js";
42
- import Ie from "./components/Wallet/Shared/Order/selectCustomIcon.js";
43
- const Ft = ({
42
+ import me from "./components/Wallet/Shared/Order/selectCustomIcon.js";
43
+ const It = ({
44
44
  setScreen: k,
45
45
  orderData: d,
46
46
  dispatch: c,
@@ -53,24 +53,24 @@ const Ft = ({
53
53
  setWalletAddress: o,
54
54
  navigate: g
55
55
  }) => {
56
- var ke, Se, we;
57
- const { openDialog: v, ConfirmDialog: A } = At(), O = L((t) => t.app.features).withdraw, D = L(ze), G = L(mt), { data: F, loader: K } = D, { data: w, loader: m } = G, H = et(() => [
58
- ...F,
56
+ var Se, we, Ee;
57
+ const { openDialog: v, ConfirmDialog: A } = At(), O = L((t) => t.app.features).withdraw, D = L(ze), G = L(mt), { data: I, loader: H } = D, { data: w, loader: m } = G, K = et(() => [
58
+ ...I,
59
59
  ...w.filter(
60
- (t) => !F.some(
60
+ (t) => !I.some(
61
61
  (s) => s.address.toLowerCase() === t.address.toLowerCase()
62
62
  )
63
63
  )
64
- ], [F, w]), $ = u.fiats, pe = u.loader, B = f.featureTokens.sell.list, _ = f.featureTokens.sell.default, fe = f.loader, Z = d.loader, C = d.estimate[R], W = C.fiat_out_amount, $e = C.conversion_price, Ue = C.total_fee;
65
- let xe = 0, ye = 0;
66
- const ge = C.fee_breakdown;
67
- for (let t = 0; t < ge.length; t++) {
68
- const s = ge[t];
69
- s.name === "ev_fee" ? xe = Number(s.value) : s.name === "network_fee" && (ye = Number(s.value));
64
+ ], [I, w]), $ = u.fiats, fe = u.loader, B = f.featureTokens.sell.list, _ = f.featureTokens.sell.default, xe = f.loader, Z = d.loader, C = d.estimate[R], W = C.fiat_out_amount, $e = C.conversion_price, Ue = C.total_fee;
65
+ let ye = 0, ge = 0;
66
+ const be = C.fee_breakdown;
67
+ for (let t = 0; t < be.length; t++) {
68
+ const s = be[t];
69
+ s.name === "ev_fee" ? ye = Number(s.value) : s.name === "network_fee" && (ge = Number(s.value));
70
70
  }
71
- const [a, be] = p({
71
+ const [a, _e] = p({
72
72
  symbol: ""
73
- }), [re, oe] = p(!1), [P, qe] = p(2), [Ye, De] = p([]), [_e, Ge] = p(!1), [j, Ke] = p(50), [ie, He] = p(3e3), [Ce, se] = p(""), [U, ae] = p(C.crypto_amount || "0.05"), [je, Ne] = p(!1), ee = Number((ke = C == null ? void 0 : C.input_token) == null ? void 0 : ke.fiat_amount), q = $.find((t) => t.id === P), M = Me(q == null ? void 0 : q.symbol);
73
+ }), [re, oe] = p(!1), [P, qe] = p(2), [Ye, De] = p([]), [Ce, Ge] = p(!1), [j, He] = p(50), [ie, Ke] = p(3e3), [Ne, se] = p(""), [U, ae] = p(C.crypto_amount || "0.05"), [je, ve] = p(!1), ee = Number((Se = C == null ? void 0 : C.input_token) == null ? void 0 : Se.fiat_amount), q = $.find((t) => t.id === P), M = Me(q == null ? void 0 : q.symbol);
74
74
  x(() => {
75
75
  const t = [];
76
76
  for (let s = 0; s < $.length; s++) {
@@ -79,7 +79,7 @@ const Ft = ({
79
79
  }
80
80
  De(t);
81
81
  }, [$]), x(() => {
82
- _ && _.id && be(_);
82
+ _ && _.id && _e(_);
83
83
  }, [_]), x(() => {
84
84
  W && (j > +W * 1 && (se(
85
85
  `Minimum value should be greater than ${M + j}`
@@ -103,7 +103,7 @@ const Ft = ({
103
103
  We(
104
104
  {
105
105
  apiKey: z,
106
- transaction_type: ue,
106
+ transaction_type: he,
107
107
  coin_amount: U,
108
108
  exchange: a.exchange,
109
109
  fiat_ccy: q == null ? void 0 : q.symbol,
@@ -119,8 +119,8 @@ const Ft = ({
119
119
  if (t > 0)
120
120
  for (let s = 0; s < t; s++) {
121
121
  const N = d.types[s];
122
- if (N.type === ue) {
123
- Ke(parseFloat(N.min_deposit_amount)), He(parseFloat(N.max_deposit_amount));
122
+ if (N.type === he) {
123
+ He(parseFloat(N.min_deposit_amount)), Ke(parseFloat(N.max_deposit_amount));
124
124
  break;
125
125
  }
126
126
  }
@@ -128,9 +128,9 @@ const Ft = ({
128
128
  const Ve = (t) => {
129
129
  const s = t.target.value;
130
130
  s ? /^([0-9.]+)$/.test(s) && ae(s) : ae("");
131
- }, ve = (t) => {
131
+ }, ke = (t) => {
132
132
  const s = B.find((N) => N.symbol === t);
133
- be(s);
133
+ _e(s);
134
134
  }, Xe = () => {
135
135
  if (!a.id)
136
136
  return y({ message: "Please select token" }), !1;
@@ -213,11 +213,11 @@ const Ft = ({
213
213
  fullWidth: !0
214
214
  }
215
215
  ),
216
- /* @__PURE__ */ e(Ee, { className: l["crypto-helper-text"], children: ee > 0 ? "$" + (ee * 1).toFixed(2) : /* @__PURE__ */ e(E, { children: " " }) })
216
+ /* @__PURE__ */ e(Te, { className: l["crypto-helper-text"], children: ee > 0 ? "$" + (ee * 1).toFixed(2) : /* @__PURE__ */ e(E, { children: " " }) })
217
217
  ]
218
218
  }
219
219
  ) }),
220
- /* @__PURE__ */ e(n, { size: { xs: 5 }, className: "content-center", children: fe ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ r(
220
+ /* @__PURE__ */ e(n, { size: { xs: 5 }, className: "content-center", children: xe ? /* @__PURE__ */ e(F, { sx: { ml: 1 }, size: 30 }) : /* @__PURE__ */ r(
221
221
  V,
222
222
  {
223
223
  variant: "filled",
@@ -225,7 +225,7 @@ const Ft = ({
225
225
  fullWidth: !0,
226
226
  children: [
227
227
  (a == null ? void 0 : a.network) && /* @__PURE__ */ e(
228
- Te,
228
+ Ae,
229
229
  {
230
230
  className: `${l["network-label"]} ${l[xt(a == null ? void 0 : a.network.name)]}`,
231
231
  children: a == null ? void 0 : a.network.name
@@ -234,7 +234,7 @@ const Ft = ({
234
234
  /* @__PURE__ */ r(
235
235
  le,
236
236
  {
237
- IconComponent: Ie,
237
+ IconComponent: me,
238
238
  input: /* @__PURE__ */ e(te, { disableUnderline: !0 }),
239
239
  sx: {
240
240
  borderTopLeftRadius: 0,
@@ -259,21 +259,21 @@ const Ft = ({
259
259
  variant: "filled",
260
260
  value: a.symbol,
261
261
  displayEmpty: !0,
262
- onChange: (t) => ve(t.target.value),
262
+ onChange: (t) => ke(t.target.value),
263
263
  onOpen: (t) => {
264
- Ne(!0), t.preventDefault();
264
+ ve(!0), t.preventDefault();
265
265
  },
266
266
  defaultOpen: !1,
267
267
  open: !1,
268
268
  children: [
269
269
  /* @__PURE__ */ e(ne, { value: "", children: "Please select" }),
270
270
  B.map((t) => /* @__PURE__ */ r(ne, { value: t.symbol, children: [
271
- /* @__PURE__ */ e(Ae, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
271
+ /* @__PURE__ */ e(Ie, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
272
272
  "img",
273
273
  {
274
274
  src: t.icon_uri,
275
275
  onError: ({ currentTarget: s }) => {
276
- s.onerror = null, s.src = de;
276
+ s.onerror = null, s.src = ue;
277
277
  },
278
278
  alt: "tokenImg",
279
279
  width: "40",
@@ -288,7 +288,7 @@ const Ft = ({
288
288
  ]
289
289
  }
290
290
  ) }),
291
- Ce && /* @__PURE__ */ e(i, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: Ce }) })
291
+ Ne && /* @__PURE__ */ e(i, { variant: "caption", sx: { color: "red" }, children: /* @__PURE__ */ e("strong", { children: Ne }) })
292
292
  ] }),
293
293
  /* @__PURE__ */ e(n, { mt: 4, container: !0, children: /* @__PURE__ */ e(n, { size: { xs: 4 }, children: /* @__PURE__ */ e(i, { className: l.label, variant: "caption", component: "p", children: "You Receive" }) }) }),
294
294
  /* @__PURE__ */ r(n, { mt: 0.5, container: !0, className: l["field-set"], children: [
@@ -308,12 +308,12 @@ const Ft = ({
308
308
  fullWidth: !0
309
309
  }
310
310
  ),
311
- /* @__PURE__ */ e(Ee, { className: l["amount-symbol"], children: +((Se = C == null ? void 0 : C.output_token) == null ? void 0 : Se.fiat_amount) * 1 > 0 ? M + (+((we = C == null ? void 0 : C.output_token) == null ? void 0 : we.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(E, { children: " " }) })
311
+ /* @__PURE__ */ e(Te, { className: l["amount-symbol"], children: +((we = C == null ? void 0 : C.output_token) == null ? void 0 : we.fiat_amount) * 1 > 0 ? M + (+((Ee = C == null ? void 0 : C.output_token) == null ? void 0 : Ee.fiat_amount) * 1).toFixed(2) : /* @__PURE__ */ e(E, { children: " " }) })
312
312
  ]
313
313
  }
314
314
  ) }),
315
- /* @__PURE__ */ e(n, { size: { xs: 5 }, className: "content-center", children: pe ? /* @__PURE__ */ e(
316
- I,
315
+ /* @__PURE__ */ e(n, { size: { xs: 5 }, className: "content-center", children: fe ? /* @__PURE__ */ e(
316
+ F,
317
317
  {
318
318
  sx: { ml: 1 },
319
319
  size: 30
@@ -327,7 +327,7 @@ const Ft = ({
327
327
  children: /* @__PURE__ */ e(
328
328
  le,
329
329
  {
330
- IconComponent: Ie,
330
+ IconComponent: me,
331
331
  input: /* @__PURE__ */ e(te, { disableUnderline: !0 }),
332
332
  sx: {
333
333
  borderTopLeftRadius: 0,
@@ -354,12 +354,12 @@ const Ft = ({
354
354
  onChange: (t) => qe(t.target.value),
355
355
  error: re,
356
356
  children: Ye.map((t) => /* @__PURE__ */ r(ne, { value: t.id, children: [
357
- /* @__PURE__ */ e(Ae, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
357
+ /* @__PURE__ */ e(Ie, { className: l["dropdown-list-item"], children: /* @__PURE__ */ e(
358
358
  "img",
359
359
  {
360
360
  src: t.icon_uri,
361
361
  onError: ({ currentTarget: s }) => {
362
- s.onerror = null, s.src = de;
362
+ s.onerror = null, s.src = ue;
363
363
  },
364
364
  alt: "tokenImg",
365
365
  width: "40",
@@ -375,7 +375,7 @@ const Ft = ({
375
375
  ] }),
376
376
  /* @__PURE__ */ e(T, { mt: 3, sx: { color: "#1A202C" }, children: /* @__PURE__ */ r(n, { container: !0, children: [
377
377
  /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 12 }, children: /* @__PURE__ */ r(
378
- me,
378
+ de,
379
379
  {
380
380
  sx: { padding: "0" },
381
381
  onClick: () => Ge((t) => !t),
@@ -387,7 +387,7 @@ const Ft = ({
387
387
  rt,
388
388
  {
389
389
  sx: {
390
- transform: `rotate(${_e ? "90" : "0"}deg)`,
390
+ transform: `rotate(${Ce ? "90" : "0"}deg)`,
391
391
  fontSize: "15px"
392
392
  }
393
393
  }
@@ -395,36 +395,36 @@ const Ft = ({
395
395
  ]
396
396
  }
397
397
  ) }),
398
- _e && /* @__PURE__ */ r(E, { children: [
398
+ Ce && /* @__PURE__ */ r(E, { children: [
399
399
  /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Everest Fee" }) }),
400
400
  /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
401
401
  M,
402
402
  Z ? /* @__PURE__ */ e(
403
- I,
403
+ F,
404
404
  {
405
405
  sx: { ml: 1 },
406
406
  size: 15,
407
407
  color: "primary"
408
408
  }
409
- ) : xe.toFixed(2)
409
+ ) : ye.toFixed(2)
410
410
  ] }) }),
411
411
  /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Network Fee" }) }),
412
412
  /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
413
413
  M,
414
414
  Z ? /* @__PURE__ */ e(
415
- I,
415
+ F,
416
416
  {
417
417
  sx: { ml: 1 },
418
418
  size: 15,
419
419
  color: "primary"
420
420
  }
421
- ) : ye.toFixed(2)
421
+ ) : ge.toFixed(2)
422
422
  ] }) })
423
423
  ] }),
424
424
  /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ e(i, { variant: "caption", children: "Total Fees" }) }),
425
425
  /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
426
426
  M,
427
- Z ? /* @__PURE__ */ e(I, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(Ue).toFixed(2)
427
+ Z ? /* @__PURE__ */ e(F, { sx: { ml: 1 }, size: 15, color: "primary" }) : Number(Ue).toFixed(2)
428
428
  ] }) }),
429
429
  a && /* @__PURE__ */ r(E, { children: [
430
430
  /* @__PURE__ */ e(n, { className: "text-left", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
@@ -436,7 +436,7 @@ const Ft = ({
436
436
  {
437
437
  title: st,
438
438
  placement: "right",
439
- children: /* @__PURE__ */ e(me, { className: "info-fee-icon", children: /* @__PURE__ */ e(
439
+ children: /* @__PURE__ */ e(de, { className: "info-fee-icon", children: /* @__PURE__ */ e(
440
440
  it,
441
441
  {
442
442
  sx: {
@@ -450,7 +450,7 @@ const Ft = ({
450
450
  /* @__PURE__ */ e(n, { className: "text-right", size: { xs: 6 }, children: /* @__PURE__ */ r(i, { variant: "caption", children: [
451
451
  M,
452
452
  Z ? /* @__PURE__ */ e(
453
- I,
453
+ F,
454
454
  {
455
455
  sx: { ml: 1 },
456
456
  size: 15,
@@ -460,14 +460,15 @@ const Ft = ({
460
460
  ] }) })
461
461
  ] })
462
462
  ] }) }),
463
- /* @__PURE__ */ e(T, { sx: { alignItems: "left", width: "100%" }, children: K || m ? /* @__PURE__ */ e(T, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(I, {}) }) : /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(V, { variant: "filled", fullWidth: !0, children: [
464
- !h && /* @__PURE__ */ e(Te, { children: "Select wallet address" }),
463
+ /* @__PURE__ */ e(T, { sx: { alignItems: "left", width: "100%" }, children: H || m ? /* @__PURE__ */ e(T, { mt: 2, sx: { textAlign: "center" }, children: /* @__PURE__ */ e(F, {}) }) : /* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(V, { variant: "filled", fullWidth: !0, children: [
464
+ !h && /* @__PURE__ */ e(Ae, { children: "Select wallet address" }),
465
465
  /* @__PURE__ */ e(
466
466
  le,
467
467
  {
468
+ IconComponent: me,
468
469
  value: h,
469
470
  onChange: (t) => o && o(t.target.value),
470
- children: H.map((t, s) => /* @__PURE__ */ e(ne, { value: t.address, children: t.name + "(" + t.address + ")" }, s))
471
+ children: K.map((t, s) => /* @__PURE__ */ e(ne, { value: t.address, children: t.name + "(" + t.address + ")" }, s))
471
472
  }
472
473
  )
473
474
  ] }) }) }),
@@ -509,14 +510,14 @@ const Ft = ({
509
510
  Tt,
510
511
  {
511
512
  open: je,
512
- setModal: Ne,
513
- loader: fe,
513
+ setModal: ve,
514
+ loader: xe,
514
515
  tokenList: B,
515
- tokenSelect: ve
516
+ tokenSelect: ke
516
517
  }
517
518
  )
518
519
  ] });
519
- }, It = ({
520
+ }, Ft = ({
520
521
  setScreen: k,
521
522
  partnerKey: d,
522
523
  orderData: c,
@@ -525,12 +526,12 @@ const Ft = ({
525
526
  navigate: S
526
527
  }) => {
527
528
  const y = tt(null), z = L(ze), { openDialog: h } = Le();
528
- he();
529
+ pe();
529
530
  const o = c.estimate[R], g = c.create.order_id, v = c.depositAddress, A = c.depositAddressError, b = c.loader;
530
531
  o.fiat_amount;
531
532
  const O = Me(o.fiat_currency), [D, G] = p(!1);
532
533
  x(() => {
533
- g && D && (z.data.some((H) => H.address === f) ? h({
534
+ g && D && (z.data.some((K) => K.address === f) ? h({
534
535
  icon: Re,
535
536
  title: "Sell Success",
536
537
  message: "Your transaction was successful for more details on the transaction please track your order.",
@@ -550,10 +551,10 @@ const Ft = ({
550
551
  }, 1e4));
551
552
  }, [A, g]), x(() => {
552
553
  v && k(zt);
553
- }, [v]), x(() => (F(), () => {
554
+ }, [v]), x(() => (I(), () => {
554
555
  y.current && clearTimeout(y.current);
555
556
  }), []);
556
- const F = () => {
557
+ const I = () => {
557
558
  u(
558
559
  We(
559
560
  {
@@ -570,7 +571,7 @@ const Ft = ({
570
571
  R
571
572
  )
572
573
  );
573
- }, K = () => {
574
+ }, H = () => {
574
575
  u(
575
576
  ut({
576
577
  apiKey: d,
@@ -646,11 +647,11 @@ const Ft = ({
646
647
  /* @__PURE__ */ e(T, { mt: 4, children: /* @__PURE__ */ e(
647
648
  J,
648
649
  {
649
- onClick: K,
650
+ onClick: H,
650
651
  disabled: b,
651
652
  fullWidth: !0,
652
653
  children: /* @__PURE__ */ e("strong", { children: b ? /* @__PURE__ */ r(E, { children: [
653
- /* @__PURE__ */ e(I, { size: 15, color: "inherit" }),
654
+ /* @__PURE__ */ e(F, { size: 15, color: "inherit" }),
654
655
  " Processing..."
655
656
  ] }) : "Sell" })
656
657
  }
@@ -666,10 +667,10 @@ const Ft = ({
666
667
  var B;
667
668
  const S = Be(), y = L(
668
669
  (_) => _.cryptoAssets
669
- ), { showAlertMessage: z } = he(), { openDialog: h } = Le(), o = d.create.order_id, g = d.depositAddress, v = d.depositComplete, A = d.error, [b, O] = p(!1), [D, G] = p(!1), [F, K] = p("");
670
+ ), { showAlertMessage: z } = pe(), { openDialog: h } = Le(), o = d.create.order_id, g = d.depositAddress, v = d.depositComplete, A = d.error, [b, O] = p(!1), [D, G] = p(!1), [I, H] = p("");
670
671
  let w = "Swap", m = d.estimate[ct];
671
672
  k === R && (w = "Sell", m = d.estimate[R]);
672
- let H = (B = y.tokens.find(
673
+ let K = (B = y.tokens.find(
673
674
  (_) => _.symbol === m.input_token.symbol
674
675
  )) == null ? void 0 : B.icon_uri;
675
676
  x(() => {
@@ -701,7 +702,7 @@ const Ft = ({
701
702
  }));
702
703
  }, [v]);
703
704
  const $ = () => {
704
- if (!F) {
705
+ if (!I) {
705
706
  z({
706
707
  message: "Please provide transaction hash of the send that you perform."
707
708
  });
@@ -709,7 +710,7 @@ const Ft = ({
709
710
  }
710
711
  b || (O(!0), S(ht({
711
712
  order_id: o,
712
- tx_hash: F
713
+ tx_hash: I
713
714
  })));
714
715
  };
715
716
  return /* @__PURE__ */ r(T, { mt: 12, children: [
@@ -747,9 +748,9 @@ const Ft = ({
747
748
  {
748
749
  style: { marginRight: "10px" },
749
750
  width: 32,
750
- src: H,
751
+ src: K,
751
752
  onError: ({ currentTarget: _ }) => {
752
- _.onerror = null, _.src = de;
753
+ _.onerror = null, _.src = ue;
753
754
  },
754
755
  alt: "token"
755
756
  }
@@ -785,7 +786,7 @@ const Ft = ({
785
786
  children: [
786
787
  /* @__PURE__ */ e(i, { variant: "caption", component: "p", children: /* @__PURE__ */ e("strong", { children: g }) }),
787
788
  /* @__PURE__ */ e(
788
- me,
789
+ de,
789
790
  {
790
791
  onClick: () => {
791
792
  navigator.clipboard.writeText(g);
@@ -814,31 +815,31 @@ const Ft = ({
814
815
  /* @__PURE__ */ e(
815
816
  Oe,
816
817
  {
817
- value: F,
818
- onChange: (_) => K(_.target.value),
818
+ value: I,
819
+ onChange: (_) => H(_.target.value),
819
820
  type: "text",
820
821
  required: !0,
821
822
  fullWidth: !0
822
823
  }
823
824
  ),
824
825
  /* @__PURE__ */ e(J, { sx: { mt: 2 }, onClick: $, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: b ? /* @__PURE__ */ r(E, { children: [
825
- /* @__PURE__ */ e(I, { size: 15, color: "inherit" }),
826
+ /* @__PURE__ */ e(F, { size: 15, color: "inherit" }),
826
827
  " Processing..."
827
828
  ] }) : "Continue" }) })
828
829
  ] });
829
830
  }, Y = "FORM_SCREEN", Pe = "CONFIRM_SCREEN", zt = "MANUAL_SEND_SCREEN", Wt = "MINIMAL_KYC_SCREEN", Mt = ({ partnerKey: k, navigate: d }) => {
830
831
  const c = Be(), u = L((b) => b.order), f = u.error, S = L((b) => b.fiatAssets), y = L(
831
832
  (b) => b.cryptoAssets
832
- ), [z, h] = p(Y), [o, g] = p(""), { showAlertMessage: v } = he();
833
+ ), [z, h] = p(Y), [o, g] = p(""), { showAlertMessage: v } = pe();
833
834
  return x(() => {
834
835
  f && v({ message: f });
835
836
  }, [f]), x(() => {
836
837
  u.initMinimalKyc && (v({ message: f, type: "info" }), h(Wt));
837
- }, [u.initMinimalKyc]), x(() => (c(ot()), c(pt(ue)), c(Nt()), c(vt()), () => {
838
+ }, [u.initMinimalKyc]), x(() => (c(ot()), c(pt(he)), c(Nt()), c(vt()), () => {
838
839
  c(X());
839
840
  }), []), /* @__PURE__ */ e(kt, { addPadding: !0, children: {
840
841
  FORM_SCREEN: /* @__PURE__ */ e(
841
- Ft,
842
+ It,
842
843
  {
843
844
  showAlertMessage: v,
844
845
  setScreen: h,
@@ -863,7 +864,7 @@ const Ft = ({
863
864
  }
864
865
  ),
865
866
  CONFIRM_SCREEN: /* @__PURE__ */ e(
866
- It,
867
+ Ft,
867
868
  {
868
869
  partnerKey: k,
869
870
  setScreen: h,
@@ -900,8 +901,8 @@ export {
900
901
  Pe as C,
901
902
  Y as F,
902
903
  Rt as M,
903
- Ft as S,
904
- It as a,
904
+ It as S,
905
+ Ft as a,
905
906
  zt as b,
906
907
  Wt as c,
907
908
  Sn as i
@@ -1,12 +1,13 @@
1
1
  const s = (e) => e.session.uuid, t = (e) => (
2
2
  //TODO: Fix
3
3
  e.user.profile
4
- ), o = (e) => e.user.wallets, r = (e) => e.user.associatedWallets, c = (e) => e.user.documents, a = (e) => e.user.banks;
4
+ ), o = (e) => e.user.wallets, r = (e) => e.user.associatedWallets, a = (e) => e.user.documents, c = (e) => e.user.banks, n = (e) => e.user.banks.pendingIban;
5
5
  export {
6
6
  t as a,
7
7
  s as b,
8
8
  o as c,
9
9
  r as d,
10
- c as e,
11
- a as u
10
+ a as e,
11
+ n as p,
12
+ c as u
12
13
  };
@@ -2,13 +2,13 @@ import { jsxs as a, Fragment as F, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as c, useEffect as g } from "react";
3
3
  import Oe from "./hoc/withThemeProvider.js";
4
4
  import { Grid as o, Box as y, Typography as s, CircularProgress as I, InputLabel as we, FormControl as Be, Select as Le, MenuItem as pe, ListItemIcon as Ve, IconButton as he } from "@mui/material";
5
- import { P as Ye, f as We } from "./PlayArrow-71FP5PzJ.js";
5
+ import { P as Ye, f as We } from "./PlayArrow-DbQI55la.js";
6
6
  import { I as Ke } from "./Info-DOoRR7sR.js";
7
7
  import { G as qe } from "./generic-token-B_ptO5yb.js";
8
8
  import re from "./components/RocketRamp/Shared/Input/index.js";
9
9
  import { ID_TOKEN_SYMBOL as fe, FIAT_TO_EVER_ID as ae, FIAT_TO_TOKEN as ie, ESTIMATE_TOOLTIP_TEXT as $e, VISA_PAYMENT as De, VISA_PAYMENT_ACTIVE as Ue, SEPA_PAYMENT as Ge, SEPA_PAYMENT_ACTIVE as je, PAYMENT_BANK as ye, SEPA_ICON as He, VISA_ICON as be, PAYMENT_PROVIDER_CHECKOUT as xe } from "./util/constants.js";
10
- import { aL as Xe, ay as te } from "./constants-DX0YBtP2.js";
11
- import { d as Qe, e as Ce, f as Je, h as Ze, g as ge } from "./order-BXeCIvqC.js";
10
+ import { aN as Xe, aw as te } from "./constants-B-_x7F8X.js";
11
+ import { d as Qe, e as Ce, f as Je, h as Ze, g as ge } from "./order-DAiOqPsI.js";
12
12
  import { M as et } from "./tooltip-BW0UyWw7.js";
13
13
  import { getCurrencySymbol as Ne, removeExtraSpace as tt, getOrionBalance as nt } from "./util/functions.js";
14
14
  import oe from "./components/RocketRamp/Shared/Button/index.js";
@@ -16,7 +16,7 @@ import Ee from "./components/RocketRamp/Shared/backBtn.js";
16
16
  import { E as rt } from "./ErrorOutline-Bt7P4ChN.js";
17
17
  import { s as _e, p as at, h as it, v as ot } from "./index-ceeCtFuh.js";
18
18
  import { u as q } from "./react-redux-C7I9-1M6.js";
19
- import { f as st } from "./cryptoAssets-B8rAI7pp.js";
19
+ import { f as st } from "./cryptoAssets-Cmdg7BR-.js";
20
20
  import ct from "./components/RocketRamp/MinimalKyc/form.js";
21
21
  import { useSnackBarContext as lt } from "./context/snackBarContext.js";
22
22
  import dt from "./hooks/useEverestDispatch.js";
@@ -6,14 +6,14 @@ import Pe from "./components/RocketRamp/Shared/backBtn.js";
6
6
  import { getCurrencySymbol as ue, getOrionBalance as we } from "./util/functions.js";
7
7
  import { PAYMENT_BANK as ce, SEPA_ICON as We, VISA_ICON as Be, ID_TOKEN_SYMBOL as Le, FIAT_WITHDRAW as Xe, FIAT_TO_EVER_ID as De, FIAT_TO_TOKEN as Ye, ESTIMATE_TOOLTIP_TEXT as qe, TOKEN_TO_FIAT as Ke } from "./util/constants.js";
8
8
  import j from "./components/RocketRamp/Shared/Button/index.js";
9
- import { aK as V } from "./constants-DX0YBtP2.js";
10
- import { e as pe, f as $e, j as Ge, d as je, g as Ue } from "./order-BXeCIvqC.js";
9
+ import { aM as V } from "./constants-B-_x7F8X.js";
10
+ import { e as pe, f as $e, j as Ge, d as je, g as Ue } from "./order-DAiOqPsI.js";
11
11
  import "./index-DlQqWbXG.js";
12
12
  import "./components/Wallet/Shared/appButton.js";
13
13
  import { u as W } from "./react-redux-C7I9-1M6.js";
14
- import "./otpForm-DeeegaX2.js";
15
- import { P as Ve, f as He } from "./PlayArrow-71FP5PzJ.js";
16
- import { f as Je } from "./cryptoAssets-B8rAI7pp.js";
14
+ import "./otpForm-WjQmPs8D.js";
15
+ import { P as Ve, f as He } from "./PlayArrow-DbQI55la.js";
16
+ import { f as Je } from "./cryptoAssets-Cmdg7BR-.js";
17
17
  import "./context/snackBarContext.js";
18
18
  import Qe from "./hooks/useEverestDispatch.js";
19
19
  import "./util/conversions.js";
@@ -23,10 +23,10 @@ import "./react-webcam-B3cXh1XT.js";
23
23
  import le from "./components/Shared/transition.js";
24
24
  import { M as et } from "./tooltip-BW0UyWw7.js";
25
25
  import "./moment-h96o7c8I.js";
26
+ import "./index.esm-I_Bp2YLf.js";
26
27
  import "./index.esm-BsMAMhYW.js";
27
28
  import "./web3-u4qDZYpo.js";
28
29
  import "./index-ceeCtFuh.js";
29
- import "./index.esm-I_Bp2YLf.js";
30
30
  import "./context/dialogContext.js";
31
31
  import "@mui/icons-material";
32
32
  import tt from "./components/RocketRamp/MinimalKyc/form.js";