@everymatrix/player-account-controller 1.64.6 → 1.64.8

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 (60) hide show
  1. package/components/{PlayerAccountController-2YSuQTHz.cjs → PlayerAccountController-BVNVN1oI.cjs} +1 -1
  2. package/components/{PlayerAccountController-Cc4EqKHk.js → PlayerAccountController-BccdIz3_.js} +210 -217
  3. package/components/{PlayerAccountController-IrHGMtXL.js → PlayerAccountController-UzsiXAe-.js} +215 -222
  4. package/components/{PlayerAccountGamingLimitsPage2Gm16-C-Nmj0Ga.js → PlayerAccountGamingLimitsPage2Gm16-C4Cf53bH.js} +338 -338
  5. package/components/{PlayerAccountGamingLimitsPage2Gm16-BjfK_iDR.js → PlayerAccountGamingLimitsPage2Gm16-D0UaSH_1.js} +334 -334
  6. package/components/{PlayerAccountGamingLimitsPage2Gm16-1MHXK8_z.cjs → PlayerAccountGamingLimitsPage2Gm16-isbaVllo.cjs} +4 -4
  7. package/components/{PlayerAccountGamingLimitsWrapper2-C-QNq3OK.js → PlayerAccountGamingLimitsWrapper2-B1gV6va3.js} +290 -290
  8. package/components/{PlayerAccountGamingLimitsWrapper2-DhBkO3QY.cjs → PlayerAccountGamingLimitsWrapper2-BNIPTcA9.cjs} +1 -1
  9. package/components/{PlayerAccountGamingLimitsWrapper2-DGZxZGtI.js → PlayerAccountGamingLimitsWrapper2-BxbHvpZn.js} +296 -296
  10. package/components/{PlayerBonusHistory-DzHpQcXW.js → PlayerBonusHistory-COOdhWKq.js} +292 -285
  11. package/components/{PlayerBonusHistory-BE8tXKlu.js → PlayerBonusHistory-D1a49F4D.js} +326 -317
  12. package/components/PlayerBonusHistory-WqNxjyOR.cjs +1 -0
  13. package/components/PlayerGamingHistory-Cufl7bTL.js +975 -0
  14. package/components/PlayerGamingHistory-DQs-t446.cjs +1 -0
  15. package/components/PlayerGamingHistory-DWryp2Xi.js +988 -0
  16. package/components/PlayerProfileInfo-5JHImDnc.js +2419 -0
  17. package/components/PlayerProfileInfo-Cdv7SUqU.cjs +4 -0
  18. package/components/PlayerProfileInfo-D2IvTGWg.js +2383 -0
  19. package/es2015/player-account-controller.cjs +1 -1
  20. package/es2015/player-account-controller.js +1 -1
  21. package/esnext/player-account-controller.js +1 -1
  22. package/package.json +1 -1
  23. package/stencil/{checkbox-group-input_9-BDLC0NPq.js → checkbox-group-input_9-B_Jl5XYl.js} +6 -5
  24. package/stencil/{checkbox-group-input_9-CvL73d-G.js → checkbox-group-input_9-BubdPaeo.js} +6 -5
  25. package/stencil/{checkbox-group-input_9-CprubYZ6.cjs → checkbox-group-input_9-BvAcuPzL.cjs} +2 -2
  26. package/stencil/{general-input-rAz3BI0W.js → general-input-BRLohAp9.js} +1 -1
  27. package/stencil/{general-input-BGhFzqtE.cjs → general-input-BjwgkYic.cjs} +1 -1
  28. package/stencil/{general-input-D6sqV34A.js → general-input-CZRDVuGV.js} +1 -1
  29. package/stencil/{index-1ef3a64c-HrNLjYby.js → index-1ef3a64c-BNosNJnU.js} +1 -1
  30. package/stencil/{index-1ef3a64c-B_ZYYq05.cjs → index-1ef3a64c-CFvPR_NP.cjs} +1 -1
  31. package/stencil/{index-1ef3a64c-Brn0Uk6U.js → index-1ef3a64c-DsTe-fF4.js} +1 -1
  32. package/stencil/{index-9cd44522-BicusHxm.js → index-9cd44522-CbUzJsuK.js} +4 -4
  33. package/stencil/{index-9cd44522-CmU71Sj9.js → index-9cd44522-NqpP4xs6.js} +4 -4
  34. package/stencil/{index-9cd44522-DoGQFmJb.cjs → index-9cd44522-WdjpTA2U.cjs} +1 -1
  35. package/stencil/{password-input_2-D-c-s1Y6.cjs → password-input_2-8BNshhaU.cjs} +1 -1
  36. package/stencil/{password-input_2-CgqvAj-_.js → password-input_2-DIwo3oT2.js} +2 -2
  37. package/stencil/{password-input_2-DRVfO_oq.js → password-input_2-DhPkhv-D.js} +2 -2
  38. package/stencil/{player-change-password-gm2-5cb5c6c1-B-k1s7vM.js → player-change-password-gm2-5cb5c6c1-BsO6atoJ.js} +1 -1
  39. package/stencil/{player-change-password-gm2-5cb5c6c1-BXXs93I9.js → player-change-password-gm2-5cb5c6c1-C0AlgHfx.js} +1 -1
  40. package/stencil/{player-change-password-gm2-5cb5c6c1-B10TDWX3.cjs → player-change-password-gm2-5cb5c6c1-ij_CKxBn.cjs} +1 -1
  41. package/stencil/player-change-password-gm2-ALHM57bi.js +25 -0
  42. package/stencil/player-change-password-gm2-ZOlHswn0.cjs +1 -0
  43. package/stencil/player-change-password-gm2-bVKmVTiQ.js +7 -0
  44. package/stencil/{toggle-checkbox-input-Vi6Sls8a.cjs → toggle-checkbox-input-D3dpAI79.cjs} +1 -1
  45. package/stencil/{toggle-checkbox-input-DqMPlaYm.js → toggle-checkbox-input-LjmhdQte.js} +1 -1
  46. package/stencil/{toggle-checkbox-input-F32UBqIG.js → toggle-checkbox-input-hUEi-Cj3.js} +1 -1
  47. package/stencil/{user-deposit-withdrawal-G1yW00bt.js → user-deposit-withdrawal-C7W58646.js} +27 -25
  48. package/stencil/user-deposit-withdrawal-Dfu_1g2v.cjs +68 -0
  49. package/stencil/{user-deposit-withdrawal-C7ATBpL9.js → user-deposit-withdrawal-Dzz_fEvK.js} +27 -25
  50. package/components/PlayerBonusHistory-BVlVMBRb.cjs +0 -1
  51. package/components/PlayerGamingHistory-7-nlWdAn.js +0 -979
  52. package/components/PlayerGamingHistory-BgXf3USX.js +0 -966
  53. package/components/PlayerGamingHistory-Dp_pFQIN.cjs +0 -1
  54. package/components/PlayerProfileInfo-B6mAu_YA.js +0 -2058
  55. package/components/PlayerProfileInfo-C5-4-WGv.js +0 -2086
  56. package/components/PlayerProfileInfo-Cc6HVNlU.cjs +0 -1
  57. package/stencil/player-change-password-gm2-BYVZydPd.cjs +0 -1
  58. package/stencil/player-change-password-gm2-Ch6ZOQxn.js +0 -7
  59. package/stencil/player-change-password-gm2-D8Z5iyOU.js +0 -25
  60. package/stencil/user-deposit-withdrawal-D3ICpdvp.cjs +0 -68
@@ -1,966 +0,0 @@
1
- import { a as Te, $ as Re, S as Ae, i as ze, s as je, f as oe, b as We, n as _e, d as te, c as z, e as ee, g as ae, h as r, l as he, j as o, k as G, m as I, o as n, p as Be, q as Le, u as Ne, v as ie, O as Ee, P as Se, r as Ce, T as Fe, W as Oe, w as Pe, Q as Ve, V as Ue, x as qe, y as Ze, z as Qe, A as Xe, B as Ye } from "./GeneralLogout-CgxHUYZx.js";
2
- import "./PlayerAccountGamingLimits-AnMeb_za.js";
3
- import "./PlayerAccountSelfExclusion-CIIQB9SA.js";
4
- import { f as fe, b as Je } from "./PlayerAccountGamingLimitsGroupEdit-DL2QWrsv.js";
5
- function Ge(t, e) {
6
- Te(t, e);
7
- }
8
- function Ke(t) {
9
- Re.set(t);
10
- }
11
- const ke = {
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 $e(t) {
222
- We(t, "svelte-zf6o8z", `.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)}.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 He(t, e, a) {
225
- const s = t.slice();
226
- return s[55] = e[a], s;
227
- }
228
- function De(t, e, a) {
229
- const s = t.slice();
230
- return s[58] = e[a], s;
231
- }
232
- function et(t) {
233
- let e, a, s, l, h, u, P, _, c, m, d = (
234
- /*$_*/
235
- t[14]("titleGamingHistory") + ""
236
- ), b, g, D;
237
- return {
238
- c() {
239
- e = o("div"), a = ie("svg"), s = ie("defs"), l = ie("style"), h = I(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), u = ie("g"), P = ie("g"), _ = ie("path"), c = G(), m = o("h2"), b = I(d), n(_, "class", "aaa"), n(_, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), n(_, "transform", "translate(15 15) rotate(180)"), n(P, "transform", "translate(20 158)"), n(u, "transform", "translate(-20 -158)"), n(a, "xmlns", "http://www.w3.org/2000/svg"), n(a, "width", "15"), n(a, "height", "15"), n(a, "viewBox", "0 0 15 15"), n(m, "class", "PlayerGamingHistoryTitleMobile"), n(m, "part", "PlayerGamingHistoryTitleMobile"), n(e, "class", "MenuReturnButton"), n(e, "part", "MenuReturnButton");
240
- },
241
- m(k, E) {
242
- ae(k, e, E), r(e, a), r(a, s), r(s, l), r(l, h), r(a, u), r(u, P), r(P, _), r(e, c), r(e, m), r(m, b), g || (D = he(
243
- e,
244
- "click",
245
- /*click_handler*/
246
- t[29]
247
- ), g = !0);
248
- },
249
- p(k, E) {
250
- E[0] & /*$_*/
251
- 16384 && d !== (d = /*$_*/
252
- k[14]("titleGamingHistory") + "") && z(b, d);
253
- },
254
- d(k) {
255
- k && te(e), g = !1, D();
256
- }
257
- };
258
- }
259
- function xe(t) {
260
- let e, a, s = (
261
- /*$_*/
262
- t[14]("numberOfResults") + ""
263
- ), l, h, u, P, _, c = Ee(
264
- /*gameHistoryItems*/
265
- t[15]
266
- ), m = [];
267
- for (let d = 0; d < c.length; d += 1)
268
- m[d] = Ie(De(t, c, d));
269
- return {
270
- c() {
271
- e = o("div"), a = o("span"), l = I(s), h = G(), u = o("select");
272
- for (let d = 0; d < m.length; d += 1)
273
- m[d].c();
274
- n(u, "class", "PlayerGamingHistoryItemCount"), /*gameHistoryLimit*/
275
- t[7] === void 0 && Oe(() => (
276
- /*select_change_handler*/
277
- t[33].call(u)
278
- )), n(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 g = 0; g < m.length; g += 1)
283
- m[g] && m[g].m(u, null);
284
- Fe(
285
- u,
286
- /*gameHistoryLimit*/
287
- t[7],
288
- !0
289
- ), P || (_ = [
290
- he(
291
- u,
292
- "change",
293
- /*select_change_handler*/
294
- t[33]
295
- ),
296
- he(
297
- u,
298
- "change",
299
- /*change_handler*/
300
- t[34]
301
- )
302
- ], P = !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 = Ee(
310
- /*gameHistoryItems*/
311
- d[15]
312
- );
313
- let g;
314
- for (g = 0; g < c.length; g += 1) {
315
- const D = De(d, c, g);
316
- m[g] ? m[g].p(D, b) : (m[g] = Ie(D), m[g].c(), m[g].m(u, null));
317
- }
318
- for (; g < m.length; g += 1)
319
- m[g].d(1);
320
- m.length = c.length;
321
- }
322
- b[0] & /*gameHistoryLimit, gameHistoryItems*/
323
- 32896 && Fe(
324
- u,
325
- /*gameHistoryLimit*/
326
- d[7]
327
- );
328
- },
329
- d(d) {
330
- d && te(e), Se(m, d), P = !1, Ce(_);
331
- }
332
- };
333
- }
334
- function Ie(t) {
335
- let e, a = (
336
- /*item*/
337
- t[58] + ""
338
- ), s;
339
- return {
340
- c() {
341
- e = o("option"), s = I(a), e.__value = /*item*/
342
- t[58], Ue(e, e.__value);
343
- },
344
- m(l, h) {
345
- ae(l, e, h), r(e, s);
346
- },
347
- p: _e,
348
- d(l) {
349
- l && te(e);
350
- }
351
- };
352
- }
353
- function tt(t) {
354
- let e, a = (
355
- /*$_*/
356
- t[14]("noRecord") + ""
357
- ), s;
358
- return {
359
- c() {
360
- e = o("p"), s = I(a), n(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 && te(e);
372
- }
373
- };
374
- }
375
- function at(t) {
376
- let e, a;
377
- return {
378
- c() {
379
- e = o("p"), a = I(
380
- /*errorMessage*/
381
- t[8]
382
- ), n(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 && te(e);
397
- }
398
- };
399
- }
400
- function rt(t) {
401
- let e, a, s, l, h, u = (
402
- /*$_*/
403
- t[14]("transactionId") + ""
404
- ), P, _, c, m = (
405
- /*$_*/
406
- t[14]("date") + ""
407
- ), d, b, g, D = (
408
- /*$_*/
409
- t[14]("gameName") + ""
410
- ), k, E, Z, j = (
411
- /*$_*/
412
- t[14]("stake") + ""
413
- ), Q, U, C, W = (
414
- /*$_*/
415
- t[14]("return") + ""
416
- ), T, K, x, B, v, R, L, N, X, M, p, H = (
417
- /*$_*/
418
- t[14]("previous") + ""
419
- ), re, O, f, F, $, se, me = (
420
- /*$_*/
421
- t[14]("next") + ""
422
- ), ge, ve, ne, le, pe, ue, ce, be, we, de = Ee(
423
- /*gamingHistoryData*/
424
- t[13]
425
- ), V = [];
426
- for (let y = 0; y < de.length; y += 1)
427
- V[y] = Me(He(t, de, y));
428
- return {
429
- c() {
430
- e = o("div"), a = o("table"), s = o("thead"), l = o("tr"), h = o("th"), P = I(u), _ = G(), c = o("th"), d = I(m), b = G(), g = o("th"), k = I(D), E = G(), Z = o("th"), Q = I(j), U = G(), C = o("th"), T = I(W), K = G(), x = o("tbody");
431
- for (let y = 0; y < V.length; y += 1)
432
- V[y].c();
433
- B = G(), v = o("div"), R = o("button"), L = ie("svg"), N = ie("path"), M = G(), p = o("span"), re = I(H), F = G(), $ = o("button"), se = o("span"), ge = I(me), ve = G(), ne = ie("svg"), le = ie("path"), n(e, "class", "PlayerGamingHistoryContainer"), n(N, "fill", X = /*previousPage*/
434
- t[5] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), n(N, "class", "a"), n(N, "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(N, "transform", "translate(19.246 -6.188) rotate(90)"), n(L, "xmlns", "http://www.w3.org/2000/svg"), n(L, "width", "8"), n(L, "height", "13.992"), n(L, "viewBox", "0 0 8 13.992"), n(p, "class", "PlayerPaginationControlsText"), n(R, "class", O = "PlayerPaginationControls " + (/*previousPage*/
435
- t[5] ? "" : "PlayerPaginationControlsDisabled")), R.disabled = f = /*previousPage*/
436
- !t[5], n(se, "class", "PlayerPaginationControlsText"), n(le, "fill", pe = /*nextPage*/
437
- t[4] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), n(le, "class", "a"), n(le, "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(le, "transform", "translate(-11.246 20.179) rotate(-90)"), n(ne, "xmlns", "http://www.w3.org/2000/svg"), n(ne, "width", "8"), n(ne, "height", "13.992"), n(ne, "viewBox", "0 0 8 13.992"), n($, "class", ue = "PlayerPaginationControls " + (/*nextPage*/
438
- t[4] ? "" : "PlayerPaginationControlsDisabled")), $.disabled = ce = /*nextPage*/
439
- !t[4], n(v, "class", "PlayerPaginationControlsArea");
440
- },
441
- m(y, S) {
442
- ae(y, e, S), r(e, a), r(a, s), r(s, l), r(l, h), r(h, P), r(l, _), r(l, c), r(c, d), r(l, b), r(l, g), r(g, k), r(l, E), r(l, Z), r(Z, Q), r(l, U), r(l, C), r(C, T), r(a, K), r(a, x);
443
- for (let i = 0; i < V.length; i += 1)
444
- V[i] && V[i].m(x, null);
445
- ae(y, B, S), ae(y, v, S), r(v, R), r(R, L), r(L, N), r(R, M), r(R, p), r(p, re), r(v, F), r(v, $), r($, se), r(se, ge), r($, ve), r($, ne), r(ne, le), be || (we = [
446
- he(
447
- R,
448
- "click",
449
- /*click_handler_2*/
450
- t[35]
451
- ),
452
- he(
453
- $,
454
- "click",
455
- /*click_handler_3*/
456
- t[36]
457
- )
458
- ], be = !0);
459
- },
460
- p(y, S) {
461
- if (S[0] & /*$_*/
462
- 16384 && u !== (u = /*$_*/
463
- y[14]("transactionId") + "") && z(P, u), S[0] & /*$_*/
464
- 16384 && m !== (m = /*$_*/
465
- y[14]("date") + "") && z(d, m), S[0] & /*$_*/
466
- 16384 && D !== (D = /*$_*/
467
- y[14]("gameName") + "") && z(k, D), S[0] & /*$_*/
468
- 16384 && j !== (j = /*$_*/
469
- y[14]("stake") + "") && z(Q, j), S[0] & /*$_*/
470
- 16384 && W !== (W = /*$_*/
471
- y[14]("return") + "") && z(T, W), S[0] & /*$_, gamingHistoryData, formatDate*/
472
- 548864) {
473
- de = Ee(
474
- /*gamingHistoryData*/
475
- y[13]
476
- );
477
- let i;
478
- for (i = 0; i < de.length; i += 1) {
479
- const A = He(y, de, i);
480
- V[i] ? V[i].p(A, S) : (V[i] = Me(A), V[i].c(), V[i].m(x, null));
481
- }
482
- for (; i < V.length; i += 1)
483
- V[i].d(1);
484
- V.length = de.length;
485
- }
486
- S[0] & /*previousPage*/
487
- 32 && X !== (X = /*previousPage*/
488
- y[5] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && n(N, "fill", X), S[0] & /*$_*/
489
- 16384 && H !== (H = /*$_*/
490
- y[14]("previous") + "") && z(re, H), S[0] & /*previousPage*/
491
- 32 && O !== (O = "PlayerPaginationControls " + (/*previousPage*/
492
- y[5] ? "" : "PlayerPaginationControlsDisabled")) && n(R, "class", O), S[0] & /*previousPage*/
493
- 32 && f !== (f = /*previousPage*/
494
- !y[5]) && (R.disabled = f), S[0] & /*$_*/
495
- 16384 && me !== (me = /*$_*/
496
- y[14]("next") + "") && z(ge, me), S[0] & /*nextPage*/
497
- 16 && pe !== (pe = /*nextPage*/
498
- y[4] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && n(le, "fill", pe), S[0] & /*nextPage*/
499
- 16 && ue !== (ue = "PlayerPaginationControls " + (/*nextPage*/
500
- y[4] ? "" : "PlayerPaginationControlsDisabled")) && n($, "class", ue), S[0] & /*nextPage*/
501
- 16 && ce !== (ce = /*nextPage*/
502
- !y[4]) && ($.disabled = ce);
503
- },
504
- d(y) {
505
- y && (te(e), te(B), te(v)), Se(V, y), be = !1, Ce(we);
506
- }
507
- };
508
- }
509
- function it(t) {
510
- let e;
511
- return {
512
- c() {
513
- e = o("div"), n(e, "class", "DataLoader");
514
- },
515
- m(a, s) {
516
- ae(a, e, s);
517
- },
518
- p: _e,
519
- d(a) {
520
- a && te(e);
521
- }
522
- };
523
- }
524
- function Me(t) {
525
- let e, a, s, l = (
526
- /*gamingHistoryDataset*/
527
- t[55].roundId + ""
528
- ), h, u, P, _, c, m, d = (
529
- /*formatDate*/
530
- t[19](
531
- /*gamingHistoryDataset*/
532
- t[55]
533
- ) + ""
534
- ), b, g, D, k, E, Z = (
535
- /*gamingHistoryDataset*/
536
- (t[55].gameModel?.name ?? "-") + ""
537
- ), j, Q, U, C, W, T = (
538
- /*gamingHistoryDataset*/
539
- (t[55].stakeAmount ?? "-") + ""
540
- ), K, x, B, v, R, L = (
541
- /*gamingHistoryDataset*/
542
- (t[55].returnAmount ?? "-") + ""
543
- ), N, X, M;
544
- return {
545
- c() {
546
- e = o("tr"), a = o("td"), s = o("span"), h = I(l), _ = G(), c = o("td"), m = o("span"), b = I(d), D = G(), k = o("td"), E = o("span"), j = I(Z), U = G(), C = o("td"), W = o("span"), K = I(T), B = G(), v = o("td"), R = o("span"), N = I(L), M = G(), n(a, "data-label", u = /*$_*/
547
- t[14]("transactionId")), n(a, "title", P = /*gamingHistoryDataset*/
548
- t[55].roundId), n(c, "data-label", g = /*$_*/
549
- t[14]("date")), n(k, "data-label", Q = /*$_*/
550
- t[14]("gameName")), n(C, "data-label", x = /*$_*/
551
- t[14]("stake")), n(v, "data-label", X = /*$_*/
552
- t[14]("return"));
553
- },
554
- m(p, H) {
555
- ae(p, e, H), r(e, a), r(a, s), r(s, h), r(e, _), r(e, c), r(c, m), r(m, b), r(e, D), r(e, k), r(k, E), r(E, j), r(e, U), r(e, C), r(C, W), r(W, K), r(e, B), r(e, v), r(v, R), r(R, N), r(e, M);
556
- },
557
- p(p, H) {
558
- H[0] & /*gamingHistoryData*/
559
- 8192 && l !== (l = /*gamingHistoryDataset*/
560
- p[55].roundId + "") && z(h, l), H[0] & /*$_*/
561
- 16384 && u !== (u = /*$_*/
562
- p[14]("transactionId")) && n(a, "data-label", u), H[0] & /*gamingHistoryData*/
563
- 8192 && P !== (P = /*gamingHistoryDataset*/
564
- p[55].roundId) && n(a, "title", P), H[0] & /*gamingHistoryData*/
565
- 8192 && d !== (d = /*formatDate*/
566
- p[19](
567
- /*gamingHistoryDataset*/
568
- p[55]
569
- ) + "") && z(b, d), H[0] & /*$_*/
570
- 16384 && g !== (g = /*$_*/
571
- p[14]("date")) && n(c, "data-label", g), H[0] & /*gamingHistoryData*/
572
- 8192 && Z !== (Z = /*gamingHistoryDataset*/
573
- (p[55].gameModel?.name ?? "-") + "") && z(j, Z), H[0] & /*$_*/
574
- 16384 && Q !== (Q = /*$_*/
575
- p[14]("gameName")) && n(k, "data-label", Q), H[0] & /*gamingHistoryData*/
576
- 8192 && T !== (T = /*gamingHistoryDataset*/
577
- (p[55].stakeAmount ?? "-") + "") && z(K, T), H[0] & /*$_*/
578
- 16384 && x !== (x = /*$_*/
579
- p[14]("stake")) && n(C, "data-label", x), H[0] & /*gamingHistoryData*/
580
- 8192 && L !== (L = /*gamingHistoryDataset*/
581
- (p[55].returnAmount ?? "-") + "") && z(N, L), H[0] & /*$_*/
582
- 16384 && X !== (X = /*$_*/
583
- p[14]("return")) && n(v, "data-label", X);
584
- },
585
- d(p) {
586
- p && te(e);
587
- }
588
- };
589
- }
590
- function nt(t) {
591
- let e, a, s, l, h = (
592
- /*$_*/
593
- t[14]("titleGamingHistory") + ""
594
- ), u, P, _, c, m, d, b, g = (
595
- /*$_*/
596
- t[14]("dateFrom") + ""
597
- ), D, k, E, Z, j, Q, U = (
598
- /*$_*/
599
- t[14]("dateTo") + ""
600
- ), C, W, T, K, x, B = (
601
- /*$_*/
602
- t[14]("dateFilter") + ""
603
- ), v, R, L, N, X, M = (
604
- /*isMobile*/
605
- t[16] && et(t)
606
- ), p = !/*mediaQueryMedim*/
607
- t[12].matches && xe(t);
608
- function H(f, F) {
609
- return (
610
- /*isLoading*/
611
- f[9] ? it : (
612
- /*gamingHistoryData*/
613
- f[13].length > 0 ? rt : (
614
- /*errorMessage*/
615
- f[8].length > 0 ? at : tt
616
- )
617
- )
618
- );
619
- }
620
- let re = H(t), O = re(t);
621
- return {
622
- c() {
623
- e = o("div"), a = o("div"), M && M.c(), s = G(), l = o("h2"), u = I(h), P = G(), _ = o("div"), c = o("div"), m = o("div"), d = o("div"), b = o("span"), D = I(g), k = G(), E = o("vaadin-date-picker"), Z = G(), j = o("div"), Q = o("span"), C = I(U), W = G(), T = o("vaadin-date-picker"), K = G(), x = o("button"), v = I(B), R = G(), p && p.c(), L = G(), O.c(), n(l, "class", "PlayerGamingHistoryTitle " + /*isMobile*/
624
- (t[16] ? "PlayerGamingHistoryTitleNone" : "")), ee(
625
- E,
626
- "max",
627
- /*maxDate*/
628
- t[10]
629
- ), ee(E, "placeholder", "From"), ee(
630
- E,
631
- "value",
632
- /*yesterday*/
633
- t[11]
634
- ), ee(E, "class", "VaadinDatePicker"), n(d, "class", "PlayerGamingDateWrapper"), ee(
635
- T,
636
- "max",
637
- /*maxDate*/
638
- t[10]
639
- ), ee(T, "placeholder", "To"), ee(
640
- T,
641
- "value",
642
- /*maxDate*/
643
- t[10]
644
- ), ee(T, "class", "VaadinDatePicker"), n(j, "class", "PlayerGamingDateWrapper"), n(m, "class", "PlayerGamingDateContainer"), n(x, "class", "PlayerGamingHistoryFilterButton"), n(c, "class", "PlayerGamingHistoryFilterWrapper"), n(_, "class", "PlayerGamingHistoryTopSection"), n(a, "class", "PlayerGamingHistoryWrapper " + /*isMobile*/
645
- (t[16] ? "PlayerGamingHistoryWrapperMobile" : ""));
646
- },
647
- m(f, F) {
648
- ae(f, e, F), r(e, a), M && M.m(a, null), r(a, s), r(a, l), r(l, u), r(a, P), r(a, _), r(_, c), r(c, m), r(m, d), r(d, b), r(b, D), r(d, k), r(d, E), t[30](E), r(m, Z), r(m, j), r(j, Q), r(Q, C), r(j, W), r(j, T), t[31](T), r(c, K), r(c, x), r(x, v), r(c, R), p && p.m(c, null), r(a, L), O.m(a, null), t[37](a), t[38](e), N || (X = he(
649
- x,
650
- "click",
651
- /*click_handler_1*/
652
- t[32]
653
- ), N = !0);
654
- },
655
- p(f, F) {
656
- /*isMobile*/
657
- f[16] && M.p(f, F), F[0] & /*$_*/
658
- 16384 && h !== (h = /*$_*/
659
- f[14]("titleGamingHistory") + "") && z(u, h), F[0] & /*$_*/
660
- 16384 && g !== (g = /*$_*/
661
- f[14]("dateFrom") + "") && z(D, g), F[0] & /*maxDate*/
662
- 1024 && ee(
663
- E,
664
- "max",
665
- /*maxDate*/
666
- f[10]
667
- ), F[0] & /*yesterday*/
668
- 2048 && ee(
669
- E,
670
- "value",
671
- /*yesterday*/
672
- f[11]
673
- ), F[0] & /*$_*/
674
- 16384 && U !== (U = /*$_*/
675
- f[14]("dateTo") + "") && z(C, U), F[0] & /*maxDate*/
676
- 1024 && ee(
677
- T,
678
- "max",
679
- /*maxDate*/
680
- f[10]
681
- ), F[0] & /*maxDate*/
682
- 1024 && ee(
683
- T,
684
- "value",
685
- /*maxDate*/
686
- f[10]
687
- ), F[0] & /*$_*/
688
- 16384 && B !== (B = /*$_*/
689
- f[14]("dateFilter") + "") && z(v, B), /*mediaQueryMedim*/
690
- f[12].matches ? p && (p.d(1), p = null) : p ? p.p(f, F) : (p = xe(f), p.c(), p.m(c, null)), re === (re = H(f)) && O ? O.p(f, F) : (O.d(1), O = re(f), O && (O.c(), O.m(a, null)));
691
- },
692
- i: _e,
693
- o: _e,
694
- d(f) {
695
- f && te(e), M && M.d(), t[30](null), t[31](null), p && p.d(), O.d(), t[37](null), t[38](null), N = !1, X();
696
- }
697
- };
698
- }
699
- let lt = "0";
700
- function ot(t, e, a) {
701
- let s;
702
- Be(t, Ye, (i) => a(14, s = i));
703
- let { endpoint: l = "" } = e, { playerid: h = "" } = e, { session: u = "" } = e, { lang: P = "en" } = e, { clientstyling: _ = "" } = e, { clientstylingurl: c = "" } = e, { mbsource: m } = e, { translationurl: d = "" } = e, { gmversion: b = "" } = e, g = "", D = "", k = "", E, Z = fe(/* @__PURE__ */ new Date(), "yyyy-MM-dd"), j = fe(/* @__PURE__ */ new Date(), "yyyy-MM-dd"), Q = ["5", "10", "25", "50"], U = "5", C = "", W = !1, T = window.navigator.userAgent, K = Le(T) !== "PC", x, B, v, R, L;
704
- R = fe(/* @__PURE__ */ new Date(), "yyyy-MM-dd"), L = fe(Je(/* @__PURE__ */ new Date(), 1), "yyyy-MM-dd");
705
- const N = () => {
706
- fetch(d).then((A) => A.json()).then((A) => {
707
- Object.keys(A).forEach((q) => {
708
- Ge(q, A[q]);
709
- });
710
- }).catch((A) => {
711
- console.log(A);
712
- });
713
- };
714
- Object.keys(ke).forEach((i) => {
715
- Ge(i, ke[i]);
716
- }), window.matchMedia("(min-width: 768px)");
717
- let X = window.matchMedia("(max-width: 1280px)"), M = [];
718
- const p = () => {
719
- window.postMessage(
720
- {
721
- type: "PlayerAccountMenuActive",
722
- isMobile: K
723
- },
724
- window.location.href
725
- );
726
- }, H = () => {
727
- a(12, X = window.matchMedia("(max-width: 1280px)"));
728
- }, re = (i) => {
729
- let A = /* @__PURE__ */ new Map();
730
- return i.forEach((q) => {
731
- let Y = q.transType === "1" ? "stakeAmount" : "returnAmount", ye = A.get(q.roundId);
732
- if (ye)
733
- ye[Y] = q.totalAmount;
734
- else {
735
- let w = { ...q };
736
- w[Y] = q.totalAmount, A.set(q.roundId, w);
737
- }
738
- }), i = Array.from(A.values()), i;
739
- }, O = (i, A, q) => {
740
- let Y = new URL(i);
741
- a(13, M = []);
742
- let ye = {
743
- method: "GET",
744
- headers: { "X-SessionID": u }
745
- };
746
- A || (Y.searchParams.append("offset", String(0 * 2)), Y.searchParams.append("limit", String(+U * 2))), q && (Y.searchParams.append("startDate", Z), Y.searchParams.append("endDate", j)), a(9, W = !0), fetch(Y.href, ye).then((w) => w.json()).then(
747
- (w) => {
748
- if (!w.error)
749
- a(13, M = w.transactions), a(13, M = re(M)), a(4, D = w.pagination.next), a(5, k = w.pagination.previous);
750
- else {
751
- let J = w.error.split(":");
752
- a(8, C = J[1].substring(0, J[1].lastIndexOf(" ")) + " " + J[2]), w.thirdPartyResponse && a(8, C = s(`${w.thirdPartyResponse.errorCode}`) || J[1].substring(0, J[1].lastIndexOf(" ")) + " " + J[2]);
753
- }
754
- a(9, W = !1);
755
- },
756
- (w) => {
757
- a(9, W = !1), console.error(w);
758
- }
759
- );
760
- }, f = (i, A, q) => {
761
- let Y = new URL(i);
762
- a(13, M = []), a(8, C = "");
763
- let ye = {
764
- method: "GET",
765
- headers: { "X-SessionID": u }
766
- };
767
- A || (Y.searchParams.append("offset", lt), Y.searchParams.append("limit", U)), q && (Y.searchParams.append("startDate", Z), Y.searchParams.append("endDate", j)), a(9, W = !0), fetch(Y.href, ye).then((w) => w.json()).then(
768
- (w) => {
769
- if (!w.error)
770
- a(13, M = w.transactions), a(4, D = w.pagination.next), a(5, k = w.pagination.previous);
771
- else {
772
- let J = w.error.split(":");
773
- a(8, C = J[1].substring(0, J[1].lastIndexOf(" ")) + " " + J[2]), w.thirdPartyResponse && a(8, C = s(`${w.thirdPartyResponse.errorCode}`) || J[1].substring(0, J[1].lastIndexOf(" ")) + " " + J[2]);
774
- }
775
- a(9, W = !1);
776
- },
777
- (w) => {
778
- a(9, W = !1), console.error(w);
779
- }
780
- );
781
- }, F = (i, A, q) => {
782
- switch (b) {
783
- case "gm16":
784
- O(i, A, q);
785
- break;
786
- default:
787
- f(i, A, q);
788
- break;
789
- }
790
- window.postMessage({ type: "ScrollToTop" }, window.location.href);
791
- }, $ = () => {
792
- Ke(P), a(3, g = b === "gm16" ? `${l}/v1/player/${h}/transactions/wagering?type=Casino` : `${l}/v1/player/${h}/bets`), F(g, !1, !0);
793
- }, se = (i) => {
794
- if (i.data)
795
- switch (i.data.type) {
796
- }
797
- }, me = (i) => {
798
- Z = i.target.value;
799
- }, ge = (i) => {
800
- j = i.target.value;
801
- }, ve = () => {
802
- x.addEventListener("change", me, !1), B.addEventListener("change", ge, !1);
803
- }, ne = (i) => b === "gm16" ? fe(new Date(i.ins), "d/M/yyyy - h:mm a") : fe(new Date(i.roundStartDate), "d/M/yyyy - h:mm a");
804
- Ne(() => (window.addEventListener("message", se, !1), window.addEventListener("resize", H, !1), () => {
805
- x.removeEventListener("change", me), B.removeEventListener("change", ge), window.removeEventListener("message", se), window.removeEventListener("resize", se);
806
- }));
807
- const le = () => p();
808
- function pe(i) {
809
- Pe[i ? "unshift" : "push"](() => {
810
- x = i, a(0, x);
811
- });
812
- }
813
- function ue(i) {
814
- Pe[i ? "unshift" : "push"](() => {
815
- B = i, a(1, B);
816
- });
817
- }
818
- const ce = () => F(g, !1, !0);
819
- function be() {
820
- U = Ve(this), a(7, U), a(15, Q);
821
- }
822
- const we = () => F(g, !1, !0), de = () => F(k, !0, !1), V = () => F(D, !0, !1);
823
- function y(i) {
824
- Pe[i ? "unshift" : "push"](() => {
825
- E = i, a(6, E);
826
- });
827
- }
828
- function S(i) {
829
- Pe[i ? "unshift" : "push"](() => {
830
- v = i, a(2, v);
831
- });
832
- }
833
- return t.$$set = (i) => {
834
- "endpoint" in i && a(20, l = i.endpoint), "playerid" in i && a(21, h = i.playerid), "session" in i && a(22, u = i.session), "lang" in i && a(23, P = i.lang), "clientstyling" in i && a(24, _ = i.clientstyling), "clientstylingurl" in i && a(25, c = i.clientstylingurl), "mbsource" in i && a(26, m = i.mbsource), "translationurl" in i && a(27, d = i.translationurl), "gmversion" in i && a(28, b = i.gmversion);
835
- }, t.$$.update = () => {
836
- t.$$.dirty[0] & /*startCalendar, endCalendar*/
837
- 3 && x && B && ve(), t.$$.dirty[0] & /*session, playerid, endpoint, lang*/
838
- 15728640 && u && h && l && P && $(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
839
- 16777220 && _ && v && qe(v, _), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
840
- 33554436 && c && v && Ze(v, c), t.$$.dirty[0] & /*mbsource, customStylingContainer*/
841
- 67108868 && m && v && Qe(v, `${m}.Style`), t.$$.dirty[0] & /*translationurl*/
842
- 134217728 && d && N();
843
- }, [
844
- x,
845
- B,
846
- v,
847
- g,
848
- D,
849
- k,
850
- E,
851
- U,
852
- C,
853
- W,
854
- R,
855
- L,
856
- X,
857
- M,
858
- s,
859
- Q,
860
- K,
861
- p,
862
- F,
863
- ne,
864
- l,
865
- h,
866
- u,
867
- P,
868
- _,
869
- c,
870
- m,
871
- d,
872
- b,
873
- le,
874
- pe,
875
- ue,
876
- ce,
877
- be,
878
- we,
879
- de,
880
- V,
881
- y,
882
- S
883
- ];
884
- }
885
- class st extends Ae {
886
- constructor(e) {
887
- super(), ze(
888
- this,
889
- e,
890
- ot,
891
- nt,
892
- je,
893
- {
894
- endpoint: 20,
895
- playerid: 21,
896
- session: 22,
897
- lang: 23,
898
- clientstyling: 24,
899
- clientstylingurl: 25,
900
- mbsource: 26,
901
- translationurl: 27,
902
- gmversion: 28
903
- },
904
- $e,
905
- [-1, -1]
906
- );
907
- }
908
- get endpoint() {
909
- return this.$$.ctx[20];
910
- }
911
- set endpoint(e) {
912
- this.$$set({ endpoint: e }), oe();
913
- }
914
- get playerid() {
915
- return this.$$.ctx[21];
916
- }
917
- set playerid(e) {
918
- this.$$set({ playerid: e }), oe();
919
- }
920
- get session() {
921
- return this.$$.ctx[22];
922
- }
923
- set session(e) {
924
- this.$$set({ session: e }), oe();
925
- }
926
- get lang() {
927
- return this.$$.ctx[23];
928
- }
929
- set lang(e) {
930
- this.$$set({ lang: e }), oe();
931
- }
932
- get clientstyling() {
933
- return this.$$.ctx[24];
934
- }
935
- set clientstyling(e) {
936
- this.$$set({ clientstyling: e }), oe();
937
- }
938
- get clientstylingurl() {
939
- return this.$$.ctx[25];
940
- }
941
- set clientstylingurl(e) {
942
- this.$$set({ clientstylingurl: e }), oe();
943
- }
944
- get mbsource() {
945
- return this.$$.ctx[26];
946
- }
947
- set mbsource(e) {
948
- this.$$set({ mbsource: e }), oe();
949
- }
950
- get translationurl() {
951
- return this.$$.ctx[27];
952
- }
953
- set translationurl(e) {
954
- this.$$set({ translationurl: e }), oe();
955
- }
956
- get gmversion() {
957
- return this.$$.ctx[28];
958
- }
959
- set gmversion(e) {
960
- this.$$set({ gmversion: e }), oe();
961
- }
962
- }
963
- Xe(st, { endpoint: {}, playerid: {}, session: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, gmversion: {} }, [], [], !0);
964
- export {
965
- st as default
966
- };