@everymatrix/casino-most-played-section 1.54.6 → 1.54.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.
@@ -0,0 +1,3032 @@
1
+ var Ie = (t, a, i) => new Promise((o, l) => {
2
+ var s = (u) => {
3
+ try {
4
+ c(i.next(u));
5
+ } catch (g) {
6
+ l(g);
7
+ }
8
+ }, m = (u) => {
9
+ try {
10
+ c(i.throw(u));
11
+ } catch (g) {
12
+ l(g);
13
+ }
14
+ }, c = (u) => u.done ? o(u.value) : Promise.resolve(u.value).then(s, m);
15
+ c((i = i.apply(t, a)).next());
16
+ });
17
+ import { a as Ta, $ as Pa, S as Da, i as Ua, s as Oa, f as N, b as Ha, n as _e, d as S, h as F, k as C, e as h, o as Va, p as qa, v as Wa, D as He, w as oe, r as Z, j as y, l as Y, u as ve, g as V, m as U, x as le, E as ga, F as n, G as da, y as Ba, q as Ya, A as x, B as Ja, C as Ka } from "./CasinoFilter-DuUevwDN.js";
18
+ import { h as Ne } from "./CasinoGameThumbnail-DkLajZ-6.js";
19
+ function Ze(t, a) {
20
+ Ta(t, a);
21
+ }
22
+ function Xa(t) {
23
+ Pa.set(t);
24
+ }
25
+ const Qe = {
26
+ en: {
27
+ showMore: "More",
28
+ viewAll: "Show all",
29
+ searchedItems: "Search result",
30
+ recentSearchedItems: "Recently searched",
31
+ favorites: "Favorites",
32
+ noRecentSearch: "No search started yet. Simply search for a game.",
33
+ noResults: "Sorry, no results found. Please try again.",
34
+ noFavoritesMobile: "Click on the star icon at the top right corner of a game to save it as favorite.",
35
+ noFavorites: "Click on the star icon at the top right corner of a game to save it as favorite.",
36
+ noFavoritesTitle: "You do not have any favored games yet.",
37
+ waiting: "Waiting"
38
+ },
39
+ "zh-hk": {
40
+ showMore: "更多的",
41
+ viewAll: "顯示所有",
42
+ searchedItems: "搜索結果",
43
+ recentSearchedItems: "最近搜索過",
44
+ favorites: "收藏夹",
45
+ noRecentSearch: "尚未開始搜索。 只需搜索遊戲。",
46
+ noResults: "抱歉,沒有找到結果。 請再試一次。",
47
+ noFavoritesMobile: "您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",
48
+ noFavorites: "您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",
49
+ noFavoritesTitle: "您還沒有任何喜歡的遊戲。",
50
+ waiting: "等待"
51
+ },
52
+ de: {
53
+ showMore: "Mehr",
54
+ viewAll: "Alle anzeigen",
55
+ searchedItems: "Ergebnis suchen",
56
+ recentSearchedItems: "Zuletzt gesucht",
57
+ noRecentSearch: "Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",
58
+ noResults: "Sorry, no results found. Please try again.",
59
+ noFavoritesMobile: "Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",
60
+ noFavorites: "Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",
61
+ noFavoritesTitle: "You do not have any favored games yet.",
62
+ waiting: "Waiting"
63
+ },
64
+ it: {
65
+ showMore: "Altro",
66
+ viewAll: "Mostra tutto",
67
+ searchedItems: "risultato",
68
+ recentSearchedItems: "Ricerche recenti",
69
+ noRecentSearch: "Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",
70
+ noResults: "Spiacenti, nessun risultato. Si prega di riprovare."
71
+ },
72
+ fr: {
73
+ showMore: "Plus de",
74
+ viewAll: "Afficher tous",
75
+ searchedItems: "Recherche du resultat",
76
+ recentSearchedItems: "Recherches récentes",
77
+ favorites: "Favoris",
78
+ noRecentSearch: "Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",
79
+ noResults: "Désolé , aucun résultat trouvé.veuillez réessayer.",
80
+ noFavoritesMobile: "Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",
81
+ noFavorites: "Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone en forme d'etoile située sur la vignette du jeu",
82
+ noFavoritesTitle: "Vous n'avez pas encore de jeux favoris.",
83
+ waiting: "Attente"
84
+ },
85
+ es: {
86
+ showMore: "Más",
87
+ viewAll: "Mostrar todas",
88
+ searchedItems: "Resultado de busqueda",
89
+ recentSearchedItems: "Buscado recientemente",
90
+ favorites: "Favoritos",
91
+ noRecentSearch: "Aún no inicia busqueda. Solo busque un juego",
92
+ noResults: "Disculpe",
93
+ noFavoritesMobile: "Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",
94
+ noFavorites: "Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",
95
+ noFavoritesTitle: "No tiene juegos Favoritos aún",
96
+ waiting: "Cargando"
97
+ },
98
+ tr: {
99
+ showMore: "Daha fazla",
100
+ viewAll: "Hepsini göster",
101
+ searchedItems: "Arama sonucu",
102
+ recentSearchedItems: "Son Aranan Öğeler",
103
+ noRecentSearch: "Henüz arama başlamadı. Sadece bir oyun arayın.",
104
+ noResults: "Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",
105
+ favorites: "Favoriler",
106
+ noFavoritesMobile: "Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",
107
+ noFavorites: "Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",
108
+ noFavoritesTitle: "Henüz favori oyunlarınız yok.",
109
+ waiting: "Bekleniyor"
110
+ },
111
+ ru: {
112
+ showMore: "Показать больше",
113
+ viewAll: "Посмотреть все",
114
+ searchedItems: "Искомые товары",
115
+ recentSearchedItems: "Недавние поисковые запросы",
116
+ noRecentSearch: "Поиск еще не начался. Просто найдите игру.",
117
+ noResults: "Извините, результатов не найдено. Пожалуйста, попробуйте еще раз"
118
+ },
119
+ ro: {
120
+ showMore: "Arata mai mult",
121
+ viewAll: "Vezi toate",
122
+ searchedItems: "Rezultatele cautarii",
123
+ recentSearchedItems: "Cautari recente",
124
+ favorites: "Favorite",
125
+ noRecentSearch: "Nici o căutare nu a început încă. Pur și simplu căutați un joc.",
126
+ noResults: "Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",
127
+ noFavoritesMobile: "Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",
128
+ noFavorites: "Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",
129
+ noFavoritesTitle: "Nu aveți încă niciun joc preferat.",
130
+ waiting: "Aşteptare"
131
+ },
132
+ hr: {
133
+ showMore: "Više",
134
+ viewAll: "Prikaži sve",
135
+ searchedItems: "Rezultat pretrage",
136
+ recentSearchedItems: "Nedavno pretraživano",
137
+ noRecentSearch: "Još nije započela pretraga. Jednostavno pretražite igru.",
138
+ noResults: "Žao nema rezultata",
139
+ favorites: "Favoriti",
140
+ noFavoritesMobile: "Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",
141
+ noFavorites: "Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",
142
+ noFavoritesTitle: "Još nemate nijednu omiljenu igru.",
143
+ waiting: "Čekanje"
144
+ },
145
+ hu: {
146
+ showMore: "Több",
147
+ viewAll: "Az összes megjelenítése",
148
+ searchedItems: "Keresés eredménye",
149
+ recentSearchedItems: "Legutóbb keresett",
150
+ noRecentSearch: "A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",
151
+ noResults: "Sajnos nincs találat. Kérjük próbálja újra."
152
+ },
153
+ pl: {
154
+ showMore: "Więcej",
155
+ viewAll: "Pokaż wszystkie",
156
+ searchedItems: "Wynik wyszukiwania",
157
+ recentSearchedItems: "Ostatnio wyszukiwane",
158
+ noRecentSearch: "Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",
159
+ noResults: "Przepraszamy, brak wyników. Prosimy spróbować ponownie."
160
+ },
161
+ pt: {
162
+ showMore: "Mais",
163
+ viewAll: "Mostre tudo",
164
+ searchedItems: "Resultado da pesquisa",
165
+ recentSearchedItems: "Pesquisado recentemente",
166
+ favorites: "Favorito",
167
+ noRecentSearch: "Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",
168
+ noResults: "Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",
169
+ noFavoritesMobile: "Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",
170
+ noFavorites: "Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",
171
+ noFavoritesTitle: "Você ainda não tem nenhum jogo favorito.",
172
+ waiting: "Aguardando"
173
+ },
174
+ sl: {
175
+ showMore: "Več",
176
+ viewAll: "Prikaži vse",
177
+ searchedItems: "Rezultati iskanja",
178
+ recentSearchedItems: "Nedavno iskanje",
179
+ noRecentSearch: "Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",
180
+ noResults: "Oprostite, ni rezultata. Prosimo poizkusite ponovno."
181
+ },
182
+ sr: {
183
+ showMore: "Više",
184
+ viewAll: "Prikaži sve",
185
+ searchedItems: "Pretraži rezultat",
186
+ recentSearchedItems: "Zadnja pretraga",
187
+ noRecentSearch: "Još nije pokrenuta pretraga. Jednostavno pretraži igre.",
188
+ noResults: "Žao nam je, nema pogodaka. Pokušaj ponovo."
189
+ },
190
+ "pt-br": {
191
+ noResults: "Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",
192
+ noFavoritesMobile: "Clique no ícone de estrela no canto superior direito para salvar como favorito.",
193
+ noFavorites: "Clique no ícone de estrela no canto superior direito para salvar como favorito.",
194
+ noFavoritesTitle: "Você ainda não tem jogos selecionados como favoritos",
195
+ waiting: "Esperando"
196
+ },
197
+ "es-mx": {
198
+ showMore: "Mostrar más",
199
+ viewAll: "Mostrar todo",
200
+ searchedItems: "Resultados de búsqueda",
201
+ recentSearchedItems: "Búsquedas recientes",
202
+ favorites: "Favoritos",
203
+ noRecentSearch: "No ha realizado alguna búsqueda. Simplemente busque algún juego",
204
+ noResults: "Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",
205
+ noFavoritesMobile: "De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",
206
+ noFavorites: "De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",
207
+ noFavoritesTitle: "Aún not tiene juegos seleccionados como favoritos",
208
+ waiting: "Esperando"
209
+ },
210
+ "en-us": {
211
+ showMore: "More",
212
+ viewAll: "Show all",
213
+ searchedItems: "Search result",
214
+ recentSearchedItems: "Recently searched",
215
+ favorites: "Favorites",
216
+ noRecentSearch: "No search started yet. Simply search for a game.",
217
+ noResults: "Sorry, no results found. Please try again.",
218
+ noFavoritesMobile: "Click on the star icon at the top right corner of a game to save it as favorite.",
219
+ noFavorites: "Click on the star icon at the top right corner of a game to save it as favorite.",
220
+ noFavoritesTitle: "You do not have any favored games yet.",
221
+ waiting: "Waiting"
222
+ }
223
+ };
224
+ if (typeof window != "undefined") {
225
+ let t = function(a) {
226
+ return function(...i) {
227
+ try {
228
+ return a.apply(this, i);
229
+ } catch (o) {
230
+ if (o instanceof DOMException && o.message.includes("has already been used with this registry") || o.message.includes("Cannot define multiple custom elements with the same tag name"))
231
+ return !1;
232
+ throw o;
233
+ }
234
+ };
235
+ };
236
+ customElements.define = t(customElements.define), import("./CasinoGameThumbnail-DkLajZ-6.js").then((a) => a.C).then(({ default: a }) => {
237
+ !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", a.element);
238
+ });
239
+ }
240
+ if (typeof window != "undefined") {
241
+ let t = function(a) {
242
+ return function(...i) {
243
+ try {
244
+ return a.apply(this, i);
245
+ } catch (o) {
246
+ if (o instanceof DOMException && o.message.includes("has already been used with this registry") || o.message.includes("Cannot define multiple custom elements with the same tag name"))
247
+ return !1;
248
+ throw o;
249
+ }
250
+ };
251
+ };
252
+ customElements.define = t(customElements.define), import("./CasinoFilter-DuUevwDN.js").then((a) => a.J).then(({ default: a }) => {
253
+ !customElements.get("casino-filter") && customElements.define("casino-filter", a.element);
254
+ });
255
+ }
256
+ if (typeof window != "undefined") {
257
+ let t = function(a) {
258
+ return function(...i) {
259
+ try {
260
+ return a.apply(this, i);
261
+ } catch (o) {
262
+ if (o instanceof DOMException && o.message.includes("has already been used with this registry") || o.message.includes("Cannot define multiple custom elements with the same tag name"))
263
+ return !1;
264
+ throw o;
265
+ }
266
+ };
267
+ };
268
+ customElements.define = t(customElements.define), import("./CasinoSort-Chc8wKdN.js").then(({ default: a }) => {
269
+ !customElements.get("casino-sort") && customElements.define("casino-sort", a.element);
270
+ });
271
+ }
272
+ function Za(t) {
273
+ Ha(t, "svelte-kdn7jl", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 0 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;overscroll-behavior-x:none}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CategoryFilterContainer{gap:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}');
274
+ }
275
+ function xe(t, a, i) {
276
+ const o = t.slice();
277
+ return o[91] = a[i], o[93] = i, o;
278
+ }
279
+ function $e(t, a, i) {
280
+ const o = t.slice();
281
+ return o[91] = a[i], o[94] = a, o[93] = i, o;
282
+ }
283
+ function ea(t, a, i) {
284
+ const o = t.slice();
285
+ return o[91] = a[i], o[93] = i, o;
286
+ }
287
+ function Qa(t) {
288
+ let a;
289
+ function i(s, m) {
290
+ if (
291
+ /*categoryData*/
292
+ s[26]
293
+ ) return ai;
294
+ if (
295
+ /*showFavGamesCategory*/
296
+ s[37]
297
+ ) return ei;
298
+ }
299
+ let o = i(t), l = o && o(t);
300
+ return {
301
+ c() {
302
+ a = C("div"), l && l.c();
303
+ },
304
+ m(s, m) {
305
+ F(s, a, m), l && l.m(a, null);
306
+ },
307
+ p(s, m) {
308
+ o === (o = i(s)) && l ? l.p(s, m) : (l && l.d(1), l = o && o(s), l && (l.c(), l.m(a, null)));
309
+ },
310
+ d(s) {
311
+ s && S(a), l && l.d();
312
+ }
313
+ };
314
+ }
315
+ function xa(t) {
316
+ let a, i, o;
317
+ function l(p, v) {
318
+ return (
319
+ /*recentSearched*/
320
+ p[30] ? vi : (
321
+ /*shownCategoryData*/
322
+ p[27].length ? pi : _i
323
+ )
324
+ );
325
+ }
326
+ let s = l(t), m = s(t);
327
+ function c(p, v) {
328
+ return (
329
+ /*shownCategoryData*/
330
+ p[27] ? wi : bi
331
+ );
332
+ }
333
+ let u = c(t), g = u(t);
334
+ return {
335
+ c() {
336
+ a = C("div"), i = C("div"), m.c(), o = Y(), g.c(), h(i, "class", "CasinoGamesHeader Searched " + (ve(
337
+ /*userAgent*/
338
+ t[42]
339
+ ) ? "CasinoGamesHeaderMobile" : "")), h(a, "class", "CasinoGamesContainer");
340
+ },
341
+ m(p, v) {
342
+ F(p, a, v), y(a, i), m.m(i, null), y(a, o), g.m(a, null);
343
+ },
344
+ p(p, v) {
345
+ s === (s = l(p)) && m ? m.p(p, v) : (m.d(1), m = s(p), m && (m.c(), m.m(i, null))), u === (u = c(p)) && g ? g.p(p, v) : (g.d(1), g = u(p), g && (g.c(), g.m(a, null)));
346
+ },
347
+ d(p) {
348
+ p && S(a), m.d(), g.d();
349
+ }
350
+ };
351
+ }
352
+ function $a(t) {
353
+ let a;
354
+ function i(s, m) {
355
+ return (
356
+ /*presentFilters*/
357
+ s[32] ? yi : ki
358
+ );
359
+ }
360
+ let o = i(t), l = o(t);
361
+ return {
362
+ c() {
363
+ l.c(), a = Z();
364
+ },
365
+ m(s, m) {
366
+ l.m(s, m), F(s, a, m);
367
+ },
368
+ p(s, m) {
369
+ o !== (o = i(s)) && (l.d(1), l = o(s), l && (l.c(), l.m(a.parentNode, a)));
370
+ },
371
+ d(s) {
372
+ s && S(a), l.d(s);
373
+ }
374
+ };
375
+ }
376
+ function ei(t) {
377
+ let a, i, o, l, s = (
378
+ /*casinomygames*/
379
+ t[18] !== "true" && aa(t)
380
+ );
381
+ function m(g, p) {
382
+ return (
383
+ /*isLoading*/
384
+ g[23] && !/*isLazyLoading*/
385
+ g[34] ? ni : (
386
+ /*favoriteGamesData*/
387
+ g[40] ? ti : ii
388
+ )
389
+ );
390
+ }
391
+ let c = m(t), u = c(t);
392
+ return {
393
+ c() {
394
+ a = C("div"), s && s.c(), i = Y(), o = C("ul"), u.c(), h(o, "class", l = /*favoriteGamesData*/
395
+ (t[40].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}"), h(a, "class", "CasinoGamesContainer");
396
+ },
397
+ m(g, p) {
398
+ F(g, a, p), s && s.m(a, null), y(a, i), y(a, o), u.m(o, null), t[56](o);
399
+ },
400
+ p(g, p) {
401
+ /*casinomygames*/
402
+ g[18] !== "true" ? s ? s.p(g, p) : (s = aa(g), s.c(), s.m(a, i)) : s && (s.d(1), s = null), c === (c = m(g)) && u ? u.p(g, p) : (u.d(1), u = c(g), u && (u.c(), u.m(o, null))), p[1] & /*favoriteGamesData*/
403
+ 512 && l !== (l = /*favoriteGamesData*/
404
+ (g[40].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}") && h(o, "class", l);
405
+ },
406
+ d(g) {
407
+ g && S(a), s && s.d(), u.d(), t[56](null);
408
+ }
409
+ };
410
+ }
411
+ function ai(t) {
412
+ let a, i, o = (
413
+ /*casinomygames*/
414
+ t[18] !== "true" && sa(t)
415
+ );
416
+ function l(c, u) {
417
+ return (
418
+ /*isLoading*/
419
+ c[23] && !/*isLazyLoading*/
420
+ c[34] ? di : (
421
+ /*shownCategoryData*/
422
+ c[27].length !== 0 ? gi : fi
423
+ )
424
+ );
425
+ }
426
+ let s = l(t), m = s(t);
427
+ return {
428
+ c() {
429
+ a = C("div"), o && o.c(), i = Y(), m.c(), h(a, "class", "CasinoGamesContainer");
430
+ },
431
+ m(c, u) {
432
+ F(c, a, u), o && o.m(a, null), y(a, i), m.m(a, null);
433
+ },
434
+ p(c, u) {
435
+ /*casinomygames*/
436
+ c[18] !== "true" ? o ? o.p(c, u) : (o = sa(c), o.c(), o.m(a, i)) : o && (o.d(1), o = null), s === (s = l(c)) && m ? m.p(c, u) : (m.d(1), m = s(c), m && (m.c(), m.m(a, null)));
437
+ },
438
+ d(c) {
439
+ c && S(a), o && o.d(), m.d();
440
+ }
441
+ };
442
+ }
443
+ function aa(t) {
444
+ let a, i, o = (
445
+ /*$_*/
446
+ t[41]("favorites") + ""
447
+ ), l, s, m, c, u = (
448
+ /*favoriteGamesData*/
449
+ t[40].items.length + ""
450
+ ), g, p;
451
+ return {
452
+ c() {
453
+ a = C("div"), i = C("h3"), l = U(o), s = Y(), m = C("span"), c = U("("), g = U(u), p = U(")"), h(m, "class", "CategoryFavName"), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
454
+ },
455
+ m(v, G) {
456
+ F(v, a, G), y(a, i), y(i, l), y(i, s), y(i, m), y(m, c), y(m, g), y(m, p), t[55](i);
457
+ },
458
+ p(v, G) {
459
+ G[1] & /*$_*/
460
+ 1024 && o !== (o = /*$_*/
461
+ v[41]("favorites") + "") && V(l, o), G[1] & /*favoriteGamesData*/
462
+ 512 && u !== (u = /*favoriteGamesData*/
463
+ v[40].items.length + "") && V(g, u);
464
+ },
465
+ d(v) {
466
+ v && S(a), t[55](null);
467
+ }
468
+ };
469
+ }
470
+ function ii(t) {
471
+ let a, i = (
472
+ /*$_*/
473
+ t[41]("waiting") + ""
474
+ ), o;
475
+ return {
476
+ c() {
477
+ a = C("p"), o = U(i);
478
+ },
479
+ m(l, s) {
480
+ F(l, a, s), y(a, o);
481
+ },
482
+ p(l, s) {
483
+ s[1] & /*$_*/
484
+ 1024 && i !== (i = /*$_*/
485
+ l[41]("waiting") + "") && V(o, i);
486
+ },
487
+ d(l) {
488
+ l && S(a);
489
+ }
490
+ };
491
+ }
492
+ function ti(t) {
493
+ let a, i = le(
494
+ /*favoriteGamesData*/
495
+ t[40].items
496
+ ), o = [];
497
+ for (let s = 0; s < i.length; s += 1)
498
+ o[s] = la(xe(t, i, s));
499
+ let l = null;
500
+ return i.length || (l = ia(t)), {
501
+ c() {
502
+ for (let s = 0; s < o.length; s += 1)
503
+ o[s].c();
504
+ a = Z(), l && l.c();
505
+ },
506
+ m(s, m) {
507
+ for (let c = 0; c < o.length; c += 1)
508
+ o[c] && o[c].m(s, m);
509
+ F(s, a, m), l && l.m(s, m);
510
+ },
511
+ p(s, m) {
512
+ if (m[0] & /*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/
513
+ 262121 | m[1] & /*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/
514
+ 8128) {
515
+ i = le(
516
+ /*favoriteGamesData*/
517
+ s[40].items
518
+ );
519
+ let c;
520
+ for (c = 0; c < i.length; c += 1) {
521
+ const u = xe(s, i, c);
522
+ o[c] ? o[c].p(u, m) : (o[c] = la(u), o[c].c(), o[c].m(a.parentNode, a));
523
+ }
524
+ for (; c < o.length; c += 1)
525
+ o[c].d(1);
526
+ o.length = i.length, !i.length && l ? l.p(s, m) : i.length ? l && (l.d(1), l = null) : (l = ia(s), l.c(), l.m(a.parentNode, a));
527
+ }
528
+ },
529
+ d(s) {
530
+ s && S(a), Ba(o, s), l && l.d(s);
531
+ }
532
+ };
533
+ }
534
+ function ni(t) {
535
+ let a;
536
+ return {
537
+ c() {
538
+ a = C("div"), h(a, "class", "lds-dual-ring");
539
+ },
540
+ m(i, o) {
541
+ F(i, a, o);
542
+ },
543
+ p: _e,
544
+ d(i) {
545
+ i && S(a);
546
+ }
547
+ };
548
+ }
549
+ function ia(t) {
550
+ let a, i, o, l, s, m, c, u, g, p, v, G = (
551
+ /*$_*/
552
+ t[41]("noFavoritesTitle") + ""
553
+ ), I, w, E;
554
+ function d(A, b) {
555
+ return ve(
556
+ /*userAgent*/
557
+ A[42]
558
+ ) ? li : oi;
559
+ }
560
+ let j = d(t)(t);
561
+ return {
562
+ c() {
563
+ a = C("p"), i = x("svg"), o = x("rect"), l = x("rect"), s = x("circle"), m = x("path"), c = x("path"), u = x("path"), g = x("path"), p = Y(), v = C("span"), I = U(G), w = Y(), j.c(), E = Y(), h(o, "x", "1"), h(o, "y", "18.053"), h(o, "width", "90.263"), h(o, "height", "90.263"), h(o, "rx", "12"), h(o, "stroke", "var(--emw--color-gray-150, #828282)"), h(o, "stroke-width", "1.5"), h(l, "x", "106.737"), h(l, "y", "56.737"), h(l, "width", "90.263"), h(l, "height", "90.263"), h(l, "rx", "12"), h(l, "stroke", "var(--emw--color-gray-150, #828282)"), h(l, "stroke-width", "1.5"), h(s, "cx", "70.5"), h(s, "cy", "32.237"), h(s, "r", "31.487"), h(s, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(s, "stroke-width", "1.5"), h(s, "stroke-dasharray", "5 0"), h(m, "d", "M153.909 81.631a.747.747 0 0 0-.166-1.046l-5.466-3.954a.751.751 0 0 0-.882 1.214l4.859 3.514-3.529 4.858a.75.75 0 1 0 1.215.878l3.969-5.464zm-.725-1.18c-.501.081-.999.159-1.493.233l.223 1.482c.498-.075 1-.153 1.506-.234l-.236-1.48zm-4.457.654c-1.006.133-1.996.253-2.97.36l.162 1.49c.985-.109 1.986-.23 3.002-.364l-.194-1.486zm-5.944.65c-1.01.085-2.002.155-2.978.209l.081 1.496c.991-.054 1.997-.125 3.021-.212l-.124-1.493zm-5.955.326c-1.009.022-2 .026-2.974.01l-.026 1.5c.994.015 2.003.011 3.031-.012l-.031-1.498zm-5.953-.099a61.03 61.03 0 0 1-2.961-.245l-.164 1.49c.995.107 2.006.19 3.035.251l.09-1.496zm-5.898-.641a49.97 49.97 0 0 1-2.907-.56l-.332 1.462c.983.22 1.98.412 2.995.577l.244-1.48zm-5.773-1.298a44.435 44.435 0 0 1-2.807-.92l-.518 1.407c.953.348 1.92.665 2.901.951l.424-1.438zm-5.546-2.027A44.285 44.285 0 0 1 111 76.73l-.702 1.326a45.9 45.9 0 0 0 2.748 1.331l.612-1.37zm-5.23-2.75a49.031 49.031 0 0 1-2.472-1.616l-.861 1.229a50.27 50.27 0 0 0 2.548 1.666l.785-1.278zm-4.851-3.378c-.767-.601-1.529-1.231-2.289-1.891l-.987 1.131c.778.676 1.56 1.322 2.348 1.94l.928-1.18zm-4.486-3.889a74.64 74.64 0 0 1-2.11-2.088l-1.078 1.044a76.17 76.17 0 0 0 2.152 2.13L99.091 68zm-4.143-4.259a97.17 97.17 0 0 1-1.965-2.239l-1.145.972a98.31 98.31 0 0 0 1.996 2.274l1.114-1.007zm-3.867-4.536a127.63 127.63 0 0 1-1.845-2.346l-1.192.914c.624.812 1.246 1.603 1.867 2.373l1.17-.94zm-3.64-4.733c-.58-.788-1.163-1.596-1.749-2.423l-1.225.867c.59.834 1.179 1.649 1.764 2.445l1.21-.89z"), h(m, "fill", "var(--emw--color-gray-150, #828282)"), h(c, "d", "M78 43h11v13H78V43z"), h(c, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(u, "d", "m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"), h(u, "fill", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(u, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(u, "stroke-linecap", "round"), h(u, "stroke-linejoin", "round"), h(g, "d", "m74 27 2.02 6.219h6.54l-5.29 3.843 2.02 6.22L74 39.437l-5.29 3.843 2.02-6.219-5.29-3.843h6.54L74 27z"), h(g, "stroke", "var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))"), h(g, "stroke-width", "1.5"), h(g, "stroke-linecap", "round"), h(g, "stroke-linejoin", "round"), h(i, "width", "198"), h(i, "height", "148"), h(i, "viewBox", "0 0 198 148"), h(i, "fill", "none"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(v, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(a, "class", "NoFavoriteGames " + (ve(
564
+ /*userAgent*/
565
+ t[42]
566
+ ) ? "NoFavoriteGamesMobile" : ""));
567
+ },
568
+ m(A, b) {
569
+ F(A, a, b), y(a, i), y(i, o), y(i, l), y(i, s), y(i, m), y(i, c), y(i, u), y(i, g), y(a, p), y(a, v), y(v, I), y(a, w), j.m(a, null), y(a, E);
570
+ },
571
+ p(A, b) {
572
+ b[1] & /*$_*/
573
+ 1024 && G !== (G = /*$_*/
574
+ A[41]("noFavoritesTitle") + "") && V(I, G), j.p(A, b);
575
+ },
576
+ d(A) {
577
+ A && S(a), j.d();
578
+ }
579
+ };
580
+ }
581
+ function oi(t) {
582
+ let a, i = (
583
+ /*$_*/
584
+ t[41]("noFavorites") + ""
585
+ ), o;
586
+ return {
587
+ c() {
588
+ a = C("span"), o = U(i), h(a, "class", "NoFavoriteText");
589
+ },
590
+ m(l, s) {
591
+ F(l, a, s), y(a, o);
592
+ },
593
+ p(l, s) {
594
+ s[1] & /*$_*/
595
+ 1024 && i !== (i = /*$_*/
596
+ l[41]("noFavorites") + "") && V(o, i);
597
+ },
598
+ d(l) {
599
+ l && S(a);
600
+ }
601
+ };
602
+ }
603
+ function li(t) {
604
+ let a, i = (
605
+ /*$_*/
606
+ t[41]("noFavoritesMobile") + ""
607
+ ), o;
608
+ return {
609
+ c() {
610
+ a = C("span"), o = U(i), h(a, "class", "NoFavoriteText");
611
+ },
612
+ m(l, s) {
613
+ F(l, a, s), y(a, o);
614
+ },
615
+ p(l, s) {
616
+ s[1] & /*$_*/
617
+ 1024 && i !== (i = /*$_*/
618
+ l[41]("noFavoritesMobile") + "") && V(o, i);
619
+ },
620
+ d(l) {
621
+ l && S(a);
622
+ }
623
+ };
624
+ }
625
+ function ta(t) {
626
+ let a, i = (
627
+ /*gameprops*/
628
+ t[91].gameModel.isFavorite && na(t)
629
+ );
630
+ return {
631
+ c() {
632
+ i && i.c(), a = Z();
633
+ },
634
+ m(o, l) {
635
+ i && i.m(o, l), F(o, a, l);
636
+ },
637
+ p(o, l) {
638
+ /*gameprops*/
639
+ o[91].gameModel.isFavorite ? i ? i.p(o, l) : (i = na(o), i.c(), i.m(a.parentNode, a)) : i && (i.d(1), i = null);
640
+ },
641
+ d(o) {
642
+ o && S(a), i && i.d(o);
643
+ }
644
+ };
645
+ }
646
+ function na(t) {
647
+ let a, i = si(t);
648
+ return {
649
+ c() {
650
+ i && i.c(), a = Z();
651
+ },
652
+ m(o, l) {
653
+ i && i.m(o, l), F(o, a, l);
654
+ },
655
+ p(o, l) {
656
+ i.p(o, l);
657
+ },
658
+ d(o) {
659
+ o && S(a), i && i.d(o);
660
+ }
661
+ };
662
+ }
663
+ function si(t) {
664
+ let a, i, o;
665
+ function l(c, u) {
666
+ if (u[1] & /*favoriteGamesData*/
667
+ 512 && (i = null), a == null && (a = !!ve(
668
+ /*userAgent*/
669
+ c[42]
670
+ )), a) return mi;
671
+ if (i == null && (i = !!/*gameprops*/
672
+ c[91].gameModel.platform.includes("PC")), i) return ri;
673
+ }
674
+ let s = l(t, [-1, -1, -1, -1]), m = s && s(t);
675
+ return {
676
+ c() {
677
+ m && m.c(), o = Z();
678
+ },
679
+ m(c, u) {
680
+ m && m.m(c, u), F(c, o, u);
681
+ },
682
+ p(c, u) {
683
+ s === (s = l(c, u)) && m ? m.p(c, u) : (m && m.d(1), m = s && s(c), m && (m.c(), m.m(o.parentNode, o)));
684
+ },
685
+ d(c) {
686
+ c && S(o), m && m.d(c);
687
+ }
688
+ };
689
+ }
690
+ function ri(t) {
691
+ let a, i, o, l, s, m, c, u, g, p, v, G, I, w, E;
692
+ return {
693
+ c() {
694
+ var d, f, j;
695
+ a = C("casino-game-thumbnail"), n(a, "class", i = "" + (H + /*gameprops*/
696
+ (t[91].cellSize ? (
697
+ /*gameprops*/
698
+ t[91].cellSize
699
+ ) : "1x1"))), n(a, "part", o = "" + (H + /*gameprops*/
700
+ (t[91].cellSize ? (
701
+ /*gameprops*/
702
+ t[91].cellSize
703
+ ) : "1x1"))), n(
704
+ a,
705
+ "session",
706
+ /*session*/
707
+ t[6]
708
+ ), n(
709
+ a,
710
+ "userid",
711
+ /*userid*/
712
+ t[7]
713
+ ), n(
714
+ a,
715
+ "lang",
716
+ /*lang*/
717
+ t[5]
718
+ ), n(
719
+ a,
720
+ "translationurl",
721
+ /*translationurl*/
722
+ t[11]
723
+ ), n(
724
+ a,
725
+ "favorites",
726
+ /*favorites*/
727
+ t[8]
728
+ ), n(
729
+ a,
730
+ "categoryid",
731
+ /*categoryid*/
732
+ t[0]
733
+ ), n(a, "gamethumbnail", l = /*gameprops*/
734
+ t[91].gameModel.thumbnail), n(a, "gamename", s = /*gameprops*/
735
+ t[91].gameModel.name), n(a, "gamevendor", m = /*gameprops*/
736
+ t[91].gameModel.vendor.displayName), n(a, "gameLaunchUrl", c = /*gameprops*/
737
+ t[91].launchUrl), n(a, "gameisnew", u = /*gameprops*/
738
+ (f = (d = t[91]) == null ? void 0 : d.gameModel) == null ? void 0 : f.isNew), n(a, "gametag", g = /*addGameTag*/
739
+ t[43](
740
+ /*gameprops*/
741
+ (j = t[91].gameModel) == null ? void 0 : j.advancedTags
742
+ )), n(a, "gamecellsize", p = /*gameprops*/
743
+ t[91].cellSize), n(a, "gameid", v = /*gameprops*/
744
+ t[91].gameModel.id), n(a, "gamefunmode", G = /*gameprops*/
745
+ t[91].gameModel.hasFunMode), n(
746
+ a,
747
+ "showgamename",
748
+ /*showgamename*/
749
+ t[13]
750
+ ), n(a, "gamefavorite", I = /*gameprops*/
751
+ t[91].gameModel.isFavorite), n(
752
+ a,
753
+ "showfavoredcategory",
754
+ /*showFavGamesCategory*/
755
+ t[37]
756
+ ), n(a, "connectlive", w = /*intersectingIndexes*/
757
+ t[38][
758
+ /*gameprops*/
759
+ t[91].id
760
+ ] == 1 ? "connect" : "disconnect"), n(
761
+ a,
762
+ "visibilityconnect",
763
+ /*visibilityconnect*/
764
+ t[39]
765
+ ), n(
766
+ a,
767
+ "currency",
768
+ /*currency*/
769
+ t[12]
770
+ ), n(a, "livelobbyendpoint", E = /*gameprops*/
771
+ t[91].gameModel.details ? (
772
+ /*gameprops*/
773
+ t[91].gameModel.launchUrl
774
+ ) : ""), n(
775
+ a,
776
+ "clientstyling",
777
+ /*clientstyling*/
778
+ t[9]
779
+ ), n(
780
+ a,
781
+ "clientstylingurl",
782
+ /*clientstylingurl*/
783
+ t[10]
784
+ ), n(
785
+ a,
786
+ "endpoint",
787
+ /*endpoint*/
788
+ t[3]
789
+ ), n(
790
+ a,
791
+ "livecasino",
792
+ /*livecasino*/
793
+ t[14]
794
+ ), n(
795
+ a,
796
+ "gamepagemodalurl",
797
+ /*gamepagemodalurl*/
798
+ t[15]
799
+ ), n(
800
+ a,
801
+ "integratedgameframedesktop",
802
+ /*integratedgameframedesktop*/
803
+ t[16]
804
+ ), n(
805
+ a,
806
+ "integratedgameframemobile",
807
+ /*integratedgameframemobile*/
808
+ t[17]
809
+ );
810
+ },
811
+ m(d, f) {
812
+ F(d, a, f);
813
+ },
814
+ p(d, f) {
815
+ var j, A, b;
816
+ f[1] & /*favoriteGamesData*/
817
+ 512 && i !== (i = "" + (H + /*gameprops*/
818
+ (d[91].cellSize ? (
819
+ /*gameprops*/
820
+ d[91].cellSize
821
+ ) : "1x1"))) && n(a, "class", i), f[1] & /*favoriteGamesData*/
822
+ 512 && o !== (o = "" + (H + /*gameprops*/
823
+ (d[91].cellSize ? (
824
+ /*gameprops*/
825
+ d[91].cellSize
826
+ ) : "1x1"))) && n(a, "part", o), f[0] & /*session*/
827
+ 64 && n(
828
+ a,
829
+ "session",
830
+ /*session*/
831
+ d[6]
832
+ ), f[0] & /*userid*/
833
+ 128 && n(
834
+ a,
835
+ "userid",
836
+ /*userid*/
837
+ d[7]
838
+ ), f[0] & /*lang*/
839
+ 32 && n(
840
+ a,
841
+ "lang",
842
+ /*lang*/
843
+ d[5]
844
+ ), f[0] & /*translationurl*/
845
+ 2048 && n(
846
+ a,
847
+ "translationurl",
848
+ /*translationurl*/
849
+ d[11]
850
+ ), f[0] & /*favorites*/
851
+ 256 && n(
852
+ a,
853
+ "favorites",
854
+ /*favorites*/
855
+ d[8]
856
+ ), f[0] & /*categoryid*/
857
+ 1 && n(
858
+ a,
859
+ "categoryid",
860
+ /*categoryid*/
861
+ d[0]
862
+ ), f[1] & /*favoriteGamesData*/
863
+ 512 && l !== (l = /*gameprops*/
864
+ d[91].gameModel.thumbnail) && n(a, "gamethumbnail", l), f[1] & /*favoriteGamesData*/
865
+ 512 && s !== (s = /*gameprops*/
866
+ d[91].gameModel.name) && n(a, "gamename", s), f[1] & /*favoriteGamesData*/
867
+ 512 && m !== (m = /*gameprops*/
868
+ d[91].gameModel.vendor.displayName) && n(a, "gamevendor", m), f[1] & /*favoriteGamesData*/
869
+ 512 && c !== (c = /*gameprops*/
870
+ d[91].launchUrl) && n(a, "gameLaunchUrl", c), f[1] & /*favoriteGamesData*/
871
+ 512 && u !== (u = /*gameprops*/
872
+ (A = (j = d[91]) == null ? void 0 : j.gameModel) == null ? void 0 : A.isNew) && n(a, "gameisnew", u), f[1] & /*favoriteGamesData*/
873
+ 512 && g !== (g = /*addGameTag*/
874
+ d[43](
875
+ /*gameprops*/
876
+ (b = d[91].gameModel) == null ? void 0 : b.advancedTags
877
+ )) && n(a, "gametag", g), f[1] & /*favoriteGamesData*/
878
+ 512 && p !== (p = /*gameprops*/
879
+ d[91].cellSize) && n(a, "gamecellsize", p), f[1] & /*favoriteGamesData*/
880
+ 512 && v !== (v = /*gameprops*/
881
+ d[91].gameModel.id) && n(a, "gameid", v), f[1] & /*favoriteGamesData*/
882
+ 512 && G !== (G = /*gameprops*/
883
+ d[91].gameModel.hasFunMode) && n(a, "gamefunmode", G), f[0] & /*showgamename*/
884
+ 8192 && n(
885
+ a,
886
+ "showgamename",
887
+ /*showgamename*/
888
+ d[13]
889
+ ), f[1] & /*favoriteGamesData*/
890
+ 512 && I !== (I = /*gameprops*/
891
+ d[91].gameModel.isFavorite) && n(a, "gamefavorite", I), f[1] & /*showFavGamesCategory*/
892
+ 64 && n(
893
+ a,
894
+ "showfavoredcategory",
895
+ /*showFavGamesCategory*/
896
+ d[37]
897
+ ), f[1] & /*intersectingIndexes, favoriteGamesData*/
898
+ 640 && w !== (w = /*intersectingIndexes*/
899
+ d[38][
900
+ /*gameprops*/
901
+ d[91].id
902
+ ] == 1 ? "connect" : "disconnect") && n(a, "connectlive", w), f[1] & /*visibilityconnect*/
903
+ 256 && n(
904
+ a,
905
+ "visibilityconnect",
906
+ /*visibilityconnect*/
907
+ d[39]
908
+ ), f[0] & /*currency*/
909
+ 4096 && n(
910
+ a,
911
+ "currency",
912
+ /*currency*/
913
+ d[12]
914
+ ), f[1] & /*favoriteGamesData*/
915
+ 512 && E !== (E = /*gameprops*/
916
+ d[91].gameModel.details ? (
917
+ /*gameprops*/
918
+ d[91].gameModel.launchUrl
919
+ ) : "") && n(a, "livelobbyendpoint", E), f[0] & /*clientstyling*/
920
+ 512 && n(
921
+ a,
922
+ "clientstyling",
923
+ /*clientstyling*/
924
+ d[9]
925
+ ), f[0] & /*clientstylingurl*/
926
+ 1024 && n(
927
+ a,
928
+ "clientstylingurl",
929
+ /*clientstylingurl*/
930
+ d[10]
931
+ ), f[0] & /*endpoint*/
932
+ 8 && n(
933
+ a,
934
+ "endpoint",
935
+ /*endpoint*/
936
+ d[3]
937
+ ), f[0] & /*livecasino*/
938
+ 16384 && n(
939
+ a,
940
+ "livecasino",
941
+ /*livecasino*/
942
+ d[14]
943
+ ), f[0] & /*gamepagemodalurl*/
944
+ 32768 && n(
945
+ a,
946
+ "gamepagemodalurl",
947
+ /*gamepagemodalurl*/
948
+ d[15]
949
+ ), f[0] & /*integratedgameframedesktop*/
950
+ 65536 && n(
951
+ a,
952
+ "integratedgameframedesktop",
953
+ /*integratedgameframedesktop*/
954
+ d[16]
955
+ ), f[0] & /*integratedgameframemobile*/
956
+ 131072 && n(
957
+ a,
958
+ "integratedgameframemobile",
959
+ /*integratedgameframemobile*/
960
+ d[17]
961
+ );
962
+ },
963
+ d(d) {
964
+ d && S(a);
965
+ }
966
+ };
967
+ }
968
+ function mi(t) {
969
+ let a = (
970
+ /*gameprops*/
971
+ t[91].gameModel.platform.includes("iPad") || /*gameprops*/
972
+ t[91].gameModel.platform.includes("iPhone") || /*gameprops*/
973
+ t[91].gameModel.platform.includes("Android")
974
+ ), i, o = a && oa(t);
975
+ return {
976
+ c() {
977
+ o && o.c(), i = Z();
978
+ },
979
+ m(l, s) {
980
+ o && o.m(l, s), F(l, i, s);
981
+ },
982
+ p(l, s) {
983
+ s[1] & /*favoriteGamesData*/
984
+ 512 && (a = /*gameprops*/
985
+ l[91].gameModel.platform.includes("iPad") || /*gameprops*/
986
+ l[91].gameModel.platform.includes("iPhone") || /*gameprops*/
987
+ l[91].gameModel.platform.includes("Android")), a ? o ? o.p(l, s) : (o = oa(l), o.c(), o.m(i.parentNode, i)) : o && (o.d(1), o = null);
988
+ },
989
+ d(l) {
990
+ l && S(i), o && o.d(l);
991
+ }
992
+ };
993
+ }
994
+ function oa(t) {
995
+ let a, i, o, l, s, m, c, u, g, p, v, G, I, w, E;
996
+ return {
997
+ c() {
998
+ var d, f;
999
+ a = C("casino-game-thumbnail"), n(a, "class", i = "" + (H + /*gameprops*/
1000
+ (t[91].cellSize ? (
1001
+ /*gameprops*/
1002
+ t[91].cellSize
1003
+ ) : "1x1"))), n(a, "part", o = "" + (H + /*gameprops*/
1004
+ (t[91].cellSize ? (
1005
+ /*gameprops*/
1006
+ t[91].cellSize
1007
+ ) : "1x1"))), n(
1008
+ a,
1009
+ "session",
1010
+ /*session*/
1011
+ t[6]
1012
+ ), n(
1013
+ a,
1014
+ "userid",
1015
+ /*userid*/
1016
+ t[7]
1017
+ ), n(
1018
+ a,
1019
+ "lang",
1020
+ /*lang*/
1021
+ t[5]
1022
+ ), n(
1023
+ a,
1024
+ "favorites",
1025
+ /*favorites*/
1026
+ t[8]
1027
+ ), n(
1028
+ a,
1029
+ "categoryid",
1030
+ /*categoryid*/
1031
+ t[0]
1032
+ ), n(a, "gamethumbnail", l = /*gameprops*/
1033
+ t[91].gameModel.thumbnail), n(a, "gamename", s = /*gameprops*/
1034
+ t[91].gameModel.name), n(a, "gamevendor", m = /*gameprops*/
1035
+ t[91].gameModel.vendor.displayName), n(a, "gameLaunchUrl", c = /*gameprops*/
1036
+ t[91].launchUrl), n(a, "gameisnew", u = /*gameprops*/
1037
+ (d = t[91].gameModel) == null ? void 0 : d.isNew), n(a, "gametag", g = /*addGameTag*/
1038
+ t[43](
1039
+ /*gameprops*/
1040
+ (f = t[91].gameModel) == null ? void 0 : f.advancedTags
1041
+ )), n(a, "gamecellsize", p = /*gameprops*/
1042
+ t[91].cellSize), n(a, "gameid", v = /*gameprops*/
1043
+ t[91].gameModel.id), n(a, "gamefunmode", G = /*gameprops*/
1044
+ t[91].gameModel.hasFunMode), n(
1045
+ a,
1046
+ "showgamename",
1047
+ /*showgamename*/
1048
+ t[13]
1049
+ ), n(a, "gamefavorite", I = /*gameprops*/
1050
+ t[91].gameModel.isFavorite), n(
1051
+ a,
1052
+ "showfavoredcategory",
1053
+ /*showFavGamesCategory*/
1054
+ t[37]
1055
+ ), n(a, "connectlive", w = /*intersectingIndexes*/
1056
+ t[38][
1057
+ /*gameprops*/
1058
+ t[91].id
1059
+ ] == 1 ? "connect" : "disconnect"), n(
1060
+ a,
1061
+ "visibilityconnect",
1062
+ /*visibilityconnect*/
1063
+ t[39]
1064
+ ), n(
1065
+ a,
1066
+ "translationurl",
1067
+ /*translationurl*/
1068
+ t[11]
1069
+ ), n(
1070
+ a,
1071
+ "currency",
1072
+ /*currency*/
1073
+ t[12]
1074
+ ), n(a, "livelobbyendpoint", E = /*gameprops*/
1075
+ t[91].gameModel.details ? (
1076
+ /*gameprops*/
1077
+ t[91].gameModel.launchUrl
1078
+ ) : ""), n(
1079
+ a,
1080
+ "clientstyling",
1081
+ /*clientstyling*/
1082
+ t[9]
1083
+ ), n(
1084
+ a,
1085
+ "clientstylingurl",
1086
+ /*clientstylingurl*/
1087
+ t[10]
1088
+ ), n(
1089
+ a,
1090
+ "endpoint",
1091
+ /*endpoint*/
1092
+ t[3]
1093
+ ), n(
1094
+ a,
1095
+ "livecasino",
1096
+ /*livecasino*/
1097
+ t[14]
1098
+ ), n(
1099
+ a,
1100
+ "gamepagemodalurl",
1101
+ /*gamepagemodalurl*/
1102
+ t[15]
1103
+ ), n(
1104
+ a,
1105
+ "integratedgameframedesktop",
1106
+ /*integratedgameframedesktop*/
1107
+ t[16]
1108
+ ), n(
1109
+ a,
1110
+ "integratedgameframemobile",
1111
+ /*integratedgameframemobile*/
1112
+ t[17]
1113
+ );
1114
+ },
1115
+ m(d, f) {
1116
+ F(d, a, f);
1117
+ },
1118
+ p(d, f) {
1119
+ var j, A;
1120
+ f[1] & /*favoriteGamesData*/
1121
+ 512 && i !== (i = "" + (H + /*gameprops*/
1122
+ (d[91].cellSize ? (
1123
+ /*gameprops*/
1124
+ d[91].cellSize
1125
+ ) : "1x1"))) && n(a, "class", i), f[1] & /*favoriteGamesData*/
1126
+ 512 && o !== (o = "" + (H + /*gameprops*/
1127
+ (d[91].cellSize ? (
1128
+ /*gameprops*/
1129
+ d[91].cellSize
1130
+ ) : "1x1"))) && n(a, "part", o), f[0] & /*session*/
1131
+ 64 && n(
1132
+ a,
1133
+ "session",
1134
+ /*session*/
1135
+ d[6]
1136
+ ), f[0] & /*userid*/
1137
+ 128 && n(
1138
+ a,
1139
+ "userid",
1140
+ /*userid*/
1141
+ d[7]
1142
+ ), f[0] & /*lang*/
1143
+ 32 && n(
1144
+ a,
1145
+ "lang",
1146
+ /*lang*/
1147
+ d[5]
1148
+ ), f[0] & /*favorites*/
1149
+ 256 && n(
1150
+ a,
1151
+ "favorites",
1152
+ /*favorites*/
1153
+ d[8]
1154
+ ), f[0] & /*categoryid*/
1155
+ 1 && n(
1156
+ a,
1157
+ "categoryid",
1158
+ /*categoryid*/
1159
+ d[0]
1160
+ ), f[1] & /*favoriteGamesData*/
1161
+ 512 && l !== (l = /*gameprops*/
1162
+ d[91].gameModel.thumbnail) && n(a, "gamethumbnail", l), f[1] & /*favoriteGamesData*/
1163
+ 512 && s !== (s = /*gameprops*/
1164
+ d[91].gameModel.name) && n(a, "gamename", s), f[1] & /*favoriteGamesData*/
1165
+ 512 && m !== (m = /*gameprops*/
1166
+ d[91].gameModel.vendor.displayName) && n(a, "gamevendor", m), f[1] & /*favoriteGamesData*/
1167
+ 512 && c !== (c = /*gameprops*/
1168
+ d[91].launchUrl) && n(a, "gameLaunchUrl", c), f[1] & /*favoriteGamesData*/
1169
+ 512 && u !== (u = /*gameprops*/
1170
+ (j = d[91].gameModel) == null ? void 0 : j.isNew) && n(a, "gameisnew", u), f[1] & /*favoriteGamesData*/
1171
+ 512 && g !== (g = /*addGameTag*/
1172
+ d[43](
1173
+ /*gameprops*/
1174
+ (A = d[91].gameModel) == null ? void 0 : A.advancedTags
1175
+ )) && n(a, "gametag", g), f[1] & /*favoriteGamesData*/
1176
+ 512 && p !== (p = /*gameprops*/
1177
+ d[91].cellSize) && n(a, "gamecellsize", p), f[1] & /*favoriteGamesData*/
1178
+ 512 && v !== (v = /*gameprops*/
1179
+ d[91].gameModel.id) && n(a, "gameid", v), f[1] & /*favoriteGamesData*/
1180
+ 512 && G !== (G = /*gameprops*/
1181
+ d[91].gameModel.hasFunMode) && n(a, "gamefunmode", G), f[0] & /*showgamename*/
1182
+ 8192 && n(
1183
+ a,
1184
+ "showgamename",
1185
+ /*showgamename*/
1186
+ d[13]
1187
+ ), f[1] & /*favoriteGamesData*/
1188
+ 512 && I !== (I = /*gameprops*/
1189
+ d[91].gameModel.isFavorite) && n(a, "gamefavorite", I), f[1] & /*showFavGamesCategory*/
1190
+ 64 && n(
1191
+ a,
1192
+ "showfavoredcategory",
1193
+ /*showFavGamesCategory*/
1194
+ d[37]
1195
+ ), f[1] & /*intersectingIndexes, favoriteGamesData*/
1196
+ 640 && w !== (w = /*intersectingIndexes*/
1197
+ d[38][
1198
+ /*gameprops*/
1199
+ d[91].id
1200
+ ] == 1 ? "connect" : "disconnect") && n(a, "connectlive", w), f[1] & /*visibilityconnect*/
1201
+ 256 && n(
1202
+ a,
1203
+ "visibilityconnect",
1204
+ /*visibilityconnect*/
1205
+ d[39]
1206
+ ), f[0] & /*translationurl*/
1207
+ 2048 && n(
1208
+ a,
1209
+ "translationurl",
1210
+ /*translationurl*/
1211
+ d[11]
1212
+ ), f[0] & /*currency*/
1213
+ 4096 && n(
1214
+ a,
1215
+ "currency",
1216
+ /*currency*/
1217
+ d[12]
1218
+ ), f[1] & /*favoriteGamesData*/
1219
+ 512 && E !== (E = /*gameprops*/
1220
+ d[91].gameModel.details ? (
1221
+ /*gameprops*/
1222
+ d[91].gameModel.launchUrl
1223
+ ) : "") && n(a, "livelobbyendpoint", E), f[0] & /*clientstyling*/
1224
+ 512 && n(
1225
+ a,
1226
+ "clientstyling",
1227
+ /*clientstyling*/
1228
+ d[9]
1229
+ ), f[0] & /*clientstylingurl*/
1230
+ 1024 && n(
1231
+ a,
1232
+ "clientstylingurl",
1233
+ /*clientstylingurl*/
1234
+ d[10]
1235
+ ), f[0] & /*endpoint*/
1236
+ 8 && n(
1237
+ a,
1238
+ "endpoint",
1239
+ /*endpoint*/
1240
+ d[3]
1241
+ ), f[0] & /*livecasino*/
1242
+ 16384 && n(
1243
+ a,
1244
+ "livecasino",
1245
+ /*livecasino*/
1246
+ d[14]
1247
+ ), f[0] & /*gamepagemodalurl*/
1248
+ 32768 && n(
1249
+ a,
1250
+ "gamepagemodalurl",
1251
+ /*gamepagemodalurl*/
1252
+ d[15]
1253
+ ), f[0] & /*integratedgameframedesktop*/
1254
+ 65536 && n(
1255
+ a,
1256
+ "integratedgameframedesktop",
1257
+ /*integratedgameframedesktop*/
1258
+ d[16]
1259
+ ), f[0] & /*integratedgameframemobile*/
1260
+ 131072 && n(
1261
+ a,
1262
+ "integratedgameframemobile",
1263
+ /*integratedgameframemobile*/
1264
+ d[17]
1265
+ );
1266
+ },
1267
+ d(d) {
1268
+ d && S(a);
1269
+ }
1270
+ };
1271
+ }
1272
+ function la(t) {
1273
+ let a, i = (
1274
+ /*gameprops*/
1275
+ t[91].gameModel && ta(t)
1276
+ );
1277
+ return {
1278
+ c() {
1279
+ i && i.c(), a = Z();
1280
+ },
1281
+ m(o, l) {
1282
+ i && i.m(o, l), F(o, a, l);
1283
+ },
1284
+ p(o, l) {
1285
+ /*gameprops*/
1286
+ o[91].gameModel ? i ? i.p(o, l) : (i = ta(o), i.c(), i.m(a.parentNode, a)) : i && (i.d(1), i = null);
1287
+ },
1288
+ d(o) {
1289
+ o && S(a), i && i.d(o);
1290
+ }
1291
+ };
1292
+ }
1293
+ function sa(t) {
1294
+ let a, i, o = (
1295
+ /*categoryData*/
1296
+ t[26].name + ""
1297
+ ), l, s;
1298
+ function m(g, p) {
1299
+ return (
1300
+ /*showLoadCategory*/
1301
+ g[28] ? ci : ui
1302
+ );
1303
+ }
1304
+ let c = m(t), u = c(t);
1305
+ return {
1306
+ c() {
1307
+ a = C("div"), i = C("h3"), l = U(o), s = Y(), u.c(), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
1308
+ },
1309
+ m(g, p) {
1310
+ F(g, a, p), y(a, i), y(i, l), t[51](i), y(a, s), u.m(a, null);
1311
+ },
1312
+ p(g, p) {
1313
+ p[0] & /*categoryData*/
1314
+ 67108864 && o !== (o = /*categoryData*/
1315
+ g[26].name + "") && V(l, o), c === (c = m(g)) && u ? u.p(g, p) : (u.d(1), u = c(g), u && (u.c(), u.m(a, null)));
1316
+ },
1317
+ d(g) {
1318
+ g && S(a), t[51](null), u.d();
1319
+ }
1320
+ };
1321
+ }
1322
+ function ui(t) {
1323
+ let a, i, o, l = (
1324
+ /*addfilterselector*/
1325
+ t[1] == "true" && ra(t)
1326
+ ), s = (
1327
+ /*addsortingselector*/
1328
+ t[2] == "true" && ma(t)
1329
+ );
1330
+ return {
1331
+ c() {
1332
+ a = C("div"), l && l.c(), i = Y(), s && s.c(), h(a, "class", o = /*addfilterselector*/
1333
+ t[1] == "true" && /*addsortingselector*/
1334
+ t[2] == "true" ? "CategoryFilterContainer" : "");
1335
+ },
1336
+ m(m, c) {
1337
+ F(m, a, c), l && l.m(a, null), y(a, i), s && s.m(a, null);
1338
+ },
1339
+ p(m, c) {
1340
+ /*addfilterselector*/
1341
+ m[1] == "true" ? l ? l.p(m, c) : (l = ra(m), l.c(), l.m(a, i)) : l && (l.d(1), l = null), /*addsortingselector*/
1342
+ m[2] == "true" ? s ? s.p(m, c) : (s = ma(m), s.c(), s.m(a, null)) : s && (s.d(1), s = null), c[0] & /*addfilterselector, addsortingselector*/
1343
+ 6 && o !== (o = /*addfilterselector*/
1344
+ m[1] == "true" && /*addsortingselector*/
1345
+ m[2] == "true" ? "CategoryFilterContainer" : "") && h(a, "class", o);
1346
+ },
1347
+ d(m) {
1348
+ m && S(a), l && l.d(), s && s.d();
1349
+ }
1350
+ };
1351
+ }
1352
+ function ci(t) {
1353
+ let a, i, o = (
1354
+ /*$_*/
1355
+ t[41]("viewAll") + ""
1356
+ ), l, s, m = (
1357
+ /*categoryData*/
1358
+ t[26].games.total + ""
1359
+ ), c, u, g, p;
1360
+ return {
1361
+ c() {
1362
+ a = C("a"), i = C("span"), l = U(o), s = U(" ("), c = U(m), u = U(")"), h(i, "class", "CategoryLoadMore"), h(a, "class", "CategoryNameLink");
1363
+ },
1364
+ m(v, G) {
1365
+ F(v, a, G), y(a, i), y(i, l), y(i, s), y(i, c), y(i, u), g || (p = Ya(
1366
+ a,
1367
+ "click",
1368
+ /*click_handler*/
1369
+ t[52]
1370
+ ), g = !0);
1371
+ },
1372
+ p(v, G) {
1373
+ G[1] & /*$_*/
1374
+ 1024 && o !== (o = /*$_*/
1375
+ v[41]("viewAll") + "") && V(l, o), G[0] & /*categoryData*/
1376
+ 67108864 && m !== (m = /*categoryData*/
1377
+ v[26].games.total + "") && V(c, m);
1378
+ },
1379
+ d(v) {
1380
+ v && S(a), g = !1, p();
1381
+ }
1382
+ };
1383
+ }
1384
+ function ra(t) {
1385
+ let a;
1386
+ return {
1387
+ c() {
1388
+ a = C("casino-filter"), n(
1389
+ a,
1390
+ "clientstylingurl",
1391
+ /*clientstylingurl*/
1392
+ t[10]
1393
+ ), n(
1394
+ a,
1395
+ "clientstyling",
1396
+ /*clientstyling*/
1397
+ t[9]
1398
+ ), n(
1399
+ a,
1400
+ "endpoint",
1401
+ /*endpoint*/
1402
+ t[3]
1403
+ ), n(
1404
+ a,
1405
+ "datasource",
1406
+ /*datasource*/
1407
+ t[4]
1408
+ ), n(
1409
+ a,
1410
+ "lang",
1411
+ /*lang*/
1412
+ t[5]
1413
+ ), n(
1414
+ a,
1415
+ "categoryid",
1416
+ /*categoryid*/
1417
+ t[0]
1418
+ ), n(
1419
+ a,
1420
+ "addfilterselector",
1421
+ /*addfilterselector*/
1422
+ t[1]
1423
+ ), n(
1424
+ a,
1425
+ "addsortingselector",
1426
+ /*addsortingselector*/
1427
+ t[2]
1428
+ ), n(
1429
+ a,
1430
+ "filterbylogo",
1431
+ /*filterbylogo*/
1432
+ t[19]
1433
+ );
1434
+ },
1435
+ m(i, o) {
1436
+ F(i, a, o);
1437
+ },
1438
+ p(i, o) {
1439
+ o[0] & /*clientstylingurl*/
1440
+ 1024 && n(
1441
+ a,
1442
+ "clientstylingurl",
1443
+ /*clientstylingurl*/
1444
+ i[10]
1445
+ ), o[0] & /*clientstyling*/
1446
+ 512 && n(
1447
+ a,
1448
+ "clientstyling",
1449
+ /*clientstyling*/
1450
+ i[9]
1451
+ ), o[0] & /*endpoint*/
1452
+ 8 && n(
1453
+ a,
1454
+ "endpoint",
1455
+ /*endpoint*/
1456
+ i[3]
1457
+ ), o[0] & /*datasource*/
1458
+ 16 && n(
1459
+ a,
1460
+ "datasource",
1461
+ /*datasource*/
1462
+ i[4]
1463
+ ), o[0] & /*lang*/
1464
+ 32 && n(
1465
+ a,
1466
+ "lang",
1467
+ /*lang*/
1468
+ i[5]
1469
+ ), o[0] & /*categoryid*/
1470
+ 1 && n(
1471
+ a,
1472
+ "categoryid",
1473
+ /*categoryid*/
1474
+ i[0]
1475
+ ), o[0] & /*addfilterselector*/
1476
+ 2 && n(
1477
+ a,
1478
+ "addfilterselector",
1479
+ /*addfilterselector*/
1480
+ i[1]
1481
+ ), o[0] & /*addsortingselector*/
1482
+ 4 && n(
1483
+ a,
1484
+ "addsortingselector",
1485
+ /*addsortingselector*/
1486
+ i[2]
1487
+ ), o[0] & /*filterbylogo*/
1488
+ 524288 && n(
1489
+ a,
1490
+ "filterbylogo",
1491
+ /*filterbylogo*/
1492
+ i[19]
1493
+ );
1494
+ },
1495
+ d(i) {
1496
+ i && S(a);
1497
+ }
1498
+ };
1499
+ }
1500
+ function ma(t) {
1501
+ let a;
1502
+ return {
1503
+ c() {
1504
+ a = C("casino-sort"), n(
1505
+ a,
1506
+ "clientstylingurl",
1507
+ /*clientstylingurl*/
1508
+ t[10]
1509
+ ), n(
1510
+ a,
1511
+ "clientstyling",
1512
+ /*clientstyling*/
1513
+ t[9]
1514
+ ), n(
1515
+ a,
1516
+ "lang",
1517
+ /*lang*/
1518
+ t[5]
1519
+ ), n(
1520
+ a,
1521
+ "categoryid",
1522
+ /*categoryid*/
1523
+ t[0]
1524
+ ), n(
1525
+ a,
1526
+ "addsortingselector",
1527
+ /*addsortingselector*/
1528
+ t[2]
1529
+ );
1530
+ },
1531
+ m(i, o) {
1532
+ F(i, a, o);
1533
+ },
1534
+ p(i, o) {
1535
+ o[0] & /*clientstylingurl*/
1536
+ 1024 && n(
1537
+ a,
1538
+ "clientstylingurl",
1539
+ /*clientstylingurl*/
1540
+ i[10]
1541
+ ), o[0] & /*clientstyling*/
1542
+ 512 && n(
1543
+ a,
1544
+ "clientstyling",
1545
+ /*clientstyling*/
1546
+ i[9]
1547
+ ), o[0] & /*lang*/
1548
+ 32 && n(
1549
+ a,
1550
+ "lang",
1551
+ /*lang*/
1552
+ i[5]
1553
+ ), o[0] & /*categoryid*/
1554
+ 1 && n(
1555
+ a,
1556
+ "categoryid",
1557
+ /*categoryid*/
1558
+ i[0]
1559
+ ), o[0] & /*addsortingselector*/
1560
+ 4 && n(
1561
+ a,
1562
+ "addsortingselector",
1563
+ /*addsortingselector*/
1564
+ i[2]
1565
+ );
1566
+ },
1567
+ d(i) {
1568
+ i && S(a);
1569
+ }
1570
+ };
1571
+ }
1572
+ function fi(t) {
1573
+ let a, i = (
1574
+ /*$_*/
1575
+ t[41]("noResults") + ""
1576
+ ), o;
1577
+ return {
1578
+ c() {
1579
+ a = C("p"), o = U(i), h(a, "class", "NoSearchResults");
1580
+ },
1581
+ m(l, s) {
1582
+ F(l, a, s), y(a, o);
1583
+ },
1584
+ p(l, s) {
1585
+ s[1] & /*$_*/
1586
+ 1024 && i !== (i = /*$_*/
1587
+ l[41]("noResults") + "") && V(o, i);
1588
+ },
1589
+ d(l) {
1590
+ l && S(a);
1591
+ }
1592
+ };
1593
+ }
1594
+ function gi(t) {
1595
+ let a, i = [], o = /* @__PURE__ */ new Map(), l, s = le(
1596
+ /*shownCategoryData*/
1597
+ t[27]
1598
+ );
1599
+ const m = (c) => (
1600
+ /*gameprops*/
1601
+ c[91].id
1602
+ );
1603
+ for (let c = 0; c < s.length; c += 1) {
1604
+ let u = $e(t, s, c), g = m(u);
1605
+ o.set(g, i[c] = ua(g, u));
1606
+ }
1607
+ return {
1608
+ c() {
1609
+ a = C("ul");
1610
+ for (let c = 0; c < i.length; c += 1)
1611
+ i[c].c();
1612
+ h(a, "class", l = /*favoriteGamesData*/
1613
+ (t[40].items.length === 0 && /*showFavGamesCategory*/
1614
+ t[37] ? "" : "CasinoGamesGrid") + " " + /*lobbyView*/
1615
+ (t[25] && /*casinogamesgridslider*/
1616
+ t[20] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap");
1617
+ },
1618
+ m(c, u) {
1619
+ F(c, a, u);
1620
+ for (let g = 0; g < i.length; g += 1)
1621
+ i[g] && i[g].m(a, null);
1622
+ t[54](a);
1623
+ },
1624
+ p(c, u) {
1625
+ u[0] & /*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/
1626
+ 139722729 | u[1] & /*addGameTag, intersectingIndexes, visibilityconnect*/
1627
+ 4480 && (s = le(
1628
+ /*shownCategoryData*/
1629
+ c[27]
1630
+ ), i = ga(i, u, m, 1, c, s, o, a, da, ua, null, $e)), u[0] & /*lobbyView, casinogamesgridslider*/
1631
+ 34603008 | u[1] & /*favoriteGamesData, showFavGamesCategory*/
1632
+ 576 && l !== (l = /*favoriteGamesData*/
1633
+ (c[40].items.length === 0 && /*showFavGamesCategory*/
1634
+ c[37] ? "" : "CasinoGamesGrid") + " " + /*lobbyView*/
1635
+ (c[25] && /*casinogamesgridslider*/
1636
+ c[20] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap") && h(a, "class", l);
1637
+ },
1638
+ d(c) {
1639
+ c && S(a);
1640
+ for (let u = 0; u < i.length; u += 1)
1641
+ i[u].d();
1642
+ t[54](null);
1643
+ }
1644
+ };
1645
+ }
1646
+ function di(t) {
1647
+ let a;
1648
+ return {
1649
+ c() {
1650
+ a = C("div"), h(a, "class", "lds-dual-ring"), h(a, "part", "lds-dual-ring");
1651
+ },
1652
+ m(i, o) {
1653
+ F(i, a, o);
1654
+ },
1655
+ p: _e,
1656
+ d(i) {
1657
+ i && S(a);
1658
+ }
1659
+ };
1660
+ }
1661
+ function hi(t) {
1662
+ let a, i, o, l, s, m, c, u, g, p, v, G, I, w, E, d = (
1663
+ /*index*/
1664
+ t[93]
1665
+ );
1666
+ const f = () => (
1667
+ /*casino_game_thumbnail_binding*/
1668
+ t[53](a, d)
1669
+ ), j = () => (
1670
+ /*casino_game_thumbnail_binding*/
1671
+ t[53](null, d)
1672
+ );
1673
+ return {
1674
+ c() {
1675
+ a = C("casino-game-thumbnail"), n(
1676
+ a,
1677
+ "session",
1678
+ /*session*/
1679
+ t[6]
1680
+ ), n(
1681
+ a,
1682
+ "userid",
1683
+ /*userid*/
1684
+ t[7]
1685
+ ), n(
1686
+ a,
1687
+ "lang",
1688
+ /*lang*/
1689
+ t[5]
1690
+ ), n(a, "class", i = "" + (H + /*gameprops*/
1691
+ (t[91].cellSize ? (
1692
+ /*gameprops*/
1693
+ t[91].cellSize
1694
+ ) : "1x1"))), n(a, "part", o = "" + (H + /*gameprops*/
1695
+ (t[91].cellSize ? (
1696
+ /*gameprops*/
1697
+ t[91].cellSize
1698
+ ) : "1x1"))), n(
1699
+ a,
1700
+ "favorites",
1701
+ /*favorites*/
1702
+ t[8]
1703
+ ), n(
1704
+ a,
1705
+ "categoryid",
1706
+ /*categoryid*/
1707
+ t[0]
1708
+ ), n(a, "gamethumbnail", l = /*gameprops*/
1709
+ t[91].thumbnail), n(a, "gamename", s = /*gameprops*/
1710
+ t[91].name), n(a, "gamevendor", m = /*gameprops*/
1711
+ t[91].vendor.displayName), n(a, "gameLaunchUrl", c = /*gameprops*/
1712
+ t[91].launchUrl), n(a, "gameisnew", u = /*gameprops*/
1713
+ t[91].isNew), n(a, "gametag", g = /*addGameTag*/
1714
+ t[43](
1715
+ /*gameprops*/
1716
+ t[91].advancedTags
1717
+ )), n(a, "gamecellsize", p = /*gameprops*/
1718
+ t[91].cellSize), n(a, "gameid", v = /*gameprops*/
1719
+ t[91].id), n(a, "gamefunmode", G = /*gameprops*/
1720
+ t[91].hasFunMode), n(a, "gamefavorite", I = /*gameprops*/
1721
+ t[91].isFavorite), n(
1722
+ a,
1723
+ "translationurl",
1724
+ /*translationurl*/
1725
+ t[11]
1726
+ ), n(
1727
+ a,
1728
+ "showgamename",
1729
+ /*showgamename*/
1730
+ t[13]
1731
+ ), n(a, "connectlive", w = /*intersectingIndexes*/
1732
+ t[38][
1733
+ /*gameprops*/
1734
+ t[91].id
1735
+ ] == 1 ? "connect" : "disconnect"), n(
1736
+ a,
1737
+ "visibilityconnect",
1738
+ /*visibilityconnect*/
1739
+ t[39]
1740
+ ), n(
1741
+ a,
1742
+ "currency",
1743
+ /*currency*/
1744
+ t[12]
1745
+ ), n(a, "livelobbyendpoint", E = /*gameprops*/
1746
+ t[91].details ? (
1747
+ /*gameprops*/
1748
+ t[91].href
1749
+ ) : ""), n(
1750
+ a,
1751
+ "clientstyling",
1752
+ /*clientstyling*/
1753
+ t[9]
1754
+ ), n(
1755
+ a,
1756
+ "clientstylingurl",
1757
+ /*clientstylingurl*/
1758
+ t[10]
1759
+ ), n(
1760
+ a,
1761
+ "endpoint",
1762
+ /*endpoint*/
1763
+ t[3]
1764
+ ), n(
1765
+ a,
1766
+ "livecasino",
1767
+ /*livecasino*/
1768
+ t[14]
1769
+ ), n(
1770
+ a,
1771
+ "gamepagemodalurl",
1772
+ /*gamepagemodalurl*/
1773
+ t[15]
1774
+ ), n(
1775
+ a,
1776
+ "integratedgameframedesktop",
1777
+ /*integratedgameframedesktop*/
1778
+ t[16]
1779
+ ), n(
1780
+ a,
1781
+ "integratedgameframemobile",
1782
+ /*integratedgameframemobile*/
1783
+ t[17]
1784
+ ), n(
1785
+ a,
1786
+ "casinogamesgridslider",
1787
+ /*casinogamesgridslider*/
1788
+ t[20]
1789
+ );
1790
+ },
1791
+ m(A, b) {
1792
+ F(A, a, b), f();
1793
+ },
1794
+ p(A, b) {
1795
+ t = A, b[0] & /*session*/
1796
+ 64 && n(
1797
+ a,
1798
+ "session",
1799
+ /*session*/
1800
+ t[6]
1801
+ ), b[0] & /*userid*/
1802
+ 128 && n(
1803
+ a,
1804
+ "userid",
1805
+ /*userid*/
1806
+ t[7]
1807
+ ), b[0] & /*lang*/
1808
+ 32 && n(
1809
+ a,
1810
+ "lang",
1811
+ /*lang*/
1812
+ t[5]
1813
+ ), b[0] & /*shownCategoryData*/
1814
+ 134217728 && i !== (i = "" + (H + /*gameprops*/
1815
+ (t[91].cellSize ? (
1816
+ /*gameprops*/
1817
+ t[91].cellSize
1818
+ ) : "1x1"))) && n(a, "class", i), b[0] & /*shownCategoryData*/
1819
+ 134217728 && o !== (o = "" + (H + /*gameprops*/
1820
+ (t[91].cellSize ? (
1821
+ /*gameprops*/
1822
+ t[91].cellSize
1823
+ ) : "1x1"))) && n(a, "part", o), b[0] & /*favorites*/
1824
+ 256 && n(
1825
+ a,
1826
+ "favorites",
1827
+ /*favorites*/
1828
+ t[8]
1829
+ ), b[0] & /*categoryid*/
1830
+ 1 && n(
1831
+ a,
1832
+ "categoryid",
1833
+ /*categoryid*/
1834
+ t[0]
1835
+ ), b[0] & /*shownCategoryData*/
1836
+ 134217728 && l !== (l = /*gameprops*/
1837
+ t[91].thumbnail) && n(a, "gamethumbnail", l), b[0] & /*shownCategoryData*/
1838
+ 134217728 && s !== (s = /*gameprops*/
1839
+ t[91].name) && n(a, "gamename", s), b[0] & /*shownCategoryData*/
1840
+ 134217728 && m !== (m = /*gameprops*/
1841
+ t[91].vendor.displayName) && n(a, "gamevendor", m), b[0] & /*shownCategoryData*/
1842
+ 134217728 && c !== (c = /*gameprops*/
1843
+ t[91].launchUrl) && n(a, "gameLaunchUrl", c), b[0] & /*shownCategoryData*/
1844
+ 134217728 && u !== (u = /*gameprops*/
1845
+ t[91].isNew) && n(a, "gameisnew", u), b[0] & /*shownCategoryData*/
1846
+ 134217728 && g !== (g = /*addGameTag*/
1847
+ t[43](
1848
+ /*gameprops*/
1849
+ t[91].advancedTags
1850
+ )) && n(a, "gametag", g), b[0] & /*shownCategoryData*/
1851
+ 134217728 && p !== (p = /*gameprops*/
1852
+ t[91].cellSize) && n(a, "gamecellsize", p), b[0] & /*shownCategoryData*/
1853
+ 134217728 && v !== (v = /*gameprops*/
1854
+ t[91].id) && n(a, "gameid", v), b[0] & /*shownCategoryData*/
1855
+ 134217728 && G !== (G = /*gameprops*/
1856
+ t[91].hasFunMode) && n(a, "gamefunmode", G), b[0] & /*shownCategoryData*/
1857
+ 134217728 && I !== (I = /*gameprops*/
1858
+ t[91].isFavorite) && n(a, "gamefavorite", I), b[0] & /*translationurl*/
1859
+ 2048 && n(
1860
+ a,
1861
+ "translationurl",
1862
+ /*translationurl*/
1863
+ t[11]
1864
+ ), b[0] & /*showgamename*/
1865
+ 8192 && n(
1866
+ a,
1867
+ "showgamename",
1868
+ /*showgamename*/
1869
+ t[13]
1870
+ ), b[0] & /*shownCategoryData*/
1871
+ 134217728 | b[1] & /*intersectingIndexes*/
1872
+ 128 && w !== (w = /*intersectingIndexes*/
1873
+ t[38][
1874
+ /*gameprops*/
1875
+ t[91].id
1876
+ ] == 1 ? "connect" : "disconnect") && n(a, "connectlive", w), b[1] & /*visibilityconnect*/
1877
+ 256 && n(
1878
+ a,
1879
+ "visibilityconnect",
1880
+ /*visibilityconnect*/
1881
+ t[39]
1882
+ ), b[0] & /*currency*/
1883
+ 4096 && n(
1884
+ a,
1885
+ "currency",
1886
+ /*currency*/
1887
+ t[12]
1888
+ ), b[0] & /*shownCategoryData*/
1889
+ 134217728 && E !== (E = /*gameprops*/
1890
+ t[91].details ? (
1891
+ /*gameprops*/
1892
+ t[91].href
1893
+ ) : "") && n(a, "livelobbyendpoint", E), b[0] & /*clientstyling*/
1894
+ 512 && n(
1895
+ a,
1896
+ "clientstyling",
1897
+ /*clientstyling*/
1898
+ t[9]
1899
+ ), b[0] & /*clientstylingurl*/
1900
+ 1024 && n(
1901
+ a,
1902
+ "clientstylingurl",
1903
+ /*clientstylingurl*/
1904
+ t[10]
1905
+ ), b[0] & /*endpoint*/
1906
+ 8 && n(
1907
+ a,
1908
+ "endpoint",
1909
+ /*endpoint*/
1910
+ t[3]
1911
+ ), b[0] & /*livecasino*/
1912
+ 16384 && n(
1913
+ a,
1914
+ "livecasino",
1915
+ /*livecasino*/
1916
+ t[14]
1917
+ ), b[0] & /*gamepagemodalurl*/
1918
+ 32768 && n(
1919
+ a,
1920
+ "gamepagemodalurl",
1921
+ /*gamepagemodalurl*/
1922
+ t[15]
1923
+ ), b[0] & /*integratedgameframedesktop*/
1924
+ 65536 && n(
1925
+ a,
1926
+ "integratedgameframedesktop",
1927
+ /*integratedgameframedesktop*/
1928
+ t[16]
1929
+ ), b[0] & /*integratedgameframemobile*/
1930
+ 131072 && n(
1931
+ a,
1932
+ "integratedgameframemobile",
1933
+ /*integratedgameframemobile*/
1934
+ t[17]
1935
+ ), b[0] & /*casinogamesgridslider*/
1936
+ 1048576 && n(
1937
+ a,
1938
+ "casinogamesgridslider",
1939
+ /*casinogamesgridslider*/
1940
+ t[20]
1941
+ ), d !== /*index*/
1942
+ t[93] && (j(), d = /*index*/
1943
+ t[93], f());
1944
+ },
1945
+ d(A) {
1946
+ A && S(a), j();
1947
+ }
1948
+ };
1949
+ }
1950
+ function ua(t, a) {
1951
+ let i, o, l = hi(a);
1952
+ return {
1953
+ key: t,
1954
+ first: null,
1955
+ c() {
1956
+ i = Z(), l && l.c(), o = Z(), this.first = i;
1957
+ },
1958
+ m(s, m) {
1959
+ F(s, i, m), l && l.m(s, m), F(s, o, m);
1960
+ },
1961
+ p(s, m) {
1962
+ a = s, l.p(a, m);
1963
+ },
1964
+ d(s) {
1965
+ s && (S(i), S(o)), l && l.d(s);
1966
+ }
1967
+ };
1968
+ }
1969
+ function pi(t) {
1970
+ let a, i = (
1971
+ /*$_*/
1972
+ t[41]("searchedItems") + ""
1973
+ ), o;
1974
+ return {
1975
+ c() {
1976
+ a = C("h3"), o = U(i), h(a, "class", "StatusText");
1977
+ },
1978
+ m(l, s) {
1979
+ F(l, a, s), y(a, o);
1980
+ },
1981
+ p(l, s) {
1982
+ s[1] & /*$_*/
1983
+ 1024 && i !== (i = /*$_*/
1984
+ l[41]("searchedItems") + "") && V(o, i);
1985
+ },
1986
+ d(l) {
1987
+ l && S(a);
1988
+ }
1989
+ };
1990
+ }
1991
+ function _i(t) {
1992
+ let a, i = (
1993
+ /*$_*/
1994
+ t[41]("noResults") + ""
1995
+ ), o;
1996
+ return {
1997
+ c() {
1998
+ a = C("h3"), o = U(i), h(a, "class", "StatusText");
1999
+ },
2000
+ m(l, s) {
2001
+ F(l, a, s), y(a, o);
2002
+ },
2003
+ p(l, s) {
2004
+ s[1] & /*$_*/
2005
+ 1024 && i !== (i = /*$_*/
2006
+ l[41]("noResults") + "") && V(o, i);
2007
+ },
2008
+ d(l) {
2009
+ l && S(a);
2010
+ }
2011
+ };
2012
+ }
2013
+ function vi(t) {
2014
+ let a, i = (
2015
+ /*$_*/
2016
+ t[41]("recentSearchedItems") + ""
2017
+ ), o;
2018
+ return {
2019
+ c() {
2020
+ a = C("h3"), o = U(i), h(a, "class", "StatusText");
2021
+ },
2022
+ m(l, s) {
2023
+ F(l, a, s), y(a, o);
2024
+ },
2025
+ p(l, s) {
2026
+ s[1] & /*$_*/
2027
+ 1024 && i !== (i = /*$_*/
2028
+ l[41]("recentSearchedItems") + "") && V(o, i);
2029
+ },
2030
+ d(l) {
2031
+ l && S(a);
2032
+ }
2033
+ };
2034
+ }
2035
+ function bi(t) {
2036
+ let a;
2037
+ return {
2038
+ c() {
2039
+ a = C("p"), a.textContent = "Waiting", h(a, "class", "SearchWaiting");
2040
+ },
2041
+ m(i, o) {
2042
+ F(i, a, o);
2043
+ },
2044
+ p: _e,
2045
+ d(i) {
2046
+ i && S(a);
2047
+ }
2048
+ };
2049
+ }
2050
+ function wi(t) {
2051
+ let a, i, o = [], l = /* @__PURE__ */ new Map(), s = !/*showItems*/
2052
+ t[33] && ca(t), m = le(
2053
+ /*shownCategoryData*/
2054
+ t[27]
2055
+ );
2056
+ const c = (u) => (
2057
+ /*gameprops*/
2058
+ u[91].id
2059
+ );
2060
+ for (let u = 0; u < m.length; u += 1) {
2061
+ let g = ea(t, m, u), p = c(g);
2062
+ l.set(p, o[u] = fa(p, g));
2063
+ }
2064
+ return {
2065
+ c() {
2066
+ s && s.c(), a = Y(), i = C("ul");
2067
+ for (let u = 0; u < o.length; u += 1)
2068
+ o[u].c();
2069
+ h(i, "class", "CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap");
2070
+ },
2071
+ m(u, g) {
2072
+ s && s.m(u, g), F(u, a, g), F(u, i, g);
2073
+ for (let p = 0; p < o.length; p += 1)
2074
+ o[p] && o[p].m(i, null);
2075
+ },
2076
+ p(u, g) {
2077
+ /*showItems*/
2078
+ u[33] ? s && (s.d(1), s = null) : s ? s.p(u, g) : (s = ca(u), s.c(), s.m(a.parentNode, a)), g[0] & /*shownCategoryData, session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/
2079
+ 134479849 | g[1] & /*searchItem, addGameTag*/
2080
+ 4097 && (m = le(
2081
+ /*shownCategoryData*/
2082
+ u[27]
2083
+ ), o = ga(o, g, c, 1, u, m, l, i, da, fa, null, ea));
2084
+ },
2085
+ d(u) {
2086
+ u && (S(a), S(i)), s && s.d(u);
2087
+ for (let g = 0; g < o.length; g += 1)
2088
+ o[g].d();
2089
+ }
2090
+ };
2091
+ }
2092
+ function ca(t) {
2093
+ let a, i = (
2094
+ /*$_*/
2095
+ t[41]("noRecentSearch") + ""
2096
+ ), o;
2097
+ return {
2098
+ c() {
2099
+ a = C("p"), o = U(i), h(a, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (ve(
2100
+ /*userAgent*/
2101
+ t[42]
2102
+ ) ? "NoRecentSearchesMobile" : ""));
2103
+ },
2104
+ m(l, s) {
2105
+ F(l, a, s), y(a, o);
2106
+ },
2107
+ p(l, s) {
2108
+ s[1] & /*$_*/
2109
+ 1024 && i !== (i = /*$_*/
2110
+ l[41]("noRecentSearch") + "") && V(o, i);
2111
+ },
2112
+ d(l) {
2113
+ l && S(a);
2114
+ }
2115
+ };
2116
+ }
2117
+ function fa(t, a) {
2118
+ let i, o, l, s, m, c, u, g, p, v, G, I, w, E;
2119
+ return {
2120
+ key: t,
2121
+ first: null,
2122
+ c() {
2123
+ var d;
2124
+ i = C("casino-game-thumbnail"), n(i, "class", o = "" + (H + /*gameprops*/
2125
+ (a[91].cellSize ? (
2126
+ /*gameprops*/
2127
+ a[91].cellSize
2128
+ ) : "1x1"))), n(i, "part", l = "" + (H + /*gameprops*/
2129
+ (a[91].cellSize ? (
2130
+ /*gameprops*/
2131
+ a[91].cellSize
2132
+ ) : "1x1"))), n(
2133
+ i,
2134
+ "session",
2135
+ /*session*/
2136
+ a[6]
2137
+ ), n(
2138
+ i,
2139
+ "userid",
2140
+ /*userid*/
2141
+ a[7]
2142
+ ), n(
2143
+ i,
2144
+ "lang",
2145
+ /*lang*/
2146
+ a[5]
2147
+ ), n(
2148
+ i,
2149
+ "searchitem",
2150
+ /*searchItem*/
2151
+ a[31]
2152
+ ), n(
2153
+ i,
2154
+ "favorites",
2155
+ /*favorites*/
2156
+ a[8]
2157
+ ), n(
2158
+ i,
2159
+ "categoryid",
2160
+ /*categoryid*/
2161
+ a[0]
2162
+ ), n(i, "gamethumbnail", s = /*gameprops*/
2163
+ a[91].thumbnail), n(i, "gamename", m = /*gameprops*/
2164
+ a[91].name), n(i, "gamevendor", c = /*gameprops*/
2165
+ a[91].vendor.displayName), n(i, "gameLaunchUrl", u = /*gameprops*/
2166
+ a[91].launchUrl), n(i, "gameisnew", g = /*gameprops*/
2167
+ (d = a[91]) == null ? void 0 : d.isNew), n(i, "gametag", p = /*addGameTag*/
2168
+ a[43](
2169
+ /*gameprops*/
2170
+ a[91].advancedTags
2171
+ )), n(i, "gamecellsize", v = /*gameprops*/
2172
+ a[91].cellSize), n(i, "gameid", G = /*gameprops*/
2173
+ a[91].id), n(i, "gamefunmode", I = /*gameprops*/
2174
+ a[91].hasFunMode), n(
2175
+ i,
2176
+ "showgamename",
2177
+ /*showgamename*/
2178
+ a[13]
2179
+ ), n(
2180
+ i,
2181
+ "translationurl",
2182
+ /*translationurl*/
2183
+ a[11]
2184
+ ), n(i, "gamefavorite", w = /*gameprops*/
2185
+ a[91].isFavorite), n(
2186
+ i,
2187
+ "currency",
2188
+ /*currency*/
2189
+ a[12]
2190
+ ), n(i, "livelobbyendpoint", E = /*gameprops*/
2191
+ a[91].details ? (
2192
+ /*gameprops*/
2193
+ a[91].href
2194
+ ) : ""), n(
2195
+ i,
2196
+ "clientstyling",
2197
+ /*clientstyling*/
2198
+ a[9]
2199
+ ), n(
2200
+ i,
2201
+ "clientstylingurl",
2202
+ /*clientstylingurl*/
2203
+ a[10]
2204
+ ), n(
2205
+ i,
2206
+ "endpoint",
2207
+ /*endpoint*/
2208
+ a[3]
2209
+ ), n(
2210
+ i,
2211
+ "livecasino",
2212
+ /*livecasino*/
2213
+ a[14]
2214
+ ), n(
2215
+ i,
2216
+ "gamepagemodalurl",
2217
+ /*gamepagemodalurl*/
2218
+ a[15]
2219
+ ), n(
2220
+ i,
2221
+ "integratedgameframedesktop",
2222
+ /*integratedgameframedesktop*/
2223
+ a[16]
2224
+ ), n(
2225
+ i,
2226
+ "integratedgameframemobile",
2227
+ /*integratedgameframemobile*/
2228
+ a[17]
2229
+ ), this.first = i;
2230
+ },
2231
+ m(d, f) {
2232
+ F(d, i, f);
2233
+ },
2234
+ p(d, f) {
2235
+ var j;
2236
+ a = d, f[0] & /*shownCategoryData*/
2237
+ 134217728 && o !== (o = "" + (H + /*gameprops*/
2238
+ (a[91].cellSize ? (
2239
+ /*gameprops*/
2240
+ a[91].cellSize
2241
+ ) : "1x1"))) && n(i, "class", o), f[0] & /*shownCategoryData*/
2242
+ 134217728 && l !== (l = "" + (H + /*gameprops*/
2243
+ (a[91].cellSize ? (
2244
+ /*gameprops*/
2245
+ a[91].cellSize
2246
+ ) : "1x1"))) && n(i, "part", l), f[0] & /*session*/
2247
+ 64 && n(
2248
+ i,
2249
+ "session",
2250
+ /*session*/
2251
+ a[6]
2252
+ ), f[0] & /*userid*/
2253
+ 128 && n(
2254
+ i,
2255
+ "userid",
2256
+ /*userid*/
2257
+ a[7]
2258
+ ), f[0] & /*lang*/
2259
+ 32 && n(
2260
+ i,
2261
+ "lang",
2262
+ /*lang*/
2263
+ a[5]
2264
+ ), f[1] & /*searchItem*/
2265
+ 1 && n(
2266
+ i,
2267
+ "searchitem",
2268
+ /*searchItem*/
2269
+ a[31]
2270
+ ), f[0] & /*favorites*/
2271
+ 256 && n(
2272
+ i,
2273
+ "favorites",
2274
+ /*favorites*/
2275
+ a[8]
2276
+ ), f[0] & /*categoryid*/
2277
+ 1 && n(
2278
+ i,
2279
+ "categoryid",
2280
+ /*categoryid*/
2281
+ a[0]
2282
+ ), f[0] & /*shownCategoryData*/
2283
+ 134217728 && s !== (s = /*gameprops*/
2284
+ a[91].thumbnail) && n(i, "gamethumbnail", s), f[0] & /*shownCategoryData*/
2285
+ 134217728 && m !== (m = /*gameprops*/
2286
+ a[91].name) && n(i, "gamename", m), f[0] & /*shownCategoryData*/
2287
+ 134217728 && c !== (c = /*gameprops*/
2288
+ a[91].vendor.displayName) && n(i, "gamevendor", c), f[0] & /*shownCategoryData*/
2289
+ 134217728 && u !== (u = /*gameprops*/
2290
+ a[91].launchUrl) && n(i, "gameLaunchUrl", u), f[0] & /*shownCategoryData*/
2291
+ 134217728 && g !== (g = /*gameprops*/
2292
+ (j = a[91]) == null ? void 0 : j.isNew) && n(i, "gameisnew", g), f[0] & /*shownCategoryData*/
2293
+ 134217728 && p !== (p = /*addGameTag*/
2294
+ a[43](
2295
+ /*gameprops*/
2296
+ a[91].advancedTags
2297
+ )) && n(i, "gametag", p), f[0] & /*shownCategoryData*/
2298
+ 134217728 && v !== (v = /*gameprops*/
2299
+ a[91].cellSize) && n(i, "gamecellsize", v), f[0] & /*shownCategoryData*/
2300
+ 134217728 && G !== (G = /*gameprops*/
2301
+ a[91].id) && n(i, "gameid", G), f[0] & /*shownCategoryData*/
2302
+ 134217728 && I !== (I = /*gameprops*/
2303
+ a[91].hasFunMode) && n(i, "gamefunmode", I), f[0] & /*showgamename*/
2304
+ 8192 && n(
2305
+ i,
2306
+ "showgamename",
2307
+ /*showgamename*/
2308
+ a[13]
2309
+ ), f[0] & /*translationurl*/
2310
+ 2048 && n(
2311
+ i,
2312
+ "translationurl",
2313
+ /*translationurl*/
2314
+ a[11]
2315
+ ), f[0] & /*shownCategoryData*/
2316
+ 134217728 && w !== (w = /*gameprops*/
2317
+ a[91].isFavorite) && n(i, "gamefavorite", w), f[0] & /*currency*/
2318
+ 4096 && n(
2319
+ i,
2320
+ "currency",
2321
+ /*currency*/
2322
+ a[12]
2323
+ ), f[0] & /*shownCategoryData*/
2324
+ 134217728 && E !== (E = /*gameprops*/
2325
+ a[91].details ? (
2326
+ /*gameprops*/
2327
+ a[91].href
2328
+ ) : "") && n(i, "livelobbyendpoint", E), f[0] & /*clientstyling*/
2329
+ 512 && n(
2330
+ i,
2331
+ "clientstyling",
2332
+ /*clientstyling*/
2333
+ a[9]
2334
+ ), f[0] & /*clientstylingurl*/
2335
+ 1024 && n(
2336
+ i,
2337
+ "clientstylingurl",
2338
+ /*clientstylingurl*/
2339
+ a[10]
2340
+ ), f[0] & /*endpoint*/
2341
+ 8 && n(
2342
+ i,
2343
+ "endpoint",
2344
+ /*endpoint*/
2345
+ a[3]
2346
+ ), f[0] & /*livecasino*/
2347
+ 16384 && n(
2348
+ i,
2349
+ "livecasino",
2350
+ /*livecasino*/
2351
+ a[14]
2352
+ ), f[0] & /*gamepagemodalurl*/
2353
+ 32768 && n(
2354
+ i,
2355
+ "gamepagemodalurl",
2356
+ /*gamepagemodalurl*/
2357
+ a[15]
2358
+ ), f[0] & /*integratedgameframedesktop*/
2359
+ 65536 && n(
2360
+ i,
2361
+ "integratedgameframedesktop",
2362
+ /*integratedgameframedesktop*/
2363
+ a[16]
2364
+ ), f[0] & /*integratedgameframemobile*/
2365
+ 131072 && n(
2366
+ i,
2367
+ "integratedgameframemobile",
2368
+ /*integratedgameframemobile*/
2369
+ a[17]
2370
+ );
2371
+ },
2372
+ d(d) {
2373
+ d && S(i);
2374
+ }
2375
+ };
2376
+ }
2377
+ function ki(t) {
2378
+ let a;
2379
+ return {
2380
+ c() {
2381
+ a = C("p"), a.textContent = "500 Error - Internal Server Error.", h(a, "class", "SearchLoading");
2382
+ },
2383
+ m(i, o) {
2384
+ F(i, a, o);
2385
+ },
2386
+ d(i) {
2387
+ i && S(a);
2388
+ }
2389
+ };
2390
+ }
2391
+ function yi(t) {
2392
+ let a;
2393
+ return {
2394
+ c() {
2395
+ a = C("p"), a.textContent = "404 Error - No result found.", h(a, "class", "SearchLoading");
2396
+ },
2397
+ m(i, o) {
2398
+ F(i, a, o);
2399
+ },
2400
+ d(i) {
2401
+ i && S(a);
2402
+ }
2403
+ };
2404
+ }
2405
+ function Si(t) {
2406
+ let a;
2407
+ function i(s, m) {
2408
+ return (
2409
+ /*hasErrors*/
2410
+ s[24] ? $a : (
2411
+ /*searched*/
2412
+ s[29] ? xa : Qa
2413
+ )
2414
+ );
2415
+ }
2416
+ let o = i(t), l = o(t);
2417
+ return {
2418
+ c() {
2419
+ a = C("div"), l.c(), h(a, "class", "CasinoGamesCategorySectionContainer");
2420
+ },
2421
+ m(s, m) {
2422
+ F(s, a, m), l.m(a, null), t[57](a);
2423
+ },
2424
+ p(s, m) {
2425
+ o === (o = i(s)) && l ? l.p(s, m) : (l.d(1), l = o(s), l && (l.c(), l.m(a, null)));
2426
+ },
2427
+ i: _e,
2428
+ o: _e,
2429
+ d(s) {
2430
+ s && S(a), l.d(), t[57](null);
2431
+ }
2432
+ };
2433
+ }
2434
+ const H = "game-tile-";
2435
+ let Fi = 0;
2436
+ function Gi(t, a, i) {
2437
+ let o;
2438
+ Va(t, Ka, (r) => i(41, o = r));
2439
+ let { endpoint: l = "" } = a, { datasource: s = "" } = a, { lang: m = "" } = a, { session: c = "" } = a, { userid: u = "" } = a, { favorites: g = "" } = a, { clientstyling: p = "" } = a, { clientstylingurl: v = "" } = a, { translationurl: G = "" } = a, { currency: I = "" } = a, { categoryid: w = "" } = a, { showgamename: E = "" } = a, { livecasino: d = "false" } = a, { gamepagemodalurl: f = "true" } = a, { integratedgameframedesktop: j = "false" } = a, { integratedgameframemobile: A = "false" } = a, { casinomygames: b = "false" } = a, { addfilterselector: be = "false" } = a, { addsortingselector: we = "false" } = a, { filterbylogo: Ve = "" } = a, { casinogamesgridslider: qe = "false" } = a, { fetchviaevent: se = "false" } = a, { showallpage: Ee = "casino" } = a, { actionevent: Ae = "CategoryChange" } = a, { displayedgamecount: ke = "10" } = a, { showallbuttongamescount: ye = "10" } = a, Q = !0, je = !1, Se, Fe, $ = !0, We = window.navigator.userAgent, P, z = [], J = !0, ee = 40, K = !1, Ge = !1, Be = !1, re = !1, Re = !1, Le = !0, me = !1, ue, Te, ce, fe = !1, ae, Ce = !1, ge = new Array(1e4), de = {}, Pe = "", ie = "", Me, De, O, W = [], ze = new AbortController(), te = { items: [], count: 0, name: "" };
2440
+ const ha = () => {
2441
+ fetch(G).then((_) => _.json()).then((_) => {
2442
+ Object.keys(_).forEach((k) => {
2443
+ Ze(k, _[k]);
2444
+ });
2445
+ }).catch((_) => {
2446
+ console.log(_);
2447
+ });
2448
+ };
2449
+ Object.keys(Qe).forEach((r) => {
2450
+ Ze(r, Qe[r]);
2451
+ }), typeof document.hidden != "undefined" ? Me = "hidden" : typeof document.msHidden != "undefined" ? Me = "msHidden" : typeof document.webkitHidden != "undefined" && (Me = "webkitHidden");
2452
+ let pa = new IntersectionObserver((r) => {
2453
+ r.forEach((_) => Ie(this, null, function* () {
2454
+ let k = _.target.gameid, L = _.target.elems_index;
2455
+ _.isIntersecting ? (L * 1.2 > ee && ka(w), i(38, de[k] = 1, de)) : i(38, de[k] = 0, de);
2456
+ }));
2457
+ });
2458
+ const Ye = (r, _) => {
2459
+ let k = `${l}/v1/player/${_}/favorites/`;
2460
+ i(23, Q = !0);
2461
+ let L = {
2462
+ method: "GET",
2463
+ headers: { "X-SessionID": r }
2464
+ };
2465
+ return new Promise((D, M) => {
2466
+ fetch(k, L).then((R) => R.json()).then((R) => {
2467
+ var ne;
2468
+ if (i(23, Q = !1), O = [], R) {
2469
+ R.items.forEach((T) => {
2470
+ T.gameModel && (O.push(T), W.includes(T.id) || W.push(T.id));
2471
+ });
2472
+ const B = (ne = He(O)) == null ? void 0 : ne.length;
2473
+ window.postMessage({
2474
+ type: "UpdateFavoritesCount",
2475
+ favoriteGamesLength: B
2476
+ });
2477
+ } else
2478
+ O = [];
2479
+ w === "FAVORITES" && Ke(O), z.forEach((B) => {
2480
+ B.isFavorite = X(B.id);
2481
+ });
2482
+ let q = z;
2483
+ i(27, z = void 0), i(27, z = q), D(O);
2484
+ }).catch((R) => {
2485
+ console.error(R), M(R);
2486
+ });
2487
+ });
2488
+ }, he = (r, _, k) => {
2489
+ ze && ze.abort(), ze = new AbortController();
2490
+ const L = ze.signal;
2491
+ i(23, Q = !0);
2492
+ let D = "", M = "", R = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), q = JSON.parse(localStorage.getItem("vendorSortingBy"));
2493
+ return (r.match(/\$/g) || []).length > 1 ? (D = r.split("$").slice(0, 2).join("$"), M = new URL(`${l}/v1/casino/groups/${s}/${D}/subGroups`)) : M = new URL(`${l}/v1/casino/groups/${s}/${r}`), new Promise((ne, B) => {
2494
+ if (M.searchParams.delete("pagination"), M.searchParams.append("expand", "games(vendor)"), M.searchParams.append("fields", "id,name,games"), M.searchParams.append("platform", Wa(We)), M.searchParams.append("pagination", `games(offset=${_},limit=${k})`), M.searchParams.append("language", m), window.postMessage({ type: "CategoryVendors", categoryid: r }, window.location.href), R && R[r])
2495
+ if (R[r].length && $ === !1 && fe === !1) {
2496
+ let T = "";
2497
+ i(32, Re = !0), R[r].forEach((pe) => {
2498
+ T = T + (T ? `,games(vendor(id=${pe}))` : `games(vendor(id=${pe}))`);
2499
+ }), M.searchParams.append("filter", `${T}`);
2500
+ } else
2501
+ i(32, Re = !1);
2502
+ q && (q[r] ? q[r] && q[r] != "All" && (q[r] == "isNew" || q[r] == "advancedTags(name(hot))" ? (M.searchParams.append("sortedField", `games(${q[r]})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${q[r]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (M.searchParams.append("sortedField", `games(${ie})`), M.searchParams.append("orderBy", "DES")) : M.searchParams.append("sortedField", `games(${ie})`))), fetch(M, { signal: L }).then((T) => T.json()).then((T) => {
2503
+ L.aborted || (i(23, Q = !1), (r.match(/\$/g) || []).length > 1 && (T = T.items.filter((pe) => {
2504
+ if (pe.id == r) return pe;
2505
+ })[0]), i(50, De = !0), i(24, je = !1), Te = T.games.total, i(34, me = !0), ne(T));
2506
+ }).catch((T) => {
2507
+ T.name !== "AbortError" && (i(24, je = !0), console.error(T), B(T));
2508
+ });
2509
+ });
2510
+ }, _a = (r, _, k) => {
2511
+ r !== "" && (i(29, K = !1), i(25, $ = !0), i(1, be = "false"), i(2, we = "false"), i(31, re = !1), Ce = !1, i(28, J = +_ > +k), he(r, 0, +_).then((L) => {
2512
+ i(26, P = L), i(27, z = P.games.items), z && z.forEach((D) => {
2513
+ D.isFavorite = X(D.id);
2514
+ });
2515
+ }));
2516
+ }, Ue = (r) => {
2517
+ if (r.data)
2518
+ switch (r.data.type) {
2519
+ case "MostPlayedData":
2520
+ w == "MOSTPLAYED" && (i(29, K = !1), i(25, $ = !1), i(28, J = !1), i(27, z = r.data.mostPlayedGames), i(26, P = {
2521
+ id: "MOSTPLAYED",
2522
+ name: "Most Played Games",
2523
+ games: {
2524
+ count: r.data.mostPlayedGames.length,
2525
+ total: r.data.mostPlayedGames.length,
2526
+ items: r.data.mostPlayedGames
2527
+ }
2528
+ })), i(23, Q = !1);
2529
+ break;
2530
+ case "LastPlayedData":
2531
+ w == "LASTPLAYED" && (i(29, K = !1), i(25, $ = !1), i(28, J = !1), i(27, z = r.data.lastPlayedGames), i(26, P = {
2532
+ id: "LASTPLAYED",
2533
+ name: "Last Played Games",
2534
+ games: {
2535
+ count: r.data.lastPlayedGames.length,
2536
+ total: r.data.lastPlayedGames.length,
2537
+ items: r.data.lastPlayedGames
2538
+ }
2539
+ })), i(23, Q = !1);
2540
+ break;
2541
+ case "CustomOperatorData":
2542
+ r.data.operatordetail;
2543
+ break;
2544
+ case "RecentSearchData":
2545
+ i(29, K = !0), i(30, Ge = !0), r.data.searchData.length > 0 ? (i(27, z = r.data.searchData), i(33, Le = !0), z && z.forEach((_) => {
2546
+ _.isFavorite = X(_.id);
2547
+ })) : (i(27, z = []), i(33, Le = !1));
2548
+ break;
2549
+ case "OutOfRecentSearches":
2550
+ i(29, K = !1), i(30, Ge = !1);
2551
+ break;
2552
+ case "SearchData":
2553
+ i(29, K = !0), i(30, Ge = !1), i(27, z = r.data.searchData.items || []), i(31, re = !0), r.data.receivedFavoriteResults && (O = r.data.receivedFavoriteResults.items), z && z.forEach((_) => {
2554
+ _.isFavorite = X(_.id);
2555
+ });
2556
+ break;
2557
+ case `CategoryData_${w}`:
2558
+ i(29, K = !1), i(25, $ = !0), i(1, be = "false"), i(2, we = "false"), i(31, re = !1), Ce = !1, r.data.receivedFavoriteResults && (O = r.data.receivedFavoriteResults.items), he(r.data.categoryId, 0, r.data.visiblegames).then((_) => {
2559
+ i(26, P = _), i(27, z = P.games.items), Te <= r.data.visiblegames ? i(28, J = !1) : i(28, J = !0), z && z.forEach((k) => {
2560
+ k.isFavorite = X(k.id);
2561
+ });
2562
+ });
2563
+ break;
2564
+ case "CategoryChange":
2565
+ ee = 20;
2566
+ break;
2567
+ case "ApplySorter":
2568
+ i(0, w = r.data.itemId), ie = r.data.sortBy, he(w, 0, ee).then((_) => {
2569
+ i(26, P = _), i(27, z = P.games.items), i(28, J = !1);
2570
+ });
2571
+ break;
2572
+ case "CategoryUpdate":
2573
+ Je(r.data.itemId);
2574
+ break;
2575
+ case `SetUnfavoredGame${w}`:
2576
+ wa(`${l}/v1/player/${u}/favorites`, c, r.data.id);
2577
+ break;
2578
+ case `SetFavoredGame${w}`:
2579
+ ba(`${l}/v1/player/${u}/favorites`, c, r.data.id);
2580
+ break;
2581
+ case "UserSessionID":
2582
+ Se = r.data.session, Fe = r.data.userID, g == "true" && Fe && Fe.length && Se && Se.length > 0 && Ye(Se, Fe);
2583
+ break;
2584
+ case "UpdateFavoredList":
2585
+ w === "FAVORITES" && Oe(r.data.url, r.data.sessionID);
2586
+ break;
2587
+ }
2588
+ }, Je = (r) => {
2589
+ i(29, K = !1), i(25, $ = !1), i(31, re = !1), Ce = !0, i(34, me = !1), i(0, w = r), w !== "MOSTPLAYED" && i(28, J = !1), b !== "true" && he(w, 0, ee).then((_) => {
2590
+ i(26, P = _), P.games.items.forEach((k) => {
2591
+ k.isFavorite = X(k.id);
2592
+ }), i(27, z = P.games.items), i(28, J = !1), z.length < 10 && e.data.origin == !1 && (Be = !0, setTimeout(
2593
+ () => {
2594
+ window.postMessage({ type: "WidgetTopReference", scrollTop: Be }, window.location.href);
2595
+ },
2596
+ 500
2597
+ ));
2598
+ });
2599
+ }, va = () => {
2600
+ P && (i(27, z = P.games.items), z.forEach((r) => {
2601
+ r.isFavorite = X(r.id);
2602
+ }));
2603
+ }, X = (r) => {
2604
+ var _;
2605
+ return (_ = O == null ? void 0 : O.some((k) => k.id === r)) != null ? _ : !1;
2606
+ };
2607
+ let ba = (r, _, k) => Ie(this, null, function* () {
2608
+ yield Oe(r, _), W.includes(k) || W.push(k);
2609
+ let D = {
2610
+ method: "POST",
2611
+ headers: {
2612
+ "X-SessionID": _,
2613
+ "Content-Type": "application/json",
2614
+ Accept: "application/json"
2615
+ },
2616
+ body: JSON.stringify({ items: W })
2617
+ };
2618
+ fetch(r, D).then((M) => M.json()).then(() => {
2619
+ window.postMessage({ type: `AddFavoriteThumbnail_${k}` }, window.location.href);
2620
+ }).catch((M) => {
2621
+ console.error("Err", M);
2622
+ });
2623
+ });
2624
+ const wa = (r, _, k) => {
2625
+ let L = {
2626
+ method: "DELETE",
2627
+ headers: { "X-SessionID": _ }
2628
+ };
2629
+ fetch(`${r}/${k}`, L).then((D) => D.json()).then(() => {
2630
+ window.postMessage(
2631
+ {
2632
+ type: `RemoveFavoriteThumbnail_${k}`
2633
+ },
2634
+ window.location.href
2635
+ ), Oe(r, _);
2636
+ }), W.includes(k) && (W = W.filter((D) => D != k));
2637
+ }, Oe = (r, _) => Ie(this, null, function* () {
2638
+ return fetch(r, {
2639
+ method: "GET",
2640
+ headers: { "X-SessionID": _ }
2641
+ }).then((L) => L.json()).then((L) => {
2642
+ var M;
2643
+ O = L.items, se ? (O.forEach((R) => {
2644
+ W.includes(R.id) || W.push(R.id);
2645
+ }), va()) : O.forEach((R) => {
2646
+ R.isFavorite = X(R.id);
2647
+ });
2648
+ const D = (M = He(O)) == null ? void 0 : M.length;
2649
+ w === "FAVORITES" && (window.postMessage({
2650
+ type: "UpdateFavoritesCount",
2651
+ favoriteGamesLength: D
2652
+ }), Ke(O));
2653
+ }).catch((L) => {
2654
+ console.error(L);
2655
+ });
2656
+ }), Ke = (r) => {
2657
+ if (!r) return;
2658
+ let _;
2659
+ _ = (r == null ? void 0 : r.items) || r || [], _.length > 0 && _.forEach((k) => {
2660
+ k.gameModel && (k.gameModel.isFavorite = !0);
2661
+ }), i(40, te.items = He(_, te.items), te), i(40, te.name = "Favorites", te), i(23, Q = !1);
2662
+ }, ka = (r) => {
2663
+ ee += 1, i(34, me = !0), ee <= Te && he(r, Fi, ee).then((_) => {
2664
+ i(26, P = _), P.games.items.length > z.length && (i(27, z = P.games.items), z.forEach((k) => {
2665
+ k.isFavorite = X(k.id);
2666
+ })), i(34, me = !1);
2667
+ });
2668
+ }, ya = (r) => {
2669
+ const _ = r != null ? r : [];
2670
+ if ((_ == null ? void 0 : _.length) === 0) return "";
2671
+ let k = "", L = 999999999999, D;
2672
+ const M = new Date(Date.now());
2673
+ return _.forEach((R, q) => {
2674
+ const ne = new Date(R.schedules[0].startTime), B = new Date(R.schedules[0].endTime);
2675
+ Ne(B).diff(M) < L && (L = Ne(B).diff(M), D = q), Ne(M).isAfter(ne) && Ne(M).isBefore(B) && (k = _[D].name);
2676
+ }), k;
2677
+ }, Xe = (r) => {
2678
+ window.postMessage(
2679
+ {
2680
+ type: `${Ae}`,
2681
+ itemId: r,
2682
+ showallpage: Ee
2683
+ },
2684
+ window.location.href
2685
+ );
2686
+ }, Sa = () => {
2687
+ switch (w) {
2688
+ case "FAVORITES":
2689
+ u && c && i(37, fe = !0);
2690
+ break;
2691
+ case "MOSTPLAYED":
2692
+ b === "false" && u && c && i(37, fe = !1);
2693
+ break;
2694
+ case "LASTPLAYED":
2695
+ b === "false" && u && c && i(37, fe = !1);
2696
+ break;
2697
+ default:
2698
+ Je(w);
2699
+ break;
2700
+ }
2701
+ }, Fa = () => {
2702
+ document[Me] ? i(39, Pe = "disconnect") : i(39, Pe = "connect");
2703
+ }, Ga = () => {
2704
+ Ce && ge.forEach((r, _) => {
2705
+ r && (r.elems_index = _, pa.observe(r));
2706
+ });
2707
+ }, Ca = () => {
2708
+ Xa(m);
2709
+ }, Ma = () => {
2710
+ let r = document.createElement("style");
2711
+ r.innerHTML = p, ae.appendChild(r);
2712
+ }, za = () => {
2713
+ let r = new URL(v), _ = document.createElement("style");
2714
+ fetch(r.href).then((k) => k.text()).then((k) => {
2715
+ _.innerHTML = k, setTimeout(
2716
+ () => {
2717
+ ae.appendChild(_);
2718
+ },
2719
+ 1
2720
+ );
2721
+ });
2722
+ };
2723
+ qa(() => (window.addEventListener("visibilitychange", (r) => Fa()), window.addEventListener("message", Ue, !1), () => {
2724
+ window.removeEventListener("message", Ue), window.removeEventListener("visibilitychange", Ue);
2725
+ }));
2726
+ function Ia(r) {
2727
+ oe[r ? "unshift" : "push"](() => {
2728
+ ce = r, i(36, ce);
2729
+ });
2730
+ }
2731
+ const Na = (r) => Xe(P.id);
2732
+ function Ea(r, _) {
2733
+ oe[r ? "unshift" : "push"](() => {
2734
+ ge[_] = r, i(22, ge);
2735
+ });
2736
+ }
2737
+ function Aa(r) {
2738
+ oe[r ? "unshift" : "push"](() => {
2739
+ ue = r, i(35, ue);
2740
+ });
2741
+ }
2742
+ function ja(r) {
2743
+ oe[r ? "unshift" : "push"](() => {
2744
+ ce = r, i(36, ce);
2745
+ });
2746
+ }
2747
+ function Ra(r) {
2748
+ oe[r ? "unshift" : "push"](() => {
2749
+ ue = r, i(35, ue);
2750
+ });
2751
+ }
2752
+ function La(r) {
2753
+ oe[r ? "unshift" : "push"](() => {
2754
+ ae = r, i(21, ae);
2755
+ });
2756
+ }
2757
+ return t.$$set = (r) => {
2758
+ "endpoint" in r && i(3, l = r.endpoint), "datasource" in r && i(4, s = r.datasource), "lang" in r && i(5, m = r.lang), "session" in r && i(6, c = r.session), "userid" in r && i(7, u = r.userid), "favorites" in r && i(8, g = r.favorites), "clientstyling" in r && i(9, p = r.clientstyling), "clientstylingurl" in r && i(10, v = r.clientstylingurl), "translationurl" in r && i(11, G = r.translationurl), "currency" in r && i(12, I = r.currency), "categoryid" in r && i(0, w = r.categoryid), "showgamename" in r && i(13, E = r.showgamename), "livecasino" in r && i(14, d = r.livecasino), "gamepagemodalurl" in r && i(15, f = r.gamepagemodalurl), "integratedgameframedesktop" in r && i(16, j = r.integratedgameframedesktop), "integratedgameframemobile" in r && i(17, A = r.integratedgameframemobile), "casinomygames" in r && i(18, b = r.casinomygames), "addfilterselector" in r && i(1, be = r.addfilterselector), "addsortingselector" in r && i(2, we = r.addsortingselector), "filterbylogo" in r && i(19, Ve = r.filterbylogo), "casinogamesgridslider" in r && i(20, qe = r.casinogamesgridslider), "fetchviaevent" in r && i(45, se = r.fetchviaevent), "showallpage" in r && i(46, Ee = r.showallpage), "actionevent" in r && i(47, Ae = r.actionevent), "displayedgamecount" in r && i(48, ke = r.displayedgamecount), "showallbuttongamescount" in r && i(49, ye = r.showallbuttongamescount);
2759
+ }, t.$$.update = () => {
2760
+ t.$$.dirty[0] & /*lang*/
2761
+ 32 && m && Ca(), t.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
2762
+ 57 | t.$$.dirty[1] & /*fetchviaevent, displayedgamecount, showallbuttongamescount*/
2763
+ 409600 && (se === "false" || se === "") && l && m && w && s && ke && ye && _a(w, ke, ye), t.$$.dirty[0] & /*favorites, endpoint, session, userid*/
2764
+ 456 && g === "true" && l && c && u && Ye(c, u), t.$$.dirty[0] & /*thumbnailContainer*/
2765
+ 4194304 | t.$$.dirty[1] & /*dataloaded*/
2766
+ 524288 && De && ge && Ga(), t.$$.dirty[0] & /*lang, categoryid*/
2767
+ 33 && m && w && Sa(), t.$$.dirty[0] & /*translationurl*/
2768
+ 2048 && G && ha(), t.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2769
+ 2097664 && p && ae && Ma(), t.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2770
+ 2098176 && v && ae && za();
2771
+ }, [
2772
+ w,
2773
+ be,
2774
+ we,
2775
+ l,
2776
+ s,
2777
+ m,
2778
+ c,
2779
+ u,
2780
+ g,
2781
+ p,
2782
+ v,
2783
+ G,
2784
+ I,
2785
+ E,
2786
+ d,
2787
+ f,
2788
+ j,
2789
+ A,
2790
+ b,
2791
+ Ve,
2792
+ qe,
2793
+ ae,
2794
+ ge,
2795
+ Q,
2796
+ je,
2797
+ $,
2798
+ P,
2799
+ z,
2800
+ J,
2801
+ K,
2802
+ Ge,
2803
+ re,
2804
+ Re,
2805
+ Le,
2806
+ me,
2807
+ ue,
2808
+ ce,
2809
+ fe,
2810
+ de,
2811
+ Pe,
2812
+ te,
2813
+ o,
2814
+ We,
2815
+ ya,
2816
+ Xe,
2817
+ se,
2818
+ Ee,
2819
+ Ae,
2820
+ ke,
2821
+ ye,
2822
+ De,
2823
+ Ia,
2824
+ Na,
2825
+ Ea,
2826
+ Aa,
2827
+ ja,
2828
+ Ra,
2829
+ La
2830
+ ];
2831
+ }
2832
+ class Ci extends Da {
2833
+ constructor(a) {
2834
+ super(), Ua(
2835
+ this,
2836
+ a,
2837
+ Gi,
2838
+ Si,
2839
+ Oa,
2840
+ {
2841
+ endpoint: 3,
2842
+ datasource: 4,
2843
+ lang: 5,
2844
+ session: 6,
2845
+ userid: 7,
2846
+ favorites: 8,
2847
+ clientstyling: 9,
2848
+ clientstylingurl: 10,
2849
+ translationurl: 11,
2850
+ currency: 12,
2851
+ categoryid: 0,
2852
+ showgamename: 13,
2853
+ livecasino: 14,
2854
+ gamepagemodalurl: 15,
2855
+ integratedgameframedesktop: 16,
2856
+ integratedgameframemobile: 17,
2857
+ casinomygames: 18,
2858
+ addfilterselector: 1,
2859
+ addsortingselector: 2,
2860
+ filterbylogo: 19,
2861
+ casinogamesgridslider: 20,
2862
+ fetchviaevent: 45,
2863
+ showallpage: 46,
2864
+ actionevent: 47,
2865
+ displayedgamecount: 48,
2866
+ showallbuttongamescount: 49
2867
+ },
2868
+ Za,
2869
+ [-1, -1, -1, -1]
2870
+ );
2871
+ }
2872
+ get endpoint() {
2873
+ return this.$$.ctx[3];
2874
+ }
2875
+ set endpoint(a) {
2876
+ this.$$set({ endpoint: a }), N();
2877
+ }
2878
+ get datasource() {
2879
+ return this.$$.ctx[4];
2880
+ }
2881
+ set datasource(a) {
2882
+ this.$$set({ datasource: a }), N();
2883
+ }
2884
+ get lang() {
2885
+ return this.$$.ctx[5];
2886
+ }
2887
+ set lang(a) {
2888
+ this.$$set({ lang: a }), N();
2889
+ }
2890
+ get session() {
2891
+ return this.$$.ctx[6];
2892
+ }
2893
+ set session(a) {
2894
+ this.$$set({ session: a }), N();
2895
+ }
2896
+ get userid() {
2897
+ return this.$$.ctx[7];
2898
+ }
2899
+ set userid(a) {
2900
+ this.$$set({ userid: a }), N();
2901
+ }
2902
+ get favorites() {
2903
+ return this.$$.ctx[8];
2904
+ }
2905
+ set favorites(a) {
2906
+ this.$$set({ favorites: a }), N();
2907
+ }
2908
+ get clientstyling() {
2909
+ return this.$$.ctx[9];
2910
+ }
2911
+ set clientstyling(a) {
2912
+ this.$$set({ clientstyling: a }), N();
2913
+ }
2914
+ get clientstylingurl() {
2915
+ return this.$$.ctx[10];
2916
+ }
2917
+ set clientstylingurl(a) {
2918
+ this.$$set({ clientstylingurl: a }), N();
2919
+ }
2920
+ get translationurl() {
2921
+ return this.$$.ctx[11];
2922
+ }
2923
+ set translationurl(a) {
2924
+ this.$$set({ translationurl: a }), N();
2925
+ }
2926
+ get currency() {
2927
+ return this.$$.ctx[12];
2928
+ }
2929
+ set currency(a) {
2930
+ this.$$set({ currency: a }), N();
2931
+ }
2932
+ get categoryid() {
2933
+ return this.$$.ctx[0];
2934
+ }
2935
+ set categoryid(a) {
2936
+ this.$$set({ categoryid: a }), N();
2937
+ }
2938
+ get showgamename() {
2939
+ return this.$$.ctx[13];
2940
+ }
2941
+ set showgamename(a) {
2942
+ this.$$set({ showgamename: a }), N();
2943
+ }
2944
+ get livecasino() {
2945
+ return this.$$.ctx[14];
2946
+ }
2947
+ set livecasino(a) {
2948
+ this.$$set({ livecasino: a }), N();
2949
+ }
2950
+ get gamepagemodalurl() {
2951
+ return this.$$.ctx[15];
2952
+ }
2953
+ set gamepagemodalurl(a) {
2954
+ this.$$set({ gamepagemodalurl: a }), N();
2955
+ }
2956
+ get integratedgameframedesktop() {
2957
+ return this.$$.ctx[16];
2958
+ }
2959
+ set integratedgameframedesktop(a) {
2960
+ this.$$set({ integratedgameframedesktop: a }), N();
2961
+ }
2962
+ get integratedgameframemobile() {
2963
+ return this.$$.ctx[17];
2964
+ }
2965
+ set integratedgameframemobile(a) {
2966
+ this.$$set({ integratedgameframemobile: a }), N();
2967
+ }
2968
+ get casinomygames() {
2969
+ return this.$$.ctx[18];
2970
+ }
2971
+ set casinomygames(a) {
2972
+ this.$$set({ casinomygames: a }), N();
2973
+ }
2974
+ get addfilterselector() {
2975
+ return this.$$.ctx[1];
2976
+ }
2977
+ set addfilterselector(a) {
2978
+ this.$$set({ addfilterselector: a }), N();
2979
+ }
2980
+ get addsortingselector() {
2981
+ return this.$$.ctx[2];
2982
+ }
2983
+ set addsortingselector(a) {
2984
+ this.$$set({ addsortingselector: a }), N();
2985
+ }
2986
+ get filterbylogo() {
2987
+ return this.$$.ctx[19];
2988
+ }
2989
+ set filterbylogo(a) {
2990
+ this.$$set({ filterbylogo: a }), N();
2991
+ }
2992
+ get casinogamesgridslider() {
2993
+ return this.$$.ctx[20];
2994
+ }
2995
+ set casinogamesgridslider(a) {
2996
+ this.$$set({ casinogamesgridslider: a }), N();
2997
+ }
2998
+ get fetchviaevent() {
2999
+ return this.$$.ctx[45];
3000
+ }
3001
+ set fetchviaevent(a) {
3002
+ this.$$set({ fetchviaevent: a }), N();
3003
+ }
3004
+ get showallpage() {
3005
+ return this.$$.ctx[46];
3006
+ }
3007
+ set showallpage(a) {
3008
+ this.$$set({ showallpage: a }), N();
3009
+ }
3010
+ get actionevent() {
3011
+ return this.$$.ctx[47];
3012
+ }
3013
+ set actionevent(a) {
3014
+ this.$$set({ actionevent: a }), N();
3015
+ }
3016
+ get displayedgamecount() {
3017
+ return this.$$.ctx[48];
3018
+ }
3019
+ set displayedgamecount(a) {
3020
+ this.$$set({ displayedgamecount: a }), N();
3021
+ }
3022
+ get showallbuttongamescount() {
3023
+ return this.$$.ctx[49];
3024
+ }
3025
+ set showallbuttongamescount(a) {
3026
+ this.$$set({ showallbuttongamescount: a }), N();
3027
+ }
3028
+ }
3029
+ Ja(Ci, { endpoint: {}, datasource: {}, lang: {}, session: {}, userid: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, categoryid: {}, showgamename: {}, livecasino: {}, gamepagemodalurl: {}, integratedgameframedesktop: {}, integratedgameframemobile: {}, casinomygames: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, casinogamesgridslider: {}, fetchviaevent: {}, showallpage: {}, actionevent: {}, displayedgamecount: {}, showallbuttongamescount: {} }, [], [], !0);
3030
+ export {
3031
+ Ci as default
3032
+ };