everest-npm-features 0.0.26 → 0.0.28

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 (220) hide show
  1. package/dist/{Alert-CbQZ8Nii.js → Alert-CUoIVlUd.js} +8 -7
  2. package/dist/{ArrowBack-BoYSBb8u.js → ArrowBack-BV158RTp.js} +1 -1
  3. package/dist/Avatar-CwczQLPi.js +280 -0
  4. package/dist/{Backdrop-CJBRZv_z.js → Backdrop-yR8IRnFX.js} +1 -1
  5. package/dist/{Box-B12x52NC.js → Box-BwKpr_VI.js} +1 -1
  6. package/dist/{Button-C57IMamW.js → Button-tAfK4lud.js} +13 -12
  7. package/dist/{ButtonBase-DugIO1pR.js → ButtonBase-CaH152Zd.js} +1 -1
  8. package/dist/{Cancel-D1JNu4Hj.js → Cancel-BoEk0xRy.js} +1 -1
  9. package/dist/{CardContent-CbObWW6t.js → CardContent-ZS4vlcvi.js} +2 -2
  10. package/dist/{CircularProgress-t8uGhLMo.js → CircularProgress-Yx712vpT.js} +7 -6
  11. package/dist/{Close-jnEgOCZv.js → Close-B_8kEwSt.js} +1 -1
  12. package/dist/{Close-VV7zb3cu.js → Close-CFg1QB5M.js} +1 -1
  13. package/dist/{Container-B3Af6Sc3.js → Container-CBPBT38n.js} +2 -2
  14. package/dist/{ContentCopy-Ufwoeeov.js → ContentCopy-D4Eg7Nkm.js} +1 -1
  15. package/dist/DefaultPropsProvider-4P82EuVL.js +232 -0
  16. package/dist/{Delete-TCARcVtU.js → Delete-BGp4FPdE.js} +1 -1
  17. package/dist/{DialogContent-DzidtXui.js → DialogContent-_gvZOy18.js} +13 -12
  18. package/dist/{DialogTitle-Bg61Hr7M.js → DialogTitle-dq22bYlF.js} +3 -3
  19. package/dist/{Divider-Dy5hKfey.js → Divider-CIL55YSC.js} +10 -9
  20. package/dist/{ErrorOutline-CI_ys3Zo.js → ErrorOutline-BykbFh0r.js} +1 -1
  21. package/dist/{FileDownload-BcYF17B0.js → FileDownload-BSy7tA6m.js} +1 -1
  22. package/dist/{FilledInput-DrGeWgue.js → FilledInput-QaJVaeIX.js} +12 -14
  23. package/dist/{FormControl-DeeQCuu5.js → FormControl-H4D1Z6Ov.js} +1 -1
  24. package/dist/{FormControlLabel-DVnrJkC8.js → FormControlLabel-BvI1nkJ1.js} +7 -6
  25. package/dist/{Grid-BXyV_lM8.js → Grid-CPkjiKqX.js} +2 -2
  26. package/dist/{IconButton-eWRhV6Q9.js → IconButton-WneJM4uP.js} +10 -9
  27. package/dist/{Info-D2UkGxyK.js → Info-0vSsl6Bm.js} +1 -1
  28. package/dist/{InputAdornment-BKuUMfPj.js → InputAdornment-Bqn4-Kns.js} +6 -5
  29. package/dist/{Link-Cm4BkRHO.js → Link-DhdK4VfZ.js} +6 -5
  30. package/dist/{ListItemIcon-GKRFb1Gr.js → ListItemIcon-D657XWHf.js} +15 -14
  31. package/dist/Menu-BAFJBGa-.js +1238 -0
  32. package/dist/{MenuItem-CeCt0bfa.js → MenuItem-ByxiQtY2.js} +36 -35
  33. package/dist/{Modal-csf3Y8d2.js → Modal-DEfOsvWK.js} +16 -15
  34. package/dist/{Paper-CnStNE24.js → Paper-jx_cZiyU.js} +27 -26
  35. package/dist/{PlayArrow-DRCGjsrx.js → PlayArrow-BCWGWaUq.js} +1 -1
  36. package/dist/{Popper-pPBEFLi4.js → Popper-B1He9eVi.js} +1 -1
  37. package/dist/{RadioGroup-KiyYjXaT.js → RadioGroup-_-H2gvH2.js} +3 -3
  38. package/dist/Select-CGei0bav.js +1885 -0
  39. package/dist/{Stack-CcR5RCg8.js → Stack-DH-Nxf9q.js} +2 -2
  40. package/dist/{SwitchBase-CHO5ZceN.js → SwitchBase-BDUzpdBf.js} +2 -2
  41. package/dist/{TextField-q_SeLeNd.js → TextField-DmiK1A_S.js} +17 -16
  42. package/dist/{Typography-DBlMiOti.js → Typography-BQDN44CM.js} +16 -15
  43. package/dist/assets/documents.css +1 -1
  44. package/dist/assets/index10.css +1 -1
  45. package/dist/assets/index3.css +1 -1
  46. package/dist/assets/index4.css +1 -1
  47. package/dist/assets/styles2.css +1 -1
  48. package/dist/assets/styles3.css +1 -1
  49. package/dist/assets/tokenRow.css +1 -1
  50. package/dist/assets/withThemeProvider.css +1 -1
  51. package/dist/{auth-Bf9zHZ-x.js → auth-DoHhqFQx.js} +11 -11
  52. package/dist/{bank-BC4YNBRb.js → bank-DyVf4Uoo.js} +6 -6
  53. package/dist/components/RocketRamp/MinimalKyc/form.js +13 -12
  54. package/dist/components/RocketRamp/MinimalKyc/index.js +1 -1
  55. package/dist/components/RocketRamp/Player/Buy/cardPayment.js +7 -7
  56. package/dist/components/RocketRamp/Player/Buy/confirmTransaction.js +7 -7
  57. package/dist/components/RocketRamp/Player/Buy/form.js +16 -16
  58. package/dist/components/RocketRamp/Player/Buy/index.js +6 -6
  59. package/dist/components/RocketRamp/Player/Dashboard/balance.js +6 -6
  60. package/dist/components/RocketRamp/Player/Dashboard/index.js +16 -14
  61. package/dist/components/RocketRamp/Player/Dashboard/transaction.js +4 -4
  62. package/dist/components/RocketRamp/Player/Sell/confirmTransaction.js +10 -10
  63. package/dist/components/RocketRamp/Player/Sell/form.js +16 -16
  64. package/dist/components/RocketRamp/Player/Sell/index.js +14 -13
  65. package/dist/components/RocketRamp/Player/SignIn/index.js +5 -5
  66. package/dist/components/RocketRamp/Player/SignIn/loginForm.js +5 -5
  67. package/dist/components/RocketRamp/Player/SignIn/otpForm.js +9 -9
  68. package/dist/components/RocketRamp/Player/SignUp/email.js +9 -9
  69. package/dist/components/RocketRamp/Player/SignUp/index.js +10 -10
  70. package/dist/components/RocketRamp/Player/SignUp/personalInfo.js +9 -9
  71. package/dist/components/RocketRamp/Player/SignUp/summary.js +3 -3
  72. package/dist/components/RocketRamp/Player/SignUp/validateEmail.js +3 -3
  73. package/dist/components/RocketRamp/ResetPassword/index.js +5 -5
  74. package/dist/components/RocketRamp/Shared/Button/index.js +2 -2
  75. package/dist/components/RocketRamp/Shared/Input/index.js +6 -6
  76. package/dist/components/RocketRamp/Shared/backBtn.js +3 -3
  77. package/dist/components/RocketRamp/Shared/transactionItem.js +5 -5
  78. package/dist/components/RocketRamp/Store/Dashboard/balance.js +5 -5
  79. package/dist/components/RocketRamp/Store/Dashboard/index.js +2 -2
  80. package/dist/components/RocketRamp/Store/Dashboard/stats.js +5 -5
  81. package/dist/components/RocketRamp/Store/Dashboard/transaction.js +4 -4
  82. package/dist/components/RocketRamp/Store/SignUp/index.js +15 -15
  83. package/dist/components/RocketRamp/Store/SignUp/personalInfo.js +9 -9
  84. package/dist/components/RocketRamp/Store/SignUp/storeInfo.js +11 -11
  85. package/dist/components/RocketRamp/Store/SignUp/summary.js +3 -3
  86. package/dist/components/RocketRamp/Store/SignUp/validateEmail.js +3 -3
  87. package/dist/components/RocketRamp/Transactions/index.js +4 -4
  88. package/dist/components/Shared/FullKyc/index.js +4 -4
  89. package/dist/components/Shared/FullKyc/pep.js +9 -9
  90. package/dist/components/Shared/FullKyc/personalDetails.js +10 -9
  91. package/dist/components/Shared/FullKyc/types.d.ts +1 -1
  92. package/dist/components/Shared/FullKyc/userInfo.js +15 -14
  93. package/dist/components/Shared/HistoryItem/index.js +64 -65
  94. package/dist/components/Shared/Incode/index.js +5 -5
  95. package/dist/components/Shared/MinimalKyc/index.js +8 -8
  96. package/dist/components/Shared/loader.js +2 -2
  97. package/dist/components/Shared/tooltip.js +2 -2
  98. package/dist/components/Wallet/Account/createIban.js +76 -85
  99. package/dist/components/Wallet/Account/iban.d.ts +5 -1
  100. package/dist/components/Wallet/Account/iban.js +223 -25
  101. package/dist/components/Wallet/Account/index.js +144 -149
  102. package/dist/components/Wallet/Account/sendIban.js +25 -27
  103. package/dist/components/Wallet/Buy/confirmTransaction.js +8 -8
  104. package/dist/components/Wallet/Buy/form.js +21 -20
  105. package/dist/components/Wallet/Buy/index.js +6 -6
  106. package/dist/components/Wallet/Deposit/index.js +25 -24
  107. package/dist/components/Wallet/EnterpriseKyc/edd.js +23 -22
  108. package/dist/components/Wallet/EnterpriseKyc/index.js +83 -80
  109. package/dist/components/Wallet/EnterpriseKyc/individualKyc.js +5 -5
  110. package/dist/components/Wallet/EnterpriseKyc/kybIntro.js +3 -3
  111. package/dist/components/Wallet/EnterpriseKyc/kybTerms.js +2 -2
  112. package/dist/components/Wallet/EnterpriseKyc/kycType.js +5 -5
  113. package/dist/components/Wallet/EnterpriseKyc/orgDetails.js +26 -25
  114. package/dist/components/Wallet/EnterpriseKyc/orgInfo.js +30 -28
  115. package/dist/components/Wallet/EnterpriseKyc/success.js +2 -2
  116. package/dist/components/Wallet/EnterpriseKyc/verify.js +8 -7
  117. package/dist/components/Wallet/History/index.js +111 -112
  118. package/dist/components/Wallet/Home/index.d.ts +5 -0
  119. package/dist/components/Wallet/Home/index.js +20 -0
  120. package/dist/components/Wallet/MoveToEthereumOrEverChain/index.js +18 -17
  121. package/dist/components/Wallet/Portfolio/dropdown.d.ts +14 -0
  122. package/dist/components/Wallet/Portfolio/dropdown.js +76 -0
  123. package/dist/components/Wallet/Portfolio/index.js +310 -301
  124. package/dist/components/Wallet/Portfolio/tokenRow.js +5 -7
  125. package/dist/components/Wallet/Profile/documents.js +18 -18
  126. package/dist/components/Wallet/Profile/index.js +152 -419
  127. package/dist/components/Wallet/Receive/index.js +10 -10
  128. package/dist/components/Wallet/Sell/confirmTransaction.js +8 -8
  129. package/dist/components/Wallet/Sell/form.js +19 -19
  130. package/dist/components/Wallet/Sell/index.js +6 -6
  131. package/dist/components/Wallet/Send/index.js +20 -19
  132. package/dist/components/Wallet/Shared/Auth/emailForm.js +14 -13
  133. package/dist/components/Wallet/Shared/Auth/otpForm.d.ts +1 -1
  134. package/dist/components/Wallet/Shared/Auth/otpForm.js +98 -88
  135. package/dist/components/Wallet/Shared/CardPayment/index.js +4 -4
  136. package/dist/components/Wallet/Shared/ConnectWallet/index.js +10 -12
  137. package/dist/components/Wallet/Shared/Container/index.d.ts +8 -4
  138. package/dist/components/Wallet/Shared/Container/index.js +63 -26
  139. package/dist/components/Wallet/Shared/Input/index.js +1 -1
  140. package/dist/components/Wallet/Shared/Keyboard/keyboard.js +3 -3
  141. package/dist/components/Wallet/Shared/Order/paymentButton.d.ts +2 -0
  142. package/dist/components/Wallet/Shared/Order/paymentButton.js +47 -0
  143. package/dist/components/Wallet/Shared/Order/types.d.ts +2 -0
  144. package/dist/components/Wallet/Shared/TokenModal/index.js +11 -11
  145. package/dist/components/Wallet/Shared/TokenModal/tokenGrid.js +13 -11
  146. package/dist/components/Wallet/Shared/addBank.js +44 -48
  147. package/dist/components/Wallet/Shared/appButton.d.ts +1 -1
  148. package/dist/components/Wallet/Shared/appButton.js +77 -57
  149. package/dist/components/Wallet/Shared/backBtn.js +2 -2
  150. package/dist/components/Wallet/Shared/button.js +1 -1
  151. package/dist/components/Wallet/Shared/connectPlaidBank.d.ts +5 -1
  152. package/dist/components/Wallet/Shared/connectPlaidBank.js +39 -38
  153. package/dist/components/Wallet/Shared/inputField.js +1 -1
  154. package/dist/components/Wallet/Shared/noData.js +7 -7
  155. package/dist/components/Wallet/Shared/pin.js +4 -4
  156. package/dist/components/Wallet/Shared/radioButton.js +3 -3
  157. package/dist/components/Wallet/Shared/step.js +2 -2
  158. package/dist/components/Wallet/SignIn/index.js +7 -7
  159. package/dist/components/Wallet/SignUp/index.js +185 -58
  160. package/dist/components/Wallet/SignUp/terms.d.ts +1 -6
  161. package/dist/components/Wallet/SignUp/terms.js +517 -564
  162. package/dist/components/Wallet/Stake/gems/index.js +11 -11
  163. package/dist/components/Wallet/Stake/id/index.js +12 -12
  164. package/dist/components/Wallet/Stake/index.js +30 -29
  165. package/dist/components/Wallet/Swap/index.js +112 -116
  166. package/dist/components/Wallet/SwapAndUniSwap/index.js +3 -3
  167. package/dist/components/Wallet/Withdraw/bankSelect.js +12 -12
  168. package/dist/components/Wallet/Withdraw/confirmTransaction.js +9 -9
  169. package/dist/components/Wallet/Withdraw/form.js +19 -18
  170. package/dist/components/Wallet/Withdraw/index.js +5 -5
  171. package/dist/{constants-CsMPRK0U.js → constants-BF50a6s-.js} +30 -30
  172. package/dist/context/dialogContext.d.ts +6 -0
  173. package/dist/context/dialogContext.js +13 -0
  174. package/dist/{createSvgIcon-CH41ZVFw.js → createSvgIcon-BgBEJXMh.js} +15 -14
  175. package/dist/cryptoAssets-Dck03SPI.js +16 -0
  176. package/dist/{dividerClasses-DnbM--4s.js → dividerClasses-BVK5cNr7.js} +1 -1
  177. package/dist/documents-Sh6RH769.js +549 -0
  178. package/dist/{fiatAssets-DVHfFafS.js → fiatAssets-CTIJw9N4.js} +1 -1
  179. package/dist/hooks/useDialog/index.js +35 -38
  180. package/dist/hooks/useRrDialog/index.js +4 -4
  181. package/dist/hooks/useSnackBar.js +12 -11
  182. package/dist/index-BRwse7X5.js +631 -0
  183. package/dist/{index-DxX5Mo0o.js → index-CWzs4-wZ.js} +18 -18
  184. package/dist/{index-DZ__IpVI.js → index-CbogTdwW.js} +25 -24
  185. package/dist/{index-C9uGghB8.js → index-CmJNKC9m.js} +26 -26
  186. package/dist/{index-VE9lYjq3.js → index-Db73x3ti.js} +178 -177
  187. package/dist/{index-eEYiDlpX.js → index-GxLtFwhs.js} +228 -230
  188. package/dist/{index-f15o1nhn.js → index-v4KC1K_V.js} +2 -2
  189. package/dist/isHostComponent-kiaBvYVo.js +6 -0
  190. package/dist/{kyc-BweeW6k9.js → kyc-kWxxF1vI.js} +1 -1
  191. package/dist/main.d.ts +7 -0
  192. package/dist/main.js +66 -59
  193. package/dist/memoTheme-BUUB1UEO.js +15 -0
  194. package/dist/{order-DmTHC7ZG.js → order-D-FBHreS.js} +1 -1
  195. package/dist/{pep-C5Ge-kU4.js → pep-C_LViPSb.js} +219 -218
  196. package/dist/{radioButton-Bgy7Kxxo.js → radioButton-CBcYX40o.js} +8 -7
  197. package/dist/{stake-B150utJI.js → stake-mS8fdG8g.js} +1 -1
  198. package/dist/styles.module-B-t8vvWh.js +31 -0
  199. package/dist/styles.module-verVx4pE.js +8 -0
  200. package/dist/tokenRow-DBnoUm0z.js +186 -0
  201. package/dist/{tooltip-DGtrVEzU.js → tooltip-Dv3Lfsa2.js} +5 -4
  202. package/dist/{useThemeProps-lRuJRcRX.js → useThemeProps-DLhzJP-y.js} +1 -1
  203. package/dist/util/constants.d.ts +9 -0
  204. package/dist/util/constants.js +93 -84
  205. package/dist/{wallet-DDW5KCHp.js → wallet-BTc5u8j2.js} +1 -1
  206. package/package.json +1 -1
  207. package/dist/ArrowDropDown-BC_iEASy.js +0 -8
  208. package/dist/ArrowRight-rYkfGJuF.js +0 -8
  209. package/dist/CheckCircle-CyxKX1TY.js +0 -8
  210. package/dist/DefaultPropsProvider-B2njZVNv.js +0 -242
  211. package/dist/Select-Chubcks_.js +0 -3108
  212. package/dist/assets/iban.css +0 -1
  213. package/dist/assets/index11.css +0 -1
  214. package/dist/cryptoAssets-CzNDY1j6.js +0 -16
  215. package/dist/documents-CEeV8SyW.js +0 -569
  216. package/dist/iban-DRT7i0vb.js +0 -275
  217. package/dist/index-BB3__zW3.js +0 -644
  218. package/dist/styles.module-BFHktEw2.js +0 -30
  219. package/dist/styles.module-DJk7Pf0F.js +0 -10
  220. package/dist/tokenRow-X6vlp1LH.js +0 -198
@@ -1,76 +1,77 @@
1
- import { jsxs as E, Fragment as J, jsx as t } from "react/jsx-runtime";
2
- import { useState as n, useEffect as z } from "react";
3
- import { AuthContainer as le } from "./components/Wallet/Shared/Container/index.js";
4
- import ce from "./components/Shared/Incode/index.js";
5
- import pe from "./hoc/withThemeProvider.js";
6
- import Q from "./components/Wallet/Shared/Input/index.js";
7
- import Y from "./components/Wallet/Shared/appButton.js";
8
- import { a as ee, u as X } from "./react-redux-C7I9-1M6.js";
1
+ import { jsxs as E, Fragment as ee, jsx as t } from "react/jsx-runtime";
2
+ import { useState as n, useEffect as K } from "react";
3
+ import { AuthContainer as ce } from "./components/Wallet/Shared/Container/index.js";
4
+ import pe from "./components/Shared/Incode/index.js";
5
+ import de from "./hoc/withThemeProvider.js";
6
+ import te from "./components/Wallet/Shared/Input/index.js";
7
+ import oe from "./components/Wallet/Shared/appButton.js";
8
+ import { a as ne, u as Y } from "./react-redux-C7I9-1M6.js";
9
9
  import "./components/Wallet/Shared/Auth/otpForm.js";
10
- import "./constants-CsMPRK0U.js";
11
- import { b as de, c as ue } from "./kyc-BweeW6k9.js";
12
- import { useSnackBarContext as te } from "./context/snackBarContext.js";
10
+ import "./constants-BF50a6s-.js";
11
+ import { b as me, c as ue } from "./kyc-kWxxF1vI.js";
12
+ import { useSnackBarContext as se } from "./context/snackBarContext.js";
13
13
  import "./util/conversions.js";
14
- import { useDialog as me } from "./hooks/useDialog/index.js";
15
14
  import "./index-CAoLi5Qq.js";
16
- import oe from "./components/Wallet/Shared/step.js";
15
+ import re from "./components/Wallet/Shared/step.js";
17
16
  import "./react-webcam-B3cXh1XT.js";
18
17
  import "./components/Shared/transition.js";
18
+ import { useDialog as he } from "./hooks/useDialog/index.js";
19
19
  import "./components/Wallet/Shared/pin.js";
20
20
  import "./moment-h96o7c8I.js";
21
- import "./tooltip-DGtrVEzU.js";
21
+ import "./tooltip-Dv3Lfsa2.js";
22
22
  import "./index.esm-BsMAMhYW.js";
23
- import { c as I } from "./countries-BVn1FubK.js";
23
+ import { c as U } from "./countries-BVn1FubK.js";
24
24
  import "./web3-u4qDZYpo.js";
25
25
  import "./index-B8QKlEgj.js";
26
26
  import "./index-ceeCtFuh.js";
27
- import { B as k } from "./Box-B12x52NC.js";
28
- import { T as q } from "./Typography-DBlMiOti.js";
29
- import { A as M, P as he } from "./pep-C5Ge-kU4.js";
30
- import { I as ge, T as U } from "./TextField-q_SeLeNd.js";
31
- import { F as fe } from "./FormControl-DeeQCuu5.js";
32
- import { S as ye } from "./Select-Chubcks_.js";
33
- import { M as K } from "./MenuItem-CeCt0bfa.js";
34
- import { G as W } from "./Grid-BXyV_lM8.js";
35
- const Ce = ({
27
+ import "./context/dialogContext.js";
28
+ import { B as T } from "./Box-BwKpr_VI.js";
29
+ import { T as W } from "./Typography-BQDN44CM.js";
30
+ import { A as j, P as ge } from "./pep-C_LViPSb.js";
31
+ import { I as fe, T as Z } from "./TextField-DmiK1A_S.js";
32
+ import { F as ye } from "./FormControl-H4D1Z6Ov.js";
33
+ import { S as Ce } from "./Select-CGei0bav.js";
34
+ import { M as H } from "./MenuItem-ByxiQtY2.js";
35
+ import { G as V } from "./Grid-CPkjiKqX.js";
36
+ const Ee = ({
36
37
  inputComponent: p,
37
- buttonComponent: w,
38
- setUserInfo: x,
38
+ buttonComponent: N,
39
+ setUserInfo: P,
39
40
  userInfo: l,
40
41
  docData: i,
41
42
  setScreen: d,
42
43
  userEmail: g
43
44
  }) => {
44
- const N = ee(), { openDialog: f, ConfirmDialog: R } = me(), { showAlertMessage: r } = te(), c = p ?? Q, y = w ?? Y, [m, h] = n(l.gender || ""), [_, S] = n(!1), [C, u] = n(l.email || ""), [b, e] = n(!1), [o, G] = n(""), [P, A] = n(l.address || ""), [s, F] = n(l.city || ""), [O, T] = n(l.state || ""), [D, L] = n(l.zipCode || ""), [B, se] = n(!1);
45
- z(() => {
46
- g && (u(g), e(!0));
47
- }, [g]), z(() => {
48
- var a;
45
+ const R = ne(), { openDialog: f, ConfirmDialog: _ } = he(), { showAlertMessage: a } = se(), c = p ?? te, y = N ?? oe, [u, h] = n(l.gender || ""), [A, S] = n(!1), [C, m] = n(l.email || ""), [b, e] = n(!1), [o, q] = n(""), [O, F] = n(l.address || ""), [s, L] = n(l.city || ""), [D, B] = n(l.state || ""), [x, k] = n(l.zipCode || ""), [v, I] = n(!1);
46
+ K(() => {
47
+ g && (m(g), e(!0));
48
+ }, [g]), K(() => {
49
+ var r;
49
50
  if (i != null && i.issuingCountry) {
50
51
  i.gender && (h(i.gender), S(!0));
51
- const V = I.find(
52
- (v) => v.alpha3 === i.issuingCountry
52
+ const G = U.find(
53
+ (w) => w.alpha3 === i.issuingCountry
53
54
  );
54
- x({ ...l, country: V, nationality: V });
55
- const $ = new Date(i.birthDate), ae = $.getTimezoneOffset() * 6e4, ie = new Date(
56
- $.getTime() + ae
55
+ P({ ...l, country: G, nationality: G });
56
+ const M = new Date(i.birthDate), ie = M.getTimezoneOffset() * 6e4, le = new Date(
57
+ M.getTime() + ie
57
58
  );
58
- if (G(ie.toLocaleDateString("en-US")), (a = i.checkedAddressBean) != null && a.street) {
59
- const v = i.checkedAddressBean;
60
- se(!0), A(v.street), F(v.city), T(v.state), L(v.postalCode);
59
+ if (q(le.toLocaleDateString("en-US")), (r = i.checkedAddressBean) != null && r.street) {
60
+ const w = i.checkedAddressBean;
61
+ I(!0), F(w.street), L(w.city), B(w.state), k(w.postalCode);
61
62
  }
62
63
  } else
63
- re();
64
+ z();
64
65
  }, []);
65
- const re = () => {
66
- N(de());
66
+ const z = () => {
67
+ R(me());
67
68
  };
68
- return /* @__PURE__ */ E(J, { children: [
69
- /* @__PURE__ */ t(k, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(oe, { totalSteps: 4, currentStep: 2 }) }),
70
- /* @__PURE__ */ t(R, {}),
71
- /* @__PURE__ */ E(k, { pl: 2, mt: 4, children: [
72
- /* @__PURE__ */ t(q, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "Personal details" }),
73
- /* @__PURE__ */ t(q, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
69
+ return /* @__PURE__ */ E(ee, { children: [
70
+ /* @__PURE__ */ t(T, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(re, { totalSteps: 4, currentStep: 2 }) }),
71
+ /* @__PURE__ */ t(_, {}),
72
+ /* @__PURE__ */ E(T, { pl: 2, mt: 4, children: [
73
+ /* @__PURE__ */ t(W, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "Personal details" }),
74
+ /* @__PURE__ */ t(W, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
74
75
  /* @__PURE__ */ t(
75
76
  c,
76
77
  {
@@ -80,19 +81,19 @@ const Ce = ({
80
81
  disabled: !0
81
82
  }
82
83
  ),
83
- /* @__PURE__ */ E(fe, { sx: { mt: 3 }, fullWidth: !0, children: [
84
- /* @__PURE__ */ t(ge, { children: "Gender" }),
84
+ /* @__PURE__ */ E(ye, { sx: { mt: 3 }, fullWidth: !0, children: [
85
+ /* @__PURE__ */ t(fe, { children: "Gender" }),
85
86
  /* @__PURE__ */ E(
86
- ye,
87
+ Ce,
87
88
  {
88
- value: m,
89
+ value: u,
89
90
  label: "Gender",
90
- onChange: (a) => h(a.target.value),
91
- disabled: !!(_ && m),
91
+ onChange: (r) => h(r.target.value),
92
+ disabled: !!(A && u),
92
93
  children: [
93
- /* @__PURE__ */ t(K, { value: "M", children: "Male" }, "M"),
94
- /* @__PURE__ */ t(K, { value: "F", children: "Female" }, "F"),
95
- /* @__PURE__ */ t(K, { value: "X", children: "Another" }, "X")
94
+ /* @__PURE__ */ t(H, { value: "M", children: "Male" }, "M"),
95
+ /* @__PURE__ */ t(H, { value: "F", children: "Female" }, "F"),
96
+ /* @__PURE__ */ t(H, { value: "X", children: "Another" }, "X")
96
97
  ]
97
98
  }
98
99
  )
@@ -103,7 +104,7 @@ const Ce = ({
103
104
  sx: { mt: 3 },
104
105
  label: "Email",
105
106
  value: C,
106
- onChange: (a) => u(a.target.value),
107
+ onChange: (r) => m(r.target.value),
107
108
  disabled: b
108
109
  }
109
110
  ),
@@ -112,27 +113,27 @@ const Ce = ({
112
113
  {
113
114
  sx: { mt: 3 },
114
115
  label: "Home Address",
115
- value: P,
116
- onChange: (a) => A(a.target.value),
117
- disabled: !!(B && P)
116
+ value: O,
117
+ onChange: (r) => F(r.target.value),
118
+ disabled: !!(v && O)
118
119
  }
119
120
  ),
120
- /* @__PURE__ */ E(W, { container: !0, spacing: 2, sx: { mt: 3 }, children: [
121
- /* @__PURE__ */ t(W, { size: 6, children: /* @__PURE__ */ t(
121
+ /* @__PURE__ */ E(V, { container: !0, spacing: 2, sx: { mt: 3 }, children: [
122
+ /* @__PURE__ */ t(V, { size: 6, children: /* @__PURE__ */ t(
122
123
  c,
123
124
  {
124
125
  label: "City",
125
126
  value: s,
126
- onChange: (a) => F(a.target.value),
127
- disabled: !!(B && s)
127
+ onChange: (r) => L(r.target.value),
128
+ disabled: !!(v && s)
128
129
  }
129
130
  ) }),
130
- /* @__PURE__ */ t(W, { size: 6, children: /* @__PURE__ */ t(
131
+ /* @__PURE__ */ t(V, { size: 6, children: /* @__PURE__ */ t(
131
132
  c,
132
133
  {
133
134
  label: "State",
134
- value: O,
135
- onChange: (a) => T(a.target.value)
135
+ value: D,
136
+ onChange: (r) => B(r.target.value)
136
137
  }
137
138
  ) })
138
139
  ] }),
@@ -141,9 +142,9 @@ const Ce = ({
141
142
  {
142
143
  sx: { mt: 3 },
143
144
  label: "Zipcode",
144
- value: D,
145
- onChange: (a) => L(a.target.value),
146
- disabled: !!(B && D)
145
+ value: x,
146
+ onChange: (r) => k(r.target.value),
147
+ disabled: !!(v && x)
147
148
  }
148
149
  )
149
150
  ] }),
@@ -154,41 +155,41 @@ const Ce = ({
154
155
  variant: "contained",
155
156
  onClick: () => {
156
157
  if (!o)
157
- return r({ message: "Please provide date of birth" });
158
- if (!m) return r({ message: "Please provide gender" });
159
- if (!P)
160
- return r({ message: "Please provide address" });
161
- if (!s) return r({ message: "Please provide city" });
162
- if (!O) return r({ message: "Please provide state" });
163
- if (!D)
164
- return r({ message: "Please provide zip code" });
165
- x({ ...l, gender: m, email: C, address: P, city: s, state: O, zipCode: D }), d(H);
158
+ return a({ message: "Please provide date of birth" });
159
+ if (!u) return a({ message: "Please provide gender" });
160
+ if (!O)
161
+ return a({ message: "Please provide address" });
162
+ if (!s) return a({ message: "Please provide city" });
163
+ if (!D) return a({ message: "Please provide state" });
164
+ if (!x)
165
+ return a({ message: "Please provide zip code" });
166
+ P({ ...l, gender: u, email: C, address: O, city: s, state: D, zipCode: x }), d(J);
166
167
  },
167
- disabled: !C || !P || !m,
168
+ disabled: !C || !O || !u,
168
169
  fullWidth: !0,
169
170
  children: /* @__PURE__ */ t("strong", { children: "Next" })
170
171
  }
171
172
  )
172
173
  ] });
173
- }, Ee = ({
174
+ }, Se = ({
174
175
  userInfo: p,
175
- setUserInfo: w,
176
- setScreen: x,
176
+ setUserInfo: N,
177
+ setScreen: P,
177
178
  inputComponent: l,
178
179
  buttonComponent: i
179
180
  }) => {
180
- const { showAlertMessage: d } = te(), g = l ?? Q, N = i ?? Y, [f, R] = n(
181
+ const { showAlertMessage: d } = se(), g = l ?? te, R = i ?? oe, [f, _] = n(
181
182
  p.placeOfBirth || null
182
- ), [r, c] = n(
183
+ ), [a, c] = n(
183
184
  p.country || null
184
- ), [y, m] = n(
185
+ ), [y, u] = n(
185
186
  p.nationality || null
186
- ), [h, _] = n(p.occupation || ""), [S, C] = n(p.employer || ""), u = () => {
187
+ ), [h, A] = n(p.occupation || ""), [S, C] = n(p.employer || ""), m = () => {
187
188
  if (!f) {
188
189
  d({ message: "Please select place of birth" });
189
190
  return;
190
191
  }
191
- if (!r) {
192
+ if (!a) {
192
193
  d({ message: "Please select country of residency" });
193
194
  return;
194
195
  }
@@ -200,15 +201,15 @@ const Ce = ({
200
201
  d({ message: "Please provide city" });
201
202
  return;
202
203
  }
203
- w({
204
+ N({
204
205
  ...p,
205
206
  placeOfBirth: f,
206
- country: r,
207
+ country: a,
207
208
  nationality: y,
208
209
  occupation: h,
209
210
  employer: S
210
- }), x(ne);
211
- }, b = (e, o) => /* @__PURE__ */ E(k, { component: "li", sx: { "& > img": { mr: 2, flexShrink: 0 } }, ...e, children: [
211
+ }), P(ae);
212
+ }, b = (e, o) => /* @__PURE__ */ E(T, { component: "li", sx: { "& > img": { mr: 2, flexShrink: 0 } }, ...e, children: [
212
213
  /* @__PURE__ */ t(
213
214
  "img",
214
215
  {
@@ -224,25 +225,25 @@ const Ce = ({
224
225
  o.alpha3,
225
226
  ")"
226
227
  ] });
227
- return /* @__PURE__ */ E(J, { children: [
228
- /* @__PURE__ */ t(k, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(oe, { totalSteps: 4, currentStep: 3 }) }),
229
- /* @__PURE__ */ E(k, { pl: 2, mt: 4, children: [
230
- /* @__PURE__ */ t(q, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "More Personal details" }),
231
- /* @__PURE__ */ t(q, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
228
+ return /* @__PURE__ */ E(ee, { children: [
229
+ /* @__PURE__ */ t(T, { display: "flex", justifyContent: "center", children: /* @__PURE__ */ t(re, { totalSteps: 4, currentStep: 3 }) }),
230
+ /* @__PURE__ */ E(T, { pl: 2, mt: 4, children: [
231
+ /* @__PURE__ */ t(W, { variant: "h5", sx: { fontWeight: "bold" }, color: "primary", children: "More Personal details" }),
232
+ /* @__PURE__ */ t(W, { variant: "caption", children: "Good news! Some of the information will be populated from scanning your document earlier." }),
232
233
  /* @__PURE__ */ t(
233
- M,
234
+ j,
234
235
  {
235
236
  sx: { mt: 2 },
236
237
  value: f,
237
- onChange: (e, o) => R(o),
238
- options: I,
238
+ onChange: (e, o) => _(o),
239
+ options: U,
239
240
  isOptionEqualToValue: (e, o) => e.alpha3 === (o == null ? void 0 : o.alpha3),
240
241
  getOptionLabel: (e) => e.name,
241
242
  autoHighlight: !0,
242
243
  openOnFocus: !0,
243
244
  renderOption: b,
244
245
  renderInput: (e) => /* @__PURE__ */ t(
245
- U,
246
+ Z,
246
247
  {
247
248
  ...e,
248
249
  label: "Place Of Birth",
@@ -255,19 +256,19 @@ const Ce = ({
255
256
  }
256
257
  ),
257
258
  /* @__PURE__ */ t(
258
- M,
259
+ j,
259
260
  {
260
261
  sx: { mt: 2 },
261
- value: r,
262
+ value: a,
262
263
  onChange: (e, o) => c(o),
263
- options: I,
264
+ options: U,
264
265
  isOptionEqualToValue: (e, o) => e.alpha3 === (o == null ? void 0 : o.alpha3),
265
266
  getOptionLabel: (e) => e.name,
266
267
  autoHighlight: !0,
267
268
  openOnFocus: !0,
268
269
  renderOption: b,
269
270
  renderInput: (e) => /* @__PURE__ */ t(
270
- U,
271
+ Z,
271
272
  {
272
273
  ...e,
273
274
  label: "Country of residence",
@@ -280,19 +281,19 @@ const Ce = ({
280
281
  }
281
282
  ),
282
283
  /* @__PURE__ */ t(
283
- M,
284
+ j,
284
285
  {
285
286
  sx: { mt: 2 },
286
287
  value: y,
287
- onChange: (e, o) => m(o),
288
- options: I,
288
+ onChange: (e, o) => u(o),
289
+ options: U,
289
290
  isOptionEqualToValue: (e, o) => e.alpha3 === (o == null ? void 0 : o.alpha3),
290
291
  getOptionLabel: (e) => e.name,
291
292
  autoHighlight: !0,
292
293
  openOnFocus: !0,
293
294
  renderOption: b,
294
295
  renderInput: (e) => /* @__PURE__ */ t(
295
- U,
296
+ Z,
296
297
  {
297
298
  ...e,
298
299
  label: "Country of citizenship",
@@ -310,7 +311,7 @@ const Ce = ({
310
311
  sx: { mt: 3 },
311
312
  label: "Occupation",
312
313
  value: h,
313
- onChange: (e) => _(e.target.value)
314
+ onChange: (e) => A(e.target.value)
314
315
  }
315
316
  ),
316
317
  /* @__PURE__ */ t(
@@ -324,44 +325,44 @@ const Ce = ({
324
325
  )
325
326
  ] }),
326
327
  /* @__PURE__ */ t(
327
- N,
328
+ R,
328
329
  {
329
330
  sx: { mt: 3 },
330
331
  variant: "contained",
331
- onClick: u,
332
- disabled: !f || !r || !y || !h || !S,
332
+ onClick: m,
333
+ disabled: !f || !a || !y || !h || !S,
333
334
  fullWidth: !0,
334
335
  children: /* @__PURE__ */ t("strong", { children: "Next" })
335
336
  }
336
337
  )
337
338
  ] });
338
- }, j = "INCODE_SCREEN", Z = "USER_INFO_SCREEN", H = "PERSONAL_DETAILS_SCREEN", ne = "PEP_SCREEN", Se = ({
339
+ }, $ = "INCODE_SCREEN", X = "USER_INFO_SCREEN", J = "PERSONAL_DETAILS_SCREEN", ae = "PEP_SCREEN", be = ({
339
340
  configurationId: p,
340
- incodeApiKey: w,
341
- incodeApiUrl: x,
341
+ incodeApiKey: N,
342
+ incodeApiUrl: P,
342
343
  incodeOnBoardingUrl: l,
343
344
  withContainer: i = !1,
344
345
  successHandler: d,
345
346
  updateScreen: g
346
347
  }) => {
347
- const N = ee(), f = X((s) => s.user), R = X((s) => s.session.uuid), r = f.kyc, c = r.processComplete, y = {}, [m, h] = n(y), [_, S] = n({ token: "" }), [C, u] = n(j);
348
- z(() => {
348
+ const R = ne(), f = Y((s) => s.user), _ = Y((s) => s.session.uuid), a = f.kyc, c = a.processComplete, y = {}, [u, h] = n(y), [A, S] = n({ token: "" }), [C, m] = n($);
349
+ K(() => {
349
350
  let s;
350
351
  switch (C) {
351
- case Z:
352
- s = j;
352
+ case X:
353
+ s = $;
353
354
  break;
354
- case H:
355
- s = Z;
355
+ case J:
356
+ s = X;
356
357
  break;
357
- case ne:
358
- s = H;
358
+ case ae:
359
+ s = J;
359
360
  break;
360
361
  default:
361
- s = j;
362
+ s = $;
362
363
  }
363
- u(s);
364
- }, [g]), z(() => {
364
+ m(s);
365
+ }, [g]), K(() => {
365
366
  d && c && d();
366
367
  }, [d, c]);
367
368
  const b = {
@@ -382,96 +383,96 @@ const Ce = ({
382
383
  frequency: "",
383
384
  reason: "",
384
385
  source: ""
385
- }, [e, o] = n(b), G = () => {
386
- var s, F, O;
387
- if (!r.loader) {
388
- const T = {
386
+ }, [e, o] = n(b), q = (s, L, D, B, x, k) => {
387
+ var v, I, z;
388
+ if (!a.loader) {
389
+ const Q = {
389
390
  street: e.address,
390
391
  city: e.city,
391
392
  postcode: e.zipCode,
392
393
  state: e.state,
393
- country: (s = e.country) == null ? void 0 : s.alpha3
394
- }, D = {
395
- isExposed: e.isPoliticalExpose,
396
- exposed: e.politicalExpose,
397
- frequency: e.frequency,
398
- reason: e.reason,
399
- source: e.source,
400
- originFunds: e.origin
401
- }, L = {
402
- frequency: e.frequency,
403
- reason: e.reason,
404
- source: e.source,
405
- originFunds: e.origin
406
- }, B = {
394
+ country: (v = e.country) == null ? void 0 : v.alpha3
395
+ }, r = {
396
+ isExposed: s,
397
+ exposed: L,
398
+ frequency: D,
399
+ reason: B,
400
+ source: x,
401
+ originFunds: k
402
+ }, G = {
403
+ frequency: D,
404
+ reason: B,
405
+ source: x,
406
+ originFunds: k
407
+ }, M = {
407
408
  email: e.email,
408
409
  gender: e.gender,
409
- birthPlace: (F = e.placeOfBirth) == null ? void 0 : F.alpha3,
410
- nationality: (O = e.nationality) == null ? void 0 : O.alpha3,
410
+ birthPlace: (I = e.placeOfBirth) == null ? void 0 : I.alpha3,
411
+ nationality: (z = e.nationality) == null ? void 0 : z.alpha3,
411
412
  occupation: e.occupation,
412
413
  employer: e.employer,
413
- residentialAddress: T,
414
- politicalExposure: D,
415
- customerDueDiligence: L,
414
+ residentialAddress: Q,
415
+ politicalExposure: r,
416
+ customerDueDiligence: G,
416
417
  workflow: {
417
- token: _.token
418
+ token: A.token
418
419
  }
419
420
  };
420
- N(ue(B));
421
+ R(ue(M));
421
422
  }
422
- }, A = {
423
+ }, F = {
423
424
  INCODE_SCREEN: /* @__PURE__ */ t(
424
- ce,
425
+ pe,
425
426
  {
426
- uuid: R,
427
+ uuid: _,
427
428
  successHandler: () => {
428
- u(Z);
429
+ m(X);
429
430
  },
430
431
  configurationId: p,
431
- apiKey: w,
432
- apiUrl: x,
432
+ apiKey: N,
433
+ apiUrl: P,
433
434
  onBoardingUrl: l,
434
435
  setDocumentsData: h,
435
436
  setIncodeSessionData: S
436
437
  }
437
438
  ),
438
439
  USER_INFO_SCREEN: /* @__PURE__ */ t(
439
- Ce,
440
+ Ee,
440
441
  {
441
- docData: m,
442
- setScreen: u,
442
+ docData: u,
443
+ setScreen: m,
443
444
  setUserInfo: o,
444
445
  userInfo: e,
445
446
  userEmail: f.profile.email
446
447
  }
447
448
  ),
448
449
  PERSONAL_DETAILS_SCREEN: /* @__PURE__ */ t(
449
- Ee,
450
+ Se,
450
451
  {
451
- setScreen: u,
452
+ setScreen: m,
452
453
  setUserInfo: o,
453
454
  userInfo: e
454
455
  }
455
456
  ),
456
457
  PEP_SCREEN: /* @__PURE__ */ t(
457
- he,
458
+ ge,
458
459
  {
459
- setScreen: u,
460
+ setScreen: m,
460
461
  setUserInfo: o,
461
462
  userInfo: e,
462
- processKyc: G,
463
- processLoader: r.loader
463
+ processKyc: q,
464
+ processLoader: a.loader
464
465
  }
465
466
  )
466
467
  }[C];
467
- return i ? /* @__PURE__ */ t(le, { addPadding: !1, children: A }) : A;
468
- }, ot = pe(Se);
468
+ return i ? /* @__PURE__ */ t(ce, { addPadding: !1, children: F }) : F;
469
+ }, nt = de(be);
469
470
  export {
470
- ot as F,
471
- j as I,
472
- Ee as P,
473
- Ce as U,
474
- Z as a,
475
- H as b,
476
- ne as c
471
+ nt as F,
472
+ $ as I,
473
+ Se as P,
474
+ Ee as U,
475
+ X as a,
476
+ J as b,
477
+ ae as c
477
478
  };