@everymatrix/casino-page 1.87.20 → 1.87.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (20) hide show
  1. package/components/{CasinoPage-B318-b4u.js → CasinoPage-BNU69s1m.js} +2 -2
  2. package/components/{CasinoPage-Dn5FDtEd.js → CasinoPage-BRSRsp5F.js} +2 -2
  3. package/components/{CasinoPage-PNTkRhpk.cjs → CasinoPage-D-FENg4m.cjs} +1 -1
  4. package/components/CasinoWinners-5S4Rqt23.cjs +1 -0
  5. package/components/{CasinoWinners-BHA-xtsz.js → CasinoWinners-C0aKkeDL.js} +1 -1
  6. package/components/{CasinoWinners-DtlRi9Ya.js → CasinoWinners-DdSjlEaj.js} +1 -1
  7. package/es2015/casino-page.cjs +1 -1
  8. package/es2015/casino-page.js +1 -1
  9. package/esnext/casino-page.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/{casino-play-random-game-RGUpuZPq.js → casino-play-random-game-CSy8nXT0.js} +1 -1
  12. package/stencil/{casino-play-random-game-vSlhv2-5.cjs → casino-play-random-game-PuRF3mXV.cjs} +1 -1
  13. package/stencil/{casino-play-random-game-Cl9JcOrj.js → casino-play-random-game-rhXCh2EW.js} +1 -1
  14. package/stencil/{casino-play-random-game_2-CO2NNXfY.js → casino-play-random-game_2-BBgMV3ws.js} +2 -2
  15. package/stencil/{casino-play-random-game_2-DLUn9wKp.cjs → casino-play-random-game_2-CBAgufN5.cjs} +3 -3
  16. package/stencil/{casino-play-random-game_2-DDUIsLoS.js → casino-play-random-game_2-CZQxP9GA.js} +2 -2
  17. package/stencil/{index-328e660d-B-CyVkeM.cjs → index-328e660d-BLQrzwBv.cjs} +1 -1
  18. package/stencil/{index-328e660d-CRkYzdMU.js → index-328e660d-Belout2l.js} +1 -1
  19. package/stencil/{index-328e660d-BObr7mUW.js → index-328e660d-BqUO7ccV.js} +1 -1
  20. package/components/CasinoWinners-DWoEFnVn.cjs +0 -1
@@ -16,7 +16,7 @@ var re = (a, e, i) => new Promise((s, r) => {
16
16
  });
17
17
  import { $ as Ke, O as Bt, a as Nt, S as Ot, i as Tt, f as m, s as Dt, K as Rt, b as zt, d as w, t as J, c as Y, g as be, e as ye, h as v, j as k, k as At, l as bt, W as Wt, o as qt, n as ee, r as z, E as t, p as C, B as G, V as Qi, P as Fe, C as Ve, T as _e, m as Ge, q as Ie, R as Zi, v as Xi, Y as Ut, _ as Yt, M as Ht, G as xi, A as V, a0 as Jt, u as Vt, x as Kt, y as Qt, z as Zt, a1 as Xt, L as xt, H as $t, I as ea, J as ia } from "./CasinoCalendar-BNbVJJdG.js";
18
18
  import "./CasinoFavoritesSection-C-WTpxpq.js";
19
- import "../stencil/casino-play-random-game-Cl9JcOrj.js";
19
+ import "../stencil/casino-play-random-game-rhXCh2EW.js";
20
20
  import "../stencil/ui-skeleton-D_tu1FGi.js";
21
21
  import "./CasinoGamesCategorySection-B2CXUJ-V.js";
22
22
  function ta({ withLocale: a, translations: e }) {
@@ -302,7 +302,7 @@ if (typeof window != "undefined") {
302
302
  }
303
303
  };
304
304
  };
305
- customElements.define = a(customElements.define), import("./CasinoWinners-DtlRi9Ya.js").then(({ default: e }) => {
305
+ customElements.define = a(customElements.define), import("./CasinoWinners-DdSjlEaj.js").then(({ default: e }) => {
306
306
  !customElements.get("casino-winners") && customElements.define("casino-winners", e.element);
307
307
  });
308
308
  }
@@ -1,6 +1,6 @@
1
1
  import { $ as Ve, O as Gt, a as It, K as Nt, S as Ot, i as Tt, s as Dt, f as m, b as Rt, d as w, t as Y, c as U, g as de, e as he, h as v, j as k, k as zt, l as ht, W as At, o as Wt, n as $, r as R, E as t, p as C, B as F, V as Ki, P as Pe, C as Je, T as be, m as Fe, q as Be, R as Qi, v as Zi, Y as qt, M as Ut, G as Xi, A as H, _ as Yt, u as Ht, x as Jt, y as Vt, z as Kt, a0 as Qt, a1 as Zt, L as Xt, H as xt, I as $t, J as ea } from "./CasinoCalendar-DAKxxPPx.js";
2
2
  import "./CasinoFavoritesSection-CZ-q50oD.js";
3
- import "../stencil/casino-play-random-game-RGUpuZPq.js";
3
+ import "../stencil/casino-play-random-game-CSy8nXT0.js";
4
4
  import "../stencil/ui-skeleton-DgZQnowa.js";
5
5
  import "./CasinoGamesCategorySection-B8IjpDwj.js";
6
6
  function ia({ withLocale: a, translations: e }) {
@@ -286,7 +286,7 @@ if (typeof window < "u") {
286
286
  }
287
287
  };
288
288
  };
289
- customElements.define = a(customElements.define), import("./CasinoWinners-BHA-xtsz.js").then(({ default: e }) => {
289
+ customElements.define = a(customElements.define), import("./CasinoWinners-C0aKkeDL.js").then(({ default: e }) => {
290
290
  !customElements.get("casino-winners") && customElements.define("casino-winners", e.element);
291
291
  });
292
292
  }
@@ -1 +1 @@
1
- "use strict";var Z=(s,t,a)=>new Promise((n,i)=>{var u=l=>{try{m(a.next(l))}catch(_){i(_)}},r=l=>{try{m(a.throw(l))}catch(_){i(_)}},m=l=>l.done?n(l.value):Promise.resolve(l.value).then(u,r);m((a=a.apply(s,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-4k288rHh.cjs");require("./CasinoFavoritesSection-DYzKNVZJ.cjs");require("../stencil/casino-play-random-game-vSlhv2-5.cjs");require("../stencil/ui-skeleton-BWEKzqTN.cjs");require("./CasinoGamesCategorySection-DCjn0aiz.cjs");function ua({withLocale:s,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(s))})}function Ft(s,t){e.addMessages(s,t)}function _a(s){e.$locale.set(s)}const Gt={en:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear",loadMore:"Load more categories"},"zh-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",noGamesPlayed:"你沒有玩過遊戲!",filters:"過濾器",clear:"清除",loadMore:"Load more categories"},de:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",noGamesPlayed:"Sie haben keine Spiele gespielt!",filters:"Filter",clear:"Zurücksetzen",loadMore:"Load more categories"},it:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",noGamesPlayed:"Non hai giochi giocati!",filters:"Filtri",clear:"Azzera",loadMore:"Load more categories"},fr:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",noGamesPlayed:"Vous n'avez aucune partie jouée",filters:"Filtres",clear:"Clair",loadMore:"Load more categories"},es:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado ningún juego! Juega Ya",filters:"Filtros",clear:"Borrar",loadMore:"Load more categories"},tr:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Arama",loading:"Yükleniyor",searchMobile:"Arama",break:"Oyuna 1 gün ara verin",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun",searchGames:"Casino oyunları ara",noGamesPlayed:"Oynadığın oyun yok!",filters:"Filtreler",clear:"Temizle",loadMore:"Load more categories"},ru:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",noGamesPlayed:"У вас нет сыгранных игр!",filters:"Фильтры",clear:"Прозрачный",loadMore:"Load more categories"},ro:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",noGamesPlayed:"Nu ai jucat niciun joc!",filters:"Filtrare",clear:"Sterge",loadMore:"Load more categories"},hr:{500:"500 Error - Internal Server Error",search:"Pretraga",loading:"Učitavanje",searchMobile:"Pretraga",break:"Uzmi 1 dan pauze od igranja",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",searchGames:"Pretražite casino igre",noGamesPlayed:"Nemate odigranih igara!",filters:"Filteri",clear:"Čisto",loadMore:"Load more categories"},hu:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",noGamesPlayed:"Nincsenek lejátszott játékok!",filters:"Szűrők",clear:"Visszaállítás",loadMore:"Load more categories"},pl:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",noGamesPlayed:"Nie grałeś w żadne gry!",filters:"Filtry",clear:"Przywróć",loadMore:"Load more categories"},pt:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",noGamesPlayed:"Você não experimentou nenhum jogo!",filters:"Filtros",clear:"Limpar",loadMore:"Load more categories"},sl:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Ponastavitev",loadMore:"Load more categories"},sr:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Resetuj",loadMore:"Load more categories"},"pt-br":{500:"Erro 500 – Erro interno do servidor",search:"Procurar",loading:"Carregando",searchMobile:"Procurar",break:"Faça uma pausa a de jogo por um día",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas",searchGames:"Pesquise jogos de cassino",noGamesPlayed:"Você ainda não jogou!",Search:"Procurar",Loading:"Carregando",SearchMobile:"Procurar",SearchGames:"Pesquise jogos de cassino",filters:"Filtros",clear:"Eliminar",loadMore:"Load more categories"},"es-mx":{500:"500 Error - Error interno del servidor",search:"Buscar",loading:"Cargando",searchMobile:"Buscar",break:"Tomar un descanso de un día de juego",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado aún!",Search:"Buscar",Loading:"Cargando",SearchMobile:"Buscar",SearchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Eliminar",loadMore:"Load more categories"},"en-us":{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear",loadMore:"Load more categories"}};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("./CasinoRandomGame-DRGWOXO6.cjs")).then(({default:t})=>{!customElements.get("casino-random-game")&&customElements.define("casino-random-game",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("./CasinoWinners-DWoEFnVn.cjs")).then(({default:t})=>{!customElements.get("casino-winners")&&customElements.define("casino-winners",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("./CasinoJackpotBanner-DRtiH_Mn.cjs")).then(({default:t})=>{!customElements.get("casino-jackpot-banner")&&customElements.define("casino-jackpot-banner",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("./CasinoCollectionsProviders-OZw09qnR.cjs")).then(({default:t})=>{!customElements.get("casino-collections-providers")&&customElements.define("casino-collections-providers",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("./CasinoMyGames-Bqyyy2Me.cjs")).then(({default:t})=>{!customElements.get("casino-my-games")&&customElements.define("casino-my-games",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("./CasinoSearch-D14Ak2E9.cjs")).then(({default:t})=>{!customElements.get("casino-search")&&customElements.define("casino-search",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("./CasinoCalendar-4k288rHh.cjs")).then(t=>t.CasinoCalendar_ce).then(({default:t})=>{!customElements.get("casino-calendar")&&customElements.define("casino-calendar",t.element)})}function ca(s){e.append_styles(s,"svelte-1xdd8i1","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.NotLoadedCategory{display:none !important}.CategoriesFiltersBar casino-filter{display:flex;justify-self:end;min-height:48px}.CasinoGamesCategorySectionWrapper{min-height:228px}.CasinoCollectionsProvidersWrapper{margin-top:24px;min-height:330px}.CategoriesLobby{margin:0 auto;max-width:1300px;position:relative;display:flex;flex-direction:column;gap:10px}.CasinoWinnersWrapper{background:transparent;width:100%;min-height:320px}.CasinoJackpotBannerWrapper{min-height:116px}.CasinoCalendarWrapper{min-height:268px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:280px;height:48px;line-height:18px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer,.JackpotsContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer,.JackpotsContainer{padding:0 2.4%}}.SearchLoading{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));font-size:14px;margin-top:16px;text-align:center}.LoadMoreCategories{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));display:flex;justify-content:center}.LoadMoreCategories p{border:1px solid var(--emw--button-border-color, var(--emw--color-white, #FFFFFF));padding:10px;border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}")}function It(s,t,a){const n=s.slice();return n[148]=t[a],n[149]=t,n[150]=a,n}const da=s=>({}),Bt=s=>({class:e.isMobile(s[95])?"":"JackpotsContainer"});function fa(s){let t,a,n,i,u,r,m,l,_,f,y,C=s[14]==="true"&&Dt(s),v=s[24]=="true"&&X==!1&&!s[90]&&Nt(s),c=(+s[77]==0||!s[89])&&s[25]=="true"&&X==!1&&!s[90]&&Ot(s);const D=[ba,ha],S=[];function N(h,k){return h[84]?0:h[90]?-1:1}~(l=N(s))&&(_=S[l]=D[l](s));let E=s[86]&&s[19]=="true"&&Jt(s);return{c(){t=e.element("section"),a=e.element("div"),n=e.element("casino-search"),i=e.space(),C&&C.c(),u=e.space(),v&&v.c(),r=e.space(),c&&c.c(),m=e.space(),_&&_.c(),f=e.space(),E&&E.c(),e.set_custom_element_data(n,"endpoint",s[1]),e.set_custom_element_data(n,"datasource",s[3]),e.set_custom_element_data(n,"showgamename",s[22]),e.set_custom_element_data(n,"lang",s[5]),e.set_custom_element_data(n,"clientstyling",s[10]),e.set_custom_element_data(n,"clientstylingurl",s[11]),e.set_custom_element_data(n,"integratedgameframedesktop",s[34]),e.set_custom_element_data(n,"integratedgameframemobile",s[35]),e.set_custom_element_data(n,"translationurl",s[12]),e.set_custom_element_data(n,"showfavorites",s[18]),e.set_custom_element_data(n,"mbsource",s[9]),e.attr(a,"class","CategoriesFiltersBar"),e.attr(t,"class","CategoriesLobby")},m(h,k){e.insert(h,t,k),e.append(t,a),e.append(a,n),e.append(a,i),C&&C.m(a,null),e.append(t,u),v&&v.m(t,null),e.append(t,r),c&&c.m(t,null),e.append(t,m),~l&&S[l].m(t,null),e.append(t,f),E&&E.m(t,null),y=!0},p(h,k){(!y||k[0]&2)&&e.set_custom_element_data(n,"endpoint",h[1]),(!y||k[0]&8)&&e.set_custom_element_data(n,"datasource",h[3]),(!y||k[0]&4194304)&&e.set_custom_element_data(n,"showgamename",h[22]),(!y||k[0]&32)&&e.set_custom_element_data(n,"lang",h[5]),(!y||k[0]&1024)&&e.set_custom_element_data(n,"clientstyling",h[10]),(!y||k[0]&2048)&&e.set_custom_element_data(n,"clientstylingurl",h[11]),(!y||k[1]&8)&&e.set_custom_element_data(n,"integratedgameframedesktop",h[34]),(!y||k[1]&16)&&e.set_custom_element_data(n,"integratedgameframemobile",h[35]),(!y||k[0]&4096)&&e.set_custom_element_data(n,"translationurl",h[12]),(!y||k[0]&262144)&&e.set_custom_element_data(n,"showfavorites",h[18]),(!y||k[0]&512)&&e.set_custom_element_data(n,"mbsource",h[9]),h[14]==="true"?C?C.p(h,k):(C=Dt(h),C.c(),C.m(a,null)):C&&(C.d(1),C=null),h[24]=="true"&&X==!1&&!h[90]?v?v.p(h,k):(v=Nt(h),v.c(),v.m(t,r)):v&&(v.d(1),v=null),(+h[77]==0||!h[89])&&h[25]=="true"&&X==!1&&!h[90]?c?c.p(h,k):(c=Ot(h),c.c(),c.m(t,m)):c&&(c.d(1),c=null);let p=l;l=N(h),l===p?~l&&S[l].p(h,k):(_&&(e.group_outros(),e.transition_out(S[p],1,1,()=>{S[p]=null}),e.check_outros()),~l?(_=S[l],_?_.p(h,k):(_=S[l]=D[l](h),_.c()),e.transition_in(_,1),_.m(t,f)):_=null),h[86]&&h[19]=="true"?E?E.p(h,k):(E=Jt(h),E.c(),E.m(t,null)):E&&(E.d(1),E=null)},i(h){y||(e.transition_in(_),y=!0)},o(h){e.transition_out(_),y=!1},d(h){h&&e.detach(t),C&&C.d(),v&&v.d(),c&&c.d(),~l&&S[l].d(),E&&E.d()}}}function ga(s){let t,a=s[94]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(n,i){e.insert(n,t,i),t.innerHTML=a},p(n,i){i[3]&2&&a!==(a=n[94]("500")+"")&&(t.innerHTML=a)},i:e.noop,o:e.noop,d(n){n&&e.detach(t)}}}function Dt(s){let t,a;return{c(){t=e.element("casino-filter"),e.set_custom_element_data(t,"clientstylingurl",s[11]),e.set_custom_element_data(t,"clientstyling",s[10]),e.set_custom_element_data(t,"endpoint",s[1]),e.set_custom_element_data(t,"datasource",s[3]),e.set_custom_element_data(t,"categoryid",a=s[92]||s[91].join(",")),e.set_custom_element_data(t,"usesinglevendorfilter","true"),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"mbsource",s[9]),e.set_custom_element_data(t,"addsortingselector",s[58]),e.set_custom_element_data(t,"filterbylogo",s[59])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&2048&&e.set_custom_element_data(t,"clientstylingurl",n[11]),i[0]&1024&&e.set_custom_element_data(t,"clientstyling",n[10]),i[0]&2&&e.set_custom_element_data(t,"endpoint",n[1]),i[0]&8&&e.set_custom_element_data(t,"datasource",n[3]),i[2]&1610612736&&a!==(a=n[92]||n[91].join(","))&&e.set_custom_element_data(t,"categoryid",a),i[0]&32&&e.set_custom_element_data(t,"lang",n[5]),i[0]&512&&e.set_custom_element_data(t,"mbsource",n[9]),i[1]&134217728&&e.set_custom_element_data(t,"addsortingselector",n[58]),i[1]&268435456&&e.set_custom_element_data(t,"filterbylogo",n[59])},d(n){n&&e.detach(t)}}}function Nt(s){let t;return{c(){t=e.element("casino-random-game"),e.set_custom_element_data(t,"datasource",s[3]),e.set_custom_element_data(t,"filteredrandomgamecategories",s[26]),e.set_custom_element_data(t,"endpoint",s[1]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"gameevent",s[83]),e.set_custom_element_data(t,"randombuttonicon",s[76]),e.set_custom_element_data(t,"clientstyling",s[10]),e.set_custom_element_data(t,"clientstylingurl",s[11]),e.set_custom_element_data(t,"mbsource",s[9])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&8&&e.set_custom_element_data(t,"datasource",a[3]),n[0]&67108864&&e.set_custom_element_data(t,"filteredrandomgamecategories",a[26]),n[0]&2&&e.set_custom_element_data(t,"endpoint",a[1]),n[0]&32&&e.set_custom_element_data(t,"lang",a[5]),n[2]&2097152&&e.set_custom_element_data(t,"gameevent",a[83]),n[2]&16384&&e.set_custom_element_data(t,"randombuttonicon",a[76]),n[0]&1024&&e.set_custom_element_data(t,"clientstyling",a[10]),n[0]&2048&&e.set_custom_element_data(t,"clientstylingurl",a[11]),n[0]&512&&e.set_custom_element_data(t,"mbsource",a[9])},d(a){a&&e.detach(t)}}}function Ot(s){let t,a=s[82]&&Tt(s);return{c(){a&&a.c(),t=e.empty()},m(n,i){a&&a.m(n,i),e.insert(n,t,i)},p(n,i){n[82]?a?a.p(n,i):(a=Tt(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 Tt(s){let t;return{c(){t=e.element("casino-play-random-game"),e.set_custom_element_data(t,"datasource",s[3]),e.set_custom_element_data(t,"endpoint",s[1]),e.set_custom_element_data(t,"language",s[5]),e.set_custom_element_data(t,"specific-category",s[72]),e.set_custom_element_data(t,"icon-visible",s[74]),e.set_custom_element_data(t,"icon-visible-on-anim",s[75]),e.set_custom_element_data(t,"launch-by-game-card",s[73]),e.set_custom_element_data(t,"client-styling",s[10]),e.set_custom_element_data(t,"client-styling-url",s[11]),e.set_custom_element_data(t,"translation-url",s[12]),e.set_custom_element_data(t,"mb-source",s[9])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&8&&e.set_custom_element_data(t,"datasource",a[3]),n[0]&2&&e.set_custom_element_data(t,"endpoint",a[1]),n[0]&32&&e.set_custom_element_data(t,"language",a[5]),n[2]&1024&&e.set_custom_element_data(t,"specific-category",a[72]),n[2]&4096&&e.set_custom_element_data(t,"icon-visible",a[74]),n[2]&8192&&e.set_custom_element_data(t,"icon-visible-on-anim",a[75]),n[2]&2048&&e.set_custom_element_data(t,"launch-by-game-card",a[73]),n[0]&1024&&e.set_custom_element_data(t,"client-styling",a[10]),n[0]&2048&&e.set_custom_element_data(t,"client-styling-url",a[11]),n[0]&4096&&e.set_custom_element_data(t,"translation-url",a[12]),n[0]&512&&e.set_custom_element_data(t,"mb-source",a[9])},d(a){a&&e.detach(t)}}}function ha(s){let t,a,n,i;const u=[ka,ya,pa],r=[];function m(l,_){return l[89]?0:l[88]?1:2}return t=m(s),a=r[t]=u[t](s),{c(){a.c(),n=e.empty()},m(l,_){r[t].m(l,_),e.insert(l,n,_),i=!0},p(l,_){let f=t;t=m(l),t===f?r[t].p(l,_):(e.group_outros(),e.transition_out(r[f],1,1,()=>{r[f]=null}),e.check_outros(),a=r[t],a?a.p(l,_):(a=r[t]=u[t](l),a.c()),e.transition_in(a,1),a.m(n.parentNode,n))},i(l){i||(e.transition_in(a),i=!0)},o(l){e.transition_out(a),i=!1},d(l){l&&e.detach(n),r[t].d(l)}}}function ba(s){let t,a=s[94]("loading")+"",n;return{c(){t=e.element("p"),n=e.text(a),e.attr(t,"class","SearchLoading")},m(i,u){e.insert(i,t,u),e.append(t,n)},p(i,u){u[3]&2&&a!==(a=i[94]("loading")+"")&&e.set_data(n,a)},i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function pa(s){let t,a,n,i=s[78]==="true"&&s[93]&&s[89]&&qt(s);return{c(){t=e.element("casino-games-category-section"),a=e.space(),i&&i.c(),n=e.empty(),e.set_custom_element_data(t,"lobbyscreen",s[89]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"endpoint",s[1]),e.set_custom_element_data(t,"datasource",s[3]),e.set_custom_element_data(t,"favorites",s[18]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"currency",s[4]),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"categoryid",s[92]),e.set_custom_element_data(t,"categorygames","9"),e.set_custom_element_data(t,"fetchviaevent",s[70]),e.set_custom_element_data(t,"class","CategoryContainer"),e.set_custom_element_data(t,"showgamename",s[22]),e.set_custom_element_data(t,"translationurl",s[12]),e.set_custom_element_data(t,"mbsource",s[9]),e.set_custom_element_data(t,"clientstyling",s[10]),e.set_custom_element_data(t,"clientstylingurl",s[11]),e.set_custom_element_data(t,"livecasino",s[23]),e.set_custom_element_data(t,"visiblegames",s[17]),e.set_custom_element_data(t,"gamepagemodalurl",s[27]),e.set_custom_element_data(t,"integratedgameframedesktop",s[34]),e.set_custom_element_data(t,"integratedgameframemobile",s[35]),e.set_custom_element_data(t,"casinomygames",s[0]),e.set_custom_element_data(t,"filterbylogo",s[59]),e.set_custom_element_data(t,"addfilterselector",s[57]),e.set_custom_element_data(t,"addsortingselector",s[58]),e.set_custom_element_data(t,"casinogamesgridslider",s[28]),e.set_custom_element_data(t,"usesinglevendorfilter",s[14])},m(u,r){e.insert(u,t,r),e.insert(u,a,r),i&&i.m(u,r),e.insert(u,n,r)},p(u,r){r[2]&134217728&&e.set_custom_element_data(t,"lobbyscreen",u[89]),r[0]&128&&e.set_custom_element_data(t,"userid",u[7]),r[0]&2&&e.set_custom_element_data(t,"endpoint",u[1]),r[0]&8&&e.set_custom_element_data(t,"datasource",u[3]),r[0]&262144&&e.set_custom_element_data(t,"favorites",u[18]),r[0]&32&&e.set_custom_element_data(t,"lang",u[5]),r[0]&16&&e.set_custom_element_data(t,"currency",u[4]),r[0]&64&&e.set_custom_element_data(t,"session",u[6]),r[2]&1073741824&&e.set_custom_element_data(t,"categoryid",u[92]),r[2]&256&&e.set_custom_element_data(t,"fetchviaevent",u[70]),r[0]&4194304&&e.set_custom_element_data(t,"showgamename",u[22]),r[0]&4096&&e.set_custom_element_data(t,"translationurl",u[12]),r[0]&512&&e.set_custom_element_data(t,"mbsource",u[9]),r[0]&1024&&e.set_custom_element_data(t,"clientstyling",u[10]),r[0]&2048&&e.set_custom_element_data(t,"clientstylingurl",u[11]),r[0]&8388608&&e.set_custom_element_data(t,"livecasino",u[23]),r[0]&131072&&e.set_custom_element_data(t,"visiblegames",u[17]),r[0]&134217728&&e.set_custom_element_data(t,"gamepagemodalurl",u[27]),r[1]&8&&e.set_custom_element_data(t,"integratedgameframedesktop",u[34]),r[1]&16&&e.set_custom_element_data(t,"integratedgameframemobile",u[35]),r[0]&1&&e.set_custom_element_data(t,"casinomygames",u[0]),r[1]&268435456&&e.set_custom_element_data(t,"filterbylogo",u[59]),r[1]&67108864&&e.set_custom_element_data(t,"addfilterselector",u[57]),r[1]&134217728&&e.set_custom_element_data(t,"addsortingselector",u[58]),r[0]&268435456&&e.set_custom_element_data(t,"casinogamesgridslider",u[28]),r[0]&16384&&e.set_custom_element_data(t,"usesinglevendorfilter",u[14]),u[78]==="true"&&u[93]&&u[89]?i?i.p(u,r):(i=qt(u),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},i:e.noop,o:e.noop,d(u){u&&(e.detach(t),e.detach(a),e.detach(n)),i&&i.d(u)}}}function ya(s){let t;return{c(){t=e.element("casino-my-games"),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"endpoint",s[1]),e.set_custom_element_data(t,"datasource",s[3]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"currency",s[4]),e.set_custom_element_data(t,"favorites",s[18]),e.set_custom_element_data(t,"clientstyling",s[10]),e.set_custom_element_data(t,"clientstylingurl",s[11]),e.set_custom_element_data(t,"livecasino",s[23]),e.set_custom_element_data(t,"visiblegames",s[17]),e.set_custom_element_data(t,"gamepagemodalurl",s[27]),e.set_custom_element_data(t,"showgamename",s[22]),e.set_custom_element_data(t,"integratedgameframedesktop",s[34]),e.set_custom_element_data(t,"integratedgameframemobile",s[35]),e.set_custom_element_data(t,"mbsource",s[9]),e.set_custom_element_data(t,"translationurl",s[12]),e.set_custom_element_data(t,"mostplayed",s[61]),e.set_custom_element_data(t,"lastplayed",s[62]),e.set_custom_element_data(t,"filteredcategories",s[20]),e.set_custom_element_data(t,"activecategory",s[21]),e.set_custom_element_data(t,"lastplayedunique",s[67]),e.set_custom_element_data(t,"categoryindex","0"),e.set_custom_element_data(t,"categoryid","MYGAMES"),e.set_custom_element_data(t,"casinomygames",s[0]),e.set_custom_element_data(t,"lastplayedperiod",s[63]),e.set_custom_element_data(t,"mostplayedperiod",s[64]),e.set_custom_element_data(t,"lastplayedorder",s[65]),e.set_custom_element_data(t,"lastplayedlimit",s[66]),e.set_custom_element_data(t,"mostplayedrounds",s[68])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&128&&e.set_custom_element_data(t,"userid",a[7]),n[0]&64&&e.set_custom_element_data(t,"session",a[6]),n[0]&2&&e.set_custom_element_data(t,"endpoint",a[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",a[3]),n[0]&32&&e.set_custom_element_data(t,"lang",a[5]),n[0]&16&&e.set_custom_element_data(t,"currency",a[4]),n[0]&262144&&e.set_custom_element_data(t,"favorites",a[18]),n[0]&1024&&e.set_custom_element_data(t,"clientstyling",a[10]),n[0]&2048&&e.set_custom_element_data(t,"clientstylingurl",a[11]),n[0]&8388608&&e.set_custom_element_data(t,"livecasino",a[23]),n[0]&131072&&e.set_custom_element_data(t,"visiblegames",a[17]),n[0]&134217728&&e.set_custom_element_data(t,"gamepagemodalurl",a[27]),n[0]&4194304&&e.set_custom_element_data(t,"showgamename",a[22]),n[1]&8&&e.set_custom_element_data(t,"integratedgameframedesktop",a[34]),n[1]&16&&e.set_custom_element_data(t,"integratedgameframemobile",a[35]),n[0]&512&&e.set_custom_element_data(t,"mbsource",a[9]),n[0]&4096&&e.set_custom_element_data(t,"translationurl",a[12]),n[1]&1073741824&&e.set_custom_element_data(t,"mostplayed",a[61]),n[2]&1&&e.set_custom_element_data(t,"lastplayed",a[62]),n[0]&1048576&&e.set_custom_element_data(t,"filteredcategories",a[20]),n[0]&2097152&&e.set_custom_element_data(t,"activecategory",a[21]),n[2]&32&&e.set_custom_element_data(t,"lastplayedunique",a[67]),n[0]&1&&e.set_custom_element_data(t,"casinomygames",a[0]),n[2]&2&&e.set_custom_element_data(t,"lastplayedperiod",a[63]),n[2]&4&&e.set_custom_element_data(t,"mostplayedperiod",a[64]),n[2]&8&&e.set_custom_element_data(t,"lastplayedorder",a[65]),n[2]&16&&e.set_custom_element_data(t,"lastplayedlimit",a[66]),n[2]&64&&e.set_custom_element_data(t,"mostplayedrounds",a[68])},i:e.noop,o:e.noop,d(a){a&&e.detach(t)}}}function ka(s){let t=[],a=new Map,n,i,u,r=e.ensure_array_like(s[91]);const m=_=>_[148];for(let _=0;_<r.length;_+=1){let f=It(s,r,_),y=m(f);a.set(y,t[_]=Yt(y,f))}let l=s[78]==="true"&&s[93]&&s[89]&&Ht(s);return{c(){for(let _=0;_<t.length;_+=1)t[_].c();n=e.space(),l&&l.c(),i=e.empty()},m(_,f){for(let y=0;y<t.length;y+=1)t[y]&&t[y].m(_,f);e.insert(_,n,f),l&&l.m(_,f),e.insert(_,i,f),u=!0},p(_,f){f[0]&2059927551|f[1]&1073741823|f[2]&941145984|f[3]&548&&(r=e.ensure_array_like(_[91]),e.group_outros(),t=e.update_keyed_each(t,f,m,1,_,r,a,n.parentNode,e.outro_and_destroy_block,Yt,n,It),e.check_outros()),_[78]==="true"&&_[93]&&_[89]?l?l.p(_,f):(l=Ht(_),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},i(_){if(!u){for(let f=0;f<r.length;f+=1)e.transition_in(t[f]);u=!0}},o(_){for(let f=0;f<t.length;f+=1)e.transition_out(t[f]);u=!1},d(_){_&&(e.detach(n),e.detach(i));for(let f=0;f<t.length;f+=1)t[f].d(_);l&&l.d(_)}}}function qt(s){let t,a,n=s[94]("loadMore")+"",i,u,r;return{c(){t=e.element("div"),a=e.element("p"),i=e.text(n),e.attr(t,"class","LoadMoreCategories")},m(m,l){e.insert(m,t,l),e.append(t,a),e.append(a,i),u||(r=e.listen(a,"click",s[96]),u=!0)},p(m,l){l[3]&2&&n!==(n=m[94]("loadMore")+"")&&e.set_data(i,n)},d(m){m&&e.detach(t),u=!1,r()}}}function Rt(s){let t,a=s[82]&&zt(s);return{c(){t=e.element("div"),a&&a.c(),e.attr(t,"class","CasinoPlayRandomGameWrapper")},m(n,i){e.insert(n,t,i),a&&a.m(t,null)},p(n,i){n[82]?a?a.p(n,i):(a=zt(n),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},d(n){n&&e.detach(t),a&&a.d()}}}function zt(s){let t,a,n,i,u;return{c(){t=e.element("casino-play-random-game"),a=e.space(),n=e.element("ui-skeleton"),e.set_custom_element_data(t,"class","NotLoadedCategory"),e.set_custom_element_data(t,"datasource",s[3]),e.set_custom_element_data(t,"endpoint",s[1]),e.set_custom_element_data(t,"language",s[5]),e.set_custom_element_data(t,"specific-category",s[72]),e.set_custom_element_data(t,"icon-visible",s[74]),e.set_custom_element_data(t,"icon-visible-on-anim",s[75]),e.set_custom_element_data(t,"launch-by-game-card",s[73]),e.set_custom_element_data(t,"client-styling",s[10]),e.set_custom_element_data(t,"client-styling-url",s[11]),e.set_custom_element_data(t,"translation-url",s[12]),e.set_custom_element_data(t,"mb-source",s[9]),e.set_custom_element_data(n,"width","100%"),e.set_custom_element_data(n,"height","300px"),e.set_custom_element_data(n,"structure","rectangle")},m(r,m){e.insert(r,t,m),e.insert(r,a,m),e.insert(r,n,m),i||(u=e.listen(t,"data-loaded",s[98]),i=!0)},p(r,m){m[0]&8&&e.set_custom_element_data(t,"datasource",r[3]),m[0]&2&&e.set_custom_element_data(t,"endpoint",r[1]),m[0]&32&&e.set_custom_element_data(t,"language",r[5]),m[2]&1024&&e.set_custom_element_data(t,"specific-category",r[72]),m[2]&4096&&e.set_custom_element_data(t,"icon-visible",r[74]),m[2]&8192&&e.set_custom_element_data(t,"icon-visible-on-anim",r[75]),m[2]&2048&&e.set_custom_element_data(t,"launch-by-game-card",r[73]),m[0]&1024&&e.set_custom_element_data(t,"client-styling",r[10]),m[0]&2048&&e.set_custom_element_data(t,"client-styling-url",r[11]),m[0]&4096&&e.set_custom_element_data(t,"translation-url",r[12]),m[0]&512&&e.set_custom_element_data(t,"mb-source",r[9])},d(r){r&&(e.detach(t),e.detach(a),e.detach(n)),i=!1,u()}}}function At(s){let t,a,n,i,u,r;return{c(){t=e.element("div"),a=e.element("casino-winners"),n=e.space(),i=e.element("ui-skeleton"),e.set_custom_element_data(a,"class","NotLoadedCategory"),e.set_custom_element_data(a,"session",s[6]),e.set_custom_element_data(a,"userid",s[7]),e.set_custom_element_data(a,"periodrecent",s[36]),e.set_custom_element_data(a,"periodtop",s[37]),e.set_custom_element_data(a,"numberusersrecent",s[38]),e.set_custom_element_data(a,"numberuserstop",s[39]),e.set_custom_element_data(a,"amountlimit",s[40]),e.set_custom_element_data(a,"isrecentavailable",s[33]),e.set_custom_element_data(a,"istopavailable",s[32]),e.set_custom_element_data(a,"defaultcurrency",s[41]),e.set_custom_element_data(a,"usercurrency",s[4]),e.set_custom_element_data(a,"translationurl",s[12]),e.set_custom_element_data(a,"enableautoscroll",s[31]),e.set_custom_element_data(a,"tabsorder",s[30]),e.set_custom_element_data(a,"lang",s[5]),e.set_custom_element_data(a,"clientstyling",s[10]),e.set_custom_element_data(a,"clientstylingurl",s[11]),e.set_custom_element_data(a,"endpoint",s[1]),e.set_custom_element_data(a,"winnersdatasources",s[69]),e.set_custom_element_data(a,"mbsource",s[9]),e.set_custom_element_data(a,"currencylocale",s[15]),e.set_custom_element_data(i,"width","100%"),e.set_custom_element_data(i,"height","320px"),e.set_custom_element_data(i,"structure","rectangle"),e.attr(t,"class","CasinoWinnersWrapper")},m(m,l){e.insert(m,t,l),e.append(t,a),e.append(t,n),e.append(t,i),u||(r=e.listen(a,"data-loaded",s[98]),u=!0)},p(m,l){l[0]&64&&e.set_custom_element_data(a,"session",m[6]),l[0]&128&&e.set_custom_element_data(a,"userid",m[7]),l[1]&32&&e.set_custom_element_data(a,"periodrecent",m[36]),l[1]&64&&e.set_custom_element_data(a,"periodtop",m[37]),l[1]&128&&e.set_custom_element_data(a,"numberusersrecent",m[38]),l[1]&256&&e.set_custom_element_data(a,"numberuserstop",m[39]),l[1]&512&&e.set_custom_element_data(a,"amountlimit",m[40]),l[1]&4&&e.set_custom_element_data(a,"isrecentavailable",m[33]),l[1]&2&&e.set_custom_element_data(a,"istopavailable",m[32]),l[1]&1024&&e.set_custom_element_data(a,"defaultcurrency",m[41]),l[0]&16&&e.set_custom_element_data(a,"usercurrency",m[4]),l[0]&4096&&e.set_custom_element_data(a,"translationurl",m[12]),l[1]&1&&e.set_custom_element_data(a,"enableautoscroll",m[31]),l[0]&1073741824&&e.set_custom_element_data(a,"tabsorder",m[30]),l[0]&32&&e.set_custom_element_data(a,"lang",m[5]),l[0]&1024&&e.set_custom_element_data(a,"clientstyling",m[10]),l[0]&2048&&e.set_custom_element_data(a,"clientstylingurl",m[11]),l[0]&2&&e.set_custom_element_data(a,"endpoint",m[1]),l[2]&128&&e.set_custom_element_data(a,"winnersdatasources",m[69]),l[0]&512&&e.set_custom_element_data(a,"mbsource",m[9]),l[0]&32768&&e.set_custom_element_data(a,"currencylocale",m[15])},d(m){m&&e.detach(t),u=!1,r()}}}function Wt(s){let t,a,n,i,u,r;return{c(){t=e.element("div"),a=e.element("casino-calendar"),n=e.space(),i=e.element("ui-skeleton"),e.set_custom_element_data(a,"class","NotLoadedCategory"),e.set_custom_element_data(a,"userroles",s[8]),e.set_custom_element_data(a,"cmsendpoint",s[13]),e.set_custom_element_data(a,"env",s[2]),e.set_custom_element_data(a,"lang",s[5]),e.set_custom_element_data(a,"clientstyling",s[10]),e.set_custom_element_data(a,"clientstylingurl",s[11]),e.set_custom_element_data(a,"mbsource",s[9]),e.set_custom_element_data(i,"width","100%"),e.set_custom_element_data(i,"height","268px"),e.set_custom_element_data(i,"structure","rectangle"),e.attr(t,"class","CasinoCalendarWrapper")},m(m,l){e.insert(m,t,l),e.append(t,a),e.append(t,n),e.append(t,i),u||(r=e.listen(a,"data-loaded",s[98]),u=!0)},p(m,l){l[0]&256&&e.set_custom_element_data(a,"userroles",m[8]),l[0]&8192&&e.set_custom_element_data(a,"cmsendpoint",m[13]),l[0]&4&&e.set_custom_element_data(a,"env",m[2]),l[0]&32&&e.set_custom_element_data(a,"lang",m[5]),l[0]&1024&&e.set_custom_element_data(a,"clientstyling",m[10]),l[0]&2048&&e.set_custom_element_data(a,"clientstylingurl",m[11]),l[0]&512&&e.set_custom_element_data(a,"mbsource",m[9])},d(m){m&&e.detach(t),u=!1,r()}}}function Ut(s){let t;const a=s[103]["je-jackpots-widget"],n=e.create_slot(a,s,s[102],Bt);return{c(){n&&n.c()},m(i,u){n&&n.m(i,u),t=!0},p(i,u){n&&n.p&&(!t||u[3]&512)&&e.update_slot_base(n,a,i,i[102],t?e.get_slot_changes(a,i[102],u,da):e.get_all_dirty_from_scope(i[102]),Bt)},i(i){t||(e.transition_in(n,i),t=!0)},o(i){e.transition_out(n,i),t=!1},d(i){n&&n.d(i)}}}function wa(s){let t,a,n,i,u,r,m;return{c(){t=e.element("div"),a=e.element("casino-jackpot-banner"),i=e.space(),u=e.element("ui-skeleton"),e.set_custom_element_data(a,"class","NotLoadedCategory"),e.set_custom_element_data(a,"title","Jackpot Cards"),e.set_custom_element_data(a,"currency",n=s[4]||"RON"),e.set_custom_element_data(a,"gameid","999"),e.set_custom_element_data(a,"endpoint",s[1]),e.set_custom_element_data(a,"lang",s[5]),e.set_custom_element_data(a,"backgroundsrc","/assets/background0.webp"),e.set_custom_element_data(a,"backgroundsrcmobile","/assets/background0.webp"),e.set_custom_element_data(a,"titlelogopath","/assets/jackpots_logo.svg"),e.set_custom_element_data(a,"caticon0","/assets/icon0.svg"),e.set_custom_element_data(a,"caticon1","/assets/icon1.svg"),e.set_custom_element_data(a,"caticon2","/assets/icon2.svg"),e.set_custom_element_data(a,"caticon3","/assets/icon3.svg"),e.set_custom_element_data(a,"visualstructure","typeSpread"),e.set_custom_element_data(a,"clientstyling",s[10]),e.set_custom_element_data(a,"clientstylingurl",s[11]),e.set_custom_element_data(a,"mbsource",s[9]),e.set_custom_element_data(a,"realtimeupdate",s[52]),e.set_custom_element_data(a,"currencylocale",s[15]),e.set_custom_element_data(u,"width","100%"),e.set_custom_element_data(u,"height","116px"),e.set_custom_element_data(u,"structure","rectangle"),e.attr(t,"class","CasinoJackpotBannerWrapper")},m(l,_){e.insert(l,t,_),e.append(t,a),e.append(t,i),e.append(t,u),r||(m=e.listen(a,"data-loaded",s[98]),r=!0)},p(l,_){_[0]&16&&n!==(n=l[4]||"RON")&&e.set_custom_element_data(a,"currency",n),_[0]&2&&e.set_custom_element_data(a,"endpoint",l[1]),_[0]&32&&e.set_custom_element_data(a,"lang",l[5]),_[0]&1024&&e.set_custom_element_data(a,"clientstyling",l[10]),_[0]&2048&&e.set_custom_element_data(a,"clientstylingurl",l[11]),_[0]&512&&e.set_custom_element_data(a,"mbsource",l[9]),_[1]&2097152&&e.set_custom_element_data(a,"realtimeupdate",l[52]),_[0]&32768&&e.set_custom_element_data(a,"currencylocale",l[15])},d(l){l&&e.detach(t),r=!1,m()}}}function va(s){let t,a,n,i,u,r,m;return{c(){t=e.element("div"),a=e.element("casino-jackpot-banner"),i=e.space(),u=e.element("ui-skeleton"),e.set_custom_element_data(a,"class","NotLoadedCategory"),e.set_custom_element_data(a,"title","Egypt Quest"),e.set_custom_element_data(a,"currency",n=s[4]||"RON"),e.set_custom_element_data(a,"gameid","998"),e.set_custom_element_data(a,"endpoint",s[1]),e.set_custom_element_data(a,"lang",s[5]),e.set_custom_element_data(a,"backgroundsrc",s[47]),e.set_custom_element_data(a,"backgroundsrcmobile",s[48]),e.set_custom_element_data(a,"titlelogopath",s[49]),e.set_custom_element_data(a,"caticon0",s[43]),e.set_custom_element_data(a,"caticon1",s[44]),e.set_custom_element_data(a,"caticon2",s[45]),e.set_custom_element_data(a,"caticon3",s[46]),e.set_custom_element_data(a,"iconlabels",s[50]),e.set_custom_element_data(a,"visualstructure",s[51]),e.set_custom_element_data(a,"clientstyling",s[10]),e.set_custom_element_data(a,"clientstylingurl",s[11]),e.set_custom_element_data(a,"mbsource",s[9]),e.set_custom_element_data(a,"realtimeupdate",s[52]),e.set_custom_element_data(a,"currencylocale",s[15]),e.set_custom_element_data(u,"width","100%"),e.set_custom_element_data(u,"height","116px"),e.set_custom_element_data(u,"structure","rectangle"),e.attr(t,"class","CasinoJackpotBannerWrapper")},m(l,_){e.insert(l,t,_),e.append(t,a),e.append(t,i),e.append(t,u),r||(m=e.listen(a,"data-loaded",s[98]),r=!0)},p(l,_){_[0]&16&&n!==(n=l[4]||"RON")&&e.set_custom_element_data(a,"currency",n),_[0]&2&&e.set_custom_element_data(a,"endpoint",l[1]),_[0]&32&&e.set_custom_element_data(a,"lang",l[5]),_[1]&65536&&e.set_custom_element_data(a,"backgroundsrc",l[47]),_[1]&131072&&e.set_custom_element_data(a,"backgroundsrcmobile",l[48]),_[1]&262144&&e.set_custom_element_data(a,"titlelogopath",l[49]),_[1]&4096&&e.set_custom_element_data(a,"caticon0",l[43]),_[1]&8192&&e.set_custom_element_data(a,"caticon1",l[44]),_[1]&16384&&e.set_custom_element_data(a,"caticon2",l[45]),_[1]&32768&&e.set_custom_element_data(a,"caticon3",l[46]),_[1]&524288&&e.set_custom_element_data(a,"iconlabels",l[50]),_[1]&1048576&&e.set_custom_element_data(a,"visualstructure",l[51]),_[0]&1024&&e.set_custom_element_data(a,"clientstyling",l[10]),_[0]&2048&&e.set_custom_element_data(a,"clientstylingurl",l[11]),_[0]&512&&e.set_custom_element_data(a,"mbsource",l[9]),_[1]&2097152&&e.set_custom_element_data(a,"realtimeupdate",l[52]),_[0]&32768&&e.set_custom_element_data(a,"currencylocale",l[15])},d(l){l&&e.detach(t),r=!1,m()}}}function Ca(s){let t,a,n,i,u,r;return{c(){t=e.element("div"),a=e.element("casino-collections-providers"),n=e.space(),i=e.element("ui-skeleton"),e.set_custom_element_data(a,"class","NotLoadedCategory"),e.set_custom_element_data(a,"endpoint",s[1]),e.set_custom_element_data(a,"datasource",s[3]),e.set_custom_element_data(a,"lang",s[5]),e.set_custom_element_data(a,"type","vendor"),e.set_custom_element_data(a,"titletype","logo"),e.set_custom_element_data(a,"collectionprovidersgamenames",s[56]),e.set_custom_element_data(a,"clientstyling",s[10]),e.set_custom_element_data(a,"mbsource",s[9]),e.set_custom_element_data(a,"clientstylingurl",s[11]),e.set_custom_element_data(i,"width","100%"),e.set_custom_element_data(i,"height","330px"),e.set_custom_element_data(i,"structure","rectangle"),e.attr(t,"class","CasinoCollectionsProvidersWrapper")},m(m,l){e.insert(m,t,l),e.append(t,a),e.append(t,n),e.append(t,i),u||(r=e.listen(a,"data-loaded",s[98]),u=!0)},p(m,l){l[0]&2&&e.set_custom_element_data(a,"endpoint",m[1]),l[0]&8&&e.set_custom_element_data(a,"datasource",m[3]),l[0]&32&&e.set_custom_element_data(a,"lang",m[5]),l[1]&33554432&&e.set_custom_element_data(a,"collectionprovidersgamenames",m[56]),l[0]&1024&&e.set_custom_element_data(a,"clientstyling",m[10]),l[0]&512&&e.set_custom_element_data(a,"mbsource",m[9]),l[0]&2048&&e.set_custom_element_data(a,"clientstylingurl",m[11])},d(m){m&&e.detach(t),u=!1,r()}}}function Ea(s){let t,a,n,i,u,r;return{c(){t=e.element("div"),a=e.element("casino-collections-providers"),n=e.space(),i=e.element("ui-skeleton"),e.set_custom_element_data(a,"class","NotLoadedCategory"),e.set_custom_element_data(a,"endpoint",s[1]),e.set_custom_element_data(a,"datasource",s[3]),e.set_custom_element_data(a,"lang",s[5]),e.set_custom_element_data(a,"type",s[54]),e.set_custom_element_data(a,"collectionprovidersgamenames",s[56]),e.set_custom_element_data(a,"titletype",s[55]),e.set_custom_element_data(a,"clientstyling",s[10]),e.set_custom_element_data(a,"mbsource",s[9]),e.set_custom_element_data(a,"clientstylingurl",s[11]),e.set_custom_element_data(i,"width","100%"),e.set_custom_element_data(i,"height","330px"),e.set_custom_element_data(i,"structure","rectangle"),e.attr(t,"class","CasinoCollectionsProvidersWrapper")},m(m,l){e.insert(m,t,l),e.append(t,a),e.append(t,n),e.append(t,i),u||(r=e.listen(a,"data-loaded",s[98]),u=!0)},p(m,l){l[0]&2&&e.set_custom_element_data(a,"endpoint",m[1]),l[0]&8&&e.set_custom_element_data(a,"datasource",m[3]),l[0]&32&&e.set_custom_element_data(a,"lang",m[5]),l[1]&8388608&&e.set_custom_element_data(a,"type",m[54]),l[1]&33554432&&e.set_custom_element_data(a,"collectionprovidersgamenames",m[56]),l[1]&16777216&&e.set_custom_element_data(a,"titletype",m[55]),l[0]&1024&&e.set_custom_element_data(a,"clientstyling",m[10]),l[0]&512&&e.set_custom_element_data(a,"mbsource",m[9]),l[0]&2048&&e.set_custom_element_data(a,"clientstylingurl",m[11])},d(m){m&&e.detach(t),u=!1,r()}}}function Yt(s,t){let a,n,i,u,r,m,l,_,f,y,C,v,c,D,S,N=t[150],E,h,k,p,U,x,F=+t[77]>0&&+t[77]===t[150]&&t[25]=="true"&&X==!1&&!t[90]&&Rt(t),M=t[29]&&t[150]==+t[29]&&At(t),j=t[60]&&t[150]==+t[60]&&Wt(t),L=t[71]&&t[150]==+t[71]&&Ut(t);function $(g,d){if(d[1]&2048|d[2]&536870912&&(m=null),d[1]&2048|d[2]&536870912&&(l=null),m==null&&(m=!!(g[42]&&g[150]==(g[42].split(",")[0]==""?g[91].length:+g[42].split(",")[0]))),m)return va;if(l==null&&(l=!!(g[42]&&g[150]==(g[42].split(",")[1]==""?g[91].length:+g[42].split(",")[1]))),l)return wa}let q=$(t,[-1,-1,-1,-1,-1]),P=q&&q(t);function ee(g,d){if(d[1]&4194304|d[2]&536870912&&(f=null),d[1]&4194304|d[2]&536870912&&(y=null),f==null&&(f=!!(g[53]&&g[150]==(g[53].split(",")[0]==""?g[91].length:+g[53].split(",")[0]))),f)return Ea;if(y==null&&(y=!!(g[53]&&g[150]==(g[53].split(",")[1]==""?g[91].length:+g[53].split(",")[1]))),y)return Ca}let R=ee(t,[-1,-1,-1,-1,-1]),G=R&&R(t);const te=()=>t[104](c,N),ae=()=>t[104](null,N);return{key:s,first:null,c(){a=e.empty(),F&&F.c(),n=e.space(),M&&M.c(),i=e.space(),j&&j.c(),u=e.space(),L&&L.c(),r=e.space(),P&&P.c(),_=e.space(),G&&G.c(),C=e.space(),v=e.element("div"),c=e.element("casino-games-category-section"),h=e.space(),k=e.element("ui-skeleton"),e.set_custom_element_data(c,"lobbyscreen",t[89]),e.set_custom_element_data(c,"session",t[6]),e.set_custom_element_data(c,"userid",t[7]),e.set_custom_element_data(c,"endpoint",t[1]),e.set_custom_element_data(c,"datasource",t[3]),e.set_custom_element_data(c,"lang",t[5]),e.set_custom_element_data(c,"categoryid",D=t[148]),e.set_custom_element_data(c,"currency",t[4]),e.set_custom_element_data(c,"categoryindex",S=t[150]),e.set_custom_element_data(c,"categorygames","9"),e.set_custom_element_data(c,"fetchviaevent",t[70]),e.set_custom_element_data(c,"favorites",t[18]),e.set_custom_element_data(c,"showgamename",t[22]),e.set_custom_element_data(c,"translationurl",t[12]),e.set_custom_element_data(c,"class","CategoryContainer NotLoadedCategory"),e.set_style(c,"background-color",t[150]%2!==0?t[16]:"transparent"),e.set_custom_element_data(c,"clientstyling",t[10]),e.set_custom_element_data(c,"clientstylingurl",t[11]),e.set_custom_element_data(c,"mbsource",t[9]),e.set_custom_element_data(c,"livecasino",t[23]),e.set_custom_element_data(c,"visiblegames",t[17]),e.set_custom_element_data(c,"gamepagemodalurl",t[27]),e.set_custom_element_data(c,"integratedgameframedesktop",t[34]),e.set_custom_element_data(c,"integratedgameframemobile",t[35]),e.set_custom_element_data(c,"casinomygames",t[0]),e.set_custom_element_data(c,"filterbylogo",t[59]),e.set_custom_element_data(c,"addfilterselector",t[57]),e.set_custom_element_data(c,"addsortingselector",t[58]),e.set_custom_element_data(c,"casinogamesgridslider",t[28]),e.set_custom_element_data(c,"usesinglevendorfilter",t[14]),e.set_custom_element_data(k,"width","100%"),e.set_custom_element_data(k,"height","228px"),e.set_custom_element_data(k,"structure","rectangle"),e.attr(v,"class","CasinoGamesCategorySectionWrapper"),this.first=a},m(g,d){e.insert(g,a,d),F&&F.m(g,d),e.insert(g,n,d),M&&M.m(g,d),e.insert(g,i,d),j&&j.m(g,d),e.insert(g,u,d),L&&L.m(g,d),e.insert(g,r,d),P&&P.m(g,d),e.insert(g,_,d),G&&G.m(g,d),e.insert(g,C,d),e.insert(g,v,d),e.append(v,c),te(),e.append(v,h),e.append(v,k),p=!0,U||(x=[e.listen(c,"data-loaded",t[98]),e.action_destroyer(E=t[97].call(null,c,t[148]))],U=!0)},p(g,d){t=g,+t[77]>0&&+t[77]===t[150]&&t[25]=="true"&&X==!1&&!t[90]?F?F.p(t,d):(F=Rt(t),F.c(),F.m(n.parentNode,n)):F&&(F.d(1),F=null),t[29]&&t[150]==+t[29]?M?M.p(t,d):(M=At(t),M.c(),M.m(i.parentNode,i)):M&&(M.d(1),M=null),t[60]&&t[150]==+t[60]?j?j.p(t,d):(j=Wt(t),j.c(),j.m(u.parentNode,u)):j&&(j.d(1),j=null),t[71]&&t[150]==+t[71]?L?(L.p(t,d),d[2]&536871424&&e.transition_in(L,1)):(L=Ut(t),L.c(),e.transition_in(L,1),L.m(r.parentNode,r)):L&&(e.group_outros(),e.transition_out(L,1,1,()=>{L=null}),e.check_outros()),q===(q=$(t,d))&&P?P.p(t,d):(P&&P.d(1),P=q&&q(t),P&&(P.c(),P.m(_.parentNode,_))),R===(R=ee(t,d))&&G?G.p(t,d):(G&&G.d(1),G=R&&R(t),G&&(G.c(),G.m(C.parentNode,C))),(!p||d[2]&134217728)&&e.set_custom_element_data(c,"lobbyscreen",t[89]),(!p||d[0]&64)&&e.set_custom_element_data(c,"session",t[6]),(!p||d[0]&128)&&e.set_custom_element_data(c,"userid",t[7]),(!p||d[0]&2)&&e.set_custom_element_data(c,"endpoint",t[1]),(!p||d[0]&8)&&e.set_custom_element_data(c,"datasource",t[3]),(!p||d[0]&32)&&e.set_custom_element_data(c,"lang",t[5]),(!p||d[2]&536870912&&D!==(D=t[148]))&&e.set_custom_element_data(c,"categoryid",D),(!p||d[0]&16)&&e.set_custom_element_data(c,"currency",t[4]),(!p||d[2]&536870912&&S!==(S=t[150]))&&e.set_custom_element_data(c,"categoryindex",S),(!p||d[2]&256)&&e.set_custom_element_data(c,"fetchviaevent",t[70]),(!p||d[0]&262144)&&e.set_custom_element_data(c,"favorites",t[18]),(!p||d[0]&4194304)&&e.set_custom_element_data(c,"showgamename",t[22]),(!p||d[0]&4096)&&e.set_custom_element_data(c,"translationurl",t[12]),(!p||d[0]&65536|d[2]&536870912)&&e.set_style(c,"background-color",t[150]%2!==0?t[16]:"transparent"),(!p||d[0]&1024)&&e.set_custom_element_data(c,"clientstyling",t[10]),(!p||d[0]&2048)&&e.set_custom_element_data(c,"clientstylingurl",t[11]),(!p||d[0]&512)&&e.set_custom_element_data(c,"mbsource",t[9]),(!p||d[0]&8388608)&&e.set_custom_element_data(c,"livecasino",t[23]),(!p||d[0]&131072)&&e.set_custom_element_data(c,"visiblegames",t[17]),(!p||d[0]&134217728)&&e.set_custom_element_data(c,"gamepagemodalurl",t[27]),(!p||d[1]&8)&&e.set_custom_element_data(c,"integratedgameframedesktop",t[34]),(!p||d[1]&16)&&e.set_custom_element_data(c,"integratedgameframemobile",t[35]),(!p||d[0]&1)&&e.set_custom_element_data(c,"casinomygames",t[0]),(!p||d[1]&268435456)&&e.set_custom_element_data(c,"filterbylogo",t[59]),(!p||d[1]&67108864)&&e.set_custom_element_data(c,"addfilterselector",t[57]),(!p||d[1]&134217728)&&e.set_custom_element_data(c,"addsortingselector",t[58]),(!p||d[0]&268435456)&&e.set_custom_element_data(c,"casinogamesgridslider",t[28]),(!p||d[0]&16384)&&e.set_custom_element_data(c,"usesinglevendorfilter",t[14]),N!==t[150]&&(ae(),N=t[150],te()),E&&e.is_function(E.update)&&d[2]&536870912&&E.update.call(null,t[148])},i(g){p||(e.transition_in(L),p=!0)},o(g){e.transition_out(L),p=!1},d(g){g&&(e.detach(a),e.detach(n),e.detach(i),e.detach(u),e.detach(r),e.detach(_),e.detach(C),e.detach(v)),F&&F.d(g),M&&M.d(g),j&&j.d(g),L&&L.d(g),P&&P.d(g),G&&G.d(g),ae(),U=!1,e.run_all(x)}}}function Ht(s){let t,a,n=s[94]("loadMore")+"",i,u,r;return{c(){t=e.element("div"),a=e.element("p"),i=e.text(n),e.attr(t,"class","LoadMoreCategories")},m(m,l){e.insert(m,t,l),e.append(t,a),e.append(a,i),u||(r=e.listen(a,"click",s[96]),u=!0)},p(m,l){l[3]&2&&n!==(n=m[94]("loadMore")+"")&&e.set_data(i,n)},d(m){m&&e.detach(t),u=!1,r()}}}function Jt(s){let t,a,n=s[94]("breakButton")+"",i;return{c(){t=e.element("div"),a=e.element("button"),i=e.text(n),e.attr(a,"class","PanicButton "+(e.getDevice(s[95])!=="PC"?"PanicButtonMobile ":"")),e.toggle_class(a,"PanicButtonAnimation",s[87]),e.attr(t,"class","PanicSection "+(e.getDevice(s[95])!=="PC"?"PanicSectionMobile":""))},m(u,r){e.insert(u,t,r),e.append(t,a),e.append(a,i),s[105](a)},p(u,r){r[3]&2&&n!==(n=u[94]("breakButton")+"")&&e.set_data(i,n),r[2]&33554432&&e.toggle_class(a,"PanicButtonAnimation",u[87])},d(u){u&&e.detach(t),s[105](null)}}}function La(s){let t,a,n,i;const u=[ga,fa],r=[];function m(l,_){return l[85]?0:1}return a=m(s),n=r[a]=u[a](s),{c(){t=e.element("div"),n.c()},m(l,_){e.insert(l,t,_),r[a].m(t,null),s[106](t),i=!0},p(l,_){let f=a;a=m(l),a===f?r[a].p(l,_):(e.group_outros(),e.transition_out(r[f],1,1,()=>{r[f]=null}),e.check_outros(),n=r[a],n?n.p(l,_):(n=r[a]=u[a](l),n.c()),e.transition_in(n,1),n.m(t,null))},i(l){i||(e.transition_in(n),i=!0)},o(l){e.transition_out(n),i=!1},d(l){l&&e.detach(t),r[a].d(),s[106](null)}}}let X=!1;const Ma=1;function ja(s,t,a){let n;e.component_subscribe(s,e.$format,o=>a(94,n=o));let{$$slots:i={},$$scope:u}=t,{endpoint:r=""}=t,{env:m=""}=t,{datasource:l=""}=t,{currency:_=""}=t,{lang:f=""}=t,{session:y=""}=t,{userid:C=""}=t,{userroles:v=""}=t,{mbsource:c}=t,{clientstyling:D=""}=t,{clientstylingurl:S=""}=t,{translationurl:N=""}=t,{cmsendpoint:E=""}=t,{usesinglevendorfilter:h="false"}=t,{currencylocale:k=""}=t,{categorybackground:p=""}=t,{visiblegames:U}=t,{favorites:x=""}=t,{haspanicbutton:F="false"}=t,{filteredcategories:M=""}=t,{activecategory:j=""}=t,{showgamename:L=""}=t,{livecasino:$="false"}=t,{playrandomgame:q="false"}=t,{randomgameslider:P="false"}=t,{filteredrandomgamecategories:ee=""}=t,{gamepagemodalurl:R="false"}=t,{casinogamesgridslider:G="false"}=t,{positionwinnerswidget:te=""}=t,{tabsorder:ae=""}=t,{enableautoscroll:g=""}=t,{istopavailable:d=""}=t,{isrecentavailable:Fe=""}=t,{integratedgameframedesktop:Ge="false"}=t,{integratedgameframemobile:Ie="false"}=t,{periodrecent:Be=""}=t,{periodtop:De=""}=t,{numberusersrecent:Ne=""}=t,{numberuserstop:Oe=""}=t,{amountlimit:Te=""}=t,{defaultcurrency:qe=""}=t,{showsubgroups:he=""}=t,{positionjackpotbanners:Re=""}=t,{caticon0:ze=""}=t,{caticon1:Ae=""}=t,{caticon2:We=""}=t,{caticon3:Ue=""}=t,{backgroundsrc:Ye=""}=t,{backgroundsrcmobile:He=""}=t,{titlelogopath:Je=""}=t,{iconlabels:Ve=""}=t,{visualstructure:Ke=""}=t,{realtimeupdate:Qe="false"}=t,{positioncollections:Ze=""}=t,{type:Xe=""}=t,{titletype:xe=""}=t,{collectionprovidersgamenames:$e=""}=t,{addfilterselector:et="false"}=t,{addsortingselector:tt="false"}=t,{filterbylogo:at=""}=t,{positioncasinocalendar:st=""}=t,{casinomygames:oe="false"}=t,{mostplayed:be=""}=t,{lastplayed:pe=""}=t,{lastplayedperiod:nt="Last30Days"}=t,{mostplayedperiod:ot="Last30Days"}=t,{lastplayedorder:lt=""}=t,{lastplayedlimit:it=""}=t,{lastplayedunique:rt="true"}=t,{mostplayedrounds:mt=""}=t,{winnersdatasources:ut=""}=t,{fetchviaevent:_t="true"}=t,{positionjelobbywidget:ct=""}=t,{specificcategory:dt=""}=t,{launchbygamecard:ft=""}=t,{iconvisible:gt=""}=t,{iconvisibleonanim:ht=""}=t,{randombuttonicon:bt=""}=t,{positionlobbyrandomplaywidget:pt="0"}=t,{showmoresections:le="false"}=t,{categorieslimit:z="4"}=t,ye=!0,ke,ie=window.navigator.userAgent,we;e.isMobile(ie)?we="OpenGameFrame":we="ShowGameModal";let J=!1,V=!1,yt=!1,K="",w,re=!1,me=0,ve,Y=!1,A=!0,Ce=!1,se=[],Ee=[],B,Le=[],Kt,ne,ue,kt,Me="",W,wt=!1,H=new Array(1e4).fill(null),je=!1,_e=0,Se=0,vt=!0,ce=!1,de=[],Ct=0,Q=null;const Et=new Set;ua({withLocale:"en",translations:{}});const Qt=()=>{let o=new URL(N);fetch(o.href).then(b=>b.json()).then(b=>{Object.keys(b).forEach(I=>{Ft(I,b[I])})}).catch(b=>{console.log(b)})};Object.keys(Gt).forEach(o=>{Ft(o,Gt[o])});const Zt=()=>Z(this,null,function*(){if(yield e.tick(),!H||H.length===0){console.warn("setupObserver: categoryContainer is empty");return}Q||(Q=new IntersectionObserver(o=>{o.forEach(b=>Z(this,null,function*(){let I=b.target.elems_index;b.isIntersecting&&!ce&&I===de.length-Ct-Ma&&de.length!==Se&&Lt()}))})),H.forEach((o,b)=>{o&&!Et.has(o)&&(o.elems_index=b,Q.observe(o),Et.add(o))})}),Lt=()=>Z(this,null,function*(){if(!ce){ce=!0;try{_e+=parseInt(z);const o=yield jt(_e,parseInt(z));a(91,se=[...se,...o.items.filter(b=>b.flags.length===0&&b.games.count!==0).map(b=>b.id)]),Ee=[...Ee,...o.items.filter(b=>b.flags.length||b.games.count===0).map(b=>b.id)],Ct=Ee.length,le==="true"&&_e/parseInt(z)+1===Math.ceil(Se/parseInt(z))&&a(93,vt=!1)}catch(o){console.error("Error loading more categories:",o)}finally{ce=!1}}}),Pe=o=>{switch(a(0,oe="false"),setTimeout(()=>{o.data.itemId!=="LOBBY"&&window.postMessage({type:"CasinoTopReference"},window.location.href)}),o.data.itemId){case"LOBBY":a(89,A=!0),a(88,Y=!1),a(92,B="");break;case"MYGAMES":a(0,oe="true"),a(89,A=!1),a(88,Y=!0),a(92,B="");break;case"FAVORITES":a(89,A=!1),a(88,Y=!0),a(92,B="");break;case"MOSTPLAYED":be=="true"&&(a(92,B=""),a(89,A=!1),a(88,Y=!0));break;case"LASTPLAYED":pe=="true"&&(a(92,B=""),a(89,A=!1),a(88,Y=!0));break;default:a(89,A=!1),a(88,Y=!1),a(92,B=o.data.itemId),window.postMessage({type:"CategoryUpdate",itemId:B},window.location.href);break}},Mt=o=>{if(o.data)switch(o.data.type){case"CategoryChange":Pe(o);break;case"UserSessionID":o.data.session,o.data.userID;break;case"ApplyFilters":h==="true"&&A?se.forEach(b=>{window.postMessage({type:`CategoryData_${b}`,categoryId:b,visiblegames:U},window.location.href)}):window.postMessage({type:"CategoryUpdate",itemId:Me,origin:o.data.origin},window.location.href);break;case"CategoryVendors":Me=o.data.categoryid;break;case"searchCancelled":a(90,Ce=!1),B&&Pe({data:{itemId:B}});break;case"searchActive":a(90,Ce=!0);break;case"ModalClosed":break;case"SubgroupsIds":Le.some(b=>o.data.subGroupsIds.includes(b))||Le.push(...o.data.subGroupsIds);break}},jt=(o,b)=>Z(this,null,function*(){try{let I=new URL(`${r}/v1/casino/groups/${l}`);I.searchParams.append("language",f),I.searchParams.append("platform",e.getDevice(ie)),I.searchParams.append("pagination",`offset=${o},limit=${b}`);const T=yield(yield fetch(I)).json();return de=[...de,...T.items],Se=T.total,a(101,je=!0),T}catch(I){throw a(85,V=!0),console.error("Error fetching categories:",I),I}}),Xt=(o,b)=>{Me=b,window.postMessage({type:`CategoryData_${b}`,categoryId:b,visiblegames:U},window.location.href)},St=()=>{ne&&(ue=ne.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>ue||ue>130},xt=()=>(r||(K="Endpoint is missing! Please provide a valid endpointURL.",a(85,V=!0),a(84,J=!1),console.error(K)),l||(K="Datasource is missing! Please provide a valid datasource.",a(85,V=!0),a(84,J=!1),console.error(K)),(!f||f.length<2)&&(K="Language is missing! Please provide a valid language (alpha2code)",a(85,V=!0),a(84,J=!1),console.error(K)),V),Pt=()=>{clearTimeout(ke),ke=setTimeout(()=>Z(this,null,function*(){P=="true"&&(a(82,ye=!1),yield e.tick(),a(82,ye=!0))}),150)},$t=()=>{wt&&!A&&window.postMessage({type:"CategoryUpdate",itemId:B},window.location.href),wt=!1},ea=()=>{if(!xt()){a(84,J=!0),_a(f);let o=new URL(`${r}/v1/casino/groups/${l}`);o.searchParams.append("language",f),o.searchParams.append("platform",e.getDevice(ie)),jt(_e,parseInt(z)).then(b=>{let I=M.split(",");b&&(kt=b.items.filter(O=>{let T;if(O.games.total>0&&(T=!0,M))for(let ma of I)O.flags==ma&&(T=!1);return T}),a(91,se=kt.filter(O=>{var T;return!(((T=O==null?void 0:O.subGroups)==null?void 0:T.count)>0&&he=="true")}).map(O=>O.id)),Le=b.items.map(O=>O.id.toString()),a(84,J=!1))}),ne=Kt,ne&&(ue=ne.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}},ta=()=>{a(92,B=j),Pe({data:{itemId:B}})},aa=()=>{a(86,yt=!0)},fe=o=>{me=0,ve=setInterval(()=>{me+=1,a(87,re=!0),me>=3&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(ve))},1e3)},ge=o=>{me<3&&a(87,re=!1),clearInterval(ve)},sa=()=>{w==null||w.addEventListener("mousedown",fe,!1),w==null||w.addEventListener("touchstart",fe,!1),w==null||w.addEventListener("mouseup",ge,!1),w==null||w.addEventListener("touchend",ge,!1)},na=()=>{a(87,re=!1),w==null||w.removeEventListener("mousedown",fe),w==null||w.removeEventListener("touchstart",fe),w==null||w.removeEventListener("mouseup",ge),w==null||w.removeEventListener("touchend",ge)},oa=o=>{const b=o.detail.target;b.classList.remove("NotLoadedCategory");const I=b.parentElement.querySelector("ui-skeleton");I&&I.remove()};e.onDestroy(()=>{Q==null||Q.disconnect()}),e.onMount(()=>(window.addEventListener("scroll",St,!1),window.addEventListener("message",Mt,!1),window.addEventListener("orientationchange",Pt),()=>{window.removeEventListener("scroll",St),window.removeEventListener("message",Mt),window.removeEventListener("orientationchange",Pt),clearTimeout(ke),na()}));function la(o,b){e.binding_callbacks[o?"unshift":"push"](()=>{H[b]=o,a(81,H)})}function ia(o){e.binding_callbacks[o?"unshift":"push"](()=>{w=o,a(79,w)})}function ra(o){e.binding_callbacks[o?"unshift":"push"](()=>{W=o,a(80,W)})}return s.$$set=o=>{"endpoint"in o&&a(1,r=o.endpoint),"env"in o&&a(2,m=o.env),"datasource"in o&&a(3,l=o.datasource),"currency"in o&&a(4,_=o.currency),"lang"in o&&a(5,f=o.lang),"session"in o&&a(6,y=o.session),"userid"in o&&a(7,C=o.userid),"userroles"in o&&a(8,v=o.userroles),"mbsource"in o&&a(9,c=o.mbsource),"clientstyling"in o&&a(10,D=o.clientstyling),"clientstylingurl"in o&&a(11,S=o.clientstylingurl),"translationurl"in o&&a(12,N=o.translationurl),"cmsendpoint"in o&&a(13,E=o.cmsendpoint),"usesinglevendorfilter"in o&&a(14,h=o.usesinglevendorfilter),"currencylocale"in o&&a(15,k=o.currencylocale),"categorybackground"in o&&a(16,p=o.categorybackground),"visiblegames"in o&&a(17,U=o.visiblegames),"favorites"in o&&a(18,x=o.favorites),"haspanicbutton"in o&&a(19,F=o.haspanicbutton),"filteredcategories"in o&&a(20,M=o.filteredcategories),"activecategory"in o&&a(21,j=o.activecategory),"showgamename"in o&&a(22,L=o.showgamename),"livecasino"in o&&a(23,$=o.livecasino),"playrandomgame"in o&&a(24,q=o.playrandomgame),"randomgameslider"in o&&a(25,P=o.randomgameslider),"filteredrandomgamecategories"in o&&a(26,ee=o.filteredrandomgamecategories),"gamepagemodalurl"in o&&a(27,R=o.gamepagemodalurl),"casinogamesgridslider"in o&&a(28,G=o.casinogamesgridslider),"positionwinnerswidget"in o&&a(29,te=o.positionwinnerswidget),"tabsorder"in o&&a(30,ae=o.tabsorder),"enableautoscroll"in o&&a(31,g=o.enableautoscroll),"istopavailable"in o&&a(32,d=o.istopavailable),"isrecentavailable"in o&&a(33,Fe=o.isrecentavailable),"integratedgameframedesktop"in o&&a(34,Ge=o.integratedgameframedesktop),"integratedgameframemobile"in o&&a(35,Ie=o.integratedgameframemobile),"periodrecent"in o&&a(36,Be=o.periodrecent),"periodtop"in o&&a(37,De=o.periodtop),"numberusersrecent"in o&&a(38,Ne=o.numberusersrecent),"numberuserstop"in o&&a(39,Oe=o.numberuserstop),"amountlimit"in o&&a(40,Te=o.amountlimit),"defaultcurrency"in o&&a(41,qe=o.defaultcurrency),"showsubgroups"in o&&a(99,he=o.showsubgroups),"positionjackpotbanners"in o&&a(42,Re=o.positionjackpotbanners),"caticon0"in o&&a(43,ze=o.caticon0),"caticon1"in o&&a(44,Ae=o.caticon1),"caticon2"in o&&a(45,We=o.caticon2),"caticon3"in o&&a(46,Ue=o.caticon3),"backgroundsrc"in o&&a(47,Ye=o.backgroundsrc),"backgroundsrcmobile"in o&&a(48,He=o.backgroundsrcmobile),"titlelogopath"in o&&a(49,Je=o.titlelogopath),"iconlabels"in o&&a(50,Ve=o.iconlabels),"visualstructure"in o&&a(51,Ke=o.visualstructure),"realtimeupdate"in o&&a(52,Qe=o.realtimeupdate),"positioncollections"in o&&a(53,Ze=o.positioncollections),"type"in o&&a(54,Xe=o.type),"titletype"in o&&a(55,xe=o.titletype),"collectionprovidersgamenames"in o&&a(56,$e=o.collectionprovidersgamenames),"addfilterselector"in o&&a(57,et=o.addfilterselector),"addsortingselector"in o&&a(58,tt=o.addsortingselector),"filterbylogo"in o&&a(59,at=o.filterbylogo),"positioncasinocalendar"in o&&a(60,st=o.positioncasinocalendar),"casinomygames"in o&&a(0,oe=o.casinomygames),"mostplayed"in o&&a(61,be=o.mostplayed),"lastplayed"in o&&a(62,pe=o.lastplayed),"lastplayedperiod"in o&&a(63,nt=o.lastplayedperiod),"mostplayedperiod"in o&&a(64,ot=o.mostplayedperiod),"lastplayedorder"in o&&a(65,lt=o.lastplayedorder),"lastplayedlimit"in o&&a(66,it=o.lastplayedlimit),"lastplayedunique"in o&&a(67,rt=o.lastplayedunique),"mostplayedrounds"in o&&a(68,mt=o.mostplayedrounds),"winnersdatasources"in o&&a(69,ut=o.winnersdatasources),"fetchviaevent"in o&&a(70,_t=o.fetchviaevent),"positionjelobbywidget"in o&&a(71,ct=o.positionjelobbywidget),"specificcategory"in o&&a(72,dt=o.specificcategory),"launchbygamecard"in o&&a(73,ft=o.launchbygamecard),"iconvisible"in o&&a(74,gt=o.iconvisible),"iconvisibleonanim"in o&&a(75,ht=o.iconvisibleonanim),"randombuttonicon"in o&&a(76,bt=o.randombuttonicon),"positionlobbyrandomplaywidget"in o&&a(77,pt=o.positionlobbyrandomplaywidget),"showmoresections"in o&&a(78,le=o.showmoresections),"categorieslimit"in o&&a(100,z=o.categorieslimit),"$$scope"in o&&a(102,u=o.$$scope)},s.$$.update=()=>{s.$$.dirty[0]&2097184&&f&&j&&ta(),s.$$.dirty[0]&194&&y&&C&&r&&aa(),s.$$.dirty[0]&42|s.$$.dirty[3]&128&&r&&l&&f&&z&&ea(),s.$$.dirty[0]&32&&f&&$t(),s.$$.dirty[0]&4096&&N&&Qt(),s.$$.dirty[0]&1024|s.$$.dirty[2]&262144&&D&&W&&e.setClientStyling(W,D),s.$$.dirty[0]&2048|s.$$.dirty[2]&262144&&S&&W&&e.setClientStylingURL(W,S),s.$$.dirty[0]&512|s.$$.dirty[2]&262144&&c&&W&&e.setStreamStyling(W,`${c}.Style`),s.$$.dirty[2]&131072&&w&&sa(),s.$$.dirty[2]&589824|s.$$.dirty[3]&384&&je&&H&&le==="false"&&z&&Zt()},[oe,r,m,l,_,f,y,C,v,c,D,S,N,E,h,k,p,U,x,F,M,j,L,$,q,P,ee,R,G,te,ae,g,d,Fe,Ge,Ie,Be,De,Ne,Oe,Te,qe,Re,ze,Ae,We,Ue,Ye,He,Je,Ve,Ke,Qe,Ze,Xe,xe,$e,et,tt,at,st,be,pe,nt,ot,lt,it,rt,mt,ut,_t,ct,dt,ft,gt,ht,bt,pt,le,w,W,H,ye,we,J,V,yt,re,Y,A,Ce,se,B,vt,n,ie,Lt,Xt,oa,he,z,je,u,i,la,ia,ra]}class Vt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ja,La,e.safe_not_equal,{endpoint:1,env:2,datasource:3,currency:4,lang:5,session:6,userid:7,userroles:8,mbsource:9,clientstyling:10,clientstylingurl:11,translationurl:12,cmsendpoint:13,usesinglevendorfilter:14,currencylocale:15,categorybackground:16,visiblegames:17,favorites:18,haspanicbutton:19,filteredcategories:20,activecategory:21,showgamename:22,livecasino:23,playrandomgame:24,randomgameslider:25,filteredrandomgamecategories:26,gamepagemodalurl:27,casinogamesgridslider:28,positionwinnerswidget:29,tabsorder:30,enableautoscroll:31,istopavailable:32,isrecentavailable:33,integratedgameframedesktop:34,integratedgameframemobile:35,periodrecent:36,periodtop:37,numberusersrecent:38,numberuserstop:39,amountlimit:40,defaultcurrency:41,showsubgroups:99,positionjackpotbanners:42,caticon0:43,caticon1:44,caticon2:45,caticon3:46,backgroundsrc:47,backgroundsrcmobile:48,titlelogopath:49,iconlabels:50,visualstructure:51,realtimeupdate:52,positioncollections:53,type:54,titletype:55,collectionprovidersgamenames:56,addfilterselector:57,addsortingselector:58,filterbylogo:59,positioncasinocalendar:60,casinomygames:0,mostplayed:61,lastplayed:62,lastplayedperiod:63,mostplayedperiod:64,lastplayedorder:65,lastplayedlimit:66,lastplayedunique:67,mostplayedrounds:68,winnersdatasources:69,fetchviaevent:70,positionjelobbywidget:71,specificcategory:72,launchbygamecard:73,iconvisible:74,iconvisibleonanim:75,randombuttonicon:76,positionlobbyrandomplaywidget:77,showmoresections:78,categorieslimit:100},ca,[-1,-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get env(){return this.$$.ctx[2]}set env(t){this.$$set({env:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency: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 userroles(){return this.$$.ctx[8]}set userroles(t){this.$$set({userroles:t}),e.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[13]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[14]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}get currencylocale(){return this.$$.ctx[15]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}get categorybackground(){return this.$$.ctx[16]}set categorybackground(t){this.$$set({categorybackground:t}),e.flush()}get visiblegames(){return this.$$.ctx[17]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get favorites(){return this.$$.ctx[18]}set favorites(t){this.$$set({favorites:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[19]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get filteredcategories(){return this.$$.ctx[20]}set filteredcategories(t){this.$$set({filteredcategories:t}),e.flush()}get activecategory(){return this.$$.ctx[21]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get showgamename(){return this.$$.ctx[22]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get livecasino(){return this.$$.ctx[23]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get playrandomgame(){return this.$$.ctx[24]}set playrandomgame(t){this.$$set({playrandomgame:t}),e.flush()}get randomgameslider(){return this.$$.ctx[25]}set randomgameslider(t){this.$$set({randomgameslider:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[26]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[27]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[28]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get positionwinnerswidget(){return this.$$.ctx[29]}set positionwinnerswidget(t){this.$$set({positionwinnerswidget:t}),e.flush()}get tabsorder(){return this.$$.ctx[30]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[31]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get istopavailable(){return this.$$.ctx[32]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[33]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[34]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[35]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get periodrecent(){return this.$$.ctx[36]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[37]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[38]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[39]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[40]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[41]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get showsubgroups(){return this.$$.ctx[99]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get positionjackpotbanners(){return this.$$.ctx[42]}set positionjackpotbanners(t){this.$$set({positionjackpotbanners:t}),e.flush()}get caticon0(){return this.$$.ctx[43]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[44]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[45]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[46]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[47]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[48]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[49]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get iconlabels(){return this.$$.ctx[50]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get visualstructure(){return this.$$.ctx[51]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[52]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get positioncollections(){return this.$$.ctx[53]}set positioncollections(t){this.$$set({positioncollections:t}),e.flush()}get type(){return this.$$.ctx[54]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[55]}set titletype(t){this.$$set({titletype:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[56]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get addfilterselector(){return this.$$.ctx[57]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[58]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[59]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get positioncasinocalendar(){return this.$$.ctx[60]}set positioncasinocalendar(t){this.$$set({positioncasinocalendar:t}),e.flush()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get mostplayed(){return this.$$.ctx[61]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[62]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[63]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[64]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[65]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[66]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[67]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[68]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[69]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get fetchviaevent(){return this.$$.ctx[70]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),e.flush()}get positionjelobbywidget(){return this.$$.ctx[71]}set positionjelobbywidget(t){this.$$set({positionjelobbywidget:t}),e.flush()}get specificcategory(){return this.$$.ctx[72]}set specificcategory(t){this.$$set({specificcategory:t}),e.flush()}get launchbygamecard(){return this.$$.ctx[73]}set launchbygamecard(t){this.$$set({launchbygamecard:t}),e.flush()}get iconvisible(){return this.$$.ctx[74]}set iconvisible(t){this.$$set({iconvisible:t}),e.flush()}get iconvisibleonanim(){return this.$$.ctx[75]}set iconvisibleonanim(t){this.$$set({iconvisibleonanim:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[76]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get positionlobbyrandomplaywidget(){return this.$$.ctx[77]}set positionlobbyrandomplaywidget(t){this.$$set({positionlobbyrandomplaywidget:t}),e.flush()}get showmoresections(){return this.$$.ctx[78]}set showmoresections(t){this.$$set({showmoresections:t}),e.flush()}get categorieslimit(){return this.$$.ctx[100]}set categorieslimit(t){this.$$set({categorieslimit:t}),e.flush()}}e.create_custom_element(Vt,{endpoint:{},env:{},datasource:{},currency:{},lang:{},session:{},userid:{},userroles:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},cmsendpoint:{},usesinglevendorfilter:{},currencylocale:{},categorybackground:{},visiblegames:{},favorites:{},haspanicbutton:{},filteredcategories:{},activecategory:{},showgamename:{},livecasino:{},playrandomgame:{},randomgameslider:{},filteredrandomgamecategories:{},gamepagemodalurl:{},casinogamesgridslider:{},positionwinnerswidget:{},tabsorder:{},enableautoscroll:{},istopavailable:{},isrecentavailable:{},integratedgameframedesktop:{},integratedgameframemobile:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},defaultcurrency:{},showsubgroups:{},positionjackpotbanners:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},backgroundsrc:{},backgroundsrcmobile:{},titlelogopath:{},iconlabels:{},visualstructure:{},realtimeupdate:{},positioncollections:{},type:{},titletype:{},collectionprovidersgamenames:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},positioncasinocalendar:{},casinomygames:{},mostplayed:{},lastplayed:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{},winnersdatasources:{},fetchviaevent:{},positionjelobbywidget:{},specificcategory:{},launchbygamecard:{},iconvisible:{},iconvisibleonanim:{},randombuttonicon:{},positionlobbyrandomplaywidget:{},showmoresections:{},categorieslimit:{}},["je-jackpots-widget"],[],!0);exports.default=Vt;
1
+ "use strict";var Z=(s,t,a)=>new Promise((n,i)=>{var u=l=>{try{m(a.next(l))}catch(_){i(_)}},r=l=>{try{m(a.throw(l))}catch(_){i(_)}},m=l=>l.done?n(l.value):Promise.resolve(l.value).then(u,r);m((a=a.apply(s,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-4k288rHh.cjs");require("./CasinoFavoritesSection-DYzKNVZJ.cjs");require("../stencil/casino-play-random-game-PuRF3mXV.cjs");require("../stencil/ui-skeleton-BWEKzqTN.cjs");require("./CasinoGamesCategorySection-DCjn0aiz.cjs");function ua({withLocale:s,translations:t}){e.$locale.subscribe(a=>{a==null&&(e.$dictionary.set(t),e.$locale.set(s))})}function Ft(s,t){e.addMessages(s,t)}function _a(s){e.$locale.set(s)}const Gt={en:{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear",loadMore:"Load more categories"},"zh-hk":{500:"500 錯誤 - 內部服務器錯誤",search:"搜索",loading:"正在加載",searchMobile:"搜索",break:"休息 1 天",breakButton:"24 小時冷卻",searchGames:"搜索賭場遊戲",noGamesPlayed:"你沒有玩過遊戲!",filters:"過濾器",clear:"清除",loadMore:"Load more categories"},de:{500:"500-Fehler – Interner Serverfehler",search:"Suche",loading:"Loading",searchMobile:"Suche",break:"Mach mal einen Tag Pause!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken",searchGames:"Casinospiele suchen",noGamesPlayed:"Sie haben keine Spiele gespielt!",filters:"Filter",clear:"Zurücksetzen",loadMore:"Load more categories"},it:{500:"Errore 500 - Errore interno del server",search:"Cerca",loading:"Loading",searchMobile:"Cerca",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cerca giochi da casinò",noGamesPlayed:"Non hai giochi giocati!",filters:"Filtri",clear:"Azzera",loadMore:"Load more categories"},fr:{500:"Erreur - erreur de serveur interne",search:"Recherche",loading:"Chargement",searchMobile:"Recherche",break:"Faire une pause d'un jour dans le jeu",breakButton:"Refroidissement de 24 heures",searchGames:"Recherche de jeux de casino",noGamesPlayed:"Vous n'avez aucune partie jouée",filters:"Filtres",clear:"Clair",loadMore:"Load more categories"},es:{500:"500 Error - Error Servidor Interno",search:"Buscar ...",loading:"Cargando ...",searchMobile:"Buscar",break:"Tomar 1 día de descanso de juego",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado ningún juego! Juega Ya",filters:"Filtros",clear:"Borrar",loadMore:"Load more categories"},tr:{500:"500 Hatası - Dahili Sunucu Hatası",search:"Arama",loading:"Yükleniyor",searchMobile:"Arama",break:"Oyuna 1 gün ara verin",breakButton:"24 saatlik kilit için düğmeyi 3 saniye basılı tutun",searchGames:"Casino oyunları ara",noGamesPlayed:"Oynadığın oyun yok!",filters:"Filtreler",clear:"Temizle",loadMore:"Load more categories"},ru:{500:"Ошибка 500 — внутренняя ошибка сервера",search:"Искать игры ...",loading:"Загрузка ...",searchMobile:"Поиск",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Поиск игр казино",noGamesPlayed:"У вас нет сыгранных игр!",filters:"Фильтры",clear:"Прозрачный",loadMore:"Load more categories"},ro:{500:"500 Error - Internal Server Error",search:"Cautare jocuri...",loading:"Se incarca ...",searchMobile:"Cauta",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Cauta jocuri de casino",noGamesPlayed:"Nu ai jucat niciun joc!",filters:"Filtrare",clear:"Sterge",loadMore:"Load more categories"},hr:{500:"500 Error - Internal Server Error",search:"Pretraga",loading:"Učitavanje",searchMobile:"Pretraga",break:"Uzmi 1 dan pauze od igranja",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata",searchGames:"Pretražite casino igre",noGamesPlayed:"Nemate odigranih igara!",filters:"Filteri",clear:"Čisto",loadMore:"Load more categories"},hu:{500:"500 Error - Internal Server Error",search:"Keresés",loading:"betöltés",searchMobile:"Keresés",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Kaszinó játékok keresése",noGamesPlayed:"Nincsenek lejátszott játékok!",filters:"Szűrők",clear:"Visszaállítás",loadMore:"Load more categories"},pl:{500:"500 Error - Internal Server Error",search:"Szukaj",loading:"Ładowanie",searchMobile:"Szukaj",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Wyszukaj gry kasynowe",noGamesPlayed:"Nie grałeś w żadne gry!",filters:"Filtry",clear:"Przywróć",loadMore:"Load more categories"},pt:{500:"Erro 500 - Erro interno do servidor",search:"Procurar ...",loading:"Carregando ...",searchMobile:"Procurar",break:"Faça uma pausa de 1 dia no jogo",breakButton:"Faça uma pausa de 24 horas no jogo",searchGames:"Pesquisar jogos de cassino",noGamesPlayed:"Você não experimentou nenhum jogo!",filters:"Filtros",clear:"Limpar",loadMore:"Load more categories"},sl:{500:"500 Error - Internal Server Error",search:"Iskanje",loading:"Loading",searchMobile:"Iskanje",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Ponastavitev",loadMore:"Load more categories"},sr:{500:"500 Error - Internal Server Error",search:"Pretraži",loading:"Loading",searchMobile:"Pretraži",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Resetuj",loadMore:"Load more categories"},"pt-br":{500:"Erro 500 – Erro interno do servidor",search:"Procurar",loading:"Carregando",searchMobile:"Procurar",break:"Faça uma pausa a de jogo por um día",breakButton:"Pressione o botão por 3 segundos para um bloqueio instantâneo de 24 horas",searchGames:"Pesquise jogos de cassino",noGamesPlayed:"Você ainda não jogou!",Search:"Procurar",Loading:"Carregando",SearchMobile:"Procurar",SearchGames:"Pesquise jogos de cassino",filters:"Filtros",clear:"Eliminar",loadMore:"Load more categories"},"es-mx":{500:"500 Error - Error interno del servidor",search:"Buscar",loading:"Cargando",searchMobile:"Buscar",break:"Tomar un descanso de un día de juego",breakButton:"Presiona el botón por 3 segundos para un bloqueo instantáneo de 24 horas",searchGames:"Buscar juegos de casino",noGamesPlayed:"No has jugado aún!",Search:"Buscar",Loading:"Cargando",SearchMobile:"Buscar",SearchGames:"Buscar juegos de casino",filters:"Filtros",clear:"Eliminar",loadMore:"Load more categories"},"en-us":{500:"500 Error - Internal Server Error",search:"Search",loading:"Loading",searchMobile:"Search",break:"Take 1 day break from playing",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",searchGames:"Search casino games",noGamesPlayed:"You have no games played!",filters:"Filters",clear:"Clear",loadMore:"Load more categories"}};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("./CasinoRandomGame-DRGWOXO6.cjs")).then(({default:t})=>{!customElements.get("casino-random-game")&&customElements.define("casino-random-game",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("./CasinoWinners-5S4Rqt23.cjs")).then(({default:t})=>{!customElements.get("casino-winners")&&customElements.define("casino-winners",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("./CasinoJackpotBanner-DRtiH_Mn.cjs")).then(({default:t})=>{!customElements.get("casino-jackpot-banner")&&customElements.define("casino-jackpot-banner",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("./CasinoCollectionsProviders-OZw09qnR.cjs")).then(({default:t})=>{!customElements.get("casino-collections-providers")&&customElements.define("casino-collections-providers",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("./CasinoMyGames-Bqyyy2Me.cjs")).then(({default:t})=>{!customElements.get("casino-my-games")&&customElements.define("casino-my-games",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("./CasinoSearch-D14Ak2E9.cjs")).then(({default:t})=>{!customElements.get("casino-search")&&customElements.define("casino-search",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("./CasinoCalendar-4k288rHh.cjs")).then(t=>t.CasinoCalendar_ce).then(({default:t})=>{!customElements.get("casino-calendar")&&customElements.define("casino-calendar",t.element)})}function ca(s){e.append_styles(s,"svelte-1xdd8i1","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.NotLoadedCategory{display:none !important}.CategoriesFiltersBar casino-filter{display:flex;justify-self:end;min-height:48px}.CasinoGamesCategorySectionWrapper{min-height:228px}.CasinoCollectionsProvidersWrapper{margin-top:24px;min-height:330px}.CategoriesLobby{margin:0 auto;max-width:1300px;position:relative;display:flex;flex-direction:column;gap:10px}.CasinoWinnersWrapper{background:transparent;width:100%;min-height:320px}.CasinoJackpotBannerWrapper{min-height:116px}.CasinoCalendarWrapper{min-height:268px}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:20px}.PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:280px;height:48px;line-height:18px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}.PanicButtonMobile{width:280px;padding:0 5px;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}[type=search]{appearance:none}.CategoryContainer,.JackpotsContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer,.JackpotsContainer{padding:0 2.4%}}.SearchLoading{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));font-size:14px;margin-top:16px;text-align:center}.LoadMoreCategories{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));display:flex;justify-content:center}.LoadMoreCategories p{border:1px solid var(--emw--button-border-color, var(--emw--color-white, #FFFFFF));padding:10px;border-radius:var(--emw--border-radius-medium, 10px);cursor:pointer}")}function It(s,t,a){const n=s.slice();return n[148]=t[a],n[149]=t,n[150]=a,n}const da=s=>({}),Bt=s=>({class:e.isMobile(s[95])?"":"JackpotsContainer"});function fa(s){let t,a,n,i,u,r,m,l,_,f,y,C=s[14]==="true"&&Dt(s),v=s[24]=="true"&&X==!1&&!s[90]&&Nt(s),c=(+s[77]==0||!s[89])&&s[25]=="true"&&X==!1&&!s[90]&&Ot(s);const D=[ba,ha],S=[];function N(h,k){return h[84]?0:h[90]?-1:1}~(l=N(s))&&(_=S[l]=D[l](s));let E=s[86]&&s[19]=="true"&&Jt(s);return{c(){t=e.element("section"),a=e.element("div"),n=e.element("casino-search"),i=e.space(),C&&C.c(),u=e.space(),v&&v.c(),r=e.space(),c&&c.c(),m=e.space(),_&&_.c(),f=e.space(),E&&E.c(),e.set_custom_element_data(n,"endpoint",s[1]),e.set_custom_element_data(n,"datasource",s[3]),e.set_custom_element_data(n,"showgamename",s[22]),e.set_custom_element_data(n,"lang",s[5]),e.set_custom_element_data(n,"clientstyling",s[10]),e.set_custom_element_data(n,"clientstylingurl",s[11]),e.set_custom_element_data(n,"integratedgameframedesktop",s[34]),e.set_custom_element_data(n,"integratedgameframemobile",s[35]),e.set_custom_element_data(n,"translationurl",s[12]),e.set_custom_element_data(n,"showfavorites",s[18]),e.set_custom_element_data(n,"mbsource",s[9]),e.attr(a,"class","CategoriesFiltersBar"),e.attr(t,"class","CategoriesLobby")},m(h,k){e.insert(h,t,k),e.append(t,a),e.append(a,n),e.append(a,i),C&&C.m(a,null),e.append(t,u),v&&v.m(t,null),e.append(t,r),c&&c.m(t,null),e.append(t,m),~l&&S[l].m(t,null),e.append(t,f),E&&E.m(t,null),y=!0},p(h,k){(!y||k[0]&2)&&e.set_custom_element_data(n,"endpoint",h[1]),(!y||k[0]&8)&&e.set_custom_element_data(n,"datasource",h[3]),(!y||k[0]&4194304)&&e.set_custom_element_data(n,"showgamename",h[22]),(!y||k[0]&32)&&e.set_custom_element_data(n,"lang",h[5]),(!y||k[0]&1024)&&e.set_custom_element_data(n,"clientstyling",h[10]),(!y||k[0]&2048)&&e.set_custom_element_data(n,"clientstylingurl",h[11]),(!y||k[1]&8)&&e.set_custom_element_data(n,"integratedgameframedesktop",h[34]),(!y||k[1]&16)&&e.set_custom_element_data(n,"integratedgameframemobile",h[35]),(!y||k[0]&4096)&&e.set_custom_element_data(n,"translationurl",h[12]),(!y||k[0]&262144)&&e.set_custom_element_data(n,"showfavorites",h[18]),(!y||k[0]&512)&&e.set_custom_element_data(n,"mbsource",h[9]),h[14]==="true"?C?C.p(h,k):(C=Dt(h),C.c(),C.m(a,null)):C&&(C.d(1),C=null),h[24]=="true"&&X==!1&&!h[90]?v?v.p(h,k):(v=Nt(h),v.c(),v.m(t,r)):v&&(v.d(1),v=null),(+h[77]==0||!h[89])&&h[25]=="true"&&X==!1&&!h[90]?c?c.p(h,k):(c=Ot(h),c.c(),c.m(t,m)):c&&(c.d(1),c=null);let p=l;l=N(h),l===p?~l&&S[l].p(h,k):(_&&(e.group_outros(),e.transition_out(S[p],1,1,()=>{S[p]=null}),e.check_outros()),~l?(_=S[l],_?_.p(h,k):(_=S[l]=D[l](h),_.c()),e.transition_in(_,1),_.m(t,f)):_=null),h[86]&&h[19]=="true"?E?E.p(h,k):(E=Jt(h),E.c(),E.m(t,null)):E&&(E.d(1),E=null)},i(h){y||(e.transition_in(_),y=!0)},o(h){e.transition_out(_),y=!1},d(h){h&&e.detach(t),C&&C.d(),v&&v.d(),c&&c.d(),~l&&S[l].d(),E&&E.d()}}}function ga(s){let t,a=s[94]("500")+"";return{c(){t=e.element("p"),e.attr(t,"class","SearchLoading")},m(n,i){e.insert(n,t,i),t.innerHTML=a},p(n,i){i[3]&2&&a!==(a=n[94]("500")+"")&&(t.innerHTML=a)},i:e.noop,o:e.noop,d(n){n&&e.detach(t)}}}function Dt(s){let t,a;return{c(){t=e.element("casino-filter"),e.set_custom_element_data(t,"clientstylingurl",s[11]),e.set_custom_element_data(t,"clientstyling",s[10]),e.set_custom_element_data(t,"endpoint",s[1]),e.set_custom_element_data(t,"datasource",s[3]),e.set_custom_element_data(t,"categoryid",a=s[92]||s[91].join(",")),e.set_custom_element_data(t,"usesinglevendorfilter","true"),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"mbsource",s[9]),e.set_custom_element_data(t,"addsortingselector",s[58]),e.set_custom_element_data(t,"filterbylogo",s[59])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&2048&&e.set_custom_element_data(t,"clientstylingurl",n[11]),i[0]&1024&&e.set_custom_element_data(t,"clientstyling",n[10]),i[0]&2&&e.set_custom_element_data(t,"endpoint",n[1]),i[0]&8&&e.set_custom_element_data(t,"datasource",n[3]),i[2]&1610612736&&a!==(a=n[92]||n[91].join(","))&&e.set_custom_element_data(t,"categoryid",a),i[0]&32&&e.set_custom_element_data(t,"lang",n[5]),i[0]&512&&e.set_custom_element_data(t,"mbsource",n[9]),i[1]&134217728&&e.set_custom_element_data(t,"addsortingselector",n[58]),i[1]&268435456&&e.set_custom_element_data(t,"filterbylogo",n[59])},d(n){n&&e.detach(t)}}}function Nt(s){let t;return{c(){t=e.element("casino-random-game"),e.set_custom_element_data(t,"datasource",s[3]),e.set_custom_element_data(t,"filteredrandomgamecategories",s[26]),e.set_custom_element_data(t,"endpoint",s[1]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"gameevent",s[83]),e.set_custom_element_data(t,"randombuttonicon",s[76]),e.set_custom_element_data(t,"clientstyling",s[10]),e.set_custom_element_data(t,"clientstylingurl",s[11]),e.set_custom_element_data(t,"mbsource",s[9])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&8&&e.set_custom_element_data(t,"datasource",a[3]),n[0]&67108864&&e.set_custom_element_data(t,"filteredrandomgamecategories",a[26]),n[0]&2&&e.set_custom_element_data(t,"endpoint",a[1]),n[0]&32&&e.set_custom_element_data(t,"lang",a[5]),n[2]&2097152&&e.set_custom_element_data(t,"gameevent",a[83]),n[2]&16384&&e.set_custom_element_data(t,"randombuttonicon",a[76]),n[0]&1024&&e.set_custom_element_data(t,"clientstyling",a[10]),n[0]&2048&&e.set_custom_element_data(t,"clientstylingurl",a[11]),n[0]&512&&e.set_custom_element_data(t,"mbsource",a[9])},d(a){a&&e.detach(t)}}}function Ot(s){let t,a=s[82]&&Tt(s);return{c(){a&&a.c(),t=e.empty()},m(n,i){a&&a.m(n,i),e.insert(n,t,i)},p(n,i){n[82]?a?a.p(n,i):(a=Tt(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 Tt(s){let t;return{c(){t=e.element("casino-play-random-game"),e.set_custom_element_data(t,"datasource",s[3]),e.set_custom_element_data(t,"endpoint",s[1]),e.set_custom_element_data(t,"language",s[5]),e.set_custom_element_data(t,"specific-category",s[72]),e.set_custom_element_data(t,"icon-visible",s[74]),e.set_custom_element_data(t,"icon-visible-on-anim",s[75]),e.set_custom_element_data(t,"launch-by-game-card",s[73]),e.set_custom_element_data(t,"client-styling",s[10]),e.set_custom_element_data(t,"client-styling-url",s[11]),e.set_custom_element_data(t,"translation-url",s[12]),e.set_custom_element_data(t,"mb-source",s[9])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&8&&e.set_custom_element_data(t,"datasource",a[3]),n[0]&2&&e.set_custom_element_data(t,"endpoint",a[1]),n[0]&32&&e.set_custom_element_data(t,"language",a[5]),n[2]&1024&&e.set_custom_element_data(t,"specific-category",a[72]),n[2]&4096&&e.set_custom_element_data(t,"icon-visible",a[74]),n[2]&8192&&e.set_custom_element_data(t,"icon-visible-on-anim",a[75]),n[2]&2048&&e.set_custom_element_data(t,"launch-by-game-card",a[73]),n[0]&1024&&e.set_custom_element_data(t,"client-styling",a[10]),n[0]&2048&&e.set_custom_element_data(t,"client-styling-url",a[11]),n[0]&4096&&e.set_custom_element_data(t,"translation-url",a[12]),n[0]&512&&e.set_custom_element_data(t,"mb-source",a[9])},d(a){a&&e.detach(t)}}}function ha(s){let t,a,n,i;const u=[ka,ya,pa],r=[];function m(l,_){return l[89]?0:l[88]?1:2}return t=m(s),a=r[t]=u[t](s),{c(){a.c(),n=e.empty()},m(l,_){r[t].m(l,_),e.insert(l,n,_),i=!0},p(l,_){let f=t;t=m(l),t===f?r[t].p(l,_):(e.group_outros(),e.transition_out(r[f],1,1,()=>{r[f]=null}),e.check_outros(),a=r[t],a?a.p(l,_):(a=r[t]=u[t](l),a.c()),e.transition_in(a,1),a.m(n.parentNode,n))},i(l){i||(e.transition_in(a),i=!0)},o(l){e.transition_out(a),i=!1},d(l){l&&e.detach(n),r[t].d(l)}}}function ba(s){let t,a=s[94]("loading")+"",n;return{c(){t=e.element("p"),n=e.text(a),e.attr(t,"class","SearchLoading")},m(i,u){e.insert(i,t,u),e.append(t,n)},p(i,u){u[3]&2&&a!==(a=i[94]("loading")+"")&&e.set_data(n,a)},i:e.noop,o:e.noop,d(i){i&&e.detach(t)}}}function pa(s){let t,a,n,i=s[78]==="true"&&s[93]&&s[89]&&qt(s);return{c(){t=e.element("casino-games-category-section"),a=e.space(),i&&i.c(),n=e.empty(),e.set_custom_element_data(t,"lobbyscreen",s[89]),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"endpoint",s[1]),e.set_custom_element_data(t,"datasource",s[3]),e.set_custom_element_data(t,"favorites",s[18]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"currency",s[4]),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"categoryid",s[92]),e.set_custom_element_data(t,"categorygames","9"),e.set_custom_element_data(t,"fetchviaevent",s[70]),e.set_custom_element_data(t,"class","CategoryContainer"),e.set_custom_element_data(t,"showgamename",s[22]),e.set_custom_element_data(t,"translationurl",s[12]),e.set_custom_element_data(t,"mbsource",s[9]),e.set_custom_element_data(t,"clientstyling",s[10]),e.set_custom_element_data(t,"clientstylingurl",s[11]),e.set_custom_element_data(t,"livecasino",s[23]),e.set_custom_element_data(t,"visiblegames",s[17]),e.set_custom_element_data(t,"gamepagemodalurl",s[27]),e.set_custom_element_data(t,"integratedgameframedesktop",s[34]),e.set_custom_element_data(t,"integratedgameframemobile",s[35]),e.set_custom_element_data(t,"casinomygames",s[0]),e.set_custom_element_data(t,"filterbylogo",s[59]),e.set_custom_element_data(t,"addfilterselector",s[57]),e.set_custom_element_data(t,"addsortingselector",s[58]),e.set_custom_element_data(t,"casinogamesgridslider",s[28]),e.set_custom_element_data(t,"usesinglevendorfilter",s[14])},m(u,r){e.insert(u,t,r),e.insert(u,a,r),i&&i.m(u,r),e.insert(u,n,r)},p(u,r){r[2]&134217728&&e.set_custom_element_data(t,"lobbyscreen",u[89]),r[0]&128&&e.set_custom_element_data(t,"userid",u[7]),r[0]&2&&e.set_custom_element_data(t,"endpoint",u[1]),r[0]&8&&e.set_custom_element_data(t,"datasource",u[3]),r[0]&262144&&e.set_custom_element_data(t,"favorites",u[18]),r[0]&32&&e.set_custom_element_data(t,"lang",u[5]),r[0]&16&&e.set_custom_element_data(t,"currency",u[4]),r[0]&64&&e.set_custom_element_data(t,"session",u[6]),r[2]&1073741824&&e.set_custom_element_data(t,"categoryid",u[92]),r[2]&256&&e.set_custom_element_data(t,"fetchviaevent",u[70]),r[0]&4194304&&e.set_custom_element_data(t,"showgamename",u[22]),r[0]&4096&&e.set_custom_element_data(t,"translationurl",u[12]),r[0]&512&&e.set_custom_element_data(t,"mbsource",u[9]),r[0]&1024&&e.set_custom_element_data(t,"clientstyling",u[10]),r[0]&2048&&e.set_custom_element_data(t,"clientstylingurl",u[11]),r[0]&8388608&&e.set_custom_element_data(t,"livecasino",u[23]),r[0]&131072&&e.set_custom_element_data(t,"visiblegames",u[17]),r[0]&134217728&&e.set_custom_element_data(t,"gamepagemodalurl",u[27]),r[1]&8&&e.set_custom_element_data(t,"integratedgameframedesktop",u[34]),r[1]&16&&e.set_custom_element_data(t,"integratedgameframemobile",u[35]),r[0]&1&&e.set_custom_element_data(t,"casinomygames",u[0]),r[1]&268435456&&e.set_custom_element_data(t,"filterbylogo",u[59]),r[1]&67108864&&e.set_custom_element_data(t,"addfilterselector",u[57]),r[1]&134217728&&e.set_custom_element_data(t,"addsortingselector",u[58]),r[0]&268435456&&e.set_custom_element_data(t,"casinogamesgridslider",u[28]),r[0]&16384&&e.set_custom_element_data(t,"usesinglevendorfilter",u[14]),u[78]==="true"&&u[93]&&u[89]?i?i.p(u,r):(i=qt(u),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},i:e.noop,o:e.noop,d(u){u&&(e.detach(t),e.detach(a),e.detach(n)),i&&i.d(u)}}}function ya(s){let t;return{c(){t=e.element("casino-my-games"),e.set_custom_element_data(t,"userid",s[7]),e.set_custom_element_data(t,"session",s[6]),e.set_custom_element_data(t,"endpoint",s[1]),e.set_custom_element_data(t,"datasource",s[3]),e.set_custom_element_data(t,"lang",s[5]),e.set_custom_element_data(t,"currency",s[4]),e.set_custom_element_data(t,"favorites",s[18]),e.set_custom_element_data(t,"clientstyling",s[10]),e.set_custom_element_data(t,"clientstylingurl",s[11]),e.set_custom_element_data(t,"livecasino",s[23]),e.set_custom_element_data(t,"visiblegames",s[17]),e.set_custom_element_data(t,"gamepagemodalurl",s[27]),e.set_custom_element_data(t,"showgamename",s[22]),e.set_custom_element_data(t,"integratedgameframedesktop",s[34]),e.set_custom_element_data(t,"integratedgameframemobile",s[35]),e.set_custom_element_data(t,"mbsource",s[9]),e.set_custom_element_data(t,"translationurl",s[12]),e.set_custom_element_data(t,"mostplayed",s[61]),e.set_custom_element_data(t,"lastplayed",s[62]),e.set_custom_element_data(t,"filteredcategories",s[20]),e.set_custom_element_data(t,"activecategory",s[21]),e.set_custom_element_data(t,"lastplayedunique",s[67]),e.set_custom_element_data(t,"categoryindex","0"),e.set_custom_element_data(t,"categoryid","MYGAMES"),e.set_custom_element_data(t,"casinomygames",s[0]),e.set_custom_element_data(t,"lastplayedperiod",s[63]),e.set_custom_element_data(t,"mostplayedperiod",s[64]),e.set_custom_element_data(t,"lastplayedorder",s[65]),e.set_custom_element_data(t,"lastplayedlimit",s[66]),e.set_custom_element_data(t,"mostplayedrounds",s[68])},m(a,n){e.insert(a,t,n)},p(a,n){n[0]&128&&e.set_custom_element_data(t,"userid",a[7]),n[0]&64&&e.set_custom_element_data(t,"session",a[6]),n[0]&2&&e.set_custom_element_data(t,"endpoint",a[1]),n[0]&8&&e.set_custom_element_data(t,"datasource",a[3]),n[0]&32&&e.set_custom_element_data(t,"lang",a[5]),n[0]&16&&e.set_custom_element_data(t,"currency",a[4]),n[0]&262144&&e.set_custom_element_data(t,"favorites",a[18]),n[0]&1024&&e.set_custom_element_data(t,"clientstyling",a[10]),n[0]&2048&&e.set_custom_element_data(t,"clientstylingurl",a[11]),n[0]&8388608&&e.set_custom_element_data(t,"livecasino",a[23]),n[0]&131072&&e.set_custom_element_data(t,"visiblegames",a[17]),n[0]&134217728&&e.set_custom_element_data(t,"gamepagemodalurl",a[27]),n[0]&4194304&&e.set_custom_element_data(t,"showgamename",a[22]),n[1]&8&&e.set_custom_element_data(t,"integratedgameframedesktop",a[34]),n[1]&16&&e.set_custom_element_data(t,"integratedgameframemobile",a[35]),n[0]&512&&e.set_custom_element_data(t,"mbsource",a[9]),n[0]&4096&&e.set_custom_element_data(t,"translationurl",a[12]),n[1]&1073741824&&e.set_custom_element_data(t,"mostplayed",a[61]),n[2]&1&&e.set_custom_element_data(t,"lastplayed",a[62]),n[0]&1048576&&e.set_custom_element_data(t,"filteredcategories",a[20]),n[0]&2097152&&e.set_custom_element_data(t,"activecategory",a[21]),n[2]&32&&e.set_custom_element_data(t,"lastplayedunique",a[67]),n[0]&1&&e.set_custom_element_data(t,"casinomygames",a[0]),n[2]&2&&e.set_custom_element_data(t,"lastplayedperiod",a[63]),n[2]&4&&e.set_custom_element_data(t,"mostplayedperiod",a[64]),n[2]&8&&e.set_custom_element_data(t,"lastplayedorder",a[65]),n[2]&16&&e.set_custom_element_data(t,"lastplayedlimit",a[66]),n[2]&64&&e.set_custom_element_data(t,"mostplayedrounds",a[68])},i:e.noop,o:e.noop,d(a){a&&e.detach(t)}}}function ka(s){let t=[],a=new Map,n,i,u,r=e.ensure_array_like(s[91]);const m=_=>_[148];for(let _=0;_<r.length;_+=1){let f=It(s,r,_),y=m(f);a.set(y,t[_]=Yt(y,f))}let l=s[78]==="true"&&s[93]&&s[89]&&Ht(s);return{c(){for(let _=0;_<t.length;_+=1)t[_].c();n=e.space(),l&&l.c(),i=e.empty()},m(_,f){for(let y=0;y<t.length;y+=1)t[y]&&t[y].m(_,f);e.insert(_,n,f),l&&l.m(_,f),e.insert(_,i,f),u=!0},p(_,f){f[0]&2059927551|f[1]&1073741823|f[2]&941145984|f[3]&548&&(r=e.ensure_array_like(_[91]),e.group_outros(),t=e.update_keyed_each(t,f,m,1,_,r,a,n.parentNode,e.outro_and_destroy_block,Yt,n,It),e.check_outros()),_[78]==="true"&&_[93]&&_[89]?l?l.p(_,f):(l=Ht(_),l.c(),l.m(i.parentNode,i)):l&&(l.d(1),l=null)},i(_){if(!u){for(let f=0;f<r.length;f+=1)e.transition_in(t[f]);u=!0}},o(_){for(let f=0;f<t.length;f+=1)e.transition_out(t[f]);u=!1},d(_){_&&(e.detach(n),e.detach(i));for(let f=0;f<t.length;f+=1)t[f].d(_);l&&l.d(_)}}}function qt(s){let t,a,n=s[94]("loadMore")+"",i,u,r;return{c(){t=e.element("div"),a=e.element("p"),i=e.text(n),e.attr(t,"class","LoadMoreCategories")},m(m,l){e.insert(m,t,l),e.append(t,a),e.append(a,i),u||(r=e.listen(a,"click",s[96]),u=!0)},p(m,l){l[3]&2&&n!==(n=m[94]("loadMore")+"")&&e.set_data(i,n)},d(m){m&&e.detach(t),u=!1,r()}}}function Rt(s){let t,a=s[82]&&zt(s);return{c(){t=e.element("div"),a&&a.c(),e.attr(t,"class","CasinoPlayRandomGameWrapper")},m(n,i){e.insert(n,t,i),a&&a.m(t,null)},p(n,i){n[82]?a?a.p(n,i):(a=zt(n),a.c(),a.m(t,null)):a&&(a.d(1),a=null)},d(n){n&&e.detach(t),a&&a.d()}}}function zt(s){let t,a,n,i,u;return{c(){t=e.element("casino-play-random-game"),a=e.space(),n=e.element("ui-skeleton"),e.set_custom_element_data(t,"class","NotLoadedCategory"),e.set_custom_element_data(t,"datasource",s[3]),e.set_custom_element_data(t,"endpoint",s[1]),e.set_custom_element_data(t,"language",s[5]),e.set_custom_element_data(t,"specific-category",s[72]),e.set_custom_element_data(t,"icon-visible",s[74]),e.set_custom_element_data(t,"icon-visible-on-anim",s[75]),e.set_custom_element_data(t,"launch-by-game-card",s[73]),e.set_custom_element_data(t,"client-styling",s[10]),e.set_custom_element_data(t,"client-styling-url",s[11]),e.set_custom_element_data(t,"translation-url",s[12]),e.set_custom_element_data(t,"mb-source",s[9]),e.set_custom_element_data(n,"width","100%"),e.set_custom_element_data(n,"height","300px"),e.set_custom_element_data(n,"structure","rectangle")},m(r,m){e.insert(r,t,m),e.insert(r,a,m),e.insert(r,n,m),i||(u=e.listen(t,"data-loaded",s[98]),i=!0)},p(r,m){m[0]&8&&e.set_custom_element_data(t,"datasource",r[3]),m[0]&2&&e.set_custom_element_data(t,"endpoint",r[1]),m[0]&32&&e.set_custom_element_data(t,"language",r[5]),m[2]&1024&&e.set_custom_element_data(t,"specific-category",r[72]),m[2]&4096&&e.set_custom_element_data(t,"icon-visible",r[74]),m[2]&8192&&e.set_custom_element_data(t,"icon-visible-on-anim",r[75]),m[2]&2048&&e.set_custom_element_data(t,"launch-by-game-card",r[73]),m[0]&1024&&e.set_custom_element_data(t,"client-styling",r[10]),m[0]&2048&&e.set_custom_element_data(t,"client-styling-url",r[11]),m[0]&4096&&e.set_custom_element_data(t,"translation-url",r[12]),m[0]&512&&e.set_custom_element_data(t,"mb-source",r[9])},d(r){r&&(e.detach(t),e.detach(a),e.detach(n)),i=!1,u()}}}function At(s){let t,a,n,i,u,r;return{c(){t=e.element("div"),a=e.element("casino-winners"),n=e.space(),i=e.element("ui-skeleton"),e.set_custom_element_data(a,"class","NotLoadedCategory"),e.set_custom_element_data(a,"session",s[6]),e.set_custom_element_data(a,"userid",s[7]),e.set_custom_element_data(a,"periodrecent",s[36]),e.set_custom_element_data(a,"periodtop",s[37]),e.set_custom_element_data(a,"numberusersrecent",s[38]),e.set_custom_element_data(a,"numberuserstop",s[39]),e.set_custom_element_data(a,"amountlimit",s[40]),e.set_custom_element_data(a,"isrecentavailable",s[33]),e.set_custom_element_data(a,"istopavailable",s[32]),e.set_custom_element_data(a,"defaultcurrency",s[41]),e.set_custom_element_data(a,"usercurrency",s[4]),e.set_custom_element_data(a,"translationurl",s[12]),e.set_custom_element_data(a,"enableautoscroll",s[31]),e.set_custom_element_data(a,"tabsorder",s[30]),e.set_custom_element_data(a,"lang",s[5]),e.set_custom_element_data(a,"clientstyling",s[10]),e.set_custom_element_data(a,"clientstylingurl",s[11]),e.set_custom_element_data(a,"endpoint",s[1]),e.set_custom_element_data(a,"winnersdatasources",s[69]),e.set_custom_element_data(a,"mbsource",s[9]),e.set_custom_element_data(a,"currencylocale",s[15]),e.set_custom_element_data(i,"width","100%"),e.set_custom_element_data(i,"height","320px"),e.set_custom_element_data(i,"structure","rectangle"),e.attr(t,"class","CasinoWinnersWrapper")},m(m,l){e.insert(m,t,l),e.append(t,a),e.append(t,n),e.append(t,i),u||(r=e.listen(a,"data-loaded",s[98]),u=!0)},p(m,l){l[0]&64&&e.set_custom_element_data(a,"session",m[6]),l[0]&128&&e.set_custom_element_data(a,"userid",m[7]),l[1]&32&&e.set_custom_element_data(a,"periodrecent",m[36]),l[1]&64&&e.set_custom_element_data(a,"periodtop",m[37]),l[1]&128&&e.set_custom_element_data(a,"numberusersrecent",m[38]),l[1]&256&&e.set_custom_element_data(a,"numberuserstop",m[39]),l[1]&512&&e.set_custom_element_data(a,"amountlimit",m[40]),l[1]&4&&e.set_custom_element_data(a,"isrecentavailable",m[33]),l[1]&2&&e.set_custom_element_data(a,"istopavailable",m[32]),l[1]&1024&&e.set_custom_element_data(a,"defaultcurrency",m[41]),l[0]&16&&e.set_custom_element_data(a,"usercurrency",m[4]),l[0]&4096&&e.set_custom_element_data(a,"translationurl",m[12]),l[1]&1&&e.set_custom_element_data(a,"enableautoscroll",m[31]),l[0]&1073741824&&e.set_custom_element_data(a,"tabsorder",m[30]),l[0]&32&&e.set_custom_element_data(a,"lang",m[5]),l[0]&1024&&e.set_custom_element_data(a,"clientstyling",m[10]),l[0]&2048&&e.set_custom_element_data(a,"clientstylingurl",m[11]),l[0]&2&&e.set_custom_element_data(a,"endpoint",m[1]),l[2]&128&&e.set_custom_element_data(a,"winnersdatasources",m[69]),l[0]&512&&e.set_custom_element_data(a,"mbsource",m[9]),l[0]&32768&&e.set_custom_element_data(a,"currencylocale",m[15])},d(m){m&&e.detach(t),u=!1,r()}}}function Wt(s){let t,a,n,i,u,r;return{c(){t=e.element("div"),a=e.element("casino-calendar"),n=e.space(),i=e.element("ui-skeleton"),e.set_custom_element_data(a,"class","NotLoadedCategory"),e.set_custom_element_data(a,"userroles",s[8]),e.set_custom_element_data(a,"cmsendpoint",s[13]),e.set_custom_element_data(a,"env",s[2]),e.set_custom_element_data(a,"lang",s[5]),e.set_custom_element_data(a,"clientstyling",s[10]),e.set_custom_element_data(a,"clientstylingurl",s[11]),e.set_custom_element_data(a,"mbsource",s[9]),e.set_custom_element_data(i,"width","100%"),e.set_custom_element_data(i,"height","268px"),e.set_custom_element_data(i,"structure","rectangle"),e.attr(t,"class","CasinoCalendarWrapper")},m(m,l){e.insert(m,t,l),e.append(t,a),e.append(t,n),e.append(t,i),u||(r=e.listen(a,"data-loaded",s[98]),u=!0)},p(m,l){l[0]&256&&e.set_custom_element_data(a,"userroles",m[8]),l[0]&8192&&e.set_custom_element_data(a,"cmsendpoint",m[13]),l[0]&4&&e.set_custom_element_data(a,"env",m[2]),l[0]&32&&e.set_custom_element_data(a,"lang",m[5]),l[0]&1024&&e.set_custom_element_data(a,"clientstyling",m[10]),l[0]&2048&&e.set_custom_element_data(a,"clientstylingurl",m[11]),l[0]&512&&e.set_custom_element_data(a,"mbsource",m[9])},d(m){m&&e.detach(t),u=!1,r()}}}function Ut(s){let t;const a=s[103]["je-jackpots-widget"],n=e.create_slot(a,s,s[102],Bt);return{c(){n&&n.c()},m(i,u){n&&n.m(i,u),t=!0},p(i,u){n&&n.p&&(!t||u[3]&512)&&e.update_slot_base(n,a,i,i[102],t?e.get_slot_changes(a,i[102],u,da):e.get_all_dirty_from_scope(i[102]),Bt)},i(i){t||(e.transition_in(n,i),t=!0)},o(i){e.transition_out(n,i),t=!1},d(i){n&&n.d(i)}}}function wa(s){let t,a,n,i,u,r,m;return{c(){t=e.element("div"),a=e.element("casino-jackpot-banner"),i=e.space(),u=e.element("ui-skeleton"),e.set_custom_element_data(a,"class","NotLoadedCategory"),e.set_custom_element_data(a,"title","Jackpot Cards"),e.set_custom_element_data(a,"currency",n=s[4]||"RON"),e.set_custom_element_data(a,"gameid","999"),e.set_custom_element_data(a,"endpoint",s[1]),e.set_custom_element_data(a,"lang",s[5]),e.set_custom_element_data(a,"backgroundsrc","/assets/background0.webp"),e.set_custom_element_data(a,"backgroundsrcmobile","/assets/background0.webp"),e.set_custom_element_data(a,"titlelogopath","/assets/jackpots_logo.svg"),e.set_custom_element_data(a,"caticon0","/assets/icon0.svg"),e.set_custom_element_data(a,"caticon1","/assets/icon1.svg"),e.set_custom_element_data(a,"caticon2","/assets/icon2.svg"),e.set_custom_element_data(a,"caticon3","/assets/icon3.svg"),e.set_custom_element_data(a,"visualstructure","typeSpread"),e.set_custom_element_data(a,"clientstyling",s[10]),e.set_custom_element_data(a,"clientstylingurl",s[11]),e.set_custom_element_data(a,"mbsource",s[9]),e.set_custom_element_data(a,"realtimeupdate",s[52]),e.set_custom_element_data(a,"currencylocale",s[15]),e.set_custom_element_data(u,"width","100%"),e.set_custom_element_data(u,"height","116px"),e.set_custom_element_data(u,"structure","rectangle"),e.attr(t,"class","CasinoJackpotBannerWrapper")},m(l,_){e.insert(l,t,_),e.append(t,a),e.append(t,i),e.append(t,u),r||(m=e.listen(a,"data-loaded",s[98]),r=!0)},p(l,_){_[0]&16&&n!==(n=l[4]||"RON")&&e.set_custom_element_data(a,"currency",n),_[0]&2&&e.set_custom_element_data(a,"endpoint",l[1]),_[0]&32&&e.set_custom_element_data(a,"lang",l[5]),_[0]&1024&&e.set_custom_element_data(a,"clientstyling",l[10]),_[0]&2048&&e.set_custom_element_data(a,"clientstylingurl",l[11]),_[0]&512&&e.set_custom_element_data(a,"mbsource",l[9]),_[1]&2097152&&e.set_custom_element_data(a,"realtimeupdate",l[52]),_[0]&32768&&e.set_custom_element_data(a,"currencylocale",l[15])},d(l){l&&e.detach(t),r=!1,m()}}}function va(s){let t,a,n,i,u,r,m;return{c(){t=e.element("div"),a=e.element("casino-jackpot-banner"),i=e.space(),u=e.element("ui-skeleton"),e.set_custom_element_data(a,"class","NotLoadedCategory"),e.set_custom_element_data(a,"title","Egypt Quest"),e.set_custom_element_data(a,"currency",n=s[4]||"RON"),e.set_custom_element_data(a,"gameid","998"),e.set_custom_element_data(a,"endpoint",s[1]),e.set_custom_element_data(a,"lang",s[5]),e.set_custom_element_data(a,"backgroundsrc",s[47]),e.set_custom_element_data(a,"backgroundsrcmobile",s[48]),e.set_custom_element_data(a,"titlelogopath",s[49]),e.set_custom_element_data(a,"caticon0",s[43]),e.set_custom_element_data(a,"caticon1",s[44]),e.set_custom_element_data(a,"caticon2",s[45]),e.set_custom_element_data(a,"caticon3",s[46]),e.set_custom_element_data(a,"iconlabels",s[50]),e.set_custom_element_data(a,"visualstructure",s[51]),e.set_custom_element_data(a,"clientstyling",s[10]),e.set_custom_element_data(a,"clientstylingurl",s[11]),e.set_custom_element_data(a,"mbsource",s[9]),e.set_custom_element_data(a,"realtimeupdate",s[52]),e.set_custom_element_data(a,"currencylocale",s[15]),e.set_custom_element_data(u,"width","100%"),e.set_custom_element_data(u,"height","116px"),e.set_custom_element_data(u,"structure","rectangle"),e.attr(t,"class","CasinoJackpotBannerWrapper")},m(l,_){e.insert(l,t,_),e.append(t,a),e.append(t,i),e.append(t,u),r||(m=e.listen(a,"data-loaded",s[98]),r=!0)},p(l,_){_[0]&16&&n!==(n=l[4]||"RON")&&e.set_custom_element_data(a,"currency",n),_[0]&2&&e.set_custom_element_data(a,"endpoint",l[1]),_[0]&32&&e.set_custom_element_data(a,"lang",l[5]),_[1]&65536&&e.set_custom_element_data(a,"backgroundsrc",l[47]),_[1]&131072&&e.set_custom_element_data(a,"backgroundsrcmobile",l[48]),_[1]&262144&&e.set_custom_element_data(a,"titlelogopath",l[49]),_[1]&4096&&e.set_custom_element_data(a,"caticon0",l[43]),_[1]&8192&&e.set_custom_element_data(a,"caticon1",l[44]),_[1]&16384&&e.set_custom_element_data(a,"caticon2",l[45]),_[1]&32768&&e.set_custom_element_data(a,"caticon3",l[46]),_[1]&524288&&e.set_custom_element_data(a,"iconlabels",l[50]),_[1]&1048576&&e.set_custom_element_data(a,"visualstructure",l[51]),_[0]&1024&&e.set_custom_element_data(a,"clientstyling",l[10]),_[0]&2048&&e.set_custom_element_data(a,"clientstylingurl",l[11]),_[0]&512&&e.set_custom_element_data(a,"mbsource",l[9]),_[1]&2097152&&e.set_custom_element_data(a,"realtimeupdate",l[52]),_[0]&32768&&e.set_custom_element_data(a,"currencylocale",l[15])},d(l){l&&e.detach(t),r=!1,m()}}}function Ca(s){let t,a,n,i,u,r;return{c(){t=e.element("div"),a=e.element("casino-collections-providers"),n=e.space(),i=e.element("ui-skeleton"),e.set_custom_element_data(a,"class","NotLoadedCategory"),e.set_custom_element_data(a,"endpoint",s[1]),e.set_custom_element_data(a,"datasource",s[3]),e.set_custom_element_data(a,"lang",s[5]),e.set_custom_element_data(a,"type","vendor"),e.set_custom_element_data(a,"titletype","logo"),e.set_custom_element_data(a,"collectionprovidersgamenames",s[56]),e.set_custom_element_data(a,"clientstyling",s[10]),e.set_custom_element_data(a,"mbsource",s[9]),e.set_custom_element_data(a,"clientstylingurl",s[11]),e.set_custom_element_data(i,"width","100%"),e.set_custom_element_data(i,"height","330px"),e.set_custom_element_data(i,"structure","rectangle"),e.attr(t,"class","CasinoCollectionsProvidersWrapper")},m(m,l){e.insert(m,t,l),e.append(t,a),e.append(t,n),e.append(t,i),u||(r=e.listen(a,"data-loaded",s[98]),u=!0)},p(m,l){l[0]&2&&e.set_custom_element_data(a,"endpoint",m[1]),l[0]&8&&e.set_custom_element_data(a,"datasource",m[3]),l[0]&32&&e.set_custom_element_data(a,"lang",m[5]),l[1]&33554432&&e.set_custom_element_data(a,"collectionprovidersgamenames",m[56]),l[0]&1024&&e.set_custom_element_data(a,"clientstyling",m[10]),l[0]&512&&e.set_custom_element_data(a,"mbsource",m[9]),l[0]&2048&&e.set_custom_element_data(a,"clientstylingurl",m[11])},d(m){m&&e.detach(t),u=!1,r()}}}function Ea(s){let t,a,n,i,u,r;return{c(){t=e.element("div"),a=e.element("casino-collections-providers"),n=e.space(),i=e.element("ui-skeleton"),e.set_custom_element_data(a,"class","NotLoadedCategory"),e.set_custom_element_data(a,"endpoint",s[1]),e.set_custom_element_data(a,"datasource",s[3]),e.set_custom_element_data(a,"lang",s[5]),e.set_custom_element_data(a,"type",s[54]),e.set_custom_element_data(a,"collectionprovidersgamenames",s[56]),e.set_custom_element_data(a,"titletype",s[55]),e.set_custom_element_data(a,"clientstyling",s[10]),e.set_custom_element_data(a,"mbsource",s[9]),e.set_custom_element_data(a,"clientstylingurl",s[11]),e.set_custom_element_data(i,"width","100%"),e.set_custom_element_data(i,"height","330px"),e.set_custom_element_data(i,"structure","rectangle"),e.attr(t,"class","CasinoCollectionsProvidersWrapper")},m(m,l){e.insert(m,t,l),e.append(t,a),e.append(t,n),e.append(t,i),u||(r=e.listen(a,"data-loaded",s[98]),u=!0)},p(m,l){l[0]&2&&e.set_custom_element_data(a,"endpoint",m[1]),l[0]&8&&e.set_custom_element_data(a,"datasource",m[3]),l[0]&32&&e.set_custom_element_data(a,"lang",m[5]),l[1]&8388608&&e.set_custom_element_data(a,"type",m[54]),l[1]&33554432&&e.set_custom_element_data(a,"collectionprovidersgamenames",m[56]),l[1]&16777216&&e.set_custom_element_data(a,"titletype",m[55]),l[0]&1024&&e.set_custom_element_data(a,"clientstyling",m[10]),l[0]&512&&e.set_custom_element_data(a,"mbsource",m[9]),l[0]&2048&&e.set_custom_element_data(a,"clientstylingurl",m[11])},d(m){m&&e.detach(t),u=!1,r()}}}function Yt(s,t){let a,n,i,u,r,m,l,_,f,y,C,v,c,D,S,N=t[150],E,h,k,p,U,x,F=+t[77]>0&&+t[77]===t[150]&&t[25]=="true"&&X==!1&&!t[90]&&Rt(t),M=t[29]&&t[150]==+t[29]&&At(t),j=t[60]&&t[150]==+t[60]&&Wt(t),L=t[71]&&t[150]==+t[71]&&Ut(t);function $(g,d){if(d[1]&2048|d[2]&536870912&&(m=null),d[1]&2048|d[2]&536870912&&(l=null),m==null&&(m=!!(g[42]&&g[150]==(g[42].split(",")[0]==""?g[91].length:+g[42].split(",")[0]))),m)return va;if(l==null&&(l=!!(g[42]&&g[150]==(g[42].split(",")[1]==""?g[91].length:+g[42].split(",")[1]))),l)return wa}let q=$(t,[-1,-1,-1,-1,-1]),P=q&&q(t);function ee(g,d){if(d[1]&4194304|d[2]&536870912&&(f=null),d[1]&4194304|d[2]&536870912&&(y=null),f==null&&(f=!!(g[53]&&g[150]==(g[53].split(",")[0]==""?g[91].length:+g[53].split(",")[0]))),f)return Ea;if(y==null&&(y=!!(g[53]&&g[150]==(g[53].split(",")[1]==""?g[91].length:+g[53].split(",")[1]))),y)return Ca}let R=ee(t,[-1,-1,-1,-1,-1]),G=R&&R(t);const te=()=>t[104](c,N),ae=()=>t[104](null,N);return{key:s,first:null,c(){a=e.empty(),F&&F.c(),n=e.space(),M&&M.c(),i=e.space(),j&&j.c(),u=e.space(),L&&L.c(),r=e.space(),P&&P.c(),_=e.space(),G&&G.c(),C=e.space(),v=e.element("div"),c=e.element("casino-games-category-section"),h=e.space(),k=e.element("ui-skeleton"),e.set_custom_element_data(c,"lobbyscreen",t[89]),e.set_custom_element_data(c,"session",t[6]),e.set_custom_element_data(c,"userid",t[7]),e.set_custom_element_data(c,"endpoint",t[1]),e.set_custom_element_data(c,"datasource",t[3]),e.set_custom_element_data(c,"lang",t[5]),e.set_custom_element_data(c,"categoryid",D=t[148]),e.set_custom_element_data(c,"currency",t[4]),e.set_custom_element_data(c,"categoryindex",S=t[150]),e.set_custom_element_data(c,"categorygames","9"),e.set_custom_element_data(c,"fetchviaevent",t[70]),e.set_custom_element_data(c,"favorites",t[18]),e.set_custom_element_data(c,"showgamename",t[22]),e.set_custom_element_data(c,"translationurl",t[12]),e.set_custom_element_data(c,"class","CategoryContainer NotLoadedCategory"),e.set_style(c,"background-color",t[150]%2!==0?t[16]:"transparent"),e.set_custom_element_data(c,"clientstyling",t[10]),e.set_custom_element_data(c,"clientstylingurl",t[11]),e.set_custom_element_data(c,"mbsource",t[9]),e.set_custom_element_data(c,"livecasino",t[23]),e.set_custom_element_data(c,"visiblegames",t[17]),e.set_custom_element_data(c,"gamepagemodalurl",t[27]),e.set_custom_element_data(c,"integratedgameframedesktop",t[34]),e.set_custom_element_data(c,"integratedgameframemobile",t[35]),e.set_custom_element_data(c,"casinomygames",t[0]),e.set_custom_element_data(c,"filterbylogo",t[59]),e.set_custom_element_data(c,"addfilterselector",t[57]),e.set_custom_element_data(c,"addsortingselector",t[58]),e.set_custom_element_data(c,"casinogamesgridslider",t[28]),e.set_custom_element_data(c,"usesinglevendorfilter",t[14]),e.set_custom_element_data(k,"width","100%"),e.set_custom_element_data(k,"height","228px"),e.set_custom_element_data(k,"structure","rectangle"),e.attr(v,"class","CasinoGamesCategorySectionWrapper"),this.first=a},m(g,d){e.insert(g,a,d),F&&F.m(g,d),e.insert(g,n,d),M&&M.m(g,d),e.insert(g,i,d),j&&j.m(g,d),e.insert(g,u,d),L&&L.m(g,d),e.insert(g,r,d),P&&P.m(g,d),e.insert(g,_,d),G&&G.m(g,d),e.insert(g,C,d),e.insert(g,v,d),e.append(v,c),te(),e.append(v,h),e.append(v,k),p=!0,U||(x=[e.listen(c,"data-loaded",t[98]),e.action_destroyer(E=t[97].call(null,c,t[148]))],U=!0)},p(g,d){t=g,+t[77]>0&&+t[77]===t[150]&&t[25]=="true"&&X==!1&&!t[90]?F?F.p(t,d):(F=Rt(t),F.c(),F.m(n.parentNode,n)):F&&(F.d(1),F=null),t[29]&&t[150]==+t[29]?M?M.p(t,d):(M=At(t),M.c(),M.m(i.parentNode,i)):M&&(M.d(1),M=null),t[60]&&t[150]==+t[60]?j?j.p(t,d):(j=Wt(t),j.c(),j.m(u.parentNode,u)):j&&(j.d(1),j=null),t[71]&&t[150]==+t[71]?L?(L.p(t,d),d[2]&536871424&&e.transition_in(L,1)):(L=Ut(t),L.c(),e.transition_in(L,1),L.m(r.parentNode,r)):L&&(e.group_outros(),e.transition_out(L,1,1,()=>{L=null}),e.check_outros()),q===(q=$(t,d))&&P?P.p(t,d):(P&&P.d(1),P=q&&q(t),P&&(P.c(),P.m(_.parentNode,_))),R===(R=ee(t,d))&&G?G.p(t,d):(G&&G.d(1),G=R&&R(t),G&&(G.c(),G.m(C.parentNode,C))),(!p||d[2]&134217728)&&e.set_custom_element_data(c,"lobbyscreen",t[89]),(!p||d[0]&64)&&e.set_custom_element_data(c,"session",t[6]),(!p||d[0]&128)&&e.set_custom_element_data(c,"userid",t[7]),(!p||d[0]&2)&&e.set_custom_element_data(c,"endpoint",t[1]),(!p||d[0]&8)&&e.set_custom_element_data(c,"datasource",t[3]),(!p||d[0]&32)&&e.set_custom_element_data(c,"lang",t[5]),(!p||d[2]&536870912&&D!==(D=t[148]))&&e.set_custom_element_data(c,"categoryid",D),(!p||d[0]&16)&&e.set_custom_element_data(c,"currency",t[4]),(!p||d[2]&536870912&&S!==(S=t[150]))&&e.set_custom_element_data(c,"categoryindex",S),(!p||d[2]&256)&&e.set_custom_element_data(c,"fetchviaevent",t[70]),(!p||d[0]&262144)&&e.set_custom_element_data(c,"favorites",t[18]),(!p||d[0]&4194304)&&e.set_custom_element_data(c,"showgamename",t[22]),(!p||d[0]&4096)&&e.set_custom_element_data(c,"translationurl",t[12]),(!p||d[0]&65536|d[2]&536870912)&&e.set_style(c,"background-color",t[150]%2!==0?t[16]:"transparent"),(!p||d[0]&1024)&&e.set_custom_element_data(c,"clientstyling",t[10]),(!p||d[0]&2048)&&e.set_custom_element_data(c,"clientstylingurl",t[11]),(!p||d[0]&512)&&e.set_custom_element_data(c,"mbsource",t[9]),(!p||d[0]&8388608)&&e.set_custom_element_data(c,"livecasino",t[23]),(!p||d[0]&131072)&&e.set_custom_element_data(c,"visiblegames",t[17]),(!p||d[0]&134217728)&&e.set_custom_element_data(c,"gamepagemodalurl",t[27]),(!p||d[1]&8)&&e.set_custom_element_data(c,"integratedgameframedesktop",t[34]),(!p||d[1]&16)&&e.set_custom_element_data(c,"integratedgameframemobile",t[35]),(!p||d[0]&1)&&e.set_custom_element_data(c,"casinomygames",t[0]),(!p||d[1]&268435456)&&e.set_custom_element_data(c,"filterbylogo",t[59]),(!p||d[1]&67108864)&&e.set_custom_element_data(c,"addfilterselector",t[57]),(!p||d[1]&134217728)&&e.set_custom_element_data(c,"addsortingselector",t[58]),(!p||d[0]&268435456)&&e.set_custom_element_data(c,"casinogamesgridslider",t[28]),(!p||d[0]&16384)&&e.set_custom_element_data(c,"usesinglevendorfilter",t[14]),N!==t[150]&&(ae(),N=t[150],te()),E&&e.is_function(E.update)&&d[2]&536870912&&E.update.call(null,t[148])},i(g){p||(e.transition_in(L),p=!0)},o(g){e.transition_out(L),p=!1},d(g){g&&(e.detach(a),e.detach(n),e.detach(i),e.detach(u),e.detach(r),e.detach(_),e.detach(C),e.detach(v)),F&&F.d(g),M&&M.d(g),j&&j.d(g),L&&L.d(g),P&&P.d(g),G&&G.d(g),ae(),U=!1,e.run_all(x)}}}function Ht(s){let t,a,n=s[94]("loadMore")+"",i,u,r;return{c(){t=e.element("div"),a=e.element("p"),i=e.text(n),e.attr(t,"class","LoadMoreCategories")},m(m,l){e.insert(m,t,l),e.append(t,a),e.append(a,i),u||(r=e.listen(a,"click",s[96]),u=!0)},p(m,l){l[3]&2&&n!==(n=m[94]("loadMore")+"")&&e.set_data(i,n)},d(m){m&&e.detach(t),u=!1,r()}}}function Jt(s){let t,a,n=s[94]("breakButton")+"",i;return{c(){t=e.element("div"),a=e.element("button"),i=e.text(n),e.attr(a,"class","PanicButton "+(e.getDevice(s[95])!=="PC"?"PanicButtonMobile ":"")),e.toggle_class(a,"PanicButtonAnimation",s[87]),e.attr(t,"class","PanicSection "+(e.getDevice(s[95])!=="PC"?"PanicSectionMobile":""))},m(u,r){e.insert(u,t,r),e.append(t,a),e.append(a,i),s[105](a)},p(u,r){r[3]&2&&n!==(n=u[94]("breakButton")+"")&&e.set_data(i,n),r[2]&33554432&&e.toggle_class(a,"PanicButtonAnimation",u[87])},d(u){u&&e.detach(t),s[105](null)}}}function La(s){let t,a,n,i;const u=[ga,fa],r=[];function m(l,_){return l[85]?0:1}return a=m(s),n=r[a]=u[a](s),{c(){t=e.element("div"),n.c()},m(l,_){e.insert(l,t,_),r[a].m(t,null),s[106](t),i=!0},p(l,_){let f=a;a=m(l),a===f?r[a].p(l,_):(e.group_outros(),e.transition_out(r[f],1,1,()=>{r[f]=null}),e.check_outros(),n=r[a],n?n.p(l,_):(n=r[a]=u[a](l),n.c()),e.transition_in(n,1),n.m(t,null))},i(l){i||(e.transition_in(n),i=!0)},o(l){e.transition_out(n),i=!1},d(l){l&&e.detach(t),r[a].d(),s[106](null)}}}let X=!1;const Ma=1;function ja(s,t,a){let n;e.component_subscribe(s,e.$format,o=>a(94,n=o));let{$$slots:i={},$$scope:u}=t,{endpoint:r=""}=t,{env:m=""}=t,{datasource:l=""}=t,{currency:_=""}=t,{lang:f=""}=t,{session:y=""}=t,{userid:C=""}=t,{userroles:v=""}=t,{mbsource:c}=t,{clientstyling:D=""}=t,{clientstylingurl:S=""}=t,{translationurl:N=""}=t,{cmsendpoint:E=""}=t,{usesinglevendorfilter:h="false"}=t,{currencylocale:k=""}=t,{categorybackground:p=""}=t,{visiblegames:U}=t,{favorites:x=""}=t,{haspanicbutton:F="false"}=t,{filteredcategories:M=""}=t,{activecategory:j=""}=t,{showgamename:L=""}=t,{livecasino:$="false"}=t,{playrandomgame:q="false"}=t,{randomgameslider:P="false"}=t,{filteredrandomgamecategories:ee=""}=t,{gamepagemodalurl:R="false"}=t,{casinogamesgridslider:G="false"}=t,{positionwinnerswidget:te=""}=t,{tabsorder:ae=""}=t,{enableautoscroll:g=""}=t,{istopavailable:d=""}=t,{isrecentavailable:Fe=""}=t,{integratedgameframedesktop:Ge="false"}=t,{integratedgameframemobile:Ie="false"}=t,{periodrecent:Be=""}=t,{periodtop:De=""}=t,{numberusersrecent:Ne=""}=t,{numberuserstop:Oe=""}=t,{amountlimit:Te=""}=t,{defaultcurrency:qe=""}=t,{showsubgroups:he=""}=t,{positionjackpotbanners:Re=""}=t,{caticon0:ze=""}=t,{caticon1:Ae=""}=t,{caticon2:We=""}=t,{caticon3:Ue=""}=t,{backgroundsrc:Ye=""}=t,{backgroundsrcmobile:He=""}=t,{titlelogopath:Je=""}=t,{iconlabels:Ve=""}=t,{visualstructure:Ke=""}=t,{realtimeupdate:Qe="false"}=t,{positioncollections:Ze=""}=t,{type:Xe=""}=t,{titletype:xe=""}=t,{collectionprovidersgamenames:$e=""}=t,{addfilterselector:et="false"}=t,{addsortingselector:tt="false"}=t,{filterbylogo:at=""}=t,{positioncasinocalendar:st=""}=t,{casinomygames:oe="false"}=t,{mostplayed:be=""}=t,{lastplayed:pe=""}=t,{lastplayedperiod:nt="Last30Days"}=t,{mostplayedperiod:ot="Last30Days"}=t,{lastplayedorder:lt=""}=t,{lastplayedlimit:it=""}=t,{lastplayedunique:rt="true"}=t,{mostplayedrounds:mt=""}=t,{winnersdatasources:ut=""}=t,{fetchviaevent:_t="true"}=t,{positionjelobbywidget:ct=""}=t,{specificcategory:dt=""}=t,{launchbygamecard:ft=""}=t,{iconvisible:gt=""}=t,{iconvisibleonanim:ht=""}=t,{randombuttonicon:bt=""}=t,{positionlobbyrandomplaywidget:pt="0"}=t,{showmoresections:le="false"}=t,{categorieslimit:z="4"}=t,ye=!0,ke,ie=window.navigator.userAgent,we;e.isMobile(ie)?we="OpenGameFrame":we="ShowGameModal";let J=!1,V=!1,yt=!1,K="",w,re=!1,me=0,ve,Y=!1,A=!0,Ce=!1,se=[],Ee=[],B,Le=[],Kt,ne,ue,kt,Me="",W,wt=!1,H=new Array(1e4).fill(null),je=!1,_e=0,Se=0,vt=!0,ce=!1,de=[],Ct=0,Q=null;const Et=new Set;ua({withLocale:"en",translations:{}});const Qt=()=>{let o=new URL(N);fetch(o.href).then(b=>b.json()).then(b=>{Object.keys(b).forEach(I=>{Ft(I,b[I])})}).catch(b=>{console.log(b)})};Object.keys(Gt).forEach(o=>{Ft(o,Gt[o])});const Zt=()=>Z(this,null,function*(){if(yield e.tick(),!H||H.length===0){console.warn("setupObserver: categoryContainer is empty");return}Q||(Q=new IntersectionObserver(o=>{o.forEach(b=>Z(this,null,function*(){let I=b.target.elems_index;b.isIntersecting&&!ce&&I===de.length-Ct-Ma&&de.length!==Se&&Lt()}))})),H.forEach((o,b)=>{o&&!Et.has(o)&&(o.elems_index=b,Q.observe(o),Et.add(o))})}),Lt=()=>Z(this,null,function*(){if(!ce){ce=!0;try{_e+=parseInt(z);const o=yield jt(_e,parseInt(z));a(91,se=[...se,...o.items.filter(b=>b.flags.length===0&&b.games.count!==0).map(b=>b.id)]),Ee=[...Ee,...o.items.filter(b=>b.flags.length||b.games.count===0).map(b=>b.id)],Ct=Ee.length,le==="true"&&_e/parseInt(z)+1===Math.ceil(Se/parseInt(z))&&a(93,vt=!1)}catch(o){console.error("Error loading more categories:",o)}finally{ce=!1}}}),Pe=o=>{switch(a(0,oe="false"),setTimeout(()=>{o.data.itemId!=="LOBBY"&&window.postMessage({type:"CasinoTopReference"},window.location.href)}),o.data.itemId){case"LOBBY":a(89,A=!0),a(88,Y=!1),a(92,B="");break;case"MYGAMES":a(0,oe="true"),a(89,A=!1),a(88,Y=!0),a(92,B="");break;case"FAVORITES":a(89,A=!1),a(88,Y=!0),a(92,B="");break;case"MOSTPLAYED":be=="true"&&(a(92,B=""),a(89,A=!1),a(88,Y=!0));break;case"LASTPLAYED":pe=="true"&&(a(92,B=""),a(89,A=!1),a(88,Y=!0));break;default:a(89,A=!1),a(88,Y=!1),a(92,B=o.data.itemId),window.postMessage({type:"CategoryUpdate",itemId:B},window.location.href);break}},Mt=o=>{if(o.data)switch(o.data.type){case"CategoryChange":Pe(o);break;case"UserSessionID":o.data.session,o.data.userID;break;case"ApplyFilters":h==="true"&&A?se.forEach(b=>{window.postMessage({type:`CategoryData_${b}`,categoryId:b,visiblegames:U},window.location.href)}):window.postMessage({type:"CategoryUpdate",itemId:Me,origin:o.data.origin},window.location.href);break;case"CategoryVendors":Me=o.data.categoryid;break;case"searchCancelled":a(90,Ce=!1),B&&Pe({data:{itemId:B}});break;case"searchActive":a(90,Ce=!0);break;case"ModalClosed":break;case"SubgroupsIds":Le.some(b=>o.data.subGroupsIds.includes(b))||Le.push(...o.data.subGroupsIds);break}},jt=(o,b)=>Z(this,null,function*(){try{let I=new URL(`${r}/v1/casino/groups/${l}`);I.searchParams.append("language",f),I.searchParams.append("platform",e.getDevice(ie)),I.searchParams.append("pagination",`offset=${o},limit=${b}`);const T=yield(yield fetch(I)).json();return de=[...de,...T.items],Se=T.total,a(101,je=!0),T}catch(I){throw a(85,V=!0),console.error("Error fetching categories:",I),I}}),Xt=(o,b)=>{Me=b,window.postMessage({type:`CategoryData_${b}`,categoryId:b,visiblegames:U},window.location.href)},St=()=>{ne&&(ue=ne.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>ue||ue>130},xt=()=>(r||(K="Endpoint is missing! Please provide a valid endpointURL.",a(85,V=!0),a(84,J=!1),console.error(K)),l||(K="Datasource is missing! Please provide a valid datasource.",a(85,V=!0),a(84,J=!1),console.error(K)),(!f||f.length<2)&&(K="Language is missing! Please provide a valid language (alpha2code)",a(85,V=!0),a(84,J=!1),console.error(K)),V),Pt=()=>{clearTimeout(ke),ke=setTimeout(()=>Z(this,null,function*(){P=="true"&&(a(82,ye=!1),yield e.tick(),a(82,ye=!0))}),150)},$t=()=>{wt&&!A&&window.postMessage({type:"CategoryUpdate",itemId:B},window.location.href),wt=!1},ea=()=>{if(!xt()){a(84,J=!0),_a(f);let o=new URL(`${r}/v1/casino/groups/${l}`);o.searchParams.append("language",f),o.searchParams.append("platform",e.getDevice(ie)),jt(_e,parseInt(z)).then(b=>{let I=M.split(",");b&&(kt=b.items.filter(O=>{let T;if(O.games.total>0&&(T=!0,M))for(let ma of I)O.flags==ma&&(T=!1);return T}),a(91,se=kt.filter(O=>{var T;return!(((T=O==null?void 0:O.subGroups)==null?void 0:T.count)>0&&he=="true")}).map(O=>O.id)),Le=b.items.map(O=>O.id.toString()),a(84,J=!1))}),ne=Kt,ne&&(ue=ne.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}},ta=()=>{a(92,B=j),Pe({data:{itemId:B}})},aa=()=>{a(86,yt=!0)},fe=o=>{me=0,ve=setInterval(()=>{me+=1,a(87,re=!0),me>=3&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(ve))},1e3)},ge=o=>{me<3&&a(87,re=!1),clearInterval(ve)},sa=()=>{w==null||w.addEventListener("mousedown",fe,!1),w==null||w.addEventListener("touchstart",fe,!1),w==null||w.addEventListener("mouseup",ge,!1),w==null||w.addEventListener("touchend",ge,!1)},na=()=>{a(87,re=!1),w==null||w.removeEventListener("mousedown",fe),w==null||w.removeEventListener("touchstart",fe),w==null||w.removeEventListener("mouseup",ge),w==null||w.removeEventListener("touchend",ge)},oa=o=>{const b=o.detail.target;b.classList.remove("NotLoadedCategory");const I=b.parentElement.querySelector("ui-skeleton");I&&I.remove()};e.onDestroy(()=>{Q==null||Q.disconnect()}),e.onMount(()=>(window.addEventListener("scroll",St,!1),window.addEventListener("message",Mt,!1),window.addEventListener("orientationchange",Pt),()=>{window.removeEventListener("scroll",St),window.removeEventListener("message",Mt),window.removeEventListener("orientationchange",Pt),clearTimeout(ke),na()}));function la(o,b){e.binding_callbacks[o?"unshift":"push"](()=>{H[b]=o,a(81,H)})}function ia(o){e.binding_callbacks[o?"unshift":"push"](()=>{w=o,a(79,w)})}function ra(o){e.binding_callbacks[o?"unshift":"push"](()=>{W=o,a(80,W)})}return s.$$set=o=>{"endpoint"in o&&a(1,r=o.endpoint),"env"in o&&a(2,m=o.env),"datasource"in o&&a(3,l=o.datasource),"currency"in o&&a(4,_=o.currency),"lang"in o&&a(5,f=o.lang),"session"in o&&a(6,y=o.session),"userid"in o&&a(7,C=o.userid),"userroles"in o&&a(8,v=o.userroles),"mbsource"in o&&a(9,c=o.mbsource),"clientstyling"in o&&a(10,D=o.clientstyling),"clientstylingurl"in o&&a(11,S=o.clientstylingurl),"translationurl"in o&&a(12,N=o.translationurl),"cmsendpoint"in o&&a(13,E=o.cmsendpoint),"usesinglevendorfilter"in o&&a(14,h=o.usesinglevendorfilter),"currencylocale"in o&&a(15,k=o.currencylocale),"categorybackground"in o&&a(16,p=o.categorybackground),"visiblegames"in o&&a(17,U=o.visiblegames),"favorites"in o&&a(18,x=o.favorites),"haspanicbutton"in o&&a(19,F=o.haspanicbutton),"filteredcategories"in o&&a(20,M=o.filteredcategories),"activecategory"in o&&a(21,j=o.activecategory),"showgamename"in o&&a(22,L=o.showgamename),"livecasino"in o&&a(23,$=o.livecasino),"playrandomgame"in o&&a(24,q=o.playrandomgame),"randomgameslider"in o&&a(25,P=o.randomgameslider),"filteredrandomgamecategories"in o&&a(26,ee=o.filteredrandomgamecategories),"gamepagemodalurl"in o&&a(27,R=o.gamepagemodalurl),"casinogamesgridslider"in o&&a(28,G=o.casinogamesgridslider),"positionwinnerswidget"in o&&a(29,te=o.positionwinnerswidget),"tabsorder"in o&&a(30,ae=o.tabsorder),"enableautoscroll"in o&&a(31,g=o.enableautoscroll),"istopavailable"in o&&a(32,d=o.istopavailable),"isrecentavailable"in o&&a(33,Fe=o.isrecentavailable),"integratedgameframedesktop"in o&&a(34,Ge=o.integratedgameframedesktop),"integratedgameframemobile"in o&&a(35,Ie=o.integratedgameframemobile),"periodrecent"in o&&a(36,Be=o.periodrecent),"periodtop"in o&&a(37,De=o.periodtop),"numberusersrecent"in o&&a(38,Ne=o.numberusersrecent),"numberuserstop"in o&&a(39,Oe=o.numberuserstop),"amountlimit"in o&&a(40,Te=o.amountlimit),"defaultcurrency"in o&&a(41,qe=o.defaultcurrency),"showsubgroups"in o&&a(99,he=o.showsubgroups),"positionjackpotbanners"in o&&a(42,Re=o.positionjackpotbanners),"caticon0"in o&&a(43,ze=o.caticon0),"caticon1"in o&&a(44,Ae=o.caticon1),"caticon2"in o&&a(45,We=o.caticon2),"caticon3"in o&&a(46,Ue=o.caticon3),"backgroundsrc"in o&&a(47,Ye=o.backgroundsrc),"backgroundsrcmobile"in o&&a(48,He=o.backgroundsrcmobile),"titlelogopath"in o&&a(49,Je=o.titlelogopath),"iconlabels"in o&&a(50,Ve=o.iconlabels),"visualstructure"in o&&a(51,Ke=o.visualstructure),"realtimeupdate"in o&&a(52,Qe=o.realtimeupdate),"positioncollections"in o&&a(53,Ze=o.positioncollections),"type"in o&&a(54,Xe=o.type),"titletype"in o&&a(55,xe=o.titletype),"collectionprovidersgamenames"in o&&a(56,$e=o.collectionprovidersgamenames),"addfilterselector"in o&&a(57,et=o.addfilterselector),"addsortingselector"in o&&a(58,tt=o.addsortingselector),"filterbylogo"in o&&a(59,at=o.filterbylogo),"positioncasinocalendar"in o&&a(60,st=o.positioncasinocalendar),"casinomygames"in o&&a(0,oe=o.casinomygames),"mostplayed"in o&&a(61,be=o.mostplayed),"lastplayed"in o&&a(62,pe=o.lastplayed),"lastplayedperiod"in o&&a(63,nt=o.lastplayedperiod),"mostplayedperiod"in o&&a(64,ot=o.mostplayedperiod),"lastplayedorder"in o&&a(65,lt=o.lastplayedorder),"lastplayedlimit"in o&&a(66,it=o.lastplayedlimit),"lastplayedunique"in o&&a(67,rt=o.lastplayedunique),"mostplayedrounds"in o&&a(68,mt=o.mostplayedrounds),"winnersdatasources"in o&&a(69,ut=o.winnersdatasources),"fetchviaevent"in o&&a(70,_t=o.fetchviaevent),"positionjelobbywidget"in o&&a(71,ct=o.positionjelobbywidget),"specificcategory"in o&&a(72,dt=o.specificcategory),"launchbygamecard"in o&&a(73,ft=o.launchbygamecard),"iconvisible"in o&&a(74,gt=o.iconvisible),"iconvisibleonanim"in o&&a(75,ht=o.iconvisibleonanim),"randombuttonicon"in o&&a(76,bt=o.randombuttonicon),"positionlobbyrandomplaywidget"in o&&a(77,pt=o.positionlobbyrandomplaywidget),"showmoresections"in o&&a(78,le=o.showmoresections),"categorieslimit"in o&&a(100,z=o.categorieslimit),"$$scope"in o&&a(102,u=o.$$scope)},s.$$.update=()=>{s.$$.dirty[0]&2097184&&f&&j&&ta(),s.$$.dirty[0]&194&&y&&C&&r&&aa(),s.$$.dirty[0]&42|s.$$.dirty[3]&128&&r&&l&&f&&z&&ea(),s.$$.dirty[0]&32&&f&&$t(),s.$$.dirty[0]&4096&&N&&Qt(),s.$$.dirty[0]&1024|s.$$.dirty[2]&262144&&D&&W&&e.setClientStyling(W,D),s.$$.dirty[0]&2048|s.$$.dirty[2]&262144&&S&&W&&e.setClientStylingURL(W,S),s.$$.dirty[0]&512|s.$$.dirty[2]&262144&&c&&W&&e.setStreamStyling(W,`${c}.Style`),s.$$.dirty[2]&131072&&w&&sa(),s.$$.dirty[2]&589824|s.$$.dirty[3]&384&&je&&H&&le==="false"&&z&&Zt()},[oe,r,m,l,_,f,y,C,v,c,D,S,N,E,h,k,p,U,x,F,M,j,L,$,q,P,ee,R,G,te,ae,g,d,Fe,Ge,Ie,Be,De,Ne,Oe,Te,qe,Re,ze,Ae,We,Ue,Ye,He,Je,Ve,Ke,Qe,Ze,Xe,xe,$e,et,tt,at,st,be,pe,nt,ot,lt,it,rt,mt,ut,_t,ct,dt,ft,gt,ht,bt,pt,le,w,W,H,ye,we,J,V,yt,re,Y,A,Ce,se,B,vt,n,ie,Lt,Xt,oa,he,z,je,u,i,la,ia,ra]}class Vt extends e.SvelteComponent{constructor(t){super(),e.init(this,t,ja,La,e.safe_not_equal,{endpoint:1,env:2,datasource:3,currency:4,lang:5,session:6,userid:7,userroles:8,mbsource:9,clientstyling:10,clientstylingurl:11,translationurl:12,cmsendpoint:13,usesinglevendorfilter:14,currencylocale:15,categorybackground:16,visiblegames:17,favorites:18,haspanicbutton:19,filteredcategories:20,activecategory:21,showgamename:22,livecasino:23,playrandomgame:24,randomgameslider:25,filteredrandomgamecategories:26,gamepagemodalurl:27,casinogamesgridslider:28,positionwinnerswidget:29,tabsorder:30,enableautoscroll:31,istopavailable:32,isrecentavailable:33,integratedgameframedesktop:34,integratedgameframemobile:35,periodrecent:36,periodtop:37,numberusersrecent:38,numberuserstop:39,amountlimit:40,defaultcurrency:41,showsubgroups:99,positionjackpotbanners:42,caticon0:43,caticon1:44,caticon2:45,caticon3:46,backgroundsrc:47,backgroundsrcmobile:48,titlelogopath:49,iconlabels:50,visualstructure:51,realtimeupdate:52,positioncollections:53,type:54,titletype:55,collectionprovidersgamenames:56,addfilterselector:57,addsortingselector:58,filterbylogo:59,positioncasinocalendar:60,casinomygames:0,mostplayed:61,lastplayed:62,lastplayedperiod:63,mostplayedperiod:64,lastplayedorder:65,lastplayedlimit:66,lastplayedunique:67,mostplayedrounds:68,winnersdatasources:69,fetchviaevent:70,positionjelobbywidget:71,specificcategory:72,launchbygamecard:73,iconvisible:74,iconvisibleonanim:75,randombuttonicon:76,positionlobbyrandomplaywidget:77,showmoresections:78,categorieslimit:100},ca,[-1,-1,-1,-1,-1])}get endpoint(){return this.$$.ctx[1]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get env(){return this.$$.ctx[2]}set env(t){this.$$set({env:t}),e.flush()}get datasource(){return this.$$.ctx[3]}set datasource(t){this.$$set({datasource:t}),e.flush()}get currency(){return this.$$.ctx[4]}set currency(t){this.$$set({currency: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 userroles(){return this.$$.ctx[8]}set userroles(t){this.$$set({userroles:t}),e.flush()}get mbsource(){return this.$$.ctx[9]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get translationurl(){return this.$$.ctx[12]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get cmsendpoint(){return this.$$.ctx[13]}set cmsendpoint(t){this.$$set({cmsendpoint:t}),e.flush()}get usesinglevendorfilter(){return this.$$.ctx[14]}set usesinglevendorfilter(t){this.$$set({usesinglevendorfilter:t}),e.flush()}get currencylocale(){return this.$$.ctx[15]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}get categorybackground(){return this.$$.ctx[16]}set categorybackground(t){this.$$set({categorybackground:t}),e.flush()}get visiblegames(){return this.$$.ctx[17]}set visiblegames(t){this.$$set({visiblegames:t}),e.flush()}get favorites(){return this.$$.ctx[18]}set favorites(t){this.$$set({favorites:t}),e.flush()}get haspanicbutton(){return this.$$.ctx[19]}set haspanicbutton(t){this.$$set({haspanicbutton:t}),e.flush()}get filteredcategories(){return this.$$.ctx[20]}set filteredcategories(t){this.$$set({filteredcategories:t}),e.flush()}get activecategory(){return this.$$.ctx[21]}set activecategory(t){this.$$set({activecategory:t}),e.flush()}get showgamename(){return this.$$.ctx[22]}set showgamename(t){this.$$set({showgamename:t}),e.flush()}get livecasino(){return this.$$.ctx[23]}set livecasino(t){this.$$set({livecasino:t}),e.flush()}get playrandomgame(){return this.$$.ctx[24]}set playrandomgame(t){this.$$set({playrandomgame:t}),e.flush()}get randomgameslider(){return this.$$.ctx[25]}set randomgameslider(t){this.$$set({randomgameslider:t}),e.flush()}get filteredrandomgamecategories(){return this.$$.ctx[26]}set filteredrandomgamecategories(t){this.$$set({filteredrandomgamecategories:t}),e.flush()}get gamepagemodalurl(){return this.$$.ctx[27]}set gamepagemodalurl(t){this.$$set({gamepagemodalurl:t}),e.flush()}get casinogamesgridslider(){return this.$$.ctx[28]}set casinogamesgridslider(t){this.$$set({casinogamesgridslider:t}),e.flush()}get positionwinnerswidget(){return this.$$.ctx[29]}set positionwinnerswidget(t){this.$$set({positionwinnerswidget:t}),e.flush()}get tabsorder(){return this.$$.ctx[30]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[31]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get istopavailable(){return this.$$.ctx[32]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[33]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get integratedgameframedesktop(){return this.$$.ctx[34]}set integratedgameframedesktop(t){this.$$set({integratedgameframedesktop:t}),e.flush()}get integratedgameframemobile(){return this.$$.ctx[35]}set integratedgameframemobile(t){this.$$set({integratedgameframemobile:t}),e.flush()}get periodrecent(){return this.$$.ctx[36]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[37]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[38]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[39]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[40]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[41]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get showsubgroups(){return this.$$.ctx[99]}set showsubgroups(t){this.$$set({showsubgroups:t}),e.flush()}get positionjackpotbanners(){return this.$$.ctx[42]}set positionjackpotbanners(t){this.$$set({positionjackpotbanners:t}),e.flush()}get caticon0(){return this.$$.ctx[43]}set caticon0(t){this.$$set({caticon0:t}),e.flush()}get caticon1(){return this.$$.ctx[44]}set caticon1(t){this.$$set({caticon1:t}),e.flush()}get caticon2(){return this.$$.ctx[45]}set caticon2(t){this.$$set({caticon2:t}),e.flush()}get caticon3(){return this.$$.ctx[46]}set caticon3(t){this.$$set({caticon3:t}),e.flush()}get backgroundsrc(){return this.$$.ctx[47]}set backgroundsrc(t){this.$$set({backgroundsrc:t}),e.flush()}get backgroundsrcmobile(){return this.$$.ctx[48]}set backgroundsrcmobile(t){this.$$set({backgroundsrcmobile:t}),e.flush()}get titlelogopath(){return this.$$.ctx[49]}set titlelogopath(t){this.$$set({titlelogopath:t}),e.flush()}get iconlabels(){return this.$$.ctx[50]}set iconlabels(t){this.$$set({iconlabels:t}),e.flush()}get visualstructure(){return this.$$.ctx[51]}set visualstructure(t){this.$$set({visualstructure:t}),e.flush()}get realtimeupdate(){return this.$$.ctx[52]}set realtimeupdate(t){this.$$set({realtimeupdate:t}),e.flush()}get positioncollections(){return this.$$.ctx[53]}set positioncollections(t){this.$$set({positioncollections:t}),e.flush()}get type(){return this.$$.ctx[54]}set type(t){this.$$set({type:t}),e.flush()}get titletype(){return this.$$.ctx[55]}set titletype(t){this.$$set({titletype:t}),e.flush()}get collectionprovidersgamenames(){return this.$$.ctx[56]}set collectionprovidersgamenames(t){this.$$set({collectionprovidersgamenames:t}),e.flush()}get addfilterselector(){return this.$$.ctx[57]}set addfilterselector(t){this.$$set({addfilterselector:t}),e.flush()}get addsortingselector(){return this.$$.ctx[58]}set addsortingselector(t){this.$$set({addsortingselector:t}),e.flush()}get filterbylogo(){return this.$$.ctx[59]}set filterbylogo(t){this.$$set({filterbylogo:t}),e.flush()}get positioncasinocalendar(){return this.$$.ctx[60]}set positioncasinocalendar(t){this.$$set({positioncasinocalendar:t}),e.flush()}get casinomygames(){return this.$$.ctx[0]}set casinomygames(t){this.$$set({casinomygames:t}),e.flush()}get mostplayed(){return this.$$.ctx[61]}set mostplayed(t){this.$$set({mostplayed:t}),e.flush()}get lastplayed(){return this.$$.ctx[62]}set lastplayed(t){this.$$set({lastplayed:t}),e.flush()}get lastplayedperiod(){return this.$$.ctx[63]}set lastplayedperiod(t){this.$$set({lastplayedperiod:t}),e.flush()}get mostplayedperiod(){return this.$$.ctx[64]}set mostplayedperiod(t){this.$$set({mostplayedperiod:t}),e.flush()}get lastplayedorder(){return this.$$.ctx[65]}set lastplayedorder(t){this.$$set({lastplayedorder:t}),e.flush()}get lastplayedlimit(){return this.$$.ctx[66]}set lastplayedlimit(t){this.$$set({lastplayedlimit:t}),e.flush()}get lastplayedunique(){return this.$$.ctx[67]}set lastplayedunique(t){this.$$set({lastplayedunique:t}),e.flush()}get mostplayedrounds(){return this.$$.ctx[68]}set mostplayedrounds(t){this.$$set({mostplayedrounds:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[69]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get fetchviaevent(){return this.$$.ctx[70]}set fetchviaevent(t){this.$$set({fetchviaevent:t}),e.flush()}get positionjelobbywidget(){return this.$$.ctx[71]}set positionjelobbywidget(t){this.$$set({positionjelobbywidget:t}),e.flush()}get specificcategory(){return this.$$.ctx[72]}set specificcategory(t){this.$$set({specificcategory:t}),e.flush()}get launchbygamecard(){return this.$$.ctx[73]}set launchbygamecard(t){this.$$set({launchbygamecard:t}),e.flush()}get iconvisible(){return this.$$.ctx[74]}set iconvisible(t){this.$$set({iconvisible:t}),e.flush()}get iconvisibleonanim(){return this.$$.ctx[75]}set iconvisibleonanim(t){this.$$set({iconvisibleonanim:t}),e.flush()}get randombuttonicon(){return this.$$.ctx[76]}set randombuttonicon(t){this.$$set({randombuttonicon:t}),e.flush()}get positionlobbyrandomplaywidget(){return this.$$.ctx[77]}set positionlobbyrandomplaywidget(t){this.$$set({positionlobbyrandomplaywidget:t}),e.flush()}get showmoresections(){return this.$$.ctx[78]}set showmoresections(t){this.$$set({showmoresections:t}),e.flush()}get categorieslimit(){return this.$$.ctx[100]}set categorieslimit(t){this.$$set({categorieslimit:t}),e.flush()}}e.create_custom_element(Vt,{endpoint:{},env:{},datasource:{},currency:{},lang:{},session:{},userid:{},userroles:{},mbsource:{},clientstyling:{},clientstylingurl:{},translationurl:{},cmsendpoint:{},usesinglevendorfilter:{},currencylocale:{},categorybackground:{},visiblegames:{},favorites:{},haspanicbutton:{},filteredcategories:{},activecategory:{},showgamename:{},livecasino:{},playrandomgame:{},randomgameslider:{},filteredrandomgamecategories:{},gamepagemodalurl:{},casinogamesgridslider:{},positionwinnerswidget:{},tabsorder:{},enableautoscroll:{},istopavailable:{},isrecentavailable:{},integratedgameframedesktop:{},integratedgameframemobile:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},defaultcurrency:{},showsubgroups:{},positionjackpotbanners:{},caticon0:{},caticon1:{},caticon2:{},caticon3:{},backgroundsrc:{},backgroundsrcmobile:{},titlelogopath:{},iconlabels:{},visualstructure:{},realtimeupdate:{},positioncollections:{},type:{},titletype:{},collectionprovidersgamenames:{},addfilterselector:{},addsortingselector:{},filterbylogo:{},positioncasinocalendar:{},casinomygames:{},mostplayed:{},lastplayed:{},lastplayedperiod:{},mostplayedperiod:{},lastplayedorder:{},lastplayedlimit:{},lastplayedunique:{},mostplayedrounds:{},winnersdatasources:{},fetchviaevent:{},positionjelobbywidget:{},specificcategory:{},launchbygamecard:{},iconvisible:{},iconvisibleonanim:{},randombuttonicon:{},positionlobbyrandomplaywidget:{},showmoresections:{},categorieslimit:{}},["je-jackpots-widget"],[],!0);exports.default=Vt;
@@ -0,0 +1 @@
1
+ "use strict";var X=(r,t,n)=>new Promise((i,l)=>{var o=c=>{try{u(n.next(c))}catch(p){l(p)}},a=c=>{try{u(n.throw(c))}catch(p){l(p)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(o,a);u((n=n.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-4k288rHh.cjs");function Le(r,t){e.addMessages(r,t)}function Oe(r){e.$locale.set(r)}const Re={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢",noWinnersMessage:"現在暫時沒有贏家!"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen",noWinnersMessage:"Zurzeit gibt es keine Gewinner!"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Non ci sono vincitori al momento!"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner",noWinnersMessage:"Il n’y a pas de gagnants pour le moment !"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores",noWinnersMessage:"No hay ganadores en este momento."},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε",noWinnersMessage:"Δεν υπάρχουν νικητές αυτή τη στιγμή!"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı",noWinnersMessage:"Şu anda kazanan yok!"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"В данный момент нет победителей!"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat",noWinnersMessage:"Nu există câștigători în acest moment!"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio",noWinnersMessage:"Trenutno nema pobjednika!"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert",noWinnersMessage:"Jelenleg nincsenek nyertesek!"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Obecnie nie ma żadnych zwycięzców!"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Trenutno nema pobednika!"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar",noWinnersMessage:"Não há vencedores no momento!"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano",noWinnersMessage:"No hay ganadores en este momento."},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."}};function Pe(r,t,n){return window.emMessageBus&&(t=window.emMessageBus.subscribe(r,n)),t}if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-wnzFPEVd.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Ie(r){e.append_styles(r,"svelte-d1flp7","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function ae(r,t,n){const i=r.slice();return i[74]=t[n],i}function ce(r,t,n){const i=r.slice();return i[77]=t[n],i}function Ge(r){let t,n,i,l,o,a,u,c,p,L,M,_,b,A,x,B,F,T,v,y=e.ensure_array_like(r[16]),g=[];for(let m=0;m<y.length;m+=1)g[m]=fe(ce(r,y,m));function N(m,f){return m[17]?qe:De}let S=N(r),w=S(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div");for(let m=0;m<g.length;m+=1)g[m].c();l=e.space(),o=e.element("div"),a=e.element("button"),u=e.svg_element("svg"),c=e.svg_element("path"),L=e.space(),M=e.element("button"),_=e.svg_element("svg"),b=e.svg_element("path"),B=e.space(),w.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(c,"style",p=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(c,"id","Path_36"),e.attr(c,"data-name","Path 36"),e.attr(c,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(c,"transform","translate(14.656 0) rotate(90)"),e.attr(c,"fill","#fff"),e.attr(u,"id","Component_46_2"),e.attr(u,"data-name","Component 46 – 2"),e.attr(u,"xmlns","http://www.w3.org/2000/svg"),e.attr(u,"width","15"),e.attr(u,"height","15"),e.attr(u,"viewBox","0 0 16 24.656"),e.attr(a,"class","SliderButton"),e.attr(b,"style",A=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(b,"id","Path_36"),e.attr(b,"data-name","Path 36"),e.attr(b,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(b,"transform","translate(0 24.656) rotate(-90)"),e.attr(b,"fill","#fff"),e.attr(_,"id","Component_46_2"),e.attr(_,"data-name","Component 46 – 2"),e.attr(_,"xmlns","http://www.w3.org/2000/svg"),e.attr(_,"width","15"),e.attr(_,"height","15"),e.attr(_,"viewBox","0 0 16 24.656"),e.attr(M,"class","SliderButton"),e.attr(o,"class",x="ButtonsContainer "+(r[4]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",F="CasinoWinners "+(r[12]?"Mobile":""))},m(m,f){e.insert(m,t,f),e.append(t,n),e.append(n,i);for(let d=0;d<g.length;d+=1)g[d]&&g[d].m(i,null);e.append(n,l),e.append(n,o),e.append(o,a),e.append(a,u),e.append(u,c),e.append(o,L),e.append(o,M),e.append(M,_),e.append(_,b),e.append(t,B),w.m(t,null),T||(v=[e.listen(a,"click",r[47]),e.listen(M,"click",r[48])],T=!0)},p(m,f){if(f[0]&852483){y=e.ensure_array_like(m[16]);let d;for(d=0;d<y.length;d+=1){const k=ce(m,y,d);g[d]?g[d].p(k,f):(g[d]=fe(k),g[d].c(),g[d].m(i,null))}for(;d<g.length;d+=1)g[d].d(1);g.length=y.length}f[0]&3072&&p!==(p=m[11]>=m[10].length?"fill:#F6F6F62E":"")&&e.attr(c,"style",p),f[0]&3072&&A!==(A=m[11]>=m[10].length?"fill:#F6F6F62E":"")&&e.attr(b,"style",A),f[0]&16&&x!==(x="ButtonsContainer "+(m[4]=="true"?"ButtonsContainerNone":""))&&e.attr(o,"class",x),S===(S=N(m))&&w?w.p(m,f):(w.d(1),w=S(m),w&&(w.c(),w.m(t,null))),f[0]&4096&&F!==(F="CasinoWinners "+(m[12]?"Mobile":""))&&e.attr(t,"class",F)},d(m){m&&e.detach(t),e.destroy_each(g,m),w.d(),T=!1,e.run_all(v)}}}function Ue(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3])},d(n){n&&e.detach(t)}}}function ue(r){let t,n=r[0]==="true"&&de(r);return{c(){n&&n.c(),t=e.empty()},m(i,l){n&&n.m(i,l),e.insert(i,t,l)},p(i,l){i[0]==="true"?n?n.p(i,l):(n=de(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(i){i&&e.detach(t),n&&n.d(i)}}}function de(r){let t,n=r[18]("recentWinners")+"",i,l,o,a;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[9]=="recent"?"Active":""))},m(u,c){e.insert(u,t,c),e.append(t,i),o||(a=e.listen(t,"click",r[45]),o=!0)},p(u,c){c[0]&262144&&n!==(n=u[18]("recentWinners")+"")&&e.set_data(i,n),c[0]&512&&l!==(l="WinnersButton "+(u[9]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),o=!1,a()}}}function me(r){let t,n=r[18]("topWinners")+"",i,l,o,a,u;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",o="WinnersButton "+(r[9]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(c,p){e.insert(c,t,p),e.append(t,i),e.append(t,l),a||(u=e.listen(t,"click",r[46]),a=!0)},p(c,p){p[0]&262144&&n!==(n=c[18]("topWinners")+"")&&e.set_data(i,n),p[0]&514&&o!==(o="WinnersButton "+(c[9]=="top"?"Active":"")+" "+(c[1]=="false"?"Off":""))&&e.attr(t,"class",o)},d(c){c&&e.detach(t),a=!1,u()}}}function fe(r){let t,n,i=r[77]=="recent"&&ue(r),l=r[77]=="top"&&me(r);return{c(){i&&i.c(),t=e.space(),l&&l.c(),n=e.empty()},m(o,a){i&&i.m(o,a),e.insert(o,t,a),l&&l.m(o,a),e.insert(o,n,a)},p(o,a){o[77]=="recent"?i?i.p(o,a):(i=ue(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),o[77]=="top"?l?l.p(o,a):(l=me(o),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(o){o&&(e.detach(t),e.detach(n)),i&&i.d(o),l&&l.d(o)}}}function De(r){let t;function n(o,a){return o[10].length!==0?Ve:He}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c(),e.attr(t,"class","WinnersSlider")},m(o,a){e.insert(o,t,a),l.m(t,null),r[51](t)},p(o,a){i===(i=n(o))&&l?l.p(o,a):(l.d(1),l=i(o),l&&(l.c(),l.m(t,null)))},d(o){o&&e.detach(t),l.d(),r[51](null)}}}function qe(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3]),e.set_custom_element_data(t,"mbsource",r[5])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3]),i[0]&32&&e.set_custom_element_data(t,"mbsource",n[5])},d(n){n&&e.detach(t)}}}function He(r){let t,n=r[18]("noWinnersMessage")+"",i;return{c(){t=e.element("p"),i=e.text(n),e.attr(t,"class","NoWinnersMessage")},m(l,o){e.insert(l,t,o),e.append(t,i)},p(l,o){o[0]&262144&&n!==(n=l[18]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function Ve(r){let t,n=e.ensure_array_like(r[10]),i=[];for(let l=0;l<n.length;l+=1)i[l]=ge(ae(r,n,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();t=e.empty()},m(l,o){for(let a=0;a<i.length;a+=1)i[a]&&i[a].m(l,o);e.insert(l,t,o)},p(l,o){if(o[0]&20219136){n=e.ensure_array_like(l[10]);let a;for(a=0;a<n.length;a+=1){const u=ae(l,n,a);i[a]?i[a].p(u,o):(i[a]=ge(u),i[a].c(),i[a].m(t.parentNode,t))}for(;a<i.length;a+=1)i[a].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function ge(r){let t,n,i,l,o,a,u,c=r[74].gameName+"",p,L,M,_=r[20](r[74].username)+"",b,A,x,B=r[18]("won")+"",F,T,v,y=r[24](r[74].specifiedCurrencyAmount)+"",g,N,S,w;function m(){return r[49](r[74])}return{c(){var f,d,k,E;t=e.element("div"),n=e.element("div"),i=e.element("img"),a=e.space(),u=e.element("p"),p=e.text(c),L=e.space(),M=e.element("p"),b=e.text(_),A=e.space(),x=e.element("p"),F=e.text(B),T=e.space(),v=e.element("p"),g=e.space(),e.src_url_equal(i.src,l=(d=(f=r[74])==null?void 0:f.gameModel)==null?void 0:d.thumbnail)||e.attr(i,"src",l),e.attr(i,"alt",o=(E=(k=r[74])==null?void 0:k.gameModel)==null?void 0:E.thumbnail),e.attr(i,"class","WinnersImage"),e.attr(x,"class","WinnerUsername"),e.attr(v,"class","WinnerAmount"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",N="CardWrapper "+(r[15]?"CardWrapperAnimation":""))},m(f,d){e.insert(f,t,d),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,u),e.append(u,p),e.append(n,L),e.append(n,M),e.append(M,b),e.append(n,A),e.append(n,x),e.append(x,F),e.append(n,T),e.append(n,v),v.innerHTML=y,r[50](n),e.append(t,g),S||(w=e.listen(i,"click",m),S=!0)},p(f,d){var k,E,O,z;r=f,d[0]&1024&&!e.src_url_equal(i.src,l=(E=(k=r[74])==null?void 0:k.gameModel)==null?void 0:E.thumbnail)&&e.attr(i,"src",l),d[0]&1024&&o!==(o=(z=(O=r[74])==null?void 0:O.gameModel)==null?void 0:z.thumbnail)&&e.attr(i,"alt",o),d[0]&1024&&c!==(c=r[74].gameName+"")&&e.set_data(p,c),d[0]&1024&&_!==(_=r[20](r[74].username)+"")&&e.set_data(b,_),d[0]&262144&&B!==(B=r[18]("won")+"")&&e.set_data(F,B),d[0]&1024&&y!==(y=r[24](r[74].specifiedCurrencyAmount)+"")&&(v.innerHTML=y),d[0]&32768&&N!==(N="CardWrapper "+(r[15]?"CardWrapperAnimation":""))&&e.attr(t,"class",N)},d(f){f&&e.detach(t),r[50](null),S=!1,w()}}}function Ke(r){let t;function n(o,a){return o[13]||o[14]?Ue:Ge}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c()},m(o,a){e.insert(o,t,a),l.m(t,null),r[52](t)},p(o,a){i===(i=n(o))&&l?l.p(o,a):(l.d(1),l=i(o),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),l.d(),r[52](null)}}}function Ze(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(18,i=s));let{endpoint:l=""}=t,{session:o=""}=t,{userid:a=""}=t,{periodrecent:u="Today"}=t,{periodtop:c="Last7Days"}=t,{numberusersrecent:p="20"}=t,{numberuserstop:L="20"}=t,{amountlimit:M="1"}=t,{vendorCategory:_="All"}=t,{lang:b="en"}=t,{isrecentavailable:A="true"}=t,{istopavailable:x="true"}=t,{defaultcurrency:B=""}=t,{usercurrency:F=""}=t,{customcurrencysymbol:T}=t,{clientstyling:v=""}=t,{clientstylingurl:y=""}=t,{enableautoscroll:g=""}=t,{tabsorder:N=""}=t,{translationurl:S=""}=t,{winnersdatasources:w=""}=t,{hascustomstyling:m="false"}=t,{mbsource:f}=t,{currencylocale:d=""}=t,k,E,O,z=[],W=0,C=0,pe=window.navigator.userAgent,Y,P,U,j,D=!0,Q=!1,$=!1,ee,G,q,I,te=[],H=!1,be;const V=s=>{Object.keys(s).forEach(h=>{Le(h,s[h])})},_e=()=>{let s=new URL(S);fetch(s.href).then(h=>h.json()).then(h=>{V(h)}).catch(h=>{console.log(h)})};V(Re);const ne=()=>{te=w.split(",").map(function(h){return h.trim()});const s=new URL(`${l}/v1/casino/${O}-winners`);n(17,H=!0),s.searchParams.append("limit",O=="recent"?p:L),s.searchParams.append("specifiedCurrency",I),s.searchParams.append("period",O=="recent"?u:c),s.searchParams.append("language",b),s.searchParams.append("amountLimit",M),s.searchParams.append("vendorCategory",_),te.forEach(h=>{s.searchParams.append("dataSource",h)}),setTimeout(()=>{fetch(s.href).then(h=>h.json()).then(h=>X(this,null,function*(){n(10,z=[]),n(10,z=h.items.map(R=>R)),n(17,H=!1),yield e.tick(),ve(),ie(),g=="true"&&(clearInterval(G),We()),n(13,D=!1),ye()}))},1e3)},ye=()=>{const s=j.getRootNode().host;s.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:s}}))},K=s=>{O!==s&&(n(10,z=[]),n(9,O=s),ne())},we=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),re=(s,h,R,J)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:h,gameName:R,subVendor:J},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${U||"Not logged in"}`})},ie=(s=0)=>{const h=[...k.children];ee=h.length,h.forEach((R,J)=>{R.style.transform=`translateX(${100*(J-s)}%)`}),setTimeout(()=>{n(15,$=!0)},10)},We=()=>{W=0,C<ee?G=setInterval(()=>{Z()},3e3):clearInterval(G)},se=()=>{ie(W)},ve=()=>X(this,null,function*(){yield e.tick(),requestAnimationFrame(()=>{const s=E?E.offsetWidth:0;k.offsetWidth&&s?n(11,C=Math.round(k.offsetWidth/s)):n(11,C=0)})}),le=()=>{if(C>=z.length)return;const s=z.length;W===0?W=s-C:W-C<0?W=0:W=W-C,se()},Z=()=>{if(C>=z.length)return;const s=z.length;g=="true"&&(W===s-C?W=0:W++),g=="false"&&(W===s-C?W=0:s-C<W+C?W=s-C:W+=C),se()},ke=()=>{Oe(b)},Ce=()=>{n(43,P=!0),U=a},oe=()=>{n(44,I=P?F:B)},Me=s=>{const h=T!=null?T:P?F:B;return`${d?Intl.NumberFormat(d,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:I}).format(s).replace(/\s/g,""):s.toFixed(2)}<span class="CurrencySymbol">${h}</span>`},Fe=()=>{m==="true"&&(!v&&!y&&j&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!v&&y&&n(14,Q=!0))},Se=()=>{n(16,q=N.split(",")),n(9,O=q[0]),oe(),n(13,D=!1)};e.onMount(()=>(n(12,Y=e.isMobile(pe)),()=>{clearInterval(G)}));const xe=()=>K("recent"),Be=()=>K("top"),Te=()=>le(),Ne=()=>Z(),Ae=s=>re(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function Ee(s){e.binding_callbacks[s?"unshift":"push"](()=>{E=s,n(8,E)})}function ze(s){e.binding_callbacks[s?"unshift":"push"](()=>{k=s,n(7,k)})}function je(s){e.binding_callbacks[s?"unshift":"push"](()=>{j=s,n(6,j)})}return r.$$set=s=>{"endpoint"in s&&n(25,l=s.endpoint),"session"in s&&n(26,o=s.session),"userid"in s&&n(27,a=s.userid),"periodrecent"in s&&n(28,u=s.periodrecent),"periodtop"in s&&n(29,c=s.periodtop),"numberusersrecent"in s&&n(30,p=s.numberusersrecent),"numberuserstop"in s&&n(31,L=s.numberuserstop),"amountlimit"in s&&n(32,M=s.amountlimit),"vendorCategory"in s&&n(33,_=s.vendorCategory),"lang"in s&&n(34,b=s.lang),"isrecentavailable"in s&&n(0,A=s.isrecentavailable),"istopavailable"in s&&n(1,x=s.istopavailable),"defaultcurrency"in s&&n(35,B=s.defaultcurrency),"usercurrency"in s&&n(36,F=s.usercurrency),"customcurrencysymbol"in s&&n(37,T=s.customcurrencysymbol),"clientstyling"in s&&n(2,v=s.clientstyling),"clientstylingurl"in s&&n(3,y=s.clientstylingurl),"enableautoscroll"in s&&n(4,g=s.enableautoscroll),"tabsorder"in s&&n(38,N=s.tabsorder),"translationurl"in s&&n(39,S=s.translationurl),"winnersdatasources"in s&&n(40,w=s.winnersdatasources),"hascustomstyling"in s&&n(41,m=s.hascustomstyling),"mbsource"in s&&n(5,f=s.mbsource),"currencylocale"in s&&n(42,d=s.currencylocale)},r.$$.update=()=>{r.$$.dirty[0]&1879048195|r.$$.dirty[1]&143&&A&&x&&u&&c&&p&&L&&M&&_&&b&&N&&Se(),r.$$.dirty[0]&67108864&&o&&Ce(),r.$$.dirty[1]&4144&&P&&(F||B)&&oe(),r.$$.dirty[0]&33554432|r.$$.dirty[1]&8704&&l&&w&&I&&ne(),r.$$.dirty[1]&8&&b&&ke(),r.$$.dirty[1]&256&&S&&_e(),r.$$.dirty[0]&32|r.$$.dirty[1]&256&&f&&!S&&Pe(`${f}.Translation`,be,V),r.$$.dirty[1]&1024&&m&&Fe(),r.$$.dirty[0]&68&&v&&j&&e.setClientStyling(j,v),r.$$.dirty[0]&72&&y&&j&&e.setClientStylingURL(j,y),r.$$.dirty[0]&96&&j&&e.setStreamStyling(j,`${f}.Style`)},[A,x,v,y,g,f,j,k,E,O,z,C,Y,D,Q,$,q,H,i,K,we,re,le,Z,Me,l,o,a,u,c,p,L,M,_,b,B,F,T,N,S,w,m,d,P,I,xe,Be,Te,Ne,Ae,Ee,ze,je]}class he extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ze,Ke,e.safe_not_equal,{endpoint:25,session:26,userid:27,periodrecent:28,periodtop:29,numberusersrecent:30,numberuserstop:31,amountlimit:32,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:35,usercurrency:36,customcurrencysymbol:37,clientstyling:2,clientstylingurl:3,enableautoscroll:4,tabsorder:38,translationurl:39,winnersdatasources:40,hascustomstyling:41,mbsource:5,currencylocale:42},Ie,[-1,-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[26]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[28]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[29]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[30]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[31]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[32]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[34]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[36]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get customcurrencysymbol(){return this.$$.ctx[37]}set customcurrencysymbol(t){this.$$set({customcurrencysymbol:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[38]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[39]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[40]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[41]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}get mbsource(){return this.$$.ctx[5]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get currencylocale(){return this.$$.ctx[42]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(he,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},customcurrencysymbol:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{},currencylocale:{}},[],[],!0);exports.default=he;
@@ -122,7 +122,7 @@ const bn = {
122
122
  }
123
123
  };
124
124
  function pn(t, e, n) {
125
- window.emMessageBus && window.emMessageBus.subscribe(t, n);
125
+ return window.emMessageBus && (e = window.emMessageBus.subscribe(t, n)), e;
126
126
  }
127
127
  if (typeof window < "u") {
128
128
  let t = function(e) {
@@ -138,7 +138,7 @@ const pn = {
138
138
  }
139
139
  };
140
140
  function yn(t, e, n) {
141
- window.emMessageBus && window.emMessageBus.subscribe(t, n);
141
+ return window.emMessageBus && (e = window.emMessageBus.subscribe(t, n)), e;
142
142
  }
143
143
  if (typeof window != "undefined") {
144
144
  let t = function(e) {
@@ -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/CasinoPage-PNTkRhpk.cjs")).then(({default:t})=>{!customElements.get("casino-page")&&customElements.define("casino-page",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/CasinoPage-D-FENg4m.cjs")).then(({default:t})=>{!customElements.get("casino-page")&&customElements.define("casino-page",t.element)})}
@@ -10,7 +10,7 @@ if (typeof window != "undefined") {
10
10
  }
11
11
  };
12
12
  };
13
- customElements.define = n(customElements.define), import("../components/CasinoPage-B318-b4u.js").then(({ default: t }) => {
13
+ customElements.define = n(customElements.define), import("../components/CasinoPage-BNU69s1m.js").then(({ default: t }) => {
14
14
  !customElements.get("casino-page") && customElements.define("casino-page", t.element);
15
15
  });
16
16
  }
@@ -1,4 +1,4 @@
1
- import { C as s } from "../components/CasinoPage-Dn5FDtEd.js";
1
+ import { C as s } from "../components/CasinoPage-BRSRsp5F.js";
2
2
  function a(t) {
3
3
  return function(...n) {
4
4
  try {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@everymatrix/casino-page",
3
- "version": "1.87.20",
3
+ "version": "1.87.21",
4
4
  "type": "module",
5
5
  "main": "es2015/casino-page.cjs",
6
6
  "module": "esnext/casino-page.js",
@@ -1,4 +1,4 @@
1
- import { b as a, p as t } from "./index-328e660d-CRkYzdMU.js";
1
+ import { b as a, p as t } from "./index-328e660d-Belout2l.js";
2
2
  import { g as e } from "./app-globals-0f993ce5-DfNOCk8l.js";
3
3
  var r = () => {
4
4
  const n = import.meta.url, i = {};
@@ -1 +1 @@
1
- "use strict";var c=(e,i,t)=>new Promise((u,l)=>{var d=n=>{try{a(t.next(n))}catch(r){l(r)}},g=n=>{try{a(t.throw(n))}catch(r){l(r)}},a=n=>n.done?u(n.value):Promise.resolve(n.value).then(d,g);a((t=t.apply(e,i)).next())});const s=require("./index-328e660d-B-CyVkeM.cjs"),m=require("./app-globals-0f993ce5-4b17CI_n.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/casino-play-random-game-vSlhv2-5.cjs",document.baseURI).href,i={};return e!==""&&(i.resourcesUrl=new URL(".",e).href),s.promiseResolve(i)};h().then(e=>c(exports,null,function*(){return yield m.globalScripts(),s.bootstrapLazy([["casino-play-random-game_2",[[1,"casino-play-random-game",{endpoint:[513],datasource:[513],language:[513],specificCategory:[513,"specific-category"],iconVisible:[513,"icon-visible"],iconVisibleOnAnim:[513,"icon-visible-on-anim"],launchByGameCard:[513,"launch-by-game-card"],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],e)}));
1
+ "use strict";var c=(e,i,t)=>new Promise((u,l)=>{var d=n=>{try{a(t.next(n))}catch(r){l(r)}},g=n=>{try{a(t.throw(n))}catch(r){l(r)}},a=n=>n.done?u(n.value):Promise.resolve(n.value).then(d,g);a((t=t.apply(e,i)).next())});const s=require("./index-328e660d-BLQrzwBv.cjs"),m=require("./app-globals-0f993ce5-4b17CI_n.cjs");var o=typeof document!="undefined"?document.currentScript:null,h=()=>{const e=typeof document=="undefined"?require("url").pathToFileURL(__filename).href:o&&o.tagName.toUpperCase()==="SCRIPT"&&o.src||new URL("stencil/casino-play-random-game-PuRF3mXV.cjs",document.baseURI).href,i={};return e!==""&&(i.resourcesUrl=new URL(".",e).href),s.promiseResolve(i)};h().then(e=>c(exports,null,function*(){return yield m.globalScripts(),s.bootstrapLazy([["casino-play-random-game_2",[[1,"casino-play-random-game",{endpoint:[513],datasource:[513],language:[513],specificCategory:[513,"specific-category"],iconVisible:[513,"icon-visible"],iconVisibleOnAnim:[513,"icon-visible-on-anim"],launchByGameCard:[513,"launch-by-game-card"],mbSource:[513,"mb-source"],clientStyling:[513,"client-styling"],clientStylingUrl:[513,"client-styling-url"],translationUrl:[513,"translation-url"],hasErrors:[32],isLoading:[32],gamesToShow:[32],selectedGame:[32],animationDone:[32],animationStarted:[32]},null,{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}],[0,"ui-skeleton",{structure:[1],width:[1],height:[1],borderRadius:[8,"border-radius"],marginBottom:[8,"margin-bottom"],marginTop:[8,"margin-top"],marginLeft:[8,"margin-left"],marginRight:[8,"margin-right"],animation:[4],rows:[2],size:[1]},null,{structure:["handleStructureChange"]}]]]],e)}));
@@ -14,7 +14,7 @@ var l = (i, a, t) => new Promise((s, o) => {
14
14
  }, e = (n) => n.done ? s(n.value) : Promise.resolve(n.value).then(c, g);
15
15
  e((t = t.apply(i, a)).next());
16
16
  });
17
- import { b as m, p as u } from "./index-328e660d-BObr7mUW.js";
17
+ import { b as m, p as u } from "./index-328e660d-BqUO7ccV.js";
18
18
  import { g as d } from "./app-globals-0f993ce5-DfNOCk8l.js";
19
19
  var h = () => {
20
20
  const i = import.meta.url, a = {};
@@ -1,4 +1,4 @@
1
- import { r as h, c as p, h as t, g as w, H as f } from "./index-328e660d-CRkYzdMU.js";
1
+ import { r as h, c as p, h as t, g as w, H as f } from "./index-328e660d-Belout2l.js";
2
2
  const y = () => {
3
3
  let e = window.navigator.userAgent;
4
4
  return e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
@@ -85,7 +85,7 @@ function x(e, n, a) {
85
85
  }
86
86
  }
87
87
  function k(e, n, a) {
88
- window.emMessageBus && window.emMessageBus.subscribe(e, a);
88
+ return window.emMessageBus && (n = window.emMessageBus.subscribe(e, a)), n;
89
89
  }
90
90
  const G = `:host {
91
91
  display: block;
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const n=require("./index-328e660d-B-CyVkeM.cjs"),w=()=>{let e=window.navigator.userAgent;return e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},f="en",r={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rastgele Bir Oyun Oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},l=e=>new Promise(t=>{fetch(e).then(a=>a.json()).then(a=>{h(a),t(!0)})}),s=(e,t)=>{const a=t;return r[a!==void 0&&a in r?a:f][e]},h=e=>{Object.keys(e).forEach(t=>{r[t]||(r[t]={});for(let a in e[t])r[t][a]=e[t][a]})};function m(e,t){if(e){const a=document.createElement("style");a.innerHTML=t,e.appendChild(a)}}function d(e,t){if(!e||!t)return;const a=new URL(t);fetch(a.href).then(i=>i.text()).then(i=>{const o=document.createElement("style");o.innerHTML=i,e&&e.appendChild(o)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function y(e,t,a){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(t,o=>{i.innerHTML=o,e&&e.appendChild(i)})}}function b(e,t,a){window.emMessageBus&&window.emMessageBus.subscribe(e,a)}const x=`:host {
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("./index-328e660d-BLQrzwBv.cjs"),w=()=>{let e=window.navigator.userAgent;return e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC"},f="en",r={en:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},ro:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},fr:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},hr:{error:"Greška",randomGameLoading:"Učitavanje ...",playRandomGame:"Igraj nasumičnu igru",playNowRandomGame:"Igraj sada",spinRandomGame:"Zavrti"},hu:{error:"Error",randomGameLoading:"Loading ...",playRandomGame:"Play a random game",playNowRandomGame:"Play now",spinRandomGame:"Spin"},tr:{error:"Hata",randomGameLoading:"Yükleniyor...",playRandomGame:"Rastgele Bir Oyun Oyna",playNowRandomGame:"Şimdi Oyna",spinRandomGame:"DEĞİŞTİR"}},l=e=>new Promise(n=>{fetch(e).then(a=>a.json()).then(a=>{h(a),n(!0)})}),s=(e,n)=>{const a=n;return r[a!==void 0&&a in r?a:f][e]},h=e=>{Object.keys(e).forEach(n=>{r[n]||(r[n]={});for(let a in e[n])r[n][a]=e[n][a]})};function m(e,n){if(e){const a=document.createElement("style");a.innerHTML=n,e.appendChild(a)}}function d(e,n){if(!e||!n)return;const a=new URL(n);fetch(a.href).then(i=>i.text()).then(i=>{const o=document.createElement("style");o.innerHTML=i,e&&e.appendChild(o)}).catch(i=>{console.error("There was an error while trying to load client styling from URL",i)})}function y(e,n,a){if(window.emMessageBus){const i=document.createElement("style");window.emMessageBus.subscribe(n,o=>{i.innerHTML=o,e&&e.appendChild(i)})}}function b(e,n,a){return window.emMessageBus&&(n=window.emMessageBus.subscribe(e,a)),n}const x=`:host {
2
2
  display: block;
3
3
  font-family: inherit;
4
4
  -webkit-transform: translate3d(0, 0, 0);
@@ -375,7 +375,7 @@
375
375
  width: 70px;
376
376
  height: 85px;
377
377
  }
378
- }`,k=x,c=class{constructor(e){n.registerInstance(this,e),this.dataLoaded=n.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=t=>{let a=t.length,i;for(;a!==0;)i=Math.floor(Math.random()*a),a--,[t[a],t[i]]=[t[i],t[a]];return t},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(e,t){e&&e!=t&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,t){e!=t&&m(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,t){e!=t&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),!this.translationUrl&&this.mbSource&&window.emMessageBus!=null&&b(`${this.mbSource}.Translation`,this.translationSubscription,h),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?y(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.translationSubscription&&this.translationSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",w()),e.searchParams.append("datasource",this.datasource),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=423"),e.searchParams.append("language",this.language),this.specificCategory&&e.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((t,a)=>{this.isLoading=!0,fetch(e.href).then(i=>i.json()).then(i=>{this.gamesToShow=this.setUpGames(i==null?void 0:i.items),t(!0)}).catch(i=>{console.error(i),this.hasErrors=!0,a(i)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const t=this.shuffle(e).slice(0,40);return t.concat(t)}selectRandomGame(){const e=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(e-3)),this.selectedGameIndex+=e,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&&gtag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&&gtag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const e=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),t=parseInt(e,10),a=this.selectedGameEl.offsetWidth,i=this.gameContainer.offsetWidth,o=(a+t)*this.selectedGameIndex+a/2-i/2,u=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],p={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(u,p),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return n.h("div",{class:"RandomButtonsWrapper"},n.h("div",{class:"RandomGameDetails"},n.h("span",{class:"RandomGameTitle"},this.selectedGame.name),n.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),n.h("div",{class:"RandomButtons"},n.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&n.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(t,a)=>n.h("div",{class:"RandomGameCard",key:a},n.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer"},e))}render(){return n.h("div",{key:"a1e3f626fea9bcd6a351f1769675e11b21ac8fbd",ref:e=>this.stylingContainer=e},this.hasErrors?n.h("div",{class:"RandomGameError"},n.h("div",{class:"Title"},s("error",this.language))):this.isLoading?this.renderSkeleton():n.h("div",{class:"RandomGameWrapper"},n.h("div",{class:"GameContainerGradient"}),n.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,t)=>n.h("div",{class:"RandomGameCard",key:t,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},n.h("div",{class:"RandomGameVendor"},e.vendor.name),n.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===t&&this.renderGameDetails()))),n.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},n.h("div",{class:"ButtonContainer"},this.iconVisibility&&n.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},n.h("div",{class:"QustionMark"},"?"),n.h("div",{class:"HexagonMarkShadow"}),n.h("div",{class:"HexagonMark"})),!this.animationStarted&&n.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return n.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};c.style=k;const G=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",v=G,g=class{constructor(e){n.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,t){t!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return n.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return n.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,t)=>n.h("div",{key:t,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return n.h("div",{class:"SkeletonContainer"},n.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
378
+ }`,k=x,c=class{constructor(e){t.registerInstance(this,e),this.dataLoaded=t.createEvent(this,"data-loaded"),this.animation=null,this.selectedGameIndex=null,this.selectedGameEl=null,this.iconVisibility=null,this.shuffle=n=>{let a=n.length,i;for(;a!==0;)i=Math.floor(Math.random()*a),a--,[n[a],n[i]]=[n[i],n[a]];return n},this.endpoint=void 0,this.datasource=void 0,this.language="en",this.specificCategory="",this.iconVisible="",this.iconVisibleOnAnim="",this.launchByGameCard="",this.mbSource=void 0,this.clientStyling="",this.clientStylingUrl="",this.translationUrl="",this.hasErrors=!1,this.isLoading=!0,this.gamesToShow=void 0,this.selectedGame=null,this.animationDone=!1,this.animationStarted=!1}watchEndpoint(e,n){e&&e!=n&&this.endpoint&&this.fetchGameList()}handleNewTranslations(){this.isLoading=!0,l(this.translationUrl).then(()=>{this.isLoading=!1})}handleIsIconVisible(){this.iconVisibility=this.iconVisible==="true"}handleClientStylingChange(e,n){e!=n&&m(this.stylingContainer,this.clientStyling)}handleClientStylingChangeURL(e,n){e!=n&&this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl)}connectedCallback(){this.handleIsIconVisible()}componentWillLoad(){if(this.translationUrl.length>2&&l(this.translationUrl),!this.translationUrl&&this.mbSource&&window.emMessageBus!=null&&b(`${this.mbSource}.Translation`,this.translationSubscription,h),this.endpoint&&this.language&&this.datasource)return this.fetchGameList()}componentDidLoad(){window.emMessageBus!=null?y(this.stylingContainer,`${this.mbSource}.Style`):(this.clientStyling&&m(this.stylingContainer,this.clientStyling),this.clientStylingUrl&&d(this.stylingContainer,this.clientStylingUrl))}disconnectedCallback(){this.stylingSubscription&&this.stylingSubscription.unsubscribe(),this.translationSubscription&&this.translationSubscription.unsubscribe()}fetchGameList(){let e=new URL(`${this.endpoint}/v1/casino/games`);return e.searchParams.append("platform",w()),e.searchParams.append("datasource",this.datasource),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor,launchUrl,subVendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=423"),e.searchParams.append("language",this.language),this.specificCategory&&e.searchParams.append("filter",`categories(id=${this.specificCategory})`),new Promise((n,a)=>{this.isLoading=!0,fetch(e.href).then(i=>i.json()).then(i=>{this.gamesToShow=this.setUpGames(i==null?void 0:i.items),n(!0)}).catch(i=>{console.error(i),this.hasErrors=!0,a(i)}).finally(()=>{this.isLoading=!1,this.dataLoaded.emit({target:this.host})})})}setUpGames(e){const n=this.shuffle(e).slice(0,40);return n.concat(n)}selectRandomGame(){const e=this.gamesToShow.length/2;this.selectedGameIndex=Math.floor(Math.random()*(e-3)),this.selectedGameIndex+=e,this.selectedGameEl=this.gameContainer.children[this.selectedGameIndex]}playRandomGame(){this.animateGames(),typeof gtag=="function"&&gtag("event","PlayRandomGame",{context:"CasinoPlayRandomGame"})}respin(){this.animateGames(),typeof gtag=="function"&&gtag("event","RespinRandomGame",{context:"CasinoPlayRandomGame"})}animateGames(){this.iconVisibility=this.iconVisibleOnAnim==="true",this.animationStarted=!0,this.animationDone=!1,this.animation&&this.animation.cancel(),this.selectedGameEl&&(this.selectedGameEl.classList.remove("TheRandomGame"),this.selectedGame=null,this.selectedGameIndex=null),this.selectRandomGame();const e=window.getComputedStyle(this.gameContainer).getPropertyValue("gap"),n=parseInt(e,10),a=this.selectedGameEl.offsetWidth,i=this.gameContainer.offsetWidth,o=(a+n)*this.selectedGameIndex+a/2-i/2,u=[{transform:"translateX(0px)",scale:1},{scale:.75},{transform:`translateX(-${o}px)`,scale:1}],p={duration:3e3,easing:"cubic-bezier(0.5, 0, 0.5, 1.2)",fill:"forwards"};this.animation=this.gameContainer.animate(u,p),this.animation.onfinish=()=>{this.animationDone=!0,this.selectedGameEl.classList.add("TheRandomGame"),this.selectedGame=this.gamesToShow[this.selectedGameIndex]}}playGame(){this.selectedGame&&(window.postMessage({type:"PlayRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGame",{context:"CasinoPlayRandomGame"}))}showGameInfo(){window.postMessage({type:"InfoRandomGame",gameId:this.selectedGame.id,launchUrl:this.selectedGame.launchUrl,gameName:this.selectedGame.name,subVendor:this.selectedGame.subVendor},window.location.href),typeof gtag=="function"&&gtag("event","OpenRandomGameInfo",{context:"CasinoPlayRandomGame"})}renderGameDetails(){return t.h("div",{class:"RandomButtonsWrapper"},t.h("div",{class:"RandomGameDetails"},t.h("span",{class:"RandomGameTitle"},this.selectedGame.name),t.h("span",{class:"RandomGameInfo",onClick:()=>this.showGameInfo()},"i")),t.h("div",{class:"RandomButtons"},t.h("button",{class:"RandomButton On",onClick:()=>this.respin()},s("spinRandomGame",this.language)),!this.launchByGameCard&&t.h("button",{class:"RandomButton On",onClick:()=>this.playGame()},s("playNowRandomGame",this.language))))}renderSkeleton(){const e=Array.from({length:5},(n,a)=>t.h("div",{class:"RandomGameCard",key:a},t.h("ui-skeleton",{structure:"rectangle",width:"300px",height:"420px",borderRadius:"10px",animation:!0})));return t.h("div",{class:"RandomGameWrapper"},t.h("div",{class:"GameContainerGradient"}),t.h("div",{class:"GamesContainer"},e))}render(){return t.h("div",{key:"a1e3f626fea9bcd6a351f1769675e11b21ac8fbd",ref:e=>this.stylingContainer=e},this.hasErrors?t.h("div",{class:"RandomGameError"},t.h("div",{class:"Title"},s("error",this.language))):this.isLoading?this.renderSkeleton():t.h("div",{class:"RandomGameWrapper"},t.h("div",{class:"GameContainerGradient"}),t.h("div",{class:"GamesContainer",ref:e=>this.gameContainer=e},this.gamesToShow&&this.gamesToShow.map((e,n)=>t.h("div",{class:"RandomGameCard",key:n,onClick:this.launchByGameCard==="true"?()=>this.playGame():void 0},t.h("div",{class:"RandomGameVendor"},e.vendor.name),t.h("img",{class:"RandomGameImage",src:e.thumbnail,alt:e.name,title:e.name}),this.selectedGame&&this.selectedGameIndex===n&&this.renderGameDetails()))),t.h("div",{class:`ButtonWrapper ${this.animationDone?"HideAnimation":""}`},t.h("div",{class:"ButtonContainer"},this.iconVisibility&&t.h("div",{class:`ButtonIcon ${this.animationStarted?"Flip":""}`},t.h("div",{class:"QustionMark"},"?"),t.h("div",{class:"HexagonMarkShadow"}),t.h("div",{class:"HexagonMark"})),!this.animationStarted&&t.h("div",{class:`RandomButton ${this.animationStarted?"HideAnimation":""}`,onClick:()=>this.playRandomGame()},s("playRandomGame",this.language))))))}get host(){return t.getElement(this)}static get watchers(){return{endpoint:["watchEndpoint"],datasource:["watchEndpoint"],language:["watchEndpoint"],translationUrl:["handleNewTranslations"],iconVisible:["handleIsIconVisible"],clientStyling:["handleClientStylingChange"],clientStylingUrl:["handleClientStylingChangeURL"]}}};c.style=k;const G=":host{display:block}.Skeleton{animation:skeleton-loading 1s linear infinite alternate}.SkeletonRectangle{background-color:var(--emw-skeleton-rectangle-background, #c2c2c2);width:var(--emw-skeleton-rectangle-width, 400px);height:var(--emw-skeleton-rectangle-height, 200px);border-radius:var(--emw-skeleton-rectangle-border-radius, 10px)}.SkeletonCircle{background-color:var(--emw-skeleton-circle-background, #c2c2c2);width:var(--emw-skeleton-circle-size, 400px);height:var(--emw-skeleton-circle-size, 400px);border-radius:50%}.SkeletonText{background-color:var(--emw-skeleton-text-background, #c2c2c2);width:var(--emw-skeleton-text-width, 500px);height:var(--emw-skeleton-text-height, 20px);border-radius:var(--emw-skeleton-text-border-radius, 10px);margin-bottom:var(--emw-skeleton-text-margin-bottom, 5px)}.SkeletonText:last-child{width:calc(var(--emw-skeleton-text-width, 400px) - 100px)}.SkeletonTitle{background-color:var(--emw-skeleton-title-background, #c2c2c2);width:var(--emw-skeleton-title-width, 300px);height:var(--emw-skeleton-title-height, 30px);border-radius:var(--emw-skeleton-title-border-radius, 10px);margin-bottom:var(--emw-skeleton-title-margin-bottom, 5px)}.SkeletonImage{background-color:var(--emw-skeleton-image-background, #c2c2c2);width:var(--emw-skeleton-image-width, 100%);height:var(--emw-skeleton-image-height, 100%);border-radius:var(--emw-skeleton-image-border-radius, unset)}.SkeletonLogo{background-color:var(--emw-skeleton-logo-background, #c2c2c2);width:var(--emw-skeleton-logo-width, 120px);height:var(--emw-skeleton-logo-height, 75px);border-radius:var(--emw-skeleton-logo-border-radius, 10px)}@keyframes skeleton-loading{0%{background-color:var(--emw-skeleton-primary-color, #e0e0e0)}100%{background-color:var(--emw-skeleton-secondary-color, #f0f0f0)}}",v=G,g=class{constructor(e){t.registerInstance(this,e),this.stylingValue={width:this.handleStylingProps(this.width),height:this.handleStylingProps(this.height),borderRadius:this.handleStylingProps(this.borderRadius),marginBottom:this.handleStylingProps(this.marginBottom),marginTop:this.handleStylingProps(this.marginTop),marginLeft:this.handleStylingProps(this.marginLeft),marginRight:this.handleStylingProps(this.marginRight),size:this.handleStylingProps(this.size)},this.structure=void 0,this.width="unset",this.height="unset",this.borderRadius="unset",this.marginBottom="unset",this.marginTop="unset",this.marginLeft="unset",this.marginRight="unset",this.animation=!0,this.rows=0,this.size="100%"}handleStructureChange(e,n){n!==e&&this.handleStructure(e)}handleStylingProps(e){switch(typeof e){case"number":return e===0?0:`${e}px`;case"undefined":return"unset";case"string":return["auto","unset","none","inherit","initial"].includes(e)||e.endsWith("px")||e.endsWith("%")?e:"unset";default:return"unset"}}handleStructure(e){switch(e){case"logo":return this.renderLogo();case"image":return this.renderImage();case"title":return this.renderTitle();case"text":return this.renderText();case"rectangle":return this.renderRectangle();case"circle":return this.renderCircle();default:return null}}renderLogo(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonLogo "+(this.animation?"Skeleton":"")}))}renderImage(){return t.h("div",{class:"SkeletonImage "+(this.animation?"Skeleton":"")})}renderTitle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonTitle "+(this.animation?"Skeleton":"")}))}renderText(){return t.h("div",{class:"SkeletonContainer"},Array.from({length:this.rows>0?this.rows:1}).map((e,n)=>t.h("div",{key:n,class:"SkeletonText "+(this.animation?"Skeleton":"")})))}renderRectangle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonRectangle "+(this.animation?"Skeleton":"")}))}renderCircle(){return t.h("div",{class:"SkeletonContainer"},t.h("div",{class:"SkeletonCircle "+(this.animation?"Skeleton":"")}))}render(){let e="";switch(this.structure){case"logo":e=`
379
379
  :host {
380
380
  --emw-skeleton-logo-width: ${this.stylingValue.width};
381
381
  --emw-skeleton-logo-height: ${this.stylingValue.height};
@@ -429,4 +429,4 @@
429
429
  :host {
430
430
  --emw-skeleton-circle-size: ${this.stylingValue.size};
431
431
  }
432
- `;break;default:e=""}return n.h(n.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},n.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};g.style=v;exports.casino_play_random_game=c;exports.ui_skeleton=g;
432
+ `;break;default:e=""}return t.h(t.Host,{key:"c2a2650acd416962a2bc4e1a7ee18bc6d8e2def8"},t.h("style",{key:"9bd7fc1f9e9ed9f17735a7b72fce6f09696f5e19"},e),this.handleStructure(this.structure))}static get watchers(){return{structure:["handleStructureChange"]}}};g.style=v;exports.casino_play_random_game=c;exports.ui_skeleton=g;
@@ -1,4 +1,4 @@
1
- import { r as h, c as p, h as t, g as w, H as f } from "./index-328e660d-BObr7mUW.js";
1
+ import { r as h, c as p, h as t, g as w, H as f } from "./index-328e660d-BqUO7ccV.js";
2
2
  const y = () => {
3
3
  let e = window.navigator.userAgent;
4
4
  return e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
@@ -85,7 +85,7 @@ function x(e, n, a) {
85
85
  }
86
86
  }
87
87
  function k(e, n, a) {
88
- window.emMessageBus && window.emMessageBus.subscribe(e, a);
88
+ return window.emMessageBus && (n = window.emMessageBus.subscribe(e, a)), n;
89
89
  }
90
90
  const G = `:host {
91
91
  display: block;
@@ -1 +1 @@
1
- "use strict";var P=(e,t,r)=>new Promise((s,n)=>{var a=i=>{try{o(r.next(i))}catch($){n($)}},l=i=>{try{o(r.throw(i))}catch($){n($)}},o=i=>i.done?s(i.value):Promise.resolve(i.value).then(a,l);o((r=r.apply(e,t)).next())});const Ee="casino-play-random-game",ke={hydratedSelectorName:"hydrated"};var be=Object.defineProperty,we=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},R=new WeakMap,E=e=>R.get(e),Te=(e,t)=>R.set(t.$lazyInstance$=e,t),Pe=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],R.set(e,r)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),z=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=z.get(n);if(a)return a[s];{const l=o=>(z.set(n,o),o[s]);switch(n){case"casino-play-random-game_2":return Promise.resolve().then(()=>require("./casino-play-random-game_2-DLUn9wKp.cjs")).then(l,b)}}return import(`./${n}.entry.js`).then(l=>(z.set(n,l),l[s]),b)},L=new Map,_e="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Ae=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,X=[],se=[],Le=(e,t)=>r=>{e.push(r),U||(U=!0,g.$flags$&4?D(H):g.raf(H))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){b(r)}e.length=0},H=()=>{Y(X),Y(se),(U=X.length>0)&&g.raf(H)},D=e=>te().then(e),Ie=Le(se),J={},je=e=>e!=null,F=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var Oe={};we(Oe,{err:()=>re,map:()=>ze,ok:()=>C,unwrap:()=>Ue,unwrapErr:()=>He});var C=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function ze(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>C(s)):C(r)}if(e.isErr){const r=e.value;return re(r)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Ce=(e,t)=>()=>{},le=(e,t,...r)=>{let s=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?i(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!F(s))&&(s=String(s)),a&&l?o[o.length-1].$text$+=s:o.push(a?B(null,s):s),l=a)};if(i(r),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=B(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},B=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},ae={},Be=e=>e&&e.$tag$===ae,qe=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,ie=e=>E(e).$hostElement$,Re=(e,t,r)=>{const s=ie(e);return{emit:n=>oe(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},oe=(e,t,r)=>{const s=g.ce(t,r);return e.dispatchEvent(s),s},K=new WeakMap,De=(e,t,r)=>{let s=L.get(e);Ae&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,L.set(e,s)},Fe=(e,t,r)=>{var s;const n=$e(t),a=L.get(n);if(e=e.nodeType===11?e:m,a)if(typeof a=="string"){e=e.head||e;let l=K.get(e),o;if(l||K.set(e,l=new Set),!l.has(n)){{o=m.createElement("style"),o.innerHTML=a;const i=(s=g.$nonce$)!=null?s:ne(m);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ee),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Me=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=t.$flags$,n=S("attachStyles",t.$tagName$),a=Fe(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);s&10&&(r["s-sc"]=a,r.classList.add(a+"-h")),n()},$e=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,r,s,n,a)=>{if(r!==s){let l=G(e,t),o=t.toLowerCase();if(t==="class"){const i=e.classList,$=Z(r),c=Z(s);i.remove(...$.filter(f=>f&&!c.includes(f))),i.add(...c.filter(f=>f&&!$.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(j,o)?t=o.slice(2):t=o[2]+t.slice(3),r||s){const i=t.endsWith(ce);t=t.replace(Ge,""),r&&g.rel(e,t,r,i),s&&g.ael(e,t,s,i)}}else{const i=F(s);if((l||i&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(r==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||n)&&!i&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],ce="Capture",Ge=new RegExp(ce+"$"),fe=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||J,a=t.$attrs$||J;for(const l of N(Object.keys(n)))l in a||Q(s,l,n[l],void 0,r,t.$flags$);for(const l of N(Object.keys(a)))Q(s,l,n[l],a[l],r,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var _,M,ue=!1,I=(e,t,r,s)=>{const n=t.$children$[r];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=m.createTextNode(n.$text$);else if(l=n.$elm$=m.createElement(n.$tag$),fe(null,n,ue),je(_)&&l["s-si"]!==_&&l.classList.add(l["s-si"]=_),n.$children$)for(a=0;a<n.$children$.length;++a)o=I(e,n,a),o&&l.appendChild(o);return l["s-hn"]=M,l},de=(e,t,r,s,n,a)=>{let l=e,o;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);n<=a;++n)s[n]&&(o=I(null,r,n),o&&(s[n].$elm$=o,A(l,o,t)))},ve=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const a=n.$elm$;he(n),a&&a.remove()}}},Xe=(e,t,r,s,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],f=t[$],u=s.length-1,d=s[0],v=s[u],h,y;for(;a<=$&&l<=u;)if(c==null)c=t[++a];else if(f==null)f=t[--$];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(x(c,d,n))w(c,d,n),c=t[++a],d=s[++l];else if(x(f,v,n))w(f,v,n),f=t[--$],v=s[--u];else if(x(c,v,n))w(c,v,n),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++a],v=s[--u];else if(x(f,d,n))w(f,d,n),A(e,f.$elm$,c.$elm$),f=t[--$],d=s[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(y=t[o],y.$tag$!==d.$tag$?h=I(t&&t[l],r,o):(w(y,d,n),t[o]=void 0,h=y.$elm$),d=s[++l]):(h=I(t&&t[l],r,l),d=s[++l]),h&&A(c.$elm$.parentNode,h,c.$elm$)}a>$?de(e,s[u+1]==null?null:s[u+1].$elm$,r,s,l,u):l>u&&ve(t,a,$)},x=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,w=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(fe(e,t,ue),n!==null&&a!==null?Xe(s,n,t,a,r):a!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,a,0,a.length-1)):n!==null&&ve(n,0,n.length-1)):e.$text$!==l&&(s.data=l)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),Ye=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$cmpMeta$,a=e.$vnode$||B(null,null),l=Be(t)?t:le(null,null,t);if(M=s.tagName,n.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},n.$attrsToReflect$.map(([o,i])=>l.$attrs$[i]=s[o])),r&&l.$attrs$)for(const o of Object.keys(l.$attrs$))s.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(l.$attrs$[o]=s[o]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=s.shadowRoot||s,_=s["s-sc"],n.$flags$&1,w(a,l,r)},ge=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ge(e,e.$ancestorComponent$),Ie(()=>Je(e,t))},Je=(e,t)=>{const r=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return t&&(a=O(n,"componentWillLoad")),s(),Ke(a,()=>Ze(e,n,t))},Ke=(e,t)=>Qe(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),Qe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=(e,t,r)=>P(exports,null,function*(){var s;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];r&&Me(e);const o=S("render",e.$cmpMeta$.$tagName$);Ne(e,t,n,r),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(s=n["s-p"])!=null?s:[],$=()=>Ve(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ne=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ye(e,t,s)}catch(n){b(n,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=S("postUpdate",t),n=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ye(r),O(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),a||pe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&D(()=>W(e,!1)),e.$flags$&=-517},pe=e=>{ye(m.documentElement),D(()=>oe(j,"appload",{detail:{namespace:Ee}}))},O=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){b(s)}},ye=e=>{var t;return e.classList.add((t=ke.hydratedSelectorName)!=null?t:"hydrated")},et=(e,t)=>E(e).$instanceValues$.get(t),tt=(e,t,r,s)=>{const n=E(e);if(!n)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;r=qe(r,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(r),c=r!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,r),i)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(u=>{try{i[u](r,l,t)}catch(d){b(d,a)}})}(o&18)===2&&W(n,!1)}},me=(e,t,r)=>{var s,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[i]])=>{(i&31||r&2&&i&32)&&Object.defineProperty(a,o,{get(){return et(this,o)},set($){tt(this,o,$,t)},configurable:!0,enumerable:!0})}),r&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var f;const u=o.get(i);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(a.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const h=d.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[i];y==null||y.forEach(p=>{h[p]!=null&&h[p].call(h,c,$,i)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{var c;const f=$[1]||i;return o.set(f,i),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([i,f])),f})]))}}return e},st=(e,t,r,s)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const i=xe(r);if(i&&"then"in i){const c=Ce();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,me(n,r,2),n.isProxied=!0);const $=S("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$(),q(t.$lazyInstance$)}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=$e(r);if(!L.has($)){const c=S("registerStyles",r.$tagName$);De($,i,!!(r.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>W(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),q=e=>{O(e,"connectedCallback")},nt=e=>{if(!(g.$flags$&1)){const t=E(e),r=t.$cmpMeta$,s=S("connectedCallback",r.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?q(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>q(t.$lazyInstance$));else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ge(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),st(e,t,r)}s()}},V=e=>{O(e,"disconnectedCallback")},rt=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var r;const s=S(),n=[],a=t.exclude||[],l=j.customElements,o=m.head,i=o.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(h=>{var y;const p={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};p.$flags$&4&&(d=!0),p.$members$=h[2],p.$attrsToReflect$=[],p.$watchers$=(y=h[4])!=null?y:{};const T=p.$tagName$,Se=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,Pe(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):g.jmp(()=>nt(this))}disconnectedCallback(){g.jmp(()=>rt(this))}componentOnReady(){return E(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!a.includes(T)&&!l.get(T)&&(n.push(T),l.define(T,me(Se,p,1)))})}),n.length>0&&(d&&($.textContent+=ee),$.textContent+=n.sort()+_e,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(r=g.$nonce$)!=null?r:ne(m);v!=null&&$.setAttribute("nonce",v),o.insertBefore($,i?i.nextSibling:o.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):g.jmp(()=>f=setTimeout(pe,30)),s()};exports.Host=ae;exports.bootstrapLazy=lt;exports.createEvent=Re;exports.getElement=ie;exports.h=le;exports.promiseResolve=te;exports.registerInstance=Te;
1
+ "use strict";var P=(e,t,r)=>new Promise((s,n)=>{var a=i=>{try{o(r.next(i))}catch($){n($)}},l=i=>{try{o(r.throw(i))}catch($){n($)}},o=i=>i.done?s(i.value):Promise.resolve(i.value).then(a,l);o((r=r.apply(e,t)).next())});const Ee="casino-play-random-game",ke={hydratedSelectorName:"hydrated"};var be=Object.defineProperty,we=(e,t)=>{for(var r in t)be(e,r,{get:t[r],enumerable:!0})},R=new WeakMap,E=e=>R.get(e),Te=(e,t)=>R.set(t.$lazyInstance$=e,t),Pe=(e,t)=>{const r={$flags$:0,$hostElement$:e,$cmpMeta$:t,$instanceValues$:new Map};return r.$onReadyPromise$=new Promise(s=>r.$onReadyResolve$=s),e["s-p"]=[],e["s-rc"]=[],R.set(e,r)},G=(e,t)=>t in e,b=(e,t)=>(0,console.error)(e,t),z=new Map,xe=(e,t,r)=>{const s=e.$tagName$.replace(/-/g,"_"),n=e.$lazyBundleId$;if(!n)return;const a=z.get(n);if(a)return a[s];{const l=o=>(z.set(n,o),o[s]);switch(n){case"casino-play-random-game_2":return Promise.resolve().then(()=>require("./casino-play-random-game_2-CBAgufN5.cjs")).then(l,b)}}return import(`./${n}.entry.js`).then(l=>(z.set(n,l),l[s]),b)},L=new Map,_e="{visibility:hidden}.hydrated{visibility:inherit}",ee="slot-fb{display:contents}slot-fb[hidden]{display:none}",j=typeof window!="undefined"?window:{},m=j.document||{head:{}},g={$flags$:0,$resourcesUrl$:"",jmp:e=>e(),raf:e=>requestAnimationFrame(e),ael:(e,t,r,s)=>e.addEventListener(t,r,s),rel:(e,t,r,s)=>e.removeEventListener(t,r,s),ce:(e,t)=>new CustomEvent(e,t)},te=e=>Promise.resolve(e),Ae=(()=>{try{return new CSSStyleSheet,typeof new CSSStyleSheet().replaceSync=="function"}catch(e){}return!1})(),U=!1,X=[],se=[],Le=(e,t)=>r=>{e.push(r),U||(U=!0,g.$flags$&4?D(H):g.raf(H))},Y=e=>{for(let t=0;t<e.length;t++)try{e[t](performance.now())}catch(r){b(r)}e.length=0},H=()=>{Y(X),Y(se),(U=X.length>0)&&g.raf(H)},D=e=>te().then(e),Ie=Le(se),J={},je=e=>e!=null,F=e=>(e=typeof e,e==="object"||e==="function");function ne(e){var t,r,s;return(s=(r=(t=e.head)==null?void 0:t.querySelector('meta[name="csp-nonce"]'))==null?void 0:r.getAttribute("content"))!=null?s:void 0}var Oe={};we(Oe,{err:()=>re,map:()=>ze,ok:()=>C,unwrap:()=>Ue,unwrapErr:()=>He});var C=e=>({isOk:!0,isErr:!1,value:e}),re=e=>({isOk:!1,isErr:!0,value:e});function ze(e,t){if(e.isOk){const r=t(e.value);return r instanceof Promise?r.then(s=>C(s)):C(r)}if(e.isErr){const r=e.value;return re(r)}throw"should never get here"}var Ue=e=>{if(e.isOk)return e.value;throw e.value},He=e=>{if(e.isErr)return e.value;throw e.value},S=(e,t="")=>()=>{},Ce=(e,t)=>()=>{},le=(e,t,...r)=>{let s=null,n=null,a=!1,l=!1;const o=[],i=c=>{for(let f=0;f<c.length;f++)s=c[f],Array.isArray(s)?i(s):s!=null&&typeof s!="boolean"&&((a=typeof e!="function"&&!F(s))&&(s=String(s)),a&&l?o[o.length-1].$text$+=s:o.push(a?B(null,s):s),l=a)};if(i(r),t){t.key&&(n=t.key);{const c=t.className||t.class;c&&(t.class=typeof c!="object"?c:Object.keys(c).filter(f=>c[f]).join(" "))}}const $=B(e,null);return $.$attrs$=t,o.length>0&&($.$children$=o),$.$key$=n,$},B=(e,t)=>{const r={$flags$:0,$tag$:e,$text$:t,$elm$:null,$children$:null};return r.$attrs$=null,r.$key$=null,r},ae={},Be=e=>e&&e.$tag$===ae,qe=(e,t)=>e!=null&&!F(e)?t&4?e==="false"?!1:e===""||!!e:t&2?parseFloat(e):t&1?String(e):e:e,ie=e=>E(e).$hostElement$,Re=(e,t,r)=>{const s=ie(e);return{emit:n=>oe(s,t,{bubbles:!0,composed:!0,cancelable:!0,detail:n})}},oe=(e,t,r)=>{const s=g.ce(t,r);return e.dispatchEvent(s),s},K=new WeakMap,De=(e,t,r)=>{let s=L.get(e);Ae&&r?(s=s||new CSSStyleSheet,typeof s=="string"?s=t:s.replaceSync(t)):s=t,L.set(e,s)},Fe=(e,t,r)=>{var s;const n=$e(t),a=L.get(n);if(e=e.nodeType===11?e:m,a)if(typeof a=="string"){e=e.head||e;let l=K.get(e),o;if(l||K.set(e,l=new Set),!l.has(n)){{o=m.createElement("style"),o.innerHTML=a;const i=(s=g.$nonce$)!=null?s:ne(m);i!=null&&o.setAttribute("nonce",i),e.insertBefore(o,e.querySelector("link"))}t.$flags$&4&&(o.innerHTML+=ee),l&&l.add(n)}}else e.adoptedStyleSheets.includes(a)||(e.adoptedStyleSheets=[...e.adoptedStyleSheets,a]);return n},Me=e=>{const t=e.$cmpMeta$,r=e.$hostElement$,s=t.$flags$,n=S("attachStyles",t.$tagName$),a=Fe(r.shadowRoot?r.shadowRoot:r.getRootNode(),t);s&10&&(r["s-sc"]=a,r.classList.add(a+"-h")),n()},$e=(e,t)=>"sc-"+e.$tagName$,Q=(e,t,r,s,n,a)=>{if(r!==s){let l=G(e,t),o=t.toLowerCase();if(t==="class"){const i=e.classList,$=Z(r),c=Z(s);i.remove(...$.filter(f=>f&&!c.includes(f))),i.add(...c.filter(f=>f&&!$.includes(f)))}else if(t!=="key")if(t==="ref")s&&s(e);else if(!l&&t[0]==="o"&&t[1]==="n"){if(t[2]==="-"?t=t.slice(3):G(j,o)?t=o.slice(2):t=o[2]+t.slice(3),r||s){const i=t.endsWith(ce);t=t.replace(Ge,""),r&&g.rel(e,t,r,i),s&&g.ael(e,t,s,i)}}else{const i=F(s);if((l||i&&s!==null)&&!n)try{if(e.tagName.includes("-"))e[t]=s;else{const $=s==null?"":s;t==="list"?l=!1:(r==null||e[t]!=$)&&(e[t]=$)}}catch($){}s==null||s===!1?(s!==!1||e.getAttribute(t)==="")&&e.removeAttribute(t):(!l||a&4||n)&&!i&&(s=s===!0?"":s,e.setAttribute(t,s))}}},We=/\s/,Z=e=>e?e.split(We):[],ce="Capture",Ge=new RegExp(ce+"$"),fe=(e,t,r)=>{const s=t.$elm$.nodeType===11&&t.$elm$.host?t.$elm$.host:t.$elm$,n=e&&e.$attrs$||J,a=t.$attrs$||J;for(const l of N(Object.keys(n)))l in a||Q(s,l,n[l],void 0,r,t.$flags$);for(const l of N(Object.keys(a)))Q(s,l,n[l],a[l],r,t.$flags$)};function N(e){return e.includes("ref")?[...e.filter(t=>t!=="ref"),"ref"]:e}var _,M,ue=!1,I=(e,t,r,s)=>{const n=t.$children$[r];let a=0,l,o;if(n.$text$!==null)l=n.$elm$=m.createTextNode(n.$text$);else if(l=n.$elm$=m.createElement(n.$tag$),fe(null,n,ue),je(_)&&l["s-si"]!==_&&l.classList.add(l["s-si"]=_),n.$children$)for(a=0;a<n.$children$.length;++a)o=I(e,n,a),o&&l.appendChild(o);return l["s-hn"]=M,l},de=(e,t,r,s,n,a)=>{let l=e,o;for(l.shadowRoot&&l.tagName===M&&(l=l.shadowRoot);n<=a;++n)s[n]&&(o=I(null,r,n),o&&(s[n].$elm$=o,A(l,o,t)))},ve=(e,t,r)=>{for(let s=t;s<=r;++s){const n=e[s];if(n){const a=n.$elm$;he(n),a&&a.remove()}}},Xe=(e,t,r,s,n=!1)=>{let a=0,l=0,o=0,i=0,$=t.length-1,c=t[0],f=t[$],u=s.length-1,d=s[0],v=s[u],h,y;for(;a<=$&&l<=u;)if(c==null)c=t[++a];else if(f==null)f=t[--$];else if(d==null)d=s[++l];else if(v==null)v=s[--u];else if(x(c,d,n))w(c,d,n),c=t[++a],d=s[++l];else if(x(f,v,n))w(f,v,n),f=t[--$],v=s[--u];else if(x(c,v,n))w(c,v,n),A(e,c.$elm$,f.$elm$.nextSibling),c=t[++a],v=s[--u];else if(x(f,d,n))w(f,d,n),A(e,f.$elm$,c.$elm$),f=t[--$],d=s[++l];else{for(o=-1,i=a;i<=$;++i)if(t[i]&&t[i].$key$!==null&&t[i].$key$===d.$key$){o=i;break}o>=0?(y=t[o],y.$tag$!==d.$tag$?h=I(t&&t[l],r,o):(w(y,d,n),t[o]=void 0,h=y.$elm$),d=s[++l]):(h=I(t&&t[l],r,l),d=s[++l]),h&&A(c.$elm$.parentNode,h,c.$elm$)}a>$?de(e,s[u+1]==null?null:s[u+1].$elm$,r,s,l,u):l>u&&ve(t,a,$)},x=(e,t,r=!1)=>e.$tag$===t.$tag$?r?!0:e.$key$===t.$key$:!1,w=(e,t,r=!1)=>{const s=t.$elm$=e.$elm$,n=e.$children$,a=t.$children$,l=t.$text$;l===null?(fe(e,t,ue),n!==null&&a!==null?Xe(s,n,t,a,r):a!==null?(e.$text$!==null&&(s.textContent=""),de(s,null,t,a,0,a.length-1)):n!==null&&ve(n,0,n.length-1)):e.$text$!==l&&(s.data=l)},he=e=>{e.$attrs$&&e.$attrs$.ref&&e.$attrs$.ref(null),e.$children$&&e.$children$.map(he)},A=(e,t,r)=>e==null?void 0:e.insertBefore(t,r),Ye=(e,t,r=!1)=>{const s=e.$hostElement$,n=e.$cmpMeta$,a=e.$vnode$||B(null,null),l=Be(t)?t:le(null,null,t);if(M=s.tagName,n.$attrsToReflect$&&(l.$attrs$=l.$attrs$||{},n.$attrsToReflect$.map(([o,i])=>l.$attrs$[i]=s[o])),r&&l.$attrs$)for(const o of Object.keys(l.$attrs$))s.hasAttribute(o)&&!["key","ref","style","class"].includes(o)&&(l.$attrs$[o]=s[o]);l.$tag$=null,l.$flags$|=4,e.$vnode$=l,l.$elm$=a.$elm$=s.shadowRoot||s,_=s["s-sc"],n.$flags$&1,w(a,l,r)},ge=(e,t)=>{t&&!e.$onRenderResolve$&&t["s-p"]&&t["s-p"].push(new Promise(r=>e.$onRenderResolve$=r))},W=(e,t)=>{if(e.$flags$|=16,e.$flags$&4){e.$flags$|=512;return}return ge(e,e.$ancestorComponent$),Ie(()=>Je(e,t))},Je=(e,t)=>{const r=e.$hostElement$,s=S("scheduleUpdate",e.$cmpMeta$.$tagName$),n=e.$lazyInstance$;if(!n)throw new Error(`Can't render component <${r.tagName.toLowerCase()} /> with invalid Stencil runtime! Make sure this imported component is compiled with a \`externalRuntime: true\` flag. For more information, please refer to https://stenciljs.com/docs/custom-elements#externalruntime`);let a;return t&&(a=O(n,"componentWillLoad")),s(),Ke(a,()=>Ze(e,n,t))},Ke=(e,t)=>Qe(e)?e.then(t).catch(r=>{console.error(r),t()}):t(),Qe=e=>e instanceof Promise||e&&e.then&&typeof e.then=="function",Ze=(e,t,r)=>P(exports,null,function*(){var s;const n=e.$hostElement$,a=S("update",e.$cmpMeta$.$tagName$),l=n["s-rc"];r&&Me(e);const o=S("render",e.$cmpMeta$.$tagName$);Ne(e,t,n,r),l&&(l.map(i=>i()),n["s-rc"]=void 0),o(),a();{const i=(s=n["s-p"])!=null?s:[],$=()=>Ve(e);i.length===0?$():(Promise.all(i).then($),e.$flags$|=4,i.length=0)}}),Ne=(e,t,r,s)=>{try{t=t.render(),e.$flags$&=-17,e.$flags$|=2,Ye(e,t,s)}catch(n){b(n,e.$hostElement$)}return null},Ve=e=>{const t=e.$cmpMeta$.$tagName$,r=e.$hostElement$,s=S("postUpdate",t),n=e.$lazyInstance$,a=e.$ancestorComponent$;e.$flags$&64?s():(e.$flags$|=64,ye(r),O(n,"componentDidLoad"),s(),e.$onReadyResolve$(r),a||pe()),e.$onRenderResolve$&&(e.$onRenderResolve$(),e.$onRenderResolve$=void 0),e.$flags$&512&&D(()=>W(e,!1)),e.$flags$&=-517},pe=e=>{ye(m.documentElement),D(()=>oe(j,"appload",{detail:{namespace:Ee}}))},O=(e,t,r)=>{if(e&&e[t])try{return e[t](r)}catch(s){b(s)}},ye=e=>{var t;return e.classList.add((t=ke.hydratedSelectorName)!=null?t:"hydrated")},et=(e,t)=>E(e).$instanceValues$.get(t),tt=(e,t,r,s)=>{const n=E(e);if(!n)throw new Error(`Couldn't find host element for "${s.$tagName$}" as it is unknown to this Stencil runtime. This usually happens when integrating a 3rd party Stencil component with another Stencil component or application. Please reach out to the maintainers of the 3rd party Stencil component or report this on the Stencil Discord server (https://chat.stenciljs.com) or comment on this similar [GitHub issue](https://github.com/ionic-team/stencil/issues/5457).`);const a=n.$hostElement$,l=n.$instanceValues$.get(t),o=n.$flags$,i=n.$lazyInstance$;r=qe(r,s.$members$[t][0]);const $=Number.isNaN(l)&&Number.isNaN(r),c=r!==l&&!$;if((!(o&8)||l===void 0)&&c&&(n.$instanceValues$.set(t,r),i)){if(s.$watchers$&&o&128){const f=s.$watchers$[t];f&&f.map(u=>{try{i[u](r,l,t)}catch(d){b(d,a)}})}(o&18)===2&&W(n,!1)}},me=(e,t,r)=>{var s,n;const a=e.prototype;if(t.$members$||t.$watchers$||e.watchers){e.watchers&&!t.$watchers$&&(t.$watchers$=e.watchers);const l=Object.entries((s=t.$members$)!=null?s:{});if(l.map(([o,[i]])=>{(i&31||r&2&&i&32)&&Object.defineProperty(a,o,{get(){return et(this,o)},set($){tt(this,o,$,t)},configurable:!0,enumerable:!0})}),r&1){const o=new Map;a.attributeChangedCallback=function(i,$,c){g.jmp(()=>{var f;const u=o.get(i);if(this.hasOwnProperty(u))c=this[u],delete this[u];else{if(a.hasOwnProperty(u)&&typeof this[u]=="number"&&this[u]==c)return;if(u==null){const d=E(this),v=d==null?void 0:d.$flags$;if(v&&!(v&8)&&v&128&&c!==$){const h=d.$lazyInstance$,y=(f=t.$watchers$)==null?void 0:f[i];y==null||y.forEach(p=>{h[p]!=null&&h[p].call(h,c,$,i)})}return}}this[u]=c===null&&typeof this[u]=="boolean"?!1:c})},e.observedAttributes=Array.from(new Set([...Object.keys((n=t.$watchers$)!=null?n:{}),...l.filter(([i,$])=>$[0]&15).map(([i,$])=>{var c;const f=$[1]||i;return o.set(f,i),$[0]&512&&((c=t.$attrsToReflect$)==null||c.push([i,f])),f})]))}}return e},st=(e,t,r,s)=>P(exports,null,function*(){let n;if(!(t.$flags$&32)){if(t.$flags$|=32,r.$lazyBundleId$){const i=xe(r);if(i&&"then"in i){const c=Ce();n=yield i,c()}else n=i;if(!n)throw new Error(`Constructor for "${r.$tagName$}#${t.$modeName$}" was not found`);n.isProxied||(r.$watchers$=n.watchers,me(n,r,2),n.isProxied=!0);const $=S("createInstance",r.$tagName$);t.$flags$|=8;try{new n(t)}catch(c){b(c)}t.$flags$&=-9,t.$flags$|=128,$(),q(t.$lazyInstance$)}else{n=e.constructor;const i=e.localName;customElements.whenDefined(i).then(()=>t.$flags$|=128)}if(n&&n.style){let i;typeof n.style=="string"&&(i=n.style);const $=$e(r);if(!L.has($)){const c=S("registerStyles",r.$tagName$);De($,i,!!(r.$flags$&1)),c()}}}const a=t.$ancestorComponent$,l=()=>W(t,!0);a&&a["s-rc"]?a["s-rc"].push(l):l()}),q=e=>{O(e,"connectedCallback")},nt=e=>{if(!(g.$flags$&1)){const t=E(e),r=t.$cmpMeta$,s=S("connectedCallback",r.$tagName$);if(t.$flags$&1)t!=null&&t.$lazyInstance$?q(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>q(t.$lazyInstance$));else{t.$flags$|=1;{let n=e;for(;n=n.parentNode||n.host;)if(n["s-p"]){ge(t,t.$ancestorComponent$=n);break}}r.$members$&&Object.entries(r.$members$).map(([n,[a]])=>{if(a&31&&e.hasOwnProperty(n)){const l=e[n];delete e[n],e[n]=l}}),st(e,t,r)}s()}},V=e=>{O(e,"disconnectedCallback")},rt=e=>P(exports,null,function*(){if(!(g.$flags$&1)){const t=E(e);t!=null&&t.$lazyInstance$?V(t.$lazyInstance$):t!=null&&t.$onReadyPromise$&&t.$onReadyPromise$.then(()=>V(t.$lazyInstance$))}}),lt=(e,t={})=>{var r;const s=S(),n=[],a=t.exclude||[],l=j.customElements,o=m.head,i=o.querySelector("meta[charset]"),$=m.createElement("style"),c=[];let f,u=!0;Object.assign(g,t),g.$resourcesUrl$=new URL(t.resourcesUrl||"./",m.baseURI).href;let d=!1;if(e.map(v=>{v[1].map(h=>{var y;const p={$flags$:h[0],$tagName$:h[1],$members$:h[2],$listeners$:h[3]};p.$flags$&4&&(d=!0),p.$members$=h[2],p.$attrsToReflect$=[],p.$watchers$=(y=h[4])!=null?y:{};const T=p.$tagName$,Se=class extends HTMLElement{constructor(k){if(super(k),this.hasRegisteredEventListeners=!1,k=this,Pe(k,p),p.$flags$&1){if(!k.shadowRoot)k.attachShadow({mode:"open"});else if(k.shadowRoot.mode!=="open")throw new Error(`Unable to re-use existing shadow root for ${p.$tagName$}! Mode is set to ${k.shadowRoot.mode} but Stencil only supports open shadow roots.`)}}connectedCallback(){E(this),this.hasRegisteredEventListeners||(this.hasRegisteredEventListeners=!0),f&&(clearTimeout(f),f=null),u?c.push(this):g.jmp(()=>nt(this))}disconnectedCallback(){g.jmp(()=>rt(this))}componentOnReady(){return E(this).$onReadyPromise$}};p.$lazyBundleId$=v[0],!a.includes(T)&&!l.get(T)&&(n.push(T),l.define(T,me(Se,p,1)))})}),n.length>0&&(d&&($.textContent+=ee),$.textContent+=n.sort()+_e,$.innerHTML.length)){$.setAttribute("data-styles","");const v=(r=g.$nonce$)!=null?r:ne(m);v!=null&&$.setAttribute("nonce",v),o.insertBefore($,i?i.nextSibling:o.firstChild)}u=!1,c.length?c.map(v=>v.connectedCallback()):g.jmp(()=>f=setTimeout(pe,30)),s()};exports.Host=ae;exports.bootstrapLazy=lt;exports.createEvent=Re;exports.getElement=ie;exports.h=le;exports.promiseResolve=te;exports.registerInstance=Te;
@@ -26,7 +26,7 @@ var ye = Object.defineProperty, me = (e, t) => {
26
26
  case "casino-play-random-game_2":
27
27
  return import(
28
28
  /* webpackMode: "lazy" */
29
- "./casino-play-random-game_2-CO2NNXfY.js"
29
+ "./casino-play-random-game_2-BBgMV3ws.js"
30
30
  ).then(l, b);
31
31
  }
32
32
  }
@@ -42,7 +42,7 @@ var me = Object.defineProperty, Se = (e, t) => {
42
42
  case "casino-play-random-game_2":
43
43
  return import(
44
44
  /* webpackMode: "lazy" */
45
- "./casino-play-random-game_2-DDUIsLoS.js"
45
+ "./casino-play-random-game_2-CZQxP9GA.js"
46
46
  ).then(l, b);
47
47
  }
48
48
  }
@@ -1 +0,0 @@
1
- "use strict";var X=(r,t,n)=>new Promise((i,l)=>{var o=c=>{try{u(n.next(c))}catch(p){l(p)}},a=c=>{try{u(n.throw(c))}catch(p){l(p)}},u=c=>c.done?i(c.value):Promise.resolve(c.value).then(o,a);u((n=n.apply(r,t)).next())});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./CasinoCalendar-4k288rHh.cjs");function Le(r,t){e.addMessages(r,t)}function Oe(r){e.$locale.set(r)}const Re={en:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."},"zh-hk":{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢",noWinnersMessage:"現在暫時沒有贏家!"},de:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen",noWinnersMessage:"Zurzeit gibt es keine Gewinner!"},it:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Non ci sono vincitori al momento!"},fr:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner",noWinnersMessage:"Il n’y a pas de gagnants pour le moment !"},es:{recentWinners:"Ganadores Recientes",topWinners:"Ganadores Top",won:"Últimos Ganadores",noWinnersMessage:"No hay ganadores en este momento."},el:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε",noWinnersMessage:"Δεν υπάρχουν νικητές αυτή τη στιγμή!"},tr:{recentWinners:"Son Kazananlar",topWinners:"En Çok Kazananlar",won:"Sadece kazandı",noWinnersMessage:"Şu anda kazanan yok!"},ru:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"В данный момент нет победителей!"},ro:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat",noWinnersMessage:"Nu există câștigători în acest moment!"},hr:{recentWinners:"Nedavni dobitnici",topWinners:"Top dobitnici",won:"upravo osvojio",noWinnersMessage:"Trenutno nema pobjednika!"},hu:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert",noWinnersMessage:"Jelenleg nincsenek nyertesek!"},pl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},pt:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Obecnie nie ma żadnych zwycięzców!"},sl:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Trenutno nema pobednika!"},sr:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"There are no winners at the moment!"},"pt-br":{recentWinners:"Vencedores recentes",topWinners:"Principais vencedores",won:"acabei de ganhar",noWinnersMessage:"Não há vencedores no momento!"},"es-mx":{recentWinners:"Ganadores recientes",topWinners:"Mejores Ganadores",won:"recién gano",noWinnersMessage:"No hay ganadores en este momento."},"en-us":{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won",noWinnersMessage:"Currently there are no winners."}};function Pe(r,t,n){window.emMessageBus&&window.emMessageBus.subscribe(r,n)}if(typeof window!="undefined"){let r=function(t){return function(...n){try{return t.apply(this,n)}catch(i){if(i instanceof DOMException&&i.message.includes("has already been used with this registry")||i.message.includes("Cannot define multiple custom elements with the same tag name"))return!1;throw i}}};customElements.define=r(customElements.define),Promise.resolve().then(()=>require("./GeneralAnimationLoading-wnzFPEVd.cjs")).then(({default:t})=>{!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",t.element)})}function Ie(r){e.append_styles(r,"svelte-d1flp7","*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}")}function ae(r,t,n){const i=r.slice();return i[74]=t[n],i}function ce(r,t,n){const i=r.slice();return i[77]=t[n],i}function Ge(r){let t,n,i,l,o,a,u,c,p,L,M,_,b,A,x,B,F,T,v,y=e.ensure_array_like(r[16]),g=[];for(let m=0;m<y.length;m+=1)g[m]=fe(ce(r,y,m));function N(m,f){return m[17]?qe:De}let S=N(r),w=S(r);return{c(){t=e.element("div"),n=e.element("div"),i=e.element("div");for(let m=0;m<g.length;m+=1)g[m].c();l=e.space(),o=e.element("div"),a=e.element("button"),u=e.svg_element("svg"),c=e.svg_element("path"),L=e.space(),M=e.element("button"),_=e.svg_element("svg"),b=e.svg_element("path"),B=e.space(),w.c(),e.attr(i,"class","WinnerButtonsContainer"),e.attr(c,"style",p=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(c,"id","Path_36"),e.attr(c,"data-name","Path 36"),e.attr(c,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(c,"transform","translate(14.656 0) rotate(90)"),e.attr(c,"fill","#fff"),e.attr(u,"id","Component_46_2"),e.attr(u,"data-name","Component 46 – 2"),e.attr(u,"xmlns","http://www.w3.org/2000/svg"),e.attr(u,"width","15"),e.attr(u,"height","15"),e.attr(u,"viewBox","0 0 16 24.656"),e.attr(a,"class","SliderButton"),e.attr(b,"style",A=r[11]>=r[10].length?"fill:#F6F6F62E":""),e.attr(b,"id","Path_36"),e.attr(b,"data-name","Path 36"),e.attr(b,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),e.attr(b,"transform","translate(0 24.656) rotate(-90)"),e.attr(b,"fill","#fff"),e.attr(_,"id","Component_46_2"),e.attr(_,"data-name","Component 46 – 2"),e.attr(_,"xmlns","http://www.w3.org/2000/svg"),e.attr(_,"width","15"),e.attr(_,"height","15"),e.attr(_,"viewBox","0 0 16 24.656"),e.attr(M,"class","SliderButton"),e.attr(o,"class",x="ButtonsContainer "+(r[4]=="true"?"ButtonsContainerNone":"")),e.attr(n,"class","WinnersHeader"),e.attr(t,"class",F="CasinoWinners "+(r[12]?"Mobile":""))},m(m,f){e.insert(m,t,f),e.append(t,n),e.append(n,i);for(let d=0;d<g.length;d+=1)g[d]&&g[d].m(i,null);e.append(n,l),e.append(n,o),e.append(o,a),e.append(a,u),e.append(u,c),e.append(o,L),e.append(o,M),e.append(M,_),e.append(_,b),e.append(t,B),w.m(t,null),T||(v=[e.listen(a,"click",r[47]),e.listen(M,"click",r[48])],T=!0)},p(m,f){if(f[0]&852483){y=e.ensure_array_like(m[16]);let d;for(d=0;d<y.length;d+=1){const k=ce(m,y,d);g[d]?g[d].p(k,f):(g[d]=fe(k),g[d].c(),g[d].m(i,null))}for(;d<g.length;d+=1)g[d].d(1);g.length=y.length}f[0]&3072&&p!==(p=m[11]>=m[10].length?"fill:#F6F6F62E":"")&&e.attr(c,"style",p),f[0]&3072&&A!==(A=m[11]>=m[10].length?"fill:#F6F6F62E":"")&&e.attr(b,"style",A),f[0]&16&&x!==(x="ButtonsContainer "+(m[4]=="true"?"ButtonsContainerNone":""))&&e.attr(o,"class",x),S===(S=N(m))&&w?w.p(m,f):(w.d(1),w=S(m),w&&(w.c(),w.m(t,null))),f[0]&4096&&F!==(F="CasinoWinners "+(m[12]?"Mobile":""))&&e.attr(t,"class",F)},d(m){m&&e.detach(t),e.destroy_each(g,m),w.d(),T=!1,e.run_all(v)}}}function Ue(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3])},d(n){n&&e.detach(t)}}}function ue(r){let t,n=r[0]==="true"&&de(r);return{c(){n&&n.c(),t=e.empty()},m(i,l){n&&n.m(i,l),e.insert(i,t,l)},p(i,l){i[0]==="true"?n?n.p(i,l):(n=de(i),n.c(),n.m(t.parentNode,t)):n&&(n.d(1),n=null)},d(i){i&&e.detach(t),n&&n.d(i)}}}function de(r){let t,n=r[18]("recentWinners")+"",i,l,o,a;return{c(){t=e.element("button"),i=e.text(n),e.attr(t,"class",l="WinnersButton "+(r[9]=="recent"?"Active":""))},m(u,c){e.insert(u,t,c),e.append(t,i),o||(a=e.listen(t,"click",r[45]),o=!0)},p(u,c){c[0]&262144&&n!==(n=u[18]("recentWinners")+"")&&e.set_data(i,n),c[0]&512&&l!==(l="WinnersButton "+(u[9]=="recent"?"Active":""))&&e.attr(t,"class",l)},d(u){u&&e.detach(t),o=!1,a()}}}function me(r){let t,n=r[18]("topWinners")+"",i,l,o,a,u;return{c(){t=e.element("button"),i=e.text(n),l=e.space(),e.attr(t,"class",o="WinnersButton "+(r[9]=="top"?"Active":"")+" "+(r[1]=="false"?"Off":""))},m(c,p){e.insert(c,t,p),e.append(t,i),e.append(t,l),a||(u=e.listen(t,"click",r[46]),a=!0)},p(c,p){p[0]&262144&&n!==(n=c[18]("topWinners")+"")&&e.set_data(i,n),p[0]&514&&o!==(o="WinnersButton "+(c[9]=="top"?"Active":"")+" "+(c[1]=="false"?"Off":""))&&e.attr(t,"class",o)},d(c){c&&e.detach(t),a=!1,u()}}}function fe(r){let t,n,i=r[77]=="recent"&&ue(r),l=r[77]=="top"&&me(r);return{c(){i&&i.c(),t=e.space(),l&&l.c(),n=e.empty()},m(o,a){i&&i.m(o,a),e.insert(o,t,a),l&&l.m(o,a),e.insert(o,n,a)},p(o,a){o[77]=="recent"?i?i.p(o,a):(i=ue(o),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),o[77]=="top"?l?l.p(o,a):(l=me(o),l.c(),l.m(n.parentNode,n)):l&&(l.d(1),l=null)},d(o){o&&(e.detach(t),e.detach(n)),i&&i.d(o),l&&l.d(o)}}}function De(r){let t;function n(o,a){return o[10].length!==0?Ve:He}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c(),e.attr(t,"class","WinnersSlider")},m(o,a){e.insert(o,t,a),l.m(t,null),r[51](t)},p(o,a){i===(i=n(o))&&l?l.p(o,a):(l.d(1),l=i(o),l&&(l.c(),l.m(t,null)))},d(o){o&&e.detach(t),l.d(),r[51](null)}}}function qe(r){let t;return{c(){t=e.element("general-animation-loading"),e.set_custom_element_data(t,"clientstyling",r[2]),e.set_custom_element_data(t,"clientstylingurl",r[3]),e.set_custom_element_data(t,"mbsource",r[5])},m(n,i){e.insert(n,t,i)},p(n,i){i[0]&4&&e.set_custom_element_data(t,"clientstyling",n[2]),i[0]&8&&e.set_custom_element_data(t,"clientstylingurl",n[3]),i[0]&32&&e.set_custom_element_data(t,"mbsource",n[5])},d(n){n&&e.detach(t)}}}function He(r){let t,n=r[18]("noWinnersMessage")+"",i;return{c(){t=e.element("p"),i=e.text(n),e.attr(t,"class","NoWinnersMessage")},m(l,o){e.insert(l,t,o),e.append(t,i)},p(l,o){o[0]&262144&&n!==(n=l[18]("noWinnersMessage")+"")&&e.set_data(i,n)},d(l){l&&e.detach(t)}}}function Ve(r){let t,n=e.ensure_array_like(r[10]),i=[];for(let l=0;l<n.length;l+=1)i[l]=ge(ae(r,n,l));return{c(){for(let l=0;l<i.length;l+=1)i[l].c();t=e.empty()},m(l,o){for(let a=0;a<i.length;a+=1)i[a]&&i[a].m(l,o);e.insert(l,t,o)},p(l,o){if(o[0]&20219136){n=e.ensure_array_like(l[10]);let a;for(a=0;a<n.length;a+=1){const u=ae(l,n,a);i[a]?i[a].p(u,o):(i[a]=ge(u),i[a].c(),i[a].m(t.parentNode,t))}for(;a<i.length;a+=1)i[a].d(1);i.length=n.length}},d(l){l&&e.detach(t),e.destroy_each(i,l)}}}function ge(r){let t,n,i,l,o,a,u,c=r[74].gameName+"",p,L,M,_=r[20](r[74].username)+"",b,A,x,B=r[18]("won")+"",F,T,v,y=r[24](r[74].specifiedCurrencyAmount)+"",g,N,S,w;function m(){return r[49](r[74])}return{c(){var f,d,k,E;t=e.element("div"),n=e.element("div"),i=e.element("img"),a=e.space(),u=e.element("p"),p=e.text(c),L=e.space(),M=e.element("p"),b=e.text(_),A=e.space(),x=e.element("p"),F=e.text(B),T=e.space(),v=e.element("p"),g=e.space(),e.src_url_equal(i.src,l=(d=(f=r[74])==null?void 0:f.gameModel)==null?void 0:d.thumbnail)||e.attr(i,"src",l),e.attr(i,"alt",o=(E=(k=r[74])==null?void 0:k.gameModel)==null?void 0:E.thumbnail),e.attr(i,"class","WinnersImage"),e.attr(x,"class","WinnerUsername"),e.attr(v,"class","WinnerAmount"),e.attr(n,"class","WinnerCard"),e.attr(t,"class",N="CardWrapper "+(r[15]?"CardWrapperAnimation":""))},m(f,d){e.insert(f,t,d),e.append(t,n),e.append(n,i),e.append(n,a),e.append(n,u),e.append(u,p),e.append(n,L),e.append(n,M),e.append(M,b),e.append(n,A),e.append(n,x),e.append(x,F),e.append(n,T),e.append(n,v),v.innerHTML=y,r[50](n),e.append(t,g),S||(w=e.listen(i,"click",m),S=!0)},p(f,d){var k,E,O,z;r=f,d[0]&1024&&!e.src_url_equal(i.src,l=(E=(k=r[74])==null?void 0:k.gameModel)==null?void 0:E.thumbnail)&&e.attr(i,"src",l),d[0]&1024&&o!==(o=(z=(O=r[74])==null?void 0:O.gameModel)==null?void 0:z.thumbnail)&&e.attr(i,"alt",o),d[0]&1024&&c!==(c=r[74].gameName+"")&&e.set_data(p,c),d[0]&1024&&_!==(_=r[20](r[74].username)+"")&&e.set_data(b,_),d[0]&262144&&B!==(B=r[18]("won")+"")&&e.set_data(F,B),d[0]&1024&&y!==(y=r[24](r[74].specifiedCurrencyAmount)+"")&&(v.innerHTML=y),d[0]&32768&&N!==(N="CardWrapper "+(r[15]?"CardWrapperAnimation":""))&&e.attr(t,"class",N)},d(f){f&&e.detach(t),r[50](null),S=!1,w()}}}function Ke(r){let t;function n(o,a){return o[13]||o[14]?Ue:Ge}let i=n(r),l=i(r);return{c(){t=e.element("div"),l.c()},m(o,a){e.insert(o,t,a),l.m(t,null),r[52](t)},p(o,a){i===(i=n(o))&&l?l.p(o,a):(l.d(1),l=i(o),l&&(l.c(),l.m(t,null)))},i:e.noop,o:e.noop,d(o){o&&e.detach(t),l.d(),r[52](null)}}}function Ze(r,t,n){let i;e.component_subscribe(r,e.$format,s=>n(18,i=s));let{endpoint:l=""}=t,{session:o=""}=t,{userid:a=""}=t,{periodrecent:u="Today"}=t,{periodtop:c="Last7Days"}=t,{numberusersrecent:p="20"}=t,{numberuserstop:L="20"}=t,{amountlimit:M="1"}=t,{vendorCategory:_="All"}=t,{lang:b="en"}=t,{isrecentavailable:A="true"}=t,{istopavailable:x="true"}=t,{defaultcurrency:B=""}=t,{usercurrency:F=""}=t,{customcurrencysymbol:T}=t,{clientstyling:v=""}=t,{clientstylingurl:y=""}=t,{enableautoscroll:g=""}=t,{tabsorder:N=""}=t,{translationurl:S=""}=t,{winnersdatasources:w=""}=t,{hascustomstyling:m="false"}=t,{mbsource:f}=t,{currencylocale:d=""}=t,k,E,O,z=[],W=0,C=0,pe=window.navigator.userAgent,Y,P,U,j,D=!0,Q=!1,$=!1,ee,G,q,I,te=[],H=!1,be;const V=s=>{Object.keys(s).forEach(h=>{Le(h,s[h])})},_e=()=>{let s=new URL(S);fetch(s.href).then(h=>h.json()).then(h=>{V(h)}).catch(h=>{console.log(h)})};V(Re);const ne=()=>{te=w.split(",").map(function(h){return h.trim()});const s=new URL(`${l}/v1/casino/${O}-winners`);n(17,H=!0),s.searchParams.append("limit",O=="recent"?p:L),s.searchParams.append("specifiedCurrency",I),s.searchParams.append("period",O=="recent"?u:c),s.searchParams.append("language",b),s.searchParams.append("amountLimit",M),s.searchParams.append("vendorCategory",_),te.forEach(h=>{s.searchParams.append("dataSource",h)}),setTimeout(()=>{fetch(s.href).then(h=>h.json()).then(h=>X(this,null,function*(){n(10,z=[]),n(10,z=h.items.map(R=>R)),n(17,H=!1),yield e.tick(),ve(),ie(),g=="true"&&(clearInterval(G),We()),n(13,D=!1),ye()}))},1e3)},ye=()=>{const s=j.getRootNode().host;s.dispatchEvent(new CustomEvent("data-loaded",{bubbles:!0,detail:{target:s}}))},K=s=>{O!==s&&(n(10,z=[]),n(9,O=s),ne())},we=s=>s.slice(0,2)+s.slice(2,-2).replace(/./g,"*")+s.slice(-2),re=(s,h,R,J)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:s,launchUrl:h,gameName:R,subVendor:J},window.location.href),typeof gtag=="function"&&gtag("event","OpenGame",{context:"WinnersWidget",gameId:`${s}`,userId:`${U||"Not logged in"}`})},ie=(s=0)=>{const h=[...k.children];ee=h.length,h.forEach((R,J)=>{R.style.transform=`translateX(${100*(J-s)}%)`}),setTimeout(()=>{n(15,$=!0)},10)},We=()=>{W=0,C<ee?G=setInterval(()=>{Z()},3e3):clearInterval(G)},se=()=>{ie(W)},ve=()=>X(this,null,function*(){yield e.tick(),requestAnimationFrame(()=>{const s=E?E.offsetWidth:0;k.offsetWidth&&s?n(11,C=Math.round(k.offsetWidth/s)):n(11,C=0)})}),le=()=>{if(C>=z.length)return;const s=z.length;W===0?W=s-C:W-C<0?W=0:W=W-C,se()},Z=()=>{if(C>=z.length)return;const s=z.length;g=="true"&&(W===s-C?W=0:W++),g=="false"&&(W===s-C?W=0:s-C<W+C?W=s-C:W+=C),se()},ke=()=>{Oe(b)},Ce=()=>{n(43,P=!0),U=a},oe=()=>{n(44,I=P?F:B)},Me=s=>{const h=T!=null?T:P?F:B;return`${d?Intl.NumberFormat(d,{minimumFractionDigits:2,maximumFractionDigits:2,style:"currency",currency:I}).format(s).replace(/\s/g,""):s.toFixed(2)}<span class="CurrencySymbol">${h}</span>`},Fe=()=>{m==="true"&&(!v&&!y&&j&&console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"),!v&&y&&n(14,Q=!0))},Se=()=>{n(16,q=N.split(",")),n(9,O=q[0]),oe(),n(13,D=!1)};e.onMount(()=>(n(12,Y=e.isMobile(pe)),()=>{clearInterval(G)}));const xe=()=>K("recent"),Be=()=>K("top"),Te=()=>le(),Ne=()=>Z(),Ae=s=>re(s.gameId,s.gameModel.launchUrl,s.gameModel.name,s.gameModel.subVendor);function Ee(s){e.binding_callbacks[s?"unshift":"push"](()=>{E=s,n(8,E)})}function ze(s){e.binding_callbacks[s?"unshift":"push"](()=>{k=s,n(7,k)})}function je(s){e.binding_callbacks[s?"unshift":"push"](()=>{j=s,n(6,j)})}return r.$$set=s=>{"endpoint"in s&&n(25,l=s.endpoint),"session"in s&&n(26,o=s.session),"userid"in s&&n(27,a=s.userid),"periodrecent"in s&&n(28,u=s.periodrecent),"periodtop"in s&&n(29,c=s.periodtop),"numberusersrecent"in s&&n(30,p=s.numberusersrecent),"numberuserstop"in s&&n(31,L=s.numberuserstop),"amountlimit"in s&&n(32,M=s.amountlimit),"vendorCategory"in s&&n(33,_=s.vendorCategory),"lang"in s&&n(34,b=s.lang),"isrecentavailable"in s&&n(0,A=s.isrecentavailable),"istopavailable"in s&&n(1,x=s.istopavailable),"defaultcurrency"in s&&n(35,B=s.defaultcurrency),"usercurrency"in s&&n(36,F=s.usercurrency),"customcurrencysymbol"in s&&n(37,T=s.customcurrencysymbol),"clientstyling"in s&&n(2,v=s.clientstyling),"clientstylingurl"in s&&n(3,y=s.clientstylingurl),"enableautoscroll"in s&&n(4,g=s.enableautoscroll),"tabsorder"in s&&n(38,N=s.tabsorder),"translationurl"in s&&n(39,S=s.translationurl),"winnersdatasources"in s&&n(40,w=s.winnersdatasources),"hascustomstyling"in s&&n(41,m=s.hascustomstyling),"mbsource"in s&&n(5,f=s.mbsource),"currencylocale"in s&&n(42,d=s.currencylocale)},r.$$.update=()=>{r.$$.dirty[0]&1879048195|r.$$.dirty[1]&143&&A&&x&&u&&c&&p&&L&&M&&_&&b&&N&&Se(),r.$$.dirty[0]&67108864&&o&&Ce(),r.$$.dirty[1]&4144&&P&&(F||B)&&oe(),r.$$.dirty[0]&33554432|r.$$.dirty[1]&8704&&l&&w&&I&&ne(),r.$$.dirty[1]&8&&b&&ke(),r.$$.dirty[1]&256&&S&&_e(),r.$$.dirty[0]&32|r.$$.dirty[1]&256&&f&&!S&&Pe(`${f}.Translation`,be,V),r.$$.dirty[1]&1024&&m&&Fe(),r.$$.dirty[0]&68&&v&&j&&e.setClientStyling(j,v),r.$$.dirty[0]&72&&y&&j&&e.setClientStylingURL(j,y),r.$$.dirty[0]&96&&j&&e.setStreamStyling(j,`${f}.Style`)},[A,x,v,y,g,f,j,k,E,O,z,C,Y,D,Q,$,q,H,i,K,we,re,le,Z,Me,l,o,a,u,c,p,L,M,_,b,B,F,T,N,S,w,m,d,P,I,xe,Be,Te,Ne,Ae,Ee,ze,je]}class he extends e.SvelteComponent{constructor(t){super(),e.init(this,t,Ze,Ke,e.safe_not_equal,{endpoint:25,session:26,userid:27,periodrecent:28,periodtop:29,numberusersrecent:30,numberuserstop:31,amountlimit:32,vendorCategory:33,lang:34,isrecentavailable:0,istopavailable:1,defaultcurrency:35,usercurrency:36,customcurrencysymbol:37,clientstyling:2,clientstylingurl:3,enableautoscroll:4,tabsorder:38,translationurl:39,winnersdatasources:40,hascustomstyling:41,mbsource:5,currencylocale:42},Ie,[-1,-1,-1])}get endpoint(){return this.$$.ctx[25]}set endpoint(t){this.$$set({endpoint:t}),e.flush()}get session(){return this.$$.ctx[26]}set session(t){this.$$set({session:t}),e.flush()}get userid(){return this.$$.ctx[27]}set userid(t){this.$$set({userid:t}),e.flush()}get periodrecent(){return this.$$.ctx[28]}set periodrecent(t){this.$$set({periodrecent:t}),e.flush()}get periodtop(){return this.$$.ctx[29]}set periodtop(t){this.$$set({periodtop:t}),e.flush()}get numberusersrecent(){return this.$$.ctx[30]}set numberusersrecent(t){this.$$set({numberusersrecent:t}),e.flush()}get numberuserstop(){return this.$$.ctx[31]}set numberuserstop(t){this.$$set({numberuserstop:t}),e.flush()}get amountlimit(){return this.$$.ctx[32]}set amountlimit(t){this.$$set({amountlimit:t}),e.flush()}get vendorCategory(){return this.$$.ctx[33]}set vendorCategory(t){this.$$set({vendorCategory:t}),e.flush()}get lang(){return this.$$.ctx[34]}set lang(t){this.$$set({lang:t}),e.flush()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(t){this.$$set({isrecentavailable:t}),e.flush()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(t){this.$$set({istopavailable:t}),e.flush()}get defaultcurrency(){return this.$$.ctx[35]}set defaultcurrency(t){this.$$set({defaultcurrency:t}),e.flush()}get usercurrency(){return this.$$.ctx[36]}set usercurrency(t){this.$$set({usercurrency:t}),e.flush()}get customcurrencysymbol(){return this.$$.ctx[37]}set customcurrencysymbol(t){this.$$set({customcurrencysymbol:t}),e.flush()}get clientstyling(){return this.$$.ctx[2]}set clientstyling(t){this.$$set({clientstyling:t}),e.flush()}get clientstylingurl(){return this.$$.ctx[3]}set clientstylingurl(t){this.$$set({clientstylingurl:t}),e.flush()}get enableautoscroll(){return this.$$.ctx[4]}set enableautoscroll(t){this.$$set({enableautoscroll:t}),e.flush()}get tabsorder(){return this.$$.ctx[38]}set tabsorder(t){this.$$set({tabsorder:t}),e.flush()}get translationurl(){return this.$$.ctx[39]}set translationurl(t){this.$$set({translationurl:t}),e.flush()}get winnersdatasources(){return this.$$.ctx[40]}set winnersdatasources(t){this.$$set({winnersdatasources:t}),e.flush()}get hascustomstyling(){return this.$$.ctx[41]}set hascustomstyling(t){this.$$set({hascustomstyling:t}),e.flush()}get mbsource(){return this.$$.ctx[5]}set mbsource(t){this.$$set({mbsource:t}),e.flush()}get currencylocale(){return this.$$.ctx[42]}set currencylocale(t){this.$$set({currencylocale:t}),e.flush()}}e.create_custom_element(he,{endpoint:{},session:{},userid:{},periodrecent:{},periodtop:{},numberusersrecent:{},numberuserstop:{},amountlimit:{},vendorCategory:{},lang:{},isrecentavailable:{},istopavailable:{},defaultcurrency:{},usercurrency:{},customcurrencysymbol:{},clientstyling:{},clientstylingurl:{},enableautoscroll:{},tabsorder:{},translationurl:{},winnersdatasources:{},hascustomstyling:{},mbsource:{},currencylocale:{}},[],[],!0);exports.default=he;