import { a as Te, $ as Le, S as Ne, i as Re, s as je, f as U, b as De, n as oe, d as R, r as ne, c as J, V as le, h as j, j as c, l as H, k as M, m as L, t as N, e as B, p as Oe, q as qe, u as Ge, v as Q, w as Ve, H as se, C as ee, D as ve, g as s, x as Ue, y as He, z as Xe, A as Ye, B as Je } from "./GeneralLogout-CShGWvvZ.js";
function ue(o, e) {
  Te(o, e);
}
function Ze(o) {
  Le.set(o);
}
const de = {
  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 != "undefined") {
  let o = function(e) {
    return function(...n) {
      try {
        return e.apply(this, n);
      } catch (a) {
        if (a instanceof DOMException && a.message.includes("has already been used with this registry") || a.message.includes("Cannot define multiple custom elements with the same tag name"))
          return !1;
        throw a;
      }
    };
  };
  customElements.define = o(customElements.define), import("./PlayerBonusCard-D1_h0ufF.js").then(({ default: e }) => {
    !customElements.get("player-bonus-card") && customElements.define("player-bonus-card", e.element);
  });
}
function Ke(o) {
  De(o, "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 ce(o, e, n) {
  const a = o.slice();
  return a[50] = e[n], a[52] = n, a;
}
function pe(o, e, n) {
  const a = o.slice();
  return a[53] = e[n], a;
}
function Qe(o) {
  let e, n, a, t, i, r, p, l, f, h, y = (
    /*$_*/
    o[19]("titleBonuses") + ""
  ), k, v, C;
  return {
    c() {
      e = M("div"), n = Q("svg"), a = Q("defs"), t = Q("style"), i = N(`.aaa {
                fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
              }
            `), r = Q("g"), p = Q("g"), l = Q("path"), f = L(), h = M("h2"), k = N(y), 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(p, "transform", "translate(20 158)"), B(r, "transform", "translate(-20 -158)"), B(n, "xmlns", "http://www.w3.org/2000/svg"), B(n, "width", "15"), B(n, "height", "15"), B(n, "viewBox", "0 0 15 15"), B(h, "class", "ActiveBonusesTitleMobile"), B(e, "class", "MenuReturnButton");
    },
    m(_, u) {
      j(_, e, u), c(e, n), c(n, a), c(a, t), c(t, i), c(n, r), c(r, p), c(p, l), c(e, f), c(e, h), c(h, k), v || (C = H(
        e,
        "click",
        /*click_handler*/
        o[32]
      ), v = !0);
    },
    p(_, u) {
      u[0] & /*$_*/
      524288 && y !== (y = /*$_*/
      _[19]("titleBonuses") + "") && J(k, y);
    },
    d(_) {
      _ && R(e), v = !1, C();
    }
  };
}
function me(o) {
  let e, n = (
    /*$_*/
    o[19]("invalidBonusCode") + ""
  ), a;
  return {
    c() {
      e = M("p"), a = N(n), B(e, "class", "InvalidBonusCodeMessage");
    },
    m(t, i) {
      j(t, e, i), c(e, a);
    },
    p(t, i) {
      i[0] & /*$_*/
      524288 && n !== (n = /*$_*/
      t[19]("invalidBonusCode") + "") && J(a, n);
    },
    d(t) {
      t && R(e);
    }
  };
}
function xe(o) {
  let e, n, a;
  function t(l, f) {
    return (
      /*activeBonusesList*/
      l[17].length === 0 ? oo : eo
    );
  }
  let i = t(o), r = i(o), p = (
    /*activeBonusesList*/
    o[17].length !== 0 && be(o)
  );
  return {
    c() {
      e = M("div"), r.c(), n = L(), p && p.c(), a = se(), B(e, "class", "ActiveBonusesGrid " + /*isMobile*/
      (o[20] ? "ActiveBonusesGridMobile" : ""));
    },
    m(l, f) {
      j(l, e, f), r.m(e, null), j(l, n, f), p && p.m(l, f), j(l, a, f);
    },
    p(l, f) {
      i === (i = t(l)) && r ? r.p(l, f) : (r.d(1), r = i(l), r && (r.c(), r.m(e, null))), /*activeBonusesList*/
      l[17].length !== 0 ? p ? p.p(l, f) : (p = be(l), p.c(), p.m(a.parentNode, a)) : p && (p.d(1), p = null);
    },
    d(l) {
      l && (R(e), R(n), R(a)), r.d(), p && p.d(l);
    }
  };
}
function $e(o) {
  let e;
  return {
    c() {
      e = M("div"), B(e, "class", "ModalLoader"), B(e, "part", "ModalLoader");
    },
    m(n, a) {
      j(n, e, a);
    },
    p: oe,
    d(n) {
      n && R(e);
    }
  };
}
function eo(o) {
  let e, n = ee(
    /*activeBonusesList*/
    o[17]
  ), a = [];
  for (let t = 0; t < n.length; t += 1)
    a[t] = fe(pe(o, n, t));
  return {
    c() {
      for (let t = 0; t < a.length; t += 1)
        a[t].c();
      e = se();
    },
    m(t, i) {
      for (let r = 0; r < a.length; r += 1)
        a[r] && a[r].m(t, i);
      j(t, e, i);
    },
    p(t, i) {
      if (i[0] & /*activeBonusesList, lang, dateformat, clientstyling, clientstylingurl, mbsource, translationurl, currencylocale*/
      131199) {
        n = ee(
          /*activeBonusesList*/
          t[17]
        );
        let r;
        for (r = 0; r < n.length; r += 1) {
          const p = pe(t, n, r);
          a[r] ? a[r].p(p, i) : (a[r] = fe(p), a[r].c(), a[r].m(e.parentNode, e));
        }
        for (; r < a.length; r += 1)
          a[r].d(1);
        a.length = n.length;
      }
    },
    d(t) {
      t && R(e), ve(a, t);
    }
  };
}
function oo(o) {
  let e, n = (
    /*$_*/
    o[19]("noActiveBonuses") + ""
  ), a;
  return {
    c() {
      e = M("p"), a = N(n);
    },
    m(t, i) {
      j(t, e, i), c(e, a);
    },
    p(t, i) {
      i[0] & /*$_*/
      524288 && n !== (n = /*$_*/
      t[19]("noActiveBonuses") + "") && J(a, n);
    },
    d(t) {
      t && R(e);
    }
  };
}
function no(o) {
  let e, n, a, t, i, r, p, l, f, h, y, k, v, C, _, u, b;
  return {
    c() {
      e = M("player-bonus-card"), s(e, "termsandconditionsdescription", n = /*activeBonus*/
      o[53].termsandconditionsdescription), s(e, "termsandconditionsurl", a = /*activeBonus*/
      o[53].termsandconditionsurl), s(e, "termsandconditionsasset", t = /*activeBonus*/
      o[53].termsandconditionsasset), s(e, "endpoint", i = /*activeBonus*/
      o[53].endpoint), s(e, "playerid", r = /*activeBonus*/
      o[53].playerid), s(e, "session", p = /*activeBonus*/
      o[53].session), s(e, "bonuswalletid", l = /*activeBonus*/
      o[53].walletId), s(e, "bonusdate", f = /*activeBonus*/
      o[53].granted), s(e, "bonusexpirationdate", h = /*activeBonus*/
      o[53].expiryTime), s(e, "bonusstatus", y = /*activeBonus*/
      o[53].status), s(e, "bonusname", k = /*activeBonus*/
      o[53].name), s(e, "bonustype", v = /*activeBonus*/
      o[53].type), s(e, "bonusamount", C = /*activeBonus*/
      o[53].extension.grantedPlayerCurrencyAmount), s(e, "bonuswageringamount", _ = `${/*activeBonus*/
      o[53].fulfilledWR} / ${/*activeBonus*/
      o[53].originalWageringRequirement}`), s(e, "bonusremainingamount", u = /*activeBonus*/
      o[53].currentAmount), s(e, "bonuscurrency", b = /*activeBonus*/
      o[53].currency), s(
        e,
        "lang",
        /*lang*/
        o[0]
      ), s(
        e,
        "dateformat",
        /*dateformat*/
        o[6]
      ), s(
        e,
        "clientstyling",
        /*clientstyling*/
        o[1]
      ), s(
        e,
        "clientstylingurl",
        /*clientstylingurl*/
        o[2]
      ), s(
        e,
        "mbsource",
        /*mbsource*/
        o[3]
      ), s(
        e,
        "translationurl",
        /*translationurl*/
        o[4]
      ), s(
        e,
        "currencylocale",
        /*currencylocale*/
        o[5]
      );
    },
    m(m, g) {
      j(m, e, g);
    },
    p(m, g) {
      g[0] & /*activeBonusesList*/
      131072 && n !== (n = /*activeBonus*/
      m[53].termsandconditionsdescription) && s(e, "termsandconditionsdescription", n), g[0] & /*activeBonusesList*/
      131072 && a !== (a = /*activeBonus*/
      m[53].termsandconditionsurl) && s(e, "termsandconditionsurl", a), g[0] & /*activeBonusesList*/
      131072 && t !== (t = /*activeBonus*/
      m[53].termsandconditionsasset) && s(e, "termsandconditionsasset", t), g[0] & /*activeBonusesList*/
      131072 && i !== (i = /*activeBonus*/
      m[53].endpoint) && s(e, "endpoint", i), g[0] & /*activeBonusesList*/
      131072 && r !== (r = /*activeBonus*/
      m[53].playerid) && s(e, "playerid", r), g[0] & /*activeBonusesList*/
      131072 && p !== (p = /*activeBonus*/
      m[53].session) && s(e, "session", p), g[0] & /*activeBonusesList*/
      131072 && l !== (l = /*activeBonus*/
      m[53].walletId) && s(e, "bonuswalletid", l), g[0] & /*activeBonusesList*/
      131072 && f !== (f = /*activeBonus*/
      m[53].granted) && s(e, "bonusdate", f), g[0] & /*activeBonusesList*/
      131072 && h !== (h = /*activeBonus*/
      m[53].expiryTime) && s(e, "bonusexpirationdate", h), g[0] & /*activeBonusesList*/
      131072 && y !== (y = /*activeBonus*/
      m[53].status) && s(e, "bonusstatus", y), g[0] & /*activeBonusesList*/
      131072 && k !== (k = /*activeBonus*/
      m[53].name) && s(e, "bonusname", k), g[0] & /*activeBonusesList*/
      131072 && v !== (v = /*activeBonus*/
      m[53].type) && s(e, "bonustype", v), g[0] & /*activeBonusesList*/
      131072 && C !== (C = /*activeBonus*/
      m[53].extension.grantedPlayerCurrencyAmount) && s(e, "bonusamount", C), g[0] & /*activeBonusesList*/
      131072 && _ !== (_ = `${/*activeBonus*/
      m[53].fulfilledWR} / ${/*activeBonus*/
      m[53].originalWageringRequirement}`) && s(e, "bonuswageringamount", _), g[0] & /*activeBonusesList*/
      131072 && u !== (u = /*activeBonus*/
      m[53].currentAmount) && s(e, "bonusremainingamount", u), g[0] & /*activeBonusesList*/
      131072 && b !== (b = /*activeBonus*/
      m[53].currency) && s(e, "bonuscurrency", b), g[0] & /*lang*/
      1 && s(
        e,
        "lang",
        /*lang*/
        m[0]
      ), g[0] & /*dateformat*/
      64 && s(
        e,
        "dateformat",
        /*dateformat*/
        m[6]
      ), g[0] & /*clientstyling*/
      2 && s(
        e,
        "clientstyling",
        /*clientstyling*/
        m[1]
      ), g[0] & /*clientstylingurl*/
      4 && s(
        e,
        "clientstylingurl",
        /*clientstylingurl*/
        m[2]
      ), g[0] & /*mbsource*/
      8 && s(
        e,
        "mbsource",
        /*mbsource*/
        m[3]
      ), g[0] & /*translationurl*/
      16 && s(
        e,
        "translationurl",
        /*translationurl*/
        m[4]
      ), g[0] & /*currencylocale*/
      32 && s(
        e,
        "currencylocale",
        /*currencylocale*/
        m[5]
      );
    },
    d(m) {
      m && R(e);
    }
  };
}
function so(o) {
  let e, n, a, t, i, r, p, l, f, h, y, k, v, C, _;
  return {
    c() {
      e = M("player-bonus-card"), s(e, "termsandconditionsdescription", n = /*activeBonus*/
      o[53].termsandconditionsdescription), s(e, "termsandconditionsurl", a = /*activeBonus*/
      o[53].termsandconditionsurl), s(e, "termsandconditionsasset", t = /*activeBonus*/
      o[53].termsandconditionsasset), s(e, "endpoint", i = /*activeBonus*/
      o[53].endpoint), s(e, "playerid", r = /*activeBonus*/
      o[53].playerid), s(e, "session", p = /*activeBonus*/
      o[53].session), s(e, "bonuswalletid", l = /*activeBonus*/
      o[53].walletId), s(e, "bonusdate", f = /*activeBonus*/
      o[53].granted), s(e, "bonusexpirationdate", h = /*activeBonus*/
      o[53].expiryTime), s(e, "bonusstatus", y = /*activeBonus*/
      o[53].status), s(e, "bonusname", k = /*activeBonus*/
      o[53].name), s(e, "bonustype", v = /*activeBonus*/
      o[53].type), s(e, "bonuscurrency", C = /*activeBonus*/
      o[53].currency), s(e, "bonusfreespins", _ = /*activeBonus*/
      o[53].freeRoundNumber), s(
        e,
        "lang",
        /*lang*/
        o[0]
      ), s(
        e,
        "dateformat",
        /*dateformat*/
        o[6]
      ), s(
        e,
        "clientstyling",
        /*clientstyling*/
        o[1]
      ), s(
        e,
        "clientstylingurl",
        /*clientstylingurl*/
        o[2]
      ), s(
        e,
        "mbsource",
        /*mbsource*/
        o[3]
      ), s(
        e,
        "translationurl",
        /*translationurl*/
        o[4]
      ), s(
        e,
        "currencylocale",
        /*currencylocale*/
        o[5]
      );
    },
    m(u, b) {
      j(u, e, b);
    },
    p(u, b) {
      b[0] & /*activeBonusesList*/
      131072 && n !== (n = /*activeBonus*/
      u[53].termsandconditionsdescription) && s(e, "termsandconditionsdescription", n), b[0] & /*activeBonusesList*/
      131072 && a !== (a = /*activeBonus*/
      u[53].termsandconditionsurl) && s(e, "termsandconditionsurl", a), b[0] & /*activeBonusesList*/
      131072 && t !== (t = /*activeBonus*/
      u[53].termsandconditionsasset) && s(e, "termsandconditionsasset", t), b[0] & /*activeBonusesList*/
      131072 && i !== (i = /*activeBonus*/
      u[53].endpoint) && s(e, "endpoint", i), b[0] & /*activeBonusesList*/
      131072 && r !== (r = /*activeBonus*/
      u[53].playerid) && s(e, "playerid", r), b[0] & /*activeBonusesList*/
      131072 && p !== (p = /*activeBonus*/
      u[53].session) && s(e, "session", p), b[0] & /*activeBonusesList*/
      131072 && l !== (l = /*activeBonus*/
      u[53].walletId) && s(e, "bonuswalletid", l), b[0] & /*activeBonusesList*/
      131072 && f !== (f = /*activeBonus*/
      u[53].granted) && s(e, "bonusdate", f), b[0] & /*activeBonusesList*/
      131072 && h !== (h = /*activeBonus*/
      u[53].expiryTime) && s(e, "bonusexpirationdate", h), b[0] & /*activeBonusesList*/
      131072 && y !== (y = /*activeBonus*/
      u[53].status) && s(e, "bonusstatus", y), b[0] & /*activeBonusesList*/
      131072 && k !== (k = /*activeBonus*/
      u[53].name) && s(e, "bonusname", k), b[0] & /*activeBonusesList*/
      131072 && v !== (v = /*activeBonus*/
      u[53].type) && s(e, "bonustype", v), b[0] & /*activeBonusesList*/
      131072 && C !== (C = /*activeBonus*/
      u[53].currency) && s(e, "bonuscurrency", C), b[0] & /*activeBonusesList*/
      131072 && _ !== (_ = /*activeBonus*/
      u[53].freeRoundNumber) && s(e, "bonusfreespins", _), b[0] & /*lang*/
      1 && s(
        e,
        "lang",
        /*lang*/
        u[0]
      ), b[0] & /*dateformat*/
      64 && s(
        e,
        "dateformat",
        /*dateformat*/
        u[6]
      ), b[0] & /*clientstyling*/
      2 && s(
        e,
        "clientstyling",
        /*clientstyling*/
        u[1]
      ), b[0] & /*clientstylingurl*/
      4 && s(
        e,
        "clientstylingurl",
        /*clientstylingurl*/
        u[2]
      ), b[0] & /*mbsource*/
      8 && s(
        e,
        "mbsource",
        /*mbsource*/
        u[3]
      ), b[0] & /*translationurl*/
      16 && s(
        e,
        "translationurl",
        /*translationurl*/
        u[4]
      ), b[0] & /*currencylocale*/
      32 && s(
        e,
        "currencylocale",
        /*currencylocale*/
        u[5]
      );
    },
    d(u) {
      u && R(e);
    }
  };
}
function fe(o) {
  let e;
  function n(i, r) {
    return (
      /*activeBonus*/
      i[53].type === "freeRound" ? so : no
    );
  }
  let a = n(o), t = a(o);
  return {
    c() {
      t.c(), e = se();
    },
    m(i, r) {
      t.m(i, r), j(i, e, r);
    },
    p(i, r) {
      a === (a = n(i)) && t ? t.p(i, r) : (t.d(1), t = a(i), t && (t.c(), t.m(e.parentNode, e)));
    },
    d(i) {
      i && R(e), t.d(i);
    }
  };
}
function be(o) {
  let e, n, a, t, i, r, p, l, f, h, y, k, v, C, _, u, b, m, g, O = ee(Array(
    /*numberOfPages*/
    o[15]
  )), W = [];
  for (let w = 0; w < O.length; w += 1)
    W[w] = ge(ce(o, O, w));
  return {
    c() {
      e = M("div"), n = M("span"), a = N("|<"), i = L(), r = M("span"), p = N("<"), f = L();
      for (let w = 0; w < W.length; w += 1)
        W[w].c();
      h = L(), y = M("span"), k = N(">"), C = L(), _ = M("span"), u = N(">|"), B(n, "class", t = "BonusesFirst " + /*currentPage*/
      (o[16] === 0 ? "Inactive" : "")), B(r, "class", l = "BonusesPrev " + /*currentPage*/
      (o[16] === 0 ? "Inactive" : "")), B(y, "class", v = "BonusesNext " + /*currentPage*/
      (o[16] === /*numberOfPages*/
      o[15] - 1 ? "Inactive" : "")), B(_, "class", b = "BonusesLast " + /*currentPage*/
      (o[16] === /*numberOfPages*/
      o[15] - 1 ? "Inactive" : "")), B(e, "class", "BonusesPaginationWrapper " + /*isMobile*/
      (o[20] ? "BonusesPaginationWrapperMobile" : ""));
    },
    m(w, S) {
      j(w, e, S), c(e, n), c(n, a), c(e, i), c(e, r), c(r, p), c(e, f);
      for (let E = 0; E < W.length; E += 1)
        W[E] && W[E].m(e, null);
      c(e, h), c(e, y), c(y, k), c(e, C), c(e, _), c(_, u), m || (g = [
        H(
          n,
          "click",
          /*click_handler_1*/
          o[34]
        ),
        H(
          r,
          "click",
          /*click_handler_2*/
          o[35]
        ),
        H(
          y,
          "click",
          /*click_handler_4*/
          o[37]
        ),
        H(
          _,
          "click",
          /*click_handler_5*/
          o[38]
        )
      ], m = !0);
    },
    p(w, S) {
      if (S[0] & /*currentPage*/
      65536 && t !== (t = "BonusesFirst " + /*currentPage*/
      (w[16] === 0 ? "Inactive" : "")) && B(n, "class", t), S[0] & /*currentPage*/
      65536 && l !== (l = "BonusesPrev " + /*currentPage*/
      (w[16] === 0 ? "Inactive" : "")) && B(r, "class", l), S[0] & /*currentPage, getActiveBonuses, numberOfPages*/
      8486912) {
        O = ee(Array(
          /*numberOfPages*/
          w[15]
        ));
        let E;
        for (E = 0; E < O.length; E += 1) {
          const D = ce(w, O, E);
          W[E] ? W[E].p(D, S) : (W[E] = ge(D), W[E].c(), W[E].m(e, h));
        }
        for (; E < W.length; E += 1)
          W[E].d(1);
        W.length = O.length;
      }
      S[0] & /*currentPage, numberOfPages*/
      98304 && v !== (v = "BonusesNext " + /*currentPage*/
      (w[16] === /*numberOfPages*/
      w[15] - 1 ? "Inactive" : "")) && B(y, "class", v), S[0] & /*currentPage, numberOfPages*/
      98304 && b !== (b = "BonusesLast " + /*currentPage*/
      (w[16] === /*numberOfPages*/
      w[15] - 1 ? "Inactive" : "")) && B(_, "class", b);
    },
    d(w) {
      w && R(e), ve(W, w), m = !1, ne(g);
    }
  };
}
function ge(o) {
  let e, n = (
    /*i*/
    o[52] + 1 + ""
  ), a, t, i, r;
  function p() {
    return (
      /*click_handler_3*/
      o[36](
        /*i*/
        o[52]
      )
    );
  }
  return {
    c() {
      e = M("span"), a = N(n), B(e, "class", t = "BonusesPage " + /*i*/
      (o[52] === /*currentPage*/
      o[16] ? "BonusPageActive" : ""));
    },
    m(l, f) {
      j(l, e, f), c(e, a), i || (r = H(e, "click", p), i = !0);
    },
    p(l, f) {
      o = l, f[0] & /*currentPage*/
      65536 && t !== (t = "BonusesPage " + /*i*/
      (o[52] === /*currentPage*/
      o[16] ? "BonusPageActive" : "")) && B(e, "class", t);
    },
    d(l) {
      l && R(e), i = !1, r();
    }
  };
}
function Be(o) {
  let e, n, a, t, i = (
    /*$_*/
    o[19]("forfeitBonus") + ""
  ), r, p, l, f, h = (
    /*$_*/
    o[19]("forfeitBonusCancel") + ""
  ), y, k, v, C = (
    /*$_*/
    o[19]("forfeitBonusConfirm") + ""
  ), _, u, b;
  return {
    c() {
      e = M("div"), n = M("div"), a = M("div"), t = M("p"), r = N(i), p = L(), l = M("div"), f = M("button"), y = N(h), k = L(), v = M("button"), _ = N(C), B(t, "class", "ModalText"), B(f, "class", "ModalCancel"), B(v, "class", "ModalConfirm"), B(l, "class", "ModalButtons"), B(a, "class", "ModalBody"), B(n, "class", "ModalContent"), B(e, "class", "ModalWrapper " + /*isMobile*/
      (o[20] ? "ModalWrapperMobile" : ""));
    },
    m(m, g) {
      j(m, e, g), c(e, n), c(n, a), c(a, t), c(t, r), c(a, p), c(a, l), c(l, f), c(f, y), c(l, k), c(l, v), c(v, _), u || (b = [
        H(
          f,
          "click",
          /*closeBonusModal*/
          o[25]
        ),
        H(
          v,
          "click",
          /*debouncedFunction*/
          o[27](
            /*deleteBonus*/
            o[26]
          )
        )
      ], u = !0);
    },
    p(m, g) {
      g[0] & /*$_*/
      524288 && i !== (i = /*$_*/
      m[19]("forfeitBonus") + "") && J(r, i), g[0] & /*$_*/
      524288 && h !== (h = /*$_*/
      m[19]("forfeitBonusCancel") + "") && J(y, h), g[0] & /*$_*/
      524288 && C !== (C = /*$_*/
      m[19]("forfeitBonusConfirm") + "") && J(_, C);
    },
    d(m) {
      m && R(e), u = !1, ne(b);
    }
  };
}
function to(o) {
  let e, n, a, t, i = (
    /*$_*/
    o[19]("titleBonuses") + ""
  ), r, p, l, f, h = (
    /*$_*/
    o[19]("bonusCode") + ""
  ), y, k, v, C, _, u, b = (
    /*$_*/
    o[19]("getBonus") + ""
  ), m, g, O, W, w, S, E, D = (
    /*isMobile*/
    o[20] && Qe(o)
  ), F = (
    /*invalidBonusCode*/
    o[10] && me(o)
  );
  function K(A, z) {
    return (
      /*isLoading*/
      A[8] ? $e : xe
    );
  }
  let Z = K(o), q = Z(o), P = (
    /*bonusModal*/
    o[18] && Be(o)
  );
  return {
    c() {
      e = M("div"), n = M("div"), D && D.c(), a = L(), t = M("h2"), r = N(i), p = L(), l = M("div"), f = M("label"), y = N(h), k = L(), v = M("div"), C = M("input"), _ = L(), u = M("button"), m = N(b), O = L(), F && F.c(), W = L(), q.c(), w = L(), P && P.c(), B(t, "class", "ActiveBonusesTitle " + /*isMobile*/
      (o[20] ? "ActiveBonusesTitleNone" : "")), B(f, "for", "BonusCode"), B(C, "class", "BonusCodeInput " + /*isMobile*/
      (o[20] ? "BonusCodeInputMobile" : "")), B(C, "type", "text"), B(C, "id", "BonusCode"), B(u, "class", "SubmitBonusCode " + /*isMobile*/
      (o[20] ? "SubmitBonusCodeMobile" : "")), u.disabled = g = /*invalidBonusField*/
      o[9] || /*isLoading*/
      o[8], B(v, "class", "BonusCodeWrapper " + /*isMobile*/
      (o[20] ? "BonusCodeWrapperMobile" : "")), B(l, "class", "BonusCodeContainer " + /*isMobile*/
      (o[20] ? "BonusCodeContainerMobile" : "")), B(n, "class", "ActiveBonusesWrapper " + /*isMobile*/
      (o[20] ? "ActiveBonusesWrapperMobile" : ""));
    },
    m(A, z) {
      j(A, e, z), c(e, n), D && D.m(n, null), c(n, a), c(n, t), c(t, r), c(n, p), c(n, l), c(l, f), c(f, y), c(l, k), c(l, v), c(v, C), le(
        C,
        /*bonusCode*/
        o[11]
      ), c(v, _), c(v, u), c(u, m), c(l, O), F && F.m(l, null), c(n, W), q.m(n, null), c(e, w), P && P.m(e, null), o[39](e), S || (E = [
        H(
          C,
          "input",
          /*input_input_handler*/
          o[33]
        ),
        H(
          C,
          "keyup",
          /*validateBonusCode*/
          o[22]
        ),
        H(
          u,
          "click",
          /*claimBonus*/
          o[24]
        )
      ], S = !0);
    },
    p(A, z) {
      /*isMobile*/
      A[20] && D.p(A, z), z[0] & /*$_*/
      524288 && i !== (i = /*$_*/
      A[19]("titleBonuses") + "") && J(r, i), z[0] & /*$_*/
      524288 && h !== (h = /*$_*/
      A[19]("bonusCode") + "") && J(y, h), z[0] & /*bonusCode*/
      2048 && C.value !== /*bonusCode*/
      A[11] && le(
        C,
        /*bonusCode*/
        A[11]
      ), z[0] & /*$_*/
      524288 && b !== (b = /*$_*/
      A[19]("getBonus") + "") && J(m, b), z[0] & /*invalidBonusField, isLoading*/
      768 && g !== (g = /*invalidBonusField*/
      A[9] || /*isLoading*/
      A[8]) && (u.disabled = g), /*invalidBonusCode*/
      A[10] ? F ? F.p(A, z) : (F = me(A), F.c(), F.m(l, null)) : F && (F.d(1), F = null), Z === (Z = K(A)) && q ? q.p(A, z) : (q.d(1), q = Z(A), q && (q.c(), q.m(n, null))), /*bonusModal*/
      A[18] ? P ? P.p(A, z) : (P = Be(A), P.c(), P.m(e, null)) : P && (P.d(1), P = null);
    },
    i: oe,
    o: oe,
    d(A) {
      A && R(e), D && D.d(), F && F.d(), q.d(), P && P.d(), o[39](null), S = !1, ne(E);
    }
  };
}
let ao = "status=active", Y = 6;
function ro(o, e, n) {
  let a;
  Oe(o, Je, (d) => n(19, a = d));
  let { endpoint: t = "" } = e, { session: i = "" } = e, { playerid: r = "" } = e, { lang: p = "en" } = e, { currency: l = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: h = "" } = e, { mbsource: y } = e, { translationurl: k = "" } = e, { currencylocale: v = "" } = e, { dateformat: C = "" } = e, _ = !1, u, b = window.navigator.userAgent, m = qe(b) !== "PC", g = !0, O = !1, W = "", w = 0, S = 0, E = 0, D = 0, F = 0, K = [], Z, q = "", P = !1;
  const A = () => {
    fetch(k).then((I) => I.json()).then((I) => {
      Object.keys(I).forEach((G) => {
        ue(G, I[G]);
      });
    }).catch((I) => {
      console.log(I);
    });
  };
  Object.keys(de).forEach((d) => {
    ue(d, de[d]);
  });
  const z = (d) => {
    if (d.data)
      switch (d.data.type) {
        case "DeleteActiveBonus":
          q = d.data.bonuswalletid, n(18, P = !0);
          break;
      }
  };
  function _e(d, I) {
    return (...G) => {
      clearTimeout(Z), Z = setTimeout(
        () => {
          d.apply(this, G);
        },
        I
      );
    };
  }
  const te = () => {
    window.postMessage(
      {
        type: "PlayerAccountMenuActive",
        isMobile: m
      },
      window.location.href
    );
  }, ye = () => !!W, Ce = () => {
    n(9, g = !ye());
  }, X = (d) => {
    n(8, _ = !0);
    let I = {
      method: "GET",
      headers: { "X-SessionId": i }
    }, G = new URL(`${t}/v1/player/${r}/bonusWallet`);
    G.searchParams.append("filter", ao), G.searchParams.append("pagination", `offset=${d},limit=${Y}`), fetch(G, I).then((V) => V.json()).then(
      (V) => {
        Array.isArray(V.items) && V.items.forEach((T) => {
          var re, ie;
          const $ = (ie = (re = T == null ? void 0 : T.extension) == null ? void 0 : re.bonus) == null ? void 0 : ie.presentation;
          $ && (T.termsandconditionsurl = $.url, T.termsandconditionsdescription = $.description, T.termsandconditionsasset = $.assets);
        }), n(15, D = Math.ceil(V.total / Y)), d - Y >= 0 && n(12, w = d - Y), d + Y < V.total && n(13, S = d + Y), n(14, E = (D - 1) * Y), n(16, F = d / Y), n(17, K = (V == null ? void 0 : V.items) || []), v && K.forEach((T) => {
          T.fulfilledWR = x(T.fulfilledWR), T.originalWageringRequirement = x(T.originalWageringRequirement), T.currentAmount = x(T.currentAmount), T.extension.grantedPlayerCurrencyAmount = x(T.extension.grantedPlayerCurrencyAmount);
        }), window.scrollTo({ top: 0, behavior: "smooth" });
      },
      (V) => {
        console.error(V);
      }
    ).finally(() => {
      n(8, _ = !1);
    });
  }, x = (d) => new Intl.NumberFormat(v, { style: "currency", currency: l }).format(d).replace(/\s/g, ""), he = () => {
    n(8, _ = !0);
    let d = new URL(`${t}/v1/player/${r}/claimbonus`), I = {
      method: "POST",
      headers: {
        "X-SessionId": i,
        accept: "application/json"
      }
    };
    d.searchParams.append("currency", l), d.searchParams.append("bonusCode", W), fetch(d.href, I).then((G) => {
      G.status == 200 ? (n(10, O = !1), X(0), window.postMessage(
        {
          type: "WidgetNotification",
          data: {
            type: "success",
            message: a("bonusClaimSuccessMessage")
          }
        },
        window.location.href
      ), typeof gtag == "function" && gtag("event", "ClaimBonus", {
        context: "PlayerActiveBonuses",
        userId: `${r || "Not logged in"}`,
        bonusCode: `${W}`
      })) : (n(10, O = !0), window.postMessage(
        {
          type: "WidgetNotification",
          data: {
            type: "error",
            message: a("bonusClaimErrorMessage")
          }
        },
        window.location.href
      ));
    }).finally(() => {
      n(8, _ = !1);
    });
  }, ae = () => {
    window.postMessage({ type: "EnableScroll" }, window.location.href), n(18, P = !1);
  }, we = () => {
    let d = {
      method: "DELETE",
      headers: {
        "X-SessionId": i,
        "Content-Type": "application/json",
        Accept: "application/json"
      }
    }, I = new URL(`${t}/v1/player/${r}/bonusWallet`);
    I.searchParams.append("bonusWalletID", q), fetch(I, d).then((G) => {
      G.status == 200 && (X(0), ae());
    });
  }, Me = () => {
    Ze(p);
  };
  function ke(d) {
    return _e(d, 1e3);
  }
  Ge(() => (window.addEventListener("message", z, !1), () => {
    window.removeEventListener("message", z);
  }));
  const Ae = () => te();
  function We() {
    W = this.value, n(11, W);
  }
  const Ee = () => X(0), Pe = () => X(w), Fe = (d) => X(d * Y), Se = () => X(S), Ie = () => X(E);
  function ze(d) {
    Ve[d ? "unshift" : "push"](() => {
      u = d, n(7, u);
    });
  }
  return o.$$set = (d) => {
    "endpoint" in d && n(28, t = d.endpoint), "session" in d && n(29, i = d.session), "playerid" in d && n(30, r = d.playerid), "lang" in d && n(0, p = d.lang), "currency" in d && n(31, l = d.currency), "clientstyling" in d && n(1, f = d.clientstyling), "clientstylingurl" in d && n(2, h = d.clientstylingurl), "mbsource" in d && n(3, y = d.mbsource), "translationurl" in d && n(4, k = d.translationurl), "currencylocale" in d && n(5, v = d.currencylocale), "dateformat" in d && n(6, C = d.dateformat);
  }, o.$$.update = () => {
    o.$$.dirty[0] & /*lang*/
    1 && p && Me(), o.$$.dirty[0] & /*session, playerid, endpoint*/
    1879048192 && i && r && t && X(0), o.$$.dirty[0] & /*clientstyling, customStylingContainer*/
    130 && f && u && Ue(u, f), o.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
    132 && h && u && He(u, h), o.$$.dirty[0] & /*mbsource, customStylingContainer*/
    136 && y && u && Xe(u, `${y}.Style`), o.$$.dirty[0] & /*translationurl*/
    16 && k && A();
  }, [
    p,
    f,
    h,
    y,
    k,
    v,
    C,
    u,
    _,
    g,
    O,
    W,
    w,
    S,
    E,
    D,
    F,
    K,
    P,
    a,
    m,
    te,
    Ce,
    X,
    he,
    ae,
    we,
    ke,
    t,
    i,
    r,
    l,
    Ae,
    We,
    Ee,
    Pe,
    Fe,
    Se,
    Ie,
    ze
  ];
}
class io extends Ne {
  constructor(e) {
    super(), Re(
      this,
      e,
      ro,
      to,
      je,
      {
        endpoint: 28,
        session: 29,
        playerid: 30,
        lang: 0,
        currency: 31,
        clientstyling: 1,
        clientstylingurl: 2,
        mbsource: 3,
        translationurl: 4,
        currencylocale: 5,
        dateformat: 6
      },
      Ke,
      [-1, -1]
    );
  }
  get endpoint() {
    return this.$$.ctx[28];
  }
  set endpoint(e) {
    this.$$set({ endpoint: e }), U();
  }
  get session() {
    return this.$$.ctx[29];
  }
  set session(e) {
    this.$$set({ session: e }), U();
  }
  get playerid() {
    return this.$$.ctx[30];
  }
  set playerid(e) {
    this.$$set({ playerid: e }), U();
  }
  get lang() {
    return this.$$.ctx[0];
  }
  set lang(e) {
    this.$$set({ lang: e }), U();
  }
  get currency() {
    return this.$$.ctx[31];
  }
  set currency(e) {
    this.$$set({ currency: e }), U();
  }
  get clientstyling() {
    return this.$$.ctx[1];
  }
  set clientstyling(e) {
    this.$$set({ clientstyling: e }), U();
  }
  get clientstylingurl() {
    return this.$$.ctx[2];
  }
  set clientstylingurl(e) {
    this.$$set({ clientstylingurl: e }), U();
  }
  get mbsource() {
    return this.$$.ctx[3];
  }
  set mbsource(e) {
    this.$$set({ mbsource: e }), U();
  }
  get translationurl() {
    return this.$$.ctx[4];
  }
  set translationurl(e) {
    this.$$set({ translationurl: e }), U();
  }
  get currencylocale() {
    return this.$$.ctx[5];
  }
  set currencylocale(e) {
    this.$$set({ currencylocale: e }), U();
  }
  get dateformat() {
    return this.$$.ctx[6];
  }
  set dateformat(e) {
    this.$$set({ dateformat: e }), U();
  }
}
Ye(io, { endpoint: {}, session: {}, playerid: {}, lang: {}, currency: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, currencylocale: {}, dateformat: {} }, [], [], !0);
export {
  io as default
};
