@everymatrix/casino-lobby 0.0.246 → 0.0.247

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.
@@ -29,5 +29,5 @@
29
29
  <span id=${t} class="${e}">
30
30
  ${n}
31
31
  </span>
32
- `},$,E,T,L,I,B,U,Y,z,W,V,Z,X,se,le,function(e){Te[e?"unshift":"push"](()=>{i=e,o(16,i)})},()=>de(G),()=>ue(G),()=>de(G),function(e){Te[e?"unshift":"push"](()=>{F=e,o(11,F)})},function(e){Te[e?"unshift":"push"](()=>{r=e,o(17,r)})}]}function Br(e,t,n){const i=e.slice();return i[75]=t[n],i[77]=n,i}function Ur(e,t,n){const i=e.slice();return i[75]=t[n],i[78]=t,i[77]=n,i}function Hr(e,t,n){const i=e.slice();return i[75]=t[n],i[77]=n,i}function Yr(e){let n;function i(e){return e[11]?Vr:e[21]?Wr:void 0}let r=i(e),a=r&&r(e);return{c(){n=X("div"),a&&a.c()},m(e,t){V(e,n,t),a&&a.m(n,null)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),a=r&&r(e),a&&(a.c(),a.m(n,null)))},d(e){e&&Z(n),a&&a.d()}}}function jr(e){let n,i,r;function a(e){return e[15]?da:e[12].length?ca:ua}let o=a(e),s=o(e);function l(e){return e[12]?pa:ha}let c=l(e),u=c(e);return{c(){n=X("div"),i=X("div"),s.c(),r=K(),u.c(),Q(i,"class","CasinoGamesHeader Searched "+(Yi(e[26])?"CasinoGamesHeaderMobile":"")),Q(n,"class","CasinoGamesContainer")},m(e,t){V(e,n,t),W(n,i),s.m(i,null),W(n,r),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(i,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),u=c(e),u&&(u.c(),u.m(n,null)))},d(e){e&&Z(n),s.d(),u.d()}}}function zr(e){let n;function i(e){return e[17]?ya:ga}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r!==(r=i(e))&&(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Z(n)}}}function Wr(n){let i,r,a,o,s,l,c,u=n[24].name+"";function d(e){return e[24]?Xr:Zr}let h=d(n),p=h(n);return{c(){i=X("div"),r=X("div"),a=X("h3"),o=J(u),s=K(),l=X("ul"),p.c(),Q(a,"class","CategoryName"),Q(r,"class","CasinoGamesHeader"),Q(l,"class",c=(0!=n[24].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),Q(i,"class","CasinoGamesContainer")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(a,o),n[43](a),W(i,s),W(i,l),p.m(l,null),n[44](l)},p(e,t){16777216&t[0]&&u!==(u=e[24].name+"")&&ee(o,u),h===(h=d(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(l,null))),16777216&t[0]&&c!==(c=(0!=e[24].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&Q(l,"class",c)},d(e){e&&Z(i),n[43](null),p.d(),n[44](null)}}}function Vr(n){let i,r,a,o,s,l,c=n[11].name+"",u=n[13]&&aa(n);function d(e){return 0!==e[12].length?sa:oa}let h=d(n),p=h(n);return{c(){i=X("div"),r=X("div"),a=X("h3"),o=J(c),s=K(),u&&u.c(),l=K(),p.c(),Q(a,"class","CategoryName"),Q(r,"class","CasinoGamesHeader"),Q(i,"class","CasinoGamesContainer")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(a,o),n[39](a),W(r,s),u&&u.m(r,null),W(i,l),p.m(i,null)},p(e,t){2048&t[0]&&c!==(c=e[11].name+"")&&ee(o,c),e[13]?u?u.p(e,t):(u=aa(e),u.c(),u.m(r,null)):u&&(u.d(1),u=null),h===(h=d(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(i,null)))},d(e){e&&Z(i),n[39](null),u&&u.d(),p.d()}}}function Zr(e){let n;return{c(){n=X("p"),n.textContent="Waiting"},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function Xr(t){let i,r=t[24].items,a=[];for(let e=0;e<r.length;e+=1)a[e]=ra(Br(t,r,e));let o=null;return r.length||(o=Jr(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();i=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);V(t,i,n),o&&o.m(t,n)},p(t,n){if(85983743&n[0]){let e;for(r=t[24].items,e=0;e<r.length;e+=1){const o=Br(t,r,e);a[e]?a[e].p(o,n):(a[e]=ra(o),a[e].c(),a[e].m(i.parentNode,i))}for(;e<a.length;e+=1)a[e].d(1);a.length=r.length,!r.length&&o?o.p(t,n):r.length?o&&(o.d(1),o=null):(o=Jr(t),o.c(),o.m(i.parentNode,i))}},d(e){m(a,e),e&&Z(i),o&&o.d(e)}}}function Jr(e){let n,i,r,a,o,s,l,t=(u=e,Yi(u[26])?qr:Kr),c=t(e);var u;return{c(){n=X("p"),i=S("svg"),r=S("path"),a=K(),o=X("span"),o.textContent="You do not have any favored games yet.",s=K(),c.c(),l=K(),k(r,"fill","white"),Q(r,"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"),Q(i,"version","1.1"),Q(i,"class","UnfavoredIcon"),Q(i,"xmlns","http://www.w3.org/2000/svg"),Q(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),Q(i,"x","50px"),Q(i,"y","50px"),Q(i,"viewBox","0 0 512.001 512.001"),k(i,"enable-background","new 0 0 512.001 512.001"),Q(i,"xml:space","preserve"),Q(o,"class","NoFavoriteText NoFavoriteTextHighlight"),Q(n,"class","NoFavoriteGames "+(Yi(e[26])?"NoFavoriteGamesMobile":""))},m(e,t){V(e,n,t),W(n,i),W(i,r),W(n,a),W(n,o),W(n,s),c.m(n,null),W(n,l)},p:Y,d(e){e&&Z(n),c.d()}}}function Kr(e){let n;return{c(){n=X("span"),n.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",Q(n,"class","NoFavoriteText")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function qr(e){let n;return{c(){n=X("span"),n.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",Q(n,"class","NoFavoriteText")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function Qr(e){let n,i=e[75].gameModel.isFavorite&&ea(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){e[75].gameModel.isFavorite?i?i.p(e,t):(i=ea(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Z(n)}}}function ea(e){let n,i=function(e){let n,i,r;function a(e,t){return 16777216&t[0]&&(i=null),null==n&&(n=!!Yi(e[26])),n?na:(null==i&&(i=!!e[75].gameModel.platform.includes("PC")),i?ta:void 0)}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),r=c()},m(e,t){s&&s.m(e,t),V(e,r,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){s&&s.d(e),e&&Z(r)}}}(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){i.p(e,t)},d(e){i&&i.d(e),e&&Z(n)}}}function ta(e){let n,i,r,a,o,s,l,c,u,d,h,p;return{c(){n=X("casino-game-thumbnail"),C(n,"class",i=""+(wa+(e[75].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"currency",e[7]),C(n,"favorites",e[4]),C(n,"gamethumbnail",r=e[75].gameModel.thumbnail),C(n,"gamename",a=e[75].gameModel.name),C(n,"gamevendor",o=e[75].gameModel.vendor.name),C(n,"gameisnew",s=e[75].gameModel.isNew),C(n,"gamepopularity",l=e[75].gameModel.popularity),C(n,"gamecellsize",c=e[75].gameModel.cellSize),C(n,"gameid",u=e[75].gameModel.id),C(n,"gamefunmode",d=e[75].gameModel.hasFunMode),C(n,"gamefavorite",h=e[75].gameModel.isFavorite),C(n,"showfavoredcategory",e[21]),C(n,"livelobbyendpoint",p=e[75].gameModel.details?e[75].gameModel.href:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8])},m(e,t){V(e,n,t)},p(e,t){16777216&t[0]&&i!==(i=""+(wa+(e[75].cellSize||"1x1")))&&C(n,"class",i),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),128&t[0]&&C(n,"currency",e[7]),16&t[0]&&C(n,"favorites",e[4]),16777216&t[0]&&r!==(r=e[75].gameModel.thumbnail)&&C(n,"gamethumbnail",r),16777216&t[0]&&a!==(a=e[75].gameModel.name)&&C(n,"gamename",a),16777216&t[0]&&o!==(o=e[75].gameModel.vendor.name)&&C(n,"gamevendor",o),16777216&t[0]&&s!==(s=e[75].gameModel.isNew)&&C(n,"gameisnew",s),16777216&t[0]&&l!==(l=e[75].gameModel.popularity)&&C(n,"gamepopularity",l),16777216&t[0]&&c!==(c=e[75].gameModel.cellSize)&&C(n,"gamecellsize",c),16777216&t[0]&&u!==(u=e[75].gameModel.id)&&C(n,"gameid",u),16777216&t[0]&&d!==(d=e[75].gameModel.hasFunMode)&&C(n,"gamefunmode",d),16777216&t[0]&&h!==(h=e[75].gameModel.isFavorite)&&C(n,"gamefavorite",h),2097152&t[0]&&C(n,"showfavoredcategory",e[21]),16777216&t[0]&&p!==(p=e[75].gameModel.details?e[75].gameModel.href:"")&&C(n,"livelobbyendpoint",p),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8])},d(e){e&&Z(n)}}}function na(e){let n,i=e[75].gameModel.platform.includes("iPad")||e[75].gameModel.platform.includes("iPhone")||e[75].gameModel.platform.includes("Android"),r=i&&ia(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),V(e,n,t)},p(e,t){16777216&t[0]&&(i=e[75].gameModel.platform.includes("iPad")||e[75].gameModel.platform.includes("iPhone")||e[75].gameModel.platform.includes("Android")),i?r?r.p(e,t):(r=ia(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Z(n)}}}function ia(e){let n,i,r,a,o,s,l,c,u,d,h,p;return{c(){n=X("casino-game-thumbnail"),C(n,"class",i=""+(wa+(e[75].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"currency",e[7]),C(n,"favorites",e[4]),C(n,"gamethumbnail",r=e[75].gameModel.thumbnail),C(n,"gamename",a=e[75].gameModel.name),C(n,"gamevendor",o=e[75].gameModel.vendor.name),C(n,"gameisnew",s=e[75].gameModel.isNew),C(n,"gamepopularity",l=e[75].gameModel.popularity),C(n,"gamecellsize",c=e[75].gameModel.cellSize),C(n,"gameid",u=e[75].gameModel.id),C(n,"gamefunmode",d=e[75].gameModel.hasFunMode),C(n,"gamefavorite",h=e[75].gameModel.isFavorite),C(n,"showfavoredcategory",e[21]),C(n,"livelobbyendpoint",p=e[75].gameModel.details?e[75].gameModel.href:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8])},m(e,t){V(e,n,t)},p(e,t){16777216&t[0]&&i!==(i=""+(wa+(e[75].cellSize||"1x1")))&&C(n,"class",i),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),128&t[0]&&C(n,"currency",e[7]),16&t[0]&&C(n,"favorites",e[4]),16777216&t[0]&&r!==(r=e[75].gameModel.thumbnail)&&C(n,"gamethumbnail",r),16777216&t[0]&&a!==(a=e[75].gameModel.name)&&C(n,"gamename",a),16777216&t[0]&&o!==(o=e[75].gameModel.vendor.name)&&C(n,"gamevendor",o),16777216&t[0]&&s!==(s=e[75].gameModel.isNew)&&C(n,"gameisnew",s),16777216&t[0]&&l!==(l=e[75].gameModel.popularity)&&C(n,"gamepopularity",l),16777216&t[0]&&c!==(c=e[75].gameModel.cellSize)&&C(n,"gamecellsize",c),16777216&t[0]&&u!==(u=e[75].gameModel.id)&&C(n,"gameid",u),16777216&t[0]&&d!==(d=e[75].gameModel.hasFunMode)&&C(n,"gamefunmode",d),16777216&t[0]&&h!==(h=e[75].gameModel.isFavorite)&&C(n,"gamefavorite",h),2097152&t[0]&&C(n,"showfavoredcategory",e[21]),16777216&t[0]&&p!==(p=e[75].gameModel.details?e[75].gameModel.href:"")&&C(n,"livelobbyendpoint",p),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8])},d(e){e&&Z(n)}}}function ra(e){let n,i=e[75].gameModel&&Qr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){e[75].gameModel?i?i.p(e,t):(i=Qr(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Z(n)}}}function aa(n){let i,r,a,o,s,l,c,u,d=n[25]("gamesCategorySection.viewAll")+"",h=n[11].games.total+"";return{c(){i=X("a"),r=X("span"),a=J(d),o=J(" ("),s=J(h),l=J(")"),Q(r,"class","CategoryLoadMore"),Q(i,"class","CategoryNameLink")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(r,o),W(r,s),W(r,l),c||(u=q(i,"click",n[40]),c=!0)},p(e,t){33554432&t[0]&&d!==(d=e[25]("gamesCategorySection.viewAll")+"")&&ee(a,d),2048&t[0]&&h!==(h=e[11].games.total+"")&&ee(s,h)},d(e){e&&Z(i),c=!1,u()}}}function oa(e){let n;return{c(){n=X("p"),n.textContent="You don't have any games in this category.",Q(n,"class","NoSearchResults")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function sa(n){let r,e,a=n[12],o=[];for(let e=0;e<a.length;e+=1)o[e]=la(Ur(n,a,e));return{c(){r=X("ul");for(let e=0;e<o.length;e+=1)o[e].c();Q(r,"class",e=(0===n[24].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){V(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[42](r)},p(t,n){if(142611455&n[0]){let e;for(a=t[12],e=0;e<a.length;e+=1){var i=Ur(t,a,e);o[e]?o[e].p(i,n):(o[e]=la(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}18874368&n[0]&&e!==(e=(0===t[24].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&Q(r,"class",e)},d(e){e&&Z(r),m(o,e),n[42](null)}}}function la(e){let n,i=function(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g=n[77];const y=()=>n[41](i,g),v=()=>n[41](null,g);return{c(){i=X("casino-game-thumbnail"),C(i,"session",n[2]),C(i,"userid",n[3]),C(i,"lang",n[1]),C(i,"currency",n[7]),C(i,"class",r=""+(wa+(n[75].cellSize||"1x1"))),C(i,"favorites",n[4]),C(i,"gamethumbnail",a=n[75].thumbnail),C(i,"gamename",o=n[75].name),C(i,"gamevendor",s=n[75].vendor.name),C(i,"gameisnew",l=n[75].isNew),C(i,"gamepopularity",c=n[75].popularity),C(i,"gamecellsize",u=n[75].cellSize),C(i,"gameid",d=n[75].id),C(i,"gamefunmode",h=n[75].hasFunMode),C(i,"gamefavorite",p=n[75].isFavorite),C(i,"connectlive",m=1==n[27][n[75].id]?"connect":"disconnect"),C(i,"visibilityconnect",n[23]),C(i,"livelobbyendpoint",f=n[75].details?n[75].href:""),C(i,"clientstyling",n[5]),C(i,"clientstylingurl",n[6]),C(i,"endpoint",n[0]),C(i,"livecasino",n[8])},m(e,t){V(e,i,t),y()},p(e,t){n=e,4&t[0]&&C(i,"session",n[2]),8&t[0]&&C(i,"userid",n[3]),2&t[0]&&C(i,"lang",n[1]),128&t[0]&&C(i,"currency",n[7]),4096&t[0]&&r!==(r=""+(wa+(n[75].cellSize||"1x1")))&&C(i,"class",r),16&t[0]&&C(i,"favorites",n[4]),4096&t[0]&&a!==(a=n[75].thumbnail)&&C(i,"gamethumbnail",a),4096&t[0]&&o!==(o=n[75].name)&&C(i,"gamename",o),4096&t[0]&&s!==(s=n[75].vendor.name)&&C(i,"gamevendor",s),4096&t[0]&&l!==(l=n[75].isNew)&&C(i,"gameisnew",l),4096&t[0]&&c!==(c=n[75].popularity)&&C(i,"gamepopularity",c),4096&t[0]&&u!==(u=n[75].cellSize)&&C(i,"gamecellsize",u),4096&t[0]&&d!==(d=n[75].id)&&C(i,"gameid",d),4096&t[0]&&h!==(h=n[75].hasFunMode)&&C(i,"gamefunmode",h),4096&t[0]&&p!==(p=n[75].isFavorite)&&C(i,"gamefavorite",p),4096&t[0]&&m!==(m=1==n[27][n[75].id]?"connect":"disconnect")&&C(i,"connectlive",m),8388608&t[0]&&C(i,"visibilityconnect",n[23]),4096&t[0]&&f!==(f=n[75].details?n[75].href:"")&&C(i,"livelobbyendpoint",f),32&t[0]&&C(i,"clientstyling",n[5]),64&t[0]&&C(i,"clientstylingurl",n[6]),1&t[0]&&C(i,"endpoint",n[0]),256&t[0]&&C(i,"livecasino",n[8]),g!==n[77]&&(v(),g=n[77],y())},d(e){e&&Z(i),v()}}}(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){i.p(e,t)},d(e){i&&i.d(e),e&&Z(n)}}}function ca(e){let n,i,r=e[25]("gamesCategorySection.searchedItems")+"";return{c(){n=X("h3"),i=J(r),Q(n,"class","StatusText")},m(e,t){V(e,n,t),W(n,i)},p(e,t){33554432&t[0]&&r!==(r=e[25]("gamesCategorySection.searchedItems")+"")&&ee(i,r)},d(e){e&&Z(n)}}}function ua(e){let n,i,r=e[25]("gamesCategorySection.noResults")+"";return{c(){n=X("h3"),i=J(r),Q(n,"class","StatusText")},m(e,t){V(e,n,t),W(n,i)},p(e,t){33554432&t[0]&&r!==(r=e[25]("gamesCategorySection.noResults")+"")&&ee(i,r)},d(e){e&&Z(n)}}}function da(e){let n,i,r=e[25]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=X("h3"),i=J(r),Q(n,"class","StatusText")},m(e,t){V(e,n,t),W(n,i)},p(e,t){33554432&t[0]&&r!==(r=e[25]("gamesCategorySection.recentSearchedItems")+"")&&ee(i,r)},d(e){e&&Z(n)}}}function ha(e){let n;return{c(){n=X("p"),n.textContent="Waiting",Q(n,"class","SearchWaiting")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function pa(t){let i,r,a=!t[18]&&ma(t),o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=fa(Hr(t,o,e));return{c(){a&&a.c(),i=K(),r=X("ul");for(let e=0;e<s.length;e+=1)s[e].c();Q(r,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),V(e,i,t),V(e,r,t);for(let e=0;e<s.length;e+=1)s[e].m(r,null)},p(t,n){if(t[18]?a&&(a.d(1),a=null):a?a.p(t,n):(a=ma(t),a.c(),a.m(i.parentNode,i)),70143&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){const a=Hr(t,o,e);s[e]?s[e].p(a,n):(s[e]=fa(a),s[e].c(),s[e].m(r,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&Z(i),e&&Z(r),m(s,e)}}}function ma(e){let n,i,t,r=e[25]("gamesCategorySection.noRecentSearch")+"";return{c(){n=X("p"),i=J(r),Q(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Yi(e[26])?"NoRecentSearchesMobile":""))},m(e,t){V(e,n,t),W(n,i)},p(e,t){33554432&t[0]&&r!==(r=e[25]("gamesCategorySection.noRecentSearch")+"")&&ee(i,r)},d(e){e&&Z(n)}}}function fa(e){let n,i,r,a,o,s,l,c,u,d,h,p;return{c(){n=X("casino-game-thumbnail"),C(n,"class",i=""+(wa+(e[75].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"currency",e[7]),C(n,"searchitem",e[16]),C(n,"favorites",e[4]),C(n,"gamethumbnail",r=e[75].thumbnail),C(n,"gamename",a=e[75].name),C(n,"gamevendor",o=e[75].vendor.name),C(n,"gameisnew",s=e[75].isNew),C(n,"gamepopularity",l=e[75].popularity),C(n,"gamecellsize",c=e[75].cellSize),C(n,"gameid",u=e[75].id),C(n,"gamefunmode",d=e[75].hasFunMode),C(n,"gamefavorite",h=e[75].isFavorite),C(n,"livelobbyendpoint",p=e[75].details?e[75].href:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8])},m(e,t){V(e,n,t)},p(e,t){4096&t[0]&&i!==(i=""+(wa+(e[75].cellSize||"1x1")))&&C(n,"class",i),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),128&t[0]&&C(n,"currency",e[7]),65536&t[0]&&C(n,"searchitem",e[16]),16&t[0]&&C(n,"favorites",e[4]),4096&t[0]&&r!==(r=e[75].thumbnail)&&C(n,"gamethumbnail",r),4096&t[0]&&a!==(a=e[75].name)&&C(n,"gamename",a),4096&t[0]&&o!==(o=e[75].vendor.name)&&C(n,"gamevendor",o),4096&t[0]&&s!==(s=e[75].isNew)&&C(n,"gameisnew",s),4096&t[0]&&l!==(l=e[75].popularity)&&C(n,"gamepopularity",l),4096&t[0]&&c!==(c=e[75].cellSize)&&C(n,"gamecellsize",c),4096&t[0]&&u!==(u=e[75].id)&&C(n,"gameid",u),4096&t[0]&&d!==(d=e[75].hasFunMode)&&C(n,"gamefunmode",d),4096&t[0]&&h!==(h=e[75].isFavorite)&&C(n,"gamefavorite",h),4096&t[0]&&p!==(p=e[75].details?e[75].href:"")&&C(n,"livelobbyendpoint",p),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8])},d(e){e&&Z(n)}}}function ga(e){let n;return{c(){n=X("p"),n.textContent="500 Error - Internal Server Error.",Q(n,"class","SearchLoading")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function ya(e){let n;return{c(){n=X("p"),n.textContent="404 Error - No result found.",Q(n,"class","SearchLoading")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function va(n){let i;function r(e){return e[10]?zr:e[14]?jr:Yr}let a=r(n),o=a(n);return{c(){i=X("div"),o.c(),this.c=Y,Q(i,"class","CasinoGamesCategorySectionContainer")},m(e,t){V(e,i,t),o.m(i,null),n[45](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(i,null)))},i:Y,o:Y,d(e){e&&Z(i),o.d(),n[45](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends de{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:cover;transition:all 150ms ease-in-out}.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:9.6px;text-align:center;font-size:17.6px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6.4px;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:4.8px;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:14.4px;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:11.2px;padding:3.2px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:4.8px}.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 .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;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.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:1.6px;margin:0 1px;margin-right:6.4px;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:4.8px;padding:1.6px}}.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 20px 5px 20px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Nr,Ar,t,{session:45,userid:46,lang:47,clientstyling:48,clientstylingurl:49,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:50,searchitem:51,gamefavorite:0,showfavoredcategory:52,showgamename:8,endpoint:53,livelobbyendpoint:54,currency:55,connectlive:56,visibilityconnect:57,MONEY_WHEEL_COLOR_MAP:58,ROULETTE_COLOR_MAP:59},null,[-1,-1,-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","endpoint","livelobbyendpoint","currency","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[45]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[46]}set userid(e){this.$$set({userid:e}),U()}get lang(){return this.$$.ctx[47]}set lang(e){this.$$set({lang:e}),U()}get clientstyling(){return this.$$.ctx[48]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[49]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),U()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),U()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),U()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),U()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),U()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),U()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),U()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$$set({gamefunmode:e}),U()}get searchitem(){return this.$$.ctx[51]}set searchitem(e){this.$$set({searchitem:e}),U()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),U()}get showfavoredcategory(){return this.$$.ctx[52]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),U()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$$set({showgamename:e}),U()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),U()}get livelobbyendpoint(){return this.$$.ctx[54]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),U()}get currency(){return this.$$.ctx[55]}set currency(e){this.$$set({currency:e}),U()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),U()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),U()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[58]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[59]}});const wa="game-tile-";function ba(e,t,s){let n;$e(e,Hi,e=>s(25,n=e));let r,a,o,i,l,c,u,d,h,{endpoint:p=""}=t,{datasource:m=""}=t,{lang:f=""}=t,{session:g=""}=t,{userid:y=""}=t,{favorites:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:b=""}=t,{currency:x="EUR"}=t,{categoryid:S=""}=t,{categoryindex:C=0}=t,{categorygames:_=0}=t,{livecasino:F="false"}=t,{once:M=!0}=t,{top:k=0}=t,{bottom:$=0}=t,{left:E=0}=t,{right:T=0}=t,L=!1,I=!0,P=window.navigator.userAgent,A=[],D=!0,R=40,G=!1,O=!1,N=!1,B=!1,U=!0,H=!1,Y=!1,j=!1,z=new Array(1e4),W={items:[],count:0,name:""};Object.keys(lr).forEach(e=>{Si(e,lr[e])});let V=new IntersectionObserver((e,t)=>{e.forEach(async e=>{var t=e.target.elems_index;e.isIntersecting&&1.2*t>R&&J(S)})});const Z=(e,i,r,t=0)=>{let a=new URL(`${p}/casino/groups/${m}/`+S),o=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",ji(P)),a.searchParams.append("pagination",`games(offset=${i},limit=${r})`),a.searchParams.append("language",f),window.postMessage({type:"CategoryVendors",categoryid:S},window.location.href),o&&o[S])if(o[S].length&&!1===I&&!1===H){let t="";s(17,B=!0),o[S].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(17,B=!1);fetch(a).then(e=>e.json()).then(e=>{s(38,h=!0),s(10,L=!1),l=e.games.total,t(e)},e=>{s(10,L=!0),console.error(e),n(e)})})},X=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(14,G=!1),I=!1,s(13,D=!1),Y=!0,s(12,A=t.data.mostPlayedGames),s(11,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(14,G=!0),Y=!1,s(15,O=!0),0<t.data.searchData.length?(s(12,A=t.data.searchData),s(18,U=!0),A&&A.forEach(e=>{e.isFavorite=K(e.id)})):(s(12,A=[]),s(18,U=!1));break;case"OutOfRecentSearches":s(14,G=!1),s(15,O=!1);break;case"SearchData":s(14,G=!0),Y=!1,s(15,O=!1),s(12,A=t.data.searchData.items||[]),s(16,N=!0),t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items),A&&A.forEach(e=>{e.isFavorite=K(e.id)});break;case"CategoryData_"+S:s(14,G=!1),I=!0,s(13,D=!0),s(16,N=!1),Y=!1,j=!1,t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items),Z(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(11,o=e),s(12,A=o.games.items),A&&A.forEach(e=>{e.isFavorite=K(e.id)})});break;case"CategoryChange":R=20;break;case"CategoryUpdate":s(14,G=!1),I=!1,s(16,N=!1),Y=!1,s(13,D=!1),j=!0,s(29,S=t.data.itemId),Z(0,0,R).then(e=>{s(11,o=e),o.games.items.forEach(e=>{e.isFavorite=K(e.id)}),s(12,A=o.games.items),s(13,D=!1)});break;case"FavoriteUpdate":s(14,G=!1),Y=!1,I=!0,s(12,A=o.games.items),A.forEach(e=>{e.isFavorite=K(e.id)}),s(13,D=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items,t.data.triggerFactor&&!H?window.postMessage({type:"FavoriteUpdate"},window.location.href):I||Y||window.postMessage({type:"CategoryUpdate",itemId:S},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&(e=t.data.receivedFavoriteResults.items,e.length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(24,W.items=(n=e,W.items,i=window.navigator.userAgent,Yi(i)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),W),s(24,W.name="Favorites",W),s(21,H=!0));break;case"UserSessionID":r=t.data.session,a=t.data.userID,"true"==v&&a&&a.length&&r&&0<r.length&&(e=>{let i={method:"GET",headers:{"X-SessionID":r}};new Promise((t,n)=>{fetch(e,i).then(e=>e.json()).then(e=>{u=e?e.items:[],A.forEach(e=>{e.isFavorite=K(e.id)});e=A;s(12,A=void 0),s(12,A=e),t(u)}).catch(e=>{console.error(e),n(e)})})})(`${p}/player/${a}/favorites/`)}var n,i},J=e=>{R+=1,R<=l&&Z(0,0,R).then(e=>{s(11,o=e),s(12,A=o.games.items),A.forEach(e=>{e.isFavorite=K(e.id)})})},K=t=>!!u&&-1!==u.findIndex(e=>e.id==t),q=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return Ee(()=>(window.addEventListener("message",X,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",X)})),e.$$set=e=>{"endpoint"in e&&s(0,p=e.endpoint),"datasource"in e&&s(30,m=e.datasource),"lang"in e&&s(1,f=e.lang),"session"in e&&s(2,g=e.session),"userid"in e&&s(3,y=e.userid),"favorites"in e&&s(4,v=e.favorites),"clientstyling"in e&&s(5,w=e.clientstyling),"clientstylingurl"in e&&s(6,b=e.clientstylingurl),"currency"in e&&s(7,x=e.currency),"categoryid"in e&&s(29,S=e.categoryid),"categoryindex"in e&&s(31,C=e.categoryindex),"categorygames"in e&&s(32,_=e.categorygames),"livecasino"in e&&s(8,F=e.livecasino),"once"in e&&s(33,M=e.once),"top"in e&&s(34,k=e.top),"bottom"in e&&s(35,$=e.bottom),"left"in e&&s(36,E=e.left),"right"in e&&s(37,T=e.right)},e.$$.update=()=>{512&e.$$.dirty[0]|128&e.$$.dirty[1]&&h&&z&&j&&z.forEach((e,t)=>{e&&(e.elems_index=t,V.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&w&&(()=>{let e=document.createElement("style");e.innerHTML=w,setTimeout(()=>{d.appendChild(e)})})(),64&e.$$.dirty[0]&&b&&(()=>{let t=document.createElement("style");fetch(new URL(b)).then(e=>e.text()).then(e=>{t.innerHTML=e,d&&setTimeout(()=>{d.appendChild(t)},1)})})()},[p,f,g,y,v,w,b,x,F,z,L,o,A,D,G,O,N,B,U,i,c,H,d,"",W,n,P,{},q,S,m,C,_,M,k,$,E,T,h,function(e){Te[e?"unshift":"push"](()=>{c=e,s(20,c)})},e=>q(o.id,o),function(e,t){Te[e?"unshift":"push"](()=>{z[t]=e,s(9,z)})},function(e){Te[e?"unshift":"push"](()=>{i=e,s(19,i)})},function(e){Te[e?"unshift":"push"](()=>{c=e,s(20,c)})},function(e){Te[e?"unshift":"push"](()=>{i=e,s(19,i)})},function(e){Te[e?"unshift":"push"](()=>{d=e,s(22,d)})}]}function xa(e,t,n){const i=e.slice();return i[117]=t[n],i[119]=n,i}function Sa(n){let i,r,a,o,s="PC"!==ji(n[38])&&"false"===n[9]&&n[34],l=s&&_a();function c(e){return"false"===e[9]?Ma:Fa}let u=c(n),d=u(n);function h(e){return e[15]?za:e[22]?ja:e[25]?Ya:e[20]?Ha:e[26]?Ua:e[21]?void 0:Ba}let p=h(n),m=p&&p(n),f=n[17]&&"true"===n[12]&&Xa(n);return{c(){i=X("section"),l&&l.c(),r=K(),d.c(),a=K(),m&&m.c(),o=K(),f&&f.c(),Q(i,"class","CategoriesLobby"),k(i,"max-width",n[11]+"px")},m(e,t){V(e,i,t),l&&l.m(i,null),W(i,r),d.m(i,null),W(i,a),m&&m.m(i,null),W(i,o),f&&f.m(i,null),n[69](i)},p(e,t){512&t[0]|8&t[1]&&(s="PC"!==ji(e[38])&&"false"===e[9]&&e[34]),s?l||(l=_a(),l.c(),l.m(i,r)):l&&(l.d(1),l=null),u===(u=c(e))&&d?d.p(e,t):(d.d(1),d=u(e),d&&(d.c(),d.m(i,a))),p===(p=h(e))&&m?m.p(e,t):(m&&m.d(1),m=p&&p(e),m&&(m.c(),m.m(i,o))),e[17]&&"true"===e[12]?f?f.p(e,t):(f=Xa(e),f.c(),f.m(i,null)):f&&(f.d(1),f=null),2048&t[0]&&k(i,"max-width",e[11]+"px")},d(e){e&&Z(i),l&&l.d(),d.d(),m&&m.d(),f&&f.d(),n[69](null)}}}function Ca(e){let n;return{c(){n=X("p"),n.textContent="500 Error - Internal Server Error",Q(n,"class","SearchLoading")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function _a(){let n;return{c(){n=X("div"),Q(n,"class","SearchBarPlaceholder")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function Fa(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y="PC"===ji(n[38])&&n[14].length||"PC"!==ji(n[38]),v=!n[34]&&ka(),w=y&&$a(n),b=!n[20]&&!n[25]&&!n[34]&&!n[26]&&!n[21]&&!n[24]&&!n[22]&&!n[23]&&Ea(n);return{c(){i=X("div"),r=X("div"),a=X("label"),a.textContent="Search casino games",o=K(),s=X("div"),v&&v.c(),l=K(),c=X("input"),d=K(),w&&w.c(),p=K(),b&&b.c(),Q(a,"for","search"),Q(a,"class","SrOnly"),Q(c,"id","SearchField"),Q(c,"class","SearchInput"),Q(c,"placeholder",u="PC"===ji(n[38])?n[37]("casinoPage.search"):n[37]("casinoPage.searchMobile")),Q(c,"type","search"),Q(s,"class","SearchWrapper"),Q(r,"class",h="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),Q(i,"class",m="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ji(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==ji(n[38])&&!Ka?"CategoriesHeaderSearchActive":"")+(n[28]&&n[34]?"SearchStickTop":"")),k(i,"top",n[28]&&n[34]?qa+"px":"")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(r,o),W(r,s),v&&v.m(s,null),W(s,l),W(s,c),n[62](c),_(c,n[14]),W(s,d),w&&w.m(s,null),W(i,p),b&&b.m(i,null),n[67](i),f||(g=[q(c,"focus",n[40]),q(c,"blur",n[41]),q(c,"input",n[63]),q(c,"focus",n[42])],f=!0)},p(e,t){e[34]?v&&(v.d(1),v=null):v||(v=ka(),v.c(),v.m(s,l)),64&t[1]&&u!==(u="PC"===ji(e[38])?e[37]("casinoPage.search"):e[37]("casinoPage.searchMobile"))&&Q(c,"placeholder",u),16384&t[0]&&_(c,e[14]),16384&t[0]&&(y="PC"===ji(e[38])&&e[14].length||"PC"!==ji(e[38])),y?w?w.p(e,t):(w=$a(e),w.c(),w.m(s,null)):w&&(w.d(1),w=null),110100480&t[0]&&h!==(h="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&Q(r,"class",h),e[20]||e[25]||e[34]||e[26]||e[21]||e[24]||e[22]||e[23]?b&&(b.d(1),b=null):b?b.p(e,t):(b=Ea(e),b.c(),b.m(i,null)),272629760&t[0]|8&t[1]&&m!==(m="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ji(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==ji(e[38])&&!Ka?"CategoriesHeaderSearchActive":"")+(e[28]&&e[34]?"SearchStickTop":""))&&Q(i,"class",m),268435456&t[0]|8&t[1]&&k(i,"top",e[28]&&e[34]?qa+"px":"")},d(e){e&&Z(i),v&&v.d(),n[62](null),w&&w.d(),b&&b.d(),n[67](null),f=!1,j(g)}}}function Ma(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y="PC"===ji(n[38])&&n[14].length||"PC"!==ji(n[38]),v=!n[34]&&Aa(),w=y&&Da(n),b=!n[20]&&!n[25]&&!n[34]&&!n[26]&&!n[21]&&!n[22]&&!n[24]&&!n[23]&&Ra(n);return{c(){i=X("div"),r=X("div"),a=X("label"),a.textContent="Search casino games",o=K(),s=X("div"),v&&v.c(),l=K(),c=X("input"),d=K(),w&&w.c(),p=K(),b&&b.c(),Q(a,"for","search"),Q(a,"class","SrOnly"),Q(c,"id","SearchField"),Q(c,"class","SearchInput"),Q(c,"placeholder",u="PC"===ji(n[38])?n[37]("casinoPage.search"):n[37]("casinoPage.searchMobile")),Q(c,"type","search"),Q(s,"class","SearchWrapper"),Q(r,"class",h="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),Q(i,"class",m="CategoriesHeaderSection "+("PC"!==ji(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==ji(n[38])&&!Ka?"CategoriesHeaderSearchActive":"")+" "+(n[28]&&n[34]?"SearchStickTop":"")),k(i,"top",n[28]&&n[34]?qa+"px":"")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(r,o),W(r,s),v&&v.m(s,null),W(s,l),W(s,c),n[56](c),_(c,n[14]),W(s,d),w&&w.m(s,null),W(i,p),b&&b.m(i,null),n[61](i),f||(g=[q(c,"focus",n[40]),q(c,"blur",n[41]),q(c,"input",n[57]),q(c,"focus",n[42])],f=!0)},p(e,t){e[34]?v&&(v.d(1),v=null):v||(v=Aa(),v.c(),v.m(s,l)),64&t[1]&&u!==(u="PC"===ji(e[38])?e[37]("casinoPage.search"):e[37]("casinoPage.searchMobile"))&&Q(c,"placeholder",u),16384&t[0]&&_(c,e[14]),16384&t[0]&&(y="PC"===ji(e[38])&&e[14].length||"PC"!==ji(e[38])),y?w?w.p(e,t):(w=Da(e),w.c(),w.m(s,null)):w&&(w.d(1),w=null),110100480&t[0]&&h!==(h="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&Q(r,"class",h),e[20]||e[25]||e[34]||e[26]||e[21]||e[22]||e[24]||e[23]?b&&(b.d(1),b=null):b?b.p(e,t):(b=Ra(e),b.c(),b.m(i,null)),272629760&t[0]|8&t[1]&&m!==(m="CategoriesHeaderSection "+("PC"!==ji(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==ji(e[38])&&!Ka?"CategoriesHeaderSearchActive":"")+" "+(e[28]&&e[34]?"SearchStickTop":""))&&Q(i,"class",m),268435456&t[0]|8&t[1]&&k(i,"top",e[28]&&e[34]?qa+"px":"")},d(e){e&&Z(i),v&&v.d(),n[56](null),w&&w.d(),b&&b.d(),n[61](null),f=!1,j(g)}}}function ka(){let n;return{c(){n=X("div"),n.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>',Q(n,"class","SearchIcon")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function $a(n){let i,r,a,o;return{c(){i=X("span"),r=X("div"),r.innerHTML='<div class="CloseIconWrapper"><div class="CloseIcon"></div></div>',Q(r,"class","CloseIconContainer"),Q(i,"class","PC"===ji(n[38])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){V(e,i,t),W(i,r),a||(o=q(i,"click",n[64]),a=!0)},p:Y,d(e){e&&Z(i),a=!1,o()}}}function Ea(e){let n,i,r=e[35]&&Ta(e),a=(!e[22]||!e[21])&&La(e);return{c(){n=X("div"),r&&r.c(),i=K(),a&&a.c(),Q(n,"class","FiltersButtonsContainer ")},m(e,t){V(e,n,t),r&&r.m(n,null),W(n,i),a&&a.m(n,null)},p(e,t){e[35]?r?r.p(e,t):(r=Ta(e),r.c(),r.m(n,i)):r&&(r.d(1),r=null),e[22]&&e[21]?a&&(a.d(1),a=null):a?a.p(e,t):(a=La(e),a.c(),a.m(n,null))},d(e){e&&Z(n),r&&r.d(),a&&a.d()}}}function Ta(n){let i,r,a,o,s;return{c(){i=X("div"),r=X("div"),r.innerHTML='Clear\n <span class="ClearIcon"><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></span>',Q(r,"class","ClearButton"),Q(i,"class",a="ClearFilterButtonWrapper "+(n[35]?"FiltersActive":""))},m(e,t){V(e,i,t),W(i,r),o||(s=q(i,"click",n[65]),o=!0)},p(e,t){16&t[1]&&a!==(a="ClearFilterButtonWrapper "+(e[35]?"FiltersActive":""))&&Q(i,"class",a)},d(e){e&&Z(i),o=!1,s()}}}function La(e){let n,i=!e[26]&&Ia(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){e[26]?i&&(i.d(1),i=null):i?i.p(e,t):(i=Ia(e),i.c(),i.m(n.parentNode,n))},d(e){i&&i.d(e),e&&Z(n)}}}function Ia(n){let i,r,a,o,s,l,c,u,d,h,p,m,f=0<n[35]&&Pa(n);return{c(){i=X("div"),r=X("div"),r.textContent="Filters",a=K(),o=X("div"),s=S("svg"),l=S("defs"),c=S("style"),u=J(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=S("path"),h=K(),f&&f.c(),Q(r,"class","FilterButton"),Q(d,"class","a"),Q(d,"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"),Q(d,"transform","translate(-5 -6.2)"),Q(s,"xmlns","http://www.w3.org/2000/svg"),Q(s,"width","20"),Q(s,"height","20"),Q(s,"viewBox","0 0 26 26"),Q(o,"class","FilterIconContainer"),Q(i,"class","FilterButtonWrapper")},m(e,t){V(e,i,t),W(i,r),W(i,a),W(i,o),W(o,s),W(s,l),W(l,c),W(c,u),W(s,d),W(o,h),f&&f.m(o,null),p||(m=q(i,"click",n[66]),p=!0)},p(e,t){0<e[35]?f?f.p(e,t):(f=Pa(e),f.c(),f.m(o,null)):f&&(f.d(1),f=null)},d(e){e&&Z(i),f&&f.d(),p=!1,m()}}}function Pa(e){let n,i,r;return{c(){n=X("div"),i=X("span"),r=J(e[35]),Q(i,"class","NumberOfFilters"),Q(n,"class","NumberOfFiltersContainer")},m(e,t){V(e,n,t),W(n,i),W(i,r)},p(e,t){16&t[1]&&ee(r,e[35])},d(e){e&&Z(n)}}}function Aa(){let n;return{c(){n=X("div"),n.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>',Q(n,"class","SearchIcon")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function Da(n){let i,r,a,o;return{c(){i=X("span"),r=X("div"),r.innerHTML='<div class="CloseIconWrapper"><div class="CloseIcon"></div></div>',Q(r,"class","CloseIconContainer"),Q(i,"class","PC"===ji(n[38])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){V(e,i,t),W(i,r),a||(o=q(i,"click",n[58]),a=!0)},p:Y,d(e){e&&Z(i),a=!1,o()}}}function Ra(e){let n,i,r=e[35]&&Ga(e),a=(!e[22]||!e[21])&&Oa(e);return{c(){n=X("div"),r&&r.c(),i=K(),a&&a.c(),Q(n,"class","FiltersButtonsContainer")},m(e,t){V(e,n,t),r&&r.m(n,null),W(n,i),a&&a.m(n,null)},p(e,t){e[35]?r?r.p(e,t):(r=Ga(e),r.c(),r.m(n,i)):r&&(r.d(1),r=null),e[22]&&e[21]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Oa(e),a.c(),a.m(n,null))},d(e){e&&Z(n),r&&r.d(),a&&a.d()}}}function Ga(n){let i,r,a;return{c(){i=X("div"),i.innerHTML='<div class="ClearButton">Clear\n <span class="ClearIcon"><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></span></div>',Q(i,"class","ClearFilterButtonWrapper")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[59]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function Oa(e){let n,i=!e[26]&&Na(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){e[26]?i&&(i.d(1),i=null):i?i.p(e,t):(i=Na(e),i.c(),i.m(n.parentNode,n))},d(e){i&&i.d(e),e&&Z(n)}}}function Na(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y;return{c(){i=X("div"),r=X("div"),r.textContent="Filters",a=K(),o=X("div"),s=S("svg"),l=S("defs"),c=S("style"),u=J(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=S("path"),h=K(),p=X("div"),m=X("span"),f=J(n[35]),Q(r,"class","FilterButton"),Q(d,"class","a"),Q(d,"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"),Q(d,"transform","translate(-5 -6.2)"),Q(s,"xmlns","http://www.w3.org/2000/svg"),Q(s,"width","20"),Q(s,"height","20"),Q(s,"viewBox","0 0 26 26"),Q(m,"class","NumberOfFilters"),Q(p,"class","NumberOfFiltersContainer"),Q(o,"class","FilterIconContainer"),Q(i,"class","FilterButtonWrapper")},m(e,t){V(e,i,t),W(i,r),W(i,a),W(i,o),W(o,s),W(s,l),W(l,c),W(c,u),W(s,d),W(o,h),W(o,p),W(p,m),W(m,f),g||(y=q(i,"click",n[60]),g=!0)},p(e,t){16&t[1]&&ee(f,e[35])},d(e){e&&Z(i),g=!1,y()}}}function Ba(e){let n;return{c(){n=X("casino-games-category-section"),C(n,"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"favorites",e[10]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"session",e[4]),C(n,"categoryid",e[31]),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[13])},m(e,t){V(e,n,t)},p(e,t){32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),1024&t[0]&&C(n,"favorites",e[10]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),16&t[0]&&C(n,"session",e[4]),1&t[1]&&C(n,"categoryid",e[31]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),8192&t[0]&&C(n,"livecasino",e[13])},d(e){e&&Z(n)}}}function Ua(e){let n;function i(e){return e[27]?Va:Wa}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Z(n)}}}function Ha(n){let i,r,a,o;return{c(){i=X("casino-games-category-section"),C(i,"session",n[4]),C(i,"userid",n[5]),C(i,"endpoint",n[0]),C(i,"datasource",n[1]),C(i,"lang",n[3]),C(i,"currency",n[2]),C(i,"favorites",n[10]),C(i,"categoryid","FAVORITES"),C(i,"class","CategoryContainer"),C(i,"clientstyling",n[6]),C(i,"clientstylingurl",n[7]),C(i,"livecasino",n[13])},m(e,t){V(e,i,t),a||(o=l(r=n[39].call(null,i,(n[0],n[18],n[19],n[18]))),a=!0)},p(e,t){16&t[0]&&C(i,"session",e[4]),32&t[0]&&C(i,"userid",e[5]),1&t[0]&&C(i,"endpoint",e[0]),2&t[0]&&C(i,"datasource",e[1]),8&t[0]&&C(i,"lang",e[3]),4&t[0]&&C(i,"currency",e[2]),1024&t[0]&&C(i,"favorites",e[10]),64&t[0]&&C(i,"clientstyling",e[6]),128&t[0]&&C(i,"clientstylingurl",e[7]),8192&t[0]&&C(i,"livecasino",e[13]),r&&g(r.update)&&786433&t[0]&&r.update.call(null,(e[0],e[18],e[19],e[18]))},d(e){e&&Z(i),a=!1,o()}}}function Ya(t){let r,a=t[30],o=[];for(let e=0;e<a.length;e+=1)o[e]=Za(xa(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);V(t,r,n)},p(t,n){if(1073751551&n[0]){let e;for(a=t[30],e=0;e<a.length;e+=1){var i=xa(t,a,e);o[e]?o[e].p(i,n):(o[e]=Za(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){m(o,e),e&&Z(r)}}}function ja(n){let i,r,a,o;return{c(){i=X("casino-games-category-section"),C(i,"endpoint",n[0]),C(i,"datasource",n[1]),C(i,"lang",n[3]),C(i,"currency",n[2]),C(i,"session",n[4]),C(i,"userid",n[5]),C(i,"categoryid","Search"),C(i,"favorites",n[10]),C(i,"categoryindex","0"),C(i,"class","CategoryContainer"),C(i,"clientstyling",n[6]),C(i,"clientstylingurl",n[7]),C(i,"livecasino",n[13])},m(e,t){V(e,i,t),a||(o=l(r=n[47].call(null,i,n[29])),a=!0)},p(e,t){1&t[0]&&C(i,"endpoint",e[0]),2&t[0]&&C(i,"datasource",e[1]),8&t[0]&&C(i,"lang",e[3]),4&t[0]&&C(i,"currency",e[2]),16&t[0]&&C(i,"session",e[4]),32&t[0]&&C(i,"userid",e[5]),1024&t[0]&&C(i,"favorites",e[10]),64&t[0]&&C(i,"clientstyling",e[6]),128&t[0]&&C(i,"clientstylingurl",e[7]),8192&t[0]&&C(i,"livecasino",e[13]),r&&g(r.update)&&536870912&t[0]&&r.update.call(null,e[29])},d(e){e&&Z(i),a=!1,o()}}}function za(e){let n,i,r=e[37]("casinoPage.loading")+"";return{c(){n=X("p"),i=J(r),Q(n,"class","SearchLoading")},m(e,t){V(e,n,t),W(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("casinoPage.loading")+"")&&ee(i,r)},d(e){e&&Z(n)}}}function Wa(e){let n;return{c(){n=X("casino-games-category-section"),C(n,"session",e[4]),C(n,"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"favorites",e[10]),C(n,"categoryid","MOSTPLAYED"),C(n,"categoryindex","1"),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[13])},m(e,t){V(e,n,t)},p(e,t){16&t[0]&&C(n,"session",e[4]),32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),1024&t[0]&&C(n,"favorites",e[10]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),8192&t[0]&&C(n,"livecasino",e[13])},d(e){e&&Z(n)}}}function Va(e){let n;return{c(){n=X("p"),n.textContent="You have no games played!",Q(n,"class","SearchLoading")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function Za(n){let i,r,e,a,o,s;return{c(){i=X("casino-games-category-section"),C(i,"session",n[4]),C(i,"userid",n[5]),C(i,"endpoint",n[0]),C(i,"datasource",n[1]),C(i,"lang",n[3]),C(i,"currency",n[2]),C(i,"categoryid",r=n[117]),C(i,"categoryindex",e=n[119]),C(i,"categorygames","9"),C(i,"favorites",n[10]),C(i,"class","CategoryContainer"),k(i,"background-color",n[119]%2!=0?n[8]:"transparent"),C(i,"clientstyling",n[6]),C(i,"clientstylingurl",n[7]),C(i,"livecasino",n[13])},m(e,t){V(e,i,t),o||(s=l(a=n[46].call(null,i,n[117])),o=!0)},p(e,t){n=e,16&t[0]&&C(i,"session",n[4]),32&t[0]&&C(i,"userid",n[5]),1&t[0]&&C(i,"endpoint",n[0]),2&t[0]&&C(i,"datasource",n[1]),8&t[0]&&C(i,"lang",n[3]),4&t[0]&&C(i,"currency",n[2]),1073741824&t[0]&&r!==(r=n[117])&&C(i,"categoryid",r),1024&t[0]&&C(i,"favorites",n[10]),256&t[0]&&k(i,"background-color",n[119]%2!=0?n[8]:"transparent"),64&t[0]&&C(i,"clientstyling",n[6]),128&t[0]&&C(i,"clientstylingurl",n[7]),8192&t[0]&&C(i,"livecasino",n[13]),a&&g(a.update)&&1073741824&t[0]&&a.update.call(null,n[117])},d(e){e&&Z(i),o=!1,s()}}}function Xa(n){let i,r,a,o,s,l,c,u,d,h,e,p,m,f=n[37]("casinoPage.break")+"",g=n[37]("casinoPage.breakButton")+"";return{c(){i=X("div"),r=X("div"),a=S("svg"),o=S("path"),s=K(),l=X("p"),c=J(f),u=K(),d=X("button"),h=J(g),Q(o,"stroke-linecap","round"),Q(o,"stroke-linejoin","round"),Q(o,"stroke-width","2"),Q(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),Q(a,"class","w-1 h-1"),Q(a,"fill","none"),Q(a,"stroke","white"),Q(a,"width","34px"),Q(a,"height","34px"),Q(a,"viewBox","0 0 24 24"),Q(a,"xmlns","http://www.w3.org/2000/svg"),Q(r,"class","PanicText"),Q(d,"class","PanicButton"),Q(i,"class",e="PanicSection "+("PC"!==ji(n[38])?"PanicSectionMobile":""))},m(e,t){V(e,i,t),W(i,r),W(r,a),W(a,o),W(r,s),W(r,l),W(l,c),W(i,u),W(i,d),W(d,h),p||(m=q(d,"click",n[68]),p=!0)},p(e,t){64&t[1]&&f!==(f=e[37]("casinoPage.break")+"")&&ee(c,f),64&t[1]&&g!==(g=e[37]("casinoPage.breakButton")+"")&&ee(h,g)},d(e){e&&Z(i),p=!1,m()}}}function Ja(e){let n;function i(e){return e[16]?Ca:Sa}let r=i(e),a=r(e);return{c(){a.c(),n=c(),this.c=Y},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Y,o:Y,d(e){a.d(e),e&&Z(n)}}}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends de{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:12.8px;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}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ba,va,t,{endpoint:0,datasource:30,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:29,categoryindex:31,categorygames:32,livecasino:8,once:33,top:34,bottom:35,left:36,right:37},null,[-1,-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categoryindex","categorygames","livecasino","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),U()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),U()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),U()}get categoryid(){return this.$$.ctx[29]}set categoryid(e){this.$$set({categoryid:e}),U()}get categoryindex(){return this.$$.ctx[31]}set categoryindex(e){this.$$set({categoryindex:e}),U()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$$set({categorygames:e}),U()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),U()}get once(){return this.$$.ctx[33]}set once(e){this.$$set({once:e}),U()}get top(){return this.$$.ctx[34]}set top(e){this.$$set({top:e}),U()}get bottom(){return this.$$.ctx[35]}set bottom(e){this.$$set({bottom:e}),U()}get left(){return this.$$.ctx[36]}set left(e){this.$$set({left:e}),U()}get right(){return this.$$.ctx[37]}set right(e){this.$$set({right:e}),U()}});let Ka=!1;const qa=0;function Qa(e,t,a){let n;$e(e,Hi,e=>a(37,n=e));let o,s,l,r,c,u,d,h,i,p,m,f,{endpoint:g=""}=t,{datasource:y=""}=t,{currency:v=""}=t,{lang:w=""}=t,{session:b=""}=t,{userid:x=""}=t,{clientstyling:S=""}=t,{clientstylingurl:C=""}=t,{categorybackground:_=""}=t,{visiblegames:F="6"}=t,{alternativesearch:M="false"}=t,{favorites:k=""}=t,{mostplayed:$=""}=t,{containermaxwidth:E="1300"}=t,{lobbyid:T="casinodefault"}=t,{haspanicbutton:L="false"}=t,{mostplayedrounds:I=""}=t,{activecategory:P=""}=t,{livecasino:A="false"}=t,D=!1,R=!1,G=!1,O="",N=!1,B=!1,U=!0,H=!1,Y=!1,j=!1,z=!1,W=!0,V=!1,Z=!1,X=!1,J=!0,K=[],q="",Q=window.navigator.userAgent,ee=!1,te=[],ne=[],ie=!1,re=[],ae=0,oe="",se=!1;var le,ce;({withLocale:le,translations:ce}={withLocale:"en",translations:{}}),Ii.subscribe(e=>{null==e&&(bi.set(ce),Ii.set(le))}),Object.keys(sr).forEach(e=>{Si(e,sr[e])});const ue=e=>{switch(a(22,H=!1),a(14,q=""),e.data.itemId){case"LOBBY":a(25,W=!0),a(20,N=!1),a(31,r=""),a(26,V=!1),ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)},1);break;case"FAVORITES":a(25,W=!1),a(20,N=!0),a(26,V=!1),a(31,r="");break;case"MOSTPLAYED":"true"==$&&(a(15,D=!0),he({limit:100,device:ji(Q),rounds:10}).then(e=>{if(a(15,D=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(g+"/casino/games/"+e.gameId);t.searchParams.append("datasource",y),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{te=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:te},window.location.href)})}else a(27,Z=!0)}),a(31,r=""),a(25,W=!1),a(20,N=!1),a(26,V=!0));break;default:a(25,W=!1),a(20,N=!1),a(26,V=!1),a(31,r=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:r,index:e.data.index},window.location.href)},100)}},de=e=>{if(e.data)switch(e.data.type){case"CategoryChange":ue(e);break;case"UserSessionID":a(19,s=e.data.session),a(18,o=e.data.userID),o&&o.length&&s&&0<s.length&&pe(g,s,o);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":n=`${g}/player/${o}/favorites`,i=s,o,r=e.data.id,e.data.triggerFactor,ne.includes(r)&&(ne=ne.filter(e=>e!=r)),fetch(n+"/"+r,{method:"DELETE",headers:{"X-SessionID":i}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+r},window.location.href),me(n,i)});break;case"SetFavoredGame":((t,n,i)=>{ne.includes(i)||ne.push(i);let e={items:ne},r={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t,r).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),me(t,n)}).catch(e=>{console.error("Err",e)})})(`${g}/player/${o}/favorites`,s,(o,e.data.id),e.data.triggerFactor);break;case"GetFavoredGame":o&&o.length&&s&&0<s.length&&pe(g,s,o);break;case"SearchedItemClicked":(t=>{if(re=ye(`searchedGamesWds_${T}`),re=re?re.split(","):[],-1===re.indexOf(t)){let e;re.push(t),e=re.join(","),document.cookie=`searchedGamesWds_${T}=`+e}})(e.data.gameId);break;case"UpdateFilters":t=e.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),be();break;case"ClearFilters":t=e.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:t},window.location.href),be();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:oe},window.location.href),be();break;case"CategoryVendors":oe=e.data.categoryid,be();break;case"GameHovered":Y=!0;break;case"GameBlur":Y=!1}var t,n,i,r},he=e=>{let t=new URL(`${g}/player/${o}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order);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),f=A?t:t.href,new Promise((t,n)=>{fetch(f).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Most Played",id:"MOSTPLAYED"}},window.location.href),window.postMessage({type:"MostPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})})};let pe=(e,t,n)=>{"true"==k&&b&&n&&(fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(i=e,i&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i},window.location.href),fe(i.items)),i)).catch(e=>{console.error(e)}),N&&ge())},me=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(i=e,N&&ge(),i&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i},window.location.href),i)).catch(e=>{console.error(e)})};const fe=(e=[])=>(ne=[],0<e.length&&e.forEach(e=>{ne.push(e.id)}),ne);const ge=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:i},window.location.href)},ye=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},ve=()=>{if(g&&y&&w&&(a(24,z=!0),q.length<2)){let e=ye("searchedGamesWds_"+T),t=[];e&&(t=e.split(",")),1!=W||U||(a(23,j=W),a(25,W=!1));let n=[],i=0,r=t.length;if(0<r){for(i=0;i<r;i++){let e=new URL(g+"/casino/games/"+t[i]);e.searchParams.append("language",w),e.searchParams.append("datasource",y),e.searchParams.append("platform",ji(Q)),n.push((e=>new Promise((t,n)=>{a(15,D=!0),fetch(e).then(e=>e.json()).then(e=>{a(15,D=!1),t(e[0])}).catch(e=>{a(16,R=!0),a(15,D=!1),console.error(e),n(e)})}))(e))}Promise.all(n).then(e=>{a(29,l=e),Se(0,l)})}else Se(0,{})}},we=()=>{a(24,z=!1),q.length<2&&!Y&&(a(22,H=!1),a(29,l=[]),a(21,B=!1),a(25,W=j),a(23,j=!1),!1===W&&window.postMessage({type:"CategoryUpdate",itemId:r},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},be=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&oe&&(e[oe]?a(35,ae=e[oe].length):a(35,ae=0))},xe=()=>{a(55,J=!0),a(14,q=""),a(29,l=[]),a(21,B=!1),we()},Se=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Ce=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},_e=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Fe=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:i},window.location.href)},Me=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},ke=()=>{u&&(d=u.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>d||130<d?a(28,X=!0):a(28,X=!1)};return Ee(()=>(window.addEventListener("scroll",ke,!1),window.addEventListener("message",de,!1),()=>{window.removeEventListener("scroll",ke),window.removeEventListener("message",de)})),e.$$set=e=>{"endpoint"in e&&a(0,g=e.endpoint),"datasource"in e&&a(1,y=e.datasource),"currency"in e&&a(2,v=e.currency),"lang"in e&&a(3,w=e.lang),"session"in e&&a(4,b=e.session),"userid"in e&&a(5,x=e.userid),"clientstyling"in e&&a(6,S=e.clientstyling),"clientstylingurl"in e&&a(7,C=e.clientstylingurl),"categorybackground"in e&&a(8,_=e.categorybackground),"visiblegames"in e&&a(49,F=e.visiblegames),"alternativesearch"in e&&a(9,M=e.alternativesearch),"favorites"in e&&a(10,k=e.favorites),"mostplayed"in e&&a(50,$=e.mostplayed),"containermaxwidth"in e&&a(11,E=e.containermaxwidth),"lobbyid"in e&&a(51,T=e.lobbyid),"haspanicbutton"in e&&a(12,L=e.haspanicbutton),"mostplayedrounds"in e&&a(52,I=e.mostplayedrounds),"activecategory"in e&&a(53,P=e.activecategory),"livecasino"in e&&a(13,A=e.livecasino)},e.$$.update=()=>{if(16384&e.$$.dirty[0]&&q&&(2<=q.length?a(55,J=!0):a(55,J=!1)),16395&e.$$.dirty[0]|25165824&e.$$.dirty[1])if(2<=q.length){a(22,H=!0);let e=new URL(g+"/casino/games");e.searchParams.append("datasource",y),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",ji(Q)),e.searchParams.append("language",w),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+q),i=e,new Promise((t,n)=>{a(15,D=!0),fetch(i).then(e=>e.json()).then(e=>{a(15,D=!1),t(e)}).catch(e=>{a(16,R=!0),a(15,D=!1),console.error(e),n(e)})}).then(e=>{a(29,l=e),Fe(0,e)})}else J||ve(),U&&a(54,U=!1);var i;4194304&e.$$.dirty[1]&&P&&(a(31,r=P),ue({data:{itemId:r}})),49&e.$$.dirty[0]&&b&&x&&g&&(a(17,G=!0),a(19,s=b),a(18,o=x)),523&e.$$.dirty[0]&&g&&y&&w&&M&&(()=>{if(g||(O="Endpoint is missing! Please provide a valid endpointURL.",a(16,R=!0),a(15,D=!1),console.error(O)),y||(O="Datasource is missing! Please provide a valid datasource.",a(16,R=!0),a(15,D=!1),console.error(O)),w&&2==w.length||(O="Language is missing! Please provide a valid language (alpha2code)",a(16,R=!0),a(15,D=!1),console.error(O)),!R){a(15,D=!0),"true"==k&&pe(g,s,o),t=w,Ii.set(t);let e=new URL(g+"/casino/groups/"+y);e.searchParams.append("language",w),e.searchParams.append("platform",ji(Q)),i=e,new Promise((t,n)=>{a(15,D=!0),fetch(i).then(e=>e.json()).then(e=>{a(15,D=!1),t(e)}).catch(e=>{a(16,R=!0),a(15,D=!1),console.error(e),n(e)})}).then(e=>{e&&(h=e.items.filter(e=>0<e.games.total),a(30,K=h.map(e=>e.id)),a(15,D=!1))}),"PC"!==ji(Q)&&(p.addEventListener("focusin",e=>{a(34,ie=!0)}),p.addEventListener("focusout",e=>{a(34,ie=!1)})),be(),u=c,u&&(d=u.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}var i,t})(),8&e.$$.dirty[0]&&w&&(se&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:r},window.location.href)},500),se=!1),64&e.$$.dirty[0]&&S&&(()=>{let e=document.createElement("style");e.innerHTML=S,m.appendChild(e)})(),128&e.$$.dirty[0]&&C&&(()=>{let t=document.createElement("style");fetch(new URL(C)).then(e=>e.text()).then(e=>{t.innerHTML=e,m&&setTimeout(()=>{m.appendChild(t)},1)})})()},[g,y,v,w,b,x,S,C,_,M,k,E,L,A,q,D,R,G,o,s,N,B,H,j,z,W,V,Z,X,l,K,r,c,p,ie,ae,m,n,Q,ge,ve,we,()=>{window.postMessage({type:"scroll"},window.location.href)},xe,Ce,_e,(e,t)=>{oe=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:F,receivedFavoriteResults:i},window.location.href)},Fe,Me,F,$,T,I,P,U,J,function(e){Te[e?"unshift":"push"](()=>{p=e,a(33,p)})},function(){q=this.value,a(14,q)},()=>xe(),()=>_e(),()=>{Ce()},function(e){Te[e?"unshift":"push"](()=>{c=e,a(32,c)})},function(e){Te[e?"unshift":"push"](()=>{p=e,a(33,p)})},function(){q=this.value,a(14,q)},()=>xe(),()=>_e(),()=>{Ce()},function(e){Te[e?"unshift":"push"](()=>{c=e,a(32,c)})},()=>Me(),function(e){Te[e?"unshift":"push"](()=>{m=e,a(36,m)})}]}function eo(e,{delay:t=0,duration:n=400,easing:i=f}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:i,css:e=>"opacity: "+e*r}}function to(n){let i,r,a,o,s,t,l,c,u;return{c(){i=X("div"),r=X("div"),r.innerHTML="<slot></slot>",a=K(),o=X("span"),o.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>',Q(r,"class","ModalContainer"),Q(o,"class","ModalCloseBtn"),Q(o,"role","button"),Q(i,"class","ModalWindow"),Q(i,"id","Modal"),G(()=>n[13].call(i))},m(e,t){V(e,i,t),W(i,r),W(i,a),W(i,o),n[12](i),s=F(i,n[13].bind(i)),l=!0,c||(u=q(o,"click",n[6]),c=!0)},p(e,t){n=e},i(e){l||(G(()=>{t=t||le(i,eo,{transitionDuration:n[1]},!0),t.run(1)}),l=!0)},o(e){t=t||le(i,eo,{transitionDuration:n[1]},!1),t.run(0),l=!1},d(e){e&&Z(i),n[12](null),s(),e&&t&&t.end(),c=!1,u()}}}function no(n){let i,r,a=n[0]&&to(n);return{c(){i=X("div"),a&&a.c(),this.c=Y},m(e,t){V(e,i,t),a&&a.m(i,null),n[14](i),r=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&ae(a,1)):(a=to(e),a.c(),ae(a,1),a.m(i,null)):a&&(ie(),oe(a,1,1,()=>{a=null}),re())},i(e){r||(ae(a),r=!0)},o(e){oe(a),r=!1},d(e){e&&Z(i),a&&a.d(),n[14](null)}}}function io(e,t,n){let i,r,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,m=!1,f=!1;const g=e=>{var t;"ModalClosed"==e.data.type&&n(0,s=!1),"ShowGameModal"===e.data.type&&(f||(n(0,s=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href),f=!0)),"OpenGameFrame"===e.data.type&&(n(0,s=!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:getComputedStyle(i).width,modalHeight:getComputedStyle(i).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(m=e.data.detailsObtained)},y=e=>{var t;m&&(t={modalWidth:getComputedStyle(i).width,modalHeight:getComputedStyle(i).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return Ee(()=>(window.addEventListener("message",g,!1),window.addEventListener("resize",y,!1),()=>{window.removeEventListener("message",g),window.removeEventListener("resize",g)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(7,c=e.session),"userid"in e&&n(8,u=e.userid),"clientstyling"in e&&n(9,d=e.clientstyling),"clientstylingurl"in e&&n(10,h=e.clientstylingurl),"endpoint"in e&&n(11,p=e.endpoint)},e.$$.update=()=>{2432&e.$$.dirty&&c&&u&&p&&zi(p,c).then(e=>{},e=>{console.error("err on session",e)}),512&e.$$.dirty&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{i.appendChild(e)})})(),1024&e.$$.dirty&&h&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})})()},[s,l,i,r,void 0,void 0,()=>{n(0,s=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},c,u,d,h,p,function(e){Te[e?"unshift":"push"](()=>{i=e,n(2,i)})},function(){a=this.clientWidth,o=this.clientHeight,n(4,a),n(5,o)},function(e){Te[e?"unshift":"push"](()=>{r=e,n(3,r)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends de{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}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicButton{border-radius:2px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:48px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}[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:14.4px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:640px;margin:0 auto}.SearchContainer.SearchTruncated{margin:auto 0 auto 25%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display: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:25.6px;height:25.6px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:100%;display:block;padding:12px 12px 12px 40px;border-radius:6.4px;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:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;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:22px}.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{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:75px;right:0;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,.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>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Qa,Ja,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:49,alternativesearch:9,favorites:10,mostplayed:50,containermaxwidth:11,lobbyid:51,haspanicbutton:12,mostplayedrounds:52,activecategory:53,livecasino:13},null,[-1,-1,-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),U()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),U()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),U()}get visiblegames(){return this.$$.ctx[49]}set visiblegames(e){this.$$set({visiblegames:e}),U()}get alternativesearch(){return this.$$.ctx[9]}set alternativesearch(e){this.$$set({alternativesearch:e}),U()}get favorites(){return this.$$.ctx[10]}set favorites(e){this.$$set({favorites:e}),U()}get mostplayed(){return this.$$.ctx[50]}set mostplayed(e){this.$$set({mostplayed:e}),U()}get containermaxwidth(){return this.$$.ctx[11]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),U()}get lobbyid(){return this.$$.ctx[51]}set lobbyid(e){this.$$set({lobbyid:e}),U()}get haspanicbutton(){return this.$$.ctx[12]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),U()}get mostplayedrounds(){return this.$$.ctx[52]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),U()}get activecategory(){return this.$$.ctx[53]}set activecategory(e){this.$$set({activecategory:e}),U()}get livecasino(){return this.$$.ctx[13]}set livecasino(e){this.$$set({livecasino:e}),U()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends de{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:20;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;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>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},io,no,t,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11},null),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),U()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),U()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),U()}});const ro={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{gamePage:{signIn:"SE CONNECTER",register:"S'INSCRIRE",deposit:"DÉPOSER",playForFun:"JOUER POUR LE PLAISIR",playNow:"JOUE MAINTENANT",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{gamePage:{signIn:"INICIAR SESIÓN",register:"REGISTRARSE",deposit:"INGRESAR",playForFun:"JUEGA POR DIVERSION",playNow:"REPRODUCIR AHORA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{gamePage:{signIn:"Login",register:"REGISTAR",deposit:"Depósito",playForFun:"Play for fun",playNow:"Comece agora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}};function ao(){"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=window.cstmNativeBridge.EVENTS[e];if(n){if("function"==typeof t){var i=window.cstmNativeBridge.eventListeners[n];return window.cstmNativeBridge.eventListeners[n]=function(){delete window.cstmNativeBridge.eventListeners[n],i&&i.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=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];if("function"!=typeof t)return console.error("Native Bridge `"+e+"` method is not defined"),!1;e=Array.prototype.slice.call(arguments,1);return t.apply(this,e),!0};var oo=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},so=function(e,...t){try{return ao(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function lo(n){let i,r=n[8]&&ho(n);return{c(){i=X("div"),r&&r.c(),Q(i,"class","CasinoGamePageContainer")},m(e,t){V(e,i,t),r&&r.m(i,null),n[69](i)},p(e,t){e[8]?r?r.p(e,t):(r=ho(e),r.c(),r.m(i,null)):r&&(r.d(1),r=null)},d(e){e&&Z(i),r&&r.d(),n[69](null)}}}function co(e){let n;return{c(){n=X("p"),n.textContent="500 Error - Internal Server Error.",Q(n,"class","SearchLoading")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function uo(e){let n;return{c(){n=X("p"),n.textContent="Loading, please wait ...",Q(n,"class","SearchLoading")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function ho(e){let n;function i(e){return e[18]?go:e[4]?fo:e[9]?mo:po}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Z(n)}}}function po(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w,b,x=n[7].name+"",S=n[20]("gamePage.signIn")+"",C=n[20]("gamePage.register")+"";return{c(){i=X("div"),r=X("h3"),a=J(x),o=K(),s=X("img"),c=K(),u=X("div"),d=X("button"),h=J(S),p=K(),m=X("button"),f=J(C),g=K(),y=X("p"),v=J(n[2]),z(s.src,l=n[7].thumbnail)||Q(s,"src",l),Q(s,"class","GameThumbnail"),Q(s,"alt","game thumbnail"),Q(s,"loading","lazy"),Q(d,"class","LoginButton"),Q(m,"class","RegisterButton"),Q(u,"class","ButtonsContainer"),Q(i,"class","GameDetails")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(i,o),W(i,s),W(i,c),W(i,u),W(u,d),W(d,h),W(u,p),W(u,m),W(m,f),W(i,g),W(i,y),W(y,v),w||(b=[q(d,"click",n[67]),q(m,"click",n[68])],w=!0)},p(e,t){128&t[0]&&x!==(x=e[7].name+"")&&ee(a,x),128&t[0]&&!z(s.src,l=e[7].thumbnail)&&Q(s,"src",l),1048576&t[0]&&S!==(S=e[20]("gamePage.signIn")+"")&&ee(h,S),1048576&t[0]&&C!==(C=e[20]("gamePage.register")+"")&&ee(f,C),4&t[0]&&ee(v,e[2])},d(e){e&&Z(i),w=!1,j(b)}}}function mo(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w,b,x,S=n[20]("gamePage.signIn")+"",C=n[20]("gamePage.register")+"";function _(e){return e[13]?vo:yo}let F=_(n),M=F(n);return{c(){i=X("div"),r=X("div"),a=X("iframe"),s=K(),l=X("div"),c=X("div"),u=X("button"),d=J(S),h=K(),p=X("button"),m=J(C),f=K(),M.c(),g=K(),y=X("p"),v=X("span"),w=J(n[2]),Q(a,"title","Games"),Q(a,"class","GamesContainer"),Q(a,"aria-hidden","false"),z(a.src,o=n[7].launchUrl)||Q(a,"src",o),Q(u,"class","LoginButton"),Q(p,"class","RegisterButton"),Q(c,"class","ButtonsContainer"),Q(l,"class","BottomGame"),Q(y,"class","Time"),Q(r,"id","IframeGame"),k(r,"width",n[13]?"100%":n[16]),k(r,"height",n[13]?"100%":n[17]),k(r,"max-width",n[13]?"none":n[7].width+"px"),k(r,"max-height",n[13]?"none":n[7].height+100+"px"),Q(i,"id","IframeContainer"),k(i,"width",n[14]),k(i,"height",n[15]),$(i,"FullsScreenLayout",n[13])},m(e,t){V(e,i,t),W(i,r),W(r,a),n[60](a),W(r,s),W(r,l),W(l,c),W(c,u),W(u,d),W(c,h),W(c,p),W(p,m),W(l,f),M.m(l,null),W(r,g),W(r,y),W(y,v),W(v,w),n[65](r),n[66](i),b||(x=[q(u,"click",n[61]),q(p,"click",n[62])],b=!0)},p(e,t){128&t[0]&&!z(a.src,o=e[7].launchUrl)&&Q(a,"src",o),1048576&t[0]&&S!==(S=e[20]("gamePage.signIn")+"")&&ee(d,S),1048576&t[0]&&C!==(C=e[20]("gamePage.register")+"")&&ee(m,C),F===(F=_(e))&&M?M.p(e,t):(M.d(1),M=F(e),M&&(M.c(),M.m(l,null))),4&t[0]&&ee(w,e[2]),73728&t[0]&&k(r,"width",e[13]?"100%":e[16]),139264&t[0]&&k(r,"height",e[13]?"100%":e[17]),8320&t[0]&&k(r,"max-width",e[13]?"none":e[7].width+"px"),8320&t[0]&&k(r,"max-height",e[13]?"none":e[7].height+100+"px"),16384&t[0]&&k(i,"width",e[14]),32768&t[0]&&k(i,"height",e[15]),8192&t[0]&&$(i,"FullsScreenLayout",e[13])},d(e){e&&Z(i),n[60](null),M.d(),n[65](null),n[66](null),b=!1,j(x)}}}function fo(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w=n[20]("gamePage.deposit")+"",b="true"===n[1]&&wo(n);function x(e){return e[13]?xo:bo}let S=x(n),C=S(n);return{c(){i=X("div"),r=X("div"),a=X("iframe"),s=K(),l=X("div"),c=X("button"),u=J(w),d=K(),b&&b.c(),h=K(),C.c(),p=K(),m=X("p"),f=X("span"),g=J(n[2]),Q(a,"title","Games"),Q(a,"id","IframeGame"),Q(a,"class","GamesContainer"),Q(a,"aria-hidden","false"),z(a.src,o=n[7].launchUrl)||Q(a,"src",o),Q(c,"class","DepositButton"),Q(l,"class","BottomGame"),Q(m,"class","Time"),Q(r,"id","IframeGame"),k(r,"width",n[13]?"100%":n[16]),k(r,"height",n[13]?"100%":n[17]),k(r,"max-width",n[13]?"none":n[7].width+"px"),k(r,"max-height",n[13]?"none":n[7].height+100+"px"),Q(i,"id","IframeContainer"),k(i,"width",n[14]),k(i,"height",n[15]),$(i,"FullsScreenLayout",n[13])},m(e,t){V(e,i,t),W(i,r),W(r,a),n[53](a),W(r,s),W(r,l),W(l,c),W(c,u),W(l,d),b&&b.m(l,null),W(l,h),C.m(l,null),W(r,p),W(r,m),W(m,f),W(f,g),n[58](r),n[59](i),y||(v=q(c,"click",n[54]),y=!0)},p(e,t){128&t[0]&&!z(a.src,o=e[7].launchUrl)&&Q(a,"src",o),1048576&t[0]&&w!==(w=e[20]("gamePage.deposit")+"")&&ee(u,w),"true"===e[1]?b?b.p(e,t):(b=wo(e),b.c(),b.m(l,h)):b&&(b.d(1),b=null),S===(S=x(e))&&C?C.p(e,t):(C.d(1),C=S(e),C&&(C.c(),C.m(l,null))),4&t[0]&&ee(g,e[2]),73728&t[0]&&k(r,"width",e[13]?"100%":e[16]),139264&t[0]&&k(r,"height",e[13]?"100%":e[17]),8320&t[0]&&k(r,"max-width",e[13]?"none":e[7].width+"px"),8320&t[0]&&k(r,"max-height",e[13]?"none":e[7].height+100+"px"),16384&t[0]&&k(i,"width",e[14]),32768&t[0]&&k(i,"height",e[15]),8192&t[0]&&$(i,"FullsScreenLayout",e[13])},d(e){e&&Z(i),n[53](null),b&&b.d(),C.d(),n[58](null),n[59](null),y=!1,v()}}}function go(e){let n;function i(e){return e[4]?_o:e[10]?Co:So}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Z(n)}}}function yo(n){let i,r,a;return{c(){i=X("button"),i.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>',Q(i,"class","FullscreenButton")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[64]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function vo(n){let i,r,a;return{c(){i=X("button"),i.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>',Q(i,"class","FullscreenButton")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[63]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function wo(n){let i,r,a,o,s,l,c,u,d,h,p,m=n[20]("gamePage.break")+"",f=n[20]("gamePage.breakButton")+"";return{c(){i=X("div"),r=S("svg"),a=S("path"),o=K(),s=X("p"),l=J(m),c=K(),u=X("button"),d=J(f),Q(a,"stroke-linecap","round"),Q(a,"stroke-linejoin","round"),Q(a,"stroke-width","2"),Q(a,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),Q(r,"class","w-1 h-1"),Q(r,"fill","none"),Q(r,"stroke","white"),Q(r,"width","34px"),Q(r,"height","34px"),Q(r,"viewBox","0 0 24 24"),Q(r,"xmlns","http://www.w3.org/2000/svg"),Q(u,"class","Button"),Q(i,"class","PanicSection")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(i,o),W(i,s),W(s,l),W(i,c),W(i,u),W(u,d),h||(p=q(u,"click",n[55]),h=!0)},p(e,t){1048576&t[0]&&m!==(m=e[20]("gamePage.break")+"")&&ee(l,m),1048576&t[0]&&f!==(f=e[20]("gamePage.breakButton")+"")&&ee(d,f)},d(e){e&&Z(i),h=!1,p()}}}function bo(n){let i,r,a;return{c(){i=X("button"),i.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>',Q(i,"class","FullscreenButton")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[57]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function xo(n){let i,r,a;return{c(){i=X("button"),i.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>',Q(i,"class","FullscreenButton")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[56]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function So(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w,b,x=n[7].name+"",S=n[20]("gamePage.signIn")+"",C=n[20]("gamePage.register")+"";return{c(){i=X("div"),r=X("h3"),a=J(x),o=K(),s=X("img"),c=K(),u=X("div"),d=X("button"),h=J(S),p=K(),m=X("button"),f=J(C),g=K(),y=X("p"),v=J(n[2]),z(s.src,l=n[7].thumbnail)||Q(s,"src",l),Q(s,"class","GameThumbnail"),Q(s,"alt","game thumbnail"),Q(s,"loading","lazy"),Q(d,"class","LoginButton"),Q(m,"class","RegisterButton"),Q(u,"class","ButtonsContainer"),Q(i,"class","GameDetails")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(i,o),W(i,s),W(i,c),W(i,u),W(u,d),W(d,h),W(u,p),W(u,m),W(m,f),W(i,g),W(i,y),W(y,v),w||(b=[q(d,"click",n[51]),q(m,"click",n[52])],w=!0)},p(e,t){128&t[0]&&x!==(x=e[7].name+"")&&ee(a,x),128&t[0]&&!z(s.src,l=e[7].thumbnail)&&Q(s,"src",l),1048576&t[0]&&S!==(S=e[20]("gamePage.signIn")+"")&&ee(h,S),1048576&t[0]&&C!==(C=e[20]("gamePage.register")+"")&&ee(f,C),4&t[0]&&ee(v,e[2])},d(e){e&&Z(i),w=!1,j(b)}}}function Co(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w,b,x,S,C,_=n[7].name+"",F=n[20]("gamePage.signIn")+"",M=n[20]("gamePage.register")+"",k=n[20]("gamePage.playForFun")+"";return{c(){i=X("div"),r=X("h3"),a=J(_),o=K(),s=X("img"),c=K(),u=X("div"),d=X("button"),h=J(F),p=K(),m=X("button"),f=J(M),g=K(),y=X("button"),v=J(k),w=K(),b=X("p"),x=J(n[2]),z(s.src,l=n[7].thumbnail)||Q(s,"src",l),Q(s,"class","GameThumbnail"),Q(s,"alt","game thumbnail"),Q(s,"loading","lazy"),Q(d,"class","LoginButton"),Q(m,"class","RegisterButton"),Q(u,"class","ButtonsContainer"),Q(y,"class","FullWidthButton"),Q(i,"class","GameDetails")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(i,o),W(i,s),W(i,c),W(i,u),W(u,d),W(d,h),W(u,p),W(u,m),W(m,f),W(i,g),W(i,y),W(y,v),W(i,w),W(i,b),W(b,x),S||(C=[q(d,"click",n[48]),q(m,"click",n[49]),q(y,"click",n[50])],S=!0)},p(e,t){128&t[0]&&_!==(_=e[7].name+"")&&ee(a,_),128&t[0]&&!z(s.src,l=e[7].thumbnail)&&Q(s,"src",l),1048576&t[0]&&F!==(F=e[20]("gamePage.signIn")+"")&&ee(h,F),1048576&t[0]&&M!==(M=e[20]("gamePage.register")+"")&&ee(f,M),1048576&t[0]&&k!==(k=e[20]("gamePage.playForFun")+"")&&ee(v,k),4&t[0]&&ee(x,e[2])},d(e){e&&Z(i),S=!1,j(C)}}}function _o(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w,b,x,S,C=n[7].name+"",_=n[20]("gamePage.deposit")+"",F=n[20]("gamePage.playNow")+"",M="true"==n[0]&&Fo(n),k="true"===n[1]&&$o(n);return{c(){M&&M.c(),i=K(),r=X("div"),a=X("h3"),o=J(C),s=K(),l=X("img"),u=K(),d=X("div"),h=X("button"),p=J(_),m=K(),f=X("button"),g=J(F),y=K(),k&&k.c(),v=K(),w=X("p"),b=J(n[2]),z(l.src,c=n[7].thumbnail)||Q(l,"src",c),Q(l,"class","GameThumbnail"),Q(l,"alt","game thumbnail"),Q(l,"loading","lazy"),Q(h,"class","DepositButton"),Q(f,"class","PlayNowButton"),Q(d,"class","ButtonsContainer"),Q(r,"class","GameDetails")},m(e,t){M&&M.m(e,t),V(e,i,t),V(e,r,t),W(r,a),W(a,o),W(r,s),W(r,l),W(r,u),W(r,d),W(d,h),W(h,p),W(d,m),W(d,f),W(f,g),W(r,y),k&&k.m(r,null),W(r,v),W(r,w),W(w,b),x||(S=[q(h,"click",n[45]),q(f,"click",n[46])],x=!0)},p(e,t){"true"==e[0]?M?M.p(e,t):(M=Fo(e),M.c(),M.m(i.parentNode,i)):M&&(M.d(1),M=null),128&t[0]&&C!==(C=e[7].name+"")&&ee(o,C),128&t[0]&&!z(l.src,c=e[7].thumbnail)&&Q(l,"src",c),1048576&t[0]&&_!==(_=e[20]("gamePage.deposit")+"")&&ee(p,_),1048576&t[0]&&F!==(F=e[20]("gamePage.playNow")+"")&&ee(g,F),"true"===e[1]?k?k.p(e,t):(k=$o(e),k.c(),k.m(r,v)):k&&(k.d(1),k=null),4&t[0]&&ee(b,e[2])},d(e){M&&M.d(e),e&&Z(i),e&&Z(r),k&&k.d(),x=!1,j(S)}}}function Fo(e){let n;function i(e){return e[7].isFavored?ko:Mo}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Z(n)}}}function Mo(n){let i,r,a;return{c(){i=X("div"),i.innerHTML='<svg version="1.1" class="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" 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"></path></svg>',Q(i,"class","FavIconContainer")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[44]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function ko(n){let i,r,a;return{c(){i=X("div"),i.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" 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"></path></svg>',Q(i,"class","FavIconContainer")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[43]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function $o(n){let i,r,a,o,s,l,c,u,d,h,e,p,m,f=n[20]("gamePage.break")+"",g=n[20]("gamePage.breakButton")+"";return{c(){i=X("div"),r=X("div"),a=S("svg"),o=S("path"),s=K(),l=X("p"),c=J(f),u=K(),d=X("button"),h=J(g),Q(o,"stroke-linecap","round"),Q(o,"stroke-linejoin","round"),Q(o,"stroke-width","2"),Q(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),Q(a,"class","w-1 h-1"),Q(a,"fill","none"),Q(a,"stroke","white"),Q(a,"width","34px"),Q(a,"height","34px"),Q(a,"viewBox","0 0 24 24"),Q(a,"xmlns","http://www.w3.org/2000/svg"),Q(r,"class","PanicText"),Q(d,"class","Button"),Q(i,"class",e="PanicSection "+("PC"!==ji(n[21])?"PanicSectionMobile":""))},m(e,t){V(e,i,t),W(i,r),W(r,a),W(a,o),W(r,s),W(r,l),W(l,c),W(i,u),W(i,d),W(d,h),p||(m=q(d,"click",n[47]),p=!0)},p(e,t){1048576&t[0]&&f!==(f=e[20]("gamePage.break")+"")&&ee(c,f),1048576&t[0]&&g!==(g=e[20]("gamePage.breakButton")+"")&&ee(h,g)},d(e){e&&Z(i),p=!1,m()}}}function Eo(e){let n;function i(e){return e[6]?uo:e[5]?co:lo}let r=i(e),a=r(e);return{c(){a.c(),n=c(),this.c=Y},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Y,o:Y,d(e){a.d(e),e&&Z(n)}}}function To(t,e,a){let n;$e(t,Hi,e=>a(20,n=e));let i,r,o,s,l,c,u,d,h,p,m,f,g,{endpoint:y=""}=e,{datasource:v=""}=e,{lang:w=""}=e,{session:b=""}=e,{userid:x=""}=e,{clientstyling:S=""}=e,{clientstylingurl:C=""}=e,{favorites:_=""}=e,{loginurl:F=""}=e,{registerurl:M=""}=e,{depositurl:k=""}=e,{loginevent:$=""}=e,{registerevent:E=""}=e,{depositevent:T=""}=e,{clockformat:L=""}=e,{haspanicbutton:I="false"}=e,P=!1,A=!1,D=!0,R=!1,G=!1,O=!1,N=!1,B=window.navigator.userAgent,U=!1,H=[],Y=!1;var j,z;({withLocale:j,translations:z}={withLocale:"en",translations:{}}),Ii.subscribe(e=>{null==e&&(bi.set(z),Ii.set(j))}),Object.keys(ro).forEach(e=>{Si(e,ro[e])});const W=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",w),o&&0<o.length&&(a(4,P=!0),t.searchParams.append("_sid",o),t.searchParams.append("funMode","false")),e.launchUrl=t,e},V=n=>{switch(n.data.type){case"GameLaunchID":let e=new URL(y+"/casino/games/"+n.data.gameId);e.searchParams.append("language",w),e.searchParams.append("expand","vendor"),fetch(e.href).then(e=>e.json()).then(e=>{if(a(7,s=W(e[0])),s.launchUrl){a(8,R=!0),a(9,G=s.hasFunMode),a(10,O=s.hasAnonymousFunMode);let e=new URL(s.launchUrl);o&&0<o.length&&(a(4,P=!0),e.searchParams.append("_sid",o),e.searchParams.append("funMode",!1),e.searchParams.append("language",w),a(7,s.launchUrl=e,s))}},e=>{console.error("There was an error",e),a(5,A=!0)}).then(()=>{l&&J()}),window.postMessage({type:"RequestModalSize"},window.location.href);break;case"LaunchGameFrame":X(n.data.gameId,n.data.gameFunMode);break;case"ModalClosed":setTimeout(()=>{a(8,R=!1)},500);break;case"UserSessionID":if(0<n.data.session.length){o=n.data.session,n.data.userID,a(4,P=!0);let t=setInterval(()=>{if(s){let e=new URL(s.launchUrl);e.searchParams.append("_sid",o),e.searchParams.append("funMode",!1),e.searchParams.append("language",w),a(7,s.launchUrl=e,s),clearInterval(t)}},250)}break;case"ModalSize":a(14,u=n.data.modalContainerSize.modalWidth),a(15,d=n.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":n.data.receivedFavoriteResults&&(H=n.data.receivedFavoriteResults.items)}},Z=e=>{s.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(7,s.isFavored=!1,s)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(7,s.isFavored=!0,s))},X=(e,n)=>{let t=new URL(y+"/casino/games/"+e);t.searchParams.append("language",w),fetch(t.href).then(e=>e.json()).then(e=>{var t;a(7,s=W(e[0])),s.launchUrl&&(a(10,O=s.hasAnonymousFunMode),a(9,G=n),a(8,R=!0),a(7,s.isFavored=(t=s.id,-1!==H.findIndex(e=>e.id==t)),s))})};let J=()=>{let e=getComputedStyle(l),t=getComputedStyle(c),n=parseInt(e.width.slice(0,-2)),i=parseInt(e.height.slice(0,-2));var r=s.width/(s.height+100);h=parseInt(t.width),p=parseInt(t.height),i<n/r?(p=i,h=i*r):(h=n,p=n/r),a(16,m=Math.floor(h)+"px"),a(17,f=Math.floor(p)+"px")};const K=e=>{var t;Y?(t={url:e.launchUrl,id:e.id,vendor:e.vendor.name},so("OPEN_GAME",t)):window.open(e.launchUrl,"_blank")},q=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:R},window.location.href),R&&(l&&J(),window.addEventListener("ModalSize",V,!1))},Q=()=>{$&&(window.postMessage({type:$,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),F&&(window.location=F)},ee=()=>{E&&(window.postMessage({type:E,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),M&&(window.location=M)},te=()=>{T&&(window.postMessage({type:T},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),k&&(window.location=k)};function ne(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!N||ie()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ne,!1),document.addEventListener("mozfullscreenchange",ne,!1),document.addEventListener("fullscreenchange",ne,!1),document.addEventListener("MSFullscreenChange",ne,!1));const ie=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(N?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),a(13,N=!1)):(l.requestFullscreen?l.requestFullscreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.msRequestFullscreen&&l.msRequestFullscreen(),a(13,N=!0)))},re=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},ae=setInterval(()=>{a(2,i=L?dr().format(L):dr().format("LTS"))},100);return Ee(()=>(window.addEventListener("resize",q,!1),window.addEventListener("message",V,!1),Y=!!oo(B),()=>{window.removeEventListener("resize",q),window.removeEventListener("message",V),clearInterval(ae)})),t.$$set=e=>{"endpoint"in e&&a(29,y=e.endpoint),"datasource"in e&&a(30,v=e.datasource),"lang"in e&&a(31,w=e.lang),"session"in e&&a(32,b=e.session),"userid"in e&&a(33,x=e.userid),"clientstyling"in e&&a(34,S=e.clientstyling),"clientstylingurl"in e&&a(35,C=e.clientstylingurl),"favorites"in e&&a(0,_=e.favorites),"loginurl"in e&&a(36,F=e.loginurl),"registerurl"in e&&a(37,M=e.registerurl),"depositurl"in e&&a(38,k=e.depositurl),"loginevent"in e&&a(39,$=e.loginevent),"registerevent"in e&&a(40,E=e.registerevent),"depositevent"in e&&a(41,T=e.depositevent),"clockformat"in e&&a(42,L=e.clockformat),"haspanicbutton"in e&&a(1,I=e.haspanicbutton)},t.$$.update=()=>{var e;1610612736&t.$$.dirty[0]|1&t.$$.dirty[1]&&y&&v&&w&&(e=w,Ii.set(e),a(6,D=!1),Yi(B)&&a(18,U=!0)),536870912&t.$$.dirty[0]|6&t.$$.dirty[1]&&b&&x&&y&&zi(y,b).then(e=>{o=e.Guid,a(4,P=!0)},e=>{a(4,P=!1),console.error("err on session",e)}),8&t.$$.dirty[1]&&S&&(()=>{let e=document.createElement("style");e.innerHTML=S,g.appendChild(e)})(),16&t.$$.dirty[1]&&C&&(()=>{let t=document.createElement("style");var e;C&&(e=new URL(C),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,g&&setTimeout(()=>{g.appendChild(t)},1)}))})()},[_,I,i,r,P,A,D,s,R,G,O,l,c,N,u,d,m,f,U,g,n,B,Z,K,Q,ee,te,ie,re,y,v,w,b,x,S,C,F,M,k,$,E,T,L,()=>Z(s.id),()=>Z(s.id),()=>te(),()=>{K(s)},()=>re(),()=>Q(),()=>ee(),()=>{K(s)},()=>Q(),()=>ee(),function(e){Te[e?"unshift":"push"](()=>{r=e,a(3,r)})},()=>te(),()=>re(),()=>ie(),()=>ie(),function(e){Te[e?"unshift":"push"](()=>{c=e,a(12,c)})},function(e){Te[e?"unshift":"push"](()=>{l=e,a(11,l)})},function(e){Te[e?"unshift":"push"](()=>{r=e,a(3,r)})},()=>Q(),()=>ee(),()=>ie(),()=>ie(),function(e){Te[e?"unshift":"push"](()=>{c=e,a(12,c)})},function(e){Te[e?"unshift":"push"](()=>{l=e,a(11,l)})},()=>Q(),()=>ee(),function(e){Te[e?"unshift":"push"](()=>{g=e,a(19,g)})}]}function Lo(n){let i,r,a,o,s,l,c,t,u,d,h;return{c(){i=X("div"),r=X("div"),a=X("span"),a.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=K(),s=X("slot"),Q(a,"class","FilterModalCloseBtn"),Q(a,"role","button"),Q(r,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),Q(i,"class","FilterModalWindow"),Q(i,"id","FilterModal"),G(()=>n[14].call(i))},m(e,t){V(e,i,t),W(i,r),W(r,a),W(r,o),W(r,s),n[13](i),c=F(i,n[14].bind(i)),u=!0,d||(h=q(a,"click",n[7]),d=!0)},p(e,t){n=e,(!u||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&Q(r,"class",l)},i(e){u||(G(()=>{t=t||le(i,eo,{transitionDuration:n[1]},!0),t.run(1)}),u=!0)},o(e){t=t||le(i,eo,{transitionDuration:n[1]},!1),t.run(0),u=!1},d(e){e&&Z(i),n[13](null),c(),e&&t&&t.end(),d=!1,h()}}}function Io(n){let i,r,a=n[0]&&Lo(n);return{c(){i=X("div"),a&&a.c(),this.c=Y},m(e,t){V(e,i,t),a&&a.m(i,null),n[15](i),r=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&ae(a,1)):(a=Lo(e),a.c(),ae(a,1),a.m(i,null)):a&&(ie(),oe(a,1,1,()=>{a=null}),re())},i(e){r||(ae(a),r=!0)},o(e){oe(a),r=!1},d(e){e&&Z(i),a&&a.d(),n[15](null)}}}function Po(e,t,n){let i,r,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,m=window.navigator.userAgent,f=!1;const g=()=>{n(0,s=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},y=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&&(g(),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,r.appendChild(t)})};return Ee(()=>(window.addEventListener("message",y,!1),Yi(m)&&n(2,f=!0),()=>{window.removeEventListener("message",y)})),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,u=e.userid),"clientstyling"in e&&n(10,d=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint)},e.$$.update=()=>{4864&e.$$.dirty&&c&&u&&p&&zi(p,c).then(e=>{},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{i.appendChild(e)})})(),2048&e.$$.dirty&&h&&v(),2049&e.$$.dirty&&s&&h&&v()},[s,l,f,i,r,void 0,void 0,g,c,u,d,h,p,function(e){Te[e?"unshift":"push"](()=>{i=e,n(3,i)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){Te[e?"unshift":"push"](()=>{r=e,n(4,r)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends de{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'}.BottomGame{padding-left:60px;padding-right:60px;padding-bottom:15px;min-height:85px;background-color:#14143B;display:flex;justify-content:space-between;align-items:center}.DepositButton,.PlayNowButton{border:none;width:129px;height:60px;background-color:#28A745;color:white;border-radius:2px;cursor:pointer}.PlayNowButton{background-color:#D0046C}.GameThumbnail{border-radius:2px;width:270px;height:180px}.FullscreenButton{border-radius:2px;border:none;width:60px;height:60px;background-color:#D0046C;float:right;margin-top:20px}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:#fff;font-size:26px}.ButtonsContainer{width:275px;margin-top:20px;display:flex;flex-direction:row;justify-content:space-between}.RegisterButton{color:#ffffff;background-color:#D0046C;border-radius:2px;border:none;width:129px;height:60px}.LoginButton{color:#D0046C;background-color:#07072A;border-radius:2px;border:1px solid #D0046C;width:129px;height:60px}.FullWidthButton{color:#D0046C;background-color:#07072A;border-radius:2px;border:1px solid #D0046C;width:100%;height:60px;margin-top:20px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:60px;margin:20px 0 0 0;display:flex;align-items:center;justify-content:center}svg{fill:#ffffff}p{color:white}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:center}#IframeGame{width:100%;height:100%}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:47px;left:47px;cursor:pointer}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicText{display:flex;align-items:center}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection svg{fill:none}.PanicSection p{font-size:16px;color:#fff}.PanicSection .Button{border-radius:2px;border:1px solid #D0046C;background-color:#D0046C;width:240px;height:60px;color:#fff;cursor:pointer}</style>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},To,Eo,t,{endpoint:29,datasource:30,lang:31,session:32,userid:33,clientstyling:34,clientstylingurl:35,favorites:0,loginurl:36,registerurl:37,depositurl:38,loginevent:39,registerevent:40,depositevent:41,clockformat:42,haspanicbutton:1},null,[-1,-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[31]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[32]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[33]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[34]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[35]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),U()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$$set({loginurl:e}),U()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$$set({registerurl:e}),U()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$$set({depositurl:e}),U()}get loginevent(){return this.$$.ctx[39]}set loginevent(e){this.$$set({loginevent:e}),U()}get registerevent(){return this.$$.ctx[40]}set registerevent(e){this.$$set({registerevent:e}),U()}get depositevent(){return this.$$.ctx[41]}set depositevent(e){this.$$set({depositevent:e}),U()}get clockformat(){return this.$$.ctx[42]}set clockformat(e){this.$$set({clockformat:e}),U()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),U()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends de{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:10;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>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Po,Io,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12},null),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),U()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),U()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),U()}});const Ao={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},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:"Filtrer par",filterModalSubtitle:"Vous pouvez sélectionner plusieurs fournisseurs",filterClear:"Eclaircir",filterApply:"Appliquer"}},es:{filters:{loading:"Cargando ...",filterModalTitle:"Filtrado por",filterModalSubtitle:"Puede seleccionar varios proveedores",filterClear:"Despejar",filterApply:"Solicitar"}},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:"A carregar",filterModalTitle:"Filtrar",filterModalSubtitle:"Escolha múltipla possível",filterClear:"Limpar filtro",filterApply:"Feito"}},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 Do(e,t,n){const i=e.slice();return i[32]=t[n],i}function Ro(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w,b,x,S=n[6]("filters.filterModalTitle")+"",C=n[6]("filters.filterModalSubtitle")+"",_=n[6]("filters.filterApply")+"",F=n[0]&&Oo(n),M=n[3]&&Uo(n);return{c(){i=X("div"),r=X("section"),a=X("div"),o=X("h4"),s=J(S),l=K(),c=X("h5"),u=J(C),d=K(),h=X("section"),F&&F.c(),p=K(),m=X("section"),M&&M.c(),f=K(),g=X("div"),y=J(_),Q(o,"class","FilterHeaderTitle"),Q(c,"class","FilterHeaderSubtitle"),Q(a,"class","FilterHeaderDetails"),Q(r,"class","FilterHeaderSection"),Q(h,"class","FilterContentSection"),Q(g,"class",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),Q(m,"class","FilterFooterSection"),Q(i,"class",w="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){V(e,i,t),W(i,r),W(r,a),W(a,o),W(o,s),W(a,l),W(a,c),W(c,u),W(i,d),W(i,h),F&&F.m(h,null),W(i,p),W(i,m),M&&M.m(m,null),W(m,f),W(m,g),W(g,y),b||(x=q(g,"click",n[19]),b=!0)},p(e,t){64&t[0]&&S!==(S=e[6]("filters.filterModalTitle")+"")&&ee(s,S),64&t[0]&&C!==(C=e[6]("filters.filterModalSubtitle")+"")&&ee(u,C),e[0]?F?F.p(e,t):(F=Oo(e),F.c(),F.m(h,null)):F&&(F.d(1),F=null),e[3]?M?M.p(e,t):(M=Uo(e),M.c(),M.m(m,f)):M&&(M.d(1),M=null),64&t[0]&&_!==(_=e[6]("filters.filterApply")+"")&&ee(y,_),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&Q(g,"class",v),2&t[0]&&w!==(w="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&Q(i,"class",w)},d(e){e&&Z(i),F&&F.d(),M&&M.d(),b=!1,x()}}}function Go(e){let n;return{c(){n=X("div"),Q(n,"class","lds-dual-ring")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function Oo(t){let r,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Bo(Do(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);V(t,r,n)},p(t,n){if(129&n[0]){let e;for(a=t[0],e=0;e<a.length;e+=1){var i=Do(t,a,e);o[e]?o[e].p(i,n):(o[e]=Bo(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){m(o,e),e&&Z(r)}}}function No(){let n;return{c(){n=X("div"),n.innerHTML='<div class="CheckMark"></div>',Q(n,"class","FilterIconContainer")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function Bo(n){let i,r,a,o,s,l,c,u,d,h=n[32].isFilterSelected&&No();function p(){return n[17](n[32])}return{c(){i=X("div"),r=X("img"),s=K(),h&&h.c(),l=K(),Q(r,"class","VendorImage"),z(r.src,a=n[32].image)||Q(r,"src",a),Q(r,"alt",o=n[32].name),Q(i,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){V(e,i,t),W(i,r),W(i,s),h&&h.m(i,null),W(i,l),u||(d=q(i,"click",p),u=!0)},p(e,t){n=e,1&t[0]&&!z(r.src,a=n[32].image)&&Q(r,"src",a),1&t[0]&&o!==(o=n[32].name)&&Q(r,"alt",o),n[32].isFilterSelected?h||(h=No(),h.c(),h.m(i,l)):h&&(h.d(1),h=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&Q(i,"class",c)},d(e){e&&Z(i),h&&h.d(),u=!1,d()}}}function Uo(e){let n,i=e[3].length&&Ho(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){e[3].length?i?i.p(e,t):(i=Ho(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Z(n)}}}function Ho(n){let i,r,a,o,s=n[6]("filters.filterClear")+"";return{c(){i=X("div"),r=J(s),Q(i,"class","ClearFiltersButton")},m(e,t){V(e,i,t),W(i,r),a||(o=q(i,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ee(r,s)},d(e){e&&Z(i),a=!1,o()}}}function Yo(n){let i;function r(e){return e[4]?Go:Ro}let a=r(n),o=a(n);return{c(){i=X("div"),o.c(),this.c=Y},m(e,t){V(e,i,t),o.m(i,null),n[20](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(i,null)))},i:Y,o:Y,d(e){e&&Z(i),o.d(),n[20](null)}}}function jo(e,t,r){let n;$e(e,Hi,e=>r(6,n=e));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,h=[],p=!1,m=window.navigator.userAgent,f=!1,g="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),v=[],w={},b=!1;w[g]&&(w={[g]:[]});let x=[];var S,C;({withLocale:S,translations:C}={withLocale:"en",translations:{}}),Ii.subscribe(e=>{null==e&&(bi.set(C),Ii.set(S))}),Object.keys(Ao).forEach(e=>{Si(e,Ao[e])});const _=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(g&&(y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),y&&r(3,v=y[g])),!v){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[g]:v})):(e=JSON.parse(e),e[g]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}i=`${a}/casino/vendors?filter=games(groups=${g})&datasource=`+o,new Promise((t,n)=>{fetch(i).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:[]},g&&t[g]&&(e.isFilterSelected=0<=t[g].indexOf(e.id))}),r(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=v;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),[]),r(3,v=x),r(2,f=!1);break;case"AvailableVendors":r(0,h=t.data.venArray),r(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":r(0,h=t.data.venArray),h&&r(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":k(),window.postMessage({type:"ApplyFilters"},window.location.href),r(2,f=!1);break;case"ModalClosed":h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":g=t.data.categoryid,y&&g&&r(3,v=y[g]);break;case"ModalLoader":r(4,b=!1)}var i},F=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),r(2,f=!M(v,x))):(v.includes(t.id)&&r(3,v=v.filter(e=>e!==t.id)),r(2,f=!(!v.length&&M(v,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},M=(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},k=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),r(2,f=M(v,x)),r(3,v=[]),null!==e&&(e=JSON.parse(e),e[g]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},$=()=>{r(4,b=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[g]:v})):(e=JSON.parse(e),e[g]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return Ee(()=>(window.addEventListener("message",_,!1),Yi(m)&&r(1,p=!0),()=>{window.removeEventListener("message",_)})),e.$$set=e=>{"endpoint"in e&&r(10,a=e.endpoint),"datasource"in e&&r(11,o=e.datasource),"lang"in e&&r(12,s=e.lang),"session"in e&&r(13,l=e.session),"userid"in e&&r(14,c=e.userid),"clientstyling"in e&&r(15,u=e.clientstyling),"clientstylingurl"in e&&r(16,d=e.clientstylingurl)},e.$$.update=()=>{32768&e.$$.dirty[0]&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,i.appendChild(e)})(),65536&e.$$.dirty[0]&&d&&(()=>{let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,i&&setTimeout(()=>{i.appendChild(t)},1)})})()},[h,p,f,v,b,i,n,F,k,$,a,o,s,l,c,u,d,e=>F(e),()=>k(),()=>$(),function(e){Te[e?"unshift":"push"](()=>{i=e,r(5,i)})}]}function zo(e){let n,i,r,a,o,s,l,c,u,d,h,p,m,f,g;return{c(){n=X("div"),i=X("div"),r=X("div"),a=K(),o=X("div"),s=K(),l=X("casino-categories-slider"),c=K(),u=X("casino-page"),d=K(),h=X("casino-modal"),p=X("casino-game-page"),m=K(),f=X("casino-filter-modal"),g=X("casino-filter-page"),Q(r,"class","HeaderPlaceholder"),k(r,"height",e[24]+"px"),Q(o,"class","ScrollTop"),C(l,"endpoint",e[18]),C(l,"datasource",e[19]),C(l,"lang",e[20]),C(l,"session",e[1]),C(l,"userid",e[2]),C(l,"actionevent",e[16]),C(l,"mostplayed",e[10]),C(l,"mostplayedrounds",e[11]),C(l,"favorites",e[12]),C(l,"activecategory",e[0]),C(l,"clientstyling",e[3]),C(l,"clientstylingurl",e[4]),C(l,"containermaxwidth",e[14]),C(u,"session",e[1]),C(u,"userid",e[2]),C(u,"endpoint",e[18]),C(u,"datasource",e[19]),C(u,"lang",e[20]),C(u,"visiblegames","10"),C(u,"activecategory",e[0]),C(u,"alternativesearch",e[13]),C(u,"favorites",e[12]),C(u,"mostplayedrounds",e[11]),C(u,"mostplayed",e[10]),C(u,"clientstyling",e[3]),C(u,"clientstylingurl",e[4]),C(u,"lobbyid",e[6]),C(u,"containermaxwidth",e[14]),C(u,"haspanicbutton",e[15]),C(u,"livecasino",e[17]),C(p,"session",e[1]),C(p,"userid",e[2]),C(p,"endpoint",e[18]),C(p,"datasource",e[19]),C(p,"lang",e[20]),C(p,"loginevent",e[7]),C(p,"registerevent",e[8]),C(p,"depositevent",e[9]),C(p,"favorites",e[12]),C(p,"clientstyling",e[3]),C(p,"clientstylingurl",e[4]),C(p,"clockformat",e[5]),C(p,"haspanicbutton",e[15]),C(h,"session",e[1]),C(h,"userid",e[2]),C(h,"endpoint",e[18]),C(h,"datasource",e[19]),C(h,"lang",e[20]),C(h,"clientstyling",e[3]),C(h,"clientstylingurl",e[4]),C(g,"session",e[1]),C(g,"userid",e[2]),C(g,"endpoint",e[18]),C(g,"datasource",e[19]),C(g,"lang",e[20]),C(g,"clientstylingurl",e[4]),C(g,"clientstyling",e[3]),C(f,"clientstylingurl",e[4]),C(f,"session",e[1]),C(f,"userid",e[2]),C(f,"endpoint",e[18]),C(f,"datasource",e[19]),C(f,"lang",e[20]),C(f,"clientstyling",e[3]),Q(i,"class","WidgetsSection"),Q(n,"class","CasinoLobby")},m(e,t){V(e,n,t),W(n,i),W(i,r),W(i,a),W(i,o),W(i,s),W(i,l),W(i,c),W(i,u),W(i,d),W(i,h),W(h,p),W(i,m),W(i,f),W(f,g)},p(e,t){16777216&t[0]&&k(r,"height",e[24]+"px"),262144&t[0]&&C(l,"endpoint",e[18]),524288&t[0]&&C(l,"datasource",e[19]),1048576&t[0]&&C(l,"lang",e[20]),2&t[0]&&C(l,"session",e[1]),4&t[0]&&C(l,"userid",e[2]),65536&t[0]&&C(l,"actionevent",e[16]),1024&t[0]&&C(l,"mostplayed",e[10]),2048&t[0]&&C(l,"mostplayedrounds",e[11]),4096&t[0]&&C(l,"favorites",e[12]),1&t[0]&&C(l,"activecategory",e[0]),8&t[0]&&C(l,"clientstyling",e[3]),16&t[0]&&C(l,"clientstylingurl",e[4]),16384&t[0]&&C(l,"containermaxwidth",e[14]),2&t[0]&&C(u,"session",e[1]),4&t[0]&&C(u,"userid",e[2]),262144&t[0]&&C(u,"endpoint",e[18]),524288&t[0]&&C(u,"datasource",e[19]),1048576&t[0]&&C(u,"lang",e[20]),1&t[0]&&C(u,"activecategory",e[0]),8192&t[0]&&C(u,"alternativesearch",e[13]),4096&t[0]&&C(u,"favorites",e[12]),2048&t[0]&&C(u,"mostplayedrounds",e[11]),1024&t[0]&&C(u,"mostplayed",e[10]),8&t[0]&&C(u,"clientstyling",e[3]),16&t[0]&&C(u,"clientstylingurl",e[4]),64&t[0]&&C(u,"lobbyid",e[6]),16384&t[0]&&C(u,"containermaxwidth",e[14]),32768&t[0]&&C(u,"haspanicbutton",e[15]),131072&t[0]&&C(u,"livecasino",e[17]),2&t[0]&&C(p,"session",e[1]),4&t[0]&&C(p,"userid",e[2]),262144&t[0]&&C(p,"endpoint",e[18]),524288&t[0]&&C(p,"datasource",e[19]),1048576&t[0]&&C(p,"lang",e[20]),128&t[0]&&C(p,"loginevent",e[7]),256&t[0]&&C(p,"registerevent",e[8]),512&t[0]&&C(p,"depositevent",e[9]),4096&t[0]&&C(p,"favorites",e[12]),8&t[0]&&C(p,"clientstyling",e[3]),16&t[0]&&C(p,"clientstylingurl",e[4]),32&t[0]&&C(p,"clockformat",e[5]),32768&t[0]&&C(p,"haspanicbutton",e[15]),2&t[0]&&C(h,"session",e[1]),4&t[0]&&C(h,"userid",e[2]),262144&t[0]&&C(h,"endpoint",e[18]),524288&t[0]&&C(h,"datasource",e[19]),1048576&t[0]&&C(h,"lang",e[20]),8&t[0]&&C(h,"clientstyling",e[3]),16&t[0]&&C(h,"clientstylingurl",e[4]),2&t[0]&&C(g,"session",e[1]),4&t[0]&&C(g,"userid",e[2]),262144&t[0]&&C(g,"endpoint",e[18]),524288&t[0]&&C(g,"datasource",e[19]),1048576&t[0]&&C(g,"lang",e[20]),16&t[0]&&C(g,"clientstylingurl",e[4]),8&t[0]&&C(g,"clientstyling",e[3]),16&t[0]&&C(f,"clientstylingurl",e[4]),2&t[0]&&C(f,"session",e[1]),4&t[0]&&C(f,"userid",e[2]),262144&t[0]&&C(f,"endpoint",e[18]),524288&t[0]&&C(f,"datasource",e[19]),1048576&t[0]&&C(f,"lang",e[20]),8&t[0]&&C(f,"clientstyling",e[3])},d(e){e&&Z(n)}}}function Wo(e){let n,i;return{c(){n=X("p"),i=J(e[23]),k(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){V(e,n,t),W(n,i)},p(e,t){8388608&t[0]&&ee(i,e[23])},d(e){e&&Z(n)}}}function Vo(n){let i,r;function a(e){return e[22]?Wo:zo}let o=a(n),s=o(n);return{c(){i=X("div"),s.c(),this.c=Y,Q(i,"class",r=n[21]?"DisplayNone":"")},m(e,t){V(e,i,t),s.m(i,null),n[36](i)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(i,null))),2097152&t[0]&&r!==(r=e[21]?"DisplayNone":"")&&Q(i,"class",r)},i:Y,o:Y,d(e){e&&Z(i),s.d(),n[36](null)}}}function Zo(e,t,n){let i,r,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:u=""}=t,{userid:d=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:f=""}=t,{lobbyid:g=""}=t,{currency:y="EUR"}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:b=""}=t,{loginevent:x=""}=t,{registerevent:S=""}=t,{depositevent:C=""}=t,{mostplayed:_=""}=t,{mostplayedrounds:F=""}=t,{favorites:M=""}=t,{desktopoffset:k="0"}=t,{mobileoffset:$="0"}=t,{alternativesearch:E="false"}=t,{containermaxwidth:T=""}=t,{haspanicbutton:L="false"}=t,{activecategory:I="LOBBY"}=t,{actionevent:P=""}=t,{livecasino:A="false"}=t,D=!1,R=!1,G="Loading, please wait ...",O=window.navigator.userAgent,N=0,B=!1;var U,H;({withLocale:U,translations:H}={withLocale:"en",translations:{}}),Ii.subscribe(e=>{null==e&&(bi.set(H),Ii.set(U))});const Y=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":B=e.data.scrollTop,B&&N&&window.scrollTo({top:N});break;case"UserSessionID":e.data.session,e.data.userID;break;case"CategoryChange":n(0,I=e.data.item.id)}};return Ee(()=>(window.addEventListener("message",Y,!1),n(24,N="PC"===ji(O)?parseInt(k):parseInt($)),()=>{window.removeEventListener("message",Y)})),e.$$set=e=>{"endpoint"in e&&n(26,s=e.endpoint),"datasource"in e&&n(27,l=e.datasource),"lang"in e&&n(28,c=e.lang),"session"in e&&n(1,u=e.session),"userid"in e&&n(2,d=e.userid),"opsession"in e&&n(29,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,f=e.clockformat),"lobbyid"in e&&n(6,g=e.lobbyid),"currency"in e&&n(30,y=e.currency),"loginurl"in e&&n(31,v=e.loginurl),"registerurl"in e&&n(32,w=e.registerurl),"depositurl"in e&&n(33,b=e.depositurl),"loginevent"in e&&n(7,x=e.loginevent),"registerevent"in e&&n(8,S=e.registerevent),"depositevent"in e&&n(9,C=e.depositevent),"mostplayed"in e&&n(10,_=e.mostplayed),"mostplayedrounds"in e&&n(11,F=e.mostplayedrounds),"favorites"in e&&n(12,M=e.favorites),"desktopoffset"in e&&n(34,k=e.desktopoffset),"mobileoffset"in e&&n(35,$=e.mobileoffset),"alternativesearch"in e&&n(13,E=e.alternativesearch),"containermaxwidth"in e&&n(14,T=e.containermaxwidth),"haspanicbutton"in e&&n(15,L=e.haspanicbutton),"activecategory"in e&&n(0,I=e.activecategory),"actionevent"in e&&n(16,P=e.actionevent),"livecasino"in e&&n(17,A=e.livecasino)},e.$$.update=()=>{268435456&e.$$.dirty[0]&&c&&Wi(c),67108870&e.$$.dirty[0]&&u&&d&&s&&zi(s,u).then(e=>{},e=>{console.error("Error while checking the session - ",e)}),469767168&e.$$.dirty[0]&&s&&l&&c&&_&&M&&(s||(n(23,G="Endpoint is missing! Please provide a valid endpointURL."),n(22,R=!0),console.error(G)),l||(n(23,G="Datasource is missing! Please provide a valid datasource."),n(22,R=!0),console.error(G)),c&&2==c.length||(n(23,G="Language is missing! Please provide a valid language (alpha2code)"),n(22,R=!0),console.error(G)),Wi(c),n(18,i=s),n(19,r=l),n(20,a=c),n(22,R=!1)),e.$$.dirty[0],8&e.$$.dirty[0]&&p&&(()=>{let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)})(),16&e.$$.dirty[0]&&m&&(()=>{n(21,D=!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(21,D=!1)},500))})})()},[I,u,d,p,m,f,g,x,S,C,_,F,M,E,T,L,P,A,i,r,a,D,R,G,N,o,s,l,c,h,y,v,w,b,k,$,function(e){Te[e?"unshift":"push"](()=>{o=e,n(25,o)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends de{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'}.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:30px}.VendorBox{width:230px;height:125px;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}.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}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{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>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},jo,Yo,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}});class Xo extends de{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>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Zo,Vo,t,{endpoint:26,datasource:27,lang:28,session:1,userid:2,opsession:29,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:30,loginurl:31,registerurl:32,depositurl:33,loginevent:7,registerevent:8,depositevent:9,mostplayed:10,mostplayedrounds:11,favorites:12,desktopoffset:34,mobileoffset:35,alternativesearch:13,containermaxwidth:14,haspanicbutton:15,activecategory:0,actionevent:16,livecasino:17},null,[-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino"]}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),U()}get opsession(){return this.$$.ctx[29]}set opsession(e){this.$$set({opsession:e}),U()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),U()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),U()}get currency(){return this.$$.ctx[30]}set currency(e){this.$$set({currency:e}),U()}get loginurl(){return this.$$.ctx[31]}set loginurl(e){this.$$set({loginurl:e}),U()}get registerurl(){return this.$$.ctx[32]}set registerurl(e){this.$$set({registerurl:e}),U()}get depositurl(){return this.$$.ctx[33]}set depositurl(e){this.$$set({depositurl:e}),U()}get loginevent(){return this.$$.ctx[7]}set loginevent(e){this.$$set({loginevent:e}),U()}get registerevent(){return this.$$.ctx[8]}set registerevent(e){this.$$set({registerevent:e}),U()}get depositevent(){return this.$$.ctx[9]}set depositevent(e){this.$$set({depositevent:e}),U()}get mostplayed(){return this.$$.ctx[10]}set mostplayed(e){this.$$set({mostplayed:e}),U()}get mostplayedrounds(){return this.$$.ctx[11]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),U()}get favorites(){return this.$$.ctx[12]}set favorites(e){this.$$set({favorites:e}),U()}get desktopoffset(){return this.$$.ctx[34]}set desktopoffset(e){this.$$set({desktopoffset:e}),U()}get mobileoffset(){return this.$$.ctx[35]}set mobileoffset(e){this.$$set({mobileoffset:e}),U()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),U()}get containermaxwidth(){return this.$$.ctx[14]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),U()}get haspanicbutton(){return this.$$.ctx[15]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),U()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),U()}get actionevent(){return this.$$.ctx[16]}set actionevent(e){this.$$set({actionevent:e}),U()}get livecasino(){return this.$$.ctx[17]}set livecasino(e){this.$$set({livecasino:e}),U()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",Xo),Xo});
32
+ `},$,E,T,L,I,B,U,Y,z,W,V,Z,X,se,le,function(e){Te[e?"unshift":"push"](()=>{i=e,o(16,i)})},()=>de(G),()=>ue(G),()=>de(G),function(e){Te[e?"unshift":"push"](()=>{F=e,o(11,F)})},function(e){Te[e?"unshift":"push"](()=>{r=e,o(17,r)})}]}function Br(e,t,n){const i=e.slice();return i[75]=t[n],i[77]=n,i}function Ur(e,t,n){const i=e.slice();return i[75]=t[n],i[78]=t,i[77]=n,i}function Hr(e,t,n){const i=e.slice();return i[75]=t[n],i[77]=n,i}function Yr(e){let n;function i(e){return e[11]?Vr:e[21]?Wr:void 0}let r=i(e),a=r&&r(e);return{c(){n=X("div"),a&&a.c()},m(e,t){V(e,n,t),a&&a.m(n,null)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a&&a.d(1),a=r&&r(e),a&&(a.c(),a.m(n,null)))},d(e){e&&Z(n),a&&a.d()}}}function jr(e){let n,i,r;function a(e){return e[15]?da:e[12].length?ca:ua}let o=a(e),s=o(e);function l(e){return e[12]?pa:ha}let c=l(e),u=c(e);return{c(){n=X("div"),i=X("div"),s.c(),r=K(),u.c(),Q(i,"class","CasinoGamesHeader Searched "+(Yi(e[26])?"CasinoGamesHeaderMobile":"")),Q(n,"class","CasinoGamesContainer")},m(e,t){V(e,n,t),W(n,i),s.m(i,null),W(n,r),u.m(n,null)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(i,null))),c===(c=l(e))&&u?u.p(e,t):(u.d(1),u=c(e),u&&(u.c(),u.m(n,null)))},d(e){e&&Z(n),s.d(),u.d()}}}function zr(e){let n;function i(e){return e[17]?ya:ga}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r!==(r=i(e))&&(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Z(n)}}}function Wr(n){let i,r,a,o,s,l,c,u=n[24].name+"";function d(e){return e[24]?Xr:Zr}let h=d(n),p=h(n);return{c(){i=X("div"),r=X("div"),a=X("h3"),o=J(u),s=K(),l=X("ul"),p.c(),Q(a,"class","CategoryName"),Q(r,"class","CasinoGamesHeader"),Q(l,"class",c=(0!=n[24].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}"),Q(i,"class","CasinoGamesContainer")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(a,o),n[43](a),W(i,s),W(i,l),p.m(l,null),n[44](l)},p(e,t){16777216&t[0]&&u!==(u=e[24].name+"")&&ee(o,u),h===(h=d(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(l,null))),16777216&t[0]&&c!==(c=(0!=e[24].items.length?"CasinoGamesGrid":"")+" 'GamesListIncreasedGap'}")&&Q(l,"class",c)},d(e){e&&Z(i),n[43](null),p.d(),n[44](null)}}}function Vr(n){let i,r,a,o,s,l,c=n[11].name+"",u=n[13]&&aa(n);function d(e){return 0!==e[12].length?sa:oa}let h=d(n),p=h(n);return{c(){i=X("div"),r=X("div"),a=X("h3"),o=J(c),s=K(),u&&u.c(),l=K(),p.c(),Q(a,"class","CategoryName"),Q(r,"class","CasinoGamesHeader"),Q(i,"class","CasinoGamesContainer")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(a,o),n[39](a),W(r,s),u&&u.m(r,null),W(i,l),p.m(i,null)},p(e,t){2048&t[0]&&c!==(c=e[11].name+"")&&ee(o,c),e[13]?u?u.p(e,t):(u=aa(e),u.c(),u.m(r,null)):u&&(u.d(1),u=null),h===(h=d(e))&&p?p.p(e,t):(p.d(1),p=h(e),p&&(p.c(),p.m(i,null)))},d(e){e&&Z(i),n[39](null),u&&u.d(),p.d()}}}function Zr(e){let n;return{c(){n=X("p"),n.textContent="Waiting"},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function Xr(t){let i,r=t[24].items,a=[];for(let e=0;e<r.length;e+=1)a[e]=ra(Br(t,r,e));let o=null;return r.length||(o=Jr(t)),{c(){for(let e=0;e<a.length;e+=1)a[e].c();i=c(),o&&o.c()},m(t,n){for(let e=0;e<a.length;e+=1)a[e].m(t,n);V(t,i,n),o&&o.m(t,n)},p(t,n){if(85983743&n[0]){let e;for(r=t[24].items,e=0;e<r.length;e+=1){const o=Br(t,r,e);a[e]?a[e].p(o,n):(a[e]=ra(o),a[e].c(),a[e].m(i.parentNode,i))}for(;e<a.length;e+=1)a[e].d(1);a.length=r.length,!r.length&&o?o.p(t,n):r.length?o&&(o.d(1),o=null):(o=Jr(t),o.c(),o.m(i.parentNode,i))}},d(e){m(a,e),e&&Z(i),o&&o.d(e)}}}function Jr(e){let n,i,r,a,o,s,l,t=(u=e,Yi(u[26])?qr:Kr),c=t(e);var u;return{c(){n=X("p"),i=S("svg"),r=S("path"),a=K(),o=X("span"),o.textContent="You do not have any favored games yet.",s=K(),c.c(),l=K(),k(r,"fill","white"),Q(r,"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"),Q(i,"version","1.1"),Q(i,"class","UnfavoredIcon"),Q(i,"xmlns","http://www.w3.org/2000/svg"),Q(i,"xmlns:xlink","http://www.w3.org/1999/xlink"),Q(i,"x","50px"),Q(i,"y","50px"),Q(i,"viewBox","0 0 512.001 512.001"),k(i,"enable-background","new 0 0 512.001 512.001"),Q(i,"xml:space","preserve"),Q(o,"class","NoFavoriteText NoFavoriteTextHighlight"),Q(n,"class","NoFavoriteGames "+(Yi(e[26])?"NoFavoriteGamesMobile":""))},m(e,t){V(e,n,t),W(n,i),W(i,r),W(n,a),W(n,o),W(n,s),c.m(n,null),W(n,l)},p:Y,d(e){e&&Z(n),c.d()}}}function Kr(e){let n;return{c(){n=X("span"),n.textContent="You can now add games to favorites by clicking on the star icon located on the game thumbnail.",Q(n,"class","NoFavoriteText")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function qr(e){let n;return{c(){n=X("span"),n.textContent="You can now add games to favorites by tapping on the star icon located on the game page.",Q(n,"class","NoFavoriteText")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function Qr(e){let n,i=e[75].gameModel.isFavorite&&ea(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){e[75].gameModel.isFavorite?i?i.p(e,t):(i=ea(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Z(n)}}}function ea(e){let n,i=function(e){let n,i,r;function a(e,t){return 16777216&t[0]&&(i=null),null==n&&(n=!!Yi(e[26])),n?na:(null==i&&(i=!!e[75].gameModel.platform.includes("PC")),i?ta:void 0)}let o=a(e,[-1,-1,-1]),s=o&&o(e);return{c(){s&&s.c(),r=c()},m(e,t){s&&s.m(e,t),V(e,r,t)},p(e,t){o===(o=a(e,t))&&s?s.p(e,t):(s&&s.d(1),s=o&&o(e),s&&(s.c(),s.m(r.parentNode,r)))},d(e){s&&s.d(e),e&&Z(r)}}}(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){i.p(e,t)},d(e){i&&i.d(e),e&&Z(n)}}}function ta(e){let n,i,r,a,o,s,l,c,u,d,h,p;return{c(){n=X("casino-game-thumbnail"),C(n,"class",i=""+(wa+(e[75].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"currency",e[7]),C(n,"favorites",e[4]),C(n,"gamethumbnail",r=e[75].gameModel.thumbnail),C(n,"gamename",a=e[75].gameModel.name),C(n,"gamevendor",o=e[75].gameModel.vendor.name),C(n,"gameisnew",s=e[75].gameModel.isNew),C(n,"gamepopularity",l=e[75].gameModel.popularity),C(n,"gamecellsize",c=e[75].gameModel.cellSize),C(n,"gameid",u=e[75].gameModel.id),C(n,"gamefunmode",d=e[75].gameModel.hasFunMode),C(n,"gamefavorite",h=e[75].gameModel.isFavorite),C(n,"showfavoredcategory",e[21]),C(n,"livelobbyendpoint",p=e[75].gameModel.details?e[75].gameModel.href:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8])},m(e,t){V(e,n,t)},p(e,t){16777216&t[0]&&i!==(i=""+(wa+(e[75].cellSize||"1x1")))&&C(n,"class",i),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),128&t[0]&&C(n,"currency",e[7]),16&t[0]&&C(n,"favorites",e[4]),16777216&t[0]&&r!==(r=e[75].gameModel.thumbnail)&&C(n,"gamethumbnail",r),16777216&t[0]&&a!==(a=e[75].gameModel.name)&&C(n,"gamename",a),16777216&t[0]&&o!==(o=e[75].gameModel.vendor.name)&&C(n,"gamevendor",o),16777216&t[0]&&s!==(s=e[75].gameModel.isNew)&&C(n,"gameisnew",s),16777216&t[0]&&l!==(l=e[75].gameModel.popularity)&&C(n,"gamepopularity",l),16777216&t[0]&&c!==(c=e[75].gameModel.cellSize)&&C(n,"gamecellsize",c),16777216&t[0]&&u!==(u=e[75].gameModel.id)&&C(n,"gameid",u),16777216&t[0]&&d!==(d=e[75].gameModel.hasFunMode)&&C(n,"gamefunmode",d),16777216&t[0]&&h!==(h=e[75].gameModel.isFavorite)&&C(n,"gamefavorite",h),2097152&t[0]&&C(n,"showfavoredcategory",e[21]),16777216&t[0]&&p!==(p=e[75].gameModel.details?e[75].gameModel.href:"")&&C(n,"livelobbyendpoint",p),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8])},d(e){e&&Z(n)}}}function na(e){let n,i=e[75].gameModel.platform.includes("iPad")||e[75].gameModel.platform.includes("iPhone")||e[75].gameModel.platform.includes("Android"),r=i&&ia(e);return{c(){r&&r.c(),n=c()},m(e,t){r&&r.m(e,t),V(e,n,t)},p(e,t){16777216&t[0]&&(i=e[75].gameModel.platform.includes("iPad")||e[75].gameModel.platform.includes("iPhone")||e[75].gameModel.platform.includes("Android")),i?r?r.p(e,t):(r=ia(e),r.c(),r.m(n.parentNode,n)):r&&(r.d(1),r=null)},d(e){r&&r.d(e),e&&Z(n)}}}function ia(e){let n,i,r,a,o,s,l,c,u,d,h,p;return{c(){n=X("casino-game-thumbnail"),C(n,"class",i=""+(wa+(e[75].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"currency",e[7]),C(n,"favorites",e[4]),C(n,"gamethumbnail",r=e[75].gameModel.thumbnail),C(n,"gamename",a=e[75].gameModel.name),C(n,"gamevendor",o=e[75].gameModel.vendor.name),C(n,"gameisnew",s=e[75].gameModel.isNew),C(n,"gamepopularity",l=e[75].gameModel.popularity),C(n,"gamecellsize",c=e[75].gameModel.cellSize),C(n,"gameid",u=e[75].gameModel.id),C(n,"gamefunmode",d=e[75].gameModel.hasFunMode),C(n,"gamefavorite",h=e[75].gameModel.isFavorite),C(n,"showfavoredcategory",e[21]),C(n,"livelobbyendpoint",p=e[75].gameModel.details?e[75].gameModel.href:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8])},m(e,t){V(e,n,t)},p(e,t){16777216&t[0]&&i!==(i=""+(wa+(e[75].cellSize||"1x1")))&&C(n,"class",i),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),128&t[0]&&C(n,"currency",e[7]),16&t[0]&&C(n,"favorites",e[4]),16777216&t[0]&&r!==(r=e[75].gameModel.thumbnail)&&C(n,"gamethumbnail",r),16777216&t[0]&&a!==(a=e[75].gameModel.name)&&C(n,"gamename",a),16777216&t[0]&&o!==(o=e[75].gameModel.vendor.name)&&C(n,"gamevendor",o),16777216&t[0]&&s!==(s=e[75].gameModel.isNew)&&C(n,"gameisnew",s),16777216&t[0]&&l!==(l=e[75].gameModel.popularity)&&C(n,"gamepopularity",l),16777216&t[0]&&c!==(c=e[75].gameModel.cellSize)&&C(n,"gamecellsize",c),16777216&t[0]&&u!==(u=e[75].gameModel.id)&&C(n,"gameid",u),16777216&t[0]&&d!==(d=e[75].gameModel.hasFunMode)&&C(n,"gamefunmode",d),16777216&t[0]&&h!==(h=e[75].gameModel.isFavorite)&&C(n,"gamefavorite",h),2097152&t[0]&&C(n,"showfavoredcategory",e[21]),16777216&t[0]&&p!==(p=e[75].gameModel.details?e[75].gameModel.href:"")&&C(n,"livelobbyendpoint",p),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8])},d(e){e&&Z(n)}}}function ra(e){let n,i=e[75].gameModel&&Qr(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){e[75].gameModel?i?i.p(e,t):(i=Qr(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Z(n)}}}function aa(n){let i,r,a,o,s,l,c,u,d=n[25]("gamesCategorySection.viewAll")+"",h=n[11].games.total+"";return{c(){i=X("a"),r=X("span"),a=J(d),o=J(" ("),s=J(h),l=J(")"),Q(r,"class","CategoryLoadMore"),Q(i,"class","CategoryNameLink")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(r,o),W(r,s),W(r,l),c||(u=q(i,"click",n[40]),c=!0)},p(e,t){33554432&t[0]&&d!==(d=e[25]("gamesCategorySection.viewAll")+"")&&ee(a,d),2048&t[0]&&h!==(h=e[11].games.total+"")&&ee(s,h)},d(e){e&&Z(i),c=!1,u()}}}function oa(e){let n;return{c(){n=X("p"),n.textContent="You don't have any games in this category.",Q(n,"class","NoSearchResults")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function sa(n){let r,e,a=n[12],o=[];for(let e=0;e<a.length;e+=1)o[e]=la(Ur(n,a,e));return{c(){r=X("ul");for(let e=0;e<o.length;e+=1)o[e].c();Q(r,"class",e=(0===n[24].items.length&&n[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")},m(e,t){V(e,r,t);for(let e=0;e<o.length;e+=1)o[e].m(r,null);n[42](r)},p(t,n){if(142611455&n[0]){let e;for(a=t[12],e=0;e<a.length;e+=1){var i=Ur(t,a,e);o[e]?o[e].p(i,n):(o[e]=la(i),o[e].c(),o[e].m(r,null))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}18874368&n[0]&&e!==(e=(0===t[24].items.length&&t[21]?"":"CasinoGamesGrid")+" GamesListIncreasedGap")&&Q(r,"class",e)},d(e){e&&Z(r),m(o,e),n[42](null)}}}function la(e){let n,i=function(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g=n[77];const y=()=>n[41](i,g),v=()=>n[41](null,g);return{c(){i=X("casino-game-thumbnail"),C(i,"session",n[2]),C(i,"userid",n[3]),C(i,"lang",n[1]),C(i,"currency",n[7]),C(i,"class",r=""+(wa+(n[75].cellSize||"1x1"))),C(i,"favorites",n[4]),C(i,"gamethumbnail",a=n[75].thumbnail),C(i,"gamename",o=n[75].name),C(i,"gamevendor",s=n[75].vendor.name),C(i,"gameisnew",l=n[75].isNew),C(i,"gamepopularity",c=n[75].popularity),C(i,"gamecellsize",u=n[75].cellSize),C(i,"gameid",d=n[75].id),C(i,"gamefunmode",h=n[75].hasFunMode),C(i,"gamefavorite",p=n[75].isFavorite),C(i,"connectlive",m=1==n[27][n[75].id]?"connect":"disconnect"),C(i,"visibilityconnect",n[23]),C(i,"livelobbyendpoint",f=n[75].details?n[75].href:""),C(i,"clientstyling",n[5]),C(i,"clientstylingurl",n[6]),C(i,"endpoint",n[0]),C(i,"livecasino",n[8])},m(e,t){V(e,i,t),y()},p(e,t){n=e,4&t[0]&&C(i,"session",n[2]),8&t[0]&&C(i,"userid",n[3]),2&t[0]&&C(i,"lang",n[1]),128&t[0]&&C(i,"currency",n[7]),4096&t[0]&&r!==(r=""+(wa+(n[75].cellSize||"1x1")))&&C(i,"class",r),16&t[0]&&C(i,"favorites",n[4]),4096&t[0]&&a!==(a=n[75].thumbnail)&&C(i,"gamethumbnail",a),4096&t[0]&&o!==(o=n[75].name)&&C(i,"gamename",o),4096&t[0]&&s!==(s=n[75].vendor.name)&&C(i,"gamevendor",s),4096&t[0]&&l!==(l=n[75].isNew)&&C(i,"gameisnew",l),4096&t[0]&&c!==(c=n[75].popularity)&&C(i,"gamepopularity",c),4096&t[0]&&u!==(u=n[75].cellSize)&&C(i,"gamecellsize",u),4096&t[0]&&d!==(d=n[75].id)&&C(i,"gameid",d),4096&t[0]&&h!==(h=n[75].hasFunMode)&&C(i,"gamefunmode",h),4096&t[0]&&p!==(p=n[75].isFavorite)&&C(i,"gamefavorite",p),4096&t[0]&&m!==(m=1==n[27][n[75].id]?"connect":"disconnect")&&C(i,"connectlive",m),8388608&t[0]&&C(i,"visibilityconnect",n[23]),4096&t[0]&&f!==(f=n[75].details?n[75].href:"")&&C(i,"livelobbyendpoint",f),32&t[0]&&C(i,"clientstyling",n[5]),64&t[0]&&C(i,"clientstylingurl",n[6]),1&t[0]&&C(i,"endpoint",n[0]),256&t[0]&&C(i,"livecasino",n[8]),g!==n[77]&&(v(),g=n[77],y())},d(e){e&&Z(i),v()}}}(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){i.p(e,t)},d(e){i&&i.d(e),e&&Z(n)}}}function ca(e){let n,i,r=e[25]("gamesCategorySection.searchedItems")+"";return{c(){n=X("h3"),i=J(r),Q(n,"class","StatusText")},m(e,t){V(e,n,t),W(n,i)},p(e,t){33554432&t[0]&&r!==(r=e[25]("gamesCategorySection.searchedItems")+"")&&ee(i,r)},d(e){e&&Z(n)}}}function ua(e){let n,i,r=e[25]("gamesCategorySection.noResults")+"";return{c(){n=X("h3"),i=J(r),Q(n,"class","StatusText")},m(e,t){V(e,n,t),W(n,i)},p(e,t){33554432&t[0]&&r!==(r=e[25]("gamesCategorySection.noResults")+"")&&ee(i,r)},d(e){e&&Z(n)}}}function da(e){let n,i,r=e[25]("gamesCategorySection.recentSearchedItems")+"";return{c(){n=X("h3"),i=J(r),Q(n,"class","StatusText")},m(e,t){V(e,n,t),W(n,i)},p(e,t){33554432&t[0]&&r!==(r=e[25]("gamesCategorySection.recentSearchedItems")+"")&&ee(i,r)},d(e){e&&Z(n)}}}function ha(e){let n;return{c(){n=X("p"),n.textContent="Waiting",Q(n,"class","SearchWaiting")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function pa(t){let i,r,a=!t[18]&&ma(t),o=t[12],s=[];for(let e=0;e<o.length;e+=1)s[e]=fa(Hr(t,o,e));return{c(){a&&a.c(),i=K(),r=X("ul");for(let e=0;e<s.length;e+=1)s[e].c();Q(r,"class","CasinoGamesGrid SearchedGamesGrid GamesListIncreasedGap")},m(e,t){a&&a.m(e,t),V(e,i,t),V(e,r,t);for(let e=0;e<s.length;e+=1)s[e].m(r,null)},p(t,n){if(t[18]?a&&(a.d(1),a=null):a?a.p(t,n):(a=ma(t),a.c(),a.m(i.parentNode,i)),70143&n[0]){let e;for(o=t[12],e=0;e<o.length;e+=1){const a=Hr(t,o,e);s[e]?s[e].p(a,n):(s[e]=fa(a),s[e].c(),s[e].m(r,null))}for(;e<s.length;e+=1)s[e].d(1);s.length=o.length}},d(e){a&&a.d(e),e&&Z(i),e&&Z(r),m(s,e)}}}function ma(e){let n,i,t,r=e[25]("gamesCategorySection.noRecentSearch")+"";return{c(){n=X("p"),i=J(r),Q(n,"class",t="NoSearchResults NoRecentSearches NoRecentSearchesCenter "+(Yi(e[26])?"NoRecentSearchesMobile":""))},m(e,t){V(e,n,t),W(n,i)},p(e,t){33554432&t[0]&&r!==(r=e[25]("gamesCategorySection.noRecentSearch")+"")&&ee(i,r)},d(e){e&&Z(n)}}}function fa(e){let n,i,r,a,o,s,l,c,u,d,h,p;return{c(){n=X("casino-game-thumbnail"),C(n,"class",i=""+(wa+(e[75].cellSize||"1x1"))),C(n,"session",e[2]),C(n,"userid",e[3]),C(n,"lang",e[1]),C(n,"currency",e[7]),C(n,"searchitem",e[16]),C(n,"favorites",e[4]),C(n,"gamethumbnail",r=e[75].thumbnail),C(n,"gamename",a=e[75].name),C(n,"gamevendor",o=e[75].vendor.name),C(n,"gameisnew",s=e[75].isNew),C(n,"gamepopularity",l=e[75].popularity),C(n,"gamecellsize",c=e[75].cellSize),C(n,"gameid",u=e[75].id),C(n,"gamefunmode",d=e[75].hasFunMode),C(n,"gamefavorite",h=e[75].isFavorite),C(n,"livelobbyendpoint",p=e[75].details?e[75].href:""),C(n,"clientstyling",e[5]),C(n,"clientstylingurl",e[6]),C(n,"endpoint",e[0]),C(n,"livecasino",e[8])},m(e,t){V(e,n,t)},p(e,t){4096&t[0]&&i!==(i=""+(wa+(e[75].cellSize||"1x1")))&&C(n,"class",i),4&t[0]&&C(n,"session",e[2]),8&t[0]&&C(n,"userid",e[3]),2&t[0]&&C(n,"lang",e[1]),128&t[0]&&C(n,"currency",e[7]),65536&t[0]&&C(n,"searchitem",e[16]),16&t[0]&&C(n,"favorites",e[4]),4096&t[0]&&r!==(r=e[75].thumbnail)&&C(n,"gamethumbnail",r),4096&t[0]&&a!==(a=e[75].name)&&C(n,"gamename",a),4096&t[0]&&o!==(o=e[75].vendor.name)&&C(n,"gamevendor",o),4096&t[0]&&s!==(s=e[75].isNew)&&C(n,"gameisnew",s),4096&t[0]&&l!==(l=e[75].popularity)&&C(n,"gamepopularity",l),4096&t[0]&&c!==(c=e[75].cellSize)&&C(n,"gamecellsize",c),4096&t[0]&&u!==(u=e[75].id)&&C(n,"gameid",u),4096&t[0]&&d!==(d=e[75].hasFunMode)&&C(n,"gamefunmode",d),4096&t[0]&&h!==(h=e[75].isFavorite)&&C(n,"gamefavorite",h),4096&t[0]&&p!==(p=e[75].details?e[75].href:"")&&C(n,"livelobbyendpoint",p),32&t[0]&&C(n,"clientstyling",e[5]),64&t[0]&&C(n,"clientstylingurl",e[6]),1&t[0]&&C(n,"endpoint",e[0]),256&t[0]&&C(n,"livecasino",e[8])},d(e){e&&Z(n)}}}function ga(e){let n;return{c(){n=X("p"),n.textContent="500 Error - Internal Server Error.",Q(n,"class","SearchLoading")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function ya(e){let n;return{c(){n=X("p"),n.textContent="404 Error - No result found.",Q(n,"class","SearchLoading")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function va(n){let i;function r(e){return e[10]?zr:e[14]?jr:Yr}let a=r(n),o=a(n);return{c(){i=X("div"),o.c(),this.c=Y,Q(i,"class","CasinoGamesCategorySectionContainer")},m(e,t){V(e,i,t),o.m(i,null),n[45](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(i,null)))},i:Y,o:Y,d(e){e&&Z(i),o.d(),n[45](null)}}}customElements.get("casino-game-thumbnail")||customElements.define("casino-game-thumbnail",class extends de{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:cover;transition:all 150ms ease-in-out}.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:9.6px;text-align:center;font-size:17.6px}.GameInnerContainer .GameInfoWrapper .GameInfoBtn{appearance:none;padding:6.4px;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:4.8px;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:14.4px;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:11.2px;padding:3.2px;background-color:var(--emfe-w-color-primary, #D0046C);color:var(--emfe-w-color-primary-50, #FBECF4);font-weight:bold;text-transform:uppercase;border-radius:4.8px}.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 .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;background:linear-gradient(0deg, black 15%, rgba(0, 0, 0, 0) 100%)}.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:1.6px;margin:0 1px;margin-right:6.4px;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:4.8px;padding:1.6px}}.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 20px 5px 20px}}.ListGame .GameInnerContainer .LiveLimits span{font-size:12px}.ListGame .GameInnerContainer .Players{display:inline-block;width:19px;height:19px}</style>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Nr,Ar,t,{session:45,userid:46,lang:47,clientstyling:48,clientstylingurl:49,favorites:1,gamethumbnail:2,gamename:3,gamevendor:4,gameid:5,gameisnew:6,gamepopularity:7,gamefunmode:50,searchitem:51,gamefavorite:0,showfavoredcategory:52,showgamename:8,endpoint:53,livelobbyendpoint:54,currency:55,connectlive:56,visibilityconnect:57,MONEY_WHEEL_COLOR_MAP:58,ROULETTE_COLOR_MAP:59},null,[-1,-1,-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["session","userid","lang","clientstyling","clientstylingurl","favorites","gamethumbnail","gamename","gamevendor","gameid","gameisnew","gamepopularity","gamefunmode","searchitem","gamefavorite","showfavoredcategory","showgamename","endpoint","livelobbyendpoint","currency","connectlive","visibilityconnect","MONEY_WHEEL_COLOR_MAP","ROULETTE_COLOR_MAP"]}get session(){return this.$$.ctx[45]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[46]}set userid(e){this.$$set({userid:e}),U()}get lang(){return this.$$.ctx[47]}set lang(e){this.$$set({lang:e}),U()}get clientstyling(){return this.$$.ctx[48]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[49]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get favorites(){return this.$$.ctx[1]}set favorites(e){this.$$set({favorites:e}),U()}get gamethumbnail(){return this.$$.ctx[2]}set gamethumbnail(e){this.$$set({gamethumbnail:e}),U()}get gamename(){return this.$$.ctx[3]}set gamename(e){this.$$set({gamename:e}),U()}get gamevendor(){return this.$$.ctx[4]}set gamevendor(e){this.$$set({gamevendor:e}),U()}get gameid(){return this.$$.ctx[5]}set gameid(e){this.$$set({gameid:e}),U()}get gameisnew(){return this.$$.ctx[6]}set gameisnew(e){this.$$set({gameisnew:e}),U()}get gamepopularity(){return this.$$.ctx[7]}set gamepopularity(e){this.$$set({gamepopularity:e}),U()}get gamefunmode(){return this.$$.ctx[50]}set gamefunmode(e){this.$$set({gamefunmode:e}),U()}get searchitem(){return this.$$.ctx[51]}set searchitem(e){this.$$set({searchitem:e}),U()}get gamefavorite(){return this.$$.ctx[0]}set gamefavorite(e){this.$$set({gamefavorite:e}),U()}get showfavoredcategory(){return this.$$.ctx[52]}set showfavoredcategory(e){this.$$set({showfavoredcategory:e}),U()}get showgamename(){return this.$$.ctx[8]}set showgamename(e){this.$$set({showgamename:e}),U()}get endpoint(){return this.$$.ctx[53]}set endpoint(e){this.$$set({endpoint:e}),U()}get livelobbyendpoint(){return this.$$.ctx[54]}set livelobbyendpoint(e){this.$$set({livelobbyendpoint:e}),U()}get currency(){return this.$$.ctx[55]}set currency(e){this.$$set({currency:e}),U()}get connectlive(){return this.$$.ctx[56]}set connectlive(e){this.$$set({connectlive:e}),U()}get visibilityconnect(){return this.$$.ctx[57]}set visibilityconnect(e){this.$$set({visibilityconnect:e}),U()}get MONEY_WHEEL_COLOR_MAP(){return this.$$.ctx[58]}get ROULETTE_COLOR_MAP(){return this.$$.ctx[59]}});const wa="game-tile-";function ba(e,t,s){let n;$e(e,Hi,e=>s(25,n=e));let r,a,o,i,l,c,u,d,h,{endpoint:p=""}=t,{datasource:m=""}=t,{lang:f=""}=t,{session:g=""}=t,{userid:y=""}=t,{favorites:v=""}=t,{clientstyling:w=""}=t,{clientstylingurl:b=""}=t,{currency:x="EUR"}=t,{categoryid:S=""}=t,{categoryindex:C=0}=t,{categorygames:_=0}=t,{livecasino:F="false"}=t,{once:M=!0}=t,{top:k=0}=t,{bottom:$=0}=t,{left:E=0}=t,{right:T=0}=t,L=!1,I=!0,P=window.navigator.userAgent,A=[],D=!0,R=40,G=!1,O=!1,N=!1,B=!1,U=!0,H=!1,Y=!1,j=!1,z=new Array(1e4),W={items:[],count:0,name:""};Object.keys(lr).forEach(e=>{Si(e,lr[e])});let V=new IntersectionObserver((e,t)=>{e.forEach(async e=>{var t=e.target.elems_index;e.isIntersecting&&1.2*t>R&&J(S)})});const Z=(e,i,r,t=0)=>{let a=new URL(`${p}/casino/groups/${m}/`+S),o=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",ji(P)),a.searchParams.append("pagination",`games(offset=${i},limit=${r})`),a.searchParams.append("language",f),window.postMessage({type:"CategoryVendors",categoryid:S},window.location.href),o&&o[S])if(o[S].length&&!1===I&&!1===H){let t="";s(17,B=!0),o[S].forEach(e=>{t+=t?", id="+e:"id="+e}),a.searchParams.append("filter",`games(vendor(${t}))`)}else s(17,B=!1);fetch(a).then(e=>e.json()).then(e=>{s(38,h=!0),s(10,L=!1),l=e.games.total,t(e)},e=>{s(10,L=!0),console.error(e),n(e)})})},X=t=>{if(t.data)switch(t.data.type){case"MostPlayedData":s(14,G=!1),I=!1,s(13,D=!1),Y=!0,s(12,A=t.data.mostPlayedGames),s(11,o={id:"MOSTPLAYED",name:"Most Played Games",games:{count:t.data.mostPlayedGames.length,total:t.data.mostPlayedGames.length,items:t.data.mostPlayedGames}});break;case"CustomOperatorData":t.data.operatordetail;break;case"RecentSearchData":s(14,G=!0),Y=!1,s(15,O=!0),0<t.data.searchData.length?(s(12,A=t.data.searchData),s(18,U=!0),A&&A.forEach(e=>{e.isFavorite=K(e.id)})):(s(12,A=[]),s(18,U=!1));break;case"OutOfRecentSearches":s(14,G=!1),s(15,O=!1);break;case"SearchData":s(14,G=!0),Y=!1,s(15,O=!1),s(12,A=t.data.searchData.items||[]),s(16,N=!0),t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items),A&&A.forEach(e=>{e.isFavorite=K(e.id)});break;case"CategoryData_"+S:s(14,G=!1),I=!0,s(13,D=!0),s(16,N=!1),Y=!1,j=!1,t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items),Z(t.data.categoryId,0,t.data.visiblegames).then(e=>{s(11,o=e),s(12,A=o.games.items),A&&A.forEach(e=>{e.isFavorite=K(e.id)})});break;case"CategoryChange":R=20;break;case"CategoryUpdate":s(14,G=!1),I=!1,s(16,N=!1),Y=!1,s(13,D=!1),j=!0,s(29,S=t.data.itemId),Z(0,0,R).then(e=>{s(11,o=e),o.games.items.forEach(e=>{e.isFavorite=K(e.id)}),s(12,A=o.games.items),s(13,D=!1)});break;case"FavoriteUpdate":s(14,G=!1),Y=!1,I=!0,s(12,A=o.games.items),A.forEach(e=>{e.isFavorite=K(e.id)}),s(13,D=!0);break;case"UpdateCategoryFavoriteGames":t.data.receivedFavoriteResults&&(u=t.data.receivedFavoriteResults.items,t.data.triggerFactor&&!H?window.postMessage({type:"FavoriteUpdate"},window.location.href):I||Y||window.postMessage({type:"CategoryUpdate",itemId:S},window.location.href));break;case"ShowFavoriteSection":let e;t.data&&(e=t.data.receivedFavoriteResults.items,e.length&&e.forEach(e=>{e.gameModel&&(e.gameModel.isFavorite=!!e.gameModel)}),s(24,W.items=(n=e,W.items,i=window.navigator.userAgent,Yi(i)?n.filter(e=>{if(e.gameModel&&(e.gameModel.platform.includes("iPad")||e.gameModel.platform.includes("iPhone")||e.gameModel.platform.includes("Android")))return e}):n.filter(e=>{if(e.gameModel&&e.gameModel.platform.includes("PC"))return e})),W),s(24,W.name="Favorites",W),s(21,H=!0));break;case"UserSessionID":r=t.data.session,a=t.data.userID,"true"==v&&a&&a.length&&r&&0<r.length&&(e=>{let i={method:"GET",headers:{"X-SessionID":r}};new Promise((t,n)=>{fetch(e,i).then(e=>e.json()).then(e=>{u=e?e.items:[],A.forEach(e=>{e.isFavorite=K(e.id)});e=A;s(12,A=void 0),s(12,A=e),t(u)}).catch(e=>{console.error(e),n(e)})})})(`${p}/player/${a}/favorites/`)}var n,i},J=e=>{R+=1,R<=l&&Z(0,0,R).then(e=>{s(11,o=e),s(12,A=o.games.items),A.forEach(e=>{e.isFavorite=K(e.id)})})},K=t=>!!u&&-1!==u.findIndex(e=>e.id==t),q=(e,t)=>{window.postMessage({type:"CategoryChange",itemId:e},window.location.href),window.postMessage({type:"SetSliderIndex",categoryData:t},window.location.href)};return Ee(()=>(window.addEventListener("message",X,!1),window.postMessage({type:"GetFavoredGame"},window.location.href),()=>{window.removeEventListener("message",X)})),e.$$set=e=>{"endpoint"in e&&s(0,p=e.endpoint),"datasource"in e&&s(30,m=e.datasource),"lang"in e&&s(1,f=e.lang),"session"in e&&s(2,g=e.session),"userid"in e&&s(3,y=e.userid),"favorites"in e&&s(4,v=e.favorites),"clientstyling"in e&&s(5,w=e.clientstyling),"clientstylingurl"in e&&s(6,b=e.clientstylingurl),"currency"in e&&s(7,x=e.currency),"categoryid"in e&&s(29,S=e.categoryid),"categoryindex"in e&&s(31,C=e.categoryindex),"categorygames"in e&&s(32,_=e.categorygames),"livecasino"in e&&s(8,F=e.livecasino),"once"in e&&s(33,M=e.once),"top"in e&&s(34,k=e.top),"bottom"in e&&s(35,$=e.bottom),"left"in e&&s(36,E=e.left),"right"in e&&s(37,T=e.right)},e.$$.update=()=>{512&e.$$.dirty[0]|128&e.$$.dirty[1]&&h&&z&&j&&z.forEach((e,t)=>{e&&(e.elems_index=t,V.observe(e))}),e.$$.dirty[0],32&e.$$.dirty[0]&&w&&(()=>{let e=document.createElement("style");e.innerHTML=w,setTimeout(()=>{d.appendChild(e)})})(),64&e.$$.dirty[0]&&b&&(()=>{let t=document.createElement("style");fetch(new URL(b)).then(e=>e.text()).then(e=>{t.innerHTML=e,d&&setTimeout(()=>{d.appendChild(t)},1)})})()},[p,f,g,y,v,w,b,x,F,z,L,o,A,D,G,O,N,B,U,i,c,H,d,"",W,n,P,{},q,S,m,C,_,M,k,$,E,T,h,function(e){Te[e?"unshift":"push"](()=>{c=e,s(20,c)})},e=>q(o.id,o),function(e,t){Te[e?"unshift":"push"](()=>{z[t]=e,s(9,z)})},function(e){Te[e?"unshift":"push"](()=>{i=e,s(19,i)})},function(e){Te[e?"unshift":"push"](()=>{c=e,s(20,c)})},function(e){Te[e?"unshift":"push"](()=>{i=e,s(19,i)})},function(e){Te[e?"unshift":"push"](()=>{d=e,s(22,d)})}]}function xa(e,t,n){const i=e.slice();return i[117]=t[n],i[119]=n,i}function Sa(n){let i,r,a,o,s="PC"!==ji(n[38])&&"false"===n[9]&&n[34],l=s&&_a();function c(e){return"false"===e[9]?Ma:Fa}let u=c(n),d=u(n);function h(e){return e[15]?za:e[22]?ja:e[25]?Ya:e[20]?Ha:e[26]?Ua:e[21]?void 0:Ba}let p=h(n),m=p&&p(n),f=n[17]&&"true"===n[12]&&Xa(n);return{c(){i=X("section"),l&&l.c(),r=K(),d.c(),a=K(),m&&m.c(),o=K(),f&&f.c(),Q(i,"class","CategoriesLobby"),k(i,"max-width",n[11]+"px")},m(e,t){V(e,i,t),l&&l.m(i,null),W(i,r),d.m(i,null),W(i,a),m&&m.m(i,null),W(i,o),f&&f.m(i,null),n[69](i)},p(e,t){512&t[0]|8&t[1]&&(s="PC"!==ji(e[38])&&"false"===e[9]&&e[34]),s?l||(l=_a(),l.c(),l.m(i,r)):l&&(l.d(1),l=null),u===(u=c(e))&&d?d.p(e,t):(d.d(1),d=u(e),d&&(d.c(),d.m(i,a))),p===(p=h(e))&&m?m.p(e,t):(m&&m.d(1),m=p&&p(e),m&&(m.c(),m.m(i,o))),e[17]&&"true"===e[12]?f?f.p(e,t):(f=Xa(e),f.c(),f.m(i,null)):f&&(f.d(1),f=null),2048&t[0]&&k(i,"max-width",e[11]+"px")},d(e){e&&Z(i),l&&l.d(),d.d(),m&&m.d(),f&&f.d(),n[69](null)}}}function Ca(e){let n;return{c(){n=X("p"),n.textContent="500 Error - Internal Server Error",Q(n,"class","SearchLoading")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function _a(){let n;return{c(){n=X("div"),Q(n,"class","SearchBarPlaceholder")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function Fa(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y="PC"===ji(n[38])&&n[14].length||"PC"!==ji(n[38]),v=!n[34]&&ka(),w=y&&$a(n),b=!n[20]&&!n[25]&&!n[34]&&!n[26]&&!n[21]&&!n[24]&&!n[22]&&!n[23]&&Ea(n);return{c(){i=X("div"),r=X("div"),a=X("label"),a.textContent="Search casino games",o=K(),s=X("div"),v&&v.c(),l=K(),c=X("input"),d=K(),w&&w.c(),p=K(),b&&b.c(),Q(a,"for","search"),Q(a,"class","SrOnly"),Q(c,"id","SearchField"),Q(c,"class","SearchInput"),Q(c,"placeholder",u="PC"===ji(n[38])?n[37]("casinoPage.search"):n[37]("casinoPage.searchMobile")),Q(c,"type","search"),Q(s,"class","SearchWrapper"),Q(r,"class",h="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),Q(i,"class",m="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ji(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==ji(n[38])&&!Ka?"CategoriesHeaderSearchActive":"")+(n[28]&&n[34]?"SearchStickTop":"")),k(i,"top",n[28]&&n[34]?qa+"px":"")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(r,o),W(r,s),v&&v.m(s,null),W(s,l),W(s,c),n[62](c),_(c,n[14]),W(s,d),w&&w.m(s,null),W(i,p),b&&b.m(i,null),n[67](i),f||(g=[q(c,"focus",n[40]),q(c,"blur",n[41]),q(c,"input",n[63]),q(c,"focus",n[42])],f=!0)},p(e,t){e[34]?v&&(v.d(1),v=null):v||(v=ka(),v.c(),v.m(s,l)),64&t[1]&&u!==(u="PC"===ji(e[38])?e[37]("casinoPage.search"):e[37]("casinoPage.searchMobile"))&&Q(c,"placeholder",u),16384&t[0]&&_(c,e[14]),16384&t[0]&&(y="PC"===ji(e[38])&&e[14].length||"PC"!==ji(e[38])),y?w?w.p(e,t):(w=$a(e),w.c(),w.m(s,null)):w&&(w.d(1),w=null),110100480&t[0]&&h!==(h="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&Q(r,"class",h),e[20]||e[25]||e[34]||e[26]||e[21]||e[24]||e[22]||e[23]?b&&(b.d(1),b=null):b?b.p(e,t):(b=Ea(e),b.c(),b.m(i,null)),272629760&t[0]|8&t[1]&&m!==(m="CategoriesHeaderSection CategoriesHeaderSectionAltDesign "+("PC"!==ji(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==ji(e[38])&&!Ka?"CategoriesHeaderSearchActive":"")+(e[28]&&e[34]?"SearchStickTop":""))&&Q(i,"class",m),268435456&t[0]|8&t[1]&&k(i,"top",e[28]&&e[34]?qa+"px":"")},d(e){e&&Z(i),v&&v.d(),n[62](null),w&&w.d(),b&&b.d(),n[67](null),f=!1,j(g)}}}function Ma(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y="PC"===ji(n[38])&&n[14].length||"PC"!==ji(n[38]),v=!n[34]&&Aa(),w=y&&Da(n),b=!n[20]&&!n[25]&&!n[34]&&!n[26]&&!n[21]&&!n[22]&&!n[24]&&!n[23]&&Ra(n);return{c(){i=X("div"),r=X("div"),a=X("label"),a.textContent="Search casino games",o=K(),s=X("div"),v&&v.c(),l=K(),c=X("input"),d=K(),w&&w.c(),p=K(),b&&b.c(),Q(a,"for","search"),Q(a,"class","SrOnly"),Q(c,"id","SearchField"),Q(c,"class","SearchInput"),Q(c,"placeholder",u="PC"===ji(n[38])?n[37]("casinoPage.search"):n[37]("casinoPage.searchMobile")),Q(c,"type","search"),Q(s,"class","SearchWrapper"),Q(r,"class",h="SearchContainer "+(n[25]||n[20]||n[26]||n[23]?"":"SearchTruncated")),Q(i,"class",m="CategoriesHeaderSection "+("PC"!==ji(n[38])?"CategoriesHeaderMobileSection":"")+" "+(n[34]?"SearchMobileActive":"")+" "+(n[34]||n[22]&&"PC"!==ji(n[38])&&!Ka?"CategoriesHeaderSearchActive":"")+" "+(n[28]&&n[34]?"SearchStickTop":"")),k(i,"top",n[28]&&n[34]?qa+"px":"")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(r,o),W(r,s),v&&v.m(s,null),W(s,l),W(s,c),n[56](c),_(c,n[14]),W(s,d),w&&w.m(s,null),W(i,p),b&&b.m(i,null),n[61](i),f||(g=[q(c,"focus",n[40]),q(c,"blur",n[41]),q(c,"input",n[57]),q(c,"focus",n[42])],f=!0)},p(e,t){e[34]?v&&(v.d(1),v=null):v||(v=Aa(),v.c(),v.m(s,l)),64&t[1]&&u!==(u="PC"===ji(e[38])?e[37]("casinoPage.search"):e[37]("casinoPage.searchMobile"))&&Q(c,"placeholder",u),16384&t[0]&&_(c,e[14]),16384&t[0]&&(y="PC"===ji(e[38])&&e[14].length||"PC"!==ji(e[38])),y?w?w.p(e,t):(w=Da(e),w.c(),w.m(s,null)):w&&(w.d(1),w=null),110100480&t[0]&&h!==(h="SearchContainer "+(e[25]||e[20]||e[26]||e[23]?"":"SearchTruncated"))&&Q(r,"class",h),e[20]||e[25]||e[34]||e[26]||e[21]||e[22]||e[24]||e[23]?b&&(b.d(1),b=null):b?b.p(e,t):(b=Ra(e),b.c(),b.m(i,null)),272629760&t[0]|8&t[1]&&m!==(m="CategoriesHeaderSection "+("PC"!==ji(e[38])?"CategoriesHeaderMobileSection":"")+" "+(e[34]?"SearchMobileActive":"")+" "+(e[34]||e[22]&&"PC"!==ji(e[38])&&!Ka?"CategoriesHeaderSearchActive":"")+" "+(e[28]&&e[34]?"SearchStickTop":""))&&Q(i,"class",m),268435456&t[0]|8&t[1]&&k(i,"top",e[28]&&e[34]?qa+"px":"")},d(e){e&&Z(i),v&&v.d(),n[56](null),w&&w.d(),b&&b.d(),n[61](null),f=!1,j(g)}}}function ka(){let n;return{c(){n=X("div"),n.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>',Q(n,"class","SearchIcon")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function $a(n){let i,r,a,o;return{c(){i=X("span"),r=X("div"),r.innerHTML='<div class="CloseIconWrapper"><div class="CloseIcon"></div></div>',Q(r,"class","CloseIconContainer"),Q(i,"class","PC"===ji(n[38])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){V(e,i,t),W(i,r),a||(o=q(i,"click",n[64]),a=!0)},p:Y,d(e){e&&Z(i),a=!1,o()}}}function Ea(e){let n,i,r=e[35]&&Ta(e),a=(!e[22]||!e[21])&&La(e);return{c(){n=X("div"),r&&r.c(),i=K(),a&&a.c(),Q(n,"class","FiltersButtonsContainer ")},m(e,t){V(e,n,t),r&&r.m(n,null),W(n,i),a&&a.m(n,null)},p(e,t){e[35]?r?r.p(e,t):(r=Ta(e),r.c(),r.m(n,i)):r&&(r.d(1),r=null),e[22]&&e[21]?a&&(a.d(1),a=null):a?a.p(e,t):(a=La(e),a.c(),a.m(n,null))},d(e){e&&Z(n),r&&r.d(),a&&a.d()}}}function Ta(n){let i,r,a,o,s;return{c(){i=X("div"),r=X("div"),r.innerHTML='Clear\n <span class="ClearIcon"><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></span>',Q(r,"class","ClearButton"),Q(i,"class",a="ClearFilterButtonWrapper "+(n[35]?"FiltersActive":""))},m(e,t){V(e,i,t),W(i,r),o||(s=q(i,"click",n[65]),o=!0)},p(e,t){16&t[1]&&a!==(a="ClearFilterButtonWrapper "+(e[35]?"FiltersActive":""))&&Q(i,"class",a)},d(e){e&&Z(i),o=!1,s()}}}function La(e){let n,i=!e[26]&&Ia(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){e[26]?i&&(i.d(1),i=null):i?i.p(e,t):(i=Ia(e),i.c(),i.m(n.parentNode,n))},d(e){i&&i.d(e),e&&Z(n)}}}function Ia(n){let i,r,a,o,s,l,c,u,d,h,p,m,f=0<n[35]&&Pa(n);return{c(){i=X("div"),r=X("div"),r.textContent="Filters",a=K(),o=X("div"),s=S("svg"),l=S("defs"),c=S("style"),u=J(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=S("path"),h=K(),f&&f.c(),Q(r,"class","FilterButton"),Q(d,"class","a"),Q(d,"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"),Q(d,"transform","translate(-5 -6.2)"),Q(s,"xmlns","http://www.w3.org/2000/svg"),Q(s,"width","20"),Q(s,"height","20"),Q(s,"viewBox","0 0 26 26"),Q(o,"class","FilterIconContainer"),Q(i,"class","FilterButtonWrapper")},m(e,t){V(e,i,t),W(i,r),W(i,a),W(i,o),W(o,s),W(s,l),W(l,c),W(c,u),W(s,d),W(o,h),f&&f.m(o,null),p||(m=q(i,"click",n[66]),p=!0)},p(e,t){0<e[35]?f?f.p(e,t):(f=Pa(e),f.c(),f.m(o,null)):f&&(f.d(1),f=null)},d(e){e&&Z(i),f&&f.d(),p=!1,m()}}}function Pa(e){let n,i,r;return{c(){n=X("div"),i=X("span"),r=J(e[35]),Q(i,"class","NumberOfFilters"),Q(n,"class","NumberOfFiltersContainer")},m(e,t){V(e,n,t),W(n,i),W(i,r)},p(e,t){16&t[1]&&ee(r,e[35])},d(e){e&&Z(n)}}}function Aa(){let n;return{c(){n=X("div"),n.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>',Q(n,"class","SearchIcon")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function Da(n){let i,r,a,o;return{c(){i=X("span"),r=X("div"),r.innerHTML='<div class="CloseIconWrapper"><div class="CloseIcon"></div></div>',Q(r,"class","CloseIconContainer"),Q(i,"class","PC"===ji(n[38])?"ClearSearchButton":"ClearSearchButtonMobile")},m(e,t){V(e,i,t),W(i,r),a||(o=q(i,"click",n[58]),a=!0)},p:Y,d(e){e&&Z(i),a=!1,o()}}}function Ra(e){let n,i,r=e[35]&&Ga(e),a=(!e[22]||!e[21])&&Oa(e);return{c(){n=X("div"),r&&r.c(),i=K(),a&&a.c(),Q(n,"class","FiltersButtonsContainer")},m(e,t){V(e,n,t),r&&r.m(n,null),W(n,i),a&&a.m(n,null)},p(e,t){e[35]?r?r.p(e,t):(r=Ga(e),r.c(),r.m(n,i)):r&&(r.d(1),r=null),e[22]&&e[21]?a&&(a.d(1),a=null):a?a.p(e,t):(a=Oa(e),a.c(),a.m(n,null))},d(e){e&&Z(n),r&&r.d(),a&&a.d()}}}function Ga(n){let i,r,a;return{c(){i=X("div"),i.innerHTML='<div class="ClearButton">Clear\n <span class="ClearIcon"><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></span></div>',Q(i,"class","ClearFilterButtonWrapper")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[59]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function Oa(e){let n,i=!e[26]&&Na(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){e[26]?i&&(i.d(1),i=null):i?i.p(e,t):(i=Na(e),i.c(),i.m(n.parentNode,n))},d(e){i&&i.d(e),e&&Z(n)}}}function Na(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y;return{c(){i=X("div"),r=X("div"),r.textContent="Filters",a=K(),o=X("div"),s=S("svg"),l=S("defs"),c=S("style"),u=J(".a{fill:var(--emfe-w-color-white, #FFFFFF);}"),d=S("path"),h=K(),p=X("div"),m=X("span"),f=J(n[35]),Q(r,"class","FilterButton"),Q(d,"class","a"),Q(d,"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"),Q(d,"transform","translate(-5 -6.2)"),Q(s,"xmlns","http://www.w3.org/2000/svg"),Q(s,"width","20"),Q(s,"height","20"),Q(s,"viewBox","0 0 26 26"),Q(m,"class","NumberOfFilters"),Q(p,"class","NumberOfFiltersContainer"),Q(o,"class","FilterIconContainer"),Q(i,"class","FilterButtonWrapper")},m(e,t){V(e,i,t),W(i,r),W(i,a),W(i,o),W(o,s),W(s,l),W(l,c),W(c,u),W(s,d),W(o,h),W(o,p),W(p,m),W(m,f),g||(y=q(i,"click",n[60]),g=!0)},p(e,t){16&t[1]&&ee(f,e[35])},d(e){e&&Z(i),g=!1,y()}}}function Ba(e){let n;return{c(){n=X("casino-games-category-section"),C(n,"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"favorites",e[10]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"session",e[4]),C(n,"categoryid",e[31]),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[13])},m(e,t){V(e,n,t)},p(e,t){32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),1024&t[0]&&C(n,"favorites",e[10]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),16&t[0]&&C(n,"session",e[4]),1&t[1]&&C(n,"categoryid",e[31]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),8192&t[0]&&C(n,"livecasino",e[13])},d(e){e&&Z(n)}}}function Ua(e){let n;function i(e){return e[27]?Va:Wa}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Z(n)}}}function Ha(n){let i,r,a,o;return{c(){i=X("casino-games-category-section"),C(i,"session",n[4]),C(i,"userid",n[5]),C(i,"endpoint",n[0]),C(i,"datasource",n[1]),C(i,"lang",n[3]),C(i,"currency",n[2]),C(i,"favorites",n[10]),C(i,"categoryid","FAVORITES"),C(i,"class","CategoryContainer"),C(i,"clientstyling",n[6]),C(i,"clientstylingurl",n[7]),C(i,"livecasino",n[13])},m(e,t){V(e,i,t),a||(o=l(r=n[39].call(null,i,(n[0],n[18],n[19],n[18]))),a=!0)},p(e,t){16&t[0]&&C(i,"session",e[4]),32&t[0]&&C(i,"userid",e[5]),1&t[0]&&C(i,"endpoint",e[0]),2&t[0]&&C(i,"datasource",e[1]),8&t[0]&&C(i,"lang",e[3]),4&t[0]&&C(i,"currency",e[2]),1024&t[0]&&C(i,"favorites",e[10]),64&t[0]&&C(i,"clientstyling",e[6]),128&t[0]&&C(i,"clientstylingurl",e[7]),8192&t[0]&&C(i,"livecasino",e[13]),r&&g(r.update)&&786433&t[0]&&r.update.call(null,(e[0],e[18],e[19],e[18]))},d(e){e&&Z(i),a=!1,o()}}}function Ya(t){let r,a=t[30],o=[];for(let e=0;e<a.length;e+=1)o[e]=Za(xa(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);V(t,r,n)},p(t,n){if(1073751551&n[0]){let e;for(a=t[30],e=0;e<a.length;e+=1){var i=xa(t,a,e);o[e]?o[e].p(i,n):(o[e]=Za(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){m(o,e),e&&Z(r)}}}function ja(n){let i,r,a,o;return{c(){i=X("casino-games-category-section"),C(i,"endpoint",n[0]),C(i,"datasource",n[1]),C(i,"lang",n[3]),C(i,"currency",n[2]),C(i,"session",n[4]),C(i,"userid",n[5]),C(i,"categoryid","Search"),C(i,"favorites",n[10]),C(i,"categoryindex","0"),C(i,"class","CategoryContainer"),C(i,"clientstyling",n[6]),C(i,"clientstylingurl",n[7]),C(i,"livecasino",n[13])},m(e,t){V(e,i,t),a||(o=l(r=n[47].call(null,i,n[29])),a=!0)},p(e,t){1&t[0]&&C(i,"endpoint",e[0]),2&t[0]&&C(i,"datasource",e[1]),8&t[0]&&C(i,"lang",e[3]),4&t[0]&&C(i,"currency",e[2]),16&t[0]&&C(i,"session",e[4]),32&t[0]&&C(i,"userid",e[5]),1024&t[0]&&C(i,"favorites",e[10]),64&t[0]&&C(i,"clientstyling",e[6]),128&t[0]&&C(i,"clientstylingurl",e[7]),8192&t[0]&&C(i,"livecasino",e[13]),r&&g(r.update)&&536870912&t[0]&&r.update.call(null,e[29])},d(e){e&&Z(i),a=!1,o()}}}function za(e){let n,i,r=e[37]("casinoPage.loading")+"";return{c(){n=X("p"),i=J(r),Q(n,"class","SearchLoading")},m(e,t){V(e,n,t),W(n,i)},p(e,t){64&t[1]&&r!==(r=e[37]("casinoPage.loading")+"")&&ee(i,r)},d(e){e&&Z(n)}}}function Wa(e){let n;return{c(){n=X("casino-games-category-section"),C(n,"session",e[4]),C(n,"userid",e[5]),C(n,"endpoint",e[0]),C(n,"datasource",e[1]),C(n,"lang",e[3]),C(n,"currency",e[2]),C(n,"favorites",e[10]),C(n,"categoryid","MOSTPLAYED"),C(n,"categoryindex","1"),C(n,"categorygames","9"),C(n,"class","CategoryContainer"),C(n,"clientstyling",e[6]),C(n,"clientstylingurl",e[7]),C(n,"livecasino",e[13])},m(e,t){V(e,n,t)},p(e,t){16&t[0]&&C(n,"session",e[4]),32&t[0]&&C(n,"userid",e[5]),1&t[0]&&C(n,"endpoint",e[0]),2&t[0]&&C(n,"datasource",e[1]),8&t[0]&&C(n,"lang",e[3]),4&t[0]&&C(n,"currency",e[2]),1024&t[0]&&C(n,"favorites",e[10]),64&t[0]&&C(n,"clientstyling",e[6]),128&t[0]&&C(n,"clientstylingurl",e[7]),8192&t[0]&&C(n,"livecasino",e[13])},d(e){e&&Z(n)}}}function Va(e){let n;return{c(){n=X("p"),n.textContent="You have no games played!",Q(n,"class","SearchLoading")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function Za(n){let i,r,e,a,o,s;return{c(){i=X("casino-games-category-section"),C(i,"session",n[4]),C(i,"userid",n[5]),C(i,"endpoint",n[0]),C(i,"datasource",n[1]),C(i,"lang",n[3]),C(i,"currency",n[2]),C(i,"categoryid",r=n[117]),C(i,"categoryindex",e=n[119]),C(i,"categorygames","9"),C(i,"favorites",n[10]),C(i,"class","CategoryContainer"),k(i,"background-color",n[119]%2!=0?n[8]:"transparent"),C(i,"clientstyling",n[6]),C(i,"clientstylingurl",n[7]),C(i,"livecasino",n[13])},m(e,t){V(e,i,t),o||(s=l(a=n[46].call(null,i,n[117])),o=!0)},p(e,t){n=e,16&t[0]&&C(i,"session",n[4]),32&t[0]&&C(i,"userid",n[5]),1&t[0]&&C(i,"endpoint",n[0]),2&t[0]&&C(i,"datasource",n[1]),8&t[0]&&C(i,"lang",n[3]),4&t[0]&&C(i,"currency",n[2]),1073741824&t[0]&&r!==(r=n[117])&&C(i,"categoryid",r),1024&t[0]&&C(i,"favorites",n[10]),256&t[0]&&k(i,"background-color",n[119]%2!=0?n[8]:"transparent"),64&t[0]&&C(i,"clientstyling",n[6]),128&t[0]&&C(i,"clientstylingurl",n[7]),8192&t[0]&&C(i,"livecasino",n[13]),a&&g(a.update)&&1073741824&t[0]&&a.update.call(null,n[117])},d(e){e&&Z(i),o=!1,s()}}}function Xa(n){let i,r,a,o,s,l,c,u,d,h,e,p,m,f=n[37]("casinoPage.break")+"",g=n[37]("casinoPage.breakButton")+"";return{c(){i=X("div"),r=X("div"),a=S("svg"),o=S("path"),s=K(),l=X("p"),c=J(f),u=K(),d=X("button"),h=J(g),Q(o,"stroke-linecap","round"),Q(o,"stroke-linejoin","round"),Q(o,"stroke-width","2"),Q(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),Q(a,"class","w-1 h-1"),Q(a,"fill","none"),Q(a,"stroke","white"),Q(a,"width","34px"),Q(a,"height","34px"),Q(a,"viewBox","0 0 24 24"),Q(a,"xmlns","http://www.w3.org/2000/svg"),Q(r,"class","PanicText"),Q(d,"class","PanicButton"),Q(i,"class",e="PanicSection "+("PC"!==ji(n[38])?"PanicSectionMobile":""))},m(e,t){V(e,i,t),W(i,r),W(r,a),W(a,o),W(r,s),W(r,l),W(l,c),W(i,u),W(i,d),W(d,h),p||(m=q(d,"click",n[68]),p=!0)},p(e,t){64&t[1]&&f!==(f=e[37]("casinoPage.break")+"")&&ee(c,f),64&t[1]&&g!==(g=e[37]("casinoPage.breakButton")+"")&&ee(h,g)},d(e){e&&Z(i),p=!1,m()}}}function Ja(e){let n;function i(e){return e[16]?Ca:Sa}let r=i(e),a=r(e);return{c(){a.c(),n=c(),this.c=Y},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Y,o:Y,d(e){a.d(e),e&&Z(n)}}}customElements.get("casino-games-category-section")||customElements.define("casino-games-category-section",class extends de{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:12.8px;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}.SearchLoading{display:block;padding:50px;color:var(--emfe-w-color-white, #FFFFFF)}</style>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},ba,va,t,{endpoint:0,datasource:30,lang:1,session:2,userid:3,favorites:4,clientstyling:5,clientstylingurl:6,currency:7,categoryid:29,categoryindex:31,categorygames:32,livecasino:8,once:33,top:34,bottom:35,left:36,right:37},null,[-1,-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","favorites","clientstyling","clientstylingurl","currency","categoryid","categoryindex","categorygames","livecasino","once","top","bottom","left","right"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),U()}get favorites(){return this.$$.ctx[4]}set favorites(e){this.$$set({favorites:e}),U()}get clientstyling(){return this.$$.ctx[5]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[6]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get currency(){return this.$$.ctx[7]}set currency(e){this.$$set({currency:e}),U()}get categoryid(){return this.$$.ctx[29]}set categoryid(e){this.$$set({categoryid:e}),U()}get categoryindex(){return this.$$.ctx[31]}set categoryindex(e){this.$$set({categoryindex:e}),U()}get categorygames(){return this.$$.ctx[32]}set categorygames(e){this.$$set({categorygames:e}),U()}get livecasino(){return this.$$.ctx[8]}set livecasino(e){this.$$set({livecasino:e}),U()}get once(){return this.$$.ctx[33]}set once(e){this.$$set({once:e}),U()}get top(){return this.$$.ctx[34]}set top(e){this.$$set({top:e}),U()}get bottom(){return this.$$.ctx[35]}set bottom(e){this.$$set({bottom:e}),U()}get left(){return this.$$.ctx[36]}set left(e){this.$$set({left:e}),U()}get right(){return this.$$.ctx[37]}set right(e){this.$$set({right:e}),U()}});let Ka=!1;const qa=0;function Qa(e,t,a){let n;$e(e,Hi,e=>a(37,n=e));let o,s,l,r,c,u,d,h,i,p,m,f,{endpoint:g=""}=t,{datasource:y=""}=t,{currency:v=""}=t,{lang:w=""}=t,{session:b=""}=t,{userid:x=""}=t,{clientstyling:S=""}=t,{clientstylingurl:C=""}=t,{categorybackground:_=""}=t,{visiblegames:F="6"}=t,{alternativesearch:M="false"}=t,{favorites:k=""}=t,{mostplayed:$=""}=t,{containermaxwidth:E="1300"}=t,{lobbyid:T="casinodefault"}=t,{haspanicbutton:L="false"}=t,{mostplayedrounds:I=""}=t,{activecategory:P=""}=t,{livecasino:A="false"}=t,D=!1,R=!1,G=!1,O="",N=!1,B=!1,U=!0,H=!1,Y=!1,j=!1,z=!1,W=!0,V=!1,Z=!1,X=!1,J=!0,K=[],q="",Q=window.navigator.userAgent,ee=!1,te=[],ne=[],ie=!1,re=[],ae=0,oe="",se=!1;var le,ce;({withLocale:le,translations:ce}={withLocale:"en",translations:{}}),Ii.subscribe(e=>{null==e&&(bi.set(ce),Ii.set(le))}),Object.keys(sr).forEach(e=>{Si(e,sr[e])});const ue=e=>{switch(a(22,H=!1),a(14,q=""),e.data.itemId){case"LOBBY":a(25,W=!0),a(20,N=!1),a(31,r=""),a(26,V=!1),ee=!0,setTimeout(()=>{window.postMessage({type:"WidgetTopReference",scrollTop:ee},window.location.href)},1);break;case"FAVORITES":a(25,W=!1),a(20,N=!0),a(26,V=!1),a(31,r="");break;case"MOSTPLAYED":"true"==$&&(a(15,D=!0),he({limit:100,device:ji(Q),rounds:10}).then(e=>{if(a(15,D=!1),0<e.count){let n=[];e.items.forEach(e=>{let t=new URL(g+"/casino/games/"+e.gameId);t.searchParams.append("datasource",y),n.push(fetch(t.href).then(e=>e.json()))}),Promise.all(n).then(e=>{te=e.map(e=>e[0]),window.postMessage({type:"MostPlayedData",mostPlayedGames:te},window.location.href)})}else a(27,Z=!0)}),a(31,r=""),a(25,W=!1),a(20,N=!1),a(26,V=!0));break;default:a(25,W=!1),a(20,N=!1),a(26,V=!1),a(31,r=e.data.itemId),setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:r,index:e.data.index},window.location.href)},100)}},de=e=>{if(e.data)switch(e.data.type){case"CategoryChange":ue(e);break;case"UserSessionID":a(19,s=e.data.session),a(18,o=e.data.userID),o&&o.length&&s&&0<s.length&&pe(g,s,o);break;case"CategoriesLoadedForSlider":window.postMessage({type:"SetSliderIndex",index:0,categoryData:{id:"LOBBY"}},window.location.href);break;case"SetUnfavoredGame":n=`${g}/player/${o}/favorites`,i=s,o,r=e.data.id,e.data.triggerFactor,ne.includes(r)&&(ne=ne.filter(e=>e!=r)),fetch(n+"/"+r,{method:"DELETE",headers:{"X-SessionID":i}}).then(e=>e.json()).then(e=>{window.postMessage({type:"RemoveFavoriteThumbnail_"+r},window.location.href),me(n,i)});break;case"SetFavoredGame":((t,n,i)=>{ne.includes(i)||ne.push(i);let e={items:ne},r={method:"POST",headers:{"X-SessionID":n,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(e)};fetch(t,r).then(e=>e.json()).then(e=>{window.postMessage({type:`AddFavoriteThumbnail_${i}`},window.location.href),me(t,n)}).catch(e=>{console.error("Err",e)})})(`${g}/player/${o}/favorites`,s,(o,e.data.id),e.data.triggerFactor);break;case"GetFavoredGame":o&&o.length&&s&&0<s.length&&pe(g,s,o);break;case"SearchedItemClicked":(t=>{if(re=ye(`searchedGamesWds_${T}`),re=re?re.split(","):[],-1===re.indexOf(t)){let e;re.push(t),e=re.join(","),document.cookie=`searchedGamesWds_${T}=`+e}})(e.data.gameId);break;case"UpdateFilters":t=e.data.vendorsArray,window.postMessage({type:"UpdateSelectedVendorFilters",venArray:t},window.location.href),be();break;case"ClearFilters":t=e.data.vendorsArray,window.postMessage({type:"AvailableVendors",venArray:t},window.location.href),be();break;case"ApplyFilters":window.postMessage({type:"CategoryUpdate",itemId:oe},window.location.href),be();break;case"CategoryVendors":oe=e.data.categoryid,be();break;case"GameHovered":Y=!0;break;case"GameBlur":Y=!1}var t,n,i,r},he=e=>{let t=new URL(`${g}/player/${o}/games/most-played`);e.limit&&t.searchParams.append("limit",e.limit),e.order&&t.searchParams.append("order",e.order);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),f=A?t:t.href,new Promise((t,n)=>{fetch(f).then(e=>e.json()).then(e=>{t(e),window.postMessage({type:"AddNewCategory",category:{name:"Most Played",id:"MOSTPLAYED"}},window.location.href),window.postMessage({type:"MostPlayedGames",data:e},window.location.href)}).catch(e=>{console.error(e),n(e)})})};let pe=(e,t,n)=>{"true"==k&&b&&n&&(fetch(e+`/player/${n}/favorites/`,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(i=e,i&&(window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i},window.location.href),fe(i.items)),i)).catch(e=>{console.error(e)}),N&&ge())},me=(e,t,n)=>{fetch(e,{method:"GET",headers:{"X-SessionID":t}}).then(e=>e.json()).then(e=>(i=e,N&&ge(),i&&window.postMessage({type:"UpdateCategoryFavoriteGames",receivedFavoriteResults:i},window.location.href),i)).catch(e=>{console.error(e)})};const fe=(e=[])=>(ne=[],0<e.length&&e.forEach(e=>{ne.push(e.id)}),ne);const ge=()=>{window.postMessage({type:"ShowFavoriteSection",receivedFavoriteResults:i},window.location.href)},ye=e=>{e=document.cookie.match(new RegExp("(^| )"+e+"=([^;]+)"));if(e)return e[2]},ve=()=>{if(g&&y&&w&&(a(24,z=!0),q.length<2)){let e=ye("searchedGamesWds_"+T),t=[];e&&(t=e.split(",")),1!=W||U||(a(23,j=W),a(25,W=!1));let n=[],i=0,r=t.length;if(0<r){for(i=0;i<r;i++){let e=new URL(g+"/casino/games/"+t[i]);e.searchParams.append("language",w),e.searchParams.append("datasource",y),e.searchParams.append("platform",ji(Q)),n.push((e=>new Promise((t,n)=>{a(15,D=!0),fetch(e).then(e=>e.json()).then(e=>{a(15,D=!1),t(e[0])}).catch(e=>{a(16,R=!0),a(15,D=!1),console.error(e),n(e)})}))(e))}Promise.all(n).then(e=>{a(29,l=e),Se(0,l)})}else Se(0,{})}},we=()=>{a(24,z=!1),q.length<2&&!Y&&(a(22,H=!1),a(29,l=[]),a(21,B=!1),a(25,W=j),a(23,j=!1),!1===W&&window.postMessage({type:"CategoryUpdate",itemId:r},window.location.href),window.postMessage({type:"OutOfRecentSearches"},window.location.href))},be=()=>{var e=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory"));e&&oe&&(e[oe]?a(35,ae=e[oe].length):a(35,ae=0))},xe=()=>{a(55,J=!0),a(14,q=""),a(29,l=[]),a(21,B=!1),we()},Se=(e,t)=>{window.postMessage({type:"RecentSearchData",searchData:t},window.location.href)},Ce=()=>{window.postMessage({type:"ShowFilterModal"},window.location.href)},_e=()=>{window.postMessage({type:"ClearVendorFilters"},window.location.href)},Fe=(e,t)=>{t&&window.postMessage({type:"SearchData",searchData:t,receivedFavoriteResults:i},window.location.href)},Me=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},ke=()=>{u&&(d=u.getBoundingClientRect().top+document.body.getBoundingClientRect().top),document.documentElement.scrollTop>d||130<d?a(28,X=!0):a(28,X=!1)};return Ee(()=>(window.addEventListener("scroll",ke,!1),window.addEventListener("message",de,!1),()=>{window.removeEventListener("scroll",ke),window.removeEventListener("message",de)})),e.$$set=e=>{"endpoint"in e&&a(0,g=e.endpoint),"datasource"in e&&a(1,y=e.datasource),"currency"in e&&a(2,v=e.currency),"lang"in e&&a(3,w=e.lang),"session"in e&&a(4,b=e.session),"userid"in e&&a(5,x=e.userid),"clientstyling"in e&&a(6,S=e.clientstyling),"clientstylingurl"in e&&a(7,C=e.clientstylingurl),"categorybackground"in e&&a(8,_=e.categorybackground),"visiblegames"in e&&a(49,F=e.visiblegames),"alternativesearch"in e&&a(9,M=e.alternativesearch),"favorites"in e&&a(10,k=e.favorites),"mostplayed"in e&&a(50,$=e.mostplayed),"containermaxwidth"in e&&a(11,E=e.containermaxwidth),"lobbyid"in e&&a(51,T=e.lobbyid),"haspanicbutton"in e&&a(12,L=e.haspanicbutton),"mostplayedrounds"in e&&a(52,I=e.mostplayedrounds),"activecategory"in e&&a(53,P=e.activecategory),"livecasino"in e&&a(13,A=e.livecasino)},e.$$.update=()=>{if(16384&e.$$.dirty[0]&&q&&(2<=q.length?a(55,J=!0):a(55,J=!1)),16395&e.$$.dirty[0]|25165824&e.$$.dirty[1])if(2<=q.length){a(22,H=!0);let e=new URL(g+"/casino/games");e.searchParams.append("datasource",y),e.searchParams.append("expand","vendor"),e.searchParams.append("platform",ji(Q)),e.searchParams.append("language",w),e.searchParams.append("pagination","offset=0,limit=30"),e.searchParams.append("filter","name="+q),i=e,new Promise((t,n)=>{a(15,D=!0),fetch(i).then(e=>e.json()).then(e=>{a(15,D=!1),t(e)}).catch(e=>{a(16,R=!0),a(15,D=!1),console.error(e),n(e)})}).then(e=>{a(29,l=e),Fe(0,e)})}else J||ve(),U&&a(54,U=!1);var i;4194304&e.$$.dirty[1]&&P&&(a(31,r=P),ue({data:{itemId:r}})),49&e.$$.dirty[0]&&b&&x&&g&&(a(17,G=!0),a(19,s=b),a(18,o=x)),523&e.$$.dirty[0]&&g&&y&&w&&M&&(()=>{if(g||(O="Endpoint is missing! Please provide a valid endpointURL.",a(16,R=!0),a(15,D=!1),console.error(O)),y||(O="Datasource is missing! Please provide a valid datasource.",a(16,R=!0),a(15,D=!1),console.error(O)),w&&2==w.length||(O="Language is missing! Please provide a valid language (alpha2code)",a(16,R=!0),a(15,D=!1),console.error(O)),!R){a(15,D=!0),"true"==k&&pe(g,s,o),t=w,Ii.set(t);let e=new URL(g+"/casino/groups/"+y);e.searchParams.append("language",w),e.searchParams.append("platform",ji(Q)),i=e,new Promise((t,n)=>{a(15,D=!0),fetch(i).then(e=>e.json()).then(e=>{a(15,D=!1),t(e)}).catch(e=>{a(16,R=!0),a(15,D=!1),console.error(e),n(e)})}).then(e=>{e&&(h=e.items.filter(e=>0<e.games.total),a(30,K=h.map(e=>e.id)),a(15,D=!1))}),"PC"!==ji(Q)&&(p.addEventListener("focusin",e=>{a(34,ie=!0)}),p.addEventListener("focusout",e=>{a(34,ie=!1)})),be(),u=c,u&&(d=u.getBoundingClientRect().top-document.body.getBoundingClientRect().top)}var i,t})(),8&e.$$.dirty[0]&&w&&(se&&setTimeout(()=>{window.postMessage({type:"CategoryUpdate",itemId:r},window.location.href)},500),se=!1),64&e.$$.dirty[0]&&S&&(()=>{let e=document.createElement("style");e.innerHTML=S,m.appendChild(e)})(),128&e.$$.dirty[0]&&C&&(()=>{let t=document.createElement("style");fetch(new URL(C)).then(e=>e.text()).then(e=>{t.innerHTML=e,m&&setTimeout(()=>{m.appendChild(t)},1)})})()},[g,y,v,w,b,x,S,C,_,M,k,E,L,A,q,D,R,G,o,s,N,B,H,j,z,W,V,Z,X,l,K,r,c,p,ie,ae,m,n,Q,ge,ve,we,()=>{window.postMessage({type:"scroll"},window.location.href)},xe,Ce,_e,(e,t)=>{oe=t,window.postMessage({type:"CategoryData_"+t,categoryId:t,visiblegames:F,receivedFavoriteResults:i},window.location.href)},Fe,Me,F,$,T,I,P,U,J,function(e){Te[e?"unshift":"push"](()=>{p=e,a(33,p)})},function(){q=this.value,a(14,q)},()=>xe(),()=>_e(),()=>{Ce()},function(e){Te[e?"unshift":"push"](()=>{c=e,a(32,c)})},function(e){Te[e?"unshift":"push"](()=>{p=e,a(33,p)})},function(){q=this.value,a(14,q)},()=>xe(),()=>_e(),()=>{Ce()},function(e){Te[e?"unshift":"push"](()=>{c=e,a(32,c)})},()=>Me(),function(e){Te[e?"unshift":"push"](()=>{m=e,a(36,m)})}]}function eo(e,{delay:t=0,duration:n=400,easing:i=f}={}){const r=+getComputedStyle(e).opacity;return{delay:t,duration:n,easing:i,css:e=>"opacity: "+e*r}}function to(n){let i,r,a,o,s,t,l,c,u;return{c(){i=X("div"),r=X("div"),r.innerHTML="<slot></slot>",a=K(),o=X("span"),o.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>',Q(r,"class","ModalContainer"),Q(o,"class","ModalCloseBtn"),Q(o,"role","button"),Q(i,"class","ModalWindow"),Q(i,"id","Modal"),G(()=>n[13].call(i))},m(e,t){V(e,i,t),W(i,r),W(i,a),W(i,o),n[12](i),s=F(i,n[13].bind(i)),l=!0,c||(u=q(o,"click",n[6]),c=!0)},p(e,t){n=e},i(e){l||(G(()=>{t=t||le(i,eo,{transitionDuration:n[1]},!0),t.run(1)}),l=!0)},o(e){t=t||le(i,eo,{transitionDuration:n[1]},!1),t.run(0),l=!1},d(e){e&&Z(i),n[12](null),s(),e&&t&&t.end(),c=!1,u()}}}function no(n){let i,r,a=n[0]&&to(n);return{c(){i=X("div"),a&&a.c(),this.c=Y},m(e,t){V(e,i,t),a&&a.m(i,null),n[14](i),r=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&ae(a,1)):(a=to(e),a.c(),ae(a,1),a.m(i,null)):a&&(ie(),oe(a,1,1,()=>{a=null}),re())},i(e){r||(ae(a),r=!0)},o(e){oe(a),r=!1},d(e){e&&Z(i),a&&a.d(),n[14](null)}}}function io(e,t,n){let i,r,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,m=!1;const f=e=>{var t;"ModalClosed"==e.data.type&&n(0,s=!1),"ShowGameModal"===e.data.type&&(n(0,s=!0),window.postMessage({type:"GameLaunchID",gameId:e.data.gameId},window.location.href),window.postMessage({type:"DisableScroll"},window.location.href)),"OpenGameFrame"===e.data.type&&(n(0,s=!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:getComputedStyle(i).width,modalHeight:getComputedStyle(i).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href)),"GameStateOnResize"===e.data.type&&(m=e.data.detailsObtained)},g=e=>{var t;m&&(t={modalWidth:getComputedStyle(i).width,modalHeight:getComputedStyle(i).height},window.postMessage({type:"ModalSize",modalContainerSize:t},window.location.href))};return Ee(()=>(window.addEventListener("message",f,!1),window.addEventListener("resize",g,!1),()=>{window.removeEventListener("message",f),window.removeEventListener("resize",f)})),e.$$set=e=>{"show"in e&&n(0,s=e.show),"duration"in e&&n(1,l=e.duration),"session"in e&&n(7,c=e.session),"userid"in e&&n(8,u=e.userid),"clientstyling"in e&&n(9,d=e.clientstyling),"clientstylingurl"in e&&n(10,h=e.clientstylingurl),"endpoint"in e&&n(11,p=e.endpoint)},e.$$.update=()=>{2432&e.$$.dirty&&c&&u&&p&&zi(p,c).then(e=>{},e=>{console.error("err on session",e)}),512&e.$$.dirty&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{i.appendChild(e)})})(),1024&e.$$.dirty&&h&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,setTimeout(()=>{r.appendChild(t)},1)})})()},[s,l,i,r,void 0,void 0,()=>{n(0,s=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},c,u,d,h,p,function(e){Te[e?"unshift":"push"](()=>{i=e,n(2,i)})},function(){a=this.clientWidth,o=this.clientHeight,n(4,a),n(5,o)},function(e){Te[e?"unshift":"push"](()=>{r=e,n(3,r)})}]}customElements.get("casino-page")||customElements.define("casino-page",class extends de{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}.PanicSectionMobile{flex-direction:column;margin-bottom:40px}.PanicSection{display:flex;justify-content:center;align-items:center;gap:10px}.PanicText{display:flex;justify-content:center;align-items:center;gap:10px}p{font-size:16px;color:var(--emfe-w-color-white, #FFFFFF)}.PanicButton{border-radius:2px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:240px;height:48px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}[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:14.4px;margin-top:16px;text-align:center}.SearchContainer{flex:3;width:100%;max-width:640px;margin:0 auto}.SearchContainer.SearchTruncated{margin:auto 0 auto 25%}.SearchContainer.SearchTruncated .SearchInput{tabindex:999;padding:20px 12px 20px 40px}.SearchContainer .SearchWrapper{position:relative;display: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:25.6px;height:25.6px;display:block;vertical-align:middle;fill:#c7d2fe}.SearchContainer .SearchWrapper .SearchInput{width:100%;display:block;padding:12px 12px 12px 40px;border-radius:6.4px;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:1;grid-gap:20px;flex-direction:row-reverse}.FilterButtonWrapper,.ClearFilterButtonWrapper{display:inline-flex;padding:10px 22px;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:22px}.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{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:75px;right:0;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,.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>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Qa,Ja,t,{endpoint:0,datasource:1,currency:2,lang:3,session:4,userid:5,clientstyling:6,clientstylingurl:7,categorybackground:8,visiblegames:49,alternativesearch:9,favorites:10,mostplayed:50,containermaxwidth:11,lobbyid:51,haspanicbutton:12,mostplayedrounds:52,activecategory:53,livecasino:13},null,[-1,-1,-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","currency","lang","session","userid","clientstyling","clientstylingurl","categorybackground","visiblegames","alternativesearch","favorites","mostplayed","containermaxwidth","lobbyid","haspanicbutton","mostplayedrounds","activecategory","livecasino"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[1]}set datasource(e){this.$$set({datasource:e}),U()}get currency(){return this.$$.ctx[2]}set currency(e){this.$$set({currency:e}),U()}get lang(){return this.$$.ctx[3]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[4]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[5]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[6]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[7]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get categorybackground(){return this.$$.ctx[8]}set categorybackground(e){this.$$set({categorybackground:e}),U()}get visiblegames(){return this.$$.ctx[49]}set visiblegames(e){this.$$set({visiblegames:e}),U()}get alternativesearch(){return this.$$.ctx[9]}set alternativesearch(e){this.$$set({alternativesearch:e}),U()}get favorites(){return this.$$.ctx[10]}set favorites(e){this.$$set({favorites:e}),U()}get mostplayed(){return this.$$.ctx[50]}set mostplayed(e){this.$$set({mostplayed:e}),U()}get containermaxwidth(){return this.$$.ctx[11]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),U()}get lobbyid(){return this.$$.ctx[51]}set lobbyid(e){this.$$set({lobbyid:e}),U()}get haspanicbutton(){return this.$$.ctx[12]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),U()}get mostplayedrounds(){return this.$$.ctx[52]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),U()}get activecategory(){return this.$$.ctx[53]}set activecategory(e){this.$$set({activecategory:e}),U()}get livecasino(){return this.$$.ctx[13]}set livecasino(e){this.$$set({livecasino:e}),U()}}),customElements.get("casino-modal")||customElements.define("casino-modal",class extends de{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:20;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:32px;right:32px;padding:16px;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>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},io,no,t,{show:0,duration:1,session:7,userid:8,clientstyling:9,clientstylingurl:10,endpoint:11},null),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),U()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),U()}get session(){return this.$$.ctx[7]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[8]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get endpoint(){return this.$$.ctx[11]}set endpoint(e){this.$$set({endpoint:e}),U()}});const ro={en:{gamePage:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},de:{gamePage:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt starten!",break:"Mach mal einen Tag Pause!",breakButton:"24 Stunden Auszeit"}},it:{gamePage:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},fr:{gamePage:{signIn:"SE CONNECTER",register:"S'INSCRIRE",deposit:"DÉPOSER",playForFun:"JOUER POUR LE PLAISIR",playNow:"JOUE MAINTENANT",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},es:{gamePage:{signIn:"INICIAR SESIÓN",register:"REGISTRARSE",deposit:"INGRESAR",playForFun:"JUEGA POR DIVERSION",playNow:"REPRODUCIR AHORA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},tr:{gamePage:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ru:{gamePage:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},ro:{gamePage:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hr:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},hu:{gamePage:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pl:{gamePage:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},pt:{gamePage:{signIn:"Login",register:"REGISTAR",deposit:"Depósito",playForFun:"Play for fun",playNow:"Comece agora!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sl:{gamePage:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}},sr:{gamePage:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",break:"Take 1 day break from playing",breakButton:"24-hour Cool Off"}}};function ao(){"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=window.cstmNativeBridge.EVENTS[e];if(n){if("function"==typeof t){var i=window.cstmNativeBridge.eventListeners[n];return window.cstmNativeBridge.eventListeners[n]=function(){delete window.cstmNativeBridge.eventListeners[n],i&&i.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=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];if("function"!=typeof t)return console.error("Native Bridge `"+e+"` method is not defined"),!1;e=Array.prototype.slice.call(arguments,1);return t.apply(this,e),!0};var oo=function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},so=function(e,...t){try{return ao(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}};function lo(n){let i,r=n[8]&&ho(n);return{c(){i=X("div"),r&&r.c(),Q(i,"class","CasinoGamePageContainer")},m(e,t){V(e,i,t),r&&r.m(i,null),n[69](i)},p(e,t){e[8]?r?r.p(e,t):(r=ho(e),r.c(),r.m(i,null)):r&&(r.d(1),r=null)},d(e){e&&Z(i),r&&r.d(),n[69](null)}}}function co(e){let n;return{c(){n=X("p"),n.textContent="500 Error - Internal Server Error.",Q(n,"class","SearchLoading")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function uo(e){let n;return{c(){n=X("p"),n.textContent="Loading, please wait ...",Q(n,"class","SearchLoading")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function ho(e){let n;function i(e){return e[18]?go:e[4]?fo:e[9]?mo:po}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Z(n)}}}function po(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w,b,x=n[7].name+"",S=n[20]("gamePage.signIn")+"",C=n[20]("gamePage.register")+"";return{c(){i=X("div"),r=X("h3"),a=J(x),o=K(),s=X("img"),c=K(),u=X("div"),d=X("button"),h=J(S),p=K(),m=X("button"),f=J(C),g=K(),y=X("p"),v=J(n[2]),z(s.src,l=n[7].thumbnail)||Q(s,"src",l),Q(s,"class","GameThumbnail"),Q(s,"alt","game thumbnail"),Q(s,"loading","lazy"),Q(d,"class","LoginButton"),Q(m,"class","RegisterButton"),Q(u,"class","ButtonsContainer"),Q(i,"class","GameDetails")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(i,o),W(i,s),W(i,c),W(i,u),W(u,d),W(d,h),W(u,p),W(u,m),W(m,f),W(i,g),W(i,y),W(y,v),w||(b=[q(d,"click",n[67]),q(m,"click",n[68])],w=!0)},p(e,t){128&t[0]&&x!==(x=e[7].name+"")&&ee(a,x),128&t[0]&&!z(s.src,l=e[7].thumbnail)&&Q(s,"src",l),1048576&t[0]&&S!==(S=e[20]("gamePage.signIn")+"")&&ee(h,S),1048576&t[0]&&C!==(C=e[20]("gamePage.register")+"")&&ee(f,C),4&t[0]&&ee(v,e[2])},d(e){e&&Z(i),w=!1,j(b)}}}function mo(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w,b,x,S=n[20]("gamePage.signIn")+"",C=n[20]("gamePage.register")+"";function _(e){return e[13]?vo:yo}let F=_(n),M=F(n);return{c(){i=X("div"),r=X("div"),a=X("iframe"),s=K(),l=X("div"),c=X("div"),u=X("button"),d=J(S),h=K(),p=X("button"),m=J(C),f=K(),M.c(),g=K(),y=X("p"),v=X("span"),w=J(n[2]),Q(a,"title","Games"),Q(a,"class","GamesContainer"),Q(a,"aria-hidden","false"),z(a.src,o=n[7].launchUrl)||Q(a,"src",o),Q(u,"class","LoginButton"),Q(p,"class","RegisterButton"),Q(c,"class","ButtonsContainer"),Q(l,"class","BottomGame"),Q(y,"class","Time"),Q(r,"id","IframeGame"),k(r,"width",n[13]?"100%":n[16]),k(r,"height",n[13]?"100%":n[17]),k(r,"max-width",n[13]?"none":n[7].width+"px"),k(r,"max-height",n[13]?"none":n[7].height+100+"px"),Q(i,"id","IframeContainer"),k(i,"width",n[14]),k(i,"height",n[15]),$(i,"FullsScreenLayout",n[13])},m(e,t){V(e,i,t),W(i,r),W(r,a),n[60](a),W(r,s),W(r,l),W(l,c),W(c,u),W(u,d),W(c,h),W(c,p),W(p,m),W(l,f),M.m(l,null),W(r,g),W(r,y),W(y,v),W(v,w),n[65](r),n[66](i),b||(x=[q(u,"click",n[61]),q(p,"click",n[62])],b=!0)},p(e,t){128&t[0]&&!z(a.src,o=e[7].launchUrl)&&Q(a,"src",o),1048576&t[0]&&S!==(S=e[20]("gamePage.signIn")+"")&&ee(d,S),1048576&t[0]&&C!==(C=e[20]("gamePage.register")+"")&&ee(m,C),F===(F=_(e))&&M?M.p(e,t):(M.d(1),M=F(e),M&&(M.c(),M.m(l,null))),4&t[0]&&ee(w,e[2]),73728&t[0]&&k(r,"width",e[13]?"100%":e[16]),139264&t[0]&&k(r,"height",e[13]?"100%":e[17]),8320&t[0]&&k(r,"max-width",e[13]?"none":e[7].width+"px"),8320&t[0]&&k(r,"max-height",e[13]?"none":e[7].height+100+"px"),16384&t[0]&&k(i,"width",e[14]),32768&t[0]&&k(i,"height",e[15]),8192&t[0]&&$(i,"FullsScreenLayout",e[13])},d(e){e&&Z(i),n[60](null),M.d(),n[65](null),n[66](null),b=!1,j(x)}}}function fo(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w=n[20]("gamePage.deposit")+"",b="true"===n[1]&&wo(n);function x(e){return e[13]?xo:bo}let S=x(n),C=S(n);return{c(){i=X("div"),r=X("div"),a=X("iframe"),s=K(),l=X("div"),c=X("button"),u=J(w),d=K(),b&&b.c(),h=K(),C.c(),p=K(),m=X("p"),f=X("span"),g=J(n[2]),Q(a,"title","Games"),Q(a,"id","IframeGame"),Q(a,"class","GamesContainer"),Q(a,"aria-hidden","false"),z(a.src,o=n[7].launchUrl)||Q(a,"src",o),Q(c,"class","DepositButton"),Q(l,"class","BottomGame"),Q(m,"class","Time"),Q(r,"id","IframeGame"),k(r,"width",n[13]?"100%":n[16]),k(r,"height",n[13]?"100%":n[17]),k(r,"max-width",n[13]?"none":n[7].width+"px"),k(r,"max-height",n[13]?"none":n[7].height+100+"px"),Q(i,"id","IframeContainer"),k(i,"width",n[14]),k(i,"height",n[15]),$(i,"FullsScreenLayout",n[13])},m(e,t){V(e,i,t),W(i,r),W(r,a),n[53](a),W(r,s),W(r,l),W(l,c),W(c,u),W(l,d),b&&b.m(l,null),W(l,h),C.m(l,null),W(r,p),W(r,m),W(m,f),W(f,g),n[58](r),n[59](i),y||(v=q(c,"click",n[54]),y=!0)},p(e,t){128&t[0]&&!z(a.src,o=e[7].launchUrl)&&Q(a,"src",o),1048576&t[0]&&w!==(w=e[20]("gamePage.deposit")+"")&&ee(u,w),"true"===e[1]?b?b.p(e,t):(b=wo(e),b.c(),b.m(l,h)):b&&(b.d(1),b=null),S===(S=x(e))&&C?C.p(e,t):(C.d(1),C=S(e),C&&(C.c(),C.m(l,null))),4&t[0]&&ee(g,e[2]),73728&t[0]&&k(r,"width",e[13]?"100%":e[16]),139264&t[0]&&k(r,"height",e[13]?"100%":e[17]),8320&t[0]&&k(r,"max-width",e[13]?"none":e[7].width+"px"),8320&t[0]&&k(r,"max-height",e[13]?"none":e[7].height+100+"px"),16384&t[0]&&k(i,"width",e[14]),32768&t[0]&&k(i,"height",e[15]),8192&t[0]&&$(i,"FullsScreenLayout",e[13])},d(e){e&&Z(i),n[53](null),b&&b.d(),C.d(),n[58](null),n[59](null),y=!1,v()}}}function go(e){let n;function i(e){return e[4]?_o:e[10]?Co:So}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Z(n)}}}function yo(n){let i,r,a;return{c(){i=X("button"),i.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>',Q(i,"class","FullscreenButton")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[64]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function vo(n){let i,r,a;return{c(){i=X("button"),i.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>',Q(i,"class","FullscreenButton")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[63]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function wo(n){let i,r,a,o,s,l,c,u,d,h,p,m=n[20]("gamePage.break")+"",f=n[20]("gamePage.breakButton")+"";return{c(){i=X("div"),r=S("svg"),a=S("path"),o=K(),s=X("p"),l=J(m),c=K(),u=X("button"),d=J(f),Q(a,"stroke-linecap","round"),Q(a,"stroke-linejoin","round"),Q(a,"stroke-width","2"),Q(a,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),Q(r,"class","w-1 h-1"),Q(r,"fill","none"),Q(r,"stroke","white"),Q(r,"width","34px"),Q(r,"height","34px"),Q(r,"viewBox","0 0 24 24"),Q(r,"xmlns","http://www.w3.org/2000/svg"),Q(u,"class","Button"),Q(i,"class","PanicSection")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(i,o),W(i,s),W(s,l),W(i,c),W(i,u),W(u,d),h||(p=q(u,"click",n[55]),h=!0)},p(e,t){1048576&t[0]&&m!==(m=e[20]("gamePage.break")+"")&&ee(l,m),1048576&t[0]&&f!==(f=e[20]("gamePage.breakButton")+"")&&ee(d,f)},d(e){e&&Z(i),h=!1,p()}}}function bo(n){let i,r,a;return{c(){i=X("button"),i.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>',Q(i,"class","FullscreenButton")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[57]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function xo(n){let i,r,a;return{c(){i=X("button"),i.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>',Q(i,"class","FullscreenButton")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[56]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function So(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w,b,x=n[7].name+"",S=n[20]("gamePage.signIn")+"",C=n[20]("gamePage.register")+"";return{c(){i=X("div"),r=X("h3"),a=J(x),o=K(),s=X("img"),c=K(),u=X("div"),d=X("button"),h=J(S),p=K(),m=X("button"),f=J(C),g=K(),y=X("p"),v=J(n[2]),z(s.src,l=n[7].thumbnail)||Q(s,"src",l),Q(s,"class","GameThumbnail"),Q(s,"alt","game thumbnail"),Q(s,"loading","lazy"),Q(d,"class","LoginButton"),Q(m,"class","RegisterButton"),Q(u,"class","ButtonsContainer"),Q(i,"class","GameDetails")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(i,o),W(i,s),W(i,c),W(i,u),W(u,d),W(d,h),W(u,p),W(u,m),W(m,f),W(i,g),W(i,y),W(y,v),w||(b=[q(d,"click",n[51]),q(m,"click",n[52])],w=!0)},p(e,t){128&t[0]&&x!==(x=e[7].name+"")&&ee(a,x),128&t[0]&&!z(s.src,l=e[7].thumbnail)&&Q(s,"src",l),1048576&t[0]&&S!==(S=e[20]("gamePage.signIn")+"")&&ee(h,S),1048576&t[0]&&C!==(C=e[20]("gamePage.register")+"")&&ee(f,C),4&t[0]&&ee(v,e[2])},d(e){e&&Z(i),w=!1,j(b)}}}function Co(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w,b,x,S,C,_=n[7].name+"",F=n[20]("gamePage.signIn")+"",M=n[20]("gamePage.register")+"",k=n[20]("gamePage.playForFun")+"";return{c(){i=X("div"),r=X("h3"),a=J(_),o=K(),s=X("img"),c=K(),u=X("div"),d=X("button"),h=J(F),p=K(),m=X("button"),f=J(M),g=K(),y=X("button"),v=J(k),w=K(),b=X("p"),x=J(n[2]),z(s.src,l=n[7].thumbnail)||Q(s,"src",l),Q(s,"class","GameThumbnail"),Q(s,"alt","game thumbnail"),Q(s,"loading","lazy"),Q(d,"class","LoginButton"),Q(m,"class","RegisterButton"),Q(u,"class","ButtonsContainer"),Q(y,"class","FullWidthButton"),Q(i,"class","GameDetails")},m(e,t){V(e,i,t),W(i,r),W(r,a),W(i,o),W(i,s),W(i,c),W(i,u),W(u,d),W(d,h),W(u,p),W(u,m),W(m,f),W(i,g),W(i,y),W(y,v),W(i,w),W(i,b),W(b,x),S||(C=[q(d,"click",n[48]),q(m,"click",n[49]),q(y,"click",n[50])],S=!0)},p(e,t){128&t[0]&&_!==(_=e[7].name+"")&&ee(a,_),128&t[0]&&!z(s.src,l=e[7].thumbnail)&&Q(s,"src",l),1048576&t[0]&&F!==(F=e[20]("gamePage.signIn")+"")&&ee(h,F),1048576&t[0]&&M!==(M=e[20]("gamePage.register")+"")&&ee(f,M),1048576&t[0]&&k!==(k=e[20]("gamePage.playForFun")+"")&&ee(v,k),4&t[0]&&ee(x,e[2])},d(e){e&&Z(i),S=!1,j(C)}}}function _o(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w,b,x,S,C=n[7].name+"",_=n[20]("gamePage.deposit")+"",F=n[20]("gamePage.playNow")+"",M="true"==n[0]&&Fo(n),k="true"===n[1]&&$o(n);return{c(){M&&M.c(),i=K(),r=X("div"),a=X("h3"),o=J(C),s=K(),l=X("img"),u=K(),d=X("div"),h=X("button"),p=J(_),m=K(),f=X("button"),g=J(F),y=K(),k&&k.c(),v=K(),w=X("p"),b=J(n[2]),z(l.src,c=n[7].thumbnail)||Q(l,"src",c),Q(l,"class","GameThumbnail"),Q(l,"alt","game thumbnail"),Q(l,"loading","lazy"),Q(h,"class","DepositButton"),Q(f,"class","PlayNowButton"),Q(d,"class","ButtonsContainer"),Q(r,"class","GameDetails")},m(e,t){M&&M.m(e,t),V(e,i,t),V(e,r,t),W(r,a),W(a,o),W(r,s),W(r,l),W(r,u),W(r,d),W(d,h),W(h,p),W(d,m),W(d,f),W(f,g),W(r,y),k&&k.m(r,null),W(r,v),W(r,w),W(w,b),x||(S=[q(h,"click",n[45]),q(f,"click",n[46])],x=!0)},p(e,t){"true"==e[0]?M?M.p(e,t):(M=Fo(e),M.c(),M.m(i.parentNode,i)):M&&(M.d(1),M=null),128&t[0]&&C!==(C=e[7].name+"")&&ee(o,C),128&t[0]&&!z(l.src,c=e[7].thumbnail)&&Q(l,"src",c),1048576&t[0]&&_!==(_=e[20]("gamePage.deposit")+"")&&ee(p,_),1048576&t[0]&&F!==(F=e[20]("gamePage.playNow")+"")&&ee(g,F),"true"===e[1]?k?k.p(e,t):(k=$o(e),k.c(),k.m(r,v)):k&&(k.d(1),k=null),4&t[0]&&ee(b,e[2])},d(e){M&&M.d(e),e&&Z(i),e&&Z(r),k&&k.d(),x=!1,j(S)}}}function Fo(e){let n;function i(e){return e[7].isFavored?ko:Mo}let r=i(e),a=r(e);return{c(){a.c(),n=c()},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},d(e){a.d(e),e&&Z(n)}}}function Mo(n){let i,r,a;return{c(){i=X("div"),i.innerHTML='<svg version="1.1" class="UnfavoredIcon" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="20px" y="20px" viewBox="0 0 512.001 512.001" style="enable-background:new 0 0 512.001 512.001;" xml:space="preserve"><path style="fill: white" 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"></path></svg>',Q(i,"class","FavIconContainer")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[44]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function ko(n){let i,r,a;return{c(){i=X("div"),i.innerHTML='<svg version="1.1" class="FavoredIcon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 19.481 19.481" xmlns:xlink="http://www.w3.org/1999/xlink" enable-background="new 0 0 19.481 19.481"><path style="fill: white" 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"></path></svg>',Q(i,"class","FavIconContainer")},m(e,t){V(e,i,t),r||(a=q(i,"click",n[43]),r=!0)},p:Y,d(e){e&&Z(i),r=!1,a()}}}function $o(n){let i,r,a,o,s,l,c,u,d,h,e,p,m,f=n[20]("gamePage.break")+"",g=n[20]("gamePage.breakButton")+"";return{c(){i=X("div"),r=X("div"),a=S("svg"),o=S("path"),s=K(),l=X("p"),c=J(f),u=K(),d=X("button"),h=J(g),Q(o,"stroke-linecap","round"),Q(o,"stroke-linejoin","round"),Q(o,"stroke-width","2"),Q(o,"d","M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"),Q(a,"class","w-1 h-1"),Q(a,"fill","none"),Q(a,"stroke","white"),Q(a,"width","34px"),Q(a,"height","34px"),Q(a,"viewBox","0 0 24 24"),Q(a,"xmlns","http://www.w3.org/2000/svg"),Q(r,"class","PanicText"),Q(d,"class","Button"),Q(i,"class",e="PanicSection "+("PC"!==ji(n[21])?"PanicSectionMobile":""))},m(e,t){V(e,i,t),W(i,r),W(r,a),W(a,o),W(r,s),W(r,l),W(l,c),W(i,u),W(i,d),W(d,h),p||(m=q(d,"click",n[47]),p=!0)},p(e,t){1048576&t[0]&&f!==(f=e[20]("gamePage.break")+"")&&ee(c,f),1048576&t[0]&&g!==(g=e[20]("gamePage.breakButton")+"")&&ee(h,g)},d(e){e&&Z(i),p=!1,m()}}}function Eo(e){let n;function i(e){return e[6]?uo:e[5]?co:lo}let r=i(e),a=r(e);return{c(){a.c(),n=c(),this.c=Y},m(e,t){a.m(e,t),V(e,n,t)},p(e,t){r===(r=i(e))&&a?a.p(e,t):(a.d(1),a=r(e),a&&(a.c(),a.m(n.parentNode,n)))},i:Y,o:Y,d(e){a.d(e),e&&Z(n)}}}function To(t,e,a){let n;$e(t,Hi,e=>a(20,n=e));let i,r,o,s,l,c,u,d,h,p,m,f,g,{endpoint:y=""}=e,{datasource:v=""}=e,{lang:w=""}=e,{session:b=""}=e,{userid:x=""}=e,{clientstyling:S=""}=e,{clientstylingurl:C=""}=e,{favorites:_=""}=e,{loginurl:F=""}=e,{registerurl:M=""}=e,{depositurl:k=""}=e,{loginevent:$=""}=e,{registerevent:E=""}=e,{depositevent:T=""}=e,{clockformat:L=""}=e,{haspanicbutton:I="false"}=e,P=!1,A=!1,D=!0,R=!1,G=!1,O=!1,N=!1,B=window.navigator.userAgent,U=!1,H=[],Y=!1;var j,z;({withLocale:j,translations:z}={withLocale:"en",translations:{}}),Ii.subscribe(e=>{null==e&&(bi.set(z),Ii.set(j))}),Object.keys(ro).forEach(e=>{Si(e,ro[e])});const W=e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",w),o&&0<o.length&&(a(4,P=!0),t.searchParams.append("_sid",o),t.searchParams.append("funMode","false")),e.launchUrl=t,e},V=n=>{switch(n.data.type){case"GameLaunchID":let e=new URL(y+"/casino/games/"+n.data.gameId);e.searchParams.append("language",w),e.searchParams.append("expand","vendor"),fetch(e.href).then(e=>e.json()).then(e=>{if(a(7,s=W(e[0])),s.launchUrl){a(8,R=!0),a(9,G=s.hasFunMode),a(10,O=s.hasAnonymousFunMode);let e=new URL(s.launchUrl);o&&0<o.length&&(a(4,P=!0),e.searchParams.append("_sid",o),e.searchParams.append("funMode",!1),e.searchParams.append("language",w),a(7,s.launchUrl=e,s))}},e=>{console.error("There was an error",e),a(5,A=!0)}).then(()=>{l&&J()}),window.postMessage({type:"RequestModalSize"},window.location.href);break;case"LaunchGameFrame":X(n.data.gameId,n.data.gameFunMode);break;case"ModalClosed":setTimeout(()=>{a(8,R=!1)},500);break;case"UserSessionID":if(0<n.data.session.length){o=n.data.session,n.data.userID,a(4,P=!0);let t=setInterval(()=>{if(s){let e=new URL(s.launchUrl);e.searchParams.append("_sid",o),e.searchParams.append("funMode",!1),e.searchParams.append("language",w),a(7,s.launchUrl=e,s),clearInterval(t)}},250)}break;case"ModalSize":a(14,u=n.data.modalContainerSize.modalWidth),a(15,d=n.data.modalContainerSize.modalHeight);break;case"UpdateCategoryFavoriteGames":n.data.receivedFavoriteResults&&(H=n.data.receivedFavoriteResults.items)}},Z=e=>{s.isFavored?(window.postMessage({type:"SetUnfavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(7,s.isFavored=!1,s)):(window.postMessage({type:"SetFavoredGame",id:e,triggerFactor:"gamepage"},window.location.href),a(7,s.isFavored=!0,s))},X=(e,n)=>{let t=new URL(y+"/casino/games/"+e);t.searchParams.append("language",w),fetch(t.href).then(e=>e.json()).then(e=>{var t;a(7,s=W(e[0])),s.launchUrl&&(a(10,O=s.hasAnonymousFunMode),a(9,G=n),a(8,R=!0),a(7,s.isFavored=(t=s.id,-1!==H.findIndex(e=>e.id==t)),s))})};let J=()=>{let e=getComputedStyle(l),t=getComputedStyle(c),n=parseInt(e.width.slice(0,-2)),i=parseInt(e.height.slice(0,-2));var r=s.width/(s.height+100);h=parseInt(t.width),p=parseInt(t.height),i<n/r?(p=i,h=i*r):(h=n,p=n/r),a(16,m=Math.floor(h)+"px"),a(17,f=Math.floor(p)+"px")};const K=e=>{var t;Y?(t={url:e.launchUrl,id:e.id,vendor:e.vendor.name},so("OPEN_GAME",t)):window.open(e.launchUrl,"_blank")},q=()=>{window.postMessage({type:"GameStateOnResize",detailsObtained:R},window.location.href),R&&(l&&J(),window.addEventListener("ModalSize",V,!1))},Q=()=>{$&&(window.postMessage({type:$,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),F&&(window.location=F)},ee=()=>{E&&(window.postMessage({type:E,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),M&&(window.location=M)},te=()=>{T&&(window.postMessage({type:T},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),k&&(window.location=k)};function ne(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!N||ie()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ne,!1),document.addEventListener("mozfullscreenchange",ne,!1),document.addEventListener("fullscreenchange",ne,!1),document.addEventListener("MSFullscreenChange",ne,!1));const ie=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(N?(document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen(),a(13,N=!1)):(l.requestFullscreen?l.requestFullscreen():l.webkitRequestFullscreen?l.webkitRequestFullscreen():l.mozRequestFullScreen?l.mozRequestFullScreen():l.msRequestFullscreen&&l.msRequestFullscreen(),a(13,N=!0)))},re=()=>{window.postMessage({type:"PanicButtonClicked"},window.location.href)},ae=setInterval(()=>{a(2,i=L?dr().format(L):dr().format("LTS"))},100);return Ee(()=>(window.addEventListener("resize",q,!1),window.addEventListener("message",V,!1),Y=!!oo(B),()=>{window.removeEventListener("resize",q),window.removeEventListener("message",V),clearInterval(ae)})),t.$$set=e=>{"endpoint"in e&&a(29,y=e.endpoint),"datasource"in e&&a(30,v=e.datasource),"lang"in e&&a(31,w=e.lang),"session"in e&&a(32,b=e.session),"userid"in e&&a(33,x=e.userid),"clientstyling"in e&&a(34,S=e.clientstyling),"clientstylingurl"in e&&a(35,C=e.clientstylingurl),"favorites"in e&&a(0,_=e.favorites),"loginurl"in e&&a(36,F=e.loginurl),"registerurl"in e&&a(37,M=e.registerurl),"depositurl"in e&&a(38,k=e.depositurl),"loginevent"in e&&a(39,$=e.loginevent),"registerevent"in e&&a(40,E=e.registerevent),"depositevent"in e&&a(41,T=e.depositevent),"clockformat"in e&&a(42,L=e.clockformat),"haspanicbutton"in e&&a(1,I=e.haspanicbutton)},t.$$.update=()=>{var e;1610612736&t.$$.dirty[0]|1&t.$$.dirty[1]&&y&&v&&w&&(e=w,Ii.set(e),a(6,D=!1),Yi(B)&&a(18,U=!0)),536870912&t.$$.dirty[0]|6&t.$$.dirty[1]&&b&&x&&y&&zi(y,b).then(e=>{o=e.Guid,a(4,P=!0)},e=>{a(4,P=!1),console.error("err on session",e)}),8&t.$$.dirty[1]&&S&&(()=>{let e=document.createElement("style");e.innerHTML=S,g.appendChild(e)})(),16&t.$$.dirty[1]&&C&&(()=>{let t=document.createElement("style");var e;C&&(e=new URL(C),fetch(e.href).then(e=>e.text()).then(e=>{t.innerHTML=e,g&&setTimeout(()=>{g.appendChild(t)},1)}))})()},[_,I,i,r,P,A,D,s,R,G,O,l,c,N,u,d,m,f,U,g,n,B,Z,K,Q,ee,te,ie,re,y,v,w,b,x,S,C,F,M,k,$,E,T,L,()=>Z(s.id),()=>Z(s.id),()=>te(),()=>{K(s)},()=>re(),()=>Q(),()=>ee(),()=>{K(s)},()=>Q(),()=>ee(),function(e){Te[e?"unshift":"push"](()=>{r=e,a(3,r)})},()=>te(),()=>re(),()=>ie(),()=>ie(),function(e){Te[e?"unshift":"push"](()=>{c=e,a(12,c)})},function(e){Te[e?"unshift":"push"](()=>{l=e,a(11,l)})},function(e){Te[e?"unshift":"push"](()=>{r=e,a(3,r)})},()=>Q(),()=>ee(),()=>ie(),()=>ie(),function(e){Te[e?"unshift":"push"](()=>{c=e,a(12,c)})},function(e){Te[e?"unshift":"push"](()=>{l=e,a(11,l)})},()=>Q(),()=>ee(),function(e){Te[e?"unshift":"push"](()=>{g=e,a(19,g)})}]}function Lo(n){let i,r,a,o,s,l,c,t,u,d,h;return{c(){i=X("div"),r=X("div"),a=X("span"),a.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=K(),s=X("slot"),Q(a,"class","FilterModalCloseBtn"),Q(a,"role","button"),Q(r,"class",l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")),Q(i,"class","FilterModalWindow"),Q(i,"id","FilterModal"),G(()=>n[14].call(i))},m(e,t){V(e,i,t),W(i,r),W(r,a),W(r,o),W(r,s),n[13](i),c=F(i,n[14].bind(i)),u=!0,d||(h=q(a,"click",n[7]),d=!0)},p(e,t){n=e,(!u||4&t&&l!==(l="FilterModalContainer "+(n[2]?"FilterModalMobileContainer":"")))&&Q(r,"class",l)},i(e){u||(G(()=>{t=t||le(i,eo,{transitionDuration:n[1]},!0),t.run(1)}),u=!0)},o(e){t=t||le(i,eo,{transitionDuration:n[1]},!1),t.run(0),u=!1},d(e){e&&Z(i),n[13](null),c(),e&&t&&t.end(),d=!1,h()}}}function Io(n){let i,r,a=n[0]&&Lo(n);return{c(){i=X("div"),a&&a.c(),this.c=Y},m(e,t){V(e,i,t),a&&a.m(i,null),n[15](i),r=!0},p(e,[t]){e[0]?a?(a.p(e,t),1&t&&ae(a,1)):(a=Lo(e),a.c(),ae(a,1),a.m(i,null)):a&&(ie(),oe(a,1,1,()=>{a=null}),re())},i(e){r||(ae(a),r=!0)},o(e){oe(a),r=!1},d(e){e&&Z(i),a&&a.d(),n[15](null)}}}function Po(e,t,n){let i,r,a,o,{show:s=!1}=t,{duration:l=350}=t,{session:c=""}=t,{userid:u=""}=t,{clientstyling:d=""}=t,{clientstylingurl:h=""}=t,{endpoint:p=""}=t,m=window.navigator.userAgent,f=!1;const g=()=>{n(0,s=!1),window.postMessage({type:"ModalClosed"},window.location.href),window.postMessage({type:"EnableScroll"},window.location.href)},y=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&&(g(),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,r.appendChild(t)})};return Ee(()=>(window.addEventListener("message",y,!1),Yi(m)&&n(2,f=!0),()=>{window.removeEventListener("message",y)})),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,u=e.userid),"clientstyling"in e&&n(10,d=e.clientstyling),"clientstylingurl"in e&&n(11,h=e.clientstylingurl),"endpoint"in e&&n(12,p=e.endpoint)},e.$$.update=()=>{4864&e.$$.dirty&&c&&u&&p&&zi(p,c).then(e=>{},e=>{console.error("err on session",e)}),1024&e.$$.dirty&&d&&(()=>{let e=document.createElement("style");e.innerHTML=d,s&&setTimeout(()=>{i.appendChild(e)})})(),2048&e.$$.dirty&&h&&v(),2049&e.$$.dirty&&s&&h&&v()},[s,l,f,i,r,void 0,void 0,g,c,u,d,h,p,function(e){Te[e?"unshift":"push"](()=>{i=e,n(3,i)})},function(){a=this.clientWidth,o=this.clientHeight,n(5,a),n(6,o)},function(e){Te[e?"unshift":"push"](()=>{r=e,n(4,r)})}]}customElements.get("casino-game-page")||customElements.define("casino-game-page",class extends de{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'}.BottomGame{padding-left:60px;padding-right:60px;padding-bottom:15px;min-height:85px;background-color:#14143B;display:flex;justify-content:space-between;align-items:center}.DepositButton,.PlayNowButton{border:none;width:129px;height:60px;background-color:#28A745;color:white;border-radius:2px;cursor:pointer}.PlayNowButton{background-color:#D0046C}.GameThumbnail{border-radius:2px;width:270px;height:180px}.FullscreenButton{border-radius:2px;border:none;width:60px;height:60px;background-color:#D0046C;float:right;margin-top:20px}.GameDetails{display:flex;flex-direction:column;align-items:center}.GameDetails h3{color:#fff;font-size:26px}.ButtonsContainer{width:275px;margin-top:20px;display:flex;flex-direction:row;justify-content:space-between}.RegisterButton{color:#ffffff;background-color:#D0046C;border-radius:2px;border:none;width:129px;height:60px}.LoginButton{color:#D0046C;background-color:#07072A;border-radius:2px;border:1px solid #D0046C;width:129px;height:60px}.FullWidthButton{color:#D0046C;background-color:#07072A;border-radius:2px;border:1px solid #D0046C;width:100%;height:60px;margin-top:20px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:calc(100% - 100px)}.Time{height:60px;margin:20px 0 0 0;display:flex;align-items:center;justify-content:center}svg{fill:#ffffff}p{color:white}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:center}#IframeGame{width:100%;height:100%}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.FavoredIcon,.UnfavoredIcon{width:35px;height:35px}.FavIconContainer{position:absolute;top:47px;left:47px;cursor:pointer}.PanicSectionMobile{flex-direction:column;margin:20px 0}.PanicText{display:flex;align-items:center}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection svg{fill:none}.PanicSection p{font-size:16px;color:#fff}.PanicSection .Button{border-radius:2px;border:1px solid #D0046C;background-color:#D0046C;width:240px;height:60px;color:#fff;cursor:pointer}</style>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},To,Eo,t,{endpoint:29,datasource:30,lang:31,session:32,userid:33,clientstyling:34,clientstylingurl:35,favorites:0,loginurl:36,registerurl:37,depositurl:38,loginevent:39,registerevent:40,depositevent:41,clockformat:42,haspanicbutton:1},null,[-1,-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl","favorites","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[30]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[31]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[32]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[33]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[34]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[35]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get favorites(){return this.$$.ctx[0]}set favorites(e){this.$$set({favorites:e}),U()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$$set({loginurl:e}),U()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$$set({registerurl:e}),U()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$$set({depositurl:e}),U()}get loginevent(){return this.$$.ctx[39]}set loginevent(e){this.$$set({loginevent:e}),U()}get registerevent(){return this.$$.ctx[40]}set registerevent(e){this.$$set({registerevent:e}),U()}get depositevent(){return this.$$.ctx[41]}set depositevent(e){this.$$set({depositevent:e}),U()}get clockformat(){return this.$$.ctx[42]}set clockformat(e){this.$$set({clockformat:e}),U()}get haspanicbutton(){return this.$$.ctx[1]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),U()}}),customElements.get("casino-filter-modal")||customElements.define("casino-filter-modal",class extends de{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:10;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>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Po,Io,t,{show:0,duration:1,session:8,userid:9,clientstyling:10,clientstylingurl:11,endpoint:12},null),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["show","duration","session","userid","clientstyling","clientstylingurl","endpoint"]}get show(){return this.$$.ctx[0]}set show(e){this.$$set({show:e}),U()}get duration(){return this.$$.ctx[1]}set duration(e){this.$$set({duration:e}),U()}get session(){return this.$$.ctx[8]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[9]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[10]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[11]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get endpoint(){return this.$$.ctx[12]}set endpoint(e){this.$$set({endpoint:e}),U()}});const Ao={en:{filters:{loading:"Loading",filterModalTitle:"Filter",filterModalSubtitle:"You can select multiple options",filterClear:"Reset filter",filterApply:"Done"}},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:"Filtrer par",filterModalSubtitle:"Vous pouvez sélectionner plusieurs fournisseurs",filterClear:"Eclaircir",filterApply:"Appliquer"}},es:{filters:{loading:"Cargando ...",filterModalTitle:"Filtrado por",filterModalSubtitle:"Puede seleccionar varios proveedores",filterClear:"Despejar",filterApply:"Solicitar"}},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:"A carregar",filterModalTitle:"Filtrar",filterModalSubtitle:"Escolha múltipla possível",filterClear:"Limpar filtro",filterApply:"Feito"}},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 Do(e,t,n){const i=e.slice();return i[32]=t[n],i}function Ro(n){let i,r,a,o,s,l,c,u,d,h,p,m,f,g,y,v,w,b,x,S=n[6]("filters.filterModalTitle")+"",C=n[6]("filters.filterModalSubtitle")+"",_=n[6]("filters.filterApply")+"",F=n[0]&&Oo(n),M=n[3]&&Uo(n);return{c(){i=X("div"),r=X("section"),a=X("div"),o=X("h4"),s=J(S),l=K(),c=X("h5"),u=J(C),d=K(),h=X("section"),F&&F.c(),p=K(),m=X("section"),M&&M.c(),f=K(),g=X("div"),y=J(_),Q(o,"class","FilterHeaderTitle"),Q(c,"class","FilterHeaderSubtitle"),Q(a,"class","FilterHeaderDetails"),Q(r,"class","FilterHeaderSection"),Q(h,"class","FilterContentSection"),Q(g,"class",v="ApplyFiltersButton "+(n[2]?"":"ApplyFilterButtonDisabled")),Q(m,"class","FilterFooterSection"),Q(i,"class",w="FilterModalContent "+(n[1]?"FilterModalMobileContent":""))},m(e,t){V(e,i,t),W(i,r),W(r,a),W(a,o),W(o,s),W(a,l),W(a,c),W(c,u),W(i,d),W(i,h),F&&F.m(h,null),W(i,p),W(i,m),M&&M.m(m,null),W(m,f),W(m,g),W(g,y),b||(x=q(g,"click",n[19]),b=!0)},p(e,t){64&t[0]&&S!==(S=e[6]("filters.filterModalTitle")+"")&&ee(s,S),64&t[0]&&C!==(C=e[6]("filters.filterModalSubtitle")+"")&&ee(u,C),e[0]?F?F.p(e,t):(F=Oo(e),F.c(),F.m(h,null)):F&&(F.d(1),F=null),e[3]?M?M.p(e,t):(M=Uo(e),M.c(),M.m(m,f)):M&&(M.d(1),M=null),64&t[0]&&_!==(_=e[6]("filters.filterApply")+"")&&ee(y,_),4&t[0]&&v!==(v="ApplyFiltersButton "+(e[2]?"":"ApplyFilterButtonDisabled"))&&Q(g,"class",v),2&t[0]&&w!==(w="FilterModalContent "+(e[1]?"FilterModalMobileContent":""))&&Q(i,"class",w)},d(e){e&&Z(i),F&&F.d(),M&&M.d(),b=!1,x()}}}function Go(e){let n;return{c(){n=X("div"),Q(n,"class","lds-dual-ring")},m(e,t){V(e,n,t)},p:Y,d(e){e&&Z(n)}}}function Oo(t){let r,a=t[0],o=[];for(let e=0;e<a.length;e+=1)o[e]=Bo(Do(t,a,e));return{c(){for(let e=0;e<o.length;e+=1)o[e].c();r=c()},m(t,n){for(let e=0;e<o.length;e+=1)o[e].m(t,n);V(t,r,n)},p(t,n){if(129&n[0]){let e;for(a=t[0],e=0;e<a.length;e+=1){var i=Do(t,a,e);o[e]?o[e].p(i,n):(o[e]=Bo(i),o[e].c(),o[e].m(r.parentNode,r))}for(;e<o.length;e+=1)o[e].d(1);o.length=a.length}},d(e){m(o,e),e&&Z(r)}}}function No(){let n;return{c(){n=X("div"),n.innerHTML='<div class="CheckMark"></div>',Q(n,"class","FilterIconContainer")},m(e,t){V(e,n,t)},d(e){e&&Z(n)}}}function Bo(n){let i,r,a,o,s,l,c,u,d,h=n[32].isFilterSelected&&No();function p(){return n[17](n[32])}return{c(){i=X("div"),r=X("img"),s=K(),h&&h.c(),l=K(),Q(r,"class","VendorImage"),z(r.src,a=n[32].image)||Q(r,"src",a),Q(r,"alt",o=n[32].name),Q(i,"class",c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))},m(e,t){V(e,i,t),W(i,r),W(i,s),h&&h.m(i,null),W(i,l),u||(d=q(i,"click",p),u=!0)},p(e,t){n=e,1&t[0]&&!z(r.src,a=n[32].image)&&Q(r,"src",a),1&t[0]&&o!==(o=n[32].name)&&Q(r,"alt",o),n[32].isFilterSelected?h||(h=No(),h.c(),h.m(i,l)):h&&(h.d(1),h=null),1&t[0]&&c!==(c="VendorBox "+(n[32].isFilterSelected?"VendorBoxSelected":""))&&Q(i,"class",c)},d(e){e&&Z(i),h&&h.d(),u=!1,d()}}}function Uo(e){let n,i=e[3].length&&Ho(e);return{c(){i&&i.c(),n=c()},m(e,t){i&&i.m(e,t),V(e,n,t)},p(e,t){e[3].length?i?i.p(e,t):(i=Ho(e),i.c(),i.m(n.parentNode,n)):i&&(i.d(1),i=null)},d(e){i&&i.d(e),e&&Z(n)}}}function Ho(n){let i,r,a,o,s=n[6]("filters.filterClear")+"";return{c(){i=X("div"),r=J(s),Q(i,"class","ClearFiltersButton")},m(e,t){V(e,i,t),W(i,r),a||(o=q(i,"click",n[18]),a=!0)},p(e,t){64&t[0]&&s!==(s=e[6]("filters.filterClear")+"")&&ee(r,s)},d(e){e&&Z(i),a=!1,o()}}}function Yo(n){let i;function r(e){return e[4]?Go:Ro}let a=r(n),o=a(n);return{c(){i=X("div"),o.c(),this.c=Y},m(e,t){V(e,i,t),o.m(i,null),n[20](i)},p(e,t){a===(a=r(e))&&o?o.p(e,t):(o.d(1),o=a(e),o&&(o.c(),o.m(i,null)))},i:Y,o:Y,d(e){e&&Z(i),o.d(),n[20](null)}}}function jo(e,t,r){let n;$e(e,Hi,e=>r(6,n=e));let i,{endpoint:a=""}=t,{datasource:o=""}=t,{lang:s=""}=t,{session:l=""}=t,{userid:c=""}=t,{clientstyling:u=""}=t,{clientstylingurl:d=""}=t,h=[],p=!1,m=window.navigator.userAgent,f=!1,g="",y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),v=[],w={},b=!1;w[g]&&(w={[g]:[]});let x=[];var S,C;({withLocale:S,translations:C}={withLocale:"en",translations:{}}),Ii.subscribe(e=>{null==e&&(bi.set(C),Ii.set(S))}),Object.keys(Ao).forEach(e=>{Si(e,Ao[e])});const _=t=>{if(t.data)switch(t.data.type){case"ShowFilterModal":if(g&&(y=JSON.parse(sessionStorage.getItem("vendorFiltersByCategory")),y&&r(3,v=y[g])),!v){let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[g]:v})):(e=JSON.parse(e),e[g]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))}i=`${a}/casino/vendors?filter=games(groups=${g})&datasource=`+o,new Promise((t,n)=>{fetch(i).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:[]},g&&t[g]&&(e.isFilterSelected=0<=t[g].indexOf(e.id))}),r(0,h=e),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)}).catch(e=>{console.error(e),n(e)})});let e=v;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),[]),r(3,v=x),r(2,f=!1);break;case"AvailableVendors":r(0,h=t.data.venArray),r(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"UpdateSelectedVendorFilters":r(0,h=t.data.venArray),h&&r(3,v=h.reduce((e,t)=>(t.isFilterSelected&&e.push(t.id),e),[]));break;case"ClearVendorFilters":k(),window.postMessage({type:"ApplyFilters"},window.location.href),r(2,f=!1);break;case"ModalClosed":h.forEach(e=>{e.isFilterSelected=!1}),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href);break;case"CategoryVendors":g=t.data.categoryid,y&&g&&r(3,v=y[g]);break;case"ModalLoader":r(4,b=!1)}var i},F=t=>{t.isFilterSelected=!t.isFilterSelected,t.isFilterSelected?(v.push(t.id),r(2,f=!M(v,x))):(v.includes(t.id)&&r(3,v=v.filter(e=>e!==t.id)),r(2,f=!(!v.length&&M(v,x)))),window.postMessage({type:"UpdateFilters",vendorsArray:h},window.location.href)},M=(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},k=()=>{h.forEach(e=>{e.isFilterSelected=!1});let e=sessionStorage.getItem("vendorFiltersByCategory");window.postMessage({type:"ClearFilters",vendorsArray:h},window.location.href),r(2,f=M(v,x)),r(3,v=[]),null!==e&&(e=JSON.parse(e),e[g]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e)))},$=()=>{r(4,b=!0);let e=sessionStorage.getItem("vendorFiltersByCategory");null==e?sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(w={[g]:v})):(e=JSON.parse(e),e[g]=v,sessionStorage.setItem("vendorFiltersByCategory",JSON.stringify(e))),window.postMessage({type:"ApplyFilters"},window.location.href)};return Ee(()=>(window.addEventListener("message",_,!1),Yi(m)&&r(1,p=!0),()=>{window.removeEventListener("message",_)})),e.$$set=e=>{"endpoint"in e&&r(10,a=e.endpoint),"datasource"in e&&r(11,o=e.datasource),"lang"in e&&r(12,s=e.lang),"session"in e&&r(13,l=e.session),"userid"in e&&r(14,c=e.userid),"clientstyling"in e&&r(15,u=e.clientstyling),"clientstylingurl"in e&&r(16,d=e.clientstylingurl)},e.$$.update=()=>{32768&e.$$.dirty[0]&&u&&(()=>{let e=document.createElement("style");e.innerHTML=u,i.appendChild(e)})(),65536&e.$$.dirty[0]&&d&&(()=>{let t=document.createElement("style");fetch(new URL(d)).then(e=>e.text()).then(e=>{t.innerHTML=e,i&&setTimeout(()=>{i.appendChild(t)},1)})})()},[h,p,f,v,b,i,n,F,k,$,a,o,s,l,c,u,d,e=>F(e),()=>k(),()=>$(),function(e){Te[e?"unshift":"push"](()=>{i=e,r(5,i)})}]}function zo(e){let n,i,r,a,o,s,l,c,u,d,h,p,m,f,g;return{c(){n=X("div"),i=X("div"),r=X("div"),a=K(),o=X("div"),s=K(),l=X("casino-categories-slider"),c=K(),u=X("casino-page"),d=K(),h=X("casino-modal"),p=X("casino-game-page"),m=K(),f=X("casino-filter-modal"),g=X("casino-filter-page"),Q(r,"class","HeaderPlaceholder"),k(r,"height",e[24]+"px"),Q(o,"class","ScrollTop"),C(l,"endpoint",e[18]),C(l,"datasource",e[19]),C(l,"lang",e[20]),C(l,"session",e[1]),C(l,"userid",e[2]),C(l,"actionevent",e[16]),C(l,"mostplayed",e[10]),C(l,"mostplayedrounds",e[11]),C(l,"favorites",e[12]),C(l,"activecategory",e[0]),C(l,"clientstyling",e[3]),C(l,"clientstylingurl",e[4]),C(l,"containermaxwidth",e[14]),C(u,"session",e[1]),C(u,"userid",e[2]),C(u,"endpoint",e[18]),C(u,"datasource",e[19]),C(u,"lang",e[20]),C(u,"visiblegames","10"),C(u,"activecategory",e[0]),C(u,"alternativesearch",e[13]),C(u,"favorites",e[12]),C(u,"mostplayedrounds",e[11]),C(u,"mostplayed",e[10]),C(u,"clientstyling",e[3]),C(u,"clientstylingurl",e[4]),C(u,"lobbyid",e[6]),C(u,"containermaxwidth",e[14]),C(u,"haspanicbutton",e[15]),C(u,"livecasino",e[17]),C(p,"session",e[1]),C(p,"userid",e[2]),C(p,"endpoint",e[18]),C(p,"datasource",e[19]),C(p,"lang",e[20]),C(p,"loginevent",e[7]),C(p,"registerevent",e[8]),C(p,"depositevent",e[9]),C(p,"favorites",e[12]),C(p,"clientstyling",e[3]),C(p,"clientstylingurl",e[4]),C(p,"clockformat",e[5]),C(p,"haspanicbutton",e[15]),C(h,"session",e[1]),C(h,"userid",e[2]),C(h,"endpoint",e[18]),C(h,"datasource",e[19]),C(h,"lang",e[20]),C(h,"clientstyling",e[3]),C(h,"clientstylingurl",e[4]),C(g,"session",e[1]),C(g,"userid",e[2]),C(g,"endpoint",e[18]),C(g,"datasource",e[19]),C(g,"lang",e[20]),C(g,"clientstylingurl",e[4]),C(g,"clientstyling",e[3]),C(f,"clientstylingurl",e[4]),C(f,"session",e[1]),C(f,"userid",e[2]),C(f,"endpoint",e[18]),C(f,"datasource",e[19]),C(f,"lang",e[20]),C(f,"clientstyling",e[3]),Q(i,"class","WidgetsSection"),Q(n,"class","CasinoLobby")},m(e,t){V(e,n,t),W(n,i),W(i,r),W(i,a),W(i,o),W(i,s),W(i,l),W(i,c),W(i,u),W(i,d),W(i,h),W(h,p),W(i,m),W(i,f),W(f,g)},p(e,t){16777216&t[0]&&k(r,"height",e[24]+"px"),262144&t[0]&&C(l,"endpoint",e[18]),524288&t[0]&&C(l,"datasource",e[19]),1048576&t[0]&&C(l,"lang",e[20]),2&t[0]&&C(l,"session",e[1]),4&t[0]&&C(l,"userid",e[2]),65536&t[0]&&C(l,"actionevent",e[16]),1024&t[0]&&C(l,"mostplayed",e[10]),2048&t[0]&&C(l,"mostplayedrounds",e[11]),4096&t[0]&&C(l,"favorites",e[12]),1&t[0]&&C(l,"activecategory",e[0]),8&t[0]&&C(l,"clientstyling",e[3]),16&t[0]&&C(l,"clientstylingurl",e[4]),16384&t[0]&&C(l,"containermaxwidth",e[14]),2&t[0]&&C(u,"session",e[1]),4&t[0]&&C(u,"userid",e[2]),262144&t[0]&&C(u,"endpoint",e[18]),524288&t[0]&&C(u,"datasource",e[19]),1048576&t[0]&&C(u,"lang",e[20]),1&t[0]&&C(u,"activecategory",e[0]),8192&t[0]&&C(u,"alternativesearch",e[13]),4096&t[0]&&C(u,"favorites",e[12]),2048&t[0]&&C(u,"mostplayedrounds",e[11]),1024&t[0]&&C(u,"mostplayed",e[10]),8&t[0]&&C(u,"clientstyling",e[3]),16&t[0]&&C(u,"clientstylingurl",e[4]),64&t[0]&&C(u,"lobbyid",e[6]),16384&t[0]&&C(u,"containermaxwidth",e[14]),32768&t[0]&&C(u,"haspanicbutton",e[15]),131072&t[0]&&C(u,"livecasino",e[17]),2&t[0]&&C(p,"session",e[1]),4&t[0]&&C(p,"userid",e[2]),262144&t[0]&&C(p,"endpoint",e[18]),524288&t[0]&&C(p,"datasource",e[19]),1048576&t[0]&&C(p,"lang",e[20]),128&t[0]&&C(p,"loginevent",e[7]),256&t[0]&&C(p,"registerevent",e[8]),512&t[0]&&C(p,"depositevent",e[9]),4096&t[0]&&C(p,"favorites",e[12]),8&t[0]&&C(p,"clientstyling",e[3]),16&t[0]&&C(p,"clientstylingurl",e[4]),32&t[0]&&C(p,"clockformat",e[5]),32768&t[0]&&C(p,"haspanicbutton",e[15]),2&t[0]&&C(h,"session",e[1]),4&t[0]&&C(h,"userid",e[2]),262144&t[0]&&C(h,"endpoint",e[18]),524288&t[0]&&C(h,"datasource",e[19]),1048576&t[0]&&C(h,"lang",e[20]),8&t[0]&&C(h,"clientstyling",e[3]),16&t[0]&&C(h,"clientstylingurl",e[4]),2&t[0]&&C(g,"session",e[1]),4&t[0]&&C(g,"userid",e[2]),262144&t[0]&&C(g,"endpoint",e[18]),524288&t[0]&&C(g,"datasource",e[19]),1048576&t[0]&&C(g,"lang",e[20]),16&t[0]&&C(g,"clientstylingurl",e[4]),8&t[0]&&C(g,"clientstyling",e[3]),16&t[0]&&C(f,"clientstylingurl",e[4]),2&t[0]&&C(f,"session",e[1]),4&t[0]&&C(f,"userid",e[2]),262144&t[0]&&C(f,"endpoint",e[18]),524288&t[0]&&C(f,"datasource",e[19]),1048576&t[0]&&C(f,"lang",e[20]),8&t[0]&&C(f,"clientstyling",e[3])},d(e){e&&Z(n)}}}function Wo(e){let n,i;return{c(){n=X("p"),i=J(e[23]),k(n,"color","var(--emfe-w-color-white, #FFFFFF)")},m(e,t){V(e,n,t),W(n,i)},p(e,t){8388608&t[0]&&ee(i,e[23])},d(e){e&&Z(n)}}}function Vo(n){let i,r;function a(e){return e[22]?Wo:zo}let o=a(n),s=o(n);return{c(){i=X("div"),s.c(),this.c=Y,Q(i,"class",r=n[21]?"DisplayNone":"")},m(e,t){V(e,i,t),s.m(i,null),n[36](i)},p(e,t){o===(o=a(e))&&s?s.p(e,t):(s.d(1),s=o(e),s&&(s.c(),s.m(i,null))),2097152&t[0]&&r!==(r=e[21]?"DisplayNone":"")&&Q(i,"class",r)},i:Y,o:Y,d(e){e&&Z(i),s.d(),n[36](null)}}}function Zo(e,t,n){let i,r,a,o,{endpoint:s=""}=t,{datasource:l=""}=t,{lang:c=""}=t,{session:u=""}=t,{userid:d=""}=t,{opsession:h=""}=t,{clientstyling:p=""}=t,{clientstylingurl:m=""}=t,{clockformat:f=""}=t,{lobbyid:g=""}=t,{currency:y="EUR"}=t,{loginurl:v=""}=t,{registerurl:w=""}=t,{depositurl:b=""}=t,{loginevent:x=""}=t,{registerevent:S=""}=t,{depositevent:C=""}=t,{mostplayed:_=""}=t,{mostplayedrounds:F=""}=t,{favorites:M=""}=t,{desktopoffset:k="0"}=t,{mobileoffset:$="0"}=t,{alternativesearch:E="false"}=t,{containermaxwidth:T=""}=t,{haspanicbutton:L="false"}=t,{activecategory:I="LOBBY"}=t,{actionevent:P=""}=t,{livecasino:A="false"}=t,D=!1,R=!1,G="Loading, please wait ...",O=window.navigator.userAgent,N=0,B=!1;var U,H;({withLocale:U,translations:H}={withLocale:"en",translations:{}}),Ii.subscribe(e=>{null==e&&(bi.set(H),Ii.set(U))});const Y=e=>{if(e.data)switch(e.data.type){case"WidgetTopReference":B=e.data.scrollTop,B&&N&&window.scrollTo({top:N});break;case"UserSessionID":e.data.session,e.data.userID;break;case"CategoryChange":n(0,I=e.data.item.id)}};return Ee(()=>(window.addEventListener("message",Y,!1),n(24,N="PC"===ji(O)?parseInt(k):parseInt($)),()=>{window.removeEventListener("message",Y)})),e.$$set=e=>{"endpoint"in e&&n(26,s=e.endpoint),"datasource"in e&&n(27,l=e.datasource),"lang"in e&&n(28,c=e.lang),"session"in e&&n(1,u=e.session),"userid"in e&&n(2,d=e.userid),"opsession"in e&&n(29,h=e.opsession),"clientstyling"in e&&n(3,p=e.clientstyling),"clientstylingurl"in e&&n(4,m=e.clientstylingurl),"clockformat"in e&&n(5,f=e.clockformat),"lobbyid"in e&&n(6,g=e.lobbyid),"currency"in e&&n(30,y=e.currency),"loginurl"in e&&n(31,v=e.loginurl),"registerurl"in e&&n(32,w=e.registerurl),"depositurl"in e&&n(33,b=e.depositurl),"loginevent"in e&&n(7,x=e.loginevent),"registerevent"in e&&n(8,S=e.registerevent),"depositevent"in e&&n(9,C=e.depositevent),"mostplayed"in e&&n(10,_=e.mostplayed),"mostplayedrounds"in e&&n(11,F=e.mostplayedrounds),"favorites"in e&&n(12,M=e.favorites),"desktopoffset"in e&&n(34,k=e.desktopoffset),"mobileoffset"in e&&n(35,$=e.mobileoffset),"alternativesearch"in e&&n(13,E=e.alternativesearch),"containermaxwidth"in e&&n(14,T=e.containermaxwidth),"haspanicbutton"in e&&n(15,L=e.haspanicbutton),"activecategory"in e&&n(0,I=e.activecategory),"actionevent"in e&&n(16,P=e.actionevent),"livecasino"in e&&n(17,A=e.livecasino)},e.$$.update=()=>{268435456&e.$$.dirty[0]&&c&&Wi(c),67108870&e.$$.dirty[0]&&u&&d&&s&&zi(s,u).then(e=>{},e=>{console.error("Error while checking the session - ",e)}),469767168&e.$$.dirty[0]&&s&&l&&c&&_&&M&&(s||(n(23,G="Endpoint is missing! Please provide a valid endpointURL."),n(22,R=!0),console.error(G)),l||(n(23,G="Datasource is missing! Please provide a valid datasource."),n(22,R=!0),console.error(G)),c&&2==c.length||(n(23,G="Language is missing! Please provide a valid language (alpha2code)"),n(22,R=!0),console.error(G)),Wi(c),n(18,i=s),n(19,r=l),n(20,a=c),n(22,R=!1)),e.$$.dirty[0],8&e.$$.dirty[0]&&p&&(()=>{let e=document.createElement("style");e.innerHTML=p,o.appendChild(e)})(),16&e.$$.dirty[0]&&m&&(()=>{n(21,D=!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(21,D=!1)},500))})})()},[I,u,d,p,m,f,g,x,S,C,_,F,M,E,T,L,P,A,i,r,a,D,R,G,N,o,s,l,c,h,y,v,w,b,k,$,function(e){Te[e?"unshift":"push"](()=>{o=e,n(25,o)})}]}customElements.get("casino-filter-page")||customElements.define("casino-filter-page",class extends de{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'}.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:30px}.VendorBox{width:230px;height:125px;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}.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}.FilterModalMobileContent .FilterFooterSection .ClearFiltersButton,.FilterModalMobileContent .FilterFooterSection .ApplyFiltersButton{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>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},jo,Yo,t,{endpoint:10,datasource:11,lang:12,session:13,userid:14,clientstyling:15,clientstylingurl:16},null,[-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","clientstyling","clientstylingurl"]}get endpoint(){return this.$$.ctx[10]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[11]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[12]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[13]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[14]}set userid(e){this.$$set({userid:e}),U()}get clientstyling(){return this.$$.ctx[15]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[16]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}});class Xo extends de{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>",ue(this,{target:this.shadowRoot,props:r(this.attributes),customElement:!0},Zo,Vo,t,{endpoint:26,datasource:27,lang:28,session:1,userid:2,opsession:29,clientstyling:3,clientstylingurl:4,clockformat:5,lobbyid:6,currency:30,loginurl:31,registerurl:32,depositurl:33,loginevent:7,registerevent:8,depositevent:9,mostplayed:10,mostplayedrounds:11,favorites:12,desktopoffset:34,mobileoffset:35,alternativesearch:13,containermaxwidth:14,haspanicbutton:15,activecategory:0,actionevent:16,livecasino:17},null,[-1,-1]),e&&(e.target&&V(e.target,this,e.anchor),e.props&&(this.$set(e.props),U()))}static get observedAttributes(){return["endpoint","datasource","lang","session","userid","opsession","clientstyling","clientstylingurl","clockformat","lobbyid","currency","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","mostplayed","mostplayedrounds","favorites","desktopoffset","mobileoffset","alternativesearch","containermaxwidth","haspanicbutton","activecategory","actionevent","livecasino"]}get endpoint(){return this.$$.ctx[26]}set endpoint(e){this.$$set({endpoint:e}),U()}get datasource(){return this.$$.ctx[27]}set datasource(e){this.$$set({datasource:e}),U()}get lang(){return this.$$.ctx[28]}set lang(e){this.$$set({lang:e}),U()}get session(){return this.$$.ctx[1]}set session(e){this.$$set({session:e}),U()}get userid(){return this.$$.ctx[2]}set userid(e){this.$$set({userid:e}),U()}get opsession(){return this.$$.ctx[29]}set opsession(e){this.$$set({opsession:e}),U()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),U()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),U()}get clockformat(){return this.$$.ctx[5]}set clockformat(e){this.$$set({clockformat:e}),U()}get lobbyid(){return this.$$.ctx[6]}set lobbyid(e){this.$$set({lobbyid:e}),U()}get currency(){return this.$$.ctx[30]}set currency(e){this.$$set({currency:e}),U()}get loginurl(){return this.$$.ctx[31]}set loginurl(e){this.$$set({loginurl:e}),U()}get registerurl(){return this.$$.ctx[32]}set registerurl(e){this.$$set({registerurl:e}),U()}get depositurl(){return this.$$.ctx[33]}set depositurl(e){this.$$set({depositurl:e}),U()}get loginevent(){return this.$$.ctx[7]}set loginevent(e){this.$$set({loginevent:e}),U()}get registerevent(){return this.$$.ctx[8]}set registerevent(e){this.$$set({registerevent:e}),U()}get depositevent(){return this.$$.ctx[9]}set depositevent(e){this.$$set({depositevent:e}),U()}get mostplayed(){return this.$$.ctx[10]}set mostplayed(e){this.$$set({mostplayed:e}),U()}get mostplayedrounds(){return this.$$.ctx[11]}set mostplayedrounds(e){this.$$set({mostplayedrounds:e}),U()}get favorites(){return this.$$.ctx[12]}set favorites(e){this.$$set({favorites:e}),U()}get desktopoffset(){return this.$$.ctx[34]}set desktopoffset(e){this.$$set({desktopoffset:e}),U()}get mobileoffset(){return this.$$.ctx[35]}set mobileoffset(e){this.$$set({mobileoffset:e}),U()}get alternativesearch(){return this.$$.ctx[13]}set alternativesearch(e){this.$$set({alternativesearch:e}),U()}get containermaxwidth(){return this.$$.ctx[14]}set containermaxwidth(e){this.$$set({containermaxwidth:e}),U()}get haspanicbutton(){return this.$$.ctx[15]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),U()}get activecategory(){return this.$$.ctx[0]}set activecategory(e){this.$$set({activecategory:e}),U()}get actionevent(){return this.$$.ctx[16]}set actionevent(e){this.$$set({actionevent:e}),U()}get livecasino(){return this.$$.ctx[17]}set livecasino(e){this.$$set({livecasino:e}),U()}}return customElements.get("casino-lobby")||customElements.define("casino-lobby",Xo),Xo});
33
33
  //# sourceMappingURL=casino-lobby.js.map