@everymatrix/player-account-controller 1.85.17 → 1.85.19
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-Bk4SNbIF.js → GeneralLogout-BtP2SNPX.js} +47 -44
- package/components/{GeneralLogout-CuvnoUn1.cjs → GeneralLogout-CK8tLROK.cjs} +5 -5
- package/components/{GeneralLogout-CShGWvvZ.js → GeneralLogout-hWNQ3J3o.js} +47 -44
- package/components/{PlayerAccountBettingHistory-Cb9zY2cj.cjs → PlayerAccountBettingHistory-CSaFsnwC.cjs} +1 -1
- package/components/{PlayerAccountBettingHistory-Bs44fVUB.js → PlayerAccountBettingHistory-D3xhBTAE.js} +1 -1
- package/components/{PlayerAccountBettingHistory-DtjLZvaP.js → PlayerAccountBettingHistory-RBEtFHjB.js} +1 -1
- package/components/{PlayerAccountBiometrics-0wM6ZXDr.js → PlayerAccountBiometrics-BIYcG8cX.js} +1 -1
- package/components/{PlayerAccountBiometrics-Ba7f63Ih.js → PlayerAccountBiometrics-Dp3Y8HTH.js} +1 -1
- package/components/{PlayerAccountBiometrics-CSSQNl0K.cjs → PlayerAccountBiometrics-S9tvxAFz.cjs} +1 -1
- package/components/{PlayerAccountClosure-COOyI7yZ.js → PlayerAccountClosure-BbW4iG-i.js} +1 -1
- package/components/{PlayerAccountClosure-Dan_iV7J.js → PlayerAccountClosure-D7pmJiXo.js} +1 -1
- package/components/{PlayerAccountClosure-DHkXRjyf.cjs → PlayerAccountClosure-jnEN5Fk4.cjs} +1 -1
- package/components/{PlayerAccountController-ImIqzEzI.js → PlayerAccountController-6MshqYNs.js} +27 -27
- package/components/{PlayerAccountController-DQWMWxca.js → PlayerAccountController-Brcgtxxm.js} +27 -27
- package/components/{PlayerAccountController-BtG4sSKI.cjs → PlayerAccountController-Dt5Ril4d.cjs} +1 -1
- package/components/{PlayerAccountGamingLimits-DCBsU-Qk.js → PlayerAccountGamingLimits-BHtPyrhy.js} +2 -2
- package/components/{PlayerAccountGamingLimits-HncJRbqJ.js → PlayerAccountGamingLimits-BrXUGipz.js} +2 -2
- package/components/{PlayerAccountGamingLimits-BrCEdqWf.cjs → PlayerAccountGamingLimits-BwYoIU8M.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BD-XzjLG.js → PlayerAccountGamingLimitsConfirmationModal-B5ITcUEU.js} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CTub7J3N.cjs → PlayerAccountGamingLimitsConfirmationModal-BJUqmOGM.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsConfirmationModal-BYZfVKZB.js → PlayerAccountGamingLimitsConfirmationModal-BpGTQY8Q.js} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-3h2C_FW2.cjs → PlayerAccountGamingLimitsGroupEdit-CmipcCdJ.cjs} +2 -2
- package/components/{PlayerAccountGamingLimitsGroupEdit-CLnu5AeT.js → PlayerAccountGamingLimitsGroupEdit-DsZYUSCI.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cz-sqYjM.js → PlayerAccountGamingLimitsGroupEdit-K-lekHTx.js} +4 -4
- package/components/{PlayerAccountGamingLimitsHistory2-DTiZcfwG.js → PlayerAccountGamingLimitsHistory2-BWbMKCJM.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-DafAE20A.js → PlayerAccountGamingLimitsHistory2-CxA06bC4.js} +1 -1
- package/components/{PlayerAccountGamingLimitsHistory2-Bl-VMGFi.cjs → PlayerAccountGamingLimitsHistory2-DbWCQlJP.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-C7QGrNFp.cjs → PlayerAccountGamingLimitsInfoCard-BFzvB3KC.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-CeRDNQyR.js → PlayerAccountGamingLimitsInfoCard-WqmdXNpw.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-Lu5pgsyH.js → PlayerAccountGamingLimitsInfoCard-fSpypV1Q.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DLux4rtQ.js → PlayerAccountGamingLimitsPage2Gm16-CKqk7okN.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-lByvCMYV.cjs → PlayerAccountGamingLimitsPage2Gm16-CN784V5v.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPage2Gm16-DXdt0euH.js → PlayerAccountGamingLimitsPage2Gm16-DbTjbrCg.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BIEFI1Yz.js → PlayerAccountGamingLimitsPopup-1UbtHpM4.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CqdzxpX3.js → PlayerAccountGamingLimitsPopup-6hO_YTRk.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-B9mkm7cd.cjs → PlayerAccountGamingLimitsPopup-D5nYGWok.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-DuSZ3P9u.js → PlayerAccountGamingLimitsWrapper2-DKH_oTPL.js} +3 -3
- package/components/{PlayerAccountGamingLimitsWrapper2-BMQ9Kgxs.cjs → PlayerAccountGamingLimitsWrapper2-DkVrqK1a.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsWrapper2-Dq7rQd01.js → PlayerAccountGamingLimitsWrapper2-H5X72FGo.js} +3 -3
- package/components/{PlayerAccountGeneralConfirmationModal-C2VJSvL3.js → PlayerAccountGeneralConfirmationModal-48XuglXa.js} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-OYut1Lou.cjs → PlayerAccountGeneralConfirmationModal-Fg_ynnO5.cjs} +1 -1
- package/components/{PlayerAccountGeneralConfirmationModal-vQxzlS72.js → PlayerAccountGeneralConfirmationModal-mKvnC-aM.js} +1 -1
- package/components/{PlayerAccountMenu-BU2OJXCy.cjs → PlayerAccountMenu-D-3XXdrS.cjs} +1 -1
- package/components/{PlayerAccountMenu-DR6qDtkd.js → PlayerAccountMenu-DYFceiv-.js} +2 -2
- package/components/{PlayerAccountMenu-BTToUbwP.js → PlayerAccountMenu-DZYiL86p.js} +2 -2
- package/components/{PlayerAccountModal-CzspHDhO.cjs → PlayerAccountModal-BuDt5h1l.cjs} +1 -1
- package/components/{PlayerAccountModal-C47gGJwo.js → PlayerAccountModal-DuBxYfB-.js} +1 -1
- package/components/{PlayerAccountModal-D2pVBagv.js → PlayerAccountModal-vXNHQMMx.js} +1 -1
- package/components/{PlayerAccountNotifications-Bk9T4s4V.js → PlayerAccountNotifications-BaVSuY0V.js} +1 -1
- package/components/{PlayerAccountNotifications-C7LSRK2Z.cjs → PlayerAccountNotifications-D2sFlbP7.cjs} +1 -1
- package/components/{PlayerAccountNotifications-CrAyNjHR.js → PlayerAccountNotifications-eimwb2B_.js} +1 -1
- package/components/{PlayerAccountProductRestriction-CDxbjlWW.js → PlayerAccountProductRestriction-Cbwqgb-P.js} +3 -3
- package/components/{PlayerAccountProductRestriction-eOW4LEe_.js → PlayerAccountProductRestriction-HYm0eIXb.js} +3 -3
- package/components/{PlayerAccountProductRestriction-DjL1-Pvj.cjs → PlayerAccountProductRestriction-i5lUVlsQ.cjs} +1 -1
- package/components/{PlayerAccountReviewFrequency-Do2FEGSC.js → PlayerAccountReviewFrequency-B55vgMkU.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-D2Ij-dGA.js → PlayerAccountReviewFrequency-D39G6M8w.js} +1 -1
- package/components/{PlayerAccountReviewFrequency-E8i0qY75.cjs → PlayerAccountReviewFrequency-oyuyzboO.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-DTCmJg4A.js → PlayerAccountSelfExclusion-Btcxzmyl.js} +3 -3
- package/components/{PlayerAccountSelfExclusion-BDmbZbGv.cjs → PlayerAccountSelfExclusion-CCMP12tO.cjs} +1 -1
- package/components/{PlayerAccountSelfExclusion-lYJiM-a-.js → PlayerAccountSelfExclusion-CY5wEDf5.js} +3 -3
- package/components/{PlayerAccountTimeout-ira9gj_X.js → PlayerAccountTimeout-D-Osu0LX.js} +3 -3
- package/components/{PlayerAccountTimeout-C7f95O2y.cjs → PlayerAccountTimeout-DI5inBhr.cjs} +1 -1
- package/components/{PlayerAccountTimeout-5V_3gkBy.js → PlayerAccountTimeout-Eb5482Pk.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-Do5z7eDA.js → PlayerAccountTransactionsHistory-B89UQBgK.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-DajT-AMo.js → PlayerAccountTransactionsHistory-CuLSo_WG.js} +3 -3
- package/components/{PlayerAccountTransactionsHistory-e4xjA7Nr.cjs → PlayerAccountTransactionsHistory-DborEyiw.cjs} +1 -1
- package/components/{PlayerActiveBonuses-38roPJXA.js → PlayerActiveBonuses-Cv7645BT.js} +2 -2
- package/components/{PlayerActiveBonuses-DH17Iq7o.js → PlayerActiveBonuses-Rb7CqkQm.js} +2 -2
- package/components/{PlayerActiveBonuses-DX-safGT.cjs → PlayerActiveBonuses-rgpIrlXZ.cjs} +1 -1
- package/components/{PlayerBonusCard-DaWKZYJV.js → PlayerBonusCard-Byfk3zTj.js} +2 -2
- package/components/{PlayerBonusCard-jqLOiuCg.js → PlayerBonusCard-D3S1mqXd.js} +2 -2
- package/components/{PlayerBonusCard-xfAuBBZg.cjs → PlayerBonusCard-DDnmH7Q3.cjs} +1 -1
- package/components/{PlayerBonusHistory-CjOGYL2N.js → PlayerBonusHistory-BKquFnB_.js} +4 -4
- package/components/{PlayerBonusHistory-B6rov_Zt.js → PlayerBonusHistory-CjQW7Bz0.js} +4 -4
- package/components/{PlayerBonusHistory-DwTJXnss.cjs → PlayerBonusHistory-KRE5nRLu.cjs} +1 -1
- package/components/{PlayerChangePassword-CXmELgl1.js → PlayerChangePassword-CrimbboS.js} +1 -1
- package/components/{PlayerChangePassword-ZmTG0See.js → PlayerChangePassword-DjvBDg3y.js} +1 -1
- package/components/{PlayerChangePassword-CTNjnq_r.cjs → PlayerChangePassword-Dse_H2fj.cjs} +1 -1
- package/components/{PlayerDeposit-C7Zn0ku4.js → PlayerDeposit-BBN4CKJK.js} +1 -1
- package/components/{PlayerDeposit-_5dExYQ2.js → PlayerDeposit-BZ6g3CTd.js} +1 -1
- package/components/{PlayerDeposit-BsyYS9xx.cjs → PlayerDeposit-rfdArTZi.cjs} +1 -1
- package/components/{PlayerGamingHistory-0_vs1M7Y.js → PlayerGamingHistory-00NQrAip.js} +4 -4
- package/components/{PlayerGamingHistory-Cl5162xp.js → PlayerGamingHistory-DzArsva8.js} +4 -4
- package/components/{PlayerGamingHistory-CaQkAM-W.cjs → PlayerGamingHistory-S-SzMIdL.cjs} +1 -1
- package/components/{PlayerPendingWithdrawals-eJ97AKoZ.js → PlayerPendingWithdrawals-BFjzJT3E.js} +1 -1
- package/components/{PlayerPendingWithdrawals-BwKO31Cq.js → PlayerPendingWithdrawals-D97Q7Wwu.js} +1 -1
- package/components/{PlayerPendingWithdrawals-Dvq9lK8F.cjs → PlayerPendingWithdrawals-DjrsUKIF.cjs} +1 -1
- package/components/{PlayerProfileInfo-M_zK189v.cjs → PlayerProfileInfo-glh0-LDE.cjs} +1 -1
- package/components/{PlayerProfileInfo-CpSIV-gG.js → PlayerProfileInfo-i9uFoUBd.js} +1 -1
- package/components/{PlayerProfileInfo-CHGvofIU.js → PlayerProfileInfo-jmdB-wXa.js} +1 -1
- package/components/{PlayerRealityCheck-BZXloGMf.js → PlayerRealityCheck-C9r4TGt5.js} +1 -1
- package/components/{PlayerRealityCheck-DuwDFaiq.cjs → PlayerRealityCheck-CYmf-RVV.cjs} +1 -1
- package/components/{PlayerRealityCheck-Dh4cua0z.js → PlayerRealityCheck-pY-GH7Tx.js} +1 -1
- package/components/{PlayerTransactionHistory-BmLs_SsH.js → PlayerTransactionHistory-CAA600Et.js} +1 -1
- package/components/{PlayerTransactionHistory-Dj6O_IBg.js → PlayerTransactionHistory-DY9X6YZW.js} +1 -1
- package/components/{PlayerTransactionHistory-BU4_vLyx.cjs → PlayerTransactionHistory-DlY_0H_I.cjs} +1 -1
- package/components/{PlayerWithdrawal-CbooNORD.js → PlayerWithdrawal-BIFTys53.js} +1 -1
- package/components/{PlayerWithdrawal-CrwQRfp-.js → PlayerWithdrawal-BcnzA5BS.js} +1 -1
- package/components/{PlayerWithdrawal-CkSCfQ4A.cjs → PlayerWithdrawal-Dt-iI81t.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_16-CRNuZbJO.js → checkbox-group-input_16-BC4v8R1S.js} +2 -2
- package/stencil/{checkbox-group-input_16-DHzskpbm.cjs → checkbox-group-input_16-JIjNKsjV.cjs} +1 -1
- package/stencil/{checkbox-group-input_16-H59MWDZC.js → checkbox-group-input_16-RYO1eLMo.js} +2 -2
- package/stencil/{index-1ef3a64c-qnxtXxeQ.cjs → index-1ef3a64c-BzR_jMKw.cjs} +1 -1
- package/stencil/{index-1ef3a64c-CsZfHx4H.js → index-1ef3a64c-CEngIsyB.js} +1 -1
- package/stencil/{index-1ef3a64c-ClO39zA1.js → index-1ef3a64c-D5p-wZAC.js} +1 -1
- package/stencil/{index-6e523641-CoBB-3Id.js → index-6e523641-BB_MNuoS.js} +1 -1
- package/stencil/{index-6e523641-DnC0RyBN.js → index-6e523641-C2D7V1Bj.js} +1 -1
- package/stencil/{index-6e523641-CVaNEI5O.cjs → index-6e523641-CKmTS6uC.cjs} +1 -1
- package/stencil/{index-9c0f6c58-Bsh5bE3R.js → index-9c0f6c58-DEQL19Io.js} +1 -1
- package/stencil/{index-9c0f6c58-C2jzaT5g.js → index-9c0f6c58-DjED2nNw.js} +1 -1
- package/stencil/{index-9c0f6c58-Bt2RVzWI.cjs → index-9c0f6c58-XIZolvs1.cjs} +1 -1
- package/stencil/{index-c666b6e6-ClJmd2Eo.js → index-c666b6e6-Byhd6hcm.js} +1 -1
- package/stencil/{index-c666b6e6-CdT6V4aJ.cjs → index-c666b6e6-CF6tkxHf.cjs} +1 -1
- package/stencil/{index-c666b6e6-BgTcG0Y_.js → index-c666b6e6-Do6y6LKI.js} +1 -1
- package/stencil/{pam-change-password-0ebf482d-CpoMxS46.js → pam-change-password-6b535bd5-BQRVBjrK.js} +3 -1
- package/stencil/{pam-change-password-0ebf482d-BvoECmrs.js → pam-change-password-6b535bd5-CRmngfXe.js} +3 -1
- package/stencil/{pam-change-password-0ebf482d-BGmy8IyQ.cjs → pam-change-password-6b535bd5-CeXNndIG.cjs} +1 -1
- package/stencil/{pam-change-password-CG0En7Xb.js → pam-change-password-D00SLeAW.js} +1 -1
- package/stencil/{pam-change-password-BPQFe6Db.cjs → pam-change-password-DYLwctX0.cjs} +1 -1
- package/stencil/{pam-change-password-CYSferDv.js → pam-change-password-DjJxocc2.js} +1 -1
- package/stencil/{player-kyc-verification-NFQCbuyP.js → player-kyc-verification-BUKoBt3P.js} +3 -1
- package/stencil/{player-kyc-verification-Cwdf4jX9.cjs → player-kyc-verification-Cg0fVyvL.cjs} +2 -2
- package/stencil/{player-kyc-verification-DDMQsBNM.js → player-kyc-verification-vQ6gNPBe.js} +75 -73
- package/stencil/{user-deposit-withdrawal-ChgqAKLS.js → user-deposit-withdrawal-C5lc1C0l.js} +3 -1
- package/stencil/{user-deposit-withdrawal-Ds4dygdb.cjs → user-deposit-withdrawal-DfWpITDc.cjs} +2 -2
- package/stencil/{user-deposit-withdrawal-B87pfI3a.js → user-deposit-withdrawal-DmXcotOq.js} +3 -1
- package/stencil/{user-transaction-history-Bv0LEs6K.cjs → user-transaction-history-BOayQu-b.cjs} +1 -1
- package/stencil/{user-transaction-history-Cf_iR1wy.js → user-transaction-history-Bd1eC2iV.js} +1 -1
- package/stencil/{user-transaction-history-Be-hf7kW.js → user-transaction-history-BkmoDFTs.js} +1 -1
- package/stencil/{user-transaction-history_2-8ViaNgLC.js → user-transaction-history_2-BSVh_kdE.js} +3 -1
- package/stencil/{user-transaction-history_2-B2yjMaBN.cjs → user-transaction-history_2-CI6uuSIf.cjs} +1 -1
- package/stencil/{user-transaction-history_2-DwdhsDRA.js → user-transaction-history_2-PSCBkBVb.js} +3 -1
package/stencil/{player-kyc-verification-Cwdf4jX9.cjs → player-kyc-verification-Cg0fVyvL.cjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";var p=(e,t,n)=>new Promise((o,a)=>{var s=d=>{try{l(n.next(d))}catch(f){a(f)}},c=d=>{try{l(n.throw(d))}catch(f){a(f)}},l=d=>d.done?o(d.value):Promise.resolve(d.value).then(s,c);l((n=n.apply(e,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-9c0f6c58-Bt2RVzWI.cjs"),w=require("./app-globals-0f993ce5-DgYhdguE.cjs");var m=typeof document!="undefined"?document.currentScript:null,C=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:m&&m.tagName.toUpperCase()==="SCRIPT"&&m.src||new URL("stencil/player-kyc-verification-Cwdf4jX9.cjs",document.baseURI).href,t={};return e!==""&&(t.resourcesUrl=new URL(".",e).href),i.promiseResolve(t)};C().then(e=>p(exports,null,function*(){return yield w.globalScripts$1(),i.bootstrapLazy([["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"],verificationType:[32],isLoading:[32],selectedFile:[32],uploadingStatus:[32],uploadSizeExceeded:[32],expandedOnDesktop:[32]},null,{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}]]]],e)}));const x="en";let u={en:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Account Verification",kycDescription:"We require some documents to protect your account and to comply with legal and license requirements.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Recheck:"Recheck",Biometric:"Biometric",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document already uploaded.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},de:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Account-Verifizierung",kycDescription:"Wir benötigen einige Dokumente, um Ihr Konto zu schützen und den rechtlichen und Lizenzanforderungen zu entsprechen.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",uploaded:"Dokument bereits hochgeladen.",Unknown:"Unbekannt",Passport:"Reisepass",IdCardFront:"Personalausweis (Vorderseite)",IdCardBack:"Personalausweis (Rückseite)",BirthCertificate:"Geburtsurkunde",DrivingLicenseFront:"Führerschein (Vorderseite)",DrivingLicenseBack:"Führerschein (Rückseite)",ResidentialPermit:"Wohnberechtigungsschein",CreditDebitCardFront:"Kredit-/Debitkarte (Vorderseite)",CreditDebitCardBack:"Kredit-/Debitkarte (Rückseite)",UtilityBill:"Nebenkostenabrechnung",TaxBill:"Steuerbescheid",CertifiedCopy:"Beglaubigte Kopie",Selfie:"Selfie",BankStatement:"Kontoauszug",RentAgreement:"Mietvertrag",InsuranceAgreement:"Versicherungsvertrag",Other:"Sonstige",IncomeAndOrSavingsFromEmployment:"Einkommen und/oder Ersparnisse aus Beschäftigung",SaleOfSharesOrOtherInvestments:"Verkauf von Aktien oder anderen Anlagen",DividendsProfitsFromCompany:"Dividenden/Gewinne aus dem Unternehmen",CompanySale:"Firmenverkauf",IndividualOwnsPolicyCompanyPays:"Einzelperson besitzt die Police/Unternehmen zahlt",SaleOfProperty:"Immobilienverkauf",Inheritance:"Erbschaft",MaturityOrSurrenderOfLifeAssurance:"Fälligkeit oder Rückkauf einer Lebensversicherung",InsuranceClaims:"Versicherungsansprüche",CompensationPayment:"Entschädigungszahlung",LotteryBettingCasinoWin:"Lotterie-/Wett-/Casinogewinn",Loan:"Darlehen",Gift:"Geschenk",Ewallet:"E-Wallet",Voucher:"Gutschein"},ro:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Verificarea contului",kycDescription:"Avem nevoie de câteva documente pentru a proteja contul dvs. și pentru a respecta cerințele legale și de licență.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",uploaded:"Document deja încărcat.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},fr:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Vérification de compte",kycDescription:"Nous avons besoin de certains documents pour protéger votre compte et pour nous conformer aux exigences légales et de licence.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document déjà téléchargé.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},ar:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"التحقق من الحساب",kycDescription:"نحتاج إلى بعض الوثائق لحماية حسابك والامتثال للمتطلبات القانونية والترخيص.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document already uploaded.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},hr:{loading:"Učitavanje, molimo pričekajte ...",noVerificationRequired:"Trenutačno nije potrebna provjera vašeg računa.",verificationComplete:"Provjera dovršena",verificationFailed:"Provjera nije uspjela",verificationExpired:"Provjera je istekla",fileSizeExceeded:"Premašena je maksimalna veličina datoteke. Maksimalna veličina datoteke je: 50mb",uploading:"Prijenos…",successUpload:"Vaš dokument je učitan i uskoro će biti pregledan",successUploadMultipleFiles:"Vaši su dokumenti učitani i uskoro će biti pregledani",failedUpload:"Prijenos nije uspio pokušajte ponovo",chooseDocument:"Odaberite Dokument",kycTitle:"Verifikacija računa",kycDescription:"Potrebni su nam neki dokumenti kako bismo zaštitili vaš račun i kako bismo se pridržavali zakonskih i licencijskih zahtjeva.",download:"Preuzmi",Age:"Dob",Aml:"AML",Documents:"Dokumenti",Pep:"Politički izložena osoba",Sanction:"Sankcija",Biometric:"Verifikacija",Recheck:"Ponovna provjera",ProofOfAddress:"Potvrda adrese",SourceOfWealth:"Izvor sredstava",SocialMedia:"Društvene mreže",ProofOfPayment:"Platna metoda",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Dokument je već učitan.",Unknown:"Nepoznato",Passport:"Putovnica",IdCardFront:"Prednja strana osobne iskaznice",IdCardBack:"Stražnja strana osobne iskaznice",BirthCertificate:"Rodni list",DrivingLicenseFront:"Vozačka dozvola (prednja strana)",DrivingLicenseBack:"Vozačka dozvola (stražnja strana)",ResidentialPermit:"Boravišna dozvola",CreditDebitCardFront:"Kreditna/debitna kartica (prednja strana)",CreditDebitCardBack:"Kreditna/debitna kartica (stražnja strana)",UtilityBill:"Račun za komunalne usluge",TaxBill:"Porezni račun",CertifiedCopy:"Ovjereni primjerak",Selfie:"Selfie",BankStatement:"Bankovni izvod",RentAgreement:"Ugovor o najmu",InsuranceAgreement:"Ugovor o osiguranju",Other:"Ostalo",IncomeAndOrSavingsFromEmployment:"Prihod/Ušteđevina ",SaleOfSharesOrOtherInvestments:"Prodaja dionica ili drugih investicija",DividendsProfitsFromCompany:"Dividende/dobit od tvrtke",CompanySale:"Prodaja tvrtke",IndividualOwnsPolicyCompanyPays:"Osoba posjeduje policu/tvrtka plaća",SaleOfProperty:"Prodaja nekretnine",Inheritance:"Nasljeđe",MaturityOrSurrenderOfLifeAssurance:"Dospijeće ili predaja životnog osiguranja",InsuranceClaims:"Zahtjevi za osiguranje",CompensationPayment:"Isplata odštete",LotteryBettingCasinoWin:"Dobitak na lutriji/kladionici/kasinu",Loan:"Zajam",Gift:"Poklon",Ewallet:"Elektronički novčanik",Voucher:"Vaučer"},"pt-br":{Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",Loading:"Carregando, espere por favor…",noVerificationRequired:"Não há necessidade de verificação para sua conta no momento",verificationComplete:"Verificação completa",verificationFailed:"Verificação de falha",verificationExpired:"A verificação expirou",fileSizeExceeded:"Tamanho máximo do arquivo excedido. O tamanho máximo do arquivo é: 50 MB",uploading:"Carregando...",successUpload:"Seu documento foi carregado e será analisado em breve",successUploadMultipleFiles:"Seus documentos foram enviados e serão revisados em breve",failedUpload:"Falha no upload do arquivo, tente novamente",chooseDocument:"Escolha um arquivo",download:"Download",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Documento já carregado.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},"es-mx":{Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",Loading:"Cargando, espere por favor…",noVerificationRequired:"No hay verificación requerida para su cuenta al momento",verificationComplete:"Verificación completa",verificationFailed:"Verificación fallo",verificationExpired:"Verificación expiro",fileSizeExceeded:"Tamaño máximo de archivo se excedió. El tamaño máximo del archivo es: 50mb",uploading:"Cargando ...",successUpload:"Su documento ha sido cargado y será revisado en breve",successUploadMultipleFiles:"Sus documento han sido cargados y serán revisado en breve",failedUpload:"La carga del archivo falló, por favor intente de nuevo",chooseDocument:"Elija un archivo",download:"Download",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Documento ya subido.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"}};const y=e=>new Promise(t=>{fetch(e).then(n=>n.json()).then(n=>{Object.keys(n).forEach(o=>{u[o]||(u[o]={});for(let a in n[o])u[o][a]=n[o][a]}),t(!0)})}),r=(e,t,n)=>{const o=t;return u[o!==void 0&&o in u?o:x][e]},S=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));function g(e,t){if(e){const n=document.createElement("style");n.innerHTML=t,e.appendChild(n)}}function v(e,t){const n=new URL(t);fetch(n.href).then(o=>o.text()).then(o=>{const a=document.createElement("style");a.innerHTML=o,e&&e.appendChild(a)}).catch(o=>{console.error("There was an error while trying to load client styling from URL",o)})}function b(e,t,n){if(window.emMessageBus){const o=document.createElement("style");window.emMessageBus.subscribe(t,a=>{o.innerHTML=a,e&&e.appendChild(o)})}}const P=`:host {
|
|
1
|
+
"use strict";var p=(e,n,t)=>new Promise((o,a)=>{var s=d=>{try{l(t.next(d))}catch(f){a(f)}},c=d=>{try{l(t.throw(d))}catch(f){a(f)}},l=d=>d.done?o(d.value):Promise.resolve(d.value).then(s,c);l((t=t.apply(e,n)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const i=require("./index-9c0f6c58-XIZolvs1.cjs"),w=require("./app-globals-0f993ce5-DgYhdguE.cjs");var m=typeof document!="undefined"?document.currentScript:null,C=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:m&&m.tagName.toUpperCase()==="SCRIPT"&&m.src||new URL("stencil/player-kyc-verification-Cg0fVyvL.cjs",document.baseURI).href,n={};return e!==""&&(n.resourcesUrl=new URL(".",e).href),i.promiseResolve(n)};C().then(e=>p(exports,null,function*(){return yield w.globalScripts$1(),i.bootstrapLazy([["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"],verificationType:[32],isLoading:[32],selectedFile:[32],uploadingStatus:[32],uploadSizeExceeded:[32],expandedOnDesktop:[32]},null,{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}]]]],e)}));const x="en";let u={en:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Account Verification",kycDescription:"We require some documents to protect your account and to comply with legal and license requirements.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Recheck:"Recheck",Biometric:"Biometric",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document already uploaded.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},de:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Account-Verifizierung",kycDescription:"Wir benötigen einige Dokumente, um Ihr Konto zu schützen und den rechtlichen und Lizenzanforderungen zu entsprechen.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",uploaded:"Dokument bereits hochgeladen.",Unknown:"Unbekannt",Passport:"Reisepass",IdCardFront:"Personalausweis (Vorderseite)",IdCardBack:"Personalausweis (Rückseite)",BirthCertificate:"Geburtsurkunde",DrivingLicenseFront:"Führerschein (Vorderseite)",DrivingLicenseBack:"Führerschein (Rückseite)",ResidentialPermit:"Wohnberechtigungsschein",CreditDebitCardFront:"Kredit-/Debitkarte (Vorderseite)",CreditDebitCardBack:"Kredit-/Debitkarte (Rückseite)",UtilityBill:"Nebenkostenabrechnung",TaxBill:"Steuerbescheid",CertifiedCopy:"Beglaubigte Kopie",Selfie:"Selfie",BankStatement:"Kontoauszug",RentAgreement:"Mietvertrag",InsuranceAgreement:"Versicherungsvertrag",Other:"Sonstige",IncomeAndOrSavingsFromEmployment:"Einkommen und/oder Ersparnisse aus Beschäftigung",SaleOfSharesOrOtherInvestments:"Verkauf von Aktien oder anderen Anlagen",DividendsProfitsFromCompany:"Dividenden/Gewinne aus dem Unternehmen",CompanySale:"Firmenverkauf",IndividualOwnsPolicyCompanyPays:"Einzelperson besitzt die Police/Unternehmen zahlt",SaleOfProperty:"Immobilienverkauf",Inheritance:"Erbschaft",MaturityOrSurrenderOfLifeAssurance:"Fälligkeit oder Rückkauf einer Lebensversicherung",InsuranceClaims:"Versicherungsansprüche",CompensationPayment:"Entschädigungszahlung",LotteryBettingCasinoWin:"Lotterie-/Wett-/Casinogewinn",Loan:"Darlehen",Gift:"Geschenk",Ewallet:"E-Wallet",Voucher:"Gutschein"},ro:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Verificarea contului",kycDescription:"Avem nevoie de câteva documente pentru a proteja contul dvs. și pentru a respecta cerințele legale și de licență.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",uploaded:"Document deja încărcat.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},fr:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"Vérification de compte",kycDescription:"Nous avons besoin de certains documents pour protéger votre compte et pour nous conformer aux exigences légales et de licence.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document déjà téléchargé.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},ar:{loading:"Loading, please wait ...",noVerificationRequired:"There is no verification required for your account at this moment.",verificationComplete:"Verification complete",verificationFailed:"Verification failed",verificationExpired:"Verification expired",fileSizeExceeded:"Maximum file size exceeded. Max file size is: 50mb",uploading:"Uploading ... ",successUpload:"Your document has been uploaded and it will be reviewed shortly",successUploadMultipleFiles:"Your documents have been uploaded and it will be reviewed shortly",failedUpload:"Upload failed please try again",chooseDocument:"Choose Document",kycTitle:"التحقق من الحساب",kycDescription:"نحتاج إلى بعض الوثائق لحماية حسابك والامتثال للمتطلبات القانونية والترخيص.",download:"Download",Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Document already uploaded.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},hr:{loading:"Učitavanje, molimo pričekajte ...",noVerificationRequired:"Trenutačno nije potrebna provjera vašeg računa.",verificationComplete:"Provjera dovršena",verificationFailed:"Provjera nije uspjela",verificationExpired:"Provjera je istekla",fileSizeExceeded:"Premašena je maksimalna veličina datoteke. Maksimalna veličina datoteke je: 50mb",uploading:"Prijenos…",successUpload:"Vaš dokument je učitan i uskoro će biti pregledan",successUploadMultipleFiles:"Vaši su dokumenti učitani i uskoro će biti pregledani",failedUpload:"Prijenos nije uspio pokušajte ponovo",chooseDocument:"Odaberite Dokument",kycTitle:"Verifikacija računa",kycDescription:"Potrebni su nam neki dokumenti kako bismo zaštitili vaš račun i kako bismo se pridržavali zakonskih i licencijskih zahtjeva.",download:"Preuzmi",Age:"Dob",Aml:"AML",Documents:"Dokumenti",Pep:"Politički izložena osoba",Sanction:"Sankcija",Biometric:"Verifikacija",Recheck:"Ponovna provjera",ProofOfAddress:"Potvrda adrese",SourceOfWealth:"Izvor sredstava",SocialMedia:"Društvene mreže",ProofOfPayment:"Platna metoda",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Dokument je već učitan.",Unknown:"Nepoznato",Passport:"Putovnica",IdCardFront:"Prednja strana osobne iskaznice",IdCardBack:"Stražnja strana osobne iskaznice",BirthCertificate:"Rodni list",DrivingLicenseFront:"Vozačka dozvola (prednja strana)",DrivingLicenseBack:"Vozačka dozvola (stražnja strana)",ResidentialPermit:"Boravišna dozvola",CreditDebitCardFront:"Kreditna/debitna kartica (prednja strana)",CreditDebitCardBack:"Kreditna/debitna kartica (stražnja strana)",UtilityBill:"Račun za komunalne usluge",TaxBill:"Porezni račun",CertifiedCopy:"Ovjereni primjerak",Selfie:"Selfie",BankStatement:"Bankovni izvod",RentAgreement:"Ugovor o najmu",InsuranceAgreement:"Ugovor o osiguranju",Other:"Ostalo",IncomeAndOrSavingsFromEmployment:"Prihod/Ušteđevina ",SaleOfSharesOrOtherInvestments:"Prodaja dionica ili drugih investicija",DividendsProfitsFromCompany:"Dividende/dobit od tvrtke",CompanySale:"Prodaja tvrtke",IndividualOwnsPolicyCompanyPays:"Osoba posjeduje policu/tvrtka plaća",SaleOfProperty:"Prodaja nekretnine",Inheritance:"Nasljeđe",MaturityOrSurrenderOfLifeAssurance:"Dospijeće ili predaja životnog osiguranja",InsuranceClaims:"Zahtjevi za osiguranje",CompensationPayment:"Isplata odštete",LotteryBettingCasinoWin:"Dobitak na lutriji/kladionici/kasinu",Loan:"Zajam",Gift:"Poklon",Ewallet:"Elektronički novčanik",Voucher:"Vaučer"},"pt-br":{Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",Loading:"Carregando, espere por favor…",noVerificationRequired:"Não há necessidade de verificação para sua conta no momento",verificationComplete:"Verificação completa",verificationFailed:"Verificação de falha",verificationExpired:"A verificação expirou",fileSizeExceeded:"Tamanho máximo do arquivo excedido. O tamanho máximo do arquivo é: 50 MB",uploading:"Carregando...",successUpload:"Seu documento foi carregado e será analisado em breve",successUploadMultipleFiles:"Seus documentos foram enviados e serão revisados em breve",failedUpload:"Falha no upload do arquivo, tente novamente",chooseDocument:"Escolha um arquivo",download:"Download",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Documento já carregado.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"},"es-mx":{Age:"Age",Aml:"AML",Documents:"Documents",Pep:"PEP",Sanction:"Sanctions",Biometric:"Biometric",Recheck:"Recheck",Loading:"Cargando, espere por favor…",noVerificationRequired:"No hay verificación requerida para su cuenta al momento",verificationComplete:"Verificación completa",verificationFailed:"Verificación fallo",verificationExpired:"Verificación expiro",fileSizeExceeded:"Tamaño máximo de archivo se excedió. El tamaño máximo del archivo es: 50mb",uploading:"Cargando ...",successUpload:"Su documento ha sido cargado y será revisado en breve",successUploadMultipleFiles:"Sus documento han sido cargados y serán revisado en breve",failedUpload:"La carga del archivo falló, por favor intente de nuevo",chooseDocument:"Elija un archivo",download:"Download",ProofOfAddress:"Proof of Address",SourceOfWealth:"Source of Wealth",SocialMedia:"Social Media",ProofOfPayment:"Proof of Payment",ProofOfIdentityFront:"Proof of identity (front side)",ProofOfIdentityBack:"Proof of identity (back side)",SourceOfFunds:"Source of Funds",uploaded:"Documento ya subido.",Unknown:"Unknown",Passport:"Passport",IdCardFront:"ID Card (front side)",IdCardBack:"ID Card (back side)",BirthCertificate:"Birth Certificate",DrivingLicenseFront:"Driving License (front side)",DrivingLicenseBack:"Driving License (back side)",ResidentialPermit:"Residential Permit",CreditDebitCardFront:"Credit / Debit Card (front side)",CreditDebitCardBack:"Credit / Debit Card (back side)",UtilityBill:"Utility Bill",TaxBill:"Tax Bill",CertifiedCopy:"Certified Copy",Selfie:"Selfie",BankStatement:"Bank Statement",RentAgreement:"Rent Agreement",InsuranceAgreement:"Insurance Agreement",Other:"Other",IncomeAndOrSavingsFromEmployment:"Income and/or savings from employment",SaleOfSharesOrOtherInvestments:"Sale of shares or other investments",DividendsProfitsFromCompany:"Dividends/Profits from company",CompanySale:"Company sale",IndividualOwnsPolicyCompanyPays:"Individual owns policy/company pays",SaleOfProperty:"Sale of Property",Inheritance:"Inheritance",MaturityOrSurrenderOfLifeAssurance:"Maturity or surrender of life assurance",InsuranceClaims:"Insurance Claims",CompensationPayment:"Compensation payment",LotteryBettingCasinoWin:"Lottery/betting/casino win",Loan:"Loan",Gift:"Gift",Ewallet:"eWallet",Voucher:"Voucher"}};const y=e=>new Promise(n=>{fetch(e).then(t=>t.json()).then(t=>{Object.keys(t).forEach(o=>{u[o]||(u[o]={});for(let a in t[o])u[o][a]=t[o][a]}),n(!0)})}),r=(e,n,t)=>{const o=n;return u[o!==void 0&&o in u?o:x][e]},S=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));function g(e,n){if(e){const t=document.createElement("style");t.innerHTML=n,e.appendChild(t)}}function v(e,n){if(!e||!n)return;const t=new URL(n);fetch(t.href).then(o=>o.text()).then(o=>{const a=document.createElement("style");a.innerHTML=o,e&&e.appendChild(a)}).catch(o=>{console.error("There was an error while trying to load client styling from URL",o)})}function b(e,n,t){if(window.emMessageBus){const o=document.createElement("style");window.emMessageBus.subscribe(n,a=>{o.innerHTML=a,e&&e.appendChild(o)})}}const P=`:host {
|
|
2
2
|
font-family: inherit;
|
|
3
3
|
}
|
|
4
4
|
|
|
@@ -178,4 +178,4 @@ button, select {
|
|
|
178
178
|
.player-kyc-verification-widget .verification-types {
|
|
179
179
|
grid-template-columns: repeat(2, 1fr);
|
|
180
180
|
}
|
|
181
|
-
}`,D=P,k=class{constructor(e){i.registerInstance(this,e),this.scriptInjected=!1,this.MAX_UPLOAD_SIZE=5e7,this.userAgent=window.navigator.userAgent,this.isMobile=S(this.userAgent),this.handleToggleScreen=()=>{this.toggleScreen(this.isMobile)},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.verificationType=[],this.isLoading=!1,this.selectedFile=null,this.uploadingStatus=void 0,this.uploadSizeExceeded=!1,this.expandedOnDesktop=!1}handleNewTranslations(){this.isLoading=!0,y(this.translationUrl).then(()=>{this.isLoading=!1})}componentWillLoad(){return p(this,null,function*(){this.translationUrl.length>2&&(yield y(this.translationUrl))})}handleClientStylingChange(e,t){e!=t&&g(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,t){e!=t&&this.clientStylingUrl&&v(this.stylingContainer,this.clientStylingUrl)}componentDidLoad(){return p(this,null,function*(){this.stylingContainer&&(window.emMessageBus!=null?b(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&g(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&v(this.stylingContainer,this.clientStylingUrl))),window.innerWidth>700&&(this.expandedOnDesktop=!0);try{let e=new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);const t={method:"POST",headers:{"X-SessionId":this.session,"Content-Type":"application/json"},body:JSON.stringify({})};fetch(e.href,t).then(n=>{if(n.status===200)return n.json();throw new Error("HTTP status "+n.status)}).then(n=>{this.verificationType=n.verifications}).catch(n=>{console.error(n)})}catch(e){console.error("Error fetching verification types:",e)}})}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}handleOptionChange(e,t){const n=e.target;this.verificationType=this.verificationType.map(o=>(o.type===t&&(o.optionChosen=n.value),o))}handleDocumentsStatus(e,t,n){this.verificationType=this.verificationType.map(o=>{if(o.type===e){const a=o.documents.find(s=>s.code===n);a&&(a.statusUploaded=t)}return o})}downloadPDF(e){const t=document.createElement("a");t.href=e,t.download="file.pdf",t.target="_blank",t.dispatchEvent(new MouseEvent("click"))}toggleVerificationType(e,t){this.expandedOnDesktop=!1,this.verificationType=this.verificationType.map(n=>{var o;return n.type===e&&((o=n.flowInfo)===null||o===void 0?void 0:o.type)==t&&(n.expanded=!n.expanded),n})}toggleScreen(e){window.postMessage({type:"PlayerAccountMenuActive",isMobile:e},window.location.href)}checkFileSize(e){let t=0;return Object.keys(e).forEach(n=>{t+=e[n].size}),t<=this.MAX_UPLOAD_SIZE}handleFileSelection(e,t,n){if(e&&e.length>0)if(this.selectedFile=e,!this.checkFileSize(this.selectedFile))console.error(r("fileSizeExceeded",this.language)),this.uploadingStatus=r("fileSizeExceeded",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,t),this.uploadSizeExceeded=!0;else{const o={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":this.session},body:JSON.stringify({DocumentCode:t})};fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`,o).then(a=>{if(a.ok)return this.uploadingStatus=r("uploading",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,t),a.json()}).then(a=>{if(a.ResponseCode=="Success"){const s=new FormData;s.append(t,this.selectedFile[0]),fetch(a.Url,{method:"POST",body:s}).then(c=>{c.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:",c.status))}).catch(c=>{console.error("File upload error:",c)})}else this.uploadingStatus=r("failedUpload",this.language),this.handleDocumentsStatus(n,this.uploadingStatus,t)}).catch(a=>{console.error("File upload error:",a)})}}importScript(e){return new Promise((t,n)=>{fetch(e).then(o=>o.text()).then(o=>{if(new Function(o)(),this.scriptInjected)t(!0);else{const s=document.createElement("script");s.src="https://test.insic.de/frontend3/static/js/avs-loader.min.js",document.head.appendChild(s),this.scriptInjected=!0,t(!0)}}).catch(o=>{n(o)})})}isStatusUploaded(e){return!!(e&&e.status==="Uploaded")}getFirstRequestedDocument(e){var t,n;let o;return(t=e==null?void 0:e.documents)===null||t===void 0||t.forEach(a=>{a.status=="Requested"&&(o=o!=null?o:a.code)}),o||(o=(n=e==null?void 0:e.documents[0])===null||n===void 0?void 0:n.code),o}renderVerificationTypeBox(e){this.expandedOnDesktop&&(e.expanded=!0);let t=this.getFirstRequestedDocument(e),n=e.expanded,o=e.type.trim(),a=e.optionChosen||t,s=e.status,c=e.documents,l=e.flowInfo;const d=s==="Verified",f=s==="Failed"||s==="Expired";return d&&o==="VulnerabilityCheck"&&this.hideVulnerabilityCheck==="true"?null:i.h("div",{class:`verification-box ${n?"expanded":""} ${f?"failed":""} ${d?"success":""}`},i.h("div",{class:`box box-header ${n?"expanded":""}`,onClick:()=>{var h;return this.toggleVerificationType(e.type,(h=e.flowInfo)===null||h===void 0?void 0:h.type)}},i.h("div",{class:"box-icon"},d?i.h("div",null,this.verifiedIcon?i.h("img",{class:"CustomVerifiedIcon",src:this.verifiedIcon,alt:""}):i.h("svg",{width:"100",height:"100",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},i.h("circle",{cx:"50",cy:"50",r:"40",fill:"#388D79"}),i.h("circle",{cx:"50",cy:"50",r:"34",fill:"none",stroke:"#fff","stroke-width":"12px"}),i.h("polyline",{points:"30,50 45,63 70,35",fill:"none",stroke:"#fff","stroke-width":"8px"}))):f?i.h("div",null,this.failedIcon?i.h("img",{class:"CustomFailedIcon",src:this.failedIcon,alt:""}):i.h("svg",{width:"100",height:"100",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},i.h("circle",{cx:"50",cy:"50",r:"40",fill:"red"}),i.h("line",{x1:"30",y1:"30",x2:"70",y2:"70",stroke:"#fff","stroke-width":"10px"}),i.h("line",{x1:"30",y1:"70",x2:"70",y2:"30",stroke:"#fff","stroke-width":"10px"}))):i.h("div",null,this.defaultIcon?i.h("img",{class:"CustomDefaultIcon",src:this.defaultIcon,alt:""}):i.h("svg",{width:"800px",height:"800px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.h("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.h("path",{d:"M9 13H15",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),i.h("path",{d:"M9 17H12",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),i.h("path",{d:"M14 2V6C14 7.10457 14.8954 8 16 8H20",stroke:"#000000","stroke-width":"2","stroke-linejoin":"round"})))),i.h("div",{class:"box-title"},r(o,this.language)),i.h("div",{class:"chevron-icon"},i.h("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.h("path",{d:n?"M6 15l6-6 6 6":"M6 9l6 6 6-6"})))),n?this.renderExpandedContent(e,a,s,c,l,d,f):i.h("div",{class:"box box-content"},i.h("div",{id:"__avs-wrapper"})))}renderDocumentsActions(e,t,n){return i.h("div",null,this.isStatusUploaded(e)?i.h("div",{class:"upload-status"},r("uploaded",this.language)):e!=null&&e.statusUploaded?i.h("div",{class:"upload-status"},e==null?void 0:e.statusUploaded):i.h("div",{class:"documents-action"},i.h("div",{class:"sample-file"},(e==null?void 0:e.sampleType)==="FileDownload"?i.h("button",{class:"download-button",onClick:()=>this.downloadPDF(e==null?void 0:e.sampleUrl)},i.h("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.h("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))"}),i.h("path",{d:"M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z",fill:"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"})),i.h("span",null,r("download",this.language))):null),i.h("div",{class:"upload-button"},t?i.h("label",null,i.h("input",{type:"file",accept:"*",onChange:o=>this.handleFileSelection(o.target.files,t,n.type),style:{display:"none"}}),i.h("svg",{width:"100",height:"100",xmlns:"http://www.w3.org/2000/svg"},i.h("circle",{cx:"50",cy:"50",r:"40",fill:"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"}),i.h("line",{x1:"30",y1:"50",x2:"70",y2:"50",stroke:"white","stroke-width":"6"}),i.h("line",{x1:"50",y1:"30",x2:"50",y2:"70",stroke:"white","stroke-width":"6"}))):null)))}renderExpandedContent(e,t,n,o,a,s,c){if((a==null?void 0:a.type)==="Widget")return i.h("div",null,i.h("hr",{style:{margin:"5px"}}),i.h("iframe",{src:a.url,frameborder:"0",height:"400px",width:"100%",allowfullScreen:!0,allow:"camera *;microphone *"}));if((a==null?void 0:a.type)==="Redirect"&&e.vendorName!=="Manual"&&n!=="Verified"){const l=e.vendorName==="ShuftiPro"?"650px":"400px";return i.h("div",null,i.h("hr",{style:{margin:"5px"}}),i.h("iframe",{src:a.url,frameborder:"0",height:l,width:"100%",allowfullScreen:!0,allow:"camera *;microphone *"}))}else return i.h("div",{class:"box box-content"},i.h(i.Fragment,null,s?i.h("div",{class:"verification-status"},r("verificationComplete",this.language)):c?i.h("div",{class:"verification-status"},n==="Failed"?r("verificationFailed",this.language):r("verificationExpired",this.language)):o.length>0?i.h("div",{class:"documents-dropdown"},i.h("select",{class:"nice-select",onChange:l=>this.handleOptionChange(l,e.type)},o.map(l=>i.h("option",{selected:l.code==t,value:l.code},r(l.type,this.language)))),this.renderDocumentsActions(o.find(l=>l.code===t),t,e)):null))}render(){return this.isLoading?i.h("div",null,i.h("p",null,r("loading",this.language))):i.h("div",{class:"ModalContainer",ref:e=>this.stylingContainer=e},i.h("div",{class:"player-kyc-verification-widget"},this.isMobile?i.h("div",{class:"MenuReturnButton",onClick:this.handleToggleScreen},i.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},i.h("defs",null),i.h("g",{transform:"translate(-20 -158)"},i.h("g",{transform:"translate(20 158)"},i.h("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.h("h2",null,r("kycTitle",this.language))):i.h("h2",null,r("kycTitle",this.language)),this.verificationType.length===0?i.h("div",{class:"no-verification-description",style:{padding:"24px",fontSize:"18px"}},r("noVerificationRequired",this.language)):i.h(i.Fragment,null,i.h("div",{class:"widget-description"},r("kycDescription",this.language)),i.h("div",{class:"verification-types"},this.verificationType.map(e=>e?this.renderVerificationTypeBox(e):null)))))}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};k.style=D;exports.player_kyc_verification=k;
|
|
181
|
+
}`,D=P,k=class{constructor(e){i.registerInstance(this,e),this.scriptInjected=!1,this.MAX_UPLOAD_SIZE=5e7,this.userAgent=window.navigator.userAgent,this.isMobile=S(this.userAgent),this.handleToggleScreen=()=>{this.toggleScreen(this.isMobile)},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.verificationType=[],this.isLoading=!1,this.selectedFile=null,this.uploadingStatus=void 0,this.uploadSizeExceeded=!1,this.expandedOnDesktop=!1}handleNewTranslations(){this.isLoading=!0,y(this.translationUrl).then(()=>{this.isLoading=!1})}componentWillLoad(){return p(this,null,function*(){this.translationUrl.length>2&&(yield y(this.translationUrl))})}handleClientStylingChange(e,n){e!=n&&g(this.stylingContainer,this.clientStyling)}handleClientStylingUrlChange(e,n){e!=n&&this.clientStylingUrl&&v(this.stylingContainer,this.clientStylingUrl)}componentDidLoad(){return p(this,null,function*(){this.stylingContainer&&(window.emMessageBus!=null?b(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&g(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&v(this.stylingContainer,this.clientStylingUrl))),window.innerWidth>700&&(this.expandedOnDesktop=!0);try{let e=new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);const n={method:"POST",headers:{"X-SessionId":this.session,"Content-Type":"application/json"},body:JSON.stringify({})};fetch(e.href,n).then(t=>{if(t.status===200)return t.json();throw new Error("HTTP status "+t.status)}).then(t=>{this.verificationType=t.verifications}).catch(t=>{console.error(t)})}catch(e){console.error("Error fetching verification types:",e)}})}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe()}handleOptionChange(e,n){const t=e.target;this.verificationType=this.verificationType.map(o=>(o.type===n&&(o.optionChosen=t.value),o))}handleDocumentsStatus(e,n,t){this.verificationType=this.verificationType.map(o=>{if(o.type===e){const a=o.documents.find(s=>s.code===t);a&&(a.statusUploaded=n)}return o})}downloadPDF(e){const n=document.createElement("a");n.href=e,n.download="file.pdf",n.target="_blank",n.dispatchEvent(new MouseEvent("click"))}toggleVerificationType(e,n){this.expandedOnDesktop=!1,this.verificationType=this.verificationType.map(t=>{var o;return t.type===e&&((o=t.flowInfo)===null||o===void 0?void 0:o.type)==n&&(t.expanded=!t.expanded),t})}toggleScreen(e){window.postMessage({type:"PlayerAccountMenuActive",isMobile:e},window.location.href)}checkFileSize(e){let n=0;return Object.keys(e).forEach(t=>{n+=e[t].size}),n<=this.MAX_UPLOAD_SIZE}handleFileSelection(e,n,t){if(e&&e.length>0)if(this.selectedFile=e,!this.checkFileSize(this.selectedFile))console.error(r("fileSizeExceeded",this.language)),this.uploadingStatus=r("fileSizeExceeded",this.language),this.handleDocumentsStatus(t,this.uploadingStatus,n),this.uploadSizeExceeded=!0;else{const o={method:"POST",headers:{"Content-Type":"application/json","X-SessionId":this.session},body:JSON.stringify({DocumentCode:n})};fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`,o).then(a=>{if(a.ok)return this.uploadingStatus=r("uploading",this.language),this.handleDocumentsStatus(t,this.uploadingStatus,n),a.json()}).then(a=>{if(a.ResponseCode=="Success"){const s=new FormData;s.append(n,this.selectedFile[0]),fetch(a.Url,{method:"POST",body:s}).then(c=>{c.ok?(this.selectedFile.length>1?this.uploadingStatus=r("successUploadMultipleFiles",this.language):this.uploadingStatus=r("successUpload",this.language),this.handleDocumentsStatus(t,this.uploadingStatus,n)):(this.uploadingStatus=r("failedUpload",this.language),this.handleDocumentsStatus(t,this.uploadingStatus,n),console.error("File upload error:",c.status))}).catch(c=>{console.error("File upload error:",c)})}else this.uploadingStatus=r("failedUpload",this.language),this.handleDocumentsStatus(t,this.uploadingStatus,n)}).catch(a=>{console.error("File upload error:",a)})}}importScript(e){return new Promise((n,t)=>{fetch(e).then(o=>o.text()).then(o=>{if(new Function(o)(),this.scriptInjected)n(!0);else{const s=document.createElement("script");s.src="https://test.insic.de/frontend3/static/js/avs-loader.min.js",document.head.appendChild(s),this.scriptInjected=!0,n(!0)}}).catch(o=>{t(o)})})}isStatusUploaded(e){return!!(e&&e.status==="Uploaded")}getFirstRequestedDocument(e){var n,t;let o;return(n=e==null?void 0:e.documents)===null||n===void 0||n.forEach(a=>{a.status=="Requested"&&(o=o!=null?o:a.code)}),o||(o=(t=e==null?void 0:e.documents[0])===null||t===void 0?void 0:t.code),o}renderVerificationTypeBox(e){this.expandedOnDesktop&&(e.expanded=!0);let n=this.getFirstRequestedDocument(e),t=e.expanded,o=e.type.trim(),a=e.optionChosen||n,s=e.status,c=e.documents,l=e.flowInfo;const d=s==="Verified",f=s==="Failed"||s==="Expired";return d&&o==="VulnerabilityCheck"&&this.hideVulnerabilityCheck==="true"?null:i.h("div",{class:`verification-box ${t?"expanded":""} ${f?"failed":""} ${d?"success":""}`},i.h("div",{class:`box box-header ${t?"expanded":""}`,onClick:()=>{var h;return this.toggleVerificationType(e.type,(h=e.flowInfo)===null||h===void 0?void 0:h.type)}},i.h("div",{class:"box-icon"},d?i.h("div",null,this.verifiedIcon?i.h("img",{class:"CustomVerifiedIcon",src:this.verifiedIcon,alt:""}):i.h("svg",{width:"100",height:"100",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},i.h("circle",{cx:"50",cy:"50",r:"40",fill:"#388D79"}),i.h("circle",{cx:"50",cy:"50",r:"34",fill:"none",stroke:"#fff","stroke-width":"12px"}),i.h("polyline",{points:"30,50 45,63 70,35",fill:"none",stroke:"#fff","stroke-width":"8px"}))):f?i.h("div",null,this.failedIcon?i.h("img",{class:"CustomFailedIcon",src:this.failedIcon,alt:""}):i.h("svg",{width:"100",height:"100",viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg"},i.h("circle",{cx:"50",cy:"50",r:"40",fill:"red"}),i.h("line",{x1:"30",y1:"30",x2:"70",y2:"70",stroke:"#fff","stroke-width":"10px"}),i.h("line",{x1:"30",y1:"70",x2:"70",y2:"30",stroke:"#fff","stroke-width":"10px"}))):i.h("div",null,this.defaultIcon?i.h("img",{class:"CustomDefaultIcon",src:this.defaultIcon,alt:""}):i.h("svg",{width:"800px",height:"800px",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.h("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.h("path",{d:"M9 13H15",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),i.h("path",{d:"M9 17H12",stroke:"#000000","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}),i.h("path",{d:"M14 2V6C14 7.10457 14.8954 8 16 8H20",stroke:"#000000","stroke-width":"2","stroke-linejoin":"round"})))),i.h("div",{class:"box-title"},r(o,this.language)),i.h("div",{class:"chevron-icon"},i.h("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.h("path",{d:t?"M6 15l6-6 6 6":"M6 9l6 6 6-6"})))),t?this.renderExpandedContent(e,a,s,c,l,d,f):i.h("div",{class:"box box-content"},i.h("div",{id:"__avs-wrapper"})))}renderDocumentsActions(e,n,t){return i.h("div",null,this.isStatusUploaded(e)?i.h("div",{class:"upload-status"},r("uploaded",this.language)):e!=null&&e.statusUploaded?i.h("div",{class:"upload-status"},e==null?void 0:e.statusUploaded):i.h("div",{class:"documents-action"},i.h("div",{class:"sample-file"},(e==null?void 0:e.sampleType)==="FileDownload"?i.h("button",{class:"download-button",onClick:()=>this.downloadPDF(e==null?void 0:e.sampleUrl)},i.h("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},i.h("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))"}),i.h("path",{d:"M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z",fill:"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"})),i.h("span",null,r("download",this.language))):null),i.h("div",{class:"upload-button"},n?i.h("label",null,i.h("input",{type:"file",accept:"*",onChange:o=>this.handleFileSelection(o.target.files,n,t.type),style:{display:"none"}}),i.h("svg",{width:"100",height:"100",xmlns:"http://www.w3.org/2000/svg"},i.h("circle",{cx:"50",cy:"50",r:"40",fill:"var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))"}),i.h("line",{x1:"30",y1:"50",x2:"70",y2:"50",stroke:"white","stroke-width":"6"}),i.h("line",{x1:"50",y1:"30",x2:"50",y2:"70",stroke:"white","stroke-width":"6"}))):null)))}renderExpandedContent(e,n,t,o,a,s,c){if((a==null?void 0:a.type)==="Widget")return i.h("div",null,i.h("hr",{style:{margin:"5px"}}),i.h("iframe",{src:a.url,frameborder:"0",height:"400px",width:"100%",allowfullScreen:!0,allow:"camera *;microphone *"}));if((a==null?void 0:a.type)==="Redirect"&&e.vendorName!=="Manual"&&t!=="Verified"){const l=e.vendorName==="ShuftiPro"?"650px":"400px";return i.h("div",null,i.h("hr",{style:{margin:"5px"}}),i.h("iframe",{src:a.url,frameborder:"0",height:l,width:"100%",allowfullScreen:!0,allow:"camera *;microphone *"}))}else return i.h("div",{class:"box box-content"},i.h(i.Fragment,null,s?i.h("div",{class:"verification-status"},r("verificationComplete",this.language)):c?i.h("div",{class:"verification-status"},t==="Failed"?r("verificationFailed",this.language):r("verificationExpired",this.language)):o.length>0?i.h("div",{class:"documents-dropdown"},i.h("select",{class:"nice-select",onChange:l=>this.handleOptionChange(l,e.type)},o.map(l=>i.h("option",{selected:l.code==n,value:l.code},r(l.type,this.language)))),this.renderDocumentsActions(o.find(l=>l.code===n),n,e)):null))}render(){return this.isLoading?i.h("div",null,i.h("p",null,r("loading",this.language))):i.h("div",{class:"ModalContainer",ref:e=>this.stylingContainer=e},i.h("div",{class:"player-kyc-verification-widget"},this.isMobile?i.h("div",{class:"MenuReturnButton",onClick:this.handleToggleScreen},i.h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"15",height:"15",viewBox:"0 0 15 15"},i.h("defs",null),i.h("g",{transform:"translate(-20 -158)"},i.h("g",{transform:"translate(20 158)"},i.h("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.h("h2",null,r("kycTitle",this.language))):i.h("h2",null,r("kycTitle",this.language)),this.verificationType.length===0?i.h("div",{class:"no-verification-description",style:{padding:"24px",fontSize:"18px"}},r("noVerificationRequired",this.language)):i.h(i.Fragment,null,i.h("div",{class:"widget-description"},r("kycDescription",this.language)),i.h("div",{class:"verification-types"},this.verificationType.map(e=>e?this.renderVerificationTypeBox(e):null)))))}static get watchers(){return{translationUrl:["handleNewTranslations"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingUrlChange"]}}};k.style=D;exports.player_kyc_verification=k;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
var p = (e,
|
|
1
|
+
var p = (e, n, t) => new Promise((o, a) => {
|
|
2
2
|
var s = (d) => {
|
|
3
3
|
try {
|
|
4
|
-
l(
|
|
4
|
+
l(t.next(d));
|
|
5
5
|
} catch (f) {
|
|
6
6
|
a(f);
|
|
7
7
|
}
|
|
8
8
|
}, c = (d) => {
|
|
9
9
|
try {
|
|
10
|
-
l(
|
|
10
|
+
l(t.throw(d));
|
|
11
11
|
} catch (f) {
|
|
12
12
|
a(f);
|
|
13
13
|
}
|
|
14
14
|
}, l = (d) => d.done ? o(d.value) : Promise.resolve(d.value).then(s, c);
|
|
15
|
-
l((
|
|
15
|
+
l((t = t.apply(e, n)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as k, p as w, r as C, h as i, F as h } from "./index-9c0f6c58-
|
|
17
|
+
import { b as k, p as w, r as C, h as i, F as h } from "./index-9c0f6c58-DEQL19Io.js";
|
|
18
18
|
import { a as x } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
19
19
|
var S = () => {
|
|
20
|
-
const e = import.meta.url,
|
|
21
|
-
return e !== "" && (
|
|
20
|
+
const e = import.meta.url, n = {};
|
|
21
|
+
return e !== "" && (n.resourcesUrl = new URL(".", e).href), w(n);
|
|
22
22
|
};
|
|
23
23
|
S().then((e) => p(void 0, null, function* () {
|
|
24
24
|
return yield x(), 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"], verificationType: [32], isLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], expandedOnDesktop: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e);
|
|
@@ -534,37 +534,39 @@ let u = {
|
|
|
534
534
|
Voucher: "Voucher"
|
|
535
535
|
}
|
|
536
536
|
};
|
|
537
|
-
const y = (e) => new Promise((
|
|
538
|
-
fetch(e).then((
|
|
539
|
-
Object.keys(
|
|
537
|
+
const y = (e) => new Promise((n) => {
|
|
538
|
+
fetch(e).then((t) => t.json()).then((t) => {
|
|
539
|
+
Object.keys(t).forEach((o) => {
|
|
540
540
|
u[o] || (u[o] = {});
|
|
541
|
-
for (let a in
|
|
542
|
-
u[o][a] =
|
|
543
|
-
}),
|
|
541
|
+
for (let a in t[o])
|
|
542
|
+
u[o][a] = t[o][a];
|
|
543
|
+
}), n(!0);
|
|
544
544
|
});
|
|
545
|
-
}), r = (e,
|
|
546
|
-
const o =
|
|
545
|
+
}), r = (e, n, t) => {
|
|
546
|
+
const o = n;
|
|
547
547
|
return u[o !== void 0 && o in u ? o : b][e];
|
|
548
548
|
}, 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));
|
|
549
|
-
function g(e,
|
|
549
|
+
function g(e, n) {
|
|
550
550
|
if (e) {
|
|
551
|
-
const
|
|
552
|
-
|
|
551
|
+
const t = document.createElement("style");
|
|
552
|
+
t.innerHTML = n, e.appendChild(t);
|
|
553
553
|
}
|
|
554
554
|
}
|
|
555
|
-
function v(e,
|
|
556
|
-
|
|
557
|
-
|
|
555
|
+
function v(e, n) {
|
|
556
|
+
if (!e || !n)
|
|
557
|
+
return;
|
|
558
|
+
const t = new URL(n);
|
|
559
|
+
fetch(t.href).then((o) => o.text()).then((o) => {
|
|
558
560
|
const a = document.createElement("style");
|
|
559
561
|
a.innerHTML = o, e && e.appendChild(a);
|
|
560
562
|
}).catch((o) => {
|
|
561
563
|
console.error("There was an error while trying to load client styling from URL", o);
|
|
562
564
|
});
|
|
563
565
|
}
|
|
564
|
-
function D(e,
|
|
566
|
+
function D(e, n, t) {
|
|
565
567
|
if (window.emMessageBus) {
|
|
566
568
|
const o = document.createElement("style");
|
|
567
|
-
window.emMessageBus.subscribe(
|
|
569
|
+
window.emMessageBus.subscribe(n, (a) => {
|
|
568
570
|
o.innerHTML = a, e && e.appendChild(o);
|
|
569
571
|
});
|
|
570
572
|
}
|
|
@@ -765,18 +767,18 @@ button, select {
|
|
|
765
767
|
this.translationUrl.length > 2 && (yield y(this.translationUrl));
|
|
766
768
|
});
|
|
767
769
|
}
|
|
768
|
-
handleClientStylingChange(e,
|
|
769
|
-
e !=
|
|
770
|
+
handleClientStylingChange(e, n) {
|
|
771
|
+
e != n && g(this.stylingContainer, this.clientStyling);
|
|
770
772
|
}
|
|
771
|
-
handleClientStylingUrlChange(e,
|
|
772
|
-
e !=
|
|
773
|
+
handleClientStylingUrlChange(e, n) {
|
|
774
|
+
e != n && this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl);
|
|
773
775
|
}
|
|
774
776
|
componentDidLoad() {
|
|
775
777
|
return p(this, null, function* () {
|
|
776
778
|
this.stylingContainer && (window.emMessageBus != null ? D(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && g(this.stylingContainer, this.clientStyling), this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0);
|
|
777
779
|
try {
|
|
778
780
|
let e = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus`);
|
|
779
|
-
const
|
|
781
|
+
const n = {
|
|
780
782
|
method: "POST",
|
|
781
783
|
headers: {
|
|
782
784
|
"X-SessionId": this.session,
|
|
@@ -784,14 +786,14 @@ button, select {
|
|
|
784
786
|
},
|
|
785
787
|
body: JSON.stringify({})
|
|
786
788
|
};
|
|
787
|
-
fetch(e.href,
|
|
788
|
-
if (
|
|
789
|
-
return
|
|
790
|
-
throw new Error("HTTP status " +
|
|
791
|
-
}).then((
|
|
792
|
-
this.verificationType =
|
|
793
|
-
}).catch((
|
|
794
|
-
console.error(
|
|
789
|
+
fetch(e.href, n).then((t) => {
|
|
790
|
+
if (t.status === 200)
|
|
791
|
+
return t.json();
|
|
792
|
+
throw new Error("HTTP status " + t.status);
|
|
793
|
+
}).then((t) => {
|
|
794
|
+
this.verificationType = t.verifications;
|
|
795
|
+
}).catch((t) => {
|
|
796
|
+
console.error(t);
|
|
795
797
|
});
|
|
796
798
|
} catch (e) {
|
|
797
799
|
console.error("Error fetching verification types:", e);
|
|
@@ -801,42 +803,42 @@ button, select {
|
|
|
801
803
|
disconnectedCallback() {
|
|
802
804
|
this.stylingSubscription && this.stylingSubscription.unsubscribe();
|
|
803
805
|
}
|
|
804
|
-
handleOptionChange(e,
|
|
805
|
-
const
|
|
806
|
-
this.verificationType = this.verificationType.map((o) => (o.type ===
|
|
806
|
+
handleOptionChange(e, n) {
|
|
807
|
+
const t = e.target;
|
|
808
|
+
this.verificationType = this.verificationType.map((o) => (o.type === n && (o.optionChosen = t.value), o));
|
|
807
809
|
}
|
|
808
|
-
handleDocumentsStatus(e,
|
|
810
|
+
handleDocumentsStatus(e, n, t) {
|
|
809
811
|
this.verificationType = this.verificationType.map((o) => {
|
|
810
812
|
if (o.type === e) {
|
|
811
|
-
const a = o.documents.find((s) => s.code ===
|
|
812
|
-
a && (a.statusUploaded =
|
|
813
|
+
const a = o.documents.find((s) => s.code === t);
|
|
814
|
+
a && (a.statusUploaded = n);
|
|
813
815
|
}
|
|
814
816
|
return o;
|
|
815
817
|
});
|
|
816
818
|
}
|
|
817
819
|
downloadPDF(e) {
|
|
818
|
-
const
|
|
819
|
-
|
|
820
|
+
const n = document.createElement("a");
|
|
821
|
+
n.href = e, n.download = "file.pdf", n.target = "_blank", n.dispatchEvent(new MouseEvent("click"));
|
|
820
822
|
}
|
|
821
|
-
toggleVerificationType(e,
|
|
822
|
-
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((
|
|
823
|
+
toggleVerificationType(e, n) {
|
|
824
|
+
this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((t) => {
|
|
823
825
|
var o;
|
|
824
|
-
return
|
|
826
|
+
return t.type === e && ((o = t.flowInfo) === null || o === void 0 ? void 0 : o.type) == n && (t.expanded = !t.expanded), t;
|
|
825
827
|
});
|
|
826
828
|
}
|
|
827
829
|
toggleScreen(e) {
|
|
828
830
|
window.postMessage({ type: "PlayerAccountMenuActive", isMobile: e }, window.location.href);
|
|
829
831
|
}
|
|
830
832
|
checkFileSize(e) {
|
|
831
|
-
let
|
|
832
|
-
return Object.keys(e).forEach((
|
|
833
|
-
|
|
834
|
-
}),
|
|
833
|
+
let n = 0;
|
|
834
|
+
return Object.keys(e).forEach((t) => {
|
|
835
|
+
n += e[t].size;
|
|
836
|
+
}), n <= this.MAX_UPLOAD_SIZE;
|
|
835
837
|
}
|
|
836
|
-
handleFileSelection(e,
|
|
838
|
+
handleFileSelection(e, n, t) {
|
|
837
839
|
if (e && e.length > 0)
|
|
838
840
|
if (this.selectedFile = e, !this.checkFileSize(this.selectedFile))
|
|
839
|
-
console.error(r("fileSizeExceeded", this.language)), this.uploadingStatus = r("fileSizeExceeded", this.language), this.handleDocumentsStatus(
|
|
841
|
+
console.error(r("fileSizeExceeded", this.language)), this.uploadingStatus = r("fileSizeExceeded", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n), this.uploadSizeExceeded = !0;
|
|
840
842
|
else {
|
|
841
843
|
const o = {
|
|
842
844
|
method: "POST",
|
|
@@ -844,37 +846,37 @@ button, select {
|
|
|
844
846
|
"Content-Type": "application/json",
|
|
845
847
|
"X-SessionId": this.session
|
|
846
848
|
},
|
|
847
|
-
body: JSON.stringify({ DocumentCode:
|
|
849
|
+
body: JSON.stringify({ DocumentCode: n })
|
|
848
850
|
};
|
|
849
851
|
fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, o).then((a) => {
|
|
850
852
|
if (a.ok)
|
|
851
|
-
return this.uploadingStatus = r("uploading", this.language), this.handleDocumentsStatus(
|
|
853
|
+
return this.uploadingStatus = r("uploading", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n), a.json();
|
|
852
854
|
}).then((a) => {
|
|
853
855
|
if (a.ResponseCode == "Success") {
|
|
854
856
|
const s = new FormData();
|
|
855
|
-
s.append(
|
|
856
|
-
c.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(
|
|
857
|
+
s.append(n, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: s }).then((c) => {
|
|
858
|
+
c.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n)) : (this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n), console.error("File upload error:", c.status));
|
|
857
859
|
}).catch((c) => {
|
|
858
860
|
console.error("File upload error:", c);
|
|
859
861
|
});
|
|
860
862
|
} else
|
|
861
|
-
this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(
|
|
863
|
+
this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(t, this.uploadingStatus, n);
|
|
862
864
|
}).catch((a) => {
|
|
863
865
|
console.error("File upload error:", a);
|
|
864
866
|
});
|
|
865
867
|
}
|
|
866
868
|
}
|
|
867
869
|
importScript(e) {
|
|
868
|
-
return new Promise((
|
|
870
|
+
return new Promise((n, t) => {
|
|
869
871
|
fetch(e).then((o) => o.text()).then((o) => {
|
|
870
872
|
if (new Function(o)(), this.scriptInjected)
|
|
871
|
-
|
|
873
|
+
n(!0);
|
|
872
874
|
else {
|
|
873
875
|
const s = document.createElement("script");
|
|
874
|
-
s.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(s), this.scriptInjected = !0,
|
|
876
|
+
s.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(s), this.scriptInjected = !0, n(!0);
|
|
875
877
|
}
|
|
876
878
|
}).catch((o) => {
|
|
877
|
-
|
|
879
|
+
t(o);
|
|
878
880
|
});
|
|
879
881
|
});
|
|
880
882
|
}
|
|
@@ -882,32 +884,32 @@ button, select {
|
|
|
882
884
|
return !!(e && e.status === "Uploaded");
|
|
883
885
|
}
|
|
884
886
|
getFirstRequestedDocument(e) {
|
|
885
|
-
var
|
|
887
|
+
var n, t;
|
|
886
888
|
let o;
|
|
887
|
-
return (
|
|
889
|
+
return (n = e == null ? void 0 : e.documents) === null || n === void 0 || n.forEach((a) => {
|
|
888
890
|
a.status == "Requested" && (o = o != null ? o : a.code);
|
|
889
|
-
}), o || (o = (
|
|
891
|
+
}), o || (o = (t = e == null ? void 0 : e.documents[0]) === null || t === void 0 ? void 0 : t.code), o;
|
|
890
892
|
}
|
|
891
893
|
renderVerificationTypeBox(e) {
|
|
892
894
|
this.expandedOnDesktop && (e.expanded = !0);
|
|
893
|
-
let
|
|
895
|
+
let n = this.getFirstRequestedDocument(e), t = e.expanded, o = e.type.trim(), a = e.optionChosen || n, s = e.status, c = e.documents, l = e.flowInfo;
|
|
894
896
|
const d = s === "Verified", f = s === "Failed" || s === "Expired";
|
|
895
|
-
return d && o === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" ? null : i("div", { class: `verification-box ${
|
|
897
|
+
return d && o === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" ? null : i("div", { class: `verification-box ${t ? "expanded" : ""} ${f ? "failed" : ""} ${d ? "success" : ""}` }, i("div", { class: `box box-header ${t ? "expanded" : ""}`, onClick: () => {
|
|
896
898
|
var m;
|
|
897
899
|
return this.toggleVerificationType(e.type, (m = e.flowInfo) === null || m === void 0 ? void 0 : m.type);
|
|
898
|
-
} }, i("div", { class: "box-icon" }, d ? 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" }))) : f ? 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:
|
|
900
|
+
} }, i("div", { class: "box-icon" }, d ? 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" }))) : f ? 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: t ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), t ? this.renderExpandedContent(e, a, s, c, l, d, f) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
|
|
899
901
|
}
|
|
900
|
-
renderDocumentsActions(e,
|
|
901
|
-
return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e != null && e.statusUploaded ? i("div", { class: "upload-status" }, e == null ? void 0 : e.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, (e == null ? void 0 : e.sampleType) === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e == null ? void 0 : 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, #22B04E))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" },
|
|
902
|
+
renderDocumentsActions(e, n, t) {
|
|
903
|
+
return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e != null && e.statusUploaded ? i("div", { class: "upload-status" }, e == null ? void 0 : e.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, (e == null ? void 0 : e.sampleType) === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e == null ? void 0 : 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, #22B04E))" }), i("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), i("span", null, r("download", this.language))) : null), i("div", { class: "upload-button" }, n ? i("label", null, i("input", { type: "file", accept: "*", onChange: (o) => this.handleFileSelection(o.target.files, n, t.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, #22B04E))" }), 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)));
|
|
902
904
|
}
|
|
903
|
-
renderExpandedContent(e,
|
|
905
|
+
renderExpandedContent(e, n, t, o, a, s, c) {
|
|
904
906
|
if ((a == null ? void 0 : a.type) === "Widget")
|
|
905
907
|
return i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
|
|
906
|
-
if ((a == null ? void 0 : a.type) === "Redirect" && e.vendorName !== "Manual" &&
|
|
908
|
+
if ((a == null ? void 0 : a.type) === "Redirect" && e.vendorName !== "Manual" && t !== "Verified") {
|
|
907
909
|
const l = e.vendorName === "ShuftiPro" ? "650px" : "400px";
|
|
908
910
|
return i("div", null, i("hr", { style: { margin: "5px" } }), i("iframe", { src: a.url, frameborder: "0", height: l, width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
|
|
909
911
|
} else
|
|
910
|
-
return i("div", { class: "box box-content" }, i(h, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : c ? i("div", { class: "verification-status" },
|
|
912
|
+
return i("div", { class: "box box-content" }, i(h, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : c ? i("div", { class: "verification-status" }, t === "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 == n, value: l.code }, r(l.type, this.language)))), this.renderDocumentsActions(o.find((l) => l.code === n), n, e)) : null));
|
|
911
913
|
}
|
|
912
914
|
render() {
|
|
913
915
|
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(h, null, i("div", { class: "widget-description" }, r("kycDescription", this.language)), i("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
|
|
@@ -14,7 +14,7 @@ var Q = (e, l, o) => new Promise((c, m) => {
|
|
|
14
14
|
}, g = (h) => h.done ? c(h.value) : Promise.resolve(h.value).then(L, $);
|
|
15
15
|
g((o = o.apply(e, l)).next());
|
|
16
16
|
});
|
|
17
|
-
import { b as se, p as ue, r as de, h as D, H as le } from "./index-1ef3a64c-
|
|
17
|
+
import { b as se, p as ue, r as de, h as D, H as le } from "./index-1ef3a64c-D5p-wZAC.js";
|
|
18
18
|
import { c as ce } from "./app-globals-0f993ce5-DzSE6TtH.js";
|
|
19
19
|
var he = () => {
|
|
20
20
|
const e = import.meta.url, l = {};
|
|
@@ -143,6 +143,8 @@ function K(e, l) {
|
|
|
143
143
|
}
|
|
144
144
|
}
|
|
145
145
|
function ee(e, l) {
|
|
146
|
+
if (!e || !l)
|
|
147
|
+
return;
|
|
146
148
|
const o = new URL(l);
|
|
147
149
|
fetch(o.href).then((c) => c.text()).then((c) => {
|
|
148
150
|
const m = document.createElement("style");
|