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