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.
- package/dist/{pep-B3tW-JmQ.js → Autocomplete-CE-OI2t8.js} +934 -1198
- package/dist/{PlayArrow-BkJLdzUI.js → PlayArrow-BkW3s4mw.js} +1 -1
- package/dist/assets/withThemeProvider.css +1 -1
- package/dist/{auth-BwI9H3c0.js → auth-CYftwFWz.js} +7 -7
- package/dist/{bank-D6E7Zpfd.js → bank-C9AAL5v7.js} +6 -6
- package/dist/components/RocketRamp/MinimalKyc/form.js +2 -2
- package/dist/components/RocketRamp/Player/Buy/cardPayment.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Buy/form.js +4 -4
- package/dist/components/RocketRamp/Player/Buy/index.js +5 -5
- package/dist/components/RocketRamp/Player/Dashboard/index.js +2 -2
- package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +3 -3
- package/dist/components/RocketRamp/Player/Sell/form.js +4 -4
- package/dist/components/RocketRamp/Player/Sell/index.js +5 -5
- package/dist/components/RocketRamp/Player/SignIn/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/loginForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignIn/otpForm.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/email.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/index.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +2 -2
- package/dist/components/RocketRamp/Transactions/index.js +2 -2
- package/dist/components/Shared/FullKyc/countryList.d.ts +10 -0
- package/dist/components/Shared/FullKyc/countryList.js +54 -0
- package/dist/components/Shared/FullKyc/edd.d.ts +3 -0
- package/dist/components/Shared/FullKyc/edd.js +189 -0
- package/dist/components/Shared/FullKyc/index.d.ts +1 -0
- package/dist/components/Shared/FullKyc/index.js +11 -9
- package/dist/components/Shared/FullKyc/pep.js +276 -15
- package/dist/components/Shared/FullKyc/personalDetails.js +4 -6
- package/dist/components/Shared/FullKyc/types.d.ts +22 -3
- package/dist/components/Shared/FullKyc/userInfo.js +4 -4
- package/dist/components/Shared/Incode/index.d.ts +2 -1
- package/dist/components/Shared/Incode/index.js +39 -37
- package/dist/components/Shared/MinimalKyc/index.js +2 -2
- package/dist/components/Wallet/Account/iban.js +18 -18
- package/dist/components/Wallet/Account/index.js +3 -3
- package/dist/components/Wallet/Account/sendIban.js +11 -11
- package/dist/components/Wallet/Buy/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Buy/form.js +4 -4
- package/dist/components/Wallet/Buy/index.js +6 -6
- package/dist/components/Wallet/Deposit/index.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/edd.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/index.js +113 -87
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +2 -2
- package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/verify.js +1 -1
- package/dist/components/Wallet/History/index.js +2 -2
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +9 -9
- package/dist/components/Wallet/Portfolio/index.js +3 -3
- package/dist/components/Wallet/Profile/documents.js +2 -2
- package/dist/components/Wallet/Profile/index.js +8 -8
- package/dist/components/Wallet/Receive/index.js +2 -2
- package/dist/components/Wallet/Sell/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Sell/form.js +4 -4
- package/dist/components/Wallet/Sell/index.js +6 -6
- package/dist/components/Wallet/Send/index.js +29 -29
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/addBank.js +2 -2
- package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
- package/dist/components/Wallet/Shared/manualSend.js +3 -3
- package/dist/components/Wallet/SignIn/index.js +2 -2
- package/dist/components/Wallet/SignUp/index.js +2 -2
- package/dist/components/Wallet/Stake/index.js +3 -3
- package/dist/components/Wallet/Swap/form.js +5 -5
- package/dist/components/Wallet/Swap/index.js +5 -5
- package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +5 -5
- package/dist/{constants-CQOuVN6n.js → constants-DBlV_hAZ.js} +1096 -1090
- package/dist/cryptoAssets-Da0hZPmW.js +16 -0
- package/dist/{documents-72bUeBkP.js → documents-D1CxIIUj.js} +8 -8
- package/dist/{index-BAFH0iyw.js → index-BHmViOiG.js} +5 -5
- package/dist/{index-BIpSerUL.js → index-BZGHPDhS.js} +5 -5
- package/dist/{index-DKuH9hDK.js → index-C74NH5fF.js} +4 -4
- package/dist/{index-CRXWl3nL.js → index-CN7R7nR-.js} +14 -14
- package/dist/index-CexvGlw7.js +500 -0
- package/dist/{index-CpkMJeD0.js → index-DEfHSDHa.js} +5 -5
- package/dist/{index-BOev7FOu.js → index-DPwR5oNU.js} +6 -6
- package/dist/{kyc-C_JyEEpu.js → kyc-D7FTfIPj.js} +3 -3
- package/dist/main.js +7 -7
- package/dist/{order-DWfxKnom.js → order-BNumaEGY.js} +11 -11
- package/dist/{stake-fFsvxcKJ.js → stake-VlhTFH1g.js} +1 -1
- package/dist/util/constants.d.ts +0 -1
- package/dist/util/constants.js +18 -19
- package/dist/{wallet-4-2Lns3R.js → wallet-BJz8LnYf.js} +8 -8
- package/package.json +2 -2
- package/dist/cryptoAssets-Cma8qeDc.js +0 -16
- package/dist/index--NaHRmjW.js +0 -483
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import { jsxs as
|
|
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
|
|
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 {
|
|
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
|
|
14
|
-
import
|
|
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-
|
|
17
|
-
import { r as u, k as
|
|
18
|
-
import { u as
|
|
19
|
-
import
|
|
20
|
-
import
|
|
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
|
|
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
|
|
33
|
+
import { F as b } from "../../../index-CexvGlw7.js";
|
|
34
34
|
import "../../../context/dialogContext.js";
|
|
35
|
-
import
|
|
36
|
-
import {
|
|
37
|
-
import { D as
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
|
|
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:
|
|
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
|
-
},
|
|
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
|
-
},
|
|
130
|
-
configurationId:
|
|
131
|
-
incodeApiKey:
|
|
132
|
-
incodeApiUrl:
|
|
133
|
-
incodeOnBoardingUrl:
|
|
128
|
+
}, Se = ({
|
|
129
|
+
configurationId: d,
|
|
130
|
+
incodeApiKey: D,
|
|
131
|
+
incodeApiUrl: O,
|
|
132
|
+
incodeOnBoardingUrl: E
|
|
134
133
|
}) => {
|
|
135
|
-
const
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
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
|
|
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,
|
|
158
|
+
t = 11, k((i) => !i);
|
|
154
159
|
break;
|
|
155
160
|
default:
|
|
156
161
|
t = a - 1;
|
|
157
162
|
}
|
|
158
163
|
r(t);
|
|
159
|
-
},
|
|
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
|
-
},
|
|
170
|
-
const t = Object.entries(e).flatMap(([
|
|
171
|
-
type:
|
|
172
|
-
file:
|
|
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
|
-
|
|
200
|
-
},
|
|
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
|
-
) && (
|
|
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__ */
|
|
228
|
-
s.status !== "" && s.status !== ne &&
|
|
229
|
-
|
|
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: () =>
|
|
232
|
-
disabled: s.status ===
|
|
233
|
-
|
|
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__ */
|
|
237
|
-
|
|
248
|
+
/* @__PURE__ */ p(
|
|
249
|
+
De,
|
|
238
250
|
{
|
|
239
|
-
open:
|
|
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
|
-
|
|
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__ */
|
|
259
|
-
a !== 1 && a !== 10 && /* @__PURE__ */ o(
|
|
260
|
-
/* @__PURE__ */ o(
|
|
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:
|
|
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__ */
|
|
274
|
-
s.uploadLoader && /* @__PURE__ */ o(
|
|
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:
|
|
277
|
-
2: /* @__PURE__ */ o($, { kycData: e, onNext:
|
|
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(
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
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
|
-
|
|
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
|
-
|
|
316
|
+
ie,
|
|
293
317
|
{
|
|
294
318
|
kycData: e,
|
|
295
|
-
onNext:
|
|
319
|
+
onNext: W,
|
|
296
320
|
onEdit: () => r(7)
|
|
297
321
|
}
|
|
298
322
|
),
|
|
299
|
-
10: /* @__PURE__ */ o(ae, { onNext:
|
|
323
|
+
10: /* @__PURE__ */ o(ae, { onNext: x }),
|
|
300
324
|
11: /* @__PURE__ */ o(
|
|
301
|
-
|
|
325
|
+
b,
|
|
302
326
|
{
|
|
303
|
-
theme:
|
|
304
|
-
configurationId:
|
|
305
|
-
incodeApiKey:
|
|
306
|
-
incodeApiUrl:
|
|
307
|
-
incodeOnBoardingUrl:
|
|
308
|
-
updateScreen:
|
|
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
|
-
},
|
|
343
|
+
}, pt = H(Se);
|
|
318
344
|
export {
|
|
319
|
-
|
|
320
|
-
|
|
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-
|
|
9
|
-
import { a as D } from "../../../kyc-
|
|
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-
|
|
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-
|
|
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-
|
|
7
|
-
import { o as it } from "../../../order-
|
|
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 {
|
|
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-
|
|
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
|
|
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(""), [
|
|
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
|
|
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) =>
|
|
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 ? (
|
|
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 ? (
|
|
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-
|
|
4
|
-
import { i as NA } from "../../../wallet-
|
|
5
|
-
import { c as hA } from "../../../stake-
|
|
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-
|
|
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-
|
|
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 {
|
|
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-
|
|
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,
|
|
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
|
-
|
|
49
|
-
}, [
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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-
|
|
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-
|
|
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-
|
|
7
|
+
import "../../../constants-DBlV_hAZ.js";
|
|
8
8
|
import "../../../index-FwnHkXdK.js";
|
|
9
|
-
import "../../../order-
|
|
10
|
-
import { a as G } from "../../../index-
|
|
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-
|
|
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-
|
|
7
|
+
import "../../../constants-DBlV_hAZ.js";
|
|
8
8
|
import "../../../index-FwnHkXdK.js";
|
|
9
|
-
import "../../../order-
|
|
9
|
+
import "../../../order-BNumaEGY.js";
|
|
10
10
|
import "../../../tooltip-3UvETWtS.js";
|
|
11
11
|
import "../../../util/functions.js";
|
|
12
|
-
import { S as E } from "../../../index-
|
|
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-
|
|
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-
|
|
7
|
-
import "../../../PlayArrow-
|
|
8
|
-
import "../../../cryptoAssets-
|
|
9
|
-
import "../../../wallet-
|
|
10
|
-
import "../../../order-
|
|
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";
|