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