@everymatrix/player-account-controller 1.60.0 → 1.60.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{GeneralLogout-CrdxxT-0.js → GeneralLogout-C38FmUFl.js} +627 -649
- package/components/GeneralLogout-CneHnHyh.cjs +21 -0
- package/components/{GeneralLogout-Cs6a0Woe.js → GeneralLogout-D-G0wJfI.js} +730 -752
- package/components/{PlayerAccountBettingHistory-HLjCXypd.js → PlayerAccountBettingHistory-At0LtRRx.js} +127 -126
- package/components/PlayerAccountBettingHistory-C7ncnu-s.js +328 -0
- package/components/PlayerAccountBettingHistory-ClvAJn7G.cjs +1 -0
- package/components/{PlayerAccountBiometrics-CIo8pkfn.js → PlayerAccountBiometrics-CY06pWs8.js} +22 -22
- package/components/{PlayerAccountBiometrics-DvJlyQ8z.cjs → PlayerAccountBiometrics-CqDrX8sl.cjs} +1 -1
- package/components/{PlayerAccountBiometrics-DpVTOI5S.js → PlayerAccountBiometrics-DKhi-g1X.js} +22 -22
- package/components/{PlayerAccountClosure-DUnNJuF0.js → PlayerAccountClosure-D5r1hdkX.js} +32 -32
- package/components/{PlayerAccountClosure-DJx7NuYi.js → PlayerAccountClosure-D9uP7QYP.js} +32 -32
- package/components/{PlayerAccountClosure-Bgcd5aWK.cjs → PlayerAccountClosure-PhH0M42z.cjs} +1 -1
- package/components/{PlayerAccountController-BHULNGiG.js → PlayerAccountController-1pHrtkdF.js} +301 -301
- package/components/{PlayerAccountController-oC2_eSvR.js → PlayerAccountController-BgblJNy4.js} +301 -301
- package/components/PlayerAccountController-BhhrsiNx.cjs +1 -0
- package/components/{PlayerAccountGamingLimits-UmFJS4yG.cjs → PlayerAccountGamingLimits-BnzPj9tx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-t-Kt6fD1.js → PlayerAccountGamingLimits-C0_hRUCj.js} +81 -81
- package/components/{PlayerAccountGamingLimits-DiTQMKO-.js → PlayerAccountGamingLimits-D3pKs0ht.js} +81 -81
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BOqmU6ao.js → PlayerAccountGamingLimitsConfirmationModal-BazG22ih.js} +30 -30
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BTGWvZ_H.cjs → PlayerAccountGamingLimitsConfirmationModal-Cg2EZjXZ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CJS6pzAL.js → PlayerAccountGamingLimitsConfirmationModal-xjZZUbpF.js} +30 -30
- package/components/{PlayerAccountGamingLimitsGroupEdit-DQ4LAIh3.js → PlayerAccountGamingLimitsGroupEdit-CnW3YzfS.js} +54 -54
- package/components/{PlayerAccountGamingLimitsGroupEdit-DWXrW8rz.cjs → PlayerAccountGamingLimitsGroupEdit-DGnRlAUZ.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cohx9d0h.js → PlayerAccountGamingLimitsGroupEdit-DeUVEnCP.js} +54 -54
- package/components/{PlayerAccountGamingLimitsHistory2-1CxT-5pd.cjs → PlayerAccountGamingLimitsHistory2-CsxTesLB.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-DuWgdsnY.js → PlayerAccountGamingLimitsHistory2-D7J0FgHo.js} +48 -48
- package/components/{PlayerAccountGamingLimitsHistory2-CZWoK_f5.js → PlayerAccountGamingLimitsHistory2-TkOqxfj1.js} +46 -46
- package/components/{PlayerAccountGamingLimitsInfoCard-AOCz2477.js → PlayerAccountGamingLimitsInfoCard-BRpxiqVR.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-wb1MgSRM.js → PlayerAccountGamingLimitsInfoCard-D1qSvNxW.js} +83 -83
- package/components/{PlayerAccountGamingLimitsInfoCard-7dQquqQ4.cjs → PlayerAccountGamingLimitsInfoCard-jhpuGIrw.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DQhfQZf3.cjs → PlayerAccountGamingLimitsPage2Gm16-BjlDW58o.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-yGmurNY8.js → PlayerAccountGamingLimitsPage2Gm16-DeJCm4u2.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DqVb6gUu.js → PlayerAccountGamingLimitsPage2Gm16-r8hmIPcw.js} +9 -9
- package/components/{PlayerAccountGamingLimitsPopup-Byk1Oi5A.js → PlayerAccountGamingLimitsPopup-Bst4PQwl.js} +42 -42
- package/components/{PlayerAccountGamingLimitsPopup-Bq6g8_Ex.cjs → PlayerAccountGamingLimitsPopup-Cvl_mdrl.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Cou16qpk.js → PlayerAccountGamingLimitsPopup-D3DnB3bN.js} +42 -42
- package/components/{PlayerAccountGamingLimitsWrapper2-BMjMekAI.js → PlayerAccountGamingLimitsWrapper2-BcKG_TxP.js} +55 -55
- package/components/{PlayerAccountGamingLimitsWrapper2-BTn_7__K.cjs → PlayerAccountGamingLimitsWrapper2-C8_zv-Gl.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BEDe0nx6.js → PlayerAccountGamingLimitsWrapper2-CrOkdCAL.js} +20 -20
- package/components/{PlayerAccountGeneralConfirmationModal-kdUl-EBq.js → PlayerAccountGeneralConfirmationModal-BbAXu7LA.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-DTd4PiMe.js → PlayerAccountGeneralConfirmationModal-CNr7wBeh.js} +34 -34
- package/components/{PlayerAccountGeneralConfirmationModal-DoognqGf.cjs → PlayerAccountGeneralConfirmationModal-DNkcN7ty.cjs} +1 -1
- package/components/{PlayerAccountMenu-DNaPK2TZ.js → PlayerAccountMenu-0dwfNXzd.js} +29 -29
- package/components/{PlayerAccountMenu-C5GtMCo6.cjs → PlayerAccountMenu-Bra1jlKa.cjs} +1 -1
- package/components/{PlayerAccountMenu-CqVrDqg2.js → PlayerAccountMenu-CIexYUdx.js} +32 -32
- package/components/{PlayerAccountModal-Cgwoz0_A.js → PlayerAccountModal-DcuNgIsg.js} +42 -42
- package/components/{PlayerAccountModal-zI2QLAL1.cjs → PlayerAccountModal-Dmgt5WVr.cjs} +1 -1
- package/components/{PlayerAccountModal-ZSZxImk8.js → PlayerAccountModal-IFpCl0Uz.js} +42 -42
- package/components/{PlayerAccountNotifications-B1K_Z2TT.js → PlayerAccountNotifications-BJWMhwFJ.js} +31 -31
- package/components/{PlayerAccountNotifications-B-wkpb9J.cjs → PlayerAccountNotifications-BgE2Nu5e.cjs} +1 -1
- package/components/{PlayerAccountNotifications-Cf28JRBn.js → PlayerAccountNotifications-C69KyNWq.js} +32 -32
- package/components/{PlayerAccountSelfExclusion-DSxM_f45.js → PlayerAccountSelfExclusion-BK4Qt06B.js} +781 -786
- package/components/{PlayerAccountSelfExclusion-DxRAfTZT.js → PlayerAccountSelfExclusion-C3aFEBGZ.js} +1684 -1689
- package/components/{PlayerAccountSelfExclusion-DlekYIJO.cjs → PlayerAccountSelfExclusion-EEwqevwK.cjs} +153 -153
- package/components/{PlayerAccountTimeout-BVATVPRq.js → PlayerAccountTimeout-C5AtNWo7.js} +58 -58
- package/components/{PlayerAccountTimeout-Bb58NRXY.js → PlayerAccountTimeout-Dt4WJonL.js} +58 -58
- package/components/{PlayerAccountTimeout-BBpwfboX.cjs → PlayerAccountTimeout-gK_YDrBY.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CBqsWQfE.cjs → PlayerActiveBonuses-B3sDjZPu.cjs} +1 -1
- package/components/{PlayerActiveBonuses-DXMMRNp0.js → PlayerActiveBonuses-BVXu2xEB.js} +73 -73
- package/components/{PlayerActiveBonuses-Dt0N6Bn0.js → PlayerActiveBonuses-CLoyGNwd.js} +74 -74
- package/components/{PlayerBonusCard-CJXjuXsU.cjs → PlayerBonusCard-4A6XzJO6.cjs} +1 -1
- package/components/{PlayerBonusCard-CH-ncifJ.js → PlayerBonusCard-B6SaZ0cC.js} +54 -54
- package/components/{PlayerBonusCard-Di1Znpi1.js → PlayerBonusCard-DMwbLjEW.js} +54 -54
- package/components/{PlayerBonusHistory-Dt0nm--k.cjs → PlayerBonusHistory-BmOgSTUS.cjs} +1 -1
- package/components/{PlayerBonusHistory-CHDc8kFG.js → PlayerBonusHistory-D3v1Hfnf.js} +33 -33
- package/components/{PlayerBonusHistory-CG4iedyf.js → PlayerBonusHistory-DLUJJGqO.js} +33 -33
- package/components/{PlayerChangePassword-DMiyyEYC.js → PlayerChangePassword-DIJxZkuX.js} +71 -71
- package/components/{PlayerChangePassword-awaQVsiP.cjs → PlayerChangePassword-DkVY0JFR.cjs} +1 -1
- package/components/{PlayerChangePassword-Cy_iUEwl.js → PlayerChangePassword-sZQBKHjd.js} +71 -71
- package/components/{PlayerDeposit-BUbpr-x6.js → PlayerDeposit-C8yaYj_O.js} +75 -75
- package/components/{PlayerDeposit-BFpoULil.js → PlayerDeposit-DJdl_B5Q.js} +75 -75
- package/components/PlayerDeposit-DgZ1K6jf.cjs +1 -0
- package/components/{PlayerGamingHistory-RqKyBLJf.js → PlayerGamingHistory-BYvXvoys.js} +84 -84
- package/components/{PlayerGamingHistory-Cy9FMn9D.js → PlayerGamingHistory-C5cNuG6o.js} +74 -74
- package/components/{PlayerGamingHistory-Bw_u3E09.cjs → PlayerGamingHistory-CNBltDve.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-Dc91b0Cm.js → PlayerPendingWithdrawals-D9Yxc7FK.js} +26 -26
- package/components/{PlayerPendingWithdrawals-ttbTlX0c.js → PlayerPendingWithdrawals-DtwQGdZm.js} +26 -26
- package/components/{PlayerPendingWithdrawals-aaHugNLD.cjs → PlayerPendingWithdrawals-H49FURps.cjs} +1 -1
- package/components/{PlayerProfileInfo-tYfJSyL9.cjs → PlayerProfileInfo-4pEf39os.cjs} +1 -1
- package/components/{PlayerProfileInfo-DXGC3Nhp.js → PlayerProfileInfo-CpFhQZ8r.js} +60 -60
- package/components/{PlayerProfileInfo-yGYztqLK.js → PlayerProfileInfo-DKjkFgUz.js} +60 -60
- package/components/{PlayerRealityCheck-C9j8cYwx.js → PlayerRealityCheck-CEu6HPSc.js} +33 -33
- package/components/{PlayerRealityCheck-D7YLuHGQ.js → PlayerRealityCheck-CYMfPzuq.js} +33 -33
- package/components/{PlayerRealityCheck-BobhhM62.cjs → PlayerRealityCheck-DiJJz_Fj.cjs} +1 -1
- package/components/{PlayerTransactionHistory-Dff51WQG.cjs → PlayerTransactionHistory-Bb8js_3p.cjs} +1 -1
- package/components/{PlayerTransactionHistory-BHDwTuEi.js → PlayerTransactionHistory-CSHYcAs1.js} +24 -24
- package/components/{PlayerTransactionHistory-fsxifDQz.js → PlayerTransactionHistory-D31yO5X5.js} +24 -24
- package/components/{PlayerWithdrawal-4QbyF-GU.js → PlayerWithdrawal-BcoiHu5m.js} +19 -19
- package/components/{PlayerWithdrawal-D6ic1PCk.js → PlayerWithdrawal-Byr8jun8.js} +19 -19
- package/components/{PlayerWithdrawal-DdPBGufW.cjs → PlayerWithdrawal-xHn3kl2k.cjs} +1 -1
- package/es2015/player-account-controller.cjs +1 -1
- package/es2015/player-account-controller.js +1 -1
- package/esnext/player-account-controller.js +1 -1
- package/package.json +1 -1
- package/stencil/{checkbox-group-input_9-OVj7AW5S.js → checkbox-group-input_9-Cge1uYJD.js} +11 -13
- package/stencil/checkbox-group-input_9-DDKGgkML.cjs +2 -0
- package/stencil/{checkbox-group-input_9-C7zEH4Cn.js → checkbox-group-input_9-DEGGgpku.js} +11 -13
- package/stencil/{general-input-BlFYbInU.cjs → general-input-CbzyUMpM.cjs} +199 -199
- package/stencil/{general-input-C7B1PVb4.js → general-input-D6ZzAION.js} +1243 -1249
- package/stencil/{general-input-DoSeJn3k.js → general-input-DGX9cnfM.js} +1241 -1247
- package/stencil/index-1ef3a64c-C4-h3nXC.js +572 -0
- package/stencil/index-1ef3a64c-Cb8qLHe4.js +556 -0
- package/stencil/index-1ef3a64c-CzlpRJE7.cjs +1 -0
- package/stencil/index-7c5e707a-40SRy2Ab.js +616 -0
- package/stencil/index-7c5e707a-B9tD4t-g.js +643 -0
- package/stencil/index-7c5e707a-DosLPDO6.cjs +1 -0
- package/stencil/{index-9c0f6c58-CqoLeK5G.js → index-9c0f6c58-D5txcAjr.js} +197 -197
- package/stencil/index-9c0f6c58-DeCWAW-B.cjs +1 -0
- package/stencil/index-9c0f6c58-DeLVbTUg.js +576 -0
- package/stencil/index-9cd44522-BZa-k0xO.cjs +1 -0
- package/stencil/index-9cd44522-DNHOiqex.js +626 -0
- package/stencil/index-9cd44522-bcseM6Tc.js +610 -0
- package/stencil/index-b2193545-C2qi7zn0.js +519 -0
- package/stencil/index-b2193545-DRVj_AmB.js +503 -0
- package/stencil/index-b2193545-lh5NrH1l.cjs +1 -0
- package/stencil/password-input_2-ChFdsN2L.cjs +193 -0
- package/stencil/{password-input_2-5nC89CMj.js → password-input_2-DfibVL8H.js} +3 -3
- package/stencil/{password-input_2-DJSgcWve.js → password-input_2-IaELIWPu.js} +3 -3
- package/stencil/{player-change-password-gm2-039e300e-C_f58yBE.js → player-change-password-gm2-039e300e-Cbvlv_Cc.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-D4KfL3dW.js → player-change-password-gm2-039e300e-DQu1Qy42.js} +1 -1
- package/stencil/{player-change-password-gm2-039e300e-C-kbOfS1.cjs → player-change-password-gm2-039e300e-h73P3BnO.cjs} +1 -1
- package/stencil/{player-change-password-gm2-3aRR8E4W.js → player-change-password-gm2-CZ4CLVdX.js} +1 -1
- package/stencil/{player-change-password-gm2-CHK-mhQ9.cjs → player-change-password-gm2-Ddu97gwX.cjs} +1 -1
- package/stencil/{player-change-password-gm2-BJ2Ur7Zx.js → player-change-password-gm2-o8J_07IZ.js} +1 -1
- package/stencil/player-kyc-verification-C0h2CP_Y.cjs +180 -0
- package/stencil/{player-kyc-verification-Di40xn9z.js → player-kyc-verification-dmJNIHni.js} +148 -117
- package/stencil/{player-kyc-verification-B8arDCja.js → player-kyc-verification-z8R7nMzo.js} +132 -101
- package/stencil/{toggle-checkbox-input-BRL1Xahc.js → toggle-checkbox-input-BJReK7u2.js} +2 -2
- package/stencil/{toggle-checkbox-input-cLWFox9n.js → toggle-checkbox-input-CphJPGIs.js} +2 -2
- package/stencil/toggle-checkbox-input-DPSvf8jJ.cjs +1 -0
- package/stencil/ui-skeleton-BAxmxOly.cjs +1 -0
- package/stencil/{ui-skeleton-T4HYbNcC.js → ui-skeleton-BCpuJt-t.js} +8 -8
- package/stencil/{ui-skeleton-DT0OMDC6.js → ui-skeleton-BnjJK_-z.js} +4 -4
- package/stencil/ui-skeleton-ea659b95-79vEjTsx.js +152 -0
- package/stencil/ui-skeleton-ea659b95-BrjFstai.js +152 -0
- package/stencil/ui-skeleton-ea659b95-DuSAPIG5.cjs +73 -0
- package/stencil/{user-deposit-withdrawal-BQKFgZ31.cjs → user-deposit-withdrawal-CBWlU3d2.cjs} +3 -3
- package/stencil/{user-deposit-withdrawal-DRe5oBqv.js → user-deposit-withdrawal-CE9oDw4W.js} +71 -71
- package/stencil/{user-deposit-withdrawal-Dj3Po03r.js → user-deposit-withdrawal-Dnqg2IvK.js} +77 -77
- package/stencil/{user-transaction-history-Dca7qx08.js → user-transaction-history-BO92Qvk4.js} +1 -1
- package/stencil/{user-transaction-history-6-z3byrF.js → user-transaction-history-Bg6onQ-I.js} +1 -1
- package/stencil/{user-transaction-history-DrhquxkJ.cjs → user-transaction-history-COJbthDt.cjs} +1 -1
- package/components/GeneralLogout-BjsDUNrm.cjs +0 -21
- package/components/PlayerAccountBettingHistory-Bu3VS2Sg.cjs +0 -1
- package/components/PlayerAccountBettingHistory-DznJRKHH.js +0 -329
- package/components/PlayerAccountController-C7RCoOhc.cjs +0 -1
- package/components/PlayerDeposit-_oIOMh8l.cjs +0 -1
- package/stencil/checkbox-group-input_9-CMfQeYlH.cjs +0 -2
- package/stencil/index-1ef3a64c-BnB-ATuA.js +0 -556
- package/stencil/index-1ef3a64c-BvKbNMH8.cjs +0 -1
- package/stencil/index-1ef3a64c-Nsr9PDe6.js +0 -572
- package/stencil/index-7c5e707a-CTC8RpEi.js +0 -643
- package/stencil/index-7c5e707a-CWE0q0mP.js +0 -616
- package/stencil/index-7c5e707a-D1Fv8nel.cjs +0 -1
- package/stencil/index-9c0f6c58-C1yzTenw.js +0 -576
- package/stencil/index-9c0f6c58-DEsDY2nb.cjs +0 -1
- package/stencil/index-9cd44522-BOHK5Ehb.js +0 -626
- package/stencil/index-9cd44522-C8s3TvoU.js +0 -610
- package/stencil/index-9cd44522-D9raG3xx.cjs +0 -1
- package/stencil/index-ae04a8b1-D4wvtXTw.cjs +0 -1
- package/stencil/index-ae04a8b1-fpBaOn88.js +0 -516
- package/stencil/index-ae04a8b1-ixlRj3zC.js +0 -532
- package/stencil/password-input_2-ZOEOuaOe.cjs +0 -193
- package/stencil/player-kyc-verification-GFBDUbhm.cjs +0 -180
- package/stencil/toggle-checkbox-input-CPDZs55S.cjs +0 -1
- package/stencil/ui-skeleton-BC4mw1ae.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-B8H73O_q.cjs +0 -1
- package/stencil/ui-skeleton-a642cced-Ba-weZ4g.js +0 -122
- package/stencil/ui-skeleton-a642cced-DhjmNsN7.js +0 -122
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import { a as
|
|
3
|
-
var
|
|
4
|
-
const e = import.meta.url,
|
|
5
|
-
return e !== "" && (
|
|
1
|
+
import { b as v, p as w, r as C, h as i, F as m } from "./index-9c0f6c58-D5txcAjr.js";
|
|
2
|
+
import { a as k } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
3
|
+
var x = () => {
|
|
4
|
+
const e = import.meta.url, t = {};
|
|
5
|
+
return e !== "" && (t.resourcesUrl = new URL(".", e).href), w(t);
|
|
6
6
|
};
|
|
7
|
-
|
|
8
|
-
const
|
|
7
|
+
x().then(async (e) => (await k(), v([["player-kyc-verification", [[1, "player-kyc-verification", { userId: [1, "user-id"], session: [1], language: [1], endpoint: [1], translationUrl: [1, "translation-url"], clientStyling: [1, "client-styling"], verifiedIcon: [1, "verified-icon"], failedIcon: [1, "failed-icon"], defaultIcon: [1, "default-icon"], clientStylingUrl: [1, "client-styling-url"], mbSource: [1, "mb-source"], verificationType: [32], isLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], selectedOption: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
|
|
8
|
+
const S = "en";
|
|
9
9
|
let c = {
|
|
10
10
|
en: {
|
|
11
11
|
loading: "Loading, please wait ...",
|
|
@@ -33,6 +33,9 @@ let c = {
|
|
|
33
33
|
SourceOfWealth: "Source of Wealth",
|
|
34
34
|
SocialMedia: "Social Media",
|
|
35
35
|
ProofOfPayment: "Proof of Payment",
|
|
36
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
37
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
38
|
+
SourceOfFunds: "Source of Funds",
|
|
36
39
|
uploaded: "Document already uploaded.",
|
|
37
40
|
Unknown: "Unknown",
|
|
38
41
|
Passport: "Passport",
|
|
@@ -91,6 +94,9 @@ let c = {
|
|
|
91
94
|
Biometric: "Biometric",
|
|
92
95
|
Recheck: "Recheck",
|
|
93
96
|
ProofOfAddress: "Proof of Address",
|
|
97
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
98
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
99
|
+
SourceOfFunds: "Source of Funds",
|
|
94
100
|
SourceOfWealth: "Source of Wealth",
|
|
95
101
|
SocialMedia: "Social Media",
|
|
96
102
|
ProofOfPayment: "Proof of Payment",
|
|
@@ -152,6 +158,9 @@ let c = {
|
|
|
152
158
|
Biometric: "Biometric",
|
|
153
159
|
Recheck: "Recheck",
|
|
154
160
|
ProofOfAddress: "Proof of Address",
|
|
161
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
162
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
163
|
+
SourceOfFunds: "Source of Funds",
|
|
155
164
|
SourceOfWealth: "Source of Wealth",
|
|
156
165
|
SocialMedia: "Social Media",
|
|
157
166
|
ProofOfPayment: "Proof of Payment",
|
|
@@ -216,6 +225,9 @@ let c = {
|
|
|
216
225
|
SourceOfWealth: "Source of Wealth",
|
|
217
226
|
SocialMedia: "Social Media",
|
|
218
227
|
ProofOfPayment: "Proof of Payment",
|
|
228
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
229
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
230
|
+
SourceOfFunds: "Source of Funds",
|
|
219
231
|
uploaded: "Document déjà téléchargé.",
|
|
220
232
|
Unknown: "Unknown",
|
|
221
233
|
Passport: "Passport",
|
|
@@ -277,6 +289,9 @@ let c = {
|
|
|
277
289
|
SourceOfWealth: "Source of Wealth",
|
|
278
290
|
SocialMedia: "Social Media",
|
|
279
291
|
ProofOfPayment: "Proof of Payment",
|
|
292
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
293
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
294
|
+
SourceOfFunds: "Source of Funds",
|
|
280
295
|
uploaded: "Document already uploaded.",
|
|
281
296
|
Unknown: "Unknown",
|
|
282
297
|
Passport: "Passport",
|
|
@@ -338,6 +353,9 @@ let c = {
|
|
|
338
353
|
SourceOfWealth: "Izvor sredstava",
|
|
339
354
|
SocialMedia: "Društvene mreže",
|
|
340
355
|
ProofOfPayment: "Platna metoda",
|
|
356
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
357
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
358
|
+
SourceOfFunds: "Source of Funds",
|
|
341
359
|
uploaded: "Dokument je već učitan.",
|
|
342
360
|
Unknown: "Nepoznato",
|
|
343
361
|
Passport: "Putovnica",
|
|
@@ -397,6 +415,9 @@ let c = {
|
|
|
397
415
|
SourceOfWealth: "Source of Wealth",
|
|
398
416
|
SocialMedia: "Social Media",
|
|
399
417
|
ProofOfPayment: "Proof of Payment",
|
|
418
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
419
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
420
|
+
SourceOfFunds: "Source of Funds",
|
|
400
421
|
uploaded: "Documento já carregado.",
|
|
401
422
|
Unknown: "Unknown",
|
|
402
423
|
Passport: "Passport",
|
|
@@ -456,6 +477,9 @@ let c = {
|
|
|
456
477
|
SourceOfWealth: "Source of Wealth",
|
|
457
478
|
SocialMedia: "Social Media",
|
|
458
479
|
ProofOfPayment: "Proof of Payment",
|
|
480
|
+
ProofOfIdentityFront: "Proof of identity (front side)",
|
|
481
|
+
ProofOfIdentityBack: "Proof of identity (back side)",
|
|
482
|
+
SourceOfFunds: "Source of Funds",
|
|
459
483
|
uploaded: "Documento ya subido.",
|
|
460
484
|
Unknown: "Unknown",
|
|
461
485
|
Passport: "Passport",
|
|
@@ -492,42 +516,42 @@ let c = {
|
|
|
492
516
|
Voucher: "Voucher"
|
|
493
517
|
}
|
|
494
518
|
};
|
|
495
|
-
const
|
|
496
|
-
fetch(e).then((
|
|
497
|
-
Object.keys(
|
|
498
|
-
c[
|
|
499
|
-
for (let
|
|
500
|
-
c[
|
|
501
|
-
}),
|
|
519
|
+
const h = (e) => new Promise((t) => {
|
|
520
|
+
fetch(e).then((n) => n.json()).then((n) => {
|
|
521
|
+
Object.keys(n).forEach((o) => {
|
|
522
|
+
c[o] || (c[o] = {});
|
|
523
|
+
for (let a in n[o])
|
|
524
|
+
c[o][a] = n[o][a];
|
|
525
|
+
}), t(!0);
|
|
502
526
|
});
|
|
503
|
-
}), r = (e,
|
|
504
|
-
const
|
|
505
|
-
return c[
|
|
506
|
-
},
|
|
507
|
-
function
|
|
527
|
+
}), r = (e, t, n) => {
|
|
528
|
+
const o = t;
|
|
529
|
+
return c[o !== void 0 && o in c ? o : S][e];
|
|
530
|
+
}, b = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
531
|
+
function y(e, t) {
|
|
508
532
|
if (e) {
|
|
509
|
-
const
|
|
510
|
-
|
|
533
|
+
const n = document.createElement("style");
|
|
534
|
+
n.innerHTML = t, e.appendChild(n);
|
|
511
535
|
}
|
|
512
536
|
}
|
|
513
|
-
function g(e,
|
|
514
|
-
const
|
|
515
|
-
fetch(
|
|
516
|
-
const
|
|
517
|
-
|
|
518
|
-
}).catch((
|
|
519
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
537
|
+
function g(e, t) {
|
|
538
|
+
const n = new URL(t);
|
|
539
|
+
fetch(n.href).then((o) => o.text()).then((o) => {
|
|
540
|
+
const a = document.createElement("style");
|
|
541
|
+
a.innerHTML = o, e && e.appendChild(a);
|
|
542
|
+
}).catch((o) => {
|
|
543
|
+
console.error("There was an error while trying to load client styling from URL", o);
|
|
520
544
|
});
|
|
521
545
|
}
|
|
522
|
-
function
|
|
546
|
+
function P(e, t, n) {
|
|
523
547
|
if (window.emMessageBus) {
|
|
524
|
-
const
|
|
525
|
-
window.emMessageBus.subscribe(
|
|
526
|
-
|
|
548
|
+
const o = document.createElement("style");
|
|
549
|
+
window.emMessageBus.subscribe(t, (a) => {
|
|
550
|
+
o.innerHTML = a, e && e.appendChild(o);
|
|
527
551
|
});
|
|
528
552
|
}
|
|
529
553
|
}
|
|
530
|
-
const
|
|
554
|
+
const D = `:host {
|
|
531
555
|
font-family: inherit;
|
|
532
556
|
}
|
|
533
557
|
|
|
@@ -706,31 +730,31 @@ button, select {
|
|
|
706
730
|
.player-kyc-verification-widget .verification-types {
|
|
707
731
|
grid-template-columns: repeat(2, 1fr);
|
|
708
732
|
}
|
|
709
|
-
}`,
|
|
733
|
+
}`, O = D, I = class {
|
|
710
734
|
constructor(e) {
|
|
711
|
-
|
|
735
|
+
C(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = b(this.userAgent), this.handleToggleScreen = () => {
|
|
712
736
|
this.toggleScreen(this.isMobile);
|
|
713
737
|
}, this.userId = "", this.session = "", this.language = void 0, this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.mbSource = void 0, this.verificationType = [], this.isLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.selectedOption = void 0, this.expandedOnDesktop = !1;
|
|
714
738
|
}
|
|
715
739
|
handleNewTranslations() {
|
|
716
|
-
this.isLoading = !0,
|
|
740
|
+
this.isLoading = !0, h(this.translationUrl).then(() => {
|
|
717
741
|
this.isLoading = !1;
|
|
718
742
|
});
|
|
719
743
|
}
|
|
720
744
|
async componentWillLoad() {
|
|
721
|
-
this.translationUrl.length > 2 && await
|
|
745
|
+
this.translationUrl.length > 2 && await h(this.translationUrl);
|
|
722
746
|
}
|
|
723
|
-
handleClientStylingChange(e,
|
|
724
|
-
e !=
|
|
747
|
+
handleClientStylingChange(e, t) {
|
|
748
|
+
e != t && y(this.stylingContainer, this.clientStyling);
|
|
725
749
|
}
|
|
726
|
-
handleClientStylingUrlChange(e,
|
|
727
|
-
e !=
|
|
750
|
+
handleClientStylingUrlChange(e, t) {
|
|
751
|
+
e != t && this.clientStylingUrl && g(this.stylingContainer, this.clientStylingUrl);
|
|
728
752
|
}
|
|
729
753
|
async componentDidLoad() {
|
|
730
|
-
this.stylingContainer && (window.emMessageBus != null ?
|
|
754
|
+
this.stylingContainer && (window.emMessageBus != null ? P(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && y(this.stylingContainer, this.clientStyling), this.clientStylingUrl && g(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0);
|
|
731
755
|
try {
|
|
732
756
|
let e = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);
|
|
733
|
-
const
|
|
757
|
+
const t = {
|
|
734
758
|
method: "POST",
|
|
735
759
|
headers: {
|
|
736
760
|
"X-SessionId": this.session,
|
|
@@ -738,14 +762,14 @@ button, select {
|
|
|
738
762
|
},
|
|
739
763
|
body: JSON.stringify({})
|
|
740
764
|
};
|
|
741
|
-
fetch(e.href,
|
|
742
|
-
if (
|
|
743
|
-
return
|
|
744
|
-
throw new Error("HTTP status " +
|
|
745
|
-
}).then((
|
|
746
|
-
this.verificationType =
|
|
747
|
-
}).catch((
|
|
748
|
-
console.error(
|
|
765
|
+
fetch(e.href, t).then((n) => {
|
|
766
|
+
if (n.status === 200)
|
|
767
|
+
return n.json();
|
|
768
|
+
throw new Error("HTTP status " + n.status);
|
|
769
|
+
}).then((n) => {
|
|
770
|
+
this.verificationType = n.verifications;
|
|
771
|
+
}).catch((n) => {
|
|
772
|
+
console.error(n);
|
|
749
773
|
});
|
|
750
774
|
} catch (e) {
|
|
751
775
|
console.error("Error fetching verification types:", e);
|
|
@@ -754,100 +778,107 @@ button, select {
|
|
|
754
778
|
disconnectedCallback() {
|
|
755
779
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
756
780
|
}
|
|
757
|
-
handleOptionChange(e,
|
|
758
|
-
const
|
|
759
|
-
this.selectedOption =
|
|
781
|
+
handleOptionChange(e, t) {
|
|
782
|
+
const n = e.target;
|
|
783
|
+
this.selectedOption = n.value, this.verificationType = this.verificationType.map((o) => (o.type === t && (o.optionChosen = n.value), o));
|
|
760
784
|
}
|
|
761
|
-
handleDocumentsStatus(e,
|
|
762
|
-
this.verificationType = this.verificationType.map((
|
|
763
|
-
if (
|
|
764
|
-
const
|
|
765
|
-
|
|
785
|
+
handleDocumentsStatus(e, t, n) {
|
|
786
|
+
this.verificationType = this.verificationType.map((o) => {
|
|
787
|
+
if (o.type === e) {
|
|
788
|
+
const a = o.documents.find((s) => s.code === n);
|
|
789
|
+
a && (a.statusUploaded = t);
|
|
766
790
|
}
|
|
767
|
-
return
|
|
791
|
+
return o;
|
|
768
792
|
});
|
|
769
793
|
}
|
|
770
794
|
downloadPDF(e) {
|
|
771
|
-
const
|
|
772
|
-
|
|
795
|
+
const t = document.createElement("a");
|
|
796
|
+
t.href = e, t.download = "file.pdf", t.target = "_blank", t.dispatchEvent(new MouseEvent("click"));
|
|
773
797
|
}
|
|
774
|
-
toggleVerificationType(e,
|
|
775
|
-
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((
|
|
776
|
-
var
|
|
777
|
-
return
|
|
798
|
+
toggleVerificationType(e, t) {
|
|
799
|
+
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((n) => {
|
|
800
|
+
var o;
|
|
801
|
+
return n.type === e && ((o = n.flowInfo) === null || o === void 0 ? void 0 : o.type) == t && (n.expanded = !n.expanded), n;
|
|
778
802
|
});
|
|
779
803
|
}
|
|
780
804
|
toggleScreen(e) {
|
|
781
805
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: e }, window.location.href);
|
|
782
806
|
}
|
|
783
807
|
checkFileSize(e) {
|
|
784
|
-
let
|
|
785
|
-
return Object.keys(e).forEach((
|
|
786
|
-
|
|
787
|
-
}),
|
|
808
|
+
let t = 0;
|
|
809
|
+
return Object.keys(e).forEach((n) => {
|
|
810
|
+
t += e[n].size;
|
|
811
|
+
}), t <= this.MAX_UPLOAD_SIZE;
|
|
788
812
|
}
|
|
789
|
-
handleFileSelection(e,
|
|
813
|
+
handleFileSelection(e, t, n) {
|
|
790
814
|
if (e && e.length > 0)
|
|
791
815
|
if (this.selectedFile = e, !this.checkFileSize(this.selectedFile))
|
|
792
|
-
console.error(r("fileSizeExceeded", this.language)), this.uploadingStatus = r("fileSizeExceeded", this.language), this.handleDocumentsStatus(
|
|
816
|
+
console.error(r("fileSizeExceeded", this.language)), this.uploadingStatus = r("fileSizeExceeded", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, t), this.uploadSizeExceeded = !0;
|
|
793
817
|
else {
|
|
794
|
-
const
|
|
818
|
+
const o = {
|
|
795
819
|
method: "POST",
|
|
796
820
|
headers: {
|
|
797
821
|
"Content-Type": "application/json",
|
|
798
822
|
"X-SessionId": this.session
|
|
799
823
|
},
|
|
800
|
-
body: JSON.stringify({ DocumentCode:
|
|
824
|
+
body: JSON.stringify({ DocumentCode: t })
|
|
801
825
|
};
|
|
802
|
-
fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`,
|
|
803
|
-
if (
|
|
804
|
-
return this.uploadingStatus = r("uploading", this.language), this.handleDocumentsStatus(
|
|
805
|
-
}).then((
|
|
826
|
+
fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, o).then((a) => {
|
|
827
|
+
if (a.ok)
|
|
828
|
+
return this.uploadingStatus = r("uploading", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, t), a.json();
|
|
829
|
+
}).then((a) => {
|
|
806
830
|
const s = new FormData();
|
|
807
|
-
s.append(
|
|
808
|
-
d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(
|
|
831
|
+
s.append(t, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: s }).then((d) => {
|
|
832
|
+
d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, t)) : (this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, t), console.error("File upload error:", d.status));
|
|
809
833
|
}).catch((d) => {
|
|
810
834
|
console.error("File upload error:", d);
|
|
811
835
|
});
|
|
812
|
-
}).catch((
|
|
813
|
-
console.error("File upload error:",
|
|
836
|
+
}).catch((a) => {
|
|
837
|
+
console.error("File upload error:", a);
|
|
814
838
|
});
|
|
815
839
|
}
|
|
816
840
|
}
|
|
817
841
|
importScript(e) {
|
|
818
|
-
return new Promise((
|
|
819
|
-
fetch(e).then((
|
|
820
|
-
if (new Function(
|
|
821
|
-
|
|
842
|
+
return new Promise((t, n) => {
|
|
843
|
+
fetch(e).then((o) => o.text()).then((o) => {
|
|
844
|
+
if (new Function(o)(), this.scriptInjected)
|
|
845
|
+
t(!0);
|
|
822
846
|
else {
|
|
823
847
|
const s = document.createElement("script");
|
|
824
|
-
s.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(s), this.scriptInjected = !0,
|
|
848
|
+
s.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(s), this.scriptInjected = !0, t(!0);
|
|
825
849
|
}
|
|
826
|
-
}).catch((
|
|
827
|
-
|
|
850
|
+
}).catch((o) => {
|
|
851
|
+
n(o);
|
|
828
852
|
});
|
|
829
853
|
});
|
|
830
854
|
}
|
|
831
855
|
isStatusUploaded(e) {
|
|
832
856
|
return !!(e && e.status === "Uploaded");
|
|
833
857
|
}
|
|
858
|
+
getFirstRequestedDocument(e) {
|
|
859
|
+
var t;
|
|
860
|
+
let n;
|
|
861
|
+
return (t = e?.documents) === null || t === void 0 || t.forEach((o) => {
|
|
862
|
+
o.status == "Requested" && (n = n ?? o.code);
|
|
863
|
+
}), n;
|
|
864
|
+
}
|
|
834
865
|
renderVerificationTypeBox(e) {
|
|
835
866
|
this.expandedOnDesktop && (e.expanded = !0);
|
|
836
|
-
let n = e.expanded,
|
|
837
|
-
const
|
|
838
|
-
return i("div", { class: `verification-box ${n ? "expanded" : ""} ${
|
|
839
|
-
var
|
|
840
|
-
return this.toggleVerificationType(e.type, (
|
|
841
|
-
} }, i("div", { class: "box-icon" },
|
|
867
|
+
let t = this.getFirstRequestedDocument(e), n = e.expanded, o = e.type.trim(), a = e.optionChosen || t, s = e.status, d = e.documents, l = e.flowInfo;
|
|
868
|
+
const f = s === "Verified", u = s === "Failed" || s === "Expired";
|
|
869
|
+
return i("div", { class: `verification-box ${n ? "expanded" : ""} ${u ? "failed" : ""} ${f ? "success" : ""}` }, i("div", { class: `box box-header ${n ? "expanded" : ""}`, onClick: () => {
|
|
870
|
+
var p;
|
|
871
|
+
return this.toggleVerificationType(e.type, (p = e.flowInfo) === null || p === void 0 ? void 0 : p.type);
|
|
872
|
+
} }, i("div", { class: "box-icon" }, f ? i("div", null, this.verifiedIcon ? i("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : u ? i("div", null, this.failedIcon ? i("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(o, this.language)), i("div", { class: "chevron-icon" }, i("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, i("path", { d: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, s, d, l, f, u) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
|
|
842
873
|
}
|
|
843
|
-
renderDocumentsActions(e,
|
|
844
|
-
return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e?.statusUploaded ? i("div", { class: "upload-status" }, e?.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e?.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" },
|
|
874
|
+
renderDocumentsActions(e, t, n) {
|
|
875
|
+
return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e?.statusUploaded ? i("div", { class: "upload-status" }, e?.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e?.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" }, t ? i("label", null, i("input", { type: "file", accept: "*", onChange: (o) => this.handleFileSelection(o.target.files, this.selectedOption, n.type), style: { display: "none" } }), i("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" }), i("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), i("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
|
|
845
876
|
}
|
|
846
|
-
renderExpandedContent(e, n,
|
|
847
|
-
return
|
|
877
|
+
renderExpandedContent(e, t, n, o, a, s, d) {
|
|
878
|
+
return a?.type === "Widget" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : a?.type === "Redirect" && e.vendorName !== "Manual" && n !== "Verified" ? i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" })) : i("div", { class: "box box-content" }, i(m, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : d ? i("div", { class: "verification-status" }, n === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : o.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, o.map((l) => i("option", { selected: l.code == t, value: l.code }, r(l.type, this.language)))), this.renderDocumentsActions(o.find((l) => l.code === t), t, e)) : null));
|
|
848
879
|
}
|
|
849
880
|
render() {
|
|
850
|
-
return this.isLoading ? i("div", null, i("p", null, r("loading", this.language))) : i("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, i("div", { class: "player-kyc-verification-widget" }, this.isMobile ? i("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("defs", null), i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), i("h2", null, r("kycTitle", this.language))) : i("h2", null, r("kycTitle", this.language)), this.verificationType.length === 0 ? i("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, r("noVerificationRequired", this.language)) : i(
|
|
881
|
+
return this.isLoading ? i("div", null, i("p", null, r("loading", this.language))) : i("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, i("div", { class: "player-kyc-verification-widget" }, this.isMobile ? i("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("defs", null), i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), i("h2", null, r("kycTitle", this.language))) : i("h2", null, r("kycTitle", this.language)), this.verificationType.length === 0 ? i("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, r("noVerificationRequired", this.language)) : i(m, null, i("div", { class: "widget-description" }, r("kycDescription", this.language)), i("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
|
|
851
882
|
}
|
|
852
883
|
static get watchers() {
|
|
853
884
|
return {
|
|
@@ -857,7 +888,7 @@ button, select {
|
|
|
857
888
|
};
|
|
858
889
|
}
|
|
859
890
|
};
|
|
860
|
-
I.style =
|
|
891
|
+
I.style = O;
|
|
861
892
|
export {
|
|
862
893
|
I as player_kyc_verification
|
|
863
894
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as a, c as o, h as t } from "./index-9cd44522-
|
|
1
|
+
import { r as a, c as o, h as t } from "./index-9cd44522-bcseM6Tc.js";
|
|
2
2
|
import { t as n } from "./locale-ioQf6ZrW.js";
|
|
3
3
|
import { t as s } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
|
|
4
4
|
const r = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}', c = r, h = class {
|
|
5
5
|
constructor(e) {
|
|
6
|
-
a(this, e), this.sendValidityState = o(this, "sendValidityState"
|
|
6
|
+
a(this, e), this.sendValidityState = o(this, "sendValidityState"), this.sendInputValue = o(this, "sendInputValue"), this.callBackObject = {}, this.subFieldsObject = {}, this.value = "", this.handleRevealField = (i, l) => {
|
|
7
7
|
i.stopPropagation(), window.postMessage({ type: `registration${l}Clicked` }, window.location.href);
|
|
8
8
|
}, this.setClientStyling = () => {
|
|
9
9
|
let i = document.createElement("style");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { r as a, c as o, h as t } from "./index-9cd44522-
|
|
1
|
+
import { r as a, c as o, h as t } from "./index-9cd44522-DNHOiqex.js";
|
|
2
2
|
import { t as n } from "./locale-ioQf6ZrW.js";
|
|
3
3
|
import { t as s } from "./tooltipIcon-ee9760a8-BCCb4EU-.js";
|
|
4
4
|
const r = '*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}', c = r, h = class {
|
|
5
5
|
constructor(e) {
|
|
6
|
-
a(this, e), this.sendValidityState = o(this, "sendValidityState"
|
|
6
|
+
a(this, e), this.sendValidityState = o(this, "sendValidityState"), this.sendInputValue = o(this, "sendInputValue"), this.callBackObject = {}, this.subFieldsObject = {}, this.value = "", this.handleRevealField = (i, l) => {
|
|
7
7
|
i.stopPropagation(), window.postMessage({ type: `registration${l}Clicked` }, window.location.href);
|
|
8
8
|
}, this.setClientStyling = () => {
|
|
9
9
|
let i = document.createElement("style");
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-9cd44522-BZa-k0xO.cjs"),a=require("./locale-BB2iZ4t0.cjs"),n=require("./tooltipIcon-ee9760a8-Bd9l1O5C.cjs"),s='*,*::before,*::after{padding:0;margin:0;box-sizing:border-box}.togglecheckbox{font-family:"Roboto";font-style:normal;font-size:15px}.togglecheckbox__wrapper{position:relative}.togglecheckbox__wrapper--flex{display:flex;gap:10px;align-items:baseline}.togglecheckbox__wrapper--relative{position:relative;display:inline}.togglecheckbox__input{transform:scale(1.307, 1.307);margin-left:2px;accent-color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__label{font-style:inherit;font-family:inherit;font-weight:400;font-size:16px;color:var(--emw--registration-typography, var(--emw--color-black, #000000));line-height:1.5;cursor:pointer;padding:0}.togglecheckbox__label-text{font-size:16px}.togglecheckbox__label a{color:var(--emw--login-color-primary, var(--emw--color-primary, #D0046C))}.togglecheckbox__error-message{position:absolute;top:calc(100% + 5px);left:0;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.togglecheckbox__tooltip-icon{width:16px;height:auto}.togglecheckbox__tooltip{position:absolute;top:0;right:0;background-color:var(--emw--color-white, #FFFFFF);border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--registration-typography, var(--emw--color-black, #000000));padding:10px;border-radius:5px;opacity:0;transition:opacity 0.3s ease-in-out;z-index:10}.togglecheckbox__tooltip.visible{opacity:1}.togglecheckbox__fields-wrapper{margin-top:40px;display:flex;flex-direction:column;gap:40px}.hidden{display:none}',c=s,o=class{constructor(e){t.registerInstance(this,e),this.sendValidityState=t.createEvent(this,"sendValidityState"),this.sendInputValue=t.createEvent(this,"sendInputValue"),this.callBackObject={},this.subFieldsObject={},this.value="",this.handleRevealField=(i,l)=>{i.stopPropagation(),window.postMessage({type:`registration${l}Clicked`},window.location.href)},this.setClientStyling=()=>{let i=document.createElement("style");i.innerHTML=this.clientStyling,this.stylingContainer.prepend(i)},this.name=void 0,this.displayName=void 0,this.defaultValue="",this.options=void 0,this.autofilled=void 0,this.tooltip=void 0,this.validation=void 0,this.language=void 0,this.emitValue=void 0,this.clientStyling="",this.errorMessage=void 0,this.isValid=void 0,this.limitStylingAppends=!1,this.showTooltip=!1,this.showFields=this.defaultValue==="true"}handleStylingChange(e,i){e!==i&&this.setClientStyling()}validityStateHandler(e){this.sendValidityState.emit(e)}valueHandler(e){this.sendInputValue.emit(e)}handleClickOutside(e){e.composedPath()[0]!==this.tooltipIconReference&&e.composedPath()[0]!==this.tooltipReference&&(this.showTooltip=!1)}componentDidRender(){!this.limitStylingAppends&&this.stylingContainer&&(this.clientStyling&&this.setClientStyling(),this.limitStylingAppends=!0)}componentDidLoad(){this.options.length!==0&&this.options.forEach(e=>{this.callBackObject[e.name]=i=>{this.handleRevealField(i,e.name)},this.subFieldsObject[e.name].addEventListener("click",this.callBackObject[e.name])})}handleClick(){this.showFields=this.checkboxReference.checked,this.errorMessage=this.setErrorMessage(),this.isValid=this.setValidity(),this.valueHandler({name:this.name,value:this.checkboxReference.checked?"true":"false",type:"toggle"})}setValidity(){return this.checkboxReference.validity.valid}setErrorMessage(){if(this.checkboxReference.validity.valueMissing)return a.translate("requiredError",this.language)}disconnectedCallback(){this.options.forEach(e=>{this.subFieldsObject[e.name].removeEventListener("click",this.callBackObject[e.name])})}renderLabel(){return t.h("label",{class:"togglecheckbox__label",htmlFor:`${this.name}__input`},t.h("div",{class:"togglecheckbox__label-text",innerHTML:`${this.displayName} ${this.validation.mandatory?"*":""}`}))}renderTooltip(){return this.showTooltip?t.h("div",{class:`togglecheckbox__tooltip ${this.showTooltip?"visible":""}`,ref:e=>this.tooltipReference=e,innerHTML:this.tooltip}):null}render(){return t.h("div",{key:"d7084a7f82d45b3d1e7f8ae373b663b2aefdf5ec",class:`togglecheckbox__wrapper ${this.name}__input`,ref:e=>this.stylingContainer=e},t.h("div",{key:"f065f4611805dd8490234bcec1fecdbcfcaefab8",class:"togglecheckbox__wrapper--flex"},t.h("input",{key:"c5196d5a4cd2f114a610037285ee644fcabc37bd",class:"togglecheckbox__input",type:"checkbox",id:`${this.name}__input`,ref:e=>this.checkboxReference=e,name:this.name,checked:this.defaultValue==="true",readOnly:this.autofilled,required:this.validation.mandatory,value:this.value,onClick:()=>this.handleClick()}),this.renderLabel()),t.h("small",{key:"06d5db0994272ec9dde1b5cd0d525bb53ff1a058",class:"togglecheckbox__error-message"},this.errorMessage),t.h("div",{key:"aff16ac9ed0adb896f2c1822014c5c8c4d6db2d4",class:"togglecheckbox__wrapper--relative"},this.tooltip&&t.h("img",{key:"6b049cecc095a2127eb566f50fd0f8feaa8cb3d5",class:"togglecheckbox__tooltip-icon",src:n.tooltipIconSvg,alt:"",ref:e=>this.tooltipIconReference=e,onClick:()=>this.showTooltip=!this.showTooltip}),this.renderTooltip()),t.h("div",{key:"372c3eb72cffd482fe1c179047ec3900cef00d46",class:`togglecheckbox__fields-wrapper ${this.showFields?"":"hidden"}`},this.options.map(e=>t.h("general-input",{type:e.inputType,name:e.name,displayName:e.displayName,validation:e.validate,action:e.action||null,defaultValue:e.defaultValue,autofilled:e.autofill,emitValue:this.emitValue,language:this.language,"client-styling":this.clientStyling,tooltip:e.tooltip,placeholder:e.placeholder==null?"":e.placeholder,ref:i=>this.subFieldsObject[e.name]=i}))))}static get watchers(){return{clientStyling:["handleStylingChange"]}}};o.style=c;exports.toggle_checkbox_input=o;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";var c=(r,t,o)=>new Promise((l,s)=>{var m=e=>{try{n(o.next(e))}catch(i){s(i)}},d=e=>{try{n(o.throw(e))}catch(i){s(i)}},n=e=>e.done?l(e.value):Promise.resolve(e.value).then(m,d);n((o=o.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index-b2193545-lh5NrH1l.cjs"),p=require("./app-globals-0f993ce5-DgYhdguE.cjs"),g=require("./ui-skeleton-ea659b95-DuSAPIG5.cjs");var a=typeof document!="undefined"?document.currentScript:null,f=()=>{const r=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:a&&a.tagName.toUpperCase()==="SCRIPT"&&a.src||new URL("stencil/ui-skeleton-BAxmxOly.cjs",document.baseURI).href,t={};return r!==""&&(t.resourcesUrl=new URL(".",r).href),u.promiseResolve(t)};f().then(r=>c(exports,null,function*(){return yield p.globalScripts$2(),u.bootstrapLazy([["ui-skeleton",[[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[2,"border-radius"],marginBottom:[2,"margin-bottom"],marginTop:[2,"margin-top"],marginLeft:[2,"margin-left"],marginRight:[2,"margin-right"],animation:[4],rows:[2],size:[1],color:[1],primaryColor:[1,"primary-color"],secondaryColor:[1,"secondary-color"]},null,{structure:["handleStructureChange"]}]]]],r)}));exports.ui_skeleton=g.UiSkeleton;
|
|
@@ -5,25 +5,25 @@ var n = (o, t, e) => new Promise((m, s) => {
|
|
|
5
5
|
} catch (i) {
|
|
6
6
|
s(i);
|
|
7
7
|
}
|
|
8
|
-
},
|
|
8
|
+
}, u = (r) => {
|
|
9
9
|
try {
|
|
10
10
|
a(e.throw(r));
|
|
11
11
|
} catch (i) {
|
|
12
12
|
s(i);
|
|
13
13
|
}
|
|
14
|
-
}, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(l,
|
|
14
|
+
}, a = (r) => r.done ? m(r.value) : Promise.resolve(r.value).then(l, u);
|
|
15
15
|
a((e = e.apply(o, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as
|
|
17
|
+
import { b as p, p as c } from "./index-b2193545-C2qi7zn0.js";
|
|
18
18
|
import { b as g } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
19
|
-
import { U as
|
|
20
|
-
var
|
|
19
|
+
import { U as R } from "./ui-skeleton-ea659b95-79vEjTsx.js";
|
|
20
|
+
var h = () => {
|
|
21
21
|
const o = import.meta.url, t = {};
|
|
22
22
|
return o !== "" && (t.resourcesUrl = new URL(".", o).href), c(t);
|
|
23
23
|
};
|
|
24
|
-
|
|
25
|
-
return yield g(),
|
|
24
|
+
h().then((o) => n(void 0, null, function* () {
|
|
25
|
+
return yield g(), p([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [2, "border-radius"], marginBottom: [2, "margin-bottom"], marginTop: [2, "margin-top"], marginLeft: [2, "margin-left"], marginRight: [2, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], o);
|
|
26
26
|
}));
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
R as ui_skeleton
|
|
29
29
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { b as t, p as e } from "./index-
|
|
1
|
+
import { b as t, p as e } from "./index-b2193545-DRVj_AmB.js";
|
|
2
2
|
import { b as a } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
3
|
-
import { U as
|
|
3
|
+
import { U as u } from "./ui-skeleton-ea659b95-BrjFstai.js";
|
|
4
4
|
var i = () => {
|
|
5
5
|
const r = import.meta.url, o = {};
|
|
6
6
|
return r !== "" && (o.resourcesUrl = new URL(".", r).href), e(o);
|
|
7
7
|
};
|
|
8
|
-
i().then(async (r) => (await a(), t([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [2, "border-radius"], marginBottom: [2, "margin-bottom"], marginTop: [2, "margin-top"], marginLeft: [2, "margin-left"], marginRight: [2, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"]
|
|
8
|
+
i().then(async (r) => (await a(), t([["ui-skeleton", [[0, "ui-skeleton", { structure: [1], width: [1], height: [1], borderRadius: [2, "border-radius"], marginBottom: [2, "margin-bottom"], marginTop: [2, "margin-top"], marginLeft: [2, "margin-left"], marginRight: [2, "margin-right"], animation: [4], rows: [2], size: [1], color: [1], primaryColor: [1, "primary-color"], secondaryColor: [1, "secondary-color"] }, null, { structure: ["handleStructureChange"] }]]]], r)));
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
u as ui_skeleton
|
|
11
11
|
};
|