import { b as k, p as S, r as b, h as t, F as m, s as x } from "../lazy/player-kyc-verification-DTjzHjn1.js";
import { a as P } from "./app-globals-0f993ce5-XUXOuUQl.js";
var D = () => {
  const e = import.meta.url, i = {};
  return e !== "" && (i.resourcesUrl = new URL(".", e).href), S(i);
};
D().then(async (e) => (await P(), k([["player-kyc-verification", [[1, "player-kyc-verification", { hideVulnerabilityCheck: [1, "hide-vulnerability-check"], userId: [1, "user-id"], session: [1], language: [1], endpoint: [1], translationUrl: [1, "translation-url"], clientStyling: [1, "client-styling"], verifiedIcon: [1, "verified-icon"], failedIcon: [1, "failed-icon"], defaultIcon: [1, "default-icon"], clientStylingUrl: [1, "client-styling-url"], mbSource: [1, "mb-source"], hideKycDescription: [1, "hide-kyc-description"], verificationType: [32], hasAllDocumentsUploaded: [32], verificationsGeneralStatus: [32], isLoading: [32], isKYCLoading: [32], selectedFile: [32], uploadingStatus: [32], uploadSizeExceeded: [32], expandedOnDesktop: [32], isDataLoading: [32] }, null, { translationUrl: ["handleNewTranslations"], clientStyling: ["handleClientStylingChange"], clientStylingUrl: ["handleClientStylingUrlChange"] }]]]], e)));
const z = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  setNonce: x
}, Symbol.toStringTag, { value: "Module" })), O = "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.",
    kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
    kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
    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.",
    kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
    kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
    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ță.",
    kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
    kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
    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.",
    kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
    kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
    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: "نحتاج إلى بعض الوثائق لحماية حسابك والامتثال للمتطلبات القانونية والترخيص.",
    kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
    kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
    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.",
    kycVerifiedDescription: "Great news! Your account is verified. You're all set, jump in and enjoy the games. Thanks for playing with us!",
    kycFailedDescription: "We need clearer images to verify your account. Please upload better quality photos to complete this step — this helps keep your account secure. Thank you.",
    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"
  },
  pt: {
    loading: "Carregando, por favor aguarde ...",
    noVerificationRequired: "Não é necessária verificação para sua conta neste momento.",
    verificationComplete: "Verificação concluída",
    verificationFailed: "Falha na verificação",
    verificationExpired: "Verificação expirada",
    fileSizeExceeded: "Tamanho máximo de arquivo excedido. O tamanho máximo é: 50mb",
    uploading: "Enviando ... ",
    successUpload: "Seu documento foi enviado e será analisado em breve",
    successUploadMultipleFiles: "Seus documentos foram enviados e serão analisados em breve",
    failedUpload: "Falha no envio, por favor tente novamente",
    chooseDocument: "Escolher documento",
    kycTitle: "Verificação de Conta",
    kycDescription: "Solicitamos alguns documentos para proteger sua conta e cumprir requisitos legais e de licença.",
    kycVerifiedDescription: "Boas notícias! A sua conta foi verificada. Está tudo pronto, entre e divirta-se com os jogos. Obrigado por jogar connosco!",
    kycFailedDescription: "Precisamos de imagens mais nítidas para verificar a sua conta. Por favor, envie fotos com melhor qualidade para concluir esta etapa — isto ajuda a manter a sua conta segura. Obrigado.",
    download: "Baixar",
    Age: "Idade",
    Aml: "AML",
    Documents: "Documentos",
    Pep: "PEP",
    Sanction: "Sanções",
    Recheck: "Reverificação",
    Biometric: "Biometria",
    ProofOfAddress: "Comprovante de Endereço",
    SourceOfWealth: "Origem do Patrimônio",
    SocialMedia: "Redes Sociais",
    ProofOfPayment: "Comprovante de Pagamento",
    ProofOfIdentityFront: "Comprovante de identidade (frente)",
    ProofOfIdentityBack: "Comprovante de identidade (verso)",
    SourceOfFunds: "Origem dos Recursos",
    uploaded: "Documento já enviado.",
    Unknown: "Desconhecido",
    Passport: "Passaporte",
    IdCardFront: "Carteira de Identidade (frente)",
    IdCardBack: "Carteira de Identidade (verso)",
    BirthCertificate: "Certidão de Nascimento",
    DrivingLicenseFront: "Carteira de Motorista (frente)",
    DrivingLicenseBack: "Carteira de Motorista (verso)",
    ResidentialPermit: "Autorização de Residência",
    CreditDebitCardFront: "Cartão de Crédito / Débito (frente)",
    CreditDebitCardBack: "Cartão de Crédito / Débito (verso)",
    UtilityBill: "Conta de Serviço Público",
    TaxBill: "Conta de Imposto",
    CertifiedCopy: "Cópia Autenticada",
    Selfie: "Selfie",
    BankStatement: "Extrato Bancário",
    RentAgreement: "Contrato de Aluguel",
    InsuranceAgreement: "Contrato de Seguro",
    Other: "Outro",
    IncomeAndOrSavingsFromEmployment: "Renda e/ou poupança proveniente de emprego",
    SaleOfSharesOrOtherInvestments: "Venda de ações ou outros investimentos",
    DividendsProfitsFromCompany: "Dividendos/Lucros da empresa",
    CompanySale: "Venda de empresa",
    IndividualOwnsPolicyCompanyPays: "Indivíduo é titular da apólice / empresa paga",
    SaleOfProperty: "Venda de Imóvel",
    Inheritance: "Herança",
    MaturityOrSurrenderOfLifeAssurance: "Vencimento ou resgate de seguro de vida",
    InsuranceClaims: "Indenizações de Seguro",
    CompensationPayment: "Pagamento de compensação",
    LotteryBettingCasinoWin: "Ganho em loteria/apostas/cassino",
    Loan: "Empréstimo",
    Gift: "Doação",
    Ewallet: "Carteira Digital",
    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((i) => {
  fetch(e).then((o) => o.json()).then((o) => {
    Object.keys(o).forEach((n) => {
      u[n] || (u[n] = {});
      for (let a in o[n])
        u[n][a] = o[n][a];
    }), i(!0);
  });
}), s = (e, i, o) => {
  const n = i;
  return u[n !== void 0 && n in u ? n : O][e];
}, I = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), c = "__WIDGET_GLOBAL_STYLE_CACHE__";
function g(e, i) {
  if (e) {
    const o = document.createElement("style");
    o.innerHTML = i, e.appendChild(o);
  }
}
function v(e, i) {
  if (!e || !i)
    return;
  const o = new URL(i);
  fetch(o.href).then((n) => n.text()).then((n) => {
    const a = document.createElement("style");
    a.innerHTML = n, e && e.appendChild(a);
  }).catch((n) => {
    console.error("There was an error while trying to load client styling from URL", n);
  });
}
function B(e, i, o, n = !1) {
  if (!window.emMessageBus)
    return;
  if (!("adoptedStyleSheets" in Document.prototype) || !n)
    return o = F(e, i), o;
  window[c] || (window[c] = {}), o = L(e, i);
  const r = o.unsubscribe.bind(o), d = () => {
    if (window[c][i]) {
      const l = window[c][i];
      l.refCount > 1 ? l.refCount = l.refCount - 1 : delete window[c][i];
    }
    r();
  };
  return o.unsubscribe = d, o;
}
function F(e, i) {
  const o = document.createElement("style");
  return window.emMessageBus.subscribe(i, (n) => {
    e && (o.innerHTML = n, e.appendChild(o));
  });
}
function L(e, i) {
  return window.emMessageBus.subscribe(i, (o) => {
    if (!e)
      return;
    const n = e.getRootNode(), a = window[c];
    let r = a[i] && a[i].sheet;
    r ? a[i].refCount = a[i].refCount + 1 : (r = new CSSStyleSheet(), r.replaceSync(o), a[i] = {
      sheet: r,
      refCount: 1
    });
    const d = n.adoptedStyleSheets || [];
    d.includes(r) || (n.adoptedStyleSheets = [...d, r]);
  });
}
const A = `:host {
  font-family: inherit;
}

button, select {
  font-family: inherit;
}

.ModalContainer {
  container-type: inline-size;
}

.player-kyc-verification-widget {
  padding: 20px;
  align-items: center;
}
.player-kyc-verification-widget h2 {
  margin: 15px;
  font-weight: var(--emw--font-weight-semibold, 500);
}
.player-kyc-verification-widget .widget-description, .player-kyc-verification-widget .widget-description-verified, .player-kyc-verification-widget .widget-description-failed {
  margin: 24px 0px;
}
.player-kyc-verification-widget .verification-types {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-gap: 34px;
}
.player-kyc-verification-widget .verification-types .verification-box {
  transition: height 0.3s, border-color 0.3s;
  border: solid 1px var(--emw--color-gray-100, #E6E6E6);
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  padding: 0px 14px;
  border-width: 2px 2px 8px 2px;
  align-self: start;
}
.player-kyc-verification-widget .verification-types .verification-box .box {
  flex-shrink: 0;
}
.player-kyc-verification-widget .verification-types .verification-box .box-header {
  display: flex;
  padding: 14px 0px;
  justify-content: space-between;
  cursor: pointer;
  align-items: center;
}
.player-kyc-verification-widget .verification-types .verification-box .box-header .box-icon {
  flex-grow: 1;
  display: flex;
  justify-content: center;
}
.player-kyc-verification-widget .verification-types .verification-box .box-header .box-icon svg {
  height: 24px;
  width: 24px;
}
.player-kyc-verification-widget .verification-types .verification-box .box-header .box-title {
  flex-grow: 1;
  font-size: 18px;
}
.player-kyc-verification-widget .verification-types .verification-box .box-header .chevron-icon {
  flex-grow: 10;
  width: 14px;
  height: 14px;
  display: flex;
  justify-content: flex-end;
}
.player-kyc-verification-widget .verification-types .verification-box .box-header .chevron-icon svg {
  width: 20px;
  height: 22px;
}
.player-kyc-verification-widget .verification-types .verification-box .box-content {
  flex-grow: 1;
  border-top: 0.4px solid var(--emw--color-gray-100, #E6E6E6);
  padding: 10px 0px;
  flex-grow: 1;
}
.player-kyc-verification-widget .verification-types .verification-box .box-content .upload-status {
  text-align: center;
  padding: 20px;
}
.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
}
.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown svg {
  margin: 16px;
  cursor: pointer;
}
.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .nice-select {
  cursor: pointer;
  width: 100%;
  height: 30px;
  padding: 4px 14px;
  font-size: 14px;
  border: 1px solid var(--emw--color-gray-150, #828282);
  border-radius: 2px;
  background-color: var(--emw--color-white, #FFFFFF);
  color: #333;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 30px;
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-image: url('data:image/svg+xml;charset=utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="%23333" d="M10 18.4l-6.5-6.5h13z"/><path fill="%23333" d="M10 1.6l6.5 6.5H3.5z"/></svg>');
}
.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .sample-file .download-button {
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--emw--color-white, #FFFFFF);
  color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
  border: none;
  font-size: 16px;
  padding: 10px 0px 0px 0px;
  cursor: pointer;
}
.player-kyc-verification-widget .verification-types .verification-box .box-content .documents-dropdown .sample-file .download-button svg {
  margin-right: 10px;
}
.player-kyc-verification-widget .verification-types .verification-box.expanded {
  border-color: var(--emw--color-valid, var(--emw--color-green, #48952a));
  min-height: 120px;
}
.player-kyc-verification-widget .verification-types .verification-box.failed {
  border-color: var(--emw--color-error, var(--emw--color-red, #FD2839));
}
.player-kyc-verification-widget .verification-types .verification-box.success {
  border-color: var(--emw--color-valid, var(--emw--color-green, #48952a));
}
.player-kyc-verification-widget .verification-types .verification-box.expanded .box-content {
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.player-kyc-verification-widget .verification-types .verification-box.expanded .box-content .verification-status {
  margin: 12px 0px 16px;
  font-size: 18px;
  text-align: center;
  color: var(--emw--color-gray-150, #828282);
}

.MenuReturnButton {
  display: flex;
  align-items: center;
}

@container (min-width: 700px) {
  .player-kyc-verification-widget {
    padding: 100px 60px;
  }
}
@container (max-width: 700px) {
  .player-kyc-verification-widget h2 {
    margin: 15px;
    text-align: center;
  }
  .player-kyc-verification-widget .verification-types {
    grid-template-columns: 1fr;
    grid-gap: 16px;
  }
}
@container (max-width: 475px) {
  .player-kyc-verification-widget .verification-types {
    display: block;
  }
  .player-kyc-verification-widget .verification-types .verification-box {
    margin-bottom: 20px;
  }
}
@container (max-width: 1240px) and (min-width: 701px) {
  .player-kyc-verification-widget .verification-types {
    grid-template-columns: repeat(2, 1fr);
  }
}
.ModalLoader {
  width: 300px;
  height: 300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ModalLoader:after {
  content: " ";
  display: block;
  width: 64px;
  height: 64px;
  margin: 8px;
  border-radius: 50%;
  border: 5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));
  border-color: var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;
  animation: Loader 1.2s linear infinite;
}

@keyframes Loader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}`, U = A, C = class {
  constructor(e) {
    b(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = I(this.userAgent), this.getKYCCustomerStatus = () => {
      try {
        this.isKYCLoading = !0;
        let i = new URL(`${this.endpoint}/v2/player/${this.userId}/verification/GetKYCCustomerStatus?language=${this.language}`);
        const o = {
          method: "POST",
          headers: {
            "X-SessionId": this.session,
            "Content-Type": "application/json"
          },
          body: JSON.stringify({})
        };
        fetch(i.href, o).then((n) => {
          if (n.status === 200)
            return n.json();
          throw new Error("HTTP status " + n.status);
        }).then((n) => {
          var a;
          this.verificationType = n.verifications, ((a = this.verificationType) === null || a === void 0 ? void 0 : a.length) > 0 && (this.hideKycDescription === "true" && (this.hasAllDocumentsUploaded = this.verificationType.every((r) => {
            var d;
            if (r?.documents.length !== 0)
              return (d = r?.documents) === null || d === void 0 ? void 0 : d.some((l) => l.status === "Uploaded");
          })), this.verificationsGeneralStatus = this.getGeneralVerificationStatus(this.verificationType), Array.isArray(this.verificationType) && this.handleVerificationShuftiMessage(this.verificationType)), this.isKYCLoading = !1;
        }).catch((n) => {
          this.isKYCLoading = !1, console.error(n);
        }).finally(() => {
          this.isDataLoading = !1;
        });
      } catch (i) {
        console.error("Error fetching verification types:", i);
      }
    }, this.handleShuftiMessage = (i) => {
      const o = i.data, n = o.event || o.verification_status;
      if (n)
        switch (n) {
          case "verification.declined":
          case "verification.accepted":
            setTimeout(() => {
              this.isKYCLoading = !0;
            }, 500), setTimeout(() => {
              this.getKYCCustomerStatus();
            }, 5500);
            break;
        }
    }, this.handleToggleScreen = () => {
      this.toggleScreen(this.isMobile);
    }, this.hideVulnerabilityCheck = "false", this.userId = "", this.session = "", this.language = "en", this.endpoint = "", this.translationUrl = "", this.clientStyling = "", this.verifiedIcon = "", this.failedIcon = "", this.defaultIcon = "", this.clientStylingUrl = "", this.mbSource = void 0, this.hideKycDescription = "false", this.verificationType = [], this.hasAllDocumentsUploaded = !1, this.verificationsGeneralStatus = void 0, this.isLoading = !1, this.isKYCLoading = !1, this.selectedFile = null, this.uploadingStatus = void 0, this.uploadSizeExceeded = !1, this.expandedOnDesktop = !1, this.isDataLoading = !0;
  }
  handleNewTranslations() {
    this.isLoading = !0, y(this.translationUrl).then(() => {
      this.isLoading = !1;
    });
  }
  async componentWillLoad() {
    this.translationUrl.length > 2 && await y(this.translationUrl);
  }
  handleClientStylingChange(e, i) {
    e != i && g(this.stylingContainer, this.clientStyling);
  }
  handleClientStylingUrlChange(e, i) {
    e != i && this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl);
  }
  async componentDidLoad() {
    this.stylingContainer && (window.emMessageBus != null ? B(this.stylingContainer, `${this.mbSource}.Style`, this.stylingSubscription) : (this.clientStyling && g(this.stylingContainer, this.clientStyling), this.clientStylingUrl && v(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0), this.getKYCCustomerStatus();
  }
  removeVerificationShuftiMessage() {
    window.removeEventListener("message", this.handleShuftiMessage);
  }
  handleVerificationShuftiMessage(e) {
    const i = e.find((o) => {
      var n;
      return o.vendorName === "ShuftiPro" && ((n = o.flowInfo) === null || n === void 0 ? void 0 : n.actionNeeded) === !0;
    });
    this.removeVerificationShuftiMessage(), i && window.addEventListener("message", this.handleShuftiMessage);
  }
  getGeneralVerificationStatus(e) {
    const i = e?.map((o) => o.status.toLowerCase());
    return i.includes("failed") ? "Failed" : i.includes("expired") ? "Expired" : i.includes("inprogress") ? "InProgress" : i.every((o) => o === "verified") ? "Verified" : "Unknown";
  }
  disconnectedCallback() {
    this.stylingSubscription && this.stylingSubscription.unsubscribe(), this.removeVerificationShuftiMessage();
  }
  handleOptionChange(e, i) {
    const o = e.target;
    this.verificationType = this.verificationType.map((n) => (n.type === i && (n.optionChosen = o.value), n));
  }
  handleDocumentsStatus(e, i, o) {
    this.verificationType = this.verificationType.map((n) => {
      if (n.type === e) {
        const a = n.documents.find((r) => r.code === o);
        a && (a.statusUploaded = i);
      }
      return n;
    });
  }
  downloadPDF(e) {
    const i = document.createElement("a");
    i.href = e, i.download = "file.pdf", i.target = "_blank", i.dispatchEvent(new MouseEvent("click"));
  }
  toggleVerificationType(e, i) {
    this.expandedOnDesktop = !1, this.verificationType = this.verificationType.map((o) => {
      var n;
      return o.type === e && ((n = o.flowInfo) === null || n === void 0 ? void 0 : n.type) == i && (o.expanded = !o.expanded), o;
    });
  }
  toggleScreen(e) {
    window.postMessage({ type: "PlayerAccountMenuActive", isMobile: e }, window.location.href);
  }
  checkFileSize(e) {
    let i = 0;
    return Object.keys(e).forEach((o) => {
      i += e[o].size;
    }), i <= this.MAX_UPLOAD_SIZE;
  }
  handleFileSelection(e, i, o) {
    if (e && e.length > 0)
      if (this.selectedFile = e, !this.checkFileSize(this.selectedFile))
        console.error(s("fileSizeExceeded", this.language)), this.uploadingStatus = s("fileSizeExceeded", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), this.uploadSizeExceeded = !0;
      else {
        const n = {
          method: "POST",
          headers: {
            "Content-Type": "application/json",
            "X-SessionId": this.session
          },
          body: JSON.stringify({ DocumentCode: i })
        };
        fetch(`${this.endpoint}/v1/player/${this.userId}/verification/GetKYCVerificationDocumentUploadUrl`, n).then((a) => {
          if (a.ok)
            return this.uploadingStatus = s("uploading", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), a.json();
        }).then((a) => {
          if (a.ResponseCode == "Success") {
            const r = new FormData();
            r.append(i, this.selectedFile[0]), fetch(a.Url, { method: "POST", body: r }).then((d) => {
              d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = s("successUploadMultipleFiles", this.language) : this.uploadingStatus = s("successUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i)) : (this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i), console.error("File upload error:", d.status));
            }).catch((d) => {
              console.error("File upload error:", d);
            });
          } else
            this.uploadingStatus = s("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, i);
        }).catch((a) => {
          console.error("File upload error:", a);
        });
      }
  }
  importScript(e) {
    return new Promise((i, o) => {
      fetch(e).then((n) => n.text()).then((n) => {
        if (new Function(n)(), this.scriptInjected)
          i(!0);
        else {
          const r = document.createElement("script");
          r.src = "https://test.insic.de/frontend3/static/js/avs-loader.min.js", document.head.appendChild(r), this.scriptInjected = !0, i(!0);
        }
      }).catch((n) => {
        o(n);
      });
    });
  }
  isStatusUploaded(e) {
    return !!(e && e.status === "Uploaded");
  }
  getFirstRequestedDocument(e) {
    var i, o;
    let n;
    return (i = e?.documents) === null || i === void 0 || i.forEach((a) => {
      a.status == "Requested" && (n = n ?? a.code);
    }), n || (n = (o = e?.documents[0]) === null || o === void 0 ? void 0 : o.code), n;
  }
  renderVerificationTypeBox(e) {
    this.expandedOnDesktop && (e.expanded = !0);
    let i = this.getFirstRequestedDocument(e), o = e.expanded, n = e.type.trim(), a = e.optionChosen || i, r = e.status, d = e.documents, l = e.flowInfo;
    const w = e.vendorName === "ShuftiPro" && r !== "InProgress", f = r === "Verified", p = r === "Failed" || r === "Expired";
    return f && n === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" || w ? null : t("div", { class: `verification-box ${o ? "expanded" : ""} ${p ? "failed" : ""} ${f ? "success" : ""}` }, t("div", { class: `box box-header ${o ? "expanded" : ""}`, onClick: () => {
      var h;
      return this.toggleVerificationType(e.type, (h = e.flowInfo) === null || h === void 0 ? void 0 : h.type);
    } }, t("div", { class: "box-icon" }, f ? t("div", null, this.verifiedIcon ? t("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : t("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), t("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), t("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : p ? t("div", null, this.failedIcon ? t("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : t("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), t("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), t("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : t("div", null, this.defaultIcon ? t("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : t("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), t("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), t("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), t("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), t("div", { class: "box-title" }, s(n, this.language)), t("div", { class: "chevron-icon" }, t("svg", { xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }, t("path", { d: o ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), o ? this.renderExpandedContent(e, a, r, d, l, f, p) : t("div", { class: "box box-content" }, t("div", { id: "__avs-wrapper" })));
  }
  renderDocumentsActions(e, i, o) {
    return t("div", null, this.isStatusUploaded(e) ? t("div", { class: "upload-status" }, s("uploaded", this.language)) : e?.statusUploaded ? t("div", { class: "upload-status" }, e?.statusUploaded) : t("div", { class: "documents-action" }, t("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? t("button", { class: "download-button", onClick: () => this.downloadPDF(e?.sampleUrl) }, t("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, t("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), t("path", { d: "M17 11H14V6H10V11H7L12 16L17 11ZM7 17V19H17V17H7Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" })), t("span", null, s("download", this.language))) : null), t("div", { class: "upload-button" }, i ? t("label", null, t("input", { type: "file", accept: "*", onChange: (n) => this.handleFileSelection(n.target.files, i, o.type), style: { display: "none" } }), t("svg", { width: "100", height: "100", xmlns: "http://www.w3.org/2000/svg" }, t("circle", { cx: "50", cy: "50", r: "40", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" }), t("line", { x1: "30", y1: "50", x2: "70", y2: "50", stroke: "white", "stroke-width": "6" }), t("line", { x1: "50", y1: "30", x2: "50", y2: "70", stroke: "white", "stroke-width": "6" }))) : null)));
  }
  renderExpandedContent(e, i, o, n, a, r, d) {
    if (a?.type === "Widget")
      return t("div", null, t("hr", { style: { margin: "5px" } }), t("iframe", { src: a.url, frameborder: "0", height: "400px", width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
    if (a?.type === "Redirect" && e.vendorName !== "Manual" && o !== "Verified") {
      const l = e.vendorName === "ShuftiPro" ? "650px" : "400px";
      return t("div", null, t("hr", { style: { margin: "5px" } }), t("iframe", { src: a.url, frameborder: "0", height: l, width: "100%", allowfullScreen: !0, allow: "camera *;microphone *" }));
    } else
      return t("div", { class: "box box-content" }, t(m, null, r ? t("div", { class: "verification-status" }, s("verificationComplete", this.language)) : d ? t("div", { class: "verification-status" }, o === "Failed" ? s("verificationFailed", this.language) : s("verificationExpired", this.language)) : n.length > 0 ? t("div", { class: "documents-dropdown" }, t("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, n.map((l) => t("option", { selected: l.code == i, value: l.code }, s(l.type, this.language)))), this.renderDocumentsActions(n.find((l) => l.code === i), i, e)) : null));
  }
  renderKycDescription() {
    if (this.hideKycDescription === "true")
      switch (this.verificationsGeneralStatus) {
        case "Verified":
          return t("div", { class: "widget-description-verified" }, s("kycVerifiedDescription", this.language));
        case "Failed":
          return t("div", { class: "widget-description-failed" }, s("kycFailedDescription", this.language));
        default:
          if (this.hasAllDocumentsUploaded)
            return null;
          break;
      }
    return t("div", { class: "widget-description" }, s("kycDescription", this.language));
  }
  render() {
    return this.isLoading ? t("div", null, t("p", null, s("loading", this.language))) : t("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, t("div", { class: "player-kyc-verification-widget" }, this.isMobile ? t("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, t("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, t("defs", null), t("g", { transform: "translate(-20 -158)" }, t("g", { transform: "translate(20 158)" }, t("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), t("h2", null, s("kycTitle", this.language))) : t("h2", null, s("kycTitle", this.language)), this.isDataLoading ? t("div", { class: "loader" }, s("loading", this.language)) : this.verificationType.length === 0 ? t("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, s("noVerificationRequired", this.language)) : t(m, null, this.renderKycDescription(), t("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
  }
  static get watchers() {
    return {
      translationUrl: ["handleNewTranslations"],
      clientStyling: ["handleClientStylingChange"],
      clientStylingUrl: ["handleClientStylingUrlChange"]
    };
  }
};
C.style = U;
const T = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  player_kyc_verification: C
}, Symbol.toStringTag, { value: "Module" }));
export {
  T as a,
  z as p
};
