@everymatrix/casino-lobby 0.0.415 → 0.0.417
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.
- package/dist/casino-lobby.js +1 -1
- package/dist/casino-lobby.js.map +1 -1
- package/package.json +2 -2
package/dist/casino-lobby.js
CHANGED
|
@@ -29,5 +29,5 @@
|
|
|
29
29
|
<span id=${t} class="${e}">
|
|
30
30
|
${n}
|
|
31
31
|
</span>
|
|
32
|
-
`},V,Z,J,b,v,C,ee,S,F,k,M,_,E,T,L,I,he,pe,function(e){gt[e?"unshift":"push"](()=>{a=e,o(17,a)})},()=>fe(x),()=>ge(x),()=>fe(x),function(e){gt[e?"unshift":"push"](()=>{y=e,o(12,y)})},function(e){gt[e?"unshift":"push"](()=>{s=e,o(18,s)})}]}function Qi(e,t,n){const r=e.slice();return r[78]=t[n],r[80]=n,r}function ea(e,t,n){const r=e.slice();return r[78]=t[n],r[81]=t,r[80]=n,r}function ta(e,t,n){const r=e.slice();return r[78]=t[n],r[80]=n,r}function na(e){let n;function r(e){return e[14]?oa:e[24]?aa:void 0}let i=r(e),a=i&&i(e);return{c(){n=pe("div"),a&&a.c()},m(e,t){ue(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(n,null)))},d(e){e&&he(n),a&&a.d()}}}function ra(e){let n,r,i;function a(e){return e[18]?Sa:e[15].length?Ca:$a}let o=a(e),s=o(e);function l(e){return e[15]?ka:Fa}let c=l(e),d=c(e);return{c(){n=pe("div"),r=pe("div"),s.c(),i=ge(),d.c(),fe(r,"class","CasinoGamesHeader Searched "+(yt(e[30])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(yt(e[30])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,r),s.m(r,null),de(n,i),d.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&he(n),s.d(),d.d()}}}function ia(e){let n;function r(e){return e[20]?Ta:Ea}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function aa(n){let r,i,a,o,s,l,c,d,u=n[29]("gamesCategorySection.favorites")+"";function h(e){return e[28]?la:sa}let p=h(n),m=p(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(u),s=ge(),l=pe("ul"),m.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(l,"class",c=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(l,"part",d=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),n[50](a),de(r,s),de(r,l),m.m(l,null),n[51](l)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.favorites")+"")&&ye(o,u),p===(p=h(e))&&m?m.p(e,t):(m.d(1),(m=p(e))&&(m.c(),m.m(l,null))),268435456&t[0]&&c!==(c=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"class",c),268435456&t[0]&&d!==(d=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"part",d)},d(e){e&&he(r),n[50](null),m.d(),n[51](null)}}}function oa(n){let r,i,a,o,s,l,c=n[14].name+"",d=n[16]&&ba(n);function u(e){return 0!==e[15].length?wa:va}let h=u(n),p=h(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(c),s=ge(),d&&d.c(),l=ge(),p.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),n[46](a),de(i,s),d&&d.m(i,null),de(r,l),p.m(r,null)},p(e,t){16384&t[0]&&c!==(c=e[14].name+"")&&ye(o,c),e[16]?d?d.p(e,t):((d=ba(e)).c(),d.m(i,null)):d&&(d.d(1),d=null),h===(h=u(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(r,null)))},d(e){e&&he(r),n[46](null),d&&d.d(),p.d()}}}function sa(e){let n,r,i=e[29]("gamesCategorySection.waiting")+"";return{c(){n=pe("p"),r=me(i)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.waiting")+"")&&ye(r,i)},d(e){e&&he(n)}}}function la(t){let r,i=t[28].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=ya(Qi(t,i,e));let o=null;return i.length||(o=ca(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);ue(t,r,n),o&&o.m(t,n)},p(t,n){if(2097156095&n[0]){let e;for(i=t[28].items,e=0;e<i.length;e+=1){const o=Qi(t,i,e);a[e]?a[e].p(o,n):(a[e]=ya(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):((o=ca(t)).c(),o.m(r.parentNode,r))}},d(e){G(a,e),e&&he(r),o&&o.d(e)}}}function ca(e){let n,r,i,a,o,s,l,c,t,d,u=e[29]("gamesCategorySection.noFavoritesTitle")+"",h=(m=e,yt(m[30])?ua:da),p=h(e);var m;return{c(){n=pe("p"),r=k("svg"),i=k("path"),a=ge(),o=pe("span"),s=me(u),l=ge(),p.c(),c=ge(),P(i,"fill","white"),fe(i,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","50px"),fe(r,"y","50px"),fe(r,"viewBox","0 0 512.001 512.001"),P(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(yt(e[30])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(yt(e[30])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(n,a),de(n,o),de(o,s),de(n,l),p.m(n,null),de(n,c)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,u),p.p(e,t)},d(e){e&&he(n),p.d()}}}function da(e){let n,r,i=e[29]("gamesCategorySection.noFavorites")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavorites")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ua(e){let n,r,i=e[29]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ha(e){let n,r=e[78].gameModel.isFavorite&&pa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[78].gameModel.isFavorite?r?r.p(e,t):((r=pa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function pa(e){let n,r=function(e){let n,r,i;function a(e,t){return 268435456&t[0]&&(r=null),(n=null==n?!!yt(e[30]):n)?ga:(r=null==r?!!e[78].gameModel.platform.includes("PC"):r)?ma:void 0}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),ue(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&he(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function ma(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(x+(e[78].cellSize||"1x1"))),w(n,"part",i=""+(x+(e[78].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[78].gameModel.thumbnail),w(n,"gamename",o=e[78].gameModel.name),w(n,"gamevendor",s=e[78].gameModel.vendor.name),w(n,"gameisnew",l=e[78].gameModel.isNew),w(n,"gamepopularity",c=e[78].gameModel.popularity),w(n,"gamecellsize",d=e[78].cellSize),w(n,"gameid",u=e[78].gameModel.id),w(n,"gamefunmode",h=e[78].gameModel.hasFunMode),w(n,"gamefavorite",p=e[78].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",m=1==e[26][e[78].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[78].gameModel.details?e[78].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(x+(e[78].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&i!==(i=""+(x+(e[78].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[78].gameModel.thumbnail)&&w(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[78].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[78].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[78].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[78].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&d!==(d=e[78].cellSize)&&w(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[78].gameModel.id)&&w(n,"gameid",u),268435456&t[0]&&h!==(h=e[78].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[78].gameModel.isFavorite)&&w(n,"gamefavorite",p),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&m!==(m=1==e[26][e[78].id]?"connect":"disconnect")&&w(n,"connectlive",m),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[78].gameModel.details?e[78].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function ga(e){let n,r=e[78].gameModel.platform.includes("iPad")||e[78].gameModel.platform.includes("iPhone")||e[78].gameModel.platform.includes("Android"),i=r&&fa(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){(r=268435456&t[0]?e[78].gameModel.platform.includes("iPad")||e[78].gameModel.platform.includes("iPhone")||e[78].gameModel.platform.includes("Android"):r)?i?i.p(e,t):((i=fa(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function fa(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(x+(e[78].cellSize||"1x1"))),w(n,"part",i=""+(x+(e[78].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[78].gameModel.thumbnail),w(n,"gamename",o=e[78].gameModel.name),w(n,"gamevendor",s=e[78].gameModel.vendor.name),w(n,"gameisnew",l=e[78].gameModel.isNew),w(n,"gamepopularity",c=e[78].gameModel.popularity),w(n,"gamecellsize",d=e[78].cellSize),w(n,"gameid",u=e[78].gameModel.id),w(n,"gamefunmode",h=e[78].gameModel.hasFunMode),w(n,"gamefavorite",p=e[78].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",m=1==e[26][e[78].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[78].gameModel.details?e[78].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(x+(e[78].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&i!==(i=""+(x+(e[78].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[78].gameModel.thumbnail)&&w(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[78].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[78].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[78].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[78].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&d!==(d=e[78].cellSize)&&w(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[78].gameModel.id)&&w(n,"gameid",u),268435456&t[0]&&h!==(h=e[78].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[78].gameModel.isFavorite)&&w(n,"gamefavorite",p),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&m!==(m=1==e[26][e[78].id]?"connect":"disconnect")&&w(n,"connectlive",m),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[78].gameModel.details?e[78].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function ya(e){let n,r=e[78].gameModel&&ha(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[78].gameModel?r?r.p(e,t):((r=ha(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ba(n){let r,i,a,o,s,l,c,d,u=n[29]("gamesCategorySection.viewAll")+"",h=n[14].games.total+"";return{c(){r=pe("a"),i=pe("span"),a=me(u),o=me(" ("),s=me(h),l=me(")"),fe(i,"class","CategoryLoadMore"),fe(i,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),de(i,l),c||(d=K(r,"click",n[47]),c=!0)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.viewAll")+"")&&ye(a,u),16384&t[0]&&h!==(h=e[14].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,d()}}}function va(e){let n;return{c(){(n=pe("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function wa(n){let r,e,i,a=n[15],o=[];for(let e=0;e<a.length;e+=1)o[e]=xa(ea(n,a,e));return{c(){r=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",i=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[49](r)},p(t,n){if(201367551&n[0]){let e;for(a=t[15],e=0;e<a.length;e+=1){const i=ea(t,a,e);o[e]?o[e].p(i,n):(o[e]=xa(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}285212672&n[0]&&e!==(e=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),285212672&n[0]&&i!==(i=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",i)},d(e){e&&he(r),G(o,e),n[49](null)}}}function xa(e){let n,r=function(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y=n[80];const b=()=>n[48](r,y),v=()=>n[48](null,y);return{c(){w(r=pe("casino-game-thumbnail"),"session",n[2]),w(r,"userid",n[3]),w(r,"lang",n[1]),w(r,"class",i=""+(x+(n[78].cellSize||"1x1"))),w(r,"part",a=""+(x+(n[78].cellSize||"1x1"))),w(r,"favorites",n[4]),w(r,"gamethumbnail",o=n[78].thumbnail),w(r,"gamename",s=n[78].name),w(r,"gamevendor",l=n[78].vendor.name),w(r,"gameisnew",c=n[78].isNew),w(r,"gamepopularity",d=n[78].popularity),w(r,"gamecellsize",u=n[78].cellSize),w(r,"gameid",h=n[78].id),w(r,"gamefunmode",p=n[78].hasFunMode),w(r,"gamefavorite",m=n[78].isFavorite),w(r,"connectlive",g=1==n[26][n[78].id]?"connect":"disconnect"),w(r,"visibilityconnect",n[27]),w(r,"currency",n[7]),w(r,"livelobbyendpoint",f=n[78].details?n[78].href:""),w(r,"clientstyling",n[5]),w(r,"clientstylingurl",n[6]),w(r,"endpoint",n[0]),w(r,"livecasino",n[8]),w(r,"gamepagemodalurl",n[9]),w(r,"integratedgameframedesktop",n[10]),w(r,"integratedgameframemobile",n[11])},m(e,t){ue(e,r,t),b()},p(e,t){n=e,4&t[0]&&w(r,"session",n[2]),8&t[0]&&w(r,"userid",n[3]),2&t[0]&&w(r,"lang",n[1]),32768&t[0]&&i!==(i=""+(x+(n[78].cellSize||"1x1")))&&w(r,"class",i),32768&t[0]&&a!==(a=""+(x+(n[78].cellSize||"1x1")))&&w(r,"part",a),16&t[0]&&w(r,"favorites",n[4]),32768&t[0]&&o!==(o=n[78].thumbnail)&&w(r,"gamethumbnail",o),32768&t[0]&&s!==(s=n[78].name)&&w(r,"gamename",s),32768&t[0]&&l!==(l=n[78].vendor.name)&&w(r,"gamevendor",l),32768&t[0]&&c!==(c=n[78].isNew)&&w(r,"gameisnew",c),32768&t[0]&&d!==(d=n[78].popularity)&&w(r,"gamepopularity",d),32768&t[0]&&u!==(u=n[78].cellSize)&&w(r,"gamecellsize",u),32768&t[0]&&h!==(h=n[78].id)&&w(r,"gameid",h),32768&t[0]&&p!==(p=n[78].hasFunMode)&&w(r,"gamefunmode",p),32768&t[0]&&m!==(m=n[78].isFavorite)&&w(r,"gamefavorite",m),67141632&t[0]&&g!==(g=1==n[26][n[78].id]?"connect":"disconnect")&&w(r,"connectlive",g),134217728&t[0]&&w(r,"visibilityconnect",n[27]),128&t[0]&&w(r,"currency",n[7]),32768&t[0]&&f!==(f=n[78].details?n[78].href:"")&&w(r,"livelobbyendpoint",f),32&t[0]&&w(r,"clientstyling",n[5]),64&t[0]&&w(r,"clientstylingurl",n[6]),1&t[0]&&w(r,"endpoint",n[0]),256&t[0]&&w(r,"livecasino",n[8]),512&t[0]&&w(r,"gamepagemodalurl",n[9]),1024&t[0]&&w(r,"integratedgameframedesktop",n[10]),2048&t[0]&&w(r,"integratedgameframemobile",n[11]),y!==n[80]&&(v(),y=n[80],b())},d(e){e&&he(r),v()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function Ca(e){let n,r,i=e[29]("gamesCategorySection.searchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.searchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function $a(e){let n,r,i=e[29]("gamesCategorySection.noResults")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noResults")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Sa(e){let n,r,i=e[29]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Fa(e){let n;return{c(){(n=pe("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function ka(t){let r,i,a=!t[21]&&Ma(t),o=t[15],s=[];for(let e=0;e<o.length;e+=1)s[e]=_a(ta(t,o,e));return{c(){a&&a.c(),r=ge(),i=pe("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),ue(e,r,t),ue(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[21]?a&&(a.d(1),a=null):a?a.p(t,n):((a=Ma(t)).c(),a.m(r.parentNode,r)),561151&n[0]){let e;for(o=t[15],e=0;e<o.length;e+=1){const a=ta(t,o,e);s[e]?s[e].p(a,n):(s[e]=_a(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&he(r),e&&he(i),G(s,e)}}}function Ma(e){let n,r,t,i,a=e[29]("gamesCategorySection.noRecentSearch")+"";return{c(){n=pe("p"),r=me(a),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(yt(e[30])?"NoRecentSearchesMobile":"")),fe(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(yt(e[30])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noRecentSearch")+"")&&ye(r,a)},d(e){e&&he(n)}}}function _a(e){let n,r,i,a,o,s,l,c,d,u,h,p,m;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(x+(e[78].cellSize||"1x1"))),w(n,"part",i=""+(x+(e[78].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"searchitem",e[19]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[78].thumbnail),w(n,"gamename",o=e[78].name),w(n,"gamevendor",s=e[78].vendor.name),w(n,"gameisnew",l=e[78].isNew),w(n,"gamepopularity",c=e[78].popularity),w(n,"gamecellsize",d=e[78].cellSize),w(n,"gameid",u=e[78].id),w(n,"gamefunmode",h=e[78].hasFunMode),w(n,"gamefavorite",p=e[78].isFavorite),w(n,"currency",e[7]),w(n,"livelobbyendpoint",m=e[78].details?e[78].href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){32768&t[0]&&r!==(r=""+(x+(e[78].cellSize||"1x1")))&&w(n,"class",r),32768&t[0]&&i!==(i=""+(x+(e[78].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),524288&t[0]&&w(n,"searchitem",e[19]),16&t[0]&&w(n,"favorites",e[4]),32768&t[0]&&a!==(a=e[78].thumbnail)&&w(n,"gamethumbnail",a),32768&t[0]&&o!==(o=e[78].name)&&w(n,"gamename",o),32768&t[0]&&s!==(s=e[78].vendor.name)&&w(n,"gamevendor",s),32768&t[0]&&l!==(l=e[78].isNew)&&w(n,"gameisnew",l),32768&t[0]&&c!==(c=e[78].popularity)&&w(n,"gamepopularity",c),32768&t[0]&&d!==(d=e[78].cellSize)&&w(n,"gamecellsize",d),32768&t[0]&&u!==(u=e[78].id)&&w(n,"gameid",u),32768&t[0]&&h!==(h=e[78].hasFunMode)&&w(n,"gamefunmode",h),32768&t[0]&&p!==(p=e[78].isFavorite)&&w(n,"gamefavorite",p),128&t[0]&&w(n,"currency",e[7]),32768&t[0]&&m!==(m=e[78].details?e[78].href:"")&&w(n,"livelobbyendpoint",m),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Ea(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Ta(e){let n;return{c(){(n=pe("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function La(n){let r;function i(e){return e[13]?ia:e[17]?ra:na}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[52](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[52](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},qi,Vi,t,{session:47,userid:48,lang:49,clientstyling:50,clientstylingurl:51,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:52,searchitem:53,gamefavorite:0,gamecellsize:8,showfavoredcategory:54,showgamename:9,currency:55,gamepagemodalurl:56,endpoint:57,livelobbyendpoint:58,connectlive:59,visibilityconnect:60,integratedgameframedesktop:61,integratedgameframemobile:62,MONEY_WHEEL_COLOR_MAP:63,ROULETTE_COLOR_MAP:64},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[49]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),f()}get gamefunmode(){return this.$$.ctx[52]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[53]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[8]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[54]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[9]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[55]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[56]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[57]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[58]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[59]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[60]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[61]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[62]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[63]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[64]}});const x="game-tile-";function Ia(e,t,s){let A;vt(e,Kr,e=>s(29,A=e));let n,i,a,r,R,o,l,c,d,u,{categoryindex:D=""}=t,{endpoint:h=""}=t,{datasource:p=""}=t,{lang:m=""}=t,{session:H=""}=t,{userid:N=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{currency:O=""}=t,{categoryid:b=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:W=""}=t,{gamepagemodalurl:z="false"}=t,{enablecasinowinners:Y="true"}=t,{integratedgameframedesktop:V="false"}=t,{integratedgameframemobile:Z="false"}=t,{tabsorder:J=""}=t,{enableautoscroll:K=""}=t,{once:X=!0}=t,{top:q=0}=t,{bottom:Q=0}=t,{left:ee=0}=t,{right:te=0}=t,v=!1,w=!0,ne=window.navigator.userAgent,x=[],C=!0,$=40,S=!1,F=!1,re=!1,k=!1,M=!1,_=!0,E=!1,T=!1,L=!1,I=new Array(1e4),G={},ie="",P={items:[],count:0,name:""},ae=(Object.keys(xi).forEach(e=>{Tr(e,xi[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>$&&le(b),s(26,G[t]=1,G)):s(26,G[t]=0,G)})}));const oe=(e,r,i,t=0)=>{let n,a="",o=(a=1<(b.match(/\$/g)||[]).length?(n=b.split("$").slice(0,2).join("$"),new URL(`${h}/casino/groups/${p}/${n}/subGroups`)):new URL(`${h}/casino/groups/${p}/`+b),JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",bt(ne)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",m),window.postMessage({type:"CategoryVendors",categoryid:b},window.location.href),o&&o[b])if(o[b].length&&!1===w&&!1===E){let t="";s(20,M=!0),o[b].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(20,M=!1);fetch(a).then(e=>e.json()).then(e=>{1<(b.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==b)return e})[0]),s(45,u=!0),s(13,v=!1),R=e.games.total,t(e)},e=>{s(13,v=!0),console.error(e),n(e)})})},se=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(17,S=!1),w=!1,s(16,C=!1),T=!0,s(15,x=t.data.mostPlayedGames),s(14,a={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"LastPlayedData":s(17,S=!1),w=!1,s(16,C=!1),T=!1,s(15,x=t.data.lastPlayedGames),s(14,a={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(17,S=!0),T=!1,s(18,F=!0),0<t.data.searchData.length?(s(15,x=t.data.searchData),s(21,_=!0),x&&x.forEach(e=>{e.isFavorite=B(e.id)})):(s(15,x=[]),s(21,_=!1));break;case"OutOfRecentSearches":s(17,S=!1),s(18,F=!1);break;case"SearchData":s(17,S=!0),T=!1,s(18,F=!1),s(15,x=t.data.searchData.items||[]),s(19,k=!0),t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)});break;case"CategoryData_"+b:s(17,S=!1),w=!0,s(16,C=!0),s(19,k=!1),T=!1,L=!1,t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),oe(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(14,a=e),s(15,x=a.games.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)})});break;case"CategoryChange":$=20;break;case"CategoryUpdate":s(17,S=!1),w=!1,s(19,k=!1),T=!1,L=!0,s(32,b=t.data.itemId),"MOSTPLAYED"!==b&&s(16,C=!1),oe(0,0,$).then(e=>{s(14,a=e),a.games.items.forEach(e=>{e.isFavorite=B(e.id)}),s(15,x=a.games.items),s(16,C=!1),x.length<10&&(re=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:re},window.location.href)},500))});break;case"FavoriteUpdate":T=!1,w=!0,s(15,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)});break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items,E?w||T||window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(28,P.items=Xr(e,P.items),P),s(28,P.name="Favorites",P),s(24,E=!0));break;case"UserSessionID":if(n=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&n&&0<n.length){var r=`${h}/player/${i}/favorites/`;let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{l=e?e.items:[],x.forEach(e=>{e.isFavorite=B(e.id)});e=x;s(15,x=void 0),s(15,x=e),t(l)}).catch(e=>{console.error(e),n(e)})})}}},le=e=>{($+=1)<=R&&oe(0,0,$).then(e=>{s(14,a=e),a.games.items.length>x.length&&(s(15,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)}))})},B=t=>!!l&&-1!==l.findIndex(e=>e.id==t),ce=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return wt(()=>(window.addEventListener("visibilitychange",e=>{document[d]?s(27,ie="disconnect"):s(27,ie="connect")}),window.addEventListener("message",se,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",se),window.removeEventListener("visibilitychange",se)})),e.$$set=e=>{"categoryindex"in e&&s(33,D=e.categoryindex),"endpoint"in e&&s(0,h=e.endpoint),"datasource"in e&&s(34,p=e.datasource),"lang"in e&&s(1,m=e.lang),"session"in e&&s(2,H=e.session),"userid"in e&&s(3,N=e.userid),"favorites"in e&&s(4,g=e.favorites),"clientstyling"in e&&s(5,f=e.clientstyling),"clientstylingurl"in e&&s(6,y=e.clientstylingurl),"currency"in e&&s(7,O=e.currency),"categoryid"in e&&s(32,b=e.categoryid),"categorygames"in e&&s(35,j=e.categorygames),"livecasino"in e&&s(8,U=e.livecasino),"visiblegames"in e&&s(36,W=e.visiblegames),"gamepagemodalurl"in e&&s(9,z=e.gamepagemodalurl),"enablecasinowinners"in e&&s(37,Y=e.enablecasinowinners),"integratedgameframedesktop"in e&&s(10,V=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,Z=e.integratedgameframemobile),"tabsorder"in e&&s(38,J=e.tabsorder),"enableautoscroll"in e&&s(39,K=e.enableautoscroll),"once"in e&&s(40,X=e.once),"top"in e&&s(41,q=e.top),"bottom"in e&&s(42,Q=e.bottom),"left"in e&&s(43,ee=e.left),"right"in e&&s(44,te=e.right)},e.$$.update=()=>{if(4096&e.$$.dirty[0]|16384&e.$$.dirty[1]&&u&&I&&L&&I.forEach((e,t)=>{e&&(e.elems_index=t,ae.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&f){let e=document.createElement("style");e.innerHTML=f,setTimeout(()=>{c.appendChild(e)})}if(64&e.$$.dirty[0]&&y){let t=document.createElement("style");fetch(new URL(y)).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&setTimeout(()=>{c.appendChild(t)},1)})}},[h,m,H,N,g,f,y,O,U,z,V,Z,I,v,a,x,C,S,F,k,M,_,r,o,E,c,G,ie,P,A,ne,ce,b,D,p,j,W,Y,J,K,X,q,Q,ee,te,u,function(e){gt[e?"unshift":"push"](()=>{o=e,s(23,o)})},e=>ce(a.id,a),function(e,t){gt[e?"unshift":"push"](()=>{I[t]=e,s(12,I)})},function(e){gt[e?"unshift":"push"](()=>{r=e,s(22,r)})},function(e){gt[e?"unshift":"push"](()=>{o=e,s(23,o)})},function(e){gt[e?"unshift":"push"](()=>{r=e,s(22,r)})},function(e){gt[e?"unshift":"push"](()=>{c=e,s(25,c)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ia,La,t,{categoryindex:33,endpoint:0,datasource:34,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:32,categorygames:35,livecasino:8,visiblegames:36,gamepagemodalurl:9,enablecasinowinners:37,integratedgameframedesktop:10,integratedgameframemobile:11,tabsorder:38,enableautoscroll:39,once:40,top:41,bottom:42,left:43,right:44},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","enablecasinowinners","integratedgameframedesktop","integratedgameframemobile","tabsorder","enableautoscroll","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[33]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[34]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[32]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[35]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[36]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[37]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get tabsorder(){return this.$$.ctx[38]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[39]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get once(){return this.$$.ctx[40]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[41]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[42]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[43]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[44]}set right(e){this.$$set({right:e}),f()}});const Ga={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Pa(e,t,n){const r=e.slice();return r[24]=t[n],r[26]=n,r}function Ba(n){let r,i,a,o,s,l,c,d=!n[6]&&Aa(n),u=n[6]&&Da(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),d&&d.c(),s=ge(),u&&u.c(),fe(a,"class","ModalCloseBtn"),fe(a,"part","ModalCloseBtn"),fe(a,"role","button"),fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),d&&d.m(i,null),de(i,s),u&&u.m(i,null),l||(c=K(a,"click",n[10]),l=!0)},p(e,t){e[6]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Aa(e)).c(),d.m(i,s)),e[6]?u?u.p(e,t):((u=Da(e)).c(),u.m(i,null)):u&&(u.d(1),u=null)},d(e){e&&he(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function Aa(t){let n,r,i,a,o,s,e=t[7]("randomGame.randomGameLoading")+"",l=t[3],c=[];for(let e=0;e<l.length;e+=1)c[e]=Ra(Pa(t,l,e));return{c(){n=pe("div"),r=pe("main"),i=pe("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ge(),o=pe("p"),s=me(e),fe(i,"class","items"),fe(i,"part","items"),P(i,"transform","translateY("+t[5]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(r,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);de(n,a),de(n,o),de(o,s)},p(t,n){if(8&n){let e;for(l=t[3],e=0;e<l.length;e+=1){var r=Pa(t,l,e);c[e]?c[e].p(r,n):(c[e]=Ra(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}32&n&&P(i,"transform","translateY("+t[5]+"px)"),128&n&&e!==(e=t[7]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),G(c,e)}}}function Ra(e){let n,r,i,a,o,s;return{c(){n=pe("div"),r=pe("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,i=e[24].thumbnail)||fe(r,"src",i),fe(r,"alt",a=e[24].name),fe(r,"title",o=e[24].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,r),de(n,s)},p(e,t){8&t&&!ce(r.src,i=e[24].thumbnail)&&fe(r,"src",i),8&t&&a!==(a=e[24].name)&&fe(r,"alt",a),8&t&&o!==(o=e[24].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function Da(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$=n[2].name+"",S=n[2].vendor.name+"",F=n[7]("randomGame.playNowRandomGame")+"";return{c(){r=pe("div"),i=pe("div"),a=pe("img"),c=ge(),(d=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ge(),h=pe("div"),p=pe("p"),m=me($),g=ge(),f=pe("p"),y=me(S),b=ge(),v=pe("button"),w=me(F),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,o=n[2].thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[2].name),fe(a,"title",l=n[2].name),fe(d,"class","RandomTryAgain"),fe(d,"part","RandomTryAgain"),fe(i,"class","item"),fe(i,"part","item"),fe(p,"class","RandomGameTitle"),fe(p,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(r,"class","RandomGameWrapper"),fe(r,"part","RandomGameWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,c),de(i,d),de(r,u),de(r,h),de(h,p),de(p,m),de(h,g),de(h,f),de(f,y),de(h,b),de(h,v),de(v,w),x||(C=[K(d,"click",n[15]),K(v,"click",n[16])],x=!0)},p(e,t){4&t&&!ce(a.src,o=e[2].thumbnail)&&fe(a,"src",o),4&t&&s!==(s=e[2].name)&&fe(a,"alt",s),4&t&&l!==(l=e[2].name)&&fe(a,"title",l),4&t&&$!==($=e[2].name+"")&&ye(m,$),4&t&&S!==(S=e[2].vendor.name+"")&&ye(y,S),128&t&&F!==(F=e[7]("randomGame.playNowRandomGame")+"")&&ye(w,F)},d(e){e&&he(r),x=!1,J(C)}}}function Ha(e){let n,r,i=e[7]("randomGame.playRandomGame")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){128&t&&i!==(i=e[7]("randomGame.playRandomGame")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Na(e){let n,r;return{c(){n=pe("span"),r=me(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2&t&&ye(r,e[1])},d(e){e&&he(n)}}}function Oa(n){let r,i,a,o,s,l,c,d,u,h=n[4]&&Ba(n);function p(e){return e[1]?Na:e[1]?void 0:Ha}let m=p(n),g=m&&m(n);return{c(){r=pe("div"),i=pe("div"),h&&h.c(),a=ge(),o=pe("div"),s=pe("button"),g&&g.c(),l=ge(),c=pe("span"),this.c=Z,fe(c,"class","RandomButtonIcon"),fe(c,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(o,"class","RandomButtonWrapper"),fe(o,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),de(r,i),h&&h.m(i,null),de(i,a),de(i,o),de(o,s),g&&g.m(s,null),de(s,l),de(s,c),c.innerHTML=n[0],d||(u=K(s,"click",n[17]),d=!0)},p(e,[t]){e[4]?h?h.p(e,t):((h=Ba(e)).c(),h.m(i,a)):h&&(h.d(1),h=null),m===(m=p(e))&&g?g.p(e,t):(g&&g.d(1),(g=m&&m(e))&&(g.c(),g.m(s,l))),1&t&&(c.innerHTML=e[0])},i:Z,o:Z,d(e){e&&he(r),h&&h.d(),g&&g.d(),d=!1,u()}}}function ja(t,e,n){let r;vt(t,Kr,e=>n(7,r=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,{randombuttonicon:c=""}=e,{buttontext:d=""}=e,u=[],h="",p=!1,m=0,g=0,f=!1,y=window.navigator.userAgent;var b,v;({withLocale:b,translations:v}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(v),ft.set(b))}),Object.keys(Ga).forEach(e=>{Tr(e,Ga[e])});const w=()=>{n(3,i=(e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e})(i)),n(5,m=0),g=0,n(6,f=!1),n(2,h=u[Math.floor(Math.random()*u.length)]),n(4,p=!0);let e=setInterval(()=>{n(5,m-=100),20==++g&&(n(6,f=!0),clearInterval(e))},100)},x=()=>{window.postMessage({type:s,gameId:h.gId||h.id},window.location.href),n(4,p=!1)};return t.$$set=e=>{"endpoint"in e&&n(11,a=e.endpoint),"datasource"in e&&n(12,o=e.datasource),"gameevent"in e&&n(13,s=e.gameevent),"lang"in e&&n(14,l=e.lang),"randombuttonicon"in e&&n(0,c=e.randombuttonicon),"buttontext"in e&&n(1,d=e.buttontext)},t.$$.update=()=>{if(16384&t.$$.dirty&&l&&(e=l,ft.set(e)),6144&t.$$.dirty&&a&&o){let e=new URL(a+"/casino/games");e.searchParams.append("platform",bt(y)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{u=e.items,n(3,i=u.slice(0,19))})}var e},[c,d,h,i,p,m,f,r,w,x,()=>{n(4,p=!1)},a,o,s,l,()=>w(),()=>x(),()=>w()]}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ja,Oa,t,{endpoint:11,datasource:12,gameevent:13,lang:14,randombuttonicon:0,buttontext:1},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext"]}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[12]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[13]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),f()}});const Ua={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function Wa(e,t,n){const r=e.slice();return r[57]=t[n],r}function za(e,t,n){const r=e.slice();return r[60]=t[n],r}function Ya(n){let i,r,a,o,s,l,c,d,e,u,h,p,m,g,f,y,b,v,w,x,C=n[14],$=[];for(let e=0;e<C.length;e+=1)$[e]=Ka(za(n,C,e));let S=n[7],F=[];for(let e=0;e<S.length;e+=1)F[e]=Xa(Wa(n,S,e));return{c(){i=pe("div"),r=pe("div"),a=pe("div");for(let e=0;e<$.length;e+=1)$[e].c();o=ge(),s=pe("div"),l=pe("button"),c=k("svg"),d=k("path"),u=ge(),h=pe("button"),p=k("svg"),m=k("path"),y=ge(),b=pe("div");for(let e=0;e<F.length;e+=1)F[e].c();fe(a,"class","WinnerButtonsContainer"),fe(d,"style",e=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(m,"style",g=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(m,"id","Path_36"),fe(m,"data-name","Path 36"),fe(m,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(m,"transform","translate(0 24.656) rotate(-90)"),fe(m,"fill","#fff"),fe(p,"id","Component_46_2"),fe(p,"data-name","Component 46 – 2"),fe(p,"xmlns","http://www.w3.org/2000/svg"),fe(p,"width","15"),fe(p,"height","15"),fe(p,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[9]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a);for(let e=0;e<$.length;e+=1)$[e].m(a,null);de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,h),de(h,p),de(p,m),de(i,y),de(i,b);for(let e=0;e<F.length;e+=1)F[e].m(b,null);n[38](b),w||(x=[K(l,"click",n[35]),K(h,"click",n[36])],w=!0)},p(t,n){if(114755&n[0]){let e;for(C=t[14],e=0;e<C.length;e+=1){var r=za(t,C,e);$[e]?$[e].p(r,n):($[e]=Ka(r),$[e].c(),$[e].m(a,null))}for(;e<$.length;e+=1)$[e].d(1);$.length=C.length}if(384&n[0]&&e!==(e=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),384&n[0]&&g!==(g=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(m,"style",g),8&n[0]&&f!==(f="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&fe(s,"class",f),435348&n[0]){let e;for(S=t[7],e=0;e<S.length;e+=1){const a=Wa(t,S,e);F[e]?F[e].p(a,n):(F[e]=Xa(a),F[e].c(),F[e].m(b,null))}for(;e<F.length;e+=1)F[e].d(1);F.length=S.length}512&n[0]&&v!==(v="CasinoWinners "+(t[9]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&he(i),G($,e),G(F,e),n[38](null),w=!1,J(x)}}}function Va(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function Za(n){let r,i,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=pe("button"),i=me(l),fe(r,"class",a="WinnersButton "+("recent"==n[6]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,r,t),de(r,i),o||(s=K(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(i,l),65&t[0]&&a!==(a="WinnersButton "+("recent"==e[6]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",a)},d(e){e&&he(r),o=!1,s()}}}function Ja(n){let r,i,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=pe("button"),i=me(c),a=ge(),fe(r,"class",o="WinnersButton "+("top"==n[6]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,r,t),de(r,i),de(r,a),s||(l=K(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(i,c),66&t[0]&&o!==(o="WinnersButton "+("top"==e[6]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function Ka(e){let n,r,i="recent"==e[60]&&Za(e),a="top"==e[60]&&Ja(e);return{c(){i&&i.c(),n=ge(),a&&a.c(),r=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),a&&a.m(e,t),ue(e,r,t)},p(e,t){"recent"==e[60]?i?i.p(e,t):((i=Za(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[60]?a?a.p(e,t):((a=Ja(e)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){i&&i.d(e),e&&he(n),a&&a.d(e),e&&he(r)}}}function Xa(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S,F,k,M=n[57].gameName+"",_=n[17](n[57].username)+"",E=n[15]("Translations.won")+"",T=n[57].specifiedCurrencyAmount.toFixed(2)+"",L=(n[4]?n[10]:n[2])+"";function I(){return n[37](n[57])}return{c(){r=pe("div"),i=pe("div"),a=pe("img"),l=ge(),c=pe("p"),d=me(M),u=ge(),h=pe("p"),p=me(_),m=ge(),g=pe("p"),f=me(E),y=ge(),b=pe("p"),v=me(T),w=ge(),x=pe("span"),C=me(L),$=ge(),ce(a.src,o=n[57]?.gameModel?.thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[57]?.gameModel?.thumbnail),fe(a,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(i,"class","WinnerCard"),fe(r,"class",S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,l),de(i,c),de(c,d),de(i,u),de(i,h),de(h,p),de(i,m),de(i,g),de(g,f),de(i,y),de(i,b),de(b,v),de(b,w),de(b,x),de(x,C),de(r,$),F||(k=K(a,"click",I),F=!0)},p(e,t){n=e,128&t[0]&&!ce(a.src,o=n[57]?.gameModel?.thumbnail)&&fe(a,"src",o),128&t[0]&&s!==(s=n[57]?.gameModel?.thumbnail)&&fe(a,"alt",s),128&t[0]&&M!==(M=n[57].gameName+"")&&ye(d,M),128&t[0]&&_!==(_=n[17](n[57].username)+"")&&ye(p,_),32768&t[0]&&E!==(E=n[15]("Translations.won")+"")&&ye(f,E),128&t[0]&&T!==(T=n[57].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,T),1044&t[0]&&L!==(L=(n[4]?n[10]:n[2])+"")&&ye(C,L),8192&t[0]&&S!==(S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",S)},d(e){e&&he(r),F=!1,k()}}}function qa(n){let r;function i(e){return e[12]?Va:Ya}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){ue(e,r,t),o.m(r,null),n[39](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[39](null)}}}function Qa(t,e,r){let n;vt(t,Kr,e=>r(15,n=e));let i,a,o,s,l,c,d,u,h,p,{endpoint:m=""}=e,{session:g=""}=e,{periodrecent:f="Today"}=e,{periodtop:y="Last7Days"}=e,{numberusersrecent:b="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:w="1"}=e,{lang:x="en"}=e,{isrecentavailable:C="true"}=e,{istopavailable:$="true"}=e,{defaultcurrency:S=""}=e,{clientstyling:F=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:M=""}=e,{tabsorder:_=""}=e,E=[],T=0,L=0,A=window.navigator.userAgent,I=!0,G=!1;Object.keys(Ua).forEach(e=>{Tr(e,Ua[e])});const R=()=>{const e=new URL(`${m}/casino/${a}-winners`);e.searchParams.append("limit","recent"==a?b:v),e.searchParams.append("specifiedCurrency",p),e.searchParams.append("period","recent"==a?f:y),e.searchParams.append("language",x),e.searchParams.append("amountLimit",w),fetch(e.href).then(e=>e.json()).then(e=>{r(7,E=[]),r(7,E=e.items.map(e=>e)),r(12,I=!1),setTimeout(()=>{r(8,L=Math.round(i.offsetWidth/225)),H(),"true"==M&&(T=0,L<d?u=setInterval(()=>{B()},3e3):clearInterval(u))})})},P=e=>{a!==e&&(r(6,a=e),r(7,E=[]),R())},D=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},H=n=>{const e=[...i.children];d=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==a?setTimeout(()=>{r(13,G=!0)},10):r(13,G=!1)},N=()=>{H(T)},O=()=>{var e=E.length;L>=E.length||(0===T?T=e-L:T-L<0?T=0:T-=L,N())},B=()=>{var e=E.length;L>=E.length||("true"==M&&(T===e-L?T=0:T++),"false"==M&&(T===e-L?T=0:e-L<T+L?T=e-L:T+=L),N())};return wt(()=>(r(9,o=yt(A)),()=>{clearInterval(u)})),t.$$set=e=>{"endpoint"in e&&r(22,m=e.endpoint),"session"in e&&r(23,g=e.session),"periodrecent"in e&&r(24,f=e.periodrecent),"periodtop"in e&&r(25,y=e.periodtop),"numberusersrecent"in e&&r(26,b=e.numberusersrecent),"numberuserstop"in e&&r(27,v=e.numberuserstop),"amountlimit"in e&&r(21,w=e.amountlimit),"lang"in e&&r(28,x=e.lang),"isrecentavailable"in e&&r(0,C=e.isrecentavailable),"istopavailable"in e&&r(1,$=e.istopavailable),"defaultcurrency"in e&&r(2,S=e.defaultcurrency),"clientstyling"in e&&r(29,F=e.clientstyling),"clientstylingurl"in e&&r(30,k=e.clientstylingurl),"enableautoscroll"in e&&r(3,M=e.enableautoscroll),"tabsorder"in e&&r(31,_=e.tabsorder)},t.$$.update=()=>{if(522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&C&&$&&f&&y&&b&&v&&w&&x&&_&&null!=s&&(r(14,h=_.split(",")),r(6,a=h[0]),"false"==C&&r(21,w=""),r(32,p=s?l:S)),4194304&t.$$.dirty[0]&&m&&qr(m,g).then(e=>{e.Guid,r(10,l=e.Currency),r(4,s=!0)},e=>{r(4,s=!1)}),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&m&&p&&M&&R(),268435456&t.$$.dirty[0]&&x&&(e=x,ft.set(e)),536870912&t.$$.dirty[0]&&F){let e=document.createElement("style");e.innerHTML=F,c.appendChild(e)}if(1073741824&t.$$.dirty[0]&&k){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&(setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500))})}var e},[C,$,S,M,s,i,a,E,L,o,l,c,I,G,h,n,P,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),D,O,B,w,m,g,f,y,b,v,x,F,k,_,p,()=>P("recent"),()=>P("top"),()=>O(),()=>B(),e=>D(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){gt[e?"unshift":"push"](()=>{i=e,r(5,i)})},function(e){gt[e?"unshift":"push"](()=>{c=e,r(11,c)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #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(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.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(--emfe-w-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(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);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 .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display: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}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Qa,qa,t,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),f()}});const eo={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando por favor espere..."}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function to(e,t,n){const r=e.slice();return r[47]=t[n],r[49]=n,r}function no(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v;function w(e){return e[5]?ao:oo}let x=w(n),C=x(n);return{c(){r=pe("div"),i=pe("div"),a=pe("div"),o=pe("div"),s=pe("img"),c=ge(),d=pe("div"),C.c(),u=ge(),h=pe("div"),p=pe("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(p.src,m=n[11])||fe(p,"src",m),fe(p,"alt",""),fe(h,"class","title"),fe(a,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),P(a,"background","url("+n[10]+")"),fe(i,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(o,s),de(a,c),de(a,d),C.m(d,null),de(a,u),de(a,h),de(h,p),n[32](r),b||(v=K(i,"click",n[31]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),x===(x=w(e))&&C?C.p(e,t):(C.d(1),(C=x(e))&&(C.c(),C.m(d,null))),2048&t[0]&&!ce(p.src,m=e[11])&&fe(p,"src",m),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(a,"class",g),1024&t[0]&&P(a,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(r,"part",y)},d(e){e&&he(r),C.d(),n[32](null),b=!1,v()}}}function ro(e){let n,r,i=e[14]("jackpotBanners.loadingText")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","loadingPrompt")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16384&t[0]&&i!==(i=e[14]("jackpotBanners.loadingText")+"")&&ye(r,i)},d(e){e&&he(n)}}}function io(e){let n;return{c(){(n=pe("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function ao(e){let n,r,i,a,o,s,R,l,c,D,H,d,N,O,u,h,p,m,g,j,f,y,U,W,b,z,Y,v,w,x,C,$,S,V,F,k,Z,J,M,K,X,_,E,T,L,I,q,G,P,Q,ee,B,te,A=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ie=e[7][1]+"",ae=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=pe("img"),s=pe("span"),R=me(A),l=pe("span"),c=pe("span"),D=me(ne),H=ge(),d=pe("span"),N=me(e[1]),O=ge(),u=pe("div"),h=pe("div"),p=pe("img"),g=pe("span"),j=me(re),f=pe("span"),y=pe("span"),U=me(ie),W=ge(),b=pe("span"),z=me(e[1]),Y=ge(),v=pe("div"),w=pe("div"),x=pe("div"),C=pe("img"),S=pe("span"),V=me(ae),F=pe("span"),k=pe("span"),Z=me(oe),J=ge(),M=pe("span"),K=me(e[1]),X=ge(),_=pe("div"),E=pe("div"),T=pe("img"),I=pe("span"),q=me(se),G=pe("span"),P=pe("span"),Q=me(le),ee=ge(),B=pe("span"),te=me(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,o=e[9][0])||fe(a,"src",o),fe(a,"alt",""),fe(s,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(p,"class","displayCardIcon"),ce(p.src,m=e[9][1])||fe(p,"src",m),fe(p,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe(C,"class","displayCardIcon"),ce(C.src,$=e[9][2])||fe(C,"src",$),fe(C,"alt",""),fe(S,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(k,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(F,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(T,"class","displayCardIcon"),ce(T.src,L=e[9][3])||fe(T,"src",L),fe(T,"alt",""),fe(I,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(P,"class","jackpotValue"),fe(B,"class","jackpot-currency"),fe(G,"class","cardTextWrapper"),fe(_,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(i,a),de(i,s),de(s,R),de(r,l),de(l,c),de(c,D),de(l,H),de(l,d),de(d,N),de(n,O),de(n,u),de(u,h),de(h,p),de(h,g),de(g,j),de(u,f),de(f,y),de(y,U),de(f,W),de(f,b),de(b,z),ue(e,Y,t),ue(e,v,t),de(v,w),de(w,x),de(x,C),de(x,S),de(S,V),de(w,F),de(F,k),de(k,Z),de(F,J),de(F,M),de(M,K),de(v,X),de(v,_),de(_,E),de(E,T),de(E,I),de(I,q),de(_,G),de(G,P),de(P,Q),de(G,ee),de(G,B),de(B,te)},p(e,t){512&t[0]&&!ce(a.src,o=e[9][0])&&fe(a,"src",o),256&t[0]&&A!==(A=e[8][0]+"")&&ye(R,A),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(D,ne),2&t[0]&&ye(N,e[1]),512&t[0]&&!ce(p.src,m=e[9][1])&&fe(p,"src",m),256&t[0]&&re!==(re=e[8][1]+"")&&ye(j,re),128&t[0]&&ie!==(ie=e[7][1]+"")&&ye(U,ie),2&t[0]&&ye(z,e[1]),512&t[0]&&!ce(C.src,$=e[9][2])&&fe(C,"src",$),256&t[0]&&ae!==(ae=e[8][2]+"")&&ye(V,ae),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(K,e[1]),512&t[0]&&!ce(T.src,L=e[9][3])&&fe(T,"src",L),256&t[0]&&se!==(se=e[8][3]+"")&&ye(q,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&he(n),e&&he(Y),e&&he(v)}}}function oo(t){let i,a=Array(4),o=[];for(let e=0;e<a.length;e+=1)o[e]=so(to(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(898&n[0]){let e;for(a=Array(4),e=0;e<a.length;e+=1){var r=to(t,a,e);o[e]?o[e].p(r,n):(o[e]=so(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function so(e){let n,r,i,a,o,s,l,c,d,u,h,p,m=e[8][e[49]]+"",g=(e[7][e[49]]??"")+"";return{c(){n=pe("div"),r=pe("div"),i=pe("img"),o=pe("span"),s=me(m),l=pe("span"),c=pe("span"),d=me(g),u=ge(),h=pe("span"),p=me(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,a=e[9][e[49]])||fe(i,"src",a),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(h,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,h),de(h,p)},p(e,t){512&t[0]&&!ce(i.src,a=e[9][e[49]])&&fe(i,"src",a),256&t[0]&&m!==(m=e[8][e[49]]+"")&&ye(s,m),128&t[0]&&g!==(g=(e[7][e[49]]??"")+"")&&ye(d,g),2&t[0]&&ye(p,e[1])},d(e){e&&he(n)}}}function lo(e){let n;function r(e){return e[13]?io:e[3]?ro:no}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function co(n,e,r){let t;vt(n,Kr,e=>r(14,t=e));let i,a,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:h=""}=e,{backgroundsrc:p=""}=e,{currency:m=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{endpoint:w=""}=e,{gameid:x=""}=e,A=window.navigator.userAgent,C=!1,$=!1,S="",F=[],k=[],M=[],_=[],E=[],T="",L="",I=!1,G=!0,P=!1;Object.keys(eo).forEach(e=>{Tr(e,eo[e])});const B=["typeSpread","typeLeft"],R=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href)};return n.$$set=e=>{"visualstructure"in e&&r(0,o=e.visualstructure),"title"in e&&r(16,s=e.title),"caticon0"in e&&r(17,l=e.caticon0),"caticon1"in e&&r(18,c=e.caticon1),"caticon2"in e&&r(19,d=e.caticon2),"caticon3"in e&&r(20,u=e.caticon3),"iconlabels"in e&&r(21,h=e.iconlabels),"backgroundsrc"in e&&r(22,p=e.backgroundsrc),"currency"in e&&r(1,m=e.currency),"backgroundsrcmobile"in e&&r(23,g=e.backgroundsrcmobile),"titlelogopath"in e&&r(24,f=e.titlelogopath),"lang"in e&&r(25,y=e.lang),"clientstyling"in e&&r(26,b=e.clientstyling),"clientstylingurl"in e&&r(27,v=e.clientstylingurl),"endpoint"in e&&r(28,w=e.endpoint),"gameid"in e&&r(29,x=e.gameid)},n.$$.update=()=>{if(268435456&n.$$.dirty[0]&&w&&(t=new URL(w+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{r(30,k=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&i&&b){let e=document.createElement("style");e.innerHTML=b,i.appendChild(e)}if(134217732&n.$$.dirty[0]&&i&&v){r(12,I=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,i&&(setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{r(12,I=!1)},500))})}if(1375731714&n.$$.dirty[0]&&w&&y&&m&&0<k.length&&(w&&y&&m)){let e=new URL(w+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",m),fetch(e.href).then(e=>e.json().then(e=>{r(3,G=!1),a=e,k.includes(x)&&((e=null==(e=null==(e=a)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),r(6,S=a.items[0].vendorLogo))}).catch(e=>{r(13,P=!0),r(3,G=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&m&&y&&!G&&(r(4,C=yt(A)&&1<window.innerHeight/window.innerWidth),r(5,$=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==F.length&&r(7,M=F.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),r(8,_=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),B.includes(o.trim())?r(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${B[0]}"`),r(0,o=B[0])),r(10,T=g&&C&&!$?g:p),r(11,L=f),r(9,E=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,ft.set(e))},[o,m,i,G,C,$,S,M,_,E,T,L,I,P,t,R,s,l,c,d,u,h,p,g,f,y,b,v,w,x,k,()=>R(),function(e){gt[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends i{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:Max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, auto, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},co,lo,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),f()}});const uo={en:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},zh:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},de:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},it:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},fr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},es:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},el:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},tr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ru:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ro:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hu:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pt:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}}};function ho(e,t,n){const r=e.slice();return r[37]=t[n],r}function po(e,t,n){const r=e.slice();return r[40]=t[n],r}function mo(n){let i,r,a,o,s,l,c,d,u,h,p,m,g,e,f,y,b=n[7]("Translations.game")+"",v=("vendor"==n[0]?n[7]("Translations.providers"):n[7]("Translations.collections"))+"",w=n[2],x=[];for(let e=0;e<w.length;e+=1)x[e]=vo(ho(n,w,e));return{c(){i=pe("div"),r=pe("div"),a=pe("p"),o=me(b),s=ge(),l=me(v),c=ge(),d=pe("div"),(u=pe("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',h=ge(),(p=pe("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',m=ge(),g=pe("div");for(let e=0;e<x.length;e+=1)x[e].c();fe(a,"class","Title"),fe(d,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(g,"class","CategoriesSlider"),fe(i,"class",e="CasinoCollectionsProviders "+(n[6]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(a,s),de(a,l),de(r,c),de(r,d),de(d,u),de(d,h),de(d,p),de(i,m),de(i,g);for(let e=0;e<x.length;e+=1)x[e].m(g,null);n[21](g),f||(y=[K(u,"click",n[17]),K(p,"click",n[18])],f=!0)},p(t,n){if(128&n[0]&&b!==(b=t[7]("Translations.game")+"")&&ye(o,b),129&n[0]&&v!==(v=("vendor"==t[0]?t[7]("Translations.providers"):t[7]("Translations.collections"))+"")&&ye(l,v),3078&n[0]){let e;for(w=t[2],e=0;e<w.length;e+=1){var r=ho(t,w,e);x[e]?x[e].p(r,n):(x[e]=vo(r),x[e].c(),x[e].m(g,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}64&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[6]?"Mobile":""))&&fe(i,"class",e)},d(e){e&&he(i),G(x,e),n[21](null),f=!1,J(y)}}}function go(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function fo(e){let n,r,i=e[37].name+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){4&t[0]&&i!==(i=e[37].name+"")&&ye(r,i)},d(e){e&&he(n)}}}function yo(e){let n,r,i;return{c(){fe(n=pe("img"),"class","CategorySlideLogo"),ce(n.src,r=e[37].icon)||fe(n,"src",r),fe(n,"alt",i=e[37].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&!ce(n.src,r=e[37].icon)&&fe(n,"src",r),4&t[0]&&i!==(i=e[37].name+" icon")&&fe(n,"alt",i)},d(e){e&&he(n)}}}function bo(n){let r,i,a,o,s;function l(){return n[19](n[40])}return{c(){fe(r=pe("img"),"class","CategorySlideGameImage"),ce(r.src,i=n[40].defaultThumbnail)||fe(r,"src",i),fe(r,"alt",a=n[40].name)},m(e,t){var n;ue(e,r,t),o||(s=K(r,"click",(n=l,function(e){return e.stopPropagation(),n.call(this,e)})),o=!0)},p(e,t){n=e,4&t[0]&&!ce(r.src,i=n[40].defaultThumbnail)&&fe(r,"src",i),4&t[0]&&a!==(a=n[40].name)&&fe(r,"alt",a)},d(e){e&&he(r),o=!1,s()}}}function vo(n){let r,i,a,o,s,l,c,d,u;function h(e){return"logo"==e[1]?yo:"title"==e[1]?fo:void 0}let p=h(n),m=p&&p(n),g=n[37].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=bo(po(n,g,e));function y(){return n[20](n[37])}return{c(){r=pe("div"),i=pe("div"),a=pe("div"),m&&m.c(),o=ge(),s=pe("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(a,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(i,"class",l="CategorySlide "+("vendor"==n[37]?.flag[0]?"CategorySlideNoHighlight":"")),P(i,"background-image","url("+n[37]?.background+")"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,r,t),de(r,i),de(i,a),m&&m.m(a,null),de(i,o),de(i,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);de(r,c),d||(u=K(i,"click",y),d=!0)},p(e,t){if(p===(p=h(n=e))&&m?m.p(n,t):(m&&m.d(1),(m=p&&p(n))&&(m.c(),m.m(a,null))),1028&t[0]){let e;for(g=n[37].games,e=0;e<g.length;e+=1){const i=po(n,g,e);f[e]?f[e].p(i,t):(f[e]=bo(i),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}4&t[0]&&l!==(l="CategorySlide "+("vendor"==n[37]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(i,"class",l),4&t[0]&&P(i,"background-image","url("+n[37]?.background+")")},d(e){e&&he(r),m&&m.d(),G(f,e),d=!1,u()}}}function wo(n){let r;function i(e){return e[4]?go:mo}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){ue(e,r,t),o.m(r,null),n[22](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[22](null)}}}function xo(n,e,r){let t;vt(n,Kr,e=>r(7,t=e));let i,a,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:h=""}=e,{titletype:p=""}=e,{clientstyling:m=""}=e,{clientstylingurl:g=""}=e,f=[],y=!0,b=0,v=0,w=0,x=window.navigator.userAgent;Object.keys(uo).forEach(e=>{Tr(e,uo[e])});const C=n=>{(o=[...i.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>a=e.getBoundingClientRect().width),w=Math.round(i.offsetWidth/a)},$=()=>{C(b)},S=()=>{w>=v||(0===b?b=v-w:b-w<-1?b=0:b--,$())},F=()=>{w>=v||(b===v-w?b=0:v-w<b+1?b=v-w:b++,$())},k=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},M=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return wt(()=>{r(6,l=yt(x))}),n.$$set=e=>{"endpoint"in e&&r(12,c=e.endpoint),"datasource"in e&&r(13,d=e.datasource),"lang"in e&&r(14,u=e.lang),"type"in e&&r(0,h=e.type),"titletype"in e&&r(1,p=e.titletype),"clientstyling"in e&&r(15,m=e.clientstyling),"clientstylingurl"in e&&r(16,g=e.clientstylingurl)},n.$$.update=()=>{if(28672&n.$$.dirty[0]&&c&&d&&u){const t=new URL(c+"/v2/casino/groups/"+d);t.searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(4,y=!1);let t=e.items.filter(e=>e.flags==h);r(2,f=t.map(e=>({id:e.id,name:e.name,icon:e.icon,games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}))),v=f.length})}if(12&n.$$.dirty[0]&&f&&i&&C(),16384&n.$$.dirty[0]&&u&&(e=u,ft.set(e)),32768&n.$$.dirty[0]&&m){let e=document.createElement("style");e.innerHTML=m,s.appendChild(e)}if(65536&n.$$.dirty[0]&&g){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,s&&(setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500))})}var e},[h,p,f,i,y,s,l,t,S,F,k,M,c,d,u,m,g,()=>S(),()=>F(),e=>k(e.gameId,e.launchUrl,e.name),e=>M(e.id),function(e){gt[e?"unshift":"push"](()=>{i=e,r(3,i)})},function(e){gt[e?"unshift":"push"](()=>{s=e,r(5,s)})}]}function Co(e,t,n){const r=e.slice();return r[164]=t[n],r[166]=n,r}function $o(n){let r,i,a,o,s,l="PC"!==bt(n[73])&&"false"===n[10]&&n[69],c=l&&Fo();function d(e){return"false"===e[10]?Mo:ko}let u=d(n),h=u(n),p="true"==n[15]&&0==n[57]&&Oo(n);function m(e){return e[47]?Vo:e[55]?Yo:e[58]?zo:e[53]?Wo:e[59]?Uo:e[54]?void 0:jo}let g=m(n),f=g&&g(n),y=n[49]&&"true"==n[13]&&is(n);return{c(){r=pe("section"),c&&c.c(),i=ge(),h.c(),a=ge(),p&&p.c(),o=ge(),f&&f.c(),s=ge(),y&&y.c(),fe(r,"class","CategoriesLobby"),fe(r,"part","CategoriesLobby"),P(r,"max-width",n[12]+"px")},m(e,t){ue(e,r,t),c&&c.m(r,null),de(r,i),h.m(r,null),de(r,a),p&&p.m(r,null),de(r,o),f&&f.m(r,null),de(r,s),y&&y.m(r,null),n[105](r)},p(e,t){(l=1024&t[0]|128&t[2]?"PC"!==bt(e[73])&&"false"===e[10]&&e[69]:l)?c||((c=Fo()).c(),c.m(r,i)):c&&(c.d(1),c=null),u===(u=d(e))&&h?h.p(e,t):(h.d(1),(h=u(e))&&(h.c(),h.m(r,a))),"true"==e[15]&&0==e[57]?p?p.p(e,t):((p=Oo(e)).c(),p.m(r,o)):p&&(p.d(1),p=null),g===(g=m(e))&&f?f.p(e,t):(f&&f.d(1),(f=g&&g(e))&&(f.c(),f.m(r,s))),e[49]&&"true"==e[13]?y?y.p(e,t):((y=is(e)).c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&P(r,"max-width",e[12]+"px")},d(e){e&&he(r),c&&c.d(),h.d(),p&&p.d(),f&&f.d(),y&&y.d(),n[105](null)}}}function So(e){let n,r,i=e[72]("casinoPage.500")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[2]&&i!==(i=e[72]("casinoPage.500")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Fo(){let n;return{c(){fe(n=pe("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function ko(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w=n[72]("casinoPage.searchGames")+"",x="PC"===bt(n[73])&&n[45].length||"PC"!==bt(n[73]),C=!n[69]&&_o(),$=x&&Eo(n),S=!n[53]&&!n[58]&&!n[69]&&!n[59]&&!n[61]&&!n[54]&&!n[57]&&!n[55]&&!n[56]&&To(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),d=pe("input"),h=ge(),$&&$.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===bt(n[73])?n[72]("casinoPage.search"):n[72]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!os?"CategoriesHeaderSearchActive":"")+(n[63]&&n[69]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!os?"CategoriesHeaderSearchActive":"")+(n[63]&&n[69]?"SearchStickTop":"")),P(r,"top",n[63]&&n[69]?ss+"px":"")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),de(i,l),C&&C.m(l,null),de(l,c),de(l,d),n[98](d),A(d,n[45]),de(l,h),$&&$.m(l,null),de(r,g),S&&S.m(r,null),n[103](r),b||(v=[K(d,"focus",n[75]),K(d,"blur",n[76]),K(d,"input",n[99]),K(d,"focus",n[77])],b=!0)},p(e,t){1024&t[2]&&w!==(w=e[72]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?C&&(C.d(1),C=null):C||((C=_o()).c(),C.m(l,c)),1024&t[2]&&u!==(u="PC"===bt(e[73])?e[72]("casinoPage.search"):e[72]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),16384&t[1]&&A(d,e[45]),(x=16384&t[1]?"PC"===bt(e[73])&&e[45].length||"PC"!==bt(e[73]):x)?$?$.p(e,t):(($=Eo(e)).c(),$.m(l,null)):$&&($.d(1),$=null),1514143744&t[1]&&p!==(p="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(i,"class",p),1514143744&t[1]&&m!==(m="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(i,"part",m),e[53]||e[58]||e[69]||e[59]||e[61]||e[54]||e[57]||e[55]||e[56]?S&&(S.d(1),S=null):S?S.p(e,t):((S=To(e)).c(),S.m(r,null)),16777216&t[1]|130&t[2]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!os?"CategoriesHeaderSearchActive":"")+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),16777216&t[1]|130&t[2]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!os?"CategoriesHeaderSearchActive":"")+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y),130&t[2]&&P(r,"top",e[63]&&e[69]?ss+"px":"")},d(e){e&&he(r),C&&C.d(),n[98](null),$&&$.d(),S&&S.d(),n[103](null),b=!1,J(v)}}}function Mo(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w=n[72]("casinoPage.searchGames")+"",x="PC"===bt(n[73])&&n[45].length||"PC"!==bt(n[73]),C=!n[69]&&Bo(),$=x&&Ao(n),S=!n[53]&&!n[58]&&!n[69]&&!n[59]&&!n[61]&&!n[54]&&!n[55]&&!n[57]&&!n[56]&&Ro(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),d=pe("input"),h=ge(),$&&$.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===bt(n[73])?n[72]("casinoPage.search"):n[72]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!os?"CategoriesHeaderSearchActive":"")+" "+(n[63]&&n[69]?"SearchStickTop":"")),P(r,"top",n[63]&&n[69]?ss+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!os?"CategoriesHeaderSearchActive":"")+" "+(n[63]&&n[69]?"SearchStickTop":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),de(i,l),C&&C.m(l,null),de(l,c),de(l,d),n[92](d),A(d,n[45]),de(l,h),$&&$.m(l,null),de(r,g),S&&S.m(r,null),n[97](r),b||(v=[K(d,"focus",n[75]),K(d,"blur",n[76]),K(d,"input",n[93]),K(d,"focus",n[77])],b=!0)},p(e,t){1024&t[2]&&w!==(w=e[72]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?C&&(C.d(1),C=null):C||((C=Bo()).c(),C.m(l,c)),1024&t[2]&&u!==(u="PC"===bt(e[73])?e[72]("casinoPage.search"):e[72]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),16384&t[1]&&A(d,e[45]),(x=16384&t[1]?"PC"===bt(e[73])&&e[45].length||"PC"!==bt(e[73]):x)?$?$.p(e,t):(($=Ao(e)).c(),$.m(l,null)):$&&($.d(1),$=null),1514143744&t[1]&&p!==(p="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(i,"class",p),1514143744&t[1]&&m!==(m="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(i,"part",m),e[53]||e[58]||e[69]||e[59]||e[61]||e[54]||e[55]||e[57]||e[56]?S&&(S.d(1),S=null):S?S.p(e,t):((S=Ro(e)).c(),S.m(r,null)),16777216&t[1]|130&t[2]&&f!==(f="CategoriesHeaderSection "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!os?"CategoriesHeaderSearchActive":"")+" "+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),130&t[2]&&P(r,"top",e[63]&&e[69]?ss+"px":""),16777216&t[1]|130&t[2]&&y!==(y="CategoriesHeaderSection "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!os?"CategoriesHeaderSearchActive":"")+" "+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),C&&C.d(),n[92](null),$&&$.d(),S&&S.d(),n[97](null),b=!1,J(v)}}}function _o(){let n;return{c(){(n=pe("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchWrapper")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Eo(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,i),a||(o=K(r,"click",n[100]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function To(e){let n,r,i=e[70]&&Lo(e),a=(!e[55]||!e[54])&&Io(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),a&&a.m(n,null)},p(e,t){e[70]?i?i.p(e,t):((i=Lo(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[55]&&e[54]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Io(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function Lo(n){let r,i,a,o,s,l,c,d,u,h=n[72]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(h),o=ge(),(s=pe("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),d||(u=K(r,"click",n[101]),d=!0)},p(e,t){1024&t[2]&&h!==(h=e[72]("casinoPage.clear")+"")&&ye(a,h),256&t[2]&&l!==(l="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"class",l),256&t[2]&&c!==(c="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"part",c)},d(e){e&&he(r),d=!1,u()}}}function Io(e){let n,r=!e[59]&&Go(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[59]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Go(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function Go(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f=n[72]("casinoPage.filters")+"",y=0<n[70]&&Po(n);return{c(){r=pe("div"),i=pe("div"),a=me(f),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),d=k("style"),u=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),y&&y.c(),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,p),y&&y.m(s,null),m||(g=K(r,"click",n[102]),m=!0)},p(e,t){1024&t[2]&&f!==(f=e[72]("casinoPage.filters")+"")&&ye(a,f),0<e[70]?y?y.p(e,t):((y=Po(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),m=!1,g()}}}function Po(e){let n,r,i;return{c(){n=pe("div"),r=pe("span"),i=me(e[70]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){ue(e,n,t),de(n,r),de(r,i)},p(e,t){256&t[2]&&ye(i,e[70])},d(e){e&&he(n)}}}function Bo(){let n;return{c(){(n=pe("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchIcon")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Ao(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,i),a||(o=K(r,"click",n[94]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function Ro(e){let n,r,i=e[70]&&Do(e),a=(!e[55]||!e[54])&&Ho(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),a&&a.m(n,null)},p(e,t){e[70]?i?i.p(e,t):((i=Do(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[55]&&e[54]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Ho(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function Do(n){let r,i,a,o,s,l,c,d=n[72]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(d),o=ge(),(s=pe("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),l||(c=K(r,"click",n[95]),l=!0)},p(e,t){1024&t[2]&&d!==(d=e[72]("casinoPage.clear")+"")&&ye(a,d)},d(e){e&&he(r),l=!1,c()}}}function Ho(e){let n,r=(!e[59]||!e[61])&&No(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[59]&&e[61]?r&&(r.d(1),r=null):r?r.p(e,t):((r=No(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function No(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v=n[72]("casinoPage.filters")+"";return{c(){r=pe("div"),i=pe("div"),a=me(v),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),d=k("style"),u=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),m=pe("div"),g=pe("span"),f=me(n[70]),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(g,"class","NumberOfFilters"),fe(g,"part","NumberOfFilters"),fe(m,"class","NumberOfFiltersContainer"),fe(m,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,p),de(s,m),de(m,g),de(g,f),y||(b=K(r,"click",n[96]),y=!0)},p(e,t){1024&t[2]&&v!==(v=e[72]("casinoPage.filters")+"")&&ye(a,v),256&t[2]&&ye(f,e[70])},d(e){e&&he(r),y=!1,b()}}}function Oo(e){let n;return{c(){w(n=pe("casino-random-game"),"datasource",e[1]),w(n,"endpoint",e[0]),w(n,"lang",e[3]),w(n,"gameevent",e[46]),w(n,"randombuttonicon",e[43])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&w(n,"datasource",e[1]),1&t[0]&&w(n,"endpoint",e[0]),8&t[0]&&w(n,"lang",e[3]),32768&t[1]&&w(n,"gameevent",e[46]),4096&t[1]&&w(n,"randombuttonicon",e[43])},d(e){e&&he(n)}}}function jo(e){let n;return{c(){w(n=pe("casino-games-category-section"),"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"favorites",e[11]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"session",e[4]),w(n,"categoryid",e[66]),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"enablecasinowinners",e[17]),w(n,"integratedgameframedesktop",e[22]),w(n,"integratedgameframemobile",e[23])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),2048&t[0]&&w(n,"favorites",e[11]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),16&t[0]&&w(n,"session",e[4]),16&t[2]&&w(n,"categoryid",e[66]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),131072&t[0]&&w(n,"enablecasinowinners",e[17]),4194304&t[0]&&w(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function Uo(e){let n;function r(e){return e[60]?Ko:e[61]?Jo:Zo}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Wo(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"favorites",n[11]),w(r,"categoryid","FAVORITES"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[17]),w(r,"integratedgameframedesktop",n[22]),w(r,"integratedgameframemobile",n[23])},m(e,t){ue(e,r,t),a||(o=M(i=n[74].call(null,r,(n[0],n[50],n[51],n[50]))),a=!0)},p(e,t){16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),131072&t[0]&&w(r,"enablecasinowinners",e[17]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),i&&F(i.update)&&1&t[0]|1572864&t[1]&&i.update.call(null,(e[0],e[50],e[51],e[50]))},d(e){e&&he(r),a=!1,o()}}}function zo(t){let i,a=t[65],o=[];for(let e=0;e<a.length;e+=1)o[e]=rs(Co(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(2147437567&n[0]|4095&n[1]|8&n[2]){let e;for(a=t[65],e=0;e<a.length;e+=1){var r=Co(t,a,e);o[e]?o[e].p(r,n):(o[e]=rs(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function Yo(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"categoryid","Search"),w(r,"favorites",n[11]),w(r,"categoryindex","0"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"enablecasinowinners",n[17]),w(r,"enableautoscroll",n[19]),w(r,"tabsorder",n[18]),w(r,"isrecentavailable",n[21]),w(r,"istopavailable",n[20]),w(r,"integratedgameframedesktop",n[22]),w(r,"integratedgameframemobile",n[23])},m(e,t){ue(e,r,t),a||(o=M(i=n[82].call(null,r,n[64])),a=!0)},p(e,t){1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),131072&t[0]&&w(r,"enablecasinowinners",e[17]),524288&t[0]&&w(r,"enableautoscroll",e[19]),262144&t[0]&&w(r,"tabsorder",e[18]),2097152&t[0]&&w(r,"isrecentavailable",e[21]),1048576&t[0]&&w(r,"istopavailable",e[20]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),i&&F(i.update)&&4&t[2]&&i.update.call(null,e[64])},d(e){e&&he(r),a=!1,o()}}}function Vo(e){let n,r,i=e[72]("casinoPage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[2]&&i!==(i=e[72]("casinoPage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Zo(e){let n;return{c(){w(n=pe("casino-games-category-section"),"session",e[4]),w(n,"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"favorites",e[11]),w(n,"categoryid","MOSTPLAYED"),w(n,"categoryindex","1"),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"enablecasinowinners",e[17]),w(n,"integratedgameframedesktop",e[22]),w(n,"integratedgameframemobile",e[23])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&w(n,"session",e[4]),32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),2048&t[0]&&w(n,"favorites",e[11]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),131072&t[0]&&w(n,"enablecasinowinners",e[17]),4194304&t[0]&&w(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function Jo(e){let n,r=e[62]&&Xo(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[62]?r?r.p(e,t):((r=Xo(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Ko(e){let n,r,i=e[72]("casinoPage.noGamesPlayed")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[2]&&i!==(i=e[72]("casinoPage.noGamesPlayed")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Xo(e){let n,r,i=e[72]("casinoPage.noGamesPlayed")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[2]&&i!==(i=e[72]("casinoPage.noGamesPlayed")+"")&&ye(r,i)},d(e){e&&he(n)}}}function qo(e){let n,r;return{c(){n=pe("div"),w(r=pe("casino-winners"),"session",e[4]),w(r,"periodrecent",e[24]),w(r,"periodtop",e[25]),w(r,"numberusersrecent",e[26]),w(r,"numberuserstop",e[27]),w(r,"amountlimit",e[28]),w(r,"isrecentavailable",e[21]),w(r,"istopavailable",e[20]),w(r,"defaultcurrency",e[29]),w(r,"enableautoscroll",e[19]),w(r,"tabsorder",e[18]),w(r,"lang",e[3]),w(r,"clientstyling",e[6]),w(r,"clientstylingurl",e[7]),w(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&w(r,"session",e[4]),16777216&t[0]&&w(r,"periodrecent",e[24]),33554432&t[0]&&w(r,"periodtop",e[25]),67108864&t[0]&&w(r,"numberusersrecent",e[26]),134217728&t[0]&&w(r,"numberuserstop",e[27]),268435456&t[0]&&w(r,"amountlimit",e[28]),2097152&t[0]&&w(r,"isrecentavailable",e[21]),1048576&t[0]&&w(r,"istopavailable",e[20]),536870912&t[0]&&w(r,"defaultcurrency",e[29]),524288&t[0]&&w(r,"enableautoscroll",e[19]),262144&t[0]&&w(r,"tabsorder",e[18]),8&t[0]&&w(r,"lang",e[3]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),1&t[0]&&w(r,"endpoint",e[0])},d(e){e&&he(n)}}}function Qo(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),w(i=pe("jackpot-banner"),"title","Jackpot Cards"),w(i,"currency",a=e[2]||"RON"),w(i,"gameid","998"),w(i,"endpoint",e[0]),w(i,"lang",e[3]),w(i,"backgroundsrc","/assets/background0.jpg"),w(i,"backgroundsrcmobile","/assets/background0.jpg"),w(i,"titlelogopath","/assets/jackpots_logo.svg"),w(i,"caticon0","/assets/icon0.svg"),w(i,"caticon1","/assets/icon1.svg"),w(i,"caticon2","/assets/icon2.svg"),w(i,"caticon3","/assets/icon3.svg"),w(i,"iconlabels",e[38]),w(i,"visualstructure","typeSpread")},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&w(i,"currency",a),1&t[0]&&w(i,"endpoint",e[0]),8&t[0]&&w(i,"lang",e[3]),128&t[1]&&w(i,"iconlabels",e[38])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function es(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),w(i=pe("jackpot-banner"),"title","Egypt Quest"),w(i,"currency",a=e[2]||"RON"),w(i,"gameid","999"),w(i,"endpoint",e[0]),w(i,"lang",e[3]),w(i,"backgroundsrc",e[35]),w(i,"backgroundsrcmobile",e[36]),w(i,"titlelogopath",e[37]),w(i,"caticon0",e[31]),w(i,"caticon1",e[32]),w(i,"caticon2",e[33]),w(i,"caticon3",e[34]),w(i,"iconlabels",e[38]),w(i,"visualstructure",e[39])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&w(i,"currency",a),1&t[0]&&w(i,"endpoint",e[0]),8&t[0]&&w(i,"lang",e[3]),16&t[1]&&w(i,"backgroundsrc",e[35]),32&t[1]&&w(i,"backgroundsrcmobile",e[36]),64&t[1]&&w(i,"titlelogopath",e[37]),1&t[1]&&w(i,"caticon0",e[31]),2&t[1]&&w(i,"caticon1",e[32]),4&t[1]&&w(i,"caticon2",e[33]),8&t[1]&&w(i,"caticon3",e[34]),128&t[1]&&w(i,"iconlabels",e[38]),256&t[1]&&w(i,"visualstructure",e[39])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function ts(e){let n,r;return{c(){w(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"type","vendor"),w(n,"titletype","logo"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&w(n,"endpoint",r),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function ns(e){let n,r;return{c(){w(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"type",e[41]),w(n,"titletype",e[42]),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&w(n,"endpoint",r),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),1024&t[1]&&w(n,"type",e[41]),2048&t[1]&&w(n,"titletype",e[42]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function rs(n){let r,i,a,o,s,e,l,c,d,u="true"===n[17]&&1===n[166]&&qo(n);function h(e){return 4===e[166]&&"true"==e[30]?es:6===e[166]&&"true"==e[30]?Qo:void 0}let p=h(n),m=p&&p(n);function g(e){return 7==e[166]&&"true"==e[40]?ns:e[166]==e[65].length-1&&"true"==e[40]?ts:void 0}let f=g(n),y=f&&f(n);return{c(){u&&u.c(),r=ge(),m&&m.c(),i=ge(),y&&y.c(),a=ge(),w(o=pe("casino-games-category-section"),"session",n[4]),w(o,"userid",n[5]),w(o,"endpoint",n[0]),w(o,"datasource",n[1]),w(o,"lang",n[3]),w(o,"currency",n[2]),w(o,"categoryid",s=n[164]),w(o,"categoryindex",e=n[166]),w(o,"categorygames","9"),w(o,"favorites",n[11]),w(o,"class","CategoryContainer"),P(o,"background-color",n[166]%2!=0?n[8]:"transparent"),w(o,"clientstyling",n[6]),w(o,"clientstylingurl",n[7]),w(o,"livecasino",n[14]),w(o,"visiblegames",n[9]),w(o,"gamepagemodalurl",n[16]),w(o,"enablecasinowinners",n[17]),w(o,"integratedgameframedesktop",n[22]),w(o,"integratedgameframemobile",n[23])},m(e,t){u&&u.m(e,t),ue(e,r,t),m&&m.m(e,t),ue(e,i,t),y&&y.m(e,t),ue(e,a,t),ue(e,o,t),c||(d=M(l=n[81].call(null,o,n[164])),c=!0)},p(e,t){"true"===(n=e)[17]&&1===n[166]?u?u.p(n,t):((u=qo(n)).c(),u.m(r.parentNode,r)):u&&(u.d(1),u=null),p===(p=h(n))&&m?m.p(n,t):(m&&m.d(1),(m=p&&p(n))&&(m.c(),m.m(i.parentNode,i))),f===(f=g(n))&&y?y.p(n,t):(y&&y.d(1),(y=f&&f(n))&&(y.c(),y.m(a.parentNode,a))),16&t[0]&&w(o,"session",n[4]),32&t[0]&&w(o,"userid",n[5]),1&t[0]&&w(o,"endpoint",n[0]),2&t[0]&&w(o,"datasource",n[1]),8&t[0]&&w(o,"lang",n[3]),4&t[0]&&w(o,"currency",n[2]),8&t[2]&&s!==(s=n[164])&&w(o,"categoryid",s),2048&t[0]&&w(o,"favorites",n[11]),256&t[0]&&P(o,"background-color",n[166]%2!=0?n[8]:"transparent"),64&t[0]&&w(o,"clientstyling",n[6]),128&t[0]&&w(o,"clientstylingurl",n[7]),16384&t[0]&&w(o,"livecasino",n[14]),512&t[0]&&w(o,"visiblegames",n[9]),65536&t[0]&&w(o,"gamepagemodalurl",n[16]),131072&t[0]&&w(o,"enablecasinowinners",n[17]),4194304&t[0]&&w(o,"integratedgameframedesktop",n[22]),8388608&t[0]&&w(o,"integratedgameframemobile",n[23]),l&&F(l.update)&&8&t[2]&&l.update.call(null,n[164])},d(e){u&&u.d(e),e&&he(r),m&&m.d(e),e&&he(i),y&&y.d(e),e&&he(a),e&&he(o),c=!1,d()}}}function is(n){let r,i,a,e,t,o,s,l=n[72]("casinoPage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==bt(n[73])?"PanicButtonMobile ":"")),fe(i,"part",t="PanicButton "+("PC"!==bt(n[73])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[52]),fe(r,"class",o="PanicSection "+("PC"!==bt(n[73])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==bt(n[73])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[104](i)},p(e,t){1024&t[2]&&l!==(l=e[72]("casinoPage.breakButton")+"")&&ye(a,l),2097152&t[1]&&B(i,"PanicButtonAnimation",e[52])},d(e){e&&he(r),n[104](null)}}}function as(e){let n;function r(e){return e[48]?So:$o}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{max-height:100px}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:70px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:22%;height:55px;object-fit:cover}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},xo,wo,t,{endpoint:12,datasource:13,lang:14,type:0,titletype:1,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),f()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});let os=!1;const ss=0;function ls(e,t,c){let i;vt(e,Kr,e=>c(72,i=e));let R,{endpoint:d=""}=t,{datasource:a=""}=t,{currency:D=""}=t,{lang:o=""}=t,{session:s=""}=t,{userid:n=""}=t,{clientstyling:l=""}=t,{clientstylingurl:u=""}=t,{categorybackground:H=""}=t,N=t["visiblegames"],{alternativesearch:O="false"}=t,{favorites:h=""}=t,{mostplayed:j=""}=t,{lastplayed:U=""}=t,{containermaxwidth:W="1300"}=t,{lobbyid:p="casinodefault"}=t,{haspanicbutton:z="false"}=t,{mostplayedrounds:Y=""}=t,{lastplayedperiod:V=""}=t,{filteredcategories:Z=""}=t,{activecategory:J=""}=t,{livecasino:K="false"}=t,{playrandomgame:X="false"}=t,{gamepagemodalurl:q="false"}=t,{enablecasinowinners:Q=""}=t,{tabsorder:ee=""}=t,{enableautoscroll:te=""}=t,{istopavailable:ne=""}=t,{isrecentavailable:re=""}=t,{integratedgameframedesktop:ie="false"}=t,{integratedgameframemobile:ae="false"}=t,{periodrecent:oe=""}=t,{periodtop:se=""}=t,{numberusersrecent:le=""}=t,{numberuserstop:ce=""}=t,{amountlimit:de=""}=t,{defaultcurrency:ue=""}=t,{enablejackpotbanner:he=""}=t,{caticon0:pe=""}=t,{caticon1:me=""}=t,{caticon2:ge=""}=t,{caticon3:fe=""}=t,{backgroundsrc:ye=""}=t,{backgroundsrcmobile:be=""}=t,{titlelogopath:ve=""}=t,{iconlabels:we=""}=t,{visualstructure:xe=""}=t,{enablecollections:Ce=""}=t,{type:$e=""}=t,{titletype:Se=""}=t,{randombuttonicon:Fe=""}=t,m=window.navigator.userAgent;R=yt(m)?"OpenGameFrame":"ShowGameModal";let g,f,y,ke,b,v,w,Me,_e,Ee,r,x,C,Te,$=!1,S=!1,Le=!1,F="",Ie=!1,Ge=0,k=!1,Pe=!1,Be=!0,Ae=!1,Re=!1,De=!1,He=!1,M=!0,_=!1,Ne=!1,E=!1,Oe=!1,je=!1,T=!0,Ue=[],L="",We={},ze,Ye,Ve,I=[],Ze=!1,G=[],Je=0,P="",Ke=!1;var Xe,qe;({withLocale:Xe,translations:qe}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(qe),ft.set(Xe))}),Object.keys(wi).forEach(e=>{Tr(e,wi[e])});const Qe=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(51,f=n.data.session),c(50,g=n.data.userID),g&&g.length&&f&&0<f.length&&B(d,f,g);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":o=`${d}/player/${g}/favorites`,s=f,g,l=n.data.id,n.data.triggerFactor,I.includes(l)&&(I=I.filter(e=>e!=l)),fetch(o+"/"+l,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+l},window.location.href),et(o,s)});break;case"SetFavoredGame":{var r=`${d}/player/${g}/favorites`;var i=f;g;var a=n.data.id;n.data.triggerFactor;I.includes(a)||I.push(a);let e={items:I},t={method:"POST",headers:{"X-SessionID":i,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),et(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":g&&g.length&&f&&0<f.length&&B(d,f,g);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(G=(G=rt(`searchedGamesWds_${p}`))?G.split(","):[]).indexOf(t)){let e;G.push(t),e=G.join(","),document.cookie=`searchedGamesWds_${p}=`+e}break;case"UpdateFilters":t=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),A();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),A();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:P},window.location.href),A();break;case"CategoryVendors":P=n.data.categoryid,A();break;case"GameHovered":Re=!0;break;case"GameBlur":Re=!1}var e,o,s,l};let B=(e,t,n)=>{"true"==h&&s&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),tt(r.items)),r)).then(e=>(k&&nt(),e)).catch(e=>{console.error(e)})},et=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,k&&nt(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const tt=(e=[])=>(I=[],0<e.length&&e.forEach(e=>{I.push(e.id)}),I);const nt=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},rt=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},it=()=>{if(d&&a&&o&&(c(57,He=!0),L.length<2)){let e=rt("searchedGamesWds_"+p),t=[],n=(e&&(t=e.split(",")),1!=M||Be||(c(56,De=M),c(58,M=!1)),[]),r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(d+"/casino/games/"+t[r]);e.searchParams.append("language",o),e.searchParams.append("datasource",a),e.searchParams.append("platform",bt(m)),n.push(((e,r)=>new Promise((t,n)=>{c(47,$=!0),r&&0<=Object.keys(We).indexOf(r)?(c(47,$=!1),t(We[r])):fetch(e).then(e=>e.json()).then(e=>{c(47,$=!1),We[e[0].id]=e[0],t(e[0])}).catch(e=>{c(48,S=!0),c(47,$=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{c(64,b=e),st(0,b)})}else st(0,{})}},at=()=>{c(57,He=!1),L.length<2&&!Re&&(c(55,Ae=!1),c(64,b=[]),c(54,Pe=!1),c(58,M=De),c(56,De=!1),!1===M&&window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},A=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&P&&(e[P]?c(70,Je=e[P].length):c(70,Je=0))},ot=()=>{c(91,T=!0),c(45,L=""),c(64,b=[]),c(54,Pe=!1),at()},st=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},lt=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},ct=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},dt=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},ut=()=>{Me&&(_e=Me.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>_e||130<_e?c(63,je=!0):c(63,je=!1)},ht=()=>{c(66,v=J);var i,e={data:{itemId:v}};switch(c(55,Ae=!1),c(45,L=""),ze=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(58,M=!0),c(53,k=!1),c(66,v=""),c(59,_=!1),c(61,E=!1);break;case"FAVORITES":c(58,M=!1),c(53,k=!0),c(59,_=!1),c(61,E=!1),c(66,v="");break;case"MOSTPLAYED":"true"==j&&(c(47,$=!0),(e=>{let t=new URL(`${d}/player/${g}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games");var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),Te=K?t:t.href,new Promise((t,n)=>{fetch(Te).then(e=>e.json()).then(e=>{t(e)}).catch(e=>{console.error(e),n(e)})})})({limit:100,device:bt(m),rounds:10}).then(e=>{if(c(47,$=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(d+"/casino/games/"+e.gameId);t.searchParams.append("datasource",a),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{Ye=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:Ye},window.location.href)})}else c(60,Ne=!0)}),c(66,v=""),c(58,M=!1),c(53,k=!1),c(59,_=!0));break;case"LASTPLAYED":"true"==U&&(c(47,$=!0),i={device:bt(m),period:V||"Last30Days"},new Promise((t,n)=>{let e=new URL(`${d}/player/${g}/games/last-played`);i.limit&&e.searchParams.append("limit",i.limit),i.order&&e.searchParams.append("order",i.order);var r=i.device;r?"PC"===r?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),i.period&&e.searchParams.append("period",i.period),Te=K?e:e.href,fetch(Te).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})}).then(e=>{if(c(47,$=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(d+"/casino/games/"+e.gameId);t.searchParams.append("datasource",a),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{Ve=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:Ve},window.location.href)})}else c(62,Oe=!0)}),c(66,v=""),c(58,M=!1),c(61,E=!0),c(53,k=!1),c(59,_=!1));break;default:c(58,M=!1),c(53,k=!1),c(59,_=!1),c(61,E=!1),c(66,v=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500)}},pt=e=>{Ge=0,ke=setInterval(()=>{Ge+=1,c(52,Ie=!0),3<=Ge&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(ke))},1e3)},mt=e=>{Ge<3&&c(52,Ie=!1),clearInterval(ke)};return wt(()=>(window.addEventListener("scroll",ut,!1),window.addEventListener("message",Qe,!1),()=>{window.removeEventListener("scroll",ut),window.removeEventListener("message",Qe),c(52,Ie=!1),null!=y&&y.removeEventListener("mousedown",pt),null!=y&&y.removeEventListener("touchstart",pt),null!=y&&y.removeEventListener("mouseup",mt),null!=y&&y.removeEventListener("touchend",mt)})),e.$$set=e=>{"endpoint"in e&&c(0,d=e.endpoint),"datasource"in e&&c(1,a=e.datasource),"currency"in e&&c(2,D=e.currency),"lang"in e&&c(3,o=e.lang),"session"in e&&c(4,s=e.session),"userid"in e&&c(5,n=e.userid),"clientstyling"in e&&c(6,l=e.clientstyling),"clientstylingurl"in e&&c(7,u=e.clientstylingurl),"categorybackground"in e&&c(8,H=e.categorybackground),"visiblegames"in e&&c(9,N=e.visiblegames),"alternativesearch"in e&&c(10,O=e.alternativesearch),"favorites"in e&&c(11,h=e.favorites),"mostplayed"in e&&c(83,j=e.mostplayed),"lastplayed"in e&&c(84,U=e.lastplayed),"containermaxwidth"in e&&c(12,W=e.containermaxwidth),"lobbyid"in e&&c(85,p=e.lobbyid),"haspanicbutton"in e&&c(13,z=e.haspanicbutton),"mostplayedrounds"in e&&c(86,Y=e.mostplayedrounds),"lastplayedperiod"in e&&c(87,V=e.lastplayedperiod),"filteredcategories"in e&&c(88,Z=e.filteredcategories),"activecategory"in e&&c(89,J=e.activecategory),"livecasino"in e&&c(14,K=e.livecasino),"playrandomgame"in e&&c(15,X=e.playrandomgame),"gamepagemodalurl"in e&&c(16,q=e.gamepagemodalurl),"enablecasinowinners"in e&&c(17,Q=e.enablecasinowinners),"tabsorder"in e&&c(18,ee=e.tabsorder),"enableautoscroll"in e&&c(19,te=e.enableautoscroll),"istopavailable"in e&&c(20,ne=e.istopavailable),"isrecentavailable"in e&&c(21,re=e.isrecentavailable),"integratedgameframedesktop"in e&&c(22,ie=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(23,ae=e.integratedgameframemobile),"periodrecent"in e&&c(24,oe=e.periodrecent),"periodtop"in e&&c(25,se=e.periodtop),"numberusersrecent"in e&&c(26,le=e.numberusersrecent),"numberuserstop"in e&&c(27,ce=e.numberuserstop),"amountlimit"in e&&c(28,de=e.amountlimit),"defaultcurrency"in e&&c(29,ue=e.defaultcurrency),"enablejackpotbanner"in e&&c(30,he=e.enablejackpotbanner),"caticon0"in e&&c(31,pe=e.caticon0),"caticon1"in e&&c(32,me=e.caticon1),"caticon2"in e&&c(33,ge=e.caticon2),"caticon3"in e&&c(34,fe=e.caticon3),"backgroundsrc"in e&&c(35,ye=e.backgroundsrc),"backgroundsrcmobile"in e&&c(36,be=e.backgroundsrcmobile),"titlelogopath"in e&&c(37,ve=e.titlelogopath),"iconlabels"in e&&c(38,we=e.iconlabels),"visualstructure"in e&&c(39,xe=e.visualstructure),"enablecollections"in e&&c(40,Ce=e.enablecollections),"type"in e&&c(41,$e=e.type),"titletype"in e&&c(42,Se=e.titletype),"randombuttonicon"in e&&c(43,Fe=e.randombuttonicon)},e.$$.update=()=>{if(16384&e.$$.dirty[1]&&L&&(2<=L.length?c(91,T=!0):c(91,T=!1)),11&e.$$.dirty[0]|16384&e.$$.dirty[1]|805306368&e.$$.dirty[2])if(2<=L.length){c(55,Ae=!0);let e=new URL(d+"/casino/games");e.searchParams.append("datasource",a),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",bt(m)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+L),r=e,new Promise((t,n)=>{c(47,$=!0),fetch(r).then(e=>e.json()).then(e=>{c(47,$=!1),t(e)}).catch(e=>{c(48,S=!0),c(47,$=!1),console.error(e),n(e)})}).then(e=>{c(64,b=e),dt(0,e)})}else T||it(),Be&&c(90,Be=!1);var r,i,t;if((8&e.$$.dirty[0]|134217728&e.$$.dirty[2]&&o&&J&&ht(),49&e.$$.dirty[0]&&s&&n&&d&&(c(49,Le=!0),c(51,f=s),c(50,g=n),g&&g.length&&f&&0<f.length&&B(d,f,g)),1035&e.$$.dirty[0]&&d&&a&&o&&O)&&(d||(F="Endpoint is missing! Please provide a valid endpointURL.",c(48,S=!0),c(47,$=!1),console.error(F)),a||(F="Datasource is missing! Please provide a valid datasource.",c(48,S=!0),c(47,$=!1),console.error(F)),(!o||o.length<2)&&(F="Language is missing! Please provide a valid language (alpha2code)",c(48,S=!0),c(47,$=!1),console.error(F)),!S)){c(47,$=!0),"true"==h&&B(d,f,g),t=o,ft.set(t);let e=new URL(d+"/casino/groups/"+a);e.searchParams.append("language",o),e.searchParams.append("platform",bt(m)),i=e,new Promise((t,n)=>{c(47,$=!0),fetch(i).then(e=>e.json()).then(e=>{c(47,$=!1),t(e)}).catch(e=>{c(48,S=!0),c(47,$=!1),console.error(e),n(e)})}).then(e=>{let r=Z.split(",");e&&(Ee=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,Z))for(var n of r)e.flags==n&&(t=!1);return t}),c(65,Ue=Ee.map(e=>e.id)),c(47,$=!1))}),"PC"!==bt(m)&&(x.addEventListener("focusin",e=>{c(69,Ze=!0)}),x.addEventListener("focusout",e=>{c(69,Ze=!1)})),A(),(Me=w)&&(_e=Me.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&e.$$.dirty[0]&&o&&(Ke&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500),Ke=!1),64&e.$$.dirty[0]&&l){let e=document.createElement("style");e.innerHTML=l,C.appendChild(e)}if(128&e.$$.dirty[0]&&u){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,C&&setTimeout(()=>{C.appendChild(t)},1)})}8192&e.$$.dirty[1]&&y&&(null!=y&&y.addEventListener("mousedown",pt,!1),null!=y&&y.addEventListener("touchstart",pt,!1),null!=y&&y.addEventListener("mouseup",mt,!1),null!=y&&y.addEventListener("touchend",mt,!1))},[d,a,D,o,s,n,l,u,H,N,O,h,W,z,K,X,q,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,de,ue,he,pe,me,ge,fe,ye,be,ve,we,xe,Ce,$e,Se,Fe,y,L,R,$,S,Le,g,f,Ie,k,Pe,Ae,De,He,M,_,Ne,E,Oe,je,b,Ue,v,w,x,Ze,Je,C,i,m,B,it,at,()=>{window.postMessage({type:"scroll"},window.location.href)},ot,lt,ct,(e,t)=>{P=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:N,receivedFavoriteResults:r},window.location.href)},dt,j,U,p,Y,V,Z,J,Be,T,function(e){gt[e?"unshift":"push"](()=>{x=e,c(68,x)})},function(){L=this.value,c(45,L)},()=>ot(),()=>ct(),()=>{lt()},function(e){gt[e?"unshift":"push"](()=>{w=e,c(67,w)})},function(e){gt[e?"unshift":"push"](()=>{x=e,c(68,x)})},function(){L=this.value,c(45,L)},()=>ot(),()=>ct(),()=>{lt()},function(e){gt[e?"unshift":"push"](()=>{w=e,c(67,w)})},function(e){gt[e?"unshift":"push"](()=>{y=e,c(44,y)})},function(e){gt[e?"unshift":"push"](()=>{C=e,c(71,C)})}]}function cs(e,{delay:t=0,duration:n=400,easing:r=C}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function ds(n){let r,i,a,o,s,l,c,t,d,u,h;return{c(){r=pe("div"),(i=pe("div")).innerHTML="<slot></slot>",a=ge(),o=pe("span"),(s=pe("slot")).innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(s,"name","close"),fe(o,"class",l="ModalCloseBtn "+("true"==n[1]&&n[2]?"ModalPanicCloseButton":"")),fe(o,"part","ModalCloseBtn"),fe(o,"role","button"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow"),fe(r,"id","Modal"),q(()=>n[17].call(r))},m(e,t){ue(e,r,t),de(r,i),de(r,a),de(r,o),de(o,s),n[16](r),c=m(r,n[17].bind(r)),d=!0,u||(h=K(o,"click",n[8]),u=!0)},p(e,t){n=e,(!d||6&t&&l!==(l="ModalCloseBtn "+("true"==n[1]&&n[2]?"ModalPanicCloseButton":"")))&&fe(o,"class",l)},i(e){d||(q(()=>{(t=t||ve(r,cs,{transitionDuration:n[0]},!0)).run(1)}),d=!0)},o(e){(t=t||ve(r,cs,{transitionDuration:n[0]},!1)).run(0),d=!1},d(e){e&&he(r),n[16](null),c(),e&&t&&t.end(),u=!1,h()}}}function us(n){let r,i,a=n[7]&&ds(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),a&&a.m(r,null),n[18](r),i=!0},p(e,[t]){e[7]?a?(a.p(e,t),128&t&&se(a,1)):((a=ds(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[18](null)}}}function hs(e,t,n){let r,i,a,o,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:h=""}=t,{haspanicbutton:p="false"}=t,{gamepagemodalurl:m="false"}=t,{sessioncheck:g="true"}=t,f=window.navigator.userAgent,y=!1,b=!1,v=!1;const w=e=>{var t;"ModalClosed"==e.data.type&&n(7,v=!1),"ShowGameModal"===e.data.type&&(n(7,v=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(7,v=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:r?getComputedStyle(r).width:null,modalHeight:r?getComputedStyle(r).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(b=e.data.detailsObtained)},x=e=>{var t;b&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return wt(()=>(n(2,y=yt(f)),window.addEventListener("message",w,!1),window.addEventListener("resize",x,!1),()=>{window.removeEventListener("message",w),window.removeEventListener("resize",w)})),e.$$set=e=>{"duration"in e&&n(0,s=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"clientstylingurl"in e&&n(12,u=e.clientstylingurl),"endpoint"in e&&n(13,h=e.endpoint),"haspanicbutton"in e&&n(1,p=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,m=e.gamepagemodalurl),"sessioncheck"in e&&n(15,g=e.sessioncheck)},e.$$.update=()=>{if(9728&e.$$.dirty&&l&&c&&h&&"true"==g&&qr(h,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2048&e.$$.dirty&&d){let e=document.createElement("style");e.innerHTML=d,v&&setTimeout(()=>{r.appendChild(e)})}if(4096&e.$$.dirty&&u){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},[s,p,y,r,i,void 0,void 0,v,()=>{n(7,v=!1),n(2,y=yt(f)),window.postMessage({type:"ModalClosed",gamepagemodalurl:m,mobileView:y},window.location.href)},l,c,d,u,h,m,g,function(e){gt[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){gt[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.CasinoWinners{background:transparent;width:100%;min-height:200px}.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(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-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(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-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}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ls,as,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:83,lastplayed:84,containermaxwidth:12,lobbyid:85,haspanicbutton:13,mostplayedrounds:86,lastplayedperiod:87,filteredcategories:88,activecategory:89,livecasino:14,playrandomgame:15,gamepagemodalurl:16,enablecasinowinners:17,tabsorder:18,enableautoscroll:19,istopavailable:20,isrecentavailable:21,integratedgameframedesktop:22,integratedgameframemobile:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:28,defaultcurrency:29,enablejackpotbanner:30,caticon0:31,caticon1:32,caticon2:33,caticon3:34,backgroundsrc:35,backgroundsrcmobile:36,titlelogopath:37,iconlabels:38,visualstructure:39,enablecollections:40,type:41,titletype:42,randombuttonicon:43},null,[-1,-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","gamepagemodalurl","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","enablejackpotbanner","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","enablecollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[83]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[84]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[85]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[86]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayedperiod(){return this.$$.ctx[87]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get filteredcategories(){return this.$$.ctx[88]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[89]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get gamepagemodalurl(){return this.$$.ctx[16]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[17]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get tabsorder(){return this.$$.ctx[18]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[19]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[20]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[21]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[22]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[23]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[28]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[29]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get enablejackpotbanner(){return this.$$.ctx[30]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get caticon0(){return this.$$.ctx[31]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[32]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[33]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[34]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[35]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[36]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[37]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[38]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[39]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get enablecollections(){return this.$$.ctx[40]}set enablecollections(e){this.$$set({enablecollections:e}),f()}get type(){return this.$$.ctx[41]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[42]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[43]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},hs,us,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const ps={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese 1 día de descanso de jugar - Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function ms(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var gs=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},fs=function(e,...t){try{return ms(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function ys(n){let r,i,a=n[10]&&ws(n);return{c(){r=pe("div"),i=pe("div"),a&&a.c(),fe(i,"class","CasinoGamePageContainer"),fe(i,"part","CasinoGamePageContainer"),P(i,"background","rgba(0, 0, 0, 0.5)"),fe(r,"class","GamePageBackground"),P(r,"background",n[13]?"":`url(${n[9].backgroundImageUrl})`),P(r,"background-size","cover")},m(e,t){ue(e,r,t),de(r,i),a&&a.m(i,null),n[82](i),n[83](r)},p(e,t){e[10]?a?a.p(e,t):((a=ws(e)).c(),a.m(i,null)):a&&(a.d(1),a=null),8704&t[0]&&P(r,"background",e[13]?"":`url(${e[9].backgroundImageUrl})`)},d(e){e&&he(r),a&&a.d(),n[82](null),n[83](null)}}}function bs(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function vs(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function ws(e){let n;function r(e){return e[20]?Ss:e[5]?$s:e[11]?Cs:xs}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function xs(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x=n[9].name+"",C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me($),f=ge(),y=pe("p"),b=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(r,f),de(r,y),de(y,b),v||(w=[K(u,"click",n[80]),K(m,"click",n[81])],v=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(h,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(g,$),8&t[0]&&ye(b,e[3])},d(e){e&&he(r),v=!1,J(w)}}}function Cs(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";function S(e){return e[17]?ks:Fs}let F=S(n),k=F(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("div"),d=pe("button"),u=me(C),h=ge(),p=pe("button"),m=me($),g=ge(),f=pe("p"),y=pe("span"),b=me(n[3]),v=ge(),k.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(p,"class","RegisterButton"),fe(p,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),P(r,"width",n[18]),P(r,"height",n[19]),B(r,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[71](a),de(i,s),de(i,l),de(l,c),de(c,d),de(d,u),de(c,h),de(c,p),de(p,m),de(l,g),de(l,f),de(f,y),de(y,b),n[74](f),de(l,v),k.m(l,null),n[77](l),n[78](i),n[79](r),w||(x=[K(d,"click",n[72]),K(p,"click",n[73])],w=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(u,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(m,$),8&t[0]&&ye(b,e[3]),F===(F=S(e))&&k?k.p(e,t):(k.d(1),(k=F(e))&&(k.c(),k.m(l,null))),16777216&t[0]&&fe(i,"style",e[24]),262144&t[0]&&P(r,"width",e[18]),524288&t[0]&&P(r,"height",e[19]),131072&t[0]&&B(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[71](null),n[74](null),k.d(),n[77](null),n[78](null),n[79](null),w=!1,J(x)}}}function $s(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x=n[25]("gamePage.deposit")+"",C="true"===n[1]&&Ms(n);function $(e){return e[17]?Es:_s}let S=$(n),F=S(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("button"),d=me(x),u=ge(),h=pe("p"),p=pe("span"),m=me(n[3]),g=ge(),C&&C.c(),f=ge(),F.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(h,"class","Time"),fe(h,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),P(r,"width",n[18]),P(r,"height",n[19]),B(r,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[62](a),de(i,s),de(i,l),de(l,c),de(c,d),de(l,u),de(l,h),de(h,p),de(p,m),n[64](h),de(l,g),C&&C.m(l,null),de(l,f),F.m(l,null),n[68](l),n[69](i),n[70](r),v||(w=K(c,"click",n[63]),v=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),33554432&t[0]&&x!==(x=e[25]("gamePage.deposit")+"")&&ye(d,x),8&t[0]&&ye(m,e[3]),"true"===e[1]?C?C.p(e,t):((C=Ms(e)).c(),C.m(l,f)):C&&(C.d(1),C=null),S===(S=$(e))&&F?F.p(e,t):(F.d(1),(F=S(e))&&(F.c(),F.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",b),16777216&t[0]&&fe(i,"style",e[24]),262144&t[0]&&P(r,"width",e[18]),524288&t[0]&&P(r,"height",e[19]),131072&t[0]&&B(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[62](null),n[64](null),C&&C.d(),F.d(),n[68](null),n[69](null),n[70](null),v=!1,w()}}}function Ss(e){let n;function r(e){return e[5]?Is:e[12]?Ls:Ts}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Fs(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[76]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ks(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[75]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ms(n){let r,i,a,o=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class","Button"),fe(i,"part","Button"),B(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[65](i)},p(e,t){33554432&t[0]&&o!==(o=e[25]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[65](null)}}}function _s(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[67]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Es(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[66]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ts(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x=n[9].name+"",C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me($),f=ge(),y=pe("p"),b=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(r,f),de(r,y),de(y,b),v||(w=[K(u,"click",n[60]),K(m,"click",n[61])],v=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(h,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(g,$),8&t[0]&&ye(b,e[3])},d(e){e&&he(r),v=!1,J(w)}}}function Ls(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S=n[9].name+"",F=n[25]("gamePage.signIn")+"",k=n[25]("gamePage.register")+"",M=n[25]("gamePage.playForFun")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(S),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(F),p=ge(),m=pe("button"),g=me(k),f=ge(),y=pe("button"),b=me(M),v=ge(),w=pe("p"),x=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(d,f),de(d,y),de(y,b),de(r,v),de(r,w),de(w,x),C||($=[K(u,"click",n[57]),K(m,"click",n[58]),K(y,"click",n[59])],C=!0)},p(e,t){512&t[0]&&S!==(S=e[9].name+"")&&ye(a,S),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&F!==(F=e[25]("gamePage.signIn")+"")&&ye(h,F),33554432&t[0]&&k!==(k=e[25]("gamePage.register")+"")&&ye(g,k),33554432&t[0]&&M!==(M=e[25]("gamePage.playForFun")+"")&&ye(b,M),8&t[0]&&ye(x,e[3])},d(e){e&&he(r),C=!1,J($)}}}function Is(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$=n[9].name+"",S=n[25]("gamePage.deposit")+"",F=n[25]("gamePage.playNow")+"",k="true"==n[0]&&Gs(n),M="true"===n[1]&&As(n);return{c(){k&&k.c(),r=ge(),i=pe("div"),a=pe("h3"),o=me($),s=ge(),l=pe("img"),d=ge(),u=pe("div"),h=pe("button"),p=me(S),m=ge(),g=pe("button"),f=me(F),y=ge(),M&&M.c(),b=ge(),v=pe("p"),w=me(n[3]),ce(l.src,c=n[9].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(h,"class","DepositButton"),fe(h,"part","DepositButton"),fe(g,"class","PlayNowButton"),fe(g,"part","PlayNowButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){k&&k.m(e,t),ue(e,r,t),ue(e,i,t),de(i,a),de(a,o),de(i,s),de(i,l),de(i,d),de(i,u),de(u,h),de(h,p),de(u,m),de(u,g),de(g,f),de(i,y),M&&M.m(i,null),de(i,b),de(i,v),de(v,w),x||(C=[K(h,"click",n[54]),K(g,"click",n[55])],x=!0)},p(e,t){"true"==e[0]?k?k.p(e,t):((k=Gs(e)).c(),k.m(r.parentNode,r)):k&&(k.d(1),k=null),512&t[0]&&$!==($=e[9].name+"")&&ye(o,$),512&t[0]&&!ce(l.src,c=e[9].thumbnail)&&fe(l,"src",c),33554432&t[0]&&S!==(S=e[25]("gamePage.deposit")+"")&&ye(p,S),33554432&t[0]&&F!==(F=e[25]("gamePage.playNow")+"")&&ye(f,F),"true"===e[1]?M?M.p(e,t):((M=As(e)).c(),M.m(i,b)):M&&(M.d(1),M=null),8&t[0]&&ye(w,e[3])},d(e){k&&k.d(e),e&&he(r),e&&he(i),M&&M.d(),x=!1,J(C)}}}function Gs(e){let n;function r(e){return e[9].isFavored?Bs:Ps}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Ps(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),P(a=k("path"),"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(i,"version","1.1"),fe(i,"class","UnfavoredIcon"),fe(i,"part","UnfavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","20px"),fe(i,"y","20px"),fe(i,"viewBox","0 0 512.001 512.001"),P(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),l||(c=K(r,"click",n[53]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function Bs(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),P(a=k("path"),"fill","white"),fe(a,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),fe(i,"version","1.1"),fe(i,"class","FavoredIcon"),fe(i,"part","FavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"viewBox","0 0 19.481 19.481"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"enable-background","new 0 0 19.481 19.481"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),l||(c=K(r,"click",n[52]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function As(n){let r,i,a,e,t,o,s,l=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==bt(n[26])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==bt(n[26])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[8]),fe(r,"class",o="PanicSection "+("PC"!==bt(n[26])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==bt(n[26])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[56](i)},p(e,t){33554432&t[0]&&l!==(l=e[25]("gamePage.breakButton")+"")&&ye(a,l),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[56](null)}}}function Rs(e){let n;function r(e){return e[7]?vs:e[6]?bs:ys}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function Ds(t,e,i){let A;vt(t,Kr,e=>i(25,A=e));let R,n,r,a,D,o,s,l,c,H,N,d,u,O,j,h,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:U=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{favorites:W=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:$=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:k=""}=e,{clockformat:z=""}=e,{haspanicbutton:Y="false"}=e,{playforfun:M="true"}=e,{checksession:V="true"}=e,{integratedgameframedesktop:Z="false"}=e,{integratedgameframemobile:J="false"}=e,{gameid:K=""}=e,_=!1,X=!1,q=!0,Q=!1,ee=0,E=!1,te=!1,ne=!1,T=!0,L=!1,I=window.navigator.userAgent,re=!1,ie=[],ae=!1,oe="false",se;var le,ce;({withLocale:le,translations:ce}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(ce),ft.set(le))}),Object.keys(ps).forEach(e=>{Tr(e,ps[e])});const de=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i(7,q=!1),r&&0<r.length&&(i(5,_=!0),i(7,q=!1),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,e},ue=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),i(13,T=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(9,o=de(e[0])),o.launchUrl&&(i(10,E=!0),i(11,te="true"==M&&o.hasFunMode),i(12,ne="true"==M&&o.hasAnonymousFunMode))},e=>{console.error("There was an error",e),i(6,X=!0)}).then(()=>{s&&(T||(i(18,H=o.width),i(19,N=o.height),O=o.width+"px",j=o.height+"px",d=o.width,u=o.height),ye())}),window.postMessage({type:"RequestModalSize"},window.location.href)},he=()=>{null!=a&&a.addEventListener("mousedown",Se,!1),null!=a&&a.addEventListener("touchstart",Se,!1),null!=a&&a.addEventListener("mouseup",Fe,!1),null!=a&&a.addEventListener("touchend",Fe,!1)},pe=()=>{i(8,Q=!1),null!=a&&a.removeEventListener("mousedown",Se),null!=a&&a.removeEventListener("touchstart",Se),null!=a&&a.removeEventListener("mouseup",Fe),null!=a&&a.removeEventListener("touchend",Fe)},me=e=>{switch(e.data.type){case"GameLaunchID":ue(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":i(51,oe="true");break;case"LaunchGameFrame":fe(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),i(51,oe="false"),pe(),yt(I)?setTimeout(()=>{i(10,E="true"===J)},500):setTimeout(()=>{i(10,E="true"===Z)},500);break;case"UserSessionID":if(0<e.data.session.length){r=e.data.session,e.data.userID,i(5,_=!0);let t=setInterval(()=>{if(o){let e=new URL(o.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",r),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),i(9,o.launchUrl=e,o),clearInterval(t)}},250)}break;case"ModalSize":i(18,H=e.data.modalContainerSize.modalWidth),i(19,N=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ie=e.data.receivedFavoriteResults.items)}},ge=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!0,o))},fe=(e,r)=>{let t=new URL(f+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;i(9,o=de(e[0])),o.launchUrl&&i(9,o.isFavored=(e=o,t=r,i(12,ne="true"==M&&e.hasAnonymousFunMode),i(11,te="true"==M&&t),i(10,E=!0),n=e.id,-1!==ie.findIndex(e=>e.id==n)),o)})},ye=()=>{let e=getComputedStyle(s);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),o.width/(o.height+100));d=parseInt(o.width),u=parseInt(o.height),d=t*n,O=d?Math.floor(d)+"px":"1280px",j=u?Math.floor(u)+"px":"720px",ke()},be=e=>{if(!ae)return yt(I)?ve(J):ve(Z);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};fs("OPEN_GAME",e)},ve=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:o.id},window.location.href)},we=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:E},window.location.href),E&&(s&&ye(),window.addEventListener("ModalSize",me,!1))},G=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},P=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)},xe=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)};function Ce(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!L||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Ce,!1),document.addEventListener("mozfullscreenchange",Ce,!1),document.addEventListener("fullscreenchange",Ce,!1),document.addEventListener("MSFullscreenChange",Ce,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(L?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(17,L=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(17,L=!0)))},$e=(setInterval(()=>{i(3,R=z?Si().format(z):Si().format("LTS"))},100),()=>{"true"==V?qr(f,b).then(e=>{r=e.Guid,e.UserID,i(5,_=!0)},e=>{i(5,_=!1),console.error("err on session",e)}):(r=b,i(5,_=!0))}),Se=e=>{ee=0,D=setInterval(()=>{ee+=1,i(8,Q=!0),3<=ee&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(D))},1e3)},Fe=e=>{ee<3&&i(8,Q=!1),clearInterval(D)},ke=()=>{var e=L?"100%":O,t=L?"100%":j,n=L||!T?"none":o.width?Math.floor(o.width)+"px":"1280px",r=L||!T?"none":o.height?Math.floor(o.height)+100+"px":"720px";i(24,se=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),L||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,r=parseInt(getComputedStyle(s).height);g=g||r*Math.max(n,.5),i(14,s.style.height=g+"px",s),i(15,l.style.height=g+"px",l),e&&i(16,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return wt(()=>(window.addEventListener("resize",we,!1),window.addEventListener("message",me,!1),ae=!!gs(I),()=>{pe(),window.removeEventListener("resize",we),window.removeEventListener("message",me)})),t.$$set=e=>{"endpoint"in e&&i(33,f=e.endpoint),"lang"in e&&i(34,y=e.lang),"session"in e&&i(35,b=e.session),"userid"in e&&i(36,U=e.userid),"clientstyling"in e&&i(37,v=e.clientstyling),"clientstylingurl"in e&&i(38,w=e.clientstylingurl),"favorites"in e&&i(0,W=e.favorites),"loginurl"in e&&i(39,x=e.loginurl),"registerurl"in e&&i(40,C=e.registerurl),"depositurl"in e&&i(41,$=e.depositurl),"loginevent"in e&&i(42,S=e.loginevent),"registerevent"in e&&i(43,F=e.registerevent),"depositevent"in e&&i(44,k=e.depositevent),"clockformat"in e&&i(45,z=e.clockformat),"haspanicbutton"in e&&i(1,Y=e.haspanicbutton),"playforfun"in e&&i(46,M=e.playforfun),"checksession"in e&&i(47,V=e.checksession),"integratedgameframedesktop"in e&&i(48,Z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(49,J=e.integratedgameframemobile),"gameid"in e&&i(50,K=e.gameid)},t.$$.update=()=>{if(8&t.$$.dirty[1]&&y&&(e=y,ft.set(e),i(20,re=yt(I))),524300&t.$$.dirty[1]&&f&&K&&y&&ue(K,!0),52&t.$$.dirty[1]&&b&&U&&f&&$e(),65556&t.$$.dirty[1]&&"false"==V&&b&&f&&$e(),64&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,h.appendChild(e)}if(128&t.$$.dirty[1]&&w){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&"true"==oe&&a&&he(),4&t.$$.dirty[0]&&a&&he()},[W,Y,a,R,n,_,X,q,Q,o,E,te,ne,T,s,l,c,L,H,N,re,h,p,m,"",A,I,ge,be,G,P,xe,B,f,y,b,U,v,w,x,C,$,S,F,k,z,M,V,Z,J,K,oe,()=>ge(o.id),()=>ge(o.id),()=>xe(),()=>{be(o)},function(e){gt[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>G(),()=>P(),()=>{be(o)},()=>G(),()=>P(),function(e){gt[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>xe(),function(e){gt[e?"unshift":"push"](()=>{m=e,i(23,m)})},function(e){gt[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>B(),()=>B(),function(e){gt[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){gt[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){gt[e?"unshift":"push"](()=>{s=e,i(14,s)})},function(e){gt[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>G(),()=>P(),function(e){gt[e?"unshift":"push"](()=>{m=e,i(23,m)})},()=>B(),()=>B(),function(e){gt[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){gt[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){gt[e?"unshift":"push"](()=>{s=e,i(14,s)})},()=>G(),()=>P(),function(e){gt[e?"unshift":"push"](()=>{h=e,i(21,h)})},function(e){gt[e?"unshift":"push"](()=>{c=e,i(16,c)})}]}function Hs(n){let r,i,a,o,s,l,c,d,t,u,h,p;return{c(){r=pe("div"),i=pe("div"),(a=pe("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),s=pe("slot"),fe(a,"class","FilterModalCloseBtn"),fe(a,"part","FilterModalCloseBtn"),fe(a,"role","button"),fe(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(i,"part",c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(r,"class","FilterModalWindow"),fe(r,"id","FilterModal"),fe(r,"part","FilterModalWindow"),q(()=>n[15].call(r))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),n[14](r),d=m(r,n[15].bind(r)),u=!0,h||(p=K(a,"click",n[7]),h=!0)},p(e,t){n=e,(!u||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"class",l),(!u||4&t&&c!==(c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"part",c)},i(e){u||(q(()=>{(t=t||ve(r,cs,{transitionDuration:n[1]},!0)).run(1)}),u=!0)},o(e){(t=t||ve(r,cs,{transitionDuration:n[1]},!1)).run(0),u=!1},d(e){e&&he(r),n[14](null),d(),e&&t&&t.end(),h=!1,p()}}}function Ns(n){let r,i,a=n[0]&&Hs(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),a&&a.m(r,null),n[16](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&se(a,1)):((a=Hs(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[16](null)}}}function Os(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,{sessioncheck:m="true"}=t,g=window.navigator.userAgent,f=!1;const y=()=>{n(0,s=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href)},b=e=>{"ShowFilterModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(y(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))},v=()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,i.appendChild(t)})};return wt(()=>(window.addEventListener("message",b,!1),yt(g)&&n(2,f=!0),()=>{window.removeEventListener("message",b)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(8,c=e.session),"userid"in e&&n(9,d=e.userid),"clientstyling"in e&&n(10,u=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint),"sessioncheck"in e&&n(13,m=e.sessioncheck)},e.$$.update=()=>{if(4864&e.$$.dirty&&c&&d&&p&&"true"==m&&qr(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&u){let e=document.createElement("style");e.innerHTML=u,s&&setTimeout(()=>{r.appendChild(e)})}2048&e.$$.dirty&&h&&v(),2049&e.$$.dirty&&s&&h&&v()},[s,l,f,r,i,void 0,void 0,y,c,d,u,h,p,m,function(e){gt[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){gt[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoGamePageContainer{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ds,Rs,t,{endpoint:33,lang:34,session:35,userid:36,clientstyling:37,clientstylingurl:38,favorites:0,loginurl:39,registerurl:40,depositurl:41,loginevent:42,registerevent:43,depositevent:44,clockformat:45,haspanicbutton:1,playforfun:46,checksession:47,integratedgameframedesktop:48,integratedgameframemobile:49,gameid:50},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[35]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[36]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[37]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[38]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[39]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[40]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[41]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[42]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[43]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[44]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[45]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[46]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[47]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[48]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[49]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Os,Ns,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12,sessioncheck:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get sessioncheck(){return this.$$.ctx[13]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const js={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},zh:{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement",filterModalTitle:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtrar",filterModalSubtitle:"Puedes seleccionar varias opciones",filterClear:"Restablecer filtro",filterApply:"Terminado"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function Us(e,t,n){const r=e.slice();return r[32]=t[n],r}function Ws(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S=n[6]("filters.filterModalTitle")+"",F=n[6]("filters.filterModalSubtitle")+"",k=n[6]("filters.filterApply")+"",M=n[0]&&Ys(n),_=n[3]&&Js(n);return{c(){r=pe("div"),i=pe("section"),a=pe("div"),o=pe("h4"),s=me(S),l=ge(),c=pe("h5"),d=me(F),u=ge(),h=pe("section"),M&&M.c(),p=ge(),m=pe("section"),_&&_.c(),g=ge(),f=pe("div"),y=me(k),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(a,"class","FilterHeaderDetails"),fe(a,"part","FilterHeaderDetails"),fe(i,"class","FilterHeaderSection"),fe(i,"part","FilterHeaderSection"),fe(h,"class","FilterContentSection"),fe(h,"part","FilterContentSection"),fe(f,"class",b="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(f,"part",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(m,"class","FilterFooterSection"),fe(m,"part","FilterFooterSection"),fe(r,"class",w="FilterModalContent "+(n[1]?"FilterModalMobileContent":"")),fe(r,"part",x="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(r,u),de(r,h),M&&M.m(h,null),de(r,p),de(r,m),_&&_.m(m,null),de(m,g),de(m,f),de(f,y),C||($=K(f,"click",n[19]),C=!0)},p(e,t){64&t[0]&&S!==(S=e[6]("filters.filterModalTitle")+"")&&ye(s,S),64&t[0]&&F!==(F=e[6]("filters.filterModalSubtitle")+"")&&ye(d,F),e[0]?M?M.p(e,t):((M=Ys(e)).c(),M.m(h,null)):M&&(M.d(1),M=null),e[3]?_?_.p(e,t):((_=Js(e)).c(),_.m(m,g)):_&&(_.d(1),_=null),64&t[0]&&k!==(k=e[6]("filters.filterApply")+"")&&ye(y,k),4&t[0]&&b!==(b="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",b),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",v),2&t[0]&&w!==(w="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"class",w),2&t[0]&&x!==(x="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"part",x)},d(e){e&&he(r),M&&M.d(),_&&_.d(),C=!1,$()}}}function zs(e){let n;return{c(){fe(n=pe("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ys(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Zs(Us(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(129&n[0]){let e;for(a=t[0],e=0;e<a.length;e+=1){var r=Us(t,a,e);o[e]?o[e].p(r,n):(o[e]=Zs(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function Vs(){let n;return{c(){(n=pe("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Zs(n){let r,i,a,o,s,l,c,d,u,h,p=n[32].isFilterSelected&&Vs();function m(){return n[17](n[32])}return{c(){r=pe("div"),i=pe("img"),s=ge(),p&&p.c(),l=ge(),fe(i,"class","VendorImage"),fe(i,"part","VendorImage"),ce(i.src,a=n[32].image)||fe(i,"src",a),fe(i,"alt",o=n[32].name),fe(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),fe(r,"part",d="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){ue(e,r,t),de(r,i),de(r,s),p&&p.m(r,null),de(r,l),u||(h=K(r,"click",m),u=!0)},p(e,t){n=e,1&t[0]&&!ce(i.src,a=n[32].image)&&fe(i,"src",a),1&t[0]&&o!==(o=n[32].name)&&fe(i,"alt",o),n[32].isFilterSelected?p||((p=Vs()).c(),p.m(r,l)):p&&(p.d(1),p=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"class",c),1&t[0]&&d!==(d="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"part",d)},d(e){e&&he(r),p&&p.d(),u=!1,h()}}}function Js(e){let n,r=e[3].length&&Ks(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):((r=Ks(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Ks(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=pe("div"),i=me(s),fe(r,"class","ClearFiltersButton"),fe(r,"part","ClearFiltersButton")},m(e,t){ue(e,r,t),de(r,i),a||(o=K(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ye(i,s)},d(e){e&&he(r),a=!1,o()}}}function Xs(n){let r;function i(e){return e[4]?zs:Ws}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[20](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[20](null)}}}function qs(e,t,i){let n;vt(e,Kr,e=>i(6,n=e));let r,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,h=[],p=!1,m=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),b=[],v={},w=!1,x=(v[f]&&(v={[f]:[]}),[]);var C,$;({withLocale:C,translations:$}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set($),ft.set(C))}),Object.keys(js).forEach(e=>{Tr(e,js[e])});const S=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(f&&((y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")))&&i(3,b=y[f])),!b){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}r=`${a}/casino/vendors?filter=games(groups=${f})&datasource=${o}&platform=`+bt(m),new Promise((t,n)=>{fetch(r).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},f&&t[f]&&(e.isFilterSelected=0<=t[f].indexOf(e.id))}),i(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=b;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),i(3,b=x),i(2,g=!1);break;case"AvailableVendors":i(0,h=t.data.venArray),i(3,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(0,h=t.data.venArray),h&&i(3,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":M(),window.postMessage({type:"ApplyFilters"},window.location.href),i(2,g=!1);break;case"FiltersModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":f=t.data.categoryid,y&&f&&i(3,b=y[f]);break;case"ModalLoader":i(4,w=!1)}var r},F=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(b.push(t.id),i(2,g=!k(b,x))):(b.includes(t.id)&&i(3,b=b.filter(e=>e!==t.id)),i(2,g=!(!b.length&&k(b,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},k=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},M=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(2,g=k(b,x)),i(3,b=[]),null!==e&&((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},_=()=>{i(4,w=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return wt(()=>(window.addEventListener("message",S,!1),yt(m)&&i(1,p=!0),()=>{window.removeEventListener("message",S)})),e.$$set=e=>{"endpoint"in e&&i(10,a=e.endpoint),"datasource"in e&&i(11,o=e.datasource),"lang"in e&&i(12,s=e.lang),"session"in e&&i(13,l=e.session),"userid"in e&&i(14,c=e.userid),"clientstyling"in e&&i(15,d=e.clientstyling),"clientstylingurl"in e&&i(16,u=e.clientstylingurl)},e.$$.update=()=>{if(32768&e.$$.dirty[0]&&d){let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)}if(65536&e.$$.dirty[0]&&u){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,r&&setTimeout(()=>{r.appendChild(t)},1)})}},[h,p,g,b,w,r,n,F,M,_,a,o,s,l,c,d,u,e=>F(e),()=>M(),()=>_(),function(e){gt[e?"unshift":"push"](()=>{r=e,i(5,r)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;height:127px;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:120px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},qs,Xs,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});const Qs={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function el(n){let r;function i(e){return e[5]?il:e[10]?rl:void 0}let a=i(n),o=a&&a(n);return{c(){r=pe("div"),o&&o.c(),fe(r,"class","CasinoIntegratedGamePage"),fe(r,"part","CasinoIntegratedGamePage")},m(e,t){ue(e,r,t),o&&o.m(r,null),n[65](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(r,null)))},d(e){e&&he(r),o&&o.d(),n[65](null)}}}function tl(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function nl(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function rl(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S,F,k,M,_=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function T(e){return e[16]?ol:al}let L=T(n),I=L(n),G="true"==n[1]&&!n[16]&&sl();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),d=pe("div"),u=ge(),h=pe("div"),p=pe("div"),m=pe("iframe"),f=ge(),y=pe("div"),b=pe("div"),v=pe("button"),w=me(_),x=ge(),C=pe("button"),$=me(E),S=ge(),I.c(),F=ge(),G&&G.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(m,"title","Games"),fe(m,"class","GamesContainer"),fe(m,"part","GamesContainer"),fe(m,"aria-hidden","false"),ce(m.src,g=n[9].launchUrl)||fe(m,"src",g),fe(v,"class","LoginButton"),fe(v,"part","LoginButton"),fe(C,"class","RegisterButton"),fe(C,"part","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(b,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(p,"id","IframeGame"),fe(p,"part","IframeGame"),P(p,"width",n[16]?"100%":n[17]),P(p,"height",n[16]?"100%":n[18]),P(p,"max-width",n[16]||!n[11]?"none":n[9].width?Math.floor(n[9].width)+"px":"1280px"),P(p,"max-height",n[16]||!n[11]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(h,"id","IframeContainer"),fe(h,"part","IframeContainer"),B(h,"FullsScreenLayout",n[16])},m(e,t){ue(e,r,t),de(r,i),de(r,a),de(r,o),de(o,s),de(s,l),n[56](o),de(r,c),de(r,d),ue(e,u,t),ue(e,h,t),de(h,p),de(p,m),n[57](m),de(p,f),de(p,y),de(y,b),de(b,v),de(v,w),de(b,x),de(b,C),de(C,$),de(y,S),I.m(y,null),n[62](y),n[63](p),de(h,F),G&&G.m(h,null),n[64](h),k||(M=[K(i,"click",n[55]),K(v,"click",n[58]),K(C,"click",n[59])],k=!0)},p(e,t){8&t[0]&&ye(l,e[3]),512&t[0]&&!ce(m.src,g=e[9].launchUrl)&&fe(m,"src",g),4194304&t[0]&&_!==(_=e[22]("gamePage.signIn")+"")&&ye(w,_),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ye($,E),L===(L=T(e))&&I?I.p(e,t):(I.d(1),(I=L(e))&&(I.c(),I.m(y,null))),196608&t[0]&&P(p,"width",e[16]?"100%":e[17]),327680&t[0]&&P(p,"height",e[16]?"100%":e[18]),68096&t[0]&&P(p,"max-width",e[16]||!e[11]?"none":e[9].width?Math.floor(e[9].width)+"px":"1280px"),68096&t[0]&&P(p,"max-height",e[16]||!e[11]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?G&&(G.d(1),G=null):G||((G=sl()).c(),G.m(h,null)),65536&t[0]&&B(h,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[56](null),e&&he(u),e&&he(h),n[57](null),I.d(),n[62](null),n[63](null),G&&G.d(),n[64](null),k=!1,J(M)}}}function il(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S,F=n[22]("gamePage.deposit")+"",k="true"===n[0]&&ll(n);function M(e){return e[16]?dl:cl}let _=M(n),E=_(n),T="true"==n[1]&&!n[16]&&ul();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),d=pe("button"),u=me(F),h=ge(),p=pe("div"),m=pe("div"),g=pe("iframe"),v=ge(),w=pe("div"),k&&k.c(),x=ge(),E.c(),C=ge(),T&&T.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(d,"class","DepositButton"),fe(d,"part","DepositButton"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"id","IframeGame"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,f=n[9].launchUrl)||fe(g,"src",f),fe(g,"width",y=n[13]+"px"),fe(g,"height",b=n[14]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(m,"id","IframeGame"),fe(m,"part","IframeGame"),P(m,"width",n[16]?"100%":n[17]),P(m,"height",n[16]?"100%":n[18]),P(m,"max-width",n[16]?"none":n[9].width?n[9].width+"px":"1280px"),P(m,"max-height",n[16]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(p,"id","IframeContainer"),fe(p,"part","IframeContainer"),B(p,"FullsScreenLayout",n[16])},m(e,t){ue(e,r,t),de(r,i),de(r,a),de(r,o),de(o,s),de(s,l),n[46](o),de(r,c),de(r,d),de(d,u),ue(e,h,t),ue(e,p,t),de(p,m),de(m,g),n[48](g),de(m,v),de(m,w),k&&k.m(w,null),de(w,x),E.m(w,null),n[52](w),n[53](m),de(p,C),T&&T.m(p,null),n[54](p),$||(S=[K(i,"click",n[45]),K(d,"click",n[47])],$=!0)},p(e,t){8&t[0]&&ye(l,e[3]),4194304&t[0]&&F!==(F=e[22]("gamePage.deposit")+"")&&ye(u,F),512&t[0]&&!ce(g.src,f=e[9].launchUrl)&&fe(g,"src",f),8192&t[0]&&y!==(y=e[13]+"px")&&fe(g,"width",y),16384&t[0]&&b!==(b=e[14]+"px")&&fe(g,"height",b),"true"===e[0]?k?k.p(e,t):((k=ll(e)).c(),k.m(w,x)):k&&(k.d(1),k=null),_===(_=M(e))&&E?E.p(e,t):(E.d(1),(E=_(e))&&(E.c(),E.m(w,null))),196608&t[0]&&P(m,"width",e[16]?"100%":e[17]),327680&t[0]&&P(m,"height",e[16]?"100%":e[18]),66048&t[0]&&P(m,"max-width",e[16]?"none":e[9].width?e[9].width+"px":"1280px"),66048&t[0]&&P(m,"max-height",e[16]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?T&&(T.d(1),T=null):T||((T=ul()).c(),T.m(p,null)),65536&t[0]&&B(p,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[46](null),e&&he(h),e&&he(p),n[48](null),k&&k.d(),E.d(),n[52](null),n[53](null),T&&T.d(),n[54](null),$=!1,J(S)}}}function al(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[61]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ol(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[60]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function sl(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function ll(n){let r,i,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class",e="PanicButton "+("PC"!==bt(n[23])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==bt(n[23])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[49](i)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[49](null)}}}function cl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[51]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function dl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[50]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ul(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function hl(e){let n;function r(e){return e[7]?nl:e[6]?tl:el}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function pl(t,e,r){let A;vt(t,Kr,e=>r(22,A=e));let R,n,i,a,D,o,s,l,c,d,u,h,H,N,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:O=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:$=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:k=""}=e,{clockformat:M=""}=e,{haspanicbutton:j="false"}=e,{playforfun:_="true"}=e,{checksession:U="true"}=e,{gamebanneractive:W="false"}=e,{gameid:E=""}=e,T=!1,z=!1,Y=!0,L=!1,I=0,V=!1,Z=!1,J=!0,G=!1,K=window.navigator.userAgent;var X,q;({withLocale:X,translations:q}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(q),ft.set(X))}),Object.keys(Qs).forEach(e=>{Tr(e,Qs[e])});const Q=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),r(11,J=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{r(9,o=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i&&0<i.length&&(r(5,T=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,p.scrollIntoView(),e})(e[0])),o.launchUrl&&(V=!0,r(10,Z="true"==_&&o.hasFunMode),"true"==_&&o.hasAnonymousFunMode)},e=>{console.error("There was an error",e),r(6,z=!0)}).then(()=>{s&&(ee(),J||(r(17,H=o.width),r(18,N=o.height),u=o.width,h=o.height))})},ee=()=>{let e=getComputedStyle(s),t=getComputedStyle(d);r(13,l=parseInt(e.width.slice(0,-2))),r(14,c=parseInt(e.height.slice(0,-2)));var n=o.width/(o.height+100);u=parseInt(t.width),h=parseInt(t.height),l/n>c-m.clientHeight-g.clientHeight?(h=c-m.clientHeight-g.clientHeight,u=c*n):(u=l,h=l/n),r(17,H=u?Math.floor(u)+"px":"1280px"),r(18,N=h?Math.floor(h)+"px":"720px")},te=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:V},window.location.href),V&&s&&ee()},ne=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},re=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)},ie=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)};function P(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!G||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",P,!1),document.addEventListener("mozfullscreenchange",P,!1),document.addEventListener("fullscreenchange",P,!1),document.addEventListener("MSFullscreenChange",P,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(G?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(16,G=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(16,G=!0)))},ae=setInterval(()=>{r(3,R=M?Si().format(M):Si().format("LTS"))},100),oe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},se=e=>{I=0,D=setInterval(()=>{I+=1,r(8,L=!0),3<=I&&clearInterval(D)},1e3)},le=e=>{I<3&&r(8,L=!1),clearInterval(D)};return wt(()=>(window.addEventListener("resize",te,!1),gs(K),()=>{r(8,L=!1),null!=a&&a.removeEventListener("mousedown",se),null!=a&&a.removeEventListener("touchstart",se),null!=a&&a.removeEventListener("mouseup",le),null!=a&&a.removeEventListener("touchend",le),window.removeEventListener("resize",te),clearInterval(ae)})),t.$$set=e=>{"endpoint"in e&&r(29,f=e.endpoint),"lang"in e&&r(30,y=e.lang),"session"in e&&r(31,b=e.session),"userid"in e&&r(32,O=e.userid),"clientstyling"in e&&r(33,v=e.clientstyling),"clientstylingurl"in e&&r(34,w=e.clientstylingurl),"loginurl"in e&&r(35,x=e.loginurl),"registerurl"in e&&r(36,C=e.registerurl),"depositurl"in e&&r(37,$=e.depositurl),"loginevent"in e&&r(38,S=e.loginevent),"registerevent"in e&&r(39,F=e.registerevent),"depositevent"in e&&r(40,k=e.depositevent),"clockformat"in e&&r(41,M=e.clockformat),"haspanicbutton"in e&&r(0,j=e.haspanicbutton),"playforfun"in e&&r(42,_=e.playforfun),"checksession"in e&&r(43,U=e.checksession),"gamebanneractive"in e&&r(1,W=e.gamebanneractive),"gameid"in e&&r(44,E=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,ft.set(e),yt(K),r(7,Y=!1)),1610612736&t.$$.dirty[0]|8192&t.$$.dirty[1]&&f&&E&&y&&Q(E),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&b&&O&&f&&("true"==U?qr(f,b).then(e=>{i=e.Guid,e.UserID,r(5,T=!0)},e=>{r(5,T=!1),console.error("err on session",e)}):i=b),4&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,p.appendChild(e)}if(8&t.$$.dirty[1]&&w){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,p&&setTimeout(()=>{p.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]&&a&&(null!=a&&a.addEventListener("mousedown",se,!1),null!=a&&a.addEventListener("touchstart",se,!1),null!=a&&a.addEventListener("mouseup",le,!1),null!=a&&a.addEventListener("touchend",le,!1))},[j,W,a,R,n,T,z,Y,L,o,Z,J,s,l,c,d,G,H,N,p,m,g,A,K,ne,re,ie,B,oe,f,y,b,O,v,w,x,C,$,S,F,k,M,_,U,E,()=>oe(),function(e){gt[e?"unshift":"push"](()=>{g=e,r(21,g)})},()=>ie(),function(e){gt[e?"unshift":"push"](()=>{n=e,r(4,n)})},function(e){gt[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>B(),()=>B(),function(e){gt[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){gt[e?"unshift":"push"](()=>{d=e,r(15,d)})},function(e){gt[e?"unshift":"push"](()=>{s=e,r(12,s)})},()=>oe(),function(e){gt[e?"unshift":"push"](()=>{g=e,r(21,g)})},function(e){gt[e?"unshift":"push"](()=>{n=e,r(4,n)})},()=>ne(),()=>re(),()=>B(),()=>B(),function(e){gt[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){gt[e?"unshift":"push"](()=>{d=e,r(15,d)})},function(e){gt[e?"unshift":"push"](()=>{s=e,r(12,s)})},function(e){gt[e?"unshift":"push"](()=>{p=e,r(19,p)})}]}function ml(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g="true"==e[22]&&fl(e);return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=ge(),o=pe("div"),s=ge(),l=pe("casino-categories-slider"),c=ge(),d=pe("casino-page"),u=ge(),g&&g.c(),h=ge(),p=pe("casino-filter-modal"),m=pe("casino-filter-page"),fe(i,"class","HeaderPlaceholder"),fe(i,"part","HeaderPlaceholder"),P(i,"height",e[60]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),w(l,"endpoint",e[53]),w(l,"datasource",e[54]),w(l,"lang",e[55]),w(l,"session",e[59]),w(l,"userid",e[2]),w(l,"sessioncheck","false"),w(l,"actionevent",e[19]),w(l,"filteredcategories",e[7]),w(l,"mostplayed",e[11]),w(l,"mostplayedrounds",e[12]),w(l,"lastplayed",e[13]),w(l,"lastplayedperiod",e[14]),w(l,"favorites",e[15]),w(l,"activecategory",e[1]),w(l,"clientstyling",e[3]),w(l,"clientstylingurl",e[4]),w(l,"containermaxwidth",e[17]),w(l,"location","secondaryMenu"),w(l,"showsubgroups",e[48]),w(d,"session",e[59]),w(d,"userid",e[2]),w(d,"endpoint",e[53]),w(d,"datasource",e[54]),w(d,"lang",e[55]),w(d,"visiblegames",e[24]),w(d,"playrandomgame",e[23]),w(d,"activecategory",e[1]),w(d,"alternativesearch",e[16]),w(d,"favorites",e[15]),w(d,"mostplayedrounds",e[12]),w(d,"mostplayed",e[11]),w(d,"lastplayed",e[13]),w(d,"lastplayedperiod",e[14]),w(d,"clientstyling",e[3]),w(d,"clientstylingurl",e[4]),w(d,"lobbyid",e[6]),w(d,"containermaxwidth",e[17]),w(d,"haspanicbutton",e[18]),w(d,"livecasino",e[20]),w(d,"currency",e[0]),w(d,"filteredcategories",e[7]),w(d,"gamepagemodalurl",e[27]),w(d,"randombuttonicon",e[52]),w(d,"enablejackpotbanner",e[39]),w(d,"enablecasinowinners",e[28]),w(d,"periodrecent",e[33]),w(d,"periodtop",e[34]),w(d,"numberusersrecent",e[35]),w(d,"numberuserstop",e[36]),w(d,"amountlimit",e[37]),w(d,"isrecentavailable",e[32]),w(d,"istopavailable",e[31]),w(d,"integratedgameframedesktop",e[25]),w(d,"integratedgameframemobile",e[26]),w(d,"defaultcurrency",e[38]),w(d,"enableautoscroll",e[30]),w(d,"tabsorder",e[29]),w(d,"backgroundsrc",e[44]),w(d,"backgroundsrcmobile",e[45]),w(d,"titlelogopath",e[46]),w(d,"caticon0",e[40]),w(d,"caticon1",e[41]),w(d,"caticon2",e[42]),w(d,"caticon3",e[43]),w(d,"iconlabels",e[47]),w(d,"enablecollections",e[49]),w(d,"type",e[50]),w(d,"titletype",e[51]),w(m,"session",e[59]),w(m,"userid",e[2]),w(m,"endpoint",e[53]),w(m,"datasource",e[54]),w(m,"lang",e[55]),w(m,"clientstylingurl",e[4]),w(m,"clientstyling",e[3]),w(p,"clientstylingurl",e[4]),w(p,"session",e[59]),w(p,"userid",e[2]),w(p,"endpoint",e[53]),w(p,"datasource",e[54]),w(p,"lang",e[55]),w(p,"sessioncheck","false"),w(p,"clientstyling",e[3]),fe(r,"class","WidgetsSection"),fe(r,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,a),de(r,o),de(r,s),de(r,l),de(r,c),de(r,d),de(r,u),g&&g.m(r,null),de(r,h),de(r,p),de(p,m)},p(e,t){536870912&t[1]&&P(i,"height",e[60]+"px"),4194304&t[1]&&w(l,"endpoint",e[53]),8388608&t[1]&&w(l,"datasource",e[54]),16777216&t[1]&&w(l,"lang",e[55]),268435456&t[1]&&w(l,"session",e[59]),4&t[0]&&w(l,"userid",e[2]),524288&t[0]&&w(l,"actionevent",e[19]),128&t[0]&&w(l,"filteredcategories",e[7]),2048&t[0]&&w(l,"mostplayed",e[11]),4096&t[0]&&w(l,"mostplayedrounds",e[12]),8192&t[0]&&w(l,"lastplayed",e[13]),16384&t[0]&&w(l,"lastplayedperiod",e[14]),32768&t[0]&&w(l,"favorites",e[15]),2&t[0]&&w(l,"activecategory",e[1]),8&t[0]&&w(l,"clientstyling",e[3]),16&t[0]&&w(l,"clientstylingurl",e[4]),131072&t[0]&&w(l,"containermaxwidth",e[17]),131072&t[1]&&w(l,"showsubgroups",e[48]),268435456&t[1]&&w(d,"session",e[59]),4&t[0]&&w(d,"userid",e[2]),4194304&t[1]&&w(d,"endpoint",e[53]),8388608&t[1]&&w(d,"datasource",e[54]),16777216&t[1]&&w(d,"lang",e[55]),16777216&t[0]&&w(d,"visiblegames",e[24]),8388608&t[0]&&w(d,"playrandomgame",e[23]),2&t[0]&&w(d,"activecategory",e[1]),65536&t[0]&&w(d,"alternativesearch",e[16]),32768&t[0]&&w(d,"favorites",e[15]),4096&t[0]&&w(d,"mostplayedrounds",e[12]),2048&t[0]&&w(d,"mostplayed",e[11]),8192&t[0]&&w(d,"lastplayed",e[13]),16384&t[0]&&w(d,"lastplayedperiod",e[14]),8&t[0]&&w(d,"clientstyling",e[3]),16&t[0]&&w(d,"clientstylingurl",e[4]),64&t[0]&&w(d,"lobbyid",e[6]),131072&t[0]&&w(d,"containermaxwidth",e[17]),262144&t[0]&&w(d,"haspanicbutton",e[18]),1048576&t[0]&&w(d,"livecasino",e[20]),1&t[0]&&w(d,"currency",e[0]),128&t[0]&&w(d,"filteredcategories",e[7]),134217728&t[0]&&w(d,"gamepagemodalurl",e[27]),2097152&t[1]&&w(d,"randombuttonicon",e[52]),256&t[1]&&w(d,"enablejackpotbanner",e[39]),268435456&t[0]&&w(d,"enablecasinowinners",e[28]),4&t[1]&&w(d,"periodrecent",e[33]),8&t[1]&&w(d,"periodtop",e[34]),16&t[1]&&w(d,"numberusersrecent",e[35]),32&t[1]&&w(d,"numberuserstop",e[36]),64&t[1]&&w(d,"amountlimit",e[37]),2&t[1]&&w(d,"isrecentavailable",e[32]),1&t[1]&&w(d,"istopavailable",e[31]),33554432&t[0]&&w(d,"integratedgameframedesktop",e[25]),67108864&t[0]&&w(d,"integratedgameframemobile",e[26]),128&t[1]&&w(d,"defaultcurrency",e[38]),1073741824&t[0]&&w(d,"enableautoscroll",e[30]),536870912&t[0]&&w(d,"tabsorder",e[29]),8192&t[1]&&w(d,"backgroundsrc",e[44]),16384&t[1]&&w(d,"backgroundsrcmobile",e[45]),32768&t[1]&&w(d,"titlelogopath",e[46]),512&t[1]&&w(d,"caticon0",e[40]),1024&t[1]&&w(d,"caticon1",e[41]),2048&t[1]&&w(d,"caticon2",e[42]),4096&t[1]&&w(d,"caticon3",e[43]),65536&t[1]&&w(d,"iconlabels",e[47]),262144&t[1]&&w(d,"enablecollections",e[49]),524288&t[1]&&w(d,"type",e[50]),1048576&t[1]&&w(d,"titletype",e[51]),"true"==e[22]?g?g.p(e,t):((g=fl(e)).c(),g.m(r,h)):g&&(g.d(1),g=null),268435456&t[1]&&w(m,"session",e[59]),4&t[0]&&w(m,"userid",e[2]),4194304&t[1]&&w(m,"endpoint",e[53]),8388608&t[1]&&w(m,"datasource",e[54]),16777216&t[1]&&w(m,"lang",e[55]),16&t[0]&&w(m,"clientstylingurl",e[4]),8&t[0]&&w(m,"clientstyling",e[3]),16&t[0]&&w(p,"clientstylingurl",e[4]),268435456&t[1]&&w(p,"session",e[59]),4&t[0]&&w(p,"userid",e[2]),4194304&t[1]&&w(p,"endpoint",e[53]),8388608&t[1]&&w(p,"datasource",e[54]),16777216&t[1]&&w(p,"lang",e[55]),8&t[0]&&w(p,"clientstyling",e[3])},d(e){e&&he(n),g&&g.d()}}}function gl(e){let n,r;return{c(){n=pe("p"),r=me(e[58]),P(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){134217728&t[1]&&ye(r,e[58])},d(e){e&&he(n)}}}function fl(e){let n,r;return{c(){n=pe("casino-modal"),w(r=pe("casino-game-page"),"session",e[59]),w(r,"userid",e[2]),w(r,"endpoint",e[53]),w(r,"datasource",e[54]),w(r,"lang",e[55]),w(r,"loginevent",e[8]),w(r,"registerevent",e[9]),w(r,"depositevent",e[10]),w(r,"checksession","false"),w(r,"playforfun",e[21]),w(r,"favorites",e[15]),w(r,"clientstyling",e[3]),w(r,"clientstylingurl",e[4]),w(r,"clockformat",e[5]),w(r,"haspanicbutton",e[18]),w(r,"currency",e[0]),w(r,"integratedgameframedesktop",e[25]),w(r,"integratedgameframemobile",e[26]),w(n,"session",e[59]),w(n,"userid",e[2]),w(n,"endpoint",e[53]),w(n,"datasource",e[54]),w(n,"lang",e[55]),w(n,"sessioncheck","false"),w(n,"clientstyling",e[3]),w(n,"clientstylingurl",e[4]),w(n,"gamepagemodalurl",e[27]),w(n,"haspanicbutton",e[18])},m(e,t){ue(e,n,t),de(n,r)},p(e,t){268435456&t[1]&&w(r,"session",e[59]),4&t[0]&&w(r,"userid",e[2]),4194304&t[1]&&w(r,"endpoint",e[53]),8388608&t[1]&&w(r,"datasource",e[54]),16777216&t[1]&&w(r,"lang",e[55]),256&t[0]&&w(r,"loginevent",e[8]),512&t[0]&&w(r,"registerevent",e[9]),1024&t[0]&&w(r,"depositevent",e[10]),2097152&t[0]&&w(r,"playforfun",e[21]),32768&t[0]&&w(r,"favorites",e[15]),8&t[0]&&w(r,"clientstyling",e[3]),16&t[0]&&w(r,"clientstylingurl",e[4]),32&t[0]&&w(r,"clockformat",e[5]),262144&t[0]&&w(r,"haspanicbutton",e[18]),1&t[0]&&w(r,"currency",e[0]),33554432&t[0]&&w(r,"integratedgameframedesktop",e[25]),67108864&t[0]&&w(r,"integratedgameframemobile",e[26]),268435456&t[1]&&w(n,"session",e[59]),4&t[0]&&w(n,"userid",e[2]),4194304&t[1]&&w(n,"endpoint",e[53]),8388608&t[1]&&w(n,"datasource",e[54]),16777216&t[1]&&w(n,"lang",e[55]),8&t[0]&&w(n,"clientstyling",e[3]),16&t[0]&&w(n,"clientstylingurl",e[4]),134217728&t[0]&&w(n,"gamepagemodalurl",e[27]),262144&t[0]&&w(n,"haspanicbutton",e[18])},d(e){e&&he(n)}}}function yl(n){let r,i,a;function o(e){return e[57]?gl:ml}let s=o(n),l=s(n);return{c(){r=pe("div"),l.c(),this.c=Z,fe(r,"class",i=n[56]?"DisplayNone":""),fe(r,"part",a=n[56]?"DisplayNone":"")},m(e,t){ue(e,r,t),l.m(r,null),n[73](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(r,null))),33554432&t[1]&&i!==(i=e[56]?"DisplayNone":"")&&fe(r,"class",i),33554432&t[1]&&a!==(a=e[56]?"DisplayNone":"")&&fe(r,"part",a)},i:Z,o:Z,d(e){e&&he(r),l.d(),n[73](null)}}}function bl(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:d=""}=t,{userid:u=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y=""}=t,{filteredcategories:b=""}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:x=""}=t,{loginevent:C=""}=t,{registerevent:$=""}=t,{depositevent:S=""}=t,{mostplayed:F=""}=t,{mostplayedrounds:A=""}=t,{lastplayed:k="false"}=t,{lastplayedperiod:R="Last30Days"}=t,{favorites:M=""}=t,{desktopoffset:_="0"}=t,{mobileoffset:E="0"}=t,{alternativesearch:D="false"}=t,{containermaxwidth:H=""}=t,{haspanicbutton:N="false"}=t,{activecategory:T="LOBBY"}=t,{actionevent:O="CategoryChange"}=t,{livecasino:j="false"}=t,{playforfun:U="true"}=t,{gamemodal:W="true"}=t,{playrandomgame:z="false"}=t,{visiblegames:Y="10"}=t,{integratedgameframedesktop:V="false"}=t,{integratedgameframemobile:Z="false"}=t,{gamepagemodalurl:J="false"}=t,{enablecasinowinners:K=""}=t,{tabsorder:X=""}=t,{enableautoscroll:q=""}=t,{istopavailable:Q=""}=t,{isrecentavailable:ee=""}=t,{periodrecent:te=""}=t,{periodtop:ne=""}=t,{numberusersrecent:re=""}=t,{numberuserstop:ie=""}=t,{amountlimit:ae=""}=t,{defaultcurrency:oe=""}=t,{enablejackpotbanner:se=""}=t,{caticon0:le=""}=t,{caticon1:ce=""}=t,{caticon2:de=""}=t,{caticon3:ue=""}=t,{backgroundsrc:he=""}=t,{backgroundsrcmobile:pe=""}=t,{titlelogopath:me=""}=t,{iconlabels:ge=""}=t,{visualstructure:fe=""}=t,{showsubgroups:ye="false"}=t,{enablecollections:be=""}=t,{type:ve=""}=t,{titletype:we=""}=t,{randombuttonicon:xe=""}=t,L=!1,I=!1,G="Loading, please wait ...",P="",Ce=window.navigator.userAgent,B=0,$e=!1;var Se,Fe;({withLocale:Se,translations:Fe}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(Fe),ft.set(Se))});const ke=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":($e=e.data.scrollTop)&&(B||n(60,B="PC"===bt(Ce)?parseInt(_):parseInt(E)),window.scrollTo({top:B}));break;case"UserSessionID":n(59,P=e.data.session),e.data.userID;break;case"CategoryChange":n(1,T=e.data.itemId)}};return wt(()=>(window.addEventListener("message",ke,!1),n(60,B="PC"===bt(Ce)?parseInt(_):parseInt(E)),()=>{window.removeEventListener("message",ke)})),e.$$set=e=>{"endpoint"in e&&n(62,s=e.endpoint),"datasource"in e&&n(63,l=e.datasource),"lang"in e&&n(64,c=e.lang),"session"in e&&n(65,d=e.session),"userid"in e&&n(2,u=e.userid),"opsession"in e&&n(66,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,g=e.clockformat),"lobbyid"in e&&n(6,f=e.lobbyid),"currency"in e&&n(0,y=e.currency),"filteredcategories"in e&&n(7,b=e.filteredcategories),"loginurl"in e&&n(67,v=e.loginurl),"registerurl"in e&&n(68,w=e.registerurl),"depositurl"in e&&n(69,x=e.depositurl),"loginevent"in e&&n(8,C=e.loginevent),"registerevent"in e&&n(9,$=e.registerevent),"depositevent"in e&&n(10,S=e.depositevent),"mostplayed"in e&&n(11,F=e.mostplayed),"mostplayedrounds"in e&&n(12,A=e.mostplayedrounds),"lastplayed"in e&&n(13,k=e.lastplayed),"lastplayedperiod"in e&&n(14,R=e.lastplayedperiod),"favorites"in e&&n(15,M=e.favorites),"desktopoffset"in e&&n(70,_=e.desktopoffset),"mobileoffset"in e&&n(71,E=e.mobileoffset),"alternativesearch"in e&&n(16,D=e.alternativesearch),"containermaxwidth"in e&&n(17,H=e.containermaxwidth),"haspanicbutton"in e&&n(18,N=e.haspanicbutton),"activecategory"in e&&n(1,T=e.activecategory),"actionevent"in e&&n(19,O=e.actionevent),"livecasino"in e&&n(20,j=e.livecasino),"playforfun"in e&&n(21,U=e.playforfun),"gamemodal"in e&&n(22,W=e.gamemodal),"playrandomgame"in e&&n(23,z=e.playrandomgame),"visiblegames"in e&&n(24,Y=e.visiblegames),"integratedgameframedesktop"in e&&n(25,V=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(26,Z=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(27,J=e.gamepagemodalurl),"enablecasinowinners"in e&&n(28,K=e.enablecasinowinners),"tabsorder"in e&&n(29,X=e.tabsorder),"enableautoscroll"in e&&n(30,q=e.enableautoscroll),"istopavailable"in e&&n(31,Q=e.istopavailable),"isrecentavailable"in e&&n(32,ee=e.isrecentavailable),"periodrecent"in e&&n(33,te=e.periodrecent),"periodtop"in e&&n(34,ne=e.periodtop),"numberusersrecent"in e&&n(35,re=e.numberusersrecent),"numberuserstop"in e&&n(36,ie=e.numberuserstop),"amountlimit"in e&&n(37,ae=e.amountlimit),"defaultcurrency"in e&&n(38,oe=e.defaultcurrency),"enablejackpotbanner"in e&&n(39,se=e.enablejackpotbanner),"caticon0"in e&&n(40,le=e.caticon0),"caticon1"in e&&n(41,ce=e.caticon1),"caticon2"in e&&n(42,de=e.caticon2),"caticon3"in e&&n(43,ue=e.caticon3),"backgroundsrc"in e&&n(44,he=e.backgroundsrc),"backgroundsrcmobile"in e&&n(45,pe=e.backgroundsrcmobile),"titlelogopath"in e&&n(46,me=e.titlelogopath),"iconlabels"in e&&n(47,ge=e.iconlabels),"visualstructure"in e&&n(72,fe=e.visualstructure),"showsubgroups"in e&&n(48,ye=e.showsubgroups),"enablecollections"in e&&n(49,be=e.enablecollections),"type"in e&&n(50,ve=e.type),"titletype"in e&&n(51,we=e.titletype),"randombuttonicon"in e&&n(52,xe=e.randombuttonicon)},e.$$.update=()=>{if(4&e.$$.dirty[2]&&c&&Qr(c),4&e.$$.dirty[0]|9&e.$$.dirty[2]&&d&&u&&s&&qr(s,d).then(e=>{n(59,P=e.Guid),e.UserID,n(0,y=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),43008&e.$$.dirty[0]|7&e.$$.dirty[2]&&s&&l&&c&&F&&k&&M&&(s||(n(58,G="Endpoint is missing! Please provide a valid endpointURL."),n(57,I=!0),console.error(G)),l||(n(58,G="Datasource is missing! Please provide a valid datasource."),n(57,I=!0),console.error(G)),(!c||c.length<2)&&(n(58,G="Language is missing! Please provide a valid language (alpha2code)"),n(57,I=!0),console.error(G)),Qr(c),n(53,r=s),n(54,i=l),n(55,a=c),n(57,I=!1)),16&e.$$.dirty[2]&&h&&n(59,P=h),8&e.$$.dirty[0]&&p){let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)}if(16&e.$$.dirty[0]&&m){n(56,L=!0);let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(56,L=!1)},500))})}},[y,T,u,p,m,g,f,b,C,$,S,F,A,k,R,M,D,H,N,O,j,U,W,z,Y,V,Z,J,K,X,q,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,de,ue,he,pe,me,ge,ye,be,ve,we,xe,r,i,a,L,I,G,P,B,o,s,l,c,d,h,v,w,x,_,E,fe,function(e){gt[e?"unshift":"push"](()=>{o=e,n(61,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},pl,hl,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,loginurl:35,registerurl:36,depositurl:37,loginevent:38,registerevent:39,depositevent:40,clockformat:41,haspanicbutton:0,playforfun:42,checksession:43,gamebanneractive:1,gameid:44},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get loginurl(){return this.$$.ctx[35]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[36]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[37]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[38]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[39]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[40]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[41]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[42]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[43]}set checksession(e){this.$$set({checksession:e}),f()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),f()}get gameid(){return this.$$.ctx[44]}set gameid(e){this.$$set({gameid:e}),f()}});class vl extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},bl,yl,t,{endpoint:62,datasource:63,lang:64,session:65,userid:2,opsession:66,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:0,filteredcategories:7,loginurl:67,registerurl:68,depositurl:69,loginevent:8,registerevent:9,depositevent:10,mostplayed:11,mostplayedrounds:12,lastplayed:13,lastplayedperiod:14,favorites:15,desktopoffset:70,mobileoffset:71,alternativesearch:16,containermaxwidth:17,haspanicbutton:18,activecategory:1,actionevent:19,livecasino:20,playforfun:21,gamemodal:22,playrandomgame:23,visiblegames:24,integratedgameframedesktop:25,integratedgameframemobile:26,gamepagemodalurl:27,enablecasinowinners:28,tabsorder:29,enableautoscroll:30,istopavailable:31,isrecentavailable:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,enablejackpotbanner:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:72,showsubgroups:48,enablecollections:49,type:50,titletype:51,randombuttonicon:52},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","lastplayed","lastplayedperiod","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","enablejackpotbanner","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","showsubgroups","enablecollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[62]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[63]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[64]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[65]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[66]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),f()}get filteredcategories(){return this.$$.ctx[7]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get loginurl(){return this.$$.ctx[67]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[68]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[69]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[8]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[9]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[10]}set depositevent(e){this.$$set({depositevent:e}),f()}get mostplayed(){return this.$$.ctx[11]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[12]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayed(){return this.$$.ctx[13]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[14]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),f()}get desktopoffset(){return this.$$.ctx[70]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[71]}set mobileoffset(e){this.$$set({mobileoffset:e}),f()}get alternativesearch(){return this.$$.ctx[16]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get containermaxwidth(){return this.$$.ctx[17]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get haspanicbutton(){return this.$$.ctx[18]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[19]}set actionevent(e){this.$$set({actionevent:e}),f()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),f()}get playforfun(){return this.$$.ctx[21]}set playforfun(e){this.$$set({playforfun:e}),f()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(e){this.$$set({gamemodal:e}),f()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get visiblegames(){return this.$$.ctx[24]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[25]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[26]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[27]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[28]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get tabsorder(){return this.$$.ctx[29]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[30]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[31]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[32]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get enablejackpotbanner(){return this.$$.ctx[39]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[72]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get showsubgroups(){return this.$$.ctx[48]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get enablecollections(){return this.$$.ctx[49]}set enablecollections(e){this.$$set({enablecollections:e}),f()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[52]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",vl),vl});
|
|
32
|
+
`},V,Z,J,b,v,C,ee,S,F,k,M,_,E,T,L,I,he,pe,function(e){gt[e?"unshift":"push"](()=>{a=e,o(17,a)})},()=>fe(x),()=>ge(x),()=>fe(x),function(e){gt[e?"unshift":"push"](()=>{y=e,o(12,y)})},function(e){gt[e?"unshift":"push"](()=>{s=e,o(18,s)})}]}function Qi(e,t,n){const r=e.slice();return r[75]=t[n],r[77]=n,r}function ea(e,t,n){const r=e.slice();return r[75]=t[n],r[78]=t,r[77]=n,r}function ta(e,t,n){const r=e.slice();return r[75]=t[n],r[77]=n,r}function na(e){let n;function r(e){return e[14]?oa:e[24]?aa:void 0}let i=r(e),a=i&&i(e);return{c(){n=pe("div"),a&&a.c()},m(e,t){ue(e,n,t),a&&a.m(n,null)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a&&a.d(1),(a=i&&i(e))&&(a.c(),a.m(n,null)))},d(e){e&&he(n),a&&a.d()}}}function ra(e){let n,r,i;function a(e){return e[18]?Sa:e[15].length?Ca:$a}let o=a(e),s=o(e);function l(e){return e[15]?ka:Fa}let c=l(e),d=c(e);return{c(){n=pe("div"),r=pe("div"),s.c(),i=ge(),d.c(),fe(r,"class","CasinoGamesHeader Searched "+(yt(e[30])?"CasinoGamesHeaderMobile":"")),fe(r,"part","CasinoGamesHeader Searched "+(yt(e[30])?"CasinoGamesHeaderMobile":"")),fe(n,"class","CasinoGamesContainer"),fe(n,"part","CasinoGamesContainer")},m(e,t){ue(e,n,t),de(n,r),s.m(r,null),de(n,i),d.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),(s=o(e))&&(s.c(),s.m(r,null))),c===(c=l(e))&&d?d.p(e,t):(d.d(1),(d=c(e))&&(d.c(),d.m(n,null)))},d(e){e&&he(n),s.d(),d.d()}}}function ia(e){let n;function r(e){return e[20]?Ta:Ea}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i!==(i=r(e))&&(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function aa(n){let r,i,a,o,s,l,c,d,u=n[29]("gamesCategorySection.favorites")+"";function h(e){return e[28]?la:sa}let p=h(n),m=p(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(u),s=ge(),l=pe("ul"),m.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(l,"class",c=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(l,"part",d=(0!=n[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),n[47](a),de(r,s),de(r,l),m.m(l,null),n[48](l)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.favorites")+"")&&ye(o,u),p===(p=h(e))&&m?m.p(e,t):(m.d(1),(m=p(e))&&(m.c(),m.m(l,null))),268435456&t[0]&&c!==(c=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"class",c),268435456&t[0]&&d!==(d=(0!=e[28].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&fe(l,"part",d)},d(e){e&&he(r),n[47](null),m.d(),n[48](null)}}}function oa(n){let r,i,a,o,s,l,c=n[14].name+"",d=n[16]&&ba(n);function u(e){return 0!==e[15].length?wa:va}let h=u(n),p=h(n);return{c(){r=pe("div"),i=pe("div"),a=pe("h3"),o=me(c),s=ge(),d&&d.c(),l=ge(),p.c(),fe(a,"class","CategoryName"),fe(a,"part","CategoryName"),fe(i,"class","CasinoGamesHeader"),fe(i,"part","CasinoGamesHeader"),fe(r,"class","CasinoGamesContainer"),fe(r,"part","CasinoGamesContainer")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),n[43](a),de(i,s),d&&d.m(i,null),de(r,l),p.m(r,null)},p(e,t){16384&t[0]&&c!==(c=e[14].name+"")&&ye(o,c),e[16]?d?d.p(e,t):((d=ba(e)).c(),d.m(i,null)):d&&(d.d(1),d=null),h===(h=u(e))&&p?p.p(e,t):(p.d(1),(p=h(e))&&(p.c(),p.m(r,null)))},d(e){e&&he(r),n[43](null),d&&d.d(),p.d()}}}function sa(e){let n,r,i=e[29]("gamesCategorySection.waiting")+"";return{c(){n=pe("p"),r=me(i)},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.waiting")+"")&&ye(r,i)},d(e){e&&he(n)}}}function la(t){let r,i=t[28].items,a=[];for(let e=0;e<i.length;e+=1)a[e]=ya(Qi(t,i,e));let o=null;return i.length||(o=ca(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();r=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);ue(t,r,n),o&&o.m(t,n)},p(t,n){if(2097156095&n[0]){let e;for(i=t[28].items,e=0;e<i.length;e+=1){const o=Qi(t,i,e);a[e]?a[e].p(o,n):(a[e]=ya(o),a[e].c(),a[e].m(r.parentNode,r))}for(;e<a.length;e+=1)a[e].d(1);a.length=i.length,!i.length&&o?o.p(t,n):i.length?o&&(o.d(1),o=null):((o=ca(t)).c(),o.m(r.parentNode,r))}},d(e){G(a,e),e&&he(r),o&&o.d(e)}}}function ca(e){let n,r,i,a,o,s,l,c,t,d,u=e[29]("gamesCategorySection.noFavoritesTitle")+"",h=(m=e,yt(m[30])?ua:da),p=h(e);var m;return{c(){n=pe("p"),r=k("svg"),i=k("path"),a=ge(),o=pe("span"),s=me(u),l=ge(),p.c(),c=ge(),P(i,"fill","white"),fe(i,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(r,"version","1.1"),fe(r,"class","UnfavoredIcon"),fe(r,"part","UnfavoredIcon"),fe(r,"xmlns","http://www.w3.org/2000/svg"),fe(r,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(r,"x","50px"),fe(r,"y","50px"),fe(r,"viewBox","0 0 512.001 512.001"),P(r,"enable-background","new 0 0 512.001 512.001"),fe(r,"xml:space","preserve"),fe(o,"class","NoFavoriteText NoFavoriteTextHighlight"),fe(o,"part","NoFavoriteText NoFavoriteTextHighlight"),fe(n,"class",t="NoFavoriteGames "+(yt(e[30])?"NoFavoriteGamesMobile":"")),fe(n,"part",d="NoFavoriteGames "+(yt(e[30])?"NoFavoriteGamesMobile":""))},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(n,a),de(n,o),de(o,s),de(n,l),p.m(n,null),de(n,c)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.noFavoritesTitle")+"")&&ye(s,u),p.p(e,t)},d(e){e&&he(n),p.d()}}}function da(e){let n,r,i=e[29]("gamesCategorySection.noFavorites")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavorites")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ua(e){let n,r,i=e[29]("gamesCategorySection.noFavoritesMobile")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","NoFavoriteText"),fe(n,"part","NoFavoriteText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noFavoritesMobile")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ha(e){let n,r=e[75].gameModel.isFavorite&&pa(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[75].gameModel.isFavorite?r?r.p(e,t):((r=pa(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function pa(e){let n,r=function(e){let n,r,i;function a(e,t){return 268435456&t[0]&&(r=null),(n=null==n?!!yt(e[30]):n)?ga:(r=null==r?!!e[75].gameModel.platform.includes("PC"):r)?ma:void 0}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),i=c()},m(e,t){s&&s.m(e,t),ue(e,i,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),(s=o&&o(e))&&(s.c(),s.m(i.parentNode,i)))},d(e){s&&s.d(e),e&&he(i)}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function ma(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(x+(e[75].cellSize||"1x1"))),w(n,"part",i=""+(x+(e[75].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[75].gameModel.thumbnail),w(n,"gamename",o=e[75].gameModel.name),w(n,"gamevendor",s=e[75].gameModel.vendor.name),w(n,"gameisnew",l=e[75].gameModel.isNew),w(n,"gamepopularity",c=e[75].gameModel.popularity),w(n,"gamecellsize",d=e[75].cellSize),w(n,"gameid",u=e[75].gameModel.id),w(n,"gamefunmode",h=e[75].gameModel.hasFunMode),w(n,"gamefavorite",p=e[75].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",m=1==e[26][e[75].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[75].gameModel.details?e[75].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(x+(e[75].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&i!==(i=""+(x+(e[75].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[75].gameModel.thumbnail)&&w(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[75].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[75].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[75].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[75].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&d!==(d=e[75].cellSize)&&w(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[75].gameModel.id)&&w(n,"gameid",u),268435456&t[0]&&h!==(h=e[75].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[75].gameModel.isFavorite)&&w(n,"gamefavorite",p),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&m!==(m=1==e[26][e[75].id]?"connect":"disconnect")&&w(n,"connectlive",m),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[75].gameModel.details?e[75].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function ga(e){let n,r=e[75].gameModel.platform.includes("iPad")||e[75].gameModel.platform.includes("iPhone")||e[75].gameModel.platform.includes("Android"),i=r&&fa(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),ue(e,n,t)},p(e,t){(r=268435456&t[0]?e[75].gameModel.platform.includes("iPad")||e[75].gameModel.platform.includes("iPhone")||e[75].gameModel.platform.includes("Android"):r)?i?i.p(e,t):((i=fa(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&he(n)}}}function fa(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(x+(e[75].cellSize||"1x1"))),w(n,"part",i=""+(x+(e[75].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[75].gameModel.thumbnail),w(n,"gamename",o=e[75].gameModel.name),w(n,"gamevendor",s=e[75].gameModel.vendor.name),w(n,"gameisnew",l=e[75].gameModel.isNew),w(n,"gamepopularity",c=e[75].gameModel.popularity),w(n,"gamecellsize",d=e[75].cellSize),w(n,"gameid",u=e[75].gameModel.id),w(n,"gamefunmode",h=e[75].gameModel.hasFunMode),w(n,"gamefavorite",p=e[75].gameModel.isFavorite),w(n,"showfavoredcategory",e[24]),w(n,"connectlive",m=1==e[26][e[75].id]?"connect":"disconnect"),w(n,"visibilityconnect",e[27]),w(n,"currency",e[7]),w(n,"livelobbyendpoint",g=e[75].gameModel.details?e[75].gameModel.launchUrl:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){268435456&t[0]&&r!==(r=""+(x+(e[75].cellSize||"1x1")))&&w(n,"class",r),268435456&t[0]&&i!==(i=""+(x+(e[75].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),16&t[0]&&w(n,"favorites",e[4]),268435456&t[0]&&a!==(a=e[75].gameModel.thumbnail)&&w(n,"gamethumbnail",a),268435456&t[0]&&o!==(o=e[75].gameModel.name)&&w(n,"gamename",o),268435456&t[0]&&s!==(s=e[75].gameModel.vendor.name)&&w(n,"gamevendor",s),268435456&t[0]&&l!==(l=e[75].gameModel.isNew)&&w(n,"gameisnew",l),268435456&t[0]&&c!==(c=e[75].gameModel.popularity)&&w(n,"gamepopularity",c),268435456&t[0]&&d!==(d=e[75].cellSize)&&w(n,"gamecellsize",d),268435456&t[0]&&u!==(u=e[75].gameModel.id)&&w(n,"gameid",u),268435456&t[0]&&h!==(h=e[75].gameModel.hasFunMode)&&w(n,"gamefunmode",h),268435456&t[0]&&p!==(p=e[75].gameModel.isFavorite)&&w(n,"gamefavorite",p),16777216&t[0]&&w(n,"showfavoredcategory",e[24]),335544320&t[0]&&m!==(m=1==e[26][e[75].id]?"connect":"disconnect")&&w(n,"connectlive",m),134217728&t[0]&&w(n,"visibilityconnect",e[27]),128&t[0]&&w(n,"currency",e[7]),268435456&t[0]&&g!==(g=e[75].gameModel.details?e[75].gameModel.launchUrl:"")&&w(n,"livelobbyendpoint",g),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function ya(e){let n,r=e[75].gameModel&&ha(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[75].gameModel?r?r.p(e,t):((r=ha(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function ba(n){let r,i,a,o,s,l,c,d,u=n[29]("gamesCategorySection.viewAll")+"",h=n[14].games.total+"";return{c(){r=pe("a"),i=pe("span"),a=me(u),o=me(" ("),s=me(h),l=me(")"),fe(i,"class","CategoryLoadMore"),fe(i,"part","CategoryLoadMore"),fe(r,"class","CategoryNameLink"),fe(r,"part","CategoryNameLink")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),de(i,l),c||(d=K(r,"click",n[44]),c=!0)},p(e,t){536870912&t[0]&&u!==(u=e[29]("gamesCategorySection.viewAll")+"")&&ye(a,u),16384&t[0]&&h!==(h=e[14].games.total+"")&&ye(s,h)},d(e){e&&he(r),c=!1,d()}}}function va(e){let n;return{c(){(n=pe("p")).textContent="You don't have any games in this category.",fe(n,"class","NoSearchResults"),fe(n,"part","NoSearchResults")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function wa(n){let r,e,i,a=n[15],o=[];for(let e=0;e<a.length;e+=1)o[e]=xa(ea(n,a,e));return{c(){r=pe("ul");for(let e=0;e<o.length;e+=1)o[e].c();fe(r,"class",e=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap"),fe(r,"part",i=(0===n[28].items.length&&n[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){ue(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[46](r)},p(t,n){if(201367551&n[0]){let e;for(a=t[15],e=0;e<a.length;e+=1){const i=ea(t,a,e);o[e]?o[e].p(i,n):(o[e]=xa(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}285212672&n[0]&&e!==(e=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"class",e),285212672&n[0]&&i!==(i=(0===t[28].items.length&&t[24]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&fe(r,"part",i)},d(e){e&&he(r),G(o,e),n[46](null)}}}function xa(e){let n,r=function(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y=n[77];const b=()=>n[45](r,y),v=()=>n[45](null,y);return{c(){w(r=pe("casino-game-thumbnail"),"session",n[2]),w(r,"userid",n[3]),w(r,"lang",n[1]),w(r,"class",i=""+(x+(n[75].cellSize||"1x1"))),w(r,"part",a=""+(x+(n[75].cellSize||"1x1"))),w(r,"favorites",n[4]),w(r,"gamethumbnail",o=n[75].thumbnail),w(r,"gamename",s=n[75].name),w(r,"gamevendor",l=n[75].vendor.name),w(r,"gameisnew",c=n[75].isNew),w(r,"gamepopularity",d=n[75].popularity),w(r,"gamecellsize",u=n[75].cellSize),w(r,"gameid",h=n[75].id),w(r,"gamefunmode",p=n[75].hasFunMode),w(r,"gamefavorite",m=n[75].isFavorite),w(r,"connectlive",g=1==n[26][n[75].id]?"connect":"disconnect"),w(r,"visibilityconnect",n[27]),w(r,"currency",n[7]),w(r,"livelobbyendpoint",f=n[75].details?n[75].href:""),w(r,"clientstyling",n[5]),w(r,"clientstylingurl",n[6]),w(r,"endpoint",n[0]),w(r,"livecasino",n[8]),w(r,"gamepagemodalurl",n[9]),w(r,"integratedgameframedesktop",n[10]),w(r,"integratedgameframemobile",n[11])},m(e,t){ue(e,r,t),b()},p(e,t){n=e,4&t[0]&&w(r,"session",n[2]),8&t[0]&&w(r,"userid",n[3]),2&t[0]&&w(r,"lang",n[1]),32768&t[0]&&i!==(i=""+(x+(n[75].cellSize||"1x1")))&&w(r,"class",i),32768&t[0]&&a!==(a=""+(x+(n[75].cellSize||"1x1")))&&w(r,"part",a),16&t[0]&&w(r,"favorites",n[4]),32768&t[0]&&o!==(o=n[75].thumbnail)&&w(r,"gamethumbnail",o),32768&t[0]&&s!==(s=n[75].name)&&w(r,"gamename",s),32768&t[0]&&l!==(l=n[75].vendor.name)&&w(r,"gamevendor",l),32768&t[0]&&c!==(c=n[75].isNew)&&w(r,"gameisnew",c),32768&t[0]&&d!==(d=n[75].popularity)&&w(r,"gamepopularity",d),32768&t[0]&&u!==(u=n[75].cellSize)&&w(r,"gamecellsize",u),32768&t[0]&&h!==(h=n[75].id)&&w(r,"gameid",h),32768&t[0]&&p!==(p=n[75].hasFunMode)&&w(r,"gamefunmode",p),32768&t[0]&&m!==(m=n[75].isFavorite)&&w(r,"gamefavorite",m),67141632&t[0]&&g!==(g=1==n[26][n[75].id]?"connect":"disconnect")&&w(r,"connectlive",g),134217728&t[0]&&w(r,"visibilityconnect",n[27]),128&t[0]&&w(r,"currency",n[7]),32768&t[0]&&f!==(f=n[75].details?n[75].href:"")&&w(r,"livelobbyendpoint",f),32&t[0]&&w(r,"clientstyling",n[5]),64&t[0]&&w(r,"clientstylingurl",n[6]),1&t[0]&&w(r,"endpoint",n[0]),256&t[0]&&w(r,"livecasino",n[8]),512&t[0]&&w(r,"gamepagemodalurl",n[9]),1024&t[0]&&w(r,"integratedgameframedesktop",n[10]),2048&t[0]&&w(r,"integratedgameframemobile",n[11]),y!==n[77]&&(v(),y=n[77],b())},d(e){e&&he(r),v()}}}(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){r.p(e,t)},d(e){r&&r.d(e),e&&he(n)}}}function Ca(e){let n,r,i=e[29]("gamesCategorySection.searchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.searchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function $a(e){let n,r,i=e[29]("gamesCategorySection.noResults")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.noResults")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Sa(e){let n,r,i=e[29]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=pe("h3"),r=me(i),fe(n,"class","StatusText"),fe(n,"part","StatusText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&i!==(i=e[29]("gamesCategorySection.recentSearchedItems")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Fa(e){let n;return{c(){(n=pe("p")).textContent="Waiting",fe(n,"class","SearchWaiting"),fe(n,"part","SearchWaiting")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function ka(t){let r,i,a=!t[21]&&Ma(t),o=t[15],s=[];for(let e=0;e<o.length;e+=1)s[e]=_a(ta(t,o,e));return{c(){a&&a.c(),r=ge(),i=pe("ul");for(let e=0;e<s.length;e+=1)s[e].c();fe(i,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap"),fe(i,"part","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),ue(e,r,t),ue(e,i,t);for(let e=0;e<s.length;e+=1)s[e].m(i,null)},p(t,n){if(t[21]?a&&(a.d(1),a=null):a?a.p(t,n):((a=Ma(t)).c(),a.m(r.parentNode,r)),561151&n[0]){let e;for(o=t[15],e=0;e<o.length;e+=1){const a=ta(t,o,e);s[e]?s[e].p(a,n):(s[e]=_a(a),s[e].c(),s[e].m(i,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&he(r),e&&he(i),G(s,e)}}}function Ma(e){let n,r,t,i,a=e[29]("gamesCategorySection.noRecentSearch")+"";return{c(){n=pe("p"),r=me(a),fe(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(yt(e[30])?"NoRecentSearchesMobile":"")),fe(n,"part",i="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(yt(e[30])?"NoRecentSearchesMobile":""))},m(e,t){ue(e,n,t),de(n,r)},p(e,t){536870912&t[0]&&a!==(a=e[29]("gamesCategorySection.noRecentSearch")+"")&&ye(r,a)},d(e){e&&he(n)}}}function _a(e){let n,r,i,a,o,s,l,c,d,u,h,p,m;return{c(){w(n=pe("casino-game-thumbnail"),"class",r=""+(x+(e[75].cellSize||"1x1"))),w(n,"part",i=""+(x+(e[75].cellSize||"1x1"))),w(n,"session",e[2]),w(n,"userid",e[3]),w(n,"lang",e[1]),w(n,"searchitem",e[19]),w(n,"favorites",e[4]),w(n,"gamethumbnail",a=e[75].thumbnail),w(n,"gamename",o=e[75].name),w(n,"gamevendor",s=e[75].vendor.name),w(n,"gameisnew",l=e[75].isNew),w(n,"gamepopularity",c=e[75].popularity),w(n,"gamecellsize",d=e[75].cellSize),w(n,"gameid",u=e[75].id),w(n,"gamefunmode",h=e[75].hasFunMode),w(n,"gamefavorite",p=e[75].isFavorite),w(n,"currency",e[7]),w(n,"livelobbyendpoint",m=e[75].details?e[75].href:""),w(n,"clientstyling",e[5]),w(n,"clientstylingurl",e[6]),w(n,"endpoint",e[0]),w(n,"livecasino",e[8]),w(n,"gamepagemodalurl",e[9]),w(n,"integratedgameframedesktop",e[10]),w(n,"integratedgameframemobile",e[11])},m(e,t){ue(e,n,t)},p(e,t){32768&t[0]&&r!==(r=""+(x+(e[75].cellSize||"1x1")))&&w(n,"class",r),32768&t[0]&&i!==(i=""+(x+(e[75].cellSize||"1x1")))&&w(n,"part",i),4&t[0]&&w(n,"session",e[2]),8&t[0]&&w(n,"userid",e[3]),2&t[0]&&w(n,"lang",e[1]),524288&t[0]&&w(n,"searchitem",e[19]),16&t[0]&&w(n,"favorites",e[4]),32768&t[0]&&a!==(a=e[75].thumbnail)&&w(n,"gamethumbnail",a),32768&t[0]&&o!==(o=e[75].name)&&w(n,"gamename",o),32768&t[0]&&s!==(s=e[75].vendor.name)&&w(n,"gamevendor",s),32768&t[0]&&l!==(l=e[75].isNew)&&w(n,"gameisnew",l),32768&t[0]&&c!==(c=e[75].popularity)&&w(n,"gamepopularity",c),32768&t[0]&&d!==(d=e[75].cellSize)&&w(n,"gamecellsize",d),32768&t[0]&&u!==(u=e[75].id)&&w(n,"gameid",u),32768&t[0]&&h!==(h=e[75].hasFunMode)&&w(n,"gamefunmode",h),32768&t[0]&&p!==(p=e[75].isFavorite)&&w(n,"gamefavorite",p),128&t[0]&&w(n,"currency",e[7]),32768&t[0]&&m!==(m=e[75].details?e[75].href:"")&&w(n,"livelobbyendpoint",m),32&t[0]&&w(n,"clientstyling",e[5]),64&t[0]&&w(n,"clientstylingurl",e[6]),1&t[0]&&w(n,"endpoint",e[0]),256&t[0]&&w(n,"livecasino",e[8]),512&t[0]&&w(n,"gamepagemodalurl",e[9]),1024&t[0]&&w(n,"integratedgameframedesktop",e[10]),2048&t[0]&&w(n,"integratedgameframemobile",e[11])},d(e){e&&he(n)}}}function Ea(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Ta(e){let n;return{c(){(n=pe("p")).textContent="404 Error - No result found.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function La(n){let r;function i(e){return e[13]?ia:e[17]?ra:na}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"class","CasinoGamesCategorySectionContainer"),fe(r,"part","CasinoGamesCategorySectionContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[49](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[49](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GameContainer{width:100%;height:100%;position:relative}.GameInnerContainer{position:relative;width:100%;height:100%;overflow:hidden;border-radius:5px}.GameInnerContainer .GameBg{width:100%;height:100%;object-fit:unset;transition:all 150ms ease-in-out}.GameInnerContainer .GameBg.GameBg-1x2,.GameInnerContainer .GameBg.GameBg-2x1,.GameInnerContainer .GameBg.GameBg-2x2{object-fit:cover}.GameInnerContainer .GameInfoWrapper{display:none;position:absolute;width:100%;height:100%;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.65);z-index:15}.GameInnerContainer .GameInfoWrapper .GameInfo{display:flex;width:100%;height:100%;flex-direction:column;align-items:center;justify-content:center}.GameInnerContainer .GameInfoWrapper .GameInfoName{color:white;margin-bottom:10px;text-align:center;font-size:14px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-size:16px;border:2px solid var(--emfe-w-color-primary-600, #99034F);border-radius:5px;cursor:pointer;transition:border 150ms ease-in-out}.GameInnerContainer .GameInfoWrapper .GameInfoBtn:hover{border:2px solid var(--emfe-w-color-primary-100, #F1BED9)}.GameInnerContainer .GameInfoWrapper .GameInfoVendor{display:block;position:absolute;bottom:8px;right:8px;color:white;font-size:12px;font-weight:normal}.GameInnerContainer:hover{cursor:pointer}.GameInnerContainer:hover .GameInfoWrapper{display:block}.GameInnerContainer:hover .GameBg{filter:blur(5px) grayscale(1)}.GameInnerContainer .GameExtraInfo{display:block;position:absolute;width:100%;height:100%;top:8px;left:8px;z-index:0}.GameInnerContainer .GameExtraInfoLabel{font-size:11px;padding:3px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:5px}.GameNameBelow{color:var(--emfe-w-color-white, #FFFFFF);position:relative;bottom:-5px;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.FavoredIcon,.UnfavoredIcon{width:20px;height:20px}.FavIconContainer{position:absolute;top:10px;right:10px;cursor:pointer;z-index:15}@media(min-width: 1100px){.GamesWrapper .ListGame:hover .GamePlayNowText{z-index:4}}.ListGame:hover .OpenSeat,.ListGame:hover .ClosedSeat,.ListGame:hover .LiveLimits,.ListGame:hover .LatestResult,.ListGame:hover .FullTable,.ListGame:active .OpenSeat,.ListGame:active .ClosedSeat,.ListGame:active .LiveLimits,.ListGame:active .LatestResult,.ListGame:active .FullTable{opacity:.2}.ListGame.GameBackdrop .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.ListGame .GameInnerContainer{z-index:0}.ListGame .GameInnerContainer .GameBg{z-index:5}.ListGame .GameInnerContainer .GameExtraInfo{z-index:10}.ListGame .GameInnerContainer::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0}.ListGame .GameInnerContainer.GameInnerContainerUnavailable::after{content:'';position:absolute;top:0;right:0;bottom:0;left:0;background:rgba(0, 0, 0, 0.9)}.ListGame .GameInnerContainer .ListGame.GameContainerDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.4);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .ListGame.GameContainerFullyDimmed:before{display:block;content:' ';width:100%;height:100%;position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:rgba(0, 0, 0, 0.8);color:var(--emfe-w-color-white, #FFFFFF);fill:var(--emfe-w-color-white, #FFFFFF);opacity:1;border-radius:4px}.ListGame .GameInnerContainer .LiveProps{display:flex;flex-direction:column;position:absolute;bottom:8px;left:-8px;right:0;width:100%;padding:0;background:linear-gradient(to top, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.2) 60%, rgba(0, 0, 0, 0.3) 80%, rgba(0, 0, 0, 0.99) 100%);color:var(--emfe-w-color-white, #FFFFFF);opacity:1;font-size:14px}.ListGame .GameInnerContainer .ListGame:hover .LiveProps,.ListGame .GameInnerContainer .ListGameLink:hover .LiveProps{opacity:0}@keyframes red-pulse{0%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}15%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}30%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}50%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}65%{box-shadow:0 0 2px 0 rgba(255, 0, 0, 0.75)}80%{box-shadow:0 0 10px 2px rgba(255, 0, 0, 0.75)}100%{box-shadow:0 0 0 0 rgba(255, 0, 0, 0.75)}}@keyframes green-pulse{0%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}15%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}30%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}50%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}65%{box-shadow:0 0 2px 0 rgba(86, 168, 10, 0.75)}80%{box-shadow:0 0 10px 2px rgba(86, 168, 10, 0.75)}100%{box-shadow:0 0 0 0 rgba(86, 168, 10, 0.75)}}@keyframes flip-open{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .silde-in-from-left{-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@-webkit-keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes silde-in-from-left{0%{-webkit-transform:translateX(-100%);transform:translateX(-100%);visibility:visible}100%{-webkit-transform:translateX(0);transform:translateX(0)}}@keyframes flip-closed-seat{0%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 90deg);transform:perspective(400px) rotate3d(0, 1, 0, 90deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in;opacity:0}40%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -20deg);transform:perspective(400px) rotate3d(0, 1, 0, -20deg);-webkit-transition-timing-function:ease-in;transition-timing-function:ease-in}60%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, 10deg);transform:perspective(400px) rotate3d(0, 1, 0, 10deg);opacity:1}80%{-webkit-transform:perspective(400px) rotate3d(0, 1, 0, -5deg);transform:perspective(400px) rotate3d(0, 1, 0, -5deg)}100%{-webkit-transform:perspective(400px);transform:perspective(400px)}}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow,.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{overflow:auto}.ListGame .GameInnerContainer .ListGame.PulsatingGreenShadow{animation:green-pulse 2s linear}.ListGame .GameInnerContainer .ListGame.PulsatingRedShadow{animation:red-pulse 2s linear}.ListGame .GameInnerContainer .LiveIcons{position:relative;display:flex;padding:0 16px;box-sizing:border-box;flex-direction:row;align-items:center;justify-content:flex-start;min-height:auto;margin-bottom:5px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons{min-height:auto}}.ListGame .GameInnerContainer .LiveIcons:first-child{margin-left:0}.ListGame .GameInnerContainer .LiveIcons:last-child{margin-right:0}.ListGame .GameInnerContainer .LiveIcons.Black,.ListGame .GameInnerContainer .LiveIcons.Red,.ListGame .GameInnerContainer .LiveIcons.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;padding:2px;margin:0 1px;margin-right:6px;font-size:14px;text-align:center}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult{min-width:12px;font-size:14px;margin:0 2px;margin-right:5px;padding:2px}}.ListGame .GameInnerContainer .LiveIcons .LatestResult.FirstElementAnimated{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{min-width:24px;padding:4px}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red,.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{color:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Black{background:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Red{background:red}.ListGame .GameInnerContainer .LiveIcons .LatestResult.First.Green{background:#56A80A}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveIcons .LatestResult.First{padding:4px}}.ListGame .GameInnerContainer .LiveIcons .Double{display:flex;flex-direction:column}.ListGame .GameInnerContainer .LiveIcons .Double .LatestResult:first-child{margin-bottom:10px}.ListGame .GameInnerContainer .LiveIcons .Double:first-child .LatestResult{margin-left:0;margin-bottom:0}.ListGame .GameInnerContainer .LiveIcons .Double:last-child .LatestResult{margin-right:0}.ListGame .GameInnerContainer .LiveIcons .Black,.ListGame .GameInnerContainer .LiveIcons .Red,.ListGame .GameInnerContainer .LiveIcons .Green{background-color:transparent}.ListGame .GameInnerContainer .LiveIcons .Black{color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .LiveIcons .Red{color:red}.ListGame .GameInnerContainer .LiveIcons .Green{color:#56A80A}.ListGame .GameInnerContainer .Blue{color:#4d90a7}.ListGame .GameInnerContainer .Red{background-color:red}.ListGame .GameInnerContainer .Black{background-color:var(--emfe-w-color-black, #000000)}.ListGame .GameInnerContainer .Green{background-color:#56A80A}.ListGame .GameInnerContainer .White{background-color:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .Yellow{background-color:#eeca3d}.ListGame .GameInnerContainer .Gold{background-color:#866d0c}.ListGame .GameInnerContainer .Orange{background-color:#574708}.ListGame .GameInnerContainer .Purple{background-color:#330033}.ListGame .GameInnerContainer .Tie{background-color:var(--emfe-w-color-white, #FFFFFF);background-image:linear-gradient(135deg, var(--emfe-w-color-white, #FFFFFF) 25%, transparent 25%, transparent 50%, #212121 50%, var(--emfe-w-color-white, #FFFFFF) 75%, transparent 75%, var(--emfe-w-color-white, #FFFFFF))}.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{display:inline-block;width:16px;height:16px;margin-right:4px}@media(min-width: 768px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}@media(min-width: 1100px){.ListGame .GameInnerContainer .OpenSeat,.ListGame .GameInnerContainer .ClosedSeat{width:16px;height:16px}}.ListGame .GameInnerContainer .OpenSeat svg,.ListGame .GameInnerContainer .ClosedSeat svg{width:100%;height:100%}.ListGame .GameInnerContainer .OpenSeat{animation:flip-closed-seat 2s both;-webkit-animation:flip-closed-seat 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .ClosedSeat{animation:flip-open 2s both;-webkit-animation:flip-open 2s both;-webkit-backface-visibility:visible;backface-visibility:visible}.ListGame .GameInnerContainer .OpenSeat svg{fill:transparent;stroke:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .ClosedSeat svg{fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable{display:flex;position:relative;z-index:10;height:20px;padding:1px 4px 1px 0;align-items:center;border-radius:3px;font-size:12px;white-space:normal;text-transform:uppercase;-webkit-animation-name:silde-in-from-left;animation-name:silde-in-from-left;-webkit-animation-duration:1s;animation-duration:1s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.ListGame .GameInnerContainer .FullTable svg{width:100%;height:100%;fill:var(--emfe-w-color-white, #FFFFFF)}.ListGame .GameInnerContainer .FullTable.ClosedSeat{margin-right:-3px}.ListGame .GameInnerContainer .PlayersDisplay{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;padding:2px 10px;background:linear-gradient(to bottom, rgba(33, 33, 33, 0.9) 0%, rgba(33, 33, 33, 0.1) 100%);color:var(--emfe-w-color-white, #FFFFFF)}@media(min-width: 1100px){.ListGame .GameInnerContainer .PlayersDisplay{padding:2px 16px}}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon{width:14px;height:14px;margin-right:4px}.ListGame .GameInnerContainer .PlayersDisplay .PlayersIcon svg{fill:var(--emfe-w-color-white, #FFFFFF);width:100%;height:100%}.ListGame .GameInnerContainer .ClosedGame{opacity:1;z-index:10;padding:8px 10px;color:var(--emfe-w-color-white, #FFFFFF);font-size:18px}@media(min-width: 1100px){.ListGame .GameInnerContainer .ClosedGame{padding:8px 16px}}.ListGame .GameInnerContainer .ClosedGame span{font-size:18px}.ListGame .GameInnerContainer .LiveLimits{opacity:1;display:flex;flex-direction:row;justify-content:space-between;padding:2px 20px 5px 20px;background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #FFFFFF);font-weight:normal;font-size:12px}@media(min-width: 1100px){.ListGame .GameInnerContainer .LiveLimits{padding:2px 18px 5px 18px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},qi,Vi,t,{session:47,userid:48,lang:49,clientstyling:50,clientstylingurl:51,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:52,searchitem:53,gamefavorite:0,gamecellsize:8,showfavoredcategory:54,showgamename:9,currency:55,gamepagemodalurl:56,endpoint:57,livelobbyendpoint:58,connectlive:59,visibilityconnect:60,integratedgameframedesktop:61,integratedgameframemobile:62,MONEY_WHEEL_COLOR_MAP:63,ROULETTE_COLOR_MAP:64},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","gamecellsize","showfavoredcategory","showgamename","currency","gamepagemodalurl","endpoint","livelobbyendpoint","connectlive","visibilityconnect","integratedgameframedesktop","integratedgameframemobile","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[47]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[48]}set userid(e){this.$$set({userid:e}),f()}get lang(){return this.$$.ctx[49]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[50]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[51]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),f()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),f()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),f()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),f()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),f()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),f()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),f()}get gamefunmode(){return this.$$.ctx[52]}set gamefunmode(e){this.$$set({gamefunmode:e}),f()}get searchitem(){return this.$$.ctx[53]}set searchitem(e){this.$$set({searchitem:e}),f()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),f()}get gamecellsize(){return this.$$.ctx[8]}set gamecellsize(e){this.$$set({gamecellsize:e}),f()}get showfavoredcategory(){return this.$$.ctx[54]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),f()}get showgamename(){return this.$$.ctx[9]}set showgamename(e){this.$$set({showgamename:e}),f()}get currency(){return this.$$.ctx[55]}set currency(e){this.$$set({currency:e}),f()}get gamepagemodalurl(){return this.$$.ctx[56]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get endpoint(){return this.$$.ctx[57]}set endpoint(e){this.$$set({endpoint:e}),f()}get livelobbyendpoint(){return this.$$.ctx[58]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),f()}get connectlive(){return this.$$.ctx[59]}set connectlive(e){this.$$set({connectlive:e}),f()}get visibilityconnect(){return this.$$.ctx[60]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[61]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[62]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[63]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[64]}});const x="game-tile-";function Ia(e,t,s){let A;vt(e,Kr,e=>s(29,A=e));let n,i,a,r,R,o,l,c,d,u,{categoryindex:D=""}=t,{endpoint:h=""}=t,{datasource:p=""}=t,{lang:m=""}=t,{session:H=""}=t,{userid:N=""}=t,{favorites:g=""}=t,{clientstyling:f=""}=t,{clientstylingurl:y=""}=t,{currency:O=""}=t,{categoryid:b=""}=t,{categorygames:j=0}=t,{livecasino:U="false"}=t,{visiblegames:W=""}=t,{gamepagemodalurl:z="false"}=t,{integratedgameframedesktop:Y="false"}=t,{integratedgameframemobile:V="false"}=t,{once:Z=!0}=t,{top:J=0}=t,{bottom:K=0}=t,{left:X=0}=t,{right:q=0}=t,v=!1,w=!0,Q=window.navigator.userAgent,x=[],C=!0,$=40,S=!1,F=!1,ee=!1,k=!1,M=!1,_=!0,E=!1,T=!1,L=!1,I=new Array(1e4),G={},te="",P={items:[],count:0,name:""},ne=(Object.keys(xi).forEach(e=>{Tr(e,xi[e])}),void 0!==document.hidden?d="hidden":void 0!==document.msHidden?d="msHidden":void 0!==document.webkitHidden&&(d="webkitHidden"),new IntersectionObserver(e=>{e.forEach(async e=>{var t=e.target.gameid,n=e.target.elems_index;e.isIntersecting?(1.2*n>$&&ae(b),s(26,G[t]=1,G)):s(26,G[t]=0,G)})}));const re=(e,r,i,t=0)=>{let n,a="",o=(a=1<(b.match(/\$/g)||[]).length?(n=b.split("$").slice(0,2).join("$"),new URL(`${h}/casino/groups/${p}/${n}/subGroups`)):new URL(`${h}/casino/groups/${p}/`+b),JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")));return new Promise((t,n)=>{if(a.searchParams.delete("pagination"),a.searchParams.append("expand","games(vendor)"),a.searchParams.append("fields","id,name,games"),a.searchParams.append("platform",bt(Q)),a.searchParams.append("pagination",`games(offset=${r},limit=${i})`),a.searchParams.append("language",m),window.postMessage({type:"CategoryVendors",categoryid:b},window.location.href),o&&o[b])if(o[b].length&&!1===w&&!1===E){let t="";s(20,M=!0),o[b].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(20,M=!1);fetch(a).then(e=>e.json()).then(e=>{1<(b.match(/\$/g)||[]).length&&(e=e.items.filter(e=>{if(e.id==b)return e})[0]),s(42,u=!0),s(13,v=!1),R=e.games.total,t(e)},e=>{s(13,v=!0),console.error(e),n(e)})})},ie=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(17,S=!1),w=!1,s(16,C=!1),T=!0,s(15,x=t.data.mostPlayedGames),s(14,a={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"LastPlayedData":s(17,S=!1),w=!1,s(16,C=!1),T=!1,s(15,x=t.data.lastPlayedGames),s(14,a={id:"LASTPLAYED",name:"Last Played Games",games:{count:t.data.lastPlayedGames.length,total:t.data.lastPlayedGames.length,items:t.data.lastPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(17,S=!0),T=!1,s(18,F=!0),0<t.data.searchData.length?(s(15,x=t.data.searchData),s(21,_=!0),x&&x.forEach(e=>{e.isFavorite=B(e.id)})):(s(15,x=[]),s(21,_=!1));break;case"OutOfRecentSearches":s(17,S=!1),s(18,F=!1);break;case"SearchData":s(17,S=!0),T=!1,s(18,F=!1),s(15,x=t.data.searchData.items||[]),s(19,k=!0),t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)});break;case"CategoryData_"+b:s(17,S=!1),w=!0,s(16,C=!0),s(19,k=!1),T=!1,L=!1,t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items),re(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(14,a=e),s(15,x=a.games.items),x&&x.forEach(e=>{e.isFavorite=B(e.id)})});break;case"CategoryChange":$=20;break;case"CategoryUpdate":s(17,S=!1),w=!1,s(19,k=!1),T=!1,L=!0,s(32,b=t.data.itemId),"MOSTPLAYED"!==b&&s(16,C=!1),re(0,0,$).then(e=>{s(14,a=e),a.games.items.forEach(e=>{e.isFavorite=B(e.id)}),s(15,x=a.games.items),s(16,C=!1),x.length<10&&(ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)},500))});break;case"FavoriteUpdate":T=!1,w=!0,s(15,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)});break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(l=t.data.receivedFavoriteResults.items,E?w||T||window.postMessage({type:"CategoryUpdate",itemId:b},window.location.href):window.postMessage({type:"FavoriteUpdate"},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&((e=t.data.receivedFavoriteResults.items).length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(28,P.items=Xr(e,P.items),P),s(28,P.name="Favorites",P),s(24,E=!0));break;case"UserSessionID":if(n=t.data.session,i=t.data.userID,"true"==g&&i&&i.length&&n&&0<n.length){var r=`${h}/player/${i}/favorites/`;let e={method:"GET",headers:{"X-SessionID":n}};new Promise((t,n)=>{fetch(r,e).then(e=>e.json()).then(e=>{l=e?e.items:[],x.forEach(e=>{e.isFavorite=B(e.id)});e=x;s(15,x=void 0),s(15,x=e),t(l)}).catch(e=>{console.error(e),n(e)})})}}},ae=e=>{($+=1)<=R&&re(0,0,$).then(e=>{s(14,a=e),a.games.items.length>x.length&&(s(15,x=a.games.items),x.forEach(e=>{e.isFavorite=B(e.id)}))})},B=t=>!!l&&-1!==l.findIndex(e=>e.id==t),oe=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return wt(()=>(window.addEventListener("visibilitychange",e=>{document[d]?s(27,te="disconnect"):s(27,te="connect")}),window.addEventListener("message",ie,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",ie),window.removeEventListener("visibilitychange",ie)})),e.$$set=e=>{"categoryindex"in e&&s(33,D=e.categoryindex),"endpoint"in e&&s(0,h=e.endpoint),"datasource"in e&&s(34,p=e.datasource),"lang"in e&&s(1,m=e.lang),"session"in e&&s(2,H=e.session),"userid"in e&&s(3,N=e.userid),"favorites"in e&&s(4,g=e.favorites),"clientstyling"in e&&s(5,f=e.clientstyling),"clientstylingurl"in e&&s(6,y=e.clientstylingurl),"currency"in e&&s(7,O=e.currency),"categoryid"in e&&s(32,b=e.categoryid),"categorygames"in e&&s(35,j=e.categorygames),"livecasino"in e&&s(8,U=e.livecasino),"visiblegames"in e&&s(36,W=e.visiblegames),"gamepagemodalurl"in e&&s(9,z=e.gamepagemodalurl),"integratedgameframedesktop"in e&&s(10,Y=e.integratedgameframedesktop),"integratedgameframemobile"in e&&s(11,V=e.integratedgameframemobile),"once"in e&&s(37,Z=e.once),"top"in e&&s(38,J=e.top),"bottom"in e&&s(39,K=e.bottom),"left"in e&&s(40,X=e.left),"right"in e&&s(41,q=e.right)},e.$$.update=()=>{if(4096&e.$$.dirty[0]|2048&e.$$.dirty[1]&&u&&I&&L&&I.forEach((e,t)=>{e&&(e.elems_index=t,ne.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&f){let e=document.createElement("style");e.innerHTML=f,setTimeout(()=>{c.appendChild(e)})}if(64&e.$$.dirty[0]&&y){let t=document.createElement("style");fetch(new URL(y)).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&setTimeout(()=>{c.appendChild(t)},1)})}},[h,m,H,N,g,f,y,O,U,z,Y,V,I,v,a,x,C,S,F,k,M,_,r,o,E,c,G,te,P,A,Q,oe,b,D,p,j,W,Z,J,K,X,q,u,function(e){gt[e?"unshift":"push"](()=>{o=e,s(23,o)})},e=>oe(a.id,a),function(e,t){gt[e?"unshift":"push"](()=>{I[t]=e,s(12,I)})},function(e){gt[e?"unshift":"push"](()=>{r=e,s(22,r)})},function(e){gt[e?"unshift":"push"](()=>{o=e,s(23,o)})},function(e){gt[e?"unshift":"push"](()=>{r=e,s(22,r)})},function(e){gt[e?"unshift":"push"](()=>{c=e,s(25,c)})}]}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoryName,.StatusText{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoryLoadMore{font-size:14px;color:var(--emfe-w-color-white, #FFFFFF)}.NoSearchResults{color:var(--emfe-w-color-white, #FFFFFF);text-align:center;width:100%;padding-left:5px;font-size:16px}.NoRecentSearches{padding-bottom:30px}.NoRecentSearchesCenter{text-align:center}.NoFavoriteGames{color:var(--emfe-w-color-white, #FFFFFF);font-size:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0 20px;height:20vh}.NoFavoriteGames .UnfavoredIcon{width:50px;height:50px}.NoFavoriteGames .NoFavoriteText{text-align:center}.NoFavoriteGames .NoFavoriteTextHighlight{font-weight:600;font-size:18px;padding:15px 0}.NoFavoriteGamesMobile{height:50vh}.SearchWaiting{grid-column:1/-1;color:var(--emfe-w-color-white, #FFFFFF);font-size:13px;text-align:center}.CasinoGamesHeader{width:100%;display:flex;align-items:center;justify-content:space-between;padding:8px 5px 0;margin-bottom:16px}.CasinoGamesHeader .CategoryNameLink{display:block;cursor:pointer}.CasinoGamesHeader .CategoryLoadMore{font-weight:normal}.CasinoGamesHeader.Searched{justify-content:center}.CasinoGamesContainer{width:100%;margin-top:24px;padding-bottom:16px}.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(192px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 192px);grid-auto-rows:192px;grid-auto-columns:192px;grid-auto-flow:row dense}.CasinoGamesGrid .game-tile-2x1{grid-row:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x1{grid-row:span 1}}.CasinoGamesGrid .game-tile-2x2{grid-row:span 2;grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-2x2{grid-row:span 1;grid-column:span 1}}.CasinoGamesGrid .game-tile-1x2{grid-column:span 2}@media screen and (max-width: 375px){.CasinoGamesGrid .game-tile-1x2{grid-column:span 1}}.CasinoGamesGrid.GamesListIncreasedGap{gap:28px}@media screen and (max-width: 385px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(110px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 110px);grid-auto-rows:110px;grid-auto-columns:110px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (max-width: 480px){.CasinoGamesGrid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill, minmax(Min(122px, 46%), 1fr));grid-template-rows:repeat(auto-fill, 122px);grid-auto-rows:122px;grid-auto-columns:122px}.CasinoGamesGrid.GamesListIncreasedGap{gap:16px}}@media screen and (min-width: 1100px){.CasinoGamesGrid{grid-template-rows:repeat(auto-fill, 142px);grid-auto-rows:142px}}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ia,La,t,{categoryindex:33,endpoint:0,datasource:34,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:32,categorygames:35,livecasino:8,visiblegames:36,gamepagemodalurl:9,integratedgameframedesktop:10,integratedgameframemobile:11,once:37,top:38,bottom:39,left:40,right:41},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["categoryindex","endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categorygames","livecasino","visiblegames","gamepagemodalurl","integratedgameframedesktop","integratedgameframemobile","once","top","bottom","left","right"]}get categoryindex(){return this.$$.ctx[33]}set categoryindex(e){this.$$set({categoryindex:e}),f()}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[34]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),f()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),f()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),f()}get categoryid(){return this.$$.ctx[32]}set categoryid(e){this.$$set({categoryid:e}),f()}get categorygames(){return this.$$.ctx[35]}set categorygames(e){this.$$set({categorygames:e}),f()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),f()}get visiblegames(){return this.$$.ctx[36]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get gamepagemodalurl(){return this.$$.ctx[9]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[10]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[11]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get once(){return this.$$.ctx[37]}set once(e){this.$$set({once:e}),f()}get top(){return this.$$.ctx[38]}set top(e){this.$$set({top:e}),f()}get bottom(){return this.$$.ctx[39]}set bottom(e){this.$$set({bottom:e}),f()}get left(){return this.$$.ctx[40]}set left(e){this.$$set({left:e}),f()}get right(){return this.$$.ctx[41]}set right(e){this.$$set({right:e}),f()}});const Ga={en:{randomGame:{playRandomGame:"Play a random game",randomGameLoading:"Selecting ...",playNowRandomGame:"Play Now"}},zh:{randomGame:{playRandomGame:"玩隨機遊戲",randomGameLoading:"選擇...",playNowRandomGame:"現在播放"}},de:{randomGame:{playRandomGame:"Spiel ein Zufallsspiel",randomGameLoading:"Auswahl läuf",playNowRandomGame:"Jetzt spielen"}},fr:{randomGame:{playRandomGame:"Jouer à un jeu aléatoire",randomGameLoading:"Sélectinner ...",playNowRandomGame:"Jouer maintenant"}},ro:{randomGame:{playRandomGame:"Joaca-te un joc aleatoriu",randomGameLoading:"Se selecteaza ...",playNowRandomGame:"Joaca-te Acum"}},tr:{randomGame:{playRandomGame:"Rastgele Bir Oyun Oyna",randomGameLoading:"Oyun Seçiliyor",playNowRandomGame:"Şimdi Oyna"}},es:{randomGame:{playRandomGame:"Juega un juego aleatorio",randomGameLoading:"Lütfen bekleyin ...",playNowRandomGame:"Şimdi Oyna"}},pt:{randomGame:{playRandomGame:"Jogue um jogo aleatório",randomGameLoading:"Selecionando ...",playNowRandomGame:"Jogue agora"}}};function Pa(e,t,n){const r=e.slice();return r[24]=t[n],r[26]=n,r}function Ba(n){let r,i,a,o,s,l,c,d=!n[6]&&Aa(n),u=n[6]&&Da(n);return{c(){r=pe("div"),i=pe("div"),(a=pe("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),d&&d.c(),s=ge(),u&&u.c(),fe(a,"class","ModalCloseBtn"),fe(a,"part","ModalCloseBtn"),fe(a,"role","button"),fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),d&&d.m(i,null),de(i,s),u&&u.m(i,null),l||(c=K(a,"click",n[10]),l=!0)},p(e,t){e[6]?d&&(d.d(1),d=null):d?d.p(e,t):((d=Aa(e)).c(),d.m(i,s)),e[6]?u?u.p(e,t):((u=Da(e)).c(),u.m(i,null)):u&&(u.d(1),u=null)},d(e){e&&he(r),d&&d.d(),u&&u.d(),l=!1,c()}}}function Aa(t){let n,r,i,a,o,s,e=t[7]("randomGame.randomGameLoading")+"",l=t[3],c=[];for(let e=0;e<l.length;e+=1)c[e]=Ra(Pa(t,l,e));return{c(){n=pe("div"),r=pe("main"),i=pe("div");for(let e=0;e<c.length;e+=1)c[e].c();a=ge(),o=pe("p"),s=me(e),fe(i,"class","items"),fe(i,"part","items"),P(i,"transform","translateY("+t[5]+"px)"),fe(r,"class","RandomGamesSliderWrapper"),fe(r,"part","RandomGamesSliderWrapper"),fe(o,"class","RandomGameLoading"),fe(o,"part","RandomGameLoading"),fe(n,"class","RandomGameWrapper"),fe(n,"part","RandomGameWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,i);for(let e=0;e<c.length;e+=1)c[e].m(i,null);de(n,a),de(n,o),de(o,s)},p(t,n){if(8&n){let e;for(l=t[3],e=0;e<l.length;e+=1){var r=Pa(t,l,e);c[e]?c[e].p(r,n):(c[e]=Ra(r),c[e].c(),c[e].m(i,null))}for(;e<c.length;e+=1)c[e].d(1);c.length=l.length}32&n&&P(i,"transform","translateY("+t[5]+"px)"),128&n&&e!==(e=t[7]("randomGame.randomGameLoading")+"")&&ye(s,e)},d(e){e&&he(n),G(c,e)}}}function Ra(e){let n,r,i,a,o,s;return{c(){n=pe("div"),r=pe("img"),s=ge(),fe(r,"class","RandomGameImage"),fe(r,"part","RandomGameImage"),ce(r.src,i=e[24].thumbnail)||fe(r,"src",i),fe(r,"alt",a=e[24].name),fe(r,"title",o=e[24].name),fe(n,"class","item"),fe(n,"part","item")},m(e,t){ue(e,n,t),de(n,r),de(n,s)},p(e,t){8&t&&!ce(r.src,i=e[24].thumbnail)&&fe(r,"src",i),8&t&&a!==(a=e[24].name)&&fe(r,"alt",a),8&t&&o!==(o=e[24].name)&&fe(r,"title",o)},d(e){e&&he(n)}}}function Da(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$=n[2].name+"",S=n[2].vendor.name+"",F=n[7]("randomGame.playNowRandomGame")+"";return{c(){r=pe("div"),i=pe("div"),a=pe("img"),c=ge(),(d=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emfe-w-color-white, #FFFFFF);;}\n </style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>',u=ge(),h=pe("div"),p=pe("p"),m=me($),g=ge(),f=pe("p"),y=me(S),b=ge(),v=pe("button"),w=me(F),fe(a,"class","RandomGameImage"),fe(a,"part","RandomGameImage"),ce(a.src,o=n[2].thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[2].name),fe(a,"title",l=n[2].name),fe(d,"class","RandomTryAgain"),fe(d,"part","RandomTryAgain"),fe(i,"class","item"),fe(i,"part","item"),fe(p,"class","RandomGameTitle"),fe(p,"part","RandomGameTitle"),fe(f,"class","RandomGameVendor"),fe(f,"part","RandomGameVendor"),fe(v,"class","RandomGamePlay"),fe(v,"part","RandomGamePlay"),fe(h,"class","RandomGameDetails"),fe(h,"part","RandomGameDetails"),fe(r,"class","RandomGameWrapper"),fe(r,"part","RandomGameWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,c),de(i,d),de(r,u),de(r,h),de(h,p),de(p,m),de(h,g),de(h,f),de(f,y),de(h,b),de(h,v),de(v,w),x||(C=[K(d,"click",n[15]),K(v,"click",n[16])],x=!0)},p(e,t){4&t&&!ce(a.src,o=e[2].thumbnail)&&fe(a,"src",o),4&t&&s!==(s=e[2].name)&&fe(a,"alt",s),4&t&&l!==(l=e[2].name)&&fe(a,"title",l),4&t&&$!==($=e[2].name+"")&&ye(m,$),4&t&&S!==(S=e[2].vendor.name+"")&&ye(y,S),128&t&&F!==(F=e[7]("randomGame.playNowRandomGame")+"")&&ye(w,F)},d(e){e&&he(r),x=!1,J(C)}}}function Ha(e){let n,r,i=e[7]("randomGame.playRandomGame")+"";return{c(){n=pe("span"),r=me(i),fe(n,"class","RandomButtonText"),fe(n,"part","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){128&t&&i!==(i=e[7]("randomGame.playRandomGame")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Na(e){let n,r;return{c(){n=pe("span"),r=me(e[1]),fe(n,"class","RandomButtonText")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){2&t&&ye(r,e[1])},d(e){e&&he(n)}}}function Oa(n){let r,i,a,o,s,l,c,d,u,h=n[4]&&Ba(n);function p(e){return e[1]?Na:e[1]?void 0:Ha}let m=p(n),g=m&&m(n);return{c(){r=pe("div"),i=pe("div"),h&&h.c(),a=ge(),o=pe("div"),s=pe("button"),g&&g.c(),l=ge(),c=pe("span"),this.c=Z,fe(c,"class","RandomButtonIcon"),fe(c,"part","RandomButtonIcon"),fe(s,"class","RandomButton"),fe(s,"part","RandomButton"),fe(o,"class","RandomButtonWrapper"),fe(o,"part","RandomButtonWrapper"),fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),de(r,i),h&&h.m(i,null),de(i,a),de(i,o),de(o,s),g&&g.m(s,null),de(s,l),de(s,c),c.innerHTML=n[0],d||(u=K(s,"click",n[17]),d=!0)},p(e,[t]){e[4]?h?h.p(e,t):((h=Ba(e)).c(),h.m(i,a)):h&&(h.d(1),h=null),m===(m=p(e))&&g?g.p(e,t):(g&&g.d(1),(g=m&&m(e))&&(g.c(),g.m(s,l))),1&t&&(c.innerHTML=e[0])},i:Z,o:Z,d(e){e&&he(r),h&&h.d(),g&&g.d(),d=!1,u()}}}function ja(t,e,n){let r;vt(t,Kr,e=>n(7,r=e));let i,{endpoint:a=""}=e,{datasource:o=""}=e,{gameevent:s=""}=e,{lang:l=""}=e,{randombuttonicon:c=""}=e,{buttontext:d=""}=e,u=[],h="",p=!1,m=0,g=0,f=!1,y=window.navigator.userAgent;var b,v;({withLocale:b,translations:v}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(v),ft.set(b))}),Object.keys(Ga).forEach(e=>{Tr(e,Ga[e])});const w=()=>{n(3,i=(e=>{let t,n=e.length;for(;0!=n;)t=Math.floor(Math.random()*n),n--,[e[n],e[t]]=[e[t],e[n]];return e})(i)),n(5,m=0),g=0,n(6,f=!1),n(2,h=u[Math.floor(Math.random()*u.length)]),n(4,p=!0);let e=setInterval(()=>{n(5,m-=100),20==++g&&(n(6,f=!0),clearInterval(e))},100)},x=()=>{window.postMessage({type:s,gameId:h.gId||h.id},window.location.href),n(4,p=!1)};return t.$$set=e=>{"endpoint"in e&&n(11,a=e.endpoint),"datasource"in e&&n(12,o=e.datasource),"gameevent"in e&&n(13,s=e.gameevent),"lang"in e&&n(14,l=e.lang),"randombuttonicon"in e&&n(0,c=e.randombuttonicon),"buttontext"in e&&n(1,d=e.buttontext)},t.$$.update=()=>{if(16384&t.$$.dirty&&l&&(e=l,ft.set(e)),6144&t.$$.dirty&&a&&o){let e=new URL(a+"/casino/games");e.searchParams.append("platform",bt(y)),e.searchParams.append("datasource",o),e.searchParams.append("fields","gId,id,href,thumbnail,name,vendor"),e.searchParams.append("expand","vendor"),e.searchParams.append("pagination","offset=0,limit=1000"),fetch(e.href).then(e=>e.json()).then(e=>{u=e.items,n(3,i=u.slice(0,19))})}var e},[c,d,h,i,p,m,f,r,w,x,()=>{n(4,p=!1)},a,o,s,l,()=>w(),()=>x(),()=>w()]}customElements.get("casino-random-game")||customElements.define("casino-random-game",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:40px 40px 16px 40px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.RandomGamesSliderWrapper{height:170px;overflow:hidden}.items{gap:5px;transition:transform 0.3s ease-in-out;transform:translateY(0px);-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomGameLoading{padding:30px 0}.RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:-10px;right:-10px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ja,Oa,t,{endpoint:11,datasource:12,gameevent:13,lang:14,randombuttonicon:0,buttontext:1},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","gameevent","lang","randombuttonicon","buttontext"]}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[12]}set datasource(e){this.$$set({datasource:e}),f()}get gameevent(){return this.$$.ctx[13]}set gameevent(e){this.$$set({gameevent:e}),f()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),f()}get randombuttonicon(){return this.$$.ctx[0]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}get buttontext(){return this.$$.ctx[1]}set buttontext(e){this.$$set({buttontext:e}),f()}});const Ua={en:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},zh:{Translations:{recentWinners:"最近的获奖者",topWinners:"最佳获奖者",won:"刚赢"}},de:{Translations:{recentWinners:"Kürzliche Gewinner",topWinners:"Top Gewinner",won:"Eben gewonnen"}},it:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},fr:{Translations:{recentWinners:"Gagnants récents",topWinners:"Meilleurs gagnants",won:"vient de gagner"}},es:{Translations:{recentWinners:"Ganadores recientes",topWinners:"Top Ganadores",won:"acaba de ganar"}},el:{Translations:{recentWinners:"Πρόσφατοι νικητές",topWinners:"Κορυφαίοι νικητές",won:"μόλις κέρδισε"}},tr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ru:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},ro:{Translations:{recentWinners:"Ultimii câștigători",topWinners:"Câștigători de top",won:"tocmai a câștigat"}},hr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},hu:{Translations:{recentWinners:"Legutóbbi nyertesek",topWinners:"Top nyertesek",won:"Nyert"}},pl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},pt:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sl:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}},sr:{Translations:{recentWinners:"Recent Winners",topWinners:"Top Winners",won:"just won"}}};function Wa(e,t,n){const r=e.slice();return r[57]=t[n],r}function za(e,t,n){const r=e.slice();return r[60]=t[n],r}function Ya(n){let i,r,a,o,s,l,c,d,e,u,h,p,m,g,f,y,b,v,w,x,C=n[14],$=[];for(let e=0;e<C.length;e+=1)$[e]=Ka(za(n,C,e));let S=n[7],F=[];for(let e=0;e<S.length;e+=1)F[e]=Xa(Wa(n,S,e));return{c(){i=pe("div"),r=pe("div"),a=pe("div");for(let e=0;e<$.length;e+=1)$[e].c();o=ge(),s=pe("div"),l=pe("button"),c=k("svg"),d=k("path"),u=ge(),h=pe("button"),p=k("svg"),m=k("path"),y=ge(),b=pe("div");for(let e=0;e<F.length;e+=1)F[e].c();fe(a,"class","WinnerButtonsContainer"),fe(d,"style",e=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(d,"id","Path_36"),fe(d,"data-name","Path 36"),fe(d,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(d,"transform","translate(14.656 0) rotate(90)"),fe(d,"fill","#fff"),fe(c,"id","Component_46_2"),fe(c,"data-name","Component 46 – 2"),fe(c,"xmlns","http://www.w3.org/2000/svg"),fe(c,"width","15"),fe(c,"height","15"),fe(c,"viewBox","0 0 16 24.656"),fe(l,"class","SliderButton"),fe(m,"style",g=n[8]>=n[7].length?"fill:#F6F6F62E":""),fe(m,"id","Path_36"),fe(m,"data-name","Path 36"),fe(m,"d","M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"),fe(m,"transform","translate(0 24.656) rotate(-90)"),fe(m,"fill","#fff"),fe(p,"id","Component_46_2"),fe(p,"data-name","Component 46 – 2"),fe(p,"xmlns","http://www.w3.org/2000/svg"),fe(p,"width","15"),fe(p,"height","15"),fe(p,"viewBox","0 0 16 24.656"),fe(h,"class","SliderButton"),fe(s,"class",f="ButtonsContainer "+("true"==n[3]?"ButtonsContainerNone":"")),fe(r,"class","WinnersHeader"),fe(b,"class","WinnersSlider"),fe(i,"class",v="CasinoWinners "+(n[9]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a);for(let e=0;e<$.length;e+=1)$[e].m(a,null);de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(s,u),de(s,h),de(h,p),de(p,m),de(i,y),de(i,b);for(let e=0;e<F.length;e+=1)F[e].m(b,null);n[38](b),w||(x=[K(l,"click",n[35]),K(h,"click",n[36])],w=!0)},p(t,n){if(114755&n[0]){let e;for(C=t[14],e=0;e<C.length;e+=1){var r=za(t,C,e);$[e]?$[e].p(r,n):($[e]=Ka(r),$[e].c(),$[e].m(a,null))}for(;e<$.length;e+=1)$[e].d(1);$.length=C.length}if(384&n[0]&&e!==(e=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(d,"style",e),384&n[0]&&g!==(g=t[8]>=t[7].length?"fill:#F6F6F62E":"")&&fe(m,"style",g),8&n[0]&&f!==(f="ButtonsContainer "+("true"==t[3]?"ButtonsContainerNone":""))&&fe(s,"class",f),435348&n[0]){let e;for(S=t[7],e=0;e<S.length;e+=1){const a=Wa(t,S,e);F[e]?F[e].p(a,n):(F[e]=Xa(a),F[e].c(),F[e].m(b,null))}for(;e<F.length;e+=1)F[e].d(1);F.length=S.length}512&n[0]&&v!==(v="CasinoWinners "+(t[9]?"Mobile":""))&&fe(i,"class",v)},d(e){e&&he(i),G($,e),G(F,e),n[38](null),w=!1,J(x)}}}function Va(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function Za(n){let r,i,a,o,s,l=n[15]("Translations.recentWinners")+"";return{c(){r=pe("button"),i=me(l),fe(r,"class",a="WinnersButton "+("recent"==n[6]?"Active":"")+" "+("false"==n[0]?"Off":""))},m(e,t){ue(e,r,t),de(r,i),o||(s=K(r,"click",n[33]),o=!0)},p(e,t){32768&t[0]&&l!==(l=e[15]("Translations.recentWinners")+"")&&ye(i,l),65&t[0]&&a!==(a="WinnersButton "+("recent"==e[6]?"Active":"")+" "+("false"==e[0]?"Off":""))&&fe(r,"class",a)},d(e){e&&he(r),o=!1,s()}}}function Ja(n){let r,i,a,o,s,l,c=n[15]("Translations.topWinners")+"";return{c(){r=pe("button"),i=me(c),a=ge(),fe(r,"class",o="WinnersButton "+("top"==n[6]?"Active":"")+" "+("false"==n[1]?"Off":""))},m(e,t){ue(e,r,t),de(r,i),de(r,a),s||(l=K(r,"click",n[34]),s=!0)},p(e,t){32768&t[0]&&c!==(c=e[15]("Translations.topWinners")+"")&&ye(i,c),66&t[0]&&o!==(o="WinnersButton "+("top"==e[6]?"Active":"")+" "+("false"==e[1]?"Off":""))&&fe(r,"class",o)},d(e){e&&he(r),s=!1,l()}}}function Ka(e){let n,r,i="recent"==e[60]&&Za(e),a="top"==e[60]&&Ja(e);return{c(){i&&i.c(),n=ge(),a&&a.c(),r=c()},m(e,t){i&&i.m(e,t),ue(e,n,t),a&&a.m(e,t),ue(e,r,t)},p(e,t){"recent"==e[60]?i?i.p(e,t):((i=Za(e)).c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null),"top"==e[60]?a?a.p(e,t):((a=Ja(e)).c(),a.m(r.parentNode,r)):a&&(a.d(1),a=null)},d(e){i&&i.d(e),e&&he(n),a&&a.d(e),e&&he(r)}}}function Xa(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S,F,k,M=n[57].gameName+"",_=n[17](n[57].username)+"",E=n[15]("Translations.won")+"",T=n[57].specifiedCurrencyAmount.toFixed(2)+"",L=(n[4]?n[10]:n[2])+"";function I(){return n[37](n[57])}return{c(){r=pe("div"),i=pe("div"),a=pe("img"),l=ge(),c=pe("p"),d=me(M),u=ge(),h=pe("p"),p=me(_),m=ge(),g=pe("p"),f=me(E),y=ge(),b=pe("p"),v=me(T),w=ge(),x=pe("span"),C=me(L),$=ge(),ce(a.src,o=n[57]?.gameModel?.thumbnail)||fe(a,"src",o),fe(a,"alt",s=n[57]?.gameModel?.thumbnail),fe(a,"class","WinnersImage"),fe(g,"class","WinnerUsername"),fe(i,"class","WinnerCard"),fe(r,"class",S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,l),de(i,c),de(c,d),de(i,u),de(i,h),de(h,p),de(i,m),de(i,g),de(g,f),de(i,y),de(i,b),de(b,v),de(b,w),de(b,x),de(x,C),de(r,$),F||(k=K(a,"click",I),F=!0)},p(e,t){n=e,128&t[0]&&!ce(a.src,o=n[57]?.gameModel?.thumbnail)&&fe(a,"src",o),128&t[0]&&s!==(s=n[57]?.gameModel?.thumbnail)&&fe(a,"alt",s),128&t[0]&&M!==(M=n[57].gameName+"")&&ye(d,M),128&t[0]&&_!==(_=n[17](n[57].username)+"")&&ye(p,_),32768&t[0]&&E!==(E=n[15]("Translations.won")+"")&&ye(f,E),128&t[0]&&T!==(T=n[57].specifiedCurrencyAmount.toFixed(2)+"")&&ye(v,T),1044&t[0]&&L!==(L=(n[4]?n[10]:n[2])+"")&&ye(C,L),8192&t[0]&&S!==(S="CardWrapper "+(n[13]?"CardWrapperAnimation":""))&&fe(r,"class",S)},d(e){e&&he(r),F=!1,k()}}}function qa(n){let r;function i(e){return e[12]?Va:Ya}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){ue(e,r,t),o.m(r,null),n[39](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[39](null)}}}function Qa(t,e,r){let n;vt(t,Kr,e=>r(15,n=e));let i,a,o,s,l,c,d,u,h,p,{endpoint:m=""}=e,{session:g=""}=e,{periodrecent:f="Today"}=e,{periodtop:y="Last7Days"}=e,{numberusersrecent:b="20"}=e,{numberuserstop:v="20"}=e,{amountlimit:w="1"}=e,{lang:x="en"}=e,{isrecentavailable:C="true"}=e,{istopavailable:$="true"}=e,{defaultcurrency:S=""}=e,{clientstyling:F=""}=e,{clientstylingurl:k=""}=e,{enableautoscroll:M=""}=e,{tabsorder:_=""}=e,E=[],T=0,L=0,A=window.navigator.userAgent,I=!0,G=!1;Object.keys(Ua).forEach(e=>{Tr(e,Ua[e])});const R=()=>{const e=new URL(`${m}/casino/${a}-winners`);e.searchParams.append("limit","recent"==a?b:v),e.searchParams.append("specifiedCurrency",p),e.searchParams.append("period","recent"==a?f:y),e.searchParams.append("language",x),e.searchParams.append("amountLimit",w),fetch(e.href).then(e=>e.json()).then(e=>{r(7,E=[]),r(7,E=e.items.map(e=>e)),r(12,I=!1),setTimeout(()=>{r(8,L=Math.round(i.offsetWidth/225)),H(),"true"==M&&(T=0,L<d?u=setInterval(()=>{B()},3e3):clearInterval(u))})})},P=e=>{a!==e&&(r(6,a=e),r(7,E=[]),R())},D=(e,t,n)=>{window.postMessage({type:"OpenCasinoWinnersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},H=n=>{const e=[...i.children];d=e.length,e.forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),"top"==a?setTimeout(()=>{r(13,G=!0)},10):r(13,G=!1)},N=()=>{H(T)},O=()=>{var e=E.length;L>=E.length||(0===T?T=e-L:T-L<0?T=0:T-=L,N())},B=()=>{var e=E.length;L>=E.length||("true"==M&&(T===e-L?T=0:T++),"false"==M&&(T===e-L?T=0:e-L<T+L?T=e-L:T+=L),N())};return wt(()=>(r(9,o=yt(A)),()=>{clearInterval(u)})),t.$$set=e=>{"endpoint"in e&&r(22,m=e.endpoint),"session"in e&&r(23,g=e.session),"periodrecent"in e&&r(24,f=e.periodrecent),"periodtop"in e&&r(25,y=e.periodtop),"numberusersrecent"in e&&r(26,b=e.numberusersrecent),"numberuserstop"in e&&r(27,v=e.numberuserstop),"amountlimit"in e&&r(21,w=e.amountlimit),"lang"in e&&r(28,x=e.lang),"isrecentavailable"in e&&r(0,C=e.isrecentavailable),"istopavailable"in e&&r(1,$=e.istopavailable),"defaultcurrency"in e&&r(2,S=e.defaultcurrency),"clientstyling"in e&&r(29,F=e.clientstyling),"clientstylingurl"in e&&r(30,k=e.clientstylingurl),"enableautoscroll"in e&&r(3,M=e.enableautoscroll),"tabsorder"in e&&r(31,_=e.tabsorder)},t.$$.update=()=>{if(522190867&t.$$.dirty[0]|1&t.$$.dirty[1]&&C&&$&&f&&y&&b&&v&&w&&x&&_&&null!=s&&(r(14,h=_.split(",")),r(6,a=h[0]),"false"==C&&r(21,w=""),r(32,p=s?l:S)),4194304&t.$$.dirty[0]&&m&&qr(m,g).then(e=>{e.Guid,r(10,l=e.Currency),r(4,s=!0)},e=>{r(4,s=!1)}),4194312&t.$$.dirty[0]|2&t.$$.dirty[1]&&m&&p&&M&&R(),268435456&t.$$.dirty[0]&&x&&(e=x,ft.set(e)),536870912&t.$$.dirty[0]&&F){let e=document.createElement("style");e.innerHTML=F,c.appendChild(e)}if(1073741824&t.$$.dirty[0]&&k){let e=new URL(k),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,c&&(setTimeout(()=>{c.appendChild(t)},1),setTimeout(()=>{},500))})}var e},[C,$,S,M,s,i,a,E,L,o,l,c,I,G,h,n,P,e=>e.slice(0,2)+e.slice(2,-2).replace(/./g,"*")+e.slice(-2),D,O,B,w,m,g,f,y,b,v,x,F,k,_,p,()=>P("recent"),()=>P("top"),()=>O(),()=>B(),e=>D(e.gameId,e.gameModel.launchUrl,e.gameModel.name),function(e){gt[e?"unshift":"push"](()=>{i=e,r(5,i)})},function(e){gt[e?"unshift":"push"](()=>{c=e,r(11,c)})}]}customElements.get("casino-winners")||customElements.define("casino-winners",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emfe-w-color-contrast, #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(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton:focus{color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.WinnersButton.Active{border-bottom:2px solid #D0046C;padding-bottom:10px;color:var(--emfe-w-color-primary, #D0046C)}.WinnersButton.Active{border-bottom:1px solid var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary, #D0046C);line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden}.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(--emfe-w-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(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emfe-w-color-gray-100, #E6E6E6);font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emfe-w-color-primary, #D0046C);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 .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .WinnersSlider::-webkit-scrollbar{display: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}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Qa,qa,t,{endpoint:22,session:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:21,lang:28,isrecentavailable:0,istopavailable:1,defaultcurrency:2,clientstyling:29,clientstylingurl:30,enableautoscroll:3,tabsorder:31},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","session","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","lang","isrecentavailable","istopavailable","defaultcurrency","clientstyling","clientstylingurl","enableautoscroll","tabsorder"]}get endpoint(){return this.$$.ctx[22]}set endpoint(e){this.$$set({endpoint:e}),f()}get session(){return this.$$.ctx[23]}set session(e){this.$$set({session:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[21]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),f()}get isrecentavailable(){return this.$$.ctx[0]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get istopavailable(){return this.$$.ctx[1]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get defaultcurrency(){return this.$$.ctx[2]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get clientstyling(){return this.$$.ctx[29]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[30]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get enableautoscroll(){return this.$$.ctx[3]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get tabsorder(){return this.$$.ctx[31]}set tabsorder(e){this.$$set({tabsorder:e}),f()}});const eo={en:{jackpotBanners:{loadingText:"Loading, please wait..."}},zh:{jackpotBanners:{loadingText:"加载请稍候 ..."}},fr:{jackpotBanners:{loadingText:"Chargement, veuillez patienter..."}},ro:{jackpotBanners:{loadingText:"Se incarca, va rugam asteptati..."}},es:{jackpotBanners:{loadingText:"Cargando por favor espere..."}},pt:{jackpotBanners:{loadingText:"Carregando, por favor espere..."}},de:{jackpotBanners:{loadingText:"Laden, bitte warten..."}}};function to(e,t,n){const r=e.slice();return r[47]=t[n],r[49]=n,r}function no(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v;function w(e){return e[5]?ao:oo}let x=w(n),C=x(n);return{c(){r=pe("div"),i=pe("div"),a=pe("div"),o=pe("div"),s=pe("img"),c=ge(),d=pe("div"),C.c(),u=ge(),h=pe("div"),p=pe("img"),ce(s.src,l=n[6])||fe(s,"src",l),fe(s,"alt",""),fe(o,"class","vendorLogo"),fe(d,"class","displayContainer"),ce(p.src,m=n[11])||fe(p,"src",m),fe(p,"alt",""),fe(h,"class","title"),fe(a,"class",g="mainWrapper "+n[0]+" "+(n[4]&&!n[5]?"mobile":n[5]?"tablet":"")),P(a,"background","url("+n[10]+")"),fe(i,"class","jackpotBanner"),fe(r,"class",f=n[12]?"DisplayNone":""),fe(r,"part",y=n[12]?"DisplayNone":"")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(o,s),de(a,c),de(a,d),C.m(d,null),de(a,u),de(a,h),de(h,p),n[32](r),b||(v=K(i,"click",n[31]),b=!0)},p(e,t){64&t[0]&&!ce(s.src,l=e[6])&&fe(s,"src",l),x===(x=w(e))&&C?C.p(e,t):(C.d(1),(C=x(e))&&(C.c(),C.m(d,null))),2048&t[0]&&!ce(p.src,m=e[11])&&fe(p,"src",m),49&t[0]&&g!==(g="mainWrapper "+e[0]+" "+(e[4]&&!e[5]?"mobile":e[5]?"tablet":""))&&fe(a,"class",g),1024&t[0]&&P(a,"background","url("+e[10]+")"),4096&t[0]&&f!==(f=e[12]?"DisplayNone":"")&&fe(r,"class",f),4096&t[0]&&y!==(y=e[12]?"DisplayNone":"")&&fe(r,"part",y)},d(e){e&&he(r),C.d(),n[32](null),b=!1,v()}}}function ro(e){let n,r,i=e[14]("jackpotBanners.loadingText")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","loadingPrompt")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16384&t[0]&&i!==(i=e[14]("jackpotBanners.loadingText")+"")&&ye(r,i)},d(e){e&&he(n)}}}function io(e){let n;return{c(){(n=pe("p")).textContent="500 Server error"},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function ao(e){let n,r,i,a,o,s,R,l,c,D,H,d,N,O,u,h,p,m,g,j,f,y,U,W,b,z,Y,v,w,x,C,$,S,V,F,k,Z,J,M,K,X,_,E,T,L,I,q,G,P,Q,ee,B,te,A=e[8][0]+"",ne=e[7][0]+"",re=e[8][1]+"",ie=e[7][1]+"",ae=e[8][2]+"",oe=e[7][2]+"",se=e[8][3]+"",le=e[7][3]+"";return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=pe("img"),s=pe("span"),R=me(A),l=pe("span"),c=pe("span"),D=me(ne),H=ge(),d=pe("span"),N=me(e[1]),O=ge(),u=pe("div"),h=pe("div"),p=pe("img"),g=pe("span"),j=me(re),f=pe("span"),y=pe("span"),U=me(ie),W=ge(),b=pe("span"),z=me(e[1]),Y=ge(),v=pe("div"),w=pe("div"),x=pe("div"),C=pe("img"),S=pe("span"),V=me(ae),F=pe("span"),k=pe("span"),Z=me(oe),J=ge(),M=pe("span"),K=me(e[1]),X=ge(),_=pe("div"),E=pe("div"),T=pe("img"),I=pe("span"),q=me(se),G=pe("span"),P=pe("span"),Q=me(le),ee=ge(),B=pe("span"),te=me(e[1]),fe(a,"class","displayCardIcon"),ce(a.src,o=e[9][0])||fe(a,"src",o),fe(a,"alt",""),fe(s,"class","cardLabel"),fe(i,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(d,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(r,"class","displayCard"),fe(p,"class","displayCardIcon"),ce(p.src,m=e[9][1])||fe(p,"src",m),fe(p,"alt",""),fe(g,"class","cardLabel"),fe(h,"class","iconWrapper"),fe(y,"class","jackpotValue"),fe(b,"class","jackpot-currency"),fe(f,"class","cardTextWrapper"),fe(u,"class","displayCard"),fe(n,"class","pairWrapper"),fe(C,"class","displayCardIcon"),ce(C.src,$=e[9][2])||fe(C,"src",$),fe(C,"alt",""),fe(S,"class","cardLabel"),fe(x,"class","iconWrapper"),fe(k,"class","jackpotValue"),fe(M,"class","jackpot-currency"),fe(F,"class","cardTextWrapper"),fe(w,"class","displayCard"),fe(T,"class","displayCardIcon"),ce(T.src,L=e[9][3])||fe(T,"src",L),fe(T,"alt",""),fe(I,"class","cardLabel"),fe(E,"class","iconWrapper"),fe(P,"class","jackpotValue"),fe(B,"class","jackpot-currency"),fe(G,"class","cardTextWrapper"),fe(_,"class","displayCard"),fe(v,"class","pairWrapper")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(i,a),de(i,s),de(s,R),de(r,l),de(l,c),de(c,D),de(l,H),de(l,d),de(d,N),de(n,O),de(n,u),de(u,h),de(h,p),de(h,g),de(g,j),de(u,f),de(f,y),de(y,U),de(f,W),de(f,b),de(b,z),ue(e,Y,t),ue(e,v,t),de(v,w),de(w,x),de(x,C),de(x,S),de(S,V),de(w,F),de(F,k),de(k,Z),de(F,J),de(F,M),de(M,K),de(v,X),de(v,_),de(_,E),de(E,T),de(E,I),de(I,q),de(_,G),de(G,P),de(P,Q),de(G,ee),de(G,B),de(B,te)},p(e,t){512&t[0]&&!ce(a.src,o=e[9][0])&&fe(a,"src",o),256&t[0]&&A!==(A=e[8][0]+"")&&ye(R,A),128&t[0]&&ne!==(ne=e[7][0]+"")&&ye(D,ne),2&t[0]&&ye(N,e[1]),512&t[0]&&!ce(p.src,m=e[9][1])&&fe(p,"src",m),256&t[0]&&re!==(re=e[8][1]+"")&&ye(j,re),128&t[0]&&ie!==(ie=e[7][1]+"")&&ye(U,ie),2&t[0]&&ye(z,e[1]),512&t[0]&&!ce(C.src,$=e[9][2])&&fe(C,"src",$),256&t[0]&&ae!==(ae=e[8][2]+"")&&ye(V,ae),128&t[0]&&oe!==(oe=e[7][2]+"")&&ye(Z,oe),2&t[0]&&ye(K,e[1]),512&t[0]&&!ce(T.src,L=e[9][3])&&fe(T,"src",L),256&t[0]&&se!==(se=e[8][3]+"")&&ye(q,se),128&t[0]&&le!==(le=e[7][3]+"")&&ye(Q,le),2&t[0]&&ye(te,e[1])},d(e){e&&he(n),e&&he(Y),e&&he(v)}}}function oo(t){let i,a=Array(4),o=[];for(let e=0;e<a.length;e+=1)o[e]=so(to(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(898&n[0]){let e;for(a=Array(4),e=0;e<a.length;e+=1){var r=to(t,a,e);o[e]?o[e].p(r,n):(o[e]=so(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function so(e){let n,r,i,a,o,s,l,c,d,u,h,p,m=e[8][e[49]]+"",g=(e[7][e[49]]??"")+"";return{c(){n=pe("div"),r=pe("div"),i=pe("img"),o=pe("span"),s=me(m),l=pe("span"),c=pe("span"),d=me(g),u=ge(),h=pe("span"),p=me(e[1]),fe(i,"class","displayCardIcon"),ce(i.src,a=e[9][e[49]])||fe(i,"src",a),fe(i,"alt",""),fe(o,"class","cardLabel"),fe(r,"class","iconWrapper"),fe(c,"class","jackpotValue"),fe(h,"class","jackpot-currency"),fe(l,"class","cardTextWrapper"),fe(n,"class","displayCard")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,o),de(o,s),de(n,l),de(l,c),de(c,d),de(l,u),de(l,h),de(h,p)},p(e,t){512&t[0]&&!ce(i.src,a=e[9][e[49]])&&fe(i,"src",a),256&t[0]&&m!==(m=e[8][e[49]]+"")&&ye(s,m),128&t[0]&&g!==(g=(e[7][e[49]]??"")+"")&&ye(d,g),2&t[0]&&ye(p,e[1])},d(e){e&&he(n)}}}function lo(e){let n;function r(e){return e[13]?io:e[3]?ro:no}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function co(n,e,r){let t;vt(n,Kr,e=>r(14,t=e));let i,a,{visualstructure:o=""}=e,{title:s=""}=e,{caticon0:l=""}=e,{caticon1:c=""}=e,{caticon2:d=""}=e,{caticon3:u=""}=e,{iconlabels:h=""}=e,{backgroundsrc:p=""}=e,{currency:m=""}=e,{backgroundsrcmobile:g=""}=e,{titlelogopath:f=""}=e,{lang:y="en"}=e,{clientstyling:b=""}=e,{clientstylingurl:v=""}=e,{endpoint:w=""}=e,{gameid:x=""}=e,A=window.navigator.userAgent,C=!1,$=!1,S="",F=[],k=[],M=[],_=[],E=[],T="",L="",I=!1,G=!0,P=!1;Object.keys(eo).forEach(e=>{Tr(e,eo[e])});const B=["typeSpread","typeLeft"],R=()=>{window.postMessage({type:"JackpotBannerClicked",gameid:x},window.location.href)};return n.$$set=e=>{"visualstructure"in e&&r(0,o=e.visualstructure),"title"in e&&r(16,s=e.title),"caticon0"in e&&r(17,l=e.caticon0),"caticon1"in e&&r(18,c=e.caticon1),"caticon2"in e&&r(19,d=e.caticon2),"caticon3"in e&&r(20,u=e.caticon3),"iconlabels"in e&&r(21,h=e.iconlabels),"backgroundsrc"in e&&r(22,p=e.backgroundsrc),"currency"in e&&r(1,m=e.currency),"backgroundsrcmobile"in e&&r(23,g=e.backgroundsrcmobile),"titlelogopath"in e&&r(24,f=e.titlelogopath),"lang"in e&&r(25,y=e.lang),"clientstyling"in e&&r(26,b=e.clientstyling),"clientstylingurl"in e&&r(27,v=e.clientstylingurl),"endpoint"in e&&r(28,w=e.endpoint),"gameid"in e&&r(29,x=e.gameid)},n.$$.update=()=>{if(268435456&n.$$.dirty[0]&&w&&(t=new URL(w+"/casino/jackpots/config"),fetch(t.href).then(e=>e.json()).then(e=>{r(30,k=e.egtJackpotIds.map(e=>e))})),67108868&n.$$.dirty[0]&&i&&b){let e=document.createElement("style");e.innerHTML=b,i.appendChild(e)}if(134217732&n.$$.dirty[0]&&i&&v){r(12,I=!0);let e=new URL(v),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,i&&(setTimeout(()=>{i.appendChild(t)},1),setTimeout(()=>{r(12,I=!1)},500))})}if(1375731714&n.$$.dirty[0]&&w&&y&&m&&0<k.length&&(w&&y&&m)){let e=new URL(w+"/casino/jackpots");e.searchParams.append("filter","id="+x),e.searchParams.append("language",y),e.searchParams.append("additionalDataCurrency",m),fetch(e.href).then(e=>e.json().then(e=>{r(3,G=!1),a=e,k.includes(x)&&((e=null==(e=null==(e=a)?void 0:e.items[0])?void 0:e.additionalData)&&Object.values(e).forEach(e=>F.push(+e)),r(6,S=a.items[0].vendorLogo))}).catch(e=>{r(13,P=!0),r(3,G=!1),console.error(e)}))}var e,t;33554442&n.$$.dirty[0]&&m&&y&&!G&&(r(4,C=yt(A)&&1<window.innerHeight/window.innerWidth),r(5,$=.75<(t=window.innerHeight/window.innerWidth)&&t<1.6),0!==F.length&&r(7,M=F.map(e=>Intl.NumberFormat("en-US",{maximumFractionDigits:2}).format(e))),r(8,_=h?h.split(",").map(e=>e.trim().toUpperCase()):new Array(4).fill("")),B.includes(o.trim())?r(0,o=o.trim()):(console.warn(`Invalid Attribute Value: "${o}" is not a valid value for the "visualstructure" attribute. Defaulting to "${B[0]}"`),r(0,o=B[0])),r(10,T=g&&C&&!$?g:p),r(11,L=f),r(9,E=[l,c,d,u])),33554432&n.$$.dirty[0]&&y&&(e=y,ft.set(e))},[o,m,i,G,C,$,S,M,_,E,T,L,I,P,t,R,s,l,c,d,u,h,p,g,f,y,b,v,w,x,k,()=>R(),function(e){gt[e?"unshift":"push"](()=>{i=e,r(2,i)})}]}customElements.get("jackpot-banner")||customElements.define("jackpot-banner",class extends i{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:24px;width:auto;display:flex;align-items:center}.vendorLogo img{height:100%;width:auto}.displayCard{position:relative;background:#1c2136;height:Max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:clamp(30vw, auto, 50vw);gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:24px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}</style>',r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},co,lo,t,{visualstructure:0,title:16,caticon0:17,caticon1:18,caticon2:19,caticon3:20,iconlabels:21,backgroundsrc:22,currency:1,backgroundsrcmobile:23,titlelogopath:24,lang:25,clientstyling:26,clientstylingurl:27,endpoint:28,gameid:29},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["visualstructure","title","caticon0","caticon1","caticon2","caticon3","iconlabels","backgroundsrc","currency","backgroundsrcmobile","titlelogopath","lang","clientstyling","clientstylingurl","endpoint","gameid"]}get visualstructure(){return this.$$.ctx[0]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get title(){return this.$$.ctx[16]}set title(e){this.$$set({title:e}),f()}get caticon0(){return this.$$.ctx[17]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[18]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[19]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[20]}set caticon3(e){this.$$set({caticon3:e}),f()}get iconlabels(){return this.$$.ctx[21]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get backgroundsrc(){return this.$$.ctx[22]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get currency(){return this.$$.ctx[1]}set currency(e){this.$$set({currency:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[23]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[24]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get lang(){return this.$$.ctx[25]}set lang(e){this.$$set({lang:e}),f()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[28]}set endpoint(e){this.$$set({endpoint:e}),f()}get gameid(){return this.$$.ctx[29]}set gameid(e){this.$$set({gameid:e}),f()}});const uo={en:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},zh:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},de:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},it:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},fr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},es:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},el:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},tr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ru:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},ro:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},hu:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},pt:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sl:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}},sr:{Translations:{game:"Game",collections:"Collections",providers:"Providers"}}};function ho(e,t,n){const r=e.slice();return r[37]=t[n],r}function po(e,t,n){const r=e.slice();return r[40]=t[n],r}function mo(n){let i,r,a,o,s,l,c,d,u,h,p,m,g,e,f,y,b=n[7]("Translations.game")+"",v=("vendor"==n[0]?n[7]("Translations.providers"):n[7]("Translations.collections"))+"",w=n[2],x=[];for(let e=0;e<w.length;e+=1)x[e]=vo(ho(n,w,e));return{c(){i=pe("div"),r=pe("div"),a=pe("p"),o=me(b),s=ge(),l=me(v),c=ge(),d=pe("div"),(u=pe("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(14.656 0) rotate(90)" fill="#fff"></path></svg>',h=ge(),(p=pe("button")).innerHTML='<svg id="Component_46_2" data-name="Component 46 – 2" xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 16 24.656"><path id="Path_36" data-name="Path 36" d="M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z" transform="translate(0 24.656) rotate(-90)" fill="#fff"></path></svg>',m=ge(),g=pe("div");for(let e=0;e<x.length;e+=1)x[e].c();fe(a,"class","Title"),fe(d,"class","ButtonsContainer"),fe(r,"class","CategoriesHeader"),fe(g,"class","CategoriesSlider"),fe(i,"class",e="CasinoCollectionsProviders "+(n[6]?"Mobile":""))},m(e,t){ue(e,i,t),de(i,r),de(r,a),de(a,o),de(a,s),de(a,l),de(r,c),de(r,d),de(d,u),de(d,h),de(d,p),de(i,m),de(i,g);for(let e=0;e<x.length;e+=1)x[e].m(g,null);n[21](g),f||(y=[K(u,"click",n[17]),K(p,"click",n[18])],f=!0)},p(t,n){if(128&n[0]&&b!==(b=t[7]("Translations.game")+"")&&ye(o,b),129&n[0]&&v!==(v=("vendor"==t[0]?t[7]("Translations.providers"):t[7]("Translations.collections"))+"")&&ye(l,v),3078&n[0]){let e;for(w=t[2],e=0;e<w.length;e+=1){var r=ho(t,w,e);x[e]?x[e].p(r,n):(x[e]=vo(r),x[e].c(),x[e].m(g,null))}for(;e<x.length;e+=1)x[e].d(1);x.length=w.length}64&n[0]&&e!==(e="CasinoCollectionsProviders "+(t[6]?"Mobile":""))&&fe(i,"class",e)},d(e){e&&he(i),G(x,e),n[21](null),f=!1,J(y)}}}function go(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ..."},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function fo(e){let n,r,i=e[37].name+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","CategorySlideTitle")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){4&t[0]&&i!==(i=e[37].name+"")&&ye(r,i)},d(e){e&&he(n)}}}function yo(e){let n,r,i;return{c(){fe(n=pe("img"),"class","CategorySlideLogo"),ce(n.src,r=e[37].icon)||fe(n,"src",r),fe(n,"alt",i=e[37].name+" icon")},m(e,t){ue(e,n,t)},p(e,t){4&t[0]&&!ce(n.src,r=e[37].icon)&&fe(n,"src",r),4&t[0]&&i!==(i=e[37].name+" icon")&&fe(n,"alt",i)},d(e){e&&he(n)}}}function bo(n){let r,i,a,o,s;function l(){return n[19](n[40])}return{c(){fe(r=pe("img"),"class","CategorySlideGameImage"),ce(r.src,i=n[40].defaultThumbnail)||fe(r,"src",i),fe(r,"alt",a=n[40].name)},m(e,t){var n;ue(e,r,t),o||(s=K(r,"click",(n=l,function(e){return e.stopPropagation(),n.call(this,e)})),o=!0)},p(e,t){n=e,4&t[0]&&!ce(r.src,i=n[40].defaultThumbnail)&&fe(r,"src",i),4&t[0]&&a!==(a=n[40].name)&&fe(r,"alt",a)},d(e){e&&he(r),o=!1,s()}}}function vo(n){let r,i,a,o,s,l,c,d,u;function h(e){return"logo"==e[1]?yo:"title"==e[1]?fo:void 0}let p=h(n),m=p&&p(n),g=n[37].games,f=[];for(let e=0;e<g.length;e+=1)f[e]=bo(po(n,g,e));function y(){return n[20](n[37])}return{c(){r=pe("div"),i=pe("div"),a=pe("div"),m&&m.c(),o=ge(),s=pe("div");for(let e=0;e<f.length;e+=1)f[e].c();c=ge(),fe(a,"class","CategorySlideTopContainer"),fe(s,"class","CategorySlideGameContainer"),fe(i,"class",l="CategorySlide "+("vendor"==n[37]?.flag[0]?"CategorySlideNoHighlight":"")),P(i,"background-image","url("+n[37]?.background+")"),fe(r,"class","CategoriesSliderWrapper Animation")},m(e,t){ue(e,r,t),de(r,i),de(i,a),m&&m.m(a,null),de(i,o),de(i,s);for(let e=0;e<f.length;e+=1)f[e].m(s,null);de(r,c),d||(u=K(i,"click",y),d=!0)},p(e,t){if(p===(p=h(n=e))&&m?m.p(n,t):(m&&m.d(1),(m=p&&p(n))&&(m.c(),m.m(a,null))),1028&t[0]){let e;for(g=n[37].games,e=0;e<g.length;e+=1){const i=po(n,g,e);f[e]?f[e].p(i,t):(f[e]=bo(i),f[e].c(),f[e].m(s,null))}for(;e<f.length;e+=1)f[e].d(1);f.length=g.length}4&t[0]&&l!==(l="CategorySlide "+("vendor"==n[37]?.flag[0]?"CategorySlideNoHighlight":""))&&fe(i,"class",l),4&t[0]&&P(i,"background-image","url("+n[37]?.background+")")},d(e){e&&he(r),m&&m.d(),G(f,e),d=!1,u()}}}function wo(n){let r;function i(e){return e[4]?go:mo}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z},m(e,t){ue(e,r,t),o.m(r,null),n[22](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[22](null)}}}function xo(n,e,r){let t;vt(n,Kr,e=>r(7,t=e));let i,a,o,s,l,{endpoint:c=""}=e,{datasource:d=""}=e,{lang:u=""}=e,{type:h=""}=e,{titletype:p=""}=e,{clientstyling:m=""}=e,{clientstylingurl:g=""}=e,f=[],y=!0,b=0,v=0,w=0,x=window.navigator.userAgent;Object.keys(uo).forEach(e=>{Tr(e,uo[e])});const C=n=>{(o=[...i.children]).forEach((e,t)=>{e.style.transform=`translateX(${100*(n?t-n:t)}%)`}),o.map(e=>a=e.getBoundingClientRect().width),w=Math.round(i.offsetWidth/a)},$=()=>{C(b)},S=()=>{w>=v||(0===b?b=v-w:b-w<-1?b=0:b--,$())},F=()=>{w>=v||(b===v-w?b=0:v-w<b+1?b=v-w:b++,$())},k=(e,t,n)=>{window.postMessage({type:"OpenCollectionsProvidersGame",gameId:e,launchUrl:t,gameName:n},window.location.href)},M=e=>{window.postMessage({type:"OpenCollectionsProvidersCategory",categoryId:e},window.location.href)};return wt(()=>{r(6,l=yt(x))}),n.$$set=e=>{"endpoint"in e&&r(12,c=e.endpoint),"datasource"in e&&r(13,d=e.datasource),"lang"in e&&r(14,u=e.lang),"type"in e&&r(0,h=e.type),"titletype"in e&&r(1,p=e.titletype),"clientstyling"in e&&r(15,m=e.clientstyling),"clientstylingurl"in e&&r(16,g=e.clientstylingurl)},n.$$.update=()=>{if(28672&n.$$.dirty[0]&&c&&d&&u){const t=new URL(c+"/v2/casino/groups/"+d);t.searchParams.append("language",u),t.searchParams.append("expand","games"),fetch(t.href).then(e=>e.json()).then(e=>{r(4,y=!1);let t=e.items.filter(e=>e.flags==h);r(2,f=t.map(e=>({id:e.id,name:e.name,icon:e.icon,games:e.games.items.slice(0,4).map(e=>e),background:e.background,flag:e.flags}))),v=f.length})}if(12&n.$$.dirty[0]&&f&&i&&C(),16384&n.$$.dirty[0]&&u&&(e=u,ft.set(e)),32768&n.$$.dirty[0]&&m){let e=document.createElement("style");e.innerHTML=m,s.appendChild(e)}if(65536&n.$$.dirty[0]&&g){let e=new URL(g),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,s&&(setTimeout(()=>{s.appendChild(t)},1),setTimeout(()=>{},500))})}var e},[h,p,f,i,y,s,l,t,S,F,k,M,c,d,u,m,g,()=>S(),()=>F(),e=>k(e.gameId,e.launchUrl,e.name),e=>M(e.id),function(e){gt[e?"unshift":"push"](()=>{i=e,r(3,i)})},function(e){gt[e?"unshift":"push"](()=>{s=e,r(5,s)})}]}function Co(e,t,n){const r=e.slice();return r[164]=t[n],r[166]=n,r}function $o(n){let r,i,a,o,s,l="PC"!==bt(n[73])&&"false"===n[10]&&n[69],c=l&&Fo();function d(e){return"false"===e[10]?Mo:ko}let u=d(n),h=u(n),p="true"==n[15]&&0==n[57]&&Oo(n);function m(e){return e[47]?Vo:e[55]?Yo:e[58]?zo:e[53]?Wo:e[59]?Uo:e[54]?void 0:jo}let g=m(n),f=g&&g(n),y=n[49]&&"true"==n[13]&&is(n);return{c(){r=pe("section"),c&&c.c(),i=ge(),h.c(),a=ge(),p&&p.c(),o=ge(),f&&f.c(),s=ge(),y&&y.c(),fe(r,"class","CategoriesLobby"),fe(r,"part","CategoriesLobby"),P(r,"max-width",n[12]+"px")},m(e,t){ue(e,r,t),c&&c.m(r,null),de(r,i),h.m(r,null),de(r,a),p&&p.m(r,null),de(r,o),f&&f.m(r,null),de(r,s),y&&y.m(r,null),n[105](r)},p(e,t){(l=1024&t[0]|128&t[2]?"PC"!==bt(e[73])&&"false"===e[10]&&e[69]:l)?c||((c=Fo()).c(),c.m(r,i)):c&&(c.d(1),c=null),u===(u=d(e))&&h?h.p(e,t):(h.d(1),(h=u(e))&&(h.c(),h.m(r,a))),"true"==e[15]&&0==e[57]?p?p.p(e,t):((p=Oo(e)).c(),p.m(r,o)):p&&(p.d(1),p=null),g===(g=m(e))&&f?f.p(e,t):(f&&f.d(1),(f=g&&g(e))&&(f.c(),f.m(r,s))),e[49]&&"true"==e[13]?y?y.p(e,t):((y=is(e)).c(),y.m(r,null)):y&&(y.d(1),y=null),4096&t[0]&&P(r,"max-width",e[12]+"px")},d(e){e&&he(r),c&&c.d(),h.d(),p&&p.d(),f&&f.d(),y&&y.d(),n[105](null)}}}function So(e){let n,r,i=e[72]("casinoPage.500")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[2]&&i!==(i=e[72]("casinoPage.500")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Fo(){let n;return{c(){fe(n=pe("div"),"class","SearchBarPlaceholder"),fe(n,"part","SearchBarPlaceholder")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function ko(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w=n[72]("casinoPage.searchGames")+"",x="PC"===bt(n[73])&&n[45].length||"PC"!==bt(n[73]),C=!n[69]&&_o(),$=x&&Eo(n),S=!n[53]&&!n[58]&&!n[69]&&!n[59]&&!n[61]&&!n[54]&&!n[57]&&!n[55]&&!n[56]&&To(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),d=pe("input"),h=ge(),$&&$.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===bt(n[73])?n[72]("casinoPage.search"):n[72]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!os?"CategoriesHeaderSearchActive":"")+(n[63]&&n[69]?"SearchStickTop":"")),fe(r,"part",y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!os?"CategoriesHeaderSearchActive":"")+(n[63]&&n[69]?"SearchStickTop":"")),P(r,"top",n[63]&&n[69]?ss+"px":"")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),de(i,l),C&&C.m(l,null),de(l,c),de(l,d),n[98](d),A(d,n[45]),de(l,h),$&&$.m(l,null),de(r,g),S&&S.m(r,null),n[103](r),b||(v=[K(d,"focus",n[75]),K(d,"blur",n[76]),K(d,"input",n[99]),K(d,"focus",n[77])],b=!0)},p(e,t){1024&t[2]&&w!==(w=e[72]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?C&&(C.d(1),C=null):C||((C=_o()).c(),C.m(l,c)),1024&t[2]&&u!==(u="PC"===bt(e[73])?e[72]("casinoPage.search"):e[72]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),16384&t[1]&&A(d,e[45]),(x=16384&t[1]?"PC"===bt(e[73])&&e[45].length||"PC"!==bt(e[73]):x)?$?$.p(e,t):(($=Eo(e)).c(),$.m(l,null)):$&&($.d(1),$=null),1514143744&t[1]&&p!==(p="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(i,"class",p),1514143744&t[1]&&m!==(m="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(i,"part",m),e[53]||e[58]||e[69]||e[59]||e[61]||e[54]||e[57]||e[55]||e[56]?S&&(S.d(1),S=null):S?S.p(e,t):((S=To(e)).c(),S.m(r,null)),16777216&t[1]|130&t[2]&&f!==(f="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!os?"CategoriesHeaderSearchActive":"")+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),16777216&t[1]|130&t[2]&&y!==(y="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!os?"CategoriesHeaderSearchActive":"")+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y),130&t[2]&&P(r,"top",e[63]&&e[69]?ss+"px":"")},d(e){e&&he(r),C&&C.d(),n[98](null),$&&$.d(),S&&S.d(),n[103](null),b=!1,J(v)}}}function Mo(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w=n[72]("casinoPage.searchGames")+"",x="PC"===bt(n[73])&&n[45].length||"PC"!==bt(n[73]),C=!n[69]&&Bo(),$=x&&Ao(n),S=!n[53]&&!n[58]&&!n[69]&&!n[59]&&!n[61]&&!n[54]&&!n[55]&&!n[57]&&!n[56]&&Ro(n);return{c(){r=pe("div"),i=pe("div"),a=pe("label"),o=me(w),s=ge(),l=pe("div"),C&&C.c(),c=ge(),d=pe("input"),h=ge(),$&&$.c(),g=ge(),S&&S.c(),fe(a,"for","search"),fe(a,"class","SrOnly"),fe(a,"part","SrOnly"),fe(d,"id","SearchField"),fe(d,"class","SearchInput"),fe(d,"part","SearchInput"),fe(d,"placeholder",u="PC"===bt(n[73])?n[72]("casinoPage.search"):n[72]("casinoPage.searchMobile")),fe(d,"type","search"),fe(l,"class","SearchWrapper"),fe(l,"part","SearchWrapper"),fe(i,"class",p="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(i,"part",m="SearchContainer "+(n[58]||n[53]||n[59]||n[61]||n[56]?"":"SearchTruncated")),fe(r,"class",f="CategoriesHeaderSection "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!os?"CategoriesHeaderSearchActive":"")+" "+(n[63]&&n[69]?"SearchStickTop":"")),P(r,"top",n[63]&&n[69]?ss+"px":""),fe(r,"part",y="CategoriesHeaderSection "+("PC"!==bt(n[73])?"CategoriesHeaderMobileSection":"")+" "+(n[69]?"SearchMobileActive":"")+" "+(n[69]||n[55]&&"PC"!==bt(n[73])&&!os?"CategoriesHeaderSearchActive":"")+" "+(n[63]&&n[69]?"SearchStickTop":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(i,s),de(i,l),C&&C.m(l,null),de(l,c),de(l,d),n[92](d),A(d,n[45]),de(l,h),$&&$.m(l,null),de(r,g),S&&S.m(r,null),n[97](r),b||(v=[K(d,"focus",n[75]),K(d,"blur",n[76]),K(d,"input",n[93]),K(d,"focus",n[77])],b=!0)},p(e,t){1024&t[2]&&w!==(w=e[72]("casinoPage.searchGames")+"")&&ye(o,w),e[69]?C&&(C.d(1),C=null):C||((C=Bo()).c(),C.m(l,c)),1024&t[2]&&u!==(u="PC"===bt(e[73])?e[72]("casinoPage.search"):e[72]("casinoPage.searchMobile"))&&fe(d,"placeholder",u),16384&t[1]&&A(d,e[45]),(x=16384&t[1]?"PC"===bt(e[73])&&e[45].length||"PC"!==bt(e[73]):x)?$?$.p(e,t):(($=Ao(e)).c(),$.m(l,null)):$&&($.d(1),$=null),1514143744&t[1]&&p!==(p="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(i,"class",p),1514143744&t[1]&&m!==(m="SearchContainer "+(e[58]||e[53]||e[59]||e[61]||e[56]?"":"SearchTruncated"))&&fe(i,"part",m),e[53]||e[58]||e[69]||e[59]||e[61]||e[54]||e[55]||e[57]||e[56]?S&&(S.d(1),S=null):S?S.p(e,t):((S=Ro(e)).c(),S.m(r,null)),16777216&t[1]|130&t[2]&&f!==(f="CategoriesHeaderSection "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!os?"CategoriesHeaderSearchActive":"")+" "+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"class",f),130&t[2]&&P(r,"top",e[63]&&e[69]?ss+"px":""),16777216&t[1]|130&t[2]&&y!==(y="CategoriesHeaderSection "+("PC"!==bt(e[73])?"CategoriesHeaderMobileSection":"")+" "+(e[69]?"SearchMobileActive":"")+" "+(e[69]||e[55]&&"PC"!==bt(e[73])&&!os?"CategoriesHeaderSearchActive":"")+" "+(e[63]&&e[69]?"SearchStickTop":""))&&fe(r,"part",y)},d(e){e&&he(r),C&&C.d(),n[92](null),$&&$.d(),S&&S.d(),n[97](null),b=!1,J(v)}}}function _o(){let n;return{c(){(n=pe("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchWrapper")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Eo(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,i),a||(o=K(r,"click",n[100]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function To(e){let n,r,i=e[70]&&Lo(e),a=(!e[55]||!e[54])&&Io(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),a&&a.m(n,null)},p(e,t){e[70]?i?i.p(e,t):((i=Lo(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[55]&&e[54]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Io(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function Lo(n){let r,i,a,o,s,l,c,d,u,h=n[72]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(h),o=ge(),(s=pe("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class",l="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":"")),fe(r,"part",c="ClearFilterButtonWrapper "+(n[70]?"FiltersActive":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),d||(u=K(r,"click",n[101]),d=!0)},p(e,t){1024&t[2]&&h!==(h=e[72]("casinoPage.clear")+"")&&ye(a,h),256&t[2]&&l!==(l="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"class",l),256&t[2]&&c!==(c="ClearFilterButtonWrapper "+(e[70]?"FiltersActive":""))&&fe(r,"part",c)},d(e){e&&he(r),d=!1,u()}}}function Io(e){let n,r=!e[59]&&Go(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[59]?r&&(r.d(1),r=null):r?r.p(e,t):((r=Go(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function Go(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f=n[72]("casinoPage.filters")+"",y=0<n[70]&&Po(n);return{c(){r=pe("div"),i=pe("div"),a=me(f),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),d=k("style"),u=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),y&&y.c(),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,p),y&&y.m(s,null),m||(g=K(r,"click",n[102]),m=!0)},p(e,t){1024&t[2]&&f!==(f=e[72]("casinoPage.filters")+"")&&ye(a,f),0<e[70]?y?y.p(e,t):((y=Po(e)).c(),y.m(s,null)):y&&(y.d(1),y=null)},d(e){e&&he(r),y&&y.d(),m=!1,g()}}}function Po(e){let n,r,i;return{c(){n=pe("div"),r=pe("span"),i=me(e[70]),fe(r,"class","NumberOfFilters"),fe(r,"part","NumberOfFilters"),fe(n,"class","NumberOfFiltersContainer"),fe(n,"part","NumberOfFiltersContainer")},m(e,t){ue(e,n,t),de(n,r),de(r,i)},p(e,t){256&t[2]&&ye(i,e[70])},d(e){e&&he(n)}}}function Bo(){let n;return{c(){(n=pe("div")).innerHTML='<svg role="presentation" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" aria-hidden="true"><path fill-rule="evenodd" d="M8 4a4 4 0 100 8 4 4 0 000-8zM2 8a6 6 0 1110.89 3.476l4.817 4.817a1 1 0 01-1.414 1.414l-4.816-4.816A6 6 0 012 8z" clip-rule="evenodd"></path></svg>',fe(n,"class","SearchIcon"),fe(n,"part","SearchIcon")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Ao(n){let r,i,a,o;return{c(){r=pe("span"),(i=pe("div")).innerHTML='<div class="CloseIconWrapper" part="CloseIconWrapper"><div class="CloseIcon" part="CloseIcon"></div></div>',fe(i,"class","CloseIconContainer"),fe(i,"part","CloseIconContainer"),fe(r,"class","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile"),fe(r,"part","PC"===bt(n[73])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){ue(e,r,t),de(r,i),a||(o=K(r,"click",n[94]),a=!0)},p:Z,d(e){e&&he(r),a=!1,o()}}}function Ro(e){let n,r,i=e[70]&&Do(e),a=(!e[55]||!e[54])&&Ho(e);return{c(){n=pe("div"),i&&i.c(),r=ge(),a&&a.c(),fe(n,"class","FiltersButtonsContainer"),fe(n,"part","FiltersButtonsContainer")},m(e,t){ue(e,n,t),i&&i.m(n,null),de(n,r),a&&a.m(n,null)},p(e,t){e[70]?i?i.p(e,t):((i=Do(e)).c(),i.m(n,r)):i&&(i.d(1),i=null),e[55]&&e[54]?a&&(a.d(1),a=null):a?a.p(e,t):((a=Ho(e)).c(),a.m(n,null))},d(e){e&&he(n),i&&i.d(),a&&a.d()}}}function Do(n){let r,i,a,o,s,l,c,d=n[72]("casinoPage.clear")+"";return{c(){r=pe("div"),i=pe("div"),a=me(d),o=ge(),(s=pe("span")).innerHTML='<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 378.303 378.303" style="enable-background:new 0 0 378.303 378.303;" xml:space="preserve"><polygon style="fill:var(--emfe-w-color-secondary, #FD2839);" points="378.303,28.285 350.018,0 189.151,160.867 28.285,0 0,28.285 160.867,189.151 0,350.018\n 28.285,378.302 189.151,217.436 350.018,378.302 378.303,350.018 217.436,189.151 "></polygon></svg>',fe(s,"class","ClearIcon"),fe(s,"part","ClearIcon"),fe(i,"class","ClearButton"),fe(i,"part","ClearButton"),fe(r,"class","ClearFilterButtonWrapper"),fe(r,"part","ClearFilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),l||(c=K(r,"click",n[95]),l=!0)},p(e,t){1024&t[2]&&d!==(d=e[72]("casinoPage.clear")+"")&&ye(a,d)},d(e){e&&he(r),l=!1,c()}}}function Ho(e){let n,r=(!e[59]||!e[61])&&No(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[59]&&e[61]?r&&(r.d(1),r=null):r?r.p(e,t):((r=No(e)).c(),r.m(n.parentNode,n))},d(e){r&&r.d(e),e&&he(n)}}}function No(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v=n[72]("casinoPage.filters")+"";return{c(){r=pe("div"),i=pe("div"),a=me(v),o=ge(),s=pe("div"),l=k("svg"),c=k("defs"),d=k("style"),u=me(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),h=k("path"),p=ge(),m=pe("div"),g=pe("span"),f=me(n[70]),fe(i,"class","FilterButton"),fe(i,"part","FilterButton"),fe(h,"class","a"),fe(h,"d","M16.7,32.2a1.654,1.654,0,0,1-.636-.148,1.526,1.526,0,0,1-.867-1.393V20.578L5.433,10.588A1.543,1.543,0,0,1,5,9.491V7.742A1.512,1.512,0,0,1,6.5,6.2h23A1.512,1.512,0,0,1,31,7.742V9.491a1.543,1.543,0,0,1-.433,1.1L20.8,20.578v7.738a1.594,1.594,0,0,1-.52,1.156l-2.6,2.312A1.461,1.461,0,0,1,16.7,32.2ZM6.618,9.431l9.764,10.02a1.543,1.543,0,0,1,.433,1.1v9.813l2.34-2.075V20.519a1.543,1.543,0,0,1,.433-1.1L29.353,9.4V7.831H6.618Z"),fe(h,"transform","translate(-5 -6.2)"),fe(l,"xmlns","http://www.w3.org/2000/svg"),fe(l,"width","20"),fe(l,"height","20"),fe(l,"viewBox","0 0 26 26"),fe(g,"class","NumberOfFilters"),fe(g,"part","NumberOfFilters"),fe(m,"class","NumberOfFiltersContainer"),fe(m,"part","NumberOfFiltersContainer"),fe(s,"class","FilterIconContainer"),fe(s,"part","FilterIconContainer"),fe(r,"class","FilterButtonWrapper"),fe(r,"part","FilterButtonWrapper")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(s,l),de(l,c),de(c,d),de(d,u),de(l,h),de(s,p),de(s,m),de(m,g),de(g,f),y||(b=K(r,"click",n[96]),y=!0)},p(e,t){1024&t[2]&&v!==(v=e[72]("casinoPage.filters")+"")&&ye(a,v),256&t[2]&&ye(f,e[70])},d(e){e&&he(r),y=!1,b()}}}function Oo(e){let n;return{c(){w(n=pe("casino-random-game"),"datasource",e[1]),w(n,"endpoint",e[0]),w(n,"lang",e[3]),w(n,"gameevent",e[46]),w(n,"randombuttonicon",e[43])},m(e,t){ue(e,n,t)},p(e,t){2&t[0]&&w(n,"datasource",e[1]),1&t[0]&&w(n,"endpoint",e[0]),8&t[0]&&w(n,"lang",e[3]),32768&t[1]&&w(n,"gameevent",e[46]),4096&t[1]&&w(n,"randombuttonicon",e[43])},d(e){e&&he(n)}}}function jo(e){let n;return{c(){w(n=pe("casino-games-category-section"),"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"favorites",e[11]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"session",e[4]),w(n,"categoryid",e[66]),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"integratedgameframedesktop",e[22]),w(n,"integratedgameframemobile",e[23])},m(e,t){ue(e,n,t)},p(e,t){32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),2048&t[0]&&w(n,"favorites",e[11]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),16&t[0]&&w(n,"session",e[4]),16&t[2]&&w(n,"categoryid",e[66]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),4194304&t[0]&&w(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function Uo(e){let n;function r(e){return e[60]?Ko:e[61]?Jo:Zo}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Wo(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"session",n[4]),w(r,"userid",n[5]),w(r,"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"favorites",n[11]),w(r,"categoryid","FAVORITES"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"integratedgameframedesktop",n[22]),w(r,"integratedgameframemobile",n[23])},m(e,t){ue(e,r,t),a||(o=M(i=n[74].call(null,r,(n[0],n[50],n[51],n[50]))),a=!0)},p(e,t){16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),i&&F(i.update)&&1&t[0]|1572864&t[1]&&i.update.call(null,(e[0],e[50],e[51],e[50]))},d(e){e&&he(r),a=!1,o()}}}function zo(t){let i,a=t[65],o=[];for(let e=0;e<a.length;e+=1)o[e]=rs(Co(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(2147437567&n[0]|4095&n[1]|8&n[2]){let e;for(a=t[65],e=0;e<a.length;e+=1){var r=Co(t,a,e);o[e]?o[e].p(r,n):(o[e]=rs(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function Yo(n){let r,i,a,o;return{c(){w(r=pe("casino-games-category-section"),"endpoint",n[0]),w(r,"datasource",n[1]),w(r,"lang",n[3]),w(r,"currency",n[2]),w(r,"session",n[4]),w(r,"userid",n[5]),w(r,"categoryid","Search"),w(r,"favorites",n[11]),w(r,"categoryindex","0"),w(r,"class","CategoryContainer"),w(r,"clientstyling",n[6]),w(r,"clientstylingurl",n[7]),w(r,"livecasino",n[14]),w(r,"visiblegames",n[9]),w(r,"gamepagemodalurl",n[16]),w(r,"integratedgameframedesktop",n[22]),w(r,"integratedgameframemobile",n[23])},m(e,t){ue(e,r,t),a||(o=M(i=n[82].call(null,r,n[64])),a=!0)},p(e,t){1&t[0]&&w(r,"endpoint",e[0]),2&t[0]&&w(r,"datasource",e[1]),8&t[0]&&w(r,"lang",e[3]),4&t[0]&&w(r,"currency",e[2]),16&t[0]&&w(r,"session",e[4]),32&t[0]&&w(r,"userid",e[5]),2048&t[0]&&w(r,"favorites",e[11]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),16384&t[0]&&w(r,"livecasino",e[14]),512&t[0]&&w(r,"visiblegames",e[9]),65536&t[0]&&w(r,"gamepagemodalurl",e[16]),4194304&t[0]&&w(r,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(r,"integratedgameframemobile",e[23]),i&&F(i.update)&&4&t[2]&&i.update.call(null,e[64])},d(e){e&&he(r),a=!1,o()}}}function Vo(e){let n,r,i=e[72]("casinoPage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[2]&&i!==(i=e[72]("casinoPage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Zo(e){let n;return{c(){w(n=pe("casino-games-category-section"),"session",e[4]),w(n,"userid",e[5]),w(n,"endpoint",e[0]),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"currency",e[2]),w(n,"favorites",e[11]),w(n,"categoryid","MOSTPLAYED"),w(n,"categoryindex","1"),w(n,"categorygames","9"),w(n,"class","CategoryContainer"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7]),w(n,"livecasino",e[14]),w(n,"visiblegames",e[9]),w(n,"gamepagemodalurl",e[16]),w(n,"integratedgameframedesktop",e[22]),w(n,"integratedgameframemobile",e[23])},m(e,t){ue(e,n,t)},p(e,t){16&t[0]&&w(n,"session",e[4]),32&t[0]&&w(n,"userid",e[5]),1&t[0]&&w(n,"endpoint",e[0]),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),4&t[0]&&w(n,"currency",e[2]),2048&t[0]&&w(n,"favorites",e[11]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7]),16384&t[0]&&w(n,"livecasino",e[14]),512&t[0]&&w(n,"visiblegames",e[9]),65536&t[0]&&w(n,"gamepagemodalurl",e[16]),4194304&t[0]&&w(n,"integratedgameframedesktop",e[22]),8388608&t[0]&&w(n,"integratedgameframemobile",e[23])},d(e){e&&he(n)}}}function Jo(e){let n,r=e[62]&&Xo(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[62]?r?r.p(e,t):((r=Xo(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Ko(e){let n,r,i=e[72]("casinoPage.noGamesPlayed")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[2]&&i!==(i=e[72]("casinoPage.noGamesPlayed")+"")&&ye(r,i)},d(e){e&&he(n)}}}function Xo(e){let n,r,i=e[72]("casinoPage.noGamesPlayed")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){1024&t[2]&&i!==(i=e[72]("casinoPage.noGamesPlayed")+"")&&ye(r,i)},d(e){e&&he(n)}}}function qo(e){let n,r;return{c(){n=pe("div"),w(r=pe("casino-winners"),"session",e[4]),w(r,"periodrecent",e[24]),w(r,"periodtop",e[25]),w(r,"numberusersrecent",e[26]),w(r,"numberuserstop",e[27]),w(r,"amountlimit",e[28]),w(r,"isrecentavailable",e[21]),w(r,"istopavailable",e[20]),w(r,"defaultcurrency",e[29]),w(r,"enableautoscroll",e[19]),w(r,"tabsorder",e[18]),w(r,"lang",e[3]),w(r,"clientstyling",e[6]),w(r,"clientstylingurl",e[7]),w(r,"endpoint",e[0]),fe(n,"class","CasinoWinners")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){16&t[0]&&w(r,"session",e[4]),16777216&t[0]&&w(r,"periodrecent",e[24]),33554432&t[0]&&w(r,"periodtop",e[25]),67108864&t[0]&&w(r,"numberusersrecent",e[26]),134217728&t[0]&&w(r,"numberuserstop",e[27]),268435456&t[0]&&w(r,"amountlimit",e[28]),2097152&t[0]&&w(r,"isrecentavailable",e[21]),1048576&t[0]&&w(r,"istopavailable",e[20]),536870912&t[0]&&w(r,"defaultcurrency",e[29]),524288&t[0]&&w(r,"enableautoscroll",e[19]),262144&t[0]&&w(r,"tabsorder",e[18]),8&t[0]&&w(r,"lang",e[3]),64&t[0]&&w(r,"clientstyling",e[6]),128&t[0]&&w(r,"clientstylingurl",e[7]),1&t[0]&&w(r,"endpoint",e[0])},d(e){e&&he(n)}}}function Qo(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),w(i=pe("jackpot-banner"),"title","Jackpot Cards"),w(i,"currency",a=e[2]||"RON"),w(i,"gameid","998"),w(i,"endpoint",e[0]),w(i,"lang",e[3]),w(i,"backgroundsrc","/assets/background0.jpg"),w(i,"backgroundsrcmobile","/assets/background0.jpg"),w(i,"titlelogopath","/assets/jackpots_logo.svg"),w(i,"caticon0","/assets/icon0.svg"),w(i,"caticon1","/assets/icon1.svg"),w(i,"caticon2","/assets/icon2.svg"),w(i,"caticon3","/assets/icon3.svg"),w(i,"iconlabels",e[38]),w(i,"visualstructure","typeSpread")},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&w(i,"currency",a),1&t[0]&&w(i,"endpoint",e[0]),8&t[0]&&w(i,"lang",e[3]),128&t[1]&&w(i,"iconlabels",e[38])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function es(e){let n,r,i,a;return{c(){n=pe("br"),r=ge(),w(i=pe("jackpot-banner"),"title","Egypt Quest"),w(i,"currency",a=e[2]||"RON"),w(i,"gameid","999"),w(i,"endpoint",e[0]),w(i,"lang",e[3]),w(i,"backgroundsrc",e[35]),w(i,"backgroundsrcmobile",e[36]),w(i,"titlelogopath",e[37]),w(i,"caticon0",e[31]),w(i,"caticon1",e[32]),w(i,"caticon2",e[33]),w(i,"caticon3",e[34]),w(i,"iconlabels",e[38]),w(i,"visualstructure",e[39])},m(e,t){ue(e,n,t),ue(e,r,t),ue(e,i,t)},p(e,t){4&t[0]&&a!==(a=e[2]||"RON")&&w(i,"currency",a),1&t[0]&&w(i,"endpoint",e[0]),8&t[0]&&w(i,"lang",e[3]),16&t[1]&&w(i,"backgroundsrc",e[35]),32&t[1]&&w(i,"backgroundsrcmobile",e[36]),64&t[1]&&w(i,"titlelogopath",e[37]),1&t[1]&&w(i,"caticon0",e[31]),2&t[1]&&w(i,"caticon1",e[32]),4&t[1]&&w(i,"caticon2",e[33]),8&t[1]&&w(i,"caticon3",e[34]),128&t[1]&&w(i,"iconlabels",e[38]),256&t[1]&&w(i,"visualstructure",e[39])},d(e){e&&he(n),e&&he(r),e&&he(i)}}}function ts(e){let n,r;return{c(){w(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"type","vendor"),w(n,"titletype","logo"),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&w(n,"endpoint",r),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function ns(e){let n,r;return{c(){w(n=pe("casino-collections-providers"),"endpoint",r=e[0].slice(0,-2)),w(n,"datasource",e[1]),w(n,"lang",e[3]),w(n,"type",e[41]),w(n,"titletype",e[42]),w(n,"clientstyling",e[6]),w(n,"clientstylingurl",e[7])},m(e,t){ue(e,n,t)},p(e,t){1&t[0]&&r!==(r=e[0].slice(0,-2))&&w(n,"endpoint",r),2&t[0]&&w(n,"datasource",e[1]),8&t[0]&&w(n,"lang",e[3]),1024&t[1]&&w(n,"type",e[41]),2048&t[1]&&w(n,"titletype",e[42]),64&t[0]&&w(n,"clientstyling",e[6]),128&t[0]&&w(n,"clientstylingurl",e[7])},d(e){e&&he(n)}}}function rs(n){let r,i,a,o,s,e,l,c,d,u="true"===n[17]&&1===n[166]&&qo(n);function h(e){return 4===e[166]&&"true"==e[30]?es:6===e[166]&&"true"==e[30]?Qo:void 0}let p=h(n),m=p&&p(n);function g(e){return 7==e[166]&&"true"==e[40]?ns:e[166]==e[65].length-1&&"true"==e[40]?ts:void 0}let f=g(n),y=f&&f(n);return{c(){u&&u.c(),r=ge(),m&&m.c(),i=ge(),y&&y.c(),a=ge(),w(o=pe("casino-games-category-section"),"session",n[4]),w(o,"userid",n[5]),w(o,"endpoint",n[0]),w(o,"datasource",n[1]),w(o,"lang",n[3]),w(o,"currency",n[2]),w(o,"categoryid",s=n[164]),w(o,"categoryindex",e=n[166]),w(o,"categorygames","9"),w(o,"favorites",n[11]),w(o,"class","CategoryContainer"),P(o,"background-color",n[166]%2!=0?n[8]:"transparent"),w(o,"clientstyling",n[6]),w(o,"clientstylingurl",n[7]),w(o,"livecasino",n[14]),w(o,"visiblegames",n[9]),w(o,"gamepagemodalurl",n[16]),w(o,"integratedgameframedesktop",n[22]),w(o,"integratedgameframemobile",n[23])},m(e,t){u&&u.m(e,t),ue(e,r,t),m&&m.m(e,t),ue(e,i,t),y&&y.m(e,t),ue(e,a,t),ue(e,o,t),c||(d=M(l=n[81].call(null,o,n[164])),c=!0)},p(e,t){"true"===(n=e)[17]&&1===n[166]?u?u.p(n,t):((u=qo(n)).c(),u.m(r.parentNode,r)):u&&(u.d(1),u=null),p===(p=h(n))&&m?m.p(n,t):(m&&m.d(1),(m=p&&p(n))&&(m.c(),m.m(i.parentNode,i))),f===(f=g(n))&&y?y.p(n,t):(y&&y.d(1),(y=f&&f(n))&&(y.c(),y.m(a.parentNode,a))),16&t[0]&&w(o,"session",n[4]),32&t[0]&&w(o,"userid",n[5]),1&t[0]&&w(o,"endpoint",n[0]),2&t[0]&&w(o,"datasource",n[1]),8&t[0]&&w(o,"lang",n[3]),4&t[0]&&w(o,"currency",n[2]),8&t[2]&&s!==(s=n[164])&&w(o,"categoryid",s),2048&t[0]&&w(o,"favorites",n[11]),256&t[0]&&P(o,"background-color",n[166]%2!=0?n[8]:"transparent"),64&t[0]&&w(o,"clientstyling",n[6]),128&t[0]&&w(o,"clientstylingurl",n[7]),16384&t[0]&&w(o,"livecasino",n[14]),512&t[0]&&w(o,"visiblegames",n[9]),65536&t[0]&&w(o,"gamepagemodalurl",n[16]),4194304&t[0]&&w(o,"integratedgameframedesktop",n[22]),8388608&t[0]&&w(o,"integratedgameframemobile",n[23]),l&&F(l.update)&&8&t[2]&&l.update.call(null,n[164])},d(e){u&&u.d(e),e&&he(r),m&&m.d(e),e&&he(i),y&&y.d(e),e&&he(a),e&&he(o),c=!1,d()}}}function is(n){let r,i,a,e,t,o,s,l=n[72]("casinoPage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==bt(n[73])?"PanicButtonMobile ":"")),fe(i,"part",t="PanicButton "+("PC"!==bt(n[73])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[52]),fe(r,"class",o="PanicSection "+("PC"!==bt(n[73])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==bt(n[73])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[104](i)},p(e,t){1024&t[2]&&l!==(l=e[72]("casinoPage.breakButton")+"")&&ye(a,l),2097152&t[1]&&B(i,"PanicButtonAnimation",e[52])},d(e){e&&he(r),n[104](null)}}}function as(e){let n;function r(e){return e[48]?So:$o}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}customElements.get("casino-collections-providers")||customElements.define("casino-collections-providers",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.CasinoCollectionsProviders{background:var(--emfe-w-color-contrast, #07072A);width:100%;height:330px;margin:0 auto;margin-top:24px}.CategoriesHeader{display:flex;justify-content:space-between;height:70px}.CategoriesHeader .Title{color:var(--emfe-w-color-white, #FFFFFF);font-size:22px;font-weight:500}.CategoriesHeader .ButtonsContainer button{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px;cursor:pointer}.CategoriesHeader .ButtonsContainer button:active{opacity:0.7}.CategoriesSlider{position:relative;height:230px;overflow:hidden}.CategoriesSliderWrapper{position:absolute;top:0;left:0}.CategoriesSlider .Animation{transition:transform 0.8s}.CategoriesSlider .CategorySlide{border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:space-evenly;height:200px;width:400px;margin-right:15px;background-size:cover}.CategoriesSlider .CategorySlide:not(.CategorySlideNoHighlight){background-color:#808080;background-blend-mode:multiply}.CategoriesSlider .CategorySlideTopContainer{height:100px;display:flex;align-items:center}.CategoriesSlider .CategorySlideLogo{max-height:100px}.CategoriesSlider .CategorySlideTitle{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;letter-spacing:1px}.CategoriesSlider .CategorySlideGameContainer{display:flex;justify-content:center;gap:3%;min-height:70px}.CategoriesSlider .CategorySlideGameImage{border-radius:10px;width:22%;height:55px;object-fit:cover}.Mobile.CasinoCollectionsProviders{padding:25px 10px}.Mobile .CategoriesSlider{overflow:auto;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.Mobile .CategoriesSlider::-webkit-scrollbar{display:none}.Mobile .CategorySlide{width:85vw;scroll-snap-align:start}.Mobile .ButtonsContainer{display:none}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},xo,wo,t,{endpoint:12,datasource:13,lang:14,type:0,titletype:1,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","type","titletype","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[13]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[14]}set lang(e){this.$$set({lang:e}),f()}get type(){return this.$$.ctx[0]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[1]}set titletype(e){this.$$set({titletype:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});let os=!1;const ss=0;function ls(e,t,c){let i;vt(e,Kr,e=>c(72,i=e));let R,{endpoint:d=""}=t,{datasource:a=""}=t,{currency:D=""}=t,{lang:o=""}=t,{session:s=""}=t,{userid:n=""}=t,{clientstyling:l=""}=t,{clientstylingurl:u=""}=t,{categorybackground:H=""}=t,N=t["visiblegames"],{alternativesearch:O="false"}=t,{favorites:h=""}=t,{mostplayed:j=""}=t,{lastplayed:U=""}=t,{containermaxwidth:W="1300"}=t,{lobbyid:p="casinodefault"}=t,{haspanicbutton:z="false"}=t,{mostplayedrounds:Y=""}=t,{lastplayedperiod:V=""}=t,{filteredcategories:Z=""}=t,{activecategory:J=""}=t,{livecasino:K="false"}=t,{playrandomgame:X="false"}=t,{gamepagemodalurl:q="false"}=t,{enablecasinowinners:Q=""}=t,{tabsorder:ee=""}=t,{enableautoscroll:te=""}=t,{istopavailable:ne=""}=t,{isrecentavailable:re=""}=t,{integratedgameframedesktop:ie="false"}=t,{integratedgameframemobile:ae="false"}=t,{periodrecent:oe=""}=t,{periodtop:se=""}=t,{numberusersrecent:le=""}=t,{numberuserstop:ce=""}=t,{amountlimit:de=""}=t,{defaultcurrency:ue=""}=t,{enablejackpotbanner:he=""}=t,{caticon0:pe=""}=t,{caticon1:me=""}=t,{caticon2:ge=""}=t,{caticon3:fe=""}=t,{backgroundsrc:ye=""}=t,{backgroundsrcmobile:be=""}=t,{titlelogopath:ve=""}=t,{iconlabels:we=""}=t,{visualstructure:xe=""}=t,{enablecollections:Ce=""}=t,{type:$e=""}=t,{titletype:Se=""}=t,{randombuttonicon:Fe=""}=t,m=window.navigator.userAgent;R=yt(m)?"OpenGameFrame":"ShowGameModal";let g,f,y,ke,b,v,w,Me,_e,Ee,r,x,C,Te,$=!1,S=!1,Le=!1,F="",Ie=!1,Ge=0,k=!1,Pe=!1,Be=!0,Ae=!1,Re=!1,De=!1,He=!1,M=!0,_=!1,Ne=!1,E=!1,Oe=!1,je=!1,T=!0,Ue=[],L="",We={},ze,Ye,Ve,I=[],Ze=!1,G=[],Je=0,P="",Ke=!1;var Xe,qe;({withLocale:Xe,translations:qe}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(qe),ft.set(Xe))}),Object.keys(wi).forEach(e=>{Tr(e,wi[e])});const Qe=n=>{if(n.data)switch(n.data.type){case"UserSessionID":c(51,f=n.data.session),c(50,g=n.data.userID),g&&g.length&&f&&0<f.length&&B(d,f,g);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":o=`${d}/player/${g}/favorites`,s=f,g,l=n.data.id,n.data.triggerFactor,I.includes(l)&&(I=I.filter(e=>e!=l)),fetch(o+"/"+l,{method:"DELETE",headers:{"X-SessionID":s}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+l},window.location.href),et(o,s)});break;case"SetFavoredGame":{var r=`${d}/player/${g}/favorites`;var i=f;g;var a=n.data.id;n.data.triggerFactor;I.includes(a)||I.push(a);let e={items:I},t={method:"POST",headers:{"X-SessionID":i,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(r,t).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${a}`},window.location.href),et(r,i)}).catch(e=>{console.error("Err",e)})}break;case"GetFavoredGame":g&&g.length&&f&&0<f.length&&B(d,f,g);break;case"SearchedItemClicked":var t=n.data.gameId;if(-1===(G=(G=rt(`searchedGamesWds_${p}`))?G.split(","):[]).indexOf(t)){let e;G.push(t),e=G.join(","),document.cookie=`searchedGamesWds_${p}=`+e}break;case"UpdateFilters":t=n.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),A();break;case"ClearFilters":e=n.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:e},window.location.href),A();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:P},window.location.href),A();break;case"CategoryVendors":P=n.data.categoryid,A();break;case"GameHovered":Re=!0;break;case"GameBlur":Re=!1}var e,o,s,l};let B=(e,t,n)=>{"true"==h&&s&&n&&fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>((r=e)&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),tt(r.items)),r)).then(e=>(k&&nt(),e)).catch(e=>{console.error(e)})},et=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(r=e,k&&nt(),r&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:r},window.location.href),r)).catch(e=>{console.error(e)})};const tt=(e=[])=>(I=[],0<e.length&&e.forEach(e=>{I.push(e.id)}),I);const nt=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:r},window.location.href)},rt=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},it=()=>{if(d&&a&&o&&(c(57,He=!0),L.length<2)){let e=rt("searchedGamesWds_"+p),t=[],n=(e&&(t=e.split(",")),1!=M||Be||(c(56,De=M),c(58,M=!1)),[]),r=0,i=t.length;if(0<i){for(r=0;r<i;r++){let e=new URL(d+"/casino/games/"+t[r]);e.searchParams.append("language",o),e.searchParams.append("datasource",a),e.searchParams.append("platform",bt(m)),n.push(((e,r)=>new Promise((t,n)=>{c(47,$=!0),r&&0<=Object.keys(We).indexOf(r)?(c(47,$=!1),t(We[r])):fetch(e).then(e=>e.json()).then(e=>{c(47,$=!1),We[e[0].id]=e[0],t(e[0])}).catch(e=>{c(48,S=!0),c(47,$=!1),console.error(e),n(e)})}))(e,t[r]))}Promise.all(n).then(e=>{c(64,b=e),st(0,b)})}else st(0,{})}},at=()=>{c(57,He=!1),L.length<2&&!Re&&(c(55,Ae=!1),c(64,b=[]),c(54,Pe=!1),c(58,M=De),c(56,De=!1),!1===M&&window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},A=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&P&&(e[P]?c(70,Je=e[P].length):c(70,Je=0))},ot=()=>{c(91,T=!0),c(45,L=""),c(64,b=[]),c(54,Pe=!1),at()},st=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},lt=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},ct=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},dt=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:r},window.location.href)},ut=()=>{Me&&(_e=Me.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>_e||130<_e?c(63,je=!0):c(63,je=!1)},ht=()=>{c(66,v=J);var i,e={data:{itemId:v}};switch(c(55,Ae=!1),c(45,L=""),ze=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:!0},window.location.href)}),e.data.itemId){case"LOBBY":c(58,M=!0),c(53,k=!1),c(66,v=""),c(59,_=!1),c(61,E=!1);break;case"FAVORITES":c(58,M=!1),c(53,k=!0),c(59,_=!1),c(61,E=!1),c(66,v="");break;case"MOSTPLAYED":"true"==j&&(c(47,$=!0),(e=>{let t=new URL(`${d}/player/${g}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order),t.searchParams.append("expand","games");var n=e.device;return n?"PC"===n?t.searchParams.append("device","Desktop"):t.searchParams.append("device","Mobile"):t.searchParams.append("device","All"),e.rounds&&t.searchParams.append("rounds",e.rounds),Te=K?t:t.href,new Promise((t,n)=>{fetch(Te).then(e=>e.json()).then(e=>{t(e)}).catch(e=>{console.error(e),n(e)})})})({limit:100,device:bt(m),rounds:10}).then(e=>{if(c(47,$=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(d+"/casino/games/"+e.gameId);t.searchParams.append("datasource",a),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{Ye=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:Ye},window.location.href)})}else c(60,Ne=!0)}),c(66,v=""),c(58,M=!1),c(53,k=!1),c(59,_=!0));break;case"LASTPLAYED":"true"==U&&(c(47,$=!0),i={device:bt(m),period:V||"Last30Days"},new Promise((t,n)=>{let e=new URL(`${d}/player/${g}/games/last-played`);i.limit&&e.searchParams.append("limit",i.limit),i.order&&e.searchParams.append("order",i.order);var r=i.device;r?"PC"===r?e.searchParams.append("device","Desktop"):e.searchParams.append("device","Mobile"):e.searchParams.append("device","All"),i.period&&e.searchParams.append("period",i.period),Te=K?e:e.href,fetch(Te).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Last Played",id:"LASTPLAYED"}},window.location.href),window.postMessage({type:"LastPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})}).then(e=>{if(c(47,$=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(d+"/casino/games/"+e.gameId);t.searchParams.append("datasource",a),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{Ve=e.map(e=>e[0]),window.postMessage({type:"LastPlayedData",lastPlayedGames:Ve},window.location.href)})}else c(62,Oe=!0)}),c(66,v=""),c(58,M=!1),c(61,E=!0),c(53,k=!1),c(59,_=!1));break;default:c(58,M=!1),c(53,k=!1),c(59,_=!1),c(61,E=!1),c(66,v=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500)}},pt=e=>{Ge=0,ke=setInterval(()=>{Ge+=1,c(52,Ie=!0),3<=Ge&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(ke))},1e3)},mt=e=>{Ge<3&&c(52,Ie=!1),clearInterval(ke)};return wt(()=>(window.addEventListener("scroll",ut,!1),window.addEventListener("message",Qe,!1),()=>{window.removeEventListener("scroll",ut),window.removeEventListener("message",Qe),c(52,Ie=!1),null!=y&&y.removeEventListener("mousedown",pt),null!=y&&y.removeEventListener("touchstart",pt),null!=y&&y.removeEventListener("mouseup",mt),null!=y&&y.removeEventListener("touchend",mt)})),e.$$set=e=>{"endpoint"in e&&c(0,d=e.endpoint),"datasource"in e&&c(1,a=e.datasource),"currency"in e&&c(2,D=e.currency),"lang"in e&&c(3,o=e.lang),"session"in e&&c(4,s=e.session),"userid"in e&&c(5,n=e.userid),"clientstyling"in e&&c(6,l=e.clientstyling),"clientstylingurl"in e&&c(7,u=e.clientstylingurl),"categorybackground"in e&&c(8,H=e.categorybackground),"visiblegames"in e&&c(9,N=e.visiblegames),"alternativesearch"in e&&c(10,O=e.alternativesearch),"favorites"in e&&c(11,h=e.favorites),"mostplayed"in e&&c(83,j=e.mostplayed),"lastplayed"in e&&c(84,U=e.lastplayed),"containermaxwidth"in e&&c(12,W=e.containermaxwidth),"lobbyid"in e&&c(85,p=e.lobbyid),"haspanicbutton"in e&&c(13,z=e.haspanicbutton),"mostplayedrounds"in e&&c(86,Y=e.mostplayedrounds),"lastplayedperiod"in e&&c(87,V=e.lastplayedperiod),"filteredcategories"in e&&c(88,Z=e.filteredcategories),"activecategory"in e&&c(89,J=e.activecategory),"livecasino"in e&&c(14,K=e.livecasino),"playrandomgame"in e&&c(15,X=e.playrandomgame),"gamepagemodalurl"in e&&c(16,q=e.gamepagemodalurl),"enablecasinowinners"in e&&c(17,Q=e.enablecasinowinners),"tabsorder"in e&&c(18,ee=e.tabsorder),"enableautoscroll"in e&&c(19,te=e.enableautoscroll),"istopavailable"in e&&c(20,ne=e.istopavailable),"isrecentavailable"in e&&c(21,re=e.isrecentavailable),"integratedgameframedesktop"in e&&c(22,ie=e.integratedgameframedesktop),"integratedgameframemobile"in e&&c(23,ae=e.integratedgameframemobile),"periodrecent"in e&&c(24,oe=e.periodrecent),"periodtop"in e&&c(25,se=e.periodtop),"numberusersrecent"in e&&c(26,le=e.numberusersrecent),"numberuserstop"in e&&c(27,ce=e.numberuserstop),"amountlimit"in e&&c(28,de=e.amountlimit),"defaultcurrency"in e&&c(29,ue=e.defaultcurrency),"enablejackpotbanner"in e&&c(30,he=e.enablejackpotbanner),"caticon0"in e&&c(31,pe=e.caticon0),"caticon1"in e&&c(32,me=e.caticon1),"caticon2"in e&&c(33,ge=e.caticon2),"caticon3"in e&&c(34,fe=e.caticon3),"backgroundsrc"in e&&c(35,ye=e.backgroundsrc),"backgroundsrcmobile"in e&&c(36,be=e.backgroundsrcmobile),"titlelogopath"in e&&c(37,ve=e.titlelogopath),"iconlabels"in e&&c(38,we=e.iconlabels),"visualstructure"in e&&c(39,xe=e.visualstructure),"enablecollections"in e&&c(40,Ce=e.enablecollections),"type"in e&&c(41,$e=e.type),"titletype"in e&&c(42,Se=e.titletype),"randombuttonicon"in e&&c(43,Fe=e.randombuttonicon)},e.$$.update=()=>{if(16384&e.$$.dirty[1]&&L&&(2<=L.length?c(91,T=!0):c(91,T=!1)),11&e.$$.dirty[0]|16384&e.$$.dirty[1]|805306368&e.$$.dirty[2])if(2<=L.length){c(55,Ae=!0);let e=new URL(d+"/casino/games");e.searchParams.append("datasource",a),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",bt(m)),e.searchParams.append("language",o),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+L),r=e,new Promise((t,n)=>{c(47,$=!0),fetch(r).then(e=>e.json()).then(e=>{c(47,$=!1),t(e)}).catch(e=>{c(48,S=!0),c(47,$=!1),console.error(e),n(e)})}).then(e=>{c(64,b=e),dt(0,e)})}else T||it(),Be&&c(90,Be=!1);var r,i,t;if((8&e.$$.dirty[0]|134217728&e.$$.dirty[2]&&o&&J&&ht(),49&e.$$.dirty[0]&&s&&n&&d&&(c(49,Le=!0),c(51,f=s),c(50,g=n),g&&g.length&&f&&0<f.length&&B(d,f,g)),1035&e.$$.dirty[0]&&d&&a&&o&&O)&&(d||(F="Endpoint is missing! Please provide a valid endpointURL.",c(48,S=!0),c(47,$=!1),console.error(F)),a||(F="Datasource is missing! Please provide a valid datasource.",c(48,S=!0),c(47,$=!1),console.error(F)),(!o||o.length<2)&&(F="Language is missing! Please provide a valid language (alpha2code)",c(48,S=!0),c(47,$=!1),console.error(F)),!S)){c(47,$=!0),"true"==h&&B(d,f,g),t=o,ft.set(t);let e=new URL(d+"/casino/groups/"+a);e.searchParams.append("language",o),e.searchParams.append("platform",bt(m)),i=e,new Promise((t,n)=>{c(47,$=!0),fetch(i).then(e=>e.json()).then(e=>{c(47,$=!1),t(e)}).catch(e=>{c(48,S=!0),c(47,$=!1),console.error(e),n(e)})}).then(e=>{let r=Z.split(",");e&&(Ee=e.items.filter(e=>{let t;if(0<e.games.total&&(t=!0,Z))for(var n of r)e.flags==n&&(t=!1);return t}),c(65,Ue=Ee.map(e=>e.id)),c(47,$=!1))}),"PC"!==bt(m)&&(x.addEventListener("focusin",e=>{c(69,Ze=!0)}),x.addEventListener("focusout",e=>{c(69,Ze=!1)})),A(),(Me=w)&&(_e=Me.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}if(8&e.$$.dirty[0]&&o&&(Ke&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:v},window.location.href)},500),Ke=!1),64&e.$$.dirty[0]&&l){let e=document.createElement("style");e.innerHTML=l,C.appendChild(e)}if(128&e.$$.dirty[0]&&u){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,C&&setTimeout(()=>{C.appendChild(t)},1)})}8192&e.$$.dirty[1]&&y&&(null!=y&&y.addEventListener("mousedown",pt,!1),null!=y&&y.addEventListener("touchstart",pt,!1),null!=y&&y.addEventListener("mouseup",mt,!1),null!=y&&y.addEventListener("touchend",mt,!1))},[d,a,D,o,s,n,l,u,H,N,O,h,W,z,K,X,q,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,de,ue,he,pe,me,ge,fe,ye,be,ve,we,xe,Ce,$e,Se,Fe,y,L,R,$,S,Le,g,f,Ie,k,Pe,Ae,De,He,M,_,Ne,E,Oe,je,b,Ue,v,w,x,Ze,Je,C,i,m,B,it,at,()=>{window.postMessage({type:"scroll"},window.location.href)},ot,lt,ct,(e,t)=>{P=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:N,receivedFavoriteResults:r},window.location.href)},dt,j,U,p,Y,V,Z,J,Be,T,function(e){gt[e?"unshift":"push"](()=>{x=e,c(68,x)})},function(){L=this.value,c(45,L)},()=>ot(),()=>ct(),()=>{lt()},function(e){gt[e?"unshift":"push"](()=>{w=e,c(67,w)})},function(e){gt[e?"unshift":"push"](()=>{x=e,c(68,x)})},function(){L=this.value,c(45,L)},()=>ot(),()=>ct(),()=>{lt()},function(e){gt[e?"unshift":"push"](()=>{w=e,c(67,w)})},function(e){gt[e?"unshift":"push"](()=>{y=e,c(44,y)})},function(e){gt[e?"unshift":"push"](()=>{C=e,c(71,C)})}]}function cs(e,{delay:t=0,duration:n=400,easing:r=C}={}){const i=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:r,css:e=>"opacity: "+e*i}}function ds(n){let r,i,a,o,s,l,c,t,d,u,h;return{c(){r=pe("div"),(i=pe("div")).innerHTML="<slot></slot>",a=ge(),o=pe("span"),(s=pe("slot")).innerHTML='<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg>',fe(i,"class","ModalContainer"),fe(i,"part","ModalContainer"),fe(s,"name","close"),fe(o,"class",l="ModalCloseBtn "+("true"==n[1]&&n[2]?"ModalPanicCloseButton":"")),fe(o,"part","ModalCloseBtn"),fe(o,"role","button"),fe(r,"class","ModalWindow"),fe(r,"part","ModalWindow"),fe(r,"id","Modal"),q(()=>n[17].call(r))},m(e,t){ue(e,r,t),de(r,i),de(r,a),de(r,o),de(o,s),n[16](r),c=m(r,n[17].bind(r)),d=!0,u||(h=K(o,"click",n[8]),u=!0)},p(e,t){n=e,(!d||6&t&&l!==(l="ModalCloseBtn "+("true"==n[1]&&n[2]?"ModalPanicCloseButton":"")))&&fe(o,"class",l)},i(e){d||(q(()=>{(t=t||ve(r,cs,{transitionDuration:n[0]},!0)).run(1)}),d=!0)},o(e){(t=t||ve(r,cs,{transitionDuration:n[0]},!1)).run(0),d=!1},d(e){e&&he(r),n[16](null),c(),e&&t&&t.end(),u=!1,h()}}}function us(n){let r,i,a=n[7]&&ds(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),a&&a.m(r,null),n[18](r),i=!0},p(e,[t]){e[7]?a?(a.p(e,t),128&t&&se(a,1)):((a=ds(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[18](null)}}}function hs(e,t,n){let r,i,a,o,{duration:s=350}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,{endpoint:h=""}=t,{haspanicbutton:p="false"}=t,{gamepagemodalurl:m="false"}=t,{sessioncheck:g="true"}=t,f=window.navigator.userAgent,y=!1,b=!1,v=!1;const w=e=>{var t;"ModalClosed"==e.data.type&&n(7,v=!1),"ShowGameModal"===e.data.type&&(n(7,v=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(7,v=!0),window.postMessage({type:"LaunchGameFrame",gameId:e.data.gameId,gameFunMode:e.data.gamefunmode},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"RequestModalSize"===e.data.type&&(t={modalWidth:r?getComputedStyle(r).width:null,modalHeight:r?getComputedStyle(r).height:null},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(b=e.data.detailsObtained)},x=e=>{var t;b&&(t={modalWidth:getComputedStyle(r).width,modalHeight:getComputedStyle(r).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return wt(()=>(n(2,y=yt(f)),window.addEventListener("message",w,!1),window.addEventListener("resize",x,!1),()=>{window.removeEventListener("message",w),window.removeEventListener("resize",w)})),e.$$set=e=>{"duration"in e&&n(0,s=e.duration),"session"in e&&n(9,l=e.session),"userid"in e&&n(10,c=e.userid),"clientstyling"in e&&n(11,d=e.clientstyling),"clientstylingurl"in e&&n(12,u=e.clientstylingurl),"endpoint"in e&&n(13,h=e.endpoint),"haspanicbutton"in e&&n(1,p=e.haspanicbutton),"gamepagemodalurl"in e&&n(14,m=e.gamepagemodalurl),"sessioncheck"in e&&n(15,g=e.sessioncheck)},e.$$.update=()=>{if(9728&e.$$.dirty&&l&&c&&h&&"true"==g&&qr(h,l).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),2048&e.$$.dirty&&d){let e=document.createElement("style");e.innerHTML=d,v&&setTimeout(()=>{r.appendChild(e)})}if(4096&e.$$.dirty&&u){let e=new URL(u),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{i.appendChild(t)},1)})}},[s,p,y,r,i,void 0,void 0,v,()=>{n(7,v=!1),n(2,y=yt(f)),window.postMessage({type:"ModalClosed",gamepagemodalurl:m,mobileView:y},window.location.href)},l,c,d,u,h,m,g,function(e){gt[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){gt[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CategoriesLobby{margin:0 auto}.CasinoWinners{background:transparent;width:100%;min-height:200px}.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(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:48px;line-height:18px;color:var(--emfe-w-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(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-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}.SrOnly{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.CategoryContainer{display:block}@media screen and (max-width: 1300px){.CategoryContainer{padding:0 2.4%}}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);font-size:14px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:600px;margin:auto 0 auto 30%}.SearchContainer.SearchTruncated{margin:auto 0 auto 30%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display:inline-flex;color:#c7d2fe}.SearchContainer .SearchWrapper .SearchIcon{position:absolute;display:flex;align-items:center;top:0;bottom:0;left:1.2%;pointer-events:none}.SearchContainer .SearchWrapper .SearchIcon svg{width:26px;height:26px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:520px;display:block;padding:12px 12px 12px 40px;border-radius:6px;border-color:transparent;font-size:16px;background-color:rgba(156, 163, 175, 0.25);color:#e0e7ff}.SearchContainer .SearchWrapper .SearchInput::-webkit-search-decoration,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-cancel-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-button,.SearchContainer .SearchWrapper .SearchInput::-webkit-search-results-decoration{-webkit-appearance:none}.SearchContainer .SearchWrapper .SearchInput::placeholder{color:white}.SearchContainer .SearchWrapper .SearchInput:focus{background-color:white;color:#111827;outline:2px solid transparent;outline-offset:2px}.SearchContainer .SearchWrapper .SearchInput:focus::placeholder{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within{color:#9ca3af}.SearchContainer .SearchWrapper:focus-within .SearchIcon svg{fill:#9ca3af}.FiltersButtonsContainer{display:inline-flex;flex-direction:row-reverse;flex:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:5px;text-transform:uppercase;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.ClearFilterButtonWrapper{border:1px solid var(--emfe-w-color-secondary, #FD2839);color:var(--emfe-w-color-secondary, #FD2839)}.FilterIconContainer,.ClearIcon{position:relative;padding-left:5px}.FilterIconContainer{top:2px}.ClearIcon{position:relative;top:1px}.ClearIcon svg{width:14px}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;justify-content:center;align-items:center}.NumberOfFiltersContainer{display:block;line-height:0px;border-radius:50%;border:2px solid var(--emfe-w-color-primary, #D0046C);background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);font-size:12px;position:absolute;top:-5px;left:18px}.NumberOfFiltersContainer .NumberOfFilters{display:inline-block;padding-top:50%;padding-bottom:50%;margin-left:3px;margin-right:3px}.CategoriesHeaderSection{width:100%;display:inline-flex;flex-direction:row;margin-top:30px}.CategoriesHeaderMobileSection{position:fixed;bottom:0;left:0;flex-direction:row-reverse;z-index:1}.CategoriesHeaderMobileSection .ClearFilterButtonWrapper{display:none}.CategoriesHeaderMobileSection .SearchContainer{flex:1;max-width:unset;margin:unset;background-color:#d0056c;z-index:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{display:flex;color:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchIcon{left:2.4%}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{padding:12px;border-radius:0;background-color:#d0056c;color:var(--emfe-w-color-white, #FFFFFF);text-align:center;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:-ms-input-placeholder,.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput::-ms-input-placeholder{color:white;opacity:1}.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper path{fill:var(--emfe-w-color-white, #FFFFFF)}.CategoriesHeaderMobileSection .FiltersButtonsContainer{flex:1}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{position:relative;width:100%;display:flex;flex-direction:row-reverse;border:1px solid var(--emfe-w-color-white, #FFFFFF);border-radius:0;background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{position:absolute;left:40px;top:revert;padding-left:0}.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer path{fill:var(--emfe-w-color-primary, #D0046C)}.CategoriesHeaderMobileSection .NumberOfFiltersContainer{font-size:8px;left:15px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection{flex-direction:row;position:relative;margin-top:30px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer{background-color:var(--emfe-w-color-contrast, #07072A);padding:0 2.4%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper{justify-content:center}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput{width:100%;border:1px solid var(--emfe-w-color-gray-300, #58586B);border-radius:6.4px;background-color:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:12px 3.6%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:active,.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .SearchContainer .SearchWrapper .SearchInput:focus{width:100%}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{position:absolute;top:160px;font-size:13px;gap:6px}@media screen and (max-width: 1300px){.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer{right:2.4%}}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterIconContainer{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .FilterButtonWrapper{border-radius:5px;border:1px solid var(--emfe-w-color-white, #FFFFFF);background:transparent;color:var(--emfe-w-color-white, #FFFFFF);padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper{padding:6px 16px}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection .FiltersButtonsContainer .ClearFilterButtonWrapper .ClearIcon{display:none}.CategoriesHeaderSectionAltDesign.CategoriesHeaderMobileSection.CategoriesHeaderSearchActive{top:0}.CategoriesHeaderSectionAltDesign .FiltersActive.ClearFilterButtonWrapper{display:inline-flex}.CategoriesHeaderSectionAltDesign .ClearSearchButton{right:2.4%;top:11px}.CategoriesHeaderSectionAltDesign .ClearSearchButtonMobile{right:2.4%;top:9px}.ClearFilterMobileButtonWrapper .ClearIcon svg{width:12px}.CategoriesHeaderSearchActive{position:fixed;bottom:unset;top:70px;margin-top:0}.CategoriesHeaderSearchActive .SearchContainer{background-color:white}.CategoriesHeaderSearchActive .SearchContainer .SearchWrapper .SearchInput{background-color:white;color:var(--emfe-w-color-black, #000000)}.SearchStickTop{margin-top:0}@media(max-width: 768px){.SearchContainer{margin:auto 3% auto 0%}}.SearchBarPlaceholder{display:block;width:100%;height:46px}.SearchBarPlaceholder{display:block;width:100%;height:46px}.ClearSearchButton,.ClearSearchButtonMobile{cursor:pointer;position:absolute;right:14px;top:11px}.ClearSearchButton .CloseIconContainer,.ClearSearchButtonMobile .CloseIconContainer{width:25px;height:25px}.ClearSearchButton .CloseIconWrapper,.ClearSearchButtonMobile .CloseIconWrapper{height:25px;width:3px;margin-left:12px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(45deg);Z-index:1}.ClearSearchButton .CloseIcon,.ClearSearchButtonMobile .CloseIcon{height:25px;width:3px;background-color:var(--emfe-w-color-white, #FFFFFF);transform:rotate(90deg);Z-index:2}.SearchContainer .CloseIconWrapper,.SearchContainer .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}.ClearSearchButtonMobile{display:none}.CategoriesHeaderSearchActive .ClearSearchButtonMobile{display:block}.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIconWrapper,.CategoriesHeaderSearchActive .ClearSearchButtonMobile .CloseIcon{background-color:var(--emfe-w-color-secondary, #FD2839)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},ls,as,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:9,alternativesearch:10,favorites:11,mostplayed:83,lastplayed:84,containermaxwidth:12,lobbyid:85,haspanicbutton:13,mostplayedrounds:86,lastplayedperiod:87,filteredcategories:88,activecategory:89,livecasino:14,playrandomgame:15,gamepagemodalurl:16,enablecasinowinners:17,tabsorder:18,enableautoscroll:19,istopavailable:20,isrecentavailable:21,integratedgameframedesktop:22,integratedgameframemobile:23,periodrecent:24,periodtop:25,numberusersrecent:26,numberuserstop:27,amountlimit:28,defaultcurrency:29,enablejackpotbanner:30,caticon0:31,caticon1:32,caticon2:33,caticon3:34,backgroundsrc:35,backgroundsrcmobile:36,titlelogopath:37,iconlabels:38,visualstructure:39,enablecollections:40,type:41,titletype:42,randombuttonicon:43},null,[-1,-1,-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","lastplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","lastplayedperiod","filteredcategories","activecategory","livecasino","playrandomgame","gamepagemodalurl","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","integratedgameframedesktop","integratedgameframemobile","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","enablejackpotbanner","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","enablecollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),f()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),f()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),f()}get visiblegames(){return this.$$.ctx[9]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get alternativesearch(){return this.$$.ctx[10]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get favorites(){return this.$$.ctx[11]}set favorites(e){this.$$set({favorites:e}),f()}get mostplayed(){return this.$$.ctx[83]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get lastplayed(){return this.$$.ctx[84]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get containermaxwidth(){return this.$$.ctx[12]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get lobbyid(){return this.$$.ctx[85]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get haspanicbutton(){return this.$$.ctx[13]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get mostplayedrounds(){return this.$$.ctx[86]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayedperiod(){return this.$$.ctx[87]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get filteredcategories(){return this.$$.ctx[88]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get activecategory(){return this.$$.ctx[89]}set activecategory(e){this.$$set({activecategory:e}),f()}get livecasino(){return this.$$.ctx[14]}set livecasino(e){this.$$set({livecasino:e}),f()}get playrandomgame(){return this.$$.ctx[15]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get gamepagemodalurl(){return this.$$.ctx[16]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[17]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get tabsorder(){return this.$$.ctx[18]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[19]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[20]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[21]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[22]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[23]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get periodrecent(){return this.$$.ctx[24]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[25]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[26]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[27]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[28]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[29]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get enablejackpotbanner(){return this.$$.ctx[30]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get caticon0(){return this.$$.ctx[31]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[32]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[33]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[34]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[35]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[36]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[37]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[38]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[39]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get enablecollections(){return this.$$.ctx[40]}set enablecollections(e){this.$$set({enablecollections:e}),f()}get type(){return this.$$.ctx[41]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[42]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[43]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalPanicCloseButton{margin-top:45px}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:10px;right:10px;padding:10px;border-radius:50%;color:var(--emfe-w-color-white, #FFFFFF);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.ModalWindow .ModalCloseBtn svg{width:32px;height:32px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},hs,us,t,{duration:0,session:9,userid:10,clientstyling:11,clientstylingurl:12,endpoint:13,haspanicbutton:1,gamepagemodalurl:14,sessioncheck:15},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["duration","session","userid","clientstyling","clientstylingurl","endpoint","haspanicbutton","gamepagemodalurl","sessioncheck"]}get duration(){return this.$$.ctx[0]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[10]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[11]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[12]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[13]}set endpoint(e){this.$$set({endpoint:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get gamepagemodalurl(){return this.$$.ctx[14]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get sessioncheck(){return this.$$.ctx[15]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const ps={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock",loading:"Loading, please wait ..."}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始",breakButton:"休息 1 天",loading:"加載請稍候 ..."}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Prenditi 1 giorno di pausa dal gioco - 24-hour Cool Off"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistrer",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",break:"Fair une pause d'un jour pour jouer ",breakButton:"Refroidissement de 24 heures",loading:"Chargement, veuillez patienter ..."}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese 1 día de descanso de jugar - Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Oyuna 1 gün ara verin - 24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Сделайте 1 день перерыва в игре - 24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Luați o pauză de la joc - 24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Comece agora!",breakButton:"Faça uma pausa de 1 dia no jogo - Faça uma pausa de 24 horas no jogo"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function ms(){"undefined"!=typeof window&&window.cstmNativeBridge&&window.cstmNativeBridge.call}window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n,r=window.cstmNativeBridge.EVENTS[e];if(r){if("function"==typeof t)return n=window.cstmNativeBridge.eventListeners[r],window.cstmNativeBridge.eventListeners[r]=function(){delete window.cstmNativeBridge.eventListeners[r],n&&n.apply(this,arguments),t.apply(this,arguments)},!0;console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t,n=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];return"function"==typeof n?(t=Array.prototype.slice.call(arguments,1),n.apply(this,t),!0):(console.error("Native Bridge `"+e+"` method is not defined"),!1)};var gs=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},fs=function(e,...t){try{return ms(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function ys(n){let r,i,a=n[10]&&ws(n);return{c(){r=pe("div"),i=pe("div"),a&&a.c(),fe(i,"class","CasinoGamePageContainer"),fe(i,"part","CasinoGamePageContainer"),P(i,"background","rgba(0, 0, 0, 0.5)"),fe(r,"class","GamePageBackground"),P(r,"background",n[13]?"":`url(${n[9].backgroundImageUrl})`),P(r,"background-size","cover")},m(e,t){ue(e,r,t),de(r,i),a&&a.m(i,null),n[82](i),n[83](r)},p(e,t){e[10]?a?a.p(e,t):((a=ws(e)).c(),a.m(i,null)):a&&(a.d(1),a=null),8704&t[0]&&P(r,"background",e[13]?"":`url(${e[9].backgroundImageUrl})`)},d(e){e&&he(r),a&&a.d(),n[82](null),n[83](null)}}}function bs(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function vs(e){let n,r,i=e[25]("gamePage.loading")+"";return{c(){n=pe("p"),r=me(i),fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){33554432&t[0]&&i!==(i=e[25]("gamePage.loading")+"")&&ye(r,i)},d(e){e&&he(n)}}}function ws(e){let n;function r(e){return e[20]?Ss:e[5]?$s:e[11]?Cs:xs}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function xs(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x=n[9].name+"",C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me($),f=ge(),y=pe("p"),b=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(r,f),de(r,y),de(y,b),v||(w=[K(u,"click",n[80]),K(m,"click",n[81])],v=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(h,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(g,$),8&t[0]&&ye(b,e[3])},d(e){e&&he(r),v=!1,J(w)}}}function Cs(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";function S(e){return e[17]?ks:Fs}let F=S(n),k=F(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("div"),d=pe("button"),u=me(C),h=ge(),p=pe("button"),m=me($),g=ge(),f=pe("p"),y=pe("span"),b=me(n[3]),v=ge(),k.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(d,"class","LoginButton"),fe(d,"part","LoginButton"),fe(p,"class","RegisterButton"),fe(p,"part","RegisterButton"),fe(c,"class","ButtonsContainer"),fe(c,"part","ButtonsContainer"),fe(f,"class","Time"),fe(f,"part","Time"),fe(l,"class","BottomGame"),fe(l,"part","BottomGame"),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),P(r,"width",n[18]),P(r,"height",n[19]),B(r,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[71](a),de(i,s),de(i,l),de(l,c),de(c,d),de(d,u),de(c,h),de(c,p),de(p,m),de(l,g),de(l,f),de(f,y),de(y,b),n[74](f),de(l,v),k.m(l,null),n[77](l),n[78](i),n[79](r),w||(x=[K(d,"click",n[72]),K(p,"click",n[73])],w=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(u,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(m,$),8&t[0]&&ye(b,e[3]),F===(F=S(e))&&k?k.p(e,t):(k.d(1),(k=F(e))&&(k.c(),k.m(l,null))),16777216&t[0]&&fe(i,"style",e[24]),262144&t[0]&&P(r,"width",e[18]),524288&t[0]&&P(r,"height",e[19]),131072&t[0]&&B(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[71](null),n[74](null),k.d(),n[77](null),n[78](null),n[79](null),w=!1,J(x)}}}function $s(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x=n[25]("gamePage.deposit")+"",C="true"===n[1]&&Ms(n);function $(e){return e[17]?Es:_s}let S=$(n),F=S(n);return{c(){r=pe("div"),i=pe("div"),a=pe("iframe"),s=ge(),l=pe("div"),c=pe("button"),d=me(x),u=ge(),h=pe("p"),p=pe("span"),m=me(n[3]),g=ge(),C&&C.c(),f=ge(),F.c(),fe(a,"title","Games"),fe(a,"id","IframeGame"),fe(a,"class","GamesContainer"),fe(a,"part","GamesContainer"),fe(a,"aria-hidden","false"),ce(a.src,o=n[9].launchUrl)||fe(a,"src",o),fe(c,"class","DepositButton"),fe(c,"part","DepositButton"),fe(h,"class","Time"),fe(h,"part","Time"),fe(l,"class",y="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(l,"part",b="BottomGame "+("true"==n[1]?"BottomGamePanicSection":"")),fe(i,"id","IframeGame"),fe(i,"part","IframeGame"),fe(i,"style",n[24]),fe(r,"id","IframeContainer"),fe(r,"part","IframeContainer"),P(r,"width",n[18]),P(r,"height",n[19]),B(r,"FullsScreenLayout",n[17])},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[62](a),de(i,s),de(i,l),de(l,c),de(c,d),de(l,u),de(l,h),de(h,p),de(p,m),n[64](h),de(l,g),C&&C.m(l,null),de(l,f),F.m(l,null),n[68](l),n[69](i),n[70](r),v||(w=K(c,"click",n[63]),v=!0)},p(e,t){512&t[0]&&!ce(a.src,o=e[9].launchUrl)&&fe(a,"src",o),33554432&t[0]&&x!==(x=e[25]("gamePage.deposit")+"")&&ye(d,x),8&t[0]&&ye(m,e[3]),"true"===e[1]?C?C.p(e,t):((C=Ms(e)).c(),C.m(l,f)):C&&(C.d(1),C=null),S===(S=$(e))&&F?F.p(e,t):(F.d(1),(F=S(e))&&(F.c(),F.m(l,null))),2&t[0]&&y!==(y="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"class",y),2&t[0]&&b!==(b="BottomGame "+("true"==e[1]?"BottomGamePanicSection":""))&&fe(l,"part",b),16777216&t[0]&&fe(i,"style",e[24]),262144&t[0]&&P(r,"width",e[18]),524288&t[0]&&P(r,"height",e[19]),131072&t[0]&&B(r,"FullsScreenLayout",e[17])},d(e){e&&he(r),n[62](null),n[64](null),C&&C.d(),F.d(),n[68](null),n[69](null),n[70](null),v=!1,w()}}}function Ss(e){let n;function r(e){return e[5]?Is:e[12]?Ls:Ts}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Fs(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[76]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ks(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[75]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ms(n){let r,i,a,o=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class","Button"),fe(i,"part","Button"),B(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[65](i)},p(e,t){33554432&t[0]&&o!==(o=e[25]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[65](null)}}}function _s(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[67]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Es(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[66]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function Ts(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x=n[9].name+"",C=n[25]("gamePage.signIn")+"",$=n[25]("gamePage.register")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(x),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(C),p=ge(),m=pe("button"),g=me($),f=ge(),y=pe("p"),b=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(r,f),de(r,y),de(y,b),v||(w=[K(u,"click",n[60]),K(m,"click",n[61])],v=!0)},p(e,t){512&t[0]&&x!==(x=e[9].name+"")&&ye(a,x),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&C!==(C=e[25]("gamePage.signIn")+"")&&ye(h,C),33554432&t[0]&&$!==($=e[25]("gamePage.register")+"")&&ye(g,$),8&t[0]&&ye(b,e[3])},d(e){e&&he(r),v=!1,J(w)}}}function Ls(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S=n[9].name+"",F=n[25]("gamePage.signIn")+"",k=n[25]("gamePage.register")+"",M=n[25]("gamePage.playForFun")+"";return{c(){r=pe("div"),i=pe("h3"),a=me(S),o=ge(),s=pe("img"),c=ge(),d=pe("div"),u=pe("button"),h=me(F),p=ge(),m=pe("button"),g=me(k),f=ge(),y=pe("button"),b=me(M),v=ge(),w=pe("p"),x=me(n[3]),ce(s.src,l=n[9].thumbnail)||fe(s,"src",l),fe(s,"class","GameThumbnail"),fe(s,"part","GameThumbnail"),fe(s,"alt","game thumbnail"),fe(s,"loading","lazy"),fe(u,"class","LoginButton"),fe(u,"part","LoginButton"),fe(m,"class","RegisterButton"),fe(m,"part","RegisterButton"),fe(y,"class","FullWidthButton"),fe(y,"part","FullWidthButton"),fe(d,"class","ButtonsContainer"),fe(d,"part","ButtonsContainer"),fe(r,"class","GameDetails"),fe(r,"part","GameDetails")},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(r,o),de(r,s),de(r,c),de(r,d),de(d,u),de(u,h),de(d,p),de(d,m),de(m,g),de(d,f),de(d,y),de(y,b),de(r,v),de(r,w),de(w,x),C||($=[K(u,"click",n[57]),K(m,"click",n[58]),K(y,"click",n[59])],C=!0)},p(e,t){512&t[0]&&S!==(S=e[9].name+"")&&ye(a,S),512&t[0]&&!ce(s.src,l=e[9].thumbnail)&&fe(s,"src",l),33554432&t[0]&&F!==(F=e[25]("gamePage.signIn")+"")&&ye(h,F),33554432&t[0]&&k!==(k=e[25]("gamePage.register")+"")&&ye(g,k),33554432&t[0]&&M!==(M=e[25]("gamePage.playForFun")+"")&&ye(b,M),8&t[0]&&ye(x,e[3])},d(e){e&&he(r),C=!1,J($)}}}function Is(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$=n[9].name+"",S=n[25]("gamePage.deposit")+"",F=n[25]("gamePage.playNow")+"",k="true"==n[0]&&Gs(n),M="true"===n[1]&&As(n);return{c(){k&&k.c(),r=ge(),i=pe("div"),a=pe("h3"),o=me($),s=ge(),l=pe("img"),d=ge(),u=pe("div"),h=pe("button"),p=me(S),m=ge(),g=pe("button"),f=me(F),y=ge(),M&&M.c(),b=ge(),v=pe("p"),w=me(n[3]),ce(l.src,c=n[9].thumbnail)||fe(l,"src",c),fe(l,"class","GameThumbnail"),fe(l,"part","GameThumbnail"),fe(l,"alt","game thumbnail"),fe(l,"loading","lazy"),fe(h,"class","DepositButton"),fe(h,"part","DepositButton"),fe(g,"class","PlayNowButton"),fe(g,"part","PlayNowButton"),fe(u,"class","ButtonsContainer"),fe(u,"part","ButtonsContainer"),fe(i,"class","GameDetails"),fe(i,"part","GameDetails")},m(e,t){k&&k.m(e,t),ue(e,r,t),ue(e,i,t),de(i,a),de(a,o),de(i,s),de(i,l),de(i,d),de(i,u),de(u,h),de(h,p),de(u,m),de(u,g),de(g,f),de(i,y),M&&M.m(i,null),de(i,b),de(i,v),de(v,w),x||(C=[K(h,"click",n[54]),K(g,"click",n[55])],x=!0)},p(e,t){"true"==e[0]?k?k.p(e,t):((k=Gs(e)).c(),k.m(r.parentNode,r)):k&&(k.d(1),k=null),512&t[0]&&$!==($=e[9].name+"")&&ye(o,$),512&t[0]&&!ce(l.src,c=e[9].thumbnail)&&fe(l,"src",c),33554432&t[0]&&S!==(S=e[25]("gamePage.deposit")+"")&&ye(p,S),33554432&t[0]&&F!==(F=e[25]("gamePage.playNow")+"")&&ye(f,F),"true"===e[1]?M?M.p(e,t):((M=As(e)).c(),M.m(i,b)):M&&(M.d(1),M=null),8&t[0]&&ye(w,e[3])},d(e){k&&k.d(e),e&&he(r),e&&he(i),M&&M.d(),x=!1,J(C)}}}function Gs(e){let n;function r(e){return e[9].isFavored?Bs:Ps}let i=r(e),a=i(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&he(n)}}}function Ps(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),P(a=k("path"),"fill","white"),fe(a,"d","M511.266,197.256c-1.764-5.431-6.458-9.388-12.108-10.209l-158.722-23.065L269.452,20.155\n c-2.527-5.12-7.741-8.361-13.451-8.361c-5.709,0-10.924,3.242-13.451,8.361l-70.988,143.828L12.843,187.047\n c-5.65,0.821-10.344,4.779-12.108,10.209c-1.765,5.43-0.293,11.391,3.795,15.376l114.848,111.955L92.27,482.67\n c-0.965,5.627,1.349,11.315,5.968,14.67c4.618,3.355,10.74,3.798,15.797,1.142L256,423.846l141.961,74.637\n c2.195,1.154,4.591,1.723,6.979,1.723c3.11,0,6.206-0.966,8.818-2.865c4.619-3.356,6.933-9.043,5.968-14.671L392.61,324.587\n l114.86-111.954C511.559,208.647,513.031,202.686,511.266,197.256z M366.023,308.608c-3.536,3.446-5.15,8.412-4.314,13.278\n l23.311,135.898l-122.038-64.162c-4.37-2.297-9.591-2.297-13.961,0l-122.045,64.163l23.304-135.9\n c0.834-4.866-0.779-9.83-4.313-13.276l-98.731-96.244l136.445-19.829c4.886-0.71,9.108-3.778,11.294-8.205L256,60.685\n l61.023,123.645c2.186,4.427,6.408,7.496,11.294,8.206l136.447,19.828L366.023,308.608z"),fe(i,"version","1.1"),fe(i,"class","UnfavoredIcon"),fe(i,"part","UnfavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"x","20px"),fe(i,"y","20px"),fe(i,"viewBox","0 0 512.001 512.001"),P(i,"enable-background","new 0 0 512.001 512.001"),fe(i,"xml:space","preserve"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),l||(c=K(r,"click",n[53]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function Bs(n){let r,i,a,o,s,l,c;return{c(){r=pe("div"),i=k("svg"),P(a=k("path"),"fill","white"),fe(a,"d","m10.201,.758l2.478,5.865 6.344,.545c0.44,0.038 0.619,0.587 0.285,0.876l-4.812,4.169 1.442,6.202c0.1,0.431-0.367,0.77-0.745,0.541l-5.452-3.288-5.452,3.288c-0.379,0.228-0.845-0.111-0.745-0.541l1.442-6.202-4.813-4.17c-0.334-0.289-0.156-0.838 0.285-0.876l6.344-.545 2.478-5.864c0.172-0.408 0.749-0.408 0.921,0z"),fe(i,"version","1.1"),fe(i,"class","FavoredIcon"),fe(i,"part","FavoredIcon"),fe(i,"xmlns","http://www.w3.org/2000/svg"),fe(i,"viewBox","0 0 19.481 19.481"),fe(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),fe(i,"enable-background","new 0 0 19.481 19.481"),fe(r,"class",o="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":"")),fe(r,"part",s="FavIconContainer "+("true"==n[1]?"FavIconPanicButton":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),l||(c=K(r,"click",n[52]),l=!0)},p(e,t){2&t[0]&&o!==(o="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"class",o),2&t[0]&&s!==(s="FavIconContainer "+("true"==e[1]?"FavIconPanicButton":""))&&fe(r,"part",s)},d(e){e&&he(r),l=!1,c()}}}function As(n){let r,i,a,e,t,o,s,l=n[25]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(l),fe(i,"class",e="PanicButton "+("PC"!==bt(n[26])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==bt(n[26])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[8]),fe(r,"class",o="PanicSection "+("PC"!==bt(n[26])?"PanicSectionMobile":"")),fe(r,"part",s="PanicSection "+("PC"!==bt(n[26])?"PanicSectionMobile":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[56](i)},p(e,t){33554432&t[0]&&l!==(l=e[25]("gamePage.breakButton")+"")&&ye(a,l),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[56](null)}}}function Rs(e){let n;function r(e){return e[7]?vs:e[6]?bs:ys}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function Ds(t,e,i){let A;vt(t,Kr,e=>i(25,A=e));let R,n,r,a,D,o,s,l,c,H,N,d,u,O,j,h,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:U=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{favorites:W=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:$=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:k=""}=e,{clockformat:z=""}=e,{haspanicbutton:Y="false"}=e,{playforfun:M="true"}=e,{checksession:V="true"}=e,{integratedgameframedesktop:Z="false"}=e,{integratedgameframemobile:J="false"}=e,{gameid:K=""}=e,_=!1,X=!1,q=!0,Q=!1,ee=0,E=!1,te=!1,ne=!1,T=!0,L=!1,I=window.navigator.userAgent,re=!1,ie=[],ae=!1,oe="false",se;var le,ce;({withLocale:le,translations:ce}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(ce),ft.set(le))}),Object.keys(ps).forEach(e=>{Tr(e,ps[e])});const de=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i(7,q=!1),r&&0<r.length&&(i(5,_=!0),i(7,q=!1),t.searchParams.append("_sid",r),t.searchParams.append("funMode","false")),e.launchUrl=t,e},ue=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),i(13,T=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{i(9,o=de(e[0])),o.launchUrl&&(i(10,E=!0),i(11,te="true"==M&&o.hasFunMode),i(12,ne="true"==M&&o.hasAnonymousFunMode))},e=>{console.error("There was an error",e),i(6,X=!0)}).then(()=>{s&&(T||(i(18,H=o.width),i(19,N=o.height),O=o.width+"px",j=o.height+"px",d=o.width,u=o.height),ye())}),window.postMessage({type:"RequestModalSize"},window.location.href)},he=()=>{null!=a&&a.addEventListener("mousedown",Se,!1),null!=a&&a.addEventListener("touchstart",Se,!1),null!=a&&a.addEventListener("mouseup",Fe,!1),null!=a&&a.addEventListener("touchend",Fe,!1)},pe=()=>{i(8,Q=!1),null!=a&&a.removeEventListener("mousedown",Se),null!=a&&a.removeEventListener("touchstart",Se),null!=a&&a.removeEventListener("mouseup",Fe),null!=a&&a.removeEventListener("touchend",Fe)},me=e=>{switch(e.data.type){case"GameLaunchID":ue(e.data.gameId,!0);break;case"ShowGameModal":case"OpenGameFrame":i(51,oe="true");break;case"LaunchGameFrame":fe(e.data.gameId,e.data.gameFunMode);break;case"ModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),i(51,oe="false"),pe(),yt(I)?setTimeout(()=>{i(10,E="true"===J)},500):setTimeout(()=>{i(10,E="true"===Z)},500);break;case"UserSessionID":if(0<e.data.session.length){r=e.data.session,e.data.userID,i(5,_=!0);let t=setInterval(()=>{if(o){let e=new URL(o.launchUrl);e.searchParams.get("_sid")||e.searchParams.append("_sid",r),e.searchParams.get("funMode")||e.searchParams.append("funMode",!1),e.searchParams.get("_sid")||e.searchParams.append("language",y),i(9,o.launchUrl=e,o),clearInterval(t)}},250)}break;case"ModalSize":i(18,H=e.data.modalContainerSize.modalWidth),i(19,N=e.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":e.data.receivedFavoriteResults&&(ie=e.data.receivedFavoriteResults.items)}},ge=e=>{o.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!1,o)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),i(9,o.isFavored=!0,o))},fe=(e,r)=>{let t=new URL(f+"/casino/games/"+e);t.searchParams.append("language",y),fetch(t.href).then(e=>e.json()).then(e=>{var t,n;i(9,o=de(e[0])),o.launchUrl&&i(9,o.isFavored=(e=o,t=r,i(12,ne="true"==M&&e.hasAnonymousFunMode),i(11,te="true"==M&&t),i(10,E=!0),n=e.id,-1!==ie.findIndex(e=>e.id==n)),o)})},ye=()=>{let e=getComputedStyle(s);getComputedStyle(l);var t=parseInt(e.width.slice(0,-2)),n=(parseInt(e.height.slice(0,-2)),o.width/(o.height+100));d=parseInt(o.width),u=parseInt(o.height),d=t*n,O=d?Math.floor(d)+"px":"1280px",j=u?Math.floor(u)+"px":"720px",ke()},be=e=>{if(!ae)return yt(I)?ve(J):ve(Z);e={url:e.launchUrl,id:e.id,vendor:e.vendor.name};fs("OPEN_GAME",e)},ve=e=>{"false"==e?window.open(o.launchUrl,"_blank"):"true"==e&&window.postMessage({type:"OpenIntegratedGameFrame",gameId:o.id},window.location.href)},we=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:E},window.location.href),E&&(s&&ye(),window.addEventListener("ModalSize",me,!1))},G=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},P=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)},xe=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)};function Ce(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!L||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Ce,!1),document.addEventListener("mozfullscreenchange",Ce,!1),document.addEventListener("fullscreenchange",Ce,!1),document.addEventListener("MSFullscreenChange",Ce,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(L?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),i(17,L=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),i(17,L=!0)))},$e=(setInterval(()=>{i(3,R=z?Si().format(z):Si().format("LTS"))},100),()=>{"true"==V?qr(f,b).then(e=>{r=e.Guid,e.UserID,i(5,_=!0)},e=>{i(5,_=!1),console.error("err on session",e)}):(r=b,i(5,_=!0))}),Se=e=>{ee=0,D=setInterval(()=>{ee+=1,i(8,Q=!0),3<=ee&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(D))},1e3)},Fe=e=>{ee<3&&i(8,Q=!1),clearInterval(D)},ke=()=>{var e=L?"100%":O,t=L?"100%":j,n=L||!T?"none":o.width?Math.floor(o.width)+"px":"1280px",r=L||!T?"none":o.height?Math.floor(o.height)+100+"px":"720px";i(24,se=`width: ${e}; height: ${t}; max-width: ${n}; max-height: `+r),L||new IntersectionObserver((e,t)=>{var n=e[0].intersectionRatio,e=e[0].isIntersecting,r=parseInt(getComputedStyle(s).height);g=g||r*Math.max(n,.5),i(14,s.style.height=g+"px",s),i(15,l.style.height=g+"px",l),e&&i(16,c.style.height=s.style.height+"px",c),t.unobserve(s)},{threshold:0}).observe(s)};return wt(()=>(window.addEventListener("resize",we,!1),window.addEventListener("message",me,!1),ae=!!gs(I),()=>{pe(),window.removeEventListener("resize",we),window.removeEventListener("message",me)})),t.$$set=e=>{"endpoint"in e&&i(33,f=e.endpoint),"lang"in e&&i(34,y=e.lang),"session"in e&&i(35,b=e.session),"userid"in e&&i(36,U=e.userid),"clientstyling"in e&&i(37,v=e.clientstyling),"clientstylingurl"in e&&i(38,w=e.clientstylingurl),"favorites"in e&&i(0,W=e.favorites),"loginurl"in e&&i(39,x=e.loginurl),"registerurl"in e&&i(40,C=e.registerurl),"depositurl"in e&&i(41,$=e.depositurl),"loginevent"in e&&i(42,S=e.loginevent),"registerevent"in e&&i(43,F=e.registerevent),"depositevent"in e&&i(44,k=e.depositevent),"clockformat"in e&&i(45,z=e.clockformat),"haspanicbutton"in e&&i(1,Y=e.haspanicbutton),"playforfun"in e&&i(46,M=e.playforfun),"checksession"in e&&i(47,V=e.checksession),"integratedgameframedesktop"in e&&i(48,Z=e.integratedgameframedesktop),"integratedgameframemobile"in e&&i(49,J=e.integratedgameframemobile),"gameid"in e&&i(50,K=e.gameid)},t.$$.update=()=>{if(8&t.$$.dirty[1]&&y&&(e=y,ft.set(e),i(20,re=yt(I))),524300&t.$$.dirty[1]&&f&&K&&y&&ue(K,!0),52&t.$$.dirty[1]&&b&&U&&f&&$e(),65556&t.$$.dirty[1]&&"false"==V&&b&&f&&$e(),64&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,h.appendChild(e)}if(128&t.$$.dirty[1]&&w){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,h&&setTimeout(()=>{h.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]|1048576&t.$$.dirty[1]&&"true"==oe&&a&&he(),4&t.$$.dirty[0]&&a&&he()},[W,Y,a,R,n,_,X,q,Q,o,E,te,ne,T,s,l,c,L,H,N,re,h,p,m,"",A,I,ge,be,G,P,xe,B,f,y,b,U,v,w,x,C,$,S,F,k,z,M,V,Z,J,K,oe,()=>ge(o.id),()=>ge(o.id),()=>xe(),()=>{be(o)},function(e){gt[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>G(),()=>P(),()=>{be(o)},()=>G(),()=>P(),function(e){gt[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>xe(),function(e){gt[e?"unshift":"push"](()=>{m=e,i(23,m)})},function(e){gt[e?"unshift":"push"](()=>{a=e,i(2,a)})},()=>B(),()=>B(),function(e){gt[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){gt[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){gt[e?"unshift":"push"](()=>{s=e,i(14,s)})},function(e){gt[e?"unshift":"push"](()=>{n=e,i(4,n)})},()=>G(),()=>P(),function(e){gt[e?"unshift":"push"](()=>{m=e,i(23,m)})},()=>B(),()=>B(),function(e){gt[e?"unshift":"push"](()=>{p=e,i(22,p)})},function(e){gt[e?"unshift":"push"](()=>{l=e,i(15,l)})},function(e){gt[e?"unshift":"push"](()=>{s=e,i(14,s)})},()=>G(),()=>P(),function(e){gt[e?"unshift":"push"](()=>{h=e,i(21,h)})},function(e){gt[e?"unshift":"push"](()=>{c=e,i(16,c)})}]}function Hs(n){let r,i,a,o,s,l,c,d,t,u,h,p;return{c(){r=pe("div"),i=pe("div"),(a=pe("span")).innerHTML='<slot name="close"><svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 18L18 6M6 6l12 12"></path></svg></slot>',o=ge(),s=pe("slot"),fe(a,"class","FilterModalCloseBtn"),fe(a,"part","FilterModalCloseBtn"),fe(a,"role","button"),fe(i,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(i,"part",c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),fe(r,"class","FilterModalWindow"),fe(r,"id","FilterModal"),fe(r,"part","FilterModalWindow"),q(()=>n[15].call(r))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(i,o),de(i,s),n[14](r),d=m(r,n[15].bind(r)),u=!0,h||(p=K(a,"click",n[7]),h=!0)},p(e,t){n=e,(!u||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"class",l),(!u||4&t&&c!==(c="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&fe(i,"part",c)},i(e){u||(q(()=>{(t=t||ve(r,cs,{transitionDuration:n[1]},!0)).run(1)}),u=!0)},o(e){(t=t||ve(r,cs,{transitionDuration:n[1]},!1)).run(0),u=!1},d(e){e&&he(r),n[14](null),d(),e&&t&&t.end(),h=!1,p()}}}function Ns(n){let r,i,a=n[0]&&Hs(n);return{c(){r=pe("div"),a&&a.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),a&&a.m(r,null),n[16](r),i=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&se(a,1)):((a=Hs(e)).c(),se(a,1),a.m(r,null)):a&&(ae(),le(a,1,1,()=>{a=null}),oe())},i(e){i||(se(a),i=!0)},o(e){le(a),i=!1},d(e){e&&he(r),a&&a.d(),n[16](null)}}}function Os(e,t,n){let r,i,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:d=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,{sessioncheck:m="true"}=t,g=window.navigator.userAgent,f=!1;const y=()=>{n(0,s=!1),window.postMessage({type:"FiltersModalClosed"},window.location.href)},b=e=>{"ShowFilterModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"FiltersModal",ven:e.data.ven},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"ApplyFilters"===e.data.type&&(y(),setTimeout(()=>{window.postMessage({type:"ModalLoader"},window.location.href)},500))},v=()=>{let t=document.createElement("style");fetch(new URL(h)).then(e=>e.text()).then(e=>{t.innerHTML=e,i.appendChild(t)})};return wt(()=>(window.addEventListener("message",b,!1),yt(g)&&n(2,f=!0),()=>{window.removeEventListener("message",b)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(8,c=e.session),"userid"in e&&n(9,d=e.userid),"clientstyling"in e&&n(10,u=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint),"sessioncheck"in e&&n(13,m=e.sessioncheck)},e.$$.update=()=>{if(4864&e.$$.dirty&&c&&d&&p&&"true"==m&&qr(p,c).then(e=>{e.Guid,e.UserID},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&u){let e=document.createElement("style");e.innerHTML=u,s&&setTimeout(()=>{r.appendChild(e)})}2048&e.$$.dirty&&h&&v(),2049&e.$$.dirty&&s&&h&&v()},[s,l,f,r,i,void 0,void 0,y,c,d,u,h,p,m,function(e){gt[e?"unshift":"push"](()=>{r=e,n(3,r)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){gt[e?"unshift":"push"](()=>{i=e,n(4,i)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoGamePageContainer{background:var(--emfe-w-color-contrast, #07072A);margin:0 auto;height:100%;max-width:100%;padding:0;display:flex;flex-direction:column;justify-content:center;align-items:center}.BottomGame{padding:4px 16px;min-height:85px;background-color:var(--emfe-w-color-contrast, #07072A);align-items:center;display:grid;grid-auto-columns:1fr;grid-auto-rows:1fr;grid-template-columns:1fr 1fr 1fr;grid-template-rows:1fr;gap:0px 0px;justify-items:center;border-radius:0 0 6px 6px}.BottomGame button{cursor:pointer}.BottomGame.BottomGamePanicSection{grid-template-columns:1fr 1fr 1fr 1fr}.DepositButton,.PlayNowButton{border:none;justify-self:left;width:130px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:2px}.GameThumbnail{border-radius:2px;width:270px;height:180px;margin-bottom:20px}.FullscreenButton{border-radius:5px;justify-self:end;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C)}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:var(--emfe-w-color-white, #FFFFFF);font-size:18px;text-align:center;padding:0 10px}.ButtonsContainer{display:grid;grid-gap:16px;grid-template-columns:1fr 1fr}.FullWidthButton{grid-column:span 2}.BottomGame .ButtonsContainer{width:275px;display:flex;justify-self:start;flex-direction:row;justify-content:space-between}.BottomGame .ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.FullWidthButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:100%;height:60px}.GamesContainer{width:calc(100% - 4px);height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;max-width:1300px;margin:10px;display:flex;align-items:center;justify-content:center}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:15px;left:15px;cursor:pointer}.FavIconPanicButton{margin-top:45px}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .Button{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:10px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Ds,Rs,t,{endpoint:33,lang:34,session:35,userid:36,clientstyling:37,clientstylingurl:38,favorites:0,loginurl:39,registerurl:40,depositurl:41,loginevent:42,registerevent:43,depositevent:44,clockformat:45,haspanicbutton:1,playforfun:46,checksession:47,integratedgameframedesktop:48,integratedgameframemobile:49,gameid:50},null,[-1,-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","integratedgameframedesktop","integratedgameframemobile","gameid"]}get endpoint(){return this.$$.ctx[33]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[34]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[35]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[36]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[37]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[38]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),f()}get loginurl(){return this.$$.ctx[39]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[40]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[41]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[42]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[43]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[44]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[45]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[46]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[47]}set checksession(e){this.$$set({checksession:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[48]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[49]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gameid(){return this.$$.ctx[50]}set gameid(e){this.$$set({gameid:e}),f()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.FilterModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.FilterModalWindow .FilterModalContainer{width:90%;max-width:880px;padding:60px;border-top:3px solid var(--emfe-w-color-secondary, #FD2839);border-radius:5px;position:relative;background:var(--emfe-w-color-white, #FFFFFF)}.FilterModalWindow .FilterModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:0;right:0;margin:15px;border-radius:50%;color:var(--emfe-w-color-secondary, #FD2839);background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out}.FilterModalWindow .FilterModalCloseBtn svg{width:36px;height:36px}.FilterModalWindow .FilterModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.FilterModalWindow .FilterModalMobileContainer{padding:10px;border-top:none}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn{margin:10px}.FilterModalWindow .FilterModalMobileContainer .FilterModalCloseBtn svg{width:24px;height:24px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},Os,Ns,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12,sessioncheck:13},null),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint","sessioncheck"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),f()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),f()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),f()}get sessioncheck(){return this.$$.ctx[13]}set sessioncheck(e){this.$$set({sessioncheck:e}),f()}});const js={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},zh:{filters:{loading:"正在加載",filterModalTitle:"篩選",filterModalSubtitle:"您可以選擇多個選項",filterClear:"重置過濾器",filterApply:"完畢"}},de:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Mehrfachauswahl möglich",filterClear:"Filter zurücksetzen",filterApply:"Fertig"}},it:{filters:{loading:"Loading",filterModalTitle:"Filtro",filterModalSubtitle:"È possibile la selezione multipla",filterClear:"Resetta il filtro",filterApply:"Fatto"}},fr:{filters:{loading:"Chargement",filterModalTitle:"Filtre",filterModalSubtitle:"Vous pouvez sélectinner plusieurs options",filterClear:"Réinitialiser le filtre",filterApply:"Fait"}},es:{filters:{loading:"Cargando",filterModalTitle:"Filtrar",filterModalSubtitle:"Puedes seleccionar varias opciones",filterClear:"Restablecer filtro",filterApply:"Terminado"}},tr:{filters:{loading:"Yükleniyor ...",filterModalTitle:"Tarafından filtre",filterModalSubtitle:"Birden fazla satıcı seçebilirsiniz",filterClear:"Temizlemek",filterApply:"Uygulamak"}},ru:{filters:{loading:"Загрузка ...",filterModalTitle:"Фильтровать по",filterModalSubtitle:"Вы можете выбрать несколько поставщиков",filterClear:"Oчищать",filterApply:"Применять"}},ro:{filters:{loading:"Se incarca ...",filterModalTitle:"Filtreaza dupa",filterModalSubtitle:"Puteți selecta mai mulți furnizori",filterClear:"Sterge",filterApply:"Aplica"}},hr:{filters:{loading:"Učitavanje",filterModalTitle:"Filter",filterModalSubtitle:"Možete odabrati više opcija",filterClear:"Ponovno postavi filter",filterApply:"Gotovo"}},hu:{filters:{loading:"betöltés",filterModalTitle:"Szűrő",filterModalSubtitle:"Több lehetőséget is kiválaszthat",filterClear:"Szűrő visszaállítása",filterApply:"Kész"}},pl:{filters:{loading:"Ładowanie",filterModalTitle:"Wyszukaj",filterModalSubtitle:"Możliwy wybór wielokrotny",filterClear:"Wyłącz filtr",filterApply:"Gotowe"}},pt:{filters:{loading:"Carregando",filterModalTitle:"Filtro",filterModalSubtitle:"Você pode selecionar várias opções",filterClear:"Redefinir filtro",filterApply:"Finalizado"}},sl:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Izberete lahko več možnosti",filterClear:"Ponastavi filter",filterApply:"Končano"}},sr:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"Moguć je višestruki izbor",filterClear:"Resetujte filter",filterApply:"Gotovo"}}};function Us(e,t,n){const r=e.slice();return r[32]=t[n],r}function Ws(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S=n[6]("filters.filterModalTitle")+"",F=n[6]("filters.filterModalSubtitle")+"",k=n[6]("filters.filterApply")+"",M=n[0]&&Ys(n),_=n[3]&&Js(n);return{c(){r=pe("div"),i=pe("section"),a=pe("div"),o=pe("h4"),s=me(S),l=ge(),c=pe("h5"),d=me(F),u=ge(),h=pe("section"),M&&M.c(),p=ge(),m=pe("section"),_&&_.c(),g=ge(),f=pe("div"),y=me(k),fe(o,"class","FilterHeaderTitle"),fe(o,"part","FilterHeaderTitle"),fe(c,"class","FilterHeaderSubtitle"),fe(c,"part","FilterHeaderSubtitle"),fe(a,"class","FilterHeaderDetails"),fe(a,"part","FilterHeaderDetails"),fe(i,"class","FilterHeaderSection"),fe(i,"part","FilterHeaderSection"),fe(h,"class","FilterContentSection"),fe(h,"part","FilterContentSection"),fe(f,"class",b="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(f,"part",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),fe(m,"class","FilterFooterSection"),fe(m,"part","FilterFooterSection"),fe(r,"class",w="FilterModalContent "+(n[1]?"FilterModalMobileContent":"")),fe(r,"part",x="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){ue(e,r,t),de(r,i),de(i,a),de(a,o),de(o,s),de(a,l),de(a,c),de(c,d),de(r,u),de(r,h),M&&M.m(h,null),de(r,p),de(r,m),_&&_.m(m,null),de(m,g),de(m,f),de(f,y),C||($=K(f,"click",n[19]),C=!0)},p(e,t){64&t[0]&&S!==(S=e[6]("filters.filterModalTitle")+"")&&ye(s,S),64&t[0]&&F!==(F=e[6]("filters.filterModalSubtitle")+"")&&ye(d,F),e[0]?M?M.p(e,t):((M=Ys(e)).c(),M.m(h,null)):M&&(M.d(1),M=null),e[3]?_?_.p(e,t):((_=Js(e)).c(),_.m(m,g)):_&&(_.d(1),_=null),64&t[0]&&k!==(k=e[6]("filters.filterApply")+"")&&ye(y,k),4&t[0]&&b!==(b="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"class",b),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&fe(f,"part",v),2&t[0]&&w!==(w="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"class",w),2&t[0]&&x!==(x="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&fe(r,"part",x)},d(e){e&&he(r),M&&M.d(),_&&_.d(),C=!1,$()}}}function zs(e){let n;return{c(){fe(n=pe("div"),"class","lds-dual-ring"),fe(n,"part","lds-dual-ring")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function Ys(t){let i,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Zs(Us(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();i=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);ue(t,i,n)},p(t,n){if(129&n[0]){let e;for(a=t[0],e=0;e<a.length;e+=1){var r=Us(t,a,e);o[e]?o[e].p(r,n):(o[e]=Zs(r),o[e].c(),o[e].m(i.parentNode,i))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){G(o,e),e&&he(i)}}}function Vs(){let n;return{c(){(n=pe("div")).innerHTML='<div class="CheckMark" part="CheckMark"></div>',fe(n,"class","FilterIconContainer"),fe(n,"part","FilterIconContainer")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function Zs(n){let r,i,a,o,s,l,c,d,u,h,p=n[32].isFilterSelected&&Vs();function m(){return n[17](n[32])}return{c(){r=pe("div"),i=pe("img"),s=ge(),p&&p.c(),l=ge(),fe(i,"class","VendorImage"),fe(i,"part","VendorImage"),ce(i.src,a=n[32].image)||fe(i,"src",a),fe(i,"alt",o=n[32].name),fe(r,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":"")),fe(r,"part",d="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){ue(e,r,t),de(r,i),de(r,s),p&&p.m(r,null),de(r,l),u||(h=K(r,"click",m),u=!0)},p(e,t){n=e,1&t[0]&&!ce(i.src,a=n[32].image)&&fe(i,"src",a),1&t[0]&&o!==(o=n[32].name)&&fe(i,"alt",o),n[32].isFilterSelected?p||((p=Vs()).c(),p.m(r,l)):p&&(p.d(1),p=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"class",c),1&t[0]&&d!==(d="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&fe(r,"part",d)},d(e){e&&he(r),p&&p.d(),u=!1,h()}}}function Js(e){let n,r=e[3].length&&Ks(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),ue(e,n,t)},p(e,t){e[3].length?r?r.p(e,t):((r=Ks(e)).c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&he(n)}}}function Ks(n){let r,i,a,o,s=n[6]("filters.filterClear")+"";return{c(){r=pe("div"),i=me(s),fe(r,"class","ClearFiltersButton"),fe(r,"part","ClearFiltersButton")},m(e,t){ue(e,r,t),de(r,i),a||(o=K(r,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ye(i,s)},d(e){e&&he(r),a=!1,o()}}}function Xs(n){let r;function i(e){return e[4]?zs:Ws}let a=i(n),o=a(n);return{c(){r=pe("div"),o.c(),this.c=Z,fe(r,"part","CustomStylingContainer")},m(e,t){ue(e,r,t),o.m(r,null),n[20](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o.d(1),(o=a(e))&&(o.c(),o.m(r,null)))},i:Z,o:Z,d(e){e&&he(r),o.d(),n[20](null)}}}function qs(e,t,i){let n;vt(e,Kr,e=>i(6,n=e));let r,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:d=""}=t,{clientstylingurl:u=""}=t,h=[],p=!1,m=window.navigator.userAgent,g=!1,f="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),b=[],v={},w=!1,x=(v[f]&&(v={[f]:[]}),[]);var C,$;({withLocale:C,translations:$}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set($),ft.set(C))}),Object.keys(js).forEach(e=>{Tr(e,js[e])});const S=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(f&&((y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")))&&i(3,b=y[f])),!b){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}r=`${a}/casino/vendors?filter=games(groups=${f})&datasource=${o}&platform=`+bt(m),new Promise((t,n)=>{fetch(r).then(e=>e.json()).then(e=>{e=e.items,t(e.items),e.forEach(e=>{let t=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));t=t||{currentCategoryId:[]},f&&t[f]&&(e.isFilterSelected=0<=t[f].indexOf(e.id))}),i(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=b;e&&e.length&&h.forEach(t=>{e.forEach(e=>{t.id===e&&(t.isFilterSelected=!0)})}),x=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]),i(3,b=x),i(2,g=!1);break;case"AvailableVendors":i(0,h=t.data.venArray),i(3,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":i(0,h=t.data.venArray),h&&i(3,b=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":M(),window.postMessage({type:"ApplyFilters"},window.location.href),i(2,g=!1);break;case"FiltersModalClosed":window.postMessage({type:"EnableScroll"},window.location.href),h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":f=t.data.categoryid,y&&f&&i(3,b=y[f]);break;case"ModalLoader":i(4,w=!1)}var r},F=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(b.push(t.id),i(2,g=!k(b,x))):(b.includes(t.id)&&i(3,b=b.filter(e=>e!==t.id)),i(2,g=!(!b.length&&k(b,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},k=(e,t)=>{if(e.length!==t.length)return!1;for(const n of new Set([...e,...t]))if(e.filter(e=>e===n).length!==t.filter(e=>e===n).length)return!1;return!0},M=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),i(2,g=k(b,x)),i(3,b=[]),null!==e&&((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},_=()=>{i(4,w=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(v={[f]:b})):((e=JSON.parse(e))[f]=b,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return wt(()=>(window.addEventListener("message",S,!1),yt(m)&&i(1,p=!0),()=>{window.removeEventListener("message",S)})),e.$$set=e=>{"endpoint"in e&&i(10,a=e.endpoint),"datasource"in e&&i(11,o=e.datasource),"lang"in e&&i(12,s=e.lang),"session"in e&&i(13,l=e.session),"userid"in e&&i(14,c=e.userid),"clientstyling"in e&&i(15,d=e.clientstyling),"clientstylingurl"in e&&i(16,u=e.clientstylingurl)},e.$$.update=()=>{if(32768&e.$$.dirty[0]&&d){let e=document.createElement("style");e.innerHTML=d,r.appendChild(e)}if(65536&e.$$.dirty[0]&&u){let t=document.createElement("style");fetch(new URL(u)).then(e=>e.text()).then(e=>{t.innerHTML=e,r&&setTimeout(()=>{r.appendChild(t)},1)})}},[h,p,g,b,w,r,n,F,M,_,a,o,s,l,c,d,u,e=>F(e),()=>M(),()=>_(),function(e){gt[e?"unshift":"push"](()=>{r=e,i(5,r)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.FilterModalContent{max-height:80vh;display:flex;flex-direction:column}.FilterHeaderSection{flex-grow:0}.FilterHeaderDetails .FilterHeaderTitle{font-size:34px;font-weight:300;padding-bottom:6px;margin-block-start:0;margin-block-end:0}.FilterHeaderDetails .FilterHeaderSubtitle{font-size:18px;font-weight:300;margin-block-start:0}.FilterContentSection{display:inline-flex;flex-wrap:wrap;grid-gap:25px;flex-grow:1;overflow-y:auto;scrollbar-width:thin;height:127px;scrollbar-color:var(--emfe-w-color-gray-300, #58586B) var(--emfe-w-color-gray-100, #E6E6E6)}.FilterContentSection::-webkit-scrollbar{width:6px}.FilterContentSection::-webkit-scrollbar-thumb{background:var(--emfe-w-color-gray-300, #58586B)}.FilterContentSection::-webkit-scrollbar-track{background:var(--emfe-w-color-gray-100, #E6E6E6)}.VendorBox{width:230px;height:120px;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);border-radius:5px;position:relative}.VendorBox.VendorBoxSelected{border:1px solid var(--emfe-w-color-primary, #D0046C)}.VendorImage{width:100%;height:100%;object-fit:contain;transition:all 150ms ease-in-out}.FilterIconContainer{width:25px;height:25px;border-radius:50%;display:flex;align-items:center;justify-content:center;position:absolute;bottom:5px;right:5px;background:var(--emfe-w-color-primary, #D0046C)}.FilterIconContainer .CheckMark{width:5px;height:12px;border-bottom:2px solid var(--emfe-w-color-white, #FFFFFF);border-right:2px solid var(--emfe-w-color-white, #FFFFFF);display:inline-block;position:relative;top:-2px;transform:rotate(45deg)}.FilterFooterSection{display:flex;justify-content:center;grid-gap:30px;margin-top:60px;flex-grow:0}.FilterFooterSection .ClearFiltersButton,.FilterFooterSection .ApplyFiltersButton{width:180px;height:50px;border:1px solid var(--emfe-w-color-primary, #D0046C);border-radius:5px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;cursor:pointer;transition:border 150ms ease-in-out}.FilterFooterSection .ClearFiltersButton:hover,.FilterFooterSection .ApplyFiltersButton:hover{border:1px solid var(--emfe-w-color-primary-100, #F1BED9)}.FilterFooterSection .ClearFiltersButton{background:var(--emfe-w-color-white, #FFFFFF);color:var(--emfe-w-color-primary, #D0046C)}.FilterFooterSection .ApplyFiltersButton{background:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-white, #FFFFFF)}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled{background:var(--emfe-w-color-gray-100, #E6E6E6);border:1px solid var(--emfe-w-color-gray-100, #E6E6E6);pointer-events:none !important;-webkit-touch-callout:none;-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.FilterFooterSection .ApplyFiltersButton.ApplyFilterButtonDisabled:hover{cursor:not-allowed;border:1px solid var(--emfe-w-color-gray-100, #E6E6E6)}.FilterModalMobileContent .FilterHeaderSection{margin-top:20px;text-align:center;color:var(--emfe-w-color-gray-300, #58586B)}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderTitle{font-size:18px}.FilterModalMobileContent .FilterHeaderSection .FilterHeaderSubtitle{font-size:14px}.FilterModalMobileContent .FilterContentSection{justify-content:center;grid-gap:10px}.FilterModalMobileContent .FilterContentSection .VendorBox{width:150px;height:80px}.FilterModalMobileContent .FilterIconContainer{width:12px;height:12px}.FilterModalMobileContent .FilterIconContainer .CheckMark{width:2px;height:6px;border-bottom:1px solid var(--emfe-w-color-white, #FFFFFF);border-right:1px solid var(--emfe-w-color-white, #FFFFFF);top:0px;left:1px}.FilterModalMobileContent .FilterFooterSection{margin:30px auto 15px;grid-gap:10px;width:100%}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{width:100%;max-width:180px;font-size:12px}.lds-dual-ring{display:block;width:80px;height:80px;margin:0 auto}.lds-dual-ring:after{content:\" \";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emfe-w-color-primary, #D0046C);border-color:var(--emfe-w-color-primary, #D0046C) transparent var(--emfe-w-color-primary, #D0046C) transparent;animation:lds-dual-ring 1.2s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},qs,Xs,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}});const Qs={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},zh:{gamePage:{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},fr:{gamePage:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"}},es:{gamePage:{signIn:"Iniciar sesión",register:"REGISTRO",deposit:"Depósito",playForFun:"Juega por diversión",playNow:"Empezar ahora!",breakButton:"Tómese un descanso de 24 horas del juego"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},pt:{gamePage:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}}};function el(n){let r;function i(e){return e[5]?il:e[10]?rl:void 0}let a=i(n),o=a&&a(n);return{c(){r=pe("div"),o&&o.c(),fe(r,"class","CasinoIntegratedGamePage"),fe(r,"part","CasinoIntegratedGamePage")},m(e,t){ue(e,r,t),o&&o.m(r,null),n[65](r)},p(e,t){a===(a=i(e))&&o?o.p(e,t):(o&&o.d(1),(o=a&&a(e))&&(o.c(),o.m(r,null)))},d(e){e&&he(r),o&&o.d(),n[65](null)}}}function tl(e){let n;return{c(){(n=pe("p")).textContent="500 Error - Internal Server Error.",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function nl(e){let n;return{c(){(n=pe("p")).textContent="Loading, please wait ...",fe(n,"class","SearchLoading"),fe(n,"part","SearchLoading")},m(e,t){ue(e,n,t)},p:Z,d(e){e&&he(n)}}}function rl(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S,F,k,M,_=n[22]("gamePage.signIn")+"",E=n[22]("gamePage.register")+"";function T(e){return e[16]?ol:al}let L=T(n),I=L(n),G="true"==n[1]&&!n[16]&&sl();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),d=pe("div"),u=ge(),h=pe("div"),p=pe("div"),m=pe("iframe"),f=ge(),y=pe("div"),b=pe("div"),v=pe("button"),w=me(_),x=ge(),C=pe("button"),$=me(E),S=ge(),I.c(),F=ge(),G&&G.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(m,"title","Games"),fe(m,"class","GamesContainer"),fe(m,"part","GamesContainer"),fe(m,"aria-hidden","false"),ce(m.src,g=n[9].launchUrl)||fe(m,"src",g),fe(v,"class","LoginButton"),fe(v,"part","LoginButton"),fe(C,"class","RegisterButton"),fe(C,"part","RegisterButton"),fe(b,"class","ButtonsContainer ButtonsContainerFunMode"),fe(b,"part","ButtonsContainer ButtonsContainerFunMode"),fe(y,"class","BottomGame"),fe(y,"part","BottomGame"),fe(p,"id","IframeGame"),fe(p,"part","IframeGame"),P(p,"width",n[16]?"100%":n[17]),P(p,"height",n[16]?"100%":n[18]),P(p,"max-width",n[16]||!n[11]?"none":n[9].width?Math.floor(n[9].width)+"px":"1280px"),P(p,"max-height",n[16]||!n[11]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(h,"id","IframeContainer"),fe(h,"part","IframeContainer"),B(h,"FullsScreenLayout",n[16])},m(e,t){ue(e,r,t),de(r,i),de(r,a),de(r,o),de(o,s),de(s,l),n[56](o),de(r,c),de(r,d),ue(e,u,t),ue(e,h,t),de(h,p),de(p,m),n[57](m),de(p,f),de(p,y),de(y,b),de(b,v),de(v,w),de(b,x),de(b,C),de(C,$),de(y,S),I.m(y,null),n[62](y),n[63](p),de(h,F),G&&G.m(h,null),n[64](h),k||(M=[K(i,"click",n[55]),K(v,"click",n[58]),K(C,"click",n[59])],k=!0)},p(e,t){8&t[0]&&ye(l,e[3]),512&t[0]&&!ce(m.src,g=e[9].launchUrl)&&fe(m,"src",g),4194304&t[0]&&_!==(_=e[22]("gamePage.signIn")+"")&&ye(w,_),4194304&t[0]&&E!==(E=e[22]("gamePage.register")+"")&&ye($,E),L===(L=T(e))&&I?I.p(e,t):(I.d(1),(I=L(e))&&(I.c(),I.m(y,null))),196608&t[0]&&P(p,"width",e[16]?"100%":e[17]),327680&t[0]&&P(p,"height",e[16]?"100%":e[18]),68096&t[0]&&P(p,"max-width",e[16]||!e[11]?"none":e[9].width?Math.floor(e[9].width)+"px":"1280px"),68096&t[0]&&P(p,"max-height",e[16]||!e[11]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?G&&(G.d(1),G=null):G||((G=sl()).c(),G.m(h,null)),65536&t[0]&&B(h,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[56](null),e&&he(u),e&&he(h),n[57](null),I.d(),n[62](null),n[63](null),G&&G.d(),n[64](null),k=!1,J(M)}}}function il(n){let r,i,a,o,s,l,c,d,u,h,p,m,g,f,y,b,v,w,x,C,$,S,F=n[22]("gamePage.deposit")+"",k="true"===n[0]&&ll(n);function M(e){return e[16]?dl:cl}let _=M(n),E=_(n),T="true"==n[1]&&!n[16]&&ul();return{c(){r=pe("div"),(i=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',a=ge(),o=pe("p"),s=pe("span"),l=me(n[3]),c=ge(),d=pe("button"),u=me(F),h=ge(),p=pe("div"),m=pe("div"),g=pe("iframe"),v=ge(),w=pe("div"),k&&k.c(),x=ge(),E.c(),C=ge(),T&&T.c(),fe(i,"class","backButton"),fe(i,"part","backButton"),fe(o,"class","Time"),fe(o,"part","Time"),fe(d,"class","DepositButton"),fe(d,"part","DepositButton"),fe(r,"class","GamePageIntegratedTopSection"),fe(r,"part","GamePageIntegratedTopSection"),fe(g,"title","Games"),fe(g,"id","IframeGame"),fe(g,"class","GamesContainer"),fe(g,"part","GamesContainer"),fe(g,"aria-hidden","false"),ce(g.src,f=n[9].launchUrl)||fe(g,"src",f),fe(g,"width",y=n[13]+"px"),fe(g,"height",b=n[14]+"px"),fe(w,"class","BottomGame BottomGameLoggedin"),fe(w,"part","BottomGame BottomGameLoggedin"),fe(m,"id","IframeGame"),fe(m,"part","IframeGame"),P(m,"width",n[16]?"100%":n[17]),P(m,"height",n[16]?"100%":n[18]),P(m,"max-width",n[16]?"none":n[9].width?n[9].width+"px":"1280px"),P(m,"max-height",n[16]?"none":n[9].height?Math.floor(n[9].height)+100+"px":"720px"),fe(p,"id","IframeContainer"),fe(p,"part","IframeContainer"),B(p,"FullsScreenLayout",n[16])},m(e,t){ue(e,r,t),de(r,i),de(r,a),de(r,o),de(o,s),de(s,l),n[46](o),de(r,c),de(r,d),de(d,u),ue(e,h,t),ue(e,p,t),de(p,m),de(m,g),n[48](g),de(m,v),de(m,w),k&&k.m(w,null),de(w,x),E.m(w,null),n[52](w),n[53](m),de(p,C),T&&T.m(p,null),n[54](p),$||(S=[K(i,"click",n[45]),K(d,"click",n[47])],$=!0)},p(e,t){8&t[0]&&ye(l,e[3]),4194304&t[0]&&F!==(F=e[22]("gamePage.deposit")+"")&&ye(u,F),512&t[0]&&!ce(g.src,f=e[9].launchUrl)&&fe(g,"src",f),8192&t[0]&&y!==(y=e[13]+"px")&&fe(g,"width",y),16384&t[0]&&b!==(b=e[14]+"px")&&fe(g,"height",b),"true"===e[0]?k?k.p(e,t):((k=ll(e)).c(),k.m(w,x)):k&&(k.d(1),k=null),_===(_=M(e))&&E?E.p(e,t):(E.d(1),(E=_(e))&&(E.c(),E.m(w,null))),196608&t[0]&&P(m,"width",e[16]?"100%":e[17]),327680&t[0]&&P(m,"height",e[16]?"100%":e[18]),66048&t[0]&&P(m,"max-width",e[16]?"none":e[9].width?e[9].width+"px":"1280px"),66048&t[0]&&P(m,"max-height",e[16]?"none":e[9].height?Math.floor(e[9].height)+100+"px":"720px"),"true"!=e[1]||e[16]?T&&(T.d(1),T=null):T||((T=ul()).c(),T.m(p,null)),65536&t[0]&&B(p,"FullsScreenLayout",e[16])},d(e){e&&he(r),n[46](null),e&&he(h),e&&he(p),n[48](null),k&&k.d(),E.d(),n[52](null),n[53](null),T&&T.d(),n[54](null),$=!1,J(S)}}}function al(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[61]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ol(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[60]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function sl(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function ll(n){let r,i,a,e,t,o=n[22]("gamePage.breakButton")+"";return{c(){r=pe("div"),i=pe("button"),a=me(o),fe(i,"class",e="PanicButton "+("PC"!==bt(n[23])?"PanicButtonMobile":"")),fe(i,"part",t="PanicButton "+("PC"!==bt(n[23])?"PanicButtonMobile":"")),B(i,"PanicButtonAnimation",n[8]),fe(r,"class","PanicSection"),fe(r,"part","PanicSection")},m(e,t){ue(e,r,t),de(r,i),de(i,a),n[49](i)},p(e,t){4194304&t[0]&&o!==(o=e[22]("gamePage.breakButton")+"")&&ye(a,o),256&t[0]&&B(i,"PanicButtonAnimation",e[8])},d(e){e&&he(r),n[49](null)}}}function cl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[51]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function dl(n){let r,i,a;return{c(){(r=pe("button")).innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill:#fff;" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:#fff;" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill:#fff;" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',fe(r,"class","FullscreenButton"),fe(r,"part","FullscreenButton")},m(e,t){ue(e,r,t),i||(a=K(r,"click",n[50]),i=!0)},p:Z,d(e){e&&he(r),i=!1,a()}}}function ul(){let n;return{c(){(n=pe("div")).innerHTML="<h3>Your banner here</h3>",fe(n,"class","BannerSection"),fe(n,"part","BannerSection")},m(e,t){ue(e,n,t)},d(e){e&&he(n)}}}function hl(e){let n;function r(e){return e[7]?nl:e[6]?tl:el}let i=r(e),a=i(e);return{c(){a.c(),n=c(),this.c=Z},m(e,t){a.m(e,t),ue(e,n,t)},p(e,t){i===(i=r(e))&&a?a.p(e,t):(a.d(1),(a=i(e))&&(a.c(),a.m(n.parentNode,n)))},i:Z,o:Z,d(e){a.d(e),e&&he(n)}}}function pl(t,e,r){let A;vt(t,Kr,e=>r(22,A=e));let R,n,i,a,D,o,s,l,c,d,u,h,H,N,p,m,g,{endpoint:f=""}=e,{lang:y=""}=e,{session:b=""}=e,{userid:O=""}=e,{clientstyling:v=""}=e,{clientstylingurl:w=""}=e,{loginurl:x=""}=e,{registerurl:C=""}=e,{depositurl:$=""}=e,{loginevent:S=""}=e,{registerevent:F=""}=e,{depositevent:k=""}=e,{clockformat:M=""}=e,{haspanicbutton:j="false"}=e,{playforfun:_="true"}=e,{checksession:U="true"}=e,{gamebanneractive:W="false"}=e,{gameid:E=""}=e,T=!1,z=!1,Y=!0,L=!1,I=0,V=!1,Z=!1,J=!0,G=!1,P=window.navigator.userAgent;var K,X;({withLocale:K,translations:X}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(X),ft.set(K))}),Object.keys(Qs).forEach(e=>{Tr(e,Qs[e])});const q=(e,t)=>{let n=new URL(f+"/casino/games/"+e);n.searchParams.append("language",y),n.searchParams.append("expand","vendor"),r(11,J=t||!1),fetch(n.href).then(e=>e.json()).then(e=>{r(9,o=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",y),i&&0<i.length&&(r(5,T=!0),t.searchParams.append("_sid",i),t.searchParams.append("funMode","false")),e.launchUrl=t,p.scrollIntoView(),e})(e[0])),o.launchUrl&&(V=!0,r(10,Z="true"==_&&o.hasFunMode),"true"==_&&o.hasAnonymousFunMode)},e=>{console.error("There was an error",e),r(6,z=!0)}).then(()=>{s&&(Q(),J||(r(17,H=o.width),r(18,N=o.height),u=o.width,h=o.height))})},Q=()=>{let e=getComputedStyle(s),t=getComputedStyle(d);r(13,l=parseInt(e.width.slice(0,-2))),r(14,c=parseInt(e.height.slice(0,-2)));var n=o.width/(o.height+100);u=parseInt(t.width),h=parseInt(t.height),l/n>c-m.clientHeight-g.clientHeight?(h=c-m.clientHeight-g.clientHeight,u=c*n):(u=l,h=l/n),r(17,H=u?Math.floor(u)+"px":"1280px"),r(18,N=h?Math.floor(h)+"px":"720px")},ee=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:V},window.location.href),V&&s&&"PC"==bt(P)&&Q()},te=()=>{S&&(window.postMessage({type:S,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),x&&(window.location=x)},ne=()=>{F&&(window.postMessage({type:F,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),C&&(window.location=C)},re=()=>{k&&(window.postMessage({type:k},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),$&&(window.location=$)};function ie(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!G||B()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ie,!1),document.addEventListener("mozfullscreenchange",ie,!1),document.addEventListener("fullscreenchange",ie,!1),document.addEventListener("MSFullscreenChange",ie,!1));const B=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(G?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),r(16,G=!1)):(s.requestFullscreen?s.requestFullscreen():s.webkitRequestFullscreen?s.webkitRequestFullscreen():s.mozRequestFullScreen?s.mozRequestFullScreen():s.msRequestFullscreen&&s.msRequestFullscreen(),r(16,G=!0)))},ae=setInterval(()=>{r(3,R=M?Si().format(M):Si().format("LTS"))},100),oe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},se=e=>{I=0,D=setInterval(()=>{I+=1,r(8,L=!0),3<=I&&clearInterval(D)},1e3)},le=e=>{I<3&&r(8,L=!1),clearInterval(D)};return wt(()=>(window.addEventListener("resize",ee,!1),gs(P),()=>{r(8,L=!1),null!=a&&a.removeEventListener("mousedown",se),null!=a&&a.removeEventListener("touchstart",se),null!=a&&a.removeEventListener("mouseup",le),null!=a&&a.removeEventListener("touchend",le),window.removeEventListener("resize",ee),clearInterval(ae)})),t.$$set=e=>{"endpoint"in e&&r(29,f=e.endpoint),"lang"in e&&r(30,y=e.lang),"session"in e&&r(31,b=e.session),"userid"in e&&r(32,O=e.userid),"clientstyling"in e&&r(33,v=e.clientstyling),"clientstylingurl"in e&&r(34,w=e.clientstylingurl),"loginurl"in e&&r(35,x=e.loginurl),"registerurl"in e&&r(36,C=e.registerurl),"depositurl"in e&&r(37,$=e.depositurl),"loginevent"in e&&r(38,S=e.loginevent),"registerevent"in e&&r(39,F=e.registerevent),"depositevent"in e&&r(40,k=e.depositevent),"clockformat"in e&&r(41,M=e.clockformat),"haspanicbutton"in e&&r(0,j=e.haspanicbutton),"playforfun"in e&&r(42,_=e.playforfun),"checksession"in e&&r(43,U=e.checksession),"gamebanneractive"in e&&r(1,W=e.gamebanneractive),"gameid"in e&&r(44,E=e.gameid)},t.$$.update=()=>{if(1073741824&t.$$.dirty[0]&&y&&(e=y,ft.set(e),yt(P),r(7,Y=!1)),1610612736&t.$$.dirty[0]|8192&t.$$.dirty[1]&&f&&E&&y&&q(E),536870912&t.$$.dirty[0]|3&t.$$.dirty[1]&&b&&O&&f&&("true"==U?qr(f,b).then(e=>{i=e.Guid,e.UserID,r(5,T=!0)},e=>{r(5,T=!1),console.error("err on session",e)}):i=b),4&t.$$.dirty[1]&&v){let e=document.createElement("style");e.innerHTML=v,p.appendChild(e)}if(8&t.$$.dirty[1]&&w){let t=document.createElement("style");w&&(e=new URL(w),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,p&&setTimeout(()=>{p.appendChild(t)},1)}))}var e;4&t.$$.dirty[0]&&a&&(null!=a&&a.addEventListener("mousedown",se,!1),null!=a&&a.addEventListener("touchstart",se,!1),null!=a&&a.addEventListener("mouseup",le,!1),null!=a&&a.addEventListener("touchend",le,!1))},[j,W,a,R,n,T,z,Y,L,o,Z,J,s,l,c,d,G,H,N,p,m,g,A,P,te,ne,re,B,oe,f,y,b,O,v,w,x,C,$,S,F,k,M,_,U,E,()=>oe(),function(e){gt[e?"unshift":"push"](()=>{g=e,r(21,g)})},()=>re(),function(e){gt[e?"unshift":"push"](()=>{n=e,r(4,n)})},function(e){gt[e?"unshift":"push"](()=>{a=e,r(2,a)})},()=>B(),()=>B(),function(e){gt[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){gt[e?"unshift":"push"](()=>{d=e,r(15,d)})},function(e){gt[e?"unshift":"push"](()=>{s=e,r(12,s)})},()=>oe(),function(e){gt[e?"unshift":"push"](()=>{g=e,r(21,g)})},function(e){gt[e?"unshift":"push"](()=>{n=e,r(4,n)})},()=>te(),()=>ne(),()=>B(),()=>B(),function(e){gt[e?"unshift":"push"](()=>{m=e,r(20,m)})},function(e){gt[e?"unshift":"push"](()=>{d=e,r(15,d)})},function(e){gt[e?"unshift":"push"](()=>{s=e,r(12,s)})},function(e){gt[e?"unshift":"push"](()=>{p=e,r(19,p)})}]}function ml(e){let n,r,i,a,o,s,l,c,d,u,h,p,m,g="true"==e[22]&&fl(e);return{c(){n=pe("div"),r=pe("div"),i=pe("div"),a=ge(),o=pe("div"),s=ge(),l=pe("casino-categories-slider"),c=ge(),d=pe("casino-page"),u=ge(),g&&g.c(),h=ge(),p=pe("casino-filter-modal"),m=pe("casino-filter-page"),fe(i,"class","HeaderPlaceholder"),fe(i,"part","HeaderPlaceholder"),P(i,"height",e[60]+"px"),fe(o,"class","ScrollTop"),fe(o,"part","ScrollTop"),w(l,"endpoint",e[53]),w(l,"datasource",e[54]),w(l,"lang",e[55]),w(l,"session",e[59]),w(l,"userid",e[2]),w(l,"sessioncheck","false"),w(l,"actionevent",e[19]),w(l,"filteredcategories",e[7]),w(l,"mostplayed",e[11]),w(l,"mostplayedrounds",e[12]),w(l,"lastplayed",e[13]),w(l,"lastplayedperiod",e[14]),w(l,"favorites",e[15]),w(l,"activecategory",e[1]),w(l,"clientstyling",e[3]),w(l,"clientstylingurl",e[4]),w(l,"containermaxwidth",e[17]),w(l,"location","secondaryMenu"),w(l,"showsubgroups",e[48]),w(d,"session",e[59]),w(d,"userid",e[2]),w(d,"endpoint",e[53]),w(d,"datasource",e[54]),w(d,"lang",e[55]),w(d,"visiblegames",e[24]),w(d,"playrandomgame",e[23]),w(d,"activecategory",e[1]),w(d,"alternativesearch",e[16]),w(d,"favorites",e[15]),w(d,"mostplayedrounds",e[12]),w(d,"mostplayed",e[11]),w(d,"lastplayed",e[13]),w(d,"lastplayedperiod",e[14]),w(d,"clientstyling",e[3]),w(d,"clientstylingurl",e[4]),w(d,"lobbyid",e[6]),w(d,"containermaxwidth",e[17]),w(d,"haspanicbutton",e[18]),w(d,"livecasino",e[20]),w(d,"currency",e[0]),w(d,"filteredcategories",e[7]),w(d,"gamepagemodalurl",e[27]),w(d,"randombuttonicon",e[52]),w(d,"enablejackpotbanner",e[39]),w(d,"enablecasinowinners",e[28]),w(d,"periodrecent",e[33]),w(d,"periodtop",e[34]),w(d,"numberusersrecent",e[35]),w(d,"numberuserstop",e[36]),w(d,"amountlimit",e[37]),w(d,"isrecentavailable",e[32]),w(d,"istopavailable",e[31]),w(d,"integratedgameframedesktop",e[25]),w(d,"integratedgameframemobile",e[26]),w(d,"defaultcurrency",e[38]),w(d,"enableautoscroll",e[30]),w(d,"tabsorder",e[29]),w(d,"backgroundsrc",e[44]),w(d,"backgroundsrcmobile",e[45]),w(d,"titlelogopath",e[46]),w(d,"caticon0",e[40]),w(d,"caticon1",e[41]),w(d,"caticon2",e[42]),w(d,"caticon3",e[43]),w(d,"iconlabels",e[47]),w(d,"enablecollections",e[49]),w(d,"type",e[50]),w(d,"titletype",e[51]),w(m,"session",e[59]),w(m,"userid",e[2]),w(m,"endpoint",e[53]),w(m,"datasource",e[54]),w(m,"lang",e[55]),w(m,"clientstylingurl",e[4]),w(m,"clientstyling",e[3]),w(p,"clientstylingurl",e[4]),w(p,"session",e[59]),w(p,"userid",e[2]),w(p,"endpoint",e[53]),w(p,"datasource",e[54]),w(p,"lang",e[55]),w(p,"sessioncheck","false"),w(p,"clientstyling",e[3]),fe(r,"class","WidgetsSection"),fe(r,"part","WidgetsSection"),fe(n,"class","CasinoLobby"),fe(n,"part","CasinoLobby")},m(e,t){ue(e,n,t),de(n,r),de(r,i),de(r,a),de(r,o),de(r,s),de(r,l),de(r,c),de(r,d),de(r,u),g&&g.m(r,null),de(r,h),de(r,p),de(p,m)},p(e,t){536870912&t[1]&&P(i,"height",e[60]+"px"),4194304&t[1]&&w(l,"endpoint",e[53]),8388608&t[1]&&w(l,"datasource",e[54]),16777216&t[1]&&w(l,"lang",e[55]),268435456&t[1]&&w(l,"session",e[59]),4&t[0]&&w(l,"userid",e[2]),524288&t[0]&&w(l,"actionevent",e[19]),128&t[0]&&w(l,"filteredcategories",e[7]),2048&t[0]&&w(l,"mostplayed",e[11]),4096&t[0]&&w(l,"mostplayedrounds",e[12]),8192&t[0]&&w(l,"lastplayed",e[13]),16384&t[0]&&w(l,"lastplayedperiod",e[14]),32768&t[0]&&w(l,"favorites",e[15]),2&t[0]&&w(l,"activecategory",e[1]),8&t[0]&&w(l,"clientstyling",e[3]),16&t[0]&&w(l,"clientstylingurl",e[4]),131072&t[0]&&w(l,"containermaxwidth",e[17]),131072&t[1]&&w(l,"showsubgroups",e[48]),268435456&t[1]&&w(d,"session",e[59]),4&t[0]&&w(d,"userid",e[2]),4194304&t[1]&&w(d,"endpoint",e[53]),8388608&t[1]&&w(d,"datasource",e[54]),16777216&t[1]&&w(d,"lang",e[55]),16777216&t[0]&&w(d,"visiblegames",e[24]),8388608&t[0]&&w(d,"playrandomgame",e[23]),2&t[0]&&w(d,"activecategory",e[1]),65536&t[0]&&w(d,"alternativesearch",e[16]),32768&t[0]&&w(d,"favorites",e[15]),4096&t[0]&&w(d,"mostplayedrounds",e[12]),2048&t[0]&&w(d,"mostplayed",e[11]),8192&t[0]&&w(d,"lastplayed",e[13]),16384&t[0]&&w(d,"lastplayedperiod",e[14]),8&t[0]&&w(d,"clientstyling",e[3]),16&t[0]&&w(d,"clientstylingurl",e[4]),64&t[0]&&w(d,"lobbyid",e[6]),131072&t[0]&&w(d,"containermaxwidth",e[17]),262144&t[0]&&w(d,"haspanicbutton",e[18]),1048576&t[0]&&w(d,"livecasino",e[20]),1&t[0]&&w(d,"currency",e[0]),128&t[0]&&w(d,"filteredcategories",e[7]),134217728&t[0]&&w(d,"gamepagemodalurl",e[27]),2097152&t[1]&&w(d,"randombuttonicon",e[52]),256&t[1]&&w(d,"enablejackpotbanner",e[39]),268435456&t[0]&&w(d,"enablecasinowinners",e[28]),4&t[1]&&w(d,"periodrecent",e[33]),8&t[1]&&w(d,"periodtop",e[34]),16&t[1]&&w(d,"numberusersrecent",e[35]),32&t[1]&&w(d,"numberuserstop",e[36]),64&t[1]&&w(d,"amountlimit",e[37]),2&t[1]&&w(d,"isrecentavailable",e[32]),1&t[1]&&w(d,"istopavailable",e[31]),33554432&t[0]&&w(d,"integratedgameframedesktop",e[25]),67108864&t[0]&&w(d,"integratedgameframemobile",e[26]),128&t[1]&&w(d,"defaultcurrency",e[38]),1073741824&t[0]&&w(d,"enableautoscroll",e[30]),536870912&t[0]&&w(d,"tabsorder",e[29]),8192&t[1]&&w(d,"backgroundsrc",e[44]),16384&t[1]&&w(d,"backgroundsrcmobile",e[45]),32768&t[1]&&w(d,"titlelogopath",e[46]),512&t[1]&&w(d,"caticon0",e[40]),1024&t[1]&&w(d,"caticon1",e[41]),2048&t[1]&&w(d,"caticon2",e[42]),4096&t[1]&&w(d,"caticon3",e[43]),65536&t[1]&&w(d,"iconlabels",e[47]),262144&t[1]&&w(d,"enablecollections",e[49]),524288&t[1]&&w(d,"type",e[50]),1048576&t[1]&&w(d,"titletype",e[51]),"true"==e[22]?g?g.p(e,t):((g=fl(e)).c(),g.m(r,h)):g&&(g.d(1),g=null),268435456&t[1]&&w(m,"session",e[59]),4&t[0]&&w(m,"userid",e[2]),4194304&t[1]&&w(m,"endpoint",e[53]),8388608&t[1]&&w(m,"datasource",e[54]),16777216&t[1]&&w(m,"lang",e[55]),16&t[0]&&w(m,"clientstylingurl",e[4]),8&t[0]&&w(m,"clientstyling",e[3]),16&t[0]&&w(p,"clientstylingurl",e[4]),268435456&t[1]&&w(p,"session",e[59]),4&t[0]&&w(p,"userid",e[2]),4194304&t[1]&&w(p,"endpoint",e[53]),8388608&t[1]&&w(p,"datasource",e[54]),16777216&t[1]&&w(p,"lang",e[55]),8&t[0]&&w(p,"clientstyling",e[3])},d(e){e&&he(n),g&&g.d()}}}function gl(e){let n,r;return{c(){n=pe("p"),r=me(e[58]),P(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){ue(e,n,t),de(n,r)},p(e,t){134217728&t[1]&&ye(r,e[58])},d(e){e&&he(n)}}}function fl(e){let n,r;return{c(){n=pe("casino-modal"),w(r=pe("casino-game-page"),"session",e[59]),w(r,"userid",e[2]),w(r,"endpoint",e[53]),w(r,"datasource",e[54]),w(r,"lang",e[55]),w(r,"loginevent",e[8]),w(r,"registerevent",e[9]),w(r,"depositevent",e[10]),w(r,"checksession","false"),w(r,"playforfun",e[21]),w(r,"favorites",e[15]),w(r,"clientstyling",e[3]),w(r,"clientstylingurl",e[4]),w(r,"clockformat",e[5]),w(r,"haspanicbutton",e[18]),w(r,"currency",e[0]),w(r,"integratedgameframedesktop",e[25]),w(r,"integratedgameframemobile",e[26]),w(n,"session",e[59]),w(n,"userid",e[2]),w(n,"endpoint",e[53]),w(n,"datasource",e[54]),w(n,"lang",e[55]),w(n,"sessioncheck","false"),w(n,"clientstyling",e[3]),w(n,"clientstylingurl",e[4]),w(n,"gamepagemodalurl",e[27]),w(n,"haspanicbutton",e[18])},m(e,t){ue(e,n,t),de(n,r)},p(e,t){268435456&t[1]&&w(r,"session",e[59]),4&t[0]&&w(r,"userid",e[2]),4194304&t[1]&&w(r,"endpoint",e[53]),8388608&t[1]&&w(r,"datasource",e[54]),16777216&t[1]&&w(r,"lang",e[55]),256&t[0]&&w(r,"loginevent",e[8]),512&t[0]&&w(r,"registerevent",e[9]),1024&t[0]&&w(r,"depositevent",e[10]),2097152&t[0]&&w(r,"playforfun",e[21]),32768&t[0]&&w(r,"favorites",e[15]),8&t[0]&&w(r,"clientstyling",e[3]),16&t[0]&&w(r,"clientstylingurl",e[4]),32&t[0]&&w(r,"clockformat",e[5]),262144&t[0]&&w(r,"haspanicbutton",e[18]),1&t[0]&&w(r,"currency",e[0]),33554432&t[0]&&w(r,"integratedgameframedesktop",e[25]),67108864&t[0]&&w(r,"integratedgameframemobile",e[26]),268435456&t[1]&&w(n,"session",e[59]),4&t[0]&&w(n,"userid",e[2]),4194304&t[1]&&w(n,"endpoint",e[53]),8388608&t[1]&&w(n,"datasource",e[54]),16777216&t[1]&&w(n,"lang",e[55]),8&t[0]&&w(n,"clientstyling",e[3]),16&t[0]&&w(n,"clientstylingurl",e[4]),134217728&t[0]&&w(n,"gamepagemodalurl",e[27]),262144&t[0]&&w(n,"haspanicbutton",e[18])},d(e){e&&he(n)}}}function yl(n){let r,i,a;function o(e){return e[57]?gl:ml}let s=o(n),l=s(n);return{c(){r=pe("div"),l.c(),this.c=Z,fe(r,"class",i=n[56]?"DisplayNone":""),fe(r,"part",a=n[56]?"DisplayNone":"")},m(e,t){ue(e,r,t),l.m(r,null),n[73](r)},p(e,t){s===(s=o(e))&&l?l.p(e,t):(l.d(1),(l=s(e))&&(l.c(),l.m(r,null))),33554432&t[1]&&i!==(i=e[56]?"DisplayNone":"")&&fe(r,"class",i),33554432&t[1]&&a!==(a=e[56]?"DisplayNone":"")&&fe(r,"part",a)},i:Z,o:Z,d(e){e&&he(r),l.d(),n[73](null)}}}function bl(e,t,n){let r,i,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:d=""}=t,{userid:u=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:g=""}=t,{lobbyid:f=""}=t,{currency:y=""}=t,{filteredcategories:b=""}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:x=""}=t,{loginevent:C=""}=t,{registerevent:$=""}=t,{depositevent:S=""}=t,{mostplayed:F=""}=t,{mostplayedrounds:A=""}=t,{lastplayed:k="false"}=t,{lastplayedperiod:R="Last30Days"}=t,{favorites:M=""}=t,{desktopoffset:_="0"}=t,{mobileoffset:E="0"}=t,{alternativesearch:D="false"}=t,{containermaxwidth:H=""}=t,{haspanicbutton:N="false"}=t,{activecategory:T="LOBBY"}=t,{actionevent:O="CategoryChange"}=t,{livecasino:j="false"}=t,{playforfun:U="true"}=t,{gamemodal:W="true"}=t,{playrandomgame:z="false"}=t,{visiblegames:Y="10"}=t,{integratedgameframedesktop:V="false"}=t,{integratedgameframemobile:Z="false"}=t,{gamepagemodalurl:J="false"}=t,{enablecasinowinners:K=""}=t,{tabsorder:X=""}=t,{enableautoscroll:q=""}=t,{istopavailable:Q=""}=t,{isrecentavailable:ee=""}=t,{periodrecent:te=""}=t,{periodtop:ne=""}=t,{numberusersrecent:re=""}=t,{numberuserstop:ie=""}=t,{amountlimit:ae=""}=t,{defaultcurrency:oe=""}=t,{enablejackpotbanner:se=""}=t,{caticon0:le=""}=t,{caticon1:ce=""}=t,{caticon2:de=""}=t,{caticon3:ue=""}=t,{backgroundsrc:he=""}=t,{backgroundsrcmobile:pe=""}=t,{titlelogopath:me=""}=t,{iconlabels:ge=""}=t,{visualstructure:fe=""}=t,{showsubgroups:ye="false"}=t,{enablecollections:be=""}=t,{type:ve=""}=t,{titletype:we=""}=t,{randombuttonicon:xe=""}=t,L=!1,I=!1,G="Loading, please wait ...",P="",Ce=window.navigator.userAgent,B=0,$e=!1;var Se,Fe;({withLocale:Se,translations:Fe}={withLocale:"en",translations:{}}),ft.subscribe(e=>{null==e&&(_r.set(Fe),ft.set(Se))});const ke=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":($e=e.data.scrollTop)&&(B||n(60,B="PC"===bt(Ce)?parseInt(_):parseInt(E)),window.scrollTo({top:B}));break;case"UserSessionID":n(59,P=e.data.session),e.data.userID;break;case"CategoryChange":n(1,T=e.data.itemId)}};return wt(()=>(window.addEventListener("message",ke,!1),n(60,B="PC"===bt(Ce)?parseInt(_):parseInt(E)),()=>{window.removeEventListener("message",ke)})),e.$$set=e=>{"endpoint"in e&&n(62,s=e.endpoint),"datasource"in e&&n(63,l=e.datasource),"lang"in e&&n(64,c=e.lang),"session"in e&&n(65,d=e.session),"userid"in e&&n(2,u=e.userid),"opsession"in e&&n(66,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,g=e.clockformat),"lobbyid"in e&&n(6,f=e.lobbyid),"currency"in e&&n(0,y=e.currency),"filteredcategories"in e&&n(7,b=e.filteredcategories),"loginurl"in e&&n(67,v=e.loginurl),"registerurl"in e&&n(68,w=e.registerurl),"depositurl"in e&&n(69,x=e.depositurl),"loginevent"in e&&n(8,C=e.loginevent),"registerevent"in e&&n(9,$=e.registerevent),"depositevent"in e&&n(10,S=e.depositevent),"mostplayed"in e&&n(11,F=e.mostplayed),"mostplayedrounds"in e&&n(12,A=e.mostplayedrounds),"lastplayed"in e&&n(13,k=e.lastplayed),"lastplayedperiod"in e&&n(14,R=e.lastplayedperiod),"favorites"in e&&n(15,M=e.favorites),"desktopoffset"in e&&n(70,_=e.desktopoffset),"mobileoffset"in e&&n(71,E=e.mobileoffset),"alternativesearch"in e&&n(16,D=e.alternativesearch),"containermaxwidth"in e&&n(17,H=e.containermaxwidth),"haspanicbutton"in e&&n(18,N=e.haspanicbutton),"activecategory"in e&&n(1,T=e.activecategory),"actionevent"in e&&n(19,O=e.actionevent),"livecasino"in e&&n(20,j=e.livecasino),"playforfun"in e&&n(21,U=e.playforfun),"gamemodal"in e&&n(22,W=e.gamemodal),"playrandomgame"in e&&n(23,z=e.playrandomgame),"visiblegames"in e&&n(24,Y=e.visiblegames),"integratedgameframedesktop"in e&&n(25,V=e.integratedgameframedesktop),"integratedgameframemobile"in e&&n(26,Z=e.integratedgameframemobile),"gamepagemodalurl"in e&&n(27,J=e.gamepagemodalurl),"enablecasinowinners"in e&&n(28,K=e.enablecasinowinners),"tabsorder"in e&&n(29,X=e.tabsorder),"enableautoscroll"in e&&n(30,q=e.enableautoscroll),"istopavailable"in e&&n(31,Q=e.istopavailable),"isrecentavailable"in e&&n(32,ee=e.isrecentavailable),"periodrecent"in e&&n(33,te=e.periodrecent),"periodtop"in e&&n(34,ne=e.periodtop),"numberusersrecent"in e&&n(35,re=e.numberusersrecent),"numberuserstop"in e&&n(36,ie=e.numberuserstop),"amountlimit"in e&&n(37,ae=e.amountlimit),"defaultcurrency"in e&&n(38,oe=e.defaultcurrency),"enablejackpotbanner"in e&&n(39,se=e.enablejackpotbanner),"caticon0"in e&&n(40,le=e.caticon0),"caticon1"in e&&n(41,ce=e.caticon1),"caticon2"in e&&n(42,de=e.caticon2),"caticon3"in e&&n(43,ue=e.caticon3),"backgroundsrc"in e&&n(44,he=e.backgroundsrc),"backgroundsrcmobile"in e&&n(45,pe=e.backgroundsrcmobile),"titlelogopath"in e&&n(46,me=e.titlelogopath),"iconlabels"in e&&n(47,ge=e.iconlabels),"visualstructure"in e&&n(72,fe=e.visualstructure),"showsubgroups"in e&&n(48,ye=e.showsubgroups),"enablecollections"in e&&n(49,be=e.enablecollections),"type"in e&&n(50,ve=e.type),"titletype"in e&&n(51,we=e.titletype),"randombuttonicon"in e&&n(52,xe=e.randombuttonicon)},e.$$.update=()=>{if(4&e.$$.dirty[2]&&c&&Qr(c),4&e.$$.dirty[0]|9&e.$$.dirty[2]&&d&&u&&s&&qr(s,d).then(e=>{n(59,P=e.Guid),e.UserID,n(0,y=e.Currency)},e=>{console.error("Error while checking the session - ",e)}),43008&e.$$.dirty[0]|7&e.$$.dirty[2]&&s&&l&&c&&F&&k&&M&&(s||(n(58,G="Endpoint is missing! Please provide a valid endpointURL."),n(57,I=!0),console.error(G)),l||(n(58,G="Datasource is missing! Please provide a valid datasource."),n(57,I=!0),console.error(G)),(!c||c.length<2)&&(n(58,G="Language is missing! Please provide a valid language (alpha2code)"),n(57,I=!0),console.error(G)),Qr(c),n(53,r=s),n(54,i=l),n(55,a=c),n(57,I=!1)),16&e.$$.dirty[2]&&h&&n(59,P=h),8&e.$$.dirty[0]&&p){let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)}if(16&e.$$.dirty[0]&&m){n(56,L=!0);let e=new URL(m),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,o&&(setTimeout(()=>{o.appendChild(t)},1),setTimeout(()=>{n(56,L=!1)},500))})}},[y,T,u,p,m,g,f,b,C,$,S,F,A,k,R,M,D,H,N,O,j,U,W,z,Y,V,Z,J,K,X,q,Q,ee,te,ne,re,ie,ae,oe,se,le,ce,de,ue,he,pe,me,ge,ye,be,ve,we,xe,r,i,a,L,I,G,P,B,o,s,l,c,d,h,v,w,x,_,E,fe,function(e){gt[e?"unshift":"push"](()=>{o=e,n(61,o)})}]}customElements.get("casino-integrated-game-page")||customElements.define("casino-integrated-game-page",class extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-color-contrast, #07072A);height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #07072A);display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-color-green, #D0046C);color:var(--emfe-w-color-white, #FFFFFF);border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-color-primary, #D0046C);float:right}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-color-white, #FFFFFF)}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.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(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:#fff}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},pl,hl,t,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,loginurl:35,registerurl:36,depositurl:37,loginevent:38,registerevent:39,depositevent:40,clockformat:41,haspanicbutton:0,playforfun:42,checksession:43,gamebanneractive:1,gameid:44},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),f()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),f()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get loginurl(){return this.$$.ctx[35]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[36]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[37]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[38]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[39]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[40]}set depositevent(e){this.$$set({depositevent:e}),f()}get clockformat(){return this.$$.ctx[41]}set clockformat(e){this.$$set({clockformat:e}),f()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get playforfun(){return this.$$.ctx[42]}set playforfun(e){this.$$set({playforfun:e}),f()}get checksession(){return this.$$.ctx[43]}set checksession(e){this.$$set({checksession:e}),f()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),f()}get gameid(){return this.$$.ctx[44]}set gameid(e){this.$$set({gameid:e}),f()}});class vl extends i{constructor(e){super(),this.shadowRoot.innerHTML="<style>*{margin:0;padding:0;box-sizing:border-box}:host{font-family:system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'}.CasinoLobby{background-color:var(--emfe-w-color-contrast, #07072A);width:100%;margin:0 auto;min-height:100vh}.DisplayNone{display:none}.WidgetsSection{padding-bottom:40px}</style>",r(this,{target:this.shadowRoot,props:n(this.attributes),customElement:!0},bl,yl,t,{endpoint:62,datasource:63,lang:64,session:65,userid:2,opsession:66,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:0,filteredcategories:7,loginurl:67,registerurl:68,depositurl:69,loginevent:8,registerevent:9,depositevent:10,mostplayed:11,mostplayedrounds:12,lastplayed:13,lastplayedperiod:14,favorites:15,desktopoffset:70,mobileoffset:71,alternativesearch:16,containermaxwidth:17,haspanicbutton:18,activecategory:1,actionevent:19,livecasino:20,playforfun:21,gamemodal:22,playrandomgame:23,visiblegames:24,integratedgameframedesktop:25,integratedgameframemobile:26,gamepagemodalurl:27,enablecasinowinners:28,tabsorder:29,enableautoscroll:30,istopavailable:31,isrecentavailable:32,periodrecent:33,periodtop:34,numberusersrecent:35,numberuserstop:36,amountlimit:37,defaultcurrency:38,enablejackpotbanner:39,caticon0:40,caticon1:41,caticon2:42,caticon3:43,backgroundsrc:44,backgroundsrcmobile:45,titlelogopath:46,iconlabels:47,visualstructure:72,showsubgroups:48,enablecollections:49,type:50,titletype:51,randombuttonicon:52},null,[-1,-1,-1]),e&&(e.target&&ue(e.target,this,e.anchor),e.props&&(this.$set(e.props),f()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","filteredcategories","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","lastplayed","lastplayedperiod","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino","playforfun","gamemodal","playrandomgame","visiblegames","integratedgameframedesktop","integratedgameframemobile","gamepagemodalurl","enablecasinowinners","tabsorder","enableautoscroll","istopavailable","isrecentavailable","periodrecent","periodtop","numberusersrecent","numberuserstop","amountlimit","defaultcurrency","enablejackpotbanner","caticon0","caticon1","caticon2","caticon3","backgroundsrc","backgroundsrcmobile","titlelogopath","iconlabels","visualstructure","showsubgroups","enablecollections","type","titletype","randombuttonicon"]}get endpoint(){return this.$$.ctx[62]}set endpoint(e){this.$$set({endpoint:e}),f()}get datasource(){return this.$$.ctx[63]}set datasource(e){this.$$set({datasource:e}),f()}get lang(){return this.$$.ctx[64]}set lang(e){this.$$set({lang:e}),f()}get session(){return this.$$.ctx[65]}set session(e){this.$$set({session:e}),f()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),f()}get opsession(){return this.$$.ctx[66]}set opsession(e){this.$$set({opsession:e}),f()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),f()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),f()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),f()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),f()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),f()}get filteredcategories(){return this.$$.ctx[7]}set filteredcategories(e){this.$$set({filteredcategories:e}),f()}get loginurl(){return this.$$.ctx[67]}set loginurl(e){this.$$set({loginurl:e}),f()}get registerurl(){return this.$$.ctx[68]}set registerurl(e){this.$$set({registerurl:e}),f()}get depositurl(){return this.$$.ctx[69]}set depositurl(e){this.$$set({depositurl:e}),f()}get loginevent(){return this.$$.ctx[8]}set loginevent(e){this.$$set({loginevent:e}),f()}get registerevent(){return this.$$.ctx[9]}set registerevent(e){this.$$set({registerevent:e}),f()}get depositevent(){return this.$$.ctx[10]}set depositevent(e){this.$$set({depositevent:e}),f()}get mostplayed(){return this.$$.ctx[11]}set mostplayed(e){this.$$set({mostplayed:e}),f()}get mostplayedrounds(){return this.$$.ctx[12]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),f()}get lastplayed(){return this.$$.ctx[13]}set lastplayed(e){this.$$set({lastplayed:e}),f()}get lastplayedperiod(){return this.$$.ctx[14]}set lastplayedperiod(e){this.$$set({lastplayedperiod:e}),f()}get favorites(){return this.$$.ctx[15]}set favorites(e){this.$$set({favorites:e}),f()}get desktopoffset(){return this.$$.ctx[70]}set desktopoffset(e){this.$$set({desktopoffset:e}),f()}get mobileoffset(){return this.$$.ctx[71]}set mobileoffset(e){this.$$set({mobileoffset:e}),f()}get alternativesearch(){return this.$$.ctx[16]}set alternativesearch(e){this.$$set({alternativesearch:e}),f()}get containermaxwidth(){return this.$$.ctx[17]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),f()}get haspanicbutton(){return this.$$.ctx[18]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),f()}get activecategory(){return this.$$.ctx[1]}set activecategory(e){this.$$set({activecategory:e}),f()}get actionevent(){return this.$$.ctx[19]}set actionevent(e){this.$$set({actionevent:e}),f()}get livecasino(){return this.$$.ctx[20]}set livecasino(e){this.$$set({livecasino:e}),f()}get playforfun(){return this.$$.ctx[21]}set playforfun(e){this.$$set({playforfun:e}),f()}get gamemodal(){return this.$$.ctx[22]}set gamemodal(e){this.$$set({gamemodal:e}),f()}get playrandomgame(){return this.$$.ctx[23]}set playrandomgame(e){this.$$set({playrandomgame:e}),f()}get visiblegames(){return this.$$.ctx[24]}set visiblegames(e){this.$$set({visiblegames:e}),f()}get integratedgameframedesktop(){return this.$$.ctx[25]}set integratedgameframedesktop(e){this.$$set({integratedgameframedesktop:e}),f()}get integratedgameframemobile(){return this.$$.ctx[26]}set integratedgameframemobile(e){this.$$set({integratedgameframemobile:e}),f()}get gamepagemodalurl(){return this.$$.ctx[27]}set gamepagemodalurl(e){this.$$set({gamepagemodalurl:e}),f()}get enablecasinowinners(){return this.$$.ctx[28]}set enablecasinowinners(e){this.$$set({enablecasinowinners:e}),f()}get tabsorder(){return this.$$.ctx[29]}set tabsorder(e){this.$$set({tabsorder:e}),f()}get enableautoscroll(){return this.$$.ctx[30]}set enableautoscroll(e){this.$$set({enableautoscroll:e}),f()}get istopavailable(){return this.$$.ctx[31]}set istopavailable(e){this.$$set({istopavailable:e}),f()}get isrecentavailable(){return this.$$.ctx[32]}set isrecentavailable(e){this.$$set({isrecentavailable:e}),f()}get periodrecent(){return this.$$.ctx[33]}set periodrecent(e){this.$$set({periodrecent:e}),f()}get periodtop(){return this.$$.ctx[34]}set periodtop(e){this.$$set({periodtop:e}),f()}get numberusersrecent(){return this.$$.ctx[35]}set numberusersrecent(e){this.$$set({numberusersrecent:e}),f()}get numberuserstop(){return this.$$.ctx[36]}set numberuserstop(e){this.$$set({numberuserstop:e}),f()}get amountlimit(){return this.$$.ctx[37]}set amountlimit(e){this.$$set({amountlimit:e}),f()}get defaultcurrency(){return this.$$.ctx[38]}set defaultcurrency(e){this.$$set({defaultcurrency:e}),f()}get enablejackpotbanner(){return this.$$.ctx[39]}set enablejackpotbanner(e){this.$$set({enablejackpotbanner:e}),f()}get caticon0(){return this.$$.ctx[40]}set caticon0(e){this.$$set({caticon0:e}),f()}get caticon1(){return this.$$.ctx[41]}set caticon1(e){this.$$set({caticon1:e}),f()}get caticon2(){return this.$$.ctx[42]}set caticon2(e){this.$$set({caticon2:e}),f()}get caticon3(){return this.$$.ctx[43]}set caticon3(e){this.$$set({caticon3:e}),f()}get backgroundsrc(){return this.$$.ctx[44]}set backgroundsrc(e){this.$$set({backgroundsrc:e}),f()}get backgroundsrcmobile(){return this.$$.ctx[45]}set backgroundsrcmobile(e){this.$$set({backgroundsrcmobile:e}),f()}get titlelogopath(){return this.$$.ctx[46]}set titlelogopath(e){this.$$set({titlelogopath:e}),f()}get iconlabels(){return this.$$.ctx[47]}set iconlabels(e){this.$$set({iconlabels:e}),f()}get visualstructure(){return this.$$.ctx[72]}set visualstructure(e){this.$$set({visualstructure:e}),f()}get showsubgroups(){return this.$$.ctx[48]}set showsubgroups(e){this.$$set({showsubgroups:e}),f()}get enablecollections(){return this.$$.ctx[49]}set enablecollections(e){this.$$set({enablecollections:e}),f()}get type(){return this.$$.ctx[50]}set type(e){this.$$set({type:e}),f()}get titletype(){return this.$$.ctx[51]}set titletype(e){this.$$set({titletype:e}),f()}get randombuttonicon(){return this.$$.ctx[52]}set randombuttonicon(e){this.$$set({randombuttonicon:e}),f()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",vl),vl});
|
|
33
33
|
//# sourceMappingURL=casino-lobby.js.map
|