import { b as v, p as k, r as w, h as i, F as m } from "./index-9c0f6c58-DjED2nNw.js";
import { a as C } from "./app-globals-0f993ce5-DzSE6TtH.js";
var x = () => {
  const e = import.meta.url, n = {};
  return e !== "" && (n.resourcesUrl = new URL(".", e).href), k(n);
};
x().then(async (e) => (await C(), v([["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 S = "en";
let c = {
  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 h = (e) => new Promise((n) => {
  fetch(e).then((o) => o.json()).then((o) => {
    Object.keys(o).forEach((t) => {
      c[t] || (c[t] = {});
      for (let a in o[t])
        c[t][a] = o[t][a];
    }), n(!0);
  });
}), r = (e, n, o) => {
  const t = n;
  return c[t !== void 0 && t in c ? t : S][e];
}, b = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
function y(e, n) {
  if (e) {
    const o = document.createElement("style");
    o.innerHTML = n, e.appendChild(o);
  }
}
function g(e, n) {
  if (!e || !n)
    return;
  const o = new URL(n);
  fetch(o.href).then((t) => t.text()).then((t) => {
    const a = document.createElement("style");
    a.innerHTML = t, e && e.appendChild(a);
  }).catch((t) => {
    console.error("There was an error while trying to load client styling from URL", t);
  });
}
function P(e, n, o) {
  if (window.emMessageBus) {
    const t = document.createElement("style");
    window.emMessageBus.subscribe(n, (a) => {
      t.innerHTML = a, e && e.appendChild(t);
    });
  }
}
const D = `: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 {
  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);
  }
}`, O = D, I = class {
  constructor(e) {
    w(this, e), this.scriptInjected = !1, this.MAX_UPLOAD_SIZE = 5e7, this.userAgent = window.navigator.userAgent, this.isMobile = b(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, h(this.translationUrl).then(() => {
      this.isLoading = !1;
    });
  }
  async componentWillLoad() {
    this.translationUrl.length > 2 && await h(this.translationUrl);
  }
  handleClientStylingChange(e, n) {
    e != n && y(this.stylingContainer, this.clientStyling);
  }
  handleClientStylingUrlChange(e, n) {
    e != n && this.clientStylingUrl && g(this.stylingContainer, this.clientStylingUrl);
  }
  async componentDidLoad() {
    this.stylingContainer && (window.emMessageBus != null ? P(this.stylingContainer, `${this.mbSource}.Style`) : (this.clientStyling && y(this.stylingContainer, this.clientStyling), this.clientStylingUrl && g(this.stylingContainer, this.clientStylingUrl))), window.innerWidth > 700 && (this.expandedOnDesktop = !0);
    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((o) => {
        if (o.status === 200)
          return o.json();
        throw new Error("HTTP status " + o.status);
      }).then((o) => {
        this.verificationType = o.verifications;
      }).catch((o) => {
        console.error(o);
      });
    } catch (e) {
      console.error("Error fetching verification types:", e);
    }
  }
  disconnectedCallback() {
    this.stylingSubscription && this.stylingSubscription.unsubscribe();
  }
  handleOptionChange(e, n) {
    const o = e.target;
    this.verificationType = this.verificationType.map((t) => (t.type === n && (t.optionChosen = o.value), t));
  }
  handleDocumentsStatus(e, n, o) {
    this.verificationType = this.verificationType.map((t) => {
      if (t.type === e) {
        const a = t.documents.find((s) => s.code === o);
        a && (a.statusUploaded = n);
      }
      return t;
    });
  }
  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((o) => {
      var t;
      return o.type === e && ((t = o.flowInfo) === null || t === void 0 ? void 0 : t.type) == n && (o.expanded = !o.expanded), o;
    });
  }
  toggleScreen(e) {
    window.postMessage({ type: "PlayerAccountMenuActive", isMobile: e }, window.location.href);
  }
  checkFileSize(e) {
    let n = 0;
    return Object.keys(e).forEach((o) => {
      n += e[o].size;
    }), n <= this.MAX_UPLOAD_SIZE;
  }
  handleFileSelection(e, n, o) {
    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(o, this.uploadingStatus, n), this.uploadSizeExceeded = !0;
      else {
        const t = {
          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`, t).then((a) => {
          if (a.ok)
            return this.uploadingStatus = r("uploading", this.language), this.handleDocumentsStatus(o, 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((d) => {
              d.ok ? (this.selectedFile.length > 1 ? this.uploadingStatus = r("successUploadMultipleFiles", this.language) : this.uploadingStatus = r("successUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, n)) : (this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, n), console.error("File upload error:", d.status));
            }).catch((d) => {
              console.error("File upload error:", d);
            });
          } else
            this.uploadingStatus = r("failedUpload", this.language), this.handleDocumentsStatus(o, this.uploadingStatus, n);
        }).catch((a) => {
          console.error("File upload error:", a);
        });
      }
  }
  importScript(e) {
    return new Promise((n, o) => {
      fetch(e).then((t) => t.text()).then((t) => {
        if (new Function(t)(), 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((t) => {
        o(t);
      });
    });
  }
  isStatusUploaded(e) {
    return !!(e && e.status === "Uploaded");
  }
  getFirstRequestedDocument(e) {
    var n, o;
    let t;
    return (n = e?.documents) === null || n === void 0 || n.forEach((a) => {
      a.status == "Requested" && (t = t ?? a.code);
    }), t || (t = (o = e?.documents[0]) === null || o === void 0 ? void 0 : o.code), t;
  }
  renderVerificationTypeBox(e) {
    this.expandedOnDesktop && (e.expanded = !0);
    let n = this.getFirstRequestedDocument(e), o = e.expanded, t = e.type.trim(), a = e.optionChosen || n, s = e.status, d = e.documents, l = e.flowInfo;
    const f = s === "Verified", u = s === "Failed" || s === "Expired";
    return f && t === "VulnerabilityCheck" && this.hideVulnerabilityCheck === "true" ? null : i("div", { class: `verification-box ${o ? "expanded" : ""} ${u ? "failed" : ""} ${f ? "success" : ""}` }, i("div", { class: `box box-header ${o ? "expanded" : ""}`, onClick: () => {
      var p;
      return this.toggleVerificationType(e.type, (p = e.flowInfo) === null || p === void 0 ? void 0 : p.type);
    } }, i("div", { class: "box-icon" }, f ? i("div", null, this.verifiedIcon ? i("img", { class: "CustomVerifiedIcon", src: this.verifiedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "#388D79" }), i("circle", { cx: "50", cy: "50", r: "34", fill: "none", stroke: "#fff", "stroke-width": "12px" }), i("polyline", { points: "30,50 45,63 70,35", fill: "none", stroke: "#fff", "stroke-width": "8px" }))) : u ? i("div", null, this.failedIcon ? i("img", { class: "CustomFailedIcon", src: this.failedIcon, alt: "" }) : i("svg", { width: "100", height: "100", viewBox: "0 0 100 100", xmlns: "http://www.w3.org/2000/svg" }, i("circle", { cx: "50", cy: "50", r: "40", fill: "red" }), i("line", { x1: "30", y1: "30", x2: "70", y2: "70", stroke: "#fff", "stroke-width": "10px" }), i("line", { x1: "30", y1: "70", x2: "70", y2: "30", stroke: "#fff", "stroke-width": "10px" }))) : i("div", null, this.defaultIcon ? i("img", { class: "CustomDefaultIcon", src: this.defaultIcon, alt: "" }) : i("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M4 4V20C4 21.1046 4.89543 22 6 22L18 22C19.1046 22 20 21.1046 20 20V8.34162C20 7.8034 19.7831 7.28789 19.3982 6.91161L14.9579 2.56999C14.5842 2.20459 14.0824 2 13.5597 2L6 2C4.89543 2 4 2.89543 4 4Z", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 13H15", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M9 17H12", stroke: "#000000", "stroke-width": "2", "stroke-linecap": "round", "stroke-linejoin": "round" }), i("path", { d: "M14 2V6C14 7.10457 14.8954 8 16 8H20", stroke: "#000000", "stroke-width": "2", "stroke-linejoin": "round" })))), i("div", { class: "box-title" }, r(t, 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: o ? "M6 15l6-6 6 6" : "M6 9l6 6 6-6" })))), o ? this.renderExpandedContent(e, a, s, d, l, f, u) : i("div", { class: "box box-content" }, i("div", { id: "__avs-wrapper" })));
  }
  renderDocumentsActions(e, n, o) {
    return i("div", null, this.isStatusUploaded(e) ? i("div", { class: "upload-status" }, r("uploaded", this.language)) : e?.statusUploaded ? i("div", { class: "upload-status" }, e?.statusUploaded) : i("div", { class: "documents-action" }, i("div", { class: "sample-file" }, e?.sampleType === "FileDownload" ? i("button", { class: "download-button", onClick: () => this.downloadPDF(e?.sampleUrl) }, i("svg", { width: "24", height: "24", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg" }, i("path", { d: "M12 0C5.372 0 0 5.372 0 12C0 18.628 5.372 24 12 24C18.628 24 24 18.628 24 12C24 5.372 18.628 0 12 0ZM12 22C6.485 22 2 17.515 2 12C2 6.485 6.485 2 12 2C17.515 2 22 6.485 22 12C22 17.515 17.515 22 12 22Z", fill: "var(--emw--pam-color-primary, var(--emw--color-primary, #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: (t) => this.handleFileSelection(t.target.files, n, o.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)));
  }
  renderExpandedContent(e, n, o, t, a, s, d) {
    if (a?.type === "Widget")
      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 *" }));
    if (a?.type === "Redirect" && e.vendorName !== "Manual" && o !== "Verified") {
      const l = e.vendorName === "ShuftiPro" ? "650px" : "400px";
      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 *" }));
    } else
      return i("div", { class: "box box-content" }, i(m, null, s ? i("div", { class: "verification-status" }, r("verificationComplete", this.language)) : d ? i("div", { class: "verification-status" }, o === "Failed" ? r("verificationFailed", this.language) : r("verificationExpired", this.language)) : t.length > 0 ? i("div", { class: "documents-dropdown" }, i("select", { class: "nice-select", onChange: (l) => this.handleOptionChange(l, e.type) }, t.map((l) => i("option", { selected: l.code == n, value: l.code }, r(l.type, this.language)))), this.renderDocumentsActions(t.find((l) => l.code === n), n, e)) : null));
  }
  render() {
    return this.isLoading ? i("div", null, i("p", null, r("loading", this.language))) : i("div", { class: "ModalContainer", ref: (e) => this.stylingContainer = e }, i("div", { class: "player-kyc-verification-widget" }, this.isMobile ? i("div", { class: "MenuReturnButton", onClick: this.handleToggleScreen }, i("svg", { xmlns: "http://www.w3.org/2000/svg", width: "15", height: "15", viewBox: "0 0 15 15" }, i("defs", null), i("g", { transform: "translate(-20 -158)" }, i("g", { transform: "translate(20 158)" }, i("path", { class: "aaa", d: "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z", transform: "translate(15 15) rotate(180)" })))), i("h2", null, r("kycTitle", this.language))) : i("h2", null, r("kycTitle", this.language)), this.verificationType.length === 0 ? i("div", { class: "no-verification-description", style: { padding: "24px", fontSize: "18px" } }, r("noVerificationRequired", this.language)) : i(m, null, i("div", { class: "widget-description" }, r("kycDescription", this.language)), i("div", { class: "verification-types" }, this.verificationType.map((e) => e ? this.renderVerificationTypeBox(e) : null)))));
  }
  static get watchers() {
    return {
      translationUrl: ["handleNewTranslations"],
      clientStyling: ["handleClientStylingChange"],
      clientStylingUrl: ["handleClientStylingUrlChange"]
    };
  }
};
I.style = O;
export {
  I as player_kyc_verification
};
