@everymatrix/player-account-controller 1.90.5 → 1.91.0
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-DGKUWyRD.cjs → GeneralLogout-CZx06fEj.cjs} +1 -1
- package/components/{GeneralLogout-BnQOP74_.js → GeneralLogout-CfTLK2Bc.js} +1 -1
- package/components/{GeneralLogout-BNUwwzyl.js → GeneralLogout-hD19E-Zw.js} +1 -1
- package/components/{PlayerAccountBettingHistory-DG0zQxNZ.js → PlayerAccountBettingHistory-CA7auAML.js} +1 -1
- package/components/{PlayerAccountBettingHistory-DDMO9gCv.cjs → PlayerAccountBettingHistory-CktRMlqd.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-B4fQPNr0.js → PlayerAccountBettingHistory-DqxCb3Vd.js} +1 -1
- package/components/{PlayerAccountBiometrics-BgT5tMhz.js → PlayerAccountBiometrics-BkD_4qfK.js} +2 -2
- package/components/{PlayerAccountBiometrics-BcwR5r75.js → PlayerAccountBiometrics-SFhwP7hC.js} +2 -2
- package/components/{PlayerAccountBiometrics-DFt1FrMX.cjs → PlayerAccountBiometrics-_e_GPij0.cjs} +1 -1
- package/components/{PlayerAccountBiometricsAction-jtPdoq0y.js → PlayerAccountBiometricsAction-1lBtdXlm.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-CtOg7kXp.js → PlayerAccountBiometricsAction-BNbtq7KV.js} +1 -1
- package/components/{PlayerAccountBiometricsAction-9f4bgV0t.cjs → PlayerAccountBiometricsAction-y4GZTxcT.cjs} +1 -1
- package/components/{PlayerAccountClosure-Boi7Y0L3.js → PlayerAccountClosure-BVmcfM4z.js} +1 -1
- package/components/{PlayerAccountClosure-BK5acBSS.js → PlayerAccountClosure-BicB6rYD.js} +1 -1
- package/components/{PlayerAccountClosure-BpWL0dTt.cjs → PlayerAccountClosure-D7HxqU1N.cjs} +1 -1
- package/components/{PlayerAccountController-CpTVyX1P.js → PlayerAccountController-B1uYSIz3.js} +23 -23
- package/components/{PlayerAccountController-k535URvq.cjs → PlayerAccountController-Cfjy33Ek.cjs} +2 -2
- package/components/{PlayerAccountController-B4QRBq2b.js → PlayerAccountController-RTgAeQIt.js} +23 -23
- package/components/{PlayerAccountGamingLimits-CNApmzGk.js → PlayerAccountGamingLimits-8cX20yx0.js} +2 -2
- package/components/{PlayerAccountGamingLimits-DPMS8JOi.js → PlayerAccountGamingLimits-9nxBFWJ_.js} +2 -2
- package/components/{PlayerAccountGamingLimits-DfJkmem-.cjs → PlayerAccountGamingLimits-Dx5_vi1Q.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-2GVpI2Gx.cjs → PlayerAccountGamingLimitsConfirmationModal-BF_ch2qb.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BiXtvdF2.js → PlayerAccountGamingLimitsConfirmationModal-CJgc8OTg.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-Bd_ltgUx.js → PlayerAccountGamingLimitsConfirmationModal-Y-C4A1I2.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-DJVS3p-u.js → PlayerAccountGamingLimitsGroupEdit-CEM4at0P.js} +5 -5
- package/components/{PlayerAccountGamingLimitsGroupEdit-C3IfurbS.cjs → PlayerAccountGamingLimitsGroupEdit-D-yNkbWZ.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-CFCejIdt.js → PlayerAccountGamingLimitsGroupEdit-DejiPaBu.js} +5 -5
- package/components/{PlayerAccountGamingLimitsHistory2-D0skB45L.js → PlayerAccountGamingLimitsHistory2-320drqSz.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-3v8TyKMv.js → PlayerAccountGamingLimitsHistory2-BiTbzLOf.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-D2VCotRI.cjs → PlayerAccountGamingLimitsHistory2-CJzOaUU_.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CoSrTnAO.js → PlayerAccountGamingLimitsInfoCard-DDu6HRZw.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-DQcv8k0z.js → PlayerAccountGamingLimitsInfoCard-DFDthU1l.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-_5vTXubv.cjs → PlayerAccountGamingLimitsInfoCard-oZ_FtdRr.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DOWJ5tPD.js → PlayerAccountGamingLimitsPage2Gm16-CPTiY5Gi.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-CyVDl_NL.cjs → PlayerAccountGamingLimitsPage2Gm16-Cax6QJLC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-BzcL8jHC.js → PlayerAccountGamingLimitsPage2Gm16-DROry-l8.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BhZxVIdl.js → PlayerAccountGamingLimitsPopup-Bkweu2PX.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-Di98DTnN.js → PlayerAccountGamingLimitsPopup-D89lxHJp.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BmoEqCrg.cjs → PlayerAccountGamingLimitsPopup-D8YDDkab.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-CRDw8gj0.cjs → PlayerAccountGamingLimitsWrapper2-BGsrIa9G.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DB1FIJEc.js → PlayerAccountGamingLimitsWrapper2-BT8njqvW.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-Ddwy3KCN.js → PlayerAccountGamingLimitsWrapper2-kXLXzvuq.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-DqYWOpCe.js → PlayerAccountGeneralConfirmationModal-CUnk1KbD.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-C-04Q0tE.cjs → PlayerAccountGeneralConfirmationModal-DD6-ZM6O.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-Co_gOovh.js → PlayerAccountGeneralConfirmationModal-D_pYKyRi.js} +1 -1
- package/components/{PlayerAccountMenu-BahHoBix.cjs → PlayerAccountMenu-B3wxhtKr.cjs} +1 -1
- package/components/{PlayerAccountMenu-CiW3i180.js → PlayerAccountMenu-C2qI1Gjj.js} +2 -2
- package/components/{PlayerAccountMenu-CsUNbc5S.js → PlayerAccountMenu-DK810GKe.js} +2 -2
- package/components/{PlayerAccountModal-Dkop2eBI.cjs → PlayerAccountModal-BqZx6Q1_.cjs} +1 -1
- package/components/{PlayerAccountModal-DqWSPpwI.js → PlayerAccountModal-CgbTqk4Z.js} +1 -1
- package/components/{PlayerAccountModal-uE-VYCiQ.js → PlayerAccountModal-LSGvdqwB.js} +1 -1
- package/components/{PlayerAccountNotifications-Dslx-_LW.js → PlayerAccountNotifications-BQ9xn1VL.js} +1 -1
- package/components/{PlayerAccountNotifications-D_PA9eL5.cjs → PlayerAccountNotifications-CNdLGJFQ.cjs} +1 -1
- package/components/{PlayerAccountNotifications-BjCQJ6RU.js → PlayerAccountNotifications-u-d--KIi.js} +1 -1
- package/components/{PlayerAccountProductRestriction-DFeo_snB.cjs → PlayerAccountProductRestriction-DBZ66u9m.cjs} +1 -1
- package/components/{PlayerAccountProductRestriction-BfxsiMMp.js → PlayerAccountProductRestriction-DzSoX2xT.js} +3 -3
- package/components/{PlayerAccountProductRestriction-CKGqGcUo.js → PlayerAccountProductRestriction-hNSYwwQJ.js} +3 -3
- package/components/{PlayerAccountReviewFrequency-IKDsRU-v.js → PlayerAccountReviewFrequency-B1ken94Z.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-BLOgfJPj.cjs → PlayerAccountReviewFrequency-BhTI5ygr.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-fpLNMn0K.js → PlayerAccountReviewFrequency-BwxBa9uB.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-Bo54IDJp.cjs → PlayerAccountSelfExclusion-BEiUYvo8.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-WBQvhEKO.js → PlayerAccountSelfExclusion-BcTJOKLt.js} +2 -2
- package/components/{PlayerAccountSelfExclusion-Cqec4xJ3.js → PlayerAccountSelfExclusion-BgretRDx.js} +2 -2
- package/components/{PlayerAccountTimeout-X4zwcOGR.cjs → PlayerAccountTimeout-BQNMtPRB.cjs} +2 -2
- package/components/{PlayerAccountTimeout-DhEUqXJ0.js → PlayerAccountTimeout-Dc8BBO2V.js} +3 -3
- package/components/{PlayerAccountTimeout-DPbO9kjx.js → PlayerAccountTimeout-vy__wvIh.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-DGFDn2l4.js → PlayerAccountTransactionsHistory-Co83Xe7f.js} +4 -4
- package/components/{PlayerAccountTransactionsHistory-CVbRpH3x.cjs → PlayerAccountTransactionsHistory-DmXGYQDM.cjs} +1 -1
- package/components/{PlayerAccountTransactionsHistory-CCDm4DRA.js → PlayerAccountTransactionsHistory-dOFdBYm7.js} +4 -4
- package/components/{PlayerActiveBonuses-CZxDeXIe.js → PlayerActiveBonuses-CWQdnuVo.js} +2 -2
- package/components/{PlayerActiveBonuses-CmlFjMEh.cjs → PlayerActiveBonuses-Dp5ZJgik.cjs} +1 -1
- package/components/{PlayerActiveBonuses-CnNaJLfc.js → PlayerActiveBonuses-v2Qt6nA5.js} +2 -2
- package/components/{PlayerBonusCard-CqhoM4gS.js → PlayerBonusCard-BPNrGywL.js} +2 -2
- package/components/{PlayerBonusCard-CEQqRDOf.js → PlayerBonusCard-CC3I7Uun.js} +2 -2
- package/components/{PlayerBonusCard-sjXg9Pf_.cjs → PlayerBonusCard-ju9yDt9H.cjs} +1 -1
- package/components/{PlayerBonusHistory-DC8KonkM.js → PlayerBonusHistory-B6tJiRPL.js} +2 -2
- package/components/{PlayerBonusHistory-D7T0B7bp.js → PlayerBonusHistory-BEcvSevy.js} +2 -2
- package/components/{PlayerBonusHistory-BKkDOVkD.cjs → PlayerBonusHistory-DBQ6rFhB.cjs} +1 -1
- package/components/{PlayerChangePassword-C4EmqLx_.js → PlayerChangePassword-1DgloKUI.js} +1 -1
- package/components/{PlayerChangePassword-vROWQN6o.cjs → PlayerChangePassword-TqYGnJRR.cjs} +1 -1
- package/components/{PlayerChangePassword-BR4PBJYd.js → PlayerChangePassword-oyX7WtIB.js} +1 -1
- package/components/{PlayerDeposit-CadEdEdX.js → PlayerDeposit-Ae3zKmKx.js} +1 -1
- package/components/{PlayerDeposit-KjnI4xkU.js → PlayerDeposit-B6wgBKOs.js} +1 -1
- package/components/{PlayerDeposit-0gPeIHmq.cjs → PlayerDeposit-C5Q6t3-y.cjs} +1 -1
- package/components/{PlayerGamingHistory-D4AZY0ab.js → PlayerGamingHistory-B0n_kQiV.js} +3 -3
- package/components/{PlayerGamingHistory-DdIsznW5.js → PlayerGamingHistory-C_lmfCru.js} +3 -3
- package/components/{PlayerGamingHistory-CjDSWIuT.cjs → PlayerGamingHistory-DuE6DQ-m.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-DS_wShjF.js → PlayerPendingWithdrawals-BYWg7-_P.js} +1 -1
- package/components/{PlayerPendingWithdrawals-DaszVwJH.js → PlayerPendingWithdrawals-BqXkv2-Y.js} +1 -1
- package/components/{PlayerPendingWithdrawals-D7LHJmYK.cjs → PlayerPendingWithdrawals-D0CqKeVG.cjs} +1 -1
- package/components/{PlayerProfileInfo-BNY8t0J6.cjs → PlayerProfileInfo-C-J7FN_C.cjs} +1 -1
- package/components/{PlayerProfileInfo-CLBlZVBz.js → PlayerProfileInfo-DTNpqqu6.js} +2 -2
- package/components/{PlayerProfileInfo-oyCqMP9X.js → PlayerProfileInfo-iRKwx8zy.js} +2 -2
- package/components/{PlayerRealityCheck-EBVGtwyn.js → PlayerRealityCheck-BVugi2xm.js} +1 -1
- package/components/{PlayerRealityCheck-CKB-HHqM.js → PlayerRealityCheck-DpLxecMn.js} +1 -1
- package/components/{PlayerRealityCheck-BzC-WYkd.cjs → PlayerRealityCheck-q7yC_T2b.cjs} +1 -1
- package/components/{PlayerTransactionHistory-CHppx0Ul.js → PlayerTransactionHistory-BFLvQwa2.js} +1 -1
- package/components/{PlayerTransactionHistory-C6CcqRIu.js → PlayerTransactionHistory-DNgb0l0d.js} +1 -1
- package/components/{PlayerTransactionHistory-COxLY8XM.cjs → PlayerTransactionHistory-DnU7U9r2.cjs} +1 -1
- package/components/{PlayerWithdrawal-D8NO_qwr.js → PlayerWithdrawal-BYEfF5HL.js} +1 -1
- package/components/{PlayerWithdrawal-E-aPHPOs.js → PlayerWithdrawal-DNO0w4Mf.js} +1 -1
- package/components/{PlayerWithdrawal-Cjeuqcvz.cjs → PlayerWithdrawal-q2z7ub8O.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/{index-9c0f6c58-DnbhPPTI.cjs → index-9c0f6c58-Bd8abek0.cjs} +1 -1
- package/stencil/{index-9c0f6c58-CK57ve5P.js → index-9c0f6c58-DEdG7mVW.js} +1 -1
- package/stencil/{index-9c0f6c58-P8h0R10S.js → index-9c0f6c58-LdtWdXWH.js} +1 -1
- package/stencil/{player-kyc-verification-C2xE1hLK.js → player-kyc-verification-BVyIvjQs.js} +96 -126
- package/stencil/player-kyc-verification-Bq0WwkeW.cjs +181 -0
- package/stencil/{player-kyc-verification-mnYQMtSn.js → player-kyc-verification-DaKmgzNJ.js} +105 -135
- package/stencil/player-kyc-verification-Cb647IzH.cjs +0 -181
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
var
|
|
1
|
+
var m = (e, t, i) => new Promise((o, a) => {
|
|
2
2
|
var r = (c) => {
|
|
3
3
|
try {
|
|
4
|
-
|
|
4
|
+
s(i.next(c));
|
|
5
5
|
} catch (u) {
|
|
6
6
|
a(u);
|
|
7
7
|
}
|
|
8
8
|
}, l = (c) => {
|
|
9
9
|
try {
|
|
10
|
-
|
|
10
|
+
s(i.throw(c));
|
|
11
11
|
} catch (u) {
|
|
12
12
|
a(u);
|
|
13
13
|
}
|
|
14
|
-
},
|
|
15
|
-
|
|
14
|
+
}, s = (c) => c.done ? o(c.value) : Promise.resolve(c.value).then(r, l);
|
|
15
|
+
s((i = i.apply(e, t)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as w, p as
|
|
17
|
+
import { b as w, p as S, r as k, h as n, F as y } from "./index-9c0f6c58-DEdG7mVW.js";
|
|
18
18
|
import { a as x } from "./app-globals-0f993ce5-XUXOuUQl.js";
|
|
19
19
|
var b = () => {
|
|
20
|
-
const e = import.meta.url,
|
|
21
|
-
return e !== "" && (
|
|
20
|
+
const e = import.meta.url, t = {};
|
|
21
|
+
return e !== "" && (t.resourcesUrl = new URL(".", e).href), S(t);
|
|
22
22
|
};
|
|
23
|
-
b().then((e) =>
|
|
24
|
-
return yield x(), w([["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],
|
|
23
|
+
b().then((e) => m(void 0, null, function* () {
|
|
24
|
+
return yield x(), w([["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], hasRequestedDocuments: [32], isLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e);
|
|
25
25
|
}));
|
|
26
26
|
const P = "en";
|
|
27
27
|
let p = {
|
|
@@ -39,8 +39,6 @@ let p = {
|
|
|
39
39
|
chooseDocument: "Choose Document",
|
|
40
40
|
kycTitle: "Account Verification",
|
|
41
41
|
kycDescription: "We require some documents to protect your account and to comply with legal and license requirements.",
|
|
42
|
-
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
43
|
-
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.",
|
|
44
42
|
download: "Download",
|
|
45
43
|
Age: "Age",
|
|
46
44
|
Aml: "AML",
|
|
@@ -105,8 +103,6 @@ let p = {
|
|
|
105
103
|
chooseDocument: "Choose Document",
|
|
106
104
|
kycTitle: "Account-Verifizierung",
|
|
107
105
|
kycDescription: "Wir benötigen einige Dokumente, um Ihr Konto zu schützen und den rechtlichen und Lizenzanforderungen zu entsprechen.",
|
|
108
|
-
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
109
|
-
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.",
|
|
110
106
|
download: "Download",
|
|
111
107
|
Age: "Age",
|
|
112
108
|
Aml: "AML",
|
|
@@ -171,8 +167,6 @@ let p = {
|
|
|
171
167
|
chooseDocument: "Choose Document",
|
|
172
168
|
kycTitle: "Verificarea contului",
|
|
173
169
|
kycDescription: "Avem nevoie de câteva documente pentru a proteja contul dvs. și pentru a respecta cerințele legale și de licență.",
|
|
174
|
-
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
175
|
-
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.",
|
|
176
170
|
download: "Download",
|
|
177
171
|
Age: "Age",
|
|
178
172
|
Aml: "AML",
|
|
@@ -237,8 +231,6 @@ let p = {
|
|
|
237
231
|
chooseDocument: "Choose Document",
|
|
238
232
|
kycTitle: "Vérification de compte",
|
|
239
233
|
kycDescription: "Nous avons besoin de certains documents pour protéger votre compte et pour nous conformer aux exigences légales et de licence.",
|
|
240
|
-
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
241
|
-
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.",
|
|
242
234
|
download: "Download",
|
|
243
235
|
Age: "Age",
|
|
244
236
|
Aml: "AML",
|
|
@@ -303,8 +295,6 @@ let p = {
|
|
|
303
295
|
chooseDocument: "Choose Document",
|
|
304
296
|
kycTitle: "التحقق من الحساب",
|
|
305
297
|
kycDescription: "نحتاج إلى بعض الوثائق لحماية حسابك والامتثال للمتطلبات القانونية والترخيص.",
|
|
306
|
-
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
307
|
-
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.",
|
|
308
298
|
download: "Download",
|
|
309
299
|
Age: "Age",
|
|
310
300
|
Aml: "AML",
|
|
@@ -369,8 +359,6 @@ let p = {
|
|
|
369
359
|
chooseDocument: "Odaberite Dokument",
|
|
370
360
|
kycTitle: "Verifikacija računa",
|
|
371
361
|
kycDescription: "Potrebni su nam neki dokumenti kako bismo zaštitili vaš račun i kako bismo se pridržavali zakonskih i licencijskih zahtjeva.",
|
|
372
|
-
kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
|
|
373
|
-
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.",
|
|
374
362
|
download: "Preuzmi",
|
|
375
363
|
Age: "Dob",
|
|
376
364
|
Aml: "AML",
|
|
@@ -497,8 +485,6 @@ let p = {
|
|
|
497
485
|
chooseDocument: "Escolher documento",
|
|
498
486
|
kycTitle: "Verificação de Conta",
|
|
499
487
|
kycDescription: "Solicitamos alguns documentos para proteger sua conta e cumprir requisitos legais e de licença.",
|
|
500
|
-
kycVerifiedDescription: "Boas notícias! A sua conta foi verificada. Está tudo pronto, entre e divirta-se com os jogos. Obrigado por jogar connosco!",
|
|
501
|
-
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.",
|
|
502
488
|
download: "Baixar",
|
|
503
489
|
Age: "Idade",
|
|
504
490
|
Aml: "AML",
|
|
@@ -612,63 +598,63 @@ let p = {
|
|
|
612
598
|
Voucher: "Voucher"
|
|
613
599
|
}
|
|
614
600
|
};
|
|
615
|
-
const g = (e) => new Promise((
|
|
616
|
-
fetch(e).then((
|
|
617
|
-
Object.keys(
|
|
601
|
+
const g = (e) => new Promise((t) => {
|
|
602
|
+
fetch(e).then((i) => i.json()).then((i) => {
|
|
603
|
+
Object.keys(i).forEach((o) => {
|
|
618
604
|
p[o] || (p[o] = {});
|
|
619
|
-
for (let a in
|
|
620
|
-
p[o][a] =
|
|
621
|
-
}),
|
|
605
|
+
for (let a in i[o])
|
|
606
|
+
p[o][a] = i[o][a];
|
|
607
|
+
}), t(!0);
|
|
622
608
|
});
|
|
623
|
-
}),
|
|
624
|
-
const o =
|
|
609
|
+
}), d = (e, t, i) => {
|
|
610
|
+
const o = t;
|
|
625
611
|
return p[o !== void 0 && o in p ? o : P][e];
|
|
626
612
|
}, D = (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)), f = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
627
|
-
function v(e,
|
|
613
|
+
function v(e, t) {
|
|
628
614
|
if (e) {
|
|
629
|
-
const
|
|
630
|
-
|
|
615
|
+
const i = document.createElement("style");
|
|
616
|
+
i.innerHTML = t, e.appendChild(i);
|
|
631
617
|
}
|
|
632
618
|
}
|
|
633
|
-
function
|
|
634
|
-
if (!e || !
|
|
619
|
+
function C(e, t) {
|
|
620
|
+
if (!e || !t)
|
|
635
621
|
return;
|
|
636
|
-
const
|
|
637
|
-
fetch(
|
|
622
|
+
const i = new URL(t);
|
|
623
|
+
fetch(i.href).then((o) => o.text()).then((o) => {
|
|
638
624
|
const a = document.createElement("style");
|
|
639
625
|
a.innerHTML = o, e && e.appendChild(a);
|
|
640
626
|
}).catch((o) => {
|
|
641
627
|
console.error("There was an error while trying to load client styling from URL", o);
|
|
642
628
|
});
|
|
643
629
|
}
|
|
644
|
-
function O(e,
|
|
630
|
+
function O(e, t, i, o = !1) {
|
|
645
631
|
if (!window.emMessageBus)
|
|
646
632
|
return;
|
|
647
633
|
if (!("adoptedStyleSheets" in Document.prototype) || !o)
|
|
648
|
-
return
|
|
649
|
-
window[f] || (window[f] = {}),
|
|
650
|
-
const r =
|
|
651
|
-
if (window[f][
|
|
652
|
-
const
|
|
653
|
-
|
|
634
|
+
return i = I(e, t), i;
|
|
635
|
+
window[f] || (window[f] = {}), i = B(e, t);
|
|
636
|
+
const r = i.unsubscribe.bind(i), l = () => {
|
|
637
|
+
if (window[f][t]) {
|
|
638
|
+
const s = window[f][t];
|
|
639
|
+
s.refCount > 1 ? s.refCount = s.refCount - 1 : delete window[f][t];
|
|
654
640
|
}
|
|
655
641
|
r();
|
|
656
642
|
};
|
|
657
|
-
return
|
|
643
|
+
return i.unsubscribe = l, i;
|
|
658
644
|
}
|
|
659
|
-
function I(e,
|
|
660
|
-
const
|
|
661
|
-
return window.emMessageBus.subscribe(
|
|
662
|
-
e && (
|
|
645
|
+
function I(e, t) {
|
|
646
|
+
const i = document.createElement("style");
|
|
647
|
+
return window.emMessageBus.subscribe(t, (o) => {
|
|
648
|
+
e && (i.innerHTML = o, e.appendChild(i));
|
|
663
649
|
});
|
|
664
650
|
}
|
|
665
|
-
function B(e,
|
|
666
|
-
return window.emMessageBus.subscribe(
|
|
651
|
+
function B(e, t) {
|
|
652
|
+
return window.emMessageBus.subscribe(t, (i) => {
|
|
667
653
|
if (!e)
|
|
668
654
|
return;
|
|
669
655
|
const o = e.getRootNode(), a = window[f];
|
|
670
|
-
let r = a[
|
|
671
|
-
r ? a[
|
|
656
|
+
let r = a[t] && a[t].sheet;
|
|
657
|
+
r ? a[t].refCount = a[t].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(i), a[t] = {
|
|
672
658
|
sheet: r,
|
|
673
659
|
refCount: 1
|
|
674
660
|
});
|
|
@@ -696,7 +682,7 @@ button, select {
|
|
|
696
682
|
margin: 15px;
|
|
697
683
|
font-weight: var(--emw--font-weight-semibold, 500);
|
|
698
684
|
}
|
|
699
|
-
.player-kyc-verification-widget .widget-description
|
|
685
|
+
.player-kyc-verification-widget .widget-description {
|
|
700
686
|
margin: 24px 0px;
|
|
701
687
|
}
|
|
702
688
|
.player-kyc-verification-widget .verification-types {
|
|
@@ -858,9 +844,9 @@ button, select {
|
|
|
858
844
|
}
|
|
859
845
|
}`, A = F, L = class {
|
|
860
846
|
constructor(e) {
|
|
861
|
-
|
|
847
|
+
k(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = D(this.userAgent), this.handleToggleScreen = () => {
|
|
862
848
|
this.toggleScreen(this.isMobile);
|
|
863
|
-
}, 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.
|
|
849
|
+
}, 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.hasRequestedDocuments = !1, this.isLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.expandedOnDesktop = !1;
|
|
864
850
|
}
|
|
865
851
|
handleNewTranslations() {
|
|
866
852
|
this.isLoading = !0, g(this.translationUrl).then(() => {
|
|
@@ -868,22 +854,22 @@ button, select {
|
|
|
868
854
|
});
|
|
869
855
|
}
|
|
870
856
|
componentWillLoad() {
|
|
871
|
-
return
|
|
857
|
+
return m(this, null, function* () {
|
|
872
858
|
this.translationUrl.length > 2 && (yield g(this.translationUrl));
|
|
873
859
|
});
|
|
874
860
|
}
|
|
875
|
-
handleClientStylingChange(e,
|
|
876
|
-
e !=
|
|
861
|
+
handleClientStylingChange(e, t) {
|
|
862
|
+
e != t && v(this.stylingContainer, this.clientStyling);
|
|
877
863
|
}
|
|
878
|
-
handleClientStylingUrlChange(e,
|
|
879
|
-
e !=
|
|
864
|
+
handleClientStylingUrlChange(e, t) {
|
|
865
|
+
e != t && this.clientStylingUrl && C(this.stylingContainer, this.clientStylingUrl);
|
|
880
866
|
}
|
|
881
867
|
componentDidLoad() {
|
|
882
|
-
return
|
|
883
|
-
this.stylingContainer && (window.emMessageBus != null ? O(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && v(this.stylingContainer, this.clientStyling), this.clientStylingUrl &&
|
|
868
|
+
return m(this, null, function* () {
|
|
869
|
+
this.stylingContainer && (window.emMessageBus != null ? O(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && v(this.stylingContainer, this.clientStyling), this.clientStylingUrl && C(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0);
|
|
884
870
|
try {
|
|
885
871
|
let e = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);
|
|
886
|
-
const
|
|
872
|
+
const t = {
|
|
887
873
|
method: "POST",
|
|
888
874
|
headers: {
|
|
889
875
|
"X-SessionId": this.session,
|
|
@@ -891,68 +877,63 @@ button, select {
|
|
|
891
877
|
},
|
|
892
878
|
body: JSON.stringify({})
|
|
893
879
|
};
|
|
894
|
-
fetch(e.href,
|
|
895
|
-
if (
|
|
896
|
-
return
|
|
897
|
-
throw new Error("HTTP status " +
|
|
898
|
-
}).then((
|
|
880
|
+
fetch(e.href, t).then((i) => {
|
|
881
|
+
if (i.status === 200)
|
|
882
|
+
return i.json();
|
|
883
|
+
throw new Error("HTTP status " + i.status);
|
|
884
|
+
}).then((i) => {
|
|
899
885
|
var o;
|
|
900
|
-
this.verificationType =
|
|
886
|
+
this.verificationType = i.verifications, this.hideKycDescription === "true" && ((o = i == null ? void 0 : i.verifications) === null || o === void 0 ? void 0 : o.length) > 0 && (this.hasRequestedDocuments = i.verifications.some((a) => {
|
|
901
887
|
var r;
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
console.error(n);
|
|
888
|
+
return (r = a == null ? void 0 : a.documents) === null || r === void 0 ? void 0 : r.some((l) => l.status === "Requested");
|
|
889
|
+
}));
|
|
890
|
+
}).catch((i) => {
|
|
891
|
+
console.error(i);
|
|
907
892
|
});
|
|
908
893
|
} catch (e) {
|
|
909
894
|
console.error("Error fetching verification types:", e);
|
|
910
895
|
}
|
|
911
896
|
});
|
|
912
897
|
}
|
|
913
|
-
getGeneralVerificationStatus(e) {
|
|
914
|
-
const i = e == null ? void 0 : e.map((n) => n.status.toLowerCase());
|
|
915
|
-
return i.includes("failed") ? "Failed" : i.includes("expired") ? "Expired" : i.includes("inprogress") ? "InProgress" : i.every((n) => n === "verified") ? "Verified" : "Unknown";
|
|
916
|
-
}
|
|
917
898
|
disconnectedCallback() {
|
|
918
899
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
919
900
|
}
|
|
920
|
-
handleOptionChange(e,
|
|
921
|
-
const
|
|
922
|
-
this.verificationType = this.verificationType.map((o) => (o.type ===
|
|
901
|
+
handleOptionChange(e, t) {
|
|
902
|
+
const i = e.target;
|
|
903
|
+
this.verificationType = this.verificationType.map((o) => (o.type === t && (o.optionChosen = i.value), o));
|
|
923
904
|
}
|
|
924
|
-
handleDocumentsStatus(e,
|
|
905
|
+
handleDocumentsStatus(e, t, i) {
|
|
925
906
|
this.verificationType = this.verificationType.map((o) => {
|
|
926
907
|
if (o.type === e) {
|
|
927
|
-
const a = o.documents.find((r) => r.code ===
|
|
928
|
-
a && (a.statusUploaded =
|
|
908
|
+
const a = o.documents.find((r) => r.code === i);
|
|
909
|
+
a && (a.statusUploaded = t);
|
|
929
910
|
}
|
|
930
911
|
return o;
|
|
931
912
|
});
|
|
932
913
|
}
|
|
933
914
|
downloadPDF(e) {
|
|
934
|
-
const
|
|
935
|
-
|
|
915
|
+
const t = document.createElement("a");
|
|
916
|
+
t.href = e, t.download = "file.pdf", t.target = "_blank", t.dispatchEvent(new MouseEvent("click"));
|
|
936
917
|
}
|
|
937
|
-
toggleVerificationType(e,
|
|
938
|
-
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((
|
|
918
|
+
toggleVerificationType(e, t) {
|
|
919
|
+
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((i) => {
|
|
939
920
|
var o;
|
|
940
|
-
return
|
|
921
|
+
return i.type === e && ((o = i.flowInfo) === null || o === void 0 ? void 0 : o.type) == t && (i.expanded = !i.expanded), i;
|
|
941
922
|
});
|
|
942
923
|
}
|
|
943
924
|
toggleScreen(e) {
|
|
944
925
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: e }, window.location.href);
|
|
945
926
|
}
|
|
946
927
|
checkFileSize(e) {
|
|
947
|
-
let
|
|
948
|
-
return Object.keys(e).forEach((
|
|
949
|
-
|
|
950
|
-
}),
|
|
928
|
+
let t = 0;
|
|
929
|
+
return Object.keys(e).forEach((i) => {
|
|
930
|
+
t += e[i].size;
|
|
931
|
+
}), t <= this.MAX_UPLOAD_SIZE;
|
|
951
932
|
}
|
|
952
|
-
handleFileSelection(e,
|
|
933
|
+
handleFileSelection(e, t, i) {
|
|
953
934
|
if (e && e.length > 0)
|
|
954
935
|
if (this.selectedFile = e, !this.checkFileSize(this.selectedFile))
|
|
955
|
-
console.error(
|
|
936
|
+
console.error(d("fileSizeExceeded", this.language)), this.uploadingStatus = d("fileSizeExceeded", this.language), this.handleDocumentsStatus(i, this.uploadingStatus, t), this.uploadSizeExceeded = !0;
|
|
956
937
|
else {
|
|
957
938
|
const o = {
|
|
958
939
|
method: "POST",
|
|
@@ -960,37 +941,37 @@ button, select {
|
|
|
960
941
|
"Content-Type": "application/json",
|
|
961
942
|
"X-SessionId": this.session
|
|
962
943
|
},
|
|
963
|
-
body: JSON.stringify({ DocumentCode:
|
|
944
|
+
body: JSON.stringify({ DocumentCode: t })
|
|
964
945
|
};
|
|
965
946
|
fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, o).then((a) => {
|
|
966
947
|
if (a.ok)
|
|
967
|
-
return this.uploadingStatus =
|
|
948
|
+
return this.uploadingStatus = d("uploading", this.language), this.handleDocumentsStatus(i, this.uploadingStatus, t), a.json();
|
|
968
949
|
}).then((a) => {
|
|
969
950
|
if (a.ResponseCode == "Success") {
|
|
970
951
|
const r = new FormData();
|
|
971
|
-
r.append(
|
|
972
|
-
l.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus =
|
|
952
|
+
r.append(t, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: r }).then((l) => {
|
|
953
|
+
l.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = d("successUploadMultipleFiles", this.language) : this.uploadingStatus = d("successUpload", this.language), this.handleDocumentsStatus(i, this.uploadingStatus, t)) : (this.uploadingStatus = d("failedUpload", this.language), this.handleDocumentsStatus(i, this.uploadingStatus, t), console.error("File upload error:", l.status));
|
|
973
954
|
}).catch((l) => {
|
|
974
955
|
console.error("File upload error:", l);
|
|
975
956
|
});
|
|
976
957
|
} else
|
|
977
|
-
this.uploadingStatus =
|
|
958
|
+
this.uploadingStatus = d("failedUpload", this.language), this.handleDocumentsStatus(i, this.uploadingStatus, t);
|
|
978
959
|
}).catch((a) => {
|
|
979
960
|
console.error("File upload error:", a);
|
|
980
961
|
});
|
|
981
962
|
}
|
|
982
963
|
}
|
|
983
964
|
importScript(e) {
|
|
984
|
-
return new Promise((
|
|
965
|
+
return new Promise((t, i) => {
|
|
985
966
|
fetch(e).then((o) => o.text()).then((o) => {
|
|
986
967
|
if (new Function(o)(), this.scriptInjected)
|
|
987
|
-
|
|
968
|
+
t(!0);
|
|
988
969
|
else {
|
|
989
970
|
const r = document.createElement("script");
|
|
990
|
-
r.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(r), this.scriptInjected = !0,
|
|
971
|
+
r.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(r), this.scriptInjected = !0, t(!0);
|
|
991
972
|
}
|
|
992
973
|
}).catch((o) => {
|
|
993
|
-
|
|
974
|
+
i(o);
|
|
994
975
|
});
|
|
995
976
|
});
|
|
996
977
|
}
|
|
@@ -998,46 +979,35 @@ button, select {
|
|
|
998
979
|
return !!(e && e.status === "Uploaded");
|
|
999
980
|
}
|
|
1000
981
|
getFirstRequestedDocument(e) {
|
|
1001
|
-
var
|
|
982
|
+
var t, i;
|
|
1002
983
|
let o;
|
|
1003
|
-
return (
|
|
984
|
+
return (t = e == null ? void 0 : e.documents) === null || t === void 0 || t.forEach((a) => {
|
|
1004
985
|
a.status == "Requested" && (o = o != null ? o : a.code);
|
|
1005
|
-
}), o || (o = (
|
|
1006
|
-
}
|
|
1007
|
-
renderDescription(e) {
|
|
1008
|
-
const i = this.hideKycDescription === "true" && this.hasAllDocumentsUploaded;
|
|
1009
|
-
switch (e) {
|
|
1010
|
-
case "Verified":
|
|
1011
|
-
return t("div", { class: "widget-description-verified" }, s("kycVerifiedDescription", this.language));
|
|
1012
|
-
case "Failed":
|
|
1013
|
-
return t("div", { class: "widget-description-failed" }, s("kycFailedDescription", this.language));
|
|
1014
|
-
default:
|
|
1015
|
-
return i ? null : t("div", { class: "widget-description" }, s("kycDescription", this.language));
|
|
1016
|
-
}
|
|
986
|
+
}), o || (o = (i = e == null ? void 0 : e.documents[0]) === null || i === void 0 ? void 0 : i.code), o;
|
|
1017
987
|
}
|
|
1018
988
|
renderVerificationTypeBox(e) {
|
|
1019
989
|
this.expandedOnDesktop && (e.expanded = !0);
|
|
1020
|
-
let
|
|
990
|
+
let t = this.getFirstRequestedDocument(e), i = e.expanded, o = e.type.trim(), a = e.optionChosen || t, r = e.status, l = e.documents, s = e.flowInfo;
|
|
1021
991
|
const c = r === "Verified", u = r === "Failed" || r === "Expired";
|
|
1022
|
-
return c && o === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" ? null :
|
|
1023
|
-
var
|
|
1024
|
-
return this.toggleVerificationType(e.type, (
|
|
1025
|
-
} },
|
|
992
|
+
return c && o === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" ? null : n("div", { class: `verification-box ${i ? "expanded" : ""} ${u ? "failed" : ""} ${c ? "success" : ""}` }, n("div", { class: `box box-header ${i ? "expanded" : ""}`, onClick: () => {
|
|
993
|
+
var h;
|
|
994
|
+
return this.toggleVerificationType(e.type, (h = e.flowInfo) === null || h === void 0 ? void 0 : h.type);
|
|
995
|
+
} }, n("div", { class: "box-icon" }, c ? n("div", null, this.verifiedIcon ? n("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : n("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, n("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), n("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), n("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : u ? n("div", null, this.failedIcon ? n("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : n("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, n("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), n("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), n("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : n("div", null, this.defaultIcon ? n("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : n("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, n("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" }), n("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), n("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), n("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), n("div", { class: "box-title" }, d(o, this.language)), n("div", { class: "chevron-icon" }, n("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" }, n("path", { d: i ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), i ? this.renderExpandedContent(e, a, r, l, s, c, u) : n("div", { class: "box box-content" }, n("div", { id: "__avs-wrapper" })));
|
|
1026
996
|
}
|
|
1027
|
-
renderDocumentsActions(e,
|
|
1028
|
-
return
|
|
997
|
+
renderDocumentsActions(e, t, i) {
|
|
998
|
+
return n("div", null, this.isStatusUploaded(e) ? n("div", { class: "upload-status" }, d("uploaded", this.language)) : e != null && e.statusUploaded ? n("div", { class: "upload-status" }, e == null ? void 0 : e.statusUploaded) : n("div", { class: "documents-action" }, n("div", { class: "sample-file" }, (e == null ? void 0 : e.sampleType) === "FileDownload" ? n("button", { class: "download-button", onClick: () => this.downloadPDF(e == null ? void 0 : e.sampleUrl) }, n("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, n("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))" }), n("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), n("span", null, d("download", this.language))) : null), n("div", { class: "upload-button" }, t ? n("label", null, n("input", { type: "file", accept: "*", onChange: (o) => this.handleFileSelection(o.target.files, t, i.type), style: { display: "none" } }), n("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, n("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), n("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), n("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
|
|
1029
999
|
}
|
|
1030
|
-
renderExpandedContent(e,
|
|
1000
|
+
renderExpandedContent(e, t, i, o, a, r, l) {
|
|
1031
1001
|
if ((a == null ? void 0 : a.type) === "Widget")
|
|
1032
|
-
return
|
|
1033
|
-
if ((a == null ? void 0 : a.type) === "Redirect" && e.vendorName !== "Manual" &&
|
|
1034
|
-
const
|
|
1035
|
-
return
|
|
1002
|
+
return n("div", null, n("hr", { style: { margin: "5px" } }), n("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
|
|
1003
|
+
if ((a == null ? void 0 : a.type) === "Redirect" && e.vendorName !== "Manual" && i !== "Verified") {
|
|
1004
|
+
const s = e.vendorName === "ShuftiPro" ? "650px" : "400px";
|
|
1005
|
+
return n("div", null, n("hr", { style: { margin: "5px" } }), n("iframe", { src: a.url, frameborder: "0", height: s, width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
|
|
1036
1006
|
} else
|
|
1037
|
-
return
|
|
1007
|
+
return n("div", { class: "box box-content" }, n(y, null, r ? n("div", { class: "verification-status" }, d("verificationComplete", this.language)) : l ? n("div", { class: "verification-status" }, i === "Failed" ? d("verificationFailed", this.language) : d("verificationExpired", this.language)) : o.length > 0 ? n("div", { class: "documents-dropdown" }, n("select", { class: "nice-select", onChange: (s) => this.handleOptionChange(s, e.type) }, o.map((s) => n("option", { selected: s.code == t, value: s.code }, d(s.type, this.language)))), this.renderDocumentsActions(o.find((s) => s.code === t), t, e)) : null));
|
|
1038
1008
|
}
|
|
1039
1009
|
render() {
|
|
1040
|
-
return this.isLoading ?
|
|
1010
|
+
return this.isLoading ? n("div", null, n("p", null, d("loading", this.language))) : n("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, n("div", { class: "player-kyc-verification-widget" }, this.isMobile ? n("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, n("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, n("defs", null), n("g", { transform: "translate(-20 -158)" }, n("g", { transform: "translate(20 158)" }, n("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)" })))), n("h2", null, d("kycTitle", this.language))) : n("h2", null, d("kycTitle", this.language)), this.verificationType.length === 0 ? n("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, d("noVerificationRequired", this.language)) : n(y, null, this.hideKycDescription === "true" && !this.hasRequestedDocuments ? null : n("div", { class: "widget-description" }, d("kycDescription", this.language)), n("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
|
|
1041
1011
|
}
|
|
1042
1012
|
static get watchers() {
|
|
1043
1013
|
return {
|