var Re = Object.defineProperty, qe = Object.defineProperties;
var He = Object.getOwnPropertyDescriptors;
var ye = Object.getOwnPropertySymbols;
var Oe = Object.prototype.hasOwnProperty, Ke = Object.prototype.propertyIsEnumerable;
var we = (n, o, e) => o in n ? Re(n, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[o] = e, ke = (n, o) => {
  for (var e in o || (o = {}))
    Oe.call(o, e) && we(n, e, o[e]);
  if (ye)
    for (var e of ye(o))
      Ke.call(o, e) && we(n, e, o[e]);
  return n;
}, Fe = (n, o) => qe(n, He(o));
var _e = (n, o, e) => new Promise((a, r) => {
  var i = (h) => {
    try {
      x(e.next(h));
    } catch (E) {
      r(E);
    }
  }, u = (h) => {
    try {
      x(e.throw(h));
    } catch (E) {
      r(E);
    }
  }, x = (h) => h.done ? a(h.value) : Promise.resolve(h.value).then(i, u);
  x((e = e.apply(n, o)).next());
});
import { F as Ne, G as Ze, a as Je, $ as Ge, S as Ve, i as Xe, s as Qe, f as G, b as $e, n as Me, d as le, c as te, e as d, g as eo, h as oo, o as no, j as be, m as l, p as P, q as p, E as ve, r as m, k as De, l as io, v as lo, t as ie, J as Ee, w as ge, u as ee, x as me, z as to, A as ro, B as ao, C as so, D as uo } from "./PlayerAccountController-DQUfjs7n.js";
import { d as de } from "./PlayerAccountTimeout-BI8ChPm8.js";
import "../stencil/ui-skeleton-BKpwkQ2A.js";
var Ce = { exports: {} };
(function(n, o) {
  (function(e, a) {
    n.exports = a();
  })(Ze, function() {
    var e = { LTS: "h:mm:ss A", LT: "h:mm A", L: "MM/DD/YYYY", LL: "MMMM D, YYYY", LLL: "MMMM D, YYYY h:mm A", LLLL: "dddd, MMMM D, YYYY h:mm A" }, a = /(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g, r = /\d\d/, i = /\d\d?/, u = /\d*[^-_:/,()\s\d]+/, x = {}, h = function(s) {
      return (s = +s) + (s > 68 ? 1900 : 2e3);
    }, E = function(s) {
      return function(c) {
        this[s] = +c;
      };
    }, D = [/[+-]\d\d:?(\d\d)?|Z/, function(s) {
      (this.zone || (this.zone = {})).offset = function(c) {
        if (!c || c === "Z")
          return 0;
        var g = c.match(/([+-]|\d\d)/g), S = 60 * g[1] + (+g[2] || 0);
        return S === 0 ? 0 : g[0] === "+" ? -S : S;
      }(s);
    }], C = function(s) {
      var c = x[s];
      return c && (c.indexOf ? c : c.s.concat(c.f));
    }, F = function(s, c) {
      var g, S = x.meridiem;
      if (S) {
        for (var w = 1; w <= 24; w += 1)
          if (s.indexOf(S(w, 0, c)) > -1) {
            g = w > 12;
            break;
          }
      } else
        g = s === (c ? "pm" : "PM");
      return g;
    }, M = { A: [u, function(s) {
      this.afternoon = F(s, !1);
    }], a: [u, function(s) {
      this.afternoon = F(s, !0);
    }], S: [/\d/, function(s) {
      this.milliseconds = 100 * +s;
    }], SS: [r, function(s) {
      this.milliseconds = 10 * +s;
    }], SSS: [/\d{3}/, function(s) {
      this.milliseconds = +s;
    }], s: [i, E("seconds")], ss: [i, E("seconds")], m: [i, E("minutes")], mm: [i, E("minutes")], H: [i, E("hours")], h: [i, E("hours")], HH: [i, E("hours")], hh: [i, E("hours")], D: [i, E("day")], DD: [r, E("day")], Do: [u, function(s) {
      var c = x.ordinal, g = s.match(/\d+/);
      if (this.day = g[0], c)
        for (var S = 1; S <= 31; S += 1)
          c(S).replace(/\[|\]/g, "") === s && (this.day = S);
    }], M: [i, E("month")], MM: [r, E("month")], MMM: [u, function(s) {
      var c = C("months"), g = (C("monthsShort") || c.map(function(S) {
        return S.slice(0, 3);
      })).indexOf(s) + 1;
      if (g < 1)
        throw new Error();
      this.month = g % 12 || g;
    }], MMMM: [u, function(s) {
      var c = C("months").indexOf(s) + 1;
      if (c < 1)
        throw new Error();
      this.month = c % 12 || c;
    }], Y: [/[+-]?\d+/, E("year")], YY: [r, function(s) {
      this.year = h(s);
    }], YYYY: [/\d{4}/, E("year")], Z: D, ZZ: D };
    function b(s) {
      var c, g;
      c = s, g = x && x.formats;
      for (var S = (s = c.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, function(R, y, H) {
        var _ = H && H.toUpperCase();
        return y || g[H] || e[H] || g[_].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(O, Y, V) {
          return Y || V.slice(1);
        });
      })).match(a), w = S.length, k = 0; k < w; k += 1) {
        var v = S[k], N = M[v], I = N && N[0], z = N && N[1];
        S[k] = z ? { regex: I, parser: z } : v.replace(/^\[|\]$/g, "");
      }
      return function(R) {
        for (var y = {}, H = 0, _ = 0; H < w; H += 1) {
          var O = S[H];
          if (typeof O == "string")
            _ += O.length;
          else {
            var Y = O.regex, V = O.parser, re = R.slice(_), Z = Y.exec(re)[0];
            V.call(y, Z), R = R.replace(Z, "");
          }
        }
        return function(J) {
          var L = J.afternoon;
          if (L !== void 0) {
            var q = J.hours;
            L ? q < 12 && (J.hours += 12) : q === 12 && (J.hours = 0), delete J.afternoon;
          }
        }(y), y;
      };
    }
    return function(s, c, g) {
      g.p.customParseFormat = !0, s && s.parseTwoDigitYear && (h = s.parseTwoDigitYear);
      var S = c.prototype, w = S.parse;
      S.parse = function(k) {
        var v = k.date, N = k.utc, I = k.args;
        this.$u = N;
        var z = I[1];
        if (typeof z == "string") {
          var R = I[2] === !0, y = I[3] === !0, H = R || y, _ = I[2];
          y && (_ = I[2]), x = this.$locale(), !R && _ && (x = g.Ls[_]), this.$d = function(re, Z, J) {
            try {
              if (["x", "X"].indexOf(Z) > -1)
                return new Date((Z === "X" ? 1e3 : 1) * re);
              var L = b(Z)(re), q = L.year, X = L.month, ae = L.day, se = L.hours, oe = L.minutes, he = L.seconds, xe = L.milliseconds, pe = L.zone, Q = /* @__PURE__ */ new Date(), ne = ae || (q || X ? 1 : Q.getDate()), j = q || Q.getFullYear(), T = 0;
              q && !X || (T = X > 0 ? X - 1 : Q.getMonth());
              var ce = se || 0, ue = oe || 0, K = he || 0, $ = xe || 0;
              return pe ? new Date(Date.UTC(j, T, ne, ce, ue, K, $ + 60 * pe.offset * 1e3)) : J ? new Date(Date.UTC(j, T, ne, ce, ue, K, $)) : new Date(j, T, ne, ce, ue, K, $);
            } catch (f) {
              return /* @__PURE__ */ new Date("");
            }
          }(v, z, N), this.init(), _ && _ !== !0 && (this.$L = this.locale(_).$L), H && v != this.format(z) && (this.$d = /* @__PURE__ */ new Date("")), x = {};
        } else if (z instanceof Array)
          for (var O = z.length, Y = 1; Y <= O; Y += 1) {
            I[1] = z[Y - 1];
            var V = g.apply(this, I);
            if (V.isValid()) {
              this.$d = V.$d, this.$L = V.$L, this.init();
              break;
            }
            Y === O && (this.$d = /* @__PURE__ */ new Date(""));
          }
        else
          w.call(this, k);
      };
    };
  });
})(Ce);
var co = Ce.exports;
const fo = /* @__PURE__ */ Ne(co);
function Te(n, o) {
  Je(n, o);
}
function mo(n) {
  Ge.set(n);
}
const Ae = {
  en: {
    titleSelfExclusion: "Self-Exclusion",
    selfExclusionText: "<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion 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.",
    selfExclusionEmailText: "E-mail:",
    duration: "Duration:",
    dateInstructions: "In order to manually input date use the following format:",
    forever: "Forever",
    save: "Save",
    noPeriodSelected: "Please select a self exclusion period",
    selectAPeriod: "Select a period",
    temporarySelfExclusion: "Your self-exclusion period will last until the {date} 23:59.",
    permanentSelfExclusion: "Your self-exclusion period will be permanent.",
    SelfExclusionFor30Days: "30 Days",
    SelfExclusionFor2Months: "2 Months",
    SelfExclusionFor3Months: "3 Months",
    SelfExclusionFor6Months: "6 Months",
    SelfExclusionFor7Months: "7 Months",
    SelfExclusionFor8Months: "8 Months",
    SelfExclusionFor9Months: "9 Months",
    SelfExclusionFor10Months: "10 Months",
    SelfExclusionFor11Months: "11 Months",
    SelfExclusionFor1Year: "1 Year",
    SelfExclusionFor2Years: "2 Years",
    SelfExclusionFor5Years: "5 Years",
    SelfExclusionPermanent: "Permanent",
    SelfExclusionUntilSelectedDate: "Until",
    confirmationModalTitle: "Confirmation",
    selfExclusionSuccess: "Self exclusion active",
    confirmationModalTextPeriodSelfExclusion: "Are you sure you want to self-exclude for {period}?",
    confirmationModalTextUntilSelfExclusion: "Are you sure you want to self-exclude until {date}?",
    errorSelfExclusionCall: "There was a problem while making the self exclusion request.",
    generalError: "There was an error while fetching the self exclusion.",
    InvalidSession: "The session is exipired."
  },
  "en-us": {
    titleSelfExclusion: "Self-Exclusion",
    selfExclusionText: "<p>While self-excluded, access to your account will be entirely restricted.</br>Self-exclusion 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.",
    selfExclusionEmailText: "E-mail:",
    duration: "Duration:",
    dateInstructions: "In order to manually input date use the following format:",
    forever: "Forever",
    save: "Save",
    noPeriodSelected: "Please select a self exclusion period",
    selectAPeriod: "Select a period",
    temporarySelfExclusion: "Your self-exclusion period will last until the {date} 23:59.",
    permanentSelfExclusion: "Your self-exclusion period will be permanent.",
    SelfExclusionFor30Days: "30 Days",
    SelfExclusionFor2Months: "2 Months",
    SelfExclusionFor3Months: "3 Months",
    SelfExclusionFor6Months: "6 Months",
    SelfExclusionFor7Months: "7 Months",
    SelfExclusionFor8Months: "8 Months",
    SelfExclusionFor9Months: "9 Months",
    SelfExclusionFor10Months: "10 Months",
    SelfExclusionFor11Months: "11 Months",
    SelfExclusionFor1Year: "1 Year",
    SelfExclusionFor2Years: "2 Years",
    SelfExclusionFor5Years: "5 Years",
    SelfExclusionPermanent: "Permanent",
    SelfExclusionUntilSelectedDate: "Until",
    confirmationModalTitle: "Confirmation",
    selfExclusionSuccess: "Self exclusion active",
    confirmationModalTextPeriodSelfExclusion: "Are you sure you want to self-exclude for {period}?",
    confirmationModalTextUntilSelfExclusion: "Are you sure you want to self-exclude until {date}?",
    errorSelfExclusionCall: "There was a problem while making the self exclusion request.",
    generalError: "There was an error while fetching the self exclusion.",
    InvalidSession: "The session is exipired."
  },
  "zh-hk": {
    titleSelfExclusion: "自我排除",
    selfExclusionText: "<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>'幫助頁面以獲取進一步的建議。</p>",
    selfExclusionEmailText: "電子郵件：",
    duration: "時長：",
    dateInstructions: "如需手動輸入日期，請使用以下格式：",
    forever: "永久",
    save: "保存",
    noPeriodSelected: "請選擇自我排除時段",
    selectAPeriod: "選擇一個時段",
    temporarySelfExclusion: "您的自我排除期將持續到 {date} 23:59。",
    permanentSelfExclusion: "您的自我排除期將是永久性的。",
    SelfExclusionFor30Days: "30天",
    SelfExclusionFor2Months: "2個月",
    SelfExclusionFor3Months: "3個月",
    SelfExclusionFor6Months: "6個月",
    SelfExclusionFor7Months: "7個月",
    SelfExclusionFor8Months: "8個月",
    SelfExclusionFor9Months: "9個月",
    SelfExclusionFor10Months: "10個月",
    SelfExclusionFor11Months: "11個月",
    SelfExclusionFor1Year: "1年",
    SelfExclusionFor2Years: "2年",
    SelfExclusionFor5Years: "5年",
    SelfExclusionPermanent: "永久",
    SelfExclusionUntilSelectedDate: "直到",
    selfExclusionSuccess: "自我排斥活躍",
    confirmationModalTitle: "確認",
    confirmationModalTextPeriodSelfExclusion: "您確定要自我排除 {period} 嗎？",
    confirmationModalTextUntilSelfExclusion: "您確定要自我排除直到 {date} 嗎？",
    generalError: "提取自我排除时发生错误。",
    errorSelfExclusionCall: "发出自我排除请求时出现问题。",
    InvalidSession: "会话已过期。"
  },
  fr: {
    titleSelfExclusion: "Auto-Exclusion",
    selfExclusionText: "<p>Pendant la période d'auto-exclusion, l'accès à votre compte sera entièrement restreint.</br> L'auto-exclusion ne peut être levée qu'après la période que vous avez sélectionnée et en contactant le Service Client, sous réserve d'une révision et d'une période de réflexion.</br> Alternativement, vous pouvez choisir de prendre un '<a href='{baseurl}/{lang}/account/timeout'>temps de pause</a>' (jusqu'à 6 semaines) via l'option correspondante.</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 consulter nos pages d'aide '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jeu Responsable</a>' pour des conseils supplémentaires si nécessaire.</p>",
    selfExclusionEmailText: "E-mail :",
    duration: "Durée :",
    dateInstructions: "Pour saisir une date manuellement, utilisez le format suivant :",
    forever: "Pour toujours",
    save: "Enregistrer",
    noPeriodSelected: "Veuillez sélectionner une période d'auto-exclusion",
    selectAPeriod: "Sélectionnez une période",
    temporarySelfExclusion: "Votre période d'auto-exclusion durera jusqu'au {date} 23:59.",
    permanentSelfExclusion: "Votre période d'auto-exclusion sera permanente.",
    SelfExclusionFor30Days: "30 Jours",
    SelfExclusionFor2Months: "2 Mois",
    SelfExclusionFor3Months: "3 Mois",
    SelfExclusionFor6Months: "6 Mois",
    SelfExclusionFor7Months: "7 Mois",
    SelfExclusionFor8Months: "8 Mois",
    SelfExclusionFor9Months: "9 Mois",
    SelfExclusionFor10Months: "10 Mois",
    SelfExclusionFor11Months: "11 Mois",
    SelfExclusionFor1Year: "1 An",
    SelfExclusionFor2Years: "2 Ans",
    SelfExclusionFor5Years: "5 Ans",
    SelfExclusionPermanent: "Permanent",
    SelfExclusionUntilSelectedDate: "Jusqu'à",
    selfExclusionSuccess: "Auto exclusion active",
    confirmationModalTitle: "Confirmation",
    confirmationModalTextPeriodSelfExclusion: "Êtes-vous sûr de vouloir vous auto-exclure pour {period} ?",
    confirmationModalTextUntilSelfExclusion: "Êtes-vous sûr de vouloir vous auto-exclure jusqu'au {date} ?",
    generalError: "Une erreur s'est produite lors de la récupération de l'auto-exclusion.",
    errorSelfExclusionCall: "Un problème est survenu lors de la demande d'auto-exclusion.",
    InvalidSession: "La session a expiré."
  },
  ro: {
    titleSelfExclusion: "Auto-Excludere",
    selfExclusionText: "<p>În timpul perioadei de autoexcludere, accesul la contul dvs. va fi complet restricționat.</br> Autoexcluderea poate fi ridicată numai după ce perioada selectată de dvs. a expirat, contactând Suportul Clienți, și va fi supusă unei revizuiri și unei perioade de reflecție.</br> Alternativ, puteți alege să luați o '<a href='{baseurl}/{lang}/account/timeout'>pauză</a>' (o întrerupere de până la 6 săptămâni) prin opțiunea corespunzătoare.</br> Dacă preferați să vă închideți contul, puteți face acest lucru prin opțiunea '<a href='{baseurl}/{lang}/account/account-closure'>Închidere cont</a>'.</br> Vă recomandăm, de asemenea, să consultați paginile noastre de ajutor '<a href='{baseurl}/{lang}/page/responsible-gambling'>Joc Responsabil</a>' pentru sfaturi suplimentare, dacă este necesar.</p>",
    selfExclusionEmailText: "E-mail:",
    duration: "Durată:",
    dateInstructions: "Pentru a introduce manual o dată, utilizați următorul format:",
    forever: "Pentru totdeauna",
    save: "Salvează",
    noPeriodSelected: "Vă rugăm să selectați o perioadă de auto-excludere",
    selectAPeriod: "Selectați o perioadă",
    temporarySelfExclusion: "Perioada dvs. de auto-excludere va dura până la {date} 23:59.",
    permanentSelfExclusion: "Perioada dvs. de auto-excludere va fi permanentă.",
    SelfExclusionFor30Days: "30 de Zile",
    SelfExclusionFor2Months: "2 Luni",
    SelfExclusionFor3Months: "3 Luni",
    SelfExclusionFor6Months: "6 Luni",
    SelfExclusionFor7Months: "7 Luni",
    SelfExclusionFor8Months: "8 Luni",
    SelfExclusionFor9Months: "9 Luni",
    SelfExclusionFor10Months: "10 Luni",
    SelfExclusionFor11Months: "11 Luni",
    SelfExclusionFor1Year: "1 An",
    SelfExclusionFor2Years: "2 Ani",
    SelfExclusionFor5Years: "5 Ani",
    SelfExclusionPermanent: "Permanent",
    SelfExclusionUntilSelectedDate: "Până la",
    selfExclusionSuccess: "Auto-excludere activa",
    confirmationModalTitle: "Confirmare",
    confirmationModalTextPeriodSelfExclusion: "Sunteți sigur că doriți să vă auto-excludeți pentru {period}?",
    confirmationModalTextUntilSelfExclusion: "Sunteți sigur că doriți să vă auto-excludeți până la {date}?",
    generalError: "A apărut o eroare la preluarea auto-excluderii.",
    errorSelfExclusionCall: "A apărut o problemă la efectuarea cererii de auto-excludere.",
    InvalidSession: "Sesiunea a expirat."
  },
  es: {
    titleSelfExclusion: "Autoexclusión",
    selfExclusionText: "<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo se puede levantar después de que haya pasado el período seleccionado, comunicándose con Atención al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede optar por tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (un descanso de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo a través de la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos que lea nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si los necesita.</p>",
    selfExclusionEmailText: "Correo electrónico:",
    duration: "Duración:",
    dateInstructions: "Para ingresar manualmente la fecha, utilice el siguiente formato:",
    forever: "Para siempre",
    save: "Guardar",
    noPeriodSelected: "Por favor, seleccione un período de autoexclusión",
    selectAPeriod: "Seleccione un período",
    temporarySelfExclusion: "Su período de autoexclusión durará hasta el {date} a las 23:59.",
    permanentSelfExclusion: "Su período de autoexclusión será permanente.",
    SelfExclusionFor30Days: "30 Días",
    SelfExclusionFor2Months: "2 Meses",
    SelfExclusionFor3Months: "3 Meses",
    SelfExclusionFor6Months: "6 Meses",
    SelfExclusionFor7Months: "7 Meses",
    SelfExclusionFor8Months: "8 Meses",
    SelfExclusionFor9Months: "9 Meses",
    SelfExclusionFor10Months: "10 Meses",
    SelfExclusionFor11Months: "11 Meses",
    SelfExclusionFor1Year: "1 Año",
    SelfExclusionFor2Years: "2 Años",
    SelfExclusionFor5Years: "5 Años",
    SelfExclusionPermanent: "Permanente",
    SelfExclusionUntilSelectedDate: "Hasta",
    selfExclusionSuccess: "Auto Exclusión activa.",
    confirmationModalTitle: "Confirmación",
    confirmationModalTextPeriodSelfExclusion: "¿Estás seguro de que deseas autoexcluirte por {period}?",
    confirmationModalTextUntilSelfExclusion: "¿Estás seguro de que deseas autoexcluirte hasta {date}?",
    generalError: "Hubo un error al obtener la autoexclusión.",
    errorSelfExclusionCall: "Hubo un problema al hacer la solicitud de autoexclusión.",
    InvalidSession: "La sesión ha expirado."
  },
  pt: {
    titleSelfExclusion: "Autoexclusão",
    selfExclusionText: "<p>Durante o período de autoexclusão, o acesso à sua conta estará totalmente restrito.</br> A autoexclusão só pode ser levantada após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a uma revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer uma '<a href='{baseurl}/{lang}/account/timeout'>pausa</a>' (um intervalo de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar a sua conta, pode fazê-lo através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia as nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",
    selfExclusionEmailText: "E-mail:",
    duration: "Duração:",
    dateInstructions: "Para introduzir manualmente a data, utilize o seguinte formato:",
    forever: "Para sempre",
    save: "Guardar",
    noPeriodSelected: "Por favor, selecione um período de autoexclusão",
    selectAPeriod: "Selecione um período",
    temporarySelfExclusion: "O seu período de autoexclusão durará até às {date} 23:59.",
    permanentSelfExclusion: "O seu período de autoexclusão será permanente.",
    SelfExclusionFor30Days: "30 Dias",
    SelfExclusionFor2Months: "2 Meses",
    SelfExclusionFor3Months: "3 Meses",
    SelfExclusionFor6Months: "6 Meses",
    SelfExclusionFor7Months: "7 Meses",
    SelfExclusionFor8Months: "8 Meses",
    SelfExclusionFor9Months: "9 Meses",
    SelfExclusionFor10Months: "10 Meses",
    SelfExclusionFor11Months: "11 Meses",
    SelfExclusionFor1Year: "1 Ano",
    SelfExclusionFor2Years: "2 Anos",
    SelfExclusionFor5Years: "5 Anos",
    SelfExclusionPermanent: "Permanente",
    SelfExclusionUntilSelectedDate: "Até",
    selfExclusionSuccess: "Autoexclusão ativa",
    confirmationModalTitle: "Confirmação",
    confirmationModalTextPeriodSelfExclusion: "Tem a certeza de que deseja autoexcluir-se por {period}?",
    confirmationModalTextUntilSelfExclusion: "Tem a certeza de que deseja autoexcluir-se até {date}?",
    generalError: "Ocorreu um erro ao buscar a autoexclusão.",
    errorSelfExclusionCall: "Ocorreu um problema ao fazer a solicitação de autoexclusão.",
    InvalidSession: "A sessão expirou."
  },
  hr: {
    titleSelfExclusion: "Samoisključenje",
    selfExclusionText: "<p>Tijekom razdoblja samoisključenja, pristup vašem računu bit će potpuno ograničen.</br> Samoisključenje se može ukinuti tek nakon što istekne razdoblje koje ste odabrali, uz kontaktiranje Korisničke podrške, uz reviziju i razdoblje hlađenja.</br> Alternativno, možete odabrati '<a href='{baseurl}/{lang}/account/timeout'>stanku</a>' (pauzu do 6 tjedana) putem odgovarajuće opcije.</br> Ako radije želite zatvoriti svoj račun, to možete učiniti putem opcije '<a href='{baseurl}/{lang}/account/account-closure'>Zatvaranje računa</a>'.</br> Također vam preporučujemo da pročitate naše stranice s pomoći o '<a href='{baseurl}/{lang}/page/responsible-gambling'>Odgovorno kockanje</a>' za dodatne savjete, ako su vam potrebni.</p>",
    selfExclusionEmailText: "E-mail:",
    duration: "Trajanje:",
    dateInstructions: "Za ručni unos datuma koristite sljedeći format:",
    forever: "Zauvijek",
    save: "Spremi",
    noPeriodSelected: "Molimo odaberite razdoblje samoisključenja",
    selectAPeriod: "Odaberite razdoblje",
    temporarySelfExclusion: "Vaše razdoblje samoisključenja trajat će do {date} 23:59.",
    permanentSelfExclusion: "Vaše razdoblje samoisključenja bit će trajno.",
    SelfExclusionFor30Days: "30 Dana",
    SelfExclusionFor2Months: "2 Mjeseca",
    SelfExclusionFor3Months: "3 Mjeseca",
    SelfExclusionFor6Months: "6 Mjeseci",
    SelfExclusionFor7Months: "7 Mjeseci",
    SelfExclusionFor8Months: "8 Mjeseci",
    SelfExclusionFor9Months: "9 Mjeseci",
    SelfExclusionFor10Months: "10 Mjeseci",
    SelfExclusionFor11Months: "11 Mjeseci",
    SelfExclusionFor1Year: "1 Godina",
    SelfExclusionFor2Years: "2 Godina",
    SelfExclusionFor5Years: "5 Godina",
    SelfExclusionPermanent: "Trajno",
    SelfExclusionUntilSelectedDate: "Do",
    selfExclusionSuccess: "Aktivno samoisključivanje",
    confirmationModalTitle: "Potvrda",
    confirmationModalTextPeriodSelfExclusion: "Jeste li sigurni da se želite samoisključiti na {period}?",
    confirmationModalTextUntilSelfExclusion: "Jeste li sigurni da se želite samoisključiti do {date}?",
    generalError: "Došlo je do pogreške prilikom dohvaćanja samoisključenja.",
    errorSelfExclusionCall: "Došlo je do problema prilikom slanja zahtjeva za samoisključenje.",
    InvalidSession: "Sesija je istekla."
  },
  "pt-br": {
    titleSelfExclusion: "Autoexclusão",
    selfExclusionText: "<p>Durante o período de autoexclusão, o acesso à sua conta será completamente restrito.</br> A autoexclusão só pode ser removida após o término do período selecionado, entrando em contato com o Suporte ao Cliente, sujeito a revisão e a um período de reflexão.</br> Alternativamente, você pode optar por fazer um '<a href='{baseurl}/{lang}/account/timeout'>intervalo</a>' (uma pausa de até 6 semanas) através da opção correspondente.</br> Se preferir encerrar sua conta, você pode fazer isso através da opção '<a href='{baseurl}/{lang}/account/account-closure'>Encerramento de Conta</a>'.</br> Recomendamos também que leia nossas páginas de ajuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Jogo Responsável</a>' para obter mais conselhos, caso necessite.</p>",
    selfExclusionEmailText: "E-mail:",
    duration: "Duração:",
    dateInstructions: "Para inserir manualmente a data, use o seguinte formato:",
    forever: "Para sempre",
    save: "Salvar",
    noPeriodSelected: "Por favor, selecione um período de autoexclusão",
    selectAPeriod: "Selecione um período",
    temporarySelfExclusion: "Seu período de autoexclusão durará até {date} às 23:59.",
    permanentSelfExclusion: "Seu período de autoexclusão será permanente.",
    SelfExclusionFor30Days: "30 Dias",
    SelfExclusionFor2Months: "2 Meses",
    SelfExclusionFor3Months: "3 Meses",
    SelfExclusionFor6Months: "6 Meses",
    SelfExclusionFor7Months: "7 Meses",
    SelfExclusionFor8Months: "8 Meses",
    SelfExclusionFor9Months: "9 Meses",
    SelfExclusionFor10Months: "10 Meses",
    SelfExclusionFor11Months: "11 Meses",
    SelfExclusionFor1Year: "1 Ano",
    SelfExclusionFor2Years: "2 Anos",
    SelfExclusionFor5Years: "5 Anos",
    SelfExclusionPermanent: "Permanente",
    SelfExclusionUntilSelectedDate: "Até",
    selfExclusionSuccess: "Autoexclusão ativa",
    confirmationModalTitle: "Confirmação",
    confirmationModalTextPeriodSelfExclusion: "Você tem certeza de que deseja se autoexcluir por {period}?",
    confirmationModalTextUntilSelfExclusion: "Você tem certeza de que deseja se autoexcluir até {date}?",
    generalError: "Houve um erro ao buscar a autoexclusão.",
    errorSelfExclusionCall: "Houve um problema ao fazer a solicitação de autoexclusão.",
    InvalidSession: "A sessão expirou."
  },
  "es-mx": {
    titleSelfExclusion: "Autoexclusión",
    selfExclusionText: "<p>Mientras esté autoexcluido, el acceso a su cuenta estará completamente restringido.</br> La autoexclusión solo puede levantarse después de que haya pasado el período que seleccionó, comunicándose con el Servicio al Cliente, sujeto a una revisión y un período de enfriamiento.</br> Alternativamente, puede elegir tomarse un '<a href='{baseurl}/{lang}/account/timeout'>descanso</a>' (una pausa de hasta 6 semanas) a través de la opción correspondiente.</br> Si prefiere cerrar su cuenta, puede hacerlo mediante la opción '<a href='{baseurl}/{lang}/account/account-closure'>Cierre de Cuenta</a>'.</br> También le recomendamos leer nuestras páginas de ayuda sobre '<a href='{baseurl}/{lang}/page/responsible-gambling'>Juego Responsable</a>' para obtener más consejos si lo necesita.</p>",
    selfExclusionEmailText: "Correo electrónico:",
    duration: "Duración:",
    dateInstructions: "Para ingresar manualmente la fecha, utilice el siguiente formato:",
    forever: "Para siempre",
    save: "Guardar",
    noPeriodSelected: "Por favor, seleccione un período de autoexclusión",
    selectAPeriod: "Seleccione un período",
    temporarySelfExclusion: "Su período de autoexclusión durará hasta el {date} a las 23:59.",
    permanentSelfExclusion: "Su período de autoexclusión será permanente.",
    SelfExclusionFor30Days: "30 Días",
    SelfExclusionFor2Months: "2 Meses",
    SelfExclusionFor3Months: "3 Meses",
    SelfExclusionFor6Months: "6 Meses",
    SelfExclusionFor7Months: "7 Meses",
    SelfExclusionFor8Months: "8 Meses",
    SelfExclusionFor9Months: "9 Meses",
    SelfExclusionFor10Months: "10 Meses",
    SelfExclusionFor11Months: "11 Meses",
    SelfExclusionFor1Year: "1 Año",
    SelfExclusionFor2Years: "2 Anos",
    SelfExclusionFor5Years: "5 Años",
    SelfExclusionPermanent: "Permanente",
    SelfExclusionUntilSelectedDate: "Hasta",
    selfExclusionSuccess: "Auto-exclusión activa",
    confirmationModalTitle: "Confirmación",
    confirmationModalTextPeriodSelfExclusion: "¿Estás seguro de que deseas autoexcluirte por {period}?",
    confirmationModalTextUntilSelfExclusion: "¿Estás seguro de que deseas autoexcluirte hasta {date}?",
    generalError: "Hubo un error al obtener la autoexclusión.",
    errorSelfExclusionCall: "Hubo un problema al hacer la solicitud de autoexclusión.",
    InvalidSession: "La sesión ha expirado."
  },
  tr: {
    titleSelfExclusion: "Kendi Kendini Hariç Tutma",
    selfExclusionText: "<p>Kendinizi dışlama süresince hesabınıza erişiminiz tamamen kısıtlanacaktır.</br> Kendinizi dışlama, yalnızca seçtiğiniz süre sona erdikten sonra, Müşteri Hizmetleri ile iletişime geçerek kaldırılabilir ve inceleme ile bir düşünme süresine tabi olacaktır.</br> Alternatif olarak, '<a href='{baseurl}/{lang}/account/timeout'>Mola</a>' seçeneğiyle hizmetlerimizden (6 haftaya kadar bir ara) faydalanmayı tercih edebilirsiniz.</br> Hesabınızı kapatmayı tercih ederseniz, bunu '<a href='{baseurl}/{lang}/account/account-closure'>Hesap Kapatma</a>' seçeneği aracılığıyla yapabilirsiniz.</br> Ayrıca, gerektiğinde daha fazla tavsiye almak için '<a href='{baseurl}/{lang}/page/responsible-gambling'>Sorumlu Oyun</a>' yardım sayfalarımızı okumanızı öneririz.</p>",
    selfExclusionEmailText: "E-posta:",
    duration: "Süre:",
    dateInstructions: "Tarihi manuel olarak girmek için şu formatı kullanın:",
    forever: "Sonsuza kadar",
    save: "Kaydet",
    noPeriodSelected: "Lütfen bir kendi kendini hariç tutma süresi seçin",
    selectAPeriod: "Bir süre seçin",
    temporarySelfExclusion: "Kendi kendini hariç tutma süreniz {date} saat 23:59'a kadar sürecektir.",
    permanentSelfExclusion: "Kendi kendini hariç tutma süreniz kalıcı olacaktır.",
    SelfExclusionFor30Days: "30 Gün",
    SelfExclusionFor2Months: "2 Ay",
    SelfExclusionFor3Months: "3 Ay",
    SelfExclusionFor6Months: "6 Ay",
    SelfExclusionFor7Months: "7 Ay",
    SelfExclusionFor8Months: "8 Ay",
    SelfExclusionFor9Months: "9 Ay",
    SelfExclusionFor10Months: "10 Ay",
    SelfExclusionFor11Months: "11 Ay",
    SelfExclusionFor1Year: "1 Yıl",
    SelfExclusionFor2Years: "2 Yıl",
    SelfExclusionFor5Years: "5 Yıl",
    SelfExclusionPermanent: "Kalıcı",
    SelfExclusionUntilSelectedDate: "Tarihe kadar",
    selfExclusionSuccess: "Kendini dışlama etkin",
    confirmationModalTitle: "Onay",
    confirmationModalTextPeriodSelfExclusion: "{period} için kendinizi hariç tutmak istediğinizden emin misiniz?",
    confirmationModalTextUntilSelfExclusion: "{date} tarihine kadar kendinizi hariç tutmak istediğinizden emin misiniz?",
    generalError: "Kendi kendini dışlama alınırken bir hata oluştu.",
    errorSelfExclusionCall: "Kendi kendini dışlama isteği yapılırken bir sorun oluştu.",
    InvalidSession: "Oturum süresi doldu."
  }
};
function po(n) {
  $e(n, "svelte-st6cko", 'a{cursor:pointer;text-decoration:underline;font-weight:600}.PlayerSelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.PlayerSelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerSelfExclusionTitleNone{display:none}.SelfExclusionContainer{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));container-type:inline-size}.SelfExclusionContainer .SelfExclusionWrapper{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;border-radius: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}.SelfExclusionContainer .SelfExclusionWrapper.SelfExclusionWrapperMobile{padding:20px 15px;max-width:unset;border-radius:0}.MenuReturnButton{color:var(--emw--color-gray-300, #58586B);display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.SelfExclusionTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weight-bold, 700)}.SelfExclusionTitle.SelfExclusionTitleMobile{font-size:var(--emw--font-size-large, 20px)}.SelfExclusionNotification{color:var(--emw--color-gray-300, #58586B);line-height:24px}.SelfExclusionNotification.SelfExclusionDescriptionMobile{font-size:var(--emw--font-size-x-small, 12px);line-height:19px}.SelfExclusionNotification .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDescription{color:var(--emw--color-gray-300, #58586B);line-height:24px;min-height:180px}@container (max-width: 768px){.SelfExclusionDescription{font-size:var(--emw--font-size-x-small, 12px);line-height:19px;min-height:230px}.SelfExclusionDescription .SelfExclusionDescriptionText a{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}}.SelfExclusionConfigWrapper{width:50%;height:100%;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}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel{display:flex;flex-direction:row;justify-content:space-between;align-items:center;padding:var(--emw--spacing-medium, 10px) var(--emw--spacing-large, 20px)}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon{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}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel p{margin:0;font-family:inherit}.SelfExclusionConfigWrapper .SelfExclusionConfigLabel .SelfExclusionConfigIcon.active{transform:rotateZ(0deg)}.SelfExclusionConfigWrapper .SelfExclusionDropDown{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)}.SelfExclusionConfigWrapper .SelfExclusionDropDown 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}.SelfExclusionConfigWrapper .SelfExclusionDropDown div:hover{color:var(--emw--color-white, #FFFFFF);background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionConfigWrapper .SelfExclusionDropDown.active{max-height:600px;opacity:1}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile{width:100%;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionConfigWrapper.SelfExclusionConfigWrapperMobile .SelfExclusionConfigLabel .SelfExclusionConfigIcon{width:10px;height:10px}.SelfExclusionDateWrapper{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:16px;position:relative;width:50%}.SelfExclusionDateWrapper label{font-size:var(--emw--font-size-small, 14px);font-weight:300;padding-bottom:5px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions{font-size:var(--emw--font-size-small, 12px);font-weight:300;padding-bottom:5px;line-height:18px}.SelfExclusionDateWrapper .SelfExclusionDateInstructions strong{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionDateWrapper 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}.SelfExclusionDateWrapper.SelfExclusionDateWrapperMobile{width:100%}.SelfExclusionRadioWrapper{display:block;position:relative;padding:4px 0 0 0;margin-bottom:16px;font-size:var(--emw--size-standard, 16px);user-select:none;line-height:18px}.SelfExclusionRadioWrapper label{font-size:var(--emw--size-standard, 16px);cursor:pointer;padding-left:35px}.SelfExclusionRadioWrapper input{font-family:inherit;position:absolute;opacity:0;cursor:pointer;height:0;width:0}.SelfExclusionRadioWrapper .Checkmark{position:absolute;top:0;left:0;height:25px;width:25px;background-color:var(--emw--color-gray-100, #E6E6E6);border-radius:50%}.SelfExclusionRadioWrapper input:checked~.Checkmark{background-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.SelfExclusionRadioWrapper .Checkmark:after{content:"";position:absolute;display:none;left:9px;top:5px;width:5px;height:10px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}.SelfExclusionRadioWrapper input:checked~.Checkmark:after{display:block}.SelfExclusionRadioWrapper.SelfExclusionRadioWrapperMobile label{font-family:inherit;font-size:var(--emw--font-size-x-small, 12px)}.SelfExclusionActionButtons{margin-top:40px;width:50%}.SelfExclusionActionButtons .SelfExclusionSave{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:30px 0;font-size:var(--emw--font-size-large, 20px);color:var(--emw--button-text-color, #FFFFFF)}.SelfExclusionActionButtons .SelfExclusionSave:hover{color:white;background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave:active{background:var(--emw--color-primary);opacity:0.6}.SelfExclusionActionButtons .SelfExclusionSave.active{cursor:pointer;background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, black 20%), var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-primary, #22B04E) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0E5924)}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile{width:100%;grid-template-columns:1fr 1fr}.SelfExclusionActionButtons.SelfExclusionActionButtonsMobile .SelfExclusionSave{height:40px;font-size:var(--emw--font-size-small, 14px);padding:20px 0}@keyframes fadeIn{0%{opacity:0.01}1%{opacity:0}50%{opacity:0}100%{opacity:1}}');
}
function Pe(n, o, e) {
  const a = n.slice();
  return a[58] = o[e], a;
}
function xo(n) {
  let o, e, a, r, i = (
    /*$_*/
    n[23]("titleSelfExclusion") + ""
  ), u, x, h, E, D = (
    /*$_*/
    n[23]("selfExclusionText", {
      values: {
        operatorname: (
          /*operator*/
          n[3]
        ),
        baseurl: (
          /*baseurl*/
          n[5]
        ),
        lang: (
          /*lang*/
          n[2]
        )
      }
    }) + ""
  ), C, F, M = (
    /*$_*/
    n[23]("selfExclusionEmailText") + ""
  ), b, s, c, g, S, w, k, v, N, I = (
    /*$_*/
    n[23](`${/*selectedPeriodKey*/
    n[16]}`) + ""
  ), z, R, y, H, _, O, Y, V, re, Z, J, L, q, X = (
    /*$_*/
    n[23]("save") + ""
  ), ae, se, oe, he, xe, pe, Q = (
    /*isMobile*/
    n[25] && Eo(n)
  ), ne = De(
    /*selfExclusionPeriods*/
    n[12]
  ), j = [];
  for (let f = 0; f < ne.length; f += 1)
    j[f] = ze(Pe(n, ne, f));
  let T = (
    /*isUntilDate*/
    n[19] && je(n)
  );
  function ce(f, A) {
    return (
      /*isPermanentSelfExclusion*/
      f[18] ? bo : (
        /*isDateSelected*/
        f[20] ? So : go
      )
    );
  }
  let ue = ce(n), K = ue(n), $ = (
    /*showConfirmationModal*/
    n[26] && vo(n)
  );
  return {
    c() {
      o = d("div"), e = d("form"), Q && Q.c(), a = P(), r = d("h2"), u = ee(i), x = P(), h = d("div"), E = d("p"), C = P(), F = d("p"), b = ee(M), s = P(), c = d("a"), g = ee(
        /*supportemail*/
        n[4]
      ), w = P(), k = d("div"), v = d("div"), N = d("p"), z = ee(I), R = P(), y = me("svg"), H = me("g"), _ = me("path"), O = P(), Y = d("div");
      for (let f = 0; f < j.length; f += 1)
        j[f].c();
      V = P(), T && T.c(), re = P(), Z = d("div"), K.c(), J = P(), L = d("div"), q = d("button"), ae = ee(X), he = P(), $ && $.c(), m(r, "class", "PlayerSelfExclusionTitle " + /*isMobile*/
      (n[25] ? "PlayerSelfExclusionTitleNone" : "")), m(E, "class", "SelfExclusionDescriptionText"), m(c, "href", S = "mailto:" + /*supportemail*/
      n[4]), m(F, "class", "SelfExclusionDescriptionText"), m(h, "class", "SelfExclusionDescription " + /*isMobile*/
      (n[25] ? "SelfExclusionDescriptionMobile" : "")), m(_, "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"), m(_, "stroke-linecap", "round"), m(y, "xmlns", "http://www.w3.org/2000/svg"), m(y, "xmlns:xlink", "http://www.w3.org/1999/xlink"), m(y, "version", "1.1"), m(y, "viewBox", "0 0 100 100"), m(y, "xml:space", "preserve"), m(y, "class", "SelfExclusionConfigIcon"), Ee(
        y,
        "active",
        /*isPeriodDropDownToggled*/
        n[21]
      ), m(v, "class", "SelfExclusionConfigLabel"), m(Y, "class", "SelfExclusionDropDown"), Ee(
        Y,
        "active",
        /*isPeriodDropDownToggled*/
        n[21]
      ), m(k, "class", "SelfExclusionConfigWrapper " + /*isMobile*/
      (n[25] ? "SelfExclusionConfigWrapperMobile" : "")), Ee(
        k,
        "active",
        /*isPeriodDropDownToggled*/
        n[21]
      ), m(Z, "class", "SelfExclusionDescription " + /*isMobile*/
      (n[25] ? "SelfExclusionDescriptionMobile" : "")), m(q, "class", se = "SelfExclusionSave " + /*isDateSelected*/
      (n[20] ? "active" : "")), q.disabled = oe = !/*isDateSelected*/
      n[20], m(L, "class", "SelfExclusionActionButtons " + /*isMobile*/
      (n[25] ? "SelfExclusionActionButtonsMobile" : "")), m(e, "class", "SelfExclusionWrapper " + /*isMobile*/
      (n[25] ? "SelfExclusionWrapperMobile" : "")), m(o, "class", "SelfExclusionContainer");
    },
    m(f, A) {
      te(f, o, A), l(o, e), Q && Q.m(e, null), l(e, a), l(e, r), l(r, u), l(e, x), l(e, h), l(h, E), E.innerHTML = D, l(h, C), l(h, F), l(F, b), l(F, s), l(F, c), l(c, g), l(e, w), l(e, k), l(k, v), l(v, N), l(N, z), l(v, R), l(v, y), l(y, H), l(H, _), l(k, O), l(k, Y);
      for (let W = 0; W < j.length; W += 1)
        j[W] && j[W].m(Y, null);
      l(e, V), T && T.m(e, null), l(e, re), l(e, Z), K.m(Z, null), l(e, J), l(e, L), l(L, q), l(q, ae), l(o, he), $ && $.m(o, null), xe || (pe = [
        ge(
          v,
          "click",
          /*click_handler_1*/
          n[38]
        ),
        ge(
          q,
          "click",
          /*click_handler_3*/
          n[41]
        )
      ], xe = !0);
    },
    p(f, A) {
      if (
        /*isMobile*/
        f[25] && Q.p(f, A), A[0] & /*$_*/
        8388608 && i !== (i = /*$_*/
        f[23]("titleSelfExclusion") + "") && ie(u, i), A[0] & /*$_, operator, baseurl, lang*/
        8388652 && D !== (D = /*$_*/
        f[23]("selfExclusionText", {
          values: {
            operatorname: (
              /*operator*/
              f[3]
            ),
            baseurl: (
              /*baseurl*/
              f[5]
            ),
            lang: (
              /*lang*/
              f[2]
            )
          }
        }) + "") && (E.innerHTML = D), A[0] & /*$_*/
        8388608 && M !== (M = /*$_*/
        f[23]("selfExclusionEmailText") + "") && ie(b, M), A[0] & /*supportemail*/
        16 && ie(
          g,
          /*supportemail*/
          f[4]
        ), A[0] & /*supportemail*/
        16 && S !== (S = "mailto:" + /*supportemail*/
        f[4]) && m(c, "href", S), A[0] & /*$_, selectedPeriodKey*/
        8454144 && I !== (I = /*$_*/
        f[23](`${/*selectedPeriodKey*/
        f[16]}`) + "") && ie(z, I), A[0] & /*isPeriodDropDownToggled*/
        2097152 && Ee(
          y,
          "active",
          /*isPeriodDropDownToggled*/
          f[21]
        ), A[0] & /*selectPeriod, selfExclusionPeriods, $_*/
        276828160
      ) {
        ne = De(
          /*selfExclusionPeriods*/
          f[12]
        );
        let W;
        for (W = 0; W < ne.length; W += 1) {
          const Se = Pe(f, ne, W);
          j[W] ? j[W].p(Se, A) : (j[W] = ze(Se), j[W].c(), j[W].m(Y, null));
        }
        for (; W < j.length; W += 1)
          j[W].d(1);
        j.length = ne.length;
      }
      A[0] & /*isPeriodDropDownToggled*/
      2097152 && Ee(
        Y,
        "active",
        /*isPeriodDropDownToggled*/
        f[21]
      ), A[0] & /*isPeriodDropDownToggled*/
      2097152 && Ee(
        k,
        "active",
        /*isPeriodDropDownToggled*/
        f[21]
      ), /*isUntilDate*/
      f[19] ? T ? T.p(f, A) : (T = je(f), T.c(), T.m(e, re)) : T && (T.d(1), T = null), ue === (ue = ce(f)) && K ? K.p(f, A) : (K.d(1), K = ue(f), K && (K.c(), K.m(Z, null))), A[0] & /*$_*/
      8388608 && X !== (X = /*$_*/
      f[23]("save") + "") && ie(ae, X), A[0] & /*isDateSelected*/
      1048576 && se !== (se = "SelfExclusionSave " + /*isDateSelected*/
      (f[20] ? "active" : "")) && m(q, "class", se), A[0] & /*isDateSelected*/
      1048576 && oe !== (oe = !/*isDateSelected*/
      f[20]) && (q.disabled = oe), /*showConfirmationModal*/
      f[26] && $.p(f, A);
    },
    d(f) {
      f && le(o), Q && Q.d(), io(j, f), T && T.d(), K.d(), $ && $.d(), xe = !1, lo(pe);
    }
  };
}
function ho(n) {
  let o, e, a, r, i, u, x, h, E, D, C, F, M, b, s, c, g, S, w, k, v;
  function N(R, y) {
    return (
      /*isMobile*/
      R[25] ? yo : Mo
    );
  }
  let z = N(n)(n);
  return {
    c() {
      o = d("div"), e = d("div"), z.c(), a = P(), r = d("div"), i = d("ui-skeleton"), u = P(), x = d("div"), h = P(), E = d("ui-skeleton"), D = P(), C = d("div"), F = P(), M = d("div"), b = d("ui-skeleton"), s = P(), c = d("div"), g = P(), S = d("ui-skeleton"), w = P(), k = d("div"), v = d("ui-skeleton"), p(i, "structure", "text"), p(
        i,
        "height",
        /*isMobile*/
        n[25] ? "15px" : "20px"
      ), p(i, "rows", "6"), p(i, "width", "100%"), ve(
        x,
        "height",
        /*isMobile*/
        n[25] ? "10px" : "20px"
      ), p(E, "structure", "text"), p(
        E,
        "height",
        /*isMobile*/
        n[25] ? "15px" : "20px"
      ), p(E, "width", "30%"), ve(C, "height", "10px"), m(r, "class", "SelfExclusionDescription"), p(b, "structure", "rectangle"), p(
        b,
        "width",
        /*isMobile*/
        n[25] ? "100%" : "50%"
      ), p(
        b,
        "height",
        /*isMobile*/
        n[25] ? "30px" : "44px"
      ), ve(
        c,
        "height",
        /*isMobile*/
        n[25] ? "15px" : "20px"
      ), p(S, "structure", "text"), p(
        S,
        "height",
        /*isMobile*/
        n[25] ? "15px" : "20px"
      ), p(S, "width", "30%"), m(M, "class", "SelfExclusionConfig"), p(v, "structure", "rectangle"), p(v, "width", "100%"), p(
        v,
        "height",
        /*isMobile*/
        n[25] ? "35px" : "50px"
      ), m(k, "class", "SelfExclusionActionButtons " + /*isMobile*/
      (n[25] ? "SelfExclusionActionButtonsMobile" : "")), m(e, "class", "SelfExclusionWrapper " + /*isMobile*/
      (n[25] ? "SelfExclusionWrapperMobile" : "")), m(o, "class", "SelfExclusionContainer");
    },
    m(R, y) {
      te(R, o, y), l(o, e), z.m(e, null), l(e, a), l(e, r), l(r, i), l(r, u), l(r, x), l(r, h), l(r, E), l(r, D), l(r, C), l(e, F), l(e, M), l(M, b), l(M, s), l(M, c), l(M, g), l(M, S), l(e, w), l(e, k), l(k, v);
    },
    p: Me,
    d(R) {
      R && le(o), z.d();
    }
  };
}
function Eo(n) {
  let o, e, a, r, i, u, x, h, E, D, C = (
    /*$_*/
    n[23]("titleSelfExclusion") + ""
  ), F, M, b;
  return {
    c() {
      o = d("div"), e = me("svg"), a = me("defs"), r = me("style"), i = ee(".aaa{fill:var(--emw--color-primary, #22B04E);}"), u = me("g"), x = me("g"), h = me("path"), E = P(), D = d("h2"), F = ee(C), m(h, "class", "aaa"), m(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), m(h, "transform", "translate(15 15) rotate(180)"), m(x, "transform", "translate(20 158)"), m(u, "transform", "translate(-20 -158)"), m(e, "xmlns", "http://www.w3.org/2000/svg"), m(e, "width", "15"), m(e, "height", "15"), m(e, "viewBox", "0 0 15 15"), m(D, "class", "PlayerSelfExclusionTitleMobile"), m(o, "class", "MenuReturnButton");
    },
    m(s, c) {
      te(s, o, c), l(o, e), l(e, a), l(a, r), l(r, i), l(e, u), l(u, x), l(x, h), l(o, E), l(o, D), l(D, F), M || (b = ge(
        o,
        "click",
        /*click_handler*/
        n[37]
      ), M = !0);
    },
    p(s, c) {
      c[0] & /*$_*/
      8388608 && C !== (C = /*$_*/
      s[23]("titleSelfExclusion") + "") && ie(F, C);
    },
    d(s) {
      s && le(o), M = !1, b();
    }
  };
}
function ze(n) {
  let o, e = (
    /*$_*/
    n[23](`${/*period*/
    n[58].key}`) + ""
  ), a, r, i;
  function u() {
    return (
      /*click_handler_2*/
      n[39](
        /*period*/
        n[58]
      )
    );
  }
  return {
    c() {
      o = d("div"), a = ee(e);
    },
    m(x, h) {
      te(x, o, h), l(o, a), r || (i = ge(o, "click", u), r = !0);
    },
    p(x, h) {
      n = x, h[0] & /*$_, selfExclusionPeriods*/
      8392704 && e !== (e = /*$_*/
      n[23](`${/*period*/
      n[58].key}`) + "") && ie(a, e);
    },
    d(x) {
      x && le(o), r = !1, i();
    }
  };
}
function je(n) {
  let o, e, a = (
    /*$_*/
    n[23]("duration") + ""
  ), r, i, u, x = (
    /*$_*/
    n[23]("dateInstructions") + ""
  ), h, E, D, C, F, M, b;
  return {
    c() {
      o = d("div"), e = d("label"), r = ee(a), i = P(), u = d("span"), h = ee(x), E = P(), D = d("strong"), C = ee(
        /*validDateformat*/
        n[24]
      ), F = d("strong"), M = P(), b = d("vaadin-date-picker"), m(e, "for", "SelfExclusionDate"), m(u, "class", "SelfExclusionDateInstructions"), p(
        b,
        "min",
        /*minDate*/
        n[13]
      ), p(
        b,
        "max",
        /*maxDate*/
        n[14]
      ), p(
        b,
        "value",
        /*selfExclusionExpiryDate*/
        n[15]
      ), m(o, "class", "SelfExclusionDateWrapper " + /*isMobile*/
      (n[25] ? "SelfExclusionDateWrapperMobile" : ""));
    },
    m(s, c) {
      te(s, o, c), l(o, e), l(e, r), l(o, i), l(o, u), l(u, h), l(u, E), l(u, D), l(D, C), l(D, F), l(o, M), l(o, b), n[40](b);
    },
    p(s, c) {
      c[0] & /*$_*/
      8388608 && a !== (a = /*$_*/
      s[23]("duration") + "") && ie(r, a), c[0] & /*$_*/
      8388608 && x !== (x = /*$_*/
      s[23]("dateInstructions") + "") && ie(h, x), c[0] & /*minDate*/
      8192 && p(
        b,
        "min",
        /*minDate*/
        s[13]
      ), c[0] & /*maxDate*/
      16384 && p(
        b,
        "max",
        /*maxDate*/
        s[14]
      ), c[0] & /*selfExclusionExpiryDate*/
      32768 && p(
        b,
        "value",
        /*selfExclusionExpiryDate*/
        s[15]
      );
    },
    d(s) {
      s && le(o), n[40](null);
    }
  };
}
function So(n) {
  let o, e, a = (
    /*$_*/
    n[23]("temporarySelfExclusion", {
      values: {
        date: de(
          /*selfExclusionExpiryDate*/
          n[15]
        ).format(
          /*validDateformat*/
          n[24]
        )
      }
    }) + ""
  ), r;
  return {
    c() {
      o = d("p"), e = d("strong"), r = ee(a), m(o, "class", "SelfExclusionDescriptionText");
    },
    m(i, u) {
      te(i, o, u), l(o, e), l(e, r);
    },
    p(i, u) {
      u[0] & /*$_, selfExclusionExpiryDate*/
      8421376 && a !== (a = /*$_*/
      i[23]("temporarySelfExclusion", {
        values: {
          date: de(
            /*selfExclusionExpiryDate*/
            i[15]
          ).format(
            /*validDateformat*/
            i[24]
          )
        }
      }) + "") && ie(r, a);
    },
    d(i) {
      i && le(o);
    }
  };
}
function go(n) {
  let o, e, a = (
    /*$_*/
    n[23]("noPeriodSelected") + ""
  ), r;
  return {
    c() {
      o = d("p"), e = d("strong"), r = ee(a), m(o, "class", "SelfExclusionDescriptionText");
    },
    m(i, u) {
      te(i, o, u), l(o, e), l(e, r);
    },
    p(i, u) {
      u[0] & /*$_*/
      8388608 && a !== (a = /*$_*/
      i[23]("noPeriodSelected") + "") && ie(r, a);
    },
    d(i) {
      i && le(o);
    }
  };
}
function bo(n) {
  let o, e, a = (
    /*$_*/
    n[23]("permanentSelfExclusion") + ""
  ), r;
  return {
    c() {
      o = d("p"), e = d("strong"), r = ee(a), m(o, "class", "SelfExclusionDescriptionText");
    },
    m(i, u) {
      te(i, o, u), l(o, e), l(e, r);
    },
    p(i, u) {
      u[0] & /*$_*/
      8388608 && a !== (a = /*$_*/
      i[23]("permanentSelfExclusion") + "") && ie(r, a);
    },
    d(i) {
      i && le(o);
    }
  };
}
function vo(n) {
  let o, e, a, r;
  return {
    c() {
      o = d("player-account-modal"), e = d("player-account-general-confirmation-modal"), p(e, "modaltitle", a = /*$_*/
      n[23]("confirmationModalTitle")), p(
        e,
        "modaltext",
        /*confirmationModalText*/
        n[17]
      ), p(e, "hascancelbutton", !1), p(e, "modalconfirmevent", "setSelfExclusion"), p(e, "modalconfirmdata", r = {
        userid: (
          /*userid*/
          n[1]
        ),
        selectedPeriodKey: (
          /*selectedPeriodKey*/
          n[16]
        ),
        session: (
          /*session*/
          n[0]
        )
      }), p(
        e,
        "mbsource",
        /*mbsource*/
        n[8]
      ), p(
        e,
        "lang",
        /*lang*/
        n[2]
      ), p(
        o,
        "clientstyling",
        /*clientstyling*/
        n[6]
      ), p(
        o,
        "clientstylingurl",
        /*clientstylingurl*/
        n[7]
      ), p(
        o,
        "mbsource",
        /*mbsource*/
        n[8]
      ), p(o, "showmodaleventname", "ShowSelfExclusionConfirmationModal");
    },
    m(i, u) {
      te(i, o, u), l(o, e), n[42](e);
    },
    p(i, u) {
      u[0] & /*$_*/
      8388608 && a !== (a = /*$_*/
      i[23]("confirmationModalTitle")) && p(e, "modaltitle", a), u[0] & /*confirmationModalText*/
      131072 && p(
        e,
        "modaltext",
        /*confirmationModalText*/
        i[17]
      ), u[0] & /*userid, selectedPeriodKey, session*/
      65539 && r !== (r = {
        userid: (
          /*userid*/
          i[1]
        ),
        selectedPeriodKey: (
          /*selectedPeriodKey*/
          i[16]
        ),
        session: (
          /*session*/
          i[0]
        )
      }) && p(e, "modalconfirmdata", r), u[0] & /*mbsource*/
      256 && p(
        e,
        "mbsource",
        /*mbsource*/
        i[8]
      ), u[0] & /*lang*/
      4 && p(
        e,
        "lang",
        /*lang*/
        i[2]
      ), u[0] & /*clientstyling*/
      64 && p(
        o,
        "clientstyling",
        /*clientstyling*/
        i[6]
      ), u[0] & /*clientstylingurl*/
      128 && p(
        o,
        "clientstylingurl",
        /*clientstylingurl*/
        i[7]
      ), u[0] & /*mbsource*/
      256 && p(
        o,
        "mbsource",
        /*mbsource*/
        i[8]
      );
    },
    d(i) {
      i && le(o), n[42](null);
    }
  };
}
function Mo(n) {
  let o;
  return {
    c() {
      o = d("ui-skeleton"), p(o, "structure", "title"), p(o, "width", "100px"), p(o, "margin-top", "20px"), p(o, "margin-bottom", "20px");
    },
    m(e, a) {
      te(e, o, a);
    },
    d(e) {
      e && le(o);
    }
  };
}
function yo(n) {
  let o;
  return {
    c() {
      o = d("div"), o.innerHTML = '<ui-skeleton structure="title" width="20px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton> <ui-skeleton structure="title" width="100px" height="20px" margin-top="20px" margin-bottom="20px"></ui-skeleton>', m(o, "class", "MenuReturnButton");
    },
    m(e, a) {
      te(e, o, a);
    },
    d(e) {
      e && le(o);
    }
  };
}
function wo(n) {
  let o;
  function e(i, u) {
    return (
      /*skeletonLoading*/
      i[22] ? ho : xo
    );
  }
  let a = e(n), r = a(n);
  return {
    c() {
      o = d("div"), r.c();
    },
    m(i, u) {
      te(i, o, u), r.m(o, null), n[43](o);
    },
    p(i, u) {
      a === (a = e(i)) && r ? r.p(i, u) : (r.d(1), r = a(i), r && (r.c(), r.m(o, null)));
    },
    i: Me,
    o: Me,
    d(i) {
      i && le(o), r.d(), n[43](null);
    }
  };
}
function ko(n, o, e) {
  let a;
  eo(n, uo, (t) => e(23, a = t)), de.extend(fo);
  let { endpoint: r = "", session: i = "", userid: u = "", lang: x = "en", gmversion: h = "", operator: E = "Everymatrix", supportemail: D = "", baseurl: C = "", clientstyling: F = "", clientstylingurl: M = "", mbsource: b, translationurl: s = "", hasconfirmationmodal: c = "false", dateformat: g = "DD/MM/YYYY", sendnotificationemail: S = "false" } = o, w, k, v, N = [], I = {}, z = g.toUpperCase(), R = window.navigator.userAgent, y, H, _ = "", O = "", Y = "selectAPeriod", V = "", re = "", Z = oo(R) !== "PC", J = !1, L = !1, q = !1, X = !1, ae = c === "true", se = !0, oe;
  const he = () => {
    fetch(s).then((B) => B.json()).then((B) => {
      Object.keys(B).forEach((U) => {
        Te(U, B[U]);
      });
    }).catch((B) => {
      console.log(B);
    });
  };
  Object.keys(Ae).forEach((t) => {
    Te(t, Ae[t]);
  });
  const xe = () => {
    let t = new URL(`${r}/v1/player/selfExclusionSettings`);
    fetch(t, {
      method: "GET",
      headers: {
        "Content-Type": "application/json",
        Accept: "application/json"
      }
    }).then((U) => Q(U)).then((U) => {
      e(12, N = U.periods);
    }).catch((U) => {
      console.log(U), window.postMessage(
        {
          type: "WidgetNotification",
          data: { type: "error", message: U.message }
        },
        window.location.href
      );
    }).finally(() => {
      e(22, se = !1);
    });
  }, pe = (t) => {
    const { userid: B, selectedPeriodKey: U, session: fe } = t.detail;
    e(1, u = B), e(16, Y = U), e(0, i = fe), ue();
  }, Q = (t) => _e(this, null, function* () {
    var B;
    if (!t.ok) {
      I = yield t.json(), re = (B = I.thirdPartyResponse) == null ? void 0 : B.errorCode;
      const U = a(re || "generalError");
      throw new Error(U);
    }
    return t.json();
  }), ne = () => {
    e(21, X = !X);
  }, j = (t) => {
    switch (O = t.text, e(16, Y = t.key), e(20, q = !0), e(21, X = !1), e(18, J = !1), e(19, L = !1), O) {
      case "Until":
        e(19, L = !0), e(13, y = de().add(6, "months").format("YYYY-MM-DD")), e(14, H = de().add(5, "years").format("YYYY-MM-DD")), e(15, _ = y);
        break;
      case "Permanent":
        e(18, J = !J);
        break;
      default:
        const [B, U] = O.split(" "), fe = U.includes("Day") ? "days" : U.includes("Month") ? "months" : U.includes("Year") ? "years" : null;
        if (!fe)
          return;
        e(15, _ = de().add(Number(B), fe).format("YYYY-MM-DD"));
        break;
    }
    ae && T();
  }, T = () => {
    if (!ae || !O || !_) {
      e(17, V = "");
      return;
    }
    e(17, V = L ? a("confirmationModalTextUntilSelfExclusion", {
      values: {
        date: de(_).format(z)
      }
    }) : a("confirmationModalTextPeriodSelfExclusion", { values: { period: a(O) } }));
  }, ce = (t) => {
    t.preventDefault(), ae ? (T(), window.postMessage(
      {
        type: "ShowSelfExclusionConfirmationModal"
      },
      window.location.href
    )) : ue();
  }, ue = () => {
    e(22, se = !0);
    const t = new URL(`${r}/v2/player/${u}/limits${h === "gm16" ? "/session" : ""}`), U = {
      method: "PUT",
      headers: {
        "X-SessionID": i,
        "Content-Type": "application/json",
        Accept: "application/json"
      },
      body: JSON.stringify({
        selfExclusion: {
          period: Y,
          expiryDate: _,
          selfExclusionReason: "UserRequest",
          sendNotificationEmail: S === "true"
        }
      })
    };
    fetch(t.href, U).then((fe) => Q(fe)).then((fe) => {
      window.postMessage(
        {
          type: "WidgetNotification",
          data: {
            type: "success",
            message: a("selfExclusionSuccess")
          }
        },
        window.location.href
      ), window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
    }).catch((fe) => {
      console.error(a("errorSelfExclusionCall"), fe), window.postMessage(
        {
          type: "WidgetNotification",
          data: {
            type: "error",
            message: a("errorSelfExclusionCall")
          }
        },
        window.location.href
      );
    }).finally(() => {
      e(22, se = !1);
    });
  }, K = () => {
    window.postMessage(
      {
        type: "PlayerAccountMenuActive",
        isMobile: Z
      },
      window.location.href
    );
  }, $ = (t) => {
    e(15, _ = t.target.value);
  }, f = () => {
    v.addEventListener("change", $, !1), e(
      10,
      v.i18n = Fe(ke({}, v.i18n), {
        formatDate: (t) => de(new Date(t.year, t.month, t.day)).format(z),
        parseDate: (t) => {
          const B = de(t, z);
          return {
            year: B.year(),
            month: B.month(),
            day: B.date()
          };
        }
      }),
      v
    );
  };
  no(() => () => {
    v.removeEventListener("change", $), oe.removeEventListener("setSelfExclusion", pe);
  });
  const A = () => {
    mo(x);
  }, W = () => K(), Se = () => ne(), Le = (t) => j(t);
  function We(t) {
    be[t ? "unshift" : "push"](() => {
      v = t, e(10, v);
    });
  }
  const Be = (t) => ce(t);
  function Ue(t) {
    be[t ? "unshift" : "push"](() => {
      oe = t, e(11, oe);
    });
  }
  function Ie(t) {
    be[t ? "unshift" : "push"](() => {
      w = t, e(9, w);
    });
  }
  return n.$$set = (t) => {
    "endpoint" in t && e(31, r = t.endpoint), "session" in t && e(0, i = t.session), "userid" in t && e(1, u = t.userid), "lang" in t && e(2, x = t.lang), "gmversion" in t && e(32, h = t.gmversion), "operator" in t && e(3, E = t.operator), "supportemail" in t && e(4, D = t.supportemail), "baseurl" in t && e(5, C = t.baseurl), "clientstyling" in t && e(6, F = t.clientstyling), "clientstylingurl" in t && e(7, M = t.clientstylingurl), "mbsource" in t && e(8, b = t.mbsource), "translationurl" in t && e(33, s = t.translationurl), "hasconfirmationmodal" in t && e(34, c = t.hasconfirmationmodal), "dateformat" in t && e(35, g = t.dateformat), "sendnotificationemail" in t && e(36, S = t.sendnotificationemail);
  }, n.$$.update = () => {
    n.$$.dirty[0] & /*lang*/
    4 && x && A(), n.$$.dirty[0] & /*session, userid*/
    3 | n.$$.dirty[1] & /*endpoint, gmversion*/
    3 && r && i && u && h && xe(), n.$$.dirty[0] & /*calendar*/
    1024 && v && f(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
    576 && F && w && to(w, F), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
    640 && M && w && ro(w, M), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
    768 && b && w && ao(w, `${b}.Style`, k), n.$$.dirty[1] & /*translationurl*/
    4 && s && he(), n.$$.dirty[0] & /*modalEl*/
    2048 && oe && oe.addEventListener("setSelfExclusion", pe);
  }, ae && T(), [
    i,
    u,
    x,
    E,
    D,
    C,
    F,
    M,
    b,
    w,
    v,
    oe,
    N,
    y,
    H,
    _,
    Y,
    V,
    J,
    L,
    q,
    X,
    se,
    a,
    z,
    Z,
    ae,
    ne,
    j,
    ce,
    K,
    r,
    h,
    s,
    c,
    g,
    S,
    W,
    Se,
    Le,
    We,
    Be,
    Ue,
    Ie
  ];
}
class Ye extends Ve {
  constructor(o) {
    super(), Xe(
      this,
      o,
      ko,
      wo,
      Qe,
      {
        endpoint: 31,
        session: 0,
        userid: 1,
        lang: 2,
        gmversion: 32,
        operator: 3,
        supportemail: 4,
        baseurl: 5,
        clientstyling: 6,
        clientstylingurl: 7,
        mbsource: 8,
        translationurl: 33,
        hasconfirmationmodal: 34,
        dateformat: 35,
        sendnotificationemail: 36
      },
      po,
      [-1, -1]
    );
  }
  get endpoint() {
    return this.$$.ctx[31];
  }
  set endpoint(o) {
    this.$$set({ endpoint: o }), G();
  }
  get session() {
    return this.$$.ctx[0];
  }
  set session(o) {
    this.$$set({ session: o }), G();
  }
  get userid() {
    return this.$$.ctx[1];
  }
  set userid(o) {
    this.$$set({ userid: o }), G();
  }
  get lang() {
    return this.$$.ctx[2];
  }
  set lang(o) {
    this.$$set({ lang: o }), G();
  }
  get gmversion() {
    return this.$$.ctx[32];
  }
  set gmversion(o) {
    this.$$set({ gmversion: o }), G();
  }
  get operator() {
    return this.$$.ctx[3];
  }
  set operator(o) {
    this.$$set({ operator: o }), G();
  }
  get supportemail() {
    return this.$$.ctx[4];
  }
  set supportemail(o) {
    this.$$set({ supportemail: o }), G();
  }
  get baseurl() {
    return this.$$.ctx[5];
  }
  set baseurl(o) {
    this.$$set({ baseurl: o }), G();
  }
  get clientstyling() {
    return this.$$.ctx[6];
  }
  set clientstyling(o) {
    this.$$set({ clientstyling: o }), G();
  }
  get clientstylingurl() {
    return this.$$.ctx[7];
  }
  set clientstylingurl(o) {
    this.$$set({ clientstylingurl: o }), G();
  }
  get mbsource() {
    return this.$$.ctx[8];
  }
  set mbsource(o) {
    this.$$set({ mbsource: o }), G();
  }
  get translationurl() {
    return this.$$.ctx[33];
  }
  set translationurl(o) {
    this.$$set({ translationurl: o }), G();
  }
  get hasconfirmationmodal() {
    return this.$$.ctx[34];
  }
  set hasconfirmationmodal(o) {
    this.$$set({ hasconfirmationmodal: o }), G();
  }
  get dateformat() {
    return this.$$.ctx[35];
  }
  set dateformat(o) {
    this.$$set({ dateformat: o }), G();
  }
  get sendnotificationemail() {
    return this.$$.ctx[36];
  }
  set sendnotificationemail(o) {
    this.$$set({ sendnotificationemail: o }), G();
  }
}
so(Ye, { endpoint: {}, session: {}, userid: {}, lang: {}, gmversion: {}, operator: {}, supportemail: {}, baseurl: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, hasconfirmationmodal: {}, dateformat: {}, sendnotificationemail: {} }, [], [], !0);
const Ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
  __proto__: null,
  default: Ye
}, Symbol.toStringTag, { value: "Module" }));
export {
  fo as C,
  Ao as P
};
