var at = Object.defineProperty, rt = Object.defineProperties;
var it = Object.getOwnPropertyDescriptors;
var Me = Object.getOwnPropertySymbols;
var nt = Object.prototype.hasOwnProperty, lt = Object.prototype.propertyIsEnumerable;
var Ie = (a, e, t) => e in a ? at(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, Ee = (a, e) => {
  for (var t in e || (e = {}))
    nt.call(e, t) && Ie(a, t, e[t]);
  if (Me)
    for (var t of Me(e))
      lt.call(e, t) && Ie(a, t, e[t]);
  return a;
}, He = (a, e) => rt(a, it(e));
import { a as ot, $ as st, S as dt, i as mt, s as ut, f as J, b as ct, n as ke, d as oe, t as z, q as ee, c as se, m as r, w as we, e as s, p as M, u as S, r as n, g as gt, h as pt, o as yt, x as me, k as Ge, l as Le, v as Oe, N as Ce, P as ft, T as ht, j as Fe, Q as bt, K as wt, z as vt, A as Pt, B as _t, C as Et, D as Ft } from "./PlayerAccountController-CKaOyxPs.js";
import { f as de, s as kt, p as Se } from "./PlayerBonusHistory-CkarFQt0.js";
import "./PlayerAccountGamingLimits-k6RYNNnE.js";
function Te(a, e) {
  ot(a, e);
}
function Gt(a) {
  st.set(a);
}
const Re = {
  en: {
    titleGamingHistory: "Gaming History",
    return: "Return",
    previous: "Prev",
    next: "Next",
    dateFrom: "From:",
    dateTo: "To:",
    dateFilter: "Filter",
    numberOfResults: "Show:",
    noRecord: "You haven't played any games so far.",
    transactionId: "Transaction ID",
    date: "Date",
    gameName: "Game Name",
    stake: "Stake",
    InternalError: "Error: The difference between Start Date and End Date is greater than 180 days",
    InvalidSession: "Error: Session is expired.",
    genericError: "Something went wrong!"
  },
  "zh-hk": {
    titleGamingHistory: "遊戲歷史",
    return: "回來",
    previous: "上一頁",
    next: "下一個",
    dateFrom: "從：",
    dateTo: "至：",
    dateFilter: "篩選",
    numberOfResults: "節目：",
    noRecord: "到目前為止，您還沒有玩任何遊戲。",
    transactionId: "交易編號",
    date: "日期",
    gameName: "遊戲名稱",
    stake: "賭注",
    InternalError: "错误：开始日期与结束日期之间的差距超过180天",
    InvalidSession: "错误：会话已过期。",
    genericError: "出了些问题！"
  },
  fr: {
    titleGamingHistory: "Historique des jeux",
    return: "Revenir",
    previous: "Précedent",
    next: "Suivant",
    dateFrom: "De:",
    dateTo: "A:",
    dateFilter: "Filtre",
    numberOfResults: "Afficher:",
    noRecord: "Vous n'avez joué à aucun jeu jusqu'à présent.",
    transactionId: "Transaction ID",
    date: "Date",
    gameName: "Nom du jeu",
    stake: "Mise",
    InternalError: "Erreur : La différence entre la date de début et la date de fin est supérieure à 180 jours",
    InvalidSession: "Erreur : La session est expirée.",
    genericError: "Quelque chose s'est mal passé !"
  },
  ro: {
    titleGamingHistory: "Istoric jocuri",
    return: "Înapoi la meniu",
    previous: "Înapoi",
    next: "Înainte",
    dateFrom: "De la",
    dateTo: "La",
    dateFilter: "Filtru",
    numberOfResults: "Arată",
    noRecord: "Nu ai niciun istoric de jocuri în acest moment.",
    InternalError: "Eroare: Diferența dintre data de început și data de sfârșit este mai mare de 180 de zile",
    InvalidSession: "Eroare: Sesiunea a expirat.",
    genericError: "Ceva nu a funcționat corect!"
  },
  es: {
    titleGamingHistory: "Historial de apuestas",
    return: "Regresar",
    previous: "Previo",
    next: "Siguiente",
    dateFrom: "Desde:",
    dateTo: "A:",
    dateFilter: "Filtro",
    numberOfResults: "Mostrar:",
    noRecord: "Aún no ha jugado ningún juego",
    transactionId: "ID de Transacción",
    date: "Fecha",
    gameName: "Nombre del juego",
    stake: "Apostado",
    InternalError: "Error: La diferencia entre la fecha de inicio y la fecha de fin es superior a 180 días",
    InvalidSession: "Error: La sesión ha expirado.",
    genericError: "¡Algo salió mal!"
  },
  pt: {
    titleGamingHistory: "Histórico de jogos",
    return: "Voltar ao menu",
    previous: "Anterior",
    next: "Próximo",
    dateFrom: "A partir de:",
    dateTo: "Para:",
    dateFilter: "Filtro:",
    numberOfResults: "Mostrar:",
    noRecord: "Você não jogou nenhum jogo até agora.",
    InternalError: "Erro: A diferença entre a Data de Início e a Data de Fim é superior a 180 dias",
    InvalidSession: "Erro: A sessão expirou.",
    genericError: "Algo deu errado!"
  },
  hr: {
    titleGamingHistory: "Povijest igranja",
    return: "Povratak",
    previous: "Prethodno",
    next: "Slijedeće",
    dateFrom: "Od:",
    dateTo: "Do:",
    dateFilter: "Filter",
    numberOfResults: "Prikaži:",
    noRecord: "Do sada niste igrali nijednu igru.",
    transactionId: "ID transakcije",
    date: "Datum",
    gameName: "Naziv igre",
    stake: "Ulog",
    InternalError: "Greška: Razlika između početnog i završnog datuma veća je od 180 dana",
    InvalidSession: "Greška: Sesija je istekla.",
    genericError: "Došlo je do greške!"
  },
  "pt-br": {
    titleGamingHistory: "História do jogo",
    return: "Volte",
    previous: "Anterior",
    next: "Seguindo",
    dateFrom: "De:",
    dateTo: "PARA:",
    dateFilter: "Filtro",
    numberOfResults: "Mostrar:",
    noRecord: "Ele não jogou até agora.",
    transactionId: "ID da transação",
    date: "Data",
    gameName: "Nome do jogo",
    stake: "Valor da aposta",
    InternalError: "Erro: A diferença entre a Data de Início e a Data de Fim é superior a 180 dias",
    InvalidSession: "Erro: A sessão expirou.",
    genericError: "Algo deu errado!"
  },
  "es-mx": {
    titleGamingHistory: "Historial de juego",
    return: "Regresar",
    previous: "Prev",
    next: "Siguiente",
    dateFrom: "De:",
    dateTo: "A:",
    dateFilter: "Filtro",
    numberOfResults: "Mostrar:",
    noRecord: "No ha jugado hasta el momento.",
    transactionId: "ID de transacción",
    date: "Fecha",
    gameName: "Nombre de Juego",
    stake: "Monto de apuesta",
    InternalError: "Error: La diferencia entre la fecha de inicio y la fecha de fin es mayor a 180 días",
    InvalidSession: "Error: La sesión ha expirado.",
    genericError: "¡Algo salió mal!"
  },
  tr: {
    titleGamingHistory: "Oyun Tarihi",
    return: "Geri dönmek",
    previous: "Önceki",
    next: "Sonraki",
    dateFrom: "İtibaren:",
    dateTo: "İle:",
    dateFilter: "Filtre",
    numberOfResults: "Göstermek:",
    noRecord: "Şu ana kadar hiçbir oyun oynamadınız.",
    transactionId: "İşlem Kimliği",
    date: "Tarih",
    gameName: "Oyun Adı",
    stake: "Bahis",
    InternalError: "Hata: Başlangıç ​​tarihi ile bitiş tarihi arasındaki fark 180 günden fazla",
    InvalidSession: "Hata: Oturumun süresi doldu.",
    genericError: "Bir şeyler yanlış gitti!"
  },
  "en-us": {
    titleGamingHistory: "Gaming History",
    return: "Return",
    previous: "Prev",
    next: "Next",
    dateFrom: "From:",
    dateTo: "To:",
    dateFilter: "Filter",
    numberOfResults: "Show:",
    noRecord: "You haven't played any games so far.",
    transactionId: "Transaction ID",
    date: "Date",
    gameName: "Game Name",
    stake: "Stake",
    InternalError: "Error: The difference between Start Date and End Date is greater than 180 days",
    InvalidSession: "Error: Session is expired.",
    genericError: "Something went wrong!"
  },
  de: {
    titleGamingHistory: "Spielhistorie",
    return: "Zurück",
    previous: "Zurück",
    next: "Weiter",
    dateFrom: "Von:",
    dateTo: "Bis:",
    dateFilter: "Filtern",
    numberOfResults: "Anzeigen:",
    noRecord: "Sie haben bisher keine Spiele gespielt.",
    transactionId: "Transaktions-ID",
    date: "Datum",
    gameName: "Spielname",
    stake: "Einsatz",
    InternalError: "Fehler: Der Unterschied zwischen dem Startdatum und dem Enddatum ist größer als 180 Tage",
    InvalidSession: "Fehler: Die Sitzung ist abgelaufen.",
    genericError: "Etwas ist schief gelaufen!"
  }
};
function Ht(a) {
  ct(a, "svelte-5ec3ad", `.PlayerGamingHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 10px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px}.PlayerGamingHistoryWrapper .PlayerGamingHistoryTitle{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerGamingDateContainer{display:inline-flex;gap:20px}.PlayerGamingHistoryFilterWrapper,.PlayerGamingDateWrapper{display:inline-flex;align-items:center;gap:10px}.PlayerGamingHistoryFilterWrapper{margin-bottom:20px;gap:20px;width:100%}.PlayerGamingItemCountContainer{margin-left:auto}.PlayerGamingHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.PlayerGamingHistoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingHistoryTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingHistoryEmpty{color:var(--emw--color-typography-cotrast, #444444)}.PlayerGamingHistoryContainer{width:100%;row-gap:30px;color:var(--emw--color-typography-cotrast, #444444);background:var(--emw--color-white, #FFFFFF);box-shadow:0px 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-large, 10px);padding:10px 0}.PlayerGamingHistoryContainer table{border:0}.PlayerGamingHistoryContainer table tr{border:0;background:var(--emw--color-white, #FFFFFF)}.PlayerGamingHistoryContainer table tr:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.PlayerGamingHistoryContainer thead tr{border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.PlayerGamingHistoryContainer thead th{font-size:var(--emw--);font-weight:400}.PlayerGamingHistoryItemCount{padding:8px;border-radius:var(--emw--border-radius-small, 5px);border:1px solid var(--emw--color-gray-100, #E6E6E6);-webkit-appearance:none;-moz-appearance:none;appearance:none;width:60px;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center;cursor:pointer}.PlayerGamingHistoryItemCount:focus,.PlayerGamingHistoryItemCount :focus-within,.PlayerGamingHistoryItemCount :focus-visible,.PlayerGamingHistoryItemCount :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));outline:none}.PlayerPaginationControls{background:transparent;border:none;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;gap:8px;cursor:pointer}.PlayerPaginationControls.PlayerPaginationControlsDisabled{color:var(--emw--color-gray-100, #E6E6E6)}.PlayerPaginationControlsArea{margin-top:30px;display:flex;justify-content:center}.PlayerGamingHistoryFilterWrapper span{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-light, 300);font-size:var(--emw--font-size-small, 14px)}.PlayerGamingHistoryFilterWrapper input{padding:7px;border-radius:var(--emw--border-radius-small, 5px);border:1px solid var(--emw--color-gray-100, #E6E6E6)}.PlayerGamingHistoryFilterButton{border:none;background:var(--emw--color-primary, #23B04E);color:var(--emw--button-text-color, #FFFFFF);border-radius:var(--emw--button-border-radius, 10px);width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;padding:10px;cursor:pointer}.PlayerGamingHistoryFilterButton:hover{filter:brightness(0.9)}.PlayerGamingHistoryFilterButton:disabled{background-image:none;background-color:var(--emw--button-disabled-text-color, #cccccc);color:var(--emw--button-disabled-text-color, #666);cursor:not-allowed;opacity:0.7;pointer-events:none;border:2px solid var(--emw--button-disabled-border-color, #aaaaaa)}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper{align-items:flex-start;gap:10px;flex-direction:column}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateContainer{gap:0;flex-direction:row;width:100%;justify-content:space-between}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper{display:block;gap:0;align-items:end;width:48%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper span{display:block;margin-bottom:5px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper input{width:100px;padding:12px 7px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingHistoryFilterButton{width:100%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryTitle{font-size:var(--emw--size-standard, 16px);font-weight:var(--emw--font-weigh-normal, 400)}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea{justify-content:center;gap:30px}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControls{align-items:center}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.PlayerGamingHistoryWrapperMobile .VaadinDatePicker{width:100%}table{border:1px solid var(--emw--color-gray-100, #E6E6E6);border-collapse:collapse;margin:0;padding:0;width:100%;table-layout:fixed}table tr{border:1px solid var(--emw--color-gray-100, #E6E6E6)}table th,table td{padding:10px;text-align:center}table th:first-child,table td:first-child{padding-left:20px}table th:first-child span,table td:first-child span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}table th:last-child,table td:last-child{padding-right:20px}table th{font-size:0.85em;letter-spacing:0.1em;text-align:left}table tr td{font-size:12px;font-weight:300;text-align:left}@media screen and (max-width: 1024px){.PlayerGamingHistoryWrapper{padding:20px}.PlayerGamingHistoryContainer{box-shadow:none;padding:0}table{border:0}tbody{background:var(--emw--color-gray-50, #F9F8F8)}table thead{border:none;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}table tr{border-bottom:3px solid var(--emw--color-gray-100, #E6E6E6);display:block;border-radius:var(--emw--border-radius-small, 5px);box-shadow:0px 3px 12px var(--emw--color-gray-100, #E6E6E6);padding:10px}table tr:not(:last-child){margin-bottom:0.625em}table tr th,table tr td{border:0;border-radius:var(--emw--border-radius-small, 5px)}table tr th:nth-child(even),table tr td:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}table th:first-child,table td:first-child{padding-left:10px}table th:last-child,table td:last-child{padding-right:10px}table td{border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6);display:block;font-size:0.8em;text-align:right;display:flex}table th:first-child span,table td:first-child span{width:50%;text-align:right}table td::before{content:attr(data-label);float:left;font-weight:bold;text-transform:uppercase;flex:1}table td:last-child{border-bottom:0}}.DataLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.DataLoader: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 Ae(a, e, t) {
  const d = a.slice();
  return d[70] = e[t], d;
}
function je(a, e, t) {
  const d = a.slice();
  return d[73] = e[t], d;
}
function Dt(a) {
  let e, t, d, o, w, p, E, D, y, u, m = (
    /*$_*/
    a[16]("titleGamingHistory") + ""
  ), _, l, T;
  return {
    c() {
      e = s("div"), t = me("svg"), d = me("defs"), o = me("style"), w = S(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), p = me("g"), E = me("g"), D = me("path"), y = M(), u = s("h2"), _ = S(m), n(D, "class", "aaa"), n(D, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), n(D, "transform", "translate(15 15) rotate(180)"), n(E, "transform", "translate(20 158)"), n(p, "transform", "translate(-20 -158)"), n(t, "xmlns", "http://www.w3.org/2000/svg"), n(t, "width", "15"), n(t, "height", "15"), n(t, "viewBox", "0 0 15 15"), n(u, "class", "PlayerGamingHistoryTitleMobile"), n(u, "part", "PlayerGamingHistoryTitleMobile"), n(e, "class", "MenuReturnButton"), n(e, "part", "MenuReturnButton");
    },
    m(C, F) {
      se(C, e, F), r(e, t), r(t, d), r(d, o), r(o, w), r(t, p), r(p, E), r(E, D), r(e, y), r(e, u), r(u, _), l || (T = we(
        e,
        "click",
        /*click_handler*/
        a[39]
      ), l = !0);
    },
    p(C, F) {
      F[0] & /*$_*/
      65536 && m !== (m = /*$_*/
      C[16]("titleGamingHistory") + "") && z(_, m);
    },
    d(C) {
      C && oe(e), l = !1, T();
    }
  };
}
function ze(a) {
  let e, t, d = (
    /*$_*/
    a[16]("numberOfResults") + ""
  ), o, w, p, E, D, y = Ge(
    /*gameHistoryItems*/
    a[18]
  ), u = [];
  for (let m = 0; m < y.length; m += 1)
    u[m] = Ne(je(a, y, m));
  return {
    c() {
      e = s("div"), t = s("span"), o = S(d), w = M(), p = s("select");
      for (let m = 0; m < u.length; m += 1)
        u[m].c();
      n(p, "class", "PlayerGamingHistoryItemCount"), /*gameHistoryLimit*/
      a[11] === void 0 && ft(() => (
        /*select_change_handler*/
        a[43].call(p)
      )), n(e, "class", "PlayerGamingItemCountContainer");
    },
    m(m, _) {
      se(m, e, _), r(e, t), r(t, o), r(e, w), r(e, p);
      for (let l = 0; l < u.length; l += 1)
        u[l] && u[l].m(p, null);
      Ce(
        p,
        /*gameHistoryLimit*/
        a[11],
        !0
      ), E || (D = [
        we(
          p,
          "change",
          /*select_change_handler*/
          a[43]
        ),
        we(
          p,
          "change",
          /*change_handler*/
          a[44]
        )
      ], E = !0);
    },
    p(m, _) {
      if (_[0] & /*$_*/
      65536 && d !== (d = /*$_*/
      m[16]("numberOfResults") + "") && z(o, d), _[0] & /*gameHistoryItems*/
      262144) {
        y = Ge(
          /*gameHistoryItems*/
          m[18]
        );
        let l;
        for (l = 0; l < y.length; l += 1) {
          const T = je(m, y, l);
          u[l] ? u[l].p(T, _) : (u[l] = Ne(T), u[l].c(), u[l].m(p, null));
        }
        for (; l < u.length; l += 1)
          u[l].d(1);
        u.length = y.length;
      }
      _[0] & /*gameHistoryLimit, gameHistoryItems*/
      264192 && Ce(
        p,
        /*gameHistoryLimit*/
        m[11]
      );
    },
    d(m) {
      m && oe(e), Le(u, m), E = !1, Oe(D);
    }
  };
}
function Ne(a) {
  let e, t = (
    /*item*/
    a[73] + ""
  ), d;
  return {
    c() {
      e = s("option"), d = S(t), e.__value = /*item*/
      a[73], wt(e, e.__value);
    },
    m(o, w) {
      se(o, e, w), r(e, d);
    },
    p: ke,
    d(o) {
      o && oe(e);
    }
  };
}
function xt(a) {
  let e, t = (
    /*$_*/
    a[16]("noRecord") + ""
  ), d;
  return {
    c() {
      e = s("p"), d = S(t), n(e, "class", "PlayerGamingHistoryEmpty");
    },
    m(o, w) {
      se(o, e, w), r(e, d);
    },
    p(o, w) {
      w[0] & /*$_*/
      65536 && t !== (t = /*$_*/
      o[16]("noRecord") + "") && z(d, t);
    },
    d(o) {
      o && oe(e);
    }
  };
}
function Mt(a) {
  let e, t;
  return {
    c() {
      e = s("p"), t = S(
        /*errorMessage*/
        a[12]
      ), n(e, "class", "PlayerGamingHistoryEmpty");
    },
    m(d, o) {
      se(d, e, o), r(e, t);
    },
    p(d, o) {
      o[0] & /*errorMessage*/
      4096 && z(
        t,
        /*errorMessage*/
        d[12]
      );
    },
    d(d) {
      d && oe(e);
    }
  };
}
function It(a) {
  let e, t, d, o, w, p = (
    /*$_*/
    a[16]("transactionId") + ""
  ), E, D, y, u = (
    /*$_*/
    a[16]("date") + ""
  ), m, _, l, T = (
    /*$_*/
    a[16]("gameName") + ""
  ), C, F, X, N = (
    /*$_*/
    a[16]("stake") + ""
  ), $, te, B, Q = (
    /*$_*/
    a[16]("return") + ""
  ), G, ae, W, V, x, I, U, j, R, Y, Z, H = (
    /*$_*/
    a[16]("previous") + ""
  ), c, b, P, g, v, pe, ie = (
    /*$_*/
    a[16]("next") + ""
  ), ye, _e, ue, ne, fe, he, le, ve, be, ce = Ge(
    /*gamingHistoryData*/
    a[15]
  ), q = [];
  for (let f = 0; f < ce.length; f += 1)
    q[f] = Be(Ae(a, ce, f));
  return {
    c() {
      e = s("div"), t = s("table"), d = s("thead"), o = s("tr"), w = s("th"), E = S(p), D = M(), y = s("th"), m = S(u), _ = M(), l = s("th"), C = S(T), F = M(), X = s("th"), $ = S(N), te = M(), B = s("th"), G = S(Q), ae = M(), W = s("tbody");
      for (let f = 0; f < q.length; f += 1)
        q[f].c();
      V = M(), x = s("div"), I = s("button"), U = me("svg"), j = me("path"), Y = M(), Z = s("span"), c = S(H), g = M(), v = s("button"), pe = s("span"), ye = S(ie), _e = M(), ue = me("svg"), ne = me("path"), n(e, "class", "PlayerGamingHistoryContainer"), n(j, "fill", R = /*previousPage*/
      a[8] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), n(j, "class", "a"), n(j, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), n(j, "transform", "translate(19.246 -6.188) rotate(90)"), n(U, "xmlns", "http://www.w3.org/2000/svg"), n(U, "width", "8"), n(U, "height", "13.992"), n(U, "viewBox", "0 0 8 13.992"), n(Z, "class", "PlayerPaginationControlsText"), n(I, "class", b = "PlayerPaginationControls " + (/*previousPage*/
      a[8] ? "" : "PlayerPaginationControlsDisabled")), I.disabled = P = /*previousPage*/
      !a[8], n(pe, "class", "PlayerPaginationControlsText"), n(ne, "fill", fe = /*nextPage*/
      a[7] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), n(ne, "class", "a"), n(ne, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), n(ne, "transform", "translate(-11.246 20.179) rotate(-90)"), n(ue, "xmlns", "http://www.w3.org/2000/svg"), n(ue, "width", "8"), n(ue, "height", "13.992"), n(ue, "viewBox", "0 0 8 13.992"), n(v, "class", he = "PlayerPaginationControls " + (/*nextPage*/
      a[7] ? "" : "PlayerPaginationControlsDisabled")), v.disabled = le = /*nextPage*/
      !a[7], n(x, "class", "PlayerPaginationControlsArea");
    },
    m(f, A) {
      se(f, e, A), r(e, t), r(t, d), r(d, o), r(o, w), r(w, E), r(o, D), r(o, y), r(y, m), r(o, _), r(o, l), r(l, C), r(o, F), r(o, X), r(X, $), r(o, te), r(o, B), r(B, G), r(t, ae), r(t, W);
      for (let L = 0; L < q.length; L += 1)
        q[L] && q[L].m(W, null);
      se(f, V, A), se(f, x, A), r(x, I), r(I, U), r(U, j), r(I, Y), r(I, Z), r(Z, c), r(x, g), r(x, v), r(v, pe), r(pe, ye), r(v, _e), r(v, ue), r(ue, ne), ve || (be = [
        we(
          I,
          "click",
          /*click_handler_2*/
          a[45]
        ),
        we(
          v,
          "click",
          /*click_handler_3*/
          a[46]
        )
      ], ve = !0);
    },
    p(f, A) {
      if (A[0] & /*$_*/
      65536 && p !== (p = /*$_*/
      f[16]("transactionId") + "") && z(E, p), A[0] & /*$_*/
      65536 && u !== (u = /*$_*/
      f[16]("date") + "") && z(m, u), A[0] & /*$_*/
      65536 && T !== (T = /*$_*/
      f[16]("gameName") + "") && z(C, T), A[0] & /*$_*/
      65536 && N !== (N = /*$_*/
      f[16]("stake") + "") && z($, N), A[0] & /*$_*/
      65536 && Q !== (Q = /*$_*/
      f[16]("return") + "") && z(G, Q), A[0] & /*$_, renderAmount, gamingHistoryData, formatDate*/
      12681216) {
        ce = Ge(
          /*gamingHistoryData*/
          f[15]
        );
        let L;
        for (L = 0; L < ce.length; L += 1) {
          const Pe = Ae(f, ce, L);
          q[L] ? q[L].p(Pe, A) : (q[L] = Be(Pe), q[L].c(), q[L].m(W, null));
        }
        for (; L < q.length; L += 1)
          q[L].d(1);
        q.length = ce.length;
      }
      A[0] & /*previousPage*/
      256 && R !== (R = /*previousPage*/
      f[8] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && n(j, "fill", R), A[0] & /*$_*/
      65536 && H !== (H = /*$_*/
      f[16]("previous") + "") && z(c, H), A[0] & /*previousPage*/
      256 && b !== (b = "PlayerPaginationControls " + (/*previousPage*/
      f[8] ? "" : "PlayerPaginationControlsDisabled")) && n(I, "class", b), A[0] & /*previousPage*/
      256 && P !== (P = /*previousPage*/
      !f[8]) && (I.disabled = P), A[0] & /*$_*/
      65536 && ie !== (ie = /*$_*/
      f[16]("next") + "") && z(ye, ie), A[0] & /*nextPage*/
      128 && fe !== (fe = /*nextPage*/
      f[7] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && n(ne, "fill", fe), A[0] & /*nextPage*/
      128 && he !== (he = "PlayerPaginationControls " + (/*nextPage*/
      f[7] ? "" : "PlayerPaginationControlsDisabled")) && n(v, "class", he), A[0] & /*nextPage*/
      128 && le !== (le = /*nextPage*/
      !f[7]) && (v.disabled = le);
    },
    d(f) {
      f && (oe(e), oe(V), oe(x)), Le(q, f), ve = !1, Oe(be);
    }
  };
}
function Ct(a) {
  let e;
  return {
    c() {
      e = s("div"), n(e, "class", "DataLoader");
    },
    m(t, d) {
      se(t, e, d);
    },
    p: ke,
    d(t) {
      t && oe(e);
    }
  };
}
function Be(a) {
  var Z, H;
  let e, t, d, o = (
    /*gamingHistoryDataset*/
    a[70].roundId + ""
  ), w, p, E, D, y, u, m = (
    /*formatDate*/
    a[22](
      /*gamingHistoryDataset*/
      a[70]
    ) + ""
  ), _, l, T, C, F, X = (
    /*gamingHistoryDataset*/
    ((H = (Z = a[70].gameModel) == null ? void 0 : Z.name) != null ? H : "-") + ""
  ), N, $, te, B, Q, G = (
    /*renderAmount*/
    a[23](
      /*gamingHistoryDataset*/
      a[70].stakeAmount,
      /*gamingHistoryDataset*/
      a[70].currencyCode
    ) + ""
  ), ae, W, V, x, I, U = (
    /*renderAmount*/
    a[23](
      /*gamingHistoryDataset*/
      a[70].returnAmount,
      /*gamingHistoryDataset*/
      a[70].currencyCode
    ) + ""
  ), j, R, Y;
  return {
    c() {
      e = s("tr"), t = s("td"), d = s("span"), w = S(o), D = M(), y = s("td"), u = s("span"), _ = S(m), T = M(), C = s("td"), F = s("span"), N = S(X), te = M(), B = s("td"), Q = s("span"), ae = S(G), V = M(), x = s("td"), I = s("span"), j = S(U), Y = M(), n(t, "data-label", p = /*$_*/
      a[16]("transactionId")), n(t, "title", E = /*gamingHistoryDataset*/
      a[70].roundId), n(y, "data-label", l = /*$_*/
      a[16]("date")), n(C, "data-label", $ = /*$_*/
      a[16]("gameName")), n(B, "data-label", W = /*$_*/
      a[16]("stake")), n(x, "data-label", R = /*$_*/
      a[16]("return"));
    },
    m(c, b) {
      se(c, e, b), r(e, t), r(t, d), r(d, w), r(e, D), r(e, y), r(y, u), r(u, _), r(e, T), r(e, C), r(C, F), r(F, N), r(e, te), r(e, B), r(B, Q), r(Q, ae), r(e, V), r(e, x), r(x, I), r(I, j), r(e, Y);
    },
    p(c, b) {
      var P, g;
      b[0] & /*gamingHistoryData*/
      32768 && o !== (o = /*gamingHistoryDataset*/
      c[70].roundId + "") && z(w, o), b[0] & /*$_*/
      65536 && p !== (p = /*$_*/
      c[16]("transactionId")) && n(t, "data-label", p), b[0] & /*gamingHistoryData*/
      32768 && E !== (E = /*gamingHistoryDataset*/
      c[70].roundId) && n(t, "title", E), b[0] & /*gamingHistoryData*/
      32768 && m !== (m = /*formatDate*/
      c[22](
        /*gamingHistoryDataset*/
        c[70]
      ) + "") && z(_, m), b[0] & /*$_*/
      65536 && l !== (l = /*$_*/
      c[16]("date")) && n(y, "data-label", l), b[0] & /*gamingHistoryData*/
      32768 && X !== (X = /*gamingHistoryDataset*/
      ((g = (P = c[70].gameModel) == null ? void 0 : P.name) != null ? g : "-") + "") && z(N, X), b[0] & /*$_*/
      65536 && $ !== ($ = /*$_*/
      c[16]("gameName")) && n(C, "data-label", $), b[0] & /*gamingHistoryData*/
      32768 && G !== (G = /*renderAmount*/
      c[23](
        /*gamingHistoryDataset*/
        c[70].stakeAmount,
        /*gamingHistoryDataset*/
        c[70].currencyCode
      ) + "") && z(ae, G), b[0] & /*$_*/
      65536 && W !== (W = /*$_*/
      c[16]("stake")) && n(B, "data-label", W), b[0] & /*gamingHistoryData*/
      32768 && U !== (U = /*renderAmount*/
      c[23](
        /*gamingHistoryDataset*/
        c[70].returnAmount,
        /*gamingHistoryDataset*/
        c[70].currencyCode
      ) + "") && z(j, U), b[0] & /*$_*/
      65536 && R !== (R = /*$_*/
      c[16]("return")) && n(x, "data-label", R);
    },
    d(c) {
      c && oe(e);
    }
  };
}
function St(a) {
  let e, t, d, o, w = (
    /*$_*/
    a[16]("titleGamingHistory") + ""
  ), p, E, D, y, u, m, _, l = (
    /*$_*/
    a[16]("dateFrom") + ""
  ), T, C, F, X, N, $, te = (
    /*$_*/
    a[16]("dateTo") + ""
  ), B, Q, G, ae, W, V = (
    /*$_*/
    a[16]("dateFilter") + ""
  ), x, I, U, j, R, Y, Z = (
    /*isMobile*/
    a[19] && Dt(a)
  ), H = !/*mediaQueryMedim*/
  a[14].matches && ze(a);
  function c(g, v) {
    return (
      /*isLoading*/
      g[13] ? Ct : (
        /*gamingHistoryData*/
        g[15].length > 0 ? It : (
          /*errorMessage*/
          g[12].length > 0 ? Mt : xt
        )
      )
    );
  }
  let b = c(a), P = b(a);
  return {
    c() {
      e = s("div"), t = s("div"), Z && Z.c(), d = M(), o = s("h2"), p = S(w), E = M(), D = s("div"), y = s("div"), u = s("div"), m = s("div"), _ = s("span"), T = S(l), C = M(), F = s("vaadin-date-picker"), X = M(), N = s("div"), $ = s("span"), B = S(te), Q = M(), G = s("vaadin-date-picker"), ae = M(), W = s("button"), x = S(V), U = M(), H && H.c(), j = M(), P.c(), n(o, "class", "PlayerGamingHistoryTitle " + /*isMobile*/
      (a[19] ? "PlayerGamingHistoryTitleNone" : "")), ee(
        F,
        "max",
        /*gamingCalendarDateMax*/
        a[17]
      ), ee(
        F,
        "placeholder",
        /*startDate*/
        a[0]
      ), ee(
        F,
        "value",
        /*startDate*/
        a[0]
      ), ee(F, "class", "VaadinDatePicker"), n(m, "class", "PlayerGamingDateWrapper"), ee(
        G,
        "min",
        /*gamingCalendarEndDateMin*/
        a[5]
      ), ee(
        G,
        "max",
        /*gamingCalendarDateMax*/
        a[17]
      ), ee(
        G,
        "placeholder",
        /*endDate*/
        a[1]
      ), ee(
        G,
        "value",
        /*endDate*/
        a[1]
      ), ee(G, "class", "VaadinDatePicker"), n(N, "class", "PlayerGamingDateWrapper"), n(u, "class", "PlayerGamingDateContainer"), n(W, "class", "PlayerGamingHistoryFilterButton"), W.disabled = I = !/*submitEnable*/
      a[10], n(y, "class", "PlayerGamingHistoryFilterWrapper"), n(D, "class", "PlayerGamingHistoryTopSection"), n(t, "class", "PlayerGamingHistoryWrapper " + /*isMobile*/
      (a[19] ? "PlayerGamingHistoryWrapperMobile" : ""));
    },
    m(g, v) {
      se(g, e, v), r(e, t), Z && Z.m(t, null), r(t, d), r(t, o), r(o, p), r(t, E), r(t, D), r(D, y), r(y, u), r(u, m), r(m, _), r(_, T), r(m, C), r(m, F), a[40](F), r(u, X), r(u, N), r(N, $), r($, B), r(N, Q), r(N, G), a[41](G), r(y, ae), r(y, W), r(W, x), r(y, U), H && H.m(y, null), r(t, j), P.m(t, null), a[47](t), a[48](e), R || (Y = we(
        W,
        "click",
        /*click_handler_1*/
        a[42]
      ), R = !0);
    },
    p(g, v) {
      /*isMobile*/
      g[19] && Z.p(g, v), v[0] & /*$_*/
      65536 && w !== (w = /*$_*/
      g[16]("titleGamingHistory") + "") && z(p, w), v[0] & /*$_*/
      65536 && l !== (l = /*$_*/
      g[16]("dateFrom") + "") && z(T, l), v[0] & /*startDate*/
      1 && ee(
        F,
        "placeholder",
        /*startDate*/
        g[0]
      ), v[0] & /*startDate*/
      1 && ee(
        F,
        "value",
        /*startDate*/
        g[0]
      ), v[0] & /*$_*/
      65536 && te !== (te = /*$_*/
      g[16]("dateTo") + "") && z(B, te), v[0] & /*gamingCalendarEndDateMin*/
      32 && ee(
        G,
        "min",
        /*gamingCalendarEndDateMin*/
        g[5]
      ), v[0] & /*endDate*/
      2 && ee(
        G,
        "placeholder",
        /*endDate*/
        g[1]
      ), v[0] & /*endDate*/
      2 && ee(
        G,
        "value",
        /*endDate*/
        g[1]
      ), v[0] & /*$_*/
      65536 && V !== (V = /*$_*/
      g[16]("dateFilter") + "") && z(x, V), v[0] & /*submitEnable*/
      1024 && I !== (I = !/*submitEnable*/
      g[10]) && (W.disabled = I), /*mediaQueryMedim*/
      g[14].matches ? H && (H.d(1), H = null) : H ? H.p(g, v) : (H = ze(g), H.c(), H.m(y, null)), b === (b = c(g)) && P ? P.p(g, v) : (P.d(1), P = b(g), P && (P.c(), P.m(t, null)));
    },
    i: ke,
    o: ke,
    d(g) {
      g && oe(e), Z && Z.d(), a[40](null), a[41](null), H && H.d(), P.d(), a[47](null), a[48](null), R = !1, Y();
    }
  };
}
let We = "0";
function Tt(a, e, t) {
  let d;
  gt(a, Ft, (i) => t(16, d = i));
  let { endpoint: o = "" } = e, { playerid: w = "" } = e, { session: p = "" } = e, { lang: E = "en" } = e, { clientstyling: D = "" } = e, { clientstylingurl: y = "" } = e, { mbsource: u } = e, { translationurl: m = "" } = e, { gmversion: _ = "" } = e, { dateformat: l = "dd-MM-yyyy" } = e, { amountfallbacktext: T = "-" } = e, { currencylocale: C = "" } = e, { currencydisplay: F = "code" } = e, { maximumfractiondigits: X = "2" } = e, { minimumfractiondigits: N = "0" } = e;
  const $ = de(/* @__PURE__ */ new Date(), "yyyy-MM-dd");
  let te = "", B = "", Q = "", G = "", ae, W, V = de(kt(/* @__PURE__ */ new Date(), 3), `${l || "yyyy-MM-dd"}`), x = de(/* @__PURE__ */ new Date(), `${l || "yyyy-MM-dd"}`), I = !0, U = ["5", "10", "25", "50"], j = "5", R = "", Y = !1, Z = window.navigator.userAgent, H = pt(Z) !== "PC", c, b, P, g;
  const v = () => {
    fetch(m).then((h) => h.json()).then((h) => {
      Object.keys(h).forEach((O) => {
        Te(O, h[O]);
      });
    }).catch((h) => {
      console.log(h);
    });
  };
  Object.keys(Re).forEach((i) => {
    Te(i, Re[i]);
  }), window.matchMedia("(min-width: 768px)");
  let pe = window.matchMedia("(max-width: 1280px)"), ie = [];
  const ye = () => {
    window.postMessage(
      {
        type: "PlayerAccountMenuActive",
        isMobile: H
      },
      window.location.href
    );
  }, _e = () => {
    t(14, pe = window.matchMedia("(max-width: 1280px)"));
  }, ue = (i) => {
    let h = /* @__PURE__ */ new Map();
    return i.forEach((O) => {
      let K = O.transType === "1" ? "stakeAmount" : "returnAmount", ge = h.get(O.roundId);
      if (ge)
        ge[K] = O.totalAmount;
      else {
        let k = Ee({}, O);
        k[K] = O.totalAmount, h.set(O.roundId, k);
      }
    }), i = Array.from(h.values()), i;
  }, ne = (i) => {
    const h = Se(i, `${l || "yyyy-MM-dd"}`, /* @__PURE__ */ new Date());
    return de(h, "yyyy-MM-dd");
  }, fe = (i, h, O) => {
    let K = new URL(i);
    t(15, ie = []), t(12, R = "");
    let ge = {
      method: "GET",
      headers: { "X-SessionID": p }
    };
    h || (K.searchParams.append("offset", String(+We * 2)), K.searchParams.append("limit", String(+j * 2))), O && (K.searchParams.append("startDate", ne(V)), K.searchParams.append("endDate", ne(x))), t(13, Y = !0), fetch(K.href, ge).then((k) => k.json()).then(
      (k) => {
        if (!k.error)
          t(15, ie = k.transactions), t(15, ie = ue(ie)), t(7, Q = k.pagination.next), t(8, G = k.pagination.previous);
        else {
          let re = k.error.split(":");
          t(12, R = re[1].substring(0, re[1].lastIndexOf(" ")) + " " + re[2]), k.thirdPartyResponse && t(12, R = d(`${k.thirdPartyResponse.errorCode}`) || re[1].substring(0, re[1].lastIndexOf(" ")) + " " + re[2]);
        }
        t(13, Y = !1);
      },
      (k) => {
        t(13, Y = !1), console.error(k);
      }
    );
  }, he = (i, h, O) => {
    let K = new URL(i);
    t(15, ie = []), t(12, R = "");
    let ge = {
      method: "GET",
      headers: { "X-SessionID": p }
    };
    h || (K.searchParams.append("offset", We), K.searchParams.append("limit", j)), O && (K.searchParams.append("startDate", ne(V)), K.searchParams.append("endDate", ne(x))), t(13, Y = !0), fetch(K.href, ge).then((k) => k.json()).then(
      (k) => {
        if (!k.error)
          t(15, ie = k.transactions), t(7, Q = k.pagination.next), t(8, G = k.pagination.previous);
        else {
          let re = k.error.split(":");
          t(12, R = re[1].substring(0, re[1].lastIndexOf(" ")) + " " + re[2]), k.thirdPartyResponse && t(12, R = d(`${k.thirdPartyResponse.errorCode}`) || re[1].substring(0, re[1].lastIndexOf(" ")) + " " + re[2]);
        }
        t(13, Y = !1);
      },
      (k) => {
        t(13, Y = !1), console.error(k);
      }
    );
  }, le = (i, h, O) => {
    switch (_) {
      case "gm16":
        fe(i, h, O);
        break;
      default:
        he(i, h, O);
        break;
    }
    window.postMessage({ type: "ScrollToTop" }, window.location.href);
  }, ve = () => {
    Gt(E), t(6, B = _ === "gm16" ? `${o}/v1/player/${w}/transactions/wagering?type=Casino` : `${o}/v1/player/${w}/bets`), le(B, !1, !0);
  }, be = (i) => {
    if (i.data)
      switch (i.data.type) {
      }
  }, ce = () => {
    const i = new Date(V), h = new Date(x);
    i.getTime() > h.getTime() ? t(10, I = !1) : t(10, I = !0);
  }, q = (i) => {
    t(0, V = de(new Date(i.target.value), `${l || "yyyy-MM-dd"}`)), t(5, te = de(new Date(i.target.value), "yyyy-MM-dd"));
  }, f = (i) => {
    t(1, x = de(new Date(i.target.value), `${l || "yyyy-MM-dd"}`));
  }, A = () => {
    c.addEventListener("change", q, !1), b.addEventListener("change", f, !1);
  }, L = (i) => _ === "gm16" ? de(new Date(i.ins), `${l || "d/M/yyyy"} - h:mm a`) : de(new Date(i.roundStartDate), `${l || "d/M/yyyy"} - h:mm a`), Pe = (i) => {
    const { year: h, month: O, day: K } = i, ge = new Date(h, O, K);
    return de(ge, l || "yyyy-MM-dd");
  }, De = (i) => {
    const h = Se(i, l || "yyyy-MM-dd", /* @__PURE__ */ new Date());
    return {
      year: h.getFullYear(),
      month: h.getMonth(),
      day: h.getDate()
    };
  }, xe = (i, h) => i === "" || isNaN(Number(i)) ? h : Number(i), Ve = (i) => {
    let h = "code";
    (F === "code" || F === "symbol") && (h = F), g = new Intl.NumberFormat(
      C || E,
      {
        style: "currency",
        currencyDisplay: h,
        currency: i,
        useGrouping: !0,
        maximumFractionDigits: xe(X, 2),
        minimumFractionDigits: xe(N, 0)
      }
    );
  }, Ue = (i, h) => ht(i) ? (g || Ve(h), g.format(Number.parseFloat(i))) : T;
  yt(() => (window.addEventListener("message", be, !1), window.addEventListener("resize", _e, !1), t(
    2,
    c.i18n = He(Ee({}, c.i18n), {
      formatDate: Pe,
      parseDate: De
    }),
    c
  ), t(
    3,
    b.i18n = He(Ee({}, b.i18n), {
      formatDate: Pe,
      parseDate: De
    }),
    b
  ), () => {
    c.removeEventListener("change", q), b.removeEventListener("change", f), window.removeEventListener("message", be), window.removeEventListener("resize", be);
  }));
  const qe = () => ye();
  function Ze(i) {
    Fe[i ? "unshift" : "push"](() => {
      c = i, t(2, c);
    });
  }
  function Qe(i) {
    Fe[i ? "unshift" : "push"](() => {
      b = i, t(3, b);
    });
  }
  const Ye = () => le(B, !1, !0);
  function Ke() {
    j = bt(this), t(11, j), t(18, U);
  }
  const Xe = () => le(B, !1, !0), Je = () => le(G, !0, !1), $e = () => le(Q, !0, !1);
  function et(i) {
    Fe[i ? "unshift" : "push"](() => {
      ae = i, t(9, ae);
    });
  }
  function tt(i) {
    Fe[i ? "unshift" : "push"](() => {
      P = i, t(4, P);
    });
  }
  return a.$$set = (i) => {
    "endpoint" in i && t(24, o = i.endpoint), "playerid" in i && t(25, w = i.playerid), "session" in i && t(26, p = i.session), "lang" in i && t(27, E = i.lang), "clientstyling" in i && t(28, D = i.clientstyling), "clientstylingurl" in i && t(29, y = i.clientstylingurl), "mbsource" in i && t(30, u = i.mbsource), "translationurl" in i && t(31, m = i.translationurl), "gmversion" in i && t(32, _ = i.gmversion), "dateformat" in i && t(33, l = i.dateformat), "amountfallbacktext" in i && t(34, T = i.amountfallbacktext), "currencylocale" in i && t(35, C = i.currencylocale), "currencydisplay" in i && t(36, F = i.currencydisplay), "maximumfractiondigits" in i && t(37, X = i.maximumfractiondigits), "minimumfractiondigits" in i && t(38, N = i.minimumfractiondigits);
  }, a.$$.update = () => {
    a.$$.dirty[0] & /*startCalendar, endCalendar*/
    12 && c && b && A(), a.$$.dirty[0] & /*startDate, endDate*/
    3 && V && x && ce(), a.$$.dirty[0] & /*session, playerid, endpoint, lang*/
    251658240 && p && w && o && E && ve(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
    268435472 && D && P && vt(P, D), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
    536870928 && y && P && Pt(P, y), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
    1073741840 && u && P && _t(P, `${u}.Style`, W), a.$$.dirty[1] & /*translationurl*/
    1 && m && v();
  }, [
    V,
    x,
    c,
    b,
    P,
    te,
    B,
    Q,
    G,
    ae,
    I,
    j,
    R,
    Y,
    pe,
    ie,
    d,
    $,
    U,
    H,
    ye,
    le,
    L,
    Ue,
    o,
    w,
    p,
    E,
    D,
    y,
    u,
    m,
    _,
    l,
    T,
    C,
    F,
    X,
    N,
    qe,
    Ze,
    Qe,
    Ye,
    Ke,
    Xe,
    Je,
    $e,
    et,
    tt
  ];
}
class Rt extends dt {
  constructor(e) {
    super(), mt(
      this,
      e,
      Tt,
      St,
      ut,
      {
        endpoint: 24,
        playerid: 25,
        session: 26,
        lang: 27,
        clientstyling: 28,
        clientstylingurl: 29,
        mbsource: 30,
        translationurl: 31,
        gmversion: 32,
        dateformat: 33,
        amountfallbacktext: 34,
        currencylocale: 35,
        currencydisplay: 36,
        maximumfractiondigits: 37,
        minimumfractiondigits: 38
      },
      Ht,
      [-1, -1, -1]
    );
  }
  get endpoint() {
    return this.$$.ctx[24];
  }
  set endpoint(e) {
    this.$$set({ endpoint: e }), J();
  }
  get playerid() {
    return this.$$.ctx[25];
  }
  set playerid(e) {
    this.$$set({ playerid: e }), J();
  }
  get session() {
    return this.$$.ctx[26];
  }
  set session(e) {
    this.$$set({ session: e }), J();
  }
  get lang() {
    return this.$$.ctx[27];
  }
  set lang(e) {
    this.$$set({ lang: e }), J();
  }
  get clientstyling() {
    return this.$$.ctx[28];
  }
  set clientstyling(e) {
    this.$$set({ clientstyling: e }), J();
  }
  get clientstylingurl() {
    return this.$$.ctx[29];
  }
  set clientstylingurl(e) {
    this.$$set({ clientstylingurl: e }), J();
  }
  get mbsource() {
    return this.$$.ctx[30];
  }
  set mbsource(e) {
    this.$$set({ mbsource: e }), J();
  }
  get translationurl() {
    return this.$$.ctx[31];
  }
  set translationurl(e) {
    this.$$set({ translationurl: e }), J();
  }
  get gmversion() {
    return this.$$.ctx[32];
  }
  set gmversion(e) {
    this.$$set({ gmversion: e }), J();
  }
  get dateformat() {
    return this.$$.ctx[33];
  }
  set dateformat(e) {
    this.$$set({ dateformat: e }), J();
  }
  get amountfallbacktext() {
    return this.$$.ctx[34];
  }
  set amountfallbacktext(e) {
    this.$$set({ amountfallbacktext: e }), J();
  }
  get currencylocale() {
    return this.$$.ctx[35];
  }
  set currencylocale(e) {
    this.$$set({ currencylocale: e }), J();
  }
  get currencydisplay() {
    return this.$$.ctx[36];
  }
  set currencydisplay(e) {
    this.$$set({ currencydisplay: e }), J();
  }
  get maximumfractiondigits() {
    return this.$$.ctx[37];
  }
  set maximumfractiondigits(e) {
    this.$$set({ maximumfractiondigits: e }), J();
  }
  get minimumfractiondigits() {
    return this.$$.ctx[38];
  }
  set minimumfractiondigits(e) {
    this.$$set({ minimumfractiondigits: e }), J();
  }
}
Et(Rt, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, gmversion: {}, dateformat: {}, amountfallbacktext: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {} }, [], [], !0);
export {
  Rt as default
};
