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