var tt = Object.defineProperty, at = Object.defineProperties;
var rt = Object.getOwnPropertyDescriptors;
var xe = Object.getOwnPropertySymbols;
var it = Object.prototype.hasOwnProperty, nt = Object.prototype.propertyIsEnumerable;
var Me = (a, e, t) => e in a ? tt(a, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[e] = t, Ee = (a, e) => {
  for (var t in e || (e = {}))
    it.call(e, t) && Me(a, t, e[t]);
  if (xe)
    for (var t of xe(e))
      nt.call(e, t) && Me(a, t, e[t]);
  return a;
}, He = (a, e) => at(a, rt(e));
import { a as lt, $ as ot, S as st, i as dt, s as mt, f as J, b as ut, n as ke, d as le, c as B, g as $, h as oe, j as r, l as be, k as s, m as x, t as T, e as n, p as ct, q as gt, u as pt, v as me, C as Ge, D as Be, r as Le, T as Ie, W as yt, a9 as ft, w as Fe, Q as ht, V as bt, x as wt, y as vt, z as Pt, A as _t, B as Et } from "./GeneralLogout-B7wytw3i.js";
import { f as de, s as Ft, p as Ce } from "./PlayerAccountGamingLimitsGroupEdit-DBQ3mbbn.js";
import "./PlayerAccountGamingLimits-CklbTGD-.js";
import "./PlayerAccountProductRestriction-D5TZl8TF.js";
function Se(a, e) {
  lt(a, e);
}
function kt(a) {
  ot.set(a);
}
const Te = {
  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 Gt(a) {
  ut(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 Re(a, e, t) {
  const d = a.slice();
  return d[70] = e[t], d;
}
function Ae(a, e, t) {
  const d = a.slice();
  return d[73] = e[t], d;
}
function Ht(a) {
  let e, t, d, o, v, g, E, H, p, u, m = (
    /*$_*/
    a[16]("titleGamingHistory") + ""
  ), _, l, R;
  return {
    c() {
      e = s("div"), t = me("svg"), d = me("defs"), o = me("style"), v = T(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), g = me("g"), E = me("g"), H = me("path"), p = x(), u = s("h2"), _ = T(m), n(H, "class", "aaa"), n(H, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), n(H, "transform", "translate(15 15) rotate(180)"), n(E, "transform", "translate(20 158)"), n(g, "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(M, F) {
      oe(M, e, F), r(e, t), r(t, d), r(d, o), r(o, v), r(t, g), r(g, E), r(E, H), r(e, p), r(e, u), r(u, _), l || (R = be(
        e,
        "click",
        /*click_handler*/
        a[39]
      ), l = !0);
    },
    p(M, F) {
      F[0] & /*$_*/
      65536 && m !== (m = /*$_*/
      M[16]("titleGamingHistory") + "") && B(_, m);
    },
    d(M) {
      M && le(e), l = !1, R();
    }
  };
}
function je(a) {
  let e, t, d = (
    /*$_*/
    a[16]("numberOfResults") + ""
  ), o, v, g, E, H, p = Ge(
    /*gameHistoryItems*/
    a[18]
  ), u = [];
  for (let m = 0; m < p.length; m += 1)
    u[m] = ze(Ae(a, p, m));
  return {
    c() {
      e = s("div"), t = s("span"), o = T(d), v = x(), g = s("select");
      for (let m = 0; m < u.length; m += 1)
        u[m].c();
      n(g, "class", "PlayerGamingHistoryItemCount"), /*gameHistoryLimit*/
      a[11] === void 0 && yt(() => (
        /*select_change_handler*/
        a[43].call(g)
      )), n(e, "class", "PlayerGamingItemCountContainer");
    },
    m(m, _) {
      oe(m, e, _), r(e, t), r(t, o), r(e, v), r(e, g);
      for (let l = 0; l < u.length; l += 1)
        u[l] && u[l].m(g, null);
      Ie(
        g,
        /*gameHistoryLimit*/
        a[11],
        !0
      ), E || (H = [
        be(
          g,
          "change",
          /*select_change_handler*/
          a[43]
        ),
        be(
          g,
          "change",
          /*change_handler*/
          a[44]
        )
      ], E = !0);
    },
    p(m, _) {
      if (_[0] & /*$_*/
      65536 && d !== (d = /*$_*/
      m[16]("numberOfResults") + "") && B(o, d), _[0] & /*gameHistoryItems*/
      262144) {
        p = Ge(
          /*gameHistoryItems*/
          m[18]
        );
        let l;
        for (l = 0; l < p.length; l += 1) {
          const R = Ae(m, p, l);
          u[l] ? u[l].p(R, _) : (u[l] = ze(R), u[l].c(), u[l].m(g, null));
        }
        for (; l < u.length; l += 1)
          u[l].d(1);
        u.length = p.length;
      }
      _[0] & /*gameHistoryLimit, gameHistoryItems*/
      264192 && Ie(
        g,
        /*gameHistoryLimit*/
        m[11]
      );
    },
    d(m) {
      m && le(e), Be(u, m), E = !1, Le(H);
    }
  };
}
function ze(a) {
  let e, t = (
    /*item*/
    a[73] + ""
  ), d;
  return {
    c() {
      e = s("option"), d = T(t), e.__value = /*item*/
      a[73], bt(e, e.__value);
    },
    m(o, v) {
      oe(o, e, v), r(e, d);
    },
    p: ke,
    d(o) {
      o && le(e);
    }
  };
}
function Dt(a) {
  let e, t = (
    /*$_*/
    a[16]("noRecord") + ""
  ), d;
  return {
    c() {
      e = s("p"), d = T(t), n(e, "class", "PlayerGamingHistoryEmpty");
    },
    m(o, v) {
      oe(o, e, v), r(e, d);
    },
    p(o, v) {
      v[0] & /*$_*/
      65536 && t !== (t = /*$_*/
      o[16]("noRecord") + "") && B(d, t);
    },
    d(o) {
      o && le(e);
    }
  };
}
function xt(a) {
  let e, t;
  return {
    c() {
      e = s("p"), t = T(
        /*errorMessage*/
        a[12]
      ), n(e, "class", "PlayerGamingHistoryEmpty");
    },
    m(d, o) {
      oe(d, e, o), r(e, t);
    },
    p(d, o) {
      o[0] & /*errorMessage*/
      4096 && B(
        t,
        /*errorMessage*/
        d[12]
      );
    },
    d(d) {
      d && le(e);
    }
  };
}
function Mt(a) {
  let e, t, d, o, v, g = (
    /*$_*/
    a[16]("transactionId") + ""
  ), E, H, p, u = (
    /*$_*/
    a[16]("date") + ""
  ), m, _, l, R = (
    /*$_*/
    a[16]("gameName") + ""
  ), M, F, X, L = (
    /*$_*/
    a[16]("stake") + ""
  ), K, ee, O, Q = (
    /*$_*/
    a[16]("return") + ""
  ), G, te, D, U, A, I, j, C, z, se, q, w = (
    /*$_*/
    a[16]("previous") + ""
  ), c, h, S, y, P, re, pe = (
    /*$_*/
    a[16]("next") + ""
  ), we, Pe, ie, ue, fe, ne, he, ye, _e, ce = Ge(
    /*gamingHistoryData*/
    a[15]
  ), Z = [];
  for (let b = 0; b < ce.length; b += 1)
    Z[b] = Ne(Re(a, ce, b));
  return {
    c() {
      e = s("div"), t = s("table"), d = s("thead"), o = s("tr"), v = s("th"), E = T(g), H = x(), p = s("th"), m = T(u), _ = x(), l = s("th"), M = T(R), F = x(), X = s("th"), K = T(L), ee = x(), O = s("th"), G = T(Q), te = x(), D = s("tbody");
      for (let b = 0; b < Z.length; b += 1)
        Z[b].c();
      U = x(), A = s("div"), I = s("button"), j = me("svg"), C = me("path"), se = x(), q = s("span"), c = T(w), y = x(), P = s("button"), re = s("span"), we = T(pe), Pe = x(), ie = me("svg"), ue = me("path"), n(e, "class", "PlayerGamingHistoryContainer"), n(C, "fill", z = /*previousPage*/
      a[8] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), n(C, "class", "a"), n(C, "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(C, "transform", "translate(19.246 -6.188) rotate(90)"), n(j, "xmlns", "http://www.w3.org/2000/svg"), n(j, "width", "8"), n(j, "height", "13.992"), n(j, "viewBox", "0 0 8 13.992"), n(q, "class", "PlayerPaginationControlsText"), n(I, "class", h = "PlayerPaginationControls " + (/*previousPage*/
      a[8] ? "" : "PlayerPaginationControlsDisabled")), I.disabled = S = /*previousPage*/
      !a[8], n(re, "class", "PlayerPaginationControlsText"), n(ue, "fill", fe = /*nextPage*/
      a[7] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), n(ue, "class", "a"), n(ue, "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(ue, "transform", "translate(-11.246 20.179) rotate(-90)"), n(ie, "xmlns", "http://www.w3.org/2000/svg"), n(ie, "width", "8"), n(ie, "height", "13.992"), n(ie, "viewBox", "0 0 8 13.992"), n(P, "class", ne = "PlayerPaginationControls " + (/*nextPage*/
      a[7] ? "" : "PlayerPaginationControlsDisabled")), P.disabled = he = /*nextPage*/
      !a[7], n(A, "class", "PlayerPaginationControlsArea");
    },
    m(b, N) {
      oe(b, e, N), r(e, t), r(t, d), r(d, o), r(o, v), r(v, E), r(o, H), r(o, p), r(p, m), r(o, _), r(o, l), r(l, M), r(o, F), r(o, X), r(X, K), r(o, ee), r(o, O), r(O, G), r(t, te), r(t, D);
      for (let W = 0; W < Z.length; W += 1)
        Z[W] && Z[W].m(D, null);
      oe(b, U, N), oe(b, A, N), r(A, I), r(I, j), r(j, C), r(I, se), r(I, q), r(q, c), r(A, y), r(A, P), r(P, re), r(re, we), r(P, Pe), r(P, ie), r(ie, ue), ye || (_e = [
        be(
          I,
          "click",
          /*click_handler_2*/
          a[45]
        ),
        be(
          P,
          "click",
          /*click_handler_3*/
          a[46]
        )
      ], ye = !0);
    },
    p(b, N) {
      if (N[0] & /*$_*/
      65536 && g !== (g = /*$_*/
      b[16]("transactionId") + "") && B(E, g), N[0] & /*$_*/
      65536 && u !== (u = /*$_*/
      b[16]("date") + "") && B(m, u), N[0] & /*$_*/
      65536 && R !== (R = /*$_*/
      b[16]("gameName") + "") && B(M, R), N[0] & /*$_*/
      65536 && L !== (L = /*$_*/
      b[16]("stake") + "") && B(K, L), N[0] & /*$_*/
      65536 && Q !== (Q = /*$_*/
      b[16]("return") + "") && B(G, Q), N[0] & /*$_, renderAmount, gamingHistoryData, formatDate*/
      12681216) {
        ce = Ge(
          /*gamingHistoryData*/
          b[15]
        );
        let W;
        for (W = 0; W < ce.length; W += 1) {
          const ve = Re(b, ce, W);
          Z[W] ? Z[W].p(ve, N) : (Z[W] = Ne(ve), Z[W].c(), Z[W].m(D, null));
        }
        for (; W < Z.length; W += 1)
          Z[W].d(1);
        Z.length = ce.length;
      }
      N[0] & /*previousPage*/
      256 && z !== (z = /*previousPage*/
      b[8] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && n(C, "fill", z), N[0] & /*$_*/
      65536 && w !== (w = /*$_*/
      b[16]("previous") + "") && B(c, w), N[0] & /*previousPage*/
      256 && h !== (h = "PlayerPaginationControls " + (/*previousPage*/
      b[8] ? "" : "PlayerPaginationControlsDisabled")) && n(I, "class", h), N[0] & /*previousPage*/
      256 && S !== (S = /*previousPage*/
      !b[8]) && (I.disabled = S), N[0] & /*$_*/
      65536 && pe !== (pe = /*$_*/
      b[16]("next") + "") && B(we, pe), N[0] & /*nextPage*/
      128 && fe !== (fe = /*nextPage*/
      b[7] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && n(ue, "fill", fe), N[0] & /*nextPage*/
      128 && ne !== (ne = "PlayerPaginationControls " + (/*nextPage*/
      b[7] ? "" : "PlayerPaginationControlsDisabled")) && n(P, "class", ne), N[0] & /*nextPage*/
      128 && he !== (he = /*nextPage*/
      !b[7]) && (P.disabled = he);
    },
    d(b) {
      b && (le(e), le(U), le(A)), Be(Z, b), ye = !1, Le(_e);
    }
  };
}
function It(a) {
  let e;
  return {
    c() {
      e = s("div"), n(e, "class", "DataLoader");
    },
    m(t, d) {
      oe(t, e, d);
    },
    p: ke,
    d(t) {
      t && le(e);
    }
  };
}
function Ne(a) {
  var q, w;
  let e, t, d, o = (
    /*gamingHistoryDataset*/
    a[70].roundId + ""
  ), v, g, E, H, p, u, m = (
    /*formatDate*/
    a[22](
      /*gamingHistoryDataset*/
      a[70]
    ) + ""
  ), _, l, R, M, F, X = (
    /*gamingHistoryDataset*/
    ((w = (q = a[70].gameModel) == null ? void 0 : q.name) != null ? w : "-") + ""
  ), L, K, ee, O, Q, G = (
    /*renderAmount*/
    a[23](
      /*gamingHistoryDataset*/
      a[70].stakeAmount,
      /*gamingHistoryDataset*/
      a[70].currencyCode
    ) + ""
  ), te, D, U, A, I, j = (
    /*renderAmount*/
    a[23](
      /*gamingHistoryDataset*/
      a[70].returnAmount,
      /*gamingHistoryDataset*/
      a[70].currencyCode
    ) + ""
  ), C, z, se;
  return {
    c() {
      e = s("tr"), t = s("td"), d = s("span"), v = T(o), H = x(), p = s("td"), u = s("span"), _ = T(m), R = x(), M = s("td"), F = s("span"), L = T(X), ee = x(), O = s("td"), Q = s("span"), te = T(G), U = x(), A = s("td"), I = s("span"), C = T(j), se = x(), n(t, "data-label", g = /*$_*/
      a[16]("transactionId")), n(t, "title", E = /*gamingHistoryDataset*/
      a[70].roundId), n(p, "data-label", l = /*$_*/
      a[16]("date")), n(M, "data-label", K = /*$_*/
      a[16]("gameName")), n(O, "data-label", D = /*$_*/
      a[16]("stake")), n(A, "data-label", z = /*$_*/
      a[16]("return"));
    },
    m(c, h) {
      oe(c, e, h), r(e, t), r(t, d), r(d, v), r(e, H), r(e, p), r(p, u), r(u, _), r(e, R), r(e, M), r(M, F), r(F, L), r(e, ee), r(e, O), r(O, Q), r(Q, te), r(e, U), r(e, A), r(A, I), r(I, C), r(e, se);
    },
    p(c, h) {
      var S, y;
      h[0] & /*gamingHistoryData*/
      32768 && o !== (o = /*gamingHistoryDataset*/
      c[70].roundId + "") && B(v, o), h[0] & /*$_*/
      65536 && g !== (g = /*$_*/
      c[16]("transactionId")) && n(t, "data-label", g), h[0] & /*gamingHistoryData*/
      32768 && E !== (E = /*gamingHistoryDataset*/
      c[70].roundId) && n(t, "title", E), h[0] & /*gamingHistoryData*/
      32768 && m !== (m = /*formatDate*/
      c[22](
        /*gamingHistoryDataset*/
        c[70]
      ) + "") && B(_, m), h[0] & /*$_*/
      65536 && l !== (l = /*$_*/
      c[16]("date")) && n(p, "data-label", l), h[0] & /*gamingHistoryData*/
      32768 && X !== (X = /*gamingHistoryDataset*/
      ((y = (S = c[70].gameModel) == null ? void 0 : S.name) != null ? y : "-") + "") && B(L, X), h[0] & /*$_*/
      65536 && K !== (K = /*$_*/
      c[16]("gameName")) && n(M, "data-label", K), h[0] & /*gamingHistoryData*/
      32768 && G !== (G = /*renderAmount*/
      c[23](
        /*gamingHistoryDataset*/
        c[70].stakeAmount,
        /*gamingHistoryDataset*/
        c[70].currencyCode
      ) + "") && B(te, G), h[0] & /*$_*/
      65536 && D !== (D = /*$_*/
      c[16]("stake")) && n(O, "data-label", D), h[0] & /*gamingHistoryData*/
      32768 && j !== (j = /*renderAmount*/
      c[23](
        /*gamingHistoryDataset*/
        c[70].returnAmount,
        /*gamingHistoryDataset*/
        c[70].currencyCode
      ) + "") && B(C, j), h[0] & /*$_*/
      65536 && z !== (z = /*$_*/
      c[16]("return")) && n(A, "data-label", z);
    },
    d(c) {
      c && le(e);
    }
  };
}
function Ct(a) {
  let e, t, d, o, v = (
    /*$_*/
    a[16]("titleGamingHistory") + ""
  ), g, E, H, p, u, m, _, l = (
    /*$_*/
    a[16]("dateFrom") + ""
  ), R, M, F, X, L, K, ee = (
    /*$_*/
    a[16]("dateTo") + ""
  ), O, Q, G, te, D, U = (
    /*$_*/
    a[16]("dateFilter") + ""
  ), A, I, j, C, z, se, q = (
    /*isMobile*/
    a[19] && Ht(a)
  ), w = !/*mediaQueryMedim*/
  a[14].matches && je(a);
  function c(y, P) {
    return (
      /*isLoading*/
      y[13] ? It : (
        /*gamingHistoryData*/
        y[15].length > 0 ? Mt : (
          /*errorMessage*/
          y[12].length > 0 ? xt : Dt
        )
      )
    );
  }
  let h = c(a), S = h(a);
  return {
    c() {
      e = s("div"), t = s("div"), q && q.c(), d = x(), o = s("h2"), g = T(v), E = x(), H = s("div"), p = s("div"), u = s("div"), m = s("div"), _ = s("span"), R = T(l), M = x(), F = s("vaadin-date-picker"), X = x(), L = s("div"), K = s("span"), O = T(ee), Q = x(), G = s("vaadin-date-picker"), te = x(), D = s("button"), A = T(U), j = x(), w && w.c(), C = x(), S.c(), n(o, "class", "PlayerGamingHistoryTitle " + /*isMobile*/
      (a[19] ? "PlayerGamingHistoryTitleNone" : "")), $(
        F,
        "max",
        /*gamingCalendarDateMax*/
        a[17]
      ), $(
        F,
        "placeholder",
        /*startDate*/
        a[0]
      ), $(
        F,
        "value",
        /*startDate*/
        a[0]
      ), $(F, "class", "VaadinDatePicker"), n(m, "class", "PlayerGamingDateWrapper"), $(
        G,
        "min",
        /*gamingCalendarEndDateMin*/
        a[5]
      ), $(
        G,
        "max",
        /*gamingCalendarDateMax*/
        a[17]
      ), $(
        G,
        "placeholder",
        /*endDate*/
        a[1]
      ), $(
        G,
        "value",
        /*endDate*/
        a[1]
      ), $(G, "class", "VaadinDatePicker"), n(L, "class", "PlayerGamingDateWrapper"), n(u, "class", "PlayerGamingDateContainer"), n(D, "class", "PlayerGamingHistoryFilterButton"), D.disabled = I = !/*submitEnable*/
      a[10], n(p, "class", "PlayerGamingHistoryFilterWrapper"), n(H, "class", "PlayerGamingHistoryTopSection"), n(t, "class", "PlayerGamingHistoryWrapper " + /*isMobile*/
      (a[19] ? "PlayerGamingHistoryWrapperMobile" : ""));
    },
    m(y, P) {
      oe(y, e, P), r(e, t), q && q.m(t, null), r(t, d), r(t, o), r(o, g), r(t, E), r(t, H), r(H, p), r(p, u), r(u, m), r(m, _), r(_, R), r(m, M), r(m, F), a[40](F), r(u, X), r(u, L), r(L, K), r(K, O), r(L, Q), r(L, G), a[41](G), r(p, te), r(p, D), r(D, A), r(p, j), w && w.m(p, null), r(t, C), S.m(t, null), a[47](t), a[48](e), z || (se = be(
        D,
        "click",
        /*click_handler_1*/
        a[42]
      ), z = !0);
    },
    p(y, P) {
      /*isMobile*/
      y[19] && q.p(y, P), P[0] & /*$_*/
      65536 && v !== (v = /*$_*/
      y[16]("titleGamingHistory") + "") && B(g, v), P[0] & /*$_*/
      65536 && l !== (l = /*$_*/
      y[16]("dateFrom") + "") && B(R, l), P[0] & /*startDate*/
      1 && $(
        F,
        "placeholder",
        /*startDate*/
        y[0]
      ), P[0] & /*startDate*/
      1 && $(
        F,
        "value",
        /*startDate*/
        y[0]
      ), P[0] & /*$_*/
      65536 && ee !== (ee = /*$_*/
      y[16]("dateTo") + "") && B(O, ee), P[0] & /*gamingCalendarEndDateMin*/
      32 && $(
        G,
        "min",
        /*gamingCalendarEndDateMin*/
        y[5]
      ), P[0] & /*endDate*/
      2 && $(
        G,
        "placeholder",
        /*endDate*/
        y[1]
      ), P[0] & /*endDate*/
      2 && $(
        G,
        "value",
        /*endDate*/
        y[1]
      ), P[0] & /*$_*/
      65536 && U !== (U = /*$_*/
      y[16]("dateFilter") + "") && B(A, U), P[0] & /*submitEnable*/
      1024 && I !== (I = !/*submitEnable*/
      y[10]) && (D.disabled = I), /*mediaQueryMedim*/
      y[14].matches ? w && (w.d(1), w = null) : w ? w.p(y, P) : (w = je(y), w.c(), w.m(p, null)), h === (h = c(y)) && S ? S.p(y, P) : (S.d(1), S = h(y), S && (S.c(), S.m(t, null)));
    },
    i: ke,
    o: ke,
    d(y) {
      y && le(e), q && q.d(), a[40](null), a[41](null), w && w.d(), S.d(), a[47](null), a[48](null), z = !1, se();
    }
  };
}
let We = "0";
function St(a, e, t) {
  let d;
  ct(a, Et, (i) => t(16, d = i));
  let { endpoint: o = "" } = e, { playerid: v = "" } = e, { session: g = "" } = e, { lang: E = "en" } = e, { clientstyling: H = "" } = e, { clientstylingurl: p = "" } = e, { mbsource: u } = e, { translationurl: m = "" } = e, { gmversion: _ = "" } = e, { dateformat: l = "dd-MM-yyyy" } = e, { amountfallbacktext: R = "-" } = e, { currencylocale: M = "" } = e, { currencydisplay: F = "code" } = e, { maximumfractiondigits: X = "2" } = e, { minimumfractiondigits: L = "0" } = e;
  const K = de(/* @__PURE__ */ new Date(), "yyyy-MM-dd");
  let ee = "", O = "", Q = "", G = "", te, D = de(Ft(/* @__PURE__ */ new Date(), 3), `${l || "yyyy-MM-dd"}`), U = de(/* @__PURE__ */ new Date(), `${l || "yyyy-MM-dd"}`), A = !0, I = ["5", "10", "25", "50"], j = "5", C = "", z = !1, se = window.navigator.userAgent, q = gt(se) !== "PC", w, c, h, S;
  const y = () => {
    fetch(m).then((f) => f.json()).then((f) => {
      Object.keys(f).forEach((V) => {
        Se(V, f[V]);
      });
    }).catch((f) => {
      console.log(f);
    });
  };
  Object.keys(Te).forEach((i) => {
    Se(i, Te[i]);
  }), window.matchMedia("(min-width: 768px)");
  let P = window.matchMedia("(max-width: 1280px)"), re = [];
  const pe = () => {
    window.postMessage(
      {
        type: "PlayerAccountMenuActive",
        isMobile: q
      },
      window.location.href
    );
  }, we = () => {
    t(14, P = window.matchMedia("(max-width: 1280px)"));
  }, Pe = (i) => {
    let f = /* @__PURE__ */ new Map();
    return i.forEach((V) => {
      let Y = V.transType === "1" ? "stakeAmount" : "returnAmount", ge = f.get(V.roundId);
      if (ge)
        ge[Y] = V.totalAmount;
      else {
        let k = Ee({}, V);
        k[Y] = V.totalAmount, f.set(V.roundId, k);
      }
    }), i = Array.from(f.values()), i;
  }, ie = (i) => {
    const f = Ce(i, `${l || "yyyy-MM-dd"}`, /* @__PURE__ */ new Date());
    return de(f, "yyyy-MM-dd");
  }, ue = (i, f, V) => {
    let Y = new URL(i);
    t(15, re = []), t(12, C = "");
    let ge = {
      method: "GET",
      headers: { "X-SessionID": g }
    };
    f || (Y.searchParams.append("offset", String(+We * 2)), Y.searchParams.append("limit", String(+j * 2))), V && (Y.searchParams.append("startDate", ie(D)), Y.searchParams.append("endDate", ie(U))), t(13, z = !0), fetch(Y.href, ge).then((k) => k.json()).then(
      (k) => {
        if (!k.error)
          t(15, re = k.transactions), t(15, re = Pe(re)), t(7, Q = k.pagination.next), t(8, G = k.pagination.previous);
        else {
          let ae = k.error.split(":");
          t(12, C = ae[1].substring(0, ae[1].lastIndexOf(" ")) + " " + ae[2]), k.thirdPartyResponse && t(12, C = d(`${k.thirdPartyResponse.errorCode}`) || ae[1].substring(0, ae[1].lastIndexOf(" ")) + " " + ae[2]);
        }
        t(13, z = !1);
      },
      (k) => {
        t(13, z = !1), console.error(k);
      }
    );
  }, fe = (i, f, V) => {
    let Y = new URL(i);
    t(15, re = []), t(12, C = "");
    let ge = {
      method: "GET",
      headers: { "X-SessionID": g }
    };
    f || (Y.searchParams.append("offset", We), Y.searchParams.append("limit", j)), V && (Y.searchParams.append("startDate", ie(D)), Y.searchParams.append("endDate", ie(U))), t(13, z = !0), fetch(Y.href, ge).then((k) => k.json()).then(
      (k) => {
        if (!k.error)
          t(15, re = k.transactions), t(7, Q = k.pagination.next), t(8, G = k.pagination.previous);
        else {
          let ae = k.error.split(":");
          t(12, C = ae[1].substring(0, ae[1].lastIndexOf(" ")) + " " + ae[2]), k.thirdPartyResponse && t(12, C = d(`${k.thirdPartyResponse.errorCode}`) || ae[1].substring(0, ae[1].lastIndexOf(" ")) + " " + ae[2]);
        }
        t(13, z = !1);
      },
      (k) => {
        t(13, z = !1), console.error(k);
      }
    );
  }, ne = (i, f, V) => {
    switch (_) {
      case "gm16":
        ue(i, f, V);
        break;
      default:
        fe(i, f, V);
        break;
    }
    window.postMessage({ type: "ScrollToTop" }, window.location.href);
  }, he = () => {
    kt(E), t(6, O = _ === "gm16" ? `${o}/v1/player/${v}/transactions/wagering?type=Casino` : `${o}/v1/player/${v}/bets`), ne(O, !1, !0);
  }, ye = (i) => {
    if (i.data)
      switch (i.data.type) {
      }
  }, _e = () => {
    const i = new Date(D), f = new Date(U);
    i.getTime() > f.getTime() ? t(10, A = !1) : t(10, A = !0);
  }, ce = (i) => {
    t(0, D = de(new Date(i.target.value), `${l || "yyyy-MM-dd"}`)), t(5, ee = de(new Date(i.target.value), "yyyy-MM-dd"));
  }, Z = (i) => {
    t(1, U = de(new Date(i.target.value), `${l || "yyyy-MM-dd"}`));
  }, b = () => {
    w.addEventListener("change", ce, !1), c.addEventListener("change", Z, !1);
  }, N = (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`), W = (i) => {
    const { year: f, month: V, day: Y } = i, ge = new Date(f, V, Y);
    return de(ge, l || "yyyy-MM-dd");
  }, ve = (i) => {
    const f = Ce(i, l || "yyyy-MM-dd", /* @__PURE__ */ new Date());
    return {
      year: f.getFullYear(),
      month: f.getMonth(),
      day: f.getDate()
    };
  }, De = (i, f) => i === "" || isNaN(Number(i)) ? f : Number(i), Oe = (i) => {
    let f = "code";
    (F === "code" || F === "symbol") && (f = F), S = new Intl.NumberFormat(
      M || E,
      {
        style: "currency",
        currencyDisplay: f,
        currency: i,
        useGrouping: !0,
        maximumFractionDigits: De(X, 2),
        minimumFractionDigits: De(L, 0)
      }
    );
  }, Ve = (i, f) => ft(i) ? (S || Oe(f), S.format(Number.parseFloat(i))) : R;
  pt(() => (window.addEventListener("message", ye, !1), window.addEventListener("resize", we, !1), t(
    2,
    w.i18n = He(Ee({}, w.i18n), {
      formatDate: W,
      parseDate: ve
    }),
    w
  ), t(
    3,
    c.i18n = He(Ee({}, c.i18n), {
      formatDate: W,
      parseDate: ve
    }),
    c
  ), () => {
    w.removeEventListener("change", ce), c.removeEventListener("change", Z), window.removeEventListener("message", ye), window.removeEventListener("resize", ye);
  }));
  const Ue = () => pe();
  function qe(i) {
    Fe[i ? "unshift" : "push"](() => {
      w = i, t(2, w);
    });
  }
  function Ze(i) {
    Fe[i ? "unshift" : "push"](() => {
      c = i, t(3, c);
    });
  }
  const Qe = () => ne(O, !1, !0);
  function Ye() {
    j = ht(this), t(11, j), t(18, I);
  }
  const Xe = () => ne(O, !1, !0), Je = () => ne(G, !0, !1), Ke = () => ne(Q, !0, !1);
  function $e(i) {
    Fe[i ? "unshift" : "push"](() => {
      te = i, t(9, te);
    });
  }
  function et(i) {
    Fe[i ? "unshift" : "push"](() => {
      h = i, t(4, h);
    });
  }
  return a.$$set = (i) => {
    "endpoint" in i && t(24, o = i.endpoint), "playerid" in i && t(25, v = i.playerid), "session" in i && t(26, g = i.session), "lang" in i && t(27, E = i.lang), "clientstyling" in i && t(28, H = i.clientstyling), "clientstylingurl" in i && t(29, p = 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, R = i.amountfallbacktext), "currencylocale" in i && t(35, M = i.currencylocale), "currencydisplay" in i && t(36, F = i.currencydisplay), "maximumfractiondigits" in i && t(37, X = i.maximumfractiondigits), "minimumfractiondigits" in i && t(38, L = i.minimumfractiondigits);
  }, a.$$.update = () => {
    a.$$.dirty[0] & /*startCalendar, endCalendar*/
    12 && w && c && b(), a.$$.dirty[0] & /*startDate, endDate*/
    3 && D && U && _e(), a.$$.dirty[0] & /*session, playerid, endpoint, lang*/
    251658240 && g && v && o && E && he(), a.$$.dirty[0] & /*clientstyling, customStylingContainer*/
    268435472 && H && h && wt(h, H), a.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
    536870928 && p && h && vt(h, p), a.$$.dirty[0] & /*mbsource, customStylingContainer*/
    1073741840 && u && h && Pt(h, `${u}.Style`), a.$$.dirty[1] & /*translationurl*/
    1 && m && y();
  }, [
    D,
    U,
    w,
    c,
    h,
    ee,
    O,
    Q,
    G,
    te,
    A,
    j,
    C,
    z,
    P,
    re,
    d,
    K,
    I,
    q,
    pe,
    ne,
    N,
    Ve,
    o,
    v,
    g,
    E,
    H,
    p,
    u,
    m,
    _,
    l,
    R,
    M,
    F,
    X,
    L,
    Ue,
    qe,
    Ze,
    Qe,
    Ye,
    Xe,
    Je,
    Ke,
    $e,
    et
  ];
}
class Tt extends st {
  constructor(e) {
    super(), dt(
      this,
      e,
      St,
      Ct,
      mt,
      {
        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
      },
      Gt,
      [-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();
  }
}
_t(Tt, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, gmversion: {}, dateformat: {}, amountfallbacktext: {}, currencylocale: {}, currencydisplay: {}, maximumfractiondigits: {}, minimumfractiondigits: {} }, [], [], !0);
export {
  Tt as default
};
