@everymatrix/casino-most-played-section 1.45.0 → 1.45.3

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,3018 @@
1
+ var ze = (n, a, i) => new Promise((t, l) => {
2
+ var s = (f) => {
3
+ try {
4
+ u(i.next(f));
5
+ } catch (g) {
6
+ l(g);
7
+ }
8
+ }, m = (f) => {
9
+ try {
10
+ u(i.throw(f));
11
+ } catch (g) {
12
+ l(g);
13
+ }
14
+ }, u = (f) => f.done ? t(f.value) : Promise.resolve(f.value).then(s, m);
15
+ u((i = i.apply(n, a)).next());
16
+ });
17
+ import { a as ja, $ as Ra, S as La, i as Pa, f as N, c as Da, s as Ua, b as Oa, e as M, h, k as F, n as _e, o as G, p as Ha, q as Va, w as qa, D as Wa, x as oe, d as Y, v as ve, l as S, u as x, A as Ba, t as L, m as V, y as le, z as Oe, E as o, C as Q, r as Ya } from "./CasinoFilter-H10ltJK5.js";
18
+ import { h as Ie } from "./CasinoGameThumbnail-Rw5tSb-a.js";
19
+ function Xe(n, a) {
20
+ ja(n, a);
21
+ }
22
+ function Ja(n) {
23
+ Ra.set(n);
24
+ }
25
+ const Ze = {
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
+ };
211
+ if (typeof window != "undefined") {
212
+ let n = function(a) {
213
+ return function(...i) {
214
+ try {
215
+ return a.apply(this, i);
216
+ } catch (t) {
217
+ if (t instanceof DOMException && t.message.includes("has already been used with this registry") || t.message.includes("Cannot define multiple custom elements with the same tag name"))
218
+ return !1;
219
+ throw t;
220
+ }
221
+ };
222
+ };
223
+ customElements.define = n(customElements.define), import("./CasinoGameThumbnail-Rw5tSb-a.js").then((a) => a.C).then(({ default: a }) => {
224
+ !customElements.get("casino-game-thumbnail") && customElements.define("casino-game-thumbnail", a.element);
225
+ });
226
+ }
227
+ if (typeof window != "undefined") {
228
+ let n = function(a) {
229
+ return function(...i) {
230
+ try {
231
+ return a.apply(this, i);
232
+ } catch (t) {
233
+ if (t instanceof DOMException && t.message.includes("has already been used with this registry") || t.message.includes("Cannot define multiple custom elements with the same tag name"))
234
+ return !1;
235
+ throw t;
236
+ }
237
+ };
238
+ };
239
+ customElements.define = n(customElements.define), import("./CasinoFilter-H10ltJK5.js").then((a) => a.G).then(({ default: a }) => {
240
+ !customElements.get("casino-filter") && customElements.define("casino-filter", a.element);
241
+ });
242
+ }
243
+ if (typeof window != "undefined") {
244
+ let n = function(a) {
245
+ return function(...i) {
246
+ try {
247
+ return a.apply(this, i);
248
+ } catch (t) {
249
+ if (t instanceof DOMException && t.message.includes("has already been used with this registry") || t.message.includes("Cannot define multiple custom elements with the same tag name"))
250
+ return !1;
251
+ throw t;
252
+ }
253
+ };
254
+ };
255
+ customElements.define = n(customElements.define), import("./CasinoSort-B9WD46q7.js").then(({ default: a }) => {
256
+ !customElements.get("casino-sort") && customElements.define("casino-sort", a.element);
257
+ });
258
+ }
259
+ function Ka(n) {
260
+ Oa(n, "svelte-chsu0i", '*,*::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(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-casino-typography, var(--emfe-w-color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emfe-w-casino-typography, var(--emfe-w-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(--emfe-w-casino-typography, var(--emfe-w-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(--emfe-w-casino-typography, var(--emfe-w-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(--emfe-w-casino-typography, var(--emfe-w-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(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C)) transparent var(--emfe-w-casino-color-primary, var(--emfe-w-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){.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}}');
261
+ }
262
+ function Qe(n, a, i) {
263
+ const t = n.slice();
264
+ return t[91] = a[i], t[93] = i, t;
265
+ }
266
+ function xe(n, a, i) {
267
+ const t = n.slice();
268
+ return t[91] = a[i], t[94] = a, t[93] = i, t;
269
+ }
270
+ function $e(n, a, i) {
271
+ const t = n.slice();
272
+ return t[91] = a[i], t[93] = i, t;
273
+ }
274
+ function Xa(n) {
275
+ let a;
276
+ function i(s, m) {
277
+ if (
278
+ /*categoryData*/
279
+ s[26]
280
+ ) return $a;
281
+ if (
282
+ /*showFavGamesCategory*/
283
+ s[37]
284
+ ) return xa;
285
+ }
286
+ let t = i(n), l = t && t(n);
287
+ return {
288
+ c() {
289
+ a = M("div"), l && l.c();
290
+ },
291
+ m(s, m) {
292
+ F(s, a, m), l && l.m(a, null);
293
+ },
294
+ p(s, m) {
295
+ t === (t = i(s)) && l ? l.p(s, m) : (l && l.d(1), l = t && t(s), l && (l.c(), l.m(a, null)));
296
+ },
297
+ d(s) {
298
+ s && G(a), l && l.d();
299
+ }
300
+ };
301
+ }
302
+ function Za(n) {
303
+ let a, i, t;
304
+ function l(p, b) {
305
+ return (
306
+ /*recentSearched*/
307
+ p[30] ? pi : (
308
+ /*shownCategoryData*/
309
+ p[27].length ? di : hi
310
+ )
311
+ );
312
+ }
313
+ let s = l(n), m = s(n);
314
+ function u(p, b) {
315
+ return (
316
+ /*shownCategoryData*/
317
+ p[27] ? vi : _i
318
+ );
319
+ }
320
+ let f = u(n), g = f(n);
321
+ return {
322
+ c() {
323
+ a = M("div"), i = M("div"), m.c(), t = Y(), g.c(), h(i, "class", "CasinoGamesHeader Searched " + (ve(
324
+ /*userAgent*/
325
+ n[42]
326
+ ) ? "CasinoGamesHeaderMobile" : "")), h(a, "class", "CasinoGamesContainer");
327
+ },
328
+ m(p, b) {
329
+ F(p, a, b), S(a, i), m.m(i, null), S(a, t), g.m(a, null);
330
+ },
331
+ p(p, b) {
332
+ s === (s = l(p)) && m ? m.p(p, b) : (m.d(1), m = s(p), m && (m.c(), m.m(i, null))), f === (f = u(p)) && g ? g.p(p, b) : (g.d(1), g = f(p), g && (g.c(), g.m(a, null)));
333
+ },
334
+ d(p) {
335
+ p && G(a), m.d(), g.d();
336
+ }
337
+ };
338
+ }
339
+ function Qa(n) {
340
+ let a;
341
+ function i(s, m) {
342
+ return (
343
+ /*presentFilters*/
344
+ s[32] ? wi : bi
345
+ );
346
+ }
347
+ let t = i(n), l = t(n);
348
+ return {
349
+ c() {
350
+ l.c(), a = x();
351
+ },
352
+ m(s, m) {
353
+ l.m(s, m), F(s, a, m);
354
+ },
355
+ p(s, m) {
356
+ t !== (t = i(s)) && (l.d(1), l = t(s), l && (l.c(), l.m(a.parentNode, a)));
357
+ },
358
+ d(s) {
359
+ s && G(a), l.d(s);
360
+ }
361
+ };
362
+ }
363
+ function xa(n) {
364
+ let a, i, t, l, s = (
365
+ /*casinomygames*/
366
+ n[18] !== "true" && ea(n)
367
+ );
368
+ function m(g, p) {
369
+ return (
370
+ /*isLoading*/
371
+ g[23] && !/*isLazyLoading*/
372
+ g[34] ? ii : (
373
+ /*favoriteGamesData*/
374
+ g[40] ? ai : ei
375
+ )
376
+ );
377
+ }
378
+ let u = m(n), f = u(n);
379
+ return {
380
+ c() {
381
+ a = M("div"), s && s.c(), i = Y(), t = M("ul"), f.c(), h(t, "class", l = /*favoriteGamesData*/
382
+ (n[40].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}"), h(a, "class", "CasinoGamesContainer");
383
+ },
384
+ m(g, p) {
385
+ F(g, a, p), s && s.m(a, null), S(a, i), S(a, t), f.m(t, null), n[56](t);
386
+ },
387
+ p(g, p) {
388
+ /*casinomygames*/
389
+ g[18] !== "true" ? s ? s.p(g, p) : (s = ea(g), s.c(), s.m(a, i)) : s && (s.d(1), s = null), u === (u = m(g)) && f ? f.p(g, p) : (f.d(1), f = u(g), f && (f.c(), f.m(t, null))), p[1] & /*favoriteGamesData*/
390
+ 512 && l !== (l = /*favoriteGamesData*/
391
+ (g[40].items.length != 0 ? "CasinoGamesGrid" : "") + " 'GamesListIncreasedGap'}") && h(t, "class", l);
392
+ },
393
+ d(g) {
394
+ g && G(a), s && s.d(), f.d(), n[56](null);
395
+ }
396
+ };
397
+ }
398
+ function $a(n) {
399
+ let a, i, t = (
400
+ /*casinomygames*/
401
+ n[18] !== "true" && la(n)
402
+ );
403
+ function l(u, f) {
404
+ return (
405
+ /*isLoading*/
406
+ u[23] && !/*isLazyLoading*/
407
+ u[34] ? fi : (
408
+ /*shownCategoryData*/
409
+ u[27].length !== 0 ? ci : ui
410
+ )
411
+ );
412
+ }
413
+ let s = l(n), m = s(n);
414
+ return {
415
+ c() {
416
+ a = M("div"), t && t.c(), i = Y(), m.c(), h(a, "class", "CasinoGamesContainer");
417
+ },
418
+ m(u, f) {
419
+ F(u, a, f), t && t.m(a, null), S(a, i), m.m(a, null);
420
+ },
421
+ p(u, f) {
422
+ /*casinomygames*/
423
+ u[18] !== "true" ? t ? t.p(u, f) : (t = la(u), t.c(), t.m(a, i)) : t && (t.d(1), t = null), s === (s = l(u)) && m ? m.p(u, f) : (m.d(1), m = s(u), m && (m.c(), m.m(a, null)));
424
+ },
425
+ d(u) {
426
+ u && G(a), t && t.d(), m.d();
427
+ }
428
+ };
429
+ }
430
+ function ea(n) {
431
+ let a, i, t = (
432
+ /*$_*/
433
+ n[41]("favorites") + ""
434
+ ), l, s, m, u, f = (
435
+ /*favoriteGamesData*/
436
+ n[40].items.length + ""
437
+ ), g, p;
438
+ return {
439
+ c() {
440
+ a = M("div"), i = M("h3"), l = L(t), s = Y(), m = M("span"), u = L("("), g = L(f), p = L(")"), h(m, "class", "CategoryFavName"), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
441
+ },
442
+ m(b, C) {
443
+ F(b, a, C), S(a, i), S(i, l), S(i, s), S(i, m), S(m, u), S(m, g), S(m, p), n[55](i);
444
+ },
445
+ p(b, C) {
446
+ C[1] & /*$_*/
447
+ 1024 && t !== (t = /*$_*/
448
+ b[41]("favorites") + "") && V(l, t), C[1] & /*favoriteGamesData*/
449
+ 512 && f !== (f = /*favoriteGamesData*/
450
+ b[40].items.length + "") && V(g, f);
451
+ },
452
+ d(b) {
453
+ b && G(a), n[55](null);
454
+ }
455
+ };
456
+ }
457
+ function ei(n) {
458
+ let a, i = (
459
+ /*$_*/
460
+ n[41]("waiting") + ""
461
+ ), t;
462
+ return {
463
+ c() {
464
+ a = M("p"), t = L(i);
465
+ },
466
+ m(l, s) {
467
+ F(l, a, s), S(a, t);
468
+ },
469
+ p(l, s) {
470
+ s[1] & /*$_*/
471
+ 1024 && i !== (i = /*$_*/
472
+ l[41]("waiting") + "") && V(t, i);
473
+ },
474
+ d(l) {
475
+ l && G(a);
476
+ }
477
+ };
478
+ }
479
+ function ai(n) {
480
+ let a, i = le(
481
+ /*favoriteGamesData*/
482
+ n[40].items
483
+ ), t = [];
484
+ for (let s = 0; s < i.length; s += 1)
485
+ t[s] = oa(Qe(n, i, s));
486
+ let l = null;
487
+ return i.length || (l = aa(n)), {
488
+ c() {
489
+ for (let s = 0; s < t.length; s += 1)
490
+ t[s].c();
491
+ a = x(), l && l.c();
492
+ },
493
+ m(s, m) {
494
+ for (let u = 0; u < t.length; u += 1)
495
+ t[u] && t[u].m(s, m);
496
+ F(s, a, m), l && l.m(s, m);
497
+ },
498
+ p(s, m) {
499
+ if (m[0] & /*session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/
500
+ 262121 | m[1] & /*favoriteGamesData, addGameTag, showFavGamesCategory, intersectingIndexes, visibilityconnect, userAgent, $_*/
501
+ 8128) {
502
+ i = le(
503
+ /*favoriteGamesData*/
504
+ s[40].items
505
+ );
506
+ let u;
507
+ for (u = 0; u < i.length; u += 1) {
508
+ const f = Qe(s, i, u);
509
+ t[u] ? t[u].p(f, m) : (t[u] = oa(f), t[u].c(), t[u].m(a.parentNode, a));
510
+ }
511
+ for (; u < t.length; u += 1)
512
+ t[u].d(1);
513
+ t.length = i.length, !i.length && l ? l.p(s, m) : i.length ? l && (l.d(1), l = null) : (l = aa(s), l.c(), l.m(a.parentNode, a));
514
+ }
515
+ },
516
+ d(s) {
517
+ s && G(a), Oe(t, s), l && l.d(s);
518
+ }
519
+ };
520
+ }
521
+ function ii(n) {
522
+ let a;
523
+ return {
524
+ c() {
525
+ a = M("div"), h(a, "class", "lds-dual-ring");
526
+ },
527
+ m(i, t) {
528
+ F(i, a, t);
529
+ },
530
+ p: _e,
531
+ d(i) {
532
+ i && G(a);
533
+ }
534
+ };
535
+ }
536
+ function aa(n) {
537
+ let a, i, t, l, s, m, u, f, g, p, b, C = (
538
+ /*$_*/
539
+ n[41]("noFavoritesTitle") + ""
540
+ ), I, k, _;
541
+ function c(A, w) {
542
+ return ve(
543
+ /*userAgent*/
544
+ A[42]
545
+ ) ? ti : ni;
546
+ }
547
+ let P = c(n)(n);
548
+ return {
549
+ c() {
550
+ a = M("p"), i = Q("svg"), t = Q("rect"), l = Q("rect"), s = Q("circle"), m = Q("path"), u = Q("path"), f = Q("path"), g = Q("path"), p = Y(), b = M("span"), I = L(C), k = Y(), P.c(), _ = Y(), h(t, "x", "1"), h(t, "y", "18.053"), h(t, "width", "90.263"), h(t, "height", "90.263"), h(t, "rx", "12"), h(t, "stroke", "var(--emfe-w-color-gray-150, #828282)"), h(t, "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(--emfe-w-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(--emfe-w-casino-color-primary, var(--emfe-w-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(--emfe-w-color-gray-150, #828282)"), h(u, "d", "M78 43h11v13H78V43z"), h(u, "stroke", "var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"), h(f, "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(f, "fill", "var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"), h(f, "stroke", "var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C))"), h(f, "stroke-linecap", "round"), h(f, "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(--emfe-w-casino-color-primary, var(--emfe-w-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(b, "class", "NoFavoriteText NoFavoriteTextHighlight"), h(a, "class", "NoFavoriteGames " + (ve(
551
+ /*userAgent*/
552
+ n[42]
553
+ ) ? "NoFavoriteGamesMobile" : ""));
554
+ },
555
+ m(A, w) {
556
+ F(A, a, w), S(a, i), S(i, t), S(i, l), S(i, s), S(i, m), S(i, u), S(i, f), S(i, g), S(a, p), S(a, b), S(b, I), S(a, k), P.m(a, null), S(a, _);
557
+ },
558
+ p(A, w) {
559
+ w[1] & /*$_*/
560
+ 1024 && C !== (C = /*$_*/
561
+ A[41]("noFavoritesTitle") + "") && V(I, C), P.p(A, w);
562
+ },
563
+ d(A) {
564
+ A && G(a), P.d();
565
+ }
566
+ };
567
+ }
568
+ function ni(n) {
569
+ let a, i = (
570
+ /*$_*/
571
+ n[41]("noFavorites") + ""
572
+ ), t;
573
+ return {
574
+ c() {
575
+ a = M("span"), t = L(i), h(a, "class", "NoFavoriteText");
576
+ },
577
+ m(l, s) {
578
+ F(l, a, s), S(a, t);
579
+ },
580
+ p(l, s) {
581
+ s[1] & /*$_*/
582
+ 1024 && i !== (i = /*$_*/
583
+ l[41]("noFavorites") + "") && V(t, i);
584
+ },
585
+ d(l) {
586
+ l && G(a);
587
+ }
588
+ };
589
+ }
590
+ function ti(n) {
591
+ let a, i = (
592
+ /*$_*/
593
+ n[41]("noFavoritesMobile") + ""
594
+ ), t;
595
+ return {
596
+ c() {
597
+ a = M("span"), t = L(i), h(a, "class", "NoFavoriteText");
598
+ },
599
+ m(l, s) {
600
+ F(l, a, s), S(a, t);
601
+ },
602
+ p(l, s) {
603
+ s[1] & /*$_*/
604
+ 1024 && i !== (i = /*$_*/
605
+ l[41]("noFavoritesMobile") + "") && V(t, i);
606
+ },
607
+ d(l) {
608
+ l && G(a);
609
+ }
610
+ };
611
+ }
612
+ function ia(n) {
613
+ let a, i = (
614
+ /*gameprops*/
615
+ n[91].gameModel.isFavorite && na(n)
616
+ );
617
+ return {
618
+ c() {
619
+ i && i.c(), a = x();
620
+ },
621
+ m(t, l) {
622
+ i && i.m(t, l), F(t, a, l);
623
+ },
624
+ p(t, l) {
625
+ /*gameprops*/
626
+ t[91].gameModel.isFavorite ? i ? i.p(t, l) : (i = na(t), i.c(), i.m(a.parentNode, a)) : i && (i.d(1), i = null);
627
+ },
628
+ d(t) {
629
+ t && G(a), i && i.d(t);
630
+ }
631
+ };
632
+ }
633
+ function na(n) {
634
+ let a, i = oi(n);
635
+ return {
636
+ c() {
637
+ i && i.c(), a = x();
638
+ },
639
+ m(t, l) {
640
+ i && i.m(t, l), F(t, a, l);
641
+ },
642
+ p(t, l) {
643
+ i.p(t, l);
644
+ },
645
+ d(t) {
646
+ t && G(a), i && i.d(t);
647
+ }
648
+ };
649
+ }
650
+ function oi(n) {
651
+ let a, i, t;
652
+ function l(u, f) {
653
+ if (f[1] & /*favoriteGamesData*/
654
+ 512 && (i = null), a == null && (a = !!ve(
655
+ /*userAgent*/
656
+ u[42]
657
+ )), a) return si;
658
+ if (i == null && (i = !!/*gameprops*/
659
+ u[91].gameModel.platform.includes("PC")), i) return li;
660
+ }
661
+ let s = l(n, [-1, -1, -1, -1]), m = s && s(n);
662
+ return {
663
+ c() {
664
+ m && m.c(), t = x();
665
+ },
666
+ m(u, f) {
667
+ m && m.m(u, f), F(u, t, f);
668
+ },
669
+ p(u, f) {
670
+ s === (s = l(u, f)) && m ? m.p(u, f) : (m && m.d(1), m = s && s(u), m && (m.c(), m.m(t.parentNode, t)));
671
+ },
672
+ d(u) {
673
+ u && G(t), m && m.d(u);
674
+ }
675
+ };
676
+ }
677
+ function li(n) {
678
+ let a, i, t, l, s, m, u, f, g, p, b, C, I, k, _;
679
+ return {
680
+ c() {
681
+ var c;
682
+ a = M("casino-game-thumbnail"), o(a, "class", i = "" + (U + /*gameprops*/
683
+ (n[91].cellSize ? (
684
+ /*gameprops*/
685
+ n[91].cellSize
686
+ ) : "1x1"))), o(a, "part", t = "" + (U + /*gameprops*/
687
+ (n[91].cellSize ? (
688
+ /*gameprops*/
689
+ n[91].cellSize
690
+ ) : "1x1"))), o(
691
+ a,
692
+ "session",
693
+ /*session*/
694
+ n[6]
695
+ ), o(
696
+ a,
697
+ "userid",
698
+ /*userid*/
699
+ n[7]
700
+ ), o(
701
+ a,
702
+ "lang",
703
+ /*lang*/
704
+ n[5]
705
+ ), o(
706
+ a,
707
+ "translationurl",
708
+ /*translationurl*/
709
+ n[11]
710
+ ), o(
711
+ a,
712
+ "favorites",
713
+ /*favorites*/
714
+ n[8]
715
+ ), o(
716
+ a,
717
+ "categoryid",
718
+ /*categoryid*/
719
+ n[0]
720
+ ), o(a, "gamethumbnail", l = /*gameprops*/
721
+ n[91].gameModel.thumbnail), o(a, "gamename", s = /*gameprops*/
722
+ n[91].gameModel.name), o(a, "gamevendor", m = /*gameprops*/
723
+ n[91].gameModel.vendor.displayName), o(a, "gameLaunchUrl", u = /*gameprops*/
724
+ n[91].launchUrl), o(a, "gameisnew", f = /*gameprops*/
725
+ n[91].gameModel.isNew), o(a, "gametag", g = /*gameprops*/
726
+ ((c = n[91].gameModel.advancedTags) == null ? void 0 : c.length) > 0 && /*addGameTag*/
727
+ n[43](
728
+ /*gameprops*/
729
+ n[91].gameModel.advancedTags
730
+ )), o(a, "gamecellsize", p = /*gameprops*/
731
+ n[91].cellSize), o(a, "gameid", b = /*gameprops*/
732
+ n[91].gameModel.id), o(a, "gamefunmode", C = /*gameprops*/
733
+ n[91].gameModel.hasFunMode), o(
734
+ a,
735
+ "showgamename",
736
+ /*showgamename*/
737
+ n[13]
738
+ ), o(a, "gamefavorite", I = /*gameprops*/
739
+ n[91].gameModel.isFavorite), o(
740
+ a,
741
+ "showfavoredcategory",
742
+ /*showFavGamesCategory*/
743
+ n[37]
744
+ ), o(a, "connectlive", k = /*intersectingIndexes*/
745
+ n[38][
746
+ /*gameprops*/
747
+ n[91].id
748
+ ] == 1 ? "connect" : "disconnect"), o(
749
+ a,
750
+ "visibilityconnect",
751
+ /*visibilityconnect*/
752
+ n[39]
753
+ ), o(
754
+ a,
755
+ "currency",
756
+ /*currency*/
757
+ n[12]
758
+ ), o(a, "livelobbyendpoint", _ = /*gameprops*/
759
+ n[91].gameModel.details ? (
760
+ /*gameprops*/
761
+ n[91].gameModel.launchUrl
762
+ ) : ""), o(
763
+ a,
764
+ "clientstyling",
765
+ /*clientstyling*/
766
+ n[9]
767
+ ), o(
768
+ a,
769
+ "clientstylingurl",
770
+ /*clientstylingurl*/
771
+ n[10]
772
+ ), o(
773
+ a,
774
+ "endpoint",
775
+ /*endpoint*/
776
+ n[3]
777
+ ), o(
778
+ a,
779
+ "livecasino",
780
+ /*livecasino*/
781
+ n[14]
782
+ ), o(
783
+ a,
784
+ "gamepagemodalurl",
785
+ /*gamepagemodalurl*/
786
+ n[15]
787
+ ), o(
788
+ a,
789
+ "integratedgameframedesktop",
790
+ /*integratedgameframedesktop*/
791
+ n[16]
792
+ ), o(
793
+ a,
794
+ "integratedgameframemobile",
795
+ /*integratedgameframemobile*/
796
+ n[17]
797
+ );
798
+ },
799
+ m(c, d) {
800
+ F(c, a, d);
801
+ },
802
+ p(c, d) {
803
+ var P;
804
+ d[1] & /*favoriteGamesData*/
805
+ 512 && i !== (i = "" + (U + /*gameprops*/
806
+ (c[91].cellSize ? (
807
+ /*gameprops*/
808
+ c[91].cellSize
809
+ ) : "1x1"))) && o(a, "class", i), d[1] & /*favoriteGamesData*/
810
+ 512 && t !== (t = "" + (U + /*gameprops*/
811
+ (c[91].cellSize ? (
812
+ /*gameprops*/
813
+ c[91].cellSize
814
+ ) : "1x1"))) && o(a, "part", t), d[0] & /*session*/
815
+ 64 && o(
816
+ a,
817
+ "session",
818
+ /*session*/
819
+ c[6]
820
+ ), d[0] & /*userid*/
821
+ 128 && o(
822
+ a,
823
+ "userid",
824
+ /*userid*/
825
+ c[7]
826
+ ), d[0] & /*lang*/
827
+ 32 && o(
828
+ a,
829
+ "lang",
830
+ /*lang*/
831
+ c[5]
832
+ ), d[0] & /*translationurl*/
833
+ 2048 && o(
834
+ a,
835
+ "translationurl",
836
+ /*translationurl*/
837
+ c[11]
838
+ ), d[0] & /*favorites*/
839
+ 256 && o(
840
+ a,
841
+ "favorites",
842
+ /*favorites*/
843
+ c[8]
844
+ ), d[0] & /*categoryid*/
845
+ 1 && o(
846
+ a,
847
+ "categoryid",
848
+ /*categoryid*/
849
+ c[0]
850
+ ), d[1] & /*favoriteGamesData*/
851
+ 512 && l !== (l = /*gameprops*/
852
+ c[91].gameModel.thumbnail) && o(a, "gamethumbnail", l), d[1] & /*favoriteGamesData*/
853
+ 512 && s !== (s = /*gameprops*/
854
+ c[91].gameModel.name) && o(a, "gamename", s), d[1] & /*favoriteGamesData*/
855
+ 512 && m !== (m = /*gameprops*/
856
+ c[91].gameModel.vendor.displayName) && o(a, "gamevendor", m), d[1] & /*favoriteGamesData*/
857
+ 512 && u !== (u = /*gameprops*/
858
+ c[91].launchUrl) && o(a, "gameLaunchUrl", u), d[1] & /*favoriteGamesData*/
859
+ 512 && f !== (f = /*gameprops*/
860
+ c[91].gameModel.isNew) && o(a, "gameisnew", f), d[1] & /*favoriteGamesData*/
861
+ 512 && g !== (g = /*gameprops*/
862
+ ((P = c[91].gameModel.advancedTags) == null ? void 0 : P.length) > 0 && /*addGameTag*/
863
+ c[43](
864
+ /*gameprops*/
865
+ c[91].gameModel.advancedTags
866
+ )) && o(a, "gametag", g), d[1] & /*favoriteGamesData*/
867
+ 512 && p !== (p = /*gameprops*/
868
+ c[91].cellSize) && o(a, "gamecellsize", p), d[1] & /*favoriteGamesData*/
869
+ 512 && b !== (b = /*gameprops*/
870
+ c[91].gameModel.id) && o(a, "gameid", b), d[1] & /*favoriteGamesData*/
871
+ 512 && C !== (C = /*gameprops*/
872
+ c[91].gameModel.hasFunMode) && o(a, "gamefunmode", C), d[0] & /*showgamename*/
873
+ 8192 && o(
874
+ a,
875
+ "showgamename",
876
+ /*showgamename*/
877
+ c[13]
878
+ ), d[1] & /*favoriteGamesData*/
879
+ 512 && I !== (I = /*gameprops*/
880
+ c[91].gameModel.isFavorite) && o(a, "gamefavorite", I), d[1] & /*showFavGamesCategory*/
881
+ 64 && o(
882
+ a,
883
+ "showfavoredcategory",
884
+ /*showFavGamesCategory*/
885
+ c[37]
886
+ ), d[1] & /*intersectingIndexes, favoriteGamesData*/
887
+ 640 && k !== (k = /*intersectingIndexes*/
888
+ c[38][
889
+ /*gameprops*/
890
+ c[91].id
891
+ ] == 1 ? "connect" : "disconnect") && o(a, "connectlive", k), d[1] & /*visibilityconnect*/
892
+ 256 && o(
893
+ a,
894
+ "visibilityconnect",
895
+ /*visibilityconnect*/
896
+ c[39]
897
+ ), d[0] & /*currency*/
898
+ 4096 && o(
899
+ a,
900
+ "currency",
901
+ /*currency*/
902
+ c[12]
903
+ ), d[1] & /*favoriteGamesData*/
904
+ 512 && _ !== (_ = /*gameprops*/
905
+ c[91].gameModel.details ? (
906
+ /*gameprops*/
907
+ c[91].gameModel.launchUrl
908
+ ) : "") && o(a, "livelobbyendpoint", _), d[0] & /*clientstyling*/
909
+ 512 && o(
910
+ a,
911
+ "clientstyling",
912
+ /*clientstyling*/
913
+ c[9]
914
+ ), d[0] & /*clientstylingurl*/
915
+ 1024 && o(
916
+ a,
917
+ "clientstylingurl",
918
+ /*clientstylingurl*/
919
+ c[10]
920
+ ), d[0] & /*endpoint*/
921
+ 8 && o(
922
+ a,
923
+ "endpoint",
924
+ /*endpoint*/
925
+ c[3]
926
+ ), d[0] & /*livecasino*/
927
+ 16384 && o(
928
+ a,
929
+ "livecasino",
930
+ /*livecasino*/
931
+ c[14]
932
+ ), d[0] & /*gamepagemodalurl*/
933
+ 32768 && o(
934
+ a,
935
+ "gamepagemodalurl",
936
+ /*gamepagemodalurl*/
937
+ c[15]
938
+ ), d[0] & /*integratedgameframedesktop*/
939
+ 65536 && o(
940
+ a,
941
+ "integratedgameframedesktop",
942
+ /*integratedgameframedesktop*/
943
+ c[16]
944
+ ), d[0] & /*integratedgameframemobile*/
945
+ 131072 && o(
946
+ a,
947
+ "integratedgameframemobile",
948
+ /*integratedgameframemobile*/
949
+ c[17]
950
+ );
951
+ },
952
+ d(c) {
953
+ c && G(a);
954
+ }
955
+ };
956
+ }
957
+ function si(n) {
958
+ let a = (
959
+ /*gameprops*/
960
+ n[91].gameModel.platform.includes("iPad") || /*gameprops*/
961
+ n[91].gameModel.platform.includes("iPhone") || /*gameprops*/
962
+ n[91].gameModel.platform.includes("Android")
963
+ ), i, t = a && ta(n);
964
+ return {
965
+ c() {
966
+ t && t.c(), i = x();
967
+ },
968
+ m(l, s) {
969
+ t && t.m(l, s), F(l, i, s);
970
+ },
971
+ p(l, s) {
972
+ s[1] & /*favoriteGamesData*/
973
+ 512 && (a = /*gameprops*/
974
+ l[91].gameModel.platform.includes("iPad") || /*gameprops*/
975
+ l[91].gameModel.platform.includes("iPhone") || /*gameprops*/
976
+ l[91].gameModel.platform.includes("Android")), a ? t ? t.p(l, s) : (t = ta(l), t.c(), t.m(i.parentNode, i)) : t && (t.d(1), t = null);
977
+ },
978
+ d(l) {
979
+ l && G(i), t && t.d(l);
980
+ }
981
+ };
982
+ }
983
+ function ta(n) {
984
+ let a, i, t, l, s, m, u, f, g, p, b, C, I, k, _;
985
+ return {
986
+ c() {
987
+ var c;
988
+ a = M("casino-game-thumbnail"), o(a, "class", i = "" + (U + /*gameprops*/
989
+ (n[91].cellSize ? (
990
+ /*gameprops*/
991
+ n[91].cellSize
992
+ ) : "1x1"))), o(a, "part", t = "" + (U + /*gameprops*/
993
+ (n[91].cellSize ? (
994
+ /*gameprops*/
995
+ n[91].cellSize
996
+ ) : "1x1"))), o(
997
+ a,
998
+ "session",
999
+ /*session*/
1000
+ n[6]
1001
+ ), o(
1002
+ a,
1003
+ "userid",
1004
+ /*userid*/
1005
+ n[7]
1006
+ ), o(
1007
+ a,
1008
+ "lang",
1009
+ /*lang*/
1010
+ n[5]
1011
+ ), o(
1012
+ a,
1013
+ "favorites",
1014
+ /*favorites*/
1015
+ n[8]
1016
+ ), o(
1017
+ a,
1018
+ "categoryid",
1019
+ /*categoryid*/
1020
+ n[0]
1021
+ ), o(a, "gamethumbnail", l = /*gameprops*/
1022
+ n[91].gameModel.thumbnail), o(a, "gamename", s = /*gameprops*/
1023
+ n[91].gameModel.name), o(a, "gamevendor", m = /*gameprops*/
1024
+ n[91].gameModel.vendor.displayName), o(a, "gameLaunchUrl", u = /*gameprops*/
1025
+ n[91].launchUrl), o(a, "gameisnew", f = /*gameprops*/
1026
+ n[91].gameModel.isNew), o(a, "gametag", g = /*gameprops*/
1027
+ ((c = n[91].gameModel.advancedTags) == null ? void 0 : c.length) > 0 && /*addGameTag*/
1028
+ n[43](
1029
+ /*gameprops*/
1030
+ n[91].gameModel.advancedTags
1031
+ )), o(a, "gamecellsize", p = /*gameprops*/
1032
+ n[91].cellSize), o(a, "gameid", b = /*gameprops*/
1033
+ n[91].gameModel.id), o(a, "gamefunmode", C = /*gameprops*/
1034
+ n[91].gameModel.hasFunMode), o(
1035
+ a,
1036
+ "showgamename",
1037
+ /*showgamename*/
1038
+ n[13]
1039
+ ), o(a, "gamefavorite", I = /*gameprops*/
1040
+ n[91].gameModel.isFavorite), o(
1041
+ a,
1042
+ "showfavoredcategory",
1043
+ /*showFavGamesCategory*/
1044
+ n[37]
1045
+ ), o(a, "connectlive", k = /*intersectingIndexes*/
1046
+ n[38][
1047
+ /*gameprops*/
1048
+ n[91].id
1049
+ ] == 1 ? "connect" : "disconnect"), o(
1050
+ a,
1051
+ "visibilityconnect",
1052
+ /*visibilityconnect*/
1053
+ n[39]
1054
+ ), o(
1055
+ a,
1056
+ "translationurl",
1057
+ /*translationurl*/
1058
+ n[11]
1059
+ ), o(
1060
+ a,
1061
+ "currency",
1062
+ /*currency*/
1063
+ n[12]
1064
+ ), o(a, "livelobbyendpoint", _ = /*gameprops*/
1065
+ n[91].gameModel.details ? (
1066
+ /*gameprops*/
1067
+ n[91].gameModel.launchUrl
1068
+ ) : ""), o(
1069
+ a,
1070
+ "clientstyling",
1071
+ /*clientstyling*/
1072
+ n[9]
1073
+ ), o(
1074
+ a,
1075
+ "clientstylingurl",
1076
+ /*clientstylingurl*/
1077
+ n[10]
1078
+ ), o(
1079
+ a,
1080
+ "endpoint",
1081
+ /*endpoint*/
1082
+ n[3]
1083
+ ), o(
1084
+ a,
1085
+ "livecasino",
1086
+ /*livecasino*/
1087
+ n[14]
1088
+ ), o(
1089
+ a,
1090
+ "gamepagemodalurl",
1091
+ /*gamepagemodalurl*/
1092
+ n[15]
1093
+ ), o(
1094
+ a,
1095
+ "integratedgameframedesktop",
1096
+ /*integratedgameframedesktop*/
1097
+ n[16]
1098
+ ), o(
1099
+ a,
1100
+ "integratedgameframemobile",
1101
+ /*integratedgameframemobile*/
1102
+ n[17]
1103
+ );
1104
+ },
1105
+ m(c, d) {
1106
+ F(c, a, d);
1107
+ },
1108
+ p(c, d) {
1109
+ var P;
1110
+ d[1] & /*favoriteGamesData*/
1111
+ 512 && i !== (i = "" + (U + /*gameprops*/
1112
+ (c[91].cellSize ? (
1113
+ /*gameprops*/
1114
+ c[91].cellSize
1115
+ ) : "1x1"))) && o(a, "class", i), d[1] & /*favoriteGamesData*/
1116
+ 512 && t !== (t = "" + (U + /*gameprops*/
1117
+ (c[91].cellSize ? (
1118
+ /*gameprops*/
1119
+ c[91].cellSize
1120
+ ) : "1x1"))) && o(a, "part", t), d[0] & /*session*/
1121
+ 64 && o(
1122
+ a,
1123
+ "session",
1124
+ /*session*/
1125
+ c[6]
1126
+ ), d[0] & /*userid*/
1127
+ 128 && o(
1128
+ a,
1129
+ "userid",
1130
+ /*userid*/
1131
+ c[7]
1132
+ ), d[0] & /*lang*/
1133
+ 32 && o(
1134
+ a,
1135
+ "lang",
1136
+ /*lang*/
1137
+ c[5]
1138
+ ), d[0] & /*favorites*/
1139
+ 256 && o(
1140
+ a,
1141
+ "favorites",
1142
+ /*favorites*/
1143
+ c[8]
1144
+ ), d[0] & /*categoryid*/
1145
+ 1 && o(
1146
+ a,
1147
+ "categoryid",
1148
+ /*categoryid*/
1149
+ c[0]
1150
+ ), d[1] & /*favoriteGamesData*/
1151
+ 512 && l !== (l = /*gameprops*/
1152
+ c[91].gameModel.thumbnail) && o(a, "gamethumbnail", l), d[1] & /*favoriteGamesData*/
1153
+ 512 && s !== (s = /*gameprops*/
1154
+ c[91].gameModel.name) && o(a, "gamename", s), d[1] & /*favoriteGamesData*/
1155
+ 512 && m !== (m = /*gameprops*/
1156
+ c[91].gameModel.vendor.displayName) && o(a, "gamevendor", m), d[1] & /*favoriteGamesData*/
1157
+ 512 && u !== (u = /*gameprops*/
1158
+ c[91].launchUrl) && o(a, "gameLaunchUrl", u), d[1] & /*favoriteGamesData*/
1159
+ 512 && f !== (f = /*gameprops*/
1160
+ c[91].gameModel.isNew) && o(a, "gameisnew", f), d[1] & /*favoriteGamesData*/
1161
+ 512 && g !== (g = /*gameprops*/
1162
+ ((P = c[91].gameModel.advancedTags) == null ? void 0 : P.length) > 0 && /*addGameTag*/
1163
+ c[43](
1164
+ /*gameprops*/
1165
+ c[91].gameModel.advancedTags
1166
+ )) && o(a, "gametag", g), d[1] & /*favoriteGamesData*/
1167
+ 512 && p !== (p = /*gameprops*/
1168
+ c[91].cellSize) && o(a, "gamecellsize", p), d[1] & /*favoriteGamesData*/
1169
+ 512 && b !== (b = /*gameprops*/
1170
+ c[91].gameModel.id) && o(a, "gameid", b), d[1] & /*favoriteGamesData*/
1171
+ 512 && C !== (C = /*gameprops*/
1172
+ c[91].gameModel.hasFunMode) && o(a, "gamefunmode", C), d[0] & /*showgamename*/
1173
+ 8192 && o(
1174
+ a,
1175
+ "showgamename",
1176
+ /*showgamename*/
1177
+ c[13]
1178
+ ), d[1] & /*favoriteGamesData*/
1179
+ 512 && I !== (I = /*gameprops*/
1180
+ c[91].gameModel.isFavorite) && o(a, "gamefavorite", I), d[1] & /*showFavGamesCategory*/
1181
+ 64 && o(
1182
+ a,
1183
+ "showfavoredcategory",
1184
+ /*showFavGamesCategory*/
1185
+ c[37]
1186
+ ), d[1] & /*intersectingIndexes, favoriteGamesData*/
1187
+ 640 && k !== (k = /*intersectingIndexes*/
1188
+ c[38][
1189
+ /*gameprops*/
1190
+ c[91].id
1191
+ ] == 1 ? "connect" : "disconnect") && o(a, "connectlive", k), d[1] & /*visibilityconnect*/
1192
+ 256 && o(
1193
+ a,
1194
+ "visibilityconnect",
1195
+ /*visibilityconnect*/
1196
+ c[39]
1197
+ ), d[0] & /*translationurl*/
1198
+ 2048 && o(
1199
+ a,
1200
+ "translationurl",
1201
+ /*translationurl*/
1202
+ c[11]
1203
+ ), d[0] & /*currency*/
1204
+ 4096 && o(
1205
+ a,
1206
+ "currency",
1207
+ /*currency*/
1208
+ c[12]
1209
+ ), d[1] & /*favoriteGamesData*/
1210
+ 512 && _ !== (_ = /*gameprops*/
1211
+ c[91].gameModel.details ? (
1212
+ /*gameprops*/
1213
+ c[91].gameModel.launchUrl
1214
+ ) : "") && o(a, "livelobbyendpoint", _), d[0] & /*clientstyling*/
1215
+ 512 && o(
1216
+ a,
1217
+ "clientstyling",
1218
+ /*clientstyling*/
1219
+ c[9]
1220
+ ), d[0] & /*clientstylingurl*/
1221
+ 1024 && o(
1222
+ a,
1223
+ "clientstylingurl",
1224
+ /*clientstylingurl*/
1225
+ c[10]
1226
+ ), d[0] & /*endpoint*/
1227
+ 8 && o(
1228
+ a,
1229
+ "endpoint",
1230
+ /*endpoint*/
1231
+ c[3]
1232
+ ), d[0] & /*livecasino*/
1233
+ 16384 && o(
1234
+ a,
1235
+ "livecasino",
1236
+ /*livecasino*/
1237
+ c[14]
1238
+ ), d[0] & /*gamepagemodalurl*/
1239
+ 32768 && o(
1240
+ a,
1241
+ "gamepagemodalurl",
1242
+ /*gamepagemodalurl*/
1243
+ c[15]
1244
+ ), d[0] & /*integratedgameframedesktop*/
1245
+ 65536 && o(
1246
+ a,
1247
+ "integratedgameframedesktop",
1248
+ /*integratedgameframedesktop*/
1249
+ c[16]
1250
+ ), d[0] & /*integratedgameframemobile*/
1251
+ 131072 && o(
1252
+ a,
1253
+ "integratedgameframemobile",
1254
+ /*integratedgameframemobile*/
1255
+ c[17]
1256
+ );
1257
+ },
1258
+ d(c) {
1259
+ c && G(a);
1260
+ }
1261
+ };
1262
+ }
1263
+ function oa(n) {
1264
+ let a, i = (
1265
+ /*gameprops*/
1266
+ n[91].gameModel && ia(n)
1267
+ );
1268
+ return {
1269
+ c() {
1270
+ i && i.c(), a = x();
1271
+ },
1272
+ m(t, l) {
1273
+ i && i.m(t, l), F(t, a, l);
1274
+ },
1275
+ p(t, l) {
1276
+ /*gameprops*/
1277
+ t[91].gameModel ? i ? i.p(t, l) : (i = ia(t), i.c(), i.m(a.parentNode, a)) : i && (i.d(1), i = null);
1278
+ },
1279
+ d(t) {
1280
+ t && G(a), i && i.d(t);
1281
+ }
1282
+ };
1283
+ }
1284
+ function la(n) {
1285
+ let a, i, t = (
1286
+ /*categoryData*/
1287
+ n[26].name + ""
1288
+ ), l, s;
1289
+ function m(g, p) {
1290
+ return (
1291
+ /*showLoadCategory*/
1292
+ g[28] ? mi : ri
1293
+ );
1294
+ }
1295
+ let u = m(n), f = u(n);
1296
+ return {
1297
+ c() {
1298
+ a = M("div"), i = M("h3"), l = L(t), s = Y(), f.c(), h(i, "class", "CategoryName"), h(a, "class", "CasinoGamesHeader");
1299
+ },
1300
+ m(g, p) {
1301
+ F(g, a, p), S(a, i), S(i, l), n[51](i), S(a, s), f.m(a, null);
1302
+ },
1303
+ p(g, p) {
1304
+ p[0] & /*categoryData*/
1305
+ 67108864 && t !== (t = /*categoryData*/
1306
+ g[26].name + "") && V(l, t), u === (u = m(g)) && f ? f.p(g, p) : (f.d(1), f = u(g), f && (f.c(), f.m(a, null)));
1307
+ },
1308
+ d(g) {
1309
+ g && G(a), n[51](null), f.d();
1310
+ }
1311
+ };
1312
+ }
1313
+ function ri(n) {
1314
+ let a, i, t, l = (
1315
+ /*addfilterselector*/
1316
+ n[1] == "true" && sa(n)
1317
+ ), s = (
1318
+ /*addsortingselector*/
1319
+ n[2] == "true" && ra(n)
1320
+ );
1321
+ return {
1322
+ c() {
1323
+ a = M("div"), l && l.c(), i = Y(), s && s.c(), h(a, "class", t = /*addfilterselector*/
1324
+ n[1] == "true" && /*addsortingselector*/
1325
+ n[2] == "true" ? "CategoryFilterContainer" : "");
1326
+ },
1327
+ m(m, u) {
1328
+ F(m, a, u), l && l.m(a, null), S(a, i), s && s.m(a, null);
1329
+ },
1330
+ p(m, u) {
1331
+ /*addfilterselector*/
1332
+ m[1] == "true" ? l ? l.p(m, u) : (l = sa(m), l.c(), l.m(a, i)) : l && (l.d(1), l = null), /*addsortingselector*/
1333
+ m[2] == "true" ? s ? s.p(m, u) : (s = ra(m), s.c(), s.m(a, null)) : s && (s.d(1), s = null), u[0] & /*addfilterselector, addsortingselector*/
1334
+ 6 && t !== (t = /*addfilterselector*/
1335
+ m[1] == "true" && /*addsortingselector*/
1336
+ m[2] == "true" ? "CategoryFilterContainer" : "") && h(a, "class", t);
1337
+ },
1338
+ d(m) {
1339
+ m && G(a), l && l.d(), s && s.d();
1340
+ }
1341
+ };
1342
+ }
1343
+ function mi(n) {
1344
+ let a, i, t = (
1345
+ /*$_*/
1346
+ n[41]("viewAll") + ""
1347
+ ), l, s, m = (
1348
+ /*categoryData*/
1349
+ n[26].games.total + ""
1350
+ ), u, f, g, p;
1351
+ return {
1352
+ c() {
1353
+ a = M("a"), i = M("span"), l = L(t), s = L(" ("), u = L(m), f = L(")"), h(i, "class", "CategoryLoadMore"), h(a, "class", "CategoryNameLink");
1354
+ },
1355
+ m(b, C) {
1356
+ F(b, a, C), S(a, i), S(i, l), S(i, s), S(i, u), S(i, f), g || (p = Ya(
1357
+ a,
1358
+ "click",
1359
+ /*click_handler*/
1360
+ n[52]
1361
+ ), g = !0);
1362
+ },
1363
+ p(b, C) {
1364
+ C[1] & /*$_*/
1365
+ 1024 && t !== (t = /*$_*/
1366
+ b[41]("viewAll") + "") && V(l, t), C[0] & /*categoryData*/
1367
+ 67108864 && m !== (m = /*categoryData*/
1368
+ b[26].games.total + "") && V(u, m);
1369
+ },
1370
+ d(b) {
1371
+ b && G(a), g = !1, p();
1372
+ }
1373
+ };
1374
+ }
1375
+ function sa(n) {
1376
+ let a;
1377
+ return {
1378
+ c() {
1379
+ a = M("casino-filter"), o(
1380
+ a,
1381
+ "clientstylingurl",
1382
+ /*clientstylingurl*/
1383
+ n[10]
1384
+ ), o(
1385
+ a,
1386
+ "clientstyling",
1387
+ /*clientstyling*/
1388
+ n[9]
1389
+ ), o(
1390
+ a,
1391
+ "endpoint",
1392
+ /*endpoint*/
1393
+ n[3]
1394
+ ), o(
1395
+ a,
1396
+ "datasource",
1397
+ /*datasource*/
1398
+ n[4]
1399
+ ), o(
1400
+ a,
1401
+ "lang",
1402
+ /*lang*/
1403
+ n[5]
1404
+ ), o(
1405
+ a,
1406
+ "categoryid",
1407
+ /*categoryid*/
1408
+ n[0]
1409
+ ), o(
1410
+ a,
1411
+ "addfilterselector",
1412
+ /*addfilterselector*/
1413
+ n[1]
1414
+ ), o(
1415
+ a,
1416
+ "addsortingselector",
1417
+ /*addsortingselector*/
1418
+ n[2]
1419
+ ), o(
1420
+ a,
1421
+ "filterbylogo",
1422
+ /*filterbylogo*/
1423
+ n[19]
1424
+ );
1425
+ },
1426
+ m(i, t) {
1427
+ F(i, a, t);
1428
+ },
1429
+ p(i, t) {
1430
+ t[0] & /*clientstylingurl*/
1431
+ 1024 && o(
1432
+ a,
1433
+ "clientstylingurl",
1434
+ /*clientstylingurl*/
1435
+ i[10]
1436
+ ), t[0] & /*clientstyling*/
1437
+ 512 && o(
1438
+ a,
1439
+ "clientstyling",
1440
+ /*clientstyling*/
1441
+ i[9]
1442
+ ), t[0] & /*endpoint*/
1443
+ 8 && o(
1444
+ a,
1445
+ "endpoint",
1446
+ /*endpoint*/
1447
+ i[3]
1448
+ ), t[0] & /*datasource*/
1449
+ 16 && o(
1450
+ a,
1451
+ "datasource",
1452
+ /*datasource*/
1453
+ i[4]
1454
+ ), t[0] & /*lang*/
1455
+ 32 && o(
1456
+ a,
1457
+ "lang",
1458
+ /*lang*/
1459
+ i[5]
1460
+ ), t[0] & /*categoryid*/
1461
+ 1 && o(
1462
+ a,
1463
+ "categoryid",
1464
+ /*categoryid*/
1465
+ i[0]
1466
+ ), t[0] & /*addfilterselector*/
1467
+ 2 && o(
1468
+ a,
1469
+ "addfilterselector",
1470
+ /*addfilterselector*/
1471
+ i[1]
1472
+ ), t[0] & /*addsortingselector*/
1473
+ 4 && o(
1474
+ a,
1475
+ "addsortingselector",
1476
+ /*addsortingselector*/
1477
+ i[2]
1478
+ ), t[0] & /*filterbylogo*/
1479
+ 524288 && o(
1480
+ a,
1481
+ "filterbylogo",
1482
+ /*filterbylogo*/
1483
+ i[19]
1484
+ );
1485
+ },
1486
+ d(i) {
1487
+ i && G(a);
1488
+ }
1489
+ };
1490
+ }
1491
+ function ra(n) {
1492
+ let a;
1493
+ return {
1494
+ c() {
1495
+ a = M("casino-sort"), o(
1496
+ a,
1497
+ "clientstylingurl",
1498
+ /*clientstylingurl*/
1499
+ n[10]
1500
+ ), o(
1501
+ a,
1502
+ "clientstyling",
1503
+ /*clientstyling*/
1504
+ n[9]
1505
+ ), o(
1506
+ a,
1507
+ "lang",
1508
+ /*lang*/
1509
+ n[5]
1510
+ ), o(
1511
+ a,
1512
+ "categoryid",
1513
+ /*categoryid*/
1514
+ n[0]
1515
+ ), o(
1516
+ a,
1517
+ "addsortingselector",
1518
+ /*addsortingselector*/
1519
+ n[2]
1520
+ );
1521
+ },
1522
+ m(i, t) {
1523
+ F(i, a, t);
1524
+ },
1525
+ p(i, t) {
1526
+ t[0] & /*clientstylingurl*/
1527
+ 1024 && o(
1528
+ a,
1529
+ "clientstylingurl",
1530
+ /*clientstylingurl*/
1531
+ i[10]
1532
+ ), t[0] & /*clientstyling*/
1533
+ 512 && o(
1534
+ a,
1535
+ "clientstyling",
1536
+ /*clientstyling*/
1537
+ i[9]
1538
+ ), t[0] & /*lang*/
1539
+ 32 && o(
1540
+ a,
1541
+ "lang",
1542
+ /*lang*/
1543
+ i[5]
1544
+ ), t[0] & /*categoryid*/
1545
+ 1 && o(
1546
+ a,
1547
+ "categoryid",
1548
+ /*categoryid*/
1549
+ i[0]
1550
+ ), t[0] & /*addsortingselector*/
1551
+ 4 && o(
1552
+ a,
1553
+ "addsortingselector",
1554
+ /*addsortingselector*/
1555
+ i[2]
1556
+ );
1557
+ },
1558
+ d(i) {
1559
+ i && G(a);
1560
+ }
1561
+ };
1562
+ }
1563
+ function ui(n) {
1564
+ let a, i = (
1565
+ /*$_*/
1566
+ n[41]("noResults") + ""
1567
+ ), t;
1568
+ return {
1569
+ c() {
1570
+ a = M("p"), t = L(i), h(a, "class", "NoSearchResults");
1571
+ },
1572
+ m(l, s) {
1573
+ F(l, a, s), S(a, t);
1574
+ },
1575
+ p(l, s) {
1576
+ s[1] & /*$_*/
1577
+ 1024 && i !== (i = /*$_*/
1578
+ l[41]("noResults") + "") && V(t, i);
1579
+ },
1580
+ d(l) {
1581
+ l && G(a);
1582
+ }
1583
+ };
1584
+ }
1585
+ function ci(n) {
1586
+ let a, i, t = le(
1587
+ /*shownCategoryData*/
1588
+ n[27]
1589
+ ), l = [];
1590
+ for (let s = 0; s < t.length; s += 1)
1591
+ l[s] = ma(xe(n, t, s));
1592
+ return {
1593
+ c() {
1594
+ a = M("ul");
1595
+ for (let s = 0; s < l.length; s += 1)
1596
+ l[s].c();
1597
+ h(a, "class", i = /*favoriteGamesData*/
1598
+ (n[40].items.length === 0 && /*showFavGamesCategory*/
1599
+ n[37] ? "" : "CasinoGamesGrid") + " " + /*lobbyView*/
1600
+ (n[25] && /*casinogamesgridslider*/
1601
+ n[20] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap");
1602
+ },
1603
+ m(s, m) {
1604
+ F(s, a, m);
1605
+ for (let u = 0; u < l.length; u += 1)
1606
+ l[u] && l[u].m(a, null);
1607
+ n[54](a);
1608
+ },
1609
+ p(s, m) {
1610
+ if (m[0] & /*session, userid, lang, shownCategoryData, favorites, categoryid, translationurl, showgamename, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile, casinogamesgridslider, thumbnailContainer*/
1611
+ 139722729 | m[1] & /*addGameTag, intersectingIndexes, visibilityconnect*/
1612
+ 4480) {
1613
+ t = le(
1614
+ /*shownCategoryData*/
1615
+ s[27]
1616
+ );
1617
+ let u;
1618
+ for (u = 0; u < t.length; u += 1) {
1619
+ const f = xe(s, t, u);
1620
+ l[u] ? l[u].p(f, m) : (l[u] = ma(f), l[u].c(), l[u].m(a, null));
1621
+ }
1622
+ for (; u < l.length; u += 1)
1623
+ l[u].d(1);
1624
+ l.length = t.length;
1625
+ }
1626
+ m[0] & /*lobbyView, casinogamesgridslider*/
1627
+ 34603008 | m[1] & /*favoriteGamesData, showFavGamesCategory*/
1628
+ 576 && i !== (i = /*favoriteGamesData*/
1629
+ (s[40].items.length === 0 && /*showFavGamesCategory*/
1630
+ s[37] ? "" : "CasinoGamesGrid") + " " + /*lobbyView*/
1631
+ (s[25] && /*casinogamesgridslider*/
1632
+ s[20] == "true" ? "CasinoGamesGridSlider CustomScroll" : "") + " GamesListIncreasedGap") && h(a, "class", i);
1633
+ },
1634
+ d(s) {
1635
+ s && G(a), Oe(l, s), n[54](null);
1636
+ }
1637
+ };
1638
+ }
1639
+ function fi(n) {
1640
+ let a;
1641
+ return {
1642
+ c() {
1643
+ a = M("div"), h(a, "class", "lds-dual-ring"), h(a, "part", "lds-dual-ring");
1644
+ },
1645
+ m(i, t) {
1646
+ F(i, a, t);
1647
+ },
1648
+ p: _e,
1649
+ d(i) {
1650
+ i && G(a);
1651
+ }
1652
+ };
1653
+ }
1654
+ function gi(n) {
1655
+ let a, i, t, l, s, m, u, f, g, p, b, C, I, k, _, c = (
1656
+ /*index*/
1657
+ n[93]
1658
+ );
1659
+ const d = () => (
1660
+ /*casino_game_thumbnail_binding*/
1661
+ n[53](a, c)
1662
+ ), P = () => (
1663
+ /*casino_game_thumbnail_binding*/
1664
+ n[53](null, c)
1665
+ );
1666
+ return {
1667
+ c() {
1668
+ var A;
1669
+ a = M("casino-game-thumbnail"), o(
1670
+ a,
1671
+ "session",
1672
+ /*session*/
1673
+ n[6]
1674
+ ), o(
1675
+ a,
1676
+ "userid",
1677
+ /*userid*/
1678
+ n[7]
1679
+ ), o(
1680
+ a,
1681
+ "lang",
1682
+ /*lang*/
1683
+ n[5]
1684
+ ), o(a, "class", i = "" + (U + /*gameprops*/
1685
+ (n[91].cellSize ? (
1686
+ /*gameprops*/
1687
+ n[91].cellSize
1688
+ ) : "1x1"))), o(a, "part", t = "" + (U + /*gameprops*/
1689
+ (n[91].cellSize ? (
1690
+ /*gameprops*/
1691
+ n[91].cellSize
1692
+ ) : "1x1"))), o(
1693
+ a,
1694
+ "favorites",
1695
+ /*favorites*/
1696
+ n[8]
1697
+ ), o(
1698
+ a,
1699
+ "categoryid",
1700
+ /*categoryid*/
1701
+ n[0]
1702
+ ), o(a, "gamethumbnail", l = /*gameprops*/
1703
+ n[91].thumbnail), o(a, "gamename", s = /*gameprops*/
1704
+ n[91].name), o(a, "gamevendor", m = /*gameprops*/
1705
+ n[91].vendor.displayName), o(a, "gameLaunchUrl", u = /*gameprops*/
1706
+ n[91].launchUrl), o(a, "gameisnew", f = /*gameprops*/
1707
+ n[91].isNew), o(a, "gametag", g = /*gameprops*/
1708
+ ((A = n[91].advancedTags) == null ? void 0 : A.length) > 0 && /*addGameTag*/
1709
+ n[43](
1710
+ /*gameprops*/
1711
+ n[91].advancedTags
1712
+ )), o(a, "gamecellsize", p = /*gameprops*/
1713
+ n[91].cellSize), o(a, "gameid", b = /*gameprops*/
1714
+ n[91].id), o(a, "gamefunmode", C = /*gameprops*/
1715
+ n[91].hasFunMode), o(a, "gamefavorite", I = /*gameprops*/
1716
+ n[91].isFavorite), o(
1717
+ a,
1718
+ "translationurl",
1719
+ /*translationurl*/
1720
+ n[11]
1721
+ ), o(
1722
+ a,
1723
+ "showgamename",
1724
+ /*showgamename*/
1725
+ n[13]
1726
+ ), o(a, "connectlive", k = /*intersectingIndexes*/
1727
+ n[38][
1728
+ /*gameprops*/
1729
+ n[91].id
1730
+ ] == 1 ? "connect" : "disconnect"), o(
1731
+ a,
1732
+ "visibilityconnect",
1733
+ /*visibilityconnect*/
1734
+ n[39]
1735
+ ), o(
1736
+ a,
1737
+ "currency",
1738
+ /*currency*/
1739
+ n[12]
1740
+ ), o(a, "livelobbyendpoint", _ = /*gameprops*/
1741
+ n[91].details ? (
1742
+ /*gameprops*/
1743
+ n[91].href
1744
+ ) : ""), o(
1745
+ a,
1746
+ "clientstyling",
1747
+ /*clientstyling*/
1748
+ n[9]
1749
+ ), o(
1750
+ a,
1751
+ "clientstylingurl",
1752
+ /*clientstylingurl*/
1753
+ n[10]
1754
+ ), o(
1755
+ a,
1756
+ "endpoint",
1757
+ /*endpoint*/
1758
+ n[3]
1759
+ ), o(
1760
+ a,
1761
+ "livecasino",
1762
+ /*livecasino*/
1763
+ n[14]
1764
+ ), o(
1765
+ a,
1766
+ "gamepagemodalurl",
1767
+ /*gamepagemodalurl*/
1768
+ n[15]
1769
+ ), o(
1770
+ a,
1771
+ "integratedgameframedesktop",
1772
+ /*integratedgameframedesktop*/
1773
+ n[16]
1774
+ ), o(
1775
+ a,
1776
+ "integratedgameframemobile",
1777
+ /*integratedgameframemobile*/
1778
+ n[17]
1779
+ ), o(
1780
+ a,
1781
+ "casinogamesgridslider",
1782
+ /*casinogamesgridslider*/
1783
+ n[20]
1784
+ );
1785
+ },
1786
+ m(A, w) {
1787
+ F(A, a, w), d();
1788
+ },
1789
+ p(A, w) {
1790
+ var $;
1791
+ n = A, w[0] & /*session*/
1792
+ 64 && o(
1793
+ a,
1794
+ "session",
1795
+ /*session*/
1796
+ n[6]
1797
+ ), w[0] & /*userid*/
1798
+ 128 && o(
1799
+ a,
1800
+ "userid",
1801
+ /*userid*/
1802
+ n[7]
1803
+ ), w[0] & /*lang*/
1804
+ 32 && o(
1805
+ a,
1806
+ "lang",
1807
+ /*lang*/
1808
+ n[5]
1809
+ ), w[0] & /*shownCategoryData*/
1810
+ 134217728 && i !== (i = "" + (U + /*gameprops*/
1811
+ (n[91].cellSize ? (
1812
+ /*gameprops*/
1813
+ n[91].cellSize
1814
+ ) : "1x1"))) && o(a, "class", i), w[0] & /*shownCategoryData*/
1815
+ 134217728 && t !== (t = "" + (U + /*gameprops*/
1816
+ (n[91].cellSize ? (
1817
+ /*gameprops*/
1818
+ n[91].cellSize
1819
+ ) : "1x1"))) && o(a, "part", t), w[0] & /*favorites*/
1820
+ 256 && o(
1821
+ a,
1822
+ "favorites",
1823
+ /*favorites*/
1824
+ n[8]
1825
+ ), w[0] & /*categoryid*/
1826
+ 1 && o(
1827
+ a,
1828
+ "categoryid",
1829
+ /*categoryid*/
1830
+ n[0]
1831
+ ), w[0] & /*shownCategoryData*/
1832
+ 134217728 && l !== (l = /*gameprops*/
1833
+ n[91].thumbnail) && o(a, "gamethumbnail", l), w[0] & /*shownCategoryData*/
1834
+ 134217728 && s !== (s = /*gameprops*/
1835
+ n[91].name) && o(a, "gamename", s), w[0] & /*shownCategoryData*/
1836
+ 134217728 && m !== (m = /*gameprops*/
1837
+ n[91].vendor.displayName) && o(a, "gamevendor", m), w[0] & /*shownCategoryData*/
1838
+ 134217728 && u !== (u = /*gameprops*/
1839
+ n[91].launchUrl) && o(a, "gameLaunchUrl", u), w[0] & /*shownCategoryData*/
1840
+ 134217728 && f !== (f = /*gameprops*/
1841
+ n[91].isNew) && o(a, "gameisnew", f), w[0] & /*shownCategoryData*/
1842
+ 134217728 && g !== (g = /*gameprops*/
1843
+ (($ = n[91].advancedTags) == null ? void 0 : $.length) > 0 && /*addGameTag*/
1844
+ n[43](
1845
+ /*gameprops*/
1846
+ n[91].advancedTags
1847
+ )) && o(a, "gametag", g), w[0] & /*shownCategoryData*/
1848
+ 134217728 && p !== (p = /*gameprops*/
1849
+ n[91].cellSize) && o(a, "gamecellsize", p), w[0] & /*shownCategoryData*/
1850
+ 134217728 && b !== (b = /*gameprops*/
1851
+ n[91].id) && o(a, "gameid", b), w[0] & /*shownCategoryData*/
1852
+ 134217728 && C !== (C = /*gameprops*/
1853
+ n[91].hasFunMode) && o(a, "gamefunmode", C), w[0] & /*shownCategoryData*/
1854
+ 134217728 && I !== (I = /*gameprops*/
1855
+ n[91].isFavorite) && o(a, "gamefavorite", I), w[0] & /*translationurl*/
1856
+ 2048 && o(
1857
+ a,
1858
+ "translationurl",
1859
+ /*translationurl*/
1860
+ n[11]
1861
+ ), w[0] & /*showgamename*/
1862
+ 8192 && o(
1863
+ a,
1864
+ "showgamename",
1865
+ /*showgamename*/
1866
+ n[13]
1867
+ ), w[0] & /*shownCategoryData*/
1868
+ 134217728 | w[1] & /*intersectingIndexes*/
1869
+ 128 && k !== (k = /*intersectingIndexes*/
1870
+ n[38][
1871
+ /*gameprops*/
1872
+ n[91].id
1873
+ ] == 1 ? "connect" : "disconnect") && o(a, "connectlive", k), w[1] & /*visibilityconnect*/
1874
+ 256 && o(
1875
+ a,
1876
+ "visibilityconnect",
1877
+ /*visibilityconnect*/
1878
+ n[39]
1879
+ ), w[0] & /*currency*/
1880
+ 4096 && o(
1881
+ a,
1882
+ "currency",
1883
+ /*currency*/
1884
+ n[12]
1885
+ ), w[0] & /*shownCategoryData*/
1886
+ 134217728 && _ !== (_ = /*gameprops*/
1887
+ n[91].details ? (
1888
+ /*gameprops*/
1889
+ n[91].href
1890
+ ) : "") && o(a, "livelobbyendpoint", _), w[0] & /*clientstyling*/
1891
+ 512 && o(
1892
+ a,
1893
+ "clientstyling",
1894
+ /*clientstyling*/
1895
+ n[9]
1896
+ ), w[0] & /*clientstylingurl*/
1897
+ 1024 && o(
1898
+ a,
1899
+ "clientstylingurl",
1900
+ /*clientstylingurl*/
1901
+ n[10]
1902
+ ), w[0] & /*endpoint*/
1903
+ 8 && o(
1904
+ a,
1905
+ "endpoint",
1906
+ /*endpoint*/
1907
+ n[3]
1908
+ ), w[0] & /*livecasino*/
1909
+ 16384 && o(
1910
+ a,
1911
+ "livecasino",
1912
+ /*livecasino*/
1913
+ n[14]
1914
+ ), w[0] & /*gamepagemodalurl*/
1915
+ 32768 && o(
1916
+ a,
1917
+ "gamepagemodalurl",
1918
+ /*gamepagemodalurl*/
1919
+ n[15]
1920
+ ), w[0] & /*integratedgameframedesktop*/
1921
+ 65536 && o(
1922
+ a,
1923
+ "integratedgameframedesktop",
1924
+ /*integratedgameframedesktop*/
1925
+ n[16]
1926
+ ), w[0] & /*integratedgameframemobile*/
1927
+ 131072 && o(
1928
+ a,
1929
+ "integratedgameframemobile",
1930
+ /*integratedgameframemobile*/
1931
+ n[17]
1932
+ ), w[0] & /*casinogamesgridslider*/
1933
+ 1048576 && o(
1934
+ a,
1935
+ "casinogamesgridslider",
1936
+ /*casinogamesgridslider*/
1937
+ n[20]
1938
+ ), c !== /*index*/
1939
+ n[93] && (P(), c = /*index*/
1940
+ n[93], d());
1941
+ },
1942
+ d(A) {
1943
+ A && G(a), P();
1944
+ }
1945
+ };
1946
+ }
1947
+ function ma(n) {
1948
+ let a, i = gi(n);
1949
+ return {
1950
+ c() {
1951
+ i && i.c(), a = x();
1952
+ },
1953
+ m(t, l) {
1954
+ i && i.m(t, l), F(t, a, l);
1955
+ },
1956
+ p(t, l) {
1957
+ i.p(t, l);
1958
+ },
1959
+ d(t) {
1960
+ t && G(a), i && i.d(t);
1961
+ }
1962
+ };
1963
+ }
1964
+ function di(n) {
1965
+ let a, i = (
1966
+ /*$_*/
1967
+ n[41]("searchedItems") + ""
1968
+ ), t;
1969
+ return {
1970
+ c() {
1971
+ a = M("h3"), t = L(i), h(a, "class", "StatusText");
1972
+ },
1973
+ m(l, s) {
1974
+ F(l, a, s), S(a, t);
1975
+ },
1976
+ p(l, s) {
1977
+ s[1] & /*$_*/
1978
+ 1024 && i !== (i = /*$_*/
1979
+ l[41]("searchedItems") + "") && V(t, i);
1980
+ },
1981
+ d(l) {
1982
+ l && G(a);
1983
+ }
1984
+ };
1985
+ }
1986
+ function hi(n) {
1987
+ let a, i = (
1988
+ /*$_*/
1989
+ n[41]("noResults") + ""
1990
+ ), t;
1991
+ return {
1992
+ c() {
1993
+ a = M("h3"), t = L(i), h(a, "class", "StatusText");
1994
+ },
1995
+ m(l, s) {
1996
+ F(l, a, s), S(a, t);
1997
+ },
1998
+ p(l, s) {
1999
+ s[1] & /*$_*/
2000
+ 1024 && i !== (i = /*$_*/
2001
+ l[41]("noResults") + "") && V(t, i);
2002
+ },
2003
+ d(l) {
2004
+ l && G(a);
2005
+ }
2006
+ };
2007
+ }
2008
+ function pi(n) {
2009
+ let a, i = (
2010
+ /*$_*/
2011
+ n[41]("recentSearchedItems") + ""
2012
+ ), t;
2013
+ return {
2014
+ c() {
2015
+ a = M("h3"), t = L(i), h(a, "class", "StatusText");
2016
+ },
2017
+ m(l, s) {
2018
+ F(l, a, s), S(a, t);
2019
+ },
2020
+ p(l, s) {
2021
+ s[1] & /*$_*/
2022
+ 1024 && i !== (i = /*$_*/
2023
+ l[41]("recentSearchedItems") + "") && V(t, i);
2024
+ },
2025
+ d(l) {
2026
+ l && G(a);
2027
+ }
2028
+ };
2029
+ }
2030
+ function _i(n) {
2031
+ let a;
2032
+ return {
2033
+ c() {
2034
+ a = M("p"), a.textContent = "Waiting", h(a, "class", "SearchWaiting");
2035
+ },
2036
+ m(i, t) {
2037
+ F(i, a, t);
2038
+ },
2039
+ p: _e,
2040
+ d(i) {
2041
+ i && G(a);
2042
+ }
2043
+ };
2044
+ }
2045
+ function vi(n) {
2046
+ let a, i, t = !/*showItems*/
2047
+ n[33] && ua(n), l = le(
2048
+ /*shownCategoryData*/
2049
+ n[27]
2050
+ ), s = [];
2051
+ for (let m = 0; m < l.length; m += 1)
2052
+ s[m] = ca($e(n, l, m));
2053
+ return {
2054
+ c() {
2055
+ t && t.c(), a = Y(), i = M("ul");
2056
+ for (let m = 0; m < s.length; m += 1)
2057
+ s[m].c();
2058
+ h(i, "class", "CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap");
2059
+ },
2060
+ m(m, u) {
2061
+ t && t.m(m, u), F(m, a, u), F(m, i, u);
2062
+ for (let f = 0; f < s.length; f += 1)
2063
+ s[f] && s[f].m(i, null);
2064
+ },
2065
+ p(m, u) {
2066
+ if (/*showItems*/
2067
+ m[33] ? t && (t.d(1), t = null) : t ? t.p(m, u) : (t = ua(m), t.c(), t.m(a.parentNode, a)), u[0] & /*shownCategoryData, session, userid, lang, favorites, categoryid, showgamename, translationurl, currency, clientstyling, clientstylingurl, endpoint, livecasino, gamepagemodalurl, integratedgameframedesktop, integratedgameframemobile*/
2068
+ 134479849 | u[1] & /*searchItem, addGameTag*/
2069
+ 4097) {
2070
+ l = le(
2071
+ /*shownCategoryData*/
2072
+ m[27]
2073
+ );
2074
+ let f;
2075
+ for (f = 0; f < l.length; f += 1) {
2076
+ const g = $e(m, l, f);
2077
+ s[f] ? s[f].p(g, u) : (s[f] = ca(g), s[f].c(), s[f].m(i, null));
2078
+ }
2079
+ for (; f < s.length; f += 1)
2080
+ s[f].d(1);
2081
+ s.length = l.length;
2082
+ }
2083
+ },
2084
+ d(m) {
2085
+ m && (G(a), G(i)), t && t.d(m), Oe(s, m);
2086
+ }
2087
+ };
2088
+ }
2089
+ function ua(n) {
2090
+ let a, i = (
2091
+ /*$_*/
2092
+ n[41]("noRecentSearch") + ""
2093
+ ), t;
2094
+ return {
2095
+ c() {
2096
+ a = M("p"), t = L(i), h(a, "class", "NoSearchResults NoRecentSearches NoRecentSearchesCenter " + (ve(
2097
+ /*userAgent*/
2098
+ n[42]
2099
+ ) ? "NoRecentSearchesMobile" : ""));
2100
+ },
2101
+ m(l, s) {
2102
+ F(l, a, s), S(a, t);
2103
+ },
2104
+ p(l, s) {
2105
+ s[1] & /*$_*/
2106
+ 1024 && i !== (i = /*$_*/
2107
+ l[41]("noRecentSearch") + "") && V(t, i);
2108
+ },
2109
+ d(l) {
2110
+ l && G(a);
2111
+ }
2112
+ };
2113
+ }
2114
+ function ca(n) {
2115
+ let a, i, t, l, s, m, u, f, g, p, b, C, I, k;
2116
+ return {
2117
+ c() {
2118
+ var _;
2119
+ a = M("casino-game-thumbnail"), o(a, "class", i = "" + (U + /*gameprops*/
2120
+ (n[91].cellSize ? (
2121
+ /*gameprops*/
2122
+ n[91].cellSize
2123
+ ) : "1x1"))), o(a, "part", t = "" + (U + /*gameprops*/
2124
+ (n[91].cellSize ? (
2125
+ /*gameprops*/
2126
+ n[91].cellSize
2127
+ ) : "1x1"))), o(
2128
+ a,
2129
+ "session",
2130
+ /*session*/
2131
+ n[6]
2132
+ ), o(
2133
+ a,
2134
+ "userid",
2135
+ /*userid*/
2136
+ n[7]
2137
+ ), o(
2138
+ a,
2139
+ "lang",
2140
+ /*lang*/
2141
+ n[5]
2142
+ ), o(
2143
+ a,
2144
+ "searchitem",
2145
+ /*searchItem*/
2146
+ n[31]
2147
+ ), o(
2148
+ a,
2149
+ "favorites",
2150
+ /*favorites*/
2151
+ n[8]
2152
+ ), o(
2153
+ a,
2154
+ "categoryid",
2155
+ /*categoryid*/
2156
+ n[0]
2157
+ ), o(a, "gamethumbnail", l = /*gameprops*/
2158
+ n[91].thumbnail), o(a, "gamename", s = /*gameprops*/
2159
+ n[91].name), o(a, "gamevendor", m = /*gameprops*/
2160
+ n[91].vendor.displayName), o(a, "gameLaunchUrl", u = /*gameprops*/
2161
+ n[91].launchUrl), o(a, "gameisnew", f = /*gameprops*/
2162
+ n[91].isNew), o(a, "gametag", g = /*gameprops*/
2163
+ ((_ = n[91].advancedTags) == null ? void 0 : _.length) > 0 && /*addGameTag*/
2164
+ n[43](
2165
+ /*gameprops*/
2166
+ n[91].advancedTags
2167
+ )), o(a, "gamecellsize", p = /*gameprops*/
2168
+ n[91].cellSize), o(a, "gameid", b = /*gameprops*/
2169
+ n[91].id), o(a, "gamefunmode", C = /*gameprops*/
2170
+ n[91].hasFunMode), o(
2171
+ a,
2172
+ "showgamename",
2173
+ /*showgamename*/
2174
+ n[13]
2175
+ ), o(
2176
+ a,
2177
+ "translationurl",
2178
+ /*translationurl*/
2179
+ n[11]
2180
+ ), o(a, "gamefavorite", I = /*gameprops*/
2181
+ n[91].isFavorite), o(
2182
+ a,
2183
+ "currency",
2184
+ /*currency*/
2185
+ n[12]
2186
+ ), o(a, "livelobbyendpoint", k = /*gameprops*/
2187
+ n[91].details ? (
2188
+ /*gameprops*/
2189
+ n[91].href
2190
+ ) : ""), o(
2191
+ a,
2192
+ "clientstyling",
2193
+ /*clientstyling*/
2194
+ n[9]
2195
+ ), o(
2196
+ a,
2197
+ "clientstylingurl",
2198
+ /*clientstylingurl*/
2199
+ n[10]
2200
+ ), o(
2201
+ a,
2202
+ "endpoint",
2203
+ /*endpoint*/
2204
+ n[3]
2205
+ ), o(
2206
+ a,
2207
+ "livecasino",
2208
+ /*livecasino*/
2209
+ n[14]
2210
+ ), o(
2211
+ a,
2212
+ "gamepagemodalurl",
2213
+ /*gamepagemodalurl*/
2214
+ n[15]
2215
+ ), o(
2216
+ a,
2217
+ "integratedgameframedesktop",
2218
+ /*integratedgameframedesktop*/
2219
+ n[16]
2220
+ ), o(
2221
+ a,
2222
+ "integratedgameframemobile",
2223
+ /*integratedgameframemobile*/
2224
+ n[17]
2225
+ );
2226
+ },
2227
+ m(_, c) {
2228
+ F(_, a, c);
2229
+ },
2230
+ p(_, c) {
2231
+ var d;
2232
+ c[0] & /*shownCategoryData*/
2233
+ 134217728 && i !== (i = "" + (U + /*gameprops*/
2234
+ (_[91].cellSize ? (
2235
+ /*gameprops*/
2236
+ _[91].cellSize
2237
+ ) : "1x1"))) && o(a, "class", i), c[0] & /*shownCategoryData*/
2238
+ 134217728 && t !== (t = "" + (U + /*gameprops*/
2239
+ (_[91].cellSize ? (
2240
+ /*gameprops*/
2241
+ _[91].cellSize
2242
+ ) : "1x1"))) && o(a, "part", t), c[0] & /*session*/
2243
+ 64 && o(
2244
+ a,
2245
+ "session",
2246
+ /*session*/
2247
+ _[6]
2248
+ ), c[0] & /*userid*/
2249
+ 128 && o(
2250
+ a,
2251
+ "userid",
2252
+ /*userid*/
2253
+ _[7]
2254
+ ), c[0] & /*lang*/
2255
+ 32 && o(
2256
+ a,
2257
+ "lang",
2258
+ /*lang*/
2259
+ _[5]
2260
+ ), c[1] & /*searchItem*/
2261
+ 1 && o(
2262
+ a,
2263
+ "searchitem",
2264
+ /*searchItem*/
2265
+ _[31]
2266
+ ), c[0] & /*favorites*/
2267
+ 256 && o(
2268
+ a,
2269
+ "favorites",
2270
+ /*favorites*/
2271
+ _[8]
2272
+ ), c[0] & /*categoryid*/
2273
+ 1 && o(
2274
+ a,
2275
+ "categoryid",
2276
+ /*categoryid*/
2277
+ _[0]
2278
+ ), c[0] & /*shownCategoryData*/
2279
+ 134217728 && l !== (l = /*gameprops*/
2280
+ _[91].thumbnail) && o(a, "gamethumbnail", l), c[0] & /*shownCategoryData*/
2281
+ 134217728 && s !== (s = /*gameprops*/
2282
+ _[91].name) && o(a, "gamename", s), c[0] & /*shownCategoryData*/
2283
+ 134217728 && m !== (m = /*gameprops*/
2284
+ _[91].vendor.displayName) && o(a, "gamevendor", m), c[0] & /*shownCategoryData*/
2285
+ 134217728 && u !== (u = /*gameprops*/
2286
+ _[91].launchUrl) && o(a, "gameLaunchUrl", u), c[0] & /*shownCategoryData*/
2287
+ 134217728 && f !== (f = /*gameprops*/
2288
+ _[91].isNew) && o(a, "gameisnew", f), c[0] & /*shownCategoryData*/
2289
+ 134217728 && g !== (g = /*gameprops*/
2290
+ ((d = _[91].advancedTags) == null ? void 0 : d.length) > 0 && /*addGameTag*/
2291
+ _[43](
2292
+ /*gameprops*/
2293
+ _[91].advancedTags
2294
+ )) && o(a, "gametag", g), c[0] & /*shownCategoryData*/
2295
+ 134217728 && p !== (p = /*gameprops*/
2296
+ _[91].cellSize) && o(a, "gamecellsize", p), c[0] & /*shownCategoryData*/
2297
+ 134217728 && b !== (b = /*gameprops*/
2298
+ _[91].id) && o(a, "gameid", b), c[0] & /*shownCategoryData*/
2299
+ 134217728 && C !== (C = /*gameprops*/
2300
+ _[91].hasFunMode) && o(a, "gamefunmode", C), c[0] & /*showgamename*/
2301
+ 8192 && o(
2302
+ a,
2303
+ "showgamename",
2304
+ /*showgamename*/
2305
+ _[13]
2306
+ ), c[0] & /*translationurl*/
2307
+ 2048 && o(
2308
+ a,
2309
+ "translationurl",
2310
+ /*translationurl*/
2311
+ _[11]
2312
+ ), c[0] & /*shownCategoryData*/
2313
+ 134217728 && I !== (I = /*gameprops*/
2314
+ _[91].isFavorite) && o(a, "gamefavorite", I), c[0] & /*currency*/
2315
+ 4096 && o(
2316
+ a,
2317
+ "currency",
2318
+ /*currency*/
2319
+ _[12]
2320
+ ), c[0] & /*shownCategoryData*/
2321
+ 134217728 && k !== (k = /*gameprops*/
2322
+ _[91].details ? (
2323
+ /*gameprops*/
2324
+ _[91].href
2325
+ ) : "") && o(a, "livelobbyendpoint", k), c[0] & /*clientstyling*/
2326
+ 512 && o(
2327
+ a,
2328
+ "clientstyling",
2329
+ /*clientstyling*/
2330
+ _[9]
2331
+ ), c[0] & /*clientstylingurl*/
2332
+ 1024 && o(
2333
+ a,
2334
+ "clientstylingurl",
2335
+ /*clientstylingurl*/
2336
+ _[10]
2337
+ ), c[0] & /*endpoint*/
2338
+ 8 && o(
2339
+ a,
2340
+ "endpoint",
2341
+ /*endpoint*/
2342
+ _[3]
2343
+ ), c[0] & /*livecasino*/
2344
+ 16384 && o(
2345
+ a,
2346
+ "livecasino",
2347
+ /*livecasino*/
2348
+ _[14]
2349
+ ), c[0] & /*gamepagemodalurl*/
2350
+ 32768 && o(
2351
+ a,
2352
+ "gamepagemodalurl",
2353
+ /*gamepagemodalurl*/
2354
+ _[15]
2355
+ ), c[0] & /*integratedgameframedesktop*/
2356
+ 65536 && o(
2357
+ a,
2358
+ "integratedgameframedesktop",
2359
+ /*integratedgameframedesktop*/
2360
+ _[16]
2361
+ ), c[0] & /*integratedgameframemobile*/
2362
+ 131072 && o(
2363
+ a,
2364
+ "integratedgameframemobile",
2365
+ /*integratedgameframemobile*/
2366
+ _[17]
2367
+ );
2368
+ },
2369
+ d(_) {
2370
+ _ && G(a);
2371
+ }
2372
+ };
2373
+ }
2374
+ function bi(n) {
2375
+ let a;
2376
+ return {
2377
+ c() {
2378
+ a = M("p"), a.textContent = "500 Error - Internal Server Error.", h(a, "class", "SearchLoading");
2379
+ },
2380
+ m(i, t) {
2381
+ F(i, a, t);
2382
+ },
2383
+ d(i) {
2384
+ i && G(a);
2385
+ }
2386
+ };
2387
+ }
2388
+ function wi(n) {
2389
+ let a;
2390
+ return {
2391
+ c() {
2392
+ a = M("p"), a.textContent = "404 Error - No result found.", h(a, "class", "SearchLoading");
2393
+ },
2394
+ m(i, t) {
2395
+ F(i, a, t);
2396
+ },
2397
+ d(i) {
2398
+ i && G(a);
2399
+ }
2400
+ };
2401
+ }
2402
+ function ki(n) {
2403
+ let a;
2404
+ function i(s, m) {
2405
+ return (
2406
+ /*hasErrors*/
2407
+ s[24] ? Qa : (
2408
+ /*searched*/
2409
+ s[29] ? Za : Xa
2410
+ )
2411
+ );
2412
+ }
2413
+ let t = i(n), l = t(n);
2414
+ return {
2415
+ c() {
2416
+ a = M("div"), l.c(), h(a, "class", "CasinoGamesCategorySectionContainer");
2417
+ },
2418
+ m(s, m) {
2419
+ F(s, a, m), l.m(a, null), n[57](a);
2420
+ },
2421
+ p(s, m) {
2422
+ t === (t = i(s)) && l ? l.p(s, m) : (l.d(1), l = t(s), l && (l.c(), l.m(a, null)));
2423
+ },
2424
+ i: _e,
2425
+ o: _e,
2426
+ d(s) {
2427
+ s && G(a), l.d(), n[57](null);
2428
+ }
2429
+ };
2430
+ }
2431
+ const U = "game-tile-";
2432
+ let yi = 0;
2433
+ function Si(n, a, i) {
2434
+ let t;
2435
+ Ha(n, Ba, (r) => i(41, t = r));
2436
+ let { endpoint: l = "" } = a, { datasource: s = "" } = a, { lang: m = "" } = a, { session: u = "" } = a, { userid: f = "" } = a, { favorites: g = "" } = a, { clientstyling: p = "" } = a, { clientstylingurl: b = "" } = a, { translationurl: C = "" } = a, { currency: I = "" } = a, { categoryid: k = "" } = a, { showgamename: _ = "" } = a, { livecasino: c = "false" } = a, { gamepagemodalurl: d = "true" } = a, { integratedgameframedesktop: P = "false" } = a, { integratedgameframemobile: A = "false" } = a, { casinomygames: w = "false" } = a, { addfilterselector: $ = "false" } = a, { addsortingselector: be = "false" } = a, { filterbylogo: He = "" } = a, { casinogamesgridslider: Ve = "false" } = a, { fetchviaevent: se = "false" } = a, { showallpage: Ne = "casino" } = a, { actionevent: Te = "CategoryChange" } = a, { displayedgamecount: we = "10" } = a, { showallbuttongamescount: ke = "10" } = a, Z = !0, Ee = !1, ye, Se, ee = !0, qe = window.navigator.userAgent, R, z = [], J = !0, ae = 40, K = !1, Fe = !1, We = !1, re = !1, Ae = !1, je = !0, me = !1, ue, Re, ce, fe = !1, ie, Ge = !1, ge = new Array(1e4), de = {}, Le = "", ne = "", Ce, Pe, D, B = [], Me = new AbortController(), te = { items: [], count: 0, name: "" };
2437
+ const fa = () => {
2438
+ fetch(C).then((v) => v.json()).then((v) => {
2439
+ Object.keys(v).forEach((y) => {
2440
+ Xe(y, v[y]);
2441
+ });
2442
+ }).catch((v) => {
2443
+ console.log(v);
2444
+ });
2445
+ };
2446
+ Object.keys(Ze).forEach((r) => {
2447
+ Xe(r, Ze[r]);
2448
+ }), typeof document.hidden != "undefined" ? Ce = "hidden" : typeof document.msHidden != "undefined" ? Ce = "msHidden" : typeof document.webkitHidden != "undefined" && (Ce = "webkitHidden");
2449
+ let ga = new IntersectionObserver((r) => {
2450
+ r.forEach((v) => ze(this, null, function* () {
2451
+ let y = v.target.gameid, j = v.target.elems_index;
2452
+ v.isIntersecting ? (j * 1.2 > ae && va(k), i(38, de[y] = 1, de)) : i(38, de[y] = 0, de);
2453
+ }));
2454
+ });
2455
+ const Be = (r, v) => {
2456
+ let y = `${l}/v1/player/${v}/favorites/`;
2457
+ i(23, Z = !0);
2458
+ let j = {
2459
+ method: "GET",
2460
+ headers: { "X-SessionID": r }
2461
+ };
2462
+ return new Promise((E, T) => {
2463
+ fetch(y, j).then((H) => H.json()).then((H) => {
2464
+ i(23, Z = !1), D = [], H ? (H.items.forEach((q) => {
2465
+ q.gameModel && (D.push(q), B.includes(q.id) || B.push(q.id));
2466
+ }), window.postMessage({
2467
+ type: "UpdateFavoritesCount",
2468
+ favoriteGames: D
2469
+ })) : D = [], k === "FAVORITES" && Je(D), z.forEach((q) => {
2470
+ q.isFavorite = X(q.id);
2471
+ });
2472
+ let W = z;
2473
+ i(27, z = void 0), i(27, z = W), E(D);
2474
+ }).catch((H) => {
2475
+ console.error(H), T(H);
2476
+ });
2477
+ });
2478
+ }, he = (r, v, y) => {
2479
+ Me && Me.abort(), Me = new AbortController();
2480
+ const j = Me.signal;
2481
+ i(23, Z = !0);
2482
+ let E = "", T = "", H = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), W = JSON.parse(localStorage.getItem("vendorSortingBy"));
2483
+ return (r.match(/\$/g) || []).length > 1 ? (E = r.split("$").slice(0, 2).join("$"), T = new URL(`${l}/v1/casino/groups/${s}/${E}/subGroups`)) : T = new URL(`${l}/v1/casino/groups/${s}/${r}`), new Promise((q, Aa) => {
2484
+ if (T.searchParams.delete("pagination"), T.searchParams.append("expand", "games(vendor)"), T.searchParams.append("fields", "id,name,games"), T.searchParams.append("platform", qa(qe)), T.searchParams.append("pagination", `games(offset=${v},limit=${y})`), T.searchParams.append("language", m), window.postMessage({ type: "CategoryVendors", categoryid: r }, window.location.href), H && H[r])
2485
+ if (H[r].length && ee === !1 && fe === !1) {
2486
+ let O = "";
2487
+ i(32, Ae = !0), H[r].forEach((pe) => {
2488
+ O = O + (O ? `,games(vendor(id=${pe}))` : `games(vendor(id=${pe}))`);
2489
+ }), T.searchParams.append("filter", `${O}`);
2490
+ } else
2491
+ i(32, Ae = !1);
2492
+ W && (W[r] ? W[r] && W[r] != "All" && (W[r] == "isNew" || W[r] == "advancedTags(name(hot))" ? (T.searchParams.append("sortedField", `games(${W[r]})`), T.searchParams.append("orderBy", "DES")) : T.searchParams.append("sortedField", `games(${W[r]})`)) : ne && ne != "All" && (ne == "advancedTags(name(hot))" || ne == "isNew" ? (T.searchParams.append("sortedField", `games(${ne})`), T.searchParams.append("orderBy", "DES")) : T.searchParams.append("sortedField", `games(${ne})`))), fetch(T, { signal: j }).then((O) => O.json()).then((O) => {
2493
+ j.aborted || (i(23, Z = !1), (r.match(/\$/g) || []).length > 1 && (O = O.items.filter((pe) => {
2494
+ if (pe.id == r) return pe;
2495
+ })[0]), i(50, Pe = !0), i(24, Ee = !1), Re = O.games.total, i(34, me = !0), q(O));
2496
+ }).catch((O) => {
2497
+ O.name !== "AbortError" && (i(24, Ee = !0), console.error(O), Aa(O));
2498
+ });
2499
+ });
2500
+ }, da = (r, v, y) => {
2501
+ r !== "" && (i(29, K = !1), i(25, ee = !0), i(1, $ = "false"), i(2, be = "false"), i(31, re = !1), Ge = !1, i(28, J = +v > +y), he(r, 0, +v).then((j) => {
2502
+ i(26, R = j), i(27, z = R.games.items), z && z.forEach((E) => {
2503
+ E.isFavorite = X(E.id);
2504
+ });
2505
+ }));
2506
+ }, De = (r) => {
2507
+ if (r.data)
2508
+ switch (r.data.type) {
2509
+ case "MostPlayedData":
2510
+ k == "MOSTPLAYED" && (i(29, K = !1), i(25, ee = !1), i(28, J = !1), i(27, z = r.data.mostPlayedGames), i(26, R = {
2511
+ id: "MOSTPLAYED",
2512
+ name: "Most Played Games",
2513
+ games: {
2514
+ count: r.data.mostPlayedGames.length,
2515
+ total: r.data.mostPlayedGames.length,
2516
+ items: r.data.mostPlayedGames
2517
+ }
2518
+ })), i(23, Z = !1);
2519
+ break;
2520
+ case "LastPlayedData":
2521
+ k == "LASTPLAYED" && (i(29, K = !1), i(25, ee = !1), i(28, J = !1), i(27, z = r.data.lastPlayedGames), i(26, R = {
2522
+ id: "LASTPLAYED",
2523
+ name: "Last Played Games",
2524
+ games: {
2525
+ count: r.data.lastPlayedGames.length,
2526
+ total: r.data.lastPlayedGames.length,
2527
+ items: r.data.lastPlayedGames
2528
+ }
2529
+ })), i(23, Z = !1);
2530
+ break;
2531
+ case "CustomOperatorData":
2532
+ r.data.operatordetail;
2533
+ break;
2534
+ case "RecentSearchData":
2535
+ i(29, K = !0), i(30, Fe = !0), r.data.searchData.length > 0 ? (i(27, z = r.data.searchData), i(33, je = !0), z && z.forEach((v) => {
2536
+ v.isFavorite = X(v.id);
2537
+ })) : (i(27, z = []), i(33, je = !1));
2538
+ break;
2539
+ case "OutOfRecentSearches":
2540
+ i(29, K = !1), i(30, Fe = !1);
2541
+ break;
2542
+ case "SearchData":
2543
+ i(29, K = !0), i(30, Fe = !1), i(27, z = r.data.searchData.items || []), i(31, re = !0), r.data.receivedFavoriteResults && (D = r.data.receivedFavoriteResults.items), z && z.forEach((v) => {
2544
+ v.isFavorite = X(v.id);
2545
+ });
2546
+ break;
2547
+ case `CategoryData_${k}`:
2548
+ i(29, K = !1), i(25, ee = !0), i(1, $ = "false"), i(2, be = "false"), i(31, re = !1), Ge = !1, r.data.receivedFavoriteResults && (D = r.data.receivedFavoriteResults.items), he(r.data.categoryId, 0, r.data.visiblegames).then((v) => {
2549
+ i(26, R = v), i(27, z = R.games.items), Re <= r.data.visiblegames ? i(28, J = !1) : i(28, J = !0), z && z.forEach((y) => {
2550
+ y.isFavorite = X(y.id);
2551
+ });
2552
+ });
2553
+ break;
2554
+ case "CategoryChange":
2555
+ ae = 20;
2556
+ break;
2557
+ case "ApplySorter":
2558
+ i(0, k = r.data.itemId), ne = r.data.sortBy, he(k, 0, ae).then((v) => {
2559
+ i(26, R = v), i(27, z = R.games.items), i(28, J = !1);
2560
+ });
2561
+ break;
2562
+ case "CategoryUpdate":
2563
+ Ye(r.data.itemId);
2564
+ break;
2565
+ case `SetUnfavoredGame${k}`:
2566
+ _a(`${l}/v1/player/${f}/favorites`, u, r.data.id);
2567
+ break;
2568
+ case `SetFavoredGame${k}`:
2569
+ pa(`${l}/v1/player/${f}/favorites`, u, r.data.id);
2570
+ break;
2571
+ case "UserSessionID":
2572
+ ye = r.data.session, Se = r.data.userID, g == "true" && Se && Se.length && ye && ye.length > 0 && Be(ye, Se);
2573
+ break;
2574
+ case "UpdateFavoredList":
2575
+ k === "FAVORITES" && Ue(r.data.url, r.data.sessionID);
2576
+ break;
2577
+ }
2578
+ }, Ye = (r) => {
2579
+ i(29, K = !1), i(25, ee = !1), i(31, re = !1), Ge = !0, i(34, me = !1), i(0, k = r), k !== "MOSTPLAYED" && i(28, J = !1), w !== "true" && he(k, 0, ae).then((v) => {
2580
+ i(26, R = v), R.games.items.forEach((y) => {
2581
+ y.isFavorite = X(y.id);
2582
+ }), i(27, z = R.games.items), i(28, J = !1), z.length < 10 && e.data.origin == !1 && (We = !0, setTimeout(
2583
+ () => {
2584
+ window.postMessage({ type: "WidgetTopReference", scrollTop: We }, window.location.href);
2585
+ },
2586
+ 500
2587
+ ));
2588
+ });
2589
+ }, ha = () => {
2590
+ R && (i(27, z = R.games.items), z.forEach((r) => {
2591
+ r.isFavorite = X(r.id);
2592
+ }));
2593
+ }, X = (r) => {
2594
+ var v;
2595
+ return (v = D == null ? void 0 : D.some((y) => y.id === r)) != null ? v : !1;
2596
+ };
2597
+ let pa = (r, v, y) => ze(this, null, function* () {
2598
+ yield Ue(r, v), B.includes(y) || B.push(y);
2599
+ let E = {
2600
+ method: "POST",
2601
+ headers: {
2602
+ "X-SessionID": v,
2603
+ "Content-Type": "application/json",
2604
+ Accept: "application/json"
2605
+ },
2606
+ body: JSON.stringify({ items: B })
2607
+ };
2608
+ fetch(r, E).then((T) => T.json()).then(() => {
2609
+ window.postMessage({ type: `AddFavoriteThumbnail_${y}` }, window.location.href);
2610
+ }).catch((T) => {
2611
+ console.error("Err", T);
2612
+ });
2613
+ });
2614
+ const _a = (r, v, y) => {
2615
+ let j = {
2616
+ method: "DELETE",
2617
+ headers: { "X-SessionID": v }
2618
+ };
2619
+ fetch(`${r}/${y}`, j).then((E) => E.json()).then(() => {
2620
+ window.postMessage(
2621
+ {
2622
+ type: `RemoveFavoriteThumbnail_${y}`
2623
+ },
2624
+ window.location.href
2625
+ ), Ue(r, v);
2626
+ }), B.includes(y) && (B = B.filter((E) => E != y));
2627
+ }, Ue = (r, v) => ze(this, null, function* () {
2628
+ return fetch(r, {
2629
+ method: "GET",
2630
+ headers: { "X-SessionID": v }
2631
+ }).then((j) => j.json()).then((j) => {
2632
+ D = j.items, se ? (D.forEach((E) => {
2633
+ B.includes(E.id) || B.push(E.id);
2634
+ }), ha()) : D.forEach((E) => {
2635
+ E.isFavorite = X(E.id);
2636
+ }), k === "FAVORITES" && (window.postMessage({
2637
+ type: "UpdateFavoritesCount",
2638
+ favoriteGames: D
2639
+ }), Je(D));
2640
+ }).catch((j) => {
2641
+ console.error(j);
2642
+ });
2643
+ }), Je = (r) => {
2644
+ if (!r) return;
2645
+ let v;
2646
+ v = (r == null ? void 0 : r.items) || r || [], v.length > 0 && v.forEach((y) => {
2647
+ y.gameModel && (y.gameModel.isFavorite = !0);
2648
+ }), i(40, te.items = Wa(v, te.items), te), i(40, te.name = "Favorites", te), i(23, Z = !1);
2649
+ }, va = (r) => {
2650
+ ae += 1, i(34, me = !0), ae <= Re && he(r, yi, ae).then((v) => {
2651
+ i(26, R = v), R.games.items.length > z.length && (i(27, z = R.games.items), z.forEach((y) => {
2652
+ y.isFavorite = X(y.id);
2653
+ })), i(34, me = !1);
2654
+ });
2655
+ }, ba = (r) => {
2656
+ if ((r == null ? void 0 : r.length) === 0) return "";
2657
+ let v = "", y = 999999999999, j;
2658
+ const E = new Date(Date.now());
2659
+ return r.forEach((T, H) => {
2660
+ const W = new Date(T.schedules[0].startTime), q = new Date(T.schedules[0].endTime);
2661
+ Ie(q).diff(E) < y && (y = Ie(q).diff(E), j = H), Ie(E).isAfter(W) && Ie(E).isBefore(q) && (v = r[j].name);
2662
+ }), v;
2663
+ }, Ke = (r) => {
2664
+ window.postMessage(
2665
+ {
2666
+ type: `${Te}`,
2667
+ itemId: r,
2668
+ showallpage: Ne
2669
+ },
2670
+ window.location.href
2671
+ );
2672
+ }, wa = () => {
2673
+ switch (k) {
2674
+ case "FAVORITES":
2675
+ f && u && i(37, fe = !0);
2676
+ break;
2677
+ case "MOSTPLAYED":
2678
+ w === "false" && f && u && i(37, fe = !1);
2679
+ break;
2680
+ case "LASTPLAYED":
2681
+ w === "false" && f && u && i(37, fe = !1);
2682
+ break;
2683
+ default:
2684
+ Ye(k);
2685
+ break;
2686
+ }
2687
+ }, ka = () => {
2688
+ document[Ce] ? i(39, Le = "disconnect") : i(39, Le = "connect");
2689
+ }, ya = () => {
2690
+ Ge && ge.forEach((r, v) => {
2691
+ r && (r.elems_index = v, ga.observe(r));
2692
+ });
2693
+ }, Sa = () => {
2694
+ Ja(m);
2695
+ }, Fa = () => {
2696
+ let r = document.createElement("style");
2697
+ r.innerHTML = p, ie.appendChild(r);
2698
+ }, Ga = () => {
2699
+ let r = new URL(b), v = document.createElement("style");
2700
+ fetch(r.href).then((y) => y.text()).then((y) => {
2701
+ v.innerHTML = y, setTimeout(
2702
+ () => {
2703
+ ie.appendChild(v);
2704
+ },
2705
+ 1
2706
+ );
2707
+ });
2708
+ };
2709
+ Va(() => (window.addEventListener("visibilitychange", (r) => ka()), window.addEventListener("message", De, !1), () => {
2710
+ window.removeEventListener("message", De), window.removeEventListener("visibilitychange", De);
2711
+ }));
2712
+ function Ca(r) {
2713
+ oe[r ? "unshift" : "push"](() => {
2714
+ ce = r, i(36, ce);
2715
+ });
2716
+ }
2717
+ const Ma = (r) => Ke(R.id);
2718
+ function za(r, v) {
2719
+ oe[r ? "unshift" : "push"](() => {
2720
+ ge[v] = r, i(22, ge);
2721
+ });
2722
+ }
2723
+ function Ia(r) {
2724
+ oe[r ? "unshift" : "push"](() => {
2725
+ ue = r, i(35, ue);
2726
+ });
2727
+ }
2728
+ function Na(r) {
2729
+ oe[r ? "unshift" : "push"](() => {
2730
+ ce = r, i(36, ce);
2731
+ });
2732
+ }
2733
+ function Ta(r) {
2734
+ oe[r ? "unshift" : "push"](() => {
2735
+ ue = r, i(35, ue);
2736
+ });
2737
+ }
2738
+ function Ea(r) {
2739
+ oe[r ? "unshift" : "push"](() => {
2740
+ ie = r, i(21, ie);
2741
+ });
2742
+ }
2743
+ return n.$$set = (r) => {
2744
+ "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, u = r.session), "userid" in r && i(7, f = r.userid), "favorites" in r && i(8, g = r.favorites), "clientstyling" in r && i(9, p = r.clientstyling), "clientstylingurl" in r && i(10, b = r.clientstylingurl), "translationurl" in r && i(11, C = r.translationurl), "currency" in r && i(12, I = r.currency), "categoryid" in r && i(0, k = r.categoryid), "showgamename" in r && i(13, _ = r.showgamename), "livecasino" in r && i(14, c = r.livecasino), "gamepagemodalurl" in r && i(15, d = r.gamepagemodalurl), "integratedgameframedesktop" in r && i(16, P = r.integratedgameframedesktop), "integratedgameframemobile" in r && i(17, A = r.integratedgameframemobile), "casinomygames" in r && i(18, w = r.casinomygames), "addfilterselector" in r && i(1, $ = r.addfilterselector), "addsortingselector" in r && i(2, be = r.addsortingselector), "filterbylogo" in r && i(19, He = r.filterbylogo), "casinogamesgridslider" in r && i(20, Ve = r.casinogamesgridslider), "fetchviaevent" in r && i(45, se = r.fetchviaevent), "showallpage" in r && i(46, Ne = r.showallpage), "actionevent" in r && i(47, Te = r.actionevent), "displayedgamecount" in r && i(48, we = r.displayedgamecount), "showallbuttongamescount" in r && i(49, ke = r.showallbuttongamescount);
2745
+ }, n.$$.update = () => {
2746
+ n.$$.dirty[0] & /*lang*/
2747
+ 32 && m && Sa(), n.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
2748
+ 57 | n.$$.dirty[1] & /*fetchviaevent, displayedgamecount, showallbuttongamescount*/
2749
+ 409600 && (se === "false" || se === "") && l && m && k && s && we && ke && da(k, we, ke), n.$$.dirty[0] & /*favorites, endpoint, session, userid*/
2750
+ 456 && g === "true" && l && u && f && Be(u, f), n.$$.dirty[0] & /*thumbnailContainer*/
2751
+ 4194304 | n.$$.dirty[1] & /*dataloaded*/
2752
+ 524288 && Pe && ge && ya(), n.$$.dirty[0] & /*lang, categoryid*/
2753
+ 33 && m && k && wa(), n.$$.dirty[0] & /*translationurl*/
2754
+ 2048 && C && fa(), n.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2755
+ 2097664 && p && ie && Fa(), n.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2756
+ 2098176 && b && ie && Ga();
2757
+ }, [
2758
+ k,
2759
+ $,
2760
+ be,
2761
+ l,
2762
+ s,
2763
+ m,
2764
+ u,
2765
+ f,
2766
+ g,
2767
+ p,
2768
+ b,
2769
+ C,
2770
+ I,
2771
+ _,
2772
+ c,
2773
+ d,
2774
+ P,
2775
+ A,
2776
+ w,
2777
+ He,
2778
+ Ve,
2779
+ ie,
2780
+ ge,
2781
+ Z,
2782
+ Ee,
2783
+ ee,
2784
+ R,
2785
+ z,
2786
+ J,
2787
+ K,
2788
+ Fe,
2789
+ re,
2790
+ Ae,
2791
+ je,
2792
+ me,
2793
+ ue,
2794
+ ce,
2795
+ fe,
2796
+ de,
2797
+ Le,
2798
+ te,
2799
+ t,
2800
+ qe,
2801
+ ba,
2802
+ Ke,
2803
+ se,
2804
+ Ne,
2805
+ Te,
2806
+ we,
2807
+ ke,
2808
+ Pe,
2809
+ Ca,
2810
+ Ma,
2811
+ za,
2812
+ Ia,
2813
+ Na,
2814
+ Ta,
2815
+ Ea
2816
+ ];
2817
+ }
2818
+ class Fi extends La {
2819
+ constructor(a) {
2820
+ super(), Pa(
2821
+ this,
2822
+ a,
2823
+ Si,
2824
+ ki,
2825
+ Ua,
2826
+ {
2827
+ endpoint: 3,
2828
+ datasource: 4,
2829
+ lang: 5,
2830
+ session: 6,
2831
+ userid: 7,
2832
+ favorites: 8,
2833
+ clientstyling: 9,
2834
+ clientstylingurl: 10,
2835
+ translationurl: 11,
2836
+ currency: 12,
2837
+ categoryid: 0,
2838
+ showgamename: 13,
2839
+ livecasino: 14,
2840
+ gamepagemodalurl: 15,
2841
+ integratedgameframedesktop: 16,
2842
+ integratedgameframemobile: 17,
2843
+ casinomygames: 18,
2844
+ addfilterselector: 1,
2845
+ addsortingselector: 2,
2846
+ filterbylogo: 19,
2847
+ casinogamesgridslider: 20,
2848
+ fetchviaevent: 45,
2849
+ showallpage: 46,
2850
+ actionevent: 47,
2851
+ displayedgamecount: 48,
2852
+ showallbuttongamescount: 49
2853
+ },
2854
+ Ka,
2855
+ [-1, -1, -1, -1]
2856
+ );
2857
+ }
2858
+ get endpoint() {
2859
+ return this.$$.ctx[3];
2860
+ }
2861
+ set endpoint(a) {
2862
+ this.$$set({ endpoint: a }), N();
2863
+ }
2864
+ get datasource() {
2865
+ return this.$$.ctx[4];
2866
+ }
2867
+ set datasource(a) {
2868
+ this.$$set({ datasource: a }), N();
2869
+ }
2870
+ get lang() {
2871
+ return this.$$.ctx[5];
2872
+ }
2873
+ set lang(a) {
2874
+ this.$$set({ lang: a }), N();
2875
+ }
2876
+ get session() {
2877
+ return this.$$.ctx[6];
2878
+ }
2879
+ set session(a) {
2880
+ this.$$set({ session: a }), N();
2881
+ }
2882
+ get userid() {
2883
+ return this.$$.ctx[7];
2884
+ }
2885
+ set userid(a) {
2886
+ this.$$set({ userid: a }), N();
2887
+ }
2888
+ get favorites() {
2889
+ return this.$$.ctx[8];
2890
+ }
2891
+ set favorites(a) {
2892
+ this.$$set({ favorites: a }), N();
2893
+ }
2894
+ get clientstyling() {
2895
+ return this.$$.ctx[9];
2896
+ }
2897
+ set clientstyling(a) {
2898
+ this.$$set({ clientstyling: a }), N();
2899
+ }
2900
+ get clientstylingurl() {
2901
+ return this.$$.ctx[10];
2902
+ }
2903
+ set clientstylingurl(a) {
2904
+ this.$$set({ clientstylingurl: a }), N();
2905
+ }
2906
+ get translationurl() {
2907
+ return this.$$.ctx[11];
2908
+ }
2909
+ set translationurl(a) {
2910
+ this.$$set({ translationurl: a }), N();
2911
+ }
2912
+ get currency() {
2913
+ return this.$$.ctx[12];
2914
+ }
2915
+ set currency(a) {
2916
+ this.$$set({ currency: a }), N();
2917
+ }
2918
+ get categoryid() {
2919
+ return this.$$.ctx[0];
2920
+ }
2921
+ set categoryid(a) {
2922
+ this.$$set({ categoryid: a }), N();
2923
+ }
2924
+ get showgamename() {
2925
+ return this.$$.ctx[13];
2926
+ }
2927
+ set showgamename(a) {
2928
+ this.$$set({ showgamename: a }), N();
2929
+ }
2930
+ get livecasino() {
2931
+ return this.$$.ctx[14];
2932
+ }
2933
+ set livecasino(a) {
2934
+ this.$$set({ livecasino: a }), N();
2935
+ }
2936
+ get gamepagemodalurl() {
2937
+ return this.$$.ctx[15];
2938
+ }
2939
+ set gamepagemodalurl(a) {
2940
+ this.$$set({ gamepagemodalurl: a }), N();
2941
+ }
2942
+ get integratedgameframedesktop() {
2943
+ return this.$$.ctx[16];
2944
+ }
2945
+ set integratedgameframedesktop(a) {
2946
+ this.$$set({ integratedgameframedesktop: a }), N();
2947
+ }
2948
+ get integratedgameframemobile() {
2949
+ return this.$$.ctx[17];
2950
+ }
2951
+ set integratedgameframemobile(a) {
2952
+ this.$$set({ integratedgameframemobile: a }), N();
2953
+ }
2954
+ get casinomygames() {
2955
+ return this.$$.ctx[18];
2956
+ }
2957
+ set casinomygames(a) {
2958
+ this.$$set({ casinomygames: a }), N();
2959
+ }
2960
+ get addfilterselector() {
2961
+ return this.$$.ctx[1];
2962
+ }
2963
+ set addfilterselector(a) {
2964
+ this.$$set({ addfilterselector: a }), N();
2965
+ }
2966
+ get addsortingselector() {
2967
+ return this.$$.ctx[2];
2968
+ }
2969
+ set addsortingselector(a) {
2970
+ this.$$set({ addsortingselector: a }), N();
2971
+ }
2972
+ get filterbylogo() {
2973
+ return this.$$.ctx[19];
2974
+ }
2975
+ set filterbylogo(a) {
2976
+ this.$$set({ filterbylogo: a }), N();
2977
+ }
2978
+ get casinogamesgridslider() {
2979
+ return this.$$.ctx[20];
2980
+ }
2981
+ set casinogamesgridslider(a) {
2982
+ this.$$set({ casinogamesgridslider: a }), N();
2983
+ }
2984
+ get fetchviaevent() {
2985
+ return this.$$.ctx[45];
2986
+ }
2987
+ set fetchviaevent(a) {
2988
+ this.$$set({ fetchviaevent: a }), N();
2989
+ }
2990
+ get showallpage() {
2991
+ return this.$$.ctx[46];
2992
+ }
2993
+ set showallpage(a) {
2994
+ this.$$set({ showallpage: a }), N();
2995
+ }
2996
+ get actionevent() {
2997
+ return this.$$.ctx[47];
2998
+ }
2999
+ set actionevent(a) {
3000
+ this.$$set({ actionevent: a }), N();
3001
+ }
3002
+ get displayedgamecount() {
3003
+ return this.$$.ctx[48];
3004
+ }
3005
+ set displayedgamecount(a) {
3006
+ this.$$set({ displayedgamecount: a }), N();
3007
+ }
3008
+ get showallbuttongamescount() {
3009
+ return this.$$.ctx[49];
3010
+ }
3011
+ set showallbuttongamescount(a) {
3012
+ this.$$set({ showallbuttongamescount: a }), N();
3013
+ }
3014
+ }
3015
+ Da(Fi, { 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);
3016
+ export {
3017
+ Fi as default
3018
+ };