import { $ as ot, H as Vt, a as qt, S as Kt, i as Jt, s as Ut, f as J, b as Zt, n as Ie, d as M, e as z, g as c, h as Qt, j as Xt, o as Yt, a3 as $t, k as Xe, l as L, m as Q, p as l, q as v, t as s, w as er, u as U, r as se, x as Pe, v as N, y as E, L as tt, B as tr, C as rr, D as ar, c as ir, A as or } from "./PlayerAccountController-BLu_m4ej.js";
import { d as et } from "./PlayerAccountTimeout-DXXa_Vcr.js";
import { C as nr } from "./PlayerAccountSelfExclusion-B6inhAHc.js";
import "../stencil/ui-skeleton-DNuG5l9W.js";
import "./PlayerBonusHistory-C6gTzyip.js";
function sr({ withLocale: r, translations: e }) {
  ot.subscribe((t) => {
    t == null && (Vt.set(e), ot.set(r));
  });
}
function nt(r, e) {
  qt(r, e);
}
function lr(r) {
  ot.set(r);
}
const st = {
  en: {
    headerTitle: "Historical Transactions",
    Casino: "Casino",
    Sports: "Sports",
    Payments: "Payments",
    dateFrom: "Period From",
    dateTo: "Period To",
    dateFilter: "Filter",
    InvalidSession: "The session you are using is invalid, please check..",
    checkPeriod: "Please select other period in order to see data.",
    Type: "Type",
    Status: "Status",
    Amount: "Amount",
    Currency: "Currency",
    Date: "Date",
    "Game Name": "Game Name",
    Date: "Transaction ID",
    "Bet Amount": "Bet Amount",
    "Win Amount": "Win Amount",
    "Transaction ID": "Transaction ID",
    Stake: "Stake",
    Description: "Description",
    "Bet Part": "Bet Part",
    "Bet Type": "Bet Type",
    "Free Bet": "Free Bet",
    "Win Type": "Win Type",
    "Play Type": "Play Type",
    "Bet Adjustment": "Bet Adjustment",
    "Bet ID": "Bet ID",
    Price: "Price",
    Selection: "Selection",
    Market: "Market",
    Sport: "Sport",
    Date: "Date",
    Sport: "Sport",
    Sport: "Sport",
    Multiple: "Multiple",
    Winnings: "Winnings",
    noTransactions: "No transactions found"
  },
  "zh-hk": {
    headerTitle: "历史交易",
    Casino: "赌场",
    Sports: "体育",
    Payments: "付款",
    dateFrom: "开始日期",
    dateTo: "结束日期",
    dateFilter: "筛选",
    InvalidSession: "您使用的会话无效，请检查。",
    checkPeriod: "请选择其他时间段以查看数据。",
    Type: "类型",
    Status: "状态",
    Amount: "金额",
    Currency: "货币",
    Date: "日期",
    "Game Name": "游戏名称",
    "Transaction ID": "交易ID",
    "Bet Amount": "投注金额",
    "Win Amount": "赢取金额",
    Stake: "赌注",
    Description: "描述",
    "Bet Part": "投注部分",
    "Bet Type": "投注类型",
    "Free Bet": "免费投注",
    "Win Type": "赢取类型",
    "Play Type": "播放類型",
    "Bet Adjustment": "投注调整",
    "Bet ID": "投注ID",
    Price: "价格",
    Selection: "选择",
    Market: "市场",
    Sport: "体育",
    Multiple: "多重",
    Winnings: "獲勝",
    noTransactions: "未找到交易記錄"
  },
  fr: {
    headerTitle: "Transactions Historiques",
    Casino: "Casino",
    Sports: "Sports",
    Payments: "Paiements",
    dateFrom: "Période De",
    dateTo: "Période À",
    dateFilter: "Filtrer",
    InvalidSession: "La session que vous utilisez est invalide, veuillez vérifier.",
    checkPeriod: "Veuillez sélectionner une autre période pour voir les données.",
    Type: "Type",
    Status: "Statut",
    Amount: "Montant",
    Currency: "Devise",
    Date: "Date",
    "Game Name": "Nom du Jeu",
    "Transaction ID": "ID de Transaction",
    "Bet Amount": "Montant du Pari",
    "Win Amount": "Montant Gagné",
    Stake: "Mise",
    Description: "Description",
    "Bet Part": "Partie du Pari",
    "Bet Type": "Type de Pari",
    "Free Bet": "Pari Gratuit",
    "Win Type": "Type de Gain",
    "Play Type": "Type de lecture",
    "Bet Adjustment": "Ajustement du Pari",
    "Bet ID": "ID du Pari",
    Price: "Prix",
    Selection: "Sélection",
    Market: "Marché",
    Sport: "Sport",
    Multiple: "Multiple",
    Winnings: "Gains",
    noTransactions: "Aucune transaction trouvée"
  },
  ro: {
    headerTitle: "Tranzacții Istorice",
    Casino: "Cazinou",
    Sports: "Sporturi",
    Payments: "Plăți",
    dateFrom: "Perioada De",
    dateTo: "Perioada Până",
    dateFilter: "Filtru",
    InvalidSession: "Sesiunea pe care o utilizați este invalidă, vă rugăm să verificați.",
    checkPeriod: "Vă rugăm să selectați o altă perioadă pentru a vedea datele.",
    Type: "Tip",
    Status: "Stare",
    Amount: "Sumă",
    Currency: "Monedă",
    Date: "Data",
    "Game Name": "Numele Jocului",
    "Transaction ID": "ID-ul Tranzacției",
    "Bet Amount": "Suma Pariei",
    "Win Amount": "Suma Câștigată",
    Stake: "Miză",
    Description: "Descriere",
    "Bet Part": "Partea Pariei",
    "Bet Type": "Tipul Pariei",
    "Free Bet": "Pariu Gratuit",
    "Win Type": "Tipul Câștigului",
    "Play Type": "Tip de redare",
    "Bet Adjustment": "Ajustarea Pariei",
    "Bet ID": "ID-ul Pariei",
    Price: "Preț",
    Selection: "Selecție",
    Market: "Piață",
    Sport: "Sport",
    Multiple: "Multiplu",
    Winnings: "Câștiguri",
    noTransactions: "Nu au fost găsite tranzacții"
  },
  es: {
    headerTitle: "Transacciones Históricas",
    Casino: "Casino",
    Sports: "Deportes",
    Payments: "Pagos",
    dateFrom: "Período Desde",
    dateTo: "Período Hasta",
    dateFilter: "Filtrar",
    InvalidSession: "La sesión que está utilizando es inválida, por favor verifique.",
    checkPeriod: "Por favor seleccione otro período para ver los datos.",
    Type: "Tipo",
    Status: "Estado",
    Amount: "Cantidad",
    Currency: "Moneda",
    Date: "Fecha",
    "Game Name": "Nombre del Juego",
    "Transaction ID": "ID de Transacción",
    "Bet Amount": "Cantidad Apostada",
    "Win Amount": "Cantidad Ganada",
    Stake: "Apuesta",
    Description: "Descripción",
    "Bet Part": "Parte de la Apuesta",
    "Bet Type": "Tipo de Apuesta",
    "Free Bet": "Apuesta Gratis",
    "Win Type": "Tipo de Ganancia",
    "Play Type": "Tipo de reproducción",
    "Bet Adjustment": "Ajuste de Apuesta",
    "Bet ID": "ID de Apuesta",
    Price: "Precio",
    Selection: "Selección",
    Market: "Mercado",
    Sport: "Deporte",
    Multiple: "Múltiple",
    Winnings: "Ganancias",
    noTransactions: "No se encontraron transacciones"
  },
  pt: {
    headerTitle: "Transações Históricas",
    Casino: "Cassino",
    Sports: "Esportes",
    Payments: "Pagamentos",
    dateFrom: "Período De",
    dateTo: "Período Até",
    dateFilter: "Filtrar",
    InvalidSession: "A sessão que você está usando é inválida, por favor verifique.",
    checkPeriod: "Por favor selecione outro período para ver os dados.",
    Type: "Tipo",
    Status: "Status",
    Amount: "Quantia",
    Currency: "Moeda",
    Date: "Data",
    "Game Name": "Nome do Jogo",
    "Transaction ID": "ID da Transação",
    "Bet Amount": "Quantia Apostada",
    "Win Amount": "Quantia Ganha",
    Stake: "Aposta",
    Description: "Descrição",
    "Bet Part": "Parte da Aposta",
    "Bet Type": "Tipo de Aposta",
    "Free Bet": "Aposta Grátis",
    "Win Type": "Tipo de Ganho",
    "Play Type": "Tipo de reprodução",
    "Bet Adjustment": "Ajuste de Aposta",
    "Bet ID": "ID da Aposta",
    Price: "Preço",
    Selection: "Seleção",
    Market: "Mercado",
    Sport: "Esporte",
    Multiple: "Múltiplo",
    Winnings: "Ganhos",
    noTransactions: "Nenhuma transação encontrada"
  },
  hr: {
    headerTitle: "Povijesne Transakcije",
    Casino: "Casino",
    Sports: "Sportovi",
    Payments: "Plaćanja",
    dateFrom: "Razdoblje Od",
    dateTo: "Razdoblje Do",
    dateFilter: "Filtriraj",
    InvalidSession: "Sesija koju koristite je nevažeća, molimo provjerite.",
    checkPeriod: "Molimo odaberite drugo razdoblje za pregled podataka.",
    Type: "Vrsta",
    Status: "Status",
    Amount: "Iznos",
    Currency: "Valuta",
    Date: "Datum",
    "Game Name": "Naziv Igre",
    "Transaction ID": "ID Transakcije",
    "Bet Amount": "Iznos Oklade",
    "Win Amount": "Iznos Dobitka",
    Stake: "Ulog",
    Description: "Opis",
    "Bet Part": "Dio Oklade",
    "Bet Type": "Vrsta Oklade",
    "Free Bet": "Besplatna Oklada",
    "Win Type": "Vrsta Dobitka",
    "Play Type": "Vrsta reprodukcije",
    "Bet Adjustment": "Prilagodba Oklade",
    "Bet ID": "ID Oklade",
    Price: "Cijena",
    Selection: "Izbor",
    Market: "Tržište",
    Sport: "Sport",
    Multiple: "Višestruko",
    Winnings: "Dobitci",
    noTransactions: "Nema pronađenih transakcija"
  },
  "pt-br": {
    headerTitle: "Transações Históricas",
    Casino: "Cassino",
    Sports: "Esportes",
    Payments: "Pagamentos",
    dateFrom: "Período De",
    dateTo: "Período Até",
    dateFilter: "Filtrar",
    InvalidSession: "A sessão que você está usando é inválida, por favor verifique.",
    checkPeriod: "Por favor selecione outro período para ver os dados.",
    Type: "Tipo",
    Status: "Status",
    Amount: "Quantia",
    Currency: "Moeda",
    Date: "Data",
    "Game Name": "Nome do Jogo",
    "Transaction ID": "ID da Transação",
    "Bet Amount": "Quantia Apostada",
    "Win Amount": "Quantia Ganha",
    Stake: "Aposta",
    Description: "Descrição",
    "Bet Part": "Parte da Aposta",
    "Bet Type": "Tipo de Aposta",
    "Free Bet": "Aposta Grátis",
    "Win Type": "Tipo de Ganho",
    "Play Type": "Tipo de reprodução",
    "Bet Adjustment": "Ajuste de Aposta",
    "Bet ID": "ID da Aposta",
    Price: "Preço",
    Selection: "Seleção",
    Market: "Mercado",
    Sport: "Esporte",
    Multiple: "Múltiplo",
    Winnings: "Ganhos",
    noTransactions: "Nenhuma transação encontrada"
  },
  "es-mx": {
    headerTitle: "Transacciones Históricas",
    Casino: "Casino",
    Sports: "Deportes",
    Payments: "Pagos",
    dateFrom: "Período Desde",
    dateTo: "Período Hasta",
    dateFilter: "Filtrar",
    InvalidSession: "La sesión que está utilizando es inválida, por favor verifique.",
    checkPeriod: "Por favor seleccione otro período para ver los datos.",
    Type: "Tipo",
    Status: "Estado",
    Amount: "Cantidad",
    Currency: "Moneda",
    Date: "Fecha",
    "Game Name": "Nombre del Juego",
    "Transaction ID": "ID de Transacción",
    "Bet Amount": "Cantidad Apostada",
    "Win Amount": "Cantidad Ganada",
    Stake: "Apuesta",
    Description: "Descripción",
    "Bet Part": "Parte de la Apuesta",
    "Bet Type": "Tipo de Apuesta",
    "Free Bet": "Apuesta Gratis",
    "Win Type": "Tipo de Ganancia",
    "Play Type": "Tipo de reproducción",
    "Bet Adjustment": "Ajuste de Apuesta",
    "Bet ID": "ID de Apuesta",
    Price: "Precio",
    Selection: "Selección",
    Market: "Mercado",
    Sport: "Deporte",
    Multiple: "Múltiple",
    Winnings: "Ganancias",
    noTransactions: "No se encontraron transacciones"
  },
  tr: {
    headerTitle: "Geçmiş İşlemler",
    Casino: "Casino",
    Sports: "Sporlar",
    Payments: "Ödemeler",
    dateFrom: "Dönemden",
    dateTo: "Döneme",
    dateFilter: "Filtre",
    InvalidSession: "Kullandığınız oturum geçersiz, lütfen kontrol edin.",
    checkPeriod: "Verileri görmek için lütfen başka bir dönem seçin.",
    Type: "Tür",
    Status: "Durum",
    Amount: "Miktar",
    Currency: "Para Birimi",
    Date: "Tarih",
    "Game Name": "Oyun Adı",
    "Transaction ID": "İşlem ID",
    "Bet Amount": "Bahis Miktarı",
    "Win Amount": "Kazanç Miktarı",
    Stake: "Bahis",
    Description: "Açıklama",
    "Bet Part": "Bahis Bölümü",
    "Bet Type": "Bahis Türü",
    "Free Bet": "Ücretsiz Bahis",
    "Win Type": "Kazanç Türü",
    "Play Type": "Oynatma Türü",
    "Bet Adjustment": "Bahis Ayarı",
    "Bet ID": "Bahis ID",
    Price: "Fiyat",
    Selection: "Seçim",
    Market: "Pazar",
    Sport: "Spor",
    Multiple: "Çoklu",
    Winnings: "Kazanan",
    noTransactions: "İşlem bulunamadı"
  },
  "en-us": {
    headerTitle: "Historical Transactions",
    Casino: "Casino",
    Sports: "Sports",
    Payments: "Payments",
    dateFrom: "Period From",
    dateTo: "Period To",
    dateFilter: "Filter",
    InvalidSession: "The session you are using is invalid, please check..",
    checkPeriod: "Please select other period in order to see data.",
    Type: "Type",
    Status: "Status",
    Amount: "Amount",
    Currency: "Currency",
    Date: "Date",
    "Game Name": "Game Name",
    Date: "Transaction ID",
    "Bet Amount": "Bet Amount",
    "Win Amount": "Win Amount",
    "Transaction ID": "Transaction ID",
    Stake: "Stake",
    Description: "Description",
    "Bet Part": "Bet Part",
    "Bet Type": "Bet Type",
    "Free Bet": "Free Bet",
    "Win Type": "Win Type",
    "Play Type": "Play Type",
    "Bet Adjustment": "Bet Adjustment",
    "Bet ID": "Bet ID",
    Price: "Price",
    Selection: "Selection",
    Market: "Market",
    Sport: "Sport",
    Date: "Date",
    Sport: "Sport",
    Sport: "Sport",
    Multiple: "Multiple",
    Winnings: "Winnings",
    noTransactions: "No transactions found"
  }
};
function pr(r) {
  Zt(r, "svelte-xdr5hv", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.headerTextNone{display:none}.historyContainer{container-type:inline-size}.historyContainer .desktopSubmenu{display:flex}.historyContainer .allSubmenuRows{display:none}.historyContainer .historyWrapper{padding:50px}.historyContainer .historyWrapper .historyHeader{width:100%;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:20px}.historyContainer .historyWrapper .historyHeader .headerText p{color:var(--emw--color-primary, #22b04e);font-size:var(--emw--font-size-x-large, 26px);font-family:inherit}.historyContainer .historyWrapper .historyHeader .headerText.skeleton{width:250px;height:30px}.historyContainer .historyWrapper .historyHeader .headerController{display:inherit;flex-direction:row;align-items:center;flex-wrap:wrap;justify-content:flex-start;gap:30px}.historyContainer .historyWrapper .historyHeader .headerController.skeleton .toggleContent{justify-content:flex-start;overflow:hidden}.historyContainer .historyWrapper .historyHeader .headerController.skeleton .toggleContent .toggleCheckbox{border:none;padding:0;margin:0}.historyContainer .historyWrapper .historyHeader .headerController.skeleton .toggleContent .label{width:70px;height:15px;border-radius:var(--emw--border-radius-medium, 20px);overflow:hidden}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent{display:inherit;flex-direction:row;align-items:inherit;justify-content:inherit;background-color:transparent;border:none;cursor:pointer}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .toggleCheckbox{width:20px;height:20px;padding:2px;margin:2px 0 2px 0;border-radius:100%;position:relative;border:1px solid var(--emw--color-gray-300, #666178)}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .toggleCheckbox [type=checkbox]{display:none}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .toggleCheckbox::before{content:"";width:12.75px;height:12.75px;border-radius:var(--emw--border-radius-large, 20px);cursor:pointer;position:absolute;top:50%;left:50%;z-index:1;transform:translate(-50%, -50%);transition:all 0.5s ease}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent.checked .toggleCheckbox{border:1px solid var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent.checked .toggleCheckbox::before{background-color:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyHeader .headerController .toggleContent .label{font-size:var(--emw--size-standard, 16px);font-family:inherit;margin-left:10px}.historyContainer .historyWrapper .historyFilter{display:flex;align-items:flex-end;gap:10px;padding-bottom:30px;padding:20px 0px}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer{display:flex;gap:5px}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate{width:190px;color:var(--emw--color-gray-300, #58586b);display:flex;flex-direction:column;position:relative;align-items:flex-start;gap:10px}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate.BonusesCalendarMobile,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate.BonusesCalendarMobile{flex-direction:column;align-items:flex-start;gap:5px;width:48%}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate.BonusesCalendarMobile .VaadinDatePicker,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate.BonusesCalendarMobile .VaadinDatePicker{width:100%;border-radius:var(--emw--border-radius-medium, 20px)}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate label,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate label{font-size:var(--emw--font-size-small, 14px);font-weight:300}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate input,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate input{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #e6e6e6);border-radius:var(--emw--border-radius-small, 5px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--size-standard, 16px);line-height:18px;outline-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter{background-image:linear-gradient(to bottom, color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, black 20%), var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-primary, #22b04e) 80%, white 30%));border:2px solid var(--emw--button-border-color, #0e5924);color:var(--emw--button-text-color, #ffffff);border-radius:var(--emw--button-border-radius, 50px);cursor:pointer;width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:9px;outline:none}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter.historyCalendarFilterMobile{width:100%;height:44px}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter:active{background:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter.disable{cursor:default;color:var(--emw--color-white, #ffffff);background:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarEndDate{align-items:normal;overflow:hidden}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarStartDate .label,.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarEndDate .label{height:15px;overflow:hidden;border-radius:20px}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarFilter{padding:0;background:transparent;border:none;overflow:hidden}.historyContainer .historyWrapper .historyTable{width:100%;display:flex;flex-direction:column;border:1px solid var(--emw--color-primary, #22b04e);background-color:var(--emw--color-white, #ffffff);overflow:auto;scrollbar-width:thin}.historyContainer .historyWrapper .historyTable::-webkit-scrollbar{width:6px;height:6px}.historyContainer .historyWrapper .historyTable .tableWrapper{width:100%;display:flex;flex-direction:column}.historyContainer .historyWrapper .historyTable .tableWrapper.sports{width:100%;display:flex}.historyContainer .historyWrapper .historyTable .tableWrapper.sports .tableHead span{min-width:102px}.historyContainer .historyWrapper .historyTable .tableWrapper.sports .tableContent .tableRow .tableData span{min-width:101px}.historyContainer .historyWrapper .historyTable .tableHead{display:flex}.historyContainer .historyWrapper .historyTable .tableHead span{display:flex;justify-content:center;align-items:center;min-width:100px;flex:1 1 20%;padding:12px 0;text-align:center;color:var(--emw--button-text-color, #ffffff);background:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyTable .tableContent{width:100%;max-height:546px;overflow-y:auto}.historyContainer .historyWrapper .historyTable .tableContent::-webkit-scrollbar{width:6px;height:6px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:10px 5px;background-color:var(--emw--color-primary, rgba(68, 224, 117, 0.811))}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData{display:flex;justify-content:center;align-items:center;width:100%}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu{width:100px;display:flex;justify-content:center;align-items:center;flex:1 1 20%;text-align:center;cursor:pointer;font-weight:700;font-size:inherit;text-decoration:underline;color:var(--emw--color-white, #ffffff);border:none;background-color:transparent}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu .iconToggleSubMenu{width:18px;height:18px;padding-bottom:5px;box-sizing:content-box;fill:var(--emw--color-white, #ffffff);transform:rotateX(0deg);transition:all 0.3s ease-in-out}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu .iconToggleSubMenu.active{transform:rotateX(180deg)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu span{width:70px;flex:none}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span{flex:1 1 20%;text-align:center;min-width:100px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.approved svg{width:30px;height:30px;fill:transparent}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.approved svg path{stroke:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.decline svg{width:30px;height:30px;fill:transparent}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span.decline svg path{stroke:var(--emw--color-error, #ed0909)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu{display:flex;flex-direction:row;justify-content:center;align-items:center;width:100%;overflow:hidden;max-height:0px;overflow:hidden;opacity:0;transition:all 0.3s ease-in-out}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .tableData{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow:hidden}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .tableData .label{width:100%;padding:0;overflow-wrap:break-word}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu.active{max-height:1000px;opacity:1}.historyContainer .historyWrapper .historyTable .tableContent .tableRow:nth-of-type(odd){background-color:var(--emw--color-white, #ffffff)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow:nth-of-type(odd) .tableData .toggleSubMenu{color:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyTable .tableContent .tableRow:nth-of-type(odd) .tableData .toggleSubMenu .iconToggleSubMenu{fill:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyTable.skeleton .tableHead{gap:40px;padding:18px 25px}.historyContainer .historyWrapper .historyTable.skeleton .tableHead div{width:100px;overflow:hidden;height:15px;border-radius:10px;flex:1 1 20%}.historyContainer .historyWrapper .historyTable.skeleton .tableContent .tableRow{padding:0px}.historyContainer .historyWrapper .historyTable.skeleton .tableContent .tableRow .tableData{gap:40px;padding:18px 25px;border-radius:10px}.historyContainer .historyWrapper .historyTable.skeleton .tableContent .tableRow .tableData div{overflow:hidden;height:15px;border-radius:10px;width:100px;flex:1 1 20%;text-align:center}.historyContainer .historyWrapper .historyPaginationContainer{display:flex;flex-direction:row;justify-content:flex-start;align-items:center;gap:20px;padding-top:10px}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex{width:fit-content;display:flex;flex-direction:row;align-items:center;justify-content:center;border:1px solid var(--emw--color-primary, #22b04e);border-radius:var(--emw--border-radius-small, 5px)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .indexDisplay{text-align:center;width:40px;padding:10px;transition:all 0.3s ease;border-left:1px solid var(--emw--color-primary, #22b04e);border-right:1px solid var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .indexDisplay input{width:100%}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .indexDisplay.disable{color:var(--emw--color-white, #ffffff);background:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight{display:flex;justify-content:center;align-items:center;width:20px;height:20px;padding:9px;box-sizing:content-box;cursor:pointer;transition:all 0.3s ease;background-color:transparent;border:none}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft svg,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight svg{fill:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft.disable,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight.disable{cursor:default;background:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft.disable svg,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight.disable svg{fill:var(--emw--color-white, #ffffff)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft.disable:hover,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight.disable:hover{background-color:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft:hover,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight:hover{background-color:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowLeft:hover svg,.historyContainer .historyWrapper .historyPaginationContainer .historyPageIndex .arrowRight:hover svg{fill:var(--emw--color-white, #ffffff)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize{width:fit-content;display:inline;text-align:center;width:80px;height:43px}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector{width:100%;height:100%;position:relative;border:none;background-color:transparent;cursor:pointer;border-radius:var(--emw--border-radius-small, 5px)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .currentPageSize{width:100%;height:100%;padding:10px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;border:1px solid var(--emw--color-primary, #22b04e);border-radius:var(--emw--border-radius-small, 5px)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .currentPageSize .icon{width:15px;height:15px;padding-bottom:2px;transform:rotateX(0deg);box-sizing:content-box;transition:all 0.3s ease;fill:var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown{width:100%;max-height:0px;position:absolute;top:120%;left:0;text-align:left;overflow:hidden;opacity:0;background-color:var(--emw--color-white, #ffffff);border:1px solid var(--emw--color-primary, #22b04e);border-radius:var(--emw--border-radius-small, 5px);transition:all 0.3s ease}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow{width:100%;cursor:pointer;padding:10px;border:none;background-color:transparent;border-bottom:1px solid var(--emw--color-primary, #22b04e)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow .p{flex:1 1 20%;text-align:center}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow:hover{background-color:var(--emw--color-primary, rgba(68, 224, 117, 0.811))}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown .dropDownRow:nth-last-child(1){border:none}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.active .currentPageSize .icon{transform:rotateX(180deg)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.active .pageSizeDropDown{max-height:1000px;opacity:1}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.disable{cursor:default;background-color:var(--emfe-w-color-gray-150, #bababa)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.disable .currentPageSize{color:var(--emw--color-white, #ffffff)}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector.disable .currentPageSize .icon{fill:var(--emw--color-white, #ffffff)}.historyContainer .historyWrapper .historyPaginationContainer.skeleton .historyPageIndex{display:block;width:100px;border:none;overflow:hidden;border-radius:5px}.historyContainer .historyWrapper .historyPaginationContainer.skeleton .historyPageSize{border:none;overflow:hidden;border-radius:5px}.historyContainer .historyMobileWrapper.historyWrapper{padding:20px 15px}.historyContainer .historyMobileWrapper.historyWrapper .historyHeader .headerText{display:none}.historyContainer .historyMobileWrapper.historyWrapper .historyHeader .historyReturnButton{display:inline-flex;border:none;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));align-items:center;column-gap:10px;margin-bottom:10px}.historyContainer .historyMobileWrapper.historyWrapper .historyHeader .historyReturnButton .historyReturnText{font-size:var(--emw--size-standard, 16px)}.historyContainer .historyMobileWrapper.historyWrapper .historyHeader .historyReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e))}.historyContainer .historyMobileWrapper.historyWrapper .historyHeader .historyReturnButton.skeleton{width:200px;height:20px}.historyContainer .historyMobileWrapper.historyWrapper .historyHeader .headerController{width:100%;align-items:center;justify-content:center}.historyContainer .historyMobileWrapper.historyWrapper .historyFilter{flex-direction:column;align-items:center}.historyContainer .historyMobileWrapper.historyWrapper .historyFilter .historyCalendarContainer{width:100%}.historyContainer .historyMobileWrapper.historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyMobileWrapper.historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate{width:inherit}.historyContainer .historyMobileWrapper.historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate .VaadinDatePicker,.historyContainer .historyMobileWrapper.historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate .VaadinDatePicker{width:inherit}.historyContainer .historyMobileWrapper.historyWrapper .historyFilter .historyCalendarFilter{width:100%}.historyContainer .historyMobileWrapper.historyWrapper .historyTable{overflow:auto}.historyContainer .historyMobileWrapper.historyWrapper .historyTable .tableHead{min-width:fit-content}.historyContainer .historyMobileWrapper.historyWrapper .historyTable .tableContent{min-width:fit-content;max-height:430px}.historyContainer .historyMobileWrapper.historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown{top:-150px}@container (max-width: 425px){.historyContainer .historyWrapper{display:flex;flex-direction:column}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer{width:100%;flex-direction:column}.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarStartDate .label,.historyContainer .historyWrapper .historyFilter.skeleton .historyCalendarContainer .historyCalendarEndDate .label{width:100px}.historyContainer .historyWrapper .historyTable{overflow:auto}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span{padding:5px 0;font-size:13px}.historyContainer .historyWrapper .historyPaginationContainer .historyPageSize .pageSizeSelector .pageSizeDropDown{top:-150px}}@container (max-width: 520px){.historyContainer .historyWrapper .historyFilter{flex-direction:column;align-items:flex-start}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer{flex-direction:column;width:100%}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate{min-width:190px;width:100%}.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarStartDate vaadin-date-picker,.historyContainer .historyWrapper .historyFilter .historyCalendarContainer .historyCalendarEndDate vaadin-date-picker{width:100%}.historyContainer .historyWrapper .historyFilter .historyCalendarFilter{min-width:190px;width:100%}}@container (max-width: 784px){.historyContainer .historyWrapper .historyTable{min-width:190px}.historyContainer .historyWrapper .historyTable .tableWrapper{display:flex}.historyContainer .historyWrapper .historyTable .tableHead{display:none}.historyContainer .historyWrapper .historyTable .tableRow{display:flex;flex-direction:column;border:1px solid #ddd;margin-bottom:16px;border-radius:8px;overflow:hidden;background:#fff;text-align:center}.historyContainer .historyWrapper .historyTable .tableData{display:flex;flex-direction:column;padding:16px}.historyContainer .historyWrapper .historyTable .tableData span{width:100%}.historyContainer .historyWrapper .historyTable .tableData span[data-label],.historyContainer .historyWrapper .historyTable .tableData button[data-label]{display:flex;justify-content:space-between;align-items:center;padding:4px 0;border-bottom:1px solid #eee}.historyContainer .historyWrapper .historyTable .tableData span[data-label]::before,.historyContainer .historyWrapper .historyTable .tableData button[data-label]::before{content:attr(data-label);font-weight:600;color:#555;margin-right:16px;flex:1;text-align:left}.historyContainer .historyWrapper .historyTable .tableData button[data-label]{padding:2px 0}.historyContainer .historyWrapper .historyTable .tableData span[data-label]:last-child{border-bottom:none}.historyContainer .historyWrapper .historyTable .tableData span[data-label],.historyContainer .historyWrapper .historyTable .tableData button[data-label] span{flex:2;text-align:right;font-weight:normal;color:#222}.historyContainer .historyWrapper .historyTable .tableContent{overflow-y:visible;padding:10px 5px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData span{text-align:right}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableData .toggleSubMenu{width:100%}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu{display:none;margin-top:15px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu.active{display:block;padding:0 18px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .tableData{display:flex;flex-direction:column;padding:1px}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .label{display:flex;justify-content:space-between;padding:3px 0;font-size:14px;border-bottom:1px solid #eee;flex:2;text-align:right;font-weight:normal;color:rgba(0, 0, 0, 0.7);padding:2px 0}.historyContainer .historyWrapper .historyTable .tableContent .tableRow .tableSubMenu .label::before{content:attr(data-label);font-weight:600;display:inline-block;width:100px;flex:1;text-align:left;margin-right:8px}.historyContainer .historyWrapper .historyTable .tableContent .submenuRow{margin-top:10px}.historyContainer .historyWrapper .historyTable .tableContent .remainingRows .submenuRow{margin:0}.historyContainer .historyWrapper .historyTable .tableContent .remainingRows .submenuRow:last-of-type .tableData span{border-bottom:none}.historyContainer .historyWrapper .historyTable .tableContent .submenuRowTitle{font-size:14px}.historyContainer .remainingRows{margin-top:15px}.historyContainer .desktopSubmenu{display:none}.historyContainer .allSubmenuRows{display:flex;flex-direction:column}}@container (min-width: 785px){.historyContainer .historyWrapper .historyTable .tableWrapper.sports{display:block}}');
}
function lt(r, e, t) {
  const a = r.slice();
  return a[101] = e[t], a;
}
function pt(r, e, t) {
  const a = r.slice();
  return a[104] = e[t], a[105] = e, a[106] = t, a;
}
function ht(r, e, t) {
  const a = r.slice();
  return a[107] = e[t], a;
}
function dt(r, e, t) {
  const a = r.slice();
  return a[92] = e[t], a[111] = t, a;
}
function ct(r, e, t) {
  const a = r.slice();
  return a[107] = e[t], a;
}
function yt(r, e, t) {
  const a = r.slice();
  return a[114] = e[t], a;
}
function ut(r, e, t) {
  const a = r.slice();
  return a[117] = e[t], a;
}
function bt(r, e, t) {
  const a = r.slice();
  return a[114] = e[t], a;
}
function gt(r, e, t) {
  const a = r.slice();
  return a[114] = e[t], a;
}
function ft(r, e, t) {
  const a = r.slice();
  return a[124] = e[t], a[106] = t, a;
}
function hr(r, e, t) {
  const a = r.slice();
  return a[92] = e[t], a;
}
function dr(r, e, t) {
  const a = r.slice();
  return a[92] = e[t], a;
}
function cr(r, e, t) {
  const a = r.slice();
  return a[92] = e[t], a;
}
function yr(r, e, t) {
  const a = r.slice();
  return a[92] = e[t], a;
}
function ur(r) {
  let e, t, a, o, n, i, h = (
    /*$_*/
    r[3]("headerTitle") + ""
  ), f, k, S, R, P, W, C, F, B = (
    /*$_*/
    r[3]("dateFrom") + ""
  ), G, I, A, j, H, ae, u = (
    /*$_*/
    r[3]("dateTo") + ""
  ), b, d, w, De, le, X = (
    /*$_*/
    r[3]("dateFilter") + ""
  ), We, ie, Ge, be, oe, ge, Re, V, Z, ne, Y, $, ee, _e, pe, je, Oe, fe, Le, He, xe, Ye, we, Me, Ve, ze, he, D, de, me, qe, Be, Ke, ve, Je, Ue, te, Ae, Ne, Ze, ce = (
    /*isMobile*/
    r[22] && gr(r)
  ), ye = L(
    /*transactionTypes*/
    r[17]
  ), q = [];
  for (let y = 0; y < ye.length; y += 1)
    q[y] = mt(ft(r, ye, y));
  let ke = L(
    /*tableColumns*/
    r[23][
      /*activeType*/
      r[8]
    ]
  ), K = [];
  for (let y = 0; y < ke.length; y += 1)
    K[y] = _t(gt(r, ke, y));
  function Qe(y, x) {
    return (
      /*isEmpty*/
      y[14] ? Cr : (
        /*isError*/
        y[13] ? fr : mr
      )
    );
  }
  let Ee = Qe(r), re = Ee(r), Te = L(
    /*pageSizeOptions*/
    r[30]
  ), O = [];
  for (let y = 0; y < Te.length; y += 1)
    O[y] = Wt(lt(r, Te, y));
  return {
    c() {
      e = c("div"), t = c("div"), a = c("div"), ce && ce.c(), o = v(), n = c("div"), i = c("p"), f = N(h), k = v(), S = c("div");
      for (let y = 0; y < q.length; y += 1)
        q[y].c();
      R = v(), P = c("div"), W = c("div"), C = c("div"), F = c("label"), G = N(B), I = v(), A = c("vaadin-date-picker"), j = v(), H = c("div"), ae = c("label"), b = N(u), d = v(), w = c("vaadin-date-picker"), De = v(), le = c("button"), We = N(X), Ge = v(), be = c("table"), oe = c("div"), ge = c("thead");
      for (let y = 0; y < K.length; y += 1)
        K[y].c();
      Re = v(), V = c("tbody"), re.c(), ne = v(), Y = c("div"), $ = c("div"), ee = c("button"), _e = E("svg"), pe = E("path"), Oe = v(), fe = c("div"), Le = c("p"), He = N(
        /*pageNumber*/
        r[10]
      ), Ye = v(), we = c("button"), Me = E("svg"), Ve = E("path"), he = v(), D = c("div"), de = c("button"), me = c("div"), qe = c("p"), Be = N(
        /*pageSize*/
        r[9]
      ), Ke = v(), ve = E("svg"), Je = E("path"), Ue = v(), te = c("div");
      for (let y = 0; y < O.length; y += 1)
        O[y].c();
      s(n, "class", "headerText " + /*isMobile*/
      (r[22] ? "headerTextNone" : "")), s(S, "class", "headerController"), s(a, "class", "historyHeader"), s(F, "for", "historyCalendarStartDate"), se(
        A,
        "max",
        /*formattedMaxDate*/
        r[5]
      ), se(
        A,
        "value",
        /*historyCalendarStartDate*/
        r[6]
      ), se(A, "placeholder", "From"), se(A, "class", "VaadinDatePicker"), s(C, "class", "historyCalendarStartDate"), s(ae, "for", "historyCalendarEndDate"), se(
        w,
        "max",
        /*formattedMaxDate*/
        r[5]
      ), se(
        w,
        "value",
        /*historyCalendarEndDate*/
        r[7]
      ), se(w, "placeholder", "To"), se(w, "class", "VaadinDatePicker"), s(H, "class", "historyCalendarEndDate"), s(W, "class", "historyCalendarContainer"), s(le, "class", ie = "historyCalendarFilter " + (/*buttonStatus*/
      r[21].filterButton ? "" : "disable")), s(P, "class", "historyFilter"), s(ge, "class", "tableHead"), s(V, "class", "tableContent"), s(oe, "class", Z = `tableWrapper ${/*activeType*/
      r[8].replace("$", "")} ${/*isMobile*/
      r[22] ? "tableWrapperMobile" : ""}`), s(be, "class", "historyTable"), s(pe, "d", "M1.293,12.707a1,1,0,0,1,0-1.414l5-5A1,1,0,0,1,7.707,7.707L4.414,11H22a1,1,0,0,1,0,2H4.414l3.293,3.293a1,1,0,1,1-1.414,1.414Z"), s(_e, "viewBox", "1 4 17 17"), s(_e, "xmlns", "http://www.w3.org/2000/svg"), s(ee, "class", je = "arrowLeft " + (/*buttonStatus*/
      r[21].previousPage ? "" : "disable")), s(fe, "class", xe = "indexDisplay " + (!/*buttonStatus*/
      r[21].previousPage && !/*buttonStatus*/
      r[21].nextPage ? "disable" : "")), s(Ve, "d", "M17.707,17.707a1,1,0,0,1-1.414-1.414L19.586,13H2a1,1,0,0,1,0-2H19.586L16.293,7.707a1,1,0,0,1,1.414-1.414l5,5a1,1,0,0,1,0,1.414Z"), s(Me, "viewBox", "6 4 17 17"), s(Me, "xmlns", "http://www.w3.org/2000/svg"), s(we, "class", ze = "arrowRight " + (/*buttonStatus*/
      r[21].nextPage ? "" : "disable")), s($, "class", "historyPageIndex"), s(Je, "d", "M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"), s(ve, "xmlns", "http://www.w3.org/2000/svg"), s(ve, "viewBox", "6 5 20 20"), s(ve, "class", "icon"), s(me, "class", "currentPageSize"), s(te, "class", "pageSizeDropDown"), s(de, "class", Ae = "pageSizeSelector " + /*isPaginationToggled*/
      (r[12] ? "active" : "") + " " + (/*buttonStatus*/
      r[21].pageSize ? "" : "disable")), s(D, "class", "historyPageSize"), s(Y, "class", "historyPaginationContainer"), s(t, "class", "historyWrapper " + /*isMobile*/
      (r[22] ? "historyMobileWrapper" : "")), s(e, "class", "historyContainer");
    },
    m(y, x) {
      z(y, e, x), l(e, t), l(t, a), ce && ce.m(a, null), l(a, o), l(a, n), l(n, i), l(i, f), l(a, k), l(a, S);
      for (let g = 0; g < q.length; g += 1)
        q[g] && q[g].m(S, null);
      l(t, R), l(t, P), l(P, W), l(W, C), l(C, F), l(F, G), l(C, I), l(C, A), r[58](A), l(W, j), l(W, H), l(H, ae), l(ae, b), l(H, d), l(H, w), r[59](w), l(P, De), l(P, le), l(le, We), l(t, Ge), l(t, be), l(be, oe), l(oe, ge);
      for (let g = 0; g < K.length; g += 1)
        K[g] && K[g].m(ge, null);
      l(oe, Re), l(oe, V), re.m(V, null), r[63](be), l(t, ne), l(t, Y), l(Y, $), l($, ee), l(ee, _e), l(_e, pe), l($, Oe), l($, fe), l(fe, Le), l(Le, He), l($, Ye), l($, we), l(we, Me), l(Me, Ve), l(Y, he), l(Y, D), l(D, de), l(de, me), l(me, qe), l(qe, Be), l(me, Ke), l(me, ve), l(ve, Je), l(de, Ue), l(de, te);
      for (let g = 0; g < O.length; g += 1)
        O[g] && O[g].m(te, null);
      Ne || (Ze = [
        Pe(
          le,
          "click",
          /*click_handler_2*/
          r[60]
        ),
        Pe(
          ee,
          "click",
          /*click_handler_4*/
          r[64]
        ),
        Pe(
          we,
          "click",
          /*click_handler_5*/
          r[65]
        ),
        Pe(
          de,
          "click",
          /*click_handler_7*/
          r[67]
        )
      ], Ne = !0);
    },
    p(y, x) {
      if (
        /*isMobile*/
        y[22] && ce.p(y, x), x[0] & /*$_*/
        8 && h !== (h = /*$_*/
        y[3]("headerTitle") + "") && U(f, h), x[0] & /*transactionTypes, $_*/
        131080 | x[1] & /*changeActiveHistory*/
        1
      ) {
        ye = L(
          /*transactionTypes*/
          y[17]
        );
        let g;
        for (g = 0; g < ye.length; g += 1) {
          const ue = ft(y, ye, g);
          q[g] ? q[g].p(ue, x) : (q[g] = mt(ue), q[g].c(), q[g].m(S, null));
        }
        for (; g < q.length; g += 1)
          q[g].d(1);
        q.length = ye.length;
      }
      if (x[0] & /*$_*/
      8 && B !== (B = /*$_*/
      y[3]("dateFrom") + "") && U(G, B), x[0] & /*formattedMaxDate*/
      32 && se(
        A,
        "max",
        /*formattedMaxDate*/
        y[5]
      ), x[0] & /*historyCalendarStartDate*/
      64 && se(
        A,
        "value",
        /*historyCalendarStartDate*/
        y[6]
      ), x[0] & /*$_*/
      8 && u !== (u = /*$_*/
      y[3]("dateTo") + "") && U(b, u), x[0] & /*formattedMaxDate*/
      32 && se(
        w,
        "max",
        /*formattedMaxDate*/
        y[5]
      ), x[0] & /*historyCalendarEndDate*/
      128 && se(
        w,
        "value",
        /*historyCalendarEndDate*/
        y[7]
      ), x[0] & /*$_*/
      8 && X !== (X = /*$_*/
      y[3]("dateFilter") + "") && U(We, X), x[0] & /*buttonStatus*/
      2097152 && ie !== (ie = "historyCalendarFilter " + (/*buttonStatus*/
      y[21].filterButton ? "" : "disable")) && s(le, "class", ie), x[0] & /*$_, tableColumns, activeType, hideColumns*/
      276824328) {
        ke = L(
          /*tableColumns*/
          y[23][
            /*activeType*/
            y[8]
          ]
        );
        let g;
        for (g = 0; g < ke.length; g += 1) {
          const ue = gt(y, ke, g);
          K[g] ? K[g].p(ue, x) : (K[g] = _t(ue), K[g].c(), K[g].m(ge, null));
        }
        for (; g < K.length; g += 1)
          K[g].d(1);
        K.length = ke.length;
      }
      if (Ee === (Ee = Qe(y)) && re ? re.p(y, x) : (re.d(1), re = Ee(y), re && (re.c(), re.m(V, null))), x[0] & /*activeType*/
      256 && Z !== (Z = `tableWrapper ${/*activeType*/
      y[8].replace("$", "")} ${/*isMobile*/
      y[22] ? "tableWrapperMobile" : ""}`) && s(oe, "class", Z), x[0] & /*buttonStatus*/
      2097152 && je !== (je = "arrowLeft " + (/*buttonStatus*/
      y[21].previousPage ? "" : "disable")) && s(ee, "class", je), x[0] & /*pageNumber*/
      1024 && U(
        He,
        /*pageNumber*/
        y[10]
      ), x[0] & /*buttonStatus*/
      2097152 && xe !== (xe = "indexDisplay " + (!/*buttonStatus*/
      y[21].previousPage && !/*buttonStatus*/
      y[21].nextPage ? "disable" : "")) && s(fe, "class", xe), x[0] & /*buttonStatus*/
      2097152 && ze !== (ze = "arrowRight " + (/*buttonStatus*/
      y[21].nextPage ? "" : "disable")) && s(we, "class", ze), x[0] & /*pageSize*/
      512 && U(
        Be,
        /*pageSize*/
        y[9]
      ), x[0] & /*pageSizeOptions*/
      1073741824 | x[1] & /*changePageSize*/
      8) {
        Te = L(
          /*pageSizeOptions*/
          y[30]
        );
        let g;
        for (g = 0; g < Te.length; g += 1) {
          const ue = lt(y, Te, g);
          O[g] ? O[g].p(ue, x) : (O[g] = Wt(ue), O[g].c(), O[g].m(te, null));
        }
        for (; g < O.length; g += 1)
          O[g].d(1);
        O.length = Te.length;
      }
      x[0] & /*isPaginationToggled, buttonStatus*/
      2101248 && Ae !== (Ae = "pageSizeSelector " + /*isPaginationToggled*/
      (y[12] ? "active" : "") + " " + (/*buttonStatus*/
      y[21].pageSize ? "" : "disable")) && s(de, "class", Ae);
    },
    d(y) {
      y && M(e), ce && ce.d(), Q(q, y), r[58](null), r[59](null), Q(K, y), re.d(), r[63](null), Q(O, y), Ne = !1, er(Ze);
    }
  };
}
function br(r) {
  let e, t, a, o, n, i, h, f, k, S, R, P, W, C;
  function F(b, d) {
    return (
      /*isMobile*/
      b[22] ? Wr : Dr
    );
  }
  let G = F(r)(r), I = L({ length: 3 }), A = [];
  for (let b = 0; b < I.length; b += 1)
    A[b] = xr(yr(r, I, b));
  let j = L({ length: 6 }), H = [];
  for (let b = 0; b < j.length; b += 1)
    H[b] = Mr(cr(r, j, b));
  let ae = L({ length: 5 }), u = [];
  for (let b = 0; b < ae.length; b += 1)
    u[b] = Br(hr(r, ae, b));
  return {
    c() {
      e = c("div"), t = c("div"), a = c("div"), G.c(), o = v(), n = c("div");
      for (let b = 0; b < A.length; b += 1)
        A[b].c();
      i = v(), h = c("div"), h.innerHTML = '<div class="historyCalendarContainer"><div class="historyCalendarStartDate"><div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <ui-skeleton structure="rectangle" width="auto" height="10px"></ui-skeleton></div> <div class="historyCalendarEndDate"><div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> <ui-skeleton structure="rectangle" width="auto" height="10px"></ui-skeleton></div></div> <div class="historyCalendarFilter"><ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton></div>', f = v(), k = c("table"), S = c("thead");
      for (let b = 0; b < H.length; b += 1)
        H[b].c();
      R = v(), P = c("tbody");
      for (let b = 0; b < u.length; b += 1)
        u[b].c();
      W = v(), C = c("div"), C.innerHTML = '<div class="historyPageIndex"><ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton></div> <div class="historyPageSize"><ui-skeleton structure="rectangle" width="auto" height="40px"></ui-skeleton></div>', s(n, "class", "headerController skeleton"), s(a, "class", "historyHeader"), s(h, "class", "historyFilter skeleton"), s(S, "class", "tableHead"), s(P, "class", "tableContent"), s(k, "class", "historyTable skeleton"), s(C, "class", "historyPaginationContainer skeleton"), s(t, "class", "historyWrapper " + /*isMobile*/
      (r[22] ? "historyMobileWrapper" : "")), s(e, "class", "historyContainer");
    },
    m(b, d) {
      z(b, e, d), l(e, t), l(t, a), G.m(a, null), l(a, o), l(a, n);
      for (let w = 0; w < A.length; w += 1)
        A[w] && A[w].m(n, null);
      l(t, i), l(t, h), l(t, f), l(t, k), l(k, S);
      for (let w = 0; w < H.length; w += 1)
        H[w] && H[w].m(S, null);
      l(k, R), l(k, P);
      for (let w = 0; w < u.length; w += 1)
        u[w] && u[w].m(P, null);
      l(t, W), l(t, C);
    },
    p: Ie,
    d(b) {
      b && M(e), G.d(), Q(A, b), Q(H, b), Q(u, b);
    }
  };
}
function gr(r) {
  let e, t, a, o, n, i, h, f, k, S, R = (
    /*$_*/
    r[3]("headerTitle") + ""
  ), P, W, C;
  return {
    c() {
      e = c("button"), t = E("svg"), a = E("defs"), o = E("style"), n = N(`.pathstyle {
                    fill: var(--emw--pam-color-primary, var(--emw--color-primary, #22b04e));
                  }
                `), i = E("g"), h = E("g"), f = E("path"), k = v(), S = c("h2"), P = N(R), s(f, "class", "pathstyle"), s(f, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), s(f, "transform", "translate(15 15) rotate(180)"), s(h, "transform", "translate(20 158)"), s(i, "transform", "translate(-20 -158)"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "width", "15"), s(t, "height", "15"), s(t, "viewBox", "0 0 15 15"), s(S, "class", "historyReturnText"), s(e, "class", "historyReturnButton");
    },
    m(F, B) {
      z(F, e, B), l(e, t), l(t, a), l(a, o), l(o, n), l(t, i), l(i, h), l(h, f), l(e, k), l(e, S), l(S, P), W || (C = Pe(
        e,
        "click",
        /*click_handler*/
        r[56]
      ), W = !0);
    },
    p(F, B) {
      B[0] & /*$_*/
      8 && R !== (R = /*$_*/
      F[3]("headerTitle") + "") && U(P, R);
    },
    d(F) {
      F && M(e), W = !1, C();
    }
  };
}
function mt(r) {
  let e, t, a, o, n = (
    /*$_*/
    r[3](
      /*el*/
      r[124].type
    ) + ""
  ), i, h, f, k, S;
  function R() {
    return (
      /*click_handler_1*/
      r[57](
        /*index*/
        r[106]
      )
    );
  }
  return {
    c() {
      e = c("button"), t = c("div"), t.innerHTML = '<input type="checkbox"/> <span class="circle"></span>', a = v(), o = c("p"), i = N(n), h = v(), s(t, "class", "toggleCheckbox"), s(o, "class", "label"), s(e, "class", f = "toggleContent " + /*el*/
      (r[124].checked ? "checked" : ""));
    },
    m(P, W) {
      z(P, e, W), l(e, t), l(e, a), l(e, o), l(o, i), l(e, h), k || (S = Pe(e, "click", R), k = !0);
    },
    p(P, W) {
      r = P, W[0] & /*$_, transactionTypes*/
      131080 && n !== (n = /*$_*/
      r[3](
        /*el*/
        r[124].type
      ) + "") && U(i, n), W[0] & /*transactionTypes*/
      131072 && f !== (f = "toggleContent " + /*el*/
      (r[124].checked ? "checked" : "")) && s(e, "class", f);
    },
    d(P) {
      P && M(e), k = !1, S();
    }
  };
}
function Ct(r) {
  let e, t = (
    /*$_*/
    (r[3](
      /*column*/
      r[114]
    ) || /*column*/
    r[114]) + ""
  ), a, o;
  return {
    c() {
      e = c("span"), a = N(t), o = v();
    },
    m(n, i) {
      z(n, e, i), l(e, a), l(e, o);
    },
    p(n, i) {
      i[0] & /*$_, activeType*/
      264 && t !== (t = /*$_*/
      (n[3](
        /*column*/
        n[114]
      ) || /*column*/
      n[114]) + "") && U(a, t);
    },
    d(n) {
      n && M(e);
    }
  };
}
function _t(r) {
  let e = !/*hideColumns*/
  r[28].includes(
    /*column*/
    r[114].replace(/\s/g, "").toLowerCase()
  ), t, a = e && Ct(r);
  return {
    c() {
      a && a.c(), t = tt();
    },
    m(o, n) {
      a && a.m(o, n), z(o, t, n);
    },
    p(o, n) {
      n[0] & /*activeType*/
      256 && (e = !/*hideColumns*/
      o[28].includes(
        /*column*/
        o[114].replace(/\s/g, "").toLowerCase()
      )), e ? a ? a.p(o, n) : (a = Ct(o), a.c(), a.m(t.parentNode, t)) : a && (a.d(1), a = null);
    },
    d(o) {
      o && M(t), a && a.d(o);
    }
  };
}
function fr(r) {
  let e, t;
  return {
    c() {
      e = c("div"), t = N(
        /*errorMessage*/
        r[4]
      ), s(e, "class", "tableRow");
    },
    m(a, o) {
      z(a, e, o), l(e, t);
    },
    p(a, o) {
      o[0] & /*errorMessage*/
      16 && U(
        t,
        /*errorMessage*/
        a[4]
      );
    },
    d(a) {
      a && M(e);
    }
  };
}
function mr(r) {
  let e, t = L(
    /*historyData*/
    r[18][
      /*activeType*/
      r[8]
    ]
  ), a = [];
  for (let o = 0; o < t.length; o += 1)
    a[o] = Dt(pt(r, t, o));
  return {
    c() {
      for (let o = 0; o < a.length; o += 1)
        a[o].c();
      e = tt();
    },
    m(o, n) {
      for (let i = 0; i < a.length; i += 1)
        a[i] && a[i].m(o, n);
      z(o, e, n);
    },
    p(o, n) {
      if (n[0] & /*activeSubmenus, submenuRefs, mobileSportsRemainingKeys, mobileLabels, historyData, activeType, mobileSportsKeys, mobileRepeatingKeys, tableBody, hideValues*/
      790429952 | n[1] & /*getSubmenuRowsCount, toggleSubmenu*/
      96) {
        t = L(
          /*historyData*/
          o[18][
            /*activeType*/
            o[8]
          ]
        );
        let i;
        for (i = 0; i < t.length; i += 1) {
          const h = pt(o, t, i);
          a[i] ? a[i].p(h, n) : (a[i] = Dt(h), a[i].c(), a[i].m(e.parentNode, e));
        }
        for (; i < a.length; i += 1)
          a[i].d(1);
        a.length = t.length;
      }
    },
    d(o) {
      o && M(e), Q(a, o);
    }
  };
}
function Cr(r) {
  let e, t = (
    /*$_*/
    r[3]("noTransactions") + ""
  ), a;
  return {
    c() {
      e = c("div"), a = N(t), s(e, "class", "tableRow");
    },
    m(o, n) {
      z(o, e, n), l(e, a);
    },
    p(o, n) {
      n[0] & /*$_*/
      8 && t !== (t = /*$_*/
      o[3]("noTransactions") + "") && U(a, t);
    },
    d(o) {
      o && M(e);
    }
  };
}
function _r(r) {
  let e, t = (
    /*row*/
    (r[104][
      /*column*/
      r[114]
    ] || "-") + ""
  ), a, o, n;
  return {
    c() {
      e = c("span"), a = N(t), o = v(), s(e, "data-label", n = /*mobileLabels*/
      r[19][
        /*activeType*/
        r[8]
      ]?.[
        /*column*/
        r[114].replace(/\s/g, "")
      ] || /*column*/
      r[114]);
    },
    m(i, h) {
      z(i, e, h), l(e, a), l(e, o);
    },
    p(i, h) {
      h[0] & /*historyData, activeType*/
      262400 && t !== (t = /*row*/
      (i[104][
        /*column*/
        i[114]
      ] || "-") + "") && U(a, t), h[0] & /*mobileLabels, activeType*/
      524544 && n !== (n = /*mobileLabels*/
      i[19][
        /*activeType*/
        i[8]
      ]?.[
        /*column*/
        i[114].replace(/\s/g, "")
      ] || /*column*/
      i[114]) && s(e, "data-label", n);
    },
    d(i) {
      i && M(e);
    }
  };
}
function wr(r) {
  let e, t = (
    /*row*/
    (r[104][
      /*column*/
      r[114]
    ].submenu[0] || "-") + ""
  ), a, o, n;
  return {
    c() {
      e = c("span"), a = N(t), o = v(), s(e, "data-label", n = /*mobileLabels*/
      r[19][
        /*activeType*/
        r[8]
      ]?.[
        /*column*/
        r[114].replace(/\s/g, "")
      ] || /*column*/
      r[114]);
    },
    m(i, h) {
      z(i, e, h), l(e, a), l(e, o);
    },
    p(i, h) {
      h[0] & /*historyData, activeType*/
      262400 && t !== (t = /*row*/
      (i[104][
        /*column*/
        i[114]
      ].submenu[0] || "-") + "") && U(a, t), h[0] & /*mobileLabels, activeType*/
      524544 && n !== (n = /*mobileLabels*/
      i[19][
        /*activeType*/
        i[8]
      ]?.[
        /*column*/
        i[114].replace(/\s/g, "")
      ] || /*column*/
      i[114]) && s(e, "data-label", n);
    },
    d(i) {
      i && M(e);
    }
  };
}
function vr(r) {
  let e, t, a, o, n, i, h = (
    /*row*/
    r[104][
      /*column*/
      r[114]
    ].label + ""
  ), f, k, S, R, P;
  function W() {
    return (
      /*click_handler_3*/
      r[61](
        /*index*/
        r[106]
      )
    );
  }
  return {
    c() {
      e = c("button"), t = E("svg"), a = E("path"), n = v(), i = c("span"), f = N(h), k = v(), s(a, "d", "M16.191,19.235l7.562-7.568a1.423,1.423,0,0,1,2.019,0,1.441,1.441,0,0,1,0,2.025L17.2,22.265a1.427,1.427,0,0,1-1.971.042L6.6,13.7a1.429,1.429,0,0,1,2.019-2.025Z"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(t, "viewBox", "6 5 20 20"), s(t, "class", o = "iconToggleSubMenu " + /*activeSubmenus*/
      (r[20][
        /*index*/
        r[106]
      ] ? "active" : "")), s(e, "class", "toggleSubMenu"), s(e, "data-label", S = /*mobileLabels*/
      r[19][
        /*activeType*/
        r[8]
      ]?.[
        /*column*/
        r[114].replace(/\s/g, "")
      ] || /*column*/
      r[114]);
    },
    m(C, F) {
      z(C, e, F), l(e, t), l(t, a), l(e, n), l(e, i), l(i, f), l(e, k), R || (P = Pe(e, "click", W), R = !0);
    },
    p(C, F) {
      r = C, F[0] & /*activeSubmenus*/
      1048576 && o !== (o = "iconToggleSubMenu " + /*activeSubmenus*/
      (r[20][
        /*index*/
        r[106]
      ] ? "active" : "")) && s(t, "class", o), F[0] & /*historyData, activeType*/
      262400 && h !== (h = /*row*/
      r[104][
        /*column*/
        r[114]
      ].label + "") && U(f, h), F[0] & /*mobileLabels, activeType*/
      524544 && S !== (S = /*mobileLabels*/
      r[19][
        /*activeType*/
        r[8]
      ]?.[
        /*column*/
        r[114].replace(/\s/g, "")
      ] || /*column*/
      r[114]) && s(e, "data-label", S);
    },
    d(C) {
      C && M(e), R = !1, P();
    }
  };
}
function kr(r) {
  let e, t, a, o, n;
  return {
    c() {
      e = c("span"), t = E("svg"), a = E("path"), o = v(), s(a, "d", "M9 9L15 15M15 9L9 15M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C16.9706 3 21 7.02944 21 12Z"), s(a, "stroke", "#000000"), s(a, "stroke-width", "2"), s(a, "stroke-linecap", "round"), s(a, "stroke-linejoin", "round"), s(t, "viewBox", "-3 -4 30 30"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(e, "class", "decline"), s(e, "data-label", n = /*mobileLabels*/
      r[19][
        /*activeType*/
        r[8]
      ]?.[
        /*column*/
        r[114].replace(/\s/g, "")
      ] || /*column*/
      r[114]);
    },
    m(i, h) {
      z(i, e, h), l(e, t), l(t, a), l(e, o);
    },
    p(i, h) {
      h[0] & /*mobileLabels, activeType*/
      524544 && n !== (n = /*mobileLabels*/
      i[19][
        /*activeType*/
        i[8]
      ]?.[
        /*column*/
        i[114].replace(/\s/g, "")
      ] || /*column*/
      i[114]) && s(e, "data-label", n);
    },
    d(i) {
      i && M(e);
    }
  };
}
function Tr(r) {
  let e, t, a, o, n, i;
  return {
    c() {
      e = c("span"), t = E("svg"), a = E("path"), o = E("path"), n = v(), s(a, "fill-rule", "evenodd"), s(a, "clip-rule", "evenodd"), s(a, "d", "M5.5 12.0002C5.50024 8.66068 7.85944 5.78639 11.1348 5.1351C14.4102 4.48382 17.6895 6.23693 18.9673 9.32231C20.2451 12.4077 19.1655 15.966 16.3887 17.8212C13.6119 19.6764 9.91127 19.3117 7.55 16.9502C6.23728 15.6373 5.49987 13.8568 5.5 12.0002Z"), s(a, "stroke", "#000000"), s(a, "stroke-width", "1.5"), s(a, "stroke-linecap", "round"), s(a, "stroke-linejoin", "round"), s(o, "d", "M9 12.0002L11.333 14.3332L16 9.66724"), s(o, "stroke-width", "1.5"), s(o, "stroke-linecap", "round"), s(o, "stroke-linejoin", "round"), s(t, "viewBox", "0 0 24 24"), s(t, "xmlns", "http://www.w3.org/2000/svg"), s(e, "class", "approved"), s(e, "data-label", i = /*mobileLabels*/
      r[19][
        /*activeType*/
        r[8]
      ]?.[
        /*column*/
        r[114].replace(/\s/g, "").toLowerCase()
      ] || /*column*/
      r[114]);
    },
    m(h, f) {
      z(h, e, f), l(e, t), l(t, a), l(t, o), l(e, n);
    },
    p(h, f) {
      f[0] & /*mobileLabels, activeType*/
      524544 && i !== (i = /*mobileLabels*/
      h[19][
        /*activeType*/
        h[8]
      ]?.[
        /*column*/
        h[114].replace(/\s/g, "").toLowerCase()
      ] || /*column*/
      h[114]) && s(e, "data-label", i);
    },
    d(h) {
      h && M(e);
    }
  };
}
function wt(r) {
  let e, t;
  function a(i, h) {
    if (h[0] & /*activeType*/
    256 && (e = null), /*row*/
    i[104][
      /*column*/
      i[114]
    ] === !0)
      return Tr;
    if (
      /*row*/
      i[104][
        /*column*/
        i[114]
      ] === !1
    )
      return kr;
    if (
      /*row*/
      i[104][
        /*column*/
        i[114]
      ]?.label && /*row*/
      i[104][
        /*column*/
        i[114]
      ]?.submenu.length > 1
    )
      return vr;
    if (
      /*row*/
      i[104][
        /*column*/
        i[114]
      ]?.submenu
    )
      return wr;
    if (e == null && (e = !/*hideValues*/
    i[29].includes(
      /*column*/
      i[114].toLowerCase()
    )), e)
      return _r;
  }
  let o = a(r, [-1, -1, -1, -1, -1]), n = o && o(r);
  return {
    c() {
      n && n.c(), t = tt();
    },
    m(i, h) {
      n && n.m(i, h), z(i, t, h);
    },
    p(i, h) {
      o === (o = a(i, h)) && n ? n.p(i, h) : (n && n.d(1), n = o && o(i), n && (n.c(), n.m(t.parentNode, t)));
    },
    d(i) {
      i && M(t), n && n.d(i);
    }
  };
}
function Sr(r) {
  let e, t, a, o, n;
  return {
    c() {
      e = c("div"), t = c("span"), a = N("-"), n = v(), s(t, "data-label", o = /*mobileLabels*/
      r[19][
        /*activeType*/
        r[8]
      ]?.[
        /*column*/
        r[114].replace(/\s/g, "").toLowerCase()
      ] || /*column*/
      r[114]), s(t, "class", "label"), s(e, "class", "tableData");
    },
    m(i, h) {
      z(i, e, h), l(e, t), l(t, a), l(e, n);
    },
    p(i, h) {
      h[0] & /*mobileLabels, activeType*/
      524544 && o !== (o = /*mobileLabels*/
      i[19][
        /*activeType*/
        i[8]
      ]?.[
        /*column*/
        i[114].replace(/\s/g, "").toLowerCase()
      ] || /*column*/
      i[114]) && s(t, "data-label", o);
    },
    d(i) {
      i && M(e);
    }
  };
}
function Pr(r) {
  let e, t, a = L(
    /*row*/
    r[104][
      /*column*/
      r[114]
    ].submenu
  ), o = [];
  for (let n = 0; n < a.length; n += 1)
    o[n] = vt(ut(r, a, n));
  return {
    c() {
      e = c("div");
      for (let n = 0; n < o.length; n += 1)
        o[n].c();
      t = v(), s(e, "class", "tableData");
    },
    m(n, i) {
      z(n, e, i);
      for (let h = 0; h < o.length; h += 1)
        o[h] && o[h].m(e, null);
      l(e, t);
    },
    p(n, i) {
      if (i[0] & /*mobileLabels, activeType, tableBody, historyData*/
      17563904) {
        a = L(
          /*row*/
          n[104][
            /*column*/
            n[114]
          ].submenu
        );
        let h;
        for (h = 0; h < a.length; h += 1) {
          const f = ut(n, a, h);
          o[h] ? o[h].p(f, i) : (o[h] = vt(f), o[h].c(), o[h].m(e, t));
        }
        for (; h < o.length; h += 1)
          o[h].d(1);
        o.length = a.length;
      }
    },
    d(n) {
      n && M(e), Q(o, n);
    }
  };
}
function vt(r) {
  let e, t = (
    /*submenu*/
    (r[117] || "-") + ""
  ), a, o;
  return {
    c() {
      e = c("span"), a = N(t), s(e, "data-label", o = /*mobileLabels*/
      r[19][
        /*activeType*/
        r[8]
      ]?.[
        /*column*/
        r[114].replace(/\s/g, "").toLowerCase()
      ] || /*column*/
      r[114]), s(e, "class", "label");
    },
    m(n, i) {
      z(n, e, i), l(e, a);
    },
    p(n, i) {
      i[0] & /*historyData, activeType*/
      262400 && t !== (t = /*submenu*/
      (n[117] || "-") + "") && U(a, t), i[0] & /*mobileLabels, activeType*/
      524544 && o !== (o = /*mobileLabels*/
      n[19][
        /*activeType*/
        n[8]
      ]?.[
        /*column*/
        n[114].replace(/\s/g, "").toLowerCase()
      ] || /*column*/
      n[114]) && s(e, "data-label", o);
    },
    d(n) {
      n && M(e);
    }
  };
}
function kt(r) {
  let e;
  function t(n, i) {
    return (
      /*row*/
      n[104][
        /*column*/
        n[114]
      ]?.submenu ? Pr : Sr
    );
  }
  let a = t(r), o = a(r);
  return {
    c() {
      o.c(), e = tt();
    },
    m(n, i) {
      o.m(n, i), z(n, e, i);
    },
    p(n, i) {
      a === (a = t(n)) && o ? o.p(n, i) : (o.d(1), o = a(n), o && (o.c(), o.m(e.parentNode, e)));
    },
    d(n) {
      n && M(e), o.d(n);
    }
  };
}
function Tt(r) {
  let e, t, a = (
    /*row*/
    (r[104][
      /*columnKey*/
      r[107]
    ]?.submenu?.[
      /*rowIndex*/
      r[111]
    ] || "-") + ""
  ), o, n;
  return {
    c() {
      e = c("div"), t = c("span"), o = N(a), s(t, "data-label", n = /*mobileLabels*/
      r[19].sports?.[
        /*columnKey*/
        r[107]
      ]), s(t, "class", "label"), s(e, "class", "tableData");
    },
    m(i, h) {
      z(i, e, h), l(e, t), l(t, o);
    },
    p(i, h) {
      h[0] & /*historyData, activeType*/
      262400 && a !== (a = /*row*/
      (i[104][
        /*columnKey*/
        i[107]
      ]?.submenu?.[
        /*rowIndex*/
        i[111]
      ] || "-") + "") && U(o, a), h[0] & /*mobileLabels*/
      524288 && n !== (n = /*mobileLabels*/
      i[19].sports?.[
        /*columnKey*/
        i[107]
      ]) && s(t, "data-label", n);
    },
    d(i) {
      i && M(e);
    }
  };
}
function St(r) {
  let e, t = L(
    /*mobileRepeatingKeys*/
    r[25]
  ), a = [];
  for (let o = 0; o < t.length; o += 1)
    a[o] = Tt(ct(r, t, o));
  return {
    c() {
      e = c("div");
      for (let o = 0; o < a.length; o += 1)
        a[o].c();
      s(e, "class", "submenuRow");
    },
    m(o, n) {
      z(o, e, n);
      for (let i = 0; i < a.length; i += 1)
        a[i] && a[i].m(e, null);
    },
    p(o, n) {
      if (n[0] & /*mobileLabels, mobileRepeatingKeys, historyData, activeType*/
      34341120) {
        t = L(
          /*mobileRepeatingKeys*/
          o[25]
        );
        let i;
        for (i = 0; i < t.length; i += 1) {
          const h = ct(o, t, i);
          a[i] ? a[i].p(h, n) : (a[i] = Tt(h), a[i].c(), a[i].m(e, null));
        }
        for (; i < a.length; i += 1)
          a[i].d(1);
        a.length = t.length;
      }
    },
    d(o) {
      o && M(e), Q(a, o);
    }
  };
}
function Pt(r) {
  let e, t, a, o = (
    /*row*/
    (r[104][
      /*columnKey*/
      r[107]
    ]?.submenu?.[0] || "-") + ""
  ), n, i, h;
  return {
    c() {
      e = c("div"), t = c("div"), a = c("span"), n = N(o), h = v(), s(a, "data-label", i = /*mobileLabels*/
      r[19].sports?.[
        /*columnKey*/
        r[107]
      ]), s(a, "class", "label"), s(t, "class", "tableData"), s(e, "class", "submenuRow");
    },
    m(f, k) {
      z(f, e, k), l(e, t), l(t, a), l(a, n), l(e, h);
    },
    p(f, k) {
      k[0] & /*historyData, activeType*/
      262400 && o !== (o = /*row*/
      (f[104][
        /*columnKey*/
        f[107]
      ]?.submenu?.[0] || "-") + "") && U(n, o), k[0] & /*mobileLabels*/
      524288 && i !== (i = /*mobileLabels*/
      f[19].sports?.[
        /*columnKey*/
        f[107]
      ]) && s(a, "data-label", i);
    },
    d(f) {
      f && M(e);
    }
  };
}
function Dt(r) {
  let e, t, a, o, n, i, h, f, k, S, R = (
    /*index*/
    r[106]
  ), P, W = L(
    /*tableBody*/
    r[24][
      /*activeType*/
      r[8]
    ]
  ), C = [];
  for (let u = 0; u < W.length; u += 1)
    C[u] = wt(bt(r, W, u));
  let F = L(
    /*tableBody*/
    r[24][
      /*activeType*/
      r[8]
    ]
  ), B = [];
  for (let u = 0; u < F.length; u += 1)
    B[u] = kt(yt(r, F, u));
  let G = L(
    /*getSubmenuRowsCount*/
    r[37](
      /*row*/
      r[104],
      /*mobileSportsKeys*/
      r[26]
    )
  ), I = [];
  for (let u = 0; u < G.length; u += 1)
    I[u] = St(dt(r, G, u));
  let A = L(
    /*mobileSportsRemainingKeys*/
    r[27]
  ), j = [];
  for (let u = 0; u < A.length; u += 1)
    j[u] = Pt(ht(r, A, u));
  const H = () => (
    /*div4_binding*/
    r[62](o, R)
  ), ae = () => (
    /*div4_binding*/
    r[62](null, R)
  );
  return {
    c() {
      e = c("div"), t = c("div");
      for (let u = 0; u < C.length; u += 1)
        C[u].c();
      a = v(), o = c("div"), n = c("div");
      for (let u = 0; u < B.length; u += 1)
        B[u].c();
      i = v(), h = c("div");
      for (let u = 0; u < I.length; u += 1)
        I[u].c();
      f = v(), k = c("div");
      for (let u = 0; u < j.length; u += 1)
        j[u].c();
      P = v(), s(t, "class", "tableData"), s(n, "class", "desktopSubmenu"), s(k, "class", "remainingRows"), s(h, "class", "allSubmenuRows"), s(o, "class", S = "tableSubMenu " + /*activeSubmenus*/
      (r[20][
        /*index*/
        r[106]
      ] ? "active" : "")), s(e, "class", "tableRow");
    },
    m(u, b) {
      z(u, e, b), l(e, t);
      for (let d = 0; d < C.length; d += 1)
        C[d] && C[d].m(t, null);
      l(e, a), l(e, o), l(o, n);
      for (let d = 0; d < B.length; d += 1)
        B[d] && B[d].m(n, null);
      l(o, i), l(o, h);
      for (let d = 0; d < I.length; d += 1)
        I[d] && I[d].m(h, null);
      l(h, f), l(h, k);
      for (let d = 0; d < j.length; d += 1)
        j[d] && j[d].m(k, null);
      H(), l(e, P);
    },
    p(u, b) {
      if (r = u, b[0] & /*mobileLabels, activeType, tableBody, historyData, activeSubmenus, hideValues*/
      555483392 | b[1] & /*toggleSubmenu*/
      32) {
        W = L(
          /*tableBody*/
          r[24][
            /*activeType*/
            r[8]
          ]
        );
        let d;
        for (d = 0; d < W.length; d += 1) {
          const w = bt(r, W, d);
          C[d] ? C[d].p(w, b) : (C[d] = wt(w), C[d].c(), C[d].m(t, null));
        }
        for (; d < C.length; d += 1)
          C[d].d(1);
        C.length = W.length;
      }
      if (b[0] & /*historyData, activeType, tableBody, mobileLabels*/
      17563904) {
        F = L(
          /*tableBody*/
          r[24][
            /*activeType*/
            r[8]
          ]
        );
        let d;
        for (d = 0; d < F.length; d += 1) {
          const w = yt(r, F, d);
          B[d] ? B[d].p(w, b) : (B[d] = kt(w), B[d].c(), B[d].m(n, null));
        }
        for (; d < B.length; d += 1)
          B[d].d(1);
        B.length = F.length;
      }
      if (b[0] & /*mobileRepeatingKeys, mobileLabels, historyData, activeType*/
      34341120) {
        G = L(
          /*getSubmenuRowsCount*/
          r[37](
            /*row*/
            r[104],
            /*mobileSportsKeys*/
            r[26]
          )
        );
        let d;
        for (d = 0; d < G.length; d += 1) {
          const w = dt(r, G, d);
          I[d] ? I[d].p(w, b) : (I[d] = St(w), I[d].c(), I[d].m(h, f));
        }
        for (; d < I.length; d += 1)
          I[d].d(1);
        I.length = G.length;
      }
      if (b[0] & /*mobileLabels, mobileSportsRemainingKeys, historyData, activeType*/
      135004416) {
        A = L(
          /*mobileSportsRemainingKeys*/
          r[27]
        );
        let d;
        for (d = 0; d < A.length; d += 1) {
          const w = ht(r, A, d);
          j[d] ? j[d].p(w, b) : (j[d] = Pt(w), j[d].c(), j[d].m(k, null));
        }
        for (; d < j.length; d += 1)
          j[d].d(1);
        j.length = A.length;
      }
      b[0] & /*activeSubmenus*/
      1048576 && S !== (S = "tableSubMenu " + /*activeSubmenus*/
      (r[20][
        /*index*/
        r[106]
      ] ? "active" : "")) && s(o, "class", S), R !== /*index*/
      r[106] && (ae(), R = /*index*/
      r[106], H());
    },
    d(u) {
      u && M(e), Q(C, u), Q(B, u), Q(I, u), Q(j, u), ae();
    }
  };
}
function Wt(r) {
  let e, t, a, o, n;
  function i() {
    return (
      /*click_handler_6*/
      r[66](
        /*size*/
        r[101]
      )
    );
  }
  return {
    c() {
      e = c("button"), t = c("p"), t.textContent = `${/*size*/
      r[101]}`, a = v(), s(e, "class", "dropDownRow");
    },
    m(h, f) {
      z(h, e, f), l(e, t), l(e, a), o || (n = Pe(e, "click", i), o = !0);
    },
    p(h, f) {
      r = h;
    },
    d(h) {
      h && M(e), o = !1, n();
    }
  };
}
function Dr(r) {
  let e;
  return {
    c() {
      e = c("div"), e.innerHTML = '<ui-skeleton structure="title" width="auto" height="30px"></ui-skeleton>', s(e, "class", "headerText skeleton");
    },
    m(t, a) {
      z(t, e, a);
    },
    d(t) {
      t && M(e);
    }
  };
}
function Wr(r) {
  let e;
  return {
    c() {
      e = c("button"), e.innerHTML = '<ui-skeleton structure="title" width="auto" height="10px"></ui-skeleton>', s(e, "class", "historyReturnButton skeleton");
    },
    m(t, a) {
      z(t, e, a);
    },
    d(t) {
      t && M(e);
    }
  };
}
function xr(r) {
  let e;
  return {
    c() {
      e = c("div"), e.innerHTML = '<ui-skeleton structure="circle" size="20px"></ui-skeleton> <div class="label"><ui-skeleton structure="text" width="auto" height="10px"></ui-skeleton></div> ', s(e, "class", "toggleContent");
    },
    m(t, a) {
      z(t, e, a);
    },
    p: Ie,
    d(t) {
      t && M(e);
    }
  };
}
function Mr(r) {
  let e;
  return {
    c() {
      e = c("div"), e.innerHTML = '<ui-skeleton structure="text" width="auto" height="40px"></ui-skeleton> ';
    },
    m(t, a) {
      z(t, e, a);
    },
    p: Ie,
    d(t) {
      t && M(e);
    }
  };
}
function zr(r) {
  let e;
  return {
    c() {
      e = c("div"), e.innerHTML = '<ui-skeleton structure="text" width="auto" height="40px"></ui-skeleton> ';
    },
    m(t, a) {
      z(t, e, a);
    },
    p: Ie,
    d(t) {
      t && M(e);
    }
  };
}
function Br(r) {
  let e, t, a, o = L({ length: 6 }), n = [];
  for (let i = 0; i < o.length; i += 1)
    n[i] = zr(dr(r, o, i));
  return {
    c() {
      e = c("div"), t = c("div");
      for (let i = 0; i < n.length; i += 1)
        n[i].c();
      a = v(), s(t, "class", "tableData"), s(e, "class", "tableRow");
    },
    m(i, h) {
      z(i, e, h), l(e, t);
      for (let f = 0; f < n.length; f += 1)
        n[f] && n[f].m(t, null);
      l(e, a);
    },
    p: Ie,
    d(i) {
      i && M(e), Q(n, i);
    }
  };
}
function Ar(r) {
  let e;
  function t(n, i) {
    return (
      /*isLoading*/
      n[11] ? br : ur
    );
  }
  let a = t(r), o = a(r);
  return {
    c() {
      e = c("div"), o.c();
    },
    m(n, i) {
      z(n, e, i), o.m(e, null), r[68](e);
    },
    p(n, i) {
      a === (a = t(n)) && o ? o.p(n, i) : (o.d(1), o = a(n), o && (o.c(), o.m(e, null)));
    },
    i: Ie,
    o: Ie,
    d(n) {
      n && M(e), o.d(), r[68](null);
    }
  };
}
function Fr(r, e, t) {
  let a;
  Qt(r, or, (p) => t(3, a = p)), et.extend(nr);
  let { endpoint: o = "" } = e, { playerid: n = "" } = e, { session: i = "" } = e, { lang: h = "" } = e, { clientstyling: f = "" } = e, { clientstylingurl: k = "" } = e, { translationurl: S = "" } = e, { mbsource: R } = e, { historytypes: P = "Casino, Sports, Payments" } = e, { hidecolumns: W = "" } = e, { hidevalues: C = "" } = e, { pagesizeoptions: F = "10, 20, 30, 50, 100" } = e, { playercurrency: B = "" } = e, { defaultpagesize: G = "5" } = e, { formatamount: I = "{currency}{amount}.{2decimals}" } = e, { customcurrencysymbols: A } = e, { dateformat: j = "DD/MM/YYYY" } = e;
  sr({
    withLocale: h || "en",
    translations: {}
  });
  let H = j.toUpperCase(), ae = window.navigator.userAgent, u = "", b = "", d = "", w = "", De = "", le = "", X = "", We = Number(G), ie = 1, Ge = Xt(ae) !== "PC", be = !0, oe = !1, ge = !1, Re = !1, V, Z, ne, Y, $ = [];
  const ee = [], _e = { EUR: "€", RON: " lei", USD: "$" }, pe = { payments: [], casino: [], sports: [] }, je = {
    payments: ["Type", "Status", "Amount", "Date", "Transaction ID"],
    casino: [
      "Game Name",
      "Date",
      "Bet Amount",
      "Win Amount",
      "Transaction ID",
      "Play Type",
      "Method"
    ],
    sports: [
      "Stake",
      "Price",
      "Selection",
      "Market",
      "Sport",
      "Date",
      "Description",
      "Bet Type",
      "Free Bet",
      "Win Type",
      "Winnings",
      "Bet Adjustment",
      "Bet ID"
    ]
  }, Oe = {
    payments: [
      "paymentType",
      "paymentState",
      "paymentAmount",
      "paymentCreatedOn",
      "withdrawalId"
    ],
    casino: ["game_type_name", "game_finished_on", "stake", "won", "game_id", "play_type"],
    sports: [
      "stake",
      "bet_Part.price",
      "bet_Part.selection_name",
      "bet_Part.market_name",
      "bet_Part.category",
      "bet_settled_on",
      "bet_description",
      "bet_Type",
      "is_Freebet",
      "win_Type",
      "winnings",
      "-",
      "bet_id"
    ]
  }, fe = () => ({
    payments: {
      paymentType: a("Type"),
      paymentState: a("Status"),
      paymentAmount: a("Amount"),
      paymentCreatedOn: a("Date"),
      withdrawalId: a("Transaction ID")
    },
    casino: {
      game_type_name: a("Game Name"),
      game_finished_on: a("Date"),
      stake: a("Bet Amount"),
      won: a("Win Amount"),
      game_id: a("Transaction ID"),
      play_type: a("Play Type")
    },
    sports: {
      stake: a("Stake"),
      "bet_Part.price": a("Price"),
      "bet_Part.selection_name": a("Selection"),
      "bet_Part.market_name": a("Market"),
      "bet_Part.category": a("Sport"),
      bet_settled_on: a("Date"),
      bet_description: a("Description"),
      bet_Type: a("Bet Type"),
      is_Freebet: a("Free Bet"),
      win_Type: a("Win Type"),
      winnings: a("Winnings"),
      "-": a("Bet Adjustment"),
      bet_id: a("Bet ID")
    }
  });
  let Le = fe();
  const He = [
    "stake",
    "bet_Part.price",
    "bet_Part.selection_name",
    "bet_Part.market_name",
    "bet_Part.category"
  ], xe = Object.keys(fe().sports), Ye = xe.filter((p) => !He.includes(p)), we = ["stake", "won", "winnings", "bet_Part.price", "paymentAmount"], Me = ["bet_Part.price"], Ve = W.replace(/\s/g, "").split(","), ze = C.replace(/\s/g, "").split(","), he = {}, D = {
    filterButton: !0,
    nextPage: !0,
    previousPage: !0,
    pageSize: !0
  }, de = F.split(", ");
  let me = {}, qe, Be = /* @__PURE__ */ new Date(), Ke = new Date(Be);
  Ke.setMonth(Be.getMonth() - 1), d = Be.toISOString().split("T")[0], le = d, w = Ke.toISOString().split("T")[0], De = w;
  const ve = () => {
    fetch(S).then((m) => m.json()).then((m) => {
      Object.keys(m).forEach((_) => {
        nt(_, m[_]);
      });
    }).catch((m) => {
      console.log(m);
    });
  };
  Object.keys(st).forEach((p) => {
    nt(p, st[p]);
  });
  const Je = () => {
    P.split(", ").forEach((p, m) => {
      const _ = { type: p, checked: m === 0 };
      _.checked && t(8, X = _.type.toLocaleLowerCase()), ee.push(_);
    });
  }, Ue = (p) => {
    ee.forEach((m, _) => {
      t(17, ee[_].checked = p === _, ee), ee[_].checked && t(8, X = m.type.toLocaleLowerCase());
    }), te();
  }, te = () => {
    if (!D.filterButton)
      return;
    t(11, be = !0), t(13, ge = !1), t(14, Re = !1), t(21, D.filterButton = !1, D), t(21, D.nextPage = !1, D), t(21, D.previousPage = !1, D), t(21, D.pageSize = !1, D);
    let p = new URL(`${o}/v1/player/${n}/fsb/transactions/${X}`);
    p.searchParams.append("offset", (ie - 1).toString() || "0"), p.searchParams.append("limit", We.toString() || "5"), p.searchParams.append("startDate", De), p.searchParams.append("endDate", le);
    let m = {
      method: "GET",
      headers: {
        "X-SessionId": i,
        "Content-Type": "application/json",
        Accept: "application/json"
      }
    };
    fetch(p.href, m).then((_) => y(_)).then((_) => {
      if (_.transactions.length === 0) {
        t(14, Re = !0);
        return;
      }
      _.pagination.next && t(21, D.nextPage = !0, D), _.pagination.previous && t(21, D.previousPage = !0, D), t(21, D.pageSize = !0, D), t(18, pe[X] = [], pe), t(12, oe = !1), Ee(), q(_);
    }).catch((_) => {
      t(13, ge = !0), t(21, D.nextPage = !1, D), t(21, D.previousPage = !1, D), t(21, D.pageSize = !1, D), window.postMessage(
        {
          type: "WidgetNotification",
          data: { type: "error", message: _ }
        },
        window.location.href
      );
    }).finally(() => {
      t(11, be = !1), t(21, D.filterButton = !0, D);
    });
  }, Ae = (p) => {
    t(6, De = p.target.value);
  }, Ne = (p) => {
    t(7, le = p.target.value);
  }, Ze = () => {
    D.pageSize && t(12, oe = !oe);
  }, ce = (p) => {
    t(9, We = p), t(10, ie = 1), te();
  }, ye = (p, m) => {
    if (m === "next") {
      if (!D.nextPage)
        return;
      t(10, ie = p + 1), te();
    } else {
      if (!D.previousPage)
        return;
      t(10, ie = p - 1), te();
    }
  }, q = (p) => {
    p.transactions.forEach((m, _) => {
      t(18, pe[X][_] = {}, pe), Oe[X].forEach((T) => {
        if (!ze.includes(T.toLocaleLowerCase())) {
          if (I && B && we.includes(T))
            if (T.includes(".")) {
              let Ce = T.split(".");
              m[Ce[0]].forEach((Se) => {
                Se[Ce[1]] = Qe(Se, Ce[1]);
              });
            } else
              m[T] = Qe(m, T);
          if (new Date(m[T]).getTime() && typeof m[T] != "number" && K(m, T), T.includes(".")) {
            let Ce = T.split(".")[0], Se = T.split(".")[1];
            m[T] = { label: "Multiple", submenu: [] }, m[Ce].forEach((Fe) => {
              Fe[Se] && m[T].submenu.push(Fe[Se]);
            });
          }
          if (T in m)
            return t(18, pe[X][_][T] = m[T], pe);
        }
      });
    });
  }, ke = () => {
    if (!A)
      return;
    let p = {};
    A.split(",").forEach((m) => {
      let _ = m.split(":");
      p[_[0].trim()] = _[1].trim();
    }), Object.entries(p).forEach(([m, _]) => _e[m] = _);
  }, K = (p, m) => {
    p[m] = et(p[m]).format(H);
  }, Qe = (p, m) => {
    let _ = Me.some(($e) => $e.includes(m)), T = typeof p[m] == "string" ? parseInt(p[m]) : p[m], Ce = Object.keys(p).find(($e) => $e.includes("currency") || $e.includes("Currency")), Se = p[Ce] || B, Fe = I;
    const rt = Fe.match(/\{(\d+)decimals\}/), Nt = rt ? parseInt(rt[1], 10) : 2, Et = rt ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
    T = T.toFixed(Nt);
    const [Gt, at] = I.includes(".") ? [",", "."] : [".", ","];
    let [it, Ot] = T.split(".");
    return it = it.replace(/\B(?=(\d{3})+(?!\d))/g, Gt), T = `${it}${at}${Ot}`, Fe = Fe.replace("{currency}", _ ? "" : _e[Se] || Se).replace("{amount}", T.split(at)[0]).replace(
      Et,
      T.split(at)[1]
    ), Fe;
  }, Ee = () => {
    Object.keys(he).forEach((p) => t(20, he[p] = !1, he));
  }, re = async (p) => {
    t(20, he[p] = !he[p], he), await $t();
    const m = $[p];
    if (Y && m && he[p]) {
      const T = m.offsetTop + m.offsetHeight - Y.clientHeight;
      Y.scrollTo({ top: T, behavior: "smooth" });
    }
  }, Te = (p, m) => {
    let _ = 0;
    return m.forEach((T) => {
      p[T]?.submenu && Array.isArray(p[T].submenu) && (_ = Math.max(_, p[T].submenu.length));
    }), Array.from({ length: _ }, (T, Ce) => Ce);
  }, O = () => {
    window.postMessage(
      {
        type: "PlayerAccountMenuActive",
        isMobile: Ge
      },
      window.location.href
    );
  }, y = async (p) => p.status === 404 ? (t(4, b = a("checkPeriod")), Promise.reject(b)) : p.status >= 300 ? (me = await p.json(), u = me.thirdPartyResponse?.errorCode, t(4, b = a(u || "generalError")), Promise.reject(b)) : p.json(), x = () => {
    V.addEventListener("change", Ae, !1), Z.addEventListener("change", Ne, !1);
    const p = (_) => et(new Date(_.year, _.month, _.day)).format(H), m = (_) => {
      const T = et(_, H);
      return {
        year: T.year(),
        month: T.month(),
        day: T.date()
      };
    };
    t(
      0,
      V.i18n = {
        ...V.i18n,
        formatDate: p,
        parseDate: m
      },
      V
    ), t(
      1,
      Z.i18n = {
        ...V.i18n,
        formatDate: p,
        parseDate: m
      },
      Z
    );
  };
  Yt(() => () => {
    V && V.removeEventListener("change", Ae), Z && Z.removeEventListener("change", Ne);
  });
  const g = () => O(), ue = (p) => Ue(p);
  function xt(p) {
    Xe[p ? "unshift" : "push"](() => {
      V = p, t(0, V);
    });
  }
  function Mt(p) {
    Xe[p ? "unshift" : "push"](() => {
      Z = p, t(1, Z);
    });
  }
  const zt = () => te(), Bt = (p) => re(p);
  function At(p, m) {
    Xe[p ? "unshift" : "push"](() => {
      $[m] = p, t(16, $);
    });
  }
  function Ft(p) {
    Xe[p ? "unshift" : "push"](() => {
      Y = p, t(15, Y);
    });
  }
  const It = () => ye(ie, "previous"), Rt = () => ye(ie, "next"), jt = (p) => ce(p), Lt = () => Ze();
  function Ht(p) {
    Xe[p ? "unshift" : "push"](() => {
      ne = p, t(2, ne);
    });
  }
  return r.$$set = (p) => {
    "endpoint" in p && t(39, o = p.endpoint), "playerid" in p && t(40, n = p.playerid), "session" in p && t(41, i = p.session), "lang" in p && t(42, h = p.lang), "clientstyling" in p && t(43, f = p.clientstyling), "clientstylingurl" in p && t(44, k = p.clientstylingurl), "translationurl" in p && t(45, S = p.translationurl), "mbsource" in p && t(46, R = p.mbsource), "historytypes" in p && t(47, P = p.historytypes), "hidecolumns" in p && t(48, W = p.hidecolumns), "hidevalues" in p && t(49, C = p.hidevalues), "pagesizeoptions" in p && t(50, F = p.pagesizeoptions), "playercurrency" in p && t(51, B = p.playercurrency), "defaultpagesize" in p && t(52, G = p.defaultpagesize), "formatamount" in p && t(53, I = p.formatamount), "customcurrencysymbols" in p && t(54, A = p.customcurrencysymbols), "dateformat" in p && t(55, j = p.dateformat);
  }, r.$$.update = () => {
    r.$$.dirty[1] & /*lang*/
    2048 && h && lr(h), r.$$.dirty[0] & /*$_*/
    8 && t(19, Le = fe()), r.$$.dirty[1] & /*historytypes*/
    65536 && P && Je(), r.$$.dirty[1] & /*endpoint, playerid, session*/
    1792 && o && n && i && te(), r.$$.dirty[1] & /*customcurrencysymbols*/
    8388608 && A && ke(), r.$$.dirty[0] & /*startCalendar, endCalendar*/
    3 && V && Z && x(), r.$$.dirty[0] & /*customStylingContainer*/
    4 | r.$$.dirty[1] & /*clientstyling*/
    4096 && f && ne && tr(ne, f), r.$$.dirty[0] & /*customStylingContainer*/
    4 | r.$$.dirty[1] & /*clientstylingurl*/
    8192 && k && ne && rr(ne, k), r.$$.dirty[0] & /*customStylingContainer*/
    4 | r.$$.dirty[1] & /*mbsource*/
    32768 && R && ne && ar(ne, `${R}.Style`, qe), r.$$.dirty[1] & /*translationurl*/
    16384 && S && ve();
  }, [
    V,
    Z,
    ne,
    a,
    b,
    d,
    De,
    le,
    X,
    We,
    ie,
    be,
    oe,
    ge,
    Re,
    Y,
    $,
    ee,
    pe,
    Le,
    he,
    D,
    Ge,
    je,
    Oe,
    He,
    xe,
    Ye,
    Ve,
    ze,
    de,
    Ue,
    te,
    Ze,
    ce,
    ye,
    re,
    Te,
    O,
    o,
    n,
    i,
    h,
    f,
    k,
    S,
    R,
    P,
    W,
    C,
    F,
    B,
    G,
    I,
    A,
    j,
    g,
    ue,
    xt,
    Mt,
    zt,
    Bt,
    At,
    Ft,
    It,
    Rt,
    jt,
    Lt,
    Ht
  ];
}
class Ir extends Kt {
  constructor(e) {
    super(), Jt(
      this,
      e,
      Fr,
      Ar,
      Ut,
      {
        endpoint: 39,
        playerid: 40,
        session: 41,
        lang: 42,
        clientstyling: 43,
        clientstylingurl: 44,
        translationurl: 45,
        mbsource: 46,
        historytypes: 47,
        hidecolumns: 48,
        hidevalues: 49,
        pagesizeoptions: 50,
        playercurrency: 51,
        defaultpagesize: 52,
        formatamount: 53,
        customcurrencysymbols: 54,
        dateformat: 55
      },
      pr,
      [-1, -1, -1, -1, -1]
    );
  }
  get endpoint() {
    return this.$$.ctx[39];
  }
  set endpoint(e) {
    this.$$set({ endpoint: e }), J();
  }
  get playerid() {
    return this.$$.ctx[40];
  }
  set playerid(e) {
    this.$$set({ playerid: e }), J();
  }
  get session() {
    return this.$$.ctx[41];
  }
  set session(e) {
    this.$$set({ session: e }), J();
  }
  get lang() {
    return this.$$.ctx[42];
  }
  set lang(e) {
    this.$$set({ lang: e }), J();
  }
  get clientstyling() {
    return this.$$.ctx[43];
  }
  set clientstyling(e) {
    this.$$set({ clientstyling: e }), J();
  }
  get clientstylingurl() {
    return this.$$.ctx[44];
  }
  set clientstylingurl(e) {
    this.$$set({ clientstylingurl: e }), J();
  }
  get translationurl() {
    return this.$$.ctx[45];
  }
  set translationurl(e) {
    this.$$set({ translationurl: e }), J();
  }
  get mbsource() {
    return this.$$.ctx[46];
  }
  set mbsource(e) {
    this.$$set({ mbsource: e }), J();
  }
  get historytypes() {
    return this.$$.ctx[47];
  }
  set historytypes(e) {
    this.$$set({ historytypes: e }), J();
  }
  get hidecolumns() {
    return this.$$.ctx[48];
  }
  set hidecolumns(e) {
    this.$$set({ hidecolumns: e }), J();
  }
  get hidevalues() {
    return this.$$.ctx[49];
  }
  set hidevalues(e) {
    this.$$set({ hidevalues: e }), J();
  }
  get pagesizeoptions() {
    return this.$$.ctx[50];
  }
  set pagesizeoptions(e) {
    this.$$set({ pagesizeoptions: e }), J();
  }
  get playercurrency() {
    return this.$$.ctx[51];
  }
  set playercurrency(e) {
    this.$$set({ playercurrency: e }), J();
  }
  get defaultpagesize() {
    return this.$$.ctx[52];
  }
  set defaultpagesize(e) {
    this.$$set({ defaultpagesize: e }), J();
  }
  get formatamount() {
    return this.$$.ctx[53];
  }
  set formatamount(e) {
    this.$$set({ formatamount: e }), J();
  }
  get customcurrencysymbols() {
    return this.$$.ctx[54];
  }
  set customcurrencysymbols(e) {
    this.$$set({ customcurrencysymbols: e }), J();
  }
  get dateformat() {
    return this.$$.ctx[55];
  }
  set dateformat(e) {
    this.$$set({ dateformat: e }), J();
  }
}
ir(Ir, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, historytypes: {}, hidecolumns: {}, hidevalues: {}, pagesizeoptions: {}, playercurrency: {}, defaultpagesize: {}, formatamount: {}, customcurrencysymbols: {}, dateformat: {} }, [], [], !0);
export {
  Ir as default
};
