everest-npm-features 0.0.33 → 0.0.35

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 (93) hide show
  1. package/dist/{pep-B3tW-JmQ.js → Autocomplete-CE-OI2t8.js} +934 -1198
  2. package/dist/{PlayArrow-BkJLdzUI.js → PlayArrow-BkW3s4mw.js} +1 -1
  3. package/dist/assets/withThemeProvider.css +1 -1
  4. package/dist/{auth-BwI9H3c0.js → auth-CYftwFWz.js} +7 -7
  5. package/dist/{bank-D6E7Zpfd.js → bank-C9AAL5v7.js} +6 -6
  6. package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
  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 +5 -5
  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.d.ts +10 -0
  27. package/dist/components/Shared/FullKyc/countryList.js +54 -0
  28. package/dist/components/Shared/FullKyc/edd.d.ts +3 -0
  29. package/dist/components/Shared/FullKyc/edd.js +189 -0
  30. package/dist/components/Shared/FullKyc/index.d.ts +1 -0
  31. package/dist/components/Shared/FullKyc/index.js +11 -9
  32. package/dist/components/Shared/FullKyc/pep.js +276 -15
  33. package/dist/components/Shared/FullKyc/personalDetails.js +4 -6
  34. package/dist/components/Shared/FullKyc/types.d.ts +22 -3
  35. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  36. package/dist/components/Shared/Incode/index.d.ts +2 -1
  37. package/dist/components/Shared/Incode/index.js +39 -37
  38. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  39. package/dist/components/Wallet/Account/iban.js +18 -18
  40. package/dist/components/Wallet/Account/index.js +3 -3
  41. package/dist/components/Wallet/Account/sendIban.js +11 -11
  42. package/dist/components/Wallet/Buy/confirmTransaction.js +3 -3
  43. package/dist/components/Wallet/Buy/form.js +4 -4
  44. package/dist/components/Wallet/Buy/index.js +6 -6
  45. package/dist/components/Wallet/Deposit/index.js +1 -1
  46. package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
  47. package/dist/components/Wallet/EnterpriseKyc/index.js +113 -87
  48. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
  49. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
  50. package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
  51. package/dist/components/Wallet/History/index.js +2 -2
  52. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +9 -9
  53. package/dist/components/Wallet/Portfolio/index.js +3 -3
  54. package/dist/components/Wallet/Profile/documents.js +2 -2
  55. package/dist/components/Wallet/Profile/index.js +8 -8
  56. package/dist/components/Wallet/Receive/index.js +2 -2
  57. package/dist/components/Wallet/Sell/confirmTransaction.js +3 -3
  58. package/dist/components/Wallet/Sell/form.js +4 -4
  59. package/dist/components/Wallet/Sell/index.js +6 -6
  60. package/dist/components/Wallet/Send/index.js +29 -29
  61. package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
  62. package/dist/components/Wallet/Shared/addBank.js +2 -2
  63. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  64. package/dist/components/Wallet/Shared/manualSend.js +3 -3
  65. package/dist/components/Wallet/SignIn/index.js +2 -2
  66. package/dist/components/Wallet/SignUp/index.js +2 -2
  67. package/dist/components/Wallet/Stake/index.js +3 -3
  68. package/dist/components/Wallet/Swap/form.js +5 -5
  69. package/dist/components/Wallet/Swap/index.js +5 -5
  70. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  71. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  72. package/dist/components/Wallet/Withdraw/form.js +4 -4
  73. package/dist/components/Wallet/Withdraw/index.js +5 -5
  74. package/dist/{constants-CQOuVN6n.js → constants-DBlV_hAZ.js} +1096 -1090
  75. package/dist/cryptoAssets-Da0hZPmW.js +16 -0
  76. package/dist/{documents-72bUeBkP.js → documents-D1CxIIUj.js} +8 -8
  77. package/dist/{index-BAFH0iyw.js → index-BHmViOiG.js} +5 -5
  78. package/dist/{index-BIpSerUL.js → index-BZGHPDhS.js} +5 -5
  79. package/dist/{index-DKuH9hDK.js → index-C74NH5fF.js} +4 -4
  80. package/dist/{index-CRXWl3nL.js → index-CN7R7nR-.js} +14 -14
  81. package/dist/index-CexvGlw7.js +500 -0
  82. package/dist/{index-CpkMJeD0.js → index-DEfHSDHa.js} +5 -5
  83. package/dist/{index-BOev7FOu.js → index-DPwR5oNU.js} +6 -6
  84. package/dist/{kyc-C_JyEEpu.js → kyc-D7FTfIPj.js} +3 -3
  85. package/dist/main.js +7 -7
  86. package/dist/{order-DWfxKnom.js → order-BNumaEGY.js} +11 -11
  87. package/dist/{stake-fFsvxcKJ.js → stake-VlhTFH1g.js} +1 -1
  88. package/dist/util/constants.d.ts +0 -1
  89. package/dist/util/constants.js +18 -19
  90. package/dist/{wallet-4-2Lns3R.js → wallet-BJz8LnYf.js} +8 -8
  91. package/package.json +2 -2
  92. package/dist/cryptoAssets-Cma8qeDc.js +0 -16
  93. package/dist/index--NaHRmjW.js +0 -483
@@ -1,25 +1,25 @@
1
- import { jsxs as l, Fragment as V, jsx as o } from "react/jsx-runtime";
1
+ import { jsxs as p, Fragment as V, jsx as o } from "react/jsx-runtime";
2
2
  import H from "../../../hoc/withThemeProvider.js";
3
- import { useState as m, useEffect as T } from "react";
3
+ import { useState as m, useEffect as _ } from "react";
4
4
  import z from "../../Shared/transition.js";
5
5
  import { C as j } from "../../../Close-CNwiMz_O.js";
6
6
  import X from "./kycType.js";
7
- import { KYC_STATUS_IN_PROGRESS as C, BACK_ARROW as q, INDIVIDUAL_KYC_TYPE as Z, KYC_BETWEEN_TRANSATION as I, ORGANIZATION_KYC_TYPE as J, KYC_UNDER_TRANSATION as Q } from "../../../util/constants.js";
7
+ import { BACK_ARROW as q, INDIVIDUAL_KYC_TYPE as Z, KYC_BETWEEN_TRANSATION as g, ORGANIZATION_KYC_TYPE as J, KYC_UNDER_TRANSATION as Q } from "../../../util/constants.js";
8
8
  import $ from "./individualKyc.js";
9
9
  import ee from "../../Shared/MinimalKyc/index.js";
10
10
  import te from "./kybIntro.js";
11
11
  import oe from "./kybTerms.js";
12
12
  import re from "./orgInfo.js";
13
- import ie from "./orgDetails.js";
14
- import se from "./verify.js";
13
+ import se from "./orgDetails.js";
14
+ import ie from "./verify.js";
15
15
  import ae from "./success.js";
16
- import { K as ne } from "../../../constants-CQOuVN6n.js";
17
- import { r as u, k as ce } from "../../../kyc-C_JyEEpu.js";
18
- import { u as me, a as pe } from "../../../react-redux-B4BZippc.js";
19
- import le from "../../Shared/loader.js";
20
- import fe from "../Shared/appButton.js";
16
+ import { K as ne, a as F, b as y, c as ce, d as me, e as le, f as pe } from "../../../constants-DBlV_hAZ.js";
17
+ import { r as u, k as fe } from "../../../kyc-D7FTfIPj.js";
18
+ import { u as Te, a as h } from "../../../react-redux-B4BZippc.js";
19
+ import _e from "../../Shared/loader.js";
20
+ import ue from "../Shared/appButton.js";
21
21
  import "../Shared/Auth/otpForm.js";
22
- import { useSnackBarContext as de } from "../../../context/snackBarContext.js";
22
+ import { useSnackBarContext as Ce } from "../../../context/snackBarContext.js";
23
23
  import "../../../util/conversions.js";
24
24
  import "../../../index-CAoLi5Qq.js";
25
25
  import "../../../react-webcam-B3cXh1XT.js";
@@ -30,18 +30,17 @@ import "../../../index.esm-BsMAMhYW.js";
30
30
  import "../../../web3-u4qDZYpo.js";
31
31
  import "../../../index-B8QKlEgj.js";
32
32
  import "../../../index-ceeCtFuh.js";
33
- import { F as Te } from "../../../index--NaHRmjW.js";
33
+ import { F as b } from "../../../index-CexvGlw7.js";
34
34
  import "../../../context/dialogContext.js";
35
- import ue from "./edd.js";
36
- import { u as Ee } from "../../../useTheme-BQJ5lp0i.js";
37
- import { D as Oe, a as De } from "../../../DialogContent-BMwlOnbW.js";
38
- import { D as Ne } from "../../../DialogTitle-CfS0bb2K.js";
39
- import { B as Ae } from "../../../Box-B0YSYLco.js";
40
- import { I as _ } from "../../../IconButton-DHm-hucF.js";
41
- import { T as Ce } from "../../../Typography-pAaje37G.js";
42
- const E = {
35
+ import { u as de } from "../../../useTheme-BQJ5lp0i.js";
36
+ import { D as De, a as Oe } from "../../../DialogContent-BMwlOnbW.js";
37
+ import { D as Ee } from "../../../DialogTitle-CfS0bb2K.js";
38
+ import { B as Ne } from "../../../Box-B0YSYLco.js";
39
+ import { I as K } from "../../../IconButton-DHm-hucF.js";
40
+ import { T as Ae } from "../../../Typography-pAaje37G.js";
41
+ const C = {
43
42
  type: Z,
44
- transactAmount: I,
43
+ transactAmount: g,
45
44
  orgName: "",
46
45
  orgOtherName: "",
47
46
  street: "",
@@ -105,7 +104,7 @@ const E = {
105
104
  file: [],
106
105
  preview: []
107
106
  }
108
- }, _e = {
107
+ }, Ie = {
109
108
  ID_CARD: {
110
109
  text: "",
111
110
  file: [],
@@ -126,21 +125,27 @@ const E = {
126
125
  file: [],
127
126
  preview: []
128
127
  }
129
- }, Ie = ({
130
- configurationId: x,
131
- incodeApiKey: S,
132
- incodeApiUrl: R,
133
- incodeOnBoardingUrl: y
128
+ }, Se = ({
129
+ configurationId: d,
130
+ incodeApiKey: D,
131
+ incodeApiUrl: O,
132
+ incodeOnBoardingUrl: E
134
133
  }) => {
135
- const h = Ee(), p = me(), { showAlertMessage: g } = de(), s = pe((t) => t.user.kyc), f = s.error, O = s.processComplete, [b, d] = m(!1), [a, r] = m(1), [e, c] = m(E), [F, w] = m(_e), [K, U] = m(!1);
136
- T(() => {
137
- f && g({ message: f });
138
- }, [f]), T(() => {
139
- O && r(10);
140
- }, [O]), T(() => () => {
141
- p(u());
134
+ const N = de(), l = Te(), { showAlertMessage: w } = Ce(), s = h((t) => t.user.kyc);
135
+ h(
136
+ (t) => t.user.profile
137
+ );
138
+ const f = s.error, A = s.processComplete, [U, T] = m(!1), [a, r] = m(1), [e, c] = m(C);
139
+ m(Ie);
140
+ const [I, k] = m(!1);
141
+ _(() => {
142
+ f && w({ message: f });
143
+ }, [f]), _(() => {
144
+ A && r(10);
145
+ }, [A]), _(() => () => {
146
+ l(u());
142
147
  }, []);
143
- const k = () => {
148
+ const M = () => {
144
149
  let t;
145
150
  switch (a) {
146
151
  case 4:
@@ -150,26 +155,26 @@ const E = {
150
155
  t = 1;
151
156
  break;
152
157
  case 11:
153
- t = 11, U((i) => !i);
158
+ t = 11, k((i) => !i);
154
159
  break;
155
160
  default:
156
161
  t = a - 1;
157
162
  }
158
163
  r(t);
159
- }, M = (t) => {
164
+ }, L = (t) => {
160
165
  c({ ...e, type: t }), r(t === J ? 5 : (i) => i + 1);
161
- }, v = (t) => {
162
- c({ ...e, transactAmount: t }), r(t === Q ? 3 : t === I ? 11 : 4);
163
- }, D = () => {
164
- r((t) => t + 1);
165
166
  }, Y = (t) => {
167
+ c({ ...e, transactAmount: t }), r(t === Q ? 3 : t === g ? 11 : 4);
168
+ }, S = () => {
169
+ r((t) => t + 1);
170
+ }, v = (t) => {
166
171
  c({ ...e, ...t }), r((i) => i + 1);
167
172
  }, P = (t) => {
168
173
  c({ ...e, ...t }), r((i) => i + 1);
169
- }, B = () => {
170
- const t = Object.entries(e).flatMap(([G, A]) => A.file ? A.file.map((W) => ({
171
- type: G,
172
- file: W
174
+ }, W = () => {
175
+ const t = Object.entries(e).flatMap(([B, R]) => R.file ? R.file.map((G) => ({
176
+ type: B,
177
+ file: G
173
178
  })) : []), i = {
174
179
  orgName: e.orgName,
175
180
  otherOrgName: e.orgOtherName,
@@ -196,13 +201,11 @@ const E = {
196
201
  },
197
202
  documents: t
198
203
  };
199
- p(ce(i));
200
- }, N = () => {
204
+ l(fe(i));
205
+ }, x = () => {
201
206
  a > 1 && a !== 10 ? window.confirm(
202
207
  "Are you sure you want to close this? All progress will be lost."
203
- ) && (d(!1), p(u()), r(1), c(E)) : (d(!1), p(u()), r(1), c(E));
204
- }, L = (t) => {
205
- w(t), alert("API call");
208
+ ) && (T(!1), l(u()), r(1), c(C)) : (T(!1), l(u()), r(1), c(C));
206
209
  };
207
210
  let n;
208
211
  switch (a) {
@@ -224,19 +227,28 @@ const E = {
224
227
  default:
225
228
  n = "KYC Onboarding";
226
229
  }
227
- return /* @__PURE__ */ l(V, { children: [
228
- s.status !== "" && s.status !== ne && /* @__PURE__ */ o(
229
- fe,
230
+ return /* @__PURE__ */ p(V, { children: [
231
+ s.status !== "" && s.status !== ne && // ((userProfile.memberType === MEMBER_TYPE_INDIVIDUAL &&
232
+ // kycStoreData.status !== KYC_STATUS_FULL_EDD) ||
233
+ // (userProfile.memberType === MEMBER_TYPE_ORGANIZATIONAL &&
234
+ // kycStoreData.status !== KYC_STATUS_FULL_KYC)) && (
235
+ /* @__PURE__ */ o(
236
+ ue,
230
237
  {
231
- onClick: () => d(!0),
232
- disabled: s.status === C,
233
- children: s.status === C ? "KYC Pending" : "Start KYC"
238
+ onClick: () => T(!0),
239
+ disabled: s.status === F,
240
+ sx: s.status === y ? {
241
+ background: "#DC143C !important",
242
+ borderColor: "#DC143C !important",
243
+ color: "#FFFFFF !important"
244
+ } : void 0,
245
+ children: s.status === F ? "KYC Pending" : s.status === y ? "KYC Failed" : "Start KYC"
234
246
  }
235
247
  ),
236
- /* @__PURE__ */ l(
237
- Oe,
248
+ /* @__PURE__ */ p(
249
+ De,
238
250
  {
239
- open: b,
251
+ open: U,
240
252
  fullWidth: !0,
241
253
  slotProps: {
242
254
  paper: {
@@ -248,21 +260,21 @@ const E = {
248
260
  TransitionComponent: z,
249
261
  children: [
250
262
  /* @__PURE__ */ o(
251
- Ne,
263
+ Ee,
252
264
  {
253
265
  sx: {
254
266
  background: "#FFFFFF",
255
267
  borderBottom: "0.5px solid #D0D0D0",
256
268
  height: "68px"
257
269
  },
258
- children: /* @__PURE__ */ l(Ae, { display: "flex", alignItems: "center", children: [
259
- a !== 1 && a !== 10 && /* @__PURE__ */ o(_, { onClick: k, size: "small", children: /* @__PURE__ */ o("img", { src: q, alt: "back" }) }),
260
- /* @__PURE__ */ o(Ce, { variant: "subtitle1", fontWeight: 600, ml: 1, children: n }),
270
+ children: /* @__PURE__ */ p(Ne, { display: "flex", alignItems: "center", children: [
271
+ a !== 1 && a !== 10 && /* @__PURE__ */ o(K, { onClick: M, size: "small", children: /* @__PURE__ */ o("img", { src: q, alt: "back" }) }),
272
+ /* @__PURE__ */ o(Ae, { variant: "subtitle1", fontWeight: 600, ml: 1, children: n }),
261
273
  /* @__PURE__ */ o(
262
- _,
274
+ K,
263
275
  {
264
276
  "aria-label": "close",
265
- onClick: N,
277
+ onClick: x,
266
278
  className: "menu-buttons",
267
279
  children: /* @__PURE__ */ o(j, {})
268
280
  }
@@ -270,18 +282,30 @@ const E = {
270
282
  ] })
271
283
  }
272
284
  ),
273
- /* @__PURE__ */ l(De, { sx: { padding: "50px", height: "620px" }, dividers: !0, children: [
274
- s.uploadLoader && /* @__PURE__ */ o(le, {}),
285
+ /* @__PURE__ */ p(Oe, { sx: { padding: "50px", height: "620px" }, dividers: !0, children: [
286
+ s.uploadLoader && /* @__PURE__ */ o(_e, {}),
275
287
  {
276
- 1: /* @__PURE__ */ o(X, { kycData: e, onNext: M }),
277
- 2: /* @__PURE__ */ o($, { kycData: e, onNext: v }),
288
+ 1: /* @__PURE__ */ o(X, { kycData: e, onNext: L }),
289
+ 2: /* @__PURE__ */ o($, { kycData: e, onNext: Y }),
278
290
  3: /* @__PURE__ */ o(ee, { onComplete: () => r(10) }),
279
- 4: /* @__PURE__ */ o(ue, { onNext: L, eddData: F }),
280
- 5: /* @__PURE__ */ o(te, { onNext: D }),
281
- 6: /* @__PURE__ */ o(oe, { onNext: D }),
282
- 7: /* @__PURE__ */ o(re, { kycData: e, onNext: Y }),
291
+ 4: /* @__PURE__ */ o(
292
+ b,
293
+ {
294
+ theme: N,
295
+ configurationId: d,
296
+ incodeApiKey: D,
297
+ incodeApiUrl: O,
298
+ incodeOnBoardingUrl: E,
299
+ updateScreen: I,
300
+ isModalView: !0,
301
+ kycFlow: s.status === ce ? me : le
302
+ }
303
+ ),
304
+ 5: /* @__PURE__ */ o(te, { onNext: S }),
305
+ 6: /* @__PURE__ */ o(oe, { onNext: S }),
306
+ 7: /* @__PURE__ */ o(re, { kycData: e, onNext: v }),
283
307
  8: /* @__PURE__ */ o(
284
- ie,
308
+ se,
285
309
  {
286
310
  kycStoreData: s,
287
311
  kycData: e,
@@ -289,23 +313,25 @@ const E = {
289
313
  }
290
314
  ),
291
315
  9: /* @__PURE__ */ o(
292
- se,
316
+ ie,
293
317
  {
294
318
  kycData: e,
295
- onNext: B,
319
+ onNext: W,
296
320
  onEdit: () => r(7)
297
321
  }
298
322
  ),
299
- 10: /* @__PURE__ */ o(ae, { onNext: N }),
323
+ 10: /* @__PURE__ */ o(ae, { onNext: x }),
300
324
  11: /* @__PURE__ */ o(
301
- Te,
325
+ b,
302
326
  {
303
- theme: h,
304
- configurationId: x,
305
- incodeApiKey: S,
306
- incodeApiUrl: R,
307
- incodeOnBoardingUrl: y,
308
- updateScreen: K
327
+ theme: N,
328
+ configurationId: d,
329
+ incodeApiKey: D,
330
+ incodeApiUrl: O,
331
+ incodeOnBoardingUrl: E,
332
+ updateScreen: I,
333
+ isModalView: !0,
334
+ kycFlow: pe
309
335
  }
310
336
  )
311
337
  }[a]
@@ -314,8 +340,8 @@ const E = {
314
340
  }
315
341
  )
316
342
  ] });
317
- }, lt = H(Ie);
343
+ }, pt = H(Se);
318
344
  export {
319
- Ie as EnterpriseKyc,
320
- lt as default
345
+ Se as EnterpriseKyc,
346
+ pt as default
321
347
  };
@@ -5,8 +5,8 @@ import v from "./input.js";
5
5
  import "../../../hoc/withThemeProvider.js";
6
6
  import { u as P } from "../../../react-redux-B4BZippc.js";
7
7
  import "../Shared/Auth/otpForm.js";
8
- import "../../../constants-CQOuVN6n.js";
9
- import { a as D } from "../../../kyc-C_JyEEpu.js";
8
+ import "../../../constants-DBlV_hAZ.js";
9
+ import { a as D } from "../../../kyc-D7FTfIPj.js";
10
10
  import { useSnackBarContext as q } from "../../../context/snackBarContext.js";
11
11
  import "../../../util/conversions.js";
12
12
  import "../../../index-CAoLi5Qq.js";
@@ -19,7 +19,7 @@ import k from "./input.js";
19
19
  import { pick as Kd } from "../../../util/functions.js";
20
20
  import "../../../hoc/withThemeProvider.js";
21
21
  import "../Shared/Auth/otpForm.js";
22
- import "../../../constants-CQOuVN6n.js";
22
+ import "../../../constants-DBlV_hAZ.js";
23
23
  import { useSnackBarContext as Xd } from "../../../context/snackBarContext.js";
24
24
  import "../../../util/conversions.js";
25
25
  import "../../../index-CAoLi5Qq.js";
@@ -7,7 +7,7 @@ import { c as x } from "../../../createSvgIcon-Cuzqm90l.js";
7
7
  import { useState as C } from "react";
8
8
  import "../../../hoc/withThemeProvider.js";
9
9
  import "../Shared/Auth/otpForm.js";
10
- import "../../../constants-CQOuVN6n.js";
10
+ import "../../../constants-DBlV_hAZ.js";
11
11
  import { useSnackBarContext as g } from "../../../context/snackBarContext.js";
12
12
  import "../../../util/conversions.js";
13
13
  import "../../../index-CAoLi5Qq.js";
@@ -3,8 +3,8 @@ import * as q from "react";
3
3
  import { useState as et, useEffect as ot } from "react";
4
4
  import st from "../../../hoc/withThemeProvider.js";
5
5
  import { u as nt, a as rt } from "../../../react-redux-B4BZippc.js";
6
- import "../../../constants-CQOuVN6n.js";
7
- import { o as it } from "../../../order-DWfxKnom.js";
6
+ import "../../../constants-DBlV_hAZ.js";
7
+ import { o as it } from "../../../order-BNumaEGY.js";
8
8
  import lt from "../../Shared/HistoryItem/index.js";
9
9
  import { AuthContainer as pt } from "../Shared/Container/index.js";
10
10
  import { B as _ } from "../../../Box-B0YSYLco.js";
@@ -8,9 +8,9 @@ import re from "../../../hoc/withThemeProvider.js";
8
8
  import { displayWalletAddress as oe } from "../../../util/functions.js";
9
9
  import { BACK_BTN_ICON as se, EVER_CHAIN_NETWORK as F, ETHEREUM_NETWORK as G } from "../../../util/constants.js";
10
10
  import "../Shared/Auth/otpForm.js";
11
- import { ac as ae, ad as ne, ae as ie, af as le, ag as ce } from "../../../constants-CQOuVN6n.js";
11
+ import { ai as ae, aj as ne, ak as ie, al as le, am as ce } from "../../../constants-DBlV_hAZ.js";
12
12
  import { u as me } from "../../../index-FwnHkXdK.js";
13
- import { g as de } from "../../../wallet-4-2Lns3R.js";
13
+ import { g as de } from "../../../wallet-BJz8LnYf.js";
14
14
  import "../../../context/snackBarContext.js";
15
15
  import { numberFormat as ue, fromHuman as he, getGweiFromWei as pe, getUnFormattedValueFromWei as fe } from "../../../util/conversions.js";
16
16
  import "../../../index-CAoLi5Qq.js";
@@ -60,10 +60,10 @@ import '../../../assets/index6.css';const be = (r) => ({
60
60
  tokenAddress: P,
61
61
  depositAddress: A
62
62
  }) => {
63
- var q, k;
63
+ var k, q;
64
64
  const { showAlertMessage: E, snackBar: U } = ge(), m = Z(), u = S((t) => t.bridge), s = u.gasFee, x = u.loader, h = u.error, R = u.withdrawStatus, B = S((t) => t.user.wallets);
65
65
  B.loader;
66
- const W = B.data, w = n === F ? G : F, i = S(me).everWalletAddress, [I, V] = f(""), L = ue(I), [O, _] = f("default"), [K, Q] = f(!1), [d, D] = f(""), [$, C] = f(!1), y = Y(""), v = he(d, r === "ID" ? 18 : 6);
66
+ const W = B.data, w = n === F ? G : F, i = S(me).everWalletAddress, [I, V] = f(""), L = ue(I), [O, _] = f("default"), [K, Q] = f(!1), [d, D] = f(""), [j, C] = f(!1), y = Y(""), v = he(d, r === "ID" ? 18 : 6);
67
67
  T(() => (m(de()), () => {
68
68
  m(Se());
69
69
  }), []), T(() => {
@@ -83,7 +83,7 @@ import '../../../assets/index6.css';const be = (r) => ({
83
83
  }
84
84
  }
85
85
  }, [W, i]);
86
- const j = (t) => {
86
+ const $ = (t) => {
87
87
  t ? /^([0-9.,]+)$/.test(t) && D(t) : D("");
88
88
  }, z = () => {
89
89
  if (!d)
@@ -198,7 +198,7 @@ import '../../../assets/index6.css';const be = (r) => ({
198
198
  value: d,
199
199
  fullWidth: !0,
200
200
  required: !0,
201
- onChange: (t) => j(t.target.value),
201
+ onChange: (t) => $(t.target.value),
202
202
  onKeyPress: (t) => t.key === "Enter" && z()
203
203
  }
204
204
  ) }),
@@ -233,7 +233,7 @@ import '../../../assets/index6.css';const be = (r) => ({
233
233
  /* @__PURE__ */ o(
234
234
  ve,
235
235
  {
236
- open: $,
236
+ open: j,
237
237
  fullWidth: !0,
238
238
  sx: {
239
239
  "& .MuiDialog-container": {
@@ -304,7 +304,7 @@ import '../../../assets/index6.css';const be = (r) => ({
304
304
  /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Gas Price" }) }),
305
305
  /* @__PURE__ */ o(a, { className: "fw500 text-right", size: 6, children: [
306
306
  pe(
307
- s != null && s.BaseGasPriceCap ? (q = s == null ? void 0 : s.BaseGasPriceCap) == null ? void 0 : q.toString() : ""
307
+ s != null && s.BaseGasPriceCap ? (k = s == null ? void 0 : s.BaseGasPriceCap) == null ? void 0 : k.toString() : ""
308
308
  ),
309
309
  " ",
310
310
  "Gwei"
@@ -312,7 +312,7 @@ import '../../../assets/index6.css';const be = (r) => ({
312
312
  /* @__PURE__ */ e(a, { size: 6, children: /* @__PURE__ */ e("strong", { children: "Max Transaction Fee" }) }),
313
313
  /* @__PURE__ */ o(a, { className: "fw500 text-right", size: 6, children: [
314
314
  fe(
315
- s != null && s.TotalMaxEthSpent ? (k = s == null ? void 0 : s.TotalMaxEthSpent) == null ? void 0 : k.toString() : ""
315
+ s != null && s.TotalMaxEthSpent ? (q = s == null ? void 0 : s.TotalMaxEthSpent) == null ? void 0 : q.toString() : ""
316
316
  ),
317
317
  " ",
318
318
  "ETH"
@@ -1,8 +1,8 @@
1
1
  import { jsx as A, Fragment as nA, jsxs as w } from "react/jsx-runtime";
2
2
  import { US_DOLLAR_ISO3 as N, DIALOG_SUCCESS_ICON as PA, EVER_CHAIN_NETWORK as R, EURO_ISO3 as jA, DIALOG_ERROR_ICON as QA, BACK_BTN_ICON as HA } from "../../../util/constants.js";
3
- import "../../../constants-CQOuVN6n.js";
4
- import { i as NA } from "../../../wallet-4-2Lns3R.js";
5
- import { c as hA } from "../../../stake-fFsvxcKJ.js";
3
+ import "../../../constants-DBlV_hAZ.js";
4
+ import { i as NA } from "../../../wallet-BJz8LnYf.js";
5
+ import { c as hA } from "../../../stake-VlhTFH1g.js";
6
6
  import { useState as r, useEffect as M, createRef as S } from "react";
7
7
  import { u as IA, a as d } from "../../../react-redux-B4BZippc.js";
8
8
  import { s as h, T as k } from "../../../tokenRow-D32W5WH3.js";
@@ -6,11 +6,11 @@ import "../../../Cancel-4lT7GZUA.js";
6
6
  import "../Shared/inputField.js";
7
7
  import "../Shared/step.js";
8
8
  import "../../../react-webcam-B3cXh1XT.js";
9
- import { D as B } from "../../../documents-72bUeBkP.js";
9
+ import { D as B } from "../../../documents-D1CxIIUj.js";
10
10
  import "../../Shared/transition.js";
11
11
  import "../../../util/functions.js";
12
12
  import "../../../react-redux-B4BZippc.js";
13
- import "../../../constants-CQOuVN6n.js";
13
+ import "../../../constants-DBlV_hAZ.js";
14
14
  import "../../../index-FwnHkXdK.js";
15
15
  import "../../../util/constants.js";
16
16
  import "../../../hooks/useDialog/index.js";
@@ -1,9 +1,9 @@
1
1
  import { jsxs as r, Fragment as B, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as k, useEffect as y } from "react";
3
3
  import { u as N, a as A } from "../../../react-redux-B4BZippc.js";
4
- import { a8 as F, a9 as I, aa as O, ab as P } from "../../../constants-CQOuVN6n.js";
4
+ import { ae as F, af as I, ag as O, ah as P } from "../../../constants-DBlV_hAZ.js";
5
5
  import { u as z } from "../../../index-FwnHkXdK.js";
6
- import { s as a, D as W } from "../../../documents-72bUeBkP.js";
6
+ import { s as a, D as W } from "../../../documents-D1CxIIUj.js";
7
7
  import o from "../Shared/inputField.js";
8
8
  import { WIDGET_URL as q } from "../../../util/constants.js";
9
9
  import Q from "../../../hoc/withThemeProvider.js";
@@ -43,10 +43,10 @@ const K = () => ({
43
43
  baseUrl: v,
44
44
  isEnterPriseWallet: w = !1
45
45
  }) => {
46
- const { showAlertMessage: c } = X(), u = N(), t = A(z), d = t.residentialAddress, R = t.referralCount, C = t.referral.code, L = t.twitterInfo.screen_name, { error: g, message: _ } = t.twitter, [E, x] = k(!1), [Z, b] = k("");
46
+ const { showAlertMessage: c } = X(), u = N(), t = A(z), d = t.residentialAddress, R = t.referralCount, C = t.referral.code, g = t.twitterInfo.screen_name, { error: L, message: _ } = t.twitter, [E, x] = k(!1), [Z, b] = k("");
47
47
  y(() => {
48
- g && c({ message: g });
49
- }, [g]), y(() => {
48
+ L && c({ message: L });
49
+ }, [L]), y(() => {
50
50
  _ && c({ message: _, type: "success" });
51
51
  }, [_]), y(() => {
52
52
  u(K()), u(e2()), u(t2());
@@ -104,7 +104,7 @@ const K = () => ({
104
104
  /* @__PURE__ */ e(j, { ...D(t.email) }),
105
105
  /* @__PURE__ */ r(f, { ml: 1, children: [
106
106
  /* @__PURE__ */ e(n, { variant: "body1", component: "span", children: /* @__PURE__ */ e("strong", { children: t.email }) }),
107
- L && /* @__PURE__ */ r(
107
+ g && /* @__PURE__ */ r(
108
108
  n,
109
109
  {
110
110
  className: "primary-text-color",
@@ -112,7 +112,7 @@ const K = () => ({
112
112
  component: "p",
113
113
  children: [
114
114
  "@",
115
- L
115
+ g
116
116
  ]
117
117
  }
118
118
  )
@@ -139,7 +139,7 @@ const K = () => ({
139
139
  children: "Verify Me Link"
140
140
  }
141
141
  ) }),
142
- L && /* @__PURE__ */ e(i, { size: 6, children: /* @__PURE__ */ e(
142
+ g && /* @__PURE__ */ e(i, { size: 6, children: /* @__PURE__ */ e(
143
143
  p,
144
144
  {
145
145
  className: a["profile-feat-btn"],
@@ -2,9 +2,9 @@ import { jsxs as n, Fragment as d, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as y, useEffect as p } from "react";
3
3
  import { u as S, a as u } from "../../../react-redux-B4BZippc.js";
4
4
  import { Q as W } from "../../../index-CAoLi5Qq.js";
5
- import "../../../constants-CQOuVN6n.js";
5
+ import "../../../constants-DBlV_hAZ.js";
6
6
  import { u as _, c as z } from "../../../index-FwnHkXdK.js";
7
- import { u as A } from "../../../wallet-4-2Lns3R.js";
7
+ import { u as A } from "../../../wallet-BJz8LnYf.js";
8
8
  import { C as B } from "../../../ContentCopy-coPwrEuz.js";
9
9
  import { useSnackBar as N } from "../../../hooks/useSnackBar.js";
10
10
  import w from "../../../hoc/withThemeProvider.js";
@@ -4,10 +4,10 @@ import "../Shared/backBtn.js";
4
4
  import "../../../util/functions.js";
5
5
  import "../../../styles.module-CHEBh2ID.js";
6
6
  import "../Shared/appButton.js";
7
- import "../../../constants-CQOuVN6n.js";
7
+ import "../../../constants-DBlV_hAZ.js";
8
8
  import "../../../index-FwnHkXdK.js";
9
- import "../../../order-DWfxKnom.js";
10
- import { a as G } from "../../../index-BAFH0iyw.js";
9
+ import "../../../order-BNumaEGY.js";
10
+ import { a as G } from "../../../index-BHmViOiG.js";
11
11
  import "../../../util/constants.js";
12
12
  import "../../../react-redux-B4BZippc.js";
13
13
  import "../../../hoc/withThemeProvider.js";
@@ -1,15 +1,15 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
- import "../../../PlayArrow-BkJLdzUI.js";
3
+ import "../../../PlayArrow-BkW3s4mw.js";
4
4
  import "../../../Info-BVeUSPyk.js";
5
5
  import "../../../generic-token-B_ptO5yb.js";
6
6
  import "../../../util/constants.js";
7
- import "../../../constants-CQOuVN6n.js";
7
+ import "../../../constants-DBlV_hAZ.js";
8
8
  import "../../../index-FwnHkXdK.js";
9
- import "../../../order-DWfxKnom.js";
9
+ import "../../../order-BNumaEGY.js";
10
10
  import "../../../tooltip-3UvETWtS.js";
11
11
  import "../../../util/functions.js";
12
- import { S as E } from "../../../index-BAFH0iyw.js";
12
+ import { S as E } from "../../../index-BHmViOiG.js";
13
13
  import "../../../styles.module-CHEBh2ID.js";
14
14
  import "../Shared/TokenModal/index.js";
15
15
  import "../Shared/appButton.js";
@@ -1,13 +1,13 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
3
  import "../../../hoc/withThemeProvider.js";
4
- import { C as I, F as e, b as f, c as L, i as O } from "../../../index-BAFH0iyw.js";
4
+ import { C as I, F as e, b as f, c as L, i as O } from "../../../index-BHmViOiG.js";
5
5
  import "../../../react-redux-B4BZippc.js";
6
- import "../../../constants-CQOuVN6n.js";
7
- import "../../../PlayArrow-BkJLdzUI.js";
8
- import "../../../cryptoAssets-Cma8qeDc.js";
9
- import "../../../wallet-4-2Lns3R.js";
10
- import "../../../order-DWfxKnom.js";
6
+ import "../../../constants-DBlV_hAZ.js";
7
+ import "../../../PlayArrow-BkW3s4mw.js";
8
+ import "../../../cryptoAssets-Da0hZPmW.js";
9
+ import "../../../wallet-BJz8LnYf.js";
10
+ import "../../../order-BNumaEGY.js";
11
11
  import "../../../util/constants.js";
12
12
  import "../../../context/snackBarContext.js";
13
13
  import "../Shared/Container/index.js";