@everymatrix/player-account-controller-nd 1.68.0 → 1.69.0

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