var nt = Object.defineProperty, at = Object.defineProperties;
var st = Object.getOwnPropertyDescriptors;
var je = Object.getOwnPropertySymbols;
var ct = Object.prototype.hasOwnProperty, lt = Object.prototype.propertyIsEnumerable;
var De = (r, e, t) => e in r ? nt(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t, Ae = (r, e) => {
  for (var t in e || (e = {}))
    ct.call(e, t) && De(r, t, e[t]);
  if (je)
    for (var t of je(e))
      lt.call(e, t) && De(r, t, e[t]);
  return r;
}, Ee = (r, e) => at(r, st(e));
var Ye = (r, e, t) => new Promise((i, n) => {
  var a = (m) => {
    try {
      h(t.next(m));
    } catch (_) {
      n(_);
    }
  }, c = (m) => {
    try {
      h(t.throw(m));
    } catch (_) {
      n(_);
    }
  }, h = (m) => m.done ? i(m.value) : Promise.resolve(m.value).then(a, c);
  h((t = t.apply(r, e)).next());
});
import { a as dt, $ as ut, S as pt, i as mt, s as ft, f as U, b as gt, n as we, d as M, c as W, e as u, g as Pt, h as ht, o as bt, j as ze, k as _e, l as Te, m as s, p as x, q as v, r as d, v as Rt, t as G, J as ye, w as Ce, u as H, x as se, L as vt, z as yt, A as kt, B as _t, C as wt, D as Ct } from "./PlayerAccountController-yJR1r7p7.js";
import { d as ke } from "./PlayerAccountTimeout-CQdRQ8zb.js";
import "./PlayerBonusHistory-BuyF6Yin.js";
import "../stencil/ui-skeleton-BKpwkQ2A.js";
function Le(r, e) {
  dt(r, e);
}
function xt(r) {
  ut.set(r);
}
const Ie = {
  en: {
    titleProductRestriction: "Product Restriction",
    productRestrictionText: "<p>While product-restrictioned, access to your account will be entirely restricted.</br>product-restriction can only be lifted after the period that you selected has passed by communicating with Customer Support, which will be subject to review and a cooling-off period. </br> Alternatively, you can choose to take a 'time out' (a break of up to 6 weeks) from our services via the '<a href='{baseurl}/{lang}/account/timeout'>Time out</a>' option. </br> If you would prefer just to close your account, '<a href='{baseurl}/{lang}/account/account-closure'>Account Closure</a>' you can choose to do so via the  option.</br> We'd recommend you also read our '<a href='{baseurl}/{lang}/page/responsible-gambling'>Responsible Gambling</a>' help pages for further advice should you need it.",
    productRestrictionEmailText: "E-mail: <a href='mailto:email-address-here@gmail.com'>email-address-here@gmail.com</a>",
    duration: "Duration:",
    dateInstructions: "In order to manually input date use the following format:",
    forever: "Forever",
    save: "Save",
    noPeriodSelected: "Please select a restriction period",
    selectAPeriod: "Select a period",
    Casino: "Casino",
    Sports: "Sports",
    Virtuals: "Virtuals",
    "6Month": "6 Months",
    "1Year": "1 Year",
    "2Year": "2 Years",
    "5Year": "5 Years",
    Until: "Until",
    Permanent: "Permanent",
    deniedProductText: "Restricted product until {date}",
    temporaryProductRestriction: "Your product-restriction period will last until the {date} 23:59.",
    permanentProductRestriction: "Your product-restriction period will be permanent.",
    confirmationModalTitle: "Product Restriction",
    productRestrictionSuccess: "Product restrcition active",
    confirmationModalTextPeriodProductRestriction: "You are choosing to restrict yourself from the following products until {date} / for {period}. </br> {product} </br> This action cannot be reversed once confirmed </br> Please confirm you wish to proceed.",
    errorProductRestrictionCall: "There was a problem while making the product restriction request.",
    generalError: "There was an error while fetching the product restriction.",
    InvalidSession: "The session is exipired."
  },
  "zh-hk": {
    titleProductRestriction: "產品限制",
    productRestrictionText: "<p>在產品限制期間，您的帳戶訪問將完全受限。</br>產品限制只能在您選擇的期限過後，通過與客戶支持溝通解除，這將需要審查和冷靜期。</br>或者，您可以選擇通過'<a href='{baseurl}/{lang}/account/timeout'>暫停</a>'選項從我們的服務中休息（最多6週）。</br>如果您更願意關閉您的帳戶，您可以通過'<a href='{baseurl}/{lang}/account/account-closure'>帳戶關閉</a>'選項選擇這樣做。</br>我們建議您也閱讀我們的'<a href='{baseurl}/{lang}/page/responsible-gambling'>負責任博彩</a>'幫助頁面以獲取更多建議。",
    productRestrictionEmailText: "電子郵件：<a href='mailto:email-address-here@gmail.com'>email-address-here@gmail.com</a>",
    duration: "持續時間：",
    dateInstructions: "為了手動輸入日期，請使用以下格式：",
    forever: "永久",
    save: "保存",
    noPeriodSelected: "請選擇限制期限",
    selectAPeriod: "選擇一個期限",
    Casino: "賭場",
    Sports: "體育",
    Virtuals: "虛擬",
    "6Month": "6個月",
    "1Year": "1年",
    "2Year": "2年",
    "5Year": "5年",
    Until: "直到",
    Permanent: "永久",
    deniedProductText: "受限產品直到 {date}",
    temporaryProductRestriction: "您的產品限制期將持續到 {date} 23:59。",
    permanentProductRestriction: "您的產品限制期將是永久的。",
    confirmationModalTitle: "確認",
    productRestrictionSuccess: "產品限制已激活",
    confirmationModalTextPeriodProductRestriction: "您選擇將自己限制使用以下產品，直到 {date} / 為期 {period}。 </br> {product} </br> 一旦確認，此操作無法撤銷 </br> 請確認您希望繼續。",
    errorProductRestrictionCall: "在進行產品限制請求時出現問題。",
    generalError: "獲取產品限制時出現錯誤。",
    InvalidSession: "會話已過期。"
  },
  fr: {
    titleProductRestriction: "Restriction de produit",
    productRestrictionText: "<p>Pendant la restriction de produit, l'accès à votre compte sera entièrement restreint.</br>La restriction de produit ne peut être levée qu'après la période que vous avez sélectionnée en communiquant avec le support client, ce qui sera soumis à une révision et à une période de réflexion.</br>Alternativement, vous pouvez choisir de prendre un 'temps mort' (une pause de jusqu'à 6 semaines) de nos services via l'option '<a href='{baseurl}/{lang}/account/timeout'>Temps mort</a>'.</br>Si vous préférez simplement fermer votre compte, vous pouvez le faire via l'option '<a href='{baseurl}/{lang}/account/account-closure'>Fermeture de compte</a>'.</br>Nous vous recommandons également de lire nos pages d'aide '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jeu responsable</a>' pour plus de conseils si nécessaire.",
    productRestrictionEmailText: "E-mail : <a href='mailto:email-address-here@gmail.com'>email-address-here@gmail.com</a>",
    duration: "Durée :",
    dateInstructions: "Pour entrer manuellement la date, utilisez le format suivant :",
    forever: "Pour toujours",
    save: "Enregistrer",
    noPeriodSelected: "Veuillez sélectionner une période de restriction",
    selectAPeriod: "Sélectionnez une période",
    Casino: "Casino",
    Sports: "Sports",
    Virtuals: "Virtuels",
    "6Month": "6 Mois",
    "1Year": "1 An",
    "2Year": "2 Ans",
    "5Year": "5 Ans",
    Until: "Jusqu'à",
    Permanent: "Permanent",
    deniedProductText: "Produit restreint jusqu'au {date}",
    temporaryProductRestriction: "Votre période de restriction de produit durera jusqu'à {date} 23:59.",
    permanentProductRestriction: "Votre période de restriction de produit sera permanente.",
    confirmationModalTitle: "Confirmation",
    productRestrictionSuccess: "Restriction de produit active",
    confirmationModalTextPeriodProductRestriction: "Vous choisissez de vous restreindre des produits suivants jusqu'au {date} / pour {period}. </br> {product} </br> Cette action ne peut pas être annulée une fois confirmée </br> Veuillez confirmer que vous souhaitez continuer.",
    errorProductRestrictionCall: "Il y a eu un problème lors de la demande de restriction de produit.",
    generalError: "Il y a eu une erreur lors de la récupération de la restriction de produit.",
    InvalidSession: "La session a expiré."
  },
  ro: {
    titleProductRestriction: "Restricție de produs",
    productRestrictionText: "<p>În timpul restricției de produs, accesul la contul dvs. va fi complet restricționat.</br>Restricția de produs poate fi ridicată doar după ce perioada pe care ați selectat-o a trecut, prin comunicarea cu Suportul pentru Clienți, care va fi supusă unei revizuiri și unei perioade de răcire.</br>Alternativ, puteți alege să luați o 'pauză' (o pauză de până la 6 săptămâni) de la serviciile noastre prin opțiunea '<a href='{baseurl}/{lang}/account/timeout'>Pauză</a>'.</br>Dacă preferați doar să vă închideți contul, puteți alege să faceți acest lucru prin opțiunea '<a href='{baseurl}/{lang}/account/account-closure'>Închidere cont</a>'.</br>Vă recomandăm, de asemenea, să citiți paginile noastre de ajutor '<a href='{baseurl}/{lang}/page/responsible-gambling'>Joc responsabil</a>' pentru sfaturi suplimentare, dacă aveți nevoie.",
    productRestrictionEmailText: "E-mail: <a href='mailto:email-address-here@gmail.com'>email-address-here@gmail.com</a>",
    duration: "Durată:",
    dateInstructions: "Pentru a introduce manual data, utilizați următorul format:",
    forever: "Pentru totdeauna",
    save: "Salvează",
    noPeriodSelected: "Vă rugăm să selectați o perioadă de restricție",
    selectAPeriod: "Selectați o perioadă",
    Casino: "Cazinou",
    Sports: "Sporturi",
    Virtuals: "Virtuale",
    "6Month": "6 Luni",
    "1Year": "1 An",
    "2Year": "2 Ani",
    "5Year": "5 Ani",
    Until: "Până la",
    Permanent: "Permanent",
    deniedProductText: "Produs restricționat până la {date}",
    temporaryProductRestriction: "Perioada dvs. de restricție de produs va dura până la {date} 23:59.",
    permanentProductRestriction: "Perioada dvs. de restricție de produs va fi permanentă.",
    confirmationModalTitle: "Confirmare",
    productRestrictionSuccess: "Restricție de produs activă",
    confirmationModalTextPeriodProductRestriction: "Alegeți să vă restricționați de la următoarele produse până la {date} / pentru {period}. </br> {product} </br> Această acțiune nu poate fi inversată odată confirmată </br> Vă rugăm să confirmați că doriți să continuați.",
    errorProductRestrictionCall: "A apărut o problemă în timpul solicitării de restricție de produs.",
    generalError: "A apărut o eroare la preluarea restricției de produs.",
    InvalidSession: "Sesiunea a expirat."
  },
  es: {
    titleProductRestriction: "Restricción de producto",
    productRestrictionText: "<p>Mientras esté restringido por producto, el acceso a su cuenta estará completamente restringido.</br>La restricción de producto solo se puede levantar después de que haya pasado el período que seleccionó comunicándose con el Soporte al Cliente, lo cual estará sujeto a revisión y un período de enfriamiento.</br>Alternativamente, puede optar por tomarse un 'descanso' (una pausa de hasta 6 semanas) de nuestros servicios a través de la opción '<a href='{baseurl}/{lang}/account/timeout'>Descanso</a>'.</br>Si prefiere simplemente cerrar su cuenta, puede optar por hacerlo a través de la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de cuenta</a>'.</br>Le recomendamos que también lea nuestras páginas de ayuda '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si los necesita.",
    productRestrictionEmailText: "Correo electrónico: <a href='mailto:email-address-here@gmail.com'>email-address-here@gmail.com</a>",
    duration: "Duración:",
    dateInstructions: "Para ingresar manualmente la fecha, use el siguiente formato:",
    forever: "Para siempre",
    save: "Guardar",
    noPeriodSelected: "Por favor seleccione un período de restricción",
    selectAPeriod: "Seleccione un período",
    Casino: "Casino",
    Sports: "Deportes",
    Virtuals: "Virtuales",
    "6Month": "6 Meses",
    "1Year": "1 Año",
    "2Year": "2 Años",
    "5Year": "5 Años",
    Until: "Hasta",
    Permanent: "Permanente",
    deniedProductText: "Producto restringido hasta {date}",
    temporaryProductRestriction: "Su período de restricción de producto durará hasta {date} 23:59.",
    permanentProductRestriction: "Su período de restricción de producto será permanente.",
    confirmationModalTitle: "Confirmación",
    productRestrictionSuccess: "Restricción de producto activa",
    confirmationModalTextPeriodProductRestriction: "Está eligiendo restringirse de los siguientes productos hasta {date} / por {period}. </br> {product} </br> Esta acción no se puede revertir una vez confirmada </br> Por favor confirme que desea continuar.",
    errorProductRestrictionCall: "Hubo un problema al realizar la solicitud de restricción de producto.",
    generalError: "Hubo un error al obtener la restricción de producto.",
    InvalidSession: "La sesión ha expirado."
  },
  pt: {
    titleProductRestriction: "Restrição de Produto",
    productRestrictionText: "<p>Enquanto estiver com restrição de produto, o acesso à sua conta será totalmente restrito.</br>A restrição de produto só pode ser levantada após o período que você selecionou ter passado, comunicando-se com o Suporte ao Cliente, o que estará sujeito a revisão e um período de reflexão.</br>Alternativamente, você pode optar por fazer uma 'pausa' (uma pausa de até 6 semanas) de nossos serviços através da opção '<a href='{baseurl}/{lang}/account/timeout'>Pausa</a>'.</br>Se você preferir apenas fechar sua conta, pode optar por fazê-lo através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br>Recomendamos que você também leia nossas páginas de ajuda '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, se precisar.",
    productRestrictionEmailText: "E-mail: <a href='mailto:email-address-here@gmail.com'>email-address-here@gmail.com</a>",
    duration: "Duração:",
    dateInstructions: "Para inserir a data manualmente, use o seguinte formato:",
    forever: "Para sempre",
    save: "Salvar",
    noPeriodSelected: "Por favor, selecione um período de restrição",
    selectAPeriod: "Selecione um período",
    Casino: "Cassino",
    Sports: "Esportes",
    Virtuals: "Virtuais",
    "6Month": "6 Meses",
    "1Year": "1 Ano",
    "2Year": "2 Anos",
    "5Year": "5 Anos",
    Until: "Até",
    Permanent: "Permanente",
    deniedProductText: "Produto restrito até {date}",
    temporaryProductRestriction: "Seu período de restrição de produto durará até {date} 23:59.",
    permanentProductRestriction: "Seu período de restrição de produto será permanente.",
    confirmationModalTitle: "Confirmação",
    productRestrictionSuccess: "Restrição de produto ativa",
    confirmationModalTextPeriodProductRestriction: "Você está escolhendo se restringir dos seguintes produtos até {date} / por {period}. </br> {product} </br> Esta ação não pode ser revertida uma vez confirmada </br> Por favor, confirme que deseja continuar.",
    errorProductRestrictionCall: "Houve um problema ao fazer a solicitação de restrição de produto.",
    generalError: "Houve um erro ao buscar a restrição de produto.",
    InvalidSession: "A sessão expirou."
  },
  hr: {
    titleProductRestriction: "Ograničenje proizvoda",
    productRestrictionText: "<p>Tijekom ograničenja proizvoda, pristup vašem računu bit će potpuno ograničen.</br>Ograničenje proizvoda može se ukinuti tek nakon što prođe razdoblje koje ste odabrali, komunikacijom s korisničkom podrškom, što će biti podložno pregledu i razdoblju hlađenja.</br>Alternativno, možete odabrati 'pauzu' (pauza do 6 tjedana) od naših usluga putem opcije '<a href='{baseurl}/{lang}/account/timeout'>Pauza</a>'.</br>Ako radije želite zatvoriti svoj račun, možete to učiniti putem opcije '<a href='{baseurl}/{lang}/account/account-closure'>Zatvaranje računa</a>'.</br>Preporučujemo vam da također pročitate naše stranice pomoći '<a href='{baseurl}/{lang}/page/responsible-gambling'>Odgovorno kockanje</a>' za daljnje savjete ako vam je potrebno.",
    productRestrictionEmailText: "E-mail: <a href='mailto:email-address-here@gmail.com'>email-address-here@gmail.com</a>",
    duration: "Trajanje:",
    dateInstructions: "Za ručni unos datuma koristite sljedeći format:",
    forever: "Zauvijek",
    save: "Spremi",
    noPeriodSelected: "Molimo odaberite razdoblje ograničenja",
    selectAPeriod: "Odaberite razdoblje",
    Casino: "Kasino",
    Sports: "Sportovi",
    Virtuals: "Virtualni",
    "6Month": "6 Mjeseci",
    "1Year": "1 Godina",
    "2Year": "2 Godine",
    "5Year": "5 Godina",
    Until: "Do",
    Permanent: "Trajno",
    deniedProductText: "Ograničeni proizvod do {date}",
    temporaryProductRestriction: "Vaše razdoblje ograničenja proizvoda trajat će do {date} 23:59.",
    permanentProductRestriction: "Vaše razdoblje ograničenja proizvoda bit će trajno.",
    confirmationModalTitle: "Potvrda",
    productRestrictionSuccess: "Ograničenje proizvoda aktivno",
    confirmationModalTextPeriodProductRestriction: "Odabirete ograničiti se od sljedećih proizvoda do {date} / za {period}. </br> {product} </br> Ova radnja se ne može poništiti nakon potvrde </br> Molimo potvrdite da želite nastaviti.",
    errorProductRestrictionCall: "Došlo je do problema prilikom podnošenja zahtjeva za ograničenje proizvoda.",
    generalError: "Došlo je do pogreške prilikom dohvaćanja ograničenja proizvoda.",
    InvalidSession: "Sesija je istekla."
  },
  "pt-br": {
    titleProductRestriction: "Restrição de Produto",
    productRestrictionText: "<p>Enquanto estiver com restrição de produto, o acesso à sua conta será totalmente restrito.</br>A restrição de produto só pode ser levantada após o período que você selecionou ter passado, comunicando-se com o Suporte ao Cliente, o que estará sujeito a revisão e um período de reflexão.</br>Alternativamente, você pode optar por fazer uma 'pausa' (uma pausa de até 6 semanas) de nossos serviços através da opção '<a href='{baseurl}/{lang}/account/timeout'>Pausa</a>'.</br>Se você preferir apenas fechar sua conta, pode optar por fazê-lo através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br>Recomendamos que você também leia nossas páginas de ajuda '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, se precisar.",
    productRestrictionEmailText: "E-mail: <a href='mailto:email-address-here@gmail.com'>email-address-here@gmail.com</a>",
    duration: "Duração:",
    dateInstructions: "Para inserir a data manualmente, use o seguinte formato:",
    forever: "Para sempre",
    save: "Salvar",
    noPeriodSelected: "Por favor, selecione um período de restrição",
    selectAPeriod: "Selecione um período",
    Casino: "Cassino",
    Sports: "Esportes",
    Virtuals: "Virtuais",
    "6Month": "6 Meses",
    "1Year": "1 Ano",
    "2Year": "2 Anos",
    "5Year": "5 Anos",
    Until: "Até",
    Permanent: "Permanente",
    deniedProductText: "Produto restrito até {date}",
    temporaryProductRestriction: "Seu período de restrição de produto durará até {date} 23:59.",
    permanentProductRestriction: "Seu período de restrição de produto será permanente.",
    confirmationModalTitle: "Confirmação",
    productRestrictionSuccess: "Restrição de produto ativa",
    confirmationModalTextPeriodProductRestriction: "Você está escolhendo se restringir dos seguintes produtos até {date} / por {period}. </br> {product} </br> Esta ação não pode ser revertida uma vez confirmada </br> Por favor, confirme que deseja continuar.",
    errorProductRestrictionCall: "Houve um problema ao fazer a solicitação de restrição de produto.",
    generalError: "Houve um erro ao buscar a restrição de produto.",
    InvalidSession: "A sessão expirou."
  },
  "es-mx": {
    titleProductRestriction: "Restricción de producto",
    productRestrictionText: "<p>Mientras esté restringido por producto, el acceso a su cuenta estará completamente restringido.</br>La restricción de producto solo se puede levantar después de que haya pasado el período que seleccionó comunicándose con el Soporte al Cliente, lo cual estará sujeto a revisión y un período de enfriamiento.</br>Alternativamente, puede optar por tomarse un 'descanso' (una pausa de hasta 6 semanas) de nuestros servicios a través de la opción '<a href='{baseurl}/{lang}/account/timeout'>Descanso</a>'.</br>Si prefiere simplemente cerrar su cuenta, puede optar por hacerlo a través de la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de cuenta</a>'.</br>Le recomendamos que también lea nuestras páginas de ayuda '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si los necesita.",
    productRestrictionEmailText: "Correo electrónico: <a href='mailto:email-address-here@gmail.com'>email-address-here@gmail.com</a>",
    duration: "Duración:",
    dateInstructions: "Para ingresar manualmente la fecha, use el siguiente formato:",
    forever: "Para siempre",
    save: "Guardar",
    noPeriodSelected: "Por favor seleccione un período de restricción",
    selectAPeriod: "Seleccione un período",
    Casino: "Casino",
    Sports: "Deportes",
    Virtuals: "Virtuales",
    "6Month": "6 Meses",
    "1Year": "1 Año",
    "2Year": "2 Años",
    "5Year": "5 Años",
    Until: "Hasta",
    Permanent: "Permanente",
    deniedProductText: "Producto restringido hasta {date}",
    temporaryProductRestriction: "Su período de restricción de producto durará hasta {date} 23:59.",
    permanentProductRestriction: "Su período de restricción de producto será permanente.",
    confirmationModalTitle: "Confirmación",
    productRestrictionSuccess: "Restricción de producto activa",
    confirmationModalTextPeriodProductRestriction: "Está eligiendo restringirse de los siguientes productos hasta {date} / por {period}. </br> {product} </br> Esta acción no se puede revertir una vez confirmada </br> Por favor confirme que desea continuar.",
    errorProductRestrictionCall: "Hubo un problema al realizar la solicitud de restricción de producto.",
    generalError: "Hubo un error al obtener la restricción de producto.",
    InvalidSession: "La sesión ha expirado."
  },
  tr: {
    titleProductRestriction: "Ürün Kısıtlaması",
    productRestrictionText: "<p>Ürün kısıtlaması sırasında, hesabınıza erişim tamamen kısıtlanacaktır.</br>Ürün kısıtlaması, yalnızca seçtiğiniz süre geçtikten sonra Müşteri Desteği ile iletişime geçerek kaldırılabilir, bu da inceleme ve soğuma süresine tabi olacaktır.</br>Alternatif olarak, '<a href='{baseurl}/{lang}/account/timeout'>Zaman aşımı</a>' seçeneği aracılığıyla hizmetlerimizden 'zaman aşımı' (6 haftaya kadar bir ara) vermeyi seçebilirsiniz.</br>Hesabınızı kapatmayı tercih ederseniz, '<a href='{baseurl}/{lang}/account/account-closure'>Hesap Kapatma</a>' seçeneği aracılığıyla bunu yapabilirsiniz.</br>İhtiyacınız olursa, daha fazla tavsiye için '<a href='{baseurl}/{lang}/page/responsible-gambling'>Sorumlu Kumar</a>' yardım sayfalarımızı okumanızı öneririz.",
    productRestrictionEmailText: "E-posta: <a href='mailto:email-address-here@gmail.com'>email-address-here@gmail.com</a>",
    duration: "Süre:",
    dateInstructions: "Tarihi manuel olarak girmek için aşağıdaki formatı kullanın:",
    forever: "Sonsuza kadar",
    save: "Kaydet",
    noPeriodSelected: "Lütfen bir kısıtlama süresi seçin",
    selectAPeriod: "Bir dönem seçin",
    Casino: "Kumarhane",
    Sports: "Sporlar",
    Virtuals: "Sanal",
    "6Month": "6 Ay",
    "1Year": "1 Yıl",
    "2Year": "2 Yıl",
    "5Year": "5 Yıl",
    Until: "Kadar",
    Permanent: "Kalıcı",
    deniedProductText: "Ürün {date} tarihine kadar kısıtlandı",
    temporaryProductRestriction: "Ürün kısıtlama süreniz {date} 23:59'a kadar sürecektir.",
    permanentProductRestriction: "Ürün kısıtlama süreniz kalıcı olacaktır.",
    confirmationModalTitle: "Onay",
    productRestrictionSuccess: "Ürün kısıtlaması aktif",
    confirmationModalTextPeriodProductRestriction: "Aşağıdaki ürünlerden {date} tarihine kadar / {period} süresince kendinizi kısıtlamayı seçiyorsunuz. </br> {product} </br> Bu işlem onaylandıktan sonra geri alınamaz </br> Lütfen devam etmek istediğinizi onaylayın.",
    errorProductRestrictionCall: "Ürün kısıtlama isteği yapılırken bir sorun oluştu.",
    generalError: "Ürün kısıtlaması alınırken bir hata oluştu.",
    InvalidSession: "Oturum süresi doldu."
  }
};
function Tt(r) {
  gt(r, "svelte-1t8brnd", 'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerProductRestrictionTitleNone{display:none}.ProductRestrictionContainer{border-radius:var(--emw--border-radius-medium, 10px);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));container-type:inline-size}.ProductRestrictionContainer .ProductRestrictionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));padding:50px;border-radius:var(--emw--border-radius-medium, 10px);max-width:100%;min-height:500px;opacity:1;animation-name:fadeIn;animation-iteration-count:1;animation-timing-function:ease-in;animation-duration:0.3s}.ProductRestrictionContainer .ProductRestrictionWrapper .MenuReturnButton{display:inline-flex;align-items:center;color:var(--emw--color-gray-300, #58586b);border:none;background-color:transparent;column-gap:10px;margin-bottom:10px}.ProductRestrictionContainer .ProductRestrictionWrapper .MenuReturnButton .PlayerProductRestrictionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.ProductRestrictionContainer .ProductRestrictionWrapper .PlayerProductRestrictionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDescription{color:var(--emw--color-gray-300, #58586b);line-height:24px;min-height:180px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDescription p{font-size:16px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDescription a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));font-weight:400}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper{width:50%;position:relative;margin-bottom:var(--emw--spacing-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel .ProductRestrictionConfigIcon{width:15px;height:15px;fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));transform:rotateZ(-90deg);transition:all 0.5s ease-in-out}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel p{margin:0;font-family:inherit}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel .ProductRestrictionConfigIcon.active{transform:rotateZ(0deg)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionDropDown{max-height:0px;overflow:hidden;box-sizing:border-box;transition:all 0.5s ease-in-out;opacity:0;color:var(--emw--color-gray-300, #58586b);background-color:var(--emw--color-pale, var(--emw--color-gray-50, #f1f1f1));border-radius:0px 0px var(--emw--border-radius-medium, 10px) var(--emw--border-radius-medium, 10px)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionDropDown div{padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px);font-size:var(--emw--font-size-x-small, 12px);border-top:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));transition:all 0.5s ease-in-out;font-family:inherit}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionDropDown div:hover{color:var(--emw--color-white, #ffffff);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionConfigWrapper .ProductRestrictionDropDown.active{max-height:300px;opacity:1}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper{color:var(--emw--color-gray-300, #58586b);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper .ProductRestrictionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper .ProductRestrictionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionDateWrapper input{font-family:inherit;width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #e6e6e6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionNotification{color:var(--emw--color-gray-300, #58586b);line-height:24px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionNotification .ProductRestrictionDescriptionText p{font-size:16px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionNotification .ProductRestrictionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:10px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .ProductRestrictionLabel{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;gap:5px;color:var(--emw--color-gray-300, #58586b);font-family:inherit}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .ProductRestrictionLabel .label{font-size:var(--emw--size-standard, 16px)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .ProductRestrictionLabel p{margin:0}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent{display:inherit;flex-direction:row;align-items:center;justify-content:center;background-color:transparent;border:none;cursor:pointer;gap:10px}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent .toggleCheckbox{width:20px;height:20px;padding:2px;margin:2px 0 2px 0;border-radius:100%;position:relative;border:1px solid var(--emw--color-gray-300, #666178)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent .toggleCheckbox [type=checkbox]{display:none}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent .toggleCheckbox::before{content:"";width:12.75px;height:12.75px;border-radius:100px;cursor:pointer;position:absolute;top:50%;left:50%;z-index:1;transform:translate(-50%, -50%);transition:all 0.5s ease}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent.checked .toggleCheckbox{border:1px solid var(--emw--color-primary, #22b04e)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent.checked .toggleCheckbox::before{background-color:var(--emw--color-primary, #22b04e)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductResitrctionTypes .toggleContent.checked .label{color:var(--emw--color-primary, #22b04e)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionActionButtons{margin-top:40px;width:50%}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionActionButtons .ProductRestrictionSave{font-family:var(--emw--button-typography);border-radius:5px;width:100%;height:50px;display:flex;align-items:center;justify-content:center;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;background:var(--emw--color-primary, #23b04e);border-radius:var(--emw--border-radius-medium, 10px);padding:20px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #ffffff);cursor:pointer;border:none}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionActionButtons .ProductRestrictionSave:hover{filter:brightness(0.9)}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionActionButtons .ProductRestrictionSave:disabled{opacity:0.5;cursor:default}.ProductRestrictionContainer .ProductRestrictionWrapper .ProductRestrictionError{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:var(--emw--font-weight-normal, 500)}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .MenuReturnButton{display:none}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .PlayerProductRestrictionTitle{display:block;width:30%;height:20px}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .ProductRestrictionDescription{display:flex;flex-direction:column;gap:10px;width:75%}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .ProductRestrictionDescription ui-skeleton:last-child{margin-top:30px}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .ProductRestrictionConfigWrapper{border:none}.ProductRestrictionContainer .ProductRestrictionWrapper.Skeleton .ProductRestrictionNotification{margin-bottom:30px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionDescription .ProductRestrictionDescriptionText{color:var(--emw--color-gray-300, #58586b)}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionConfigWrapper{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionConfigWrapper .ProductRestrictionConfigLabel .ProductRestrictionConfigIcon{width:10px;height:10px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionDateWrapper{width:100%}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionNotification{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionActionButtons{width:100%;grid-template-columns:1fr 1fr}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile .ProductRestrictionActionButtons .ProductRestrictionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile.Skeleton .MenuReturnButton{display:block;width:200px}.ProductRestrictionContainer .ProductRestrictionWrapper.ProductRestrictionWrapperMobile.Skeleton .PlayerProductRestrictionTitle{display:none}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
}
function Ve(r, e, t) {
  const i = r.slice();
  return i[75] = e[t], i[77] = t, i;
}
function qe(r, e, t) {
  const i = r.slice();
  return i[78] = e[t], i;
}
function St(r, e, t) {
  const i = r.slice();
  return i[70] = e[t], i;
}
function zt(r, e, t) {
  const i = r.slice();
  return i[70] = e[t], i;
}
function Mt(r) {
  let e, t, i, n, a = (
    /*$_*/
    r[24]("titleProductRestriction") + ""
  ), c, h, m, _, w = (
    /*$_*/
    r[24]("productRestrictionText", {
      values: {
        baseurl: (
          /*baseurl*/
          r[1]
        ),
        lang: (
          /*lang*/
          r[0]
        )
      }
    }) + ""
  ), z, T, R = (
    /*$_*/
    r[24]("productRestrictionEmailText") + ""
  ), C, g, y, J, Y = (
    /*$_*/
    r[24](`${/*selectedPeriodKey*/
    r[15]}`) + ""
  ), B, V, S, b, j, L, $, be, Re, Z, ce, N, ve, le, O, ge = (
    /*$_*/
    r[24]("save") + ""
  ), de, ue, ee, Pe, te, re, he, oe, ie = (
    /*isMobile*/
    r[26] && jt(r)
  ), X = _e(
    /*productRestrictionPeriods*/
    r[9]
  ), A = [];
  for (let l = 0; l < X.length; l += 1)
    A[l] = He(qe(r, X, l));
  let q = (
    /*isUntilDate*/
    r[19] && Ue(r)
  );
  function xe(l, k) {
    return (
      /*isPermanentProductRestriction*/
      l[18] ? Et : (
        /*selectedPeriod*/
        l[14] ? Dt : At
      )
    );
  }
  let pe = xe(r), F = pe(r), ne = _e(
    /*productTypes*/
    r[10]
  ), E = [];
  for (let l = 0; l < ne.length; l += 1)
    E[l] = Ne(Ve(r, ne, l));
  let I = (
    /*isError*/
    r[23] && Oe(r)
  ), Q = (
    /*showConfirmationModal*/
    r[27] && Yt(r)
  );
  return {
    c() {
      e = u("div"), t = u("div"), ie && ie.c(), i = x(), n = u("h2"), c = H(a), h = x(), m = u("div"), _ = u("p"), z = x(), T = u("p"), C = x(), g = u("div"), y = u("div"), J = u("p"), B = H(Y), V = x(), S = se("svg"), b = se("g"), j = se("path"), L = x(), $ = u("div");
      for (let l = 0; l < A.length; l += 1)
        A[l].c();
      be = x(), q && q.c(), Re = x(), Z = u("div"), F.c(), ce = x(), N = u("div");
      for (let l = 0; l < E.length; l += 1)
        E[l].c();
      ve = x(), le = u("div"), O = u("button"), de = H(ge), Pe = x(), I && I.c(), te = x(), Q && Q.c(), re = vt(), d(n, "class", "PlayerProductRestrictionTitle " + /*isMobile*/
      (r[26] ? "PlayerProductRestrictionTitleNone" : "")), d(_, "class", "ProductRestrictionDescriptionText"), d(T, "class", "ProductRestrictionDescriptionText"), d(m, "class", "ProductRestrictionDescription " + /*isMobile*/
      (r[26] ? "ProductRestrictionDescriptionMobile" : "")), d(j, "d", "M 90 24.25 c 0 -0.896 -0.342 -1.792 -1.025 -2.475 c -1.366 -1.367 -3.583 -1.367 -4.949 0 L 45 60.8 L 5.975 21.775 c -1.367 -1.367 -3.583 -1.367 -4.95 0 c -1.366 1.367 -1.366 3.583 0 4.95 l 41.5 41.5 c 1.366 1.367 3.583 1.367 4.949 0 l 41.5 -41.5 C 89.658 26.042 90 25.146 90 24.25 z"), d(j, "stroke-linecap", "round"), d(S, "xmlns", "http://www.w3.org/2000/svg"), d(S, "xmlns:xlink", "http://www.w3.org/1999/xlink"), d(S, "version", "1.1"), d(S, "viewBox", "0 0 100 100"), d(S, "xml:space", "preserve"), d(S, "class", "ProductRestrictionConfigIcon"), ye(
        S,
        "active",
        /*isPeriodDropDownToggled*/
        r[21]
      ), d(y, "class", "ProductRestrictionConfigLabel"), d($, "class", "ProductRestrictionDropDown"), ye(
        $,
        "active",
        /*isPeriodDropDownToggled*/
        r[21]
      ), d(g, "class", "ProductRestrictionConfigWrapper"), ye(
        g,
        "active",
        /*isPeriodDropDownToggled*/
        r[21]
      ), d(Z, "class", "ProductRestrictionNotification"), d(N, "class", "ProductResitrctionTypes"), d(O, "class", ue = "ProductRestrictionSave " + /*isFormValid*/
      (r[20] ? "active" : "")), O.disabled = ee = !/*isFormValid*/
      r[20], d(le, "class", "ProductRestrictionActionButtons"), d(t, "class", "ProductRestrictionWrapper " + /*isMobile*/
      (r[26] ? "ProductRestrictionWrapperMobile" : "")), d(e, "class", "ProductRestrictionContainer");
    },
    m(l, k) {
      W(l, e, k), s(e, t), ie && ie.m(t, null), s(t, i), s(t, n), s(n, c), s(t, h), s(t, m), s(m, _), _.innerHTML = w, s(m, z), s(m, T), T.innerHTML = R, s(t, C), s(t, g), s(g, y), s(y, J), s(J, B), s(y, V), s(y, S), s(S, b), s(b, j), s(g, L), s(g, $);
      for (let P = 0; P < A.length; P += 1)
        A[P] && A[P].m($, null);
      s(t, be), q && q.m(t, null), s(t, Re), s(t, Z), F.m(Z, null), s(t, ce), s(t, N);
      for (let P = 0; P < E.length; P += 1)
        E[P] && E[P].m(N, null);
      s(t, ve), s(t, le), s(le, O), s(O, de), s(t, Pe), I && I.m(t, null), W(l, te, k), Q && Q.m(l, k), W(l, re, k), he || (oe = [
        Ce(
          y,
          "click",
          /*click_handler_1*/
          r[44]
        ),
        Ce(
          O,
          "click",
          /*click_handler_4*/
          r[48]
        )
      ], he = !0);
    },
    p(l, k) {
      if (
        /*isMobile*/
        l[26] && ie.p(l, k), k[0] & /*$_*/
        16777216 && a !== (a = /*$_*/
        l[24]("titleProductRestriction") + "") && G(c, a), k[0] & /*$_, baseurl, lang*/
        16777219 && w !== (w = /*$_*/
        l[24]("productRestrictionText", {
          values: {
            baseurl: (
              /*baseurl*/
              l[1]
            ),
            lang: (
              /*lang*/
              l[0]
            )
          }
        }) + "") && (_.innerHTML = w), k[0] & /*$_*/
        16777216 && R !== (R = /*$_*/
        l[24]("productRestrictionEmailText") + "") && (T.innerHTML = R), k[0] & /*$_, selectedPeriodKey*/
        16809984 && Y !== (Y = /*$_*/
        l[24](`${/*selectedPeriodKey*/
        l[15]}`) + "") && G(B, Y), k[0] & /*isPeriodDropDownToggled*/
        2097152 && ye(
          S,
          "active",
          /*isPeriodDropDownToggled*/
          l[21]
        ), k[0] & /*productRestrictionPeriods*/
        512 | k[1] & /*selectPeriod*/
        1
      ) {
        X = _e(
          /*productRestrictionPeriods*/
          l[9]
        );
        let P;
        for (P = 0; P < X.length; P += 1) {
          const me = qe(l, X, P);
          A[P] ? A[P].p(me, k) : (A[P] = He(me), A[P].c(), A[P].m($, null));
        }
        for (; P < A.length; P += 1)
          A[P].d(1);
        A.length = X.length;
      }
      if (k[0] & /*isPeriodDropDownToggled*/
      2097152 && ye(
        $,
        "active",
        /*isPeriodDropDownToggled*/
        l[21]
      ), k[0] & /*isPeriodDropDownToggled*/
      2097152 && ye(
        g,
        "active",
        /*isPeriodDropDownToggled*/
        l[21]
      ), /*isUntilDate*/
      l[19] ? q ? q.p(l, k) : (q = Ue(l), q.c(), q.m(t, Re)) : q && (q.d(1), q = null), pe === (pe = xe(l)) && F ? F.p(l, k) : (F.d(1), F = pe(l), F && (F.c(), F.m(Z, null))), k[0] & /*productTypes, toggleProductStatus, $_, getProductRestrictionLabel*/
      822084608 | k[1] & /*getDenyExpirationDate*/
      8) {
        ne = _e(
          /*productTypes*/
          l[10]
        );
        let P;
        for (P = 0; P < ne.length; P += 1) {
          const me = Ve(l, ne, P);
          E[P] ? E[P].p(me, k) : (E[P] = Ne(me), E[P].c(), E[P].m(N, null));
        }
        for (; P < E.length; P += 1)
          E[P].d(1);
        E.length = ne.length;
      }
      k[0] & /*$_*/
      16777216 && ge !== (ge = /*$_*/
      l[24]("save") + "") && G(de, ge), k[0] & /*isFormValid*/
      1048576 && ue !== (ue = "ProductRestrictionSave " + /*isFormValid*/
      (l[20] ? "active" : "")) && d(O, "class", ue), k[0] & /*isFormValid*/
      1048576 && ee !== (ee = !/*isFormValid*/
      l[20]) && (O.disabled = ee), /*isError*/
      l[23] ? I ? I.p(l, k) : (I = Oe(l), I.c(), I.m(t, null)) : I && (I.d(1), I = null), /*showConfirmationModal*/
      l[27] && Q.p(l, k);
    },
    d(l) {
      l && (M(e), M(te), M(re)), ie && ie.d(), Te(A, l), q && q.d(), F.d(), Te(E, l), I && I.d(), Q && Q.d(l), he = !1, Rt(oe);
    }
  };
}
function Wt(r) {
  let e, t, i, n, a, c, h, m, _, w, z, T, R, C;
  function g(b, j) {
    return (
      /*isMobile*/
      b[26] ? It : Lt
    );
  }
  let J = g(r)(r), Y = _e({ length: 3 }), B = [];
  for (let b = 0; b < Y.length; b += 1)
    B[b] = Vt(zt(r, Y, b));
  let V = _e({ length: 3 }), S = [];
  for (let b = 0; b < V.length; b += 1)
    S[b] = qt(St(r, V, b));
  return {
    c() {
      e = u("div"), t = u("div"), J.c(), i = x(), n = u("div");
      for (let b = 0; b < B.length; b += 1)
        B[b].c();
      a = x(), c = u("ui-skeleton"), h = x(), m = u("div"), m.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton>', _ = x(), w = u("div"), w.innerHTML = '<ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton>', z = x(), T = u("div");
      for (let b = 0; b < S.length; b += 1)
        S[b].c();
      R = x(), C = u("div"), C.innerHTML = '<ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton>', v(c, "structure", "text"), v(c, "width", "auto"), v(c, "height", "10px"), d(n, "class", "ProductRestrictionDescription"), d(m, "class", "ProductRestrictionConfigWrapper"), d(w, "class", "ProductRestrictionNotification"), d(T, "class", "ProductResitrctionTypes"), d(C, "class", "ProductRestrictionActionButtons"), d(t, "class", "ProductRestrictionWrapper Skeleton " + /*isMobile*/
      (r[26] ? "ProductRestrictionWrapperMobile" : "")), d(e, "class", "ProductRestrictionContainer");
    },
    m(b, j) {
      W(b, e, j), s(e, t), J.m(t, null), s(t, i), s(t, n);
      for (let L = 0; L < B.length; L += 1)
        B[L] && B[L].m(n, null);
      s(n, a), s(n, c), s(t, h), s(t, m), s(t, _), s(t, w), s(t, z), s(t, T);
      for (let L = 0; L < S.length; L += 1)
        S[L] && S[L].m(T, null);
      s(t, R), s(t, C);
    },
    p: we,
    d(b) {
      b && M(e), J.d(), Te(B, b), Te(S, b);
    }
  };
}
function jt(r) {
  let e, t, i, n, a, c, h, m, _, w, z = (
    /*$_*/
    r[24]("titleProductRestriction") + ""
  ), T, R, C;
  return {
    c() {
      e = u("button"), t = se("svg"), i = se("defs"), n = se("style"), a = H(`.svgClass {
                    fill: var(--emw--color-primary, #22b04e);
                  }
                `), c = se("g"), h = se("g"), m = se("path"), _ = x(), w = u("h2"), T = H(z), d(m, "class", "svgClass"), d(m, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), d(m, "transform", "translate(15 15) rotate(180)"), d(h, "transform", "translate(20 158)"), d(c, "transform", "translate(-20 -158)"), d(t, "xmlns", "http://www.w3.org/2000/svg"), d(t, "width", "15"), d(t, "height", "15"), d(t, "viewBox", "0 0 15 15"), d(w, "class", "PlayerProductRestrictionTitleMobile"), d(e, "class", "MenuReturnButton");
    },
    m(g, y) {
      W(g, e, y), s(e, t), s(t, i), s(i, n), s(n, a), s(t, c), s(c, h), s(h, m), s(e, _), s(e, w), s(w, T), R || (C = Ce(
        e,
        "click",
        /*click_handler*/
        r[43]
      ), R = !0);
    },
    p(g, y) {
      y[0] & /*$_*/
      16777216 && z !== (z = /*$_*/
      g[24]("titleProductRestriction") + "") && G(T, z);
    },
    d(g) {
      g && M(e), R = !1, C();
    }
  };
}
function He(r) {
  let e, t = (
    /*period*/
    r[78].text + ""
  ), i, n, a;
  function c() {
    return (
      /*click_handler_2*/
      r[45](
        /*period*/
        r[78]
      )
    );
  }
  return {
    c() {
      e = u("div"), i = H(t);
    },
    m(h, m) {
      W(h, e, m), s(e, i), n || (a = Ce(e, "click", c), n = !0);
    },
    p(h, m) {
      r = h, m[0] & /*productRestrictionPeriods*/
      512 && t !== (t = /*period*/
      r[78].text + "") && G(i, t);
    },
    d(h) {
      h && M(e), n = !1, a();
    }
  };
}
function Ue(r) {
  let e, t, i = (
    /*$_*/
    r[24]("duration") + ""
  ), n, a, c, h = (
    /*$_*/
    r[24]("dateInstructions") + ""
  ), m, _, w, z, T, R, C;
  return {
    c() {
      e = u("div"), t = u("label"), n = H(i), a = x(), c = u("span"), m = H(h), _ = x(), w = u("strong"), z = H(
        /*validDateformat*/
        r[25]
      ), T = u("strong"), R = x(), C = u("vaadin-date-picker"), d(t, "for", "ProductRestrictionDate"), d(c, "class", "ProductRestrictionDateInstructions"), v(
        C,
        "min",
        /*minDate*/
        r[11]
      ), v(
        C,
        "max",
        /*maxDate*/
        r[12]
      ), v(
        C,
        "value",
        /*minDate*/
        r[11]
      ), d(e, "class", "ProductRestrictionDateWrapper");
    },
    m(g, y) {
      W(g, e, y), s(e, t), s(t, n), s(e, a), s(e, c), s(c, m), s(c, _), s(c, w), s(w, z), s(w, T), s(e, R), s(e, C), r[46](C);
    },
    p(g, y) {
      y[0] & /*$_*/
      16777216 && i !== (i = /*$_*/
      g[24]("duration") + "") && G(n, i), y[0] & /*$_*/
      16777216 && h !== (h = /*$_*/
      g[24]("dateInstructions") + "") && G(m, h), y[0] & /*minDate*/
      2048 && v(
        C,
        "min",
        /*minDate*/
        g[11]
      ), y[0] & /*maxDate*/
      4096 && v(
        C,
        "max",
        /*maxDate*/
        g[12]
      ), y[0] & /*minDate*/
      2048 && v(
        C,
        "value",
        /*minDate*/
        g[11]
      );
    },
    d(g) {
      g && M(e), r[46](null);
    }
  };
}
function Dt(r) {
  let e, t, i = (
    /*$_*/
    r[24]("temporaryProductRestriction", {
      values: {
        date: (
          /*productRestrictionExpiryDate*/
          r[13]
        )
      }
    }) + ""
  ), n;
  return {
    c() {
      e = u("p"), t = u("strong"), n = H(i), d(e, "class", "ProductRestrictionDescriptionText");
    },
    m(a, c) {
      W(a, e, c), s(e, t), s(t, n);
    },
    p(a, c) {
      c[0] & /*$_, productRestrictionExpiryDate*/
      16785408 && i !== (i = /*$_*/
      a[24]("temporaryProductRestriction", {
        values: {
          date: (
            /*productRestrictionExpiryDate*/
            a[13]
          )
        }
      }) + "") && G(n, i);
    },
    d(a) {
      a && M(e);
    }
  };
}
function At(r) {
  let e, t, i = (
    /*$_*/
    r[24]("noPeriodSelected") + ""
  ), n;
  return {
    c() {
      e = u("p"), t = u("strong"), n = H(i), d(e, "class", "ProductRestrictionDescriptionText");
    },
    m(a, c) {
      W(a, e, c), s(e, t), s(t, n);
    },
    p(a, c) {
      c[0] & /*$_*/
      16777216 && i !== (i = /*$_*/
      a[24]("noPeriodSelected") + "") && G(n, i);
    },
    d(a) {
      a && M(e);
    }
  };
}
function Et(r) {
  let e, t, i = (
    /*$_*/
    r[24]("permanentProductRestriction") + ""
  ), n;
  return {
    c() {
      e = u("p"), t = u("strong"), n = H(i), d(e, "class", "ProductRestrictionDescriptionText");
    },
    m(a, c) {
      W(a, e, c), s(e, t), s(t, n);
    },
    p(a, c) {
      c[0] & /*$_*/
      16777216 && i !== (i = /*$_*/
      a[24]("permanentProductRestriction") + "") && G(n, i);
    },
    d(a) {
      a && M(e);
    }
  };
}
function Be(r) {
  let e, t = (
    /*$_*/
    r[24]("deniedProductText", {
      values: {
        date: (
          /*getDenyExpirationDate*/
          r[34](
            /*el*/
            r[75]
          )
        )
      }
    }) + ""
  ), i;
  return {
    c() {
      e = u("p"), i = H(t);
    },
    m(n, a) {
      W(n, e, a), s(e, i);
    },
    p(n, a) {
      a[0] & /*$_, productTypes*/
      16778240 && t !== (t = /*$_*/
      n[24]("deniedProductText", {
        values: {
          date: (
            /*getDenyExpirationDate*/
            n[34](
              /*el*/
              n[75]
            )
          )
        }
      }) + "") && G(i, t);
    },
    d(n) {
      n && M(e);
    }
  };
}
function Ne(r) {
  let e, t, i, n, a, c = (
    /*getProductRestrictionLabel*/
    r[28](
      /*el*/
      r[75]
    ) + ""
  ), h, m, _, w, z, T, R = (
    /*el*/
    r[75].restricted && Be(r)
  );
  function C() {
    return (
      /*click_handler_3*/
      r[47](
        /*index*/
        r[77]
      )
    );
  }
  return {
    c() {
      e = u("button"), t = u("div"), t.innerHTML = '<input type="checkbox"/> <span class="circle"></span>', i = x(), n = u("div"), a = u("p"), h = H(c), m = x(), R && R.c(), _ = x(), d(t, "class", "toggleCheckbox"), d(a, "class", "label"), d(n, "class", "ProductRestrictionLabel"), d(e, "class", w = "toggleContent " + /*el*/
      (r[75].checked || /*el*/
      r[75].restricted ? "checked" : ""));
    },
    m(g, y) {
      W(g, e, y), s(e, t), s(e, i), s(e, n), s(n, a), s(a, h), s(n, m), R && R.m(n, null), s(e, _), z || (T = Ce(e, "click", C), z = !0);
    },
    p(g, y) {
      r = g, y[0] & /*productTypes*/
      1024 && c !== (c = /*getProductRestrictionLabel*/
      r[28](
        /*el*/
        r[75]
      ) + "") && G(h, c), /*el*/
      r[75].restricted ? R ? R.p(r, y) : (R = Be(r), R.c(), R.m(n, null)) : R && (R.d(1), R = null), y[0] & /*productTypes*/
      1024 && w !== (w = "toggleContent " + /*el*/
      (r[75].checked || /*el*/
      r[75].restricted ? "checked" : "")) && d(e, "class", w);
    },
    d(g) {
      g && M(e), R && R.d(), z = !1, T();
    }
  };
}
function Oe(r) {
  let e, t, i;
  return {
    c() {
      e = u("div"), t = u("p"), i = H(
        /*errorMessage*/
        r[17]
      ), d(e, "class", "ProductRestrictionError");
    },
    m(n, a) {
      W(n, e, a), s(e, t), s(t, i);
    },
    p(n, a) {
      a[0] & /*errorMessage*/
      131072 && G(
        i,
        /*errorMessage*/
        n[17]
      );
    },
    d(n) {
      n && M(e);
    }
  };
}
function Yt(r) {
  let e, t, i, n;
  return {
    c() {
      e = u("player-account-modal"), t = u("player-account-general-confirmation-modal"), v(t, "modaltitle", i = /*$_*/
      r[24]("confirmationModalTitle")), v(
        t,
        "modaltext",
        /*confirmationModalText*/
        r[16]
      ), v(t, "hascancelbutton", n = /*hascancelbutton*/
      r[2] === "true"), v(t, "modalconfirmevent", "setProductRestriction"), v(
        t,
        "mbsource",
        /*mbsource*/
        r[5]
      ), v(
        t,
        "lang",
        /*lang*/
        r[0]
      ), v(
        e,
        "clientstyling",
        /*clientstyling*/
        r[3]
      ), v(
        e,
        "clientstylingurl",
        /*clientstylingurl*/
        r[4]
      ), v(
        e,
        "mbsource",
        /*mbsource*/
        r[5]
      ), v(e, "showmodaleventname", "ShowProductRestrictionConfirmationModal");
    },
    m(a, c) {
      W(a, e, c), s(e, t), r[49](t);
    },
    p(a, c) {
      c[0] & /*$_*/
      16777216 && i !== (i = /*$_*/
      a[24]("confirmationModalTitle")) && v(t, "modaltitle", i), c[0] & /*confirmationModalText*/
      65536 && v(
        t,
        "modaltext",
        /*confirmationModalText*/
        a[16]
      ), c[0] & /*hascancelbutton*/
      4 && n !== (n = /*hascancelbutton*/
      a[2] === "true") && v(t, "hascancelbutton", n), c[0] & /*mbsource*/
      32 && v(
        t,
        "mbsource",
        /*mbsource*/
        a[5]
      ), c[0] & /*lang*/
      1 && v(
        t,
        "lang",
        /*lang*/
        a[0]
      ), c[0] & /*clientstyling*/
      8 && v(
        e,
        "clientstyling",
        /*clientstyling*/
        a[3]
      ), c[0] & /*clientstylingurl*/
      16 && v(
        e,
        "clientstylingurl",
        /*clientstylingurl*/
        a[4]
      ), c[0] & /*mbsource*/
      32 && v(
        e,
        "mbsource",
        /*mbsource*/
        a[5]
      );
    },
    d(a) {
      a && M(e), r[49](null);
    }
  };
}
function Lt(r) {
  let e;
  return {
    c() {
      e = u("h2"), e.innerHTML = '<ui-skeleton structure="title" width="auto" height="20px"></ui-skeleton>', d(e, "class", "PlayerProductRestrictionTitle");
    },
    m(t, i) {
      W(t, e, i);
    },
    d(t) {
      t && M(e);
    }
  };
}
function It(r) {
  let e;
  return {
    c() {
      e = u("div"), e.innerHTML = '<ui-skeleton structure="title" width="auto" height="20px"></ui-skeleton>', d(e, "class", "MenuReturnButton");
    },
    m(t, i) {
      W(t, e, i);
    },
    d(t) {
      t && M(e);
    }
  };
}
function Vt(r) {
  let e, t, i;
  return {
    c() {
      e = u("ui-skeleton"), t = x(), i = u("ui-skeleton"), v(e, "structure", "text"), v(e, "width", "auto"), v(e, "height", "10px"), v(i, "structure", "title"), v(i, "width", "auto"), v(i, "height", "10px");
    },
    m(n, a) {
      W(n, e, a), W(n, t, a), W(n, i, a);
    },
    p: we,
    d(n) {
      n && (M(e), M(t), M(i));
    }
  };
}
function qt(r) {
  let e;
  return {
    c() {
      e = u("div"), e.innerHTML = '<ui-skeleton structure="circle" size="20px"></ui-skeleton> <div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> ', d(e, "class", "toggleContent");
    },
    m(t, i) {
      W(t, e, i);
    },
    p: we,
    d(t) {
      t && M(e);
    }
  };
}
function Ht(r) {
  let e;
  function t(a, c) {
    return (
      /*skeletonLoading*/
      a[22] ? Wt : Mt
    );
  }
  let i = t(r), n = i(r);
  return {
    c() {
      e = u("div"), n.c();
    },
    m(a, c) {
      W(a, e, c), n.m(e, null), r[50](e);
    },
    p(a, c) {
      i === (i = t(a)) && n ? n.p(a, c) : (n.d(1), n = i(a), n && (n.c(), n.m(e, null)));
    },
    i: we,
    o: we,
    d(a) {
      a && M(e), n.d(), r[50](null);
    }
  };
}
function Ut(r, e, t) {
  let i;
  Pt(r, Ct, (o) => t(24, i = o));
  let { endpoint: n = "" } = e, { session: a = "" } = e, { playerid: c = "" } = e, { lang: h = "en" } = e, { baseurl: m = "" } = e, { mergeproducts: _ = "Casino+Virtuals" } = e, { hideproducts: w = "" } = e, { hasconfirmationmodal: z = "false" } = e, { hascancelbutton: T = "" } = e, { dateformat: R = "DD/MM/YYYY" } = e, { clientstyling: C = "" } = e, { clientstylingurl: g = "" } = e, { mbsource: y } = e, { translationurl: J = "" } = e, Y, B, V, S = [], b = {}, j = [], L = R.toUpperCase(), $ = window.navigator.userAgent, be, Re, Z = "", ce = "", N = "selectAPeriod", ve = "", le = "", O = "", ge = ht($) !== "PC", de = !1, ue = !1, ee = !1, Pe = !1, te = z === "true", re = !0, he = !1, oe;
  const ie = () => {
    fetch(J).then((f) => f.json()).then((f) => {
      Object.keys(f).forEach((p) => {
        Le(p, f[p]);
      });
    }).catch((f) => {
      console.log(f);
    });
  };
  Object.keys(Ie).forEach((o) => {
    Le(o, Ie[o]);
  });
  const X = (o) => Ye(this, null, function* () {
    var f;
    if (o.status >= 300)
      return t(23, he = !0), le = (f = (yield o.json()).thirdPartyResponse) == null ? void 0 : f.errorCode, t(17, O = i(le || "generalError")), window.postMessage(
        {
          type: "WidgetNotification",
          data: { type: "error", message: O }
        },
        window.location.href
      ), Promise.reject(O);
    if (t(23, he = !1), o.headers.get("content-type")) {
      let p = yield o.json();
      return Promise.resolve(p);
    }
    return Promise.resolve();
  }), A = () => {
    t(20, ee = ce && j.some((o) => o.checked)), te && ee && me();
  }, q = (o) => {
    if (!_)
      return o;
    const f = _.split(","), p = [], D = /* @__PURE__ */ new Set();
    for (const ae of o) {
      if (D.has(ae))
        continue;
      const fe = f.find((K) => K.includes(ae));
      fe ? (fe.split("+").forEach((K) => D.add(K)), p.push(fe)) : p.push(ae);
    }
    return p;
  }, xe = (o) => {
    const f = Object.keys(o).filter((D) => !w.includes(D));
    let p = q(f);
    t(10, j = p.map((D) => ({
      type: D,
      checked: !1,
      restricted: !1
    })));
  }, pe = (o) => {
    var f;
    return (f = o.type) == null ? void 0 : f.split("+").map((p) => i(p)).join(" + ");
  }, F = (o) => {
    t(9, S = o.map((f) => ({
      key: (f.number || "") + f.unit,
      text: i((f.number || "") + f.unit)
    })));
  }, ne = (o) => {
    j[o].restricted || (t(10, j[o].checked = !j[o].checked, j), A());
  }, E = () => {
    t(21, Pe = !Pe);
  }, I = (o) => {
    switch (t(14, ce = o.text), t(15, N = o.key), t(21, Pe = !1), t(18, de = !1), t(19, ue = !1), N) {
      case "Until":
        t(19, ue = !0), t(11, be = ke().add(6, "M").format("YYYY-MM-DD")), t(12, Re = ke().add(5, "y").format("YYYY-MM-DD")), t(13, Z = be);
        break;
      case "Permanent":
        t(18, de = !de);
        break;
      default:
        const f = N.match(/\d+/g)[0], p = N.match(/[a-zA-Z]+/g)[0], D = p.includes("Day") ? "days" : p.includes("Month") ? "months" : p.includes("Year") ? "years" : null;
        if (!p)
          return;
        t(13, Z = Q(ke().add(Number(f), D)));
        break;
    }
    A();
  }, Q = (o) => ke(o).format(L), l = () => {
    window.postMessage(
      {
        type: "PlayerAccountMenuActive",
        isMobile: ge
      },
      window.location.href
    );
  }, k = (o) => {
    t(13, Z = o.target.value);
  }, P = () => {
    V.addEventListener("change", k, !1);
    const o = (p) => ke(new Date(p.year, p.month, p.day)).format(L), f = (p) => {
      const D = ke(p, L);
      return {
        year: D.year(),
        month: D.month(),
        day: D.date()
      };
    };
    t(7, V.i18n = Ee(Ae({}, V.i18n), { formatDate: o, parseDate: f }), V);
  }, me = () => {
    if (!te || !ce || !Z) {
      t(16, ve = "");
      return;
    }
    let o = "";
    j.forEach((f) => {
      !f.checked || f.restricted || (o = o ? `${o}, ${pe(f)}` : `${pe(f)}`);
    }), t(16, ve = i("confirmationModalTextPeriodProductRestriction", {
      values: {
        period: i(ce),
        product: o,
        date: Z
      }
    }));
  }, Me = (o) => {
    o.preventDefault(), te ? window.postMessage(
      {
        type: "ShowProductRestrictionConfirmationModal"
      },
      window.location.href
    ) : Se();
  }, We = () => {
    const o = new URL("/api/v1/gm/legislation/responsible-gambling/product-restrictions/metadata/", n);
    fetch(o, {
      method: "GET",
      headers: {
        "X-SessionId": a,
        "Content-Type": "application/json",
        Accept: "application/json"
      }
    }).then((p) => X(p)).then((p) => {
      xe(p.products), F(p.periods), Ke();
    }).catch((p) => {
      console.error(p);
    }).finally(() => {
      t(22, re = !1);
    });
  }, Ke = () => {
    const o = new URL(`/api/v1/gm/legislation/responsible-gambling/user/${c}/deny-products/`, n);
    fetch(o, {
      method: "GET",
      headers: {
        "X-SessionId": a,
        "Content-Type": "application/json",
        Accept: "application/json"
      }
    }).then((p) => X(p)).then((p) => {
      p.denyProductsRoles.forEach((D) => {
        let ae = j.findIndex((fe) => {
          var K;
          return _ ? (K = fe.type) == null ? void 0 : K.split("+").some((it) => it === D.productType) : D.productType === fe.type;
        });
        ae != -1 && t(10, j[ae].restricted = !0, j), b[D.productType] = Q(D.expirationDate);
      });
    }).catch((p) => {
      console.error(p);
    }).finally(() => {
      t(22, re = !1);
    });
  }, Ge = (o) => {
    if (!_)
      return b[o.type];
    if (o.type.includes("+")) {
      const f = o.type.split("+");
      return b[f[0]];
    } else
      return b[o.type];
  }, Je = (o) => {
    const f = o.filter((p) => p.checked);
    return _ ? f.reduce((p, D) => [...p, ...D.type.split("+")], []) : f.map((p) => p.type);
  }, Se = () => {
    t(22, re = !0);
    const o = new URL(`/api/v1/gm/legislation/responsible-gambling/user/${c}/deny-products/`, n);
    let f = N.match(/\d+/g)[0], p = N.match(/[a-zA-Z]+/g)[0], ae = Je(j).map((K) => ({
      productType: K,
      expirationPeriod: { unit: p, number: f }
    })), fe = {
      method: "POST",
      headers: {
        "X-SessionId": a,
        "Content-Type": "application/json",
        Accept: "application/json"
      },
      body: JSON.stringify({ denyProductsRoles: ae })
    };
    fetch(o.href, fe).then((K) => X(K)).then((K) => {
      We(), window.postMessage(
        {
          type: "WidgetNotification",
          data: {
            type: "success",
            message: i("productRestrictionSuccess")
          }
        },
        window.location.href
      ), t(20, ee = !1);
    }).catch((K) => {
      console.error(i("errorProductRestrictionCall"), K);
    }).finally(() => {
      t(22, re = !1);
    });
  };
  bt(() => () => {
    V && V.removeEventListener("change", k), oe.removeEventListener("setProductRestriction", Se);
  });
  const Ze = () => {
    xt(h);
  }, Fe = () => l(), Xe = () => E(), Qe = (o) => I(o);
  function $e(o) {
    ze[o ? "unshift" : "push"](() => {
      V = o, t(7, V);
    });
  }
  const et = (o) => ne(o), tt = (o) => Me(o);
  function rt(o) {
    ze[o ? "unshift" : "push"](() => {
      oe = o, t(8, oe);
    });
  }
  function ot(o) {
    ze[o ? "unshift" : "push"](() => {
      Y = o, t(6, Y);
    });
  }
  return r.$$set = (o) => {
    "endpoint" in o && t(35, n = o.endpoint), "session" in o && t(36, a = o.session), "playerid" in o && t(37, c = o.playerid), "lang" in o && t(0, h = o.lang), "baseurl" in o && t(1, m = o.baseurl), "mergeproducts" in o && t(38, _ = o.mergeproducts), "hideproducts" in o && t(39, w = o.hideproducts), "hasconfirmationmodal" in o && t(40, z = o.hasconfirmationmodal), "hascancelbutton" in o && t(2, T = o.hascancelbutton), "dateformat" in o && t(41, R = o.dateformat), "clientstyling" in o && t(3, C = o.clientstyling), "clientstylingurl" in o && t(4, g = o.clientstylingurl), "mbsource" in o && t(5, y = o.mbsource), "translationurl" in o && t(42, J = o.translationurl);
  }, r.$$.update = () => {
    r.$$.dirty[0] & /*lang*/
    1 && h && Ze(), r.$$.dirty[1] & /*endpoint, session, playerid*/
    112 && n && a && c && We(), r.$$.dirty[0] & /*calendar*/
    128 && V && P(), r.$$.dirty[0] & /*clientstyling, customStylingContainer*/
    72 && C && Y && yt(Y, C), r.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
    80 && g && Y && kt(Y, g), r.$$.dirty[0] & /*mbsource, customStylingContainer*/
    96 && y && Y && _t(Y, `${y}.Style`, B), r.$$.dirty[1] & /*translationurl*/
    2048 && J && ie(), r.$$.dirty[0] & /*modalEl*/
    256 && oe && oe.addEventListener("setProductRestriction", Se);
  }, te && me(), [
    h,
    m,
    T,
    C,
    g,
    y,
    Y,
    V,
    oe,
    S,
    j,
    be,
    Re,
    Z,
    ce,
    N,
    ve,
    O,
    de,
    ue,
    ee,
    Pe,
    re,
    he,
    i,
    L,
    ge,
    te,
    pe,
    ne,
    E,
    I,
    l,
    Me,
    Ge,
    n,
    a,
    c,
    _,
    w,
    z,
    R,
    J,
    Fe,
    Xe,
    Qe,
    $e,
    et,
    tt,
    rt,
    ot
  ];
}
class Bt extends pt {
  constructor(e) {
    super(), mt(
      this,
      e,
      Ut,
      Ht,
      ft,
      {
        endpoint: 35,
        session: 36,
        playerid: 37,
        lang: 0,
        baseurl: 1,
        mergeproducts: 38,
        hideproducts: 39,
        hasconfirmationmodal: 40,
        hascancelbutton: 2,
        dateformat: 41,
        clientstyling: 3,
        clientstylingurl: 4,
        mbsource: 5,
        translationurl: 42
      },
      Tt,
      [-1, -1, -1]
    );
  }
  get endpoint() {
    return this.$$.ctx[35];
  }
  set endpoint(e) {
    this.$$set({ endpoint: e }), U();
  }
  get session() {
    return this.$$.ctx[36];
  }
  set session(e) {
    this.$$set({ session: e }), U();
  }
  get playerid() {
    return this.$$.ctx[37];
  }
  set playerid(e) {
    this.$$set({ playerid: e }), U();
  }
  get lang() {
    return this.$$.ctx[0];
  }
  set lang(e) {
    this.$$set({ lang: e }), U();
  }
  get baseurl() {
    return this.$$.ctx[1];
  }
  set baseurl(e) {
    this.$$set({ baseurl: e }), U();
  }
  get mergeproducts() {
    return this.$$.ctx[38];
  }
  set mergeproducts(e) {
    this.$$set({ mergeproducts: e }), U();
  }
  get hideproducts() {
    return this.$$.ctx[39];
  }
  set hideproducts(e) {
    this.$$set({ hideproducts: e }), U();
  }
  get hasconfirmationmodal() {
    return this.$$.ctx[40];
  }
  set hasconfirmationmodal(e) {
    this.$$set({ hasconfirmationmodal: e }), U();
  }
  get hascancelbutton() {
    return this.$$.ctx[2];
  }
  set hascancelbutton(e) {
    this.$$set({ hascancelbutton: e }), U();
  }
  get dateformat() {
    return this.$$.ctx[41];
  }
  set dateformat(e) {
    this.$$set({ dateformat: e }), U();
  }
  get clientstyling() {
    return this.$$.ctx[3];
  }
  set clientstyling(e) {
    this.$$set({ clientstyling: e }), U();
  }
  get clientstylingurl() {
    return this.$$.ctx[4];
  }
  set clientstylingurl(e) {
    this.$$set({ clientstylingurl: e }), U();
  }
  get mbsource() {
    return this.$$.ctx[5];
  }
  set mbsource(e) {
    this.$$set({ mbsource: e }), U();
  }
  get translationurl() {
    return this.$$.ctx[42];
  }
  set translationurl(e) {
    this.$$set({ translationurl: e }), U();
  }
}
wt(Bt, { endpoint: {}, session: {}, playerid: {}, lang: {}, baseurl: {}, mergeproducts: {}, hideproducts: {}, hasconfirmationmodal: {}, hascancelbutton: {}, dateformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
export {
  Bt as default
};
