import { a as ze, $ as Te, S as Le, i as Ne, s as Re, f as V, b as je, n as ne, d as L, r as oe, c as J, V as re, h as N, j as c, l as U, k as M, m as z, t as T, e as B, p as De, q as Oe, u as qe, v as K, w as Ge, H as se, C as ee, D as Be, g as s, x as Ve, y as Ue, z as He, A as Xe, B as Ye } from "./GeneralLogout-CCZ-t51N.js";
function le(n, e) {
  ze(n, e);
}
function Je(n) {
  Te.set(n);
}
const ue = {
  en: {
    titleBonuses: "Active Bonuses",
    bonusCode: "Do you have a bonus code?",
    getBonus: "Get Bonus",
    invalidBonusCode: "The bonus code provided is invalid.",
    noActiveBonuses: "You have no active bonuses at the moment.",
    forfeitBonus: "Are you sure want to forfeit bonus?",
    forfeitBonusConfirm: "Confirm",
    forfeitBonusCancel: "Cancel",
    bonusClaimSuccessMessage: "Bonus claimed!",
    bonusClaimErrorMessage: "Invalid bonus"
  },
  "zh-hk": {
    titleBonuses: "活躍獎金",
    bonusCode: "你有獎金代碼嗎？",
    getBonus: "獲得獎金",
    invalidBonusCode: "提供的紅利代碼無效。",
    noActiveBonuses: "您目前沒有有效的獎金。",
    forfeitBonus: "您確定要放棄獎金及其獎金嗎？",
    forfeitBonusConfirm: "確認",
    forfeitBonusCancel: "取消",
    bonusClaimSuccessMessage: "獎金要求！",
    bonusClaimErrorMessage: "無效獎金"
  },
  fr: {
    titleBonuses: "Bonus actifs",
    bonusCode: "Avez-vous un code bonus?",
    getBonus: "Obtenir un bonus",
    invalidBonusCode: "Le code bonus fourni n'est pas valide.",
    noActiveBonuses: "Vous n'avez pas de bonus actifs pour le moment.",
    forfeitBonus: "Etes-vous sûr de vouloir supprimer le bonus et ses gains?",
    forfeitBonusConfirm: "Confirmer",
    forfeitBonusCancel: "Annuler",
    bonusClaimSuccessMessage: "Bonus réclamé!",
    bonusClaimErrorMessage: "Bonus invalide"
  },
  ro: {
    titleBonuses: "Bonusuri active",
    bonusCode: "Ai un cod de bonus?",
    getBonus: "Revendică",
    invalidBonusCode: "Codul de bonus introdus este invalid.",
    noActiveBonuses: "Nu ai niciun bonus activ în acest moment.",
    forfeitBonus: "Ești sigur că vrei să anulezi acest bonus și câștigurile provenite din acest bonus?",
    forfeitBonusConfirm: "Confirmă",
    forfeitBonusCancel: "Anulează",
    bonusClaimSuccessMessage: "Bonus revendicat!",
    bonusClaimErrorMessage: "Bonus invalid"
  },
  es: {
    titleBonuses: "Bonos Activos",
    bonusCode: "Tienes un código de Bono?",
    getBonus: "Obtener Bono",
    invalidBonusCode: "El código del Bono no es válido.",
    noActiveBonuses: "Usted no tiene Bonos activos en este momento.",
    forfeitBonus: "Estas seguro que quieres perder el bono?",
    forfeitBonusConfirm: "Confirmar",
    forfeitBonusCancel: "Cancelar",
    bonusClaimSuccessMessage: "Bono adjudicado!",
    bonusClaimErrorMessage: "Bono invalido"
  },
  pt: {
    titleBonuses: "Bônus Ativos",
    bonusCode: "Você tem um código de bônus?",
    getBonus: "Obter bônus",
    invalidBonusCode: "O código de bônus fornecido é inválido.",
    noActiveBonuses: "Você não tem bônus ativos no momento.",
    forfeitBonus: "Tem certeza de que deseja perder o bônus e seus ganhos?",
    forfeitBonusConfirm: "Confirmar",
    forfeitBonusCancel: "Cancelar",
    bonusClaimSuccessMessage: "Bônus reivindicado!",
    bonusClaimErrorMessage: "Bônus inválido"
  },
  hr: {
    titleBonuses: "Aktivni bonusi",
    bonusCode: "Imate li bonus kod?",
    getBonus: "Preuzmi bonus",
    invalidBonusCode: "Navedeni bonus kod je nevažeći.",
    noActiveBonuses: "Trenutno nemate aktivnih bonusa.",
    forfeitBonus: "Jeste li sigurni da želite otkazati bonus?",
    forfeitBonusConfirm: "Potvrdi",
    forfeitBonusCancel: "Otkaži",
    bonusClaimSuccessMessage: "Preuzet bonus!",
    bonusClaimErrorMessage: "Nevažeći bonus"
  },
  "pt-br": {
    titleBonuses: "Títulos ativos",
    bonusCode: "Você tem um código de bônus?",
    getBonus: "Reivindicar bônus",
    invalidBonusCode: "O código de bônus emitido é inválido",
    noActiveBonuses: "Não possui títulos ativos no momento",
    forfeitBonus: "Tem certeza de que deseja recusar o bônus?",
    forfeitBonusConfirm: "confirme",
    forfeitBonusCancel: "Cancelar",
    bonusClaimSuccessMessage: "Bônus ativado",
    bonusClaimErrorMessage: "Voucher inválido"
  },
  "es-mx": {
    titleBonuses: "Bonos activos",
    bonusCode: "¿Tiene código de bonos?",
    getBonus: "Reclamar bono",
    invalidBonusCode: "El código de bono emitido es inválido",
    noActiveBonuses: "No tiene bonos activos al momento",
    forfeitBonus: "¿ Está seguro que quiere declinar el bono?",
    forfeitBonusConfirm: "Confirmar",
    forfeitBonusCancel: "Cancelar",
    bonusClaimSuccessMessage: "Bono activado",
    bonusClaimErrorMessage: "Bono inválido"
  },
  tr: {
    titleBonuses: "Aktif Bonuslar",
    bonusCode: "Bonus kodunuz var mı?",
    getBonus: "Bonusu Al",
    invalidBonusCode: "Sağlanan bonus kodu geçersiz.",
    noActiveBonuses: "Şu anda aktif bonusunuz yok.",
    forfeitBonus: "Bonusu kaybetmek istediğinizden emin misiniz?",
    forfeitBonusConfirm: "Onaylamak",
    forfeitBonusCancel: "İptal etmek",
    bonusClaimSuccessMessage: "Bonus talep edildi!",
    bonusClaimErrorMessage: "Geçersiz bonus"
  },
  "en-us": {
    titleBonuses: "Active Bonuses",
    bonusCode: "Do you have a bonus code?",
    getBonus: "Get Bonus",
    invalidBonusCode: "The bonus code provided is invalid.",
    noActiveBonuses: "You have no active bonuses at the moment.",
    forfeitBonus: "Are you sure want to forfeit bonus?",
    forfeitBonusConfirm: "Confirm",
    forfeitBonusCancel: "Cancel",
    bonusClaimSuccessMessage: "Bonus claimed!",
    bonusClaimErrorMessage: "Invalid bonus"
  }
};
if (typeof window < "u") {
  let n = function(e) {
    return function(...o) {
      try {
        return e.apply(this, o);
      } catch (t) {
        if (t instanceof DOMException && t.message.includes("has already been used with this registry") || t.message.includes("Cannot define multiple custom elements with the same tag name"))
          return !1;
        throw t;
      }
    };
  };
  customElements.define = n(customElements.define), import("./PlayerBonusCard-BrPXJISl.js").then(({ default: e }) => {
    !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
  });
}
function Ze(n) {
  je(n, "svelte-44vwrd", '.ActiveBonusesWrapper{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A));padding:50px;max-width:850px}.ActiveBonusesWrapper.ActiveBonusesWrapperMobile{padding:20px 15px;max-width:unset}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:30px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesTitle{font-size:26px;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:400}.ActiveBonusesTitleMobile{font-size:16px}.ActiveBonusesTitleNone{display:none}.BonusCodeContainer{color:var(--emw--color-gray-300, #58586B);display:flex;flex-direction:column;padding-bottom:30px;position:relative;width:70%}.BonusCodeContainer label{font-size:16px;font-weight:300;padding-bottom:5px}.BonusCodeContainer.BonusCodeContainerMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper{display:flex;gap:10px}.BonusCodeContainer .BonusCodeWrapper.BonusCodeWrapperMobile{flex-direction:column}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput{width:70%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput:focus{outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .BonusCodeWrapper .BonusCodeInput.BonusCodeInputMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode[disabled]{opacity:0.3;cursor:not-allowed}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:hover{filter:brightness(0.9)}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode.SubmitBonusCodeMobile{width:100%}.BonusCodeContainer .BonusCodeWrapper .SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer.InvalidField input{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-primary-50, var(--emw--color-pink-50, #F1BED9));color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.BonusCodeContainer .InvalidBonusCodeMessage{color:var(--emw--color-error, var(--emw--color-red, #FD2839))}.BonusCodeWrapper{display:flex;gap:20px}.SubmitBonusCode{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);cursor:pointer;border-radius:5px;width:30%;height:44px;font-size:15px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.SubmitBonusCode[disabled]{opacity:0.3}.SubmitBonusCode:hover{filter:brightness(0.9)}.SubmitBonusCode:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.ActiveBonusesGrid{display:grid;grid-template-columns:1fr 1fr;gap:50px}.ActiveBonusesGrid.ActiveBonusesGridMobile{grid-template-columns:1fr}.ModalWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300}.ModalWrapper .ModalContent{background-color:var(--emw--color-white, #FFFFFF);position:relative;padding:30px;border-top:5px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px}.ModalWrapper .ModalBody{background-color:var(--emw--color-gray-50, #F9F8F8);padding:30px;text-align:center}.ModalWrapper .ModalBody .ModalText{font-size:22px;margin-bottom:40px}.ModalWrapper .ModalBody .ModalButtons{display:flex;gap:36px}.ModalWrapper .ModalBody .ModalCancel,.ModalWrapper .ModalBody .ModalConfirm{background:transparent;border:1px solid var(--emw--color-gray-300, #58586B);color:var(--emw--color-gray-300, #58586B);cursor:pointer;border-radius:5px;width:200px;height:50px;font-size:16px;text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.ModalWrapper .ModalBody .ModalConfirm{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF))}.ModalWrapper.ModalWrapperMobile .ModalContent{padding:20px;width:80vw;border-top:none}.ModalWrapper.ModalWrapperMobile .ModalBody{padding:0;background:transparent}.ModalWrapper.ModalWrapperMobile .ModalText{font-size:16px}.ModalWrapper.ModalWrapperMobile .ModalButtons{gap:10px}.ModalWrapper.ModalWrapperMobile .ModalCancel,.ModalWrapper.ModalWrapperMobile .ModalConfirm{height:40px;width:50%;font-size:14px}.BonusesPaginationWrapper{margin:40px 0;display:block;line-break:anywhere;line-height:2em}.BonusesPaginationWrapper.BonusesPaginationWrapperMobile{text-align:center}.BonusesPaginationWrapper .BonusesFirst,.BonusesPaginationWrapper .BonusesPrev,.BonusesPaginationWrapper .BonusesNext,.BonusesPaginationWrapper .BonusesLast{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-size:16px;cursor:pointer;padding:5px 10px;font-weight:700}.BonusesPaginationWrapper .BonusesFirst.Inactive,.BonusesPaginationWrapper .BonusesPrev.Inactive,.BonusesPaginationWrapper .BonusesNext.Inactive,.BonusesPaginationWrapper .BonusesLast.Inactive{color:var(--emw--color-gray-100, #E6E6E6);cursor:default}.BonusesPaginationWrapper .BonusesPage{margin:0 5px;color:var(--emw--color-gray-300, #58586B);font-size:16px;cursor:pointer;padding:5px 10px;white-space:nowrap}.BonusesPaginationWrapper .BonusesPage.BonusPageActive{background-color:var(--emw--color-white, #FFFFFF);font-weight:700}.ModalLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.ModalLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
}
function de(n, e, o) {
  const t = n.slice();
  return t[51] = e[o], t[53] = o, t;
}
function ce(n, e, o) {
  const t = n.slice();
  return t[54] = e[o], t;
}
function Ke(n) {
  let e, o, t, i, r, a, m, l, b, h, _ = (
    /*$_*/
    n[20]("titleBonuses") + ""
  ), A, v, y;
  return {
    c() {
      e = M("div"), o = K("svg"), t = K("defs"), i = K("style"), r = T(`.aaa {
                fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
              }
            `), a = K("g"), m = K("g"), l = K("path"), b = z(), h = M("h2"), A = T(_), B(l, "class", "aaa"), B(l, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), B(l, "transform", "translate(15 15) rotate(180)"), B(m, "transform", "translate(20 158)"), B(a, "transform", "translate(-20 -158)"), B(o, "xmlns", "http://www.w3.org/2000/svg"), B(o, "width", "15"), B(o, "height", "15"), B(o, "viewBox", "0 0 15 15"), B(h, "class", "ActiveBonusesTitleMobile"), B(e, "class", "MenuReturnButton");
    },
    m(C, d) {
      N(C, e, d), c(e, o), c(o, t), c(t, i), c(i, r), c(o, a), c(a, m), c(m, l), c(e, b), c(e, h), c(h, A), v || (y = U(
        e,
        "click",
        /*click_handler*/
        n[33]
      ), v = !0);
    },
    p(C, d) {
      d[0] & /*$_*/
      1048576 && _ !== (_ = /*$_*/
      C[20]("titleBonuses") + "") && J(A, _);
    },
    d(C) {
      C && L(e), v = !1, y();
    }
  };
}
function pe(n) {
  let e, o = (
    /*$_*/
    n[20]("invalidBonusCode") + ""
  ), t;
  return {
    c() {
      e = M("p"), t = T(o), B(e, "class", "InvalidBonusCodeMessage");
    },
    m(i, r) {
      N(i, e, r), c(e, t);
    },
    p(i, r) {
      r[0] & /*$_*/
      1048576 && o !== (o = /*$_*/
      i[20]("invalidBonusCode") + "") && J(t, o);
    },
    d(i) {
      i && L(e);
    }
  };
}
function Qe(n) {
  let e, o, t;
  function i(l, b) {
    return (
      /*activeBonusesList*/
      l[18].length === 0 ? en : $e
    );
  }
  let r = i(n), a = r(n), m = (
    /*activeBonusesList*/
    n[18].length !== 0 && fe(n)
  );
  return {
    c() {
      e = M("div"), a.c(), o = z(), m && m.c(), t = se(), B(e, "class", "ActiveBonusesGrid " + /*isMobile*/
      (n[21] ? "ActiveBonusesGridMobile" : ""));
    },
    m(l, b) {
      N(l, e, b), a.m(e, null), N(l, o, b), m && m.m(l, b), N(l, t, b);
    },
    p(l, b) {
      r === (r = i(l)) && a ? a.p(l, b) : (a.d(1), a = r(l), a && (a.c(), a.m(e, null))), /*activeBonusesList*/
      l[18].length !== 0 ? m ? m.p(l, b) : (m = fe(l), m.c(), m.m(t.parentNode, t)) : m && (m.d(1), m = null);
    },
    d(l) {
      l && (L(e), L(o), L(t)), a.d(), m && m.d(l);
    }
  };
}
function xe(n) {
  let e;
  return {
    c() {
      e = M("div"), B(e, "class", "ModalLoader"), B(e, "part", "ModalLoader");
    },
    m(o, t) {
      N(o, e, t);
    },
    p: ne,
    d(o) {
      o && L(e);
    }
  };
}
function $e(n) {
  let e, o = ee(
    /*activeBonusesList*/
    n[18]
  ), t = [];
  for (let i = 0; i < o.length; i += 1)
    t[i] = me(ce(n, o, i));
  return {
    c() {
      for (let i = 0; i < t.length; i += 1)
        t[i].c();
      e = se();
    },
    m(i, r) {
      for (let a = 0; a < t.length; a += 1)
        t[a] && t[a].m(i, r);
      N(i, e, r);
    },
    p(i, r) {
      if (r[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale, ishiddenwageringbonus*/
      262399) {
        o = ee(
          /*activeBonusesList*/
          i[18]
        );
        let a;
        for (a = 0; a < o.length; a += 1) {
          const m = ce(i, o, a);
          t[a] ? t[a].p(m, r) : (t[a] = me(m), t[a].c(), t[a].m(e.parentNode, e));
        }
        for (; a < t.length; a += 1)
          t[a].d(1);
        t.length = o.length;
      }
    },
    d(i) {
      i && L(e), Be(t, i);
    }
  };
}
function en(n) {
  let e, o = (
    /*$_*/
    n[20]("noActiveBonuses") + ""
  ), t;
  return {
    c() {
      e = M("p"), t = T(o);
    },
    m(i, r) {
      N(i, e, r), c(e, t);
    },
    p(i, r) {
      r[0] & /*$_*/
      1048576 && o !== (o = /*$_*/
      i[20]("noActiveBonuses") + "") && J(t, o);
    },
    d(i) {
      i && L(e);
    }
  };
}
function nn(n) {
  let e, o, t, i, r, a, m, l, b, h, _, A, v, y, C, d, p;
  return {
    c() {
      e = M("player-bonus-card"), s(e, "termsandconditionsdescription", o = /*activeBonus*/
      n[54].termsandconditionsdescription), s(e, "termsandconditionsurl", t = /*activeBonus*/
      n[54].termsandconditionsurl), s(e, "termsandconditionsasset", i = /*activeBonus*/
      n[54].termsandconditionsasset), s(e, "endpoint", r = /*activeBonus*/
      n[54].endpoint), s(e, "playerid", a = /*activeBonus*/
      n[54].playerid), s(e, "session", m = /*activeBonus*/
      n[54].session), s(e, "bonuswalletid", l = /*activeBonus*/
      n[54].walletId), s(e, "bonusdate", b = /*activeBonus*/
      n[54].granted), s(e, "bonusexpirationdate", h = /*activeBonus*/
      n[54].expiryTime), s(e, "bonusstatus", _ = /*activeBonus*/
      n[54].status), s(e, "bonusname", A = /*activeBonus*/
      n[54].name), s(e, "bonustype", v = /*activeBonus*/
      n[54].type), s(e, "bonusamount", y = /*activeBonus*/
      n[54].extension.grantedPlayerCurrencyAmount), s(e, "bonuswageringamount", C = `${/*activeBonus*/
      n[54].fulfilledWR} / ${/*activeBonus*/
      n[54].originalWageringRequirement}`), s(e, "bonusremainingamount", d = /*activeBonus*/
      n[54].currentAmount), s(e, "bonuscurrency", p = /*activeBonus*/
      n[54].currency), s(
        e,
        "lang",
        /*lang*/
        n[0]
      ), s(
        e,
        "dateformat",
        /*dateformat*/
        n[6]
      ), s(
        e,
        "clientstyling",
        /*clientstyling*/
        n[1]
      ), s(
        e,
        "clientstylingurl",
        /*clientstylingurl*/
        n[2]
      ), s(
        e,
        "mbsource",
        /*mbsource*/
        n[3]
      ), s(
        e,
        "translationurl",
        /*translationurl*/
        n[4]
      ), s(
        e,
        "currencylocale",
        /*currencylocale*/
        n[5]
      ), s(
        e,
        "ishiddenwageringbonus",
        /*ishiddenwageringbonus*/
        n[7]
      );
    },
    m(f, g) {
      N(f, e, g);
    },
    p(f, g) {
      g[0] & /*activeBonusesList*/
      262144 && o !== (o = /*activeBonus*/
      f[54].termsandconditionsdescription) && s(e, "termsandconditionsdescription", o), g[0] & /*activeBonusesList*/
      262144 && t !== (t = /*activeBonus*/
      f[54].termsandconditionsurl) && s(e, "termsandconditionsurl", t), g[0] & /*activeBonusesList*/
      262144 && i !== (i = /*activeBonus*/
      f[54].termsandconditionsasset) && s(e, "termsandconditionsasset", i), g[0] & /*activeBonusesList*/
      262144 && r !== (r = /*activeBonus*/
      f[54].endpoint) && s(e, "endpoint", r), g[0] & /*activeBonusesList*/
      262144 && a !== (a = /*activeBonus*/
      f[54].playerid) && s(e, "playerid", a), g[0] & /*activeBonusesList*/
      262144 && m !== (m = /*activeBonus*/
      f[54].session) && s(e, "session", m), g[0] & /*activeBonusesList*/
      262144 && l !== (l = /*activeBonus*/
      f[54].walletId) && s(e, "bonuswalletid", l), g[0] & /*activeBonusesList*/
      262144 && b !== (b = /*activeBonus*/
      f[54].granted) && s(e, "bonusdate", b), g[0] & /*activeBonusesList*/
      262144 && h !== (h = /*activeBonus*/
      f[54].expiryTime) && s(e, "bonusexpirationdate", h), g[0] & /*activeBonusesList*/
      262144 && _ !== (_ = /*activeBonus*/
      f[54].status) && s(e, "bonusstatus", _), g[0] & /*activeBonusesList*/
      262144 && A !== (A = /*activeBonus*/
      f[54].name) && s(e, "bonusname", A), g[0] & /*activeBonusesList*/
      262144 && v !== (v = /*activeBonus*/
      f[54].type) && s(e, "bonustype", v), g[0] & /*activeBonusesList*/
      262144 && y !== (y = /*activeBonus*/
      f[54].extension.grantedPlayerCurrencyAmount) && s(e, "bonusamount", y), g[0] & /*activeBonusesList*/
      262144 && C !== (C = `${/*activeBonus*/
      f[54].fulfilledWR} / ${/*activeBonus*/
      f[54].originalWageringRequirement}`) && s(e, "bonuswageringamount", C), g[0] & /*activeBonusesList*/
      262144 && d !== (d = /*activeBonus*/
      f[54].currentAmount) && s(e, "bonusremainingamount", d), g[0] & /*activeBonusesList*/
      262144 && p !== (p = /*activeBonus*/
      f[54].currency) && s(e, "bonuscurrency", p), g[0] & /*lang*/
      1 && s(
        e,
        "lang",
        /*lang*/
        f[0]
      ), g[0] & /*dateformat*/
      64 && s(
        e,
        "dateformat",
        /*dateformat*/
        f[6]
      ), g[0] & /*clientstyling*/
      2 && s(
        e,
        "clientstyling",
        /*clientstyling*/
        f[1]
      ), g[0] & /*clientstylingurl*/
      4 && s(
        e,
        "clientstylingurl",
        /*clientstylingurl*/
        f[2]
      ), g[0] & /*mbsource*/
      8 && s(
        e,
        "mbsource",
        /*mbsource*/
        f[3]
      ), g[0] & /*translationurl*/
      16 && s(
        e,
        "translationurl",
        /*translationurl*/
        f[4]
      ), g[0] & /*currencylocale*/
      32 && s(
        e,
        "currencylocale",
        /*currencylocale*/
        f[5]
      ), g[0] & /*ishiddenwageringbonus*/
      128 && s(
        e,
        "ishiddenwageringbonus",
        /*ishiddenwageringbonus*/
        f[7]
      );
    },
    d(f) {
      f && L(e);
    }
  };
}
function on(n) {
  let e, o, t, i, r, a, m, l, b, h, _, A, v, y, C;
  return {
    c() {
      e = M("player-bonus-card"), s(e, "termsandconditionsdescription", o = /*activeBonus*/
      n[54].termsandconditionsdescription), s(e, "termsandconditionsurl", t = /*activeBonus*/
      n[54].termsandconditionsurl), s(e, "termsandconditionsasset", i = /*activeBonus*/
      n[54].termsandconditionsasset), s(e, "endpoint", r = /*activeBonus*/
      n[54].endpoint), s(e, "playerid", a = /*activeBonus*/
      n[54].playerid), s(e, "session", m = /*activeBonus*/
      n[54].session), s(e, "bonuswalletid", l = /*activeBonus*/
      n[54].walletId), s(e, "bonusdate", b = /*activeBonus*/
      n[54].granted), s(e, "bonusexpirationdate", h = /*activeBonus*/
      n[54].expiryTime), s(e, "bonusstatus", _ = /*activeBonus*/
      n[54].status), s(e, "bonusname", A = /*activeBonus*/
      n[54].name), s(e, "bonustype", v = /*activeBonus*/
      n[54].type), s(e, "bonuscurrency", y = /*activeBonus*/
      n[54].currency), s(e, "bonusfreespins", C = /*activeBonus*/
      n[54].freeRoundNumber), s(
        e,
        "lang",
        /*lang*/
        n[0]
      ), s(
        e,
        "dateformat",
        /*dateformat*/
        n[6]
      ), s(
        e,
        "clientstyling",
        /*clientstyling*/
        n[1]
      ), s(
        e,
        "clientstylingurl",
        /*clientstylingurl*/
        n[2]
      ), s(
        e,
        "mbsource",
        /*mbsource*/
        n[3]
      ), s(
        e,
        "translationurl",
        /*translationurl*/
        n[4]
      ), s(
        e,
        "currencylocale",
        /*currencylocale*/
        n[5]
      ), s(
        e,
        "ishiddenwageringbonus",
        /*ishiddenwageringbonus*/
        n[7]
      );
    },
    m(d, p) {
      N(d, e, p);
    },
    p(d, p) {
      p[0] & /*activeBonusesList*/
      262144 && o !== (o = /*activeBonus*/
      d[54].termsandconditionsdescription) && s(e, "termsandconditionsdescription", o), p[0] & /*activeBonusesList*/
      262144 && t !== (t = /*activeBonus*/
      d[54].termsandconditionsurl) && s(e, "termsandconditionsurl", t), p[0] & /*activeBonusesList*/
      262144 && i !== (i = /*activeBonus*/
      d[54].termsandconditionsasset) && s(e, "termsandconditionsasset", i), p[0] & /*activeBonusesList*/
      262144 && r !== (r = /*activeBonus*/
      d[54].endpoint) && s(e, "endpoint", r), p[0] & /*activeBonusesList*/
      262144 && a !== (a = /*activeBonus*/
      d[54].playerid) && s(e, "playerid", a), p[0] & /*activeBonusesList*/
      262144 && m !== (m = /*activeBonus*/
      d[54].session) && s(e, "session", m), p[0] & /*activeBonusesList*/
      262144 && l !== (l = /*activeBonus*/
      d[54].walletId) && s(e, "bonuswalletid", l), p[0] & /*activeBonusesList*/
      262144 && b !== (b = /*activeBonus*/
      d[54].granted) && s(e, "bonusdate", b), p[0] & /*activeBonusesList*/
      262144 && h !== (h = /*activeBonus*/
      d[54].expiryTime) && s(e, "bonusexpirationdate", h), p[0] & /*activeBonusesList*/
      262144 && _ !== (_ = /*activeBonus*/
      d[54].status) && s(e, "bonusstatus", _), p[0] & /*activeBonusesList*/
      262144 && A !== (A = /*activeBonus*/
      d[54].name) && s(e, "bonusname", A), p[0] & /*activeBonusesList*/
      262144 && v !== (v = /*activeBonus*/
      d[54].type) && s(e, "bonustype", v), p[0] & /*activeBonusesList*/
      262144 && y !== (y = /*activeBonus*/
      d[54].currency) && s(e, "bonuscurrency", y), p[0] & /*activeBonusesList*/
      262144 && C !== (C = /*activeBonus*/
      d[54].freeRoundNumber) && s(e, "bonusfreespins", C), p[0] & /*lang*/
      1 && s(
        e,
        "lang",
        /*lang*/
        d[0]
      ), p[0] & /*dateformat*/
      64 && s(
        e,
        "dateformat",
        /*dateformat*/
        d[6]
      ), p[0] & /*clientstyling*/
      2 && s(
        e,
        "clientstyling",
        /*clientstyling*/
        d[1]
      ), p[0] & /*clientstylingurl*/
      4 && s(
        e,
        "clientstylingurl",
        /*clientstylingurl*/
        d[2]
      ), p[0] & /*mbsource*/
      8 && s(
        e,
        "mbsource",
        /*mbsource*/
        d[3]
      ), p[0] & /*translationurl*/
      16 && s(
        e,
        "translationurl",
        /*translationurl*/
        d[4]
      ), p[0] & /*currencylocale*/
      32 && s(
        e,
        "currencylocale",
        /*currencylocale*/
        d[5]
      ), p[0] & /*ishiddenwageringbonus*/
      128 && s(
        e,
        "ishiddenwageringbonus",
        /*ishiddenwageringbonus*/
        d[7]
      );
    },
    d(d) {
      d && L(e);
    }
  };
}
function me(n) {
  let e;
  function o(r, a) {
    return (
      /*activeBonus*/
      r[54].type === "freeRound" ? on : nn
    );
  }
  let t = o(n), i = t(n);
  return {
    c() {
      i.c(), e = se();
    },
    m(r, a) {
      i.m(r, a), N(r, e, a);
    },
    p(r, a) {
      t === (t = o(r)) && i ? i.p(r, a) : (i.d(1), i = t(r), i && (i.c(), i.m(e.parentNode, e)));
    },
    d(r) {
      r && L(e), i.d(r);
    }
  };
}
function fe(n) {
  let e, o, t, i, r, a, m, l, b, h, _, A, v, y, C, d, p, f, g, q = ee(Array(
    /*numberOfPages*/
    n[16]
  )), E = [];
  for (let w = 0; w < q.length; w += 1)
    E[w] = be(de(n, q, w));
  return {
    c() {
      e = M("div"), o = M("span"), t = T("|<"), r = z(), a = M("span"), m = T("<"), b = z();
      for (let w = 0; w < E.length; w += 1)
        E[w].c();
      h = z(), _ = M("span"), A = T(">"), y = z(), C = M("span"), d = T(">|"), B(o, "class", i = "BonusesFirst " + /*currentPage*/
      (n[17] === 0 ? "Inactive" : "")), B(a, "class", l = "BonusesPrev " + /*currentPage*/
      (n[17] === 0 ? "Inactive" : "")), B(_, "class", v = "BonusesNext " + /*currentPage*/
      (n[17] === /*numberOfPages*/
      n[16] - 1 ? "Inactive" : "")), B(C, "class", p = "BonusesLast " + /*currentPage*/
      (n[17] === /*numberOfPages*/
      n[16] - 1 ? "Inactive" : "")), B(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
      (n[21] ? "BonusesPaginationWrapperMobile" : ""));
    },
    m(w, S) {
      N(w, e, S), c(e, o), c(o, t), c(e, r), c(e, a), c(a, m), c(e, b);
      for (let W = 0; W < E.length; W += 1)
        E[W] && E[W].m(e, null);
      c(e, h), c(e, _), c(_, A), c(e, y), c(e, C), c(C, d), f || (g = [
        U(
          o,
          "click",
          /*click_handler_1*/
          n[35]
        ),
        U(
          a,
          "click",
          /*click_handler_2*/
          n[36]
        ),
        U(
          _,
          "click",
          /*click_handler_4*/
          n[38]
        ),
        U(
          C,
          "click",
          /*click_handler_5*/
          n[39]
        )
      ], f = !0);
    },
    p(w, S) {
      if (S[0] & /*currentPage*/
      131072 && i !== (i = "BonusesFirst " + /*currentPage*/
      (w[17] === 0 ? "Inactive" : "")) && B(o, "class", i), S[0] & /*currentPage*/
      131072 && l !== (l = "BonusesPrev " + /*currentPage*/
      (w[17] === 0 ? "Inactive" : "")) && B(a, "class", l), S[0] & /*currentPage, getActiveBonuses, numberOfPages*/
      16973824) {
        q = ee(Array(
          /*numberOfPages*/
          w[16]
        ));
        let W;
        for (W = 0; W < q.length; W += 1) {
          const R = de(w, q, W);
          E[W] ? E[W].p(R, S) : (E[W] = be(R), E[W].c(), E[W].m(e, h));
        }
        for (; W < E.length; W += 1)
          E[W].d(1);
        E.length = q.length;
      }
      S[0] & /*currentPage, numberOfPages*/
      196608 && v !== (v = "BonusesNext " + /*currentPage*/
      (w[17] === /*numberOfPages*/
      w[16] - 1 ? "Inactive" : "")) && B(_, "class", v), S[0] & /*currentPage, numberOfPages*/
      196608 && p !== (p = "BonusesLast " + /*currentPage*/
      (w[17] === /*numberOfPages*/
      w[16] - 1 ? "Inactive" : "")) && B(C, "class", p);
    },
    d(w) {
      w && L(e), Be(E, w), f = !1, oe(g);
    }
  };
}
function be(n) {
  let e, o = (
    /*i*/
    n[53] + 1 + ""
  ), t, i, r, a;
  function m() {
    return (
      /*click_handler_3*/
      n[37](
        /*i*/
        n[53]
      )
    );
  }
  return {
    c() {
      e = M("span"), t = T(o), B(e, "class", i = "BonusesPage " + /*i*/
      (n[53] === /*currentPage*/
      n[17] ? "BonusPageActive" : ""));
    },
    m(l, b) {
      N(l, e, b), c(e, t), r || (a = U(e, "click", m), r = !0);
    },
    p(l, b) {
      n = l, b[0] & /*currentPage*/
      131072 && i !== (i = "BonusesPage " + /*i*/
      (n[53] === /*currentPage*/
      n[17] ? "BonusPageActive" : "")) && B(e, "class", i);
    },
    d(l) {
      l && L(e), r = !1, a();
    }
  };
}
function ge(n) {
  let e, o, t, i, r = (
    /*$_*/
    n[20]("forfeitBonus") + ""
  ), a, m, l, b, h = (
    /*$_*/
    n[20]("forfeitBonusCancel") + ""
  ), _, A, v, y = (
    /*$_*/
    n[20]("forfeitBonusConfirm") + ""
  ), C, d, p;
  return {
    c() {
      e = M("div"), o = M("div"), t = M("div"), i = M("p"), a = T(r), m = z(), l = M("div"), b = M("button"), _ = T(h), A = z(), v = M("button"), C = T(y), B(i, "class", "ModalText"), B(b, "class", "ModalCancel"), B(v, "class", "ModalConfirm"), B(l, "class", "ModalButtons"), B(t, "class", "ModalBody"), B(o, "class", "ModalContent"), B(e, "class", "ModalWrapper " + /*isMobile*/
      (n[21] ? "ModalWrapperMobile" : ""));
    },
    m(f, g) {
      N(f, e, g), c(e, o), c(o, t), c(t, i), c(i, a), c(t, m), c(t, l), c(l, b), c(b, _), c(l, A), c(l, v), c(v, C), d || (p = [
        U(
          b,
          "click",
          /*closeBonusModal*/
          n[26]
        ),
        U(
          v,
          "click",
          /*debouncedFunction*/
          n[28](
            /*deleteBonus*/
            n[27]
          )
        )
      ], d = !0);
    },
    p(f, g) {
      g[0] & /*$_*/
      1048576 && r !== (r = /*$_*/
      f[20]("forfeitBonus") + "") && J(a, r), g[0] & /*$_*/
      1048576 && h !== (h = /*$_*/
      f[20]("forfeitBonusCancel") + "") && J(_, h), g[0] & /*$_*/
      1048576 && y !== (y = /*$_*/
      f[20]("forfeitBonusConfirm") + "") && J(C, y);
    },
    d(f) {
      f && L(e), d = !1, oe(p);
    }
  };
}
function sn(n) {
  let e, o, t, i, r = (
    /*$_*/
    n[20]("titleBonuses") + ""
  ), a, m, l, b, h = (
    /*$_*/
    n[20]("bonusCode") + ""
  ), _, A, v, y, C, d, p = (
    /*$_*/
    n[20]("getBonus") + ""
  ), f, g, q, E, w, S, W, R = (
    /*isMobile*/
    n[21] && Ke(n)
  ), P = (
    /*invalidBonusCode*/
    n[11] && pe(n)
  );
  function Q(k, j) {
    return (
      /*isLoading*/
      k[9] ? xe : Qe
    );
  }
  let Z = Q(n), D = Z(n), F = (
    /*bonusModal*/
    n[19] && ge(n)
  );
  return {
    c() {
      e = M("div"), o = M("div"), R && R.c(), t = z(), i = M("h2"), a = T(r), m = z(), l = M("div"), b = M("label"), _ = T(h), A = z(), v = M("div"), y = M("input"), C = z(), d = M("button"), f = T(p), q = z(), P && P.c(), E = z(), D.c(), w = z(), F && F.c(), B(i, "class", "ActiveBonusesTitle " + /*isMobile*/
      (n[21] ? "ActiveBonusesTitleNone" : "")), B(b, "for", "BonusCode"), B(y, "class", "BonusCodeInput " + /*isMobile*/
      (n[21] ? "BonusCodeInputMobile" : "")), B(y, "type", "text"), B(y, "id", "BonusCode"), B(d, "class", "SubmitBonusCode " + /*isMobile*/
      (n[21] ? "SubmitBonusCodeMobile" : "")), d.disabled = g = /*invalidBonusField*/
      n[10] || /*isLoading*/
      n[9], B(v, "class", "BonusCodeWrapper " + /*isMobile*/
      (n[21] ? "BonusCodeWrapperMobile" : "")), B(l, "class", "BonusCodeContainer " + /*isMobile*/
      (n[21] ? "BonusCodeContainerMobile" : "")), B(o, "class", "ActiveBonusesWrapper " + /*isMobile*/
      (n[21] ? "ActiveBonusesWrapperMobile" : ""));
    },
    m(k, j) {
      N(k, e, j), c(e, o), R && R.m(o, null), c(o, t), c(o, i), c(i, a), c(o, m), c(o, l), c(l, b), c(b, _), c(l, A), c(l, v), c(v, y), re(
        y,
        /*bonusCode*/
        n[12]
      ), c(v, C), c(v, d), c(d, f), c(l, q), P && P.m(l, null), c(o, E), D.m(o, null), c(e, w), F && F.m(e, null), n[40](e), S || (W = [
        U(
          y,
          "input",
          /*input_input_handler*/
          n[34]
        ),
        U(
          y,
          "keyup",
          /*validateBonusCode*/
          n[23]
        ),
        U(
          d,
          "click",
          /*claimBonus*/
          n[25]
        )
      ], S = !0);
    },
    p(k, j) {
      /*isMobile*/
      k[21] && R.p(k, j), j[0] & /*$_*/
      1048576 && r !== (r = /*$_*/
      k[20]("titleBonuses") + "") && J(a, r), j[0] & /*$_*/
      1048576 && h !== (h = /*$_*/
      k[20]("bonusCode") + "") && J(_, h), j[0] & /*bonusCode*/
      4096 && y.value !== /*bonusCode*/
      k[12] && re(
        y,
        /*bonusCode*/
        k[12]
      ), j[0] & /*$_*/
      1048576 && p !== (p = /*$_*/
      k[20]("getBonus") + "") && J(f, p), j[0] & /*invalidBonusField, isLoading*/
      1536 && g !== (g = /*invalidBonusField*/
      k[10] || /*isLoading*/
      k[9]) && (d.disabled = g), /*invalidBonusCode*/
      k[11] ? P ? P.p(k, j) : (P = pe(k), P.c(), P.m(l, null)) : P && (P.d(1), P = null), Z === (Z = Q(k)) && D ? D.p(k, j) : (D.d(1), D = Z(k), D && (D.c(), D.m(o, null))), /*bonusModal*/
      k[19] ? F ? F.p(k, j) : (F = ge(k), F.c(), F.m(e, null)) : F && (F.d(1), F = null);
    },
    i: ne,
    o: ne,
    d(k) {
      k && L(e), R && R.d(), P && P.d(), D.d(), F && F.d(), n[40](null), S = !1, oe(W);
    }
  };
}
let tn = "status=active", Y = 6;
function an(n, e, o) {
  let t;
  De(n, Ye, (u) => o(20, t = u));
  let { endpoint: i = "" } = e, { session: r = "" } = e, { playerid: a = "" } = e, { lang: m = "en" } = e, { currency: l = "" } = e, { clientstyling: b = "" } = e, { clientstylingurl: h = "" } = e, { mbsource: _ } = e, { translationurl: A = "" } = e, { currencylocale: v = "" } = e, { dateformat: y = "" } = e, { ishiddenwageringbonus: C = "false" } = e, d = !1, p, f = window.navigator.userAgent, g = Oe(f) !== "PC", q = !0, E = !1, w = "", S = 0, W = 0, R = 0, P = 0, Q = 0, Z = [], D, F = "", k = !1;
  const j = () => {
    fetch(A).then((I) => I.json()).then((I) => {
      Object.keys(I).forEach((G) => {
        le(G, I[G]);
      });
    }).catch((I) => {
      console.log(I);
    });
  };
  Object.keys(ue).forEach((u) => {
    le(u, ue[u]);
  });
  const ie = (u) => {
    if (u.data)
      switch (u.data.type) {
        case "DeleteActiveBonus":
          F = u.data.bonuswalletid, o(19, k = !0);
          break;
      }
  };
  function ve(u, I) {
    return (...G) => {
      clearTimeout(D), D = setTimeout(
        () => {
          u.apply(this, G);
        },
        I
      );
    };
  }
  const te = () => {
    window.postMessage(
      {
        type: "PlayerAccountMenuActive",
        isMobile: g
      },
      window.location.href
    );
  }, _e = () => !!w, ye = () => {
    o(10, q = !_e());
  }, H = (u) => {
    o(9, d = !0);
    let I = {
      method: "GET",
      headers: { "X-SessionId": r }
    }, G = new URL(`${i}/v1/player/${a}/bonusWallet`);
    G.searchParams.append("filter", tn), G.searchParams.append("pagination", `offset=${u},limit=${Y}`), fetch(G, I).then((X) => X.json()).then(
      (X) => {
        Array.isArray(X.items) && X.items.forEach((O) => {
          const $ = O?.extension?.bonus?.presentation;
          $ && (O.termsandconditionsurl = $.url, O.termsandconditionsdescription = $.description, O.termsandconditionsasset = $.assets);
        }), o(16, P = Math.ceil(X.total / Y)), u - Y >= 0 && o(13, S = u - Y), u + Y < X.total && o(14, W = u + Y), o(15, R = (P - 1) * Y), o(17, Q = u / Y), o(18, Z = X?.items || []), v && Z.forEach((O) => {
          O.fulfilledWR = x(O.fulfilledWR), O.originalWageringRequirement = x(O.originalWageringRequirement), O.currentAmount = x(O.currentAmount), O.extension.grantedPlayerCurrencyAmount = x(O.extension.grantedPlayerCurrencyAmount);
        }), window.scrollTo({ top: 0, behavior: "smooth" });
      },
      (X) => {
        console.error(X);
      }
    ).finally(() => {
      o(9, d = !1);
    });
  }, x = (u) => new Intl.NumberFormat(v, { style: "currency", currency: l }).format(u).replace(/\s/g, ""), he = () => {
    o(9, d = !0);
    let u = new URL(`${i}/v1/player/${a}/claimbonus`), I = {
      method: "POST",
      headers: {
        "X-SessionId": r,
        accept: "application/json"
      }
    };
    u.searchParams.append("currency", l), u.searchParams.append("bonusCode", w), fetch(u.href, I).then((G) => {
      G.status == 200 ? (o(11, E = !1), H(0), window.postMessage(
        {
          type: "WidgetNotification",
          data: {
            type: "success",
            message: t("bonusClaimSuccessMessage")
          }
        },
        window.location.href
      ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
        context: "PlayerActiveBonuses",
        userId: `${a || "Not logged in"}`,
        bonusCode: `${w}`
      })) : (o(11, E = !0), window.postMessage(
        {
          type: "WidgetNotification",
          data: {
            type: "error",
            message: t("bonusClaimErrorMessage")
          }
        },
        window.location.href
      ));
    }).finally(() => {
      o(9, d = !1);
    });
  }, ae = () => {
    window.postMessage({ type: "EnableScroll" }, window.location.href), o(19, k = !1);
  }, Ce = () => {
    let u = {
      method: "DELETE",
      headers: {
        "X-SessionId": r,
        "Content-Type": "application/json",
        Accept: "application/json"
      }
    }, I = new URL(`${i}/v1/player/${a}/bonusWallet`);
    I.searchParams.append("bonusWalletID", F), fetch(I, u).then((G) => {
      G.status == 200 && (H(0), ae());
    });
  }, we = () => {
    Je(m);
  };
  function Me(u) {
    return ve(u, 1e3);
  }
  qe(() => (window.addEventListener("message", ie, !1), () => {
    window.removeEventListener("message", ie);
  }));
  const ke = () => te();
  function Ae() {
    w = this.value, o(12, w);
  }
  const We = () => H(0), Ee = () => H(S), Pe = (u) => H(u * Y), Fe = () => H(W), Se = () => H(R);
  function Ie(u) {
    Ge[u ? "unshift" : "push"](() => {
      p = u, o(8, p);
    });
  }
  return n.$$set = (u) => {
    "endpoint" in u && o(29, i = u.endpoint), "session" in u && o(30, r = u.session), "playerid" in u && o(31, a = u.playerid), "lang" in u && o(0, m = u.lang), "currency" in u && o(32, l = u.currency), "clientstyling" in u && o(1, b = u.clientstyling), "clientstylingurl" in u && o(2, h = u.clientstylingurl), "mbsource" in u && o(3, _ = u.mbsource), "translationurl" in u && o(4, A = u.translationurl), "currencylocale" in u && o(5, v = u.currencylocale), "dateformat" in u && o(6, y = u.dateformat), "ishiddenwageringbonus" in u && o(7, C = u.ishiddenwageringbonus);
  }, n.$$.update = () => {
    n.$$.dirty[0] & /*lang*/
    1 && m && we(), n.$$.dirty[0] & /*session, endpoint*/
    1610612736 | n.$$.dirty[1] & /*playerid*/
    1 && r && a && i && H(0), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
    258 && b && p && Ve(p, b), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
    260 && h && p && Ue(p, h), n.$$.dirty[0] & /*mbsource, customStylingContainer*/
    264 && _ && p && He(p, `${_}.Style`), n.$$.dirty[0] & /*translationurl*/
    16 && A && j();
  }, [
    m,
    b,
    h,
    _,
    A,
    v,
    y,
    C,
    p,
    d,
    q,
    E,
    w,
    S,
    W,
    R,
    P,
    Q,
    Z,
    k,
    t,
    g,
    te,
    ye,
    H,
    he,
    ae,
    Ce,
    Me,
    i,
    r,
    a,
    l,
    ke,
    Ae,
    We,
    Ee,
    Pe,
    Fe,
    Se,
    Ie
  ];
}
class rn extends Le {
  constructor(e) {
    super(), Ne(
      this,
      e,
      an,
      sn,
      Re,
      {
        endpoint: 29,
        session: 30,
        playerid: 31,
        lang: 0,
        currency: 32,
        clientstyling: 1,
        clientstylingurl: 2,
        mbsource: 3,
        translationurl: 4,
        currencylocale: 5,
        dateformat: 6,
        ishiddenwageringbonus: 7
      },
      Ze,
      [-1, -1]
    );
  }
  get endpoint() {
    return this.$$.ctx[29];
  }
  set endpoint(e) {
    this.$$set({ endpoint: e }), V();
  }
  get session() {
    return this.$$.ctx[30];
  }
  set session(e) {
    this.$$set({ session: e }), V();
  }
  get playerid() {
    return this.$$.ctx[31];
  }
  set playerid(e) {
    this.$$set({ playerid: e }), V();
  }
  get lang() {
    return this.$$.ctx[0];
  }
  set lang(e) {
    this.$$set({ lang: e }), V();
  }
  get currency() {
    return this.$$.ctx[32];
  }
  set currency(e) {
    this.$$set({ currency: e }), V();
  }
  get clientstyling() {
    return this.$$.ctx[1];
  }
  set clientstyling(e) {
    this.$$set({ clientstyling: e }), V();
  }
  get clientstylingurl() {
    return this.$$.ctx[2];
  }
  set clientstylingurl(e) {
    this.$$set({ clientstylingurl: e }), V();
  }
  get mbsource() {
    return this.$$.ctx[3];
  }
  set mbsource(e) {
    this.$$set({ mbsource: e }), V();
  }
  get translationurl() {
    return this.$$.ctx[4];
  }
  set translationurl(e) {
    this.$$set({ translationurl: e }), V();
  }
  get currencylocale() {
    return this.$$.ctx[5];
  }
  set currencylocale(e) {
    this.$$set({ currencylocale: e }), V();
  }
  get dateformat() {
    return this.$$.ctx[6];
  }
  set dateformat(e) {
    this.$$set({ dateformat: e }), V();
  }
  get ishiddenwageringbonus() {
    return this.$$.ctx[7];
  }
  set ishiddenwageringbonus(e) {
    this.$$set({ ishiddenwageringbonus: e }), V();
  }
}
Xe(rn, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {}, ishiddenwageringbonus: {} }, [], [], !0);
export {
  rn as default
};
