@everymatrix/player-account-controller 1.54.4 → 1.54.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,973 @@
1
+ import { a as Ae, $ as je, S as ze, i as Le, f as me, c as We, s as Be, b as Ne, e as o, d as F, t as x, g as i, j as te, k as ae, l as r, m as be, n as z, o as Fe, p as re, q as Oe, u as Ye, v as Ve, w as ne, K as Ge, P as Ue, Q as ke, L as Te, r as Re, O as qe, x as Ee, M as Ze, y as Qe } from "./GeneralLogout-Ddt-oH9k.js";
2
+ import { h as he } from "./PlayerAccountGamingLimitsGroupEdit-Du2YQlDU.js";
3
+ import "./PlayerAccountGamingLimits-CTBhVGgC.js";
4
+ import "./PlayerAccountSelfExclusion-DxGHXTb8.js";
5
+ function He(t, e) {
6
+ Ae(t, e);
7
+ }
8
+ function Ke(t) {
9
+ je.set(t);
10
+ }
11
+ const De = {
12
+ en: {
13
+ titleGamingHistory: "Gaming History",
14
+ return: "Return",
15
+ previous: "Prev",
16
+ next: "Next",
17
+ dateFrom: "From:",
18
+ dateTo: "To:",
19
+ dateFilter: "Filter",
20
+ numberOfResults: "Show:",
21
+ noRecord: "You haven't played any games so far.",
22
+ transactionId: "Transaction ID",
23
+ date: "Date",
24
+ gameName: "Game Name",
25
+ stake: "Stake",
26
+ InternalError: "Error: The difference between Start Date and End Date is greater than 180 days",
27
+ InvalidSession: "Error: Session is expired.",
28
+ genericError: "Something went wrong!"
29
+ },
30
+ "zh-hk": {
31
+ titleGamingHistory: "遊戲歷史",
32
+ return: "回來",
33
+ previous: "上一頁",
34
+ next: "下一個",
35
+ dateFrom: "從:",
36
+ dateTo: "至:",
37
+ dateFilter: "篩選",
38
+ numberOfResults: "節目:",
39
+ noRecord: "到目前為止,您還沒有玩任何遊戲。",
40
+ transactionId: "交易編號",
41
+ date: "日期",
42
+ gameName: "遊戲名稱",
43
+ stake: "賭注",
44
+ InternalError: "错误:开始日期与结束日期之间的差距超过180天",
45
+ InvalidSession: "错误:会话已过期。",
46
+ genericError: "出了些问题!"
47
+ },
48
+ fr: {
49
+ titleGamingHistory: "Historique des jeux",
50
+ return: "Revenir",
51
+ previous: "Précedent",
52
+ next: "Suivant",
53
+ dateFrom: "De:",
54
+ dateTo: "A:",
55
+ dateFilter: "Filtre",
56
+ numberOfResults: "Afficher:",
57
+ noRecord: "Vous n'avez joué à aucun jeu jusqu'à présent.",
58
+ transactionId: "Transaction ID",
59
+ date: "Date",
60
+ gameName: "Nom du jeu",
61
+ stake: "Mise",
62
+ InternalError: "Erreur : La différence entre la date de début et la date de fin est supérieure à 180 jours",
63
+ InvalidSession: "Erreur : La session est expirée.",
64
+ genericError: "Quelque chose s'est mal passé !"
65
+ },
66
+ ro: {
67
+ titleGamingHistory: "Istoric jocuri",
68
+ return: "Înapoi la meniu",
69
+ previous: "Înapoi",
70
+ next: "Înainte",
71
+ dateFrom: "De la",
72
+ dateTo: "La",
73
+ dateFilter: "Filtru",
74
+ numberOfResults: "Arată",
75
+ noRecord: "Nu ai niciun istoric de jocuri în acest moment.",
76
+ InternalError: "Eroare: Diferența dintre data de început și data de sfârșit este mai mare de 180 de zile",
77
+ InvalidSession: "Eroare: Sesiunea a expirat.",
78
+ genericError: "Ceva nu a funcționat corect!"
79
+ },
80
+ es: {
81
+ titleGamingHistory: "Historial de apuestas",
82
+ return: "Regresar",
83
+ previous: "Previo",
84
+ next: "Siguiente",
85
+ dateFrom: "Desde:",
86
+ dateTo: "A:",
87
+ dateFilter: "Filtro",
88
+ numberOfResults: "Mostrar:",
89
+ noRecord: "Aún no ha jugado ningún juego",
90
+ transactionId: "ID de Transacción",
91
+ date: "Fecha",
92
+ gameName: "Nombre del juego",
93
+ stake: "Apostado",
94
+ InternalError: "Error: La diferencia entre la fecha de inicio y la fecha de fin es superior a 180 días",
95
+ InvalidSession: "Error: La sesión ha expirado.",
96
+ genericError: "¡Algo salió mal!"
97
+ },
98
+ pt: {
99
+ titleGamingHistory: "Histórico de jogos",
100
+ return: "Voltar ao menu",
101
+ previous: "Anterior",
102
+ next: "Próximo",
103
+ dateFrom: "A partir de:",
104
+ dateTo: "Para:",
105
+ dateFilter: "Filtro:",
106
+ numberOfResults: "Mostrar:",
107
+ noRecord: "Você não jogou nenhum jogo até agora.",
108
+ InternalError: "Erro: A diferença entre a Data de Início e a Data de Fim é superior a 180 dias",
109
+ InvalidSession: "Erro: A sessão expirou.",
110
+ genericError: "Algo deu errado!"
111
+ },
112
+ hr: {
113
+ titleGamingHistory: "Povijest igranja",
114
+ return: "Povratak",
115
+ previous: "Prethodno",
116
+ next: "Slijedeće",
117
+ dateFrom: "Od:",
118
+ dateTo: "Do:",
119
+ dateFilter: "Filter",
120
+ numberOfResults: "Prikaži:",
121
+ noRecord: "Do sada niste igrali nijednu igru.",
122
+ transactionId: "ID transakcije",
123
+ date: "Datum",
124
+ gameName: "Naziv igre",
125
+ stake: "Ulog",
126
+ InternalError: "Greška: Razlika između početnog i završnog datuma veća je od 180 dana",
127
+ InvalidSession: "Greška: Sesija je istekla.",
128
+ genericError: "Došlo je do greške!"
129
+ },
130
+ "pt-br": {
131
+ titleGamingHistory: "História do jogo",
132
+ return: "Volte",
133
+ previous: "Anterior",
134
+ next: "Seguindo",
135
+ dateFrom: "De:",
136
+ dateTo: "PARA:",
137
+ dateFilter: "Filtro",
138
+ numberOfResults: "Mostrar:",
139
+ noRecord: "Ele não jogou até agora.",
140
+ transactionId: "ID da transação",
141
+ date: "Data",
142
+ gameName: "Nome do jogo",
143
+ stake: "Valor da aposta",
144
+ InternalError: "Erro: A diferença entre a Data de Início e a Data de Fim é superior a 180 dias",
145
+ InvalidSession: "Erro: A sessão expirou.",
146
+ genericError: "Algo deu errado!"
147
+ },
148
+ "es-mx": {
149
+ titleGamingHistory: "Historial de juego",
150
+ return: "Regresar",
151
+ previous: "Prev",
152
+ next: "Siguiente",
153
+ dateFrom: "De:",
154
+ dateTo: "A:",
155
+ dateFilter: "Filtro",
156
+ numberOfResults: "Mostrar:",
157
+ noRecord: "No ha jugado hasta el momento.",
158
+ transactionId: "ID de transacción",
159
+ date: "Fecha",
160
+ gameName: "Nombre de Juego",
161
+ stake: "Monto de apuesta",
162
+ InternalError: "Error: La diferencia entre la fecha de inicio y la fecha de fin es mayor a 180 días",
163
+ InvalidSession: "Error: La sesión ha expirado.",
164
+ genericError: "¡Algo salió mal!"
165
+ },
166
+ tr: {
167
+ titleGamingHistory: "Oyun Tarihi",
168
+ return: "Geri dönmek",
169
+ previous: "Önceki",
170
+ next: "Sonraki",
171
+ dateFrom: "İtibaren:",
172
+ dateTo: "İle:",
173
+ dateFilter: "Filtre",
174
+ numberOfResults: "Göstermek:",
175
+ noRecord: "Şu ana kadar hiçbir oyun oynamadınız.",
176
+ transactionId: "İşlem Kimliği",
177
+ date: "Tarih",
178
+ gameName: "Oyun Adı",
179
+ stake: "Bahis",
180
+ InternalError: "Hata: Başlangıç ​​tarihi ile bitiş tarihi arasındaki fark 180 günden fazla",
181
+ InvalidSession: "Hata: Oturumun süresi doldu.",
182
+ genericError: "Bir şeyler yanlış gitti!"
183
+ },
184
+ "en-us": {
185
+ titleGamingHistory: "Gaming History",
186
+ return: "Return",
187
+ previous: "Prev",
188
+ next: "Next",
189
+ dateFrom: "From:",
190
+ dateTo: "To:",
191
+ dateFilter: "Filter",
192
+ numberOfResults: "Show:",
193
+ noRecord: "You haven't played any games so far.",
194
+ transactionId: "Transaction ID",
195
+ date: "Date",
196
+ gameName: "Game Name",
197
+ stake: "Stake",
198
+ InternalError: "Error: The difference between Start Date and End Date is greater than 180 days",
199
+ InvalidSession: "Error: Session is expired.",
200
+ genericError: "Something went wrong!"
201
+ },
202
+ de: {
203
+ titleGamingHistory: "Spielhistorie",
204
+ return: "Zurück",
205
+ previous: "Zurück",
206
+ next: "Weiter",
207
+ dateFrom: "Von:",
208
+ dateTo: "Bis:",
209
+ dateFilter: "Filtern",
210
+ numberOfResults: "Anzeigen:",
211
+ noRecord: "Sie haben bisher keine Spiele gespielt.",
212
+ transactionId: "Transaktions-ID",
213
+ date: "Datum",
214
+ gameName: "Spielname",
215
+ stake: "Einsatz",
216
+ InternalError: "Fehler: Der Unterschied zwischen dem Startdatum und dem Enddatum ist größer als 180 Tage",
217
+ InvalidSession: "Fehler: Die Sitzung ist abgelaufen.",
218
+ genericError: "Etwas ist schief gelaufen!"
219
+ }
220
+ };
221
+ function Xe(t) {
222
+ Ne(t, "svelte-1mrqfmc", `.PlayerGamingHistoryWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px;max-width:760px}.PlayerGamingHistoryWrapper .PlayerGamingHistoryTitle{font-size:24px;font-weight:400;text-transform:capitalize}.PlayerGamingDateContainer{display:inline-flex;gap:20px}.PlayerGamingHistoryFilterWrapper,.PlayerGamingDateWrapper{display:inline-flex;align-items:center;gap:10px}.PlayerGamingHistoryFilterWrapper{margin-bottom:20px;gap:20px;width:100%}.PlayerGamingItemCountContainer{margin-left:auto}.PlayerGamingHistoryTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.PlayerGamingHistoryTitleMobile{font-size:var(--emw--size-standard, 16px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingHistoryTitleNone{display:none}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.PlayerGamingHistoryEmpty{color:var(--emw--color-typography-cotrast, #444444)}.PlayerGamingHistoryContainer{width:100%;row-gap:30px;color:var(--emw--color-typography-cotrast, #444444);background:var(--emw--color-white, #FFFFFF);box-shadow:0px 3px 12px var(--emw--color-gray-100, #E6E6E6);border-radius:var(--emw--border-radius-large, 20px);padding:10px 0}.PlayerGamingHistoryContainer table{border:0}.PlayerGamingHistoryContainer table tr{border:0;background:var(--emw--color-white, #FFFFFF)}.PlayerGamingHistoryContainer table tr:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.PlayerGamingHistoryContainer thead tr{border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.PlayerGamingHistoryContainer thead th{font-size:var(--emw--);font-weight:400}.PlayerGamingHistoryItemCount{padding:8px;border-radius:var(--emw--border-radius-small, 5px);border:1px solid var(--emw--color-gray-100, #E6E6E6);-webkit-appearance:none;-moz-appearance:none;appearance:none;width:60px;background:url("data:image/svg+xml,<svg height='10px' width='10px' viewBox='0 0 16 16' fill='%23000000' xmlns='http://www.w3.org/2000/svg'><path d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/></svg>") no-repeat var(--emw--color-white, #FFFFFF);background-position:calc(100% - 0.75rem) center;cursor:pointer}.PlayerGamingHistoryItemCount:focus,.PlayerGamingHistoryItemCount :focus-within,.PlayerGamingHistoryItemCount :focus-visible,.PlayerGamingHistoryItemCount :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));outline:none}.PlayerPaginationControls{background:transparent;border:none;color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;gap:8px;cursor:pointer}.PlayerPaginationControls.PlayerPaginationControlsDisabled{color:var(--emw--color-gray-100, #E6E6E6)}.PlayerPaginationControlsArea{margin-top:30px;display:flex;justify-content:center}.PlayerGamingHistoryFilterWrapper span{color:var(--emw--color-typography-cotrast, #444444);font-weight:var(--emw--font-weight-light, 300);font-size:var(--emw--font-size-small, 14px)}.PlayerGamingHistoryFilterWrapper input{padding:7px;border-radius:var(--emw--border-radius-small, 5px);border:1px solid var(--emw--color-gray-100, #E6E6E6)}.PlayerGamingHistoryFilterButton{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);width:120px;height:40px;font-size:var(--emw--font-size-medium, 15px);text-transform:uppercase;padding:10px;cursor:pointer}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper{align-items:flex-start;gap:10px;flex-direction:column}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateContainer{gap:0;flex-direction:row;width:100%;justify-content:space-between}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper{display:block;gap:0;align-items:end;width:48%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper span{display:block;margin-bottom:5px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingDateWrapper input{width:100px;padding:12px 7px}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryFilterWrapper .PlayerGamingHistoryFilterButton{width:100%}.PlayerGamingHistoryWrapperMobile .PlayerGamingHistoryTitle{font-size:var(--emw--size-standard, 16px);font-weight:var(--emw--font-weigh-normal, 400)}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea{justify-content:center;gap:30px}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControls{align-items:center}.PlayerGamingHistoryWrapperMobile .PlayerPaginationControlsArea .PlayerPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.PlayerGamingHistoryWrapperMobile .VaadinDatePicker{width:100%}table{border:1px solid var(--emw--color-gray-100, #E6E6E6);border-collapse:collapse;margin:0;padding:0;width:100%;table-layout:fixed}table tr{border:1px solid var(--emw--color-gray-100, #E6E6E6)}table th,table td{padding:10px;text-align:center}table th:first-child,table td:first-child{padding-left:20px}table th:first-child span,table td:first-child span{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}table th:last-child,table td:last-child{padding-right:20px}table th{font-size:0.85em;letter-spacing:0.1em;text-align:left}table tr td{font-size:12px;font-weight:300;text-align:left}@media screen and (max-width: 1024px){.PlayerGamingHistoryWrapper{padding:20px}.PlayerGamingHistoryContainer{box-shadow:none;padding:0}table{border:0}tbody{background:var(--emw--color-gray-50, #F9F8F8)}table thead{border:none;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}table tr{border-bottom:3px solid var(--emw--color-gray-100, #E6E6E6);display:block;border-radius:var(--emw--border-radius-small, 5px);box-shadow:0px 3px 12px var(--emw--color-gray-100, #E6E6E6);padding:10px}table tr:not(:last-child){margin-bottom:0.625em}table tr th,table tr td{border:0;border-radius:var(--emw--border-radius-small, 5px)}table tr th:nth-child(even),table tr td:nth-child(even){background:var(--emw--color-gray-50, #F9F8F8)}table th:first-child,table td:first-child{padding-left:10px}table th:last-child,table td:last-child{padding-right:10px}table td{border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6);display:block;font-size:0.8em;text-align:right;display:flex}table th:first-child span,table td:first-child span{width:50%;text-align:right}table td::before{content:attr(data-label);float:left;font-weight:bold;text-transform:uppercase;flex:1}table td:last-child{border-bottom:0}}.DataLoader{width:300px;height:300px;margin:0 auto;display:flex;align-items:center;justify-content:center}.DataLoader:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:5px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E)) transparent;animation:Loader 1.2s linear infinite}@keyframes Loader{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
223
+ }
224
+ function xe(t, e, a) {
225
+ const s = t.slice();
226
+ return s[55] = e[a], s;
227
+ }
228
+ function Ie(t, e, a) {
229
+ const s = t.slice();
230
+ return s[58] = e[a], s;
231
+ }
232
+ function Je(t) {
233
+ let e, a, s, l, h, u, w, P, c, m, d = (
234
+ /*$_*/
235
+ t[14]("titleGamingHistory") + ""
236
+ ), b, p, k;
237
+ return {
238
+ c() {
239
+ e = o("div"), a = ne("svg"), s = ne("defs"), l = ne("style"), h = x(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), u = ne("g"), w = ne("g"), P = ne("path"), c = F(), m = o("h2"), b = x(d), i(P, "class", "aaa"), i(P, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), i(P, "transform", "translate(15 15) rotate(180)"), i(w, "transform", "translate(20 158)"), i(u, "transform", "translate(-20 -158)"), i(a, "xmlns", "http://www.w3.org/2000/svg"), i(a, "width", "15"), i(a, "height", "15"), i(a, "viewBox", "0 0 15 15"), i(m, "class", "PlayerGamingHistoryTitleMobile"), i(m, "part", "PlayerGamingHistoryTitleMobile"), i(e, "class", "MenuReturnButton"), i(e, "part", "MenuReturnButton");
240
+ },
241
+ m(H, _) {
242
+ ae(H, e, _), r(e, a), r(a, s), r(s, l), r(l, h), r(a, u), r(u, w), r(w, P), r(e, c), r(e, m), r(m, b), p || (k = be(
243
+ e,
244
+ "click",
245
+ /*click_handler*/
246
+ t[29]
247
+ ), p = !0);
248
+ },
249
+ p(H, _) {
250
+ _[0] & /*$_*/
251
+ 16384 && d !== (d = /*$_*/
252
+ H[14]("titleGamingHistory") + "") && z(b, d);
253
+ },
254
+ d(H) {
255
+ H && re(e), p = !1, k();
256
+ }
257
+ };
258
+ }
259
+ function Ce(t) {
260
+ let e, a, s = (
261
+ /*$_*/
262
+ t[14]("numberOfResults") + ""
263
+ ), l, h, u, w, P, c = Ge(
264
+ /*gameHistoryItems*/
265
+ t[15]
266
+ ), m = [];
267
+ for (let d = 0; d < c.length; d += 1)
268
+ m[d] = Me(Ie(t, c, d));
269
+ return {
270
+ c() {
271
+ e = o("div"), a = o("span"), l = x(s), h = F(), u = o("select");
272
+ for (let d = 0; d < m.length; d += 1)
273
+ m[d].c();
274
+ i(u, "class", "PlayerGamingHistoryItemCount"), /*gameHistoryLimit*/
275
+ t[7] === void 0 && Ue(() => (
276
+ /*select_change_handler*/
277
+ t[33].call(u)
278
+ )), i(e, "class", "PlayerGamingItemCountContainer");
279
+ },
280
+ m(d, b) {
281
+ ae(d, e, b), r(e, a), r(a, l), r(e, h), r(e, u);
282
+ for (let p = 0; p < m.length; p += 1)
283
+ m[p] && m[p].m(u, null);
284
+ ke(
285
+ u,
286
+ /*gameHistoryLimit*/
287
+ t[7],
288
+ !0
289
+ ), w || (P = [
290
+ be(
291
+ u,
292
+ "change",
293
+ /*select_change_handler*/
294
+ t[33]
295
+ ),
296
+ be(
297
+ u,
298
+ "change",
299
+ /*change_handler*/
300
+ t[34]
301
+ )
302
+ ], w = !0);
303
+ },
304
+ p(d, b) {
305
+ if (b[0] & /*$_*/
306
+ 16384 && s !== (s = /*$_*/
307
+ d[14]("numberOfResults") + "") && z(l, s), b[0] & /*gameHistoryItems*/
308
+ 32768) {
309
+ c = Ge(
310
+ /*gameHistoryItems*/
311
+ d[15]
312
+ );
313
+ let p;
314
+ for (p = 0; p < c.length; p += 1) {
315
+ const k = Ie(d, c, p);
316
+ m[p] ? m[p].p(k, b) : (m[p] = Me(k), m[p].c(), m[p].m(u, null));
317
+ }
318
+ for (; p < m.length; p += 1)
319
+ m[p].d(1);
320
+ m.length = c.length;
321
+ }
322
+ b[0] & /*gameHistoryLimit, gameHistoryItems*/
323
+ 32896 && ke(
324
+ u,
325
+ /*gameHistoryLimit*/
326
+ d[7]
327
+ );
328
+ },
329
+ d(d) {
330
+ d && re(e), Te(m, d), w = !1, Re(P);
331
+ }
332
+ };
333
+ }
334
+ function Me(t) {
335
+ let e, a = (
336
+ /*item*/
337
+ t[58] + ""
338
+ ), s;
339
+ return {
340
+ c() {
341
+ e = o("option"), s = x(a), e.__value = /*item*/
342
+ t[58], qe(e, e.__value);
343
+ },
344
+ m(l, h) {
345
+ ae(l, e, h), r(e, s);
346
+ },
347
+ p: Fe,
348
+ d(l) {
349
+ l && re(e);
350
+ }
351
+ };
352
+ }
353
+ function $e(t) {
354
+ let e, a = (
355
+ /*$_*/
356
+ t[14]("noRecord") + ""
357
+ ), s;
358
+ return {
359
+ c() {
360
+ e = o("p"), s = x(a), i(e, "class", "PlayerGamingHistoryEmpty");
361
+ },
362
+ m(l, h) {
363
+ ae(l, e, h), r(e, s);
364
+ },
365
+ p(l, h) {
366
+ h[0] & /*$_*/
367
+ 16384 && a !== (a = /*$_*/
368
+ l[14]("noRecord") + "") && z(s, a);
369
+ },
370
+ d(l) {
371
+ l && re(e);
372
+ }
373
+ };
374
+ }
375
+ function et(t) {
376
+ let e, a;
377
+ return {
378
+ c() {
379
+ e = o("p"), a = x(
380
+ /*errorMessage*/
381
+ t[8]
382
+ ), i(e, "class", "PlayerGamingHistoryEmpty");
383
+ },
384
+ m(s, l) {
385
+ ae(s, e, l), r(e, a);
386
+ },
387
+ p(s, l) {
388
+ l[0] & /*errorMessage*/
389
+ 256 && z(
390
+ a,
391
+ /*errorMessage*/
392
+ s[8]
393
+ );
394
+ },
395
+ d(s) {
396
+ s && re(e);
397
+ }
398
+ };
399
+ }
400
+ function tt(t) {
401
+ let e, a, s, l, h, u = (
402
+ /*$_*/
403
+ t[14]("transactionId") + ""
404
+ ), w, P, c, m = (
405
+ /*$_*/
406
+ t[14]("date") + ""
407
+ ), d, b, p, k = (
408
+ /*$_*/
409
+ t[14]("gameName") + ""
410
+ ), H, _, Q, B = (
411
+ /*$_*/
412
+ t[14]("stake") + ""
413
+ ), N, O, I, J = (
414
+ /*$_*/
415
+ t[14]("return") + ""
416
+ ), C, Z, D, L, T, R, Y, V, K, M, g, G = (
417
+ /*$_*/
418
+ t[14]("previous") + ""
419
+ ), ie, U, y, E, ee, se, pe = (
420
+ /*$_*/
421
+ t[14]("next") + ""
422
+ ), ge, we, le, oe, ue, ce, fe, ve, Pe, de = Ge(
423
+ /*gamingHistoryData*/
424
+ t[13]
425
+ ), q = [];
426
+ for (let f = 0; f < de.length; f += 1)
427
+ q[f] = Se(xe(t, de, f));
428
+ return {
429
+ c() {
430
+ e = o("div"), a = o("table"), s = o("thead"), l = o("tr"), h = o("th"), w = x(u), P = F(), c = o("th"), d = x(m), b = F(), p = o("th"), H = x(k), _ = F(), Q = o("th"), N = x(B), O = F(), I = o("th"), C = x(J), Z = F(), D = o("tbody");
431
+ for (let f = 0; f < q.length; f += 1)
432
+ q[f].c();
433
+ L = F(), T = o("div"), R = o("button"), Y = ne("svg"), V = ne("path"), M = F(), g = o("span"), ie = x(G), E = F(), ee = o("button"), se = o("span"), ge = x(pe), we = F(), le = ne("svg"), oe = ne("path"), i(e, "class", "PlayerGamingHistoryContainer"), i(V, "fill", K = /*previousPage*/
434
+ t[5] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" : "var(--emw--color-gray-100, #E6E6E6)"), i(V, "class", "a"), i(V, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), i(V, "transform", "translate(19.246 -6.188) rotate(90)"), i(Y, "xmlns", "http://www.w3.org/2000/svg"), i(Y, "width", "8"), i(Y, "height", "13.992"), i(Y, "viewBox", "0 0 8 13.992"), i(g, "class", "PlayerPaginationControlsText"), i(R, "class", U = "PlayerPaginationControls " + (/*previousPage*/
435
+ t[5] ? "" : "PlayerPaginationControlsDisabled")), R.disabled = y = /*previousPage*/
436
+ !t[5], i(se, "class", "PlayerPaginationControlsText"), i(oe, "fill", ue = /*nextPage*/
437
+ t[4] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" : "var(--emw--color-gray-100, #E6E6E6)"), i(oe, "class", "a"), i(oe, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), i(oe, "transform", "translate(-11.246 20.179) rotate(-90)"), i(le, "xmlns", "http://www.w3.org/2000/svg"), i(le, "width", "8"), i(le, "height", "13.992"), i(le, "viewBox", "0 0 8 13.992"), i(ee, "class", ce = "PlayerPaginationControls " + (/*nextPage*/
438
+ t[4] ? "" : "PlayerPaginationControlsDisabled")), ee.disabled = fe = /*nextPage*/
439
+ !t[4], i(T, "class", "PlayerPaginationControlsArea");
440
+ },
441
+ m(f, S) {
442
+ ae(f, e, S), r(e, a), r(a, s), r(s, l), r(l, h), r(h, w), r(l, P), r(l, c), r(c, d), r(l, b), r(l, p), r(p, H), r(l, _), r(l, Q), r(Q, N), r(l, O), r(l, I), r(I, C), r(a, Z), r(a, D);
443
+ for (let W = 0; W < q.length; W += 1)
444
+ q[W] && q[W].m(D, null);
445
+ ae(f, L, S), ae(f, T, S), r(T, R), r(R, Y), r(Y, V), r(R, M), r(R, g), r(g, ie), r(T, E), r(T, ee), r(ee, se), r(se, ge), r(ee, we), r(ee, le), r(le, oe), ve || (Pe = [
446
+ be(
447
+ R,
448
+ "click",
449
+ /*click_handler_2*/
450
+ t[35]
451
+ ),
452
+ be(
453
+ ee,
454
+ "click",
455
+ /*click_handler_3*/
456
+ t[36]
457
+ )
458
+ ], ve = !0);
459
+ },
460
+ p(f, S) {
461
+ if (S[0] & /*$_*/
462
+ 16384 && u !== (u = /*$_*/
463
+ f[14]("transactionId") + "") && z(w, u), S[0] & /*$_*/
464
+ 16384 && m !== (m = /*$_*/
465
+ f[14]("date") + "") && z(d, m), S[0] & /*$_*/
466
+ 16384 && k !== (k = /*$_*/
467
+ f[14]("gameName") + "") && z(H, k), S[0] & /*$_*/
468
+ 16384 && B !== (B = /*$_*/
469
+ f[14]("stake") + "") && z(N, B), S[0] & /*$_*/
470
+ 16384 && J !== (J = /*$_*/
471
+ f[14]("return") + "") && z(C, J), S[0] & /*$_, gamingHistoryData, formatDate*/
472
+ 1073152) {
473
+ de = Ge(
474
+ /*gamingHistoryData*/
475
+ f[13]
476
+ );
477
+ let W;
478
+ for (W = 0; W < de.length; W += 1) {
479
+ const _e = xe(f, de, W);
480
+ q[W] ? q[W].p(_e, S) : (q[W] = Se(_e), q[W].c(), q[W].m(D, null));
481
+ }
482
+ for (; W < q.length; W += 1)
483
+ q[W].d(1);
484
+ q.length = de.length;
485
+ }
486
+ S[0] & /*previousPage*/
487
+ 32 && K !== (K = /*previousPage*/
488
+ f[5] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" : "var(--emw--color-gray-100, #E6E6E6)") && i(V, "fill", K), S[0] & /*$_*/
489
+ 16384 && G !== (G = /*$_*/
490
+ f[14]("previous") + "") && z(ie, G), S[0] & /*previousPage*/
491
+ 32 && U !== (U = "PlayerPaginationControls " + (/*previousPage*/
492
+ f[5] ? "" : "PlayerPaginationControlsDisabled")) && i(R, "class", U), S[0] & /*previousPage*/
493
+ 32 && y !== (y = /*previousPage*/
494
+ !f[5]) && (R.disabled = y), S[0] & /*$_*/
495
+ 16384 && pe !== (pe = /*$_*/
496
+ f[14]("next") + "") && z(ge, pe), S[0] & /*nextPage*/
497
+ 16 && ue !== (ue = /*nextPage*/
498
+ f[4] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #D0046C))" : "var(--emw--color-gray-100, #E6E6E6)") && i(oe, "fill", ue), S[0] & /*nextPage*/
499
+ 16 && ce !== (ce = "PlayerPaginationControls " + (/*nextPage*/
500
+ f[4] ? "" : "PlayerPaginationControlsDisabled")) && i(ee, "class", ce), S[0] & /*nextPage*/
501
+ 16 && fe !== (fe = /*nextPage*/
502
+ !f[4]) && (ee.disabled = fe);
503
+ },
504
+ d(f) {
505
+ f && (re(e), re(L), re(T)), Te(q, f), ve = !1, Re(Pe);
506
+ }
507
+ };
508
+ }
509
+ function at(t) {
510
+ let e;
511
+ return {
512
+ c() {
513
+ e = o("div"), i(e, "class", "DataLoader");
514
+ },
515
+ m(a, s) {
516
+ ae(a, e, s);
517
+ },
518
+ p: Fe,
519
+ d(a) {
520
+ a && re(e);
521
+ }
522
+ };
523
+ }
524
+ function Se(t) {
525
+ let e, a, s, l = (
526
+ /*gamingHistoryDataset*/
527
+ t[55].roundId + ""
528
+ ), h, u, w, P, c, m, d = (
529
+ /*formatDate*/
530
+ t[20](
531
+ /*gamingHistoryDataset*/
532
+ t[55]
533
+ ) + ""
534
+ ), b, p, k, H, _, Q = (
535
+ /*gamingHistoryDataset*/
536
+ (t[55].gameModel?.name ?? "-") + ""
537
+ ), B, N, O, I, J, C = (
538
+ /*gamingHistoryDataset*/
539
+ (t[55].stakeAmount ?? "-") + ""
540
+ ), Z, D, L, T, R, Y = (
541
+ /*gamingHistoryDataset*/
542
+ (t[55].returnAmount ?? "-") + ""
543
+ ), V, K, M;
544
+ return {
545
+ c() {
546
+ e = o("tr"), a = o("td"), s = o("span"), h = x(l), P = F(), c = o("td"), m = o("span"), b = x(d), k = F(), H = o("td"), _ = o("span"), B = x(Q), O = F(), I = o("td"), J = o("span"), Z = x(C), L = F(), T = o("td"), R = o("span"), V = x(Y), M = F(), i(a, "data-label", u = /*$_*/
547
+ t[14]("transactionId")), i(a, "title", w = /*gamingHistoryDataset*/
548
+ t[55].roundId), i(c, "data-label", p = /*$_*/
549
+ t[14]("date")), i(H, "data-label", N = /*$_*/
550
+ t[14]("gameName")), i(I, "data-label", D = /*$_*/
551
+ t[14]("stake")), i(T, "data-label", K = /*$_*/
552
+ t[14]("return"));
553
+ },
554
+ m(g, G) {
555
+ ae(g, e, G), r(e, a), r(a, s), r(s, h), r(e, P), r(e, c), r(c, m), r(m, b), r(e, k), r(e, H), r(H, _), r(_, B), r(e, O), r(e, I), r(I, J), r(J, Z), r(e, L), r(e, T), r(T, R), r(R, V), r(e, M);
556
+ },
557
+ p(g, G) {
558
+ G[0] & /*gamingHistoryData*/
559
+ 8192 && l !== (l = /*gamingHistoryDataset*/
560
+ g[55].roundId + "") && z(h, l), G[0] & /*$_*/
561
+ 16384 && u !== (u = /*$_*/
562
+ g[14]("transactionId")) && i(a, "data-label", u), G[0] & /*gamingHistoryData*/
563
+ 8192 && w !== (w = /*gamingHistoryDataset*/
564
+ g[55].roundId) && i(a, "title", w), G[0] & /*gamingHistoryData*/
565
+ 8192 && d !== (d = /*formatDate*/
566
+ g[20](
567
+ /*gamingHistoryDataset*/
568
+ g[55]
569
+ ) + "") && z(b, d), G[0] & /*$_*/
570
+ 16384 && p !== (p = /*$_*/
571
+ g[14]("date")) && i(c, "data-label", p), G[0] & /*gamingHistoryData*/
572
+ 8192 && Q !== (Q = /*gamingHistoryDataset*/
573
+ (g[55].gameModel?.name ?? "-") + "") && z(B, Q), G[0] & /*$_*/
574
+ 16384 && N !== (N = /*$_*/
575
+ g[14]("gameName")) && i(H, "data-label", N), G[0] & /*gamingHistoryData*/
576
+ 8192 && C !== (C = /*gamingHistoryDataset*/
577
+ (g[55].stakeAmount ?? "-") + "") && z(Z, C), G[0] & /*$_*/
578
+ 16384 && D !== (D = /*$_*/
579
+ g[14]("stake")) && i(I, "data-label", D), G[0] & /*gamingHistoryData*/
580
+ 8192 && Y !== (Y = /*gamingHistoryDataset*/
581
+ (g[55].returnAmount ?? "-") + "") && z(V, Y), G[0] & /*$_*/
582
+ 16384 && K !== (K = /*$_*/
583
+ g[14]("return")) && i(T, "data-label", K);
584
+ },
585
+ d(g) {
586
+ g && re(e);
587
+ }
588
+ };
589
+ }
590
+ function rt(t) {
591
+ let e, a, s, l, h = (
592
+ /*$_*/
593
+ t[14]("titleGamingHistory") + ""
594
+ ), u, w, P, c, m, d, b, p = (
595
+ /*$_*/
596
+ t[14]("dateFrom") + ""
597
+ ), k, H, _, Q, B, N, O = (
598
+ /*$_*/
599
+ t[14]("dateTo") + ""
600
+ ), I, J, C, Z, D, L = (
601
+ /*$_*/
602
+ t[14]("dateFilter") + ""
603
+ ), T, R, Y, V, K, M = (
604
+ /*isMobile*/
605
+ t[16] && Je(t)
606
+ ), g = !/*mediaQueryMedim*/
607
+ t[12].matches && Ce(t);
608
+ function G(y, E) {
609
+ return (
610
+ /*isLoading*/
611
+ y[9] ? at : (
612
+ /*gamingHistoryData*/
613
+ y[13].length > 0 ? tt : (
614
+ /*errorMessage*/
615
+ y[8].length > 0 ? et : $e
616
+ )
617
+ )
618
+ );
619
+ }
620
+ let ie = G(t), U = ie(t);
621
+ return {
622
+ c() {
623
+ e = o("div"), a = o("div"), M && M.c(), s = F(), l = o("h2"), u = x(h), w = F(), P = o("div"), c = o("div"), m = o("div"), d = o("div"), b = o("span"), k = x(p), H = F(), _ = o("vaadin-date-picker"), Q = F(), B = o("div"), N = o("span"), I = x(O), J = F(), C = o("vaadin-date-picker"), Z = F(), D = o("button"), T = x(L), R = F(), g && g.c(), Y = F(), U.c(), i(l, "class", "PlayerGamingHistoryTitle " + /*isMobile*/
624
+ (t[16] ? "PlayerGamingHistoryTitleNone" : "")), te(
625
+ _,
626
+ "max",
627
+ /*maxDate*/
628
+ t[10]
629
+ ), te(_, "placeholder", "From"), te(
630
+ _,
631
+ "value",
632
+ /*yesterday*/
633
+ t[11]
634
+ ), te(_, "class", "VaadinDatePicker"), i(d, "class", "PlayerGamingDateWrapper"), te(
635
+ C,
636
+ "max",
637
+ /*maxDate*/
638
+ t[10]
639
+ ), te(C, "placeholder", "To"), te(
640
+ C,
641
+ "value",
642
+ /*maxDate*/
643
+ t[10]
644
+ ), te(C, "class", "VaadinDatePicker"), i(B, "class", "PlayerGamingDateWrapper"), i(m, "class", "PlayerGamingDateContainer"), i(D, "class", "PlayerGamingHistoryFilterButton"), i(c, "class", "PlayerGamingHistoryFilterWrapper"), i(P, "class", "PlayerGamingHistoryTopSection"), i(a, "class", "PlayerGamingHistoryWrapper " + /*isMobile*/
645
+ (t[16] ? "PlayerGamingHistoryWrapperMobile" : "") + " " + /*mediaQuery*/
646
+ (t[17].matches && /*isMobile*/
647
+ t[16] ? "PlayerTabletGamingHistoryWrapper" : ""));
648
+ },
649
+ m(y, E) {
650
+ ae(y, e, E), r(e, a), M && M.m(a, null), r(a, s), r(a, l), r(l, u), r(a, w), r(a, P), r(P, c), r(c, m), r(m, d), r(d, b), r(b, k), r(d, H), r(d, _), t[30](_), r(m, Q), r(m, B), r(B, N), r(N, I), r(B, J), r(B, C), t[31](C), r(c, Z), r(c, D), r(D, T), r(c, R), g && g.m(c, null), r(a, Y), U.m(a, null), t[37](a), t[38](e), V || (K = be(
651
+ D,
652
+ "click",
653
+ /*click_handler_1*/
654
+ t[32]
655
+ ), V = !0);
656
+ },
657
+ p(y, E) {
658
+ /*isMobile*/
659
+ y[16] && M.p(y, E), E[0] & /*$_*/
660
+ 16384 && h !== (h = /*$_*/
661
+ y[14]("titleGamingHistory") + "") && z(u, h), E[0] & /*$_*/
662
+ 16384 && p !== (p = /*$_*/
663
+ y[14]("dateFrom") + "") && z(k, p), E[0] & /*maxDate*/
664
+ 1024 && te(
665
+ _,
666
+ "max",
667
+ /*maxDate*/
668
+ y[10]
669
+ ), E[0] & /*yesterday*/
670
+ 2048 && te(
671
+ _,
672
+ "value",
673
+ /*yesterday*/
674
+ y[11]
675
+ ), E[0] & /*$_*/
676
+ 16384 && O !== (O = /*$_*/
677
+ y[14]("dateTo") + "") && z(I, O), E[0] & /*maxDate*/
678
+ 1024 && te(
679
+ C,
680
+ "max",
681
+ /*maxDate*/
682
+ y[10]
683
+ ), E[0] & /*maxDate*/
684
+ 1024 && te(
685
+ C,
686
+ "value",
687
+ /*maxDate*/
688
+ y[10]
689
+ ), E[0] & /*$_*/
690
+ 16384 && L !== (L = /*$_*/
691
+ y[14]("dateFilter") + "") && z(T, L), /*mediaQueryMedim*/
692
+ y[12].matches ? g && (g.d(1), g = null) : g ? g.p(y, E) : (g = Ce(y), g.c(), g.m(c, null)), ie === (ie = G(y)) && U ? U.p(y, E) : (U.d(1), U = ie(y), U && (U.c(), U.m(a, null)));
693
+ },
694
+ i: Fe,
695
+ o: Fe,
696
+ d(y) {
697
+ y && re(e), M && M.d(), t[30](null), t[31](null), g && g.d(), U.d(), t[37](null), t[38](null), V = !1, K();
698
+ }
699
+ };
700
+ }
701
+ let it = "0";
702
+ function nt(t, e, a) {
703
+ let s;
704
+ Oe(t, Qe, (n) => a(14, s = n));
705
+ let { endpoint: l = "" } = e, { playerid: h = "" } = e, { session: u = "" } = e, { lang: w = "en" } = e, { clientstyling: P = "" } = e, { clientstylingurl: c = "" } = e, { translationurl: m = "" } = e, { gmversion: d = "" } = e, b = "", p = "", k = "", H, _ = he().format("YYYY-MM-DD"), Q = he().format("YYYY-MM-DD"), B = ["5", "10", "25", "50"], N = "5", O = "", I = !1, J = window.navigator.userAgent, C = Ye(J) !== "PC", Z, D, L, T, R;
706
+ T = he(/* @__PURE__ */ new Date()).format("YYYY-MM-DD"), R = he(/* @__PURE__ */ new Date()).subtract(1, "days").format("YYYY-MM-DD");
707
+ const Y = () => {
708
+ fetch(m).then((A) => A.json()).then((A) => {
709
+ Object.keys(A).forEach((j) => {
710
+ He(j, A[j]);
711
+ });
712
+ }).catch((A) => {
713
+ console.log(A);
714
+ });
715
+ };
716
+ Object.keys(De).forEach((n) => {
717
+ He(n, De[n]);
718
+ });
719
+ let V = window.matchMedia("(min-width: 768px)"), K = window.matchMedia("(max-width: 1280px)"), M = [];
720
+ const g = () => {
721
+ window.postMessage(
722
+ {
723
+ type: "PlayerAccountMenuActive",
724
+ isMobile: C
725
+ },
726
+ window.location.href
727
+ );
728
+ }, G = () => {
729
+ a(12, K = window.matchMedia("(max-width: 1280px)"));
730
+ }, ie = (n) => {
731
+ let A = /* @__PURE__ */ new Map();
732
+ return n.forEach((j) => {
733
+ let X = j.transType === "1" ? "stakeAmount" : "returnAmount", ye = A.get(j.roundId);
734
+ if (ye)
735
+ ye[X] = j.totalAmount;
736
+ else {
737
+ let v = { ...j };
738
+ v[X] = j.totalAmount, A.set(j.roundId, v);
739
+ }
740
+ }), n = Array.from(A.values()), n;
741
+ }, U = (n, A, j) => {
742
+ let X = new URL(n);
743
+ a(13, M = []);
744
+ let ye = {
745
+ method: "GET",
746
+ headers: { "X-SessionID": u }
747
+ };
748
+ A || (X.searchParams.append("offset", String(0 * 2)), X.searchParams.append("limit", String(+N * 2))), j && (X.searchParams.append("startDate", _), X.searchParams.append("endDate", Q)), a(9, I = !0), fetch(X.href, ye).then((v) => v.json()).then(
749
+ (v) => {
750
+ if (!v.error)
751
+ a(13, M = v.transactions), a(13, M = ie(M)), a(4, p = v.pagination.next), a(5, k = v.pagination.previous);
752
+ else {
753
+ let $ = v.error.split(":");
754
+ a(8, O = $[1].substring(0, $[1].lastIndexOf(" ")) + " " + $[2]), v.thirdPartyResponse && a(8, O = s(`${v.thirdPartyResponse.errorCode}`) || $[1].substring(0, $[1].lastIndexOf(" ")) + " " + $[2]);
755
+ }
756
+ a(9, I = !1);
757
+ },
758
+ (v) => {
759
+ a(9, I = !1), console.error(v);
760
+ }
761
+ );
762
+ }, y = (n, A, j) => {
763
+ let X = new URL(n);
764
+ a(13, M = []), a(8, O = "");
765
+ let ye = {
766
+ method: "GET",
767
+ headers: { "X-SessionID": u }
768
+ };
769
+ A || (X.searchParams.append("offset", it), X.searchParams.append("limit", N)), j && (X.searchParams.append("startDate", _), X.searchParams.append("endDate", Q)), a(9, I = !0), fetch(X.href, ye).then((v) => v.json()).then(
770
+ (v) => {
771
+ if (!v.error)
772
+ a(13, M = v.transactions), a(4, p = v.pagination.next), a(5, k = v.pagination.previous);
773
+ else {
774
+ let $ = v.error.split(":");
775
+ a(8, O = $[1].substring(0, $[1].lastIndexOf(" ")) + " " + $[2]), v.thirdPartyResponse && a(8, O = s(`${v.thirdPartyResponse.errorCode}`) || $[1].substring(0, $[1].lastIndexOf(" ")) + " " + $[2]);
776
+ }
777
+ a(9, I = !1);
778
+ },
779
+ (v) => {
780
+ a(9, I = !1), console.error(v);
781
+ }
782
+ );
783
+ }, E = (n, A, j) => {
784
+ switch (d) {
785
+ case "gm16":
786
+ U(n, A, j);
787
+ break;
788
+ default:
789
+ y(n, A, j);
790
+ break;
791
+ }
792
+ window.postMessage({ type: "ScrollToTop" }, window.location.href);
793
+ }, ee = () => {
794
+ Ke(w), a(3, b = d === "gm16" ? `${l}/v1/player/${h}/transactions/wagering?type=Casino` : `${l}/v1/player/${h}/bets`), E(b, !1, !0);
795
+ }, se = (n) => {
796
+ if (n.data)
797
+ switch (n.data.type) {
798
+ }
799
+ }, pe = (n) => {
800
+ _ = n.target.value;
801
+ }, ge = (n) => {
802
+ Q = n.target.value;
803
+ }, we = () => {
804
+ Z.addEventListener("change", pe, !1), D.addEventListener("change", ge, !1);
805
+ }, le = () => {
806
+ let n = document.createElement("style");
807
+ n.innerHTML = P, L.appendChild(n);
808
+ }, oe = () => {
809
+ let n = new URL(c), A = document.createElement("style");
810
+ fetch(n.href).then((j) => j.text()).then((j) => {
811
+ A.innerHTML = j, setTimeout(
812
+ () => {
813
+ L.appendChild(A);
814
+ },
815
+ 1
816
+ );
817
+ });
818
+ }, ue = (n) => d === "gm16" ? he(n.ins).format("D/M/YYYY - h:mm A") : he(n.roundStartDate).format("D/M/YYYY - h:mm A");
819
+ Ve(() => (window.addEventListener("message", se, !1), window.addEventListener("resize", G, !1), () => {
820
+ Z.removeEventListener("change", pe), D.removeEventListener("change", ge), window.removeEventListener("message", se), window.removeEventListener("resize", se);
821
+ }));
822
+ const ce = () => g();
823
+ function fe(n) {
824
+ Ee[n ? "unshift" : "push"](() => {
825
+ Z = n, a(0, Z);
826
+ });
827
+ }
828
+ function ve(n) {
829
+ Ee[n ? "unshift" : "push"](() => {
830
+ D = n, a(1, D);
831
+ });
832
+ }
833
+ const Pe = () => E(b, !1, !0);
834
+ function de() {
835
+ N = Ze(this), a(7, N), a(15, B);
836
+ }
837
+ const q = () => E(b, !1, !0), f = () => E(k, !0, !1), S = () => E(p, !0, !1);
838
+ function W(n) {
839
+ Ee[n ? "unshift" : "push"](() => {
840
+ H = n, a(6, H);
841
+ });
842
+ }
843
+ function _e(n) {
844
+ Ee[n ? "unshift" : "push"](() => {
845
+ L = n, a(2, L);
846
+ });
847
+ }
848
+ return t.$$set = (n) => {
849
+ "endpoint" in n && a(21, l = n.endpoint), "playerid" in n && a(22, h = n.playerid), "session" in n && a(23, u = n.session), "lang" in n && a(24, w = n.lang), "clientstyling" in n && a(25, P = n.clientstyling), "clientstylingurl" in n && a(26, c = n.clientstylingurl), "translationurl" in n && a(27, m = n.translationurl), "gmversion" in n && a(28, d = n.gmversion);
850
+ }, t.$$.update = () => {
851
+ t.$$.dirty[0] & /*startCalendar, endCalendar*/
852
+ 3 && Z && D && we(), t.$$.dirty[0] & /*session, playerid, endpoint, lang*/
853
+ 31457280 && u && h && l && w && ee(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
854
+ 67108868 && c && L && oe(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
855
+ 33554436 && P && L && le(), t.$$.dirty[0] & /*translationurl*/
856
+ 134217728 && m && Y();
857
+ }, [
858
+ Z,
859
+ D,
860
+ L,
861
+ b,
862
+ p,
863
+ k,
864
+ H,
865
+ N,
866
+ O,
867
+ I,
868
+ T,
869
+ R,
870
+ K,
871
+ M,
872
+ s,
873
+ B,
874
+ C,
875
+ V,
876
+ g,
877
+ E,
878
+ ue,
879
+ l,
880
+ h,
881
+ u,
882
+ w,
883
+ P,
884
+ c,
885
+ m,
886
+ d,
887
+ ce,
888
+ fe,
889
+ ve,
890
+ Pe,
891
+ de,
892
+ q,
893
+ f,
894
+ S,
895
+ W,
896
+ _e
897
+ ];
898
+ }
899
+ class lt extends ze {
900
+ constructor(e) {
901
+ super(), Le(
902
+ this,
903
+ e,
904
+ nt,
905
+ rt,
906
+ Be,
907
+ {
908
+ endpoint: 21,
909
+ playerid: 22,
910
+ session: 23,
911
+ lang: 24,
912
+ clientstyling: 25,
913
+ clientstylingurl: 26,
914
+ translationurl: 27,
915
+ gmversion: 28
916
+ },
917
+ Xe,
918
+ [-1, -1]
919
+ );
920
+ }
921
+ get endpoint() {
922
+ return this.$$.ctx[21];
923
+ }
924
+ set endpoint(e) {
925
+ this.$$set({ endpoint: e }), me();
926
+ }
927
+ get playerid() {
928
+ return this.$$.ctx[22];
929
+ }
930
+ set playerid(e) {
931
+ this.$$set({ playerid: e }), me();
932
+ }
933
+ get session() {
934
+ return this.$$.ctx[23];
935
+ }
936
+ set session(e) {
937
+ this.$$set({ session: e }), me();
938
+ }
939
+ get lang() {
940
+ return this.$$.ctx[24];
941
+ }
942
+ set lang(e) {
943
+ this.$$set({ lang: e }), me();
944
+ }
945
+ get clientstyling() {
946
+ return this.$$.ctx[25];
947
+ }
948
+ set clientstyling(e) {
949
+ this.$$set({ clientstyling: e }), me();
950
+ }
951
+ get clientstylingurl() {
952
+ return this.$$.ctx[26];
953
+ }
954
+ set clientstylingurl(e) {
955
+ this.$$set({ clientstylingurl: e }), me();
956
+ }
957
+ get translationurl() {
958
+ return this.$$.ctx[27];
959
+ }
960
+ set translationurl(e) {
961
+ this.$$set({ translationurl: e }), me();
962
+ }
963
+ get gmversion() {
964
+ return this.$$.ctx[28];
965
+ }
966
+ set gmversion(e) {
967
+ this.$$set({ gmversion: e }), me();
968
+ }
969
+ }
970
+ We(lt, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, gmversion: {} }, [], [], !0);
971
+ export {
972
+ lt as default
973
+ };