everest-npm-features 0.0.48 → 0.0.50
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/{PlayArrow-Cnrxi5yr.js → PlayArrow-C3uVNo4F.js} +1 -1
- package/dist/{auth-C45E0xvK.js → auth-ClBgT--j.js} +1 -1
- package/dist/{bank-DIdz4BaB.js → bank-Dz5km1qK.js} +3 -3
- package/dist/components/RocketRamp/MinimalKyc/form.js +14 -13
- 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 +12 -11
- package/dist/components/RocketRamp/Player/Dashboard/index.js +25 -24
- 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 +12 -11
- package/dist/components/RocketRamp/Player/SignIn/index.js +20 -19
- 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 +39 -38
- package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +2 -2
- package/dist/components/RocketRamp/ResetPassword/index.js +21 -20
- package/dist/components/RocketRamp/Store/SignUp/index.js +48 -47
- 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 +14 -13
- package/dist/components/Shared/FullKyc/edd.js +41 -41
- package/dist/components/Shared/FullKyc/index.js +11 -10
- package/dist/components/Shared/FullKyc/pep.js +1 -1
- package/dist/components/Shared/FullKyc/personalDetails.js +2 -2
- package/dist/components/Shared/FullKyc/userInfo.js +4 -4
- package/dist/components/Shared/MinimalKyc/index.js +31 -30
- package/dist/components/Wallet/Account/createIban.d.ts +2 -0
- package/dist/components/Wallet/Account/createIban.js +96 -88
- package/dist/components/Wallet/Account/eWallet.d.ts +20 -0
- package/dist/components/Wallet/Account/eWallet.js +118 -0
- package/dist/components/Wallet/Account/iban.d.ts +2 -0
- package/dist/components/Wallet/Account/iban.js +38 -32
- package/dist/components/Wallet/Account/ibanItem.d.ts +5 -2
- package/dist/components/Wallet/Account/ibanItem.js +233 -76
- package/dist/components/Wallet/Account/index.d.ts +2 -0
- package/dist/components/Wallet/Account/index.js +164 -143
- package/dist/components/Wallet/Account/sendIban.js +3 -3
- package/dist/components/Wallet/Buy/confirmTransaction.js +5 -5
- package/dist/components/Wallet/Buy/form.js +5 -5
- package/dist/components/Wallet/Buy/index.js +14 -13
- package/dist/components/Wallet/Deposit/index.js +1 -1
- package/dist/components/Wallet/EnterpriseKyc/edd.js +9 -9
- package/dist/components/Wallet/EnterpriseKyc/index.js +23 -22
- package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +24 -24
- 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 +25 -24
- package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +49 -48
- package/dist/components/Wallet/Portfolio/index.js +22 -21
- package/dist/components/Wallet/Portfolio/tokenRow.js +1 -1
- package/dist/components/Wallet/Profile/documents.js +34 -33
- package/dist/components/Wallet/Profile/index.js +20 -19
- package/dist/components/Wallet/Profile/storage.js +26 -26
- package/dist/components/Wallet/Receive/index.js +22 -21
- package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Sell/form.js +5 -5
- package/dist/components/Wallet/Sell/index.js +13 -12
- package/dist/components/Wallet/Send/index.js +19 -18
- package/dist/components/Wallet/Shared/Auth/otpForm.js +2 -2
- package/dist/components/Wallet/Shared/BankSelect/index.js +36 -35
- package/dist/components/Wallet/Shared/CardCorp/index.d.ts +1 -1
- package/dist/components/Wallet/Shared/CardCorp/index.js +16 -16
- package/dist/components/Wallet/Shared/addBank.js +39 -38
- package/dist/components/Wallet/Shared/connectPlaidBank.js +19 -18
- package/dist/components/Wallet/Shared/manualSend.js +6 -5
- package/dist/components/Wallet/SignIn/index.js +24 -23
- package/dist/components/Wallet/SignUp/index.js +22 -21
- package/dist/components/Wallet/Stake/index.js +30 -29
- package/dist/components/Wallet/Swap/form.js +8 -7
- package/dist/components/Wallet/Swap/index.js +11 -10
- package/dist/components/Wallet/Withdraw/bankSelect.js +28 -27
- package/dist/components/Wallet/Withdraw/confirmTransaction.js +4 -4
- package/dist/components/Wallet/Withdraw/form.js +4 -4
- package/dist/components/Wallet/Withdraw/index.js +12 -11
- package/dist/{constants-BSdmHYnc.js → constants-t7n9qCW3.js} +245 -244
- package/dist/{cryptoAssets-BdNVnpA_.js → cryptoAssets-shEFU26O.js} +1 -1
- package/dist/hooks/useEverestDispatch.d.ts +6 -0
- package/dist/hooks/useEverestDispatch.js +5 -0
- package/dist/{index-Be3ndI6s.js → index-B6MSTmAM.js} +104 -103
- package/dist/{index-HZ9RrpTC.js → index-C2EjFXaz.js} +87 -86
- package/dist/{index-BXF4OI74.js → index-Cs7bSfT3.js} +17 -16
- package/dist/{index-D3OzGVxQ.js → index-DFRU-R-5.js} +38 -37
- package/dist/{index-CRyby3Qm.js → index-Da0r8FX2.js} +11 -10
- package/dist/{index-BlfzmV5M.js → index-RDV0mQbt.js} +36 -35
- package/dist/{index-Cvp4wWrB.js → index-j0zehpzg.js} +40 -39
- package/dist/{kyc-BQsiHtP6.js → kyc-D9xahfH9.js} +1 -1
- package/dist/main.js +7 -7
- package/dist/{order-BKKCskeq.js → order-jqH948WM.js} +29 -25
- package/dist/{react-redux-B4BZippc.js → react-redux-C7I9-1M6.js} +2 -2
- package/dist/{stake-WjG22nIX.js → stake-Dcq6QpaA.js} +3 -3
- package/dist/{tokenRow-D32W5WH3.js → tokenRow-B-tustzZ.js} +8 -6
- package/dist/util/constants.d.ts +2 -0
- package/dist/util/constants.js +21 -19
- package/dist/{wallet-BXA-R-Ks.js → wallet-DpkUmmq0.js} +1 -1
- package/package.json +3 -2
|
@@ -2,7 +2,7 @@ import "react/jsx-runtime";
|
|
|
2
2
|
import "react";
|
|
3
3
|
import "../../../generic-token-B_ptO5yb.js";
|
|
4
4
|
import "../../../util/constants.js";
|
|
5
|
-
import { T as l } from "../../../tokenRow-
|
|
5
|
+
import { T as l } from "../../../tokenRow-B-tustzZ.js";
|
|
6
6
|
import "../../../util/conversions.js";
|
|
7
7
|
import "../Shared/appButton.js";
|
|
8
8
|
import "../../../Grid-CFe3amXO.js";
|
|
@@ -9,15 +9,16 @@ import { W as ce } from "../../../react-webcam-B3cXh1XT.js";
|
|
|
9
9
|
import { c as ae } from "../../../createSvgIcon-Cuzqm90l.js";
|
|
10
10
|
import se from "../../Shared/transition.js";
|
|
11
11
|
import { getDocName as le } from "../../../util/functions.js";
|
|
12
|
-
import { u as me
|
|
13
|
-
import {
|
|
14
|
-
import { e as
|
|
12
|
+
import { u as me } from "../../../react-redux-C7I9-1M6.js";
|
|
13
|
+
import { ar as de, as as ue, at as he, au as pe, av as fe, aw as ge } from "../../../constants-t7n9qCW3.js";
|
|
14
|
+
import { e as xe } from "../../../index-BQNs1mvn.js";
|
|
15
15
|
import { s as i } from "../../../styles.module-CHPRGltL.js";
|
|
16
|
-
import { RIGHT_ARROW as M, DELETE_ICON as
|
|
17
|
-
import { useDialog as
|
|
16
|
+
import { RIGHT_ARROW as M, DELETE_ICON as De } from "../../../util/constants.js";
|
|
17
|
+
import { useDialog as Ce } from "../../../hooks/useDialog/index.js";
|
|
18
18
|
import g from "../Shared/appButton.js";
|
|
19
|
+
import be from "../../../hooks/useEverestDispatch.js";
|
|
19
20
|
import { B as ve } from "../../../Backdrop-CioURPVG.js";
|
|
20
|
-
import { C as
|
|
21
|
+
import { C as w } from "../../../CircularProgress-xZA3lvba.js";
|
|
21
22
|
import { T as a } from "../../../Typography-pAaje37G.js";
|
|
22
23
|
import { B as Ne } from "../../../Button-Df4vgU24.js";
|
|
23
24
|
import { B as c } from "../../../Box-B0YSYLco.js";
|
|
@@ -27,20 +28,20 @@ import { I as T } from "../../../IconButton-DHm-hucF.js";
|
|
|
27
28
|
import { D as V } from "../../../Divider-BShhMFf4.js";
|
|
28
29
|
import { G as u } from "../../../Grid-CFe3amXO.js";
|
|
29
30
|
const ye = () => ({
|
|
30
|
-
type:
|
|
31
|
+
type: ue
|
|
31
32
|
}), Ee = (o) => ({
|
|
32
|
-
type:
|
|
33
|
+
type: pe,
|
|
33
34
|
payload: o
|
|
34
35
|
}), Se = (o) => ({
|
|
35
|
-
type:
|
|
36
|
+
type: fe,
|
|
36
37
|
payload: o
|
|
37
38
|
}), J = () => ({
|
|
38
|
-
type:
|
|
39
|
+
type: de
|
|
39
40
|
}), Ie = (o) => ({
|
|
40
|
-
type:
|
|
41
|
+
type: ge,
|
|
41
42
|
payload: o
|
|
42
43
|
}), Te = (o) => ({
|
|
43
|
-
type:
|
|
44
|
+
type: he,
|
|
44
45
|
payload: o
|
|
45
46
|
}), ke = ae(/* @__PURE__ */ e("path", {
|
|
46
47
|
d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"
|
|
@@ -74,7 +75,7 @@ const ye = () => ({
|
|
|
74
75
|
children: /* @__PURE__ */ e("strong", { children: "Next" })
|
|
75
76
|
}
|
|
76
77
|
)
|
|
77
|
-
] }),
|
|
78
|
+
] }), we = ({
|
|
78
79
|
showAlertMessage: o,
|
|
79
80
|
uploadLoader: d,
|
|
80
81
|
uploadDocument: x,
|
|
@@ -121,8 +122,8 @@ const ye = () => ({
|
|
|
121
122
|
var E;
|
|
122
123
|
const y = (E = k.target) == null ? void 0 : E.result;
|
|
123
124
|
if (typeof y == "string") {
|
|
124
|
-
const
|
|
125
|
-
s(
|
|
125
|
+
const W = y.split(/[,]/);
|
|
126
|
+
s(W[1]);
|
|
126
127
|
}
|
|
127
128
|
}, b.readAsDataURL(m.target.files[0]);
|
|
128
129
|
}
|
|
@@ -133,7 +134,7 @@ const ye = () => ({
|
|
|
133
134
|
}
|
|
134
135
|
),
|
|
135
136
|
d ? /* @__PURE__ */ t(c, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
|
|
136
|
-
/* @__PURE__ */ e(
|
|
137
|
+
/* @__PURE__ */ e(w, { size: 30, color: "inherit" }),
|
|
137
138
|
/* @__PURE__ */ t(a, { variant: "h5", sx: { fontWeight: "bold" }, children: [
|
|
138
139
|
"Processing...",
|
|
139
140
|
/* @__PURE__ */ e("br", {}),
|
|
@@ -154,7 +155,7 @@ const ye = () => ({
|
|
|
154
155
|
}
|
|
155
156
|
)
|
|
156
157
|
] });
|
|
157
|
-
},
|
|
158
|
+
}, We = ({
|
|
158
159
|
showAlertMessage: o,
|
|
159
160
|
documentFile: d,
|
|
160
161
|
setDocumentFile: x,
|
|
@@ -209,7 +210,7 @@ const ye = () => ({
|
|
|
209
210
|
}
|
|
210
211
|
),
|
|
211
212
|
s ? /* @__PURE__ */ t(c, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
|
|
212
|
-
/* @__PURE__ */ e(
|
|
213
|
+
/* @__PURE__ */ e(w, { size: 30, color: "inherit" }),
|
|
213
214
|
/* @__PURE__ */ t(a, { variant: "h5", sx: { fontWeight: "bold" }, children: [
|
|
214
215
|
"Processing...",
|
|
215
216
|
/* @__PURE__ */ e("br", {}),
|
|
@@ -257,14 +258,14 @@ const ye = () => ({
|
|
|
257
258
|
/* @__PURE__ */ e(g, { onClick: C, sx: { mt: 8 }, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Take Photo" }) })
|
|
258
259
|
] })
|
|
259
260
|
] });
|
|
260
|
-
},
|
|
261
|
-
const { openDialog: x, ConfirmDialog: h } =
|
|
261
|
+
}, at = ({ showAlertMessage: o, identityDocs: d }) => {
|
|
262
|
+
const { openDialog: x, ConfirmDialog: h } = Ce(), s = be(), r = me(xe), l = r.data, D = r.loader, p = r.message, C = r.error, N = r.preview.front, m = r.preview.back, b = r.preview.loader, k = r.uploadLoader, [y, E] = f(!1), [W, O] = f(!1), [P, S] = f(1), [K, G] = f(!1), [U, Q] = f(""), [R, B] = f("");
|
|
262
263
|
A(() => {
|
|
263
264
|
C && o({ message: C });
|
|
264
265
|
}, [C]), A(() => {
|
|
265
266
|
p && (o({ message: p, type: "success" }), E(!1), _());
|
|
266
267
|
}, [p]);
|
|
267
|
-
const
|
|
268
|
+
const q = () => {
|
|
268
269
|
if (!U)
|
|
269
270
|
return o({ message: "Please provide the document name" }), !1;
|
|
270
271
|
if (!R)
|
|
@@ -287,7 +288,7 @@ const ye = () => ({
|
|
|
287
288
|
s(Se(n));
|
|
288
289
|
}, te = (n) => {
|
|
289
290
|
x({
|
|
290
|
-
icon:
|
|
291
|
+
icon: De,
|
|
291
292
|
height: "450px",
|
|
292
293
|
title: "Are you sure you want to delete?",
|
|
293
294
|
message: "This action cannot be undone.",
|
|
@@ -330,7 +331,7 @@ const ye = () => ({
|
|
|
330
331
|
}
|
|
331
332
|
)
|
|
332
333
|
] }), _ = () => {
|
|
333
|
-
|
|
334
|
+
Q(""), B(""), S(1), G(!1);
|
|
334
335
|
};
|
|
335
336
|
return /* @__PURE__ */ t(v, { children: [
|
|
336
337
|
/* @__PURE__ */ e(h, {}),
|
|
@@ -342,7 +343,7 @@ const ye = () => ({
|
|
|
342
343
|
zIndex: (n) => n.zIndex.drawer + 1e3
|
|
343
344
|
},
|
|
344
345
|
open: b,
|
|
345
|
-
children: /* @__PURE__ */ e(
|
|
346
|
+
children: /* @__PURE__ */ e(w, { color: "inherit" })
|
|
346
347
|
}
|
|
347
348
|
),
|
|
348
349
|
/* @__PURE__ */ e(a, { className: i.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "My Documents" }) }),
|
|
@@ -359,7 +360,7 @@ const ye = () => ({
|
|
|
359
360
|
]
|
|
360
361
|
}
|
|
361
362
|
),
|
|
362
|
-
D ? /* @__PURE__ */ e(c, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(
|
|
363
|
+
D ? /* @__PURE__ */ e(c, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(w, {}) }) : /* @__PURE__ */ t(v, { children: [
|
|
363
364
|
d && d.map((n, I) => /* @__PURE__ */ e(H, { data: n, type: "identity" }, I)),
|
|
364
365
|
l && l.map((n, I) => /* @__PURE__ */ e(H, { data: n, type: "normal" }, I)),
|
|
365
366
|
!d && l.length === 0 && /* @__PURE__ */ e(a, { mt: 4, className: "text-center", variant: "h4", children: "No Documents" })
|
|
@@ -368,7 +369,7 @@ const ye = () => ({
|
|
|
368
369
|
g,
|
|
369
370
|
{
|
|
370
371
|
sx: { mt: 4 },
|
|
371
|
-
onClick: () =>
|
|
372
|
+
onClick: () => G(!0),
|
|
372
373
|
fullWidth: !0,
|
|
373
374
|
children: /* @__PURE__ */ e("strong", { children: "Add new document" })
|
|
374
375
|
}
|
|
@@ -376,7 +377,7 @@ const ye = () => ({
|
|
|
376
377
|
/* @__PURE__ */ t(
|
|
377
378
|
L,
|
|
378
379
|
{
|
|
379
|
-
open:
|
|
380
|
+
open: W,
|
|
380
381
|
fullWidth: !0,
|
|
381
382
|
onClose: () => O(!1),
|
|
382
383
|
children: [
|
|
@@ -491,29 +492,29 @@ const ye = () => ({
|
|
|
491
492
|
{
|
|
492
493
|
showAlertMessage: o,
|
|
493
494
|
documentName: U,
|
|
494
|
-
setDocumentName:
|
|
495
|
+
setDocumentName: Q,
|
|
495
496
|
setDocumentScreen: S
|
|
496
497
|
}
|
|
497
498
|
),
|
|
498
499
|
2: /* @__PURE__ */ e(
|
|
499
|
-
|
|
500
|
+
we,
|
|
500
501
|
{
|
|
501
502
|
showAlertMessage: o,
|
|
502
503
|
setDocumentScreen: S,
|
|
503
504
|
documentFile: R,
|
|
504
505
|
setDocumentFile: B,
|
|
505
|
-
uploadDocument:
|
|
506
|
+
uploadDocument: q,
|
|
506
507
|
uploadLoader: k
|
|
507
508
|
}
|
|
508
509
|
),
|
|
509
510
|
3: /* @__PURE__ */ e(
|
|
510
|
-
|
|
511
|
+
We,
|
|
511
512
|
{
|
|
512
513
|
showAlertMessage: o,
|
|
513
514
|
setDocumentScreen: S,
|
|
514
515
|
documentFile: R,
|
|
515
516
|
setDocumentFile: B,
|
|
516
|
-
uploadDocument:
|
|
517
|
+
uploadDocument: q,
|
|
517
518
|
uploadLoader: k
|
|
518
519
|
}
|
|
519
520
|
)
|
|
@@ -524,5 +525,5 @@ const ye = () => ({
|
|
|
524
525
|
] });
|
|
525
526
|
};
|
|
526
527
|
export {
|
|
527
|
-
|
|
528
|
+
at as default
|
|
528
529
|
};
|
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
import { jsxs as r, Fragment as U, jsx as e } from "react/jsx-runtime";
|
|
2
2
|
import { useState as Z, useEffect as _ } from "react";
|
|
3
|
-
import { u as
|
|
4
|
-
import {
|
|
5
|
-
import { a as
|
|
3
|
+
import { u as R } from "../../../react-redux-C7I9-1M6.js";
|
|
4
|
+
import { ah as W, ai as q, aj as Q, ak as X, c as b, K as j } from "../../../constants-t7n9qCW3.js";
|
|
5
|
+
import { a as $ } from "../../../index-BQNs1mvn.js";
|
|
6
6
|
import { s as o } from "../../../styles.module-CHPRGltL.js";
|
|
7
7
|
import l from "../Shared/inputField.js";
|
|
8
|
-
import
|
|
9
|
-
import { SYNTHETIC_EURE as
|
|
10
|
-
import
|
|
8
|
+
import J from "./documents.js";
|
|
9
|
+
import { SYNTHETIC_EURE as e2, KYC_APROVED_TOOLTIP as t2, KYC_ELITE_TOOLTIP as r2, WIDGET_URL as i2 } from "../../../util/constants.js";
|
|
10
|
+
import a2 from "../../../hoc/withThemeProvider.js";
|
|
11
11
|
import "../../../index-DlQqWbXG.js";
|
|
12
12
|
import { AuthInnerContainer as L } from "../Shared/Container/index.js";
|
|
13
13
|
import "../Shared/appButton.js";
|
|
14
14
|
import "../Shared/Auth/otpForm.js";
|
|
15
|
-
import { useSnackBarContext as
|
|
15
|
+
import { useSnackBarContext as o2 } from "../../../context/snackBarContext.js";
|
|
16
|
+
import l2 from "../../../hooks/useEverestDispatch.js";
|
|
16
17
|
import "../../../util/conversions.js";
|
|
17
18
|
import "../../../index-CAoLi5Qq.js";
|
|
18
19
|
import "../Shared/pin.js";
|
|
@@ -32,20 +33,20 @@ import { A as c2 } from "../../../Avatar-1XklXr4O.js";
|
|
|
32
33
|
import { D as d2 } from "../../../Divider-BShhMFf4.js";
|
|
33
34
|
import { D as p2, a as f2 } from "../../../DialogContent-BMwlOnbW.js";
|
|
34
35
|
const u2 = () => ({
|
|
35
|
-
type:
|
|
36
|
+
type: W
|
|
36
37
|
}), m2 = () => ({
|
|
37
|
-
type:
|
|
38
|
+
type: q
|
|
38
39
|
}), h2 = () => ({
|
|
39
|
-
type:
|
|
40
|
+
type: Q
|
|
40
41
|
}), C2 = (g) => ({
|
|
41
|
-
type:
|
|
42
|
+
type: X,
|
|
42
43
|
payload: g
|
|
43
44
|
}), _2 = "data:image/svg+xml,%3csvg%20width='84'%20height='84'%20viewBox='0%200%2084%2084'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20filter='url(%23filter0_d_9102_77746)'%3e%3ccircle%20cx='42'%20cy='42'%20r='30'%20fill='url(%23paint0_linear_9102_77746)'/%3e%3c/g%3e%3cg%20filter='url(%23filter1_d_9102_77746)'%3e%3cg%20filter='url(%23filter2_d_9102_77746)'%3e%3cmask%20id='path-2-inside-1_9102_77746'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M59.1502%2072.3697C65.1424%2072.3697%2070.0001%2067.512%2070.0001%2061.5198C70.0001%2055.5276%2065.1424%2050.6699%2059.1502%2050.6699C53.1579%2050.6699%2048.3003%2055.5276%2048.3003%2061.5198C48.3003%2067.512%2053.1579%2072.3697%2059.1502%2072.3697ZM55.9037%2066.1547C56.3329%2066.5895%2057.0347%2066.5895%2057.464%2066.1548L64.9338%2058.5909C65.3854%2058.1337%2065.3854%2057.3983%2064.9339%2056.941C64.4742%2056.4755%2063.7227%2056.4755%2063.263%2056.941L56.6838%2063.604L54.5835%2061.477C54.1242%2061.0118%2053.3731%2061.0116%2052.9136%2061.4767C52.4619%2061.9338%2052.4618%2062.6691%2052.9133%2063.1263L55.9037%2066.1547Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M59.1502%2072.3697C65.1424%2072.3697%2070.0001%2067.512%2070.0001%2061.5198C70.0001%2055.5276%2065.1424%2050.6699%2059.1502%2050.6699C53.1579%2050.6699%2048.3003%2055.5276%2048.3003%2061.5198C48.3003%2067.512%2053.1579%2072.3697%2059.1502%2072.3697ZM55.9037%2066.1547C56.3329%2066.5895%2057.0347%2066.5895%2057.464%2066.1548L64.9338%2058.5909C65.3854%2058.1337%2065.3854%2057.3983%2064.9339%2056.941C64.4742%2056.4755%2063.7227%2056.4755%2063.263%2056.941L56.6838%2063.604L54.5835%2061.477C54.1242%2061.0118%2053.3731%2061.0116%2052.9136%2061.4767C52.4619%2061.9338%2052.4618%2062.6691%2052.9133%2063.1263L55.9037%2066.1547Z'%20fill='url(%23paint1_linear_9102_77746)'%20shape-rendering='crispEdges'/%3e%3cpath%20d='M57.464%2066.1548L57.1082%2065.8035V65.8035L57.464%2066.1548ZM55.9037%2066.1547L55.5479%2066.5061L55.9037%2066.1547ZM64.9338%2058.5909L65.2896%2058.9423V58.9423L64.9338%2058.5909ZM64.9339%2056.941L65.2897%2056.5897L64.9339%2056.941ZM63.263%2056.941L63.6188%2057.2923H63.6188L63.263%2056.941ZM56.6838%2063.604L56.328%2063.9553L56.6838%2064.3156L57.0396%2063.9553L56.6838%2063.604ZM54.5835%2061.477L54.9393%2061.1257H54.9393L54.5835%2061.477ZM52.9136%2061.4767L52.5579%2061.1252V61.1252L52.9136%2061.4767ZM52.9133%2063.1263L52.5575%2063.4776L52.9133%2063.1263ZM69.5001%2061.5198C69.5001%2067.2359%2064.8663%2071.8697%2059.1502%2071.8697V72.8697C65.4185%2072.8697%2070.5001%2067.7882%2070.5001%2061.5198H69.5001ZM59.1502%2051.1699C64.8663%2051.1699%2069.5001%2055.8037%2069.5001%2061.5198H70.5001C70.5001%2055.2514%2065.4185%2050.1699%2059.1502%2050.1699V51.1699ZM48.8003%2061.5198C48.8003%2055.8037%2053.4341%2051.1699%2059.1502%2051.1699V50.1699C52.8818%2050.1699%2047.8003%2055.2514%2047.8003%2061.5198H48.8003ZM59.1502%2071.8697C53.4341%2071.8697%2048.8003%2067.2359%2048.8003%2061.5198H47.8003C47.8003%2067.7882%2052.8818%2072.8697%2059.1502%2072.8697V71.8697ZM57.1082%2065.8035C56.8747%2066.0399%2056.4929%2066.0399%2056.2594%2065.8034L55.5479%2066.5061C56.1729%2067.139%2057.1947%2067.1391%2057.8198%2066.5061L57.1082%2065.8035ZM64.5781%2058.2396L57.1082%2065.8035L57.8198%2066.5061L65.2896%2058.9423L64.5781%2058.2396ZM64.5781%2057.2923C64.8374%2057.5549%2064.8374%2057.9771%2064.5781%2058.2396L65.2896%2058.9423C65.9335%2058.2903%2065.9335%2057.2417%2065.2897%2056.5897L64.5781%2057.2923ZM63.6188%2057.2923C63.8827%2057.025%2064.3142%2057.025%2064.5781%2057.2923L65.2897%2056.5897C64.6342%2055.9259%2063.5627%2055.9259%2062.9073%2056.5897L63.6188%2057.2923ZM57.0396%2063.9553L63.6188%2057.2923L62.9073%2056.5897L56.328%2063.2527L57.0396%2063.9553ZM54.2278%2061.8283L56.328%2063.9553L57.0396%2063.2527L54.9393%2061.1257L54.2278%2061.8283ZM53.2692%2061.8281C53.533%2061.5612%2053.9641%2061.5613%2054.2278%2061.8283L54.9393%2061.1257C54.2842%2060.4622%2053.2133%2060.462%2052.5579%2061.1252L53.2692%2061.8281ZM53.269%2062.775C53.0099%2062.5125%2053.01%2062.0905%2053.2692%2061.8281L52.5579%2061.1252C51.9138%2061.777%2051.9136%2062.8256%2052.5575%2063.4776L53.269%2062.775ZM56.2594%2065.8034L53.269%2062.775L52.5575%2063.4776L55.5479%2066.5061L56.2594%2065.8034Z'%20fill='url(%23paint2_linear_9102_77746)'%20fill-opacity='0.9'%20mask='url(%23path-2-inside-1_9102_77746)'/%3e%3c/g%3e%3cg%20filter='url(%23filter3_d_9102_77746)'%3e%3cmask%20id='path-4-inside-2_9102_77746'%20fill='white'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M26.195%2023.3138C26.195%2016.5257%2031.727%2011%2038.5128%2011C45.2986%2011%2050.8224%2016.5257%2050.8224%2023.3138C50.8224%2030.1018%2045.2986%2035.6275%2038.5128%2035.6275C31.727%2035.6275%2026.195%2030.1018%2026.195%2023.3138ZM15%2056.8994C15%2046.3756%2023.508%2037.867%2034.0325%2037.867L42.9836%2037.8667C50.7629%2037.8667%2057.4307%2042.5215%2060.385%2049.1966C59.8192%2049.1167%2059.2452%2049.0612%2058.6577%2049.0612C51.8697%2049.0612%2046.344%2054.5936%2046.344%2061.3793C46.344%2063.3939%2046.8415%2065.2915%2047.704%2066.9721H16.1173C15.9701%2066.9717%2015.8244%2066.9423%2015.6886%2066.8857C15.5527%2066.829%2015.4294%2066.7461%2015.3256%2066.6418C15.2219%2066.5374%2015.1397%2066.4136%2015.0838%2066.2774C15.0279%2066.1412%2014.9995%2065.9954%2015%2065.8482V56.8994Z'/%3e%3c/mask%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M26.195%2023.3138C26.195%2016.5257%2031.727%2011%2038.5128%2011C45.2986%2011%2050.8224%2016.5257%2050.8224%2023.3138C50.8224%2030.1018%2045.2986%2035.6275%2038.5128%2035.6275C31.727%2035.6275%2026.195%2030.1018%2026.195%2023.3138ZM15%2056.8994C15%2046.3756%2023.508%2037.867%2034.0325%2037.867L42.9836%2037.8667C50.7629%2037.8667%2057.4307%2042.5215%2060.385%2049.1966C59.8192%2049.1167%2059.2452%2049.0612%2058.6577%2049.0612C51.8697%2049.0612%2046.344%2054.5936%2046.344%2061.3793C46.344%2063.3939%2046.8415%2065.2915%2047.704%2066.9721H16.1173C15.9701%2066.9717%2015.8244%2066.9423%2015.6886%2066.8857C15.5527%2066.829%2015.4294%2066.7461%2015.3256%2066.6418C15.2219%2066.5374%2015.1397%2066.4136%2015.0838%2066.2774C15.0279%2066.1412%2014.9995%2065.9954%2015%2065.8482V56.8994Z'%20fill='url(%23paint3_linear_9102_77746)'%20shape-rendering='crispEdges'/%3e%3cpath%20d='M34.0325%2037.867V38.367H34.0325L34.0325%2037.867ZM42.9836%2037.8667V37.3667H42.9836L42.9836%2037.8667ZM60.385%2049.1966L60.315%2049.6917L61.2066%2049.8177L60.8422%2048.9943L60.385%2049.1966ZM47.704%2066.9721V67.4721H48.5226L48.1488%2066.7438L47.704%2066.9721ZM16.1173%2066.9721L16.1163%2067.4721H16.1173V66.9721ZM15.6886%2066.8857L15.4961%2067.3471L15.4961%2067.3471L15.6886%2066.8857ZM15.3256%2066.6418L15.6802%2066.2892L15.6802%2066.2892L15.3256%2066.6418ZM15.0838%2066.2774L14.6212%2066.4672L15.0838%2066.2774ZM15%2065.8482L15.5%2065.8501V65.8482H15ZM38.5128%2010.5C31.4512%2010.5%2025.695%2016.2493%2025.695%2023.3138H26.695C26.695%2016.8022%2032.0029%2011.5%2038.5128%2011.5V10.5ZM51.3224%2023.3138C51.3224%2016.2498%2045.5749%2010.5%2038.5128%2010.5V11.5C45.0223%2011.5%2050.3224%2016.8017%2050.3224%2023.3138H51.3224ZM38.5128%2036.1275C45.5749%2036.1275%2051.3224%2030.3777%2051.3224%2023.3138H50.3224C50.3224%2029.8258%2045.0223%2035.1275%2038.5128%2035.1275V36.1275ZM25.695%2023.3138C25.695%2030.3782%2031.4512%2036.1275%2038.5128%2036.1275V35.1275C32.0029%2035.1275%2026.695%2029.8253%2026.695%2023.3138H25.695ZM34.0325%2037.367C23.2318%2037.367%2014.5%2046.0994%2014.5%2056.8994H15.5C15.5%2046.6517%2023.7841%2038.367%2034.0325%2038.367V37.367ZM42.9836%2037.3667L34.0325%2037.367L34.0325%2038.367L42.9836%2038.3667L42.9836%2037.3667ZM60.8422%2048.9943C57.8108%2042.1449%2050.9681%2037.3667%2042.9836%2037.3667V38.3667C50.5578%2038.3667%2057.0506%2042.8981%2059.9278%2049.399L60.8422%2048.9943ZM58.6577%2049.5612C59.2141%2049.5612%2059.7634%2049.6137%2060.315%2049.6917L60.4549%2048.7016C59.8751%2048.6196%2059.2762%2048.5612%2058.6577%2048.5612V49.5612ZM46.844%2061.3793C46.844%2054.8695%2052.1461%2049.5612%2058.6577%2049.5612V48.5612C51.5933%2048.5612%2045.844%2054.3178%2045.844%2061.3793H46.844ZM48.1488%2066.7438C47.3207%2065.1301%2046.844%2063.3105%2046.844%2061.3793H45.844C45.844%2063.4774%2046.3623%2065.4528%2047.2591%2067.2004L48.1488%2066.7438ZM16.1173%2067.4721H47.704V66.4721H16.1173V67.4721ZM15.4961%2067.3471C15.6924%2067.429%2015.9032%2067.4716%2016.1163%2067.4721L16.1184%2066.4721C16.0371%2066.4719%2015.9564%2066.4556%2015.8811%2066.4242L15.4961%2067.3471ZM14.9711%2066.9943C15.1212%2067.1453%2015.2996%2067.2652%2015.4961%2067.3471L15.8811%2066.4242C15.8058%2066.3928%2015.7376%2066.347%2015.6802%2066.2892L14.9711%2066.9943ZM14.6212%2066.4672C14.7021%2066.6642%2014.8209%2066.8433%2014.9711%2066.9943L15.6802%2066.2892C15.6228%2066.2315%2015.5773%2066.163%2015.5464%2066.0876L14.6212%2066.4672ZM14.5%2065.8463C14.4992%2066.0593%2014.5404%2066.2702%2014.6212%2066.4672L15.5464%2066.0876C15.5155%2066.0122%2015.4997%2065.9315%2015.5%2065.8501L14.5%2065.8463ZM14.5%2056.8994V65.8482H15.5V56.8994H14.5Z'%20fill='url(%23paint4_linear_9102_77746)'%20fill-opacity='0.9'%20mask='url(%23path-4-inside-2_9102_77746)'/%3e%3c/g%3e%3c/g%3e%3cdefs%3e%3cfilter%20id='filter0_d_9102_77746'%20x='0'%20y='0'%20width='84'%20height='84'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset/%3e%3cfeGaussianBlur%20stdDeviation='6'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.25%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_9102_77746'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_9102_77746'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter1_d_9102_77746'%20x='14'%20y='11'%20width='57'%20height='63.3691'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='1'/%3e%3cfeGaussianBlur%20stdDeviation='0.5'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_9102_77746'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_9102_77746'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter2_d_9102_77746'%20x='47.9462'%20y='50.4929'%20width='22.4079'%20height='22.4074'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='0.17704'/%3e%3cfeGaussianBlur%20stdDeviation='0.17704'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_9102_77746'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_9102_77746'%20result='shape'/%3e%3c/filter%3e%3cfilter%20id='filter3_d_9102_77746'%20x='13.9883'%20y='10.4942'%20width='47.4081'%20height='57.996'%20filterUnits='userSpaceOnUse'%20color-interpolation-filters='sRGB'%3e%3cfeFlood%20flood-opacity='0'%20result='BackgroundImageFix'/%3e%3cfeColorMatrix%20in='SourceAlpha'%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%20127%200'%20result='hardAlpha'/%3e%3cfeOffset%20dy='0.505827'/%3e%3cfeGaussianBlur%20stdDeviation='0.505827'/%3e%3cfeComposite%20in2='hardAlpha'%20operator='out'/%3e%3cfeColorMatrix%20type='matrix'%20values='0%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200%200.1%200'/%3e%3cfeBlend%20mode='normal'%20in2='BackgroundImageFix'%20result='effect1_dropShadow_9102_77746'/%3e%3cfeBlend%20mode='normal'%20in='SourceGraphic'%20in2='effect1_dropShadow_9102_77746'%20result='shape'/%3e%3c/filter%3e%3clinearGradient%20id='paint0_linear_9102_77746'%20x1='-6.67925'%20y1='53.3208'%20x2='72'%20y2='27.283'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2335E0F4'/%3e%3cstop%20offset='0.0696'%20stop-color='%2333D7F0'/%3e%3cstop%20offset='0.1854'%20stop-color='%232EBDE4'/%3e%3cstop%20offset='0.333'%20stop-color='%232594D0'/%3e%3cstop%20offset='0.505'%20stop-color='%23195BB6'/%3e%3cstop%20offset='0.6164'%20stop-color='%231132A3'/%3e%3cstop%20offset='1'%20stop-color='%231132A3'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint1_linear_9102_77746'%20x1='49.3253'%20y1='57.6399'%20x2='68.5953'%20y2='72.3999'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2344DCB7'/%3e%3cstop%20offset='0.42045'%20stop-color='%2335E0F4'/%3e%3cstop%20offset='1'%20stop-color='%2344DCB7'%20stop-opacity='0.02'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint2_linear_9102_77746'%20x1='78.6986'%20y1='54.7279'%20x2='80.6968'%20y2='74.2386'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint3_linear_9102_77746'%20x1='17.1438'%20y1='28.9783'%20x2='63.2916'%20y2='57.6396'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='%2344DCB7'/%3e%3cstop%20offset='0.42045'%20stop-color='%2335E0F4'/%3e%3cstop%20offset='1'%20stop-color='%2344DCB7'%20stop-opacity='0.02'/%3e%3c/linearGradient%3e%3clinearGradient%20id='paint4_linear_9102_77746'%20x1='78.5779'%20y1='21.467'%20x2='84.9004'%20y2='71.5222'%20gradientUnits='userSpaceOnUse'%3e%3cstop%20stop-color='white'/%3e%3cstop%20offset='1'%20stop-color='white'%20stop-opacity='0'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e", L2 = ({
|
|
44
45
|
gemsUrl: g,
|
|
45
46
|
baseUrl: S,
|
|
46
47
|
isEnterPriseWallet: k = !1
|
|
47
48
|
}) => {
|
|
48
|
-
const { showAlertMessage: c } =
|
|
49
|
+
const { showAlertMessage: c } = o2(), h = l2(), C = R((a) => a.user).kyc, i = R($), {
|
|
49
50
|
residentialAddress: f,
|
|
50
51
|
referralCount: D,
|
|
51
52
|
referral: { code: x },
|
|
@@ -59,7 +60,7 @@ const u2 = () => ({
|
|
|
59
60
|
_(() => {
|
|
60
61
|
const a = T.list, u = a.length;
|
|
61
62
|
for (let d = 0; d < u; d++)
|
|
62
|
-
if (a[d].symbol ===
|
|
63
|
+
if (a[d].symbol === e2) {
|
|
63
64
|
H(Number(a[d].balance) / 100);
|
|
64
65
|
break;
|
|
65
66
|
}
|
|
@@ -111,10 +112,10 @@ const u2 = () => ({
|
|
|
111
112
|
/* @__PURE__ */ r(m, { p: 3, children: [
|
|
112
113
|
/* @__PURE__ */ r(t, { container: !0, children: [
|
|
113
114
|
/* @__PURE__ */ e(t, { size: { xs: 12, md: 6 }, children: /* @__PURE__ */ e(n, { className: o.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "Personal Details" }) }) }),
|
|
114
|
-
(C.status === b || C.status ===
|
|
115
|
+
(C.status === b || C.status === j) && /* @__PURE__ */ e(t, { size: { xs: 12, md: 6 }, className: "text-right", children: /* @__PURE__ */ e(
|
|
115
116
|
s2,
|
|
116
117
|
{
|
|
117
|
-
title: C.status === b ?
|
|
118
|
+
title: C.status === b ? t2 : r2,
|
|
118
119
|
placement: "bottom",
|
|
119
120
|
children: /* @__PURE__ */ e(p, { className: o["kyc-approved"], children: C.status === b ? "KYC Approved" : "KYC Elite" })
|
|
120
121
|
}
|
|
@@ -279,7 +280,7 @@ const u2 = () => ({
|
|
|
279
280
|
] }) }),
|
|
280
281
|
/* @__PURE__ */ r(t, { size: { md: 6, xs: 12 }, children: [
|
|
281
282
|
/* @__PURE__ */ e(L, { p: 3, children: /* @__PURE__ */ e(
|
|
282
|
-
|
|
283
|
+
J,
|
|
283
284
|
{
|
|
284
285
|
identityDocs: i.identityDocuments,
|
|
285
286
|
showAlertMessage: c
|
|
@@ -357,7 +358,7 @@ const u2 = () => ({
|
|
|
357
358
|
}
|
|
358
359
|
)
|
|
359
360
|
] }),
|
|
360
|
-
/* @__PURE__ */ e("img", { height: "275", src:
|
|
361
|
+
/* @__PURE__ */ e("img", { height: "275", src: i2 + "/twitter-update.png" }),
|
|
361
362
|
/* @__PURE__ */ e(
|
|
362
363
|
p,
|
|
363
364
|
{
|
|
@@ -394,7 +395,7 @@ const u2 = () => ({
|
|
|
394
395
|
}
|
|
395
396
|
)
|
|
396
397
|
] });
|
|
397
|
-
},
|
|
398
|
+
}, t0 = a2(L2);
|
|
398
399
|
export {
|
|
399
|
-
|
|
400
|
+
t0 as default
|
|
400
401
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { jsx as e, jsxs as t, Fragment as T } from "react/jsx-runtime";
|
|
2
2
|
import S, { useState as b, useEffect as h } from "react";
|
|
3
3
|
import { C as O } from "../../../Close-CNwiMz_O.js";
|
|
4
|
-
import { c as
|
|
5
|
-
import
|
|
6
|
-
import { u as W } from "../../../react-redux-B4BZippc.js";
|
|
4
|
+
import { c as N } from "../../../createSvgIcon-Cuzqm90l.js";
|
|
5
|
+
import w from "../../Shared/transition.js";
|
|
7
6
|
import { s as C } from "../../../styles.module-CHPRGltL.js";
|
|
8
7
|
import f from "../Shared/appButton.js";
|
|
9
|
-
import
|
|
10
|
-
import { R as
|
|
11
|
-
import {
|
|
12
|
-
import { STORAGE_SUCCESS as
|
|
8
|
+
import W from "../Shared/noData.js";
|
|
9
|
+
import { R as z } from "../../../radioButton-CzlYB0Lh.js";
|
|
10
|
+
import { ax as D, ay as L, az as P, aA as M, aB as j } from "../../../constants-t7n9qCW3.js";
|
|
11
|
+
import { STORAGE_SUCCESS as q, CLOUD_ICON as F } from "../../../util/constants.js";
|
|
12
|
+
import H from "../../../hooks/useEverestDispatch.js";
|
|
13
13
|
import { B as s } from "../../../Box-B0YSYLco.js";
|
|
14
14
|
import { T as i } from "../../../Typography-pAaje37G.js";
|
|
15
15
|
import { F as Q } from "../../../FormControl-RtZDQMdA.js";
|
|
@@ -20,13 +20,13 @@ import { G as E } from "../../../Grid-CFe3amXO.js";
|
|
|
20
20
|
import { D as V, a as X } from "../../../DialogContent-BMwlOnbW.js";
|
|
21
21
|
import { I as v } from "../../../IconButton-DHm-hucF.js";
|
|
22
22
|
const Z = () => ({
|
|
23
|
-
type:
|
|
23
|
+
type: D
|
|
24
24
|
}), $ = (c) => ({
|
|
25
|
-
type:
|
|
25
|
+
type: P,
|
|
26
26
|
payload: c
|
|
27
27
|
}), ee = () => ({
|
|
28
|
-
type:
|
|
29
|
-
}), re =
|
|
28
|
+
type: L
|
|
29
|
+
}), re = N(/* @__PURE__ */ e("path", {
|
|
30
30
|
d: "M11.67 3.87 9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"
|
|
31
31
|
}), "ArrowBackIos"), ye = ({
|
|
32
32
|
showAlertMessage: c,
|
|
@@ -35,16 +35,16 @@ const Z = () => ({
|
|
|
35
35
|
purchaseStatus: d,
|
|
36
36
|
userStorage: y
|
|
37
37
|
}) => {
|
|
38
|
-
const p =
|
|
38
|
+
const p = H(), A = !1, [a, m] = b(1), [B, _] = b(!1), [n, u] = b(0);
|
|
39
39
|
h(() => {
|
|
40
40
|
p(Z()), p(ee());
|
|
41
41
|
}, []), h(() => {
|
|
42
|
-
d && d ===
|
|
42
|
+
d && d === M && m(3);
|
|
43
43
|
}, [d]), h(() => {
|
|
44
44
|
var r;
|
|
45
45
|
u((r = l[0]) == null ? void 0 : r.id);
|
|
46
46
|
}, [l]);
|
|
47
|
-
const
|
|
47
|
+
const G = S.memo(() => {
|
|
48
48
|
const r = (o) => {
|
|
49
49
|
u(Number(o.target.value));
|
|
50
50
|
}, x = () => {
|
|
@@ -68,7 +68,7 @@ const Z = () => ({
|
|
|
68
68
|
" EUR.e"
|
|
69
69
|
] }) }),
|
|
70
70
|
/* @__PURE__ */ e(Q, { component: "fieldset", fullWidth: !0, children: /* @__PURE__ */ e(Y, { value: n, onChange: r, children: l.map((o) => /* @__PURE__ */ e(
|
|
71
|
-
|
|
71
|
+
z,
|
|
72
72
|
{
|
|
73
73
|
value: o.id,
|
|
74
74
|
label: o.name,
|
|
@@ -88,7 +88,7 @@ const Z = () => ({
|
|
|
88
88
|
}
|
|
89
89
|
)
|
|
90
90
|
] });
|
|
91
|
-
}),
|
|
91
|
+
}), I = S.memo(() => {
|
|
92
92
|
const r = l.find((o) => o.id === n), x = () => {
|
|
93
93
|
r && p(
|
|
94
94
|
$({
|
|
@@ -117,15 +117,15 @@ const Z = () => ({
|
|
|
117
117
|
sx: { mt: 4, mb: 4 },
|
|
118
118
|
onClick: x,
|
|
119
119
|
disabled: !n,
|
|
120
|
-
loading: d ===
|
|
120
|
+
loading: d === j,
|
|
121
121
|
fullWidth: !0,
|
|
122
122
|
children: /* @__PURE__ */ e("strong", { children: "Confirm & Pay" })
|
|
123
123
|
}
|
|
124
124
|
)
|
|
125
125
|
] });
|
|
126
|
-
}),
|
|
126
|
+
}), U = S.memo(() => /* @__PURE__ */ t(s, { className: "text-center", children: [
|
|
127
127
|
/* @__PURE__ */ t(s, { children: [
|
|
128
|
-
/* @__PURE__ */ e("img", { src:
|
|
128
|
+
/* @__PURE__ */ e("img", { src: q, alt: "tick" }),
|
|
129
129
|
/* @__PURE__ */ e(i, { variant: "h3", mb: 4, children: "Success!" }),
|
|
130
130
|
/* @__PURE__ */ e(i, { variant: "body1", mb: 4, children: "Your storage will be accessible from your profile once payment has been processed" })
|
|
131
131
|
] }),
|
|
@@ -180,7 +180,7 @@ const Z = () => ({
|
|
|
180
180
|
alignItems: "center",
|
|
181
181
|
justifyContent: "center"
|
|
182
182
|
},
|
|
183
|
-
children: /* @__PURE__ */ e("img", { src:
|
|
183
|
+
children: /* @__PURE__ */ e("img", { src: F, alt: "Icon" })
|
|
184
184
|
}
|
|
185
185
|
),
|
|
186
186
|
/* @__PURE__ */ t(E, { size: { xs: 10, md: 10.8 }, children: [
|
|
@@ -213,16 +213,16 @@ const Z = () => ({
|
|
|
213
213
|
] })
|
|
214
214
|
] })
|
|
215
215
|
}
|
|
216
|
-
) : /* @__PURE__ */ e(
|
|
216
|
+
) : /* @__PURE__ */ e(W, { text: "Buy Storage with EUR.e" }) }),
|
|
217
217
|
/* @__PURE__ */ e(f, { sx: { mt: 4 }, onClick: () => _(!0), fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Add Storage" }) }),
|
|
218
218
|
/* @__PURE__ */ t(
|
|
219
219
|
V,
|
|
220
220
|
{
|
|
221
221
|
maxWidth: a === 3 ? "sm" : "md",
|
|
222
222
|
fullWidth: !0,
|
|
223
|
-
open:
|
|
223
|
+
open: B,
|
|
224
224
|
onClose: g,
|
|
225
|
-
TransitionComponent:
|
|
225
|
+
TransitionComponent: w,
|
|
226
226
|
children: [
|
|
227
227
|
a !== 3 && /* @__PURE__ */ t(s, { className: C["asset-header"], children: [
|
|
228
228
|
a === 2 && /* @__PURE__ */ e(
|
|
@@ -251,9 +251,9 @@ const Z = () => ({
|
|
|
251
251
|
sx: { padding: a === 3 ? "80px" : "100px" },
|
|
252
252
|
dividers: !0,
|
|
253
253
|
children: {
|
|
254
|
-
1: /* @__PURE__ */ e(
|
|
255
|
-
2: /* @__PURE__ */ e(
|
|
256
|
-
3: /* @__PURE__ */ e(
|
|
254
|
+
1: /* @__PURE__ */ e(G, {}),
|
|
255
|
+
2: /* @__PURE__ */ e(I, {}),
|
|
256
|
+
3: /* @__PURE__ */ e(U, {})
|
|
257
257
|
}[a]
|
|
258
258
|
}
|
|
259
259
|
)
|
|
@@ -1,27 +1,28 @@
|
|
|
1
1
|
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
|
-
import { u
|
|
4
|
-
import { Q as
|
|
5
|
-
import "../../../constants-
|
|
6
|
-
import { a as
|
|
7
|
-
import { u as
|
|
8
|
-
import { C as
|
|
9
|
-
import { useSnackBar as
|
|
10
|
-
import
|
|
3
|
+
import { u } from "../../../react-redux-C7I9-1M6.js";
|
|
4
|
+
import { Q as S } from "../../../index-CAoLi5Qq.js";
|
|
5
|
+
import "../../../constants-t7n9qCW3.js";
|
|
6
|
+
import { a as W, c as _ } from "../../../index-BQNs1mvn.js";
|
|
7
|
+
import { u as z } from "../../../wallet-DpkUmmq0.js";
|
|
8
|
+
import { C as A } from "../../../ContentCopy-coPwrEuz.js";
|
|
9
|
+
import { useSnackBar as B } from "../../../hooks/useSnackBar.js";
|
|
10
|
+
import N from "../../../hoc/withThemeProvider.js";
|
|
11
|
+
import w from "../../../hooks/useEverestDispatch.js";
|
|
11
12
|
import { B as r } from "../../../Box-B0YSYLco.js";
|
|
12
13
|
import { C as M } from "../../../CircularProgress-xZA3lvba.js";
|
|
13
14
|
import { F as k } from "../../../FormControl-RtZDQMdA.js";
|
|
14
15
|
import { S as D } from "../../../Select-CB5yWmyn.js";
|
|
15
|
-
import { M as
|
|
16
|
-
import { B as
|
|
17
|
-
import '../../../assets/index2.css';const
|
|
18
|
-
container:
|
|
16
|
+
import { M as E } from "../../../MenuItem-DUdYOJr4.js";
|
|
17
|
+
import { B as F } from "../../../Button-Df4vgU24.js";
|
|
18
|
+
import '../../../assets/index2.css';const I = "_container_zcbz9_1", c = {
|
|
19
|
+
container: I,
|
|
19
20
|
"inner-container": "_inner-container_zcbz9_13",
|
|
20
21
|
"copy-btn": "_copy-btn_zcbz9_29"
|
|
21
|
-
},
|
|
22
|
-
const f =
|
|
22
|
+
}, P = () => {
|
|
23
|
+
const f = w(), { showAlertMessage: h, snackBar: v } = B(), i = u(W), l = u(_), C = i.loader, b = l.loader, o = l.data, s = i.everWalletAddress, [a, m] = y(s);
|
|
23
24
|
p(() => {
|
|
24
|
-
o.length <= 0 && f(
|
|
25
|
+
o.length <= 0 && f(z());
|
|
25
26
|
}, []), p(() => {
|
|
26
27
|
o.length > 0 && s && m(s);
|
|
27
28
|
}, [s, o]);
|
|
@@ -48,7 +49,7 @@ import '../../../assets/index2.css';const P = "_container_zcbz9_1", c = {
|
|
|
48
49
|
value: a,
|
|
49
50
|
displayEmpty: !0,
|
|
50
51
|
onChange: (t) => m(t.target.value),
|
|
51
|
-
children: o.map((t, x) => /* @__PURE__ */ n(
|
|
52
|
+
children: o.map((t, x) => /* @__PURE__ */ n(E, { value: t.address, children: [
|
|
52
53
|
t.name,
|
|
53
54
|
" (",
|
|
54
55
|
t.address,
|
|
@@ -56,22 +57,22 @@ import '../../../assets/index2.css';const P = "_container_zcbz9_1", c = {
|
|
|
56
57
|
] }, x))
|
|
57
58
|
}
|
|
58
59
|
) }),
|
|
59
|
-
/* @__PURE__ */ e(r, { mt: 4, className: "text-center", children: /* @__PURE__ */ e(
|
|
60
|
+
/* @__PURE__ */ e(r, { mt: 4, className: "text-center", children: /* @__PURE__ */ e(S, { value: a, size: 280 }) }),
|
|
60
61
|
/* @__PURE__ */ e(r, { mt: 4, className: "text-center", children: /* @__PURE__ */ n(
|
|
61
|
-
|
|
62
|
+
F,
|
|
62
63
|
{
|
|
63
64
|
className: c["copy-btn"],
|
|
64
65
|
variant: "contained",
|
|
65
66
|
onClick: g,
|
|
66
67
|
children: [
|
|
67
|
-
/* @__PURE__ */ e(
|
|
68
|
+
/* @__PURE__ */ e(A, {}),
|
|
68
69
|
"Copy to Clipboard"
|
|
69
70
|
]
|
|
70
71
|
}
|
|
71
72
|
) })
|
|
72
73
|
] }) }) })
|
|
73
74
|
] });
|
|
74
|
-
},
|
|
75
|
+
}, ee = N(P);
|
|
75
76
|
export {
|
|
76
|
-
|
|
77
|
+
ee as default
|
|
77
78
|
};
|
|
@@ -4,12 +4,12 @@ import "../Shared/backBtn.js";
|
|
|
4
4
|
import "../../../util/functions.js";
|
|
5
5
|
import "../../../styles.module-DMd29SPQ.js";
|
|
6
6
|
import "../Shared/appButton.js";
|
|
7
|
-
import "../../../constants-
|
|
7
|
+
import "../../../constants-t7n9qCW3.js";
|
|
8
8
|
import "../../../index-BQNs1mvn.js";
|
|
9
|
-
import "../../../order-
|
|
10
|
-
import { a as G } from "../../../index-
|
|
9
|
+
import "../../../order-jqH948WM.js";
|
|
10
|
+
import { a as G } from "../../../index-Cs7bSfT3.js";
|
|
11
11
|
import "../../../util/constants.js";
|
|
12
|
-
import "../../../react-redux-
|
|
12
|
+
import "../../../react-redux-C7I9-1M6.js";
|
|
13
13
|
import "../../../index-DlQqWbXG.js";
|
|
14
14
|
import "../../../hoc/withThemeProvider.js";
|
|
15
15
|
import "../Shared/Auth/otpForm.js";
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import "react/jsx-runtime";
|
|
2
2
|
import "react";
|
|
3
|
-
import "../../../PlayArrow-
|
|
3
|
+
import "../../../PlayArrow-C3uVNo4F.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-t7n9qCW3.js";
|
|
8
8
|
import "../../../index-BQNs1mvn.js";
|
|
9
|
-
import "../../../order-
|
|
9
|
+
import "../../../order-jqH948WM.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-Cs7bSfT3.js";
|
|
13
13
|
import "../../../styles.module-DMd29SPQ.js";
|
|
14
14
|
import "../Shared/TokenModal/index.js";
|
|
15
15
|
import "../Shared/appButton.js";
|
|
16
|
-
import "../../../react-redux-
|
|
16
|
+
import "../../../react-redux-C7I9-1M6.js";
|
|
17
17
|
import "../../../hooks/useDialog/index.js";
|
|
18
18
|
import "../../../util/conversions.js";
|
|
19
19
|
import "../Shared/Order/selectCustomIcon.js";
|