everest-npm-features 0.0.61 → 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 (247) hide show
  1. package/dist/ArrowBack-DEJjwfp0.js +8 -0
  2. package/dist/{Cancel-4lT7GZUA.js → Cancel-pHQsCjtK.js} +1 -1
  3. package/dist/{Close-CNwiMz_O.js → Close-DSxLLo08.js} +1 -1
  4. package/dist/{ContentCopy-coPwrEuz.js → ContentCopy-D0C0zbQj.js} +1 -1
  5. package/dist/{Delete-jpMstGIF.js → Delete-Bj8zmXnh.js} +1 -1
  6. package/dist/{ErrorOutline-CPQcnl2b.js → ErrorOutline-Bt7P4ChN.js} +1 -1
  7. package/dist/{FileDownload-Bt3R_NBr.js → FileDownload-DqREXR3D.js} +1 -1
  8. package/dist/{Info-BVeUSPyk.js → Info-DOoRR7sR.js} +1 -1
  9. package/dist/PlayArrow-71FP5PzJ.js +13 -0
  10. package/dist/Portal-BeS9yJCZ.js +968 -0
  11. package/dist/assets/styles.css +1 -1
  12. package/dist/{auth-Cwq6nfwY.js → auth-BBeOw4mt.js} +11 -11
  13. package/dist/{bank-C4pmTe--.js → bank-HVb0GFsa.js} +1 -1
  14. package/dist/components/RocketRamp/MinimalKyc/form.js +46 -51
  15. package/dist/components/RocketRamp/MinimalKyc/index.js +6 -6
  16. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +6 -8
  17. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +5 -8
  18. package/dist/components/RocketRamp/Player/Buy/form.js +8 -17
  19. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  20. package/dist/components/RocketRamp/Player/Dashboard/balance.js +20 -26
  21. package/dist/components/RocketRamp/Player/Dashboard/index.js +4 -4
  22. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +13 -16
  23. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +6 -11
  24. package/dist/components/RocketRamp/Player/Sell/form.js +8 -17
  25. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  26. package/dist/components/RocketRamp/Player/SignIn/index.js +23 -25
  27. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +33 -35
  28. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +31 -33
  29. package/dist/components/RocketRamp/Player/SignUp/email.js +21 -23
  30. package/dist/components/RocketRamp/Player/SignUp/index.js +49 -52
  31. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +68 -74
  32. package/dist/components/RocketRamp/Player/SignUp/summary.js +23 -25
  33. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +23 -25
  34. package/dist/components/RocketRamp/ResetPassword/index.js +23 -25
  35. package/dist/components/RocketRamp/Shared/Button/index.js +16 -17
  36. package/dist/components/RocketRamp/Shared/Input/index.js +27 -30
  37. package/dist/components/RocketRamp/Shared/backBtn.js +10 -11
  38. package/dist/components/RocketRamp/Shared/transactionItem.js +40 -45
  39. package/dist/components/RocketRamp/Store/Dashboard/balance.js +12 -17
  40. package/dist/components/RocketRamp/Store/Dashboard/index.js +11 -12
  41. package/dist/components/RocketRamp/Store/Dashboard/stats.js +12 -17
  42. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +13 -16
  43. package/dist/components/RocketRamp/Store/SignUp/index.js +53 -56
  44. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +48 -54
  45. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +33 -37
  46. package/dist/components/RocketRamp/Store/SignUp/summary.js +21 -23
  47. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +23 -25
  48. package/dist/components/RocketRamp/Transactions/index.js +23 -24
  49. package/dist/components/Shared/FullKyc/countryList.js +15 -17
  50. package/dist/components/Shared/FullKyc/edd.js +51 -53
  51. package/dist/components/Shared/FullKyc/index.js +13 -11
  52. package/dist/components/Shared/FullKyc/pep.js +35 -43
  53. package/dist/components/Shared/FullKyc/personalDetails.js +6 -6
  54. package/dist/components/Shared/FullKyc/userInfo.js +8 -13
  55. package/dist/components/Shared/HistoryItem/index.js +43 -48
  56. package/dist/components/Shared/Incode/index.js +31 -35
  57. package/dist/components/Shared/MinimalKyc/index.js +60 -65
  58. package/dist/components/Shared/Sumsub/index.js +75 -62
  59. package/dist/components/Shared/loader.js +4 -5
  60. package/dist/components/Shared/tooltip.js +2 -2
  61. package/dist/components/Shared/transition.js +4 -4
  62. package/dist/components/Wallet/Account/createIban.d.ts +1 -2
  63. package/dist/components/Wallet/Account/createIban.js +324 -102
  64. package/dist/components/Wallet/Account/eWallet.js +37 -43
  65. package/dist/components/Wallet/Account/iban.d.ts +1 -0
  66. package/dist/components/Wallet/Account/iban.js +41 -45
  67. package/dist/components/Wallet/Account/ibanItem.js +70 -75
  68. package/dist/components/Wallet/Account/index.d.ts +1 -0
  69. package/dist/components/Wallet/Account/index.js +113 -118
  70. package/dist/components/Wallet/Account/sendIban.js +79 -88
  71. package/dist/components/Wallet/Buy/confirmTransaction.js +9 -11
  72. package/dist/components/Wallet/Buy/form.js +8 -18
  73. package/dist/components/Wallet/Buy/index.js +6 -6
  74. package/dist/components/Wallet/Deposit/index.js +16 -18
  75. package/dist/components/Wallet/EnterpriseKyc/edd.js +32 -33
  76. package/dist/components/Wallet/EnterpriseKyc/index.js +73 -77
  77. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +23 -26
  78. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +5 -7
  79. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +1 -1
  80. package/dist/components/Wallet/EnterpriseKyc/kycType.js +23 -26
  81. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +33 -34
  82. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +3591 -1482
  83. package/dist/components/Wallet/EnterpriseKyc/success.js +3 -4
  84. package/dist/components/Wallet/EnterpriseKyc/verify.js +22 -22
  85. package/dist/components/Wallet/History/index.js +23 -797
  86. package/dist/components/Wallet/Home/index.js +13 -14
  87. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +122 -126
  88. package/dist/components/Wallet/Portfolio/dropdown.js +25 -30
  89. package/dist/components/Wallet/Portfolio/index.js +48 -51
  90. package/dist/components/Wallet/Portfolio/tokenRow.js +3 -4
  91. package/dist/components/Wallet/Profile/documents.js +164 -176
  92. package/dist/components/Wallet/Profile/index.js +39 -44
  93. package/dist/components/Wallet/Profile/storage.js +39 -47
  94. package/dist/components/Wallet/Receive/index.js +32 -37
  95. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -10
  96. package/dist/components/Wallet/Sell/form.js +8 -18
  97. package/dist/components/Wallet/Sell/index.js +6 -6
  98. package/dist/components/Wallet/Send/index.js +98 -107
  99. package/dist/components/Wallet/Shared/Auth/emailForm.js +13 -15
  100. package/dist/components/Wallet/Shared/Auth/otpForm.js +9 -356
  101. package/dist/components/Wallet/Shared/BankSelect/index.js +45 -49
  102. package/dist/components/Wallet/Shared/CardCorp/index.js +18 -19
  103. package/dist/components/Wallet/Shared/CardPayment/index.js +14 -16
  104. package/dist/components/Wallet/Shared/ConnectWallet/index.js +22 -28
  105. package/dist/components/Wallet/Shared/Container/index.d.ts +2 -1
  106. package/dist/components/Wallet/Shared/Container/index.js +11 -11
  107. package/dist/components/Wallet/Shared/Input/index.js +3 -3
  108. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +29 -30
  109. package/dist/components/Wallet/Shared/Order/paymentButton.js +13 -14
  110. package/dist/components/Wallet/Shared/TokenModal/index.js +55 -63
  111. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +11 -13
  112. package/dist/components/Wallet/Shared/addBank.js +41 -45
  113. package/dist/components/Wallet/Shared/appButton.js +11 -15
  114. package/dist/components/Wallet/Shared/backBtn.js +8 -9
  115. package/dist/components/Wallet/Shared/button.js +7 -7
  116. package/dist/components/Wallet/Shared/connectPlaidBank.js +16 -17
  117. package/dist/components/Wallet/Shared/inputField.js +5 -5
  118. package/dist/components/Wallet/Shared/manualSend.js +9 -13
  119. package/dist/components/Wallet/Shared/noData.js +4 -5
  120. package/dist/components/Wallet/Shared/pin.js +25 -27
  121. package/dist/components/Wallet/Shared/radioButton.js +39 -5
  122. package/dist/components/Wallet/Shared/step.js +12 -13
  123. package/dist/components/Wallet/Shared/timer.js +1 -1
  124. package/dist/components/Wallet/SignIn/index.js +17 -17
  125. package/dist/components/Wallet/SignUp/index.js +63 -153
  126. package/dist/components/Wallet/SignUp/terms.js +1 -1
  127. package/dist/components/Wallet/Stake/gems/index.js +71 -69
  128. package/dist/components/Wallet/Stake/id/index.js +77 -84
  129. package/dist/components/Wallet/Stake/index.js +65 -68
  130. package/dist/components/Wallet/Swap/form.js +11 -20
  131. package/dist/components/Wallet/Swap/index.js +5 -5
  132. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -5
  133. package/dist/components/Wallet/Withdraw/bankSelect.js +41 -45
  134. package/dist/components/Wallet/Withdraw/confirmTransaction.js +5 -8
  135. package/dist/components/Wallet/Withdraw/form.js +6 -17
  136. package/dist/components/Wallet/Withdraw/index.js +5 -5
  137. package/dist/{constants-DrmtdI1J.js → constants-DX0YBtP2.js} +19 -19
  138. package/dist/{createSvgIcon-Cuzqm90l.js → createSvgIcon-B28GrUxG.js} +41 -45
  139. package/dist/{cryptoAssets-DyGDknvq.js → cryptoAssets-B8rAI7pp.js} +1 -1
  140. package/dist/hoc/withThemeProvider.js +5 -732
  141. package/dist/hooks/useDialog/index.js +22 -23
  142. package/dist/hooks/useRrDialog/index.js +43 -46
  143. package/dist/hooks/useSnackBar.js +24 -696
  144. package/dist/icons/buyIcon.js +1 -1
  145. package/dist/icons/canceledBuyIcon.js +1 -1
  146. package/dist/icons/canceledRedeemIcon.js +1 -1
  147. package/dist/icons/failedBuyIcon.js +2 -2
  148. package/dist/icons/failedRedeemIcon.js +2 -2
  149. package/dist/icons/pendingBuyIcon.js +1 -1
  150. package/dist/icons/pendingRedeemIcon.js +1 -1
  151. package/dist/icons/redeemIcon.js +1 -1
  152. package/dist/{index-BbVpeed7.js → index-B4XvACQN.js} +89 -98
  153. package/dist/{index-BHG1bT4t.js → index-CTPMPwYK.js} +173 -182
  154. package/dist/{index-Dh_ahu-u.js → index-DkiQ8pRO.js} +95 -106
  155. package/dist/{index-C7Td5yoW.js → index-DuWW5roi.js} +175 -184
  156. package/dist/{index-eEBuSKOo.js → index-JY6-UKlX.js} +127 -137
  157. package/dist/{index-D2JWUPz8.js → index-_fiTunwZ.js} +154 -163
  158. package/dist/{index-B9oucF3r.js → index-bK14vCZw.js} +189 -198
  159. package/dist/{kyc-ksV3vBP_.js → kyc-BNMPoeHt.js} +1 -1
  160. package/dist/main.js +7 -7
  161. package/dist/memoTheme-DnE8lj0t.js +3481 -0
  162. package/dist/{order-DEp_Lmar.js → order-BXeCIvqC.js} +1 -1
  163. package/dist/otpForm-DeeegaX2.js +7378 -0
  164. package/dist/{stake-Ct7-_aWW.js → stake-BO2TYVJ7.js} +1 -1
  165. package/dist/styles.module-DFoezEqS.js +28 -0
  166. package/dist/{tokenRow-C-iMHhPj.js → tokenRow-BiNtHOKV.js} +20 -21
  167. package/dist/tooltip-BW0UyWw7.js +2129 -0
  168. package/dist/util/constants.d.ts +1 -0
  169. package/dist/util/constants.js +72 -71
  170. package/dist/{wallet-CauUBXou.js → wallet-BPXOp8UG.js} +1 -1
  171. package/package.json +6 -6
  172. package/dist/Alert-DzsbFW3-.js +0 -369
  173. package/dist/Autocomplete-CE-OI2t8.js +0 -2429
  174. package/dist/Avatar-1XklXr4O.js +0 -281
  175. package/dist/Backdrop-CioURPVG.js +0 -359
  176. package/dist/Box-B0YSYLco.js +0 -59
  177. package/dist/Button-Df4vgU24.js +0 -663
  178. package/dist/ButtonBase-DLF5c6wi.js +0 -870
  179. package/dist/CardContent-D9wTdpu-.js +0 -141
  180. package/dist/CircularProgress-xZA3lvba.js +0 -252
  181. package/dist/Close-CxzDL3J-.js +0 -9
  182. package/dist/Container-urNKV7hm.js +0 -181
  183. package/dist/DefaultPropsProvider-CeF7UYM9.js +0 -92
  184. package/dist/DefaultPropsProvider-oAu9El-f.js +0 -226
  185. package/dist/DialogContent-BMwlOnbW.js +0 -567
  186. package/dist/DialogTitle-CfS0bb2K.js +0 -70
  187. package/dist/Divider-BShhMFf4.js +0 -297
  188. package/dist/FilledInput-DuNqnPjc.js +0 -1292
  189. package/dist/FormControl-RtZDQMdA.js +0 -258
  190. package/dist/FormControlLabel-BliKW48y.js +0 -519
  191. package/dist/GlobalStyles-ChMhDfTS.js +0 -59
  192. package/dist/Grid-CFe3amXO.js +0 -410
  193. package/dist/Grow-CnGtel3u.js +0 -196
  194. package/dist/HTMLElementType-BrQSV2FE.js +0 -13
  195. package/dist/IconButton-DHm-hucF.js +0 -297
  196. package/dist/InputAdornment-DMiED3JH.js +0 -173
  197. package/dist/Link-DBA9Yifs.js +0 -266
  198. package/dist/ListItemIcon-CUcyTEEm.js +0 -84
  199. package/dist/Menu-DLYFFrEk.js +0 -1239
  200. package/dist/MenuItem-DUdYOJr4.js +0 -271
  201. package/dist/Modal-CFIQ_s3T.js +0 -743
  202. package/dist/Paper-Bgt2WXI6.js +0 -186
  203. package/dist/PlayArrow-Bjz9LxhD.js +0 -13
  204. package/dist/Popper-BBAoiZKn.js +0 -1409
  205. package/dist/Portal-BMAxiQwe.js +0 -69
  206. package/dist/RadioGroup-nvoSN0JN.js +0 -189
  207. package/dist/Select-CB5yWmyn.js +0 -1886
  208. package/dist/Slide-B9Nw0LZ4.js +0 -235
  209. package/dist/Stack-k55YTxET.js +0 -172
  210. package/dist/SwitchBase-C8zFyg_x.js +0 -318
  211. package/dist/TextField-DPpRUQe3.js +0 -978
  212. package/dist/TransitionGroupContext-CYRQkQ6k.js +0 -49
  213. package/dist/Typography-pAaje37G.js +0 -260
  214. package/dist/chainPropTypes-D9lkm76m.js +0 -8
  215. package/dist/clsx-BTaloaeC.js +0 -264
  216. package/dist/createChainedFunction-C0nujS3O.js +0 -9
  217. package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +0 -17
  218. package/dist/createTheme-CD19zQB7.js +0 -3825
  219. package/dist/debounce-46wSf_lW.js +0 -15
  220. package/dist/defaultTheme-C35y5cLB.js +0 -5
  221. package/dist/dividerClasses-BDxa2gAa.js +0 -10
  222. package/dist/elementAcceptingRef-CqLvP78G.js +0 -391
  223. package/dist/elementTypeAcceptingRef-BdsMpCbS.js +0 -23
  224. package/dist/emotion-react.browser.esm-BIrDfk-B.js +0 -246
  225. package/dist/exactProp-C1Lmtwf_.js +0 -13
  226. package/dist/extendSxProp-B8UjbJ56.js +0 -37
  227. package/dist/generateUtilityClasses-BRiE4Guh.js +0 -10
  228. package/dist/index-B0Z-Gjno.js +0 -22
  229. package/dist/index-DUcLo3x5.js +0 -43
  230. package/dist/isFocusVisible-CPZqtjv2.js +0 -12
  231. package/dist/isHostComponent-kiaBvYVo.js +0 -6
  232. package/dist/isMuiElement-DnSE4qG4.js +0 -13
  233. package/dist/memoTheme-yHaPezod.js +0 -15
  234. package/dist/ownerWindow-CRgpWY6I.js +0 -7
  235. package/dist/radioButton-CzlYB0Lh.js +0 -402
  236. package/dist/refType-BsTH3qnM.js +0 -56
  237. package/dist/styles.module-CHPRGltL.js +0 -28
  238. package/dist/tooltip-3UvETWtS.js +0 -740
  239. package/dist/useControlled-nm4pBabJ.js +0 -31
  240. package/dist/useEnhancedEffect-CJGo-L3B.js +0 -5
  241. package/dist/useFormControl-CatNKXAi.js +0 -10
  242. package/dist/useId-CK6Kn3Tn.js +0 -21
  243. package/dist/useSlot-CW7SOYlh.js +0 -125
  244. package/dist/useSlotProps-BfEOwJvJ.js +0 -25
  245. package/dist/useTheme-BQJ5lp0i.js +0 -11
  246. package/dist/useTheme-S5_DHFsQ.js +0 -17
  247. package/dist/useThemeProps-DN9MjdTl.js +0 -29
@@ -1,23 +1,15 @@
1
1
  import { jsxs as o, Fragment as y, jsx as e } from "react/jsx-runtime";
2
- import { useState as n } from "react";
3
- import M from "../../Wallet/Shared/step.js";
4
- import { c as A } from "../../../countries-BVn1FubK.js";
5
- import F from "../../Wallet/Shared/appButton.js";
6
- import { d as B, f as _ } from "../../../constants-DrmtdI1J.js";
7
- import { B as c } from "../../../Box-B0YSYLco.js";
8
- import { T as i } from "../../../Typography-pAaje37G.js";
9
- import { G as g } from "../../../Grid-CFe3amXO.js";
10
- import { F as u } from "../../../FormControl-RtZDQMdA.js";
11
- import { S as f } from "../../../Select-CB5yWmyn.js";
12
- import { M as l } from "../../../MenuItem-DUdYOJr4.js";
13
- import { A as q } from "../../../Autocomplete-CE-OI2t8.js";
14
- import { T } from "../../../TextField-DPpRUQe3.js";
15
- import { C as Y } from "../../../CircularProgress-xZA3lvba.js";
16
- const k = [
2
+ import { useState as a } from "react";
3
+ import { Box as c, Typography as i, Grid as g, FormControl as m, Select as f, MenuItem as l, Autocomplete as M, TextField as A, CircularProgress as F } from "@mui/material";
4
+ import _ from "../../Wallet/Shared/step.js";
5
+ import { c as q } from "../../../countries-BVn1FubK.js";
6
+ import B from "../../Wallet/Shared/appButton.js";
7
+ import { d as Y, f as k } from "../../../constants-DX0YBtP2.js";
8
+ const z = [
17
9
  "Hold a high public office",
18
10
  "Have an immediate family member who does",
19
11
  "A close business associate who does"
20
- ], z = [
12
+ ], H = [
21
13
  "Savings from salary (basic and/or bonus)",
22
14
  "Savings from salary (basic and/or bonus), self-employed",
23
15
  "Savings from salary (basic and/or bonus), self-employed company less than one year old",
@@ -37,13 +29,13 @@ const k = [
37
29
  "Company Profitsharing or Disbursement",
38
30
  "Company Dividends",
39
31
  "Gift"
40
- ], H = [
32
+ ], K = [
41
33
  "Once a year",
42
34
  "Once every 3 months ",
43
35
  "Once a month ",
44
36
  "Once a week ",
45
37
  "Other"
46
- ], K = [
38
+ ], T = [
47
39
  "Investment",
48
40
  "Cross Border ",
49
41
  "Identity Services ",
@@ -51,7 +43,7 @@ const k = [
51
43
  "Wallet Services",
52
44
  "Custody Services",
53
45
  "Other Services"
54
- ], ae = ({
46
+ ], J = ({
55
47
  userInfo: C,
56
48
  setUserInfo: b,
57
49
  processKyc: O,
@@ -59,26 +51,26 @@ const k = [
59
51
  processLoader: P,
60
52
  kycFlow: v
61
53
  }) => {
62
- const W = L ?? F, [a, x] = n(!1), [d, S] = n(""), [p, D] = n(""), [h, E] = n(""), [m, I] = n(""), [s, w] = n(null), N = () => {
54
+ const W = L ?? B, [n, x] = a(!1), [d, S] = a(""), [p, D] = a(""), [h, E] = a(""), [u, I] = a(""), [s, w] = a(null), N = () => {
63
55
  s && (b({
64
56
  ...C,
65
- isPoliticalExpose: a,
57
+ isPoliticalExpose: n,
66
58
  politicalExpose: d,
67
59
  frequency: p,
68
60
  reason: h,
69
- source: m,
61
+ source: u,
70
62
  origin: s.alpha3
71
63
  }), O(
72
- a,
64
+ n,
73
65
  d,
74
66
  p,
75
67
  h,
76
- m,
68
+ u,
77
69
  s.alpha3
78
70
  ));
79
71
  };
80
72
  return /* @__PURE__ */ o(y, { children: [
81
- v !== B && /* @__PURE__ */ e(c, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ e(M, { totalSteps: 4, currentStep: 4 }) }),
73
+ v !== Y && /* @__PURE__ */ e(c, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ e(_, { totalSteps: 4, currentStep: 4 }) }),
82
74
  /* @__PURE__ */ o(c, { pl: 2, mt: 4, children: [
83
75
  /* @__PURE__ */ e(i, { variant: "h5", sx: { fontWeight: "bold" }, children: "Additional Questions" }),
84
76
  /* @__PURE__ */ e(i, { mt: 4, variant: "body1", children: /* @__PURE__ */ o("strong", { children: [
@@ -90,7 +82,7 @@ const k = [
90
82
  c,
91
83
  {
92
84
  onClick: () => x(!0),
93
- className: `political-expose ${a === !0 && "active"}`,
85
+ className: `political-expose ${n === !0 && "active"}`,
94
86
  children: "Yes"
95
87
  }
96
88
  ) }),
@@ -100,12 +92,12 @@ const k = [
100
92
  onClick: () => {
101
93
  x(!1), S("");
102
94
  },
103
- className: `political-expose ${a === !1 && "active"}`,
95
+ className: `political-expose ${n === !1 && "active"}`,
104
96
  children: "No"
105
97
  }
106
98
  ) })
107
99
  ] }),
108
- a && /* @__PURE__ */ e(u, { sx: { mt: 2 }, className: "text-left", fullWidth: !0, children: /* @__PURE__ */ o(
100
+ n && /* @__PURE__ */ e(m, { sx: { mt: 2 }, className: "text-left", fullWidth: !0, children: /* @__PURE__ */ o(
109
101
  f,
110
102
  {
111
103
  sx: {
@@ -121,7 +113,7 @@ const k = [
121
113
  onChange: (t) => S(t.target.value),
122
114
  children: [
123
115
  /* @__PURE__ */ e(l, { value: "", children: "Please select" }),
124
- k.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
116
+ z.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
125
117
  ]
126
118
  }
127
119
  ) }),
@@ -129,7 +121,7 @@ const k = [
129
121
  "Expected frequency of transactions?",
130
122
  /* @__PURE__ */ e("span", { style: { color: "red" }, children: "*" })
131
123
  ] }) }),
132
- /* @__PURE__ */ e(u, { className: "mt8 text-left", fullWidth: !0, children: /* @__PURE__ */ o(
124
+ /* @__PURE__ */ e(m, { className: "mt8 text-left", fullWidth: !0, children: /* @__PURE__ */ o(
133
125
  f,
134
126
  {
135
127
  sx: {
@@ -145,7 +137,7 @@ const k = [
145
137
  onChange: (t) => D(t.target.value),
146
138
  children: [
147
139
  /* @__PURE__ */ e(l, { value: "", children: "Please select" }),
148
- H.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
140
+ K.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
149
141
  ]
150
142
  }
151
143
  ) }),
@@ -153,7 +145,7 @@ const k = [
153
145
  "Reason for signing up",
154
146
  /* @__PURE__ */ e("span", { style: { color: "red" }, children: "*" })
155
147
  ] }) }),
156
- /* @__PURE__ */ e(u, { sx: { mt: 1 }, className: "text-left", fullWidth: !0, children: /* @__PURE__ */ o(
148
+ /* @__PURE__ */ e(m, { sx: { mt: 1 }, className: "text-left", fullWidth: !0, children: /* @__PURE__ */ o(
157
149
  f,
158
150
  {
159
151
  sx: {
@@ -169,7 +161,7 @@ const k = [
169
161
  onChange: (t) => E(t.target.value),
170
162
  children: [
171
163
  /* @__PURE__ */ e(l, { value: "", children: "Please select" }),
172
- K.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
164
+ T.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
173
165
  ]
174
166
  }
175
167
  ) }),
@@ -177,7 +169,7 @@ const k = [
177
169
  "Source of wealth",
178
170
  /* @__PURE__ */ e("span", { style: { color: "red" }, children: "*" })
179
171
  ] }) }),
180
- /* @__PURE__ */ e(u, { className: "mt8 text-left", fullWidth: !0, children: /* @__PURE__ */ o(
172
+ /* @__PURE__ */ e(m, { className: "mt8 text-left", fullWidth: !0, children: /* @__PURE__ */ o(
181
173
  f,
182
174
  {
183
175
  sx: {
@@ -188,12 +180,12 @@ const k = [
188
180
  }
189
181
  },
190
182
  variant: "filled",
191
- value: m,
183
+ value: u,
192
184
  displayEmpty: !0,
193
185
  onChange: (t) => I(t.target.value),
194
186
  children: [
195
187
  /* @__PURE__ */ e(l, { value: "", children: "Please select" }),
196
- z.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
188
+ H.map((t) => /* @__PURE__ */ e(l, { value: t, children: t }, t))
197
189
  ]
198
190
  }
199
191
  ) }),
@@ -202,7 +194,7 @@ const k = [
202
194
  /* @__PURE__ */ e("span", { style: { color: "red" }, children: "*" })
203
195
  ] }) }),
204
196
  /* @__PURE__ */ e(
205
- q,
197
+ M,
206
198
  {
207
199
  sx: {
208
200
  mt: 2,
@@ -213,7 +205,7 @@ const k = [
213
205
  value: s,
214
206
  isOptionEqualToValue: (t, r) => t.alpha3 === r.alpha3,
215
207
  onChange: (t, r) => w(r),
216
- options: A,
208
+ options: q,
217
209
  autoHighlight: !0,
218
210
  openOnFocus: !0,
219
211
  getOptionLabel: (t) => t.name,
@@ -242,7 +234,7 @@ const k = [
242
234
  }
243
235
  ),
244
236
  renderInput: (t) => /* @__PURE__ */ e(
245
- T,
237
+ A,
246
238
  {
247
239
  className: "country-select-field",
248
240
  ...t,
@@ -263,16 +255,16 @@ const k = [
263
255
  sx: { mt: 4 },
264
256
  variant: "contained",
265
257
  onClick: N,
266
- disabled: !p || !h || !m || !s || a && !d,
258
+ disabled: !p || !h || !u || !s || n && !d,
267
259
  fullWidth: !0,
268
260
  children: /* @__PURE__ */ e("strong", { children: P ? /* @__PURE__ */ o(y, { children: [
269
- /* @__PURE__ */ e(Y, { size: 15, color: "inherit" }),
261
+ /* @__PURE__ */ e(F, { size: 15, color: "inherit" }),
270
262
  " Processing..."
271
- ] }) : /* @__PURE__ */ e(y, { children: v === _ ? "Submit KYC" : "Next" }) })
263
+ ] }) : /* @__PURE__ */ e(y, { children: v === k ? "Submit KYC" : "Next" }) })
272
264
  }
273
265
  )
274
266
  ] });
275
267
  };
276
268
  export {
277
- ae as default
269
+ J as default
278
270
  };
@@ -1,27 +1,27 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
+ import "@mui/material";
3
4
  import "../../../index-DlQqWbXG.js";
4
5
  import "../../Wallet/Shared/appButton.js";
5
6
  import "../../../hoc/withThemeProvider.js";
6
7
  import "../../Wallet/Shared/Input/index.js";
7
- import "../../Wallet/Shared/Auth/otpForm.js";
8
- import "../../../constants-DrmtdI1J.js";
8
+ import "../../../otpForm-DeeegaX2.js";
9
+ import "../../../constants-DX0YBtP2.js";
9
10
  import "../../../context/snackBarContext.js";
10
11
  import "../../../util/conversions.js";
11
12
  import "../../../index-CAoLi5Qq.js";
12
13
  import "../../Wallet/Shared/step.js";
13
14
  import "../../../react-webcam-B3cXh1XT.js";
14
15
  import "../transition.js";
15
- import "../../../tooltip-3UvETWtS.js";
16
+ import "../../../tooltip-BW0UyWw7.js";
16
17
  import "../../../moment-h96o7c8I.js";
17
18
  import "../../../index.esm-BsMAMhYW.js";
18
19
  import "../../../web3-u4qDZYpo.js";
19
20
  import "../../../index-ceeCtFuh.js";
20
- import { P as y } from "../../../index-BHG1bT4t.js";
21
+ import { P as y } from "../../../index-CTPMPwYK.js";
21
22
  import "../../../context/dialogContext.js";
23
+ import "@mui/icons-material";
22
24
  import "./countryList.js";
23
- import "../../../Box-B0YSYLco.js";
24
- import "../../../Typography-pAaje37G.js";
25
25
  export {
26
26
  y as default
27
27
  };
@@ -1,12 +1,13 @@
1
1
  import "react/jsx-runtime";
2
2
  import "react";
3
+ import "@mui/material";
3
4
  import "../../Wallet/Shared/Input/index.js";
4
5
  import "../../Wallet/Shared/appButton.js";
5
6
  import "../../../index-DlQqWbXG.js";
6
7
  import "../../../hoc/withThemeProvider.js";
7
- import "../../Wallet/Shared/Auth/otpForm.js";
8
- import "../../../constants-DrmtdI1J.js";
9
- import "../../../kyc-ksV3vBP_.js";
8
+ import "../../../otpForm-DeeegaX2.js";
9
+ import "../../../constants-DX0YBtP2.js";
10
+ import "../../../kyc-BNMPoeHt.js";
10
11
  import "../../../context/snackBarContext.js";
11
12
  import "../../../hooks/useEverestDispatch.js";
12
13
  import "../../../util/conversions.js";
@@ -14,22 +15,16 @@ import "../../../index-CAoLi5Qq.js";
14
15
  import "../../Wallet/Shared/step.js";
15
16
  import "../../../react-webcam-B3cXh1XT.js";
16
17
  import "../transition.js";
17
- import "../../../tooltip-3UvETWtS.js";
18
+ import "../../../tooltip-BW0UyWw7.js";
18
19
  import "../../../moment-h96o7c8I.js";
19
20
  import "../../../index.esm-BsMAMhYW.js";
20
21
  import "../../../countries-BVn1FubK.js";
21
22
  import "../../../web3-u4qDZYpo.js";
22
23
  import "../../../index-ceeCtFuh.js";
23
- import { U as G } from "../../../index-BHG1bT4t.js";
24
+ import { U as B } from "../../../index-CTPMPwYK.js";
24
25
  import "../../../context/dialogContext.js";
26
+ import "@mui/icons-material";
25
27
  import "./countryList.js";
26
- import "../../../Box-B0YSYLco.js";
27
- import "../../../Typography-pAaje37G.js";
28
- import "../../../FormControl-RtZDQMdA.js";
29
- import "../../../TextField-DPpRUQe3.js";
30
- import "../../../Select-CB5yWmyn.js";
31
- import "../../../MenuItem-DUdYOJr4.js";
32
- import "../../../Grid-CFe3amXO.js";
33
28
  export {
34
- G as default
29
+ B as default
35
30
  };
@@ -1,16 +1,11 @@
1
- import { jsxs as i, Fragment as N, jsx as t } from "react/jsx-runtime";
1
+ import { jsxs as i, Fragment as D, jsx as t } from "react/jsx-runtime";
2
2
  import { useState as C } from "react";
3
3
  import { h as E } from "../../../moment-h96o7c8I.js";
4
- import { TOKEN_TO_FIAT as x, TOKEN_TO_TOKEN as $, FIAT_WITHDRAW as O, IBAN_CREATION as k, BANK_DEPOSIT as v, BANK_TRANSFER as S, RIGHT_ARROW as H, FIAT_TO_TOKEN as P, FIAT_TO_EVER_ID as K, HISTORY_BUY_ICON as W, HISTORY_SELL_ICON as b, HISTORY_SWAP_ICON as L } from "../../../util/constants.js";
5
- import { getTransactionStatusLabel as M, getCurrencySymbol as h, displayWalletAddress as j } from "../../../util/functions.js";
6
- import Y from "../transition.js";
7
- import { C as G } from "../../../Close-CNwiMz_O.js";
8
- import { B as U } from "../../../Box-B0YSYLco.js";
9
- import { G as o } from "../../../Grid-CFe3amXO.js";
10
- import { D as V, a as q } from "../../../DialogContent-BMwlOnbW.js";
11
- import { D as J } from "../../../DialogTitle-CfS0bb2K.js";
12
- import { T as Q } from "../../../Typography-pAaje37G.js";
13
- import { I as X } from "../../../IconButton-DHm-hucF.js";
4
+ import { Box as H, Grid as n, Dialog as P, DialogTitle as K, Typography as L, IconButton as M, DialogContent as j } from "@mui/material";
5
+ import { TOKEN_TO_FIAT as x, TOKEN_TO_TOKEN as $, FIAT_WITHDRAW as O, IBAN_CREATION as k, BANK_DEPOSIT as v, BANK_TRANSFER as S, RIGHT_ARROW as Y, FIAT_TO_TOKEN as G, FIAT_TO_EVER_ID as U, HISTORY_BUY_ICON as W, HISTORY_SELL_ICON as b, HISTORY_SWAP_ICON as V } from "../../../util/constants.js";
6
+ import { getTransactionStatusLabel as q, getCurrencySymbol as h, displayWalletAddress as J } from "../../../util/functions.js";
7
+ import Q from "../transition.js";
8
+ import { C as X } from "../../../Close-DSxLLo08.js";
14
9
  import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
15
10
  item: Z,
16
11
  "status-failed": "_status-failed_1bfen_19",
@@ -20,12 +15,12 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
20
15
  "close-btn": "_close-btn_1bfen_39"
21
16
  }, ee = {
22
17
  "USDR.c": "Orion Point"
23
- }, he = (R) => {
24
- var I, A, g, D;
18
+ }, de = (R) => {
19
+ var A, I, g, N;
25
20
  const [z, y] = C(!1), e = R.data;
26
21
  if (![
27
- P,
28
- K,
22
+ G,
23
+ U,
29
24
  x,
30
25
  $,
31
26
  O,
@@ -34,48 +29,48 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
34
29
  v
35
30
  ].includes(e.transaction_type))
36
31
  return null;
37
- const T = M(e.transaction_status), F = E(e.created_at).format("DD MMM yyyy, H:mm");
38
- let n = h(e.currency_code_in);
39
- e.transaction_type === x && (n = h(e.currency_code_out));
40
- let u = "Amount Received", l = "Bought", _ = "Amount Paid", c = W, d = ee[e.token_out] || e.token_out, s = n + (e.currency_in_amount * 1).toFixed(2), a = parseFloat((e.token_out_amount * 1).toFixed(5)) + " " + d, m = "5-40 minutes", p = `${n}${(e.total_fee * 1).toFixed(2)}`;
41
- e.transaction_type === x ? (l = "Sold", _ = "Amount Sent", c = b, d = e.token_in, s = (e.token_in_amount * 1).toFixed(5) + " " + e.token_in, a = (e.currency_out_amount * 1).toFixed(2) + " " + e.currency_code_out + ".c") : e.transaction_type === $ ? (l = "Swapped", c = L, s = `${(e.amount * 1).toFixed(5)} ${e.token_in}`, p = `$${(e.total_fee * 1).toFixed(2)}`) : e.transaction_type === O ? (n = h(e.currency_code_out), l = "Withdraw", d = "", c = b, m = "2-3 days", s = `${(e.amount * 1).toFixed(5)} ${e.currency_code_out}.c`, a = n + (e.currency_out_amount * 1).toFixed(2), p = `${n}${(e.total_fee * 1).toFixed(2)}`) : e.transaction_type === k ? (u = "Item Purchased", a = "IBAN subscription") : e.transaction_type === v ? (n = h(e.currency_code_in), l = "Bank Deposit", d = "", c = W, m = "2-3 hours", p = `${n}${(e.total_fee * 1).toFixed(2)}`, _ = "Deposit Amount", s = `${n}${(e.amount * 1).toFixed(2)}`, u = "Deposit Info", a = `${(I = e == null ? void 0 : e.payment) == null ? void 0 : I.account_number} (${(A = e == null ? void 0 : e.payment) == null ? void 0 : A.recipient_first_name} ${(g = e == null ? void 0 : e.payment) == null ? void 0 : g.recipient_last_name})`) : e.transaction_type === S && (n = h(e.currency_code_out), l = "Bank Withdraw", d = "", c = b, m = "2-3 hours", p = `${n}${(e.total_fee * 1).toFixed(2)}`, _ = "Withdraw Amount", s = `${n}${(e.amount * 1).toFixed(2)}`, u = "Withdraw IBAN", a = (D = e == null ? void 0 : e.payout) == null ? void 0 : D.account_number), (e.transaction_status === "failed" || e.transaction_status === "rejected") && (m = "N/A");
42
- const r = ({ label: B, value: w }) => /* @__PURE__ */ i(N, { children: [
43
- /* @__PURE__ */ t(o, { size: 6, fontWeight: 500, children: B }),
44
- /* @__PURE__ */ t(o, { className: "text-right", size: 6, fontWeight: 400, children: w })
32
+ const T = q(e.transaction_status), F = E(e.created_at).format("DD MMM yyyy, H:mm");
33
+ let o = h(e.currency_code_in);
34
+ e.transaction_type === x && (o = h(e.currency_code_out));
35
+ let u = "Amount Received", l = "Bought", _ = "Amount Paid", c = W, d = ee[e.token_out] || e.token_out, s = o + (e.currency_in_amount * 1).toFixed(2), a = parseFloat((e.token_out_amount * 1).toFixed(5)) + " " + d, m = "5-40 minutes", p = `${o}${(e.total_fee * 1).toFixed(2)}`;
36
+ e.transaction_type === x ? (l = "Sold", _ = "Amount Sent", c = b, d = e.token_in, s = (e.token_in_amount * 1).toFixed(5) + " " + e.token_in, a = (e.currency_out_amount * 1).toFixed(2) + " " + e.currency_code_out + ".c") : e.transaction_type === $ ? (l = "Swapped", c = V, s = `${(e.amount * 1).toFixed(5)} ${e.token_in}`, p = `$${(e.total_fee * 1).toFixed(2)}`) : e.transaction_type === O ? (o = h(e.currency_code_out), l = "Withdraw", d = "", c = b, m = "2-3 days", s = `${(e.amount * 1).toFixed(5)} ${e.currency_code_out}.c`, a = o + (e.currency_out_amount * 1).toFixed(2), p = `${o}${(e.total_fee * 1).toFixed(2)}`) : e.transaction_type === k ? (u = "Item Purchased", a = "IBAN subscription") : e.transaction_type === v ? (o = h(e.currency_code_in), l = "Bank Deposit", d = "", c = W, m = "2-3 hours", p = `${o}${(e.total_fee * 1).toFixed(2)}`, _ = "Deposit Amount", s = `${o}${(e.amount * 1).toFixed(2)}`, u = "Deposit Info", a = `${(A = e == null ? void 0 : e.payment) == null ? void 0 : A.account_number} (${(I = e == null ? void 0 : e.payment) == null ? void 0 : I.recipient_first_name} ${(g = e == null ? void 0 : e.payment) == null ? void 0 : g.recipient_last_name})`) : e.transaction_type === S && (o = h(e.currency_code_out), l = "Bank Withdraw", d = "", c = b, m = "2-3 hours", p = `${o}${(e.total_fee * 1).toFixed(2)}`, _ = "Withdraw Amount", s = `${o}${(e.amount * 1).toFixed(2)}`, u = "Withdraw IBAN", a = (N = e == null ? void 0 : e.payout) == null ? void 0 : N.account_number), (e.transaction_status === "failed" || e.transaction_status === "rejected") && (m = "N/A");
37
+ const r = ({ label: w, value: B }) => /* @__PURE__ */ i(D, { children: [
38
+ /* @__PURE__ */ t(n, { size: 6, fontWeight: 500, children: w }),
39
+ /* @__PURE__ */ t(n, { className: "text-right", size: 6, fontWeight: 400, children: B })
45
40
  ] });
46
- return /* @__PURE__ */ i(N, { children: [
47
- /* @__PURE__ */ i(U, { className: f.item, onClick: () => y(!0), children: [
48
- /* @__PURE__ */ i(o, { container: !0, children: [
49
- /* @__PURE__ */ t(o, { size: { xs: 1, md: 0.5 }, children: /* @__PURE__ */ t("img", { src: c, alt: "historyIcon" }) }),
50
- /* @__PURE__ */ t(o, { size: { xs: 5, md: 5.5 }, children: /* @__PURE__ */ i("strong", { children: [
41
+ return /* @__PURE__ */ i(D, { children: [
42
+ /* @__PURE__ */ i(H, { className: f.item, onClick: () => y(!0), children: [
43
+ /* @__PURE__ */ i(n, { container: !0, children: [
44
+ /* @__PURE__ */ t(n, { size: { xs: 1, md: 0.5 }, children: /* @__PURE__ */ t("img", { src: c, alt: "historyIcon" }) }),
45
+ /* @__PURE__ */ t(n, { size: { xs: 5, md: 5.5 }, children: /* @__PURE__ */ i("strong", { children: [
51
46
  l,
52
47
  " ",
53
48
  d
54
49
  ] }) }),
55
- /* @__PURE__ */ t(o, { size: { xs: 6, md: 6 }, children: F })
50
+ /* @__PURE__ */ t(n, { size: { xs: 6, md: 6 }, children: F })
56
51
  ] }),
57
- /* @__PURE__ */ i(o, { style: { color: "#A1A1A1" }, container: !0, children: [
58
- /* @__PURE__ */ t(o, { size: { xs: 1, md: 0.5 } }),
59
- /* @__PURE__ */ t(o, { size: { xs: 5, md: 5.5 }, children: /* @__PURE__ */ t("b", { children: _ }) }),
60
- /* @__PURE__ */ t(o, { size: { xs: 5, md: 5 }, children: /* @__PURE__ */ t("b", { children: u }) }),
61
- /* @__PURE__ */ t(o, { className: "text-right", size: { xs: 1, md: 1 }, children: /* @__PURE__ */ t("img", { src: H, alt: "arrow" }) })
52
+ /* @__PURE__ */ i(n, { style: { color: "#A1A1A1" }, container: !0, children: [
53
+ /* @__PURE__ */ t(n, { size: { xs: 1, md: 0.5 } }),
54
+ /* @__PURE__ */ t(n, { size: { xs: 5, md: 5.5 }, children: /* @__PURE__ */ t("b", { children: _ }) }),
55
+ /* @__PURE__ */ t(n, { size: { xs: 5, md: 5 }, children: /* @__PURE__ */ t("b", { children: u }) }),
56
+ /* @__PURE__ */ t(n, { className: "text-right", size: { xs: 1, md: 1 }, children: /* @__PURE__ */ t("img", { src: Y, alt: "arrow" }) })
62
57
  ] }),
63
- /* @__PURE__ */ i(o, { style: { fontWeight: "500" }, container: !0, children: [
64
- /* @__PURE__ */ t(o, { size: { xs: 1, md: 0.5 } }),
65
- /* @__PURE__ */ t(o, { size: { xs: 5, md: 5.5 }, children: s }),
66
- /* @__PURE__ */ t(o, { size: { xs: 6, md: 6 }, children: a })
58
+ /* @__PURE__ */ i(n, { style: { fontWeight: "500" }, container: !0, children: [
59
+ /* @__PURE__ */ t(n, { size: { xs: 1, md: 0.5 } }),
60
+ /* @__PURE__ */ t(n, { size: { xs: 5, md: 5.5 }, children: s }),
61
+ /* @__PURE__ */ t(n, { size: { xs: 6, md: 6 }, children: a })
67
62
  ] }),
68
- /* @__PURE__ */ t(o, { mt: 0.5, container: !0, children: /* @__PURE__ */ i(o, { className: "text-right", size: 12, children: [
63
+ /* @__PURE__ */ t(n, { mt: 0.5, container: !0, children: /* @__PURE__ */ i(n, { className: "text-right", size: 12, children: [
69
64
  "Status:",
70
65
  " ",
71
66
  /* @__PURE__ */ t("span", { className: f[`status-${e.transaction_status}`], children: /* @__PURE__ */ t("b", { children: T }) })
72
67
  ] }) })
73
68
  ] }),
74
69
  /* @__PURE__ */ i(
75
- V,
70
+ P,
76
71
  {
77
72
  slots: {
78
- transition: Y
73
+ transition: Q
79
74
  },
80
75
  slotProps: {
81
76
  paper: {
@@ -96,7 +91,7 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
96
91
  onClose: () => y(!1),
97
92
  children: [
98
93
  /* @__PURE__ */ i(
99
- J,
94
+ K,
100
95
  {
101
96
  sx: {
102
97
  background: "#FFFFFF",
@@ -104,7 +99,7 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
104
99
  },
105
100
  children: [
106
101
  /* @__PURE__ */ t(
107
- Q,
102
+ L,
108
103
  {
109
104
  textAlign: "center",
110
105
  variant: "subtitle1",
@@ -114,18 +109,18 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
114
109
  }
115
110
  ),
116
111
  /* @__PURE__ */ t(
117
- X,
112
+ M,
118
113
  {
119
114
  "aria-label": "close",
120
115
  onClick: () => y(!1),
121
116
  className: f["close-btn"],
122
- children: /* @__PURE__ */ t(G, {})
117
+ children: /* @__PURE__ */ t(X, {})
123
118
  }
124
119
  )
125
120
  ]
126
121
  }
127
122
  ),
128
- /* @__PURE__ */ t(q, { sx: { mt: 1 }, children: /* @__PURE__ */ i(o, { container: !0, spacing: 1, sx: { padding: "0% 15%" }, my: 8, children: [
123
+ /* @__PURE__ */ t(j, { sx: { mt: 1 }, children: /* @__PURE__ */ i(n, { container: !0, spacing: 1, sx: { padding: "0% 15%" }, my: 8, children: [
129
124
  /* @__PURE__ */ t(r, { label: "Status", value: T }),
130
125
  /* @__PURE__ */ t(r, { label: "Processing Time", value: m }),
131
126
  /* @__PURE__ */ t(r, { label: "Order ID", value: e.trx_uuid }),
@@ -138,7 +133,7 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
138
133
  r,
139
134
  {
140
135
  label: "Wallet Address",
141
- value: j(e.wallet_address)
136
+ value: J(e.wallet_address)
142
137
  }
143
138
  )
144
139
  ] }) })
@@ -148,5 +143,5 @@ import '../../../assets/index4.css';const Z = "_item_1bfen_1", f = {
148
143
  ] });
149
144
  };
150
145
  export {
151
- he as default
146
+ de as default
152
147
  };
@@ -1,41 +1,37 @@
1
- import { jsxs as s, Fragment as E, jsx as o } from "react/jsx-runtime";
2
- import { useRef as h, useState as i, useEffect as w } from "react";
3
- import { B as M } from "../../../Backdrop-CioURPVG.js";
4
- import { C as x } from "../../../CircularProgress-xZA3lvba.js";
5
- import { B as u } from "../../../Box-B0YSYLco.js";
6
- import { B as P } from "../../../Button-Df4vgU24.js";
7
- import { T as y } from "../../../Typography-pAaje37G.js";
1
+ import { jsxs as s, Fragment as E, jsx as t } from "react/jsx-runtime";
2
+ import { Backdrop as M, CircularProgress as w, Box as u, Button as P, Typography as m } from "@mui/material";
3
+ import { useRef as x, useState as i, useEffect as y } from "react";
8
4
  let r;
9
- function W({
5
+ function _({
10
6
  uuid: g,
11
7
  showBtn: k = !1,
12
- buttonText: B = "KYC",
8
+ buttonText: I = "KYC",
13
9
  configurationId: c,
14
- successHandler: I,
15
- errorHandler: S,
16
- apiKey: b,
10
+ successHandler: S,
11
+ errorHandler: b,
12
+ apiKey: B,
17
13
  apiUrl: C,
18
14
  onBoardingUrl: L,
19
15
  setDocumentsData: R,
20
16
  setIncodeSessionData: v,
21
17
  isModalView: $ = !1
22
18
  }) {
23
- const a = h(null), d = h(!1), [T, f] = i(!1), [p, U] = i(!1), [n, j] = i(null), [m, z] = i("");
24
- w(() => {
19
+ const a = x(null), d = x(!1), [U, f] = i(!1), [p, T] = i(!1), [n, j] = i(null), [h, z] = i("");
20
+ y(() => {
25
21
  if (typeof window > "u") return;
26
22
  if (document.querySelector(
27
23
  'script[src^="https://sdk.incode.com/sdk/onBoarding"]'
28
24
  ))
29
25
  window.OnBoarding && !d.current && (d.current = !0, f(!0), l());
30
26
  else {
31
- const t = document.createElement("script");
32
- t.src = "https://sdk.incode.com/sdk/onBoarding-1.82.0.js", t.defer = !0, t.onload = () => {
27
+ const o = document.createElement("script");
28
+ o.src = "https://sdk.incode.com/sdk/onBoarding-1.82.0.js", o.defer = !0, o.onload = () => {
33
29
  d.current = !0, l();
34
- }, document.body.appendChild(t);
30
+ }, document.body.appendChild(o);
35
31
  }
36
32
  return () => {
37
- const t = a.current;
38
- t && (t.innerHTML = "");
33
+ const o = a.current;
34
+ o && (o.innerHTML = "");
39
35
  };
40
36
  }, []);
41
37
  const l = async () => {
@@ -46,7 +42,7 @@ function W({
46
42
  try {
47
43
  r = await window.OnBoarding.create({
48
44
  apiURL: C,
49
- apiKey: b
45
+ apiKey: B
50
46
  });
51
47
  const e = await N();
52
48
  j(e), v(e);
@@ -60,19 +56,19 @@ function W({
60
56
  const e = a.current;
61
57
  e && r.renderRedirectToMobile(e, {
62
58
  onSuccess: D,
63
- onError: S,
59
+ onError: b,
64
60
  flowId: c,
65
61
  externalId: g,
66
62
  session: n
67
63
  });
68
64
  }, D = async () => {
69
65
  const e = await r.ocrData({ token: n.token });
70
- R(e), I();
66
+ R(e), S();
71
67
  };
72
- return w(() => {
68
+ return y(() => {
73
69
  if (n) {
74
70
  if (r.isDesktop())
75
- U(!0);
71
+ T(!0);
76
72
  else {
77
73
  const e = `${L}${n.clientId}/${n.flowType}/${c}?interviewId=${n.interviewId}&isRedirect=true${n.uuid ? `&externalId=${n.uuid}` : ""}`;
78
74
  z(e), window.open(e, "_blank");
@@ -80,16 +76,16 @@ function W({
80
76
  O(), f(!1);
81
77
  }
82
78
  }, [n]), /* @__PURE__ */ s(E, { children: [
83
- /* @__PURE__ */ o(
79
+ /* @__PURE__ */ t(
84
80
  M,
85
81
  {
86
82
  sx: { color: "#fff", zIndex: (e) => e.zIndex.drawer + 1 },
87
- open: T,
88
- children: /* @__PURE__ */ o(x, { color: "inherit" })
83
+ open: U,
84
+ children: /* @__PURE__ */ t(w, { color: "inherit" })
89
85
  }
90
86
  ),
91
87
  /* @__PURE__ */ s(u, { sx: { display: p ? "block" : "none" }, children: [
92
- /* @__PURE__ */ o(
88
+ /* @__PURE__ */ t(
93
89
  "div",
94
90
  {
95
91
  ref: a,
@@ -98,30 +94,30 @@ function W({
98
94
  style: { display: "flex", justifyContent: "center" }
99
95
  }
100
96
  ),
101
- /* @__PURE__ */ o(
97
+ /* @__PURE__ */ t(
102
98
  P,
103
99
  {
104
100
  id: "launchInCode",
105
101
  className: "btn text-white custom-button highlight mx-auto",
106
102
  onClick: l,
107
103
  sx: { display: k ? "block" : "none" },
108
- children: B
104
+ children: I
109
105
  }
110
106
  )
111
107
  ] }),
112
108
  /* @__PURE__ */ s(u, { sx: { display: p ? "none" : "block" }, children: [
113
- /* @__PURE__ */ o(y, { variant: "h5", className: "text-center", children: /* @__PURE__ */ o("strong", { children: "Please Wait. Session in progress..." }) }),
114
- m && /* @__PURE__ */ s(y, { sx: { mt: 2 }, variant: "h6", className: "text-center fw500", children: [
109
+ /* @__PURE__ */ t(m, { variant: "h5", className: "text-center", children: /* @__PURE__ */ t("strong", { children: "Please Wait. Session in progress..." }) }),
110
+ h && /* @__PURE__ */ s(m, { sx: { mt: 2 }, variant: "h6", className: "text-center fw500", children: [
115
111
  "Please complete the process on the newly opened URL. If the URL did not open,",
116
112
  " ",
117
- /* @__PURE__ */ o("a", { href: m, target: "_blank", children: "click here" }),
113
+ /* @__PURE__ */ t("a", { href: h, target: "_blank", children: "click here" }),
118
114
  " ",
119
115
  "to open the URL."
120
116
  ] }),
121
- /* @__PURE__ */ o(u, { mt: 2, sx: { color: "#00B171", textAlign: "center" }, children: /* @__PURE__ */ o(x, { size: 40, color: "primary" }) })
117
+ /* @__PURE__ */ t(u, { mt: 2, sx: { color: "#00B171", textAlign: "center" }, children: /* @__PURE__ */ t(w, { size: 40, color: "primary" }) })
122
118
  ] })
123
119
  ] });
124
120
  }
125
121
  export {
126
- W as default
122
+ _ as default
127
123
  };