everest-npm-features 0.0.62 → 0.0.63

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 (100) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{PlayArrow-BVDyfxsQ.js → PlayArrow-71FP5PzJ.js} +5 -5
  3. package/dist/assets/styles.css +1 -1
  4. package/dist/{auth-DTJdu6mq.js → auth-BBeOw4mt.js} +1 -1
  5. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  6. package/dist/components/RocketRamp/MinimalKyc/form.js +3 -3
  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 +6 -6
  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/edd.js +3 -3
  27. package/dist/components/Shared/FullKyc/index.js +4 -4
  28. package/dist/components/Shared/FullKyc/pep.js +1 -1
  29. package/dist/components/Shared/FullKyc/personalDetails.js +3 -3
  30. package/dist/components/Shared/FullKyc/userInfo.js +4 -4
  31. package/dist/components/Shared/MinimalKyc/index.js +2 -2
  32. package/dist/components/Shared/Sumsub/index.js +2 -2
  33. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  34. package/dist/components/Wallet/Account/createIban.js +322 -97
  35. package/dist/components/Wallet/Account/eWallet.js +35 -37
  36. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  37. package/dist/components/Wallet/Account/iban.js +42 -42
  38. package/dist/components/Wallet/Account/ibanItem.js +3 -3
  39. package/dist/components/Wallet/Account/index.d.ts +1 -0
  40. package/dist/components/Wallet/Account/index.js +113 -111
  41. package/dist/components/Wallet/Account/sendIban.js +2 -2
  42. package/dist/components/Wallet/Buy/confirmTransaction.js +5 -5
  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 +2 -2
  46. package/dist/components/Wallet/EnterpriseKyc/edd.js +2 -2
  47. package/dist/components/Wallet/EnterpriseKyc/index.js +4 -4
  48. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +3 -3
  49. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +2 -2
  50. package/dist/components/Wallet/EnterpriseKyc/verify.js +2 -2
  51. package/dist/components/Wallet/History/index.js +2 -2
  52. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +96 -95
  53. package/dist/components/Wallet/Portfolio/index.js +5 -5
  54. package/dist/components/Wallet/Profile/documents.js +128 -131
  55. package/dist/components/Wallet/Profile/index.js +5 -5
  56. package/dist/components/Wallet/Profile/storage.js +2 -2
  57. package/dist/components/Wallet/Receive/index.js +2 -2
  58. package/dist/components/Wallet/Sell/confirmTransaction.js +4 -4
  59. package/dist/components/Wallet/Sell/form.js +4 -4
  60. package/dist/components/Wallet/Sell/index.js +6 -6
  61. package/dist/components/Wallet/Send/index.js +3 -3
  62. package/dist/components/Wallet/Shared/Auth/otpForm.js +3 -3
  63. package/dist/components/Wallet/Shared/BankSelect/index.js +3 -3
  64. package/dist/components/Wallet/Shared/CardCorp/index.js +2 -2
  65. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  66. package/dist/components/Wallet/Shared/Container/index.js +19 -18
  67. package/dist/components/Wallet/Shared/addBank.js +3 -3
  68. package/dist/components/Wallet/Shared/connectPlaidBank.js +2 -2
  69. package/dist/components/Wallet/Shared/manualSend.js +4 -4
  70. package/dist/components/Wallet/SignIn/index.js +3 -3
  71. package/dist/components/Wallet/SignUp/index.js +3 -3
  72. package/dist/components/Wallet/Stake/gems/index.js +61 -52
  73. package/dist/components/Wallet/Stake/id/index.js +67 -66
  74. package/dist/components/Wallet/Stake/index.js +4 -4
  75. package/dist/components/Wallet/Swap/form.js +6 -6
  76. package/dist/components/Wallet/Swap/index.js +5 -5
  77. package/dist/components/Wallet/Withdraw/bankSelect.js +4 -4
  78. package/dist/components/Wallet/Withdraw/confirmTransaction.js +3 -3
  79. package/dist/components/Wallet/Withdraw/form.js +4 -4
  80. package/dist/components/Wallet/Withdraw/index.js +5 -5
  81. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  82. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  83. package/dist/{index-3OQ4M69t.js → index-B4XvACQN.js} +7 -7
  84. package/dist/{index-BBFbUCRZ.js → index-CTPMPwYK.js} +102 -106
  85. package/dist/{index-C1WPCgkl.js → index-DkiQ8pRO.js} +51 -51
  86. package/dist/{index-CYX3j0V7.js → index-DuWW5roi.js} +7 -7
  87. package/dist/{index-CDwzoHu7.js → index-JY6-UKlX.js} +6 -6
  88. package/dist/{index-ILpK4BCB.js → index-_fiTunwZ.js} +4 -4
  89. package/dist/{index-CK4kLRAw.js → index-bK14vCZw.js} +5 -5
  90. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  91. package/dist/main.js +7 -7
  92. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  93. package/dist/{otpForm-fiNqeB5H.js → otpForm-DeeegaX2.js} +2 -2
  94. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  95. package/dist/styles.module-DFoezEqS.js +28 -0
  96. package/dist/util/constants.d.ts +1 -0
  97. package/dist/util/constants.js +72 -71
  98. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  99. package/package.json +1 -1
  100. package/dist/styles.module-CHPRGltL.js +0 -28
@@ -1,24 +1,24 @@
1
- import { jsx as e, jsxs as t, Fragment as v } from "react/jsx-runtime";
2
- import { useState as f, useEffect as B, useRef as Y } from "react";
3
- import { Backdrop as oe, CircularProgress as w, Typography as a, Button as re, Box as i, Dialog as F, DialogTitle as M, IconButton as T, Divider as $, DialogContent as L, Grid as u } from "@mui/material";
1
+ import { jsxs as t, Fragment as v, jsx as e } from "react/jsx-runtime";
2
+ import { useState as f, useEffect as F, useRef as Y } from "react";
3
+ import { Backdrop as oe, CircularProgress as W, Typography as l, Button as re, Box as c, Dialog as B, DialogTitle as $, IconButton as k, Divider as H, DialogContent as j, Grid as h } from "@mui/material";
4
4
  import { C as z } from "../../../Close-DSxLLo08.js";
5
- import { D as ce } from "../../../Delete-Bj8zmXnh.js";
6
- import { C as ie } from "../../../Cancel-pHQsCjtK.js";
7
- import ae from "../Shared/inputField.js";
8
- import j from "../Shared/step.js";
9
- import { W as le } from "../../../react-webcam-B3cXh1XT.js";
10
- import { c as se } from "../../../createSvgIcon-B28GrUxG.js";
5
+ import { D as ie } from "../../../Delete-Bj8zmXnh.js";
6
+ import { C as ce } from "../../../Cancel-pHQsCjtK.js";
7
+ import le from "../Shared/inputField.js";
8
+ import L from "../Shared/step.js";
9
+ import { W as ae } from "../../../react-webcam-B3cXh1XT.js";
10
+ import { A as se } from "../../../ArrowBack-DEJjwfp0.js";
11
11
  import de from "../../Shared/transition.js";
12
12
  import { getDocName as me } from "../../../util/functions.js";
13
- import { u as ue } from "../../../react-redux-C7I9-1M6.js";
14
- import { at as he, au as pe, av as fe, aw as ge, ax as xe, ay as De } from "../../../constants-DrmtdI1J.js";
13
+ import { u as he } from "../../../react-redux-C7I9-1M6.js";
14
+ import { ag as ue, ah as pe, ai as fe, aj as ge, ak as xe, al as De } from "../../../constants-DX0YBtP2.js";
15
15
  import { e as Ce } from "../../../index-BQNs1mvn.js";
16
- import { s as c } from "../../../styles.module-CHPRGltL.js";
16
+ import { s as i } from "../../../styles.module-DFoezEqS.js";
17
17
  import { RIGHT_ARROW as V, DELETE_ICON as be } from "../../../util/constants.js";
18
18
  import { useDialog as ve } from "../../../hooks/useDialog/index.js";
19
19
  import g from "../Shared/appButton.js";
20
- import ye from "../../../hooks/useEverestDispatch.js";
21
- const Ne = () => ({
20
+ import Ne from "../../../hooks/useEverestDispatch.js";
21
+ const ye = () => ({
22
22
  type: pe
23
23
  }), Ee = (o) => ({
24
24
  type: ge,
@@ -27,25 +27,23 @@ const Ne = () => ({
27
27
  type: xe,
28
28
  payload: o
29
29
  }), J = () => ({
30
- type: he
31
- }), Ie = (o) => ({
30
+ type: ue
31
+ }), Te = (o) => ({
32
32
  type: De,
33
33
  payload: o
34
- }), Te = (o) => ({
34
+ }), ke = (o) => ({
35
35
  type: fe,
36
36
  payload: o
37
- }), ke = se(/* @__PURE__ */ e("path", {
38
- d: "M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20z"
39
- }), "ArrowBack"), Re = ({
37
+ }), Ie = ({
40
38
  showAlertMessage: o,
41
39
  documentName: m,
42
40
  setDocumentName: x,
43
- setDocumentScreen: h
44
- }) => /* @__PURE__ */ t(i, { className: "text-center", children: [
45
- /* @__PURE__ */ e(j, { totalSteps: 2, currentStep: 1 }),
46
- /* @__PURE__ */ e(a, { className: "secondary-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Name your document" }) }),
41
+ setDocumentScreen: u
42
+ }) => /* @__PURE__ */ t(c, { className: "text-center", children: [
43
+ /* @__PURE__ */ e(L, { totalSteps: 2, currentStep: 1 }),
44
+ /* @__PURE__ */ e(l, { className: "secondary-text-color", variant: "h5", children: /* @__PURE__ */ e("strong", { children: "Name your document" }) }),
47
45
  /* @__PURE__ */ e(
48
- ae,
46
+ le,
49
47
  {
50
48
  label: "Document Name",
51
49
  value: m,
@@ -59,27 +57,27 @@ const Ne = () => ({
59
57
  onClick: () => {
60
58
  if (!m)
61
59
  return o({ message: "Please provide the document name" }), !1;
62
- h(2);
60
+ u(2);
63
61
  },
64
62
  disabled: !m,
65
63
  fullWidth: !0,
66
64
  children: /* @__PURE__ */ e("strong", { children: "Next" })
67
65
  }
68
66
  )
69
- ] }), we = ({
67
+ ] }), Re = ({
70
68
  showAlertMessage: o,
71
69
  uploadLoader: m,
72
70
  uploadDocument: x,
73
- documentFile: h,
74
- setDocumentFile: l,
71
+ documentFile: u,
72
+ setDocumentFile: a,
75
73
  setDocumentScreen: r
76
74
  }) => {
77
75
  const s = Y(null), [D, p] = f("Choose File");
78
- return /* @__PURE__ */ t(i, { className: "text-center", children: [
79
- /* @__PURE__ */ e(j, { totalSteps: 2, currentStep: 2 }),
80
- /* @__PURE__ */ e(a, { className: "fw500", variant: "h6", children: "Uploaded files must be image format (PDF, PNG or JPEG/JPG)" }),
81
- /* @__PURE__ */ t(u, { mt: 2, container: !0, spacing: 2, children: [
82
- /* @__PURE__ */ e(u, { size: 6, children: /* @__PURE__ */ e(
76
+ return /* @__PURE__ */ t(c, { className: "text-center", children: [
77
+ /* @__PURE__ */ e(L, { totalSteps: 2, currentStep: 2 }),
78
+ /* @__PURE__ */ e(l, { className: "fw500", variant: "h6", children: "Uploaded files must be image format (PDF, PNG or JPEG/JPG)" }),
79
+ /* @__PURE__ */ t(h, { mt: 2, container: !0, spacing: 2, children: [
80
+ /* @__PURE__ */ e(h, { size: 6, children: /* @__PURE__ */ e(
83
81
  g,
84
82
  {
85
83
  variantType: "secondary",
@@ -88,7 +86,7 @@ const Ne = () => ({
88
86
  children: "Use Camera"
89
87
  }
90
88
  ) }),
91
- /* @__PURE__ */ e(u, { size: 6, children: /* @__PURE__ */ e(
89
+ /* @__PURE__ */ e(h, { size: 6, children: /* @__PURE__ */ e(
92
90
  g,
93
91
  {
94
92
  variantType: "secondary",
@@ -109,12 +107,12 @@ const Ne = () => ({
109
107
  else if (d.target.files && d.target.files[0]) {
110
108
  p(d.target.files[0].name);
111
109
  let b = new FileReader();
112
- b.onload = (k) => {
110
+ b.onload = (I) => {
113
111
  var E;
114
- const N = (E = k.target) == null ? void 0 : E.result;
115
- if (typeof N == "string") {
116
- const W = N.split(/[,]/);
117
- l(W[1]);
112
+ const y = (E = I.target) == null ? void 0 : E.result;
113
+ if (typeof y == "string") {
114
+ const P = y.split(/[,]/);
115
+ a(P[1]);
118
116
  }
119
117
  }, b.readAsDataURL(d.target.files[0]);
120
118
  }
@@ -124,9 +122,9 @@ const Ne = () => ({
124
122
  hidden: !0
125
123
  }
126
124
  ),
127
- m ? /* @__PURE__ */ t(i, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
128
- /* @__PURE__ */ e(w, { size: 30, color: "inherit" }),
129
- /* @__PURE__ */ t(a, { variant: "h5", sx: { fontWeight: "bold" }, children: [
125
+ m ? /* @__PURE__ */ t(c, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
126
+ /* @__PURE__ */ e(W, { size: 30, color: "inherit" }),
127
+ /* @__PURE__ */ t(l, { variant: "h5", sx: { fontWeight: "bold" }, children: [
130
128
  "Processing...",
131
129
  /* @__PURE__ */ e("br", {}),
132
130
  "one moment please"
@@ -136,11 +134,11 @@ const Ne = () => ({
136
134
  {
137
135
  sx: { mt: 4, mb: 4 },
138
136
  onClick: () => {
139
- if (!h)
137
+ if (!u)
140
138
  return o({ message: "Please provide the document" }), !1;
141
139
  x();
142
140
  },
143
- disabled: !h,
141
+ disabled: !u,
144
142
  fullWidth: !0,
145
143
  children: /* @__PURE__ */ e("strong", { children: "Submit" })
146
144
  }
@@ -150,8 +148,8 @@ const Ne = () => ({
150
148
  showAlertMessage: o,
151
149
  documentFile: m,
152
150
  setDocumentFile: x,
153
- uploadDocument: h,
154
- uploadLoader: l
151
+ uploadDocument: u,
152
+ uploadLoader: a
155
153
  }) => {
156
154
  const r = Y(null), s = {
157
155
  audio: !1,
@@ -173,26 +171,26 @@ const Ne = () => ({
173
171
  const d = r.current.getScreenshot(), b = d.split(/[,]/);
174
172
  x(b[1]), p(d);
175
173
  }
176
- }, y = () => {
174
+ }, N = () => {
177
175
  if (!D)
178
176
  return o({
179
177
  message: "Please take the photo of the document"
180
178
  }), !1;
181
- h();
179
+ u();
182
180
  };
183
- return /* @__PURE__ */ t(i, { className: "text-center", children: [
184
- /* @__PURE__ */ e(j, { totalSteps: 2, currentStep: 2 }),
181
+ return /* @__PURE__ */ t(c, { className: "text-center", children: [
182
+ /* @__PURE__ */ e(L, { totalSteps: 2, currentStep: 2 }),
185
183
  D ? /* @__PURE__ */ t(v, { children: [
186
184
  /* @__PURE__ */ t(
187
- i,
185
+ c,
188
186
  {
189
- className: `${c["doc-video-box"]} ${c["image-corner-color"]}`,
187
+ className: `${i["doc-video-box"]} ${i["image-corner-color"]}`,
190
188
  children: [
191
189
  /* @__PURE__ */ e("span", {}),
192
190
  /* @__PURE__ */ e(
193
191
  "img",
194
192
  {
195
- className: c["video-box-inner-content"],
193
+ className: i["video-box-inner-content"],
196
194
  src: D,
197
195
  alt: "doc"
198
196
  }
@@ -200,9 +198,9 @@ const Ne = () => ({
200
198
  ]
201
199
  }
202
200
  ),
203
- l ? /* @__PURE__ */ t(i, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
204
- /* @__PURE__ */ e(w, { size: 30, color: "inherit" }),
205
- /* @__PURE__ */ t(a, { variant: "h5", sx: { fontWeight: "bold" }, children: [
201
+ a ? /* @__PURE__ */ t(c, { mt: 4, sx: { color: "#00B171", textAlign: "center" }, children: [
202
+ /* @__PURE__ */ e(W, { size: 30, color: "inherit" }),
203
+ /* @__PURE__ */ t(l, { variant: "h5", sx: { fontWeight: "bold" }, children: [
206
204
  "Processing...",
207
205
  /* @__PURE__ */ e("br", {}),
208
206
  "one moment please"
@@ -211,7 +209,7 @@ const Ne = () => ({
211
209
  /* @__PURE__ */ e(
212
210
  g,
213
211
  {
214
- onClick: y,
212
+ onClick: N,
215
213
  sx: { mt: 6 },
216
214
  disabled: !m,
217
215
  fullWidth: !0,
@@ -230,12 +228,12 @@ const Ne = () => ({
230
228
  )
231
229
  ] })
232
230
  ] }) : /* @__PURE__ */ t(v, { children: [
233
- /* @__PURE__ */ t(i, { className: c["doc-video-box"], children: [
231
+ /* @__PURE__ */ t(c, { className: i["doc-video-box"], children: [
234
232
  /* @__PURE__ */ e("span", {}),
235
233
  /* @__PURE__ */ e(
236
- le,
234
+ ae,
237
235
  {
238
- className: c["video-box-inner-content"],
236
+ className: i["video-box-inner-content"],
239
237
  audio: !1,
240
238
  ref: r,
241
239
  screenshotFormat: "image/jpeg",
@@ -249,11 +247,11 @@ const Ne = () => ({
249
247
  /* @__PURE__ */ e(g, { onClick: C, sx: { mt: 8 }, fullWidth: !0, children: /* @__PURE__ */ e("strong", { children: "Take Photo" }) })
250
248
  ] })
251
249
  ] });
252
- }, Xe = ({ showAlertMessage: o, identityDocs: m }) => {
253
- const { openDialog: x, ConfirmDialog: h } = ve(), l = ye(), r = ue(Ce), s = r.data, D = r.loader, p = r.message, C = r.error, y = r.preview.front, d = r.preview.back, b = r.preview.loader, k = r.uploadLoader, [N, E] = f(!1), [W, O] = f(!1), [P, S] = f(1), [K, Q] = f(!1), [U, q] = f(""), [R, _] = f("");
254
- B(() => {
250
+ }, Ke = ({ showAlertMessage: o, identityDocs: m }) => {
251
+ const { openDialog: x, ConfirmDialog: u } = ve(), a = Ne(), r = he(Ce), s = r.data, D = r.loader, p = r.message, C = r.error, N = r.preview.front, d = r.preview.back, b = r.preview.loader, I = r.uploadLoader, [y, E] = f(!1), [P, O] = f(!1), [w, S] = f(1), [K, Q] = f(!1), [U, q] = f(""), [R, _] = f("");
252
+ F(() => {
255
253
  C && o({ message: C });
256
- }, [C]), B(() => {
254
+ }, [C]), F(() => {
257
255
  p && (o({ message: p, type: "success" }), E(!1), A());
258
256
  }, [p]);
259
257
  const G = () => {
@@ -261,22 +259,22 @@ const Ne = () => ({
261
259
  return o({ message: "Please provide the document name" }), !1;
262
260
  if (!R)
263
261
  return o({ message: "Please provide the document" }), !1;
264
- l(
265
- Te({
262
+ a(
263
+ ke({
266
264
  filename: U.trim(),
267
265
  content: R
268
266
  })
269
267
  );
270
268
  }, X = () => {
271
- l(Ne());
269
+ a(ye());
272
270
  };
273
- B(() => {
271
+ F(() => {
274
272
  X();
275
273
  }, []);
276
274
  const Z = (n) => {
277
- l(Ee(n));
275
+ a(Ee(n));
278
276
  }, ee = (n) => {
279
- l(Se(n));
277
+ a(Se(n));
280
278
  }, te = (n) => {
281
279
  x({
282
280
  icon: be,
@@ -289,35 +287,35 @@ const Ne = () => ({
289
287
  cancelButtonShow: !0
290
288
  });
291
289
  }, ne = (n) => {
292
- l(Ie(n));
293
- }, H = ({ data: n, type: I }) => I === "identity" ? /* @__PURE__ */ e(
294
- i,
290
+ a(Te(n));
291
+ }, M = ({ data: n, type: T }) => T === "identity" ? /* @__PURE__ */ e(
292
+ c,
295
293
  {
296
- className: c["menu-item"],
294
+ className: i["menu-item"],
297
295
  onClick: () => n.documentId && Z(n.documentId),
298
- children: /* @__PURE__ */ t(u, { container: !0, sx: { width: "100%" }, children: [
299
- /* @__PURE__ */ e(u, { size: 10, className: "content-center", children: /* @__PURE__ */ e(i, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(a, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.documentType && me(n.documentType) }) }) }) }),
300
- /* @__PURE__ */ e(u, { size: 2, children: /* @__PURE__ */ e(a, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: V, alt: "arrow" }) }) })
296
+ children: /* @__PURE__ */ t(h, { container: !0, sx: { width: "100%" }, children: [
297
+ /* @__PURE__ */ e(h, { size: 10, className: "content-center", children: /* @__PURE__ */ e(c, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(l, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.documentType && me(n.documentType) }) }) }) }),
298
+ /* @__PURE__ */ e(h, { size: 2, children: /* @__PURE__ */ e(l, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: V, alt: "arrow" }) }) })
301
299
  ] })
302
300
  }
303
- ) : /* @__PURE__ */ t(i, { sx: { position: "relative" }, className: c["menu-item"], children: [
304
- N && /* @__PURE__ */ e(
305
- T,
301
+ ) : /* @__PURE__ */ t(c, { sx: { position: "relative" }, className: i["menu-item"], children: [
302
+ y && /* @__PURE__ */ e(
303
+ k,
306
304
  {
307
- className: c["remove-icon"],
305
+ className: i["remove-icon"],
308
306
  onClick: () => te(n.filename),
309
- children: /* @__PURE__ */ e(ie, {})
307
+ children: /* @__PURE__ */ e(ce, {})
310
308
  }
311
309
  ),
312
310
  /* @__PURE__ */ t(
313
- u,
311
+ h,
314
312
  {
315
313
  onClick: () => ee(n.filename),
316
314
  container: !0,
317
315
  sx: { width: "100%" },
318
316
  children: [
319
- /* @__PURE__ */ e(u, { size: 10, className: "content-center", children: /* @__PURE__ */ e(i, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(a, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.filename }) }) }) }),
320
- /* @__PURE__ */ e(u, { size: 2, children: /* @__PURE__ */ e(a, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: V, alt: "arrow" }) }) })
317
+ /* @__PURE__ */ e(h, { size: 10, className: "content-center", children: /* @__PURE__ */ e(c, { sx: { textAlign: "left" }, children: /* @__PURE__ */ e(l, { color: "primary", children: /* @__PURE__ */ e("strong", { children: n.filename }) }) }) }),
318
+ /* @__PURE__ */ e(h, { size: 2, children: /* @__PURE__ */ e(l, { sx: { textAlign: "right" }, children: /* @__PURE__ */ e("img", { src: V, alt: "arrow" }) }) })
321
319
  ]
322
320
  }
323
321
  )
@@ -325,7 +323,7 @@ const Ne = () => ({
325
323
  q(""), _(""), S(1), Q(!1);
326
324
  };
327
325
  return /* @__PURE__ */ t(v, { children: [
328
- /* @__PURE__ */ e(h, {}),
326
+ /* @__PURE__ */ e(u, {}),
329
327
  /* @__PURE__ */ e(
330
328
  oe,
331
329
  {
@@ -334,27 +332,27 @@ const Ne = () => ({
334
332
  zIndex: (n) => n.zIndex.drawer + 1e3
335
333
  },
336
334
  open: b,
337
- children: /* @__PURE__ */ e(w, { color: "inherit" })
335
+ children: /* @__PURE__ */ e(W, { color: "inherit" })
338
336
  }
339
337
  ),
340
- /* @__PURE__ */ e(a, { className: c.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "My Documents" }) }),
338
+ /* @__PURE__ */ e(l, { className: i.heading, variant: "h6", children: /* @__PURE__ */ e("strong", { children: "My Documents" }) }),
341
339
  s.length > 0 && /* @__PURE__ */ t(
342
340
  re,
343
341
  {
344
- className: `${N ? c["delete-disable"] : c["confirm-edit"]} normal-text`,
342
+ className: `${y ? i["delete-disable"] : i["confirm-edit"]} normal-text`,
345
343
  sx: { mt: 3, mb: 3 },
346
344
  variant: "contained",
347
345
  onClick: () => E((n) => !n),
348
346
  children: [
349
- /* @__PURE__ */ e(ce, {}),
347
+ /* @__PURE__ */ e(ie, {}),
350
348
  "Delete"
351
349
  ]
352
350
  }
353
351
  ),
354
- D ? /* @__PURE__ */ e(i, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(w, {}) }) : /* @__PURE__ */ t(v, { children: [
355
- m && m.map((n, I) => /* @__PURE__ */ e(H, { data: n, type: "identity" }, I)),
356
- s && s.map((n, I) => /* @__PURE__ */ e(H, { data: n, type: "normal" }, I)),
357
- !m && s.length === 0 && /* @__PURE__ */ e(a, { mt: 4, className: "text-center", variant: "h4", children: "No Documents" })
352
+ D ? /* @__PURE__ */ e(c, { className: "text-center", mt: 8, children: /* @__PURE__ */ e(W, {}) }) : /* @__PURE__ */ t(v, { children: [
353
+ m && m.map((n, T) => /* @__PURE__ */ e(M, { data: n, type: "identity" }, T)),
354
+ s && s.map((n, T) => /* @__PURE__ */ e(M, { data: n, type: "normal" }, T)),
355
+ !m && s.length === 0 && /* @__PURE__ */ e(l, { mt: 4, className: "text-center", variant: "h4", children: "No Documents" })
358
356
  ] }),
359
357
  /* @__PURE__ */ e(
360
358
  g,
@@ -366,14 +364,14 @@ const Ne = () => ({
366
364
  }
367
365
  ),
368
366
  /* @__PURE__ */ t(
369
- F,
367
+ B,
370
368
  {
371
- open: W,
369
+ open: P,
372
370
  fullWidth: !0,
373
371
  onClose: () => O(!1),
374
372
  children: [
375
- /* @__PURE__ */ e(M, { sx: { mt: 1, p: 2, color: "#16359D" }, children: /* @__PURE__ */ e(
376
- T,
373
+ /* @__PURE__ */ e($, { sx: { mt: 1, p: 2, color: "#16359D" }, children: /* @__PURE__ */ e(
374
+ k,
377
375
  {
378
376
  "aria-label": "close",
379
377
  onClick: () => O(!1),
@@ -386,23 +384,23 @@ const Ne = () => ({
386
384
  children: /* @__PURE__ */ e(z, {})
387
385
  }
388
386
  ) }),
389
- /* @__PURE__ */ e($, { sx: { mt: 2 } }),
390
- /* @__PURE__ */ e(L, { children: /* @__PURE__ */ e(i, { children: "Add Document Modal" }) })
387
+ /* @__PURE__ */ e(H, { sx: { mt: 2 } }),
388
+ /* @__PURE__ */ e(j, { children: /* @__PURE__ */ e(c, { children: "Add Document Modal" }) })
391
389
  ]
392
390
  }
393
391
  ),
394
392
  /* @__PURE__ */ t(
395
- F,
393
+ B,
396
394
  {
397
- open: !!y,
395
+ open: !!N,
398
396
  fullWidth: !0,
399
- onClose: () => l(J()),
397
+ onClose: () => a(J()),
400
398
  children: [
401
- /* @__PURE__ */ e(M, { sx: { mt: 1, p: 2, color: "#16359D" }, children: /* @__PURE__ */ e(
402
- T,
399
+ /* @__PURE__ */ e($, { sx: { mt: 1, p: 2, color: "#16359D" }, children: /* @__PURE__ */ e(
400
+ k,
403
401
  {
404
402
  "aria-label": "close",
405
- onClick: () => l(J()),
403
+ onClick: () => a(J()),
406
404
  sx: {
407
405
  position: "absolute",
408
406
  right: 8,
@@ -412,23 +410,23 @@ const Ne = () => ({
412
410
  children: /* @__PURE__ */ e(z, {})
413
411
  }
414
412
  ) }),
415
- /* @__PURE__ */ e($, { sx: { mt: 2 } }),
416
- /* @__PURE__ */ e(L, { children: /* @__PURE__ */ t(i, { children: [
417
- /* @__PURE__ */ e(a, { variant: "h5", mb: 3, children: "Front Image" }),
413
+ /* @__PURE__ */ e(H, { sx: { mt: 2 } }),
414
+ /* @__PURE__ */ e(j, { children: /* @__PURE__ */ t(c, { children: [
415
+ /* @__PURE__ */ e(l, { variant: "h5", mb: 3, children: "Front Image" }),
418
416
  /* @__PURE__ */ e(
419
417
  "img",
420
418
  {
421
- className: c["video-box-inner-content"],
422
- src: "data:image/jpeg;base64," + y,
419
+ className: i["video-box-inner-content"],
420
+ src: "data:image/jpeg;base64," + N,
423
421
  alt: "Front"
424
422
  }
425
423
  ),
426
424
  d && /* @__PURE__ */ t(v, { children: [
427
- /* @__PURE__ */ e(a, { variant: "h5", mt: 2, mb: 3, children: "Back Image" }),
425
+ /* @__PURE__ */ e(l, { variant: "h5", mt: 2, mb: 3, children: "Back Image" }),
428
426
  /* @__PURE__ */ e(
429
427
  "img",
430
428
  {
431
- className: c["video-box-inner-content"],
429
+ className: i["video-box-inner-content"],
432
430
  src: "data:image/jpeg;base64," + d,
433
431
  alt: "Back"
434
432
  }
@@ -439,47 +437,46 @@ const Ne = () => ({
439
437
  }
440
438
  ),
441
439
  /* @__PURE__ */ t(
442
- F,
440
+ B,
443
441
  {
444
442
  fullWidth: !0,
445
443
  open: K,
446
444
  onClose: A,
447
445
  TransitionComponent: de,
448
446
  children: [
449
- /* @__PURE__ */ t(i, { className: c["asset-header"], children: [
447
+ /* @__PURE__ */ t(c, { className: i["asset-header"], children: [
450
448
  /* @__PURE__ */ e(
451
- T,
449
+ k,
452
450
  {
453
451
  "aria-label": "close",
454
452
  onClick: () => S(
455
- P - 1 <= 0 ? 1 : P - 1
453
+ w - 1 <= 0 ? 1 : w - 1
456
454
  ),
457
- sx: { color: "#16359d", ml: "20px" },
458
- children: /* @__PURE__ */ e(ke, {})
455
+ sx: { ml: "20px" },
456
+ children: /* @__PURE__ */ e(se, {})
459
457
  }
460
458
  ),
461
459
  /* @__PURE__ */ e(
462
- a,
460
+ l,
463
461
  {
464
- className: "secondary-text-color",
465
462
  variant: "subtitle1",
466
463
  component: "p",
467
464
  children: /* @__PURE__ */ e("strong", { children: "Add new document" })
468
465
  }
469
466
  ),
470
467
  /* @__PURE__ */ e(
471
- T,
468
+ k,
472
469
  {
473
470
  "aria-label": "close",
474
471
  onClick: A,
475
- className: c["asset-close-btn"],
472
+ className: i["asset-close-btn"],
476
473
  children: /* @__PURE__ */ e(z, {})
477
474
  }
478
475
  )
479
476
  ] }),
480
- /* @__PURE__ */ e(L, { sx: { padding: "20px 45px" }, dividers: !0, children: {
477
+ /* @__PURE__ */ e(j, { sx: { padding: "20px 45px" }, dividers: !0, children: {
481
478
  1: /* @__PURE__ */ e(
482
- Re,
479
+ Ie,
483
480
  {
484
481
  showAlertMessage: o,
485
482
  documentName: U,
@@ -488,14 +485,14 @@ const Ne = () => ({
488
485
  }
489
486
  ),
490
487
  2: /* @__PURE__ */ e(
491
- we,
488
+ Re,
492
489
  {
493
490
  showAlertMessage: o,
494
491
  setDocumentScreen: S,
495
492
  documentFile: R,
496
493
  setDocumentFile: _,
497
494
  uploadDocument: G,
498
- uploadLoader: k
495
+ uploadLoader: I
499
496
  }
500
497
  ),
501
498
  3: /* @__PURE__ */ e(
@@ -506,15 +503,15 @@ const Ne = () => ({
506
503
  documentFile: R,
507
504
  setDocumentFile: _,
508
505
  uploadDocument: G,
509
- uploadLoader: k
506
+ uploadLoader: I
510
507
  }
511
508
  )
512
- }[P] })
509
+ }[w] })
513
510
  ]
514
511
  }
515
512
  )
516
513
  ] });
517
514
  };
518
515
  export {
519
- Xe as default
516
+ Ke as default
520
517
  };
@@ -1,10 +1,10 @@
1
1
  import { jsxs as r, Fragment as U, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as Z, useEffect as _ } from "react";
3
3
  import { u as R } from "../../../react-redux-C7I9-1M6.js";
4
- import { aj as W, ak as q, al as Q, am as X, c as b, K as j } from "../../../constants-DrmtdI1J.js";
4
+ import { ap as q, aq as W, ar as Q, as as X, c as b, K as j } from "../../../constants-DX0YBtP2.js";
5
5
  import { a as $ } from "../../../index-BQNs1mvn.js";
6
6
  import { Grid as t, Box as h, Typography as n, Button as p, Avatar as J, Divider as e2, Dialog as t2, DialogContent as r2 } from "@mui/material";
7
- import { s as o } from "../../../styles.module-CHPRGltL.js";
7
+ import { s as o } from "../../../styles.module-DFoezEqS.js";
8
8
  import l from "../Shared/inputField.js";
9
9
  import i2 from "./documents.js";
10
10
  import { SYNTHETIC_EURE as a2, KYC_APROVED_TOOLTIP as o2, KYC_ELITE_TOOLTIP as l2, WIDGET_URL as s2 } from "../../../util/constants.js";
@@ -12,7 +12,7 @@ import n2 from "../../../hoc/withThemeProvider.js";
12
12
  import "../../../index-DlQqWbXG.js";
13
13
  import { AuthInnerContainer as L } from "../Shared/Container/index.js";
14
14
  import "../Shared/appButton.js";
15
- import "../../../otpForm-fiNqeB5H.js";
15
+ import "../../../otpForm-DeeegaX2.js";
16
16
  import { useSnackBarContext as c2 } from "../../../context/snackBarContext.js";
17
17
  import d2 from "../../../hooks/useEverestDispatch.js";
18
18
  import "../../../util/conversions.js";
@@ -28,9 +28,9 @@ import "../../../context/dialogContext.js";
28
28
  import "@mui/icons-material";
29
29
  import f2 from "./storage.js";
30
30
  const u2 = () => ({
31
- type: W
32
- }), h2 = () => ({
33
31
  type: q
32
+ }), h2 = () => ({
33
+ type: W
34
34
  }), m2 = () => ({
35
35
  type: Q
36
36
  }), C2 = (g) => ({
@@ -4,11 +4,11 @@ import { Box as s, Typography as i, FormControl as O, RadioGroup as N, Backdrop
4
4
  import { C as L } from "../../../Close-DSxLLo08.js";
5
5
  import { c as P } from "../../../createSvgIcon-B28GrUxG.js";
6
6
  import M from "../../Shared/transition.js";
7
- import { s as E } from "../../../styles.module-CHPRGltL.js";
7
+ import { s as E } from "../../../styles.module-DFoezEqS.js";
8
8
  import f from "../Shared/appButton.js";
9
9
  import j from "../Shared/noData.js";
10
10
  import q from "../Shared/radioButton.js";
11
- import { az as H, aA as Q, aB as F, aC as Y, aD as J } from "../../../constants-DrmtdI1J.js";
11
+ import { az as H, aA as Q, aB as F, aC as Y, aD as J } from "../../../constants-DX0YBtP2.js";
12
12
  import { STORAGE_SUCCESS as K, CLOUD_ICON as V } from "../../../util/constants.js";
13
13
  import X from "../../../hooks/useEverestDispatch.js";
14
14
  const Z = () => ({
@@ -2,9 +2,9 @@ import { jsxs as n, Fragment as m, jsx as e } from "react/jsx-runtime";
2
2
  import { useState as C, useEffect as p } from "react";
3
3
  import { u } from "../../../react-redux-C7I9-1M6.js";
4
4
  import { Q as W } from "../../../index-CAoLi5Qq.js";
5
- import "../../../constants-DrmtdI1J.js";
5
+ import "../../../constants-DX0YBtP2.js";
6
6
  import { a as _, c as z } from "../../../index-BQNs1mvn.js";
7
- import { u as A } from "../../../wallet-CauUBXou.js";
7
+ import { u as A } from "../../../wallet-BPXOp8UG.js";
8
8
  import { Box as r, CircularProgress as S, FormControl as N, Select as w, MenuItem as B, Button as k } from "@mui/material";
9
9
  import { C as D } from "../../../ContentCopy-D0C0zbQj.js";
10
10
  import { useSnackBar as E } from "../../../hooks/useSnackBar.js";
@@ -5,15 +5,15 @@ import "../Shared/backBtn.js";
5
5
  import "../../../util/functions.js";
6
6
  import "../../../styles.module-DMd29SPQ.js";
7
7
  import "../Shared/appButton.js";
8
- import "../../../constants-DrmtdI1J.js";
8
+ import "../../../constants-DX0YBtP2.js";
9
9
  import "../../../index-BQNs1mvn.js";
10
- import "../../../order-DEp_Lmar.js";
11
- import { a as E } from "../../../index-CDwzoHu7.js";
10
+ import "../../../order-BXeCIvqC.js";
11
+ import { a as E } from "../../../index-JY6-UKlX.js";
12
12
  import "../../../util/constants.js";
13
13
  import "../../../react-redux-C7I9-1M6.js";
14
14
  import "../../../index-DlQqWbXG.js";
15
15
  import "../../../hoc/withThemeProvider.js";
16
- import "../../../otpForm-fiNqeB5H.js";
16
+ import "../../../otpForm-DeeegaX2.js";
17
17
  import "../../../context/snackBarContext.js";
18
18
  import "../../../util/conversions.js";
19
19
  import "../../../index-CAoLi5Qq.js";