@everymatrix/player-account-controller 1.90.3 → 1.90.5
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-BwOyndZe.js → GeneralLogout-BNUwwzyl.js} +1 -1
- package/components/{GeneralLogout-CPY2n6gG.js → GeneralLogout-BnQOP74_.js} +1 -1
- package/components/{GeneralLogout-H_QwuAs4.cjs → GeneralLogout-DGKUWyRD.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-6XO5xoCl.js → PlayerAccountBettingHistory-B4fQPNr0.js} +1 -1
- package/components/{PlayerAccountBettingHistory-UwhJ8ya8.cjs → PlayerAccountBettingHistory-DDMO9gCv.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-tXbUI_Ln.js → PlayerAccountBettingHistory-DG0zQxNZ.js} +1 -1
- package/components/{PlayerAccountBiometrics-D69zLU-s.js → PlayerAccountBiometrics-BcwR5r75.js} +2 -2
- package/components/{PlayerAccountBiometrics-NWRoWx0v.js → PlayerAccountBiometrics-BgT5tMhz.js} +2 -2
- package/components/{PlayerAccountBiometrics-BBcMkCHX.cjs → PlayerAccountBiometrics-DFt1FrMX.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-ryvIwUsV.cjs → PlayerAccountBiometricsAction-9f4bgV0t.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-O_Hcq7fw.js → PlayerAccountBiometricsAction-CtOg7kXp.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-DE5spXcd.js → PlayerAccountBiometricsAction-jtPdoq0y.js} +1 -1
- package/components/{PlayerAccountClosure-BbUUyR1h.js → PlayerAccountClosure-BK5acBSS.js} +1 -1
- package/components/{PlayerAccountClosure-CjEPah7E.js → PlayerAccountClosure-Boi7Y0L3.js} +1 -1
- package/components/{PlayerAccountClosure-DghELImO.cjs → PlayerAccountClosure-BpWL0dTt.cjs} +1 -1
- package/components/{PlayerAccountController-BXcE5rTL.js → PlayerAccountController-B4QRBq2b.js} +25 -25
- package/components/{PlayerAccountController-D9OUnSfp.js → PlayerAccountController-CpTVyX1P.js} +25 -25
- package/components/{PlayerAccountController-Csr7J4CP.cjs → PlayerAccountController-k535URvq.cjs} +2 -2
- package/components/{PlayerAccountGamingLimits-C0NWV0Hx.js → PlayerAccountGamingLimits-CNApmzGk.js} +2 -2
- package/components/{PlayerAccountGamingLimits-zej9-zlQ.js → PlayerAccountGamingLimits-DPMS8JOi.js} +2 -2
- package/components/{PlayerAccountGamingLimits-q5C-445u.cjs → PlayerAccountGamingLimits-DfJkmem-.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BrRmXh4L.cjs → PlayerAccountGamingLimitsConfirmationModal-2GVpI2Gx.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DG1qXlSw.js → PlayerAccountGamingLimitsConfirmationModal-Bd_ltgUx.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-ChjR58jT.js → PlayerAccountGamingLimitsConfirmationModal-BiXtvdF2.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DdKtcb73.cjs → PlayerAccountGamingLimitsGroupEdit-C3IfurbS.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cl6NSAYY.js → PlayerAccountGamingLimitsGroupEdit-CFCejIdt.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-ikwvqbRl.js → PlayerAccountGamingLimitsGroupEdit-DJVS3p-u.js} +5 -5
- package/components/{PlayerAccountGamingLimitsHistory2-BzN2sKB_.js → PlayerAccountGamingLimitsHistory2-3v8TyKMv.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-C8q8AVus.js → PlayerAccountGamingLimitsHistory2-D0skB45L.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-CqXv2DGo.cjs → PlayerAccountGamingLimitsHistory2-D2VCotRI.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CU5vi5MP.js → PlayerAccountGamingLimitsInfoCard-CoSrTnAO.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-witaDBIj.js → PlayerAccountGamingLimitsInfoCard-DQcv8k0z.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-ClkGbEFP.cjs → PlayerAccountGamingLimitsInfoCard-_5vTXubv.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-Dngaem8U.js → PlayerAccountGamingLimitsPage2Gm16-BzcL8jHC.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BZOdfPxw.cjs → PlayerAccountGamingLimitsPage2Gm16-CyVDl_NL.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-lOCYGKVV.js → PlayerAccountGamingLimitsPage2Gm16-DOWJ5tPD.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DqVfy5No.js → PlayerAccountGamingLimitsPopup-BhZxVIdl.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CUlUDEIB.cjs → PlayerAccountGamingLimitsPopup-BmoEqCrg.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-DU1kP_Et.js → PlayerAccountGamingLimitsPopup-Di98DTnN.js} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-BKtlEHWQ.cjs → PlayerAccountGamingLimitsWrapper2-CRDw8gj0.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Wm4EwWCe.js → PlayerAccountGamingLimitsWrapper2-DB1FIJEc.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-DEPUEDpR.js → PlayerAccountGamingLimitsWrapper2-Ddwy3KCN.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-rrpDDAy_.cjs → PlayerAccountGeneralConfirmationModal-C-04Q0tE.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-BWZ6JMxe.js → PlayerAccountGeneralConfirmationModal-Co_gOovh.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-Dl5hESkX.js → PlayerAccountGeneralConfirmationModal-DqYWOpCe.js} +1 -1
- package/components/{PlayerAccountMenu-BWuc3-lw.cjs → PlayerAccountMenu-BahHoBix.cjs} +1 -1
- package/components/{PlayerAccountMenu-DzSWiRfy.js → PlayerAccountMenu-CiW3i180.js} +2 -2
- package/components/{PlayerAccountMenu-CnWnEDdP.js → PlayerAccountMenu-CsUNbc5S.js} +2 -2
- package/components/{PlayerAccountModal-BSpKlNus.cjs → PlayerAccountModal-Dkop2eBI.cjs} +1 -1
- package/components/{PlayerAccountModal-BZkkj8x6.js → PlayerAccountModal-DqWSPpwI.js} +1 -1
- package/components/{PlayerAccountModal-PMFhbdm7.js → PlayerAccountModal-uE-VYCiQ.js} +1 -1
- package/components/{PlayerAccountNotifications-Bc-e1Z-W.js → PlayerAccountNotifications-BjCQJ6RU.js} +1 -1
- package/components/{PlayerAccountNotifications-Dp3K_12t.cjs → PlayerAccountNotifications-D_PA9eL5.cjs} +1 -1
- package/components/{PlayerAccountNotifications-Dipfxhag.js → PlayerAccountNotifications-Dslx-_LW.js} +1 -1
- package/components/{PlayerAccountProductRestriction-B7_bqs7y.js → PlayerAccountProductRestriction-BfxsiMMp.js} +3 -3
- package/components/{PlayerAccountProductRestriction-g8OPcSIB.js → PlayerAccountProductRestriction-CKGqGcUo.js} +3 -3
- package/components/{PlayerAccountProductRestriction-CYMzrHre.cjs → PlayerAccountProductRestriction-DFeo_snB.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-BCUyX9OP.cjs → PlayerAccountReviewFrequency-BLOgfJPj.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-DxMQToXw.js → PlayerAccountReviewFrequency-IKDsRU-v.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-B5qsRj5M.js → PlayerAccountReviewFrequency-fpLNMn0K.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-DF4XIkia.cjs → PlayerAccountSelfExclusion-Bo54IDJp.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-DHlsXH6h.js → PlayerAccountSelfExclusion-Cqec4xJ3.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-CuNe0bQw.js → PlayerAccountSelfExclusion-WBQvhEKO.js} +2 -2
- package/components/{PlayerAccountTimeout-Cef1u7eA.js → PlayerAccountTimeout-DPbO9kjx.js} +3 -3
- package/components/{PlayerAccountTimeout-C-jrVPcw.js → PlayerAccountTimeout-DhEUqXJ0.js} +3 -3
- package/components/{PlayerAccountTimeout-C5ohcZL8.cjs → PlayerAccountTimeout-X4zwcOGR.cjs} +2 -2
- package/components/{PlayerAccountTransactionsHistory-CknpkOun.js → PlayerAccountTransactionsHistory-CCDm4DRA.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-D2fa8iXP.cjs → PlayerAccountTransactionsHistory-CVbRpH3x.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-Cx_kXatJ.js → PlayerAccountTransactionsHistory-DGFDn2l4.js} +4 -4
- package/components/{PlayerActiveBonuses-Dj1vWum_.js → PlayerActiveBonuses-CZxDeXIe.js} +2 -2
- package/components/{PlayerActiveBonuses-CmFryyyz.cjs → PlayerActiveBonuses-CmlFjMEh.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CszYf0tT.js → PlayerActiveBonuses-CnNaJLfc.js} +2 -2
- package/components/{PlayerBonusCard-BtDfH9om.js → PlayerBonusCard-CEQqRDOf.js} +2 -2
- package/components/{PlayerBonusCard-xSuYmlLU.js → PlayerBonusCard-CqhoM4gS.js} +2 -2
- package/components/{PlayerBonusCard-D3MukkA0.cjs → PlayerBonusCard-sjXg9Pf_.cjs} +1 -1
- package/components/{PlayerBonusHistory-yYfF3BiF.cjs → PlayerBonusHistory-BKkDOVkD.cjs} +1 -1
- package/components/{PlayerBonusHistory-DlfGfOJS.js → PlayerBonusHistory-D7T0B7bp.js} +2 -2
- package/components/{PlayerBonusHistory-BCmhRptn.js → PlayerBonusHistory-DC8KonkM.js} +2 -2
- package/components/{PlayerChangePassword-wFncEUNn.js → PlayerChangePassword-BR4PBJYd.js} +1 -1
- package/components/{PlayerChangePassword-CuB0C6xj.js → PlayerChangePassword-C4EmqLx_.js} +1 -1
- package/components/{PlayerChangePassword-QIAhpcjm.cjs → PlayerChangePassword-vROWQN6o.cjs} +1 -1
- package/components/{PlayerDeposit-qF1e1mB-.cjs → PlayerDeposit-0gPeIHmq.cjs} +1 -1
- package/components/{PlayerDeposit-DSpOiHE4.js → PlayerDeposit-CadEdEdX.js} +1 -1
- package/components/{PlayerDeposit-CpEGkJmP.js → PlayerDeposit-KjnI4xkU.js} +1 -1
- package/components/{PlayerGamingHistory-DVXlEHrh.cjs → PlayerGamingHistory-CjDSWIuT.cjs} +1 -1
- package/components/{PlayerGamingHistory-DwbVjAYw.js → PlayerGamingHistory-D4AZY0ab.js} +3 -3
- package/components/{PlayerGamingHistory-DMTs5tnz.js → PlayerGamingHistory-DdIsznW5.js} +3 -3
- package/components/{PlayerPendingWithdrawals-C59jtkCR.cjs → PlayerPendingWithdrawals-D7LHJmYK.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DsXs8uWh.js → PlayerPendingWithdrawals-DS_wShjF.js} +1 -1
- package/components/{PlayerPendingWithdrawals-aIuiGaib.js → PlayerPendingWithdrawals-DaszVwJH.js} +1 -1
- package/components/{PlayerProfileInfo-DKIbpdRx.cjs → PlayerProfileInfo-BNY8t0J6.cjs} +1 -1
- package/components/{PlayerProfileInfo-Cm3K0b7a.js → PlayerProfileInfo-CLBlZVBz.js} +2 -2
- package/components/{PlayerProfileInfo-DomF6Lo0.js → PlayerProfileInfo-oyCqMP9X.js} +2 -2
- package/components/{PlayerRealityCheck-Yb40DCQ1.cjs → PlayerRealityCheck-BzC-WYkd.cjs} +1 -1
- package/components/{PlayerRealityCheck-CwMSN26r.js → PlayerRealityCheck-CKB-HHqM.js} +1 -1
- package/components/{PlayerRealityCheck-DE_eDgaT.js → PlayerRealityCheck-EBVGtwyn.js} +1 -1
- package/components/{PlayerTransactionHistory-CW8wrYY1.js → PlayerTransactionHistory-C6CcqRIu.js} +1 -1
- package/components/{PlayerTransactionHistory-CZuWl_7P.js → PlayerTransactionHistory-CHppx0Ul.js} +1 -1
- package/components/{PlayerTransactionHistory-BRUDgdpb.cjs → PlayerTransactionHistory-COxLY8XM.cjs} +1 -1
- package/components/{PlayerWithdrawal-DDXxoHjk.cjs → PlayerWithdrawal-Cjeuqcvz.cjs} +1 -1
- package/components/{PlayerWithdrawal-D-wUTAFp.js → PlayerWithdrawal-D8NO_qwr.js} +1 -1
- package/components/{PlayerWithdrawal-DN2ERiWW.js → PlayerWithdrawal-E-aPHPOs.js} +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_16-CYQ_RPzO.cjs → checkbox-group-input_16-BOlBVPuK.cjs} +1 -1
- package/stencil/{checkbox-group-input_16-q6AEG4nt.js → checkbox-group-input_16-CqrjL3Bm.js} +2 -2
- package/stencil/{checkbox-group-input_16-Bv-qNl0C.js → checkbox-group-input_16-DFnfVjZQ.js} +2 -2
- package/stencil/{index-2ff63899-C95JGHvF.js → index-2ff63899-BImA4O2s.js} +1 -1
- package/stencil/{index-2ff63899-CATMSVBc.cjs → index-2ff63899-CfxgwLD3.cjs} +1 -1
- package/stencil/{index-2ff63899-BweANwnC.js → index-2ff63899-DHON1Cgv.js} +1 -1
- package/stencil/{index-9c0f6c58-DEdG7mVW.js → index-9c0f6c58-CK57ve5P.js} +1 -1
- package/stencil/{index-9c0f6c58-Bd8abek0.cjs → index-9c0f6c58-DnbhPPTI.cjs} +1 -1
- package/stencil/{index-9c0f6c58-LdtWdXWH.js → index-9c0f6c58-P8h0R10S.js} +1 -1
- package/stencil/{index-c666b6e6-vvQQyf3s.js → index-c666b6e6-CKyPRY9v.js} +1 -1
- package/stencil/{index-c666b6e6-Tsf9wPbb.cjs → index-c666b6e6-CUrOCQZ4.cjs} +1 -1
- package/stencil/{index-c666b6e6-diSu874W.js → index-c666b6e6-D2XV3pxn.js} +1 -1
- package/stencil/{pam-change-password-121f4e26-DOoYXC-z.js → pam-change-password-20667ec7-CdjcMbLl.js} +4 -4
- package/stencil/{pam-change-password-121f4e26-CvmNz5t4.js → pam-change-password-20667ec7-DxeS48v8.js} +4 -4
- package/stencil/{pam-change-password-121f4e26-DufecyEV.cjs → pam-change-password-20667ec7-gdoPQSVy.cjs} +2 -2
- package/stencil/{pam-change-password-BI3cD4aj.js → pam-change-password-B3-5i5W3.js} +1 -1
- package/stencil/{pam-change-password-CAhqkoxk.js → pam-change-password-Btjglzia.js} +1 -1
- package/stencil/{pam-change-password-CVkc7GvP.cjs → pam-change-password-DlEAZlEY.cjs} +1 -1
- package/stencil/{player-kyc-verification-BVyIvjQs.js → player-kyc-verification-C2xE1hLK.js} +126 -96
- package/stencil/player-kyc-verification-Cb647IzH.cjs +181 -0
- package/stencil/{player-kyc-verification-DaKmgzNJ.js → player-kyc-verification-mnYQMtSn.js} +135 -105
- package/stencil/{player-step-up-auth_2-BIU9XpGU.cjs → player-step-up-auth_2-ByMODpE3.cjs} +2 -2
- package/stencil/{player-step-up-auth_2-9FyTgEar.js → player-step-up-auth_2-DmGRicLE.js} +89 -90
- package/stencil/{player-step-up-auth_2-C3w1nfzy.js → player-step-up-auth_2-mMvAr-uO.js} +88 -89
- package/stencil/{user-deposit-withdrawal-BQDWGZn0.js → user-deposit-withdrawal-Bh1irC0K.js} +1 -1
- package/stencil/{user-deposit-withdrawal-DKD97aCr.cjs → user-deposit-withdrawal-BhrVZ5Al.cjs} +1 -1
- package/stencil/{user-deposit-withdrawal-CDC3x-M9.js → user-deposit-withdrawal-D5svK_gE.js} +1 -1
- package/stencil/player-kyc-verification-Bq0WwkeW.cjs +0 -181
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { b as
|
|
2
|
-
import { a as
|
|
1
|
+
import { b as k, p as w, r as C, h as t, F as m } from "./index-9c0f6c58-P8h0R10S.js";
|
|
2
|
+
import { a as S } from "./app-globals-0f993ce5-XUXOuUQl.js";
|
|
3
3
|
var x = () => {
|
|
4
|
-
const e = import.meta.url,
|
|
5
|
-
return e !== "" && (
|
|
4
|
+
const e = import.meta.url, i = {};
|
|
5
|
+
return e !== "" && (i.resourcesUrl = new URL(".", e).href), w(i);
|
|
6
6
|
};
|
|
7
|
-
x().then(async (e) => (await
|
|
7
|
+
x().then(async (e) => (await S(), k([["player-kyc-verification", [[1, "player-kyc-verification", { hideVulnerabilityCheck: [1, "hide-vulnerability-check"], 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"], hideKycDescription: [1, "hide-kyc-description"], verificationType: [32], hasAllDocumentsUploaded: [32], verificationsGeneralStatus: [32], isLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
|
|
8
8
|
const b = "en";
|
|
9
9
|
let u = {
|
|
10
10
|
en: {
|
|
@@ -21,6 +21,8 @@ let u = {
|
|
|
21
21
|
chooseDocument: "Choose Document",
|
|
22
22
|
kycTitle: "Account Verification",
|
|
23
23
|
kycDescription: "We require some documents to protect your account and to comply with legal and license requirements.",
|
|
24
|
+
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
25
|
+
kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
|
|
24
26
|
download: "Download",
|
|
25
27
|
Age: "Age",
|
|
26
28
|
Aml: "AML",
|
|
@@ -85,6 +87,8 @@ let u = {
|
|
|
85
87
|
chooseDocument: "Choose Document",
|
|
86
88
|
kycTitle: "Account-Verifizierung",
|
|
87
89
|
kycDescription: "Wir benötigen einige Dokumente, um Ihr Konto zu schützen und den rechtlichen und Lizenzanforderungen zu entsprechen.",
|
|
90
|
+
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
91
|
+
kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
|
|
88
92
|
download: "Download",
|
|
89
93
|
Age: "Age",
|
|
90
94
|
Aml: "AML",
|
|
@@ -149,6 +153,8 @@ let u = {
|
|
|
149
153
|
chooseDocument: "Choose Document",
|
|
150
154
|
kycTitle: "Verificarea contului",
|
|
151
155
|
kycDescription: "Avem nevoie de câteva documente pentru a proteja contul dvs. și pentru a respecta cerințele legale și de licență.",
|
|
156
|
+
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
157
|
+
kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
|
|
152
158
|
download: "Download",
|
|
153
159
|
Age: "Age",
|
|
154
160
|
Aml: "AML",
|
|
@@ -213,6 +219,8 @@ let u = {
|
|
|
213
219
|
chooseDocument: "Choose Document",
|
|
214
220
|
kycTitle: "Vérification de compte",
|
|
215
221
|
kycDescription: "Nous avons besoin de certains documents pour protéger votre compte et pour nous conformer aux exigences légales et de licence.",
|
|
222
|
+
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
223
|
+
kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
|
|
216
224
|
download: "Download",
|
|
217
225
|
Age: "Age",
|
|
218
226
|
Aml: "AML",
|
|
@@ -277,6 +285,8 @@ let u = {
|
|
|
277
285
|
chooseDocument: "Choose Document",
|
|
278
286
|
kycTitle: "التحقق من الحساب",
|
|
279
287
|
kycDescription: "نحتاج إلى بعض الوثائق لحماية حسابك والامتثال للمتطلبات القانونية والترخيص.",
|
|
288
|
+
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
289
|
+
kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
|
|
280
290
|
download: "Download",
|
|
281
291
|
Age: "Age",
|
|
282
292
|
Aml: "AML",
|
|
@@ -341,6 +351,8 @@ let u = {
|
|
|
341
351
|
chooseDocument: "Odaberite Dokument",
|
|
342
352
|
kycTitle: "Verifikacija računa",
|
|
343
353
|
kycDescription: "Potrebni su nam neki dokumenti kako bismo zaštitili vaš račun i kako bismo se pridržavali zakonskih i licencijskih zahtjeva.",
|
|
354
|
+
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
355
|
+
kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
|
|
344
356
|
download: "Preuzmi",
|
|
345
357
|
Age: "Dob",
|
|
346
358
|
Aml: "AML",
|
|
@@ -467,6 +479,8 @@ let u = {
|
|
|
467
479
|
chooseDocument: "Escolher documento",
|
|
468
480
|
kycTitle: "Verificação de Conta",
|
|
469
481
|
kycDescription: "Solicitamos alguns documentos para proteger sua conta e cumprir requisitos legais e de licença.",
|
|
482
|
+
kycVerifiedDescription: "Boas notícias! A sua conta foi verificada. Está tudo pronto, entre e divirta-se com os jogos. Obrigado por jogar connosco!",
|
|
483
|
+
kycFailedDescription: "Precisamos de imagens mais nítidas para verificar a sua conta. Por favor, envie fotos com melhor qualidade para concluir esta etapa — isto ajuda a manter a sua conta segura. Obrigado.",
|
|
470
484
|
download: "Baixar",
|
|
471
485
|
Age: "Idade",
|
|
472
486
|
Aml: "AML",
|
|
@@ -580,63 +594,63 @@ let u = {
|
|
|
580
594
|
Voucher: "Voucher"
|
|
581
595
|
}
|
|
582
596
|
};
|
|
583
|
-
const y = (e) => new Promise((
|
|
584
|
-
fetch(e).then((
|
|
585
|
-
Object.keys(
|
|
597
|
+
const y = (e) => new Promise((i) => {
|
|
598
|
+
fetch(e).then((n) => n.json()).then((n) => {
|
|
599
|
+
Object.keys(n).forEach((o) => {
|
|
586
600
|
u[o] || (u[o] = {});
|
|
587
|
-
for (let a in
|
|
588
|
-
u[o][a] =
|
|
589
|
-
}),
|
|
601
|
+
for (let a in n[o])
|
|
602
|
+
u[o][a] = n[o][a];
|
|
603
|
+
}), i(!0);
|
|
590
604
|
});
|
|
591
|
-
}), s = (e,
|
|
592
|
-
const o =
|
|
605
|
+
}), s = (e, i, n) => {
|
|
606
|
+
const o = i;
|
|
593
607
|
return u[o !== void 0 && o in u ? o : b][e];
|
|
594
608
|
}, P = (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)), c = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
595
|
-
function g(e,
|
|
609
|
+
function g(e, i) {
|
|
596
610
|
if (e) {
|
|
597
|
-
const
|
|
598
|
-
|
|
611
|
+
const n = document.createElement("style");
|
|
612
|
+
n.innerHTML = i, e.appendChild(n);
|
|
599
613
|
}
|
|
600
614
|
}
|
|
601
|
-
function v(e,
|
|
602
|
-
if (!e || !
|
|
615
|
+
function v(e, i) {
|
|
616
|
+
if (!e || !i)
|
|
603
617
|
return;
|
|
604
|
-
const
|
|
605
|
-
fetch(
|
|
618
|
+
const n = new URL(i);
|
|
619
|
+
fetch(n.href).then((o) => o.text()).then((o) => {
|
|
606
620
|
const a = document.createElement("style");
|
|
607
621
|
a.innerHTML = o, e && e.appendChild(a);
|
|
608
622
|
}).catch((o) => {
|
|
609
623
|
console.error("There was an error while trying to load client styling from URL", o);
|
|
610
624
|
});
|
|
611
625
|
}
|
|
612
|
-
function D(e,
|
|
626
|
+
function D(e, i, n, o = !1) {
|
|
613
627
|
if (!window.emMessageBus)
|
|
614
628
|
return;
|
|
615
629
|
if (!("adoptedStyleSheets" in Document.prototype) || !o)
|
|
616
|
-
return
|
|
617
|
-
window[c] || (window[c] = {}),
|
|
618
|
-
const r =
|
|
619
|
-
if (window[c][
|
|
620
|
-
const l = window[c][
|
|
621
|
-
l.refCount > 1 ? l.refCount = l.refCount - 1 : delete window[c][
|
|
630
|
+
return n = O(e, i), n;
|
|
631
|
+
window[c] || (window[c] = {}), n = I(e, i);
|
|
632
|
+
const r = n.unsubscribe.bind(n), d = () => {
|
|
633
|
+
if (window[c][i]) {
|
|
634
|
+
const l = window[c][i];
|
|
635
|
+
l.refCount > 1 ? l.refCount = l.refCount - 1 : delete window[c][i];
|
|
622
636
|
}
|
|
623
637
|
r();
|
|
624
638
|
};
|
|
625
|
-
return
|
|
639
|
+
return n.unsubscribe = d, n;
|
|
626
640
|
}
|
|
627
|
-
function O(e,
|
|
628
|
-
const
|
|
629
|
-
return window.emMessageBus.subscribe(
|
|
630
|
-
e && (
|
|
641
|
+
function O(e, i) {
|
|
642
|
+
const n = document.createElement("style");
|
|
643
|
+
return window.emMessageBus.subscribe(i, (o) => {
|
|
644
|
+
e && (n.innerHTML = o, e.appendChild(n));
|
|
631
645
|
});
|
|
632
646
|
}
|
|
633
|
-
function I(e,
|
|
634
|
-
return window.emMessageBus.subscribe(
|
|
647
|
+
function I(e, i) {
|
|
648
|
+
return window.emMessageBus.subscribe(i, (n) => {
|
|
635
649
|
if (!e)
|
|
636
650
|
return;
|
|
637
651
|
const o = e.getRootNode(), a = window[c];
|
|
638
|
-
let r = a[
|
|
639
|
-
r ? a[
|
|
652
|
+
let r = a[i] && a[i].sheet;
|
|
653
|
+
r ? a[i].refCount = a[i].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(n), a[i] = {
|
|
640
654
|
sheet: r,
|
|
641
655
|
refCount: 1
|
|
642
656
|
});
|
|
@@ -664,7 +678,7 @@ button, select {
|
|
|
664
678
|
margin: 15px;
|
|
665
679
|
font-weight: var(--emw--font-weight-semibold, 500);
|
|
666
680
|
}
|
|
667
|
-
.player-kyc-verification-widget .widget-description {
|
|
681
|
+
.player-kyc-verification-widget .widget-description, .player-kyc-verification-widget .widget-description-verified, .player-kyc-verification-widget .widget-description-failed {
|
|
668
682
|
margin: 24px 0px;
|
|
669
683
|
}
|
|
670
684
|
.player-kyc-verification-widget .verification-types {
|
|
@@ -826,9 +840,9 @@ button, select {
|
|
|
826
840
|
}
|
|
827
841
|
}`, F = B, A = class {
|
|
828
842
|
constructor(e) {
|
|
829
|
-
|
|
843
|
+
C(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = P(this.userAgent), this.handleToggleScreen = () => {
|
|
830
844
|
this.toggleScreen(this.isMobile);
|
|
831
|
-
}, this.hideVulnerabilityCheck = "false", 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.hideKycDescription = "false", this.verificationType = [], this.
|
|
845
|
+
}, this.hideVulnerabilityCheck = "false", 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.hideKycDescription = "false", this.verificationType = [], this.hasAllDocumentsUploaded = !1, this.verificationsGeneralStatus = void 0, this.isLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.expandedOnDesktop = !1;
|
|
832
846
|
}
|
|
833
847
|
handleNewTranslations() {
|
|
834
848
|
this.isLoading = !0, y(this.translationUrl).then(() => {
|
|
@@ -838,17 +852,17 @@ button, select {
|
|
|
838
852
|
async componentWillLoad() {
|
|
839
853
|
this.translationUrl.length > 2 && await y(this.translationUrl);
|
|
840
854
|
}
|
|
841
|
-
handleClientStylingChange(e,
|
|
842
|
-
e !=
|
|
855
|
+
handleClientStylingChange(e, i) {
|
|
856
|
+
e != i && g(this.stylingContainer, this.clientStyling);
|
|
843
857
|
}
|
|
844
|
-
handleClientStylingUrlChange(e,
|
|
845
|
-
e !=
|
|
858
|
+
handleClientStylingUrlChange(e, i) {
|
|
859
|
+
e != i && this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl);
|
|
846
860
|
}
|
|
847
861
|
async componentDidLoad() {
|
|
848
862
|
this.stylingContainer && (window.emMessageBus != null ? D(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && g(this.stylingContainer, this.clientStyling), this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0);
|
|
849
863
|
try {
|
|
850
864
|
let e = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);
|
|
851
|
-
const
|
|
865
|
+
const i = {
|
|
852
866
|
method: "POST",
|
|
853
867
|
headers: {
|
|
854
868
|
"X-SessionId": this.session,
|
|
@@ -856,62 +870,67 @@ button, select {
|
|
|
856
870
|
},
|
|
857
871
|
body: JSON.stringify({})
|
|
858
872
|
};
|
|
859
|
-
fetch(e.href,
|
|
860
|
-
if (
|
|
861
|
-
return
|
|
862
|
-
throw new Error("HTTP status " +
|
|
863
|
-
}).then((
|
|
873
|
+
fetch(e.href, i).then((n) => {
|
|
874
|
+
if (n.status === 200)
|
|
875
|
+
return n.json();
|
|
876
|
+
throw new Error("HTTP status " + n.status);
|
|
877
|
+
}).then((n) => {
|
|
864
878
|
var o;
|
|
865
|
-
this.verificationType =
|
|
879
|
+
this.verificationType = n.verifications, this.hideKycDescription === "true" && ((o = this.verificationType) === null || o === void 0 ? void 0 : o.length) > 0 && (this.hasAllDocumentsUploaded = this.verificationType.every((a) => {
|
|
866
880
|
var r;
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
881
|
+
if (a?.documents.length !== 0)
|
|
882
|
+
return (r = a?.documents) === null || r === void 0 ? void 0 : r.some((d) => d.status === "Uploaded");
|
|
883
|
+
}), this.verificationsGeneralStatus = this.getGeneralVerificationStatus(this.verificationType));
|
|
884
|
+
}).catch((n) => {
|
|
885
|
+
console.error(n);
|
|
871
886
|
});
|
|
872
887
|
} catch (e) {
|
|
873
888
|
console.error("Error fetching verification types:", e);
|
|
874
889
|
}
|
|
875
890
|
}
|
|
891
|
+
getGeneralVerificationStatus(e) {
|
|
892
|
+
const i = e?.map((n) => n.status.toLowerCase());
|
|
893
|
+
return i.includes("failed") ? "Failed" : i.includes("expired") ? "Expired" : i.includes("inprogress") ? "InProgress" : i.every((n) => n === "verified") ? "Verified" : "Unknown";
|
|
894
|
+
}
|
|
876
895
|
disconnectedCallback() {
|
|
877
896
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
878
897
|
}
|
|
879
|
-
handleOptionChange(e,
|
|
880
|
-
const
|
|
881
|
-
this.verificationType = this.verificationType.map((o) => (o.type ===
|
|
898
|
+
handleOptionChange(e, i) {
|
|
899
|
+
const n = e.target;
|
|
900
|
+
this.verificationType = this.verificationType.map((o) => (o.type === i && (o.optionChosen = n.value), o));
|
|
882
901
|
}
|
|
883
|
-
handleDocumentsStatus(e,
|
|
902
|
+
handleDocumentsStatus(e, i, n) {
|
|
884
903
|
this.verificationType = this.verificationType.map((o) => {
|
|
885
904
|
if (o.type === e) {
|
|
886
|
-
const a = o.documents.find((r) => r.code ===
|
|
887
|
-
a && (a.statusUploaded =
|
|
905
|
+
const a = o.documents.find((r) => r.code === n);
|
|
906
|
+
a && (a.statusUploaded = i);
|
|
888
907
|
}
|
|
889
908
|
return o;
|
|
890
909
|
});
|
|
891
910
|
}
|
|
892
911
|
downloadPDF(e) {
|
|
893
|
-
const
|
|
894
|
-
|
|
912
|
+
const i = document.createElement("a");
|
|
913
|
+
i.href = e, i.download = "file.pdf", i.target = "_blank", i.dispatchEvent(new MouseEvent("click"));
|
|
895
914
|
}
|
|
896
|
-
toggleVerificationType(e,
|
|
897
|
-
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((
|
|
915
|
+
toggleVerificationType(e, i) {
|
|
916
|
+
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((n) => {
|
|
898
917
|
var o;
|
|
899
|
-
return
|
|
918
|
+
return n.type === e && ((o = n.flowInfo) === null || o === void 0 ? void 0 : o.type) == i && (n.expanded = !n.expanded), n;
|
|
900
919
|
});
|
|
901
920
|
}
|
|
902
921
|
toggleScreen(e) {
|
|
903
922
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: e }, window.location.href);
|
|
904
923
|
}
|
|
905
924
|
checkFileSize(e) {
|
|
906
|
-
let
|
|
907
|
-
return Object.keys(e).forEach((
|
|
908
|
-
|
|
909
|
-
}),
|
|
925
|
+
let i = 0;
|
|
926
|
+
return Object.keys(e).forEach((n) => {
|
|
927
|
+
i += e[n].size;
|
|
928
|
+
}), i <= this.MAX_UPLOAD_SIZE;
|
|
910
929
|
}
|
|
911
|
-
handleFileSelection(e,
|
|
930
|
+
handleFileSelection(e, i, n) {
|
|
912
931
|
if (e && e.length > 0)
|
|
913
932
|
if (this.selectedFile = e, !this.checkFileSize(this.selectedFile))
|
|
914
|
-
console.error(s("fileSizeExceeded", this.language)), this.uploadingStatus = s("fileSizeExceeded", this.language), this.handleDocumentsStatus(
|
|
933
|
+
console.error(s("fileSizeExceeded", this.language)), this.uploadingStatus = s("fileSizeExceeded", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i), this.uploadSizeExceeded = !0;
|
|
915
934
|
else {
|
|
916
935
|
const o = {
|
|
917
936
|
method: "POST",
|
|
@@ -919,37 +938,37 @@ button, select {
|
|
|
919
938
|
"Content-Type": "application/json",
|
|
920
939
|
"X-SessionId": this.session
|
|
921
940
|
},
|
|
922
|
-
body: JSON.stringify({ DocumentCode:
|
|
941
|
+
body: JSON.stringify({ DocumentCode: i })
|
|
923
942
|
};
|
|
924
943
|
fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, o).then((a) => {
|
|
925
944
|
if (a.ok)
|
|
926
|
-
return this.uploadingStatus = s("uploading", this.language), this.handleDocumentsStatus(
|
|
945
|
+
return this.uploadingStatus = s("uploading", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i), a.json();
|
|
927
946
|
}).then((a) => {
|
|
928
947
|
if (a.ResponseCode == "Success") {
|
|
929
948
|
const r = new FormData();
|
|
930
|
-
r.append(
|
|
931
|
-
d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = s("successUploadMultipleFiles", this.language) : this.uploadingStatus = s("successUpload", this.language), this.handleDocumentsStatus(
|
|
949
|
+
r.append(i, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: r }).then((d) => {
|
|
950
|
+
d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = s("successUploadMultipleFiles", this.language) : this.uploadingStatus = s("successUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i)) : (this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i), console.error("File upload error:", d.status));
|
|
932
951
|
}).catch((d) => {
|
|
933
952
|
console.error("File upload error:", d);
|
|
934
953
|
});
|
|
935
954
|
} else
|
|
936
|
-
this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(
|
|
955
|
+
this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(n, this.uploadingStatus, i);
|
|
937
956
|
}).catch((a) => {
|
|
938
957
|
console.error("File upload error:", a);
|
|
939
958
|
});
|
|
940
959
|
}
|
|
941
960
|
}
|
|
942
961
|
importScript(e) {
|
|
943
|
-
return new Promise((
|
|
962
|
+
return new Promise((i, n) => {
|
|
944
963
|
fetch(e).then((o) => o.text()).then((o) => {
|
|
945
964
|
if (new Function(o)(), this.scriptInjected)
|
|
946
|
-
|
|
965
|
+
i(!0);
|
|
947
966
|
else {
|
|
948
967
|
const r = document.createElement("script");
|
|
949
|
-
r.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(r), this.scriptInjected = !0,
|
|
968
|
+
r.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(r), this.scriptInjected = !0, i(!0);
|
|
950
969
|
}
|
|
951
970
|
}).catch((o) => {
|
|
952
|
-
|
|
971
|
+
n(o);
|
|
953
972
|
});
|
|
954
973
|
});
|
|
955
974
|
}
|
|
@@ -957,35 +976,46 @@ button, select {
|
|
|
957
976
|
return !!(e && e.status === "Uploaded");
|
|
958
977
|
}
|
|
959
978
|
getFirstRequestedDocument(e) {
|
|
960
|
-
var
|
|
979
|
+
var i, n;
|
|
961
980
|
let o;
|
|
962
|
-
return (
|
|
981
|
+
return (i = e?.documents) === null || i === void 0 || i.forEach((a) => {
|
|
963
982
|
a.status == "Requested" && (o = o ?? a.code);
|
|
964
|
-
}), o || (o = (
|
|
983
|
+
}), o || (o = (n = e?.documents[0]) === null || n === void 0 ? void 0 : n.code), o;
|
|
984
|
+
}
|
|
985
|
+
renderDescription(e) {
|
|
986
|
+
const i = this.hideKycDescription === "true" && this.hasAllDocumentsUploaded;
|
|
987
|
+
switch (e) {
|
|
988
|
+
case "Verified":
|
|
989
|
+
return t("div", { class: "widget-description-verified" }, s("kycVerifiedDescription", this.language));
|
|
990
|
+
case "Failed":
|
|
991
|
+
return t("div", { class: "widget-description-failed" }, s("kycFailedDescription", this.language));
|
|
992
|
+
default:
|
|
993
|
+
return i ? null : t("div", { class: "widget-description" }, s("kycDescription", this.language));
|
|
994
|
+
}
|
|
965
995
|
}
|
|
966
996
|
renderVerificationTypeBox(e) {
|
|
967
997
|
this.expandedOnDesktop && (e.expanded = !0);
|
|
968
|
-
let
|
|
998
|
+
let i = this.getFirstRequestedDocument(e), n = e.expanded, o = e.type.trim(), a = e.optionChosen || i, r = e.status, d = e.documents, l = e.flowInfo;
|
|
969
999
|
const f = r === "Verified", p = r === "Failed" || r === "Expired";
|
|
970
|
-
return f && o === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" ? null :
|
|
971
|
-
var
|
|
972
|
-
return this.toggleVerificationType(e.type, (
|
|
973
|
-
} },
|
|
1000
|
+
return f && o === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" ? null : t("div", { class: `verification-box ${n ? "expanded" : ""} ${p ? "failed" : ""} ${f ? "success" : ""}` }, t("div", { class: `box box-header ${n ? "expanded" : ""}`, onClick: () => {
|
|
1001
|
+
var h;
|
|
1002
|
+
return this.toggleVerificationType(e.type, (h = e.flowInfo) === null || h === void 0 ? void 0 : h.type);
|
|
1003
|
+
} }, t("div", { class: "box-icon" }, f ? t("div", null, this.verifiedIcon ? t("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : t("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), t("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), t("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : p ? t("div", null, this.failedIcon ? t("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : t("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), t("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), t("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : t("div", null, this.defaultIcon ? t("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : t("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("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" }), t("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), t("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), t("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), t("div", { class: "box-title" }, s(o, this.language)), t("div", { class: "chevron-icon" }, t("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" }, t("path", { d: n ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), n ? this.renderExpandedContent(e, a, r, d, l, f, p) : t("div", { class: "box box-content" }, t("div", { id: "__avs-wrapper" })));
|
|
974
1004
|
}
|
|
975
|
-
renderDocumentsActions(e,
|
|
976
|
-
return
|
|
1005
|
+
renderDocumentsActions(e, i, n) {
|
|
1006
|
+
return t("div", null, this.isStatusUploaded(e) ? t("div", { class: "upload-status" }, s("uploaded", this.language)) : e?.statusUploaded ? t("div", { class: "upload-status" }, e?.statusUploaded) : t("div", { class: "documents-action" }, t("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? t("button", { class: "download-button", onClick: () => this.downloadPDF(e?.sampleUrl) }, t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("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, #22B04E))" }), t("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), t("span", null, s("download", this.language))) : null), t("div", { class: "upload-button" }, i ? t("label", null, t("input", { type: "file", accept: "*", onChange: (o) => this.handleFileSelection(o.target.files, i, n.type), style: { display: "none" } }), t("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), t("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), t("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
|
|
977
1007
|
}
|
|
978
|
-
renderExpandedContent(e,
|
|
1008
|
+
renderExpandedContent(e, i, n, o, a, r, d) {
|
|
979
1009
|
if (a?.type === "Widget")
|
|
980
|
-
return
|
|
981
|
-
if (a?.type === "Redirect" && e.vendorName !== "Manual" &&
|
|
1010
|
+
return t("div", null, t("hr", { style: { margin: "5px" } }), t("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
|
|
1011
|
+
if (a?.type === "Redirect" && e.vendorName !== "Manual" && n !== "Verified") {
|
|
982
1012
|
const l = e.vendorName === "ShuftiPro" ? "650px" : "400px";
|
|
983
|
-
return
|
|
1013
|
+
return t("div", null, t("hr", { style: { margin: "5px" } }), t("iframe", { src: a.url, frameborder: "0", height: l, width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
|
|
984
1014
|
} else
|
|
985
|
-
return
|
|
1015
|
+
return t("div", { class: "box box-content" }, t(m, null, r ? t("div", { class: "verification-status" }, s("verificationComplete", this.language)) : d ? t("div", { class: "verification-status" }, n === "Failed" ? s("verificationFailed", this.language) : s("verificationExpired", this.language)) : o.length > 0 ? t("div", { class: "documents-dropdown" }, t("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, o.map((l) => t("option", { selected: l.code == i, value: l.code }, s(l.type, this.language)))), this.renderDocumentsActions(o.find((l) => l.code === i), i, e)) : null));
|
|
986
1016
|
}
|
|
987
1017
|
render() {
|
|
988
|
-
return this.isLoading ?
|
|
1018
|
+
return this.isLoading ? t("div", null, t("p", null, s("loading", this.language))) : t("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, t("div", { class: "player-kyc-verification-widget" }, this.isMobile ? t("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, t("defs", null), t("g", { transform: "translate(-20 -158)" }, t("g", { transform: "translate(20 158)" }, t("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)" })))), t("h2", null, s("kycTitle", this.language))) : t("h2", null, s("kycTitle", this.language)), this.verificationType.length === 0 ? t("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, s("noVerificationRequired", this.language)) : t(m, null, this.hideKycDescription === "true" ? this.renderDescription(this.verificationsGeneralStatus) : t("div", { class: "widget-description" }, " ", s("kycDescription", this.language)), t("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
|
|
989
1019
|
}
|
|
990
1020
|
static get watchers() {
|
|
991
1021
|
return {
|