@everymatrix/casino-games-category-section 1.74.2 → 1.74.4

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.
@@ -1 +1 @@
1
- "use strict";var he=(s,t,a)=>new Promise((n,o)=>{var l=u=>{try{m(a.next(u))}catch(_){o(_)}},r=u=>{try{m(a.throw(u))}catch(_){o(_)}},m=u=>u.done?n(u.value):Promise.resolve(u.value).then(l,r);m((a=a.apply(s,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFilter-BTWS0FsQ.cjs"),pe=require("./CasinoGameThumbnail-6gj212_i.cjs");function Be(s,t){e.addMessages(s,t)}function Mt(s){e.$locale.set(s)}const He={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",500:"500 Error - Internal Server Error.",404:"404 Error - No result found."},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待",500:"500 錯誤 - 內部伺服器錯誤。",404:"404 錯誤 - 找不到結果。"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",500:"500 Fehler - Interner Serverfehler.",404:"404 Fehler - Kein Ergebnis gefunden."},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare.",500:"Errore 500 - Errore interno del server.",404:"Errore 404 - Nessun risultato trovato."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",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",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente",500:"Erreur 500 - Erreur interne du serveur.",404:"Erreur 404 - Aucun résultat trouvé."},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando",500:"Error 500 - Error interno del servidor.",404:"Error 404 - No se encontró ningún resultado."},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor",500:"500 Hatası - Dahili Sunucu Hatası.",404:"404 Hatası - Sonuç bulunamadı."},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз",500:"Ошибка 500 - Внутренняя ошибка сервера.",404:"Ошибка 404 - Результат не найден."},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare",500:"Eroare 500 - Eroare internă de server.",404:"Eroare 404 - Nu a fost găsit niciun rezultat."},hr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje",500:"Došlo je do pogreške. Molimo kontaktirajte korisničku podršku za više pomoći",404:"Pogreška 404 - Rezultat nije pronađen."},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra.",500:"500-as hiba - Belső szerverhiba.",404:"404-es hiba - Nem található eredmény."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie.",500:"Błąd 500 - Wewnętrzny błąd serwera.",404:"Błąd 404 - Nie znaleziono wyniku."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando",500:"Erro 500 - Erro interno do servidor.",404:"Erro 404 - Nenhum resultado encontrado."},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno.",500:"Napaka 500 - Notranja napaka strežnika.",404:"Napaka 404 - Rezultat ni bil najden."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo.",500:"Грешка 500 - Интерна грешка сервера.",404:"Грешка 404 - Резултат није пронађен."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando",500:"Erro 500 - Erro interno do servidor.",404:"Erro 404 - Nenhum resultado encontrado."},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando",500:"Error 500 - Error interno del servidor.",404:"Error 404 - No se encontró ningún resultado."},"en-us":{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",500:"500 Error - Internal Server Error.",404:"404 Error - No result found."}};if(typeof window!="undefined"){let s=function(t){return function(...a){try{return t.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoGameThumbnail-6gj212_i.cjs")).then(t=>t.CasinoGameThumbnail_ce).then(({default:t})=>{!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...a){try{return t.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFilter-BTWS0FsQ.cjs")).then(t=>t.CasinoFilter_ce).then(({default:t})=>{!customElements.get("casino-filter")&&customElements.define("casino-filter",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...a){try{return t.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoSort-BC0bXCb5.cjs")).then(({default:t})=>{!customElements.get("casino-sort")&&customElements.define("casino-sort",t.element)})}function Ct(s){e.append_styles(s,"svelte-gwk3ko",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;overscroll-behavior-x:none}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}.SingleOrEmptyCategoryFilterContainer{margin-left:auto}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CategoryFilterContainer{gap:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}')}function qe(s,t,a){const n=s.slice();return n[95]=t[a],n[97]=a,n}function Ve(s,t,a){const n=s.slice();return n[95]=t[a],n[98]=t,n[97]=a,n}function We(s,t,a){const n=s.slice();return n[95]=t[a],n[97]=a,n}function zt(s){let t;function a(l,r){if(l[28])return jt;if(l[39])return It}let n=a(s),o=n&&n(s);return{c(){t=e.element("div"),o&&o.c()},m(l,r){e.insert(l,t,r),o&&o.m(t,null)},p(l,r){n===(n=a(l))&&o?o.p(l,r):(o&&o.d(1),o=n&&n(l),o&&(o.c(),o.m(t,null)))},d(l){l&&e.detach(t),o&&o.d()}}}function Et(s){let t,a,n;function o(f,h){return f[32]?Xt:f[29].length?Jt:Kt}let l=o(s),r=l(s);function m(f,h){return f[29]?Qt:Zt}let u=m(s),_=u(s);return{c(){t=e.element("div"),a=e.element("div"),r.c(),n=e.space(),_.c(),e.attr(a,"class","CasinoGamesHeader Searched "+(e.isMobile(s[44])?"CasinoGamesHeaderMobile":"")),e.attr(t,"class","CasinoGamesContainer")},m(f,h){e.insert(f,t,h),e.append(t,a),r.m(a,null),e.append(t,n),_.m(t,null)},p(f,h){l===(l=o(f))&&r?r.p(f,h):(r.d(1),r=l(f),r&&(r.c(),r.m(a,null))),u===(u=m(f))&&_?_.p(f,h):(_.d(1),_=u(f),_&&(_.c(),_.m(t,null)))},d(f){f&&e.detach(t),r.d(),_.d()}}}function Nt(s){let t;function a(l,r){return l[34]?$t:xt}let n=a(s),o=n(s);return{c(){o.c(),t=e.empty()},m(l,r){o.m(l,r),e.insert(l,t,r)},p(l,r){n===(n=a(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(t.parentNode,t)))},d(l){l&&e.detach(t),o.d(l)}}}function It(s){let t,a,n,o,l=s[18]!=="true"&&Ye(s);function r(_,f){return _[25]&&!_[36]?Rt:_[42]?Lt:At}let m=r(s),u=m(s);return{c(){t=e.element("div"),l&&l.c(),a=e.space(),n=e.element("ul"),u.c(),e.attr(n,"class",o=(s[42].items.length!=0?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),e.attr(t,"class","CasinoGamesContainer")},m(_,f){e.insert(_,t,f),l&&l.m(t,null),e.append(t,a),e.append(t,n),u.m(n,null),s[60](n)},p(_,f){_[18]!=="true"?l?l.p(_,f):(l=Ye(_),l.c(),l.m(t,a)):l&&(l.d(1),l=null),m===(m=r(_))&&u?u.p(_,f):(u.d(1),u=m(_),u&&(u.c(),u.m(n,null))),f[1]&2048&&o!==(o=(_[42].items.length!=0?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&e.attr(n,"class",o)},d(_){_&&e.detach(t),l&&l.d(),u.d(),s[60](null)}}}function jt(s){let t,a,n=s[18]!=="true"&&xe(s);function o(m,u){return m[25]&&!m[36]?Wt:m[29].length!==0?Vt:qt}let l=o(s),r=l(s);return{c(){t=e.element("div"),n&&n.c(),a=e.space(),r.c(),e.attr(t,"class","CasinoGamesContainer")},m(m,u){e.insert(m,t,u),n&&n.m(t,null),e.append(t,a),r.m(t,null)},p(m,u){m[18]!=="true"?n?n.p(m,u):(n=xe(m),n.c(),n.m(t,a)):n&&(n.d(1),n=null),l===(l=o(m))&&r?r.p(m,u):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},d(m){m&&e.detach(t),n&&n.d(),r.d()}}}function Ye(s){let t,a,n=s[43]("favorites")+"",o,l,r,m,u=s[42].items.length+"",_,f;return{c(){t=e.element("div"),a=e.element("h3"),o=e.text(n),l=e.space(),r=e.element("span"),m=e.text("("),_=e.text(u),f=e.text(")"),e.attr(r,"class","CategoryFavName"),e.attr(a,"class","CategoryName"),e.attr(t,"class","CasinoGamesHeader")},m(h,k){e.insert(h,t,k),e.append(t,a),e.append(a,o),e.append(a,l),e.append(a,r),e.append(r,m),e.append(r,_),e.append(r,f),s[59](a)},p(h,k){k[1]&4096&&n!==(n=h[43]("favorites")+"")&&e.set_data(o,n),k[1]&2048&&u!==(u=h[42].items.length+"")&&e.set_data(_,u)},d(h){h&&e.detach(t),s[59](null)}}}function At(s){let t,a=s[43]("waiting")+"",n;return{c(){t=e.element("p"),n=e.text(a)},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("waiting")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Lt(s){let t,a=e.ensure_array_like(s[42].items),n=[];for(let l=0;l<a.length;l+=1)n[l]=Qe(qe(s,a,l));let o=null;return a.length||(o=Je(s)),{c(){for(let l=0;l<n.length;l+=1)n[l].c();t=e.empty(),o&&o.c()},m(l,r){for(let m=0;m<n.length;m+=1)n[m]&&n[m].m(l,r);e.insert(l,t,r),o&&o.m(l,r)},p(l,r){if(r[0]&2359273|r[1]&32512){a=e.ensure_array_like(l[42].items);let m;for(m=0;m<a.length;m+=1){const u=qe(l,a,m);n[m]?n[m].p(u,r):(n[m]=Qe(u),n[m].c(),n[m].m(t.parentNode,t))}for(;m<n.length;m+=1)n[m].d(1);n.length=a.length,!a.length&&o?o.p(l,r):a.length?o&&(o.d(1),o=null):(o=Je(l),o.c(),o.m(t.parentNode,t))}},d(l){l&&e.detach(t),e.destroy_each(n,l),o&&o.d(l)}}}function Rt(s){let t;return{c(){t=e.element("div"),e.attr(t,"class","lds-dual-ring")},m(a,n){e.insert(a,t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function Je(s){let t,a,n,o,l,r,m,u,_,f,h,k=s[43]("noFavoritesTitle")+"",F,b,d;function c(p,T){return e.isMobile(p[44])?Pt:Tt}let E=c(s)(s);return{c(){t=e.element("p"),a=e.svg_element("svg"),n=e.svg_element("rect"),o=e.svg_element("rect"),l=e.svg_element("circle"),r=e.svg_element("path"),m=e.svg_element("path"),u=e.svg_element("path"),_=e.svg_element("path"),f=e.space(),h=e.element("span"),F=e.text(k),b=e.space(),E.c(),d=e.space(),e.attr(n,"x","1"),e.attr(n,"y","18.053"),e.attr(n,"width","90.263"),e.attr(n,"height","90.263"),e.attr(n,"rx","12"),e.attr(n,"stroke","var(--emw--color-gray-150, #828282)"),e.attr(n,"stroke-width","1.5"),e.attr(o,"x","106.737"),e.attr(o,"y","56.737"),e.attr(o,"width","90.263"),e.attr(o,"height","90.263"),e.attr(o,"rx","12"),e.attr(o,"stroke","var(--emw--color-gray-150, #828282)"),e.attr(o,"stroke-width","1.5"),e.attr(l,"cx","70.5"),e.attr(l,"cy","32.237"),e.attr(l,"r","31.487"),e.attr(l,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(l,"stroke-width","1.5"),e.attr(l,"stroke-dasharray","5 0"),e.attr(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"),e.attr(r,"fill","var(--emw--color-gray-150, #828282)"),e.attr(m,"d","M78 43h11v13H78V43z"),e.attr(m,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(u,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),e.attr(u,"fill","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(u,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(u,"stroke-linecap","round"),e.attr(u,"stroke-linejoin","round"),e.attr(_,"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"),e.attr(_,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(_,"stroke-width","1.5"),e.attr(_,"stroke-linecap","round"),e.attr(_,"stroke-linejoin","round"),e.attr(a,"width","198"),e.attr(a,"height","148"),e.attr(a,"viewBox","0 0 198 148"),e.attr(a,"fill","none"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(h,"class","NoFavoriteText NoFavoriteTextHighlight"),e.attr(t,"class","NoFavoriteGames "+(e.isMobile(s[44])?"NoFavoriteGamesMobile":""))},m(p,T){e.insert(p,t,T),e.append(t,a),e.append(a,n),e.append(a,o),e.append(a,l),e.append(a,r),e.append(a,m),e.append(a,u),e.append(a,_),e.append(t,f),e.append(t,h),e.append(h,F),e.append(t,b),E.m(t,null),e.append(t,d)},p(p,T){T[1]&4096&&k!==(k=p[43]("noFavoritesTitle")+"")&&e.set_data(F,k),E.p(p,T)},d(p){p&&e.detach(t),E.d()}}}function Tt(s){let t,a=s[43]("noFavorites")+"",n;return{c(){t=e.element("span"),n=e.text(a),e.attr(t,"class","NoFavoriteText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noFavorites")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Pt(s){let t,a=s[43]("noFavoritesMobile")+"",n;return{c(){t=e.element("span"),n=e.text(a),e.attr(t,"class","NoFavoriteText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noFavoritesMobile")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Ke(s){let t,a=s[95].gameModel.isFavorite&&Xe(s);return{c(){a&&a.c(),t=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,t,o)},p(n,o){n[95].gameModel.isFavorite?a?a.p(n,o):(a=Xe(n),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){n&&e.detach(t),a&&a.d(n)}}}function Xe(s){let t,a=Dt(s);return{c(){a&&a.c(),t=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,t,o)},p(n,o){a.p(n,o)},d(n){n&&e.detach(t),a&&a.d(n)}}}function Dt(s){let t,a,n;function o(m,u){if(u[1]&2048&&(a=null),t==null&&(t=!!e.isMobile(m[44])),t)return Ot;if(a==null&&(a=!!m[95].gameModel.platform.includes("PC")),a)return Ut}let l=o(s,[-1,-1,-1,-1]),r=l&&l(s);return{c(){r&&r.c(),n=e.empty()},m(m,u){r&&r.m(m,u),e.insert(m,n,u)},p(m,u){l===(l=o(m,u))&&r?r.p(m,u):(r&&r.d(1),r=l&&l(m),r&&(r.c(),r.m(n.parentNode,n)))},d(m){m&&e.detach(n),r&&r.d(m)}}}function Ut(s){let t,a,n,o,l,r,m,u,_,f,h,k,F,b;return{c(){var d,c,N;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"class",a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1"))),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"translationurl",s[11]),e.set_custom_element_data(t,"favorites",s[8]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"gamethumbnail",n=s[95].gameModel.thumbnail),e.set_custom_element_data(t,"gamename",o=s[95].gameModel.name),e.set_custom_element_data(t,"gamevendor",l=s[95].gameModel.vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",r=s[95].launchUrl),e.set_custom_element_data(t,"gameisnew",m=(c=(d=s[95])==null?void 0:d.gameModel)==null?void 0:c.isNew),e.set_custom_element_data(t,"gametag",u=s[45]((N=s[95].gameModel)==null?void 0:N.advancedTags)),e.set_custom_element_data(t,"gamecellsize",_=s[95].cellSize),e.set_custom_element_data(t,"gameid",f=s[95].gameModel.id),e.set_custom_element_data(t,"gamefunmode",h=s[95].gameModel.hasFunMode),e.set_custom_element_data(t,"showgamename",s[13]),e.set_custom_element_data(t,"gamefavorite",k=s[95].gameModel.isFavorite),e.set_custom_element_data(t,"showfavoredcategory",s[39]),e.set_custom_element_data(t,"connectlive",F=s[40][s[95].id]==1?"connect":"disconnect"),e.set_custom_element_data(t,"visibilityconnect",s[41]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"currency",s[12]),e.set_custom_element_data(t,"livelobbyendpoint",b=s[95].gameModel.details?s[95].gameModel.launchUrl:""),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"livecasino",s[14]),e.set_custom_element_data(t,"gamepagemodalurl",s[15]),e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),e.set_custom_element_data(t,"integratedgameframemobile",s[17])},m(d,c){e.insert(d,t,c)},p(d,c){var N,E,p;c[1]&2048&&a!==(a=""+(W+(d[95].cellSize?d[95].cellSize:"1x1")))&&e.set_custom_element_data(t,"class",a),c[0]&64&&e.set_custom_element_data(t,"session",d[6]),c[0]&128&&e.set_custom_element_data(t,"userid",d[7]),c[0]&32&&e.set_custom_element_data(t,"lang",d[5]),c[0]&2048&&e.set_custom_element_data(t,"translationurl",d[11]),c[0]&256&&e.set_custom_element_data(t,"favorites",d[8]),c[0]&1&&e.set_custom_element_data(t,"categoryid",d[0]),c[1]&2048&&n!==(n=d[95].gameModel.thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),c[1]&2048&&o!==(o=d[95].gameModel.name)&&e.set_custom_element_data(t,"gamename",o),c[1]&2048&&l!==(l=d[95].gameModel.vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",l),c[1]&2048&&r!==(r=d[95].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",r),c[1]&2048&&m!==(m=(E=(N=d[95])==null?void 0:N.gameModel)==null?void 0:E.isNew)&&e.set_custom_element_data(t,"gameisnew",m),c[1]&2048&&u!==(u=d[45]((p=d[95].gameModel)==null?void 0:p.advancedTags))&&e.set_custom_element_data(t,"gametag",u),c[1]&2048&&_!==(_=d[95].cellSize)&&e.set_custom_element_data(t,"gamecellsize",_),c[1]&2048&&f!==(f=d[95].gameModel.id)&&e.set_custom_element_data(t,"gameid",f),c[1]&2048&&h!==(h=d[95].gameModel.hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),c[0]&8192&&e.set_custom_element_data(t,"showgamename",d[13]),c[1]&2048&&k!==(k=d[95].gameModel.isFavorite)&&e.set_custom_element_data(t,"gamefavorite",k),c[1]&256&&e.set_custom_element_data(t,"showfavoredcategory",d[39]),c[1]&2560&&F!==(F=d[40][d[95].id]==1?"connect":"disconnect")&&e.set_custom_element_data(t,"connectlive",F),c[1]&1024&&e.set_custom_element_data(t,"visibilityconnect",d[41]),c[0]&2097152&&e.set_custom_element_data(t,"mbsource",d[21]),c[0]&4096&&e.set_custom_element_data(t,"currency",d[12]),c[1]&2048&&b!==(b=d[95].gameModel.details?d[95].gameModel.launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",b),c[0]&512&&e.set_custom_element_data(t,"clientstyling",d[9]),c[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",d[10]),c[0]&8&&e.set_custom_element_data(t,"endpoint",d[3]),c[0]&16384&&e.set_custom_element_data(t,"livecasino",d[14]),c[0]&32768&&e.set_custom_element_data(t,"gamepagemodalurl",d[15]),c[0]&65536&&e.set_custom_element_data(t,"integratedgameframedesktop",d[16]),c[0]&131072&&e.set_custom_element_data(t,"integratedgameframemobile",d[17])},d(d){d&&e.detach(t)}}}function Ot(s){let t=s[95].gameModel.platform.includes("iPad")||s[95].gameModel.platform.includes("iPhone")||s[95].gameModel.platform.includes("Android"),a,n=t&&Ze(s);return{c(){n&&n.c(),a=e.empty()},m(o,l){n&&n.m(o,l),e.insert(o,a,l)},p(o,l){l[1]&2048&&(t=o[95].gameModel.platform.includes("iPad")||o[95].gameModel.platform.includes("iPhone")||o[95].gameModel.platform.includes("Android")),t?n?n.p(o,l):(n=Ze(o),n.c(),n.m(a.parentNode,a)):n&&(n.d(1),n=null)},d(o){o&&e.detach(a),n&&n.d(o)}}}function Ze(s){let t,a,n,o,l,r,m,u,_,f,h,k,F,b;return{c(){var d,c;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"class",a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1"))),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"favorites",s[8]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"gamethumbnail",n=s[95].gameModel.thumbnail),e.set_custom_element_data(t,"gamename",o=s[95].gameModel.name),e.set_custom_element_data(t,"gamevendor",l=s[95].gameModel.vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",r=s[95].launchUrl),e.set_custom_element_data(t,"gameisnew",m=(d=s[95].gameModel)==null?void 0:d.isNew),e.set_custom_element_data(t,"gametag",u=s[45]((c=s[95].gameModel)==null?void 0:c.advancedTags)),e.set_custom_element_data(t,"gamecellsize",_=s[95].cellSize),e.set_custom_element_data(t,"gameid",f=s[95].gameModel.id),e.set_custom_element_data(t,"gamefunmode",h=s[95].gameModel.hasFunMode),e.set_custom_element_data(t,"showgamename",s[13]),e.set_custom_element_data(t,"gamefavorite",k=s[95].gameModel.isFavorite),e.set_custom_element_data(t,"showfavoredcategory",s[39]),e.set_custom_element_data(t,"connectlive",F=s[40][s[95].id]==1?"connect":"disconnect"),e.set_custom_element_data(t,"visibilityconnect",s[41]),e.set_custom_element_data(t,"translationurl",s[11]),e.set_custom_element_data(t,"currency",s[12]),e.set_custom_element_data(t,"livelobbyendpoint",b=s[95].gameModel.details?s[95].gameModel.launchUrl:""),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"livecasino",s[14]),e.set_custom_element_data(t,"gamepagemodalurl",s[15]),e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),e.set_custom_element_data(t,"integratedgameframemobile",s[17])},m(d,c){e.insert(d,t,c)},p(d,c){var N,E;c[1]&2048&&a!==(a=""+(W+(d[95].cellSize?d[95].cellSize:"1x1")))&&e.set_custom_element_data(t,"class",a),c[0]&64&&e.set_custom_element_data(t,"session",d[6]),c[0]&128&&e.set_custom_element_data(t,"userid",d[7]),c[0]&32&&e.set_custom_element_data(t,"lang",d[5]),c[0]&2097152&&e.set_custom_element_data(t,"mbsource",d[21]),c[0]&256&&e.set_custom_element_data(t,"favorites",d[8]),c[0]&1&&e.set_custom_element_data(t,"categoryid",d[0]),c[1]&2048&&n!==(n=d[95].gameModel.thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),c[1]&2048&&o!==(o=d[95].gameModel.name)&&e.set_custom_element_data(t,"gamename",o),c[1]&2048&&l!==(l=d[95].gameModel.vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",l),c[1]&2048&&r!==(r=d[95].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",r),c[1]&2048&&m!==(m=(N=d[95].gameModel)==null?void 0:N.isNew)&&e.set_custom_element_data(t,"gameisnew",m),c[1]&2048&&u!==(u=d[45]((E=d[95].gameModel)==null?void 0:E.advancedTags))&&e.set_custom_element_data(t,"gametag",u),c[1]&2048&&_!==(_=d[95].cellSize)&&e.set_custom_element_data(t,"gamecellsize",_),c[1]&2048&&f!==(f=d[95].gameModel.id)&&e.set_custom_element_data(t,"gameid",f),c[1]&2048&&h!==(h=d[95].gameModel.hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),c[0]&8192&&e.set_custom_element_data(t,"showgamename",d[13]),c[1]&2048&&k!==(k=d[95].gameModel.isFavorite)&&e.set_custom_element_data(t,"gamefavorite",k),c[1]&256&&e.set_custom_element_data(t,"showfavoredcategory",d[39]),c[1]&2560&&F!==(F=d[40][d[95].id]==1?"connect":"disconnect")&&e.set_custom_element_data(t,"connectlive",F),c[1]&1024&&e.set_custom_element_data(t,"visibilityconnect",d[41]),c[0]&2048&&e.set_custom_element_data(t,"translationurl",d[11]),c[0]&4096&&e.set_custom_element_data(t,"currency",d[12]),c[1]&2048&&b!==(b=d[95].gameModel.details?d[95].gameModel.launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",b),c[0]&512&&e.set_custom_element_data(t,"clientstyling",d[9]),c[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",d[10]),c[0]&8&&e.set_custom_element_data(t,"endpoint",d[3]),c[0]&16384&&e.set_custom_element_data(t,"livecasino",d[14]),c[0]&32768&&e.set_custom_element_data(t,"gamepagemodalurl",d[15]),c[0]&65536&&e.set_custom_element_data(t,"integratedgameframedesktop",d[16]),c[0]&131072&&e.set_custom_element_data(t,"integratedgameframemobile",d[17])},d(d){d&&e.detach(t)}}}function Qe(s){let t,a=s[95].gameModel&&Ke(s);return{c(){a&&a.c(),t=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,t,o)},p(n,o){n[95].gameModel?a?a.p(n,o):(a=Ke(n),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){n&&e.detach(t),a&&a.d(n)}}}function xe(s){let t,a,n=s[28].name+"",o,l;function r(_,f){return _[27]&&!_[30]?Ht:Bt}let m=r(s),u=m(s);return{c(){t=e.element("div"),a=e.element("h3"),o=e.text(n),l=e.space(),u.c(),e.attr(a,"class","CategoryName"),e.attr(t,"class","CasinoGamesHeader")},m(_,f){e.insert(_,t,f),e.append(t,a),e.append(a,o),s[55](a),e.append(t,l),u.m(t,null)},p(_,f){f[0]&268435456&&n!==(n=_[28].name+"")&&e.set_data(o,n),m===(m=r(_))&&u?u.p(_,f):(u.d(1),u=m(_),u&&(u.c(),u.m(t,null)))},d(_){_&&e.detach(t),s[55](null),u.d()}}}function Bt(s){let t,a,n,o=s[1]=="true"&&s[22]==="false"&&$e(s),l=s[2]=="true"&&et(s);return{c(){t=e.element("div"),o&&o.c(),a=e.space(),l&&l.c(),e.attr(t,"class",n=s[1]=="true"&&s[22]==="false"&&s[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")},m(r,m){e.insert(r,t,m),o&&o.m(t,null),e.append(t,a),l&&l.m(t,null)},p(r,m){r[1]=="true"&&r[22]==="false"?o?o.p(r,m):(o=$e(r),o.c(),o.m(t,a)):o&&(o.d(1),o=null),r[2]=="true"?l?l.p(r,m):(l=et(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),m[0]&4194310&&n!==(n=r[1]=="true"&&r[22]==="false"&&r[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")&&e.attr(t,"class",n)},d(r){r&&e.detach(t),o&&o.d(),l&&l.d()}}}function Ht(s){let t,a,n=s[43]("viewAll")+"",o,l,r=s[28].games.total+"",m,u,_,f;return{c(){t=e.element("a"),a=e.element("span"),o=e.text(n),l=e.text(" ("),m=e.text(r),u=e.text(")"),e.attr(a,"class","CategoryLoadMore"),e.attr(t,"class","CategoryNameLink")},m(h,k){e.insert(h,t,k),e.append(t,a),e.append(a,o),e.append(a,l),e.append(a,m),e.append(a,u),_||(f=e.listen(t,"click",s[56]),_=!0)},p(h,k){k[1]&4096&&n!==(n=h[43]("viewAll")+"")&&e.set_data(o,n),k[0]&268435456&&r!==(r=h[28].games.total+"")&&e.set_data(m,r)},d(h){h&&e.detach(t),_=!1,f()}}}function $e(s){let t;return{c(){t=e.element("casino-filter"),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"datasource",s[4]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"addfilterselector",s[1]),e.set_custom_element_data(t,"addsortingselector",s[2]),e.set_custom_element_data(t,"filterbylogo",s[19])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),n[0]&512&&e.set_custom_element_data(t,"clientstyling",a[9]),n[0]&8&&e.set_custom_element_data(t,"endpoint",a[3]),n[0]&16&&e.set_custom_element_data(t,"datasource",a[4]),n[0]&32&&e.set_custom_element_data(t,"lang",a[5]),n[0]&1&&e.set_custom_element_data(t,"categoryid",a[0]),n[0]&2097152&&e.set_custom_element_data(t,"mbsource",a[21]),n[0]&2&&e.set_custom_element_data(t,"addfilterselector",a[1]),n[0]&4&&e.set_custom_element_data(t,"addsortingselector",a[2]),n[0]&524288&&e.set_custom_element_data(t,"filterbylogo",a[19])},d(a){a&&e.detach(t)}}}function et(s){let t;return{c(){t=e.element("casino-sort"),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"addsortingselector",s[2])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),n[0]&512&&e.set_custom_element_data(t,"clientstyling",a[9]),n[0]&32&&e.set_custom_element_data(t,"lang",a[5]),n[0]&2097152&&e.set_custom_element_data(t,"mbsource",a[21]),n[0]&1&&e.set_custom_element_data(t,"categoryid",a[0]),n[0]&4&&e.set_custom_element_data(t,"addsortingselector",a[2])},d(a){a&&e.detach(t)}}}function qt(s){let t,a=s[43]("noResults")+"",n;return{c(){t=e.element("p"),n=e.text(a),e.attr(t,"class","NoSearchResults")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noResults")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Vt(s){let t,a=[],n=new Map,o,l=e.ensure_array_like(s[29]);const r=m=>m[95].id;for(let m=0;m<l.length;m+=1){let u=Ve(s,l,m),_=r(u);n.set(_,a[m]=tt(_,u))}return{c(){t=e.element("ul");for(let m=0;m<a.length;m+=1)a[m].c();e.attr(t,"class",o=(s[42].items.length===0&&s[39]?"":"CasinoGamesGrid")+" "+(s[27]&&s[20]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(m,u){e.insert(m,t,u);for(let _=0;_<a.length;_+=1)a[_]&&a[_].m(t,null);s[58](t)},p(m,u){u[0]&557055977|u[1]&17920&&(l=e.ensure_array_like(m[29]),a=e.update_keyed_each(a,u,r,1,m,l,n,t,e.destroy_block,tt,null,Ve)),u[0]&135266304|u[1]&2304&&o!==(o=(m[42].items.length===0&&m[39]?"":"CasinoGamesGrid")+" "+(m[27]&&m[20]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&e.attr(t,"class",o)},d(m){m&&e.detach(t);for(let u=0;u<a.length;u+=1)a[u].d();s[58](null)}}}function Wt(s){let t;return{c(){t=e.element("div"),e.attr(t,"class","lds-dual-ring")},m(a,n){e.insert(a,t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function Yt(s){let t,a,n,o,l,r,m,u,_,f,h,k,F,b,d=s[97];const c=()=>s[57](t,d),N=()=>s[57](null,d);return{c(){t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"class",a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1"))),e.set_custom_element_data(t,"favorites",s[8]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"gamethumbnail",n=s[95].thumbnail),e.set_custom_element_data(t,"gamename",o=s[95].name),e.set_custom_element_data(t,"gamevendor",l=s[95].vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",r=s[95].launchUrl),e.set_custom_element_data(t,"gameisnew",m=s[95].isNew),e.set_custom_element_data(t,"gametag",u=s[45](s[95].advancedTags)),e.set_custom_element_data(t,"gamecellsize",_=s[95].cellSize),e.set_custom_element_data(t,"gameid",f=s[95].id),e.set_custom_element_data(t,"gamefunmode",h=s[95].hasFunMode),e.set_custom_element_data(t,"gamefavorite",k=s[95].isFavorite),e.set_custom_element_data(t,"translationurl",s[11]),e.set_custom_element_data(t,"showgamename",s[13]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"connectlive",F=s[40][s[95].id]==1?"connect":"disconnect"),e.set_custom_element_data(t,"visibilityconnect",s[41]),e.set_custom_element_data(t,"currency",s[12]),e.set_custom_element_data(t,"livelobbyendpoint",b=s[95].details?s[95].href:""),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"livecasino",s[14]),e.set_custom_element_data(t,"gamepagemodalurl",s[15]),e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),e.set_custom_element_data(t,"integratedgameframemobile",s[17]),e.set_custom_element_data(t,"casinogamesgridslider",s[20])},m(E,p){e.insert(E,t,p),c()},p(E,p){s=E,p[0]&64&&e.set_custom_element_data(t,"session",s[6]),p[0]&128&&e.set_custom_element_data(t,"userid",s[7]),p[0]&32&&e.set_custom_element_data(t,"lang",s[5]),p[0]&536870912&&a!==(a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1")))&&e.set_custom_element_data(t,"class",a),p[0]&256&&e.set_custom_element_data(t,"favorites",s[8]),p[0]&1&&e.set_custom_element_data(t,"categoryid",s[0]),p[0]&536870912&&n!==(n=s[95].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),p[0]&536870912&&o!==(o=s[95].name)&&e.set_custom_element_data(t,"gamename",o),p[0]&536870912&&l!==(l=s[95].vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",l),p[0]&536870912&&r!==(r=s[95].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",r),p[0]&536870912&&m!==(m=s[95].isNew)&&e.set_custom_element_data(t,"gameisnew",m),p[0]&536870912&&u!==(u=s[45](s[95].advancedTags))&&e.set_custom_element_data(t,"gametag",u),p[0]&536870912&&_!==(_=s[95].cellSize)&&e.set_custom_element_data(t,"gamecellsize",_),p[0]&536870912&&f!==(f=s[95].id)&&e.set_custom_element_data(t,"gameid",f),p[0]&536870912&&h!==(h=s[95].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),p[0]&536870912&&k!==(k=s[95].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",k),p[0]&2048&&e.set_custom_element_data(t,"translationurl",s[11]),p[0]&8192&&e.set_custom_element_data(t,"showgamename",s[13]),p[0]&2097152&&e.set_custom_element_data(t,"mbsource",s[21]),p[0]&536870912|p[1]&512&&F!==(F=s[40][s[95].id]==1?"connect":"disconnect")&&e.set_custom_element_data(t,"connectlive",F),p[1]&1024&&e.set_custom_element_data(t,"visibilityconnect",s[41]),p[0]&4096&&e.set_custom_element_data(t,"currency",s[12]),p[0]&536870912&&b!==(b=s[95].details?s[95].href:"")&&e.set_custom_element_data(t,"livelobbyendpoint",b),p[0]&512&&e.set_custom_element_data(t,"clientstyling",s[9]),p[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10]),p[0]&8&&e.set_custom_element_data(t,"endpoint",s[3]),p[0]&16384&&e.set_custom_element_data(t,"livecasino",s[14]),p[0]&32768&&e.set_custom_element_data(t,"gamepagemodalurl",s[15]),p[0]&65536&&e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),p[0]&131072&&e.set_custom_element_data(t,"integratedgameframemobile",s[17]),p[0]&1048576&&e.set_custom_element_data(t,"casinogamesgridslider",s[20]),d!==s[97]&&(N(),d=s[97],c())},d(E){E&&e.detach(t),N()}}}function tt(s,t){let a,n,o=Yt(t);return{key:s,first:null,c(){a=e.empty(),o&&o.c(),n=e.empty(),this.first=a},m(l,r){e.insert(l,a,r),o&&o.m(l,r),e.insert(l,n,r)},p(l,r){t=l,o.p(t,r)},d(l){l&&(e.detach(a),e.detach(n)),o&&o.d(l)}}}function Jt(s){let t,a=s[43]("searchedItems")+"",n;return{c(){t=e.element("h3"),n=e.text(a),e.attr(t,"class","StatusText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("searchedItems")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Kt(s){let t,a=s[43]("noResults")+"",n;return{c(){t=e.element("h3"),n=e.text(a),e.attr(t,"class","StatusText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noResults")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Xt(s){let t,a=s[43]("recentSearchedItems")+"",n;return{c(){t=e.element("h3"),n=e.text(a),e.attr(t,"class","StatusText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("recentSearchedItems")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Zt(s){let t;return{c(){t=e.element("p"),t.textContent="Waiting",e.attr(t,"class","SearchWaiting")},m(a,n){e.insert(a,t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function Qt(s){let t,a,n=[],o=new Map,l=!s[35]&&at(s),r=e.ensure_array_like(s[29]);const m=u=>u[95].id;for(let u=0;u<r.length;u+=1){let _=We(s,r,u),f=m(_);o.set(f,n[u]=st(f,_))}return{c(){l&&l.c(),t=e.space(),a=e.element("ul");for(let u=0;u<n.length;u+=1)n[u].c();e.attr(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(u,_){l&&l.m(u,_),e.insert(u,t,_),e.insert(u,a,_);for(let f=0;f<n.length;f+=1)n[f]&&n[f].m(a,null)},p(u,_){u[35]?l&&(l.d(1),l=null):l?l.p(u,_):(l=at(u),l.c(),l.m(t.parentNode,t)),_[0]&539230185|_[1]&16388&&(r=e.ensure_array_like(u[29]),n=e.update_keyed_each(n,_,m,1,u,r,o,a,e.destroy_block,st,null,We))},d(u){u&&(e.detach(t),e.detach(a)),l&&l.d(u);for(let _=0;_<n.length;_+=1)n[_].d()}}}function at(s){let t,a=s[43]("noRecentSearch")+"",n;return{c(){t=e.element("p"),n=e.text(a),e.attr(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(e.isMobile(s[44])?"NoRecentSearchesMobile":""))},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noRecentSearch")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function st(s,t){let a,n,o,l,r,m,u,_,f,h,k,F,b;return{key:s,first:null,c(){var d;a=e.element("casino-game-thumbnail"),e.set_custom_element_data(a,"class",n=""+(W+(t[95].cellSize?t[95].cellSize:"1x1"))),e.set_custom_element_data(a,"session",t[6]),e.set_custom_element_data(a,"userid",t[7]),e.set_custom_element_data(a,"lang",t[5]),e.set_custom_element_data(a,"searchitem",t[33]),e.set_custom_element_data(a,"favorites",t[8]),e.set_custom_element_data(a,"categoryid",t[0]),e.set_custom_element_data(a,"gamethumbnail",o=t[95].thumbnail),e.set_custom_element_data(a,"gamename",l=t[95].name),e.set_custom_element_data(a,"gamevendor",r=t[95].vendor.displayName),e.set_custom_element_data(a,"gameLaunchUrl",m=t[95].launchUrl),e.set_custom_element_data(a,"gameisnew",u=(d=t[95])==null?void 0:d.isNew),e.set_custom_element_data(a,"gametag",_=t[45](t[95].advancedTags)),e.set_custom_element_data(a,"gamecellsize",f=t[95].cellSize),e.set_custom_element_data(a,"gameid",h=t[95].id),e.set_custom_element_data(a,"gamefunmode",k=t[95].hasFunMode),e.set_custom_element_data(a,"mbsource",t[21]),e.set_custom_element_data(a,"showgamename",t[13]),e.set_custom_element_data(a,"translationurl",t[11]),e.set_custom_element_data(a,"gamefavorite",F=t[95].isFavorite),e.set_custom_element_data(a,"currency",t[12]),e.set_custom_element_data(a,"livelobbyendpoint",b=t[95].details?t[95].href:""),e.set_custom_element_data(a,"clientstyling",t[9]),e.set_custom_element_data(a,"clientstylingurl",t[10]),e.set_custom_element_data(a,"endpoint",t[3]),e.set_custom_element_data(a,"livecasino",t[14]),e.set_custom_element_data(a,"gamepagemodalurl",t[15]),e.set_custom_element_data(a,"integratedgameframedesktop",t[16]),e.set_custom_element_data(a,"integratedgameframemobile",t[17]),this.first=a},m(d,c){e.insert(d,a,c)},p(d,c){var N;t=d,c[0]&536870912&&n!==(n=""+(W+(t[95].cellSize?t[95].cellSize:"1x1")))&&e.set_custom_element_data(a,"class",n),c[0]&64&&e.set_custom_element_data(a,"session",t[6]),c[0]&128&&e.set_custom_element_data(a,"userid",t[7]),c[0]&32&&e.set_custom_element_data(a,"lang",t[5]),c[1]&4&&e.set_custom_element_data(a,"searchitem",t[33]),c[0]&256&&e.set_custom_element_data(a,"favorites",t[8]),c[0]&1&&e.set_custom_element_data(a,"categoryid",t[0]),c[0]&536870912&&o!==(o=t[95].thumbnail)&&e.set_custom_element_data(a,"gamethumbnail",o),c[0]&536870912&&l!==(l=t[95].name)&&e.set_custom_element_data(a,"gamename",l),c[0]&536870912&&r!==(r=t[95].vendor.displayName)&&e.set_custom_element_data(a,"gamevendor",r),c[0]&536870912&&m!==(m=t[95].launchUrl)&&e.set_custom_element_data(a,"gameLaunchUrl",m),c[0]&536870912&&u!==(u=(N=t[95])==null?void 0:N.isNew)&&e.set_custom_element_data(a,"gameisnew",u),c[0]&536870912&&_!==(_=t[45](t[95].advancedTags))&&e.set_custom_element_data(a,"gametag",_),c[0]&536870912&&f!==(f=t[95].cellSize)&&e.set_custom_element_data(a,"gamecellsize",f),c[0]&536870912&&h!==(h=t[95].id)&&e.set_custom_element_data(a,"gameid",h),c[0]&536870912&&k!==(k=t[95].hasFunMode)&&e.set_custom_element_data(a,"gamefunmode",k),c[0]&2097152&&e.set_custom_element_data(a,"mbsource",t[21]),c[0]&8192&&e.set_custom_element_data(a,"showgamename",t[13]),c[0]&2048&&e.set_custom_element_data(a,"translationurl",t[11]),c[0]&536870912&&F!==(F=t[95].isFavorite)&&e.set_custom_element_data(a,"gamefavorite",F),c[0]&4096&&e.set_custom_element_data(a,"currency",t[12]),c[0]&536870912&&b!==(b=t[95].details?t[95].href:"")&&e.set_custom_element_data(a,"livelobbyendpoint",b),c[0]&512&&e.set_custom_element_data(a,"clientstyling",t[9]),c[0]&1024&&e.set_custom_element_data(a,"clientstylingurl",t[10]),c[0]&8&&e.set_custom_element_data(a,"endpoint",t[3]),c[0]&16384&&e.set_custom_element_data(a,"livecasino",t[14]),c[0]&32768&&e.set_custom_element_data(a,"gamepagemodalurl",t[15]),c[0]&65536&&e.set_custom_element_data(a,"integratedgameframedesktop",t[16]),c[0]&131072&&e.set_custom_element_data(a,"integratedgameframemobile",t[17])},d(d){d&&e.detach(a)}}}function xt(s){let t,a=s[43]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(n,o){e.insert(n,t,o),t.innerHTML=a},p(n,o){o[1]&4096&&a!==(a=n[43]("500")+"")&&(t.innerHTML=a)},d(n){n&&e.detach(t)}}}function $t(s){let t,a=s[43]("404")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(n,o){e.insert(n,t,o),t.innerHTML=a},p(n,o){o[1]&4096&&a!==(a=n[43]("404")+"")&&(t.innerHTML=a)},d(n){n&&e.detach(t)}}}function ea(s){let t;function a(l,r){return l[26]?Nt:l[31]?Et:zt}let n=a(s),o=n(s);return{c(){t=e.element("div"),o.c(),e.attr(t,"class","CasinoGamesCategorySectionContainer")},m(l,r){e.insert(l,t,r),o.m(t,null),s[61](t)},p(l,r){n===(n=a(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),o.d(),s[61](null)}}}const W="game-tile-";let ta=0;function aa(s,t,a){let n;e.component_subscribe(s,e.$format,i=>a(43,n=i));let{endpoint:o=""}=t,{datasource:l=""}=t,{lang:r=""}=t,{session:m=""}=t,{userid:u=""}=t,{favorites:_=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:k=""}=t,{currency:F=""}=t,{categoryid:b=""}=t,{showgamename:d=""}=t,{livecasino:c="false"}=t,{gamepagemodalurl:N="true"}=t,{integratedgameframedesktop:E="false"}=t,{integratedgameframemobile:p="false"}=t,{casinomygames:T="false"}=t,{addfilterselector:ne="false"}=t,{addsortingselector:oe="false"}=t,{filterbylogo:Ae=""}=t,{casinogamesgridslider:Le="false"}=t,{fetchviaevent:X="false"}=t,{showallpage:be="casino"}=t,{actionevent:ve="CategoryChange"}=t,{displayedgamecount:le="10"}=t,{showallbuttongamescount:ie="10"}=t,{mbsource:we}=t,{lobbyscreen:ke="true"}=t,{usesinglevendorfilter:re="false"}=t,{visiblegames:ye="10"}=t,Re,H=!0,Se=!1,me,ue,O=!0,Te=window.navigator.userAgent,G,y=[],q=!0,Y=40,B=!1,ce=!1,Z=!1,Fe=!1,Ge=!0,Q=!1,x,Me,$,ee=!1,D,_e=!1,te=new Array(1e4),ae={},Ce="",J="",de,ze,M,L=[],fe=new AbortController,K={items:[],count:0,name:""};const ot=()=>{fetch(k).then(g=>g.json()).then(g=>{Object.keys(g).forEach(v=>{Be(v,g[v])})}).catch(g=>{console.log(g)})};Object.keys(He).forEach(i=>{Be(i,He[i])}),typeof document.hidden!="undefined"?de="hidden":typeof document.msHidden!="undefined"?de="msHidden":typeof document.webkitHidden!="undefined"&&(de="webkitHidden");let ge=new IntersectionObserver(i=>{i.forEach(g=>he(this,null,function*(){let v=g.target.gameid,S=g.target.elems_index;g.isIntersecting?(S*1.2>Y&&_t(b),a(40,ae[v]=1,ae)):a(40,ae[v]=0,ae)}))});const Ee=(i,g)=>{let v=`${o}/v1/player/${g}/favorites/`;a(25,H=!0);let S={method:"GET",headers:{"X-SessionID":i}};return new Promise((C,z)=>{fetch(v,S).then(w=>w.json()).then(w=>{var I;if(a(25,H=!1),M=[],w){w.items.forEach(P=>{P.gameModel&&(M.push(P),L.includes(P.id)||L.push(P.id))});const A=(I=e.platformFavorite(M))==null?void 0:I.length;window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:A})}else M=[];b==="FAVORITES"&&je(M),y.forEach(A=>{A.isFavorite=R(A.id)});let U=y;a(29,y=void 0),a(29,y=U),C(M)}).catch(w=>{console.error(w),z(w)})})},lt=(i,g)=>new Promise((v,S)=>{if(i&&g){let C=`${o}/v1/player/${g}/favorites/`;fetch(C,{method:"GET",headers:{"X-SessionID":i}}).then(w=>w.json()).then(w=>{var U,I;if(M=[],w){(U=w.items)==null||U.forEach(P=>{P.gameModel&&(M.push(P),L.includes(P.id)||L.push(P.id))});const A=(I=e.platformFavorite(M))==null?void 0:I.length;window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:A})}else M=[];b==="FAVORITES"&&je(M),v(M)}).catch(w=>{console.error(w),S(w)})}else v([])}),Pe=(i,g,v,S)=>{fe&&fe.abort(),fe=new AbortController;const C=fe.signal;a(25,H=!0);let z="",w="",U=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),I=JSON.parse(localStorage.getItem("vendorSortingBy"));const A=re==="true"?"*":i;return(i.match(/\$/g)||[]).length>1?(z=i.split("$").slice(0,2).join("$"),w=new URL(`${o}/v1/casino/groups/${l}/${z}/subGroups`)):w=new URL(`${o}/v1/casino/groups/${l}/${i}`),new Promise((P,Gt)=>{var Oe;if(w.searchParams.delete("pagination"),w.searchParams.append("expand","games(vendor)"),w.searchParams.append("fields","id,name,games"),w.searchParams.append("platform",e.getDevice(Te)),w.searchParams.append("pagination",`games(offset=${g},limit=${v})`),w.searchParams.append("language",r),window.postMessage({type:"CategoryVendors",categoryid:i},window.location.href),U&&((Oe=U[A])!=null&&Oe.length))if(re==="true"||O===!1&&ee===!1){let j="";a(34,Fe=!0),U[A].forEach(V=>{j=j+(j?`,games(vendor(id=${V}))`:`games(vendor(id=${V}))`)}),w.searchParams.append("filter",`${j}`)}else a(34,Fe=!1);I&&(I[i]?I[i]&&I[i]!="All"&&(I[i]=="isNew"||I[i]=="advancedTags(name(hot))"?(w.searchParams.append("sortedField",`games(${I[i]})`),w.searchParams.append("orderBy","DES")):w.searchParams.append("sortedField",`games(${I[i]})`)):J&&J!="All"&&(J=="advancedTags(name(hot))"||J=="isNew"?(w.searchParams.append("sortedField",`games(${J})`),w.searchParams.append("orderBy","DES")):w.searchParams.append("sortedField",`games(${J})`))),fetch(w,{signal:C}).then(j=>j.json()).then(j=>{C.aborted||(a(25,H=!1),(i.match(/\$/g)||[]).length>1&&(j=j.items.filter(V=>{if(V.id==i)return V})[0]),a(54,ze=!0),a(26,Se=!1),Me=j.games.total,S&&j.games.items.forEach(V=>{V.isFavorite=R(V.id)}),a(36,Q=!0),P(j))}).catch(j=>{j.name!=="AbortError"&&(a(26,Se=!0),console.error(j),Gt(j))}).finally(()=>{it()})})},se=(i,g,v)=>new Promise((S,C)=>{_=="true"?lt(m,u).then(z=>{Pe(i,g,v,z).then(w=>{S(w)})}):Pe(i,g,v,null).then(z=>{S(z)})}),it=()=>{const i=D.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},rt=(i,g,v)=>{i!==""&&(a(31,B=!1),a(27,O=!0),a(1,ne="false"),a(2,oe="false"),a(33,Z=!1),_e=!1,a(30,q=+g>+v),se(i,0,+g).then(S=>{a(28,G=S),a(29,y=G.games.items),y&&y.forEach(C=>{C.isFavorite=R(C.id)})}))},Ne=i=>{if(i.data)switch(i.data.type){case"MostPlayedData":b=="MOSTPLAYED"&&(a(31,B=!1),a(27,O=!1),a(30,q=!1),a(29,y=i.data.mostPlayedGames),a(28,G={id:"MOSTPLAYED",name:"Most Played Games",games:{count:i.data.mostPlayedGames.length,total:i.data.mostPlayedGames.length,items:i.data.mostPlayedGames}}),y&&y.forEach(g=>{g.isFavorite=R(g.id)})),a(25,H=!1);break;case"LastPlayedData":b=="LASTPLAYED"&&(a(31,B=!1),a(27,O=!1),a(30,q=!1),a(29,y=i.data.lastPlayedGames),a(28,G={id:"LASTPLAYED",name:"Last Played Games",games:{count:i.data.lastPlayedGames.length,total:i.data.lastPlayedGames.length,items:i.data.lastPlayedGames}}),y&&y.forEach(g=>{g.isFavorite=R(g.id)})),a(25,H=!1);break;case"RecentSearchData":a(31,B=!0),a(32,ce=!0),i.data.searchData.length>0?(a(29,y=i.data.searchData),a(35,Ge=!0),y&&y.forEach(g=>{g.isFavorite=R(g.id)})):(a(29,y=[]),a(35,Ge=!1));break;case"OutOfRecentSearches":a(31,B=!1),a(32,ce=!1);break;case"SearchData":a(31,B=!0),a(32,ce=!1),a(29,y=i.data.searchData.items||[]),a(33,Z=!0),i.data.receivedFavoriteResults&&(M=i.data.receivedFavoriteResults.items),y&&y.forEach(g=>{g.isFavorite=R(g.id)});break;case`CategoryData_${b}`:a(31,B=!1),a(27,O=!0),a(1,ne="false"),a(2,oe="false"),a(33,Z=!1),_e=!1,se(i.data.categoryId,0,i.data.visiblegames).then(g=>{a(28,G=g),a(29,y=G.games.items),a(30,q=!!(Me<=i.data.visiblegames&&O)),y&&y.forEach(v=>{v.isFavorite=R(v.id)})});break;case"CategoryChange":Y=20;break;case"ApplySorter":a(0,b=i.data.itemId),J=i.data.sortBy,se(b,0,Y).then(g=>{a(28,G=g),a(29,y=G.games.items),a(30,q=!1)});break;case"CategoryUpdate":De(i.data.itemId);break;case`SetUnfavoredGame${b}`:ct(`${o}/v1/player/${u}/favorites`,m,i.data.id);break;case`SetFavoredGame${b}`:ut(`${o}/v1/player/${u}/favorites`,m,i.data.id);break;case"UserSessionID":me=i.data.session,ue=i.data.userID,_=="true"&&ue&&ue.length&&me&&me.length>0&&Ee(me,ue);break;case"UpdateFavoredList":b==="FAVORITES"&&Ie(i.data.url,i.data.sessionID);break}},De=i=>{a(31,B=!1),a(27,O=ke==="true"),a(33,Z=!1),_e=!0,a(36,Q=!1),a(0,b=i),b!=="MOSTPLAYED"&&a(30,q=!1),T!=="true"&&(!M&&m&&Ee(m,u),se(b,0,Y).then(g=>{var v;a(28,G=g),(v=G==null?void 0:G.games)==null||v.items.forEach(S=>{S.isFavorite=R(S.id)}),a(29,y=G==null?void 0:G.games.items)}).finally(()=>{O&&window.postMessage({type:`CategoryData_${b}`,categoryId:b,visiblegames:ye},window.location.href)}))},mt=()=>{G&&(a(29,y=G.games.items),y.forEach(i=>{i.isFavorite=R(i.id)}))},R=i=>{var g;return(g=M==null?void 0:M.some(v=>v.id===i))!=null?g:!1};let ut=(i,g,v)=>he(this,null,function*(){yield Ie(i,g),L.includes(v)||L.push(v);let C={method:"POST",headers:{"X-SessionID":g,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:L})};fetch(i,C).then(z=>z.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${v}`},window.location.href)}).catch(z=>{console.error("Err",z)})});const ct=(i,g,v)=>{let S={method:"DELETE",headers:{"X-SessionID":g}};fetch(`${i}/${v}`,S).then(C=>C.json()).then(()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${v}`},window.location.href),Ie(i,g)}),L.includes(v)&&(L=L.filter(C=>C!=v))},Ie=(i,g)=>he(this,null,function*(){return fetch(i,{method:"GET",headers:{"X-SessionID":g}}).then(S=>S.json()).then(S=>{var z;M=S.items,X?(M.forEach(w=>{L.includes(w.id)||L.push(w.id)}),mt()):M.forEach(w=>{w.isFavorite=R(w.id)});const C=(z=e.platformFavorite(M))==null?void 0:z.length;b==="FAVORITES"&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:C}),je(M))}).catch(S=>{console.error(S)})}),je=i=>{if(!i)return;let g;g=(i==null?void 0:i.items)||i||[],g.length>0&&g.forEach(v=>{v.gameModel&&(v.gameModel.isFavorite=!0)}),a(42,K.items=e.platformFavorite(g,K.items),K),a(42,K.name="Favorites",K),a(25,H=!1)},_t=i=>{Y+=1,a(36,Q=!0),Y<=Me&&se(i,ta,Y).then(g=>{a(28,G=g),G.games.items.length>y.length&&(a(29,y=G.games.items),y.forEach(v=>{v.isFavorite=R(v.id)})),a(36,Q=!1)})},dt=i=>{const g=i!=null?i:[];if((g==null?void 0:g.length)===0)return"";let v="",S=999999999999,C;const z=new Date(Date.now());return g.forEach((w,U)=>{const I=new Date(w.schedules[0].startTime),A=new Date(w.schedules[0].endTime);pe.hooks(A).diff(z)<S&&(S=pe.hooks(A).diff(z),C=U),pe.hooks(z).isAfter(I)&&pe.hooks(z).isBefore(A)&&(v=g[C].name)}),v},Ue=i=>{a(30,q=!1),window.postMessage({type:`${ve}`,itemId:i,showallpage:be},window.location.href)},ft=()=>{switch(b){case"FAVORITES":u&&m&&a(39,ee=!0);break;case"MOSTPLAYED":T==="false"&&u&&m&&a(39,ee=!1);break;case"LASTPLAYED":T==="false"&&u&&m&&a(39,ee=!1);break;default:De(b);break}},gt=()=>{document[de]?a(41,Ce="disconnect"):a(41,Ce="connect")},ht=()=>{_e&&te.forEach((i,g)=>{i&&(i.elems_index=g,ge.observe(i))})},pt=()=>{Mt(r)};e.onDestroy(()=>{ge==null||ge.disconnect()}),e.onMount(()=>(window.addEventListener("visibilitychange",i=>gt()),window.addEventListener("message",Ne,!1),()=>{window.emMessageBus&&Re&&Re.unsubscribe(),window.removeEventListener("message",Ne),window.removeEventListener("visibilitychange",Ne)}));function bt(i){e.binding_callbacks[i?"unshift":"push"](()=>{$=i,a(38,$)})}const vt=i=>Ue(G.id);function wt(i,g){e.binding_callbacks[i?"unshift":"push"](()=>{te[g]=i,a(24,te)})}function kt(i){e.binding_callbacks[i?"unshift":"push"](()=>{x=i,a(37,x)})}function yt(i){e.binding_callbacks[i?"unshift":"push"](()=>{$=i,a(38,$)})}function St(i){e.binding_callbacks[i?"unshift":"push"](()=>{x=i,a(37,x)})}function Ft(i){e.binding_callbacks[i?"unshift":"push"](()=>{D=i,a(23,D)})}return s.$$set=i=>{"endpoint"in i&&a(3,o=i.endpoint),"datasource"in i&&a(4,l=i.datasource),"lang"in i&&a(5,r=i.lang),"session"in i&&a(6,m=i.session),"userid"in i&&a(7,u=i.userid),"favorites"in i&&a(8,_=i.favorites),"clientstyling"in i&&a(9,f=i.clientstyling),"clientstylingurl"in i&&a(10,h=i.clientstylingurl),"translationurl"in i&&a(11,k=i.translationurl),"currency"in i&&a(12,F=i.currency),"categoryid"in i&&a(0,b=i.categoryid),"showgamename"in i&&a(13,d=i.showgamename),"livecasino"in i&&a(14,c=i.livecasino),"gamepagemodalurl"in i&&a(15,N=i.gamepagemodalurl),"integratedgameframedesktop"in i&&a(16,E=i.integratedgameframedesktop),"integratedgameframemobile"in i&&a(17,p=i.integratedgameframemobile),"casinomygames"in i&&a(18,T=i.casinomygames),"addfilterselector"in i&&a(1,ne=i.addfilterselector),"addsortingselector"in i&&a(2,oe=i.addsortingselector),"filterbylogo"in i&&a(19,Ae=i.filterbylogo),"casinogamesgridslider"in i&&a(20,Le=i.casinogamesgridslider),"fetchviaevent"in i&&a(47,X=i.fetchviaevent),"showallpage"in i&&a(48,be=i.showallpage),"actionevent"in i&&a(49,ve=i.actionevent),"displayedgamecount"in i&&a(50,le=i.displayedgamecount),"showallbuttongamescount"in i&&a(51,ie=i.showallbuttongamescount),"mbsource"in i&&a(21,we=i.mbsource),"lobbyscreen"in i&&a(52,ke=i.lobbyscreen),"usesinglevendorfilter"in i&&a(22,re=i.usesinglevendorfilter),"visiblegames"in i&&a(53,ye=i.visiblegames)},s.$$.update=()=>{s.$$.dirty[0]&32&&r&&pt(),s.$$.dirty[0]&57|s.$$.dirty[1]&1638400&&(X==="false"||X==="")&&o&&r&&b&&l&&le&&ie&&rt(b,le,ie),s.$$.dirty[0]&456&&_==="true"&&o&&m&&u&&Ee(m,u),s.$$.dirty[0]&16777216|s.$$.dirty[1]&8388608&&ze&&te&&ht(),s.$$.dirty[0]&33&&r&&b&&ft(),s.$$.dirty[0]&2048&&k&&ot(),s.$$.dirty[0]&8389120&&f&&D&&e.setClientStyling(D,f),s.$$.dirty[0]&8389632&&h&&D&&e.setClientStylingURL(D,h),s.$$.dirty[0]&10485760&&D&&e.setStreamStyling(D,`${we}.Style`)},[b,ne,oe,o,l,r,m,u,_,f,h,k,F,d,c,N,E,p,T,Ae,Le,we,re,D,te,H,Se,O,G,y,q,B,ce,Z,Fe,Ge,Q,x,$,ee,ae,Ce,K,n,Te,dt,Ue,X,be,ve,le,ie,ke,ye,ze,bt,vt,wt,kt,yt,St,Ft]}class nt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,aa,ea,e.safe_not_equal,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:47,showallpage:48,actionevent:49,displayedgamecount:50,showallbuttongamescount:51,mbsource:21,lobbyscreen:52,usesinglevendorfilter:22,visiblegames:53},Ct,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[4]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[6]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[7]}set userid(t){this.$$set({userid:t}),e.flush()}get favorites(){return this.$$.ctx[8]}set favorites(t){this.$$set({favorites:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[12]}set currency(t){this.$$set({currency:t}),e.flush()}get categoryid(){return this.$$.ctx[0]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get livecasino(){return this.$$.ctx[14]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get fetchviaevent(){return this.$$.ctx[47]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),e.flush()}get showallpage(){return this.$$.ctx[48]}set showallpage(t){this.$$set({showallpage:t}),e.flush()}get actionevent(){return this.$$.ctx[49]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get displayedgamecount(){return this.$$.ctx[50]}set displayedgamecount(t){this.$$set({displayedgamecount:t}),e.flush()}get showallbuttongamescount(){return this.$$.ctx[51]}set showallbuttongamescount(t){this.$$set({showallbuttongamescount:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get lobbyscreen(){return this.$$.ctx[52]}set lobbyscreen(t){this.$$set({lobbyscreen:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[22]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}get visiblegames(){return this.$$.ctx[53]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}}e.create_custom_element(nt,{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:{},mbsource:{},lobbyscreen:{},usesinglevendorfilter:{},visiblegames:{}},[],[],!0);exports.default=nt;
1
+ "use strict";var he=(s,t,a)=>new Promise((n,o)=>{var l=u=>{try{m(a.next(u))}catch(_){o(_)}},r=u=>{try{m(a.throw(u))}catch(_){o(_)}},m=u=>u.done?n(u.value):Promise.resolve(u.value).then(l,r);m((a=a.apply(s,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoFilter-BTWS0FsQ.cjs"),pe=require("./CasinoGameThumbnail-6gj212_i.cjs");function Be(s,t){e.addMessages(s,t)}function Mt(s){e.$locale.set(s)}const He={en:{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",500:"500 Error - Internal Server Error.",404:"404 Error - No result found."},"zh-hk":{showMore:"更多的",viewAll:"顯示所有",searchedItems:"搜索結果",recentSearchedItems:"最近搜索過",favorites:"收藏夹",noRecentSearch:"尚未開始搜索。 只需搜索遊戲。",noResults:"抱歉,沒有找到結果。 請再試一次。",noFavoritesMobile:"您現在可以通過點擊遊戲頁面上的星形圖標將游戲添加到收藏夾。",noFavorites:"您現在可以通過單擊遊戲縮略圖上的星形圖標將游戲添加到收藏夾。",noFavoritesTitle:"您還沒有任何喜歡的遊戲。",waiting:"等待",500:"500 錯誤 - 內部伺服器錯誤。",404:"404 錯誤 - 找不到結果。"},de:{showMore:"Mehr",viewAll:"Alle anzeigen",searchedItems:"Ergebnis suchen",recentSearchedItems:"Zuletzt gesucht",noRecentSearch:"Noch keine Suche gestartet. Einfach nach einem Spiel suchen.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavorites:"Klicke auf das Sternsymbol in der oberen rechten Ecke eines Spiels, um es als Favorit zu speichern.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",500:"500 Fehler - Interner Serverfehler.",404:"404 Fehler - Kein Ergebnis gefunden."},it:{showMore:"Altro",viewAll:"Mostra tutto",searchedItems:"risultato",recentSearchedItems:"Ricerche recenti",noRecentSearch:"Non sono ancora state avviate ricerche. Esegui semplicemente la ricerca per un gioco.",noResults:"Spiacenti, nessun risultato. Si prega di riprovare.",500:"Errore 500 - Errore interno del server.",404:"Errore 404 - Nessun risultato trovato."},fr:{showMore:"Plus de",viewAll:"Afficher tous",searchedItems:"Recherche du resultat",recentSearchedItems:"Recherches récentes",favorites:"Favoris",noRecentSearch:"Aucune recherche n'a encore été lancée . il suffit de chercher un jeu.",noResults:"Désolé , aucun résultat trouvé.veuillez réessayer.",noFavoritesMobile:"Vous pouvez désormais ajouter des jeux à vos favoris en cliquant sur l'icone étoile située sur la page du jeu.",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",noFavoritesTitle:"Vous n'avez pas encore de jeux favoris.",waiting:"Attente",500:"Erreur 500 - Erreur interne du serveur.",404:"Erreur 404 - Aucun résultat trouvé."},es:{showMore:"Más",viewAll:"Mostrar todas",searchedItems:"Resultado de busqueda",recentSearchedItems:"Buscado recientemente",favorites:"Favoritos",noRecentSearch:"Aún no inicia busqueda. Solo busque un juego",noResults:"Disculpe",noFavoritesMobile:"Ahora puede agregar juegos a sus Favoritos dando clic al ícono de estrella en esta página",noFavorites:"Ahora puede agregar juegos a sus Favoritos dando click al ícono de la miniatura del juego.",noFavoritesTitle:"No tiene juegos Favoritos aún",waiting:"Cargando",500:"Error 500 - Error interno del servidor.",404:"Error 404 - No se encontró ningún resultado."},tr:{showMore:"Daha fazla",viewAll:"Hepsini göster",searchedItems:"Arama sonucu",recentSearchedItems:"Son Aranan Öğeler",noRecentSearch:"Henüz arama başlamadı. Sadece bir oyun arayın.",noResults:"Üzgünüz, sonuç bulunamadı. Lütfen tekrar deneyin.",favorites:"Favoriler",noFavoritesMobile:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavorites:"Bir oyunu favorilere eklemek için sağ üst köşedeki yıldız simgesine tıklayın.",noFavoritesTitle:"Henüz favori oyunlarınız yok.",waiting:"Bekleniyor",500:"500 Hatası - Dahili Sunucu Hatası.",404:"404 Hatası - Sonuç bulunamadı."},ru:{showMore:"Показать больше",viewAll:"Посмотреть все",searchedItems:"Искомые товары",recentSearchedItems:"Недавние поисковые запросы",noRecentSearch:"Поиск еще не начался. Просто найдите игру.",noResults:"Извините, результатов не найдено. Пожалуйста, попробуйте еще раз",500:"Ошибка 500 - Внутренняя ошибка сервера.",404:"Ошибка 404 - Результат не найден."},ro:{showMore:"Arata mai mult",viewAll:"Vezi toate",searchedItems:"Rezultatele cautarii",recentSearchedItems:"Cautari recente",favorites:"Favorite",noRecentSearch:"Nici o căutare nu a început încă. Pur și simplu căutați un joc.",noResults:"Ne pare rau, nu s-au gasit rezultate. Va rugam sa incercati din nou",noFavoritesMobile:"Acum puteți adăuga jocuri la favorite atingând pictograma stea situată pe pagina jocului.",noFavorites:"Acum puteți adăuga jocuri la favorite făcând clic pe pictograma stea situată pe miniatura jocului.",noFavoritesTitle:"Nu aveți încă niciun joc preferat.",waiting:"Aşteptare",500:"Eroare 500 - Eroare internă de server.",404:"Eroare 404 - Nu a fost găsit niciun rezultat."},hr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Rezultat pretrage",recentSearchedItems:"Nedavno pretraživano",noRecentSearch:"Još nije započela pretraga. Jednostavno pretražite igru.",noResults:"Žao nema rezultata",favorites:"Favoriti",noFavoritesMobile:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavorites:"Kliknite na ikonu zvjezdice u gornjem desnom kutu igre kako biste je spremili kao omiljenu.",noFavoritesTitle:"Još nemate nijednu omiljenu igru.",waiting:"Čekanje",500:"Došlo je do pogreške. Molimo kontaktirajte korisničku podršku za više pomoći",404:"Pogreška 404 - Rezultat nije pronađen."},hu:{showMore:"Több",viewAll:"Az összes megjelenítése",searchedItems:"Keresés eredménye",recentSearchedItems:"Legutóbb keresett",noRecentSearch:"A keresés még nem kezdődött el. Egyszerűen keressen egy játékot.",noResults:"Sajnos nincs találat. Kérjük próbálja újra.",500:"500-as hiba - Belső szerverhiba.",404:"404-es hiba - Nem található eredmény."},pl:{showMore:"Więcej",viewAll:"Pokaż wszystkie",searchedItems:"Wynik wyszukiwania",recentSearchedItems:"Ostatnio wyszukiwane",noRecentSearch:"Nie rozpoczęto wyszukiwania. W prosty sposób wyszukaj grę.",noResults:"Przepraszamy, brak wyników. Prosimy spróbować ponownie.",500:"Błąd 500 - Wewnętrzny błąd serwera.",404:"Błąd 404 - Nie znaleziono wyniku."},pt:{showMore:"Mais",viewAll:"Mostre tudo",searchedItems:"Resultado da pesquisa",recentSearchedItems:"Pesquisado recentemente",favorites:"Favorito",noRecentSearch:"Nenhuma pesquisa foi iniciada ainda. Simplesmente procure por um jogo.",noResults:"Desculpe, nenhum resultado encontrado. Por favor, tente novamente.",noFavoritesMobile:"Agora você pode adicionar jogos aos favoritos tocando no ícone da estrela localizado na página do jogo.",noFavorites:"Agora você pode adicionar jogos aos favoritos clicando no ícone da estrela localizado na miniatura do jogo.",noFavoritesTitle:"Você ainda não tem nenhum jogo favorito.",waiting:"Aguardando",500:"Erro 500 - Erro interno do servidor.",404:"Erro 404 - Nenhum resultado encontrado."},sl:{showMore:"Več",viewAll:"Prikaži vse",searchedItems:"Rezultati iskanja",recentSearchedItems:"Nedavno iskanje",noRecentSearch:"Niste še začeli z iskanjem. Enostavno poiščite želeno igro.",noResults:"Oprostite, ni rezultata. Prosimo poizkusite ponovno.",500:"Napaka 500 - Notranja napaka strežnika.",404:"Napaka 404 - Rezultat ni bil najden."},sr:{showMore:"Više",viewAll:"Prikaži sve",searchedItems:"Pretraži rezultat",recentSearchedItems:"Zadnja pretraga",noRecentSearch:"Još nije pokrenuta pretraga. Jednostavno pretraži igre.",noResults:"Žao nam je, nema pogodaka. Pokušaj ponovo.",500:"Грешка 500 - Интерна грешка сервера.",404:"Грешка 404 - Резултат није пронађен."},"pt-br":{noResults:"Sentimos muito,'Nenhum resultado foi encontrado. Por favor, tente novamente'",noFavoritesMobile:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavorites:"Clique no ícone de estrela no canto superior direito para salvar como favorito.",noFavoritesTitle:"Você ainda não tem jogos selecionados como favoritos",waiting:"Esperando",500:"Erro 500 - Erro interno do servidor.",404:"Erro 404 - Nenhum resultado encontrado."},"es-mx":{showMore:"Mostrar más",viewAll:"Mostrar todo",searchedItems:"Resultados de búsqueda",recentSearchedItems:"Búsquedas recientes",favorites:"Favoritos",noRecentSearch:"No ha realizado alguna búsqueda. Simplemente busque algún juego",noResults:"Lo sentimos,No se encontró algún resultado. Por favor intente de nuevo",noFavoritesMobile:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavorites:"De click al ícono de la estrella en la esquina superior derecha para guardar como favorito.",noFavoritesTitle:"Aún not tiene juegos seleccionados como favoritos",waiting:"Esperando",500:"Error 500 - Error interno del servidor.",404:"Error 404 - No se encontró ningún resultado."},"en-us":{showMore:"More",viewAll:"Show all",searchedItems:"Search result",recentSearchedItems:"Recently searched",favorites:"Favorites",noRecentSearch:"No search started yet. Simply search for a game.",noResults:"Sorry, no results found. Please try again.",noFavoritesMobile:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavorites:"Click on the star icon at the top right corner of a game to save it as favorite.",noFavoritesTitle:"You do not have any favored games yet.",waiting:"Waiting",500:"500 Error - Internal Server Error.",404:"404 Error - No result found."}};if(typeof window!="undefined"){let s=function(t){return function(...a){try{return t.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoGameThumbnail-6gj212_i.cjs")).then(t=>t.CasinoGameThumbnail_ce).then(({default:t})=>{!customElements.get("casino-game-thumbnail")&&customElements.define("casino-game-thumbnail",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...a){try{return t.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoFilter-BTWS0FsQ.cjs")).then(t=>t.CasinoFilter_ce).then(({default:t})=>{!customElements.get("casino-filter")&&customElements.define("casino-filter",t.element)})}if(typeof window!="undefined"){let s=function(t){return function(...a){try{return t.apply(this,a)}catch(n){if(n instanceof DOMException&&n.message.includes("has already been used with this registry")||n.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw n}}};customElements.define=s(customElements.define),Promise.resolve().then(()=>require("./CasinoSort-BC0bXCb5.cjs")).then(({default:t})=>{!customElements.get("casino-sort")&&customElements.define("casino-sort",t.element)})}function Ct(s){e.append_styles(s,"svelte-gwk3ko",'*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoGamesCategorySectionContainer{container-type:inline-size}.CustomScroll:-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);border-radius:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar{height:5px;background-color:transparent}.CustomScroll::-webkit-scrollbar-thumb{border-radius:5px;height:5px;-webkit-box-shadow:inset 0 0 6px rgba(0, 0, 0, 0.3);background-color:rgba(255, 255, 255, 0.3)}.CategoryName,.StatusText{color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF))}.NoSearchResults{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(182px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 182px);grid-auto-rows:182px;grid-auto-columns:182px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px;overscroll-behavior-x:none}.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x1{grid-row:span 1}}.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-2x2{grid-row:span 2;grid-column:span 2}}.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 2}@container (max-width: 375px){.CasinoGamesGridSlider .game-tile-1x2{grid-column:span 1}}.CasinoGamesGridSlider.GamesListIncreasedGap{gap:28px}.CategoryFilterContainer{display:grid;grid-template-columns:1fr 1fr;gap:20px}.SingleOrEmptyCategoryFilterContainer{margin-left:auto}@container (max-width: 768px){.CasinoGamesHeader{align-items:unset;flex-direction:row;flex-wrap:wrap}.CategoryName{margin-bottom:20px}.CategoryFilterContainer{width:100%}}@container (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}@container (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 410px){.CasinoGamesGridSlider{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(100px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 100px);grid-auto-rows:100px;grid-auto-columns:100px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}@container (max-width: 480px){.CategoryFilterContainer{gap:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}.CasinoGamesGridSlider{display:grid;gap:16px !important;grid-template-columns:repeat(auto-fill, minmax(min(105px, 46%), 2fr));grid-template-rows:repeat(auto-fill, 105px);grid-auto-rows:105px;grid-auto-columns:105px;grid-auto-flow:column;overflow-x:auto;overflow-y:hidden;padding-bottom:5px}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoName{font-size:10px !important}.CasinoGamesGridSlider .GameInnerContainer .GameInfoWrapper .GameInfoVendor{font-size:10px !important}}')}function qe(s,t,a){const n=s.slice();return n[95]=t[a],n[97]=a,n}function Ve(s,t,a){const n=s.slice();return n[95]=t[a],n[98]=t,n[97]=a,n}function We(s,t,a){const n=s.slice();return n[95]=t[a],n[97]=a,n}function zt(s){let t;function a(l,r){if(l[28])return jt;if(l[39])return It}let n=a(s),o=n&&n(s);return{c(){t=e.element("div"),o&&o.c()},m(l,r){e.insert(l,t,r),o&&o.m(t,null)},p(l,r){n===(n=a(l))&&o?o.p(l,r):(o&&o.d(1),o=n&&n(l),o&&(o.c(),o.m(t,null)))},d(l){l&&e.detach(t),o&&o.d()}}}function Et(s){let t,a,n;function o(f,h){return f[32]?Xt:f[29].length?Jt:Kt}let l=o(s),r=l(s);function m(f,h){return f[29]?Qt:Zt}let u=m(s),_=u(s);return{c(){t=e.element("div"),a=e.element("div"),r.c(),n=e.space(),_.c(),e.attr(a,"class","CasinoGamesHeader Searched "+(e.isMobile(s[44])?"CasinoGamesHeaderMobile":"")),e.attr(t,"class","CasinoGamesContainer")},m(f,h){e.insert(f,t,h),e.append(t,a),r.m(a,null),e.append(t,n),_.m(t,null)},p(f,h){l===(l=o(f))&&r?r.p(f,h):(r.d(1),r=l(f),r&&(r.c(),r.m(a,null))),u===(u=m(f))&&_?_.p(f,h):(_.d(1),_=u(f),_&&(_.c(),_.m(t,null)))},d(f){f&&e.detach(t),r.d(),_.d()}}}function Nt(s){let t;function a(l,r){return l[34]?$t:xt}let n=a(s),o=n(s);return{c(){o.c(),t=e.empty()},m(l,r){o.m(l,r),e.insert(l,t,r)},p(l,r){n===(n=a(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(t.parentNode,t)))},d(l){l&&e.detach(t),o.d(l)}}}function It(s){let t,a,n,o,l=s[18]!=="true"&&Ye(s);function r(_,f){return _[25]&&!_[36]?Rt:_[42]?At:Lt}let m=r(s),u=m(s);return{c(){t=e.element("div"),l&&l.c(),a=e.space(),n=e.element("ul"),u.c(),e.attr(n,"class",o=(s[42].items.length!=0?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),e.attr(t,"class","CasinoGamesContainer")},m(_,f){e.insert(_,t,f),l&&l.m(t,null),e.append(t,a),e.append(t,n),u.m(n,null),s[60](n)},p(_,f){_[18]!=="true"?l?l.p(_,f):(l=Ye(_),l.c(),l.m(t,a)):l&&(l.d(1),l=null),m===(m=r(_))&&u?u.p(_,f):(u.d(1),u=m(_),u&&(u.c(),u.m(n,null))),f[1]&2048&&o!==(o=(_[42].items.length!=0?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&e.attr(n,"class",o)},d(_){_&&e.detach(t),l&&l.d(),u.d(),s[60](null)}}}function jt(s){let t,a,n=s[18]!=="true"&&xe(s);function o(m,u){return m[25]&&!m[36]?Wt:m[29].length!==0?Vt:qt}let l=o(s),r=l(s);return{c(){t=e.element("div"),n&&n.c(),a=e.space(),r.c(),e.attr(t,"class","CasinoGamesContainer")},m(m,u){e.insert(m,t,u),n&&n.m(t,null),e.append(t,a),r.m(t,null)},p(m,u){m[18]!=="true"?n?n.p(m,u):(n=xe(m),n.c(),n.m(t,a)):n&&(n.d(1),n=null),l===(l=o(m))&&r?r.p(m,u):(r.d(1),r=l(m),r&&(r.c(),r.m(t,null)))},d(m){m&&e.detach(t),n&&n.d(),r.d()}}}function Ye(s){let t,a,n=s[43]("favorites")+"",o,l,r,m,u=s[42].items.length+"",_,f;return{c(){t=e.element("div"),a=e.element("h3"),o=e.text(n),l=e.space(),r=e.element("span"),m=e.text("("),_=e.text(u),f=e.text(")"),e.attr(r,"class","CategoryFavName"),e.attr(a,"class","CategoryName"),e.attr(t,"class","CasinoGamesHeader")},m(h,k){e.insert(h,t,k),e.append(t,a),e.append(a,o),e.append(a,l),e.append(a,r),e.append(r,m),e.append(r,_),e.append(r,f),s[59](a)},p(h,k){k[1]&4096&&n!==(n=h[43]("favorites")+"")&&e.set_data(o,n),k[1]&2048&&u!==(u=h[42].items.length+"")&&e.set_data(_,u)},d(h){h&&e.detach(t),s[59](null)}}}function Lt(s){let t,a=s[43]("waiting")+"",n;return{c(){t=e.element("p"),n=e.text(a)},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("waiting")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function At(s){let t,a=e.ensure_array_like(s[42].items),n=[];for(let l=0;l<a.length;l+=1)n[l]=Qe(qe(s,a,l));let o=null;return a.length||(o=Je(s)),{c(){for(let l=0;l<n.length;l+=1)n[l].c();t=e.empty(),o&&o.c()},m(l,r){for(let m=0;m<n.length;m+=1)n[m]&&n[m].m(l,r);e.insert(l,t,r),o&&o.m(l,r)},p(l,r){if(r[0]&2359273|r[1]&32512){a=e.ensure_array_like(l[42].items);let m;for(m=0;m<a.length;m+=1){const u=qe(l,a,m);n[m]?n[m].p(u,r):(n[m]=Qe(u),n[m].c(),n[m].m(t.parentNode,t))}for(;m<n.length;m+=1)n[m].d(1);n.length=a.length,!a.length&&o?o.p(l,r):a.length?o&&(o.d(1),o=null):(o=Je(l),o.c(),o.m(t.parentNode,t))}},d(l){l&&e.detach(t),e.destroy_each(n,l),o&&o.d(l)}}}function Rt(s){let t;return{c(){t=e.element("div"),e.attr(t,"class","lds-dual-ring")},m(a,n){e.insert(a,t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function Je(s){let t,a,n,o,l,r,m,u,_,f,h,k=s[43]("noFavoritesTitle")+"",F,b,d;function c(p,T){return e.isMobile(p[44])?Pt:Tt}let E=c(s)(s);return{c(){t=e.element("p"),a=e.svg_element("svg"),n=e.svg_element("rect"),o=e.svg_element("rect"),l=e.svg_element("circle"),r=e.svg_element("path"),m=e.svg_element("path"),u=e.svg_element("path"),_=e.svg_element("path"),f=e.space(),h=e.element("span"),F=e.text(k),b=e.space(),E.c(),d=e.space(),e.attr(n,"x","1"),e.attr(n,"y","18.053"),e.attr(n,"width","90.263"),e.attr(n,"height","90.263"),e.attr(n,"rx","12"),e.attr(n,"stroke","var(--emw--color-gray-150, #828282)"),e.attr(n,"stroke-width","1.5"),e.attr(o,"x","106.737"),e.attr(o,"y","56.737"),e.attr(o,"width","90.263"),e.attr(o,"height","90.263"),e.attr(o,"rx","12"),e.attr(o,"stroke","var(--emw--color-gray-150, #828282)"),e.attr(o,"stroke-width","1.5"),e.attr(l,"cx","70.5"),e.attr(l,"cy","32.237"),e.attr(l,"r","31.487"),e.attr(l,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(l,"stroke-width","1.5"),e.attr(l,"stroke-dasharray","5 0"),e.attr(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"),e.attr(r,"fill","var(--emw--color-gray-150, #828282)"),e.attr(m,"d","M78 43h11v13H78V43z"),e.attr(m,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(u,"d","m180 65 2.021 6.219h6.539l-5.291 3.843 2.021 6.22-5.29-3.844-5.29 3.843 2.021-6.219-5.291-3.843h6.539L180 65z"),e.attr(u,"fill","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(u,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(u,"stroke-linecap","round"),e.attr(u,"stroke-linejoin","round"),e.attr(_,"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"),e.attr(_,"stroke","var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))"),e.attr(_,"stroke-width","1.5"),e.attr(_,"stroke-linecap","round"),e.attr(_,"stroke-linejoin","round"),e.attr(a,"width","198"),e.attr(a,"height","148"),e.attr(a,"viewBox","0 0 198 148"),e.attr(a,"fill","none"),e.attr(a,"xmlns","http://www.w3.org/2000/svg"),e.attr(h,"class","NoFavoriteText NoFavoriteTextHighlight"),e.attr(t,"class","NoFavoriteGames "+(e.isMobile(s[44])?"NoFavoriteGamesMobile":""))},m(p,T){e.insert(p,t,T),e.append(t,a),e.append(a,n),e.append(a,o),e.append(a,l),e.append(a,r),e.append(a,m),e.append(a,u),e.append(a,_),e.append(t,f),e.append(t,h),e.append(h,F),e.append(t,b),E.m(t,null),e.append(t,d)},p(p,T){T[1]&4096&&k!==(k=p[43]("noFavoritesTitle")+"")&&e.set_data(F,k),E.p(p,T)},d(p){p&&e.detach(t),E.d()}}}function Tt(s){let t,a=s[43]("noFavorites")+"",n;return{c(){t=e.element("span"),n=e.text(a),e.attr(t,"class","NoFavoriteText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noFavorites")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Pt(s){let t,a=s[43]("noFavoritesMobile")+"",n;return{c(){t=e.element("span"),n=e.text(a),e.attr(t,"class","NoFavoriteText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noFavoritesMobile")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Ke(s){let t,a=s[95].gameModel.isFavorite&&Xe(s);return{c(){a&&a.c(),t=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,t,o)},p(n,o){n[95].gameModel.isFavorite?a?a.p(n,o):(a=Xe(n),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){n&&e.detach(t),a&&a.d(n)}}}function Xe(s){let t,a=Dt(s);return{c(){a&&a.c(),t=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,t,o)},p(n,o){a.p(n,o)},d(n){n&&e.detach(t),a&&a.d(n)}}}function Dt(s){let t,a,n;function o(m,u){if(u[1]&2048&&(a=null),t==null&&(t=!!e.isMobile(m[44])),t)return Ot;if(a==null&&(a=!!m[95].gameModel.platform.includes("PC")),a)return Ut}let l=o(s,[-1,-1,-1,-1]),r=l&&l(s);return{c(){r&&r.c(),n=e.empty()},m(m,u){r&&r.m(m,u),e.insert(m,n,u)},p(m,u){l===(l=o(m,u))&&r?r.p(m,u):(r&&r.d(1),r=l&&l(m),r&&(r.c(),r.m(n.parentNode,n)))},d(m){m&&e.detach(n),r&&r.d(m)}}}function Ut(s){let t,a,n,o,l,r,m,u,_,f,h,k,F,b;return{c(){var d,c,N;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"class",a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1"))),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"translationurl",s[11]),e.set_custom_element_data(t,"favorites",s[8]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"gamethumbnail",n=s[95].gameModel.thumbnail),e.set_custom_element_data(t,"gamename",o=s[95].gameModel.name),e.set_custom_element_data(t,"gamevendor",l=s[95].gameModel.vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",r=s[95].launchUrl),e.set_custom_element_data(t,"gameisnew",m=(c=(d=s[95])==null?void 0:d.gameModel)==null?void 0:c.isNew),e.set_custom_element_data(t,"gametag",u=s[45]((N=s[95].gameModel)==null?void 0:N.advancedTags)),e.set_custom_element_data(t,"gamecellsize",_=s[95].cellSize),e.set_custom_element_data(t,"gameid",f=s[95].gameModel.id),e.set_custom_element_data(t,"gamefunmode",h=s[95].gameModel.hasFunMode),e.set_custom_element_data(t,"showgamename",s[13]),e.set_custom_element_data(t,"gamefavorite",k=s[95].gameModel.isFavorite),e.set_custom_element_data(t,"showfavoredcategory",s[39]),e.set_custom_element_data(t,"connectlive",F=s[40][s[95].id]==1?"connect":"disconnect"),e.set_custom_element_data(t,"visibilityconnect",s[41]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"currency",s[12]),e.set_custom_element_data(t,"livelobbyendpoint",b=s[95].gameModel.details?s[95].gameModel.launchUrl:""),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"livecasino",s[14]),e.set_custom_element_data(t,"gamepagemodalurl",s[15]),e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),e.set_custom_element_data(t,"integratedgameframemobile",s[17])},m(d,c){e.insert(d,t,c)},p(d,c){var N,E,p;c[1]&2048&&a!==(a=""+(W+(d[95].cellSize?d[95].cellSize:"1x1")))&&e.set_custom_element_data(t,"class",a),c[0]&64&&e.set_custom_element_data(t,"session",d[6]),c[0]&128&&e.set_custom_element_data(t,"userid",d[7]),c[0]&32&&e.set_custom_element_data(t,"lang",d[5]),c[0]&2048&&e.set_custom_element_data(t,"translationurl",d[11]),c[0]&256&&e.set_custom_element_data(t,"favorites",d[8]),c[0]&1&&e.set_custom_element_data(t,"categoryid",d[0]),c[1]&2048&&n!==(n=d[95].gameModel.thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),c[1]&2048&&o!==(o=d[95].gameModel.name)&&e.set_custom_element_data(t,"gamename",o),c[1]&2048&&l!==(l=d[95].gameModel.vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",l),c[1]&2048&&r!==(r=d[95].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",r),c[1]&2048&&m!==(m=(E=(N=d[95])==null?void 0:N.gameModel)==null?void 0:E.isNew)&&e.set_custom_element_data(t,"gameisnew",m),c[1]&2048&&u!==(u=d[45]((p=d[95].gameModel)==null?void 0:p.advancedTags))&&e.set_custom_element_data(t,"gametag",u),c[1]&2048&&_!==(_=d[95].cellSize)&&e.set_custom_element_data(t,"gamecellsize",_),c[1]&2048&&f!==(f=d[95].gameModel.id)&&e.set_custom_element_data(t,"gameid",f),c[1]&2048&&h!==(h=d[95].gameModel.hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),c[0]&8192&&e.set_custom_element_data(t,"showgamename",d[13]),c[1]&2048&&k!==(k=d[95].gameModel.isFavorite)&&e.set_custom_element_data(t,"gamefavorite",k),c[1]&256&&e.set_custom_element_data(t,"showfavoredcategory",d[39]),c[1]&2560&&F!==(F=d[40][d[95].id]==1?"connect":"disconnect")&&e.set_custom_element_data(t,"connectlive",F),c[1]&1024&&e.set_custom_element_data(t,"visibilityconnect",d[41]),c[0]&2097152&&e.set_custom_element_data(t,"mbsource",d[21]),c[0]&4096&&e.set_custom_element_data(t,"currency",d[12]),c[1]&2048&&b!==(b=d[95].gameModel.details?d[95].gameModel.launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",b),c[0]&512&&e.set_custom_element_data(t,"clientstyling",d[9]),c[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",d[10]),c[0]&8&&e.set_custom_element_data(t,"endpoint",d[3]),c[0]&16384&&e.set_custom_element_data(t,"livecasino",d[14]),c[0]&32768&&e.set_custom_element_data(t,"gamepagemodalurl",d[15]),c[0]&65536&&e.set_custom_element_data(t,"integratedgameframedesktop",d[16]),c[0]&131072&&e.set_custom_element_data(t,"integratedgameframemobile",d[17])},d(d){d&&e.detach(t)}}}function Ot(s){let t=s[95].gameModel.platform.includes("iPad")||s[95].gameModel.platform.includes("iPhone")||s[95].gameModel.platform.includes("Android"),a,n=t&&Ze(s);return{c(){n&&n.c(),a=e.empty()},m(o,l){n&&n.m(o,l),e.insert(o,a,l)},p(o,l){l[1]&2048&&(t=o[95].gameModel.platform.includes("iPad")||o[95].gameModel.platform.includes("iPhone")||o[95].gameModel.platform.includes("Android")),t?n?n.p(o,l):(n=Ze(o),n.c(),n.m(a.parentNode,a)):n&&(n.d(1),n=null)},d(o){o&&e.detach(a),n&&n.d(o)}}}function Ze(s){let t,a,n,o,l,r,m,u,_,f,h,k,F,b;return{c(){var d,c;t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"class",a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1"))),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"favorites",s[8]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"gamethumbnail",n=s[95].gameModel.thumbnail),e.set_custom_element_data(t,"gamename",o=s[95].gameModel.name),e.set_custom_element_data(t,"gamevendor",l=s[95].gameModel.vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",r=s[95].launchUrl),e.set_custom_element_data(t,"gameisnew",m=(d=s[95].gameModel)==null?void 0:d.isNew),e.set_custom_element_data(t,"gametag",u=s[45]((c=s[95].gameModel)==null?void 0:c.advancedTags)),e.set_custom_element_data(t,"gamecellsize",_=s[95].cellSize),e.set_custom_element_data(t,"gameid",f=s[95].gameModel.id),e.set_custom_element_data(t,"gamefunmode",h=s[95].gameModel.hasFunMode),e.set_custom_element_data(t,"showgamename",s[13]),e.set_custom_element_data(t,"gamefavorite",k=s[95].gameModel.isFavorite),e.set_custom_element_data(t,"showfavoredcategory",s[39]),e.set_custom_element_data(t,"connectlive",F=s[40][s[95].id]==1?"connect":"disconnect"),e.set_custom_element_data(t,"visibilityconnect",s[41]),e.set_custom_element_data(t,"translationurl",s[11]),e.set_custom_element_data(t,"currency",s[12]),e.set_custom_element_data(t,"livelobbyendpoint",b=s[95].gameModel.details?s[95].gameModel.launchUrl:""),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"livecasino",s[14]),e.set_custom_element_data(t,"gamepagemodalurl",s[15]),e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),e.set_custom_element_data(t,"integratedgameframemobile",s[17])},m(d,c){e.insert(d,t,c)},p(d,c){var N,E;c[1]&2048&&a!==(a=""+(W+(d[95].cellSize?d[95].cellSize:"1x1")))&&e.set_custom_element_data(t,"class",a),c[0]&64&&e.set_custom_element_data(t,"session",d[6]),c[0]&128&&e.set_custom_element_data(t,"userid",d[7]),c[0]&32&&e.set_custom_element_data(t,"lang",d[5]),c[0]&2097152&&e.set_custom_element_data(t,"mbsource",d[21]),c[0]&256&&e.set_custom_element_data(t,"favorites",d[8]),c[0]&1&&e.set_custom_element_data(t,"categoryid",d[0]),c[1]&2048&&n!==(n=d[95].gameModel.thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),c[1]&2048&&o!==(o=d[95].gameModel.name)&&e.set_custom_element_data(t,"gamename",o),c[1]&2048&&l!==(l=d[95].gameModel.vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",l),c[1]&2048&&r!==(r=d[95].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",r),c[1]&2048&&m!==(m=(N=d[95].gameModel)==null?void 0:N.isNew)&&e.set_custom_element_data(t,"gameisnew",m),c[1]&2048&&u!==(u=d[45]((E=d[95].gameModel)==null?void 0:E.advancedTags))&&e.set_custom_element_data(t,"gametag",u),c[1]&2048&&_!==(_=d[95].cellSize)&&e.set_custom_element_data(t,"gamecellsize",_),c[1]&2048&&f!==(f=d[95].gameModel.id)&&e.set_custom_element_data(t,"gameid",f),c[1]&2048&&h!==(h=d[95].gameModel.hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),c[0]&8192&&e.set_custom_element_data(t,"showgamename",d[13]),c[1]&2048&&k!==(k=d[95].gameModel.isFavorite)&&e.set_custom_element_data(t,"gamefavorite",k),c[1]&256&&e.set_custom_element_data(t,"showfavoredcategory",d[39]),c[1]&2560&&F!==(F=d[40][d[95].id]==1?"connect":"disconnect")&&e.set_custom_element_data(t,"connectlive",F),c[1]&1024&&e.set_custom_element_data(t,"visibilityconnect",d[41]),c[0]&2048&&e.set_custom_element_data(t,"translationurl",d[11]),c[0]&4096&&e.set_custom_element_data(t,"currency",d[12]),c[1]&2048&&b!==(b=d[95].gameModel.details?d[95].gameModel.launchUrl:"")&&e.set_custom_element_data(t,"livelobbyendpoint",b),c[0]&512&&e.set_custom_element_data(t,"clientstyling",d[9]),c[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",d[10]),c[0]&8&&e.set_custom_element_data(t,"endpoint",d[3]),c[0]&16384&&e.set_custom_element_data(t,"livecasino",d[14]),c[0]&32768&&e.set_custom_element_data(t,"gamepagemodalurl",d[15]),c[0]&65536&&e.set_custom_element_data(t,"integratedgameframedesktop",d[16]),c[0]&131072&&e.set_custom_element_data(t,"integratedgameframemobile",d[17])},d(d){d&&e.detach(t)}}}function Qe(s){let t,a=s[95].gameModel&&Ke(s);return{c(){a&&a.c(),t=e.empty()},m(n,o){a&&a.m(n,o),e.insert(n,t,o)},p(n,o){n[95].gameModel?a?a.p(n,o):(a=Ke(n),a.c(),a.m(t.parentNode,t)):a&&(a.d(1),a=null)},d(n){n&&e.detach(t),a&&a.d(n)}}}function xe(s){let t,a,n=s[28].name+"",o,l;function r(_,f){return _[27]&&!_[30]?Ht:Bt}let m=r(s),u=m(s);return{c(){t=e.element("div"),a=e.element("h3"),o=e.text(n),l=e.space(),u.c(),e.attr(a,"class","CategoryName"),e.attr(t,"class","CasinoGamesHeader")},m(_,f){e.insert(_,t,f),e.append(t,a),e.append(a,o),s[55](a),e.append(t,l),u.m(t,null)},p(_,f){f[0]&268435456&&n!==(n=_[28].name+"")&&e.set_data(o,n),m===(m=r(_))&&u?u.p(_,f):(u.d(1),u=m(_),u&&(u.c(),u.m(t,null)))},d(_){_&&e.detach(t),s[55](null),u.d()}}}function Bt(s){let t,a,n,o=s[1]=="true"&&s[22]==="false"&&$e(s),l=s[2]=="true"&&et(s);return{c(){t=e.element("div"),o&&o.c(),a=e.space(),l&&l.c(),e.attr(t,"class",n=s[1]=="true"&&s[22]==="false"&&s[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")},m(r,m){e.insert(r,t,m),o&&o.m(t,null),e.append(t,a),l&&l.m(t,null)},p(r,m){r[1]=="true"&&r[22]==="false"?o?o.p(r,m):(o=$e(r),o.c(),o.m(t,a)):o&&(o.d(1),o=null),r[2]=="true"?l?l.p(r,m):(l=et(r),l.c(),l.m(t,null)):l&&(l.d(1),l=null),m[0]&4194310&&n!==(n=r[1]=="true"&&r[22]==="false"&&r[2]=="true"?"CategoryFilterContainer":"SingleOrEmptyCategoryFilterContainer")&&e.attr(t,"class",n)},d(r){r&&e.detach(t),o&&o.d(),l&&l.d()}}}function Ht(s){let t,a,n=s[43]("viewAll")+"",o,l,r=s[28].games.total+"",m,u,_,f;return{c(){t=e.element("a"),a=e.element("span"),o=e.text(n),l=e.text(" ("),m=e.text(r),u=e.text(")"),e.attr(a,"class","CategoryLoadMore"),e.attr(t,"class","CategoryNameLink")},m(h,k){e.insert(h,t,k),e.append(t,a),e.append(a,o),e.append(a,l),e.append(a,m),e.append(a,u),_||(f=e.listen(t,"click",s[56]),_=!0)},p(h,k){k[1]&4096&&n!==(n=h[43]("viewAll")+"")&&e.set_data(o,n),k[0]&268435456&&r!==(r=h[28].games.total+"")&&e.set_data(m,r)},d(h){h&&e.detach(t),_=!1,f()}}}function $e(s){let t;return{c(){t=e.element("casino-filter"),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"datasource",s[4]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"addfilterselector",s[1]),e.set_custom_element_data(t,"addsortingselector",s[2]),e.set_custom_element_data(t,"filterbylogo",s[19])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),n[0]&512&&e.set_custom_element_data(t,"clientstyling",a[9]),n[0]&8&&e.set_custom_element_data(t,"endpoint",a[3]),n[0]&16&&e.set_custom_element_data(t,"datasource",a[4]),n[0]&32&&e.set_custom_element_data(t,"lang",a[5]),n[0]&1&&e.set_custom_element_data(t,"categoryid",a[0]),n[0]&2097152&&e.set_custom_element_data(t,"mbsource",a[21]),n[0]&2&&e.set_custom_element_data(t,"addfilterselector",a[1]),n[0]&4&&e.set_custom_element_data(t,"addsortingselector",a[2]),n[0]&524288&&e.set_custom_element_data(t,"filterbylogo",a[19])},d(a){a&&e.detach(t)}}}function et(s){let t;return{c(){t=e.element("casino-sort"),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"addsortingselector",s[2])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",a[10]),n[0]&512&&e.set_custom_element_data(t,"clientstyling",a[9]),n[0]&32&&e.set_custom_element_data(t,"lang",a[5]),n[0]&2097152&&e.set_custom_element_data(t,"mbsource",a[21]),n[0]&1&&e.set_custom_element_data(t,"categoryid",a[0]),n[0]&4&&e.set_custom_element_data(t,"addsortingselector",a[2])},d(a){a&&e.detach(t)}}}function qt(s){let t,a=s[43]("noResults")+"",n;return{c(){t=e.element("p"),n=e.text(a),e.attr(t,"class","NoSearchResults")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noResults")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Vt(s){let t,a=[],n=new Map,o,l=e.ensure_array_like(s[29]);const r=m=>m[95].id;for(let m=0;m<l.length;m+=1){let u=Ve(s,l,m),_=r(u);n.set(_,a[m]=tt(_,u))}return{c(){t=e.element("ul");for(let m=0;m<a.length;m+=1)a[m].c();e.attr(t,"class",o=(s[42].items.length===0&&s[39]?"":"CasinoGamesGrid")+" "+(s[27]&&s[20]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")},m(m,u){e.insert(m,t,u);for(let _=0;_<a.length;_+=1)a[_]&&a[_].m(t,null);s[58](t)},p(m,u){u[0]&557055977|u[1]&17920&&(l=e.ensure_array_like(m[29]),a=e.update_keyed_each(a,u,r,1,m,l,n,t,e.destroy_block,tt,null,Ve)),u[0]&135266304|u[1]&2304&&o!==(o=(m[42].items.length===0&&m[39]?"":"CasinoGamesGrid")+" "+(m[27]&&m[20]=="true"?"CasinoGamesGridSlider CustomScroll":"")+" GamesListIncreasedGap")&&e.attr(t,"class",o)},d(m){m&&e.detach(t);for(let u=0;u<a.length;u+=1)a[u].d();s[58](null)}}}function Wt(s){let t;return{c(){t=e.element("div"),e.attr(t,"class","lds-dual-ring")},m(a,n){e.insert(a,t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function Yt(s){let t,a,n,o,l,r,m,u,_,f,h,k,F,b,d=s[97];const c=()=>s[57](t,d),N=()=>s[57](null,d);return{c(){t=e.element("casino-game-thumbnail"),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"class",a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1"))),e.set_custom_element_data(t,"favorites",s[8]),e.set_custom_element_data(t,"categoryid",s[0]),e.set_custom_element_data(t,"gamethumbnail",n=s[95].thumbnail),e.set_custom_element_data(t,"gamename",o=s[95].name),e.set_custom_element_data(t,"gamevendor",l=s[95].vendor.displayName),e.set_custom_element_data(t,"gameLaunchUrl",r=s[95].launchUrl),e.set_custom_element_data(t,"gameisnew",m=s[95].isNew),e.set_custom_element_data(t,"gametag",u=s[45](s[95].advancedTags)),e.set_custom_element_data(t,"gamecellsize",_=s[95].cellSize),e.set_custom_element_data(t,"gameid",f=s[95].id),e.set_custom_element_data(t,"gamefunmode",h=s[95].hasFunMode),e.set_custom_element_data(t,"gamefavorite",k=s[95].isFavorite),e.set_custom_element_data(t,"translationurl",s[11]),e.set_custom_element_data(t,"showgamename",s[13]),e.set_custom_element_data(t,"mbsource",s[21]),e.set_custom_element_data(t,"connectlive",F=s[40][s[95].id]==1?"connect":"disconnect"),e.set_custom_element_data(t,"visibilityconnect",s[41]),e.set_custom_element_data(t,"currency",s[12]),e.set_custom_element_data(t,"livelobbyendpoint",b=s[95].details?s[95].href:""),e.set_custom_element_data(t,"clientstyling",s[9]),e.set_custom_element_data(t,"clientstylingurl",s[10]),e.set_custom_element_data(t,"endpoint",s[3]),e.set_custom_element_data(t,"livecasino",s[14]),e.set_custom_element_data(t,"gamepagemodalurl",s[15]),e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),e.set_custom_element_data(t,"integratedgameframemobile",s[17]),e.set_custom_element_data(t,"casinogamesgridslider",s[20])},m(E,p){e.insert(E,t,p),c()},p(E,p){s=E,p[0]&64&&e.set_custom_element_data(t,"session",s[6]),p[0]&128&&e.set_custom_element_data(t,"userid",s[7]),p[0]&32&&e.set_custom_element_data(t,"lang",s[5]),p[0]&536870912&&a!==(a=""+(W+(s[95].cellSize?s[95].cellSize:"1x1")))&&e.set_custom_element_data(t,"class",a),p[0]&256&&e.set_custom_element_data(t,"favorites",s[8]),p[0]&1&&e.set_custom_element_data(t,"categoryid",s[0]),p[0]&536870912&&n!==(n=s[95].thumbnail)&&e.set_custom_element_data(t,"gamethumbnail",n),p[0]&536870912&&o!==(o=s[95].name)&&e.set_custom_element_data(t,"gamename",o),p[0]&536870912&&l!==(l=s[95].vendor.displayName)&&e.set_custom_element_data(t,"gamevendor",l),p[0]&536870912&&r!==(r=s[95].launchUrl)&&e.set_custom_element_data(t,"gameLaunchUrl",r),p[0]&536870912&&m!==(m=s[95].isNew)&&e.set_custom_element_data(t,"gameisnew",m),p[0]&536870912&&u!==(u=s[45](s[95].advancedTags))&&e.set_custom_element_data(t,"gametag",u),p[0]&536870912&&_!==(_=s[95].cellSize)&&e.set_custom_element_data(t,"gamecellsize",_),p[0]&536870912&&f!==(f=s[95].id)&&e.set_custom_element_data(t,"gameid",f),p[0]&536870912&&h!==(h=s[95].hasFunMode)&&e.set_custom_element_data(t,"gamefunmode",h),p[0]&536870912&&k!==(k=s[95].isFavorite)&&e.set_custom_element_data(t,"gamefavorite",k),p[0]&2048&&e.set_custom_element_data(t,"translationurl",s[11]),p[0]&8192&&e.set_custom_element_data(t,"showgamename",s[13]),p[0]&2097152&&e.set_custom_element_data(t,"mbsource",s[21]),p[0]&536870912|p[1]&512&&F!==(F=s[40][s[95].id]==1?"connect":"disconnect")&&e.set_custom_element_data(t,"connectlive",F),p[1]&1024&&e.set_custom_element_data(t,"visibilityconnect",s[41]),p[0]&4096&&e.set_custom_element_data(t,"currency",s[12]),p[0]&536870912&&b!==(b=s[95].details?s[95].href:"")&&e.set_custom_element_data(t,"livelobbyendpoint",b),p[0]&512&&e.set_custom_element_data(t,"clientstyling",s[9]),p[0]&1024&&e.set_custom_element_data(t,"clientstylingurl",s[10]),p[0]&8&&e.set_custom_element_data(t,"endpoint",s[3]),p[0]&16384&&e.set_custom_element_data(t,"livecasino",s[14]),p[0]&32768&&e.set_custom_element_data(t,"gamepagemodalurl",s[15]),p[0]&65536&&e.set_custom_element_data(t,"integratedgameframedesktop",s[16]),p[0]&131072&&e.set_custom_element_data(t,"integratedgameframemobile",s[17]),p[0]&1048576&&e.set_custom_element_data(t,"casinogamesgridslider",s[20]),d!==s[97]&&(N(),d=s[97],c())},d(E){E&&e.detach(t),N()}}}function tt(s,t){let a,n,o=Yt(t);return{key:s,first:null,c(){a=e.empty(),o&&o.c(),n=e.empty(),this.first=a},m(l,r){e.insert(l,a,r),o&&o.m(l,r),e.insert(l,n,r)},p(l,r){t=l,o.p(t,r)},d(l){l&&(e.detach(a),e.detach(n)),o&&o.d(l)}}}function Jt(s){let t,a=s[43]("searchedItems")+"",n;return{c(){t=e.element("h3"),n=e.text(a),e.attr(t,"class","StatusText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("searchedItems")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Kt(s){let t,a=s[43]("noResults")+"",n;return{c(){t=e.element("h3"),n=e.text(a),e.attr(t,"class","StatusText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noResults")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Xt(s){let t,a=s[43]("recentSearchedItems")+"",n;return{c(){t=e.element("h3"),n=e.text(a),e.attr(t,"class","StatusText")},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("recentSearchedItems")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function Zt(s){let t;return{c(){t=e.element("p"),t.textContent="Waiting",e.attr(t,"class","SearchWaiting")},m(a,n){e.insert(a,t,n)},p:e.noop,d(a){a&&e.detach(t)}}}function Qt(s){let t,a,n=[],o=new Map,l=!s[35]&&at(s),r=e.ensure_array_like(s[29]);const m=u=>u[95].id;for(let u=0;u<r.length;u+=1){let _=We(s,r,u),f=m(_);o.set(f,n[u]=st(f,_))}return{c(){l&&l.c(),t=e.space(),a=e.element("ul");for(let u=0;u<n.length;u+=1)n[u].c();e.attr(a,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(u,_){l&&l.m(u,_),e.insert(u,t,_),e.insert(u,a,_);for(let f=0;f<n.length;f+=1)n[f]&&n[f].m(a,null)},p(u,_){u[35]?l&&(l.d(1),l=null):l?l.p(u,_):(l=at(u),l.c(),l.m(t.parentNode,t)),_[0]&539230185|_[1]&16388&&(r=e.ensure_array_like(u[29]),n=e.update_keyed_each(n,_,m,1,u,r,o,a,e.destroy_block,st,null,We))},d(u){u&&(e.detach(t),e.detach(a)),l&&l.d(u);for(let _=0;_<n.length;_+=1)n[_].d()}}}function at(s){let t,a=s[43]("noRecentSearch")+"",n;return{c(){t=e.element("p"),n=e.text(a),e.attr(t,"class","NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(e.isMobile(s[44])?"NoRecentSearchesMobile":""))},m(o,l){e.insert(o,t,l),e.append(t,n)},p(o,l){l[1]&4096&&a!==(a=o[43]("noRecentSearch")+"")&&e.set_data(n,a)},d(o){o&&e.detach(t)}}}function st(s,t){let a,n,o,l,r,m,u,_,f,h,k,F,b;return{key:s,first:null,c(){var d;a=e.element("casino-game-thumbnail"),e.set_custom_element_data(a,"class",n=""+(W+(t[95].cellSize?t[95].cellSize:"1x1"))),e.set_custom_element_data(a,"session",t[6]),e.set_custom_element_data(a,"userid",t[7]),e.set_custom_element_data(a,"lang",t[5]),e.set_custom_element_data(a,"searchitem",t[33]),e.set_custom_element_data(a,"favorites",t[8]),e.set_custom_element_data(a,"categoryid",t[0]),e.set_custom_element_data(a,"gamethumbnail",o=t[95].thumbnail),e.set_custom_element_data(a,"gamename",l=t[95].name),e.set_custom_element_data(a,"gamevendor",r=t[95].vendor.displayName),e.set_custom_element_data(a,"gameLaunchUrl",m=t[95].launchUrl),e.set_custom_element_data(a,"gameisnew",u=(d=t[95])==null?void 0:d.isNew),e.set_custom_element_data(a,"gametag",_=t[45](t[95].advancedTags)),e.set_custom_element_data(a,"gamecellsize",f=t[95].cellSize),e.set_custom_element_data(a,"gameid",h=t[95].id),e.set_custom_element_data(a,"gamefunmode",k=t[95].hasFunMode),e.set_custom_element_data(a,"mbsource",t[21]),e.set_custom_element_data(a,"showgamename",t[13]),e.set_custom_element_data(a,"translationurl",t[11]),e.set_custom_element_data(a,"gamefavorite",F=t[95].isFavorite),e.set_custom_element_data(a,"currency",t[12]),e.set_custom_element_data(a,"livelobbyendpoint",b=t[95].details?t[95].href:""),e.set_custom_element_data(a,"clientstyling",t[9]),e.set_custom_element_data(a,"clientstylingurl",t[10]),e.set_custom_element_data(a,"endpoint",t[3]),e.set_custom_element_data(a,"livecasino",t[14]),e.set_custom_element_data(a,"gamepagemodalurl",t[15]),e.set_custom_element_data(a,"integratedgameframedesktop",t[16]),e.set_custom_element_data(a,"integratedgameframemobile",t[17]),this.first=a},m(d,c){e.insert(d,a,c)},p(d,c){var N;t=d,c[0]&536870912&&n!==(n=""+(W+(t[95].cellSize?t[95].cellSize:"1x1")))&&e.set_custom_element_data(a,"class",n),c[0]&64&&e.set_custom_element_data(a,"session",t[6]),c[0]&128&&e.set_custom_element_data(a,"userid",t[7]),c[0]&32&&e.set_custom_element_data(a,"lang",t[5]),c[1]&4&&e.set_custom_element_data(a,"searchitem",t[33]),c[0]&256&&e.set_custom_element_data(a,"favorites",t[8]),c[0]&1&&e.set_custom_element_data(a,"categoryid",t[0]),c[0]&536870912&&o!==(o=t[95].thumbnail)&&e.set_custom_element_data(a,"gamethumbnail",o),c[0]&536870912&&l!==(l=t[95].name)&&e.set_custom_element_data(a,"gamename",l),c[0]&536870912&&r!==(r=t[95].vendor.displayName)&&e.set_custom_element_data(a,"gamevendor",r),c[0]&536870912&&m!==(m=t[95].launchUrl)&&e.set_custom_element_data(a,"gameLaunchUrl",m),c[0]&536870912&&u!==(u=(N=t[95])==null?void 0:N.isNew)&&e.set_custom_element_data(a,"gameisnew",u),c[0]&536870912&&_!==(_=t[45](t[95].advancedTags))&&e.set_custom_element_data(a,"gametag",_),c[0]&536870912&&f!==(f=t[95].cellSize)&&e.set_custom_element_data(a,"gamecellsize",f),c[0]&536870912&&h!==(h=t[95].id)&&e.set_custom_element_data(a,"gameid",h),c[0]&536870912&&k!==(k=t[95].hasFunMode)&&e.set_custom_element_data(a,"gamefunmode",k),c[0]&2097152&&e.set_custom_element_data(a,"mbsource",t[21]),c[0]&8192&&e.set_custom_element_data(a,"showgamename",t[13]),c[0]&2048&&e.set_custom_element_data(a,"translationurl",t[11]),c[0]&536870912&&F!==(F=t[95].isFavorite)&&e.set_custom_element_data(a,"gamefavorite",F),c[0]&4096&&e.set_custom_element_data(a,"currency",t[12]),c[0]&536870912&&b!==(b=t[95].details?t[95].href:"")&&e.set_custom_element_data(a,"livelobbyendpoint",b),c[0]&512&&e.set_custom_element_data(a,"clientstyling",t[9]),c[0]&1024&&e.set_custom_element_data(a,"clientstylingurl",t[10]),c[0]&8&&e.set_custom_element_data(a,"endpoint",t[3]),c[0]&16384&&e.set_custom_element_data(a,"livecasino",t[14]),c[0]&32768&&e.set_custom_element_data(a,"gamepagemodalurl",t[15]),c[0]&65536&&e.set_custom_element_data(a,"integratedgameframedesktop",t[16]),c[0]&131072&&e.set_custom_element_data(a,"integratedgameframemobile",t[17])},d(d){d&&e.detach(a)}}}function xt(s){let t,a=s[43]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(n,o){e.insert(n,t,o),t.innerHTML=a},p(n,o){o[1]&4096&&a!==(a=n[43]("500")+"")&&(t.innerHTML=a)},d(n){n&&e.detach(t)}}}function $t(s){let t,a=s[43]("404")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(n,o){e.insert(n,t,o),t.innerHTML=a},p(n,o){o[1]&4096&&a!==(a=n[43]("404")+"")&&(t.innerHTML=a)},d(n){n&&e.detach(t)}}}function ea(s){let t;function a(l,r){return l[26]?Nt:l[31]?Et:zt}let n=a(s),o=n(s);return{c(){t=e.element("div"),o.c(),e.attr(t,"class","CasinoGamesCategorySectionContainer")},m(l,r){e.insert(l,t,r),o.m(t,null),s[61](t)},p(l,r){n===(n=a(l))&&o?o.p(l,r):(o.d(1),o=n(l),o&&(o.c(),o.m(t,null)))},i:e.noop,o:e.noop,d(l){l&&e.detach(t),o.d(),s[61](null)}}}const W="game-tile-";let ta=0;function aa(s,t,a){let n;e.component_subscribe(s,e.$format,i=>a(43,n=i));let{endpoint:o=""}=t,{datasource:l=""}=t,{lang:r=""}=t,{session:m=""}=t,{userid:u=""}=t,{favorites:_=""}=t,{clientstyling:f=""}=t,{clientstylingurl:h=""}=t,{translationurl:k=""}=t,{currency:F=""}=t,{categoryid:b=""}=t,{showgamename:d=""}=t,{livecasino:c="false"}=t,{gamepagemodalurl:N="true"}=t,{integratedgameframedesktop:E="false"}=t,{integratedgameframemobile:p="false"}=t,{casinomygames:T="false"}=t,{addfilterselector:ne="false"}=t,{addsortingselector:oe="false"}=t,{filterbylogo:je=""}=t,{casinogamesgridslider:Le="false"}=t,{fetchviaevent:X="false"}=t,{showallpage:be="casino"}=t,{actionevent:ve="CategoryChange"}=t,{displayedgamecount:le="10"}=t,{showallbuttongamescount:ie="10"}=t,{mbsource:we}=t,{lobbyscreen:ke="true"}=t,{usesinglevendorfilter:re="false"}=t,{visiblegames:ye="10"}=t,Ae,H=!0,Se=!1,me,ue,O=!0,Re=window.navigator.userAgent,G,y=[],q=!0,Y=40,B=!1,ce=!1,Z=!1,Fe=!1,Ge=!0,Q=!1,x,Me,$,ee=!1,D,_e=!1,te=new Array(1e4),ae={},Ce="",J="",de,ze,M,A=[],fe=new AbortController,K={items:[],count:0,name:""};const ot=()=>{fetch(k).then(g=>g.json()).then(g=>{Object.keys(g).forEach(v=>{Be(v,g[v])})}).catch(g=>{console.log(g)})};Object.keys(He).forEach(i=>{Be(i,He[i])}),typeof document.hidden!="undefined"?de="hidden":typeof document.msHidden!="undefined"?de="msHidden":typeof document.webkitHidden!="undefined"&&(de="webkitHidden");let ge=new IntersectionObserver(i=>{i.forEach(g=>he(this,null,function*(){let v=g.target.gameid,S=g.target.elems_index;g.isIntersecting?(S*1.2>Y&&_t(b),a(40,ae[v]=1,ae)):a(40,ae[v]=0,ae)}))});const Ee=(i,g)=>{let v=`${o}/v1/player/${g}/favorites/`;a(25,H=!0);let S={method:"GET",headers:{"X-SessionID":i}};return new Promise((C,z)=>{fetch(v,S).then(w=>w.json()).then(w=>{var I;if(a(25,H=!1),M=[],w){w.items.forEach(P=>{P.gameModel&&(M.push(P),A.includes(P.id)||A.push(P.id))});const L=(I=e.platformFavorite(M))==null?void 0:I.length;window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:L})}else M=[];b==="FAVORITES"&&Ie(M),y.forEach(L=>{L.isFavorite=R(L.id)});let U=y;a(29,y=void 0),a(29,y=U),C(M)}).catch(w=>{console.error(w),z(w)})})},lt=(i,g)=>new Promise((v,S)=>{if(i&&g){let C=`${o}/v1/player/${g}/favorites/`;fetch(C,{method:"GET",headers:{"X-SessionID":i}}).then(w=>w.json()).then(w=>{var U,I;if(M=[],w){(U=w.items)==null||U.forEach(P=>{P.gameModel&&(M.push(P),A.includes(P.id)||A.push(P.id))});const L=(I=e.platformFavorite(M))==null?void 0:I.length;window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:L})}else M=[];b==="FAVORITES"&&Ie(M),v(M)}).catch(w=>{console.error(w),S(w)})}else v([])}),Te=(i,g,v,S)=>{fe&&fe.abort(),fe=new AbortController;const C=fe.signal;a(25,H=!0);let z="",w="",U=JSON.parse(localStorage.getItem("vendorFiltersByCategory")),I=JSON.parse(localStorage.getItem("vendorSortingBy"));const L=re==="true"?"*":i;return(i.match(/\$/g)||[]).length>1?(z=i.split("$").slice(0,2).join("$"),w=new URL(`${o}/v1/casino/groups/${l}/${z}/subGroups`)):w=new URL(`${o}/v1/casino/groups/${l}/${i}`),new Promise((P,Gt)=>{var Oe;if(w.searchParams.delete("pagination"),w.searchParams.append("expand","games(vendor)"),w.searchParams.append("fields","id,name,games"),w.searchParams.append("platform",e.getDevice(Re)),w.searchParams.append("pagination",`games(offset=${g},limit=${v})`),w.searchParams.append("language",r),window.postMessage({type:"CategoryVendors",categoryid:i},window.location.href),U&&((Oe=U[L])!=null&&Oe.length))if(re==="true"||O===!1&&ee===!1){let j="";a(34,Fe=!0),U[L].forEach(V=>{j=j+(j?`,games(vendor(id=${V}))`:`games(vendor(id=${V}))`)}),w.searchParams.append("filter",`${j}`)}else a(34,Fe=!1);I&&(I[i]?I[i]&&I[i]!="All"&&(I[i]=="isNew"||I[i]=="advancedTags(name(hot))"?(w.searchParams.append("sortedField",`games(${I[i]})`),w.searchParams.append("orderBy","DES")):w.searchParams.append("sortedField",`games(${I[i]})`)):J&&J!="All"&&(J=="advancedTags(name(hot))"||J=="isNew"?(w.searchParams.append("sortedField",`games(${J})`),w.searchParams.append("orderBy","DES")):w.searchParams.append("sortedField",`games(${J})`))),fetch(w,{signal:C}).then(j=>j.json()).then(j=>{C.aborted||(a(25,H=!1),(i.match(/\$/g)||[]).length>1&&(j=j.items.filter(V=>{if(V.id==i)return V})[0]),a(54,ze=!0),a(26,Se=!1),Me=j.games.total,S&&j.games.items.forEach(V=>{V.isFavorite=R(V.id)}),a(36,Q=!0),P(j))}).catch(j=>{j.name!=="AbortError"&&(a(26,Se=!0),console.error(j),Gt(j))}).finally(()=>{it()})})},se=(i,g,v)=>new Promise((S,C)=>{_=="true"?lt(m,u).then(z=>{Te(i,g,v,z).then(w=>{S(w)})}):Te(i,g,v,null).then(z=>{S(z)})}),it=()=>{const i=D.getRootNode().host;i.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:i}}))},rt=(i,g,v)=>{i!==""&&(a(31,B=!1),a(27,O=!0),a(1,ne="false"),a(2,oe="false"),a(33,Z=!1),_e=!1,a(30,q=+g>+v),se(i,0,+g).then(S=>{a(28,G=S),a(29,y=G.games.items),y&&y.forEach(C=>{C.isFavorite=R(C.id)})}))},Ne=i=>{if(i.data)switch(i.data.type){case"MostPlayedData":b=="MOSTPLAYED"&&(a(31,B=!1),a(27,O=!1),a(30,q=!1),a(29,y=i.data.mostPlayedGames),a(28,G={id:"MOSTPLAYED",name:"Most Played Games",games:{count:i.data.mostPlayedGames.length,total:i.data.mostPlayedGames.length,items:i.data.mostPlayedGames}}),y&&y.forEach(g=>{g.isFavorite=R(g.id)})),a(25,H=!1);break;case"LastPlayedData":b=="LASTPLAYED"&&(a(31,B=!1),a(27,O=!1),a(30,q=!1),a(29,y=i.data.lastPlayedGames),a(28,G={id:"LASTPLAYED",name:"Last Played Games",games:{count:i.data.lastPlayedGames.length,total:i.data.lastPlayedGames.length,items:i.data.lastPlayedGames}}),y&&y.forEach(g=>{g.isFavorite=R(g.id)})),a(25,H=!1);break;case"RecentSearchData":a(31,B=!0),a(32,ce=!0),i.data.searchData.length>0?(a(29,y=i.data.searchData),a(35,Ge=!0),y&&y.forEach(g=>{g.isFavorite=R(g.id)})):(a(29,y=[]),a(35,Ge=!1));break;case"OutOfRecentSearches":a(31,B=!1),a(32,ce=!1);break;case"SearchData":a(31,B=!0),a(32,ce=!1),a(29,y=i.data.searchData.items||[]),a(33,Z=!0),i.data.receivedFavoriteResults&&(M=i.data.receivedFavoriteResults.items),y&&y.forEach(g=>{g.isFavorite=R(g.id)});break;case`CategoryData_${b}`:a(31,B=!1),a(27,O=!0),a(1,ne="false"),a(2,oe="false"),a(33,Z=!1),_e=!1,se(i.data.categoryId,0,i.data.visiblegames).then(g=>{a(28,G=g),a(29,y=G.games.items),a(30,q=!!(Me<=i.data.visiblegames&&O)),y&&y.forEach(v=>{v.isFavorite=R(v.id)})});break;case"CategoryChange":Y=20;break;case"ApplySorter":a(0,b=i.data.itemId),J=i.data.sortBy,se(b,0,Y).then(g=>{a(28,G=g),a(29,y=G.games.items),a(30,q=!1)});break;case"CategoryUpdate":Pe(i.data.itemId);break;case`SetUnfavoredGame${b}`:ct(`${o}/v1/player/${u}/favorites`,m,i.data.id);break;case`SetFavoredGame${b}`:ut(`${o}/v1/player/${u}/favorites`,m,i.data.id);break;case"UserSessionID":me=i.data.session,ue=i.data.userID,_=="true"&&ue&&ue.length&&me&&me.length>0&&Ee(me,ue);break;case"UpdateFavoredList":b==="FAVORITES"&&De(i.data.url,i.data.sessionID);break}},Pe=i=>{a(31,B=!1),a(27,O=ke==="true"),a(33,Z=!1),_e=!0,a(36,Q=!1),a(0,b=i),b!=="MOSTPLAYED"&&a(30,q=!1),T!=="true"&&(!M&&m&&Ee(m,u),se(b,0,Y).then(g=>{var v;a(28,G=g),(v=G==null?void 0:G.games)==null||v.items.forEach(S=>{S.isFavorite=R(S.id)}),a(29,y=G==null?void 0:G.games.items)}).finally(()=>{O&&window.postMessage({type:`CategoryData_${b}`,categoryId:b,visiblegames:ye},window.location.href)}))},mt=()=>{G&&(a(29,y=G.games.items),y.forEach(i=>{i.isFavorite=R(i.id)}))},R=i=>{var g;return(g=M==null?void 0:M.some(v=>v.id===i))!=null?g:!1};let ut=(i,g,v)=>he(this,null,function*(){yield De(i,g),A.includes(v)||A.push(v);let C={method:"POST",headers:{"X-SessionID":g,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify({items:A})};fetch(i,C).then(z=>z.json()).then(()=>{window.postMessage({type:`AddFavoriteThumbnail_${v}`},window.location.href),window.postMessage({type:"UpdateFavoredList",url:i,sessionID:g})}).catch(z=>{console.error("Err",z)})});const ct=(i,g,v)=>{let S={method:"DELETE",headers:{"X-SessionID":g}};fetch(`${i}/${v}`,S).then(C=>C.json()).then(()=>{window.postMessage({type:`RemoveFavoriteThumbnail_${v}`},window.location.href),window.postMessage({type:"UpdateFavoredList",url:i,sessionID:g})}),A.includes(v)&&(A=A.filter(C=>C!=v))},De=(i,g)=>he(this,null,function*(){return fetch(i,{method:"GET",headers:{"X-SessionID":g}}).then(S=>S.json()).then(S=>{var z;M=S.items,X?(M.forEach(w=>{A.includes(w.id)||A.push(w.id)}),mt()):M.forEach(w=>{w.isFavorite=R(w.id)});const C=(z=e.platformFavorite(M))==null?void 0:z.length;b==="FAVORITES"&&(window.postMessage({type:"UpdateFavoritesCount",favoriteGamesLength:C}),Ie(M))}).catch(S=>{console.error(S)})}),Ie=i=>{if(!i)return;let g;g=(i==null?void 0:i.items)||i||[],g.length>0&&g.forEach(v=>{v.gameModel&&(v.gameModel.isFavorite=!0)}),a(42,K.items=e.platformFavorite(g,K.items),K),a(42,K.name="Favorites",K),a(25,H=!1)},_t=i=>{Y+=1,a(36,Q=!0),Y<=Me&&se(i,ta,Y).then(g=>{a(28,G=g),G.games.items.length>y.length&&(a(29,y=G.games.items),y.forEach(v=>{v.isFavorite=R(v.id)})),a(36,Q=!1)})},dt=i=>{const g=i!=null?i:[];if((g==null?void 0:g.length)===0)return"";let v="",S=999999999999,C;const z=new Date(Date.now());return g.forEach((w,U)=>{const I=new Date(w.schedules[0].startTime),L=new Date(w.schedules[0].endTime);pe.hooks(L).diff(z)<S&&(S=pe.hooks(L).diff(z),C=U),pe.hooks(z).isAfter(I)&&pe.hooks(z).isBefore(L)&&(v=g[C].name)}),v},Ue=i=>{a(30,q=!1),window.postMessage({type:`${ve}`,itemId:i,showallpage:be},window.location.href)},ft=()=>{switch(b){case"FAVORITES":u&&m&&a(39,ee=!0);break;case"MOSTPLAYED":T==="false"&&u&&m&&a(39,ee=!1);break;case"LASTPLAYED":T==="false"&&u&&m&&a(39,ee=!1);break;default:Pe(b);break}},gt=()=>{document[de]?a(41,Ce="disconnect"):a(41,Ce="connect")},ht=()=>{_e&&te.forEach((i,g)=>{i&&(i.elems_index=g,ge.observe(i))})},pt=()=>{Mt(r)};e.onDestroy(()=>{ge==null||ge.disconnect()}),e.onMount(()=>(window.addEventListener("visibilitychange",i=>gt()),window.addEventListener("message",Ne,!1),()=>{window.emMessageBus&&Ae&&Ae.unsubscribe(),window.removeEventListener("message",Ne),window.removeEventListener("visibilitychange",Ne)}));function bt(i){e.binding_callbacks[i?"unshift":"push"](()=>{$=i,a(38,$)})}const vt=i=>Ue(G.id);function wt(i,g){e.binding_callbacks[i?"unshift":"push"](()=>{te[g]=i,a(24,te)})}function kt(i){e.binding_callbacks[i?"unshift":"push"](()=>{x=i,a(37,x)})}function yt(i){e.binding_callbacks[i?"unshift":"push"](()=>{$=i,a(38,$)})}function St(i){e.binding_callbacks[i?"unshift":"push"](()=>{x=i,a(37,x)})}function Ft(i){e.binding_callbacks[i?"unshift":"push"](()=>{D=i,a(23,D)})}return s.$$set=i=>{"endpoint"in i&&a(3,o=i.endpoint),"datasource"in i&&a(4,l=i.datasource),"lang"in i&&a(5,r=i.lang),"session"in i&&a(6,m=i.session),"userid"in i&&a(7,u=i.userid),"favorites"in i&&a(8,_=i.favorites),"clientstyling"in i&&a(9,f=i.clientstyling),"clientstylingurl"in i&&a(10,h=i.clientstylingurl),"translationurl"in i&&a(11,k=i.translationurl),"currency"in i&&a(12,F=i.currency),"categoryid"in i&&a(0,b=i.categoryid),"showgamename"in i&&a(13,d=i.showgamename),"livecasino"in i&&a(14,c=i.livecasino),"gamepagemodalurl"in i&&a(15,N=i.gamepagemodalurl),"integratedgameframedesktop"in i&&a(16,E=i.integratedgameframedesktop),"integratedgameframemobile"in i&&a(17,p=i.integratedgameframemobile),"casinomygames"in i&&a(18,T=i.casinomygames),"addfilterselector"in i&&a(1,ne=i.addfilterselector),"addsortingselector"in i&&a(2,oe=i.addsortingselector),"filterbylogo"in i&&a(19,je=i.filterbylogo),"casinogamesgridslider"in i&&a(20,Le=i.casinogamesgridslider),"fetchviaevent"in i&&a(47,X=i.fetchviaevent),"showallpage"in i&&a(48,be=i.showallpage),"actionevent"in i&&a(49,ve=i.actionevent),"displayedgamecount"in i&&a(50,le=i.displayedgamecount),"showallbuttongamescount"in i&&a(51,ie=i.showallbuttongamescount),"mbsource"in i&&a(21,we=i.mbsource),"lobbyscreen"in i&&a(52,ke=i.lobbyscreen),"usesinglevendorfilter"in i&&a(22,re=i.usesinglevendorfilter),"visiblegames"in i&&a(53,ye=i.visiblegames)},s.$$.update=()=>{s.$$.dirty[0]&32&&r&&pt(),s.$$.dirty[0]&57|s.$$.dirty[1]&1638400&&(X==="false"||X==="")&&o&&r&&b&&l&&le&&ie&&rt(b,le,ie),s.$$.dirty[0]&456&&_==="true"&&o&&m&&u&&Ee(m,u),s.$$.dirty[0]&16777216|s.$$.dirty[1]&8388608&&ze&&te&&ht(),s.$$.dirty[0]&33&&r&&b&&ft(),s.$$.dirty[0]&2048&&k&&ot(),s.$$.dirty[0]&8389120&&f&&D&&e.setClientStyling(D,f),s.$$.dirty[0]&8389632&&h&&D&&e.setClientStylingURL(D,h),s.$$.dirty[0]&10485760&&D&&e.setStreamStyling(D,`${we}.Style`)},[b,ne,oe,o,l,r,m,u,_,f,h,k,F,d,c,N,E,p,T,je,Le,we,re,D,te,H,Se,O,G,y,q,B,ce,Z,Fe,Ge,Q,x,$,ee,ae,Ce,K,n,Re,dt,Ue,X,be,ve,le,ie,ke,ye,ze,bt,vt,wt,kt,yt,St,Ft]}class nt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,aa,ea,e.safe_not_equal,{endpoint:3,datasource:4,lang:5,session:6,userid:7,favorites:8,clientstyling:9,clientstylingurl:10,translationurl:11,currency:12,categoryid:0,showgamename:13,livecasino:14,gamepagemodalurl:15,integratedgameframedesktop:16,integratedgameframemobile:17,casinomygames:18,addfilterselector:1,addsortingselector:2,filterbylogo:19,casinogamesgridslider:20,fetchviaevent:47,showallpage:48,actionevent:49,displayedgamecount:50,showallbuttongamescount:51,mbsource:21,lobbyscreen:52,usesinglevendorfilter:22,visiblegames:53},Ct,[-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[3]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get datasource(){return this.$$.ctx[4]}set datasource(t){this.$$set({datasource:t}),e.flush()}get lang(){return this.$$.ctx[5]}set lang(t){this.$$set({lang:t}),e.flush()}get session(){return this.$$.ctx[6]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[7]}set userid(t){this.$$set({userid:t}),e.flush()}get favorites(){return this.$$.ctx[8]}set favorites(t){this.$$set({favorites:t}),e.flush()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[11]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get currency(){return this.$$.ctx[12]}set currency(t){this.$$set({currency:t}),e.flush()}get categoryid(){return this.$$.ctx[0]}set categoryid(t){this.$$set({categoryid:t}),e.flush()}get showgamename(){return this.$$.ctx[13]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get livecasino(){return this.$$.ctx[14]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[15]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[16]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[17]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get casinomygames(){return this.$$.ctx[18]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get addfilterselector(){return this.$$.ctx[1]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[2]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[19]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[20]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get fetchviaevent(){return this.$$.ctx[47]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),e.flush()}get showallpage(){return this.$$.ctx[48]}set showallpage(t){this.$$set({showallpage:t}),e.flush()}get actionevent(){return this.$$.ctx[49]}set actionevent(t){this.$$set({actionevent:t}),e.flush()}get displayedgamecount(){return this.$$.ctx[50]}set displayedgamecount(t){this.$$set({displayedgamecount:t}),e.flush()}get showallbuttongamescount(){return this.$$.ctx[51]}set showallbuttongamescount(t){this.$$set({showallbuttongamescount:t}),e.flush()}get mbsource(){return this.$$.ctx[21]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get lobbyscreen(){return this.$$.ctx[52]}set lobbyscreen(t){this.$$set({lobbyscreen:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[22]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}get visiblegames(){return this.$$.ctx[53]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}}e.create_custom_element(nt,{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:{},mbsource:{},lobbyscreen:{},usesinglevendorfilter:{},visiblegames:{}},[],[],!0);exports.default=nt;
@@ -2501,11 +2501,11 @@ function ji(i) {
2501
2501
  };
2502
2502
  }
2503
2503
  const ee = "game-tile-";
2504
- let Ri = 0;
2505
- function Ai(i, e, a) {
2504
+ let Li = 0;
2505
+ function Ri(i, e, a) {
2506
2506
  let n;
2507
2507
  Ka(i, ei, (l) => a(43, n = l));
2508
- let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: F = "" } = e, { currency: E = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: ne = "true" } = e, { integratedgameframedesktop: U = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: H = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: be = "false" } = e, { filterbylogo: Ye = "" } = e, { casinogamesgridslider: Je = "false" } = e, { fetchviaevent: le = "false" } = e, { showallpage: Ie = "casino" } = e, { actionevent: je = "CategoryChange" } = e, { displayedgamecount: we = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { mbsource: Re } = e, { lobbyscreen: Ae = "true" } = e, { usesinglevendorfilter: ye = "false" } = e, { visiblegames: Le = "10" } = e, Ke, Z = !0, Te = !1, Se, Fe, Y = !0, Xe = window.navigator.userAgent, L, M = [], Q = !0, ae = 40, J = !1, Ge = !1, re = !1, Pe = !1, De = !0, me = !1, ue, Ue, ce, fe = !1, q, Ce = !1, ge = new Array(1e4), de = {}, Oe = "", ie = "", Me, Be, R, O = [], ze = new AbortController(), te = { items: [], count: 0, name: "" };
2508
+ let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: F = "" } = e, { currency: E = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: ne = "true" } = e, { integratedgameframedesktop: U = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: H = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: be = "false" } = e, { filterbylogo: We = "" } = e, { casinogamesgridslider: Ye = "false" } = e, { fetchviaevent: le = "false" } = e, { showallpage: Ie = "casino" } = e, { actionevent: je = "CategoryChange" } = e, { displayedgamecount: we = "10" } = e, { showallbuttongamescount: ke = "10" } = e, { mbsource: Le } = e, { lobbyscreen: Re = "true" } = e, { usesinglevendorfilter: ye = "false" } = e, { visiblegames: Ae = "10" } = e, Je, Z = !0, Te = !1, Se, Fe, Y = !0, Ke = window.navigator.userAgent, A, M = [], Q = !0, ae = 40, J = !1, Ge = !1, re = !1, Pe = !1, De = !0, me = !1, ue, Ue, ce, fe = !1, q, Ce = !1, ge = new Array(1e4), de = {}, Oe = "", ie = "", Me, Be, L, O = [], ze = new AbortController(), te = { items: [], count: 0, name: "" };
2509
2509
  const ba = () => {
2510
2510
  fetch(F).then((_) => _.json()).then((_) => {
2511
2511
  Object.keys(_).forEach((w) => {
@@ -2518,7 +2518,7 @@ function Ai(i, e, a) {
2518
2518
  Object.keys(aa).forEach((l) => {
2519
2519
  ea(l, aa[l]);
2520
2520
  }), typeof document.hidden < "u" ? Me = "hidden" : typeof document.msHidden < "u" ? Me = "msHidden" : typeof document.webkitHidden < "u" && (Me = "webkitHidden");
2521
- let Ze = new IntersectionObserver((l) => {
2521
+ let Xe = new IntersectionObserver((l) => {
2522
2522
  l.forEach(async (_) => {
2523
2523
  let w = _.target.gameid, N = _.target.elems_index;
2524
2524
  _.isIntersecting ? (N * 1.2 > ae && Ca(v), a(40, de[w] = 1, de)) : a(40, de[w] = 0, de);
@@ -2533,22 +2533,22 @@ function Ai(i, e, a) {
2533
2533
  };
2534
2534
  return new Promise((j, I) => {
2535
2535
  fetch(w, N).then((C) => C.json()).then((C) => {
2536
- if (a(25, Z = !1), R = [], C) {
2536
+ if (a(25, Z = !1), L = [], C) {
2537
2537
  C.items.forEach((V) => {
2538
- V.gameModel && (R.push(V), O.includes(V.id) || O.push(V.id));
2538
+ V.gameModel && (L.push(V), O.includes(V.id) || O.push(V.id));
2539
2539
  });
2540
- const A = Ee(R)?.length;
2540
+ const R = Ee(L)?.length;
2541
2541
  window.postMessage({
2542
2542
  type: "UpdateFavoritesCount",
2543
- favoriteGamesLength: A
2543
+ favoriteGamesLength: R
2544
2544
  });
2545
2545
  } else
2546
- R = [];
2547
- v === "FAVORITES" && We(R), M.forEach((A) => {
2548
- A.isFavorite = B(A.id);
2546
+ L = [];
2547
+ v === "FAVORITES" && qe(L), M.forEach((R) => {
2548
+ R.isFavorite = B(R.id);
2549
2549
  });
2550
2550
  let K = M;
2551
- a(29, M = void 0), a(29, M = K), j(R);
2551
+ a(29, M = void 0), a(29, M = K), j(L);
2552
2552
  }).catch((C) => {
2553
2553
  console.error(C), I(C);
2554
2554
  });
@@ -2560,31 +2560,31 @@ function Ai(i, e, a) {
2560
2560
  method: "GET",
2561
2561
  headers: { "X-SessionID": l }
2562
2562
  }).then((C) => C.json()).then((C) => {
2563
- if (R = [], C) {
2564
- C.items?.forEach((A) => {
2565
- A.gameModel && (R.push(A), O.includes(A.id) || O.push(A.id));
2563
+ if (L = [], C) {
2564
+ C.items?.forEach((R) => {
2565
+ R.gameModel && (L.push(R), O.includes(R.id) || O.push(R.id));
2566
2566
  });
2567
- const K = Ee(R)?.length;
2567
+ const K = Ee(L)?.length;
2568
2568
  window.postMessage({
2569
2569
  type: "UpdateFavoritesCount",
2570
2570
  favoriteGamesLength: K
2571
2571
  });
2572
2572
  } else
2573
- R = [];
2574
- v === "FAVORITES" && We(R), w(R);
2573
+ L = [];
2574
+ v === "FAVORITES" && qe(L), w(L);
2575
2575
  }).catch((C) => {
2576
2576
  console.error(C), N(C);
2577
2577
  });
2578
2578
  } else
2579
2579
  w([]);
2580
- }), Qe = (l, _, w, N) => {
2580
+ }), Ze = (l, _, w, N) => {
2581
2581
  ze && ze.abort(), ze = new AbortController();
2582
2582
  const j = ze.signal;
2583
2583
  a(25, Z = !0);
2584
- let I = "", C = "", K = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), A = JSON.parse(localStorage.getItem("vendorSortingBy"));
2584
+ let I = "", C = "", K = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), R = JSON.parse(localStorage.getItem("vendorSortingBy"));
2585
2585
  const V = ye === "true" ? "*" : l;
2586
2586
  return (l.match(/\$/g) || []).length > 1 ? (I = l.split("$").slice(0, 2).join("$"), C = new URL(`${o}/v1/casino/groups/${s}/${I}/subGroups`)) : C = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((Ua, Oa) => {
2587
- if (C.searchParams.delete("pagination"), C.searchParams.append("expand", "games(vendor)"), C.searchParams.append("fields", "id,name,games"), C.searchParams.append("platform", ai(Xe)), C.searchParams.append("pagination", `games(offset=${_},limit=${w})`), C.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), K && K[V]?.length)
2587
+ if (C.searchParams.delete("pagination"), C.searchParams.append("expand", "games(vendor)"), C.searchParams.append("fields", "id,name,games"), C.searchParams.append("platform", ai(Ke)), C.searchParams.append("pagination", `games(offset=${_},limit=${w})`), C.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), K && K[V]?.length)
2588
2588
  if (ye === "true" || Y === !1 && fe === !1) {
2589
2589
  let P = "";
2590
2590
  a(34, Pe = !0), K[V].forEach((x) => {
@@ -2592,7 +2592,7 @@ function Ai(i, e, a) {
2592
2592
  }), C.searchParams.append("filter", `${P}`);
2593
2593
  } else
2594
2594
  a(34, Pe = !1);
2595
- A && (A[l] ? A[l] && A[l] != "All" && (A[l] == "isNew" || A[l] == "advancedTags(name(hot))" ? (C.searchParams.append("sortedField", `games(${A[l]})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${A[l]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (C.searchParams.append("sortedField", `games(${ie})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${ie})`))), fetch(C, { signal: j }).then((P) => P.json()).then((P) => {
2595
+ R && (R[l] ? R[l] && R[l] != "All" && (R[l] == "isNew" || R[l] == "advancedTags(name(hot))" ? (C.searchParams.append("sortedField", `games(${R[l]})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${R[l]})`)) : ie && ie != "All" && (ie == "advancedTags(name(hot))" || ie == "isNew" ? (C.searchParams.append("sortedField", `games(${ie})`), C.searchParams.append("orderBy", "DES")) : C.searchParams.append("sortedField", `games(${ie})`))), fetch(C, { signal: j }).then((P) => P.json()).then((P) => {
2596
2596
  j.aborted || (a(25, Z = !1), (l.match(/\$/g) || []).length > 1 && (P = P.items.filter((x) => {
2597
2597
  if (x.id == l)
2598
2598
  return x;
@@ -2607,10 +2607,10 @@ function Ai(i, e, a) {
2607
2607
  });
2608
2608
  }, he = (l, _, w) => new Promise((N, j) => {
2609
2609
  f == "true" ? wa(m, u).then((I) => {
2610
- Qe(l, _, w, I).then((C) => {
2610
+ Ze(l, _, w, I).then((C) => {
2611
2611
  N(C);
2612
2612
  });
2613
- }) : Qe(l, _, w, null).then((I) => {
2613
+ }) : Ze(l, _, w, null).then((I) => {
2614
2614
  N(I);
2615
2615
  });
2616
2616
  }), ka = () => {
@@ -2618,7 +2618,7 @@ function Ai(i, e, a) {
2618
2618
  l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
2619
2619
  }, ya = (l, _, w) => {
2620
2620
  l !== "" && (a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, re = !1), Ce = !1, a(30, Q = +_ > +w), he(l, 0, +_).then((N) => {
2621
- a(28, L = N), a(29, M = L.games.items), M && M.forEach((j) => {
2621
+ a(28, A = N), a(29, M = A.games.items), M && M.forEach((j) => {
2622
2622
  j.isFavorite = B(j.id);
2623
2623
  });
2624
2624
  }));
@@ -2626,7 +2626,7 @@ function Ai(i, e, a) {
2626
2626
  if (l.data)
2627
2627
  switch (l.data.type) {
2628
2628
  case "MostPlayedData":
2629
- v == "MOSTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.mostPlayedGames), a(28, L = {
2629
+ v == "MOSTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.mostPlayedGames), a(28, A = {
2630
2630
  id: "MOSTPLAYED",
2631
2631
  name: "Most Played Games",
2632
2632
  games: {
@@ -2639,7 +2639,7 @@ function Ai(i, e, a) {
2639
2639
  })), a(25, Z = !1);
2640
2640
  break;
2641
2641
  case "LastPlayedData":
2642
- v == "LASTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.lastPlayedGames), a(28, L = {
2642
+ v == "LASTPLAYED" && (a(31, J = !1), a(27, Y = !1), a(30, Q = !1), a(29, M = l.data.lastPlayedGames), a(28, A = {
2643
2643
  id: "LASTPLAYED",
2644
2644
  name: "Last Played Games",
2645
2645
  games: {
@@ -2660,13 +2660,13 @@ function Ai(i, e, a) {
2660
2660
  a(31, J = !1), a(32, Ge = !1);
2661
2661
  break;
2662
2662
  case "SearchData":
2663
- a(31, J = !0), a(32, Ge = !1), a(29, M = l.data.searchData.items || []), a(33, re = !0), l.data.receivedFavoriteResults && (R = l.data.receivedFavoriteResults.items), M && M.forEach((_) => {
2663
+ a(31, J = !0), a(32, Ge = !1), a(29, M = l.data.searchData.items || []), a(33, re = !0), l.data.receivedFavoriteResults && (L = l.data.receivedFavoriteResults.items), M && M.forEach((_) => {
2664
2664
  _.isFavorite = B(_.id);
2665
2665
  });
2666
2666
  break;
2667
2667
  case `CategoryData_${v}`:
2668
2668
  a(31, J = !1), a(27, Y = !0), a(1, ve = "false"), a(2, be = "false"), a(33, re = !1), Ce = !1, he(l.data.categoryId, 0, l.data.visiblegames).then((_) => {
2669
- a(28, L = _), a(29, M = L.games.items), a(30, Q = !!(Ue <= l.data.visiblegames && Y)), M && M.forEach((w) => {
2669
+ a(28, A = _), a(29, M = A.games.items), a(30, Q = !!(Ue <= l.data.visiblegames && Y)), M && M.forEach((w) => {
2670
2670
  w.isFavorite = B(w.id);
2671
2671
  });
2672
2672
  });
@@ -2676,11 +2676,11 @@ function Ai(i, e, a) {
2676
2676
  break;
2677
2677
  case "ApplySorter":
2678
2678
  a(0, v = l.data.itemId), ie = l.data.sortBy, he(v, 0, ae).then((_) => {
2679
- a(28, L = _), a(29, M = L.games.items), a(30, Q = !1);
2679
+ a(28, A = _), a(29, M = A.games.items), a(30, Q = !1);
2680
2680
  });
2681
2681
  break;
2682
2682
  case "CategoryUpdate":
2683
- xe(l.data.itemId);
2683
+ Qe(l.data.itemId);
2684
2684
  break;
2685
2685
  case `SetUnfavoredGame${v}`:
2686
2686
  Ga(`${o}/v1/player/${u}/favorites`, m, l.data.id);
@@ -2692,14 +2692,14 @@ function Ai(i, e, a) {
2692
2692
  Se = l.data.session, Fe = l.data.userID, f == "true" && Fe && Fe.length && Se && Se.length > 0 && He(Se, Fe);
2693
2693
  break;
2694
2694
  case "UpdateFavoredList":
2695
- v === "FAVORITES" && qe(l.data.url, l.data.sessionID);
2695
+ v === "FAVORITES" && xe(l.data.url, l.data.sessionID);
2696
2696
  break;
2697
2697
  }
2698
- }, xe = (l) => {
2699
- a(31, J = !1), a(27, Y = Ae === "true"), a(33, re = !1), Ce = !0, a(36, me = !1), a(0, v = l), v !== "MOSTPLAYED" && a(30, Q = !1), H !== "true" && (!R && m && He(m, u), he(v, 0, ae).then((_) => {
2700
- a(28, L = _), L?.games?.items.forEach((w) => {
2698
+ }, Qe = (l) => {
2699
+ a(31, J = !1), a(27, Y = Re === "true"), a(33, re = !1), Ce = !0, a(36, me = !1), a(0, v = l), v !== "MOSTPLAYED" && a(30, Q = !1), H !== "true" && (!L && m && He(m, u), he(v, 0, ae).then((_) => {
2700
+ a(28, A = _), A?.games?.items.forEach((w) => {
2701
2701
  w.isFavorite = B(w.id);
2702
- }), a(29, M = L?.games.items);
2702
+ }), a(29, M = A?.games.items);
2703
2703
  }).finally(
2704
2704
  /*// @TODO: replace this quick fix - when there are only a few category games, the view scrolls to the footer
2705
2705
  if (shownCategoryData?.length < 10 && e.data.origin ==! 'filters') {
@@ -2713,19 +2713,19 @@ function Ai(i, e, a) {
2713
2713
  {
2714
2714
  type: `CategoryData_${v}`,
2715
2715
  categoryId: v,
2716
- visiblegames: Le
2716
+ visiblegames: Ae
2717
2717
  },
2718
2718
  window.location.href
2719
2719
  );
2720
2720
  }
2721
2721
  ));
2722
2722
  }, Sa = () => {
2723
- L && (a(29, M = L.games.items), M.forEach((l) => {
2723
+ A && (a(29, M = A.games.items), M.forEach((l) => {
2724
2724
  l.isFavorite = B(l.id);
2725
2725
  }));
2726
- }, B = (l) => R?.some((_) => _.id === l) ?? !1;
2726
+ }, B = (l) => L?.some((_) => _.id === l) ?? !1;
2727
2727
  let Fa = async (l, _, w) => {
2728
- await qe(l, _), O.includes(w) || O.push(w);
2728
+ await xe(l, _), O.includes(w) || O.push(w);
2729
2729
  let j = {
2730
2730
  method: "POST",
2731
2731
  headers: {
@@ -2736,7 +2736,11 @@ function Ai(i, e, a) {
2736
2736
  body: JSON.stringify({ items: O })
2737
2737
  };
2738
2738
  fetch(l, j).then((I) => I.json()).then(() => {
2739
- window.postMessage({ type: `AddFavoriteThumbnail_${w}` }, window.location.href);
2739
+ window.postMessage({ type: `AddFavoriteThumbnail_${w}` }, window.location.href), window.postMessage({
2740
+ type: "UpdateFavoredList",
2741
+ url: l,
2742
+ sessionID: _
2743
+ });
2740
2744
  }).catch((I) => {
2741
2745
  console.error("Err", I);
2742
2746
  });
@@ -2752,25 +2756,29 @@ function Ai(i, e, a) {
2752
2756
  type: `RemoveFavoriteThumbnail_${w}`
2753
2757
  },
2754
2758
  window.location.href
2755
- ), qe(l, _);
2759
+ ), window.postMessage({
2760
+ type: "UpdateFavoredList",
2761
+ url: l,
2762
+ sessionID: _
2763
+ });
2756
2764
  }), O.includes(w) && (O = O.filter((j) => j != w));
2757
- }, qe = async (l, _) => fetch(l, {
2765
+ }, xe = async (l, _) => fetch(l, {
2758
2766
  method: "GET",
2759
2767
  headers: { "X-SessionID": _ }
2760
2768
  }).then((N) => N.json()).then((N) => {
2761
- R = N.items, le ? (R.forEach((I) => {
2769
+ L = N.items, le ? (L.forEach((I) => {
2762
2770
  O.includes(I.id) || O.push(I.id);
2763
- }), Sa()) : R.forEach((I) => {
2771
+ }), Sa()) : L.forEach((I) => {
2764
2772
  I.isFavorite = B(I.id);
2765
2773
  });
2766
- const j = Ee(R)?.length;
2774
+ const j = Ee(L)?.length;
2767
2775
  v === "FAVORITES" && (window.postMessage({
2768
2776
  type: "UpdateFavoritesCount",
2769
2777
  favoriteGamesLength: j
2770
- }), We(R));
2778
+ }), qe(L));
2771
2779
  }).catch((N) => {
2772
2780
  console.error(N);
2773
- }), We = (l) => {
2781
+ }), qe = (l) => {
2774
2782
  if (!l)
2775
2783
  return;
2776
2784
  let _;
@@ -2778,8 +2786,8 @@ function Ai(i, e, a) {
2778
2786
  w.gameModel && (w.gameModel.isFavorite = !0);
2779
2787
  }), a(42, te.items = Ee(_, te.items), te), a(42, te.name = "Favorites", te), a(25, Z = !1);
2780
2788
  }, Ca = (l) => {
2781
- ae += 1, a(36, me = !0), ae <= Ue && he(l, Ri, ae).then((_) => {
2782
- a(28, L = _), L.games.items.length > M.length && (a(29, M = L.games.items), M.forEach((w) => {
2789
+ ae += 1, a(36, me = !0), ae <= Ue && he(l, Li, ae).then((_) => {
2790
+ a(28, A = _), A.games.items.length > M.length && (a(29, M = A.games.items), M.forEach((w) => {
2783
2791
  w.isFavorite = B(w.id);
2784
2792
  })), a(36, me = !1);
2785
2793
  });
@@ -2790,8 +2798,8 @@ function Ai(i, e, a) {
2790
2798
  let w = "", N = 999999999999, j;
2791
2799
  const I = new Date(Date.now());
2792
2800
  return _.forEach((C, K) => {
2793
- const A = new Date(C.schedules[0].startTime), V = new Date(C.schedules[0].endTime);
2794
- Ne(V).diff(I) < N && (N = Ne(V).diff(I), j = K), Ne(I).isAfter(A) && Ne(I).isBefore(V) && (w = _[j].name);
2801
+ const R = new Date(C.schedules[0].startTime), V = new Date(C.schedules[0].endTime);
2802
+ Ne(V).diff(I) < N && (N = Ne(V).diff(I), j = K), Ne(I).isAfter(R) && Ne(I).isBefore(V) && (w = _[j].name);
2795
2803
  }), w;
2796
2804
  }, $e = (l) => {
2797
2805
  a(30, Q = !1), window.postMessage(
@@ -2814,35 +2822,35 @@ function Ai(i, e, a) {
2814
2822
  H === "false" && u && m && a(39, fe = !1);
2815
2823
  break;
2816
2824
  default:
2817
- xe(v);
2825
+ Qe(v);
2818
2826
  break;
2819
2827
  }
2820
2828
  }, Ea = () => {
2821
2829
  document[Me] ? a(41, Oe = "disconnect") : a(41, Oe = "connect");
2822
2830
  }, Na = () => {
2823
2831
  Ce && ge.forEach((l, _) => {
2824
- l && (l.elems_index = _, Ze.observe(l));
2832
+ l && (l.elems_index = _, Xe.observe(l));
2825
2833
  });
2826
2834
  }, Ia = () => {
2827
2835
  ti(r);
2828
2836
  };
2829
2837
  Xa(() => {
2830
- Ze?.disconnect();
2838
+ Xe?.disconnect();
2831
2839
  }), Za(() => (window.addEventListener("visibilitychange", (l) => Ea()), window.addEventListener("message", Ve, !1), () => {
2832
- window.emMessageBus && Ke && Ke.unsubscribe(), window.removeEventListener("message", Ve), window.removeEventListener("visibilitychange", Ve);
2840
+ window.emMessageBus && Je && Je.unsubscribe(), window.removeEventListener("message", Ve), window.removeEventListener("visibilitychange", Ve);
2833
2841
  }));
2834
2842
  function ja(l) {
2835
2843
  oe[l ? "unshift" : "push"](() => {
2836
2844
  ce = l, a(38, ce);
2837
2845
  });
2838
2846
  }
2839
- const Ra = (l) => $e(L.id);
2840
- function Aa(l, _) {
2847
+ const La = (l) => $e(A.id);
2848
+ function Ra(l, _) {
2841
2849
  oe[l ? "unshift" : "push"](() => {
2842
2850
  ge[_] = l, a(24, ge);
2843
2851
  });
2844
2852
  }
2845
- function La(l) {
2853
+ function Aa(l) {
2846
2854
  oe[l ? "unshift" : "push"](() => {
2847
2855
  ue = l, a(37, ue);
2848
2856
  });
@@ -2863,7 +2871,7 @@ function Ai(i, e, a) {
2863
2871
  });
2864
2872
  }
2865
2873
  return i.$$set = (l) => {
2866
- "endpoint" in l && a(3, o = l.endpoint), "datasource" in l && a(4, s = l.datasource), "lang" in l && a(5, r = l.lang), "session" in l && a(6, m = l.session), "userid" in l && a(7, u = l.userid), "favorites" in l && a(8, f = l.favorites), "clientstyling" in l && a(9, h = l.clientstyling), "clientstylingurl" in l && a(10, p = l.clientstylingurl), "translationurl" in l && a(11, F = l.translationurl), "currency" in l && a(12, E = l.currency), "categoryid" in l && a(0, v = l.categoryid), "showgamename" in l && a(13, g = l.showgamename), "livecasino" in l && a(14, c = l.livecasino), "gamepagemodalurl" in l && a(15, ne = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, U = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, H = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, be = l.addsortingselector), "filterbylogo" in l && a(19, Ye = l.filterbylogo), "casinogamesgridslider" in l && a(20, Je = l.casinogamesgridslider), "fetchviaevent" in l && a(47, le = l.fetchviaevent), "showallpage" in l && a(48, Ie = l.showallpage), "actionevent" in l && a(49, je = l.actionevent), "displayedgamecount" in l && a(50, we = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ke = l.showallbuttongamescount), "mbsource" in l && a(21, Re = l.mbsource), "lobbyscreen" in l && a(52, Ae = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, ye = l.usesinglevendorfilter), "visiblegames" in l && a(53, Le = l.visiblegames);
2874
+ "endpoint" in l && a(3, o = l.endpoint), "datasource" in l && a(4, s = l.datasource), "lang" in l && a(5, r = l.lang), "session" in l && a(6, m = l.session), "userid" in l && a(7, u = l.userid), "favorites" in l && a(8, f = l.favorites), "clientstyling" in l && a(9, h = l.clientstyling), "clientstylingurl" in l && a(10, p = l.clientstylingurl), "translationurl" in l && a(11, F = l.translationurl), "currency" in l && a(12, E = l.currency), "categoryid" in l && a(0, v = l.categoryid), "showgamename" in l && a(13, g = l.showgamename), "livecasino" in l && a(14, c = l.livecasino), "gamepagemodalurl" in l && a(15, ne = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, U = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, H = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, be = l.addsortingselector), "filterbylogo" in l && a(19, We = l.filterbylogo), "casinogamesgridslider" in l && a(20, Ye = l.casinogamesgridslider), "fetchviaevent" in l && a(47, le = l.fetchviaevent), "showallpage" in l && a(48, Ie = l.showallpage), "actionevent" in l && a(49, je = l.actionevent), "displayedgamecount" in l && a(50, we = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ke = l.showallbuttongamescount), "mbsource" in l && a(21, Le = l.mbsource), "lobbyscreen" in l && a(52, Re = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, ye = l.usesinglevendorfilter), "visiblegames" in l && a(53, Ae = l.visiblegames);
2867
2875
  }, i.$$.update = () => {
2868
2876
  i.$$.dirty[0] & /*lang*/
2869
2877
  32 && r && Ia(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
@@ -2876,7 +2884,7 @@ function Ai(i, e, a) {
2876
2884
  2048 && F && ba(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2877
2885
  8389120 && h && q && xa(q, h), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
2878
2886
  8389632 && p && q && Qa(q, p), i.$$.dirty[0] & /*customStylingContainer, mbsource*/
2879
- 10485760 && q && $a(q, `${Re}.Style`);
2887
+ 10485760 && q && $a(q, `${Le}.Style`);
2880
2888
  }, [
2881
2889
  v,
2882
2890
  ve,
@@ -2897,16 +2905,16 @@ function Ai(i, e, a) {
2897
2905
  U,
2898
2906
  b,
2899
2907
  H,
2908
+ We,
2900
2909
  Ye,
2901
- Je,
2902
- Re,
2910
+ Le,
2903
2911
  ye,
2904
2912
  q,
2905
2913
  ge,
2906
2914
  Z,
2907
2915
  Te,
2908
2916
  Y,
2909
- L,
2917
+ A,
2910
2918
  M,
2911
2919
  Q,
2912
2920
  J,
@@ -2922,7 +2930,7 @@ function Ai(i, e, a) {
2922
2930
  Oe,
2923
2931
  te,
2924
2932
  n,
2925
- Xe,
2933
+ Ke,
2926
2934
  Ma,
2927
2935
  $e,
2928
2936
  le,
@@ -2930,24 +2938,24 @@ function Ai(i, e, a) {
2930
2938
  je,
2931
2939
  we,
2932
2940
  ke,
2941
+ Re,
2933
2942
  Ae,
2934
- Le,
2935
2943
  Be,
2936
2944
  ja,
2945
+ La,
2937
2946
  Ra,
2938
2947
  Aa,
2939
- La,
2940
2948
  Ta,
2941
2949
  Pa,
2942
2950
  Da
2943
2951
  ];
2944
2952
  }
2945
- class Li extends qa {
2953
+ class Ai extends qa {
2946
2954
  constructor(e) {
2947
2955
  super(), Wa(
2948
2956
  this,
2949
2957
  e,
2950
- Ai,
2958
+ Ri,
2951
2959
  ji,
2952
2960
  Ya,
2953
2961
  {
@@ -3167,7 +3175,7 @@ class Li extends qa {
3167
3175
  this.$$set({ visiblegames: e }), z();
3168
3176
  }
3169
3177
  }
3170
- Va(Li, { 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: {}, mbsource: {}, lobbyscreen: {}, usesinglevendorfilter: {}, visiblegames: {} }, [], [], !0);
3178
+ Va(Ai, { 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: {}, mbsource: {}, lobbyscreen: {}, usesinglevendorfilter: {}, visiblegames: {} }, [], [], !0);
3171
3179
  export {
3172
- Li as C
3180
+ Ai as C
3173
3181
  };
@@ -15,7 +15,7 @@ var Ie = (i, e, a) => new Promise((n, o) => {
15
15
  m((a = a.apply(i, e)).next());
16
16
  });
17
17
  import { a as Va, $ as qa, S as Wa, i as Ya, f as z, c as Ja, s as Ka, b as Xa, e as C, j as d, l as S, o as pe, p as F, q as Za, I as Qa, r as xa, u as $a, J as je, z as se, A as ei, B as ai, d as K, x as be, m as y, w as Q, E as ii, y as ni, t as P, n as O, C as le, K as wa, h as t, D as ti, G as ae, v as oi, L as ka } from "./CasinoFilter-BPwlHha2.js";
18
- import { h as Ae } from "./CasinoGameThumbnail-CRJt980b.js";
18
+ import { h as Le } from "./CasinoGameThumbnail-CRJt980b.js";
19
19
  function na(i, e) {
20
20
  Va(i, e);
21
21
  }
@@ -392,7 +392,7 @@ function ui(i) {
392
392
  function a(s, r) {
393
393
  return (
394
394
  /*presentFilters*/
395
- s[34] ? Ai : ji
395
+ s[34] ? Li : ji
396
396
  );
397
397
  }
398
398
  let n = a(i), o = n(i);
@@ -2471,7 +2471,7 @@ function ji(i) {
2471
2471
  }
2472
2472
  };
2473
2473
  }
2474
- function Ai(i) {
2474
+ function Li(i) {
2475
2475
  let e, a = (
2476
2476
  /*$_*/
2477
2477
  i[43]("404") + ""
@@ -2493,7 +2493,7 @@ function Ai(i) {
2493
2493
  }
2494
2494
  };
2495
2495
  }
2496
- function Li(i) {
2496
+ function Ai(i) {
2497
2497
  let e;
2498
2498
  function a(s, r) {
2499
2499
  return (
@@ -2527,7 +2527,7 @@ let Ri = 0;
2527
2527
  function Ti(i, e, a) {
2528
2528
  let n;
2529
2529
  Za(i, ii, (l) => a(43, n = l));
2530
- let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: G = "" } = e, { currency: N = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: T = "true" } = e, { integratedgameframedesktop: R = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: q = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: Xe = "" } = e, { casinogamesgridslider: Ze = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Le = "casino" } = e, { actionevent: Re = "CategoryChange" } = e, { displayedgamecount: ke = "10" } = e, { showallbuttongamescount: ye = "10" } = e, { mbsource: Te } = e, { lobbyscreen: Pe = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: De = "10" } = e, Qe, x = !0, Ue = !1, Fe, Ge, X = !0, xe = window.navigator.userAgent, I, M = [], $ = !0, ne = 40, Z = !1, Ce = !1, me = !1, Oe = !1, Be = !0, ue = !1, ce, He, fe, ge = !1, Y, Me = !1, de = new Array(1e4), he = {}, Ve = "", te = "", ze, qe, j, H = [], Ee = new AbortController(), oe = { items: [], count: 0, name: "" };
2530
+ let { endpoint: o = "" } = e, { datasource: s = "" } = e, { lang: r = "" } = e, { session: m = "" } = e, { userid: u = "" } = e, { favorites: f = "" } = e, { clientstyling: h = "" } = e, { clientstylingurl: p = "" } = e, { translationurl: G = "" } = e, { currency: N = "" } = e, { categoryid: v = "" } = e, { showgamename: g = "" } = e, { livecasino: c = "false" } = e, { gamepagemodalurl: T = "true" } = e, { integratedgameframedesktop: R = "false" } = e, { integratedgameframemobile: b = "false" } = e, { casinomygames: q = "false" } = e, { addfilterselector: ve = "false" } = e, { addsortingselector: we = "false" } = e, { filterbylogo: Ke = "" } = e, { casinogamesgridslider: Xe = "false" } = e, { fetchviaevent: re = "false" } = e, { showallpage: Ae = "casino" } = e, { actionevent: Re = "CategoryChange" } = e, { displayedgamecount: ke = "10" } = e, { showallbuttongamescount: ye = "10" } = e, { mbsource: Te } = e, { lobbyscreen: Pe = "true" } = e, { usesinglevendorfilter: Se = "false" } = e, { visiblegames: De = "10" } = e, Ze, x = !0, Ue = !1, Fe, Ge, X = !0, Qe = window.navigator.userAgent, I, M = [], $ = !0, ne = 40, Z = !1, Ce = !1, me = !1, Oe = !1, Be = !0, ue = !1, ce, He, fe, ge = !1, Y, Me = !1, de = new Array(1e4), he = {}, Ve = "", te = "", ze, qe, j, H = [], Ee = new AbortController(), oe = { items: [], count: 0, name: "" };
2531
2531
  const ya = () => {
2532
2532
  fetch(G).then((_) => _.json()).then((_) => {
2533
2533
  Object.keys(_).forEach((w) => {
@@ -2553,7 +2553,7 @@ function Ti(i, e, a) {
2553
2553
  method: "GET",
2554
2554
  headers: { "X-SessionID": l }
2555
2555
  };
2556
- return new Promise((A, L) => {
2556
+ return new Promise((L, A) => {
2557
2557
  fetch(w, E).then((k) => k.json()).then((k) => {
2558
2558
  var D;
2559
2559
  if (a(25, x = !1), j = [], k) {
@@ -2567,19 +2567,19 @@ function Ti(i, e, a) {
2567
2567
  });
2568
2568
  } else
2569
2569
  j = [];
2570
- v === "FAVORITES" && Ke(j), M.forEach((B) => {
2570
+ v === "FAVORITES" && Je(j), M.forEach((B) => {
2571
2571
  B.isFavorite = V(B.id);
2572
2572
  });
2573
2573
  let J = M;
2574
- a(29, M = void 0), a(29, M = J), A(j);
2574
+ a(29, M = void 0), a(29, M = J), L(j);
2575
2575
  }).catch((k) => {
2576
- console.error(k), L(k);
2576
+ console.error(k), A(k);
2577
2577
  });
2578
2578
  });
2579
2579
  }, Sa = (l, _) => new Promise((w, E) => {
2580
2580
  if (l && _) {
2581
- let A = `${o}/v1/player/${_}/favorites/`;
2582
- fetch(A, {
2581
+ let L = `${o}/v1/player/${_}/favorites/`;
2582
+ fetch(L, {
2583
2583
  method: "GET",
2584
2584
  headers: { "X-SessionID": l }
2585
2585
  }).then((k) => k.json()).then((k) => {
@@ -2595,21 +2595,21 @@ function Ti(i, e, a) {
2595
2595
  });
2596
2596
  } else
2597
2597
  j = [];
2598
- v === "FAVORITES" && Ke(j), w(j);
2598
+ v === "FAVORITES" && Je(j), w(j);
2599
2599
  }).catch((k) => {
2600
2600
  console.error(k), E(k);
2601
2601
  });
2602
2602
  } else
2603
2603
  w([]);
2604
- }), $e = (l, _, w, E) => {
2604
+ }), xe = (l, _, w, E) => {
2605
2605
  Ee && Ee.abort(), Ee = new AbortController();
2606
- const A = Ee.signal;
2606
+ const L = Ee.signal;
2607
2607
  a(25, x = !0);
2608
- let L = "", k = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), D = JSON.parse(localStorage.getItem("vendorSortingBy"));
2608
+ let A = "", k = "", J = JSON.parse(localStorage.getItem("vendorFiltersByCategory")), D = JSON.parse(localStorage.getItem("vendorSortingBy"));
2609
2609
  const B = Se === "true" ? "*" : l;
2610
- return (l.match(/\$/g) || []).length > 1 ? (L = l.split("$").slice(0, 2).join("$"), k = new URL(`${o}/v1/casino/groups/${s}/${L}/subGroups`)) : k = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((W, Ha) => {
2610
+ return (l.match(/\$/g) || []).length > 1 ? (A = l.split("$").slice(0, 2).join("$"), k = new URL(`${o}/v1/casino/groups/${s}/${A}/subGroups`)) : k = new URL(`${o}/v1/casino/groups/${s}/${l}`), new Promise((W, Ha) => {
2611
2611
  var ia;
2612
- if (k.searchParams.delete("pagination"), k.searchParams.append("expand", "games(vendor)"), k.searchParams.append("fields", "id,name,games"), k.searchParams.append("platform", ni(xe)), k.searchParams.append("pagination", `games(offset=${_},limit=${w})`), k.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && ((ia = J[B]) != null && ia.length))
2612
+ if (k.searchParams.delete("pagination"), k.searchParams.append("expand", "games(vendor)"), k.searchParams.append("fields", "id,name,games"), k.searchParams.append("platform", ni(Qe)), k.searchParams.append("pagination", `games(offset=${_},limit=${w})`), k.searchParams.append("language", r), window.postMessage({ type: "CategoryVendors", categoryid: l }, window.location.href), J && ((ia = J[B]) != null && ia.length))
2613
2613
  if (Se === "true" || X === !1 && ge === !1) {
2614
2614
  let U = "";
2615
2615
  a(34, Oe = !0), J[B].forEach((ee) => {
@@ -2617,8 +2617,8 @@ function Ti(i, e, a) {
2617
2617
  }), k.searchParams.append("filter", `${U}`);
2618
2618
  } else
2619
2619
  a(34, Oe = !1);
2620
- D && (D[l] ? D[l] && D[l] != "All" && (D[l] == "isNew" || D[l] == "advancedTags(name(hot))" ? (k.searchParams.append("sortedField", `games(${D[l]})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${D[l]})`)) : te && te != "All" && (te == "advancedTags(name(hot))" || te == "isNew" ? (k.searchParams.append("sortedField", `games(${te})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${te})`))), fetch(k, { signal: A }).then((U) => U.json()).then((U) => {
2621
- A.aborted || (a(25, x = !1), (l.match(/\$/g) || []).length > 1 && (U = U.items.filter((ee) => {
2620
+ D && (D[l] ? D[l] && D[l] != "All" && (D[l] == "isNew" || D[l] == "advancedTags(name(hot))" ? (k.searchParams.append("sortedField", `games(${D[l]})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${D[l]})`)) : te && te != "All" && (te == "advancedTags(name(hot))" || te == "isNew" ? (k.searchParams.append("sortedField", `games(${te})`), k.searchParams.append("orderBy", "DES")) : k.searchParams.append("sortedField", `games(${te})`))), fetch(k, { signal: L }).then((U) => U.json()).then((U) => {
2621
+ L.aborted || (a(25, x = !1), (l.match(/\$/g) || []).length > 1 && (U = U.items.filter((ee) => {
2622
2622
  if (ee.id == l)
2623
2623
  return ee;
2624
2624
  })[0]), a(54, qe = !0), a(26, Ue = !1), He = U.games.total, E && U.games.items.forEach((ee) => {
@@ -2630,21 +2630,21 @@ function Ti(i, e, a) {
2630
2630
  Fa();
2631
2631
  });
2632
2632
  });
2633
- }, _e = (l, _, w) => new Promise((E, A) => {
2634
- f == "true" ? Sa(m, u).then((L) => {
2635
- $e(l, _, w, L).then((k) => {
2633
+ }, _e = (l, _, w) => new Promise((E, L) => {
2634
+ f == "true" ? Sa(m, u).then((A) => {
2635
+ xe(l, _, w, A).then((k) => {
2636
2636
  E(k);
2637
2637
  });
2638
- }) : $e(l, _, w, null).then((L) => {
2639
- E(L);
2638
+ }) : xe(l, _, w, null).then((A) => {
2639
+ E(A);
2640
2640
  });
2641
2641
  }), Fa = () => {
2642
2642
  const l = Y.getRootNode().host;
2643
2643
  l.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: l } }));
2644
2644
  }, Ga = (l, _, w) => {
2645
2645
  l !== "" && (a(31, Z = !1), a(27, X = !0), a(1, ve = "false"), a(2, we = "false"), a(33, me = !1), Me = !1, a(30, $ = +_ > +w), _e(l, 0, +_).then((E) => {
2646
- a(28, I = E), a(29, M = I.games.items), M && M.forEach((A) => {
2647
- A.isFavorite = V(A.id);
2646
+ a(28, I = E), a(29, M = I.games.items), M && M.forEach((L) => {
2647
+ L.isFavorite = V(L.id);
2648
2648
  });
2649
2649
  }));
2650
2650
  }, Ye = (l) => {
@@ -2705,7 +2705,7 @@ function Ti(i, e, a) {
2705
2705
  });
2706
2706
  break;
2707
2707
  case "CategoryUpdate":
2708
- ea(l.data.itemId);
2708
+ $e(l.data.itemId);
2709
2709
  break;
2710
2710
  case `SetUnfavoredGame${v}`:
2711
2711
  za(`${o}/v1/player/${u}/favorites`, m, l.data.id);
@@ -2717,10 +2717,10 @@ function Ti(i, e, a) {
2717
2717
  Fe = l.data.session, Ge = l.data.userID, f == "true" && Ge && Ge.length && Fe && Fe.length > 0 && We(Fe, Ge);
2718
2718
  break;
2719
2719
  case "UpdateFavoredList":
2720
- v === "FAVORITES" && Je(l.data.url, l.data.sessionID);
2720
+ v === "FAVORITES" && ea(l.data.url, l.data.sessionID);
2721
2721
  break;
2722
2722
  }
2723
- }, ea = (l) => {
2723
+ }, $e = (l) => {
2724
2724
  a(31, Z = !1), a(27, X = Pe === "true"), a(33, me = !1), Me = !0, a(36, ue = !1), a(0, v = l), v !== "MOSTPLAYED" && a(30, $ = !1), q !== "true" && (!j && m && We(m, u), _e(v, 0, ne).then((_) => {
2725
2725
  var w;
2726
2726
  a(28, I = _), (w = I == null ? void 0 : I.games) == null || w.items.forEach((E) => {
@@ -2754,8 +2754,8 @@ function Ti(i, e, a) {
2754
2754
  return (_ = j == null ? void 0 : j.some((w) => w.id === l)) != null ? _ : !1;
2755
2755
  };
2756
2756
  let Ma = (l, _, w) => Ie(this, null, function* () {
2757
- yield Je(l, _), H.includes(w) || H.push(w);
2758
- let A = {
2757
+ yield ea(l, _), H.includes(w) || H.push(w);
2758
+ let L = {
2759
2759
  method: "POST",
2760
2760
  headers: {
2761
2761
  "X-SessionID": _,
@@ -2764,10 +2764,14 @@ function Ti(i, e, a) {
2764
2764
  },
2765
2765
  body: JSON.stringify({ items: H })
2766
2766
  };
2767
- fetch(l, A).then((L) => L.json()).then(() => {
2768
- window.postMessage({ type: `AddFavoriteThumbnail_${w}` }, window.location.href);
2769
- }).catch((L) => {
2770
- console.error("Err", L);
2767
+ fetch(l, L).then((A) => A.json()).then(() => {
2768
+ window.postMessage({ type: `AddFavoriteThumbnail_${w}` }, window.location.href), window.postMessage({
2769
+ type: "UpdateFavoredList",
2770
+ url: l,
2771
+ sessionID: _
2772
+ });
2773
+ }).catch((A) => {
2774
+ console.error("Err", A);
2771
2775
  });
2772
2776
  });
2773
2777
  const za = (l, _, w) => {
@@ -2775,34 +2779,38 @@ function Ti(i, e, a) {
2775
2779
  method: "DELETE",
2776
2780
  headers: { "X-SessionID": _ }
2777
2781
  };
2778
- fetch(`${l}/${w}`, E).then((A) => A.json()).then(() => {
2782
+ fetch(`${l}/${w}`, E).then((L) => L.json()).then(() => {
2779
2783
  window.postMessage(
2780
2784
  {
2781
2785
  type: `RemoveFavoriteThumbnail_${w}`
2782
2786
  },
2783
2787
  window.location.href
2784
- ), Je(l, _);
2785
- }), H.includes(w) && (H = H.filter((A) => A != w));
2786
- }, Je = (l, _) => Ie(this, null, function* () {
2788
+ ), window.postMessage({
2789
+ type: "UpdateFavoredList",
2790
+ url: l,
2791
+ sessionID: _
2792
+ });
2793
+ }), H.includes(w) && (H = H.filter((L) => L != w));
2794
+ }, ea = (l, _) => Ie(this, null, function* () {
2787
2795
  return fetch(l, {
2788
2796
  method: "GET",
2789
2797
  headers: { "X-SessionID": _ }
2790
2798
  }).then((E) => E.json()).then((E) => {
2791
- var L;
2799
+ var A;
2792
2800
  j = E.items, re ? (j.forEach((k) => {
2793
2801
  H.includes(k.id) || H.push(k.id);
2794
2802
  }), Ca()) : j.forEach((k) => {
2795
2803
  k.isFavorite = V(k.id);
2796
2804
  });
2797
- const A = (L = je(j)) == null ? void 0 : L.length;
2805
+ const L = (A = je(j)) == null ? void 0 : A.length;
2798
2806
  v === "FAVORITES" && (window.postMessage({
2799
2807
  type: "UpdateFavoritesCount",
2800
- favoriteGamesLength: A
2801
- }), Ke(j));
2808
+ favoriteGamesLength: L
2809
+ }), Je(j));
2802
2810
  }).catch((E) => {
2803
2811
  console.error(E);
2804
2812
  });
2805
- }), Ke = (l) => {
2813
+ }), Je = (l) => {
2806
2814
  if (!l)
2807
2815
  return;
2808
2816
  let _;
@@ -2819,18 +2827,18 @@ function Ti(i, e, a) {
2819
2827
  const _ = l != null ? l : [];
2820
2828
  if ((_ == null ? void 0 : _.length) === 0)
2821
2829
  return "";
2822
- let w = "", E = 999999999999, A;
2823
- const L = new Date(Date.now());
2830
+ let w = "", E = 999999999999, L;
2831
+ const A = new Date(Date.now());
2824
2832
  return _.forEach((k, J) => {
2825
2833
  const D = new Date(k.schedules[0].startTime), B = new Date(k.schedules[0].endTime);
2826
- Ae(B).diff(L) < E && (E = Ae(B).diff(L), A = J), Ae(L).isAfter(D) && Ae(L).isBefore(B) && (w = _[A].name);
2834
+ Le(B).diff(A) < E && (E = Le(B).diff(A), L = J), Le(A).isAfter(D) && Le(A).isBefore(B) && (w = _[L].name);
2827
2835
  }), w;
2828
2836
  }, aa = (l) => {
2829
2837
  a(30, $ = !1), window.postMessage(
2830
2838
  {
2831
2839
  type: `${Re}`,
2832
2840
  itemId: l,
2833
- showallpage: Le
2841
+ showallpage: Ae
2834
2842
  },
2835
2843
  window.location.href
2836
2844
  );
@@ -2846,22 +2854,22 @@ function Ti(i, e, a) {
2846
2854
  q === "false" && u && m && a(39, ge = !1);
2847
2855
  break;
2848
2856
  default:
2849
- ea(v);
2857
+ $e(v);
2850
2858
  break;
2851
2859
  }
2852
2860
  }, ja = () => {
2853
2861
  document[ze] ? a(41, Ve = "disconnect") : a(41, Ve = "connect");
2854
- }, Aa = () => {
2862
+ }, La = () => {
2855
2863
  Me && de.forEach((l, _) => {
2856
2864
  l && (l.elems_index = _, Ne.observe(l));
2857
2865
  });
2858
- }, La = () => {
2866
+ }, Aa = () => {
2859
2867
  si(r);
2860
2868
  };
2861
2869
  Qa(() => {
2862
2870
  Ne == null || Ne.disconnect();
2863
2871
  }), xa(() => (window.addEventListener("visibilitychange", (l) => ja()), window.addEventListener("message", Ye, !1), () => {
2864
- window.emMessageBus && Qe && Qe.unsubscribe(), window.removeEventListener("message", Ye), window.removeEventListener("visibilitychange", Ye);
2872
+ window.emMessageBus && Ze && Ze.unsubscribe(), window.removeEventListener("message", Ye), window.removeEventListener("visibilitychange", Ye);
2865
2873
  }));
2866
2874
  function Ra(l) {
2867
2875
  se[l ? "unshift" : "push"](() => {
@@ -2895,15 +2903,15 @@ function Ti(i, e, a) {
2895
2903
  });
2896
2904
  }
2897
2905
  return i.$$set = (l) => {
2898
- "endpoint" in l && a(3, o = l.endpoint), "datasource" in l && a(4, s = l.datasource), "lang" in l && a(5, r = l.lang), "session" in l && a(6, m = l.session), "userid" in l && a(7, u = l.userid), "favorites" in l && a(8, f = l.favorites), "clientstyling" in l && a(9, h = l.clientstyling), "clientstylingurl" in l && a(10, p = l.clientstylingurl), "translationurl" in l && a(11, G = l.translationurl), "currency" in l && a(12, N = l.currency), "categoryid" in l && a(0, v = l.categoryid), "showgamename" in l && a(13, g = l.showgamename), "livecasino" in l && a(14, c = l.livecasino), "gamepagemodalurl" in l && a(15, T = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, R = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, q = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, we = l.addsortingselector), "filterbylogo" in l && a(19, Xe = l.filterbylogo), "casinogamesgridslider" in l && a(20, Ze = l.casinogamesgridslider), "fetchviaevent" in l && a(47, re = l.fetchviaevent), "showallpage" in l && a(48, Le = l.showallpage), "actionevent" in l && a(49, Re = l.actionevent), "displayedgamecount" in l && a(50, ke = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ye = l.showallbuttongamescount), "mbsource" in l && a(21, Te = l.mbsource), "lobbyscreen" in l && a(52, Pe = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Se = l.usesinglevendorfilter), "visiblegames" in l && a(53, De = l.visiblegames);
2906
+ "endpoint" in l && a(3, o = l.endpoint), "datasource" in l && a(4, s = l.datasource), "lang" in l && a(5, r = l.lang), "session" in l && a(6, m = l.session), "userid" in l && a(7, u = l.userid), "favorites" in l && a(8, f = l.favorites), "clientstyling" in l && a(9, h = l.clientstyling), "clientstylingurl" in l && a(10, p = l.clientstylingurl), "translationurl" in l && a(11, G = l.translationurl), "currency" in l && a(12, N = l.currency), "categoryid" in l && a(0, v = l.categoryid), "showgamename" in l && a(13, g = l.showgamename), "livecasino" in l && a(14, c = l.livecasino), "gamepagemodalurl" in l && a(15, T = l.gamepagemodalurl), "integratedgameframedesktop" in l && a(16, R = l.integratedgameframedesktop), "integratedgameframemobile" in l && a(17, b = l.integratedgameframemobile), "casinomygames" in l && a(18, q = l.casinomygames), "addfilterselector" in l && a(1, ve = l.addfilterselector), "addsortingselector" in l && a(2, we = l.addsortingselector), "filterbylogo" in l && a(19, Ke = l.filterbylogo), "casinogamesgridslider" in l && a(20, Xe = l.casinogamesgridslider), "fetchviaevent" in l && a(47, re = l.fetchviaevent), "showallpage" in l && a(48, Ae = l.showallpage), "actionevent" in l && a(49, Re = l.actionevent), "displayedgamecount" in l && a(50, ke = l.displayedgamecount), "showallbuttongamescount" in l && a(51, ye = l.showallbuttongamescount), "mbsource" in l && a(21, Te = l.mbsource), "lobbyscreen" in l && a(52, Pe = l.lobbyscreen), "usesinglevendorfilter" in l && a(22, Se = l.usesinglevendorfilter), "visiblegames" in l && a(53, De = l.visiblegames);
2899
2907
  }, i.$$.update = () => {
2900
2908
  i.$$.dirty[0] & /*lang*/
2901
- 32 && r && La(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
2909
+ 32 && r && Aa(), i.$$.dirty[0] & /*endpoint, lang, categoryid, datasource*/
2902
2910
  57 | i.$$.dirty[1] & /*fetchviaevent, displayedgamecount, showallbuttongamescount*/
2903
2911
  1638400 && (re === "false" || re === "") && o && r && v && s && ke && ye && Ga(v, ke, ye), i.$$.dirty[0] & /*favorites, endpoint, session, userid*/
2904
2912
  456 && f === "true" && o && m && u && We(m, u), i.$$.dirty[0] & /*thumbnailContainer*/
2905
2913
  16777216 | i.$$.dirty[1] & /*dataloaded*/
2906
- 8388608 && qe && de && Aa(), i.$$.dirty[0] & /*lang, categoryid*/
2914
+ 8388608 && qe && de && La(), i.$$.dirty[0] & /*lang, categoryid*/
2907
2915
  33 && r && v && Ia(), i.$$.dirty[0] & /*translationurl*/
2908
2916
  2048 && G && ya(), i.$$.dirty[0] & /*clientstyling, customStylingContainer*/
2909
2917
  8389120 && h && Y && ei(Y, h), i.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
@@ -2929,8 +2937,8 @@ function Ti(i, e, a) {
2929
2937
  R,
2930
2938
  b,
2931
2939
  q,
2940
+ Ke,
2932
2941
  Xe,
2933
- Ze,
2934
2942
  Te,
2935
2943
  Se,
2936
2944
  Y,
@@ -2954,11 +2962,11 @@ function Ti(i, e, a) {
2954
2962
  Ve,
2955
2963
  oe,
2956
2964
  n,
2957
- xe,
2965
+ Qe,
2958
2966
  Na,
2959
2967
  aa,
2960
2968
  re,
2961
- Le,
2969
+ Ae,
2962
2970
  Re,
2963
2971
  ke,
2964
2972
  ye,
@@ -2980,7 +2988,7 @@ class Pi extends Wa {
2980
2988
  this,
2981
2989
  e,
2982
2990
  Ti,
2983
- Li,
2991
+ Ai,
2984
2992
  Ka,
2985
2993
  {
2986
2994
  endpoint: 3,
@@ -1 +1 @@
1
- "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoGamesCategorySection-Dm94_v6W.cjs")).then(({default:t})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",t.element)})}
1
+ "use strict";if(typeof window!="undefined"){let n=function(t){return function(...s){try{return t.apply(this,s)}catch(e){if(e instanceof DOMException&&e.message.includes("has already been used with this registry")||e.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw e}}};customElements.define=n(customElements.define),Promise.resolve().then(()=>require("../components/CasinoGamesCategorySection-2ovoa6CH.cjs")).then(({default:t})=>{!customElements.get("casino-games-category-section")&&customElements.define("casino-games-category-section",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoGamesCategorySection--M4HOJTs.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoGamesCategorySection-pSYosM4o.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as n } from "../components/CasinoGamesCategorySection-BrUOaeWX.js";
1
+ import { C as n } from "../components/CasinoGamesCategorySection-CECXRUvw.js";
2
2
  function a(t) {
3
3
  return function(...s) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-games-category-section",
3
- "version": "1.74.2",
3
+ "version": "1.74.4",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-games-category-section.cjs",
6
6
  "module": "esnext/casino-games-category-section.js",