@everymatrix/casino-most-played-section 1.0.69 → 1.0.70

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